Releases: techniq/svelte-ux
[email protected]
Minor Changes
- Removes SelectList. Updates SelectField features to support SelectList's use case via property/attribute overrides. Updates QuickSearch to use SelectField. Defines MenuOption type & updates MenuField & SelectField to use it; this results in renaming of SelectField options'
name
field to becomelabel
, standardizing the API across the two. Also addsactiveOptionIcon
to SelectField so users can opt-in to dynamically updating the field icon based on the selected option. Also fixed a bug with thescrollIntoView
action related to itsonlyIfNeeded
flag. (#127)
Patch Changes
-
[SelectList] Add
type="button"
to<button>
wrapper to not submit forms on click (a7b7a4ee800eb8f47040efbed751acc64514e9d3
) -
Add
max
prop to limit the number of selected values forselectionStore
,Selection
,MultiSelect
,MultiSelectField
, andMultiSelectMenu
. AddbeforeOptions
andafterOptions
slots, and passselection
toactions
slot (#231) -
Prevent cursor jumping around when backspacing near a decimal point in a number TextField (#178)
-
Update AppLayout nav to only show scrollbar when overflown (Windows, Mac with "Show scrollbars: always) (#171)
-
[Input] Fix
bind:value
(#224)
[email protected]
[email protected]
Minor Changes
- DateRange[Field] improvements including responsive design, passing classes to underlying Field/Dialog instances, setting custom preset options, and hiding type/preset sections, and general bug fixes. (#138)
[email protected]
Minor Changes
-
Add Intl support in
formatNumber()
by leveraging Intl.NumberFormat() (and remove d3-format dependency) (#134) -
createTheme( ... )
was removed in favor ofsettings({ theme: ... })
(Same for component<Theme ... />
, is now<Settings ... />
). Enables configuringformatNumber()
style and future settings. (#134)
Patch Changes
[email protected]
Patch Changes
- Update dependencies (
380a7dd
)
[email protected]
Patch Changes
-
[ToggleButton] Remove
|global
modifier from transition (doesn't appear required anymore and should fix SvelteKit routing (14041fd
) -
[uniqueId] Track ids per prefix (
523c609
) -
Add string utils to top-level exports and add docs (
c046b08
) -
[ScrollingValue] Add
single
prop to enable individual number display (proper handling of 9) (a730969
) -
Added new
IconInput
andIconData
types to enable inclusive & seamless passing of icon arguments between components. Also provides aasIconData
utility function for type-safe conversion. (#125)
Fixed type errors for Button & TextField's use of Icon data.
[email protected]
Minor Changes
- Add simple LayerChart integration template (#128)