twntyx-css 1.0.2 → 1.0.5

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 (70) hide show
  1. package/llm/components/ai-orb.json +0 -1
  2. package/llm/components/ai-perl.json +5 -13
  3. package/llm/components/all-components.json +13 -5
  4. package/llm/components/{banner-marketplace.json → banner-funding.json} +8 -8
  5. package/llm/components/breadcrumb.json +0 -1
  6. package/llm/components/button-container.json +1 -0
  7. package/llm/components/chat-ai.json +100 -6
  8. package/llm/components/chat-footer.json +24 -3
  9. package/llm/components/checkmark.json +0 -1
  10. package/llm/components/command-palette.json +0 -1
  11. package/llm/components/countdown.json +1 -1
  12. package/llm/components/divider.json +1 -1
  13. package/llm/components/kbd.json +1 -1
  14. package/llm/components/key-value.json +2 -10
  15. package/llm/components/{skeleton.json → loader-skeleton.json} +7 -5
  16. package/llm/components/{loader.json → loader-symbol.json} +8 -10
  17. package/llm/components/{empty-state.json → loader-text.json} +22 -20
  18. package/llm/components/progress-bullet.json +0 -1
  19. package/llm/components/state.json +2 -1
  20. package/llm/components/stepper.json +1 -1
  21. package/llm/components/steps.json +6 -95
  22. package/llm/components/surface.json +2 -0
  23. package/llm/components/tabs.json +1 -0
  24. package/llm/components/{input-group.json → template-navbar.json} +28 -43
  25. package/llm/components/text-input.json +8 -169
  26. package/llm/components/toast.json +0 -2
  27. package/llm/components/tooltip.json +1 -1
  28. package/llm/examples/ai-perl.html +1 -1
  29. package/llm/examples/banner-funding.html +1 -0
  30. package/llm/examples/chat-ai.html +1 -1
  31. package/llm/examples/chat-footer.html +1 -1
  32. package/llm/examples/key-value.html +1 -1
  33. package/llm/examples/loader-skeleton.html +1 -0
  34. package/llm/examples/loader-symbol.html +1 -0
  35. package/llm/examples/loader-text.html +1 -0
  36. package/llm/examples/steps.html +1 -1
  37. package/llm/examples/template-navbar.html +1 -0
  38. package/llm/index.json +73 -88
  39. package/llm/patterns.json +2 -2
  40. package/llm/tokens.json +657 -367
  41. package/package.json +1 -1
  42. package/styles/ai.css +3 -7
  43. package/styles/animation.css +228 -94
  44. package/styles/button.css +50 -39
  45. package/styles/card.css +3 -3
  46. package/styles/colors.css +525 -283
  47. package/styles/datepicker.css +8 -15
  48. package/styles/divider.css +1 -1
  49. package/styles/form.css +6 -8
  50. package/styles/globals.css +62 -64
  51. package/styles/key-value.css +4 -3
  52. package/styles/loader.css +25 -31
  53. package/styles/logotype.css +6 -6
  54. package/styles/scrollbar.css +2 -2
  55. package/styles/shared.css +17 -17
  56. package/styles/skeleton.css +2 -1
  57. package/styles/state.css +109 -97
  58. package/styles/steps.css +2 -2
  59. package/styles/surface.css +74 -90
  60. package/styles/table.css +3 -3
  61. package/styles/toast.css +3 -5
  62. package/llm/components/navbar.json +0 -158
  63. package/llm/examples/banner-marketplace.html +0 -1
  64. package/llm/examples/empty-state.html +0 -1
  65. package/llm/examples/input-group.html +0 -1
  66. package/llm/examples/loader.html +0 -1
  67. package/llm/examples/navbar.html +0 -1
  68. package/llm/examples/skeleton.html +0 -1
  69. package/styles/empty-state.css +0 -48
  70. package/styles/navbar.css +0 -48
@@ -20,60 +20,19 @@
20
20
  ],
