@geoffcox/sterling-svelte-themes 2.0.9 → 2.0.10

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 CHANGED
@@ -22,9 +22,13 @@ https://github.com/GeoffCox/sterling-svelte-themes
22
22
 
23
23
  ## Change Log
24
24
 
25
+ ### 2.0.10
26
+
27
+ - Fix to sizing of checkbox and radio button variant inputs
28
+
25
29
  ### 2.0.9
26
30
 
27
- - Small specificity bug fix in radio button hover style
31
+ - Fix in radio button hover style
28
32
 
29
33
  ### 2.0.8
30
34
 
@@ -35,28 +35,25 @@
35
35
  }
36
36
 
37
37
  .sterling-checkbox.button .container {
38
+ display: block;
38
39
  justify-self: stretch;
39
40
  align-self: stretch;
40
41
  margin-right: unset;
41
42
  }
42
43
 
43
44
  .sterling-checkbox.button input {
44
- appearance: initial;
45
- display: block;
46
- box-sizing: border-box;
47
- opacity: 0;
48
- width:100%;
49
- height: 100%;
50
- position: relative;
51
- justify-self: stretch;
52
- align-self: stretch;
45
+ left: 0;
46
+ top: 0;
47
+ right: 0;
48
+ bottom: 0;
49
+ width: unset;
50
+ height: unset;
53
51
  }
54
52
 
55
53
  .sterling-checkbox.button .indicator {
56
54
  display: none;
57
55
  }
58
56
 
59
-
60
57
  .sterling-checkbox.button.disabled {
61
58
  background-color: var(--stsv-input__background-color--disabled);
62
59
  border-color: transparent;
@@ -65,5 +62,3 @@
65
62
  .sterling-radio.button.disabled > label {
66
63
  color: var(--stsv-common__color--disabled);
67
64
  }
68
-
69
-
@@ -35,21 +35,19 @@
35
35
  }
36
36
 
37
37
  .sterling-radio.button .container {
38
+ display: block;
38
39
  justify-self: stretch;
39
40
  align-self: stretch;
40
41
  margin-right: unset;
41
42
  }
42
43
 
43
44
  .sterling-radio.button input {
44
- appearance: initial;
45
- display: block;
46
- box-sizing: border-box;
47
- opacity: 0;
48
- width:100%;
49
- height: 100%;
50
- position: relative;
51
- justify-self: stretch;
52
- align-self: stretch;
45
+ left: 0;
46
+ top: 0;
47
+ right: 0;
48
+ bottom: 0;
49
+ width: unset;
50
+ height: unset;
53
51
  }
54
52
 
55
53
  .sterling-radio.button .indicator {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoffcox/sterling-svelte-themes",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "author": "Geoff Cox",
5
5
  "description": "A modern theme for the sterling-svelte component library.",
6
6
  "license": "MIT",