@audira/carbon-react-native 1.0.3 → 1.0.5
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/_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/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/typography.js +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/index.js +193 -35
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layer/Layer.js +1 -2
- package/lib/commonjs/components/layer/Layer.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/scroll-view/ScrollViewProps.js.map +1 -0
- 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/table/Table.js +45 -0
- package/lib/commonjs/components/table/Table.js.map +1 -0
- package/lib/commonjs/components/table/TableProps.js +6 -0
- package/lib/commonjs/components/table/TableProps.js.map +1 -0
- package/lib/commonjs/components/table/TableRef.js +6 -0
- package/lib/commonjs/components/table/TableRef.js.map +1 -0
- package/lib/commonjs/components/table/_TableContext.js +11 -0
- package/lib/commonjs/components/table/_TableContext.js.map +1 -0
- package/lib/commonjs/components/table/index.js +17 -0
- package/lib/commonjs/components/table/index.js.map +1 -0
- 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 +52 -0
- package/lib/commonjs/components/table-cell/TableCell.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCellProps.js +6 -0
- package/lib/commonjs/components/table-cell/TableCellProps.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCellRef.js +6 -0
- package/lib/commonjs/components/table-cell/TableCellRef.js.map +1 -0
- package/lib/commonjs/components/table-cell/index.js +17 -0
- package/lib/commonjs/components/table-cell/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeader.js +154 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeader.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js +6 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js +6 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js +2 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js +67 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js +6 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/index.js +17 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/index.js +17 -0
- package/lib/commonjs/components/table-cell-header/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIcon.js +29 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIcon.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js +6 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js +6 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/index.js +17 -0
- package/lib/commonjs/components/table-cell-icon/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellText.js +60 -0
- package/lib/commonjs/components/table-cell-text/TableCellText.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextProps.js +6 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextRef.js +6 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/index.js +17 -0
- package/lib/commonjs/components/table-cell-text/index.js.map +1 -0
- 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/commonjs/components/table-header/TableHeaderRef.js.map +1 -0
- 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 +168 -0
- package/lib/commonjs/components/table-row/TableRow.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowInteractiveState.js +2 -0
- package/lib/commonjs/components/table-row/TableRowInteractiveState.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowProps.js +6 -0
- package/lib/commonjs/components/table-row/TableRowProps.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowRef.js +6 -0
- package/lib/commonjs/components/table-row/TableRowRef.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowSize.js +2 -0
- package/lib/commonjs/components/table-row/TableRowSize.js.map +1 -0
- package/lib/commonjs/components/table-row/_TableRowContext.js +12 -0
- package/lib/commonjs/components/table-row/_TableRowContext.js.map +1 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js +25 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js.map +1 -0
- package/lib/commonjs/components/table-row/index.js +17 -0
- package/lib/commonjs/components/table-row/index.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeader.js +54 -0
- package/lib/commonjs/components/table-row-header/TableRowHeader.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js +6 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js +6 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js.map +1 -0
- package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js +14 -0
- package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
- package/lib/commonjs/components/table-row-header/index.js +17 -0
- package/lib/commonjs/components/table-row-header/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/table-toolbar-button/ghost/GhostProps.js +6 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/GhostProps.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/GhostRef.js +6 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/GhostRef.js.map +1 -0
- package/lib/commonjs/components/table-toolbar-button/ghost/index.js +17 -0
- 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/table-toolbar-button/ghost-icon/GhostIconRef.js +6 -0
- 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/table-toolbar-button/primary/PrimaryRef.js +6 -0
- 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/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/font.js +1 -1
- package/lib/module/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/typography.js +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/index.js +15 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layer/Layer.js +1 -2
- package/lib/module/components/layer/Layer.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/table/Table.js +40 -0
- package/lib/module/components/table/Table.js.map +1 -0
- package/lib/module/components/table/TableProps.js +4 -0
- package/lib/module/components/table/TableProps.js.map +1 -0
- package/lib/module/components/table/TableRef.js +4 -0
- package/lib/module/components/table/TableRef.js.map +1 -0
- package/lib/module/components/table/_TableContext.js +7 -0
- package/lib/module/components/table/_TableContext.js.map +1 -0
- package/lib/module/components/table/index.js +4 -0
- package/lib/module/components/table/index.js.map +1 -0
- 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 +47 -0
- package/lib/module/components/table-cell/TableCell.js.map +1 -0
- package/lib/module/components/table-cell/TableCellProps.js +4 -0
- package/lib/module/components/table-cell/TableCellProps.js.map +1 -0
- package/lib/module/components/table-cell/TableCellRef.js +4 -0
- package/lib/module/components/table-cell/TableCellRef.js.map +1 -0
- package/lib/module/components/table-cell/index.js +4 -0
- package/lib/module/components/table-cell/index.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeader.js +150 -0
- package/lib/module/components/table-cell-header/TableCellHeader.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderProps.js +4 -0
- package/lib/module/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderRef.js +4 -0
- package/lib/module/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderSort.js +2 -0
- package/lib/module/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js +62 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js +4 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/index.js +4 -0
- package/lib/module/components/table-cell-header/_sort-icon/index.js.map +1 -0
- package/lib/module/components/table-cell-header/index.js +4 -0
- package/lib/module/components/table-cell-header/index.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIcon.js +25 -0
- package/lib/module/components/table-cell-icon/TableCellIcon.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIconProps.js +4 -0
- package/lib/module/components/table-cell-icon/TableCellIconProps.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIconRef.js +4 -0
- package/lib/module/components/table-cell-icon/TableCellIconRef.js.map +1 -0
- package/lib/module/components/table-cell-icon/index.js +4 -0
- package/lib/module/components/table-cell-icon/index.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellText.js +55 -0
- package/lib/module/components/table-cell-text/TableCellText.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellTextProps.js +4 -0
- package/lib/module/components/table-cell-text/TableCellTextProps.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellTextRef.js +4 -0
- package/lib/module/components/table-cell-text/TableCellTextRef.js.map +1 -0
- package/lib/module/components/table-cell-text/index.js +4 -0
- package/lib/module/components/table-cell-text/index.js.map +1 -0
- 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 +163 -0
- package/lib/module/components/table-row/TableRow.js.map +1 -0
- package/lib/module/components/table-row/TableRowInteractiveState.js +2 -0
- package/lib/module/components/table-row/TableRowInteractiveState.js.map +1 -0
- package/lib/module/components/table-row/TableRowProps.js +4 -0
- package/lib/module/components/table-row/TableRowProps.js.map +1 -0
- package/lib/module/components/table-row/TableRowRef.js +4 -0
- package/lib/module/components/table-row/TableRowRef.js.map +1 -0
- package/lib/module/components/table-row/TableRowSize.js +2 -0
- package/lib/module/components/table-row/TableRowSize.js.map +1 -0
- package/lib/module/components/table-row/_TableRowContext.js +8 -0
- package/lib/module/components/table-row/_TableRowContext.js.map +1 -0
- package/lib/module/components/table-row/_style-sheet-height.js +21 -0
- package/lib/module/components/table-row/_style-sheet-height.js.map +1 -0
- package/lib/module/components/table-row/index.js +4 -0
- package/lib/module/components/table-row/index.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeader.js +49 -0
- package/lib/module/components/table-row-header/TableRowHeader.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeaderProps.js +4 -0
- package/lib/module/components/table-row-header/TableRowHeaderProps.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeaderRef.js +4 -0
- package/lib/module/components/table-row-header/TableRowHeaderRef.js.map +1 -0
- package/lib/module/components/table-row-header/_TableRowHeaderContext.js +10 -0
- package/lib/module/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
- package/lib/module/components/table-row-header/index.js +4 -0
- package/lib/module/components/table-row-header/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/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/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/index.d.ts +15 -1
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/layer/LayerProps.d.ts +5 -2
- package/lib/typescript/commonjs/components/layer/LayerProps.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/table/Table.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/Table.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/TableProps.d.ts +25 -0
- package/lib/typescript/commonjs/components/table/TableProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/TableRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/TableRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/_TableContext.d.ts +6 -0
- package/lib/typescript/commonjs/components/table/_TableContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/index.d.ts.map +1 -0
- 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 +17 -0
- package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts +28 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts +22 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-header/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/index.d.ts.map +1 -0
- 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 +4 -0
- package/lib/typescript/commonjs/components/table-row/TableRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +39 -0
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts +18 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/index.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-row/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/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/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/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/index.d.ts +15 -1
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -1
- package/lib/typescript/module/components/layer/LayerProps.d.ts +5 -2
- package/lib/typescript/module/components/layer/LayerProps.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/table/Table.d.ts +4 -0
- package/lib/typescript/module/components/table/Table.d.ts.map +1 -0
- package/lib/typescript/module/components/table/TableProps.d.ts +25 -0
- package/lib/typescript/module/components/table/TableProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table/TableRef.d.ts +4 -0
- package/lib/typescript/module/components/table/TableRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table/_TableContext.d.ts +6 -0
- package/lib/typescript/module/components/table/_TableContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table/index.d.ts +4 -0
- package/lib/typescript/module/components/table/index.d.ts.map +1 -0
- 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 +17 -0
- package/lib/typescript/module/components/table-cell/TableCell.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts +28 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCellRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell/TableCellRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts +22 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/index.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-header/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts +7 -0
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/index.d.ts.map +1 -0
- 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 +4 -0
- package/lib/typescript/module/components/table-row/TableRow.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts +2 -0
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts +39 -0
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowRef.d.ts +4 -0
- package/lib/typescript/module/components/table-row/TableRowRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowSize.d.ts +5 -0
- package/lib/typescript/module/components/table-row/TableRowSize.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts +7 -0
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts +18 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/index.d.ts +6 -0
- package/lib/typescript/module/components/table-row/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
- package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/index.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/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/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- 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/font.ts +1 -1
- package/src/carbon-style-sheet/g/spacing.ts +1 -1
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/font.ts +1 -1
- package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- 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/index.ts +15 -0
- package/src/components/layer/Layer.tsx +3 -4
- package/src/components/layer/LayerProps.ts +5 -2
- 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/table/Table.tsx +80 -0
- package/src/components/table/TableProps.ts +39 -0
- package/src/components/table/TableRef.ts +6 -0
- package/src/components/table/_TableContext.ts +15 -0
- package/src/components/table/index.ts +3 -0
- 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 +93 -0
- package/src/components/table-cell/TableCellProps.ts +33 -0
- package/src/components/table-cell/TableCellRef.ts +6 -0
- package/src/components/table-cell/index.ts +3 -0
- package/src/components/table-cell-header/TableCellHeader.tsx +274 -0
- package/src/components/table-cell-header/TableCellHeaderProps.ts +34 -0
- package/src/components/table-cell-header/TableCellHeaderRef.ts +6 -0
- package/src/components/table-cell-header/TableCellHeaderSort.ts +4 -0
- package/src/components/table-cell-header/_sort-icon/SortIcon.tsx +137 -0
- package/src/components/table-cell-header/_sort-icon/SortIconProps.ts +11 -0
- package/src/components/table-cell-header/_sort-icon/SortIconRef.ts +3 -0
- package/src/components/table-cell-header/_sort-icon/index.ts +3 -0
- package/src/components/table-cell-header/index.ts +4 -0
- package/src/components/table-cell-icon/TableCellIcon.tsx +54 -0
- package/src/components/table-cell-icon/TableCellIconProps.ts +16 -0
- package/src/components/table-cell-icon/TableCellIconRef.ts +4 -0
- package/src/components/table-cell-icon/index.ts +3 -0
- package/src/components/table-cell-text/TableCellText.tsx +111 -0
- package/src/components/table-cell-text/TableCellTextProps.ts +9 -0
- package/src/components/table-cell-text/TableCellTextRef.ts +6 -0
- package/src/components/table-cell-text/index.ts +3 -0
- 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 +271 -0
- package/src/components/table-row/TableRowInteractiveState.ts +4 -0
- package/src/components/table-row/TableRowProps.ts +48 -0
- package/src/components/table-row/TableRowRef.ts +6 -0
- package/src/components/table-row/TableRowSize.ts +9 -0
- package/src/components/table-row/_TableRowContext.ts +17 -0
- package/src/components/table-row/_style-sheet-height.ts +27 -0
- package/src/components/table-row/index.ts +5 -0
- package/src/components/table-row-header/TableRowHeader.tsx +115 -0
- package/src/components/table-row-header/TableRowHeaderProps.ts +13 -0
- package/src/components/table-row-header/TableRowHeaderRef.ts +6 -0
- package/src/components/table-row-header/_TableRowHeaderContext.ts +19 -0
- package/src/components/table-row-header/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
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useCallback,
|
|
4
|
+
useContext,
|
|
5
|
+
useEffect,
|
|
6
|
+
useRef,
|
|
7
|
+
useState,
|
|
8
|
+
} from "react"
|
|
9
|
+
|
|
10
|
+
import {
|
|
11
|
+
Pressable,
|
|
12
|
+
type ViewStyle,
|
|
13
|
+
} from "react-native"
|
|
14
|
+
|
|
15
|
+
import type {
|
|
16
|
+
ColorLayerLevel,
|
|
17
|
+
} from "@audira/carbon-react-native-elements"
|
|
18
|
+
|
|
19
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet"
|
|
20
|
+
|
|
21
|
+
import {
|
|
22
|
+
LayerContext,
|
|
23
|
+
} from "../layer/LayerContext"
|
|
24
|
+
|
|
25
|
+
import {
|
|
26
|
+
TableCellText,
|
|
27
|
+
} from "../table-cell-text/TableCellText"
|
|
28
|
+
|
|
29
|
+
import {
|
|
30
|
+
TableRowHeaderContext,
|
|
31
|
+
} from "../table-row-header/_TableRowHeaderContext"
|
|
32
|
+
|
|
33
|
+
import type {
|
|
34
|
+
TableCellHeaderProps,
|
|
35
|
+
} from "./TableCellHeaderProps"
|
|
36
|
+
|
|
37
|
+
import type {
|
|
38
|
+
TableCellHeaderRef,
|
|
39
|
+
} from "./TableCellHeaderRef"
|
|
40
|
+
|
|
41
|
+
import {
|
|
42
|
+
SortIcon,
|
|
43
|
+
type SortIconRef,
|
|
44
|
+
} from "./_sort-icon"
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Similar as the `TableCell`. `TableCellHeader` is also a View to render
|
|
48
|
+
* container with a correct horizontal padding, with additional
|
|
49
|
+
* sorting icon option and its coloring.
|
|
50
|
+
*
|
|
51
|
+
* It's better to use the `TableCell` instead of `TableCellHeader`
|
|
52
|
+
* if a header cell is not using the sorting icon at all to save a bit of memory
|
|
53
|
+
* because `TableCellHeader` has bunch of Pressable logics and two icons loaded.
|
|
54
|
+
*
|
|
55
|
+
* To ensure consistent column alignment across rows,
|
|
56
|
+
* you need to provide fixed `width` of the cell.
|
|
57
|
+
* Sets an explicit width for the cell (in pixels) and
|
|
58
|
+
* acts as a column constraint. This helps simulate
|
|
59
|
+
* table-like behavior, since React Native relies on
|
|
60
|
+
* flexbox and does not provide native table layout.
|
|
61
|
+
* Without this, cells in the same column may render
|
|
62
|
+
* with inconsistent widths across different rows.
|
|
63
|
+
*/
|
|
64
|
+
export const TableCellHeader = forwardRef<TableCellHeaderRef, TableCellHeaderProps>(
|
|
65
|
+
function TableCellHeader(
|
|
66
|
+
{
|
|
67
|
+
defaultSort,
|
|
68
|
+
sort: sortProp,
|
|
69
|
+
width,
|
|
70
|
+
children,
|
|
71
|
+
text,
|
|
72
|
+
textProps,
|
|
73
|
+
accessibilityLabel,
|
|
74
|
+
onChangeSort,
|
|
75
|
+
disabled,
|
|
76
|
+
onHoverIn: onHoverInProp,
|
|
77
|
+
onHoverOut: onHoverOutProp,
|
|
78
|
+
onPress: onPressProp,
|
|
79
|
+
style,
|
|
80
|
+
...props
|
|
81
|
+
},
|
|
82
|
+
ref,
|
|
83
|
+
) {
|
|
84
|
+
|
|
85
|
+
const
|
|
86
|
+
layerContext =
|
|
87
|
+
useContext(LayerContext),
|
|
88
|
+
|
|
89
|
+
tableRowHeaderContext =
|
|
90
|
+
useContext(TableRowHeaderContext),
|
|
91
|
+
|
|
92
|
+
sortIconRef =
|
|
93
|
+
useRef<SortIconRef>(null),
|
|
94
|
+
|
|
95
|
+
allowOnChangeSortSelfEffect =
|
|
96
|
+
useRef(false),
|
|
97
|
+
|
|
98
|
+
[sortSelf, setSortSelf] =
|
|
99
|
+
useState(defaultSort),
|
|
100
|
+
|
|
101
|
+
sort =
|
|
102
|
+
sortProp ?? sortSelf,
|
|
103
|
+
|
|
104
|
+
[hovered, setHovered] =
|
|
105
|
+
useState(false)
|
|
106
|
+
|
|
107
|
+
const
|
|
108
|
+
onHoverIn: NonNullable<typeof onHoverInProp> =
|
|
109
|
+
useCallback(event => {
|
|
110
|
+
if(sortIconRef.current) {
|
|
111
|
+
setHovered(true)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
onHoverInProp?.(event)
|
|
115
|
+
}, [
|
|
116
|
+
onHoverInProp,
|
|
117
|
+
]),
|
|
118
|
+
|
|
119
|
+
onHoverOut: NonNullable<typeof onHoverOutProp> =
|
|
120
|
+
useCallback(event => {
|
|
121
|
+
if(sortIconRef.current) {
|
|
122
|
+
setHovered(false)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
onHoverOutProp?.(event)
|
|
126
|
+
}, [
|
|
127
|
+
onHoverOutProp,
|
|
128
|
+
]),
|
|
129
|
+
|
|
130
|
+
onPress: NonNullable<typeof onPressProp> =
|
|
131
|
+
useCallback(event => {
|
|
132
|
+
onPressProp?.(event)
|
|
133
|
+
|
|
134
|
+
if(defaultSort) {
|
|
135
|
+
allowOnChangeSortSelfEffect.current = true
|
|
136
|
+
setSortSelf(s => {
|
|
137
|
+
if(s == "none") {
|
|
138
|
+
return "asc"
|
|
139
|
+
} else if(s == "asc") {
|
|
140
|
+
return "desc"
|
|
141
|
+
} else {
|
|
142
|
+
return "none"
|
|
143
|
+
}
|
|
144
|
+
})
|
|
145
|
+
} else if(sortProp && onChangeSort) {
|
|
146
|
+
let nextSort: NonNullable<typeof sort> = "none"
|
|
147
|
+
if(sortProp == "none") {
|
|
148
|
+
nextSort = "asc"
|
|
149
|
+
} else if(sortProp == "asc") {
|
|
150
|
+
nextSort = "desc"
|
|
151
|
+
} else {
|
|
152
|
+
nextSort = "none"
|
|
153
|
+
}
|
|
154
|
+
onChangeSort(nextSort)
|
|
155
|
+
}
|
|
156
|
+
}, [
|
|
157
|
+
sortProp,
|
|
158
|
+
defaultSort,
|
|
159
|
+
onChangeSort,
|
|
160
|
+
onPressProp,
|
|
161
|
+
])
|
|
162
|
+
|
|
163
|
+
useEffect(() => {
|
|
164
|
+
if(sort) {
|
|
165
|
+
if(sort == "none") {
|
|
166
|
+
if(hovered) {
|
|
167
|
+
sortIconRef.current?.setOpacity(1)
|
|
168
|
+
} else {
|
|
169
|
+
sortIconRef.current?.setOpacity(0)
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
sortIconRef.current?.setOpacity(1)
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}, [
|
|
176
|
+
hovered,
|
|
177
|
+
sort,
|
|
178
|
+
])
|
|
179
|
+
|
|
180
|
+
useEffect(() => {
|
|
181
|
+
if(allowOnChangeSortSelfEffect.current && sort) {
|
|
182
|
+
allowOnChangeSortSelfEffect.current = false
|
|
183
|
+
onChangeSort?.(sort)
|
|
184
|
+
}
|
|
185
|
+
}, [
|
|
186
|
+
sort,
|
|
187
|
+
onChangeSort,
|
|
188
|
+
])
|
|
189
|
+
|
|
190
|
+
CarbonStyleSheet.use()
|
|
191
|
+
|
|
192
|
+
return (
|
|
193
|
+
<Pressable
|
|
194
|
+
ref={ ref }
|
|
195
|
+
{ ...props }
|
|
196
|
+
accessibilityLabel={ accessibilityLabel || text }
|
|
197
|
+
disabled={ disabled ?? !sort }
|
|
198
|
+
onHoverIn={ onHoverIn }
|
|
199
|
+
onHoverOut={ onHoverOut }
|
|
200
|
+
onPress={ onPress }
|
|
201
|
+
style={ [
|
|
202
|
+
CarbonStyleSheet.g.flex_auto,
|
|
203
|
+
CarbonStyleSheet.g.px_05,
|
|
204
|
+
|
|
205
|
+
typeof width === "number" ? {
|
|
206
|
+
width,
|
|
207
|
+
} : undefined,
|
|
208
|
+
|
|
209
|
+
hovered || sort === "asc" || sort === "desc"
|
|
210
|
+
? styleSheetBG[`hovered_${layerContext}`]
|
|
211
|
+
: styleSheetBG[`normal_${layerContext}`],
|
|
212
|
+
|
|
213
|
+
tableRowHeaderContext.size == "extra_large"
|
|
214
|
+
? CarbonStyleSheet.g.pt_05
|
|
215
|
+
: sort
|
|
216
|
+
? CarbonStyleSheet.g.items_center
|
|
217
|
+
: CarbonStyleSheet.g.justify_center,
|
|
218
|
+
sort
|
|
219
|
+
? [
|
|
220
|
+
CarbonStyleSheet.g.flex_row,
|
|
221
|
+
CarbonStyleSheet.g.justify_between,
|
|
222
|
+
]
|
|
223
|
+
: undefined,
|
|
224
|
+
style,
|
|
225
|
+
] }
|
|
226
|
+
>
|
|
227
|
+
{ typeof children === "undefined" && !!text ? (
|
|
228
|
+
<TableCellText
|
|
229
|
+
{ ...textProps }
|
|
230
|
+
>
|
|
231
|
+
{ text }
|
|
232
|
+
</TableCellText>
|
|
233
|
+
) : children }
|
|
234
|
+
|
|
235
|
+
{ !!sort && (
|
|
236
|
+
<SortIcon
|
|
237
|
+
type={ sort }
|
|
238
|
+
ref={ sortIconRef }
|
|
239
|
+
/>
|
|
240
|
+
) }
|
|
241
|
+
</Pressable>
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
},
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
const
|
|
248
|
+
styleSheetBG =
|
|
249
|
+
CarbonStyleSheet.create({
|
|
250
|
+
normal_1: {
|
|
251
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_01,
|
|
252
|
+
},
|
|
253
|
+
normal_2: {
|
|
254
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_02,
|
|
255
|
+
},
|
|
256
|
+
normal_3: {
|
|
257
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_03,
|
|
258
|
+
},
|
|
259
|
+
hovered_1: {
|
|
260
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_hover_01,
|
|
261
|
+
},
|
|
262
|
+
hovered_2: {
|
|
263
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_hover_02,
|
|
264
|
+
},
|
|
265
|
+
hovered_3: {
|
|
266
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_hover_03,
|
|
267
|
+
},
|
|
268
|
+
} as const satisfies {
|
|
269
|
+
[Level in `${StateColor}_${ColorLayerLevel}`]: NonNullable<Pick<ViewStyle, "backgroundColor">>
|
|
270
|
+
})
|
|
271
|
+
|
|
272
|
+
type StateColor =
|
|
273
|
+
| "normal"
|
|
274
|
+
| "hovered"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
PressableProps,
|
|
3
|
+
} from "react-native"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
TableCellProps,
|
|
7
|
+
} from "../table-cell/TableCellProps"
|
|
8
|
+
|
|
9
|
+
import type {
|
|
10
|
+
TableCellHeaderSort,
|
|
11
|
+
} from "./TableCellHeaderSort"
|
|
12
|
+
|
|
13
|
+
export interface TableCellHeaderProps extends
|
|
14
|
+
Omit<
|
|
15
|
+
PressableProps,
|
|
16
|
+
| "children"
|
|
17
|
+
| "style"
|
|
18
|
+
>,
|
|
19
|
+
TableCellProps
|
|
20
|
+
{
|
|
21
|
+
/**
|
|
22
|
+
* Render the sort icon either ascending (arrow up), or descending (arrow up rotated), or none (arrows vertical).
|
|
23
|
+
*
|
|
24
|
+
* This is just an icon rendering, you have to sort your actual data manually.
|
|
25
|
+
*/
|
|
26
|
+
defaultSort?: TableCellHeaderSort,
|
|
27
|
+
/**
|
|
28
|
+
* Render the sort icon either ascending (arrow up), or descending (arrow up rotated), or none (arrows vertical).
|
|
29
|
+
*
|
|
30
|
+
* This is just an icon rendering, you have to sort your actual data manually.
|
|
31
|
+
*/
|
|
32
|
+
sort?: TableCellHeaderSort,
|
|
33
|
+
onChangeSort?: (sort: TableCellHeaderSort) => void,
|
|
34
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useEffect,
|
|
4
|
+
useImperativeHandle,
|
|
5
|
+
useRef,
|
|
6
|
+
} from "react"
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
Animated,
|
|
10
|
+
Easing,
|
|
11
|
+
Platform,
|
|
12
|
+
} from "react-native"
|
|
13
|
+
|
|
14
|
+
import {
|
|
15
|
+
Motion,
|
|
16
|
+
} from "@audira/carbon-react-native-elements"
|
|
17
|
+
|
|
18
|
+
import IconArrowUp from "@carbon/icons/svg/32/arrow--up.svg"
|
|
19
|
+
import IconArrowsVertical from "@carbon/icons/svg/32/arrows--vertical.svg"
|
|
20
|
+
|
|
21
|
+
import {
|
|
22
|
+
TableCellIcon,
|
|
23
|
+
} from "../../table-cell-icon/TableCellIcon"
|
|
24
|
+
|
|
25
|
+
import type {
|
|
26
|
+
TableCellIconProps,
|
|
27
|
+
} from "../../table-cell-icon/TableCellIconProps"
|
|
28
|
+
|
|
29
|
+
import type {
|
|
30
|
+
SortIconProps,
|
|
31
|
+
} from "./SortIconProps"
|
|
32
|
+
|
|
33
|
+
import type {
|
|
34
|
+
SortIconRef,
|
|
35
|
+
} from "./SortIconRef"
|
|
36
|
+
|
|
37
|
+
export const SortIcon = forwardRef<SortIconRef, SortIconProps>(
|
|
38
|
+
function SortIcon(
|
|
39
|
+
{
|
|
40
|
+
type,
|
|
41
|
+
style,
|
|
42
|
+
...props
|
|
43
|
+
},
|
|
44
|
+
ref,
|
|
45
|
+
) {
|
|
46
|
+
|
|
47
|
+
const
|
|
48
|
+
rotationValue =
|
|
49
|
+
useRef(new Animated.Value(0)),
|
|
50
|
+
|
|
51
|
+
opacityValue =
|
|
52
|
+
useRef(new Animated.Value(0))
|
|
53
|
+
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if(type == "none") {
|
|
56
|
+
Animated
|
|
57
|
+
.timing(
|
|
58
|
+
rotationValue.current,
|
|
59
|
+
{
|
|
60
|
+
toValue: 0,
|
|
61
|
+
duration: 0,
|
|
62
|
+
useNativeDriver: Platform.OS != "web",
|
|
63
|
+
},
|
|
64
|
+
)
|
|
65
|
+
.start()
|
|
66
|
+
} else if(type == "asc" || type == "desc") {
|
|
67
|
+
Animated
|
|
68
|
+
.timing(
|
|
69
|
+
rotationValue.current,
|
|
70
|
+
{
|
|
71
|
+
toValue: type == "asc" ? 0 : 1,
|
|
72
|
+
duration: Motion.Duration.moderate_02,
|
|
73
|
+
easing: Easing.bezier(
|
|
74
|
+
Motion.Easing.standard.productive.x1,
|
|
75
|
+
Motion.Easing.standard.productive.y1,
|
|
76
|
+
Motion.Easing.standard.productive.x2,
|
|
77
|
+
Motion.Easing.standard.productive.y2,
|
|
78
|
+
),
|
|
79
|
+
useNativeDriver: Platform.OS != "web",
|
|
80
|
+
},
|
|
81
|
+
)
|
|
82
|
+
.start()
|
|
83
|
+
}
|
|
84
|
+
}, [
|
|
85
|
+
type,
|
|
86
|
+
])
|
|
87
|
+
|
|
88
|
+
useImperativeHandle(ref, () => {
|
|
89
|
+
return {
|
|
90
|
+
setOpacity(value) {
|
|
91
|
+
Animated
|
|
92
|
+
.timing(
|
|
93
|
+
opacityValue.current,
|
|
94
|
+
{
|
|
95
|
+
toValue: value,
|
|
96
|
+
duration: Motion.Duration.fast_01,
|
|
97
|
+
easing: Easing.bezier(
|
|
98
|
+
Motion.Easing.entrance.productive.x1,
|
|
99
|
+
Motion.Easing.entrance.productive.y1,
|
|
100
|
+
Motion.Easing.entrance.productive.x2,
|
|
101
|
+
Motion.Easing.entrance.productive.y2,
|
|
102
|
+
),
|
|
103
|
+
useNativeDriver: Platform.OS != "web",
|
|
104
|
+
},
|
|
105
|
+
)
|
|
106
|
+
.start()
|
|
107
|
+
},
|
|
108
|
+
}
|
|
109
|
+
}, [])
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<AnimatedTableCellIcon
|
|
113
|
+
{ ...props }
|
|
114
|
+
Icon={ (type == "none" ? IconArrowsVertical : IconArrowUp) as TableCellIconProps["Icon"] }
|
|
115
|
+
style={ [
|
|
116
|
+
{
|
|
117
|
+
/* eslint-disable react-hooks/refs */
|
|
118
|
+
opacity: opacityValue.current,
|
|
119
|
+
transform: [{
|
|
120
|
+
rotateZ: rotationValue.current.interpolate({
|
|
121
|
+
inputRange: [0, 1],
|
|
122
|
+
outputRange: ["0deg", "180deg"],
|
|
123
|
+
}),
|
|
124
|
+
}],
|
|
125
|
+
/* eslint-enable react-hooks/refs */
|
|
126
|
+
},
|
|
127
|
+
style,
|
|
128
|
+
] }
|
|
129
|
+
/>
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
},
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
const
|
|
136
|
+
AnimatedTableCellIcon =
|
|
137
|
+
Animated.createAnimatedComponent(TableCellIcon)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
TableCellIconProps,
|
|
3
|
+
} from "../../table-cell-icon/TableCellIconProps"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
TableCellHeaderSort,
|
|
7
|
+
} from "../TableCellHeaderSort"
|
|
8
|
+
|
|
9
|
+
export interface SortIconProps extends Omit<TableCellIconProps, "Icon"> {
|
|
10
|
+
type: TableCellHeaderSort,
|
|
11
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useContext,
|
|
4
|
+
} from "react"
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
Color,
|
|
8
|
+
} from "@audira/carbon-react-native-elements"
|
|
9
|
+
|
|
10
|
+
import {
|
|
11
|
+
ThemeContext,
|
|
12
|
+
} from "../../contexts"
|
|
13
|
+
|
|
14
|
+
import type {
|
|
15
|
+
TableCellIconProps,
|
|
16
|
+
} from "./TableCellIconProps"
|
|
17
|
+
|
|
18
|
+
import type {
|
|
19
|
+
TableCellIconRef,
|
|
20
|
+
} from "./TableCellIconRef"
|
|
21
|
+
|
|
22
|
+
export const TableCellIcon = forwardRef<TableCellIconRef, TableCellIconProps>(
|
|
23
|
+
function TableCellIcon(
|
|
24
|
+
{
|
|
25
|
+
Icon,
|
|
26
|
+
fill,
|
|
27
|
+
...props
|
|
28
|
+
},
|
|
29
|
+
ref,
|
|
30
|
+
) {
|
|
31
|
+
|
|
32
|
+
const
|
|
33
|
+
themeContext =
|
|
34
|
+
useContext(ThemeContext)
|
|
35
|
+
|
|
36
|
+
return (
|
|
37
|
+
<Icon
|
|
38
|
+
ref={ ref }
|
|
39
|
+
{ ...props }
|
|
40
|
+
width={ 16 }
|
|
41
|
+
height={ 16 }
|
|
42
|
+
fill={ fill || mapFillColor[themeContext.colorScheme] }
|
|
43
|
+
/>
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
},
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
const
|
|
50
|
+
mapFillColor =
|
|
51
|
+
{
|
|
52
|
+
gray_10: Color.Token.gray_10.icon_primary,
|
|
53
|
+
gray_100: Color.Token.gray_100.icon_primary,
|
|
54
|
+
} as const satisfies Record<ThemeContext["colorScheme"], string>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
Svg,
|
|
3
|
+
SvgProps,
|
|
4
|
+
} from "react-native-svg"
|
|
5
|
+
|
|
6
|
+
export interface TableCellIconProps extends Omit<
|
|
7
|
+
SvgProps,
|
|
8
|
+
| "children"
|
|
9
|
+
| "width"
|
|
10
|
+
| "height"
|
|
11
|
+
> {
|
|
12
|
+
Icon: React.ForwardRefExoticComponent<
|
|
13
|
+
& SvgProps
|
|
14
|
+
& React.RefAttributes<Svg>
|
|
15
|
+
>,
|
|
16
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
forwardRef,
|
|
3
|
+
useContext,
|
|
4
|
+
} from "react"
|
|
5
|
+
|
|
6
|
+
import type {
|
|
7
|
+
TextStyle,
|
|
8
|
+
} from "react-native"
|
|
9
|
+
|
|
10
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet"
|
|
11
|
+
|
|
12
|
+
import {
|
|
13
|
+
TableRowContext,
|
|
14
|
+
} from "../table-row/_TableRowContext"
|
|
15
|
+
|
|
16
|
+
import {
|
|
17
|
+
TableRowHeaderContext,
|
|
18
|
+
} from "../table-row-header/_TableRowHeaderContext"
|
|
19
|
+
|
|
20
|
+
import {
|
|
21
|
+
Text,
|
|
22
|
+
} from "../text"
|
|
23
|
+
|
|
24
|
+
import type {
|
|
25
|
+
TableCellTextProps,
|
|
26
|
+
} from "./TableCellTextProps"
|
|
27
|
+
|
|
28
|
+
import type {
|
|
29
|
+
TableCellTextRef,
|
|
30
|
+
} from "./TableCellTextRef"
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* `TableCellText` is a `Text` component as wrapper to get correct text color style based by row's interactive state, including hovering the row
|
|
34
|
+
*/
|
|
35
|
+
export const TableCellText = forwardRef<TableCellTextRef, TableCellTextProps>(
|
|
36
|
+
function TableCellText(
|
|
37
|
+
{
|
|
38
|
+
children,
|
|
39
|
+
style,
|
|
40
|
+
...props
|
|
41
|
+
},
|
|
42
|
+
ref,
|
|
43
|
+
) {
|
|
44
|
+
|
|
45
|
+
CarbonStyleSheet.use()
|
|
46
|
+
|
|
47
|
+
const
|
|
48
|
+
tableRowContext =
|
|
49
|
+
useContext(TableRowContext),
|
|
50
|
+
|
|
51
|
+
tableRowHeaderContext =
|
|
52
|
+
useContext(TableRowHeaderContext)
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<Text
|
|
56
|
+
ref={ ref }
|
|
57
|
+
{ ...props }
|
|
58
|
+
type={ tableRowHeaderContext.inRowHeader ? "heading_compact_01" : "body_compact_01" }
|
|
59
|
+
style={ [
|
|
60
|
+
getStyleSheetInteractiveState({
|
|
61
|
+
rowInteractiveState: tableRowContext.interactiveState,
|
|
62
|
+
rowHovered: tableRowContext.hovered,
|
|
63
|
+
inRowHeader: tableRowHeaderContext.inRowHeader,
|
|
64
|
+
}),
|
|
65
|
+
style,
|
|
66
|
+
] }
|
|
67
|
+
>
|
|
68
|
+
{ children }
|
|
69
|
+
</Text>
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
},
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
const
|
|
76
|
+
styleSheetInteractiveState =
|
|
77
|
+
CarbonStyleSheet.create({
|
|
78
|
+
normal: {
|
|
79
|
+
color: CarbonStyleSheet.color.text_secondary,
|
|
80
|
+
},
|
|
81
|
+
disabled: {
|
|
82
|
+
color: CarbonStyleSheet.color.text_disabled,
|
|
83
|
+
},
|
|
84
|
+
selected: {
|
|
85
|
+
color: CarbonStyleSheet.color.text_primary,
|
|
86
|
+
},
|
|
87
|
+
normal_header: {
|
|
88
|
+
color: CarbonStyleSheet.color.text_primary,
|
|
89
|
+
},
|
|
90
|
+
} as const satisfies Record<
|
|
91
|
+
| TableRowContext["interactiveState"]
|
|
92
|
+
| "normal_header",
|
|
93
|
+
TextStyle
|
|
94
|
+
>)
|
|
95
|
+
|
|
96
|
+
function getStyleSheetInteractiveState(
|
|
97
|
+
data: {
|
|
98
|
+
rowInteractiveState: TableRowContext["interactiveState"],
|
|
99
|
+
rowHovered: boolean,
|
|
100
|
+
inRowHeader: boolean,
|
|
101
|
+
},
|
|
102
|
+
) {
|
|
103
|
+
if(!data.inRowHeader) {
|
|
104
|
+
if(data.rowHovered) {
|
|
105
|
+
return styleSheetInteractiveState.selected // same style as the `selected`
|
|
106
|
+
}
|
|
107
|
+
return styleSheetInteractiveState[data.rowInteractiveState]
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return styleSheetInteractiveState.normal_header
|
|
111
|
+
}
|