cetec-design-system 1.0.0 β†’ 1.1.1-next.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 (48) hide show
  1. package/README.md +33 -17
  2. package/dist/index.js +6 -4
  3. package/dist/index.js.map +1 -1
  4. package/dist/panda.buildinfo.json +739 -0
  5. package/dist/styles.css +44530 -5
  6. package/dist/types/index.d.ts +1 -1
  7. package/package.json +5 -4
  8. package/dist/styles/global.css +0 -66
  9. package/dist/styles/recipes/avatar.css +0 -189
  10. package/dist/styles/recipes/badge.css +0 -129
  11. package/dist/styles/recipes/box.css +0 -14
  12. package/dist/styles/recipes/breadcrumbs.css +0 -52
  13. package/dist/styles/recipes/button.css +0 -370
  14. package/dist/styles/recipes/card.css +0 -59
  15. package/dist/styles/recipes/checkbox-input.css +0 -31
  16. package/dist/styles/recipes/checkbox.css +0 -88
  17. package/dist/styles/recipes/chip.css +0 -157
  18. package/dist/styles/recipes/code.css +0 -19
  19. package/dist/styles/recipes/date-picker.css +0 -207
  20. package/dist/styles/recipes/divider.css +0 -39
  21. package/dist/styles/recipes/form-field.css +0 -38
  22. package/dist/styles/recipes/heading.css +0 -43
  23. package/dist/styles/recipes/highlight-text.css +0 -20
  24. package/dist/styles/recipes/icon-button.css +0 -366
  25. package/dist/styles/recipes/icon.css +0 -9
  26. package/dist/styles/recipes/label.css +0 -15
  27. package/dist/styles/recipes/link.css +0 -49
  28. package/dist/styles/recipes/list-item-group.css +0 -33
  29. package/dist/styles/recipes/list-item.css +0 -161
  30. package/dist/styles/recipes/list.css +0 -19
  31. package/dist/styles/recipes/menu.css +0 -141
  32. package/dist/styles/recipes/modal.css +0 -128
  33. package/dist/styles/recipes/pre.css +0 -23
  34. package/dist/styles/recipes/radio-input.css +0 -23
  35. package/dist/styles/recipes/radio.css +0 -90
  36. package/dist/styles/recipes/spinner.css +0 -52
  37. package/dist/styles/recipes/tag.css +0 -24
  38. package/dist/styles/recipes/text-input.css +0 -123
  39. package/dist/styles/recipes/text.css +0 -72
  40. package/dist/styles/recipes/textarea.css +0 -78
  41. package/dist/styles/recipes/time-picker.css +0 -171
  42. package/dist/styles/recipes/toggle-input.css +0 -25
  43. package/dist/styles/recipes/toggle.css +0 -97
  44. package/dist/styles/recipes/tooltip.css +0 -66
  45. package/dist/styles/recipes.css +0 -36
  46. package/dist/styles/reset.css +0 -1
  47. package/dist/styles/tokens.css +0 -1286
  48. package/dist/styles/utilities.css +0 -2033
package/README.md CHANGED
@@ -176,10 +176,11 @@ Packages are published from the repo root with `dist` included in the published
176
176
  ### Contributing
177
177
 
178
178
  - **Workflow trigger**: Every push to `main` runs the release workflow.
179
+ - **Automatic labels**: PR title labels are synced automatically from the Conventional Commit title.
179
180
  - **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.
180
- - **Version bump labels**: Use `major`, `minor`, or `patch` to control the semver bump.
181
- - **Default bump**: If the merged PR has no Auto semver label, Auto defaults the head change to `patch`.
182
- - **No-release labels**: `internal`, `documentation`, `tests`, and `dependencies` do not publish on their own.
181
+ - **Version bump labels**: `major`, `minor`, and `patch` remain manual labels.
182
+ - **Default bump**: If the merged PR has no semver label, Auto will not publish a release.
183
+ - **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.
183
184
  - **Skip label**: Use `skip-release` to prevent publishing.
184
185
  - **Changelog**: Auto-generated based on PR labels and titles
185
186
  - **PR Titles**: Must follow our defined format for Auto release automation:
@@ -219,25 +220,40 @@ Packages are published from the repo root with `dist` included in the published
219
220
  >
220
221
  > Use your best judgement when deciding what type and scope to use for the PR you’re creating.
221
222
 
