@agent-ui-kit/web-components 0.0.4 → 0.0.7

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 (62) hide show
  1. package/dist/agent-ui.css +1 -1
  2. package/dist/api.colors.json +1505 -0
  3. package/dist/api.colors.yaml +1139 -0
  4. package/dist/api.json +2877 -385
  5. package/dist/api.tokens.json +541 -0
  6. package/dist/api.tokens.yaml +410 -0
  7. package/dist/docs/components/accordion-item.yaml +41 -0
  8. package/dist/docs/components/accordion.yaml +5 -0
  9. package/dist/docs/components/agent-activity.yaml +32 -0
  10. package/dist/docs/components/agent-feed.yaml +8 -0
  11. package/dist/docs/components/agent-message.yaml +74 -0
  12. package/dist/docs/components/agent-prompt.yaml +47 -0
  13. package/dist/docs/components/agent-seeds.yaml +53 -0
  14. package/dist/docs/components/agent-text.yaml +47 -0
  15. package/dist/docs/components/agent-thread.yaml +20 -0
  16. package/dist/docs/components/app-shell.yaml +18 -12
  17. package/dist/docs/components/breadcrumb-item.yaml +32 -0
  18. package/dist/docs/components/breadcrumb.yaml +11 -0
  19. package/dist/docs/components/button.yaml +51 -21
  20. package/dist/docs/components/calendar.yaml +77 -0
  21. package/dist/docs/components/canvas.yaml +12 -4
  22. package/dist/docs/components/checkbox.yaml +45 -15
  23. package/dist/docs/components/command-group.yaml +32 -0
  24. package/dist/docs/components/command-input.yaml +29 -0
  25. package/dist/docs/components/command-item.yaml +41 -0
  26. package/dist/docs/components/command.yaml +17 -0
  27. package/dist/docs/components/container.yaml +9 -15
  28. package/dist/docs/components/dialog.yaml +24 -11
  29. package/dist/docs/components/drawer.yaml +21 -13
  30. package/dist/docs/components/editor.yaml +12 -10
  31. package/dist/docs/components/field.yaml +24 -13
  32. package/dist/docs/components/graph-port.yaml +23 -0
  33. package/dist/docs/components/gripper.yaml +23 -0
  34. package/dist/docs/components/icon.yaml +9 -2
  35. package/dist/docs/components/input-otp.yaml +44 -0
  36. package/dist/docs/components/input.yaml +51 -24
  37. package/dist/docs/components/optgroup.yaml +29 -0
  38. package/dist/docs/components/option.yaml +29 -0
  39. package/dist/docs/components/page-context.yaml +12 -4
  40. package/dist/docs/components/page-main.yaml +18 -6
  41. package/dist/docs/components/pagination.yaml +41 -0
  42. package/dist/docs/components/pane.yaml +23 -0
  43. package/dist/docs/components/radio.yaml +42 -14
  44. package/dist/docs/components/range.yaml +24 -15
  45. package/dist/docs/components/root.yaml +11 -0
  46. package/dist/docs/components/segment.yaml +35 -0
  47. package/dist/docs/components/segmented-control.yaml +23 -0
  48. package/dist/docs/components/select.yaml +56 -0
  49. package/dist/docs/components/sidebar.yaml +51 -17
  50. package/dist/docs/components/switch.yaml +48 -18
  51. package/dist/docs/components/tab.yaml +38 -0
  52. package/dist/docs/components/table-cell.yaml +17 -0
  53. package/dist/docs/components/table-header.yaml +20 -0
  54. package/dist/docs/components/table-row.yaml +14 -0
  55. package/dist/docs/components/table.yaml +44 -0
  56. package/dist/docs/components/tabs.yaml +14 -0
  57. package/dist/docs/components/textarea.yaml +54 -19
  58. package/dist/docs/components/toast.yaml +53 -0
  59. package/dist/docs/components/tooltip.yaml +24 -11
  60. package/dist/docs/components/tree-item.yaml +47 -0
  61. package/dist/docs/components/tree.yaml +8 -0
  62. package/package.json +5 -1
@@ -32,6 +32,59 @@ composition:
32
32
  parents: [aui-agent-message, aui-agent-feed]
