@audira/carbon-react-native 1.0.4 → 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.
Files changed (574) hide show
  1. package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js +2 -1
  2. package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js.map +1 -1
  3. package/lib/commonjs/_internal/providers/global-config/GlobalConfigProvider.js +7 -4
  4. package/lib/commonjs/_internal/providers/global-config/GlobalConfigProvider.js.map +1 -1
  5. package/lib/commonjs/carbon-react-native/CarbonReactNative.js +8 -6
  6. package/lib/commonjs/carbon-react-native/CarbonReactNative.js.map +1 -1
  7. package/lib/commonjs/carbon-style-sheet/color.js +1 -1
  8. package/lib/commonjs/carbon-style-sheet/g/font.js +1 -1
  9. package/lib/commonjs/carbon-style-sheet/g/spacing.js +1 -1
  10. package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
  11. package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
  12. package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +1 -1
  13. package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
  14. package/lib/commonjs/components/box/Box.js +6 -0
  15. package/lib/commonjs/components/box/Box.js.map +1 -1
  16. package/lib/commonjs/components/button/base/Base.js +5 -14
  17. package/lib/commonjs/components/button/base/Base.js.map +1 -1
  18. package/lib/commonjs/components/button/ghost/Ghost.js +0 -15
  19. package/lib/commonjs/components/button/ghost/Ghost.js.map +1 -1
  20. package/lib/commonjs/components/index.js +116 -42
  21. package/lib/commonjs/components/index.js.map +1 -1
  22. package/lib/commonjs/components/scroll-view/ScrollView.js +35 -0
  23. package/lib/commonjs/components/scroll-view/ScrollView.js.map +1 -0
  24. package/lib/commonjs/components/scroll-view/ScrollViewProps.js +6 -0
  25. package/lib/commonjs/components/scroll-view/ScrollViewProps.js.map +1 -0
  26. package/lib/commonjs/components/scroll-view/index.js +17 -0
  27. package/lib/commonjs/components/scroll-view/index.js.map +1 -0
  28. package/lib/commonjs/components/table/Table.js +15 -10
  29. package/lib/commonjs/components/table/Table.js.map +1 -1
  30. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBar.js +81 -0
  31. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBar.js.map +1 -0
  32. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.js +6 -0
  33. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.js.map +1 -0
  34. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.js +6 -0
  35. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.js.map +1 -0
  36. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.js +2 -0
  37. package/lib/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.js.map +1 -0
  38. package/lib/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.js +11 -0
  39. package/lib/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.js.map +1 -0
  40. package/lib/commonjs/components/table-batch-action-bar/index.js +17 -0
  41. package/lib/commonjs/components/table-batch-action-bar/index.js.map +1 -0
  42. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.js +38 -0
  43. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.js.map +1 -0
  44. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js +6 -0
  45. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js.map +1 -0
  46. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js +6 -0
  47. package/lib/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js.map +1 -0
  48. package/lib/commonjs/components/table-batch-action-bar-button/index.js +17 -0
  49. package/lib/commonjs/components/table-batch-action-bar-button/index.js.map +1 -0
  50. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js +3 -3
  51. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -1
  52. package/lib/commonjs/components/table-header/TableHeader.js +53 -0
  53. package/lib/commonjs/components/table-header/TableHeader.js.map +1 -0
  54. package/lib/commonjs/components/table-header/TableHeaderProps.js +6 -0
  55. package/lib/commonjs/components/table-header/TableHeaderProps.js.map +1 -0
  56. package/lib/commonjs/components/table-header/TableHeaderRef.js +6 -0
  57. package/lib/commonjs/components/table-header/TableHeaderRef.js.map +1 -0
  58. package/lib/commonjs/components/table-header/index.js +17 -0
  59. package/lib/commonjs/components/table-header/index.js.map +1 -0
  60. package/lib/commonjs/components/table-toolbar/TableToolbar.js +84 -0
  61. package/lib/commonjs/components/table-toolbar/TableToolbar.js.map +1 -0
  62. package/lib/commonjs/components/table-toolbar/TableToolbarProps.js +6 -0
  63. package/lib/commonjs/components/table-toolbar/TableToolbarProps.js.map +1 -0
  64. package/lib/commonjs/components/table-toolbar/TableToolbarRef.js +6 -0
  65. package/lib/commonjs/components/table-toolbar/TableToolbarRef.js.map +1 -0
  66. package/lib/commonjs/components/table-toolbar/TableToolbarSize.js +2 -0
  67. package/lib/commonjs/components/table-toolbar/TableToolbarSize.js.map +1 -0
  68. package/lib/commonjs/components/table-toolbar/_TableToolbarContext.js +11 -0
  69. package/lib/commonjs/components/table-toolbar/_TableToolbarContext.js.map +1 -0
  70. package/lib/commonjs/components/table-toolbar/index.js +17 -0
  71. package/lib/commonjs/components/table-toolbar/index.js.map +1 -0
  72. package/lib/commonjs/components/table-toolbar-button/_useSize.js +17 -0
  73. package/lib/commonjs/components/table-toolbar-button/_useSize.js.map +1 -0
  74. package/lib/commonjs/components/table-toolbar-button/ghost/Ghost.js +22 -0
  75. package/lib/commonjs/components/table-toolbar-button/ghost/Ghost.js.map +1 -0
  76. package/lib/commonjs/components/table-toolbar-button/ghost/GhostProps.js +6 -0
  77. package/lib/commonjs/components/table-toolbar-button/ghost/GhostProps.js.map +1 -0
  78. package/lib/commonjs/components/table-toolbar-button/ghost/GhostRef.js +6 -0
  79. package/lib/commonjs/components/table-toolbar-button/ghost/GhostRef.js.map +1 -0
  80. package/lib/commonjs/components/table-toolbar-button/ghost/index.js +17 -0
  81. package/lib/commonjs/components/table-toolbar-button/ghost/index.js.map +1 -0
  82. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.js +22 -0
  83. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.js.map +1 -0
  84. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.js +6 -0
  85. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.js.map +1 -0
  86. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.js +6 -0
  87. package/lib/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.js.map +1 -0
  88. package/lib/commonjs/components/table-toolbar-button/ghost-icon/index.js +17 -0
  89. package/lib/commonjs/components/table-toolbar-button/ghost-icon/index.js.map +1 -0
  90. package/lib/commonjs/components/table-toolbar-button/index.js +39 -0
  91. package/lib/commonjs/components/table-toolbar-button/index.js.map +1 -0
  92. package/lib/commonjs/components/table-toolbar-button/primary/Primary.js +22 -0
  93. package/lib/commonjs/components/table-toolbar-button/primary/Primary.js.map +1 -0
  94. package/lib/commonjs/components/table-toolbar-button/primary/PrimaryProps.js +6 -0
  95. package/lib/commonjs/components/table-toolbar-button/primary/PrimaryProps.js.map +1 -0
  96. package/lib/commonjs/components/table-toolbar-button/primary/PrimaryRef.js +6 -0
  97. package/lib/commonjs/components/table-toolbar-button/primary/PrimaryRef.js.map +1 -0
  98. package/lib/commonjs/components/table-toolbar-button/primary/index.js +17 -0
  99. package/lib/commonjs/components/table-toolbar-button/primary/index.js.map +1 -0
  100. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.js +60 -0
  101. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.js.map +1 -0
  102. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.js +6 -0
  103. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.js.map +1 -0
  104. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.js +6 -0
  105. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.js.map +1 -0
  106. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js +2 -0
  107. package/lib/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js.map +1 -0
  108. package/lib/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.js +2 -0
  109. package/lib/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.js.map +1 -0
  110. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js +23 -0
  111. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js.map +1 -0
  112. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js +6 -0
  113. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js.map +1 -0
  114. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/index.js +17 -0
  115. package/lib/commonjs/components/table-toolbar-switcher/_animated-next-content/index.js.map +1 -0
  116. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js +29 -0
  117. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js.map +1 -0
  118. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js +6 -0
  119. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js.map +1 -0
  120. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js +6 -0
  121. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js.map +1 -0
  122. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.js +17 -0
  123. package/lib/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.js.map +1 -0
  124. package/lib/commonjs/components/table-toolbar-switcher/_useAnimatedContent.js +86 -0
  125. package/lib/commonjs/components/table-toolbar-switcher/_useAnimatedContent.js.map +1 -0
  126. package/lib/commonjs/components/table-toolbar-switcher/index.js +17 -0
  127. package/lib/commonjs/components/table-toolbar-switcher/index.js.map +1 -0
  128. package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js +2 -1
  129. package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js.map +1 -1
  130. package/lib/module/_internal/providers/global-config/GlobalConfigProvider.js +7 -4
  131. package/lib/module/_internal/providers/global-config/GlobalConfigProvider.js.map +1 -1
  132. package/lib/module/carbon-react-native/CarbonReactNative.js +8 -6
  133. package/lib/module/carbon-react-native/CarbonReactNative.js.map +1 -1
  134. package/lib/module/carbon-style-sheet/color.js +1 -1
  135. package/lib/module/carbon-style-sheet/g/font.js +1 -1
  136. package/lib/module/carbon-style-sheet/g/spacing.js +1 -1
  137. package/lib/module/carbon-style-sheet/g/typography.js +1 -1
  138. package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
  139. package/lib/module/carbon-style-sheet/g-object/spacing.js +1 -1
  140. package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
  141. package/lib/module/components/box/Box.js +6 -0
  142. package/lib/module/components/box/Box.js.map +1 -1
  143. package/lib/module/components/button/base/Base.js +5 -14
  144. package/lib/module/components/button/base/Base.js.map +1 -1
  145. package/lib/module/components/button/ghost/Ghost.js +1 -16
  146. package/lib/module/components/button/ghost/Ghost.js.map +1 -1
  147. package/lib/module/components/index.js +8 -1
  148. package/lib/module/components/index.js.map +1 -1
  149. package/lib/module/components/scroll-view/ScrollView.js +30 -0
  150. package/lib/module/components/scroll-view/ScrollView.js.map +1 -0
  151. package/lib/module/components/scroll-view/ScrollViewProps.js +4 -0
  152. package/lib/module/components/scroll-view/ScrollViewProps.js.map +1 -0
  153. package/lib/module/components/scroll-view/index.js +4 -0
  154. package/lib/module/components/scroll-view/index.js.map +1 -0
  155. package/lib/module/components/table/Table.js +15 -10
  156. package/lib/module/components/table/Table.js.map +1 -1
  157. package/lib/module/components/table-batch-action-bar/TableBatchActionBar.js +76 -0
  158. package/lib/module/components/table-batch-action-bar/TableBatchActionBar.js.map +1 -0
  159. package/lib/module/components/table-batch-action-bar/TableBatchActionBarProps.js +4 -0
  160. package/lib/module/components/table-batch-action-bar/TableBatchActionBarProps.js.map +1 -0
  161. package/lib/module/components/table-batch-action-bar/TableBatchActionBarRef.js +4 -0
  162. package/lib/module/components/table-batch-action-bar/TableBatchActionBarRef.js.map +1 -0
  163. package/lib/module/components/table-batch-action-bar/TableBatchActionBarSize.js +2 -0
  164. package/lib/module/components/table-batch-action-bar/TableBatchActionBarSize.js.map +1 -0
  165. package/lib/module/components/table-batch-action-bar/_TableBatchActionBarContext.js +7 -0
  166. package/lib/module/components/table-batch-action-bar/_TableBatchActionBarContext.js.map +1 -0
  167. package/lib/module/components/table-batch-action-bar/index.js +4 -0
  168. package/lib/module/components/table-batch-action-bar/index.js.map +1 -0
  169. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButton.js +33 -0
  170. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButton.js.map +1 -0
  171. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js +4 -0
  172. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.js.map +1 -0
  173. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js +4 -0
  174. package/lib/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.js.map +1 -0
  175. package/lib/module/components/table-batch-action-bar-button/index.js +4 -0
  176. package/lib/module/components/table-batch-action-bar-button/index.js.map +1 -0
  177. package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js +4 -4
  178. package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -1
  179. package/lib/module/components/table-header/TableHeader.js +48 -0
  180. package/lib/module/components/table-header/TableHeader.js.map +1 -0
  181. package/lib/module/components/table-header/TableHeaderProps.js +4 -0
  182. package/lib/module/components/table-header/TableHeaderProps.js.map +1 -0
  183. package/lib/module/components/table-header/TableHeaderRef.js +4 -0
  184. package/lib/module/components/table-header/TableHeaderRef.js.map +1 -0
  185. package/lib/module/components/table-header/index.js +4 -0
  186. package/lib/module/components/table-header/index.js.map +1 -0
  187. package/lib/module/components/table-toolbar/TableToolbar.js +79 -0
  188. package/lib/module/components/table-toolbar/TableToolbar.js.map +1 -0
  189. package/lib/module/components/table-toolbar/TableToolbarProps.js +4 -0
  190. package/lib/module/components/table-toolbar/TableToolbarProps.js.map +1 -0
  191. package/lib/module/components/table-toolbar/TableToolbarRef.js +4 -0
  192. package/lib/module/components/table-toolbar/TableToolbarRef.js.map +1 -0
  193. package/lib/module/components/table-toolbar/TableToolbarSize.js +2 -0
  194. package/lib/module/components/table-toolbar/TableToolbarSize.js.map +1 -0
  195. package/lib/module/components/table-toolbar/_TableToolbarContext.js +7 -0
  196. package/lib/module/components/table-toolbar/_TableToolbarContext.js.map +1 -0
  197. package/lib/module/components/table-toolbar/index.js +4 -0
  198. package/lib/module/components/table-toolbar/index.js.map +1 -0
  199. package/lib/module/components/table-toolbar-button/_useSize.js +13 -0
  200. package/lib/module/components/table-toolbar-button/_useSize.js.map +1 -0
  201. package/lib/module/components/table-toolbar-button/ghost/Ghost.js +18 -0
  202. package/lib/module/components/table-toolbar-button/ghost/Ghost.js.map +1 -0
  203. package/lib/module/components/table-toolbar-button/ghost/GhostProps.js +4 -0
  204. package/lib/module/components/table-toolbar-button/ghost/GhostProps.js.map +1 -0
  205. package/lib/module/components/table-toolbar-button/ghost/GhostRef.js +4 -0
  206. package/lib/module/components/table-toolbar-button/ghost/GhostRef.js.map +1 -0
  207. package/lib/module/components/table-toolbar-button/ghost/index.js +4 -0
  208. package/lib/module/components/table-toolbar-button/ghost/index.js.map +1 -0
  209. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIcon.js +18 -0
  210. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIcon.js.map +1 -0
  211. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconProps.js +4 -0
  212. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconProps.js.map +1 -0
  213. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconRef.js +4 -0
  214. package/lib/module/components/table-toolbar-button/ghost-icon/GhostIconRef.js.map +1 -0
  215. package/lib/module/components/table-toolbar-button/ghost-icon/index.js +4 -0
  216. package/lib/module/components/table-toolbar-button/ghost-icon/index.js.map +1 -0
  217. package/lib/module/components/table-toolbar-button/index.js +6 -0
  218. package/lib/module/components/table-toolbar-button/index.js.map +1 -0
  219. package/lib/module/components/table-toolbar-button/primary/Primary.js +18 -0
  220. package/lib/module/components/table-toolbar-button/primary/Primary.js.map +1 -0
  221. package/lib/module/components/table-toolbar-button/primary/PrimaryProps.js +4 -0
  222. package/lib/module/components/table-toolbar-button/primary/PrimaryProps.js.map +1 -0
  223. package/lib/module/components/table-toolbar-button/primary/PrimaryRef.js +4 -0
  224. package/lib/module/components/table-toolbar-button/primary/PrimaryRef.js.map +1 -0
  225. package/lib/module/components/table-toolbar-button/primary/index.js +4 -0
  226. package/lib/module/components/table-toolbar-button/primary/index.js.map +1 -0
  227. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcher.js +56 -0
  228. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcher.js.map +1 -0
  229. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.js +4 -0
  230. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.js.map +1 -0
  231. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.js +4 -0
  232. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.js.map +1 -0
  233. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js +2 -0
  234. package/lib/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.js.map +1 -0
  235. package/lib/module/components/table-toolbar-switcher/_AnimatedContentProps.js +2 -0
  236. package/lib/module/components/table-toolbar-switcher/_AnimatedContentProps.js.map +1 -0
  237. package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js +19 -0
  238. package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.js.map +1 -0
  239. package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js +4 -0
  240. package/lib/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.js.map +1 -0
  241. package/lib/module/components/table-toolbar-switcher/_animated-next-content/index.js +4 -0
  242. package/lib/module/components/table-toolbar-switcher/_animated-next-content/index.js.map +1 -0
  243. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js +25 -0
  244. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.js.map +1 -0
  245. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js +4 -0
  246. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.js.map +1 -0
  247. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js +4 -0
  248. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.js.map +1 -0
  249. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/index.js +4 -0
  250. package/lib/module/components/table-toolbar-switcher/_animated-toolbar/index.js.map +1 -0
  251. package/lib/module/components/table-toolbar-switcher/_useAnimatedContent.js +81 -0
  252. package/lib/module/components/table-toolbar-switcher/_useAnimatedContent.js.map +1 -0
  253. package/lib/module/components/table-toolbar-switcher/index.js +4 -0
  254. package/lib/module/components/table-toolbar-switcher/index.js.map +1 -0
  255. package/lib/typescript/commonjs/_internal/contexts/global-config/GlobalConfigContext.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
  257. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
  259. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/carbon-react-native/CarbonReactNative.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
  262. package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/components/box/Box.d.ts +6 -0
  264. package/lib/typescript/commonjs/components/box/Box.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/components/index.d.ts +8 -1
  267. package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/components/scroll-view/ScrollView.d.ts +9 -0
  269. package/lib/typescript/commonjs/components/scroll-view/ScrollView.d.ts.map +1 -0
  270. package/lib/typescript/commonjs/components/scroll-view/ScrollViewProps.d.ts +4 -0
  271. package/lib/typescript/commonjs/components/scroll-view/ScrollViewProps.d.ts.map +1 -0
  272. package/lib/typescript/commonjs/components/scroll-view/index.d.ts +3 -0
  273. package/lib/typescript/commonjs/components/scroll-view/index.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/components/table/Table.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/components/table/TableProps.d.ts +15 -0
  276. package/lib/typescript/commonjs/components/table/TableProps.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/components/table/TableRef.d.ts +2 -2
  278. package/lib/typescript/commonjs/components/table/TableRef.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBar.d.ts +4 -0
  280. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBar.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.d.ts +30 -0
  282. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarProps.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.d.ts +4 -0
  284. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarRef.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.d.ts +2 -0
  286. package/lib/typescript/commonjs/components/table-batch-action-bar/TableBatchActionBarSize.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts +6 -0
  288. package/lib/typescript/commonjs/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/components/table-batch-action-bar/index.d.ts +5 -0
  290. package/lib/typescript/commonjs/components/table-batch-action-bar/index.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts +4 -0
  292. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts +4 -0
  294. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts.map +1 -0
  295. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts +4 -0
  296. package/lib/typescript/commonjs/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts.map +1 -0
  297. package/lib/typescript/commonjs/components/table-batch-action-bar-button/index.d.ts +4 -0
  298. package/lib/typescript/commonjs/components/table-batch-action-bar-button/index.d.ts.map +1 -0
  299. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -1
  300. package/lib/typescript/commonjs/components/table-header/TableHeader.d.ts +4 -0
  301. package/lib/typescript/commonjs/components/table-header/TableHeader.d.ts.map +1 -0
  302. package/lib/typescript/commonjs/components/table-header/TableHeaderProps.d.ts +9 -0
  303. package/lib/typescript/commonjs/components/table-header/TableHeaderProps.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/components/table-header/TableHeaderRef.d.ts +4 -0
  305. package/lib/typescript/commonjs/components/table-header/TableHeaderRef.d.ts.map +1 -0
  306. package/lib/typescript/commonjs/components/table-header/index.d.ts +4 -0
  307. package/lib/typescript/commonjs/components/table-header/index.d.ts.map +1 -0
  308. package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +3 -0
  309. package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -1
  310. package/lib/typescript/commonjs/components/table-toolbar/TableToolbar.d.ts +4 -0
  311. package/lib/typescript/commonjs/components/table-toolbar/TableToolbar.d.ts.map +1 -0
  312. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarProps.d.ts +22 -0
  313. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarProps.d.ts.map +1 -0
  314. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarRef.d.ts +4 -0
  315. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarRef.d.ts.map +1 -0
  316. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarSize.d.ts +2 -0
  317. package/lib/typescript/commonjs/components/table-toolbar/TableToolbarSize.d.ts.map +1 -0
  318. package/lib/typescript/commonjs/components/table-toolbar/_TableToolbarContext.d.ts +6 -0
  319. package/lib/typescript/commonjs/components/table-toolbar/_TableToolbarContext.d.ts.map +1 -0
  320. package/lib/typescript/commonjs/components/table-toolbar/index.d.ts +5 -0
  321. package/lib/typescript/commonjs/components/table-toolbar/index.d.ts.map +1 -0
  322. package/lib/typescript/commonjs/components/table-toolbar-button/_useSize.d.ts +3 -0
  323. package/lib/typescript/commonjs/components/table-toolbar-button/_useSize.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/Ghost.d.ts +4 -0
  325. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/Ghost.d.ts.map +1 -0
  326. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostProps.d.ts +4 -0
  327. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostProps.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostRef.d.ts +4 -0
  329. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/GhostRef.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/index.d.ts +4 -0
  331. package/lib/typescript/commonjs/components/table-toolbar-button/ghost/index.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts +4 -0
  333. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts +4 -0
  335. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts +4 -0
  337. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/index.d.ts +4 -0
  339. package/lib/typescript/commonjs/components/table-toolbar-button/ghost-icon/index.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/components/table-toolbar-button/index.d.ts +4 -0
  341. package/lib/typescript/commonjs/components/table-toolbar-button/index.d.ts.map +1 -0
  342. package/lib/typescript/commonjs/components/table-toolbar-button/primary/Primary.d.ts +4 -0
  343. package/lib/typescript/commonjs/components/table-toolbar-button/primary/Primary.d.ts.map +1 -0
  344. package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryProps.d.ts +4 -0
  345. package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryProps.d.ts.map +1 -0
  346. package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryRef.d.ts +4 -0
  347. package/lib/typescript/commonjs/components/table-toolbar-button/primary/PrimaryRef.d.ts.map +1 -0
  348. package/lib/typescript/commonjs/components/table-toolbar-button/primary/index.d.ts +4 -0
  349. package/lib/typescript/commonjs/components/table-toolbar-button/primary/index.d.ts.map +1 -0
  350. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts +10 -0
  351. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts.map +1 -0
  352. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts +16 -0
  353. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts.map +1 -0
  354. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts +5 -0
  355. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts.map +1 -0
  356. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts +17 -0
  357. package/lib/typescript/commonjs/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.d.ts +4 -0
  359. package/lib/typescript/commonjs/components/table-toolbar-switcher/_AnimatedContentProps.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts +3 -0
  361. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts +5 -0
  363. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/index.d.ts +3 -0
  365. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-next-content/index.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts +4 -0
  367. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts +5 -0
  369. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts.map +1 -0
  370. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts +4 -0
  371. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.d.ts +4 -0
  373. package/lib/typescript/commonjs/components/table-toolbar-switcher/_animated-toolbar/index.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/components/table-toolbar-switcher/_useAnimatedContent.d.ts +20 -0
  375. package/lib/typescript/commonjs/components/table-toolbar-switcher/_useAnimatedContent.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/components/table-toolbar-switcher/index.d.ts +5 -0
  377. package/lib/typescript/commonjs/components/table-toolbar-switcher/index.d.ts.map +1 -0
  378. package/lib/typescript/module/_internal/contexts/global-config/GlobalConfigContext.d.ts.map +1 -1
  379. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
  380. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts.map +1 -1
  381. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
  382. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts.map +1 -1
  383. package/lib/typescript/module/carbon-react-native/CarbonReactNative.d.ts.map +1 -1
  384. package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
  385. package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts.map +1 -1
  386. package/lib/typescript/module/components/box/Box.d.ts +6 -0
  387. package/lib/typescript/module/components/box/Box.d.ts.map +1 -1
  388. package/lib/typescript/module/components/button/ghost/Ghost.d.ts.map +1 -1
  389. package/lib/typescript/module/components/index.d.ts +8 -1
  390. package/lib/typescript/module/components/index.d.ts.map +1 -1
  391. package/lib/typescript/module/components/scroll-view/ScrollView.d.ts +9 -0
  392. package/lib/typescript/module/components/scroll-view/ScrollView.d.ts.map +1 -0
  393. package/lib/typescript/module/components/scroll-view/ScrollViewProps.d.ts +4 -0
  394. package/lib/typescript/module/components/scroll-view/ScrollViewProps.d.ts.map +1 -0
  395. package/lib/typescript/module/components/scroll-view/index.d.ts +3 -0
  396. package/lib/typescript/module/components/scroll-view/index.d.ts.map +1 -0
  397. package/lib/typescript/module/components/table/Table.d.ts.map +1 -1
  398. package/lib/typescript/module/components/table/TableProps.d.ts +15 -0
  399. package/lib/typescript/module/components/table/TableProps.d.ts.map +1 -1
  400. package/lib/typescript/module/components/table/TableRef.d.ts +2 -2
  401. package/lib/typescript/module/components/table/TableRef.d.ts.map +1 -1
  402. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBar.d.ts +4 -0
  403. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBar.d.ts.map +1 -0
  404. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarProps.d.ts +30 -0
  405. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarProps.d.ts.map +1 -0
  406. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarRef.d.ts +4 -0
  407. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarRef.d.ts.map +1 -0
  408. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarSize.d.ts +2 -0
  409. package/lib/typescript/module/components/table-batch-action-bar/TableBatchActionBarSize.d.ts.map +1 -0
  410. package/lib/typescript/module/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts +6 -0
  411. package/lib/typescript/module/components/table-batch-action-bar/_TableBatchActionBarContext.d.ts.map +1 -0
  412. package/lib/typescript/module/components/table-batch-action-bar/index.d.ts +5 -0
  413. package/lib/typescript/module/components/table-batch-action-bar/index.d.ts.map +1 -0
  414. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts +4 -0
  415. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButton.d.ts.map +1 -0
  416. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts +4 -0
  417. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.d.ts.map +1 -0
  418. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts +4 -0
  419. package/lib/typescript/module/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.d.ts.map +1 -0
  420. package/lib/typescript/module/components/table-batch-action-bar-button/index.d.ts +4 -0
  421. package/lib/typescript/module/components/table-batch-action-bar-button/index.d.ts.map +1 -0
  422. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -1
  423. package/lib/typescript/module/components/table-header/TableHeader.d.ts +4 -0
  424. package/lib/typescript/module/components/table-header/TableHeader.d.ts.map +1 -0
  425. package/lib/typescript/module/components/table-header/TableHeaderProps.d.ts +9 -0
  426. package/lib/typescript/module/components/table-header/TableHeaderProps.d.ts.map +1 -0
  427. package/lib/typescript/module/components/table-header/TableHeaderRef.d.ts +4 -0
  428. package/lib/typescript/module/components/table-header/TableHeaderRef.d.ts.map +1 -0
  429. package/lib/typescript/module/components/table-header/index.d.ts +4 -0
  430. package/lib/typescript/module/components/table-header/index.d.ts.map +1 -0
  431. package/lib/typescript/module/components/table-row/TableRowProps.d.ts +3 -0
  432. package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -1
  433. package/lib/typescript/module/components/table-toolbar/TableToolbar.d.ts +4 -0
  434. package/lib/typescript/module/components/table-toolbar/TableToolbar.d.ts.map +1 -0
  435. package/lib/typescript/module/components/table-toolbar/TableToolbarProps.d.ts +22 -0
  436. package/lib/typescript/module/components/table-toolbar/TableToolbarProps.d.ts.map +1 -0
  437. package/lib/typescript/module/components/table-toolbar/TableToolbarRef.d.ts +4 -0
  438. package/lib/typescript/module/components/table-toolbar/TableToolbarRef.d.ts.map +1 -0
  439. package/lib/typescript/module/components/table-toolbar/TableToolbarSize.d.ts +2 -0
  440. package/lib/typescript/module/components/table-toolbar/TableToolbarSize.d.ts.map +1 -0
  441. package/lib/typescript/module/components/table-toolbar/_TableToolbarContext.d.ts +6 -0
  442. package/lib/typescript/module/components/table-toolbar/_TableToolbarContext.d.ts.map +1 -0
  443. package/lib/typescript/module/components/table-toolbar/index.d.ts +5 -0
  444. package/lib/typescript/module/components/table-toolbar/index.d.ts.map +1 -0
  445. package/lib/typescript/module/components/table-toolbar-button/_useSize.d.ts +3 -0
  446. package/lib/typescript/module/components/table-toolbar-button/_useSize.d.ts.map +1 -0
  447. package/lib/typescript/module/components/table-toolbar-button/ghost/Ghost.d.ts +4 -0
  448. package/lib/typescript/module/components/table-toolbar-button/ghost/Ghost.d.ts.map +1 -0
  449. package/lib/typescript/module/components/table-toolbar-button/ghost/GhostProps.d.ts +4 -0
  450. package/lib/typescript/module/components/table-toolbar-button/ghost/GhostProps.d.ts.map +1 -0
  451. package/lib/typescript/module/components/table-toolbar-button/ghost/GhostRef.d.ts +4 -0
  452. package/lib/typescript/module/components/table-toolbar-button/ghost/GhostRef.d.ts.map +1 -0
  453. package/lib/typescript/module/components/table-toolbar-button/ghost/index.d.ts +4 -0
  454. package/lib/typescript/module/components/table-toolbar-button/ghost/index.d.ts.map +1 -0
  455. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts +4 -0
  456. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIcon.d.ts.map +1 -0
  457. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts +4 -0
  458. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconProps.d.ts.map +1 -0
  459. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts +4 -0
  460. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/GhostIconRef.d.ts.map +1 -0
  461. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/index.d.ts +4 -0
  462. package/lib/typescript/module/components/table-toolbar-button/ghost-icon/index.d.ts.map +1 -0
  463. package/lib/typescript/module/components/table-toolbar-button/index.d.ts +4 -0
  464. package/lib/typescript/module/components/table-toolbar-button/index.d.ts.map +1 -0
  465. package/lib/typescript/module/components/table-toolbar-button/primary/Primary.d.ts +4 -0
  466. package/lib/typescript/module/components/table-toolbar-button/primary/Primary.d.ts.map +1 -0
  467. package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryProps.d.ts +4 -0
  468. package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryProps.d.ts.map +1 -0
  469. package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryRef.d.ts +4 -0
  470. package/lib/typescript/module/components/table-toolbar-button/primary/PrimaryRef.d.ts.map +1 -0
  471. package/lib/typescript/module/components/table-toolbar-button/primary/index.d.ts +4 -0
  472. package/lib/typescript/module/components/table-toolbar-button/primary/index.d.ts.map +1 -0
  473. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts +10 -0
  474. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcher.d.ts.map +1 -0
  475. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts +16 -0
  476. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherProps.d.ts.map +1 -0
  477. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts +5 -0
  478. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRef.d.ts.map +1 -0
  479. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts +17 -0
  480. package/lib/typescript/module/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.d.ts.map +1 -0
  481. package/lib/typescript/module/components/table-toolbar-switcher/_AnimatedContentProps.d.ts +4 -0
  482. package/lib/typescript/module/components/table-toolbar-switcher/_AnimatedContentProps.d.ts.map +1 -0
  483. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts +3 -0
  484. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.d.ts.map +1 -0
  485. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts +5 -0
  486. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.d.ts.map +1 -0
  487. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/index.d.ts +3 -0
  488. package/lib/typescript/module/components/table-toolbar-switcher/_animated-next-content/index.d.ts.map +1 -0
  489. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts +4 -0
  490. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.d.ts.map +1 -0
  491. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts +5 -0
  492. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.d.ts.map +1 -0
  493. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts +4 -0
  494. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.d.ts.map +1 -0
  495. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/index.d.ts +4 -0
  496. package/lib/typescript/module/components/table-toolbar-switcher/_animated-toolbar/index.d.ts.map +1 -0
  497. package/lib/typescript/module/components/table-toolbar-switcher/_useAnimatedContent.d.ts +20 -0
  498. package/lib/typescript/module/components/table-toolbar-switcher/_useAnimatedContent.d.ts.map +1 -0
  499. package/lib/typescript/module/components/table-toolbar-switcher/index.d.ts +5 -0
  500. package/lib/typescript/module/components/table-toolbar-switcher/index.d.ts.map +1 -0
  501. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  502. package/package.json +1 -1
  503. package/src/_internal/contexts/global-config/GlobalConfigContext.ts +5 -1
  504. package/src/_internal/providers/global-config/GlobalConfigProvider.tsx +14 -4
  505. package/src/_internal/providers/global-config/GlobalConfigProviderProps.ts +1 -1
  506. package/src/carbon-react-native/CarbonReactNative.tsx +8 -8
  507. package/src/carbon-react-native/CarbonReactNativeProps.ts +1 -1
  508. package/src/carbon-style-sheet/color.ts +1 -1
  509. package/src/carbon-style-sheet/g/font.ts +1 -1
  510. package/src/carbon-style-sheet/g/spacing.ts +1 -1
  511. package/src/carbon-style-sheet/g/typography.ts +1 -1
  512. package/src/carbon-style-sheet/g-object/font.ts +1 -1
  513. package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
  514. package/src/carbon-style-sheet/g-object/typography.ts +1 -1
  515. package/src/components/box/Box.tsx +6 -0
  516. package/src/components/button/base/Base.tsx +6 -17
  517. package/src/components/button/ghost/Ghost.tsx +3 -23
  518. package/src/components/index.ts +8 -0
  519. package/src/components/scroll-view/ScrollView.tsx +62 -0
  520. package/src/components/scroll-view/ScrollViewProps.ts +6 -0
  521. package/src/components/scroll-view/index.ts +2 -0
  522. package/src/components/table/Table.tsx +18 -7
  523. package/src/components/table/TableProps.ts +24 -0
  524. package/src/components/table/TableRef.ts +3 -3
  525. package/src/components/table-batch-action-bar/TableBatchActionBar.tsx +156 -0
  526. package/src/components/table-batch-action-bar/TableBatchActionBarProps.ts +42 -0
  527. package/src/components/table-batch-action-bar/TableBatchActionBarRef.ts +6 -0
  528. package/src/components/table-batch-action-bar/TableBatchActionBarSize.ts +3 -0
  529. package/src/components/table-batch-action-bar/_TableBatchActionBarContext.ts +15 -0
  530. package/src/components/table-batch-action-bar/index.ts +4 -0
  531. package/src/components/table-batch-action-bar-button/TableBatchActionBarButton.tsx +74 -0
  532. package/src/components/table-batch-action-bar-button/TableBatchActionBarButtonProps.ts +6 -0
  533. package/src/components/table-batch-action-bar-button/TableBatchActionBarButtonRef.ts +6 -0
  534. package/src/components/table-batch-action-bar-button/index.ts +3 -0
  535. package/src/components/table-cell-header/_sort-icon/SortIcon.tsx +4 -3
  536. package/src/components/table-header/TableHeader.tsx +110 -0
  537. package/src/components/table-header/TableHeaderProps.ts +22 -0
  538. package/src/components/table-header/TableHeaderRef.ts +6 -0
  539. package/src/components/table-header/index.ts +3 -0
  540. package/src/components/table-row/TableRowProps.ts +3 -0
  541. package/src/components/table-toolbar/TableToolbar.tsx +165 -0
  542. package/src/components/table-toolbar/TableToolbarProps.ts +27 -0
  543. package/src/components/table-toolbar/TableToolbarRef.ts +6 -0
  544. package/src/components/table-toolbar/TableToolbarSize.ts +3 -0
  545. package/src/components/table-toolbar/_TableToolbarContext.ts +15 -0
  546. package/src/components/table-toolbar/index.ts +4 -0
  547. package/src/components/table-toolbar-button/_useSize.tsx +28 -0
  548. package/src/components/table-toolbar-button/ghost/Ghost.tsx +43 -0
  549. package/src/components/table-toolbar-button/ghost/GhostProps.ts +6 -0
  550. package/src/components/table-toolbar-button/ghost/GhostRef.ts +6 -0
  551. package/src/components/table-toolbar-button/ghost/index.ts +3 -0
  552. package/src/components/table-toolbar-button/ghost-icon/GhostIcon.tsx +43 -0
  553. package/src/components/table-toolbar-button/ghost-icon/GhostIconProps.ts +6 -0
  554. package/src/components/table-toolbar-button/ghost-icon/GhostIconRef.ts +6 -0
  555. package/src/components/table-toolbar-button/ghost-icon/index.ts +3 -0
  556. package/src/components/table-toolbar-button/index.ts +3 -0
  557. package/src/components/table-toolbar-button/primary/Primary.tsx +43 -0
  558. package/src/components/table-toolbar-button/primary/PrimaryProps.ts +6 -0
  559. package/src/components/table-toolbar-button/primary/PrimaryRef.ts +6 -0
  560. package/src/components/table-toolbar-button/primary/index.ts +3 -0
  561. package/src/components/table-toolbar-switcher/TableToolbarSwitcher.tsx +110 -0
  562. package/src/components/table-toolbar-switcher/TableToolbarSwitcherProps.ts +18 -0
  563. package/src/components/table-toolbar-switcher/TableToolbarSwitcherRef.ts +10 -0
  564. package/src/components/table-toolbar-switcher/TableToolbarSwitcherRefBase.ts +16 -0
  565. package/src/components/table-toolbar-switcher/_AnimatedContentProps.ts +3 -0
  566. package/src/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContent.tsx +33 -0
  567. package/src/components/table-toolbar-switcher/_animated-next-content/AnimatedNextContentProps.ts +10 -0
  568. package/src/components/table-toolbar-switcher/_animated-next-content/index.ts +2 -0
  569. package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbar.tsx +59 -0
  570. package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarProps.ts +10 -0
  571. package/src/components/table-toolbar-switcher/_animated-toolbar/AnimatedToolbarRef.ts +6 -0
  572. package/src/components/table-toolbar-switcher/_animated-toolbar/index.ts +3 -0
  573. package/src/components/table-toolbar-switcher/_useAnimatedContent.tsx +179 -0
  574. package/src/components/table-toolbar-switcher/index.ts +4 -0
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ import { createContext } from "react";
4
+ export const TableBatchActionBarContext = /*#__PURE__*/createContext({
5
+ size: "large"
6
+ });
7
+ //# sourceMappingURL=_TableBatchActionBarContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","TableBatchActionBarContext","size"],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar/_TableBatchActionBarContext.ts"],"mappings":";;AAAA,SACCA,aAAa,QACP,OAAO;AAUd,OAAO,MAAMC,0BAA0B,gBAAGD,aAAa,CAA6B;EACnFE,IAAI,EAAE;AACP,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./TableBatchActionBar.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar/index.ts"],"mappings":";;AAAA,cAAc,0BAAuB","ignoreList":[]}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ import { forwardRef, useContext } from "react";
4
+ import * as CarbonStyleSheet from "../../carbon-style-sheet/index.js";
5
+ import { Primary as ButtonPrimary } from "../button/primary/index.js";
6
+ import { TableBatchActionBarContext } from "../table-batch-action-bar/_TableBatchActionBarContext.js";
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ export const TableBatchActionBarButton = /*#__PURE__*/forwardRef(function TableBatchActionBarButton({
9
+ Icon,
10
+ iconProps,
11
+ style,
12
+ ...props
13
+ }, ref) {
14
+ const tableBatchActionBarContext = useContext(TableBatchActionBarContext);
15
+ return /*#__PURE__*/_jsx(ButtonPrimary, {
16
+ ref: ref,
17
+ ...props,
18
+ size: mapBatchActionBarSizeToButtonSize[tableBatchActionBarContext.size],
19
+ Icon: Icon,
20
+ iconProps: {
21
+ ...iconProps,
22
+ style: [CarbonStyleSheet.g.ms_03,
23
+ // override the gap between text and icon
24
+ iconProps?.style]
25
+ },
26
+ style: [Icon ? undefined : CarbonStyleSheet.g.pe_05, style]
27
+ });
28
+ });
29
+ const mapBatchActionBarSizeToButtonSize = {
30
+ small: "small",
31
+ large: "large_productive"
32
+ };
33
+ //# sourceMappingURL=TableBatchActionBarButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","useContext","CarbonStyleSheet","Primary","ButtonPrimary","TableBatchActionBarContext","jsx","_jsx","TableBatchActionBarButton","Icon","iconProps","style","props","ref","tableBatchActionBarContext","size","mapBatchActionBarSizeToButtonSize","g","ms_03","undefined","pe_05","small","large"],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar-button/TableBatchActionBarButton.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,UAAU,QACJ,OAAO;AAEd,OAAO,KAAKC,gBAAgB,MAAM,mCAA0B;AAE5D,SACCC,OAAO,IAAIC,aAAa,QAElB,4BAAmB;AAM1B,SACCC,0BAA0B,QACpB,0DAAuD;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAU9D,OAAO,MAAMC,yBAAyB,gBAAGR,UAAU,CAClD,SAASQ,yBAAyBA,CACjC;EACCC,IAAI;EACJC,SAAS;EACTC,KAAK;EACL,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,0BAA0B,GACzBb,UAAU,CAACI,0BAA0B,CAAC;EAExC,oBACCE,IAAA,CAACH,aAAa;IACbS,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVG,IAAI,EAAGC,iCAAiC,CAACF,0BAA0B,CAACC,IAAI,CAAG;IAC3EN,IAAI,EAAGA,IAAM;IACbC,SAAS,EAAE;MACV,GAAGA,SAAS;MACZC,KAAK,EAAE,CACNT,gBAAgB,CAACe,CAAC,CAACC,KAAK;MAAE;MAC1BR,SAAS,EAAEC,KAAK;IAElB,CAAE;IACFA,KAAK,EAAG,CACPF,IAAI,GACDU,SAAS,GACTjB,gBAAgB,CAACe,CAAC,CAACG,KAAK,EAC3BT,KAAK;EACH,CACH,CAAC;AAGJ,CACD,CAAC;AAED,MACCK,iCAAiC,GAChC;EACCK,KAAK,EAAE,OAAO;EACdC,KAAK,EAAE;AACR,CAA6F","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableBatchActionBarButtonProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar-button/TableBatchActionBarButtonProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableBatchActionBarButtonRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar-button/TableBatchActionBarButtonRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./TableBatchActionBarButton.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-batch-action-bar-button/index.ts"],"mappings":";;AAAA,cAAc,gCAA6B","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { forwardRef, useEffect, useImperativeHandle, useRef } from "react";
4
- import { Animated, Easing } from "react-native";
4
+ import { Animated, Easing, Platform } from "react-native";
5
5
  import { Motion } from "@audira/carbon-react-native-elements";
