twntyx-css 1.0.3 → 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.
- package/llm/components/ai-perl.json +5 -12
- package/llm/components/all-components.json +13 -5
- package/llm/components/{banner-marketplace.json → banner-funding.json} +8 -8
- package/llm/components/breadcrumb.json +0 -1
- package/llm/components/button-container.json +1 -0
- package/llm/components/chat-ai.json +100 -6
- package/llm/components/chat-footer.json +24 -3
- package/llm/components/checkmark.json +0 -1
- package/llm/components/command-palette.json +0 -1
- package/llm/components/countdown.json +1 -1
- package/llm/components/divider.json +1 -1
- package/llm/components/kbd.json +1 -1
- package/llm/components/key-value.json +2 -10
- package/llm/components/loader-symbol.json +0 -4
- package/llm/components/loader-text.json +2 -20
- package/llm/components/progress-bullet.json +0 -1
- package/llm/components/state.json +2 -1
- package/llm/components/stepper.json +1 -1
- package/llm/components/steps.json +6 -95
- package/llm/components/surface.json +2 -0
- package/llm/components/tabs.json +1 -0
- package/llm/components/{empty-state.json → template-navbar.json} +26 -27
- package/llm/components/text-input.json +8 -169
- package/llm/components/toast.json +0 -2
- package/llm/components/tooltip.json +1 -1
- package/llm/examples/ai-perl.html +1 -1
- package/llm/examples/banner-funding.html +1 -0
- package/llm/examples/chat-ai.html +1 -1
- package/llm/examples/chat-footer.html +1 -1
- package/llm/examples/key-value.html +1 -1
- package/llm/examples/loader-text.html +1 -1
- package/llm/examples/steps.html +1 -1
- package/llm/examples/template-navbar.html +1 -0
- package/llm/index.json +24 -62
- package/llm/patterns.json +2 -2
- package/llm/tokens.json +30 -30
- package/package.json +1 -1
- package/styles/animation.css +69 -47
- package/styles/colors.css +306 -90
- package/styles/datepicker.css +8 -15
- package/styles/divider.css +1 -1
- package/styles/form.css +6 -8
- package/styles/globals.css +62 -64
- package/styles/key-value.css +4 -3
- package/styles/loader.css +0 -6
- package/styles/logotype.css +6 -6
- package/styles/scrollbar.css +2 -2
- package/styles/shared.css +17 -17
- package/styles/state.css +109 -97
- package/styles/steps.css +2 -2
- package/styles/surface.css +74 -90
- package/styles/table.css +3 -3
- package/styles/toast.css +3 -5
- package/llm/components/input-group.json +0 -94
- package/llm/components/navbar.json +0 -158
- package/llm/examples/banner-marketplace.html +0 -1
- package/llm/examples/empty-state.html +0 -1
- package/llm/examples/input-group.html +0 -1
- package/llm/examples/navbar.html +0 -1
- package/styles/empty-state.css +0 -48
- package/styles/navbar.css +0 -48
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "navbar",
|
|
3
|
-
"name": "Navbar",
|
|
4
|
-
"status": "stable",
|
|
5
|
-
"summary": "Navbar layout pattern for top-level product navigation and actions.",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"header",
|
|
8
|
-
"nav",
|
|
9
|
-
"navbar",
|
|
10
|
-
"navigation bar",
|
|
11
|
-
"site navigation",
|
|
12
|
-
"top bar"
|
|
13
|
-
],
|
|
14
|
-
"sourcePaths": [
|
|
15
|
-
"app/design-system/navbar/page.js",
|
|
16
|
-
"assets/styles/breadcrumb.css",
|
|
17
|
-
"assets/styles/button.css",
|
|
18
|
-
"assets/styles/chat.css",
|
|
19
|
-
"assets/styles/checkmark.css",
|
|
20
|
-
"assets/styles/command.css",
|
|
21
|
-
"assets/styles/form-text-select.css",
|
|
22
|
-
"assets/styles/menu.css",
|
|
23
|
-
"assets/styles/navbar.css",
|
|
24
|
-
"assets/styles/pagination.css",
|
|
25
|
-
"assets/styles/progress.css",
|
|
26
|
-
"assets/styles/steps.css",
|
|
27
|
-
"assets/styles/tab.css",
|
|
28
|
-
"assets/styles/table.css",
|
|
29
|
-
"assets/styles/toast.css"
|
|
30
|
-
],
|
|
31
|
-
"apiModel": "html-class",
|
|
32
|
-
"baseClass": "navbar",
|
|
33
|
-
"variants": [],
|
|
34
|
-
"sizes": [],
|
|
35
|
-
"states": [
|
|
36
|
-
{
|
|
37
|
-
"name": "is-active",
|
|
38
|
-
"className": "is-active",
|
|
39
|
-
"description": "Highlights the active navigation item."
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"structure": {
|
|
43
|
-
"rootElement": "a",
|
|
44
|
-
"requiredClasses": [
|
|
45
|
-
"navbar"
|
|
46
|
-
],
|
|
47
|
-
"optionalClasses": [
|
|
48
|
-
"is-active"
|
|
49
|
-
],
|
|
50
|
-
"requiredChildren": [],
|
|
51
|
-
"optionalChildren": []
|
|
52
|
-
},
|
|
53
|
-
"attributes": {
|
|
54
|
-
"allowed": [
|
|
55
|
-
"class"
|
|
56
|
-
],
|
|
57
|
-
"required": [],
|
|
58
|
-
"dataAttributes": [],
|
|
59
|
-
"roles": [],
|
|
60
|
-
"aria": [
|
|
61
|
-
"aria-current",
|
|
62
|
-
"aria-label"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"a11y": {
|
|
66
|
-
"interactive": false,
|
|
67
|
-
"requiredRoles": [],
|
|
68
|
-
"requiredAria": [
|
|
69
|
-
"aria-current",
|
|
70
|
-
"aria-label"
|
|
71
|
-
],
|
|
72
|
-
"keyboardSupport": [],
|
|
73
|
-
"focusBehavior": "No keyboard interaction is required unless nested interactive children are introduced."
|
|
74
|
-
},
|
|
75
|
-
"dos": [
|
|
76
|
-
"Apply the base class 'navbar' on the root element.",
|
|
77
|
-
"Use documented modifiers for visual variants instead of ad-hoc custom classes.",
|
|
78
|
-
"Keep semantic color usage aligned with token classes for light/dark support."
|
|
79
|
-
],
|
|
80
|
-
"donts": [
|
|
81
|
-
"Do not combine conflicting state classes on the same element.",
|
|
82
|
-
"Do not rely on undocumented internal classes in production templates.",
|
|
83
|
-
"Do not remove required accessibility attributes when component is interactive."
|
|
84
|
-
],
|
|
85
|
-
"tokenUsage": [
|
|
86
|
-
"background-brand",
|
|
87
|
-
"background-brand-active",
|
|
88
|
-
"background-error",
|
|
89
|
-
"background-error-active",
|
|
90
|
-
"background-info",
|
|
91
|
-
"background-info-active",
|
|
92
|
-
"background-inverted",
|
|
93
|
-
"background-page",
|
|
94
|
-
"background-success",
|
|
95
|
-
"background-success-active",
|
|
96
|
-
"background-surface",
|
|
97
|
-
"background-surface-elevated",
|
|
98
|
-
"background-surface-sunken",
|
|
99
|
-
"background-warning",
|
|
100
|
-
"background-warning-active",
|
|
101
|
-
"brand-default",
|
|
102
|
-
"brand-moderate",
|
|
103
|
-
"brand-strong",
|
|
104
|
-
"core-black",
|
|
105
|
-
"core-ui-100",
|
|
106
|
-
"core-ui-300",
|
|
107
|
-
"core-ui-400",
|
|
108
|
-
"core-ui-50",
|
|
109
|
-
"core-ui-600",
|
|
110
|
-
"core-ui-700",
|
|
111
|
-
"core-ui-800",
|
|
112
|
-
"core-ui-900",
|
|
113
|
-
"core-white",
|
|
114
|
-
"line-brand",
|
|
115
|
-
"line-default",
|
|
116
|
-
"line-error",
|
|
117
|
-
"line-focus",
|
|
118
|
-
"line-highlight",
|
|
119
|
-
"line-info",
|
|
120
|
-
"line-strong",
|
|
121
|
-
"line-success",
|
|
122
|
-
"line-warning",
|
|
123
|
-
"text-attention",
|
|
124
|
-
"text-brand",
|
|
125
|
-
"text-brand-active",
|
|
126
|
-
"text-brand-hover",
|
|
127
|
-
"text-default",
|
|
128
|
-
"text-disabled",
|
|
129
|
-
"text-error",
|
|
130
|
-
"text-info",
|
|
131
|
-
"text-inverted",
|
|
132
|
-
"text-link",
|
|
133
|
-
"text-link-active",
|
|
134
|
-
"text-link-hover",
|
|
135
|
-
"text-secondary",
|
|
136
|
-
"text-success",
|
|
137
|
-
"text-tertiary",
|
|
138
|
-
"text-warning"
|
|
139
|
-
],
|
|
140
|
-
"examples": [
|
|
141
|
-
{
|
|
142
|
-
"id": "canonical",
|
|
143
|
-
"file": "examples/navbar.html",
|
|
144
|
-
"description": "Minimal canonical Navbar usage."
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"composition": {
|
|
148
|
-
"patterns": [
|
|
149
|
-
"navigation-hierarchy"
|
|
150
|
-
],
|
|
151
|
-
"relatedComponents": [],
|
|
152
|
-
"notes": []
|
|
153
|
-
},
|
|
154
|
-
"breakingChangePolicy": {
|
|
155
|
-
"classContract": "Base class, documented modifiers, and state class names are semver-protected for consumer markup.",
|
|
156
|
-
"a11yContract": "Documented role and aria requirements are semver-protected for generated markup."
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="banner-marketplace">Funding banner</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="empty-state">Empty state</div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<div class="input-group">Input group</div>
|
package/llm/examples/navbar.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<a class="navbar" href="#">Navbar</a>
|
package/styles/empty-state.css
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*----------------------------*/
|
|
2
|
-
/* EMPTY STATE */
|
|
3
|
-
/*----------------------------*/
|
|
4
|
-
|
|
5
|
-
@utility empty-state {
|
|
6
|
-
@apply p-8 rounded-3xl border bg-background-surface border-line-default text-center;
|
|
7
|
-
|
|
8
|
-
> :where(.empty-state-icon) {
|
|
9
|
-
@apply inline-flex justify-center items-center mx-auto mb-4 rounded-full size-14 surface-elevated text-text-tertiary;
|
|
10
|
-
|
|
11
|
-
> svg {
|
|
12
|
-
@apply size-7 fill-current;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
> :where(h1, h2, h3, h4, h5, h6, .empty-state-title) {
|
|
17
|
-
@apply mb-2 h4;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
> :where(p, .empty-state-description) {
|
|
21
|
-
@apply p2 text-text-secondary;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
> :where(:last-child, .empty-state-actions) {
|
|
25
|
-
@apply flex flex-wrap gap-2 justify-center mt-4;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Compatibility aliases */
|
|
30
|
-
@utility empty-state-icon {
|
|
31
|
-
@apply inline-flex justify-center items-center mx-auto mb-4 rounded-full size-14 surface-elevated text-text-tertiary;
|
|
32
|
-
|
|
33
|
-
> svg {
|
|
34
|
-
@apply size-7 fill-current;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@utility empty-state-title {
|
|
39
|
-
@apply mb-2 h4;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@utility empty-state-description {
|
|
43
|
-
@apply p2 text-text-secondary;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@utility empty-state-actions {
|
|
47
|
-
@apply flex flex-wrap gap-2 justify-center mt-4;
|
|
48
|
-
}
|
package/styles/navbar.css
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*----------------------------*/
|
|
2
|
-
/* NAVBAR */
|
|
3
|
-
/*----------------------------*/
|
|
4
|
-
|
|
5
|
-
@utility navbar {
|
|
6
|
-
@apply w-full flex gap-3 items-center p-2 rounded-2xl border bg-background-surface border-line-default;
|
|
7
|
-
|
|
8
|
-
> :where(:first-child, .navbar-start) {
|
|
9
|
-
@apply flex flex-1 gap-2 items-center min-w-0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
> :where(:nth-child(2), .navbar-center) {
|
|
13
|
-
@apply flex gap-2 justify-center items-center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
> :where(:last-child, .navbar-end) {
|
|
17
|
-
@apply flex flex-1 gap-2 justify-end items-center min-w-0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:where(a, button, .navbar-item) {
|
|
21
|
-
@apply inline-flex gap-2 items-center px-3 py-1.5 rounded-full text-sm include-interactive include-hover-primary text-text-secondary hover:text-text-default;
|
|
22
|
-
|
|
23
|
-
&.is-active {
|
|
24
|
-
@apply include-hover-primary-active text-text-brand;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Compatibility aliases */
|
|
30
|
-
@utility navbar-start {
|
|
31
|
-
@apply flex flex-1 gap-2 items-center min-w-0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@utility navbar-center {
|
|
35
|
-
@apply flex gap-2 justify-center items-center;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@utility navbar-end {
|
|
39
|
-
@apply flex flex-1 gap-2 justify-end items-center min-w-0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@utility navbar-item {
|
|
43
|
-
@apply inline-flex gap-2 items-center px-3 py-1.5 rounded-full text-sm include-interactive include-hover-primary text-text-secondary hover:text-text-default;
|
|
44
|
-
|
|
45
|
-
&.is-active {
|
|
46
|
-
@apply include-hover-primary-active text-text-brand;
|
|
47
|
-
}
|
|
48
|
-
}
|