carbon-react 142.10.0 → 142.11.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.
@@ -4,15 +4,47 @@ declare type CustomRefObject<T> = {
4
4
  current?: T | null;
5
5
  };
6
6
  export interface PopoverProps {
7
+ /**
8
+ * Element to be positioned, has to be a single node and has to accept `ref` and `style` props.
9
+ */
7
10
  children: React.ReactElement;
11
+ /**
12
+ * Placement of children in relation to the reference element.
13
+ */
8
14
  placement?: Placement;
15
+ /**
16
+ * Disables interaction with background UI.
17
+ */
9
18
  disableBackgroundUI?: boolean;
19
+ /**
20
+ * Optional middleware array, for more information go to:
21
+ * [https://floating-ui.com/docs/middleware](https://floating-ui.com/docs/middleware)
22
+ */
10
23
  middleware?: Middleware[];
24
+ /**
25
+ * When true, children are not rendered in portal.
26
+ */
11
27
  disablePortal?: boolean;
28
+ /**
29
+ * Reference element, children will be positioned in relation to this element - should be a ref shaped object.
30
+ */
12
31
  reference: CustomRefObject<HTMLElement>;
32
+ /**
33
+ * Determines if the popover is currently open/visible or not. Defaults to true.
34
+ */
13
35
  isOpen?: boolean;
36
+ /**
37
+ * Whether to update the position of the floating element on every animation frame if required. This is optimized for performance but can still be costly. Use with caution!
38
+ * [https://floating-ui.com/docs/autoUpdate#animationframe](https://floating-ui.com/docs/autoUpdate#animationframe)
39
+ */
14
40
  animationFrame?: boolean;
41
+ /**
42
+ * Optional strategy to use for positioning the floating element. Defaults to "absolute".
43
+ */
15
44
  popoverStrategy?: "absolute" | "fixed";
45
+ /**
46
+ * Allows child ref to be set via a prop instead of dynamically finding it via children iteration.
47
+ */
16
48
  childRefOverride?: MutableRefObject<HTMLDivElement | null>;
17
49
  }
18
50
  declare const Popover: ({ children, placement, disablePortal, reference, middleware, disableBackgroundUI, isOpen, animationFrame, popoverStrategy, childRefOverride, }: PopoverProps) => React.JSX.Element;
@@ -67,7 +67,9 @@ const Popover = ({
67
67
  if (disableBackgroundUI) {
68
68
  content = /*#__PURE__*/React.createElement(StyledPopoverContent, {
69
69
  isOpen: isOpen
70
- }, /*#__PURE__*/React.createElement(StyledBackdrop, null, content));
70
+ }, /*#__PURE__*/React.createElement(StyledBackdrop, {
71
+ "data-role": "popup-backdrop"
72
+ }, content));
71
73
  }
