@itilite/lumina-ui 1.0.1-beta.2 → 1.0.1-beta.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/README.md +43 -10
- package/dist/styles.css +104 -606
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,43 @@ npm install react antd
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
+
### Prerequisites
|
|
26
|
+
|
|
27
|
+
This component library requires Tailwind CSS to be set up in your consuming application. The components use Tailwind utility classes and will not be styled without it.
|
|
28
|
+
|
|
29
|
+
#### Setting up Tailwind CSS in your app
|
|
30
|
+
|
|
31
|
+
1. Install Tailwind CSS:
|
|
32
|
+
```bash
|
|
33
|
+
npm install -D tailwindcss postcss autoprefixer
|
|
34
|
+
npx tailwindcss init
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
2. Configure Tailwind to scan your app (you don't need to scan the component library):
|
|
38
|
+
```js
|
|
39
|
+
// tailwind.config.js
|
|
40
|
+
module.exports = {
|
|
41
|
+
content: [
|
|
42
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
43
|
+
// No need to scan node_modules - component utilities are pre-compiled
|
|
44
|
+
],
|
|
45
|
+
theme: {
|
|
46
|
+
extend: {},
|
|
47
|
+
},
|
|
48
|
+
plugins: [],
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
3. Add Tailwind directives to your main CSS file:
|
|
53
|
+
```css
|
|
54
|
+
/* app.css or index.css */
|
|
55
|
+
@tailwind base;
|
|
56
|
+
@tailwind components;
|
|
57
|
+
@tailwind utilities;
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Important:** The component library includes only the Tailwind utilities it uses. Your app must provide the base/reset styles via `@tailwind base`.
|
|
61
|
+
|
|
25
62
|
### Importing Components
|
|
26
63
|
|
|
27
64
|
You can import components individually (recommended for tree-shaking):
|
|
@@ -29,21 +66,20 @@ You can import components individually (recommended for tree-shaking):
|
|
|
29
66
|
```tsx
|
|
30
67
|
import { Button } from '@itilite/lumina-ui/button';
|
|
31
68
|
import { Checkbox } from '@itilite/lumina-ui/checkbox';
|
|
32
|
-
import '@itilite/lumina-ui/styles.css';
|
|
69
|
+
import '@itilite/lumina-ui/styles.css'; // Import component styles
|
|
33
70
|
```
|
|
34
71
|
|
|
35
72
|
Or import all components from the main entry point:
|
|
36
73
|
|
|
37
74
|
```tsx
|
|
38
75
|
import { Button, Checkbox } from '@itilite/lumina-ui';
|
|
39
|
-
import '@itilite/lumina-ui/styles.css';
|
|
76
|
+
import '@itilite/lumina-ui/styles.css'; // Import component styles
|
|
40
77
|
```
|
|
41
78
|
|
|
42
79
|
### Button Component
|
|
43
80
|
|
|
44
81
|
```tsx
|
|
45
82
|
import { Button } from '@itilite/lumina-ui/button';
|
|
46
|
-
import '@itilite/lumina-ui/styles.css';
|
|
47
83
|
|
|
48
84
|
function App() {
|
|
49
85
|
return (
|
|
@@ -58,7 +94,6 @@ function App() {
|
|
|
58
94
|
|
|
59
95
|
```tsx
|
|
60
96
|
import { Checkbox } from '@itilite/lumina-ui/checkbox';
|
|
61
|
-
import '@itilite/lumina-ui/styles.css';
|
|
62
97
|
|
|
63
98
|
function App() {
|
|
64
99
|
return (
|
|
@@ -69,13 +104,11 @@ function App() {
|
|
|
69
104
|
}
|
|
70
105
|
```
|
|
71
106
|
|
|
72
|
-
##
|
|
107
|
+
## Requirements
|
|
73
108
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
import '@itilite/lumina-ui/styles.css';
|
|
78
|
-
```
|
|
109
|
+
- **Tailwind CSS**: This library requires Tailwind CSS to be configured in your consuming application
|
|
110
|
+
- **React**: 18+
|
|
111
|
+
- **Ant Design**: 5.13.1
|
|
79
112
|
|
|
80
113
|
## Available Components
|
|
81
114
|
|
package/dist/styles.css
CHANGED
|
@@ -1,602 +1,168 @@
|
|
|
1
|
-
*, ::before, ::after {
|
|
2
|
-
--tw-border-spacing-x: 0;
|
|
3
|
-
--tw-border-spacing-y: 0;
|
|
4
|
-
--tw-translate-x: 0;
|
|
5
|
-
--tw-translate-y: 0;
|
|
6
|
-
--tw-rotate: 0;
|
|
7
|
-
--tw-skew-x: 0;
|
|
8
|
-
--tw-skew-y: 0;
|
|
9
|
-
--tw-scale-x: 1;
|
|
10
|
-
--tw-scale-y: 1;
|
|
11
|
-
--tw-pan-x: ;
|
|
12
|
-
--tw-pan-y: ;
|
|
13
|
-
--tw-pinch-zoom: ;
|
|
14
|
-
--tw-scroll-snap-strictness: proximity;
|
|
15
|
-
--tw-gradient-from-position: ;
|
|
16
|
-
--tw-gradient-via-position: ;
|
|
17
|
-
--tw-gradient-to-position: ;
|
|
18
|
-
--tw-ordinal: ;
|
|
19
|
-
--tw-slashed-zero: ;
|
|
20
|
-
--tw-numeric-figure: ;
|
|
21
|
-
--tw-numeric-spacing: ;
|
|
22
|
-
--tw-numeric-fraction: ;
|
|
23
|
-
--tw-ring-inset: ;
|
|
24
|
-
--tw-ring-offset-width: 0px;
|
|
25
|
-
--tw-ring-offset-color: #fff;
|
|
26
|
-
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
27
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
28
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
29
|
-
--tw-shadow: 0 0 #0000;
|
|
30
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
31
|
-
--tw-blur: ;
|
|
32
|
-
--tw-brightness: ;
|
|
33
|
-
--tw-contrast: ;
|
|
34
|
-
--tw-grayscale: ;
|
|
35
|
-
--tw-hue-rotate: ;
|
|
36
|
-
--tw-invert: ;
|
|
37
|
-
--tw-saturate: ;
|
|
38
|
-
--tw-sepia: ;
|
|
39
|
-
--tw-drop-shadow: ;
|
|
40
|
-
--tw-backdrop-blur: ;
|
|
41
|
-
--tw-backdrop-brightness: ;
|
|
42
|
-
--tw-backdrop-contrast: ;
|
|
43
|
-
--tw-backdrop-grayscale: ;
|
|
44
|
-
--tw-backdrop-hue-rotate: ;
|
|
45
|
-
--tw-backdrop-invert: ;
|
|
46
|
-
--tw-backdrop-opacity: ;
|
|
47
|
-
--tw-backdrop-saturate: ;
|
|
48
|
-
--tw-backdrop-sepia: ;
|
|
49
|
-
--tw-contain-size: ;
|
|
50
|
-
--tw-contain-layout: ;
|
|
51
|
-
--tw-contain-paint: ;
|
|
52
|
-
--tw-contain-style: ;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
::backdrop {
|
|
56
|
-
--tw-border-spacing-x: 0;
|
|
57
|
-
--tw-border-spacing-y: 0;
|
|
58
|
-
--tw-translate-x: 0;
|
|
59
|
-
--tw-translate-y: 0;
|
|
60
|
-
--tw-rotate: 0;
|
|
61
|
-
--tw-skew-x: 0;
|
|
62
|
-
--tw-skew-y: 0;
|
|
63
|
-
--tw-scale-x: 1;
|
|
64
|
-
--tw-scale-y: 1;
|
|
65
|
-
--tw-pan-x: ;
|
|
66
|
-
--tw-pan-y: ;
|
|
67
|
-
--tw-pinch-zoom: ;
|
|
68
|
-
--tw-scroll-snap-strictness: proximity;
|
|
69
|
-
--tw-gradient-from-position: ;
|
|
70
|
-
--tw-gradient-via-position: ;
|
|
71
|
-
--tw-gradient-to-position: ;
|
|
72
|
-
--tw-ordinal: ;
|
|
73
|
-
--tw-slashed-zero: ;
|
|
74
|
-
--tw-numeric-figure: ;
|
|
75
|
-
--tw-numeric-spacing: ;
|
|
76
|
-
--tw-numeric-fraction: ;
|
|
77
|
-
--tw-ring-inset: ;
|
|
78
|
-
--tw-ring-offset-width: 0px;
|
|
79
|
-
--tw-ring-offset-color: #fff;
|
|
80
|
-
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
81
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
82
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
83
|
-
--tw-shadow: 0 0 #0000;
|
|
84
|
-
--tw-shadow-colored: 0 0 #0000;
|
|
85
|
-
--tw-blur: ;
|
|
86
|
-
--tw-brightness: ;
|
|
87
|
-
--tw-contrast: ;
|
|
88
|
-
--tw-grayscale: ;
|
|
89
|
-
--tw-hue-rotate: ;
|
|
90
|
-
--tw-invert: ;
|
|
91
|
-
--tw-saturate: ;
|
|
92
|
-
--tw-sepia: ;
|
|
93
|
-
--tw-drop-shadow: ;
|
|
94
|
-
--tw-backdrop-blur: ;
|
|
95
|
-
--tw-backdrop-brightness: ;
|
|
96
|
-
--tw-backdrop-contrast: ;
|
|
97
|
-
--tw-backdrop-grayscale: ;
|
|
98
|
-
--tw-backdrop-hue-rotate: ;
|
|
99
|
-
--tw-backdrop-invert: ;
|
|
100
|
-
--tw-backdrop-opacity: ;
|
|
101
|
-
--tw-backdrop-saturate: ;
|
|
102
|
-
--tw-backdrop-sepia: ;
|
|
103
|
-
--tw-contain-size: ;
|
|
104
|
-
--tw-contain-layout: ;
|
|
105
|
-
--tw-contain-paint: ;
|
|
106
|
-
--tw-contain-style: ;
|
|
107
|
-
}/*
|
|
108
|
-
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
|
|
109
|
-
*//*
|
|
110
|
-
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
111
|
-
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
112
|
-
*/
|
|
113
|
-
|
|
114
|
-
*,
|
|
115
|
-
::before,
|
|
116
|
-
::after {
|
|
117
|
-
box-sizing: border-box; /* 1 */
|
|
118
|
-
border-width: 0; /* 2 */
|
|
119
|
-
border-style: solid; /* 2 */
|
|
120
|
-
border-color: #e5e7eb; /* 2 */
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
::before,
|
|
124
|
-
::after {
|
|
125
|
-
--tw-content: '';
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/*
|
|
129
|
-
1. Use a consistent sensible line-height in all browsers.
|
|
130
|
-
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
131
|
-
3. Use a more readable tab size.
|
|
132
|
-
4. Use the user's configured `sans` font-family by default.
|
|
133
|
-
5. Use the user's configured `sans` font-feature-settings by default.
|
|
134
|
-
6. Use the user's configured `sans` font-variation-settings by default.
|
|
135
|
-
7. Disable tap highlights on iOS
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
|
-
html,
|
|
139
|
-
:host {
|
|
140
|
-
line-height: 1.5; /* 1 */
|
|
141
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
142
|
-
-moz-tab-size: 4; /* 3 */
|
|
143
|
-
-o-tab-size: 4;
|
|
144
|
-
tab-size: 4; /* 3 */
|
|
145
|
-
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
|
|
146
|
-
font-feature-settings: normal; /* 5 */
|
|
147
|
-
font-variation-settings: normal; /* 6 */
|
|
148
|
-
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/*
|
|
152
|
-
1. Remove the margin in all browsers.
|
|
153
|
-
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
154
|
-
*/
|
|
155
|
-
|
|
156
|
-
body {
|
|
157
|
-
margin: 0; /* 1 */
|
|
158
|
-
line-height: inherit; /* 2 */
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/*
|
|
162
|
-
1. Add the correct height in Firefox.
|
|
163
|
-
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
164
|
-
3. Ensure horizontal rules are visible by default.
|
|
165
|
-
*/
|
|
166
|
-
|
|
167
|
-
hr {
|
|
168
|
-
height: 0; /* 1 */
|
|
169
|
-
color: inherit; /* 2 */
|
|
170
|
-
border-top-width: 1px; /* 3 */
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/*
|
|
174
|
-
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
|
-
abbr:where([title]) {
|
|
178
|
-
-webkit-text-decoration: underline dotted;
|
|
179
|
-
text-decoration: underline dotted;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/*
|
|
183
|
-
Remove the default font size and weight for headings.
|
|
184
|
-
*/
|
|
185
|
-
|
|
186
|
-
h1,
|
|
187
|
-
h2,
|
|
188
|
-
h3,
|
|
189
|
-
h4,
|
|
190
|
-
h5,
|
|
191
|
-
h6 {
|
|
192
|
-
font-size: inherit;
|
|
193
|
-
font-weight: inherit;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/*
|
|
197
|
-
Reset links to optimize for opt-in styling instead of opt-out.
|
|
198
|
-
*/
|
|
199
|
-
|
|
200
|
-
a {
|
|
201
|
-
color: inherit;
|
|
202
|
-
text-decoration: inherit;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/*
|
|
206
|
-
Add the correct font weight in Edge and Safari.
|
|
207
|
-
*/
|
|
208
|
-
|
|
209
|
-
b,
|
|
210
|
-
strong {
|
|
211
|
-
font-weight: bolder;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/*
|
|
215
|
-
1. Use the user's configured `mono` font-family by default.
|
|
216
|
-
2. Use the user's configured `mono` font-feature-settings by default.
|
|
217
|
-
3. Use the user's configured `mono` font-variation-settings by default.
|
|
218
|
-
4. Correct the odd `em` font sizing in all browsers.
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
code,
|
|
222
|
-
kbd,
|
|
223
|
-
samp,
|
|
224
|
-
pre {
|
|
225
|
-
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
|
|
226
|
-
font-feature-settings: normal; /* 2 */
|
|
227
|
-
font-variation-settings: normal; /* 3 */
|
|
228
|
-
font-size: 1em; /* 4 */
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/*
|
|
232
|
-
Add the correct font size in all browsers.
|
|
233
|
-
*/
|
|
234
|
-
|
|
235
|
-
small {
|
|
236
|
-
font-size: 80%;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/*
|
|
240
|
-
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
241
|
-
*/
|
|
242
|
-
|
|
243
|
-
sub,
|
|
244
|
-
sup {
|
|
245
|
-
font-size: 75%;
|
|
246
|
-
line-height: 0;
|
|
247
|
-
position: relative;
|
|
248
|
-
vertical-align: baseline;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
sub {
|
|
252
|
-
bottom: -0.25em;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
sup {
|
|
256
|
-
top: -0.5em;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/*
|
|
260
|
-
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
261
|
-
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
262
|
-
3. Remove gaps between table borders by default.
|
|
263
|
-
*/
|
|
264
|
-
|
|
265
|
-
table {
|
|
266
|
-
text-indent: 0; /* 1 */
|
|
267
|
-
border-color: inherit; /* 2 */
|
|
268
|
-
border-collapse: collapse; /* 3 */
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
/*
|
|
272
|
-
1. Change the font styles in all browsers.
|
|
273
|
-
2. Remove the margin in Firefox and Safari.
|
|
274
|
-
3. Remove default padding in all browsers.
|
|
275
|
-
*/
|
|
276
|
-
|
|
277
|
-
button,
|
|
278
|
-
input,
|
|
279
|
-
optgroup,
|
|
280
|
-
select,
|
|
281
|
-
textarea {
|
|
282
|
-
font-family: inherit; /* 1 */
|
|
283
|
-
font-feature-settings: inherit; /* 1 */
|
|
284
|
-
font-variation-settings: inherit; /* 1 */
|
|
285
|
-
font-size: 100%; /* 1 */
|
|
286
|
-
font-weight: inherit; /* 1 */
|
|
287
|
-
line-height: inherit; /* 1 */
|
|
288
|
-
letter-spacing: inherit; /* 1 */
|
|
289
|
-
color: inherit; /* 1 */
|
|
290
|
-
margin: 0; /* 2 */
|
|
291
|
-
padding: 0; /* 3 */
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/*
|
|
295
|
-
Remove the inheritance of text transform in Edge and Firefox.
|
|
296
|
-
*/
|
|
297
|
-
|
|
298
|
-
button,
|
|
299
|
-
select {
|
|
300
|
-
text-transform: none;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/*
|
|
304
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
305
|
-
2. Remove default button styles.
|
|
306
|
-
*/
|
|
307
|
-
|
|
308
|
-
button,
|
|
309
|
-
input:where([type='button']),
|
|
310
|
-
input:where([type='reset']),
|
|
311
|
-
input:where([type='submit']) {
|
|
312
|
-
-webkit-appearance: button; /* 1 */
|
|
313
|
-
background-color: transparent; /* 2 */
|
|
314
|
-
background-image: none; /* 2 */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/*
|
|
318
|
-
Use the modern Firefox focus style for all focusable elements.
|
|
319
|
-
*/
|
|
320
|
-
|
|
321
|
-
:-moz-focusring {
|
|
322
|
-
outline: auto;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/*
|
|
326
|
-
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
327
|
-
*/
|
|
328
|
-
|
|
329
|
-
:-moz-ui-invalid {
|
|
330
|
-
box-shadow: none;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/*
|
|
334
|
-
Add the correct vertical alignment in Chrome and Firefox.
|
|
335
|
-
*/
|
|
336
|
-
|
|
337
|
-
progress {
|
|
338
|
-
vertical-align: baseline;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/*
|
|
342
|
-
Correct the cursor style of increment and decrement buttons in Safari.
|
|
343
|
-
*/
|
|
344
|
-
|
|
345
|
-
::-webkit-inner-spin-button,
|
|
346
|
-
::-webkit-outer-spin-button {
|
|
347
|
-
height: auto;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/*
|
|
351
|
-
1. Correct the odd appearance in Chrome and Safari.
|
|
352
|
-
2. Correct the outline style in Safari.
|
|
353
|
-
*/
|
|
354
|
-
|
|
355
|
-
[type='search'] {
|
|
356
|
-
-webkit-appearance: textfield; /* 1 */
|
|
357
|
-
outline-offset: -2px; /* 2 */
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/*
|
|
361
|
-
Remove the inner padding in Chrome and Safari on macOS.
|
|
362
|
-
*/
|
|
363
|
-
|
|
364
|
-
::-webkit-search-decoration {
|
|
365
|
-
-webkit-appearance: none;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
/*
|
|
369
|
-
1. Correct the inability to style clickable types in iOS and Safari.
|
|
370
|
-
2. Change font properties to `inherit` in Safari.
|
|
371
|
-
*/
|
|
372
|
-
|
|
373
|
-
::-webkit-file-upload-button {
|
|
374
|
-
-webkit-appearance: button; /* 1 */
|
|
375
|
-
font: inherit; /* 2 */
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/*
|
|
379
|
-
Add the correct display in Chrome and Safari.
|
|
380
|
-
*/
|
|
381
|
-
|
|
382
|
-
summary {
|
|
383
|
-
display: list-item;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/*
|
|
387
|
-
Removes the default spacing and border for appropriate elements.
|
|
388
|
-
*/
|
|
389
|
-
|
|
390
|
-
blockquote,
|
|
391
|
-
dl,
|
|
392
|
-
dd,
|
|
393
|
-
h1,
|
|
394
|
-
h2,
|
|
395
|
-
h3,
|
|
396
|
-
h4,
|
|
397
|
-
h5,
|
|
398
|
-
h6,
|
|
399
|
-
hr,
|
|
400
|
-
figure,
|
|
401
|
-
p,
|
|
402
|
-
pre {
|
|
403
|
-
margin: 0;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
fieldset {
|
|
407
|
-
margin: 0;
|
|
408
|
-
padding: 0;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
legend {
|
|
412
|
-
padding: 0;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
ol,
|
|
416
|
-
ul,
|
|
417
|
-
menu {
|
|
418
|
-
list-style: none;
|
|
419
|
-
margin: 0;
|
|
420
|
-
padding: 0;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
/*
|
|
424
|
-
Reset default styling for dialogs.
|
|
425
|
-
*/
|
|
426
|
-
dialog {
|
|
427
|
-
padding: 0;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/*
|
|
431
|
-
Prevent resizing textareas horizontally by default.
|
|
432
|
-
*/
|
|
433
|
-
|
|
434
|
-
textarea {
|
|
435
|
-
resize: vertical;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
/*
|
|
439
|
-
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
440
|
-
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
441
|
-
*/
|
|
442
|
-
|
|
443
|
-
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
444
|
-
opacity: 1; /* 1 */
|
|
445
|
-
color: #9ca3af; /* 2 */
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
input::placeholder,
|
|
449
|
-
textarea::placeholder {
|
|
450
|
-
opacity: 1; /* 1 */
|
|
451
|
-
color: #9ca3af; /* 2 */
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
/*
|
|
455
|
-
Set the default cursor for buttons.
|
|
456
|
-
*/
|
|
457
|
-
|
|
458
|
-
button,
|
|
459
|
-
[role="button"] {
|
|
460
|
-
cursor: pointer;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
/*
|
|
464
|
-
Make sure disabled buttons don't get the pointer cursor.
|
|
465
|
-
*/
|
|
466
|
-
:disabled {
|
|
467
|
-
cursor: default;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/*
|
|
471
|
-
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
472
|
-
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
473
|
-
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
474
|
-
*/
|
|
475
|
-
|
|
476
|
-
img,
|
|
477
|
-
svg,
|
|
478
|
-
video,
|
|
479
|
-
canvas,
|
|
480
|
-
audio,
|
|
481
|
-
iframe,
|
|
482
|
-
embed,
|
|
483
|
-
object {
|
|
484
|
-
display: block; /* 1 */
|
|
485
|
-
vertical-align: middle; /* 2 */
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/*
|
|
489
|
-
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
490
|
-
*/
|
|
491
|
-
|
|
492
|
-
img,
|
|
493
|
-
video {
|
|
494
|
-
max-width: 100%;
|
|
495
|
-
height: auto;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
499
|
-
[hidden]:where(:not([hidden="until-found"])) {
|
|
500
|
-
display: none;
|
|
501
|
-
}
|
|
502
1
|
.tw-right-6 {
|
|
503
|
-
|
|
2
|
+
right: 1.5rem
|
|
504
3
|
}
|
|
505
4
|
.tw-top-6 {
|
|
506
|
-
|
|
5
|
+
top: 1.5rem
|
|
507
6
|
}
|
|
508
7
|
.tw-flex {
|
|
509
|
-
|
|
8
|
+
display: flex
|
|
510
9
|
}
|
|
511
10
|
.tw-h-2 {
|
|
512
|
-
|
|
11
|
+
height: 0.5rem
|
|
513
12
|
}
|
|
514
13
|
.tw-h-3 {
|
|
515
|
-
|
|
14
|
+
height: 0.75rem
|
|
516
15
|
}
|
|
517
16
|
.tw-cursor-not-allowed {
|
|
518
|
-
|
|
17
|
+
cursor: not-allowed
|
|
519
18
|
}
|
|
520
19
|
.tw-items-end {
|
|
521
|
-
|
|
20
|
+
align-items: flex-end
|
|
522
21
|
}
|
|
523
22
|
.tw-items-center {
|
|
524
|
-
|
|
23
|
+
align-items: center
|
|
525
24
|
}
|
|
526
25
|
.tw-justify-center {
|
|
527
|
-
|
|
26
|
+
justify-content: center
|
|
528
27
|
}
|
|
529
28
|
.tw-gap-1 {
|
|
530
|
-
|
|
29
|
+
gap: 0.25rem
|
|
531
30
|
}
|
|
532
31
|
.tw-rounded-full {
|
|
533
|
-
|
|
32
|
+
border-radius: 9999px
|
|
534
33
|
}
|
|
535
34
|
.tw-rounded-lg {
|
|
536
|
-
|
|
35
|
+
border-radius: 0.5rem
|
|
537
36
|
}
|
|
538
37
|
.tw-border {
|
|
539
|
-
|
|
38
|
+
border-width: 1px
|
|
540
39
|
}
|
|
541
40
|
.tw-border-0 {
|
|
542
|
-
|
|
41
|
+
border-width: 0px
|
|
543
42
|
}
|
|
544
43
|
.tw-border-solid {
|
|
545
|
-
|
|
44
|
+
border-style: solid
|
|
546
45
|
}
|
|
547
46
|
.tw-bg-transparent {
|
|
548
|
-
|
|
47
|
+
background-color: transparent
|
|
549
48
|
}
|
|
550
49
|
.tw-object-cover {
|
|
551
|
-
|
|
552
|
-
|
|
50
|
+
-o-object-fit: cover;
|
|
51
|
+
object-fit: cover
|
|
553
52
|
}
|
|
554
53
|
.tw-p-2 {
|
|
555
|
-
|
|
54
|
+
padding: 0.5rem
|
|
556
55
|
}
|
|
557
56
|
.tw-p-4 {
|
|
558
|
-
|
|
57
|
+
padding: 1rem
|
|
559
58
|
}
|
|
560
59
|
.tw-text-font-size-10 {
|
|
561
|
-
|
|
60
|
+
font-size: 0.625rem
|
|
562
61
|
}
|
|
563
62
|
.tw-text-font-size-50 {
|
|
564
|
-
|
|
63
|
+
font-size: 1.25rem
|
|
565
64
|
}
|
|
566
65
|
.tw-font-medium {
|
|
567
|
-
|
|
66
|
+
font-weight: 500
|
|
568
67
|
}
|
|
569
68
|
.tw-leading-7 {
|
|
570
|
-
|
|
69
|
+
line-height: 1.75rem
|
|
571
70
|
}
|
|
572
71
|
.tw-text-color-border-dark-subtle {
|
|
573
|
-
|
|
574
|
-
|
|
72
|
+
--tw-text-opacity: 1;
|
|
73
|
+
color: rgb(33 40 55 / var(--tw-text-opacity, 1))
|
|
575
74
|
}
|
|
576
75
|
.tw-text-color-surface-dark {
|
|
577
|
-
|
|
578
|
-
|
|
76
|
+
--tw-text-opacity: 1;
|
|
77
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1))
|
|
579
78
|
}
|
|
580
79
|
.tw-text-color-text-primary {
|
|
581
|
-
|
|
582
|
-
|
|
80
|
+
--tw-text-opacity: 1;
|
|
81
|
+
color: rgb(236 93 37 / var(--tw-text-opacity, 1))
|
|
583
82
|
}
|
|
584
83
|
.tw-text-white {
|
|
585
|
-
|
|
586
|
-
|
|
84
|
+
--tw-text-opacity: 1;
|
|
85
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1))
|
|
587
86
|
}
|
|
588
87
|
.tw-opacity-40 {
|
|
589
|
-
|
|
88
|
+
opacity: 0.4
|
|
590
89
|
}
|
|
591
90
|
@media (min-width: 576px) {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}
|
|
91
|
+
.sm\:tw-p-6 {
|
|
92
|
+
padding: 1.5rem
|
|
93
|
+
}
|
|
596
94
|
}
|
|
597
95
|
|
|
598
96
|
|
|
599
97
|
/* CSS Modules */
|
|
98
|
+
/* src/atom/Radio/Radio.module.scss */
|
|
99
|
+
.Radio-module__radio___1CPAk {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
}
|
|
103
|
+
.Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
|
|
104
|
+
height: 16px;
|
|
105
|
+
width: 16px;
|
|
106
|
+
}
|
|
107
|
+
.Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
|
|
108
|
+
height: 20px;
|
|
109
|
+
width: 20px;
|
|
110
|
+
}
|
|
111
|
+
.Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
|
|
112
|
+
height: 24px;
|
|
113
|
+
width: 24px;
|
|
114
|
+
}
|
|
115
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
|
|
116
|
+
border-color: #EC5D25;
|
|
117
|
+
background-color: #EC5D25;
|
|
118
|
+
}
|
|
119
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
|
|
120
|
+
border-color: #B94710;
|
|
121
|
+
background-color: #B94710;
|
|
122
|
+
}
|
|
123
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
|
|
124
|
+
outline: 2px solid #0A65E7;
|
|
125
|
+
}
|
|
126
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
|
|
127
|
+
cursor: not-allowed;
|
|
128
|
+
}
|
|
129
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
|
|
130
|
+
border-color: #B6BAC3;
|
|
131
|
+
background-color: #B6BAC3;
|
|
132
|
+
}
|
|
133
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
|
|
134
|
+
transform: scale(0.375);
|
|
135
|
+
background-color: #FFFFFF;
|
|
136
|
+
}
|
|
137
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
|
|
138
|
+
border-color: #B6BAC3;
|
|
139
|
+
}
|
|
140
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
|
|
141
|
+
border-color: #6B7280;
|
|
142
|
+
}
|
|
143
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
|
|
144
|
+
outline: 2px solid #0A65E7;
|
|
145
|
+
}
|
|
146
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
|
|
147
|
+
cursor: not-allowed;
|
|
148
|
+
}
|
|
149
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
|
|
150
|
+
border-color: #B6BAC3;
|
|
151
|
+
background-color: #F9FAFB;
|
|
152
|
+
}
|
|
153
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
|
|
154
|
+
color: #363E4F;
|
|
155
|
+
font-weight: 400;
|
|
156
|
+
font-size: 0.875rem;
|
|
157
|
+
line-height: 20px;
|
|
158
|
+
}
|
|
159
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
|
|
160
|
+
color: #363E4F;
|
|
161
|
+
font-weight: 500;
|
|
162
|
+
font-size: 0.875rem;
|
|
163
|
+
line-height: 20px;
|
|
164
|
+
}
|
|
165
|
+
|
|
600
166
|
/* src/atom/Tooltip/Tooltip.module.scss */
|
|
601
167
|
.Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
|
|
602
168
|
background-color: white !important;
|
|
@@ -800,74 +366,6 @@ video {
|
|
|
800
366
|
outline: none;
|
|
801
367
|
}
|
|
802
368
|
|
|
803
|
-
/* src/atom/Radio/Radio.module.scss */
|
|
804
|
-
.Radio-module__radio___1CPAk {
|
|
805
|
-
display: flex;
|
|
806
|
-
align-items: center;
|
|
807
|
-
}
|
|
808
|
-
.Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
|
|
809
|
-
height: 16px;
|
|
810
|
-
width: 16px;
|
|
811
|
-
}
|
|
812
|
-
.Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
|
|
813
|
-
height: 20px;
|
|
814
|
-
width: 20px;
|
|
815
|
-
}
|
|
816
|
-
.Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
|
|
817
|
-
height: 24px;
|
|
818
|
-
width: 24px;
|
|
819
|
-
}
|
|
820
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
|
|
821
|
-
border-color: #EC5D25;
|
|
822
|
-
background-color: #EC5D25;
|
|
823
|
-
}
|
|
824
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
|
|
825
|
-
border-color: #B94710;
|
|
826
|
-
background-color: #B94710;
|
|
827
|
-
}
|
|
828
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
|
|
829
|
-
outline: 2px solid #0A65E7;
|
|
830
|
-
}
|
|
831
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
|
|
832
|
-
cursor: not-allowed;
|
|
833
|
-
}
|
|
834
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
|
|
835
|
-
border-color: #B6BAC3;
|
|
836
|
-
background-color: #B6BAC3;
|
|
837
|
-
}
|
|
838
|
-
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
|
|
839
|
-
transform: scale(0.375);
|
|
840
|
-
background-color: #FFFFFF;
|
|
841
|
-
}
|
|
842
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
|
|
843
|
-
border-color: #B6BAC3;
|
|
844
|
-
}
|
|
845
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
|
|
846
|
-
border-color: #6B7280;
|
|
847
|
-
}
|
|
848
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
|
|
849
|
-
outline: 2px solid #0A65E7;
|
|
850
|
-
}
|
|
851
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
|
|
852
|
-
cursor: not-allowed;
|
|
853
|
-
}
|
|
854
|
-
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
|
|
855
|
-
border-color: #B6BAC3;
|
|
856
|
-
background-color: #F9FAFB;
|
|
857
|
-
}
|
|
858
|
-
.Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
|
|
859
|
-
color: #363E4F;
|
|
860
|
-
font-weight: 400;
|
|
861
|
-
font-size: 0.875rem;
|
|
862
|
-
line-height: 20px;
|
|
863
|
-
}
|
|
864
|
-
.Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
|
|
865
|
-
color: #363E4F;
|
|
866
|
-
font-weight: 500;
|
|
867
|
-
font-size: 0.875rem;
|
|
868
|
-
line-height: 20px;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
369
|
/* src/atom/Switch/Switch.module.scss */
|
|
872
370
|
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
|
|
873
371
|
height: 0.75rem;
|