svelte-ux

Collection of Svelte components, actions, stores, and utilities to build highly interactive applications.

MIT License

Downloads
30.9K
Stars
513
Committers
2

Bot releases are visible (Hide)

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • Support NodeNext packages (#281)
svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • Add classes to Card to Header (#268)

  • Make paginationStore.slice use the type of the input as the output type (#265)

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

  • [Field/TextField] Fix focus target by changing root container to <label> (#259)
svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

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)

svelte-ux - [email protected]

Published by github-actions[bot] 8 months ago

Minor Changes

  • Theme support (#167)
svelte-ux - [email protected]

Published by github-actions[bot] 9 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 9 months ago

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)

svelte-ux - [email protected]

Published by github-actions[bot] 11 months ago

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)

svelte-ux - [email protected]

Published by github-actions[bot] 11 months ago

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)
svelte-ux - [email protected]

Published by github-actions[bot] 11 months ago

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)

svelte-ux - [email protected]

Published by github-actions[bot] 11 months ago

Patch Changes

svelte-ux - [email protected]

Published by github-actions[bot] 11 months ago

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 and IconData types to enable inclusive & seamless passing of icon arguments between components. Also provides a asIconData utility function for type-safe conversion. (#125)
    Fixed type errors for Button & TextField's use of Icon data.

Package Rankings
Top 9.82% on Npmjs.org
Badges
Extracted from project README