From a0b138f40aae771566611c1d89c0cb8e0e706ba4 Mon Sep 17 00:00:00 2001 From: Robert Niznik Date: Fri, 4 Oct 2024 13:14:33 -0400 Subject: [PATCH] chore: remove data-table, slider, snackbar, toast, and toggle packages (#1429) --- .changeset/quick-zoos-mate.md | 5 + packages/core/package.json | 5 - packages/core/src/index.ts | 10 - packages/data-table/CHANGELOG.md | 311 ---- packages/data-table/README.md | 14 - .../data-table/__tests__/DataTable.spec.tsx | 61 - packages/data-table/package.json | 59 - packages/data-table/src/DataTable.tsx | 426 ------ packages/data-table/src/index.ts | 2 - .../data-table/src/styles/DataTable.css.ts | 91 -- .../data-table/stories/DataTable.stories.tsx | 156 -- packages/data-table/tsconfig.build.json | 7 - packages/slider/CHANGELOG.md | 571 -------- packages/slider/README.md | 14 - packages/slider/__tests__/Slider.spec.tsx | 16 - packages/slider/package.json | 46 - packages/slider/src/Slider.tsx | 61 - packages/slider/src/index.ts | 2 - packages/slider/src/styles/Slider.module.css | 115 -- packages/slider/stories/Slider.stories.tsx | 39 - packages/slider/tsconfig.build.json | 7 - packages/snackbar/CHANGELOG.md | 1295 ----------------- packages/snackbar/README.md | 14 - packages/snackbar/__tests__/Snackbar.spec.tsx | 44 - .../__tests__/SnackbarCenter.spec.tsx | 40 - packages/snackbar/package.json | 49 - packages/snackbar/src/Snackbar.tsx | 68 - packages/snackbar/src/SnackbarCenter.tsx | 68 - packages/snackbar/src/index.ts | 4 - .../snackbar/src/styles/Snackbar.module.css | 65 - .../src/styles/SnackbarCenter.module.css | 9 - .../snackbar/stories/Snackbar.stories.tsx | 79 - .../stories/SnackbarCenter.stories.tsx | 67 - packages/snackbar/tsconfig.build.json | 8 - packages/toast/CHANGELOG.md | 1102 -------------- packages/toast/README.md | 14 - packages/toast/__tests__/Toast.spec.tsx | 11 - packages/toast/__tests__/ToastCenter.spec.tsx | 27 - packages/toast/package.json | 48 - packages/toast/src/Toast.tsx | 52 - packages/toast/src/ToastCenter.tsx | 80 - packages/toast/src/index.ts | 4 - packages/toast/src/styles/Toast.module.css | 44 - .../toast/src/styles/ToastCenter.module.css | 14 - packages/toast/stories/Toast.stories.tsx | 46 - .../toast/stories/ToastCenter.stories.tsx | 72 - packages/toast/tsconfig.build.json | 8 - packages/toggle/CHANGELOG.md | 697 --------- packages/toggle/README.md | 14 - packages/toggle/__tests__/Toggle.spec.tsx | 118 -- packages/toggle/package.json | 50 - packages/toggle/src/Toggle.tsx | 102 -- packages/toggle/src/index.ts | 2 - packages/toggle/src/styles/Toggle.module.css | 177 --- packages/toggle/stories/Toggle.stories.css | 25 - packages/toggle/stories/Toggle.stories.tsx | 103 -- packages/toggle/tsconfig.build.json | 7 - pnpm-lock.yaml | 155 -- tsconfig.json | 5 - 59 files changed, 5 insertions(+), 6800 deletions(-) create mode 100644 .changeset/quick-zoos-mate.md delete mode 100644 packages/data-table/CHANGELOG.md delete mode 100644 packages/data-table/README.md delete mode 100644 packages/data-table/__tests__/DataTable.spec.tsx delete mode 100644 packages/data-table/package.json delete mode 100644 packages/data-table/src/DataTable.tsx delete mode 100644 packages/data-table/src/index.ts delete mode 100644 packages/data-table/src/styles/DataTable.css.ts delete mode 100644 packages/data-table/stories/DataTable.stories.tsx delete mode 100644 packages/data-table/tsconfig.build.json delete mode 100644 packages/slider/CHANGELOG.md delete mode 100644 packages/slider/README.md delete mode 100644 packages/slider/__tests__/Slider.spec.tsx delete mode 100644 packages/slider/package.json delete mode 100644 packages/slider/src/Slider.tsx delete mode 100644 packages/slider/src/index.ts delete mode 100644 packages/slider/src/styles/Slider.module.css delete mode 100644 packages/slider/stories/Slider.stories.tsx delete mode 100644 packages/slider/tsconfig.build.json delete mode 100644 packages/snackbar/CHANGELOG.md delete mode 100644 packages/snackbar/README.md delete mode 100644 packages/snackbar/__tests__/Snackbar.spec.tsx delete mode 100644 packages/snackbar/__tests__/SnackbarCenter.spec.tsx delete mode 100644 packages/snackbar/package.json delete mode 100644 packages/snackbar/src/Snackbar.tsx delete mode 100644 packages/snackbar/src/SnackbarCenter.tsx delete mode 100644 packages/snackbar/src/index.ts delete mode 100644 packages/snackbar/src/styles/Snackbar.module.css delete mode 100644 packages/snackbar/src/styles/SnackbarCenter.module.css delete mode 100644 packages/snackbar/stories/Snackbar.stories.tsx delete mode 100644 packages/snackbar/stories/SnackbarCenter.stories.tsx delete mode 100644 packages/snackbar/tsconfig.build.json delete mode 100644 packages/toast/CHANGELOG.md delete mode 100644 packages/toast/README.md delete mode 100644 packages/toast/__tests__/Toast.spec.tsx delete mode 100644 packages/toast/__tests__/ToastCenter.spec.tsx delete mode 100644 packages/toast/package.json delete mode 100644 packages/toast/src/Toast.tsx delete mode 100644 packages/toast/src/ToastCenter.tsx delete mode 100644 packages/toast/src/index.ts delete mode 100644 packages/toast/src/styles/Toast.module.css delete mode 100644 packages/toast/src/styles/ToastCenter.module.css delete mode 100644 packages/toast/stories/Toast.stories.tsx delete mode 100644 packages/toast/stories/ToastCenter.stories.tsx delete mode 100644 packages/toast/tsconfig.build.json delete mode 100644 packages/toggle/CHANGELOG.md delete mode 100644 packages/toggle/README.md delete mode 100644 packages/toggle/__tests__/Toggle.spec.tsx delete mode 100644 packages/toggle/package.json delete mode 100644 packages/toggle/src/Toggle.tsx delete mode 100644 packages/toggle/src/index.ts delete mode 100644 packages/toggle/src/styles/Toggle.module.css delete mode 100644 packages/toggle/stories/Toggle.stories.css delete mode 100644 packages/toggle/stories/Toggle.stories.tsx delete mode 100644 packages/toggle/tsconfig.build.json diff --git a/.changeset/quick-zoos-mate.md b/.changeset/quick-zoos-mate.md new file mode 100644 index 000000000..dadfdf202 --- /dev/null +++ b/.changeset/quick-zoos-mate.md @@ -0,0 +1,5 @@ +--- +"@launchpad-ui/core": minor +--- + +Remove data-table, slider, snackbar, toast, and toggle packages diff --git a/packages/core/package.json b/packages/core/package.json index af68220bf..df803b034 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -44,7 +44,6 @@ "@launchpad-ui/collapsible": "workspace:~", "@launchpad-ui/columns": "workspace:~", "@launchpad-ui/counter": "workspace:~", - "@launchpad-ui/data-table": "workspace:~", "@launchpad-ui/drawer": "workspace:~", "@launchpad-ui/dropdown": "workspace:~", "@launchpad-ui/filter": "workspace:~", @@ -63,15 +62,11 @@ "@launchpad-ui/progress": "workspace:~", "@launchpad-ui/progress-bubbles": "workspace:~", "@launchpad-ui/select": "workspace:~", - "@launchpad-ui/slider": "workspace:~", - "@launchpad-ui/snackbar": "workspace:~", "@launchpad-ui/split-button": "workspace:~", "@launchpad-ui/stack": "workspace:~", "@launchpad-ui/tab-list": "workspace:~", "@launchpad-ui/table": "workspace:~", "@launchpad-ui/tag": "workspace:~", - "@launchpad-ui/toast": "workspace:~", - "@launchpad-ui/toggle": "workspace:~", "@launchpad-ui/tooltip": "workspace:~", "@launchpad-ui/types": "workspace:~" }, diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 10475c133..d9a8a47b4 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -81,8 +81,6 @@ export type { SelectItemProps, SelectSectionProps, } from '@launchpad-ui/select'; -export type { SliderProps } from '@launchpad-ui/slider'; -export type { SnackbarProps, SnackbarCenterProps, SnackbarRecord } from '@launchpad-ui/snackbar'; export type { SplitButtonProps, SplitButtonDropdownProps, @@ -99,15 +97,12 @@ export type { TableRowProps, } from '@launchpad-ui/table'; export type { TagGroupProps, TagGroupActionProps } from '@launchpad-ui/tag'; -export type { ToastProps, ToastCenterProps, ToastRecord } from '@launchpad-ui/toast'; -export type { ToggleProps } from '@launchpad-ui/toggle'; export type { TooltipProps } from '@launchpad-ui/tooltip'; export type { StackProps } from '@launchpad-ui/stack'; export type { Space } from '@launchpad-ui/types'; export type { InlineProps } from '@launchpad-ui/inline'; export type { ColumnProps, ColumnsProps } from '@launchpad-ui/columns'; export type { InlineEditProps } from '@launchpad-ui/inline-edit'; -export type { DataTableProps } from '@launchpad-ui/data-table'; export type { RadioCardProps } from '@launchpad-ui/card'; // plop end type exports @@ -175,8 +170,6 @@ export { SelectItem, SelectSection, } from '@launchpad-ui/select'; -export { Slider } from '@launchpad-ui/slider'; -export { Snackbar, SnackbarCenter } from '@launchpad-ui/snackbar'; export { SplitButton, SplitButtonDropdown, @@ -193,13 +186,10 @@ export { TableRow, } from '@launchpad-ui/table'; export { TagGroup, TagItem } from '@launchpad-ui/tag'; -export { Toast, ToastCenter } from '@launchpad-ui/toast'; -export { Toggle } from '@launchpad-ui/toggle'; export { Tooltip, TooltipBase } from '@launchpad-ui/tooltip'; export { Stack } from '@launchpad-ui/stack'; export { Inline } from '@launchpad-ui/inline'; export { Column, Columns } from '@launchpad-ui/columns'; export { InlineEdit } from '@launchpad-ui/inline-edit'; -export { DataTable } from '@launchpad-ui/data-table'; export { RadioCard } from '@launchpad-ui/card'; // plop end module exports diff --git a/packages/data-table/CHANGELOG.md b/packages/data-table/CHANGELOG.md deleted file mode 100644 index 85355deab..000000000 --- a/packages/data-table/CHANGELOG.md +++ /dev/null @@ -1,311 +0,0 @@ -# @launchpad-ui/data-table - -## 0.2.30 - -### Patch Changes - -- [#1424](https://github.com/launchdarkly/launchpad-ui/pull/1424) [`7684e7d`](https://github.com/launchdarkly/launchpad-ui/commit/7684e7d0ad40063e8cdda92811f92d63e20401b4) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`7684e7d`](https://github.com/launchdarkly/launchpad-ui/commit/7684e7d0ad40063e8cdda92811f92d63e20401b4)]: - - @launchpad-ui/vars@0.2.26 - -## 0.2.29 - -### Patch Changes - -- Updated dependencies [[`6f6619f`](https://github.com/launchdarkly/launchpad-ui/commit/6f6619f7b99541904512993652ba9b0918272f9b)]: - - @launchpad-ui/tokens@0.11.4 - - @launchpad-ui/vars@0.2.25 - -## 0.2.28 - -### Patch Changes - -- [#1392](https://github.com/launchdarkly/launchpad-ui/pull/1392) [`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f)]: - - @launchpad-ui/tokens@0.11.3 - - @launchpad-ui/vars@0.2.24 - -## 0.2.27 - -### Patch Changes - -- Updated dependencies [[`af43516`](https://github.com/launchdarkly/launchpad-ui/commit/af435166439a8b4860fda2dea78e78fc477ed088)]: - - @launchpad-ui/tokens@0.11.2 - - @launchpad-ui/vars@0.2.23 - -## 0.2.26 - -### Patch Changes - -- Updated dependencies [[`3265579`](https://github.com/launchdarkly/launchpad-ui/commit/326557944061dbd1c7f74daf00454b902b91cb2d)]: - - @launchpad-ui/tokens@0.11.1 - - @launchpad-ui/vars@0.2.22 - -## 0.2.25 - -### Patch Changes - -- [#1368](https://github.com/launchdarkly/launchpad-ui/pull/1368) [`4309328`](https://github.com/launchdarkly/launchpad-ui/commit/43093284b05b9093c503cb0b91819a74a6af9660) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.24 - -### Patch Changes - -- [#1366](https://github.com/launchdarkly/launchpad-ui/pull/1366) [`2a908c0`](https://github.com/launchdarkly/launchpad-ui/commit/2a908c093b5cc6a34bc4785727d0365f833bff0e) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.23 - -### Patch Changes - -- Updated dependencies [[`8c68adb`](https://github.com/launchdarkly/launchpad-ui/commit/8c68adbfeeda476c7e75f517cb9ca76d15695438)]: - - @launchpad-ui/tokens@0.11.0 - - @launchpad-ui/vars@0.2.21 - -## 0.2.22 - -### Patch Changes - -- Updated dependencies [[`6ab5b77`](https://github.com/launchdarkly/launchpad-ui/commit/6ab5b776c4dff94ad5be9a6fbf474126ae41c31c)]: - - @launchpad-ui/tokens@0.10.0 - - @launchpad-ui/vars@0.2.20 - -## 0.2.21 - -### Patch Changes - -- Updated dependencies [[`545560f`](https://github.com/launchdarkly/launchpad-ui/commit/545560fff3fdbfdabfa208e5662c21ae41a76322)]: - - @launchpad-ui/tokens@0.9.12 - - @launchpad-ui/vars@0.2.19 - -## 0.2.20 - -### Patch Changes - -- [#1314](https://github.com/launchdarkly/launchpad-ui/pull/1314) [`6a7eacd`](https://github.com/launchdarkly/launchpad-ui/commit/6a7eacde2339810283f9eaa0b2f965f425a919fb) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.19 - -### Patch Changes - -- Updated dependencies [[`bf904e8`](https://github.com/launchdarkly/launchpad-ui/commit/bf904e8ee2c27ee73d813f539cc5dfdf682e92fc)]: - - @launchpad-ui/tokens@0.9.11 - - @launchpad-ui/vars@0.2.18 - -## 0.2.18 - -### Patch Changes - -- [#1276](https://github.com/launchdarkly/launchpad-ui/pull/1276) [`18b34a0`](https://github.com/launchdarkly/launchpad-ui/commit/18b34a05e8d9866d564727c4568c038925021f2a) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.17 - -### Patch Changes - -- Updated dependencies [[`2002ab4`](https://github.com/launchdarkly/launchpad-ui/commit/2002ab411b61085099ded54cd94fbfc1d1b039d4)]: - - @launchpad-ui/tokens@0.9.10 - - @launchpad-ui/vars@0.2.17 - -## 0.2.16 - -### Patch Changes - -- [#1241](https://github.com/launchdarkly/launchpad-ui/pull/1241) [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Add repository and license fields to package.json - -- Updated dependencies [[`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0)]: - - @launchpad-ui/tokens@0.9.9 - - @launchpad-ui/vars@0.2.16 - -## 0.2.15 - -### Patch Changes - -- Updated dependencies [[`fdc91bb`](https://github.com/launchdarkly/launchpad-ui/commit/fdc91bb7630b1a84279ee7b6013d694fafb9fd39)]: - - @launchpad-ui/tokens@0.9.8 - - @launchpad-ui/vars@0.2.15 - -## 0.2.14 - -### Patch Changes - -- [#1183](https://github.com/launchdarkly/launchpad-ui/pull/1183) [`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc)]: - - @launchpad-ui/tokens@0.9.7 - - @launchpad-ui/vars@0.2.14 - -## 0.2.13 - -### Patch Changes - -- Updated dependencies [[`31b5c98`](https://github.com/launchdarkly/launchpad-ui/commit/31b5c98c49768e62f6474c8696b40e9cb52ea25d)]: - - @launchpad-ui/tokens@0.9.6 - - @launchpad-ui/vars@0.2.13 - -## 0.2.12 - -### Patch Changes - -- [#1172](https://github.com/launchdarkly/launchpad-ui/pull/1172) [`42bc7f4`](https://github.com/launchdarkly/launchpad-ui/commit/42bc7f40eca3fb451d8e6764c0409ca38fdf6ece) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.11 - -### Patch Changes - -- Updated dependencies [[`2041cd5`](https://github.com/launchdarkly/launchpad-ui/commit/2041cd53385561cc3e02474f5d2c767f79603b58)]: - - @launchpad-ui/tokens@0.9.5 - - @launchpad-ui/vars@0.2.12 - -## 0.2.10 - -### Patch Changes - -- Updated dependencies [[`8fed876`](https://github.com/launchdarkly/launchpad-ui/commit/8fed8760bb3242eda79a38a66582d85f8bf506ed)]: - - @launchpad-ui/tokens@0.9.4 - - @launchpad-ui/vars@0.2.11 - -## 0.2.9 - -### Patch Changes - -- Updated dependencies [[`91cfeaf`](https://github.com/launchdarkly/launchpad-ui/commit/91cfeafde3848c6a5e86536f747e38362ca523c1)]: - - @launchpad-ui/tokens@0.9.3 - - @launchpad-ui/vars@0.2.10 - -## 0.2.8 - -### Patch Changes - -- [#1114](https://github.com/launchdarkly/launchpad-ui/pull/1114) [`51987f5`](https://github.com/launchdarkly/launchpad-ui/commit/51987f538462e2a8378aa9e15a7ef99020c941c4) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.7 - -### Patch Changes - -- Updated dependencies [[`861c925`](https://github.com/launchdarkly/launchpad-ui/commit/861c92546a6689042336a51297ad600b957b6d21)]: - - @launchpad-ui/tokens@0.9.2 - - @launchpad-ui/vars@0.2.9 - -## 0.2.6 - -### Patch Changes - -- Updated dependencies [[`6ee9e107`](https://github.com/launchdarkly/launchpad-ui/commit/6ee9e1079ca8b87784963000728d3591fb0180b7)]: - - @launchpad-ui/tokens@0.9.1 - - @launchpad-ui/vars@0.2.8 - -## 0.2.5 - -### Patch Changes - -- Updated dependencies [[`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81)]: - - @launchpad-ui/tokens@0.9.0 - - @launchpad-ui/vars@0.2.7 - -## 0.2.3-alpha.1 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`941d2d60`](https://github.com/launchdarkly/launchpad-ui/commit/941d2d60c96f095e7043852f02bc6b5f157edb3b), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53), [`260d052f`](https://github.com/launchdarkly/launchpad-ui/commit/260d052f3f47043cca470747e7d861417873fa41)]: - - @launchpad-ui/tokens@0.9.0-alpha.2 - - @launchpad-ui/vars@0.2.6-alpha.1 - -## 0.2.3-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.1 - - @launchpad-ui/vars@0.2.6-alpha.0 - -## 0.2.1-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.0 - - @launchpad-ui/vars@0.2.4-alpha.0 - -## 0.2.4 - -### Patch Changes - -- [#1076](https://github.com/launchdarkly/launchpad-ui/pull/1076) [`d7c33a5a`](https://github.com/launchdarkly/launchpad-ui/commit/d7c33a5aa04eee1f350c6a973da56f4770b70d39) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`d7c33a5a`](https://github.com/launchdarkly/launchpad-ui/commit/d7c33a5aa04eee1f350c6a973da56f4770b70d39)]: - - @launchpad-ui/vars@0.2.6 - -## 0.2.3 - -### Patch Changes - -- [#1052](https://github.com/launchdarkly/launchpad-ui/pull/1052) [`d4d424c9`](https://github.com/launchdarkly/launchpad-ui/commit/d4d424c99a5aafb5937dd9f9ae71693e4cf076f6) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.2 - -### Patch Changes - -- Updated dependencies [[`9097483d`](https://github.com/launchdarkly/launchpad-ui/commit/9097483d04b22bbec5163a0b8ccc73594bd9e242)]: - - @launchpad-ui/tokens@0.8.2 - - @launchpad-ui/vars@0.2.5 - -## 0.2.1 - -### Patch Changes - -- Updated dependencies [[`a2c657c1`](https://github.com/launchdarkly/launchpad-ui/commit/a2c657c17c4e5f3d034ae77bdbdb855010e46fb1)]: - - @launchpad-ui/tokens@0.8.1 - - @launchpad-ui/vars@0.2.4 - -## 0.2.0 - -### Minor Changes - -- [#1033](https://github.com/launchdarkly/launchpad-ui/pull/1033) [`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a) Thanks [@Niznikr](https://github.com/Niznikr)! - Use base 16 font size - -### Patch Changes - -- Updated dependencies [[`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a)]: - - @launchpad-ui/tokens@0.8.0 - - @launchpad-ui/vars@0.2.3 - -## 0.1.5 - -### Patch Changes - -- [#1019](https://github.com/launchdarkly/launchpad-ui/pull/1019) [`30f06bd4`](https://github.com/launchdarkly/launchpad-ui/commit/30f06bd4d0401f41180cbdc671bee4d858f7fb29) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.1.4 - -### Patch Changes - -- Updated dependencies [[`757c82d5`](https://github.com/launchdarkly/launchpad-ui/commit/757c82d5574c519691521c413c10cd5932cebc9c)]: - - @launchpad-ui/tokens@0.7.1 - - @launchpad-ui/vars@0.2.2 - -## 0.1.3 - -### Patch Changes - -- [#996](https://github.com/launchdarkly/launchpad-ui/pull/996) [`e3395304`](https://github.com/launchdarkly/launchpad-ui/commit/e33953044d43482a6ef564d5cc2cf43117b23022) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.1.2 - -### Patch Changes - -- Updated dependencies [[`45d511ea`](https://github.com/launchdarkly/launchpad-ui/commit/45d511ea87c176e0cb12f2cdac885ef8cec91058)]: - - @launchpad-ui/tokens@0.7.0 - - @launchpad-ui/vars@0.2.1 - -## 0.1.1 - -### Patch Changes - -- [#968](https://github.com/launchdarkly/launchpad-ui/pull/968) [`03a47e52`](https://github.com/launchdarkly/launchpad-ui/commit/03a47e52db708cb9bad551013912d752c695f4de) Thanks [@Niznikr](https://github.com/Niznikr)! - [DataTable] Enable column resizing via `allowsResizing` prop for `Column` - -## 0.1.0 - -### Minor Changes - -- [#962](https://github.com/launchdarkly/launchpad-ui/pull/962) [`4574cfff`](https://github.com/launchdarkly/launchpad-ui/commit/4574cfff0ff9a45e01280c4fac25086018d204dc) Thanks [@Niznikr](https://github.com/Niznikr)! - Add `data-table` package to build data grids using React Aria. Supply children using `@react-stately/table`. diff --git a/packages/data-table/README.md b/packages/data-table/README.md deleted file mode 100644 index c092b6b92..000000000 --- a/packages/data-table/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# @launchpad-ui/data-table - -> An element used to display data in rows and columns. - -[![See it on NPM!](https://img.shields.io/npm/v/@launchpad-ui/data-table?style=for-the-badge)](https://www.npmjs.com/package/@launchpad-ui/data-table) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@launchpad-ui/data-table?style=for-the-badge)](https://bundlephobia.com/result?p=@launchpad-ui/data-table) - -## Installation - -```sh -$ yarn add @launchpad-ui/data-table -# or -$ npm install @launchpad-ui/data-table -``` diff --git a/packages/data-table/__tests__/DataTable.spec.tsx b/packages/data-table/__tests__/DataTable.spec.tsx deleted file mode 100644 index 0cbb45ec5..000000000 --- a/packages/data-table/__tests__/DataTable.spec.tsx +++ /dev/null @@ -1,61 +0,0 @@ -import type { DataTableProps } from '../src'; - -import { Cell, Column, Row, TableBody, TableHeader } from '@react-stately/table'; -import { describe, expect, it } from 'vitest'; - -import { render, screen } from '../../../test/utils'; -import { DataTable } from '../src'; - -const COLUMNS = [ - { name: 'Col 1', key: 'first' }, - { name: 'Col 2', key: 'second' }, - { name: 'Col 3', key: 'third' }, -]; - -const ROWS = [ - { first: 'one', second: 'two', third: 'three', key: 1 }, - { first: 'four', second: 'five', third: 'six', key: 2 }, -]; - -type DataTableComponentProps = Omit>, 'ref'> & { - resizable?: boolean; -}; - -const DataTableComponent = ({ resizable, ...props }: DataTableComponentProps) => { - return ( - - - {(column) => {column.name}} - - - {(item) => {(columnKey) => {item[columnKey as keyof typeof item]}}} - - - ); -}; - -describe('DataTable', () => { - it('renders', () => { - render(); - expect(screen.getByRole('grid')).toBeVisible(); - }); - - it('renders checkboxes when selectable', () => { - render(); - expect(screen.getByLabelText('Select All')).toBeVisible(); - }); - - it('renders column resizers when allowsResizing is passed to columns', () => { - render(); - - const resizers = screen.getAllByRole('presentation'); - for (const resizer of resizers) { - expect(resizer).toBeVisible(); - } - - const inputs = screen.getAllByLabelText('Resizer'); - for (const input of inputs) { - expect(input).toBeInTheDocument(); - } - }); -}); diff --git a/packages/data-table/package.json b/packages/data-table/package.json deleted file mode 100644 index b883be406..000000000 --- a/packages/data-table/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "@launchpad-ui/data-table", - "version": "0.2.30", - "status": "alpha", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/launchdarkly/launchpad-ui" - }, - "description": "An element used to display data in rows and columns.", - "license": "Apache-2.0", - "files": ["dist"], - "main": "dist/index.js", - "module": "dist/index.es.js", - "types": "dist/index.d.ts", - "sideEffects": ["**/*.css"], - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.es.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json", - "./style.css": "./dist/style.css" - }, - "source": "src/index.ts", - "scripts": { - "build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", - "clean": "rm -rf dist", - "lint": "exit 0", - "test": "vitest run --coverage" - }, - "dependencies": { - "@launchpad-ui/tokens": "workspace:~", - "@launchpad-ui/vars": "workspace:~", - "@react-aria/checkbox": "3.14.7", - "@react-aria/focus": "3.18.3", - "@react-aria/table": "3.15.4", - "@react-aria/utils": "3.25.3", - "@react-aria/visually-hidden": "3.8.16", - "@react-stately/table": "3.12.3", - "@react-stately/toggle": "3.7.8", - "@react-types/grid": "3.2.9", - "@vanilla-extract/recipes": "^0.5.0", - "classix": "2.2.0" - }, - "peerDependencies": { - "@react-stately/table": "3.12.3", - "@vanilla-extract/css": "^1.14.0", - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - } -} diff --git a/packages/data-table/src/DataTable.tsx b/packages/data-table/src/DataTable.tsx deleted file mode 100644 index 0778152d6..000000000 --- a/packages/data-table/src/DataTable.tsx +++ /dev/null @@ -1,426 +0,0 @@ -import type { AriaCheckboxProps } from '@react-aria/checkbox'; -import type { AriaTableColumnResizeProps, AriaTableProps } from '@react-aria/table'; -import type { - TableColumnResizeState, - TableColumnResizeStateProps, - TableState, - TableStateProps, -} from '@react-stately/table'; -import type { GridNode } from '@react-types/grid'; -import type { ComponentProps, ForwardedRef, ReactNode } from 'react'; - -import { useCheckbox } from '@react-aria/checkbox'; -import { useFocusRing } from '@react-aria/focus'; -import { - useTable, - useTableCell, - useTableColumnHeader, - useTableColumnResize, - useTableHeaderRow, - useTableRow, - useTableRowGroup, - useTableSelectAllCheckbox, - useTableSelectionCheckbox, -} from '@react-aria/table'; -import { - filterDOMProps, - mergeProps, - useLayoutEffect, - useObjectRef, - useResizeObserver, -} from '@react-aria/utils'; -import { VisuallyHidden } from '@react-aria/visually-hidden'; -import { useTableColumnResizeState, useTableState } from '@react-stately/table'; -import { useToggleState } from '@react-stately/toggle'; -import { cx } from 'classix'; -import { forwardRef, useCallback, useMemo, useRef, useState } from 'react'; - -import { - header, - headerCell, - resizer, - row, - selectCell, - table, - cell as tableCell, -} from './styles/DataTable.css'; - -type DataTableProps = TableStateProps & - AriaTableProps & - Pick, 'onResizeStart' | 'onResize' | 'onResizeEnd'> & - Partial> & - ComponentProps<'div'> & { - 'data-test-id'?: string; - }; - -/** - * @deprecated use `Table` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-collections-table--docs - */ -const DataTable = forwardRef( - ( - { className, 'data-test-id': testId = 'data-table', ...props }: DataTableProps, - ref: ForwardedRef, - ) => { - const { - selectionMode, - selectionBehavior, - getDefaultWidth: getDefaultWidthProp, - getDefaultMinWidth: getDefaultMinWidthProp, - tableWidth: tableWidthProp, - } = props; - const tableRef = useObjectRef(ref); - const scrollRef = useRef(null); - const state = useTableState({ - ...props, - showSelectionCheckboxes: selectionMode === 'multiple' && selectionBehavior !== 'replace', - }); - const { gridProps } = useTable({ ...props, scrollRef }, state, tableRef); - const { collection } = state; - - const [tableWidth, setTableWidth] = useState(0); - const getDefaultWidth = useCallback(() => undefined, []); - const getDefaultMinWidth = useCallback(() => 75, []); - const layoutState = useTableColumnResizeState( - { - getDefaultWidth: getDefaultWidthProp ?? getDefaultMinWidth, - getDefaultMinWidth: getDefaultMinWidthProp ?? getDefaultWidth, - tableWidth: tableWidthProp ?? tableWidth, - }, - state, - ); - const layout = useMemo(() => ({ ...layoutState, tableState: state }), [layoutState, state]); - - useLayoutEffect(() => { - if (scrollRef?.current) { - setTableWidth(scrollRef.current.clientWidth); - } - }, []); - - useResizeObserver({ - ref: tableRef, - onResize: () => scrollRef.current && setTableWidth(scrollRef.current.clientWidth), - }); - - return ( - - - {collection.headerRows.map((headerRow) => ( - - {/* biome-ignore lint/style/noNonNullAssertion: */} - {[...collection.getChildren!(headerRow.key)].map((column) => - column.props.isSelectionCell ? ( - - ) : ( - - ), - )} - - ))} - - - {[...collection].map((row) => ( - - {/* biome-ignore lint/style/noNonNullAssertion: */} - {[...collection.getChildren!(row.key)].map((cell) => - cell.props.isSelectionCell ? ( - - ) : ( - - ), - )} - - ))} - -
- ); - }, -); - -DataTable.displayName = 'DataTable'; - -type TableRowGroupProps = { - type: 'thead' | 'tbody'; - children?: ReactNode; -}; - -const TableRowGroup = forwardRef( - ({ type: Element, children }, ref) => { - const { rowGroupProps } = useTableRowGroup(); - return ( - - {children} - - ); - }, -); - -TableRowGroup.displayName = 'TableRowGroup'; - -type TableHeaderRowProps = { - item: GridNode; - state: TableState; - children?: ReactNode; -}; - -const TableHeaderRow = ({ item, state, children }: TableHeaderRowProps) => { - const ref = useRef(null); - const { rowProps } = useTableHeaderRow({ node: item }, state, ref); - - return ( - - {children} - - ); -}; - -type TableColumnHeaderProps = Pick< - AriaTableColumnResizeProps, - 'onResizeStart' | 'onResize' | 'onResizeEnd' -> & { - column: GridNode; - state: TableState; - layout: TableColumnResizeState; -}; - -const TableColumnHeader = ({ - column, - state, - layout, - onResizeStart, - onResize, - onResizeEnd, -}: TableColumnHeaderProps) => { - const ref = useRef(null); - const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref); - const { focusProps } = useFocusRing(); - const arrowIcon = state.sortDescriptor?.direction === 'ascending' ? '▲' : '▼'; - const { allowsSorting, allowsResizing } = column.props; - - return ( - 1 ? 'center' : 'left', - }} - ref={ref} - > -
-
- {column.rendered} - {allowsSorting && ( - - )} -
- {allowsResizing && ( - - )} -
- - ); -}; - -type TableRowProps = { - item: GridNode; - state: TableState; - children?: ReactNode; -}; - -const TableRow = ({ item, children, state }: TableRowProps) => { - const ref = useRef(null); - const isSelected = state.selectionManager.isSelected(item.key); - const { rowProps, isPressed } = useTableRow( - { - node: item, - }, - state, - ref, - ); - const { focusProps } = useFocusRing(); - const isActive = isSelected || isPressed; - - return ( - - {children} - - ); -}; - -type TableCellProps = { - cell: GridNode; - state: TableState; - layout: TableColumnResizeState; -}; - -const TableCell = ({ cell, state, layout }: TableCellProps) => { - const ref = useRef(null); - const { gridCellProps } = useTableCell({ node: cell }, state, ref); - const { focusProps } = useFocusRing(); - const { allowsResizing } = cell.column?.props ?? {}; - - return ( - - {cell.rendered} - - ); -}; - -type TableCheckboxCellProps = { - cell: GridNode; - state: TableState; - layout: TableColumnResizeState; -}; - -const TableCheckboxCell = ({ - cell, - state, - layout, -}: TableCheckboxCellProps) => { - const ref = useRef(null); - const { gridCellProps } = useTableCell({ node: cell }, state, ref); - // biome-ignore lint/style/noNonNullAssertion: - const { checkboxProps } = useTableSelectionCheckbox({ key: cell.parentKey! }, state); - const { allowsResizing } = cell.column?.props ?? {}; - - return ( - - - - ); -}; - -type TableSelectAllCellProps = { - column: GridNode; - state: TableState; - layout: TableColumnResizeState; -}; - -const TableSelectAllCell = ({ - column, - state, - layout, -}: TableSelectAllCellProps) => { - const ref = useRef(null); - const { columnHeaderProps } = useTableColumnHeader({ node: column }, state, ref); - const { checkboxProps } = useTableSelectAllCheckbox(state); - const { allowsResizing } = column.props; - - return ( - - {state.selectionManager.selectionMode === 'single' ? ( - {checkboxProps['aria-label']} - ) : ( - - )} - - ); -}; - -const Checkbox = (props: AriaCheckboxProps) => { - const state = useToggleState(props); - const ref = useRef(null); - const { inputProps } = useCheckbox(props, state, ref); - - return ; -}; - -type ResizerProps = AriaTableColumnResizeProps & { - layout: TableColumnResizeState; -}; - -const Resizer = ({ - column, - layout, - onResizeStart, - onResize, - onResizeEnd, - 'aria-label': ariaLabel, -}: ResizerProps) => { - const ref = useRef(null); - const { resizerProps, inputProps } = useTableColumnResize( - { - column, - 'aria-label': ariaLabel, - onResizeStart, - onResize, - onResizeEnd, - }, - layout, - ref, - ); - const { isFocusVisible, focusProps } = useFocusRing(); - - return ( -
- - - -
- ); -}; - -export { DataTable }; -export type { DataTableProps }; diff --git a/packages/data-table/src/index.ts b/packages/data-table/src/index.ts deleted file mode 100644 index 387ebc52b..000000000 --- a/packages/data-table/src/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export type { DataTableProps } from './DataTable'; -export { DataTable } from './DataTable'; diff --git a/packages/data-table/src/styles/DataTable.css.ts b/packages/data-table/src/styles/DataTable.css.ts deleted file mode 100644 index 15d134933..000000000 --- a/packages/data-table/src/styles/DataTable.css.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { vars } from '@launchpad-ui/vars'; -import { style } from '@vanilla-extract/css'; -import { recipe } from '@vanilla-extract/recipes'; - -const focusShadow = { - boxShadow: `0 0 0 2px ${vars.color.shadow.interactive.primary}, 0 0 0 4px ${vars.color.shadow.interactive.focus}`, -}; - -const focusVisible = style({ - outline: 'none', - ':focus-visible': focusShadow, -}); - -const border = style({ - border: `1px solid ${vars.color.border.ui.primary}`, -}); - -const active = style({ - background: vars.color.bg.interactive.secondary.active, -}); - -const table = style([ - border, - { - borderCollapse: 'collapse', - background: vars.color.bg.ui.primary, - }, -]); - -const cell = style([ - focusVisible, - { - padding: `${vars.spacing[500]} ${vars.spacing[600]}`, - cursor: 'default', - }, -]); - -const headerCell = style([ - cell, - { - padding: `0.625rem ${vars.spacing[600]}`, - }, -]); - -const selectCell = style({ - padding: vars.spacing[500], -}); - -const row = recipe({ - base: [focusVisible, border, { verticalAlign: 'top' }], - variants: { - active: { - true: active, - }, - }, -}); - -const header = style({ - borderBottom: `1px solid ${vars.color.border.ui.primary}`, -}); - -const resizer = recipe({ - base: [ - { - cursor: 'col-resize', - alignSelf: 'stretch', - width: '4px', - background: vars.color.border.ui.primary, - touchAction: 'none', - flex: '0 0 auto', - position: 'absolute', - insetInlineEnd: 0, - height: '100%', - ':hover': { - background: vars.color.shadow.interactive.focus, - }, - }, - ], - variants: { - focus: { - true: focusShadow, - }, - active: { - true: { - background: vars.color.shadow.interactive.focus, - }, - }, - }, -}); - -export { table, cell, headerCell, selectCell, row, header, resizer }; diff --git a/packages/data-table/stories/DataTable.stories.tsx b/packages/data-table/stories/DataTable.stories.tsx deleted file mode 100644 index eb40de454..000000000 --- a/packages/data-table/stories/DataTable.stories.tsx +++ /dev/null @@ -1,156 +0,0 @@ -import type { StoryObj } from '@storybook/react'; - -import { Chip } from '@launchpad-ui/chip'; -import { CopyToClipboard } from '@launchpad-ui/clipboard'; -import { Stack } from '@launchpad-ui/stack'; -import { Cell, Column, Row, TableBody, TableHeader } from '@react-stately/table'; - -import { DataTable } from '../src'; - -export default { - component: DataTable, - title: 'Legacy/Deprecated/DataTable', - description: 'An element used to display data in rows and columns.', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__DATA_TABLE, - }, - chromatic: { disableSnapshot: true }, - }, -}; - -type Story = StoryObj; - -const COLUMNS = [ - { name: 'Name', key: 'name' }, - { name: 'Type', key: 'type' }, - { name: 'Status', key: 'status' }, -]; - -const ROWS = [ - { - name: 'Alert', - type: 'Component', - status: 'beta', - key: 1, - package: 'alert', - description: - 'An element that informs users of a state or function of the product at a more granular level than banners.', - }, - { - name: 'InlineEdit', - type: 'Component', - status: 'alpha', - key: 2, - package: 'inline-edit', - description: 'An element used to display and allow inline editing of a form element value.', - }, - { - name: '--lp-color-blue-50', - type: 'Token', - status: 'beta', - key: 3, - package: 'tokens', - description: - 'LaunchPad design tokens delivered as CSS custom properties, CommonJS modules, and ES modules.', - }, -]; - -const tableBody = (item: (typeof ROWS)[number]) => ( - - {(columnKey) => ( - - {columnKey === 'name' && ( - - {item[columnKey]} - {item.description} - - {item.package} - - - )} - {/* biome-ignore lint/complexity/noUselessFragments: */} - {columnKey === 'type' && <>{item[columnKey]}} - {columnKey === 'status' && ( - {item[columnKey]} - )} - - )} - -); - -export const Example: Story = { - render: (args) => { - return ( - - - Name - Type - Status - - - - Alert - Component - Beta - - - InlineEdit - Component - Alpha - - - --lp-color-blue-50 - Token - Beta - - - - ); - }, -}; - -export const Selection: Story = { - render: (args) => { - return ( - - {(column) => {column.name}} - - {(item) => ( - {(columnKey) => {item[columnKey as keyof typeof item]}} - )} - - - ); - }, -}; - -export const Composition: Story = { - render: (args) => { - return ( - - {(column) => {column.name}} - {tableBody} - - ); - }, -}; - -export const ResizableColumns: Story = { - render: (args) => { - return ( - 200} - getDefaultWidth={(column) => (column.colIndex === 0 ? 500 : undefined)} - {...args} - > - - {(column) => {column.name}} - - {tableBody} - - ); - }, -}; diff --git a/packages/data-table/tsconfig.build.json b/packages/data-table/tsconfig.build.json deleted file mode 100644 index 45eaefdc5..000000000 --- a/packages/data-table/tsconfig.build.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": ["src/*.ts", "src/*.tsx"], - "compilerOptions": { - "outDir": "./dist" - } -} diff --git a/packages/slider/CHANGELOG.md b/packages/slider/CHANGELOG.md deleted file mode 100644 index 1234c5ed9..000000000 --- a/packages/slider/CHANGELOG.md +++ /dev/null @@ -1,571 +0,0 @@ -# @launchpad-ui/slider - -## 0.5.22 - -### Patch Changes - -- Updated dependencies [[`6f6619f`](https://github.com/launchdarkly/launchpad-ui/commit/6f6619f7b99541904512993652ba9b0918272f9b)]: - - @launchpad-ui/tokens@0.11.4 - -## 0.5.21 - -### Patch Changes - -- Updated dependencies [[`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f)]: - - @launchpad-ui/tokens@0.11.3 - -## 0.5.20 - -### Patch Changes - -- Updated dependencies [[`af43516`](https://github.com/launchdarkly/launchpad-ui/commit/af435166439a8b4860fda2dea78e78fc477ed088)]: - - @launchpad-ui/tokens@0.11.2 - -## 0.5.19 - -### Patch Changes - -- Updated dependencies [[`3265579`](https://github.com/launchdarkly/launchpad-ui/commit/326557944061dbd1c7f74daf00454b902b91cb2d)]: - - @launchpad-ui/tokens@0.11.1 - -## 0.5.18 - -### Patch Changes - -- Updated dependencies [[`8c68adb`](https://github.com/launchdarkly/launchpad-ui/commit/8c68adbfeeda476c7e75f517cb9ca76d15695438)]: - - @launchpad-ui/tokens@0.11.0 - -## 0.5.17 - -### Patch Changes - -- Updated dependencies [[`6ab5b77`](https://github.com/launchdarkly/launchpad-ui/commit/6ab5b776c4dff94ad5be9a6fbf474126ae41c31c)]: - - @launchpad-ui/tokens@0.10.0 - -## 0.5.16 - -### Patch Changes - -- Updated dependencies [[`545560f`](https://github.com/launchdarkly/launchpad-ui/commit/545560fff3fdbfdabfa208e5662c21ae41a76322)]: - - @launchpad-ui/tokens@0.9.12 - -## 0.5.15 - -### Patch Changes - -- Updated dependencies [[`bf904e8`](https://github.com/launchdarkly/launchpad-ui/commit/bf904e8ee2c27ee73d813f539cc5dfdf682e92fc)]: - - @launchpad-ui/tokens@0.9.11 - -## 0.5.14 - -### Patch Changes - -- Updated dependencies [[`2002ab4`](https://github.com/launchdarkly/launchpad-ui/commit/2002ab411b61085099ded54cd94fbfc1d1b039d4)]: - - @launchpad-ui/tokens@0.9.10 - -## 0.5.13 - -### Patch Changes - -- [#1241](https://github.com/launchdarkly/launchpad-ui/pull/1241) [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Add repository and license fields to package.json - -- Updated dependencies [[`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0)]: - - @launchpad-ui/tokens@0.9.9 - -## 0.5.12 - -### Patch Changes - -- Updated dependencies [[`fdc91bb`](https://github.com/launchdarkly/launchpad-ui/commit/fdc91bb7630b1a84279ee7b6013d694fafb9fd39)]: - - @launchpad-ui/tokens@0.9.8 - -## 0.5.11 - -### Patch Changes - -- Updated dependencies [[`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc)]: - - @launchpad-ui/tokens@0.9.7 - -## 0.5.10 - -### Patch Changes - -- Updated dependencies [[`31b5c98`](https://github.com/launchdarkly/launchpad-ui/commit/31b5c98c49768e62f6474c8696b40e9cb52ea25d)]: - - @launchpad-ui/tokens@0.9.6 - -## 0.5.9 - -### Patch Changes - -- Updated dependencies [[`2041cd5`](https://github.com/launchdarkly/launchpad-ui/commit/2041cd53385561cc3e02474f5d2c767f79603b58)]: - - @launchpad-ui/tokens@0.9.5 - -## 0.5.8 - -### Patch Changes - -- [#1156](https://github.com/launchdarkly/launchpad-ui/pull/1156) [`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e) Thanks [@Niznikr](https://github.com/Niznikr)! - Change class pattern to `[hash]_[local]` - -## 0.5.7 - -### Patch Changes - -- Updated dependencies [[`8fed876`](https://github.com/launchdarkly/launchpad-ui/commit/8fed8760bb3242eda79a38a66582d85f8bf506ed)]: - - @launchpad-ui/tokens@0.9.4 - -## 0.5.6 - -### Patch Changes - -- Updated dependencies [[`91cfeaf`](https://github.com/launchdarkly/launchpad-ui/commit/91cfeafde3848c6a5e86536f747e38362ca523c1)]: - - @launchpad-ui/tokens@0.9.3 - -## 0.5.5 - -### Patch Changes - -- Updated dependencies [[`861c925`](https://github.com/launchdarkly/launchpad-ui/commit/861c92546a6689042336a51297ad600b957b6d21)]: - - @launchpad-ui/tokens@0.9.2 - -## 0.5.4 - -### Patch Changes - -- Updated dependencies [[`6ee9e107`](https://github.com/launchdarkly/launchpad-ui/commit/6ee9e1079ca8b87784963000728d3591fb0180b7)]: - - @launchpad-ui/tokens@0.9.1 - -## 0.5.3 - -### Patch Changes - -- Updated dependencies [[`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81)]: - - @launchpad-ui/tokens@0.9.0 - -## 0.5.3-alpha.1 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`941d2d60`](https://github.com/launchdarkly/launchpad-ui/commit/941d2d60c96f095e7043852f02bc6b5f157edb3b), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53), [`260d052f`](https://github.com/launchdarkly/launchpad-ui/commit/260d052f3f47043cca470747e7d861417873fa41)]: - - @launchpad-ui/tokens@0.9.0-alpha.2 - -## 0.5.3-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.1 - -## 0.5.1-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.0 - -## 0.5.2 - -### Patch Changes - -- Updated dependencies [[`9097483d`](https://github.com/launchdarkly/launchpad-ui/commit/9097483d04b22bbec5163a0b8ccc73594bd9e242)]: - - @launchpad-ui/tokens@0.8.2 - -## 0.5.1 - -### Patch Changes - -- Updated dependencies [[`a2c657c1`](https://github.com/launchdarkly/launchpad-ui/commit/a2c657c17c4e5f3d034ae77bdbdb855010e46fb1)]: - - @launchpad-ui/tokens@0.8.1 - -## 0.5.0 - -### Minor Changes - -- [#1033](https://github.com/launchdarkly/launchpad-ui/pull/1033) [`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a) Thanks [@Niznikr](https://github.com/Niznikr)! - Use base 16 font size - -### Patch Changes - -- Updated dependencies [[`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a)]: - - @launchpad-ui/tokens@0.8.0 - -## 0.4.11 - -### Patch Changes - -- Updated dependencies [[`757c82d5`](https://github.com/launchdarkly/launchpad-ui/commit/757c82d5574c519691521c413c10cd5932cebc9c)]: - - @launchpad-ui/tokens@0.7.1 - -## 0.4.10 - -### Patch Changes - -- Updated dependencies [[`45d511ea`](https://github.com/launchdarkly/launchpad-ui/commit/45d511ea87c176e0cb12f2cdac885ef8cec91058)]: - - @launchpad-ui/tokens@0.7.0 - -## 0.4.9 - -### Patch Changes - -- [#922](https://github.com/launchdarkly/launchpad-ui/pull/922) [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409) Thanks [@Niznikr](https://github.com/Niznikr)! - [Tokens] Add `0` and `base` suffix to default tokens: - - Primitives: - - - `lp-color-black-0` - - `lp-color-white-0` - - Aliases: - - - `lp-color-bg-interactive-primary-base` - - `lp-color-bg-interactive-secondary-base` - - `lp-color-bg-interactive-tertiary-base` - - `lp-color-bg-interactive-destructive-base` - - `lp-color-bg-field-base` - - `lp-color-border-field-base` - - `lp-color-border-interactive-primary-base` - - `lp-color-border-interactive-secondary-base` - - `lp-color-fill-field-base` - - `lp-color-text-feedback-base` - - `lp-color-text-interactive-base` - - `lp-color-text-ui-primary-base` - - `lp-color-text-field-base` - -- Updated dependencies [[`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409)]: - - @launchpad-ui/tokens@0.6.0 - -## 0.4.8 - -### Patch Changes - -- Updated dependencies [[`068bf1cc`](https://github.com/launchdarkly/launchpad-ui/commit/068bf1cc5418a264c5be167cd5030b4f56bef03f)]: - - @launchpad-ui/tokens@0.5.8 - -## 0.4.7 - -### Patch Changes - -- Updated dependencies [[`864b63c5`](https://github.com/launchdarkly/launchpad-ui/commit/864b63c5bdcdf0d52b322be6469b6edfedad4f31)]: - - @launchpad-ui/tokens@0.5.7 - -## 0.4.6 - -### Patch Changes - -- Updated dependencies [[`72d37d74`](https://github.com/launchdarkly/launchpad-ui/commit/72d37d74c553e2a3c5cfe0f8bc77ee3a47222d80)]: - - @launchpad-ui/tokens@0.5.6 - -## 0.4.5 - -### Patch Changes - -- Updated dependencies [[`7760fefe`](https://github.com/launchdarkly/launchpad-ui/commit/7760fefea91fddf17f15163ce05f555215dc4b90)]: - - @launchpad-ui/tokens@0.5.5 - -## 0.4.4 - -### Patch Changes - -- Updated dependencies [[`c120d56c`](https://github.com/launchdarkly/launchpad-ui/commit/c120d56c7b4045cefa5520954dc7683159768625)]: - - @launchpad-ui/tokens@0.5.4 - -## 0.4.3 - -### Patch Changes - -- Updated dependencies [[`d5bd5d0d`](https://github.com/launchdarkly/launchpad-ui/commit/d5bd5d0de1cedc2d341beced3ac8239167a85108)]: - - @launchpad-ui/tokens@0.5.3 - -## 0.4.2 - -### Patch Changes - -- Updated dependencies [[`152aef91`](https://github.com/launchdarkly/launchpad-ui/commit/152aef9126c5291586b09b703795030f52a01bb1)]: - - @launchpad-ui/tokens@0.5.2 - -## 0.4.1 - -### Patch Changes - -- Updated dependencies [[`909a0fde`](https://github.com/launchdarkly/launchpad-ui/commit/909a0fdebf57634d5c100626cb432c35eac1c661)]: - - @launchpad-ui/tokens@0.5.1 - -## 0.4.0 - -### Minor Changes - -- [#719](https://github.com/launchdarkly/launchpad-ui/pull/719) [`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Refactor theme targeting to support nested themes - - To migrate: - Add `@import '@launchpad-ui/tokens/dist/themes.css';`. If you were previously importing `@import '@launchpad-ui/tokens/dist/dark.css';`, replace with the above, or remove. - - If you are modifying CSS variables based on the theme, prefer to explicitly declare the value depending on the theme. Nothing will break if you don't do this, but the code will not support nested theming if you don't explicitly set values depending on theme. - - **Instead of this:** - - ```css - .selector { - color: #000; - - [data-theme="dark"] & { - color: #fff; - } - } - ``` - - **Prefer this:** - - ```css - :root, - [data-theme="default"] { - --my-component-color-text: #000; - } - - [data-theme="dark"] { - --my-component-color-text: #fff; - } - - .my-component { - color: var(--my-component-color-text); - } - ``` - -### Patch Changes - -- Updated dependencies [[`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad)]: - - @launchpad-ui/tokens@0.5.0 - -## 0.3.18 - -### Patch Changes - -- [#610](https://github.com/launchdarkly/launchpad-ui/pull/610) [`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10) Thanks [@renovate](https://github.com/apps/renovate)! - Update nonmajor versions across framework - -- Updated dependencies [[`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10)]: - - @launchpad-ui/tokens@0.4.10 - -## 0.3.17 - -### Patch Changes - -- Updated dependencies [[`808902f7`](https://github.com/launchdarkly/launchpad-ui/commit/808902f71c0b410adf86b0ee1683a2d36c4cdb22)]: - - @launchpad-ui/tokens@0.4.9 - -## 0.3.16 - -### Patch Changes - -- Updated dependencies [[`f2ae1a80`](https://github.com/launchdarkly/launchpad-ui/commit/f2ae1a80d678a1a61dee407b8574e4c52f55299f)]: - - @launchpad-ui/tokens@0.4.8 - -## 0.3.15 - -### Patch Changes - -- [#633](https://github.com/launchdarkly/launchpad-ui/pull/633) [`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update third party dependencies to pin versions to match consumer app - -## 0.3.14 - -### Patch Changes - -- [#629](https://github.com/launchdarkly/launchpad-ui/pull/629) [`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update Vite build tool to 4.0 - -- Updated dependencies [[`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde), [`b744011d`](https://github.com/launchdarkly/launchpad-ui/commit/b744011dccd525faa534f8def5ee8af2e346268a), [`94fe4b9a`](https://github.com/launchdarkly/launchpad-ui/commit/94fe4b9ada726c190701555c0f5bdca3e8ec610d)]: - - @launchpad-ui/tokens@0.4.7 - -## 0.3.13 - -### Patch Changes - -- Updated dependencies [[`9064d45c`](https://github.com/launchdarkly/launchpad-ui/commit/9064d45cf157f7ded1a11a100940bd144f410fd6)]: - - @launchpad-ui/tokens@0.4.6 - -## 0.3.12 - -### Patch Changes - -- Updated dependencies [[`c48e0b4f`](https://github.com/launchdarkly/launchpad-ui/commit/c48e0b4fff3e0792b453f9173459fd197871f3d0)]: - - @launchpad-ui/tokens@0.4.5 - -## 0.3.11 - -### Patch Changes - -- Updated dependencies [[`57484ab9`](https://github.com/launchdarkly/launchpad-ui/commit/57484ab9998ef50a32ab51bb9c0286b7be84fdb2), [`4c2dc031`](https://github.com/launchdarkly/launchpad-ui/commit/4c2dc0315fe0742ad78b706552d7c7e8e87f8e0e)]: - - @launchpad-ui/tokens@0.4.4 - -## 0.3.10 - -### Patch Changes - -- Updated dependencies [[`9b37d196`](https://github.com/launchdarkly/launchpad-ui/commit/9b37d196a691fd6a4ca0f989c4121b8683d8f7cb)]: - - @launchpad-ui/tokens@0.4.3 - -## 0.3.9 - -### Patch Changes - -- Updated dependencies [[`c0840e07`](https://github.com/launchdarkly/launchpad-ui/commit/c0840e07ba5a4f3da47b792d27680bc2549169f5)]: - - @launchpad-ui/tokens@0.4.2 - -## 0.3.8 - -### Patch Changes - -- Updated dependencies [[`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad)]: - - @launchpad-ui/tokens@0.4.1 - -## 0.3.7 - -### Patch Changes - -- [#595](https://github.com/launchdarkly/launchpad-ui/pull/595) [`9c9429e3`](https://github.com/launchdarkly/launchpad-ui/commit/9c9429e3707c9f229357875f9278755b3f3d7eda) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update theme tokens - - [Tokens]: - - - Add `lp-color-shadow-ui-primary` - - Add a dark theme value to `lp-color-border-ui-primary` - - Rename `lp-border-radius` to `lp-border-radius-regular` and add `lp-border-radius-medium` - - [Alert]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Button]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Chip]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Alert]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Form]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Menu]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Popover]: Rename `lp-border-radius` to `lp-border-radius-regular` - - [Clipboard]: Support theming in `CopyCodeButton` - - [Filter]: - - - Rename `lp-border-radius` to `lp-border-radius-regular` - - Support theming in filter button and applied filter button components - - [Modal]: Support theming for border and box shadow on modal - - [Notification]: - - - Rename `lp-border-radius` to `lp-border-radius-regular` - - Improve theming for links in notifications - -- Updated dependencies [[`71549774`](https://github.com/launchdarkly/launchpad-ui/commit/71549774aad5dcd0887379beba474e2371d320e6), [`9c9429e3`](https://github.com/launchdarkly/launchpad-ui/commit/9c9429e3707c9f229357875f9278755b3f3d7eda)]: - - @launchpad-ui/tokens@0.4.0 - -## 0.3.6 - -### Patch Changes - -- Updated dependencies [[`6dc1470`](https://github.com/launchdarkly/launchpad-ui/commit/6dc1470e52b9f2f1b4dae8800fa8fd6d2bc74a46)]: - - @launchpad-ui/tokens@0.3.2 - -## 0.3.5 - -### Patch Changes - -- Updated dependencies [[`d80297f`](https://github.com/launchdarkly/launchpad-ui/commit/d80297fad893c9db566ed029e302702d5f245a98)]: - - @launchpad-ui/tokens@0.3.1 - -## 0.3.4 - -### Patch Changes - -- Updated dependencies [[`baeacd7`](https://github.com/launchdarkly/launchpad-ui/commit/baeacd7b80d60f36f4962f090d87a0009f28b44e)]: - - @launchpad-ui/tokens@0.3.0 - -## 0.3.3 - -### Patch Changes - -- Updated dependencies [[`4090f93`](https://github.com/launchdarkly/launchpad-ui/commit/4090f93ba98ea6f75a7f9f7b902fafcfb9b005b3)]: - - @launchpad-ui/tokens@0.2.0 - -## 0.3.2 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -## 0.3.2 - -### Patch Changes - -- [#444](https://github.com/launchdarkly/launchpad-ui/pull/444) [`89e1c65`](https://github.com/launchdarkly/launchpad-ui/commit/89e1c658042c0808bb1d1329981363dc3a79a714) Thanks [@Niznikr](https://github.com/Niznikr)! - [Slider] Update to css modules - -## 0.3.1 - -### Patch Changes - -- [#409](https://github.com/launchdarkly/launchpad-ui/pull/409) [`b641978`](https://github.com/launchdarkly/launchpad-ui/commit/b64197803c1ea2a38f8cc755daca4c55760718ab) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Added explicit `data-test-id` properties to components and reworked e2e test to use them instead of classname, in preparation for removal of stable class names - - [Alert] Add `data-test-id` with default value to components - [Avatar] Add `data-test-id` with default value to components - [Banner] Add `data-test-id` with default value to components - [Button] Add `data-test-id` with default value to components - [Chip] Add `data-test-id` with default value to components - [Clipboard] Add `data-test-id` with default value to components - [Counter] Add `data-test-id` with default value to components - [Dropdown] Add `data-test-id` with default value to components - [Filter] Add `data-test-id` with default value to components - [Form] Add `data-test-id` with default value to components - [Icons] Add `data-test-id` with default value to components - [Markdown] Add `data-test-id` with default value to components - [Menu] Add `data-test-id` with default value to components - [Modal] Add `data-test-id` with default value to components - [Navigation] Add `data-test-id` with default value to components - [Notification] Add `data-test-id` with default value to components - [Pagination] Add `data-test-id` with default value to components - [Popover] Add `data-test-id` with default value to components - [Progress] Add `data-test-id` with default value to components - [Progress] Add `data-test-id` with default value to components - [Slider] Add `data-test-id` with default value to components - [Split] Add `data-test-id` with default value to components - [Tab] Add `data-test-id` with default value to components - [Table] Add `data-test-id` with default value to components - [Toggle] Add `data-test-id` with default value to components - [Tooltip] Add `data-test-id` with default value to components - -## 0.3.0 - -### Minor Changes - -- [#324](https://github.com/launchdarkly/launchpad-ui/pull/324) [`0ce0a50`](https://github.com/launchdarkly/launchpad-ui/commit/0ce0a50b8401ec39ef290605a2789c987c6264ce) Thanks [@Niznikr](https://github.com/Niznikr)! - Use vite for builds: - - Each package's styles are now located in a single `style.css` within the root: - - Before: - - ```js - import alertStyles from "@launchpad-ui/alert/styles/Alert.css"; - ``` - - After: - - ```js - import alertStyles from "@launchpad-ui/alert/style.css"; - ``` - - The `core` package no longer bundles styles. If you need to import stylesheets for the components (in a Remix app for example) simply import them from the individual packages that come included when you install the `core` package. - -## 0.2.1 - -### Patch Changes - -- [#308](https://github.com/launchdarkly/launchpad-ui/pull/308) [`57e9aa3`](https://github.com/launchdarkly/launchpad-ui/commit/57e9aa3748b59b2601be5ede39423dcc79c0fa43) Thanks [@Niznikr](https://github.com/Niznikr)! - Replace clsx with classix for joining classNames - -## 0.2.0 - -### Minor Changes - -- [#273](https://github.com/launchdarkly/launchpad-ui/pull/273) [`d74c632`](https://github.com/launchdarkly/launchpad-ui/commit/d74c6321e0359b7a328acf33eaecef6937448356) Thanks [@Niznikr](https://github.com/Niznikr)! - Set minimum React version to 18 - -## 0.1.0 - -### Minor Changes - -- [#209](https://github.com/launchdarkly/launchpad-ui/pull/209) [`371444d`](https://github.com/launchdarkly/launchpad-ui/commit/371444de984821011c601ad6e45959db66808d56) Thanks [@Niznikr](https://github.com/Niznikr)! - Add slider package: - - - [Slider] Add slider code, stories, and tests diff --git a/packages/slider/README.md b/packages/slider/README.md deleted file mode 100644 index dc5cec00a..000000000 --- a/packages/slider/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# @launchpad-ui/slider - -> An element used to set a value within a range. - -[![See it on NPM!](https://img.shields.io/npm/v/@launchpad-ui/slider?style=for-the-badge)](https://www.npmjs.com/package/@launchpad-ui/slider) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@launchpad-ui/slider?style=for-the-badge)](https://bundlephobia.com/result?p=@launchpad-ui/slider) - -## Installation - -```sh -$ yarn add @launchpad-ui/slider -# or -$ npm install @launchpad-ui/slider -``` diff --git a/packages/slider/__tests__/Slider.spec.tsx b/packages/slider/__tests__/Slider.spec.tsx deleted file mode 100644 index 76fbc23fa..000000000 --- a/packages/slider/__tests__/Slider.spec.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { describe, expect, it } from 'vitest'; - -import { render, screen } from '../../../test/utils'; -import { Slider } from '../src'; - -describe('Slider', () => { - it('renders', () => { - render( undefined} />); - expect(screen.getByRole('slider')).toBeInTheDocument(); - }); - - it('renders read-only state', () => { - render( undefined} />); - expect(screen.getByRole('slider')).toHaveAttribute('readonly', ''); - }); -}); diff --git a/packages/slider/package.json b/packages/slider/package.json deleted file mode 100644 index 02cd71bf4..000000000 --- a/packages/slider/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@launchpad-ui/slider", - "version": "0.5.22", - "status": "beta", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/launchdarkly/launchpad-ui" - }, - "description": "An element used to set a value within a range.", - "license": "Apache-2.0", - "files": ["dist"], - "main": "dist/index.js", - "module": "dist/index.es.js", - "types": "dist/index.d.ts", - "sideEffects": ["**/*.css"], - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.es.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json", - "./style.css": "./dist/style.css" - }, - "source": "src/index.ts", - "scripts": { - "build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", - "clean": "rm -rf dist", - "test": "vitest run --coverage" - }, - "dependencies": { - "@launchpad-ui/tokens": "workspace:~", - "classix": "2.2.0" - }, - "peerDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - } -} diff --git a/packages/slider/src/Slider.tsx b/packages/slider/src/Slider.tsx deleted file mode 100644 index aaf7e16ca..000000000 --- a/packages/slider/src/Slider.tsx +++ /dev/null @@ -1,61 +0,0 @@ -import type { SyntheticEvent } from 'react'; - -import { cx } from 'classix'; - -import styles from './styles/Slider.module.css'; - -type SliderProps = { - value: number; - onChange(x?: number): void; - min?: number; - max?: number; - step?: number; - readOnly?: boolean; - className?: string; - disabled?: boolean; - hideTrack?: boolean; - id?: string; - 'data-test-id'?: string; -}; - -const Slider = ({ - value, - min, - max, - step, - readOnly, - hideTrack, - className, - disabled, - onChange, - id, - 'data-test-id': testId = 'slider', -}: SliderProps) => { - const valueHandler = - (callback: (value: number) => void) => (event: SyntheticEvent) => - callback(Number.parseFloat(event.currentTarget.value)); - - return ( -
- {!hideTrack &&
} - {!hideTrack &&
} - -
- ); -}; - -export { Slider }; -export type { SliderProps }; diff --git a/packages/slider/src/index.ts b/packages/slider/src/index.ts deleted file mode 100644 index ffab7ca4a..000000000 --- a/packages/slider/src/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export type { SliderProps } from './Slider'; -export { Slider } from './Slider'; diff --git a/packages/slider/src/styles/Slider.module.css b/packages/slider/src/styles/Slider.module.css deleted file mode 100644 index 167446f12..000000000 --- a/packages/slider/src/styles/Slider.module.css +++ /dev/null @@ -1,115 +0,0 @@ -.Slider { - --slider-height: 0.625rem; - --slider-knob-size: 1rem; - - position: relative; - height: var(--slider-height); -} - -.Slider input[type='range'] { - position: absolute; - top: 50%; - left: 0; - right: 0; - transform: translateY(-50%); - width: 100%; - height: var(--slider-height); - margin: 0; - padding: 0; - background: transparent; -} - -.Slider input[type='range']::-moz-focus-outer { - border: none; -} - -.Slider input[type='range'], -.Slider input[type='range']::-webkit-slider-runnable-track, -.Slider input[type='range']::-webkit-slider-thumb { - appearance: none; -} - -.Slider input[type='range']:focus { - outline: none; -} - -.Slider input[type='range']::-webkit-slider-runnable-track { - background: transparent; -} - -.Slider input[type='range']::-moz-range-track { - background: transparent; -} - -.Slider input[type='range']::-moz-range-progress { - background: transparent; -} - -.Slider input[type='range']::-webkit-slider-thumb { - width: var(--slider-knob-size); - height: var(--slider-knob-size); - padding: calc(var(--slider-knob-size) / 4); - cursor: not-allowed; - background-color: var(--lp-color-bg-ui-secondary); - background-image: linear-gradient(#fafafa, #f5f5f5); - border-radius: var(--lp-border-radius-regular); - border: solid 1px var(--lp-color-border-ui-primary); - box-shadow: 0 0 0 1px var(--lp-color-white-950); - box-sizing: border-box; -} - -.Slider input[type='range']:not([disabled])::-webkit-slider-thumb { - cursor: ew-resize; -} - -.Slider input[type='range']:focus::-webkit-slider-thumb { - box-shadow: 0 0 0 1px var(--lp-color-white-950), 0 0 0 2px var(--lp-color-blue-600), 0 0 0 5px - rgb(0 126 255 / 0.1); -} - -.Slider input[type='range']::-moz-range-thumb { - width: var(--slider-knob-size); - height: var(--slider-knob-size); - padding: calc(var(--slider-knob-size) / 4); - cursor: not-allowed; - background-color: var(--lp-color-bg-ui-secondary); - background-image: linear-gradient(#fafafa, #f5f5f5); - border-radius: var(--lp-border-radius-regular); - border: solid 1px var(--lp-color-border-ui-primary); - box-shadow: 0 0 0 1px var(--lp-color-white-950); - box-sizing: border-box; -} - -.Slider input[type='range']:not([disabled])::-moz-range-thumb { - cursor: ew-resize; -} - -.Slider input[type='range']:focus::-moz-range-thumb { - box-shadow: 0 0 0 1px var(--lp-color-white-950), 0 0 0 2px var(--lp-color-blue-600), 0 0 0 5px - rgb(0 126 255 / 0.1); -} - -.Slider-track { - position: absolute; - left: 0; - right: 0; - max-width: 100%; - height: var(--slider-height); - background-color: var(--lp-color-bg-ui-secondary); - border-radius: var(--lp-border-radius-regular); -} - -.Slider-fill { - position: absolute; - left: 0; - right: 0; - max-width: 100%; - height: var(--slider-height); - background-color: var(--lp-color-border-ui-primary); - border-top-left-radius: var(--lp-border-radius-regular); - border-bottom-left-radius: var(--lp-border-radius-regular); -} - -.Slider:not(.Slider--disabled):hover .Slider-fill { - background-color: var(--lp-color-shadow-interactive-focus); -} diff --git a/packages/slider/stories/Slider.stories.tsx b/packages/slider/stories/Slider.stories.tsx deleted file mode 100644 index 41b3388d6..000000000 --- a/packages/slider/stories/Slider.stories.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import type { StoryObj } from '@storybook/react'; - -import { Slider } from '../src'; - -export default { - component: Slider, - title: 'Legacy/Sunset/Slider', - description: 'An element used to set a value within a range.', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__SLIDER, - }, - }, -}; - -type Story = StoryObj; - -export const Example: Story = { - args: { - value: 25, - onChange: () => undefined, - min: 0, - max: 0, - step: 1, - readOnly: false, - disabled: false, - hideTrack: false, - }, - parameters: { - a11y: { - options: { - rules: { - // @fixme - label: { enabled: false }, - }, - }, - }, - }, -}; diff --git a/packages/slider/tsconfig.build.json b/packages/slider/tsconfig.build.json deleted file mode 100644 index 45eaefdc5..000000000 --- a/packages/slider/tsconfig.build.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": ["src/*.ts", "src/*.tsx"], - "compilerOptions": { - "outDir": "./dist" - } -} diff --git a/packages/snackbar/CHANGELOG.md b/packages/snackbar/CHANGELOG.md deleted file mode 100644 index de87d0ba0..000000000 --- a/packages/snackbar/CHANGELOG.md +++ /dev/null @@ -1,1295 +0,0 @@ -# @launchpad-ui/snackbar - -## 0.5.32 - -### Patch Changes - -- Updated dependencies [[`47f4952`](https://github.com/launchdarkly/launchpad-ui/commit/47f4952825645633161075899738b869bb343066)]: - - @launchpad-ui/icons@0.19.3 - - @launchpad-ui/button@0.12.31 - -## 0.5.31 - -### Patch Changes - -- Updated dependencies []: - - @launchpad-ui/icons@0.19.2 - - @launchpad-ui/button@0.12.30 - -## 0.5.30 - -### Patch Changes - -- Updated dependencies [[`f537aef`](https://github.com/launchdarkly/launchpad-ui/commit/f537aef5280ee098346c89039fe84fb2ea8542ba)]: - - @launchpad-ui/icons@0.19.1 - - @launchpad-ui/button@0.12.29 - -## 0.5.29 - -### Patch Changes - -- Updated dependencies [[`6341b25`](https://github.com/launchdarkly/launchpad-ui/commit/6341b256039fabceb3d720b9ec63b29b3a600632), [`05feada`](https://github.com/launchdarkly/launchpad-ui/commit/05feada3d4f4e6c03d124b1f4443e790d7b35274)]: - - @launchpad-ui/icons@0.19.0 - - @launchpad-ui/button@0.12.28 - -## 0.5.28 - -### Patch Changes - -- Updated dependencies [[`6f6619f`](https://github.com/launchdarkly/launchpad-ui/commit/6f6619f7b99541904512993652ba9b0918272f9b)]: - - @launchpad-ui/tokens@0.11.4 - - @launchpad-ui/button@0.12.27 - - @launchpad-ui/icons@0.18.14 - -## 0.5.27 - -### Patch Changes - -- Updated dependencies [[`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f)]: - - @launchpad-ui/tokens@0.11.3 - - @launchpad-ui/button@0.12.26 - - @launchpad-ui/icons@0.18.13 - -## 0.5.26 - -### Patch Changes - -- Updated dependencies [[`cffa2f9`](https://github.com/launchdarkly/launchpad-ui/commit/cffa2f9055bb8f33b1db0ef1db01ac65d2498a73)]: - - @launchpad-ui/icons@0.18.12 - - @launchpad-ui/button@0.12.25 - -## 0.5.25 - -### Patch Changes - -- Updated dependencies [[`af43516`](https://github.com/launchdarkly/launchpad-ui/commit/af435166439a8b4860fda2dea78e78fc477ed088)]: - - @launchpad-ui/tokens@0.11.2 - - @launchpad-ui/button@0.12.24 - - @launchpad-ui/icons@0.18.11 - -## 0.5.24 - -### Patch Changes - -- Updated dependencies [[`0d981ef`](https://github.com/launchdarkly/launchpad-ui/commit/0d981efb7e1ca252b51194a47ea8d5c652656462)]: - - @launchpad-ui/icons@0.18.10 - - @launchpad-ui/button@0.12.23 - -## 0.5.23 - -### Patch Changes - -- Updated dependencies [[`3265579`](https://github.com/launchdarkly/launchpad-ui/commit/326557944061dbd1c7f74daf00454b902b91cb2d)]: - - @launchpad-ui/tokens@0.11.1 - - @launchpad-ui/button@0.12.22 - - @launchpad-ui/icons@0.18.9 - -## 0.5.22 - -### Patch Changes - -- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]: - - @launchpad-ui/icons@0.18.8 - - @launchpad-ui/button@0.12.21 - -## 0.5.21 - -### Patch Changes - -- Updated dependencies [[`8c68adb`](https://github.com/launchdarkly/launchpad-ui/commit/8c68adbfeeda476c7e75f517cb9ca76d15695438)]: - - @launchpad-ui/tokens@0.11.0 - - @launchpad-ui/button@0.12.20 - - @launchpad-ui/icons@0.18.7 - -## 0.5.20 - -### Patch Changes - -- Updated dependencies [[`388d562`](https://github.com/launchdarkly/launchpad-ui/commit/388d5627583100d04713e76e57b765b9668314d1), [`6ab5b77`](https://github.com/launchdarkly/launchpad-ui/commit/6ab5b776c4dff94ad5be9a6fbf474126ae41c31c)]: - - @launchpad-ui/icons@0.18.6 - - @launchpad-ui/tokens@0.10.0 - - @launchpad-ui/button@0.12.19 - -## 0.5.19 - -### Patch Changes - -- Updated dependencies [[`3c7a71e`](https://github.com/launchdarkly/launchpad-ui/commit/3c7a71e4fd7ba473d07e47a11c3f91f474900e50)]: - - @launchpad-ui/icons@0.18.5 - - @launchpad-ui/button@0.12.18 - -## 0.5.18 - -### Patch Changes - -- Updated dependencies [[`545560f`](https://github.com/launchdarkly/launchpad-ui/commit/545560fff3fdbfdabfa208e5662c21ae41a76322)]: - - @launchpad-ui/tokens@0.9.12 - - @launchpad-ui/button@0.12.17 - - @launchpad-ui/icons@0.18.4 - -## 0.5.17 - -### Patch Changes - -- Updated dependencies [[`b74c95b`](https://github.com/launchdarkly/launchpad-ui/commit/b74c95ba1fab1d8364777954574ff4cc8fcee3f7)]: - - @launchpad-ui/icons@0.18.3 - - @launchpad-ui/button@0.12.16 - -## 0.5.16 - -### Patch Changes - -- Updated dependencies [[`b255f1d`](https://github.com/launchdarkly/launchpad-ui/commit/b255f1dddf14c437585383cea5114ca93b949966)]: - - @launchpad-ui/icons@0.18.2 - - @launchpad-ui/button@0.12.15 - -## 0.5.15 - -### Patch Changes - -- [#1324](https://github.com/launchdarkly/launchpad-ui/pull/1324) [`a5092d1`](https://github.com/launchdarkly/launchpad-ui/commit/a5092d102a14e0ada5cd4a161d13570f293bf9c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Deprecate packages - -## 0.5.14 - -### Patch Changes - -- Updated dependencies [[`bf904e8`](https://github.com/launchdarkly/launchpad-ui/commit/bf904e8ee2c27ee73d813f539cc5dfdf682e92fc), [`c0d7223`](https://github.com/launchdarkly/launchpad-ui/commit/c0d72237a9c327abab1a186c6c452b33fa196799)]: - - @launchpad-ui/tokens@0.9.11 - - @launchpad-ui/icons@0.18.1 - - @launchpad-ui/button@0.12.14 - -## 0.5.13 - -### Patch Changes - -- Updated dependencies [[`69375b2`](https://github.com/launchdarkly/launchpad-ui/commit/69375b274a96ce25ec7103cd88d03dd6d4fbf111), [`b2e8731`](https://github.com/launchdarkly/launchpad-ui/commit/b2e873183a438e8482d79ca28c37f0db159f41c2)]: - - @launchpad-ui/icons@0.18.0 - - @launchpad-ui/button@0.12.13 - -## 0.5.12 - -### Patch Changes - -- Updated dependencies [[`774f300`](https://github.com/launchdarkly/launchpad-ui/commit/774f300fecd68e94d576eb9445a529ba9448fa04), [`877de79`](https://github.com/launchdarkly/launchpad-ui/commit/877de794d4347e088feb5be86cb8de0a299491b1)]: - - @launchpad-ui/icons@0.17.5 - - @launchpad-ui/button@0.12.12 - -## 0.5.11 - -### Patch Changes - -- Updated dependencies [[`554b1ce`](https://github.com/launchdarkly/launchpad-ui/commit/554b1ce907b7ef914bae64eb3e3bde5bac9d3842)]: - - @launchpad-ui/icons@0.17.4 - - @launchpad-ui/button@0.12.11 - -## 0.5.10 - -### Patch Changes - -- Updated dependencies [[`a923187`](https://github.com/launchdarkly/launchpad-ui/commit/a923187f7a679965f529ffe8598768adc3d78ce1)]: - - @launchpad-ui/icons@0.17.3 - - @launchpad-ui/button@0.12.10 - -## 0.5.9 - -### Patch Changes - -- Updated dependencies [[`2002ab4`](https://github.com/launchdarkly/launchpad-ui/commit/2002ab411b61085099ded54cd94fbfc1d1b039d4)]: - - @launchpad-ui/tokens@0.9.10 - - @launchpad-ui/button@0.12.9 - - @launchpad-ui/icons@0.17.2 - -## 0.5.8 - -### Patch Changes - -- Updated dependencies [[`3ba2c5f`](https://github.com/launchdarkly/launchpad-ui/commit/3ba2c5f23e3d7ec1c8443f8e6afb4f1dab61d77f)]: - - @launchpad-ui/icons@0.17.1 - - @launchpad-ui/button@0.12.8 - -## 0.5.7 - -### Patch Changes - -- [#1241](https://github.com/launchdarkly/launchpad-ui/pull/1241) [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Add repository and license fields to package.json - -- Updated dependencies [[`d635813`](https://github.com/launchdarkly/launchpad-ui/commit/d63581359d661c6e8e40ce5ad2a6f2d557333db0), [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0), [`6f00788`](https://github.com/launchdarkly/launchpad-ui/commit/6f00788e9b043aeb3fa6d00de1fa29d5962684ad)]: - - @launchpad-ui/button@0.12.7 - - @launchpad-ui/tokens@0.9.9 - - @launchpad-ui/icons@0.17.0 - -## 0.5.6 - -### Patch Changes - -- Updated dependencies [[`4d77457`](https://github.com/launchdarkly/launchpad-ui/commit/4d7745766ba9f40eafb6800504a915ef99bf815a)]: - - @launchpad-ui/icons@0.16.6 - - @launchpad-ui/button@0.12.6 - -## 0.5.5 - -### Patch Changes - -- Updated dependencies [[`fdc91bb`](https://github.com/launchdarkly/launchpad-ui/commit/fdc91bb7630b1a84279ee7b6013d694fafb9fd39)]: - - @launchpad-ui/tokens@0.9.8 - - @launchpad-ui/button@0.12.5 - - @launchpad-ui/icons@0.16.5 - -## 0.5.4 - -### Patch Changes - -- Updated dependencies [[`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc), [`369664c`](https://github.com/launchdarkly/launchpad-ui/commit/369664c3c21f93e844f0d3ae9a4ef80ad2d03bfb)]: - - @launchpad-ui/tokens@0.9.7 - - @launchpad-ui/icons@0.16.4 - - @launchpad-ui/button@0.12.4 - -## 0.5.3 - -### Patch Changes - -- Updated dependencies [[`31b5c98`](https://github.com/launchdarkly/launchpad-ui/commit/31b5c98c49768e62f6474c8696b40e9cb52ea25d)]: - - @launchpad-ui/tokens@0.9.6 - - @launchpad-ui/button@0.12.3 - - @launchpad-ui/icons@0.16.3 - -## 0.5.2 - -### Patch Changes - -- Updated dependencies [[`2041cd5`](https://github.com/launchdarkly/launchpad-ui/commit/2041cd53385561cc3e02474f5d2c767f79603b58), [`fb6080e`](https://github.com/launchdarkly/launchpad-ui/commit/fb6080e2081d66b3b9fafb4e5bc7f57a74889358)]: - - @launchpad-ui/tokens@0.9.5 - - @launchpad-ui/icons@0.16.2 - - @launchpad-ui/button@0.12.2 - -## 0.5.1 - -### Patch Changes - -- [#1156](https://github.com/launchdarkly/launchpad-ui/pull/1156) [`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e) Thanks [@Niznikr](https://github.com/Niznikr)! - Change class pattern to `[hash]_[local]` - -- Updated dependencies [[`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e)]: - - @launchpad-ui/button@0.12.1 - - @launchpad-ui/icons@0.16.1 - -## 0.5.0 - -### Minor Changes - -- [#1154](https://github.com/launchdarkly/launchpad-ui/pull/1154) [`36d8a2d`](https://github.com/launchdarkly/launchpad-ui/commit/36d8a2d52706213197a02387475338733ccc37f5) Thanks [@Niznikr](https://github.com/Niznikr)! - Change class pattern to `[hash]_[local]` - -### Patch Changes - -- Updated dependencies [[`36d8a2d`](https://github.com/launchdarkly/launchpad-ui/commit/36d8a2d52706213197a02387475338733ccc37f5)]: - - @launchpad-ui/button@0.12.0 - - @launchpad-ui/icons@0.16.0 - -## 0.4.12 - -### Patch Changes - -- Updated dependencies [[`8fed876`](https://github.com/launchdarkly/launchpad-ui/commit/8fed8760bb3242eda79a38a66582d85f8bf506ed), [`a26559f`](https://github.com/launchdarkly/launchpad-ui/commit/a26559f3d858ef651cd9a5672fc4f1baedb88e63)]: - - @launchpad-ui/tokens@0.9.4 - - @launchpad-ui/icons@0.15.1 - - @launchpad-ui/button@0.11.12 - -## 0.4.11 - -### Patch Changes - -- [#1134](https://github.com/launchdarkly/launchpad-ui/pull/1134) [`8be21f6`](https://github.com/launchdarkly/launchpad-ui/commit/8be21f6a9a518f980e11d54e59325b32c7876910) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`4636c17`](https://github.com/launchdarkly/launchpad-ui/commit/4636c17a17c28b741687fd81fe9ec869d4be91a5), [`4c18b26`](https://github.com/launchdarkly/launchpad-ui/commit/4c18b261496392f3331ba0c2d3aafc04d54691c3)]: - - @launchpad-ui/icons@0.15.0 - - @launchpad-ui/button@0.11.11 - -## 0.4.10 - -### Patch Changes - -- Updated dependencies [[`91cfeaf`](https://github.com/launchdarkly/launchpad-ui/commit/91cfeafde3848c6a5e86536f747e38362ca523c1), [`afa8fdc`](https://github.com/launchdarkly/launchpad-ui/commit/afa8fdc38ed89b885e2446a2065029b9cbd9cb4e)]: - - @launchpad-ui/tokens@0.9.3 - - @launchpad-ui/icons@0.14.10 - - @launchpad-ui/button@0.11.10 - -## 0.4.9 - -### Patch Changes - -- Updated dependencies [[`b1b889c`](https://github.com/launchdarkly/launchpad-ui/commit/b1b889c6807dc28f90fc17319f019e678302c285)]: - - @launchpad-ui/icons@0.14.9 - - @launchpad-ui/button@0.11.9 - -## 0.4.8 - -### Patch Changes - -- Updated dependencies [[`c8357e5`](https://github.com/launchdarkly/launchpad-ui/commit/c8357e52195c31a3e03432cf4079279746b4c660)]: - - @launchpad-ui/icons@0.14.8 - - @launchpad-ui/button@0.11.8 - -## 0.4.7 - -### Patch Changes - -- Updated dependencies [[`861c925`](https://github.com/launchdarkly/launchpad-ui/commit/861c92546a6689042336a51297ad600b957b6d21)]: - - @launchpad-ui/tokens@0.9.2 - - @launchpad-ui/button@0.11.7 - - @launchpad-ui/icons@0.14.7 - -## 0.4.6 - -### Patch Changes - -- Updated dependencies [[`6ee9e107`](https://github.com/launchdarkly/launchpad-ui/commit/6ee9e1079ca8b87784963000728d3591fb0180b7)]: - - @launchpad-ui/tokens@0.9.1 - - @launchpad-ui/button@0.11.6 - - @launchpad-ui/icons@0.14.6 - -## 0.4.5 - -### Patch Changes - -- [#1084](https://github.com/launchdarkly/launchpad-ui/pull/1084) [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81) Thanks [@Niznikr](https://github.com/Niznikr)! - [Button, SplitButton] Convert to css modules - -- Updated dependencies [[`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81)]: - - @launchpad-ui/button@0.11.5 - - @launchpad-ui/tokens@0.9.0 - - @launchpad-ui/icons@0.14.5 - -## 0.4.5-alpha.0 - -### Patch Changes - -- [#1030](https://github.com/launchdarkly/launchpad-ui/pull/1030) [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687) Thanks [@Niznikr](https://github.com/Niznikr)! - [Button, SplitButton] Convert to css modules - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687), [`941d2d60`](https://github.com/launchdarkly/launchpad-ui/commit/941d2d60c96f095e7043852f02bc6b5f157edb3b), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53), [`260d052f`](https://github.com/launchdarkly/launchpad-ui/commit/260d052f3f47043cca470747e7d861417873fa41)]: - - @launchpad-ui/tokens@0.9.0-alpha.2 - - @launchpad-ui/button@0.11.5-alpha.0 - - @launchpad-ui/icons@0.14.5-alpha.0 - -## 0.4.3-alpha.0 - -### Patch Changes - -- [#1030](https://github.com/launchdarkly/launchpad-ui/pull/1030) [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687) Thanks [@Niznikr](https://github.com/Niznikr)! - [Button, SplitButton] Convert to css modules - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.1 - - @launchpad-ui/button@0.11.3-alpha.0 - - @launchpad-ui/icons@0.14.3-alpha.0 - -## 0.4.1-alpha.0 - -### Patch Changes - -- [#1030](https://github.com/launchdarkly/launchpad-ui/pull/1030) [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687) Thanks [@Niznikr](https://github.com/Niznikr)! - [Button, SplitButton] Convert to css modules - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`e48d0df6`](https://github.com/launchdarkly/launchpad-ui/commit/e48d0df69e5085bc31c6378fe2eaad581a5eb687), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.0 - - @launchpad-ui/button@0.11.1-alpha.0 - - @launchpad-ui/icons@0.14.1-alpha.0 - -## 0.4.4 - -### Patch Changes - -- Updated dependencies [[`bb8eed2f`](https://github.com/launchdarkly/launchpad-ui/commit/bb8eed2ff3fc04495109a44041e6591e0e8696d6)]: - - @launchpad-ui/icons@0.14.4 - - @launchpad-ui/button@0.11.4 - -## 0.4.3 - -### Patch Changes - -- Updated dependencies [[`77903b21`](https://github.com/launchdarkly/launchpad-ui/commit/77903b21a8a714b27ec68e6d972f5897747c5d17)]: - - @launchpad-ui/icons@0.14.3 - - @launchpad-ui/button@0.11.3 - -## 0.4.2 - -### Patch Changes - -- Updated dependencies [[`9097483d`](https://github.com/launchdarkly/launchpad-ui/commit/9097483d04b22bbec5163a0b8ccc73594bd9e242), [`f106ce0e`](https://github.com/launchdarkly/launchpad-ui/commit/f106ce0e7514fe79ed2dcb2b79c9ae302ae08214)]: - - @launchpad-ui/tokens@0.8.2 - - @launchpad-ui/icons@0.14.2 - - @launchpad-ui/button@0.11.2 - -## 0.4.1 - -### Patch Changes - -- Updated dependencies [[`a2c657c1`](https://github.com/launchdarkly/launchpad-ui/commit/a2c657c17c4e5f3d034ae77bdbdb855010e46fb1)]: - - @launchpad-ui/tokens@0.8.1 - - @launchpad-ui/icons@0.14.1 - - @launchpad-ui/button@0.11.1 - -## 0.4.0 - -### Minor Changes - -- [#1033](https://github.com/launchdarkly/launchpad-ui/pull/1033) [`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a) Thanks [@Niznikr](https://github.com/Niznikr)! - Use base 16 font size - -### Patch Changes - -- Updated dependencies [[`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a)]: - - @launchpad-ui/button@0.11.0 - - @launchpad-ui/tokens@0.8.0 - - @launchpad-ui/icons@0.14.0 - -## 0.3.73 - -### Patch Changes - -- Updated dependencies [[`87eff51a`](https://github.com/launchdarkly/launchpad-ui/commit/87eff51a00a813c0ebfebadb03b6c6c2ac221b43)]: - - @launchpad-ui/icons@0.13.1 - - @launchpad-ui/button@0.10.10 - -## 0.3.72 - -### Patch Changes - -- Updated dependencies [[`afa2b2d7`](https://github.com/launchdarkly/launchpad-ui/commit/afa2b2d7da6c5aa494fb9ab1adf811c1779e198a)]: - - @launchpad-ui/icons@0.13.0 - - @launchpad-ui/button@0.10.9 - -## 0.3.72-alpha.0 - -### Patch Changes - -- Updated dependencies [[`ba2a5138`](https://github.com/launchdarkly/launchpad-ui/commit/ba2a5138c9ff43b17654812437025ba9671d4923)]: - - @launchpad-ui/icons@0.13.0-alpha.0 - - @launchpad-ui/button@0.10.9-alpha.0 - -## 0.3.71 - -### Patch Changes - -- Updated dependencies [[`757c82d5`](https://github.com/launchdarkly/launchpad-ui/commit/757c82d5574c519691521c413c10cd5932cebc9c)]: - - @launchpad-ui/tokens@0.7.1 - - @launchpad-ui/button@0.10.8 - - @launchpad-ui/icons@0.12.6 - -## 0.3.70 - -### Patch Changes - -- Updated dependencies [[`b434c311`](https://github.com/launchdarkly/launchpad-ui/commit/b434c311362dfdd155eac52bb23778fb7e6a37b2)]: - - @launchpad-ui/icons@0.12.5 - - @launchpad-ui/button@0.10.7 - -## 0.3.69 - -### Patch Changes - -- Updated dependencies [[`37821630`](https://github.com/launchdarkly/launchpad-ui/commit/378216306ecf8e796b690985bbda31f6c42b841d), [`a570a53f`](https://github.com/launchdarkly/launchpad-ui/commit/a570a53f0439cec9cbdb0e1778595e547fe38c51)]: - - @launchpad-ui/icons@0.12.4 - - @launchpad-ui/button@0.10.6 - -## 0.3.68 - -### Patch Changes - -- Updated dependencies [[`72862e6d`](https://github.com/launchdarkly/launchpad-ui/commit/72862e6d111834b7b459d48e2e0de26e714966ad)]: - - @launchpad-ui/icons@0.12.3 - - @launchpad-ui/button@0.10.5 - -## 0.3.67 - -### Patch Changes - -- Updated dependencies [[`21ef37b7`](https://github.com/launchdarkly/launchpad-ui/commit/21ef37b7c8a3943c9670337cabfe401372ad0ada)]: - - @launchpad-ui/icons@0.12.2 - - @launchpad-ui/button@0.10.4 - -## 0.3.66 - -### Patch Changes - -- Updated dependencies [[`21ef85cf`](https://github.com/launchdarkly/launchpad-ui/commit/21ef85cf2d32936d7907712bf35d5f3fba29ef40)]: - - @launchpad-ui/icons@0.12.1 - - @launchpad-ui/button@0.10.3 - -## 0.3.65 - -### Patch Changes - -- Updated dependencies [[`5d398d07`](https://github.com/launchdarkly/launchpad-ui/commit/5d398d071ee124e430bf127b86cfeb2af3af3989)]: - - @launchpad-ui/icons@0.12.0 - - @launchpad-ui/button@0.10.2 - -## 0.3.64 - -### Patch Changes - -- [#973](https://github.com/launchdarkly/launchpad-ui/pull/973) [`17606815`](https://github.com/launchdarkly/launchpad-ui/commit/17606815f4d00b51e5abb491cb03e755a542c8eb) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`e834a1f1`](https://github.com/launchdarkly/launchpad-ui/commit/e834a1f19a52678b79edb91db9fdd356a71dbb8d)]: - - @launchpad-ui/icons@0.11.0 - - @launchpad-ui/button@0.10.1 - -## 0.3.63 - -### Patch Changes - -- Updated dependencies [[`6b94906e`](https://github.com/launchdarkly/launchpad-ui/commit/6b94906e69d9f7516388d465689f7ff2e37faf9a), [`45d511ea`](https://github.com/launchdarkly/launchpad-ui/commit/45d511ea87c176e0cb12f2cdac885ef8cec91058)]: - - @launchpad-ui/icons@0.10.0 - - @launchpad-ui/button@0.10.0 - - @launchpad-ui/tokens@0.7.0 - -## 0.3.62 - -### Patch Changes - -- Updated dependencies [[`2be20b76`](https://github.com/launchdarkly/launchpad-ui/commit/2be20b76362713b2f4fe25e0e045271f2358e59e)]: - - @launchpad-ui/icons@0.9.6 - - @launchpad-ui/button@0.9.6 - -## 0.3.61 - -### Patch Changes - -- Updated dependencies [[`6a034ffe`](https://github.com/launchdarkly/launchpad-ui/commit/6a034ffef935f54dd077b6cdcc5cf14c02629d6b)]: - - @launchpad-ui/icons@0.9.5 - - @launchpad-ui/button@0.9.5 - -## 0.3.60 - -### Patch Changes - -- Updated dependencies [[`5aad4986`](https://github.com/launchdarkly/launchpad-ui/commit/5aad4986acc0cf5f593247fbe041cf8938a684a3)]: - - @launchpad-ui/icons@0.9.4 - - @launchpad-ui/button@0.9.4 - -## 0.3.59 - -### Patch Changes - -- [#947](https://github.com/launchdarkly/launchpad-ui/pull/947) [`29e2b26c`](https://github.com/launchdarkly/launchpad-ui/commit/29e2b26c7f2a5496adb11a72fd79fcadd33717ff) Thanks [@Niznikr](https://github.com/Niznikr)! - Annotate pure functions - -- Updated dependencies [[`29e2b26c`](https://github.com/launchdarkly/launchpad-ui/commit/29e2b26c7f2a5496adb11a72fd79fcadd33717ff)]: - - @launchpad-ui/button@0.9.3 - - @launchpad-ui/icons@0.9.3 - -## 0.3.58 - -### Patch Changes - -- [#939](https://github.com/launchdarkly/launchpad-ui/pull/939) [`9bbdd9e2`](https://github.com/launchdarkly/launchpad-ui/commit/9bbdd9e20bcbd5af8ab60ab3c03869c8665a8962) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.3.57 - -### Patch Changes - -- [#934](https://github.com/launchdarkly/launchpad-ui/pull/934) [`bc04510d`](https://github.com/launchdarkly/launchpad-ui/commit/bc04510d8adfeb899e25638979b5b6a6526e9986) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.3.56 - -### Patch Changes - -- Updated dependencies [[`c025b013`](https://github.com/launchdarkly/launchpad-ui/commit/c025b013c5c7ccdfb520103d82bd8395e7b1bbe6)]: - - @launchpad-ui/icons@0.9.2 - - @launchpad-ui/button@0.9.2 - -## 0.3.55 - -### Patch Changes - -- Updated dependencies [[`420b7c9b`](https://github.com/launchdarkly/launchpad-ui/commit/420b7c9b51fc18910b163aed562983a2a7d2db51)]: - - @launchpad-ui/icons@0.9.1 - - @launchpad-ui/button@0.9.1 - -## 0.3.54 - -### Patch Changes - -- [#922](https://github.com/launchdarkly/launchpad-ui/pull/922) [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409) Thanks [@Niznikr](https://github.com/Niznikr)! - [Tokens] Add `0` and `base` suffix to default tokens: - - Primitives: - - - `lp-color-black-0` - - `lp-color-white-0` - - Aliases: - - - `lp-color-bg-interactive-primary-base` - - `lp-color-bg-interactive-secondary-base` - - `lp-color-bg-interactive-tertiary-base` - - `lp-color-bg-interactive-destructive-base` - - `lp-color-bg-field-base` - - `lp-color-border-field-base` - - `lp-color-border-interactive-primary-base` - - `lp-color-border-interactive-secondary-base` - - `lp-color-fill-field-base` - - `lp-color-text-feedback-base` - - `lp-color-text-interactive-base` - - `lp-color-text-ui-primary-base` - - `lp-color-text-field-base` - -- Updated dependencies [[`f95ac68d`](https://github.com/launchdarkly/launchpad-ui/commit/f95ac68d2ddae67ae99520dca76721f6e07525cc), [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409)]: - - @launchpad-ui/button@0.9.0 - - @launchpad-ui/icons@0.9.0 - - @launchpad-ui/tokens@0.6.0 - -## 0.3.53 - -### Patch Changes - -- Updated dependencies [[`068bf1cc`](https://github.com/launchdarkly/launchpad-ui/commit/068bf1cc5418a264c5be167cd5030b4f56bef03f)]: - - @launchpad-ui/tokens@0.5.8 - - @launchpad-ui/button@0.8.15 - - @launchpad-ui/icons@0.8.8 - -## 0.3.52 - -### Patch Changes - -- Updated dependencies [[`864b63c5`](https://github.com/launchdarkly/launchpad-ui/commit/864b63c5bdcdf0d52b322be6469b6edfedad4f31)]: - - @launchpad-ui/tokens@0.5.7 - - @launchpad-ui/button@0.8.14 - - @launchpad-ui/icons@0.8.7 - -## 0.3.51 - -### Patch Changes - -- [#868](https://github.com/launchdarkly/launchpad-ui/pull/868) [`8168b7a0`](https://github.com/launchdarkly/launchpad-ui/commit/8168b7a01eb59ec1a417604ba2414b1e7420733f) Thanks [@renovate](https://github.com/apps/renovate)! - [Drawer, Modal, Popover, Snackbar, Toast] Update `framer-motion` to v10 - -## 0.3.50 - -### Patch Changes - -- [#860](https://github.com/launchdarkly/launchpad-ui/pull/860) [`dad62d15`](https://github.com/launchdarkly/launchpad-ui/commit/dad62d152d04d4f82708774dce51a598608dcb94) Thanks [@Niznikr](https://github.com/Niznikr)! - Update dev dependencies - -## 0.3.49 - -### Patch Changes - -- [#851](https://github.com/launchdarkly/launchpad-ui/pull/851) [`be9448b1`](https://github.com/launchdarkly/launchpad-ui/commit/be9448b154e7ea5ff56a65448e83da2808bd1782) Thanks [@kwatkins-ld](https://github.com/kwatkins-ld)! - use ComponentProps type to simplify intrinsic element props - -- Updated dependencies [[`be9448b1`](https://github.com/launchdarkly/launchpad-ui/commit/be9448b154e7ea5ff56a65448e83da2808bd1782)]: - - @launchpad-ui/button@0.8.13 - -## 0.3.48 - -### Patch Changes - -- [#840](https://github.com/launchdarkly/launchpad-ui/pull/840) [`c351f47a`](https://github.com/launchdarkly/launchpad-ui/commit/c351f47a4b2228f56bfb9a279571f4fcb6301826) Thanks [@bjlagman12](https://github.com/bjlagman12)! - Change z-index to '400' - -## 0.3.47 - -### Patch Changes - -- Updated dependencies [[`2c8bf545`](https://github.com/launchdarkly/launchpad-ui/commit/2c8bf54535a7e7cdb7f1da23d00e7ede36bdffc8)]: - - @launchpad-ui/icons@0.8.6 - - @launchpad-ui/button@0.8.12 - -## 0.3.46 - -### Patch Changes - -- Updated dependencies [[`3b05f52e`](https://github.com/launchdarkly/launchpad-ui/commit/3b05f52eb689a71209e205dd01517ab41c285d40), [`ebf41fff`](https://github.com/launchdarkly/launchpad-ui/commit/ebf41fff2abc752874849572eaa6b62e7f876223)]: - - @launchpad-ui/button@0.8.11 - - @launchpad-ui/icons@0.8.5 - -## 0.3.45 - -### Patch Changes - -- [#806](https://github.com/launchdarkly/launchpad-ui/pull/806) [`3269e0b5`](https://github.com/launchdarkly/launchpad-ui/commit/3269e0b5cc32b19241e7f0fa8de72d0127c76859) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Icons]: Pass all attribute props directly to svg - [Snackbar]: Fix word-break issue in header -- Updated dependencies [[`72d37d74`](https://github.com/launchdarkly/launchpad-ui/commit/72d37d74c553e2a3c5cfe0f8bc77ee3a47222d80), [`3269e0b5`](https://github.com/launchdarkly/launchpad-ui/commit/3269e0b5cc32b19241e7f0fa8de72d0127c76859)]: - - @launchpad-ui/button@0.8.10 - - @launchpad-ui/tokens@0.5.6 - - @launchpad-ui/icons@0.8.4 - -## 0.3.44 - -### Patch Changes - -- Updated dependencies [[`7760fefe`](https://github.com/launchdarkly/launchpad-ui/commit/7760fefea91fddf17f15163ce05f555215dc4b90), [`6bd95d9f`](https://github.com/launchdarkly/launchpad-ui/commit/6bd95d9f8c3911c8d53d61f59b304881043c6fd9)]: - - @launchpad-ui/tokens@0.5.5 - - @launchpad-ui/icons@0.8.3 - - @launchpad-ui/button@0.8.9 - -## 0.3.43 - -### Patch Changes - -- Updated dependencies [[`8704746c`](https://github.com/launchdarkly/launchpad-ui/commit/8704746c5982a6d62ed741d74d99fa69165358d2)]: - - @launchpad-ui/button@0.8.8 - -## 0.3.42 - -### Patch Changes - -- Updated dependencies [[`a3477a6f`](https://github.com/launchdarkly/launchpad-ui/commit/a3477a6f8e93f8d83501c01e5dae1a9e07480c81), [`42c857c3`](https://github.com/launchdarkly/launchpad-ui/commit/42c857c3100b6fcab4bb7609482d34cce0ccfe79)]: - - @launchpad-ui/button@0.8.7 - - @launchpad-ui/icons@0.8.2 - -## 0.3.41 - -### Patch Changes - -- Updated dependencies [[`7887aaaa`](https://github.com/launchdarkly/launchpad-ui/commit/7887aaaaddeb58186fe5ac3c1a31b74953f6f837)]: - - @launchpad-ui/button@0.8.6 - -## 0.3.40 - -### Patch Changes - -- Updated dependencies [[`c120d56c`](https://github.com/launchdarkly/launchpad-ui/commit/c120d56c7b4045cefa5520954dc7683159768625)]: - - @launchpad-ui/tokens@0.5.4 - - @launchpad-ui/button@0.8.5 - - @launchpad-ui/icons@0.8.1 - -## 0.3.39 - -### Patch Changes - -- Updated dependencies [[`f07d8c7d`](https://github.com/launchdarkly/launchpad-ui/commit/f07d8c7df396ada9d30780d56e97470382a6b350), [`cd812ed3`](https://github.com/launchdarkly/launchpad-ui/commit/cd812ed305b8ecb660986830ed4842d59a150882), [`5d7c3eed`](https://github.com/launchdarkly/launchpad-ui/commit/5d7c3eed060658abcaa2dc13c6471e424405f54b)]: - - @launchpad-ui/icons@0.8.0 - - @launchpad-ui/button@0.8.4 - -## 0.3.38 - -### Patch Changes - -- Updated dependencies [[`d5bd5d0d`](https://github.com/launchdarkly/launchpad-ui/commit/d5bd5d0de1cedc2d341beced3ac8239167a85108), [`304c87bc`](https://github.com/launchdarkly/launchpad-ui/commit/304c87bcd9050fd64c1ce997bb96c6b6e3aa9701), [`817b4c9c`](https://github.com/launchdarkly/launchpad-ui/commit/817b4c9c8a998f257369b6a726b2fbdf8242e1c9)]: - - @launchpad-ui/tokens@0.5.3 - - @launchpad-ui/icons@0.7.5 - - @launchpad-ui/button@0.8.3 - -## 0.3.37 - -### Patch Changes - -- Updated dependencies [[`152aef91`](https://github.com/launchdarkly/launchpad-ui/commit/152aef9126c5291586b09b703795030f52a01bb1)]: - - @launchpad-ui/button@0.8.2 - - @launchpad-ui/tokens@0.5.2 - - @launchpad-ui/icons@0.7.4 - -## 0.3.36 - -### Patch Changes - -- Updated dependencies [[`909a0fde`](https://github.com/launchdarkly/launchpad-ui/commit/909a0fdebf57634d5c100626cb432c35eac1c661)]: - - @launchpad-ui/tokens@0.5.1 - - @launchpad-ui/button@0.8.1 - - @launchpad-ui/icons@0.7.3 - -## 0.3.35 - -### Patch Changes - -- [#726](https://github.com/launchdarkly/launchpad-ui/pull/726) [`74ddde60`](https://github.com/launchdarkly/launchpad-ui/commit/74ddde60d233fd489860f89aacb908e20f525674) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar] Change z-index to `700` - [Toast] Change z-index to `700` - [Tooltip] Change z-index to `800` - -## 0.3.34 - -### Patch Changes - -- Updated dependencies [[`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad)]: - - @launchpad-ui/button@0.8.0 - - @launchpad-ui/tokens@0.5.0 - - @launchpad-ui/icons@0.7.2 - -## 0.3.33 - -### Patch Changes - -- [#610](https://github.com/launchdarkly/launchpad-ui/pull/610) [`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10) Thanks [@renovate](https://github.com/apps/renovate)! - Update nonmajor versions across framework - -- Updated dependencies [[`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10)]: - - @launchpad-ui/button@0.7.32 - - @launchpad-ui/tokens@0.4.10 - - @launchpad-ui/icons@0.7.1 - -## 0.3.32 - -### Patch Changes - -- Updated dependencies [[`2b29f91e`](https://github.com/launchdarkly/launchpad-ui/commit/2b29f91e21002d352f18c2dbfd0ed807f0598da0)]: - - @launchpad-ui/icons@0.7.0 - - @launchpad-ui/button@0.7.31 - -## 0.3.31 - -### Patch Changes - -- Updated dependencies [[`d06d6a42`](https://github.com/launchdarkly/launchpad-ui/commit/d06d6a42824309be167d754c4642ab6b97375e1f)]: - - @launchpad-ui/icons@0.6.21 - - @launchpad-ui/button@0.7.30 - -## 0.3.30 - -### Patch Changes - -- Updated dependencies [[`3790e0d2`](https://github.com/launchdarkly/launchpad-ui/commit/3790e0d294726e6722d45a7aa66e5ce51194c464)]: - - @launchpad-ui/icons@0.6.20 - - @launchpad-ui/button@0.7.29 - -## 0.3.29 - -### Patch Changes - -- Updated dependencies [[`940f10d6`](https://github.com/launchdarkly/launchpad-ui/commit/940f10d62c81a7e10fb1bd2f9e2a5e757bcbeeaf)]: - - @launchpad-ui/button@0.7.28 - -## 0.3.28 - -### Patch Changes - -- [#692](https://github.com/launchdarkly/launchpad-ui/pull/692) [`f0505293`](https://github.com/launchdarkly/launchpad-ui/commit/f050529389a66fec35bcd8392839e80f875f2562) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update `framer-motion` to latest version. - - [Snackbar]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Popover]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Drawer]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Modal]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Toast]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - -## 0.3.27 - -### Patch Changes - -- Updated dependencies [[`990af4a5`](https://github.com/launchdarkly/launchpad-ui/commit/990af4a5c7490a322604272cf9edc16ce9427cf1)]: - - @launchpad-ui/icons@0.6.19 - - @launchpad-ui/button@0.7.27 - -## 0.3.26 - -### Patch Changes - -- [#666](https://github.com/launchdarkly/launchpad-ui/pull/666) [`20439f2d`](https://github.com/launchdarkly/launchpad-ui/commit/20439f2d0533bf574b613d16d5d31eb688cb629f) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Bump z-index values - - [Drawer] Increase z-index from 300 to 400 - [Modal] Increase z-index from 400 to 500 - [Popover] Increase z-index from 500 to 600 - [Snackbar] Increase z-index from 700 to 800 - [Toast] Increase z-index from 700 to 800 - [Tooltip] Increase z-index from 600 to 700 - -- Updated dependencies [[`808902f7`](https://github.com/launchdarkly/launchpad-ui/commit/808902f71c0b410adf86b0ee1683a2d36c4cdb22)]: - - @launchpad-ui/tokens@0.4.9 - - @launchpad-ui/button@0.7.26 - - @launchpad-ui/icons@0.6.18 - -## 0.3.25 - -### Patch Changes - -- Updated dependencies [[`f873c6f3`](https://github.com/launchdarkly/launchpad-ui/commit/f873c6f3af18b55e72883464e9698ea172021c8e)]: - - @launchpad-ui/icons@0.6.17 - - @launchpad-ui/button@0.7.25 - -## 0.3.24 - -### Patch Changes - -- Updated dependencies [[`cd1b58c5`](https://github.com/launchdarkly/launchpad-ui/commit/cd1b58c5c117d37b2939fe879606011c49b18ced)]: - - @launchpad-ui/icons@0.6.16 - - @launchpad-ui/button@0.7.24 - -## 0.3.23 - -### Patch Changes - -- Updated dependencies [[`f2ae1a80`](https://github.com/launchdarkly/launchpad-ui/commit/f2ae1a80d678a1a61dee407b8574e4c52f55299f)]: - - @launchpad-ui/tokens@0.4.8 - - @launchpad-ui/button@0.7.23 - - @launchpad-ui/icons@0.6.15 - -## 0.3.22 - -### Patch Changes - -- [#633](https://github.com/launchdarkly/launchpad-ui/pull/633) [`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update third party dependencies to pin versions to match consumer app - -- Updated dependencies [[`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15)]: - - @launchpad-ui/button@0.7.22 - - @launchpad-ui/icons@0.6.14 - -## 0.3.21 - -### Patch Changes - -- [#629](https://github.com/launchdarkly/launchpad-ui/pull/629) [`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update Vite build tool to 4.0 - -- Updated dependencies [[`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde), [`b744011d`](https://github.com/launchdarkly/launchpad-ui/commit/b744011dccd525faa534f8def5ee8af2e346268a), [`94fe4b9a`](https://github.com/launchdarkly/launchpad-ui/commit/94fe4b9ada726c190701555c0f5bdca3e8ec610d)]: - - @launchpad-ui/button@0.7.21 - - @launchpad-ui/icons@0.6.13 - - @launchpad-ui/tokens@0.4.7 - -## 0.3.20 - -### Patch Changes - -- Updated dependencies [[`9064d45c`](https://github.com/launchdarkly/launchpad-ui/commit/9064d45cf157f7ded1a11a100940bd144f410fd6)]: - - @launchpad-ui/button@0.7.20 - - @launchpad-ui/tokens@0.4.6 - - @launchpad-ui/icons@0.6.12 - -## 0.3.19 - -### Patch Changes - -- Updated dependencies [[`fd838a5f`](https://github.com/launchdarkly/launchpad-ui/commit/fd838a5f22015fca3d9f1b535e98b82c79405ea8)]: - - @launchpad-ui/button@0.7.19 - -## 0.3.18 - -### Patch Changes - -- Updated dependencies [[`c48e0b4f`](https://github.com/launchdarkly/launchpad-ui/commit/c48e0b4fff3e0792b453f9173459fd197871f3d0)]: - - @launchpad-ui/tokens@0.4.5 - - @launchpad-ui/button@0.7.18 - - @launchpad-ui/icons@0.6.11 - -## 0.3.17 - -### Patch Changes - -- Updated dependencies [[`57484ab9`](https://github.com/launchdarkly/launchpad-ui/commit/57484ab9998ef50a32ab51bb9c0286b7be84fdb2), [`4c2dc031`](https://github.com/launchdarkly/launchpad-ui/commit/4c2dc0315fe0742ad78b706552d7c7e8e87f8e0e)]: - - @launchpad-ui/tokens@0.4.4 - - @launchpad-ui/button@0.7.17 - - @launchpad-ui/icons@0.6.10 - -## 0.3.16 - -### Patch Changes - -- Updated dependencies [[`9b37d196`](https://github.com/launchdarkly/launchpad-ui/commit/9b37d196a691fd6a4ca0f989c4121b8683d8f7cb)]: - - @launchpad-ui/tokens@0.4.3 - - @launchpad-ui/button@0.7.16 - - @launchpad-ui/icons@0.6.9 - -## 0.3.15 - -### Patch Changes - -- Updated dependencies [[`c0840e07`](https://github.com/launchdarkly/launchpad-ui/commit/c0840e07ba5a4f3da47b792d27680bc2549169f5)]: - - @launchpad-ui/tokens@0.4.2 - - @launchpad-ui/button@0.7.15 - - @launchpad-ui/icons@0.6.8 - -## 0.3.14 - -### Patch Changes - -- [#598](https://github.com/launchdarkly/launchpad-ui/pull/598) [`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Drawer]: Update z-index - - [Modal]: Update z-index - - [Navigation]: Update primary bottom border color - - [Notification]: Update z-index - - [Popover]: Update z-index - - [Snackbar]: Update z-index - - [SplitButton]: Improve theming for button borders - - [Table]: Improve theming for table cell head - - [Toast]: Update z-index - - [Tooltip]: Update z-index - - [Tokens]: - - - Update `lp-color-bg-interactive-disabled` dark value - - Update `lp-color-bg-overlay-primary` dark value - - Update `lp-color-border-interactive-secondary` dark value - - Update `lp-color-border-interactive-disabled` dark value - - [ProgressBubbles]: Update dark mode styling - -- Updated dependencies [[`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad)]: - - @launchpad-ui/tokens@0.4.1 - - @launchpad-ui/button@0.7.14 - - @launchpad-ui/icons@0.6.7 - -## 0.3.13 - -### Patch Changes - -- Updated dependencies [[`71549774`](https://github.com/launchdarkly/launchpad-ui/commit/71549774aad5dcd0887379beba474e2371d320e6), [`9c9429e3`](https://github.com/launchdarkly/launchpad-ui/commit/9c9429e3707c9f229357875f9278755b3f3d7eda)]: - - @launchpad-ui/button@0.7.13 - - @launchpad-ui/tokens@0.4.0 - - @launchpad-ui/icons@0.6.6 - -## 0.3.12 - -### Patch Changes - -- Updated dependencies [[`6dc1470`](https://github.com/launchdarkly/launchpad-ui/commit/6dc1470e52b9f2f1b4dae8800fa8fd6d2bc74a46)]: - - @launchpad-ui/tokens@0.3.2 - - @launchpad-ui/button@0.7.12 - - @launchpad-ui/icons@0.6.5 - -## 0.3.11 - -### Patch Changes - -- Updated dependencies [[`da177e9`](https://github.com/launchdarkly/launchpad-ui/commit/da177e9c71e37f0ca4de21f5ab938f29f911ddf1)]: - - @launchpad-ui/icons@0.6.4 - - @launchpad-ui/button@0.7.11 - -## 0.3.10 - -### Patch Changes - -- Updated dependencies [[`3a11bcf`](https://github.com/launchdarkly/launchpad-ui/commit/3a11bcf9085da9058c716841bf5d6b03ef5459a9), [`d1526c2`](https://github.com/launchdarkly/launchpad-ui/commit/d1526c21a4d637ce67d13c65dd8d34c4797d44ec)]: - - @launchpad-ui/icons@0.6.3 - - @launchpad-ui/button@0.7.10 - -## 0.3.9 - -### Patch Changes - -- [#571](https://github.com/launchdarkly/launchpad-ui/pull/571) [`896ee74`](https://github.com/launchdarkly/launchpad-ui/commit/896ee748dbf0f9a78110650761d89204eaf57c32) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar]: Add `success` variant and trigger onDismiss when `cta` is clicked. - [Toast]: Style anchor elements properly when used in content. - -## 0.3.8 - -### Patch Changes - -- Updated dependencies [[`d80297f`](https://github.com/launchdarkly/launchpad-ui/commit/d80297fad893c9db566ed029e302702d5f245a98)]: - - @launchpad-ui/tokens@0.3.1 - - @launchpad-ui/button@0.7.9 - - @launchpad-ui/icons@0.6.2 - -## 0.3.7 - -### Patch Changes - -- Updated dependencies [[`baeacd7`](https://github.com/launchdarkly/launchpad-ui/commit/baeacd7b80d60f36f4962f090d87a0009f28b44e)]: - - @launchpad-ui/tokens@0.3.0 - - @launchpad-ui/button@0.7.8 - - @launchpad-ui/icons@0.6.1 - -## 0.3.6 - -### Patch Changes - -- Updated dependencies [[`50898e9`](https://github.com/launchdarkly/launchpad-ui/commit/50898e94d7166651118da8b57526f4e1eda917f6)]: - - @launchpad-ui/button@0.7.7 - -## 0.3.5 - -### Patch Changes - -- Updated dependencies [[`0deac4f`](https://github.com/launchdarkly/launchpad-ui/commit/0deac4f7cb58781e56d864f50b659f5c885339dc)]: - - @launchpad-ui/icons@0.6.0 - - @launchpad-ui/button@0.7.6 - -## 0.3.4 - -### Patch Changes - -- [#518](https://github.com/launchdarkly/launchpad-ui/pull/518) [`47d538b`](https://github.com/launchdarkly/launchpad-ui/commit/47d538b0060d253bd8d71bfc64e32d89599d8436) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar] Add word-break styles - -- Updated dependencies [[`4090f93`](https://github.com/launchdarkly/launchpad-ui/commit/4090f93ba98ea6f75a7f9f7b902fafcfb9b005b3)]: - - @launchpad-ui/tokens@0.2.0 - - @launchpad-ui/button@0.7.5 - - @launchpad-ui/icons@0.5.9 - -## 0.3.3 - -### Patch Changes - -- [#505](https://github.com/launchdarkly/launchpad-ui/pull/505) [`66dd7a6`](https://github.com/launchdarkly/launchpad-ui/commit/66dd7a6174c95a92ed4b49fe3398c1ba5b624731) Thanks [@Niznikr](https://github.com/Niznikr)! - [Alert, Banner, Clipboard, Snackbar, Toast] Remove base classes - -## 0.3.2 - -### Patch Changes - -- Updated dependencies [[`b7302a3`](https://github.com/launchdarkly/launchpad-ui/commit/b7302a3015591df0b24e19a4444029c21d0cf9de)]: - - @launchpad-ui/icons@0.5.8 - - @launchpad-ui/button@0.7.4 - -## 0.3.1 - -### Patch Changes - -- [#509](https://github.com/launchdarkly/launchpad-ui/pull/509) [`1e5796b`](https://github.com/launchdarkly/launchpad-ui/commit/1e5796b7b99a2704bba22623a518ff7e8776ebf8) Thanks [@Niznikr](https://github.com/Niznikr)! - Update dependencies - -## 0.3.0 - -### Minor Changes - -- [#498](https://github.com/launchdarkly/launchpad-ui/pull/498) [`5db16d2`](https://github.com/launchdarkly/launchpad-ui/commit/5db16d2850b91acf4541eff06a0fe8316c5624ce) Thanks [@yusinto](https://github.com/yusinto)! - [Snackbar]: Add support for individual snackbar onDismiss, and rename `SnackbarCenter` `onDismiss` prop to `dismissSnackbar` - -### Patch Changes - -- [#494](https://github.com/launchdarkly/launchpad-ui/pull/494) [`7fe5066`](https://github.com/launchdarkly/launchpad-ui/commit/7fe506619e2bba92ab79ad35718105d004ac41a2) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar] Set color on heading - -## 0.2.5 - -### Patch Changes - -- Updated dependencies [[`a91ee06`](https://github.com/launchdarkly/launchpad-ui/commit/a91ee069ebef5260d15e1dea1defd142f1b462de)]: - - @launchpad-ui/button@0.7.3 - -## 0.2.4 - -### Patch Changes - -- [#482](https://github.com/launchdarkly/launchpad-ui/pull/482) [`6c602af`](https://github.com/launchdarkly/launchpad-ui/commit/6c602afba6b7073314b0e5592c98a616aff586c1) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Icons]: Rebuild KindIcon and rename to StatusIcon - [Alert]: Use new StatusIcon and update CSS targets - [Banner]: Use new StatusIcon and update CSS targets - [Notification]: Use new StatusIcon and update CSS targets - [Snackbar]: Use new StatusIcon and update CSS targets - [Toast]: Use new StatusIcon and update CSS targets -- Updated dependencies [[`6c602af`](https://github.com/launchdarkly/launchpad-ui/commit/6c602afba6b7073314b0e5592c98a616aff586c1)]: - - @launchpad-ui/icons@0.5.7 - -## 0.2.3 - -### Patch Changes - -- Updated dependencies [[`f67056a`](https://github.com/launchdarkly/launchpad-ui/commit/f67056ae6df4c2647833d7fe3f742af8e686824f)]: - - @launchpad-ui/icons@0.5.6 - -## 0.2.2 - -### Patch Changes - -- [#479](https://github.com/launchdarkly/launchpad-ui/pull/479) [`3f96b8b`](https://github.com/launchdarkly/launchpad-ui/commit/3f96b8bc6f40434ffb4c0c88cc95c1c42c2d9a20) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar] style anchor tag hover - -## 0.2.1 - -### Patch Changes - -- [#464](https://github.com/launchdarkly/launchpad-ui/pull/464) [`6a31161`](https://github.com/launchdarkly/launchpad-ui/commit/6a31161a12e7980c95a31b55632f3f3d8c6bca59) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Convert slot string props to react nodes - - [Alert] Convert header prop to ReactNode - [Banner] Convert header prop to ReactNode - [Snackbar] Convert header & description props to ReactNodes - -## 0.2.0 - -### Minor Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Add snackbar package: - - Snackbars provide brief messages about app processes with a CTA. They compose of a header, description, and cta. Variants include error, info, and warning. Use these in place of notifications. - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Replace enums with string union types - -* [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar, Toast]: Export record types - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Add toast package, refactor Snackbar to match - - [Toast]: A toast contains a concise message that indicates the completion of a task that requires no user interactions. - [Snackbar]: Improve SnackbarRecord type and randomize status. - -* [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar, Toast] Update framer-motion - -* [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar] update to use css modules - -* Updated dependencies [[`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa), [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa)]: - - @launchpad-ui/icons@0.5.5 - - @launchpad-ui/button@0.7.2 - -## 0.1.0-alpha.10 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`ba1abe9`](https://github.com/launchdarkly/launchpad-ui/commit/ba1abe951c8e88a543654dada0030fdfa66627d9) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`ba1abe9`](https://github.com/launchdarkly/launchpad-ui/commit/ba1abe951c8e88a543654dada0030fdfa66627d9)]: - - @launchpad-ui/icons@0.5.4-alpha.2 - -## 0.1.0-alpha.9 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`982ef8c`](https://github.com/launchdarkly/launchpad-ui/commit/982ef8c3812412f36ea98f67659b7477dc467d46) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`982ef8c`](https://github.com/launchdarkly/launchpad-ui/commit/982ef8c3812412f36ea98f67659b7477dc467d46)]: - - @launchpad-ui/icons@0.5.4-alpha.1 - -## 0.1.0-alpha.8 - -### Patch Changes - -- [#435](https://github.com/launchdarkly/launchpad-ui/pull/435) [`5f22faf`](https://github.com/launchdarkly/launchpad-ui/commit/5f22faf9cf80ae006263f44ed3f04c96798f0315) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -- Updated dependencies [[`5f22faf`](https://github.com/launchdarkly/launchpad-ui/commit/5f22faf9cf80ae006263f44ed3f04c96798f0315)]: - - @launchpad-ui/icons@0.5.3-alpha.2 - -## 0.1.0-alpha.7 - -### Patch Changes - -- [#433](https://github.com/launchdarkly/launchpad-ui/pull/433) [`6c86f21`](https://github.com/launchdarkly/launchpad-ui/commit/6c86f21be659a87861773054eaaa19f4701a3b38) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar, Toast] Update framer-motion - -## 0.1.0-alpha.6 - -### Patch Changes - -- [#429](https://github.com/launchdarkly/launchpad-ui/pull/429) [`97eb67b`](https://github.com/launchdarkly/launchpad-ui/commit/97eb67bf95e40709084949c03248dc5673849873) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -- Updated dependencies [[`97eb67b`](https://github.com/launchdarkly/launchpad-ui/commit/97eb67bf95e40709084949c03248dc5673849873)]: - - @launchpad-ui/button@0.7.2-alpha.0 - - @launchpad-ui/icons@0.5.3-alpha.1 - -## 0.1.0-alpha.5 - -### Patch Changes - -- [`aa173ae`](https://github.com/launchdarkly/launchpad-ui/commit/aa173ae6d5ede85011f7a47a0870de2e7dc527f6) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`aa173ae`](https://github.com/launchdarkly/launchpad-ui/commit/aa173ae6d5ede85011f7a47a0870de2e7dc527f6)]: - - @launchpad-ui/icons@0.5.3-alpha.0 - -## 0.1.0-alpha.4 - -### Patch Changes - -- [`9a09f9c`](https://github.com/launchdarkly/launchpad-ui/commit/9a09f9ca4bc3701eb9916150f41165bf8f611b3d) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -## 0.1.0-alpha.3 - -### Patch Changes - -- [`7732143`](https://github.com/launchdarkly/launchpad-ui/commit/7732143080ff13af60c4ac01342a3432996b6485) Thanks [@Niznikr](https://github.com/Niznikr)! - Replace enums with string union types - -## 0.1.0-alpha.2 - -### Patch Changes - -- [#378](https://github.com/launchdarkly/launchpad-ui/pull/378) [`e4b6408`](https://github.com/launchdarkly/launchpad-ui/commit/e4b6408ff671c42a437f0cb21bafe84e9cfb14ac) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -## 0.1.0-alpha.1 - -### Patch Changes - -- [#374](https://github.com/launchdarkly/launchpad-ui/pull/374) [`79ce3aa`](https://github.com/launchdarkly/launchpad-ui/commit/79ce3aa6243a2595f8daad11919fbf67f64d18fe) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar, Toast]: Export record types - -## 0.1.0-alpha.0 - -### Minor Changes - -- [#316](https://github.com/launchdarkly/launchpad-ui/pull/316) [`3696fd1`](https://github.com/launchdarkly/launchpad-ui/commit/3696fd141e2b3000c8d9e02398169c4c930da562) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add snackbar package: - - Snackbars provide brief messages about app processes with a CTA. They compose of a header, description, and cta. Variants include error, info, and warning. Use these in place of notifications. - -### Patch Changes - -- [#316](https://github.com/launchdarkly/launchpad-ui/pull/316) [`6c4aaf9`](https://github.com/launchdarkly/launchpad-ui/commit/6c4aaf9164fc8ad08e0964269b07c20bd70c134b) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add toast package, refactor Snackbar to match - - [Toast]: A toast contains a concise message that indicates the completion of a task that requires no user interactions. - [Snackbar]: Improve SnackbarRecord type and randomize status. - -* [#316](https://github.com/launchdarkly/launchpad-ui/pull/316) [`63c9722`](https://github.com/launchdarkly/launchpad-ui/commit/63c97220dc1d3f32b547e37f6672b019c5de96c5) Thanks [@github-actions](https://github.com/apps/github-actions)! - [Snackbar] update to use css modules - -* Updated dependencies [[`e860080`](https://github.com/launchdarkly/launchpad-ui/commit/e86008076dc61cfcfc4c22317021e793d4fd59a9)]: - - @launchpad-ui/icons@0.4.1-alpha.0 diff --git a/packages/snackbar/README.md b/packages/snackbar/README.md deleted file mode 100644 index 3a579ac35..000000000 --- a/packages/snackbar/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# @launchpad-ui/snackbar - -> An element that provides brief messages about app processes with a CTA. - -[![See it on NPM!](https://img.shields.io/npm/v/@launchpad-ui/snackbar?style=for-the-badge)](https://www.npmjs.com/package/@launchpad-ui/snackbar) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@launchpad-ui/snackbar?style=for-the-badge)](https://bundlephobia.com/result?p=@launchpad-ui/snackbar) - -## Installation - -```sh -$ yarn add @launchpad-ui/snackbar -# or -$ npm install @launchpad-ui/snackbar -``` diff --git a/packages/snackbar/__tests__/Snackbar.spec.tsx b/packages/snackbar/__tests__/Snackbar.spec.tsx deleted file mode 100644 index 25106c781..000000000 --- a/packages/snackbar/__tests__/Snackbar.spec.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import type { SnackbarProps } from '../src'; - -import { describe, expect, it, vi } from 'vitest'; - -import { render, screen, userEvent, waitFor } from '../../../test/utils'; -import { Snackbar } from '../src'; - -const props: SnackbarProps = { - kind: 'info', - description: 'This is a message', - header: 'Snackbar header', - onDismiss: () => undefined, -}; - -describe('Snackbar', () => { - it('renders', () => { - render(); - expect(screen.getByRole('status')).toBeVisible(); - }); - - it('dismisses when close button is clicked', async () => { - const spy = vi.fn(); - const user = userEvent.setup(); - render(); - - await user.click(screen.getByTestId('snackbar-dismiss')); - - await waitFor(() => { - expect(spy).toHaveBeenCalledTimes(1); - }); - }); - - it('dismisses when cta is clicked', async () => { - const spy = vi.fn(); - const user = userEvent.setup(); - render(Click me} onDismiss={spy} />); - - await user.click(screen.getByRole('link')); - - await waitFor(() => { - expect(spy).toHaveBeenCalledTimes(1); - }); - }); -}); diff --git a/packages/snackbar/__tests__/SnackbarCenter.spec.tsx b/packages/snackbar/__tests__/SnackbarCenter.spec.tsx deleted file mode 100644 index 1a2155efa..000000000 --- a/packages/snackbar/__tests__/SnackbarCenter.spec.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import type { SnackbarRecord } from '../src'; - -import { describe, expect, it, vi } from 'vitest'; - -import { render, screen, userEvent, waitFor } from '../../../test/utils'; -import { SnackbarCenter } from '../src'; - -const snackbars: SnackbarRecord[] = [ - { - _id: '1', - kind: 'info', - description: 'A snackbar.', - }, - { - _id: '2', - kind: 'info', - description: 'A snackbar.', - }, -]; - -describe('SnackbarCenter', () => { - it('renders', () => { - render( undefined} />); - const items = screen.getAllByRole('status'); - expect(items).toHaveLength(2); - }); - - it('fires Snackbar onDimiss', async () => { - const spy = vi.fn(); - const user = userEvent.setup(); - snackbars[0].onDismiss = spy; - render( undefined} />); - - await user.click(screen.getAllByTestId('snackbar-dismiss')[0]); - - await waitFor(() => { - expect(spy).toHaveBeenCalledOnce(); - }); - }); -}); diff --git a/packages/snackbar/package.json b/packages/snackbar/package.json deleted file mode 100644 index 8539ecee1..000000000 --- a/packages/snackbar/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@launchpad-ui/snackbar", - "version": "0.5.32", - "status": "alpha", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/launchdarkly/launchpad-ui" - }, - "description": "An element that provides brief messages about app processes with a CTA.", - "license": "Apache-2.0", - "files": ["dist"], - "main": "dist/index.js", - "module": "dist/index.es.js", - "types": "dist/index.d.ts", - "sideEffects": ["**/*.css"], - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.es.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json", - "./style.css": "./dist/style.css" - }, - "source": "src/index.ts", - "scripts": { - "build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", - "clean": "rm -rf dist", - "test": "vitest run --coverage" - }, - "dependencies": { - "@launchpad-ui/button": "workspace:~", - "@launchpad-ui/icons": "workspace:~", - "@launchpad-ui/tokens": "workspace:~", - "classix": "2.2.0", - "framer-motion": "11.9.0" - }, - "peerDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - } -} diff --git a/packages/snackbar/src/Snackbar.tsx b/packages/snackbar/src/Snackbar.tsx deleted file mode 100644 index ae7238646..000000000 --- a/packages/snackbar/src/Snackbar.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import type { ComponentProps, ReactElement, ReactNode } from 'react'; - -import { IconButton } from '@launchpad-ui/button'; -import { Icon, StatusIcon } from '@launchpad-ui/icons'; -import { cx } from 'classix'; -import { cloneElement } from 'react'; - -import styles from './styles/Snackbar.module.css'; - -type SnackbarBaseProps = { - kind: 'info' | 'error' | 'warning' | 'success'; - header?: ReactNode; - description: ReactNode; - cta?: ReactElement>; - onDismiss?: () => void; - 'data-test-id'?: string; -}; - -type SnackbarProps = Omit, 'children'> & SnackbarBaseProps; - -/** - * @deprecated use `SnackbarQueue` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-status-toast--docs - */ -const Snackbar = ({ - className, - kind, - header, - description, - cta, - onDismiss, - 'data-test-id': testId = 'snackbar', - ...rest -}: SnackbarProps) => { - const CTA = - cta && - cloneElement(cta, { - onClick: onDismiss, - }); - - return ( -
- -
- {header &&

{header}

} - {description} {CTA} -
- } - size="small" - aria-label="Dismiss" - kind="close" - className={styles['Snackbar-close']} - data-test-id="snackbar-dismiss" - onClick={onDismiss} - /> -
- ); -}; - -export { Snackbar }; -export type { SnackbarBaseProps, SnackbarProps }; diff --git a/packages/snackbar/src/SnackbarCenter.tsx b/packages/snackbar/src/SnackbarCenter.tsx deleted file mode 100644 index c95192d2f..000000000 --- a/packages/snackbar/src/SnackbarCenter.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import type { SnackbarBaseProps } from './Snackbar'; - -import { cx } from 'classix'; -import { AnimatePresence, LazyMotion, m } from 'framer-motion'; - -import { Snackbar } from './Snackbar'; -import styles from './styles/SnackbarCenter.module.css'; - -const loadFeatures = () => - import( - /* webpackChunkName: "lp-snackbar-framer-features" */ - /* webpackExports: "domAnimation" */ - 'framer-motion' - ).then((res) => res.domAnimation); - -type SnackbarRecord = SnackbarBaseProps & { - _id: string; -}; - -type SnackbarCenterProps = { - className?: string; - snackbars: SnackbarRecord[]; - dismissSnackbar(snackbarId: string): void; -}; - -/** - * @deprecated use `SnackbarContainer` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-status-toast--docs - */ -const SnackbarCenter = ({ snackbars, dismissSnackbar, className }: SnackbarCenterProps) => { - const classes = cx(styles.SnackbarCenter, className); - - const handleDismiss = (item: SnackbarRecord) => { - item.onDismiss?.(); - dismissSnackbar(item._id); - }; - - return ( - -
- - {snackbars.map((item) => ( - - handleDismiss(item)} - /> - - ))} - -
-
- ); -}; - -export { SnackbarCenter }; -export type { SnackbarCenterProps, SnackbarRecord }; diff --git a/packages/snackbar/src/index.ts b/packages/snackbar/src/index.ts deleted file mode 100644 index add7a4714..000000000 --- a/packages/snackbar/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export type { SnackbarProps } from './Snackbar'; -export type { SnackbarCenterProps, SnackbarRecord } from './SnackbarCenter'; -export { Snackbar } from './Snackbar'; -export { SnackbarCenter } from './SnackbarCenter'; diff --git a/packages/snackbar/src/styles/Snackbar.module.css b/packages/snackbar/src/styles/Snackbar.module.css deleted file mode 100644 index 33d163783..000000000 --- a/packages/snackbar/src/styles/Snackbar.module.css +++ /dev/null @@ -1,65 +0,0 @@ -.Snackbar { - background-color: var(--lp-color-bg-feedback-primary); - color: var(--lp-color-white-950); - padding: var(--lp-spacing-500); - display: inline-flex; - gap: 0.875rem; - box-sizing: border-box; - width: 23.5rem; - border-radius: 2px; - word-break: break-word; -} - -.Snackbar .Snackbar-icon { - transform: translateY(2px); - top: auto; -} - -.Snackbar--error .Snackbar-icon { - fill: var(--lp-color-pink-500); -} - -.Snackbar--info .Snackbar-icon { - fill: var(--lp-color-cyan-400); -} - -.Snackbar--warning .Snackbar-icon { - fill: var(--lp-color-yellow-500); -} - -.Snackbar--success .Snackbar-icon { - fill: var(--lp-color-system-green-500); -} - -.Snackbar-heading { - margin-top: 0; - margin-bottom: var(--lp-spacing-200); - font-size: 1rem; - font-weight: var(--lp-font-weight-medium); - line-height: 1.5; - color: var(--lp-color-white-950); -} - -.Snackbar-content { - flex-grow: 1; - - & .Snackbar-description, - & a { - font-size: var(--lp-font-size-200); - font-weight: var(--lp-font-weight-regular); - line-height: 1.5; - } - - & a, - & a:hover { - color: var(--lp-color-cyan-400); - } - - & .Snackbar-description { - word-break: break-word; - } -} - -.Snackbar-close:global([class*='_Button']):global([class*='_Button--close']) svg { - fill: var(--lp-color-gray-400); -} diff --git a/packages/snackbar/src/styles/SnackbarCenter.module.css b/packages/snackbar/src/styles/SnackbarCenter.module.css deleted file mode 100644 index b06fe3c38..000000000 --- a/packages/snackbar/src/styles/SnackbarCenter.module.css +++ /dev/null @@ -1,9 +0,0 @@ -.SnackbarCenter { - position: fixed; - inset: 1.25rem 1.25rem auto auto; - z-index: var(--lp-z-index-400); -} - -.SnackbarCenter-item:not(:first-child) { - margin-top: 1.25rem; -} diff --git a/packages/snackbar/stories/Snackbar.stories.tsx b/packages/snackbar/stories/Snackbar.stories.tsx deleted file mode 100644 index 9622d4cf3..000000000 --- a/packages/snackbar/stories/Snackbar.stories.tsx +++ /dev/null @@ -1,79 +0,0 @@ -import type { StoryObj } from '@storybook/react'; - -import { Snackbar } from '../src'; - -export default { - component: Snackbar, - title: 'Legacy/Deprecated/Snackbar', - description: 'An element that provides brief messages about app processes with a CTA.', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__SNACKBAR, - }, - chromatic: { disableSnapshot: true }, - }, -}; - -type Story = StoryObj; - -// biome-ignore lint/suspicious/noShadowRestrictedNames: -export const Error: Story = { - args: { - kind: 'error', - description: 'This is a message.', - cta: ( - - Link - - ), - }, -}; - -export const Info: Story = { - args: { - kind: 'info', - description: 'This is a message.', - cta: ( - - Link - - ), - }, -}; - -export const Warning: Story = { - args: { - kind: 'warning', - description: 'This is a message.', - cta: ( - - Link - - ), - }, -}; - -export const Success: Story = { - args: { - kind: 'success', - description: 'This is a message.', - cta: ( - - Link - - ), - }, -}; - -export const WithHeader: Story = { - args: { - kind: 'info', - header: 'Snackbar header', - description: 'This is a message.', - cta: ( - - Link - - ), - }, -}; diff --git a/packages/snackbar/stories/SnackbarCenter.stories.tsx b/packages/snackbar/stories/SnackbarCenter.stories.tsx deleted file mode 100644 index 3b90d6911..000000000 --- a/packages/snackbar/stories/SnackbarCenter.stories.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import type { StoryObj } from '@storybook/react'; -import type { SnackbarProps, SnackbarRecord } from '../src'; - -import { Button } from '@launchpad-ui/button'; -import { userEvent, within } from '@storybook/test'; -import { useId, useState } from 'react'; - -import { SnackbarCenter } from '../src'; - -export default { - component: SnackbarCenter, - title: 'Legacy/Deprecated/Snackbar/SnackbarCenter', - description: 'A container for snackbars.', - parameters: { - chromatic: { disableSnapshot: true }, - }, -}; - -type Story = StoryObj; - -const kinds = ['info', 'error', 'warning']; -let kindIndex = 0; -const loopIndices = (i: number) => (kindIndex === kinds.length - 1 ? 0 : i + 1); - -const makeSnackbar = (id: string) => { - const kind = kinds[kindIndex] as SnackbarProps['kind']; - kindIndex = loopIndices(kindIndex); - - return { - _id: id, - kind, - description: 'This is a message.', - cta: ( - - Link - - ), - }; -}; - -export const Default: Story = { - render: () => { - const [items, setItems] = useState([]); - const [counter, setCounter] = useState(0); - const snackId = useId(); - - const removeItem = (id: string) => { - setItems((updatingItems) => updatingItems.filter(({ _id }) => _id !== id)); - }; - - const addItem = () => { - setItems((updatingItems) => [...updatingItems, makeSnackbar(`${snackId}-${counter}`)]); - setCounter(counter + 1); - }; - - return ( - <> - - - - ); - }, - play: async ({ canvasElement }: { canvasElement: HTMLElement }) => { - const canvas = within(canvasElement); - await userEvent.click(canvas.getAllByRole('button')[0]); - }, -}; diff --git a/packages/snackbar/tsconfig.build.json b/packages/snackbar/tsconfig.build.json deleted file mode 100644 index 61d6d8a43..000000000 --- a/packages/snackbar/tsconfig.build.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": ["src/*.ts", "src/*.tsx"], - "compilerOptions": { - "outDir": "./dist", - "skipLibCheck": true - } -} diff --git a/packages/toast/CHANGELOG.md b/packages/toast/CHANGELOG.md deleted file mode 100644 index 539bf0fea..000000000 --- a/packages/toast/CHANGELOG.md +++ /dev/null @@ -1,1102 +0,0 @@ -# @launchpad-ui/toast - -## 0.3.46 - -### Patch Changes - -- Updated dependencies [[`47f4952`](https://github.com/launchdarkly/launchpad-ui/commit/47f4952825645633161075899738b869bb343066)]: - - @launchpad-ui/icons@0.19.3 - -## 0.3.45 - -### Patch Changes - -- Updated dependencies []: - - @launchpad-ui/icons@0.19.2 - -## 0.3.44 - -### Patch Changes - -- Updated dependencies [[`f537aef`](https://github.com/launchdarkly/launchpad-ui/commit/f537aef5280ee098346c89039fe84fb2ea8542ba)]: - - @launchpad-ui/icons@0.19.1 - -## 0.3.43 - -### Patch Changes - -- [#1414](https://github.com/launchdarkly/launchpad-ui/pull/1414) [`17cdcbd`](https://github.com/launchdarkly/launchpad-ui/commit/17cdcbd38a732e9356c3792c4dc07427e9354fd7) Thanks [@Niznikr](https://github.com/Niznikr)! - Update legacy styles with icons - -## 0.3.42 - -### Patch Changes - -- Updated dependencies [[`6341b25`](https://github.com/launchdarkly/launchpad-ui/commit/6341b256039fabceb3d720b9ec63b29b3a600632), [`05feada`](https://github.com/launchdarkly/launchpad-ui/commit/05feada3d4f4e6c03d124b1f4443e790d7b35274)]: - - @launchpad-ui/icons@0.19.0 - -## 0.3.41 - -### Patch Changes - -- Updated dependencies [[`6f6619f`](https://github.com/launchdarkly/launchpad-ui/commit/6f6619f7b99541904512993652ba9b0918272f9b)]: - - @launchpad-ui/tokens@0.11.4 - - @launchpad-ui/icons@0.18.14 - -## 0.3.40 - -### Patch Changes - -- Updated dependencies [[`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f)]: - - @launchpad-ui/tokens@0.11.3 - - @launchpad-ui/icons@0.18.13 - -## 0.3.39 - -### Patch Changes - -- Updated dependencies [[`cffa2f9`](https://github.com/launchdarkly/launchpad-ui/commit/cffa2f9055bb8f33b1db0ef1db01ac65d2498a73)]: - - @launchpad-ui/icons@0.18.12 - -## 0.3.38 - -### Patch Changes - -- Updated dependencies [[`af43516`](https://github.com/launchdarkly/launchpad-ui/commit/af435166439a8b4860fda2dea78e78fc477ed088)]: - - @launchpad-ui/tokens@0.11.2 - - @launchpad-ui/icons@0.18.11 - -## 0.3.37 - -### Patch Changes - -- Updated dependencies [[`0d981ef`](https://github.com/launchdarkly/launchpad-ui/commit/0d981efb7e1ca252b51194a47ea8d5c652656462)]: - - @launchpad-ui/icons@0.18.10 - -## 0.3.36 - -### Patch Changes - -- Updated dependencies [[`3265579`](https://github.com/launchdarkly/launchpad-ui/commit/326557944061dbd1c7f74daf00454b902b91cb2d)]: - - @launchpad-ui/tokens@0.11.1 - - @launchpad-ui/icons@0.18.9 - -## 0.3.35 - -### Patch Changes - -- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]: - - @launchpad-ui/icons@0.18.8 - -## 0.3.34 - -### Patch Changes - -- Updated dependencies [[`8c68adb`](https://github.com/launchdarkly/launchpad-ui/commit/8c68adbfeeda476c7e75f517cb9ca76d15695438)]: - - @launchpad-ui/tokens@0.11.0 - - @launchpad-ui/icons@0.18.7 - -## 0.3.33 - -### Patch Changes - -- Updated dependencies [[`388d562`](https://github.com/launchdarkly/launchpad-ui/commit/388d5627583100d04713e76e57b765b9668314d1), [`6ab5b77`](https://github.com/launchdarkly/launchpad-ui/commit/6ab5b776c4dff94ad5be9a6fbf474126ae41c31c)]: - - @launchpad-ui/icons@0.18.6 - - @launchpad-ui/tokens@0.10.0 - -## 0.3.32 - -### Patch Changes - -- Updated dependencies [[`3c7a71e`](https://github.com/launchdarkly/launchpad-ui/commit/3c7a71e4fd7ba473d07e47a11c3f91f474900e50)]: - - @launchpad-ui/icons@0.18.5 - -## 0.3.31 - -### Patch Changes - -- Updated dependencies [[`545560f`](https://github.com/launchdarkly/launchpad-ui/commit/545560fff3fdbfdabfa208e5662c21ae41a76322)]: - - @launchpad-ui/tokens@0.9.12 - - @launchpad-ui/icons@0.18.4 - -## 0.3.30 - -### Patch Changes - -- Updated dependencies [[`b74c95b`](https://github.com/launchdarkly/launchpad-ui/commit/b74c95ba1fab1d8364777954574ff4cc8fcee3f7)]: - - @launchpad-ui/icons@0.18.3 - -## 0.3.29 - -### Patch Changes - -- Updated dependencies [[`b255f1d`](https://github.com/launchdarkly/launchpad-ui/commit/b255f1dddf14c437585383cea5114ca93b949966)]: - - @launchpad-ui/icons@0.18.2 - -## 0.3.28 - -### Patch Changes - -- [#1324](https://github.com/launchdarkly/launchpad-ui/pull/1324) [`a5092d1`](https://github.com/launchdarkly/launchpad-ui/commit/a5092d102a14e0ada5cd4a161d13570f293bf9c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Deprecate packages - -## 0.3.27 - -### Patch Changes - -- Updated dependencies [[`bf904e8`](https://github.com/launchdarkly/launchpad-ui/commit/bf904e8ee2c27ee73d813f539cc5dfdf682e92fc), [`c0d7223`](https://github.com/launchdarkly/launchpad-ui/commit/c0d72237a9c327abab1a186c6c452b33fa196799)]: - - @launchpad-ui/tokens@0.9.11 - - @launchpad-ui/icons@0.18.1 - -## 0.3.26 - -### Patch Changes - -- Updated dependencies [[`69375b2`](https://github.com/launchdarkly/launchpad-ui/commit/69375b274a96ce25ec7103cd88d03dd6d4fbf111), [`b2e8731`](https://github.com/launchdarkly/launchpad-ui/commit/b2e873183a438e8482d79ca28c37f0db159f41c2)]: - - @launchpad-ui/icons@0.18.0 - -## 0.3.25 - -### Patch Changes - -- Updated dependencies [[`774f300`](https://github.com/launchdarkly/launchpad-ui/commit/774f300fecd68e94d576eb9445a529ba9448fa04), [`877de79`](https://github.com/launchdarkly/launchpad-ui/commit/877de794d4347e088feb5be86cb8de0a299491b1)]: - - @launchpad-ui/icons@0.17.5 - -## 0.3.24 - -### Patch Changes - -- Updated dependencies [[`554b1ce`](https://github.com/launchdarkly/launchpad-ui/commit/554b1ce907b7ef914bae64eb3e3bde5bac9d3842)]: - - @launchpad-ui/icons@0.17.4 - -## 0.3.23 - -### Patch Changes - -- Updated dependencies [[`a923187`](https://github.com/launchdarkly/launchpad-ui/commit/a923187f7a679965f529ffe8598768adc3d78ce1)]: - - @launchpad-ui/icons@0.17.3 - -## 0.3.22 - -### Patch Changes - -- Updated dependencies [[`2002ab4`](https://github.com/launchdarkly/launchpad-ui/commit/2002ab411b61085099ded54cd94fbfc1d1b039d4)]: - - @launchpad-ui/tokens@0.9.10 - - @launchpad-ui/icons@0.17.2 - -## 0.3.21 - -### Patch Changes - -- Updated dependencies [[`3ba2c5f`](https://github.com/launchdarkly/launchpad-ui/commit/3ba2c5f23e3d7ec1c8443f8e6afb4f1dab61d77f)]: - - @launchpad-ui/icons@0.17.1 - -## 0.3.20 - -### Patch Changes - -- [#1241](https://github.com/launchdarkly/launchpad-ui/pull/1241) [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Add repository and license fields to package.json - -- Updated dependencies [[`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0), [`6f00788`](https://github.com/launchdarkly/launchpad-ui/commit/6f00788e9b043aeb3fa6d00de1fa29d5962684ad)]: - - @launchpad-ui/tokens@0.9.9 - - @launchpad-ui/icons@0.17.0 - -## 0.3.19 - -### Patch Changes - -- Updated dependencies [[`4d77457`](https://github.com/launchdarkly/launchpad-ui/commit/4d7745766ba9f40eafb6800504a915ef99bf815a)]: - - @launchpad-ui/icons@0.16.6 - -## 0.3.18 - -### Patch Changes - -- Updated dependencies [[`fdc91bb`](https://github.com/launchdarkly/launchpad-ui/commit/fdc91bb7630b1a84279ee7b6013d694fafb9fd39)]: - - @launchpad-ui/tokens@0.9.8 - - @launchpad-ui/icons@0.16.5 - -## 0.3.17 - -### Patch Changes - -- Updated dependencies [[`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc), [`369664c`](https://github.com/launchdarkly/launchpad-ui/commit/369664c3c21f93e844f0d3ae9a4ef80ad2d03bfb)]: - - @launchpad-ui/tokens@0.9.7 - - @launchpad-ui/icons@0.16.4 - -## 0.3.16 - -### Patch Changes - -- Updated dependencies [[`31b5c98`](https://github.com/launchdarkly/launchpad-ui/commit/31b5c98c49768e62f6474c8696b40e9cb52ea25d)]: - - @launchpad-ui/tokens@0.9.6 - - @launchpad-ui/icons@0.16.3 - -## 0.3.15 - -### Patch Changes - -- Updated dependencies [[`2041cd5`](https://github.com/launchdarkly/launchpad-ui/commit/2041cd53385561cc3e02474f5d2c767f79603b58), [`fb6080e`](https://github.com/launchdarkly/launchpad-ui/commit/fb6080e2081d66b3b9fafb4e5bc7f57a74889358)]: - - @launchpad-ui/tokens@0.9.5 - - @launchpad-ui/icons@0.16.2 - -## 0.3.14 - -### Patch Changes - -- [#1156](https://github.com/launchdarkly/launchpad-ui/pull/1156) [`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e) Thanks [@Niznikr](https://github.com/Niznikr)! - Change class pattern to `[hash]_[local]` - -- Updated dependencies [[`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e)]: - - @launchpad-ui/icons@0.16.1 - -## 0.3.13 - -### Patch Changes - -- Updated dependencies [[`36d8a2d`](https://github.com/launchdarkly/launchpad-ui/commit/36d8a2d52706213197a02387475338733ccc37f5)]: - - @launchpad-ui/icons@0.16.0 - -## 0.3.12 - -### Patch Changes - -- Updated dependencies [[`8fed876`](https://github.com/launchdarkly/launchpad-ui/commit/8fed8760bb3242eda79a38a66582d85f8bf506ed), [`a26559f`](https://github.com/launchdarkly/launchpad-ui/commit/a26559f3d858ef651cd9a5672fc4f1baedb88e63)]: - - @launchpad-ui/tokens@0.9.4 - - @launchpad-ui/icons@0.15.1 - -## 0.3.11 - -### Patch Changes - -- [#1134](https://github.com/launchdarkly/launchpad-ui/pull/1134) [`8be21f6`](https://github.com/launchdarkly/launchpad-ui/commit/8be21f6a9a518f980e11d54e59325b32c7876910) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`4636c17`](https://github.com/launchdarkly/launchpad-ui/commit/4636c17a17c28b741687fd81fe9ec869d4be91a5), [`4c18b26`](https://github.com/launchdarkly/launchpad-ui/commit/4c18b261496392f3331ba0c2d3aafc04d54691c3)]: - - @launchpad-ui/icons@0.15.0 - -## 0.3.10 - -### Patch Changes - -- Updated dependencies [[`91cfeaf`](https://github.com/launchdarkly/launchpad-ui/commit/91cfeafde3848c6a5e86536f747e38362ca523c1), [`afa8fdc`](https://github.com/launchdarkly/launchpad-ui/commit/afa8fdc38ed89b885e2446a2065029b9cbd9cb4e)]: - - @launchpad-ui/tokens@0.9.3 - - @launchpad-ui/icons@0.14.10 - -## 0.3.9 - -### Patch Changes - -- Updated dependencies [[`b1b889c`](https://github.com/launchdarkly/launchpad-ui/commit/b1b889c6807dc28f90fc17319f019e678302c285)]: - - @launchpad-ui/icons@0.14.9 - -## 0.3.8 - -### Patch Changes - -- Updated dependencies [[`c8357e5`](https://github.com/launchdarkly/launchpad-ui/commit/c8357e52195c31a3e03432cf4079279746b4c660)]: - - @launchpad-ui/icons@0.14.8 - -## 0.3.7 - -### Patch Changes - -- Updated dependencies [[`861c925`](https://github.com/launchdarkly/launchpad-ui/commit/861c92546a6689042336a51297ad600b957b6d21)]: - - @launchpad-ui/tokens@0.9.2 - - @launchpad-ui/icons@0.14.7 - -## 0.3.6 - -### Patch Changes - -- Updated dependencies [[`6ee9e107`](https://github.com/launchdarkly/launchpad-ui/commit/6ee9e1079ca8b87784963000728d3591fb0180b7)]: - - @launchpad-ui/tokens@0.9.1 - - @launchpad-ui/icons@0.14.6 - -## 0.3.5 - -### Patch Changes - -- Updated dependencies [[`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81)]: - - @launchpad-ui/tokens@0.9.0 - - @launchpad-ui/icons@0.14.5 - -## 0.3.5-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`941d2d60`](https://github.com/launchdarkly/launchpad-ui/commit/941d2d60c96f095e7043852f02bc6b5f157edb3b), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53), [`260d052f`](https://github.com/launchdarkly/launchpad-ui/commit/260d052f3f47043cca470747e7d861417873fa41)]: - - @launchpad-ui/tokens@0.9.0-alpha.2 - - @launchpad-ui/icons@0.14.5-alpha.0 - -## 0.3.3-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.1 - - @launchpad-ui/icons@0.14.3-alpha.0 - -## 0.3.1-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.0 - - @launchpad-ui/icons@0.14.1-alpha.0 - -## 0.3.4 - -### Patch Changes - -- Updated dependencies [[`bb8eed2f`](https://github.com/launchdarkly/launchpad-ui/commit/bb8eed2ff3fc04495109a44041e6591e0e8696d6)]: - - @launchpad-ui/icons@0.14.4 - -## 0.3.3 - -### Patch Changes - -- Updated dependencies [[`77903b21`](https://github.com/launchdarkly/launchpad-ui/commit/77903b21a8a714b27ec68e6d972f5897747c5d17)]: - - @launchpad-ui/icons@0.14.3 - -## 0.3.2 - -### Patch Changes - -- Updated dependencies [[`9097483d`](https://github.com/launchdarkly/launchpad-ui/commit/9097483d04b22bbec5163a0b8ccc73594bd9e242), [`f106ce0e`](https://github.com/launchdarkly/launchpad-ui/commit/f106ce0e7514fe79ed2dcb2b79c9ae302ae08214)]: - - @launchpad-ui/tokens@0.8.2 - - @launchpad-ui/icons@0.14.2 - -## 0.3.1 - -### Patch Changes - -- Updated dependencies [[`a2c657c1`](https://github.com/launchdarkly/launchpad-ui/commit/a2c657c17c4e5f3d034ae77bdbdb855010e46fb1)]: - - @launchpad-ui/tokens@0.8.1 - - @launchpad-ui/icons@0.14.1 - -## 0.3.0 - -### Minor Changes - -- [#1033](https://github.com/launchdarkly/launchpad-ui/pull/1033) [`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a) Thanks [@Niznikr](https://github.com/Niznikr)! - Use base 16 font size - -### Patch Changes - -- Updated dependencies [[`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a)]: - - @launchpad-ui/tokens@0.8.0 - - @launchpad-ui/icons@0.14.0 - -## 0.2.70 - -### Patch Changes - -- Updated dependencies [[`87eff51a`](https://github.com/launchdarkly/launchpad-ui/commit/87eff51a00a813c0ebfebadb03b6c6c2ac221b43)]: - - @launchpad-ui/icons@0.13.1 - -## 0.2.69 - -### Patch Changes - -- Updated dependencies [[`afa2b2d7`](https://github.com/launchdarkly/launchpad-ui/commit/afa2b2d7da6c5aa494fb9ab1adf811c1779e198a)]: - - @launchpad-ui/icons@0.13.0 - -## 0.2.69-alpha.0 - -### Patch Changes - -- Updated dependencies [[`ba2a5138`](https://github.com/launchdarkly/launchpad-ui/commit/ba2a5138c9ff43b17654812437025ba9671d4923)]: - - @launchpad-ui/icons@0.13.0-alpha.0 - -## 0.2.68 - -### Patch Changes - -- Updated dependencies [[`757c82d5`](https://github.com/launchdarkly/launchpad-ui/commit/757c82d5574c519691521c413c10cd5932cebc9c)]: - - @launchpad-ui/tokens@0.7.1 - - @launchpad-ui/icons@0.12.6 - -## 0.2.67 - -### Patch Changes - -- Updated dependencies [[`b434c311`](https://github.com/launchdarkly/launchpad-ui/commit/b434c311362dfdd155eac52bb23778fb7e6a37b2)]: - - @launchpad-ui/icons@0.12.5 - -## 0.2.66 - -### Patch Changes - -- Updated dependencies [[`37821630`](https://github.com/launchdarkly/launchpad-ui/commit/378216306ecf8e796b690985bbda31f6c42b841d), [`a570a53f`](https://github.com/launchdarkly/launchpad-ui/commit/a570a53f0439cec9cbdb0e1778595e547fe38c51)]: - - @launchpad-ui/icons@0.12.4 - -## 0.2.65 - -### Patch Changes - -- Updated dependencies [[`72862e6d`](https://github.com/launchdarkly/launchpad-ui/commit/72862e6d111834b7b459d48e2e0de26e714966ad)]: - - @launchpad-ui/icons@0.12.3 - -## 0.2.64 - -### Patch Changes - -- Updated dependencies [[`21ef37b7`](https://github.com/launchdarkly/launchpad-ui/commit/21ef37b7c8a3943c9670337cabfe401372ad0ada)]: - - @launchpad-ui/icons@0.12.2 - -## 0.2.63 - -### Patch Changes - -- Updated dependencies [[`21ef85cf`](https://github.com/launchdarkly/launchpad-ui/commit/21ef85cf2d32936d7907712bf35d5f3fba29ef40)]: - - @launchpad-ui/icons@0.12.1 - -## 0.2.62 - -### Patch Changes - -- Updated dependencies [[`5d398d07`](https://github.com/launchdarkly/launchpad-ui/commit/5d398d071ee124e430bf127b86cfeb2af3af3989)]: - - @launchpad-ui/icons@0.12.0 - -## 0.2.61 - -### Patch Changes - -- [#973](https://github.com/launchdarkly/launchpad-ui/pull/973) [`17606815`](https://github.com/launchdarkly/launchpad-ui/commit/17606815f4d00b51e5abb491cb03e755a542c8eb) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`e834a1f1`](https://github.com/launchdarkly/launchpad-ui/commit/e834a1f19a52678b79edb91db9fdd356a71dbb8d)]: - - @launchpad-ui/icons@0.11.0 - -## 0.2.60 - -### Patch Changes - -- Updated dependencies [[`6b94906e`](https://github.com/launchdarkly/launchpad-ui/commit/6b94906e69d9f7516388d465689f7ff2e37faf9a), [`45d511ea`](https://github.com/launchdarkly/launchpad-ui/commit/45d511ea87c176e0cb12f2cdac885ef8cec91058)]: - - @launchpad-ui/icons@0.10.0 - - @launchpad-ui/tokens@0.7.0 - -## 0.2.59 - -### Patch Changes - -- Updated dependencies [[`2be20b76`](https://github.com/launchdarkly/launchpad-ui/commit/2be20b76362713b2f4fe25e0e045271f2358e59e)]: - - @launchpad-ui/icons@0.9.6 - -## 0.2.58 - -### Patch Changes - -- Updated dependencies [[`6a034ffe`](https://github.com/launchdarkly/launchpad-ui/commit/6a034ffef935f54dd077b6cdcc5cf14c02629d6b)]: - - @launchpad-ui/icons@0.9.5 - -## 0.2.57 - -### Patch Changes - -- Updated dependencies [[`5aad4986`](https://github.com/launchdarkly/launchpad-ui/commit/5aad4986acc0cf5f593247fbe041cf8938a684a3)]: - - @launchpad-ui/icons@0.9.4 - -## 0.2.56 - -### Patch Changes - -- Updated dependencies [[`29e2b26c`](https://github.com/launchdarkly/launchpad-ui/commit/29e2b26c7f2a5496adb11a72fd79fcadd33717ff)]: - - @launchpad-ui/icons@0.9.3 - -## 0.2.55 - -### Patch Changes - -- [#939](https://github.com/launchdarkly/launchpad-ui/pull/939) [`9bbdd9e2`](https://github.com/launchdarkly/launchpad-ui/commit/9bbdd9e20bcbd5af8ab60ab3c03869c8665a8962) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.54 - -### Patch Changes - -- [#934](https://github.com/launchdarkly/launchpad-ui/pull/934) [`bc04510d`](https://github.com/launchdarkly/launchpad-ui/commit/bc04510d8adfeb899e25638979b5b6a6526e9986) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.2.53 - -### Patch Changes - -- Updated dependencies [[`c025b013`](https://github.com/launchdarkly/launchpad-ui/commit/c025b013c5c7ccdfb520103d82bd8395e7b1bbe6)]: - - @launchpad-ui/icons@0.9.2 - -## 0.2.52 - -### Patch Changes - -- Updated dependencies [[`420b7c9b`](https://github.com/launchdarkly/launchpad-ui/commit/420b7c9b51fc18910b163aed562983a2a7d2db51)]: - - @launchpad-ui/icons@0.9.1 - -## 0.2.51 - -### Patch Changes - -- [#922](https://github.com/launchdarkly/launchpad-ui/pull/922) [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409) Thanks [@Niznikr](https://github.com/Niznikr)! - [Tokens] Add `0` and `base` suffix to default tokens: - - Primitives: - - - `lp-color-black-0` - - `lp-color-white-0` - - Aliases: - - - `lp-color-bg-interactive-primary-base` - - `lp-color-bg-interactive-secondary-base` - - `lp-color-bg-interactive-tertiary-base` - - `lp-color-bg-interactive-destructive-base` - - `lp-color-bg-field-base` - - `lp-color-border-field-base` - - `lp-color-border-interactive-primary-base` - - `lp-color-border-interactive-secondary-base` - - `lp-color-fill-field-base` - - `lp-color-text-feedback-base` - - `lp-color-text-interactive-base` - - `lp-color-text-ui-primary-base` - - `lp-color-text-field-base` - -- Updated dependencies [[`f95ac68d`](https://github.com/launchdarkly/launchpad-ui/commit/f95ac68d2ddae67ae99520dca76721f6e07525cc), [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409)]: - - @launchpad-ui/icons@0.9.0 - - @launchpad-ui/tokens@0.6.0 - -## 0.2.50 - -### Patch Changes - -- Updated dependencies [[`068bf1cc`](https://github.com/launchdarkly/launchpad-ui/commit/068bf1cc5418a264c5be167cd5030b4f56bef03f)]: - - @launchpad-ui/tokens@0.5.8 - - @launchpad-ui/icons@0.8.8 - -## 0.2.49 - -### Patch Changes - -- Updated dependencies [[`864b63c5`](https://github.com/launchdarkly/launchpad-ui/commit/864b63c5bdcdf0d52b322be6469b6edfedad4f31)]: - - @launchpad-ui/tokens@0.5.7 - - @launchpad-ui/icons@0.8.7 - -## 0.2.48 - -### Patch Changes - -- [#868](https://github.com/launchdarkly/launchpad-ui/pull/868) [`8168b7a0`](https://github.com/launchdarkly/launchpad-ui/commit/8168b7a01eb59ec1a417604ba2414b1e7420733f) Thanks [@renovate](https://github.com/apps/renovate)! - [Drawer, Modal, Popover, Snackbar, Toast] Update `framer-motion` to v10 - -## 0.2.47 - -### Patch Changes - -- [#860](https://github.com/launchdarkly/launchpad-ui/pull/860) [`dad62d15`](https://github.com/launchdarkly/launchpad-ui/commit/dad62d152d04d4f82708774dce51a598608dcb94) Thanks [@Niznikr](https://github.com/Niznikr)! - Update dev dependencies - -- [#843](https://github.com/launchdarkly/launchpad-ui/pull/843) [`f462ab6a`](https://github.com/launchdarkly/launchpad-ui/commit/f462ab6a2ee69c830af63713728f42766989864b) Thanks [@renovate](https://github.com/apps/renovate)! - [Toast] Omit HTML `content` attribute for ToastProps - -## 0.2.46 - -### Patch Changes - -- [#851](https://github.com/launchdarkly/launchpad-ui/pull/851) [`be9448b1`](https://github.com/launchdarkly/launchpad-ui/commit/be9448b154e7ea5ff56a65448e83da2808bd1782) Thanks [@kwatkins-ld](https://github.com/kwatkins-ld)! - use ComponentProps type to simplify intrinsic element props - -## 0.2.45 - -### Patch Changes - -- Updated dependencies [[`2c8bf545`](https://github.com/launchdarkly/launchpad-ui/commit/2c8bf54535a7e7cdb7f1da23d00e7ede36bdffc8)]: - - @launchpad-ui/icons@0.8.6 - -## 0.2.44 - -### Patch Changes - -- Updated dependencies [[`ebf41fff`](https://github.com/launchdarkly/launchpad-ui/commit/ebf41fff2abc752874849572eaa6b62e7f876223)]: - - @launchpad-ui/icons@0.8.5 - -## 0.2.43 - -### Patch Changes - -- Updated dependencies [[`72d37d74`](https://github.com/launchdarkly/launchpad-ui/commit/72d37d74c553e2a3c5cfe0f8bc77ee3a47222d80), [`3269e0b5`](https://github.com/launchdarkly/launchpad-ui/commit/3269e0b5cc32b19241e7f0fa8de72d0127c76859)]: - - @launchpad-ui/tokens@0.5.6 - - @launchpad-ui/icons@0.8.4 - -## 0.2.42 - -### Patch Changes - -- Updated dependencies [[`7760fefe`](https://github.com/launchdarkly/launchpad-ui/commit/7760fefea91fddf17f15163ce05f555215dc4b90), [`6bd95d9f`](https://github.com/launchdarkly/launchpad-ui/commit/6bd95d9f8c3911c8d53d61f59b304881043c6fd9)]: - - @launchpad-ui/tokens@0.5.5 - - @launchpad-ui/icons@0.8.3 - -## 0.2.41 - -### Patch Changes - -- [#790](https://github.com/launchdarkly/launchpad-ui/pull/790) [`b4218800`](https://github.com/launchdarkly/launchpad-ui/commit/b421880067feacb906cca374196bd507a51b9146) Thanks [@jagarnica](https://github.com/jagarnica)! - [Toast]: Add fade in for Toast entrance and fade out for exit - -## 0.2.40 - -### Patch Changes - -- Updated dependencies [[`42c857c3`](https://github.com/launchdarkly/launchpad-ui/commit/42c857c3100b6fcab4bb7609482d34cce0ccfe79)]: - - @launchpad-ui/icons@0.8.2 - -## 0.2.39 - -### Patch Changes - -- Updated dependencies [[`c120d56c`](https://github.com/launchdarkly/launchpad-ui/commit/c120d56c7b4045cefa5520954dc7683159768625)]: - - @launchpad-ui/tokens@0.5.4 - - @launchpad-ui/icons@0.8.1 - -## 0.2.38 - -### Patch Changes - -- Updated dependencies [[`f07d8c7d`](https://github.com/launchdarkly/launchpad-ui/commit/f07d8c7df396ada9d30780d56e97470382a6b350), [`5d7c3eed`](https://github.com/launchdarkly/launchpad-ui/commit/5d7c3eed060658abcaa2dc13c6471e424405f54b)]: - - @launchpad-ui/icons@0.8.0 - -## 0.2.37 - -### Patch Changes - -- Updated dependencies [[`d5bd5d0d`](https://github.com/launchdarkly/launchpad-ui/commit/d5bd5d0de1cedc2d341beced3ac8239167a85108), [`304c87bc`](https://github.com/launchdarkly/launchpad-ui/commit/304c87bcd9050fd64c1ce997bb96c6b6e3aa9701)]: - - @launchpad-ui/tokens@0.5.3 - - @launchpad-ui/icons@0.7.5 - -## 0.2.36 - -### Patch Changes - -- Updated dependencies [[`152aef91`](https://github.com/launchdarkly/launchpad-ui/commit/152aef9126c5291586b09b703795030f52a01bb1)]: - - @launchpad-ui/tokens@0.5.2 - - @launchpad-ui/icons@0.7.4 - -## 0.2.35 - -### Patch Changes - -- Updated dependencies [[`909a0fde`](https://github.com/launchdarkly/launchpad-ui/commit/909a0fdebf57634d5c100626cb432c35eac1c661)]: - - @launchpad-ui/tokens@0.5.1 - - @launchpad-ui/icons@0.7.3 - -## 0.2.34 - -### Patch Changes - -- [#726](https://github.com/launchdarkly/launchpad-ui/pull/726) [`74ddde60`](https://github.com/launchdarkly/launchpad-ui/commit/74ddde60d233fd489860f89aacb908e20f525674) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar] Change z-index to `700` - [Toast] Change z-index to `700` - [Tooltip] Change z-index to `800` - -## 0.2.33 - -### Patch Changes - -- Updated dependencies [[`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad)]: - - @launchpad-ui/tokens@0.5.0 - - @launchpad-ui/icons@0.7.2 - -## 0.2.32 - -### Patch Changes - -- [#610](https://github.com/launchdarkly/launchpad-ui/pull/610) [`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10) Thanks [@renovate](https://github.com/apps/renovate)! - Update nonmajor versions across framework - -- Updated dependencies [[`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10)]: - - @launchpad-ui/tokens@0.4.10 - - @launchpad-ui/icons@0.7.1 - -## 0.2.31 - -### Patch Changes - -- Updated dependencies [[`2b29f91e`](https://github.com/launchdarkly/launchpad-ui/commit/2b29f91e21002d352f18c2dbfd0ed807f0598da0)]: - - @launchpad-ui/icons@0.7.0 - -## 0.2.30 - -### Patch Changes - -- Updated dependencies [[`d06d6a42`](https://github.com/launchdarkly/launchpad-ui/commit/d06d6a42824309be167d754c4642ab6b97375e1f)]: - - @launchpad-ui/icons@0.6.21 - -## 0.2.29 - -### Patch Changes - -- Updated dependencies [[`3790e0d2`](https://github.com/launchdarkly/launchpad-ui/commit/3790e0d294726e6722d45a7aa66e5ce51194c464)]: - - @launchpad-ui/icons@0.6.20 - -## 0.2.28 - -### Patch Changes - -- [#692](https://github.com/launchdarkly/launchpad-ui/pull/692) [`f0505293`](https://github.com/launchdarkly/launchpad-ui/commit/f050529389a66fec35bcd8392839e80f875f2562) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update `framer-motion` to latest version. - - [Snackbar]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Popover]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Drawer]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Modal]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - [Toast]: Update `framer-motion` dependency from `7.6.1` to `9.0.3` - -## 0.2.27 - -### Patch Changes - -- Updated dependencies [[`990af4a5`](https://github.com/launchdarkly/launchpad-ui/commit/990af4a5c7490a322604272cf9edc16ce9427cf1)]: - - @launchpad-ui/icons@0.6.19 - -## 0.2.26 - -### Patch Changes - -- [#666](https://github.com/launchdarkly/launchpad-ui/pull/666) [`20439f2d`](https://github.com/launchdarkly/launchpad-ui/commit/20439f2d0533bf574b613d16d5d31eb688cb629f) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Bump z-index values - - [Drawer] Increase z-index from 300 to 400 - [Modal] Increase z-index from 400 to 500 - [Popover] Increase z-index from 500 to 600 - [Snackbar] Increase z-index from 700 to 800 - [Toast] Increase z-index from 700 to 800 - [Tooltip] Increase z-index from 600 to 700 - -- Updated dependencies [[`808902f7`](https://github.com/launchdarkly/launchpad-ui/commit/808902f71c0b410adf86b0ee1683a2d36c4cdb22)]: - - @launchpad-ui/tokens@0.4.9 - - @launchpad-ui/icons@0.6.18 - -## 0.2.25 - -### Patch Changes - -- Updated dependencies [[`f873c6f3`](https://github.com/launchdarkly/launchpad-ui/commit/f873c6f3af18b55e72883464e9698ea172021c8e)]: - - @launchpad-ui/icons@0.6.17 - -## 0.2.24 - -### Patch Changes - -- Updated dependencies [[`cd1b58c5`](https://github.com/launchdarkly/launchpad-ui/commit/cd1b58c5c117d37b2939fe879606011c49b18ced)]: - - @launchpad-ui/icons@0.6.16 - -## 0.2.23 - -### Patch Changes - -- Updated dependencies [[`f2ae1a80`](https://github.com/launchdarkly/launchpad-ui/commit/f2ae1a80d678a1a61dee407b8574e4c52f55299f)]: - - @launchpad-ui/tokens@0.4.8 - - @launchpad-ui/icons@0.6.15 - -## 0.2.22 - -### Patch Changes - -- [#633](https://github.com/launchdarkly/launchpad-ui/pull/633) [`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update third party dependencies to pin versions to match consumer app - -- Updated dependencies [[`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15)]: - - @launchpad-ui/icons@0.6.14 - -## 0.2.21 - -### Patch Changes - -- [#629](https://github.com/launchdarkly/launchpad-ui/pull/629) [`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update Vite build tool to 4.0 - -- Updated dependencies [[`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde), [`b744011d`](https://github.com/launchdarkly/launchpad-ui/commit/b744011dccd525faa534f8def5ee8af2e346268a), [`94fe4b9a`](https://github.com/launchdarkly/launchpad-ui/commit/94fe4b9ada726c190701555c0f5bdca3e8ec610d)]: - - @launchpad-ui/icons@0.6.13 - - @launchpad-ui/tokens@0.4.7 - -## 0.2.20 - -### Patch Changes - -- Updated dependencies [[`9064d45c`](https://github.com/launchdarkly/launchpad-ui/commit/9064d45cf157f7ded1a11a100940bd144f410fd6)]: - - @launchpad-ui/tokens@0.4.6 - - @launchpad-ui/icons@0.6.12 - -## 0.2.19 - -### Patch Changes - -- Updated dependencies [[`c48e0b4f`](https://github.com/launchdarkly/launchpad-ui/commit/c48e0b4fff3e0792b453f9173459fd197871f3d0)]: - - @launchpad-ui/tokens@0.4.5 - - @launchpad-ui/icons@0.6.11 - -## 0.2.18 - -### Patch Changes - -- Updated dependencies [[`57484ab9`](https://github.com/launchdarkly/launchpad-ui/commit/57484ab9998ef50a32ab51bb9c0286b7be84fdb2), [`4c2dc031`](https://github.com/launchdarkly/launchpad-ui/commit/4c2dc0315fe0742ad78b706552d7c7e8e87f8e0e)]: - - @launchpad-ui/tokens@0.4.4 - - @launchpad-ui/icons@0.6.10 - -## 0.2.17 - -### Patch Changes - -- Updated dependencies [[`9b37d196`](https://github.com/launchdarkly/launchpad-ui/commit/9b37d196a691fd6a4ca0f989c4121b8683d8f7cb)]: - - @launchpad-ui/tokens@0.4.3 - - @launchpad-ui/icons@0.6.9 - -## 0.2.16 - -### Patch Changes - -- Updated dependencies [[`c0840e07`](https://github.com/launchdarkly/launchpad-ui/commit/c0840e07ba5a4f3da47b792d27680bc2549169f5)]: - - @launchpad-ui/tokens@0.4.2 - - @launchpad-ui/icons@0.6.8 - -## 0.2.15 - -### Patch Changes - -- [#598](https://github.com/launchdarkly/launchpad-ui/pull/598) [`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Drawer]: Update z-index - - [Modal]: Update z-index - - [Navigation]: Update primary bottom border color - - [Notification]: Update z-index - - [Popover]: Update z-index - - [Snackbar]: Update z-index - - [SplitButton]: Improve theming for button borders - - [Table]: Improve theming for table cell head - - [Toast]: Update z-index - - [Tooltip]: Update z-index - - [Tokens]: - - - Update `lp-color-bg-interactive-disabled` dark value - - Update `lp-color-bg-overlay-primary` dark value - - Update `lp-color-border-interactive-secondary` dark value - - Update `lp-color-border-interactive-disabled` dark value - - [ProgressBubbles]: Update dark mode styling - -- Updated dependencies [[`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad)]: - - @launchpad-ui/tokens@0.4.1 - - @launchpad-ui/icons@0.6.7 - -## 0.2.14 - -### Patch Changes - -- Updated dependencies [[`71549774`](https://github.com/launchdarkly/launchpad-ui/commit/71549774aad5dcd0887379beba474e2371d320e6), [`9c9429e3`](https://github.com/launchdarkly/launchpad-ui/commit/9c9429e3707c9f229357875f9278755b3f3d7eda)]: - - @launchpad-ui/tokens@0.4.0 - - @launchpad-ui/icons@0.6.6 - -## 0.2.13 - -### Patch Changes - -- Updated dependencies [[`6dc1470`](https://github.com/launchdarkly/launchpad-ui/commit/6dc1470e52b9f2f1b4dae8800fa8fd6d2bc74a46)]: - - @launchpad-ui/tokens@0.3.2 - - @launchpad-ui/icons@0.6.5 - -## 0.2.12 - -### Patch Changes - -- Updated dependencies [[`da177e9`](https://github.com/launchdarkly/launchpad-ui/commit/da177e9c71e37f0ca4de21f5ab938f29f911ddf1)]: - - @launchpad-ui/icons@0.6.4 - -## 0.2.11 - -### Patch Changes - -- Updated dependencies [[`3a11bcf`](https://github.com/launchdarkly/launchpad-ui/commit/3a11bcf9085da9058c716841bf5d6b03ef5459a9), [`d1526c2`](https://github.com/launchdarkly/launchpad-ui/commit/d1526c21a4d637ce67d13c65dd8d34c4797d44ec)]: - - @launchpad-ui/icons@0.6.3 - -## 0.2.10 - -### Patch Changes - -- [#571](https://github.com/launchdarkly/launchpad-ui/pull/571) [`896ee74`](https://github.com/launchdarkly/launchpad-ui/commit/896ee748dbf0f9a78110650761d89204eaf57c32) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar]: Add `success` variant and trigger onDismiss when `cta` is clicked. - [Toast]: Style anchor elements properly when used in content. - -## 0.2.9 - -### Patch Changes - -- Updated dependencies [[`d80297f`](https://github.com/launchdarkly/launchpad-ui/commit/d80297fad893c9db566ed029e302702d5f245a98)]: - - @launchpad-ui/tokens@0.3.1 - - @launchpad-ui/icons@0.6.2 - -## 0.2.8 - -### Patch Changes - -- Updated dependencies [[`baeacd7`](https://github.com/launchdarkly/launchpad-ui/commit/baeacd7b80d60f36f4962f090d87a0009f28b44e)]: - - @launchpad-ui/tokens@0.3.0 - - @launchpad-ui/icons@0.6.1 - -## 0.2.7 - -### Patch Changes - -- Updated dependencies [[`0deac4f`](https://github.com/launchdarkly/launchpad-ui/commit/0deac4f7cb58781e56d864f50b659f5c885339dc)]: - - @launchpad-ui/icons@0.6.0 - -## 0.2.6 - -### Patch Changes - -- Updated dependencies [[`4090f93`](https://github.com/launchdarkly/launchpad-ui/commit/4090f93ba98ea6f75a7f9f7b902fafcfb9b005b3)]: - - @launchpad-ui/tokens@0.2.0 - - @launchpad-ui/icons@0.5.9 - -## 0.2.5 - -### Patch Changes - -- [#505](https://github.com/launchdarkly/launchpad-ui/pull/505) [`66dd7a6`](https://github.com/launchdarkly/launchpad-ui/commit/66dd7a6174c95a92ed4b49fe3398c1ba5b624731) Thanks [@Niznikr](https://github.com/Niznikr)! - [Alert, Banner, Clipboard, Snackbar, Toast] Remove base classes - -## 0.2.4 - -### Patch Changes - -- Updated dependencies [[`b7302a3`](https://github.com/launchdarkly/launchpad-ui/commit/b7302a3015591df0b24e19a4444029c21d0cf9de)]: - - @launchpad-ui/icons@0.5.8 - -## 0.2.3 - -### Patch Changes - -- [#509](https://github.com/launchdarkly/launchpad-ui/pull/509) [`1e5796b`](https://github.com/launchdarkly/launchpad-ui/commit/1e5796b7b99a2704bba22623a518ff7e8776ebf8) Thanks [@Niznikr](https://github.com/Niznikr)! - Update dependencies - -## 0.2.2 - -### Patch Changes - -- [#482](https://github.com/launchdarkly/launchpad-ui/pull/482) [`6c602af`](https://github.com/launchdarkly/launchpad-ui/commit/6c602afba6b7073314b0e5592c98a616aff586c1) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Icons]: Rebuild KindIcon and rename to StatusIcon - [Alert]: Use new StatusIcon and update CSS targets - [Banner]: Use new StatusIcon and update CSS targets - [Notification]: Use new StatusIcon and update CSS targets - [Snackbar]: Use new StatusIcon and update CSS targets - [Toast]: Use new StatusIcon and update CSS targets -- Updated dependencies [[`6c602af`](https://github.com/launchdarkly/launchpad-ui/commit/6c602afba6b7073314b0e5592c98a616aff586c1)]: - - @launchpad-ui/icons@0.5.7 - -## 0.2.1 - -### Patch Changes - -- Updated dependencies [[`f67056a`](https://github.com/launchdarkly/launchpad-ui/commit/f67056ae6df4c2647833d7fe3f742af8e686824f)]: - - @launchpad-ui/icons@0.5.6 - -## 0.2.0 - -### Minor Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Add toast package, refactor Snackbar to match - - [Toast]: A toast contains a concise message that indicates the completion of a task that requires no user interactions. - [Snackbar]: Improve SnackbarRecord type and randomize status. - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Toast] Remove error variant - -* [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Replace enums with string union types - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar, Toast]: Export record types - -* [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Snackbar, Toast] Update framer-motion - -- Updated dependencies [[`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa), [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa)]: - - @launchpad-ui/icons@0.5.5 - -## 0.1.0-alpha.11 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`ba1abe9`](https://github.com/launchdarkly/launchpad-ui/commit/ba1abe951c8e88a543654dada0030fdfa66627d9) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`ba1abe9`](https://github.com/launchdarkly/launchpad-ui/commit/ba1abe951c8e88a543654dada0030fdfa66627d9)]: - - @launchpad-ui/icons@0.5.4-alpha.2 - -## 0.1.0-alpha.10 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`982ef8c`](https://github.com/launchdarkly/launchpad-ui/commit/982ef8c3812412f36ea98f67659b7477dc467d46) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`982ef8c`](https://github.com/launchdarkly/launchpad-ui/commit/982ef8c3812412f36ea98f67659b7477dc467d46)]: - - @launchpad-ui/icons@0.5.4-alpha.1 - -## 0.1.0-alpha.9 - -### Patch Changes - -- [#435](https://github.com/launchdarkly/launchpad-ui/pull/435) [`5f22faf`](https://github.com/launchdarkly/launchpad-ui/commit/5f22faf9cf80ae006263f44ed3f04c96798f0315) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -- Updated dependencies [[`5f22faf`](https://github.com/launchdarkly/launchpad-ui/commit/5f22faf9cf80ae006263f44ed3f04c96798f0315)]: - - @launchpad-ui/icons@0.5.3-alpha.2 - -## 0.1.0-alpha.8 - -### Patch Changes - -- [#433](https://github.com/launchdarkly/launchpad-ui/pull/433) [`6c86f21`](https://github.com/launchdarkly/launchpad-ui/commit/6c86f21be659a87861773054eaaa19f4701a3b38) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar, Toast] Update framer-motion - -## 0.1.0-alpha.7 - -### Patch Changes - -- [#429](https://github.com/launchdarkly/launchpad-ui/pull/429) [`97eb67b`](https://github.com/launchdarkly/launchpad-ui/commit/97eb67bf95e40709084949c03248dc5673849873) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -- Updated dependencies [[`97eb67b`](https://github.com/launchdarkly/launchpad-ui/commit/97eb67bf95e40709084949c03248dc5673849873)]: - - @launchpad-ui/icons@0.5.3-alpha.1 - -## 0.1.0-alpha.6 - -### Patch Changes - -- [`aa173ae`](https://github.com/launchdarkly/launchpad-ui/commit/aa173ae6d5ede85011f7a47a0870de2e7dc527f6) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Republish - -- Updated dependencies [[`aa173ae`](https://github.com/launchdarkly/launchpad-ui/commit/aa173ae6d5ede85011f7a47a0870de2e7dc527f6)]: - - @launchpad-ui/icons@0.5.3-alpha.0 - -## 0.1.0-alpha.5 - -### Patch Changes - -- [#419](https://github.com/launchdarkly/launchpad-ui/pull/419) [`752ac27`](https://github.com/launchdarkly/launchpad-ui/commit/752ac27dfb5dfe770a894ef6441eefc497417305) Thanks [@Niznikr](https://github.com/Niznikr)! - [Toast] Remove error variant - -## 0.1.0-alpha.4 - -### Patch Changes - -- [`9a09f9c`](https://github.com/launchdarkly/launchpad-ui/commit/9a09f9ca4bc3701eb9916150f41165bf8f611b3d) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -## 0.1.0-alpha.3 - -### Patch Changes - -- [`7732143`](https://github.com/launchdarkly/launchpad-ui/commit/7732143080ff13af60c4ac01342a3432996b6485) Thanks [@Niznikr](https://github.com/Niznikr)! - Replace enums with string union types - -## 0.1.0-alpha.2 - -### Patch Changes - -- [#378](https://github.com/launchdarkly/launchpad-ui/pull/378) [`e4b6408`](https://github.com/launchdarkly/launchpad-ui/commit/e4b6408ff671c42a437f0cb21bafe84e9cfb14ac) Thanks [@Niznikr](https://github.com/Niznikr)! - Republish - -## 0.1.0-alpha.1 - -### Patch Changes - -- [#374](https://github.com/launchdarkly/launchpad-ui/pull/374) [`79ce3aa`](https://github.com/launchdarkly/launchpad-ui/commit/79ce3aa6243a2595f8daad11919fbf67f64d18fe) Thanks [@Niznikr](https://github.com/Niznikr)! - [Snackbar, Toast]: Export record types - -## 0.1.0-alpha.0 - -### Minor Changes - -- [#316](https://github.com/launchdarkly/launchpad-ui/pull/316) [`6c4aaf9`](https://github.com/launchdarkly/launchpad-ui/commit/6c4aaf9164fc8ad08e0964269b07c20bd70c134b) Thanks [@github-actions](https://github.com/apps/github-actions)! - Add toast package, refactor Snackbar to match - - [Toast]: A toast contains a concise message that indicates the completion of a task that requires no user interactions. - [Snackbar]: Improve SnackbarRecord type and randomize status. - -### Patch Changes - -- Updated dependencies [[`e860080`](https://github.com/launchdarkly/launchpad-ui/commit/e86008076dc61cfcfc4c22317021e793d4fd59a9)]: - - @launchpad-ui/icons@0.4.1-alpha.0 diff --git a/packages/toast/README.md b/packages/toast/README.md deleted file mode 100644 index 4a49aa511..000000000 --- a/packages/toast/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# @launchpad-ui/toast - -> Contains a concise message that indicates the completion of a task that requires no user interactions. - -[![See it on NPM!](https://img.shields.io/npm/v/@launchpad-ui/toast?style=for-the-badge)](https://www.npmjs.com/package/@launchpad-ui/toast) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@launchpad-ui/toast?style=for-the-badge)](https://bundlephobia.com/result?p=@launchpad-ui/toast) - -## Installation - -```sh -$ yarn add @launchpad-ui/toast -# or -$ npm install @launchpad-ui/toast -``` diff --git a/packages/toast/__tests__/Toast.spec.tsx b/packages/toast/__tests__/Toast.spec.tsx deleted file mode 100644 index bf2881e0a..000000000 --- a/packages/toast/__tests__/Toast.spec.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { describe, expect, it } from 'vitest'; - -import { render, screen } from '../../../test/utils'; -import { Toast } from '../src'; - -describe('Toast', () => { - it('renders', () => { - render( undefined} />); - expect(screen.getByText('An important message')).toBeInTheDocument(); - }); -}); diff --git a/packages/toast/__tests__/ToastCenter.spec.tsx b/packages/toast/__tests__/ToastCenter.spec.tsx deleted file mode 100644 index 4c78775be..000000000 --- a/packages/toast/__tests__/ToastCenter.spec.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type { ToastRecord } from '../src'; - -import { describe, expect, it } from 'vitest'; - -import { render, screen } from '../../../test/utils'; -import { ToastCenter } from '../src'; - -const toasts: ToastRecord[] = [ - { - _id: '1', - kind: 'info', - content: 'A toast.', - }, - { - _id: '2', - kind: 'info', - content: 'A toast.', - }, -]; - -describe('ToastCenter', () => { - it('renders', () => { - render( undefined} />); - const items = screen.getAllByRole('status'); - expect(items).toHaveLength(2); - }); -}); diff --git a/packages/toast/package.json b/packages/toast/package.json deleted file mode 100644 index 2ec7909a9..000000000 --- a/packages/toast/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@launchpad-ui/toast", - "version": "0.3.46", - "status": "alpha", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/launchdarkly/launchpad-ui" - }, - "description": "Contains a concise message that indicates the completion of a task that requires no user interactions. ", - "license": "Apache-2.0", - "files": ["dist"], - "main": "dist/index.js", - "module": "dist/index.es.js", - "types": "dist/index.d.ts", - "sideEffects": ["**/*.css"], - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.es.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json", - "./style.css": "./dist/style.css" - }, - "source": "src/index.ts", - "scripts": { - "build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", - "clean": "rm -rf dist", - "test": "vitest run --coverage" - }, - "dependencies": { - "@launchpad-ui/icons": "workspace:~", - "@launchpad-ui/tokens": "workspace:~", - "classix": "2.2.0", - "framer-motion": "11.9.0" - }, - "peerDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - } -} diff --git a/packages/toast/src/Toast.tsx b/packages/toast/src/Toast.tsx deleted file mode 100644 index d011e4d2e..000000000 --- a/packages/toast/src/Toast.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import type { ComponentProps, ReactNode } from 'react'; - -import { StatusIcon } from '@launchpad-ui/icons'; -import { cx } from 'classix'; -import { useEffect } from 'react'; - -import styles from './styles/Toast.module.css'; - -type ToastBaseProps = { - kind: 'info' | 'success' | 'warning'; - onDismiss: () => void; - content: ReactNode; - 'data-test-id'?: string; -}; - -type ToastProps = Omit, 'children' | 'content'> & ToastBaseProps; - -/** - * @deprecated use `ToastQueue` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-status-toast--docs - */ -const Toast = ({ - className, - kind, - onDismiss, - content, - 'data-test-id': testId = 'toast', - ...rest -}: ToastProps) => { - // biome-ignore lint/correctness/useExhaustiveDependencies: - useEffect(() => { - setTimeout(() => { - onDismiss(); - }, 6000); - }, []); - - return ( -
- {kind !== 'info' && } -