33
33
  children: []
34
34
 
35
+ tokens:
36
+ - name: --aui-agent-seeds-padding-block
37
+ default: var(--aui-agent-seed-pad-block, var(--aui-space))
38
+ description: Block padding of the seeds container.
39
+ - name: --aui-agent-seeds-padding-inline
40
+ default: var(--aui-agent-seed-pad-inline, 0.875rem)
41
+ description: Inline padding of the seeds container.
42
+ - name: --aui-agent-seeds-gap
43
+ default: var(--aui-agent-seed-gap, var(--aui-space))
44
+ description: Gap between chip rows.
45
+ - name: --aui-agent-seeds-chip-gap
46
+ default: "calc(var(--aui-space) * 0.5)"
47
+ description: Gap between icon and label within a chip.
48
+ - name: --aui-agent-seeds-chip-padding-block
49
+ default: "calc(var(--aui-space) * 0.5)"
50
+ description: Block padding of each chip.
51
+ - name: --aui-agent-seeds-chip-padding-inline
52
+ default: "calc(var(--aui-space) * 1.5)"
53
+ description: Inline padding of each chip.
54
+ - name: --aui-agent-seeds-chip-font-family
55
+ default: var(--aui-font-family)
56
+ description: Font family for chip text.
57
+ - name: --aui-agent-seeds-chip-font-size
58
+ default: var(--aui-font-size-sm, 0.8125rem)
59
+ description: Font size for chip text.
60
+ - name: --aui-agent-seeds-chip-line-height
61
+ default: var(--aui-line-height)
62
+ description: Line height for chip text.
63
+ - name: --aui-agent-seeds-chip-color
64
+ default: var(--aui-ink)
65
+ description: Text color of chips.
66
+ - name: --aui-agent-seeds-chip-border
67
+ default: var(--aui-stroke, var(--aui-border-muted))
68
+ description: Border color of chips.
69
+ - name: --aui-agent-seeds-chip-border-radius
70
+ default: var(--aui-radius)
71
+ description: Border radius of chips.
72
+ - name: --aui-agent-seeds-chip-background
73
+ default: transparent
74
+ description: Background of chips at rest.
75
+ - name: --aui-agent-seeds-chip-background-hover
76
+ default: var(--aui-fill-hover, var(--aui-action-hover))
77
+ description: Background of chips on hover.
78
+ - name: --aui-agent-seeds-chip-border-hover
79
+ default: var(--aui-stroke-hover, var(--aui-border-hover))
80
+ description: Border color of chips on hover.
81
+ - name: --aui-agent-seeds-chip-color-hover
82
+ default: var(--aui-ink-strong)
83
+ description: Text color of chips on hover.
84
+ - name: --aui-agent-seeds-chip-background-active
85
+ default: var(--aui-fill-active, var(--aui-action-active))
86
+ description: Background of chips when active/pressed.
87
+
35
88
  examples:
36
89
  - html: |
37
90
  <aui-agent-seeds options='[{"value":"clarify","label":"Clarify user problem"},{"value":"context","label":"Define user context"},{"value":"deliverable","label":"Select deliverable"},{"value":"timeline","label":"Set timeline"}]'>
@@ -21,6 +21,53 @@ composition:
21
21
  parents: [aui-agent-message]
22
22
  children: []
23
23
 
