@sakura-ui/sakura-ui 0.0.16 → 0.1.1
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 -11
- package/package.json +3 -3
- package/packages/{react → core}/package.json +3 -3
- package/packages/{react → core}/src/components/Button.tsx +2 -2
- package/packages/{react → core}/src/components/Card.tsx +2 -2
- package/packages/{react → core}/src/components/Code.tsx +2 -2
- package/packages/{react → core}/src/components/Heading.tsx +18 -18
- package/packages/{react → core}/src/components/Icon.tsx +2 -2
- package/packages/{react → core}/src/components/IconButton.tsx +2 -2
- package/packages/{react → core}/src/components/InfoCard.tsx +4 -4
- package/packages/{react → core}/src/components/Link.tsx +6 -6
- package/packages/{react → core}/src/components/List.tsx +4 -4
- package/packages/{react → core}/src/components/Pre.tsx +2 -2
- package/packages/{react → core}/src/components/Table.tsx +14 -14
- package/packages/core/tsconfig.json +11 -0
- package/packages/forms/coverage/clover.xml +209 -0
- package/packages/forms/coverage/coverage-final.json +18 -0
- package/packages/forms/coverage/lcov-report/base.css +224 -0
- package/packages/forms/coverage/lcov-report/block-navigation.js +87 -0
- package/packages/forms/coverage/lcov-report/favicon.png +0 -0
- package/packages/forms/coverage/lcov-report/index.html +161 -0
- package/packages/forms/coverage/lcov-report/prettify.css +1 -0
- package/packages/forms/coverage/lcov-report/prettify.js +2 -0
- package/packages/forms/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/packages/forms/coverage/lcov-report/sorter.js +196 -0
- package/packages/forms/coverage/lcov-report/src/components/Checkbox.tsx.html +295 -0
- package/packages/forms/coverage/lcov-report/src/components/FieldsetControl.tsx.html +295 -0
- package/packages/forms/coverage/lcov-report/src/components/LabelControl.tsx.html +289 -0
- package/packages/forms/coverage/lcov-report/src/components/Radio.tsx.html +262 -0
- package/packages/forms/coverage/lcov-report/src/components/Select.tsx.html +259 -0
- package/packages/forms/coverage/lcov-report/src/components/Text.tsx.html +220 -0
- package/packages/forms/coverage/lcov-report/src/components/Textarea.tsx.html +229 -0
- package/packages/forms/coverage/lcov-report/src/components/context.ts.html +136 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/CheckboxGroup.tsx.html +244 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/RadioGroup.tsx.html +265 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/SelectControl.tsx.html +205 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextControl.tsx.html +202 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextareaControl.tsx.html +205 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.html +191 -0
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.ts.html +100 -0
- package/packages/forms/coverage/lcov-report/src/components/index.html +236 -0
- package/packages/forms/coverage/lcov-report/src/components/index.ts.html +106 -0
- package/packages/forms/coverage/lcov-report/src/index.html +116 -0
- package/packages/forms/coverage/lcov-report/src/index.ts.html +136 -0
- package/packages/forms/coverage/lcov-report/src/utils/index.html +116 -0
- package/packages/forms/coverage/lcov-report/src/utils/index.ts.html +88 -0
- package/packages/forms/coverage/lcov.info +434 -0
- package/packages/forms/dist/index.cjs.js +20 -24
- package/packages/forms/dist/index.cjs.js.map +1 -1
- package/packages/forms/dist/index.es.js +561 -375
- package/packages/forms/dist/index.es.js.map +1 -1
- package/packages/forms/jest.config.ts +14 -0
- package/packages/forms/node_modules/.bin/autoprefixer +2 -2
- package/packages/forms/node_modules/.bin/browserslist +17 -0
- package/packages/forms/node_modules/.bin/jest +4 -4
- package/packages/forms/node_modules/.bin/npm-run-all +2 -2
- package/packages/forms/node_modules/.bin/run-p +2 -2
- package/packages/forms/node_modules/.bin/run-s +2 -2
- package/packages/forms/node_modules/.bin/tailwind +4 -4
- package/packages/forms/node_modules/.bin/tailwindcss +4 -4
- package/packages/forms/node_modules/.bin/ts-jest +4 -4
- package/packages/forms/node_modules/.bin/ts-node +4 -4
- package/packages/forms/node_modules/.bin/ts-node-cwd +4 -4
- package/packages/forms/node_modules/.bin/ts-node-esm +4 -4
- package/packages/forms/node_modules/.bin/ts-node-script +4 -4
- package/packages/forms/node_modules/.bin/ts-node-transpile-only +4 -4
- package/packages/forms/node_modules/.bin/ts-script +4 -4
- package/packages/forms/node_modules/.bin/tsc +2 -2
- package/packages/forms/node_modules/.bin/tsc-alias +2 -2
- package/packages/forms/node_modules/.bin/tsserver +2 -2
- package/packages/forms/node_modules/.bin/vite +2 -2
- package/packages/forms/package.json +6 -1
- package/packages/forms/src/components/Checkbox.tsx +19 -8
- package/packages/forms/src/components/FieldsetControl.tsx +70 -0
- package/packages/forms/src/components/LabelControl.tsx +68 -0
- package/packages/forms/src/components/Radio.tsx +24 -9
- package/packages/forms/src/components/Select.tsx +22 -7
- package/packages/forms/src/components/Text.tsx +14 -4
- package/packages/forms/src/components/Textarea.tsx +18 -3
- package/packages/forms/src/components/context.ts +17 -0
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +37 -15
- package/packages/forms/src/components/controlled/RadioGroup.tsx +44 -20
- package/packages/forms/src/components/controlled/SelectControl.tsx +40 -0
- package/packages/forms/src/components/controlled/TextControl.tsx +39 -0
- package/packages/forms/src/components/controlled/TextareaControl.tsx +40 -0
- package/packages/forms/src/components/controlled/index.ts +3 -3
- package/packages/forms/src/components/index.ts +2 -0
- package/packages/forms/src/index.ts +12 -4
- package/packages/forms/tests/FieldsetControl.test.tsx +54 -0
- package/packages/forms/tests/LabelControl.test.tsx +116 -0
- package/packages/forms/tests/Radio.test.tsx +99 -0
- package/packages/forms/tests/Text.test.tsx +96 -0
- package/packages/forms/tsconfig.json +1 -17
- package/packages/forms/dist/components/Checkbox.d.ts +0 -5
- package/packages/forms/dist/components/Checkbox.d.ts.map +0 -1
- package/packages/forms/dist/components/Radio.d.ts +0 -5
- package/packages/forms/dist/components/Radio.d.ts.map +0 -1
- package/packages/forms/dist/components/Select.d.ts +0 -5
- package/packages/forms/dist/components/Select.d.ts.map +0 -1
- package/packages/forms/dist/components/Text.d.ts +0 -5
- package/packages/forms/dist/components/Text.d.ts.map +0 -1
- package/packages/forms/dist/components/Textarea.d.ts +0 -5
- package/packages/forms/dist/components/Textarea.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/CheckboxGroup.d.ts +0 -9
- package/packages/forms/dist/components/controlled/CheckboxGroup.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/InputItem.d.ts +0 -5
- package/packages/forms/dist/components/controlled/InputItem.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/RadioGroup.d.ts +0 -9
- package/packages/forms/dist/components/controlled/RadioGroup.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/Select.d.ts +0 -6
- package/packages/forms/dist/components/controlled/Select.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/Text.d.ts +0 -6
- package/packages/forms/dist/components/controlled/Text.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/Textarea.d.ts +0 -6
- package/packages/forms/dist/components/controlled/Textarea.d.ts.map +0 -1
- package/packages/forms/dist/components/controlled/index.d.ts +0 -6
- package/packages/forms/dist/components/controlled/index.d.ts.map +0 -1
- package/packages/forms/dist/components/index.d.ts +0 -6
- package/packages/forms/dist/components/index.d.ts.map +0 -1
- package/packages/forms/dist/index.d.ts +0 -3
- package/packages/forms/dist/index.d.ts.map +0 -1
- package/packages/forms/dist/utils/index.d.ts +0 -2
- package/packages/forms/dist/utils/index.d.ts.map +0 -1
- package/packages/forms/src/components/controlled/Select.tsx +0 -22
- package/packages/forms/src/components/controlled/Text.tsx +0 -22
- package/packages/forms/src/components/controlled/Textarea.tsx +0 -23
- package/packages/forms/src/vite-env.d.ts +0 -1
- package/packages/react/tsconfig.json +0 -27
- /package/packages/{react → core}/src/components/index.ts +0 -0
- /package/packages/{react → core}/src/index.ts +0 -0
- /package/packages/{react → core}/src/utils/index.ts +0 -0
- /package/packages/{react → core}/tsconfig.node.json +0 -0
- /package/packages/{react → core}/vite.config.ts +0 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
TN:
|
|
2
|
+
SF:src/index.ts
|
|
3
|
+
FN:2,(anonymous_0)
|
|
4
|
+
FN:3,(anonymous_1)
|
|
5
|
+
FN:4,(anonymous_2)
|
|
6
|
+
FN:5,(anonymous_3)
|
|
7
|
+
FN:6,(anonymous_4)
|
|
8
|
+
FN:7,(anonymous_5)
|
|
9
|
+
FN:8,(anonymous_6)
|
|
10
|
+
FN:12,(anonymous_7)
|
|
11
|
+
FN:13,(anonymous_8)
|
|
12
|
+
FN:14,(anonymous_9)
|
|
13
|
+
FN:15,(anonymous_10)
|
|
14
|
+
FN:16,(anonymous_11)
|
|
15
|
+
FNF:12
|
|
16
|
+
FNH:6
|
|
17
|
+
FNDA:0,(anonymous_0)
|
|
18
|
+
FNDA:6,(anonymous_1)
|
|
19
|
+
FNDA:2,(anonymous_2)
|
|
20
|
+
FNDA:8,(anonymous_3)
|
|
21
|
+
FNDA:2,(anonymous_4)
|
|
22
|
+
FNDA:17,(anonymous_5)
|
|
23
|
+
FNDA:11,(anonymous_6)
|
|
24
|
+
FNDA:0,(anonymous_7)
|
|
25
|
+
FNDA:0,(anonymous_8)
|
|
26
|
+
FNDA:0,(anonymous_9)
|
|
27
|
+
FNDA:0,(anonymous_10)
|
|
28
|
+
FNDA:0,(anonymous_11)
|
|
29
|
+
DA:1,4
|
|
30
|
+
DA:2,4
|
|
31
|
+
DA:3,10
|
|
32
|
+
DA:4,6
|
|
33
|
+
DA:5,12
|
|
34
|
+
DA:6,6
|
|
35
|
+
DA:7,21
|
|
36
|
+
DA:8,15
|
|
37
|
+
DA:11,4
|
|
38
|
+
DA:12,4
|
|
39
|
+
DA:13,4
|
|
40
|
+
DA:14,4
|
|
41
|
+
DA:15,4
|
|
42
|
+
DA:16,4
|
|
43
|
+
LF:14
|
|
44
|
+
LH:14
|
|
45
|
+
BRF:0
|
|
46
|
+
BRH:0
|
|
47
|
+
end_of_record
|
|
48
|
+
TN:
|
|
49
|
+
SF:src/components/Checkbox.tsx
|
|
50
|
+
FN:8,(anonymous_1)
|
|
51
|
+
FNF:1
|
|
52
|
+
FNH:0
|
|
53
|
+
FNDA:0,(anonymous_1)
|
|
54
|
+
DA:1,4
|
|
55
|
+
DA:2,4
|
|
56
|
+
DA:3,4
|
|
57
|
+
DA:7,4
|
|
58
|
+
DA:9,0
|
|
59
|
+
DA:10,0
|
|
60
|
+
DA:11,0
|
|
61
|
+
DA:12,0
|
|
62
|
+
DA:14,0
|
|
63
|
+
DA:15,0
|
|
64
|
+
DA:18,0
|
|
65
|
+
DA:26,0
|
|
66
|
+
DA:31,0
|
|
67
|
+
DA:45,0
|
|
68
|
+
LF:14
|
|
69
|
+
LH:4
|
|
70
|
+
BRDA:11,0,0,0
|
|
71
|
+
BRDA:14,1,0,0
|
|
72
|
+
BRDA:53,2,0,0
|
|
73
|
+
BRDA:53,2,1,0
|
|
74
|
+
BRF:4
|
|
75
|
+
BRH:0
|
|
76
|
+
end_of_record
|
|
77
|
+
TN:
|
|
78
|
+
SF:src/components/FieldsetControl.tsx
|
|
79
|
+
FN:18,(anonymous_1)
|
|
80
|
+
FNF:1
|
|
81
|
+
FNH:1
|
|
82
|
+
FNDA:11,(anonymous_1)
|
|
83
|
+
DA:1,4
|
|
84
|
+
DA:2,4
|
|
85
|
+
DA:3,4
|
|
86
|
+
DA:15,4
|
|
87
|
+
DA:19,11
|
|
88
|
+
DA:30,11
|
|
89
|
+
DA:32,11
|
|
90
|
+
DA:34,11
|
|
91
|
+
DA:42,11
|
|
92
|
+
DA:44,11
|
|
93
|
+
LF:10
|
|
94
|
+
LH:10
|
|
95
|
+
BRDA:32,0,0,11
|
|
96
|
+
BRDA:32,0,1,11
|
|
97
|
+
BRDA:38,1,0,11
|
|
98
|
+
BRDA:38,1,1,9
|
|
99
|
+
BRDA:39,2,0,11
|
|
100
|
+
BRDA:39,2,1,8
|
|
101
|
+
BRDA:42,3,0,11
|
|
102
|
+
BRDA:42,3,1,11
|
|
103
|
+
BRDA:48,4,0,11
|
|
104
|
+
BRDA:48,4,1,2
|
|
105
|
+
BRDA:50,5,0,11
|
|
106
|
+
BRDA:50,5,1,3
|
|
107
|
+
BRDA:54,6,0,11
|
|
108
|
+
BRDA:54,6,1,3
|
|
109
|
+
BRDA:59,7,0,11
|
|
110
|
+
BRDA:59,7,1,2
|
|
111
|
+
BRDA:62,8,0,1
|
|
112
|
+
BRDA:62,8,1,1
|
|
113
|
+
BRF:18
|
|
114
|
+
BRH:18
|
|
115
|
+
end_of_record
|
|
116
|
+
TN:
|
|
117
|
+
SF:src/components/LabelControl.tsx
|
|
118
|
+
FN:17,(anonymous_1)
|
|
119
|
+
FNF:1
|
|
120
|
+
FNH:1
|
|
121
|
+
FNDA:17,(anonymous_1)
|
|
122
|
+
DA:1,4
|
|
123
|
+
DA:2,4
|
|
124
|
+
DA:3,4
|
|
125
|
+
DA:14,4
|
|
126
|
+
DA:18,17
|
|
127
|
+
DA:28,17
|
|
128
|
+
DA:30,17
|
|
129
|
+
DA:38,17
|
|
130
|
+
LF:8
|
|
131
|
+
LH:8
|
|
132
|
+
BRDA:31,0,0,17
|
|
133
|
+
BRDA:31,0,1,14
|
|
134
|
+
BRDA:34,1,0,17
|
|
135
|
+
BRDA:34,1,1,15
|
|
136
|
+
BRDA:35,2,0,17
|
|
137
|
+
BRDA:35,2,1,14
|
|
138
|
+
BRDA:42,3,0,17
|
|
139
|
+
BRDA:42,3,1,2
|
|
140
|
+
BRDA:48,4,0,17
|
|
141
|
+
BRDA:48,4,1,3
|
|
142
|
+
BRDA:52,5,0,17
|
|
143
|
+
BRDA:52,5,1,3
|
|
144
|
+
BRDA:57,6,0,17
|
|
145
|
+
BRDA:57,6,1,2
|
|
146
|
+
BRDA:60,7,0,1
|
|
147
|
+
BRDA:60,7,1,1
|
|
148
|
+
BRF:16
|
|
149
|
+
BRH:16
|
|
150
|
+
end_of_record
|
|
151
|
+
TN:
|
|
152
|
+
SF:src/components/Radio.tsx
|
|
153
|
+
FN:7,(anonymous_1)
|
|
154
|
+
FNF:1
|
|
155
|
+
FNH:1
|
|
156
|
+
FNDA:6,(anonymous_1)
|
|
157
|
+
DA:1,4
|
|
158
|
+
DA:2,4
|
|
159
|
+
DA:3,4
|
|
160
|
+
DA:7,4
|
|
161
|
+
DA:8,6
|
|
162
|
+
DA:9,6
|
|
163
|
+
DA:10,6
|
|
164
|
+
DA:11,2
|
|
165
|
+
DA:13,6
|
|
166
|
+
DA:14,6
|
|
167
|
+
DA:17,6
|
|
168
|
+
DA:24,6
|
|
169
|
+
DA:29,6
|
|
170
|
+
DA:42,6
|
|
171
|
+
LF:14
|
|
172
|
+
LH:14
|
|
173
|
+
BRDA:10,0,0,2
|
|
174
|
+
BRDA:13,1,0,6
|
|
175
|
+
BRDA:50,2,0,6
|
|
176
|
+
BRDA:50,2,1,0
|
|
177
|
+
BRF:4
|
|
178
|
+
BRH:3
|
|
179
|
+
end_of_record
|
|
180
|
+
TN:
|
|
181
|
+
SF:src/components/Select.tsx
|
|
182
|
+
FN:8,(anonymous_1)
|
|
183
|
+
FNF:1
|
|
184
|
+
FNH:1
|
|
185
|
+
FNDA:2,(anonymous_1)
|
|
186
|
+
DA:1,4
|
|
187
|
+
DA:2,4
|
|
188
|
+
DA:3,4
|
|
189
|
+
DA:7,4
|
|
190
|
+
DA:9,2
|
|
191
|
+
DA:10,2
|
|
192
|
+
DA:11,2
|
|
193
|
+
DA:12,0
|
|
194
|
+
DA:15,2
|
|
195
|
+
DA:17,2
|
|
196
|
+
DA:32,2
|
|
197
|
+
LF:11
|
|
198
|
+
LH:10
|
|
199
|
+
BRDA:11,0,0,0
|
|
200
|
+
BRDA:15,1,0,0
|
|
201
|
+
BRDA:15,1,1,2
|
|
202
|
+
BRDA:35,2,0,2
|
|
203
|
+
BRDA:35,2,1,2
|
|
204
|
+
BRDA:39,3,0,2
|
|
205
|
+
BRDA:39,3,1,0
|
|
206
|
+
BRF:7
|
|
207
|
+
BRH:4
|
|
208
|
+
end_of_record
|
|
209
|
+
TN:
|
|
210
|
+
SF:src/components/Text.tsx
|
|
211
|
+
FN:8,(anonymous_1)
|
|
212
|
+
FNF:1
|
|
213
|
+
FNH:1
|
|
214
|
+
FNDA:8,(anonymous_1)
|
|
215
|
+
DA:1,4
|
|
216
|
+
DA:2,4
|
|
217
|
+
DA:3,4
|
|
218
|
+
DA:7,4
|
|
219
|
+
DA:9,8
|
|
220
|
+
DA:10,8
|
|
221
|
+
DA:11,8
|
|
222
|
+
DA:12,2
|
|
223
|
+
DA:15,8
|
|
224
|
+
DA:17,8
|
|
225
|
+
DA:32,8
|
|
226
|
+
LF:11
|
|
227
|
+
LH:11
|
|
228
|
+
BRDA:11,0,0,2
|
|
229
|
+
BRDA:15,1,0,1
|
|
230
|
+
BRDA:15,1,1,7
|
|
231
|
+
BRDA:35,2,0,8
|
|
232
|
+
BRDA:35,2,1,8
|
|
233
|
+
BRDA:39,3,0,8
|
|
234
|
+
BRDA:39,3,1,0
|
|
235
|
+
BRF:7
|
|
236
|
+
BRH:6
|
|
237
|
+
end_of_record
|
|
238
|
+
TN:
|
|
239
|
+
SF:src/components/Textarea.tsx
|
|
240
|
+
FN:9,(anonymous_1)
|
|
241
|
+
FNF:1
|
|
242
|
+
FNH:1
|
|
243
|
+
FNDA:2,(anonymous_1)
|
|
244
|
+
DA:1,4
|
|
245
|
+
DA:2,4
|
|
246
|
+
DA:3,4
|
|
247
|
+
DA:8,4
|
|
248
|
+
DA:10,2
|
|
249
|
+
DA:12,2
|
|
250
|
+
DA:13,2
|
|
251
|
+
DA:14,0
|
|
252
|
+
DA:17,2
|
|
253
|
+
DA:19,2
|
|
254
|
+
DA:34,2
|
|
255
|
+
LF:11
|
|
256
|
+
LH:10
|
|
257
|
+
BRDA:13,0,0,0
|
|
258
|
+
BRDA:17,1,0,0
|
|
259
|
+
BRDA:17,1,1,2
|
|
260
|
+
BRDA:36,2,0,2
|
|
261
|
+
BRDA:36,2,1,2
|
|
262
|
+
BRDA:40,3,0,2
|
|
263
|
+
BRDA:40,3,1,0
|
|
264
|
+
BRF:7
|
|
265
|
+
BRH:4
|
|
266
|
+
end_of_record
|
|
267
|
+
TN:
|
|
268
|
+
SF:src/components/context.ts
|
|
269
|
+
FNF:0
|
|
270
|
+
FNH:0
|
|
271
|
+
DA:1,4
|
|
272
|
+
DA:12,4
|
|
273
|
+
LF:2
|
|
274
|
+
LH:2
|
|
275
|
+
BRF:0
|
|
276
|
+
BRH:0
|
|
277
|
+
end_of_record
|
|
278
|
+
TN:
|
|
279
|
+
SF:src/components/index.ts
|
|
280
|
+
FN:1,(anonymous_0)
|
|
281
|
+
FN:2,(anonymous_1)
|
|
282
|
+
FN:3,(anonymous_2)
|
|
283
|
+
FN:4,(anonymous_3)
|
|
284
|
+
FN:5,(anonymous_4)
|
|
285
|
+
FN:6,(anonymous_5)
|
|
286
|
+
FN:7,(anonymous_6)
|
|
287
|
+
FNF:7
|
|
288
|
+
FNH:6
|
|
289
|
+
FNDA:0,(anonymous_0)
|
|
290
|
+
FNDA:6,(anonymous_1)
|
|
291
|
+
FNDA:2,(anonymous_2)
|
|
292
|
+
FNDA:8,(anonymous_3)
|
|
293
|
+
FNDA:2,(anonymous_4)
|
|
294
|
+
FNDA:17,(anonymous_5)
|
|
295
|
+
FNDA:11,(anonymous_6)
|
|
296
|
+
DA:1,4
|
|
297
|
+
DA:2,10
|
|
298
|
+
DA:3,6
|
|
299
|
+
DA:4,12
|
|
300
|
+
DA:5,6
|
|
301
|
+
DA:6,21
|
|
302
|
+
DA:7,15
|
|
303
|
+
LF:7
|
|
304
|
+
LH:7
|
|
305
|
+
BRF:0
|
|
306
|
+
BRH:0
|
|
307
|
+
end_of_record
|
|
308
|
+
TN:
|
|
309
|
+
SF:src/components/controlled/CheckboxGroup.tsx
|
|
310
|
+
FN:20,(anonymous_1)
|
|
311
|
+
FN:44,(anonymous_2)
|
|
312
|
+
FNF:2
|
|
313
|
+
FNH:0
|
|
314
|
+
FNDA:0,(anonymous_1)
|
|
315
|
+
FNDA:0,(anonymous_2)
|
|
316
|
+
DA:1,4
|
|
317
|
+
DA:2,4
|
|
318
|
+
DA:3,4
|
|
319
|
+
DA:17,4
|
|
320
|
+
DA:31,0
|
|
321
|
+
DA:33,0
|
|
322
|
+
DA:45,0
|
|
323
|
+
LF:7
|
|
324
|
+
LH:4
|
|
325
|
+
BRF:0
|
|
326
|
+
BRH:0
|
|
327
|
+
end_of_record
|
|
328
|
+
TN:
|
|
329
|
+
SF:src/components/controlled/RadioGroup.tsx
|
|
330
|
+
FN:21,(anonymous_1)
|
|
331
|
+
FN:46,(anonymous_2)
|
|
332
|
+
FNF:2
|
|
333
|
+
FNH:0
|
|
334
|
+
FNDA:0,(anonymous_1)
|
|
335
|
+
FNDA:0,(anonymous_2)
|
|
336
|
+
DA:1,4
|
|
337
|
+
DA:2,4
|
|
338
|
+
DA:3,4
|
|
339
|
+
DA:18,4
|
|
340
|
+
DA:33,0
|
|
341
|
+
DA:35,0
|
|
342
|
+
DA:47,0
|
|
343
|
+
LF:7
|
|
344
|
+
LH:4
|
|
345
|
+
BRF:0
|
|
346
|
+
BRH:0
|
|
347
|
+
end_of_record
|
|
348
|
+
TN:
|
|
349
|
+
SF:src/components/controlled/SelectControl.tsx
|
|
350
|
+
FN:17,(anonymous_1)
|
|
351
|
+
FNF:1
|
|
352
|
+
FNH:0
|
|
353
|
+
FNDA:0,(anonymous_1)
|
|
354
|
+
DA:1,4
|
|
355
|
+
DA:2,4
|
|
356
|
+
DA:3,4
|
|
357
|
+
DA:14,4
|
|
358
|
+
DA:26,0
|
|
359
|
+
DA:28,0
|
|
360
|
+
LF:6
|
|
361
|
+
LH:4
|
|
362
|
+
BRF:0
|
|
363
|
+
BRH:0
|
|
364
|
+
end_of_record
|
|
365
|
+
TN:
|
|
366
|
+
SF:src/components/controlled/TextControl.tsx
|
|
367
|
+
FN:15,(anonymous_1)
|
|
368
|
+
FNF:1
|
|
369
|
+
FNH:0
|
|
370
|
+
FNDA:0,(anonymous_1)
|
|
371
|
+
DA:1,4
|
|
372
|
+
DA:2,4
|
|
373
|
+
DA:3,4
|
|
374
|
+
DA:14,4
|
|
375
|
+
DA:24,0
|
|
376
|
+
DA:26,0
|
|
377
|
+
LF:6
|
|
378
|
+
LH:4
|
|
379
|
+
BRF:0
|
|
380
|
+
BRH:0
|
|
381
|
+
end_of_record
|
|
382
|
+
TN:
|
|
383
|
+
SF:src/components/controlled/TextareaControl.tsx
|
|
384
|
+
FN:17,(anonymous_1)
|
|
385
|
+
FNF:1
|
|
386
|
+
FNH:0
|
|
387
|
+
FNDA:0,(anonymous_1)
|
|
388
|
+
DA:1,4
|
|
389
|
+
DA:2,4
|
|
390
|
+
DA:3,4
|
|
391
|
+
DA:14,4
|
|
392
|
+
DA:26,0
|
|
393
|
+
DA:28,0
|
|
394
|
+
LF:6
|
|
395
|
+
LH:4
|
|
396
|
+
BRF:0
|
|
397
|
+
BRH:0
|
|
398
|
+
end_of_record
|
|
399
|
+
TN:
|
|
400
|
+
SF:src/components/controlled/index.ts
|
|
401
|
+
FN:1,(anonymous_0)
|
|
402
|
+
FN:2,(anonymous_1)
|
|
403
|
+
FN:3,(anonymous_2)
|
|
404
|
+
FN:4,(anonymous_3)
|
|
405
|
+
FN:5,(anonymous_4)
|
|
406
|
+
FNF:5
|
|
407
|
+
FNH:0
|
|
408
|
+
FNDA:0,(anonymous_0)
|
|
409
|
+
FNDA:0,(anonymous_1)
|
|
410
|
+
FNDA:0,(anonymous_2)
|
|
411
|
+
FNDA:0,(anonymous_3)
|
|
412
|
+
FNDA:0,(anonymous_4)
|
|
413
|
+
DA:1,4
|
|
414
|
+
DA:2,4
|
|
415
|
+
DA:3,4
|
|
416
|
+
DA:4,4
|
|
417
|
+
DA:5,4
|
|
418
|
+
LF:5
|
|
419
|
+
LH:5
|
|
420
|
+
BRF:0
|
|
421
|
+
BRH:0
|
|
422
|
+
end_of_record
|
|
423
|
+
TN:
|
|
424
|
+
SF:src/utils/index.ts
|
|
425
|
+
FN:1,(anonymous_0)
|
|
426
|
+
FNF:1
|
|
427
|
+
FNH:1
|
|
428
|
+
FNDA:89,(anonymous_0)
|
|
429
|
+
DA:1,89
|
|
430
|
+
LF:1
|
|
431
|
+
LH:1
|
|
432
|
+
BRF:0
|
|
433
|
+
BRH:0
|
|
434
|
+
end_of_record
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react");var n={},vr={get exports(){return n},set exports(l){n=l}},A={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var je;function mr(){if(je)return A;je=1;var l=g,f=Symbol.for("react.element"),h=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,o=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function v(d,u,w){var x,_={},P=null,W=null;w!==void 0&&(P=""+w),u.key!==void 0&&(P=""+u.key),u.ref!==void 0&&(W=u.ref);for(x in u)p.call(u,x)&&!a.hasOwnProperty(x)&&(_[x]=u[x]);if(d&&d.defaultProps)for(x in u=d.defaultProps,u)_[x]===void 0&&(_[x]=u[x]);return{$$typeof:f,type:d,key:P,ref:W,props:_,_owner:o.current}}return A.Fragment=h,A.jsx=v,A.jsxs=v,A}var q={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,26 +14,26 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var Ce;function hr(){return Ce||(Ce=1,process.env.NODE_ENV!=="production"&&function(){var l=g,f=Symbol.for("react.element"),h=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),d=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),re=Symbol.iterator,ke="@@iterator";function Fe(e){if(e===null||typeof e!="object")return null;var r=re&&e[re]||e[ke];return typeof r=="function"?r:null}var k=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),s=1;s<r;s++)t[s-1]=arguments[s];De("error",e,t)}}function De(e,r,t){{var s=k.ReactDebugCurrentFrame,m=s.getStackAddendum();m!==""&&(r+="%s",t=t.concat([m]));var b=t.map(function(c){return String(c)});b.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,b)}}var Me=!1,$e=!1,Ae=!1,qe=!1,We=!1,te;te=Symbol.for("react.module.reference");function Ye(e){return!!(typeof e=="string"||typeof e=="function"||e===p||e===a||We||e===o||e===w||e===x||qe||e===W||Me||$e||Ae||typeof e=="object"&&e!==null&&(e.$$typeof===P||e.$$typeof===_||e.$$typeof===v||e.$$typeof===d||e.$$typeof===u||e.$$typeof===te||e.getModuleId!==void 0))}function Le(e,r,t){var s=e.displayName;if(s)return s;var m=r.displayName||r.name||"";return m!==""?t+"("+m+")":t}function ne(e){return e.displayName||"Context"}function S(e){if(e==null)return null;if(typeof e.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case h:return"Portal";case a:return"Profiler";case o:return"StrictMode";case w:return"Suspense";case x:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var r=e;return ne(r)+".Consumer";case v:var t=e;return ne(t._context)+".Provider";case u:return Le(e,e.render,"ForwardRef");case _:var s=e.displayName||null;return s!==null?s:S(e.type)||"Memo";case P:{var m=e,b=m._payload,c=m._init;try{return S(c(b))}catch{return null}}}return null}var O=Object.assign,M=0,ae,se,oe,ie,le,ue,ce;function de(){}de.__reactDisabledLog=!0;function Ve(){{if(M===0){ae=console.log,se=console.info,oe=console.warn,ie=console.error,le=console.group,ue=console.groupCollapsed,ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}}function Ue(){{if(M--,M===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:ae}),info:O({},e,{value:se}),warn:O({},e,{value:oe}),error:O({},e,{value:ie}),group:O({},e,{value:le}),groupCollapsed:O({},e,{value:ue}),groupEnd:O({},e,{value:ce})})}M<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var J=k.ReactCurrentDispatcher,z;function Y(e,r,t){{if(z===void 0)try{throw Error()}catch(m){var s=m.stack.trim().match(/\n( *(at )?)/);z=s&&s[1]||""}return`
|
|
18
|
+
`+z+e}}var K=!1,L;{var Be=typeof WeakMap=="function"?WeakMap:Map;L=new Be}function fe(e,r){if(!e||K)return"";{var t=L.get(e);if(t!==void 0)return t}var s;K=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var b;b=J.current,J.current=null,Ve();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(N){s=N}Reflect.construct(e,[],c)}else{try{c.call()}catch(N){s=N}e.call(c.prototype)}}else{try{throw Error()}catch(N){s=N}e()}}catch(N){if(N&&s&&typeof N.stack=="string"){for(var i=N.stack.split(`
|
|
19
|
+
`),T=s.stack.split(`
|
|
20
|
+
`),R=i.length-1,y=T.length-1;R>=1&&y>=0&&i[R]!==T[y];)y--;for(;R>=1&&y>=0;R--,y--)if(i[R]!==T[y]){if(R!==1||y!==1)do if(R--,y--,y<0||i[R]!==T[y]){var C=`
|
|
21
|
+
`+i[R].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&L.set(e,C),C}while(R>=1&&y>=0);break}}}finally{K=!1,J.current=b,Ue(),Error.prepareStackTrace=m}var D=e?e.displayName||e.name:"",we=D?Y(D):"";return typeof e=="function"&&L.set(e,we),we}function Ge(e,r,t){return fe(e,!1)}function Je(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function V(e,r,t){if(e==null)return"";if(typeof e=="function")return fe(e,Je(e));if(typeof e=="string")return Y(e);switch(e){case w:return Y("Suspense");case x:return Y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Ge(e.render);case _:return V(e.type,r,t);case P:{var s=e,m=s._payload,b=s._init;try{return V(b(m),r,t)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,pe={},ve=k.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);ve.setExtraStackFrame(t)}else ve.setExtraStackFrame(null)}function ze(e,r,t,s,m){{var b=Function.call.bind(U);for(var c in e)if(b(e,c)){var i=void 0;try{if(typeof e[c]!="function"){var T=Error((s||"React class")+": "+t+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}i=e[c](r,c,s,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){i=R}i&&!(i instanceof Error)&&(B(m),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",t,c,typeof i),B(null)),i instanceof Error&&!(i.message in pe)&&(pe[i.message]=!0,B(m),E("Failed %s type: %s",t,i.message),B(null))}}}var Ke=Array.isArray;function H(e){return Ke(e)}function He(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return me(e),!1}catch{return!0}}function me(e){return""+e}function he(e){if(Xe(e))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",He(e)),me(e)}var $=k.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},be,xe,X;X={};function Qe(e){if(U.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(U.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){if(typeof e.ref=="string"&&$.current&&r&&$.current.stateNode!==r){var t=S($.current.type);X[t]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',S($.current.type),e.ref),X[t]=!0)}}function tr(e,r){{var t=function(){be||(be=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){xe||(xe=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ar=function(e,r,t,s,m,b,c){var i={$$typeof:f,type:e,key:r,ref:t,props:c,_owner:b};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:m}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function sr(e,r,t,s,m){{var b,c={},i=null,T=null;t!==void 0&&(he(t),i=""+t),er(r)&&(he(r.key),i=""+r.key),Qe(r)&&(T=r.ref,rr(r,m));for(b in r)U.call(r,b)&&!Ze.hasOwnProperty(b)&&(c[b]=r[b]);if(e&&e.defaultProps){var R=e.defaultProps;for(b in R)c[b]===void 0&&(c[b]=R[b])}if(i||T){var y=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&tr(c,y),T&&nr(c,y)}return ar(e,i,T,m,s,$.current,c)}}var Z=k.ReactCurrentOwner,ge=k.ReactDebugCurrentFrame;function F(e){if(e){var r=e._owner,t=V(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}var Q;Q=!1;function ee(e){return typeof e=="object"&&e!==null&&e.$$typeof===f}function Re(){{if(Z.current){var e=S(Z.current.type);if(e)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function or(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+r+":"+t+"."}return""}}var ye={};function
|
|
25
|
+
Check your code at `+r+":"+t+"."}return""}}var ye={};function ir(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+t+">.")}return r}}function
|
|
27
|
+
Check the top-level render call using <`+t+">.")}return r}}function _e(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(ye[t])return;ye[t]=!0;var s="";e&&e._owner&&e._owner!==Z.current&&(s=" It was passed a child from "+S(e._owner.type)+"."),F(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,s),F(null)}}function Ee(e,r){{if(typeof e!="object")return;if(H(e))for(var t=0;t<e.length;t++){var s=e[t];ee(s)&&_e(s,r)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var m=Fe(e);if(typeof m=="function"&&m!==e.entries)for(var b=m.call(e),c;!(c=b.next()).done;)ee(c.value)&&_e(c.value,r)}}}function lr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===_))t=r.propTypes;else return;if(t){var s=S(r);ze(t,e.props,"prop",s,e)}else if(r.PropTypes!==void 0&&!Q){Q=!0;var m=S(r);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",m||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var s=r[t];if(s!=="children"&&s!=="key"){F(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),F(null);break}}e.ref!==null&&(F(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}function Te(e,r,t,s,m,b){{var c=Ye(e);if(!c){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=or(m);T?i+=T:i+=Re();var R;e===null?R="null":H(e)?R="array":e!==void 0&&e.$$typeof===f?(R="<"+(S(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):R=typeof e,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,i)}var y=sr(e,r,t,m,b);if(y==null)return y;if(c){var C=r.children;if(C!==void 0)if(s)if(H(C)){for(var D=0;D<C.length;D++)Ee(C[D],e);Object.freeze&&Object.freeze(C)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ee(C,e)}return e===p?ur(y):lr(y),y}}function cr(e,r,t){return Te(e,r,t,!0)}function dr(e,r,t){return Te(e,r,t,!1)}var fr=dr,pr=cr;q.Fragment=p,q.jsx=fr,q.jsxs=pr}()),q}(function(l){process.env.NODE_ENV==="production"?l.exports=mr():l.exports=hr()})(vr);const j=(...l)=>l.filter(Boolean).join(" "),I=g.createContext({helperTextId:"",errorMessageId:"",isInvalid:!1,isRequired:!1}),Pe=g.forwardRef((l,f)=>{const{className:h,children:p,...o}=l,a=g.useContext(I);a.isRequired&&(o.required=!0),a.groupName&&(o.name=a.groupName);const v=`
|
|
28
28
|
flex
|
|
29
29
|
items-center
|
|
30
30
|
text-sm
|
|
31
31
|
cursor-pointer
|
|
32
32
|
py-2
|
|
33
|
-
`,
|
|
33
|
+
`,d=`
|
|
34
34
|
hidden
|
|
35
35
|
peer
|
|
36
|
-
`,
|
|
36
|
+
`,u=`
|
|
37
37
|
inline-block
|
|
38
38
|
bg-clip-content
|
|
39
39
|
w-6 h-6
|
|
@@ -45,17 +45,16 @@ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(
|
|
|
45
45
|
border-sumi-900
|
|
46
46
|
peer-checked:bg-sea-600
|
|
47
47
|
peer-checked:border-none
|
|
48
|
-
`;return
|
|
48
|
+
`;return n.jsx("div",{className:"inline-block",children:n.jsxs("label",{htmlFor:o.id,className:j(v,h),children:[n.jsx("input",{className:d,type:"checkbox","aria-describedby":a.helperTextId,"aria-errormessage":a.errorMessageId,...o,ref:f}),n.jsx("span",{className:u,children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",children:n.jsx("path",{fill:"#fff",d:"m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z"})})}),p]})})}),Se=g.forwardRef((l,f)=>{const{className:h,children:p,...o}=l,a=g.useContext(I);a.isRequired&&(o.required=!0),a.groupName&&(o.name=a.groupName);const v=`
|
|
49
49
|
flex
|
|
50
50
|
items-center
|
|
51
51
|
text-sm
|
|
52
52
|
cursor-pointer
|
|
53
53
|
py-2
|
|
54
|
-
`,
|
|
54
|
+
`,d=`
|
|
55
55
|
hidden
|
|
56
56
|
peer
|
|
57
|
-
`,
|
|
58
|
-
inline-block
|
|
57
|
+
`,u=`
|
|
59
58
|
bg-clip-content
|
|
60
59
|
w-6 h-6
|
|
61
60
|
ml-1
|
|
@@ -67,25 +66,23 @@ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(
|
|
|
67
66
|
border-sumi-900
|
|
68
67
|
peer-checked:bg-sea-600
|
|
69
68
|
peer-checked:border-sea-600
|
|
70
|
-
`;return
|
|
69
|
+
`;return n.jsx("div",{className:"inline-block",children:n.jsxs("label",{htmlFor:o.id,className:j(v,h),children:[n.jsx("input",{className:d,type:"radio","aria-describedby":a.helperTextId,"aria-errormessage":a.errorMessageId,...o,ref:f}),n.jsx("span",{className:u}),p]})})}),Ne=g.forwardRef((l,f)=>{const{className:h,children:p,...o}=l,a=g.useContext(I);a.isRequired&&(o.required=!0);const v=a.isInvalid?"border-sun-800":"border-sumi-900",d=`
|
|
71
70
|
appearance-none
|
|
72
71
|
text-base
|
|
73
72
|
w-full
|
|
74
73
|
bg-white-100
|
|
75
74
|
border
|
|
76
75
|
border-solid
|
|
77
|
-
border-sumi-900
|
|
78
76
|
py-4 px-4 pr-8
|
|
79
77
|
rounded-[8px]
|
|
80
78
|
focus:outline
|
|
81
79
|
focus:outline-2
|
|
82
80
|
focus:outline-wood-500
|
|
83
|
-
`;return
|
|
81
|
+
`;return n.jsxs("div",{className:"inline-block relative",children:[n.jsx("select",{className:j(d,v,l.className),"aria-describedby":a.helperTextId,"aria-errormessage":a.errorMessageId,...o,ref:f,children:p}),n.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2",children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"fill-sumi-900",height:"24",width:"24",children:n.jsx("path",{d:"M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z"})})})]})}),Oe=g.forwardRef((l,f)=>{const{className:h,...p}=l,o=g.useContext(I);o.isRequired&&(p.required=!0);const a=o.isInvalid?"border-sun-800":"border-sumi-900",v=`
|
|
84
82
|
p-4
|
|
85
83
|
rounded-lg
|
|
86
84
|
border
|
|
87
|
-
border-solid
|
|
88
|
-
border-sumi-900
|
|
85
|
+
border-solid
|
|
89
86
|
focus:outline
|
|
90
87
|
focus:outline-2
|
|
91
88
|
focus:outline-wood-500
|
|
@@ -94,12 +91,11 @@ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(
|
|
|
94
91
|
disabled:border
|
|
95
92
|
disabled:border-solid
|
|
96
93
|
disabled:border-sumi-500
|
|
97
|
-
`;return
|
|
94
|
+
`;return n.jsx("input",{type:"text",className:j(v,a,h),"aria-describedby":o.helperTextId,"aria-errormessage":o.errorMessageId,...p,ref:f})}),Ie=g.forwardRef((l,f)=>{const{className:h,children:p,...o}=l,a=g.useContext(I);a.isRequired&&(o.required=!0);const v=a.isInvalid?"border-sun-800":"border-sumi-900",d=`
|
|
98
95
|
p-4
|
|
99
96
|
rounded-lg
|
|
100
97
|
border
|
|
101
98
|
border-solid
|
|
102
|
-
border-sumi-900
|
|
103
99
|
focus:outline
|
|
104
100
|
focus:outline-2
|
|
105
101
|
focus:outline-wood-500
|
|
@@ -108,5 +104,5 @@ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(
|
|
|
108
104
|
disabled:border
|
|
109
105
|
disabled:border-solid
|
|
110
106
|
disabled:border-sumi-500
|
|
111
|
-
`;return
|
|
107
|
+
`;return n.jsx("textarea",{className:j(d,v,h),"aria-describedby":a.helperTextId,"aria-errormessage":a.errorMessageId,...o,ref:f,children:p})}),G=g.forwardRef((l,f)=>{const h=g.useId(),{labelText:p,className:o,helperText:a,errorMessage:v,isInvalid:d,isRequired:u,children:w,...x}=l,_={helperTextId:`helper-text-${h}`,errorMessageId:`error-message-${h}`,isInvalid:d??!1,isRequired:u??!1};return n.jsx(I.Provider,{value:_,children:n.jsx("div",{className:j("mb-4",o),ref:f,...x,children:n.jsxs("label",{children:[n.jsxs("p",{className:j("block mb-2",d&&"text-sun-800"),children:[p,u&&n.jsx("span",{className:"text-sun-800",children:" *"})]}),w,a&&n.jsx("p",{id:_.helperTextId,className:"text-sm text-sumi-700 mt-2",children:a}),d&&n.jsx("p",{id:_.errorMessageId,className:j("text-sm text-sun-800",a?"mt-1":"mt-2"),children:v})]})})})}),br=g.forwardRef((l,f)=>{const h=g.useId(),{labelText:p,className:o,helperText:a,errorMessage:v,isInvalid:d,isRequired:u,children:w,...x}=l,P={groupName:x.name??`group-${h}`,helperTextId:`helper-text-${h}`,errorMessageId:`error-message-${h}`,isInvalid:d??!1,isRequired:u??!1};return n.jsx(I.Provider,{value:P,children:n.jsxs("fieldset",{className:j("mb-4",o),ref:f,...x,children:[n.jsx("legend",{children:n.jsxs("p",{className:j("block mb-2",d&&"text-sun-800"),children:[p,u&&n.jsx("span",{className:"text-sun-800",children:" *"})]})}),w,a&&n.jsx("p",{id:P.helperTextId,className:"text-sm text-sumi-700 mt-2",children:a}),d&&n.jsx("p",{id:P.errorMessageId,className:j("text-sm text-sun-800",a?"mt-1":"mt-2"),children:v})]})})}),xr=l=>{const f=g.useId(),{items:h,onChange:p,label:o,className:a,helperText:v,...d}=l,u=`checkbox_group_${Math.random()}`;return n.jsxs("fieldset",{className:j("mb-4",a),"aria-describedby":`helper-text-${f}`,...d,children:[n.jsx("legend",{children:o}),h.map(({label:w,value:x},_)=>n.jsx("div",{children:n.jsx(Pe,{name:u,value:x,onChange:p,children:w})},_)),v&&n.jsx("p",{id:`helper-text-${f}`,className:"text-sm text-sumi-700",children:v})]})},gr=l=>{const f=g.useId(),{items:h,onChange:p,label:o,className:a,helperText:v,...d}=l,u=`radio_group_${Math.random()}`;return n.jsxs("fieldset",{className:j("mb-4",a),"aria-describedby":`helper-text-${f}`,...d,children:[n.jsx("legend",{children:o}),h.map(({label:w,value:x},_)=>n.jsx("div",{children:n.jsx(Se,{name:u,value:x,onChange:p,defaultChecked:_===0,children:w})},_)),v&&n.jsx("p",{id:`helper-text-${f}`,className:"text-sm text-sumi-700",children:v})]})},Rr=g.forwardRef((l,f)=>{const{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,...u}=l;return n.jsx(G,{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,children:n.jsx(Ne,{ref:f,...u})})}),yr=g.forwardRef((l,f)=>{const{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,...u}=l;return n.jsx(G,{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,children:n.jsx(Oe,{ref:f,...u})})}),_r=g.forwardRef((l,f)=>{const{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,...u}=l;return n.jsx(G,{className:h,labelText:p,helperText:o,errorMessage:a,isInvalid:v,isRequired:d,children:n.jsx(Ie,{ref:f,...u})})});exports.Checkbox=Pe;exports.CheckboxGroup=xr;exports.FieldsetControl=br;exports.LabelControl=G;exports.Radio=Se;exports.RadioGroup=gr;exports.Select=Ne;exports.SelectControl=Rr;exports.Text=Oe;exports.TextControl=yr;exports.Textarea=Ie;exports.TextareaControl=_r;
|
|
112
108
|
//# sourceMappingURL=index.cjs.js.map
|