opui-css 4.1.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/CHANGELOG.md +282 -247
  2. package/LICENSE +21 -21
  3. package/MIGRATING.md +127 -105
  4. package/README.md +87 -87
  5. package/astro/index.ts +46 -46
  6. package/components/AGENTS.md +248 -247
  7. package/components/Accordion/Accordion.astro +42 -42
  8. package/components/Anchor/Anchor.astro +51 -51
  9. package/components/Avatar/Avatar.astro +38 -44
  10. package/components/Badge/Badge.astro +59 -54
  11. package/components/Button/Button.astro +45 -45
  12. package/components/ButtonGroup/ButtonGroup.astro +29 -29
  13. package/components/Callout/Callout.astro +75 -75
  14. package/components/Card/Card.astro +36 -36
  15. package/components/Checkbox/Checkbox.astro +76 -76
  16. package/components/Checkbox/CheckboxInput.astro +32 -32
  17. package/components/Chip/Chip.astro +37 -37
  18. package/components/ClassicSelect/ClassicSelect.astro +83 -83
  19. package/components/DescriptionList/Description.astro +12 -12
  20. package/components/DescriptionList/DescriptionList.astro +22 -22
  21. package/components/DescriptionList/Item.astro +12 -12
  22. package/components/DescriptionList/Term.astro +12 -12
  23. package/components/DescriptionList/index.ts +12 -12
  24. package/components/Dialog/Dialog.astro +41 -41
  25. package/components/Divider/Divider.astro +17 -14
  26. package/components/Drawer/Drawer.astro +49 -49
  27. package/components/Drawer/DrawerFooter.astro +14 -14
  28. package/components/Drawer/DrawerHeader.astro +31 -31
  29. package/components/FieldDescription/FieldDescription.astro +13 -13
  30. package/components/FieldGroup/FieldGroup.astro +31 -31
  31. package/components/FieldLegend/FieldLegend.astro +15 -15
  32. package/components/FieldSet/FieldSet.astro +15 -15
  33. package/components/Form/Form.astro +15 -15
  34. package/components/IconButton/IconButton.astro +26 -26
  35. package/components/List/List.astro +36 -36
  36. package/components/ListItem/ListItem.astro +118 -118
  37. package/components/Progress/Progress.astro +41 -40
  38. package/components/Radio/Radio.astro +70 -70
  39. package/components/Radio/RadioInput.astro +24 -24
  40. package/components/Range/Range.astro +136 -136
  41. package/components/Select/Select.astro +106 -106
  42. package/components/Switch/Switch.astro +101 -101
  43. package/components/Switch/SwitchInput.astro +25 -25
  44. package/components/Table/Body.astro +13 -13
  45. package/components/Table/Cell.astro +13 -13
  46. package/components/Table/Column.astro +15 -15
  47. package/components/Table/ColumnGroup.astro +13 -13
  48. package/components/Table/Head.astro +13 -13
  49. package/components/Table/HeaderCell.astro +13 -13
  50. package/components/Table/Row.astro +13 -13
  51. package/components/Table/Table.astro +18 -15
  52. package/components/Table/index.ts +20 -20
  53. package/components/Tabs/Tabs.astro +28 -28
  54. package/components/Tabs/TabsItem.astro +47 -47
  55. package/components/Tabs/TabsPanel.astro +21 -21
  56. package/components/Tabs/TabsTab.astro +19 -19
  57. package/components/Tabs/index.ts +14 -14
  58. package/components/TextField/TextField.astro +128 -128
  59. package/components/Textarea/Textarea.astro +106 -106
  60. package/components/Toast/Toast.astro +42 -42
  61. package/components/ToggleButton/ToggleButton.astro +53 -53
  62. package/components/ToggleGroup/ToggleGroup.astro +49 -49
  63. package/components/Tooltip/Tooltip.astro +30 -30
  64. package/core/normalize.css +194 -194
  65. package/core/palette.css +59 -59
  66. package/core/utils.css +71 -71
  67. package/css/components/accordion.css +174 -174
  68. package/css/components/anchor.css +27 -27
  69. package/css/components/avatar.css +65 -65
  70. package/css/components/badge.css +107 -107
  71. package/css/components/button-group.css +179 -179
  72. package/css/components/button.css +215 -215
  73. package/css/components/callout.css +109 -109
  74. package/css/components/card.css +117 -117
  75. package/css/components/checkbox.css +205 -205
  76. package/css/components/chip.css +87 -87
  77. package/css/components/description-list.css +80 -77
  78. package/css/components/dialog.css +68 -68
  79. package/css/components/divider.css +20 -20
  80. package/css/components/drawer.css +171 -171
  81. package/css/components/form.css +146 -146
  82. package/css/components/icon-button.css +139 -139
  83. package/css/components/link.css +21 -21
  84. package/css/components/list.css +345 -345
  85. package/css/components/progress.css +102 -97
  86. package/css/components/radio.css +172 -172
  87. package/css/components/range.css +337 -337
  88. package/css/components/select.css +169 -169
  89. package/css/components/spinner.css +37 -37
  90. package/css/components/switch.css +268 -268
  91. package/css/components/table.css +179 -179
  92. package/css/components/tabs.css +83 -77
  93. package/css/components/text-field.css +450 -450
  94. package/css/components/text-input.css +64 -64
  95. package/css/components/textarea.css +24 -24
  96. package/css/components/toast.css +161 -161
  97. package/css/components/toggle-button.css +87 -87
  98. package/css/components/toggle-group.css +56 -56
  99. package/css/components/tooltip.css +67 -67
  100. package/css/components/typography.css +585 -585
  101. package/css/components.css +41 -41
  102. package/css/imports.css +16 -16
  103. package/css/js/checkbox.js +21 -21
  104. package/css/js/toast.js +94 -94
  105. package/css/theme.css +132 -132
  106. package/dist/op.css +65 -65
  107. package/dist/op.css.map +1 -1
  108. package/dist/opui.components.css +5159 -5145
  109. package/dist/opui.components.css.map +1 -1
  110. package/dist/opui.css +5668 -5654
  111. package/dist/opui.css.map +1 -1
  112. package/env.d.ts +14 -14
  113. package/open-props.css +9 -9
  114. package/package.json +81 -81
