@esic-lab/data-core-ui 0.0.2 → 0.0.4
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/index.css +784 -0
- package/dist/index.d.mts +111 -0
- package/dist/index.d.ts +111 -0
- package/dist/index.js +2004 -0
- package/dist/index.mjs +1980 -0
- package/package.json +10 -3
- package/.storybook/main.ts +0 -12
- package/.storybook/preview.ts +0 -16
- package/.storybook/vitest.setup.ts +0 -7
- package/postcss.config.js +0 -5
- package/src/Button/GhostButton/GhostButton.stories.tsx +0 -20
- package/src/Button/GhostButton/GhostButton.tsx +0 -26
- package/src/Button/PrimaryButton/PrimaryButton.stories.tsx +0 -21
- package/src/Button/PrimaryButton/PrimaryButton.tsx +0 -35
- package/src/Button/SecondaryButton/SecondaryButton.stories.tsx +0 -16
- package/src/Button/SecondaryButton/SecondaryButton.tsx +0 -26
- package/src/Checkbox/Checkbox/Checkbox.stories.tsx +0 -17
- package/src/Checkbox/Checkbox/Checkbox.tsx +0 -27
- package/src/Checkbox/CheckboxGroup/CheckboxGroup.stories.tsx +0 -35
- package/src/Checkbox/CheckboxGroup/CheckboxGroup.tsx +0 -23
- package/src/Loader/Loader/Loader.stories.tsx +0 -16
- package/src/Loader/Loader/Loader.tsx +0 -12
- package/src/NavBar/MenuNavBar/MenuNavBar.stories.tsx +0 -85
- package/src/NavBar/MenuNavBar/MenuNavBar.tsx +0 -43
- package/src/NavBar/TopNavBar/TopNavBar.stories.tsx +0 -16
- package/src/NavBar/TopNavBar/TopNavBar.tsx +0 -24
- package/src/Radio/Radio/Radio.stories.tsx +0 -17
- package/src/Radio/Radio/Radio.tsx +0 -15
- package/src/Radio/RadioGroup/RadioGroup.stories.tsx +0 -23
- package/src/Radio/RadioGroup/RadioGroup.tsx +0 -27
- package/src/Switch/Switch/Switch.stories.tsx +0 -18
- package/src/Switch/Switch/Switch.tsx +0 -25
- package/src/index.css +0 -260
- package/src/index.ts +0 -24
- package/stories/Button.stories.ts +0 -49
- package/stories/Button.tsx +0 -33
- package/stories/Configure.mdx +0 -364
- package/stories/Header.stories.ts +0 -29
- package/stories/Header.tsx +0 -47
- package/stories/Page.stories.ts +0 -28
- package/stories/Page.tsx +0 -69
- package/stories/assets/accessibility.png +0 -0
- package/stories/assets/accessibility.svg +0 -1
- package/stories/assets/addon-library.png +0 -0
- package/stories/assets/assets.png +0 -0
- package/stories/assets/avif-test-image.avif +0 -0
- package/stories/assets/context.png +0 -0
- package/stories/assets/discord.svg +0 -1
- package/stories/assets/docs.png +0 -0
- package/stories/assets/figma-plugin.png +0 -0
- package/stories/assets/github.svg +0 -1
- package/stories/assets/share.png +0 -0
- package/stories/assets/styling.png +0 -0
- package/stories/assets/testing.png +0 -0
- package/stories/assets/theming.png +0 -0
- package/stories/assets/tutorials.svg +0 -1
- package/stories/assets/youtube.svg +0 -1
- package/stories/button.css +0 -30
- package/stories/header.css +0 -32
- package/stories/page.css +0 -68
- package/tsconfig.json +0 -16
- package/vitest.config.js +0 -35
- /package/{src/assets/STO-logo.svg → dist/STO-logo-ADYYAPS3.svg} +0 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
@import "https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";
|
|
2
|
+
|
|
3
|
+
/* src/index.css */
|
|
4
|
+
@layer properties;
|
|
5
|
+
@layer theme, base, components, utilities;
|
|
6
|
+
@layer theme {
|
|
7
|
+
:root,
|
|
8
|
+
:host {
|
|
9
|
+
--font-sans:
|
|
10
|
+
ui-sans-serif,
|
|
11
|
+
system-ui,
|
|
12
|
+
sans-serif,
|
|
13
|
+
"Apple Color Emoji",
|
|
14
|
+
"Segoe UI Emoji",
|
|
15
|
+
"Segoe UI Symbol",
|
|
16
|
+
"Noto Color Emoji";
|
|
17
|
+
--font-mono:
|
|
18
|
+
ui-monospace,
|
|
19
|
+
SFMono-Regular,
|
|
20
|
+
Menlo,
|
|
21
|
+
Monaco,
|
|
22
|
+
Consolas,
|
|
23
|
+
"Liberation Mono",
|
|
24
|
+
"Courier New",
|
|
25
|
+
monospace;
|
|
26
|
+
--color-red-100: #fac5c3;
|
|
27
|
+
--color-red-500: #ee443f;
|
|
28
|
+
--color-blue-500: #0095ff;
|
|
29
|
+
--color-gray-200: #e5e7ea;
|
|
30
|
+
--color-gray-300: #d2d5db;
|
|
31
|
+
--color-gray-400: #9ea2ae;
|
|
32
|
+
--color-black: #000;
|
|
33
|
+
--color-white: #fff;
|
|
34
|
+
--spacing: 0.25rem;
|
|
35
|
+
--animate-spin: spin 1s linear infinite;
|
|
36
|
+
--default-transition-duration: 150ms;
|
|
37
|
+
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
38
|
+
--default-font-family: var(--font-sans);
|
|
39
|
+
--default-mono-font-family: var(--font-mono);
|
|
40
|
+
--color-primary-500: #4e61f6;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@layer base {
|
|
44
|
+
*,
|
|
45
|
+
::after,
|
|
46
|
+
::before,
|
|
47
|
+
::backdrop,
|
|
48
|
+
::file-selector-button {
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
margin: 0;
|
|
51
|
+
padding: 0;
|
|
52
|
+
border: 0 solid;
|
|
53
|
+
}
|
|
54
|
+
html,
|
|
55
|
+
:host {
|
|
56
|
+
line-height: 1.5;
|
|
57
|
+
-webkit-text-size-adjust: 100%;
|
|
58
|
+
tab-size: 4;
|
|
59
|
+
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
60
|
+
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
61
|
+
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
62
|
+
-webkit-tap-highlight-color: transparent;
|
|
63
|
+
}
|
|
64
|
+
hr {
|
|
65
|
+
height: 0;
|
|
66
|
+
color: inherit;
|
|
67
|
+
border-top-width: 1px;
|
|
68
|
+
}
|
|
69
|
+
abbr:where([title]) {
|
|
70
|
+
-webkit-text-decoration: underline dotted;
|
|
71
|
+
text-decoration: underline dotted;
|
|
72
|
+
}
|
|
73
|
+
h1,
|
|
74
|
+
h2,
|
|
75
|
+
h3,
|
|
76
|
+
h4,
|
|
77
|
+
h5,
|
|
78
|
+
h6 {
|
|
79
|
+
font-size: inherit;
|
|
80
|
+
font-weight: inherit;
|
|
81
|
+
}
|
|
82
|
+
a {
|
|
83
|
+
color: inherit;
|
|
84
|
+
-webkit-text-decoration: inherit;
|
|
85
|
+
text-decoration: inherit;
|
|
86
|
+
}
|
|
87
|
+
b,
|
|
88
|
+
strong {
|
|
89
|
+
font-weight: bolder;
|
|
90
|
+
}
|
|
91
|
+
code,
|
|
92
|
+
kbd,
|
|
93
|
+
samp,
|
|
94
|
+
pre {
|
|
95
|
+
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
96
|
+
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
97
|
+
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
98
|
+
font-size: 1em;
|
|
99
|
+
}
|
|
100
|
+
small {
|
|
101
|
+
font-size: 80%;
|
|
102
|
+
}
|
|
103
|
+
sub,
|
|
104
|
+
sup {
|
|
105
|
+
font-size: 75%;
|
|
106
|
+
line-height: 0;
|
|
107
|
+
position: relative;
|
|
108
|
+
vertical-align: baseline;
|
|
109
|
+
}
|
|
110
|
+
sub {
|
|
111
|
+
bottom: -0.25em;
|
|
112
|
+
}
|
|
113
|
+
sup {
|
|
114
|
+
top: -0.5em;
|
|
115
|
+
}
|
|
116
|
+
table {
|
|
117
|
+
text-indent: 0;
|
|
118
|
+
border-color: inherit;
|
|
119
|
+
border-collapse: collapse;
|
|
120
|
+
}
|
|
121
|
+
:-moz-focusring {
|
|
122
|
+
outline: auto;
|
|
123
|
+
}
|
|
124
|
+
progress {
|
|
125
|
+
vertical-align: baseline;
|
|
126
|
+
}
|
|
127
|
+
summary {
|
|
128
|
+
display: list-item;
|
|
129
|
+
}
|
|
130
|
+
ol,
|
|
131
|
+
ul,
|
|
132
|
+
menu {
|
|
133
|
+
list-style: none;
|
|
134
|
+
}
|
|
135
|
+
img,
|
|
136
|
+
svg,
|
|
137
|
+
video,
|
|
138
|
+
canvas,
|
|
139
|
+
audio,
|
|
140
|
+
iframe,
|
|
141
|
+
embed,
|
|
142
|
+
object {
|
|
143
|
+
display: block;
|
|
144
|
+
vertical-align: middle;
|
|
145
|
+
}
|
|
146
|
+
img,
|
|
147
|
+
video {
|
|
148
|
+
max-width: 100%;
|
|
149
|
+
height: auto;
|
|
150
|
+
}
|
|
151
|
+
button,
|
|
152
|
+
input,
|
|
153
|
+
select,
|
|
154
|
+
optgroup,
|
|
155
|
+
textarea,
|
|
156
|
+
::file-selector-button {
|
|
157
|
+
font: inherit;
|
|
158
|
+
font-feature-settings: inherit;
|
|
159
|
+
font-variation-settings: inherit;
|
|
160
|
+
letter-spacing: inherit;
|
|
161
|
+
color: inherit;
|
|
162
|
+
border-radius: 0;
|
|
163
|
+
background-color: transparent;
|
|
164
|
+
opacity: 1;
|
|
165
|
+
}
|
|
166
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
167
|
+
font-weight: bolder;
|
|
168
|
+
}
|
|
169
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
170
|
+
padding-inline-start: 20px;
|
|
171
|
+
}
|
|
172
|
+
::file-selector-button {
|
|
173
|
+
margin-inline-end: 4px;
|
|
174
|
+
}
|
|
175
|
+
::placeholder {
|
|
176
|
+
opacity: 1;
|
|
177
|
+
}
|
|
178
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
179
|
+
::placeholder {
|
|
180
|
+
color: currentcolor;
|
|
181
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
182
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
textarea {
|
|
187
|
+
resize: vertical;
|
|
188
|
+
}
|
|
189
|
+
::-webkit-search-decoration {
|
|
190
|
+
-webkit-appearance: none;
|
|
191
|
+
}
|
|
192
|
+
::-webkit-date-and-time-value {
|
|
193
|
+
min-height: 1lh;
|
|
194
|
+
text-align: inherit;
|
|
195
|
+
}
|
|
196
|
+
::-webkit-datetime-edit {
|
|
197
|
+
display: inline-flex;
|
|
198
|
+
}
|
|
199
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
200
|
+
padding: 0;
|
|
201
|
+
}
|
|
202
|
+
::-webkit-datetime-edit,
|
|
203
|
+
::-webkit-datetime-edit-year-field,
|
|
204
|
+
::-webkit-datetime-edit-month-field,
|
|
205
|
+
::-webkit-datetime-edit-day-field,
|
|
206
|
+
::-webkit-datetime-edit-hour-field,
|
|
207
|
+
::-webkit-datetime-edit-minute-field,
|
|
208
|
+
::-webkit-datetime-edit-second-field,
|
|
209
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
210
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
211
|
+
padding-block: 0;
|
|
212
|
+
}
|
|
213
|
+
::-webkit-calendar-picker-indicator {
|
|
214
|
+
line-height: 1;
|
|
215
|
+
}
|
|
216
|
+
:-moz-ui-invalid {
|
|
217
|
+
box-shadow: none;
|
|
218
|
+
}
|
|
219
|
+
button,
|
|
220
|
+
input:where([type=button], [type=reset], [type=submit]),
|
|
221
|
+
::file-selector-button {
|
|
222
|
+
appearance: button;
|
|
223
|
+
}
|
|
224
|
+
::-webkit-inner-spin-button,
|
|
225
|
+
::-webkit-outer-spin-button {
|
|
226
|
+
height: auto;
|
|
227
|
+
}
|
|
228
|
+
[hidden]:where(:not([hidden=until-found])) {
|
|
229
|
+
display: none !important;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
@layer utilities {
|
|
233
|
+
.static {
|
|
234
|
+
position: static;
|
|
235
|
+
}
|
|
236
|
+
.mt-\[10px\] {
|
|
237
|
+
margin-top: 10px;
|
|
238
|
+
}
|
|
239
|
+
.ml-auto {
|
|
240
|
+
margin-left: auto;
|
|
241
|
+
}
|
|
242
|
+
.block {
|
|
243
|
+
display: block;
|
|
244
|
+
}
|
|
245
|
+
.contents {
|
|
246
|
+
display: contents;
|
|
247
|
+
}
|
|
248
|
+
.flex {
|
|
249
|
+
display: flex;
|
|
250
|
+
}
|
|
251
|
+
.hidden {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
.inline-block {
|
|
255
|
+
display: inline-block;
|
|
256
|
+
}
|
|
257
|
+
.h-5 {
|
|
258
|
+
height: calc(var(--spacing) * 5);
|
|
259
|
+
}
|
|
260
|
+
.h-7 {
|
|
261
|
+
height: calc(var(--spacing) * 7);
|
|
262
|
+
}
|
|
263
|
+
.h-\[10px\] {
|
|
264
|
+
height: 10px;
|
|
265
|
+
}
|
|
266
|
+
.h-\[16px\] {
|
|
267
|
+
height: 16px;
|
|
268
|
+
}
|
|
269
|
+
.h-\[24px\] {
|
|
270
|
+
height: 24px;
|
|
271
|
+
}
|
|
272
|
+
.h-\[30px\] {
|
|
273
|
+
height: 30px;
|
|
274
|
+
}
|
|
275
|
+
.h-\[40px\] {
|
|
276
|
+
height: 40px;
|
|
277
|
+
}
|
|
278
|
+
.h-\[42px\] {
|
|
279
|
+
height: 42px;
|
|
280
|
+
}
|
|
281
|
+
.h-\[47px\] {
|
|
282
|
+
height: 47px;
|
|
283
|
+
}
|
|
284
|
+
.h-full {
|
|
285
|
+
height: 100%;
|
|
286
|
+
}
|
|
287
|
+
.w-5 {
|
|
288
|
+
width: calc(var(--spacing) * 5);
|
|
289
|
+
}
|
|
290
|
+
.w-13 {
|
|
291
|
+
width: calc(var(--spacing) * 13);
|
|
292
|
+
}
|
|
293
|
+
.w-\[10px\] {
|
|
294
|
+
width: 10px;
|
|
295
|
+
}
|
|
296
|
+
.w-\[16px\] {
|
|
297
|
+
width: 16px;
|
|
298
|
+
}
|
|
299
|
+
.w-\[24px\] {
|
|
300
|
+
width: 24px;
|
|
301
|
+
}
|
|
302
|
+
.w-\[30px\] {
|
|
303
|
+
width: 30px;
|
|
304
|
+
}
|
|
305
|
+
.w-\[40px\] {
|
|
306
|
+
width: 40px;
|
|
307
|
+
}
|
|
308
|
+
.w-\[202px\] {
|
|
309
|
+
width: 202px;
|
|
310
|
+
}
|
|
311
|
+
.w-\[242px\] {
|
|
312
|
+
width: 242px;
|
|
313
|
+
}
|
|
314
|
+
.w-full {
|
|
315
|
+
width: 100%;
|
|
316
|
+
}
|
|
317
|
+
.translate-x-0 {
|
|
318
|
+
--tw-translate-x: calc(var(--spacing) * 0);
|
|
319
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
320
|
+
}
|
|
321
|
+
.translate-x-6 {
|
|
322
|
+
--tw-translate-x: calc(var(--spacing) * 6);
|
|
323
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
324
|
+
}
|
|
325
|
+
.scale-0 {
|
|
326
|
+
--tw-scale-x: 0%;
|
|
327
|
+
--tw-scale-y: 0%;
|
|
328
|
+
--tw-scale-z: 0%;
|
|
329
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
330
|
+
}
|
|
331
|
+
.scale-100 {
|
|
332
|
+
--tw-scale-x: 100%;
|
|
333
|
+
--tw-scale-y: 100%;
|
|
334
|
+
--tw-scale-z: 100%;
|
|
335
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
336
|
+
}
|
|
337
|
+
.transform {
|
|
338
|
+
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
339
|
+
}
|
|
340
|
+
.animate-spin {
|
|
341
|
+
animation: var(--animate-spin);
|
|
342
|
+
}
|
|
343
|
+
.cursor-pointer {
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
346
|
+
.flex-col {
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
}
|
|
349
|
+
.items-center {
|
|
350
|
+
align-items: center;
|
|
351
|
+
}
|
|
352
|
+
.justify-center {
|
|
353
|
+
justify-content: center;
|
|
354
|
+
}
|
|
355
|
+
.gap-2 {
|
|
356
|
+
gap: calc(var(--spacing) * 2);
|
|
357
|
+
}
|
|
358
|
+
.gap-4 {
|
|
359
|
+
gap: calc(var(--spacing) * 4);
|
|
360
|
+
}
|
|
361
|
+
.gap-\[10px\] {
|
|
362
|
+
gap: 10px;
|
|
363
|
+
}
|
|
364
|
+
.gap-\[20px\] {
|
|
365
|
+
gap: 20px;
|
|
366
|
+
}
|
|
367
|
+
.rounded-\[6px\] {
|
|
368
|
+
border-radius: 6px;
|
|
369
|
+
}
|
|
370
|
+
.rounded-\[8px\] {
|
|
371
|
+
border-radius: 8px;
|
|
372
|
+
}
|
|
373
|
+
.rounded-full {
|
|
374
|
+
border-radius: calc(infinity * 1px);
|
|
375
|
+
}
|
|
376
|
+
.border {
|
|
377
|
+
border-style: var(--tw-border-style);
|
|
378
|
+
border-width: 1px;
|
|
379
|
+
}
|
|
380
|
+
.border-4 {
|
|
381
|
+
border-style: var(--tw-border-style);
|
|
382
|
+
border-width: 4px;
|
|
383
|
+
}
|
|
384
|
+
.border-\[1px\] {
|
|
385
|
+
border-style: var(--tw-border-style);
|
|
386
|
+
border-width: 1px;
|
|
387
|
+
}
|
|
388
|
+
.border-solid {
|
|
389
|
+
--tw-border-style: solid;
|
|
390
|
+
border-style: solid;
|
|
391
|
+
}
|
|
392
|
+
.border-black {
|
|
393
|
+
border-color: var(--color-black);
|
|
394
|
+
}
|
|
395
|
+
.border-t-transparent {
|
|
396
|
+
border-top-color: transparent;
|
|
397
|
+
}
|
|
398
|
+
.bg-\[\#E9E9E9\] {
|
|
399
|
+
background-color: #E9E9E9;
|
|
400
|
+
}
|
|
401
|
+
.bg-black {
|
|
402
|
+
background-color: var(--color-black);
|
|
403
|
+
}
|
|
404
|
+
.bg-blue-500 {
|
|
405
|
+
background-color: var(--color-blue-500);
|
|
406
|
+
}
|
|
407
|
+
.bg-gray-300 {
|
|
408
|
+
background-color: var(--color-gray-300);
|
|
409
|
+
}
|
|
410
|
+
.bg-gray-400 {
|
|
411
|
+
background-color: var(--color-gray-400);
|
|
412
|
+
}
|
|
413
|
+
.bg-primary-500 {
|
|
414
|
+
background-color: var(--color-primary-500);
|
|
415
|
+
}
|
|
416
|
+
.bg-red-500 {
|
|
417
|
+
background-color: var(--color-red-500);
|
|
418
|
+
}
|
|
419
|
+
.bg-white {
|
|
420
|
+
background-color: var(--color-white);
|
|
421
|
+
}
|
|
422
|
+
.p-1 {
|
|
423
|
+
padding: calc(var(--spacing) * 1);
|
|
424
|
+
}
|
|
425
|
+
.p-\[10px\] {
|
|
426
|
+
padding: 10px;
|
|
427
|
+
}
|
|
428
|
+
.text-\[20px\] {
|
|
429
|
+
font-size: 20px;
|
|
430
|
+
}
|
|
431
|
+
.text-black {
|
|
432
|
+
color: var(--color-black);
|
|
433
|
+
}
|
|
434
|
+
.text-white {
|
|
435
|
+
color: var(--color-white);
|
|
436
|
+
}
|
|
437
|
+
.opacity-0 {
|
|
438
|
+
opacity: 0%;
|
|
439
|
+
}
|
|
440
|
+
.opacity-100 {
|
|
441
|
+
opacity: 100%;
|
|
442
|
+
}
|
|
443
|
+
.shadow-md {
|
|
444
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
445
|
+
box-shadow:
|
|
446
|
+
var(--tw-inset-shadow),
|
|
447
|
+
var(--tw-inset-ring-shadow),
|
|
448
|
+
var(--tw-ring-offset-shadow),
|
|
449
|
+
var(--tw-ring-shadow),
|
|
450
|
+
var(--tw-shadow);
|
|
451
|
+
}
|
|
452
|
+
.transition-all {
|
|
453
|
+
transition-property: all;
|
|
454
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
455
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
456
|
+
}
|
|
457
|
+
.transition-colors {
|
|
458
|
+
transition-property:
|
|
459
|
+
color,
|
|
460
|
+
background-color,
|
|
461
|
+
border-color,
|
|
462
|
+
outline-color,
|
|
463
|
+
text-decoration-color,
|
|
464
|
+
fill,
|
|
465
|
+
stroke,
|
|
466
|
+
--tw-gradient-from,
|
|
467
|
+
--tw-gradient-via,
|
|
468
|
+
--tw-gradient-to;
|
|
469
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
470
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
471
|
+
}
|
|
472
|
+
.transition-transform {
|
|
473
|
+
transition-property:
|
|
474
|
+
transform,
|
|
475
|
+
translate,
|
|
476
|
+
scale,
|
|
477
|
+
rotate;
|
|
478
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
479
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
480
|
+
}
|
|
481
|
+
.duration-100 {
|
|
482
|
+
--tw-duration: 100ms;
|
|
483
|
+
transition-duration: 100ms;
|
|
484
|
+
}
|
|
485
|
+
.duration-150 {
|
|
486
|
+
--tw-duration: 150ms;
|
|
487
|
+
transition-duration: 150ms;
|
|
488
|
+
}
|
|
489
|
+
.duration-300 {
|
|
490
|
+
--tw-duration: 300ms;
|
|
491
|
+
transition-duration: 300ms;
|
|
492
|
+
}
|
|
493
|
+
.group-hover\:border-\[1px\] {
|
|
494
|
+
&:is(:where(.group):hover *) {
|
|
495
|
+
@media (hover: hover) {
|
|
496
|
+
border-style: var(--tw-border-style);
|
|
497
|
+
border-width: 1px;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
.group-hover\:border-primary-500 {
|
|
502
|
+
&:is(:where(.group):hover *) {
|
|
503
|
+
@media (hover: hover) {
|
|
504
|
+
border-color: var(--color-primary-500);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
.group-hover\:bg-white {
|
|
509
|
+
&:is(:where(.group):hover *) {
|
|
510
|
+
@media (hover: hover) {
|
|
511
|
+
background-color: var(--color-white);
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
.group-hover\:text-primary-500 {
|
|
516
|
+
&:is(:where(.group):hover *) {
|
|
517
|
+
@media (hover: hover) {
|
|
518
|
+
color: var(--color-primary-500);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
.group-active\:block {
|
|
523
|
+
&:is(:where(.group):active *) {
|
|
524
|
+
display: block;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
.group-active\:hidden {
|
|
528
|
+
&:is(:where(.group):active *) {
|
|
529
|
+
display: none;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
.group-active\:bg-red-500 {
|
|
533
|
+
&:is(:where(.group):active *) {
|
|
534
|
+
background-color: var(--color-red-500);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
.group-active\:text-white {
|
|
538
|
+
&:is(:where(.group):active *) {
|
|
539
|
+
color: var(--color-white);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
.hover\:bg-red-100 {
|
|
543
|
+
&:hover {
|
|
544
|
+
@media (hover: hover) {
|
|
545
|
+
background-color: var(--color-red-100);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
.hover\:text-white {
|
|
550
|
+
&:hover {
|
|
551
|
+
@media (hover: hover) {
|
|
552
|
+
color: var(--color-white);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
.active\:bg-primary-500 {
|
|
557
|
+
&:active {
|
|
558
|
+
background-color: var(--color-primary-500);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
.active\:text-white {
|
|
562
|
+
&:active {
|
|
563
|
+
color: var(--color-white);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
@layer base {
|
|
568
|
+
*,
|
|
569
|
+
::after,
|
|
570
|
+
::before,
|
|
571
|
+
::backdrop,
|
|
572
|
+
::file-selector-button {
|
|
573
|
+
border-color: var(--color-gray-200, currentcolor);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
.headline-1 {
|
|
577
|
+
font-family: "Kanit";
|
|
578
|
+
font-size: 48px;
|
|
579
|
+
font-style: normal;
|
|
580
|
+
font-weight: 600;
|
|
581
|
+
line-height: 58px;
|
|
582
|
+
}
|
|
583
|
+
.headline-2 {
|
|
584
|
+
font-family: "Kanit";
|
|
585
|
+
font-size: 40px;
|
|
586
|
+
font-style: normal;
|
|
587
|
+
font-weight: 600;
|
|
588
|
+
line-height: 48px;
|
|
589
|
+
}
|
|
590
|
+
.headline-3 {
|
|
591
|
+
font-family: "Kanit";
|
|
592
|
+
font-size: 32px;
|
|
593
|
+
font-style: normal;
|
|
594
|
+
font-weight: 600;
|
|
595
|
+
line-height: 38px;
|
|
596
|
+
}
|
|
597
|
+
.headline-4 {
|
|
598
|
+
font-family: "Kanit";
|
|
599
|
+
font-size: 28px;
|
|
600
|
+
font-style: normal;
|
|
601
|
+
font-weight: 600;
|
|
602
|
+
line-height: 34px;
|
|
603
|
+
}
|
|
604
|
+
.headline-5 {
|
|
605
|
+
font-family: "Kanit";
|
|
606
|
+
font-size: 24px;
|
|
607
|
+
font-style: normal;
|
|
608
|
+
font-weight: 600;
|
|
609
|
+
line-height: 28px;
|
|
610
|
+
}
|
|
611
|
+
.subtitle-1 {
|
|
612
|
+
font-family: "Kanit";
|
|
613
|
+
font-size: 18px;
|
|
614
|
+
font-style: normal;
|
|
615
|
+
font-weight: 600;
|
|
616
|
+
line-height: 28px;
|
|
617
|
+
}
|
|
618
|
+
.subtitle-2 {
|
|
619
|
+
font-family: "Kanit";
|
|
620
|
+
font-size: 16px;
|
|
621
|
+
font-style: normal;
|
|
622
|
+
font-weight: 600;
|
|
623
|
+
line-height: 24px;
|
|
624
|
+
}
|
|
625
|
+
.body-1 {
|
|
626
|
+
font-family: "Kanit";
|
|
627
|
+
font-size: 16px;
|
|
628
|
+
font-style: normal;
|
|
629
|
+
font-weight: 400;
|
|
630
|
+
line-height: 24px;
|
|
631
|
+
}
|
|
632
|
+
.body-2 {
|
|
633
|
+
font-family: "Kanit";
|
|
634
|
+
font-size: 16px;
|
|
635
|
+
font-style: normal;
|
|
636
|
+
font-weight: 500;
|
|
637
|
+
line-height: 24px;
|
|
638
|
+
}
|
|
639
|
+
.body-3 {
|
|
640
|
+
font-family: "Kanit";
|
|
641
|
+
font-size: 14px;
|
|
642
|
+
font-style: normal;
|
|
643
|
+
font-weight: 400;
|
|
644
|
+
line-height: 20px;
|
|
645
|
+
}
|
|
646
|
+
.body-4 {
|
|
647
|
+
font-family: "Kanit";
|
|
648
|
+
font-size: 14px;
|
|
649
|
+
font-style: normal;
|
|
650
|
+
font-weight: 500;
|
|
651
|
+
line-height: 20px;
|
|
652
|
+
}
|
|
653
|
+
.caption-1 {
|
|
654
|
+
font-family: "Kanit";
|
|
655
|
+
font-size: 12px;
|
|
656
|
+
font-style: normal;
|
|
657
|
+
font-weight: 400;
|
|
658
|
+
line-height: 16px;
|
|
659
|
+
}
|
|
660
|
+
.caption-2 {
|
|
661
|
+
font-family: "Kanit";
|
|
662
|
+
font-size: 12px;
|
|
663
|
+
font-style: normal;
|
|
664
|
+
font-weight: 500;
|
|
665
|
+
line-height: 16px;
|
|
666
|
+
}
|
|
667
|
+
.caption-3 {
|
|
668
|
+
font-family: "Kanit";
|
|
669
|
+
font-size: 10px;
|
|
670
|
+
font-style: normal;
|
|
671
|
+
font-weight: 500;
|
|
672
|
+
line-height: 14px;
|
|
673
|
+
}
|
|
674
|
+
.label {
|
|
675
|
+
font-family: "Kanit";
|
|
676
|
+
font-size: 12px;
|
|
677
|
+
font-style: normal;
|
|
678
|
+
font-weight: 500;
|
|
679
|
+
line-height: 16px;
|
|
680
|
+
}
|
|
681
|
+
.btn-giant {
|
|
682
|
+
font-family: "Kanit";
|
|
683
|
+
font-size: 18px;
|
|
684
|
+
font-style: normal;
|
|
685
|
+
font-weight: 600;
|
|
686
|
+
line-height: 24px;
|
|
687
|
+
}
|
|
688
|
+
.btn-large {
|
|
689
|
+
font-family: "Kanit";
|
|
690
|
+
font-size: 16px;
|
|
691
|
+
font-style: normal;
|
|
692
|
+
font-weight: 600;
|
|
693
|
+
line-height: 20px;
|
|
694
|
+
}
|
|
695
|
+
.btn-medium {
|
|
696
|
+
font-family: "Kanit";
|
|
697
|
+
font-size: 12px;
|
|
698
|
+
font-style: normal;
|
|
699
|
+
font-weight: 600;
|
|
700
|
+
line-height: 16px;
|
|
701
|
+
}
|
|
702
|
+
.btn-small {
|
|
703
|
+
font-family: "Kanit";
|
|
704
|
+
font-size: 12px;
|
|
705
|
+
font-style: normal;
|
|
706
|
+
font-weight: 600;
|
|
707
|
+
line-height: 16px;
|
|
708
|
+
}
|
|
709
|
+
.btn-tiny {
|
|
710
|
+
font-family: "Kanit";
|
|
711
|
+
font-size: 10px;
|
|
712
|
+
font-style: normal;
|
|
713
|
+
font-weight: 600;
|
|
714
|
+
line-height: 12px;
|
|
715
|
+
}
|
|
716
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
717
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
718
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
719
|
+
@property --tw-scale-x { syntax: "*"; inherits: false; initial-value: 1; }
|
|
720
|
+
@property --tw-scale-y { syntax: "*"; inherits: false; initial-value: 1; }
|
|
721
|
+
@property --tw-scale-z { syntax: "*"; inherits: false; initial-value: 1; }
|
|
722
|
+
@property --tw-rotate-x { syntax: "*"; inherits: false; }
|
|
723
|
+
@property --tw-rotate-y { syntax: "*"; inherits: false; }
|
|
724
|
+
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
725
|
+
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
726
|
+
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
727
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
728
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
729
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
730
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
731
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
732
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
733
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
734
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
735
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
736
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
737
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
738
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
739
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
740
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
741
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
742
|
+
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
743
|
+
@keyframes spin {
|
|
744
|
+
to {
|
|
745
|
+
transform: rotate(360deg);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
@layer properties {
|
|
749
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
750
|
+
*,
|
|
751
|
+
::before,
|
|
752
|
+
::after,
|
|
753
|
+
::backdrop {
|
|
754
|
+
--tw-translate-x: 0;
|
|
755
|
+
--tw-translate-y: 0;
|
|
756
|
+
--tw-translate-z: 0;
|
|
757
|
+
--tw-scale-x: 1;
|
|
758
|
+
--tw-scale-y: 1;
|
|
759
|
+
--tw-scale-z: 1;
|
|
760
|
+
--tw-rotate-x: initial;
|
|
761
|
+
--tw-rotate-y: initial;
|
|
762
|
+
--tw-rotate-z: initial;
|
|
763
|
+
--tw-skew-x: initial;
|
|
764
|
+
--tw-skew-y: initial;
|
|
765
|
+
--tw-border-style: solid;
|
|
766
|
+
--tw-shadow: 0 0 #0000;
|
|
767
|
+
--tw-shadow-color: initial;
|
|
768
|
+
--tw-shadow-alpha: 100%;
|
|
769
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
770
|
+
--tw-inset-shadow-color: initial;
|
|
771
|
+
--tw-inset-shadow-alpha: 100%;
|
|
772
|
+
--tw-ring-color: initial;
|
|
773
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
774
|
+
--tw-inset-ring-color: initial;
|
|
775
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
776
|
+
--tw-ring-inset: initial;
|
|
777
|
+
--tw-ring-offset-width: 0px;
|
|
778
|
+
--tw-ring-offset-color: #fff;
|
|
779
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
780
|
+
--tw-duration: initial;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
|