@camunda/design-system 0.22.0 → 0.23.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/README.md CHANGED
@@ -15,10 +15,12 @@ Install once to get AI agents for building UI, adding components, and migrating
15
15
  1. Open the plugin manager: `/plugins`
16
16
  2. **Marketplaces** → **Add** → enter `camunda/design-system` → confirm
17
17
  3. **Discover** → find `camunda-design-system` → **Install**
18
- 4. Choose **user** scope → enable **Auto-update**
18
+ 4. Choose **user** scope
19
19
 
20
20
  No configuration needed — agents auto-detect the DS package via `components.json`.
21
21
 
22
+ Update notifications are built in: a banner appears at session start whenever a newer plugin version is available. To apply the update, open `/plugins` and click **Update** on the `camunda-design-system` tile.
23
+
22
24
  | Task | How |
23
25
  | ------------------------------------ | ------------------------------ |
24
26
  | Build UI from existing DS components | Describe what you need in chat |
@@ -144,6 +146,26 @@ Once changesets accumulate on `main`, the bot opens a **"Version Packages"** PR
144
146
 
145
147
  → [Full release guide](./docs/guides/releasing.md)
146
148
 
149
+ ### Releasing a plugin update
150
+
151
+ Plugin agents, skills, and scripts are versioned **independently** of the npm package — no changeset needed, no npm publish.
152
+
153
+ **Version bumps are automatic:** the pre-commit hook detects staged changes to `agents/`, `skills/`, or `plugins/camunda-design-system/` and runs a `patch` bump automatically. No manual step required for routine changes.
154
+
155
+ To bump `minor` or `major` manually (new agent added, breaking API change):
156
+
157
+ ```bash
158
+ npm run version:bump-plugin minor # or major
159
+ ```
160
+
161
+ | Type | When |
162
+ | ------- | -------------------------------------------------------- |
163
+ | `patch` | Prompt tweaks, script fixes, copy corrections — **auto** |
164
+ | `minor` | New agent or skill added |
165
+ | `major` | Breaking change to agent API or plugin structure |
166
+
167
+ CI will block plugin-file changes that lack a version bump — add label `skip-plugin-version` to bypass when intentional.
168
+
147
169
  ### Before every PR
148
170
 