{content}

-
- ); -}; - -export { Toast }; -export type { ToastBaseProps, ToastProps }; diff --git a/packages/toast/src/ToastCenter.tsx b/packages/toast/src/ToastCenter.tsx deleted file mode 100644 index 62230a961..000000000 --- a/packages/toast/src/ToastCenter.tsx +++ /dev/null @@ -1,80 +0,0 @@ -import type { ToastBaseProps } from './Toast'; - -import { cx } from 'classix'; -import { AnimatePresence, LazyMotion, m } from 'framer-motion'; - -import { Toast } from './Toast'; -import styles from './styles/ToastCenter.module.css'; - -const loadFeatures = () => - import( - /* webpackChunkName: "lp-toast-framer-features" */ - /* webpackExports: "domAnimation" */ - 'framer-motion' - ).then((res) => res.domAnimation); - -type ToastRecord = Omit & { - _id: string; -}; - -type ToastCenterProps = { - className?: string; - toasts: ToastRecord[]; - onDismiss(toastId: string): void; -}; - -/** - * @deprecated use `ToastContainer` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-status-toast--docs - */ -const ToastCenter = ({ toasts, onDismiss, className }: ToastCenterProps) => { - const classes = cx(styles.ToastCenter, className); - - return ( - -
- - {toasts.map((item) => ( - - onDismiss(item._id)} - /> - - ))} - -
-
- ); -}; - -export { ToastCenter }; -export type { ToastCenterProps, ToastRecord }; diff --git a/packages/toast/src/index.ts b/packages/toast/src/index.ts deleted file mode 100644 index e1f675402..000000000 --- a/packages/toast/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export type { ToastProps } from './Toast'; -export type { ToastCenterProps, ToastRecord } from './ToastCenter'; -export { Toast } from './Toast'; -export { ToastCenter } from './ToastCenter'; diff --git a/packages/toast/src/styles/Toast.module.css b/packages/toast/src/styles/Toast.module.css deleted file mode 100644 index f32d80088..000000000 --- a/packages/toast/src/styles/Toast.module.css +++ /dev/null @@ -1,44 +0,0 @@ -.Toast { - background-color: var(--lp-color-bg-feedback-primary); - color: var(--lp-color-white-950); - padding: var(--lp-spacing-300) var(--lp-spacing-500); - display: inline-flex; - gap: var(--lp-spacing-300); - box-sizing: border-box; - width: auto; - border-radius: 3px; - box-shadow: 0 4px 4px 0 rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.14), 0 0 1px 0 - rgb(0 0 0 / 0.25); -} - -.Toast .Toast-icon { - transform: translateY(2px); -} - -.Toast--error .Toast-icon { - fill: var(--lp-color-pink-500); -} - -.Toast--warning .Toast-icon { - fill: var(--lp-color-yellow-500); -} - -.Toast--success .Toast-icon { - fill: var(--lp-color-system-green-500); -} - -.Toast--info { - /* no styles */ -} - -.Toast-content { - flex-grow: 1; - margin: 0; - line-height: 1.5; - font-size: 1rem; - - & a, - & a:hover { - color: var(--lp-color-cyan-400); - } -} diff --git a/packages/toast/src/styles/ToastCenter.module.css b/packages/toast/src/styles/ToastCenter.module.css deleted file mode 100644 index f3b8f2caa..000000000 --- a/packages/toast/src/styles/ToastCenter.module.css +++ /dev/null @@ -1,14 +0,0 @@ -.ToastCenter { - position: fixed; - inset: auto auto 4.53125rem 50%; - transform: translateX(-50%); - z-index: var(--lp-z-index-700); -} - -.ToastCenter-item { - text-align: center; -} - -.ToastCenter-item:not(:first-child) { - margin-top: 1.25rem; -} diff --git a/packages/toast/stories/Toast.stories.tsx b/packages/toast/stories/Toast.stories.tsx deleted file mode 100644 index b813f2996..000000000 --- a/packages/toast/stories/Toast.stories.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import type { StoryObj } from '@storybook/react'; - -import { Toast } from '../src'; - -export default { - component: Toast, - title: 'Legacy/Deprecated/Toast', - description: 'An element that provides brief messages about app processes with a CTA.', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__TOAST, - }, - chromatic: { disableSnapshot: true }, - }, -}; - -type Story = StoryObj; - -export const Info: Story = { - args: { kind: 'info', content: 'This is a message about an app process.' }, -}; - -export const Warning: Story = { - args: { - kind: 'warning', - content: 'This is a message about an app process.', - }, -}; - -export const Success: Story = { - args: { - kind: 'success', - content: 'This is a message about an app process.', - }, -}; - -export const WithLink: Story = { - args: { - kind: 'success', - content: ( - <> - This has a link. Link - - ), - }, -}; diff --git a/packages/toast/stories/ToastCenter.stories.tsx b/packages/toast/stories/ToastCenter.stories.tsx deleted file mode 100644 index 96ef72d2f..000000000 --- a/packages/toast/stories/ToastCenter.stories.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import type { StoryObj } from '@storybook/react'; -import type { ToastProps, ToastRecord } from '../src'; - -import { Button } from '@launchpad-ui/button'; -import { userEvent, within } from '@storybook/test'; -import { useId, useState } from 'react'; - -import { ToastCenter } from '../src'; - -export default { - component: ToastCenter, - title: 'Legacy/Deprecated/Toast/ToastCenter', - description: 'A container for toasts.', - parameters: { - chromatic: { disableSnapshot: true }, - }, -}; - -type Story = StoryObj; - -const kinds = ['info', 'success', 'warning']; -let kindIndex = 0; -const loopIndices = (i: number) => (kindIndex === kinds.length - 1 ? 0 : i + 1); - -const makeToast = (id: string) => { - const kind = kinds[kindIndex] as ToastProps['kind']; - kindIndex = loopIndices(kindIndex); - - return { - _id: id, - kind, - content: 'Try to keep your message under 70 characters', - }; -}; - -export const Default: Story = { - render: () => { - const [items, setItems] = useState([]); - const [counter, setCounter] = useState(0); - const snackId = useId(); - - const removeItem = (id: string) => { - setItems((updatingItems) => updatingItems.filter(({ _id }) => _id !== id)); - }; - - const addItem = () => { - setItems((updatingItems) => [...updatingItems, makeToast(`${snackId}-${counter}`)]); - setCounter(counter + 1); - }; - - return ( - <> - - - - ); - }, - play: async ({ canvasElement }: { canvasElement: HTMLElement }) => { - const canvas = within(canvasElement); - await userEvent.click(canvas.getAllByRole('button')[0]); - }, - parameters: { - a11y: { - options: { - rules: { - // @fixme - 'color-contrast': { enabled: false }, - }, - }, - }, - }, -}; diff --git a/packages/toast/tsconfig.build.json b/packages/toast/tsconfig.build.json deleted file mode 100644 index 61d6d8a43..000000000 --- a/packages/toast/tsconfig.build.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "include": ["src/*.ts", "src/*.tsx"], - "compilerOptions": { - "outDir": "./dist", - "skipLibCheck": true - } -} diff --git a/packages/toggle/CHANGELOG.md b/packages/toggle/CHANGELOG.md deleted file mode 100644 index 97fbec279..000000000 --- a/packages/toggle/CHANGELOG.md +++ /dev/null @@ -1,697 +0,0 @@ -# @launchpad-ui/toggle - -## 0.7.31 - -### Patch Changes - -- [#1424](https://github.com/launchdarkly/launchpad-ui/pull/1424) [`7684e7d`](https://github.com/launchdarkly/launchpad-ui/commit/7684e7d0ad40063e8cdda92811f92d63e20401b4) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.30 - -### Patch Changes - -- Updated dependencies [[`6f6619f`](https://github.com/launchdarkly/launchpad-ui/commit/6f6619f7b99541904512993652ba9b0918272f9b)]: - - @launchpad-ui/tokens@0.11.4 - -## 0.7.29 - -### Patch Changes - -- [#1392](https://github.com/launchdarkly/launchpad-ui/pull/1392) [`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`3e49dc6`](https://github.com/launchdarkly/launchpad-ui/commit/3e49dc63a89c8eaed56a3d75cef501e685a5852f)]: - - @launchpad-ui/tokens@0.11.3 - -## 0.7.28 - -### Patch Changes - -- Updated dependencies [[`af43516`](https://github.com/launchdarkly/launchpad-ui/commit/af435166439a8b4860fda2dea78e78fc477ed088)]: - - @launchpad-ui/tokens@0.11.2 - -## 0.7.27 - -### Patch Changes - -- Updated dependencies [[`3265579`](https://github.com/launchdarkly/launchpad-ui/commit/326557944061dbd1c7f74daf00454b902b91cb2d)]: - - @launchpad-ui/tokens@0.11.1 - -## 0.7.26 - -### Patch Changes - -- [#1368](https://github.com/launchdarkly/launchpad-ui/pull/1368) [`4309328`](https://github.com/launchdarkly/launchpad-ui/commit/43093284b05b9093c503cb0b91819a74a6af9660) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.25 - -### Patch Changes - -- [#1366](https://github.com/launchdarkly/launchpad-ui/pull/1366) [`2a908c0`](https://github.com/launchdarkly/launchpad-ui/commit/2a908c093b5cc6a34bc4785727d0365f833bff0e) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.24 - -### Patch Changes - -- Updated dependencies [[`8c68adb`](https://github.com/launchdarkly/launchpad-ui/commit/8c68adbfeeda476c7e75f517cb9ca76d15695438)]: - - @launchpad-ui/tokens@0.11.0 - -## 0.7.23 - -### Patch Changes - -- Updated dependencies [[`6ab5b77`](https://github.com/launchdarkly/launchpad-ui/commit/6ab5b776c4dff94ad5be9a6fbf474126ae41c31c)]: - - @launchpad-ui/tokens@0.10.0 - -## 0.7.22 - -### Patch Changes - -- Updated dependencies [[`545560f`](https://github.com/launchdarkly/launchpad-ui/commit/545560fff3fdbfdabfa208e5662c21ae41a76322)]: - - @launchpad-ui/tokens@0.9.12 - -## 0.7.21 - -### Patch Changes - -- [#1314](https://github.com/launchdarkly/launchpad-ui/pull/1314) [`6a7eacd`](https://github.com/launchdarkly/launchpad-ui/commit/6a7eacde2339810283f9eaa0b2f965f425a919fb) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.20 - -### Patch Changes - -- Updated dependencies [[`bf904e8`](https://github.com/launchdarkly/launchpad-ui/commit/bf904e8ee2c27ee73d813f539cc5dfdf682e92fc)]: - - @launchpad-ui/tokens@0.9.11 - -## 0.7.19 - -### Patch Changes - -- [#1276](https://github.com/launchdarkly/launchpad-ui/pull/1276) [`18b34a0`](https://github.com/launchdarkly/launchpad-ui/commit/18b34a05e8d9866d564727c4568c038925021f2a) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.18 - -### Patch Changes - -- Updated dependencies [[`2002ab4`](https://github.com/launchdarkly/launchpad-ui/commit/2002ab411b61085099ded54cd94fbfc1d1b039d4)]: - - @launchpad-ui/tokens@0.9.10 - -## 0.7.17 - -### Patch Changes - -- [#1233](https://github.com/launchdarkly/launchpad-ui/pull/1233) [`d635813`](https://github.com/launchdarkly/launchpad-ui/commit/d63581359d661c6e8e40ce5ad2a6f2d557333db0) Thanks [@Niznikr](https://github.com/Niznikr)! - Tag deprecated components - -- [#1241](https://github.com/launchdarkly/launchpad-ui/pull/1241) [`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0) Thanks [@Niznikr](https://github.com/Niznikr)! - Add repository and license fields to package.json - -- Updated dependencies [[`28f0708`](https://github.com/launchdarkly/launchpad-ui/commit/28f070844e7d4b35d54634fd78faf534b5f897c0)]: - - @launchpad-ui/tokens@0.9.9 - -## 0.7.16 - -### Patch Changes - -- Updated dependencies [[`fdc91bb`](https://github.com/launchdarkly/launchpad-ui/commit/fdc91bb7630b1a84279ee7b6013d694fafb9fd39)]: - - @launchpad-ui/tokens@0.9.8 - -## 0.7.15 - -### Patch Changes - -- [#1183](https://github.com/launchdarkly/launchpad-ui/pull/1183) [`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`3b792b5`](https://github.com/launchdarkly/launchpad-ui/commit/3b792b5cb706338be57848a3773152aa6c4597dc)]: - - @launchpad-ui/tokens@0.9.7 - -## 0.7.14 - -### Patch Changes - -- Updated dependencies [[`31b5c98`](https://github.com/launchdarkly/launchpad-ui/commit/31b5c98c49768e62f6474c8696b40e9cb52ea25d)]: - - @launchpad-ui/tokens@0.9.6 - -## 0.7.13 - -### Patch Changes - -- [#1172](https://github.com/launchdarkly/launchpad-ui/pull/1172) [`42bc7f4`](https://github.com/launchdarkly/launchpad-ui/commit/42bc7f40eca3fb451d8e6764c0409ca38fdf6ece) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.12 - -### Patch Changes - -- Updated dependencies [[`2041cd5`](https://github.com/launchdarkly/launchpad-ui/commit/2041cd53385561cc3e02474f5d2c767f79603b58)]: - - @launchpad-ui/tokens@0.9.5 - -## 0.7.11 - -### Patch Changes - -- [#1156](https://github.com/launchdarkly/launchpad-ui/pull/1156) [`5fa37ae`](https://github.com/launchdarkly/launchpad-ui/commit/5fa37ae6952eeb1950738f8365d42cb6b665b93e) Thanks [@Niznikr](https://github.com/Niznikr)! - Change class pattern to `[hash]_[local]` - -## 0.7.10 - -### Patch Changes - -- Updated dependencies [[`8fed876`](https://github.com/launchdarkly/launchpad-ui/commit/8fed8760bb3242eda79a38a66582d85f8bf506ed)]: - - @launchpad-ui/tokens@0.9.4 - -## 0.7.9 - -### Patch Changes - -- Updated dependencies [[`91cfeaf`](https://github.com/launchdarkly/launchpad-ui/commit/91cfeafde3848c6a5e86536f747e38362ca523c1)]: - - @launchpad-ui/tokens@0.9.3 - -## 0.7.8 - -### Patch Changes - -- [#1114](https://github.com/launchdarkly/launchpad-ui/pull/1114) [`51987f5`](https://github.com/launchdarkly/launchpad-ui/commit/51987f538462e2a8378aa9e15a7ef99020c941c4) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.7 - -### Patch Changes - -- Updated dependencies [[`861c925`](https://github.com/launchdarkly/launchpad-ui/commit/861c92546a6689042336a51297ad600b957b6d21)]: - - @launchpad-ui/tokens@0.9.2 - -## 0.7.6 - -### Patch Changes - -- Updated dependencies [[`6ee9e107`](https://github.com/launchdarkly/launchpad-ui/commit/6ee9e1079ca8b87784963000728d3591fb0180b7)]: - - @launchpad-ui/tokens@0.9.1 - -## 0.7.5 - -### Patch Changes - -- Updated dependencies [[`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81), [`997f65fb`](https://github.com/launchdarkly/launchpad-ui/commit/997f65fbc84233ae0a55141ae88671382ba22f81)]: - - @launchpad-ui/tokens@0.9.0 - -## 0.7.3-alpha.1 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`941d2d60`](https://github.com/launchdarkly/launchpad-ui/commit/941d2d60c96f095e7043852f02bc6b5f157edb3b), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53), [`260d052f`](https://github.com/launchdarkly/launchpad-ui/commit/260d052f3f47043cca470747e7d861417873fa41)]: - - @launchpad-ui/tokens@0.9.0-alpha.2 - -## 0.7.3-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.1 - -## 0.7.1-alpha.0 - -### Patch Changes - -- Updated dependencies [[`00bee445`](https://github.com/launchdarkly/launchpad-ui/commit/00bee445065c0e48f31e1ca88105e5a418729c81), [`c041a984`](https://github.com/launchdarkly/launchpad-ui/commit/c041a984c3fd0c95f5e1e4a07416f6907ff75eac), [`3f9e1881`](https://github.com/launchdarkly/launchpad-ui/commit/3f9e1881f5d878ad6c0dc26ea1f8c5623605db53)]: - - @launchpad-ui/tokens@0.9.0-alpha.0 - -## 0.7.4 - -### Patch Changes - -- [#1076](https://github.com/launchdarkly/launchpad-ui/pull/1076) [`d7c33a5a`](https://github.com/launchdarkly/launchpad-ui/commit/d7c33a5aa04eee1f350c6a973da56f4770b70d39) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.3 - -### Patch Changes - -- [#1052](https://github.com/launchdarkly/launchpad-ui/pull/1052) [`d4d424c9`](https://github.com/launchdarkly/launchpad-ui/commit/d4d424c99a5aafb5937dd9f9ae71693e4cf076f6) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.7.2 - -### Patch Changes - -- Updated dependencies [[`9097483d`](https://github.com/launchdarkly/launchpad-ui/commit/9097483d04b22bbec5163a0b8ccc73594bd9e242)]: - - @launchpad-ui/tokens@0.8.2 - -## 0.7.1 - -### Patch Changes - -- Updated dependencies [[`a2c657c1`](https://github.com/launchdarkly/launchpad-ui/commit/a2c657c17c4e5f3d034ae77bdbdb855010e46fb1)]: - - @launchpad-ui/tokens@0.8.1 - -## 0.7.0 - -### Minor Changes - -- [#1033](https://github.com/launchdarkly/launchpad-ui/pull/1033) [`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a) Thanks [@Niznikr](https://github.com/Niznikr)! - Use base 16 font size - -### Patch Changes - -- Updated dependencies [[`aa584e87`](https://github.com/launchdarkly/launchpad-ui/commit/aa584e87cb9961b84bfd906eae25be85e141e47a)]: - - @launchpad-ui/tokens@0.8.0 - -## 0.6.10 - -### Patch Changes - -- [#1019](https://github.com/launchdarkly/launchpad-ui/pull/1019) [`30f06bd4`](https://github.com/launchdarkly/launchpad-ui/commit/30f06bd4d0401f41180cbdc671bee4d858f7fb29) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.6.9 - -### Patch Changes - -- Updated dependencies [[`757c82d5`](https://github.com/launchdarkly/launchpad-ui/commit/757c82d5574c519691521c413c10cd5932cebc9c)]: - - @launchpad-ui/tokens@0.7.1 - -## 0.6.8 - -### Patch Changes - -- [#996](https://github.com/launchdarkly/launchpad-ui/pull/996) [`e3395304`](https://github.com/launchdarkly/launchpad-ui/commit/e33953044d43482a6ef564d5cc2cf43117b23022) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.6.7 - -### Patch Changes - -- Updated dependencies [[`45d511ea`](https://github.com/launchdarkly/launchpad-ui/commit/45d511ea87c176e0cb12f2cdac885ef8cec91058)]: - - @launchpad-ui/tokens@0.7.0 - -## 0.6.6 - -### Patch Changes - -- [#965](https://github.com/launchdarkly/launchpad-ui/pull/965) [`fec67a1c`](https://github.com/launchdarkly/launchpad-ui/commit/fec67a1c3713ae80295a437076f8d5ea59edcd58) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- [#957](https://github.com/launchdarkly/launchpad-ui/pull/957) [`8595e29c`](https://github.com/launchdarkly/launchpad-ui/commit/8595e29caa3014143cde77800fbbeceb925ee1f2) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -## 0.6.5 - -### Patch Changes - -- [#922](https://github.com/launchdarkly/launchpad-ui/pull/922) [`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409) Thanks [@Niznikr](https://github.com/Niznikr)! - [Tokens] Add `0` and `base` suffix to default tokens: - - Primitives: - - - `lp-color-black-0` - - `lp-color-white-0` - - Aliases: - - - `lp-color-bg-interactive-primary-base` - - `lp-color-bg-interactive-secondary-base` - - `lp-color-bg-interactive-tertiary-base` - - `lp-color-bg-interactive-destructive-base` - - `lp-color-bg-field-base` - - `lp-color-border-field-base` - - `lp-color-border-interactive-primary-base` - - `lp-color-border-interactive-secondary-base` - - `lp-color-fill-field-base` - - `lp-color-text-feedback-base` - - `lp-color-text-interactive-base` - - `lp-color-text-ui-primary-base` - - `lp-color-text-field-base` - -- Updated dependencies [[`8f489f12`](https://github.com/launchdarkly/launchpad-ui/commit/8f489f1263f8641ed6b16f21765b41e23c0e7409)]: - - @launchpad-ui/tokens@0.6.0 - -## 0.6.4 - -### Patch Changes - -- Updated dependencies [[`068bf1cc`](https://github.com/launchdarkly/launchpad-ui/commit/068bf1cc5418a264c5be167cd5030b4f56bef03f)]: - - @launchpad-ui/tokens@0.5.8 - -## 0.6.3 - -### Patch Changes - -- [#900](https://github.com/launchdarkly/launchpad-ui/pull/900) [`4c9695e7`](https://github.com/launchdarkly/launchpad-ui/commit/4c9695e777b80c7a64d5ec6ef707acb0cce9dec0) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies - -- Updated dependencies [[`864b63c5`](https://github.com/launchdarkly/launchpad-ui/commit/864b63c5bdcdf0d52b322be6469b6edfedad4f31)]: - - @launchpad-ui/tokens@0.5.7 - -## 0.6.2 - -### Patch Changes - -- [#863](https://github.com/launchdarkly/launchpad-ui/pull/863) [`9b488612`](https://github.com/launchdarkly/launchpad-ui/commit/9b488612b0b685c6f0c1c08086c7696eb7dc3a61) Thanks [@renovate](https://github.com/apps/renovate)! - Update React Aria to v3.25.0 - -## 0.6.1 - -### Patch Changes - -- Updated dependencies [[`72d37d74`](https://github.com/launchdarkly/launchpad-ui/commit/72d37d74c553e2a3c5cfe0f8bc77ee3a47222d80)]: - - @launchpad-ui/tokens@0.5.6 - -## 0.6.0 - -### Minor Changes - -- [#798](https://github.com/launchdarkly/launchpad-ui/pull/798) [`9a8b5d6e`](https://github.com/launchdarkly/launchpad-ui/commit/9a8b5d6e6cc197da8e07b435fad664276dc9040c) Thanks [@chasedarkly](https://github.com/chasedarkly)! - [Toggle]: Rework component to use label around input checkbox toggle - -### Patch Changes - -- Updated dependencies [[`7760fefe`](https://github.com/launchdarkly/launchpad-ui/commit/7760fefea91fddf17f15163ce05f555215dc4b90)]: - - @launchpad-ui/tokens@0.5.5 - -## 0.5.5 - -### Patch Changes - -- [#767](https://github.com/launchdarkly/launchpad-ui/pull/767) [`b6a6b17f`](https://github.com/launchdarkly/launchpad-ui/commit/b6a6b17f4635dc1c32365a81cecaf22a9c088b3b) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Bump react-aria and react-stately versions - -## 0.5.4 - -### Patch Changes - -- Updated dependencies [[`c120d56c`](https://github.com/launchdarkly/launchpad-ui/commit/c120d56c7b4045cefa5520954dc7683159768625)]: - - @launchpad-ui/tokens@0.5.4 - -## 0.5.3 - -### Patch Changes - -- Updated dependencies [[`d5bd5d0d`](https://github.com/launchdarkly/launchpad-ui/commit/d5bd5d0de1cedc2d341beced3ac8239167a85108)]: - - @launchpad-ui/tokens@0.5.3 - -## 0.5.2 - -### Patch Changes - -- Updated dependencies [[`152aef91`](https://github.com/launchdarkly/launchpad-ui/commit/152aef9126c5291586b09b703795030f52a01bb1)]: - - @launchpad-ui/tokens@0.5.2 - -## 0.5.1 - -### Patch Changes - -- Updated dependencies [[`909a0fde`](https://github.com/launchdarkly/launchpad-ui/commit/909a0fdebf57634d5c100626cb432c35eac1c661)]: - - @launchpad-ui/tokens@0.5.1 - -## 0.5.0 - -### Minor Changes - -- [#719](https://github.com/launchdarkly/launchpad-ui/pull/719) [`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Refactor theme targeting to support nested themes - - To migrate: - Add `@import '@launchpad-ui/tokens/dist/themes.css';`. If you were previously importing `@import '@launchpad-ui/tokens/dist/dark.css';`, replace with the above, or remove. - - If you are modifying CSS variables based on the theme, prefer to explicitly declare the value depending on the theme. Nothing will break if you don't do this, but the code will not support nested theming if you don't explicitly set values depending on theme. - - **Instead of this:** - - ```css - .selector { - color: #000; - - [data-theme="dark"] & { - color: #fff; - } - } - ``` - - **Prefer this:** - - ```css - :root, - [data-theme="default"] { - --my-component-color-text: #000; - } - - [data-theme="dark"] { - --my-component-color-text: #fff; - } - - .my-component { - color: var(--my-component-color-text); - } - ``` - -### Patch Changes - -- Updated dependencies [[`3cf45ed4`](https://github.com/launchdarkly/launchpad-ui/commit/3cf45ed4df4c4472cb8dcf48ef1cd5e7916a35ad)]: - - @launchpad-ui/tokens@0.5.0 - -## 0.4.21 - -### Patch Changes - -- [#610](https://github.com/launchdarkly/launchpad-ui/pull/610) [`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10) Thanks [@renovate](https://github.com/apps/renovate)! - Update nonmajor versions across framework - -- Updated dependencies [[`c76ec2ad`](https://github.com/launchdarkly/launchpad-ui/commit/c76ec2adf7e135faa32d6ee39b66886cbb2a1f10)]: - - @launchpad-ui/tokens@0.4.10 - -## 0.4.20 - -### Patch Changes - -- Updated dependencies [[`808902f7`](https://github.com/launchdarkly/launchpad-ui/commit/808902f71c0b410adf86b0ee1683a2d36c4cdb22)]: - - @launchpad-ui/tokens@0.4.9 - -## 0.4.19 - -### Patch Changes - -- Updated dependencies [[`f2ae1a80`](https://github.com/launchdarkly/launchpad-ui/commit/f2ae1a80d678a1a61dee407b8574e4c52f55299f)]: - - @launchpad-ui/tokens@0.4.8 - -## 0.4.18 - -### Patch Changes - -- [#633](https://github.com/launchdarkly/launchpad-ui/pull/633) [`4d40aa2e`](https://github.com/launchdarkly/launchpad-ui/commit/4d40aa2ee768f182ed28d13d42c93c438d446e15) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update third party dependencies to pin versions to match consumer app - -## 0.4.17 - -### Patch Changes - -- [#629](https://github.com/launchdarkly/launchpad-ui/pull/629) [`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Update Vite build tool to 4.0 - -- Updated dependencies [[`183e328e`](https://github.com/launchdarkly/launchpad-ui/commit/183e328e9f315a26c0af4de9ebba51108868bdde), [`b744011d`](https://github.com/launchdarkly/launchpad-ui/commit/b744011dccd525faa534f8def5ee8af2e346268a), [`94fe4b9a`](https://github.com/launchdarkly/launchpad-ui/commit/94fe4b9ada726c190701555c0f5bdca3e8ec610d)]: - - @launchpad-ui/tokens@0.4.7 - -## 0.4.16 - -### Patch Changes - -- Updated dependencies [[`9064d45c`](https://github.com/launchdarkly/launchpad-ui/commit/9064d45cf157f7ded1a11a100940bd144f410fd6)]: - - @launchpad-ui/tokens@0.4.6 - -## 0.4.15 - -### Patch Changes - -- Updated dependencies [[`c48e0b4f`](https://github.com/launchdarkly/launchpad-ui/commit/c48e0b4fff3e0792b453f9173459fd197871f3d0)]: - - @launchpad-ui/tokens@0.4.5 - -## 0.4.14 - -### Patch Changes - -- Updated dependencies [[`57484ab9`](https://github.com/launchdarkly/launchpad-ui/commit/57484ab9998ef50a32ab51bb9c0286b7be84fdb2), [`4c2dc031`](https://github.com/launchdarkly/launchpad-ui/commit/4c2dc0315fe0742ad78b706552d7c7e8e87f8e0e)]: - - @launchpad-ui/tokens@0.4.4 - -## 0.4.13 - -### Patch Changes - -- Updated dependencies [[`9b37d196`](https://github.com/launchdarkly/launchpad-ui/commit/9b37d196a691fd6a4ca0f989c4121b8683d8f7cb)]: - - @launchpad-ui/tokens@0.4.3 - -## 0.4.12 - -### Patch Changes - -- Updated dependencies [[`c0840e07`](https://github.com/launchdarkly/launchpad-ui/commit/c0840e07ba5a4f3da47b792d27680bc2549169f5)]: - - @launchpad-ui/tokens@0.4.2 - -## 0.4.11 - -### Patch Changes - -- Updated dependencies [[`353eccef`](https://github.com/launchdarkly/launchpad-ui/commit/353eccefd155dd95c0221c7e8960ca14afb4baad)]: - - @launchpad-ui/tokens@0.4.1 - -## 0.4.10 - -### Patch Changes - -- Updated dependencies [[`71549774`](https://github.com/launchdarkly/launchpad-ui/commit/71549774aad5dcd0887379beba474e2371d320e6), [`9c9429e3`](https://github.com/launchdarkly/launchpad-ui/commit/9c9429e3707c9f229357875f9278755b3f3d7eda)]: - - @launchpad-ui/tokens@0.4.0 - -## 0.4.9 - -### Patch Changes - -- Updated dependencies [[`6dc1470`](https://github.com/launchdarkly/launchpad-ui/commit/6dc1470e52b9f2f1b4dae8800fa8fd6d2bc74a46)]: - - @launchpad-ui/tokens@0.3.2 - -## 0.4.8 - -### Patch Changes - -- [`6f95e6f`](https://github.com/launchdarkly/launchpad-ui/commit/6f95e6f608459ec4e812ae36e79cad0e128db377) Thanks [@renovate[bot]](https://github.com/renovate%5Bbot%5D)! - Update dependencies - -## 0.4.7 - -### Patch Changes - -- Updated dependencies [[`d80297f`](https://github.com/launchdarkly/launchpad-ui/commit/d80297fad893c9db566ed029e302702d5f245a98)]: - - @launchpad-ui/tokens@0.3.1 - -## 0.4.6 - -### Patch Changes - -- Updated dependencies [[`baeacd7`](https://github.com/launchdarkly/launchpad-ui/commit/baeacd7b80d60f36f4962f090d87a0009f28b44e)]: - - @launchpad-ui/tokens@0.3.0 - -## 0.4.5 - -### Patch Changes - -- Updated dependencies [[`4090f93`](https://github.com/launchdarkly/launchpad-ui/commit/4090f93ba98ea6f75a7f9f7b902fafcfb9b005b3)]: - - @launchpad-ui/tokens@0.2.0 - -## 0.4.4 - -### Patch Changes - -- [#509](https://github.com/launchdarkly/launchpad-ui/pull/509) [`1e5796b`](https://github.com/launchdarkly/launchpad-ui/commit/1e5796b7b99a2704bba22623a518ff7e8776ebf8) Thanks [@Niznikr](https://github.com/Niznikr)! - Update dependencies - -## 0.4.3 - -### Patch Changes - -- [#449](https://github.com/launchdarkly/launchpad-ui/pull/449) [`760d6ff`](https://github.com/launchdarkly/launchpad-ui/commit/760d6ff4b95f6f108105295611ae7a7f2af9bfaa) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -## 0.4.3-alpha.0 - -### Patch Changes - -- [#429](https://github.com/launchdarkly/launchpad-ui/pull/429) [`97eb67b`](https://github.com/launchdarkly/launchpad-ui/commit/97eb67bf95e40709084949c03248dc5673849873) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Pin monorepo packages - -## 0.4.2 - -### Patch Changes - -- [#418](https://github.com/launchdarkly/launchpad-ui/pull/418) [`eda2e2a`](https://github.com/launchdarkly/launchpad-ui/commit/eda2e2afc833896d4afec98ced054e1239f18310) Thanks [@Niznikr](https://github.com/Niznikr)! - [Toggle] Update to css modules - -## 0.4.1 - -### Patch Changes - -- [#409](https://github.com/launchdarkly/launchpad-ui/pull/409) [`b641978`](https://github.com/launchdarkly/launchpad-ui/commit/b64197803c1ea2a38f8cc755daca4c55760718ab) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Added explicit `data-test-id` properties to components and reworked e2e test to use them instead of classname, in preparation for removal of stable class names - - [Alert] Add `data-test-id` with default value to components - [Avatar] Add `data-test-id` with default value to components - [Banner] Add `data-test-id` with default value to components - [Button] Add `data-test-id` with default value to components - [Chip] Add `data-test-id` with default value to components - [Clipboard] Add `data-test-id` with default value to components - [Counter] Add `data-test-id` with default value to components - [Dropdown] Add `data-test-id` with default value to components - [Filter] Add `data-test-id` with default value to components - [Form] Add `data-test-id` with default value to components - [Icons] Add `data-test-id` with default value to components - [Markdown] Add `data-test-id` with default value to components - [Menu] Add `data-test-id` with default value to components - [Modal] Add `data-test-id` with default value to components - [Navigation] Add `data-test-id` with default value to components - [Notification] Add `data-test-id` with default value to components - [Pagination] Add `data-test-id` with default value to components - [Popover] Add `data-test-id` with default value to components - [Progress] Add `data-test-id` with default value to components - [Progress] Add `data-test-id` with default value to components - [Slider] Add `data-test-id` with default value to components - [Split] Add `data-test-id` with default value to components - [Tab] Add `data-test-id` with default value to components - [Table] Add `data-test-id` with default value to components - [Toggle] Add `data-test-id` with default value to components - [Tooltip] Add `data-test-id` with default value to components - -## 0.4.0 - -### Minor Changes - -- [#324](https://github.com/launchdarkly/launchpad-ui/pull/324) [`0ce0a50`](https://github.com/launchdarkly/launchpad-ui/commit/0ce0a50b8401ec39ef290605a2789c987c6264ce) Thanks [@Niznikr](https://github.com/Niznikr)! - Use vite for builds: - - Each package's styles are now located in a single `style.css` within the root: - - Before: - - ```js - import alertStyles from "@launchpad-ui/alert/styles/Alert.css"; - ``` - - After: - - ```js - import alertStyles from "@launchpad-ui/alert/style.css"; - ``` - - The `core` package no longer bundles styles. If you need to import stylesheets for the components (in a Remix app for example) simply import them from the individual packages that come included when you install the `core` package. - -## 0.3.1 - -### Patch Changes - -- [#308](https://github.com/launchdarkly/launchpad-ui/pull/308) [`57e9aa3`](https://github.com/launchdarkly/launchpad-ui/commit/57e9aa3748b59b2601be5ede39423dcc79c0fa43) Thanks [@Niznikr](https://github.com/Niznikr)! - Replace clsx with classix for joining classNames - -## 0.3.0 - -### Minor Changes - -- [#273](https://github.com/launchdarkly/launchpad-ui/pull/273) [`d74c632`](https://github.com/launchdarkly/launchpad-ui/commit/d74c6321e0359b7a328acf33eaecef6937448356) Thanks [@Niznikr](https://github.com/Niznikr)! - Set minimum React version to 18 - -## 0.2.2 - -### Patch Changes - -- [#237](https://github.com/launchdarkly/launchpad-ui/pull/237) [`d2d29a2`](https://github.com/launchdarkly/launchpad-ui/commit/d2d29a2489ab111511e98ce1036d419d97ffa0ed) Thanks [@Niznikr](https://github.com/Niznikr)! - Update `@react-aria` for smaller bundle sizes - -## 0.2.1 - -### Patch Changes - -- [#146](https://github.com/launchdarkly/launchpad-ui/pull/146) [`e081ce3`](https://github.com/launchdarkly/launchpad-ui/commit/e081ce335848eef3041212964f2e65d72870fbea) Thanks [@Niznikr](https://github.com/Niznikr)! - Add alias tokens: - - - Add alias tokens and use in component styles - - Add dark theme custom properties and deliver as `dark.css` - - Add theme toggle in Storybook - -- Updated dependencies [[`e081ce3`](https://github.com/launchdarkly/launchpad-ui/commit/e081ce335848eef3041212964f2e65d72870fbea)]: - - @launchpad-ui/tokens@0.1.5 - -## 0.2.0 - -### Minor Changes - -- [#138](https://github.com/launchdarkly/launchpad-ui/pull/138) [`7918749`](https://github.com/launchdarkly/launchpad-ui/commit/79187498674a2218102f2835e58d7a735129d4f4) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Move stylesheets to styles folder in src for more consistency across packages - -## 0.1.3 - -### Patch Changes - -- [#109](https://github.com/launchdarkly/launchpad-ui/pull/109) [`5e26ff6`](https://github.com/launchdarkly/launchpad-ui/commit/5e26ff6ed36e712fa31dcd0c4362178e0075cb28) Thanks [@chasedarkly](https://github.com/chasedarkly)! - Migrate from classnames to clsx package - -## 0.1.2 - -### Patch Changes - -- Updated dependencies [[`64596df`](https://github.com/launchdarkly/launchpad-ui/commit/64596df8d4116e0008f135867b47a64cb175977c)]: - - @launchpad-ui/tokens@0.1.4 - -## 0.1.1 - -### Patch Changes - -- Updated dependencies [[`45e786a`](https://github.com/launchdarkly/launchpad-ui/commit/45e786a9972406fbf0f93f73aeeaa81d1fded4f8)]: - - @launchpad-ui/tokens@0.1.3 - -## 0.1.0 - -### Minor Changes - -- [#38](https://github.com/launchdarkly/launchpad-ui/pull/38) [`7a77ecf`](https://github.com/launchdarkly/launchpad-ui/commit/7a77ecfeae37faafc3d3e6dcb6704690937e9362) Thanks [@Niznikr](https://github.com/Niznikr)! - Add toggle package: - - - Add toggle code, stories, and tests - - Add Storybook utils diff --git a/packages/toggle/README.md b/packages/toggle/README.md deleted file mode 100644 index 6c8bd53d3..000000000 --- a/packages/toggle/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# @launchpad-ui/toggle - -> An element that represents on/off values as opposed to selection. - -[![See it on NPM!](https://img.shields.io/npm/v/@launchpad-ui/toggle?style=for-the-badge)](https://www.npmjs.com/package/@launchpad-ui/toggle) -[![How big is this package in your project?](https://img.shields.io/bundlephobia/minzip/@launchpad-ui/toggle?style=for-the-badge)](https://bundlephobia.com/result?p=@launchpad-ui/toggle) - -## Installation - -```sh -$ yarn add @launchpad-ui/toggle -# or -$ npm install @launchpad-ui/toggle -``` diff --git a/packages/toggle/__tests__/Toggle.spec.tsx b/packages/toggle/__tests__/Toggle.spec.tsx deleted file mode 100644 index fd2165371..000000000 --- a/packages/toggle/__tests__/Toggle.spec.tsx +++ /dev/null @@ -1,118 +0,0 @@ -import { describe, expect, it, vi } from 'vitest'; - -import { render, screen, userEvent, waitFor } from '../../../test/utils'; -import { Toggle } from '../src'; - -describe('Toggle', () => { - it('renders a Toggle', async () => { - const toggleProps = { - value: 'cats', - }; - render(); - - expect(screen.getByRole('switch')).toBeInTheDocument(); - }); - - it('can be reached with the keyboard', async () => { - const toggleProps = { - value: 'cats', - }; - const user = userEvent.setup(); - render(); - - const toggle = screen.getByRole('switch'); - - await user.tab(); - - expect(toggle).toHaveFocus(); - await user.keyboard('[Space]'); - expect(toggle).toBeChecked(); - }); - - it('renders an unchecked Toggle', async () => { - const toggleProps = { - value: 'cats', - }; - render(); - - const toggle = screen.getByRole('switch'); - - expect((toggle as HTMLInputElement).value).toBe('cats'); - expect(toggle).not.toBeChecked(); - expect(toggle).not.toHaveAttribute('checked', ''); - }); - - it('renders a checked Toggle', async () => { - const toggleProps = { - value: 'cats', - }; - const user = userEvent.setup(); - render(); - - const toggle = screen.getByRole('switch'); - - await waitFor(async () => { - await user.click(toggle); - }); - - expect(toggle).toBeChecked(); - }); - - it('renders a Toggle with an aria-label', async () => { - const toggleProps = { - 'aria-label': 'Cats', - value: 'cats', - }; - render(); - - const toggle = screen.getByRole('switch'); - - expect(toggle).toHaveAttribute('aria-label', 'Cats'); - }); - - it('renders a Toggle with aria-labelledby', async () => { - const toggleProps = { - 'aria-labelledby': 'CatsId', - value: 'cats', - }; - render( -
- Cats - -
, - ); - - const toggle = screen.getByRole('switch'); - - expect(toggle).toHaveAttribute('aria-labelledby', 'CatsId'); - }); - - it('renders a disabled Toggle', async () => { - const toggleProps = { - value: 'cats', - isDisabled: true, - }; - render(); - - const toggle = screen.getByRole('switch'); - - expect(toggle).toBeDisabled(); - }); - - it('calls onChange when toggled', async () => { - const spy = vi.fn(); - const toggleProps = { - value: 'cats', - }; - const user = userEvent.setup(); - render(); - - const toggle = screen.getByRole('switch'); - - await waitFor(async () => { - await user.click(toggle); - }); - - expect(spy).toHaveBeenCalledTimes(1); - }); -}); diff --git a/packages/toggle/package.json b/packages/toggle/package.json deleted file mode 100644 index 340539fa2..000000000 --- a/packages/toggle/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@launchpad-ui/toggle", - "version": "0.7.31", - "status": "beta", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/launchdarkly/launchpad-ui" - }, - "description": "An element that represents on/off values as opposed to selection.", - "license": "Apache-2.0", - "files": ["dist"], - "main": "dist/index.js", - "module": "dist/index.es.js", - "types": "dist/index.d.ts", - "sideEffects": ["**/*.css"], - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.es.js", - "require": "./dist/index.js" - }, - "./package.json": "./package.json", - "./style.css": "./dist/style.css" - }, - "source": "src/index.ts", - "scripts": { - "build": "vite build -c ../../vite.config.mts && tsc --project tsconfig.build.json", - "clean": "rm -rf dist", - "test": "vitest run --coverage" - }, - "dependencies": { - "@launchpad-ui/tokens": "workspace:~", - "@react-aria/focus": "3.18.3", - "@react-aria/switch": "3.6.8", - "@react-stately/toggle": "3.7.8", - "classix": "2.2.0" - }, - "peerDependencies": { - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "@react-types/shared": "3.25.0", - "react": "18.3.1", - "react-dom": "18.3.1" - } -} diff --git a/packages/toggle/src/Toggle.tsx b/packages/toggle/src/Toggle.tsx deleted file mode 100644 index a914ee584..000000000 --- a/packages/toggle/src/Toggle.tsx +++ /dev/null @@ -1,102 +0,0 @@ -import type { - AriaLabelingProps, - FocusableDOMProps, - FocusableProps, - InputBase, -} from '@react-types/shared'; - -import { FocusRing } from '@react-aria/focus'; -import { useSwitch } from '@react-aria/switch'; -import { useToggleState } from '@react-stately/toggle'; -import { cx } from 'classix'; -import { useId, useRef } from 'react'; - -import styles from './styles/Toggle.module.css'; - -type ToggleProps = InputBase & - FocusableProps & - FocusableDOMProps & - AriaLabelingProps & { - /** - * Whether the Switch should be selected (uncontrolled). - */ - defaultSelected?: boolean; - /** - * Whether the Switch should be selected (controlled). - */ - isSelected?: boolean; - /** - * Handler that is called when the Switch's selection state changes. - */ - onChange?: (isSelected: boolean) => void; - /** - * The value of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefvalue). - */ - value?: string; - /** - * The name of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname). - */ - name?: string; - - 'data-test-id'?: string; - - className?: string; - }; - -/** - * The react-aria library requires us to leverage useToggleState and useRef - * to pass into the useSwitch hook. The props are deconstructed in the body of the - * function rather than in the parameters. - * The VisuallyHidden component from the react-aria library adds some extra - * goodness (the useFocus hook is leveraged). - */ - -/** - * @deprecated use `Switch` from `@launchpad-ui/components` instead - * - * https://launchpad.launchdarkly.com/?path=/docs/components-forms-switch--docs - */ -const Toggle = (props: ToggleProps) => { - const { className, isDisabled = false, autoFocus, 'data-test-id': testId = 'toggle' } = props; - - const id = useId(); - const state = useToggleState(props); - const inputRef = useRef(null); - - // don't use `checked` prop, instead use `defaultChecked` - // https://stackoverflow.com/questions/26615779/react-checkbox-not-sending-onchange - const { - inputProps: { checked: _checked, ...inputProps }, - } = useSwitch({ ...props, id }, state, inputRef); - - const classes = cx( - styles.Toggle, - className, - state.isSelected && styles['Toggle--on'], - isDisabled && styles['Toggle--disabled'], - ); - - return ( -