21
21
  "sourcePaths": [
22
22
  "app/design-system/steps/page.js",
23
- "assets/styles/breadcrumb.css",
24
- "assets/styles/button.css",
25
- "assets/styles/chat.css",
26
- "assets/styles/checkmark.css",
27
- "assets/styles/command.css",
28
- "assets/styles/form-text-select.css",
29
- "assets/styles/menu.css",
30
- "assets/styles/navbar.css",
31
- "assets/styles/pagination.css",
32
- "assets/styles/progress.css",
33
- "assets/styles/steps.css",
34
- "assets/styles/tab.css",
35
- "assets/styles/table.css",
36
- "assets/styles/toast.css"
23
+ "assets/styles/steps.css"
37
24
  ],
38
25
  "apiModel": "html-class",
39
26
  "baseClass": "steps",
40
- "variants": [
41
- {
42
- "name": "steps-vertical",
43
- "className": "steps-vertical",
44
- "description": "Makes steps display vertically"
45
- }
46
- ],
47
- "sizes": [
48
- {
49
- "name": "steps-sm",
50
- "className": "steps-sm",
51
- "description": "Small size variant"
52
- },
53
- {
54
- "name": "steps-lg",
55
- "className": "steps-lg",
56
- "description": "Large size variant"
57
- }
58
- ],
59
- "states": [
60
- {
61
- "name": "is-active",
62
- "className": "is-active",
63
- "description": "Marks a step as active/complete"
64
- }
65
- ],
27
+ "variants": [],
28
+ "sizes": [],
29
+ "states": [],
66
30
  "structure": {
67
31
  "rootElement": "div",
68
32
  "requiredClasses": [
69
33
  "steps"
70
34
  ],
71
- "optionalClasses": [
72
- "steps-vertical",
73
- "steps-sm",
74
- "steps-lg",
75
- "is-active"
76
- ],
35
+ "optionalClasses": [],
77
36
  "requiredChildren": [],
78
37
  "optionalChildren": []
79
38
  },
@@ -104,59 +63,11 @@
104
63
  "Do not remove required accessibility attributes when component is interactive."
105
64
  ],
106
65
  "tokenUsage": [
107
- "background-brand",
108
- "background-brand-active",
109
- "background-error",
110
- "background-error-active",
111
- "background-info",
112
- "background-info-active",
113
- "background-inverted",
114
- "background-page",
115
- "background-success",
116
- "background-success-active",
117
- "background-surface",
118
- "background-surface-elevated",
119
- "background-surface-sunken",
120
- "background-warning",
121
- "background-warning-active",
122
66
  "brand-default",
123
- "brand-moderate",
124
- "brand-strong",
125
- "core-black",
126
- "core-ui-100",
127
- "core-ui-300",
128
- "core-ui-400",
129
- "core-ui-50",
130
- "core-ui-600",
131
- "core-ui-700",
132
- "core-ui-800",
133
- "core-ui-900",
134
- "core-white",
135
- "line-brand",
136
67
  "line-default",
137
- "line-error",
138
- "line-focus",
139
- "line-highlight",
140
- "line-info",
141
- "line-strong",
142
- "line-success",
143
- "line-warning",
144
- "text-attention",
145
- "text-brand",
146
- "text-brand-active",
147
- "text-brand-hover",
148
68
  "text-default",
149
- "text-disabled",
150
- "text-error",
151
- "text-info",
152
69
  "text-inverted",
153
- "text-link",
154
- "text-link-active",
155
- "text-link-hover",
156
- "text-secondary",
157
- "text-success",
158
- "text-tertiary",
159
- "text-warning"
70
+ "text-tertiary"
160
71
  ],
