carbon-react 105.0.0 → 105.1.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.
- package/esm/__internal__/popover/popover.component.d.ts +1 -1
- package/esm/__internal__/popover/popover.component.js +15 -5
- package/esm/components/button/button.component.js +1 -1
- package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
- package/esm/components/menu/menu.component.js +2 -1
- package/esm/components/menu/menu.context.d.ts +1 -0
- package/esm/components/menu/menu.context.js +2 -1
- package/esm/components/menu/menu.d.ts +1 -0
- package/esm/components/modal/modal.component.js +2 -1
- package/esm/components/multi-action-button/multi-action-button.component.js +1 -1
- package/esm/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
- package/esm/components/select/__internal__/select-text/select-text.component.js +4 -28
- package/esm/components/select/select-textbox/select-textbox.component.js +5 -2
- package/esm/components/split-button/split-button.component.js +1 -1
- package/esm/components/tile/tile.component.d.ts +3 -2
- package/esm/components/tile/tile.component.js +14 -2
- package/esm/components/tile/tile.d.ts +2 -0
- package/esm/components/toast/toast.component.d.ts +1 -1
- package/esm/components/toast/toast.component.js +10 -2
- package/esm/components/vertical-divider/index.d.ts +1 -2
- package/esm/components/vertical-divider/vertical-divider.component.d.ts +11 -9
- package/esm/components/vertical-divider/vertical-divider.component.js +1410 -25
- package/esm/components/vertical-divider/vertical-divider.style.d.ts +4 -2
- package/esm/components/vertical-divider/vertical-divider.style.js +1 -1
- package/lib/__internal__/popover/popover.component.d.ts +1 -1
- package/lib/__internal__/popover/popover.component.js +15 -4
- package/lib/components/button/button.component.js +1 -1
- package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
- package/lib/components/menu/menu.component.js +2 -1
- package/lib/components/menu/menu.context.d.ts +1 -0
- package/lib/components/menu/menu.context.js +2 -1
- package/lib/components/menu/menu.d.ts +1 -0
- package/lib/components/modal/modal.component.js +2 -1
- package/lib/components/multi-action-button/multi-action-button.component.js +1 -1
- package/lib/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
- package/lib/components/select/__internal__/select-text/select-text.component.js +4 -33
- package/lib/components/select/select-textbox/select-textbox.component.js +5 -2
- package/lib/components/split-button/split-button.component.js +1 -1
- package/lib/components/tile/tile.component.d.ts +3 -2
- package/lib/components/tile/tile.component.js +17 -2
- package/lib/components/tile/tile.d.ts +2 -0
- package/lib/components/toast/toast.component.d.ts +1 -1
- package/lib/components/toast/toast.component.js +13 -2
- package/lib/components/vertical-divider/index.d.ts +1 -2
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +11 -9
- package/lib/components/vertical-divider/vertical-divider.component.js +1459 -28
- package/lib/components/vertical-divider/vertical-divider.style.d.ts +4 -2
- package/lib/components/vertical-divider/vertical-divider.style.js +1 -1
- package/package.json +1 -1
- package/esm/components/vertical-divider/vertical-divider.d.ts +0 -113
- package/lib/components/vertical-divider/vertical-divider.d.ts +0 -113
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { VerticalDividerPropTypes } from "./vertical-divider.component";
|
|
2
|
+
declare const StyledVerticalWrapper: import("styled-components").StyledComponent<"div", any, VerticalDividerPropTypes, never>;
|
|
3
|
+
declare const StyledDivider: import("styled-components").StyledComponent<"div", any, Pick<VerticalDividerPropTypes, "tint">, never>;
|
|
4
|
+
export { StyledVerticalWrapper, StyledDivider };
|
|
@@ -20,7 +20,7 @@ const StyledVerticalWrapper = _styledComponents.default.div`
|
|
|
20
20
|
${({
|
|
21
21
|
height
|
|
22
22
|
}) => height && (0, _styledComponents.css)`
|
|
23
|
-
height: ${typeof height === "string" ? `${height}
|
|
23
|
+
height: ${typeof height === "string" ? `${height}` : `${height}px`};
|
|
24
24
|
`}
|
|
25
25
|
${({
|
|
26
26
|
displayInline
|
package/package.json
CHANGED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { SpaceProps } from "styled-system";
|
|
2
|
-
|
|
3
|
-
type TintRange =
|
|
4
|
-
| 1
|
|
5
|
-
| 2
|
|
6
|
-
| 3
|
|
7
|
-
| 4
|
|
8
|
-
| 5
|
|
9
|
-
| 6
|
|
10
|
-
| 7
|
|
11
|
-
| 8
|
|
12
|
-
| 9
|
|
13
|
-
| 10
|
|
14
|
-
| 11
|
|
15
|
-
| 12
|
|
16
|
-
| 13
|
|
17
|
-
| 14
|
|
18
|
-
| 15
|
|
19
|
-
| 16
|
|
20
|
-
| 17
|
|
21
|
-
| 18
|
|
22
|
-
| 19
|
|
23
|
-
| 20
|
|
24
|
-
| 21
|
|
25
|
-
| 22
|
|
26
|
-
| 23
|
|
27
|
-
| 24
|
|
28
|
-
| 25
|
|
29
|
-
| 26
|
|
30
|
-
| 27
|
|
31
|
-
| 28
|
|
32
|
-
| 29
|
|
33
|
-
| 30
|
|
34
|
-
| 31
|
|
35
|
-
| 32
|
|
36
|
-
| 33
|
|
37
|
-
| 34
|
|
38
|
-
| 35
|
|
39
|
-
| 36
|
|
40
|
-
| 37
|
|
41
|
-
| 38
|
|
42
|
-
| 39
|
|
43
|
-
| 40
|
|
44
|
-
| 41
|
|
45
|
-
| 42
|
|
46
|
-
| 43
|
|
47
|
-
| 44
|
|
48
|
-
| 45
|
|
49
|
-
| 46
|
|
50
|
-
| 47
|
|
51
|
-
| 48
|
|
52
|
-
| 49
|
|
53
|
-
| 50
|
|
54
|
-
| 51
|
|
55
|
-
| 52
|
|
56
|
-
| 53
|
|
57
|
-
| 54
|
|
58
|
-
| 55
|
|
59
|
-
| 56
|
|
60
|
-
| 57
|
|
61
|
-
| 58
|
|
62
|
-
| 59
|
|
63
|
-
| 60
|
|
64
|
-
| 61
|
|
65
|
-
| 62
|
|
66
|
-
| 63
|
|
67
|
-
| 64
|
|
68
|
-
| 65
|
|
69
|
-
| 66
|
|
70
|
-
| 67
|
|
71
|
-
| 68
|
|
72
|
-
| 69
|
|
73
|
-
| 70
|
|
74
|
-
| 71
|
|
75
|
-
| 72
|
|
76
|
-
| 73
|
|
77
|
-
| 74
|
|
78
|
-
| 75
|
|
79
|
-
| 76
|
|
80
|
-
| 77
|
|
81
|
-
| 78
|
|
82
|
-
| 79
|
|
83
|
-
| 80
|
|
84
|
-
| 81
|
|
85
|
-
| 82
|
|
86
|
-
| 83
|
|
87
|
-
| 84
|
|
88
|
-
| 85
|
|
89
|
-
| 86
|
|
90
|
-
| 87
|
|
91
|
-
| 88
|
|
92
|
-
| 89
|
|
93
|
-
| 90
|
|
94
|
-
| 91
|
|
95
|
-
| 92
|
|
96
|
-
| 93
|
|
97
|
-
| 94
|
|
98
|
-
| 95
|
|
99
|
-
| 96
|
|
100
|
-
| 97
|
|
101
|
-
| 98
|
|
102
|
-
| 99
|
|
103
|
-
| 100;
|
|
104
|
-
export interface VerticalDividerPropTypes extends SpaceProps {
|
|
105
|
-
h?: number | string;
|
|
106
|
-
displayInline?: boolean;
|
|
107
|
-
/** the supported rage is 1-100 */
|
|
108
|
-
tint?: TintRange;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
declare function VerticalDivider(props: VerticalDividerPropTypes): JSX.Element;
|
|
112
|
-
|
|
113
|
-
export default VerticalDivider;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { SpaceProps } from "styled-system";
|
|
2
|
-
|
|
3
|
-
type TintRange =
|
|
4
|
-
| 1
|
|
5
|
-
| 2
|
|
6
|
-
| 3
|
|
7
|
-
| 4
|
|
8
|
-
| 5
|
|
9
|
-
| 6
|
|
10
|
-
| 7
|
|
11
|
-
| 8
|
|
12
|
-
| 9
|
|
13
|
-
| 10
|
|
14
|
-
| 11
|
|
15
|
-
| 12
|
|
16
|
-
| 13
|
|
17
|
-
| 14
|
|
18
|
-
| 15
|
|
19
|
-
| 16
|
|
20
|
-
| 17
|
|
21
|
-
| 18
|
|
22
|
-
| 19
|
|
23
|
-
| 20
|
|
24
|
-
| 21
|
|
25
|
-
| 22
|
|
26
|
-
| 23
|
|
27
|
-
| 24
|
|
28
|
-
| 25
|
|
29
|
-
| 26
|
|
30
|
-
| 27
|
|
31
|
-
| 28
|
|
32
|
-
| 29
|
|
33
|
-
| 30
|
|
34
|
-
| 31
|
|
35
|
-
| 32
|
|
36
|
-
| 33
|
|
37
|
-
| 34
|
|
38
|
-
| 35
|
|
39
|
-
| 36
|
|
40
|
-
| 37
|
|
41
|
-
| 38
|
|
42
|
-
| 39
|
|
43
|
-
| 40
|
|
44
|
-
| 41
|
|
45
|
-
| 42
|
|
46
|
-
| 43
|
|
47
|
-
| 44
|
|
48
|
-
| 45
|
|
49
|
-
| 46
|
|
50
|
-
| 47
|
|
51
|
-
| 48
|
|
52
|
-
| 49
|
|
53
|
-
| 50
|
|
54
|
-
| 51
|
|
55
|
-
| 52
|
|
56
|
-
| 53
|
|
57
|
-
| 54
|
|
58
|
-
| 55
|
|
59
|
-
| 56
|
|
60
|
-
| 57
|
|
61
|
-
| 58
|
|
62
|
-
| 59
|
|
63
|
-
| 60
|
|
64
|
-
| 61
|
|
65
|
-
| 62
|
|
66
|
-
| 63
|
|
67
|
-
| 64
|
|
68
|
-
| 65
|
|
69
|
-
| 66
|
|
70
|
-
| 67
|
|
71
|
-
| 68
|
|
72
|
-
| 69
|
|
73
|
-
| 70
|
|
74
|
-
| 71
|
|
75
|
-
| 72
|
|
76
|
-
| 73
|
|
77
|
-
| 74
|
|
78
|
-
| 75
|
|
79
|
-
| 76
|
|
80
|
-
| 77
|
|
81
|
-
| 78
|
|
82
|
-
| 79
|
|
83
|
-
| 80
|
|
84
|
-
| 81
|
|
85
|
-
| 82
|
|
86
|
-
| 83
|
|
87
|
-
| 84
|
|
88
|
-
| 85
|
|
89
|
-
| 86
|
|
90
|
-
| 87
|
|
91
|
-
| 88
|
|
92
|
-
| 89
|
|
93
|
-
| 90
|
|
94
|
-
| 91
|
|
95
|
-
| 92
|
|
96
|
-
| 93
|
|
97
|
-
| 94
|
|
98
|
-
| 95
|
|
99
|
-
| 96
|
|
100
|
-
| 97
|
|
101
|
-
| 98
|
|
102
|
-
| 99
|
|
103
|
-
| 100;
|
|
104
|
-
export interface VerticalDividerPropTypes extends SpaceProps {
|
|
105
|
-
h?: number | string;
|
|
106
|
-
displayInline?: boolean;
|
|
107
|
-
/** the supported rage is 1-100 */
|
|
108
|
-
tint?: TintRange;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
declare function VerticalDivider(props: VerticalDividerPropTypes): JSX.Element;
|
|
112
|
-
|
|
113
|
-
export default VerticalDivider;
|