@sakura-ui/sakura-ui 0.1.21 → 0.2.0
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/package.json +16 -16
- package/packages/core/package.json +15 -14
- package/packages/core/src/components/Button.tsx +1 -1
- package/packages/core/src/components/Card.tsx +10 -4
- package/packages/core/src/components/IconButton.tsx +6 -6
- package/packages/core/src/components/Link.tsx +2 -1
- package/packages/core/src/components/Table.tsx +4 -3
- package/packages/core/src/components/buttonStyle.ts +20 -14
- package/packages/core/src/components/index.ts +0 -3
- package/packages/core/src/index.ts +0 -1
- package/packages/core/src/libs/cx.ts +1 -0
- package/packages/core/src/libs/forward-ref.ts +7 -4
- package/packages/core/src/types/component.ts +7 -6
- package/packages/core/tests/Button.test.tsx +30 -0
- package/packages/core/tests/Card.test.tsx +30 -7
- package/packages/core/tests/vitest.setup.ts +1 -0
- package/packages/core/vite.config.ts +3 -2
- package/packages/forms/dist/index.cjs.js +92 -81
- package/packages/forms/dist/index.es.js +697 -627
- package/packages/forms/dist/types/components/Checkbox.d.ts +3 -1
- package/packages/forms/dist/types/components/Checkbox.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FileInput.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Input.d.ts +3 -1
- package/packages/forms/dist/types/components/Input.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Radio.d.ts +3 -1
- package/packages/forms/dist/types/components/Radio.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Select.d.ts +3 -1
- package/packages/forms/dist/types/components/Select.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Textarea.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts +3 -1
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts +3 -1
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/index.d.ts +0 -2
- package/packages/forms/dist/types/components/controlled/index.d.ts.map +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts +13 -0
- package/packages/forms/dist/types/components/inputStyle.d.ts.map +1 -0
- package/packages/forms/dist/types/index.d.ts +1 -1
- package/packages/forms/dist/types/index.d.ts.map +1 -1
- package/packages/forms/dist/types/utils/class.d.ts.map +1 -1
- package/packages/forms/node_modules/.bin/acorn +17 -0
- package/packages/forms/node_modules/.bin/autoprefixer +2 -2
- package/packages/forms/node_modules/.bin/browserslist +4 -4
- package/packages/forms/node_modules/.bin/eslint +4 -4
- package/packages/forms/node_modules/.bin/tailwind +2 -2
- package/packages/forms/node_modules/.bin/tailwindcss +2 -2
- 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/vitest +4 -4
- package/packages/forms/package.json +15 -14
- package/packages/forms/src/components/Checkbox.tsx +39 -17
- package/packages/forms/src/components/FieldsetControl.tsx +1 -1
- package/packages/forms/src/components/FileInput.tsx +5 -3
- package/packages/forms/src/components/Input.tsx +16 -20
- package/packages/forms/src/components/LabelControl.tsx +2 -2
- package/packages/forms/src/components/Radio.tsx +34 -19
- package/packages/forms/src/components/Select.tsx +41 -31
- package/packages/forms/src/components/Textarea.tsx +4 -3
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +11 -3
- package/packages/forms/src/components/controlled/RadioGroup.tsx +7 -3
- package/packages/forms/src/components/controlled/index.ts +0 -2
- package/packages/forms/src/components/inputStyle.ts +83 -0
- package/packages/forms/src/index.ts +1 -6
- package/packages/forms/src/utils/class.ts +1 -0
- package/packages/forms/tests/FieldsetControl.test.tsx +2 -2
- package/packages/forms/tests/Input.test.tsx +2 -2
- package/packages/forms/tests/LabelControl.test.tsx +2 -2
- package/packages/forms/tests/Radio.test.tsx +2 -2
- package/packages/forms/tests/vitest.setup.ts +1 -0
- package/packages/forms/vite.config.ts +3 -2
- package/packages/tailwind-theme-plugin/dist/index.cjs.js +1 -1
- package/packages/tailwind-theme-plugin/dist/index.es.js +14 -14
- package/packages/tailwind-theme-plugin/node_modules/.bin/autoprefixer +2 -2
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwind +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwindcss +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-cwd +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-esm +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-script +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-transpile-only +4 -4
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-script +4 -4
- package/packages/tailwind-theme-plugin/package.json +8 -5
- package/packages/tailwind-theme-plugin/src/index.ts +14 -14
- package/packages/tailwind-theme-plugin/vite.config.ts +1 -1
- package/packages/config/package.json +0 -46
- package/packages/config/src/index.ts +0 -347
- package/packages/config/tests/index.test.ts +0 -13
- package/packages/config/tsconfig.json +0 -13
- package/packages/config/tsconfig.node.json +0 -6
- package/packages/config/vite.config.ts +0 -26
- package/packages/core/.eslintrc.json +0 -25
- package/packages/core/src/components/InfoCard.tsx +0 -50
- package/packages/forms/coverage/clover.xml +0 -209
- package/packages/forms/coverage/coverage-final.json +0 -18
- package/packages/forms/coverage/lcov-report/base.css +0 -224
- package/packages/forms/coverage/lcov-report/block-navigation.js +0 -87
- package/packages/forms/coverage/lcov-report/favicon.png +0 -0
- package/packages/forms/coverage/lcov-report/index.html +0 -161
- package/packages/forms/coverage/lcov-report/prettify.css +0 -1
- package/packages/forms/coverage/lcov-report/prettify.js +0 -2
- package/packages/forms/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/packages/forms/coverage/lcov-report/sorter.js +0 -196
- package/packages/forms/coverage/lcov-report/src/components/Checkbox.tsx.html +0 -295
- package/packages/forms/coverage/lcov-report/src/components/FieldsetControl.tsx.html +0 -295
- package/packages/forms/coverage/lcov-report/src/components/LabelControl.tsx.html +0 -289
- package/packages/forms/coverage/lcov-report/src/components/Radio.tsx.html +0 -262
- package/packages/forms/coverage/lcov-report/src/components/Select.tsx.html +0 -259
- package/packages/forms/coverage/lcov-report/src/components/Text.tsx.html +0 -220
- package/packages/forms/coverage/lcov-report/src/components/Textarea.tsx.html +0 -229
- package/packages/forms/coverage/lcov-report/src/components/context.ts.html +0 -136
- package/packages/forms/coverage/lcov-report/src/components/controlled/CheckboxGroup.tsx.html +0 -244
- package/packages/forms/coverage/lcov-report/src/components/controlled/RadioGroup.tsx.html +0 -265
- package/packages/forms/coverage/lcov-report/src/components/controlled/SelectControl.tsx.html +0 -205
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextControl.tsx.html +0 -202
- package/packages/forms/coverage/lcov-report/src/components/controlled/TextareaControl.tsx.html +0 -205
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.html +0 -191
- package/packages/forms/coverage/lcov-report/src/components/controlled/index.ts.html +0 -100
- package/packages/forms/coverage/lcov-report/src/components/index.html +0 -236
- package/packages/forms/coverage/lcov-report/src/components/index.ts.html +0 -106
- package/packages/forms/coverage/lcov-report/src/index.html +0 -116
- package/packages/forms/coverage/lcov-report/src/index.ts.html +0 -136
- package/packages/forms/coverage/lcov-report/src/utils/index.html +0 -116
- package/packages/forms/coverage/lcov-report/src/utils/index.ts.html +0 -88
- package/packages/forms/coverage/lcov.info +0 -434
- package/packages/forms/dist/types/components/controlled/SelectControl.d.ts +0 -10
- package/packages/forms/dist/types/components/controlled/SelectControl.d.ts.map +0 -1
- package/packages/forms/dist/types/components/controlled/TextareaControl.d.ts +0 -10
- package/packages/forms/dist/types/components/controlled/TextareaControl.d.ts.map +0 -1
- package/packages/forms/jest.config.ts +0 -11
- package/packages/forms/node_modules/.vitest/results.json +0 -1
- package/packages/forms/src/components/controlled/SelectControl.tsx +0 -42
- package/packages/forms/src/components/controlled/TextareaControl.tsx +0 -42
|
@@ -1,434 +0,0 @@
|
|
|
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,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SelectControlProps extends React.ComponentPropsWithRef<'select'> {
|
|
3
|
-
labelText: string;
|
|
4
|
-
helperText?: string;
|
|
5
|
-
errorMessage?: string;
|
|
6
|
-
isInvalid?: boolean;
|
|
7
|
-
isRequired?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const SelectControl: React.ForwardRefExoticComponent<Omit<SelectControlProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
|
|
10
|
-
//# sourceMappingURL=SelectControl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectControl.d.ts","sourceRoot":"","sources":["../../../../src/components/controlled/SelectControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,kBACf,SAAQ,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,aAAa,2GA0BxB,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TextareaControlProps extends React.ComponentPropsWithRef<'textarea'> {
|
|
3
|
-
labelText: string;
|
|
4
|
-
helperText?: string;
|
|
5
|
-
errorMessage?: string;
|
|
6
|
-
isInvalid?: boolean;
|
|
7
|
-
isRequired?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const TextareaControl: React.ForwardRefExoticComponent<Omit<TextareaControlProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
10
|
-
//# sourceMappingURL=TextareaControl.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaControl.d.ts","sourceRoot":"","sources":["../../../../src/components/controlled/TextareaControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,eAAe,+GA0B1B,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Config } from '@jest/types'
|
|
2
|
-
|
|
3
|
-
const config: Config.InitialOptions = {
|
|
4
|
-
preset: 'ts-jest',
|
|
5
|
-
testMatch: ['<rootDir>/tests/**/*.test.{ts,tsx}'],
|
|
6
|
-
testEnvironment: 'jsdom',
|
|
7
|
-
collectCoverage: true,
|
|
8
|
-
moduleDirectories: ['node_modules', '<rootDir>']
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default config
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"1.3.1","results":[[":tests/FieldsetControl.test.tsx",{"duration":44,"failed":false}],[":tests/LabelControl.test.tsx",{"duration":36,"failed":false}],[":tests/Radio.test.tsx",{"duration":65,"failed":false}],[":tests/Input.test.tsx",{"duration":31,"failed":false}]]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { LabelControl } from '../LabelControl'
|
|
3
|
-
import { Select } from '../Select'
|
|
4
|
-
|
|
5
|
-
export interface SelectControlProps
|
|
6
|
-
extends React.ComponentPropsWithRef<'select'> {
|
|
7
|
-
labelText: string
|
|
8
|
-
helperText?: string
|
|
9
|
-
errorMessage?: string
|
|
10
|
-
isInvalid?: boolean
|
|
11
|
-
isRequired?: boolean
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const SelectControl = React.forwardRef<
|
|
15
|
-
HTMLSelectElement,
|
|
16
|
-
SelectControlProps
|
|
17
|
-
>((props, ref) => {
|
|
18
|
-
const {
|
|
19
|
-
className,
|
|
20
|
-
labelText,
|
|
21
|
-
helperText,
|
|
22
|
-
errorMessage,
|
|
23
|
-
isInvalid,
|
|
24
|
-
isRequired,
|
|
25
|
-
...restProps
|
|
26
|
-
} = props
|
|
27
|
-
|
|
28
|
-
return (
|
|
29
|
-
<LabelControl
|
|
30
|
-
className={className}
|
|
31
|
-
labelText={labelText}
|
|
32
|
-
helperText={helperText}
|
|
33
|
-
errorMessage={errorMessage}
|
|
34
|
-
isInvalid={isInvalid}
|
|
35
|
-
isRequired={isRequired}
|
|
36
|
-
>
|
|
37
|
-
<Select ref={ref} {...restProps} />
|
|
38
|
-
</LabelControl>
|
|
39
|
-
)
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
SelectControl.displayName = 'SelectControl'
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { LabelControl } from '../LabelControl'
|
|
3
|
-
import { Textarea } from '../Textarea'
|
|
4
|
-
|
|
5
|
-
export interface TextareaControlProps
|
|
6
|
-
extends React.ComponentPropsWithRef<'textarea'> {
|
|
7
|
-
labelText: string
|
|
8
|
-
helperText?: string
|
|
9
|
-
errorMessage?: string
|
|
10
|
-
isInvalid?: boolean
|
|
11
|
-
isRequired?: boolean
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const TextareaControl = React.forwardRef<
|
|
15
|
-
HTMLTextAreaElement,
|
|
16
|
-
TextareaControlProps
|
|
17
|
-
>((props, ref) => {
|
|
18
|
-
const {
|
|
19
|
-
className,
|
|
20
|
-
labelText,
|
|
21
|
-
helperText,
|
|
22
|
-
errorMessage,
|
|
23
|
-
isInvalid,
|
|
24
|
-
isRequired,
|
|
25
|
-
...restProps
|
|
26
|
-
} = props
|
|
27
|
-
|
|
28
|
-
return (
|
|
29
|
-
<LabelControl
|
|
30
|
-
className={className}
|
|
31
|
-
labelText={labelText}
|
|
32
|
-
helperText={helperText}
|
|
33
|
-
errorMessage={errorMessage}
|
|
34
|
-
isInvalid={isInvalid}
|
|
35
|
-
isRequired={isRequired}
|
|
36
|
-
>
|
|
37
|
-
<Textarea ref={ref} {...restProps} />
|
|
38
|
-
</LabelControl>
|
|
39
|
-
)
|
|
40
|
-
})
|
|
41
|
-
|
|
42
|
-
TextareaControl.displayName = 'TextareaControl'
|