twntyx-css 1.0.7 → 1.0.9
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 +42 -3
- package/llm/components/avatar.json +3 -1
- package/llm/components/badge.json +10 -120
- package/llm/components/breadcrumb.json +0 -2
- package/llm/components/button-container.json +0 -1
- package/llm/components/button.json +12 -105
- package/llm/components/chat-footer.json +10 -27
- package/llm/components/chat.json +1 -1
- package/llm/components/checkmark.json +0 -2
- package/llm/components/combobox.json +1 -0
- package/llm/components/command-palette.json +7 -88
- package/llm/components/datepicker.json +1 -0
- package/llm/components/icons-reference.json +1 -1
- package/llm/components/join.json +2 -0
- package/llm/components/menu.json +2 -2
- package/llm/components/progress-bullet.json +0 -2
- package/llm/components/scrollbar.json +1 -0
- package/llm/components/surface.json +0 -1
- package/llm/components/table.json +1 -1
- package/llm/examples/badge.html +1 -1
- package/llm/examples/chat-footer.html +1 -1
- package/llm/examples/command-palette.html +1 -1
- package/llm/index.json +3 -3
- package/llm/tokens.json +44 -20
- package/package.json +1 -1
- package/styles/animation.css +8 -8
- package/styles/avatar.css +2 -2
- package/styles/background-ai.css +5 -11
- package/styles/badge.css +48 -9
- package/styles/button.css +20 -1
- package/styles/chat.css +153 -146
- package/styles/collapsible.css +11 -2
- package/styles/colors.css +25 -17
- package/styles/join.css +60 -59
- package/styles/menu.css +2 -2
- package/styles/modal.css +1 -1
- package/styles/scrollbar.css +18 -0
- package/styles/shared.css +2 -2
- package/styles/surface.css +25 -4
- package/styles/table.css +1 -11
- package/styles/toast.css +1 -1
- package/styles/typography.css +38 -34
- package/styles/utility.css +1 -2
package/README.md
CHANGED
|
@@ -101,20 +101,59 @@ cp node_modules/twntyx-css/llm/assistants/codex/AGENTS.md ./AGENTS.md
|
|
|
101
101
|
cp node_modules/twntyx-css/llm/assistants/claude/CLAUDE.md ./CLAUDE.md
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
## Publishing
|
|
104
|
+
## Publishing a new version
|
|
105
105
|
|
|
106
|
-
|
|
106
|
+
The npm package is **`twntyx-css`**, published from the `framework/` folder. Version lives in **`framework/package.json`** (`version` field).
|
|
107
|
+
|
|
108
|
+
### 1. Bump the version
|
|
109
|
+
|
|
110
|
+
Each publish needs a **new semver** than anything already on [npm](https://www.npmjs.com/package/twntyx-css). npm will reject republishing the same version (403).
|
|
111
|
+
|
|
112
|
+
Edit `framework/package.json` and increment `version` (e.g. `1.0.8` → `1.0.9` for a patch).
|
|
113
|
+
|
|
114
|
+
### 2. Log in to npm
|
|
115
|
+
|
|
116
|
+
From any directory:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
npm whoami
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
If that fails, run `npm login` and use an account that is a **maintainer** of `twntyx-css`. Granular access tokens must allow **publish** for this package.
|
|
123
|
+
|
|
124
|
+
### 3. Dry run (optional)
|
|
125
|
+
|
|
126
|
+
From the **repository root**:
|
|
107
127
|
|
|
108
128
|
```bash
|
|
109
129
|
npm run pack:framework
|
|
110
130
|
```
|
|
111
131
|
|
|
112
|
-
|
|
132
|
+
This runs the same prepare step as publish and shows what would go into the tarball, without uploading.
|
|
133
|
+
|
|
134
|
+
### 4. Publish
|
|
135
|
+
|
|
136
|
+
Still from the **repository root**:
|
|
113
137
|
|
|
114
138
|
```bash
|
|
115
139
|
npm run publish:framework
|
|
116
140
|
```
|
|
117
141
|
|
|
142
|
+
That script:
|
|
143
|
+
|
|
144
|
+
1. Runs `scripts/package-framework.mjs` (syncs styles/fonts into `framework/`, rebuilds the LLM kit, validates metadata).
|
|
145
|
+
2. Runs `npm publish --access public ./framework` (uses a separate cache under `/tmp/twntyx-npm-cache`).
|
|
146
|
+
|
|
147
|
+
Publishing also triggers **`prepack`** in `framework/package.json`, which runs the prepare script again so the packed tarball matches a fresh build.
|
|
148
|
+
|
|
149
|
+
### Troubleshooting
|
|
150
|
+
|
|
151
|
+
| Symptom | Likely cause |
|
|
152
|
+
|--------|----------------|
|
|
153
|
+
| **403** — cannot publish over previously published version | Bump `framework/package.json` `version`. |
|
|
154
|
+
| **404** on `PUT` / “not in this registry” | Usually **auth**: not logged in, expired token, or token without publish rights. Fix with `npm login` or a new publish-capable token. |
|
|
155
|
+
| Prepare / validation errors | Fix LLM or assistant-guide issues, then retry; see `LLM_MAINTENANCE.md`. |
|
|
156
|
+
|
|
118
157
|
## That's it!
|
|
119
158
|
|
|
120
159
|
Your projects can now consume the twntyX theme and components. ✨
|
|
@@ -93,9 +93,9 @@
|
|
|
93
93
|
"background-error",
|
|
94
94
|
"background-error-active",
|
|
95
95
|
"background-inverted",
|
|
96
|
-
"background-neutral",
|
|
97
96
|
"background-neutral-active",
|
|
98
97
|
"background-page",
|
|
98
|
+
"background-success",
|
|
99
99
|
"background-success-active",
|
|
100
100
|
"background-surface",
|
|
101
101
|
"background-surface-elevated",
|
|
@@ -112,8 +112,10 @@
|
|
|
112
112
|
"line-brand",
|
|
113
113
|
"line-default",
|
|
114
114
|
"line-error",
|
|
115
|
+
"line-highlight",
|
|
115
116
|
"line-strong",
|
|
116
117
|
"line-subtle",
|
|
118
|
+
"line-success",
|
|
117
119
|
"text-attention",
|
|
118
120
|
"text-brand",
|
|
119
121
|
"text-brand-active",
|
|
@@ -21,133 +21,21 @@
|
|
|
21
21
|
"sourcePaths": [
|
|
22
22
|
"app/design-system/badge/page.js",
|
|
23
23
|
"assets/styles/badge.css",
|
|
24
|
-
"assets/styles/button.css",
|
|
25
24
|
"assets/styles/contest.css",
|
|
26
25
|
"assets/styles/form-text-select.css",
|
|
27
26
|
"assets/styles/shared.css"
|
|
28
27
|
],
|
|
29
28
|
"apiModel": "html-class",
|
|
30
29
|
"baseClass": "badge",
|
|
31
|
-
"variants": [
|
|
32
|
-
|
|
33
|
-
"name": "badge-placeholder",
|
|
34
|
-
"className": "badge-placeholder",
|
|
35
|
-
"description": "Placeholder badge style"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "badge-neutral",
|
|
39
|
-
"className": "badge-neutral",
|
|
40
|
-
"description": "Neutral badge style"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "badge-success",
|
|
44
|
-
"className": "badge-success",
|
|
45
|
-
"description": "Success badge style"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "badge-error",
|
|
49
|
-
"className": "badge-error",
|
|
50
|
-
"description": "Error badge style"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "badge-warning",
|
|
54
|
-
"className": "badge-warning",
|
|
55
|
-
"description": "Warning badge style"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "badge-info",
|
|
59
|
-
"className": "badge-info",
|
|
60
|
-
"description": "Info badge style"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "badge-attention",
|
|
64
|
-
"className": "badge-attention",
|
|
65
|
-
"description": "Attention badge style"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "badge-brand",
|
|
69
|
-
"className": "badge-brand",
|
|
70
|
-
"description": "Brand badge style"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "badge-filled",
|
|
74
|
-
"className": "badge-filled",
|
|
75
|
-
"description": "Filled badge style variant"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "badge-interactive",
|
|
79
|
-
"className": "badge-interactive",
|
|
80
|
-
"description": "Interactive/clickable badge style"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "badge-status-undefined",
|
|
84
|
-
"className": "badge-status-undefined",
|
|
85
|
-
"description": "Status badge - no data"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "badge-status-verylow",
|
|
89
|
-
"className": "badge-status-verylow",
|
|
90
|
-
"description": "Status badge - very low"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "badge-status-low",
|
|
94
|
-
"className": "badge-status-low",
|
|
95
|
-
"description": "Status badge - low"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "badge-status-high",
|
|
99
|
-
"className": "badge-status-high",
|
|
100
|
-
"description": "Status badge - high"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"name": "badge-status-veryhigh",
|
|
104
|
-
"className": "badge-status-veryhigh",
|
|
105
|
-
"description": "Status badge - very high"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
"sizes": [
|
|
109
|
-
{
|
|
110
|
-
"name": "badge-sm",
|
|
111
|
-
"className": "badge-sm",
|
|
112
|
-
"description": "Small badge size"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"name": "badge-lg",
|
|
116
|
-
"className": "badge-lg",
|
|
117
|
-
"description": "Large badge size"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"name": "badge-status-medium",
|
|
121
|
-
"className": "badge-status-medium",
|
|
122
|
-
"description": "Status badge - medium"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
30
|
+
"variants": [],
|
|
31
|
+
"sizes": [],
|
|
125
32
|
"states": [],
|
|
126
33
|
"structure": {
|
|
127
34
|
"rootElement": "div",
|
|
128
35
|
"requiredClasses": [
|
|
129
36
|
"badge"
|
|
130
37
|
],
|
|
131
|
-
"optionalClasses": [
|
|
132
|
-
"badge-placeholder",
|
|
133
|
-
"badge-neutral",
|
|
134
|
-
"badge-success",
|
|
135
|
-
"badge-error",
|
|
136
|
-
"badge-warning",
|
|
137
|
-
"badge-info",
|
|
138
|
-
"badge-attention",
|
|
139
|
-
"badge-brand",
|
|
140
|
-
"badge-filled",
|
|
141
|
-
"badge-interactive",
|
|
142
|
-
"badge-status-undefined",
|
|
143
|
-
"badge-status-verylow",
|
|
144
|
-
"badge-status-low",
|
|
145
|
-
"badge-status-high",
|
|
146
|
-
"badge-status-veryhigh",
|
|
147
|
-
"badge-sm",
|
|
148
|
-
"badge-lg",
|
|
149
|
-
"badge-status-medium"
|
|
150
|
-
],
|
|
38
|
+
"optionalClasses": [],
|
|
151
39
|
"requiredChildren": [],
|
|
152
40
|
"optionalChildren": []
|
|
153
41
|
},
|
|
@@ -184,10 +72,8 @@
|
|
|
184
72
|
"tokenUsage": [
|
|
185
73
|
"background-attention-active",
|
|
186
74
|
"background-brand",
|
|
187
|
-
"background-brand-active",
|
|
188
75
|
"background-error",
|
|
189
76
|
"background-info",
|
|
190
|
-
"background-inverted",
|
|
191
77
|
"background-neutral",
|
|
192
78
|
"background-success",
|
|
193
79
|
"background-surface",
|
|
@@ -200,14 +86,21 @@
|
|
|
200
86
|
"core-black",
|
|
201
87
|
"core-green-100",
|
|
202
88
|
"core-green-200",
|
|
89
|
+
"core-green-300",
|
|
90
|
+
"core-green-400",
|
|
203
91
|
"core-green-50",
|
|
204
92
|
"core-green-700",
|
|
205
93
|
"core-green-800",
|
|
206
94
|
"core-green-900",
|
|
95
|
+
"core-green-950",
|
|
207
96
|
"core-orange-100",
|
|
97
|
+
"core-orange-300",
|
|
208
98
|
"core-orange-700",
|
|
99
|
+
"core-orange-900",
|
|
209
100
|
"core-red-100",
|
|
101
|
+
"core-red-300",
|
|
210
102
|
"core-red-700",
|
|
103
|
+
"core-red-900",
|
|
211
104
|
"core-ui-100",
|
|
212
105
|
"core-ui-200",
|
|
213
106
|
"core-ui-300",
|
|
@@ -228,9 +121,6 @@
|
|
|
228
121
|
"line-success",
|
|
229
122
|
"line-warning",
|
|
230
123
|
"text-attention",
|
|
231
|
-
"text-brand",
|
|
232
|
-
"text-brand-active",
|
|
233
|
-
"text-brand-hover",
|
|
234
124
|
"text-default",
|
|
235
125
|
"text-disabled",
|
|
236
126
|
"text-error",
|
|
@@ -33,114 +33,19 @@
|
|
|
33
33
|
"assets/styles/form-text-select.css",
|
|
34
34
|
"assets/styles/join.css",
|
|
35
35
|
"assets/styles/shared.css",
|
|
36
|
-
"assets/styles/table.css"
|
|
37
|
-
"assets/styles/toast.css"
|
|
36
|
+
"assets/styles/table.css"
|
|
38
37
|
],
|
|
39
38
|
"apiModel": "html-class",
|
|
40
39
|
"baseClass": "button",
|
|
41
|
-
"variants": [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"className": "button-primary",
|
|
45
|
-
"description": "Primary button style"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "button-secondary",
|
|
49
|
-
"className": "button-secondary",
|
|
50
|
-
"description": "Secondary button style"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "button-tertiary",
|
|
54
|
-
"className": "button-tertiary",
|
|
55
|
-
"description": "Tertiary button style"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "button-plain",
|
|
59
|
-
"className": "button-plain",
|
|
60
|
-
"description": "Plain button style without background"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "button-destructive",
|
|
64
|
-
"className": "button-destructive",
|
|
65
|
-
"description": "Destructive action button style"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "button-discreet",
|
|
69
|
-
"className": "button-discreet",
|
|
70
|
-
"description": "Discreet button style with minimal visual impact"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "button-menu",
|
|
74
|
-
"className": "button-menu",
|
|
75
|
-
"description": "Menu button style"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "button-sso",
|
|
79
|
-
"className": "button-sso",
|
|
80
|
-
"description": "Single sign-on button style"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "button-close",
|
|
84
|
-
"className": "button-close",
|
|
85
|
-
"description": "Close button style with X icon"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"sizes": [
|
|
89
|
-
{
|
|
90
|
-
"name": "button-xs",
|
|
91
|
-
"className": "button-xs",
|
|
92
|
-
"description": "Extra small button size"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "button-sm",
|
|
96
|
-
"className": "button-sm",
|
|
97
|
-
"description": "Small button size"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "button-lg",
|
|
101
|
-
"className": "button-lg",
|
|
102
|
-
"description": "Large button size"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"states": [
|
|
106
|
-
{
|
|
107
|
-
"name": "is-loading",
|
|
108
|
-
"className": "is-loading",
|
|
109
|
-
"description": "Shows loading spinner state"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "is-charging",
|
|
113
|
-
"className": "is-charging",
|
|
114
|
-
"description": "Shows charging animation state"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"name": "is-charging-done",
|
|
118
|
-
"className": "is-charging-done",
|
|
119
|
-
"description": "Shows completed charging state"
|
|
120
|
-
}
|
|
121
|
-
],
|
|
40
|
+
"variants": [],
|
|
41
|
+
"sizes": [],
|
|
42
|
+
"states": [],
|
|
122
43
|
"structure": {
|
|
123
44
|
"rootElement": "button",
|
|
124
45
|
"requiredClasses": [
|
|
125
46
|
"button"
|
|
126
47
|
],
|
|
127
|
-
"optionalClasses": [
|
|
128
|
-
"button-primary",
|
|
129
|
-
"button-secondary",
|
|
130
|
-
"button-tertiary",
|
|
131
|
-
"button-plain",
|
|
132
|
-
"button-destructive",
|
|
133
|
-
"button-discreet",
|
|
134
|
-
"button-menu",
|
|
135
|
-
"button-sso",
|
|
136
|
-
"button-close",
|
|
137
|
-
"button-xs",
|
|
138
|
-
"button-sm",
|
|
139
|
-
"button-lg",
|
|
140
|
-
"is-loading",
|
|
141
|
-
"is-charging",
|
|
142
|
-
"is-charging-done"
|
|
143
|
-
],
|
|
48
|
+
"optionalClasses": [],
|
|
144
49
|
"requiredChildren": [],
|
|
145
50
|
"optionalChildren": []
|
|
146
51
|
},
|
|
@@ -196,37 +101,39 @@
|
|
|
196
101
|
"background-brand",
|
|
197
102
|
"background-brand-active",
|
|
198
103
|
"background-error",
|
|
199
|
-
"background-error-active",
|
|
200
104
|
"background-info",
|
|
201
|
-
"background-info-active",
|
|
202
105
|
"background-inverted",
|
|
203
106
|
"background-neutral",
|
|
204
107
|
"background-page",
|
|
205
108
|
"background-success",
|
|
206
|
-
"background-success-active",
|
|
207
109
|
"background-surface",
|
|
208
110
|
"background-surface-elevated",
|
|
209
111
|
"background-surface-sunken",
|
|
210
112
|
"background-warning",
|
|
211
|
-
"background-warning-active",
|
|
212
113
|
"brand-default",
|
|
213
114
|
"brand-moderate",
|
|
214
115
|
"brand-strong",
|
|
215
116
|
"core-black",
|
|
216
117
|
"core-green-100",
|
|
217
118
|
"core-green-200",
|
|
119
|
+
"core-green-300",
|
|
120
|
+
"core-green-400",
|
|
218
121
|
"core-green-50",
|
|
219
122
|
"core-green-700",
|
|
220
123
|
"core-green-800",
|
|
221
124
|
"core-green-900",
|
|
125
|
+
"core-green-950",
|
|
222
126
|
"core-orange-100",
|
|
127
|
+
"core-orange-300",
|
|
223
128
|
"core-orange-700",
|
|
129
|
+
"core-orange-900",
|
|
224
130
|
"core-red-100",
|
|
131
|
+
"core-red-300",
|
|
225
132
|
"core-red-700",
|
|
133
|
+
"core-red-900",
|
|
226
134
|
"core-ui-100",
|
|
227
135
|
"core-ui-200",
|
|
228
136
|
"core-ui-300",
|
|
229
|
-
"core-ui-400",
|
|
230
137
|
"core-ui-50",
|
|
231
138
|
"core-ui-600",
|
|
232
139
|
"core-ui-700",
|
|
@@ -22,36 +22,15 @@
|
|
|
22
22
|
],
|
|
23
23
|
"apiModel": "html-class",
|
|
24
24
|
"baseClass": "chat-footer",
|
|
25
|
-
"variants": [
|
|
26
|
-
{
|
|
27
|
-
"name": "chat-footer-full",
|
|
28
|
-
"className": "chat-footer-full",
|
|
29
|
-
"description": "Extended footer layout for full chat composer demo."
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "chat-input-full",
|
|
33
|
-
"className": "chat-input-full",
|
|
34
|
-
"description": "Expanded input row behavior used in full footer mode."
|
|
35
|
-
}
|
|
36
|
-
],
|
|
25
|
+
"variants": [],
|
|
37
26
|
"sizes": [],
|
|
38
|
-
"states": [
|
|
39
|
-
{
|
|
40
|
-
"name": "is-listening",
|
|
41
|
-
"className": "is-listening",
|
|
42
|
-
"description": "Active dictation state with listening indicator."
|
|
43
|
-
}
|
|
44
|
-
],
|
|
27
|
+
"states": [],
|
|
45
28
|
"structure": {
|
|
46
29
|
"rootElement": "div",
|
|
47
30
|
"requiredClasses": [
|
|
48
31
|
"chat-footer"
|
|
49
32
|
],
|
|
50
|
-
"optionalClasses": [
|
|
51
|
-
"chat-footer-full",
|
|
52
|
-
"chat-input-full",
|
|
53
|
-
"is-listening"
|
|
54
|
-
],
|
|
33
|
+
"optionalClasses": [],
|
|
55
34
|
"requiredChildren": [],
|
|
56
35
|
"optionalChildren": []
|
|
57
36
|
},
|
|
@@ -63,14 +42,18 @@
|
|
|
63
42
|
"dataAttributes": [],
|
|
64
43
|
"roles": [],
|
|
65
44
|
"aria": [
|
|
66
|
-
"aria-
|
|
45
|
+
"aria-hidden",
|
|
46
|
+
"aria-label",
|
|
47
|
+
"aria-pressed"
|
|
67
48
|
]
|
|
68
49
|
},
|
|
69
50
|
"a11y": {
|
|
70
51
|
"interactive": false,
|
|
71
52
|
"requiredRoles": [],
|
|
72
53
|
"requiredAria": [
|
|
73
|
-
"aria-
|
|
54
|
+
"aria-hidden",
|
|
55
|
+
"aria-label",
|
|
56
|
+
"aria-pressed"
|
|
74
57
|
],
|
|
75
58
|
"keyboardSupport": [],
|
|
76
59
|
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
@@ -86,7 +69,6 @@
|
|
|
86
69
|
"Do not remove required accessibility attributes when component is interactive."
|
|
87
70
|
],
|
|
88
71
|
"tokenUsage": [
|
|
89
|
-
"background-error",
|
|
90
72
|
"background-page",
|
|
91
73
|
"background-surface",
|
|
92
74
|
"background-surface-elevated",
|
|
@@ -94,6 +76,7 @@
|
|
|
94
76
|
"core-black",
|
|
95
77
|
"core-white",
|
|
96
78
|
"line-default",
|
|
79
|
+
"line-highlight",
|
|
97
80
|
"line-strong",
|
|
98
81
|
"text-default",
|
|
99
82
|
"text-link",
|
package/llm/components/chat.json
CHANGED
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"Do not remove required accessibility attributes when component is interactive."
|
|
53
53
|
],
|
|
54
54
|
"tokenUsage": [
|
|
55
|
-
"background-error",
|
|
56
55
|
"background-page",
|
|
57
56
|
"background-surface",
|
|
58
57
|
"background-surface-elevated",
|
|
@@ -60,6 +59,7 @@
|
|
|
60
59
|
"core-black",
|
|
61
60
|
"core-white",
|
|
62
61
|
"line-default",
|
|
62
|
+
"line-highlight",
|
|
63
63
|
"line-strong",
|
|
64
64
|
"text-default",
|
|
65
65
|
"text-link",
|
|
@@ -15,46 +15,19 @@
|
|
|
15
15
|
"spotlight"
|
|
16
16
|
],
|
|
17
17
|
"sourcePaths": [
|
|
18
|
-
"app/design-system/command-palette/page.js"
|
|
19
|
-
"assets/styles/breadcrumb.css",
|
|
20
|
-
"assets/styles/button.css",
|
|
21
|
-
"assets/styles/chat.css",
|
|
22
|
-
"assets/styles/checkmark.css",
|
|
23
|
-
"assets/styles/command.css",
|
|
24
|
-
"assets/styles/form-text-select.css",
|
|
25
|
-
"assets/styles/menu.css",
|
|
26
|
-
"assets/styles/pagination.css",
|
|
27
|
-
"assets/styles/progress.css",
|
|
28
|
-
"assets/styles/steps.css",
|
|
29
|
-
"assets/styles/tab.css",
|
|
30
|
-
"assets/styles/table.css",
|
|
31
|
-
"assets/styles/toast.css"
|
|
18
|
+
"app/design-system/command-palette/page.js"
|
|
32
19
|
],
|
|
33
20
|
"apiModel": "html-class",
|
|
34
|
-
"baseClass": "command",
|
|
21
|
+
"baseClass": "command-palette",
|
|
35
22
|
"variants": [],
|
|
36
23
|
"sizes": [],
|
|
37
|
-
"states": [
|
|
38
|
-
{
|
|
39
|
-
"name": "is-active",
|
|
40
|
-
"className": "is-active",
|
|
41
|
-
"description": "Highlights the current command option (on li or trigger element)."
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "is-empty",
|
|
45
|
-
"className": "is-empty",
|
|
46
|
-
"description": "Styles the empty-result message block."
|
|
47
|
-
}
|
|
48
|
-
],
|
|
24
|
+
"states": [],
|
|
49
25
|
"structure": {
|
|
50
26
|
"rootElement": "div",
|
|
51
27
|
"requiredClasses": [
|
|
52
|
-
"command"
|
|
53
|
-
],
|
|
54
|
-
"optionalClasses": [
|
|
55
|
-
"is-active",
|
|
56
|
-
"is-empty"
|
|
28
|
+
"command-palette"
|
|
57
29
|
],
|
|
30
|
+
"optionalClasses": [],
|
|
58
31
|
"requiredChildren": [],
|
|
59
32
|
"optionalChildren": []
|
|
60
33
|
},
|
|
@@ -75,7 +48,7 @@
|
|
|
75
48
|
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
76
49
|
},
|
|
77
50
|
"dos": [
|
|
78
|
-
"Apply the base class 'command' on the root element.",
|
|
51
|
+
"Apply the base class 'command-palette' on the root element.",
|
|
79
52
|
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
80
53
|
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
81
54
|
],
|
|
@@ -84,61 +57,7 @@
|
|
|
84
57
|
"Do not rely on undocumented internal classes in production templates.",
|
|
85
58
|
"Do not remove required accessibility attributes when component is interactive."
|
|
86
59
|
],
|
|
87
|
-
"tokenUsage": [
|
|
88
|
-
"background-brand",
|
|
89
|
-
"background-brand-active",
|
|
90
|
-
"background-error",
|
|
91
|
-
"background-error-active",
|
|
92
|
-
"background-info",
|
|
93
|
-
"background-info-active",
|
|
94
|
-
"background-inverted",
|
|
95
|
-
"background-page",
|
|
96
|
-
"background-success",
|
|
97
|
-
"background-success-active",
|
|
98
|
-
"background-surface",
|
|
99
|
-
"background-surface-elevated",
|
|
100
|
-
"background-surface-sunken",
|
|
101
|
-
"background-warning",
|
|
102
|
-
"background-warning-active",
|
|
103
|
-
"brand-default",
|
|
104
|
-
"brand-moderate",
|
|
105
|
-
"brand-strong",
|
|
106
|
-
"core-black",
|
|
107
|
-
"core-ui-100",
|
|
108
|
-
"core-ui-300",
|
|
109
|
-
"core-ui-400",
|
|
110
|
-
"core-ui-50",
|
|
111
|
-
"core-ui-600",
|
|
112
|
-
"core-ui-700",
|
|
113
|
-
"core-ui-800",
|
|
114
|
-
"core-ui-900",
|
|
115
|
-
"core-white",
|
|
116
|
-
"line-brand",
|
|
117
|
-
"line-default",
|
|
118
|
-
"line-error",
|
|
119
|
-
"line-focus",
|
|
120
|
-
"line-highlight",
|
|
121
|
-
"line-info",
|
|
122
|
-
"line-strong",
|
|
123
|
-
"line-success",
|
|
124
|
-
"line-warning",
|
|
125
|
-
"text-attention",
|
|
126
|
-
"text-brand",
|
|
127
|
-
"text-brand-active",
|
|
128
|
-
"text-brand-hover",
|
|
129
|
-
"text-default",
|
|
130
|
-
"text-disabled",
|
|
131
|
-
"text-error",
|
|
132
|
-
"text-info",
|
|
133
|
-
"text-inverted",
|
|
134
|
-
"text-link",
|
|
135
|
-
"text-link-active",
|
|
136
|
-
"text-link-hover",
|
|
137
|
-
"text-secondary",
|
|
138
|
-
"text-success",
|
|
139
|
-
"text-tertiary",
|
|
140
|
-
"text-warning"
|
|
141
|
-
],
|
|
60
|
+
"tokenUsage": [],
|
|
142
61
|
"examples": [
|
|
143
62
|
{
|
|
144
63
|
"id": "canonical",
|