@1money/component-ui 0.0.48 → 0.0.50
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/es/components/Accordion/style/Accordion.css +94 -1
- package/es/components/Alert/style/Alert.css +101 -1
- package/es/components/Button/style/Button.css +178 -1
- package/es/components/Calendar/style/Calendar.css +400 -1
- package/es/components/Carousel/style/Carousel.css +57 -1
- package/es/components/Cell/style/Cell.css +80 -1
- package/es/components/Checkbox/style/Checkbox.css +191 -1
- package/es/components/CoachMark/style/CoachMark.css +156 -1
- package/es/components/Copy/style/Clipboard.css +45 -1
- package/es/components/Copy/style/Copy.css +48 -1
- package/es/components/Dialog/style/Dialog.css +204 -1
- package/es/components/Divider/style/Divider.css +128 -1
- package/es/components/Drawer/style/Drawer.css +145 -1
- package/es/components/Dropdown/style/Dropdown.css +48 -1
- package/es/components/Empty/style/Empty.css +58 -1
- package/es/components/Flex/style/Flex.css +71 -1
- package/es/components/Grid/style/Grid.css +952 -1
- package/es/components/Icons/style/Icons.css +81 -1
- package/es/components/Input/Amount/style/Amount.css +103 -1
- package/es/components/Input/FieldShell/FieldShell.css +76 -1
- package/es/components/Input/Input/Input.css +124 -1
- package/es/components/Input/OTP/OTP.css +79 -1
- package/es/components/Input/TextArea/TextArea.css +93 -1
- package/es/components/Input/Trade/Trade.css +192 -1
- package/es/components/Link/style/Link.css +70 -1
- package/es/components/Navigation/style/Nav.css +158 -1
- package/es/components/Navigation/style/Navigation.css +373 -1
- package/es/components/Navigation/style/NavigationStepper.css +97 -1
- package/es/components/Notification/NotificationStatic.js +22 -22
- package/es/components/Notification/style/Notification.css +170 -1
- package/es/components/Pagination/style/Pagination.css +89 -1
- package/es/components/Popconfirm/style/Popconfirm.css +137 -1
- package/es/components/ProForm/ProForm.js +38 -38
- package/es/components/ProForm/ProFormDependency.js +5 -5
- package/es/components/ProForm/Submitter.js +4 -4
- package/es/components/ProForm/core/hooks/useForm.js +101 -101
- package/es/components/ProForm/core/useFormItem.js +5 -5
- package/es/components/ProForm/hooks/useFieldRequest.js +12 -12
- package/es/components/ProForm/layouts/useOverlayForm.js +5 -5
- package/es/components/ProForm/style/ProForm.css +168 -1
- package/es/components/Progress/style/Progress.css +103 -1
- package/es/components/Radio/style/Radio.css +362 -1
- package/es/components/Segment/style/Segment.css +79 -1
- package/es/components/Select/style/Select.css +468 -1
- package/es/components/Skeleton/style/Skeleton.css +54 -1
- package/es/components/Slider/style/Slider.css +161 -1
- package/es/components/Space/style/Space.css +47 -1
- package/es/components/Spinner/Spinner.js +7 -7
- package/es/components/Spinner/style/Spinner.css +99 -1
- package/es/components/Step/style/Step.css +107 -1
- package/es/components/Switch/style/Switch.css +102 -1
- package/es/components/Table/style/Table.css +370 -1
- package/es/components/Tabs/style/Tabs.css +118 -1
- package/es/components/Tag/style/Tag.css +87 -1
- package/es/components/Tooltip/style/Tooltip.css +98 -1
- package/es/components/Trigger/style/Trigger.css +35 -1
- package/es/components/Typography/style/Typography.css +444 -1
- package/es/components/Upload/style/Upload.css +55 -1
- package/es/components/Upload/style/UploadFileBar.css +88 -1
- package/es/components/VirtualList/style/VirtualList.css +25 -1
- package/es/index.css +1 -1
- package/es/stories/docs/storybook-docs.css +323 -1
- package/es/styles/index.css +5328 -1
- package/lib/components/Accordion/style/Accordion.css +94 -1
- package/lib/components/Alert/style/Alert.css +101 -1
- package/lib/components/Button/style/Button.css +178 -1
- package/lib/components/Calendar/style/Calendar.css +400 -1
- package/lib/components/Carousel/style/Carousel.css +57 -1
- package/lib/components/Cell/style/Cell.css +80 -1
- package/lib/components/Checkbox/style/Checkbox.css +191 -1
- package/lib/components/CoachMark/style/CoachMark.css +156 -1
- package/lib/components/Copy/style/Clipboard.css +45 -1
- package/lib/components/Copy/style/Copy.css +48 -1
- package/lib/components/Dialog/style/Dialog.css +204 -1
- package/lib/components/Divider/style/Divider.css +128 -1
- package/lib/components/Drawer/style/Drawer.css +145 -1
- package/lib/components/Dropdown/style/Dropdown.css +48 -1
- package/lib/components/Empty/style/Empty.css +58 -1
- package/lib/components/Flex/style/Flex.css +71 -1
- package/lib/components/Grid/style/Grid.css +952 -1
- package/lib/components/Icons/style/Icons.css +81 -1
- package/lib/components/Input/Amount/style/Amount.css +103 -1
- package/lib/components/Input/FieldShell/FieldShell.css +76 -1
- package/lib/components/Input/Input/Input.css +124 -1
- package/lib/components/Input/OTP/OTP.css +79 -1
- package/lib/components/Input/TextArea/TextArea.css +93 -1
- package/lib/components/Input/Trade/Trade.css +192 -1
- package/lib/components/Link/style/Link.css +70 -1
- package/lib/components/Navigation/style/Nav.css +158 -1
- package/lib/components/Navigation/style/Navigation.css +373 -1
- package/lib/components/Navigation/style/NavigationStepper.css +97 -1
- package/lib/components/Notification/NotificationStatic.js +22 -22
- package/lib/components/Notification/style/Notification.css +170 -1
- package/lib/components/Pagination/style/Pagination.css +89 -1
- package/lib/components/Popconfirm/style/Popconfirm.css +137 -1
- package/lib/components/ProForm/ProForm.js +38 -38
- package/lib/components/ProForm/ProFormDependency.js +5 -5
- package/lib/components/ProForm/Submitter.js +4 -4
- package/lib/components/ProForm/core/hooks/useForm.js +101 -101
- package/lib/components/ProForm/core/useFormItem.js +5 -5
- package/lib/components/ProForm/hooks/useFieldRequest.js +12 -12
- package/lib/components/ProForm/layouts/useOverlayForm.js +5 -5
- package/lib/components/ProForm/style/ProForm.css +168 -1
- package/lib/components/Progress/style/Progress.css +103 -1
- package/lib/components/Radio/style/Radio.css +362 -1
- package/lib/components/Segment/style/Segment.css +79 -1
- package/lib/components/Select/style/Select.css +468 -1
- package/lib/components/Skeleton/style/Skeleton.css +54 -1
- package/lib/components/Slider/style/Slider.css +161 -1
- package/lib/components/Space/style/Space.css +47 -1
- package/lib/components/Spinner/Spinner.js +7 -7
- package/lib/components/Spinner/style/Spinner.css +99 -1
- package/lib/components/Step/style/Step.css +107 -1
- package/lib/components/Switch/style/Switch.css +102 -1
- package/lib/components/Table/style/Table.css +370 -1
- package/lib/components/Tabs/style/Tabs.css +118 -1
- package/lib/components/Tag/style/Tag.css +87 -1
- package/lib/components/Tooltip/style/Tooltip.css +98 -1
- package/lib/components/Trigger/style/Trigger.css +35 -1
- package/lib/components/Typography/style/Typography.css +444 -1
- package/lib/components/Upload/style/Upload.css +55 -1
- package/lib/components/Upload/style/UploadFileBar.css +88 -1
- package/lib/components/VirtualList/style/VirtualList.css +25 -1
- package/lib/index.css +1 -1
- package/lib/stories/docs/storybook-docs.css +323 -1
- package/lib/styles/index.css +5328 -1
- package/package.json +65 -34
|
@@ -1,4 +1,326 @@
|
|
|
1
|
-
.
|
|
1
|
+
.sb-docs-shell,
|
|
2
|
+
.doc-home,
|
|
3
|
+
.doc-article {
|
|
4
|
+
--sb-doc-accent: #1677ff;
|
|
5
|
+
--sb-doc-accent-soft: rgba(22, 119, 255, 12%);
|
|
6
|
+
--sb-doc-border: #e6ebf2;
|
|
7
|
+
--sb-doc-border-strong: #d7deea;
|
|
8
|
+
--sb-doc-text: #1f2329;
|
|
9
|
+
--sb-doc-text-secondary: #5b667a;
|
|
10
|
+
--sb-doc-surface: #fff;
|
|
11
|
+
--sb-doc-surface-muted: #f7f9fc;
|
|
12
|
+
--sb-doc-shadow: 0 18px 48px rgba(15, 23, 42, 8%);
|
|
13
|
+
|
|
14
|
+
color: var(--sb-doc-text);
|
|
15
|
+
font-family:
|
|
16
|
+
Aeonik,
|
|
17
|
+
Inter,
|
|
18
|
+
-apple-system,
|
|
19
|
+
BlinkMacSystemFont,
|
|
20
|
+
'Segoe UI',
|
|
21
|
+
sans-serif;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sb-docs-shell {
|
|
25
|
+
padding: 28px 24px 96px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.sb-docs-layout {
|
|
29
|
+
max-width: 1360px;
|
|
30
|
+
margin: 0 auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sb-docs-main,
|
|
34
|
+
.doc-home,
|
|
35
|
+
.doc-article {
|
|
36
|
+
min-width: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.sb-docs-hero,
|
|
40
|
+
.doc-home-hero,
|
|
41
|
+
.doc-home-section,
|
|
42
|
+
.doc-home-card,
|
|
43
|
+
.sb-docs-section,
|
|
44
|
+
.doc-home-chip,
|
|
45
|
+
.doc-home-info-card {
|
|
46
|
+
background: var(--sb-doc-surface);
|
|
47
|
+
border: 1px solid var(--sb-doc-border);
|
|
48
|
+
border-radius: 24px;
|
|
49
|
+
box-shadow: var(--sb-doc-shadow);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sb-docs-hero,
|
|
53
|
+
.doc-home-hero {
|
|
54
|
+
display: grid;
|
|
55
|
+
grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
|
|
56
|
+
gap: 24px;
|
|
57
|
+
margin-bottom: 24px;
|
|
58
|
+
padding: 36px;
|
|
59
|
+
background:
|
|
60
|
+
radial-gradient(circle at top right, rgba(22, 119, 255, 14%), transparent 38%),
|
|
61
|
+
linear-gradient(180deg, #fff 0%, #fbfcff 100%);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.sb-docs-kicker,
|
|
65
|
+
.doc-home-kicker,
|
|
66
|
+
.sb-docs-section-kicker,
|
|
67
|
+
.doc-home-card-kicker {
|
|
68
|
+
margin: 0 0 12px;
|
|
69
|
+
color: var(--sb-doc-accent);
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
letter-spacing: 0.14em;
|
|
73
|
+
text-transform: uppercase;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sb-docs-title,
|
|
77
|
+
.doc-home h1,
|
|
78
|
+
.doc-article h1 {
|
|
79
|
+
margin: 0 0 16px;
|
|
80
|
+
color: #111827;
|
|
81
|
+
font-weight: 700;
|
|
82
|
+
font-size: clamp(34px, 4vw, 52px);
|
|
83
|
+
font-family:
|
|
84
|
+
Aeonik,
|
|
85
|
+
Inter,
|
|
86
|
+
-apple-system,
|
|
87
|
+
BlinkMacSystemFont,
|
|
88
|
+
'Segoe UI',
|
|
89
|
+
sans-serif;
|
|
90
|
+
line-height: 1.04;
|
|
91
|
+
letter-spacing: -0.04em;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.sb-docs-lead,
|
|
95
|
+
.doc-home-lead,
|
|
96
|
+
.doc-article-lead {
|
|
97
|
+
max-width: 760px;
|
|
98
|
+
margin: 0;
|
|
99
|
+
color: var(--sb-doc-text-secondary);
|
|
100
|
+
font-size: 18px;
|
|
101
|
+
line-height: 1.72;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sb-docs-description :where(p) {
|
|
105
|
+
max-width: 760px;
|
|
106
|
+
margin: 0;
|
|
107
|
+
color: var(--sb-doc-text-secondary);
|
|
108
|
+
font-size: 18px;
|
|
109
|
+
line-height: 1.72;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.sb-docs-hero-panel {
|
|
113
|
+
display: grid;
|
|
114
|
+
gap: 12px;
|
|
115
|
+
align-content: start;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.sb-docs-stat,
|
|
119
|
+
.doc-home-panel,
|
|
120
|
+
.doc-home-chip,
|
|
121
|
+
.doc-home-info-card {
|
|
122
|
+
padding: 18px 20px;
|
|
123
|
+
background: rgba(255, 255, 255, 82%);
|
|
124
|
+
border: 1px solid var(--sb-doc-border);
|
|
125
|
+
border-radius: 18px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.sb-docs-stat-label {
|
|
129
|
+
display: block;
|
|
130
|
+
margin-bottom: 6px;
|
|
131
|
+
color: var(--sb-doc-text-secondary);
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
font-size: 12px;
|
|
134
|
+
letter-spacing: 0.08em;
|
|
135
|
+
text-transform: uppercase;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.sb-docs-stat strong,
|
|
139
|
+
.doc-home-chip strong,
|
|
140
|
+
.doc-home-info-card strong {
|
|
141
|
+
color: var(--sb-doc-text);
|
|
142
|
+
font-weight: 600;
|
|
143
|
+
font-size: 16px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.sb-docs-section,
|
|
147
|
+
.doc-home-section {
|
|
148
|
+
margin-bottom: 24px;
|
|
149
|
+
padding: 28px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.sb-docs-section-header,
|
|
153
|
+
.doc-home-section-header {
|
|
154
|
+
margin-bottom: 20px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.sb-docs-section-header h2,
|
|
158
|
+
.doc-home-section h2,
|
|
159
|
+
.doc-article h2 {
|
|
160
|
+
margin: 0 0 10px;
|
|
161
|
+
color: #111827;
|
|
162
|
+
font-weight: 700;
|
|
163
|
+
font-size: 30px;
|
|
164
|
+
line-height: 1.15;
|
|
165
|
+
letter-spacing: -0.03em;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sb-docs-section-header p,
|
|
169
|
+
.doc-home-section-header p,
|
|
170
|
+
.doc-home-section > p,
|
|
171
|
+
.doc-article > p {
|
|
172
|
+
margin: 0;
|
|
173
|
+
color: var(--sb-doc-text-secondary);
|
|
174
|
+
font-size: 15px;
|
|
175
|
+
line-height: 1.7;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.sb-docs-markdown-grid,
|
|
179
|
+
.doc-home-grid,
|
|
180
|
+
.doc-home-card-grid {
|
|
181
|
+
display: grid;
|
|
182
|
+
gap: 16px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.sb-docs-use-list {
|
|
186
|
+
display: grid;
|
|
187
|
+
gap: 12px;
|
|
188
|
+
margin: 0;
|
|
189
|
+
padding: 0;
|
|
190
|
+
list-style: none;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sb-docs-use-list li {
|
|
194
|
+
position: relative;
|
|
195
|
+
padding: 16px 18px 16px 48px;
|
|
196
|
+
color: var(--sb-doc-text-secondary);
|
|
197
|
+
font-size: 15px;
|
|
198
|
+
line-height: 1.72;
|
|
199
|
+
background: var(--sb-doc-surface-muted);
|
|
200
|
+
border: 1px solid var(--sb-doc-border);
|
|
201
|
+
border-radius: 18px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.sb-docs-use-list li::before {
|
|
205
|
+
position: absolute;
|
|
206
|
+
top: 23px;
|
|
207
|
+
left: 20px;
|
|
208
|
+
width: 12px;
|
|
209
|
+
height: 12px;
|
|
210
|
+
background: linear-gradient(180deg, #1677ff 0%, #69a8ff 100%);
|
|
211
|
+
border-radius: 999px;
|
|
212
|
+
box-shadow: 0 0 0 6px rgba(22, 119, 255, 10%);
|
|
213
|
+
content: '';
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.doc-home-grid {
|
|
217
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
218
|
+
margin-bottom: 24px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.doc-home-card-grid {
|
|
222
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
223
|
+
margin-top: 20px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.doc-home-card,
|
|
227
|
+
.sb-docs-markdown-card {
|
|
228
|
+
min-width: 0;
|
|
229
|
+
padding: 24px;
|
|
230
|
+
background: var(--sb-doc-surface-muted);
|
|
231
|
+
border: 1px solid var(--sb-doc-border);
|
|
232
|
+
border-radius: 20px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.sb-docs-markdown-card h3,
|
|
236
|
+
.doc-home-card h3,
|
|
237
|
+
.doc-home-section h3,
|
|
238
|
+
.doc-article h3 {
|
|
239
|
+
margin: 0 0 12px;
|
|
240
|
+
color: #111827;
|
|
241
|
+
font-weight: 700;
|
|
242
|
+
font-size: 21px;
|
|
243
|
+
line-height: 1.28;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.doc-home-card p,
|
|
247
|
+
.doc-home-card li,
|
|
248
|
+
.doc-home-section li,
|
|
249
|
+
.doc-article li,
|
|
250
|
+
.sb-docs-markdown-card p,
|
|
251
|
+
.sb-docs-markdown-card li {
|
|
252
|
+
color: var(--sb-doc-text-secondary);
|
|
253
|
+
font-size: 14px;
|
|
254
|
+
line-height: 1.72;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.doc-home-section :where(ul, ol),
|
|
258
|
+
.doc-article :where(ul, ol),
|
|
259
|
+
.sb-docs-markdown-card :where(ul, ol) {
|
|
260
|
+
padding-left: 20px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.doc-home-section :where(pre, code),
|
|
264
|
+
.doc-article :where(pre, code),
|
|
265
|
+
.sb-docs-markdown-card :where(pre, code),
|
|
266
|
+
.sb-docs-section :where(pre, code) {
|
|
267
|
+
font-family:
|
|
268
|
+
SFMono-Regular,
|
|
269
|
+
ui-monospace,
|
|
270
|
+
Menlo,
|
|
271
|
+
Monaco,
|
|
272
|
+
Consolas,
|
|
273
|
+
'Liberation Mono',
|
|
274
|
+
monospace;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.doc-home-section :where(pre),
|
|
278
|
+
.doc-article :where(pre),
|
|
279
|
+
.sb-docs-markdown-card :where(pre),
|
|
280
|
+
.sb-docs-section :where(pre) {
|
|
281
|
+
padding: 16px 18px;
|
|
282
|
+
overflow-x: auto;
|
|
283
|
+
color: #dbe7ff;
|
|
284
|
+
background: #0f172a;
|
|
285
|
+
border-radius: 16px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.doc-home-section :where(code:not(pre code)),
|
|
289
|
+
.doc-article :where(code:not(pre code)),
|
|
290
|
+
.sb-docs-markdown-card :where(code:not(pre code)),
|
|
291
|
+
.sb-docs-section :where(code:not(pre code)) {
|
|
292
|
+
padding: 0.18em 0.45em;
|
|
293
|
+
color: #1456b8;
|
|
294
|
+
background: rgba(22, 119, 255, 8%);
|
|
295
|
+
border-radius: 8px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.doc-home-section :where(table),
|
|
299
|
+
.doc-article :where(table),
|
|
300
|
+
.sb-docs-markdown-card :where(table),
|
|
301
|
+
.sb-docs-section :where(table) {
|
|
302
|
+
width: 100%;
|
|
303
|
+
border-collapse: collapse;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.doc-home-section :where(th, td),
|
|
307
|
+
.doc-article :where(th, td),
|
|
308
|
+
.sb-docs-markdown-card :where(th, td),
|
|
309
|
+
.sb-docs-section :where(th, td) {
|
|
310
|
+
padding: 12px 14px;
|
|
311
|
+
text-align: left;
|
|
312
|
+
vertical-align: top;
|
|
313
|
+
border-bottom: 1px solid var(--sb-doc-border);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.doc-home-section :where(th),
|
|
317
|
+
.doc-article :where(th),
|
|
318
|
+
.sb-docs-markdown-card :where(th),
|
|
319
|
+
.sb-docs-section :where(th) {
|
|
320
|
+
color: #111827;
|
|
321
|
+
font-weight: 700;
|
|
322
|
+
font-size: 13px;
|
|
323
|
+
background: rgba(15, 23, 42, 3%);
|
|
2
324
|
}
|
|
3
325
|
|
|
4
326
|
.doc-home-section :where(td),
|