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.
Files changed (51) hide show
  1. package/esm/__internal__/popover/popover.component.d.ts +1 -1
  2. package/esm/__internal__/popover/popover.component.js +15 -5
  3. package/esm/components/button/button.component.js +1 -1
  4. package/esm/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
  5. package/esm/components/menu/menu.component.js +2 -1
  6. package/esm/components/menu/menu.context.d.ts +1 -0
  7. package/esm/components/menu/menu.context.js +2 -1
  8. package/esm/components/menu/menu.d.ts +1 -0
  9. package/esm/components/modal/modal.component.js +2 -1
  10. package/esm/components/multi-action-button/multi-action-button.component.js +1 -1
  11. package/esm/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
  12. package/esm/components/select/__internal__/select-text/select-text.component.js +4 -28
  13. package/esm/components/select/select-textbox/select-textbox.component.js +5 -2
  14. package/esm/components/split-button/split-button.component.js +1 -1
  15. package/esm/components/tile/tile.component.d.ts +3 -2
  16. package/esm/components/tile/tile.component.js +14 -2
  17. package/esm/components/tile/tile.d.ts +2 -0
  18. package/esm/components/toast/toast.component.d.ts +1 -1
  19. package/esm/components/toast/toast.component.js +10 -2
  20. package/esm/components/vertical-divider/index.d.ts +1 -2
  21. package/esm/components/vertical-divider/vertical-divider.component.d.ts +11 -9
  22. package/esm/components/vertical-divider/vertical-divider.component.js +1410 -25
  23. package/esm/components/vertical-divider/vertical-divider.style.d.ts +4 -2
  24. package/esm/components/vertical-divider/vertical-divider.style.js +1 -1
  25. package/lib/__internal__/popover/popover.component.d.ts +1 -1
  26. package/lib/__internal__/popover/popover.component.js +15 -4
  27. package/lib/components/button/button.component.js +1 -1
  28. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +2 -1
  29. package/lib/components/menu/menu.component.js +2 -1
  30. package/lib/components/menu/menu.context.d.ts +1 -0
  31. package/lib/components/menu/menu.context.js +2 -1
  32. package/lib/components/menu/menu.d.ts +1 -0
  33. package/lib/components/modal/modal.component.js +2 -1
  34. package/lib/components/multi-action-button/multi-action-button.component.js +1 -1
  35. package/lib/components/select/__internal__/select-text/select-text.component.d.ts +1 -5
  36. package/lib/components/select/__internal__/select-text/select-text.component.js +4 -33
  37. package/lib/components/select/select-textbox/select-textbox.component.js +5 -2
  38. package/lib/components/split-button/split-button.component.js +1 -1
  39. package/lib/components/tile/tile.component.d.ts +3 -2
  40. package/lib/components/tile/tile.component.js +17 -2
  41. package/lib/components/tile/tile.d.ts +2 -0
  42. package/lib/components/toast/toast.component.d.ts +1 -1
  43. package/lib/components/toast/toast.component.js +13 -2
  44. package/lib/components/vertical-divider/index.d.ts +1 -2
  45. package/lib/components/vertical-divider/vertical-divider.component.d.ts +11 -9
  46. package/lib/components/vertical-divider/vertical-divider.component.js +1459 -28
  47. package/lib/components/vertical-divider/vertical-divider.style.d.ts +4 -2
  48. package/lib/components/vertical-divider/vertical-divider.style.js +1 -1
  49. package/package.json +1 -1
  50. package/esm/components/vertical-divider/vertical-divider.d.ts +0 -113
  51. package/lib/components/vertical-divider/vertical-divider.d.ts +0 -113
@@ -1,2 +1,4 @@
1
- export const StyledVerticalWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export const StyledDivider: import("styled-components").StyledComponent<"div", any, {}, never>;
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};` : `${height}px;`};
23
+ height: ${typeof height === "string" ? `${height}` : `${height}px`};
24
24
  `}
25
25
  ${({
26
26
  displayInline
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "105.0.0",
3
+ "version": "105.1.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {
@@ -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;