Releases: techniq/svelte-ux
[email protected]
Patch Changes
- [MultiSelect(Field|Menu)] Improve actions with mode="immediate" (
22f26e498d26469b38d839f28df1b2e4a58a16c9
)
[email protected]
Patch Changes
-
Support passing
options
to resize action (c5de38c557dc5aaa5b81c7a12a01460ffb6e3c96
) -
Improve type definition for TreeNode to be recursive (#423)
-
Relax node type (HTMLElement => Element) on observer actions (resize, intersection, mutate) to support SVGElement (
7fb54a918c1dc08a6ba5912715782f89cb476b75
) -
[SelectField] Fix options with object value due to non-unique {#each} keys (#425)
[email protected]
Patch Changes
-
adds a function
normalizeClasses
to normalize classes when they can be a string or an object, essentially converting strings to objects (#419) -
adds a function
clsMerge
for merging groups of classes without needing to do more complex property-by-property merging (#419) -
passes the
classes
objects down to theTextField
component from theSelect
andMultiSelect
components (#419) -
fixes a TypeError caused by a faulty ReturnType from
entries()
and removes a related@ts-expect-error
(#419)
[email protected]
Minor Changes
-
[MultiSelect | MultiSelectField | MultiSelectMenu] Remove
labelProp
andvalueProp
props and expect commonlabel
andvalue
props. Improve type safety (#415) -
[SelectField] Remove
optionText()
andoptionValue()
props and expect commonlabel
andvalue
props. Improve type safety (#415)
Patch Changes
- [TableOfContents] Add
nodeClick
event (bd1c0f78550534ed947ccf56a2af7fb620cfadf1
)
[email protected]
Patch Changes
-
[MultiSelect] Add
mode
prop and supportimmediate
to hide action buttons and immediate apply on selection change (mode
defaults to existingactions
) (346f2c177ee43fa22e1605a8741f5b2a7237c60d
) -
[MultiSelect] Add
maintainOrder
prop to not separate selected above unselected (8e7d8aec2e14d0ec141df3c1cbd0edb166127370
) -
[Form] Rename
state
store variable fromformStore()
to not be considered a Svelte 5 $state rune (4337314de3ac6267fd37a91961defe96eb27522d
) -
[MultiSelect] Simplify actions layout and justify end by default for extra actions (slot) (
88e9626c9d725c692686ceb8d7c3c01b40b05508
)
[email protected]
Patch Changes
-
Fix new Svelte 5 specific warning "Self-closing HTML tags for non-void elements are ambiguous" (
58f3cf2d63b10dfeff607f16785d80fc284cb2c5
) -
[Button] Add
touch-action: manipulation
to disable double-tap (a85c73e1007f2c5be616feb9dfc79ff5fd028edb
)
[email protected]
Patch Changes
-
[Switch] Add active state (stretch toggle) (
17df8ad63c03fa6c51739d95f69e0d387f4c020b
) -
[MenuOption] Allow additional properties to be added (without Typescript complaining) (
23e44f66a97927f19a115aacfc900227638f91a4
)
[email protected]
[email protected]
Patch Changes
- [TableOfContents] Fix active heading support after AppLayout scrolling container change (
7c98d45614ef96d1823d7394ba50bd17eeafbf54
)
[email protected]
Minor Changes
- [Step] Rename
content
topoint
(prop and classes). Addclasses.label
(a82087855e298d718e13fc46a8cb2f8b685841c3
)