twntyx-css 1.0.13 → 1.0.14
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.14",
|
|
4
4
|
"packageName": "twntyx-css",
|
|
5
5
|
"apiModel": "html-class",
|
|
6
|
-
"sourceFingerprint": "
|
|
6
|
+
"sourceFingerprint": "94d3d0175b10a65cee9886ccc0f40c56003774ab488d46e7f073af7f9cc1925f",
|
|
7
7
|
"files": {
|
|
8
8
|
"schema": "schema.json",
|
|
9
9
|
"tokens": "tokens.json",
|
package/package.json
CHANGED
package/styles/menu.css
CHANGED
|
@@ -58,6 +58,38 @@
|
|
|
58
58
|
@apply fill-current size-4;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
> .menu-row-input {
|
|
63
|
+
@apply relative z-10 flex flex-1 min-w-0 select-text;
|
|
64
|
+
|
|
65
|
+
.input-control {
|
|
66
|
+
@apply flex-1 w-full min-h-0 p-0 border-transparent shadow-none bg-transparent input-ghost;
|
|
67
|
+
--input-text-select-height: auto;
|
|
68
|
+
|
|
69
|
+
&:hover,
|
|
70
|
+
&:focus-within,
|
|
71
|
+
&:has(input:focus) {
|
|
72
|
+
@apply bg-transparent border-transparent shadow-none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.input-text {
|
|
77
|
+
@apply px-0 py-0 min-h-0 h-auto w-full font-medium text-inherit bg-transparent select-text;
|
|
78
|
+
|
|
79
|
+
&:hover,
|
|
80
|
+
&:focus {
|
|
81
|
+
@apply bg-transparent;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.is-editing > .menu-row {
|
|
88
|
+
@apply include-hover-primary-active text-text-default cursor-text;
|
|
89
|
+
|
|
90
|
+
> :where(a, button:not(.menu-row-action)) {
|
|
91
|
+
@apply hidden;
|
|
92
|
+
}
|
|
61
93
|
}
|
|
62
94
|
|
|
63
95
|
&.menu-row-action-hover > .menu-row > .menu-row-action {
|
|
@@ -213,6 +245,10 @@
|
|
|
213
245
|
li {
|
|
214
246
|
> .menu-row {
|
|
215
247
|
@apply gap-1 px-2 py-1 text-xs;
|
|
248
|
+
|
|
249
|
+
.menu-row-input .input-text {
|
|
250
|
+
@apply text-xs;
|
|
251
|
+
}
|
|
216
252
|
}
|
|
217
253
|
> * {
|
|
218
254
|
&:not(ul, details, .menu-title, .menu-row),
|
|
@@ -242,6 +278,10 @@
|
|
|
242
278
|
li {
|
|
243
279
|
> .menu-row {
|
|
244
280
|
@apply gap-1.5 px-3 py-1.5 text-xs;
|
|
281
|
+
|
|
282
|
+
.menu-row-input .input-text {
|
|
283
|
+
@apply text-xs;
|
|
284
|
+
}
|
|
245
285
|
}
|
|
246
286
|
> * {
|
|
247
287
|
&:not(ul, details, .menu-title, .menu-row),
|
|
@@ -271,6 +311,10 @@
|
|
|
271
311
|
li {
|
|
272
312
|
> .menu-row {
|
|
273
313
|
@apply gap-3 px-5 py-3 text-base;
|
|
314
|
+
|
|
315
|
+
.menu-row-input .input-text {
|
|
316
|
+
@apply text-base;
|
|
317
|
+
}
|
|
274
318
|
}
|
|
275
319
|
> * {
|
|
276
320
|
&:not(ul, details, .menu-title, .menu-row),
|