@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.
- package/dist/agent-ui.css +1 -1
- package/dist/api.colors.json +1505 -0
- package/dist/api.colors.yaml +1139 -0
- package/dist/api.json +2877 -385
- package/dist/api.tokens.json +541 -0
- package/dist/api.tokens.yaml +410 -0
- package/dist/docs/components/accordion-item.yaml +41 -0
- package/dist/docs/components/accordion.yaml +5 -0
- package/dist/docs/components/agent-activity.yaml +32 -0
- package/dist/docs/components/agent-feed.yaml +8 -0
- package/dist/docs/components/agent-message.yaml +74 -0
- package/dist/docs/components/agent-prompt.yaml +47 -0
- package/dist/docs/components/agent-seeds.yaml +53 -0
- package/dist/docs/components/agent-text.yaml +47 -0
- package/dist/docs/components/agent-thread.yaml +20 -0
- package/dist/docs/components/app-shell.yaml +18 -12
- package/dist/docs/components/breadcrumb-item.yaml +32 -0
- package/dist/docs/components/breadcrumb.yaml +11 -0
- package/dist/docs/components/button.yaml +51 -21
- package/dist/docs/components/calendar.yaml +77 -0
- package/dist/docs/components/canvas.yaml +12 -4
- package/dist/docs/components/checkbox.yaml +45 -15
- package/dist/docs/components/command-group.yaml +32 -0
- package/dist/docs/components/command-input.yaml +29 -0
- package/dist/docs/components/command-item.yaml +41 -0
- package/dist/docs/components/command.yaml +17 -0
- package/dist/docs/components/container.yaml +9 -15
- package/dist/docs/components/dialog.yaml +24 -11
- package/dist/docs/components/drawer.yaml +21 -13
- package/dist/docs/components/editor.yaml +12 -10
- package/dist/docs/components/field.yaml +24 -13
- package/dist/docs/components/graph-port.yaml +23 -0
- package/dist/docs/components/gripper.yaml +23 -0
- package/dist/docs/components/icon.yaml +9 -2
- package/dist/docs/components/input-otp.yaml +44 -0
- package/dist/docs/components/input.yaml +51 -24
- package/dist/docs/components/optgroup.yaml +29 -0
- package/dist/docs/components/option.yaml +29 -0
- package/dist/docs/components/page-context.yaml +12 -4
- package/dist/docs/components/page-main.yaml +18 -6
- package/dist/docs/components/pagination.yaml +41 -0
- package/dist/docs/components/pane.yaml +23 -0
- package/dist/docs/components/radio.yaml +42 -14
- package/dist/docs/components/range.yaml +24 -15
- package/dist/docs/components/root.yaml +11 -0
- package/dist/docs/components/segment.yaml +35 -0
- package/dist/docs/components/segmented-control.yaml +23 -0
- package/dist/docs/components/select.yaml +56 -0
- package/dist/docs/components/sidebar.yaml +51 -17
- package/dist/docs/components/switch.yaml +48 -18
- package/dist/docs/components/tab.yaml +38 -0
- package/dist/docs/components/table-cell.yaml +17 -0
- package/dist/docs/components/table-header.yaml +20 -0
- package/dist/docs/components/table-row.yaml +14 -0
- package/dist/docs/components/table.yaml +44 -0
- package/dist/docs/components/tabs.yaml +14 -0
- package/dist/docs/components/textarea.yaml +54 -19
- package/dist/docs/components/toast.yaml +53 -0
- package/dist/docs/components/tooltip.yaml +24 -11
- package/dist/docs/components/tree-item.yaml +47 -0
- package/dist/docs/components/tree.yaml +8 -0
- package/package.json +5 -1
|
@@ -45,6 +45,59 @@ events:
|
|
|
45
45
|
dismiss:
|
|
46
46
|
description: Fired when the toast is dismissed (auto or manual).
|
|
47
47
|
|
|
48
|
+
tokens:
|
|
49
|
+
- name: --aui-toast-font-family
|
|
50
|
+
default: var(--aui-font-family)
|
|
51
|
+
description: Font family for toast message text.
|
|
52
|
+
- name: --aui-toast-font-size
|
|
53
|
+
default: var(--aui-font-size, 0.875rem)
|
|
54
|
+
description: Font size for toast message text.
|
|
55
|
+
- name: --aui-toast-color
|
|
56
|
+
default: var(--aui-ink)
|
|
57
|
+
description: Text color of the toast.
|
|
58
|
+
- name: --aui-toast-background
|
|
59
|
+
default: var(--aui-card, var(--aui-doc, #fff))
|
|
60
|
+
description: Background color of the toast.
|
|
61
|
+
- name: --aui-toast-border
|
|
62
|
+
default: var(--aui-border-muted, oklch(0.8 0 0))
|
|
63
|
+
description: Border color of the toast.
|
|
64
|
+
- name: --aui-toast-border-radius
|
|
65
|
+
default: var(--aui-radius, 0.5rem)
|
|
66
|
+
description: Border radius of the toast.
|
|
67
|
+
- name: --aui-toast-shadow
|
|
68
|
+
default: var(--aui-shadow-lg, 0 4px 16px oklch(0% 0 0 / 0.12))
|
|
69
|
+
description: Box shadow of the toast.
|
|
70
|
+
- name: --aui-toast-gap
|
|
71
|
+
default: var(--aui-pad-gap-control, 0.5rem)
|
|
72
|
+
description: Gap between message and close button.
|
|
73
|
+
- name: --aui-toast-padding
|
|
74
|
+
default: 0.75rem 1rem
|
|
75
|
+
description: Padding inside the toast.
|
|
76
|
+
- name: --aui-toast-close-color
|
|
77
|
+
default: var(--aui-ink-muted)
|
|
78
|
+
description: Color of the close button icon.
|
|
79
|
+
- name: --aui-toast-close-color-hover
|
|
80
|
+
default: var(--aui-ink)
|
|
81
|
+
description: Color of the close button icon on hover.
|
|
82
|
+
- name: --aui-toast-close-size
|
|
83
|
+
default: 1.25rem
|
|
84
|
+
description: Size of the close button hit area.
|
|
85
|
+
- name: --aui-toast-close-border-radius
|
|
86
|
+
default: var(--aui-radius, 0.25rem)
|
|
87
|
+
description: Border radius of the close button.
|
|
88
|
+
- name: --aui-toast-intent-info
|
|
89
|
+
default: var(--aui-info, oklch(0.6 0.15 250))
|
|
90
|
+
description: Accent color for info intent toasts.
|
|
91
|
+
- name: --aui-toast-intent-success
|
|
92
|
+
default: var(--aui-success, oklch(0.6 0.2 145))
|
|
93
|
+
description: Accent color for success intent toasts.
|
|
94
|
+
- name: --aui-toast-intent-warning
|
|
95
|
+
default: var(--aui-warning, oklch(0.75 0.15 75))
|
|
96
|
+
description: Accent color for warning intent toasts.
|
|
97
|
+
- name: --aui-toast-intent-danger
|
|
98
|
+
default: var(--aui-danger, oklch(0.6 0.2 25))
|
|
99
|
+
description: Accent color for danger intent toasts.
|
|
100
|
+
|
|
48
101
|
examples:
|
|
49
102
|
- html: <aui-toast open message="Item saved successfully" success duration="0"></aui-toast>
|
|
50
103
|
description: Success toast.
|
|
@@ -65,17 +65,30 @@ a11y:
|
|
|
65
65
|
# ── CSS tokens consumed ──────────────────────────────────
|
|
66
66
|
|
|
67
67
|
tokens:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
- name: --aui-tooltip-padding
|
|
69
|
+
default: 0.375rem 0.625rem
|
|
70
|
+
description: Padding inside the tooltip surface.
|
|
71
|
+
- name: --aui-tooltip-font-family
|
|
72
|
+
default: var(--aui-font-family)
|
|
73
|
+
description: Font family for tooltip text.
|
|
74
|
+
- name: --aui-tooltip-font-size
|
|
75
|
+
default: var(--aui-font-xs)
|
|
76
|
+
description: Font size for tooltip text.
|
|
77
|
+
- name: --aui-tooltip-color
|
|
78
|
+
default: var(--aui-solid-ink)
|
|
79
|
+
description: Text color of the tooltip.
|
|
80
|
+
- name: --aui-tooltip-background
|
|
81
|
+
default: var(--aui-solid)
|
|
82
|
+
description: Background color of the tooltip surface.
|
|
83
|
+
- name: --aui-tooltip-border-radius
|
|
84
|
+
default: var(--aui-radius, 0.375rem)
|
|
85
|
+
description: Border radius of the tooltip surface.
|
|
86
|
+
- name: --aui-tooltip-shadow
|
|
87
|
+
default: var(--aui-shadow-sm, 0 1px 3px oklch(0% 0 0 / 0.15))
|
|
88
|
+
description: Box shadow of the tooltip surface.
|
|
89
|
+
- name: --aui-tooltip-offset
|
|
90
|
+
default: 0.375rem
|
|
91
|
+
description: Distance between tooltip and its anchor element.
|
|
79
92
|
|
|
80
93
|
# ── Examples ──────────────────────────────────────────────
|
|
81
94
|
|
|
@@ -33,6 +33,53 @@ description: >
|
|
|
33
33
|
The caret indicator uses aui-icon name="caret-right" (rotated when
|
|
34
34
|
expanded) and is automatically stamped by the component.
|
|
35
35
|
|
|
36
|
+
tokens:
|
|
37
|
+
- name: --aui-tree-item-gap
|
|
38
|
+
default: var(--aui-pad-gap-control)
|
|
39
|
+
description: Gap between caret, icon, and label.
|
|
40
|
+
- name: --aui-tree-item-padding-block
|
|
41
|
+
default: calc(var(--aui-pad-control-block) * 0.5)
|
|
42
|
+
description: Vertical padding of the tree item row.
|
|
43
|
+
- name: --aui-tree-item-padding-inline
|
|
44
|
+
default: var(--aui-pad-control-inline)
|
|
45
|
+
description: Horizontal padding of the tree item row.
|
|
46
|
+
- name: --aui-tree-item-font-family
|
|
47
|
+
default: var(--aui-font-family)
|
|
48
|
+
description: Font family for the tree item label.
|
|
49
|
+
- name: --aui-tree-item-font-size
|
|
50
|
+
default: var(--aui-font-size)
|
|
51
|
+
description: Font size for the tree item label.
|
|
52
|
+
- name: --aui-tree-item-line-height
|
|
53
|
+
default: var(--aui-control-line-height)
|
|
54
|
+
description: Line height for the tree item label.
|
|
55
|
+
- name: --aui-tree-item-color
|
|
56
|
+
default: var(--aui-ink)
|
|
57
|
+
description: Text color of tree items.
|
|
58
|
+
- name: --aui-tree-item-color-hover
|
|
59
|
+
default: var(--aui-ink-strong)
|
|
60
|
+
description: Text color on hover.
|
|
61
|
+
- name: --aui-tree-item-background-hover
|
|
62
|
+
default: var(--aui-fill-hover, var(--aui-action-hover))
|
|
63
|
+
description: Background color on hover.
|
|
64
|
+
- name: --aui-tree-item-color-selected
|
|
65
|
+
default: var(--aui-ink-strong)
|
|
66
|
+
description: Text color of the selected item.
|
|
67
|
+
- name: --aui-tree-item-background-selected
|
|
68
|
+
default: var(--aui-action-selected, var(--aui-control))
|
|
69
|
+
description: Background color of the selected item.
|
|
70
|
+
- name: --aui-tree-item-font-weight-selected
|
|
71
|
+
default: var(--aui-font-weight-medium)
|
|
72
|
+
description: Font weight of the selected item.
|
|
73
|
+
- name: --aui-tree-item-border-radius
|
|
74
|
+
default: var(--aui-radius)
|
|
75
|
+
description: Border radius of the tree item row.
|
|
76
|
+
- name: --aui-tree-item-caret-color
|
|
77
|
+
default: var(--aui-ink-muted)
|
|
78
|
+
description: Color of the expand/collapse caret icon.
|
|
79
|
+
- name: --aui-tree-item-color-disabled
|
|
80
|
+
default: var(--aui-ink-disabled, var(--aui-ink-muted))
|
|
81
|
+
description: Text color when disabled.
|
|
82
|
+
|
|
36
83
|
examples:
|
|
37
84
|
- html: |
|
|
38
85
|
<aui-tree>
|
|
@@ -11,6 +11,14 @@ a11y:
|
|
|
11
11
|
composition:
|
|
12
12
|
parents: [any]
|
|
13
13
|
children: [aui-tree-item]
|
|
14
|
+
tokens:
|
|
15
|
+
- name: --aui-tree-font-family
|
|
16
|
+
default: var(--aui-font-family)
|
|
17
|
+
description: Font family for tree item text.
|
|
18
|
+
- name: --aui-tree-font-size
|
|
19
|
+
default: var(--aui-font-size)
|
|
20
|
+
description: Font size for tree item text.
|
|
21
|
+
|
|
14
22
|
examples:
|
|
15
23
|
- html: |
|
|
16
24
|
<aui-tree>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-ui-kit/web-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/register.js",
|
|
6
6
|
"module": "./dist/register.js",
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"./icons": "./dist/icons.js",
|
|
26
26
|
"./agent-ui.css": "./dist/agent-ui.css",
|
|
27
27
|
"./api.json": "./dist/api.json",
|
|
28
|
+
"./api.colors.json": "./dist/api.colors.json",
|
|
29
|
+
"./api.colors.yaml": "./dist/api.colors.yaml",
|
|
30
|
+
"./api.tokens.json": "./dist/api.tokens.json",
|
|
31
|
+
"./api.tokens.yaml": "./dist/api.tokens.yaml",
|
|
28
32
|
"./docs/*": "./dist/docs/*",
|
|
29
33
|
"./dist/*": "./dist/*"
|
|
30
34
|
},
|