carbon-react 117.4.0 → 117.4.1

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,19 +13,20 @@ const StyledSwitchSlider = styled.span`
13
13
  display: flex;
14
14
  font-size: 12px;
15
15
  font-weight: bold;
16
- height: 24px;
16
+ height: 28px;
17
17
  left: 0;
18
18
  letter-spacing: 1px;
19
19
  position: absolute;
20
20
  text-transform: uppercase;
21
21
  top: 0;
22
- width: 60px;
22
+ width: 64px;
23
23
  min-width: fit-content;
24
24
  z-index: 2;
25
25
  border-radius: 90px;
26
26
  border-style: solid;
27
27
  border-color: var(--colorsActionMinor400);
28
28
  border-width: var(--borderWidth200);
29
+ box-sizing: border-box;
29
30
 
30
31
  &::before {
31
32
  background-color: var(--colorsActionMinor400);
@@ -124,8 +124,8 @@ const StyledSwitch = styled.div`
124
124
 
125
125
  ${size === "large" && css`
126
126
  ${StyledCheckableInput}, ${HiddenCheckableInputStyle}, ${StyledSwitchSlider} {
127
- height: 40px;
128
- width: 78px;
127
+ height: 44px;
128
+ width: 82px;
129
129
  min-width: fit-content;
130
130
  }
131
131
 
@@ -29,19 +29,20 @@ const StyledSwitchSlider = _styledComponents.default.span`
29
29
  display: flex;
30
30
  font-size: 12px;
31
31
  font-weight: bold;
32
- height: 24px;
32
+ height: 28px;
33
33
  left: 0;
34
34
  letter-spacing: 1px;
35
35
  position: absolute;
36
36
  text-transform: uppercase;
37
37
  top: 0;
38
- width: 60px;
38
+ width: 64px;
39
39
  min-width: fit-content;
40
40
  z-index: 2;
41
41
  border-radius: 90px;
42
42
  border-style: solid;
43
43
  border-color: var(--colorsActionMinor400);
44
44
  border-width: var(--borderWidth200);
45
+ box-sizing: border-box;
45
46
 
46
47
  &::before {
47
48
  background-color: var(--colorsActionMinor400);
@@ -147,8 +147,8 @@ const StyledSwitch = _styledComponents.default.div`
147
147
 
148
148
  ${size === "large" && (0, _styledComponents.css)`
149
149
  ${_checkableInput.StyledCheckableInput}, ${_hiddenCheckableInput.default}, ${_switchSlider.default} {
150
- height: 40px;
151
- width: 78px;
150
+ height: 44px;
151
+ width: 82px;
152
152
  min-width: fit-content;
153
153
  }
154
154
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "117.4.0",
3
+ "version": "117.4.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",