@carbon/react 1.17.0 → 1.18.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/AccordionItem.js +2 -2
- package/es/components/Accordion/index.js +2 -0
- package/es/components/AccordionItem/index.js +2 -0
- package/es/components/Breadcrumb/Breadcrumb.js +1 -2
- package/es/components/Breadcrumb/BreadcrumbItem.js +1 -2
- package/es/components/Button/Button.Skeleton.js +1 -2
- package/es/components/Button/Button.js +1 -2
- package/es/components/ButtonSet/ButtonSet.js +1 -2
- package/es/components/Checkbox/Checkbox.d.ts +4 -0
- package/es/components/Checkbox/Checkbox.js +29 -6
- package/es/components/CodeSnippet/CodeSnippet.js +4 -3
- package/es/components/ComboBox/ComboBox.js +6 -6
- package/es/components/ComposedModal/ComposedModal.js +2 -3
- package/es/components/ComposedModal/ModalFooter.js +1 -0
- package/es/components/ContainedList/ContainedList.js +10 -3
- package/es/components/ContentSwitcher/ContentSwitcher.js +3 -3
- package/es/components/CopyButton/CopyButton.js +1 -2
- package/es/components/DangerButton/DangerButton.js +2 -3
- package/es/components/DataTable/Table.js +1 -2
- package/es/components/DataTable/TableActionList.js +1 -2
- package/es/components/DataTable/TableBatchAction.js +2 -2
- package/es/components/DataTable/TableBatchActions.js +2 -2
- package/es/components/DataTable/TableBody.js +1 -2
- package/es/components/DataTable/TableCell.js +1 -2
- package/es/components/DataTable/TableContainer.js +1 -2
- package/es/components/DataTable/TableExpandHeader.js +1 -2
- package/es/components/DataTable/TableExpandRow.js +1 -2
- package/es/components/DataTable/TableExpandedRow.js +1 -2
- package/es/components/DataTable/TableHead.js +1 -2
- package/es/components/DataTable/TableHeader.js +1 -2
- package/es/components/DataTable/TableRow.js +1 -2
- package/es/components/DataTable/TableSelectAll.js +1 -2
- package/es/components/DataTable/TableSelectRow.js +1 -2
- package/es/components/DataTable/TableToolbar.js +2 -3
- package/es/components/DataTable/TableToolbarAction.js +2 -3
- package/es/components/DataTable/TableToolbarContent.js +1 -2
- package/es/components/DataTable/TableToolbarMenu.js +1 -2
- package/es/components/DataTable/TableToolbarSearch.js +2 -2
- package/es/components/DataTable/index.js +24 -26
- package/es/components/DataTable/state/getDerivedStateFromProps.js +1 -3
- package/es/components/DataTable/tools/denormalize.js +1 -3
- package/es/components/DataTable/tools/instanceId.js +1 -3
- package/es/components/DataTable/tools/normalize.js +1 -3
- package/es/components/DataTableSkeleton/DataTableSkeleton.js +1 -2
- package/es/components/DatePicker/DatePicker.Skeleton.js +1 -2
- package/es/components/DatePicker/DatePicker.js +71 -31
- package/es/components/DatePicker/plugins/fixEventsPlugin.js +1 -1
- package/es/components/DatePickerInput/DatePickerInput.js +19 -12
- package/es/components/Dropdown/Dropdown.Skeleton.js +2 -2
- package/es/components/Dropdown/Dropdown.js +3 -3
- package/es/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/es/components/ExpandableSearch/ExpandableSearch.js +1 -0
- package/es/components/FileUploader/FileUploader.js +3 -3
- package/es/components/FileUploader/FileUploaderButton.js +2 -2
- package/es/components/FileUploader/FileUploaderDropContainer.js +2 -2
- package/es/components/FileUploader/FileUploaderItem.js +2 -2
- package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +1 -2
- package/es/components/FluidComboBox/FluidComboBox.js +1 -2
- package/es/components/FluidDatePicker/FluidDatePicker.js +2 -2
- package/es/components/FluidDatePickerInput/FluidDatePickerInput.js +1 -2
- package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +1 -2
- package/es/components/FluidDropdown/FluidDropdown.js +2 -2
- package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +1 -2
- package/es/components/FluidMultiSelect/FluidMultiSelect.js +1 -2
- package/es/components/FluidSelect/FluidSelect.Skeleton.js +1 -2
- package/es/components/FluidSelect/FluidSelect.js +2 -2
- package/es/components/FluidTextArea/FluidTextArea.js +1 -0
- package/es/components/FluidTextInput/FluidTextInput.js +1 -0
- package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +46 -0
- package/es/components/FluidTimePicker/FluidTimePicker.js +110 -0
- package/es/components/FluidTimePickerSelect/FluidTimePickerSelect.js +64 -0
- package/es/components/Form/Form.js +1 -2
- package/es/components/FormGroup/FormGroup.js +1 -2
- package/es/components/Icon/Icon.Skeleton.js +1 -2
- package/es/components/IconButton/index.js +3 -1
- package/es/components/IdPrefix/index.js +29 -0
- package/es/components/InlineCheckbox/InlineCheckbox.js +1 -2
- package/es/components/Link/Link.js +1 -2
- package/es/components/ListBox/ListBox.js +2 -2
- package/es/components/ListBox/ListBoxMenu.js +1 -2
- package/es/components/ListBox/ListBoxMenuIcon.js +1 -2
- package/es/components/ListBox/ListBoxMenuItem.js +1 -2
- package/es/components/ListBox/ListBoxSelection.js +2 -2
- package/es/components/ListBox/index.js +1 -0
- package/es/components/ListBox/next/ListBoxSelection.js +3 -3
- package/es/components/ListBox/next/ListBoxTrigger.js +1 -2
- package/es/components/ListItem/ListItem.js +1 -2
- package/es/components/Menu/Menu.js +4 -5
- package/es/components/Menu/MenuOption.js +2 -2
- package/es/components/Modal/Modal.js +3 -3
- package/es/components/ModalWrapper/ModalWrapper.js +2 -1
- package/es/components/ModalWrapper/index.js +2 -5
- package/es/components/MultiSelect/FilterableMultiSelect.js +8 -8
- package/es/components/MultiSelect/MultiSelect.js +6 -6
- package/es/components/Notification/Notification.js +5 -4
- package/es/components/NumberInput/NumberInput.js +3 -3
- package/es/components/OrderedList/OrderedList.js +1 -2
- package/es/components/OverflowMenu/OverflowMenu.js +12 -2
- package/es/components/OverflowMenuItem/OverflowMenuItem.js +3 -3
- package/es/components/OverflowMenuItem/index.js +2 -5
- package/es/components/OverflowMenuV2/index.js +2 -2
- package/es/components/Pagination/Pagination.js +10 -8
- package/es/components/Pagination/experimental/PageSelector.js +1 -0
- package/es/components/Pagination/experimental/Pagination.js +2 -0
- package/es/components/Pagination/index.js +1 -0
- package/es/components/PaginationNav/PaginationNav.js +2 -2
- package/es/components/PrimaryButton/PrimaryButton.js +2 -3
- package/es/components/ProgressIndicator/ProgressIndicator.js +5 -5
- package/es/components/RadioButton/RadioButton.js +2 -3
- package/es/components/RadioButtonGroup/RadioButtonGroup.js +15 -7
- package/es/components/RadioTile/RadioTile.js +2 -2
- package/es/components/Search/Search.Skeleton.js +1 -2
- package/es/components/Search/Search.js +5 -6
- package/es/components/Search/index.js +1 -0
- package/es/components/SecondaryButton/SecondaryButton.js +2 -3
- package/es/components/Select/Select.Skeleton.js +1 -2
- package/es/components/Select/Select.js +32 -6
- package/es/components/SelectItem/SelectItem.js +1 -2
- package/es/components/SelectItemGroup/SelectItemGroup.js +1 -2
- package/es/components/SkeletonIcon/SkeletonIcon.js +1 -2
- package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +1 -2
- package/es/components/SkeletonText/SkeletonText.js +1 -2
- package/es/components/Slider/Slider.Skeleton.js +1 -2
- package/es/components/Slider/Slider.js +21 -13
- package/es/components/Slider/index.js +2 -2
- package/es/components/StructuredList/StructuredList.Skeleton.js +1 -2
- package/es/components/Switch/Switch.js +1 -2
- package/es/components/Tab/Tab.js +1 -1
- package/es/components/Tab/index.js +4 -5
- package/es/components/TabContent/TabContent.js +1 -2
- package/es/components/Tabs/Tabs.js +4 -3
- package/es/components/Tabs/index.js +1 -0
- package/es/components/Tag/Tag.js +1 -2
- package/es/components/TextArea/TextArea.Skeleton.js +1 -2
- package/es/components/TextArea/TextArea.js +5 -17
- package/es/components/TextInput/ControlledPasswordInput.js +1 -2
- package/es/components/TextInput/PasswordInput.js +3 -3
- package/es/components/TextInput/TextInput.Skeleton.js +1 -2
- package/es/components/TextInput/TextInput.js +9 -4
- package/es/components/TextInput/index.js +1 -0
- package/es/components/Tile/Tile.js +2 -2
- package/es/components/TileGroup/TileGroup.js +1 -1
- package/es/components/TimePicker/TimePicker.js +148 -144
- package/es/components/TimePickerSelect/TimePickerSelect.js +1 -1
- package/es/components/TimePickerSelect/index.js +3 -4
- package/es/components/TimePickerSelect/next/TimePickerSelect.js +1 -2
- package/es/components/Toggle/Toggle.Skeleton.js +1 -1
- package/es/components/Toggle/Toggle.js +13 -3
- package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -1
- package/es/components/Toggletip/index.js +2 -2
- package/es/components/Tooltip/{next/DefinitionTooltip.js → DefinitionTooltip.js} +7 -7
- package/es/components/Tooltip/{next/Tooltip.js → Tooltip.js} +8 -8
- package/es/components/TreeView/TreeNode.js +2 -2
- package/es/components/TreeView/TreeView.js +2 -2
- package/es/components/UIShell/Content.js +1 -2
- package/es/components/UIShell/Header.js +2 -3
- package/es/components/UIShell/HeaderContainer.js +1 -2
- package/es/components/UIShell/HeaderGlobalAction.js +3 -3
- package/es/components/UIShell/HeaderMenu.js +4 -5
- package/es/components/UIShell/HeaderMenuButton.js +1 -1
- package/es/components/UIShell/HeaderMenuItem.js +2 -3
- package/es/components/UIShell/HeaderName.js +1 -1
- package/es/components/UIShell/HeaderNavigation.js +1 -1
- package/es/components/UIShell/HeaderPanel.js +2 -3
- package/es/components/UIShell/HeaderSideNavItems.js +1 -2
- package/es/components/UIShell/Link.js +1 -2
- package/es/components/UIShell/SideNav.js +2 -3
- package/es/components/UIShell/SideNavDetails.js +1 -2
- package/es/components/UIShell/SideNavHeader.js +1 -2
- package/es/components/UIShell/SideNavItems.js +1 -2
- package/es/components/UIShell/SideNavLink.js +2 -3
- package/es/components/UIShell/SideNavMenu.js +2 -2
- package/es/components/UIShell/SideNavMenuItem.js +1 -2
- package/es/components/UIShell/SideNavSwitcher.js +1 -2
- package/es/components/UIShell/Switcher.js +2 -3
- package/es/components/UIShell/SwitcherDivider.js +1 -2
- package/es/components/UIShell/SwitcherItem.js +2 -3
- package/es/components/UnorderedList/UnorderedList.js +1 -2
- package/es/index.js +88 -81
- package/es/internal/ClickListener.js +1 -1
- package/es/internal/FloatingMenu.js +2 -4
- package/es/internal/OptimizedResize.js +1 -3
- package/es/internal/Selection.js +1 -1
- package/es/internal/useAnnouncer.js +16 -0
- package/es/internal/useId.js +5 -2
- package/es/internal/useIdPrefix.js +15 -0
- package/es/internal/useIsomorphicEffect.js +1 -2
- package/es/internal/useSavedCallback.js +1 -1
- package/es/tools/mergeRefs.js +1 -3
- package/es/tools/wrapComponent.js +1 -3
- package/lib/components/Accordion/AccordionItem.js +2 -2
- package/lib/components/Accordion/index.js +4 -0
- package/lib/components/AccordionItem/index.js +2 -0
- package/lib/components/Breadcrumb/Breadcrumb.js +1 -2
- package/lib/components/Breadcrumb/BreadcrumbItem.js +1 -2
- package/lib/components/Button/Button.Skeleton.js +1 -2
- package/lib/components/Button/Button.js +1 -2
- package/lib/components/ButtonSet/ButtonSet.js +1 -2
- package/lib/components/Checkbox/Checkbox.d.ts +4 -0
- package/lib/components/Checkbox/Checkbox.js +29 -6
- package/lib/components/CodeSnippet/CodeSnippet.js +4 -3
- package/lib/components/ComboBox/ComboBox.js +6 -6
- package/lib/components/ComposedModal/ComposedModal.js +1 -2
- package/lib/components/ComposedModal/ModalFooter.js +1 -0
- package/lib/components/ContainedList/ContainedList.js +10 -3
- package/lib/components/ContentSwitcher/ContentSwitcher.js +2 -2
- package/lib/components/CopyButton/CopyButton.js +1 -2
- package/lib/components/DangerButton/DangerButton.js +2 -3
- package/lib/components/DataTable/DataTable.js +5 -5
- package/lib/components/DataTable/Table.js +1 -2
- package/lib/components/DataTable/TableActionList.js +1 -2
- package/lib/components/DataTable/TableBatchAction.js +2 -2
- package/lib/components/DataTable/TableBatchActions.js +2 -2
- package/lib/components/DataTable/TableBody.js +1 -2
- package/lib/components/DataTable/TableCell.js +1 -2
- package/lib/components/DataTable/TableContainer.js +1 -2
- package/lib/components/DataTable/TableExpandHeader.js +1 -2
- package/lib/components/DataTable/TableExpandRow.js +1 -2
- package/lib/components/DataTable/TableExpandedRow.js +1 -2
- package/lib/components/DataTable/TableHead.js +1 -2
- package/lib/components/DataTable/TableHeader.js +1 -2
- package/lib/components/DataTable/TableRow.js +1 -2
- package/lib/components/DataTable/TableSelectAll.js +1 -2
- package/lib/components/DataTable/TableSelectRow.js +1 -2
- package/lib/components/DataTable/TableToolbar.js +1 -2
- package/lib/components/DataTable/TableToolbarAction.js +3 -4
- package/lib/components/DataTable/TableToolbarContent.js +1 -2
- package/lib/components/DataTable/TableToolbarMenu.js +1 -2
- package/lib/components/DataTable/TableToolbarSearch.js +2 -2
- package/lib/components/DataTable/index.js +23 -24
- package/lib/components/DataTable/state/getDerivedStateFromProps.js +1 -3
- package/lib/components/DataTable/tools/denormalize.js +1 -3
- package/lib/components/DataTable/tools/instanceId.js +1 -3
- package/lib/components/DataTable/tools/normalize.js +1 -3
- package/lib/components/DataTableSkeleton/DataTableSkeleton.js +1 -2
- package/lib/components/DatePicker/DatePicker.Skeleton.js +1 -2
- package/lib/components/DatePicker/DatePicker.js +71 -31
- package/lib/components/DatePicker/plugins/fixEventsPlugin.js +1 -1
- package/lib/components/DatePickerInput/DatePickerInput.js +18 -11
- package/lib/components/Dropdown/Dropdown.Skeleton.js +2 -2
- package/lib/components/Dropdown/Dropdown.js +3 -3
- package/lib/components/ExpandableSearch/ExpandableSearch.js +1 -0
- package/lib/components/FileUploader/FileUploader.js +2 -2
- package/lib/components/FileUploader/FileUploaderButton.js +2 -2
- package/lib/components/FileUploader/FileUploaderDropContainer.js +2 -2
- package/lib/components/FileUploader/FileUploaderItem.js +2 -2
- package/lib/components/FluidComboBox/FluidComboBox.Skeleton.js +1 -2
- package/lib/components/FluidComboBox/FluidComboBox.js +1 -2
- package/lib/components/FluidDatePicker/FluidDatePicker.js +2 -2
- package/lib/components/FluidDatePickerInput/FluidDatePickerInput.js +1 -2
- package/lib/components/FluidDropdown/FluidDropdown.Skeleton.js +1 -2
- package/lib/components/FluidDropdown/FluidDropdown.js +2 -2
- package/lib/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +1 -2
- package/lib/components/FluidMultiSelect/FluidMultiSelect.js +1 -2
- package/lib/components/FluidSelect/FluidSelect.Skeleton.js +1 -2
- package/lib/components/FluidSelect/FluidSelect.js +2 -2
- package/lib/components/FluidTextArea/FluidTextArea.js +1 -0
- package/lib/components/FluidTextInput/FluidTextInput.js +1 -0
- package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +56 -0
- package/lib/components/FluidTimePicker/FluidTimePicker.js +120 -0
- package/lib/components/FluidTimePickerSelect/FluidTimePickerSelect.js +73 -0
- package/lib/components/Form/Form.js +1 -2
- package/lib/components/FormGroup/FormGroup.js +1 -2
- package/lib/components/Icon/Icon.Skeleton.js +1 -2
- package/lib/components/IconButton/index.js +3 -1
- package/lib/components/IdPrefix/index.js +38 -0
- package/lib/components/InlineCheckbox/InlineCheckbox.js +1 -2
- package/lib/components/Link/Link.js +1 -2
- package/lib/components/ListBox/ListBox.js +2 -2
- package/lib/components/ListBox/ListBoxMenu.js +1 -2
- package/lib/components/ListBox/ListBoxMenuIcon.js +1 -2
- package/lib/components/ListBox/ListBoxMenuItem.js +1 -2
- package/lib/components/ListBox/ListBoxSelection.js +2 -2
- package/lib/components/ListBox/index.js +1 -0
- package/lib/components/ListBox/next/ListBoxSelection.js +2 -2
- package/lib/components/ListBox/next/ListBoxTrigger.js +1 -2
- package/lib/components/ListItem/ListItem.js +1 -2
- package/lib/components/Menu/Menu.js +3 -4
- package/lib/components/Menu/MenuOption.js +2 -2
- package/lib/components/Modal/Modal.js +2 -2
- package/lib/components/ModalWrapper/ModalWrapper.js +1 -0
- package/lib/components/ModalWrapper/index.js +3 -3
- package/lib/components/MultiSelect/FilterableMultiSelect.js +7 -7
- package/lib/components/MultiSelect/MultiSelect.js +5 -5
- package/lib/components/Notification/Notification.js +3 -2
- package/lib/components/NumberInput/NumberInput.js +3 -3
- package/lib/components/OrderedList/OrderedList.js +1 -2
- package/lib/components/OverflowMenu/OverflowMenu.js +12 -2
- package/lib/components/OverflowMenuItem/OverflowMenuItem.js +2 -2
- package/lib/components/OverflowMenuItem/index.js +3 -3
- package/lib/components/OverflowMenuV2/index.js +2 -2
- package/lib/components/Pagination/Pagination.js +9 -7
- package/lib/components/Pagination/experimental/PageSelector.js +1 -0
- package/lib/components/Pagination/experimental/Pagination.js +2 -0
- package/lib/components/Pagination/index.js +1 -0
- package/lib/components/PaginationNav/PaginationNav.js +2 -2
- package/lib/components/PrimaryButton/PrimaryButton.js +2 -3
- package/lib/components/ProgressIndicator/ProgressIndicator.js +5 -5
- package/lib/components/RadioButton/RadioButton.js +2 -3
- package/lib/components/RadioButtonGroup/RadioButtonGroup.js +15 -7
- package/lib/components/RadioTile/RadioTile.js +2 -2
- package/lib/components/Search/Search.Skeleton.js +1 -2
- package/lib/components/Search/Search.js +3 -4
- package/lib/components/Search/index.js +2 -0
- package/lib/components/SecondaryButton/SecondaryButton.js +2 -3
- package/lib/components/Select/Select.Skeleton.js +1 -2
- package/lib/components/Select/Select.js +32 -6
- package/lib/components/SelectItem/SelectItem.js +1 -2
- package/lib/components/SelectItemGroup/SelectItemGroup.js +1 -2
- package/lib/components/SkeletonIcon/SkeletonIcon.js +1 -2
- package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +1 -2
- package/lib/components/SkeletonText/SkeletonText.js +1 -2
- package/lib/components/Slider/Slider.Skeleton.js +1 -2
- package/lib/components/Slider/Slider.js +20 -12
- package/lib/components/Slider/index.js +3 -22
- package/lib/components/StructuredList/StructuredList.Skeleton.js +1 -2
- package/lib/components/Switch/Switch.js +1 -2
- package/lib/components/Tab/index.js +3 -4
- package/lib/components/TabContent/TabContent.js +1 -2
- package/lib/components/Tabs/Tabs.js +4 -3
- package/lib/components/Tabs/index.js +2 -0
- package/lib/components/Tag/Tag.js +1 -2
- package/lib/components/TextArea/TextArea.Skeleton.js +1 -2
- package/lib/components/TextArea/TextArea.js +4 -16
- package/lib/components/TextInput/ControlledPasswordInput.js +1 -2
- package/lib/components/TextInput/PasswordInput.js +3 -3
- package/lib/components/TextInput/TextInput.Skeleton.js +1 -2
- package/lib/components/TextInput/TextInput.js +9 -4
- package/lib/components/TextInput/index.js +2 -0
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/TimePicker/TimePicker.js +144 -140
- package/lib/components/TimePickerSelect/index.js +4 -5
- package/lib/components/TimePickerSelect/next/TimePickerSelect.js +1 -2
- package/lib/components/Toggle/Toggle.js +13 -3
- package/lib/components/Toggletip/index.js +2 -2
- package/lib/components/Tooltip/{next/DefinitionTooltip.js → DefinitionTooltip.js} +7 -7
- package/lib/components/Tooltip/{next/Tooltip.js → Tooltip.js} +8 -8
- package/lib/components/TreeView/TreeNode.js +2 -2
- package/lib/components/TreeView/TreeView.js +2 -2
- package/lib/components/UIShell/Content.js +1 -2
- package/lib/components/UIShell/Header.js +1 -2
- package/lib/components/UIShell/HeaderContainer.js +1 -2
- package/lib/components/UIShell/HeaderGlobalAction.js +2 -2
- package/lib/components/UIShell/HeaderMenu.js +3 -4
- package/lib/components/UIShell/HeaderMenuItem.js +1 -2
- package/lib/components/UIShell/HeaderPanel.js +1 -2
- package/lib/components/UIShell/HeaderSideNavItems.js +1 -2
- package/lib/components/UIShell/Link.js +1 -2
- package/lib/components/UIShell/SideNav.js +1 -2
- package/lib/components/UIShell/SideNavDetails.js +1 -2
- package/lib/components/UIShell/SideNavHeader.js +1 -2
- package/lib/components/UIShell/SideNavItems.js +1 -2
- package/lib/components/UIShell/SideNavLink.js +1 -2
- package/lib/components/UIShell/SideNavMenu.js +2 -2
- package/lib/components/UIShell/SideNavMenuItem.js +1 -2
- package/lib/components/UIShell/SideNavSwitcher.js +1 -2
- package/lib/components/UIShell/Switcher.js +1 -2
- package/lib/components/UIShell/SwitcherDivider.js +1 -2
- package/lib/components/UIShell/SwitcherItem.js +1 -2
- package/lib/components/UnorderedList/UnorderedList.js +1 -2
- package/lib/index.js +212 -200
- package/lib/internal/FloatingMenu.js +1 -3
- package/lib/internal/OptimizedResize.js +1 -3
- package/lib/internal/useAnnouncer.js +20 -0
- package/lib/internal/useId.js +5 -2
- package/lib/internal/useIdPrefix.js +24 -0
- package/lib/internal/useIsomorphicEffect.js +1 -2
- package/lib/tools/mergeRefs.js +1 -3
- package/lib/tools/wrapComponent.js +1 -3
- package/package.json +10 -10
- package/scss/components/fluid-time-picker/_fluid-time-picker.scss +9 -0
- package/scss/components/fluid-time-picker/_index.scss +9 -0
- package/es/components/TimePicker/index.js +0 -15
- package/es/components/TimePicker/next/TimePicker.js +0 -218
- package/lib/components/TimePicker/index.js +0 -39
- package/lib/components/TimePicker/next/TimePicker.js +0 -228
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import cx from 'classnames';
|
|
@@ -68,6 +68,5 @@ HeaderMenuItem.propTypes = _objectSpread2(_objectSpread2({}, LinkPropTypes), {},
|
|
|
68
68
|
*/
|
|
69
69
|
tabIndex: PropTypes.number
|
|
70
70
|
});
|
|
71
|
-
var HeaderMenuItem$1 = HeaderMenuItem;
|
|
72
71
|
|
|
73
|
-
export { HeaderMenuItem
|
|
72
|
+
export { HeaderMenuItem as default };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -47,6 +47,5 @@ HeaderPanel.propTypes = _objectSpread2(_objectSpread2({}, AriaLabelPropType), {}
|
|
|
47
47
|
expanded: PropTypes.bool
|
|
48
48
|
});
|
|
49
49
|
HeaderPanel.displayName = 'HeaderPanel';
|
|
50
|
-
var HeaderPanel$1 = HeaderPanel;
|
|
51
50
|
|
|
52
|
-
export { HeaderPanel
|
|
51
|
+
export { HeaderPanel as default };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty,
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default, { useRef, useState } from 'react';
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -218,6 +218,5 @@ SideNav.propTypes = _objectSpread2(_objectSpread2({}, AriaLabelPropType), {}, {
|
|
|
218
218
|
// translateById: PropTypes.func,
|
|
219
219
|
|
|
220
220
|
});
|
|
221
|
-
var SideNav$1 = SideNav;
|
|
222
221
|
|
|
223
|
-
export { SideNav
|
|
222
|
+
export { SideNav as default };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import React__default from 'react';
|
|
@@ -60,6 +60,5 @@ SideNavLink.propTypes = _objectSpread2(_objectSpread2({}, LinkPropTypes), {}, {
|
|
|
60
60
|
*/
|
|
61
61
|
renderIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
62
62
|
}); // eslint-disable-next-line react/display-name
|
|
63
|
-
var SideNavLink$1 = SideNavLink;
|
|
64
63
|
|
|
65
|
-
export { SideNavLink
|
|
64
|
+
export { SideNavLink as default };
|
|
@@ -11,9 +11,9 @@ import cx from 'classnames';
|
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
12
12
|
import React__default, { useState } from 'react';
|
|
13
13
|
import SideNavIcon from './SideNavIcon.js';
|
|
14
|
-
import { usePrefix } from '../../internal/usePrefix.js';
|
|
15
|
-
import { match } from '../../internal/keyboard/match.js';
|
|
16
14
|
import { Escape } from '../../internal/keyboard/keys.js';
|
|
15
|
+
import { match } from '../../internal/keyboard/match.js';
|
|
16
|
+
import { usePrefix } from '../../internal/usePrefix.js';
|
|
17
17
|
|
|
18
18
|
var _ChevronDown;
|
|
19
19
|
var SideNavMenu = /*#__PURE__*/React__default.forwardRef(function SideNavMenu(props, ref) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { objectSpread2 as _objectSpread2, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -40,6 +40,5 @@ Switcher.propTypes = _objectSpread2(_objectSpread2({}, AriaLabelPropType), {}, {
|
|
|
40
40
|
*/
|
|
41
41
|
className: PropTypes.string
|
|
42
42
|
});
|
|
43
|
-
var Switcher$1 = Switcher;
|
|
44
43
|
|
|
45
|
-
export { Switcher
|
|
44
|
+
export { Switcher as default };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends
|
|
8
|
+
import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import cx from 'classnames';
|
|
11
11
|
import PropTypes from 'prop-types';
|
|
@@ -57,6 +57,5 @@ SwitcherItem.propTypes = _objectSpread2(_objectSpread2({}, AriaLabelPropType), {
|
|
|
57
57
|
*/
|
|
58
58
|
tabIndex: PropTypes.number
|
|
59
59
|
});
|
|
60
|
-
var SwitcherItem$1 = SwitcherItem;
|
|
61
60
|
|
|
62
|
-
export { SwitcherItem
|
|
61
|
+
export { SwitcherItem as default };
|
package/es/index.js
CHANGED
|
@@ -9,6 +9,10 @@ import './feature-flags.js';
|
|
|
9
9
|
export { default as Accordion } from './components/Accordion/Accordion.js';
|
|
10
10
|
export { default as AccordionItem } from './components/Accordion/AccordionItem.js';
|
|
11
11
|
export { default as AccordionSkeleton } from './components/Accordion/Accordion.Skeleton.js';
|
|
12
|
+
export { default as AspectRatio } from './components/AspectRatio/AspectRatio.js';
|
|
13
|
+
export { default as Breadcrumb } from './components/Breadcrumb/Breadcrumb.js';
|
|
14
|
+
export { default as BreadcrumbItem } from './components/Breadcrumb/BreadcrumbItem.js';
|
|
15
|
+
export { default as BreadcrumbSkeleton } from './components/Breadcrumb/Breadcrumb.Skeleton.js';
|
|
12
16
|
export { default as ButtonSkeleton } from './components/Button/Button.Skeleton.js';
|
|
13
17
|
export { default as Button } from './components/Button/Button.js';
|
|
14
18
|
export { default as ButtonSet } from './components/ButtonSet/ButtonSet.js';
|
|
@@ -18,42 +22,61 @@ export { ClassPrefix } from './components/ClassPrefix/index.js';
|
|
|
18
22
|
export { default as CodeSnippetSkeleton } from './components/CodeSnippet/CodeSnippet.Skeleton.js';
|
|
19
23
|
export { default as CodeSnippet } from './components/CodeSnippet/CodeSnippet.js';
|
|
20
24
|
export { default as ComboBox } from './components/ComboBox/ComboBox.js';
|
|
25
|
+
export { default as ComposedModal, ModalBody } from './components/ComposedModal/ComposedModal.js';
|
|
26
|
+
export { ModalFooter } from './components/ComposedModal/ModalFooter.js';
|
|
27
|
+
export { ModalHeader } from './components/ComposedModal/ModalHeader.js';
|
|
21
28
|
import './components/ContainedList/index.js';
|
|
22
29
|
export { default as ContentSwitcher } from './components/ContentSwitcher/index.js';
|
|
23
30
|
export { default as Copy } from './components/Copy/Copy.js';
|
|
24
31
|
export { default as CopyButton } from './components/CopyButton/CopyButton.js';
|
|
25
32
|
export { default as DangerButton } from './components/DangerButton/DangerButton.js';
|
|
26
|
-
|
|
33
|
+
import './components/DataTable/index.js';
|
|
27
34
|
export { default as DatePickerSkeleton } from './components/DatePicker/DatePicker.Skeleton.js';
|
|
28
35
|
export { default as DatePicker } from './components/DatePicker/DatePicker.js';
|
|
29
36
|
export { default as DatePickerInput } from './components/DatePickerInput/DatePickerInput.js';
|
|
30
37
|
export { default as DropdownSkeleton } from './components/Dropdown/Dropdown.Skeleton.js';
|
|
31
38
|
export { default as Dropdown } from './components/Dropdown/Dropdown.js';
|
|
39
|
+
export { default as ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary.js';
|
|
40
|
+
export { ErrorBoundaryContext } from './components/ErrorBoundary/ErrorBoundaryContext.js';
|
|
32
41
|
export { default as FileUploader } from './components/FileUploader/FileUploader.js';
|
|
33
42
|
export { default as Filename } from './components/FileUploader/Filename.js';
|
|
34
43
|
export { default as FileUploaderSkeleton } from './components/FileUploader/FileUploader.Skeleton.js';
|
|
35
44
|
export { default as FileUploaderButton } from './components/FileUploader/FileUploaderButton.js';
|
|
36
45
|
export { default as FileUploaderDropContainer } from './components/FileUploader/FileUploaderDropContainer.js';
|
|
37
46
|
export { default as FileUploaderItem } from './components/FileUploader/FileUploaderItem.js';
|
|
47
|
+
import './components/MultiSelect/index.js';
|
|
38
48
|
export { default as Form } from './components/Form/Form.js';
|
|
39
49
|
export { default as FluidForm } from './components/FluidForm/FluidForm.js';
|
|
50
|
+
import 'react';
|
|
40
51
|
export { default as FormGroup } from './components/FormGroup/FormGroup.js';
|
|
41
52
|
export { default as FormItem } from './components/FormItem/FormItem.js';
|
|
42
53
|
export { default as FormLabel } from './components/FormLabel/FormLabel.js';
|
|
54
|
+
export { FlexGrid } from './components/Grid/FlexGrid.js';
|
|
55
|
+
export { Grid } from './components/Grid/Grid.js';
|
|
56
|
+
export { default as Row } from './components/Grid/Row.js';
|
|
57
|
+
export { default as Column } from './components/Grid/Column.js';
|
|
58
|
+
export { ColumnHang } from './components/Grid/ColumnHang.js';
|
|
59
|
+
export { IdPrefix } from './components/IdPrefix/index.js';
|
|
43
60
|
export { default as InlineLoading } from './components/InlineLoading/InlineLoading.js';
|
|
44
61
|
export { default as Link } from './components/Link/Link.js';
|
|
45
62
|
export { default as ListItem } from './components/ListItem/ListItem.js';
|
|
46
63
|
export { default as Loading } from './components/Loading/Loading.js';
|
|
47
64
|
export { default as Modal } from './components/Modal/Modal.js';
|
|
48
|
-
export { default as ModalWrapper } from './components/ModalWrapper/
|
|
49
|
-
|
|
65
|
+
export { default as ModalWrapper } from './components/ModalWrapper/ModalWrapper.js';
|
|
66
|
+
export { ActionableNotification, InlineNotification, NotificationActionButton, NotificationButton, ToastNotification } from './components/Notification/Notification.js';
|
|
67
|
+
export { default as NumberInputSkeleton } from './components/NumberInput/NumberInput.Skeleton.js';
|
|
68
|
+
export { NumberInput } from './components/NumberInput/NumberInput.js';
|
|
50
69
|
export { default as OrderedList } from './components/OrderedList/OrderedList.js';
|
|
51
70
|
export { default as OverflowMenu } from './components/OverflowMenu/index.js';
|
|
52
|
-
export { default as OverflowMenuItem } from './components/OverflowMenuItem/
|
|
71
|
+
export { default as OverflowMenuItem } from './components/OverflowMenuItem/OverflowMenuItem.js';
|
|
53
72
|
export { default as Pagination } from './components/Pagination/Pagination.js';
|
|
54
73
|
export { default as PaginationSkeleton } from './components/Pagination/Pagination.Skeleton.js';
|
|
55
74
|
export { default as PaginationNav } from './components/PaginationNav/PaginationNav.js';
|
|
75
|
+
export { default as ControlledPasswordInput } from './components/TextInput/ControlledPasswordInput.js';
|
|
76
|
+
export { default as PasswordInput } from './components/TextInput/PasswordInput.js';
|
|
56
77
|
export { default as PrimaryButton } from './components/PrimaryButton/PrimaryButton.js';
|
|
78
|
+
export { default as ProgressIndicatorSkeleton } from './components/ProgressIndicator/ProgressIndicator.Skeleton.js';
|
|
79
|
+
export { ProgressIndicator, ProgressStep } from './components/ProgressIndicator/ProgressIndicator.js';
|
|
57
80
|
export { default as RadioButton } from './components/RadioButton/RadioButton.js';
|
|
58
81
|
export { default as RadioButtonGroup } from './components/RadioButtonGroup/RadioButtonGroup.js';
|
|
59
82
|
export { default as Search } from './components/Search/Search.js';
|
|
@@ -66,6 +89,8 @@ export { default as SelectItem } from './components/SelectItem/SelectItem.js';
|
|
|
66
89
|
export { default as SelectItemGroup } from './components/SelectItemGroup/SelectItemGroup.js';
|
|
67
90
|
export { default as Switch } from './components/Switch/Switch.js';
|
|
68
91
|
export { default as Slider } from './components/Slider/index.js';
|
|
92
|
+
export { StructuredListBody, StructuredListCell, StructuredListHead, StructuredListInput, StructuredListRow, StructuredListWrapper } from './components/StructuredList/StructuredList.js';
|
|
93
|
+
export { default as StructuredListSkeleton } from './components/StructuredList/StructuredList.Skeleton.js';
|
|
69
94
|
export { default as Tab } from './components/Tab/index.js';
|
|
70
95
|
export { default as TabContent } from './components/TabContent/TabContent.js';
|
|
71
96
|
export { IconTab, TabList, TabPanel, TabPanels, Tabs } from './components/Tabs/Tabs.js';
|
|
@@ -75,9 +100,10 @@ export { default as Tag } from './components/Tag/Tag.js';
|
|
|
75
100
|
export { default as TextAreaSkeleton } from './components/TextArea/TextArea.Skeleton.js';
|
|
76
101
|
export { default as TextArea } from './components/TextArea/TextArea.js';
|
|
77
102
|
import './components/TextInput/index.js';
|
|
103
|
+
export { ClickableTile, ExpandableTile, SelectableTile, Tile, TileAboveTheFoldContent, TileBelowTheFoldContent } from './components/Tile/Tile.js';
|
|
78
104
|
export { default as RadioTile } from './components/RadioTile/RadioTile.js';
|
|
79
105
|
export { default as TileGroup } from './components/TileGroup/index.js';
|
|
80
|
-
export { default as TimePicker } from './components/TimePicker/
|
|
106
|
+
export { default as TimePicker } from './components/TimePicker/TimePicker.js';
|
|
81
107
|
export { default as TimePickerSelect } from './components/TimePickerSelect/index.js';
|
|
82
108
|
export { default as ToggleSkeleton } from './components/Toggle/Toggle.Skeleton.js';
|
|
83
109
|
export { Toggle } from './components/Toggle/Toggle.js';
|
|
@@ -88,64 +114,92 @@ export { default as SkeletonText } from './components/SkeletonText/SkeletonText.
|
|
|
88
114
|
export { default as SkeletonPlaceholder } from './components/SkeletonPlaceholder/SkeletonPlaceholder.js';
|
|
89
115
|
export { default as SkeletonIcon } from './components/SkeletonIcon/SkeletonIcon.js';
|
|
90
116
|
export { default as DataTableSkeleton } from './components/DataTableSkeleton/DataTableSkeleton.js';
|
|
91
|
-
export { default as BreadcrumbSkeleton } from './components/Breadcrumb/Breadcrumb.Skeleton.js';
|
|
92
|
-
export { default as ProgressIndicatorSkeleton } from './components/ProgressIndicator/ProgressIndicator.Skeleton.js';
|
|
93
117
|
export { default as RadioButtonSkeleton } from './components/RadioButton/RadioButton.Skeleton.js';
|
|
94
118
|
export { default as SliderSkeleton } from './components/Slider/Slider.Skeleton.js';
|
|
95
119
|
export { default as TextInputSkeleton } from './components/TextInput/TextInput.Skeleton.js';
|
|
96
120
|
export { default as ToggleSmallSkeleton } from './components/ToggleSmall/ToggleSmall.Skeleton.js';
|
|
97
121
|
export { default as IconSkeleton } from './components/Icon/Icon.Skeleton.js';
|
|
98
|
-
export {
|
|
99
|
-
export {
|
|
100
|
-
export {
|
|
101
|
-
export {
|
|
102
|
-
|
|
103
|
-
export {
|
|
104
|
-
export { Popover, PopoverContent } from './components/Popover/index.js';
|
|
105
|
-
export { HStack, VStack } from './components/Stack/index.js';
|
|
106
|
-
import './components/Text/index.js';
|
|
107
|
-
export { DefinitionTooltip } from './components/Tooltip/next/DefinitionTooltip.js';
|
|
108
|
-
export { GlobalTheme, Theme, useTheme } from './components/Theme/index.js';
|
|
109
|
-
export { usePrefix } from './internal/usePrefix.js';
|
|
110
|
-
export { default as AspectRatio } from './components/AspectRatio/AspectRatio.js';
|
|
111
|
-
export { default as ContainedListItem } from './components/ContainedList/ContainedListItem/ContainedListItem.js';
|
|
112
|
-
export { default as Row } from './components/Grid/Row.js';
|
|
113
|
-
export { default as Column } from './components/Grid/Column.js';
|
|
114
|
-
export { default as NumberInputSkeleton } from './components/NumberInput/NumberInput.Skeleton.js';
|
|
115
|
-
export { default as TreeNode } from './components/TreeView/TreeNode.js';
|
|
122
|
+
export { default as Content } from './components/UIShell/Content.js';
|
|
123
|
+
export { default as Header } from './components/UIShell/Header.js';
|
|
124
|
+
export { default as HeaderContainer } from './components/UIShell/HeaderContainer.js';
|
|
125
|
+
export { default as HeaderGlobalAction } from './components/UIShell/HeaderGlobalAction.js';
|
|
126
|
+
export { default as HeaderGlobalBar } from './components/UIShell/HeaderGlobalBar.js';
|
|
127
|
+
export { default as HeaderMenu } from './components/UIShell/HeaderMenu.js';
|
|
116
128
|
export { default as HeaderMenuButton } from './components/UIShell/HeaderMenuButton.js';
|
|
129
|
+
export { default as HeaderMenuItem } from './components/UIShell/HeaderMenuItem.js';
|
|
117
130
|
export { default as HeaderName } from './components/UIShell/HeaderName.js';
|
|
131
|
+
export { HeaderNavigation } from './components/UIShell/HeaderNavigation.js';
|
|
132
|
+
export { default as HeaderPanel } from './components/UIShell/HeaderPanel.js';
|
|
133
|
+
export { default as HeaderSideNavItems } from './components/UIShell/HeaderSideNavItems.js';
|
|
134
|
+
export { default as Switcher } from './components/UIShell/Switcher.js';
|
|
135
|
+
export { default as SwitcherItem } from './components/UIShell/SwitcherItem.js';
|
|
136
|
+
export { default as SwitcherDivider } from './components/UIShell/SwitcherDivider.js';
|
|
118
137
|
export { default as SkipToContent } from './components/UIShell/SkipToContent.js';
|
|
138
|
+
export { default as SideNav } from './components/UIShell/SideNav.js';
|
|
139
|
+
export { default as SideNavDetails } from './components/UIShell/SideNavDetails.js';
|
|
119
140
|
export { default as SideNavDivider } from './components/UIShell/SideNavDivider.js';
|
|
120
141
|
export { default as SideNavFooter } from './components/UIShell/SideNavFooter.js';
|
|
142
|
+
export { default as SideNavHeader } from './components/UIShell/SideNavHeader.js';
|
|
121
143
|
export { default as SideNavIcon } from './components/UIShell/SideNavIcon.js';
|
|
122
144
|
export { default as SideNavItem } from './components/UIShell/SideNavItem.js';
|
|
145
|
+
export { default as SideNavItems } from './components/UIShell/SideNavItems.js';
|
|
146
|
+
export { default as SideNavLink } from './components/UIShell/SideNavLink.js';
|
|
123
147
|
export { default as SideNavLinkText } from './components/UIShell/SideNavLinkText.js';
|
|
148
|
+
export { SideNavMenu } from './components/UIShell/SideNavMenu.js';
|
|
149
|
+
export { default as SideNavMenuItem } from './components/UIShell/SideNavMenuItem.js';
|
|
150
|
+
export { default as SideNavSwitcher } from './components/UIShell/SideNavSwitcher.js';
|
|
124
151
|
export { default as unstable_useContextMenu } from './components/ContextMenu/useContextMenu.js';
|
|
152
|
+
export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags } from './components/FeatureFlags/index.js';
|
|
153
|
+
export { default as unstable__FluidComboBox } from './components/FluidComboBox/FluidComboBox.js';
|
|
154
|
+
export { default as unstable__FluidComboBoxSkeleton } from './components/FluidComboBox/FluidComboBox.Skeleton.js';
|
|
155
|
+
export { default as unstable__FluidDatePicker } from './components/FluidDatePicker/FluidDatePicker.js';
|
|
125
156
|
export { default as unstable__FluidDatePickerSkeleton } from './components/FluidDatePicker/FluidDatePicker.Skeleton.js';
|
|
157
|
+
export { default as unstable__FluidDatePickerInput } from './components/FluidDatePickerInput/FluidDatePickerInput.js';
|
|
158
|
+
export { default as unstable__FluidDropdown } from './components/FluidDropdown/FluidDropdown.js';
|
|
159
|
+
export { default as unstable__FluidDropdownSkeleton } from './components/FluidDropdown/FluidDropdown.Skeleton.js';
|
|
160
|
+
export { default as unstable__FluidMultiSelect } from './components/FluidMultiSelect/FluidMultiSelect.js';
|
|
161
|
+
export { default as unstable__FluidMultiSelectSkeleton } from './components/FluidMultiSelect/FluidMultiSelect.Skeleton.js';
|
|
162
|
+
export { default as unstable__FluidSelect } from './components/FluidSelect/FluidSelect.js';
|
|
163
|
+
export { default as unstable__FluidSelectSkeleton } from './components/FluidSelect/FluidSelect.Skeleton.js';
|
|
126
164
|
export { default as unstable__FluidTextArea } from './components/FluidTextArea/FluidTextArea.js';
|
|
127
165
|
export { default as unstable__FluidTextAreaSkeleton } from './components/FluidTextArea/FluidTextArea.Skeleton.js';
|
|
128
166
|
export { default as unstable__FluidTextInput } from './components/FluidTextInput/FluidTextInput.js';
|
|
129
167
|
export { default as unstable__FluidTextInputSkeleton } from './components/FluidTextInput/FluidTextInput.Skeleton.js';
|
|
168
|
+
export { default as unstable__FluidTimePicker } from './components/FluidTimePicker/FluidTimePicker.js';
|
|
169
|
+
export { default as unstable__FluidTimePickerSkeleton } from './components/FluidTimePicker/FluidTimePicker.Skeleton.js';
|
|
170
|
+
export { default as unstable__FluidTimePickerSelect } from './components/FluidTimePickerSelect/FluidTimePickerSelect.js';
|
|
171
|
+
export { Heading, Section } from './components/Heading/index.js';
|
|
172
|
+
export { IconButton } from './components/IconButton/index.js';
|
|
173
|
+
export { Layer, useLayer } from './components/Layer/index.js';
|
|
174
|
+
export { LayoutDirection as unstable_LayoutDirection } from './components/Layout/LayoutDirection.js';
|
|
175
|
+
export { useLayoutDirection as unstable_useLayoutDirection } from './components/Layout/useLayoutDirection.js';
|
|
176
|
+
import './components/Menu/index.js';
|
|
177
|
+
export { OverflowMenuV2 as unstable_OverflowMenuV2 } from './components/OverflowMenuV2/index.js';
|
|
178
|
+
export { default as unstable_Pagination } from './components/Pagination/experimental/Pagination.js';
|
|
179
|
+
export { default as unstable_PageSelector } from './components/Pagination/experimental/PageSelector.js';
|
|
180
|
+
export { Popover, PopoverContent } from './components/Popover/index.js';
|
|
181
|
+
export { default as ProgressBar } from './components/ProgressBar/ProgressBar.js';
|
|
182
|
+
export { HStack, VStack } from './components/Stack/index.js';
|
|
183
|
+
export { DefinitionTooltip } from './components/Tooltip/DefinitionTooltip.js';
|
|
184
|
+
export { Tooltip } from './components/Tooltip/Tooltip.js';
|
|
185
|
+
import './components/Text/index.js';
|
|
186
|
+
export { GlobalTheme, Theme, useTheme } from './components/Theme/index.js';
|
|
187
|
+
export { usePrefix } from './internal/usePrefix.js';
|
|
188
|
+
export { useIdPrefix } from './internal/useIdPrefix.js';
|
|
189
|
+
export { default as ContainedListItem } from './components/ContainedList/ContainedListItem/ContainedListItem.js';
|
|
190
|
+
export { default as DataTable } from './components/DataTable/DataTable.js';
|
|
191
|
+
export { default as TreeNode } from './components/TreeView/TreeNode.js';
|
|
130
192
|
export { default as unstable_MenuDivider } from './components/Menu/MenuDivider.js';
|
|
131
193
|
export { default as unstable_MenuGroup } from './components/Menu/MenuGroup.js';
|
|
132
194
|
export { default as unstable_MenuItem } from './components/Menu/MenuItem.js';
|
|
133
195
|
export { default as unstable_MenuRadioGroup } from './components/Menu/MenuRadioGroup.js';
|
|
134
196
|
export { default as unstable_MenuSelectableItem } from './components/Menu/MenuSelectableItem.js';
|
|
135
|
-
export { default as unstable_PageSelector } from './components/Pagination/experimental/PageSelector.js';
|
|
136
|
-
export { default as unstable_Pagination } from './components/Pagination/experimental/Pagination.js';
|
|
137
|
-
export { default as ProgressBar } from './components/ProgressBar/ProgressBar.js';
|
|
138
197
|
export { default as ContainedList } from './components/ContainedList/ContainedList.js';
|
|
139
198
|
export { default as MultiSelect } from './components/MultiSelect/MultiSelect.js';
|
|
140
199
|
export { default as TextInput } from './components/TextInput/TextInput.js';
|
|
141
200
|
export { default as TreeView } from './components/TreeView/TreeView.js';
|
|
142
201
|
export { default as unstable_Menu } from './components/Menu/Menu.js';
|
|
143
|
-
export {
|
|
144
|
-
export { default as BreadcrumbItem } from './components/Breadcrumb/BreadcrumbItem.js';
|
|
145
|
-
export { default as ComposedModal, ModalBody } from './components/ComposedModal/ComposedModal.js';
|
|
146
|
-
export { ModalHeader } from './components/ComposedModal/ModalHeader.js';
|
|
147
|
-
export { ModalFooter } from './components/ComposedModal/ModalFooter.js';
|
|
148
|
-
export { default as Table } from './components/DataTable/Table.js';
|
|
202
|
+
export { Table } from './components/DataTable/Table.js';
|
|
149
203
|
export { default as TableActionList } from './components/DataTable/TableActionList.js';
|
|
150
204
|
export { default as TableBatchAction } from './components/DataTable/TableBatchAction.js';
|
|
151
205
|
export { default as TableBatchActions } from './components/DataTable/TableBatchActions.js';
|
|
@@ -165,54 +219,7 @@ export { default as TableToolbarAction } from './components/DataTable/TableToolb
|
|
|
165
219
|
export { default as TableToolbarContent } from './components/DataTable/TableToolbarContent.js';
|
|
166
220
|
export { default as TableToolbarSearch } from './components/DataTable/TableToolbarSearch.js';
|
|
167
221
|
export { default as TableToolbarMenu } from './components/DataTable/TableToolbarMenu.js';
|
|
168
|
-
export { default as ErrorBoundary } from './components/ErrorBoundary/ErrorBoundary.js';
|
|
169
|
-
export { ErrorBoundaryContext } from './components/ErrorBoundary/ErrorBoundaryContext.js';
|
|
170
222
|
export { default as FilterableMultiSelect } from './components/MultiSelect/FilterableMultiSelect.js';
|
|
171
|
-
export { Grid } from './components/Grid/Grid.js';
|
|
172
|
-
export { ColumnHang } from './components/Grid/ColumnHang.js';
|
|
173
|
-
export { FlexGrid } from './components/Grid/FlexGrid.js';
|
|
174
|
-
export { ActionableNotification, InlineNotification, NotificationActionButton, NotificationButton, ToastNotification } from './components/Notification/Notification.js';
|
|
175
|
-
export { NumberInput } from './components/NumberInput/NumberInput.js';
|
|
176
|
-
export { default as ControlledPasswordInput } from './components/TextInput/ControlledPasswordInput.js';
|
|
177
|
-
export { default as PasswordInput } from './components/TextInput/PasswordInput.js';
|
|
178
|
-
export { ProgressIndicator, ProgressStep } from './components/ProgressIndicator/ProgressIndicator.js';
|
|
179
|
-
export { StructuredListBody, StructuredListCell, StructuredListHead, StructuredListInput, StructuredListRow, StructuredListWrapper } from './components/StructuredList/StructuredList.js';
|
|
180
|
-
export { default as StructuredListSkeleton } from './components/StructuredList/StructuredList.Skeleton.js';
|
|
181
|
-
export { ClickableTile, ExpandableTile, SelectableTile, Tile, TileAboveTheFoldContent, TileBelowTheFoldContent } from './components/Tile/Tile.js';
|
|
182
|
-
export { default as Content } from './components/UIShell/Content.js';
|
|
183
|
-
export { default as Header } from './components/UIShell/Header.js';
|
|
184
|
-
export { default as HeaderContainer } from './components/UIShell/HeaderContainer.js';
|
|
185
|
-
export { default as HeaderGlobalAction } from './components/UIShell/HeaderGlobalAction.js';
|
|
186
|
-
export { default as HeaderGlobalBar } from './components/UIShell/HeaderGlobalBar.js';
|
|
187
|
-
export { default as HeaderMenu } from './components/UIShell/HeaderMenu.js';
|
|
188
|
-
export { default as HeaderMenuItem } from './components/UIShell/HeaderMenuItem.js';
|
|
189
|
-
export { HeaderNavigation } from './components/UIShell/HeaderNavigation.js';
|
|
190
|
-
export { default as HeaderPanel } from './components/UIShell/HeaderPanel.js';
|
|
191
|
-
export { default as HeaderSideNavItems } from './components/UIShell/HeaderSideNavItems.js';
|
|
192
|
-
export { default as Switcher } from './components/UIShell/Switcher.js';
|
|
193
|
-
export { default as SwitcherItem } from './components/UIShell/SwitcherItem.js';
|
|
194
|
-
export { default as SwitcherDivider } from './components/UIShell/SwitcherDivider.js';
|
|
195
|
-
export { default as SideNav } from './components/UIShell/SideNav.js';
|
|
196
|
-
export { default as SideNavDetails } from './components/UIShell/SideNavDetails.js';
|
|
197
|
-
export { default as SideNavHeader } from './components/UIShell/SideNavHeader.js';
|
|
198
|
-
export { default as SideNavItems } from './components/UIShell/SideNavItems.js';
|
|
199
|
-
export { default as SideNavLink } from './components/UIShell/SideNavLink.js';
|
|
200
|
-
export { SideNavMenu } from './components/UIShell/SideNavMenu.js';
|
|
201
|
-
export { default as SideNavMenuItem } from './components/UIShell/SideNavMenuItem.js';
|
|
202
|
-
export { default as SideNavSwitcher } from './components/UIShell/SideNavSwitcher.js';
|
|
203
|
-
export { default as unstable__FluidComboBox } from './components/FluidComboBox/FluidComboBox.js';
|
|
204
|
-
export { default as unstable__FluidComboBoxSkeleton } from './components/FluidComboBox/FluidComboBox.Skeleton.js';
|
|
205
|
-
export { default as unstable__FluidDatePicker } from './components/FluidDatePicker/FluidDatePicker.js';
|
|
206
|
-
export { default as unstable__FluidDatePickerInput } from './components/FluidDatePickerInput/FluidDatePickerInput.js';
|
|
207
|
-
export { default as unstable__FluidDropdown } from './components/FluidDropdown/FluidDropdown.js';
|
|
208
|
-
export { default as unstable__FluidDropdownSkeleton } from './components/FluidDropdown/FluidDropdown.Skeleton.js';
|
|
209
|
-
export { default as unstable__FluidMultiSelect } from './components/FluidMultiSelect/FluidMultiSelect.js';
|
|
210
|
-
export { default as unstable__FluidMultiSelectSkeleton } from './components/FluidMultiSelect/FluidMultiSelect.Skeleton.js';
|
|
211
|
-
export { default as unstable__FluidSelect } from './components/FluidSelect/FluidSelect.js';
|
|
212
|
-
export { default as unstable__FluidSelectSkeleton } from './components/FluidSelect/FluidSelect.Skeleton.js';
|
|
213
|
-
export { LayoutDirection as unstable_LayoutDirection } from './components/Layout/LayoutDirection.js';
|
|
214
|
-
export { useLayoutDirection as unstable_useLayoutDirection } from './components/Layout/useLayoutDirection.js';
|
|
215
223
|
export { Stack } from './components/Stack/Stack.js';
|
|
216
|
-
export { Tooltip } from './components/Tooltip/next/Tooltip.js';
|
|
217
224
|
export { Text as unstable_Text } from './components/Text/Text.js';
|
|
218
225
|
export { TextDirection as unstable_TextDirection } from './components/Text/TextDirection.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { inherits as _inherits, createSuper as _createSuper,
|
|
8
|
+
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, defineProperty as _defineProperty, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { inherits as _inherits, createSuper as _createSuper,
|
|
8
|
+
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, defineProperty as _defineProperty, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, objectSpread2 as _objectSpread2, typeof as _typeof } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import React__default from 'react';
|
|
11
11
|
import ReactDOM from 'react-dom';
|
|
@@ -480,6 +480,4 @@ _defineProperty(FloatingMenu, "defaultProps", {
|
|
|
480
480
|
updateOrientation: null
|
|
481
481
|
});
|
|
482
482
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
export { DIRECTION_BOTTOM, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_TOP, FloatingMenu$1 as default };
|
|
483
|
+
export { DIRECTION_BOTTOM, DIRECTION_LEFT, DIRECTION_RIGHT, DIRECTION_TOP, FloatingMenu as default };
|
package/es/internal/Selection.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, defineProperty as _defineProperty, classCallCheck as _classCallCheck, assertThisInitialized as _assertThisInitialized, slicedToArray as _slicedToArray } from '../_virtual/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import React__default, { useRef, useState, useCallback, useEffect } from 'react';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import isEqual from 'lodash.isequal';
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
function useAnnouncer(textCount, maxCount) {
|
|
9
|
+
var lastTen = maxCount - 10;
|
|
10
|
+
|
|
11
|
+
if (textCount >= lastTen) {
|
|
12
|
+
return "".concat(maxCount - textCount, " characters left.");
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { useAnnouncer };
|
package/es/internal/useId.js
CHANGED
|
@@ -9,6 +9,7 @@ import { slicedToArray as _slicedToArray } from '../_virtual/_rollupPluginBabelH
|
|
|
9
9
|
import { useState, useEffect, useLayoutEffect } from 'react';
|
|
10
10
|
import setupGetInstanceId from '../tools/setupGetInstanceId.js';
|
|
11
11
|
import { canUseDOM } from './environment.js';
|
|
12
|
+
import { useIdPrefix } from './useIdPrefix.js';
|
|
12
13
|
|
|
13
14
|
var getId = setupGetInstanceId();
|
|
14
15
|
var useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;
|
|
@@ -22,9 +23,11 @@ var serverHandoffCompleted = false;
|
|
|
22
23
|
function useId() {
|
|
23
24
|
var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'id';
|
|
24
25
|
|
|
26
|
+
var _prefix = useIdPrefix();
|
|
27
|
+
|
|
25
28
|
var _useState = useState(function () {
|
|
26
29
|
if (serverHandoffCompleted) {
|
|
27
|
-
return "".concat(prefix, "-").concat(getId());
|
|
30
|
+
return "".concat(_prefix ? "".concat(_prefix, "-") : "").concat(prefix, "-").concat(getId());
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
return null;
|
|
@@ -35,7 +38,7 @@ function useId() {
|
|
|
35
38
|
|
|
36
39
|
useIsomorphicLayoutEffect(function () {
|
|
37
40
|
if (id === null) {
|
|
38
|
-
setId("".concat(prefix, "-").concat(getId()));
|
|
41
|
+
setId("".concat(_prefix ? "".concat(_prefix, "-") : "").concat(prefix, "-").concat(getId()));
|
|
39
42
|
}
|
|
40
43
|
}, [getId]);
|
|
41
44
|
useEffect(function () {
|
|
@@ -0,0 +1,15 @@
|
|
|
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 React__default from 'react';
|
|
9
|
+
|
|
10
|
+
var IdPrefixContext = /*#__PURE__*/React__default.createContext(null);
|
|
11
|
+
function useIdPrefix() {
|
|
12
|
+
return React__default.useContext(IdPrefixContext);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { IdPrefixContext, useIdPrefix };
|