24
+ tokens:
25
+ - name: --aui-agent-text-padding-block
26
+ default: var(--aui-agent-bubble-pad-block, 0.625rem)
27
+ description: Block padding of the text container.
28
+ - name: --aui-agent-text-padding-inline
29
+ default: var(--aui-agent-bubble-pad-inline, 0.875rem)
30
+ description: Inline padding of the text container.
31
+ - name: --aui-agent-text-prose-gap
32
+ default: "var(--aui-agent-prose-gap, calc(var(--aui-space) * 2))"
33
+ description: Vertical gap between prose elements (paragraphs, headings, etc.).
34
+ - name: --aui-agent-text-heading-font-weight
35
+ default: var(--aui-font-weight-bold, 600)
36
+ description: Font weight for headings inside rendered markdown.
37
+ - name: --aui-agent-text-blockquote-border
38
+ default: var(--aui-border-muted)
39
+ description: Left border color of blockquotes.
40
+ - name: --aui-agent-text-blockquote-color
41
+ default: var(--aui-ink-muted)
42
+ description: Text color of blockquotes.
43
+ - name: --aui-agent-text-code-font-family
44
+ default: var(--aui-font-mono, monospace)
45
+ description: Font family for inline code.
46
+ - name: --aui-agent-text-code-background
47
+ default: var(--aui-control, var(--aui-fill))
48
+ description: Background of inline code spans.
49
+ - name: --aui-agent-text-code-border-radius
50
+ default: "calc(var(--aui-radius) * 0.5)"
51
+ description: Border radius of inline code spans.
52
+ - name: --aui-agent-text-pre-background
53
+ default: var(--aui-control, var(--aui-fill))
54
+ description: Background of code blocks.
55
+ - name: --aui-agent-text-pre-border-radius
56
+ default: "calc(var(--aui-radius) * 0.5)"
57
+ description: Border radius of code blocks.
58
+ - name: --aui-agent-text-pre-padding
59
+ default: "calc(var(--aui-space) * 2)"
60
+ description: Padding inside code blocks.
61
+ - name: --aui-agent-text-link-color
62
+ default: var(--aui-ink-accent, var(--aui-accent-solid))
63
+ description: Text color of links.
64
+ - name: --aui-agent-text-link-color-hover
65
+ default: var(--aui-ink-hover)
66
+ description: Text color of links on hover.
67
+ - name: --aui-agent-text-hr-border
68
+ default: var(--aui-border-muted)
69
+ description: Border color of horizontal rules.
70
+
24
71
  examples:
25
72
  - html: |
26
73
  <aui-agent-text>## Getting Started
@@ -37,6 +37,26 @@ composition:
37
37
  parents: [aui-agent-feed]
38
38
  children: [aui-avatar, aui-agent-message, any]
39
39
 
40
+ tokens:
41
+ - name: --aui-agent-thread-column-gap
42
+ default: "var(--aui-agent-message-gap, calc(var(--aui-space) * 2))"
43
+ description: Gap between avatar column and message column.
44
+ - name: --aui-agent-thread-max-width
45
+ default: var(--aui-agent-bubble-max-width, 85%)
46
+ description: Maximum width of the thread group.
47
+ - name: --aui-agent-thread-context-gap
48
+ default: var(--aui-space)
49
+ description: Gap between items in the context area (metadata row).
50
+ - name: --aui-agent-thread-bubbles-gap
51
+ default: var(--aui-space)
52
+ description: Gap between consecutive message bubbles.
53
+ - name: --aui-agent-thread-user-avatar-background
54
+ default: var(--aui-agent-bubble-user)
55
+ description: Background of the user avatar circle.
56
+ - name: --aui-agent-thread-user-avatar-color
57
+ default: var(--aui-agent-bubble-user-ink)
58
+ description: Text/icon color of the user avatar.
59
+
40
60
  examples:
41
61
  - html: |
42
62
  <aui-agent-thread role="assistant" sender="Claude">
@@ -25,18 +25,24 @@ composition:
25
25
  relationship between sidebar width and content column flex.
26
26
 
27
27
  tokens:
28
- color:
29
- - --aui-doc
30
- - --aui-ink
31
- - --aui-panel
32
- - --aui-border
33
- typography:
34
- - --aui-font-family
35
- sizing:
36
- - --aui-space
37
- - --aui-radius
38
- - --aui-pad-control-block
39
- - --aui-size
28
+ - name: --aui-app-shell-background
29
+ default: var(--aui-doc)
30
+ description: Background color for the application shell.
31
+ - name: --aui-app-shell-color
32
+ default: var(--aui-ink)
33
+ description: Default text color for the shell.
34
+ - name: --aui-app-shell-font-family
35
+ default: var(--aui-font-family)
36
+ description: Font family for the shell.
37
+ - name: --aui-app-shell-panel-background
38
+ default: var(--aui-panel)
39
+ description: Background color for the main content panel.
40
+ - name: --aui-app-shell-panel-border-radius
41
+ default: var(--aui-radius)
42
+ description: Border radius for the main content panel.
43
+ - name: --aui-app-shell-panel-border-color
44
+ default: var(--aui-border)
45
+ description: Border color for sticky header/footer inside main.
40
46
 
