@cueplusplus/ui 0.18.0 → 0.18.1

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @cueplusplus/ui
2
2
 
3
+ ## 0.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 59deac9: `ColorField` documents `aria-label`. The field draws no visible label, so it needs a name from `aria-label` or from `aria-labelledby` pointing at a label of your own — without either the input has none. The prop was always accepted (it comes from React Aria); it is now in the component's documentation and manifest, so whoever builds one — a person or an agent reading the manifest — is told.
8
+ - 2dd4248: The manifest's fixture catalogue (`manifest/fixtures.json`) names six more values a tool can place in a prop: `children.toggles`, three toggles for a `ToggleGroup`; `layout.show-crumbs-long` and `layout.patch-steps-long`, breadcrumbs and steps with long words; and `agent.permission-scopes`, `agent.permission-rules` and `agent.permission-dirs`, the scopes, command rule and directory a `PermissionScopes` grant is written with. No component changes.
9
+ - @cueplusplus/tokens@0.18.1
10
+
3
11
  ## 0.18.0
4
12
 
5
13
  ### Minor Changes
@@ -4,6 +4,13 @@ import * as React from "react";
4
4
  import { ColorFieldProps, InputProps } from "react-aria-components";
5
5
  //#region src/color/color-field.d.ts
6
6
  interface ColorFieldProps$1 extends Omit<ColorFieldProps, "children"> {
7
+ /**
8
+ * The field's accessible name. `ColorField` draws no visible label — React
9
+ * Aria's label slot is left empty — so name it here, or point
10
+ * `aria-labelledby` at a label of your own. Without either the input has no
11
+ * name at all.
12
+ */
13
+ "aria-label"?: string;
7
14
  /** Rung of the control ladder. Defaults to `"md"`. */
8
15
  size?: FormControlSize;
9
16
  /** Extra classes for the input itself. */
@@ -2,7 +2,7 @@ import { ClassProp, VariantProps } from "../lib/cva.js";
2
2
  import * as React from "react";
3
3
  //#region src/primitives/chip.d.ts
4
4
  declare const chipVariants: (props?: ({
5
- tone?: "danger" | "info" | "warn" | "accent" | "ok" | "busy" | "neutral" | null | undefined;
5
+ tone?: "info" | "warn" | "danger" | "accent" | "ok" | "busy" | "neutral" | null | undefined;
6
6
  variant?: "outline" | "tinted" | "tag" | null | undefined;
7
7
  interactive?: boolean | null | undefined;
8
8
  } & ClassProp) | undefined) => string;
@@ -9,6 +9,16 @@
9
9
  "clientOnly": true,
10
10
  "description": "A typed colour value — the whole colour as hex, or one channel as a number.\n\nWraps React Aria's `ColorField`, so parsing, arrow-key stepping and the\ncommit-on-blur behaviour are the library's; the input rides the same recessed\nchassis as every other text control.\n\nReact Aria only parses sRGB notations, so it edits **hex**. For a field that\nalso accepts `oklch()` — the notation this system's tokens are authored in —\nuse `ColorPicker`, which owns the conversion.\n\n`react-aria-components` is an **optional peer**: import this from\n`@cueplusplus/ui/color`.",
11
11
  "props": [
12
+ {
13
+ "name": "aria-label",
14
+ "type": "string",
15
+ "required": false,
16
+ "defaultValue": null,
17
+ "description": "The field's accessible name. `ColorField` draws no visible label — React\nAria's label slot is left empty — so name it here, or point\n`aria-labelledby` at a label of your own. Without either the input has no\nname at all.",
18
+ "control": {
19
+ "kind": "string"
20
+ }
21
+ },
12
22
  {
13
23
  "name": "size",
14
24
  "type": "\"sm\" | \"md\" | \"lg\"",
@@ -32,6 +32,11 @@
32
32
  "kind": "node",
33
33
  "label": "A search glyph"
34
34
  },
35
+ {
36
+ "id": "children.toggles",
37
+ "kind": "node",
38
+ "label": "Three toggles"
39
+ },
35
40
  {
36
41
  "id": "bento.tiles",
37
42
  "kind": "node",
@@ -197,6 +202,16 @@
197
202
  "readonly StepperStep[]"
198
203
  ]
199
204
  },
205
+ {
206
+ "id": "layout.show-crumbs-long",
207
+ "kind": "array",
208
+ "label": "3 long breadcrumbs"
209
+ },
210
+ {
211
+ "id": "layout.patch-steps-long",
212
+ "kind": "array",
213
+ "label": "3 long steps"
214
+ },
200
215
  {
201
216
  "id": "instruments.patch-groups",
202
217
  "kind": "array",
@@ -330,6 +345,21 @@
330
345
  "readonly TraceSpan[]"
331
346
  ]
332
347
  },
