Releases: techniq/svelte-ux
[email protected]
Patch Changes
-
Update dependencies (
877c11d4acaf8bdfa4f807dff6b9843731e8e7b9
) -
[Field/TextField/SelectField] Center flex align prepend/append slot containers (
3d425c27353476a307f8994c1051f06554cd8da2
)
[email protected]
Patch Changes
- Update dependencies (
877c11d4acaf8bdfa4f807dff6b9843731e8e7b9
)
[email protected]
Patch Changes
- Do not require
settings()
to be defined (68f886e0b3d64edea62bfd896fd0608a3efe87a1
)
[email protected]
Minor Changes
-
Update Settings component to expose each settings key as a component prop (#167)
-
Add ability to set a default values for labelPlacement and variant props (#167)
-
Add
sumObjects
array util (#167) -
- Rename settings
theme
argument toclasses
(#167) - Rename getTheme to getClasses and getComponentTheme to getComponentClasses
- Rename settings
-
BREAKING: removed
dateDisplay()
in favor offormat()
(#167) -
Add theme selection/creation page and simplify loading themes (#167)
-
Add support for passing
class
andclasses
props to the DateField component (#167) -
- Add locale settings to settings object, and allow dynamically changing the current locale. (#167)
- Move format function to be a store on the settings object, which updates when the locale changes.
-
Change PeriodType values (0 = unqualified DoW, 1-7 = Sun-Sat) (#167)
-
Support
ux.themes
tailwind config, including Daisy UI (#167) -
Rename
cssVars
action tostyleVars
and do not prefix properties with--
by default (more flexible) (#167) -
Theme support (#167)
Patch Changes
-
Update dependencies (except vitest) (#167)
-
Add styles (with daisy) as top-level export (#167)
-
[SelectField] Add
stepper
prop to iterate through options (likeMenuField
) (#167) -
[TableOfContents] Support changing icon (#167)
-
[MenuField] Expose
selected
option via prop (similar toSelectField
) (#167) -
Add ThemeInit component to prevent flash of unstyled content when SSR is enabled (#167)
-
[MenuButton] Support hiding
menuIcon
and dispatchchange
event (#167) -
Rename
ThemeButton
toThemeSelect
(#167) -
Add a store to manage the current theme (#167)
-
Support passing a custom formatter function as
format
argument to format() / formatWithLocale() (#167) -
Fix ThemeSwitch SSR behavior by using
dark
class to define positioning and icon display (#167) -
[MultiSelect] Add
autoFocusSearch
to opt into functionality, whichMultiSelectMenu
maintains (#167) -
add locale management of date leveraging intl (#167)
-
Map Skeleton themes to Svelte UX themes (#167)
-
[SelectField] Fix toggling display of options menu using toggleIcon. Support hiding toggleIcon (` (#167)
-
[DateRange] Remove
scrollIntoView
for date selection components (month, year) (#167) -
[DateField] Fix input value when clearing value (#167)
-
Fix overriding
elevation-#
classes. Addelevation-none
to removeelevation-#
(#167) -
[Appbar] Add
menuIcon
prop and slot (#167) -
[Popover|Menu|popover] Support
resize
width or height only (#167) -
Add
ThemeSwitch
component to toggle between light/dark theme (#167)
[email protected]
Minor Changes
- Theme support (#167)
[email protected]
Patch Changes
- Move
sveld
from peerDependencies to dependencies to fix install (and match next release) (7539e467edbb4506c1930f3fad0a4efd7e457ff0
)
[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)