Skip to content

Releases: techniq/svelte-ux

[email protected]

14 Feb 13:00
44b9fe9
Compare
Choose a tag to compare

Patch Changes

[email protected]

14 Feb 13:00
44b9fe9
Compare
Choose a tag to compare

Patch Changes

[email protected]

12 Feb 15:42
2f51c1d
Compare
Choose a tag to compare

Patch Changes

[email protected]

12 Feb 03:32
89736d3
Compare
Choose a tag to compare

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 to classes (#167)
    • Rename getTheme to getClasses and getComponentTheme to getComponentClasses
  • BREAKING: removed dateDisplay() in favor of format() (#167)

  • Add theme selection/creation page and simplify loading themes (#167)

  • Add support for passing class and classes 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 to styleVars 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 (like MenuField) (#167)

  • [TableOfContents] Support changing icon (#167)

  • [MenuField] Expose selected option via prop (similar to SelectField) (#167)

  • Add ThemeInit component to prevent flash of unstyled content when SSR is enabled (#167)

  • [MenuButton] Support hiding menuIcon and dispatch change event (#167)

  • Rename ThemeButton to ThemeSelect (#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, which MultiSelectMenu 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. Add elevation-none to remove elevation-# (#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]

12 Feb 03:32
89736d3
Compare
Choose a tag to compare

Minor Changes

  • Theme support (#167)

[email protected]

06 Feb 15:56
102d805
Compare
Choose a tag to compare

Patch Changes

[email protected]

06 Feb 15:10
f8f2ede
Compare
Choose a tag to compare

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 become label, standardizing the API across the two. Also adds activeOptionIcon to SelectField so users can opt-in to dynamically updating the field icon based on the selected option. Also fixed a bug with the scrollIntoView action related to its onlyIfNeeded 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 for selectionStore, Selection, MultiSelect, MultiSelectField, and MultiSelectMenu. Add beforeOptions and afterOptions slots, and pass selection to actions 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]

07 Dec 20:44
e65d5e2
Compare
Choose a tag to compare

Patch Changes

  • [Month] Add hideControls prop (9021816)

  • [ScrollingValue] Add axis prop to control direction, and support rendering of value for custom component display (81b1f33)

  • [AppBar] Add slot option for title. (#151)

  • Use Symbol() instead of empty object for context keys (02788d2)

[email protected]

21 Nov 20:47
6a71989
Compare
Choose a tag to compare

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]

20 Nov 14:46
34b865d
Compare
Choose a tag to compare

Minor Changes

  • Add Intl support in formatNumber() by leveraging Intl.NumberFormat() (and remove d3-format dependency) (#134)

  • createTheme( ... ) was removed in favor of settings({ theme: ... }) (Same for component <Theme ... />, is now <Settings ... />). Enables configuring formatNumber() style and future settings. (#134)

Patch Changes

  • Add romanize() string util and ScrollingValue example (ebd429e)

  • Update dependencies (380a7dd)