6
6
  import IconArrowUp from "@carbon/icons/svg/32/arrow--up.svg";
7
7
  import IconArrowsVertical from "@carbon/icons/svg/32/arrows--vertical.svg";
@@ -19,14 +19,14 @@ export const SortIcon = /*#__PURE__*/forwardRef(function SortIcon({
19
19
  Animated.timing(rotationValue.current, {
20
20
  toValue: 0,
21
21
  duration: 0,
22
- useNativeDriver: false
22
+ useNativeDriver: Platform.OS != "web"
23
23
  }).start();
24
24
  } else if (type == "asc" || type == "desc") {
25
25
  Animated.timing(rotationValue.current, {
26
26
  toValue: type == "asc" ? 0 : 1,
27
27
  duration: Motion.Duration.moderate_02,
28
28
  easing: Easing.bezier(Motion.Easing.standard.productive.x1, Motion.Easing.standard.productive.y1, Motion.Easing.standard.productive.x2, Motion.Easing.standard.productive.y2),
29
- useNativeDriver: false
29
+ useNativeDriver: Platform.OS != "web"
30
30
  }).start();
31
31
  }
32
32
  }, [type]);
@@ -37,7 +37,7 @@ export const SortIcon = /*#__PURE__*/forwardRef(function SortIcon({
37
37
  toValue: value,
38
38
  duration: Motion.Duration.fast_01,
39
39
  easing: Easing.bezier(Motion.Easing.entrance.productive.x1, Motion.Easing.entrance.productive.y1, Motion.Easing.entrance.productive.x2, Motion.Easing.entrance.productive.y2),
40
- useNativeDriver: true
40
+ useNativeDriver: Platform.OS != "web"
41
41
  }).start();
42
42
  }