223
+ Auto-applied label behavior:
224
+
225
+ - Title type `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, and `revert` applies the matching PR-type label.
226
+ - `major`, `minor`, `patch`, `release`, and `skip-release` remain manual labels.
227
+ - PR title scopes such as `major`, `minor`, and `patch` are allowed by validation, but they do not apply labels automatically.
228
+
222
229
  ### Release Labels
223
230
 
224
- - `major` - Major version bump (πŸ’₯ Breaking Change)
225
- - `minor` - Minor version bump (πŸš€ Enhancement)
226
- - `patch` - Patch version bump (πŸ› Bug Fix)
227
- - `release` - Graduate the publish from prerelease to stable `latest`
228
- - `skip-release` - Do not publish a release
229
- - `internal` - Internal changes only (🏠 Internal)
230
- - `documentation` - Documentation updates only (πŸ“ Documentation)
231
- - `tests` - Test-only changes (πŸ§ͺ Tests)
232
- - `dependencies` - Dependency updates only (πŸ”© Dependency Updates)
233
- - `performance` - Performance improvements (🏎 Performance)
231
+ - `major` - Use for breaking changes that should trigger a major version bump when merged
232
+ - `minor` - Use for new functionality that should trigger a minor version bump when merged
233
+ - `patch` - Use for fixes or small improvements that should trigger a patch version bump when merged
234
+ - `release` - Graduate the merge from a prerelease publish to a stable latest release
235
+ - `skip-release` - Prevent Auto from publishing a release for this PR when it is merged
236
+ - `changes` - Fallback changelog section for merged work that does not match a more specific PR type label
237
+ - `feat` - Feature work that adds or expands user-facing functionality
238
+ - `fix` - Bug fix work that corrects broken or incorrect behavior
239
+ - `docs` - Documentation-only work such as guides, examples, or API docs
240
+ - `style` - Visual or formatting changes that do not alter component behavior
241
+ - `refactor` - Code restructuring or cleanup that does not change intended behavior
242
+ - `perf` - Performance-focused work that improves speed, efficiency, or bundle cost
243
+ - `test` - Test-only work such as adding coverage or improving existing test cases
244
+ - `build` - Build, packaging, dependency, or tooling changes affecting how the project is produced
245
+ - `ci` - Continuous integration or deployment workflow changes
246
+ - `chore` - General maintenance work that does not fit a more specific change type
247
+ - `revert` - Reverts a previous change or backs out an earlier merge
234
248
 
235
249
  Examples:
236
250
 
237
- - `minor` => prerelease minor
238
- - `minor` + `release` => stable minor release
239
- - no Auto semver label => prerelease patch
240
- - `documentation` only => no publish
251
+ - `feat: add modal` => label `feat`, no publish until a semver label is added
252
+ - `ci: update release workflow` => label `ci`, no publish
253
+ - `fix(patch): restore export` => label `fix`, no publish until a semver label is added
254
+ - `refactor(major)!: break input API` => label `refactor`, no publish until a semver label is added
255
+ - `feat: add modal` + manual `minor` label => prerelease minor
256
+ - `feat: add modal` + manual `minor` + `release` labels => stable minor release
241
257
  - `skip-release` => no publish
242
258
 
243
259
  See `.autorc` for the complete configuration.
package/dist/index.js CHANGED
@@ -15207,8 +15207,10 @@ const Menu = (props) => {
15207
15207
  const isOpen = isControlled ? open : uncontrolledOpen;
15208
15208
  const isMenuVisible = hasReference ? isOpen : true;
15209
15209
  const setOpenState = (nextOpen, _event, reason) => {
15210
- if (triggerInteraction === "hover" && !nextOpen && (reason === "hover" || reason === "safe-polygon")) {
15211
- return;
15210
+ if (!nextOpen && (reason === "hover" || reason === "safe-polygon")) {
15211
+ if (triggerInteraction === "hover" || triggerInteraction === "click-and-hover") {
15212
+ return;
15213
+ }
15212
15214
  }
15213
15215
  if (!isControlled) {
15214
15216
  setUncontrolledOpen(nextOpen);
@@ -15240,7 +15242,7 @@ const Menu = (props) => {
15240
15242
  const labelsRef = useRef([]);
15241
15243
  const [activeIndex, setActiveIndex] = useState(null);
15242
15244
  const hover = useHover(floating.context, {
15243
- enabled: hasReference && triggerInteraction === "hover",
15245
+ enabled: hasReference && (triggerInteraction === "hover" || triggerInteraction === "click-and-hover"),
15244
15246
  delay: {
15245
15247
  open: triggerOpenDelay,
15246
15248
  close: triggerCloseDelay
@@ -15250,7 +15252,7 @@ const Menu = (props) => {
15250
15252
  })
15251
15253
  });
15252
15254
  const click = useClick(floating.context, {
15253
- enabled: hasReference && triggerInteraction === "click"
15255
+ enabled: hasReference && (triggerInteraction === "click" || triggerInteraction === "click-and-hover")
15254
15256
  });
15255
15257
  const dismiss = useDismiss(floating.context, { enabled: hasReference });
15256
15258
  const role = useRole(floating.context, { role: "menu" });