cetec-design-system 2.0.0-next.0 → 2.0.2-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.
Files changed (41) hide show
  1. package/README.md +6 -0
  2. package/dist/{cetec-preset-DcowG2i7.js → cetec-preset-CMHb1Xn9.js} +781 -402
  3. package/dist/cetec-preset-CMHb1Xn9.js.map +1 -0
  4. package/dist/icon-metadata.json +22 -0
  5. package/dist/index.js +775 -344
  6. package/dist/index.js.map +1 -1
  7. package/dist/panda.buildinfo.json +508 -90
  8. package/dist/preset.js +1 -1
  9. package/dist/specs/conditions.json +12 -0
  10. package/dist/specs/keyframes.json +11 -0
  11. package/dist/specs/recipes.json +124 -41
  12. package/dist/specs/semantic-tokens.json +175 -0
  13. package/dist/specs/text-styles.json +144 -0
  14. package/dist/specs/tokens.json +20 -0
  15. package/dist/sprite.svg +1 -1
  16. package/dist/sprite.symbol.html +57 -2
  17. package/dist/styles.css +4260 -2365
  18. package/dist/svgs/barcode-off.svg +1 -0
  19. package/dist/svgs/barcode.svg +1 -1
  20. package/dist/svgs/spinner.svg +1 -0
  21. package/dist/types/index.d.ts +86 -202
  22. package/package.json +1 -1
  23. package/src/recipes/avatar.ts +6 -6
  24. package/src/recipes/badge.ts +3 -0
  25. package/src/recipes/button.ts +125 -111
  26. package/src/recipes/chip.ts +146 -127
  27. package/src/recipes/icon.ts +10 -1
  28. package/src/recipes/kbd.ts +53 -0
  29. package/src/recipes/recipes-regular.ts +1 -0
  30. package/src/recipes/recipes-slot.ts +1 -0
  31. package/src/recipes/skeleton.ts +73 -0
  32. package/src/recipes/spinner.ts +37 -29
  33. package/src/recipes/textInput.ts +77 -81
  34. package/src/styles/primitives/animations.ts +3 -0
  35. package/src/styles/primitives/sizes.ts +1 -0
  36. package/src/styles/semantics/fontSizes.ts +60 -0
  37. package/src/styles/semantics/index.ts +1 -0
  38. package/src/styles/utilities/conditions.ts +1 -0
  39. package/src/styles/utilities/keyframes.ts +8 -0
  40. package/src/styles/utilities/textStyles.ts +168 -34
  41. package/dist/cetec-preset-DcowG2i7.js.map +0 -1
package/README.md CHANGED
@@ -177,11 +177,15 @@ Packages are published from the repo root with `dist` included in the published
177
177
 
178
178
  - **Workflow trigger**: Every push to `main` runs the release workflow.
179
179
  - **Automatic labels**: PR title labels are synced automatically from the Conventional Commit title.
180
+ - **Merge strategy**: Release resolution assumes squash merges and reads the PR number from the squash commit title when possible.
180
181
  - **Publishing behavior**: A merged change that resolves to a releasable bump publishes a prerelease by default. Add the `release` label to graduate that merge to a stable `latest` release.
181
182
  - **Version bump labels**: `major`, `minor`, and `patch` remain manual labels.
182
183
  - **Default bump**: If the merged PR has no semver label, Auto will not publish a release.
183
184
  - **No-release labels**: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, and `revert` are changelog labels. They do not publish on their own unless paired with a semver label.
184
185
  - **Skip label**: Use `skip-release` to prevent publishing.
186
+ - **Version source of truth**: Publish version selection is based on versions already published to npm. `package.json` is only a fallback when there is no published history yet.
187
+ - **Stable releases**: A `release` label promotes the PR’s semver bump from the highest published stable version.
188
+ - **Prereleases**: Without `release`, the workflow bumps from the highest published version overall, including existing prereleases, then publishes the next prerelease for that line.
185
189
  - **Changelog**: Auto-generated based on PR labels and titles
186
190
  - **PR Titles**: Must follow our defined format for Auto release automation:
187
191
 
@@ -254,6 +258,8 @@ Examples:
254
258
  - `refactor(major)!: break input API` => label `refactor`, no publish until a semver label is added
255
259
  - `feat: add modal` + manual `minor` label => prerelease minor
256
260
  - `feat: add modal` + manual `minor` + `release` labels => stable minor release
261
+ - highest published version `2.0.0-next.0` + manual `patch` label => `2.0.1-next.0`
262
+ - highest published stable version `2.0.0` + manual `patch` + `release` labels => `2.0.1`
257
263
  - `skip-release` => no publish
258
264
 
259
265
  See `.autorc` for the complete configuration.