@teseor/css 1.10.1 → 1.12.0
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/dist/compiled.css +1 -1
- package/dist/index.css +9 -7
- package/package.json +1 -1
- package/src/components/content/scroll-area/index.scss +1 -1
- package/src/components/content/scroll-area/scroll-area.api.json +1 -1
- package/src/components/data-display/card/card-visual.png +0 -0
- package/src/components/data-display/card/card.api.json +7 -0
- package/src/components/data-display/card/card.docs.json +118 -16
- package/src/components/data-display/card/index.scss +27 -0
- package/src/components/feedback/skeleton/skeleton-visual.png +0 -0
- package/src/components/feedback/skeleton/skeleton.docs.json +16 -0
- package/src/components/feedback/toast/toast-visual.png +0 -0
- package/src/components/feedback/toast/toast.docs.json +137 -0
- package/src/components/forms/checkbox/checkbox.docs.json +1 -6
- package/src/components/forms/field/field-visual.png +0 -0
- package/src/components/forms/field/field.api.json +3 -0
- package/src/components/forms/field/field.docs.json +98 -12
- package/src/components/forms/field/index.scss +29 -0
- package/src/components/forms/input/input.api.json +21 -1
- package/src/components/forms/radio/radio.docs.json +3 -8
- package/src/components/forms/textarea/index.scss +8 -0
- package/src/components/forms/textarea/textarea-visual.png +0 -0
- package/src/components/forms/textarea/textarea.api.json +3 -0
- package/src/components/forms/textarea/textarea.docs.json +33 -1
- package/src/components/navigation/breadcrumb/breadcrumb-visual.png +0 -0
- package/src/components/navigation/breadcrumb/breadcrumb.docs.json +70 -0
- package/src/components/navigation/nav/nav.api.json +10 -1
- package/src/components/navigation/tabs/tabs.api.json +14 -2
- package/src/components/overlays/drawer/drawer-visual.png +0 -0
- package/src/components/overlays/drawer/drawer.docs.json +25 -0
- package/src/components/overlays/modal/modal-visual.png +0 -0
- package/src/components/overlays/modal/modal.docs.json +89 -0
- package/src/components/overlays/popover/popover-visual.png +0 -0
- package/src/components/overlays/popover/popover.docs.json +46 -3
- package/src/components/typography/heading/index.scss +1 -0
- package/src/config/tokens/accessibility.docs.json +21 -0
- package/src/config/tokens/semantic/colors/index.scss +34 -33
- package/src/config/tokens/theming.docs.json +135 -26
- package/src/layout/center/center.api.json +5 -1
- package/src/layout/center/index.scss +1 -0
- package/src/layout/column/column-visual.png +0 -0
- package/src/layout/column/column.docs.json +26 -0
- package/src/layout/grid/grid-visual.png +0 -0
- package/src/layout/grid/grid.docs.json +34 -0
- package/src/layout/row/row-visual.png +0 -0
- package/src/layout/row/row.docs.json +108 -0
- package/src/layout/sidebar-nav/sidebar-nav.docs.json +9 -3
- package/src/utilities/container/container.api.json +6 -0
- package/src/utilities/container/container.docs.json +121 -0
- package/src/utilities/container/index.scss +18 -0
- package/src/utilities/index.scss +2 -0
- package/src/utilities/scroll-snap/index.scss +66 -0
- package/src/utilities/scroll-snap/scroll-snap.api.json +19 -0
- package/src/utilities/scroll-snap/scroll-snap.docs.json +333 -0
- package/src/utilities/text/text.api.json +7 -1
- package/src/utilities/text/text.docs.json +59 -0
- package/src/utilities/text/text.scss +42 -0
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"title": "
|
|
55
|
+
"title": "Positions",
|
|
56
56
|
"examples": [
|
|
57
57
|
{
|
|
58
58
|
"items": [
|
|
@@ -64,12 +64,55 @@
|
|
|
64
64
|
"tag": "div",
|
|
65
65
|
"class": "ui-popover ui-popover--top",
|
|
66
66
|
"attrs": { "style": "position: relative;" },
|
|
67
|
-
"children": [{ "tag": "p", "text": "
|
|
67
|
+
"children": [{ "tag": "p", "text": "Top (arrow down)" }]
|
|
68
68
|
}
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"items": [
|
|
75
|
+
{
|
|
76
|
+
"tag": "div",
|
|
77
|
+
"attrs": { "style": "padding: var(--ui-space-4);" },
|
|
78
|
+
"children": [
|
|
79
|
+
{
|
|
80
|
+
"tag": "div",
|
|
81
|
+
"class": "ui-popover ui-popover--bottom",
|
|
82
|
+
"attrs": { "style": "position: relative;" },
|
|
83
|
+
"children": [{ "tag": "p", "text": "Bottom (arrow up)" }]
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"code": "<div class=\"ui-popover ui-popover--top\">...</div>\n<div class=\"ui-popover ui-popover--bottom\">...</div>"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"title": "Visibility",
|
|
94
|
+
"description": "Control popover visibility and animation.",
|
|
95
|
+
"examples": [
|
|
96
|
+
{
|
|
97
|
+
"items": [
|
|
98
|
+
{
|
|
99
|
+
"tag": "div",
|
|
100
|
+
"class": "ui-popover ui-popover--visible ui-popover--animate",
|
|
101
|
+
"attrs": { "style": "position: relative;" },
|
|
102
|
+
"children": [{ "tag": "p", "text": "Visible and animated" }]
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"items": [
|
|
108
|
+
{
|
|
109
|
+
"tag": "div",
|
|
110
|
+
"class": "ui-popover ui-popover--hidden",
|
|
111
|
+
"attrs": { "style": "position: relative;" },
|
|
112
|
+
"children": [{ "tag": "p", "text": "Hidden popover" }]
|
|
113
|
+
}
|
|
71
114
|
],
|
|
72
|
-
"code": "<div class=\"ui-popover ui-popover--
|
|
115
|
+
"code": "<div class=\"ui-popover ui-popover--visible ui-popover--animate\">...</div>\n<div class=\"ui-popover ui-popover--hidden\">...</div>"
|
|
73
116
|
}
|
|
74
117
|
]
|
|
75
118
|
}
|
|
@@ -84,6 +84,27 @@
|
|
|
84
84
|
}
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"title": "Contrast Preference",
|
|
89
|
+
"description": "Adapts border visibility, muted text, and subtle backgrounds when users request more or less contrast via OS settings.",
|
|
90
|
+
"examples": [
|
|
91
|
+
{
|
|
92
|
+
"title": "High contrast",
|
|
93
|
+
"description": "When prefers-contrast: more is active, borders become stronger, muted text becomes more readable, and subtle backgrounds become more distinct.",
|
|
94
|
+
"code": "@media (prefers-contrast: more) {\n :root {\n --ui-color-border: var(--ui-color-neutral-400);\n --ui-color-border-strong: var(--ui-color-neutral-600);\n --ui-color-text-muted: var(--ui-color-neutral-600);\n --ui-color-bg-subtle: var(--ui-color-neutral-200);\n }\n}"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": "Low contrast",
|
|
98
|
+
"description": "When prefers-contrast: less is active, borders become softer.",
|
|
99
|
+
"code": "@media (prefers-contrast: less) {\n :root {\n --ui-color-border: var(--ui-color-neutral-150);\n --ui-color-border-strong: var(--ui-color-neutral-200);\n }\n}"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"title": "Affected tokens",
|
|
103
|
+
"description": "Overrides apply to semantic color tokens. All components using these tokens automatically adapt: cards, inputs, buttons, dividers, and any element with borders or muted text.",
|
|
104
|
+
"code": "// Tokens affected by prefers-contrast:\n// --ui-color-border (default: neutral-200 -> more: neutral-400)\n// --ui-color-border-strong (default: neutral-300 -> more: neutral-600)\n// --ui-color-text-muted (default: neutral-500 -> more: neutral-600)\n// --ui-color-bg-subtle (default: neutral-100 -> more: neutral-200)"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
87
108
|
{
|
|
88
109
|
"title": "Forced Colors (High Contrast)",
|
|
89
110
|
"description": "Windows High Contrast Mode support. Focus rings use transparent outlines that become visible in forced-colors mode, and the focus color maps to the system Highlight color.",
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
@layer tokens {
|
|
2
2
|
:root {
|
|
3
|
-
|
|
4
|
-
--ui-color-text-muted: var(--ui-color-neutral-500);
|
|
5
|
-
--ui-color-text-inverse: var(--ui-color-neutral-50);
|
|
3
|
+
color-scheme: light dark;
|
|
6
4
|
|
|
7
|
-
--ui-color-
|
|
8
|
-
--ui-color-
|
|
9
|
-
--ui-color-
|
|
5
|
+
--ui-color-text: light-dark(var(--ui-color-neutral-900), var(--ui-color-neutral-100));
|
|
6
|
+
--ui-color-text-muted: light-dark(var(--ui-color-neutral-500), var(--ui-color-neutral-400));
|
|
7
|
+
--ui-color-text-inverse: light-dark(var(--ui-color-neutral-50), var(--ui-color-neutral-900));
|
|
10
8
|
|
|
11
|
-
--ui-color-
|
|
12
|
-
--ui-color-
|
|
9
|
+
--ui-color-bg: light-dark(var(--ui-color-neutral-50), var(--ui-color-neutral-900));
|
|
10
|
+
--ui-color-bg-subtle: light-dark(var(--ui-color-neutral-100), var(--ui-color-neutral-800));
|
|
11
|
+
--ui-color-bg-muted: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700));
|
|
12
|
+
|
|
13
|
+
--ui-color-border: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700));
|
|
14
|
+
--ui-color-border-strong: light-dark(var(--ui-color-neutral-300), var(--ui-color-neutral-600));
|
|
13
15
|
|
|
14
16
|
--ui-color-interactive: var(--ui-color-primary);
|
|
15
17
|
--ui-color-interactive-hover: var(--ui-color-primary-dark);
|
|
@@ -29,33 +31,14 @@
|
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
@layer themes {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
--ui-color-text-inverse: var(--ui-color-neutral-900);
|
|
36
|
-
|
|
37
|
-
--ui-color-bg: var(--ui-color-neutral-900);
|
|
38
|
-
--ui-color-bg-subtle: var(--ui-color-neutral-800);
|
|
39
|
-
--ui-color-bg-muted: var(--ui-color-neutral-700);
|
|
40
|
-
|
|
41
|
-
--ui-color-border: var(--ui-color-neutral-700);
|
|
42
|
-
--ui-color-border-strong: var(--ui-color-neutral-600);
|
|
34
|
+
// Explicit light mode override
|
|
35
|
+
[data-theme="light"] {
|
|
36
|
+
color-scheme: light;
|
|
43
37
|
}
|
|
44
38
|
|
|
45
|
-
//
|
|
46
|
-
|
|
47
|
-
:
|
|
48
|
-
--ui-color-text: var(--ui-color-neutral-100);
|
|
49
|
-
--ui-color-text-muted: var(--ui-color-neutral-400);
|
|
50
|
-
--ui-color-text-inverse: var(--ui-color-neutral-900);
|
|
51
|
-
|
|
52
|
-
--ui-color-bg: var(--ui-color-neutral-900);
|
|
53
|
-
--ui-color-bg-subtle: var(--ui-color-neutral-800);
|
|
54
|
-
--ui-color-bg-muted: var(--ui-color-neutral-700);
|
|
55
|
-
|
|
56
|
-
--ui-color-border: var(--ui-color-neutral-700);
|
|
57
|
-
--ui-color-border-strong: var(--ui-color-neutral-600);
|
|
58
|
-
}
|
|
39
|
+
// Explicit dark mode override
|
|
40
|
+
[data-theme="dark"] {
|
|
41
|
+
color-scheme: dark;
|
|
59
42
|
}
|
|
60
43
|
|
|
61
44
|
// Windows high contrast mode
|
|
@@ -64,4 +47,22 @@
|
|
|
64
47
|
--ui-color-focus: Highlight;
|
|
65
48
|
}
|
|
66
49
|
}
|
|
50
|
+
|
|
51
|
+
// Increased contrast preference
|
|
52
|
+
@media (prefers-contrast: more) {
|
|
53
|
+
:root {
|
|
54
|
+
--ui-color-border: light-dark(var(--ui-color-neutral-400), var(--ui-color-neutral-400));
|
|
55
|
+
--ui-color-border-strong: light-dark(var(--ui-color-neutral-600), var(--ui-color-neutral-300));
|
|
56
|
+
--ui-color-text-muted: light-dark(var(--ui-color-neutral-600), var(--ui-color-neutral-300));
|
|
57
|
+
--ui-color-bg-subtle: light-dark(var(--ui-color-neutral-200), var(--ui-color-neutral-700));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Decreased contrast preference
|
|
62
|
+
@media (prefers-contrast: less) {
|
|
63
|
+
:root {
|
|
64
|
+
--ui-color-border: var(--ui-color-neutral-150);
|
|
65
|
+
--ui-color-border-strong: var(--ui-color-neutral-200);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
67
68
|
}
|
|
@@ -16,9 +16,21 @@
|
|
|
16
16
|
"tag": "div",
|
|
17
17
|
"class": "theme-demo",
|
|
18
18
|
"children": [
|
|
19
|
-
{
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
{
|
|
20
|
+
"tag": "button",
|
|
21
|
+
"class": "ui-button",
|
|
22
|
+
"text": "Primary"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"tag": "button",
|
|
26
|
+
"class": "ui-button ui-button--secondary",
|
|
27
|
+
"text": "Secondary"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"tag": "button",
|
|
31
|
+
"class": "ui-button ui-button--danger",
|
|
32
|
+
"text": "Danger"
|
|
33
|
+
}
|
|
22
34
|
]
|
|
23
35
|
}
|
|
24
36
|
],
|
|
@@ -31,9 +43,21 @@
|
|
|
31
43
|
"tag": "div",
|
|
32
44
|
"class": "theme-demo theme-purple",
|
|
33
45
|
"children": [
|
|
34
|
-
{
|
|
35
|
-
|
|
36
|
-
|
|
46
|
+
{
|
|
47
|
+
"tag": "button",
|
|
48
|
+
"class": "ui-button",
|
|
49
|
+
"text": "Primary"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"tag": "button",
|
|
53
|
+
"class": "ui-button ui-button--secondary",
|
|
54
|
+
"text": "Secondary"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"tag": "button",
|
|
58
|
+
"class": "ui-button ui-button--danger",
|
|
59
|
+
"text": "Danger"
|
|
60
|
+
}
|
|
37
61
|
]
|
|
38
62
|
}
|
|
39
63
|
],
|
|
@@ -46,9 +70,21 @@
|
|
|
46
70
|
"tag": "div",
|
|
47
71
|
"class": "theme-demo theme-teal",
|
|
48
72
|
"children": [
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
|
|
73
|
+
{
|
|
74
|
+
"tag": "button",
|
|
75
|
+
"class": "ui-button",
|
|
76
|
+
"text": "Primary"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"tag": "button",
|
|
80
|
+
"class": "ui-button ui-button--secondary",
|
|
81
|
+
"text": "Secondary"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"tag": "button",
|
|
85
|
+
"class": "ui-button ui-button--danger",
|
|
86
|
+
"text": "Danger"
|
|
87
|
+
}
|
|
52
88
|
]
|
|
53
89
|
}
|
|
54
90
|
],
|
|
@@ -61,9 +97,21 @@
|
|
|
61
97
|
"tag": "div",
|
|
62
98
|
"class": "theme-demo theme-orange",
|
|
63
99
|
"children": [
|
|
64
|
-
{
|
|
65
|
-
|
|
66
|
-
|
|
100
|
+
{
|
|
101
|
+
"tag": "button",
|
|
102
|
+
"class": "ui-button",
|
|
103
|
+
"text": "Primary"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"tag": "button",
|
|
107
|
+
"class": "ui-button ui-button--secondary",
|
|
108
|
+
"text": "Secondary"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"tag": "button",
|
|
112
|
+
"class": "ui-button ui-button--danger",
|
|
113
|
+
"text": "Danger"
|
|
114
|
+
}
|
|
67
115
|
]
|
|
68
116
|
}
|
|
69
117
|
],
|
|
@@ -73,10 +121,10 @@
|
|
|
73
121
|
},
|
|
74
122
|
{
|
|
75
123
|
"title": "Dark Mode",
|
|
76
|
-
"description": "
|
|
124
|
+
"description": "Dark mode uses the CSS light-dark() function. Tokens resolve automatically based on color-scheme. Override with data-theme attribute.",
|
|
77
125
|
"examples": [
|
|
78
126
|
{
|
|
79
|
-
"title": "
|
|
127
|
+
"title": "Automatic (system preference)",
|
|
80
128
|
"items": [
|
|
81
129
|
{
|
|
82
130
|
"tag": "div",
|
|
@@ -85,30 +133,67 @@
|
|
|
85
133
|
{
|
|
86
134
|
"tag": "div",
|
|
87
135
|
"class": "ui-card",
|
|
88
|
-
"children": [
|
|
136
|
+
"children": [
|
|
137
|
+
{
|
|
138
|
+
"tag": "p",
|
|
139
|
+
"text": "Follows OS color scheme"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
89
142
|
}
|
|
90
143
|
]
|
|
91
144
|
}
|
|
92
145
|
],
|
|
93
|
-
"code": "
|
|
146
|
+
"code": ":root {\n color-scheme: light dark;\n --ui-color-bg: light-dark(\n var(--ui-color-neutral-50),\n var(--ui-color-neutral-900)\n );\n}"
|
|
94
147
|
},
|
|
95
148
|
{
|
|
96
|
-
"title": "
|
|
149
|
+
"title": "Force Light Mode",
|
|
97
150
|
"items": [
|
|
98
151
|
{
|
|
99
152
|
"tag": "div",
|
|
100
153
|
"class": "theme-demo",
|
|
101
|
-
"attrs": {
|
|
154
|
+
"attrs": {
|
|
155
|
+
"data-theme": "light"
|
|
156
|
+
},
|
|
102
157
|
"children": [
|
|
103
158
|
{
|
|
104
159
|
"tag": "div",
|
|
105
160
|
"class": "ui-card",
|
|
106
|
-
"children": [
|
|
161
|
+
"children": [
|
|
162
|
+
{
|
|
163
|
+
"tag": "p",
|
|
164
|
+
"text": "Always light"
|
|
165
|
+
}
|
|
166
|
+
]
|
|
107
167
|
}
|
|
108
168
|
]
|
|
109
169
|
}
|
|
110
170
|
],
|
|
111
|
-
"code": "<html data-theme=\"
|
|
171
|
+
"code": "<html data-theme=\"light\">\n <!-- Forces light mode regardless of OS setting -->\n</html>"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"title": "Force Dark Mode",
|
|
175
|
+
"items": [
|
|
176
|
+
{
|
|
177
|
+
"tag": "div",
|
|
178
|
+
"class": "theme-demo",
|
|
179
|
+
"attrs": {
|
|
180
|
+
"data-theme": "dark"
|
|
181
|
+
},
|
|
182
|
+
"children": [
|
|
183
|
+
{
|
|
184
|
+
"tag": "div",
|
|
185
|
+
"class": "ui-card",
|
|
186
|
+
"children": [
|
|
187
|
+
{
|
|
188
|
+
"tag": "p",
|
|
189
|
+
"text": "Always dark"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"code": "<html data-theme=\"dark\">\n <!-- Forces dark mode regardless of OS setting -->\n</html>"
|
|
112
197
|
}
|
|
113
198
|
]
|
|
114
199
|
},
|
|
@@ -123,9 +208,21 @@
|
|
|
123
208
|
"tag": "div",
|
|
124
209
|
"class": "theme-demo custom-buttons",
|
|
125
210
|
"children": [
|
|
126
|
-
{
|
|
127
|
-
|
|
128
|
-
|
|
211
|
+
{
|
|
212
|
+
"tag": "button",
|
|
213
|
+
"class": "ui-button ui-button--sm",
|
|
214
|
+
"text": "Small"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"tag": "button",
|
|
218
|
+
"class": "ui-button",
|
|
219
|
+
"text": "Default"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"tag": "button",
|
|
223
|
+
"class": "ui-button ui-button--lg",
|
|
224
|
+
"text": "Large"
|
|
225
|
+
}
|
|
129
226
|
]
|
|
130
227
|
}
|
|
131
228
|
],
|
|
@@ -141,7 +238,12 @@
|
|
|
141
238
|
{
|
|
142
239
|
"tag": "div",
|
|
143
240
|
"class": "ui-card",
|
|
144
|
-
"children": [
|
|
241
|
+
"children": [
|
|
242
|
+
{
|
|
243
|
+
"tag": "p",
|
|
244
|
+
"text": "Card with custom padding"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
145
247
|
}
|
|
146
248
|
]
|
|
147
249
|
}
|
|
@@ -160,12 +262,19 @@
|
|
|
160
262
|
"tag": "div",
|
|
161
263
|
"class": "theme-demo theme-corporate",
|
|
162
264
|
"children": [
|
|
163
|
-
{
|
|
265
|
+
{
|
|
266
|
+
"tag": "button",
|
|
267
|
+
"class": "ui-button",
|
|
268
|
+
"text": "Action"
|
|
269
|
+
},
|
|
164
270
|
{
|
|
165
271
|
"tag": "div",
|
|
166
272
|
"class": "ui-card",
|
|
167
273
|
"children": [
|
|
168
|
-
{
|
|
274
|
+
{
|
|
275
|
+
"tag": "p",
|
|
276
|
+
"text": "Corporate theme with teal accent and sharp corners"
|
|
277
|
+
}
|
|
169
278
|
]
|
|
170
279
|
}
|
|
171
280
|
]
|
|
Binary file
|
|
@@ -124,6 +124,32 @@
|
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"items": [
|
|
130
|
+
{
|
|
131
|
+
"tag": "div",
|
|
132
|
+
"class": "ui-column ui-column--xl",
|
|
133
|
+
"children": [
|
|
134
|
+
{
|
|
135
|
+
"tag": "div",
|
|
136
|
+
"text": "xl gap",
|
|
137
|
+
"style": {
|
|
138
|
+
"background": "var(--ui-color-bg-muted)",
|
|
139
|
+
"padding": "var(--ui-space-1)"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"tag": "div",
|
|
144
|
+
"text": "xl gap",
|
|
145
|
+
"style": {
|
|
146
|
+
"background": "var(--ui-color-bg-muted)",
|
|
147
|
+
"padding": "var(--ui-space-1)"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
]
|
|
127
153
|
}
|
|
128
154
|
]
|
|
129
155
|
}
|
|
Binary file
|
|
@@ -109,6 +109,40 @@
|
|
|
109
109
|
]
|
|
110
110
|
}
|
|
111
111
|
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"items": [
|
|
115
|
+
{
|
|
116
|
+
"tag": "div",
|
|
117
|
+
"class": "ui-grid ui-grid--auto",
|
|
118
|
+
"children": [
|
|
119
|
+
{
|
|
120
|
+
"tag": "div",
|
|
121
|
+
"text": "Auto",
|
|
122
|
+
"style": {
|
|
123
|
+
"background": "var(--ui-color-bg-muted)",
|
|
124
|
+
"padding": "var(--ui-space-2)"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"tag": "div",
|
|
129
|
+
"text": "Auto",
|
|
130
|
+
"style": {
|
|
131
|
+
"background": "var(--ui-color-bg-muted)",
|
|
132
|
+
"padding": "var(--ui-space-2)"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"tag": "div",
|
|
137
|
+
"text": "Auto",
|
|
138
|
+
"style": {
|
|
139
|
+
"background": "var(--ui-color-bg-muted)",
|
|
140
|
+
"padding": "var(--ui-space-2)"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
]
|
|
112
146
|
}
|
|
113
147
|
]
|
|
114
148
|
}
|
|
Binary file
|
|
@@ -122,6 +122,114 @@
|
|
|
122
122
|
]
|
|
123
123
|
}
|
|
124
124
|
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"items": [
|
|
128
|
+
{
|
|
129
|
+
"tag": "div",
|
|
130
|
+
"class": "ui-row ui-row--sm",
|
|
131
|
+
"children": [
|
|
132
|
+
{
|
|
133
|
+
"tag": "div",
|
|
134
|
+
"text": "sm",
|
|
135
|
+
"style": {
|
|
136
|
+
"background": "var(--ui-color-bg-muted)",
|
|
137
|
+
"padding": "var(--ui-space-1)"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"tag": "div",
|
|
142
|
+
"text": "sm",
|
|
143
|
+
"style": {
|
|
144
|
+
"background": "var(--ui-color-bg-muted)",
|
|
145
|
+
"padding": "var(--ui-space-1)"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"tag": "div",
|
|
150
|
+
"text": "sm",
|
|
151
|
+
"style": {
|
|
152
|
+
"background": "var(--ui-color-bg-muted)",
|
|
153
|
+
"padding": "var(--ui-space-1)"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"title": "Alignment",
|
|
164
|
+
"examples": [
|
|
165
|
+
{
|
|
166
|
+
"items": [
|
|
167
|
+
{
|
|
168
|
+
"tag": "div",
|
|
169
|
+
"class": "ui-row ui-row--start",
|
|
170
|
+
"style": { "background": "var(--ui-color-bg-muted)" },
|
|
171
|
+
"children": [
|
|
172
|
+
{
|
|
173
|
+
"tag": "div",
|
|
174
|
+
"text": "Start",
|
|
175
|
+
"style": { "background": "var(--ui-color-bg)", "padding": "var(--ui-space-2)" }
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"items": [
|
|
183
|
+
{
|
|
184
|
+
"tag": "div",
|
|
185
|
+
"class": "ui-row ui-row--center",
|
|
186
|
+
"style": { "background": "var(--ui-color-bg-muted)" },
|
|
187
|
+
"children": [
|
|
188
|
+
{
|
|
189
|
+
"tag": "div",
|
|
190
|
+
"text": "Center",
|
|
191
|
+
"style": { "background": "var(--ui-color-bg)", "padding": "var(--ui-space-2)" }
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"items": [
|
|
199
|
+
{
|
|
200
|
+
"tag": "div",
|
|
201
|
+
"class": "ui-row ui-row--end",
|
|
202
|
+
"style": { "background": "var(--ui-color-bg-muted)" },
|
|
203
|
+
"children": [
|
|
204
|
+
{
|
|
205
|
+
"tag": "div",
|
|
206
|
+
"text": "End",
|
|
207
|
+
"style": { "background": "var(--ui-color-bg)", "padding": "var(--ui-space-2)" }
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"items": [
|
|
215
|
+
{
|
|
216
|
+
"tag": "div",
|
|
217
|
+
"class": "ui-row ui-row--between",
|
|
218
|
+
"style": { "background": "var(--ui-color-bg-muted)" },
|
|
219
|
+
"children": [
|
|
220
|
+
{
|
|
221
|
+
"tag": "div",
|
|
222
|
+
"text": "Between A",
|
|
223
|
+
"style": { "background": "var(--ui-color-bg)", "padding": "var(--ui-space-2)" }
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"tag": "div",
|
|
227
|
+
"text": "Between B",
|
|
228
|
+
"style": { "background": "var(--ui-color-bg)", "padding": "var(--ui-space-2)" }
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
]
|
|
125
233
|
}
|
|
126
234
|
]
|
|
127
235
|
}
|