@carbon/react 1.20.0 → 1.21.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/es/components/Accordion/Accordion.Skeleton.js +1 -1
- package/es/components/Breadcrumb/Breadcrumb.Skeleton.js +1 -1
- package/es/components/Button/Button.Skeleton.js +1 -1
- package/es/components/Button/Button.js +1 -0
- package/es/components/{Checkbox → Button}/index.js +3 -3
- package/es/components/{Pagination → ButtonSet}/index.js +2 -3
- package/es/components/Checkbox/Checkbox.Skeleton.js +1 -1
- package/es/components/CodeSnippet/CodeSnippet.Skeleton.js +1 -1
- package/es/components/CodeSnippet/CodeSnippet.js +1 -1
- package/es/components/{RadioButtonGroup → ComboBox}/index.js +2 -2
- package/es/components/ComposedModal/ModalFooter.js +1 -1
- package/es/components/ContainedList/ContainedListItem/index.js +9 -0
- package/es/components/ContainedList/index.js +1 -1
- package/es/components/ContentSwitcher/index.js +3 -3
- package/es/components/{ModalWrapper → Copy}/index.js +2 -2
- package/es/components/CopyButton/index.js +9 -0
- package/es/components/DangerButton/DangerButton.js +1 -1
- package/es/components/DataTable/TableBatchAction.js +1 -1
- package/es/components/DataTable/TableBatchActions.js +1 -1
- package/es/components/DataTable/index.js +1 -1
- package/es/components/DatePicker/DatePicker.Skeleton.js +1 -1
- package/es/components/DatePicker/DatePicker.js +17 -6
- package/es/components/DatePicker/index.js +10 -0
- package/es/components/DatePickerInput/index.js +9 -0
- package/es/components/Dropdown/Dropdown.Skeleton.js +1 -1
- package/es/components/Dropdown/index.js +10 -0
- package/es/components/FileUploader/FileUploader.Skeleton.js +1 -1
- package/es/components/FluidDatePicker/FluidDatePicker.js +1 -1
- package/es/components/FluidDropdown/FluidDropdown.js +1 -1
- package/es/components/FluidSelect/FluidSelect.js +1 -1
- package/es/components/FluidSelect/index.js +10 -0
- package/es/components/FluidTextArea/FluidTextArea.js +1 -1
- package/es/components/FluidTextInput/index.js +10 -0
- package/es/components/{ExpandableSearch → Form}/index.js +2 -2
- package/es/components/Icon/Icon.Skeleton.js +1 -1
- package/es/components/IconButton/index.js +1 -1
- package/es/components/InlineCheckbox/index.js +9 -0
- package/es/components/Link/index.js +9 -0
- package/es/components/Loading/index.js +9 -0
- package/es/components/Menu/index.js +1 -1
- package/es/components/Modal/Modal.js +1 -1
- package/es/components/Modal/index.js +1 -1
- package/es/components/ModalWrapper/ModalWrapper.js +1 -1
- package/es/components/MultiSelect/index.js +1 -1
- package/es/components/Notification/Notification.js +1 -1
- package/es/components/OverflowMenu/index.js +1 -1
- package/es/components/OverflowMenuItem/index.js +1 -1
- package/es/components/Pagination/Pagination.Skeleton.js +1 -1
- package/es/components/Pagination/Pagination.js +1 -1
- package/es/components/Pagination/experimental/PageSelector.js +1 -1
- package/es/components/Pagination/experimental/Pagination.js +2 -2
- package/es/components/PaginationNav/PaginationNav.js +1 -1
- package/es/components/PrimaryButton/PrimaryButton.js +1 -1
- package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +1 -1
- package/es/components/RadioButton/RadioButton.Skeleton.js +1 -1
- package/es/components/RadioButton/index.js +1 -1
- package/es/components/RadioTile/index.js +9 -0
- package/es/components/Search/Search.Skeleton.js +1 -1
- package/es/components/Search/index.js +1 -1
- package/es/components/SecondaryButton/SecondaryButton.js +1 -1
- package/es/components/Select/Select.Skeleton.js +1 -1
- package/es/components/Select/index.js +10 -0
- package/es/components/SelectItem/index.js +9 -0
- package/es/components/SkeletonText/index.js +9 -0
- package/es/components/Slider/Slider.Skeleton.js +1 -1
- package/es/components/Slider/index.js +3 -3
- package/es/components/Tab/index.js +1 -1
- package/es/components/Tabs/Tabs.Skeleton.js +1 -1
- package/es/components/Tag/Tag.Skeleton.js +1 -1
- package/es/components/Tag/Tag.js +2 -1
- package/es/components/TextArea/TextArea.Skeleton.js +1 -1
- package/es/components/TextArea/index.js +10 -0
- package/es/components/TextInput/TextInput.Skeleton.js +1 -1
- package/es/components/TextInput/index.js +1 -1
- package/es/components/TileGroup/index.js +3 -3
- package/es/components/TimePickerSelect/index.js +1 -1
- package/es/components/Toggle/Toggle.Skeleton.js +1 -1
- package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -1
- package/es/components/TreeView/index.js +1 -1
- package/es/components/UIShell/HeaderGlobalAction.js +1 -1
- package/es/components/UIShell/HeaderNavigation.js +1 -1
- package/es/components/UIShell/SideNavLink.js +5 -0
- package/es/components/UIShell/SideNavMenu.js +1 -1
- package/es/es/components/Checkbox/Checkbox.Skeleton.d.ts +1 -0
- package/es/es/components/Checkbox/Checkbox.d.ts +1 -1
- package/es/es/components/Checkbox/index.d.ts +3 -2
- package/es/es/components/Text/Text.d.ts +1 -1
- package/es/es/components/Text/TextDirection.d.ts +2 -2
- package/es/es/index.d.ts +119 -0
- package/es/index.js +24 -28
- package/lib/components/Accordion/Accordion.Skeleton.js +1 -0
- package/lib/components/Breadcrumb/Breadcrumb.Skeleton.js +1 -0
- package/lib/components/Button/Button.Skeleton.js +1 -0
- package/lib/components/Button/Button.js +1 -0
- package/lib/components/{Checkbox → Button}/index.js +5 -4
- package/lib/components/ButtonSet/index.js +17 -0
- package/lib/components/Checkbox/Checkbox.Skeleton.js +1 -0
- package/lib/components/CodeSnippet/CodeSnippet.Skeleton.js +1 -0
- package/lib/components/CodeSnippet/CodeSnippet.js +1 -1
- package/lib/components/{Pagination → ComboBox}/index.js +3 -3
- package/lib/components/ComposedModal/ModalFooter.js +1 -1
- package/lib/components/ContainedList/ContainedListItem/index.js +17 -0
- package/lib/components/ContainedList/index.js +1 -0
- package/lib/components/ContentSwitcher/index.js +4 -3
- package/lib/components/{ModalWrapper → Copy}/index.js +3 -2
- package/lib/components/CopyButton/index.js +17 -0
- package/lib/components/DangerButton/DangerButton.js +1 -1
- package/lib/components/DataTable/TableBatchAction.js +1 -1
- package/lib/components/DataTable/TableBatchActions.js +1 -1
- package/lib/components/DataTable/index.js +1 -0
- package/lib/components/DatePicker/DatePicker.Skeleton.js +1 -0
- package/lib/components/DatePicker/DatePicker.js +15 -4
- package/lib/components/DatePicker/index.js +19 -0
- package/lib/components/DatePickerInput/index.js +17 -0
- package/lib/components/Dropdown/Dropdown.Skeleton.js +1 -0
- package/lib/components/Dropdown/index.js +19 -0
- package/lib/components/FileUploader/FileUploader.Skeleton.js +1 -0
- package/lib/components/FluidDatePicker/FluidDatePicker.js +1 -1
- package/lib/components/FluidDropdown/FluidDropdown.js +1 -1
- package/lib/components/FluidSelect/FluidSelect.js +1 -1
- package/lib/components/FluidSelect/index.js +19 -0
- package/lib/components/FluidTextArea/FluidTextArea.js +1 -1
- package/lib/components/FluidTextInput/index.js +19 -0
- package/lib/components/{RadioButtonGroup → Form}/index.js +3 -2
- package/lib/components/Icon/Icon.Skeleton.js +1 -0
- package/lib/components/IconButton/index.js +1 -1
- package/lib/components/InlineCheckbox/index.js +17 -0
- package/lib/components/{ExpandableSearch → Link}/index.js +3 -2
- package/lib/components/Loading/index.js +17 -0
- package/lib/components/Menu/index.js +1 -0
- package/lib/components/Modal/Modal.js +1 -1
- package/lib/components/Modal/index.js +1 -0
- package/lib/components/ModalWrapper/ModalWrapper.js +1 -1
- package/lib/components/MultiSelect/index.js +1 -0
- package/lib/components/Notification/Notification.js +1 -1
- package/lib/components/OverflowMenu/index.js +1 -0
- package/lib/components/OverflowMenuItem/index.js +1 -0
- package/lib/components/Pagination/Pagination.Skeleton.js +1 -0
- package/lib/components/Pagination/Pagination.js +1 -1
- package/lib/components/Pagination/experimental/PageSelector.js +1 -1
- package/lib/components/Pagination/experimental/Pagination.js +2 -2
- package/lib/components/PaginationNav/PaginationNav.js +1 -1
- package/lib/components/PrimaryButton/PrimaryButton.js +1 -1
- package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +1 -0
- package/lib/components/RadioButton/RadioButton.Skeleton.js +1 -0
- package/lib/components/RadioButton/index.js +1 -0
- package/lib/components/RadioTile/index.js +17 -0
- package/lib/components/Search/Search.Skeleton.js +1 -0
- package/lib/components/Search/index.js +1 -0
- package/lib/components/SecondaryButton/SecondaryButton.js +1 -1
- package/lib/components/Select/Select.Skeleton.js +1 -0
- package/lib/components/Select/index.js +19 -0
- package/lib/components/SelectItem/index.js +17 -0
- package/lib/components/SkeletonText/index.js +17 -0
- package/lib/components/Slider/Slider.Skeleton.js +1 -0
- package/lib/components/Slider/index.js +4 -3
- package/lib/components/Tab/index.js +1 -0
- package/lib/components/Tabs/Tabs.Skeleton.js +1 -0
- package/lib/components/Tag/Tag.Skeleton.js +1 -0
- package/lib/components/Tag/Tag.js +2 -0
- package/lib/components/TextArea/TextArea.Skeleton.js +1 -0
- package/lib/components/TextArea/index.js +19 -0
- package/lib/components/TextInput/TextInput.Skeleton.js +1 -0
- package/lib/components/TextInput/index.js +1 -0
- package/lib/components/TileGroup/index.js +4 -3
- package/lib/components/TimePickerSelect/index.js +1 -0
- package/lib/components/Toggle/Toggle.Skeleton.js +1 -0
- package/lib/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -0
- package/lib/components/TreeView/index.js +1 -0
- package/lib/components/UIShell/HeaderGlobalAction.js +1 -1
- package/lib/components/UIShell/HeaderNavigation.js +1 -0
- package/lib/components/UIShell/SideNavLink.js +5 -0
- package/lib/components/UIShell/SideNavMenu.js +1 -0
- package/lib/index.js +85 -89
- package/lib/lib/components/Checkbox/Checkbox.Skeleton.d.ts +1 -0
- package/lib/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/lib/components/Checkbox/index.d.ts +3 -2
- package/lib/lib/components/Text/Text.d.ts +1 -1
- package/lib/lib/components/Text/TextDirection.d.ts +2 -2
- package/lib/lib/index.d.ts +119 -0
- package/package.json +5 -5
- package/es/components/Accordion/index.js +0 -11
- package/es/components/AccordionItem/index.js +0 -13
- package/es/components/FluidNumberInput/FluidNumberInput.Skeleton.js +0 -42
- package/es/components/FluidNumberInput/FluidNumberInput.js +0 -138
- package/es/components/FluidSearch/FluidSearch.Skeleton.js +0 -42
- package/es/components/FluidSearch/FluidSearch.js +0 -114
- package/es/components/Tabs/index.js +0 -10
- package/lib/components/Accordion/index.js +0 -20
- package/lib/components/AccordionItem/index.js +0 -18
- package/lib/components/FluidNumberInput/FluidNumberInput.Skeleton.js +0 -52
- package/lib/components/FluidNumberInput/FluidNumberInput.js +0 -148
- package/lib/components/FluidSearch/FluidSearch.Skeleton.js +0 -52
- package/lib/components/FluidSearch/FluidSearch.js +0 -124
- package/lib/components/Tabs/index.js +0 -23
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export { default } from './
|
|
8
|
+
import Button from './Button.js';
|
|
9
|
+
export { default as Button, default } from './Button.js';
|
|
10
|
+
export { default as ButtonSkeleton } from './Button.Skeleton.js';
|
|
@@ -5,6 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import
|
|
9
|
-
export { default } from './
|
|
10
|
-
import './Pagination.Skeleton.js';
|
|
8
|
+
import ButtonSet from './ButtonSet.js';
|
|
9
|
+
export { default as ButtonSet, default } from './ButtonSet.js';
|
|
@@ -12,8 +12,8 @@ import cx from 'classnames';
|
|
|
12
12
|
import useResizeObserver from '../../node_modules/use-resize-observer/polyfilled.js';
|
|
13
13
|
import { ChevronDown } from '@carbon/icons-react';
|
|
14
14
|
import Copy from '../Copy/Copy.js';
|
|
15
|
-
import '../Button/Button.Skeleton.js';
|
|
16
15
|
import Button from '../Button/Button.js';
|
|
16
|
+
import '../Button/Button.Skeleton.js';
|
|
17
17
|
import CopyButton from '../CopyButton/CopyButton.js';
|
|
18
18
|
import uniqueId from '../../tools/uniqueId.js';
|
|
19
19
|
import copy from 'copy-to-clipboard';
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import
|
|
9
|
-
export { default } from './
|
|
8
|
+
import ComboBox from './ComboBox.js';
|
|
9
|
+
export { default as ComboBox, default } from './ComboBox.js';
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
|
-
import '../Button/Button.Skeleton.js';
|
|
12
11
|
import Button from '../Button/Button.js';
|
|
12
|
+
import '../Button/Button.Skeleton.js';
|
|
13
13
|
import ButtonSet from '../ButtonSet/ButtonSet.js';
|
|
14
14
|
import cx from 'classnames';
|
|
15
15
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import ContainedListItem from './ContainedListItem.js';
|
|
9
|
+
export { default as ContainedListItem, default } from './ContainedListItem.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import ContainedList from './ContainedList.js';
|
|
9
|
-
export { default } from './ContainedList.js';
|
|
9
|
+
export { default as ContainedList, default } from './ContainedList.js';
|
|
10
10
|
import ContainedListItem from './ContainedListItem/ContainedListItem.js';
|
|
11
11
|
export { default as ContainedListItem } from './ContainedListItem/ContainedListItem.js';
|
|
12
12
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { createClassWrapper } from '../../internal/createClassWrapper.js';
|
|
9
|
-
import ContentSwitcher from './ContentSwitcher.js';
|
|
9
|
+
import ContentSwitcher$1 from './ContentSwitcher.js';
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var ContentSwitcher = createClassWrapper(ContentSwitcher$1);
|
|
12
12
|
|
|
13
|
-
export {
|
|
13
|
+
export { ContentSwitcher, ContentSwitcher as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import CopyButton from './CopyButton.js';
|
|
9
|
+
export { default as CopyButton, default } from './CopyButton.js';
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
|
-
import '../Button/Button.Skeleton.js';
|
|
11
10
|
import Button from '../Button/Button.js';
|
|
11
|
+
import '../Button/Button.Skeleton.js';
|
|
12
12
|
|
|
13
13
|
var DangerButton = function DangerButton(props) {
|
|
14
14
|
return /*#__PURE__*/React__default.createElement(Button, _extends({
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import { AddFilled } from '@carbon/icons-react';
|
|
11
|
-
import '../Button/Button.Skeleton.js';
|
|
12
11
|
import Button from '../Button/Button.js';
|
|
12
|
+
import '../Button/Button.Skeleton.js';
|
|
13
13
|
|
|
14
14
|
var TableBatchAction = function TableBatchAction(props) {
|
|
15
15
|
return /*#__PURE__*/React__default.createElement(Button, props);
|
|
@@ -9,8 +9,8 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
|
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import '../Button/Button.Skeleton.js';
|
|
13
12
|
import Button from '../Button/Button.js';
|
|
13
|
+
import '../Button/Button.Skeleton.js';
|
|
14
14
|
import TableActionList from './TableActionList.js';
|
|
15
15
|
import '../Text/index.js';
|
|
16
16
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import DataTable from './DataTable.js';
|
|
9
|
-
export { default } from './DataTable.js';
|
|
9
|
+
export { default as DataTable, default } from './DataTable.js';
|
|
10
10
|
import { Table } from './Table.js';
|
|
11
11
|
export { Table } from './Table.js';
|
|
12
12
|
import TableActionList from './TableActionList.js';
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, typeof as _typeof, objectSpread2 as _objectSpread2, extends as _extends, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
8
|
+
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, typeof as _typeof, objectSpread2 as _objectSpread2, extends as _extends, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
|
-
import React__default, { useContext, useRef, useEffect, useImperativeHandle } from 'react';
|
|
10
|
+
import React__default, { useContext, useState, useCallback, useRef, useEffect, useImperativeHandle } from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import flatpickr from 'flatpickr';
|
|
13
13
|
import l10n from '../../node_modules/flatpickr/dist/l10n/index.js';
|
|
@@ -191,7 +191,17 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function DatePicker(_ref
|
|
|
191
191
|
var _useContext = useContext(FormContext),
|
|
192
192
|
isFluid = _useContext.isFluid;
|
|
193
193
|
|
|
194
|
-
var
|
|
194
|
+
var _useState = useState(false),
|
|
195
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
196
|
+
hasInput = _useState2[0],
|
|
197
|
+
setHasInput = _useState2[1];
|
|
198
|
+
|
|
199
|
+
var startInputField = useCallback(function (node) {
|
|
200
|
+
if (node !== null) {
|
|
201
|
+
startInputField.current = node;
|
|
202
|
+
setHasInput(true);
|
|
203
|
+
}
|
|
204
|
+
}, []);
|
|
195
205
|
var endInputField = useRef(null);
|
|
196
206
|
var calendarRef = useRef(null);
|
|
197
207
|
var savedOnChange = useSavedCallback(onChange);
|
|
@@ -237,7 +247,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function DatePicker(_ref
|
|
|
237
247
|
return;
|
|
238
248
|
}
|
|
239
249
|
|
|
240
|
-
if (startInputField.current
|
|
250
|
+
if (!startInputField.current) {
|
|
241
251
|
return;
|
|
242
252
|
}
|
|
243
253
|
|
|
@@ -381,7 +391,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function DatePicker(_ref
|
|
|
381
391
|
end.removeEventListener('change', handleOnChange);
|
|
382
392
|
}
|
|
383
393
|
};
|
|
384
|
-
}, [savedOnChange, savedOnClose, savedOnOpen, readOnly]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
394
|
+
}, [savedOnChange, savedOnClose, savedOnOpen, readOnly, hasInput]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
385
395
|
// this hook allows consumers to access the flatpickr calendar
|
|
386
396
|
// instance for cases where functions like open() or close()
|
|
387
397
|
// need to be imperatively called on the calendar
|
|
@@ -450,7 +460,8 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function DatePicker(_ref
|
|
|
450
460
|
} else if (!calendarRef.current && value) {
|
|
451
461
|
startInputField.current.value = value;
|
|
452
462
|
}
|
|
453
|
-
}, [value, prefix]);
|
|
463
|
+
}, [value, prefix]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
464
|
+
|
|
454
465
|
var fluidError;
|
|
455
466
|
|
|
456
467
|
if (isFluid) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import DatePicker from './DatePicker.js';
|
|
9
|
+
export { default as DatePicker, default } from './DatePicker.js';
|
|
10
|
+
export { default as DatePickerSkeleton } from './DatePicker.Skeleton.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import DatePickerInput from './DatePickerInput.js';
|
|
9
|
+
export { default as DatePickerInput, default } from './DatePickerInput.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import Dropdown from './Dropdown.js';
|
|
9
|
+
export { default as Dropdown, default } from './Dropdown.js';
|
|
10
|
+
export { default as DropdownSkeleton } from './Dropdown.Skeleton.js';
|
|
@@ -9,8 +9,8 @@ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
|
-
import '../DatePicker/DatePicker.Skeleton.js';
|
|
13
12
|
import DatePicker from '../DatePicker/DatePicker.js';
|
|
13
|
+
import '../DatePicker/DatePicker.Skeleton.js';
|
|
14
14
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
15
15
|
import { FormContext } from '../FluidForm/FormContext.js';
|
|
16
16
|
|
|
@@ -9,8 +9,8 @@ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
|
-
import '../Dropdown/Dropdown.Skeleton.js';
|
|
13
12
|
import Dropdown from '../Dropdown/Dropdown.js';
|
|
13
|
+
import '../Dropdown/Dropdown.Skeleton.js';
|
|
14
14
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
15
15
|
import { FormContext } from '../FluidForm/FormContext.js';
|
|
16
16
|
|
|
@@ -9,8 +9,8 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
|
-
import '../Select/Select.Skeleton.js';
|
|
13
12
|
import Select from '../Select/Select.js';
|
|
13
|
+
import '../Select/Select.Skeleton.js';
|
|
14
14
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
15
15
|
import { FormContext } from '../FluidForm/FormContext.js';
|
|
16
16
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import FluidSelect from './FluidSelect.js';
|
|
9
|
+
export { default as FluidSelect, default } from './FluidSelect.js';
|
|
10
|
+
export { default as FluidSelectSkeleton } from './FluidSelect.Skeleton.js';
|
|
@@ -9,8 +9,8 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
|
-
import '../TextArea/TextArea.Skeleton.js';
|
|
13
12
|
import TextArea from '../TextArea/TextArea.js';
|
|
13
|
+
import '../TextArea/TextArea.Skeleton.js';
|
|
14
14
|
import deprecate from '../../prop-types/deprecate.js';
|
|
15
15
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
16
16
|
import { FormContext } from '../FluidForm/FormContext.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import FluidTextInput from './FluidTextInput.js';
|
|
9
|
+
export { default as FluidTextInput, default } from './FluidTextInput.js';
|
|
10
|
+
export { default as FluidTextInputSkeleton } from './FluidTextInput.Skeleton.js';
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
|
-
import '../Button/Button.Skeleton.js';
|
|
12
11
|
import Button from '../Button/Button.js';
|
|
12
|
+
import '../Button/Button.Skeleton.js';
|
|
13
13
|
import '../Tooltip/DefinitionTooltip.js';
|
|
14
14
|
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
15
15
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import InlineCheckbox from './InlineCheckbox.js';
|
|
9
|
+
export { default as InlineCheckbox, default } from './InlineCheckbox.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import Link from './Link.js';
|
|
9
|
+
export { default as Link, default } from './Link.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import Loading from './Loading.js';
|
|
9
|
+
export { default as Loading, default } from './Loading.js';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import Menu from './Menu.js';
|
|
9
|
-
export { default } from './Menu.js';
|
|
9
|
+
export { default as Menu, default } from './Menu.js';
|
|
10
10
|
import MenuDivider from './MenuDivider.js';
|
|
11
11
|
export { default as MenuDivider } from './MenuDivider.js';
|
|
12
12
|
import MenuGroup from './MenuGroup.js';
|
|
@@ -11,8 +11,8 @@ import React__default, { useRef, useEffect } from 'react';
|
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import { Close } from '@carbon/icons-react';
|
|
13
13
|
import toggleClass from '../../tools/toggleClass.js';
|
|
14
|
-
import '../Button/Button.Skeleton.js';
|
|
15
14
|
import Button from '../Button/Button.js';
|
|
15
|
+
import '../Button/Button.Skeleton.js';
|
|
16
16
|
import ButtonSet from '../ButtonSet/ButtonSet.js';
|
|
17
17
|
import requiredIfGivenPropIsTruthy from '../../prop-types/requiredIfGivenPropIsTruthy.js';
|
|
18
18
|
import wrapFocus, { elementOrParentIsFloatingMenu } from '../../internal/wrapFocus.js';
|
|
@@ -9,8 +9,8 @@ import { inherits as _inherits, createSuper as _createSuper, createClass as _cre
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import Modal from '../Modal/Modal.js';
|
|
12
|
-
import '../Button/Button.Skeleton.js';
|
|
13
12
|
import Button from '../Button/Button.js';
|
|
13
|
+
import '../Button/Button.Skeleton.js';
|
|
14
14
|
import { ButtonKinds } from '../../prop-types/types.js';
|
|
15
15
|
import { warning } from '../../internal/warning.js';
|
|
16
16
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import { deprecateFieldOnObject } from '../../internal/deprecateFieldOnObject.js';
|
|
9
9
|
import MultiSelect from './MultiSelect.js';
|
|
10
|
-
export { default } from './MultiSelect.js';
|
|
10
|
+
export { default as MultiSelect, default } from './MultiSelect.js';
|
|
11
11
|
import FilterableMultiSelect from './FilterableMultiSelect.js';
|
|
12
12
|
export { default as FilterableMultiSelect } from './FilterableMultiSelect.js';
|
|
13
13
|
|
|
@@ -10,8 +10,8 @@ import PropTypes from 'prop-types';
|
|
|
10
10
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import { Close, ErrorFilled, CheckmarkFilled, WarningFilled, WarningAltFilled, InformationFilled, InformationSquareFilled } from '@carbon/icons-react';
|
|
13
|
-
import '../Button/Button.Skeleton.js';
|
|
14
13
|
import Button from '../Button/Button.js';
|
|
14
|
+
import '../Button/Button.Skeleton.js';
|
|
15
15
|
import useIsomorphicEffect from '../../internal/useIsomorphicEffect.js';
|
|
16
16
|
import { useNoInteractiveChildren } from '../../internal/useNoInteractiveChildren.js';
|
|
17
17
|
import { Escape } from '../../internal/keyboard/keys.js';
|
|
@@ -10,8 +10,8 @@ import { CaretLeft, CaretRight } from '@carbon/icons-react';
|
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
12
12
|
import React__default, { useRef, useState } from 'react';
|
|
13
|
-
import '../Select/Select.Skeleton.js';
|
|
14
13
|
import Select from '../Select/Select.js';
|
|
14
|
+
import '../Select/Select.Skeleton.js';
|
|
15
15
|
import SelectItem from '../SelectItem/SelectItem.js';
|
|
16
16
|
import { equals } from '../../tools/array.js';
|
|
17
17
|
import { useFallbackId } from '../../internal/useId.js';
|
|
@@ -10,8 +10,8 @@ import React__default from 'react';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import setupGetInstanceId from '../../../tools/setupGetInstanceId.js';
|
|
13
|
-
import '../../Select/Select.Skeleton.js';
|
|
14
13
|
import Select from '../../Select/Select.js';
|
|
14
|
+
import '../../Select/Select.Skeleton.js';
|
|
15
15
|
import SelectItem from '../../SelectItem/SelectItem.js';
|
|
16
16
|
import { usePrefix } from '../../../internal/usePrefix.js';
|
|
17
17
|
|
|
@@ -10,10 +10,10 @@ import React__default, { useState } from 'react';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import { CaretLeft, CaretRight } from '@carbon/icons-react';
|
|
13
|
-
import '../../Button/Button.Skeleton.js';
|
|
14
13
|
import Button from '../../Button/Button.js';
|
|
15
|
-
import '../../
|
|
14
|
+
import '../../Button/Button.Skeleton.js';
|
|
16
15
|
import Select from '../../Select/Select.js';
|
|
16
|
+
import '../../Select/Select.Skeleton.js';
|
|
17
17
|
import SelectItem from '../../SelectItem/SelectItem.js';
|
|
18
18
|
import { IconButton } from '../../IconButton/index.js';
|
|
19
19
|
import * as FeatureFlags from '@carbon/feature-flags';
|
|
@@ -10,8 +10,8 @@ import PropTypes from 'prop-types';
|
|
|
10
10
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
12
12
|
import { CaretRight, CaretLeft, OverflowMenuHorizontal } from '@carbon/icons-react';
|
|
13
|
-
import '../Button/Button.Skeleton.js';
|
|
14
13
|
import Button from '../Button/Button.js';
|
|
14
|
+
import '../Button/Button.Skeleton.js';
|
|
15
15
|
import { IconButton } from '../IconButton/index.js';
|
|
16
16
|
import * as FeatureFlags from '@carbon/feature-flags';
|
|
17
17
|
import { usePrefix } from '../../internal/usePrefix.js';
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
|
-
import '../Button/Button.Skeleton.js';
|
|
11
10
|
import Button from '../Button/Button.js';
|
|
11
|
+
import '../Button/Button.Skeleton.js';
|
|
12
12
|
|
|
13
13
|
var PrimaryButton = function PrimaryButton(props) {
|
|
14
14
|
return /*#__PURE__*/React__default.createElement(Button, _extends({
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2016, 2022
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import RadioTile from './RadioTile.js';
|
|
9
|
+
export { default as RadioTile, default } from './RadioTile.js';
|