carbon-react 114.18.0 → 114.18.2
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/components/icon/icon-unicodes.d.ts +2 -4
- package/esm/components/icon/icon-unicodes.js +10 -2
- package/esm/components/multi-action-button/multi-action-button.style.js +0 -7
- package/esm/components/split-button/split-button-children.style.js +0 -8
- package/lib/components/icon/icon-unicodes.d.ts +2 -4
- package/lib/components/icon/icon-unicodes.js +10 -2
- package/lib/components/multi-action-button/multi-action-button.style.js +0 -7
- package/lib/components/split-button/split-button-children.style.js +0 -8
- package/package.json +1 -1
|
@@ -15,10 +15,8 @@ declare namespace iconUnicodes {
|
|
|
15
15
|
export { graph };
|
|
16
16
|
import basket = cart;
|
|
17
17
|
export { basket };
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
import bulk_destroy = delete;
|
|
21
|
-
export { bulk_destroy };
|
|
18
|
+
export const bin: string;
|
|
19
|
+
export const bulk_destroy: string;
|
|
22
20
|
import caret_down = dropdown;
|
|
23
21
|
export { caret_down };
|
|
24
22
|
import collaborate = share;
|
|
@@ -222,8 +222,16 @@ const legacyNames = {
|
|
|
222
222
|
analysis: statusSymbols.chart_line,
|
|
223
223
|
graph: statusSymbols.chart_line,
|
|
224
224
|
basket: batchActions.cart,
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
// `tsc` emits an invalid .d.ts file if we're using normal property access (.delete):
|
|
226
|
+
// it tries to use `delete` as an identifier, but `delete` is a reserved keyword.
|
|
227
|
+
// By using ["delete"] instead, tsc generates a different - valid - .d.ts file
|
|
228
|
+
// See also: https://github.com/microsoft/TypeScript/issues/53111
|
|
229
|
+
|
|
230
|
+
/* eslint-disable-next-line dot-notation */
|
|
231
|
+
bin: batchActions["delete"],
|
|
232
|
+
|
|
233
|
+
/* eslint-disable-next-line dot-notation */
|
|
234
|
+
bulk_destroy: batchActions["delete"],
|
|
227
235
|
caret_down: actions.dropdown,
|
|
228
236
|
collaborate: actions.share,
|
|
229
237
|
contacts: business.people,
|
|
@@ -79,7 +79,6 @@ const StyledButtonChildrenContainer = styled.div`
|
|
|
79
79
|
|
|
80
80
|
${StyledButton} {
|
|
81
81
|
border: 1px solid var(--colorsActionMajorTransparent);
|
|
82
|
-
color: var(--colorsActionMajor500);
|
|
83
82
|
display: flex;
|
|
84
83
|
justify-content: ${align};
|
|
85
84
|
margin-left: 0;
|
|
@@ -95,12 +94,6 @@ const StyledButtonChildrenContainer = styled.div`
|
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
|
|
98
|
-
&:focus,
|
|
99
|
-
&:hover {
|
|
100
|
-
background-color: var(--colorsActionMajor600);
|
|
101
|
-
color: var(--colorsActionMajorYang100);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
97
|
& + & {
|
|
105
98
|
margin-top: 3px;
|
|
106
99
|
}
|
|
@@ -14,21 +14,13 @@ const StyledSplitButtonChildrenContainer = styled.div`
|
|
|
14
14
|
box-shadow: var(--boxShadow100);
|
|
15
15
|
|
|
16
16
|
${StyledButton} {
|
|
17
|
-
background-color: var(--colorsActionMajorYang100);
|
|
18
17
|
border: 1px solid var(--colorsActionMajorTransparent);
|
|
19
|
-
color: var(--colorsActionMajor500);
|
|
20
18
|
display: block;
|
|
21
19
|
margin-left: 0;
|
|
22
20
|
min-width: 100%;
|
|
23
21
|
text-align: ${align};
|
|
24
22
|
z-index: ${theme.zIndex.overlay};
|
|
25
23
|
|
|
26
|
-
&:focus,
|
|
27
|
-
&:hover {
|
|
28
|
-
color: var(--colorsActionMajorYang100);
|
|
29
|
-
background-color: var(--colorsActionMajor600);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
24
|
& + & {
|
|
33
25
|
margin-top: 3px;
|
|
34
26
|
}
|
|
@@ -15,10 +15,8 @@ declare namespace iconUnicodes {
|
|
|
15
15
|
export { graph };
|
|
16
16
|
import basket = cart;
|
|
17
17
|
export { basket };
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
import bulk_destroy = delete;
|
|
21
|
-
export { bulk_destroy };
|
|
18
|
+
export const bin: string;
|
|
19
|
+
export const bulk_destroy: string;
|
|
22
20
|
import caret_down = dropdown;
|
|
23
21
|
export { caret_down };
|
|
24
22
|
import collaborate = share;
|
|
@@ -228,8 +228,16 @@ const legacyNames = {
|
|
|
228
228
|
analysis: statusSymbols.chart_line,
|
|
229
229
|
graph: statusSymbols.chart_line,
|
|
230
230
|
basket: batchActions.cart,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
// `tsc` emits an invalid .d.ts file if we're using normal property access (.delete):
|
|
232
|
+
// it tries to use `delete` as an identifier, but `delete` is a reserved keyword.
|
|
233
|
+
// By using ["delete"] instead, tsc generates a different - valid - .d.ts file
|
|
234
|
+
// See also: https://github.com/microsoft/TypeScript/issues/53111
|
|
235
|
+
|
|
236
|
+
/* eslint-disable-next-line dot-notation */
|
|
237
|
+
bin: batchActions["delete"],
|
|
238
|
+
|
|
239
|
+
/* eslint-disable-next-line dot-notation */
|
|
240
|
+
bulk_destroy: batchActions["delete"],
|
|
233
241
|
caret_down: actions.dropdown,
|
|
234
242
|
collaborate: actions.share,
|
|
235
243
|
contacts: business.people,
|
|
@@ -99,7 +99,6 @@ const StyledButtonChildrenContainer = _styledComponents.default.div`
|
|
|
99
99
|
|
|
100
100
|
${_button.default} {
|
|
101
101
|
border: 1px solid var(--colorsActionMajorTransparent);
|
|
102
|
-
color: var(--colorsActionMajor500);
|
|
103
102
|
display: flex;
|
|
104
103
|
justify-content: ${align};
|
|
105
104
|
margin-left: 0;
|
|
@@ -115,12 +114,6 @@ const StyledButtonChildrenContainer = _styledComponents.default.div`
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
|
|
118
|
-
&:focus,
|
|
119
|
-
&:hover {
|
|
120
|
-
background-color: var(--colorsActionMajor600);
|
|
121
|
-
color: var(--colorsActionMajorYang100);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
117
|
& + & {
|
|
125
118
|
margin-top: 3px;
|
|
126
119
|
}
|
|
@@ -30,21 +30,13 @@ const StyledSplitButtonChildrenContainer = _styledComponents.default.div`
|
|
|
30
30
|
box-shadow: var(--boxShadow100);
|
|
31
31
|
|
|
32
32
|
${_button.default} {
|
|
33
|
-
background-color: var(--colorsActionMajorYang100);
|
|
34
33
|
border: 1px solid var(--colorsActionMajorTransparent);
|
|
35
|
-
color: var(--colorsActionMajor500);
|
|
36
34
|
display: block;
|
|
37
35
|
margin-left: 0;
|
|
38
36
|
min-width: 100%;
|
|
39
37
|
text-align: ${align};
|
|
40
38
|
z-index: ${theme.zIndex.overlay};
|
|
41
39
|
|
|
42
|
-
&:focus,
|
|
43
|
-
&:hover {
|
|
44
|
-
color: var(--colorsActionMajorYang100);
|
|
45
|
-
background-color: var(--colorsActionMajor600);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
40
|
& + & {
|
|
49
41
|
margin-top: 3px;
|
|
50
42
|
}
|