diff --git a/.changeset/angry-ads-carry.md b/.changeset/angry-ads-carry.md deleted file mode 100644 index ce2014f7f..000000000 --- a/.changeset/angry-ads-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Update dependencies (except vitest) diff --git a/.changeset/angry-zebras-remember.md b/.changeset/angry-zebras-remember.md deleted file mode 100644 index 958213932..000000000 --- a/.changeset/angry-zebras-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': patch ---- - -Add styles (with daisy) as top-level export diff --git a/.changeset/chilled-dingos-sell.md b/.changeset/chilled-dingos-sell.md deleted file mode 100644 index aa081efd0..000000000 --- a/.changeset/chilled-dingos-sell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": minor ---- - -Update Settings component to expose each settings key as a component prop diff --git a/.changeset/clever-avocados-hope.md b/.changeset/clever-avocados-hope.md deleted file mode 100644 index 26f562bfe..000000000 --- a/.changeset/clever-avocados-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": minor ---- - -Add ability to set a default values for labelPlacement and variant props diff --git a/.changeset/cool-hotels-own.md b/.changeset/cool-hotels-own.md deleted file mode 100644 index bc91528f8..000000000 --- a/.changeset/cool-hotels-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[SelectField] Add `stepper` prop to iterate through options (like `MenuField`) diff --git a/.changeset/eight-bottles-eat.md b/.changeset/eight-bottles-eat.md deleted file mode 100644 index 4703329e7..000000000 --- a/.changeset/eight-bottles-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[TableOfContents] Support changing icon diff --git a/.changeset/fair-trees-sparkle.md b/.changeset/fair-trees-sparkle.md deleted file mode 100644 index 3b3d7d390..000000000 --- a/.changeset/fair-trees-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[MenuField] Expose `selected` option via prop (similar to `SelectField`) diff --git a/.changeset/fluffy-news-worry.md b/.changeset/fluffy-news-worry.md deleted file mode 100644 index 769331abb..000000000 --- a/.changeset/fluffy-news-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": minor ---- - -Add `sumObjects` array util diff --git a/.changeset/for-you-sean.md b/.changeset/for-you-sean.md deleted file mode 100644 index 308f7b580..000000000 --- a/.changeset/for-you-sean.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'svelte-ux': minor ---- - -- Rename settings `theme` argument to `classes` -- Rename getTheme to getClasses and getComponentTheme to getComponentClasses - diff --git a/.changeset/friendly-pets-reflect.md b/.changeset/friendly-pets-reflect.md deleted file mode 100644 index e86611b37..000000000 --- a/.changeset/friendly-pets-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Add ThemeInit component to prevent flash of unstyled content when SSR is enabled diff --git a/.changeset/healthy-files-search.md b/.changeset/healthy-files-search.md deleted file mode 100644 index dbd7294f6..000000000 --- a/.changeset/healthy-files-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[MenuButton] Support hiding `menuIcon` and dispatch `change` event diff --git a/.changeset/light-pianos-refuse.md b/.changeset/light-pianos-refuse.md deleted file mode 100644 index 015e51aca..000000000 --- a/.changeset/light-pianos-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Rename `ThemeButton` to `ThemeSelect` diff --git a/.changeset/light-ways-dress.md b/.changeset/light-ways-dress.md deleted file mode 100644 index 1e024620a..000000000 --- a/.changeset/light-ways-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': minor ---- - -BREAKING: removed `dateDisplay()` in favor of `format()` diff --git a/.changeset/modern-pumpkins-march.md b/.changeset/modern-pumpkins-march.md deleted file mode 100644 index 3a65d7ac4..000000000 --- a/.changeset/modern-pumpkins-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Add a store to manage the current theme diff --git a/.changeset/moody-cows-pull.md b/.changeset/moody-cows-pull.md deleted file mode 100644 index da44301a0..000000000 --- a/.changeset/moody-cows-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': patch ---- - -Support passing a custom formatter function as `format` argument to format() / formatWithLocale() diff --git a/.changeset/nice-cats-know.md b/.changeset/nice-cats-know.md deleted file mode 100644 index 4ed7f44e8..000000000 --- a/.changeset/nice-cats-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Fix ThemeSwitch SSR behavior by using `dark` class to define positioning and icon display diff --git a/.changeset/ninety-beers-return.md b/.changeset/ninety-beers-return.md deleted file mode 100644 index ef89c0d49..000000000 --- a/.changeset/ninety-beers-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[MultiSelect] Add `autoFocusSearch` to opt into functionality, which `MultiSelectMenu` maintains diff --git a/.changeset/ninety-carpets-cross.md b/.changeset/ninety-carpets-cross.md deleted file mode 100644 index 04b6556c5..000000000 --- a/.changeset/ninety-carpets-cross.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': patch ---- - -add locale management of date leveraging intl diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 3df193558..000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "create-svelte-ux": "0.2.1", - "svelte-ux": "0.57.1" - }, - "changesets": [ - "angry-ads-carry", - "angry-zebras-remember", - "beige-papayas-study", - "chilled-dingos-sell", - "cool-hotels-own", - "eight-bottles-eat", - "fair-trees-sparkle", - "for-you-sean", - "friendly-pets-reflect", - "healthy-files-search", - "light-pianos-refuse", - "light-ways-dress", - "modern-pumpkins-march", - "moody-cows-pull", - "ninety-carpets-cross", - "quick-avocados-hope", - "quick-carrots-grab", - "rare-flowers-flash", - "selfish-hounds-dance", - "shiny-hornets-study", - "shy-peaches-ring", - "sixty-walls-rest", - "sour-cougars-beg", - "strong-flies-provide", - "tidy-gifts-yawn", - "wicked-melons-fold", - "yellow-nails-vanish", - "yellow-oranges-fly" - ] -} diff --git a/.changeset/quick-carrots-grab.md b/.changeset/quick-carrots-grab.md deleted file mode 100644 index e59206ed5..000000000 --- a/.changeset/quick-carrots-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": minor ---- - -Add theme selection/creation page and simplify loading themes diff --git a/.changeset/rare-flowers-flash.md b/.changeset/rare-flowers-flash.md deleted file mode 100644 index ab7149d95..000000000 --- a/.changeset/rare-flowers-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Map Skeleton themes to Svelte UX themes diff --git a/.changeset/selfish-hounds-dance.md b/.changeset/selfish-hounds-dance.md deleted file mode 100644 index 467dc5b31..000000000 --- a/.changeset/selfish-hounds-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[SelectField] Fix toggling display of options menu using toggleIcon. Support hiding toggleIcon (` diff --git a/.changeset/shaggy-cars-approve.md b/.changeset/shaggy-cars-approve.md deleted file mode 100644 index 3cad3d562..000000000 --- a/.changeset/shaggy-cars-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[DateRange] Remove `scrollIntoView` for date selection components (month, year) diff --git a/.changeset/shiny-schools-ring.md b/.changeset/shiny-schools-ring.md deleted file mode 100644 index 4c6327383..000000000 --- a/.changeset/shiny-schools-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[DateField] Fix input value when clearing value diff --git a/.changeset/silver-penguins-jam.md b/.changeset/silver-penguins-jam.md deleted file mode 100644 index 04ac7168c..000000000 --- a/.changeset/silver-penguins-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': minor ---- - -Add support for passing `class` and `classes` props to the DateField component diff --git a/.changeset/six-drinks-smash.md b/.changeset/six-drinks-smash.md deleted file mode 100644 index ded082619..000000000 --- a/.changeset/six-drinks-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Fix overriding `elevation-#` classes. Add `elevation-none` to remove `elevation-#` diff --git a/.changeset/sixty-walls-rest.md b/.changeset/sixty-walls-rest.md deleted file mode 100644 index 61b681ddb..000000000 --- a/.changeset/sixty-walls-rest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"svelte-ux": minor ---- - -- Add locale settings to settings object, and allow dynamically changing the current locale. -- Move format function to be a store on the settings object, which updates when the locale changes. diff --git a/.changeset/sour-cougars-beg.md b/.changeset/sour-cougars-beg.md deleted file mode 100644 index 186d2e510..000000000 --- a/.changeset/sour-cougars-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": minor ---- - -Change PeriodType values (0 = unqualified DoW, 1-7 = Sun-Sat) diff --git a/.changeset/spicy-toys-hug.md b/.changeset/spicy-toys-hug.md deleted file mode 100644 index d3f3a95af..000000000 --- a/.changeset/spicy-toys-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[Appbar] Add `menuIcon` prop and slot diff --git a/.changeset/strong-flies-provide.md b/.changeset/strong-flies-provide.md deleted file mode 100644 index 92c7c9f5e..000000000 --- a/.changeset/strong-flies-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': minor ---- - -Support `ux.themes` tailwind config, including Daisy UI diff --git a/.changeset/tidy-gifts-yawn.md b/.changeset/tidy-gifts-yawn.md deleted file mode 100644 index 3443e24ff..000000000 --- a/.changeset/tidy-gifts-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -[Popover|Menu|popover] Support `resize` width or height only diff --git a/.changeset/wicked-melons-fold.md b/.changeset/wicked-melons-fold.md deleted file mode 100644 index 6c38d2cc1..000000000 --- a/.changeset/wicked-melons-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-ux": patch ---- - -Add `ThemeSwitch` component to toggle between light/dark theme diff --git a/.changeset/yellow-nails-vanish.md b/.changeset/yellow-nails-vanish.md deleted file mode 100644 index 863f8fdcb..000000000 --- a/.changeset/yellow-nails-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'svelte-ux': minor ---- - -Rename `cssVars` action to `styleVars` and do not prefix properties with `--` by default (more flexible) diff --git a/.changeset/yellow-oranges-fly.md b/.changeset/yellow-oranges-fly.md deleted file mode 100644 index e1e3126c2..000000000 --- a/.changeset/yellow-oranges-fly.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'create-svelte-ux': minor -'svelte-ux': minor ---- - -Theme support diff --git a/packages/create-svelte-ux/CHANGELOG.md b/packages/create-svelte-ux/CHANGELOG.md index 9405fda5f..2206c6a16 100644 --- a/packages/create-svelte-ux/CHANGELOG.md +++ b/packages/create-svelte-ux/CHANGELOG.md @@ -1,5 +1,11 @@ # create-svelte-ux +## 0.3.0 + +### Minor Changes + +- Theme support ([#167](https://github.com/techniq/svelte-ux/pull/167)) + ## 0.3.0-next.0 ### Minor Changes diff --git a/packages/create-svelte-ux/package.json b/packages/create-svelte-ux/package.json index 9624fc6b2..0337576b9 100644 --- a/packages/create-svelte-ux/package.json +++ b/packages/create-svelte-ux/package.json @@ -1,6 +1,6 @@ { "name": "create-svelte-ux", - "version": "0.3.0-next.0", + "version": "0.3.0", "description": "A CLI for creating new Svelte UX projects", "repository": { "type": "git", diff --git a/packages/svelte-ux/CHANGELOG.md b/packages/svelte-ux/CHANGELOG.md index 084730df8..5691bb654 100644 --- a/packages/svelte-ux/CHANGELOG.md +++ b/packages/svelte-ux/CHANGELOG.md @@ -1,5 +1,79 @@ # svelte-ux +## 0.60.0 + +### Minor Changes + +- Update Settings component to expose each settings key as a component prop ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add ability to set a default values for labelPlacement and variant props ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add `sumObjects` array util ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- - Rename settings `theme` argument to `classes` ([#167](https://github.com/techniq/svelte-ux/pull/167)) + - Rename getTheme to getClasses and getComponentTheme to getComponentClasses + +- BREAKING: removed `dateDisplay()` in favor of `format()` ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add theme selection/creation page and simplify loading themes ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add support for passing `class` and `classes` props to the DateField component ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- - Add locale settings to settings object, and allow dynamically changing the current locale. ([#167](https://github.com/techniq/svelte-ux/pull/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](https://github.com/techniq/svelte-ux/pull/167)) + +- Support `ux.themes` tailwind config, including Daisy UI ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Rename `cssVars` action to `styleVars` and do not prefix properties with `--` by default (more flexible) ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Theme support ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +### Patch Changes + +- Update dependencies (except vitest) ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add styles (with daisy) as top-level export ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [SelectField] Add `stepper` prop to iterate through options (like `MenuField`) ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [TableOfContents] Support changing icon ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [MenuField] Expose `selected` option via prop (similar to `SelectField`) ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add ThemeInit component to prevent flash of unstyled content when SSR is enabled ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [MenuButton] Support hiding `menuIcon` and dispatch `change` event ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Rename `ThemeButton` to `ThemeSelect` ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add a store to manage the current theme ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Support passing a custom formatter function as `format` argument to format() / formatWithLocale() ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Fix ThemeSwitch SSR behavior by using `dark` class to define positioning and icon display ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [MultiSelect] Add `autoFocusSearch` to opt into functionality, which `MultiSelectMenu` maintains ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- add locale management of date leveraging intl ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Map Skeleton themes to Svelte UX themes ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [SelectField] Fix toggling display of options menu using toggleIcon. Support hiding toggleIcon (` ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [DateRange] Remove `scrollIntoView` for date selection components (month, year) ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [DateField] Fix input value when clearing value ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Fix overriding `elevation-#` classes. Add `elevation-none` to remove `elevation-#` ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [Appbar] Add `menuIcon` prop and slot ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- [Popover|Menu|popover] Support `resize` width or height only ([#167](https://github.com/techniq/svelte-ux/pull/167)) + +- Add `ThemeSwitch` component to toggle between light/dark theme ([#167](https://github.com/techniq/svelte-ux/pull/167)) + ## 0.58.0-next.13 ### Patch Changes diff --git a/packages/svelte-ux/package.json b/packages/svelte-ux/package.json index c82a7d91c..9c75970a8 100644 --- a/packages/svelte-ux/package.json +++ b/packages/svelte-ux/package.json @@ -4,7 +4,7 @@ "author": "Sean Lynch ", "license": "MIT", "repository": "techniq/svelte-ux", - "version": "0.59.0", + "version": "0.60.0", "scripts": { "dev": "vite dev", "build": "vite build",