149
171
  ```bash
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../carbon-compat/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAE5C,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,qBAiEjC;AAED,OAAO,EAAC,MAAM,EAAC,CAAC"}
1
+ {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../carbon-compat/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,WAAW,IAAI,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAE5C,iBAAS,MAAM,CAAC,KAAK,EAAE,WAAW,qBAuEjC;AAED,OAAO,EAAC,MAAM,EAAC,CAAC"}
@@ -4,7 +4,12 @@ import { Switch } from '../src/components/ui/switch.js';
4
4
  import { cn, warnDroppedProps } from '../src/lib/utils.js';
5
5
  function Toggle(props) {
6
6
  const { 'aria-labelledby': ariaLabelledby, className, defaultToggled, disabled, hideLabel, id, labelA, labelB, labelText, onClick, onToggle, readOnly, size, toggled, ...rest } = props;
7
- warnDroppedProps('Toggle', { readOnly, size });
7
+ warnDroppedProps('Toggle', { readOnly });
8
+ // Carbon's `<Toggle size="sm">` maps to DS `<Switch size="sm">` (visually
9
+ // matches `.cds--toggle--small`); Carbon's default `md` maps to DS `md`.
10
+ // Carbon `ToggleProps.size` is typed as `'sm' | 'md'` (Carbon Toggle has
11
+ // no `lg`); any unknown/legacy value falls back to DS `md`.
12
+ const dsSize = size === 'sm' ? 'sm' : 'md';
8
13
  // Track the switch's checked state internally so the side label ("On"/"Off"
9
14
  // via labelA/labelB) reflects toggles when the consumer hasn't wired
10
15
  // `toggled` + `onToggle` — same shape Carbon's `Toggle` uses via
@@ -39,7 +44,7 @@ function Toggle(props) {
39
44
  // render labelText as the header and labelA/labelB as the side); it
40
45
  // is intentional because carbon-compat can't render both.
41
46
  const labelContent = hideLabel ? labelText : (labelText ?? (checkedState ? labelB : labelA));
42
- const switchEl = (_jsx(Switch, { id: id, "aria-labelledby": ariaLabelledby, disabled: disabled, checked: checkedState, onClick: onClick, onCheckedChange: handleCheckedChange, ...rest }));
47
+ const switchEl = (_jsx(Switch, { id: id, size: dsSize, "aria-labelledby": ariaLabelledby, disabled: disabled, checked: checkedState, onClick: onClick, onCheckedChange: handleCheckedChange, ...rest }));
43
48
  if (!labelContent)
44
49
  return React.cloneElement(switchEl, { className });
45
50
  return (_jsxs("div", { className: cn('flex items-center gap-2', className), children: [switchEl, _jsx("label", { htmlFor: id, className: cn('text-sm font-medium leading-none', disabled && 'cursor-not-allowed opacity-70'), children: labelContent })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","sourceRoot":"","sources":["../../carbon-compat/toggle.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,MAAM,EAAC,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAC,EAAE,EAAE,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AAKtD,SAAS,MAAM,CAAC,KAAkB;IAChC,MAAM,EACJ,iBAAiB,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EACrF,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,EAC/E,GAAG,KAAK,CAAC;IACV,gBAAgB,CAAC,QAAQ,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;IAC7C,4EAA4E;IAC5E,qEAAqE;IACrE,iEAAiE;IACjE,yEAAyE;IACzE,0EAA0E;IAC1E,MAAM,YAAY,GAAG,OAAO,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,CACP,CAAC;AACJ,CAAC;AAED,OAAO,EAAC,MAAM,EAAC,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
2
3
  import { Switch as SwitchPrimitive } from "radix-ui";
3
- declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): React.JSX.Element;
4
+ declare const switchTrackVariants: (props?: ({
5
+ size?: "sm" | "md" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ type SwitchProps = React.ComponentProps<typeof SwitchPrimitive.Root> & VariantProps<typeof switchTrackVariants>;
8
+ declare function Switch({ className, size, ...props }: SwitchProps): React.JSX.Element;
4
9
  export { Switch };
5
10
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAIrD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBA8BnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAIrD,QAAA,MAAM,mBAAmB;;8EAsBxB,CAAC;AAsBF,KAAK,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,GAClE,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE3C,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,qBAazD;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -1,24 +1,49 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
+ import { cva } from "class-variance-authority";
4
5
  import { Switch as SwitchPrimitive } from "radix-ui";
5
6
  import { cn } from "../../lib/utils.js";
6
- function Switch({ className, ...props }) {
7
- return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", className: cn(
8
- // Track: 24×44 with explicit `border-0` to clear the browser's default
9
- // <button> border (Radix renders Switch as a button). Relative
10
- // positioning hosts the absolutely-positioned thumb. Absolute
11
- // positioning is used instead of flex+translate so geometry is
12
- // independent of `box-sizing` (c4 ships Tailwind without preflight,
13
- // so the global `box-sizing: border-box` reset is not applied).
14
- "peer relative inline-block h-6 w-11 shrink-0 cursor-pointer rounded-full border-0 p-0 transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary-action-default data-[state=unchecked]:bg-switch-background", className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn(
15
- // Thumb: 20×20 absolutely positioned 2px from the left edge, then
16
- // animated horizontally via `translate-x` so the slide is smooth
17
- // (CSS can't interpolate between a length and `auto`, so left/right
18
- // swapping animates badly translate is interpolatable).
19
- // -translate-y-1/2 on top of translate-x composes via Tailwind v4's
20
- // transform variables.
21
- "pointer-events-none absolute top-1/2 left-0.5 size-5 -translate-y-1/2 rounded-full bg-neutral-background-subtle shadow-sm ring-0 transition-transform duration-200 ease-in-out data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground-strong dark:data-[state=unchecked]:bg-neutral-background-subtle-foreground") }) }));
7
+ const switchTrackVariants = cva(
8
+ // Track base (size-independent):
9
+ // Relative positioning hosts the absolutely-positioned thumb. `border-0`
10
+ // clears the browser's default <button> border (Radix renders Switch as
11
+ // a button). `p-0` is needed because Tailwind ships c4 without preflight
12
+ // (no global button reset).
13
+ "peer relative inline-block shrink-0 cursor-pointer rounded-full border-0 p-0 transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary-action-default data-[state=unchecked]:bg-switch-background", {
14
+ variants: {
15
+ size: {
16
+ // 24×44 track, 20×20 thumb, +20px slide on check.
17
+ md: "h-6 w-11",
18
+ // 16×32 track, 12×12 thumb, +16px slide on check matches Carbon
19
+ // `.cds--toggle--small` visual density for parity with Carbon
20
+ // consumers that use `<Toggle size="sm">`.
21
+ sm: "h-4 w-8",
22
+ },
23
+ },
24
+ defaultVariants: {
25
+ size: "md",
26
+ },
27
+ });
28
+ const switchThumbVariants = cva(
29
+ // Thumb base (size-independent): absolutely positioned 2px from the left
30
+ // edge, animated horizontally via `translate-x` (translation is
31
+ // CSS-interpolatable; left/right length↔auto is not, so it animates
32
+ // poorly). `-translate-y-1/2` on top of translate-x composes via Tailwind
33
+ // v4's transform variables.
34
+ "pointer-events-none absolute top-1/2 left-0.5 -translate-y-1/2 rounded-full bg-neutral-background-subtle shadow-sm ring-0 transition-transform duration-200 ease-in-out data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground-strong dark:data-[state=unchecked]:bg-neutral-background-subtle-foreground", {
35
+ variants: {
36
+ size: {
37
+ md: "size-5 data-[state=checked]:translate-x-5",
38
+ sm: "size-3 data-[state=checked]:translate-x-4",
39
+ },
40
+ },
41
+ defaultVariants: {
42
+ size: "md",
43
+ },
44
+ });
45
+ function Switch({ className, size, ...props }) {
46
+ return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", className: cn(switchTrackVariants({ size }), className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn(switchThumbVariants({ size })) }) }));
22
47
  }
23
48
  export { Switch };
24
49
  //# sourceMappingURL=switch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B,SAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EAC0C;IAClD,OAAO,CACL,KAAC,eAAe,CAAC,IAAI,iBACT,QAAQ,EAClB,SAAS,EAAE,EAAE;QACX,uEAAuE;QACvE,+DAA+D;QAC/D,8DAA8D;QAC9D,+DAA+D;QAC/D,oEAAoE;QACpE,gEAAgE;QAChE,+WAA+W,EAC/W,SAAS,CACV,KACG,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAE,EAAE;YACX,kEAAkE;YAClE,iEAAiE;YACjE,oEAAoE;YACpE,0DAA0D;YAC1D,oEAAoE;YACpE,uBAAuB;YACvB,mXAAmX,CACpX,GACD,GACmB,CACxB,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../../src/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE/B,MAAM,mBAAmB,GAAG,GAAG;AAC7B,iCAAiC;AACjC,2EAA2E;AAC3E,0EAA0E;AAC1E,2EAA2E;AAC3E,8BAA8B;AAC9B,sWAAsW,EACtW;IACE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,kDAAkD;YAClD,EAAE,EAAE,UAAU;YACd,kEAAkE;YAClE,8DAA8D;YAC9D,2CAA2C;YAC3C,EAAE,EAAE,SAAS;SACd;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC;AAEF,MAAM,mBAAmB,GAAG,GAAG;AAC7B,yEAAyE;AACzE,gEAAgE;AAChE,oEAAoE;AACpE,0EAA0E;AAC1E,4BAA4B;AAC5B,yUAAyU,EACzU;IACE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,EAAE,EAAE,2CAA2C;YAC/C,EAAE,EAAE,2CAA2C;SAChD;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;CACF,CACF,CAAC;AAKF,SAAS,MAAM,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAe;IACxD,OAAO,CACL,KAAC,eAAe,CAAC,IAAI,iBACT,QAAQ,EAClB,SAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,CAAC,KACnD,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACV,cAAc,EACxB,SAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,GAC5C,GACmB,CACxB,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
package/dist/styles.css CHANGED
@@ -3228,6 +3228,12 @@
3228
3228
  opacity: 100%;
3229
3229
  }
3230
3230
  }
3231
+ .data-\[state\=checked\]\:translate-x-4 {
3232
+ &[data-state="checked"] {
3233
+ --tw-translate-x: calc(var(--spacing) * 4);
3234
+ translate: var(--tw-translate-x) var(--tw-translate-y);
3235
+ }
3236
+ }
3231
3237
  .data-\[state\=checked\]\:translate-x-5 {
3232
3238
  &[data-state="checked"] {
3233
3239
  --tw-translate-x: calc(var(--spacing) * 5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/design-system",
3
- "version": "0.22.0",
3
+ "version": "0.23.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": {
@@ -63,7 +63,8 @@
63
63
  "typecheck:visual": "tsc --noEmit -p tsconfig.playwright.json",
64
64
  "contrast:audit": "node scripts/contrast-audit.mjs",
65
65
  "prepare": "husky",
66
- "release": "changeset publish"
66
+ "release": "changeset publish",
67
+ "version:bump-plugin": "node scripts/bump-plugin-version.js"
67
68
  },
68
69
  "lint-staged": {
69
70
  "*.{ts,tsx}": [