@phcdevworks/spectre-ui 1.5.0 → 1.7.0
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.
- package/CHANGELOG.md +500 -0
- package/README.md +328 -35
- package/dist/base.css +23 -26
- package/dist/components.css +683 -79
- package/dist/index.cjs +275 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +683 -79
- package/dist/index.d.cts +125 -2
- package/dist/index.d.ts +125 -2
- package/dist/index.js +268 -45
- package/dist/index.js.map +1 -1
- package/dist/utilities.css +23 -26
- package/package.json +34 -29
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the versioning
|
|
5
|
+
reflects package releases published to npm.
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [1.7.0] - 2026-06-03
|
|
10
|
+
|
|
11
|
+
Release Title: Tag Variant Expansion and Token Alignment
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Tag Variants**: Expanded Tag recipe with `primary`, `secondary`, `success`,
|
|
16
|
+
`warning`, `danger`, `info`, `neutral`, `accent`, `cta`, and `ghost` variants
|
|
17
|
+
for full parity with Badge and Button components. CSS selectors backed by
|
|
18
|
+
token roles only.
|
|
19
|
+
- **Dark Mode Fixtures**: Added dark mode verification fixtures under `examples/`
|
|
20
|
+
for Alert, Avatar, and Tag recipes.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **Token Alignment**: Updated `@phcdevworks/spectre-tokens` dependency to
|
|
25
|
+
`^2.7.0`.
|
|
26
|
+
- **CI**: Promoted Node 24.x to the primary CI matrix target; Node 22.x
|
|
27
|
+
retained for one more cycle.
|
|
28
|
+
- **Documentation**: Added Recipe Composition section to `CONTRIBUTING.md`
|
|
29
|
+
covering how adapters compose multiple recipe helpers, contract guarantees
|
|
30
|
+
(pure function, deterministic output, no side effects), and non-guarantees
|
|
31
|
+
(CSS specificity interactions, class ordering).
|
|
32
|
+
|
|
33
|
+
## [1.6.0] - 2026-05-22
|
|
34
|
+
|
|
35
|
+
Release Title: Contract Expansion and Governance Hardening
|
|
36
|
+
|
|
37
|
+
### Added
|
|
38
|
+
|
|
39
|
+
- **Component Variants**: Added `cta` variant support for `Badge` and
|
|
40
|
+
`IconBox`, `fullWidth` structural support for `IconBox`, and structural
|
|
41
|
+
`elevated`, `flat`, `outline`, and `ghost` variants for `Testimonial`.
|
|
42
|
+
- **Input Recipes**: Added wrapper, label, helper-text, and error-message class
|
|
43
|
+
helpers so adapters can reuse the full input sub-element contract.
|
|
44
|
+
- **Contract Governance**: Added Claude, Codex, Copilot, and Jules agent
|
|
45
|
+
guidance, PR template requirements, maintenance instructions, release
|
|
46
|
+
readiness prompts, and CodeRabbit configuration for review hygiene.
|
|
47
|
+
- **Validation Shortcut**: Added `npm run check` as the canonical local and CI
|
|
48
|
+
validation gate.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- **Token Alignment**: Updated the package to consume
|
|
53
|
+
`@phcdevworks/spectre-tokens` `^2.6.0` and refreshed dependency metadata.
|
|
54
|
+
- **Runtime Contract**: Raised the Node.js requirement to `^22.13.0` or
|
|
55
|
+
`>=24.0.0`, documented npm `>=10.0.0`, and updated CI to validate on Node
|
|
56
|
+
22.x and 24.x.
|
|
57
|
+
- **Validation Tooling**: Migrated build and validation scripts from `.mjs` to
|
|
58
|
+
TypeScript entry points executed with `node --experimental-strip-types`.
|
|
59
|
+
- **Package Metadata**: Repositioned the package description and keywords
|
|
60
|
+
around Layer 2 CSS bundles, Tailwind tooling, and class recipes; included
|
|
61
|
+
`CHANGELOG.md` in the published package files.
|
|
62
|
+
- **Documentation**: Expanded README, contributing, roadmap, TODO, and agent
|
|
63
|
+
guidance around the Spectre layer model, framework boundaries, contract
|
|
64
|
+
validation, package exports, and release-readiness workflows.
|
|
65
|
+
|
|
66
|
+
### Fixed
|
|
67
|
+
|
|
68
|
+
- **State Parity**: Improved Badge, Card, IconBox, PricingCard, and Testimonial
|
|
69
|
+
recipe/CSS parity for forced hover, focus, active, disabled, loading, and
|
|
70
|
+
structural state coverage.
|
|
71
|
+
- **Selector Coverage**: Added testimonial attribute-selector support and
|
|
72
|
+
refreshed contract tests, export snapshots, and manifest entries for the new
|
|
73
|
+
public recipe helpers and variants.
|
|
74
|
+
- **Docs Drift**: Corrected README badges, package links, Node/npm guidance,
|
|
75
|
+
Jules automation wording, and stale agent-reference paths.
|
|
76
|
+
|
|
77
|
+
## [1.5.0] - 2026-05-04
|
|
78
|
+
|
|
79
|
+
Release Title: Token Alignment and Variant Parity
|
|
80
|
+
|
|
81
|
+
### Added
|
|
82
|
+
|
|
83
|
+
- **Badge Variants**: Added `accent` variant support and `fullWidth`
|
|
84
|
+
structural support across the Badge recipe and component CSS contract.
|
|
85
|
+
- **IconBox Variants**: Added `accent` variant support mapped directly to
|
|
86
|
+
upstream button accent token intent.
|
|
87
|
+
- **Rating Variants**: Added `pill` and `fullWidth` recipe support, plus the
|
|
88
|
+
public `RatingSize` type export.
|
|
89
|
+
- **Verification Examples**: Added IconBox accent verification fixtures for
|
|
90
|
+
local visual contract checks.
|
|
91
|
+
|
|
92
|
+
### Changed
|
|
93
|
+
|
|
94
|
+
- **Token Alignment**: Synchronized component roles with current published
|
|
95
|
+
`@phcdevworks/spectre-tokens` package metadata through `^2.5.0`.
|
|
96
|
+
- **Dark Mode Roles**: Refined dark-mode Badge, IconBox, PricingCard, and
|
|
97
|
+
Testimonial role mappings using existing Spectre token values.
|
|
98
|
+
- **Contract Coverage**: Expanded recipe, CSS contract, entrypoint, and
|
|
99
|
+
aesthetic audit coverage for the new variants and token-role mappings.
|
|
100
|
+
- **Dependencies**: Updated Spectre tokens, ESLint, PostCSS,
|
|
101
|
+
TypeScript ESLint, and related lockfile metadata.
|
|
102
|
+
|
|
103
|
+
### Fixed
|
|
104
|
+
|
|
105
|
+
- **Recipe Exports**: Updated the export snapshot and root recipe barrel to keep
|
|
106
|
+
the public type inventory aligned with source exports.
|
|
107
|
+
- **CSS Contract**: Increased the component entrypoint size budget to account
|
|
108
|
+
for the added token-backed variant selectors.
|
|
109
|
+
|
|
110
|
+
## [1.4.0] - 2026-04-25
|
|
111
|
+
|
|
112
|
+
Release Title: Contract Manifest and Variant Parity
|
|
113
|
+
|
|
114
|
+
### Added
|
|
115
|
+
|
|
116
|
+
- **Component Variants**: Added `ghost` support for `Badge`; `ghost`,
|
|
117
|
+
`neutral`, and `secondary` support for `IconBox`; and `fullHeight` structural
|
|
118
|
+
support for `PricingCard` and `Testimonial`.
|
|
119
|
+
- **Input States**: Added explicit boolean recipe flags for `Input` disabled
|
|
120
|
+
and loading classes while preserving the existing state-option contract.
|
|
121
|
+
- **Contract Manifest**: Added `ui-contract.manifest.json` as a machine-readable
|
|
122
|
+
inventory of CSS entry points, root exports, Tailwind exports, and recipe
|
|
123
|
+
family contracts.
|
|
124
|
+
- **Contract Validation**: Added README parity validation, Tailwind subpath
|
|
125
|
+
export validation, built-package smoke tests, recipe parity checks, and CSS
|
|
126
|
+
entry point manifest cross-checks.
|
|
127
|
+
- **Verification Docs**: Added local verification guidance, a contract coverage
|
|
128
|
+
map, and example-boundary documentation for maintainers.
|
|
129
|
+
|
|
130
|
+
### Changed
|
|
131
|
+
|
|
132
|
+
- **Token Alignment**: Synchronized component role mappings with
|
|
133
|
+
`@phcdevworks/spectre-tokens` releases through `^2.4.0`.
|
|
134
|
+
- **Public Exports**: Formalized `spectreIndexStylesPath` as part of the root
|
|
135
|
+
package contract and simplified Spectre token re-exports.
|
|
136
|
+
- **CI Verification**: Expanded `npm run ci:verify` to include README, Tailwind,
|
|
137
|
+
and strengthened CSS contract validation.
|
|
138
|
+
- **Dependencies**: Updated the npm package manager pin, Tailwind CSS, Vite,
|
|
139
|
+
Vitest, TypeScript ESLint packages, Rollup lockfile metadata, and related
|
|
140
|
+
lockfile entries.
|
|
141
|
+
|
|
142
|
+
### Fixed
|
|
143
|
+
|
|
144
|
+
- **Token Roles**: Corrected IconBox warning, testimonial quote/title, and
|
|
145
|
+
pricing-card featured-price role mappings to current published token intent.
|
|
146
|
+
- **Test Coverage**: Filled variant and contract test gaps for Badge, IconBox,
|
|
147
|
+
PricingCard, Testimonial, Tailwind exports, package smoke behavior, and README
|
|
148
|
+
parity.
|
|
149
|
+
- **CI Script Order**: Adjusted verification ordering so generated artifacts are
|
|
150
|
+
available before Tailwind and CSS contract checks run.
|
|
151
|
+
|
|
152
|
+
## [1.3.0] - 2026-04-18
|
|
153
|
+
|
|
154
|
+
Release Title: Contract Coverage Expansion and Interaction Parity
|
|
155
|
+
|
|
156
|
+
### Added
|
|
157
|
+
|
|
158
|
+
- **Component States**: Added interactive state support for `Rating`,
|
|
159
|
+
`PricingCard`, and `Testimonial`, plus active-state support for `Card` and
|
|
160
|
+
`Input`.
|
|
161
|
+
- **IconBox Variants**: Added `pill` variant support for `IconBox` in both
|
|
162
|
+
recipe output and component CSS contract.
|
|
163
|
+
- **Contract Enforcement**: Added and expanded CSS contract tests for generated
|
|
164
|
+
selectors, interaction states, size-variant selectors, entrypoint boundaries,
|
|
165
|
+
token-role guards, and Spectre-prefixed CSS variable enforcement.
|
|
166
|
+
- **Governance Docs**: Added hardening planning and tracking documents
|
|
167
|
+
(`ROADMAP.md`, `TODO.md`) and expanded repository guidance for contract
|
|
168
|
+
parity.
|
|
169
|
+
|
|
170
|
+
### Changed
|
|
171
|
+
|
|
172
|
+
- **Token Alignment**: Synchronized with published
|
|
173
|
+
`@phcdevworks/spectre-tokens` updates and tightened local token-mapping
|
|
174
|
+
coverage.
|
|
175
|
+
- **CSS Quality**: Improved component CSS rules and selector consistency to
|
|
176
|
+
align structural styles with recipe-emitted class contracts.
|
|
177
|
+
- **Dependencies**: Updated `@phcdevworks/spectre-tokens`, ESLint, PostCSS,
|
|
178
|
+
TypeScript, Prettier, and related development tooling.
|
|
179
|
+
- **Testing Surface**: Standardized tests on public package exports and refined
|
|
180
|
+
contract/aesthetic validation paths.
|
|
181
|
+
|
|
182
|
+
### Fixed
|
|
183
|
+
|
|
184
|
+
- **Selector Matching**: Corrected generated-class selector matching regex and
|
|
185
|
+
eliminated false negatives in CSS contract tests.
|
|
186
|
+
- **IconBox Warning Role**: Updated warning text tone mapping to the intended
|
|
187
|
+
`warning-800` token-backed color role.
|
|
188
|
+
|
|
189
|
+
## [1.2.0] - 2026-04-11
|
|
190
|
+
|
|
191
|
+
Release Title: Interactive State Parity and Validation Governance
|
|
192
|
+
|
|
193
|
+
### Added
|
|
194
|
+
|
|
195
|
+
- **Component States**: Added programmatic focus support to Button, focused and active support to Badge, and interactive, hovered, focused, and active parity for IconBox.
|
|
196
|
+
- **Rating Variants**: Added sm, md, and lg size variants to Rating recipes and structural CSS for size-driven rendering.
|
|
197
|
+
- **Validation Governance**: Added export snapshot checks, CSS entry-point validation, runtime validation, token freshness checks, and a Buildkite pipeline alongside the existing GitHub Actions workflow.
|
|
198
|
+
|
|
199
|
+
### Changed
|
|
200
|
+
|
|
201
|
+
- **Token Alignment**: Synchronized the UI layer with published @phcdevworks/spectre-tokens releases through 2.2.0, including the weekly alignment pass for 2.1.2 and the subsequent dependency bump to 2.2.0.
|
|
202
|
+
- **Release Tooling**: Consolidated the release verification flow under npm run ci:verify, added a pretest build step, pinned the Node runtime contract in .nvmrc and package.json, and tightened package-manager expectations with engine-strict.
|
|
203
|
+
- **Documentation**: Expanded README export guidance, clarified dependency and synchronization rules, and aligned contributor guidance with the stricter validation flow.
|
|
204
|
+
- **Dependencies**: Refreshed Node, ESLint, Vitest, Vite, and related build tooling to match the current validation and packaging contract.
|
|
205
|
+
|
|
206
|
+
### Fixed
|
|
207
|
+
|
|
208
|
+
- **Component Behavior**: Corrected IconBox hover opacity and ensured active, focus, and hover state classes render consistently across recipe-driven and structural component usage.
|
|
209
|
+
- **Contract Coverage**: Extended tests for CTA and accent button states, Tailwind preset deep merging, testimonial and pricing selectors, and scoped Tailwind package imports.
|
|
210
|
+
|
|
211
|
+
## [1.1.2] - 2026-04-05
|
|
212
|
+
|
|
213
|
+
Release Title: State Parity and Package Contract Hardening
|
|
214
|
+
|
|
215
|
+
### Added
|
|
216
|
+
|
|
217
|
+
- **Component States**: Added `loading` state support for `Card` and
|
|
218
|
+
`PricingCard`, plus explicit `hovered` and `focused` recipe parity for
|
|
219
|
+
`Card` and `Input`.
|
|
220
|
+
- **Recipe APIs**: Expanded state flags across `Badge`, `Button`, `Card`, and
|
|
221
|
+
`Input` so adapters can opt into hover, focus, and active contract classes
|
|
222
|
+
without inventing local styling logic.
|
|
223
|
+
- **Validation**: Added a GitHub Actions CI workflow that runs `npm run lint`,
|
|
224
|
+
`npm run build`, and `npm test` for pull requests and pushes to `main`.
|
|
225
|
+
- **Examples**: Added a visual examples index and focused verification fixtures
|
|
226
|
+
for card, pricing, and badge state checks.
|
|
227
|
+
|
|
228
|
+
### Changed
|
|
229
|
+
|
|
230
|
+
- **Token Alignment**: Synchronized the UI layer with the published
|
|
231
|
+
`@phcdevworks/spectre-tokens@2.1.1` package, restoring CTA button mappings to
|
|
232
|
+
upstream tokens and aligning featured pricing-card roles with token intent.
|
|
233
|
+
- **Packaging**: Reworked CSS bundling so every exported CSS entry point emits
|
|
234
|
+
a real standalone artifact with token context, and marked exported CSS files
|
|
235
|
+
as runtime side effects in `package.json`.
|
|
236
|
+
- **Typing & Tooling**: Tightened recipe option typing with `keyof`-based
|
|
237
|
+
unions, improved Tailwind theme type safety, and refreshed TypeScript and
|
|
238
|
+
ESLint-related tooling.
|
|
239
|
+
- **Documentation**: Updated README setup examples and expanded package
|
|
240
|
+
guidance around examples, exported CSS entry points, and validation
|
|
241
|
+
expectations.
|
|
242
|
+
|
|
243
|
+
### Fixed
|
|
244
|
+
|
|
245
|
+
- **Badge States**: Added forced hovered-state support for interactive `Badge`
|
|
246
|
+
variants so recipe-driven state previews stay in sync with CSS behavior.
|
|
247
|
+
- **Contract Coverage**: Extended tests to cover standalone CSS entry points,
|
|
248
|
+
rating selectors, and state-parity regressions across the updated recipes.
|
|
249
|
+
|
|
250
|
+
## [1.1.1] - 2026-03-29
|
|
251
|
+
|
|
252
|
+
Release Title: Loading States and Package Refinement
|
|
253
|
+
|
|
254
|
+
### Added
|
|
255
|
+
|
|
256
|
+
- **Component States**: Added `loading` state support for `Badge`, `IconBox`,
|
|
257
|
+
`Input`, `Rating`, and `Testimonial` recipes and CSS classes.
|
|
258
|
+
- **Component States**: Added `disabled` state support for `Rating` and
|
|
259
|
+
`Testimonial` components.
|
|
260
|
+
|
|
261
|
+
### Changed
|
|
262
|
+
|
|
263
|
+
- **Tailwind Preset**: Tightened `createSpectreTailwindPreset` typing so the
|
|
264
|
+
merged preset and theme preserve Tailwind config types during DTS builds.
|
|
265
|
+
- **Dependencies**: Updated Tailwind CSS to `4.2.2`, Vitest to `4.1.2`,
|
|
266
|
+
`@phcdevworks/spectre-tokens` to `2.1.1`, and refreshed supporting build and
|
|
267
|
+
lint dependencies.
|
|
268
|
+
- **Documentation**: Reworked `README.md` for clearer package ownership, setup,
|
|
269
|
+
exports, and usage examples.
|
|
270
|
+
- **Maintenance**: Refined repository guidance in `AGENTS.md`, refreshed VS
|
|
271
|
+
Code and Dependabot configuration, and normalized formatting across docs,
|
|
272
|
+
examples, and config files.
|
|
273
|
+
|
|
274
|
+
## [1.1.0] - 2026-03-22
|
|
275
|
+
|
|
276
|
+
Release Title: Disabled States and Layer Alignment
|
|
277
|
+
|
|
278
|
+
### Added
|
|
279
|
+
|
|
280
|
+
- **Component States**: Implemented `disabled` states across `Card`, `Badge`,
|
|
281
|
+
`IconBox`, and `PricingCard` components for improved accessibility and
|
|
282
|
+
interactivity.
|
|
283
|
+
- **Pill Variant**: Added `pill` variant support for `Input` components.
|
|
284
|
+
- **Project Structure**: Introduced `.keep` files for `skills` directory and
|
|
285
|
+
unified workspace configuration.
|
|
286
|
+
- **Arsenal Sync**: Synchronized design tokens from
|
|
287
|
+
`@phcdevworks/spectre-tokens` v2.x ecosystem.
|
|
288
|
+
|
|
289
|
+
### Changed
|
|
290
|
+
|
|
291
|
+
- **Dependencies**: Bumping `@phcdevworks/spectre-tokens` to `v2.1.0` for latest
|
|
292
|
+
design token features.
|
|
293
|
+
- **Maintenance**: Standardized project configurations (ESLint, Prettier,
|
|
294
|
+
.npmignore) across the Spectre suite.
|
|
295
|
+
- **ESLint**: Migrated `eslint.config.js` to `eslint.config.ts` for type-safe
|
|
296
|
+
linting with `import.meta.dirname` support.
|
|
297
|
+
- **Documentation**: Refined Layer 2 Blueprint terminology in `AGENTS.md` and
|
|
298
|
+
clarified 'Blueprint' vs 'DNA' definitions in `README.md`.
|
|
299
|
+
- **Infrastructure**: Removed legacy devcontainer configurations and tidied VS
|
|
300
|
+
Code workspace settings.
|
|
301
|
+
|
|
302
|
+
## [1.0.0] - 2026-03-16
|
|
303
|
+
|
|
304
|
+
Release Title: Blueprint Foundation Release
|
|
305
|
+
|
|
306
|
+
### Added
|
|
307
|
+
|
|
308
|
+
- **Specialized Recipes**: Introduced `PricingCard`, `Testimonial`, and `Rating`
|
|
309
|
+
class generators for complex UI patterns.
|
|
310
|
+
- **Architectural Foundation**: Officially established as Layer 2 (The
|
|
311
|
+
Blueprint) of the Spectre 8-Layer Arsenal.
|
|
312
|
+
|
|
313
|
+
### Changed
|
|
314
|
+
|
|
315
|
+
- **Dependencies**: Updated `@phcdevworks/spectre-tokens` to `v2.0.0`.
|
|
316
|
+
- **Maintenance**: Refactored `CHANGELOG.md` to follow industry best practices
|
|
317
|
+
and improved scannability.
|
|
318
|
+
- **Documentation**: Revitalized `README.md` and `CONTRIBUTING.md` with updated
|
|
319
|
+
architecture maps and Quick Start guides.
|
|
320
|
+
|
|
321
|
+
## [0.4.1] - 2026-01-14
|
|
322
|
+
|
|
323
|
+
Release Title: Input Tokens and Utility Cleanup
|
|
324
|
+
|
|
325
|
+
### Changed
|
|
326
|
+
|
|
327
|
+
- **Z-Index & Animations**: Refactored CSS variables to include a standardized
|
|
328
|
+
z-index scale and animation utility custom properties.
|
|
329
|
+
- **Input Components**: Refactored input role tokens and updated component
|
|
330
|
+
styles to use a new CSS variable structure, including helper text and error
|
|
331
|
+
message utilities.
|
|
332
|
+
- **Dependencies**: Updated dependencies in `package-lock.json`.
|
|
333
|
+
|
|
334
|
+
### Fixed
|
|
335
|
+
|
|
336
|
+
- **Documentation**: Fixed broken link in the contributing guide.
|
|
337
|
+
|
|
338
|
+
## [0.4.0] - 2026-01-03
|
|
339
|
+
|
|
340
|
+
Release Title: Semantic CSS System Refresh
|
|
341
|
+
|
|
342
|
+
### Changed
|
|
343
|
+
|
|
344
|
+
- **System Architecture**: Refactored CSS variables and backgrounds for
|
|
345
|
+
consistency, removing legacy fallback values to enforce strict token usage.
|
|
346
|
+
- **Component Refinement**: Reworked core component styles (Buttons, Badges,
|
|
347
|
+
Cards, Inputs, Icon Boxes) with a new semantic custom property structure.
|
|
348
|
+
- **States & Interactivity**: Enhanced handling for focus, hover, and disabled
|
|
349
|
+
states across all components.
|
|
350
|
+
- **Tailwind Integration**: Updated Tailwind utility paths and submodule exports
|
|
351
|
+
for better ESM/CJS compatibility.
|
|
352
|
+
- **Documentation**: Revamped README with corrected API examples and design
|
|
353
|
+
philosophy.
|
|
354
|
+
- **Examples**: Refactored `vanilla.html` to fully leverage the theme's CSS
|
|
355
|
+
variables instead of hardcoded values.
|
|
356
|
+
|
|
357
|
+
## [0.3.0] - 2025-12-24
|
|
358
|
+
|
|
359
|
+
Release Title: Bundled CSS Distribution
|
|
360
|
+
|
|
361
|
+
### Changed
|
|
362
|
+
|
|
363
|
+
- **Build Pipeline**: Migrated from direct CSS imports to a PostCSS-driven build
|
|
364
|
+
process for bundling `index.css`.
|
|
365
|
+
- **Distribution**: All CSS bundles (`base`, `components`, `utilities`, `index`)
|
|
366
|
+
are now unified in the `dist/` directory.
|
|
367
|
+
|
|
368
|
+
### Documentation
|
|
369
|
+
|
|
370
|
+
- **Maintenance**: Expanded build and release instructions for maintainers and
|
|
371
|
+
contributors.
|
|
372
|
+
|
|
373
|
+
## [0.2.2] - 2025-12-23
|
|
374
|
+
|
|
375
|
+
Release Title: Public API Tightening
|
|
376
|
+
|
|
377
|
+
### Changed
|
|
378
|
+
|
|
379
|
+
- **Public API**: Removed internal `spectreTokens` export to reduce bundle size
|
|
380
|
+
and prevent leakage of raw token data.
|
|
381
|
+
|
|
382
|
+
## [0.2.1] - 2025-12-23
|
|
383
|
+
|
|
384
|
+
Release Title: Tailwind Export Refinement
|
|
385
|
+
|
|
386
|
+
### Changed
|
|
387
|
+
|
|
388
|
+
- **Tailwind Exports**: Refactored Tailwind theme and preset exports for better
|
|
389
|
+
tree-shaking and developer experience.
|
|
390
|
+
|
|
391
|
+
## [0.2.0] - 2025-12-20
|
|
392
|
+
|
|
393
|
+
Release Title: Primitive Expansion and Tailwind Control
|
|
394
|
+
|
|
395
|
+
### Added
|
|
396
|
+
|
|
397
|
+
- **Primitives**: Introduced Badge and IconBox primitives with associated class
|
|
398
|
+
recipes and CSS.
|
|
399
|
+
- **Customization**: Added `createSpectreTailwindPreset` for advanced Tailwind
|
|
400
|
+
configuration control.
|
|
401
|
+
|
|
402
|
+
### Changed
|
|
403
|
+
|
|
404
|
+
- **Internal Logic**: Improved token resolution for isomorphic (Node and
|
|
405
|
+
browser) environments.
|
|
406
|
+
- **Utilities**: Refactored class utilities and added strict option validation.
|
|
407
|
+
|
|
408
|
+
## [0.1.0] - 2025-12-13
|
|
409
|
+
|
|
410
|
+
Release Title: Community Standards and Variant Growth
|
|
411
|
+
|
|
412
|
+
### Added
|
|
413
|
+
|
|
414
|
+
- **Compliance & Community**: Added issue templates, code of conduct, security
|
|
415
|
+
policy, and pull request templates.
|
|
416
|
+
- **Variants**: Introduced the `success` variant for Button recipes.
|
|
417
|
+
|
|
418
|
+
### Changed
|
|
419
|
+
|
|
420
|
+
- **Core Refactor**: Standardized CSS constants, class generators, and Tailwind
|
|
421
|
+
theme mapping logic.
|
|
422
|
+
- **Types**: Refactored TypeScript definitions for better type inference in
|
|
423
|
+
consuming applications.
|
|
424
|
+
|
|
425
|
+
## [0.0.5] - 2025-12-08
|
|
426
|
+
|
|
427
|
+
Release Title: Canonical CSS Bundle
|
|
428
|
+
|
|
429
|
+
### Added
|
|
430
|
+
|
|
431
|
+
- **Distribution**: Introduced the canonical `index.css` bundle.
|
|
432
|
+
|
|
433
|
+
## [0.0.4] - 2025-12-07
|
|
434
|
+
|
|
435
|
+
Release Title: Contract Testing and Utility Growth
|
|
436
|
+
|
|
437
|
+
### Added
|
|
438
|
+
|
|
439
|
+
- **Testing Suite**: Integrated Vitest and added comprehensive contract tests
|
|
440
|
+
for component CSS selectors and recipe outputs.
|
|
441
|
+
- **Utilities**: Added new semantic color roles and utility classes.
|
|
442
|
+
|
|
443
|
+
### Changed
|
|
444
|
+
|
|
445
|
+
- **Design System**: Refined CSS variables and enhanced theme color mapping
|
|
446
|
+
logic.
|
|
447
|
+
|
|
448
|
+
## [0.0.3] - 2025-12-06
|
|
449
|
+
|
|
450
|
+
Release Title: Surface Roles and Package Metadata
|
|
451
|
+
|
|
452
|
+
### Added
|
|
453
|
+
|
|
454
|
+
- **Surface Tokens**: Added CSS variables for semantic surface colors and text
|
|
455
|
+
roles.
|
|
456
|
+
- **Meta**: Added funding information and expanded package metadata.
|
|
457
|
+
|
|
458
|
+
## [0.0.2] - 2025-12-04
|
|
459
|
+
|
|
460
|
+
Release Title: Recipe API Alignment and Token Decoupling
|
|
461
|
+
|
|
462
|
+
### Changed
|
|
463
|
+
|
|
464
|
+
- **API Consistency**: Refactored Card, Input, and Button recipe APIs for
|
|
465
|
+
unified developer experience.
|
|
466
|
+
- **Token Decoupling**: Migrated to external `@phcdevworks/spectre-tokens`
|
|
467
|
+
package.
|
|
468
|
+
|
|
469
|
+
## [0.0.1] - 2025-11-27
|
|
470
|
+
|
|
471
|
+
Release Title: Initial Blueprint Release
|
|
472
|
+
|
|
473
|
+
### Added
|
|
474
|
+
|
|
475
|
+
- **Initial Release**: Comprehensive implementation of the Spectre Blueprint
|
|
476
|
+
package.
|
|
477
|
+
- **Features**: Includes TypeScript build pipeline, Tailwind preset, recipe
|
|
478
|
+
helpers, and precompiled CSS modules.
|
|
479
|
+
|
|
480
|
+
[unreleased]: https://github.com/phcdevworks/spectre-ui/compare/1.5.0...HEAD
|
|
481
|
+
[1.5.0]: https://github.com/phcdevworks/spectre-ui/compare/1.4.0...1.5.0
|
|
482
|
+
[1.4.0]: https://github.com/phcdevworks/spectre-ui/compare/1.3.0...1.4.0
|
|
483
|
+
[1.3.0]: https://github.com/phcdevworks/spectre-ui/compare/1.2.0...1.3.0
|
|
484
|
+
[1.2.0]: https://github.com/phcdevworks/spectre-ui/compare/1.1.2...1.2.0
|
|
485
|
+
[1.1.2]: https://github.com/phcdevworks/spectre-ui/compare/1.1.1...1.1.2
|
|
486
|
+
[1.1.1]: https://github.com/phcdevworks/spectre-ui/compare/1.1.0...1.1.1
|
|
487
|
+
[1.1.0]: https://github.com/phcdevworks/spectre-ui/compare/1.0.0...1.1.0
|
|
488
|
+
[1.0.0]: https://github.com/phcdevworks/spectre-ui/compare/0.4.1...1.0.0
|
|
489
|
+
[0.4.1]: https://github.com/phcdevworks/spectre-ui/compare/0.4.0...0.4.1
|
|
490
|
+
[0.4.0]: https://github.com/phcdevworks/spectre-ui/compare/0.3.0...0.4.0
|
|
491
|
+
[0.3.0]: https://github.com/phcdevworks/spectre-ui/compare/0.2.2...0.3.0
|
|
492
|
+
[0.2.2]: https://github.com/phcdevworks/spectre-ui/compare/0.2.1...0.2.2
|
|
493
|
+
[0.2.1]: https://github.com/phcdevworks/spectre-ui/compare/0.2.0...0.2.1
|
|
494
|
+
[0.2.0]: https://github.com/phcdevworks/spectre-ui/compare/0.1.0...0.2.0
|
|
495
|
+
[0.1.0]: https://github.com/phcdevworks/spectre-ui/compare/0.0.5...0.1.0
|
|
496
|
+
[0.0.5]: https://github.com/phcdevworks/spectre-ui/compare/0.0.4...0.0.5
|
|
497
|
+
[0.0.4]: https://github.com/phcdevworks/spectre-ui/compare/0.0.3...0.0.4
|
|
498
|
+
[0.0.3]: https://github.com/phcdevworks/spectre-ui/compare/0.0.2...0.0.3
|
|
499
|
+
[0.0.2]: https://github.com/phcdevworks/spectre-ui/compare/0.0.1...0.0.2
|
|
500
|
+
[0.0.1]: https://github.com/phcdevworks/spectre-ui/tree/0.0.1
|