@sakura-ui/sakura-ui 0.1.12 → 0.1.14
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 +3 -3
- package/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/config/src/index.ts +68 -53
- package/packages/core/.eslintrc.json +25 -0
- package/packages/core/coverage/clover.xml +258 -0
- package/packages/core/coverage/coverage-final.json +2700 -0
- package/packages/core/coverage/lcov-report/base.css +362 -0
- package/packages/core/coverage/lcov-report/block-navigation.js +85 -0
- package/packages/core/coverage/lcov-report/favicon.png +0 -0
- package/packages/core/coverage/lcov-report/index.html +216 -0
- package/packages/core/coverage/lcov-report/prettify.css +101 -0
- package/packages/core/coverage/lcov-report/prettify.js +1004 -0
- package/packages/core/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/packages/core/coverage/lcov-report/sorter.js +191 -0
- package/packages/core/coverage/lcov-report/src/components/Button.tsx.html +303 -0
- package/packages/core/coverage/lcov-report/src/components/Card.tsx.html +399 -0
- package/packages/core/coverage/lcov-report/src/components/Code.tsx.html +144 -0
- package/packages/core/coverage/lcov-report/src/components/Heading.tsx.html +405 -0
- package/packages/core/coverage/lcov-report/src/components/Icon.tsx.html +183 -0
- package/packages/core/coverage/lcov-report/src/components/IconButton.tsx.html +378 -0
- package/packages/core/coverage/lcov-report/src/components/InfoCard.tsx.html +240 -0
- package/packages/core/coverage/lcov-report/src/components/Link.tsx.html +324 -0
- package/packages/core/coverage/lcov-report/src/components/List.tsx.html +204 -0
- package/packages/core/coverage/lcov-report/src/components/Pre.tsx.html +153 -0
- package/packages/core/coverage/lcov-report/src/components/Table.tsx.html +429 -0
- package/packages/core/coverage/lcov-report/src/components/index.html +396 -0
- package/packages/core/coverage/lcov-report/src/components/index.ts.html +126 -0
- package/packages/core/coverage/lcov-report/src/index.html +176 -0
- package/packages/core/coverage/lcov-report/src/index.ts.html +171 -0
- package/packages/core/coverage/lcov-report/src/utils/class.ts.html +90 -0
- package/packages/core/coverage/lcov-report/src/utils/index.html +176 -0
- package/packages/core/coverage/lcov.info +523 -0
- package/packages/core/jest.config.ts +11 -0
- package/packages/core/package.json +16 -2
- package/packages/core/src/components/Button.tsx +57 -53
- package/packages/core/src/components/Card.tsx +86 -7
- package/packages/core/src/components/Code.tsx +1 -1
- package/packages/core/src/components/Faq.tsx +82 -0
- package/packages/core/src/components/Heading.tsx +42 -30
- package/packages/core/src/components/Icon.tsx +1 -4
- package/packages/core/src/components/IconButton.tsx +88 -73
- package/packages/core/src/components/InfoCard.tsx +13 -13
- package/packages/core/src/components/Link.tsx +23 -24
- package/packages/core/src/components/List.tsx +3 -3
- package/packages/core/src/components/Pre.tsx +1 -1
- package/packages/core/src/components/Table.tsx +7 -9
- package/packages/core/src/components/index.ts +5 -2
- package/packages/core/src/index.ts +6 -0
- package/packages/core/tests/Card.test.tsx +19 -0
- package/packages/forms/dist/components/Checkbox.d.ts +1 -1
- package/packages/forms/dist/components/Checkbox.d.ts.map +1 -1
- package/packages/forms/dist/components/Checkbox.js.map +1 -1
- package/packages/forms/dist/components/FieldsetControl.d.ts +1 -1
- package/packages/forms/dist/components/FieldsetControl.d.ts.map +1 -1
- package/packages/forms/dist/components/FieldsetControl.js +1 -1
- package/packages/forms/dist/components/FieldsetControl.js.map +1 -1
- package/packages/forms/dist/components/Input.d.ts +1 -1
- package/packages/forms/dist/components/Input.d.ts.map +1 -1
- package/packages/forms/dist/components/Input.js.map +1 -1
- package/packages/forms/dist/components/LabelControl.d.ts +1 -1
- package/packages/forms/dist/components/LabelControl.d.ts.map +1 -1
- package/packages/forms/dist/components/LabelControl.js +1 -1
- package/packages/forms/dist/components/LabelControl.js.map +1 -1
- package/packages/forms/dist/components/Radio.d.ts +1 -1
- package/packages/forms/dist/components/Radio.d.ts.map +1 -1
- package/packages/forms/dist/components/Radio.js.map +1 -1
- package/packages/forms/dist/components/Select.d.ts +1 -1
- package/packages/forms/dist/components/Select.d.ts.map +1 -1
- package/packages/forms/dist/components/Select.js.map +1 -1
- package/packages/forms/dist/components/Textarea.d.ts +1 -1
- package/packages/forms/dist/components/Textarea.d.ts.map +1 -1
- package/packages/forms/dist/components/Textarea.js +1 -1
- package/packages/forms/dist/components/Textarea.js.map +1 -1
- package/packages/forms/dist/components/controlled/CheckboxGroup.d.ts +1 -1
- package/packages/forms/dist/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/packages/forms/dist/components/controlled/CheckboxGroup.js.map +1 -1
- package/packages/forms/dist/components/controlled/RadioGroup.d.ts +1 -1
- package/packages/forms/dist/components/controlled/RadioGroup.d.ts.map +1 -1
- package/packages/forms/dist/components/controlled/RadioGroup.js.map +1 -1
- package/packages/forms/dist/components/controlled/SelectControl.d.ts +1 -1
- package/packages/forms/dist/components/controlled/SelectControl.d.ts.map +1 -1
- package/packages/forms/dist/components/controlled/SelectControl.js.map +1 -1
- package/packages/forms/dist/components/controlled/TextareaControl.d.ts +1 -1
- package/packages/forms/dist/components/controlled/TextareaControl.d.ts.map +1 -1
- package/packages/forms/dist/components/controlled/TextareaControl.js.map +1 -1
- package/packages/forms/dist/index.cjs.js +1 -1
- package/packages/forms/dist/index.cjs.js.map +1 -1
- package/packages/forms/dist/index.es.js +123 -116
- package/packages/forms/dist/index.es.js.map +1 -1
- package/packages/forms/jest.config.ts +0 -3
- package/packages/forms/node_modules/.bin/browserslist +17 -0
- package/packages/forms/package.json +1 -1
- package/packages/forms/src/components/Checkbox.tsx +35 -36
- package/packages/forms/src/components/FieldsetControl.tsx +57 -58
- package/packages/forms/src/components/Input.tsx +23 -24
- package/packages/forms/src/components/LabelControl.tsx +54 -52
- package/packages/forms/src/components/Radio.tsx +32 -33
- package/packages/forms/src/components/Select.tsx +32 -33
- package/packages/forms/src/components/Textarea.tsx +42 -43
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +36 -34
- package/packages/forms/src/components/controlled/RadioGroup.tsx +1 -1
- package/packages/forms/src/components/controlled/SelectControl.tsx +26 -24
- package/packages/forms/src/components/controlled/TextareaControl.tsx +26 -24
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Sakura UI
|
|
2
2
|
Sakura UI - UI components built with Tailwind CSS for React. Sakura UI is an unofficial implementation of the Digital Agency Design System. The specifications for each UI component have been implemented with reference to the Digital Agency Design System.
|
|
3
3
|
|
|
4
|
-
- [Design System
|
|
4
|
+
- [Digital Agency Design System](https://www.digital.go.jp/policies/servicedesign/designsystem)
|
|
5
5
|
|
|
6
6
|
## Sample page
|
|
7
7
|
|
|
@@ -42,11 +42,11 @@ Add fonts from CDN.
|
|
|
42
42
|
<meta charset="UTF-8" />
|
|
43
43
|
<link
|
|
44
44
|
href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700&display=swap"
|
|
45
|
-
rel="
|
|
45
|
+
rel="preload"
|
|
46
46
|
/>
|
|
47
47
|
<link
|
|
48
48
|
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@100;200;300;400;500;600;700&display=swap"
|
|
49
|
-
rel="
|
|
49
|
+
rel="preload"
|
|
50
50
|
/>
|
|
51
51
|
...head
|
|
52
52
|
</head>
|
package/package.json
CHANGED
|
@@ -14,105 +14,105 @@ const sakuraPlugin = plugin(
|
|
|
14
14
|
theme: {
|
|
15
15
|
extend: {
|
|
16
16
|
fontSize: {
|
|
17
|
-
'
|
|
17
|
+
'h-xxl': [
|
|
18
18
|
'57px',
|
|
19
19
|
{
|
|
20
20
|
lineHeight: '1.4',
|
|
21
21
|
letterSpacing: '0.04em',
|
|
22
|
-
fontWeight: '
|
|
22
|
+
fontWeight: '700'
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
|
-
'
|
|
25
|
+
'h-xl': [
|
|
26
26
|
'45px',
|
|
27
27
|
{
|
|
28
28
|
lineHeight: '1.4',
|
|
29
29
|
letterSpacing: '0.04em',
|
|
30
|
-
fontWeight: '
|
|
30
|
+
fontWeight: '700'
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
// h1
|
|
34
|
-
'
|
|
34
|
+
'h-lg': [
|
|
35
35
|
'36px',
|
|
36
36
|
{
|
|
37
37
|
lineHeight: '1.4',
|
|
38
38
|
letterSpacing: '0.04em',
|
|
39
|
-
fontWeight: '
|
|
39
|
+
fontWeight: '700'
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
|
-
'
|
|
42
|
+
'h-lg-m': [
|
|
43
43
|
'32px',
|
|
44
44
|
{
|
|
45
45
|
lineHeight: '1.5',
|
|
46
46
|
letterSpacing: '0.04em',
|
|
47
|
-
fontWeight: '
|
|
47
|
+
fontWeight: '700'
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
// h2
|
|
51
|
-
'
|
|
51
|
+
'h-med': [
|
|
52
52
|
'32px',
|
|
53
53
|
{
|
|
54
54
|
lineHeight: '1.5',
|
|
55
55
|
letterSpacing: '0.04em',
|
|
56
|
-
fontWeight: '
|
|
56
|
+
fontWeight: '700'
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
|
-
'
|
|
59
|
+
'h-med-m': [
|
|
60
60
|
'28px',
|
|
61
61
|
{
|
|
62
62
|
lineHeight: '1.5',
|
|
63
63
|
letterSpacing: '0.04em',
|
|
64
|
-
fontWeight: '
|
|
64
|
+
fontWeight: '700'
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
// h3
|
|
68
|
-
'
|
|
68
|
+
'h-sm': [
|
|
69
69
|
'28px',
|
|
70
70
|
{
|
|
71
71
|
lineHeight: '1.5',
|
|
72
72
|
letterSpacing: '0.04em',
|
|
73
|
-
fontWeight: '
|
|
73
|
+
fontWeight: '700'
|
|
74
74
|
}
|
|
75
75
|
],
|
|
76
|
-
'
|
|
76
|
+
'h-sm-m': [
|
|
77
77
|
'24px',
|
|
78
78
|
{
|
|
79
79
|
lineHeight: '1.5',
|
|
80
80
|
letterSpacing: '0.04em',
|
|
81
|
-
fontWeight: '
|
|
81
|
+
fontWeight: '700'
|
|
82
82
|
}
|
|
83
83
|
],
|
|
84
84
|
// h4
|
|
85
|
-
|
|
85
|
+
'h-xs': [
|
|
86
86
|
'24px',
|
|
87
87
|
{
|
|
88
88
|
lineHeight: '1.5',
|
|
89
89
|
letterSpacing: '0.04em',
|
|
90
|
-
fontWeight: '
|
|
90
|
+
fontWeight: '700'
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
-
|
|
93
|
+
'h-xs-m': [
|
|
94
94
|
'20px',
|
|
95
95
|
{
|
|
96
96
|
lineHeight: '1.5',
|
|
97
97
|
letterSpacing: '0.04em',
|
|
98
|
-
fontWeight: '
|
|
98
|
+
fontWeight: '700'
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
101
|
// h5 h6
|
|
102
|
-
|
|
102
|
+
'h-xxs': [
|
|
103
103
|
'20px',
|
|
104
104
|
{
|
|
105
105
|
lineHeight: '1.5',
|
|
106
106
|
letterSpacing: '0.04em',
|
|
107
|
-
fontWeight: '
|
|
107
|
+
fontWeight: '700'
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
|
-
|
|
110
|
+
'h-xxs-m': [
|
|
111
111
|
'16px',
|
|
112
112
|
{
|
|
113
113
|
lineHeight: '1.5',
|
|
114
114
|
letterSpacing: '0.04em',
|
|
115
|
-
fontWeight: '
|
|
115
|
+
fontWeight: '700'
|
|
116
116
|
}
|
|
117
117
|
],
|
|
118
118
|
base: [
|
|
@@ -123,7 +123,7 @@ const sakuraPlugin = plugin(
|
|
|
123
123
|
fontWeight: '400'
|
|
124
124
|
}
|
|
125
125
|
],
|
|
126
|
-
|
|
126
|
+
'base-sm': [
|
|
127
127
|
'14px',
|
|
128
128
|
{
|
|
129
129
|
lineHeight: '1.7',
|
|
@@ -131,35 +131,19 @@ const sakuraPlugin = plugin(
|
|
|
131
131
|
fontWeight: '400'
|
|
132
132
|
}
|
|
133
133
|
],
|
|
134
|
-
|
|
135
|
-
'14px',
|
|
136
|
-
{
|
|
137
|
-
lineHeight: '1.5',
|
|
138
|
-
letterSpacing: '0.04em',
|
|
139
|
-
fontWeight: '500'
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
labelSmall: [
|
|
143
|
-
'12px',
|
|
144
|
-
{
|
|
145
|
-
lineHeight: '1.5',
|
|
146
|
-
letterSpacing: '0.04em',
|
|
147
|
-
fontWeight: '500'
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
|
-
xs: [
|
|
134
|
+
sup: [
|
|
151
135
|
'12px',
|
|
152
136
|
{
|
|
153
137
|
lineHeight: '1.7',
|
|
154
|
-
letterSpacing: '0.
|
|
138
|
+
letterSpacing: '0.02em',
|
|
155
139
|
fontWeight: '400'
|
|
156
140
|
}
|
|
157
141
|
],
|
|
158
|
-
|
|
142
|
+
'sup-sm': [
|
|
159
143
|
'10px',
|
|
160
144
|
{
|
|
161
145
|
lineHeight: '1.7',
|
|
162
|
-
letterSpacing: '0.
|
|
146
|
+
letterSpacing: '0.02em',
|
|
163
147
|
fontWeight: '400'
|
|
164
148
|
}
|
|
165
149
|
],
|
|
@@ -171,6 +155,22 @@ const sakuraPlugin = plugin(
|
|
|
171
155
|
fontWeight: '700'
|
|
172
156
|
}
|
|
173
157
|
],
|
|
158
|
+
label: [
|
|
159
|
+
'14px',
|
|
160
|
+
{
|
|
161
|
+
lineHeight: '1.5',
|
|
162
|
+
letterSpacing: '0.04em',
|
|
163
|
+
fontWeight: '500'
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
'label-sm': [
|
|
167
|
+
'12px',
|
|
168
|
+
{
|
|
169
|
+
lineHeight: '1.5',
|
|
170
|
+
letterSpacing: '0.04em',
|
|
171
|
+
fontWeight: '500'
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
174
|
code: [
|
|
175
175
|
'16px',
|
|
176
176
|
{
|
|
@@ -185,11 +185,14 @@ const sakuraPlugin = plugin(
|
|
|
185
185
|
1000: '#FFFFFF'
|
|
186
186
|
},
|
|
187
187
|
sea: {
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
1200: '#00004F',
|
|
189
|
+
1100: '#000060',
|
|
190
|
+
1000: '#000071',
|
|
191
|
+
900: '#000082',
|
|
192
|
+
800: '#0017C1',
|
|
190
193
|
700: '#0031D8',
|
|
191
|
-
600: '#
|
|
192
|
-
500: '#
|
|
194
|
+
600: '#1A3EE8',
|
|
195
|
+
500: '#264AF4',
|
|
193
196
|
400: '#4979F5',
|
|
194
197
|
300: '#7096F8',
|
|
195
198
|
200: '#9DB7F9',
|
|
@@ -197,6 +200,9 @@ const sakuraPlugin = plugin(
|
|
|
197
200
|
50: '#E8F1FE'
|
|
198
201
|
},
|
|
199
202
|
sumi: {
|
|
203
|
+
1200: '#000000',
|
|
204
|
+
1100: '#080808',
|
|
205
|
+
1000: '#111111',
|
|
200
206
|
900: '#1A1A1C',
|
|
201
207
|
800: '#414143',
|
|
202
208
|
700: '#626264',
|
|
@@ -209,6 +215,9 @@ const sakuraPlugin = plugin(
|
|
|
209
215
|
50: '#F8F8FB'
|
|
210
216
|
},
|
|
211
217
|
forest: {
|
|
218
|
+
1200: '#032213',
|
|
219
|
+
1100: '#08351F',
|
|
220
|
+
1000: '#0C472A',
|
|
212
221
|
900: '#115A36',
|
|
213
222
|
800: '#197A4B',
|
|
214
223
|
700: '#1D8B56',
|
|
@@ -218,9 +227,12 @@ const sakuraPlugin = plugin(
|
|
|
218
227
|
300: '#71C598',
|
|
219
228
|
200: '#9BD4B5',
|
|
220
229
|
100: '#C2E5D1',
|
|
221
|
-
50: '#
|
|
230
|
+
50: '#E6F5EC'
|
|
222
231
|
},
|
|
223
232
|
wood: {
|
|
233
|
+
1200: '#662E00',
|
|
234
|
+
1100: '#833B00',
|
|
235
|
+
1000: '#9C4600',
|
|
224
236
|
900: '#B65200',
|
|
225
237
|
800: '#C16800',
|
|
226
238
|
700: '#C87504',
|
|
@@ -228,11 +240,14 @@ const sakuraPlugin = plugin(
|
|
|
228
240
|
500: '#D18D0F',
|
|
229
241
|
400: '#D69C2B',
|
|
230
242
|
300: '#DCAC4D',
|
|
231
|
-
200: '#
|
|
232
|
-
100: '#
|
|
233
|
-
50: '#
|
|
243
|
+
200: '#E1C383',
|
|
244
|
+
100: '#E7D8B9',
|
|
245
|
+
50: '#F3EEE5'
|
|
234
246
|
},
|
|
235
247
|
sun: {
|
|
248
|
+
1200: '#640101',
|
|
249
|
+
1100: '#890101',
|
|
250
|
+
1000: '#AF0000',
|
|
236
251
|
900: '#D50000',
|
|
237
252
|
800: '#EC0000',
|
|
238
253
|
700: '#FA1606',
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"es2021": true
|
|
5
|
+
},
|
|
6
|
+
"extends": [
|
|
7
|
+
"eslint:recommended",
|
|
8
|
+
"plugin:@typescript-eslint/recommended",
|
|
9
|
+
"plugin:react/recommended",
|
|
10
|
+
"plugin:jsx-a11y/recommended",
|
|
11
|
+
"prettier"
|
|
12
|
+
],
|
|
13
|
+
"parser": "@typescript-eslint/parser",
|
|
14
|
+
"parserOptions": {
|
|
15
|
+
"ecmaVersion": "latest",
|
|
16
|
+
"sourceType": "module"
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["@typescript-eslint", "react", "jsx-a11y"],
|
|
19
|
+
"rules": {},
|
|
20
|
+
"settings": {
|
|
21
|
+
"react": {
|
|
22
|
+
"version": "detect"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1691656853152" clover="3.2.0">
|
|
3
|
+
<project timestamp="1691656853152" name="All files">
|
|
4
|
+
<metrics statements="201" coveredstatements="98" conditionals="36" coveredconditionals="0" methods="80" coveredmethods="7" elements="317" coveredelements="105" complexity="0" loc="201" ncloc="201" packages="3" files="14" classes="14"/>
|
|
5
|
+
<package name="src">
|
|
6
|
+
<metrics statements="27" coveredstatements="27" conditionals="0" coveredconditionals="0" methods="26" coveredmethods="2"/>
|
|
7
|
+
<file name="index.ts" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/index.ts">
|
|
8
|
+
<metrics statements="27" coveredstatements="27" conditionals="0" coveredconditionals="0" methods="26" coveredmethods="2"/>
|
|
9
|
+
<line num="1" count="1" type="stmt"/>
|
|
10
|
+
<line num="2" count="1" type="stmt"/>
|
|
11
|
+
<line num="3" count="2" type="stmt"/>
|
|
12
|
+
<line num="4" count="2" type="stmt"/>
|
|
13
|
+
<line num="5" count="1" type="stmt"/>
|
|
14
|
+
<line num="6" count="1" type="stmt"/>
|
|
15
|
+
<line num="7" count="1" type="stmt"/>
|
|
16
|
+
<line num="8" count="1" type="stmt"/>
|
|
17
|
+
<line num="9" count="1" type="stmt"/>
|
|
18
|
+
<line num="10" count="1" type="stmt"/>
|
|
19
|
+
<line num="11" count="1" type="stmt"/>
|
|
20
|
+
<line num="12" count="1" type="stmt"/>
|
|
21
|
+
<line num="13" count="1" type="stmt"/>
|
|
22
|
+
<line num="14" count="1" type="stmt"/>
|
|
23
|
+
<line num="15" count="1" type="stmt"/>
|
|
24
|
+
<line num="16" count="1" type="stmt"/>
|
|
25
|
+
<line num="17" count="1" type="stmt"/>
|
|
26
|
+
<line num="18" count="1" type="stmt"/>
|
|
27
|
+
<line num="19" count="1" type="stmt"/>
|
|
28
|
+
<line num="20" count="1" type="stmt"/>
|
|
29
|
+
<line num="21" count="1" type="stmt"/>
|
|
30
|
+
<line num="22" count="1" type="stmt"/>
|
|
31
|
+
<line num="23" count="1" type="stmt"/>
|
|
32
|
+
<line num="24" count="1" type="stmt"/>
|
|
33
|
+
<line num="25" count="1" type="stmt"/>
|
|
34
|
+
<line num="26" count="1" type="stmt"/>
|
|
35
|
+
<line num="27" count="1" type="stmt"/>
|
|
36
|
+
</file>
|
|
37
|
+
</package>
|
|
38
|
+
<package name="src.components">
|
|
39
|
+
<metrics statements="173" coveredstatements="70" conditionals="36" coveredconditionals="0" methods="53" coveredmethods="4"/>
|
|
40
|
+
<file name="Button.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Button.tsx">
|
|
41
|
+
<metrics statements="11" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
42
|
+
<line num="1" count="1" type="stmt"/>
|
|
43
|
+
<line num="2" count="1" type="stmt"/>
|
|
44
|
+
<line num="9" count="1" type="stmt"/>
|
|
45
|
+
<line num="14" count="0" type="stmt"/>
|
|
46
|
+
<line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
47
|
+
<line num="18" count="0" type="stmt"/>
|
|
48
|
+
<line num="38" count="0" type="stmt"/>
|
|
49
|
+
<line num="46" count="0" type="stmt"/>
|
|
50
|
+
<line num="56" count="0" type="stmt"/>
|
|
51
|
+
<line num="61" count="0" type="stmt"/>
|
|
52
|
+
<line num="72" count="1" type="stmt"/>
|
|
53
|
+
</file>
|
|
54
|
+
<file name="Card.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Card.tsx">
|
|
55
|
+
<metrics statements="22" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
|
|
56
|
+
<line num="1" count="1" type="stmt"/>
|
|
57
|
+
<line num="2" count="1" type="stmt"/>
|
|
58
|
+
<line num="8" count="1" type="stmt"/>
|
|
59
|
+
<line num="12" count="1" type="stmt"/>
|
|
60
|
+
<line num="13" count="1" type="stmt"/>
|
|
61
|
+
<line num="15" count="1" type="stmt"/>
|
|
62
|
+
<line num="16" count="1" type="stmt"/>
|
|
63
|
+
<line num="18" count="1" type="stmt"/>
|
|
64
|
+
<line num="28" count="1" type="stmt"/>
|
|
65
|
+
<line num="43" count="1" type="stmt"/>
|
|
66
|
+
<line num="46" count="1" type="stmt"/>
|
|
67
|
+
<line num="48" count="1" type="stmt"/>
|
|
68
|
+
<line num="50" count="1" type="stmt"/>
|
|
69
|
+
<line num="57" count="1" type="stmt"/>
|
|
70
|
+
<line num="66" count="1" type="stmt"/>
|
|
71
|
+
<line num="69" count="0" type="stmt"/>
|
|
72
|
+
<line num="71" count="0" type="stmt"/>
|
|
73
|
+
<line num="78" count="0" type="stmt"/>
|
|
74
|
+
<line num="88" count="1" type="stmt"/>
|
|
75
|
+
<line num="91" count="0" type="stmt"/>
|
|
76
|
+
<line num="93" count="0" type="stmt"/>
|
|
77
|
+
<line num="99" count="0" type="stmt"/>
|
|
78
|
+
</file>
|
|
79
|
+
<file name="Code.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Code.tsx">
|
|
80
|
+
<metrics statements="5" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
81
|
+
<line num="2" count="1" type="stmt"/>
|
|
82
|
+
<line num="6" count="1" type="stmt"/>
|
|
83
|
+
<line num="7" count="0" type="stmt"/>
|
|
84
|
+
<line num="9" count="0" type="stmt"/>
|
|
85
|
+
<line num="14" count="0" type="stmt"/>
|
|
86
|
+
</file>
|
|
87
|
+
<file name="Heading.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Heading.tsx">
|
|
88
|
+
<metrics statements="25" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
89
|
+
<line num="2" count="1" type="stmt"/>
|
|
90
|
+
<line num="6" count="1" type="stmt"/>
|
|
91
|
+
<line num="7" count="0" type="stmt"/>
|
|
92
|
+
<line num="9" count="0" type="stmt"/>
|
|
93
|
+
<line num="16" count="0" type="stmt"/>
|
|
94
|
+
<line num="23" count="1" type="stmt"/>
|
|
95
|
+
<line num="24" count="0" type="stmt"/>
|
|
96
|
+
<line num="26" count="0" type="stmt"/>
|
|
97
|
+
<line num="33" count="0" type="stmt"/>
|
|
98
|
+
<line num="40" count="1" type="stmt"/>
|
|
99
|
+
<line num="41" count="0" type="stmt"/>
|
|
100
|
+
<line num="43" count="0" type="stmt"/>
|
|
101
|
+
<line num="50" count="0" type="stmt"/>
|
|
102
|
+
<line num="57" count="1" type="stmt"/>
|
|
103
|
+
<line num="58" count="0" type="stmt"/>
|
|
104
|
+
<line num="60" count="0" type="stmt"/>
|
|
105
|
+
<line num="67" count="0" type="stmt"/>
|
|
106
|
+
<line num="74" count="1" type="stmt"/>
|
|
107
|
+
<line num="75" count="0" type="stmt"/>
|
|
108
|
+
<line num="77" count="0" type="stmt"/>
|
|
109
|
+
<line num="84" count="0" type="stmt"/>
|
|
110
|
+
<line num="91" count="1" type="stmt"/>
|
|
111
|
+
<line num="92" count="0" type="stmt"/>
|
|
112
|
+
<line num="94" count="0" type="stmt"/>
|
|
113
|
+
<line num="101" count="0" type="stmt"/>
|
|
114
|
+
</file>
|
|
115
|
+
<file name="Icon.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Icon.tsx">
|
|
116
|
+
<metrics statements="7" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
117
|
+
<line num="1" count="1" type="stmt"/>
|
|
118
|
+
<line num="2" count="1" type="stmt"/>
|
|
119
|
+
<line num="8" count="1" type="stmt"/>
|
|
120
|
+
<line num="12" count="0" type="stmt"/>
|
|
121
|
+
<line num="14" count="0" type="stmt"/>
|
|
122
|
+
<line num="25" count="0" type="stmt"/>
|
|
123
|
+
<line num="32" count="1" type="stmt"/>
|
|
124
|
+
</file>
|
|
125
|
+
<file name="IconButton.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/IconButton.tsx">
|
|
126
|
+
<metrics statements="13" coveredstatements="4" conditionals="14" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
127
|
+
<line num="1" count="1" type="stmt"/>
|
|
128
|
+
<line num="2" count="1" type="stmt"/>
|
|
129
|
+
<line num="11" count="1" type="stmt"/>
|
|
130
|
+
<line num="23" count="0" type="stmt"/>
|
|
131
|
+
<line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
132
|
+
<line num="27" count="0" type="stmt"/>
|
|
133
|
+
<line num="29" count="0" type="stmt"/>
|
|
134
|
+
<line num="50" count="0" type="stmt"/>
|
|
135
|
+
<line num="58" count="0" type="stmt"/>
|
|
136
|
+
<line num="68" count="0" type="stmt"/>
|
|
137
|
+
<line num="73" count="0" type="stmt"/>
|
|
138
|
+
<line num="84" count="0" type="stmt"/>
|
|
139
|
+
<line num="97" count="1" type="stmt"/>
|
|
140
|
+
</file>
|
|
141
|
+
<file name="InfoCard.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/InfoCard.tsx">
|
|
142
|
+
<metrics statements="9" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
143
|
+
<line num="1" count="1" type="stmt"/>
|
|
144
|
+
<line num="2" count="1" type="stmt"/>
|
|
145
|
+
<line num="9" count="1" type="stmt"/>
|
|
146
|
+
<line num="12" count="0" type="stmt"/>
|
|
147
|
+
<line num="14" count="0" type="stmt"/>
|
|
148
|
+
<line num="23" count="0" type="stmt"/>
|
|
149
|
+
<line num="31" count="0" type="stmt"/>
|
|
150
|
+
<line num="37" count="0" type="stmt"/>
|
|
151
|
+
<line num="39" count="0" type="stmt"/>
|
|
152
|
+
</file>
|
|
153
|
+
<file name="Link.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Link.tsx">
|
|
154
|
+
<metrics statements="28" coveredstatements="5" conditionals="18" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
155
|
+
<line num="1" count="1" type="stmt"/>
|
|
156
|
+
<line num="2" count="1" type="stmt"/>
|
|
157
|
+
<line num="4" count="1" type="stmt"/>
|
|
158
|
+
<line num="5" count="0" type="stmt"/>
|
|
159
|
+
<line num="7" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
160
|
+
<line num="8" count="0" type="stmt"/>
|
|
161
|
+
<line num="10" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
162
|
+
<line num="11" count="0" type="stmt"/>
|
|
163
|
+
<line num="13" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
164
|
+
<line num="14" count="0" type="stmt"/>
|
|
165
|
+
<line num="16" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
166
|
+
<line num="17" count="0" type="stmt"/>
|
|
167
|
+
<line num="19" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
168
|
+
<line num="20" count="0" type="stmt"/>
|
|
169
|
+
<line num="22" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
170
|
+
<line num="23" count="0" type="stmt"/>
|
|
171
|
+
<line num="25" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
172
|
+
<line num="26" count="0" type="stmt"/>
|
|
173
|
+
<line num="28" count="0" type="stmt"/>
|
|
174
|
+
<line num="33" count="1" type="stmt"/>
|
|
175
|
+
<line num="37" count="0" type="stmt"/>
|
|
176
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
177
|
+
<line num="39" count="0" type="stmt"/>
|
|
178
|
+
<line num="41" count="0" type="stmt"/>
|
|
179
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
180
|
+
<line num="57" count="0" type="stmt"/>
|
|
181
|
+
<line num="71" count="0" type="stmt"/>
|
|
182
|
+
<line num="79" count="1" type="stmt"/>
|
|
183
|
+
</file>
|
|
184
|
+
<file name="List.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/List.tsx">
|
|
185
|
+
<metrics statements="9" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
186
|
+
<line num="2" count="1" type="stmt"/>
|
|
187
|
+
<line num="6" count="1" type="stmt"/>
|
|
188
|
+
<line num="7" count="0" type="stmt"/>
|
|
189
|
+
<line num="9" count="0" type="stmt"/>
|
|
190
|
+
<line num="16" count="0" type="stmt"/>
|
|
191
|
+
<line num="25" count="1" type="stmt"/>
|
|
192
|
+
<line num="26" count="0" type="stmt"/>
|
|
193
|
+
<line num="28" count="0" type="stmt"/>
|
|
194
|
+
<line num="34" count="0" type="stmt"/>
|
|
195
|
+
</file>
|
|
196
|
+
<file name="Pre.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Pre.tsx">
|
|
197
|
+
<metrics statements="5" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
198
|
+
<line num="2" count="1" type="stmt"/>
|
|
199
|
+
<line num="6" count="1" type="stmt"/>
|
|
200
|
+
<line num="7" count="0" type="stmt"/>
|
|
201
|
+
<line num="9" count="0" type="stmt"/>
|
|
202
|
+
<line num="17" count="0" type="stmt"/>
|
|
203
|
+
</file>
|
|
204
|
+
<file name="Table.tsx" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/Table.tsx">
|
|
205
|
+
<metrics statements="28" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
206
|
+
<line num="2" count="1" type="stmt"/>
|
|
207
|
+
<line num="6" count="1" type="stmt"/>
|
|
208
|
+
<line num="12" count="1" type="stmt"/>
|
|
209
|
+
<line num="13" count="0" type="stmt"/>
|
|
210
|
+
<line num="16" count="0" type="stmt"/>
|
|
211
|
+
<line num="22" count="0" type="stmt"/>
|
|
212
|
+
<line num="32" count="1" type="stmt"/>
|
|
213
|
+
<line num="35" count="0" type="stmt"/>
|
|
214
|
+
<line num="37" count="0" type="stmt"/>
|
|
215
|
+
<line num="38" count="0" type="stmt"/>
|
|
216
|
+
<line num="47" count="1" type="stmt"/>
|
|
217
|
+
<line num="48" count="0" type="stmt"/>
|
|
218
|
+
<line num="50" count="0" type="stmt"/>
|
|
219
|
+
<line num="59" count="1" type="stmt"/>
|
|
220
|
+
<line num="60" count="0" type="stmt"/>
|
|
221
|
+
<line num="62" count="0" type="stmt"/>
|
|
222
|
+
<line num="71" count="1" type="stmt"/>
|
|
223
|
+
<line num="72" count="0" type="stmt"/>
|
|
224
|
+
<line num="74" count="0" type="stmt"/>
|
|
225
|
+
<line num="79" count="0" type="stmt"/>
|
|
226
|
+
<line num="88" count="1" type="stmt"/>
|
|
227
|
+
<line num="89" count="0" type="stmt"/>
|
|
228
|
+
<line num="91" count="0" type="stmt"/>
|
|
229
|
+
<line num="93" count="0" type="stmt"/>
|
|
230
|
+
<line num="102" count="1" type="stmt"/>
|
|
231
|
+
<line num="103" count="0" type="stmt"/>
|
|
232
|
+
<line num="105" count="0" type="stmt"/>
|
|
233
|
+
<line num="109" count="0" type="stmt"/>
|
|
234
|
+
</file>
|
|
235
|
+
<file name="index.ts" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/components/index.ts">
|
|
236
|
+
<metrics statements="11" coveredstatements="11" conditionals="0" coveredconditionals="0" methods="26" coveredmethods="2"/>
|
|
237
|
+
<line num="1" count="1" type="stmt"/>
|
|
238
|
+
<line num="2" count="2" type="stmt"/>
|
|
239
|
+
<line num="3" count="1" type="stmt"/>
|
|
240
|
+
<line num="4" count="1" type="stmt"/>
|
|
241
|
+
<line num="5" count="1" type="stmt"/>
|
|
242
|
+
<line num="6" count="1" type="stmt"/>
|
|
243
|
+
<line num="7" count="1" type="stmt"/>
|
|
244
|
+
<line num="8" count="1" type="stmt"/>
|
|
245
|
+
<line num="9" count="1" type="stmt"/>
|
|
246
|
+
<line num="10" count="1" type="stmt"/>
|
|
247
|
+
<line num="13" count="1" type="stmt"/>
|
|
248
|
+
</file>
|
|
249
|
+
</package>
|
|
250
|
+
<package name="src.utils">
|
|
251
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
252
|
+
<file name="class.ts" path="/Users/t.fujita/Documents/Repos/sakura-ui/packages/core/src/utils/class.ts">
|
|
253
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
254
|
+
<line num="1" count="2" type="stmt"/>
|
|
255
|
+
</file>
|
|
256
|
+
</package>
|
|
257
|
+
</project>
|
|
258
|
+
</coverage>
|