@camunda/design-system 0.71.0 → 0.73.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 (44) hide show
  1. package/dist/carbon-compat/checkbox.d.ts +6 -1
  2. package/dist/carbon-compat/checkbox.d.ts.map +1 -1
  3. package/dist/carbon-compat/checkbox.js +6 -2
  4. package/dist/carbon-compat/checkbox.js.map +1 -1
  5. package/dist/carbon-compat/radio-button.d.ts +3 -1
  6. package/dist/carbon-compat/radio-button.d.ts.map +1 -1
  7. package/dist/carbon-compat/radio-button.js +6 -2
  8. package/dist/carbon-compat/radio-button.js.map +1 -1
  9. package/dist/carbon-compat/toggle.d.ts +5 -3
  10. package/dist/carbon-compat/toggle.d.ts.map +1 -1
  11. package/dist/carbon-compat/toggle.js +15 -10
  12. package/dist/carbon-compat/toggle.js.map +1 -1
  13. package/dist/src/components/ui/code-block.d.ts.map +1 -1
  14. package/dist/src/components/ui/code-block.js +11 -76
  15. package/dist/src/components/ui/code-block.js.map +1 -1
  16. package/dist/src/components/ui/copy-button.d.ts +21 -0
  17. package/dist/src/components/ui/copy-button.d.ts.map +1 -0
  18. package/dist/src/components/ui/copy-button.js +55 -0
  19. package/dist/src/components/ui/copy-button.js.map +1 -0
  20. package/dist/src/components/ui/copyable-value.d.ts +13 -0
  21. package/dist/src/components/ui/copyable-value.d.ts.map +1 -0
  22. package/dist/src/components/ui/copyable-value.js +13 -0
  23. package/dist/src/components/ui/copyable-value.js.map +1 -0
  24. package/dist/src/components/ui/definition-tooltip.d.ts +5 -1
  25. package/dist/src/components/ui/definition-tooltip.d.ts.map +1 -1
  26. package/dist/src/components/ui/definition-tooltip.js +149 -6
  27. package/dist/src/components/ui/definition-tooltip.js.map +1 -1
  28. package/dist/src/components/ui/empty-state.d.ts.map +1 -1
  29. package/dist/src/components/ui/empty-state.js +4 -1
  30. package/dist/src/components/ui/empty-state.js.map +1 -1
  31. package/dist/src/hooks/use-copy-to-clipboard.d.ts +29 -0
  32. package/dist/src/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  33. package/dist/src/hooks/use-copy-to-clipboard.js +126 -0
  34. package/dist/src/hooks/use-copy-to-clipboard.js.map +1 -0
  35. package/dist/src/index.d.ts +2 -0
  36. package/dist/src/index.d.ts.map +1 -1
  37. package/dist/src/index.js +2 -0
  38. package/dist/src/index.js.map +1 -1
  39. package/dist/src/lib/i18n/dictionary.d.ts +7 -0
  40. package/dist/src/lib/i18n/dictionary.d.ts.map +1 -1
  41. package/dist/src/lib/i18n/dictionary.js +6 -0
  42. package/dist/src/lib/i18n/dictionary.js.map +1 -1
  43. package/dist/styles.css +44 -0
  44. package/package.json +3 -2
package/dist/styles.css CHANGED
@@ -712,6 +712,9 @@
712
712
  .h-\[36rem\] {
713
713
  height: 36rem;
714
714
  }
715
+ .h-\[240px\] {
716
+ height: 240px;
717
+ }
715
718
  .h-\[400px\] {
716
719
  height: 400px;
717
720
  }
@@ -721,6 +724,9 @@
721
724
  .h-\[600px\] {
722
725
  height: 600px;
723
726
  }
727
+ .h-\[1440px\] {
728
+ height: 1440px;
729
+ }
724
730
  .h-\[calc\(100\%-2px\)\] {
725
731
  height: calc(100% - 2px);
726
732
  }
@@ -748,6 +754,9 @@
748
754
  .max-h-\(--radix-select-content-available-height\) {
749
755
  max-height: var(--radix-select-content-available-height);
750
756
  }
757
+ .max-h-40 {
758
+ max-height: calc(var(--spacing) * 40);
759
+ }
751
760
  .max-h-64 {
752
761
  max-height: calc(var(--spacing) * 64);
753
762
  }
@@ -1213,6 +1222,9 @@
1213
1222
  .grid-cols-\[auto_1fr_auto\] {
1214
1223
  grid-template-columns: auto 1fr auto;
1215
1224
  }
1225
+ .grid-cols-\[max-content_1fr\] {
1226
+ grid-template-columns: max-content 1fr;
1227
+ }
1216
1228
  .flex-col {
1217
1229
  flex-direction: column;
1218
1230
  }
@@ -1348,6 +1360,12 @@
1348
1360
  .gap-x-2 {
1349
1361
  column-gap: calc(var(--spacing) * 2);
1350
1362
  }
1363
+ .gap-x-4 {
1364
+ column-gap: calc(var(--spacing) * 4);
1365
+ }
1366
+ .gap-y-2 {
1367
+ row-gap: calc(var(--spacing) * 2);
1368
+ }
1351
1369
  .gap-y-3 {
1352
1370
  row-gap: calc(var(--spacing) * 3);
1353
1371
  }
@@ -2096,6 +2114,12 @@
2096
2114
  .break-words {
2097
2115
  overflow-wrap: break-word;
2098
2116
  }
2117
+ .break-all {
2118
+ word-break: break-all;
2119
+ }
2120
+ .text-ellipsis {
2121
+ text-overflow: ellipsis;
2122
+ }
2099
2123
  .whitespace-nowrap {
2100
2124
  white-space: nowrap;
2101
2125
  }
