@carbon/ibm-products 2.54.0-canary.19 → 2.54.0-canary.20
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/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/es/components/AddSelect/hooks/useFocus.js +1 -2
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/es/components/AddSelect/hooks/usePath.js +1 -2
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/es/components/ConditionBuilder/utils/util.js +0 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -4
- package/es/components/Datagrid/useDatagrid.js +2 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/es/components/Datagrid/useEditableCell.js +1 -2
- package/es/components/Datagrid/useFlexResize.js +1 -2
- package/es/components/Datagrid/useFloatingScroll.js +1 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -2
- package/es/components/Datagrid/useParentDimensions.js +1 -2
- package/es/components/Datagrid/useResizeTable.js +1 -2
- package/es/components/Datagrid/useRowExpander.js +1 -2
- package/es/components/Datagrid/useRowRenderer.js +1 -2
- package/es/components/Datagrid/useRowSize.js +1 -2
- package/es/components/Datagrid/useSkeletonRows.js +1 -2
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/es/components/Nav/NavItemLink.js +1 -2
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/es/index.js +1 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/lib/components/AddSelect/hooks/useFocus.js +1 -2
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/lib/components/AddSelect/hooks/usePath.js +1 -2
- package/lib/components/Checklist/ChecklistChart.js +7 -7
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/lib/components/ConditionBuilder/utils/util.js +0 -4
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/lib/components/Datagrid/useColumnOrder.js +1 -1
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/lib/components/Datagrid/useEditableCell.js +1 -2
- package/lib/components/Datagrid/useFlexResize.js +1 -2
- package/lib/components/Datagrid/useFloatingScroll.js +1 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +1 -2
- package/lib/components/Datagrid/useResizeTable.js +1 -2
- package/lib/components/Datagrid/useRowExpander.js +1 -2
- package/lib/components/Datagrid/useRowRenderer.js +1 -2
- package/lib/components/Datagrid/useRowSize.js +1 -2
- package/lib/components/Datagrid/useSkeletonRows.js +1 -2
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/lib/components/Nav/NavItemLink.js +1 -2
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/lib/index.js +109 -109
- package/package.json +7 -7
@@ -504,7 +504,7 @@ function _nonIterableRest() {
|
|
504
504
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
505
505
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
506
506
|
if (!it) {
|
507
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike
|
507
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
|
508
508
|
if (it) o = it;
|
509
509
|
var i = 0;
|
510
510
|
var F = function () {};
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { IconButton, Button } from '@carbon/react';
|
10
|
-
import {
|
10
|
+
import { Kinds, Themes } from './Checklist.types.js';
|
11
11
|
import React__default, { useState, useRef, useEffect } from 'react';
|
12
12
|
import { ChecklistChart } from './ChecklistChart.js';
|
13
13
|
import { ChecklistIcon } from './ChecklistIcon.js';
|
@@ -12,7 +12,7 @@ import cx from 'classnames';
|
|
12
12
|
import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
|
13
13
|
import { pkg } from '../../settings.js';
|
14
14
|
import { CircleDash, CheckmarkOutline, Incomplete, Warning } from '@carbon/react/icons';
|
15
|
-
import {
|
15
|
+
import { Kinds, Themes } from './Checklist.types.js';
|
16
16
|
|
17
17
|
var _excluded = ["className", "kind", "theme"];
|
18
18
|
|
@@ -48,10 +48,6 @@ var traverseReverse = function traverseReverse(eachElem, index, allElements, rot
|
|
48
48
|
}
|
49
49
|
};
|
50
50
|
var checkForHoldingKey = function checkForHoldingKey(evt, key) {
|
51
|
-
// possible key inputs: altKey,ctrlKey,metaKey,shiftKey
|
52
|
-
if (key === 'cmd') {
|
53
|
-
return evt.metaKey || evt.ctrlKey;
|
54
|
-
}
|
55
51
|
return evt[key];
|
56
52
|
};
|
57
53
|
var checkIsValid = function checkIsValid(item) {
|
@@ -57,12 +57,12 @@ var ResizeHeader = function ResizeHeader(_ref) {
|
|
57
57
|
if (key === 'ArrowLeft') {
|
58
58
|
if (currentColumnWidth - incrementAmount > Math.max(Number(minWidth), 50)) {
|
59
59
|
var newWidth = currentColumnWidth - incrementAmount;
|
60
|
-
handleColumnResizingEvent(dispatch, header, newWidth
|
60
|
+
handleColumnResizingEvent(dispatch, header, newWidth);
|
61
61
|
}
|
62
62
|
}
|
63
63
|
if (key === 'ArrowRight') {
|
64
64
|
var _newWidth = currentColumnWidth + incrementAmount;
|
65
|
-
handleColumnResizingEvent(dispatch, header, _newWidth
|
65
|
+
handleColumnResizingEvent(dispatch, header, _newWidth);
|
66
66
|
}
|
67
67
|
}
|
68
68
|
};
|
package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js
CHANGED
@@ -187,6 +187,5 @@ CustomizeColumnsTearsheet.propTypes = {
|
|
187
187
|
selectAllLabel: PropTypes.string,
|
188
188
|
setIsTearsheetOpen: PropTypes.func.isRequired
|
189
189
|
};
|
190
|
-
var CustomizeColumnsTearsheet$1 = CustomizeColumnsTearsheet;
|
191
190
|
|
192
|
-
export { CustomizeColumnsTearsheet
|
191
|
+
export { CustomizeColumnsTearsheet as default };
|
@@ -61,6 +61,5 @@ var TearsheetWrapper = function TearsheetWrapper(_ref) {
|
|
61
61
|
TearsheetWrapper.propTypes = {
|
62
62
|
instance: PropTypes.object.isRequired
|
63
63
|
};
|
64
|
-
var CustomizeColumnsTearsheetWrapper = TearsheetWrapper;
|
65
64
|
|
66
|
-
export {
|
65
|
+
export { TearsheetWrapper as default };
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { slicedToArray as _slicedToArray, defineProperty as _defineProperty } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
|
-
import { BATCH, INSTANT,
|
9
|
+
import { BATCH, INSTANT, CLEAR_FILTERS, FLYOUT, SAVED_FILTERS } from './constants.js';
|
10
10
|
import { usePrefix, IconButton } from '@carbon/react';
|
11
11
|
import React__default, { useState, useRef, useContext, useEffect } from 'react';
|
12
12
|
import { breakpoints, px } from '@carbon/layout';
|
@@ -327,6 +327,5 @@ FilterFlyout.propTypes = {
|
|
327
327
|
*/
|
328
328
|
updateMethod: PropTypes.oneOf([BATCH, INSTANT]).isRequired
|
329
329
|
};
|
330
|
-
var FilterFlyout$1 = FilterFlyout;
|
331
330
|
|
332
|
-
export { FilterFlyout
|
331
|
+
export { FilterFlyout as default };
|
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
import { slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import { Button, Layer, Search, Accordion, AccordionItem } from '@carbon/react';
|
10
|
-
import {
|
10
|
+
import { BATCH, CLEAR_FILTERS, INSTANT, PANEL, SAVED_FILTERS } from './constants.js';
|
11
11
|
import React__default, { useState, useContext, useRef, useMemo, useEffect, useCallback } from 'react';
|
12
12
|
import { panelVariants, innerContainerVariants, actionSetVariants } from './motion/variants.js';
|
13
13
|
import { motion, useReducedMotion } from 'framer-motion';
|
@@ -312,6 +312,5 @@ FilterPanel.propTypes = {
|
|
312
312
|
title: PropTypes.string,
|
313
313
|
updateMethod: PropTypes.oneOf([BATCH, INSTANT])
|
314
314
|
};
|
315
|
-
var FilterPanel$1 = FilterPanel;
|
316
315
|
|
317
|
-
export { componentClass, FilterPanel
|
316
|
+
export { componentClass, FilterPanel as default };
|
@@ -29,6 +29,5 @@ var useShouldDisableButtons = function useShouldDisableButtons(_ref) {
|
|
29
29
|
}, [filtersState, prevFiltersRef]);
|
30
30
|
return [shouldDisableButtons, setShouldDisableButtons];
|
31
31
|
};
|
32
|
-
var useShouldDisableButtons$1 = useShouldDisableButtons;
|
33
32
|
|
34
|
-
export { useShouldDisableButtons
|
33
|
+
export { useShouldDisableButtons as default };
|
package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js
CHANGED
@@ -21,6 +21,5 @@ var useSubscribeToEventEmitter = function useSubscribeToEventEmitter(type, callb
|
|
21
21
|
EventEmitter.subscribe(type, callback);
|
22
22
|
});
|
23
23
|
};
|
24
|
-
var useSubscribeToEventEmitter$1 = useSubscribeToEventEmitter;
|
25
24
|
|
26
|
-
export { useSubscribeToEventEmitter
|
25
|
+
export { useSubscribeToEventEmitter as default };
|
@@ -85,6 +85,5 @@ RowSizeRadioGroup.propTypes = {
|
|
85
85
|
selectedOption: PropTypes.string.isRequired,
|
86
86
|
tableId: PropTypes.string.isRequired
|
87
87
|
};
|
88
|
-
var RowSizeRadioGroup$1 = RowSizeRadioGroup;
|
89
88
|
|
90
|
-
export { RowSizeRadioGroup
|
89
|
+
export { RowSizeRadioGroup as default };
|
@@ -28,7 +28,7 @@ var handleColumnResizeEndEvent = function handleColumnResizeEndEvent(dispatch, o
|
|
28
28
|
});
|
29
29
|
};
|
30
30
|
var handleColumnResizingEvent = function handleColumnResizingEvent(dispatch, header, newWidth, isKeyEvent) {
|
31
|
-
|
31
|
+
{
|
32
32
|
dispatch({
|
33
33
|
type: COLUMN_RESIZE_START,
|
34
34
|
payload: {
|
@@ -7,8 +7,8 @@
|
|
7
7
|
|
8
8
|
import { slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
import * as React from 'react';
|
10
|
-
import
|
11
|
-
import
|
10
|
+
import ButtonWrapper from './Datagrid/addons/CustomizeColumns/ButtonWrapper.js';
|
11
|
+
import TearsheetWrapper from './Datagrid/addons/CustomizeColumns/TearsheetWrapper.js';
|
12
12
|
|
13
13
|
var useCustomizeColumns = function useCustomizeColumns(hooks) {
|
14
14
|
var _React$useState = React.useState(false),
|
@@ -26,13 +26,13 @@ var useCustomizeColumns = function useCustomizeColumns(hooks) {
|
|
26
26
|
setIsTearsheetOpen: setIsTearsheetOpen
|
27
27
|
}),
|
28
28
|
CustomizeColumnsButton: function CustomizeColumnsButton(props) {
|
29
|
-
return /*#__PURE__*/React.createElement(
|
29
|
+
return /*#__PURE__*/React.createElement(ButtonWrapper, _extends({
|
30
30
|
iconTooltipLabel: labels === null || labels === void 0 ? void 0 : labels.iconTooltipLabel,
|
31
31
|
isTearsheetOpen: isTearsheetOpen,
|
32
32
|
setIsTearsheetOpen: setIsTearsheetOpen
|
33
33
|
}, props));
|
34
34
|
},
|
35
|
-
CustomizeColumnsTearsheet:
|
35
|
+
CustomizeColumnsTearsheet: TearsheetWrapper
|
36
36
|
});
|
37
37
|
});
|
38
38
|
};
|
@@ -9,7 +9,7 @@ import { objectSpread2 as _objectSpread2, toConsumableArray as _toConsumableArra
|
|
9
9
|
import { useMemo } from 'react';
|
10
10
|
import { useTable, useFlexLayout, useResizeColumns, useFilters, useGlobalFilter, useSortBy, useExpanded, usePagination, useRowSelect } from 'react-table';
|
11
11
|
import uniqueId from 'lodash/uniqueId';
|
12
|
-
import
|
12
|
+
import useSkeletons from './useSkeletonRows.js';
|
13
13
|
import useDefaultStringRenderer from './useDefaultStringRenderer.js';
|
14
14
|
import useRowRenderer from './useRowRenderer.js';
|
15
15
|
import useRowSize from './useRowSize.js';
|
@@ -19,7 +19,7 @@ import useFloatingScroll from './useFloatingScroll.js';
|
|
19
19
|
import { stateReducer } from './Datagrid/addons/stateReducer.js';
|
20
20
|
|
21
21
|
var useDatagrid = function useDatagrid(params) {
|
22
|
-
var defaultPlugins = [useFlexLayout, useHeaderRow,
|
22
|
+
var defaultPlugins = [useFlexLayout, useHeaderRow, useSkeletons, useResizeColumns, useRowRenderer, useDefaultStringRenderer, useRowSize, useFilters, useGlobalFilter, useSortBy, useExpanded];
|
23
23
|
|
24
24
|
// Disable resizing
|
25
25
|
if (params.disableResizing) {
|
@@ -36,6 +36,5 @@ var useDefaultStringRenderer = function useDefaultStringRenderer(hooks) {
|
|
36
36
|
};
|
37
37
|
hooks.visibleColumns.push(visibleColumns);
|
38
38
|
};
|
39
|
-
var useDefaultStringRenderer$1 = useDefaultStringRenderer;
|
40
39
|
|
41
|
-
export { useDefaultStringRenderer
|
40
|
+
export { useDefaultStringRenderer as default };
|
@@ -10,6 +10,5 @@ import useInlineEdit from './useInlineEdit.js';
|
|
10
10
|
var useEditableCell = function useEditableCell(hooks) {
|
11
11
|
useInlineEdit(hooks);
|
12
12
|
};
|
13
|
-
var useEditableCell$1 = useEditableCell;
|
14
13
|
|
15
|
-
export { useEditableCell
|
14
|
+
export { useEditableCell as default };
|
@@ -73,6 +73,5 @@ var useFloatingScroll = function useFloatingScroll(hooks) {
|
|
73
73
|
hooks.useInstance.push(useAddScrollListener);
|
74
74
|
hooks.useInstance.push(useInstance);
|
75
75
|
};
|
76
|
-
var useFloatingScroll$1 = useFloatingScroll;
|
77
76
|
|
78
|
-
export { useFloatingScroll
|
77
|
+
export { useFloatingScroll as default };
|
@@ -115,6 +115,5 @@ var useNestedRowExpander = function useNestedRowExpander(hooks) {
|
|
115
115
|
hooks.visibleColumns.push(visibleColumns);
|
116
116
|
hooks.useInstance.push(useInstance);
|
117
117
|
};
|
118
|
-
var useNestedRowExpander$1 = useNestedRowExpander;
|
119
118
|
|
120
|
-
export { useNestedRowExpander
|
119
|
+
export { useNestedRowExpander as default };
|
@@ -55,6 +55,5 @@ var useParentDimensions = function useParentDimensions(hooks) {
|
|
55
55
|
};
|
56
56
|
hooks.useInstance.push(useInstance);
|
57
57
|
};
|
58
|
-
var useParentDimensions$1 = useParentDimensions;
|
59
58
|
|
60
|
-
export { useParentDimensions
|
59
|
+
export { useParentDimensions as default };
|
@@ -32,6 +32,5 @@ var useResizeTable = function useResizeTable(hooks) {
|
|
32
32
|
};
|
33
33
|
hooks.useInstanceBeforeDimensions.push(useInstanceBeforeDimensions);
|
34
34
|
};
|
35
|
-
var useResizeTable$1 = useResizeTable;
|
36
35
|
|
37
|
-
export { useResizeTable
|
36
|
+
export { useResizeTable as default };
|
@@ -65,6 +65,5 @@ var useRowExpander = function useRowExpander(hooks) {
|
|
65
65
|
hooks.visibleColumns.push(visibleColumns);
|
66
66
|
hooks.useInstance.push(useInstance);
|
67
67
|
};
|
68
|
-
var useRowExpander$1 = useRowExpander;
|
69
68
|
|
70
|
-
export { useRowExpander
|
69
|
+
export { useRowExpander as default };
|
@@ -57,6 +57,5 @@ var EmptyStateIllustration = function EmptyStateIllustration(_ref) {
|
|
57
57
|
EmptyStateIllustration.propTypes = {
|
58
58
|
kind: PropTypes.string
|
59
59
|
};
|
60
|
-
var EmptyStateIllustration$1 = EmptyStateIllustration;
|
61
60
|
|
62
|
-
export { EmptyStateIllustration
|
61
|
+
export { EmptyStateIllustration as default };
|
@@ -13,7 +13,7 @@ import cx from 'classnames';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import ErrorIllustration from '../assets/ErrorIllustration.js';
|
16
|
+
import { ErrorIllustration } from '../assets/ErrorIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationDescription", "illustrationTheme", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NoDataIllustration from '../assets/NoDataIllustration.js';
|
16
|
+
import { NoDataIllustration } from '../assets/NoDataIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NoTagsIllustration from '../assets/NoTagsIllustration.js';
|
16
|
+
import { NoTagsIllustration } from '../assets/NoTagsIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NotFoundIllustration from '../assets/NotFoundIllustration.js';
|
16
|
+
import { NotFoundIllustration } from '../assets/NotFoundIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NotificationsIllustration from '../assets/NotificationsIllustration.js';
|
16
|
+
import { NotificationsIllustration } from '../assets/NotificationsIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import UnauthorizedIllustration from '../assets/UnauthorizedIllustration.js';
|
16
|
+
import { UnauthorizedIllustration } from '../assets/UnauthorizedIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -211,6 +211,5 @@ ErrorIllustration.propTypes = {
|
|
211
211
|
size: PropTypes.oneOf(['lg', 'sm']),
|
212
212
|
theme: PropTypes.oneOf(['light', 'dark'])
|
213
213
|
};
|
214
|
-
var ErrorIllustration$1 = ErrorIllustration;
|
215
214
|
|
216
|
-
export { ErrorIllustration, ErrorIllustration
|
215
|
+
export { ErrorIllustration, ErrorIllustration as default };
|
@@ -174,6 +174,5 @@ NoDataIllustration.propTypes = {
|
|
174
174
|
size: PropTypes.oneOf(['lg', 'sm']),
|
175
175
|
theme: PropTypes.oneOf(['light', 'dark'])
|
176
176
|
};
|
177
|
-
var NoDataIllustration$1 = NoDataIllustration;
|
178
177
|
|
179
|
-
export { NoDataIllustration, NoDataIllustration
|
178
|
+
export { NoDataIllustration, NoDataIllustration as default };
|
@@ -481,6 +481,5 @@ NoTagsIllustration.propTypes = {
|
|
481
481
|
size: PropTypes.oneOf(['lg', 'sm']),
|
482
482
|
theme: PropTypes.oneOf(['light', 'dark'])
|
483
483
|
};
|
484
|
-
var NoTagsIllustration$1 = NoTagsIllustration;
|
485
484
|
|
486
|
-
export { NoTagsIllustration, NoTagsIllustration
|
485
|
+
export { NoTagsIllustration, NoTagsIllustration as default };
|
@@ -358,6 +358,5 @@ NotFoundIllustration.propTypes = {
|
|
358
358
|
size: PropTypes.oneOf(['lg', 'sm']),
|
359
359
|
theme: PropTypes.oneOf(['light', 'dark'])
|
360
360
|
};
|
361
|
-
var NotFoundIllustration$1 = NotFoundIllustration;
|
362
361
|
|
363
|
-
export { NotFoundIllustration, NotFoundIllustration
|
362
|
+
export { NotFoundIllustration, NotFoundIllustration as default };
|
@@ -328,6 +328,5 @@ NotificationsIllustration.propTypes = {
|
|
328
328
|
size: PropTypes.oneOf(['lg', 'sm']),
|
329
329
|
theme: PropTypes.oneOf(['light', 'dark'])
|
330
330
|
};
|
331
|
-
var NotificationsIllustration$1 = NotificationsIllustration;
|
332
331
|
|
333
|
-
export { NotificationsIllustration, NotificationsIllustration
|
332
|
+
export { NotificationsIllustration, NotificationsIllustration as default };
|
@@ -302,6 +302,5 @@ UnauthorizedIllustration.propTypes = {
|
|
302
302
|
size: PropTypes.oneOf(['lg', 'sm']),
|
303
303
|
theme: PropTypes.oneOf(['light', 'dark'])
|
304
304
|
};
|
305
|
-
var UnauthorizedIllustration$1 = UnauthorizedIllustration;
|
306
305
|
|
307
|
-
export { UnauthorizedIllustration, UnauthorizedIllustration
|
306
|
+
export { UnauthorizedIllustration, UnauthorizedIllustration as default };
|
@@ -29,6 +29,5 @@ var usePrefersReducedMotion = function usePrefersReducedMotion() {
|
|
29
29
|
}, []);
|
30
30
|
return prefersReducedMotion;
|
31
31
|
};
|
32
|
-
var usePrefersReducedMotion$1 = usePrefersReducedMotion;
|
33
32
|
|
34
|
-
export { usePrefersReducedMotion
|
33
|
+
export { usePrefersReducedMotion as default };
|
package/es/index.js
CHANGED
@@ -103,12 +103,12 @@ export { SearchBar } from './components/SearchBar/SearchBar.js';
|
|
103
103
|
export { TagOverflow } from './components/TagOverflow/TagOverflow.js';
|
104
104
|
export { GetStartedCard } from './components/GetStartedCard/GetStartedCard.js';
|
105
105
|
export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags } from './components/FeatureFlags/index.js';
|
106
|
+
export { default as useFilterContext } from './components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js';
|
106
107
|
export { usePrefix } from './global/js/hooks/usePrefix.js';
|
107
108
|
export { ActionBar } from './components/ActionBar/ActionBar.js';
|
108
109
|
export { HTTPError403 } from './components/HTTPErrors/HTTPError403/HTTPError403.js';
|
109
110
|
export { HTTPError404 } from './components/HTTPErrors/HTTPError404/HTTPError404.js';
|
110
111
|
export { HTTPErrorOther } from './components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js';
|
111
|
-
export { default as useFilterContext } from './components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js';
|
112
112
|
export { EditTearsheet } from './components/EditTearsheet/EditTearsheet.js';
|
113
113
|
export { EditTearsheetForm } from './components/EditTearsheet/EditTearsheetForm.js';
|
114
114
|
export { CoachmarkStack } from './components/CoachmarkStack/CoachmarkStack.js';
|
@@ -506,7 +506,7 @@ function _nonIterableRest() {
|
|
506
506
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
507
507
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
508
508
|
if (!it) {
|
509
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike
|
509
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike) {
|
510
510
|
if (it) o = it;
|
511
511
|
var i = 0;
|
512
512
|
var F = function () {};
|