@pingux/astro 2.237.0-alpha.0 → 2.237.1-alpha.0

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.
@@ -77,7 +77,7 @@ var Disabled = exports.Disabled = function Disabled(args) {
77
77
  };
78
78
  var NoVisibleLabel = exports.NoVisibleLabel = function NoVisibleLabel(args) {
79
79
  return (0, _react2.jsx)(_index.SwitchField, (0, _extends2["default"])({}, args, {
80
- "aria-label": "my-label",
80
+ "aria-label": "Non-visible-label",
81
81
  value: "my-switch"
82
82
  }));
83
83
  };
@@ -113,6 +113,10 @@ declare const _default: {
113
113
  };
114
114
  };
115
115
  switch: {
116
+ container: {
117
+ borderColor: string;
118
+ backgroundColor: string;
119
+ };
116
120
  thumb: {
117
121
  '&.is-selected': {
118
122
  bg: string;
@@ -94,9 +94,13 @@ var selectOption = {
94
94
  }
95
95
  };
96
96
  var switchable = {
97
+ container: {
98
+ borderColor: 'gray-800',
99
+ backgroundColor: 'gray-900'
100
+ },
97
101
  thumb: {
98
102
  '&.is-selected': {
99
- bg: 'black'
103
+ bg: 'white'
100
104
  }
101
105
  }
102
106
  };
@@ -1214,10 +1214,12 @@ declare const _default: {
1214
1214
  switch: {
1215
1215
  container: {
1216
1216
  minWidth: string;
1217
+ mr: string;
1217
1218
  color: string;
1218
1219
  bg: string;
1219
1220
  border: string;
1220
1221
  borderColor: string;
1222
+ backgroundColor: string;
1221
1223
  borderRadius: number;
1222
1224
  '&.is-selected': {
1223
1225
  bg: string;
@@ -2025,10 +2025,12 @@ declare const _default: {
2025
2025
  switch: {
2026
2026
  container: {
2027
2027
  minWidth: string;
2028
+ mr: string;
2028
2029
  color: string;
2029
2030
  bg: string;
2030
2031
  border: string;
2031
2032
  borderColor: string;
2033
+ backgroundColor: string;
2032
2034
  borderRadius: number;
2033
2035
  '&.is-selected': {
2034
2036
  bg: string;
@@ -1,10 +1,12 @@
1
1
  export declare const switchable: {
2
2
  container: {
3
3
  minWidth: string;
4
+ mr: string;
4
5
  color: string;
5
6
  bg: string;
6
7
  border: string;
7
8
  borderColor: string;
9
+ backgroundColor: string;
8
10
  borderRadius: number;
9
11
  '&.is-selected': {
10
12
  bg: string;
@@ -7,12 +7,14 @@ _Object$defineProperty(exports, "__esModule", {
7
7
  exports.switchable = void 0;
8
8
  var switchable = exports.switchable = {
9
9
  container: {
10
- minWidth: '32px',
10
+ minWidth: '28px',
11
+ mr: '12px',
11
12
  color: 'neutral.80',
12
- bg: 'backgroundBase',
13
+ bg: 'gray-400',
13
14
  border: '1px solid',
14
- borderColor: 'neutral.80',
15
- borderRadius: 9999,
15
+ borderColor: 'gray-400',
16
+ backgroundColor: 'gray-400',
17
+ borderRadius: 14,
16
18
  '&.is-selected': {
17
19
  bg: 'active',
18
20
  borderColor: 'active'
@@ -21,23 +23,23 @@ var switchable = exports.switchable = {
21
23
  thumbContainer: {
22
24
  bg: 'transparent',
23
25
  border: 'none',
24
- width: '32px',
26
+ width: '28px',
25
27
  height: 16,
26
- py: '3px',
27
- px: '3px',
28
+ py: '2px',
29
+ px: '2px',
28
30
  'label.is-selected &': {
29
31
  bg: 'transparent'
30
32
  }
31
33
  },
32
34
  thumb: {
33
- bg: 'gray-500',
34
- minHeight: 10,
35
- maxHeight: 10,
36
- width: 10,
35
+ bg: 'white',
36
+ minHeight: 12,
37
+ maxHeight: 12,
38
+ width: 12,
37
39
  border: 'none',
38
40
  '&.is-selected': {
39
41
  bg: 'white',
40
- transform: 'translateX(15px)'
42
+ transform: 'translateX(12px)'
41
43
  }
42
44
  }
43
45
  };
@@ -67,7 +67,7 @@ export var Disabled = function Disabled(args) {
67
67
  };
68
68
  export var NoVisibleLabel = function NoVisibleLabel(args) {
69
69
  return ___EmotionJSX(SwitchField, _extends({}, args, {
70
- "aria-label": "my-label",
70
+ "aria-label": "Non-visible-label",
71
71
  value: "my-switch"
72
72
  }));
73
73
  };
@@ -87,9 +87,13 @@ var selectOption = {
87
87
  }
88
88
  };
89
89
  var switchable = {
90
+ container: {
91
+ borderColor: 'gray-800',
92
+ backgroundColor: 'gray-900'
93
+ },
90
94
  thumb: {
91
95
  '&.is-selected': {
92
- bg: 'black'
96
+ bg: 'white'
93
97
  }
94
98
  }
95
99
  };
@@ -1,11 +1,13 @@
1
1
  export var switchable = {
2
2
  container: {
3
- minWidth: '32px',
3
+ minWidth: '28px',
4
+ mr: '12px',
4
5
  color: 'neutral.80',
5
- bg: 'backgroundBase',
6
+ bg: 'gray-400',
6
7
  border: '1px solid',
7
- borderColor: 'neutral.80',
8
- borderRadius: 9999,
8
+ borderColor: 'gray-400',
9
+ backgroundColor: 'gray-400',
10
+ borderRadius: 14,
9
11
  '&.is-selected': {
10
12
  bg: 'active',
11
13
  borderColor: 'active'
@@ -14,23 +16,23 @@ export var switchable = {
14
16
  thumbContainer: {
15
17
  bg: 'transparent',
16
18
  border: 'none',
17
- width: '32px',
19
+ width: '28px',
18
20
  height: 16,
19
- py: '3px',
20
- px: '3px',
21
+ py: '2px',
22
+ px: '2px',
21
23
  'label.is-selected &': {
22
24
  bg: 'transparent'
23
25
  }
24
26
  },
25
27
  thumb: {
26
- bg: 'gray-500',
27
- minHeight: 10,
28
- maxHeight: 10,
29
- width: 10,
28
+ bg: 'white',
29
+ minHeight: 12,
30
+ maxHeight: 12,
31
+ width: 12,
30
32
  border: 'none',
31
33
  '&.is-selected': {
32
34
  bg: 'white',
33
- transform: 'translateX(15px)'
35
+ transform: 'translateX(12px)'
34
36
  }
35
37
  }
36
38
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.237.0-alpha.0",
3
+ "version": "2.237.1-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",