@carbon/react 1.50.0-rc.0 → 1.51.0-rc.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/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +1005 -1038
- package/es/components/Accordion/AccordionItem.js +10 -15
- package/es/components/ChatButton/ChatButton.Skeleton.js +40 -0
- package/es/components/ChatButton/ChatButton.js +81 -0
- package/es/components/ComposedModal/ComposedModal.js +32 -8
- package/es/components/Copy/Copy.js +1 -1
- package/es/components/DataTable/DataTable.d.ts +21 -0
- package/es/components/DataTable/DataTable.js +19 -0
- package/es/components/DataTable/TableCell.d.ts +28 -3
- package/es/components/DataTable/TableCell.js +22 -5
- package/es/components/DataTable/TableExpandRow.js +1 -1
- package/es/components/DataTable/TableHeader.js +2 -2
- package/es/components/DataTable/TableRow.js +12 -1
- package/es/components/DataTable/TableToolbarSearch.d.ts +11 -38
- package/es/components/DataTable/TableToolbarSearch.js +1 -1
- package/es/components/DataTable/tools/normalize.js +3 -1
- package/es/components/Modal/Modal.js +25 -6
- package/es/components/MultiSelect/MultiSelect.d.ts +4 -0
- package/es/components/MultiSelect/MultiSelect.js +10 -1
- package/es/components/NumberInput/NumberInput.js +1 -1
- package/es/components/PaginationNav/PaginationNav.d.ts +45 -0
- package/es/components/PaginationNav/PaginationNav.js +24 -25
- package/es/components/PaginationNav/index.d.ts +9 -0
- package/es/components/Tabs/Tabs.js +2 -1
- package/es/components/Tile/Tile.d.ts +2 -2
- package/es/components/Tile/Tile.js +2 -2
- package/es/index.d.ts +1 -0
- package/es/index.js +3 -1
- package/lib/components/Accordion/AccordionItem.js +9 -14
- package/lib/components/ChatButton/ChatButton.Skeleton.js +50 -0
- package/lib/components/ChatButton/ChatButton.js +91 -0
- package/lib/components/ComposedModal/ComposedModal.js +32 -7
- package/lib/components/Copy/Copy.js +1 -1
- package/lib/components/DataTable/DataTable.d.ts +21 -0
- package/lib/components/DataTable/DataTable.js +19 -0
- package/lib/components/DataTable/TableCell.d.ts +28 -3
- package/lib/components/DataTable/TableCell.js +27 -5
- package/lib/components/DataTable/TableExpandRow.js +1 -1
- package/lib/components/DataTable/TableHeader.js +2 -2
- package/lib/components/DataTable/TableRow.js +12 -1
- package/lib/components/DataTable/TableToolbarSearch.d.ts +11 -38
- package/lib/components/DataTable/TableToolbarSearch.js +1 -1
- package/lib/components/DataTable/tools/normalize.js +3 -1
- package/lib/components/Modal/Modal.js +25 -5
- package/lib/components/MultiSelect/MultiSelect.d.ts +4 -0
- package/lib/components/MultiSelect/MultiSelect.js +10 -1
- package/lib/components/NumberInput/NumberInput.js +1 -1
- package/lib/components/PaginationNav/PaginationNav.d.ts +45 -0
- package/lib/components/PaginationNav/PaginationNav.js +24 -25
- package/lib/components/PaginationNav/index.d.ts +9 -0
- package/lib/components/Tabs/Tabs.js +2 -1
- package/lib/components/Tile/Tile.d.ts +2 -2
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +6 -2
- package/package.json +5 -5
- package/scss/components/chat-button/_chat-button.scss +9 -0
- package/scss/components/chat-button/_index.scss +9 -0
|
@@ -180,11 +180,11 @@ export interface TileAboveTheFoldContentProps {
|
|
|
180
180
|
*/
|
|
181
181
|
children?: ReactNode;
|
|
182
182
|
}
|
|
183
|
-
export declare const TileAboveTheFoldContent: React.ForwardRefExoticComponent<TileAboveTheFoldContentProps & React.RefAttributes<
|
|
183
|
+
export declare const TileAboveTheFoldContent: React.ForwardRefExoticComponent<TileAboveTheFoldContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
184
184
|
export interface TileBelowTheFoldContentProps {
|
|
185
185
|
/**
|
|
186
186
|
* The child nodes.
|
|
187
187
|
*/
|
|
188
188
|
children?: ReactNode;
|
|
189
189
|
}
|
|
190
|
-
export declare const TileBelowTheFoldContent: React.ForwardRefExoticComponent<TileBelowTheFoldContentProps & React.RefAttributes<
|
|
190
|
+
export declare const TileBelowTheFoldContent: React.ForwardRefExoticComponent<TileBelowTheFoldContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -614,7 +614,7 @@ const TileAboveTheFoldContent = /*#__PURE__*/React__default["default"].forwardRe
|
|
|
614
614
|
children
|
|
615
615
|
} = _ref5;
|
|
616
616
|
const prefix = usePrefix.usePrefix();
|
|
617
|
-
return /*#__PURE__*/React__default["default"].createElement("
|
|
617
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
618
618
|
ref: ref,
|
|
619
619
|
className: `${prefix}--tile-content__above-the-fold`
|
|
620
620
|
}, children);
|
|
@@ -631,7 +631,7 @@ const TileBelowTheFoldContent = /*#__PURE__*/React__default["default"].forwardRe
|
|
|
631
631
|
children
|
|
632
632
|
} = _ref6;
|
|
633
633
|
const prefix = usePrefix.usePrefix();
|
|
634
|
-
return /*#__PURE__*/React__default["default"].createElement("
|
|
634
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
635
635
|
ref: ref,
|
|
636
636
|
className: `${prefix}--tile-content__below-the-fold`
|
|
637
637
|
}, children);
|
package/lib/index.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ export { PageSelector as unstable_PageSelector, Pagination as unstable_Paginatio
|
|
|
115
115
|
export * from './components/Popover';
|
|
116
116
|
export * from './components/ProgressBar';
|
|
117
117
|
export { Slug as unstable__Slug, SlugContent as unstable__SlugContent, SlugActions as unstable__SlugActions, } from './components/Slug';
|
|
118
|
+
export { ChatButton as unstable__ChatButton, ChatButtonSkeleton as unstable__ChatButtonSkeleton, } from './components/ChatButton';
|
|
118
119
|
export * from './components/Stack';
|
|
119
120
|
export * from './components/Tooltip';
|
|
120
121
|
export { Text as unstable_Text, TextDirection as unstable_TextDirection, } from './components/Text';
|
package/lib/index.js
CHANGED
|
@@ -76,6 +76,7 @@ var OrderedList = require('./components/OrderedList/OrderedList.js');
|
|
|
76
76
|
var index$9 = require('./components/OverflowMenu/index.js');
|
|
77
77
|
var OverflowMenuItem = require('./components/OverflowMenuItem/OverflowMenuItem.js');
|
|
78
78
|
var Pagination_Skeleton = require('./components/Pagination/Pagination.Skeleton.js');
|
|
79
|
+
var PaginationNav = require('./components/PaginationNav/PaginationNav.js');
|
|
79
80
|
var PrimaryButton = require('./components/PrimaryButton/PrimaryButton.js');
|
|
80
81
|
var ProgressIndicator_Skeleton = require('./components/ProgressIndicator/ProgressIndicator.Skeleton.js');
|
|
81
82
|
var ProgressIndicator = require('./components/ProgressIndicator/ProgressIndicator.js');
|
|
@@ -193,6 +194,8 @@ var FluidTimePicker_Skeleton = require('./components/FluidTimePicker/FluidTimePi
|
|
|
193
194
|
var FluidTimePickerSelect = require('./components/FluidTimePickerSelect/FluidTimePickerSelect.js');
|
|
194
195
|
var LayoutDirection = require('./components/LayoutDirection/LayoutDirection.js');
|
|
195
196
|
var useLayoutDirection = require('./components/LayoutDirection/useLayoutDirection.js');
|
|
197
|
+
var ChatButton = require('./components/ChatButton/ChatButton.js');
|
|
198
|
+
var ChatButton_Skeleton = require('./components/ChatButton/ChatButton.Skeleton.js');
|
|
196
199
|
var Text = require('./components/Text/Text.js');
|
|
197
200
|
var TextDirection = require('./components/Text/TextDirection.js');
|
|
198
201
|
var DataTable = require('./components/DataTable/DataTable.js');
|
|
@@ -220,7 +223,6 @@ var TableToolbarMenu = require('./components/DataTable/TableToolbarMenu.js');
|
|
|
220
223
|
var FilterableMultiSelect = require('./components/MultiSelect/FilterableMultiSelect.js');
|
|
221
224
|
var MultiSelect = require('./components/MultiSelect/MultiSelect.js');
|
|
222
225
|
var Pagination$1 = require('./components/Pagination/Pagination.js');
|
|
223
|
-
var PaginationNav = require('./components/PaginationNav/PaginationNav.js');
|
|
224
226
|
var ControlledPasswordInput = require('./components/TextInput/ControlledPasswordInput.js');
|
|
225
227
|
var PasswordInput = require('./components/TextInput/PasswordInput.js');
|
|
226
228
|
var RadioTile = require('./components/RadioTile/RadioTile.js');
|
|
@@ -308,6 +310,7 @@ exports.OrderedList = OrderedList["default"];
|
|
|
308
310
|
exports.OverflowMenu = index$9["default"];
|
|
309
311
|
exports.OverflowMenuItem = OverflowMenuItem["default"];
|
|
310
312
|
exports.PaginationSkeleton = Pagination_Skeleton["default"];
|
|
313
|
+
exports.PaginationNav = PaginationNav["default"];
|
|
311
314
|
exports.PrimaryButton = PrimaryButton["default"];
|
|
312
315
|
exports.ProgressIndicatorSkeleton = ProgressIndicator_Skeleton["default"];
|
|
313
316
|
exports.ProgressIndicator = ProgressIndicator.ProgressIndicator;
|
|
@@ -457,6 +460,8 @@ exports.unstable__FluidTimePickerSkeleton = FluidTimePicker_Skeleton["default"];
|
|
|
457
460
|
exports.unstable__FluidTimePickerSelect = FluidTimePickerSelect["default"];
|
|
458
461
|
exports.unstable_LayoutDirection = LayoutDirection.LayoutDirection;
|
|
459
462
|
exports.unstable_useLayoutDirection = useLayoutDirection.useLayoutDirection;
|
|
463
|
+
exports.unstable__ChatButton = ChatButton["default"];
|
|
464
|
+
exports.unstable__ChatButtonSkeleton = ChatButton_Skeleton["default"];
|
|
460
465
|
exports.unstable_Text = Text.Text;
|
|
461
466
|
exports.unstable_TextDirection = TextDirection.TextDirection;
|
|
462
467
|
exports.DataTable = DataTable["default"];
|
|
@@ -484,7 +489,6 @@ exports.TableToolbarMenu = TableToolbarMenu["default"];
|
|
|
484
489
|
exports.FilterableMultiSelect = FilterableMultiSelect["default"];
|
|
485
490
|
exports.MultiSelect = MultiSelect["default"];
|
|
486
491
|
exports.Pagination = Pagination$1["default"];
|
|
487
|
-
exports.PaginationNav = PaginationNav["default"];
|
|
488
492
|
exports.ControlledPasswordInput = ControlledPasswordInput["default"];
|
|
489
493
|
exports.PasswordInput = PasswordInput["default"];
|
|
490
494
|
exports.RadioTile = RadioTile["default"];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/react",
|
|
3
3
|
"description": "React components for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.51.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/runtime": "^7.18.3",
|
|
51
51
|
"@carbon/feature-flags": "^0.16.0",
|
|
52
|
-
"@carbon/icons-react": "^11.36.0
|
|
52
|
+
"@carbon/icons-react": "^11.36.0",
|
|
53
53
|
"@carbon/layout": "^11.20.0",
|
|
54
|
-
"@carbon/styles": "^1.
|
|
54
|
+
"@carbon/styles": "^1.51.0-rc.0",
|
|
55
55
|
"@ibm/telemetry-js": "^1.2.0",
|
|
56
56
|
"classnames": "2.5.1",
|
|
57
57
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@babel/preset-react": "^7.22.3",
|
|
80
80
|
"@babel/preset-typescript": "^7.21.5",
|
|
81
81
|
"@carbon/test-utils": "^10.30.0",
|
|
82
|
-
"@carbon/themes": "^11.
|
|
82
|
+
"@carbon/themes": "^11.32.0-rc.0",
|
|
83
83
|
"@rollup/plugin-babel": "^6.0.0",
|
|
84
84
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
85
85
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
@@ -139,5 +139,5 @@
|
|
|
139
139
|
"**/*.scss",
|
|
140
140
|
"**/*.css"
|
|
141
141
|
],
|
|
142
|
-
"gitHead": "
|
|
142
|
+
"gitHead": "c70f968d388bbf968269066402a741327b00ac1c"
|
|
143
143
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by @carbon/react. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2023
|
|
4
|
+
//
|
|
5
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
// LICENSE file in the root directory of this source tree.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
@forward '@carbon/styles/scss/components/chat-button/chat-button';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by @carbon/react. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2023
|
|
4
|
+
//
|
|
5
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
// LICENSE file in the root directory of this source tree.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
@forward '@carbon/styles/scss/components/chat-button';
|