@@ -2541,6 +2565,18 @@
2541
2565
  .placeholder\:text-neutral-foreground-subtle::placeholder {
2542
2566
  color: var(--neutral-foreground-subtle);
2543
2567
  }
2568
+ .before\:-mb-4::before {
2569
+ content: var(--tw-content);
2570
+ margin-bottom: calc(var(--spacing) * -4);
2571
+ }
2572
+ .before\:max-h-40::before {
2573
+ content: var(--tw-content);
2574
+ max-height: calc(var(--spacing) * 40);
2575
+ }
2576
+ .before\:flex-1::before {
2577
+ content: var(--tw-content);
2578
+ flex: 1;
2579
+ }
2544
2580
  .after\:pointer-events-none::after {
2545
2581
  content: var(--tw-content);
2546
2582
  pointer-events: none;
@@ -2561,6 +2597,14 @@
2561
2597
  content: var(--tw-content);
2562
2598
  inset-block: calc(var(--spacing) * -2);
2563
2599
  }
2600
+ .after\:-mt-4::after {
2601
+ content: var(--tw-content);
2602
+ margin-top: calc(var(--spacing) * -4);
2603
+ }
2604
+ .after\:flex-2::after {
2605
+ content: var(--tw-content);
2606
+ flex: 2;
2607
+ }
2564
2608
  .after\:rounded-sm::after {
2565
2609
  content: var(--tw-content);
2566
2610
  border-radius: calc(var(--radius) - 4px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/design-system",
3
- "version": "0.71.0",
3
+ "version": "0.73.0",
4
4
  "description": "Camunda's AI-first design system. shadcn + Tailwind components, design tokens aligned to Camunda's identity, and AI tooling for component authoring + migration.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -88,7 +88,7 @@
88
88
  "audit:conventions": "node scripts/audit-conventions.mjs",
89
89
  "mapping:build": "bash skills/migrate/scripts/build-mapping.sh",
90
90
  "mapping:check": "bash skills/migrate/scripts/build-mapping.sh --check",
91
- "test:rules": "node eslint-rules/no-adhoc-typography.test.mjs && node eslint-rules/no-bare-var-arbitrary.test.mjs && node eslint-rules/no-primitive-tailwind-colors.test.mjs && node eslint-rules/no-raw-color-in-classname.test.mjs && node eslint-rules/require-shared-sidebar-provider.test.mjs && node eslint-rules/no-hardcoded-user-facing-string.test.mjs && node eslint-rules/no-direct-lucide-import.test.mjs && node eslint-rules/no-deep-import.test.mjs && node eslint-rules/button-has-type.test.mjs && node eslint-rules/icon-button-needs-label.test.mjs && node eslint-rules/prefer-link-props.test.mjs && node eslint-rules/require-browsable-link.test.mjs && node eslint-rules/no-hardcoded-i18n-prop.test.mjs && node eslint-rules/no-uncompiled-utility.test.mjs && node --test eslint-plugin/index.test.mjs src/icons/registry.integrity.test.mjs src/icons/carbon-lucide-mapping.integrity.test.mjs src/lib/trigger-ref.integrity.test.mjs src/lib/i18n/dictionary.test.mjs src/lib/i18n/dictionary-usage.test.mjs src/lib/i18n/context.test.mjs scripts/package-exports.integrity.test.mjs scripts/json-import-attributes.integrity.test.mjs scripts/plugin-check-version.test.mjs .storybook/a11y-run-args.test.mjs",
91
+ "test:rules": "node eslint-rules/no-adhoc-typography.test.mjs && node eslint-rules/no-bare-var-arbitrary.test.mjs && node eslint-rules/no-primitive-tailwind-colors.test.mjs && node eslint-rules/no-raw-color-in-classname.test.mjs && node eslint-rules/require-shared-sidebar-provider.test.mjs && node eslint-rules/no-hardcoded-user-facing-string.test.mjs && node eslint-rules/no-direct-lucide-import.test.mjs && node eslint-rules/no-deep-import.test.mjs && node eslint-rules/button-has-type.test.mjs && node eslint-rules/icon-button-needs-label.test.mjs && node eslint-rules/prefer-link-props.test.mjs && node eslint-rules/require-browsable-link.test.mjs && node eslint-rules/no-hardcoded-i18n-prop.test.mjs && node eslint-rules/no-uncompiled-utility.test.mjs && node --test eslint-plugin/index.test.mjs src/icons/registry.integrity.test.mjs src/icons/carbon-lucide-mapping.integrity.test.mjs src/lib/trigger-ref.integrity.test.mjs src/lib/i18n/dictionary.test.mjs src/lib/i18n/dictionary-usage.test.mjs src/lib/i18n/context.test.mjs scripts/package-exports.integrity.test.mjs scripts/json-import-attributes.integrity.test.mjs scripts/plugin-check-version.test.mjs scripts/agent-model.integrity.test.mjs .storybook/a11y-run-args.test.mjs",
92
92
  "test:skills": "bash skills/migrate/scripts/test/consumer-setup.test.sh && bash skills/migrate/scripts/test/bulk-verify-done.test.sh && bash skills/migrate/scripts/test/visual-capture.test.sh",
93
93
  "test:hooks": "python3 plugins/camunda-design-system/scripts/route-request.test.py",
94
94
  "prepare": "husky",
@@ -134,6 +134,7 @@
134
134
  "react-remove-scroll": "^2.7.2",
135
135
  "recharts": "^3.8.1",
136
136
  "sonner": "^2.0.8",
137
+ "tabbable": "^6.5.0",
137
138
  "tailwind-merge": "3.6.0"
138
139
  },
139
140
  "overrides": {