From 9883c74ed7aa382d68fdf3e3b67a9d2c40f523f9 Mon Sep 17 00:00:00 2001 From: Kyle Albert <5498623+kalbert312@users.noreply.github.com> Date: Fri, 23 Aug 2019 12:39:37 -0400 Subject: [PATCH] [@types/carbon-components-react] Fix non-type submodule exports. More type fixes. (#37875) * Add ComboBox props missing from prop types. Add missing "itemToElement" prop. Downshift props is not required because object spreads work on undefined/null. * Fix onChange. * MAJOR: Fixed submodule exports to reflect build of carbon-components-react (only submodule exports are affected). * Add missing multi select props. * Fix TableToolbarAction. --- .../DataTable/TableToolbarAction.d.ts | 7 - types/carbon-components-react/index.d.ts | 342 ++++++------- .../Accordion/Accordion.Skeleton.d.ts | 0 .../components/Accordion/Accordion.d.ts | 2 +- .../components/Accordion/AccordionItem.d.ts | 2 +- .../{ => lib}/components/Accordion/index.d.ts | 0 .../AccordionItem/AccordionItem.d.ts | 0 .../components/AccordionItem/index.d.ts | 0 .../Breadcrumb/Breadcrumb.Skeleton.d.ts | 0 .../components/Breadcrumb/Breadcrumb.d.ts | 2 +- .../components/Breadcrumb/BreadcrumbItem.d.ts | 2 +- .../components/Breadcrumb/index.d.ts | 0 .../components/BreadcrumbItem/index.d.ts | 0 .../components/Button/Button.Skeleton.d.ts | 2 +- .../{ => lib}/components/Button/Button.d.ts | 2 +- .../{ => lib}/components/Button/index.d.ts | 0 .../Checkbox/Checkbox.Skeleton.d.ts | 2 +- .../components/Checkbox/Checkbox.d.ts | 2 +- .../{ => lib}/components/Checkbox/index.d.ts | 0 .../CodeSnippet/CodeSnippet.Skeleton.d.ts | 2 +- .../components/CodeSnippet/CodeSnippet.d.ts | 2 +- .../components/CodeSnippet/index.d.ts | 0 .../components/ComboBox/ComboBox.d.ts | 12 +- .../{ => lib}/components/ComboBox/index.d.ts | 0 .../ComposedModal/ComposedModal.d.ts | 2 +- .../components/ComposedModal/index.d.ts | 0 .../ContentSwitcher/ContentSwitcher.d.ts | 2 +- .../components/ContentSwitcher/Switch.d.ts | 2 +- .../components/ContentSwitcher/index.d.ts | 0 .../{ => lib}/components/Copy/Copy.d.ts | 2 +- .../{ => lib}/components/Copy/index.d.ts | 0 .../components/CopyButton/CopyButton.d.ts | 2 +- .../components/CopyButton/index.d.ts | 0 .../components/DangerButton/DangerButton.d.ts | 0 .../components/DangerButton/index.d.ts | 0 .../components/DataTable/DataTable.d.ts | 2 +- .../{ => lib}/components/DataTable/Table.d.ts | 0 .../components/DataTable/TableActionList.d.ts | 2 +- .../DataTable/TableBatchAction.d.ts | 0 .../DataTable/TableBatchActions.d.ts | 2 +- .../components/DataTable/TableBody.d.ts | 2 +- .../components/DataTable/TableCell.d.ts | 0 .../components/DataTable/TableContainer.d.ts | 2 +- .../DataTable/TableExpandHeader.d.ts | 0 .../components/DataTable/TableExpandRow.d.ts | 2 +- .../DataTable/TableExpandedRow.d.ts | 2 +- .../components/DataTable/TableHead.d.ts | 2 +- .../components/DataTable/TableHeader.d.ts | 2 +- .../components/DataTable/TableRow.d.ts | 2 +- .../components/DataTable/TableSelectAll.d.ts | 2 +- .../components/DataTable/TableSelectRow.d.ts | 2 +- .../components/DataTable/TableToolbar.d.ts | 0 .../DataTable/TableToolbarAction.d.ts | 22 + .../DataTable/TableToolbarContent.d.ts | 2 +- .../DataTable/TableToolbarMenu.d.ts | 2 +- .../DataTable/TableToolbarSearch.d.ts | 2 +- .../{ => lib}/components/DataTable/index.d.ts | 0 .../components/DataTable/state/sorting.d.ts | 0 .../DataTableSkeleton/DataTableSkeleton.d.ts | 2 +- .../components/DataTableSkeleton/index.d.ts | 0 .../DatePicker/DatePicker.Skeleton.d.ts | 2 +- .../components/DatePicker/DatePicker.d.ts | 2 +- .../components/DatePicker/index.d.ts | 0 .../DatePickerInput/DatePickerInput.d.ts | 2 +- .../components/DatePickerInput/index.d.ts | 0 .../Dropdown/Dropdown.Skeleton.d.ts | 0 .../components/Dropdown/Dropdown.d.ts | 2 +- .../{ => lib}/components/Dropdown/index.d.ts | 0 .../FileUploader/FileUploader.Skeleton.d.ts | 0 .../components/FileUploader/FileUploader.d.ts | 2 +- .../components/FileUploader/index.d.ts | 0 .../{ => lib}/components/Form/Form.d.ts | 0 .../{ => lib}/components/Form/index.d.ts | 0 .../components/FormGroup/FormGroup.d.ts | 2 +- .../{ => lib}/components/FormGroup/index.d.ts | 0 .../components/FormItem/FormItem.d.ts | 2 +- .../{ => lib}/components/FormItem/index.d.ts | 0 .../components/FormLabel/FormLabel.d.ts | 2 +- .../{ => lib}/components/FormLabel/index.d.ts | 0 .../components/Icon/Icon.Skeleton.d.ts | 2 +- .../{ => lib}/components/Icon/Icon.d.ts | 0 .../{ => lib}/components/Icon/index.d.ts | 0 .../InlineCheckbox/InlineCheckbox.d.ts | 2 +- .../components/InlineCheckbox/index.d.ts | 0 .../InlineLoading/InlineLoading.d.ts | 2 +- .../components/InlineLoading/index.d.ts | 0 .../{ => lib}/components/Link/Link.d.ts | 2 +- .../{ => lib}/components/Link/index.d.ts | 0 .../{ => lib}/components/ListBox/ListBox.d.ts | 2 +- .../components/ListBox/ListBoxField.d.ts | 2 +- .../components/ListBox/ListBoxMenu.d.ts | 2 +- .../components/ListBox/ListBoxMenuIcon.d.ts | 2 +- .../components/ListBox/ListBoxMenuItem.d.ts | 2 +- .../components/ListBox/ListBoxPropTypes.d.ts | 0 .../components/ListBox/ListBoxSelection.d.ts | 2 +- .../{ => lib}/components/ListBox/index.d.ts | 0 .../components/ListItem/ListItem.d.ts | 2 +- .../{ => lib}/components/ListItem/index.d.ts | 0 .../{ => lib}/components/Loading/Loading.d.ts | 2 +- .../{ => lib}/components/Loading/index.d.ts | 0 .../{ => lib}/components/Modal/Modal.d.ts | 2 +- .../{ => lib}/components/Modal/index.d.ts | 0 .../components/ModalWrapper/ModalWrapper.d.ts | 0 .../components/ModalWrapper/index.d.ts | 0 .../MultiSelect/FilterableMultiSelect.d.ts | 2 +- .../components/MultiSelect/MultiSelect.d.ts | 4 +- .../MultiSelect/MultiSelectPropTypes.d.ts | 4 +- .../components/MultiSelect/index.d.ts | 0 .../components/Notification/Notification.d.ts | 2 +- .../Notification/a11yIconWarningSolid.d.ts | 0 .../components/Notification/index.d.ts | 0 .../NumberInput/NumberInput.Skeleton.d.ts | 2 +- .../components/NumberInput/NumberInput.d.ts | 2 +- .../components/NumberInput/index.d.ts | 0 .../components/OrderedList/OrderedList.d.ts | 0 .../components/OrderedList/index.d.ts | 0 .../components/OverflowMenu/OverflowMenu.d.ts | 2 +- .../components/OverflowMenu/index.d.ts | 0 .../OverflowMenuItem/OverflowMenuItem.d.ts | 2 +- .../components/OverflowMenuItem/index.d.ts | 0 .../Pagination/Pagination.Skeleton.d.ts | 0 .../components/Pagination/Pagination.d.ts | 2 +- .../components/Pagination/index.d.ts | 0 .../PrimaryButton/PrimaryButton.d.ts | 0 .../components/PrimaryButton/index.d.ts | 0 .../ProgressIndicator.Skeleton.d.ts | 0 .../ProgressIndicator/ProgressIndicator.d.ts | 2 +- .../components/ProgressIndicator/index.d.ts | 0 .../RadioButton/RadioButton.Skeleton.d.ts | 2 +- .../components/RadioButton/RadioButton.d.ts | 2 +- .../components/RadioButton/index.d.ts | 0 .../RadioButtonGroup/RadioButtonGroup.d.ts | 2 +- .../components/RadioButtonGroup/index.d.ts | 0 .../components/RadioTile/RadioTile.d.ts | 2 +- .../{ => lib}/components/RadioTile/index.d.ts | 0 .../components/Search/Search.Skeleton.d.ts | 2 +- .../{ => lib}/components/Search/Search.d.ts | 2 +- .../{ => lib}/components/Search/index.d.ts | 0 .../SearchFilterButton.d.ts | 2 +- .../components/SearchFilterButton/index.d.ts | 0 .../SearchLayoutButton.d.ts | 0 .../components/SearchLayoutButton/index.d.ts | 0 .../SecondaryButton/SecondaryButton.d.ts | 0 .../components/SecondaryButton/index.d.ts | 0 .../components/Select/Select.Skeleton.d.ts | 2 +- .../{ => lib}/components/Select/Select.d.ts | 2 +- .../{ => lib}/components/Select/index.d.ts | 0 .../components/SelectItem/SelectItem.d.ts | 0 .../components/SelectItem/index.d.ts | 0 .../SelectItemGroup/SelectItemGroup.d.ts | 0 .../components/SelectItemGroup/index.d.ts | 0 .../SkeletonPlaceholder.d.ts | 2 +- .../components/SkeletonPlaceholder/index.d.ts | 0 .../components/SkeletonText/SkeletonText.d.ts | 2 +- .../components/SkeletonText/index.d.ts | 0 .../components/Slider/Slider.Skeleton.d.ts | 2 +- .../{ => lib}/components/Slider/Slider.d.ts | 2 +- .../{ => lib}/components/Slider/index.d.ts | 0 .../StructuredList.Skeleton.d.ts | 0 .../StructuredList/StructuredList.d.ts | 2 +- .../components/StructuredList/index.d.ts | 0 .../{ => lib}/components/Switch/Switch.d.ts | 0 .../{ => lib}/components/Switch/index.d.ts | 0 .../{ => lib}/components/Tab/Tab.d.ts | 2 +- .../{ => lib}/components/Tab/index.d.ts | 0 .../components/TabContent/TabContent.d.ts | 2 +- .../components/TabContent/index.d.ts | 0 .../components/Tabs/Tabs.Skeleton.d.ts | 0 .../{ => lib}/components/Tabs/Tabs.d.ts | 2 +- .../{ => lib}/components/Tabs/index.d.ts | 0 .../components/Tag/Tag.Skeleton.d.ts | 0 .../{ => lib}/components/Tag/Tag.d.ts | 2 +- .../{ => lib}/components/Tag/index.d.ts | 0 .../TextArea/TextArea.Skeleton.d.ts | 2 +- .../components/TextArea/TextArea.d.ts | 2 +- .../{ => lib}/components/TextArea/index.d.ts | 0 .../TextInput/ControlledPasswordInput.d.ts | 2 +- .../components/TextInput/PasswordInput.d.ts | 2 +- .../TextInput/TextInput.Skeleton.d.ts | 2 +- .../components/TextInput/TextInput.d.ts | 0 .../{ => lib}/components/TextInput/index.d.ts | 0 .../{ => lib}/components/TextInput/props.d.ts | 2 +- .../{ => lib}/components/Tile/Tile.d.ts | 2 +- .../{ => lib}/components/Tile/index.d.ts | 0 .../components/TileGroup/TileGroup.d.ts | 2 +- .../{ => lib}/components/TileGroup/index.d.ts | 0 .../components/TimePicker/TimePicker.d.ts | 2 +- .../components/TimePicker/index.d.ts | 0 .../TimePickerSelect/TimePickerSelect.d.ts | 2 +- .../components/TimePickerSelect/index.d.ts | 0 .../components/Toggle/Toggle.Skeleton.d.ts | 2 +- .../{ => lib}/components/Toggle/Toggle.d.ts | 2 +- .../{ => lib}/components/Toggle/index.d.ts | 0 .../ToggleSmall/ToggleSmall.Skeleton.d.ts | 2 +- .../components/ToggleSmall/ToggleSmall.d.ts | 2 +- .../components/ToggleSmall/index.d.ts | 0 .../{ => lib}/components/Toolbar/Toolbar.d.ts | 2 +- .../{ => lib}/components/Toolbar/index.d.ts | 0 .../ToolbarSearch/ToolbarSearch.d.ts | 2 +- .../components/ToolbarSearch/index.d.ts | 0 .../{ => lib}/components/Tooltip/Tooltip.d.ts | 2 +- .../{ => lib}/components/Tooltip/index.d.ts | 0 .../TooltipDefinition/TooltipDefinition.d.ts | 2 +- .../components/TooltipDefinition/index.d.ts | 0 .../components/TooltipIcon/TooltipIcon.d.ts | 2 +- .../components/TooltipIcon/index.d.ts | 0 .../{ => lib}/components/UIShell/Content.d.ts | 2 +- .../{ => lib}/components/UIShell/Header.d.ts | 2 +- .../components/UIShell/HeaderContainer.d.ts | 0 .../UIShell/HeaderGlobalAction.d.ts | 2 +- .../components/UIShell/HeaderGlobalBar.d.ts | 2 +- .../components/UIShell/HeaderMenu.d.ts | 2 +- .../components/UIShell/HeaderMenuButton.d.ts | 2 +- .../components/UIShell/HeaderMenuItem.d.ts | 2 +- .../components/UIShell/HeaderName.d.ts | 2 +- .../components/UIShell/HeaderNavigation.d.ts | 2 +- .../components/UIShell/HeaderPanel.d.ts | 2 +- .../UIShell/HeaderSideNavItems.d.ts | 2 +- .../{ => lib}/components/UIShell/Link.d.ts | 2 +- .../{ => lib}/components/UIShell/SideNav.d.ts | 2 +- .../components/UIShell/SideNavDetails.d.ts | 2 +- .../components/UIShell/SideNavFooter.d.ts | 2 +- .../components/UIShell/SideNavHeader.d.ts | 2 +- .../components/UIShell/SideNavIcon.d.ts | 2 +- .../components/UIShell/SideNavItem.d.ts | 2 +- .../components/UIShell/SideNavItems.d.ts | 2 +- .../components/UIShell/SideNavLink.d.ts | 2 +- .../components/UIShell/SideNavLinkText.d.ts | 2 +- .../components/UIShell/SideNavMenu.d.ts | 2 +- .../components/UIShell/SideNavMenuItem.d.ts | 2 +- .../components/UIShell/SideNavSwitcher.d.ts | 2 +- .../components/UIShell/SkipToContent.d.ts | 2 +- .../components/UIShell/Switcher.d.ts | 2 +- .../components/UIShell/SwitcherDivider.d.ts | 2 +- .../components/UIShell/SwitcherItem.d.ts | 2 +- .../{ => lib}/components/UIShell/index.d.ts | 0 .../UnorderedList/UnorderedList.d.ts | 2 +- .../components/UnorderedList/index.d.ts | 0 types/carbon-components-react/tsconfig.json | 472 +++++++++--------- .../typings/translation.d.ts | 12 +- 240 files changed, 573 insertions(+), 554 deletions(-) delete mode 100644 types/carbon-components-react/components/DataTable/TableToolbarAction.d.ts rename types/carbon-components-react/{ => lib}/components/Accordion/Accordion.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Accordion/Accordion.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/Accordion/AccordionItem.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/Accordion/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/AccordionItem/AccordionItem.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/AccordionItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Breadcrumb/Breadcrumb.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Breadcrumb/Breadcrumb.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/Breadcrumb/BreadcrumbItem.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/Breadcrumb/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/BreadcrumbItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Button/Button.Skeleton.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/Button/Button.d.ts (95%) rename types/carbon-components-react/{ => lib}/components/Button/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Checkbox/Checkbox.Skeleton.d.ts (79%) rename types/carbon-components-react/{ => lib}/components/Checkbox/Checkbox.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/Checkbox/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/CodeSnippet/CodeSnippet.Skeleton.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/CodeSnippet/CodeSnippet.d.ts (92%) rename types/carbon-components-react/{ => lib}/components/CodeSnippet/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ComboBox/ComboBox.d.ts (70%) rename types/carbon-components-react/{ => lib}/components/ComboBox/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ComposedModal/ComposedModal.d.ts (96%) rename types/carbon-components-react/{ => lib}/components/ComposedModal/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ContentSwitcher/ContentSwitcher.d.ts (87%) rename types/carbon-components-react/{ => lib}/components/ContentSwitcher/Switch.d.ts (87%) rename types/carbon-components-react/{ => lib}/components/ContentSwitcher/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Copy/Copy.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/Copy/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/CopyButton/CopyButton.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/CopyButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DangerButton/DangerButton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DangerButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/DataTable.d.ts (99%) rename types/carbon-components-react/{ => lib}/components/DataTable/Table.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableActionList.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableBatchAction.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableBatchActions.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableBody.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableCell.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableContainer.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableExpandHeader.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableExpandRow.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableExpandedRow.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableHead.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableHeader.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableRow.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableSelectAll.d.ts (92%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableSelectRow.d.ts (96%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableToolbar.d.ts (100%) create mode 100644 types/carbon-components-react/lib/components/DataTable/TableToolbarAction.d.ts rename types/carbon-components-react/{ => lib}/components/DataTable/TableToolbarContent.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableToolbarMenu.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/DataTable/TableToolbarSearch.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/DataTable/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTable/state/sorting.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DataTableSkeleton/DataTableSkeleton.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/DataTableSkeleton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DatePicker/DatePicker.Skeleton.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/DatePicker/DatePicker.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/DatePicker/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/DatePickerInput/DatePickerInput.d.ts (92%) rename types/carbon-components-react/{ => lib}/components/DatePickerInput/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Dropdown/Dropdown.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Dropdown/Dropdown.d.ts (94%) rename types/carbon-components-react/{ => lib}/components/Dropdown/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/FileUploader/FileUploader.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/FileUploader/FileUploader.d.ts (97%) rename types/carbon-components-react/{ => lib}/components/FileUploader/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Form/Form.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Form/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/FormGroup/FormGroup.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/FormGroup/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/FormItem/FormItem.d.ts (79%) rename types/carbon-components-react/{ => lib}/components/FormItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/FormLabel/FormLabel.d.ts (80%) rename types/carbon-components-react/{ => lib}/components/FormLabel/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Icon/Icon.Skeleton.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/Icon/Icon.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Icon/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/InlineCheckbox/InlineCheckbox.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/InlineCheckbox/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/InlineLoading/InlineLoading.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/InlineLoading/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Link/Link.d.ts (79%) rename types/carbon-components-react/{ => lib}/components/Link/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBox.d.ts (95%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxField.d.ts (94%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxMenu.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxMenuIcon.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxMenuItem.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxPropTypes.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ListBox/ListBoxSelection.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/ListBox/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ListItem/ListItem.d.ts (79%) rename types/carbon-components-react/{ => lib}/components/ListItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Loading/Loading.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/Loading/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Modal/Modal.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/Modal/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ModalWrapper/ModalWrapper.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ModalWrapper/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/MultiSelect/FilterableMultiSelect.d.ts (97%) rename types/carbon-components-react/{ => lib}/components/MultiSelect/MultiSelect.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/MultiSelect/MultiSelectPropTypes.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/MultiSelect/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Notification/Notification.d.ts (98%) rename types/carbon-components-react/{ => lib}/components/Notification/a11yIconWarningSolid.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Notification/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/NumberInput/NumberInput.Skeleton.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/NumberInput/NumberInput.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/NumberInput/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/OrderedList/OrderedList.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/OrderedList/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/OverflowMenu/OverflowMenu.d.ts (94%) rename types/carbon-components-react/{ => lib}/components/OverflowMenu/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/OverflowMenuItem/OverflowMenuItem.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/OverflowMenuItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Pagination/Pagination.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Pagination/Pagination.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/Pagination/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/PrimaryButton/PrimaryButton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/PrimaryButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ProgressIndicator/ProgressIndicator.d.ts (98%) rename types/carbon-components-react/{ => lib}/components/ProgressIndicator/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/RadioButton/RadioButton.Skeleton.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/RadioButton/RadioButton.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/RadioButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/RadioButtonGroup/RadioButtonGroup.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/RadioButtonGroup/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/RadioTile/RadioTile.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/RadioTile/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Search/Search.Skeleton.d.ts (80%) rename types/carbon-components-react/{ => lib}/components/Search/Search.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/Search/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SearchFilterButton/SearchFilterButton.d.ts (79%) rename types/carbon-components-react/{ => lib}/components/SearchFilterButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SearchLayoutButton/SearchLayoutButton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SearchLayoutButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SecondaryButton/SecondaryButton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SecondaryButton/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Select/Select.Skeleton.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/Select/Select.d.ts (94%) rename types/carbon-components-react/{ => lib}/components/Select/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SelectItem/SelectItem.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SelectItem/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SelectItemGroup/SelectItemGroup.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SelectItemGroup/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/SkeletonPlaceholder/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/SkeletonText/SkeletonText.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/SkeletonText/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Slider/Slider.Skeleton.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/Slider/Slider.d.ts (97%) rename types/carbon-components-react/{ => lib}/components/Slider/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/StructuredList/StructuredList.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/StructuredList/StructuredList.d.ts (98%) rename types/carbon-components-react/{ => lib}/components/StructuredList/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Switch/Switch.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Switch/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tab/Tab.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/Tab/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TabContent/TabContent.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/TabContent/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tabs/Tabs.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tabs/Tabs.d.ts (95%) rename types/carbon-components-react/{ => lib}/components/Tabs/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tag/Tag.Skeleton.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tag/Tag.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/Tag/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TextArea/TextArea.Skeleton.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/TextArea/TextArea.d.ts (89%) rename types/carbon-components-react/{ => lib}/components/TextArea/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TextInput/ControlledPasswordInput.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/TextInput/PasswordInput.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/TextInput/TextInput.Skeleton.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/TextInput/TextInput.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TextInput/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TextInput/props.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/Tile/Tile.d.ts (96%) rename types/carbon-components-react/{ => lib}/components/Tile/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TileGroup/TileGroup.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/TileGroup/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TimePicker/TimePicker.d.ts (92%) rename types/carbon-components-react/{ => lib}/components/TimePicker/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TimePickerSelect/TimePickerSelect.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/TimePickerSelect/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Toggle/Toggle.Skeleton.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/Toggle/Toggle.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/Toggle/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ToggleSmall/ToggleSmall.Skeleton.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/ToggleSmall/ToggleSmall.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/ToggleSmall/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Toolbar/Toolbar.d.ts (94%) rename types/carbon-components-react/{ => lib}/components/Toolbar/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/ToolbarSearch/ToolbarSearch.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/ToolbarSearch/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/Tooltip/Tooltip.d.ts (95%) rename types/carbon-components-react/{ => lib}/components/Tooltip/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TooltipDefinition/TooltipDefinition.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/TooltipDefinition/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/TooltipIcon/TooltipIcon.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/TooltipIcon/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/UIShell/Content.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/UIShell/Header.d.ts (80%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderContainer.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderGlobalAction.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderGlobalBar.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderMenu.d.ts (90%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderMenuButton.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderMenuItem.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderName.d.ts (95%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderNavigation.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderPanel.d.ts (81%) rename types/carbon-components-react/{ => lib}/components/UIShell/HeaderSideNavItems.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/UIShell/Link.d.ts (85%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNav.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavDetails.d.ts (86%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavFooter.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavHeader.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavIcon.d.ts (93%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavItem.d.ts (78%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavItems.d.ts (78%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavLink.d.ts (96%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavLinkText.d.ts (80%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavMenu.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavMenuItem.d.ts (91%) rename types/carbon-components-react/{ => lib}/components/UIShell/SideNavSwitcher.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/UIShell/SkipToContent.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/UIShell/Switcher.d.ts (84%) rename types/carbon-components-react/{ => lib}/components/UIShell/SwitcherDivider.d.ts (82%) rename types/carbon-components-react/{ => lib}/components/UIShell/SwitcherItem.d.ts (88%) rename types/carbon-components-react/{ => lib}/components/UIShell/index.d.ts (100%) rename types/carbon-components-react/{ => lib}/components/UnorderedList/UnorderedList.d.ts (83%) rename types/carbon-components-react/{ => lib}/components/UnorderedList/index.d.ts (100%) diff --git a/types/carbon-components-react/components/DataTable/TableToolbarAction.d.ts b/types/carbon-components-react/components/DataTable/TableToolbarAction.d.ts deleted file mode 100644 index 26f0687cd2..0000000000 --- a/types/carbon-components-react/components/DataTable/TableToolbarAction.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from "react"; -import { OverflowMenuItemAnchorProps, OverflowMenuItemButtonProps } from "../OverflowMenuItem"; - -export type AllTableToolbarActionProps = OverflowMenuItemAnchorProps | OverflowMenuItemButtonProps; -declare const TableToolbarAction: React.FC; - -export default TableToolbarAction; diff --git a/types/carbon-components-react/index.d.ts b/types/carbon-components-react/index.d.ts index 2fec34da4c..49f2cd9d36 100644 --- a/types/carbon-components-react/index.d.ts +++ b/types/carbon-components-react/index.d.ts @@ -6,179 +6,179 @@ export as namespace CarbonReact; -import _Accordion from "./components/Accordion"; -import _AccordionSkeleton from "./components/Accordion/Accordion.Skeleton"; -import _AccordionItem from "./components/AccordionItem"; -import _BreadcrumbSkeleton from "./components/Breadcrumb/Breadcrumb.Skeleton"; -import _Button from "./components/Button"; -import _ButtonSkeleton from "./components/Button/Button.Skeleton"; -import _Checkbox from "./components/Checkbox"; -import _CheckboxSkeleton from "./components/Checkbox/Checkbox.Skeleton"; -import _CodeSnippet from "./components/CodeSnippet"; -import _CodeSnippetSkeleton from "./components/CodeSnippet/CodeSnippet.Skeleton"; -import _ComboBox from "./components/ComboBox"; -import _ComposedModal from "./components/ComposedModal"; -import _ContentSwitcher from "./components/ContentSwitcher"; -import _Copy from "./components/Copy"; -import _CopyButton from "./components/CopyButton"; -import _DangerButton from "./components/DangerButton"; -import _DataTableSkeleton from "./components/DataTableSkeleton"; -import _DatePicker from "./components/DatePicker"; -import _DatePickerSkeleton from "./components/DatePicker/DatePicker.Skeleton"; -import _DatePickerInput from "./components/DatePickerInput"; -import _Dropdown from "./components/Dropdown"; -import _DropdownSkeleton from "./components/Dropdown/Dropdown.Skeleton"; -import _FileUploader from "./components/FileUploader"; -import _FileUploaderSkeleton from "./components/FileUploader/FileUploader.Skeleton"; -import _Form from "./components/Form"; -import _FormGroup from "./components/FormGroup"; -import _FormItem from "./components/FormItem"; -import _FormLabel from "./components/FormLabel"; -import _Icon from "./components/Icon"; -import _IconSkeleton from "./components/Icon/Icon.Skeleton"; -import _InlineLoading from "./components/InlineLoading"; -import _Link from "./components/Link"; -import _ListItem from "./components/ListItem"; -import _Loading from "./components/Loading"; -import _Modal from "./components/Modal"; -import _ModalWrapper from "./components/ModalWrapper"; -import _MultiSelect from "./components/MultiSelect"; -import _NumberInput from "./components/NumberInput"; -import _NumberInputSkeleton from "./components/NumberInput/NumberInput.Skeleton"; -import _OrderedList from "./components/OrderedList"; -import _OverflowMenu from "./components/OverflowMenu"; -import _OverflowMenuItem from "./components/OverflowMenuItem"; -import _Pagination from "./components/Pagination"; -import _PrimaryButton from "./components/PrimaryButton"; -import _ProgressIndicatorSkeleton from "./components/ProgressIndicator/ProgressIndicator.Skeleton"; -import _RadioButton from "./components/RadioButton"; -import _RadioButtonSkeleton from "./components/RadioButton/RadioButton.Skeleton"; -import _RadioButtonGroup from "./components/RadioButtonGroup"; -import _RadioTile from "./components/RadioTile"; -import _Search from "./components/Search"; -import _SearchSkeleton from "./components/Search/Search.Skeleton"; -import _SearchFilterButton from "./components/SearchFilterButton"; -import _SearchLayoutButton from "./components/SearchLayoutButton"; -import _SecondaryButton from "./components/SecondaryButton"; -import _Select from "./components/Select"; -import _SelectSkeleton from "./components/Select/Select.Skeleton"; -import _SelectItem from "./components/SelectItem"; -import _SelectItemGroup from "./components/SelectItemGroup"; -import _SkeletonPlaceholder from "./components/SkeletonPlaceholder"; -import _SkeletonText from "./components/SkeletonText"; -import _Slider from "./components/Slider"; -import _SliderSkeleton from "./components/Slider/Slider.Skeleton"; -import _StructuredListSkeleton from "./components/StructuredList/StructuredList.Skeleton"; -import _Switch from "./components/Switch"; -import _Tab from "./components/Tab"; -import _TabContent from "./components/TabContent"; -import _Tabs from "./components/Tabs"; -import _TabsSkeleton from "./components/Tabs/Tabs.Skeleton"; -import _Tag from "./components/Tag"; -import _TagSkeleton from "./components/Tag/Tag.Skeleton"; -import _TextArea from "./components/TextArea"; -import _TextAreaSkeleton from "./components/TextArea/TextArea.Skeleton"; -import _TextInput from "./components/TextInput"; -import _TextInputSkeleton from "./components/TextInput/TextInput.Skeleton"; -import _TileGroup from "./components/TileGroup"; -import _TimePicker from "./components/TimePicker"; -import _TimePickerSelect from "./components/TimePickerSelect"; -import _Toggle from "./components/Toggle"; -import _ToggleSkeleton from "./components/Toggle/Toggle.Skeleton"; -import _ToggleSmall from "./components/ToggleSmall"; -import _ToggleSmallSkeleton from "./components/ToggleSmall/ToggleSmall.Skeleton"; -import _Toolbar from "./components/Toolbar"; -import _ToolbarSearch from "./components/ToolbarSearch"; -import _Tooltip from "./components/Tooltip"; -import _TooltipDefinition from "./components/TooltipDefinition"; -import _TooltipIcon from "./components/TooltipIcon"; -import _UnorderedList from "./components/UnorderedList"; +import _Accordion from "./lib/components/Accordion"; +import _AccordionSkeleton from "./lib/components/Accordion/Accordion.Skeleton"; +import _AccordionItem from "./lib/components/AccordionItem"; +import _BreadcrumbSkeleton from "./lib/components/Breadcrumb/Breadcrumb.Skeleton"; +import _Button from "./lib/components/Button"; +import _ButtonSkeleton from "./lib/components/Button/Button.Skeleton"; +import _Checkbox from "./lib/components/Checkbox"; +import _CheckboxSkeleton from "./lib/components/Checkbox/Checkbox.Skeleton"; +import _CodeSnippet from "./lib/components/CodeSnippet"; +import _CodeSnippetSkeleton from "./lib/components/CodeSnippet/CodeSnippet.Skeleton"; +import _ComboBox from "./lib/components/ComboBox"; +import _ComposedModal from "./lib/components/ComposedModal"; +import _ContentSwitcher from "./lib/components/ContentSwitcher"; +import _Copy from "./lib/components/Copy"; +import _CopyButton from "./lib/components/CopyButton"; +import _DangerButton from "./lib/components/DangerButton"; +import _DataTableSkeleton from "./lib/components/DataTableSkeleton"; +import _DatePicker from "./lib/components/DatePicker"; +import _DatePickerSkeleton from "./lib/components/DatePicker/DatePicker.Skeleton"; +import _DatePickerInput from "./lib/components/DatePickerInput"; +import _Dropdown from "./lib/components/Dropdown"; +import _DropdownSkeleton from "./lib/components/Dropdown/Dropdown.Skeleton"; +import _FileUploader from "./lib/components/FileUploader"; +import _FileUploaderSkeleton from "./lib/components/FileUploader/FileUploader.Skeleton"; +import _Form from "./lib/components/Form"; +import _FormGroup from "./lib/components/FormGroup"; +import _FormItem from "./lib/components/FormItem"; +import _FormLabel from "./lib/components/FormLabel"; +import _Icon from "./lib/components/Icon"; +import _IconSkeleton from "./lib/components/Icon/Icon.Skeleton"; +import _InlineLoading from "./lib/components/InlineLoading"; +import _Link from "./lib/components/Link"; +import _ListItem from "./lib/components/ListItem"; +import _Loading from "./lib/components/Loading"; +import _Modal from "./lib/components/Modal"; +import _ModalWrapper from "./lib/components/ModalWrapper"; +import _MultiSelect from "./lib/components/MultiSelect"; +import _NumberInput from "./lib/components/NumberInput"; +import _NumberInputSkeleton from "./lib/components/NumberInput/NumberInput.Skeleton"; +import _OrderedList from "./lib/components/OrderedList"; +import _OverflowMenu from "./lib/components/OverflowMenu"; +import _OverflowMenuItem from "./lib/components/OverflowMenuItem"; +import _Pagination from "./lib/components/Pagination"; +import _PrimaryButton from "./lib/components/PrimaryButton"; +import _ProgressIndicatorSkeleton from "./lib/components/ProgressIndicator/ProgressIndicator.Skeleton"; +import _RadioButton from "./lib/components/RadioButton"; +import _RadioButtonSkeleton from "./lib/components/RadioButton/RadioButton.Skeleton"; +import _RadioButtonGroup from "./lib/components/RadioButtonGroup"; +import _RadioTile from "./lib/components/RadioTile"; +import _Search from "./lib/components/Search"; +import _SearchSkeleton from "./lib/components/Search/Search.Skeleton"; +import _SearchFilterButton from "./lib/components/SearchFilterButton"; +import _SearchLayoutButton from "./lib/components/SearchLayoutButton"; +import _SecondaryButton from "./lib/components/SecondaryButton"; +import _Select from "./lib/components/Select"; +import _SelectSkeleton from "./lib/components/Select/Select.Skeleton"; +import _SelectItem from "./lib/components/SelectItem"; +import _SelectItemGroup from "./lib/components/SelectItemGroup"; +import _SkeletonPlaceholder from "./lib/components/SkeletonPlaceholder"; +import _SkeletonText from "./lib/components/SkeletonText"; +import _Slider from "./lib/components/Slider"; +import _SliderSkeleton from "./lib/components/Slider/Slider.Skeleton"; +import _StructuredListSkeleton from "./lib/components/StructuredList/StructuredList.Skeleton"; +import _Switch from "./lib/components/Switch"; +import _Tab from "./lib/components/Tab"; +import _TabContent from "./lib/components/TabContent"; +import _Tabs from "./lib/components/Tabs"; +import _TabsSkeleton from "./lib/components/Tabs/Tabs.Skeleton"; +import _Tag from "./lib/components/Tag"; +import _TagSkeleton from "./lib/components/Tag/Tag.Skeleton"; +import _TextArea from "./lib/components/TextArea"; +import _TextAreaSkeleton from "./lib/components/TextArea/TextArea.Skeleton"; +import _TextInput from "./lib/components/TextInput"; +import _TextInputSkeleton from "./lib/components/TextInput/TextInput.Skeleton"; +import _TileGroup from "./lib/components/TileGroup"; +import _TimePicker from "./lib/components/TimePicker"; +import _TimePickerSelect from "./lib/components/TimePickerSelect"; +import _Toggle from "./lib/components/Toggle"; +import _ToggleSkeleton from "./lib/components/Toggle/Toggle.Skeleton"; +import _ToggleSmall from "./lib/components/ToggleSmall"; +import _ToggleSmallSkeleton from "./lib/components/ToggleSmall/ToggleSmall.Skeleton"; +import _Toolbar from "./lib/components/Toolbar"; +import _ToolbarSearch from "./lib/components/ToolbarSearch"; +import _Tooltip from "./lib/components/Tooltip"; +import _TooltipDefinition from "./lib/components/TooltipDefinition"; +import _TooltipIcon from "./lib/components/TooltipIcon"; +import _UnorderedList from "./lib/components/UnorderedList"; -export * from "./components/Accordion"; -export * from "./components/AccordionItem"; -export * from "./components/Breadcrumb"; -export * from "./components/BreadcrumbItem"; -export * from "./components/Button"; -export * from "./components/Checkbox"; -export * from "./components/CodeSnippet"; -export * from "./components/ComboBox"; -export * from "./components/ComposedModal"; -export * from "./components/ContentSwitcher"; -export * from "./components/Copy"; -export * from "./components/CopyButton"; -export * from "./components/DangerButton"; -export * from "./components/DataTable"; -export * from "./components/DataTableSkeleton"; -export * from "./components/DatePicker"; -export * from "./components/DatePickerInput"; -export * from "./components/Dropdown"; -export * from "./components/FileUploader"; -export * from "./components/Form"; -export * from "./components/FormGroup"; -export * from "./components/FormItem"; -export * from "./components/FormLabel"; -export * from "./components/Icon"; -export * from "./components/InlineCheckbox"; -export * from "./components/InlineLoading"; -export * from "./components/Link"; -export * from "./components/ListBox"; -export * from "./components/ListItem"; -export * from "./components/Loading"; -export * from "./components/Modal"; -export * from "./components/ModalWrapper"; -export * from "./components/MultiSelect"; -export * from "./components/Notification"; -export * from "./components/NumberInput"; -export * from "./components/OrderedList"; -export * from "./components/OverflowMenu"; -export * from "./components/OverflowMenuItem"; -export * from "./components/Pagination"; -export * from "./components/PrimaryButton"; -export * from "./components/ProgressIndicator"; -export * from "./components/RadioButton"; -export * from "./components/RadioButtonGroup"; -export * from "./components/RadioTile"; -export * from "./components/Search"; -export * from "./components/SearchFilterButton"; -export * from "./components/SearchLayoutButton"; -export * from "./components/SecondaryButton"; -export * from "./components/Select"; -export * from "./components/SelectItem"; -export * from "./components/SelectItemGroup"; -export * from "./components/SkeletonPlaceholder"; -export * from "./components/SkeletonText"; -export * from "./components/Slider"; -export * from "./components/StructuredList"; -export * from "./components/Switch"; -export * from "./components/Tab"; -export * from "./components/TabContent"; -export * from "./components/Tabs"; -export * from "./components/Tag"; -export * from "./components/TextArea"; -export * from "./components/TextInput"; -export * from "./components/Tile"; -export * from "./components/TileGroup"; -export * from "./components/TimePicker"; -export * from "./components/TimePickerSelect"; -export * from "./components/Toggle"; -export * from "./components/ToggleSmall"; -export * from "./components/Toolbar"; -export * from "./components/ToolbarSearch"; -export * from "./components/Tooltip"; -export * from "./components/TooltipDefinition"; -export * from "./components/TooltipIcon"; -export * from "./components/UIShell"; -export * from "./components/UnorderedList"; +export * from "./lib/components/Accordion"; +export * from "./lib/components/AccordionItem"; +export * from "./lib/components/Breadcrumb"; +export * from "./lib/components/BreadcrumbItem"; +export * from "./lib/components/Button"; +export * from "./lib/components/Checkbox"; +export * from "./lib/components/CodeSnippet"; +export * from "./lib/components/ComboBox"; +export * from "./lib/components/ComposedModal"; +export * from "./lib/components/ContentSwitcher"; +export * from "./lib/components/Copy"; +export * from "./lib/components/CopyButton"; +export * from "./lib/components/DangerButton"; +export * from "./lib/components/DataTable"; +export * from "./lib/components/DataTableSkeleton"; +export * from "./lib/components/DatePicker"; +export * from "./lib/components/DatePickerInput"; +export * from "./lib/components/Dropdown"; +export * from "./lib/components/FileUploader"; +export * from "./lib/components/Form"; +export * from "./lib/components/FormGroup"; +export * from "./lib/components/FormItem"; +export * from "./lib/components/FormLabel"; +export * from "./lib/components/Icon"; +export * from "./lib/components/InlineCheckbox"; +export * from "./lib/components/InlineLoading"; +export * from "./lib/components/Link"; +export * from "./lib/components/ListBox"; +export * from "./lib/components/ListItem"; +export * from "./lib/components/Loading"; +export * from "./lib/components/Modal"; +export * from "./lib/components/ModalWrapper"; +export * from "./lib/components/MultiSelect"; +export * from "./lib/components/Notification"; +export * from "./lib/components/NumberInput"; +export * from "./lib/components/OrderedList"; +export * from "./lib/components/OverflowMenu"; +export * from "./lib/components/OverflowMenuItem"; +export * from "./lib/components/Pagination"; +export * from "./lib/components/PrimaryButton"; +export * from "./lib/components/ProgressIndicator"; +export * from "./lib/components/RadioButton"; +export * from "./lib/components/RadioButtonGroup"; +export * from "./lib/components/RadioTile"; +export * from "./lib/components/Search"; +export * from "./lib/components/SearchFilterButton"; +export * from "./lib/components/SearchLayoutButton"; +export * from "./lib/components/SecondaryButton"; +export * from "./lib/components/Select"; +export * from "./lib/components/SelectItem"; +export * from "./lib/components/SelectItemGroup"; +export * from "./lib/components/SkeletonPlaceholder"; +export * from "./lib/components/SkeletonText"; +export * from "./lib/components/Slider"; +export * from "./lib/components/StructuredList"; +export * from "./lib/components/Switch"; +export * from "./lib/components/Tab"; +export * from "./lib/components/TabContent"; +export * from "./lib/components/Tabs"; +export * from "./lib/components/Tag"; +export * from "./lib/components/TextArea"; +export * from "./lib/components/TextInput"; +export * from "./lib/components/Tile"; +export * from "./lib/components/TileGroup"; +export * from "./lib/components/TimePicker"; +export * from "./lib/components/TimePickerSelect"; +export * from "./lib/components/Toggle"; +export * from "./lib/components/ToggleSmall"; +export * from "./lib/components/Toolbar"; +export * from "./lib/components/ToolbarSearch"; +export * from "./lib/components/Tooltip"; +export * from "./lib/components/TooltipDefinition"; +export * from "./lib/components/TooltipIcon"; +export * from "./lib/components/UIShell"; +export * from "./lib/components/UnorderedList"; export { _Accordion as Accordion }; export { _AccordionItem as AccordionItem }; -export { Breadcrumb, BreadcrumbItem } from "./components/Breadcrumb"; +export { Breadcrumb, BreadcrumbItem } from "./lib/components/Breadcrumb"; export { _Button as Button }; export { _Checkbox as Checkbox }; export { _CodeSnippet as CodeSnippet }; export { _ComboBox as ComboBox }; export { _ComposedModal as ComposedModal }; -export { ModalHeader, ModalBody, ModalFooter } from "./components/ComposedModal"; +export { ModalHeader, ModalBody, ModalFooter } from "./lib/components/ComposedModal"; export { _ContentSwitcher as ContentSwitcher }; export { _Copy as Copy }; export { _CopyButton as CopyButton }; @@ -205,12 +205,12 @@ export { TableToolbarContent, TableToolbarSearch, TableToolbarMenu -} from "./components/DataTable"; +} from "./lib/components/DataTable"; export { _DatePicker as DatePicker }; export { _DatePickerInput as DatePickerInput }; export { _Dropdown as Dropdown }; export { _FileUploader as FileUploader }; -export { Filename, FileUploaderButton } from "./components/FileUploader"; +export { Filename, FileUploaderButton } from "./lib/components/FileUploader"; export { _Form as Form }; export { _FormGroup as FormGroup }; export { _FormItem as FormItem }; @@ -223,14 +223,14 @@ export { _Loading as Loading }; export { _Modal as Modal }; export { _ModalWrapper as ModalWrapper }; export { _MultiSelect as MultiSelect }; -export { ToastNotification, InlineNotification, NotificationActionButton, NotificationButton, NotificationTextDetails } from "./components/Notification"; +export { ToastNotification, InlineNotification, NotificationActionButton, NotificationButton, NotificationTextDetails } from "./lib/components/Notification"; export { _NumberInput as NumberInput }; export { _OrderedList as OrderedList }; export { _OverflowMenu as OverflowMenu }; export { _OverflowMenuItem as OverflowMenuItem }; export { _Pagination as Pagination }; export { _PrimaryButton as PrimaryButton }; -export { ProgressIndicator, ProgressStep } from "./components/ProgressIndicator"; +export { ProgressIndicator, ProgressStep } from "./lib/components/ProgressIndicator"; export { _RadioButton as RadioButton }; export { _RadioButtonGroup as RadioButtonGroup }; export { _Search as Search }; @@ -242,14 +242,14 @@ export { _SelectItem as SelectItem }; export { _SelectItemGroup as SelectItemGroup }; export { _Switch as Switch }; export { _Slider as Slider }; -export { StructuredListWrapper, StructuredListHead, StructuredListBody, StructuredListRow, StructuredListInput, StructuredListCell } from "./components/StructuredList"; +export { StructuredListWrapper, StructuredListHead, StructuredListBody, StructuredListRow, StructuredListInput, StructuredListCell } from "./lib/components/StructuredList"; export { _Tab as Tab }; export { _TabContent as TabContent }; export { _Tabs as Tabs }; export { _Tag as Tag }; export { _TextArea as TextArea }; export { _TextInput as TextInput }; -export { Tile, ClickableTile, SelectableTile, ExpandableTile, TileAboveTheFoldContent, TileBelowTheFoldContent } from "./components/Tile"; +export { Tile, ClickableTile, SelectableTile, ExpandableTile, TileAboveTheFoldContent, TileBelowTheFoldContent } from "./lib/components/Tile"; export { _RadioTile as RadioTile }; export { _TileGroup as TileGroup }; export { _TimePicker as TimePicker }; @@ -257,7 +257,7 @@ export { _TimePickerSelect as TimePickerSelect }; export { _Toggle as Toggle }; export { _ToggleSmall as ToggleSmall }; export { _Toolbar as Toolbar }; -export { ToolbarItem, ToolbarTitle, ToolbarOption, ToolbarDivider } from "./components/Toolbar"; +export { ToolbarItem, ToolbarTitle, ToolbarOption, ToolbarDivider } from "./lib/components/Toolbar"; export { _ToolbarSearch as ToolbarSearch }; export { _Tooltip as Tooltip }; export { _TooltipDefinition as TooltipDefinition }; diff --git a/types/carbon-components-react/components/Accordion/Accordion.Skeleton.d.ts b/types/carbon-components-react/lib/components/Accordion/Accordion.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Accordion/Accordion.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Accordion/Accordion.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Accordion/Accordion.d.ts b/types/carbon-components-react/lib/components/Accordion/Accordion.d.ts similarity index 84% rename from types/carbon-components-react/components/Accordion/Accordion.d.ts rename to types/carbon-components-react/lib/components/Accordion/Accordion.d.ts index 10f45e8256..6be639b098 100644 --- a/types/carbon-components-react/components/Accordion/Accordion.d.ts +++ b/types/carbon-components-react/lib/components/Accordion/Accordion.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { children?: ReactAttr["children"], diff --git a/types/carbon-components-react/components/Accordion/AccordionItem.d.ts b/types/carbon-components-react/lib/components/Accordion/AccordionItem.d.ts similarity index 86% rename from types/carbon-components-react/components/Accordion/AccordionItem.d.ts rename to types/carbon-components-react/lib/components/Accordion/AccordionItem.d.ts index b588e87bda..12ee397675 100644 --- a/types/carbon-components-react/components/Accordion/AccordionItem.d.ts +++ b/types/carbon-components-react/lib/components/Accordion/AccordionItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactLIAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactLIAttr } from "../../../typings/shared"; interface InheritedProps extends ReactLIAttr, EmbeddedIconProps { } diff --git a/types/carbon-components-react/components/Accordion/index.d.ts b/types/carbon-components-react/lib/components/Accordion/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Accordion/index.d.ts rename to types/carbon-components-react/lib/components/Accordion/index.d.ts diff --git a/types/carbon-components-react/components/AccordionItem/AccordionItem.d.ts b/types/carbon-components-react/lib/components/AccordionItem/AccordionItem.d.ts similarity index 100% rename from types/carbon-components-react/components/AccordionItem/AccordionItem.d.ts rename to types/carbon-components-react/lib/components/AccordionItem/AccordionItem.d.ts diff --git a/types/carbon-components-react/components/AccordionItem/index.d.ts b/types/carbon-components-react/lib/components/AccordionItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/AccordionItem/index.d.ts rename to types/carbon-components-react/lib/components/AccordionItem/index.d.ts diff --git a/types/carbon-components-react/components/Breadcrumb/Breadcrumb.Skeleton.d.ts b/types/carbon-components-react/lib/components/Breadcrumb/Breadcrumb.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Breadcrumb/Breadcrumb.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Breadcrumb/Breadcrumb.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Breadcrumb/Breadcrumb.d.ts b/types/carbon-components-react/lib/components/Breadcrumb/Breadcrumb.d.ts similarity index 82% rename from types/carbon-components-react/components/Breadcrumb/Breadcrumb.d.ts rename to types/carbon-components-react/lib/components/Breadcrumb/Breadcrumb.d.ts index 56e7823b73..c211aa0721 100644 --- a/types/carbon-components-react/components/Breadcrumb/Breadcrumb.d.ts +++ b/types/carbon-components-react/lib/components/Breadcrumb/Breadcrumb.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/Breadcrumb/BreadcrumbItem.d.ts b/types/carbon-components-react/lib/components/Breadcrumb/BreadcrumbItem.d.ts similarity index 85% rename from types/carbon-components-react/components/Breadcrumb/BreadcrumbItem.d.ts rename to types/carbon-components-react/lib/components/Breadcrumb/BreadcrumbItem.d.ts index 46e9fa9c81..1e458c4113 100644 --- a/types/carbon-components-react/components/Breadcrumb/BreadcrumbItem.d.ts +++ b/types/carbon-components-react/lib/components/Breadcrumb/BreadcrumbItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; import { LinkProps } from "../Link"; interface InheritedProps extends ReactDivAttr { diff --git a/types/carbon-components-react/components/Breadcrumb/index.d.ts b/types/carbon-components-react/lib/components/Breadcrumb/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Breadcrumb/index.d.ts rename to types/carbon-components-react/lib/components/Breadcrumb/index.d.ts diff --git a/types/carbon-components-react/components/BreadcrumbItem/index.d.ts b/types/carbon-components-react/lib/components/BreadcrumbItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/BreadcrumbItem/index.d.ts rename to types/carbon-components-react/lib/components/BreadcrumbItem/index.d.ts diff --git a/types/carbon-components-react/components/Button/Button.Skeleton.d.ts b/types/carbon-components-react/lib/components/Button/Button.Skeleton.d.ts similarity index 81% rename from types/carbon-components-react/components/Button/Button.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Button/Button.Skeleton.d.ts index f69ec570e8..07356a6b75 100644 --- a/types/carbon-components-react/components/Button/Button.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Button/Button.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, SizingProps } from "../../typings/shared"; +import { ReactAnchorAttr, SizingProps } from "../../../typings/shared"; interface InheritedProps extends SizingProps { className?: ReactAnchorAttr["className"], diff --git a/types/carbon-components-react/components/Button/Button.d.ts b/types/carbon-components-react/lib/components/Button/Button.d.ts similarity index 95% rename from types/carbon-components-react/components/Button/Button.d.ts rename to types/carbon-components-react/lib/components/Button/Button.d.ts index 0650c3c9da..166727f904 100644 --- a/types/carbon-components-react/components/Button/Button.d.ts +++ b/types/carbon-components-react/lib/components/Button/Button.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, EmbeddedTooltipProps, ReactAnchorAttr, ReactButtonAttr, ReactCreateElementParam, RenderIconProps, SizingProps, } from "../../typings/shared"; +import { EmbeddedIconProps, EmbeddedTooltipProps, ReactAnchorAttr, ReactButtonAttr, ReactCreateElementParam, RenderIconProps, SizingProps, } from "../../../typings/shared"; export type ButtonKind = "danger" | "danger--primary" | "ghost" | "primary" | "secondary" | "tertiary"; export type ButtonSize = "default" | "field" | "small"; diff --git a/types/carbon-components-react/components/Button/index.d.ts b/types/carbon-components-react/lib/components/Button/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Button/index.d.ts rename to types/carbon-components-react/lib/components/Button/index.d.ts diff --git a/types/carbon-components-react/components/Checkbox/Checkbox.Skeleton.d.ts b/types/carbon-components-react/lib/components/Checkbox/Checkbox.Skeleton.d.ts similarity index 79% rename from types/carbon-components-react/components/Checkbox/Checkbox.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Checkbox/Checkbox.Skeleton.d.ts index 4a03512e54..1504cc89d6 100644 --- a/types/carbon-components-react/components/Checkbox/Checkbox.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Checkbox/Checkbox.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; export interface CheckboxSkeletonProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/Checkbox/Checkbox.d.ts b/types/carbon-components-react/lib/components/Checkbox/Checkbox.d.ts similarity index 89% rename from types/carbon-components-react/components/Checkbox/Checkbox.d.ts rename to types/carbon-components-react/lib/components/Checkbox/Checkbox.d.ts index 3fc064e675..181eda1b64 100644 --- a/types/carbon-components-react/components/Checkbox/Checkbox.d.ts +++ b/types/carbon-components-react/lib/components/Checkbox/Checkbox.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps } from "../../../typings/shared"; type ExcludedAttributes = "id" | "onChange" | "type"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Checkbox/index.d.ts b/types/carbon-components-react/lib/components/Checkbox/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Checkbox/index.d.ts rename to types/carbon-components-react/lib/components/Checkbox/index.d.ts diff --git a/types/carbon-components-react/components/CodeSnippet/CodeSnippet.Skeleton.d.ts b/types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.Skeleton.d.ts similarity index 85% rename from types/carbon-components-react/components/CodeSnippet/CodeSnippet.Skeleton.d.ts rename to types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.Skeleton.d.ts index bc06cf973a..51609b3282 100644 --- a/types/carbon-components-react/components/CodeSnippet/CodeSnippet.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/CodeSnippet/CodeSnippet.d.ts b/types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.d.ts similarity index 92% rename from types/carbon-components-react/components/CodeSnippet/CodeSnippet.d.ts rename to types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.d.ts index 8e6af3cac2..9d36cc5022 100644 --- a/types/carbon-components-react/components/CodeSnippet/CodeSnippet.d.ts +++ b/types/carbon-components-react/lib/components/CodeSnippet/CodeSnippet.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr, ThemeProps } from "../../typings/shared"; +import { ReactDivAttr, ThemeProps } from "../../../typings/shared"; import { CopyProps } from "../Copy"; interface InheritedDivProps extends Omit { } diff --git a/types/carbon-components-react/components/CodeSnippet/index.d.ts b/types/carbon-components-react/lib/components/CodeSnippet/index.d.ts similarity index 100% rename from types/carbon-components-react/components/CodeSnippet/index.d.ts rename to types/carbon-components-react/lib/components/CodeSnippet/index.d.ts diff --git a/types/carbon-components-react/components/ComboBox/ComboBox.d.ts b/types/carbon-components-react/lib/components/ComboBox/ComboBox.d.ts similarity index 70% rename from types/carbon-components-react/components/ComboBox/ComboBox.d.ts rename to types/carbon-components-react/lib/components/ComboBox/ComboBox.d.ts index 760d7748de..b0102e7b41 100644 --- a/types/carbon-components-react/components/ComboBox/ComboBox.d.ts +++ b/types/carbon-components-react/lib/components/ComboBox/ComboBox.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { DownshiftTypedProps, InternationalProps, ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { DownshiftTypedProps, InternationalProps, ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; import { ListBoxProps } from "../ListBox"; import { ListBoxMenuIconTranslationKey } from "../ListBox/ListBoxMenuIcon"; import { ListBoxSelectionTranslationKey } from "../ListBox/ListBoxSelection"; @@ -18,13 +18,17 @@ interface InheritedProps extends type?: ListBoxProps["type"], } -export interface ComboBoxProps extends InheritedProps { - downshiftProps: any, // TODO +export interface ComboBoxProps> +extends InheritedProps { + downshiftProps?: any, // TODO + helperText?: React.ReactNode, initialSelectedItem?: ItemType; items: ItemType[], - onChange?(selectedItem?: ItemType): void, + itemToElement?: CustomElementProps extends object ? React.ComponentType : never, + onChange?(data: { selectedItem?: ItemType }): void, onInputChange?(inputValue?: string): void, shouldFilterItem?(item: ItemType, itemToString?: ComboBoxProps["itemToString"], inputValue?: string): void, + titleText?: React.ReactNode, } declare class ComboBox extends React.Component> { } diff --git a/types/carbon-components-react/components/ComboBox/index.d.ts b/types/carbon-components-react/lib/components/ComboBox/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ComboBox/index.d.ts rename to types/carbon-components-react/lib/components/ComboBox/index.d.ts diff --git a/types/carbon-components-react/components/ComposedModal/ComposedModal.d.ts b/types/carbon-components-react/lib/components/ComposedModal/ComposedModal.d.ts similarity index 96% rename from types/carbon-components-react/components/ComposedModal/ComposedModal.d.ts rename to types/carbon-components-react/lib/components/ComposedModal/ComposedModal.d.ts index 7891b31b19..c856770f1f 100644 --- a/types/carbon-components-react/components/ComposedModal/ComposedModal.d.ts +++ b/types/carbon-components-react/lib/components/ComposedModal/ComposedModal.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactDivAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactDivAttr } from "../../../typings/shared"; import { ButtonProps } from "../Button"; // ComposedModal diff --git a/types/carbon-components-react/components/ComposedModal/index.d.ts b/types/carbon-components-react/lib/components/ComposedModal/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ComposedModal/index.d.ts rename to types/carbon-components-react/lib/components/ComposedModal/index.d.ts diff --git a/types/carbon-components-react/components/ContentSwitcher/ContentSwitcher.d.ts b/types/carbon-components-react/lib/components/ContentSwitcher/ContentSwitcher.d.ts similarity index 87% rename from types/carbon-components-react/components/ContentSwitcher/ContentSwitcher.d.ts rename to types/carbon-components-react/lib/components/ContentSwitcher/ContentSwitcher.d.ts index 451fa35098..2092a1180b 100644 --- a/types/carbon-components-react/components/ContentSwitcher/ContentSwitcher.d.ts +++ b/types/carbon-components-react/lib/components/ContentSwitcher/ContentSwitcher.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; import { SwitchProps } from "./Switch"; interface InheritedProps extends Omit { diff --git a/types/carbon-components-react/components/ContentSwitcher/Switch.d.ts b/types/carbon-components-react/lib/components/ContentSwitcher/Switch.d.ts similarity index 87% rename from types/carbon-components-react/components/ContentSwitcher/Switch.d.ts rename to types/carbon-components-react/lib/components/ContentSwitcher/Switch.d.ts index 500d7ddb79..df41a6c1e5 100644 --- a/types/carbon-components-react/components/ContentSwitcher/Switch.d.ts +++ b/types/carbon-components-react/lib/components/ContentSwitcher/Switch.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactButtonAttr } from "../../typings/shared"; +import { ReactButtonAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/ContentSwitcher/index.d.ts b/types/carbon-components-react/lib/components/ContentSwitcher/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ContentSwitcher/index.d.ts rename to types/carbon-components-react/lib/components/ContentSwitcher/index.d.ts diff --git a/types/carbon-components-react/components/Copy/Copy.d.ts b/types/carbon-components-react/lib/components/Copy/Copy.d.ts similarity index 85% rename from types/carbon-components-react/components/Copy/Copy.d.ts rename to types/carbon-components-react/lib/components/Copy/Copy.d.ts index 008fcc42d7..c996e2dc4d 100644 --- a/types/carbon-components-react/components/Copy/Copy.d.ts +++ b/types/carbon-components-react/lib/components/Copy/Copy.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactButtonAttr } from "../../typings/shared"; +import { ReactButtonAttr } from "../../../typings/shared"; export interface FeedbackProps { feedback?: string, diff --git a/types/carbon-components-react/components/Copy/index.d.ts b/types/carbon-components-react/lib/components/Copy/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Copy/index.d.ts rename to types/carbon-components-react/lib/components/Copy/index.d.ts diff --git a/types/carbon-components-react/components/CopyButton/CopyButton.d.ts b/types/carbon-components-react/lib/components/CopyButton/CopyButton.d.ts similarity index 81% rename from types/carbon-components-react/components/CopyButton/CopyButton.d.ts rename to types/carbon-components-react/lib/components/CopyButton/CopyButton.d.ts index 34e599628c..c76ddc2fc6 100644 --- a/types/carbon-components-react/components/CopyButton/CopyButton.d.ts +++ b/types/carbon-components-react/lib/components/CopyButton/CopyButton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactButtonAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactButtonAttr } from "../../../typings/shared"; import { FeedbackProps } from "../Copy"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/CopyButton/index.d.ts b/types/carbon-components-react/lib/components/CopyButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/CopyButton/index.d.ts rename to types/carbon-components-react/lib/components/CopyButton/index.d.ts diff --git a/types/carbon-components-react/components/DangerButton/DangerButton.d.ts b/types/carbon-components-react/lib/components/DangerButton/DangerButton.d.ts similarity index 100% rename from types/carbon-components-react/components/DangerButton/DangerButton.d.ts rename to types/carbon-components-react/lib/components/DangerButton/DangerButton.d.ts diff --git a/types/carbon-components-react/components/DangerButton/index.d.ts b/types/carbon-components-react/lib/components/DangerButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/DangerButton/index.d.ts rename to types/carbon-components-react/lib/components/DangerButton/index.d.ts diff --git a/types/carbon-components-react/components/DataTable/DataTable.d.ts b/types/carbon-components-react/lib/components/DataTable/DataTable.d.ts similarity index 99% rename from types/carbon-components-react/components/DataTable/DataTable.d.ts rename to types/carbon-components-react/lib/components/DataTable/DataTable.d.ts index d62c201e5b..f367dbb275 100644 --- a/types/carbon-components-react/components/DataTable/DataTable.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/DataTable.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactAttr, ReactDivAttr, ShapeOf } from '../../typings/shared'; +import { InternationalProps, ReactAttr, ReactDivAttr, ShapeOf } from "../../../typings/shared"; import { DataTableSortState, DataTableSortStates } from "./state/sorting"; import Table, { TableCarbonProps } from "./Table"; import TableActionList from "./TableActionList"; diff --git a/types/carbon-components-react/components/DataTable/Table.d.ts b/types/carbon-components-react/lib/components/DataTable/Table.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/Table.d.ts rename to types/carbon-components-react/lib/components/DataTable/Table.d.ts diff --git a/types/carbon-components-react/components/DataTable/TableActionList.d.ts b/types/carbon-components-react/lib/components/DataTable/TableActionList.d.ts similarity index 81% rename from types/carbon-components-react/components/DataTable/TableActionList.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableActionList.d.ts index 6775678210..28717eea29 100644 --- a/types/carbon-components-react/components/DataTable/TableActionList.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableActionList.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableBatchAction.d.ts b/types/carbon-components-react/lib/components/DataTable/TableBatchAction.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/TableBatchAction.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableBatchAction.d.ts diff --git a/types/carbon-components-react/components/DataTable/TableBatchActions.d.ts b/types/carbon-components-react/lib/components/DataTable/TableBatchActions.d.ts similarity index 90% rename from types/carbon-components-react/components/DataTable/TableBatchActions.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableBatchActions.d.ts index b2dfbf1b4f..ed3916914a 100644 --- a/types/carbon-components-react/components/DataTable/TableBatchActions.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableBatchActions.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactDivAttr } from "../../typings/shared"; +import { InternationalProps, ReactDivAttr } from "../../../typings/shared"; export type TableBatchActionsTranslationKey = "carbon.table.batch.cancel" | "carbon.table.batch.items.selected" | "carbon.table.batch.item.selected"; interface InheritedProps extends ReactDivAttr, InternationalProps { } diff --git a/types/carbon-components-react/components/DataTable/TableBody.d.ts b/types/carbon-components-react/lib/components/DataTable/TableBody.d.ts similarity index 82% rename from types/carbon-components-react/components/DataTable/TableBody.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableBody.d.ts index f59c2df527..328b9f9910 100644 --- a/types/carbon-components-react/components/DataTable/TableBody.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableBody.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableCell.d.ts b/types/carbon-components-react/lib/components/DataTable/TableCell.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/TableCell.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableCell.d.ts diff --git a/types/carbon-components-react/components/DataTable/TableContainer.d.ts b/types/carbon-components-react/lib/components/DataTable/TableContainer.d.ts similarity index 85% rename from types/carbon-components-react/components/DataTable/TableContainer.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableContainer.d.ts index 62508e5afd..daf1a4b02d 100644 --- a/types/carbon-components-react/components/DataTable/TableContainer.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableContainer.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/DataTable/TableExpandHeader.d.ts b/types/carbon-components-react/lib/components/DataTable/TableExpandHeader.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/TableExpandHeader.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableExpandHeader.d.ts diff --git a/types/carbon-components-react/components/DataTable/TableExpandRow.d.ts b/types/carbon-components-react/lib/components/DataTable/TableExpandRow.d.ts similarity index 89% rename from types/carbon-components-react/components/DataTable/TableExpandRow.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableExpandRow.d.ts index 3d0a4314e9..268f8bb569 100644 --- a/types/carbon-components-react/components/DataTable/TableExpandRow.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableExpandRow.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { ariaLabel: NonNullable, diff --git a/types/carbon-components-react/components/DataTable/TableExpandedRow.d.ts b/types/carbon-components-react/lib/components/DataTable/TableExpandedRow.d.ts similarity index 84% rename from types/carbon-components-react/components/DataTable/TableExpandedRow.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableExpandedRow.d.ts index 1f531ec9de..25c7379f3e 100644 --- a/types/carbon-components-react/components/DataTable/TableExpandedRow.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableExpandedRow.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableHead.d.ts b/types/carbon-components-react/lib/components/DataTable/TableHead.d.ts similarity index 82% rename from types/carbon-components-react/components/DataTable/TableHead.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableHead.d.ts index 5650fcde60..5e4346980c 100644 --- a/types/carbon-components-react/components/DataTable/TableHead.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableHead.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableHeader.d.ts b/types/carbon-components-react/lib/components/DataTable/TableHeader.d.ts similarity index 89% rename from types/carbon-components-react/components/DataTable/TableHeader.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableHeader.d.ts index 5b3f498ac0..0aa13cc066 100644 --- a/types/carbon-components-react/components/DataTable/TableHeader.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableHeader.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactButtonAttr } from "../../typings/shared"; +import { InternationalProps, ReactButtonAttr } from "../../../typings/shared"; import { DataTableSortState } from './state/sorting'; export type TableHeaderTranslationKey = "carbon.table.header.icon.description"; diff --git a/types/carbon-components-react/components/DataTable/TableRow.d.ts b/types/carbon-components-react/lib/components/DataTable/TableRow.d.ts similarity index 81% rename from types/carbon-components-react/components/DataTable/TableRow.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableRow.d.ts index d1b9c7ab74..4d18e212a0 100644 --- a/types/carbon-components-react/components/DataTable/TableRow.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableRow.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableSelectAll.d.ts b/types/carbon-components-react/lib/components/DataTable/TableSelectAll.d.ts similarity index 92% rename from types/carbon-components-react/components/DataTable/TableSelectAll.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableSelectAll.d.ts index b647c679e2..9c39f58129 100644 --- a/types/carbon-components-react/components/DataTable/TableSelectAll.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableSelectAll.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; import { InlineCheckboxProps } from "../InlineCheckbox"; interface InheritedProps { diff --git a/types/carbon-components-react/components/DataTable/TableSelectRow.d.ts b/types/carbon-components-react/lib/components/DataTable/TableSelectRow.d.ts similarity index 96% rename from types/carbon-components-react/components/DataTable/TableSelectRow.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableSelectRow.d.ts index c68e3ac7a0..9060b12a4c 100644 --- a/types/carbon-components-react/components/DataTable/TableSelectRow.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableSelectRow.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactInputAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactAttr, ReactInputAttr, RequiresIdProps } from "../../../typings/shared"; interface InheritedProps extends RequiresIdProps { ariaLabel?: React.AriaAttributes["aria-label"], diff --git a/types/carbon-components-react/components/DataTable/TableToolbar.d.ts b/types/carbon-components-react/lib/components/DataTable/TableToolbar.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/TableToolbar.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableToolbar.d.ts diff --git a/types/carbon-components-react/lib/components/DataTable/TableToolbarAction.d.ts b/types/carbon-components-react/lib/components/DataTable/TableToolbarAction.d.ts new file mode 100644 index 0000000000..293149972d --- /dev/null +++ b/types/carbon-components-react/lib/components/DataTable/TableToolbarAction.d.ts @@ -0,0 +1,22 @@ +import * as React from "react"; +import { RequiresChildrenProps } from "../../../typings/shared"; +import { OverflowMenuItemAnchorProps, OverflowMenuItemButtonProps } from "../OverflowMenuItem"; + +export interface TableToolbarActionAnchorProps extends + Omit, + RequiresChildrenProps +{ + itemText?: React.ReactNode, +} + +export interface TableToolbarActionButtonProps extends + Omit, + RequiresChildrenProps +{ + itemText?: React.ReactNode, +} + +export type AllTableToolbarActionProps = TableToolbarActionAnchorProps | TableToolbarActionButtonProps; +declare const TableToolbarAction: React.FC; + +export default TableToolbarAction; diff --git a/types/carbon-components-react/components/DataTable/TableToolbarContent.d.ts b/types/carbon-components-react/lib/components/DataTable/TableToolbarContent.d.ts similarity index 82% rename from types/carbon-components-react/components/DataTable/TableToolbarContent.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableToolbarContent.d.ts index b4d0fb4729..ee7994c085 100644 --- a/types/carbon-components-react/components/DataTable/TableToolbarContent.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableToolbarContent.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/DataTable/TableToolbarMenu.d.ts b/types/carbon-components-react/lib/components/DataTable/TableToolbarMenu.d.ts similarity index 84% rename from types/carbon-components-react/components/DataTable/TableToolbarMenu.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableToolbarMenu.d.ts index a8b78b116c..48b8aa4f83 100644 --- a/types/carbon-components-react/components/DataTable/TableToolbarMenu.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableToolbarMenu.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { RequiresChildrenProps } from "../../typings/shared"; +import { RequiresChildrenProps } from "../../../typings/shared"; import { OverflowMenuProps } from "../OverflowMenu"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/DataTable/TableToolbarSearch.d.ts b/types/carbon-components-react/lib/components/DataTable/TableToolbarSearch.d.ts similarity index 91% rename from types/carbon-components-react/components/DataTable/TableToolbarSearch.d.ts rename to types/carbon-components-react/lib/components/DataTable/TableToolbarSearch.d.ts index a6440dbdf0..0e5af23151 100644 --- a/types/carbon-components-react/components/DataTable/TableToolbarSearch.d.ts +++ b/types/carbon-components-react/lib/components/DataTable/TableToolbarSearch.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactAttr } from "../../typings/shared"; +import { InternationalProps, ReactAttr } from "../../../typings/shared"; import { SearchProps } from "../Search"; type ExcludedAttributes = "aria-hidden" | "labelText" | "small"; diff --git a/types/carbon-components-react/components/DataTable/index.d.ts b/types/carbon-components-react/lib/components/DataTable/index.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/index.d.ts rename to types/carbon-components-react/lib/components/DataTable/index.d.ts diff --git a/types/carbon-components-react/components/DataTable/state/sorting.d.ts b/types/carbon-components-react/lib/components/DataTable/state/sorting.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTable/state/sorting.d.ts rename to types/carbon-components-react/lib/components/DataTable/state/sorting.d.ts diff --git a/types/carbon-components-react/components/DataTableSkeleton/DataTableSkeleton.d.ts b/types/carbon-components-react/lib/components/DataTableSkeleton/DataTableSkeleton.d.ts similarity index 91% rename from types/carbon-components-react/components/DataTableSkeleton/DataTableSkeleton.d.ts rename to types/carbon-components-react/lib/components/DataTableSkeleton/DataTableSkeleton.d.ts index 1144f6a1de..134fd7c5ff 100644 --- a/types/carbon-components-react/components/DataTableSkeleton/DataTableSkeleton.d.ts +++ b/types/carbon-components-react/lib/components/DataTableSkeleton/DataTableSkeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ShapeOf } from "../../typings/shared"; +import { ShapeOf } from "../../../typings/shared"; interface InheritedProps extends React.TableHTMLAttributes { } diff --git a/types/carbon-components-react/components/DataTableSkeleton/index.d.ts b/types/carbon-components-react/lib/components/DataTableSkeleton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/DataTableSkeleton/index.d.ts rename to types/carbon-components-react/lib/components/DataTableSkeleton/index.d.ts diff --git a/types/carbon-components-react/components/DatePicker/DatePicker.Skeleton.d.ts b/types/carbon-components-react/lib/components/DatePicker/DatePicker.Skeleton.d.ts similarity index 84% rename from types/carbon-components-react/components/DatePicker/DatePicker.Skeleton.d.ts rename to types/carbon-components-react/lib/components/DatePicker/DatePicker.Skeleton.d.ts index 8ca0b2487b..e266cb13fc 100644 --- a/types/carbon-components-react/components/DatePicker/DatePicker.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/DatePicker/DatePicker.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactAttr["id"], diff --git a/types/carbon-components-react/components/DatePicker/DatePicker.d.ts b/types/carbon-components-react/lib/components/DatePicker/DatePicker.d.ts similarity index 90% rename from types/carbon-components-react/components/DatePicker/DatePicker.d.ts rename to types/carbon-components-react/lib/components/DatePicker/DatePicker.d.ts index 0a2148e3cf..925a0852fc 100644 --- a/types/carbon-components-react/components/DatePicker/DatePicker.d.ts +++ b/types/carbon-components-react/lib/components/DatePicker/DatePicker.d.ts @@ -1,7 +1,7 @@ import { key as LocaleKey } from "flatpickr/dist/types/locale"; import { DateOption, Hook } from "flatpickr/dist/types/options"; import * as React from "react"; -import { ReactDivAttr, ThemeProps } from "../../typings/shared"; +import { ReactDivAttr, ThemeProps } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/DatePicker/index.d.ts b/types/carbon-components-react/lib/components/DatePicker/index.d.ts similarity index 100% rename from types/carbon-components-react/components/DatePicker/index.d.ts rename to types/carbon-components-react/lib/components/DatePicker/index.d.ts diff --git a/types/carbon-components-react/components/DatePickerInput/DatePickerInput.d.ts b/types/carbon-components-react/lib/components/DatePickerInput/DatePickerInput.d.ts similarity index 92% rename from types/carbon-components-react/components/DatePickerInput/DatePickerInput.d.ts rename to types/carbon-components-react/lib/components/DatePickerInput/DatePickerInput.d.ts index 8f0129a42d..6222562cb2 100644 --- a/types/carbon-components-react/components/DatePickerInput/DatePickerInput.d.ts +++ b/types/carbon-components-react/lib/components/DatePickerInput/DatePickerInput.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactInputAttr, RequiresIdProps, ValidityProps } from "../../typings/shared"; +import { EmbeddedIconProps, ReactInputAttr, RequiresIdProps, ValidityProps } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/DatePickerInput/index.d.ts b/types/carbon-components-react/lib/components/DatePickerInput/index.d.ts similarity index 100% rename from types/carbon-components-react/components/DatePickerInput/index.d.ts rename to types/carbon-components-react/lib/components/DatePickerInput/index.d.ts diff --git a/types/carbon-components-react/components/Dropdown/Dropdown.Skeleton.d.ts b/types/carbon-components-react/lib/components/Dropdown/Dropdown.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Dropdown/Dropdown.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Dropdown/Dropdown.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Dropdown/Dropdown.d.ts b/types/carbon-components-react/lib/components/Dropdown/Dropdown.d.ts similarity index 94% rename from types/carbon-components-react/components/Dropdown/Dropdown.d.ts rename to types/carbon-components-react/lib/components/Dropdown/Dropdown.d.ts index 89d8c845d0..6ceb9e51f5 100644 --- a/types/carbon-components-react/components/Dropdown/Dropdown.d.ts +++ b/types/carbon-components-react/lib/components/Dropdown/Dropdown.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { DownshiftTypedProps, InternationalProps, ReactInputAttr, ThemeProps, ValidityProps } from "../../typings/shared"; +import { DownshiftTypedProps, InternationalProps, ReactInputAttr, ThemeProps, ValidityProps } from "../../../typings/shared"; import { ListBoxProps } from "../ListBox"; import { ListBoxMenuIconTranslationKey } from "../ListBox/ListBoxMenuIcon"; diff --git a/types/carbon-components-react/components/Dropdown/index.d.ts b/types/carbon-components-react/lib/components/Dropdown/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Dropdown/index.d.ts rename to types/carbon-components-react/lib/components/Dropdown/index.d.ts diff --git a/types/carbon-components-react/components/FileUploader/FileUploader.Skeleton.d.ts b/types/carbon-components-react/lib/components/FileUploader/FileUploader.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/FileUploader/FileUploader.Skeleton.d.ts rename to types/carbon-components-react/lib/components/FileUploader/FileUploader.Skeleton.d.ts diff --git a/types/carbon-components-react/components/FileUploader/FileUploader.d.ts b/types/carbon-components-react/lib/components/FileUploader/FileUploader.d.ts similarity index 97% rename from types/carbon-components-react/components/FileUploader/FileUploader.d.ts rename to types/carbon-components-react/lib/components/FileUploader/FileUploader.d.ts index 3137a35934..8d4afdd11a 100644 --- a/types/carbon-components-react/components/FileUploader/FileUploader.d.ts +++ b/types/carbon-components-react/lib/components/FileUploader/FileUploader.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../../typings/shared"; import { ButtonKind } from "../Button"; interface SharedProps { diff --git a/types/carbon-components-react/components/FileUploader/index.d.ts b/types/carbon-components-react/lib/components/FileUploader/index.d.ts similarity index 100% rename from types/carbon-components-react/components/FileUploader/index.d.ts rename to types/carbon-components-react/lib/components/FileUploader/index.d.ts diff --git a/types/carbon-components-react/components/Form/Form.d.ts b/types/carbon-components-react/lib/components/Form/Form.d.ts similarity index 100% rename from types/carbon-components-react/components/Form/Form.d.ts rename to types/carbon-components-react/lib/components/Form/Form.d.ts diff --git a/types/carbon-components-react/components/Form/index.d.ts b/types/carbon-components-react/lib/components/Form/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Form/index.d.ts rename to types/carbon-components-react/lib/components/Form/index.d.ts diff --git a/types/carbon-components-react/components/FormGroup/FormGroup.d.ts b/types/carbon-components-react/lib/components/FormGroup/FormGroup.d.ts similarity index 86% rename from types/carbon-components-react/components/FormGroup/FormGroup.d.ts rename to types/carbon-components-react/lib/components/FormGroup/FormGroup.d.ts index e2dfc5dd19..8c763cbf27 100644 --- a/types/carbon-components-react/components/FormGroup/FormGroup.d.ts +++ b/types/carbon-components-react/lib/components/FormGroup/FormGroup.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ValidityProps } from "../../typings/shared"; +import { ValidityProps } from "../../../typings/shared"; interface InheritedProps extends React.FieldsetHTMLAttributes { invalid?: ValidityProps["invalid"], diff --git a/types/carbon-components-react/components/FormGroup/index.d.ts b/types/carbon-components-react/lib/components/FormGroup/index.d.ts similarity index 100% rename from types/carbon-components-react/components/FormGroup/index.d.ts rename to types/carbon-components-react/lib/components/FormGroup/index.d.ts diff --git a/types/carbon-components-react/components/FormItem/FormItem.d.ts b/types/carbon-components-react/lib/components/FormItem/FormItem.d.ts similarity index 79% rename from types/carbon-components-react/components/FormItem/FormItem.d.ts rename to types/carbon-components-react/lib/components/FormItem/FormItem.d.ts index d785826ff9..f67e73945d 100644 --- a/types/carbon-components-react/components/FormItem/FormItem.d.ts +++ b/types/carbon-components-react/lib/components/FormItem/FormItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/FormItem/index.d.ts b/types/carbon-components-react/lib/components/FormItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/FormItem/index.d.ts rename to types/carbon-components-react/lib/components/FormItem/index.d.ts diff --git a/types/carbon-components-react/components/FormLabel/FormLabel.d.ts b/types/carbon-components-react/lib/components/FormLabel/FormLabel.d.ts similarity index 80% rename from types/carbon-components-react/components/FormLabel/FormLabel.d.ts rename to types/carbon-components-react/lib/components/FormLabel/FormLabel.d.ts index ca176ea183..2c19a0caec 100644 --- a/types/carbon-components-react/components/FormLabel/FormLabel.d.ts +++ b/types/carbon-components-react/lib/components/FormLabel/FormLabel.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/FormLabel/index.d.ts b/types/carbon-components-react/lib/components/FormLabel/index.d.ts similarity index 100% rename from types/carbon-components-react/components/FormLabel/index.d.ts rename to types/carbon-components-react/lib/components/FormLabel/index.d.ts diff --git a/types/carbon-components-react/components/Icon/Icon.Skeleton.d.ts b/types/carbon-components-react/lib/components/Icon/Icon.Skeleton.d.ts similarity index 82% rename from types/carbon-components-react/components/Icon/Icon.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Icon/Icon.Skeleton.d.ts index 34d351492b..113242702a 100644 --- a/types/carbon-components-react/components/Icon/Icon.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Icon/Icon.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { style?: ReactAttr["style"], diff --git a/types/carbon-components-react/components/Icon/Icon.d.ts b/types/carbon-components-react/lib/components/Icon/Icon.d.ts similarity index 100% rename from types/carbon-components-react/components/Icon/Icon.d.ts rename to types/carbon-components-react/lib/components/Icon/Icon.d.ts diff --git a/types/carbon-components-react/components/Icon/index.d.ts b/types/carbon-components-react/lib/components/Icon/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Icon/index.d.ts rename to types/carbon-components-react/lib/components/Icon/index.d.ts diff --git a/types/carbon-components-react/components/InlineCheckbox/InlineCheckbox.d.ts b/types/carbon-components-react/lib/components/InlineCheckbox/InlineCheckbox.d.ts similarity index 89% rename from types/carbon-components-react/components/InlineCheckbox/InlineCheckbox.d.ts rename to types/carbon-components-react/lib/components/InlineCheckbox/InlineCheckbox.d.ts index c2ba0cba27..1e7d3f001f 100644 --- a/types/carbon-components-react/components/InlineCheckbox/InlineCheckbox.d.ts +++ b/types/carbon-components-react/lib/components/InlineCheckbox/InlineCheckbox.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-label" | "className" | "id" | "onChange" | "ref" | "type"; diff --git a/types/carbon-components-react/components/InlineCheckbox/index.d.ts b/types/carbon-components-react/lib/components/InlineCheckbox/index.d.ts similarity index 100% rename from types/carbon-components-react/components/InlineCheckbox/index.d.ts rename to types/carbon-components-react/lib/components/InlineCheckbox/index.d.ts diff --git a/types/carbon-components-react/components/InlineLoading/InlineLoading.d.ts b/types/carbon-components-react/lib/components/InlineLoading/InlineLoading.d.ts similarity index 82% rename from types/carbon-components-react/components/InlineLoading/InlineLoading.d.ts rename to types/carbon-components-react/lib/components/InlineLoading/InlineLoading.d.ts index 4bf3b11841..ce2e48441a 100644 --- a/types/carbon-components-react/components/InlineLoading/InlineLoading.d.ts +++ b/types/carbon-components-react/lib/components/InlineLoading/InlineLoading.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactDivAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr, EmbeddedIconProps { } diff --git a/types/carbon-components-react/components/InlineLoading/index.d.ts b/types/carbon-components-react/lib/components/InlineLoading/index.d.ts similarity index 100% rename from types/carbon-components-react/components/InlineLoading/index.d.ts rename to types/carbon-components-react/lib/components/InlineLoading/index.d.ts diff --git a/types/carbon-components-react/components/Link/Link.d.ts b/types/carbon-components-react/lib/components/Link/Link.d.ts similarity index 79% rename from types/carbon-components-react/components/Link/Link.d.ts rename to types/carbon-components-react/lib/components/Link/Link.d.ts index 18ae2f7652..4d3cad4360 100644 --- a/types/carbon-components-react/components/Link/Link.d.ts +++ b/types/carbon-components-react/lib/components/Link/Link.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr } from "../../typings/shared"; +import { ReactAnchorAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAnchorAttr { } diff --git a/types/carbon-components-react/components/Link/index.d.ts b/types/carbon-components-react/lib/components/Link/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Link/index.d.ts rename to types/carbon-components-react/lib/components/Link/index.d.ts diff --git a/types/carbon-components-react/components/ListBox/ListBox.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBox.d.ts similarity index 95% rename from types/carbon-components-react/components/ListBox/ListBox.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBox.d.ts index e5353d57c0..abef43797b 100644 --- a/types/carbon-components-react/components/ListBox/ListBox.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBox.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; import { ListBoxFieldComponent } from "./ListBoxField"; import { ListBoxMenuComponent } from "./ListBoxMenu"; import { ListBoxMenuIconComponent } from "./ListBoxMenuIcon"; diff --git a/types/carbon-components-react/components/ListBox/ListBoxField.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxField.d.ts similarity index 94% rename from types/carbon-components-react/components/ListBox/ListBoxField.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxField.d.ts index 983239dfd0..8e3fd6d005 100644 --- a/types/carbon-components-react/components/ListBox/ListBoxField.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBoxField.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactDivAttr, RequiresIdProps } from "../../typings/shared"; +import { InternationalProps, ReactDivAttr, RequiresIdProps } from "../../../typings/shared"; export type ListBoxFieldTranslationKey = "close.menu" | "open.menu"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/ListBox/ListBoxMenu.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxMenu.d.ts similarity index 82% rename from types/carbon-components-react/components/ListBox/ListBoxMenu.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxMenu.d.ts index 7ab50b41cb..60aa6f721b 100644 --- a/types/carbon-components-react/components/ListBox/ListBoxMenu.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBoxMenu.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactDivAttr, RequiresIdProps } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/ListBox/ListBoxMenuIcon.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxMenuIcon.d.ts similarity index 88% rename from types/carbon-components-react/components/ListBox/ListBoxMenuIcon.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxMenuIcon.d.ts index 461efd86e5..60b93a034b 100644 --- a/types/carbon-components-react/components/ListBox/ListBoxMenuIcon.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBoxMenuIcon.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps } from "../../typings/shared"; +import { InternationalProps } from "../../../typings/shared"; export type ListBoxMenuIconTranslationKey = "close.menu" | "open.menu"; interface InheritedProps extends InternationalProps { } diff --git a/types/carbon-components-react/components/ListBox/ListBoxMenuItem.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxMenuItem.d.ts similarity index 88% rename from types/carbon-components-react/components/ListBox/ListBoxMenuItem.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxMenuItem.d.ts index 54359f6e50..e0fd08d819 100644 --- a/types/carbon-components-react/components/ListBox/ListBoxMenuItem.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBoxMenuItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/ListBox/ListBoxPropTypes.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxPropTypes.d.ts similarity index 100% rename from types/carbon-components-react/components/ListBox/ListBoxPropTypes.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxPropTypes.d.ts diff --git a/types/carbon-components-react/components/ListBox/ListBoxSelection.d.ts b/types/carbon-components-react/lib/components/ListBox/ListBoxSelection.d.ts similarity index 90% rename from types/carbon-components-react/components/ListBox/ListBoxSelection.d.ts rename to types/carbon-components-react/lib/components/ListBox/ListBoxSelection.d.ts index eb45865b34..7ca0dccb06 100644 --- a/types/carbon-components-react/components/ListBox/ListBoxSelection.d.ts +++ b/types/carbon-components-react/lib/components/ListBox/ListBoxSelection.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps } from "../../typings/shared"; +import { InternationalProps } from "../../../typings/shared"; export type ListBoxSelectionTranslationKey = "clear.all" | "clear.selection"; interface InheritedProps extends InternationalProps { } diff --git a/types/carbon-components-react/components/ListBox/index.d.ts b/types/carbon-components-react/lib/components/ListBox/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ListBox/index.d.ts rename to types/carbon-components-react/lib/components/ListBox/index.d.ts diff --git a/types/carbon-components-react/components/ListItem/ListItem.d.ts b/types/carbon-components-react/lib/components/ListItem/ListItem.d.ts similarity index 79% rename from types/carbon-components-react/components/ListItem/ListItem.d.ts rename to types/carbon-components-react/lib/components/ListItem/ListItem.d.ts index 07cd30ee1d..8d5be8fb7f 100644 --- a/types/carbon-components-react/components/ListItem/ListItem.d.ts +++ b/types/carbon-components-react/lib/components/ListItem/ListItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLIAttr } from "../../typings/shared"; +import { ReactLIAttr } from "../../../typings/shared"; interface InheritedProps extends ReactLIAttr { } diff --git a/types/carbon-components-react/components/ListItem/index.d.ts b/types/carbon-components-react/lib/components/ListItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ListItem/index.d.ts rename to types/carbon-components-react/lib/components/ListItem/index.d.ts diff --git a/types/carbon-components-react/components/Loading/Loading.d.ts b/types/carbon-components-react/lib/components/Loading/Loading.d.ts similarity index 85% rename from types/carbon-components-react/components/Loading/Loading.d.ts rename to types/carbon-components-react/lib/components/Loading/Loading.d.ts index 46de4dd2f0..f9fd31fe9b 100644 --- a/types/carbon-components-react/components/Loading/Loading.d.ts +++ b/types/carbon-components-react/lib/components/Loading/Loading.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr, SizingProps } from "../../typings/shared"; +import { ReactDivAttr, SizingProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-label" | "aria-live"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Loading/index.d.ts b/types/carbon-components-react/lib/components/Loading/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Loading/index.d.ts rename to types/carbon-components-react/lib/components/Loading/index.d.ts diff --git a/types/carbon-components-react/components/Modal/Modal.d.ts b/types/carbon-components-react/lib/components/Modal/Modal.d.ts similarity index 93% rename from types/carbon-components-react/components/Modal/Modal.d.ts rename to types/carbon-components-react/lib/components/Modal/Modal.d.ts index 6de7395ac3..1570fec5f0 100644 --- a/types/carbon-components-react/components/Modal/Modal.d.ts +++ b/types/carbon-components-react/lib/components/Modal/Modal.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactDivAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactDivAttr } from "../../../typings/shared"; type ExcludedAttributes = "role" | "tabIndex" | "onBlur" | "onClick" | "onKeyDown" | "onTransitionEnd" | "ref"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Modal/index.d.ts b/types/carbon-components-react/lib/components/Modal/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Modal/index.d.ts rename to types/carbon-components-react/lib/components/Modal/index.d.ts diff --git a/types/carbon-components-react/components/ModalWrapper/ModalWrapper.d.ts b/types/carbon-components-react/lib/components/ModalWrapper/ModalWrapper.d.ts similarity index 100% rename from types/carbon-components-react/components/ModalWrapper/ModalWrapper.d.ts rename to types/carbon-components-react/lib/components/ModalWrapper/ModalWrapper.d.ts diff --git a/types/carbon-components-react/components/ModalWrapper/index.d.ts b/types/carbon-components-react/lib/components/ModalWrapper/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ModalWrapper/index.d.ts rename to types/carbon-components-react/lib/components/ModalWrapper/index.d.ts diff --git a/types/carbon-components-react/components/MultiSelect/FilterableMultiSelect.d.ts b/types/carbon-components-react/lib/components/MultiSelect/FilterableMultiSelect.d.ts similarity index 97% rename from types/carbon-components-react/components/MultiSelect/FilterableMultiSelect.d.ts rename to types/carbon-components-react/lib/components/MultiSelect/FilterableMultiSelect.d.ts index 4b6fefdc24..a2a00ed289 100644 --- a/types/carbon-components-react/components/MultiSelect/FilterableMultiSelect.d.ts +++ b/types/carbon-components-react/lib/components/MultiSelect/FilterableMultiSelect.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { DownshiftTypedProps, ListBoxBaseItemType } from "../../typings/shared"; +import { DownshiftTypedProps, ListBoxBaseItemType } from "../../../typings/shared"; import { MultiSelectProps } from "./MultiSelect"; interface InheritedProps extends MultiSelectProps { } diff --git a/types/carbon-components-react/components/MultiSelect/MultiSelect.d.ts b/types/carbon-components-react/lib/components/MultiSelect/MultiSelect.d.ts similarity index 93% rename from types/carbon-components-react/components/MultiSelect/MultiSelect.d.ts rename to types/carbon-components-react/lib/components/MultiSelect/MultiSelect.d.ts index 22b6ad949b..734b792eed 100644 --- a/types/carbon-components-react/components/MultiSelect/MultiSelect.d.ts +++ b/types/carbon-components-react/lib/components/MultiSelect/MultiSelect.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { DownshiftTypedProps, InternationalProps, ListBoxBaseItemType, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { DownshiftTypedProps, InternationalProps, ListBoxBaseItemType, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; import { ListBoxProps } from "../ListBox"; import { ListBoxMenuIconTranslationKey } from "../ListBox/ListBoxMenuIcon"; import FilterableMultiSelect from "./FilterableMultiSelect"; @@ -18,6 +18,8 @@ interface InheritedProps extends } export interface MultiSelectProps extends InheritedProps { + downshiftProps?: any, // TODO + initialSelectedItems?: T[], inline?: boolean, label?: React.ReactNode, locale?: string, diff --git a/types/carbon-components-react/components/MultiSelect/MultiSelectPropTypes.d.ts b/types/carbon-components-react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts similarity index 88% rename from types/carbon-components-react/components/MultiSelect/MultiSelectPropTypes.d.ts rename to types/carbon-components-react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts index 5f1a0ee47e..8b5532e8d9 100644 --- a/types/carbon-components-react/components/MultiSelect/MultiSelectPropTypes.d.ts +++ b/types/carbon-components-react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts @@ -1,4 +1,4 @@ -import { DownshiftTypedProps, ListBoxBaseItemType } from "../../typings/shared"; +import { DownshiftTypedProps, ListBoxBaseItemType } from "../../../typings/shared"; interface SharedOptions { locale: string, @@ -13,5 +13,3 @@ export interface MultiSelectSortingProps, options: SortItemsOptions): ItemType[], // required but has default value } - -export declare const sortingPropTypes: MultiSelectSortingProps; diff --git a/types/carbon-components-react/components/MultiSelect/index.d.ts b/types/carbon-components-react/lib/components/MultiSelect/index.d.ts similarity index 100% rename from types/carbon-components-react/components/MultiSelect/index.d.ts rename to types/carbon-components-react/lib/components/MultiSelect/index.d.ts diff --git a/types/carbon-components-react/components/Notification/Notification.d.ts b/types/carbon-components-react/lib/components/Notification/Notification.d.ts similarity index 98% rename from types/carbon-components-react/components/Notification/Notification.d.ts rename to types/carbon-components-react/lib/components/Notification/Notification.d.ts index 8ad7d4ada0..316640ebd6 100644 --- a/types/carbon-components-react/components/Notification/Notification.d.ts +++ b/types/carbon-components-react/lib/components/Notification/Notification.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactAttr, ReactButtonAttr, ReactDivAttr, RenderIconProps } from "../../typings/shared"; +import { EmbeddedIconProps, ReactAttr, ReactButtonAttr, ReactDivAttr, RenderIconProps } from "../../../typings/shared"; import { ButtonProps } from "../Button"; export type NotificationType = "inline" | "toast"; diff --git a/types/carbon-components-react/components/Notification/a11yIconWarningSolid.d.ts b/types/carbon-components-react/lib/components/Notification/a11yIconWarningSolid.d.ts similarity index 100% rename from types/carbon-components-react/components/Notification/a11yIconWarningSolid.d.ts rename to types/carbon-components-react/lib/components/Notification/a11yIconWarningSolid.d.ts diff --git a/types/carbon-components-react/components/Notification/index.d.ts b/types/carbon-components-react/lib/components/Notification/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Notification/index.d.ts rename to types/carbon-components-react/lib/components/Notification/index.d.ts diff --git a/types/carbon-components-react/components/NumberInput/NumberInput.Skeleton.d.ts b/types/carbon-components-react/lib/components/NumberInput/NumberInput.Skeleton.d.ts similarity index 84% rename from types/carbon-components-react/components/NumberInput/NumberInput.Skeleton.d.ts rename to types/carbon-components-react/lib/components/NumberInput/NumberInput.Skeleton.d.ts index 16ac1df5af..4ece30a106 100644 --- a/types/carbon-components-react/components/NumberInput/NumberInput.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/NumberInput/NumberInput.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactAttr["id"], diff --git a/types/carbon-components-react/components/NumberInput/NumberInput.d.ts b/types/carbon-components-react/lib/components/NumberInput/NumberInput.d.ts similarity index 90% rename from types/carbon-components-react/components/NumberInput/NumberInput.d.ts rename to types/carbon-components-react/lib/components/NumberInput/NumberInput.d.ts index f0ad1edc0f..d8940b98b3 100644 --- a/types/carbon-components-react/components/NumberInput/NumberInput.d.ts +++ b/types/carbon-components-react/lib/components/NumberInput/NumberInput.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, InternationalProps, ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { EmbeddedIconProps, InternationalProps, ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-label" | "id" | "ref"; export type NumberInputTranslationKey = "decrement.number" | "increment.number"; diff --git a/types/carbon-components-react/components/NumberInput/index.d.ts b/types/carbon-components-react/lib/components/NumberInput/index.d.ts similarity index 100% rename from types/carbon-components-react/components/NumberInput/index.d.ts rename to types/carbon-components-react/lib/components/NumberInput/index.d.ts diff --git a/types/carbon-components-react/components/OrderedList/OrderedList.d.ts b/types/carbon-components-react/lib/components/OrderedList/OrderedList.d.ts similarity index 100% rename from types/carbon-components-react/components/OrderedList/OrderedList.d.ts rename to types/carbon-components-react/lib/components/OrderedList/OrderedList.d.ts diff --git a/types/carbon-components-react/components/OrderedList/index.d.ts b/types/carbon-components-react/lib/components/OrderedList/index.d.ts similarity index 100% rename from types/carbon-components-react/components/OrderedList/index.d.ts rename to types/carbon-components-react/lib/components/OrderedList/index.d.ts diff --git a/types/carbon-components-react/components/OverflowMenu/OverflowMenu.d.ts b/types/carbon-components-react/lib/components/OverflowMenu/OverflowMenu.d.ts similarity index 94% rename from types/carbon-components-react/components/OverflowMenu/OverflowMenu.d.ts rename to types/carbon-components-react/lib/components/OverflowMenu/OverflowMenu.d.ts index 571e1f6e29..f730004ce6 100644 --- a/types/carbon-components-react/components/OverflowMenu/OverflowMenu.d.ts +++ b/types/carbon-components-react/lib/components/OverflowMenu/OverflowMenu.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { Direction, EmbeddedIconProps, MenuOffsetData, ReactAttr, ReactDivAttr, RenderIconProps } from "../../typings/shared"; +import { Direction, EmbeddedIconProps, MenuOffsetData, ReactAttr, ReactDivAttr, RenderIconProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-expanded" | "aria-haspopup" | "aria-label" | "onBlur" | "onClick" | "onKeyDown" | "onKeyPress" | "role"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/OverflowMenu/index.d.ts b/types/carbon-components-react/lib/components/OverflowMenu/index.d.ts similarity index 100% rename from types/carbon-components-react/components/OverflowMenu/index.d.ts rename to types/carbon-components-react/lib/components/OverflowMenu/index.d.ts diff --git a/types/carbon-components-react/components/OverflowMenuItem/OverflowMenuItem.d.ts b/types/carbon-components-react/lib/components/OverflowMenuItem/OverflowMenuItem.d.ts similarity index 93% rename from types/carbon-components-react/components/OverflowMenuItem/OverflowMenuItem.d.ts rename to types/carbon-components-react/lib/components/OverflowMenuItem/OverflowMenuItem.d.ts index 9561317753..bd93b3c3ad 100644 --- a/types/carbon-components-react/components/OverflowMenuItem/OverflowMenuItem.d.ts +++ b/types/carbon-components-react/lib/components/OverflowMenuItem/OverflowMenuItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, ReactButtonAttr } from "../../typings/shared"; +import { ReactAnchorAttr, ReactButtonAttr } from "../../../typings/shared"; type ExcludedAttributes = "disabled" | "href" | "onClick" | "onKeyDown" | "ref" | "title" | "tabIndex"; diff --git a/types/carbon-components-react/components/OverflowMenuItem/index.d.ts b/types/carbon-components-react/lib/components/OverflowMenuItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/OverflowMenuItem/index.d.ts rename to types/carbon-components-react/lib/components/OverflowMenuItem/index.d.ts diff --git a/types/carbon-components-react/components/Pagination/Pagination.Skeleton.d.ts b/types/carbon-components-react/lib/components/Pagination/Pagination.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Pagination/Pagination.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Pagination/Pagination.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Pagination/Pagination.d.ts b/types/carbon-components-react/lib/components/Pagination/Pagination.d.ts similarity index 93% rename from types/carbon-components-react/components/Pagination/Pagination.d.ts rename to types/carbon-components-react/lib/components/Pagination/Pagination.d.ts index 472693ad5c..4e3472af59 100644 --- a/types/carbon-components-react/components/Pagination/Pagination.d.ts +++ b/types/carbon-components-react/lib/components/Pagination/Pagination.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; type ExcludedAttributes = "id" | "onChange"; interface InheritedProps extends Omit { diff --git a/types/carbon-components-react/components/Pagination/index.d.ts b/types/carbon-components-react/lib/components/Pagination/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Pagination/index.d.ts rename to types/carbon-components-react/lib/components/Pagination/index.d.ts diff --git a/types/carbon-components-react/components/PrimaryButton/PrimaryButton.d.ts b/types/carbon-components-react/lib/components/PrimaryButton/PrimaryButton.d.ts similarity index 100% rename from types/carbon-components-react/components/PrimaryButton/PrimaryButton.d.ts rename to types/carbon-components-react/lib/components/PrimaryButton/PrimaryButton.d.ts diff --git a/types/carbon-components-react/components/PrimaryButton/index.d.ts b/types/carbon-components-react/lib/components/PrimaryButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/PrimaryButton/index.d.ts rename to types/carbon-components-react/lib/components/PrimaryButton/index.d.ts diff --git a/types/carbon-components-react/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts b/types/carbon-components-react/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts rename to types/carbon-components-react/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts diff --git a/types/carbon-components-react/components/ProgressIndicator/ProgressIndicator.d.ts b/types/carbon-components-react/lib/components/ProgressIndicator/ProgressIndicator.d.ts similarity index 98% rename from types/carbon-components-react/components/ProgressIndicator/ProgressIndicator.d.ts rename to types/carbon-components-react/lib/components/ProgressIndicator/ProgressIndicator.d.ts index 0af08c3046..8be9790f98 100644 --- a/types/carbon-components-react/components/ProgressIndicator/ProgressIndicator.d.ts +++ b/types/carbon-components-react/lib/components/ProgressIndicator/ProgressIndicator.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactInputAttr, ValidityProps } from "../../typings/shared"; +import { ReactAttr, ReactInputAttr, ValidityProps } from "../../../typings/shared"; // ProgressStep diff --git a/types/carbon-components-react/components/ProgressIndicator/index.d.ts b/types/carbon-components-react/lib/components/ProgressIndicator/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ProgressIndicator/index.d.ts rename to types/carbon-components-react/lib/components/ProgressIndicator/index.d.ts diff --git a/types/carbon-components-react/components/RadioButton/RadioButton.Skeleton.d.ts b/types/carbon-components-react/lib/components/RadioButton/RadioButton.Skeleton.d.ts similarity index 83% rename from types/carbon-components-react/components/RadioButton/RadioButton.Skeleton.d.ts rename to types/carbon-components-react/lib/components/RadioButton/RadioButton.Skeleton.d.ts index 978defea23..065f5b44be 100644 --- a/types/carbon-components-react/components/RadioButton/RadioButton.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/RadioButton/RadioButton.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/RadioButton/RadioButton.d.ts b/types/carbon-components-react/lib/components/RadioButton/RadioButton.d.ts similarity index 93% rename from types/carbon-components-react/components/RadioButton/RadioButton.d.ts rename to types/carbon-components-react/lib/components/RadioButton/RadioButton.d.ts index 3029f6bab6..1be46d36b7 100644 --- a/types/carbon-components-react/components/RadioButton/RadioButton.d.ts +++ b/types/carbon-components-react/lib/components/RadioButton/RadioButton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr } from "../../typings/shared"; +import { ReactInputAttr } from "../../../typings/shared"; type ExcludedAttributes = "onChange" | "ref" | "type"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/RadioButton/index.d.ts b/types/carbon-components-react/lib/components/RadioButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/RadioButton/index.d.ts rename to types/carbon-components-react/lib/components/RadioButton/index.d.ts diff --git a/types/carbon-components-react/components/RadioButtonGroup/RadioButtonGroup.d.ts b/types/carbon-components-react/lib/components/RadioButtonGroup/RadioButtonGroup.d.ts similarity index 91% rename from types/carbon-components-react/components/RadioButtonGroup/RadioButtonGroup.d.ts rename to types/carbon-components-react/lib/components/RadioButtonGroup/RadioButtonGroup.d.ts index 53658ef37a..29b9ef11ea 100644 --- a/types/carbon-components-react/components/RadioButtonGroup/RadioButtonGroup.d.ts +++ b/types/carbon-components-react/lib/components/RadioButtonGroup/RadioButtonGroup.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactInputAttr } from "../../typings/shared"; +import { ReactAttr, ReactInputAttr } from "../../../typings/shared"; import { RadioButtonValue } from "../RadioButton"; interface InheritedProps { diff --git a/types/carbon-components-react/components/RadioButtonGroup/index.d.ts b/types/carbon-components-react/lib/components/RadioButtonGroup/index.d.ts similarity index 100% rename from types/carbon-components-react/components/RadioButtonGroup/index.d.ts rename to types/carbon-components-react/lib/components/RadioButtonGroup/index.d.ts diff --git a/types/carbon-components-react/components/RadioTile/RadioTile.d.ts b/types/carbon-components-react/lib/components/RadioTile/RadioTile.d.ts similarity index 89% rename from types/carbon-components-react/components/RadioTile/RadioTile.d.ts rename to types/carbon-components-react/lib/components/RadioTile/RadioTile.d.ts index b617ff6206..7283765e35 100644 --- a/types/carbon-components-react/components/RadioTile/RadioTile.d.ts +++ b/types/carbon-components-react/lib/components/RadioTile/RadioTile.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactInputAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactInputAttr } from "../../../typings/shared"; import { RadioButtonValue } from "../RadioButton"; type ExcludedAttributes = "onChange" | "type" | "value"; diff --git a/types/carbon-components-react/components/RadioTile/index.d.ts b/types/carbon-components-react/lib/components/RadioTile/index.d.ts similarity index 100% rename from types/carbon-components-react/components/RadioTile/index.d.ts rename to types/carbon-components-react/lib/components/RadioTile/index.d.ts diff --git a/types/carbon-components-react/components/Search/Search.Skeleton.d.ts b/types/carbon-components-react/lib/components/Search/Search.Skeleton.d.ts similarity index 80% rename from types/carbon-components-react/components/Search/Search.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Search/Search.Skeleton.d.ts index 1d60adec89..1fdd327fea 100644 --- a/types/carbon-components-react/components/Search/Search.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Search/Search.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr, SizingProps } from "../../typings/shared"; +import { ReactLabelAttr, SizingProps } from "../../../typings/shared"; interface InheritedProps extends SizingProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/Search/Search.d.ts b/types/carbon-components-react/lib/components/Search/Search.d.ts similarity index 88% rename from types/carbon-components-react/components/Search/Search.d.ts rename to types/carbon-components-react/lib/components/Search/Search.d.ts index a1f53726b0..55f22d8a1b 100644 --- a/types/carbon-components-react/components/Search/Search.d.ts +++ b/types/carbon-components-react/lib/components/Search/Search.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, SizingProps } from "../../typings/shared"; +import { ReactInputAttr, SizingProps } from "../../../typings/shared"; type ExcludedAttributes = "defaultValue" | "placeholder" | "ref" | "value"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Search/index.d.ts b/types/carbon-components-react/lib/components/Search/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Search/index.d.ts rename to types/carbon-components-react/lib/components/Search/index.d.ts diff --git a/types/carbon-components-react/components/SearchFilterButton/SearchFilterButton.d.ts b/types/carbon-components-react/lib/components/SearchFilterButton/SearchFilterButton.d.ts similarity index 79% rename from types/carbon-components-react/components/SearchFilterButton/SearchFilterButton.d.ts rename to types/carbon-components-react/lib/components/SearchFilterButton/SearchFilterButton.d.ts index 071d5579e7..815572e6d9 100644 --- a/types/carbon-components-react/components/SearchFilterButton/SearchFilterButton.d.ts +++ b/types/carbon-components-react/lib/components/SearchFilterButton/SearchFilterButton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactButtonAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactButtonAttr } from "../../../typings/shared"; interface InheritedProps extends ReactButtonAttr, EmbeddedIconProps { } diff --git a/types/carbon-components-react/components/SearchFilterButton/index.d.ts b/types/carbon-components-react/lib/components/SearchFilterButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SearchFilterButton/index.d.ts rename to types/carbon-components-react/lib/components/SearchFilterButton/index.d.ts diff --git a/types/carbon-components-react/components/SearchLayoutButton/SearchLayoutButton.d.ts b/types/carbon-components-react/lib/components/SearchLayoutButton/SearchLayoutButton.d.ts similarity index 100% rename from types/carbon-components-react/components/SearchLayoutButton/SearchLayoutButton.d.ts rename to types/carbon-components-react/lib/components/SearchLayoutButton/SearchLayoutButton.d.ts diff --git a/types/carbon-components-react/components/SearchLayoutButton/index.d.ts b/types/carbon-components-react/lib/components/SearchLayoutButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SearchLayoutButton/index.d.ts rename to types/carbon-components-react/lib/components/SearchLayoutButton/index.d.ts diff --git a/types/carbon-components-react/components/SecondaryButton/SecondaryButton.d.ts b/types/carbon-components-react/lib/components/SecondaryButton/SecondaryButton.d.ts similarity index 100% rename from types/carbon-components-react/components/SecondaryButton/SecondaryButton.d.ts rename to types/carbon-components-react/lib/components/SecondaryButton/SecondaryButton.d.ts diff --git a/types/carbon-components-react/components/SecondaryButton/index.d.ts b/types/carbon-components-react/lib/components/SecondaryButton/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SecondaryButton/index.d.ts rename to types/carbon-components-react/lib/components/SecondaryButton/index.d.ts diff --git a/types/carbon-components-react/components/Select/Select.Skeleton.d.ts b/types/carbon-components-react/lib/components/Select/Select.Skeleton.d.ts similarity index 82% rename from types/carbon-components-react/components/Select/Select.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Select/Select.Skeleton.d.ts index 4b25a487a1..2d6511c572 100644 --- a/types/carbon-components-react/components/Select/Select.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Select/Select.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/Select/Select.d.ts b/types/carbon-components-react/lib/components/Select/Select.d.ts similarity index 94% rename from types/carbon-components-react/components/Select/Select.d.ts rename to types/carbon-components-react/lib/components/Select/Select.d.ts index 846ff7e863..c8f8470724 100644 --- a/types/carbon-components-react/components/Select/Select.d.ts +++ b/types/carbon-components-react/lib/components/Select/Select.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { EmbeddedIconProps, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-invalid" | "id" | "ref"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Select/index.d.ts b/types/carbon-components-react/lib/components/Select/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Select/index.d.ts rename to types/carbon-components-react/lib/components/Select/index.d.ts diff --git a/types/carbon-components-react/components/SelectItem/SelectItem.d.ts b/types/carbon-components-react/lib/components/SelectItem/SelectItem.d.ts similarity index 100% rename from types/carbon-components-react/components/SelectItem/SelectItem.d.ts rename to types/carbon-components-react/lib/components/SelectItem/SelectItem.d.ts diff --git a/types/carbon-components-react/components/SelectItem/index.d.ts b/types/carbon-components-react/lib/components/SelectItem/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SelectItem/index.d.ts rename to types/carbon-components-react/lib/components/SelectItem/index.d.ts diff --git a/types/carbon-components-react/components/SelectItemGroup/SelectItemGroup.d.ts b/types/carbon-components-react/lib/components/SelectItemGroup/SelectItemGroup.d.ts similarity index 100% rename from types/carbon-components-react/components/SelectItemGroup/SelectItemGroup.d.ts rename to types/carbon-components-react/lib/components/SelectItemGroup/SelectItemGroup.d.ts diff --git a/types/carbon-components-react/components/SelectItemGroup/index.d.ts b/types/carbon-components-react/lib/components/SelectItemGroup/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SelectItemGroup/index.d.ts rename to types/carbon-components-react/lib/components/SelectItemGroup/index.d.ts diff --git a/types/carbon-components-react/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts b/types/carbon-components-react/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts similarity index 82% rename from types/carbon-components-react/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts rename to types/carbon-components-react/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts index e3f492cd55..d4b6581c45 100644 --- a/types/carbon-components-react/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts +++ b/types/carbon-components-react/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/SkeletonPlaceholder/index.d.ts b/types/carbon-components-react/lib/components/SkeletonPlaceholder/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SkeletonPlaceholder/index.d.ts rename to types/carbon-components-react/lib/components/SkeletonPlaceholder/index.d.ts diff --git a/types/carbon-components-react/components/SkeletonText/SkeletonText.d.ts b/types/carbon-components-react/lib/components/SkeletonText/SkeletonText.d.ts similarity index 86% rename from types/carbon-components-react/components/SkeletonText/SkeletonText.d.ts rename to types/carbon-components-react/lib/components/SkeletonText/SkeletonText.d.ts index 8bcf039ac1..b6eb824855 100644 --- a/types/carbon-components-react/components/SkeletonText/SkeletonText.d.ts +++ b/types/carbon-components-react/lib/components/SkeletonText/SkeletonText.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/SkeletonText/index.d.ts b/types/carbon-components-react/lib/components/SkeletonText/index.d.ts similarity index 100% rename from types/carbon-components-react/components/SkeletonText/index.d.ts rename to types/carbon-components-react/lib/components/SkeletonText/index.d.ts diff --git a/types/carbon-components-react/components/Slider/Slider.Skeleton.d.ts b/types/carbon-components-react/lib/components/Slider/Slider.Skeleton.d.ts similarity index 83% rename from types/carbon-components-react/components/Slider/Slider.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Slider/Slider.Skeleton.d.ts index 95e97fe372..053ab42259 100644 --- a/types/carbon-components-react/components/Slider/Slider.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Slider/Slider.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactAttr["id"], diff --git a/types/carbon-components-react/components/Slider/Slider.d.ts b/types/carbon-components-react/lib/components/Slider/Slider.d.ts similarity index 97% rename from types/carbon-components-react/components/Slider/Slider.d.ts rename to types/carbon-components-react/lib/components/Slider/Slider.d.ts index 82019166d1..0a2db3cc02 100644 --- a/types/carbon-components-react/components/Slider/Slider.d.ts +++ b/types/carbon-components-react/lib/components/Slider/Slider.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr, ReactInputAttr, ThemeProps } from "../../typings/shared"; +import { ReactDivAttr, ReactInputAttr, ThemeProps } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr, ThemeProps { name?: ReactInputAttr["name"], diff --git a/types/carbon-components-react/components/Slider/index.d.ts b/types/carbon-components-react/lib/components/Slider/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Slider/index.d.ts rename to types/carbon-components-react/lib/components/Slider/index.d.ts diff --git a/types/carbon-components-react/components/StructuredList/StructuredList.Skeleton.d.ts b/types/carbon-components-react/lib/components/StructuredList/StructuredList.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/StructuredList/StructuredList.Skeleton.d.ts rename to types/carbon-components-react/lib/components/StructuredList/StructuredList.Skeleton.d.ts diff --git a/types/carbon-components-react/components/StructuredList/StructuredList.d.ts b/types/carbon-components-react/lib/components/StructuredList/StructuredList.d.ts similarity index 98% rename from types/carbon-components-react/components/StructuredList/StructuredList.d.ts rename to types/carbon-components-react/lib/components/StructuredList/StructuredList.d.ts index d945b824cb..ece914348d 100644 --- a/types/carbon-components-react/components/StructuredList/StructuredList.d.ts +++ b/types/carbon-components-react/lib/components/StructuredList/StructuredList.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../typings/shared"; +import { ReactAttr, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../../typings/shared"; // StructuredListWrapper diff --git a/types/carbon-components-react/components/StructuredList/index.d.ts b/types/carbon-components-react/lib/components/StructuredList/index.d.ts similarity index 100% rename from types/carbon-components-react/components/StructuredList/index.d.ts rename to types/carbon-components-react/lib/components/StructuredList/index.d.ts diff --git a/types/carbon-components-react/components/Switch/Switch.d.ts b/types/carbon-components-react/lib/components/Switch/Switch.d.ts similarity index 100% rename from types/carbon-components-react/components/Switch/Switch.d.ts rename to types/carbon-components-react/lib/components/Switch/Switch.d.ts diff --git a/types/carbon-components-react/components/Switch/index.d.ts b/types/carbon-components-react/lib/components/Switch/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Switch/index.d.ts rename to types/carbon-components-react/lib/components/Switch/index.d.ts diff --git a/types/carbon-components-react/components/Tab/Tab.d.ts b/types/carbon-components-react/lib/components/Tab/Tab.d.ts similarity index 93% rename from types/carbon-components-react/components/Tab/Tab.d.ts rename to types/carbon-components-react/lib/components/Tab/Tab.d.ts index d4c359d4ec..148c1d9e79 100644 --- a/types/carbon-components-react/components/Tab/Tab.d.ts +++ b/types/carbon-components-react/lib/components/Tab/Tab.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, ReactAttr, ReactLIAttr } from "../../typings/shared"; +import { ReactAnchorAttr, ReactAttr, ReactLIAttr } from "../../../typings/shared"; type ExcludedAttributes = "role" | "tabIndex"; interface InheritedProps extends Omit { diff --git a/types/carbon-components-react/components/Tab/index.d.ts b/types/carbon-components-react/lib/components/Tab/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Tab/index.d.ts rename to types/carbon-components-react/lib/components/Tab/index.d.ts diff --git a/types/carbon-components-react/components/TabContent/TabContent.d.ts b/types/carbon-components-react/lib/components/TabContent/TabContent.d.ts similarity index 82% rename from types/carbon-components-react/components/TabContent/TabContent.d.ts rename to types/carbon-components-react/lib/components/TabContent/TabContent.d.ts index e706295551..4819463ebb 100644 --- a/types/carbon-components-react/components/TabContent/TabContent.d.ts +++ b/types/carbon-components-react/lib/components/TabContent/TabContent.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/TabContent/index.d.ts b/types/carbon-components-react/lib/components/TabContent/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TabContent/index.d.ts rename to types/carbon-components-react/lib/components/TabContent/index.d.ts diff --git a/types/carbon-components-react/components/Tabs/Tabs.Skeleton.d.ts b/types/carbon-components-react/lib/components/Tabs/Tabs.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Tabs/Tabs.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Tabs/Tabs.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Tabs/Tabs.d.ts b/types/carbon-components-react/lib/components/Tabs/Tabs.d.ts similarity index 95% rename from types/carbon-components-react/components/Tabs/Tabs.d.ts rename to types/carbon-components-react/lib/components/Tabs/Tabs.d.ts index a49b4aff0a..bead764ea7 100644 --- a/types/carbon-components-react/components/Tabs/Tabs.d.ts +++ b/types/carbon-components-react/lib/components/Tabs/Tabs.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactAttr, ReactDivAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactAttr, ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr, EmbeddedIconProps { ariaLabel?: React.AriaAttributes["aria-label"], diff --git a/types/carbon-components-react/components/Tabs/index.d.ts b/types/carbon-components-react/lib/components/Tabs/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Tabs/index.d.ts rename to types/carbon-components-react/lib/components/Tabs/index.d.ts diff --git a/types/carbon-components-react/components/Tag/Tag.Skeleton.d.ts b/types/carbon-components-react/lib/components/Tag/Tag.Skeleton.d.ts similarity index 100% rename from types/carbon-components-react/components/Tag/Tag.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Tag/Tag.Skeleton.d.ts diff --git a/types/carbon-components-react/components/Tag/Tag.d.ts b/types/carbon-components-react/lib/components/Tag/Tag.d.ts similarity index 89% rename from types/carbon-components-react/components/Tag/Tag.d.ts rename to types/carbon-components-react/lib/components/Tag/Tag.d.ts index dd026e0f35..4f8dfc2835 100644 --- a/types/carbon-components-react/components/Tag/Tag.d.ts +++ b/types/carbon-components-react/lib/components/Tag/Tag.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/Tag/index.d.ts b/types/carbon-components-react/lib/components/Tag/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Tag/index.d.ts rename to types/carbon-components-react/lib/components/Tag/index.d.ts diff --git a/types/carbon-components-react/components/TextArea/TextArea.Skeleton.d.ts b/types/carbon-components-react/lib/components/TextArea/TextArea.Skeleton.d.ts similarity index 83% rename from types/carbon-components-react/components/TextArea/TextArea.Skeleton.d.ts rename to types/carbon-components-react/lib/components/TextArea/TextArea.Skeleton.d.ts index 98e281252e..b4f4561183 100644 --- a/types/carbon-components-react/components/TextArea/TextArea.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/TextArea/TextArea.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/TextArea/TextArea.d.ts b/types/carbon-components-react/lib/components/TextArea/TextArea.d.ts similarity index 89% rename from types/carbon-components-react/components/TextArea/TextArea.d.ts rename to types/carbon-components-react/lib/components/TextArea/TextArea.d.ts index ea124821ab..bfcfbb5533 100644 --- a/types/carbon-components-react/components/TextArea/TextArea.d.ts +++ b/types/carbon-components-react/lib/components/TextArea/TextArea.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ThemeProps, ValidityProps } from "../../typings/shared"; +import { ThemeProps, ValidityProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-invalid" | "aria-describedby" | "defaultValue" | "value"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/TextArea/index.d.ts b/types/carbon-components-react/lib/components/TextArea/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TextArea/index.d.ts rename to types/carbon-components-react/lib/components/TextArea/index.d.ts diff --git a/types/carbon-components-react/components/TextInput/ControlledPasswordInput.d.ts b/types/carbon-components-react/lib/components/TextInput/ControlledPasswordInput.d.ts similarity index 86% rename from types/carbon-components-react/components/TextInput/ControlledPasswordInput.d.ts rename to types/carbon-components-react/lib/components/TextInput/ControlledPasswordInput.d.ts index 82e5829992..c877273b5a 100644 --- a/types/carbon-components-react/components/TextInput/ControlledPasswordInput.d.ts +++ b/types/carbon-components-react/lib/components/TextInput/ControlledPasswordInput.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedTooltipProps } from "../../typings/shared"; +import { EmbeddedTooltipProps } from "../../../typings/shared"; import { TextInputInheritedProps } from "./props"; interface InheritedProps extends TextInputInheritedProps, EmbeddedTooltipProps { } diff --git a/types/carbon-components-react/components/TextInput/PasswordInput.d.ts b/types/carbon-components-react/lib/components/TextInput/PasswordInput.d.ts similarity index 83% rename from types/carbon-components-react/components/TextInput/PasswordInput.d.ts rename to types/carbon-components-react/lib/components/TextInput/PasswordInput.d.ts index 441624f675..e5381cbb78 100644 --- a/types/carbon-components-react/components/TextInput/PasswordInput.d.ts +++ b/types/carbon-components-react/lib/components/TextInput/PasswordInput.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedTooltipProps } from "../../typings/shared"; +import { EmbeddedTooltipProps } from "../../../typings/shared"; import { TextInputInheritedProps } from "./props"; interface InheritedProps extends TextInputInheritedProps, EmbeddedTooltipProps { } diff --git a/types/carbon-components-react/components/TextInput/TextInput.Skeleton.d.ts b/types/carbon-components-react/lib/components/TextInput/TextInput.Skeleton.d.ts similarity index 83% rename from types/carbon-components-react/components/TextInput/TextInput.Skeleton.d.ts rename to types/carbon-components-react/lib/components/TextInput/TextInput.Skeleton.d.ts index 8f617531f6..876d81154a 100644 --- a/types/carbon-components-react/components/TextInput/TextInput.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/TextInput/TextInput.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactLabelAttr } from "../../typings/shared"; +import { ReactLabelAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactLabelAttr["htmlFor"], diff --git a/types/carbon-components-react/components/TextInput/TextInput.d.ts b/types/carbon-components-react/lib/components/TextInput/TextInput.d.ts similarity index 100% rename from types/carbon-components-react/components/TextInput/TextInput.d.ts rename to types/carbon-components-react/lib/components/TextInput/TextInput.d.ts diff --git a/types/carbon-components-react/components/TextInput/index.d.ts b/types/carbon-components-react/lib/components/TextInput/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TextInput/index.d.ts rename to types/carbon-components-react/lib/components/TextInput/index.d.ts diff --git a/types/carbon-components-react/components/TextInput/props.d.ts b/types/carbon-components-react/lib/components/TextInput/props.d.ts similarity index 93% rename from types/carbon-components-react/components/TextInput/props.d.ts rename to types/carbon-components-react/lib/components/TextInput/props.d.ts index 65b6c2180d..e8432ce5f4 100644 --- a/types/carbon-components-react/components/TextInput/props.d.ts +++ b/types/carbon-components-react/lib/components/TextInput/props.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-describedby" | "aria-invalid" | "defaultValue" | "id" | "value"; export interface TextInputInheritedProps extends diff --git a/types/carbon-components-react/components/Tile/Tile.d.ts b/types/carbon-components-react/lib/components/Tile/Tile.d.ts similarity index 96% rename from types/carbon-components-react/components/Tile/Tile.d.ts rename to types/carbon-components-react/lib/components/Tile/Tile.d.ts index 8d42c7a3ef..5997c8b472 100644 --- a/types/carbon-components-react/components/Tile/Tile.d.ts +++ b/types/carbon-components-react/lib/components/Tile/Tile.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, ReactAnchorAttr, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../typings/shared"; +import { EmbeddedIconProps, ReactAnchorAttr, ReactDivAttr, ReactInputAttr, ReactLabelAttr } from "../../../typings/shared"; // Tile diff --git a/types/carbon-components-react/components/Tile/index.d.ts b/types/carbon-components-react/lib/components/Tile/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Tile/index.d.ts rename to types/carbon-components-react/lib/components/Tile/index.d.ts diff --git a/types/carbon-components-react/components/TileGroup/TileGroup.d.ts b/types/carbon-components-react/lib/components/TileGroup/TileGroup.d.ts similarity index 90% rename from types/carbon-components-react/components/TileGroup/TileGroup.d.ts rename to types/carbon-components-react/lib/components/TileGroup/TileGroup.d.ts index 10f8f57f14..6089f6fbf1 100644 --- a/types/carbon-components-react/components/TileGroup/TileGroup.d.ts +++ b/types/carbon-components-react/lib/components/TileGroup/TileGroup.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactInputAttr } from "../../typings/shared"; +import { ReactAttr, ReactInputAttr } from "../../../typings/shared"; import { RadioTileChangeEvent } from "../RadioTile"; interface InheritedProps { diff --git a/types/carbon-components-react/components/TileGroup/index.d.ts b/types/carbon-components-react/lib/components/TileGroup/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TileGroup/index.d.ts rename to types/carbon-components-react/lib/components/TileGroup/index.d.ts diff --git a/types/carbon-components-react/components/TimePicker/TimePicker.d.ts b/types/carbon-components-react/lib/components/TimePicker/TimePicker.d.ts similarity index 92% rename from types/carbon-components-react/components/TimePicker/TimePicker.d.ts rename to types/carbon-components-react/lib/components/TimePicker/TimePicker.d.ts index eac4549d57..e2a1246407 100644 --- a/types/carbon-components-react/components/TimePicker/TimePicker.d.ts +++ b/types/carbon-components-react/lib/components/TimePicker/TimePicker.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps, ThemeProps, ValidityProps } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/TimePicker/index.d.ts b/types/carbon-components-react/lib/components/TimePicker/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TimePicker/index.d.ts rename to types/carbon-components-react/lib/components/TimePicker/index.d.ts diff --git a/types/carbon-components-react/components/TimePickerSelect/TimePickerSelect.d.ts b/types/carbon-components-react/lib/components/TimePickerSelect/TimePickerSelect.d.ts similarity index 84% rename from types/carbon-components-react/components/TimePickerSelect/TimePickerSelect.d.ts rename to types/carbon-components-react/lib/components/TimePickerSelect/TimePickerSelect.d.ts index 9b298334a2..be9ce305e9 100644 --- a/types/carbon-components-react/components/TimePickerSelect/TimePickerSelect.d.ts +++ b/types/carbon-components-react/lib/components/TimePickerSelect/TimePickerSelect.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { EmbeddedIconProps, RequiresIdProps } from "../../typings/shared"; +import { EmbeddedIconProps, RequiresIdProps } from "../../../typings/shared"; interface InheritedProps extends Omit, "id">, diff --git a/types/carbon-components-react/components/TimePickerSelect/index.d.ts b/types/carbon-components-react/lib/components/TimePickerSelect/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TimePickerSelect/index.d.ts rename to types/carbon-components-react/lib/components/TimePickerSelect/index.d.ts diff --git a/types/carbon-components-react/components/Toggle/Toggle.Skeleton.d.ts b/types/carbon-components-react/lib/components/Toggle/Toggle.Skeleton.d.ts similarity index 83% rename from types/carbon-components-react/components/Toggle/Toggle.Skeleton.d.ts rename to types/carbon-components-react/lib/components/Toggle/Toggle.Skeleton.d.ts index 0f3d3cb83e..5895541588 100644 --- a/types/carbon-components-react/components/Toggle/Toggle.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/Toggle/Toggle.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactAttr["id"], diff --git a/types/carbon-components-react/components/Toggle/Toggle.d.ts b/types/carbon-components-react/lib/components/Toggle/Toggle.d.ts similarity index 91% rename from types/carbon-components-react/components/Toggle/Toggle.d.ts rename to types/carbon-components-react/lib/components/Toggle/Toggle.d.ts index cf5e287b4e..361842f96d 100644 --- a/types/carbon-components-react/components/Toggle/Toggle.d.ts +++ b/types/carbon-components-react/lib/components/Toggle/Toggle.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-labelledby" | "id" | "onChange" | "onKeyUp" | "type"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Toggle/index.d.ts b/types/carbon-components-react/lib/components/Toggle/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Toggle/index.d.ts rename to types/carbon-components-react/lib/components/Toggle/index.d.ts diff --git a/types/carbon-components-react/components/ToggleSmall/ToggleSmall.Skeleton.d.ts b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.Skeleton.d.ts similarity index 84% rename from types/carbon-components-react/components/ToggleSmall/ToggleSmall.Skeleton.d.ts rename to types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.Skeleton.d.ts index 606b2d2a67..b93920a5c7 100644 --- a/types/carbon-components-react/components/ToggleSmall/ToggleSmall.Skeleton.d.ts +++ b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.Skeleton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { id?: ReactAttr["id"], diff --git a/types/carbon-components-react/components/ToggleSmall/ToggleSmall.d.ts b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts similarity index 90% rename from types/carbon-components-react/components/ToggleSmall/ToggleSmall.d.ts rename to types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts index ba7e10270b..eaf9d71968 100644 --- a/types/carbon-components-react/components/ToggleSmall/ToggleSmall.d.ts +++ b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, RequiresIdProps } from "../../typings/shared"; +import { ReactInputAttr, RequiresIdProps } from "../../../typings/shared"; type ExcludedAttributes = "aria-label" | "id" | "type"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/ToggleSmall/index.d.ts b/types/carbon-components-react/lib/components/ToggleSmall/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ToggleSmall/index.d.ts rename to types/carbon-components-react/lib/components/ToggleSmall/index.d.ts diff --git a/types/carbon-components-react/components/Toolbar/Toolbar.d.ts b/types/carbon-components-react/lib/components/Toolbar/Toolbar.d.ts similarity index 94% rename from types/carbon-components-react/components/Toolbar/Toolbar.d.ts rename to types/carbon-components-react/lib/components/Toolbar/Toolbar.d.ts index 76447ec983..1c65608654 100644 --- a/types/carbon-components-react/components/Toolbar/Toolbar.d.ts +++ b/types/carbon-components-react/lib/components/Toolbar/Toolbar.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactDivAttr } from "../../typings/shared"; +import { ReactAttr, ReactDivAttr } from "../../../typings/shared"; // Toolbar diff --git a/types/carbon-components-react/components/Toolbar/index.d.ts b/types/carbon-components-react/lib/components/Toolbar/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Toolbar/index.d.ts rename to types/carbon-components-react/lib/components/Toolbar/index.d.ts diff --git a/types/carbon-components-react/components/ToolbarSearch/ToolbarSearch.d.ts b/types/carbon-components-react/lib/components/ToolbarSearch/ToolbarSearch.d.ts similarity index 83% rename from types/carbon-components-react/components/ToolbarSearch/ToolbarSearch.d.ts rename to types/carbon-components-react/lib/components/ToolbarSearch/ToolbarSearch.d.ts index bf0f63a2d4..4db462c665 100644 --- a/types/carbon-components-react/components/ToolbarSearch/ToolbarSearch.d.ts +++ b/types/carbon-components-react/lib/components/ToolbarSearch/ToolbarSearch.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactInputAttr, SizingProps } from "../../typings/shared"; +import { ReactInputAttr, SizingProps } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/ToolbarSearch/index.d.ts b/types/carbon-components-react/lib/components/ToolbarSearch/index.d.ts similarity index 100% rename from types/carbon-components-react/components/ToolbarSearch/index.d.ts rename to types/carbon-components-react/lib/components/ToolbarSearch/index.d.ts diff --git a/types/carbon-components-react/components/Tooltip/Tooltip.d.ts b/types/carbon-components-react/lib/components/Tooltip/Tooltip.d.ts similarity index 95% rename from types/carbon-components-react/components/Tooltip/Tooltip.d.ts rename to types/carbon-components-react/lib/components/Tooltip/Tooltip.d.ts index 3c3223fdc8..7b9aaf0521 100644 --- a/types/carbon-components-react/components/Tooltip/Tooltip.d.ts +++ b/types/carbon-components-react/lib/components/Tooltip/Tooltip.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { Direction, EmbeddedIconProps, MenuOffsetData, ReactDivAttr } from "../../typings/shared"; +import { Direction, EmbeddedIconProps, MenuOffsetData, ReactDivAttr } from "../../../typings/shared"; type ExcludedAttributes = "aria-labelledby" | "onBlur" | "onContextMenu" | "onFocus" | "onMouseOut" | "onMouseOver" | "role"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/Tooltip/index.d.ts b/types/carbon-components-react/lib/components/Tooltip/index.d.ts similarity index 100% rename from types/carbon-components-react/components/Tooltip/index.d.ts rename to types/carbon-components-react/lib/components/Tooltip/index.d.ts diff --git a/types/carbon-components-react/components/TooltipDefinition/TooltipDefinition.d.ts b/types/carbon-components-react/lib/components/TooltipDefinition/TooltipDefinition.d.ts similarity index 85% rename from types/carbon-components-react/components/TooltipDefinition/TooltipDefinition.d.ts rename to types/carbon-components-react/lib/components/TooltipDefinition/TooltipDefinition.d.ts index db2559ed26..dc63dc6e66 100644 --- a/types/carbon-components-react/components/TooltipDefinition/TooltipDefinition.d.ts +++ b/types/carbon-components-react/lib/components/TooltipDefinition/TooltipDefinition.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { Direction, ReactDivAttr } from "../../typings/shared"; +import { Direction, ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/TooltipDefinition/index.d.ts b/types/carbon-components-react/lib/components/TooltipDefinition/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TooltipDefinition/index.d.ts rename to types/carbon-components-react/lib/components/TooltipDefinition/index.d.ts diff --git a/types/carbon-components-react/components/TooltipIcon/TooltipIcon.d.ts b/types/carbon-components-react/lib/components/TooltipIcon/TooltipIcon.d.ts similarity index 91% rename from types/carbon-components-react/components/TooltipIcon/TooltipIcon.d.ts rename to types/carbon-components-react/lib/components/TooltipIcon/TooltipIcon.d.ts index 074582cb2b..0d5be535e1 100644 --- a/types/carbon-components-react/components/TooltipIcon/TooltipIcon.d.ts +++ b/types/carbon-components-react/lib/components/TooltipIcon/TooltipIcon.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { Direction, ReactDivAttr, RequiresChildrenProps, TooltipAlignment } from "../../typings/shared"; +import { Direction, ReactDivAttr, RequiresChildrenProps, TooltipAlignment } from "../../../typings/shared"; interface InheritedProps extends Omit, diff --git a/types/carbon-components-react/components/TooltipIcon/index.d.ts b/types/carbon-components-react/lib/components/TooltipIcon/index.d.ts similarity index 100% rename from types/carbon-components-react/components/TooltipIcon/index.d.ts rename to types/carbon-components-react/lib/components/TooltipIcon/index.d.ts diff --git a/types/carbon-components-react/components/UIShell/Content.d.ts b/types/carbon-components-react/lib/components/UIShell/Content.d.ts similarity index 85% rename from types/carbon-components-react/components/UIShell/Content.d.ts rename to types/carbon-components-react/lib/components/UIShell/Content.d.ts index 5744a88c96..11ba2a4be2 100644 --- a/types/carbon-components-react/components/UIShell/Content.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/Content.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, ReactCreateElementParam } from "../../typings/shared"; +import { ReactAttr, ReactCreateElementParam } from "../../../typings/shared"; interface InheritedProps { className?: ReactAttr["className"], diff --git a/types/carbon-components-react/components/UIShell/Header.d.ts b/types/carbon-components-react/lib/components/UIShell/Header.d.ts similarity index 80% rename from types/carbon-components-react/components/UIShell/Header.d.ts rename to types/carbon-components-react/lib/components/UIShell/Header.d.ts index 6d1f1fc722..a779627a3e 100644 --- a/types/carbon-components-react/components/UIShell/Header.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/Header.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/UIShell/HeaderContainer.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderContainer.d.ts similarity index 100% rename from types/carbon-components-react/components/UIShell/HeaderContainer.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderContainer.d.ts diff --git a/types/carbon-components-react/components/UIShell/HeaderGlobalAction.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderGlobalAction.d.ts similarity index 83% rename from types/carbon-components-react/components/UIShell/HeaderGlobalAction.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderGlobalAction.d.ts index c3bcfe5708..084aa90d4e 100644 --- a/types/carbon-components-react/components/UIShell/HeaderGlobalAction.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderGlobalAction.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactButtonAttr } from "../../typings/shared"; +import { ReactButtonAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/UIShell/HeaderGlobalBar.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderGlobalBar.d.ts similarity index 81% rename from types/carbon-components-react/components/UIShell/HeaderGlobalBar.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderGlobalBar.d.ts index 84f9f613ba..310545a912 100644 --- a/types/carbon-components-react/components/UIShell/HeaderGlobalBar.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderGlobalBar.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/UIShell/HeaderMenu.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderMenu.d.ts similarity index 90% rename from types/carbon-components-react/components/UIShell/HeaderMenu.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderMenu.d.ts index f771a326ba..6a59d6846c 100644 --- a/types/carbon-components-react/components/UIShell/HeaderMenu.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderMenu.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { "aria-label"?: ReactAttr["aria-label"], diff --git a/types/carbon-components-react/components/UIShell/HeaderMenuButton.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderMenuButton.d.ts similarity index 86% rename from types/carbon-components-react/components/UIShell/HeaderMenuButton.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderMenuButton.d.ts index a4a2da9604..d1eb29cbdd 100644 --- a/types/carbon-components-react/components/UIShell/HeaderMenuButton.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderMenuButton.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactButtonAttr } from "../../typings/shared"; +import { ReactButtonAttr } from "../../../typings/shared"; type ExcludedAttributes = "title" | "type"; interface InheritedProps extends Omit { } diff --git a/types/carbon-components-react/components/UIShell/HeaderMenuItem.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderMenuItem.d.ts similarity index 88% rename from types/carbon-components-react/components/UIShell/HeaderMenuItem.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderMenuItem.d.ts index 298e948d38..fb3dc4d371 100644 --- a/types/carbon-components-react/components/UIShell/HeaderMenuItem.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderMenuItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAnchorAttr, RequiresChildrenProps } from "../../../typings/shared"; import { LinkProps } from "./Link"; type ExcludedAttributes = "children" | "ref" | "tabIndex"; diff --git a/types/carbon-components-react/components/UIShell/HeaderName.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderName.d.ts similarity index 95% rename from types/carbon-components-react/components/UIShell/HeaderName.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderName.d.ts index fb8ebb6144..ef84b4e873 100644 --- a/types/carbon-components-react/components/UIShell/HeaderName.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderName.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAnchorAttr, ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; import { LinkProps } from "./Link"; interface InheritedProps extends RequiresChildrenProps { diff --git a/types/carbon-components-react/components/UIShell/HeaderNavigation.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderNavigation.d.ts similarity index 83% rename from types/carbon-components-react/components/UIShell/HeaderNavigation.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderNavigation.d.ts index 85853d61e2..0bf705f9e6 100644 --- a/types/carbon-components-react/components/UIShell/HeaderNavigation.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderNavigation.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/UIShell/HeaderPanel.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderPanel.d.ts similarity index 81% rename from types/carbon-components-react/components/UIShell/HeaderPanel.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderPanel.d.ts index fc7c67b152..a63d4ce082 100644 --- a/types/carbon-components-react/components/UIShell/HeaderPanel.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderPanel.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactDivAttr } from "../../typings/shared"; +import { ReactDivAttr } from "../../../typings/shared"; interface InheritedProps extends ReactDivAttr { } diff --git a/types/carbon-components-react/components/UIShell/HeaderSideNavItems.d.ts b/types/carbon-components-react/lib/components/UIShell/HeaderSideNavItems.d.ts similarity index 86% rename from types/carbon-components-react/components/UIShell/HeaderSideNavItems.d.ts rename to types/carbon-components-react/lib/components/UIShell/HeaderSideNavItems.d.ts index 62be412183..bd06a66ac4 100644 --- a/types/carbon-components-react/components/UIShell/HeaderSideNavItems.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/HeaderSideNavItems.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { children?: ReactAttr["children"], diff --git a/types/carbon-components-react/components/UIShell/Link.d.ts b/types/carbon-components-react/lib/components/UIShell/Link.d.ts similarity index 85% rename from types/carbon-components-react/components/UIShell/Link.d.ts rename to types/carbon-components-react/lib/components/UIShell/Link.d.ts index afcba8f827..583366f7e6 100644 --- a/types/carbon-components-react/components/UIShell/Link.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/Link.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr, ShapeOf } from "../../typings/shared"; +import { ReactAnchorAttr, ShapeOf } from "../../../typings/shared"; export interface LinkPropsBase { element?: string, // required but has default value diff --git a/types/carbon-components-react/components/UIShell/SideNav.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNav.d.ts similarity index 91% rename from types/carbon-components-react/components/UIShell/SideNav.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNav.d.ts index ed08fe30e0..bed4f86780 100644 --- a/types/carbon-components-react/components/UIShell/SideNav.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNav.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { InternationalProps, ReactAttr } from "../../typings/shared"; +import { InternationalProps, ReactAttr } from "../../../typings/shared"; export type SideNavTranslationKey = "carbon.sidenav.state.closed" | "carbon.sidenav.state.open"; interface InheritedProps extends InternationalProps { diff --git a/types/carbon-components-react/components/UIShell/SideNavDetails.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavDetails.d.ts similarity index 86% rename from types/carbon-components-react/components/UIShell/SideNavDetails.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavDetails.d.ts index 985283cfbd..e5bf2e48f6 100644 --- a/types/carbon-components-react/components/UIShell/SideNavDetails.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavDetails.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { children?: ReactAttr["children"] diff --git a/types/carbon-components-react/components/UIShell/SideNavFooter.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavFooter.d.ts similarity index 88% rename from types/carbon-components-react/components/UIShell/SideNavFooter.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavFooter.d.ts index 797ca9d1c9..bd3ab31530 100644 --- a/types/carbon-components-react/components/UIShell/SideNavFooter.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavFooter.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { className?: ReactAttr["className"], diff --git a/types/carbon-components-react/components/UIShell/SideNavHeader.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavHeader.d.ts similarity index 83% rename from types/carbon-components-react/components/UIShell/SideNavHeader.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavHeader.d.ts index 3386748046..5346c05d9f 100644 --- a/types/carbon-components-react/components/UIShell/SideNavHeader.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavHeader.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RenderIconProps } from "../../typings/shared"; +import { ReactAttr, RenderIconProps } from "../../../typings/shared"; interface InheritedProps { children?: ReactAttr["children"], diff --git a/types/carbon-components-react/components/UIShell/SideNavIcon.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavIcon.d.ts similarity index 93% rename from types/carbon-components-react/components/UIShell/SideNavIcon.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavIcon.d.ts index f917be3a71..862b02f1e8 100644 --- a/types/carbon-components-react/components/UIShell/SideNavIcon.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavIcon.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps, SizingProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps, SizingProps } from "../../../typings/shared"; interface InheritedProps extends RequiresChildrenProps, diff --git a/types/carbon-components-react/components/UIShell/SideNavItem.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavItem.d.ts similarity index 78% rename from types/carbon-components-react/components/UIShell/SideNavItem.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavItem.d.ts index 889e8963b0..011c9f657d 100644 --- a/types/carbon-components-react/components/UIShell/SideNavItem.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; interface InheritedProps extends RequiresChildrenProps { className?: ReactAttr["className"], diff --git a/types/carbon-components-react/components/UIShell/SideNavItems.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavItems.d.ts similarity index 78% rename from types/carbon-components-react/components/UIShell/SideNavItems.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavItems.d.ts index b14e6d2e01..16361d1073 100644 --- a/types/carbon-components-react/components/UIShell/SideNavItems.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavItems.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; interface InheritedProps extends RequiresChildrenProps { className?: ReactAttr["className"], diff --git a/types/carbon-components-react/components/UIShell/SideNavLink.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavLink.d.ts similarity index 96% rename from types/carbon-components-react/components/UIShell/SideNavLink.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavLink.d.ts index e87e3defcd..2c434199fc 100644 --- a/types/carbon-components-react/components/UIShell/SideNavLink.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavLink.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RenderIconProps, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RenderIconProps, RequiresChildrenProps } from "../../../typings/shared"; import { LinkProps } from "./Link"; interface InheritedProps extends diff --git a/types/carbon-components-react/components/UIShell/SideNavLinkText.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavLinkText.d.ts similarity index 80% rename from types/carbon-components-react/components/UIShell/SideNavLinkText.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavLinkText.d.ts index f837b29542..874254cc97 100644 --- a/types/carbon-components-react/components/UIShell/SideNavLinkText.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavLinkText.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; interface InheritedProps extends Omit, "children">, diff --git a/types/carbon-components-react/components/UIShell/SideNavMenu.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavMenu.d.ts similarity index 88% rename from types/carbon-components-react/components/UIShell/SideNavMenu.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavMenu.d.ts index eee933c93b..64fbc8d5ed 100644 --- a/types/carbon-components-react/components/UIShell/SideNavMenu.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavMenu.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RenderIconProps } from "../../typings/shared"; +import { ReactAttr, RenderIconProps } from "../../../typings/shared"; interface InheritedProps extends RenderIconProps { children?: ReactAttr["children"], diff --git a/types/carbon-components-react/components/UIShell/SideNavMenuItem.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavMenuItem.d.ts similarity index 91% rename from types/carbon-components-react/components/UIShell/SideNavMenuItem.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavMenuItem.d.ts index 65f5ee3213..a5591a0875 100644 --- a/types/carbon-components-react/components/UIShell/SideNavMenuItem.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavMenuItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; import { LinkProps } from "./Link"; interface InheritedProps { diff --git a/types/carbon-components-react/components/UIShell/SideNavSwitcher.d.ts b/types/carbon-components-react/lib/components/UIShell/SideNavSwitcher.d.ts similarity index 88% rename from types/carbon-components-react/components/UIShell/SideNavSwitcher.d.ts rename to types/carbon-components-react/lib/components/UIShell/SideNavSwitcher.d.ts index c3135dd84f..f24b7267d4 100644 --- a/types/carbon-components-react/components/UIShell/SideNavSwitcher.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SideNavSwitcher.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps { className?: ReactAttr["className"], diff --git a/types/carbon-components-react/components/UIShell/SkipToContent.d.ts b/types/carbon-components-react/lib/components/UIShell/SkipToContent.d.ts similarity index 82% rename from types/carbon-components-react/components/UIShell/SkipToContent.d.ts rename to types/carbon-components-react/lib/components/UIShell/SkipToContent.d.ts index db0c936243..b60f13e763 100644 --- a/types/carbon-components-react/components/UIShell/SkipToContent.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SkipToContent.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAnchorAttr } from "../../typings/shared"; +import { ReactAnchorAttr } from "../../../typings/shared"; interface InheritedProps extends Omit { children?: string, diff --git a/types/carbon-components-react/components/UIShell/Switcher.d.ts b/types/carbon-components-react/lib/components/UIShell/Switcher.d.ts similarity index 84% rename from types/carbon-components-react/components/UIShell/Switcher.d.ts rename to types/carbon-components-react/lib/components/UIShell/Switcher.d.ts index 85917ceba4..7c0dd85445 100644 --- a/types/carbon-components-react/components/UIShell/Switcher.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/Switcher.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; interface InheritedProps extends RequiresChildrenProps { "aria-label"?: ReactAttr["aria-label"], diff --git a/types/carbon-components-react/components/UIShell/SwitcherDivider.d.ts b/types/carbon-components-react/lib/components/UIShell/SwitcherDivider.d.ts similarity index 82% rename from types/carbon-components-react/components/UIShell/SwitcherDivider.d.ts rename to types/carbon-components-react/lib/components/UIShell/SwitcherDivider.d.ts index 651fe43af1..03ad0df70c 100644 --- a/types/carbon-components-react/components/UIShell/SwitcherDivider.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SwitcherDivider.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/UIShell/SwitcherItem.d.ts b/types/carbon-components-react/lib/components/UIShell/SwitcherItem.d.ts similarity index 88% rename from types/carbon-components-react/components/UIShell/SwitcherItem.d.ts rename to types/carbon-components-react/lib/components/UIShell/SwitcherItem.d.ts index aca62187ab..2ee89932b4 100644 --- a/types/carbon-components-react/components/UIShell/SwitcherItem.d.ts +++ b/types/carbon-components-react/lib/components/UIShell/SwitcherItem.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr, RequiresChildrenProps } from "../../typings/shared"; +import { ReactAttr, RequiresChildrenProps } from "../../../typings/shared"; import { LinkProps } from "./Link"; interface InheritedProps extends RequiresChildrenProps { diff --git a/types/carbon-components-react/components/UIShell/index.d.ts b/types/carbon-components-react/lib/components/UIShell/index.d.ts similarity index 100% rename from types/carbon-components-react/components/UIShell/index.d.ts rename to types/carbon-components-react/lib/components/UIShell/index.d.ts diff --git a/types/carbon-components-react/components/UnorderedList/UnorderedList.d.ts b/types/carbon-components-react/lib/components/UnorderedList/UnorderedList.d.ts similarity index 83% rename from types/carbon-components-react/components/UnorderedList/UnorderedList.d.ts rename to types/carbon-components-react/lib/components/UnorderedList/UnorderedList.d.ts index 39da41a800..f96f8a3be3 100644 --- a/types/carbon-components-react/components/UnorderedList/UnorderedList.d.ts +++ b/types/carbon-components-react/lib/components/UnorderedList/UnorderedList.d.ts @@ -1,5 +1,5 @@ import * as React from "react"; -import { ReactAttr } from "../../typings/shared"; +import { ReactAttr } from "../../../typings/shared"; interface InheritedProps extends ReactAttr { } diff --git a/types/carbon-components-react/components/UnorderedList/index.d.ts b/types/carbon-components-react/lib/components/UnorderedList/index.d.ts similarity index 100% rename from types/carbon-components-react/components/UnorderedList/index.d.ts rename to types/carbon-components-react/lib/components/UnorderedList/index.d.ts diff --git a/types/carbon-components-react/tsconfig.json b/types/carbon-components-react/tsconfig.json index 57e63e6eed..3b685c1b09 100644 --- a/types/carbon-components-react/tsconfig.json +++ b/types/carbon-components-react/tsconfig.json @@ -19,242 +19,242 @@ "jsx": "preserve" }, "files": [ - "components/Accordion/Accordion.Skeleton.d.ts", - "components/Accordion/Accordion.d.ts", - "components/Accordion/AccordionItem.d.ts", - "components/Accordion/index.d.ts", - "components/AccordionItem/AccordionItem.d.ts", - "components/AccordionItem/index.d.ts", - "components/Breadcrumb/Breadcrumb.Skeleton.d.ts", - "components/Breadcrumb/Breadcrumb.d.ts", - "components/Breadcrumb/BreadcrumbItem.d.ts", - "components/Breadcrumb/index.d.ts", - "components/BreadcrumbItem/index.d.ts", - "components/Button/Button.Skeleton.d.ts", - "components/Button/Button.d.ts", - "components/Button/index.d.ts", - "components/Checkbox/Checkbox.Skeleton.d.ts", - "components/Checkbox/Checkbox.d.ts", - "components/Checkbox/index.d.ts", - "components/CodeSnippet/CodeSnippet.Skeleton.d.ts", - "components/CodeSnippet/CodeSnippet.d.ts", - "components/CodeSnippet/index.d.ts", - "components/ComboBox/ComboBox.d.ts", - "components/ComboBox/index.d.ts", - "components/ComposedModal/ComposedModal.d.ts", - "components/ComposedModal/index.d.ts", - "components/ContentSwitcher/ContentSwitcher.d.ts", - "components/ContentSwitcher/Switch.d.ts", - "components/ContentSwitcher/index.d.ts", - "components/Copy/Copy.d.ts", - "components/Copy/index.d.ts", - "components/CopyButton/CopyButton.d.ts", - "components/CopyButton/index.d.ts", - "components/DangerButton/DangerButton.d.ts", - "components/DangerButton/index.d.ts", - "components/DataTable/DataTable.d.ts", - "components/DataTable/Table.d.ts", - "components/DataTable/TableActionList.d.ts", - "components/DataTable/TableBatchAction.d.ts", - "components/DataTable/TableBatchActions.d.ts", - "components/DataTable/TableBody.d.ts", - "components/DataTable/TableCell.d.ts", - "components/DataTable/TableContainer.d.ts", - "components/DataTable/TableExpandHeader.d.ts", - "components/DataTable/TableExpandRow.d.ts", - "components/DataTable/TableExpandedRow.d.ts", - "components/DataTable/TableHead.d.ts", - "components/DataTable/TableHeader.d.ts", - "components/DataTable/TableRow.d.ts", - "components/DataTable/TableSelectAll.d.ts", - "components/DataTable/TableSelectRow.d.ts", - "components/DataTable/TableToolbar.d.ts", - "components/DataTable/TableToolbarAction.d.ts", - "components/DataTable/TableToolbarContent.d.ts", - "components/DataTable/TableToolbarMenu.d.ts", - "components/DataTable/TableToolbarSearch.d.ts", - "components/DataTable/index.d.ts", - "components/DataTable/state/sorting.d.ts", - "components/DataTableSkeleton/DataTableSkeleton.d.ts", - "components/DataTableSkeleton/index.d.ts", - "components/DatePicker/DatePicker.Skeleton.d.ts", - "components/DatePicker/DatePicker.d.ts", - "components/DatePicker/index.d.ts", - "components/DatePickerInput/DatePickerInput.d.ts", - "components/DatePickerInput/index.d.ts", - "components/Dropdown/Dropdown.Skeleton.d.ts", - "components/Dropdown/Dropdown.d.ts", - "components/Dropdown/index.d.ts", - "components/FileUploader/FileUploader.Skeleton.d.ts", - "components/FileUploader/FileUploader.d.ts", - "components/FileUploader/index.d.ts", - "components/Form/Form.d.ts", - "components/Form/index.d.ts", - "components/FormGroup/FormGroup.d.ts", - "components/FormGroup/index.d.ts", - "components/FormItem/FormItem.d.ts", - "components/FormItem/index.d.ts", - "components/FormLabel/FormLabel.d.ts", - "components/FormLabel/index.d.ts", - "components/Icon/Icon.Skeleton.d.ts", - "components/Icon/Icon.d.ts", - "components/Icon/index.d.ts", - "components/InlineCheckbox/InlineCheckbox.d.ts", - "components/InlineCheckbox/index.d.ts", - "components/InlineLoading/InlineLoading.d.ts", - "components/InlineLoading/index.d.ts", - "components/Link/Link.d.ts", - "components/Link/index.d.ts", - "components/ListBox/ListBox.d.ts", - "components/ListBox/ListBoxField.d.ts", - "components/ListBox/ListBoxMenu.d.ts", - "components/ListBox/ListBoxMenuIcon.d.ts", - "components/ListBox/ListBoxMenuItem.d.ts", - "components/ListBox/ListBoxPropTypes.d.ts", - "components/ListBox/ListBoxSelection.d.ts", - "components/ListBox/index.d.ts", - "components/ListItem/ListItem.d.ts", - "components/ListItem/index.d.ts", - "components/Loading/Loading.d.ts", - "components/Loading/index.d.ts", - "components/Modal/Modal.d.ts", - "components/Modal/index.d.ts", - "components/ModalWrapper/ModalWrapper.d.ts", - "components/ModalWrapper/index.d.ts", - "components/MultiSelect/FilterableMultiSelect.d.ts", - "components/MultiSelect/MultiSelect.d.ts", - "components/MultiSelect/MultiSelectPropTypes.d.ts", - "components/MultiSelect/index.d.ts", - "components/Notification/Notification.d.ts", - "components/Notification/a11yIconWarningSolid.d.ts", - "components/Notification/index.d.ts", - "components/NumberInput/NumberInput.Skeleton.d.ts", - "components/NumberInput/NumberInput.d.ts", - "components/NumberInput/index.d.ts", - "components/OrderedList/OrderedList.d.ts", - "components/OrderedList/index.d.ts", - "components/OverflowMenu/OverflowMenu.d.ts", - "components/OverflowMenu/index.d.ts", - "components/OverflowMenuItem/OverflowMenuItem.d.ts", - "components/OverflowMenuItem/index.d.ts", - "components/Pagination/Pagination.Skeleton.d.ts", - "components/Pagination/Pagination.d.ts", - "components/Pagination/index.d.ts", - "components/PrimaryButton/PrimaryButton.d.ts", - "components/PrimaryButton/index.d.ts", - "components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts", - "components/ProgressIndicator/ProgressIndicator.d.ts", - "components/ProgressIndicator/index.d.ts", - "components/RadioButton/RadioButton.Skeleton.d.ts", - "components/RadioButton/RadioButton.d.ts", - "components/RadioButton/index.d.ts", - "components/RadioButtonGroup/RadioButtonGroup.d.ts", - "components/RadioButtonGroup/index.d.ts", - "components/RadioTile/RadioTile.d.ts", - "components/RadioTile/index.d.ts", - "components/Search/Search.Skeleton.d.ts", - "components/Search/Search.d.ts", - "components/Search/index.d.ts", - "components/SearchFilterButton/SearchFilterButton.d.ts", - "components/SearchFilterButton/index.d.ts", - "components/SearchLayoutButton/SearchLayoutButton.d.ts", - "components/SearchLayoutButton/index.d.ts", - "components/SecondaryButton/SecondaryButton.d.ts", - "components/SecondaryButton/index.d.ts", - "components/Select/Select.Skeleton.d.ts", - "components/Select/Select.d.ts", - "components/Select/index.d.ts", - "components/SelectItem/SelectItem.d.ts", - "components/SelectItem/index.d.ts", - "components/SelectItemGroup/SelectItemGroup.d.ts", - "components/SelectItemGroup/index.d.ts", - "components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts", - "components/SkeletonPlaceholder/index.d.ts", - "components/SkeletonText/SkeletonText.d.ts", - "components/SkeletonText/index.d.ts", - "components/Slider/Slider.Skeleton.d.ts", - "components/Slider/Slider.d.ts", - "components/Slider/index.d.ts", - "components/StructuredList/StructuredList.Skeleton.d.ts", - "components/StructuredList/StructuredList.d.ts", - "components/StructuredList/index.d.ts", - "components/Switch/Switch.d.ts", - "components/Switch/index.d.ts", - "components/Tab/Tab.d.ts", - "components/Tab/index.d.ts", - "components/TabContent/TabContent.d.ts", - "components/TabContent/index.d.ts", - "components/Tabs/Tabs.Skeleton.d.ts", - "components/Tabs/Tabs.d.ts", - "components/Tabs/index.d.ts", - "components/Tag/Tag.Skeleton.d.ts", - "components/Tag/Tag.d.ts", - "components/Tag/index.d.ts", - "components/TextArea/TextArea.Skeleton.d.ts", - "components/TextArea/TextArea.d.ts", - "components/TextArea/index.d.ts", - "components/TextInput/ControlledPasswordInput.d.ts", - "components/TextInput/PasswordInput.d.ts", - "components/TextInput/TextInput.Skeleton.d.ts", - "components/TextInput/TextInput.d.ts", - "components/TextInput/index.d.ts", - "components/TextInput/props.d.ts", - "components/Tile/Tile.d.ts", - "components/Tile/index.d.ts", - "components/TileGroup/TileGroup.d.ts", - "components/TileGroup/index.d.ts", - "components/TimePicker/TimePicker.d.ts", - "components/TimePicker/index.d.ts", - "components/TimePickerSelect/TimePickerSelect.d.ts", - "components/TimePickerSelect/index.d.ts", - "components/Toggle/Toggle.Skeleton.d.ts", - "components/Toggle/Toggle.d.ts", - "components/Toggle/index.d.ts", - "components/ToggleSmall/ToggleSmall.Skeleton.d.ts", - "components/ToggleSmall/ToggleSmall.d.ts", - "components/ToggleSmall/index.d.ts", - "components/Toolbar/Toolbar.d.ts", - "components/Toolbar/index.d.ts", - "components/ToolbarSearch/ToolbarSearch.d.ts", - "components/ToolbarSearch/index.d.ts", - "components/Tooltip/Tooltip.d.ts", - "components/Tooltip/index.d.ts", - "components/TooltipDefinition/TooltipDefinition.d.ts", - "components/TooltipDefinition/index.d.ts", - "components/TooltipIcon/TooltipIcon.d.ts", - "components/TooltipIcon/index.d.ts", - "components/UIShell/Content.d.ts", - "components/UIShell/Header.d.ts", - "components/UIShell/HeaderContainer.d.ts", - "components/UIShell/HeaderGlobalAction.d.ts", - "components/UIShell/HeaderGlobalBar.d.ts", - "components/UIShell/HeaderMenu.d.ts", - "components/UIShell/HeaderMenuButton.d.ts", - "components/UIShell/HeaderMenuItem.d.ts", - "components/UIShell/HeaderName.d.ts", - "components/UIShell/HeaderNavigation.d.ts", - "components/UIShell/HeaderPanel.d.ts", - "components/UIShell/HeaderSideNavItems.d.ts", - "components/UIShell/Link.d.ts", - "components/UIShell/SideNav.d.ts", - "components/UIShell/SideNavDetails.d.ts", - "components/UIShell/SideNavFooter.d.ts", - "components/UIShell/SideNavHeader.d.ts", - "components/UIShell/SideNavIcon.d.ts", - "components/UIShell/SideNavItem.d.ts", - "components/UIShell/SideNavItems.d.ts", - "components/UIShell/SideNavLink.d.ts", - "components/UIShell/SideNavLinkText.d.ts", - "components/UIShell/SideNavMenu.d.ts", - "components/UIShell/SideNavMenuItem.d.ts", - "components/UIShell/SideNavSwitcher.d.ts", - "components/UIShell/SkipToContent.d.ts", - "components/UIShell/Switcher.d.ts", - "components/UIShell/SwitcherDivider.d.ts", - "components/UIShell/SwitcherItem.d.ts", - "components/UIShell/index.d.ts", - "components/UnorderedList/UnorderedList.d.ts", - "components/UnorderedList/index.d.ts", + "lib/components/Accordion/Accordion.Skeleton.d.ts", + "lib/components/Accordion/Accordion.d.ts", + "lib/components/Accordion/AccordionItem.d.ts", + "lib/components/Accordion/index.d.ts", + "lib/components/AccordionItem/AccordionItem.d.ts", + "lib/components/AccordionItem/index.d.ts", + "lib/components/Breadcrumb/Breadcrumb.Skeleton.d.ts", + "lib/components/Breadcrumb/Breadcrumb.d.ts", + "lib/components/Breadcrumb/BreadcrumbItem.d.ts", + "lib/components/Breadcrumb/index.d.ts", + "lib/components/BreadcrumbItem/index.d.ts", + "lib/components/Button/Button.Skeleton.d.ts", + "lib/components/Button/Button.d.ts", + "lib/components/Button/index.d.ts", + "lib/components/Checkbox/Checkbox.Skeleton.d.ts", + "lib/components/Checkbox/Checkbox.d.ts", + "lib/components/Checkbox/index.d.ts", + "lib/components/CodeSnippet/CodeSnippet.Skeleton.d.ts", + "lib/components/CodeSnippet/CodeSnippet.d.ts", + "lib/components/CodeSnippet/index.d.ts", + "lib/components/ComboBox/ComboBox.d.ts", + "lib/components/ComboBox/index.d.ts", + "lib/components/ComposedModal/ComposedModal.d.ts", + "lib/components/ComposedModal/index.d.ts", + "lib/components/ContentSwitcher/ContentSwitcher.d.ts", + "lib/components/ContentSwitcher/Switch.d.ts", + "lib/components/ContentSwitcher/index.d.ts", + "lib/components/Copy/Copy.d.ts", + "lib/components/Copy/index.d.ts", + "lib/components/CopyButton/CopyButton.d.ts", + "lib/components/CopyButton/index.d.ts", + "lib/components/DangerButton/DangerButton.d.ts", + "lib/components/DangerButton/index.d.ts", + "lib/components/DataTable/DataTable.d.ts", + "lib/components/DataTable/Table.d.ts", + "lib/components/DataTable/TableActionList.d.ts", + "lib/components/DataTable/TableBatchAction.d.ts", + "lib/components/DataTable/TableBatchActions.d.ts", + "lib/components/DataTable/TableBody.d.ts", + "lib/components/DataTable/TableCell.d.ts", + "lib/components/DataTable/TableContainer.d.ts", + "lib/components/DataTable/TableExpandHeader.d.ts", + "lib/components/DataTable/TableExpandRow.d.ts", + "lib/components/DataTable/TableExpandedRow.d.ts", + "lib/components/DataTable/TableHead.d.ts", + "lib/components/DataTable/TableHeader.d.ts", + "lib/components/DataTable/TableRow.d.ts", + "lib/components/DataTable/TableSelectAll.d.ts", + "lib/components/DataTable/TableSelectRow.d.ts", + "lib/components/DataTable/TableToolbar.d.ts", + "lib/components/DataTable/TableToolbarAction.d.ts", + "lib/components/DataTable/TableToolbarContent.d.ts", + "lib/components/DataTable/TableToolbarMenu.d.ts", + "lib/components/DataTable/TableToolbarSearch.d.ts", + "lib/components/DataTable/index.d.ts", + "lib/components/DataTable/state/sorting.d.ts", + "lib/components/DataTableSkeleton/DataTableSkeleton.d.ts", + "lib/components/DataTableSkeleton/index.d.ts", + "lib/components/DatePicker/DatePicker.Skeleton.d.ts", + "lib/components/DatePicker/DatePicker.d.ts", + "lib/components/DatePicker/index.d.ts", + "lib/components/DatePickerInput/DatePickerInput.d.ts", + "lib/components/DatePickerInput/index.d.ts", + "lib/components/Dropdown/Dropdown.Skeleton.d.ts", + "lib/components/Dropdown/Dropdown.d.ts", + "lib/components/Dropdown/index.d.ts", + "lib/components/FileUploader/FileUploader.Skeleton.d.ts", + "lib/components/FileUploader/FileUploader.d.ts", + "lib/components/FileUploader/index.d.ts", + "lib/components/Form/Form.d.ts", + "lib/components/Form/index.d.ts", + "lib/components/FormGroup/FormGroup.d.ts", + "lib/components/FormGroup/index.d.ts", + "lib/components/FormItem/FormItem.d.ts", + "lib/components/FormItem/index.d.ts", + "lib/components/FormLabel/FormLabel.d.ts", + "lib/components/FormLabel/index.d.ts", + "lib/components/Icon/Icon.Skeleton.d.ts", + "lib/components/Icon/Icon.d.ts", + "lib/components/Icon/index.d.ts", + "lib/components/InlineCheckbox/InlineCheckbox.d.ts", + "lib/components/InlineCheckbox/index.d.ts", + "lib/components/InlineLoading/InlineLoading.d.ts", + "lib/components/InlineLoading/index.d.ts", + "lib/components/Link/Link.d.ts", + "lib/components/Link/index.d.ts", + "lib/components/ListBox/ListBox.d.ts", + "lib/components/ListBox/ListBoxField.d.ts", + "lib/components/ListBox/ListBoxMenu.d.ts", + "lib/components/ListBox/ListBoxMenuIcon.d.ts", + "lib/components/ListBox/ListBoxMenuItem.d.ts", + "lib/components/ListBox/ListBoxPropTypes.d.ts", + "lib/components/ListBox/ListBoxSelection.d.ts", + "lib/components/ListBox/index.d.ts", + "lib/components/ListItem/ListItem.d.ts", + "lib/components/ListItem/index.d.ts", + "lib/components/Loading/Loading.d.ts", + "lib/components/Loading/index.d.ts", + "lib/components/Modal/Modal.d.ts", + "lib/components/Modal/index.d.ts", + "lib/components/ModalWrapper/ModalWrapper.d.ts", + "lib/components/ModalWrapper/index.d.ts", + "lib/components/MultiSelect/FilterableMultiSelect.d.ts", + "lib/components/MultiSelect/MultiSelect.d.ts", + "lib/components/MultiSelect/MultiSelectPropTypes.d.ts", + "lib/components/MultiSelect/index.d.ts", + "lib/components/Notification/Notification.d.ts", + "lib/components/Notification/a11yIconWarningSolid.d.ts", + "lib/components/Notification/index.d.ts", + "lib/components/NumberInput/NumberInput.Skeleton.d.ts", + "lib/components/NumberInput/NumberInput.d.ts", + "lib/components/NumberInput/index.d.ts", + "lib/components/OrderedList/OrderedList.d.ts", + "lib/components/OrderedList/index.d.ts", + "lib/components/OverflowMenu/OverflowMenu.d.ts", + "lib/components/OverflowMenu/index.d.ts", + "lib/components/OverflowMenuItem/OverflowMenuItem.d.ts", + "lib/components/OverflowMenuItem/index.d.ts", + "lib/components/Pagination/Pagination.Skeleton.d.ts", + "lib/components/Pagination/Pagination.d.ts", + "lib/components/Pagination/index.d.ts", + "lib/components/PrimaryButton/PrimaryButton.d.ts", + "lib/components/PrimaryButton/index.d.ts", + "lib/components/ProgressIndicator/ProgressIndicator.Skeleton.d.ts", + "lib/components/ProgressIndicator/ProgressIndicator.d.ts", + "lib/components/ProgressIndicator/index.d.ts", + "lib/components/RadioButton/RadioButton.Skeleton.d.ts", + "lib/components/RadioButton/RadioButton.d.ts", + "lib/components/RadioButton/index.d.ts", + "lib/components/RadioButtonGroup/RadioButtonGroup.d.ts", + "lib/components/RadioButtonGroup/index.d.ts", + "lib/components/RadioTile/RadioTile.d.ts", + "lib/components/RadioTile/index.d.ts", + "lib/components/Search/Search.Skeleton.d.ts", + "lib/components/Search/Search.d.ts", + "lib/components/Search/index.d.ts", + "lib/components/SearchFilterButton/SearchFilterButton.d.ts", + "lib/components/SearchFilterButton/index.d.ts", + "lib/components/SearchLayoutButton/SearchLayoutButton.d.ts", + "lib/components/SearchLayoutButton/index.d.ts", + "lib/components/SecondaryButton/SecondaryButton.d.ts", + "lib/components/SecondaryButton/index.d.ts", + "lib/components/Select/Select.Skeleton.d.ts", + "lib/components/Select/Select.d.ts", + "lib/components/Select/index.d.ts", + "lib/components/SelectItem/SelectItem.d.ts", + "lib/components/SelectItem/index.d.ts", + "lib/components/SelectItemGroup/SelectItemGroup.d.ts", + "lib/components/SelectItemGroup/index.d.ts", + "lib/components/SkeletonPlaceholder/SkeletonPlaceholder.d.ts", + "lib/components/SkeletonPlaceholder/index.d.ts", + "lib/components/SkeletonText/SkeletonText.d.ts", + "lib/components/SkeletonText/index.d.ts", + "lib/components/Slider/Slider.Skeleton.d.ts", + "lib/components/Slider/Slider.d.ts", + "lib/components/Slider/index.d.ts", + "lib/components/StructuredList/StructuredList.Skeleton.d.ts", + "lib/components/StructuredList/StructuredList.d.ts", + "lib/components/StructuredList/index.d.ts", + "lib/components/Switch/Switch.d.ts", + "lib/components/Switch/index.d.ts", + "lib/components/Tab/Tab.d.ts", + "lib/components/Tab/index.d.ts", + "lib/components/TabContent/TabContent.d.ts", + "lib/components/TabContent/index.d.ts", + "lib/components/Tabs/Tabs.Skeleton.d.ts", + "lib/components/Tabs/Tabs.d.ts", + "lib/components/Tabs/index.d.ts", + "lib/components/Tag/Tag.Skeleton.d.ts", + "lib/components/Tag/Tag.d.ts", + "lib/components/Tag/index.d.ts", + "lib/components/TextArea/TextArea.Skeleton.d.ts", + "lib/components/TextArea/TextArea.d.ts", + "lib/components/TextArea/index.d.ts", + "lib/components/TextInput/ControlledPasswordInput.d.ts", + "lib/components/TextInput/PasswordInput.d.ts", + "lib/components/TextInput/TextInput.Skeleton.d.ts", + "lib/components/TextInput/TextInput.d.ts", + "lib/components/TextInput/index.d.ts", + "lib/components/TextInput/props.d.ts", + "lib/components/Tile/Tile.d.ts", + "lib/components/Tile/index.d.ts", + "lib/components/TileGroup/TileGroup.d.ts", + "lib/components/TileGroup/index.d.ts", + "lib/components/TimePicker/TimePicker.d.ts", + "lib/components/TimePicker/index.d.ts", + "lib/components/TimePickerSelect/TimePickerSelect.d.ts", + "lib/components/TimePickerSelect/index.d.ts", + "lib/components/Toggle/Toggle.Skeleton.d.ts", + "lib/components/Toggle/Toggle.d.ts", + "lib/components/Toggle/index.d.ts", + "lib/components/ToggleSmall/ToggleSmall.Skeleton.d.ts", + "lib/components/ToggleSmall/ToggleSmall.d.ts", + "lib/components/ToggleSmall/index.d.ts", + "lib/components/Toolbar/Toolbar.d.ts", + "lib/components/Toolbar/index.d.ts", + "lib/components/ToolbarSearch/ToolbarSearch.d.ts", + "lib/components/ToolbarSearch/index.d.ts", + "lib/components/Tooltip/Tooltip.d.ts", + "lib/components/Tooltip/index.d.ts", + "lib/components/TooltipDefinition/TooltipDefinition.d.ts", + "lib/components/TooltipDefinition/index.d.ts", + "lib/components/TooltipIcon/TooltipIcon.d.ts", + "lib/components/TooltipIcon/index.d.ts", + "lib/components/UIShell/Content.d.ts", + "lib/components/UIShell/Header.d.ts", + "lib/components/UIShell/HeaderContainer.d.ts", + "lib/components/UIShell/HeaderGlobalAction.d.ts", + "lib/components/UIShell/HeaderGlobalBar.d.ts", + "lib/components/UIShell/HeaderMenu.d.ts", + "lib/components/UIShell/HeaderMenuButton.d.ts", + "lib/components/UIShell/HeaderMenuItem.d.ts", + "lib/components/UIShell/HeaderName.d.ts", + "lib/components/UIShell/HeaderNavigation.d.ts", + "lib/components/UIShell/HeaderPanel.d.ts", + "lib/components/UIShell/HeaderSideNavItems.d.ts", + "lib/components/UIShell/Link.d.ts", + "lib/components/UIShell/SideNav.d.ts", + "lib/components/UIShell/SideNavDetails.d.ts", + "lib/components/UIShell/SideNavFooter.d.ts", + "lib/components/UIShell/SideNavHeader.d.ts", + "lib/components/UIShell/SideNavIcon.d.ts", + "lib/components/UIShell/SideNavItem.d.ts", + "lib/components/UIShell/SideNavItems.d.ts", + "lib/components/UIShell/SideNavLink.d.ts", + "lib/components/UIShell/SideNavLinkText.d.ts", + "lib/components/UIShell/SideNavMenu.d.ts", + "lib/components/UIShell/SideNavMenuItem.d.ts", + "lib/components/UIShell/SideNavSwitcher.d.ts", + "lib/components/UIShell/SkipToContent.d.ts", + "lib/components/UIShell/Switcher.d.ts", + "lib/components/UIShell/SwitcherDivider.d.ts", + "lib/components/UIShell/SwitcherItem.d.ts", + "lib/components/UIShell/index.d.ts", + "lib/components/UnorderedList/UnorderedList.d.ts", + "lib/components/UnorderedList/index.d.ts", "index.d.ts", "typings/shared.d.ts", "carbon-components-react-tests.tsx" diff --git a/types/carbon-components-react/typings/translation.d.ts b/types/carbon-components-react/typings/translation.d.ts index 511f45d030..fffded7de1 100644 --- a/types/carbon-components-react/typings/translation.d.ts +++ b/types/carbon-components-react/typings/translation.d.ts @@ -3,12 +3,12 @@ import { TableBatchActionsTranslationKey, TableHeaderTranslationKey, TableToolbarTranslationKey, -} from '../components/DataTable'; -import { ListBoxFieldTranslationKey } from '../components/ListBox/ListBoxField'; -import { ListBoxMenuIconTranslationKey } from '../components/ListBox/ListBoxMenuIcon'; -import { ListBoxSelectionTranslationKey } from '../components/ListBox/ListBoxSelection'; -import { NumberInputTranslationKey } from '../components/NumberInput'; -import { SideNavTranslationKey } from '../components/UIShell/SideNav'; +} from '../lib/components/DataTable'; +import { ListBoxFieldTranslationKey } from '../lib/components/ListBox/ListBoxField'; +import { ListBoxMenuIconTranslationKey } from '../lib/components/ListBox/ListBoxMenuIcon'; +import { ListBoxSelectionTranslationKey } from '../lib/components/ListBox/ListBoxSelection'; +import { NumberInputTranslationKey } from '../lib/components/NumberInput'; +import { SideNavTranslationKey } from '../lib/components/UIShell/SideNav'; export type CarbonTranslationKey = DataTableTranslationKey