twntyx-css 1.0.13 → 1.0.15
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/llm/components/menu.json
CHANGED
|
@@ -105,6 +105,11 @@
|
|
|
105
105
|
"name": "details[open]",
|
|
106
106
|
"className": "details[open]",
|
|
107
107
|
"description": "State for open collapsible menu"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "is-editing",
|
|
111
|
+
"className": "is-editing",
|
|
112
|
+
"description": "Applies inline rename state to a menu row item"
|
|
108
113
|
}
|
|
109
114
|
],
|
|
110
115
|
"structure": {
|
|
@@ -127,7 +132,8 @@
|
|
|
127
132
|
"menu-lg",
|
|
128
133
|
"menu-rounded-sm",
|
|
129
134
|
"menu-rounded-lg",
|
|
130
|
-
"details[open]"
|
|
135
|
+
"details[open]",
|
|
136
|
+
"is-editing"
|
|
131
137
|
],
|
|
132
138
|
"requiredChildren": [],
|
|
133
139
|
"optionalChildren": []
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"assets/styles/form-shared.css",
|
|
26
26
|
"assets/styles/form-text-select.css",
|
|
27
27
|
"assets/styles/input-group.css",
|
|
28
|
+
"assets/styles/menu.css",
|
|
28
29
|
"assets/styles/shared.css"
|
|
29
30
|
],
|
|
30
31
|
"apiModel": "html-class",
|
|
@@ -129,6 +130,7 @@
|
|
|
129
130
|
"line-strong",
|
|
130
131
|
"line-success",
|
|
131
132
|
"line-warning",
|
|
133
|
+
"text-brand-active",
|
|
132
134
|
"text-default",
|
|
133
135
|
"text-disabled",
|
|
134
136
|
"text-error",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"assets/styles/form-checkbox-radio-toggle.css",
|
|
30
30
|
"assets/styles/form-text-select.css",
|
|
31
31
|
"assets/styles/input-group.css",
|
|
32
|
+
"assets/styles/menu.css",
|
|
32
33
|
"assets/styles/toast.css"
|
|
33
34
|
],
|
|
34
35
|
"apiModel": "html-class",
|
|
@@ -179,6 +180,7 @@
|
|
|
179
180
|
"core-ui-800",
|
|
180
181
|
"core-ui-900",
|
|
181
182
|
"core-white",
|
|
183
|
+
"line-brand",
|
|
182
184
|
"line-default",
|
|
183
185
|
"line-error",
|
|
184
186
|
"line-focus",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"assets/styles/field.css",
|
|
25
25
|
"assets/styles/form-checkbox-radio-toggle.css",
|
|
26
26
|
"assets/styles/form-text-select.css",
|
|
27
|
-
"assets/styles/input-group.css"
|
|
27
|
+
"assets/styles/input-group.css",
|
|
28
|
+
"assets/styles/menu.css"
|
|
28
29
|
],
|
|
29
30
|
"apiModel": "html-class",
|
|
30
31
|
"baseClass": "input-textarea",
|
|
@@ -143,6 +144,7 @@
|
|
|
143
144
|
"core-ui-800",
|
|
144
145
|
"core-ui-900",
|
|
145
146
|
"core-white",
|
|
147
|
+
"line-brand",
|
|
146
148
|
"line-default",
|
|
147
149
|
"line-error",
|
|
148
150
|
"line-focus",
|
|
@@ -151,6 +153,7 @@
|
|
|
151
153
|
"line-strong",
|
|
152
154
|
"line-success",
|
|
153
155
|
"line-warning",
|
|
156
|
+
"text-brand-active",
|
|
154
157
|
"text-default",
|
|
155
158
|
"text-disabled",
|
|
156
159
|
"text-error",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"assets/styles/form-checkbox-radio-toggle.css",
|
|
26
26
|
"assets/styles/form-shared.css",
|
|
27
27
|
"assets/styles/form-text-select.css",
|
|
28
|
-
"assets/styles/input-group.css"
|
|
28
|
+
"assets/styles/input-group.css",
|
|
29
|
+
"assets/styles/menu.css"
|
|
29
30
|
],
|
|
30
31
|
"apiModel": "html-class",
|
|
31
32
|
"baseClass": "toggle",
|
|
@@ -120,6 +121,7 @@
|
|
|
120
121
|
"core-ui-800",
|
|
121
122
|
"core-ui-900",
|
|
122
123
|
"core-white",
|
|
124
|
+
"line-brand",
|
|
123
125
|
"line-default",
|
|
124
126
|
"line-error",
|
|
125
127
|
"line-focus",
|
|
@@ -128,6 +130,7 @@
|
|
|
128
130
|
"line-strong",
|
|
129
131
|
"line-success",
|
|
130
132
|
"line-warning",
|
|
133
|
+
"text-brand-active",
|
|
131
134
|
"text-default",
|
|
132
135
|
"text-disabled",
|
|
133
136
|
"text-error",
|
package/llm/index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"llmSchemaVersion": "1.0.0",
|
|
3
|
-
"designSystemVersion": "1.0.
|
|
3
|
+
"designSystemVersion": "1.0.15",
|
|
4
4
|
"packageName": "twntyx-css",
|
|
5
5
|
"apiModel": "html-class",
|
|
6
|
-
"sourceFingerprint": "
|
|
6
|
+
"sourceFingerprint": "e1f4d4ff6601711c6cf50c03f9b0aad3f7aaf75e3f18e57148fe69b4c31aeda0",
|
|
7
7
|
"files": {
|
|
8
8
|
"schema": "schema.json",
|
|
9
9
|
"tokens": "tokens.json",
|
package/package.json
CHANGED
package/styles/menu.css
CHANGED
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
&:active > * {
|
|
46
46
|
@apply translate-y-px duration-0;
|
|
47
47
|
}
|
|
48
|
+
|
|
49
|
+
svg {
|
|
50
|
+
@apply fill-current size-5;
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
> .menu-row-action {
|
|
@@ -58,6 +62,38 @@
|
|
|
58
62
|
@apply fill-current size-4;
|
|
59
63
|
}
|
|
60
64
|
}
|
|
65
|
+
|
|
66
|
+
> .menu-row-input {
|
|
67
|
+
@apply relative z-10 flex flex-1 min-w-0 select-text;
|
|
68
|
+
|
|
69
|
+
.input-control {
|
|
70
|
+
@apply flex-1 w-full min-h-0 p-0 border-transparent shadow-none bg-transparent input-ghost;
|
|
71
|
+
--input-text-select-height: auto;
|
|
72
|
+
|
|
73
|
+
&:hover,
|
|
74
|
+
&:focus-within,
|
|
75
|
+
&:has(input:focus) {
|
|
76
|
+
@apply bg-transparent border-transparent shadow-none;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.input-text {
|
|
81
|
+
@apply px-0 py-0 min-h-0 h-auto w-full font-medium text-inherit bg-transparent select-text;
|
|
82
|
+
|
|
83
|
+
&:hover,
|
|
84
|
+
&:focus {
|
|
85
|
+
@apply bg-transparent;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.is-editing > .menu-row {
|
|
92
|
+
@apply include-hover-primary-active text-text-default cursor-text;
|
|
93
|
+
|
|
94
|
+
> :where(a, button:not(.menu-row-action)) {
|
|
95
|
+
@apply hidden;
|
|
96
|
+
}
|
|
61
97
|
}
|
|
62
98
|
|
|
63
99
|
&.menu-row-action-hover > .menu-row > .menu-row-action {
|
|
@@ -213,6 +249,18 @@
|
|
|
213
249
|
li {
|
|
214
250
|
> .menu-row {
|
|
215
251
|
@apply gap-1 px-2 py-1 text-xs;
|
|
252
|
+
|
|
253
|
+
> :where(a, button:not(.menu-row-action)) svg {
|
|
254
|
+
@apply size-3.5;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
> .menu-row-action svg {
|
|
258
|
+
@apply size-3;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.menu-row-input .input-text {
|
|
262
|
+
@apply text-xs;
|
|
263
|
+
}
|
|
216
264
|
}
|
|
217
265
|
> * {
|
|
218
266
|
&:not(ul, details, .menu-title, .menu-row),
|
|
@@ -242,6 +290,18 @@
|
|
|
242
290
|
li {
|
|
243
291
|
> .menu-row {
|
|
244
292
|
@apply gap-1.5 px-3 py-1.5 text-xs;
|
|
293
|
+
|
|
294
|
+
> :where(a, button:not(.menu-row-action)) svg {
|
|
295
|
+
@apply size-[18px];
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
> .menu-row-action svg {
|
|
299
|
+
@apply size-3.5;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.menu-row-input .input-text {
|
|
303
|
+
@apply text-xs;
|
|
304
|
+
}
|
|
245
305
|
}
|
|
246
306
|
> * {
|
|
247
307
|
&:not(ul, details, .menu-title, .menu-row),
|
|
@@ -271,6 +331,18 @@
|
|
|
271
331
|
li {
|
|
272
332
|
> .menu-row {
|
|
273
333
|
@apply gap-3 px-5 py-3 text-base;
|
|
334
|
+
|
|
335
|
+
> :where(a, button:not(.menu-row-action)) svg {
|
|
336
|
+
@apply size-6;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
> .menu-row-action svg {
|
|
340
|
+
@apply size-4;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.menu-row-input .input-text {
|
|
344
|
+
@apply text-base;
|
|
345
|
+
}
|
|
274
346
|
}
|
|
275
347
|
> * {
|
|
276
348
|
&:not(ul, details, .menu-title, .menu-row),
|