348
+ {
349
+ "id": "agent.permission-scopes",
350
+ "kind": "array",
351
+ "label": "2 grant scopes"
352
+ },
353
+ {
354
+ "id": "agent.permission-rules",
355
+ "kind": "array",
356
+ "label": "1 command rule"
357
+ },
358
+ {
359
+ "id": "agent.permission-dirs",
360
+ "kind": "array",
361
+ "label": "1 directory"
362
+ },
333
363
  {
334
364
  "id": "thread.days",
335
365
  "kind": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "library": "@cueplusplus/ui",
4
- "version": "0.18.0",
4
+ "version": "0.18.1",
5
5
  "generatedAt": "1970-01-01T00:00:00.000Z",
6
6
  "themes": [
7
7
  "cue",
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "tokens": {
36
36
  "path": "./tokens.json",
37
- "sha256": "ed748ca48d0e8f98846fa28fb1651f69fb2e5efc5c046667aa04b40f40be7f87"
37
+ "sha256": "09ac70fac6ec50acc51a662ae9cddec01f793417b619c941db7c236fc707d6df"
38
38
  },
39
39
  "systemApis": [
40
40
  {
@@ -747,7 +747,7 @@
747
747
  "mdUrl": "/docs/components/color-field.md",
748
748
  "jsonUrl": "/r/components/color-field.json",
749
749
  "path": "./components/color-field.json",
750
- "sha256": "48814c1236645aa556554ba4bf5e76d939943dd44ce8e5544e32037274ce7880"
750
+ "sha256": "abafbd0de33c542fcd598e21e0a037cc0c4096d3e41e3f21c879c3e5963b38cb"
751
751
  },
752
752
  {
753
753
  "name": "ColorPicker",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "library": "@cueplusplus/tokens",
4
- "version": "0.18.0",
4
+ "version": "0.18.1",
5
5
  "themes": [
6
6
  {
7
7
  "name": "cue",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueplusplus/ui",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "CUE++ design system components: Tailwind v4 styled wrappers over Base UI, driven by @cueplusplus/tokens.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -146,7 +146,7 @@
146
146
  "culori": "^4.0.2",
147
147
  "tailwind-merge": "^3.6.0",
148
148
  "@cueplusplus/theme-base": "^1.1.0",
149
- "@cueplusplus/tokens": "0.18.0"
149
+ "@cueplusplus/tokens": "0.18.1"
150
150
  },
151
151
  "peerDependencies": {
152
152
  "@assistant-ui/react": "^0.15.16",
@@ -260,9 +260,9 @@
260
260
  "tsdown": "0.22.14",
261
261
  "typescript": "^5.7.0",
262
262
  "vitest": "^4.1.10",
263
+ "@repo/docgen": "0.0.0",
263
264
  "@cueplusplus/theme-tools": "1.1.0",
264
265
  "@repo/eslint-config": "0.0.0",
265
- "@repo/docgen": "0.0.0",
266
266
  "@repo/typescript-config": "0.0.0"
267
267
  },
268
268
  "scripts": {