41
47
  examples:
42
48
  - html: |
@@ -30,6 +30,38 @@ composition:
30
30
  parents: [aui-breadcrumb]
31
31
  children: null
32
32
 
33
+ tokens:
34
+ - name: --aui-breadcrumb-item-gap
35
+ default: calc(var(--aui-space) * 2)
36
+ description: Gap between separator and breadcrumb text.
37
+ - name: --aui-breadcrumb-item-font-family
38
+ default: var(--aui-font-family)
39
+ description: Font family for breadcrumb text.
40
+ - name: --aui-breadcrumb-item-font-size
41
+ default: var(--aui-font-size)
42
+ description: Font size for breadcrumb text.
43
+ - name: --aui-breadcrumb-item-line-height
44
+ default: var(--aui-control-line-height)
45
+ description: Line height for breadcrumb text.
46
+ - name: --aui-breadcrumb-item-color
47
+ default: var(--aui-ink-muted)
48
+ description: Default text color of breadcrumb items.
49
+ - name: --aui-breadcrumb-item-separator-color
50
+ default: var(--aui-ink-muted)
51
+ description: Color of the separator character between items.
52
+ - name: --aui-breadcrumb-item-link-color
53
+ default: var(--aui-ink-muted)
54
+ description: Color of breadcrumb link text.
55
+ - name: --aui-breadcrumb-item-link-color-hover
56
+ default: var(--aui-ink)
57
+ description: Color of breadcrumb link text on hover.
58
+ - name: --aui-breadcrumb-item-color-current
59
+ default: var(--aui-ink)
60
+ description: Text color of the current page item.
61
+ - name: --aui-breadcrumb-item-font-weight-current
62
+ default: var(--aui-font-weight-semibold)
63
+ description: Font weight of the current page item.
64
+
33
65
  examples:
34
66
  - html: |
35
67
  <aui-breadcrumb>
@@ -32,6 +32,17 @@ composition:
32
32
  parents: [any]
33
33
  children: [aui-breadcrumb-item]
34
34
 
35
+ tokens:
36
+ - name: --aui-breadcrumb-font-family
37
+ default: var(--aui-font-family)
38
+ description: Font family for breadcrumb text.
39
+ - name: --aui-breadcrumb-font-size
40
+ default: var(--aui-font-size)
41
+ description: Font size for breadcrumb text.
42
+ - name: --aui-breadcrumb-gap
43
+ default: "calc(var(--aui-space) * 2)"
44
+ description: Gap between breadcrumb items.
45
+
35
46
  examples:
36
47
  - html: |
37
48
  <aui-breadcrumb>
@@ -354,27 +354,57 @@ events:
354
354
  # ── CSS tokens consumed ──────────────────────────────────
355
355
 
356
356
  tokens:
