Skip to content

Conversation

@mkszepp
Copy link
Collaborator

@mkszepp mkszepp commented Jun 22, 2025

NOTE: This changes are breaking for current app's and right now not complete

ToDo's

  • Resolve all any types
  • Update tests to TS and test typing with glint
  • Merge power-select-multipe with power-select
  • Add in public api multiple as paramter
  • Pass @extra to every component (gives user a simple possibility to pass custom values)
  • Update docs examples
  • Create migration section in docs
  • Write docs, how typings can be used

Breaking changes:

  • The support for passing component as strings was removed. Since ember 3.25 its recommended to pass component instead string. The @embroider/util package is deprecated
  • <PowerSelectMultipleInputField> was removed => If this was used in app, you can use now <PowerSelectInputField> and replace @placeholder paramenter with @searchPlaceholder (deprecation added in 8.11)
  • Input field id from multi select was replaced from ember-power-select-trigger-multiple-input-* to ember-power-select-trigger-input-* (its equal to single) (deprecation added in 8.11)
  • <PowerSelectMultipleTrigger> was removed => If this was used in app, you can use now <PowerSelectTrigger> (deprecation added in 8.11)
  • <PowerSelectMultiple> is now a wrapper component (it has no logic, it pass only @multiple={{true}} to <PowerSelect> component (deprecation added in 8.11)
  • Move types into types.ts (possible breaking)
  • Clear button sets value to undefined instead null (there is now no null anymore). This means, that the selected type is now T | undefined and not anymore T | null | undefined

@mkszepp mkszepp changed the title [WIP] Improve addon typing Improve addon typing Oct 2, 2025
@mkszepp mkszepp marked this pull request as ready for review October 2, 2025 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants