@mirai/ui 1.0.214 → 1.0.216
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/build/components/Action/Action.js +1 -1
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +5 -5
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +15 -15
- package/build/components/Button/Button.js +1 -1
- package/build/components/Button/Button.js.map +1 -1
- package/build/components/Button/Button.module.css +16 -10
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +15 -15
- package/build/components/Calendar/Calendar.Week.js +1 -1
- package/build/components/Calendar/Calendar.Week.js.map +1 -1
- package/build/components/Calendar/Calendar.js +1 -1
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/Calendar.module.css +7 -6
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +2010 -2010
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +1 -1
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +7 -7
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +24 -24
- package/build/components/InputText/InputText.js +2 -2
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/InputText.module.css +7 -3
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +16 -16
- package/build/components/Menu/Menu.Option.js +1 -1
- package/build/components/Menu/Menu.Option.js.map +1 -1
- package/build/components/Menu/Menu.module.css +3 -3
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +12 -12
- package/build/components/Modal/Modal.js +10 -0
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +3 -3
- package/build/components/Notification/Notification.js +1 -1
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +10 -7
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +6 -6
- package/build/components/Table/Table.Row.js +1 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.module.css +6 -2
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +36 -36
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +141 -39
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/Tooltip.module.css +5 -5
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +12 -12
- package/build/primitives/Checkbox/Checkbox.module.css +2 -1
- package/build/primitives/Layer/Layer.module.css +1 -4
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +6 -6
- package/build/primitives/Radio/Radio.module.css +2 -2
- package/build/primitives/Select/Select.module.css +5 -1
- package/build/primitives/Switch/Switch.module.css +5 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ exports[` 1`] = `
|
|
|
6
6
|
data-testid="onEnter"
|
|
7
7
|
>
|
|
8
8
|
<button
|
|
9
|
-
class="pressable button dispatcher"
|
|
9
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
10
10
|
data-testid="onEnter-dispatcher"
|
|
11
11
|
>
|
|
12
12
|
Action
|
|
@@ -21,7 +21,7 @@ exports[` 2`] = `
|
|
|
21
21
|
data-testid="onEnter"
|
|
22
22
|
>
|
|
23
23
|
<button
|
|
24
|
-
class="pressable button dispatcher"
|
|
24
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
25
25
|
data-testid="onEnter-dispatcher"
|
|
26
26
|
>
|
|
27
27
|
Action
|
|
@@ -36,7 +36,7 @@ exports[` 3`] = `
|
|
|
36
36
|
data-testid="onPress"
|
|
37
37
|
>
|
|
38
38
|
<button
|
|
39
|
-
class="pressable button dispatcher"
|
|
39
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
40
40
|
data-testid="onPress-dispatcher"
|
|
41
41
|
>
|
|
42
42
|
Action
|
|
@@ -51,7 +51,7 @@ exports[` 4`] = `
|
|
|
51
51
|
data-testid="onPress"
|
|
52
52
|
>
|
|
53
53
|
<button
|
|
54
|
-
class="pressable button dispatcher"
|
|
54
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
55
55
|
data-testid="onPress-dispatcher"
|
|
56
56
|
>
|
|
57
57
|
Action
|
|
@@ -63,7 +63,7 @@ exports[` 4`] = `
|
|
|
63
63
|
exports[`component:<Tooltip> inherit:className 1`] = `
|
|
64
64
|
<DocumentFragment>
|
|
65
65
|
<button
|
|
66
|
-
class="pressable button"
|
|
66
|
+
class="pressable button active default primary solid enabled"
|
|
67
67
|
>
|
|
68
68
|
Action
|
|
69
69
|
</button>
|
|
@@ -74,7 +74,7 @@ exports[`component:<Tooltip> prop:Template 1`] = `
|
|
|
74
74
|
<DocumentFragment>
|
|
75
75
|
<span>
|
|
76
76
|
<button
|
|
77
|
-
class="pressable button dispatcher"
|
|
77
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
78
78
|
>
|
|
79
79
|
Action
|
|
80
80
|
</button>
|
|
@@ -84,7 +84,7 @@ exports[`component:<Tooltip> prop:Template 1`] = `
|
|
|
84
84
|
style="left: 0px; top: 0px;"
|
|
85
85
|
>
|
|
86
86
|
<div
|
|
87
|
-
class="view tooltip left bottom"
|
|
87
|
+
class="view tooltip notAlign left bottom"
|
|
88
88
|
>
|
|
89
89
|
<strong>
|
|
90
90
|
mirai
|
|
@@ -98,7 +98,7 @@ exports[`component:<Tooltip> prop:text 1`] = `
|
|
|
98
98
|
<DocumentFragment>
|
|
99
99
|
<span>
|
|
100
100
|
<button
|
|
101
|
-
class="pressable button dispatcher"
|
|
101
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
102
102
|
>
|
|
103
103
|
Action
|
|
104
104
|
</button>
|
|
@@ -108,7 +108,7 @@ exports[`component:<Tooltip> prop:text 1`] = `
|
|
|
108
108
|
style="left: 0px; top: 0px;"
|
|
109
109
|
>
|
|
110
110
|
<div
|
|
111
|
-
class="view tooltip left bottom"
|
|
111
|
+
class="view tooltip notAlign left bottom"
|
|
112
112
|
>
|
|
113
113
|
<span
|
|
114
114
|
class="text bold small text"
|
|
@@ -123,7 +123,7 @@ exports[`component:<Tooltip> prop:text 1`] = `
|
|
|
123
123
|
exports[`component:<Tooltip> prop:top 1`] = `
|
|
124
124
|
<DocumentFragment>
|
|
125
125
|
<button
|
|
126
|
-
class="pressable button"
|
|
126
|
+
class="pressable button active default primary solid enabled"
|
|
127
127
|
>
|
|
128
128
|
Action
|
|
129
129
|
</button>
|
|
@@ -133,7 +133,7 @@ exports[`component:<Tooltip> prop:top 1`] = `
|
|
|
133
133
|
exports[`component:<Tooltip> renders 1`] = `
|
|
134
134
|
<DocumentFragment>
|
|
135
135
|
<button
|
|
136
|
-
class="pressable button"
|
|
136
|
+
class="pressable button active default primary solid enabled"
|
|
137
137
|
>
|
|
138
138
|
Action
|
|
139
139
|
</button>
|
|
@@ -146,7 +146,7 @@ exports[`component:<Tooltip> testId 1`] = `
|
|
|
146
146
|
data-testid="mirai"
|
|
147
147
|
>
|
|
148
148
|
<button
|
|
149
|
-
class="pressable button dispatcher"
|
|
149
|
+
class="pressable button active default primary solid enabled dispatcher"
|
|
150
150
|
data-testid="mirai-dispatcher"
|
|
151
151
|
>
|
|
152
152
|
Action
|
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
.checkbox input:disabled.checked {
|
|
31
31
|
background-color: var(--mirai-ui-checkbox-disabled);
|
|
32
|
+
border-color: var(--mirai-ui-checkbox-disabled);
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
.checkbox input
|
|
35
|
+
.checkbox input.checked {
|
|
35
36
|
background-color: var(--mirai-ui-checkbox-checked);
|
|
36
37
|
border-color: var(--mirai-ui-checkbox-checked);
|
|
37
38
|
}
|
|
@@ -37,7 +37,7 @@ exports[`primitive:<Layer> w/ centered && visible 1`] = `
|
|
|
37
37
|
<DocumentFragment>
|
|
38
38
|
<span>
|
|
39
39
|
<button
|
|
40
|
-
class="pressable button"
|
|
40
|
+
class="pressable button active default primary solid enabled"
|
|
41
41
|
>
|
|
42
42
|
Action
|
|
43
43
|
</button>
|
|
@@ -59,7 +59,7 @@ exports[`primitive:<Layer> w/ component & <LayerContent> 1`] = `
|
|
|
59
59
|
<DocumentFragment>
|
|
60
60
|
<span>
|
|
61
61
|
<button
|
|
62
|
-
class="pressable button"
|
|
62
|
+
class="pressable button active default primary solid enabled"
|
|
63
63
|
>
|
|
64
64
|
Action
|
|
65
65
|
</button>
|
|
@@ -81,7 +81,7 @@ exports[`primitive:<Layer> w/ component 1`] = `
|
|
|
81
81
|
<DocumentFragment>
|
|
82
82
|
<span>
|
|
83
83
|
<button
|
|
84
|
-
class="pressable button"
|
|
84
|
+
class="pressable button active default primary solid enabled"
|
|
85
85
|
>
|
|
86
86
|
Action
|
|
87
87
|
</button>
|
|
@@ -97,7 +97,7 @@ exports[`primitive:<Layer> w/ fixed 1`] = `
|
|
|
97
97
|
<DocumentFragment>
|
|
98
98
|
<span>
|
|
99
99
|
<button
|
|
100
|
-
class="pressable button"
|
|
100
|
+
class="pressable button active default primary solid enabled"
|
|
101
101
|
>
|
|
102
102
|
Action
|
|
103
103
|
</button>
|
|
@@ -119,7 +119,7 @@ exports[`primitive:<Layer> w/ forceRender={false} & <LayerContent> 1`] = `
|
|
|
119
119
|
<DocumentFragment>
|
|
120
120
|
<span>
|
|
121
121
|
<button
|
|
122
|
-
class="pressable button"
|
|
122
|
+
class="pressable button active default primary solid enabled"
|
|
123
123
|
>
|
|
124
124
|
Action
|
|
125
125
|
</button>
|
|
@@ -131,7 +131,7 @@ exports[`primitive:<Layer> w/ visible 1`] = `
|
|
|
131
131
|
<DocumentFragment>
|
|
132
132
|
<span>
|
|
133
133
|
<button
|
|
134
|
-
class="pressable button"
|
|
134
|
+
class="pressable button active default primary solid enabled"
|
|
135
135
|
>
|
|
136
136
|
Action
|
|
137
137
|
</button>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
border-color: var(--mirai-ui-radio-disabled);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.radio input:checked
|
|
41
|
+
.radio input:checked {
|
|
42
42
|
background-color: var(--mirai-ui-radio-checked);
|
|
43
43
|
border-color: var(--mirai-ui-radio-checked);
|
|
44
44
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
background-color: var(--mirai-ui-radio-disabled);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.radio input:checked
|
|
50
|
+
.radio input:checked ~ .checkmark {
|
|
51
51
|
background-color: var(--mirai-ui-radio-base);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -18,10 +18,14 @@
|
|
|
18
18
|
-moz-appearance: none;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.select.empty
|
|
21
|
+
.select.empty {
|
|
22
22
|
color: var(--mirai-ui-input-disabled);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
.select.empty:focus {
|
|
26
|
+
color: var(--mirai-ui-input-color);
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
.select:disabled {
|
|
26
30
|
color: var(--mirai-ui-input-disabled);
|
|
27
31
|
opacity: 1;
|
|
@@ -56,7 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@media only screen and (min-width: 600px) {
|
|
59
|
-
.switch:hover input
|
|
59
|
+
.switch:hover input + .area {
|
|
60
60
|
background-color: var(--mirai-ui-switch-color-hover);
|
|
61
61
|
}
|
|
62
|
+
|
|
63
|
+
.switch:hover input:disabled + .area {
|
|
64
|
+
background-color: var(--mirai-ui-switch-disabled);
|
|
65
|
+
}
|
|
62
66
|
}
|