161
72
  "examples": [
162
73
  {
@@ -115,6 +115,7 @@
115
115
  "tokenUsage": [
116
116
  "background-attention",
117
117
  "background-attention-active",
118
+ "background-brand",
118
119
  "background-error",
119
120
  "background-error-active",
120
121
  "background-info",
@@ -142,6 +143,7 @@
142
143
  "core-ui-900",
143
144
  "core-white",
144
145
  "line-attention",
146
+ "line-brand",
145
147
  "line-default",
146
148
  "line-error",
147
149
  "line-focus",
@@ -111,6 +111,7 @@
111
111
  "Do not remove required accessibility attributes when component is interactive."
112
112
  ],
113
113
  "tokenUsage": [
114
+ "background-brand",
114
115
  "background-surface",
115
116
  "background-surface-elevated",
116
117
  "brand-default",
@@ -1,30 +1,27 @@
1
1
  {
2
- "id": "input-group",
3
- "name": "Input group",
4
- "status": "stable",
5
- "summary": "Input group pattern for combining controls with prefixes, suffixes, and inline actions.",
2
+ "id": "template-navbar",
3
+ "name": "Navbar",
4
+ "status": "preview",
5
+ "summary": "A template for a navbar component.",
6
6
  "keywords": [
7
- "addon",
8
- "composed input",
9
- "input group",
10
- "input-group",
11
- "prefix",
12
- "suffix"
7
+ "navbar",
8
+ "navigation bar",
9
+ "template navbar",
10
+ "template-navbar",
11
+ "top bar"
13
12
  ],
14
13
  "sourcePaths": [
15
- "app/design-system/input-group/page.js",
16
- "assets/styles/form.css",
17
- "assets/styles/input-group.css"
14
+ "app/design-system/template-navbar/page.js"
18
15
  ],
19
16
  "apiModel": "html-class",
20
- "baseClass": "input-group",
17
+ "baseClass": "template-navbar",
21
18
  "variants": [],
22
19
  "sizes": [],
23
20
  "states": [],
24
21
  "structure": {
25
- "rootElement": "div",
22
+ "rootElement": "a",
26
23
  "requiredClasses": [
27
- "input-group"
24
+ "template-navbar"
28
25
  ],
29
26
  "optionalClasses": [],
30
27
  "requiredChildren": [],
@@ -32,31 +29,26 @@
32
29
  },
33
30
  "attributes": {
34
31
  "allowed": [
35
- "class",
36
- "id",
37
- "tabindex"
32
+ "class"
38
33
  ],
39
34
  "required": [],
40
35
  "dataAttributes": [],
41
36
  "roles": [],
42
- "aria": []
37
+ "aria": [
38
+ "aria-label"
39
+ ]
43
40
  },
44
41
  "a11y": {
45
- "interactive": true,
42
+ "interactive": false,
46
43
  "requiredRoles": [],
47
44
  "requiredAria": [
48
- "aria-label (when no visible label)"
45
+ "aria-label"
49
46
  ],
50
- "keyboardSupport": [
51
- "Tab",
52
- "Shift+Tab",
53
- "Enter",
54
- "Space"
55
- ],
56
- "focusBehavior": "Visible focus state is required when the component is focusable or clickable."
47
+ "keyboardSupport": [],
48
+ "focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
57
49
  },
58
50
  "dos": [
59
- "Apply the base class 'input-group' on the root element.",
51
+ "Apply the base class 'template-navbar' on the root element.",
60
52
  "Use documented modifiers for visual variants instead of ad-hoc custom classes.",
61
53
  "Keep semantic color usage aligned with token classes for light/dark support."
62
54
  ],
@@ -65,25 +57,18 @@
65
57
  "Do not rely on undocumented internal classes in production templates.",
66
58
  "Do not remove required accessibility attributes when component is interactive."
67
59
  ],
68
- "tokenUsage": [
69
- "background-surface",
70
- "background-surface-elevated",
71
- "line-brand",
72
- "line-default",
73
- "line-focus",
74
- "line-highlight",
75
- "line-strong",
76
- "text-tertiary"
77
- ],
60
+ "tokenUsage": [],
78
61
  "examples": [
79
62
  {
80
63
  "id": "canonical",
81
- "file": "examples/input-group.html",
82
- "description": "Minimal canonical Input group usage."
64
+ "file": "examples/template-navbar.html",
65
+ "description": "Minimal canonical Navbar usage."
83
66
  }
84
67
  ],
85
68
  "composition": {
86
- "patterns": [],
69
+ "patterns": [
70
+ "navigation-hierarchy"
71
+ ],
87
72
  "relatedComponents": [],
88
73
  "notes": []
89
74
  },
@@ -21,125 +21,19 @@
21
21
  "write"
22
22
  ],
23
23
  "sourcePaths": [
24
- "app/design-system/text-input/page.js",
25
- "assets/styles/breadcrumb.css",
26
- "assets/styles/button.css",
27
- "assets/styles/chat.css",
28
- "assets/styles/checkmark.css",
29
- "assets/styles/command.css",
30
- "assets/styles/field.css",
31
- "assets/styles/form-checkbox-radio-toggle.css",
32
- "assets/styles/form-shared.css",
33
- "assets/styles/form-text-select.css",
34
- "assets/styles/input-group.css",
35
- "assets/styles/menu.css",
36
- "assets/styles/navbar.css",
37
- "assets/styles/pagination.css",
38
- "assets/styles/progress.css",
39
- "assets/styles/steps.css",
40
- "assets/styles/tab.css",
41
- "assets/styles/table.css",
42
- "assets/styles/toast.css"
24
+ "app/design-system/text-input/page.js"
43
25
  ],
44
26
  "apiModel": "html-class",
45
- "baseClass": "input-text",
46
- "variants": [
47
- {
48
- "name": "input-divide",
49
- "className": "input-divide",
50
- "description": "Adds divider between input and addons"
51
- },
52
- {
53
- "name": "input-chevron",
54
- "className": "input-chevron",
55
- "description": "Adds animated chevron to input"
56
- },
57
- {
58
- "name": "input-required",
59
- "className": "input-required",
60
- "description": "Adds required indicator to label"
61
- },
62
- {
63
- "name": "input-ghost",
64
- "className": "input-ghost",
65
- "description": "Removes borders and background"
66
- },
67
- {
68
- "name": "input-rounded-none",
69
- "className": "input-rounded-none",
70
- "description": "Removes border radius"
71
- },
72
- {
73
- "name": "input-rounded-full",
74
- "className": "input-rounded-full",
75
- "description": "Fully rounded corners (default)"
76
- }
77
- ],
78
- "sizes": [
79
- {
80
- "name": "input-xs",
81
- "className": "input-xs",
82
- "description": "Extra small size variant"
83
- },
84
- {
85
- "name": "input-sm",
86
- "className": "input-sm",
87
- "description": "Small size variant"
88
- },
89
- {
90
- "name": "input-lg",
91
- "className": "input-lg",
92
- "description": "Large size variant"
93
- },
94
- {
95
- "name": "input-rounded-sm",
96
- "className": "input-rounded-sm",
97
- "description": "Small border radius (2px)"
98
- },
99
- {
100
- "name": "input-rounded-md",
101
- "className": "input-rounded-md",
102
- "description": "Medium border radius (6px)"
103
- },
104
- {
105
- "name": "input-rounded-lg",
106
- "className": "input-rounded-lg",
107
- "description": "Large border radius (8px)"
108
- }
109
- ],
110
- "states": [
111
- {
112
- "name": "is-loading",
113
- "className": "is-loading",
114
- "description": "Shows loading spinner"
115
- },
116
- {
117
- "name": "is-active",
118
- "className": "is-active",
119
- "description": "Active/focused state"
120
- }
121
- ],
27
+ "baseClass": "text-input",
28
+ "variants": [],
29
+ "sizes": [],
30
+ "states": [],
122
31
  "structure": {
123
32
  "rootElement": "input",
124
33
  "requiredClasses": [
125
- "input-text"
126
- ],
127
- "optionalClasses": [
128
- "input-divide",
129
- "input-chevron",
130
- "input-required",
131
- "input-ghost",
132
- "input-rounded-none",
133
- "input-rounded-full",
134
- "input-xs",
135
- "input-sm",
136
- "input-lg",
137
- "input-rounded-sm",
138
- "input-rounded-md",
139
- "input-rounded-lg",
140
- "is-loading",
141
- "is-active"
34
+ "text-input"
142
35
  ],
36
+ "optionalClasses": [],
143
37
  "requiredChildren": [],
144
38
  "optionalChildren": []
145
39
  },
@@ -192,62 +86,7 @@
192
86
  "Do not hide error text when `aria-invalid` is set.",
193
87
  "Do not apply destructive styles to neutral data entry states."
194
88
  ],
195
- "tokenUsage": [
196
- "background-brand",
197
- "background-brand-active",
198
- "background-error",
199
- "background-error-active",
200
- "background-info",
201
- "background-info-active",
202
- "background-inverted",
203
- "background-page",
204
- "background-success",
205
- "background-success-active",
206
- "background-surface",
207
- "background-surface-elevated",
208
- "background-surface-sunken",
209
- "background-warning",
210
- "background-warning-active",
211
- "brand-default",
212
- "brand-moderate",
213
- "brand-strong",
214
- "core-black",
215
- "core-ui-100",
216
- "core-ui-300",
217
- "core-ui-400",
218
- "core-ui-50",
219
- "core-ui-500",
220
- "core-ui-600",
221
- "core-ui-700",
222
- "core-ui-800",
223
- "core-ui-900",
224
- "core-white",
225
- "line-brand",
226
- "line-default",
227
- "line-error",
228
- "line-focus",
229
- "line-highlight",
230
- "line-info",
231
- "line-strong",
232
- "line-success",
233
- "line-warning",
234
- "text-attention",
235
- "text-brand",
236
- "text-brand-active",
237
- "text-brand-hover",
238
- "text-default",
239
- "text-disabled",
240
- "text-error",
241
- "text-info",
242
- "text-inverted",
243
- "text-link",
244
- "text-link-active",
245
- "text-link-hover",
246
- "text-secondary",
247
- "text-success",
248
- "text-tertiary",
249
- "text-warning"
250
- ],
89
+ "tokenUsage": [],
251
90
  "examples": [
252
91
  {
253
92
  "id": "canonical",
@@ -128,9 +128,7 @@
128
128
  "background-error-active",
129
129
  "background-info-active",
130
130
  "background-success-active",
131
- "background-surface",
132
131
  "background-warning-active",
133
- "line-default",
134
132
  "text-default",
135
133
  "text-error",
136
134
  "text-info",
@@ -57,10 +57,10 @@
57
57
  "Do not remove required accessibility attributes when component is interactive."
58
58
  ],
59
59
  "tokenUsage": [
60
+ "background-brand",
60
61
  "background-inverted",
61
62
  "background-surface",
62
63
  "background-surface-elevated",
63
- "brand-default",
64
64
  "brand-moderate",
65
65
  "line-brand",
66
66
  "line-default",
@@ -1 +1 @@
1
- <div class="ai-perl">Perl</div>
1
+ <div class="ai-perl">Ai Perl</div>
@@ -0,0 +1 @@
1
+ <div class="banner-funding">Funding banner</div>
@@ -1 +1 @@
1
- <div class="chat-ai">AI chat structure</div>
1
+ <div class="chat-ai chat-secondary">AI chat structure</div>
@@ -1 +1 @@
1
- <div class="chat-footer">Chat footer</div>
1
+ <div class="chat-footer chat-footer-full">Chat footer</div>
@@ -1 +1 @@
1
- <div class="key-value key-value-compact">Key-value</div>
1
+ <div class="key-value">Key-value</div>
@@ -0,0 +1 @@
1
+ <div class="skeleton">Skeleton loader</div>
@@ -0,0 +1 @@
1
+ <div class="loader">Symbol loader</div>
@@ -0,0 +1 @@
1
+ <div class="loader-text">Text loader</div>
@@ -1 +1 @@
1
- <div class="steps steps-vertical">Steps</div>
1
+ <div class="steps">Steps</div>
@@ -0,0 +1 @@
1
+ <a class="template-navbar" href="#">Navbar</a>