@itilite/lumina-ui 1.0.1-beta.1 → 1.0.1-beta.3
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 +790 -160
- package/package.json +1 -1
- package/dist/chunk-2O2IH2FG.mjs +0 -83
- package/dist/styles.d.mts +0 -2
- package/dist/styles.d.ts +0 -2
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,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
*,
|
|
3
|
-
::before,
|
|
4
|
-
::after {
|
|
1
|
+
*, ::before, ::after {
|
|
5
2
|
--tw-border-spacing-x: 0;
|
|
6
3
|
--tw-border-spacing-y: 0;
|
|
7
4
|
--tw-translate-x: 0;
|
|
@@ -11,19 +8,19 @@
|
|
|
11
8
|
--tw-skew-y: 0;
|
|
12
9
|
--tw-scale-x: 1;
|
|
13
10
|
--tw-scale-y: 1;
|
|
14
|
-
--tw-pan-x:
|
|
15
|
-
--tw-pan-y:
|
|
16
|
-
--tw-pinch-zoom:
|
|
11
|
+
--tw-pan-x: ;
|
|
12
|
+
--tw-pan-y: ;
|
|
13
|
+
--tw-pinch-zoom: ;
|
|
17
14
|
--tw-scroll-snap-strictness: proximity;
|
|
18
|
-
--tw-gradient-from-position:
|
|
19
|
-
--tw-gradient-via-position:
|
|
20
|
-
--tw-gradient-to-position:
|
|
21
|
-
--tw-ordinal:
|
|
22
|
-
--tw-slashed-zero:
|
|
23
|
-
--tw-numeric-figure:
|
|
24
|
-
--tw-numeric-spacing:
|
|
25
|
-
--tw-numeric-fraction:
|
|
26
|
-
--tw-ring-inset:
|
|
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: ;
|
|
27
24
|
--tw-ring-offset-width: 0px;
|
|
28
25
|
--tw-ring-offset-color: #fff;
|
|
29
26
|
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
@@ -31,29 +28,30 @@
|
|
|
31
28
|
--tw-ring-shadow: 0 0 #0000;
|
|
32
29
|
--tw-shadow: 0 0 #0000;
|
|
33
30
|
--tw-shadow-colored: 0 0 #0000;
|
|
34
|
-
--tw-blur:
|
|
35
|
-
--tw-brightness:
|
|
36
|
-
--tw-contrast:
|
|
37
|
-
--tw-grayscale:
|
|
38
|
-
--tw-hue-rotate:
|
|
39
|
-
--tw-invert:
|
|
40
|
-
--tw-saturate:
|
|
41
|
-
--tw-sepia:
|
|
42
|
-
--tw-drop-shadow:
|
|
43
|
-
--tw-backdrop-blur:
|
|
44
|
-
--tw-backdrop-brightness:
|
|
45
|
-
--tw-backdrop-contrast:
|
|
46
|
-
--tw-backdrop-grayscale:
|
|
47
|
-
--tw-backdrop-hue-rotate:
|
|
48
|
-
--tw-backdrop-invert:
|
|
49
|
-
--tw-backdrop-opacity:
|
|
50
|
-
--tw-backdrop-saturate:
|
|
51
|
-
--tw-backdrop-sepia:
|
|
52
|
-
--tw-contain-size:
|
|
53
|
-
--tw-contain-layout:
|
|
54
|
-
--tw-contain-paint:
|
|
55
|
-
--tw-contain-style:
|
|
56
|
-
}
|
|
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
|
+
|
|
57
55
|
::backdrop {
|
|
58
56
|
--tw-border-spacing-x: 0;
|
|
59
57
|
--tw-border-spacing-y: 0;
|
|
@@ -64,19 +62,19 @@
|
|
|
64
62
|
--tw-skew-y: 0;
|
|
65
63
|
--tw-scale-x: 1;
|
|
66
64
|
--tw-scale-y: 1;
|
|
67
|
-
--tw-pan-x:
|
|
68
|
-
--tw-pan-y:
|
|
69
|
-
--tw-pinch-zoom:
|
|
65
|
+
--tw-pan-x: ;
|
|
66
|
+
--tw-pan-y: ;
|
|
67
|
+
--tw-pinch-zoom: ;
|
|
70
68
|
--tw-scroll-snap-strictness: proximity;
|
|
71
|
-
--tw-gradient-from-position:
|
|
72
|
-
--tw-gradient-via-position:
|
|
73
|
-
--tw-gradient-to-position:
|
|
74
|
-
--tw-ordinal:
|
|
75
|
-
--tw-slashed-zero:
|
|
76
|
-
--tw-numeric-figure:
|
|
77
|
-
--tw-numeric-spacing:
|
|
78
|
-
--tw-numeric-fraction:
|
|
79
|
-
--tw-ring-inset:
|
|
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: ;
|
|
80
78
|
--tw-ring-offset-width: 0px;
|
|
81
79
|
--tw-ring-offset-color: #fff;
|
|
82
80
|
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
@@ -84,73 +82,107 @@
|
|
|
84
82
|
--tw-ring-shadow: 0 0 #0000;
|
|
85
83
|
--tw-shadow: 0 0 #0000;
|
|
86
84
|
--tw-shadow-colored: 0 0 #0000;
|
|
87
|
-
--tw-blur:
|
|
88
|
-
--tw-brightness:
|
|
89
|
-
--tw-contrast:
|
|
90
|
-
--tw-grayscale:
|
|
91
|
-
--tw-hue-rotate:
|
|
92
|
-
--tw-invert:
|
|
93
|
-
--tw-saturate:
|
|
94
|
-
--tw-sepia:
|
|
95
|
-
--tw-drop-shadow:
|
|
96
|
-
--tw-backdrop-blur:
|
|
97
|
-
--tw-backdrop-brightness:
|
|
98
|
-
--tw-backdrop-contrast:
|
|
99
|
-
--tw-backdrop-grayscale:
|
|
100
|
-
--tw-backdrop-hue-rotate:
|
|
101
|
-
--tw-backdrop-invert:
|
|
102
|
-
--tw-backdrop-opacity:
|
|
103
|
-
--tw-backdrop-saturate:
|
|
104
|
-
--tw-backdrop-sepia:
|
|
105
|
-
--tw-contain-size:
|
|
106
|
-
--tw-contain-layout:
|
|
107
|
-
--tw-contain-paint:
|
|
108
|
-
--tw-contain-style:
|
|
109
|
-
}
|
|
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
|
+
|
|
110
114
|
*,
|
|
111
115
|
::before,
|
|
112
116
|
::after {
|
|
113
|
-
box-sizing: border-box;
|
|
114
|
-
border-width: 0;
|
|
115
|
-
border-style: solid;
|
|
116
|
-
border-color: #e5e7eb;
|
|
117
|
+
box-sizing: border-box; /* 1 */
|
|
118
|
+
border-width: 0; /* 2 */
|
|
119
|
+
border-style: solid; /* 2 */
|
|
120
|
+
border-color: #e5e7eb; /* 2 */
|
|
117
121
|
}
|
|
122
|
+
|
|
118
123
|
::before,
|
|
119
124
|
::after {
|
|
120
|
-
--tw-content:
|
|
121
|
-
}
|
|
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
|
+
|
|
122
138
|
html,
|
|
123
139
|
:host {
|
|
124
|
-
line-height: 1.5;
|
|
125
|
-
-webkit-text-size-adjust: 100%;
|
|
126
|
-
-moz-tab-size: 4;
|
|
140
|
+
line-height: 1.5; /* 1 */
|
|
141
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
142
|
+
-moz-tab-size: 4; /* 3 */
|
|
127
143
|
-o-tab-size: 4;
|
|
128
|
-
|
|
129
|
-
font-family:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
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
|
+
|
|
141
156
|
body {
|
|
142
|
-
margin: 0;
|
|
143
|
-
line-height: inherit;
|
|
144
|
-
}
|
|
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
|
+
|
|
145
167
|
hr {
|
|
146
|
-
height: 0;
|
|
147
|
-
color: inherit;
|
|
148
|
-
border-top-width: 1px;
|
|
149
|
-
}
|
|
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
|
+
|
|
150
177
|
abbr:where([title]) {
|
|
151
178
|
-webkit-text-decoration: underline dotted;
|
|
152
|
-
|
|
179
|
+
text-decoration: underline dotted;
|
|
153
180
|
}
|
|
181
|
+
|
|
182
|
+
/*
|
|
183
|
+
Remove the default font size and weight for headings.
|
|
184
|
+
*/
|
|
185
|
+
|
|
154
186
|
h1,
|
|
155
187
|
h2,
|
|
156
188
|
h3,
|
|
@@ -160,34 +192,54 @@ h6 {
|
|
|
160
192
|
font-size: inherit;
|
|
161
193
|
font-weight: inherit;
|
|
162
194
|
}
|
|
195
|
+
|
|
196
|
+
/*
|
|
197
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
198
|
+
*/
|
|
199
|
+
|
|
163
200
|
a {
|
|
164
201
|
color: inherit;
|
|
165
202
|
text-decoration: inherit;
|
|
166
203
|
}
|
|
204
|
+
|
|
205
|
+
/*
|
|
206
|
+
Add the correct font weight in Edge and Safari.
|
|
207
|
+
*/
|
|
208
|
+
|
|
167
209
|
b,
|
|
168
210
|
strong {
|
|
169
211
|
font-weight: bolder;
|
|
170
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
|
+
|
|
171
221
|
code,
|
|
172
222
|
kbd,
|
|
173
223
|
samp,
|
|
174
224
|
pre {
|
|
175
|
-
font-family:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
font-variation-settings: normal;
|
|
186
|
-
font-size: 1em;
|
|
187
|
-
}
|
|
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
|
+
|
|
188
235
|
small {
|
|
189
236
|
font-size: 80%;
|
|
190
237
|
}
|
|
238
|
+
|
|
239
|
+
/*
|
|
240
|
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
241
|
+
*/
|
|
242
|
+
|
|
191
243
|
sub,
|
|
192
244
|
sup {
|
|
193
245
|
font-size: 75%;
|
|
@@ -195,72 +247,146 @@ sup {
|
|
|
195
247
|
position: relative;
|
|
196
248
|
vertical-align: baseline;
|
|
197
249
|
}
|
|
250
|
+
|
|
198
251
|
sub {
|
|
199
252
|
bottom: -0.25em;
|
|
200
253
|
}
|
|
254
|
+
|
|
201
255
|
sup {
|
|
202
256
|
top: -0.5em;
|
|
203
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
|
+
|
|
204
265
|
table {
|
|
205
|
-
text-indent: 0;
|
|
206
|
-
border-color: inherit;
|
|
207
|
-
border-collapse: collapse;
|
|
208
|
-
}
|
|
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
|
+
|
|
209
277
|
button,
|
|
210
278
|
input,
|
|
211
279
|
optgroup,
|
|
212
280
|
select,
|
|
213
281
|
textarea {
|
|
214
|
-
font-family: inherit;
|
|
215
|
-
font-feature-settings: inherit;
|
|
216
|
-
font-variation-settings: inherit;
|
|
217
|
-
font-size: 100%;
|
|
218
|
-
font-weight: inherit;
|
|
219
|
-
line-height: inherit;
|
|
220
|
-
letter-spacing: inherit;
|
|
221
|
-
color: inherit;
|
|
222
|
-
margin: 0;
|
|
223
|
-
padding: 0;
|
|
224
|
-
}
|
|
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
|
+
|
|
225
298
|
button,
|
|
226
299
|
select {
|
|
227
300
|
text-transform: none;
|
|
228
301
|
}
|
|
302
|
+
|
|
303
|
+
/*
|
|
304
|
+
1. Correct the inability to style clickable types in iOS and Safari.
|
|
305
|
+
2. Remove default button styles.
|
|
306
|
+
*/
|
|
307
|
+
|
|
229
308
|
button,
|
|
230
|
-
input:where([type=button]),
|
|
231
|
-
input:where([type=reset]),
|
|
232
|
-
input:where([type=submit]) {
|
|
233
|
-
-webkit-appearance: button;
|
|
234
|
-
background-color: transparent;
|
|
235
|
-
background-image: none;
|
|
236
|
-
}
|
|
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
|
+
|
|
237
321
|
:-moz-focusring {
|
|
238
322
|
outline: auto;
|
|
239
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
|
+
|
|
240
329
|
:-moz-ui-invalid {
|
|
241
330
|
box-shadow: none;
|
|
242
331
|
}
|
|
332
|
+
|
|
333
|
+
/*
|
|
334
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
335
|
+
*/
|
|
336
|
+
|
|
243
337
|
progress {
|
|
244
338
|
vertical-align: baseline;
|
|
245
339
|
}
|
|
340
|
+
|
|
341
|
+
/*
|
|
342
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
343
|
+
*/
|
|
344
|
+
|
|
246
345
|
::-webkit-inner-spin-button,
|
|
247
346
|
::-webkit-outer-spin-button {
|
|
248
347
|
height: auto;
|
|
249
348
|
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
+
|
|
254
364
|
::-webkit-search-decoration {
|
|
255
365
|
-webkit-appearance: none;
|
|
256
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
|
+
|
|
257
373
|
::-webkit-file-upload-button {
|
|
258
|
-
-webkit-appearance: button;
|
|
259
|
-
font: inherit;
|
|
260
|
-
}
|
|
374
|
+
-webkit-appearance: button; /* 1 */
|
|
375
|
+
font: inherit; /* 2 */
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
Add the correct display in Chrome and Safari.
|
|
380
|
+
*/
|
|
381
|
+
|
|
261
382
|
summary {
|
|
262
383
|
display: list-item;
|
|
263
384
|
}
|
|
385
|
+
|
|
386
|
+
/*
|
|
387
|
+
Removes the default spacing and border for appropriate elements.
|
|
388
|
+
*/
|
|
389
|
+
|
|
264
390
|
blockquote,
|
|
265
391
|
dl,
|
|
266
392
|
dd,
|
|
@@ -276,13 +402,16 @@ p,
|
|
|
276
402
|
pre {
|
|
277
403
|
margin: 0;
|
|
278
404
|
}
|
|
405
|
+
|
|
279
406
|
fieldset {
|
|
280
407
|
margin: 0;
|
|
281
408
|
padding: 0;
|
|
282
409
|
}
|
|
410
|
+
|
|
283
411
|
legend {
|
|
284
412
|
padding: 0;
|
|
285
413
|
}
|
|
414
|
+
|
|
286
415
|
ol,
|
|
287
416
|
ul,
|
|
288
417
|
menu {
|
|
@@ -290,29 +419,60 @@ menu {
|
|
|
290
419
|
margin: 0;
|
|
291
420
|
padding: 0;
|
|
292
421
|
}
|
|
422
|
+
|
|
423
|
+
/*
|
|
424
|
+
Reset default styling for dialogs.
|
|
425
|
+
*/
|
|
293
426
|
dialog {
|
|
294
427
|
padding: 0;
|
|
295
428
|
}
|
|
429
|
+
|
|
430
|
+
/*
|
|
431
|
+
Prevent resizing textareas horizontally by default.
|
|
432
|
+
*/
|
|
433
|
+
|
|
296
434
|
textarea {
|
|
297
435
|
resize: vertical;
|
|
298
436
|
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
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
|
+
|
|
304
448
|
input::placeholder,
|
|
305
449
|
textarea::placeholder {
|
|
306
|
-
opacity: 1;
|
|
307
|
-
color: #9ca3af;
|
|
308
|
-
}
|
|
450
|
+
opacity: 1; /* 1 */
|
|
451
|
+
color: #9ca3af; /* 2 */
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/*
|
|
455
|
+
Set the default cursor for buttons.
|
|
456
|
+
*/
|
|
457
|
+
|
|
309
458
|
button,
|
|
310
|
-
[role=button] {
|
|
459
|
+
[role="button"] {
|
|
311
460
|
cursor: pointer;
|
|
312
461
|
}
|
|
462
|
+
|
|
463
|
+
/*
|
|
464
|
+
Make sure disabled buttons don't get the pointer cursor.
|
|
465
|
+
*/
|
|
313
466
|
:disabled {
|
|
314
467
|
cursor: default;
|
|
315
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
|
+
|
|
316
476
|
img,
|
|
317
477
|
svg,
|
|
318
478
|
video,
|
|
@@ -321,15 +481,22 @@ audio,
|
|
|
321
481
|
iframe,
|
|
322
482
|
embed,
|
|
323
483
|
object {
|
|
324
|
-
display: block;
|
|
325
|
-
vertical-align: middle;
|
|
326
|
-
}
|
|
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
|
+
|
|
327
492
|
img,
|
|
328
493
|
video {
|
|
329
494
|
max-width: 100%;
|
|
330
495
|
height: auto;
|
|
331
496
|
}
|
|
332
|
-
|
|
497
|
+
|
|
498
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
499
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
333
500
|
display: none;
|
|
334
501
|
}
|
|
335
502
|
.tw-right-6 {
|
|
@@ -382,7 +549,7 @@ video {
|
|
|
382
549
|
}
|
|
383
550
|
.tw-object-cover {
|
|
384
551
|
-o-object-fit: cover;
|
|
385
|
-
|
|
552
|
+
object-fit: cover;
|
|
386
553
|
}
|
|
387
554
|
.tw-p-2 {
|
|
388
555
|
padding: 0.5rem;
|
|
@@ -422,7 +589,470 @@ video {
|
|
|
422
589
|
opacity: 0.4;
|
|
423
590
|
}
|
|
424
591
|
@media (min-width: 576px) {
|
|
592
|
+
|
|
425
593
|
.sm\:tw-p-6 {
|
|
426
594
|
padding: 1.5rem;
|
|
427
595
|
}
|
|
428
596
|
}
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
/* CSS Modules */
|
|
600
|
+
/* src/atom/Tooltip/Tooltip.module.scss */
|
|
601
|
+
.Tooltip-module__light___H5oCc .ant-tooltip-content .ant-tooltip-inner {
|
|
602
|
+
background-color: white !important;
|
|
603
|
+
color: #111827;
|
|
604
|
+
border-radius: 0.5rem;
|
|
605
|
+
padding: 0.625rem;
|
|
606
|
+
--tw-text-opacity: 1;
|
|
607
|
+
color: rgb(33 40 55 / var(--tw-text-opacity, 1));
|
|
608
|
+
}
|
|
609
|
+
.Tooltip-module__light___H5oCc .ant-tooltip-arrow:before {
|
|
610
|
+
background-color: white !important;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/* src/atom/Radio/Radio.module.scss */
|
|
614
|
+
.Radio-module__radio___1CPAk {
|
|
615
|
+
display: flex;
|
|
616
|
+
align-items: center;
|
|
617
|
+
}
|
|
618
|
+
.Radio-module__radio___1CPAk.Radio-module__size_small___nRXgM .ant-radio .ant-radio-inner {
|
|
619
|
+
height: 16px;
|
|
620
|
+
width: 16px;
|
|
621
|
+
}
|
|
622
|
+
.Radio-module__radio___1CPAk.Radio-module__size_medium___uSzPl .ant-radio .ant-radio-inner {
|
|
623
|
+
height: 20px;
|
|
624
|
+
width: 20px;
|
|
625
|
+
}
|
|
626
|
+
.Radio-module__radio___1CPAk.Radio-module__size_large___ubpHs .ant-radio .ant-radio-inner {
|
|
627
|
+
height: 24px;
|
|
628
|
+
width: 24px;
|
|
629
|
+
}
|
|
630
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked .ant-radio-inner {
|
|
631
|
+
border-color: #EC5D25;
|
|
632
|
+
background-color: #EC5D25;
|
|
633
|
+
}
|
|
634
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:hover .ant-radio-inner {
|
|
635
|
+
border-color: #B94710;
|
|
636
|
+
background-color: #B94710;
|
|
637
|
+
}
|
|
638
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu .ant-radio-checked:focus-visible {
|
|
639
|
+
outline: 2px solid #0A65E7;
|
|
640
|
+
}
|
|
641
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z {
|
|
642
|
+
cursor: not-allowed;
|
|
643
|
+
}
|
|
644
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner {
|
|
645
|
+
border-color: #B6BAC3;
|
|
646
|
+
background-color: #B6BAC3;
|
|
647
|
+
}
|
|
648
|
+
.Radio-module__radio___1CPAk.Radio-module__type_checked___BvPpu.Radio-module__disabled___AF98Z .ant-radio-checked .ant-radio-inner::after {
|
|
649
|
+
transform: scale(0.375);
|
|
650
|
+
background-color: #FFFFFF;
|
|
651
|
+
}
|
|
652
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio .ant-radio-inner {
|
|
653
|
+
border-color: #B6BAC3;
|
|
654
|
+
}
|
|
655
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:hover .ant-radio-inner {
|
|
656
|
+
border-color: #6B7280;
|
|
657
|
+
}
|
|
658
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7 .ant-radio:focus-visible {
|
|
659
|
+
outline: 2px solid #0A65E7;
|
|
660
|
+
}
|
|
661
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z {
|
|
662
|
+
cursor: not-allowed;
|
|
663
|
+
}
|
|
664
|
+
.Radio-module__radio___1CPAk.Radio-module__type_unchecked___Xrb-7.Radio-module__disabled___AF98Z .ant-radio .ant-radio-inner {
|
|
665
|
+
border-color: #B6BAC3;
|
|
666
|
+
background-color: #F9FAFB;
|
|
667
|
+
}
|
|
668
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_normal___FQkTC {
|
|
669
|
+
color: #363E4F;
|
|
670
|
+
font-weight: 400;
|
|
671
|
+
font-size: 0.875rem;
|
|
672
|
+
line-height: 20px;
|
|
673
|
+
}
|
|
674
|
+
.Radio-module__radio___1CPAk.Radio-module__variant_emphasized___Fgpv6 {
|
|
675
|
+
color: #363E4F;
|
|
676
|
+
font-weight: 500;
|
|
677
|
+
font-size: 0.875rem;
|
|
678
|
+
line-height: 20px;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/* src/atom/Switch/Switch.module.scss */
|
|
682
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small {
|
|
683
|
+
height: 0.75rem;
|
|
684
|
+
min-width: 1.5rem
|
|
685
|
+
}
|
|
686
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-small .ant-switch-handle {
|
|
687
|
+
height: 0.5rem;
|
|
688
|
+
width: 0.5rem
|
|
689
|
+
}
|
|
690
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked {
|
|
691
|
+
--tw-bg-opacity: 1;
|
|
692
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
693
|
+
}
|
|
694
|
+
.Switch-module__switch___fUHZL.ant-switch.ant-switch-checked:hover {
|
|
695
|
+
--tw-bg-opacity: 1;
|
|
696
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1))
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/* src/atom/Checkbox/Checkbox.module.scss */
|
|
700
|
+
.Checkbox-module__checkbox___xxg5L {
|
|
701
|
+
display: flex;
|
|
702
|
+
align-items: center;
|
|
703
|
+
}
|
|
704
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_small___Kknlo .ant-checkbox .ant-checkbox-inner {
|
|
705
|
+
height: 16px;
|
|
706
|
+
width: 16px;
|
|
707
|
+
}
|
|
708
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner {
|
|
709
|
+
height: 20px;
|
|
710
|
+
width: 20px;
|
|
711
|
+
}
|
|
712
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_medium___V6Ah8 .ant-checkbox .ant-checkbox-inner::after {
|
|
713
|
+
inset-inline-start: 27%;
|
|
714
|
+
}
|
|
715
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner {
|
|
716
|
+
height: 24px;
|
|
717
|
+
width: 24px;
|
|
718
|
+
}
|
|
719
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__size_large___eWjFY .ant-checkbox .ant-checkbox-inner::after {
|
|
720
|
+
inset-inline-start: 33%;
|
|
721
|
+
}
|
|
722
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked .ant-checkbox-inner {
|
|
723
|
+
border-color: #ec5d25;
|
|
724
|
+
background-color: #ec5d25;
|
|
725
|
+
}
|
|
726
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.ant-checkbox-wrapper:hover
|
|
727
|
+
.ant-checkbox-checked:not(.ant-checkbox-disabled)
|
|
728
|
+
.ant-checkbox-inner {
|
|
729
|
+
--tw-bg-opacity: 1;
|
|
730
|
+
background-color: rgb(185 71 16 / var(--tw-bg-opacity, 1));
|
|
731
|
+
}
|
|
732
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T .ant-checkbox-checked:focus-visible {
|
|
733
|
+
outline: 2px solid #0a65e7;
|
|
734
|
+
}
|
|
735
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 {
|
|
736
|
+
cursor: not-allowed;
|
|
737
|
+
}
|
|
738
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner {
|
|
739
|
+
opacity: 0.5;
|
|
740
|
+
border-color: #ec5d25;
|
|
741
|
+
background-color: #ec5d25;
|
|
742
|
+
}
|
|
743
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_checked___5742T.Checkbox-module__disabled___v-RG1 .ant-checkbox-checked .ant-checkbox-inner::after {
|
|
744
|
+
border-color: #ffffff;
|
|
745
|
+
}
|
|
746
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox .ant-checkbox-inner {
|
|
747
|
+
border-color: #b6bac3;
|
|
748
|
+
}
|
|
749
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:hover .ant-checkbox-inner {
|
|
750
|
+
border-color: #6b7280;
|
|
751
|
+
}
|
|
752
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP .ant-checkbox:focus-visible {
|
|
753
|
+
outline: 2px solid #0a65e7;
|
|
754
|
+
}
|
|
755
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 {
|
|
756
|
+
cursor: not-allowed;
|
|
757
|
+
}
|
|
758
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__type_unchecked___QFMpP.Checkbox-module__disabled___v-RG1 .ant-checkbox .ant-checkbox-inner {
|
|
759
|
+
border-color: #b6bac3;
|
|
760
|
+
background-color: #f9fafb;
|
|
761
|
+
}
|
|
762
|
+
.Checkbox-module__checkbox___xxg5L .ant-checkbox-disabled + span {
|
|
763
|
+
color: #363e4f;
|
|
764
|
+
}
|
|
765
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_normal___faYKo {
|
|
766
|
+
color: #363e4f;
|
|
767
|
+
font-weight: 400;
|
|
768
|
+
font-size: 0.875rem;
|
|
769
|
+
line-height: 20px;
|
|
770
|
+
}
|
|
771
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_emphasized___-koYj {
|
|
772
|
+
color: #363e4f;
|
|
773
|
+
font-weight: 500;
|
|
774
|
+
font-size: 0.875rem;
|
|
775
|
+
line-height: 20px;
|
|
776
|
+
}
|
|
777
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
778
|
+
opacity: 0.5;
|
|
779
|
+
border-color: #ec5d25;
|
|
780
|
+
background-color: #ec5d25;
|
|
781
|
+
}
|
|
782
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc.Checkbox-module__disabled___v-RG1 .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
783
|
+
border-color: #ffffff;
|
|
784
|
+
}
|
|
785
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner {
|
|
786
|
+
border-color: #ec5d25 !important;
|
|
787
|
+
background-color: #ec5d25 !important;
|
|
788
|
+
}
|
|
789
|
+
.Checkbox-module__checkbox___xxg5L.Checkbox-module__variant_indeterminate___J5Xcc .ant-checkbox-indeterminate .ant-checkbox-inner::after {
|
|
790
|
+
inset-inline-start: 50%;
|
|
791
|
+
width: 60%;
|
|
792
|
+
height: 3px;
|
|
793
|
+
border-radius: 4px;
|
|
794
|
+
background: white;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/* src/atom/Button/Button.module.scss */
|
|
798
|
+
.Button-module__button___cLCyl {
|
|
799
|
+
display: flex;
|
|
800
|
+
align-items: center;
|
|
801
|
+
justify-content: center;
|
|
802
|
+
gap: 0.25rem;
|
|
803
|
+
border-radius: 0.5rem;
|
|
804
|
+
}
|
|
805
|
+
.Button-module__button___cLCyl.Button-module__size_large___S-mbU {
|
|
806
|
+
height: 56px;
|
|
807
|
+
padding-left: 1rem;
|
|
808
|
+
padding-right: 1rem;
|
|
809
|
+
}
|
|
810
|
+
.Button-module__button___cLCyl.Button-module__size_large___S-mbU.Button-module__shape_circle___sPUS5 {
|
|
811
|
+
width: 56px;
|
|
812
|
+
}
|
|
813
|
+
.Button-module__button___cLCyl.Button-module__size_normal___qJUMj {
|
|
814
|
+
height: 40px;
|
|
815
|
+
padding-left: 0.75rem;
|
|
816
|
+
padding-right: 0.75rem;
|
|
817
|
+
}
|
|
818
|
+
.Button-module__button___cLCyl.Button-module__size_normal___qJUMj.Button-module__shape_circle___sPUS5 {
|
|
819
|
+
width: 40px;
|
|
820
|
+
}
|
|
821
|
+
.Button-module__button___cLCyl.Button-module__size_small___IUeei {
|
|
822
|
+
height: 32px;
|
|
823
|
+
padding-left: 0.5rem;
|
|
824
|
+
padding-right: 0.5rem;
|
|
825
|
+
}
|
|
826
|
+
.Button-module__button___cLCyl.Button-module__size_small___IUeei.Button-module__shape_circle___sPUS5 {
|
|
827
|
+
width: 32px;
|
|
828
|
+
}
|
|
829
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz- {
|
|
830
|
+
--tw-bg-opacity: 1;
|
|
831
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1));
|
|
832
|
+
border-width: 1px;
|
|
833
|
+
border-style: solid;
|
|
834
|
+
--tw-border-opacity: 1;
|
|
835
|
+
border-color: rgb(236 93 37 / var(--tw-border-opacity, 1));
|
|
836
|
+
box-shadow: 0 1px 0 0 rgba(17, 24, 39, 0.1);
|
|
837
|
+
}
|
|
838
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-.ant-btn-primary:hover, .Button-module__button___cLCyl.Button-module__type_primary___Tauz-.ant-btn-primary:active {
|
|
839
|
+
--tw-bg-opacity: 1;
|
|
840
|
+
background-color: rgb(236 93 37 / var(--tw-bg-opacity, 1));
|
|
841
|
+
box-shadow: 0px 2px 4px 0px rgba(17, 24, 39, 0.1);
|
|
842
|
+
}
|
|
843
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-:focus-visible {
|
|
844
|
+
outline: 2px solid rgba(236, 93, 37, 0.3803921569);
|
|
845
|
+
}
|
|
846
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_subtle___BMbbd {
|
|
847
|
+
--tw-text-opacity: 1;
|
|
848
|
+
color: rgb(236 93 37 / var(--tw-text-opacity, 1));
|
|
849
|
+
}
|
|
850
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_subtle___BMbbd:hover {
|
|
851
|
+
--tw-text-opacity: 1;
|
|
852
|
+
color: rgb(236 93 37 / var(--tw-text-opacity, 1));
|
|
853
|
+
}
|
|
854
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_text___Pc5Ia, .Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_link___Cj1O9 {
|
|
855
|
+
--tw-text-opacity: 1;
|
|
856
|
+
color: rgb(236 93 37 / var(--tw-text-opacity, 1));
|
|
857
|
+
}
|
|
858
|
+
.Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_text___Pc5Ia:hover, .Button-module__button___cLCyl.Button-module__type_primary___Tauz-.Button-module__variant_link___Cj1O9:hover {
|
|
859
|
+
--tw-text-opacity: 1;
|
|
860
|
+
color: rgb(236 93 37 / var(--tw-text-opacity, 1));
|
|
861
|
+
}
|
|
862
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA {
|
|
863
|
+
border-width: 1px;
|
|
864
|
+
border-style: solid;
|
|
865
|
+
--tw-bg-opacity: 1;
|
|
866
|
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
867
|
+
--tw-border-opacity: 1;
|
|
868
|
+
border-color: rgb(17 24 39 / var(--tw-border-opacity, 1));
|
|
869
|
+
box-shadow: 0 1px 0 0 rgba(17, 24, 39, 0.1);
|
|
870
|
+
}
|
|
871
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.ant-btn-primary:hover, .Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.ant-btn-primary:active {
|
|
872
|
+
--tw-bg-opacity: 1;
|
|
873
|
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
874
|
+
box-shadow: 0px 2px 4px 0px rgba(17, 24, 39, 0.1);
|
|
875
|
+
}
|
|
876
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.ant-btn-primary:focus-visible {
|
|
877
|
+
outline: 2px solid rgba(236, 93, 37, 0.3803921569);
|
|
878
|
+
}
|
|
879
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_subtle___BMbbd {
|
|
880
|
+
--tw-text-opacity: 1;
|
|
881
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
|
|
882
|
+
}
|
|
883
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_subtle___BMbbd:hover {
|
|
884
|
+
--tw-text-opacity: 1;
|
|
885
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
|
|
886
|
+
}
|
|
887
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_text___Pc5Ia, .Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_link___Cj1O9 {
|
|
888
|
+
--tw-text-opacity: 1;
|
|
889
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
|
|
890
|
+
}
|
|
891
|
+
.Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_text___Pc5Ia:hover, .Button-module__button___cLCyl.Button-module__type_secondary___CLmrA.Button-module__variant_link___Cj1O9:hover {
|
|
892
|
+
--tw-text-opacity: 1;
|
|
893
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
|
|
894
|
+
}
|
|
895
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp {
|
|
896
|
+
border-width: 1px;
|
|
897
|
+
--tw-bg-opacity: 1;
|
|
898
|
+
background-color: rgb(207 34 49 / var(--tw-bg-opacity, 1));
|
|
899
|
+
border-style: solid;
|
|
900
|
+
--tw-border-opacity: 1;
|
|
901
|
+
border-color: rgb(207 34 49 / var(--tw-border-opacity, 1));
|
|
902
|
+
box-shadow: 0 1px 0 0 rgba(17, 24, 39, 0.1);
|
|
903
|
+
}
|
|
904
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.ant-btn-primary:hover, .Button-module__button___cLCyl.Button-module__type_critical___6ILOp.ant-btn-primary:active {
|
|
905
|
+
--tw-bg-opacity: 1;
|
|
906
|
+
background-color: rgb(207 34 49 / var(--tw-bg-opacity, 1));
|
|
907
|
+
box-shadow: 0px 2px 4px 0px rgba(17, 24, 39, 0.1);
|
|
908
|
+
}
|
|
909
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.ant-btn-primary:focus-visible {
|
|
910
|
+
outline: 2px solid rgba(236, 93, 37, 0.3803921569);
|
|
911
|
+
}
|
|
912
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_subtle___BMbbd {
|
|
913
|
+
--tw-text-opacity: 1;
|
|
914
|
+
color: rgb(207 34 49 / var(--tw-text-opacity, 1));
|
|
915
|
+
}
|
|
916
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_subtle___BMbbd:hover {
|
|
917
|
+
--tw-text-opacity: 1;
|
|
918
|
+
color: rgb(207 34 49 / var(--tw-text-opacity, 1));
|
|
919
|
+
}
|
|
920
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_text___Pc5Ia, .Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_link___Cj1O9 {
|
|
921
|
+
--tw-text-opacity: 1;
|
|
922
|
+
color: rgb(207 34 49 / var(--tw-text-opacity, 1));
|
|
923
|
+
}
|
|
924
|
+
.Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_text___Pc5Ia:hover, .Button-module__button___cLCyl.Button-module__type_critical___6ILOp.Button-module__variant_link___Cj1O9:hover {
|
|
925
|
+
--tw-text-opacity: 1;
|
|
926
|
+
color: rgb(207 34 49 / var(--tw-text-opacity, 1));
|
|
927
|
+
}
|
|
928
|
+
.Button-module__button___cLCyl.Button-module__variant_subtle___BMbbd {
|
|
929
|
+
--tw-bg-opacity: 1;
|
|
930
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
931
|
+
border-width: 1px;
|
|
932
|
+
border-style: solid;
|
|
933
|
+
--tw-border-opacity: 1;
|
|
934
|
+
border-color: rgb(211 216 223 / var(--tw-border-opacity, 1));
|
|
935
|
+
box-shadow: 0px 1px 0px 0px rgba(17, 24, 39, 0.1);
|
|
936
|
+
}
|
|
937
|
+
.Button-module__button___cLCyl.Button-module__variant_subtle___BMbbd.ant-btn-default:hover {
|
|
938
|
+
box-shadow: 0px 2px 4px 0px rgba(17, 24, 39, 0.15);
|
|
939
|
+
--tw-border-opacity: 1;
|
|
940
|
+
border-color: rgb(211 216 223 / var(--tw-border-opacity, 1));
|
|
941
|
+
}
|
|
942
|
+
.Button-module__button___cLCyl.Button-module__variant_subtle___BMbbd.ant-btn-default:focus-visible {
|
|
943
|
+
outline: 2px solid rgba(236, 93, 37, 0.3803921569);
|
|
944
|
+
}
|
|
945
|
+
.Button-module__button___cLCyl.Button-module__variant_text___Pc5Ia {
|
|
946
|
+
background-color: transparent;
|
|
947
|
+
border-width: 0px;
|
|
948
|
+
border-style: none;
|
|
949
|
+
box-shadow: none;
|
|
950
|
+
}
|
|
951
|
+
.Button-module__button___cLCyl.Button-module__variant_text___Pc5Ia.ant-btn-default:hover {
|
|
952
|
+
box-shadow: 0px 2px 4px 0px rgba(17, 24, 39, 0.15);
|
|
953
|
+
border-style: none;
|
|
954
|
+
--tw-bg-opacity: 1;
|
|
955
|
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
|
|
956
|
+
}
|
|
957
|
+
.Button-module__button___cLCyl.Button-module__variant_text___Pc5Ia.ant-btn-default:active {
|
|
958
|
+
--tw-bg-opacity: 1;
|
|
959
|
+
background-color: rgb(241 243 245 / var(--tw-bg-opacity, 1));
|
|
960
|
+
}
|
|
961
|
+
.Button-module__button___cLCyl.Button-module__variant_text___Pc5Ia.ant-btn:focus-visible {
|
|
962
|
+
outline: 2px solid rgba(236, 93, 37, 0.2);
|
|
963
|
+
}
|
|
964
|
+
.Button-module__button___cLCyl.Button-module__variant_link___Cj1O9 {
|
|
965
|
+
background-color: transparent;
|
|
966
|
+
padding: 0px;
|
|
967
|
+
border-width: 0px;
|
|
968
|
+
border-style: none;
|
|
969
|
+
height: auto;
|
|
970
|
+
box-shadow: none;
|
|
971
|
+
}
|
|
972
|
+
.Button-module__button___cLCyl.Button-module__variant_link___Cj1O9.ant-btn-default:hover.Button-module__onHoverUnderline___LOfXo {
|
|
973
|
+
text-decoration: underline;
|
|
974
|
+
}
|
|
975
|
+
.Button-module__button___cLCyl.Button-module__variant_link___Cj1O9.ant-btn-default:hover {
|
|
976
|
+
box-shadow: none;
|
|
977
|
+
border-style: none;
|
|
978
|
+
background-color: transparent;
|
|
979
|
+
}
|
|
980
|
+
.Button-module__button___cLCyl.Button-module__variant_link___Cj1O9.ant-btn-default:active {
|
|
981
|
+
background-color: transparent;
|
|
982
|
+
}
|
|
983
|
+
.Button-module__button___cLCyl.Button-module__variant_link___Cj1O9.ant-btn:focus-visible {
|
|
984
|
+
outline: none;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/* src/atom/Modal/Modal.module.scss */
|
|
988
|
+
.Modal-module__modal___PKrAi.Modal-module__footerMargintopDisable___4B6u- .Modal-module__ant-modal-footer___HKsDR {
|
|
989
|
+
margin-top: 0;
|
|
990
|
+
margin-top: 0px;
|
|
991
|
+
}
|
|
992
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter {
|
|
993
|
+
padding: 24px;
|
|
994
|
+
padding: 1.5rem;
|
|
995
|
+
display: flex;
|
|
996
|
+
justify-content: flex-end;
|
|
997
|
+
}
|
|
998
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__okBtn___Ut8e5,
|
|
999
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .primaryFooter .Modal-module__cancelBtn___i0Rm8 {
|
|
1000
|
+
min-width: 92px;
|
|
1001
|
+
}
|
|
1002
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter {
|
|
1003
|
+
padding: 24px;
|
|
1004
|
+
padding: 1.5rem;
|
|
1005
|
+
padding-top: 0px;
|
|
1006
|
+
display: flex;
|
|
1007
|
+
justify-content: flex-end;
|
|
1008
|
+
}
|
|
1009
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__okBtn___Ut8e5,
|
|
1010
|
+
.Modal-module__modal___PKrAi .ant-modal-footer .secondaryFooter .Modal-module__cancelBtn___i0Rm8 {
|
|
1011
|
+
width: 50%;
|
|
1012
|
+
}
|
|
1013
|
+
.Modal-module__modal___PKrAi .ant-modal-content {
|
|
1014
|
+
padding: 0;
|
|
1015
|
+
border-radius: 0.75rem;
|
|
1016
|
+
padding: 0px;
|
|
1017
|
+
}
|
|
1018
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
|
|
1019
|
+
margin-bottom: 0px;
|
|
1020
|
+
padding: 1rem;
|
|
1021
|
+
}
|
|
1022
|
+
@media (min-width: 576px) {
|
|
1023
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header {
|
|
1024
|
+
padding: 1.5rem;
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-header .ant-modal-title {
|
|
1028
|
+
justify-content: flex-start;
|
|
1029
|
+
padding-right: 1.25rem;
|
|
1030
|
+
font-size: 1.25rem;
|
|
1031
|
+
font-weight: 500;
|
|
1032
|
+
line-height: 1.75rem;
|
|
1033
|
+
--tw-text-opacity: 1;
|
|
1034
|
+
color: rgb(17 24 39 / var(--tw-text-opacity, 1));
|
|
1035
|
+
}
|
|
1036
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
|
|
1037
|
+
display: flex;
|
|
1038
|
+
align-items: flex-end;
|
|
1039
|
+
justify-content: center;
|
|
1040
|
+
}
|
|
1041
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close .ant-modal-close-x {
|
|
1042
|
+
display: flex;
|
|
1043
|
+
align-items: center;
|
|
1044
|
+
justify-content: center;
|
|
1045
|
+
}
|
|
1046
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-body {
|
|
1047
|
+
padding: 0 1.5rem 1.5rem;
|
|
1048
|
+
max-height: 80vh;
|
|
1049
|
+
overflow: auto;
|
|
1050
|
+
}
|
|
1051
|
+
.Modal-module__modal___PKrAi .ant-modal-content .ant-modal-close {
|
|
1052
|
+
top: 1.5rem;
|
|
1053
|
+
right: 1.5rem;
|
|
1054
|
+
padding-bottom: 0.25rem;
|
|
1055
|
+
}
|
|
1056
|
+
.Modal-module__modal___PKrAi .ant-btn-primary {
|
|
1057
|
+
margin-inline-start: 0.5rem;
|
|
1058
|
+
}
|
package/package.json
CHANGED
package/dist/chunk-2O2IH2FG.mjs
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// src/atom/Avatar/Avatar.tsx
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
var COLOR_MAP = {
|
|
5
|
-
A: "#6455BF",
|
|
6
|
-
B: "#C46273",
|
|
7
|
-
C: "#52A79E",
|
|
8
|
-
D: "#DF8654",
|
|
9
|
-
E: "#B8639F",
|
|
10
|
-
F: "#6455BF",
|
|
11
|
-
G: "#C46273",
|
|
12
|
-
H: "#52A79E",
|
|
13
|
-
I: "#DF8654",
|
|
14
|
-
J: "#B8639F",
|
|
15
|
-
K: "#6455BF",
|
|
16
|
-
L: "#C46273",
|
|
17
|
-
M: "#52A79E",
|
|
18
|
-
N: "#DF8654",
|
|
19
|
-
O: "#B8639F",
|
|
20
|
-
P: "#6455BF",
|
|
21
|
-
Q: "#C46273",
|
|
22
|
-
R: "#52A79E",
|
|
23
|
-
S: "#DF8654",
|
|
24
|
-
T: "#B8639F",
|
|
25
|
-
U: "#6455BF",
|
|
26
|
-
V: "#C46273",
|
|
27
|
-
W: "#52A79E",
|
|
28
|
-
X: "#DF8654",
|
|
29
|
-
Y: "#B8639F",
|
|
30
|
-
Z: "#6455BF",
|
|
31
|
-
0: "#6455BF",
|
|
32
|
-
1: "#C46273",
|
|
33
|
-
6: "#C46273",
|
|
34
|
-
2: "#52A79E",
|
|
35
|
-
7: "#52A79E",
|
|
36
|
-
3: "#DF8654",
|
|
37
|
-
8: "#DF8654",
|
|
38
|
-
4: "#B8639F",
|
|
39
|
-
9: "#B8639F"
|
|
40
|
-
};
|
|
41
|
-
function Avatar({
|
|
42
|
-
img,
|
|
43
|
-
className,
|
|
44
|
-
name,
|
|
45
|
-
height = 28,
|
|
46
|
-
width = 28,
|
|
47
|
-
size = "normal"
|
|
48
|
-
}) {
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
style: { height, width },
|
|
53
|
-
className: "tw-rounded-full tw-flex tw-items-center",
|
|
54
|
-
children: !img && name ? /* @__PURE__ */ jsx(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
style: { backgroundColor: COLOR_MAP[name[0]] },
|
|
58
|
-
className: clsx(
|
|
59
|
-
{ "tw-text-font-size-10": size === "small" },
|
|
60
|
-
`tw-text-white tw-font-medium tw-rounded-full tw-flex tw-items-center tw-justify-center `,
|
|
61
|
-
className
|
|
62
|
-
),
|
|
63
|
-
children: name[0]
|
|
64
|
-
}
|
|
65
|
-
) : img ? /* @__PURE__ */ jsx(
|
|
66
|
-
"img",
|
|
67
|
-
{
|
|
68
|
-
src: img,
|
|
69
|
-
style: { height, width },
|
|
70
|
-
alt: name,
|
|
71
|
-
className: clsx("tw-rounded-full tw-object-cover", className)
|
|
72
|
-
}
|
|
73
|
-
) : null
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
Avatar.displayName = "Avatar";
|
|
78
|
-
var Avatar_default = Avatar;
|
|
79
|
-
|
|
80
|
-
export {
|
|
81
|
-
Avatar,
|
|
82
|
-
Avatar_default
|
|
83
|
-
};
|
package/dist/styles.d.mts
DELETED
package/dist/styles.d.ts
DELETED