@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,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef, useContext } from "react";
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet/index.js";
|
|
6
|
+
import { Box } from "../box/Box.js";
|
|
7
|
+
import { LayerContext } from "../layer/LayerContext.js";
|
|
8
|
+
import { ScrollView } from "../scroll-view/ScrollView.js";
|
|
9
|
+
import { TableContext } from "../table/_TableContext.js";
|
|
10
|
+
import { TableToolbarContext } from "./_TableToolbarContext.js";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
export const TableToolbar = /*#__PURE__*/forwardRef(function TableToolbar({
|
|
13
|
+
size: sizeProp,
|
|
14
|
+
buttons,
|
|
15
|
+
children,
|
|
16
|
+
horizontal = true,
|
|
17
|
+
role = "group",
|
|
18
|
+
"aria-label": ariaLabel = "table toolbar",
|
|
19
|
+
style,
|
|
20
|
+
contentContainerStyle,
|
|
21
|
+
...props
|
|
22
|
+
}, ref) {
|
|
23
|
+
const layerContext = useContext(LayerContext),
|
|
24
|
+
tableContext = useContext(TableContext),
|
|
25
|
+
size = sizeProp ?? tableContext.rowSize;
|
|
26
|
+
return /*#__PURE__*/_jsx(TableToolbarContext.Provider, {
|
|
27
|
+
value: {
|
|
28
|
+
size: sizeProp ?? mapRowSizeToToolbarSize[tableContext.rowSize]
|
|
29
|
+
},
|
|
30
|
+
children: /*#__PURE__*/_jsxs(ScrollView, {
|
|
31
|
+
ref: ref,
|
|
32
|
+
...props,
|
|
33
|
+
role: role,
|
|
34
|
+
"aria-label": ariaLabel,
|
|
35
|
+
horizontal: horizontal,
|
|
36
|
+
style: [
|
|
37
|
+
// if users provide size prop manually
|
|
38
|
+
// they will still get the correct size style
|
|
39
|
+
// the `large` and `small` from `TableToolbarSize`
|
|
40
|
+
// are also used by `TableRowSize`
|
|
41
|
+
styleSheetSize[mapRowSizeToToolbarSize[size]], styleSheetBGPerLayer[`bg_${layerContext}`], style],
|
|
42
|
+
contentContainerStyle: [CarbonStyleSheet.g.flex_row, CarbonStyleSheet.g.flex_auto, CarbonStyleSheet.g.justify_between, contentContainerStyle],
|
|
43
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
44
|
+
style: [CarbonStyleSheet.g.flex_auto],
|
|
45
|
+
children: children
|
|
46
|
+
}), !!buttons && /*#__PURE__*/_jsx(Box, {
|
|
47
|
+
style: [CarbonStyleSheet.g.flex_row, CarbonStyleSheet.g.self_stretch],
|
|
48
|
+
children: buttons
|
|
49
|
+
})]
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
const styleSheetSize = StyleSheet.create({
|
|
54
|
+
small: {
|
|
55
|
+
height: 32
|
|
56
|
+
},
|
|
57
|
+
large: {
|
|
58
|
+
height: 48
|
|
59
|
+
}
|
|
60
|
+
}),
|
|
61
|
+
mapRowSizeToToolbarSize = {
|
|
62
|
+
extra_small: "small",
|
|
63
|
+
small: "small",
|
|
64
|
+
medium: "small",
|
|
65
|
+
large: "large",
|
|
66
|
+
extra_large: "large"
|
|
67
|
+
},
|
|
68
|
+
styleSheetBGPerLayer = CarbonStyleSheet.create({
|
|
69
|
+
bg_1: {
|
|
70
|
+
backgroundColor: CarbonStyleSheet.color.layer_01
|
|
71
|
+
},
|
|
72
|
+
bg_2: {
|
|
73
|
+
backgroundColor: CarbonStyleSheet.color.layer_02
|
|
74
|
+
},
|
|
75
|
+
bg_3: {
|
|
76
|
+
backgroundColor: CarbonStyleSheet.color.layer_03
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
//# sourceMappingURL=TableToolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useContext","StyleSheet","CarbonStyleSheet","Box","LayerContext","ScrollView","TableContext","TableToolbarContext","jsx","_jsx","jsxs","_jsxs","TableToolbar","size","sizeProp","buttons","children","horizontal","role","ariaLabel","style","contentContainerStyle","props","ref","layerContext","tableContext","rowSize","Provider","value","mapRowSizeToToolbarSize","styleSheetSize","styleSheetBGPerLayer","g","flex_row","flex_auto","justify_between","self_stretch","create","small","height","large","extra_small","medium","extra_large","bg_1","backgroundColor","color","layer_01","bg_2","layer_02","bg_3","layer_03"],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbar.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,UAAU,QACJ,OAAO;AAEd,SACCC,UAAU,QAEJ,cAAc;AAMrB,OAAO,KAAKC,gBAAgB,MAAM,mCAA0B;AAE5D,SACCC,GAAG,QACG,eAAY;AAEnB,SACCC,YAAY,QACN,0BAAuB;AAE9B,SACCC,UAAU,QACJ,8BAA2B;AAElC,SACCC,YAAY,QACN,2BAAwB;AAc/B,SACCC,mBAAmB,QACb,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE/B,OAAO,MAAMC,YAAY,gBAAGb,UAAU,CACrC,SAASa,YAAYA,CACpB;EACCC,IAAI,EAAEC,QAAQ;EACdC,OAAO;EACPC,QAAQ;EACRC,UAAU,GAAG,IAAI;EACjBC,IAAI,GAAG,OAAO;EACd,YAAY,EAAEC,SAAS,GAAG,eAAe;EACzCC,KAAK;EACLC,qBAAqB;EACrB,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,YAAY,GACXxB,UAAU,CAACI,YAAY,CAAC;IAEzBqB,YAAY,GACXzB,UAAU,CAACM,YAAY,CAAC;IAEzBO,IAAI,GACHC,QAAQ,IAAIW,YAAY,CAACC,OAAO;EAElC,oBACCjB,IAAA,CAACF,mBAAmB,CAACoB,QAAQ;IAC5BC,KAAK,EAAE;MACNf,IAAI,EAAEC,QAAQ,IAAIe,uBAAuB,CAACJ,YAAY,CAACC,OAAO;IAC/D,CAAE;IAAAV,QAAA,eAEFL,KAAA,CAACN,UAAU;MACVkB,GAAG,EAAGA,GAAK;MAAA,GACND,KAAK;MACVJ,IAAI,EAAGA,IAAM;MACb,cAAaC,SAAW;MACxBF,UAAU,EAAGA,UAAY;MACzBG,KAAK,EAAG;MACP;MACA;MACA;MACA;MACAU,cAAc,CACbD,uBAAuB,CAAChB,IAAI,CAAC,CAC7B,EAEDkB,oBAAoB,CAAC,MAAMP,YAAY,EAAE,CAAC,EAE1CJ,KAAK,CACH;MACHC,qBAAqB,EAAG,CACvBnB,gBAAgB,CAAC8B,CAAC,CAACC,QAAQ,EAC3B/B,gBAAgB,CAAC8B,CAAC,CAACE,SAAS,EAC5BhC,gBAAgB,CAAC8B,CAAC,CAACG,eAAe,EAClCd,qBAAqB,CACnB;MAAAL,QAAA,gBAEHP,IAAA,CAACN,GAAG;QACHiB,KAAK,EAAG,CACPlB,gBAAgB,CAAC8B,CAAC,CAACE,SAAS,CAC1B;QAAAlB,QAAA,EAEDA;MAAQ,CACN,CAAC,EAEJ,CAAC,CAACD,OAAO,iBACVN,IAAA,CAACN,GAAG;QACHiB,KAAK,EAAG,CACPlB,gBAAgB,CAAC8B,CAAC,CAACC,QAAQ,EAC3B/B,gBAAgB,CAAC8B,CAAC,CAACI,YAAY,CAC7B;QAAApB,QAAA,EAEDD;MAAO,CACL,CACL;IAAA,CACU;EAAC,CACgB,CAAC;AAGjC,CACD,CAAC;AAED,MACCe,cAAc,GACb7B,UAAU,CAACoC,MAAM,CAAC;IACjBC,KAAK,EAAE;MACNC,MAAM,EAAE;IACT,CAAC;IACDC,KAAK,EAAE;MACND,MAAM,EAAE;IACT;EACD,CAAqF,CAAC;EAEvFV,uBAAuB,GACtB;IACCY,WAAW,EAAE,OAAO;IACpBH,KAAK,EAAE,OAAO;IACdI,MAAM,EAAE,OAAO;IACfF,KAAK,EAAE,OAAO;IACdG,WAAW,EAAE;EACd,CAAsE;EAEvEZ,oBAAoB,GACnB7B,gBAAgB,CAACmC,MAAM,CAAC;IACvBO,IAAI,EAAE;MACLC,eAAe,EAAE3C,gBAAgB,CAAC4C,KAAK,CAACC;IACzC,CAAC;IACDC,IAAI,EAAE;MACLH,eAAe,EAAE3C,gBAAgB,CAAC4C,KAAK,CAACG;IACzC,CAAC;IACDC,IAAI,EAAE;MACLL,eAAe,EAAE3C,gBAAgB,CAAC4C,KAAK,CAACK;IACzC;EACD,CAEC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarSize.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createContext","TableToolbarContext","size"],"sourceRoot":"../../../../src","sources":["components/table-toolbar/_TableToolbarContext.ts"],"mappings":";;AAAA,SACCA,aAAa,QACP,OAAO;AAUd,OAAO,MAAMC,mBAAmB,gBAAGD,aAAa,CAAsB;EACrEE,IAAI,EAAE;AACP,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/index.ts"],"mappings":";;AAAA,cAAc,mBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from "react";
|
|
4
|
+
import { TableToolbarContext } from "../table-toolbar/_TableToolbarContext.js";
|
|
5
|
+
export function useSize() {
|
|
6
|
+
const tableToolbarContext = useContext(TableToolbarContext);
|
|
7
|
+
return mapToolbarSizeToButtonSize[tableToolbarContext.size];
|
|
8
|
+
}
|
|
9
|
+
const mapToolbarSizeToButtonSize = {
|
|
10
|
+
small: "small",
|
|
11
|
+
large: "large_productive"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=_useSize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","TableToolbarContext","useSize","tableToolbarContext","mapToolbarSizeToButtonSize","size","small","large"],"sourceRoot":"../../../../src","sources":["components/table-toolbar-button/_useSize.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAMd,SACCC,mBAAmB,QACb,0CAAuC;AAE9C,OAAO,SAASC,OAAOA,CAAA,EAAS;EAE/B,MACCC,mBAAmB,GAClBH,UAAU,CAACC,mBAAmB,CAAC;EAEjC,OAAOG,0BAA0B,CAACD,mBAAmB,CAACE,IAAI,CAAC;AAE5D;AAEA,MACCD,0BAA0B,GACzB;EACCE,KAAK,EAAE,OAAO;EACdC,KAAK,EAAE;AACR,CAA8D","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { Ghost as Button } from "../../button/ghost/Ghost.js";
|
|
5
|
+
import { useSize } from "../_useSize.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const Ghost = /*#__PURE__*/forwardRef(function Ghost({
|
|
8
|
+
size: sizeProp,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) {
|
|
11
|
+
const size = useSize();
|
|
12
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
...props,
|
|
15
|
+
size: sizeProp ?? size
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=Ghost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Ghost","Button","useSize","jsx","_jsx","size","sizeProp","props","ref"],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/Ghost.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,KAAK,IAAIC,MAAM,QACT,6BAA0B;AAEjC,SACCC,OAAO,QACD,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUpB,OAAO,MAAMJ,KAAK,gBAAGD,UAAU,CAC9B,SAASC,KAAKA,CACb;EACCK,IAAI,EAAEC,QAAQ;EACd,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCH,IAAI,GACHH,OAAO,CAAC,CAAC;EAEX,oBACCE,IAAA,CAACH,MAAM;IACNO,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVF,IAAI,EAAGC,QAAQ,IAAID;EAAM,CACzB,CAAC;AAGJ,CACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/GhostProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/GhostRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/index.ts"],"mappings":";;AAAA,cAAc,YAAS","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { GhostIcon as Button } from "../../button/ghost-icon/GhostIcon.js";
|
|
5
|
+
import { useSize } from "../_useSize.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const GhostIcon = /*#__PURE__*/forwardRef(function GhostIcon({
|
|
8
|
+
size: sizeProp,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) {
|
|
11
|
+
const size = useSize();
|
|
12
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
...props,
|
|
15
|
+
size: sizeProp ?? size
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=GhostIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","GhostIcon","Button","useSize","jsx","_jsx","size","sizeProp","props","ref"],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/GhostIcon.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,SAAS,IAAIC,MAAM,QACb,sCAAmC;AAE1C,SACCC,OAAO,QACD,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUpB,OAAO,MAAMJ,SAAS,gBAAGD,UAAU,CAClC,SAASC,SAASA,CACjB;EACCK,IAAI,EAAEC,QAAQ;EACd,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCH,IAAI,GACHH,OAAO,CAAC,CAAC;EAEX,oBACCE,IAAA,CAACH,MAAM;IACNO,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVF,IAAI,EAAGC,QAAQ,IAAID;EAAM,CACzB,CAAC;AAGJ,CACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/GhostIconProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/GhostIconRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/index.ts"],"mappings":";;AAAA,cAAc,gBAAa","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar-button/index.ts"],"mappings":";;AAAA,cAAc,kBAAS;AACvB,cAAc,uBAAc;AAC5B,cAAc,oBAAW","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { Primary as Button } from "../../button/primary/Primary.js";
|
|
5
|
+
import { useSize } from "../_useSize.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const Primary = /*#__PURE__*/forwardRef(function Primary({
|
|
8
|
+
size: sizeProp,
|
|
9
|
+
...props
|
|
10
|
+
}, ref) {
|
|
11
|
+
const size = useSize();
|
|
12
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
13
|
+
ref: ref,
|
|
14
|
+
...props,
|
|
15
|
+
size: sizeProp ?? size
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=Primary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Primary","Button","useSize","jsx","_jsx","size","sizeProp","props","ref"],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/Primary.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,OAAO,IAAIC,MAAM,QACX,iCAA8B;AAErC,SACCC,OAAO,QACD,gBAAa;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAUpB,OAAO,MAAMJ,OAAO,gBAAGD,UAAU,CAChC,SAASC,OAAOA,CACf;EACCK,IAAI,EAAEC,QAAQ;EACd,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCH,IAAI,GACHH,OAAO,CAAC,CAAC;EAEX,oBACCE,IAAA,CAACH,MAAM;IACNO,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVF,IAAI,EAAGC,QAAQ,IAAID;EAAM,CACzB,CAAC;AAGJ,CACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/PrimaryProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/PrimaryRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/index.ts"],"mappings":";;AAAA,cAAc,cAAW","ignoreList":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef, useImperativeHandle, useRef, useState } from "react";
|
|
4
|
+
import { View } from "react-native";
|
|
5
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet/index.js";
|
|
6
|
+
import { AnimatedNextContent } from "./_animated-next-content/index.js";
|
|
7
|
+
import { AnimatedToolbar } from "./_animated-toolbar/index.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Render `TableToolbar` and switch to other view if some events happened.
|
|
11
|
+
*
|
|
12
|
+
* This is useful if you want to use both `TableToolbar` and `TableBatchActionBar`,
|
|
13
|
+
* but only show `TableBatchActionBar` and hide `TableToolbar` if some events occured, e.g. a row has been selected.
|
|
14
|
+
*/
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
+
export const TableToolbarSwitcher = /*#__PURE__*/forwardRef(function TableToolbarSwitcher({
|
|
17
|
+
defaultNext,
|
|
18
|
+
next: nextProp,
|
|
19
|
+
nextContent,
|
|
20
|
+
...props
|
|
21
|
+
}, ref) {
|
|
22
|
+
const animatedToolbarRef = useRef(null),
|
|
23
|
+
[nextSelf, setNextSelf] = useState(!!defaultNext),
|
|
24
|
+
next = nextProp ?? nextSelf;
|
|
25
|
+
useImperativeHandle(ref, () => {
|
|
26
|
+
return Object.assign(animatedToolbarRef.current ?? {}, {
|
|
27
|
+
next() {
|
|
28
|
+
if (typeof nextProp === "undefined") {
|
|
29
|
+
setNextSelf(true);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
prev() {
|
|
33
|
+
if (typeof nextProp === "undefined") {
|
|
34
|
+
setNextSelf(false);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
switch() {
|
|
38
|
+
if (typeof nextProp === "undefined") {
|
|
39
|
+
setNextSelf(s => !s);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}, [nextProp]);
|
|
44
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
45
|
+
style: [CarbonStyleSheet.g.flex_auto],
|
|
46
|
+
children: [/*#__PURE__*/_jsx(AnimatedToolbar, {
|
|
47
|
+
ref: animatedToolbarRef,
|
|
48
|
+
...props,
|
|
49
|
+
visible: !next
|
|
50
|
+
}), /*#__PURE__*/_jsx(AnimatedNextContent, {
|
|
51
|
+
visible: next,
|
|
52
|
+
children: nextContent
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=TableToolbarSwitcher.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useImperativeHandle","useRef","useState","View","CarbonStyleSheet","AnimatedNextContent","AnimatedToolbar","jsx","_jsx","jsxs","_jsxs","TableToolbarSwitcher","defaultNext","next","nextProp","nextContent","props","ref","animatedToolbarRef","nextSelf","setNextSelf","Object","assign","current","prev","switch","s","style","g","flex_auto","children","visible"],"sourceRoot":"../../../../src","sources":["components/table-toolbar-switcher/TableToolbarSwitcher.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,mBAAmB,EACnBC,MAAM,EACNC,QAAQ,QACF,OAAO;AAEd,SACCC,IAAI,QACE,cAAc;AAErB,OAAO,KAAKC,gBAAgB,MAAM,mCAA0B;AAc5D,SACCC,mBAAmB,QACb,mCAA0B;AAEjC,SACCC,eAAe,QAET,8BAAqB;;AAE5B;AACA;AACA;AACA;AACA;AACA;AALA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAMA,OAAO,MAAMC,oBAAoB,gBAAGZ,UAAU,CAC7C,SAASY,oBAAoBA,CAC5B;EACCC,WAAW;EACXC,IAAI,EAAEC,QAAQ;EACdC,WAAW;EACX,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAGD,MACCC,kBAAkB,GACjBjB,MAAM,CAAqB,IAAI,CAAC;IAEjC,CAACkB,QAAQ,EAAEC,WAAW,CAAC,GACtBlB,QAAQ,CAAC,CAAC,CAACU,WAAW,CAAC;IAExBC,IAAI,GACHC,QAAQ,IAAIK,QAAQ;EAEtBnB,mBAAmB,CAACiB,GAAG,EAAE,MAAM;IAC9B,OAAOI,MAAM,CAACC,MAAM,CACnBJ,kBAAkB,CAACK,OAAO,IAAI,CAAC,CAAuB,EACtD;MACCV,IAAIA,CAAA,EAAG;QACN,IAAG,OAAOC,QAAQ,KAAK,WAAW,EAAE;UACnCM,WAAW,CAAC,IAAI,CAAC;QAClB;MACD,CAAC;MACDI,IAAIA,CAAA,EAAG;QACN,IAAG,OAAOV,QAAQ,KAAK,WAAW,EAAE;UACnCM,WAAW,CAAC,KAAK,CAAC;QACnB;MACD,CAAC;MACDK,MAAMA,CAAA,EAAG;QACR,IAAG,OAAOX,QAAQ,KAAK,WAAW,EAAE;UACnCM,WAAW,CAACM,CAAC,IAAI,CAACA,CAAC,CAAC;QACrB;MACD;IACD,CACD,CAAC;EACF,CAAC,EAAE,CACFZ,QAAQ,CACR,CAAC;EAEF,oBACCJ,KAAA,CAACP,IAAI;IACJwB,KAAK,EAAG,CACPvB,gBAAgB,CAACwB,CAAC,CAACC,SAAS,CAC1B;IAAAC,QAAA,gBAEHtB,IAAA,CAACF,eAAe;MACfW,GAAG,EAAGC,kBAAoB;MAAA,GACrBF,KAAK;MACVe,OAAO,EAAG,CAAClB;IAAM,CACjB,CAAC,eAEFL,IAAA,CAACH,mBAAmB;MACnB0B,OAAO,EAAGlB,IAAM;MAAAiB,QAAA,EAEdf;IAAW,CACO,CAAC;EAAA,CACjB,CAAC;AAGT,CACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar-switcher/TableToolbarSwitcherProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar-switcher/TableToolbarSwitcherRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar-switcher/TableToolbarSwitcherRefBase.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar-switcher/_AnimatedContentProps.ts"],"mappings":"","ignoreList":[]}
|
package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Animated } from "react-native";
|
|
4
|
+
import { useAnimatedContent } from "../_useAnimatedContent.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export function AnimatedNextContent({
|
|
7
|
+
visible,
|
|
8
|
+
style,
|
|
9
|
+
...props
|
|
10
|
+
}) {
|
|
11
|
+
const animatedContent = useAnimatedContent({
|
|
12
|
+
visible
|
|
13
|
+
});
|
|
14
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
15
|
+
...props,
|
|
16
|
+
style: [animatedContent.style, style]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=AnimatedNextContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Animated","useAnimatedContent","jsx","_jsx","AnimatedNextContent","visible","style","props","animatedContent","View"],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.tsx"],"mappings":";;AAAA,SACCA,QAAQ,QACF,cAAc;AAErB,SACCC,kBAAkB,QACZ,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAM/B,OAAO,SAASC,mBAAmBA,CAAC;EACnCC,OAAO;EACPC,KAAK;EACL,GAAGC;AACsB,CAAC,EAAE;EAE5B,MACCC,eAAe,GACdP,kBAAkB,CAAC;IAAEI;EAAQ,CAAC,CAAC;EAEjC,oBACCF,IAAA,CAACH,QAAQ,CAACS,IAAI;IAAA,GACRF,KAAK;IACVD,KAAK,EAAG,CACPE,eAAe,CAACF,KAAK,EACrBA,KAAK;EACH,CACH,CAAC;AAGJ","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-next-content/index.ts"],"mappings":";;AAAA,cAAc,0BAAuB","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { Animated } from "react-native";
|
|
5
|
+
import { TableToolbar } from "../../table-toolbar/TableToolbar.js";
|
|
6
|
+
import { useAnimatedContent } from "../_useAnimatedContent.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const AnimatedToolbar = /*#__PURE__*/forwardRef(function AnimatedToolbar({
|
|
9
|
+
visible,
|
|
10
|
+
size,
|
|
11
|
+
style,
|
|
12
|
+
...props
|
|
13
|
+
}, ref) {
|
|
14
|
+
const animatedContent = useAnimatedContent({
|
|
15
|
+
visible,
|
|
16
|
+
size
|
|
17
|
+
});
|
|
18
|
+
return /*#__PURE__*/_jsx(AnimatedTableToolbar, {
|
|
19
|
+
ref: ref,
|
|
20
|
+
...props,
|
|
21
|
+
style: [animatedContent.style, style]
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
const AnimatedTableToolbar = Animated.createAnimatedComponent(TableToolbar);
|
|
25
|
+
//# sourceMappingURL=AnimatedToolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","Animated","TableToolbar","useAnimatedContent","jsx","_jsx","AnimatedToolbar","visible","size","style","props","ref","animatedContent","AnimatedTableToolbar","createAnimatedComponent"],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.tsx"],"mappings":";;AAAA,SACCA,UAAU,QACJ,OAAO;AAEd,SACCC,QAAQ,QACF,cAAc;AAErB,SACCC,YAAY,QACN,qCAAkC;AAEzC,SACCC,kBAAkB,QACZ,2BAAwB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAU/B,OAAO,MAAMC,eAAe,gBAAGN,UAAU,CACxC,SAASM,eAAeA,CACvB;EACCC,OAAO;EACPC,IAAI;EACJC,KAAK;EACL,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,eAAe,GACdT,kBAAkB,CAAC;IAClBI,OAAO;IACPC;EACD,CAAC,CAAC;EAEJ,oBACCH,IAAA,CAACQ,oBAAoB;IACpBF,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVD,KAAK,EAAG,CACPG,eAAe,CAACH,KAAK,EACrBA,KAAK;EACH,CACH,CAAC;AAGJ,CACD,CAAC;AAED,MACCI,oBAAoB,GACnBZ,QAAQ,CAACa,uBAAuB,CAACZ,YAAY,CAAC","ignoreList":[]}
|
package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.ts"],"mappings":"","ignoreList":[]}
|
package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-switcher/_animated-toolbar/index.ts"],"mappings":";;AAAA,cAAc,sBAAmB","ignoreList":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
4
|
+
import { Animated, Easing, Platform } from "react-native";
|
|
5
|
+
import { Motion } from "@audira/carbon-react-native-elements";
|
|
6
|
+
import * as CarbonStyleSheet from "../../carbon-style-sheet/index.js";
|
|
7
|
+
import { TableContext } from "../table/_TableContext.js";
|
|
8
|
+
export function useAnimatedContent({
|
|
9
|
+
size: sizeProp,
|
|
10
|
+
visible
|
|
11
|
+
}) {
|
|
12
|
+
const tableContext = useContext(TableContext),
|
|
13
|
+
heightPx = useMemo(() => {
|
|
14
|
+
return mapHeightBySize[mapRowSizeToToolbarSize[sizeProp ?? tableContext.rowSize]];
|
|
15
|
+
}, [sizeProp, tableContext.rowSize]),
|
|
16
|
+
ref = useRef({
|
|
17
|
+
visible,
|
|
18
|
+
heightPx
|
|
19
|
+
}),
|
|
20
|
+
translateYAnimated = useRef(new Animated.Value(visible ? 0 : heightPx));
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (ref.current.visible != visible) {
|
|
23
|
+
ref.current.visible = visible;
|
|
24
|
+
const timingConfig = {
|
|
25
|
+
duration: Motion.Duration.fast_02,
|
|
26
|
+
easing: Easing.bezier(Motion.Easing.standard.productive.x1, Motion.Easing.standard.productive.y1, Motion.Easing.standard.productive.x2, Motion.Easing.standard.productive.y2),
|
|
27
|
+
useNativeDriver: Platform.OS != "web"
|
|
28
|
+
};
|
|
29
|
+
if (!visible) {
|
|
30
|
+
Animated.timing(translateYAnimated.current, {
|
|
31
|
+
toValue: heightPx,
|
|
32
|
+
...timingConfig
|
|
33
|
+
}).start();
|
|
34
|
+
} else {
|
|
35
|
+
Animated.sequence([Animated.timing(translateYAnimated.current, {
|
|
36
|
+
toValue: heightPx,
|
|
37
|
+
duration: 0,
|
|
38
|
+
useNativeDriver: true
|
|
39
|
+
}), Animated.timing(translateYAnimated.current, {
|
|
40
|
+
toValue: 0,
|
|
41
|
+
...timingConfig
|
|
42
|
+
})]).start();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}, [heightPx, visible]);
|
|
46
|
+
useEffect(() => {
|
|
47
|
+
if (ref.current.heightPx != heightPx) {
|
|
48
|
+
Animated.timing(translateYAnimated.current, {
|
|
49
|
+
toValue: 1,
|
|
50
|
+
duration: Motion.Duration.fast_02,
|
|
51
|
+
easing: Easing.bezier(Motion.Easing.standard.productive.x1, Motion.Easing.standard.productive.y1, Motion.Easing.standard.productive.x2, Motion.Easing.standard.productive.y2),
|
|
52
|
+
useNativeDriver: Platform.OS != "web"
|
|
53
|
+
}).start();
|
|
54
|
+
}
|
|
55
|
+
}, [heightPx]);
|
|
56
|
+
return {
|
|
57
|
+
style: [!visible ? [CarbonStyleSheet.g.absolute, CarbonStyleSheet.g.w_full] : undefined, {
|
|
58
|
+
transform: [{
|
|
59
|
+
// eslint-disable-next-line react-hooks/refs
|
|
60
|
+
translateY: translateYAnimated.current
|
|
61
|
+
}],
|
|
62
|
+
// eslint-disable-next-line react-hooks/refs
|
|
63
|
+
opacity: translateYAnimated.current.interpolate({
|
|
64
|
+
inputRange: [0, heightPx],
|
|
65
|
+
outputRange: [1, 0]
|
|
66
|
+
})
|
|
67
|
+
}]
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
const mapHeightBySize = {
|
|
71
|
+
small: 32,
|
|
72
|
+
large: 48
|
|
73
|
+
},
|
|
74
|
+
mapRowSizeToToolbarSize = {
|
|
75
|
+
extra_small: "small",
|
|
76
|
+
small: "small",
|
|
77
|
+
medium: "small",
|
|
78
|
+
large: "large",
|
|
79
|
+
extra_large: "large"
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=_useAnimatedContent.js.map
|