@wix/patterns 1.254.0 → 1.256.0

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 (1441) hide show
  1. package/dist/cjs/components/CardContainer/CardContainer.st.css.js +2 -2
  2. package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
  3. package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
  4. package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
  5. package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
  6. package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
  7. package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
  8. package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
  9. package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js +16 -11
  10. package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
  11. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
  12. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
  13. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
  14. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
  15. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  16. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
  17. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  18. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
  19. package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
  20. package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
  21. package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
  22. package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
  23. package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
  24. package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
  25. package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
  26. package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
  27. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
  28. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
  29. package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
  30. package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
  31. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  32. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
  33. package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
  34. package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
  35. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  36. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  37. package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
  38. package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
  39. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
  40. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
  41. package/dist/cjs/components/NestedTable/NestedTableWSRTable.js +12 -6
  42. package/dist/cjs/components/NestedTable/NestedTableWSRTable.js.map +1 -1
  43. package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
  44. package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
  45. package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
  46. package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
  47. package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
  48. package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
  49. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
  50. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  51. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  52. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
  53. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  54. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  55. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
  56. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
  57. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
  58. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
  59. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
  60. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
  61. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  62. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
  63. package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
  64. package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
  65. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  66. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
  67. package/dist/cjs/components/common.st.css.js +4 -4
  68. package/dist/cjs/components/common.st.css.js.map +1 -1
  69. package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
  70. package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
  71. package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
  72. package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
  73. package/dist/cjs/styles.global.css +1 -1
  74. package/dist/cjs/version.js +1 -1
  75. package/dist/cjs/version.js.map +1 -1
  76. package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
  77. package/dist/esm/components/CardContainer/CardContainer.st.css.js.map +1 -1
  78. package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
  79. package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
  80. package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
  81. package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
  82. package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js +4 -2
  83. package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
  84. package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
  85. package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
  86. package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  87. package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  88. package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
  89. package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
  90. package/dist/esm/components/DragHandle/DragHandle.st.css.js.map +1 -1
  91. package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
  92. package/dist/esm/components/Fade/Fade.st.css.js +2 -2
  93. package/dist/esm/components/Heading/Heading.st.css.js +2 -2
  94. package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
  95. package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
  96. package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  97. package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
  98. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  99. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  100. package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
  101. package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
  102. package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
  103. package/dist/esm/components/NestedTable/NestedTableWSRTable.js +4 -1
  104. package/dist/esm/components/NestedTable/NestedTableWSRTable.js.map +1 -1
  105. package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
  106. package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
  107. package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
  108. package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
  109. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
  110. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  111. package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  112. package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
  113. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  114. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  115. package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
  116. package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
  117. package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
  118. package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  119. package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
  120. package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
  121. package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  122. package/dist/esm/components/common.st.css.js +2 -2
  123. package/dist/esm/components/common.st.css.js.map +1 -1
  124. package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
  125. package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
  126. package/dist/esm/state/FormPage/FormPageHeader.st.css.js.map +1 -1
  127. package/dist/esm/styles.global.css +1 -1
  128. package/dist/esm/version.js +1 -1
  129. package/dist/types/components/CardContainer/CardContainer.st.css.d.ts.map +1 -1
  130. package/dist/types/components/CollectionPageNew/CollectionPage.st.css.d.ts.map +1 -1
  131. package/dist/types/components/CollectionTable/CollectionTableWSRTable.d.ts.map +1 -1
  132. package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.st.css.d.ts.map +1 -1
  133. package/dist/types/components/DragHandle/DragHandle.st.css.d.ts.map +1 -1
  134. package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.d.ts.map +1 -1
  135. package/dist/types/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.d.ts.map +1 -1
  136. package/dist/types/components/NestedTable/NestedTableWSRTable.d.ts.map +1 -1
  137. package/dist/types/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.d.ts.map +1 -1
  138. package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
  139. package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
  140. package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
  141. package/dist/types/components/ToolbarItem/ToolbarItem.st.css.d.ts.map +1 -1
  142. package/dist/types/components/common.st.css.d.ts.map +1 -1
  143. package/dist/types/state/FormPage/FormPageHeader.st.css.d.ts.map +1 -1
  144. package/dist/types/version.d.ts +1 -1
  145. package/package.json +147 -3
  146. package/src/aiAssistant/aiAssistant.ts +28 -0
  147. package/src/aiAssistant/createAiAssistant.ts +75 -0
  148. package/src/aiAssistant/index.ts +2 -0
  149. package/src/aiAssistant/useAiAssistantContext.ts +14 -0
  150. package/src/alpha/index.ts +3 -0
  151. package/src/bm/WixPatternsBMProvider.tsx +79 -0
  152. package/src/bm/buildBMCairoEssentials.ts +136 -0
  153. package/src/bm/buildCreateEssentials.ts +64 -0
  154. package/src/bm/errorMonitorCompat.ts +39 -0
  155. package/src/bm/testProviderPropsOverrides.ts +23 -0
  156. package/src/bm/useExperimentsCompat.ts +16 -0
  157. package/src/bm/usePickerModal.ts +90 -0
  158. package/src/bm/usePlatformApiCompat.ts +13 -0
  159. package/src/bm/warmUpPickerStandalone.ts +25 -0
  160. package/src/bm/withWixPatternsProvider.tsx +14 -0
  161. package/src/components/ActionCell/ActionCell.ts +75 -0
  162. package/src/components/ActionCell/index.ts +4 -0
  163. package/src/components/ActionCell/useActionCellColumn.ts +43 -0
  164. package/src/components/ActionCell/useActionCellColumnBase.ts +24 -0
  165. package/src/components/ActionCell/useRenderActionCellColumn.tsx +34 -0
  166. package/src/components/ActionControl/ActionButton.tsx +37 -0
  167. package/src/components/ActionControl/ActionControl.tsx +19 -0
  168. package/src/components/ActionControl/ActionControl.uni.driver.ts +30 -0
  169. package/src/components/ActionControl/ActionPopover.tsx +75 -0
  170. package/src/components/ActionControl/ActionSubItemProps.tsx +67 -0
  171. package/src/components/ActionControl/index.ts +4 -0
  172. package/src/components/ActionModal/CustomActionModal.tsx +64 -0
  173. package/src/components/ActionModal/MessageActionModal.tsx +73 -0
  174. package/src/components/ActionModal/index.ts +2 -0
  175. package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.tsx +60 -0
  176. package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.uni.driver.ts +38 -0
  177. package/src/components/AppliedFiltersTagList/AppliedFiltersTagListState.tsx +204 -0
  178. package/src/components/AppliedFiltersTagList/FilterTagContent.tsx +26 -0
  179. package/src/components/AppliedFiltersTagList/index.ts +1 -0
  180. package/src/components/AutoCompleteFilter/AutoCompleteFilter.tsx +29 -0
  181. package/src/components/AutoCompleteFilter/AutoCompleteFilterState.ts +97 -0
  182. package/src/components/AutoCompleteFilter/index.tsx +1 -0
  183. package/src/components/BorderOnlyBox.tsx +14 -0
  184. package/src/components/BulkAction/BulkActionModalRenderProp.ts +41 -0
  185. package/src/components/BulkAction/BulkActionToolbarRenderProp.ts +14 -0
  186. package/src/components/BulkAction/MultiCollectionBulkActionModal.tsx +35 -0
  187. package/src/components/BulkAction/MultiCollectionBulkActionRenderProps.ts +20 -0
  188. package/src/components/BulkAction/MultiCollectionBulkActionToolbar.tsx +38 -0
  189. package/src/components/BulkAction/SingleCollectionBulkActionModal.tsx +43 -0
  190. package/src/components/BulkAction/SingleCollectionBulkActionToolbar.tsx +54 -0
  191. package/src/components/BulkAction/index.ts +7 -0
  192. package/src/components/BulkActionButton/BulkActionButton.tsx +26 -0
  193. package/src/components/BulkActionButton/index.ts +1 -0
  194. package/src/components/BulkActionToolbar/BulkActionToolbar.driver.tsx +61 -0
  195. package/src/components/BulkActionToolbar/BulkActionToolbar.tsx +66 -0
  196. package/src/components/BulkActionToolbar/BulkActionToolbar.uni.driver.ts +36 -0
  197. package/src/components/BulkActionToolbar/index.ts +1 -0
  198. package/src/components/CardContainer/CardContainer.st.css +7 -0
  199. package/src/components/CardContainer/CardContainer.st.css.ts +25 -0
  200. package/src/components/CardContainer/CardContainer.tsx +83 -0
  201. package/src/components/CardContainer/CardContainer.uni.driver.ts +16 -0
  202. package/src/components/CardContainer/index.ts +1 -0
  203. package/src/components/Collapse/Collapse.st.css +8 -0
  204. package/src/components/Collapse/Collapse.st.css.ts +25 -0
  205. package/src/components/Collapse/Collapse.tsx +152 -0
  206. package/src/components/Collapse/index.ts +1 -0
  207. package/src/components/CollectionActionsBar.tsx +16 -0
  208. package/src/components/CollectionAutoComplete/CollectionAutoComplete.tsx +155 -0
  209. package/src/components/CollectionAutoComplete/index.tsx +1 -0
  210. package/src/components/CollectionCard/CollectionCard.tsx +127 -0
  211. package/src/components/CollectionCard/index.ts +1 -0
  212. package/src/components/CollectionContext.ts +6 -0
  213. package/src/components/CollectionEmptyStateBase/CollectionEmptyStateBase.tsx +22 -0
  214. package/src/components/CollectionEmptyStateBase/index.ts +1 -0
  215. package/src/components/CollectionErrorState/CollectionErrorState.tsx +55 -0
  216. package/src/components/CollectionErrorState/index.ts +1 -0
  217. package/src/components/CollectionFilter/CollectionFilter.tsx +32 -0
  218. package/src/components/CollectionFilter/CollectionFilterState.ts +97 -0
  219. package/src/components/CollectionFilter/index.ts +1 -0
  220. package/src/components/CollectionItemActions/CollectionItemActions.tsx +95 -0
  221. package/src/components/CollectionItemActions/CollectionItemActions.uni.driver.ts +101 -0
  222. package/src/components/CollectionItemActions/CollectionItemActionsHelper.ts +131 -0
  223. package/src/components/CollectionItemActions/getDefaultActionCellProps.ts +6 -0
  224. package/src/components/CollectionItemActions/index.ts +1 -0
  225. package/src/components/CollectionListHeader/CollectionListHeader.tsx +46 -0
  226. package/src/components/CollectionListHeader/index.ts +1 -0
  227. package/src/components/CollectionListItem/CollectionListChildSlot.tsx +16 -0
  228. package/src/components/CollectionListItem/CollectionListItem.tsx +49 -0
  229. package/src/components/CollectionListItem/CollectionListItem.uni.driver.ts +14 -0
  230. package/src/components/CollectionListItem/index.ts +2 -0
  231. package/src/components/CollectionListRow/CollectionListRow.tsx +99 -0
  232. package/src/components/CollectionListRow/index.ts +1 -0
  233. package/src/components/CollectionModal.tsx +18 -0
  234. package/src/components/CollectionMultiSelectCheckbox/CollectionMultiSelectCheckbox.tsx +204 -0
  235. package/src/components/CollectionMultiSelectCheckbox/index.ts +1 -0
  236. package/src/components/CollectionPage/CollectionPage.tsx +60 -0
  237. package/src/components/CollectionPage/index.ts +1 -0
  238. package/src/components/CollectionPageContent/CollectionPageContent.tsx +17 -0
  239. package/src/components/CollectionPageContent/index.ts +1 -0
  240. package/src/components/CollectionPageHeader/CollectionPageHeader.tsx +33 -0
  241. package/src/components/CollectionPageHeader/index.ts +1 -0
  242. package/src/components/CollectionPageHeaderNew/CollectionPageHeader.tsx +69 -0
  243. package/src/components/CollectionPageHeaderNew/index.ts +1 -0
  244. package/src/components/CollectionPageNew/CollectionPage.st.css +9 -0
  245. package/src/components/CollectionPageNew/CollectionPage.st.css.ts +25 -0
  246. package/src/components/CollectionPageNew/CollectionPage.tsx +90 -0
  247. package/src/components/CollectionPageNew/CollectionPage.uni.driver.ts +42 -0
  248. package/src/components/CollectionPageNew/index.ts +1 -0
  249. package/src/components/CollectionPageNew/useCollectionPageLoadReporting.ts +74 -0
  250. package/src/components/CollectionPagination.tsx +42 -0
  251. package/src/components/CollectionSearch.tsx +54 -0
  252. package/src/components/CollectionSectionHeader/CollectionSectionHeader.tsx +57 -0
  253. package/src/components/CollectionSectionHeader/CollectionSectionHeader.types.ts +29 -0
  254. package/src/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.ts +22 -0
  255. package/src/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.tsx +45 -0
  256. package/src/components/CollectionSectionHeader/index.ts +6 -0
  257. package/src/components/CollectionTable/CollectionTable.st.css +11 -0
  258. package/src/components/CollectionTable/CollectionTable.st.css.ts +25 -0
  259. package/src/components/CollectionTable/CollectionTable.tsx +394 -0
  260. package/src/components/CollectionTable/CollectionTable.uni.driver.ts +399 -0
  261. package/src/components/CollectionTable/CollectionTableBaseCommonProps.ts +25 -0
  262. package/src/components/CollectionTable/CollectionTableContent.tsx +63 -0
  263. package/src/components/CollectionTable/CollectionTableContentCard.tsx +33 -0
  264. package/src/components/CollectionTable/CollectionTableWSRTable.tsx +298 -0
  265. package/src/components/CollectionTable/index.ts +1 -0
  266. package/src/components/CollectionTable/useTableCollectionSyncProps.ts +104 -0
  267. package/src/components/CollectionTableActionsColumn.tsx +62 -0
  268. package/src/components/CollectionToolbar/CollectionToolbar.st.css +40 -0
  269. package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +25 -0
  270. package/src/components/CollectionToolbar/CollectionToolbar.tsx +315 -0
  271. package/src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts +628 -0
  272. package/src/components/CollectionToolbar/CollectionToolbarActionsGroupProps.ts +14 -0
  273. package/src/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.tsx +90 -0
  274. package/src/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.tsx +73 -0
  275. package/src/components/CollectionToolbar/CollectionToolbarContext.ts +9 -0
  276. package/src/components/CollectionToolbar/CollectionToolbarSkeletonItem.tsx +21 -0
  277. package/src/components/CollectionToolbar/PrimaryActionButton.tsx +47 -0
  278. package/src/components/CollectionToolbar/ReorderModeDiscardChangesModal.tsx +26 -0
  279. package/src/components/CollectionToolbar/ReorderModeToolbar.tsx +105 -0
  280. package/src/components/CollectionToolbar/ReorderModeToolbar.uni.driver.ts +39 -0
  281. package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css +10 -0
  282. package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +25 -0
  283. package/src/components/CollectionToolbar/SearchOrCustomFilter.tsx +52 -0
  284. package/src/components/CollectionToolbar/ToolbarGroupScrollWidthBox.tsx +34 -0
  285. package/src/components/CollectionToolbar/ToolbarSecondaryActions.tsx +35 -0
  286. package/src/components/CollectionToolbar/ToolbarSecondaryActions.uni.driver.ts +21 -0
  287. package/src/components/CollectionToolbar/index.ts +4 -0
  288. package/src/components/CollectionToolbar/useCollectionToolbarSyncedProps.ts +35 -0
  289. package/src/components/CollectionToolbarFilters/CollectionToolbarFilters.tsx +248 -0
  290. package/src/components/CollectionToolbarFilters/CollectionToolbarFiltersState.ts +62 -0
  291. package/src/components/CollectionToolbarFilters/FiltersPanelSidePanelEntry.tsx +11 -0
  292. package/src/components/CollectionToolbarFilters/filterElement.ts +7 -0
  293. package/src/components/CollectionToolbarFilters/index.ts +2 -0
  294. package/src/components/CollectionToolbarFilters/useFiltersLayout.ts +60 -0
  295. package/src/components/CollectionToolbarFilters/useFiltersSyncProps.ts +95 -0
  296. package/src/components/CollectionToolbars/CollectionToolbars.tsx +197 -0
  297. package/src/components/CollectionToolbars/CollectionToolbarsProvider.tsx +32 -0
  298. package/src/components/CollectionToolbars/CollectionToolbarsVisualization.tsx +24 -0
  299. package/src/components/CollectionToolbars/ToolbarAndTitlebarContainer.tsx +35 -0
  300. package/src/components/CollectionToolbars/ToolbarState.ts +74 -0
  301. package/src/components/CollectionToolbars/index.ts +1 -0
  302. package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css +11 -0
  303. package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +25 -0
  304. package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.tsx +80 -0
  305. package/src/components/CollectionViewsDropdown/AutoCompleteReadonlyState.ts +66 -0
  306. package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.tsx +26 -0
  307. package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.ts +211 -0
  308. package/src/components/CollectionViewsDropdown/CollectionViewsDropdownBase.tsx +102 -0
  309. package/src/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.tsx +21 -0
  310. package/src/components/CollectionViewsDropdown/ManageViewPopover.tsx +132 -0
  311. package/src/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.ts +85 -0
  312. package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css +3 -0
  313. package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +25 -0
  314. package/src/components/CollectionViewsDropdown/ViewsDropdown.tsx +156 -0
  315. package/src/components/CollectionViewsDropdown/ViewsDropdownListItem.uni.driver.ts +20 -0
  316. package/src/components/CollectionViewsDropdown/ViewsDropdownModals.tsx +32 -0
  317. package/src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx +59 -0
  318. package/src/components/CollectionViewsDropdown/index.ts +3 -0
  319. package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.tsx +143 -0
  320. package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.uni.driver.ts +70 -0
  321. package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.tsx +166 -0
  322. package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.uni.driver.ts +78 -0
  323. package/src/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.tsx +79 -0
  324. package/src/components/CounterBadgeButton/CounterBadgeButton.tsx +31 -0
  325. package/src/components/CounterBadgeButton/index.ts +1 -0
  326. package/src/components/CtaProps.ts +24 -0
  327. package/src/components/CustomColumns/CustomColumns.tsx +29 -0
  328. package/src/components/CustomColumns/CustomColumnsDragAndDrop.ts +7 -0
  329. package/src/components/CustomColumns/CustomColumnsFull.tsx +14 -0
  330. package/src/components/CustomColumns/index.ts +2 -0
  331. package/src/components/CustomColumnsPanel/ColumnListTableListItem.tsx +170 -0
  332. package/src/components/CustomColumnsPanel/ColumnsList.tsx +115 -0
  333. package/src/components/CustomColumnsPanel/CustomColumnsCTAButton.tsx +97 -0
  334. package/src/components/CustomColumnsPanel/CustomColumnsNoResults.tsx +45 -0
  335. package/src/components/CustomColumnsPanel/CustomColumnsPanel.tsx +93 -0
  336. package/src/components/CustomColumnsPanel/CustomColumnsPanel.uni.driver.ts +155 -0
  337. package/src/components/CustomColumnsPanel/CustomColumnsPanelEntry.tsx +36 -0
  338. package/src/components/CustomColumnsPanel/CustomColumnsSearch.tsx +33 -0
  339. package/src/components/CustomColumnsPanel/index.ts +1 -0
  340. package/src/components/CustomFieldFilters/CheckboxCustomFieldFilter.tsx +30 -0
  341. package/src/components/CustomFieldFilters/DateCustomFieldFilter.tsx +16 -0
  342. package/src/components/CustomFieldFilters/DateCustomFieldFilterBase.tsx +21 -0
  343. package/src/components/CustomFieldFilters/DateTimeCustomFieldFilter.tsx +16 -0
  344. package/src/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx +45 -0
  345. package/src/components/CustomFieldFilters/index.ts +1 -0
  346. package/src/components/CustomFieldModal/CustomFieldForm.tsx +367 -0
  347. package/src/components/CustomFieldModal/CustomFieldFormPiiFields.tsx +79 -0
  348. package/src/components/CustomFieldModal/CustomFieldModal.tsx +145 -0
  349. package/src/components/CustomFieldModal/CustomFieldModal.uni.driver.ts +247 -0
  350. package/src/components/CustomFieldModal/CustomFieldModalPrimaryButton.tsx +56 -0
  351. package/src/components/CustomFieldModal/CustomFieldTypeDropdown.tsx +157 -0
  352. package/src/components/CustomFieldModal/index.ts +2 -0
  353. package/src/components/CustomFields/CustomFieldsDisabledHint.tsx +31 -0
  354. package/src/components/CustomFields/CustomFieldsDisabledHint.uni.driver.ts +30 -0
  355. package/src/components/CustomFields/CustomFieldsDisabledTooltip.tsx +34 -0
  356. package/src/components/CustomFields/index.ts +2 -0
  357. package/src/components/CustomFieldsForm/CustomFieldsForm.tsx +73 -0
  358. package/src/components/CustomFieldsForm/CustomFieldsForm.uni.driver.ts +11 -0
  359. package/src/components/CustomFieldsForm/index.ts +1 -0
  360. package/src/components/CustomFieldsFormContext.ts +17 -0
  361. package/src/components/CustomFieldsPanel/AddCustomFieldCTAButton.tsx +38 -0
  362. package/src/components/CustomFieldsPanel/ArchiveFieldModal.tsx +34 -0
  363. package/src/components/CustomFieldsPanel/ArchiveFieldModal.uni.driver.ts +23 -0
  364. package/src/components/CustomFieldsPanel/CustomColumnsAddCustomFieldCTAButton.tsx +35 -0
  365. package/src/components/CustomFieldsPanel/CustomColumnsEditCustomFieldCTAButton.tsx +29 -0
  366. package/src/components/CustomFieldsPanel/CustomFieldItem.tsx +65 -0
  367. package/src/components/CustomFieldsPanel/CustomFieldPanel.uni.driver.ts +46 -0
  368. package/src/components/CustomFieldsPanel/CustomFieldPopover.uni.driver.ts +40 -0
  369. package/src/components/CustomFieldsPanel/CustomFieldsCollectionPanelEntry.tsx +13 -0
  370. package/src/components/CustomFieldsPanel/CustomFieldsList.tsx +40 -0
  371. package/src/components/CustomFieldsPanel/CustomFieldsPanel.tsx +68 -0
  372. package/src/components/CustomFieldsPanel/CustomFieldsPanelEntry.tsx +9 -0
  373. package/src/components/CustomFieldsPanel/ManageFieldsCTAButton.tsx +55 -0
  374. package/src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx +121 -0
  375. package/src/components/CustomFieldsTransforms/transformCustomCheckboxToWQL.tsx +15 -0
  376. package/src/components/CustomFieldsTransforms/transformCustomDateFilterToWQL.tsx +21 -0
  377. package/src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx +61 -0
  378. package/src/components/CustomFieldsTransforms/transformCustomNumberRangeFilterToWQL.tsx +21 -0
  379. package/src/components/CustomFieldsTransforms/transformSortToWQL.tsx +14 -0
  380. package/src/components/CustomFieldsWidget/ActionButtons.tsx +43 -0
  381. package/src/components/CustomFieldsWidget/CustomFieldsAllNamespacesForm.tsx +88 -0
  382. package/src/components/CustomFieldsWidget/CustomFieldsEmptyStateOverrides.ts +4 -0
  383. package/src/components/CustomFieldsWidget/CustomFieldsNamespaceForm.tsx +31 -0
  384. package/src/components/CustomFieldsWidget/CustomFieldsNamespaceSectionForm.tsx +73 -0
  385. package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.tsx +145 -0
  386. package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.uni.driver.ts +164 -0
  387. package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetContent.tsx +81 -0
  388. package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetInline.tsx +63 -0
  389. package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.tsx +181 -0
  390. package/src/components/CustomFieldsWidget/CustomFieldsWidget.tsx +88 -0
  391. package/src/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.ts +168 -0
  392. package/src/components/CustomFieldsWidget/CustomFieldsWidgetCard.tsx +81 -0
  393. package/src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx +45 -0
  394. package/src/components/CustomFieldsWidget/CustomFieldsWidgetContent.tsx +28 -0
  395. package/src/components/CustomFieldsWidget/CustomFieldsWidgetContentLazy.tsx +37 -0
  396. package/src/components/CustomFieldsWidget/CustomFieldsWidgetInline.tsx +52 -0
  397. package/src/components/CustomFieldsWidget/CustomFieldsWidgetLazyContent.ts +5 -0
  398. package/src/components/CustomFieldsWidget/EmptyStateContent.tsx +40 -0
  399. package/src/components/CustomFieldsWidget/EmptyStateViewContent.tsx +27 -0
  400. package/src/components/CustomFieldsWidget/ErrorStateContent.tsx +35 -0
  401. package/src/components/CustomFieldsWidget/OnCustomFieldChange.ts +11 -0
  402. package/src/components/CustomFieldsWidget/Skeletons.tsx +15 -0
  403. package/src/components/CustomFieldsWidget/index.ts +3 -0
  404. package/src/components/CustomFieldsWidget/types.ts +83 -0
  405. package/src/components/CustomFieldsWidget/useCustomFieldsFormState.ts +32 -0
  406. package/src/components/CustomFieldsWidget/useCustomFieldsViewWidget.ts +47 -0
  407. package/src/components/CustomFieldsWidgetContext.ts +17 -0
  408. package/src/components/DataExtension/CollectionDataExtensionState.ts +215 -0
  409. package/src/components/DataExtension/DataExtension.ts +77 -0
  410. package/src/components/DataExtension/index.ts +2 -0
  411. package/src/components/DataExtension/manageCustomFieldsPageAction.tsx +23 -0
  412. package/src/components/DateRangeFilter/DateRangeFilter.tsx +149 -0
  413. package/src/components/DateRangeFilter/index.ts +1 -0
  414. package/src/components/DateRangePicker/DateRangeFilter.uni.driver.ts +116 -0
  415. package/src/components/DateRangePicker/DateRangePicker.tsx +154 -0
  416. package/src/components/DateRangePicker/index.ts +1 -0
  417. package/src/components/DisabledTooltip/DisabledTooltip.tsx +36 -0
  418. package/src/components/DisabledTooltip/DisabledTooltipButton.uni.driver.ts +25 -0
  419. package/src/components/DisabledTooltip/index.ts +1 -0
  420. package/src/components/DiscardChangesModal.tsx +25 -0
  421. package/src/components/DragAndDrop/CollectionDragAndDropBI.ts +230 -0
  422. package/src/components/DragAndDrop/CollectionDragAndDropState.ts +204 -0
  423. package/src/components/DragAndDrop/DragAndDrop.ts +97 -0
  424. package/src/components/DragAndDrop/DragAndDrop.uni.driver.ts +223 -0
  425. package/src/components/DragAndDrop/DragAndDropAnnouncements.tsx +133 -0
  426. package/src/components/DragAndDrop/DragAndDropCategoriesProps.ts +12 -0
  427. package/src/components/DragAndDrop/DragAndDropState.ts +587 -0
  428. package/src/components/DragAndDrop/DragOverlayTestComponent.tsx +48 -0
  429. package/src/components/DragAndDrop/ReorderModeState.ts +195 -0
  430. package/src/components/DragAndDrop/TableDragAndDropState.ts +55 -0
  431. package/src/components/DragAndDrop/hasExceededDistance.ts +22 -0
  432. package/src/components/DragAndDrop/index.ts +3 -0
  433. package/src/components/DragAndDrop/initReordeModeState.ts +19 -0
  434. package/src/components/DragAndDrop/rectIntersection.ts +15 -0
  435. package/src/components/DragHandle/DragHandle.st.css +27 -0
  436. package/src/components/DragHandle/DragHandle.st.css.ts +25 -0
  437. package/src/components/DragHandle/DragHandle.tsx +40 -0
  438. package/src/components/DropdownFilter/CollectionDropdownFilter.uni.driver.ts +200 -0
  439. package/src/components/DropdownFilter/selectedItemsLabel.tsx +15 -0
  440. package/src/components/EditorXLogo.tsx +22 -0
  441. package/src/components/EmptyState/CollectionEmptyState.tsx +38 -0
  442. package/src/components/EmptyState/CollectionEmptyState.uni.driver.ts +25 -0
  443. package/src/components/EmptyState/CollectionNoResultsState.tsx +105 -0
  444. package/src/components/EmptyState/CollectionNoResultsState.uni.driver.ts +33 -0
  445. package/src/components/EmptyState/CollectionPremiumEmptyState.tsx +40 -0
  446. package/src/components/EmptyState/CollectionPremiumEmptyState.uni.driver.ts +27 -0
  447. package/src/components/EmptyState/EmptyState.uni.driver.ts +24 -0
  448. package/src/components/EmptyState/EmptyStateBase.tsx +78 -0
  449. package/src/components/EmptyState/NewItemButton.tsx +25 -0
  450. package/src/components/EmptyState/PremiumButton.tsx +23 -0
  451. package/src/components/EntityPage/EntityPage.tsx +82 -0
  452. package/src/components/EntityPage/EntityPage.uni.driver.ts +55 -0
  453. package/src/components/EntityPage/EntityPageActionsBar.tsx +24 -0
  454. package/src/components/EntityPage/EntityPagePlain.st.css +9 -0
  455. package/src/components/EntityPage/EntityPagePlain.st.css.ts +25 -0
  456. package/src/components/EntityPage/EntityPagePlain.tsx +34 -0
  457. package/src/components/EntityPage/EntityPageWrapper.tsx +33 -0
  458. package/src/components/EntityPage/index.ts +2 -0
  459. package/src/components/EntityPage/useEntityPageLoadReporting.ts +57 -0
  460. package/src/components/EntityPageAdditionalContent/EntityPageAdditionalContent.tsx +16 -0
  461. package/src/components/EntityPageAdditionalContent/index.ts +1 -0
  462. package/src/components/EntityPageCard/EntityPageCard.tsx +13 -0
  463. package/src/components/EntityPageCard/index.ts +1 -0
  464. package/src/components/EntityPageContent/EntityPageContent.tsx +21 -0
  465. package/src/components/EntityPageContent/index.ts +1 -0
  466. package/src/components/EntityPageExtensions/EntityPageExtensions.tsx +54 -0
  467. package/src/components/EntityPageExtensions/index.ts +1 -0
  468. package/src/components/EntityPageHeader/EntityPageHeader.tsx +17 -0
  469. package/src/components/EntityPageHeader/index.ts +1 -0
  470. package/src/components/EntityPageMainContent/EntityPageMainContent.tsx +13 -0
  471. package/src/components/EntityPageMainContent/index.ts +1 -0
  472. package/src/components/ErrorBoundary.tsx +21 -0
  473. package/src/components/ErrorCard/ErrorCard.tsx +71 -0
  474. package/src/components/ErrorCard/ErrorCard.uni.driver.ts +19 -0
  475. package/src/components/ErrorCard/index.ts +1 -0
  476. package/src/components/ErrorState/ErrorState.tsx +89 -0
  477. package/src/components/ErrorState/LoadingErrorState.tsx +52 -0
  478. package/src/components/ErrorState/OfflineErrorState.tsx +51 -0
  479. package/src/components/ErrorState/OfflineIllustration.tsx +63 -0
  480. package/src/components/ErrorState/ToolbarCollectionErrorState.uni.driver.ts +27 -0
  481. package/src/components/ErrorState/index.ts +2 -0
  482. package/src/components/ExpandableSearch.tsx +30 -0
  483. package/src/components/ExportButton/ExportButton.tsx +107 -0
  484. package/src/components/ExportButton/ExportButton.uni.driver.ts +18 -0
  485. package/src/components/ExportButton/ExportButtonModalLayout.tsx +98 -0
  486. package/src/components/ExportButton/ExportModal.tsx +27 -0
  487. package/src/components/ExportButton/ExportModal.uni.driver.ts +102 -0
  488. package/src/components/ExportButton/ExportProps.tsx +115 -0
  489. package/src/components/ExportButton/ExportStepCancel.tsx +17 -0
  490. package/src/components/ExportButton/ExportStepConfig.tsx +64 -0
  491. package/src/components/ExportButton/ExportStepError.tsx +28 -0
  492. package/src/components/ExportButton/ExportStepProgress.tsx +51 -0
  493. package/src/components/ExportButton/LinearAbsoluteProgressBar.tsx +50 -0
  494. package/src/components/ExportButton/RadioGroupSafe.tsx +16 -0
  495. package/src/components/ExportButton/getExportModalErrorProps.tsx +147 -0
  496. package/src/components/ExportButton/getExportModalStepProps.tsx +120 -0
  497. package/src/components/ExportButton/index.ts +3 -0
  498. package/src/components/ExtendedColumn/ExtendedColumn.tsx +99 -0
  499. package/src/components/ExtensionMenuItems/ExtensionMenuItems.ts +9 -0
  500. package/src/components/ExtensionMenuItems/index.ts +1 -0
  501. package/src/components/Extensions/Extensions.tsx +27 -0
  502. package/src/components/Extensions/index.ts +1 -0
  503. package/src/components/Fade/Fade.st.css +11 -0
  504. package/src/components/Fade/Fade.st.css.ts +25 -0
  505. package/src/components/Fade/Fade.tsx +38 -0
  506. package/src/components/Fade/index.ts +1 -0
  507. package/src/components/FileCard/DownloadButton.tsx +40 -0
  508. package/src/components/FileCard/FileCard.tsx +37 -0
  509. package/src/components/FileCard/FileCardList.tsx +32 -0
  510. package/src/components/FileCard/FileDetails.tsx +51 -0
  511. package/src/components/FileCard/FilePreview.tsx +66 -0
  512. package/src/components/FileCard/FilePreviewModal.tsx +69 -0
  513. package/src/components/FileCard/FileProps.ts +35 -0
  514. package/src/components/FileCard/Thumbnail.tsx +28 -0
  515. package/src/components/FileCard/formatBytes.ts +13 -0
  516. package/src/components/FileCard/icons.tsx +118 -0
  517. package/src/components/FileCard/resolveFileByMediaType.tsx +86 -0
  518. package/src/components/FileCard/useDownloadFile.ts +46 -0
  519. package/src/components/FilterContext.ts +12 -0
  520. package/src/components/FilterRenderingContext.tsx +13 -0
  521. package/src/components/FiltersPanel/AddApplyFiltersButton.ts +28 -0
  522. package/src/components/FiltersPanel/FilterAccordionTitle.tsx +33 -0
  523. package/src/components/FiltersPanel/FiltersPanel.tsx +118 -0
  524. package/src/components/FiltersPanel/FiltersPanel.uni.driver.ts +355 -0
  525. package/src/components/FiltersPanel/FiltersPanelAppliedFiltersSection.tsx +65 -0
  526. package/src/components/FiltersPanel/FiltersPanelContext.tsx +15 -0
  527. package/src/components/FiltersPanel/FiltersPanelFooter.tsx +44 -0
  528. package/src/components/FiltersPanel/FiltersPanelSelectedFiltersSection.tsx +76 -0
  529. package/src/components/FiltersPanel/FiltersPanelState.ts +36 -0
  530. package/src/components/FiltersPanel/index.ts +1 -0
  531. package/src/components/FolderIcon.tsx +23 -0
  532. package/src/components/FormFieldInput/FormFieldInput.tsx +71 -0
  533. package/src/components/FormFieldInput/FormFieldInput.uni.driver.ts +6 -0
  534. package/src/components/FormFieldInput/index.ts +1 -0
  535. package/src/components/FormPage/FormPage.tsx +24 -0
  536. package/src/components/FormPage/FormPageActionsBar.tsx +59 -0
  537. package/src/components/FormPage/FormPageProvider.tsx +37 -0
  538. package/src/components/FormPage/WidgetsFormProvider.tsx +20 -0
  539. package/src/components/FormPage/index.ts +4 -0
  540. package/src/components/FormPageAdditionalContent/FormPageAdditionalContent.tsx +27 -0
  541. package/src/components/FormPageAdditionalContent/index.ts +1 -0
  542. package/src/components/FormPageCard/FormPageCard.tsx +49 -0
  543. package/src/components/FormPageCard/FormPageCard.uni.driver.ts +6 -0
  544. package/src/components/FormPageCard/index.ts +1 -0
  545. package/src/components/FormPageContent/FormPageContent.tsx +21 -0
  546. package/src/components/FormPageContent/FormPageContent.uni.driver.ts +66 -0
  547. package/src/components/FormPageContent/index.ts +1 -0
  548. package/src/components/FormPageHeader/FormPageHeader.tsx +41 -0
  549. package/src/components/FormPageHeader/index.ts +1 -0
  550. package/src/components/FormPageMainContent/FormPageMainContent.tsx +26 -0
  551. package/src/components/FormPageMainContent/index.ts +1 -0
  552. package/src/components/Grid/DebugItemKeyRecycler.tsx +20 -0
  553. package/src/components/Grid/Grid.scss +3 -0
  554. package/src/components/Grid/Grid.tsx +150 -0
  555. package/src/components/Grid/Grid.types.ts +71 -0
  556. package/src/components/Grid/Grid.uni.driver.ts +488 -0
  557. package/src/components/Grid/GridCardItem.tsx +151 -0
  558. package/src/components/Grid/GridContent.tsx +129 -0
  559. package/src/components/Grid/GridEmptyState.tsx +8 -0
  560. package/src/components/Grid/GridFolders.tsx +155 -0
  561. package/src/components/Grid/GridFolders.types.ts +99 -0
  562. package/src/components/Grid/GridFolders.uni.driver.ts +68 -0
  563. package/src/components/Grid/GridFoldersFolderSection.tsx +87 -0
  564. package/src/components/Grid/GridFoldersItemsSection.tsx +69 -0
  565. package/src/components/Grid/GridFoldersLoadingSection.tsx +32 -0
  566. package/src/components/Grid/GridFoldersPlaceholderStates.tsx +41 -0
  567. package/src/components/Grid/GridFoldersSection.tsx +46 -0
  568. package/src/components/Grid/GridFoldersSection.uni.driver.ts +17 -0
  569. package/src/components/Grid/GridFoldersSectionsGroup.tsx +87 -0
  570. package/src/components/Grid/GridItem.tsx +103 -0
  571. package/src/components/Grid/GridItemBaseProps.ts +51 -0
  572. package/src/components/Grid/GridLayout.tsx +0 -0
  573. package/src/components/Grid/GridPlaceholderStates.tsx +43 -0
  574. package/src/components/Grid/GridSectionHeader.tsx +53 -0
  575. package/src/components/Grid/GridSingleGridContent.tsx +56 -0
  576. package/src/components/Grid/RenderItem.ts +11 -0
  577. package/src/components/Grid/SkeletonGrid.uni.driver.ts +12 -0
  578. package/src/components/Grid/SupportedCardGalleryItemProps.ts +15 -0
  579. package/src/components/Grid/index.ts +1 -0
  580. package/src/components/Grid/renderFolderItem.tsx +86 -0
  581. package/src/components/Grid/useGridBaseSyncProps.ts +108 -0
  582. package/src/components/Grid/useGridItemActions.tsx +145 -0
  583. package/src/components/Grid/useRenderItem.tsx +57 -0
  584. package/src/components/GridDragAndDropDndKit/DraggableCardOverlay.tsx +46 -0
  585. package/src/components/GridDragAndDropDndKit/GridDragAndDrop.ts +34 -0
  586. package/src/components/GridDragAndDropDndKit/GridDragOverlayCardItem.tsx +24 -0
  587. package/src/components/GridDragAndDropDndKit/GridDraggableCardItem.tsx +142 -0
  588. package/src/components/GridDragAndDropDndKit/GridSortableContext.tsx +120 -0
  589. package/src/components/GridDragAndDropDndKit/dndTestEventHandlers.ts +121 -0
  590. package/src/components/GridDragAndDropDndKit/sortableGridKeyboardCoordinates.ts +159 -0
  591. package/src/components/GridSections/GridSectionAndRepeater.tsx +49 -0
  592. package/src/components/GridSections/GridSectionHeader.tsx +40 -0
  593. package/src/components/GridSections/GridSectionsContent.tsx +84 -0
  594. package/src/components/GridSections/GridSectionsSectionState.ts +55 -0
  595. package/src/components/GridSections/GridSectionsSingleSkeletonGrid.tsx +49 -0
  596. package/src/components/GridSections/GridSectionsState.ts +63 -0
  597. package/src/components/Heading/Heading.st.css +10 -0
  598. package/src/components/Heading/Heading.st.css.ts +25 -0
  599. package/src/components/Heading/Heading.tsx +17 -0
  600. package/src/components/Heading/index.ts +1 -0
  601. package/src/components/Illustration/AddItemEmptyState.tsx +38 -0
  602. package/src/components/Illustration/CollectionPremiumEmptyStateIllustration.tsx +47 -0
  603. package/src/components/InfiniteScrollLoader/InfiniteScrollLoader.tsx +25 -0
  604. package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBase.tsx +32 -0
  605. package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBaseProps.ts +6 -0
  606. package/src/components/InfiniteScrollLoader/SkeletonInfiniteScrollLoader.tsx +33 -0
  607. package/src/components/InitialLoader/InitialLoader.tsx +28 -0
  608. package/src/components/InitialLoader/InitialSkeletonLoader.tsx +32 -0
  609. package/src/components/InitialLoader/index.ts +1 -0
  610. package/src/components/InitialLoadingConditional.tsx +35 -0
  611. package/src/components/InputOverflow/InputOverflow.st.css +7 -0
  612. package/src/components/InputOverflow/InputOverflow.st.css.ts +25 -0
  613. package/src/components/InputOverflow/InputOverflow.tsx +70 -0
  614. package/src/components/InputOverflow/index.ts +1 -0
  615. package/src/components/Kanban/Card.tsx +103 -0
  616. package/src/components/Kanban/CardActions.tsx +78 -0
  617. package/src/components/Kanban/CardsSkeleton.tsx +60 -0
  618. package/src/components/Kanban/Kanban.tsx +113 -0
  619. package/src/components/Kanban/Kanban.uni.driver.ts +237 -0
  620. package/src/components/Kanban/KanbanCardActionsHelper.ts +154 -0
  621. package/src/components/Kanban/KanbanProps.ts +45 -0
  622. package/src/components/Kanban/Stage.tsx +287 -0
  623. package/src/components/Kanban/StagesSkeleton.scss +10 -0
  624. package/src/components/Kanban/StagesSkeleton.tsx +44 -0
  625. package/src/components/Kanban/index.ts +2 -0
  626. package/src/components/Kanban/useCardActions.tsx +182 -0
  627. package/src/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.ts +229 -0
  628. package/src/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.tsx +102 -0
  629. package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlay.tsx +56 -0
  630. package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlayCardItem.tsx +73 -0
  631. package/src/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.tsx +122 -0
  632. package/src/components/ListDragAndDrop/DraggableListItem.tsx +115 -0
  633. package/src/components/ListDragAndDrop/ListDragAndDrop.ts +9 -0
  634. package/src/components/ListDragAndDrop/ListDragAndDropContext.tsx +112 -0
  635. package/src/components/LoadingRow/AILoadingLottiePoster.tsx +29 -0
  636. package/src/components/LoadingRow/LoadingRow.st.css +47 -0
  637. package/src/components/LoadingRow/LoadingRow.st.css.ts +25 -0
  638. package/src/components/LoadingRow/LoadingRowState.ts +63 -0
  639. package/src/components/LoadingRow/LoadingRowTD.tsx +56 -0
  640. package/src/components/LoadingRow/aiLoadingLottie.ts +2388 -0
  641. package/src/components/MagnifyingGlassArt/MagnifyingGlassArt.tsx +136 -0
  642. package/src/components/MagnifyingGlassArt/index.ts +1 -0
  643. package/src/components/MaxHeightText/MaxHeightText.st.css +9 -0
  644. package/src/components/MaxHeightText/MaxHeightText.st.css.ts +25 -0
  645. package/src/components/MaxHeightText/MaxHeightText.tsx +20 -0
  646. package/src/components/MaxHeightText/index.ts +1 -0
  647. package/src/components/MaxLines/MaxLines.st.css +10 -0
  648. package/src/components/MaxLines/MaxLines.st.css.ts +25 -0
  649. package/src/components/MaxLines/MaxLines.tsx +79 -0
  650. package/src/components/MaxLines/index.ts +1 -0
  651. package/src/components/MaxSelection.tsx +106 -0
  652. package/src/components/MaybeTooltip.tsx +16 -0
  653. package/src/components/ModalHeadingBox/ModalHeadingBox.tsx +29 -0
  654. package/src/components/ModalHeadingBox/index.ts +1 -0
  655. package/src/components/MoreActions/ExploreAppsModal.tsx +27 -0
  656. package/src/components/MoreActions/ExploreAppsState.tsx +69 -0
  657. package/src/components/MoreActions/MoreActions.uni.driver.ts +55 -0
  658. package/src/components/MoreActions/MoreActionsBase.tsx +170 -0
  659. package/src/components/MoreActions/MoreActionsElement.ts +8 -0
  660. package/src/components/MoreActions/MoreActionsIcon.tsx +36 -0
  661. package/src/components/MoreActions/MoreActionsItem.ts +54 -0
  662. package/src/components/MoreActions/MoreActionsProps.ts +28 -0
  663. package/src/components/MoreActions/MoreActionsText.tsx +31 -0
  664. package/src/components/MoreActions/index.ts +4 -0
  665. package/src/components/MoreActions/useExploreAppsState.ts +33 -0
  666. package/src/components/MoreFiltersCTA/MoreFiltersCTA.tsx +34 -0
  667. package/src/components/MoreFiltersCTA/index.ts +1 -0
  668. package/src/components/MultiAutoInlineCheckboxFilter/MultiAutoInlineCheckboxFilter.tsx +62 -0
  669. package/src/components/MultiAutoInlineCheckboxFilter/index.ts +1 -0
  670. package/src/components/MultiBulkActionToolbar/BulkActionContainer.tsx +12 -0
  671. package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css +4 -0
  672. package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +25 -0
  673. package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.tsx +264 -0
  674. package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver.ts +73 -0
  675. package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.ts +94 -0
  676. package/src/components/MultiBulkActionToolbar/index.ts +2 -0
  677. package/src/components/MultiCollectionSupportProvider.ts +17 -0
  678. package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.tsx +63 -0
  679. package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.uni.driver.ts +26 -0
  680. package/src/components/MultiInlineCheckbox/index.ts +1 -0
  681. package/src/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.tsx +46 -0
  682. package/src/components/MultiInlineCheckboxFilter/index.ts +1 -0
  683. package/src/components/MultiLevelSorting/MultiLevelSorting.tsx +11 -0
  684. package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.tsx +72 -0
  685. package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.uni.driver.ts +14 -0
  686. package/src/components/MultiLevelSorting/index.ts +1 -0
  687. package/src/components/MultiLevelSortingPanel/MultiLevelSortingColumnSelect.tsx +62 -0
  688. package/src/components/MultiLevelSortingPanel/MultiLevelSortingList.tsx +74 -0
  689. package/src/components/MultiLevelSortingPanel/MultiLevelSortingOrderSelect.tsx +76 -0
  690. package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.tsx +94 -0
  691. package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver.ts +105 -0
  692. package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanelEntry.tsx +17 -0
  693. package/src/components/MultiLevelSortingPanel/MultiLevelSortingTableListItem.tsx +93 -0
  694. package/src/components/MultiLevelSortingPanel/index.ts +1 -0
  695. package/src/components/MultiSelectCheckboxFilter/MultiSelectCheckboxFilter.tsx +25 -0
  696. package/src/components/MultiSelectCheckboxFilter/index.ts +1 -0
  697. package/src/components/MultiSelectCheckboxFilterBase/MultiSelectCheckboxFilterBase.tsx +76 -0
  698. package/src/components/MultiSelectCheckboxFilterBase/index.ts +1 -0
  699. package/src/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.tsx +124 -0
  700. package/src/components/MultiSelectCollectionFilter/index.ts +1 -0
  701. package/src/components/MultiSelectFilterBase/MultiSelectFilterBase.tsx +111 -0
  702. package/src/components/MultiSelectFilterBase/index.ts +1 -0
  703. package/src/components/NavigationModal/NavigationModal.tsx +29 -0
  704. package/src/components/NavigationModal/index.ts +1 -0
  705. package/src/components/NestedTable/ExpandCollapseAllButton.uni.driver.ts +17 -0
  706. package/src/components/NestedTable/ExpandCollapseButton.uni.driver.ts +19 -0
  707. package/src/components/NestedTable/MainCellLayout.tsx +62 -0
  708. package/src/components/NestedTable/NestedTable.tsx +139 -0
  709. package/src/components/NestedTable/NestedTable.uni.driver.ts +265 -0
  710. package/src/components/NestedTable/NestedTableActionCell.tsx +44 -0
  711. package/src/components/NestedTable/NestedTableContent.tsx +41 -0
  712. package/src/components/NestedTable/NestedTableFlatModeMainCell.tsx +60 -0
  713. package/src/components/NestedTable/NestedTableFlatModeMainCell.uni.driver.ts +15 -0
  714. package/src/components/NestedTable/NestedTableMainColumnTitle.tsx +59 -0
  715. package/src/components/NestedTable/NestedTableParentCell.tsx +111 -0
  716. package/src/components/NestedTable/NestedTableParentCell.uni.driver.ts +35 -0
  717. package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css +4 -0
  718. package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +25 -0
  719. package/src/components/NestedTable/NestedTablePlaceholderStatesRow.tsx +58 -0
  720. package/src/components/NestedTable/NestedTableRow.st.css +33 -0
  721. package/src/components/NestedTable/NestedTableRow.st.css.ts +25 -0
  722. package/src/components/NestedTable/NestedTableRow.tsx +116 -0
  723. package/src/components/NestedTable/NestedTableRow.uni.driver.ts +31 -0
  724. package/src/components/NestedTable/NestedTableRowPlaceholderStates.tsx +63 -0
  725. package/src/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.ts +23 -0
  726. package/src/components/NestedTable/NestedTableWSRTable.tsx +198 -0
  727. package/src/components/NestedTable/index.ts +1 -0
  728. package/src/components/NestedTable/useFlatModeColumns.tsx +73 -0
  729. package/src/components/NestedTable/useModeTableProps.tsx +111 -0
  730. package/src/components/NestedTable/useNestedModeColumns.tsx +98 -0
  731. package/src/components/NestedTable/useNestedTableActionCell.tsx +55 -0
  732. package/src/components/NestedTableDragAndDrop/DepthLimitMessage.tsx +37 -0
  733. package/src/components/NestedTableDragAndDrop/DragAndDropDisabledMessage.tsx +25 -0
  734. package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css +12 -0
  735. package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +25 -0
  736. package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.tsx +26 -0
  737. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDrop.ts +35 -0
  738. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.tsx +178 -0
  739. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.tsx +61 -0
  740. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.tsx +44 -0
  741. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css +7 -0
  742. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +25 -0
  743. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.tsx +63 -0
  744. package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropState.ts +556 -0
  745. package/src/components/NestedTableDragAndDrop/NestedTableDragHandle.tsx +32 -0
  746. package/src/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.ts +30 -0
  747. package/src/components/NestedTableDragAndDrop/NestedTableGhostIndentationCell.tsx +63 -0
  748. package/src/components/NestedTableDragAndDrop/NestedTableGhostRow.uni.driver.ts +30 -0
  749. package/src/components/NestedTableDragAndDrop/createUseIsDropDisabled.ts +128 -0
  750. package/src/components/NestedTableDragAndDrop/validateNestedTableDragAndDropProps.ts +29 -0
  751. package/src/components/NumberRangeFilter/NumberRangeFilter.tsx +78 -0
  752. package/src/components/NumberRangeFilter/index.ts +2 -0
  753. package/src/components/NumberRangeFilter/useNumberRangeFilter.ts +243 -0
  754. package/src/components/PageErrorState/PageErrorState.tsx +60 -0
  755. package/src/components/PageErrorState/PageErrorState.uni.driver.ts +16 -0
  756. package/src/components/PageErrorState/PageErrorStateIllustration.tsx +32 -0
  757. package/src/components/PageErrorState/index.ts +1 -0
  758. package/src/components/PageGridInfiniteScrollLoader.tsx +36 -0
  759. package/src/components/PageInfiniteScrollLoader.tsx +29 -0
  760. package/src/components/PageSubTitle/PageSubTitle.tsx +72 -0
  761. package/src/components/PageSubTitle/PageSubTitle.uni.driver.ts +22 -0
  762. package/src/components/PageSubTitle/index.ts +1 -0
  763. package/src/components/PageWrapper/InfiniteScrollPage.tsx +39 -0
  764. package/src/components/PageWrapper/PageWrapper.tsx +10 -0
  765. package/src/components/PageWrapper/PageWrapper.uni.driver.ts +13 -0
  766. package/src/components/PageWrapper/PageWrapperBase.tsx +79 -0
  767. package/src/components/PageWrapper/index.ts +1 -0
  768. package/src/components/PaginationTable/PaginationTable.tsx +49 -0
  769. package/src/components/PaginationTable/index.ts +1 -0
  770. package/src/components/PartialFunctionComponent.ts +6 -0
  771. package/src/components/Picker/Picker.tsx +124 -0
  772. package/src/components/Picker/Picker.uni.driver.ts +108 -0
  773. package/src/components/Picker/index.ts +1 -0
  774. package/src/components/PickerContent/PickerContent.st.css +3 -0
  775. package/src/components/PickerContent/PickerContent.st.css.ts +25 -0
  776. package/src/components/PickerContent/PickerContent.tsx +73 -0
  777. package/src/components/PickerContent/PickerContentAdditionalStep.st.css +14 -0
  778. package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +25 -0
  779. package/src/components/PickerContent/PickerContentAdditionalStep.tsx +222 -0
  780. package/src/components/PickerContent/PickerContentBaseWrapped.tsx +29 -0
  781. package/src/components/PickerContent/PickerContentItemsSelection.tsx +330 -0
  782. package/src/components/PickerContent/PickerContentProvider.tsx +52 -0
  783. package/src/components/PickerContent/PickerContentV2.tsx +38 -0
  784. package/src/components/PickerContent/PickerContentWrapped.tsx +133 -0
  785. package/src/components/PickerContent/SelectAllCheckbox.tsx +57 -0
  786. package/src/components/PickerContent/index.ts +2 -0
  787. package/src/components/PickerEmptyState/PickerEmptyState.tsx +107 -0
  788. package/src/components/PickerEmptyState/PickerEmptyStateContainer.tsx +59 -0
  789. package/src/components/PickerEmptyState/index.ts +1 -0
  790. package/src/components/PickerListContent/PickerListContent.tsx +126 -0
  791. package/src/components/PickerListContent/index.ts +1 -0
  792. package/src/components/PickerListItemProps.ts +15 -0
  793. package/src/components/PickerModal/PickerModal.tsx +133 -0
  794. package/src/components/PickerModal/PickerModal.uni.driver.ts +216 -0
  795. package/src/components/PickerModal/PickerModalLayout.uni.driver.ts +118 -0
  796. package/src/components/PickerModal/index.ts +1 -0
  797. package/src/components/PickerModalOpenButton/PickerModalOpenButton.tsx +40 -0
  798. package/src/components/PickerModalOpenButton/index.ts +1 -0
  799. package/src/components/PickerModalSplash/PickerModalSplash.tsx +95 -0
  800. package/src/components/PickerModalSplash/index.ts +1 -0
  801. package/src/components/PickerSelectorListContent/PickerSelectorListContent.tsx +136 -0
  802. package/src/components/PickerSelectorListContent/index.ts +1 -0
  803. package/src/components/PickerStandalone/PickerStandalone.tsx +183 -0
  804. package/src/components/PickerStandalone/PickerStandalone.uni.driver.ts +216 -0
  805. package/src/components/PickerStandalone/PickerStandaloneTableListItem.tsx +95 -0
  806. package/src/components/PickerStandalone/index.ts +1 -0
  807. package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.tsx +72 -0
  808. package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.uni.driver.ts +40 -0
  809. package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutFooter.tsx +55 -0
  810. package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutHeader.tsx +177 -0
  811. package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutTitles.tsx +95 -0
  812. package/src/components/PickerStandaloneLayout/index.ts +1 -0
  813. package/src/components/PickerSubheader/PickerSubheader.tsx +41 -0
  814. package/src/components/PickerSubheader/PickerSubheader.uni.driver.ts +10 -0
  815. package/src/components/PickerSubheader/index.ts +1 -0
  816. package/src/components/PickerTableListItem/PickerTableListItem.st.css +3 -0
  817. package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +25 -0
  818. package/src/components/PickerTableListItem/PickerTableListItem.tsx +103 -0
  819. package/src/components/PickerTableListItem/PickerTableListItem.uni.driver.ts +15 -0
  820. package/src/components/PickerTableListItem/index.ts +1 -0
  821. package/src/components/PlaceholderStates/PlaceholderStatesBase.tsx +105 -0
  822. package/src/components/PrimaryActions/PrimaryActions.tsx +78 -0
  823. package/src/components/PrimaryActions/index.ts +1 -0
  824. package/src/components/PrimaryPageButton/PrimaryPageButton.tsx +65 -0
  825. package/src/components/PrimaryPageButton/index.ts +1 -0
  826. package/src/components/QuerySearch.tsx +35 -0
  827. package/src/components/RadioGroupFilter/RadioGroupFilter.tsx +104 -0
  828. package/src/components/RadioGroupFilter/RadioGroupFilter.uni.driver.ts +27 -0
  829. package/src/components/RadioGroupFilter/index.ts +1 -0
  830. package/src/components/RequestId/RequestId.tsx +150 -0
  831. package/src/components/RequestId/RequestId.uni.driver.ts +31 -0
  832. package/src/components/RequestId/assets/locale/messages_cs.json +5 -0
  833. package/src/components/RequestId/assets/locale/messages_da.json +5 -0
  834. package/src/components/RequestId/assets/locale/messages_de.json +5 -0
  835. package/src/components/RequestId/assets/locale/messages_en.json +5 -0
  836. package/src/components/RequestId/assets/locale/messages_es.json +5 -0
  837. package/src/components/RequestId/assets/locale/messages_fr.json +5 -0
  838. package/src/components/RequestId/assets/locale/messages_hi.json +5 -0
  839. package/src/components/RequestId/assets/locale/messages_id.json +5 -0
  840. package/src/components/RequestId/assets/locale/messages_it.json +5 -0
  841. package/src/components/RequestId/assets/locale/messages_ja.json +5 -0
  842. package/src/components/RequestId/assets/locale/messages_ko.json +5 -0
  843. package/src/components/RequestId/assets/locale/messages_nl.json +5 -0
  844. package/src/components/RequestId/assets/locale/messages_no.json +5 -0
  845. package/src/components/RequestId/assets/locale/messages_pl.json +5 -0
  846. package/src/components/RequestId/assets/locale/messages_pt.json +5 -0
  847. package/src/components/RequestId/assets/locale/messages_ru.json +5 -0
  848. package/src/components/RequestId/assets/locale/messages_sv.json +5 -0
  849. package/src/components/RequestId/assets/locale/messages_th.json +5 -0
  850. package/src/components/RequestId/assets/locale/messages_tr.json +5 -0
  851. package/src/components/RequestId/assets/locale/messages_uk.json +5 -0
  852. package/src/components/RequestId/assets/locale/messages_vi.json +5 -0
  853. package/src/components/RequestId/assets/locale/messages_zh.json +5 -0
  854. package/src/components/RequestId/index.ts +1 -0
  855. package/src/components/Responsive/HorizontalAvailableSpaceBox.tsx +32 -0
  856. package/src/components/Responsive/HorizontalOverflowBox.tsx +26 -0
  857. package/src/components/ResponsiveButton/ResponsiveButton.tsx +72 -0
  858. package/src/components/ResponsiveButton/ResponsiveButton.uni.driver.ts +24 -0
  859. package/src/components/Rotate/Rotate.tsx +45 -0
  860. package/src/components/Rotate/index.ts +1 -0
  861. package/src/components/Router/PatternsReactRoute.tsx +9 -0
  862. package/src/components/Router/PatternsReactRouter.tsx +65 -0
  863. package/src/components/Router/createPlatformizedNavigator.tsx +27 -0
  864. package/src/components/Router/index.ts +3 -0
  865. package/src/components/Router/types.ts +21 -0
  866. package/src/components/Router/usePatternsNavigate.ts +20 -0
  867. package/src/components/ScrollableContent/ScrollableContent.st.css +15 -0
  868. package/src/components/ScrollableContent/ScrollableContent.st.css.ts +25 -0
  869. package/src/components/ScrollableContent/ScrollableContent.tsx +31 -0
  870. package/src/components/ScrollableContent/index.ts +1 -0
  871. package/src/components/SecondaryActions/SecondaryActions.tsx +77 -0
  872. package/src/components/SecondaryActions/index.ts +1 -0
  873. package/src/components/SettingsPage/SettingsPage.tsx +56 -0
  874. package/src/components/SettingsPage/SettingsPage.uni.driver.ts +16 -0
  875. package/src/components/SettingsPage/SettingsPageActionsBar.tsx +23 -0
  876. package/src/components/SettingsPage/SettingsPagePlain.tsx +26 -0
  877. package/src/components/SettingsPage/SettingsPageWrapper.tsx +35 -0
  878. package/src/components/SettingsPageAdditionalContent/SettingsPageAdditionalContent.tsx +16 -0
  879. package/src/components/SettingsPageAdditionalContent/index.ts +1 -0
  880. package/src/components/SettingsPageCard/SettingsPageCard.tsx +13 -0
  881. package/src/components/SettingsPageCard/index.ts +1 -0
  882. package/src/components/SettingsPageContent/SettingsPageContent.tsx +21 -0
  883. package/src/components/SettingsPageContent/index.ts +1 -0
  884. package/src/components/SettingsPageHeader/SettingsPageHeader.tsx +17 -0
  885. package/src/components/SettingsPageHeader/index.ts +1 -0
  886. package/src/components/SettingsPageMainContent/SettingsPageMainContent.tsx +14 -0
  887. package/src/components/SettingsPageMainContent/index.ts +1 -0
  888. package/src/components/SidePanelModal/SidePanelModal.tsx +109 -0
  889. package/src/components/SidePanelModal/SidePanelModalItem.tsx +34 -0
  890. package/src/components/SidePanelModal/index.ts +1 -0
  891. package/src/components/SingleSelectFilter/SingleSelectFilter.tsx +138 -0
  892. package/src/components/SingleSelectFilter/index.ts +1 -0
  893. package/src/components/SingleSelectFilterBase/SingleSelectFilterBase.tsx +83 -0
  894. package/src/components/SingleSelectFilterBase/index.ts +1 -0
  895. package/src/components/SkeletonCard/SkeletonCard.st.css +3 -0
  896. package/src/components/SkeletonCard/SkeletonCard.st.css.ts +25 -0
  897. package/src/components/SkeletonCard/SkeletonCard.tsx +42 -0
  898. package/src/components/SkeletonCard/SkeletonCard.uni.driver.ts +13 -0
  899. package/src/components/SkeletonCard/index.ts +1 -0
  900. package/src/components/SkeletonGrid/SkeletonCardByImagePlacement.tsx +22 -0
  901. package/src/components/SkeletonGrid/SkeletonGrid.tsx +51 -0
  902. package/src/components/SkeletonGrid/SkeletonSideImageCard.tsx +27 -0
  903. package/src/components/SkeletonGrid/SkeletonTopImageCard.tsx +48 -0
  904. package/src/components/SkeletonGrid/index.ts +1 -0
  905. package/src/components/SlidingModal/SlidingModal.st.css +11 -0
  906. package/src/components/SlidingModal/SlidingModal.st.css.ts +25 -0
  907. package/src/components/SlidingModal/SlidingModal.tsx +134 -0
  908. package/src/components/SlidingModal/SlidingModal.uni.driver.ts +11 -0
  909. package/src/components/SlidingModal/index.ts +1 -0
  910. package/src/components/Splash/Splash.tsx +44 -0
  911. package/src/components/Splash/Splash.uni.driver.ts +24 -0
  912. package/src/components/Splash/index.ts +1 -0
  913. package/src/components/SummaryBar/SummaryBar.tsx +151 -0
  914. package/src/components/SummaryBar/SummaryBar.uni.driver.ts +52 -0
  915. package/src/components/SummaryBar/index.ts +1 -0
  916. package/src/components/TabTotal/TabTotalComponentType.ts +4 -0
  917. package/src/components/TabTotal/TabTotalCounterBadge.tsx +33 -0
  918. package/src/components/TabTotal/TabTotalDropdownOption.tsx +35 -0
  919. package/src/components/TabTotal/TabTotalParens.tsx +38 -0
  920. package/src/components/TabTotal/index.ts +3 -0
  921. package/src/components/TabTotal/useFilterValueTotalState.ts +47 -0
  922. package/src/components/Table/Table.tsx +52 -0
  923. package/src/components/Table/Table.uni.driver.ts +582 -0
  924. package/src/components/Table/TableBase.tsx +88 -0
  925. package/src/components/Table/TableBaseRow.tsx +39 -0
  926. package/src/components/Table/TableCompat.tsx +37 -0
  927. package/src/components/Table/TableV2.tsx +16 -0
  928. package/src/components/Table/TableVirtual.tsx +76 -0
  929. package/src/components/Table/getVirtualTableProps.ts +29 -0
  930. package/src/components/Table/index.ts +3 -0
  931. package/src/components/Table/useTableBaseRow.tsx +31 -0
  932. package/src/components/Table/useTableSyncProps.ts +66 -0
  933. package/src/components/TableDragAndDrop.ts +40 -0
  934. package/src/components/TableDragAndDropContext/TableDragAndDropContext.tsx +132 -0
  935. package/src/components/TableDragAndDropContext/createUseIsDropDisabled.ts +15 -0
  936. package/src/components/TableDragAndDropContext/index.ts +4 -0
  937. package/src/components/TableFolders/TableFolders.tsx +89 -0
  938. package/src/components/TableFolders/TableFolders.types.tsx +6 -0
  939. package/src/components/TableFolders/TableFolders.uni.driver.ts +74 -0
  940. package/src/components/TableFolders/TableFoldersContent.tsx +328 -0
  941. package/src/components/TableFolders/TableFoldersInfiniteScroll.tsx +42 -0
  942. package/src/components/TableFolders/TableFoldersLayout.tsx +42 -0
  943. package/src/components/TableFolders/index.ts +1 -0
  944. package/src/components/TableFolders/useOrFolderActionCellColumn.ts +78 -0
  945. package/src/components/TableFolders/useTableFoldersSyncProps.ts +45 -0
  946. package/src/components/TableGridSwitch/TableGridSwitch.tsx +110 -0
  947. package/src/components/TableGridSwitch/TableGridSwitch.uni.driver.ts +45 -0
  948. package/src/components/TableGridSwitch/TableGridSwitchDragAndDrop.ts +7 -0
  949. package/src/components/TableGridSwitchButton/TableGridSwitchButton.tsx +49 -0
  950. package/src/components/TableGridSwitchButton/TableGridSwitchButton.uni.driver.ts +17 -0
  951. package/src/components/TableGridSwitchButton/index.ts +1 -0
  952. package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.tsx +84 -0
  953. package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.ts +50 -0
  954. package/src/components/TablePlaceholderStates/TablePlaceholderStates.tsx +45 -0
  955. package/src/components/TableSections/TableSectionRow.tsx +84 -0
  956. package/src/components/TableSections/TableSections.tsx +61 -0
  957. package/src/components/TableSections/TableSectionsState.ts +128 -0
  958. package/src/components/TableSections/index.ts +5 -0
  959. package/src/components/TableSections/useTableSectionRow.tsx +35 -0
  960. package/src/components/TableSkeleton/TableSkeleton.tsx +106 -0
  961. package/src/components/TableTopNotification/ScrollAwayPushStrategy.ts +50 -0
  962. package/src/components/TableTopNotification/ScrollAwayScheduleStrategy.ts +81 -0
  963. package/src/components/TableTopNotification/TableTopNotification.tsx +127 -0
  964. package/src/components/TableTopNotification/TableTopNotification.uni.driver.ts +18 -0
  965. package/src/components/TableTopNotification/TableTopNotificationState.ts +75 -0
  966. package/src/components/TableTopNotification/TopNotificationRenderProp.ts +9 -0
  967. package/src/components/TableTopNotification/index.ts +2 -0
  968. package/src/components/TabsFilter/TabTitle.tsx +64 -0
  969. package/src/components/TabsFilter/TabsDefault.tsx +58 -0
  970. package/src/components/TabsFilter/TabsDropdown.tsx +106 -0
  971. package/src/components/TabsFilter/TabsFilter.st.css +3 -0
  972. package/src/components/TabsFilter/TabsFilter.st.css.ts +25 -0
  973. package/src/components/TabsFilter/TabsFilter.tsx +225 -0
  974. package/src/components/TabsFilter/TabsFilter.uni.driver.ts +86 -0
  975. package/src/components/TabsFilter/TabsFilterState.ts +93 -0
  976. package/src/components/TabsFilter/TabsResponsiveState.ts +122 -0
  977. package/src/components/TabsFilter/index.ts +1 -0
  978. package/src/components/TabsFilter/types.ts +13 -0
  979. package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.tsx +52 -0
  980. package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.uni.driver.ts +31 -0
  981. package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.tsx +133 -0
  982. package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.ts +133 -0
  983. package/src/components/Tags/BulkAssignTagsPopover/CreateTagButton.tsx +40 -0
  984. package/src/components/Tags/BulkAssignTagsPopover/EmptyState.tsx +85 -0
  985. package/src/components/Tags/BulkAssignTagsPopover/Footer.tsx +67 -0
  986. package/src/components/Tags/BulkAssignTagsPopover/index.ts +1 -0
  987. package/src/components/Tags/ManageTags/CollectionManageTagsModal.tsx +13 -0
  988. package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemEditable.tsx +62 -0
  989. package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemView.tsx +94 -0
  990. package/src/components/Tags/ManageTags/ManageTagsModal/List/TagsListItem.tsx +27 -0
  991. package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css +3 -0
  992. package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +25 -0
  993. package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.tsx +212 -0
  994. package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.ts +118 -0
  995. package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsNotification.tsx +80 -0
  996. package/src/components/Tags/ManageTags/ManageTagsModal/NewTagItemEditable.tsx +31 -0
  997. package/src/components/Tags/ManageTags/ManageTagsModal/TagItemEditable.tsx +81 -0
  998. package/src/components/Tags/ManageTags/ManageTagsModal/index.ts +2 -0
  999. package/src/components/Tags/ManageTags/index.ts +1 -0
  1000. package/src/components/Tags/Tags.tsx +66 -0
  1001. package/src/components/Tags/TagsBulkAssignUtils.ts +59 -0
  1002. package/src/components/Tags/TagsFolders.tsx +12 -0
  1003. package/src/components/Tags/index.ts +3 -0
  1004. package/src/components/Tags/manageTagsPageAction.tsx +23 -0
  1005. package/src/components/Tags/types.ts +10 -0
  1006. package/src/components/Tags/useTagsBulkAssignFoldersUtils.ts +45 -0
  1007. package/src/components/Tags/useTagsBulkAssignUtils.ts +31 -0
  1008. package/src/components/TagsAssignButton/TagsAssignButton.tsx +54 -0
  1009. package/src/components/TagsAssignButton/TagsAssignButton.uni.driver.ts +14 -0
  1010. package/src/components/TagsAssignButton/index.ts +1 -0
  1011. package/src/components/TagsColumn/TagsColumn.tsx +32 -0
  1012. package/src/components/TagsColumn/TagsColumnContent.tsx +36 -0
  1013. package/src/components/TagsColumn/index.ts +1 -0
  1014. package/src/components/TagsFilter/TagsFilter.tsx +61 -0
  1015. package/src/components/TagsFilter/index.ts +2 -0
  1016. package/src/components/TagsFilter/tagsFilterBuilder.tsx +53 -0
  1017. package/src/components/TagsWidget/TagsWidget.tsx +212 -0
  1018. package/src/components/TagsWidget/TagsWidget.uni.driver.ts +113 -0
  1019. package/src/components/TagsWidget/TagsWidgetContent.tsx +232 -0
  1020. package/src/components/TagsWidget/index.ts +1 -0
  1021. package/src/components/TagsWidgetContext.ts +14 -0
  1022. package/src/components/TextBreadcrumbs.tsx +35 -0
  1023. package/src/components/TextWidthLoader.tsx +18 -0
  1024. package/src/components/ToolbarCollection/ToolbarCollection.tsx +390 -0
  1025. package/src/components/ToolbarCollection/checkConflictingToolbarProps.ts +53 -0
  1026. package/src/components/ToolbarCollection/index.ts +1 -0
  1027. package/src/components/ToolbarCollection/useToolbarCollectionSyncProps.ts +192 -0
  1028. package/src/components/ToolbarCollectionContentAutoSizer/ContainerRectDebug.tsx +51 -0
  1029. package/src/components/ToolbarCollectionContentAutoSizer/ToolbarCollectionContentAutoSizer.tsx +67 -0
  1030. package/src/components/ToolbarCollectionContentAutoSizer/index.ts +1 -0
  1031. package/src/components/ToolbarCollectionContext.ts +18 -0
  1032. package/src/components/ToolbarItem/ToolbarItem.st.css +3 -0
  1033. package/src/components/ToolbarItem/ToolbarItem.st.css.ts +25 -0
  1034. package/src/components/ToolbarItem/ToolbarItem.tsx +11 -0
  1035. package/src/components/ToolbarItemBox/ToolbarItemBox.st.css +13 -0
  1036. package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +25 -0
  1037. package/src/components/ToolbarItemBox/ToolbarItemBox.tsx +38 -0
  1038. package/src/components/ToolbarItemBox/index.ts +1 -0
  1039. package/src/components/ToolbarTitle/ToolbarTitle.tsx +102 -0
  1040. package/src/components/ToolbarTitle/index.ts +1 -0
  1041. package/src/components/Trans/Trans.tsx +11 -0
  1042. package/src/components/Trans/index.tsx +1 -0
  1043. package/src/components/VirtualGridRepeater/ForceRenderIndexes.tsx +76 -0
  1044. package/src/components/VirtualGridRepeater/GridForceRenderIndexes.tsx +37 -0
  1045. package/src/components/VirtualGridRepeater/GridState.ts +43 -0
  1046. package/src/components/VirtualGridRepeater/RenderItem.ts +12 -0
  1047. package/src/components/VirtualGridRepeater/TableForceRenderIndexes.tsx +54 -0
  1048. package/src/components/VirtualGridRepeater/VirtualGridItem.tsx +56 -0
  1049. package/src/components/VirtualGridRepeater/VirtualGridRepeater.tsx +22 -0
  1050. package/src/components/VirtualGridRepeater/VirtualGridRepeaterBase.tsx +125 -0
  1051. package/src/components/VirtualGridRepeater/VirtualGridRepeaterContext.ts +15 -0
  1052. package/src/components/VirtualGridRepeater/VirtualGridRepeaterState.ts +164 -0
  1053. package/src/components/VirtualGridRepeater/VirtualGridStateContext.ts +16 -0
  1054. package/src/components/VirtualGridRepeater/VirtualInternalMemoItem.tsx +66 -0
  1055. package/src/components/VirtualGridRepeater/VirtualItem.tsx +6 -0
  1056. package/src/components/VirtualGridRepeater/VirtualTableRepeater.tsx +62 -0
  1057. package/src/components/VirtualGridRepeater/VirtualTableRow.tsx +35 -0
  1058. package/src/components/VirtualGridRepeater/VirtualTableRowMutated.tsx +75 -0
  1059. package/src/components/VirtualGridRepeater/VirtualTableRowMutatedState.ts +120 -0
  1060. package/src/components/VisuallyHidden.tsx +15 -0
  1061. package/src/components/WixLogo.tsx +24 -0
  1062. package/src/components/WixPatternsModalsContainer.tsx +91 -0
  1063. package/src/components/WixPatternsTestProvider.tsx +36 -0
  1064. package/src/components/assertComponentType.ts +77 -0
  1065. package/src/components/collectionStateProps.ts +8 -0
  1066. package/src/components/common.st.css +9 -0
  1067. package/src/components/common.st.css.ts +25 -0
  1068. package/src/components/createChildSlot.ts +29 -0
  1069. package/src/components/deleteSecondaryAction/deleteSecondaryAction.tsx +48 -0
  1070. package/src/components/deleteSecondaryAction/index.ts +1 -0
  1071. package/src/components/index.ts +13 -0
  1072. package/src/components/isValidElement.ts +15 -0
  1073. package/src/components/uniDriverFactory.ts +3 -0
  1074. package/src/components/unidriver.ts +5 -0
  1075. package/src/components/useCollectionReachBottom.tsx +73 -0
  1076. package/src/components/usePageButtonBiParams.ts +29 -0
  1077. package/src/components/useWidgetPageStatus.tsx +17 -0
  1078. package/src/container/index.ts +1 -0
  1079. package/src/container/useCairoTranslations.ts +7 -0
  1080. package/src/createContext.ts +33 -0
  1081. package/src/dashboard/WixPatternsDashboardBaseProvider.tsx +124 -0
  1082. package/src/dashboard/WixPatternsDashboardProvider.tsx +44 -0
  1083. package/src/dashboard/WixPatternsDashboardProviderInternal.tsx +28 -0
  1084. package/src/dashboard/WixPatternsDashboardTestProvider.tsx +74 -0
  1085. package/src/dashboard/WixPatternsProvider.tsx +13 -0
  1086. package/src/dashboard/WixPatternsProviderInternal.tsx +12 -0
  1087. package/src/dashboard/getInstanceJwtData.ts +17 -0
  1088. package/src/dashboard/useEnvironment.ts +15 -0
  1089. package/src/docs-types.ts +35 -0
  1090. package/src/essentials/WixPatternsEssentialsProvider.tsx +31 -0
  1091. package/src/essentials/buildWixPatternsEssentials.ts +49 -0
  1092. package/src/essentials/usePickerModal.ts +67 -0
  1093. package/src/essentials/warmUpPickerStandalone.ts +11 -0
  1094. package/src/essentials/withWixPatternsProvider.tsx +14 -0
  1095. package/src/exports/alpha.ts +1 -0
  1096. package/src/exports/bm.ts +5 -0
  1097. package/src/exports/components.ts +1 -0
  1098. package/src/exports/core.ts +1 -0
  1099. package/src/exports/essentials.ts +10 -0
  1100. package/src/exports/form.ts +8 -0
  1101. package/src/exports/giza.ts +6 -0
  1102. package/src/exports/history.ts +1 -0
  1103. package/src/exports/mobx.ts +1 -0
  1104. package/src/exports/nextjs.ts +1 -0
  1105. package/src/exports/page.ts +3 -0
  1106. package/src/exports/provider/index.ts +3 -0
  1107. package/src/exports/provider/internal.ts +3 -0
  1108. package/src/exports/router/index.ts +1 -0
  1109. package/src/exports/testkit/backend.ts +1 -0
  1110. package/src/exports/testkit/bm.ts +1 -0
  1111. package/src/exports/testkit/enzyme.ts +1 -0
  1112. package/src/exports/testkit/index.ts +12 -0
  1113. package/src/exports/testkit/internal.ts +1 -0
  1114. package/src/exports/testkit/jsdom.ts +1 -0
  1115. package/src/exports/testkit/playwright.ts +1 -0
  1116. package/src/exports/testkit/puppeteer.ts +1 -0
  1117. package/src/exports/testkit/unidriver.ts +7 -0
  1118. package/src/exports/utils/index.ts +3 -0
  1119. package/src/exports/utils/react.ts +1 -0
  1120. package/src/exports/version.ts +1 -0
  1121. package/src/external-types.d.ts +8 -0
  1122. package/src/external-types.tests.d.ts +8 -0
  1123. package/src/fields/BaseInput/BaseInput.ts +16 -0
  1124. package/src/fields/BaseInput/index.ts +1 -0
  1125. package/src/fields/Checkbox/Checkbox.tsx +30 -0
  1126. package/src/fields/Checkbox/index.ts +1 -0
  1127. package/src/fields/DateInput/DateInput.tsx +74 -0
  1128. package/src/fields/DateInput/index.ts +1 -0
  1129. package/src/fields/DateTime/DateTime.tsx +170 -0
  1130. package/src/fields/DateTime/index.ts +1 -0
  1131. package/src/fields/Dropdown/Dropdown.tsx +36 -0
  1132. package/src/fields/Dropdown/index.ts +1 -0
  1133. package/src/fields/Field/Field.tsx +16 -0
  1134. package/src/fields/Field/Field.uni.driver.ts +247 -0
  1135. package/src/fields/Field/index.ts +1 -0
  1136. package/src/fields/LongText/LongText.tsx +37 -0
  1137. package/src/fields/LongText/index.ts +1 -0
  1138. package/src/fields/Number/Number.tsx +26 -0
  1139. package/src/fields/Number/index.ts +1 -0
  1140. package/src/fields/ShortText/ShortText.tsx +37 -0
  1141. package/src/fields/ShortText/index.ts +1 -0
  1142. package/src/fields/Url/Url.tsx +72 -0
  1143. package/src/fields/Url/index.ts +1 -0
  1144. package/src/fields/dataHooks.ts +4 -0
  1145. package/src/fields/index.ts +8 -0
  1146. package/src/fields/useTextInput.ts +34 -0
  1147. package/src/giza/WixPatternsGizaProvider.tsx +75 -0
  1148. package/src/giza/buildWixPatternsEssentials.ts +61 -0
  1149. package/src/giza/index.ts +2 -0
  1150. package/src/giza/usePickerModal.ts +70 -0
  1151. package/src/hooks/CollectionFoldersBaseConfig.ts +13 -0
  1152. package/src/hooks/customModalContent.ts +8 -0
  1153. package/src/hooks/index.ts +23 -0
  1154. package/src/hooks/listItem.ts +18 -0
  1155. package/src/hooks/useAmbassador/index.ts +2 -0
  1156. package/src/hooks/useAmbassador/useAmbassadorGrid.ts +25 -0
  1157. package/src/hooks/useAmbassador/useAmbassadorTable.ts +26 -0
  1158. package/src/hooks/useAutoScrollOnLoad.tsx +35 -0
  1159. package/src/hooks/useBuildAccordionItems.tsx +108 -0
  1160. package/src/hooks/useBuildOption.ts +96 -0
  1161. package/src/hooks/useCollectionComponentBaseParams.ts +11 -0
  1162. package/src/hooks/useCollectionFilterInitialFetchTiming.ts +40 -0
  1163. package/src/hooks/useCollectionOptions.tsx +81 -0
  1164. package/src/hooks/useCollectionPageChild/index.ts +1 -0
  1165. package/src/hooks/useCollectionPageChild/useCollectionPageChild.tsx +38 -0
  1166. package/src/hooks/useColumnsSyncProps.ts +93 -0
  1167. package/src/hooks/useCreateNestedOptimisticActions.ts +31 -0
  1168. package/src/hooks/useCreateWSRColumnBase.ts +56 -0
  1169. package/src/hooks/useCustomFieldsWidget.ts +53 -0
  1170. package/src/hooks/useDateRangeFilterState.ts +31 -0
  1171. package/src/hooks/useDropdownPlaceholder.ts +62 -0
  1172. package/src/hooks/useDropdownSelectFilterState.ts +29 -0
  1173. package/src/hooks/useEmptyStateTexts.ts +40 -0
  1174. package/src/hooks/useEntity.ts +9 -0
  1175. package/src/hooks/useEntityPage.ts +30 -0
  1176. package/src/hooks/useEntityPageChild/index.ts +1 -0
  1177. package/src/hooks/useEntityPageChild/useEntityPageChild.tsx +41 -0
  1178. package/src/hooks/useExtensionMenuItems.tsx +30 -0
  1179. package/src/hooks/useFilterCollection/index.ts +1 -0
  1180. package/src/hooks/useFilterCollection/useFilterCollection.ts +87 -0
  1181. package/src/hooks/useFilterCollectionStates.tsx +123 -0
  1182. package/src/hooks/useFixMissingContactsViews.ts +95 -0
  1183. package/src/hooks/useGridCollection.ts +32 -0
  1184. package/src/hooks/useGridFolders.ts +49 -0
  1185. package/src/hooks/useIsMobile.ts +10 -0
  1186. package/src/hooks/useIsScrollTop.ts +20 -0
  1187. package/src/hooks/useItemsSelectionFilter/index.ts +5 -0
  1188. package/src/hooks/useItemsSelectionFilter/useItemsSelectionFilter.ts +160 -0
  1189. package/src/hooks/useKanban.ts +83 -0
  1190. package/src/hooks/useMigrateOrdersViews.ts +97 -0
  1191. package/src/hooks/useNestedTable.ts +93 -0
  1192. package/src/hooks/useOptionalCachedState.ts +93 -0
  1193. package/src/hooks/usePageHeader.ts +27 -0
  1194. package/src/hooks/usePageHeaderNew.ts +26 -0
  1195. package/src/hooks/usePickerContent/index.ts +2 -0
  1196. package/src/hooks/usePickerContent/usePickerContent.spec.tsx +84 -0
  1197. package/src/hooks/usePickerContent/usePickerContent.ts +94 -0
  1198. package/src/hooks/usePickerContent/usePickerContentState.ts +64 -0
  1199. package/src/hooks/usePickerModal/PickerModalState.ts +491 -0
  1200. package/src/hooks/usePickerModal/UsePickerModalParamsBase.ts +127 -0
  1201. package/src/hooks/usePickerModal/index.ts +8 -0
  1202. package/src/hooks/usePickerModal/usePickerModal.ts +32 -0
  1203. package/src/hooks/usePickerModal/usePickerModalState.ts +93 -0
  1204. package/src/hooks/usePickerStandalone/index.ts +1 -0
  1205. package/src/hooks/usePickerStandalone/usePickerStandalone.spec.tsx +139 -0
  1206. package/src/hooks/usePickerStandalone/usePickerStandalone.ts +117 -0
  1207. package/src/hooks/usePromiseState.ts +70 -0
  1208. package/src/hooks/useRafRender.ts +17 -0
  1209. package/src/hooks/useSettings.ts +9 -0
  1210. package/src/hooks/useSettingsPage.ts +26 -0
  1211. package/src/hooks/useSettingsPageChild/index.ts +1 -0
  1212. package/src/hooks/useSettingsPageChild/useSettingsPageChild.tsx +41 -0
  1213. package/src/hooks/useStaticListFilterCollection.ts +59 -0
  1214. package/src/hooks/useSyncCollectionOnEntityCreate.ts +45 -0
  1215. package/src/hooks/useSyncCollectionOnEntityReturn.ts +154 -0
  1216. package/src/hooks/useSyncCollectionOnEntityUpdate.ts +69 -0
  1217. package/src/hooks/useSyncTotal.ts +28 -0
  1218. package/src/hooks/useTableCollection.ts +43 -0
  1219. package/src/hooks/useTableFolders.ts +49 -0
  1220. package/src/hooks/useTableGridSwitchCollection.ts +40 -0
  1221. package/src/hooks/useTableGridSwitchFolders.ts +51 -0
  1222. package/src/hooks/useTableRoundedCornersEnabled.ts +6 -0
  1223. package/src/hooks/useTagsWidget.ts +67 -0
  1224. package/src/hooks/useViews.ts +49 -0
  1225. package/src/hooks/useWidgetForm.ts +11 -0
  1226. package/src/index.ts +241 -0
  1227. package/src/minimalRequiredWdsRuntimeCheck.ts +16 -0
  1228. package/src/model/filterProps.ts +85 -0
  1229. package/src/model/index.ts +3 -0
  1230. package/src/model/tableColumn.ts +150 -0
  1231. package/src/model/view.ts +138 -0
  1232. package/src/nextjs/styleableDecorator.ts +55 -0
  1233. package/src/providers/CairoProvider.tsx +43 -0
  1234. package/src/providers/CollectionPageContext.ts +6 -0
  1235. package/src/providers/DropdownTranslationProvider.tsx +64 -0
  1236. package/src/providers/EntityPageContext.ts +19 -0
  1237. package/src/providers/FilterToolbarState.ts +21 -0
  1238. package/src/providers/FilterTranslationProvider.tsx +36 -0
  1239. package/src/providers/FormPageContext.ts +5 -0
  1240. package/src/providers/PageContext.ts +5 -0
  1241. package/src/providers/ScrollableContentContext.ts +20 -0
  1242. package/src/providers/SettingsPageContext.ts +19 -0
  1243. package/src/providers/TableContext.ts +15 -0
  1244. package/src/providers/WidgetsFormContext.ts +5 -0
  1245. package/src/providers/WixPatternsBaseProvider.tsx +44 -0
  1246. package/src/providers/WixPatternsMinimalEssentials.ts +11 -0
  1247. package/src/providers/WixPatternsRouterProvider.tsx +28 -0
  1248. package/src/providers/index.ts +12 -0
  1249. package/src/reach-bottom-listener/index.ts +3 -0
  1250. package/src/reach-bottom-listener/reachBottomListener.ts +151 -0
  1251. package/src/reach-bottom-listener/scrollPosition.ts +39 -0
  1252. package/src/reach-bottom-listener/scrollableWindow.ts +35 -0
  1253. package/src/services/index.ts +1 -0
  1254. package/src/services/viewsService.ts +233 -0
  1255. package/src/services/withCairoViewsTestFlag.ts +17 -0
  1256. package/src/sledPage.ts +5 -0
  1257. package/src/state/AdditionalStepState.ts +30 -0
  1258. package/src/state/BulkActionToolbarState.ts +298 -0
  1259. package/src/state/CollectionFilterState.ts +25 -0
  1260. package/src/state/CollectionPage/CollectionPageHeader.st.css +15 -0
  1261. package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +25 -0
  1262. package/src/state/CollectionPage/index.ts +2 -0
  1263. package/src/state/CollectionPage/pushFactoryIfNotExistsOrAddToTopOfGroup.ts +52 -0
  1264. package/src/state/CollectionPage/useCollectionPageContent.tsx +7 -0
  1265. package/src/state/CollectionPage/useCollectionPageHeader.tsx +105 -0
  1266. package/src/state/CollectionReachBottom.ts +61 -0
  1267. package/src/state/CollectionViewsQueryCompareHelper.ts +224 -0
  1268. package/src/state/CollectionViewsState.ts +445 -0
  1269. package/src/state/CollectionViewsStateBIReporter.ts +291 -0
  1270. package/src/state/CustomColumnsDragAndDropState.ts +145 -0
  1271. package/src/state/CustomColumnsHistoryState.ts +92 -0
  1272. package/src/state/CustomColumnsState.ts +500 -0
  1273. package/src/state/CustomFields/CustomFieldsAllNamespacesFormState.ts +133 -0
  1274. package/src/state/CustomFields/CustomFieldsFormState.ts +203 -0
  1275. package/src/state/CustomFields/CustomFieldsPanelState.ts +80 -0
  1276. package/src/state/CustomFields/CustomFieldsWidgetState.ts +324 -0
  1277. package/src/state/CustomFields/index.ts +3 -0
  1278. package/src/state/DateRangeFilterState.ts +44 -0
  1279. package/src/state/DateRangePickerState.ts +378 -0
  1280. package/src/state/DragAndDrop/createOptimisticActionsOrderByModeReaction.ts +21 -0
  1281. package/src/state/DropdownCollectionFilterState.ts +103 -0
  1282. package/src/state/DropdownSelectFilterState.ts +46 -0
  1283. package/src/state/DropdownSelectState.ts +202 -0
  1284. package/src/state/EntityPage/EntityPageState.ts +407 -0
  1285. package/src/state/EntityPage/EntityPageStateBIReporter.ts +138 -0
  1286. package/src/state/EntityPage/index.ts +3 -0
  1287. package/src/state/EntityPage/useEntityPageContent.tsx +20 -0
  1288. package/src/state/EntityPage/useEntityPageHeader.tsx +41 -0
  1289. package/src/state/ExtensionMenuItemsState.ts +70 -0
  1290. package/src/state/ExtensionsState.ts +54 -0
  1291. package/src/state/FeaturesAvailabilityBIParams.ts +26 -0
  1292. package/src/state/FilterValueTotalState.ts +150 -0
  1293. package/src/state/FoldersAndItemsCollectionsState.ts +164 -0
  1294. package/src/state/FormPage/FormFooter.tsx +30 -0
  1295. package/src/state/FormPage/FormPageHeader.st.css +15 -0
  1296. package/src/state/FormPage/FormPageHeader.st.css.ts +25 -0
  1297. package/src/state/FormPage/index.ts +2 -0
  1298. package/src/state/FormPage/useFormPageContent.tsx +121 -0
  1299. package/src/state/FormPage/useFormPageHeader.tsx +84 -0
  1300. package/src/state/GridBaseState.ts +333 -0
  1301. package/src/state/GridFoldersBIReporter.ts +46 -0
  1302. package/src/state/GridFoldersState.ts +222 -0
  1303. package/src/state/GridParentState.ts +8 -0
  1304. package/src/state/GridState.ts +86 -0
  1305. package/src/state/ICollectionComponentState.ts +5 -0
  1306. package/src/state/IndeterminateMapState.ts +84 -0
  1307. package/src/state/IntersectionObserverState.ts +47 -0
  1308. package/src/state/ItemActionsState.tsx +93 -0
  1309. package/src/state/KanbanState/KanbanDragEndEvent.ts +5 -0
  1310. package/src/state/KanbanState/KanbanStageState.ts +201 -0
  1311. package/src/state/KanbanState/KanbanState.ts +674 -0
  1312. package/src/state/KanbanState/KanbanStateBIReporter.ts +316 -0
  1313. package/src/state/KanbanState/index.ts +2 -0
  1314. package/src/state/MultiLevelSortingDragAndDrop.ts +146 -0
  1315. package/src/state/MultiLevelSortingState.ts +345 -0
  1316. package/src/state/NestedTableState/NestedCollectionFetchAllCollectionState.ts +235 -0
  1317. package/src/state/NestedTableState/NestedCollectionFetchAllState.ts +138 -0
  1318. package/src/state/NestedTableState/NestedCollectionLevelDescriptor.ts +38 -0
  1319. package/src/state/NestedTableState/NestedCollectionNodeState.ts +181 -0
  1320. package/src/state/NestedTableState/NestedCollectionState.ts +81 -0
  1321. package/src/state/NestedTableState/NestedTableColumn.ts +8 -0
  1322. package/src/state/NestedTableState/NestedTableFlatModeSectionState.ts +116 -0
  1323. package/src/state/NestedTableState/NestedTableFlatModeState.ts +251 -0
  1324. package/src/state/NestedTableState/NestedTableFlatModeStateBIReporter.ts +46 -0
  1325. package/src/state/NestedTableState/NestedTableLeafNodeState.ts +54 -0
  1326. package/src/state/NestedTableState/NestedTableLevelDescriptor.ts +54 -0
  1327. package/src/state/NestedTableState/NestedTableNestedModeState.ts +284 -0
  1328. package/src/state/NestedTableState/NestedTableNestedModeStateBIReporter.ts +26 -0
  1329. package/src/state/NestedTableState/NestedTableNodeState.ts +569 -0
  1330. package/src/state/NestedTableState/NestedTableNodeStateBIReporter.ts +59 -0
  1331. package/src/state/NestedTableState/NestedTableNodeStateOptimisticActions.ts +88 -0
  1332. package/src/state/NestedTableState/NestedTableNodeStatePublicAPI.ts +58 -0
  1333. package/src/state/NestedTableState/NestedTableState.ts +370 -0
  1334. package/src/state/NestedTableState/createNestedOptimisticActions.ts +56 -0
  1335. package/src/state/NestedTableState/createNestedTableLevel.ts +24 -0
  1336. package/src/state/NestedTableState/createParentIdPredicate.ts +30 -0
  1337. package/src/state/NestedTableState/getNodeOrLeaf.ts +19 -0
  1338. package/src/state/NestedTableState/index.ts +9 -0
  1339. package/src/state/NestedTableState/types.ts +11 -0
  1340. package/src/state/PickerContentState.ts +392 -0
  1341. package/src/state/PickerContentStateBI.ts +70 -0
  1342. package/src/state/PickerStandaloneState.ts +381 -0
  1343. package/src/state/RectState.ts +140 -0
  1344. package/src/state/ResizeObserverState.ts +33 -0
  1345. package/src/state/Responsive/HorizontalOverflowState.ts +85 -0
  1346. package/src/state/Responsive/HorizontalSpaceAvailableState.ts +86 -0
  1347. package/src/state/ResponsiveColumnsState.ts +68 -0
  1348. package/src/state/ScrollState.ts +68 -0
  1349. package/src/state/SelectFieldState.ts +65 -0
  1350. package/src/state/SettingsPage/SettingsPageState.ts +276 -0
  1351. package/src/state/SettingsPage/SettingsPageStateBIReporter.ts +134 -0
  1352. package/src/state/SettingsPage/useSettingsPageContent.tsx +20 -0
  1353. package/src/state/SettingsPage/useSettingsPageHeader.tsx +31 -0
  1354. package/src/state/SidePanelsState.ts +103 -0
  1355. package/src/state/TableFoldersState.ts +239 -0
  1356. package/src/state/TableGridSwitchFoldersState.ts +107 -0
  1357. package/src/state/TableGridSwitchState.ts +94 -0
  1358. package/src/state/TableState.ts +228 -0
  1359. package/src/state/TableVirtualState.ts +181 -0
  1360. package/src/state/TagsBulkAssignAsyncState.ts +409 -0
  1361. package/src/state/TagsBulkAssignButtonState.ts +28 -0
  1362. package/src/state/TagsBulkAssignPopoverState.ts +454 -0
  1363. package/src/state/TagsBulkAssignSyncState.ts +196 -0
  1364. package/src/state/TagsCollectionState.ts +143 -0
  1365. package/src/state/TagsModalState.ts +475 -0
  1366. package/src/state/Toolbar/ToolbarResponsivePriorityState.ts +110 -0
  1367. package/src/state/Toolbar/ToolbarResponsiveState.ts +131 -0
  1368. package/src/state/ToolbarBIReporter.ts +238 -0
  1369. package/src/state/ToolbarCollectionState.ts +900 -0
  1370. package/src/state/ViewTypeState.ts +70 -0
  1371. package/src/state/ViewsHistoryState.ts +63 -0
  1372. package/src/state/ViewsLocalSearchBIReporter.ts +132 -0
  1373. package/src/state/ViewsLocalSearchState.ts +146 -0
  1374. package/src/state/ViewsState.ts +699 -0
  1375. package/src/state/WixPatternsRouterState.ts +51 -0
  1376. package/src/state/getToolbarCollectionFeaturesInitializers.ts +48 -0
  1377. package/src/state/gridSizePresets.ts +111 -0
  1378. package/src/state/index.ts +34 -0
  1379. package/src/state/indexOfCompareFn.ts +25 -0
  1380. package/src/state/initCustomColumns.ts +22 -0
  1381. package/src/state/initTabTotal.ts +32 -0
  1382. package/src/state/presetsToCategories.ts +25 -0
  1383. package/src/state/setViewsState.ts +37 -0
  1384. package/src/state/simplifyColumns.ts +35 -0
  1385. package/src/state/simplifyExtendedColumns.tsx +95 -0
  1386. package/src/state/toolbarFeatureInitializer.ts +9 -0
  1387. package/src/state/warmUpPickerStandalone.ts +22 -0
  1388. package/src/stylable-esm-runtime.ts +90 -0
  1389. package/src/styles.global.css +1 -0
  1390. package/src/test-types.d.ts +1 -0
  1391. package/src/test-utils/AppsMocks.ts +56 -0
  1392. package/src/test-utils/AsyncJobMocks.ts +85 -0
  1393. package/src/test-utils/CairoTestApp.tsx +139 -0
  1394. package/src/test-utils/CairoTestAppRouter.tsx +21 -0
  1395. package/src/test-utils/DataExtensionMocks.ts +84 -0
  1396. package/src/test-utils/ExportMocks.ts +46 -0
  1397. package/src/test-utils/ExtensionWidget.tsx +53 -0
  1398. package/src/test-utils/HttpErrorMocks.tsx +29 -0
  1399. package/src/test-utils/ItemsSelectionMocks.ts +51 -0
  1400. package/src/test-utils/MultiSelectCheckboxStaticListFilter.tsx +27 -0
  1401. package/src/test-utils/OrdersMocks.ts +98 -0
  1402. package/src/test-utils/Router.tsx +58 -0
  1403. package/src/test-utils/SettingsModalLayout.tsx +146 -0
  1404. package/src/test-utils/SingleSelectFilter.tsx +23 -0
  1405. package/src/test-utils/TagsMocks.ts +273 -0
  1406. package/src/test-utils/ToastState.ts +29 -0
  1407. package/src/test-utils/WixPatternsEssentialsTestProvider.tsx +124 -0
  1408. package/src/test-utils/columns.ts +17 -0
  1409. package/src/test-utils/createPromise.ts +22 -0
  1410. package/src/test-utils/createSitesBackend.ts +36 -0
  1411. package/src/test-utils/createStatusesBackend.ts +33 -0
  1412. package/src/test-utils/dataExtensionServiceMocks.ts +82 -0
  1413. package/src/test-utils/flush.ts +41 -0
  1414. package/src/test-utils/getUniDriverStyle.ts +10 -0
  1415. package/src/test-utils/index.ts +14 -0
  1416. package/src/test-utils/site.ts +6 -0
  1417. package/src/test-utils/status.ts +4 -0
  1418. package/src/test-utils/statusFilters.ts +3 -0
  1419. package/src/test-utils/tagsServiceMocks.ts +68 -0
  1420. package/src/test-utils/toast.ts +13 -0
  1421. package/src/test-utils/viewsServiceTestkit.ts +176 -0
  1422. package/src/testkit/backend.ts +1 -0
  1423. package/src/testkit/enzyme.ts +78 -0
  1424. package/src/testkit/jsdom.ts +104 -0
  1425. package/src/testkit/playwright.ts +92 -0
  1426. package/src/testkit/puppeteer.ts +95 -0
  1427. package/src/unidriver/baseUniDriverFactory.ts +11 -0
  1428. package/src/unidriver/index.ts +1 -0
  1429. package/src/useSelector.ts +9 -0
  1430. package/src/utils/assertProp.ts +13 -0
  1431. package/src/utils/datesUtil.ts +71 -0
  1432. package/src/utils/getCollectionComponentUniqueId.ts +7 -0
  1433. package/src/utils/isErrorResponse.ts +10 -0
  1434. package/src/utils/matchMediaQuery.ts +30 -0
  1435. package/src/utils/minimalRequiredRuntimeCheck.ts +22 -0
  1436. package/src/utils/replaceUrlCurlySegments.ts +53 -0
  1437. package/src/utils/useWindowFlipPopoverProps.ts +32 -0
  1438. package/src/utils/validateEncodedUrl.ts +22 -0
  1439. package/src/utils/wordStartsWithMatch.ts +7 -0
  1440. package/src/version.ts +1 -0
  1441. package/src/wix-design-system-version.ts +1 -0
