@audira/carbon-react-native 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/{components/accordion/_chevron/Chevron.js → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js} +22 -10
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js.map +1 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js +6 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js.map +1 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/index.js +17 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/index.js.map +1 -0
- package/lib/commonjs/_internal/components/index.js +17 -0
- package/lib/commonjs/_internal/components/index.js.map +1 -0
- package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js +2 -1
- package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js.map +1 -1
- package/lib/commonjs/_internal/providers/global-config/GlobalConfigProvider.js +7 -4
- package/lib/commonjs/_internal/providers/global-config/GlobalConfigProvider.js.map +1 -1
- package/lib/commonjs/carbon-react-native/CarbonReactNative.js +8 -6
- package/lib/commonjs/carbon-react-native/CarbonReactNative.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/color.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/flex.js +9 -1
- package/lib/commonjs/carbon-style-sheet/g/flex.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/index.js +11 -0
- package/lib/commonjs/carbon-style-sheet/g/index.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/spacing.js +172 -4
- package/lib/commonjs/carbon-style-sheet/g/spacing.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/visibility.js +40 -0
- package/lib/commonjs/carbon-style-sheet/g/visibility.js.map +1 -0
- package/lib/commonjs/carbon-style-sheet/g-object/flex.js +4 -1
- package/lib/commonjs/carbon-style-sheet/g-object/flex.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/index.js +11 -0
- package/lib/commonjs/carbon-style-sheet/g-object/index.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +67 -4
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/visibility.js +26 -0
- package/lib/commonjs/carbon-style-sheet/g-object/visibility.js.map +1 -0
- package/lib/commonjs/components/accordion/AccordionItemRefBase.js +2 -0
- package/lib/commonjs/components/accordion/AccordionItemRefBase.js.map +1 -0
- package/lib/commonjs/components/accordion/_Header.js +8 -6
- package/lib/commonjs/components/accordion/_Header.js.map +1 -1
- package/lib/commonjs/components/accordion/_Item.js +11 -9
- package/lib/commonjs/components/accordion/_Item.js.map +1 -1
- package/lib/commonjs/components/accordion/_motion.js.map +1 -1
- package/lib/commonjs/components/accordion/index.js +0 -66
- package/lib/commonjs/components/accordion/index.js.map +1 -1
- package/lib/commonjs/components/box/Box.js +6 -0
- package/lib/commonjs/components/box/Box.js.map +1 -1
- package/lib/commonjs/components/button/base/Base.js +5 -14
- package/lib/commonjs/components/button/base/Base.js.map +1 -1
- package/lib/commonjs/components/button/ghost/Ghost.js +0 -15
- package/lib/commonjs/components/button/ghost/Ghost.js.map +1 -1
- package/lib/commonjs/components/checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/checkbox/Checkbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxRefBase.js +6 -0
- package/lib/commonjs/components/checkbox/CheckboxRefBase.js.map +1 -0
- package/lib/commonjs/components/checkbox/index.js +0 -22
- package/lib/commonjs/components/checkbox/index.js.map +1 -1
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js +2 -2
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/commonjs/components/checkbox-input/CheckboxInputRefBase.js +6 -0
- package/lib/commonjs/components/checkbox-input/CheckboxInputRefBase.js.map +1 -0
- package/lib/commonjs/components/checkbox-input/index.js +0 -44
- package/lib/commonjs/components/checkbox-input/index.js.map +1 -1
- package/lib/commonjs/components/collapsible/Collapsible.js +26 -33
- package/lib/commonjs/components/collapsible/Collapsible.js.map +1 -1
- package/lib/commonjs/components/collapsible/CollapsibleRefBase.js +2 -0
- package/lib/commonjs/components/collapsible/CollapsibleRefBase.js.map +1 -0
- package/lib/commonjs/components/collapsible/index.js +0 -22
- package/lib/commonjs/components/collapsible/index.js.map +1 -1
- package/lib/commonjs/components/index.js +140 -42
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/radio-button/RadioButton.js +1 -1
- package/lib/commonjs/components/radio-button/RadioButton.js.map +1 -1
- package/lib/commonjs/components/radio-button/RadioButtonRefBase.js +6 -0
- package/lib/commonjs/components/radio-button/RadioButtonRefBase.js.map +1 -0
- package/lib/commonjs/components/radio-button/index.js +0 -22
- package/lib/commonjs/components/radio-button/index.js.map +1 -1
- package/lib/commonjs/components/radio-button-input/RadioButtonInputRefBase.js +2 -0
- package/lib/commonjs/components/radio-button-input/RadioButtonInputRefBase.js.map +1 -0
- package/lib/commonjs/components/radio-button-input/index.js +0 -33
- package/lib/commonjs/components/radio-button-input/index.js.map +1 -1
- package/lib/commonjs/components/scroll-view/ScrollView.js +35 -0
- package/lib/commonjs/components/scroll-view/ScrollView.js.map +1 -0
- package/lib/commonjs/components/scroll-view/ScrollViewProps.js +6 -0
- package/lib/commonjs/components/{radio-button-input/_RefBase.js.map → scroll-view/ScrollViewProps.js.map} +1 -1
- package/lib/commonjs/components/scroll-view/index.js +17 -0
- package/lib/commonjs/components/scroll-view/index.js.map +1 -0
- package/lib/commonjs/components/switch/Switch.js +3 -2
- package/lib/commonjs/components/switch/Switch.js.map +1 -1
- package/lib/commonjs/components/switch/SwitchRefBase.js +2 -0
- package/lib/{module/components/collapsible/_RefBase.js.map → commonjs/components/switch/SwitchRefBase.js.map} +1 -1
- package/lib/commonjs/components/switch/index.js +0 -44
- package/lib/commonjs/components/switch/index.js.map +1 -1
- package/lib/commonjs/components/table/Table.js +15 -10
- package/lib/commonjs/components/table/Table.js.map +1 -1
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBar.js +81 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBar.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.js +6 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.js +6 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.js +2 -0
- package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.js +11 -0
- package/lib/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar/index.js +17 -0
- package/lib/commonjs/components/table-batch-action-bar/index.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.js +38 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js +6 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js +6 -0
- package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js.map +1 -0
- package/lib/commonjs/components/table-batch-action-bar-button/index.js +17 -0
- package/lib/commonjs/components/table-batch-action-bar-button/index.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCell.js +4 -2
- package/lib/commonjs/components/table-cell/TableCell.js.map +1 -1
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckbox.js +92 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckbox.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js +6 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.js +6 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.js +6 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/index.js +17 -0
- package/lib/commonjs/components/table-cell-checkbox/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js +3 -3
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -1
- package/lib/commonjs/components/table-cell-text/TableCellText.js +5 -7
- package/lib/commonjs/components/table-cell-text/TableCellText.js.map +1 -1
- package/lib/commonjs/components/table-header/TableHeader.js +53 -0
- package/lib/commonjs/components/table-header/TableHeader.js.map +1 -0
- package/lib/commonjs/components/table-header/TableHeaderProps.js +6 -0
- package/lib/commonjs/components/table-header/TableHeaderProps.js.map +1 -0
- package/lib/commonjs/components/table-header/TableHeaderRef.js +6 -0
- package/lib/{module/components/radio-button-input/_RefBase.js.map → commonjs/components/table-header/TableHeaderRef.js.map} +1 -1
- package/lib/commonjs/components/table-header/index.js +17 -0
- package/lib/commonjs/components/table-header/index.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRow.js +51 -32
- package/lib/commonjs/components/table-row/TableRow.js.map +1 -1
- package/lib/commonjs/components/table-row/_TableRowContext.js +5 -1
- package/lib/commonjs/components/table-row/_TableRowContext.js.map +1 -1
- package/lib/commonjs/components/table-row/_TableRowContextProvider.js +27 -0
- package/lib/commonjs/components/table-row/_TableRowContextProvider.js.map +1 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js +3 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js.map +1 -1
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsible.js +212 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsible.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js +77 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/index.js +17 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/index.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/index.js +17 -0
- package/lib/commonjs/components/table-row-collapsible/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/TableToolbar.js +84 -0
- package/lib/commonjs/components/table-toolbar/TableToolbar.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarProps.js +6 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarRef.js +6 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarSize.js +2 -0
- package/lib/commonjs/components/table-toolbar/TableToolbarSize.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/_TableToolbarContext.js +11 -0
- package/lib/commonjs/components/table-toolbar/_TableToolbarContext.js.map +1 -0
- package/lib/commonjs/components/table-toolbar/index.js +17 -0
- package/lib/commonjs/components/table-toolbar/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/_useSize.js +17 -0
- package/lib/commonjs/components/table-toolbar-button/_useSize.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/Ghost.js +22 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/Ghost.js.map +1 -0
- package/lib/commonjs/components/{checkbox-input/_RefBase.js → table-toolbar-button/ghost/GhostProps.js} +1 -1
- package/lib/commonjs/components/table-toolbar-button/ghost/GhostProps.js.map +1 -0
- package/lib/commonjs/components/{toggle/base/_RefBase.js → table-toolbar-button/ghost/GhostRef.js} +1 -1
- package/lib/commonjs/components/table-toolbar-button/ghost/GhostRef.js.map +1 -0
- package/lib/commonjs/components/{accordion/_chevron → table-toolbar-button/ghost}/index.js +4 -4
- package/lib/commonjs/components/table-toolbar-button/ghost/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.js +22 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.js.map +1 -0
- package/lib/commonjs/components/{accordion/_chevron/ChevronProps.js → table-toolbar-button/ghost-icon/GhostIconRef.js} +1 -1
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/index.js +17 -0
- package/lib/commonjs/components/table-toolbar-button/ghost-icon/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/index.js +39 -0
- package/lib/commonjs/components/table-toolbar-button/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/primary/Primary.js +22 -0
- package/lib/commonjs/components/table-toolbar-button/primary/Primary.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/primary/PrimaryProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-button/primary/PrimaryProps.js.map +1 -0
- package/lib/commonjs/components/{checkbox/_RefBase.js → table-toolbar-button/primary/PrimaryRef.js} +1 -1
- package/lib/commonjs/components/table-toolbar-button/primary/PrimaryRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/primary/index.js +17 -0
- package/lib/commonjs/components/table-toolbar-button/primary/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.js +60 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.js +6 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js +2 -0
- package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.js +2 -0
- package/lib/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js +23 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/index.js +17 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js +29 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js +6 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.js +17 -0
- package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/_useAnimatedContent.js +86 -0
- package/lib/commonjs/components/table-toolbar-switcher/_useAnimatedContent.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-switcher/index.js +17 -0
- package/lib/commonjs/components/table-toolbar-switcher/index.js.map +1 -0
- package/lib/commonjs/components/{radio-button/_RefBase.js → toggle/base/BaseRefBase.js} +1 -1
- package/lib/commonjs/components/toggle/base/BaseRefBase.js.map +1 -0
- package/lib/commonjs/components/toggle/base/index.js +0 -22
- package/lib/commonjs/components/toggle/base/index.js.map +1 -1
- package/lib/module/{components/accordion/_chevron/Chevron.js → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js} +22 -10
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js.map +1 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js +4 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js.map +1 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/index.js +4 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/index.js.map +1 -0
- package/lib/module/_internal/components/index.js +4 -0
- package/lib/module/_internal/components/index.js.map +1 -0
- package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js +2 -1
- package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js.map +1 -1
- package/lib/module/_internal/providers/global-config/GlobalConfigProvider.js +7 -4
- package/lib/module/_internal/providers/global-config/GlobalConfigProvider.js.map +1 -1
- package/lib/module/carbon-react-native/CarbonReactNative.js +8 -6
- package/lib/module/carbon-react-native/CarbonReactNative.js.map +1 -1
- package/lib/module/carbon-style-sheet/color.js +1 -1
- package/lib/module/carbon-style-sheet/g/flex.js +7 -0
- package/lib/module/carbon-style-sheet/g/flex.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/font.js +1 -1
- package/lib/module/carbon-style-sheet/g/index.js +1 -0
- package/lib/module/carbon-style-sheet/g/index.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/spacing.js +148 -1
- package/lib/module/carbon-style-sheet/g/spacing.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g/visibility.js +34 -0
- package/lib/module/carbon-style-sheet/g/visibility.js.map +1 -0
- package/lib/module/carbon-style-sheet/g-object/flex.js +3 -0
- package/lib/module/carbon-style-sheet/g-object/flex.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/index.js +1 -0
- package/lib/module/carbon-style-sheet/g-object/index.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js +64 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/visibility.js +22 -0
- package/lib/module/carbon-style-sheet/g-object/visibility.js.map +1 -0
- package/lib/module/components/accordion/AccordionItemRefBase.js +2 -0
- package/lib/module/components/accordion/AccordionItemRefBase.js.map +1 -0
- package/lib/module/components/accordion/_Header.js +4 -2
- package/lib/module/components/accordion/_Header.js.map +1 -1
- package/lib/module/components/accordion/_Item.js +11 -9
- package/lib/module/components/accordion/_Item.js.map +1 -1
- package/lib/module/components/accordion/_motion.js.map +1 -1
- package/lib/module/components/accordion/index.js +0 -6
- package/lib/module/components/accordion/index.js.map +1 -1
- package/lib/module/components/box/Box.js +6 -0
- package/lib/module/components/box/Box.js.map +1 -1
- package/lib/module/components/button/base/Base.js +5 -14
- package/lib/module/components/button/base/Base.js.map +1 -1
- package/lib/module/components/button/ghost/Ghost.js +1 -16
- package/lib/module/components/button/ghost/Ghost.js.map +1 -1
- package/lib/module/components/checkbox/Checkbox.js +1 -1
- package/lib/module/components/checkbox/Checkbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxRefBase.js +4 -0
- package/lib/module/components/checkbox/CheckboxRefBase.js.map +1 -0
- package/lib/module/components/checkbox/index.js +0 -2
- package/lib/module/components/checkbox/index.js.map +1 -1
- package/lib/module/components/checkbox-input/CheckboxInput.js +2 -2
- package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/module/components/checkbox-input/CheckboxInputRefBase.js +4 -0
- package/lib/module/components/checkbox-input/CheckboxInputRefBase.js.map +1 -0
- package/lib/module/components/checkbox-input/index.js +0 -4
- package/lib/module/components/checkbox-input/index.js.map +1 -1
- package/lib/module/components/collapsible/Collapsible.js +26 -33
- package/lib/module/components/collapsible/Collapsible.js.map +1 -1
- package/lib/module/components/collapsible/CollapsibleRefBase.js +2 -0
- package/lib/module/components/collapsible/CollapsibleRefBase.js.map +1 -0
- package/lib/module/components/collapsible/index.js +0 -2
- package/lib/module/components/collapsible/index.js.map +1 -1
- package/lib/module/components/index.js +10 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/radio-button/RadioButton.js +1 -1
- package/lib/module/components/radio-button/RadioButton.js.map +1 -1
- package/lib/module/components/radio-button/RadioButtonRefBase.js +4 -0
- package/lib/module/components/radio-button/RadioButtonRefBase.js.map +1 -0
- package/lib/module/components/radio-button/index.js +0 -2
- package/lib/module/components/radio-button/index.js.map +1 -1
- package/lib/module/components/radio-button-input/RadioButtonInputRefBase.js +2 -0
- package/lib/module/components/radio-button-input/RadioButtonInputRefBase.js.map +1 -0
- package/lib/module/components/radio-button-input/index.js +0 -3
- package/lib/module/components/radio-button-input/index.js.map +1 -1
- package/lib/module/components/scroll-view/ScrollView.js +30 -0
- package/lib/module/components/scroll-view/ScrollView.js.map +1 -0
- package/lib/module/components/scroll-view/ScrollViewProps.js +4 -0
- package/lib/module/components/scroll-view/ScrollViewProps.js.map +1 -0
- package/lib/module/components/scroll-view/index.js +4 -0
- package/lib/module/components/scroll-view/index.js.map +1 -0
- package/lib/module/components/switch/Switch.js +3 -2
- package/lib/module/components/switch/Switch.js.map +1 -1
- package/lib/module/components/switch/SwitchRefBase.js +2 -0
- package/lib/{commonjs/components/collapsible/_RefBase.js.map → module/components/switch/SwitchRefBase.js.map} +1 -1
- package/lib/module/components/switch/index.js +0 -4
- package/lib/module/components/switch/index.js.map +1 -1
- package/lib/module/components/table/Table.js +15 -10
- package/lib/module/components/table/Table.js.map +1 -1
- package/lib/module/components/table-batch-action-bar/TableBatchActionBar.js +76 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBar.js.map +1 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarProps.js +4 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarProps.js.map +1 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarRef.js +4 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarRef.js.map +1 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarSize.js +2 -0
- package/lib/module/components/table-batch-action-bar/TableBatchActionBarSize.js.map +1 -0
- package/lib/module/components/table-batch-action-bar/_TableBatchActionBarContext.js +7 -0
- package/lib/module/components/table-batch-action-bar/_TableBatchActionBarContext.js.map +1 -0
- package/lib/module/components/table-batch-action-bar/index.js +4 -0
- package/lib/module/components/table-batch-action-bar/index.js.map +1 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButton.js +33 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButton.js.map +1 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js +4 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js.map +1 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js +4 -0
- package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js.map +1 -0
- package/lib/module/components/table-batch-action-bar-button/index.js +4 -0
- package/lib/module/components/table-batch-action-bar-button/index.js.map +1 -0
- package/lib/module/components/table-cell/TableCell.js +4 -2
- package/lib/module/components/table-cell/TableCell.js.map +1 -1
- package/lib/module/components/table-cell-checkbox/TableCellCheckbox.js +87 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckbox.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxProps.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxProps.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxRef.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxRef.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/index.js +4 -0
- package/lib/module/components/table-cell-checkbox/index.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js +4 -4
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -1
- package/lib/module/components/table-cell-text/TableCellText.js +5 -7
- package/lib/module/components/table-cell-text/TableCellText.js.map +1 -1
- package/lib/module/components/table-header/TableHeader.js +48 -0
- package/lib/module/components/table-header/TableHeader.js.map +1 -0
- package/lib/module/components/table-header/TableHeaderProps.js +4 -0
- package/lib/module/components/table-header/TableHeaderProps.js.map +1 -0
- package/lib/module/components/table-header/TableHeaderRef.js +4 -0
- package/lib/module/components/table-header/TableHeaderRef.js.map +1 -0
- package/lib/module/components/table-header/index.js +4 -0
- package/lib/module/components/table-header/index.js.map +1 -0
- package/lib/module/components/table-row/TableRow.js +51 -32
- package/lib/module/components/table-row/TableRow.js.map +1 -1
- package/lib/module/components/table-row/_TableRowContext.js +5 -1
- package/lib/module/components/table-row/_TableRowContext.js.map +1 -1
- package/lib/module/components/table-row/_TableRowContextProvider.js +23 -0
- package/lib/module/components/table-row/_TableRowContextProvider.js.map +1 -0
- package/lib/module/components/table-row/_style-sheet-height.js +3 -0
- package/lib/module/components/table-row/_style-sheet-height.js.map +1 -1
- package/lib/module/components/table-row-collapsible/TableRowCollapsible.js +207 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsible.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleProps.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleProps.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRef.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRef.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRefBase.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRefBase.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js +72 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js +4 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/index.js +4 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/index.js.map +1 -0
- package/lib/module/components/table-row-collapsible/index.js +4 -0
- package/lib/module/components/table-row-collapsible/index.js.map +1 -0
- package/lib/module/components/table-toolbar/TableToolbar.js +79 -0
- package/lib/module/components/table-toolbar/TableToolbar.js.map +1 -0
- package/lib/module/components/table-toolbar/TableToolbarProps.js +4 -0
- package/lib/module/components/table-toolbar/TableToolbarProps.js.map +1 -0
- package/lib/module/components/table-toolbar/TableToolbarRef.js +4 -0
- package/lib/module/components/table-toolbar/TableToolbarRef.js.map +1 -0
- package/lib/module/components/table-toolbar/TableToolbarSize.js +2 -0
- package/lib/module/components/table-toolbar/TableToolbarSize.js.map +1 -0
- package/lib/module/components/table-toolbar/_TableToolbarContext.js +7 -0
- package/lib/module/components/table-toolbar/_TableToolbarContext.js.map +1 -0
- package/lib/module/components/table-toolbar/index.js +4 -0
- package/lib/module/components/table-toolbar/index.js.map +1 -0
- package/lib/module/components/table-toolbar-button/_useSize.js +13 -0
- package/lib/module/components/table-toolbar-button/_useSize.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost/Ghost.js +18 -0
- package/lib/module/components/table-toolbar-button/ghost/Ghost.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost/GhostProps.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost/GhostProps.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost/GhostRef.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost/GhostRef.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost/index.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost/index.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIcon.js +18 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIcon.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconProps.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconProps.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconRef.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconRef.js.map +1 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/index.js +4 -0
- package/lib/module/components/table-toolbar-button/ghost-icon/index.js.map +1 -0
- package/lib/module/components/table-toolbar-button/index.js +6 -0
- package/lib/module/components/table-toolbar-button/index.js.map +1 -0
- package/lib/module/components/table-toolbar-button/primary/Primary.js +18 -0
- package/lib/module/components/table-toolbar-button/primary/Primary.js.map +1 -0
- package/lib/module/components/table-toolbar-button/primary/PrimaryProps.js +4 -0
- package/lib/module/components/table-toolbar-button/primary/PrimaryProps.js.map +1 -0
- package/lib/module/components/table-toolbar-button/primary/PrimaryRef.js +4 -0
- package/lib/module/components/table-toolbar-button/primary/PrimaryRef.js.map +1 -0
- package/lib/module/components/table-toolbar-button/primary/index.js +4 -0
- package/lib/module/components/table-toolbar-button/primary/index.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcher.js +56 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcher.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.js +4 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.js +4 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js +2 -0
- package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_AnimatedContentProps.js +2 -0
- package/lib/module/components/table-toolbar-switcher/_AnimatedContentProps.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js +19 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js +4 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/index.js +4 -0
- package/lib/module/components/table-toolbar-switcher/_animated-next-content/index.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js +25 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js +4 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js +4 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/index.js +4 -0
- package/lib/module/components/table-toolbar-switcher/_animated-toolbar/index.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/_useAnimatedContent.js +81 -0
- package/lib/module/components/table-toolbar-switcher/_useAnimatedContent.js.map +1 -0
- package/lib/module/components/table-toolbar-switcher/index.js +4 -0
- package/lib/module/components/table-toolbar-switcher/index.js.map +1 -0
- package/lib/module/components/toggle/base/BaseRefBase.js +4 -0
- package/lib/module/components/toggle/base/BaseRefBase.js.map +1 -0
- package/lib/module/components/toggle/base/index.js +0 -2
- package/lib/module/components/toggle/base/index.js.map +1 -1
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts +3 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts +9 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/index.d.ts +3 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/contexts/global-config/GlobalConfigContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
- package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-react-native/CarbonReactNative.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
- package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/flex.d.ts +3 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/flex.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/index.d.ts +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/spacing.d.ts +63 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/visibility.d.ts +19 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/visibility.d.ts.map +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/flex.d.ts +3 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/flex.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/index.d.ts +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/spacing.d.ts +63 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/visibility.d.ts +19 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/visibility.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/AccordionItemRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/accordion/AccordionItemRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/accordion/_Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_Item.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_context.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/_context.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_motion.d.ts +9 -2
- package/lib/typescript/commonjs/components/accordion/_motion.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/index.d.ts +7 -6
- package/lib/typescript/commonjs/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/box/Box.d.ts +6 -0
- package/lib/typescript/commonjs/components/box/Box.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/CheckboxRefBase.d.ts +5 -0
- package/lib/typescript/commonjs/components/checkbox/CheckboxRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/checkbox/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts.map +1 -1
- package/lib/typescript/{module/components/checkbox-input/_RefBase.d.ts → commonjs/components/checkbox-input/CheckboxInputRefBase.d.ts} +6 -3
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/checkbox-input/index.d.ts +5 -4
- package/lib/typescript/commonjs/components/checkbox-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts +1 -2
- package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRefBase.d.ts +9 -0
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/collapsible/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/collapsible/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +10 -1
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRefBase.d.ts +4 -0
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/radio-button/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts +4 -3
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/scroll-view/ScrollView.d.ts +9 -0
- package/lib/typescript/commonjs/components/scroll-view/ScrollView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/scroll-view/ScrollViewProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/scroll-view/ScrollViewProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/scroll-view/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/scroll-view/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/switch/Switch.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/switch/SwitchRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/switch/SwitchRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/switch/index.d.ts +5 -4
- package/lib/typescript/commonjs/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table/Table.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table/TableProps.d.ts +15 -0
- package/lib/typescript/commonjs/components/table/TableProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table/TableRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/table/TableRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBar.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.d.ts +30 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-batch-action-bar-button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckbox.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.d.ts +13 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-header/TableHeader.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-header/TableHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-header/TableHeaderProps.d.ts +9 -0
- package/lib/typescript/commonjs/components/table-header/TableHeaderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-header/TableHeaderRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-header/TableHeaderRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-header/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-header/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRow.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +10 -1
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts +3 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContextProvider.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContextProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsible.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsible.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.d.ts +23 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbar.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarProps.d.ts +22 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarSize.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-toolbar/TableToolbarSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/_TableToolbarContext.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-toolbar/_TableToolbarContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-toolbar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/_useSize.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/_useSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/Ghost.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/Ghost.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/Primary.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/Primary.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-button/primary/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts +10 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts +16 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts +17 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_useAnimatedContent.d.ts +20 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/_useAnimatedContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-toolbar-switcher/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/base/BaseRefBase.d.ts +4 -0
- package/lib/typescript/commonjs/components/toggle/base/BaseRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts +3 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts +9 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/index.d.ts +3 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/index.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/index.d.ts +2 -0
- package/lib/typescript/module/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/module/_internal/contexts/global-config/GlobalConfigContext.d.ts.map +1 -1
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts.map +1 -1
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
- package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -1
- package/lib/typescript/module/carbon-react-native/CarbonReactNative.d.ts.map +1 -1
- package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
- package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/flex.d.ts +3 -0
- package/lib/typescript/module/carbon-style-sheet/g/flex.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/index.d.ts +1 -0
- package/lib/typescript/module/carbon-style-sheet/g/index.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/spacing.d.ts +63 -0
- package/lib/typescript/module/carbon-style-sheet/g/spacing.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/visibility.d.ts +19 -0
- package/lib/typescript/module/carbon-style-sheet/g/visibility.d.ts.map +1 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/flex.d.ts +3 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/flex.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/index.d.ts +1 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/index.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/spacing.d.ts +63 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/spacing.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/visibility.d.ts +19 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/visibility.d.ts.map +1 -0
- package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/AccordionItemRefBase.d.ts +11 -0
- package/lib/typescript/module/components/accordion/AccordionItemRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/accordion/_Header.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_Item.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_context.d.ts +1 -1
- package/lib/typescript/module/components/accordion/_context.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_motion.d.ts +9 -2
- package/lib/typescript/module/components/accordion/_motion.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/index.d.ts +7 -6
- package/lib/typescript/module/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/module/components/box/Box.d.ts +6 -0
- package/lib/typescript/module/components/box/Box.d.ts.map +1 -1
- package/lib/typescript/module/components/button/ghost/Ghost.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/CheckboxRefBase.d.ts +5 -0
- package/lib/typescript/module/components/checkbox/CheckboxRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/checkbox/index.d.ts +3 -2
- package/lib/typescript/module/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts.map +1 -1
- package/lib/typescript/{commonjs/components/checkbox-input/_RefBase.d.ts → module/components/checkbox-input/CheckboxInputRefBase.d.ts} +6 -3
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/checkbox-input/index.d.ts +5 -4
- package/lib/typescript/module/components/checkbox-input/index.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts +1 -2
- package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleRefBase.d.ts +9 -0
- package/lib/typescript/module/components/collapsible/CollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/collapsible/index.d.ts +3 -2
- package/lib/typescript/module/components/collapsible/index.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +10 -1
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/RadioButtonRefBase.d.ts +4 -0
- package/lib/typescript/module/components/radio-button/RadioButtonRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/radio-button/index.d.ts +3 -2
- package/lib/typescript/module/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRefBase.d.ts +11 -0
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/radio-button-input/index.d.ts +4 -3
- package/lib/typescript/module/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/module/components/scroll-view/ScrollView.d.ts +9 -0
- package/lib/typescript/module/components/scroll-view/ScrollView.d.ts.map +1 -0
- package/lib/typescript/module/components/scroll-view/ScrollViewProps.d.ts +4 -0
- package/lib/typescript/module/components/scroll-view/ScrollViewProps.d.ts.map +1 -0
- package/lib/typescript/module/components/scroll-view/index.d.ts +3 -0
- package/lib/typescript/module/components/scroll-view/index.d.ts.map +1 -0
- package/lib/typescript/module/components/switch/Switch.d.ts.map +1 -1
- package/lib/typescript/module/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/module/components/switch/SwitchRef.d.ts.map +1 -1
- package/lib/typescript/module/components/switch/SwitchRefBase.d.ts +11 -0
- package/lib/typescript/module/components/switch/SwitchRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/switch/index.d.ts +5 -4
- package/lib/typescript/module/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/module/components/table/Table.d.ts.map +1 -1
- package/lib/typescript/module/components/table/TableProps.d.ts +15 -0
- package/lib/typescript/module/components/table/TableProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table/TableRef.d.ts +2 -2
- package/lib/typescript/module/components/table/TableRef.d.ts.map +1 -1
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBar.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBar.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarProps.d.ts +30 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarRef.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarSize.d.ts +2 -0
- package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarSize.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts +6 -0
- package/lib/typescript/module/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar/index.d.ts +5 -0
- package/lib/typescript/module/components/table-batch-action-bar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/index.d.ts +4 -0
- package/lib/typescript/module/components/table-batch-action-bar-button/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCell.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts +5 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckbox.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckbox.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxProps.d.ts +13 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxRef.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/index.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-checkbox/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts.map +1 -1
- package/lib/typescript/module/components/table-header/TableHeader.d.ts +4 -0
- package/lib/typescript/module/components/table-header/TableHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/table-header/TableHeaderProps.d.ts +9 -0
- package/lib/typescript/module/components/table-header/TableHeaderProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-header/TableHeaderRef.d.ts +4 -0
- package/lib/typescript/module/components/table-header/TableHeaderRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-header/index.d.ts +4 -0
- package/lib/typescript/module/components/table-header/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRow.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts +10 -1
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts +3 -1
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/_TableRowContextProvider.d.ts +8 -0
- package/lib/typescript/module/components/table-row/_TableRowContextProvider.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts +3 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsible.d.ts +4 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsible.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleProps.d.ts +23 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRef.d.ts +5 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts +8 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts +3 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts +8 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/index.d.ts +3 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/index.d.ts +4 -0
- package/lib/typescript/module/components/table-row-collapsible/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbar.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbar.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarProps.d.ts +22 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarRef.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarSize.d.ts +2 -0
- package/lib/typescript/module/components/table-toolbar/TableToolbarSize.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/_TableToolbarContext.d.ts +6 -0
- package/lib/typescript/module/components/table-toolbar/_TableToolbarContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar/index.d.ts +5 -0
- package/lib/typescript/module/components/table-toolbar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/_useSize.d.ts +3 -0
- package/lib/typescript/module/components/table-toolbar-button/_useSize.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/Ghost.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/Ghost.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/GhostProps.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/GhostProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/GhostRef.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/GhostRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/index.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/index.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/ghost-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/index.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/Primary.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/Primary.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryProps.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryRef.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/index.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-button/primary/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts +10 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts +16 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts +5 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts +17 -0
- package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_AnimatedContentProps.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_AnimatedContentProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts +3 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts +5 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/index.d.ts +3 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts +5 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/index.d.ts +4 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_useAnimatedContent.d.ts +20 -0
- package/lib/typescript/module/components/table-toolbar-switcher/_useAnimatedContent.d.ts.map +1 -0
- package/lib/typescript/module/components/table-toolbar-switcher/index.d.ts +5 -0
- package/lib/typescript/module/components/table-toolbar-switcher/index.d.ts.map +1 -0
- package/lib/typescript/module/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/module/components/toggle/base/BaseRef.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/base/BaseRefBase.d.ts +4 -0
- package/lib/typescript/module/components/toggle/base/BaseRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/toggle/base/index.d.ts +3 -2
- package/lib/typescript/module/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/{components/accordion/_chevron/Chevron.tsx → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.tsx} +35 -11
- package/src/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.ts +14 -0
- package/src/_internal/components/animated-collapsible-chevron/index.ts +2 -0
- package/src/_internal/components/index.ts +1 -0
- package/src/_internal/contexts/global-config/GlobalConfigContext.ts +5 -1
- package/src/_internal/providers/global-config/GlobalConfigProvider.tsx +14 -4
- package/src/_internal/providers/global-config/GlobalConfigProviderProps.ts +1 -1
- package/src/carbon-react-native/CarbonReactNative.tsx +8 -8
- package/src/carbon-react-native/CarbonReactNativeProps.ts +1 -1
- package/src/carbon-style-sheet/color.ts +1 -1
- package/src/carbon-style-sheet/g/flex.ts +6 -0
- package/src/carbon-style-sheet/g/font.ts +1 -1
- package/src/carbon-style-sheet/g/index.ts +1 -0
- package/src/carbon-style-sheet/g/spacing.ts +106 -1
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g/visibility.ts +32 -0
- package/src/carbon-style-sheet/g-object/flex.ts +4 -0
- package/src/carbon-style-sheet/g-object/font.ts +1 -1
- package/src/carbon-style-sheet/g-object/index.ts +1 -0
- package/src/carbon-style-sheet/g-object/spacing.ts +85 -1
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/visibility.ts +23 -0
- package/src/components/accordion/AccordionItemRef.ts +3 -3
- package/src/components/accordion/AccordionItemRefBase.ts +10 -0
- package/src/components/accordion/_Header.tsx +8 -3
- package/src/components/accordion/_Item.tsx +19 -16
- package/src/components/accordion/_context.ts +1 -1
- package/src/components/accordion/_motion.ts +2 -2
- package/src/components/accordion/index.ts +7 -6
- package/src/components/box/Box.tsx +6 -0
- package/src/components/button/base/Base.tsx +6 -17
- package/src/components/button/ghost/Ghost.tsx +3 -23
- package/src/components/checkbox/Checkbox.tsx +4 -5
- package/src/components/checkbox/CheckboxRef.ts +3 -3
- package/src/components/checkbox/CheckboxRefBase.ts +7 -0
- package/src/components/checkbox/index.ts +3 -2
- package/src/components/checkbox-input/CheckboxInput.tsx +7 -7
- package/src/components/checkbox-input/CheckboxInputRef.ts +3 -4
- package/src/components/checkbox-input/{_RefBase.ts → CheckboxInputRefBase.ts} +5 -2
- package/src/components/checkbox-input/index.ts +5 -4
- package/src/components/collapsible/Collapsible.tsx +23 -40
- package/src/components/collapsible/CollapsibleProps.ts +1 -2
- package/src/components/collapsible/CollapsibleRef.ts +3 -3
- package/src/components/collapsible/CollapsibleRefBase.ts +8 -0
- package/src/components/collapsible/index.ts +3 -2
- package/src/components/index.ts +10 -0
- package/src/components/radio-button/RadioButton.tsx +4 -4
- package/src/components/radio-button/RadioButtonRef.ts +3 -3
- package/src/components/radio-button/RadioButtonRefBase.ts +6 -0
- package/src/components/radio-button/index.ts +3 -2
- package/src/components/radio-button-input/RadioButtonInput.tsx +3 -3
- package/src/components/radio-button-input/RadioButtonInputRef.ts +3 -3
- package/src/components/radio-button-input/RadioButtonInputRefBase.ts +10 -0
- package/src/components/radio-button-input/index.ts +4 -3
- package/src/components/scroll-view/ScrollView.tsx +62 -0
- package/src/components/scroll-view/ScrollViewProps.ts +6 -0
- package/src/components/scroll-view/index.ts +2 -0
- package/src/components/switch/Switch.tsx +8 -7
- package/src/components/switch/SwitchRef.ts +3 -3
- package/src/components/switch/SwitchRefBase.ts +10 -0
- package/src/components/switch/index.ts +5 -4
- package/src/components/table/Table.tsx +18 -7
- package/src/components/table/TableProps.ts +24 -0
- package/src/components/table/TableRef.ts +3 -3
- package/src/components/table-batch-action-bar/TableBatchActionBar.tsx +156 -0
- package/src/components/table-batch-action-bar/TableBatchActionBarProps.ts +42 -0
- package/src/components/table-batch-action-bar/TableBatchActionBarRef.ts +6 -0
- package/src/components/table-batch-action-bar/TableBatchActionBarSize.ts +3 -0
- package/src/components/table-batch-action-bar/_TableBatchActionBarContext.ts +15 -0
- package/src/components/table-batch-action-bar/index.ts +4 -0
- package/src/components/table-batch-action-bar-button/TableBatchActionBarButton.tsx +74 -0
- package/src/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.ts +6 -0
- package/src/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.ts +6 -0
- package/src/components/table-batch-action-bar-button/index.ts +3 -0
- package/src/components/table-cell/TableCell.tsx +3 -0
- package/src/components/table-cell/TableCellProps.ts +5 -0
- package/src/components/table-cell-checkbox/TableCellCheckbox.tsx +168 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxInteractiveState.ts +13 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxProps.ts +26 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxRef.ts +10 -0
- package/src/components/table-cell-checkbox/index.ts +4 -0
- package/src/components/table-cell-header/_sort-icon/SortIcon.tsx +4 -3
- package/src/components/table-cell-text/TableCellText.tsx +7 -8
- package/src/components/table-header/TableHeader.tsx +110 -0
- package/src/components/table-header/TableHeaderProps.ts +22 -0
- package/src/components/table-header/TableHeaderRef.ts +6 -0
- package/src/components/table-header/index.ts +3 -0
- package/src/components/table-row/TableRow.tsx +100 -55
- package/src/components/table-row/TableRowInteractiveState.ts +0 -1
- package/src/components/table-row/TableRowProps.ts +10 -1
- package/src/components/table-row/_TableRowContext.ts +7 -1
- package/src/components/table-row/_TableRowContextProvider.tsx +38 -0
- package/src/components/table-row/_style-sheet-height.ts +3 -0
- package/src/components/table-row-collapsible/TableRowCollapsible.tsx +415 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleProps.ts +44 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleRef.ts +10 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleRefBase.ts +10 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.tsx +140 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.ts +13 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/index.ts +2 -0
- package/src/components/table-row-collapsible/index.ts +3 -0
- package/src/components/table-toolbar/TableToolbar.tsx +165 -0
- package/src/components/table-toolbar/TableToolbarProps.ts +27 -0
- package/src/components/table-toolbar/TableToolbarRef.ts +6 -0
- package/src/components/table-toolbar/TableToolbarSize.ts +3 -0
- package/src/components/table-toolbar/_TableToolbarContext.ts +15 -0
- package/src/components/table-toolbar/index.ts +4 -0
- package/src/components/table-toolbar-button/_useSize.tsx +28 -0
- package/src/components/table-toolbar-button/ghost/Ghost.tsx +43 -0
- package/src/components/table-toolbar-button/ghost/GhostProps.ts +6 -0
- package/src/components/table-toolbar-button/ghost/GhostRef.ts +6 -0
- package/src/components/table-toolbar-button/ghost/index.ts +3 -0
- package/src/components/table-toolbar-button/ghost-icon/GhostIcon.tsx +43 -0
- package/src/components/table-toolbar-button/ghost-icon/GhostIconProps.ts +6 -0
- package/src/components/table-toolbar-button/ghost-icon/GhostIconRef.ts +6 -0
- package/src/components/table-toolbar-button/ghost-icon/index.ts +3 -0
- package/src/components/table-toolbar-button/index.ts +3 -0
- package/src/components/table-toolbar-button/primary/Primary.tsx +43 -0
- package/src/components/table-toolbar-button/primary/PrimaryProps.ts +6 -0
- package/src/components/table-toolbar-button/primary/PrimaryRef.ts +6 -0
- package/src/components/table-toolbar-button/primary/index.ts +3 -0
- package/src/components/table-toolbar-switcher/TableToolbarSwitcher.tsx +110 -0
- package/src/components/table-toolbar-switcher/TableToolbarSwitcherProps.ts +18 -0
- package/src/components/table-toolbar-switcher/TableToolbarSwitcherRef.ts +10 -0
- package/src/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.ts +16 -0
- package/src/components/table-toolbar-switcher/_AnimatedContentProps.ts +3 -0
- package/src/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.tsx +33 -0
- package/src/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.ts +10 -0
- package/src/components/table-toolbar-switcher/_animated-next-content/index.ts +2 -0
- package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.tsx +59 -0
- package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.ts +10 -0
- package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.ts +6 -0
- package/src/components/table-toolbar-switcher/_animated-toolbar/index.ts +3 -0
- package/src/components/table-toolbar-switcher/_useAnimatedContent.tsx +179 -0
- package/src/components/table-toolbar-switcher/index.ts +4 -0
- package/src/components/toggle/base/Base.tsx +3 -3
- package/src/components/toggle/base/BaseRef.ts +3 -3
- package/src/components/toggle/base/BaseRefBase.ts +7 -0
- package/src/components/toggle/base/index.ts +3 -2
- package/lib/commonjs/components/accordion/_ItemRefBase.js +0 -2
- package/lib/commonjs/components/accordion/_ItemRefBase.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/Chevron.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/ChevronProps.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/index.js.map +0 -1
- package/lib/commonjs/components/checkbox/_RefBase.js.map +0 -1
- package/lib/commonjs/components/checkbox-input/_RefBase.js.map +0 -1
- package/lib/commonjs/components/collapsible/_RefBase.js +0 -2
- package/lib/commonjs/components/radio-button/_RefBase.js.map +0 -1
- package/lib/commonjs/components/radio-button-input/_RefBase.js +0 -2
- package/lib/commonjs/components/switch/_RefBase.js +0 -2
- package/lib/commonjs/components/switch/_RefBase.js.map +0 -1
- package/lib/commonjs/components/toggle/base/_RefBase.js.map +0 -1
- package/lib/module/components/accordion/_ItemRefBase.js +0 -2
- package/lib/module/components/accordion/_ItemRefBase.js.map +0 -1
- package/lib/module/components/accordion/_chevron/Chevron.js.map +0 -1
- package/lib/module/components/accordion/_chevron/ChevronProps.js +0 -4
- package/lib/module/components/accordion/_chevron/ChevronProps.js.map +0 -1
- package/lib/module/components/accordion/_chevron/index.js +0 -4
- package/lib/module/components/accordion/_chevron/index.js.map +0 -1
- package/lib/module/components/checkbox/_RefBase.js +0 -4
- package/lib/module/components/checkbox/_RefBase.js.map +0 -1
- package/lib/module/components/checkbox-input/_RefBase.js +0 -4
- package/lib/module/components/checkbox-input/_RefBase.js.map +0 -1
- package/lib/module/components/collapsible/_RefBase.js +0 -2
- package/lib/module/components/radio-button/_RefBase.js +0 -4
- package/lib/module/components/radio-button/_RefBase.js.map +0 -1
- package/lib/module/components/radio-button-input/_RefBase.js +0 -2
- package/lib/module/components/switch/_RefBase.js +0 -2
- package/lib/module/components/switch/_RefBase.js.map +0 -1
- package/lib/module/components/toggle/base/_RefBase.js +0 -4
- package/lib/module/components/toggle/base/_RefBase.js.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_ItemRefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/accordion/_ItemRefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts +0 -3
- package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts +0 -8
- package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/checkbox-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/collapsible/_RefBase.d.ts +0 -7
- package/lib/typescript/commonjs/components/collapsible/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/radio-button-input/_RefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/radio-button-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/switch/_RefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/switch/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_ItemRefBase.d.ts +0 -8
- package/lib/typescript/module/components/accordion/_ItemRefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts +0 -3
- package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts +0 -8
- package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/index.d.ts +0 -3
- package/lib/typescript/module/components/accordion/_chevron/index.d.ts.map +0 -1
- package/lib/typescript/module/components/checkbox/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/checkbox/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/checkbox-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/collapsible/_RefBase.d.ts +0 -7
- package/lib/typescript/module/components/collapsible/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/radio-button/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/radio-button/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/radio-button-input/_RefBase.d.ts +0 -8
- package/lib/typescript/module/components/radio-button-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/switch/_RefBase.d.ts +0 -8
- package/lib/typescript/module/components/switch/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/toggle/base/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/toggle/base/_RefBase.d.ts.map +0 -1
- package/src/components/accordion/_ItemRefBase.ts +0 -7
- package/src/components/accordion/_chevron/ChevronProps.ts +0 -10
- package/src/components/accordion/_chevron/index.ts +0 -2
- package/src/components/checkbox/_RefBase.ts +0 -11
- package/src/components/collapsible/_RefBase.ts +0 -6
- package/src/components/radio-button/_RefBase.ts +0 -11
- package/src/components/radio-button-input/_RefBase.ts +0 -7
- package/src/components/switch/_RefBase.ts +0 -7
- package/src/components/toggle/base/_RefBase.ts +0 -11
|
@@ -26,6 +26,11 @@ export interface TableCellProps extends ViewProps {
|
|
|
26
26
|
* `children` prop takes over precedence over this prop.
|
|
27
27
|
*/
|
|
28
28
|
text?: string,
|
|
29
|
+
/**
|
|
30
|
+
* You may need this to make the checkbox cell invisible,
|
|
31
|
+
* but consist its width
|
|
32
|
+
*/
|
|
33
|
+
invisible?: boolean,
|
|
29
34
|
/**
|
|
30
35
|
* Only applies if you use the `text` prop instead of `children`
|
|
31
36
|
*/
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useCallback,
|
|
4
|
+
useContext,
|
|
5
|
+
useEffect,
|
|
6
|
+
useImperativeHandle,
|
|
7
|
+
useRef,
|
|
8
|
+
useState,
|
|
9
|
+
} from "react"
|
|
10
|
+
|
|
11
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet"
|
|
12
|
+
|
|
13
|
+
import {
|
|
14
|
+
CheckboxInput,
|
|
15
|
+
type CheckboxInputProps,
|
|
16
|
+
type CheckboxInputRefBase,
|
|
17
|
+
type CheckboxInputState,
|
|
18
|
+
} from "../checkbox-input"
|
|
19
|
+
|
|
20
|
+
import {
|
|
21
|
+
TableCell,
|
|
22
|
+
type TableCellRef,
|
|
23
|
+
} from "../table-cell"
|
|
24
|
+
|
|
25
|
+
import {
|
|
26
|
+
TableRowContext,
|
|
27
|
+
} from "../table-row/_TableRowContext"
|
|
28
|
+
|
|
29
|
+
import type {
|
|
30
|
+
TableCellCheckboxProps,
|
|
31
|
+
} from "./TableCellCheckboxProps"
|
|
32
|
+
|
|
33
|
+
import type {
|
|
34
|
+
TableCellCheckboxRef,
|
|
35
|
+
} from "./TableCellCheckboxRef"
|
|
36
|
+
|
|
37
|
+
export const TableCellCheckbox = forwardRef<TableCellCheckboxRef, TableCellCheckboxProps>(
|
|
38
|
+
function TableCellCheckbox(
|
|
39
|
+
{
|
|
40
|
+
// +++ Picked CheckboxInput props +++
|
|
41
|
+
defaultChecked,
|
|
42
|
+
checked: checkedProp,
|
|
43
|
+
interactiveState,
|
|
44
|
+
onChange,
|
|
45
|
+
// --- Picked CheckboxInput props ---
|
|
46
|
+
width = 32,
|
|
47
|
+
invisible,
|
|
48
|
+
checkboxInputProps,
|
|
49
|
+
style,
|
|
50
|
+
...props
|
|
51
|
+
},
|
|
52
|
+
ref,
|
|
53
|
+
) {
|
|
54
|
+
|
|
55
|
+
const
|
|
56
|
+
tableCellRef =
|
|
57
|
+
useRef<TableCellRef>(null),
|
|
58
|
+
|
|
59
|
+
tableRowContext =
|
|
60
|
+
useContext(TableRowContext),
|
|
61
|
+
|
|
62
|
+
checkedRef =
|
|
63
|
+
useRef({
|
|
64
|
+
onChangeEffect: false,
|
|
65
|
+
value: typeof checkedProp == "boolean" || typeof checkedProp == "object"
|
|
66
|
+
? checkedProp
|
|
67
|
+
: typeof defaultChecked == "boolean" || typeof defaultChecked == "object"
|
|
68
|
+
? defaultChecked
|
|
69
|
+
: false,
|
|
70
|
+
}),
|
|
71
|
+
|
|
72
|
+
[checkedSelf, setCheckedSelf] =
|
|
73
|
+
useState<CheckboxInputState>(() => {
|
|
74
|
+
if(typeof defaultChecked == "boolean" || typeof defaultChecked == "object") {
|
|
75
|
+
return defaultChecked
|
|
76
|
+
}
|
|
77
|
+
return false
|
|
78
|
+
}),
|
|
79
|
+
|
|
80
|
+
controlled =
|
|
81
|
+
typeof checkedProp !== "undefined",
|
|
82
|
+
|
|
83
|
+
checked =
|
|
84
|
+
controlled ? checkedProp : checkedSelf
|
|
85
|
+
|
|
86
|
+
const
|
|
87
|
+
onChangeCheckboxInput: NonNullable<CheckboxInputProps["onChange"]> =
|
|
88
|
+
useCallback(state => {
|
|
89
|
+
if(!controlled) {
|
|
90
|
+
checkedRef.current.onChangeEffect = true
|
|
91
|
+
checkedRef.current.value = state
|
|
92
|
+
setCheckedSelf(state)
|
|
93
|
+
} else {
|
|
94
|
+
onChange?.(state)
|
|
95
|
+
}
|
|
96
|
+
}, [
|
|
97
|
+
controlled,
|
|
98
|
+
onChange,
|
|
99
|
+
])
|
|
100
|
+
|
|
101
|
+
useEffect(() => {
|
|
102
|
+
if(!invisible) {
|
|
103
|
+
checkedRef.current.value = checked
|
|
104
|
+
|
|
105
|
+
tableRowContext.setSelected(checked !== false)
|
|
106
|
+
|
|
107
|
+
if(checkedRef.current.onChangeEffect) {
|
|
108
|
+
checkedRef.current.onChangeEffect = false
|
|
109
|
+
onChange?.(checked)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}, [
|
|
113
|
+
checked,
|
|
114
|
+
tableRowContext,
|
|
115
|
+
onChange,
|
|
116
|
+
invisible,
|
|
117
|
+
])
|
|
118
|
+
|
|
119
|
+
useImperativeHandle(ref, () => {
|
|
120
|
+
return Object.assign<TableCellRef, CheckboxInputRefBase>(
|
|
121
|
+
tableCellRef.current ?? {} as TableCellRef,
|
|
122
|
+
{
|
|
123
|
+
get checked() {
|
|
124
|
+
return checked
|
|
125
|
+
},
|
|
126
|
+
setChecked(val) {
|
|
127
|
+
if(!controlled && interactiveState != "read_only") {
|
|
128
|
+
checkedRef.current.onChangeEffect = true
|
|
129
|
+
if(typeof val == "function") {
|
|
130
|
+
checkedRef.current.value = val(checkedRef.current.value)
|
|
131
|
+
} else {
|
|
132
|
+
checkedRef.current.value = val
|
|
133
|
+
}
|
|
134
|
+
setCheckedSelf(checkedRef.current.value)
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
)
|
|
139
|
+
}, [
|
|
140
|
+
checked,
|
|
141
|
+
controlled,
|
|
142
|
+
interactiveState,
|
|
143
|
+
])
|
|
144
|
+
|
|
145
|
+
return (
|
|
146
|
+
<TableCell
|
|
147
|
+
ref={ tableCellRef }
|
|
148
|
+
{ ...props }
|
|
149
|
+
width={ width }
|
|
150
|
+
invisible={ invisible }
|
|
151
|
+
style={ [
|
|
152
|
+
CarbonStyleSheet.g.flex_initial,
|
|
153
|
+
style,
|
|
154
|
+
] }
|
|
155
|
+
>
|
|
156
|
+
{ !invisible && (
|
|
157
|
+
<CheckboxInput
|
|
158
|
+
{ ...checkboxInputProps }
|
|
159
|
+
interactiveState={ interactiveState ?? tableRowContext.interactiveState }
|
|
160
|
+
checked={ checked }
|
|
161
|
+
onChange={ onChangeCheckboxInput }
|
|
162
|
+
/>
|
|
163
|
+
) }
|
|
164
|
+
</TableCell>
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
},
|
|
168
|
+
)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
CheckboxInputInteractiveState,
|
|
3
|
+
} from "../checkbox-input/CheckboxInputInteractiveState"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
TableRowInteractiveState,
|
|
7
|
+
} from "../table-row/TableRowInteractiveState"
|
|
8
|
+
|
|
9
|
+
export type TableCellCheckboxInteractiveState =
|
|
10
|
+
Exclude<
|
|
11
|
+
CheckboxInputInteractiveState,
|
|
12
|
+
TableRowInteractiveState
|
|
13
|
+
>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
CheckboxInputProps,
|
|
3
|
+
} from "../checkbox-input/CheckboxInputProps"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
TableCellProps,
|
|
7
|
+
} from "../table-cell/TableCellProps"
|
|
8
|
+
|
|
9
|
+
import type {
|
|
10
|
+
TableCellCheckboxInteractiveState,
|
|
11
|
+
} from "./TableCellCheckboxInteractiveState"
|
|
12
|
+
|
|
13
|
+
type PickedCheckboxInputProps = Pick<
|
|
14
|
+
CheckboxInputProps,
|
|
15
|
+
| "defaultChecked"
|
|
16
|
+
| "checked"
|
|
17
|
+
| "onChange"
|
|
18
|
+
>
|
|
19
|
+
|
|
20
|
+
export interface TableCellCheckboxProps extends Omit<TableCellProps, "children">, PickedCheckboxInputProps {
|
|
21
|
+
/**
|
|
22
|
+
* For `normal` and `disabled`, pass it from the `TableRow`, or `TableRowCollapsible`
|
|
23
|
+
*/
|
|
24
|
+
interactiveState?: TableCellCheckboxInteractiveState,
|
|
25
|
+
checkboxInputProps?: Omit<CheckboxInputProps, keyof PickedCheckboxInputProps>,
|
|
26
|
+
}
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
Animated,
|
|
10
10
|
Easing,
|
|
11
|
+
Platform,
|
|
11
12
|
} from "react-native"
|
|
12
13
|
|
|
13
14
|
import {
|
|
@@ -58,7 +59,7 @@ export const SortIcon = forwardRef<SortIconRef, SortIconProps>(
|
|
|
58
59
|
{
|
|
59
60
|
toValue: 0,
|
|
60
61
|
duration: 0,
|
|
61
|
-
useNativeDriver:
|
|
62
|
+
useNativeDriver: Platform.OS != "web",
|
|
62
63
|
},
|
|
63
64
|
)
|
|
64
65
|
.start()
|
|
@@ -75,7 +76,7 @@ export const SortIcon = forwardRef<SortIconRef, SortIconProps>(
|
|
|
75
76
|
Motion.Easing.standard.productive.x2,
|
|
76
77
|
Motion.Easing.standard.productive.y2,
|
|
77
78
|
),
|
|
78
|
-
useNativeDriver:
|
|
79
|
+
useNativeDriver: Platform.OS != "web",
|
|
79
80
|
},
|
|
80
81
|
)
|
|
81
82
|
.start()
|
|
@@ -99,7 +100,7 @@ export const SortIcon = forwardRef<SortIconRef, SortIconProps>(
|
|
|
99
100
|
Motion.Easing.entrance.productive.x2,
|
|
100
101
|
Motion.Easing.entrance.productive.y2,
|
|
101
102
|
),
|
|
102
|
-
useNativeDriver:
|
|
103
|
+
useNativeDriver: Platform.OS != "web",
|
|
103
104
|
},
|
|
104
105
|
)
|
|
105
106
|
.start()
|
|
@@ -60,6 +60,7 @@ export const TableCellText = forwardRef<TableCellTextRef, TableCellTextProps>(
|
|
|
60
60
|
getStyleSheetInteractiveState({
|
|
61
61
|
rowInteractiveState: tableRowContext.interactiveState,
|
|
62
62
|
rowHovered: tableRowContext.hovered,
|
|
63
|
+
rowSelected: tableRowContext.selected,
|
|
63
64
|
inRowHeader: tableRowHeaderContext.inRowHeader,
|
|
64
65
|
}),
|
|
65
66
|
style,
|
|
@@ -81,15 +82,12 @@ const
|
|
|
81
82
|
disabled: {
|
|
82
83
|
color: CarbonStyleSheet.color.text_disabled,
|
|
83
84
|
},
|
|
84
|
-
|
|
85
|
-
color: CarbonStyleSheet.color.text_primary,
|
|
86
|
-
},
|
|
87
|
-
normal_header: {
|
|
85
|
+
in_header: {
|
|
88
86
|
color: CarbonStyleSheet.color.text_primary,
|
|
89
87
|
},
|
|
90
88
|
} as const satisfies Record<
|
|
91
89
|
| TableRowContext["interactiveState"]
|
|
92
|
-
| "
|
|
90
|
+
| "in_header",
|
|
93
91
|
TextStyle
|
|
94
92
|
>)
|
|
95
93
|
|
|
@@ -97,15 +95,16 @@ function getStyleSheetInteractiveState(
|
|
|
97
95
|
data: {
|
|
98
96
|
rowInteractiveState: TableRowContext["interactiveState"],
|
|
99
97
|
rowHovered: boolean,
|
|
98
|
+
rowSelected: boolean,
|
|
100
99
|
inRowHeader: boolean,
|
|
101
100
|
},
|
|
102
101
|
) {
|
|
103
102
|
if(!data.inRowHeader) {
|
|
104
|
-
if(data.rowHovered) {
|
|
105
|
-
return styleSheetInteractiveState.
|
|
103
|
+
if(data.rowHovered || data.rowSelected) {
|
|
104
|
+
return styleSheetInteractiveState.in_header // even it's not in header, it has same style like the header
|
|
106
105
|
}
|
|
107
106
|
return styleSheetInteractiveState[data.rowInteractiveState]
|
|
108
107
|
}
|
|
109
108
|
|
|
110
|
-
return styleSheetInteractiveState.
|
|
109
|
+
return styleSheetInteractiveState.in_header
|
|
111
110
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useContext,
|
|
4
|
+
} from "react"
|
|
5
|
+
|
|
6
|
+
import type {
|
|
7
|
+
TextStyle,
|
|
8
|
+
ViewStyle,
|
|
9
|
+
} from "react-native"
|
|
10
|
+
|
|
11
|
+
import type {
|
|
12
|
+
ColorLayerLevel,
|
|
13
|
+
} from "@audira/carbon-react-native-elements"
|
|
14
|
+
|
|
15
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet"
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
Box,
|
|
19
|
+
} from "../box/Box"
|
|
20
|
+
|
|
21
|
+
import {
|
|
22
|
+
LayerContext,
|
|
23
|
+
} from "../layer/LayerContext"
|
|
24
|
+
|
|
25
|
+
import {
|
|
26
|
+
Text,
|
|
27
|
+
} from "../text/Text"
|
|
28
|
+
|
|
29
|
+
import type {
|
|
30
|
+
TableHeaderProps,
|
|
31
|
+
} from "./TableHeaderProps"
|
|
32
|
+
|
|
33
|
+
import type {
|
|
34
|
+
TableHeaderRef,
|
|
35
|
+
} from "./TableHeaderRef"
|
|
36
|
+
|
|
37
|
+
export const TableHeader = forwardRef<TableHeaderRef, TableHeaderProps>(
|
|
38
|
+
function TableHeader(
|
|
39
|
+
{
|
|
40
|
+
title,
|
|
41
|
+
description,
|
|
42
|
+
titleProps,
|
|
43
|
+
descriptionProps,
|
|
44
|
+
style,
|
|
45
|
+
...props
|
|
46
|
+
},
|
|
47
|
+
ref,
|
|
48
|
+
) {
|
|
49
|
+
|
|
50
|
+
const
|
|
51
|
+
layerContext =
|
|
52
|
+
useContext(LayerContext)
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<Box
|
|
56
|
+
ref={ ref }
|
|
57
|
+
{ ...props }
|
|
58
|
+
style={ [
|
|
59
|
+
CarbonStyleSheet.g.pt_05,
|
|
60
|
+
CarbonStyleSheet.g.pb_06,
|
|
61
|
+
CarbonStyleSheet.g.px_05,
|
|
62
|
+
carbonStyleSheet[`bg_${layerContext}`],
|
|
63
|
+
style,
|
|
64
|
+
] }
|
|
65
|
+
>
|
|
66
|
+
<Text
|
|
67
|
+
{ ...titleProps }
|
|
68
|
+
type="heading_03"
|
|
69
|
+
>
|
|
70
|
+
{ title }
|
|
71
|
+
</Text>
|
|
72
|
+
|
|
73
|
+
{ !!description && (
|
|
74
|
+
<Text
|
|
75
|
+
{ ...descriptionProps }
|
|
76
|
+
type="body_compact_01"
|
|
77
|
+
style={ [
|
|
78
|
+
carbonStyleSheet.description,
|
|
79
|
+
descriptionProps?.style,
|
|
80
|
+
] }
|
|
81
|
+
>
|
|
82
|
+
{ description }
|
|
83
|
+
</Text>
|
|
84
|
+
) }
|
|
85
|
+
</Box>
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
},
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
const
|
|
92
|
+
carbonStyleSheet =
|
|
93
|
+
CarbonStyleSheet.create({
|
|
94
|
+
bg_1: {
|
|
95
|
+
backgroundColor: CarbonStyleSheet.color.layer_01,
|
|
96
|
+
},
|
|
97
|
+
bg_2: {
|
|
98
|
+
backgroundColor: CarbonStyleSheet.color.layer_02,
|
|
99
|
+
},
|
|
100
|
+
bg_3: {
|
|
101
|
+
backgroundColor: CarbonStyleSheet.color.layer_03,
|
|
102
|
+
},
|
|
103
|
+
description: {
|
|
104
|
+
color: CarbonStyleSheet.color.text_secondary,
|
|
105
|
+
},
|
|
106
|
+
} as const satisfies {
|
|
107
|
+
[Layer in `bg_${ColorLayerLevel}`]: Pick<ViewStyle, "backgroundColor">
|
|
108
|
+
} & {
|
|
109
|
+
description: Pick<TextStyle, "color">,
|
|
110
|
+
})
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
BoxProps,
|
|
3
|
+
} from "../box/BoxProps"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
TextProps,
|
|
7
|
+
} from "../text/TextProps"
|
|
8
|
+
|
|
9
|
+
export interface TableHeaderProps extends Omit<BoxProps, "children"> {
|
|
10
|
+
title: string,
|
|
11
|
+
description?: string,
|
|
12
|
+
titleProps?: Omit<
|
|
13
|
+
TextProps,
|
|
14
|
+
| "type"
|
|
15
|
+
| "children"
|
|
16
|
+
>,
|
|
17
|
+
descriptionProps?: Omit<
|
|
18
|
+
TextProps,
|
|
19
|
+
| "type"
|
|
20
|
+
| "children"
|
|
21
|
+
>,
|
|
22
|
+
}
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
Pressable,
|
|
12
12
|
StyleSheet,
|
|
13
13
|
type PressableProps,
|
|
14
|
+
type View,
|
|
15
|
+
type ViewProps,
|
|
14
16
|
type ViewStyle,
|
|
15
17
|
} from "react-native"
|
|
16
18
|
|
|
@@ -45,6 +47,10 @@ import {
|
|
|
45
47
|
TableRowContext,
|
|
46
48
|
} from "./_TableRowContext"
|
|
47
49
|
|
|
50
|
+
import {
|
|
51
|
+
TableRowContextProvider,
|
|
52
|
+
} from "./_TableRowContextProvider"
|
|
53
|
+
|
|
48
54
|
import {
|
|
49
55
|
StyleSheetHeight,
|
|
50
56
|
} from "./_style-sheet-height"
|
|
@@ -53,35 +59,18 @@ export const TableRow = forwardRef<TableRowRef, TableRowProps>(
|
|
|
53
59
|
function TableRow(
|
|
54
60
|
{
|
|
55
61
|
interactiveState = "normal",
|
|
56
|
-
size
|
|
62
|
+
size,
|
|
57
63
|
zebra,
|
|
64
|
+
defaultSelected,
|
|
58
65
|
onHoverIn: onHoverInProp,
|
|
59
66
|
onHoverOut: onHoverOutProp,
|
|
60
67
|
role = "row",
|
|
61
|
-
style,
|
|
62
|
-
children,
|
|
63
68
|
...props
|
|
64
69
|
},
|
|
65
70
|
ref,
|
|
66
71
|
) {
|
|
67
72
|
|
|
68
|
-
CarbonStyleSheet.use()
|
|
69
|
-
|
|
70
73
|
const
|
|
71
|
-
layerContext =
|
|
72
|
-
useContext(LayerContext),
|
|
73
|
-
|
|
74
|
-
tableContext =
|
|
75
|
-
useContext(TableContext),
|
|
76
|
-
|
|
77
|
-
size =
|
|
78
|
-
useMemo(() => {
|
|
79
|
-
return sizeProp ?? tableContext.rowSize
|
|
80
|
-
}, [
|
|
81
|
-
sizeProp,
|
|
82
|
-
tableContext.rowSize,
|
|
83
|
-
]),
|
|
84
|
-
|
|
85
74
|
[hovered, setHovered] =
|
|
86
75
|
useState(false)
|
|
87
76
|
|
|
@@ -103,40 +92,90 @@ export const TableRow = forwardRef<TableRowRef, TableRowProps>(
|
|
|
103
92
|
])
|
|
104
93
|
|
|
105
94
|
return (
|
|
106
|
-
<
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}}
|
|
95
|
+
<TableRowContextProvider
|
|
96
|
+
interactiveState={ interactiveState }
|
|
97
|
+
hovered={ hovered }
|
|
98
|
+
defaultSelected={ defaultSelected }
|
|
111
99
|
>
|
|
112
|
-
<
|
|
100
|
+
<Content
|
|
113
101
|
ref={ ref }
|
|
114
102
|
{ ...props }
|
|
103
|
+
interactiveState={ interactiveState }
|
|
104
|
+
size={ size }
|
|
105
|
+
zebra={ zebra }
|
|
115
106
|
role={ role }
|
|
116
107
|
onHoverIn={ onHoverIn }
|
|
117
108
|
onHoverOut={ onHoverOut }
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
109
|
+
/>
|
|
110
|
+
</TableRowContextProvider>
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
},
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
interface ContentProps extends Omit<PressableProps, "style"> {
|
|
117
|
+
interactiveState: NonNullable<TableRowProps["interactiveState"]>,
|
|
118
|
+
size?: TableRowProps["size"],
|
|
119
|
+
zebra?: TableRowProps["zebra"],
|
|
120
|
+
style?: ViewProps["style"],
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const Content = forwardRef<View, ContentProps>(
|
|
124
|
+
function Content(
|
|
125
|
+
{
|
|
126
|
+
interactiveState,
|
|
127
|
+
size: sizeProp,
|
|
128
|
+
zebra,
|
|
129
|
+
style,
|
|
130
|
+
...props
|
|
131
|
+
},
|
|
132
|
+
ref,
|
|
133
|
+
) {
|
|
134
|
+
|
|
135
|
+
CarbonStyleSheet.use()
|
|
136
|
+
|
|
137
|
+
const
|
|
138
|
+
layerContext =
|
|
139
|
+
useContext(LayerContext),
|
|
140
|
+
|
|
141
|
+
tableContext =
|
|
142
|
+
useContext(TableContext),
|
|
143
|
+
|
|
144
|
+
size =
|
|
145
|
+
useMemo(() => {
|
|
146
|
+
return sizeProp ?? tableContext.rowSize
|
|
147
|
+
}, [
|
|
148
|
+
sizeProp,
|
|
149
|
+
tableContext.rowSize,
|
|
150
|
+
]),
|
|
151
|
+
|
|
152
|
+
tableRowContext =
|
|
153
|
+
useContext(TableRowContext)
|
|
154
|
+
|
|
155
|
+
return (
|
|
156
|
+
<Pressable
|
|
157
|
+
ref={ ref }
|
|
158
|
+
{ ...props }
|
|
159
|
+
style={ [
|
|
160
|
+
styleSheet.tableRow,
|
|
161
|
+
CarbonStyleSheet.g.flex_auto,
|
|
162
|
+
CarbonStyleSheet.g.flex_row,
|
|
163
|
+
StyleSheetHeight[size],
|
|
164
|
+
getInteractiveStateStyle(
|
|
165
|
+
interactiveState,
|
|
166
|
+
{
|
|
167
|
+
layer: layerContext,
|
|
168
|
+
hovered: tableRowContext.hovered,
|
|
169
|
+
selected: tableRowContext.selected,
|
|
170
|
+
zebra,
|
|
171
|
+
},
|
|
172
|
+
),
|
|
173
|
+
size === "extra_large"
|
|
174
|
+
? CarbonStyleSheet.g.pt_05
|
|
175
|
+
: CarbonStyleSheet.g.items_center,
|
|
176
|
+
style,
|
|
177
|
+
] }
|
|
178
|
+
/>
|
|
140
179
|
)
|
|
141
180
|
|
|
142
181
|
},
|
|
@@ -153,6 +192,7 @@ const
|
|
|
153
192
|
transitionProperty: "background-color, border-bottom-color",
|
|
154
193
|
transitionDuration: `${Motion.Duration.fast_01}ms`,
|
|
155
194
|
transitionTimingFunction: `cubic-bezier(${Motion.Easing.entrance.productive.x1},${Motion.Easing.entrance.productive.y1},${Motion.Easing.entrance.productive.x2},${Motion.Easing.entrance.productive.y2})`,
|
|
195
|
+
cursor: "auto",
|
|
156
196
|
},
|
|
157
197
|
}),
|
|
158
198
|
},
|
|
@@ -242,6 +282,7 @@ const
|
|
|
242
282
|
[Layer in ColorLayerLevel]: Record<
|
|
243
283
|
| TableRowInteractiveState
|
|
244
284
|
| "hovered"
|
|
285
|
+
| "selected"
|
|
245
286
|
| "selected_hover"
|
|
246
287
|
| "zebra",
|
|
247
288
|
ViewStyle
|
|
@@ -250,22 +291,26 @@ const
|
|
|
250
291
|
|
|
251
292
|
function getInteractiveStateStyle(
|
|
252
293
|
interactiveState: TableRowInteractiveState,
|
|
253
|
-
|
|
294
|
+
modifier: {
|
|
254
295
|
layer: ColorLayerLevel,
|
|
296
|
+
selected: boolean,
|
|
255
297
|
hovered: boolean,
|
|
256
298
|
zebra?: boolean,
|
|
257
299
|
},
|
|
258
300
|
) {
|
|
259
|
-
if(!
|
|
260
|
-
if(
|
|
261
|
-
return styleSheetInteractiveStatePerLayer[
|
|
301
|
+
if(!modifier.hovered) {
|
|
302
|
+
if(modifier.zebra && interactiveState == "normal") {
|
|
303
|
+
return styleSheetInteractiveStatePerLayer[modifier.layer].zebra
|
|
304
|
+
}
|
|
305
|
+
if(modifier.selected) {
|
|
306
|
+
return styleSheetInteractiveStatePerLayer[modifier.layer].selected
|
|
262
307
|
}
|
|
263
|
-
return styleSheetInteractiveStatePerLayer[
|
|
308
|
+
return styleSheetInteractiveStatePerLayer[modifier.layer][interactiveState]
|
|
264
309
|
}
|
|
265
310
|
|
|
266
|
-
if(
|
|
267
|
-
return styleSheetInteractiveStatePerLayer[
|
|
311
|
+
if(modifier.selected) {
|
|
312
|
+
return styleSheetInteractiveStatePerLayer[modifier.layer].selected_hover
|
|
268
313
|
}
|
|
269
314
|
|
|
270
|
-
return styleSheetInteractiveStatePerLayer[
|
|
315
|
+
return styleSheetInteractiveStatePerLayer[modifier.layer].hovered
|
|
271
316
|
}
|