diff --git a/.changeset/four-theme-slots.md b/.changeset/four-theme-slots.md deleted file mode 100644 index ba7edab..0000000 --- a/.changeset/four-theme-slots.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -'@precursor/badge': patch -'@precursor/bleed': minor -'@precursor/blockquote': patch -'@precursor/button': patch -'@precursor/checkbox': patch -'@precursor/code': patch -'@precursor/divider': minor -'@precursor/grid': patch -'@precursor/heading': minor -'@precursor/inline': patch -'@precursor/input': patch -'@precursor/keyboard': patch -'@precursor/label': patch -'@precursor/lozenge': patch -'@precursor/message': patch -'@precursor/modal': patch -'@precursor/panel': patch -'@precursor/radio': patch -'@precursor/range': patch -'@precursor/select': patch -'@precursor/skeleton': patch -'@precursor/spinner': patch -'@precursor/stack': patch -'@precursor/tabs': patch -'@precursor/text': minor -'@precursor/textarea': patch -'@precursor/theme': major -'@precursor/toggle': patch -'@precursor/tokens': major ---- - -Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. - -Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. - -Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. diff --git a/.changeset/full-width-grid-rows.md b/.changeset/full-width-grid-rows.md deleted file mode 100644 index e3ff44d..0000000 --- a/.changeset/full-width-grid-rows.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@precursor/grid': patch ---- - -Span each Row across the parent Grid and align its columns with the parent tracks. A single child fills the row by default. diff --git a/.changeset/native-overlays-and-variants.md b/.changeset/native-overlays-and-variants.md deleted file mode 100644 index a175eea..0000000 --- a/.changeset/native-overlays-and-variants.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@precursor/button': minor -'@precursor/checkbox': minor -'@precursor/modal': minor -'@precursor/popup': minor -'@precursor/tabs': minor -'@precursor/tokens': minor ---- - -Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. diff --git a/.changeset/static-precursor-styles.md b/.changeset/static-precursor-styles.md deleted file mode 100644 index e92a319..0000000 --- a/.changeset/static-precursor-styles.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -'@precursor/avatar': major -'@precursor/badge': major -'@precursor/blockquote': major -'@precursor/button': major -'@precursor/checkbox': major -'@precursor/code': major -'@precursor/emoji': major -'@precursor/grid': major -'@precursor/heading': major -'@precursor/image': major -'@precursor/inline': major -'@precursor/input': major -'@precursor/keyboard': major -'@precursor/label': major -'@precursor/list': major -'@precursor/lozenge': major -'@precursor/message': major -'@precursor/modal': major -'@precursor/overlay': major -'@precursor/panel': major -'@precursor/radio': major -'@precursor/range': major -'@precursor/select': major -'@precursor/skeleton': major -'@precursor/spinner': major -'@precursor/stack': major -'@precursor/tabs': major -'@precursor/text': major -'@precursor/textarea': major -'@precursor/theme': major -'@precursor/toggle': major ---- - -Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. diff --git a/.changeset/trousers-named-insets.md b/.changeset/trousers-named-insets.md deleted file mode 100644 index 9bdf397..0000000 --- a/.changeset/trousers-named-insets.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -'@precursor/avatar': patch -'@precursor/badge': patch -'@precursor/bleed': patch -'@precursor/blockquote': patch -'@precursor/button': patch -'@precursor/checkbox': patch -'@precursor/code': patch -'@precursor/divider': patch -'@precursor/grid': patch -'@precursor/heading': patch -'@precursor/image': patch -'@precursor/inline': patch -'@precursor/input': patch -'@precursor/keyboard': patch -'@precursor/label': patch -'@precursor/list': patch -'@precursor/lozenge': patch -'@precursor/message': patch -'@precursor/modal': patch -'@precursor/panel': patch -'@precursor/popup': patch -'@precursor/radio': patch -'@precursor/range': patch -'@precursor/select': patch -'@precursor/skeleton': patch -'@precursor/spinner': patch -'@precursor/stack': patch -'@precursor/tabs': patch -'@precursor/text': patch -'@precursor/textarea': patch -'@precursor/theme': patch -'@precursor/toggle': patch -'@precursor/tokens': minor ---- - -Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. diff --git a/.changeset/workspace-package-exports.md b/.changeset/workspace-package-exports.md deleted file mode 100644 index cd732e0..0000000 --- a/.changeset/workspace-package-exports.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@precursor/copy-to-clipboard': patch -'@precursor/tokens': patch -'@precursor/types': patch ---- - -Publish JavaScript and types for both ESM and CommonJS consumers. Remove a trailing semicolon from the default font-family token so it can be applied as an inline style. diff --git a/packages/common/copy-to-clipboard/CHANGELOG.md b/packages/common/copy-to-clipboard/CHANGELOG.md index 7c27cd6..bc99804 100644 --- a/packages/common/copy-to-clipboard/CHANGELOG.md +++ b/packages/common/copy-to-clipboard/CHANGELOG.md @@ -1,5 +1,11 @@ # @precursor/copy-to-clipboard +## 0.1.3 + +### Patch Changes + +- 91fc636: Publish JavaScript and types for both ESM and CommonJS consumers. Remove a trailing semicolon from the default font-family token so it can be applied as an inline style. + ## 0.1.2 ### Patch Changes diff --git a/packages/common/copy-to-clipboard/package.json b/packages/common/copy-to-clipboard/package.json index eea3110..6cfefa8 100644 --- a/packages/common/copy-to-clipboard/package.json +++ b/packages/common/copy-to-clipboard/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/copy-to-clipboard", - "version": "0.1.2", + "version": "0.1.3", "description": "Copy to clipboard utility", "license": "MIT", "repository": { diff --git a/packages/common/types/CHANGELOG.md b/packages/common/types/CHANGELOG.md index 3757654..8b07640 100644 --- a/packages/common/types/CHANGELOG.md +++ b/packages/common/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @precursor/types +## 0.1.3 + +### Patch Changes + +- 91fc636: Publish JavaScript and types for both ESM and CommonJS consumers. Remove a trailing semicolon from the default font-family token so it can be applied as an inline style. + ## 0.1.2 ### Patch Changes diff --git a/packages/common/types/package.json b/packages/common/types/package.json index 236bd8e..ae8986d 100644 --- a/packages/common/types/package.json +++ b/packages/common/types/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/types", - "version": "0.1.2", + "version": "0.1.3", "license": "MIT", "repository": { "type": "git", diff --git a/packages/components/avatar/CHANGELOG.md b/packages/components/avatar/CHANGELOG.md index 004afc5..4b054d0 100644 --- a/packages/components/avatar/CHANGELOG.md +++ b/packages/components/avatar/CHANGELOG.md @@ -1,5 +1,18 @@ # @precursor/avatar +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/image@1.0.0 + ## 0.1.5 ### Patch Changes diff --git a/packages/components/avatar/package.json b/packages/components/avatar/package.json index 7acb3bf..6dc2268 100644 --- a/packages/components/avatar/package.json +++ b/packages/components/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/avatar", - "version": "0.1.5", + "version": "1.0.0", "description": "Avatar component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/image": "^0.1.3", + "@precursor/image": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/badge/CHANGELOG.md b/packages/components/badge/CHANGELOG.md index a22a483..0a7af62 100644 --- a/packages/components/badge/CHANGELOG.md +++ b/packages/components/badge/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/badge +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.6 ### Patch Changes diff --git a/packages/components/badge/package.json b/packages/components/badge/package.json index 2b0e742..abc2376 100644 --- a/packages/components/badge/package.json +++ b/packages/components/badge/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/badge", - "version": "0.1.6", + "version": "1.0.0", "description": "Badge component", "license": "MIT", "repository": { diff --git a/packages/components/button/CHANGELOG.md b/packages/components/button/CHANGELOG.md index e117b1c..9191fba 100644 --- a/packages/components/button/CHANGELOG.md +++ b/packages/components/button/CHANGELOG.md @@ -1,5 +1,29 @@ # @precursor/button +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/spinner@1.0.0 + - @precursor/theme@1.0.0 + ## 0.1.8 ### Patch Changes diff --git a/packages/components/button/package.json b/packages/components/button/package.json index 89061f8..ab91ede 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/button", - "version": "0.1.8", + "version": "1.0.0", "description": "button component", "license": "MIT", "repository": { @@ -38,8 +38,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/spinner": "^0.1.1", - "@precursor/theme": "^0.1.7", + "@precursor/spinner": "^1.0.0", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/checkbox/CHANGELOG.md b/packages/components/checkbox/CHANGELOG.md index a022fa7..0c0587f 100644 --- a/packages/components/checkbox/CHANGELOG.md +++ b/packages/components/checkbox/CHANGELOG.md @@ -1,5 +1,28 @@ # @precursor/checkbox +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/input@1.0.0 + ## 0.1.4 ### Patch Changes diff --git a/packages/components/checkbox/package.json b/packages/components/checkbox/package.json index e8aa762..f938f7b 100644 --- a/packages/components/checkbox/package.json +++ b/packages/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/checkbox", - "version": "0.1.4", + "version": "1.0.0", "description": "Checkbox component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/input": "^0.1.7", + "@precursor/input": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/code/CHANGELOG.md b/packages/components/code/CHANGELOG.md index f0e8fcc..923e2a7 100644 --- a/packages/components/code/CHANGELOG.md +++ b/packages/components/code/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/code +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.6 ### Patch Changes diff --git a/packages/components/code/package.json b/packages/components/code/package.json index 7c03081..99c8ca2 100644 --- a/packages/components/code/package.json +++ b/packages/components/code/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/code", - "version": "0.1.6", + "version": "1.0.0", "description": "code component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/image/CHANGELOG.md b/packages/components/image/CHANGELOG.md index f955685..0d6eaba 100644 --- a/packages/components/image/CHANGELOG.md +++ b/packages/components/image/CHANGELOG.md @@ -1,5 +1,15 @@ # @precursor/image +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.3 ### Patch Changes diff --git a/packages/components/image/package.json b/packages/components/image/package.json index 650b0c2..d0f87d0 100644 --- a/packages/components/image/package.json +++ b/packages/components/image/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/image", - "version": "0.1.3", + "version": "1.0.0", "description": "image component", "license": "MIT", "repository": { diff --git a/packages/components/input/CHANGELOG.md b/packages/components/input/CHANGELOG.md index e5e7c8d..f7a742e 100644 --- a/packages/components/input/CHANGELOG.md +++ b/packages/components/input/CHANGELOG.md @@ -1,5 +1,26 @@ # @precursor/input +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + - @precursor/types@0.1.3 + ## 0.1.7 ### Patch Changes diff --git a/packages/components/input/package.json b/packages/components/input/package.json index 19a9fd3..5abab94 100644 --- a/packages/components/input/package.json +++ b/packages/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/input", - "version": "0.1.7", + "version": "1.0.0", "description": "input component", "license": "MIT", "repository": { @@ -38,8 +38,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", - "@precursor/types": "^0.1.2", + "@precursor/theme": "^1.0.0", + "@precursor/types": "^0.1.3", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/keyboard/CHANGELOG.md b/packages/components/keyboard/CHANGELOG.md index cdc1762..6668c40 100644 --- a/packages/components/keyboard/CHANGELOG.md +++ b/packages/components/keyboard/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/keyboard +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/components/keyboard/package.json b/packages/components/keyboard/package.json index efa7561..3741947 100644 --- a/packages/components/keyboard/package.json +++ b/packages/components/keyboard/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/keyboard", - "version": "0.1.3", + "version": "1.0.0", "description": "keyboard combo component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.5", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/label/CHANGELOG.md b/packages/components/label/CHANGELOG.md index 3dd58e0..d2c20c9 100644 --- a/packages/components/label/CHANGELOG.md +++ b/packages/components/label/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/label +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.7 ### Patch Changes diff --git a/packages/components/label/package.json b/packages/components/label/package.json index bc5ba75..508c981 100644 --- a/packages/components/label/package.json +++ b/packages/components/label/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/label", - "version": "0.1.7", + "version": "1.0.0", "description": "label component", "license": "MIT", "repository": { diff --git a/packages/components/lozenge/CHANGELOG.md b/packages/components/lozenge/CHANGELOG.md index 37cf982..f35f7bf 100644 --- a/packages/components/lozenge/CHANGELOG.md +++ b/packages/components/lozenge/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/lozenge +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.1 ### Patch Changes diff --git a/packages/components/lozenge/package.json b/packages/components/lozenge/package.json index 54adf2b..afed6e2 100644 --- a/packages/components/lozenge/package.json +++ b/packages/components/lozenge/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/lozenge", - "version": "0.1.1", + "version": "1.0.0", "description": "lozenge component", "license": "MIT", "repository": { diff --git a/packages/components/message/CHANGELOG.md b/packages/components/message/CHANGELOG.md index a620ebc..0a75820 100644 --- a/packages/components/message/CHANGELOG.md +++ b/packages/components/message/CHANGELOG.md @@ -1,5 +1,25 @@ # @precursor/message +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/text@1.0.0 + - @precursor/theme@1.0.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/components/message/package.json b/packages/components/message/package.json index 5496e12..9e0286d 100644 --- a/packages/components/message/package.json +++ b/packages/components/message/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/message", - "version": "0.1.1", + "version": "1.0.0", "description": "message component", "license": "MIT", "repository": { @@ -38,8 +38,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/text": "^0.1.5", - "@precursor/theme": "^0.1.7", + "@precursor/text": "^1.0.0", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/modal/CHANGELOG.md b/packages/components/modal/CHANGELOG.md index 5ab15c2..0c2eb9c 100644 --- a/packages/components/modal/CHANGELOG.md +++ b/packages/components/modal/CHANGELOG.md @@ -1,5 +1,29 @@ # @precursor/modal +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/heading@1.0.0 + - @precursor/inline@1.0.0 + ## 0.1.6 ### Patch Changes diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index 6dd7760..7e7a2c0 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/modal", - "version": "0.1.6", + "version": "1.0.0", "description": "modal component", "license": "MIT", "repository": { @@ -38,8 +38,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/heading": "^0.1.7", - "@precursor/inline": "^0.1.1", + "@precursor/heading": "^1.0.0", + "@precursor/inline": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/overlay/CHANGELOG.md b/packages/components/overlay/CHANGELOG.md index cf51ae9..f715f2f 100644 --- a/packages/components/overlay/CHANGELOG.md +++ b/packages/components/overlay/CHANGELOG.md @@ -1,5 +1,11 @@ # @precursor/overlay +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + ## 0.1.4 ### Patch Changes diff --git a/packages/components/overlay/package.json b/packages/components/overlay/package.json index 26e25ef..cdc51f1 100644 --- a/packages/components/overlay/package.json +++ b/packages/components/overlay/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/overlay", - "version": "0.1.4", + "version": "1.0.0", "description": "Overlay component", "license": "MIT", "repository": { diff --git a/packages/components/panel/CHANGELOG.md b/packages/components/panel/CHANGELOG.md index 233b5b3..4ca1b59 100644 --- a/packages/components/panel/CHANGELOG.md +++ b/packages/components/panel/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/panel +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.6 ### Patch Changes diff --git a/packages/components/panel/package.json b/packages/components/panel/package.json index 5170bc9..603b587 100644 --- a/packages/components/panel/package.json +++ b/packages/components/panel/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/panel", - "version": "0.1.6", + "version": "1.0.0", "description": "panel component", "license": "MIT", "repository": { diff --git a/packages/components/popup/CHANGELOG.md b/packages/components/popup/CHANGELOG.md new file mode 100644 index 0000000..bb2646e --- /dev/null +++ b/packages/components/popup/CHANGELOG.md @@ -0,0 +1,11 @@ +# @precursor/popup + +## 0.1.0 + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. diff --git a/packages/components/popup/package.json b/packages/components/popup/package.json index 2ba64c8..c1d119f 100644 --- a/packages/components/popup/package.json +++ b/packages/components/popup/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/popup", - "version": "0.0.0", + "version": "0.1.0", "description": "Native non-modal popup", "license": "MIT", "repository": { diff --git a/packages/components/radio/CHANGELOG.md b/packages/components/radio/CHANGELOG.md index c9b991c..81434a7 100644 --- a/packages/components/radio/CHANGELOG.md +++ b/packages/components/radio/CHANGELOG.md @@ -1,5 +1,26 @@ # @precursor/radio +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/input@1.0.0 + - @precursor/label@1.0.0 + - @precursor/theme@1.0.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/components/radio/package.json b/packages/components/radio/package.json index 57013b6..fa2de11 100644 --- a/packages/components/radio/package.json +++ b/packages/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/radio", - "version": "0.1.3", + "version": "1.0.0", "description": "radio component", "license": "MIT", "repository": { @@ -38,9 +38,9 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/input": "^0.1.5", - "@precursor/label": "^0.1.4", - "@precursor/theme": "^0.1.6", + "@precursor/input": "^1.0.0", + "@precursor/label": "^1.0.0", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/range/CHANGELOG.md b/packages/components/range/CHANGELOG.md index 8f67121..1581721 100644 --- a/packages/components/range/CHANGELOG.md +++ b/packages/components/range/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/range +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/components/range/package.json b/packages/components/range/package.json index 37e90eb..55ef2fd 100644 --- a/packages/components/range/package.json +++ b/packages/components/range/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/range", - "version": "0.1.1", + "version": "1.0.0", "description": "range component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/select/CHANGELOG.md b/packages/components/select/CHANGELOG.md index bb9c384..a3ecf86 100644 --- a/packages/components/select/CHANGELOG.md +++ b/packages/components/select/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/select +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.6 ### Patch Changes diff --git a/packages/components/select/package.json b/packages/components/select/package.json index 9860e31..45e07c6 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/select", - "version": "0.1.6", + "version": "1.0.0", "description": "select component", "license": "MIT", "repository": { diff --git a/packages/components/skeleton/CHANGELOG.md b/packages/components/skeleton/CHANGELOG.md index b95411b..23798ef 100644 --- a/packages/components/skeleton/CHANGELOG.md +++ b/packages/components/skeleton/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/skeleton +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/components/skeleton/package.json b/packages/components/skeleton/package.json index 79d13d8..2a76858 100644 --- a/packages/components/skeleton/package.json +++ b/packages/components/skeleton/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/skeleton", - "version": "0.1.3", + "version": "1.0.0", "description": "skeleton component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/spinner/CHANGELOG.md b/packages/components/spinner/CHANGELOG.md index 269d3f8..bd6287a 100644 --- a/packages/components/spinner/CHANGELOG.md +++ b/packages/components/spinner/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/spinner +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.1 ### Patch Changes diff --git a/packages/components/spinner/package.json b/packages/components/spinner/package.json index 47eddea..824286a 100644 --- a/packages/components/spinner/package.json +++ b/packages/components/spinner/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/spinner", - "version": "0.1.1", + "version": "1.0.0", "description": "spinner component", "license": "MIT", "repository": { diff --git a/packages/components/tabs/CHANGELOG.md b/packages/components/tabs/CHANGELOG.md index f129a35..575c6f3 100644 --- a/packages/components/tabs/CHANGELOG.md +++ b/packages/components/tabs/CHANGELOG.md @@ -1,5 +1,30 @@ # @precursor/tabs +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/stack@1.0.0 + - @precursor/text@1.0.0 + - @precursor/theme@1.0.0 + ## 0.1.7 ### Patch Changes diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index fee0fde..ac38697 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/tabs", - "version": "0.1.7", + "version": "1.0.0", "description": "tabs component", "license": "MIT", "repository": { @@ -38,9 +38,9 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/stack": "^0.1.5", - "@precursor/text": "^0.1.5", - "@precursor/theme": "^0.1.7", + "@precursor/stack": "^1.0.0", + "@precursor/text": "^1.0.0", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/components/textarea/CHANGELOG.md b/packages/components/textarea/CHANGELOG.md index db4d919..8c3022f 100644 --- a/packages/components/textarea/CHANGELOG.md +++ b/packages/components/textarea/CHANGELOG.md @@ -1,5 +1,20 @@ # @precursor/textarea +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.8 ### Patch Changes diff --git a/packages/components/textarea/package.json b/packages/components/textarea/package.json index a90f111..07df1a6 100644 --- a/packages/components/textarea/package.json +++ b/packages/components/textarea/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/textarea", - "version": "0.1.8", + "version": "1.0.0", "description": "Textarea component", "license": "MIT", "repository": { diff --git a/packages/components/toggle/CHANGELOG.md b/packages/components/toggle/CHANGELOG.md index b15fc6a..5e4df66 100644 --- a/packages/components/toggle/CHANGELOG.md +++ b/packages/components/toggle/CHANGELOG.md @@ -1,5 +1,26 @@ # @precursor/toggle +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/input@1.0.0 + - @precursor/label@1.0.0 + - @precursor/theme@1.0.0 + ## 0.1.4 ### Patch Changes diff --git a/packages/components/toggle/package.json b/packages/components/toggle/package.json index 496e682..ed59e8e 100644 --- a/packages/components/toggle/package.json +++ b/packages/components/toggle/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/toggle", - "version": "0.1.4", + "version": "1.0.0", "description": "toggle component", "license": "MIT", "repository": { @@ -38,9 +38,9 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/input": "^0.1.7", - "@precursor/label": "^0.1.7", - "@precursor/theme": "^0.1.7", + "@precursor/input": "^1.0.0", + "@precursor/label": "^1.0.0", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/elements/blockquote/CHANGELOG.md b/packages/elements/blockquote/CHANGELOG.md index 5e90a39..e2a50a6 100644 --- a/packages/elements/blockquote/CHANGELOG.md +++ b/packages/elements/blockquote/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/blockquote +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.5 ### Patch Changes diff --git a/packages/elements/blockquote/package.json b/packages/elements/blockquote/package.json index 7c7d544..23271b6 100644 --- a/packages/elements/blockquote/package.json +++ b/packages/elements/blockquote/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/blockquote", - "version": "0.1.5", + "version": "1.0.0", "description": "blockquote component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/elements/divider/CHANGELOG.md b/packages/elements/divider/CHANGELOG.md new file mode 100644 index 0000000..550d2ed --- /dev/null +++ b/packages/elements/divider/CHANGELOG.md @@ -0,0 +1,15 @@ +# @precursor/divider + +## 0.1.0 + +### Minor Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. diff --git a/packages/elements/divider/package.json b/packages/elements/divider/package.json index 5046422..06a0426 100644 --- a/packages/elements/divider/package.json +++ b/packages/elements/divider/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/divider", - "version": "0.0.0", + "version": "0.1.0", "description": "A semantic or decorative divider", "license": "MIT", "repository": { diff --git a/packages/elements/emoji/CHANGELOG.md b/packages/elements/emoji/CHANGELOG.md index d762ab5..0b1db6e 100644 --- a/packages/elements/emoji/CHANGELOG.md +++ b/packages/elements/emoji/CHANGELOG.md @@ -1,5 +1,11 @@ # @precursor/emoji +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + ## 0.1.3 ### Patch Changes diff --git a/packages/elements/emoji/package.json b/packages/elements/emoji/package.json index e1f06c8..44b730d 100644 --- a/packages/elements/emoji/package.json +++ b/packages/elements/emoji/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/emoji", - "version": "0.1.3", + "version": "1.0.0", "description": "Emoji component", "license": "MIT", "repository": { diff --git a/packages/elements/heading/CHANGELOG.md b/packages/elements/heading/CHANGELOG.md index 74944d1..c52e59c 100644 --- a/packages/elements/heading/CHANGELOG.md +++ b/packages/elements/heading/CHANGELOG.md @@ -1,5 +1,29 @@ # @precursor/heading +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + - @precursor/copy-to-clipboard@0.1.3 + ## 0.1.7 ### Patch Changes diff --git a/packages/elements/heading/package.json b/packages/elements/heading/package.json index bcbb1c8..9d942ed 100644 --- a/packages/elements/heading/package.json +++ b/packages/elements/heading/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/heading", - "version": "0.1.7", + "version": "1.0.0", "description": "Heading component", "license": "MIT", "repository": { @@ -38,8 +38,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/copy-to-clipboard": "^0.1.2", - "@precursor/theme": "^0.1.7", + "@precursor/copy-to-clipboard": "^0.1.3", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/elements/list/CHANGELOG.md b/packages/elements/list/CHANGELOG.md index 6b274eb..0bd23d6 100644 --- a/packages/elements/list/CHANGELOG.md +++ b/packages/elements/list/CHANGELOG.md @@ -1,5 +1,15 @@ # @precursor/list +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + ## 0.1.3 ### Patch Changes diff --git a/packages/elements/list/package.json b/packages/elements/list/package.json index d5fff14..2719415 100644 --- a/packages/elements/list/package.json +++ b/packages/elements/list/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/list", - "version": "0.1.3", + "version": "1.0.0", "description": "list component", "license": "MIT", "repository": { diff --git a/packages/elements/text/CHANGELOG.md b/packages/elements/text/CHANGELOG.md index b89335f..a3cc845 100644 --- a/packages/elements/text/CHANGELOG.md +++ b/packages/elements/text/CHANGELOG.md @@ -1,5 +1,27 @@ # @precursor/text +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Minor Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/theme@1.0.0 + ## 0.1.5 ### Patch Changes diff --git a/packages/elements/text/package.json b/packages/elements/text/package.json index 1ab63b2..6901536 100644 --- a/packages/elements/text/package.json +++ b/packages/elements/text/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/text", - "version": "0.1.5", + "version": "1.0.0", "description": "text component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/theme": "^0.1.7", + "@precursor/theme": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/layout/bleed/CHANGELOG.md b/packages/layout/bleed/CHANGELOG.md new file mode 100644 index 0000000..c459a4c --- /dev/null +++ b/packages/layout/bleed/CHANGELOG.md @@ -0,0 +1,20 @@ +# @precursor/bleed + +## 0.1.0 + +### Minor Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/tokens@1.0.0 diff --git a/packages/layout/bleed/package.json b/packages/layout/bleed/package.json index f8d9e44..ecf9130 100644 --- a/packages/layout/bleed/package.json +++ b/packages/layout/bleed/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/bleed", - "version": "0.0.0", + "version": "0.1.0", "description": "Offsets surrounding padding on logical axes", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/tokens": "^0.1.1", + "@precursor/tokens": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/layout/grid/CHANGELOG.md b/packages/layout/grid/CHANGELOG.md index 5b4de5b..6958175 100644 --- a/packages/layout/grid/CHANGELOG.md +++ b/packages/layout/grid/CHANGELOG.md @@ -1,5 +1,26 @@ # @precursor/grid +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Span each Row across the parent Grid and align its columns with the parent tracks. A single child fills the row by default. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/tokens@1.0.0 + ## 0.1.4 ### Patch Changes diff --git a/packages/layout/grid/package.json b/packages/layout/grid/package.json index 9e665e2..8dd2795 100644 --- a/packages/layout/grid/package.json +++ b/packages/layout/grid/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/grid", - "version": "0.1.4", + "version": "1.0.0", "description": "grid component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/tokens": "^0.1.1", + "@precursor/tokens": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/layout/inline/CHANGELOG.md b/packages/layout/inline/CHANGELOG.md index 580c0a5..ad8e12a 100644 --- a/packages/layout/inline/CHANGELOG.md +++ b/packages/layout/inline/CHANGELOG.md @@ -1,5 +1,25 @@ # @precursor/inline +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/tokens@1.0.0 + ## 0.1.1 ### Patch Changes diff --git a/packages/layout/inline/package.json b/packages/layout/inline/package.json index fa0406b..127ac10 100644 --- a/packages/layout/inline/package.json +++ b/packages/layout/inline/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/inline", - "version": "0.1.1", + "version": "1.0.0", "description": "inline component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/tokens": "^0.1.1", + "@precursor/tokens": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/layout/stack/CHANGELOG.md b/packages/layout/stack/CHANGELOG.md index 5584cc8..e2b2beb 100644 --- a/packages/layout/stack/CHANGELOG.md +++ b/packages/layout/stack/CHANGELOG.md @@ -1,5 +1,25 @@ # @precursor/stack +## 1.0.0 + +### Major Changes + +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/tokens@1.0.0 + ## 0.1.5 ### Patch Changes diff --git a/packages/layout/stack/package.json b/packages/layout/stack/package.json index d019ba1..145df3c 100644 --- a/packages/layout/stack/package.json +++ b/packages/layout/stack/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/stack", - "version": "0.1.5", + "version": "1.0.0", "description": "stack component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/tokens": "^0.1.1", + "@precursor/tokens": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/theming/theme/CHANGELOG.md b/packages/theming/theme/CHANGELOG.md index 5e5fa7c..f0a9b57 100644 --- a/packages/theming/theme/CHANGELOG.md +++ b/packages/theming/theme/CHANGELOG.md @@ -1,5 +1,25 @@ # @precursor/theme +## 1.0.0 + +### Major Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. +- 91fc636: Require React 19 and ship styles compiled by Trousers 4. Browser-aware bundlers load the styles with each component. For server-rendered apps, include the generated CSS in the client bundle. Render a ThemeProvider around styled components to supply the default or a custom theme. + +### Patch Changes + +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] +- Updated dependencies [91fc636] + - @precursor/tokens@1.0.0 + ## 0.1.7 ### Patch Changes diff --git a/packages/theming/theme/package.json b/packages/theming/theme/package.json index bbf2268..6922066 100644 --- a/packages/theming/theme/package.json +++ b/packages/theming/theme/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/theme", - "version": "0.1.7", + "version": "1.0.0", "description": "Theme component", "license": "MIT", "repository": { @@ -38,7 +38,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@precursor/tokens": "^0.1.1", + "@precursor/tokens": "^1.0.0", "trousers": "^4.1.0" }, "devDependencies": { diff --git a/packages/theming/tokens/CHANGELOG.md b/packages/theming/tokens/CHANGELOG.md index b3e5df9..cc1e839 100644 --- a/packages/theming/tokens/CHANGELOG.md +++ b/packages/theming/tokens/CHANGELOG.md @@ -1,5 +1,24 @@ # @precursor/tokens +## 1.0.0 + +### Major Changes + +- 91fc636: Generate theme variants at build time with Style Dictionary. Select color, spacing, shape, and typography through ThemeProvider's `selection` prop. For synchronous SSR, prepare `initialTheme` with `loadTheme`. The color slot has independent light and dark palettes. The separate `colorMode` setting defaults to `auto` and follows the browser preference before hydration. + + Grid, Stack, Inline, Text, and Heading now use the generated tokens. Divider and Bleed are available as new primitives. The component catalog uses the new token contract through the existing exports. + + Use `--spacing-gap-*` for margins and gaps and `--spacing-inset-*` for padding. The previous step spacing tokens are removed. Use `--spacing-inline` between inline elements. Squish remains available as `--spacing-inset-squish`. + +### Minor Changes + +- 91fc636: Add pill tabs, a monospace typography theme, and a themed checkbox with native form behavior. Add Popup using the native Popover API and support popover targets on Button. Modal now uses the native modal dialog API for focus and dismissal. +- 91fc636: Update the Trousers runtime and compiler to 4.1.0. Add a large inset token and use Trousers named inset variants in the Storybook layout examples. + +### Patch Changes + +- 91fc636: Publish JavaScript and types for both ESM and CommonJS consumers. Remove a trailing semicolon from the default font-family token so it can be applied as an inline style. + ## 0.1.1 ### Patch Changes diff --git a/packages/theming/tokens/package.json b/packages/theming/tokens/package.json index 973e864..8f5d4ac 100644 --- a/packages/theming/tokens/package.json +++ b/packages/theming/tokens/package.json @@ -1,6 +1,6 @@ { "name": "@precursor/tokens", - "version": "0.1.1", + "version": "1.0.0", "description": "tokens component", "license": "MIT", "repository": { diff --git a/yarn.lock b/yarn.lock index 2a575ec..f1571f7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1483,7 +1483,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/avatar@workspace:packages/components/avatar" dependencies: - "@precursor/image": "npm:^0.1.3" + "@precursor/image": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1506,7 +1506,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/bleed@workspace:packages/layout/bleed" dependencies: - "@precursor/tokens": "npm:^0.1.1" + "@precursor/tokens": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1518,7 +1518,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/blockquote@workspace:packages/elements/blockquote" dependencies: - "@precursor/theme": "npm:^0.1.7" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1530,8 +1530,8 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/button@workspace:packages/components/button" dependencies: - "@precursor/spinner": "npm:^0.1.1" - "@precursor/theme": "npm:^0.1.7" + "@precursor/spinner": "npm:^1.0.0" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1543,7 +1543,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/checkbox@workspace:packages/components/checkbox" dependencies: - "@precursor/input": "npm:^0.1.7" + "@precursor/input": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1555,7 +1555,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/code@workspace:packages/components/code" dependencies: - "@precursor/theme": "npm:^0.1.7" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1563,7 +1563,7 @@ __metadata: languageName: unknown linkType: soft -"@precursor/copy-to-clipboard@npm:^0.1.2, @precursor/copy-to-clipboard@workspace:packages/common/copy-to-clipboard": +"@precursor/copy-to-clipboard@npm:^0.1.3, @precursor/copy-to-clipboard@workspace:packages/common/copy-to-clipboard": version: 0.0.0-use.local resolution: "@precursor/copy-to-clipboard@workspace:packages/common/copy-to-clipboard" languageName: unknown @@ -1594,7 +1594,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/grid@workspace:packages/layout/grid" dependencies: - "@precursor/tokens": "npm:^0.1.1" + "@precursor/tokens": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1602,12 +1602,12 @@ __metadata: languageName: unknown linkType: soft -"@precursor/heading@npm:^0.1.7, @precursor/heading@workspace:packages/elements/heading": +"@precursor/heading@npm:^1.0.0, @precursor/heading@workspace:packages/elements/heading": version: 0.0.0-use.local resolution: "@precursor/heading@workspace:packages/elements/heading" dependencies: - "@precursor/copy-to-clipboard": "npm:^0.1.2" - "@precursor/theme": "npm:^0.1.7" + "@precursor/copy-to-clipboard": "npm:^0.1.3" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1615,7 +1615,7 @@ __metadata: languageName: unknown linkType: soft -"@precursor/image@npm:^0.1.3, @precursor/image@workspace:packages/components/image": +"@precursor/image@npm:^1.0.0, @precursor/image@workspace:packages/components/image": version: 0.0.0-use.local resolution: "@precursor/image@workspace:packages/components/image" dependencies: @@ -1626,11 +1626,11 @@ __metadata: languageName: unknown linkType: soft -"@precursor/inline@npm:^0.1.1, @precursor/inline@workspace:packages/layout/inline": +"@precursor/inline@npm:^1.0.0, @precursor/inline@workspace:packages/layout/inline": version: 0.0.0-use.local resolution: "@precursor/inline@workspace:packages/layout/inline" dependencies: - "@precursor/tokens": "npm:^0.1.1" + "@precursor/tokens": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1638,12 +1638,12 @@ __metadata: languageName: unknown linkType: soft -"@precursor/input@npm:^0.1.5, @precursor/input@npm:^0.1.7, @precursor/input@workspace:packages/components/input": +"@precursor/input@npm:^1.0.0, @precursor/input@workspace:packages/components/input": version: 0.0.0-use.local resolution: "@precursor/input@workspace:packages/components/input" dependencies: - "@precursor/theme": "npm:^0.1.7" - "@precursor/types": "npm:^0.1.2" + "@precursor/theme": "npm:^1.0.0" + "@precursor/types": "npm:^0.1.3" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1655,7 +1655,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/keyboard@workspace:packages/components/keyboard" dependencies: - "@precursor/theme": "npm:^0.1.5" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1663,7 +1663,7 @@ __metadata: languageName: unknown linkType: soft -"@precursor/label@npm:^0.1.4, @precursor/label@npm:^0.1.7, @precursor/label@workspace:packages/components/label": +"@precursor/label@npm:^1.0.0, @precursor/label@workspace:packages/components/label": version: 0.0.0-use.local resolution: "@precursor/label@workspace:packages/components/label" dependencies: @@ -1700,8 +1700,8 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/message@workspace:packages/components/message" dependencies: - "@precursor/text": "npm:^0.1.5" - "@precursor/theme": "npm:^0.1.7" + "@precursor/text": "npm:^1.0.0" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1713,8 +1713,8 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/modal@workspace:packages/components/modal" dependencies: - "@precursor/heading": "npm:^0.1.7" - "@precursor/inline": "npm:^0.1.1" + "@precursor/heading": "npm:^1.0.0" + "@precursor/inline": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1758,9 +1758,9 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/radio@workspace:packages/components/radio" dependencies: - "@precursor/input": "npm:^0.1.5" - "@precursor/label": "npm:^0.1.4" - "@precursor/theme": "npm:^0.1.6" + "@precursor/input": "npm:^1.0.0" + "@precursor/label": "npm:^1.0.0" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1772,7 +1772,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/range@workspace:packages/components/range" dependencies: - "@precursor/theme": "npm:^0.1.7" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1795,7 +1795,7 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/skeleton@workspace:packages/components/skeleton" dependencies: - "@precursor/theme": "npm:^0.1.7" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1803,7 +1803,7 @@ __metadata: languageName: unknown linkType: soft -"@precursor/spinner@npm:^0.1.1, @precursor/spinner@workspace:packages/components/spinner": +"@precursor/spinner@npm:^1.0.0, @precursor/spinner@workspace:packages/components/spinner": version: 0.0.0-use.local resolution: "@precursor/spinner@workspace:packages/components/spinner" dependencies: @@ -1814,11 +1814,11 @@ __metadata: languageName: unknown linkType: soft -"@precursor/stack@npm:^0.1.5, @precursor/stack@workspace:packages/layout/stack": +"@precursor/stack@npm:^1.0.0, @precursor/stack@workspace:packages/layout/stack": version: 0.0.0-use.local resolution: "@precursor/stack@workspace:packages/layout/stack" dependencies: - "@precursor/tokens": "npm:^0.1.1" + "@precursor/tokens": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1830,9 +1830,9 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/tabs@workspace:packages/components/tabs" dependencies: - "@precursor/stack": "npm:^0.1.5" - "@precursor/text": "npm:^0.1.5" - "@precursor/theme": "npm:^0.1.7" + "@precursor/stack": "npm:^1.0.0" + "@precursor/text": "npm:^1.0.0" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1840,11 +1840,11 @@ __metadata: languageName: unknown linkType: soft -"@precursor/text@npm:^0.1.5, @precursor/text@workspace:packages/elements/text": +"@precursor/text@npm:^1.0.0, @precursor/text@workspace:packages/elements/text": version: 0.0.0-use.local resolution: "@precursor/text@workspace:packages/elements/text" dependencies: - "@precursor/theme": "npm:^0.1.7" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1863,11 +1863,11 @@ __metadata: languageName: unknown linkType: soft -"@precursor/theme@npm:^0.1.5, @precursor/theme@npm:^0.1.6, @precursor/theme@npm:^0.1.7, @precursor/theme@workspace:packages/theming/theme": +"@precursor/theme@npm:^1.0.0, @precursor/theme@workspace:packages/theming/theme": version: 0.0.0-use.local resolution: "@precursor/theme@workspace:packages/theming/theme" dependencies: - "@precursor/tokens": "npm:^0.1.1" + "@precursor/tokens": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1879,9 +1879,9 @@ __metadata: version: 0.0.0-use.local resolution: "@precursor/toggle@workspace:packages/components/toggle" dependencies: - "@precursor/input": "npm:^0.1.7" - "@precursor/label": "npm:^0.1.7" - "@precursor/theme": "npm:^0.1.7" + "@precursor/input": "npm:^1.0.0" + "@precursor/label": "npm:^1.0.0" + "@precursor/theme": "npm:^1.0.0" react: "npm:19.3.1" trousers: "npm:^4.1.0" peerDependencies: @@ -1889,13 +1889,13 @@ __metadata: languageName: unknown linkType: soft -"@precursor/tokens@npm:^0.1.1, @precursor/tokens@workspace:packages/theming/tokens": +"@precursor/tokens@npm:^1.0.0, @precursor/tokens@workspace:packages/theming/tokens": version: 0.0.0-use.local resolution: "@precursor/tokens@workspace:packages/theming/tokens" languageName: unknown linkType: soft -"@precursor/types@npm:^0.1.2, @precursor/types@workspace:packages/common/types": +"@precursor/types@npm:^0.1.3, @precursor/types@workspace:packages/common/types": version: 0.0.0-use.local resolution: "@precursor/types@workspace:packages/common/types" languageName: unknown