@@ -0,0 +1,42 @@
1
+ import React, { useCallback } from 'react';
2
+ import { Box, Pagination, PaginationProps } from '@wix/design-system';
3
+ import { observer } from 'mobx-react-lite';
4
+ import { CollectionStateProps } from './collectionStateProps';
5
+ import { FiltersMap } from '@wix/bex-core';
6
+ import { useScrollableContentContext } from '../providers';
7
+
8
+ export interface CollectionPaginationProps<T, F extends FiltersMap>
9
+ extends CollectionStateProps<T, F>,
10
+ Partial<PaginationProps> {}
11
+
12
+ export const CollectionPagination = observer(function PaginationTable<
13
+ T,
14
+ F extends FiltersMap,
15
+ >({ state, ...rest }: CollectionPaginationProps<T, F>) {
16
+ const {
17
+ result: { status },
18
+ totalPages,
19
+ query: { pagination },
20
+ } = state;
21
+
22
+ const { scrollableContentRef } = useScrollableContentContext();
23
+ const showPagination = totalPages > 0 && !status.isLoading;
24
+
25
+ const onPageChange = useCallback(async ({ page }: { page: number }) => {
26
+ scrollableContentRef?.current?.scrollTo({ top: 0 });
27
+ await state.clearAndMoveToPage(page);
28
+ }, []);
29
+
30
+ return (
31
+ <Box align="center" padding="SP8">
32
+ {showPagination && (
33
+ <Pagination
34
+ totalPages={totalPages}
35
+ currentPage={pagination.page}
36
+ onChange={onPageChange}
37
+ {...rest}
38
+ />
39
+ )}
40
+ </Box>
41
+ );
42
+ });
@@ -0,0 +1,54 @@
1
+ import { observer } from 'mobx-react-lite';
2
+ import { Search, SearchProps } from '@wix/design-system';
3
+ import React, { CSSProperties } from 'react';
4
+ import { FiltersMap } from '@wix/bex-core';
5
+ import { useCollectionContext } from '@wix/bex-core/react';
6
+
7
+ export interface CollectionSearchProps extends Partial<SearchProps> {
8
+ onSearchChange?: (value: string) => unknown;
9
+ onSearchClick?: () => unknown;
10
+ onSearchBlur?: (value: string) => unknown;
11
+ visibility?: CSSProperties['visibility'];
12
+ }
13
+
14
+ export const CollectionSearch = observer(function CollectionSearch<
15
+ T,
16
+ F extends FiltersMap = FiltersMap,
17
+ >({
18
+ onSearchChange,
19
+ onSearchClick,
20
+ onSearchBlur,
21
+ visibility,
22
+ ...rest
23
+ }: CollectionSearchProps) {
24
+ const collection = useCollectionContext<T, F>();
25
+ const {
26
+ query: { search },
27
+ translate: t,
28
+ } = collection;
29
+
30
+ return (
31
+ <Search
32
+ dataHook="collection-search"
33
+ onChange={(e) => {
34
+ const value = e.target.value;
35
+ collection.search(e.target.value, { clearResult: true });
36
+ onSearchChange?.(value);
37
+ }}
38
+ value={search.value}
39
+ onClear={() => {
40
+ const value = '';
41
+ collection.clearSearch();
42
+ onSearchChange?.(value);
43
+ }}
44
+ placeholder={t('cairo.searchPlaceholder', { defaultValue: '' })}
45
+ onInputClicked={() => onSearchClick?.()}
46
+ textOverflow="ellipsis"
47
+ onBlur={(e) => {
48
+ const value = e.target.value;
49
+ onSearchBlur?.(value);
50
+ }}
51
+ {...rest}
52
+ />
53
+ );
54
+ });
@@ -0,0 +1,57 @@
1
+ import {
2
+ SectionHeader,
3
+ SectionHeaderProps,
4
+ Text,
5
+ CounterBadge,
6
+ Box,
7
+ } from '@wix/design-system';
8
+ import React from 'react';
9
+ import { CollectionSectionHeaderActionBar } from './CollectionSectionHeaderActionBar';
10
+ import { Section } from './CollectionSectionHeader.types';
11
+
12
+ export interface CollectionSectionHeaderProps
13
+ extends Pick<SectionHeaderProps, 'skin' | 'dataHook'> {
14
+ section: Section & { count: number; hasMore?: boolean };
15
+ biComponentType: string;
16
+ }
17
+
18
+ export const CollectionSectionHeader = ({
19
+ section,
20
+ skin,
21
+ dataHook,
22
+ biComponentType,
23
+ }: CollectionSectionHeaderProps) => {
24
+ const title = (
25
+ <Box verticalAlign="middle" gap="SP1">
26
+ <Text size="small" weight="normal">
27
+ {section.title}
28
+ </Text>
29
+ {section.badge?.visible && (
30
+ <CounterBadge
31
+ truncate={false}
32
+ skin={section.badge.skin || 'light'}
33
+ dataHook="section-header-badge"
34
+ >
35
+ {section.count}
36
+ {section.hasMore ? '+' : ''}
37
+ </CounterBadge>
38
+ )}
39
+ </Box>
40
+ );
41
+
42
+ return (
43
+ <SectionHeader
44
+ dataHook={dataHook}
45
+ title={title}
46
+ skin={skin}
47
+ divider="none"
48
+ size="small"
49
+ suffix={
50
+ <CollectionSectionHeaderActionBar
51
+ section={section}
52
+ biComponentType={biComponentType}
53
+ />
54
+ }
55
+ />
56
+ );
57
+ };
@@ -0,0 +1,29 @@
1
+ import { CtaBaseProps } from '../CtaProps';
2
+
3
+ export interface Section {
4
+ /**
5
+ * A unique identifier for the section.
6
+ * @external
7
+ */
8
+ id: string;
9
+ /**
10
+ * A title for the section.
11
+ * @external
12
+ */
13
+ title: string;
14
+ /**
15
+ * A primary call to action for the section.
16
+ * @overrideType [CtaBaseProps](./?path=/story/common-types--ctabaseprops)
17
+ * @external
18
+ */
19
+ primaryAction?: CtaBaseProps;
20
+ /**
21
+ * A badge for the section.
22
+ * @external
23
+ */
24
+ badge?: {
25
+ visible: boolean;
26
+ skin?: 'light' | 'danger' | 'neutralLight';
27
+ };
28
+ }
29
+ export type RenderSection<T> = (item: T) => Section;
@@ -0,0 +1,22 @@
1
+ import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
2
+ import {
3
+ SectionHeaderUniDriver,
4
+ TextButtonUniDriver,
5
+ CounterBadgeUniDriver,
6
+ } from '@wix/design-system/dist/testkit/unidriver';
7
+
8
+ export function CollectionSectionHeaderUniDriver(
9
+ base: UniDriver,
10
+ body: UniDriver,
11
+ ) {
12
+ return {
13
+ ...SectionHeaderUniDriver(base, body),
14
+ getPrimaryAction: () =>
15
+ TextButtonUniDriver(
16
+ base.$('[data-hook="collection-section-header-primary-action"]'),
17
+ body,
18
+ ),
19
+ getBadge: () =>
20
+ CounterBadgeUniDriver(base.$('[data-hook="section-header-badge"]'), body),
21
+ };
22
+ }
@@ -0,0 +1,45 @@
1
+ import { Box, TextButton } from '@wix/design-system';
2
+ import React from 'react';
3
+ import { Section } from './CollectionSectionHeader.types';
4
+ import { useToolbarCollectionContext } from '../ToolbarCollectionContext';
5
+ import { wixPatternsSectionHeaderPrimaryActionClicked } from '@wix/bex-core/bi';
6
+
7
+ export interface CollectionSectionHeaderActionBarProps {
8
+ section: Section;
9
+ biComponentType: string;
10
+ }
11
+
12
+ export const CollectionSectionHeaderActionBar = ({
13
+ section,
14
+ biComponentType,
15
+ }: CollectionSectionHeaderActionBarProps) => {
16
+ const { toolbarBIReporter } = useToolbarCollectionContext();
17
+ const { primaryAction } = section;
18
+
19
+ const handleClick = () => {
20
+ toolbarBIReporter.reportBi(
21
+ wixPatternsSectionHeaderPrimaryActionClicked({
22
+ sectionId: section.id,
23
+ cta: primaryAction?.id,
24
+ componentType: biComponentType,
25
+ }),
26
+ );
27
+
28
+ primaryAction?.onClick?.();
29
+ };
30
+
31
+ return (
32
+ <Box direction="horizontal">
33
+ {primaryAction && (
34
+ <TextButton
35
+ prefixIcon={primaryAction.prefixIcon}
36
+ dataHook="collection-section-header-primary-action"
37
+ onClick={handleClick}
38
+ size="small"
39
+ >
40
+ {primaryAction.label}
41
+ </TextButton>
42
+ )}
43
+ </Box>
44
+ );
45
+ };
@@ -0,0 +1,6 @@
1
+ export {
2
+ CollectionSectionHeader,
3
+ CollectionSectionHeaderProps,
4
+ } from './CollectionSectionHeader';
5
+
6
+ export * from './CollectionSectionHeader.types';
@@ -0,0 +1,11 @@
1
+ .root {
2
+ -st-states: mobile;
3
+ }
4
+
5
+ .root:mobile td:first-child {
6
+ padding-left: 18px;
7
+ }
8
+
9
+ .root:mobile td:last-child {
10
+ padding-right: 18px;
11
+ }
@@ -0,0 +1,25 @@
1
+ // @ts-nocheck
2
+
3
+
4
+ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
+
6
+
7
+
8
+ var _namespace_ = "CollectionTable4261317431";
9
+ var _style_ = classesRuntime.bind(null, _namespace_);
10
+
11
+ export var cssStates = statesRuntime.bind(null, _namespace_);
12
+ export var style = _style_;
13
+ export var st: import("@stylable/runtime").STFunction = _style_;
14
+
15
+ export var namespace = _namespace_;
16
+ export var classes = {"root":"CollectionTable4261317431__root"};
17
+ export var keyframes = {};
18
+ export var layers = {};
19
+ export var containers = {};
20
+ export var stVars = {};
21
+ export var vars = {};
22
+
23
+
24
+
25
+
@@ -0,0 +1,394 @@
1
+ import { Table, TableColumn as WSRTableColumn } from '@wix/design-system';
2
+ import React, { ReactElement } from 'react';
3
+ import { observer } from 'mobx-react-lite';
4
+ import { FiltersMap, KeyedItem } from '@wix/bex-core';
5
+ import { CollectionCard } from '../CollectionCard';
6
+ import { TableColumn } from '../../model';
7
+ import { TableState } from '../../state';
8
+ import { useTableCollectionSyncProps } from './useTableCollectionSyncProps';
9
+ import type { TableDragAndDropType } from '../TableDragAndDrop';
10
+ import {
11
+ CollectionTableWSRTable,
12
+ CollectionTableWSRTableBaseProps,
13
+ } from './CollectionTableWSRTable';
14
+ import { CollectionTableContent } from './CollectionTableContent';
15
+ import { PageInfiniteScrollLoader } from '../PageInfiniteScrollLoader';
16
+ import { useActionCellColumn } from '../ActionCell';
17
+ import {
18
+ BulkActionModalRenderProp,
19
+ BulkActionToolbarRenderProp,
20
+ SingleCollectionBulkActionModal,
21
+ SingleCollectionBulkActionToolbar,
22
+ } from '../BulkAction';
23
+ import { CollectionTableActionCellProps } from './CollectionTableBaseCommonProps';
24
+ import {
25
+ type DataExtensionElement,
26
+ DataExtensionProps,
27
+ type DataExtensionType,
28
+ } from '../DataExtension';
29
+ import { useCreateWSRColumnBase } from '../../hooks/useCreateWSRColumnBase';
30
+ import type { TagsElement } from '../Tags';
31
+ import { TablePlaceholderStates } from '../TablePlaceholderStates/TablePlaceholderStates';
32
+ import { useScrollableContentContext } from '../../providers';
33
+ import { isValidElement } from '../isValidElement';
34
+ import { st, classes } from './CollectionTable.st.css.js';
35
+ import { useIsMobile } from '../../hooks/useIsMobile';
36
+
37
+ export interface CollectionTableBaseProps<T, F extends FiltersMap>
38
+ extends CollectionTableWSRTableBaseProps<T, T, F>,
39
+ CollectionTableActionCellProps<T, F> {
40
+ /**
41
+ * Defines the columns of the table. Accepts an array of [`TableColumn`](./?path=/story/common-types--tablecolumn) objects.
42
+ * @overrideType [TableColumn](./?path=/story/common-types--tablecolumn)[]
43
+ * @external
44
+ */
45
+ columns: TableColumn<T>[];
46
+
47
+ /**
48
+ * Whether to show a checkbox column for selecting items.
49
+ * @default false
50
+ * @external
51
+ */
52
+ showSelection?: boolean;
53
+ /**
54
+ * A callback method to be called on row click. Signature: `onRowClick(rowData, rowNum)`. To enable hover effect you should set this prop.
55
+ * @external
56
+ */
57
+ onRowClick?: (item: T, index: number) => void;
58
+ /**
59
+ * A [`<ExportButton />`](./?path=/story/features-export--exportto) react element to be added to the toolbar.
60
+ */
61
+ exportButton?: ReactElement;
62
+
63
+ /**
64
+ * Adds functionality to allow visitors to reorder items manually.
65
+ * For more information, see the [Drag and Drop Overview](./?path=/story/features-sort-drag-and-drop--overview).
66
+ * @overrideType [TableDragAndDrop](./?path=/story/features-sort-drag-and-drop--tabledraganddrop)
67
+ * @external
68
+ */
69
+ dragAndDrop?: TableDragAndDropType;
70
+
71
+ /**
72
+ * Data extension implementation: `import { DataExtension } from '@wix/patterns';`
73
+ */
74
+ dataExtension?: DataExtensionType | DataExtensionElement;
75
+
76
+ tags?: TagsElement<T, F>;
77
+
78
+ /**
79
+ * A function that receives the item of the row and returns a string for tooltip content.
80
+ * @external
81
+ */
82
+ checkboxTooltipContent?: (rowData: KeyedItem<T>) => string | undefined;
83
+
84
+ /**
85
+ * Render a custom toolbar when more than 1 item is selected.<br>
86
+ * The function accepts the following parameters
87
+ * * `selectedValues`: The items that were checked via the selection column
88
+ * * `uncheckedValues`: The items that were unchecked via the selection column
89
+ * * `allSelected`: Indicates whether the "Select All" checkbox is checked
90
+ * * `openModal`: Opens the modal that contains the component from `bulkActionModal` render prop
91
+ * * `clearSelection`: Clears all existing selection, call this after the action on the selected items was done
92
+ * * `total`: Total items in the server (taken from [`fetchData`](./?path=/story/common-hooks--usecollection) return value).
93
+ * * `openConfirmModal`: Opens a `<MessageModalLayout/>` to confirm an action about to be applied on the selected items.
94
+ * * `query`: ComputedQuery<F> - Representation of the current paging, sorting & filtering applied. Usually for using together with bulk action such as `updateAll` and `deleteAll`
95
+ *
96
+ * > When passed, enables `showSelection` by default.
97
+ * @external
98
+ */
99
+ bulkActionToolbar?: BulkActionToolbarRenderProp<T, F>;
100
+ /**
101
+ * Opens a modal from the [`MultiBulkActionToolbar`](./?path=/story/features-actions-bulk-actions--multibulkactiontoolbar).
102
+ * Supported parameters:
103
+ * + `selectedValues`: Selected item values.
104
+ * + `uncheckedValues`: Unselected item values.
105
+ * + `isSelectAll`: [bool] Whether the **Select All** option is selected.
106
+ * + `closeModal`: Closes the modal.
107
+ * + `query`: [object] Instance of [ComputedQuery](./?path=/story/common-types--computedquery) that represents the query that resulted in an empty state. Representation of the current paging, sorting and filtering applied. Usually for using together with bulk action such as `updateAll` and `deleteAll`.
108
+ * @external
109
+ */
110
+ bulkActionModal?: BulkActionModalRenderProp<T, F>;
111
+ }
112
+
113
+ export interface CollectionTableProps<T, F extends FiltersMap>
114
+ extends CollectionTableBaseProps<T, F> {
115
+ state: TableState<T, F>;
116
+ keyedItems?: KeyedItem<T>[];
117
+ }
118
+
119
+ function _CollectionTable<T, F extends FiltersMap = FiltersMap>(
120
+ props: CollectionTableProps<T, F>,
121
+ ) {
122
+ const {
123
+ state: tableState,
124
+ filters,
125
+ title,
126
+ tabs,
127
+ customColumns: customColumnsProp,
128
+ multiLevelSorting: multiLevelSortingProp,
129
+ dataExtension,
130
+ tags,
131
+ views,
132
+ extraToolbar,
133
+ bulkActionToolbar,
134
+ exportButton,
135
+ exportModal,
136
+ bulkActionModal,
137
+ sticky: stickyProp,
138
+ actionCell,
139
+ actionCellWidth,
140
+ actionCellProps,
141
+ columns: columnsProp,
142
+ onRowClick,
143
+ onSortClick,
144
+ showSelection: showSelectionProp,
145
+ search,
146
+ renderError,
147
+ errorState = renderError &&
148
+ (((err, { isOnline, retry }) =>
149
+ renderError?.({
150
+ err,
151
+ isOnline,
152
+ retry,
153
+ })) as CollectionTableProps<T, F>['errorState']),
154
+ emptyState,
155
+ noResultsState,
156
+ children,
157
+ onSelectedItems,
158
+ cardProps,
159
+ minCardHeight,
160
+ dataHook,
161
+ topNotification,
162
+ tableGridSwitchButton,
163
+ useShowLoaderWhenEmpty,
164
+ useNewInfiniteScrollLoader,
165
+ dragAndDrop,
166
+ dragAndDropBulkSubmit,
167
+ dragAndDropSubmit,
168
+ dragAndDropCancel,
169
+ dragAndDropReorderModeToolbar,
170
+ horizontalScroll: horizontalScrollProp,
171
+ stickyColumns,
172
+ stickySelectionColumn,
173
+ hideBulkSelectionCheckbox,
174
+ maxSelection,
175
+ showTitleBar = true,
176
+ BodyElementType,
177
+ isApplyColumnWidthStyle,
178
+ rowVerticalPadding,
179
+ keyedItems,
180
+ ...rest
181
+ } = props;
182
+
183
+ const dataExtensionType = isValidElement<
184
+ DataExtensionProps,
185
+ DataExtensionType
186
+ >(dataExtension)
187
+ ? dataExtension.type
188
+ : dataExtension;
189
+
190
+ const state = tableState.toolbar;
191
+
192
+ const showSelection = showSelectionProp ?? bulkActionToolbar != null;
193
+
194
+ const horizontalScroll =
195
+ horizontalScrollProp ??
196
+ state.container.internalExperiments?.enabled(
197
+ 'specs.cairo.HorizontalScrollAsDefault',
198
+ );
199
+
200
+ const { scrollableContentRef } = useScrollableContentContext();
201
+
202
+ const sticky = stickyProp ?? scrollableContentRef?.current != null;
203
+
204
+ const { collection, internalScroll } = state;
205
+
206
+ const customColumns =
207
+ props.customColumns ||
208
+ (dataExtensionType && <dataExtensionType.CustomColumns />);
209
+
210
+ const isMobile = useIsMobile();
211
+
212
+ useTableCollectionSyncProps({
213
+ ...props,
214
+ dataExtension,
215
+ showSelection,
216
+ customColumns,
217
+ tags,
218
+ isUsingTableVirtualization: !!BodyElementType,
219
+ });
220
+
221
+ const { selectedOrderedColumnsOrAll } = state;
222
+
223
+ const { bulkSelect, query } = collection;
224
+
225
+ const createWSRColumnBase = useCreateWSRColumnBase({ horizontalScroll });
226
+
227
+ const transformedColumns: WSRTableColumn<KeyedItem<T>>[] =
228
+ selectedOrderedColumnsOrAll.map((column, index, { length }) => {
229
+ const {
230
+ render,
231
+ id,
232
+ sortable,
233
+ infoTooltipProps,
234
+ title,
235
+ width,
236
+ style,
237
+ ...restColumn
238
+ } = column;
239
+
240
+ const columnBase = createWSRColumnBase(column, index, length);
241
+
242
+ return {
243
+ ...restColumn,
244
+ ...columnBase,
245
+ ...(isApplyColumnWidthStyle ? undefined : { style, width }),
246
+ sortDescending:
247
+ sortable && id ? query.sort.getIsSortDescending(id) : undefined,
248
+ render: (keyedItem: KeyedItem<T>, rowNum: number) =>
249
+ render(keyedItem.item, rowNum),
250
+ };
251
+ });
252
+
253
+ const actionCellColumn = useActionCellColumn({
254
+ actionCellProps: {
255
+ ...(actionCellProps ?? {}),
256
+ stickyActionCell: horizontalScroll || actionCellProps?.stickyActionCell,
257
+ },
258
+ actionCellWidth,
259
+ collection,
260
+ sticky,
261
+ actionCell,
262
+ });
263
+
264
+ const columnsWithActions: WSRTableColumn<KeyedItem<T>>[] = actionCellColumn
265
+ ? [...transformedColumns, actionCellColumn]
266
+ : transformedColumns;
267
+
268
+ const internalOnSortClick = (col: TableColumn<F>, index: number) => {
269
+ onSortClick?.(col, index);
270
+
271
+ if (col.id != null) {
272
+ state.collection.sort(
273
+ { id: col.id, sortMode: col.sortMode },
274
+ {
275
+ clearResult: true,
276
+ multiple: multiLevelSortingProp !== undefined,
277
+ },
278
+ );
279
+ }
280
+ };
281
+
282
+ const { st: tableRowSt, classes: tableRowClasses } = Table.dataTableRowStyle;
283
+
284
+ let table = (
285
+ <CollectionTableWSRTable
286
+ rowClass={st(classes.root, { mobile: isMobile })}
287
+ {...props}
288
+ topNotification={
289
+ typeof topNotification === 'function'
290
+ ? () => topNotification({ query: collection.result.originQuery })
291
+ : topNotification
292
+ }
293
+ customColumns={customColumns}
294
+ rowVerticalPadding={rowVerticalPadding}
295
+ dragAndDropReorderModeToolbar={dragAndDropReorderModeToolbar}
296
+ selectionToolbar={
297
+ bulkActionToolbar && (
298
+ <SingleCollectionBulkActionToolbar
299
+ state={state}
300
+ bulkActionToolbar={bulkActionToolbar}
301
+ />
302
+ )
303
+ }
304
+ dynamicRowClass={() =>
305
+ tableRowSt(tableRowClasses.root, {
306
+ skin: 'light',
307
+ })
308
+ }
309
+ horizontalScroll={horizontalScroll}
310
+ minCardHeight={minCardHeight}
311
+ sticky={sticky}
312
+ showTitleBar={showTitleBar}
313
+ state={tableState}
314
+ columns={columnsWithActions}
315
+ onSortClick={internalOnSortClick}
316
+ showSelection={showSelection}
317
+ onSelectionChanged={(_selectedIds, _change) => {
318
+ state.onSelectionChanged(_selectedIds, _change);
319
+ onSelectedItems?.(bulkSelect.allSelected, bulkSelect.selectedValues);
320
+ rest.onSelectionChanged?.(_selectedIds, _change);
321
+ }}
322
+ selectionDisabled={(row) => state.bulk.isRowCheckboxDisabled(row)}
323
+ onRowClick={onRowClick && (({ item }, index) => onRowClick(item, index))}
324
+ isApplyColumnWidthStyle={isApplyColumnWidthStyle}
325
+ keyedItems={keyedItems}
326
+ >
327
+ <TablePlaceholderStates
328
+ state={tableState}
329
+ errorState={errorState}
330
+ rowVerticalPadding={rowVerticalPadding}
331
+ emptyState={emptyState}
332
+ noResultsState={
333
+ typeof noResultsState === 'function'
334
+ ? () => {
335
+ const {
336
+ result: { originQuery, hasAvailableItems },
337
+ } = collection;
338
+ return noResultsState({
339
+ hasAvailableItems,
340
+ query: originQuery,
341
+ });
342
+ }
343
+ : noResultsState
344
+ }
345
+ />
346
+
347
+ <CollectionTableContent state={tableState}>
348
+ {useNewInfiniteScrollLoader || internalScroll ? (
349
+ <PageInfiniteScrollLoader
350
+ dataHook="infinite-scroll-loader"
351
+ state={collection}
352
+ scrollMoreAlways
353
+ />
354
+ ) : undefined}
355
+ {children}
356
+ </CollectionTableContent>
357
+ </CollectionTableWSRTable>
358
+ );
359
+
360
+ if (dragAndDrop) {
361
+ const { TableDragAndDropContext } = dragAndDrop;
362
+ table = (
363
+ <TableDragAndDropContext
364
+ state={state}
365
+ onSubmit={dragAndDropSubmit}
366
+ onBulkSubmit={dragAndDropBulkSubmit}
367
+ >
368
+ {table}
369
+ </TableDragAndDropContext>
370
+ );
371
+ }
372
+
373
+ return (
374
+ <CollectionCard
375
+ errorState={errorState}
376
+ state={state}
377
+ dataHook={dataHook}
378
+ dataExtension={dataExtensionType}
379
+ tags={tags}
380
+ {...cardProps}
381
+ >
382
+ {exportModal ?? state.featuredComponents.exportModal.value}
383
+ {bulkActionModal && (
384
+ <SingleCollectionBulkActionModal
385
+ state={state}
386
+ bulkActionModal={bulkActionModal}
387
+ />
388
+ )}
389
+ {table}
390
+ </CollectionCard>
391
+ );
392
+ }
393
+
394
+ export const CollectionTable = observer(_CollectionTable);