@mirai/ui 1.1.1 → 1.1.2

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.
@@ -13,7 +13,8 @@ button.button {
13
13
  padding: var(--mirai-ui-button-padding-y) var(--mirai-ui-button-padding-x);
14
14
  position: relative;
15
15
  transition: background-color var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing),
16
- box-shadow var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing);
16
+ box-shadow var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing),
17
+ color var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing);
17
18
  width: fit-content;
18
19
  }
19
20
 
@@ -38,16 +38,17 @@
38
38
  border-width: calc(var(--mirai-ui-border-width) * 2);
39
39
  }
40
40
 
41
- .checkbox input:not(:disabled):not(:checked):focus,
42
- .checkbox input:not(:disabled):not(:checked):hover {
43
- border-color: var(--mirai-ui-focus-color);
44
- }
45
-
46
41
  .checkbox input:not(:disabled):focus,
47
42
  .checkbox input:not(:disabled):hover {
43
+ border-color: var(--mirai-ui-focus-color);
48
44
  box-shadow: var(--mirai-ui-focus-shadow);
49
45
  }
50
46
 
47
+ .checkbox input:not(:disabled):checked:focus,
48
+ .checkbox input:not(:disabled):checked:hover {
49
+ background-color: var(--mirai-ui-focus-color);
50
+ }
51
+
51
52
  /* -- reset defaults -------------------------------------------------------- */
52
53
  .checkbox input.input {
53
54
  margin-right: 0;
@@ -14,7 +14,8 @@
14
14
  margin: 0;
15
15
  outline: none;
16
16
  user-select: none;
17
- transition: border-color var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing),
17
+ transition: background-color var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing),
18
+ border-color var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing),
18
19
  box-shadow var(--mirai-ui-motion-collapse) var(--mirai-ui-motion-easing);
19
20
  width: var(--mirai-ui-radio-size);
20
21
 
@@ -59,12 +60,13 @@
59
60
 
60
61
  .radio input:not(:disabled):focus,
61
62
  .radio input:not(:disabled):hover {
63
+ border-color: var(--mirai-ui-focus-color);
62
64
  box-shadow: var(--mirai-ui-focus-shadow);
63
65
  }
64
66
 
65
- .radio input:not(:disabled):not(:checked):focus,
66
- .radio input:not(:disabled):not(:checked):hover {
67
- border-color: var(--mirai-ui-focus-color);
67
+ .radio input:not(:disabled):checked:focus,
68
+ .radio input:not(:disabled):checked:hover {
69
+ background-color: var(--mirai-ui-focus-color);
68
70
  }
69
71
 
70
72
  /* -- reset defaults -------------------------------------------------------- */
@@ -84,7 +84,7 @@
84
84
  width: var(--mirai-ui-switch-size);
85
85
  }
86
86
 
87
- .switch:hover input:not(:disabled):not(:checked) + .area {
87
+ .switch:hover input:not(:disabled) + .area {
88
88
  background-color: var(--mirai-ui-focus-color);
89
89
  }
90
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",