357
- sizing:
358
- - --aui-size
359
- - --aui-font-size
360
- - --aui-font-family
361
- - --aui-icon-size
362
- spacing:
363
- - --aui-pad-control-block
364
- - --aui-pad-control-inline
365
- - --aui-pad-gap-control
366
- - --aui-space
367
- color:
368
- - --aui-fill
369
- - --aui-stroke
370
- - --aui-indicator
371
- - --aui-ink
372
- - --aui-focus
373
- shape:
374
- - --aui-radius
375
- motion:
376
- - --aui-duration
377
- - --aui-easing
357
+ - name: --aui-button-size
358
+ default: var(--aui-size)
359
+ description: Overall height and minimum width.
360
+ - name: --aui-button-font-family
361
+ default: var(--aui-font-family)
362
+ description: Font family for the label text.
363
+ - name: --aui-button-font-size
364
+ default: var(--aui-font-size)
365
+ description: Label font size.
366
+ - name: --aui-button-font-weight
367
+ default: var(--aui-control-font-weight)
368
+ description: Label font weight.
369
+ - name: --aui-button-line-height
370
+ default: var(--aui-control-line-height)
371
+ description: Label line height.
372
+ - name: --aui-button-letter-spacing
373
+ default: var(--aui-letter-spacing)
374
+ description: Label letter spacing.
375
+ - name: --aui-button-icon-size
376
+ default: var(--aui-icon-size)
377
+ description: Size of leading and trailing icons.
378
+ - name: --aui-button-color
379
+ default: var(--aui-indicator, var(--aui-ink))
380
+ description: Text and icon color.
381
+ - name: --aui-button-background
382
+ default: var(--aui-fill)
383
+ description: Background fill color.
384
+ - name: --aui-button-border
385
+ default: var(--aui-stroke)
386
+ description: Border color.
387
+ - name: --aui-button-border-radius
388
+ default: var(--aui-radius)
389
+ description: Corner radius.
390
+ - name: --aui-button-padding-inline
391
+ default: var(--aui-pad-control-inline)
392
+ description: Horizontal padding.
393
+ - name: --aui-button-padding-block
394
+ default: var(--aui-pad-control-block)
395
+ description: Vertical padding.
396
+ - name: --aui-button-gap
397
+ default: var(--aui-pad-gap-control)
398
+ description: Gap between icon and label slots.
399
+ - name: --aui-button-color-hover
400
+ default: var(--aui-indicator-hover, var(--aui-ink-hover))
401
+ description: Text and icon color on hover.
402
+ - name: --aui-button-background-hover
403
+ default: var(--aui-fill-hover)
404
+ description: Background fill on hover.
405
+ - name: --aui-button-border-hover
406
+ default: var(--aui-stroke-hover)
407
+ description: Border color on hover.
378
408
 
379
409
  # ── Use cases ─────────────────────────────────────────────
380
410
 
@@ -50,6 +50,83 @@ a11y:
50
50
  Enter: Select focused date.
51
51
  Space: Select focused date.
52
52
 