43
43
  };
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","useEffect","useImperativeHandle","useRef","Animated","Easing","Motion","IconArrowUp","IconArrowsVertical","TableCellIcon","jsx","_jsx","SortIcon","type","style","props","ref","rotationValue","Value","opacityValue","timing","current","toValue","duration","useNativeDriver","start","Duration","moderate_02","easing","bezier","standard","productive","x1","y1","x2","y2","setOpacity","value","fast_01","entrance","AnimatedTableCellIcon","Icon","opacity","transform","rotateZ","interpolate","inputRange","outputRange","createAnimatedComponent"],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/SortIcon.tsx"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","useEffect","useImperativeHandle","useRef","Animated","Easing","Platform","Motion","IconArrowUp","IconArrowsVertical","TableCellIcon","jsx","_jsx","SortIcon","type","style","props","ref","rotationValue","Value","opacityValue","timing","current","toValue","duration","useNativeDriver","OS","start","Duration","moderate_02","easing","bezier","standard","productive","x1","y1","x2","y2","setOpacity","value","fast_01","entrance","AnimatedTableCellIcon","Icon","opacity","transform","rotateZ","interpolate","inputRange","outputRange","createAnimatedComponent"],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/SortIcon.tsx"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ import { forwardRef, useContext } from "react";
4
+ import * as CarbonStyleSheet from "../../carbon-style-sheet/index.js";
5
+ import { Box } from "../box/Box.js";
6
+ import { LayerContext } from "../layer/LayerContext.js";
7
+ import { Text } from "../text/Text.js";
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export const TableHeader = /*#__PURE__*/forwardRef(function TableHeader({
10
+ title,
11
+ description,
12
+ titleProps,
13
+ descriptionProps,
14
+ style,
15
+ ...props
16
+ }, ref) {
17
+ const layerContext = useContext(LayerContext);
18
+ return /*#__PURE__*/_jsxs(Box, {
19
+ ref: ref,
20
+ ...props,
21
+ style: [CarbonStyleSheet.g.pt_05, CarbonStyleSheet.g.pb_06, CarbonStyleSheet.g.px_05, carbonStyleSheet[`bg_${layerContext}`], style],
22
+ children: [/*#__PURE__*/_jsx(Text, {
23
+ ...titleProps,
24
+ type: "heading_03",
25
+ children: title
26
+ }), !!description && /*#__PURE__*/_jsx(Text, {
27
+ ...descriptionProps,
28
+ type: "body_compact_01",
29
+ style: [carbonStyleSheet.description, descriptionProps?.style],
30
+ children: description
31
+ })]
32
+ });
33
+ });
34
+ const carbonStyleSheet = CarbonStyleSheet.create({
35
+ bg_1: {
36
+ backgroundColor: CarbonStyleSheet.color.layer_01
37
+ },
38
+ bg_2: {
39
+ backgroundColor: CarbonStyleSheet.color.layer_02
40
+ },
41
+ bg_3: {
42
+ backgroundColor: CarbonStyleSheet.color.layer_03
43
+ },
44
+ description: {
45
+ color: CarbonStyleSheet.color.text_secondary
46
+ }
47
+ });
48
+ //# sourceMappingURL=TableHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","useContext","CarbonStyleSheet","Box","LayerContext","Text","jsx","_jsx","jsxs","_jsxs","TableHeader","title","description","titleProps","descriptionProps","style","props","ref","layerContext","g","pt_05","pb_06","px_05","carbonStyleSheet","children","type","create","bg_1","backgroundColor","color","layer_01","bg_2","layer_02","bg_3","layer_03","text_secondary"],"sourceRoot":"../../../../src","sources":["components/table-header/TableHeader.tsx"],"mappings":";;AAAA,SACCA,UAAU,EACVC,UAAU,QACJ,OAAO;AAWd,OAAO,KAAKC,gBAAgB,MAAM,mCAA0B;AAE5D,SACCC,GAAG,QACG,eAAY;AAEnB,SACCC,YAAY,QACN,0BAAuB;AAE9B,SACCC,IAAI,QACE,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAUrB,OAAO,MAAMC,WAAW,gBAAGV,UAAU,CACpC,SAASU,WAAWA,CACnB;EACCC,KAAK;EACLC,WAAW;EACXC,UAAU;EACVC,gBAAgB;EAChBC,KAAK;EACL,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,YAAY,GACXjB,UAAU,CAACG,YAAY,CAAC;EAE1B,oBACCK,KAAA,CAACN,GAAG;IACHc,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVD,KAAK,EAAG,CACPb,gBAAgB,CAACiB,CAAC,CAACC,KAAK,EACxBlB,gBAAgB,CAACiB,CAAC,CAACE,KAAK,EACxBnB,gBAAgB,CAACiB,CAAC,CAACG,KAAK,EACxBC,gBAAgB,CAAC,MAAML,YAAY,EAAE,CAAC,EACtCH,KAAK,CACH;IAAAS,QAAA,gBAEHjB,IAAA,CAACF,IAAI;MAAA,GACCQ,UAAU;MACfY,IAAI,EAAC,YAAY;MAAAD,QAAA,EAEfb;IAAK,CACF,CAAC,EAEL,CAAC,CAACC,WAAW,iBACdL,IAAA,CAACF,IAAI;MAAA,GACCS,gBAAgB;MACrBW,IAAI,EAAC,iBAAiB;MACtBV,KAAK,EAAG,CACPQ,gBAAgB,CAACX,WAAW,EAC5BE,gBAAgB,EAAEC,KAAK,CACrB;MAAAS,QAAA,EAEDZ;IAAW,CACR,CACN;EAAA,CACG,CAAC;AAGR,CACD,CAAC;AAED,MACCW,gBAAgB,GACfrB,gBAAgB,CAACwB,MAAM,CAAC;EACvBC,IAAI,EAAE;IACLC,eAAe,EAAE1B,gBAAgB,CAAC2B,KAAK,CAACC;EACzC,CAAC;EACDC,IAAI,EAAE;IACLH,eAAe,EAAE1B,gBAAgB,CAAC2B,KAAK,CAACG;EACzC,CAAC;EACDC,IAAI,EAAE;IACLL,eAAe,EAAE1B,gBAAgB,CAAC2B,KAAK,CAACK;EACzC,CAAC;EACDtB,WAAW,EAAE;IACZiB,KAAK,EAAE3B,gBAAgB,CAAC2B,KAAK,CAACM;EAC/B;AACD,CAIC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableHeaderProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-header/TableHeaderProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableHeaderRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-header/TableHeaderRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./TableHeader.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-header/index.ts"],"mappings":";;AAAA,cAAc,kBAAe","ignoreList":[]}
@@ -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":"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","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableToolbarProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=TableToolbarRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=TableToolbarSize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-toolbar/TableToolbarSize.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ import { createContext } from "react";
4
+ export const TableToolbarContext = /*#__PURE__*/createContext({
5
+ size: "large"
6
+ });
7
+ //# sourceMappingURL=_TableToolbarContext.js.map
@@ -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,4 @@
1
+ "use strict";
2
+
3
+ export * from "./TableToolbar.js";
4
+ //# sourceMappingURL=index.js.map
@@ -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,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=GhostProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/GhostProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=GhostRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost/GhostRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./Ghost.js";
4
+ //# sourceMappingURL=index.js.map
@@ -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,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=GhostIconProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/GhostIconProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=GhostIconRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/ghost-icon/GhostIconRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./GhostIcon.js";
4
+ //# sourceMappingURL=index.js.map
@@ -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,6 @@
1
+ "use strict";
2
+
3
+ export * from "./ghost/index.js";
4
+ export * from "./ghost-icon/index.js";
5
+ export * from "./primary/index.js";
6
+ //# sourceMappingURL=index.js.map
@@ -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,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=PrimaryProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/PrimaryProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=PrimaryRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-toolbar-button/primary/PrimaryRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export * from "./Primary.js";
4
+ //# sourceMappingURL=index.js.map
@@ -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