package/CHANGELOG.md CHANGED
@@ -1,247 +1,282 @@
1
- # Changelog
2
-
3
- ## 4.1.0 - 2026-05-18
4
-
5
- ### Breaking
6
-
7
- - **Card** and **Dialog** (Astro): the `actions` prop with an `align` field is removed. Use the `actionsAlign` prop instead (`"start"` | `"end"`).
8
-
9
- ## 4.0.1 - 2026-05-13
10
-
11
- ### Fixed
12
-
13
- - Autosuggest arrow placement.
14
-
15
- ## 4.0.0
16
-
17
- Complete rewrite. The library now also ships as an installable npm package with Astro components.
18
-
19
- Don't forget, I'm just a single person working on this in my free time. I'm doing this for fun. There will be bugs.
20
-
21
- ### Breaking
22
-
23
- - `theme-one` and `theme-two` are removed. I can't maintain a million themes. There is now a single theme in `css/theme.css`.
24
- - The default package entry (`import "opui-css"`) now resolves to the single bundled stylesheet (`dist/opui.css`) instead of `dist/theme-two/theme-two.css`. The class names are the same, the file path is not.
25
- - The `src/themes/` build pipeline is gone (vite + postcss + per-theme scripts). The package now builds with a small `postcss-import`-only pipeline that does not transform or lower any CSS syntax.
26
- - Component CSS source moved from `src/components/` to `css/components/`. The pre-bundled output stays in `dist/`.
27
- - Cascade layer order is now declared by the library in `css/imports.css`: `openprops, normalize, theme, components.root, components.extended, utils`.
28
- - `astro` `^6` is required if you import from `opui-css/astro`. Pure-CSS consumers are unaffected (the peer is marked optional).
29
-
30
- ### Added
31
-
32
- - Anchor, Drawer, Form, Toast, Toggle, Tooltip and a lot of re-writes and improvements to existing components.
33
- - Definition List -> Description List
34
- - Tab buttons -> Tabs
35
- - Toggle button group -> Toggle
36
- - Astro component entry: `import { Button } from "opui-css/astro"`.
37
- - Per-component CSS imports under `opui-css/css/components/*.css`.
38
- - Pre-bundled stylesheets in `opui-css/dist/`: `opui.css` (everything), `opui.components.css` (components only), and `op.css` (Open Props tokens, unchanged subpath from v3) for CDN / no-bundler use.
39
- - `sideEffects` correctly declared so bundlers don't tree-shake CSS.
40
-
41
- ### Migration
42
-
43
- See [`MIGRATING.md`](./MIGRATING.md).
44
-
45
- ## 3.3.5 - 2026-02-19
46
-
47
- ### Changed
48
-
49
- - goof: forgot to leave open-props as a dependency
50
-
51
- ## 3.3.4 - 2026-02-19
52
-
53
- ### Changed
54
-
55
- - Moved all dependencies to `devDependencies`.
56
-
57
- ## 3.3.3 - 2026-01-07
58
-
59
- ### Changed
60
-
61
- - **Build Process**: Refactored `scripts/build-themes.js` to support organized theme exports. Files are now exported to theme-specific subdirectories in `dist/`.
62
- - **Package Exports**: Updated `package.json` to use subpath exports:
63
- - Default export `"."` now points to `theme-two.css`.
64
- - Added `"./theme-one"` and `"./theme-two"` exports.
65
- - Added `"./theme-one/components"` and `"./theme-two/components"` component imports.
66
- - Added `"./open-props"` export for the base Open Props stuff.
67
- - **Documentation**: Updated "Getting Started" guide with new usage examples and bundler configuration instructions (Vite vs. PostCSS).
68
-
69
- ### Fixed
70
-
71
- - Improved build script to automatically create subdirectories in `dist/` if they don't exist.
72
- - Fixed watch mode in `build-themes.js` to correctly track and rebuild both theme and component files.
73
-
74
- ## 3.3.1 - 2025-12-17
75
-
76
- ### Fixed
77
-
78
- - `switch.css` goof.
79
-
80
- ## 3.3.0 - 2025-12-17
81
-
82
- ### Added
83
-
84
- - Internal updates and optimizations.
85
-
86
- ## 3.2.0 - 2025-12-07
87
-
88
- ### Added
89
-
90
- - Add support for `kbd` element inside of `<button>`.
91
-
92
- ## 3.1.2 - 2025-11-09
93
-
94
- ### Added
95
-
96
- - Added CSS variable to control list hover `background-color`.
97
-
98
- ## 3.1.1 - 2025-10-23
99
-
100
- ### Added
101
-
102
- - Add support for icons in Switch component (e.g., dark mode toggle).
103
-
104
- ### Fixed
105
-
106
- - Bug fix for definition list where lists with lots of content weren't rendering correctly.
107
-
108
- ## 3.1.0 - 2025-10-23
109
-
110
- ### Changed
111
-
112
- - Removed sticky header from `table` component to allow for custom implementations.
113
-
114
- ## 3.0.0 - 2025-10-22
115
-
116
- ### Added
117
-
118
- - **Themes**: Introduced a formal theme system.
119
- - Added `theme-two` as the new default theme (cleaner, more unified).
120
- - Revised documentation and getting started guide for the new theme system.
121
-
122
- ### Changed
123
-
124
- - Refactored component structure to better support multiple themes.
125
-
126
- ## 2.2.3 - 2025-09-21
127
-
128
- ### Changed
129
-
130
- - Reverted `box-sizing` change from previous release.
131
-
132
- ## 2.2.2 - 2025-08-19
133
-
134
- ### Changed
135
-
136
- - Moved `theme.css` out of the main bundle.
137
- - Made `box-sizing` declaration in normalize less intrusive.
138
-
139
- ## 2.0.1 - 2025-08-19
140
-
141
- ### Removed
142
-
143
- - Removed redundant code and assets.
144
-
145
- ## 2.0.0 - 2025-08-19
146
-
147
- ### Changed
148
-
149
- - **Folder Structure**: New and improved folder structure.
150
- - **PostCSS**: Switched from `lightningcss` to `postcss` for better stability.
151
- - **NPM**: Made the package installable via npm.
152
- - **Layers**: Renamed component sub-layers to `components.root` and `components.extended`.
153
- - **Bundles**: Added pre-bundled versions with and without Open Props.
154
-
155
- ### Fixed
156
-
157
- - Progress component wrapped in `@layer`.
158
- - Theme color scheme fallback improvements.
159
-
160
- ## 1.2.4 - 2025-04-23
161
-
162
- ### Fixed
163
-
164
- - Normalize custom-media improvements.
165
-
166
- ## 1.2.3 - 2025-04-16
167
-
168
- ### Fixed
169
-
170
- - Button CSS updates.
171
-
172
- ## 1.2.2 - 2025-03-18
173
-
174
- ### Added
175
-
176
- - Improved Select list animation and implementation of `::picker-icon`.
177
- - Context-aware link colors in Alerts.
178
-
179
- ## 1.2.1 - 2025-03-07
180
-
181
- ### Fixed
182
-
183
- - Removed unused border color in Switch component.
184
-
185
- ## 1.2.0 - 2025-02-18
186
-
187
- ### Added
188
-
189
- - New component: `tab-buttons`.
190
-
191
- ## 1.1.4 - 2025-02-18
192
-
193
- ### Fixed
194
-
195
- - Dialog component improvements when used with `.card` class.
196
-
197
- ## 1.1.3 - 2025-02-11
198
-
199
- ### Fixed
200
-
201
- - Field component: Fixed issue where input was pushed down instead of label moving.
202
-
203
- ## 1.1.2 - 2025-02-10
204
-
205
- ### Changed
206
-
207
- - Refactored pseudo-elements to use double colons (`::`).
208
- - General package upgrades.
209
-
210
- ### Fixed
211
-
212
- - Normalize `::before` fix.
213
- - Outline offset clipping.
214
-
215
- ## 1.1.1 - 2025-01-26
216
-
217
- ### Added
218
-
219
- - `box-decoration-clone` for `mark` elements.
220
-
221
- ## 1.1.0 - 2025-01-19
222
-
223
- ### Added
224
-
225
- - New component: `range` input.
226
-
227
- ## 1.0.2 - 2025-01-17
228
-
229
- ### Fixed
230
-
231
- - Select and documentation fixes.
232
-
233
- ## 1.0.1 - 2025-01-16
234
-
235
- ### Changed
236
-
237
- - Adjusted for Select API changes (`<selectedoption>` to `<selectedcontent>`).
238
- - Checkmark pseudo-element changed from `::before` to `::check`.
239
-
240
- ## 1.0.0 - 2025-01-14
241
-
242
- ### Added
243
-
244
- - Initial release with 25+ components.
245
- - Full documentation website.
246
- - Added `[name]` attribute support to accordion.
247
- - Support for stroke SVG icons in buttons.
1
+ # Changelog
2
+
3
+ ## 5.0.1 - 2026-05-26
4
+
5
+ ### Breaking
6
+
7
+ - **Progress**: the `.ui-progress` class is now placed on a wrapper `<div>` instead of directly on `<progress>`. Raw HTML users must change `<progress class="ui-progress">` → `<div class="ui-progress"><progress>…</progress></div>`. Variant modifiers (`ui-default`, `ui-filled`, `ui-tonal`) also move to the wrapper `<div>`. The Astro component handles this automatically.
8
+
9
+ ## 5.0.0 - 2026-05-21
10
+
11
+ ### Breaking
12
+
13
+ This is technically very breaking, but with a little prompting from you it's probably not a big deal for you. Hopefully you'll understand the reasoning behind this.
14
+
15
+ Every OPUI-owned class now has a `ui-` prefix. This eliminates collisions with consumer styles and makes library classes self-identifying in the DOM.
16
+
17
+ - Component prop API is **unchanged**: `<Button size="small" variant="outlined" color="primary">` works exactly as before.
18
+ - Raw HTML / CSS users **must** rename every library class. `<button class="button outlined">` → `<button class="ui-button ui-outlined">`. `.button { ... }` overrides → `.ui-button { ... }`.
19
+ - CSS custom properties (`--primary`, `--surface-default`, `--size-3`, …) are unchanged.
20
+ - The framework component renders prefixed classes (`<button class="ui-button ui-small ui-outlined ui-primary">`); only the rendered HTML changes, not the public prop API.
21
+ - **Divider**, **Progress**, **Table**, **Tabs**, and **Description List** now render and style prefixed classes end-to-end (`.ui-divider`, `.ui-progress`, `.ui-table`, `.ui-tab-label`, `.ui-tab-panel`, `.ui-term`). Plain `<hr>`, `<progress>`, and `<table>` elements no longer pick up library styles unless the class is present.
22
+ - **Toggle Button**: pressed state no longer adds an unprefixed `selected` class.
23
+ - **Avatar**: removed unused `spacing` prop and related group gap classes.
24
+
25
+ #### Migration
26
+
27
+ Run a project-wide find/replace per token, prompt or whatever. Below are all the classes that got a `ui-` prefix.
28
+
29
+ <details>
30
+ <summary>Migrated classes</summary>
31
+
32
+ `abbr`, `accordion`, `actions`, `align-end`, `anchor`, `anchor-floating`, `auto-fit`, `avatar`, `backdrop-transparent`, `badge`, `badge-indicator`, `block-end`, `block-start`, `blockquote`, `border-filled`, `border-primary`, `border-tonal`, `border-top`, `bordered`, `button`, `button-group`, `callout`, `caption`, `card`, `checkbox`, `chip`, `cite`, `close-button`, `code-block`, `content`, `critical`, `dark`, `default`, `del`, `dense`, `description`, `description-list`, `dfn`, `dialog`, `disabled`, `divider`, `dot`, `dotted`, `drawer`, `elevated`, `end`, `end-end`, `end-start`, `end-text`, `exiting`, `field`, `field-description`, `field-group`, `fieldset`, `fieldset-item`, `filled`, `footer`, `form`, `gutterless`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `header`, `hgroup`, `icon`, `icon-button`, `icon-checked`, `icon-only`, `icon-unchecked`, `info`, `inline-end`, `inline-start`, `ins`, `inset`, `invisible`, `item`, `kbd`, `label`, `large`, `legend`, `light`, `link`, `list`, `mark`, `multiline`, `neutral`, `not-rich-text`, `outlined`, `overline`, `p`, `prefix`, `primary`, `progress`, `radio`, `range`, `rich-text`, `rounded`, `row`, `s`, `samp`, `scroll-lock`, `select`, `small`, `spacious`, `spread`, `squared`, `squircle`, `sr-only`, `stack`, `start`, `start-start`, `start-text`, `sub`, `success`, `suffix`, `sup`, `switch`, `tab-input`, `tab-label`, `tab-panel`, `table`, `tabs`, `term`, `text`, `text-field`, `textarea`, `title`, `toast`, `toggle-button`, `toggle-group`, `tonal`, `tooltip`, `transparent`, `u`, `value`, `var`, `vertical`, `warning`, `with-arrow`, `x-small`.
33
+
34
+ </details>
35
+
36
+ After the search/replace, do a visual smoke test — there is no automated codemod for consumer projects.
37
+
38
+ ## 4.1.0 - 2026-05-18
39
+
40
+ ### Breaking
41
+
42
+ - **Card** and **Dialog** (Astro): the `actions` prop with an `align` field is removed. Use the `actionsAlign` prop instead (`"start"` | `"end"`).
43
+
44
+ ## 4.0.1 - 2026-05-13
45
+
46
+ ### Fixed
47
+
48
+ - Autosuggest arrow placement.
49
+
50
+ ## 4.0.0
51
+
52
+ Complete rewrite. The library now also ships as an installable npm package with Astro components.
53
+
54
+ Don't forget, I'm just a single person working on this in my free time. I'm doing this for fun. There will be bugs.
55
+
56
+ ### Breaking
57
+
58
+ - `theme-one` and `theme-two` are removed. I can't maintain a million themes. There is now a single theme in `css/theme.css`.
59
+ - The default package entry (`import "opui-css"`) now resolves to the single bundled stylesheet (`dist/opui.css`) instead of `dist/theme-two/theme-two.css`. The class names are the same, the file path is not.
60
+ - The `src/themes/` build pipeline is gone (vite + postcss + per-theme scripts). The package now builds with a small `postcss-import`-only pipeline that does not transform or lower any CSS syntax.
61
+ - Component CSS source moved from `src/components/` to `css/components/`. The pre-bundled output stays in `dist/`.
62
+ - Cascade layer order is now declared by the library in `css/imports.css`: `openprops, normalize, theme, components.root, components.extended, utils`.
63
+ - `astro` `^6` is required if you import from `opui-css/astro`. Pure-CSS consumers are unaffected (the peer is marked optional).
64
+
65
+ ### Added
66
+
67
+ - Anchor, Drawer, Form, Toast, Toggle, Tooltip and a lot of re-writes and improvements to existing components.
68
+ - Definition List -> Description List
69
+ - Tab buttons -> Tabs
70
+ - Toggle button group -> Toggle
71
+ - Astro component entry: `import { Button } from "opui-css/astro"`.
72
+ - Per-component CSS imports under `opui-css/css/components/*.css`.
73
+ - Pre-bundled stylesheets in `opui-css/dist/`: `opui.css` (everything), `opui.components.css` (components only), and `op.css` (Open Props tokens, unchanged subpath from v3) for CDN / no-bundler use.
74
+ - `sideEffects` correctly declared so bundlers don't tree-shake CSS.
75
+
76
+ ### Migration
77
+
78
+ See [`MIGRATING.md`](./MIGRATING.md).
79
+
80
+ ## 3.3.5 - 2026-02-19
81
+
82
+ ### Changed
83
+
84
+ - goof: forgot to leave open-props as a dependency
85
+
86
+ ## 3.3.4 - 2026-02-19
87
+
88
+ ### Changed
89
+
90
+ - Moved all dependencies to `devDependencies`.
91
+
92
+ ## 3.3.3 - 2026-01-07
93
+
94
+ ### Changed
95
+
96
+ - **Build Process**: Refactored `scripts/build-themes.js` to support organized theme exports. Files are now exported to theme-specific subdirectories in `dist/`.
97
+ - **Package Exports**: Updated `package.json` to use subpath exports:
98
+ - Default export `"."` now points to `theme-two.css`.
99
+ - Added `"./theme-one"` and `"./theme-two"` exports.
100
+ - Added `"./theme-one/components"` and `"./theme-two/components"` component imports.
101
+ - Added `"./open-props"` export for the base Open Props stuff.
102
+ - **Documentation**: Updated "Getting Started" guide with new usage examples and bundler configuration instructions (Vite vs. PostCSS).
103
+
104
+ ### Fixed
105
+
106
+ - Improved build script to automatically create subdirectories in `dist/` if they don't exist.
107
+ - Fixed watch mode in `build-themes.js` to correctly track and rebuild both theme and component files.
108
+
109
+ ## 3.3.1 - 2025-12-17
110
+
111
+ ### Fixed
112
+
113
+ - `switch.css` goof.
114
+
115
+ ## 3.3.0 - 2025-12-17
116
+
117
+ ### Added
118
+
119
+ - Internal updates and optimizations.
120
+
121
+ ## 3.2.0 - 2025-12-07
122
+
123
+ ### Added
124
+
125
+ - Add support for `kbd` element inside of `<button>`.
126
+
127
+ ## 3.1.2 - 2025-11-09
128
+
129
+ ### Added
130
+
131
+ - Added CSS variable to control list hover `background-color`.
132
+
133
+ ## 3.1.1 - 2025-10-23
134
+
135
+ ### Added
136
+
137
+ - Add support for icons in Switch component (e.g., dark mode toggle).
138
+
139
+ ### Fixed
140
+
141
+ - Bug fix for definition list where lists with lots of content weren't rendering correctly.
142
+
143
+ ## 3.1.0 - 2025-10-23
144
+
145
+ ### Changed
146
+
147
+ - Removed sticky header from `table` component to allow for custom implementations.
148
+
149
+ ## 3.0.0 - 2025-10-22
150
+
151
+ ### Added
152
+
153
+ - **Themes**: Introduced a formal theme system.
154
+ - Added `theme-two` as the new default theme (cleaner, more unified).
155
+ - Revised documentation and getting started guide for the new theme system.
156
+
157
+ ### Changed
158
+
159
+ - Refactored component structure to better support multiple themes.
160
+
161
+ ## 2.2.3 - 2025-09-21
162
+
163
+ ### Changed
164
+
165
+ - Reverted `box-sizing` change from previous release.
166
+
167
+ ## 2.2.2 - 2025-08-19
168
+
169
+ ### Changed
170
+
171
+ - Moved `theme.css` out of the main bundle.
172
+ - Made `box-sizing` declaration in normalize less intrusive.
173
+
174
+ ## 2.0.1 - 2025-08-19
175
+
176
+ ### Removed
177
+
178
+ - Removed redundant code and assets.
179
+
180
+ ## 2.0.0 - 2025-08-19
181
+
182
+ ### Changed
183
+
184
+ - **Folder Structure**: New and improved folder structure.
185
+ - **PostCSS**: Switched from `lightningcss` to `postcss` for better stability.
186
+ - **NPM**: Made the package installable via npm.
187
+ - **Layers**: Renamed component sub-layers to `components.root` and `components.extended`.
188
+ - **Bundles**: Added pre-bundled versions with and without Open Props.
189
+
190
+ ### Fixed
191
+
192
+ - Progress component wrapped in `@layer`.
193
+ - Theme color scheme fallback improvements.
194
+
195
+ ## 1.2.4 - 2025-04-23
196
+
197
+ ### Fixed
198
+
199
+ - Normalize custom-media improvements.
200
+
201
+ ## 1.2.3 - 2025-04-16
202
+
203
+ ### Fixed
204
+
205
+ - Button CSS updates.
206
+
207
+ ## 1.2.2 - 2025-03-18
208
+
209
+ ### Added
210
+
211
+ - Improved Select list animation and implementation of `::picker-icon`.
212
+ - Context-aware link colors in Alerts.
213
+
214
+ ## 1.2.1 - 2025-03-07
215
+
216
+ ### Fixed
217
+
218
+ - Removed unused border color in Switch component.
219
+
220
+ ## 1.2.0 - 2025-02-18
221
+
222
+ ### Added
223
+
224
+ - New component: `tab-buttons`.
225
+
226
+ ## 1.1.4 - 2025-02-18
227
+
228
+ ### Fixed
229
+
230
+ - Dialog component improvements when used with `.card` class.
231
+
232
+ ## 1.1.3 - 2025-02-11
233
+
234
+ ### Fixed
235
+
236
+ - Field component: Fixed issue where input was pushed down instead of label moving.
237
+
238
+ ## 1.1.2 - 2025-02-10
239
+
240
+ ### Changed
241
+
242
+ - Refactored pseudo-elements to use double colons (`::`).
243
+ - General package upgrades.
244
+
245
+ ### Fixed
246
+
247
+ - Normalize `::before` fix.
248
+ - Outline offset clipping.
249
+
250
+ ## 1.1.1 - 2025-01-26
251
+
252
+ ### Added
253
+
254
+ - `box-decoration-clone` for `mark` elements.
255
+
256
+ ## 1.1.0 - 2025-01-19
257
+
258
+ ### Added
259
+
260
+ - New component: `range` input.
261
+
262
+ ## 1.0.2 - 2025-01-17
263
+
264
+ ### Fixed
265
+
266
+ - Select and documentation fixes.
267
+
268
+ ## 1.0.1 - 2025-01-16
269
+
270
+ ### Changed
271
+
272
+ - Adjusted for Select API changes (`<selectedoption>` to `<selectedcontent>`).
273
+ - Checkmark pseudo-element changed from `::before` to `::check`.
274
+
275
+ ## 1.0.0 - 2025-01-14
276
+
277
+ ### Added
278
+
279
+ - Initial release with 25+ components.
280
+ - Full documentation website.
281
+ - Added `[name]` attribute support to accordion.
282
+ - Support for stroke SVG icons in buttons.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Felix Bohlin
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Felix Bohlin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.