72
74
  if (disablePortal) {
73
75
  return content;
@@ -23,7 +23,6 @@ const RadioButtonMapper = ({
23
23
  const [checkedValue, setCheckedValue] = useState(false);
24
24
  const onChangeProp = useCallback(event => {
25
25
  onChange?.(event);
26
- /* istanbul ignore else */
27
26
  if (!isControlled) {
28
27
  setCheckedValue(event.target.value);
29
28
  }
@@ -171,7 +171,12 @@ const StyledFlatTableRow = styled.tr`
171
171
  ${StyledFlatTableHeader} {
172
172
  border-bottom: 1px solid ${borderColor(colorTheme)};
173
173
 
174
- ${!isInSidebar && `
174
+ ${horizontalBorderSize !== "small" && css`
175
+ border-bottom: ${horizontalBorderSizes[horizontalBorderSize]} solid
176
+ var(--colorsUtilityMajor100);
177
+ `}
178
+
179
+ ${!isInSidebar && !colorTheme?.includes("transparent") && `
175
180
  :first-child {
176
181
  border-left: 1px solid ${borderColor(colorTheme)};
177
182
  }
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
+ import * as DesignTokens from "@sage/design-tokens/js/base/common";
3
4
  export interface FlatTableProps extends MarginProps {
4
5
  /** The HTML id of the element that contains a description of this table. */
5
6
  ariaDescribedby?: string;
@@ -25,13 +26,17 @@ export interface FlatTableProps extends MarginProps {
25
26
  size?: "compact" | "small" | "medium" | "large" | "extraLarge";
26
27
  /** Applies max-height of 100% to FlatTable if true */
27
28
  hasMaxHeight?: boolean;
29
+ /** Toggles the visibility of the table's outer left and right borders. When false, the left border of the first column and the right border of the last column are hidden. */
30
+ hasOuterVerticalBorders?: boolean;
31
+ /** Sets the border radius of the first and last cells in the last row. */
32
+ bottomBorderRadius?: Extract<keyof typeof DesignTokens, `borderRadius${number}`>;
28
33
  /** Set the overflow X of the table wrapper. Any valid CSS string */
29
34
  overflowX?: string;
30
35
  /** Width of the table. Any valid CSS string */
31
36
  width?: string;
32
37
  }
33
38
  export declare const FlatTable: {
34
- ({ caption, children, hasStickyHead, colorTheme, footer, hasStickyFooter, height, isZebra, size, hasMaxHeight, ariaDescribedby, minHeight, overflowX, width, ...rest }: FlatTableProps): React.JSX.Element;
39
+ ({ caption, children, hasStickyHead, colorTheme, footer, hasStickyFooter, height, isZebra, size, hasMaxHeight, hasOuterVerticalBorders, bottomBorderRadius, ariaDescribedby, minHeight, overflowX, width, ...rest }: FlatTableProps): React.JSX.Element;
35
40
  displayName: string;
36
41
  };
37
42
  export default FlatTable;
@@ -17,6 +17,8 @@ export const FlatTable = ({
17
17
  isZebra,
18
18
  size = "medium",
19
19
  hasMaxHeight = false,
20
+ hasOuterVerticalBorders = true,
21
+ bottomBorderRadius = "borderRadius100",
20
22
  ariaDescribedby,
21
23
  minHeight,
22
24
  overflowX,
@@ -134,6 +136,7 @@ export const FlatTable = ({
134
136
  return /*#__PURE__*/React.createElement(StyledFlatTableWrapper, _extends({
135
137
  ref: wrapperRef,
136
138
  "data-component": "flat-table-wrapper",
139
+ "data-role": "flat-table-wrapper",
137
140
  isInSidebar: isInSidebar,
138
141
  hasStickyHead: hasStickyHead,
139
142
  colorTheme: colorTheme,
@@ -141,6 +144,8 @@ export const FlatTable = ({
141
144
  overflowY: hasStickyHead || hasStickyFooter ? "auto" : undefined,
142
145
  height: addDefaultHeight && !hasMaxHeight ? "99%" : height,
143
146
  maxHeight: hasMaxHeight ? "100%" : undefined,
147
+ hasOuterVerticalBorders: hasOuterVerticalBorders,
148
+ bottomBorderRadius: bottomBorderRadius,
144
149
  display: "flex",
145
150
  flexDirection: "column",
146
151
  justifyContent: hasStickyFooter || height ? "space-between" : undefined,
@@ -4,12 +4,13 @@ declare const StyledTableContainer: import("styled-components").StyledComponent<
4
4
  declare const StyledFlatTable: import("styled-components").StyledComponent<"table", any, Pick<FlatTableProps, "caption" | "isZebra"> & {
5
5
  size: NonNullable<FlatTableProps["size"]>;
6
6
  }, never>;
7
- interface StyledFlatTableWrapperProps extends Pick<FlatTableProps, "hasStickyFooter" | "colorTheme" | "hasStickyHead" | "footer">, Partial<DrawerSidebarContextProps> {
7
+ interface StyledFlatTableWrapperProps extends Pick<FlatTableProps, "hasStickyFooter" | "colorTheme" | "hasStickyHead" | "footer" | "hasOuterVerticalBorders">, Partial<DrawerSidebarContextProps> {
8
8
  hasHorizontalScrollbar: boolean;
9
9
  hasVerticalScrollbar: boolean;
10
10
  lastColRowSpanIndex: number;
11
11
  firstColRowSpanIndex: number;
12
12
  isFocused: boolean;
13
+ bottomBorderRadius: NonNullable<FlatTableProps["bottomBorderRadius"]>;
13
14
  }
14
15
  declare const StyledFlatTableWrapper: import("styled-components").StyledComponent<"div", any, import("../box").BoxProps & StyledFlatTableWrapperProps, never>;
15
16
  declare const StyledFlatTableFooter: import("styled-components").StyledComponent<"div", any, Pick<FlatTableProps, "hasStickyFooter">, never>;
@@ -100,12 +100,27 @@ const StyledFlatTable = styled.table`
100
100
  const StyledFlatTableWrapper = styled(StyledBox)`
101
101
  border-top-left-radius: var(--borderRadius100);
102
102
  border-top-right-radius: var(--borderRadius100);
103
+
104
+ ${({
105
+ hasOuterVerticalBorders
106
+ }) => !hasOuterVerticalBorders && css`
107
+ ${StyledFlatTableRow} {
108
+ & > ${StyledFlatTableCell}:first-child {
109
+ border-left-color: var(--colorsUtilityMajorTransparent);
110
+ }
111
+ & > ${StyledFlatTableCell}:last-child {
112
+ border-right-color: var(--colorsUtilityMajorTransparent);
113
+ }
114
+ }
115
+ `}
116
+
103
117
  ${({
104
118
  hasStickyFooter,
105
- hasHorizontalScrollbar
119
+ hasHorizontalScrollbar,
120
+ bottomBorderRadius
106
121
  }) => !hasStickyFooter && !hasHorizontalScrollbar && css`
107
- border-bottom-left-radius: var(--borderRadius100);
108
- border-bottom-right-radius: var(--borderRadius100);
122
+ border-bottom-left-radius: var(--${bottomBorderRadius});
123
+ border-bottom-right-radius: var(--${bottomBorderRadius});
109
124
  `}
110
125
 
111
126
  ${({
@@ -152,7 +167,6 @@ css`
152
167
  ${StyledFlatTableHeader},
153
168
  ${StyledFlatTableHead} ${StyledFlatTableCheckbox} {
154
169
  background-color: var(--colorsUtilityMajor025);
155
- border-right: 1px solid var(--colorsUtilityMajor025);
156
170
  border-bottom-color: var(--colorsUtilityMajor100);
157
171
  }
158
172
  ${StyledFlatTableHead} ${StyledFlatTableRowHeader} {
@@ -167,7 +181,6 @@ css`
167
181
  ${StyledFlatTableHeader},
168
182
  ${StyledFlatTableHead} ${StyledFlatTableCheckbox} {
169
183
  background-color: var(--colorsUtilityYang100);
170
- border-right: 1px solid var(--colorsUtilityYang100);
171
184
  border-bottom-color: var(--colorsUtilityMajor100);
172
185
  }
173
186
  ${StyledFlatTableHead} ${StyledFlatTableRowHeader} {
@@ -294,7 +307,8 @@ css`
294
307
  firstColRowSpanIndex,
295
308
  lastColRowSpanIndex,
296
309
  hasHorizontalScrollbar,
297
- hasVerticalScrollbar
310
+ hasVerticalScrollbar,
311
+ bottomBorderRadius
298
312
  }) => !footer && css`
299
313
  tbody {
300
314
  ${firstColRowSpanIndex >= 0 && css`
@@ -319,13 +333,13 @@ css`
319
333
  ${!hasHorizontalScrollbar && firstColRowSpanIndex === -1 && css`
320
334
  th:first-child,
321
335
  td:first-child {
322
- border-bottom-left-radius: var(--borderRadius100);
336
+ border-bottom-left-radius: var(--${bottomBorderRadius});
323
337
  }
324
338
  `}
325
339
  ${!hasVerticalScrollbar && !hasHorizontalScrollbar && lastColRowSpanIndex === -1 && css`
326
340
  th:last-child,
327
341
  td:last-child {
328
- border-bottom-right-radius: var(--borderRadius100);
342
+ border-bottom-right-radius: var(--${bottomBorderRadius});
329
343
  }
330
344
  `}
331
345
  }
@@ -4,15 +4,47 @@ declare type CustomRefObject<T> = {
4
4
  current?: T | null;
5
5
  };
6
6
  export interface PopoverProps {
7
+ /**
8
+ * Element to be positioned, has to be a single node and has to accept `ref` and `style` props.
9
+ */
7
10
  children: React.ReactElement;
11
+ /**
12
+ * Placement of children in relation to the reference element.
13
+ */
8
14
  placement?: Placement;
15
+ /**
16
+ * Disables interaction with background UI.
17
+ */
9
18
  disableBackgroundUI?: boolean;
19
+ /**
20
+ * Optional middleware array, for more information go to:
21
+ * [https://floating-ui.com/docs/middleware](https://floating-ui.com/docs/middleware)
22
+ */
10
23
  middleware?: Middleware[];
24
+ /**
25
+ * When true, children are not rendered in portal.
26
+ */
11
27
  disablePortal?: boolean;
28
+ /**
29
+ * Reference element, children will be positioned in relation to this element - should be a ref shaped object.
30
+ */
12
31
  reference: CustomRefObject<HTMLElement>;
32
+ /**
33
+ * Determines if the popover is currently open/visible or not. Defaults to true.
34
+ */
13
35
  isOpen?: boolean;
36
+ /**
37
+ * Whether to update the position of the floating element on every animation frame if required. This is optimized for performance but can still be costly. Use with caution!
38
+ * [https://floating-ui.com/docs/autoUpdate#animationframe](https://floating-ui.com/docs/autoUpdate#animationframe)
39
+ */
14
40
  animationFrame?: boolean;
41
+ /**
42
+ * Optional strategy to use for positioning the floating element. Defaults to "absolute".
43
+ */
15
44
  popoverStrategy?: "absolute" | "fixed";
45
+ /**
46
+ * Allows child ref to be set via a prop instead of dynamically finding it via children iteration.
47
+ */
16
48
  childRefOverride?: MutableRefObject<HTMLDivElement | null>;
17
49
  }
18
50
  declare const Popover: ({ children, placement, disablePortal, reference, middleware, disableBackgroundUI, isOpen, animationFrame, popoverStrategy, childRefOverride, }: PopoverProps) => React.JSX.Element;
@@ -76,7 +76,9 @@ const Popover = ({
76
76
  if (disableBackgroundUI) {
77
77
  content = /*#__PURE__*/_react.default.createElement(_popover.StyledPopoverContent, {
78
78
  isOpen: isOpen
79
- }, /*#__PURE__*/_react.default.createElement(_popover.StyledBackdrop, null, content));
79
+ }, /*#__PURE__*/_react.default.createElement(_popover.StyledBackdrop, {
80
+ "data-role": "popup-backdrop"
81
+ }, content));
80
82
  }
81
83
  if (disablePortal) {
82
84
  return content;
@@ -32,7 +32,6 @@ const RadioButtonMapper = ({
32
32
  const [checkedValue, setCheckedValue] = (0, _react.useState)(false);
33
33
  const onChangeProp = (0, _react.useCallback)(event => {
34
34
  onChange?.(event);
35
- /* istanbul ignore else */
36
35
  if (!isControlled) {
37
36
  setCheckedValue(event.target.value);
38
37
  }
@@ -180,7 +180,12 @@ const StyledFlatTableRow = _styledComponents.default.tr`
180
180
  ${_flatTableHeader.default} {
181
181
  border-bottom: 1px solid ${borderColor(colorTheme)};
182
182
 
183
- ${!isInSidebar && `
183
+ ${horizontalBorderSize !== "small" && (0, _styledComponents.css)`
184
+ border-bottom: ${horizontalBorderSizes[horizontalBorderSize]} solid
185
+ var(--colorsUtilityMajor100);
186
+ `}
187
+
188
+ ${!isInSidebar && !colorTheme?.includes("transparent") && `
184
189
  :first-child {
185
190
  border-left: 1px solid ${borderColor(colorTheme)};
186
191
  }
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { MarginProps } from "styled-system";
3
+ import * as DesignTokens from "@sage/design-tokens/js/base/common";
3
4
  export interface FlatTableProps extends MarginProps {
4
5
  /** The HTML id of the element that contains a description of this table. */
5
6
  ariaDescribedby?: string;
@@ -25,13 +26,17 @@ export interface FlatTableProps extends MarginProps {
25
26
  size?: "compact" | "small" | "medium" | "large" | "extraLarge";
26
27
  /** Applies max-height of 100% to FlatTable if true */
27
28
  hasMaxHeight?: boolean;
29
+ /** Toggles the visibility of the table's outer left and right borders. When false, the left border of the first column and the right border of the last column are hidden. */
30
+ hasOuterVerticalBorders?: boolean;
31
+ /** Sets the border radius of the first and last cells in the last row. */
32
+ bottomBorderRadius?: Extract<keyof typeof DesignTokens, `borderRadius${number}`>;
28
33
  /** Set the overflow X of the table wrapper. Any valid CSS string */
29
34
  overflowX?: string;
30
35
  /** Width of the table. Any valid CSS string */
31
36
  width?: string;
32
37
  }
33
38
  export declare const FlatTable: {
34
- ({ caption, children, hasStickyHead, colorTheme, footer, hasStickyFooter, height, isZebra, size, hasMaxHeight, ariaDescribedby, minHeight, overflowX, width, ...rest }: FlatTableProps): React.JSX.Element;
39
+ ({ caption, children, hasStickyHead, colorTheme, footer, hasStickyFooter, height, isZebra, size, hasMaxHeight, hasOuterVerticalBorders, bottomBorderRadius, ariaDescribedby, minHeight, overflowX, width, ...rest }: FlatTableProps): React.JSX.Element;
35
40
  displayName: string;
36
41
  };
37
42
  export default FlatTable;
@@ -26,6 +26,8 @@ const FlatTable = ({
26
26
  isZebra,
27
27
  size = "medium",
28
28
  hasMaxHeight = false,
29
+ hasOuterVerticalBorders = true,
30
+ bottomBorderRadius = "borderRadius100",
29
31
  ariaDescribedby,
30
32
  minHeight,
31
33
  overflowX,
@@ -143,6 +145,7 @@ const FlatTable = ({
143
145
  return /*#__PURE__*/_react.default.createElement(_flatTable.StyledFlatTableWrapper, _extends({
144
146
  ref: wrapperRef,
145
147
  "data-component": "flat-table-wrapper",
148
+ "data-role": "flat-table-wrapper",
146
149
  isInSidebar: isInSidebar,
147
150
  hasStickyHead: hasStickyHead,
148
151
  colorTheme: colorTheme,
@@ -150,6 +153,8 @@ const FlatTable = ({
150
153
  overflowY: hasStickyHead || hasStickyFooter ? "auto" : undefined,
151
154
  height: addDefaultHeight && !hasMaxHeight ? "99%" : height,
152
155
  maxHeight: hasMaxHeight ? "100%" : undefined,
156
+ hasOuterVerticalBorders: hasOuterVerticalBorders,
157
+ bottomBorderRadius: bottomBorderRadius,
153
158
  display: "flex",
154
159
  flexDirection: "column",
155
160
  justifyContent: hasStickyFooter || height ? "space-between" : undefined,
@@ -4,12 +4,13 @@ declare const StyledTableContainer: import("styled-components").StyledComponent<
4
4
  declare const StyledFlatTable: import("styled-components").StyledComponent<"table", any, Pick<FlatTableProps, "caption" | "isZebra"> & {
5
5
  size: NonNullable<FlatTableProps["size"]>;
6
6
  }, never>;
7
- interface StyledFlatTableWrapperProps extends Pick<FlatTableProps, "hasStickyFooter" | "colorTheme" | "hasStickyHead" | "footer">, Partial<DrawerSidebarContextProps> {
7
+ interface StyledFlatTableWrapperProps extends Pick<FlatTableProps, "hasStickyFooter" | "colorTheme" | "hasStickyHead" | "footer" | "hasOuterVerticalBorders">, Partial<DrawerSidebarContextProps> {
8
8
  hasHorizontalScrollbar: boolean;
9
9
  hasVerticalScrollbar: boolean;
10
10
  lastColRowSpanIndex: number;
11
11
  firstColRowSpanIndex: number;
12
12
  isFocused: boolean;
13
+ bottomBorderRadius: NonNullable<FlatTableProps["bottomBorderRadius"]>;
13
14
  }
14
15
  declare const StyledFlatTableWrapper: import("styled-components").StyledComponent<"div", any, import("../box").BoxProps & StyledFlatTableWrapperProps, never>;
15
16
  declare const StyledFlatTableFooter: import("styled-components").StyledComponent<"div", any, Pick<FlatTableProps, "hasStickyFooter">, never>;
@@ -109,12 +109,27 @@ const StyledFlatTable = exports.StyledFlatTable = _styledComponents.default.tabl
109
109
  const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledComponents.default)(_box.default)`
110
110
  border-top-left-radius: var(--borderRadius100);
111
111
  border-top-right-radius: var(--borderRadius100);
112
+
113
+ ${({
114
+ hasOuterVerticalBorders
115
+ }) => !hasOuterVerticalBorders && (0, _styledComponents.css)`
116
+ ${_flatTableRow.default} {
117
+ & > ${_flatTableCell.StyledFlatTableCell}:first-child {
118
+ border-left-color: var(--colorsUtilityMajorTransparent);
119
+ }
120
+ & > ${_flatTableCell.StyledFlatTableCell}:last-child {
121
+ border-right-color: var(--colorsUtilityMajorTransparent);
122
+ }
123
+ }
124
+ `}
125
+
112
126
  ${({
113
127
  hasStickyFooter,
114
- hasHorizontalScrollbar
128
+ hasHorizontalScrollbar,
129
+ bottomBorderRadius
115
130
  }) => !hasStickyFooter && !hasHorizontalScrollbar && (0, _styledComponents.css)`
116
- border-bottom-left-radius: var(--borderRadius100);
117
- border-bottom-right-radius: var(--borderRadius100);
131
+ border-bottom-left-radius: var(--${bottomBorderRadius});
132
+ border-bottom-right-radius: var(--${bottomBorderRadius});
118
133
  `}
119
134
 
120
135
  ${({
@@ -161,7 +176,6 @@ const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledCompo
161
176
  ${_flatTableHeader.default},
162
177
  ${_flatTableHead.default} ${_flatTableCheckbox.default} {
163
178
  background-color: var(--colorsUtilityMajor025);
164
- border-right: 1px solid var(--colorsUtilityMajor025);
165
179
  border-bottom-color: var(--colorsUtilityMajor100);
166
180
  }
167
181
  ${_flatTableHead.default} ${_flatTableRowHeader.StyledFlatTableRowHeader} {
@@ -176,7 +190,6 @@ const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledCompo
176
190
  ${_flatTableHeader.default},
177
191
  ${_flatTableHead.default} ${_flatTableCheckbox.default} {
178
192
  background-color: var(--colorsUtilityYang100);
179
- border-right: 1px solid var(--colorsUtilityYang100);
180
193
  border-bottom-color: var(--colorsUtilityMajor100);
181
194
  }
182
195
  ${_flatTableHead.default} ${_flatTableRowHeader.StyledFlatTableRowHeader} {
@@ -303,7 +316,8 @@ const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledCompo
303
316
  firstColRowSpanIndex,
304
317
  lastColRowSpanIndex,
305
318
  hasHorizontalScrollbar,
306
- hasVerticalScrollbar
319
+ hasVerticalScrollbar,
320
+ bottomBorderRadius
307
321
  }) => !footer && (0, _styledComponents.css)`
308
322
  tbody {
309
323
  ${firstColRowSpanIndex >= 0 && (0, _styledComponents.css)`
@@ -328,13 +342,13 @@ const StyledFlatTableWrapper = exports.StyledFlatTableWrapper = (0, _styledCompo
328
342
  ${!hasHorizontalScrollbar && firstColRowSpanIndex === -1 && (0, _styledComponents.css)`
329
343
  th:first-child,
330
344
  td:first-child {
331
- border-bottom-left-radius: var(--borderRadius100);
345
+ border-bottom-left-radius: var(--${bottomBorderRadius});
332
346
  }
333
347
  `}
334
348
  ${!hasVerticalScrollbar && !hasHorizontalScrollbar && lastColRowSpanIndex === -1 && (0, _styledComponents.css)`
335
349
  th:last-child,
336
350
  td:last-child {
337
- border-bottom-right-radius: var(--borderRadius100);
351
+ border-bottom-right-radius: var(--${bottomBorderRadius});
338
352
  }
339
353
  `}
340
354
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "142.10.0",
3
+ "version": "142.11.0",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",