53
+ tokens:
54
+ - name: --aui-calendar-gap
55
+ default: calc(var(--aui-space) * 2)
56
+ description: Gap between calendar sections (header, weekdays, grid).
57
+ - name: --aui-calendar-padding
58
+ default: calc(var(--aui-space) * 3)
59
+ description: Outer padding of the calendar container.
60
+ - name: --aui-calendar-border-radius
61
+ default: var(--aui-radius)
62
+ description: Border radius for the calendar container.
63
+ - name: --aui-calendar-background
64
+ default: var(--aui-card)
65
+ description: Background color of the calendar.
66
+ - name: --aui-calendar-color
67
+ default: var(--aui-ink)
68
+ description: Default text color for the calendar.
69
+ - name: --aui-calendar-font-size
70
+ default: var(--aui-font-sm)
71
+ description: Base font size for calendar content.
72
+ - name: --aui-calendar-grid-gap
73
+ default: 2px
74
+ description: Gap between day cells in the grid.
75
+ - name: --aui-calendar-weekday-font-size
76
+ default: var(--aui-font-xs)
77
+ description: Font size for weekday labels.
78
+ - name: --aui-calendar-weekday-font-weight
79
+ default: var(--aui-font-weight-medium)
80
+ description: Font weight for weekday labels.
81
+ - name: --aui-calendar-weekday-color
82
+ default: var(--aui-ink-muted)
83
+ description: Text color for weekday labels.
84
+ - name: --aui-calendar-cell-border-radius
85
+ default: var(--aui-radius)
86
+ description: Border radius for day and month/year cells.
87
+ - name: --aui-calendar-cell-background-hover
88
+ default: var(--aui-control)
89
+ description: Background color on cell hover.
90
+ - name: --aui-calendar-cell-color-hover
91
+ default: var(--aui-ink-strong)
92
+ description: Text color on cell hover.
93
+ - name: --aui-calendar-cell-padding-block
94
+ default: var(--aui-pad-control-block)
95
+ description: Block padding for month/year cells.
96
+ - name: --aui-calendar-cell-padding-inline
97
+ default: var(--aui-pad-control-inline)
98
+ description: Inline padding for month/year cells.
99
+ - name: --aui-calendar-today-background
100
+ default: var(--aui-control)
101
+ description: Background color for the today cell.
102
+ - name: --aui-calendar-today-color
103
+ default: var(--aui-ink-strong)
104
+ description: Text color for the today cell.
105
+ - name: --aui-calendar-today-font-weight
106
+ default: var(--aui-font-weight-semibold)
107
+ description: Font weight for the today cell.
108
+ - name: --aui-calendar-selected-background
109
+ default: var(--aui-accent, var(--aui-solid))
110
+ description: Background color for selected cells.
111
+ - name: --aui-calendar-selected-color
112
+ default: var(--aui-solid-ink, #fff)
113
+ description: Text color for selected cells.
114
+ - name: --aui-calendar-selected-font-weight
115
+ default: var(--aui-font-weight-semibold)
116
+ description: Font weight for selected cells.
117
+ - name: --aui-calendar-outside-color
118
+ default: var(--aui-ink-muted)
119
+ description: Text color for days outside the current month.
120
+ - name: --aui-calendar-disabled-color
121
+ default: var(--aui-ink-disabled)
122
+ description: Text color for disabled dates.
123
+ - name: --aui-calendar-header-font-weight
124
+ default: var(--aui-font-weight-medium)
125
+ description: Font weight for header navigation buttons.
126
+ - name: --aui-calendar-header-title-color
127
+ default: var(--aui-ink-strong)
128
+ description: Text color for the month/year title button.
129
+
53
130
  events:
54
131
  aui:change:
55
132
  description: Fired on single date selection. Detail contains { value }.
@@ -97,10 +97,18 @@ slots:
97
97
  description: Floating indicator at right center of the viewport.
98
98
 
99
99
  tokens:
100
- custom:
101
- - --_canvas-x — Current pan X offset in px
102
- - --_canvas-y Current pan Y offset in px
103
- - --_canvas-zoom — Current zoom level (1 = 100%)
100
+ - name: --aui-canvas-background
101
+ default: var(--aui-doc)
102
+ description: Background color of the canvas surface.
103
+ - name: --aui-canvas-border-radius
104
+ default: var(--aui-radius)
105
+ description: Border radius of the canvas container.
106
+ - name: --aui-canvas-border-color
107
+ default: var(--aui-border-muted)
108
+ description: Border color when the bordered attribute is set.
109
+ - name: --aui-canvas-focus-color
110
+ default: var(--aui-focus)
111
+ description: Focus ring color when the canvas is focused.
104
112
 
105
113
  events:
106
114
  aui:canvas-pan:
@@ -100,21 +100,51 @@ events:
100
100
  description: Fires when checked state changes.
101
101
 
102
102
  tokens:
103
- sizing:
104
- - --aui-size
105
- - --aui-widget-size
106
- - --aui-font-size
107
- color:
108
- - --aui-ink
109
- - --aui-control
110
- - --aui-fill
111
- - --aui-stroke
112
- - --aui-solid
113
- - --aui-on-solid
114
- - --aui-focus
115
- motion:
116
- - --aui-duration
117
- - --aui-easing
103
+ - name: --aui-checkbox-gap
104
+ default: calc(var(--aui-space) * 2)
105
+ description: Gap between checkbox box and label.
106
+ - name: --aui-checkbox-font-family
107
+ default: var(--aui-font-family)
108
+ description: Label font family.
109
+ - name: --aui-checkbox-font-size
110
+ default: var(--aui-font-size)
111
+ description: Label font size.
112
+ - name: --aui-checkbox-line-height
113
+ default: var(--aui-control-line-height-relaxed)
114
+ description: Label line height.
115
+ - name: --aui-checkbox-color
116
+ default: var(--aui-ink)
117
+ description: Label text color.
118
+ - name: --aui-checkbox-box-size
119
+ default: var(--aui-widget-size)
120
+ description: Width and height of the visual checkbox box.
121
+ - name: --aui-checkbox-box-background
122
+ default: var(--aui-control, var(--aui-fill))
123
+ description: Unchecked box background.
124
+ - name: --aui-checkbox-box-border
125
+ default: var(--aui-stroke)
126
+ description: Unchecked box border color.
127
+ - name: --aui-checkbox-box-border-radius
128
+ default: calc(var(--aui-radius) * 0.4)
129
+ description: Box corner radius.
130
+ - name: --aui-checkbox-checked-background
131
+ default: var(--aui-accent)
132
+ description: Checked box background.
133
+ - name: --aui-checkbox-checked-border
134
+ default: var(--aui-accent)
135
+ description: Checked box border color.
136
+ - name: --aui-checkbox-checked-color
137
+ default: var(--aui-solid-ink)
138
+ description: Check mark color.
139
+ - name: --aui-checkbox-border-hover
140
+ default: var(--aui-stroke-hover, var(--aui-border-hover))
141
+ description: Box border color on hover.
142
+ - name: --aui-checkbox-background-disabled
143
+ default: var(--aui-fill-disabled, var(--aui-action-disabled))
144
+ description: Box background when disabled.
145
+ - name: --aui-checkbox-border-disabled
146
+ default: var(--aui-stroke-disabled, var(--aui-border-disabled))
147
+ description: Box border color when disabled.
118
148
 
119
149
  css-notes:
120
150
  attr-audit:
@@ -9,6 +9,38 @@ attributes:
9
9
  type: string
10
10
  default: ""
11
11
  description: Group heading text.
12
+ tokens:
13
+ - name: --aui-command-group-gap
14
+ default: var(--aui-space)
15
+ description: Gap between group items.
16
+ - name: --aui-command-group-border-color
17
+ default: var(--aui-border-muted)
18
+ description: Border color between adjacent groups.
19
+ - name: --aui-command-group-heading-size
20
+ default: var(--aui-size)
21
+ description: Minimum height of the group heading.
22
+ - name: --aui-command-group-heading-padding-block
23
+ default: var(--aui-pad-control-block)
24
+ description: Block padding for the group heading.
25
+ - name: --aui-command-group-heading-padding-inline
26
+ default: var(--aui-pad-control-inline)
27
+ description: Inline padding for the group heading.
28
+ - name: --aui-command-group-heading-font-family
29
+ default: var(--aui-font-family)
30
+ description: Font family for the group heading.
31
+ - name: --aui-command-group-heading-font-size
32
+ default: var(--aui-group-header-font)
33
+ description: Font size for the group heading.
34
+ - name: --aui-command-group-heading-font-weight
35
+ default: var(--aui-font-weight-medium)
36
+ description: Font weight for the group heading.
37
+ - name: --aui-command-group-heading-letter-spacing
38
+ default: "0.05em"
39
+ description: Letter spacing for the uppercase group heading.
40
+ - name: --aui-command-group-heading-color
41
+ default: var(--aui-ink-muted)
42
+ description: Text color for the group heading.
43
+
12
44
  a11y:
13
45
  role: group
14
46
  composition:
@@ -9,6 +9,35 @@ attributes:
9
9
  type: string
10
10
  default: "Search…"
11
11
  description: Placeholder text.
12
+ tokens:
13
+ - name: --aui-command-input-gap
14
+ default: var(--aui-pad-gap-control)
15
+ description: Gap between input icon and text surface.
16
+ - name: --aui-command-input-size
17
+ default: var(--aui-size)
18
+ description: Maximum height of the input row.
19
+ - name: --aui-command-input-padding-block
20
+ default: calc(var(--aui-space) * 2)
21
+ description: Block (vertical) padding for the input.
22
+ - name: --aui-command-input-padding-inline
23
+ default: var(--aui-pad-control-inline)
24
+ description: Inline (horizontal) padding for the input.
25
+ - name: --aui-command-input-border-color
26
+ default: var(--aui-border-muted)
27
+ description: Bottom border color separating input from results.
28
+ - name: --aui-command-input-font-family
29
+ default: var(--aui-font-family)
30
+ description: Font family for input text.
31
+ - name: --aui-command-input-font-size
32
+ default: var(--aui-font-size)
33
+ description: Font size for input text.
34
+ - name: --aui-command-input-color
35
+ default: var(--aui-ink)
36
+ description: Text color for the input.
37
+ - name: --aui-command-input-color-placeholder
38
+ default: var(--aui-ink-placeholder, var(--aui-ink-muted))
39
+ description: Placeholder text color.
40
+
12
41
  a11y:
13
42
  role: searchbox
14
43
  composition:
@@ -25,6 +25,47 @@ attributes:
25
25
  default: ""
26
26
  description: Extra search terms not visible in the label.
27
27
 
28
+ tokens:
29
+ - name: --aui-command-item-gap
30
+ default: var(--aui-pad-gap-control)
31
+ description: Gap between item icon and label.
32
+ - name: --aui-command-item-size
33
+ default: var(--aui-size)
34
+ description: Minimum height of the command item.
35
+ - name: --aui-command-item-padding-block
36
+ default: var(--aui-pad-control-block)
37
+ description: Block (vertical) padding for items.
38
+ - name: --aui-command-item-padding-inline
39
+ default: var(--aui-pad-control-inline)
40
+ description: Inline (horizontal) padding for items.
41
+ - name: --aui-command-item-font-family
42
+ default: var(--aui-font-family)
43
+ description: Font family for item text.
44
+ - name: --aui-command-item-font-size
45
+ default: var(--aui-font-size)
46
+ description: Font size for item text.
47
+ - name: --aui-command-item-line-height
48
+ default: var(--aui-control-line-height)
49
+ description: Line height for item text.
50
+ - name: --aui-command-item-color
51
+ default: var(--aui-ink)
52
+ description: Default text color for items.
53
+ - name: --aui-command-item-border-radius
54
+ default: calc(var(--aui-radius) - var(--aui-space))
55
+ description: Border radius for item highlight.
56
+ - name: --aui-command-item-background-hover
57
+ default: var(--aui-fill-hover, var(--aui-action-hover))
58
+ description: Background color on hover or keyboard focus.
59
+ - name: --aui-command-item-color-hover
60
+ default: var(--aui-ink-strong)
61
+ description: Text color on hover or keyboard focus.
62
+ - name: --aui-command-item-color-selected
63
+ default: var(--aui-ink-strong)
64
+ description: Text color for selected items.
65
+ - name: --aui-command-item-color-disabled
66
+ default: var(--aui-ink-disabled, var(--aui-ink-muted))
67
+ description: Text color for disabled items.
68
+
28
69
  a11y:
29
70
  role: option
30
71
 
@@ -26,6 +26,23 @@ events:
26
26
  dismiss:
27
27
  description: Fired on Escape key. Parent dialog can listen to close.
28
28
 
29
+ tokens:
30
+ - name: --aui-command-background
31
+ default: var(--aui-modal, var(--aui-doc))
32
+ description: Background color for the command palette.
33
+ - name: --aui-command-color
34
+ default: var(--aui-ink)
35
+ description: Default text color for command palette content.
36
+ - name: --aui-command-border-color
37
+ default: var(--aui-border-muted)
38
+ description: Border color for the command palette container.
39
+ - name: --aui-command-border-radius
40
+ default: var(--aui-radius)
41
+ description: Border radius for the command palette container.
42
+ - name: --aui-command-gap
43
+ default: var(--aui-space)
44
+ description: Gap between command palette sections.
45
+
29
46
  composition:
30
47
  parents: [aui-dialog, any]
31
48
  children: [aui-command-input, aui-command-list, aui-command-empty]
@@ -136,21 +136,15 @@ events:
136
136
  description: Fires on interactive containers. Navigates to href if set.
137
137
 
138
138
  tokens:
139
- color:
140
- - --aui-card
141
- - --aui-doc
142
- - --aui-border-muted
143
- - --aui-border-hover
144
- - --aui-focus
145
- shape:
146
- - --aui-radius
147
- shadow:
148
- - --aui-shadow-sm
149
- - --aui-shadow-md
150
- - --aui-shadow-lg
151
- motion:
152
- - --aui-duration
153
- - --aui-easing
139
+ - name: --aui-container-background
140
+ default: var(--aui-card, var(--aui-doc))
141
+ description: Background color of the container surface.
142
+ - name: --aui-container-border-radius
143
+ default: var(--aui-radius)
144
+ description: Border radius of the container.
145
+ - name: --aui-container-font-size
146
+ default: var(--aui-font-lg)
147
+ description: Base font size for the container.
154
148
 
155
149
  examples:
156
150
  - html: |