@wix/patterns 1.255.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.
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
- package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js +16 -11
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
- package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
- package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
- package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
- package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
- package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTable/NestedTableWSRTable.js +12 -6
- package/dist/cjs/components/NestedTable/NestedTableWSRTable.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
- package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
- package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/cjs/components/common.st.css.js +4 -4
- package/dist/cjs/components/common.st.css.js.map +1 -1
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/esm/components/CardContainer/CardContainer.st.css.js.map +1 -1
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
- package/dist/esm/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js +4 -2
- package/dist/esm/components/CollectionTable/CollectionTableWSRTable.js.map +1 -1
- package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
- package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
- package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
- package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
- package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js +2 -2
- package/dist/esm/components/Fade/Fade.st.css.js.map +1 -1
- package/dist/esm/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
- package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
- package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
- package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
- package/dist/esm/components/NestedTable/NestedTableWSRTable.js +4 -1
- package/dist/esm/components/NestedTable/NestedTableWSRTable.js.map +1 -1
- package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
- package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
- package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
- package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
- package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
- package/dist/esm/components/common.st.css.js +2 -2
- package/dist/esm/components/common.st.css.js.map +1 -1
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/CardContainer/CardContainer.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionPageNew/CollectionPage.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTableWSRTable.d.ts.map +1 -1
- package/dist/types/components/CollectionToolbar/SearchOrCustomFilter.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.st.css.d.ts.map +1 -1
- package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
- package/dist/types/components/Heading/Heading.st.css.d.ts.map +1 -1
- package/dist/types/components/MaxHeightText/MaxHeightText.st.css.d.ts.map +1 -1
- package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableRow.st.css.d.ts.map +1 -1
- package/dist/types/components/NestedTable/NestedTableWSRTable.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
- package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
- package/dist/types/components/SlidingModal/SlidingModal.st.css.d.ts.map +1 -1
- package/dist/types/components/ToolbarItemBox/ToolbarItemBox.st.css.d.ts.map +1 -1
- package/dist/types/components/common.st.css.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +147 -3
- package/src/aiAssistant/aiAssistant.ts +28 -0
- package/src/aiAssistant/createAiAssistant.ts +75 -0
- package/src/aiAssistant/index.ts +2 -0
- package/src/aiAssistant/useAiAssistantContext.ts +14 -0
- package/src/alpha/index.ts +3 -0
- package/src/bm/WixPatternsBMProvider.tsx +79 -0
- package/src/bm/buildBMCairoEssentials.ts +136 -0
- package/src/bm/buildCreateEssentials.ts +64 -0
- package/src/bm/errorMonitorCompat.ts +39 -0
- package/src/bm/testProviderPropsOverrides.ts +23 -0
- package/src/bm/useExperimentsCompat.ts +16 -0
- package/src/bm/usePickerModal.ts +90 -0
- package/src/bm/usePlatformApiCompat.ts +13 -0
- package/src/bm/warmUpPickerStandalone.ts +25 -0
- package/src/bm/withWixPatternsProvider.tsx +14 -0
- package/src/components/ActionCell/ActionCell.ts +75 -0
- package/src/components/ActionCell/index.ts +4 -0
- package/src/components/ActionCell/useActionCellColumn.ts +43 -0
- package/src/components/ActionCell/useActionCellColumnBase.ts +24 -0
- package/src/components/ActionCell/useRenderActionCellColumn.tsx +34 -0
- package/src/components/ActionControl/ActionButton.tsx +37 -0
- package/src/components/ActionControl/ActionControl.tsx +19 -0
- package/src/components/ActionControl/ActionControl.uni.driver.ts +30 -0
- package/src/components/ActionControl/ActionPopover.tsx +75 -0
- package/src/components/ActionControl/ActionSubItemProps.tsx +67 -0
- package/src/components/ActionControl/index.ts +4 -0
- package/src/components/ActionModal/CustomActionModal.tsx +64 -0
- package/src/components/ActionModal/MessageActionModal.tsx +73 -0
- package/src/components/ActionModal/index.ts +2 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.tsx +60 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagList.uni.driver.ts +38 -0
- package/src/components/AppliedFiltersTagList/AppliedFiltersTagListState.tsx +204 -0
- package/src/components/AppliedFiltersTagList/FilterTagContent.tsx +26 -0
- package/src/components/AppliedFiltersTagList/index.ts +1 -0
- package/src/components/AutoCompleteFilter/AutoCompleteFilter.tsx +29 -0
- package/src/components/AutoCompleteFilter/AutoCompleteFilterState.ts +97 -0
- package/src/components/AutoCompleteFilter/index.tsx +1 -0
- package/src/components/BorderOnlyBox.tsx +14 -0
- package/src/components/BulkAction/BulkActionModalRenderProp.ts +41 -0
- package/src/components/BulkAction/BulkActionToolbarRenderProp.ts +14 -0
- package/src/components/BulkAction/MultiCollectionBulkActionModal.tsx +35 -0
- package/src/components/BulkAction/MultiCollectionBulkActionRenderProps.ts +20 -0
- package/src/components/BulkAction/MultiCollectionBulkActionToolbar.tsx +38 -0
- package/src/components/BulkAction/SingleCollectionBulkActionModal.tsx +43 -0
- package/src/components/BulkAction/SingleCollectionBulkActionToolbar.tsx +54 -0
- package/src/components/BulkAction/index.ts +7 -0
- package/src/components/BulkActionButton/BulkActionButton.tsx +26 -0
- package/src/components/BulkActionButton/index.ts +1 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.driver.tsx +61 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.tsx +66 -0
- package/src/components/BulkActionToolbar/BulkActionToolbar.uni.driver.ts +36 -0
- package/src/components/BulkActionToolbar/index.ts +1 -0
- package/src/components/CardContainer/CardContainer.st.css +7 -0
- package/src/components/CardContainer/CardContainer.st.css.ts +25 -0
- package/src/components/CardContainer/CardContainer.tsx +83 -0
- package/src/components/CardContainer/CardContainer.uni.driver.ts +16 -0
- package/src/components/CardContainer/index.ts +1 -0
- package/src/components/Collapse/Collapse.st.css +8 -0
- package/src/components/Collapse/Collapse.st.css.ts +25 -0
- package/src/components/Collapse/Collapse.tsx +152 -0
- package/src/components/Collapse/index.ts +1 -0
- package/src/components/CollectionActionsBar.tsx +16 -0
- package/src/components/CollectionAutoComplete/CollectionAutoComplete.tsx +155 -0
- package/src/components/CollectionAutoComplete/index.tsx +1 -0
- package/src/components/CollectionCard/CollectionCard.tsx +127 -0
- package/src/components/CollectionCard/index.ts +1 -0
- package/src/components/CollectionContext.ts +6 -0
- package/src/components/CollectionEmptyStateBase/CollectionEmptyStateBase.tsx +22 -0
- package/src/components/CollectionEmptyStateBase/index.ts +1 -0
- package/src/components/CollectionErrorState/CollectionErrorState.tsx +55 -0
- package/src/components/CollectionErrorState/index.ts +1 -0
- package/src/components/CollectionFilter/CollectionFilter.tsx +32 -0
- package/src/components/CollectionFilter/CollectionFilterState.ts +97 -0
- package/src/components/CollectionFilter/index.ts +1 -0
- package/src/components/CollectionItemActions/CollectionItemActions.tsx +95 -0
- package/src/components/CollectionItemActions/CollectionItemActions.uni.driver.ts +101 -0
- package/src/components/CollectionItemActions/CollectionItemActionsHelper.ts +131 -0
- package/src/components/CollectionItemActions/getDefaultActionCellProps.ts +6 -0
- package/src/components/CollectionItemActions/index.ts +1 -0
- package/src/components/CollectionListHeader/CollectionListHeader.tsx +46 -0
- package/src/components/CollectionListHeader/index.ts +1 -0
- package/src/components/CollectionListItem/CollectionListChildSlot.tsx +16 -0
- package/src/components/CollectionListItem/CollectionListItem.tsx +49 -0
- package/src/components/CollectionListItem/CollectionListItem.uni.driver.ts +14 -0
- package/src/components/CollectionListItem/index.ts +2 -0
- package/src/components/CollectionListRow/CollectionListRow.tsx +99 -0
- package/src/components/CollectionListRow/index.ts +1 -0
- package/src/components/CollectionModal.tsx +18 -0
- package/src/components/CollectionMultiSelectCheckbox/CollectionMultiSelectCheckbox.tsx +204 -0
- package/src/components/CollectionMultiSelectCheckbox/index.ts +1 -0
- package/src/components/CollectionPage/CollectionPage.tsx +60 -0
- package/src/components/CollectionPage/index.ts +1 -0
- package/src/components/CollectionPageContent/CollectionPageContent.tsx +17 -0
- package/src/components/CollectionPageContent/index.ts +1 -0
- package/src/components/CollectionPageHeader/CollectionPageHeader.tsx +33 -0
- package/src/components/CollectionPageHeader/index.ts +1 -0
- package/src/components/CollectionPageHeaderNew/CollectionPageHeader.tsx +69 -0
- package/src/components/CollectionPageHeaderNew/index.ts +1 -0
- package/src/components/CollectionPageNew/CollectionPage.st.css +9 -0
- package/src/components/CollectionPageNew/CollectionPage.st.css.ts +25 -0
- package/src/components/CollectionPageNew/CollectionPage.tsx +90 -0
- package/src/components/CollectionPageNew/CollectionPage.uni.driver.ts +42 -0
- package/src/components/CollectionPageNew/index.ts +1 -0
- package/src/components/CollectionPageNew/useCollectionPageLoadReporting.ts +74 -0
- package/src/components/CollectionPagination.tsx +42 -0
- package/src/components/CollectionSearch.tsx +54 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.tsx +57 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.types.ts +29 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.uni.driver.ts +22 -0
- package/src/components/CollectionSectionHeader/CollectionSectionHeaderActionBar.tsx +45 -0
- package/src/components/CollectionSectionHeader/index.ts +6 -0
- package/src/components/CollectionTable/CollectionTable.st.css +11 -0
- package/src/components/CollectionTable/CollectionTable.st.css.ts +25 -0
- package/src/components/CollectionTable/CollectionTable.tsx +394 -0
- package/src/components/CollectionTable/CollectionTable.uni.driver.ts +399 -0
- package/src/components/CollectionTable/CollectionTableBaseCommonProps.ts +25 -0
- package/src/components/CollectionTable/CollectionTableContent.tsx +63 -0
- package/src/components/CollectionTable/CollectionTableContentCard.tsx +33 -0
- package/src/components/CollectionTable/CollectionTableWSRTable.tsx +298 -0
- package/src/components/CollectionTable/index.ts +1 -0
- package/src/components/CollectionTable/useTableCollectionSyncProps.ts +104 -0
- package/src/components/CollectionTableActionsColumn.tsx +62 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css +40 -0
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +25 -0
- package/src/components/CollectionToolbar/CollectionToolbar.tsx +315 -0
- package/src/components/CollectionToolbar/CollectionToolbar.uni.driver.ts +628 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupProps.ts +14 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsGroupResponsiveLayout.tsx +90 -0
- package/src/components/CollectionToolbar/CollectionToolbarActionsToolbarItemsGroup.tsx +73 -0
- package/src/components/CollectionToolbar/CollectionToolbarContext.ts +9 -0
- package/src/components/CollectionToolbar/CollectionToolbarSkeletonItem.tsx +21 -0
- package/src/components/CollectionToolbar/PrimaryActionButton.tsx +47 -0
- package/src/components/CollectionToolbar/ReorderModeDiscardChangesModal.tsx +26 -0
- package/src/components/CollectionToolbar/ReorderModeToolbar.tsx +105 -0
- package/src/components/CollectionToolbar/ReorderModeToolbar.uni.driver.ts +39 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css +10 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +25 -0
- package/src/components/CollectionToolbar/SearchOrCustomFilter.tsx +52 -0
- package/src/components/CollectionToolbar/ToolbarGroupScrollWidthBox.tsx +34 -0
- package/src/components/CollectionToolbar/ToolbarSecondaryActions.tsx +35 -0
- package/src/components/CollectionToolbar/ToolbarSecondaryActions.uni.driver.ts +21 -0
- package/src/components/CollectionToolbar/index.ts +4 -0
- package/src/components/CollectionToolbar/useCollectionToolbarSyncedProps.ts +35 -0
- package/src/components/CollectionToolbarFilters/CollectionToolbarFilters.tsx +248 -0
- package/src/components/CollectionToolbarFilters/CollectionToolbarFiltersState.ts +62 -0
- package/src/components/CollectionToolbarFilters/FiltersPanelSidePanelEntry.tsx +11 -0
- package/src/components/CollectionToolbarFilters/filterElement.ts +7 -0
- package/src/components/CollectionToolbarFilters/index.ts +2 -0
- package/src/components/CollectionToolbarFilters/useFiltersLayout.ts +60 -0
- package/src/components/CollectionToolbarFilters/useFiltersSyncProps.ts +95 -0
- package/src/components/CollectionToolbars/CollectionToolbars.tsx +197 -0
- package/src/components/CollectionToolbars/CollectionToolbarsProvider.tsx +32 -0
- package/src/components/CollectionToolbars/CollectionToolbarsVisualization.tsx +24 -0
- package/src/components/CollectionToolbars/ToolbarAndTitlebarContainer.tsx +35 -0
- package/src/components/CollectionToolbars/ToolbarState.ts +74 -0
- package/src/components/CollectionToolbars/index.ts +1 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css +11 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +25 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.tsx +80 -0
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonlyState.ts +66 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.tsx +26 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdown.uni.driver.ts +211 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdownBase.tsx +102 -0
- package/src/components/CollectionViewsDropdown/CollectionViewsDropdownStandalone.tsx +21 -0
- package/src/components/CollectionViewsDropdown/ManageViewPopover.tsx +132 -0
- package/src/components/CollectionViewsDropdown/ManageViewPopover.uni.driver.ts +85 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css +3 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +25 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdown.tsx +156 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownListItem.uni.driver.ts +20 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownModals.tsx +32 -0
- package/src/components/CollectionViewsDropdown/ViewsDropdownPrefix.tsx +59 -0
- package/src/components/CollectionViewsDropdown/index.ts +3 -0
- package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.tsx +143 -0
- package/src/components/CollectionViewsDropdown/modals/RenameView/CollectionRenameViewModal.uni.driver.ts +70 -0
- package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.tsx +166 -0
- package/src/components/CollectionViewsDropdown/modals/SaveView/CollectionSaveViewModal.uni.driver.ts +78 -0
- package/src/components/CollectionViewsDropdown/viewsDropdownRenderHelpers.tsx +79 -0
- package/src/components/CounterBadgeButton/CounterBadgeButton.tsx +31 -0
- package/src/components/CounterBadgeButton/index.ts +1 -0
- package/src/components/CtaProps.ts +24 -0
- package/src/components/CustomColumns/CustomColumns.tsx +29 -0
- package/src/components/CustomColumns/CustomColumnsDragAndDrop.ts +7 -0
- package/src/components/CustomColumns/CustomColumnsFull.tsx +14 -0
- package/src/components/CustomColumns/index.ts +2 -0
- package/src/components/CustomColumnsPanel/ColumnListTableListItem.tsx +170 -0
- package/src/components/CustomColumnsPanel/ColumnsList.tsx +115 -0
- package/src/components/CustomColumnsPanel/CustomColumnsCTAButton.tsx +97 -0
- package/src/components/CustomColumnsPanel/CustomColumnsNoResults.tsx +45 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanel.tsx +93 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanel.uni.driver.ts +155 -0
- package/src/components/CustomColumnsPanel/CustomColumnsPanelEntry.tsx +36 -0
- package/src/components/CustomColumnsPanel/CustomColumnsSearch.tsx +33 -0
- package/src/components/CustomColumnsPanel/index.ts +1 -0
- package/src/components/CustomFieldFilters/CheckboxCustomFieldFilter.tsx +30 -0
- package/src/components/CustomFieldFilters/DateCustomFieldFilter.tsx +16 -0
- package/src/components/CustomFieldFilters/DateCustomFieldFilterBase.tsx +21 -0
- package/src/components/CustomFieldFilters/DateTimeCustomFieldFilter.tsx +16 -0
- package/src/components/CustomFieldFilters/buildCustomFieldFilterElement.tsx +45 -0
- package/src/components/CustomFieldFilters/index.ts +1 -0
- package/src/components/CustomFieldModal/CustomFieldForm.tsx +367 -0
- package/src/components/CustomFieldModal/CustomFieldFormPiiFields.tsx +79 -0
- package/src/components/CustomFieldModal/CustomFieldModal.tsx +145 -0
- package/src/components/CustomFieldModal/CustomFieldModal.uni.driver.ts +247 -0
- package/src/components/CustomFieldModal/CustomFieldModalPrimaryButton.tsx +56 -0
- package/src/components/CustomFieldModal/CustomFieldTypeDropdown.tsx +157 -0
- package/src/components/CustomFieldModal/index.ts +2 -0
- package/src/components/CustomFields/CustomFieldsDisabledHint.tsx +31 -0
- package/src/components/CustomFields/CustomFieldsDisabledHint.uni.driver.ts +30 -0
- package/src/components/CustomFields/CustomFieldsDisabledTooltip.tsx +34 -0
- package/src/components/CustomFields/index.ts +2 -0
- package/src/components/CustomFieldsForm/CustomFieldsForm.tsx +73 -0
- package/src/components/CustomFieldsForm/CustomFieldsForm.uni.driver.ts +11 -0
- package/src/components/CustomFieldsForm/index.ts +1 -0
- package/src/components/CustomFieldsFormContext.ts +17 -0
- package/src/components/CustomFieldsPanel/AddCustomFieldCTAButton.tsx +38 -0
- package/src/components/CustomFieldsPanel/ArchiveFieldModal.tsx +34 -0
- package/src/components/CustomFieldsPanel/ArchiveFieldModal.uni.driver.ts +23 -0
- package/src/components/CustomFieldsPanel/CustomColumnsAddCustomFieldCTAButton.tsx +35 -0
- package/src/components/CustomFieldsPanel/CustomColumnsEditCustomFieldCTAButton.tsx +29 -0
- package/src/components/CustomFieldsPanel/CustomFieldItem.tsx +65 -0
- package/src/components/CustomFieldsPanel/CustomFieldPanel.uni.driver.ts +46 -0
- package/src/components/CustomFieldsPanel/CustomFieldPopover.uni.driver.ts +40 -0
- package/src/components/CustomFieldsPanel/CustomFieldsCollectionPanelEntry.tsx +13 -0
- package/src/components/CustomFieldsPanel/CustomFieldsList.tsx +40 -0
- package/src/components/CustomFieldsPanel/CustomFieldsPanel.tsx +68 -0
- package/src/components/CustomFieldsPanel/CustomFieldsPanelEntry.tsx +9 -0
- package/src/components/CustomFieldsPanel/ManageFieldsCTAButton.tsx +55 -0
- package/src/components/CustomFieldsPanel/ManageFieldsPopoverMenu.tsx +121 -0
- package/src/components/CustomFieldsTransforms/transformCustomCheckboxToWQL.tsx +15 -0
- package/src/components/CustomFieldsTransforms/transformCustomDateFilterToWQL.tsx +21 -0
- package/src/components/CustomFieldsTransforms/transformCustomFiltersToWQL.tsx +61 -0
- package/src/components/CustomFieldsTransforms/transformCustomNumberRangeFilterToWQL.tsx +21 -0
- package/src/components/CustomFieldsTransforms/transformSortToWQL.tsx +14 -0
- package/src/components/CustomFieldsWidget/ActionButtons.tsx +43 -0
- package/src/components/CustomFieldsWidget/CustomFieldsAllNamespacesForm.tsx +88 -0
- package/src/components/CustomFieldsWidget/CustomFieldsEmptyStateOverrides.ts +4 -0
- package/src/components/CustomFieldsWidget/CustomFieldsNamespaceForm.tsx +31 -0
- package/src/components/CustomFieldsWidget/CustomFieldsNamespaceSectionForm.tsx +73 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.tsx +145 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidget.uni.driver.ts +164 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetContent.tsx +81 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetInline.tsx +63 -0
- package/src/components/CustomFieldsWidget/CustomFieldsViewWidgetSection.tsx +181 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidget.tsx +88 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidget.uni.driver.ts +168 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetCard.tsx +81 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetCommonComponents.tsx +45 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetContent.tsx +28 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetContentLazy.tsx +37 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetInline.tsx +52 -0
- package/src/components/CustomFieldsWidget/CustomFieldsWidgetLazyContent.ts +5 -0
- package/src/components/CustomFieldsWidget/EmptyStateContent.tsx +40 -0
- package/src/components/CustomFieldsWidget/EmptyStateViewContent.tsx +27 -0
- package/src/components/CustomFieldsWidget/ErrorStateContent.tsx +35 -0
- package/src/components/CustomFieldsWidget/OnCustomFieldChange.ts +11 -0
- package/src/components/CustomFieldsWidget/Skeletons.tsx +15 -0
- package/src/components/CustomFieldsWidget/index.ts +3 -0
- package/src/components/CustomFieldsWidget/types.ts +83 -0
- package/src/components/CustomFieldsWidget/useCustomFieldsFormState.ts +32 -0
- package/src/components/CustomFieldsWidget/useCustomFieldsViewWidget.ts +47 -0
- package/src/components/CustomFieldsWidgetContext.ts +17 -0
- package/src/components/DataExtension/CollectionDataExtensionState.ts +215 -0
- package/src/components/DataExtension/DataExtension.ts +77 -0
- package/src/components/DataExtension/index.ts +2 -0
- package/src/components/DataExtension/manageCustomFieldsPageAction.tsx +23 -0
- package/src/components/DateRangeFilter/DateRangeFilter.tsx +149 -0
- package/src/components/DateRangeFilter/index.ts +1 -0
- package/src/components/DateRangePicker/DateRangeFilter.uni.driver.ts +116 -0
- package/src/components/DateRangePicker/DateRangePicker.tsx +154 -0
- package/src/components/DateRangePicker/index.ts +1 -0
- package/src/components/DisabledTooltip/DisabledTooltip.tsx +36 -0
- package/src/components/DisabledTooltip/DisabledTooltipButton.uni.driver.ts +25 -0
- package/src/components/DisabledTooltip/index.ts +1 -0
- package/src/components/DiscardChangesModal.tsx +25 -0
- package/src/components/DragAndDrop/CollectionDragAndDropBI.ts +230 -0
- package/src/components/DragAndDrop/CollectionDragAndDropState.ts +204 -0
- package/src/components/DragAndDrop/DragAndDrop.ts +97 -0
- package/src/components/DragAndDrop/DragAndDrop.uni.driver.ts +223 -0
- package/src/components/DragAndDrop/DragAndDropAnnouncements.tsx +133 -0
- package/src/components/DragAndDrop/DragAndDropCategoriesProps.ts +12 -0
- package/src/components/DragAndDrop/DragAndDropState.ts +587 -0
- package/src/components/DragAndDrop/DragOverlayTestComponent.tsx +48 -0
- package/src/components/DragAndDrop/ReorderModeState.ts +195 -0
- package/src/components/DragAndDrop/TableDragAndDropState.ts +55 -0
- package/src/components/DragAndDrop/hasExceededDistance.ts +22 -0
- package/src/components/DragAndDrop/index.ts +3 -0
- package/src/components/DragAndDrop/initReordeModeState.ts +19 -0
- package/src/components/DragAndDrop/rectIntersection.ts +15 -0
- package/src/components/DragHandle/DragHandle.st.css +27 -0
- package/src/components/DragHandle/DragHandle.st.css.ts +25 -0
- package/src/components/DragHandle/DragHandle.tsx +40 -0
- package/src/components/DropdownFilter/CollectionDropdownFilter.uni.driver.ts +200 -0
- package/src/components/DropdownFilter/selectedItemsLabel.tsx +15 -0
- package/src/components/EditorXLogo.tsx +22 -0
- package/src/components/EmptyState/CollectionEmptyState.tsx +38 -0
- package/src/components/EmptyState/CollectionEmptyState.uni.driver.ts +25 -0
- package/src/components/EmptyState/CollectionNoResultsState.tsx +105 -0
- package/src/components/EmptyState/CollectionNoResultsState.uni.driver.ts +33 -0
- package/src/components/EmptyState/CollectionPremiumEmptyState.tsx +40 -0
- package/src/components/EmptyState/CollectionPremiumEmptyState.uni.driver.ts +27 -0
- package/src/components/EmptyState/EmptyState.uni.driver.ts +24 -0
- package/src/components/EmptyState/EmptyStateBase.tsx +78 -0
- package/src/components/EmptyState/NewItemButton.tsx +25 -0
- package/src/components/EmptyState/PremiumButton.tsx +23 -0
- package/src/components/EntityPage/EntityPage.tsx +82 -0
- package/src/components/EntityPage/EntityPage.uni.driver.ts +55 -0
- package/src/components/EntityPage/EntityPageActionsBar.tsx +24 -0
- package/src/components/EntityPage/EntityPagePlain.st.css +9 -0
- package/src/components/EntityPage/EntityPagePlain.st.css.ts +25 -0
- package/src/components/EntityPage/EntityPagePlain.tsx +34 -0
- package/src/components/EntityPage/EntityPageWrapper.tsx +33 -0
- package/src/components/EntityPage/index.ts +2 -0
- package/src/components/EntityPage/useEntityPageLoadReporting.ts +57 -0
- package/src/components/EntityPageAdditionalContent/EntityPageAdditionalContent.tsx +16 -0
- package/src/components/EntityPageAdditionalContent/index.ts +1 -0
- package/src/components/EntityPageCard/EntityPageCard.tsx +13 -0
- package/src/components/EntityPageCard/index.ts +1 -0
- package/src/components/EntityPageContent/EntityPageContent.tsx +21 -0
- package/src/components/EntityPageContent/index.ts +1 -0
- package/src/components/EntityPageExtensions/EntityPageExtensions.tsx +54 -0
- package/src/components/EntityPageExtensions/index.ts +1 -0
- package/src/components/EntityPageHeader/EntityPageHeader.tsx +17 -0
- package/src/components/EntityPageHeader/index.ts +1 -0
- package/src/components/EntityPageMainContent/EntityPageMainContent.tsx +13 -0
- package/src/components/EntityPageMainContent/index.ts +1 -0
- package/src/components/ErrorBoundary.tsx +21 -0
- package/src/components/ErrorCard/ErrorCard.tsx +71 -0
- package/src/components/ErrorCard/ErrorCard.uni.driver.ts +19 -0
- package/src/components/ErrorCard/index.ts +1 -0
- package/src/components/ErrorState/ErrorState.tsx +89 -0
- package/src/components/ErrorState/LoadingErrorState.tsx +52 -0
- package/src/components/ErrorState/OfflineErrorState.tsx +51 -0
- package/src/components/ErrorState/OfflineIllustration.tsx +63 -0
- package/src/components/ErrorState/ToolbarCollectionErrorState.uni.driver.ts +27 -0
- package/src/components/ErrorState/index.ts +2 -0
- package/src/components/ExpandableSearch.tsx +30 -0
- package/src/components/ExportButton/ExportButton.tsx +107 -0
- package/src/components/ExportButton/ExportButton.uni.driver.ts +18 -0
- package/src/components/ExportButton/ExportButtonModalLayout.tsx +98 -0
- package/src/components/ExportButton/ExportModal.tsx +27 -0
- package/src/components/ExportButton/ExportModal.uni.driver.ts +102 -0
- package/src/components/ExportButton/ExportProps.tsx +115 -0
- package/src/components/ExportButton/ExportStepCancel.tsx +17 -0
- package/src/components/ExportButton/ExportStepConfig.tsx +64 -0
- package/src/components/ExportButton/ExportStepError.tsx +28 -0
- package/src/components/ExportButton/ExportStepProgress.tsx +51 -0
- package/src/components/ExportButton/LinearAbsoluteProgressBar.tsx +50 -0
- package/src/components/ExportButton/RadioGroupSafe.tsx +16 -0
- package/src/components/ExportButton/getExportModalErrorProps.tsx +147 -0
- package/src/components/ExportButton/getExportModalStepProps.tsx +120 -0
- package/src/components/ExportButton/index.ts +3 -0
- package/src/components/ExtendedColumn/ExtendedColumn.tsx +99 -0
- package/src/components/ExtensionMenuItems/ExtensionMenuItems.ts +9 -0
- package/src/components/ExtensionMenuItems/index.ts +1 -0
- package/src/components/Extensions/Extensions.tsx +27 -0
- package/src/components/Extensions/index.ts +1 -0
- package/src/components/Fade/Fade.st.css +11 -0
- package/src/components/Fade/Fade.st.css.ts +25 -0
- package/src/components/Fade/Fade.tsx +38 -0
- package/src/components/Fade/index.ts +1 -0
- package/src/components/FileCard/DownloadButton.tsx +40 -0
- package/src/components/FileCard/FileCard.tsx +37 -0
- package/src/components/FileCard/FileCardList.tsx +32 -0
- package/src/components/FileCard/FileDetails.tsx +51 -0
- package/src/components/FileCard/FilePreview.tsx +66 -0
- package/src/components/FileCard/FilePreviewModal.tsx +69 -0
- package/src/components/FileCard/FileProps.ts +35 -0
- package/src/components/FileCard/Thumbnail.tsx +28 -0
- package/src/components/FileCard/formatBytes.ts +13 -0
- package/src/components/FileCard/icons.tsx +118 -0
- package/src/components/FileCard/resolveFileByMediaType.tsx +86 -0
- package/src/components/FileCard/useDownloadFile.ts +46 -0
- package/src/components/FilterContext.ts +12 -0
- package/src/components/FilterRenderingContext.tsx +13 -0
- package/src/components/FiltersPanel/AddApplyFiltersButton.ts +28 -0
- package/src/components/FiltersPanel/FilterAccordionTitle.tsx +33 -0
- package/src/components/FiltersPanel/FiltersPanel.tsx +118 -0
- package/src/components/FiltersPanel/FiltersPanel.uni.driver.ts +355 -0
- package/src/components/FiltersPanel/FiltersPanelAppliedFiltersSection.tsx +65 -0
- package/src/components/FiltersPanel/FiltersPanelContext.tsx +15 -0
- package/src/components/FiltersPanel/FiltersPanelFooter.tsx +44 -0
- package/src/components/FiltersPanel/FiltersPanelSelectedFiltersSection.tsx +76 -0
- package/src/components/FiltersPanel/FiltersPanelState.ts +36 -0
- package/src/components/FiltersPanel/index.ts +1 -0
- package/src/components/FolderIcon.tsx +23 -0
- package/src/components/FormFieldInput/FormFieldInput.tsx +71 -0
- package/src/components/FormFieldInput/FormFieldInput.uni.driver.ts +6 -0
- package/src/components/FormFieldInput/index.ts +1 -0
- package/src/components/FormPage/FormPage.tsx +24 -0
- package/src/components/FormPage/FormPageActionsBar.tsx +59 -0
- package/src/components/FormPage/FormPageProvider.tsx +37 -0
- package/src/components/FormPage/WidgetsFormProvider.tsx +20 -0
- package/src/components/FormPage/index.ts +4 -0
- package/src/components/FormPageAdditionalContent/FormPageAdditionalContent.tsx +27 -0
- package/src/components/FormPageAdditionalContent/index.ts +1 -0
- package/src/components/FormPageCard/FormPageCard.tsx +49 -0
- package/src/components/FormPageCard/FormPageCard.uni.driver.ts +6 -0
- package/src/components/FormPageCard/index.ts +1 -0
- package/src/components/FormPageContent/FormPageContent.tsx +21 -0
- package/src/components/FormPageContent/FormPageContent.uni.driver.ts +66 -0
- package/src/components/FormPageContent/index.ts +1 -0
- package/src/components/FormPageHeader/FormPageHeader.tsx +41 -0
- package/src/components/FormPageHeader/index.ts +1 -0
- package/src/components/FormPageMainContent/FormPageMainContent.tsx +26 -0
- package/src/components/FormPageMainContent/index.ts +1 -0
- package/src/components/Grid/DebugItemKeyRecycler.tsx +20 -0
- package/src/components/Grid/Grid.scss +3 -0
- package/src/components/Grid/Grid.tsx +150 -0
- package/src/components/Grid/Grid.types.ts +71 -0
- package/src/components/Grid/Grid.uni.driver.ts +488 -0
- package/src/components/Grid/GridCardItem.tsx +151 -0
- package/src/components/Grid/GridContent.tsx +129 -0
- package/src/components/Grid/GridEmptyState.tsx +8 -0
- package/src/components/Grid/GridFolders.tsx +155 -0
- package/src/components/Grid/GridFolders.types.ts +99 -0
- package/src/components/Grid/GridFolders.uni.driver.ts +68 -0
- package/src/components/Grid/GridFoldersFolderSection.tsx +87 -0
- package/src/components/Grid/GridFoldersItemsSection.tsx +69 -0
- package/src/components/Grid/GridFoldersLoadingSection.tsx +32 -0
- package/src/components/Grid/GridFoldersPlaceholderStates.tsx +41 -0
- package/src/components/Grid/GridFoldersSection.tsx +46 -0
- package/src/components/Grid/GridFoldersSection.uni.driver.ts +17 -0
- package/src/components/Grid/GridFoldersSectionsGroup.tsx +87 -0
- package/src/components/Grid/GridItem.tsx +103 -0
- package/src/components/Grid/GridItemBaseProps.ts +51 -0
- package/src/components/Grid/GridLayout.tsx +0 -0
- package/src/components/Grid/GridPlaceholderStates.tsx +43 -0
- package/src/components/Grid/GridSectionHeader.tsx +53 -0
- package/src/components/Grid/GridSingleGridContent.tsx +56 -0
- package/src/components/Grid/RenderItem.ts +11 -0
- package/src/components/Grid/SkeletonGrid.uni.driver.ts +12 -0
- package/src/components/Grid/SupportedCardGalleryItemProps.ts +15 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/Grid/renderFolderItem.tsx +86 -0
- package/src/components/Grid/useGridBaseSyncProps.ts +108 -0
- package/src/components/Grid/useGridItemActions.tsx +145 -0
- package/src/components/Grid/useRenderItem.tsx +57 -0
- package/src/components/GridDragAndDropDndKit/DraggableCardOverlay.tsx +46 -0
- package/src/components/GridDragAndDropDndKit/GridDragAndDrop.ts +34 -0
- package/src/components/GridDragAndDropDndKit/GridDragOverlayCardItem.tsx +24 -0
- package/src/components/GridDragAndDropDndKit/GridDraggableCardItem.tsx +142 -0
- package/src/components/GridDragAndDropDndKit/GridSortableContext.tsx +120 -0
- package/src/components/GridDragAndDropDndKit/dndTestEventHandlers.ts +121 -0
- package/src/components/GridDragAndDropDndKit/sortableGridKeyboardCoordinates.ts +159 -0
- package/src/components/GridSections/GridSectionAndRepeater.tsx +49 -0
- package/src/components/GridSections/GridSectionHeader.tsx +40 -0
- package/src/components/GridSections/GridSectionsContent.tsx +84 -0
- package/src/components/GridSections/GridSectionsSectionState.ts +55 -0
- package/src/components/GridSections/GridSectionsSingleSkeletonGrid.tsx +49 -0
- package/src/components/GridSections/GridSectionsState.ts +63 -0
- package/src/components/Heading/Heading.st.css +10 -0
- package/src/components/Heading/Heading.st.css.ts +25 -0
- package/src/components/Heading/Heading.tsx +17 -0
- package/src/components/Heading/index.ts +1 -0
- package/src/components/Illustration/AddItemEmptyState.tsx +38 -0
- package/src/components/Illustration/CollectionPremiumEmptyStateIllustration.tsx +47 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoader.tsx +25 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBase.tsx +32 -0
- package/src/components/InfiniteScrollLoader/InfiniteScrollLoaderBaseProps.ts +6 -0
- package/src/components/InfiniteScrollLoader/SkeletonInfiniteScrollLoader.tsx +33 -0
- package/src/components/InitialLoader/InitialLoader.tsx +28 -0
- package/src/components/InitialLoader/InitialSkeletonLoader.tsx +32 -0
- package/src/components/InitialLoader/index.ts +1 -0
- package/src/components/InitialLoadingConditional.tsx +35 -0
- package/src/components/InputOverflow/InputOverflow.st.css +7 -0
- package/src/components/InputOverflow/InputOverflow.st.css.ts +25 -0
- package/src/components/InputOverflow/InputOverflow.tsx +70 -0
- package/src/components/InputOverflow/index.ts +1 -0
- package/src/components/Kanban/Card.tsx +103 -0
- package/src/components/Kanban/CardActions.tsx +78 -0
- package/src/components/Kanban/CardsSkeleton.tsx +60 -0
- package/src/components/Kanban/Kanban.tsx +113 -0
- package/src/components/Kanban/Kanban.uni.driver.ts +237 -0
- package/src/components/Kanban/KanbanCardActionsHelper.ts +154 -0
- package/src/components/Kanban/KanbanProps.ts +45 -0
- package/src/components/Kanban/Stage.tsx +287 -0
- package/src/components/Kanban/StagesSkeleton.scss +10 -0
- package/src/components/Kanban/StagesSkeleton.tsx +44 -0
- package/src/components/Kanban/index.ts +2 -0
- package/src/components/Kanban/useCardActions.tsx +182 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.ts +229 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.tsx +102 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlay.tsx +56 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDragOverlayCardItem.tsx +73 -0
- package/src/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.tsx +122 -0
- package/src/components/ListDragAndDrop/DraggableListItem.tsx +115 -0
- package/src/components/ListDragAndDrop/ListDragAndDrop.ts +9 -0
- package/src/components/ListDragAndDrop/ListDragAndDropContext.tsx +112 -0
- package/src/components/LoadingRow/AILoadingLottiePoster.tsx +29 -0
- package/src/components/LoadingRow/LoadingRow.st.css +47 -0
- package/src/components/LoadingRow/LoadingRow.st.css.ts +25 -0
- package/src/components/LoadingRow/LoadingRowState.ts +63 -0
- package/src/components/LoadingRow/LoadingRowTD.tsx +56 -0
- package/src/components/LoadingRow/aiLoadingLottie.ts +2388 -0
- package/src/components/MagnifyingGlassArt/MagnifyingGlassArt.tsx +136 -0
- package/src/components/MagnifyingGlassArt/index.ts +1 -0
- package/src/components/MaxHeightText/MaxHeightText.st.css +9 -0
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +25 -0
- package/src/components/MaxHeightText/MaxHeightText.tsx +20 -0
- package/src/components/MaxHeightText/index.ts +1 -0
- package/src/components/MaxLines/MaxLines.st.css +10 -0
- package/src/components/MaxLines/MaxLines.st.css.ts +25 -0
- package/src/components/MaxLines/MaxLines.tsx +79 -0
- package/src/components/MaxLines/index.ts +1 -0
- package/src/components/MaxSelection.tsx +106 -0
- package/src/components/MaybeTooltip.tsx +16 -0
- package/src/components/ModalHeadingBox/ModalHeadingBox.tsx +29 -0
- package/src/components/ModalHeadingBox/index.ts +1 -0
- package/src/components/MoreActions/ExploreAppsModal.tsx +27 -0
- package/src/components/MoreActions/ExploreAppsState.tsx +69 -0
- package/src/components/MoreActions/MoreActions.uni.driver.ts +55 -0
- package/src/components/MoreActions/MoreActionsBase.tsx +170 -0
- package/src/components/MoreActions/MoreActionsElement.ts +8 -0
- package/src/components/MoreActions/MoreActionsIcon.tsx +36 -0
- package/src/components/MoreActions/MoreActionsItem.ts +54 -0
- package/src/components/MoreActions/MoreActionsProps.ts +28 -0
- package/src/components/MoreActions/MoreActionsText.tsx +31 -0
- package/src/components/MoreActions/index.ts +4 -0
- package/src/components/MoreActions/useExploreAppsState.ts +33 -0
- package/src/components/MoreFiltersCTA/MoreFiltersCTA.tsx +34 -0
- package/src/components/MoreFiltersCTA/index.ts +1 -0
- package/src/components/MultiAutoInlineCheckboxFilter/MultiAutoInlineCheckboxFilter.tsx +62 -0
- package/src/components/MultiAutoInlineCheckboxFilter/index.ts +1 -0
- package/src/components/MultiBulkActionToolbar/BulkActionContainer.tsx +12 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css +4 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +25 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.tsx +264 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.uni.driver.ts +73 -0
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbarState.ts +94 -0
- package/src/components/MultiBulkActionToolbar/index.ts +2 -0
- package/src/components/MultiCollectionSupportProvider.ts +17 -0
- package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.tsx +63 -0
- package/src/components/MultiInlineCheckbox/MultiInlineCheckbox.uni.driver.ts +26 -0
- package/src/components/MultiInlineCheckbox/index.ts +1 -0
- package/src/components/MultiInlineCheckboxFilter/MultiInlineCheckboxFilter.tsx +46 -0
- package/src/components/MultiInlineCheckboxFilter/index.ts +1 -0
- package/src/components/MultiLevelSorting/MultiLevelSorting.tsx +11 -0
- package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.tsx +72 -0
- package/src/components/MultiLevelSorting/MultiLevelSortingCTAButton.uni.driver.ts +14 -0
- package/src/components/MultiLevelSorting/index.ts +1 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingColumnSelect.tsx +62 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingList.tsx +74 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingOrderSelect.tsx +76 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.tsx +94 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanel.uni.driver.ts +105 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingPanelEntry.tsx +17 -0
- package/src/components/MultiLevelSortingPanel/MultiLevelSortingTableListItem.tsx +93 -0
- package/src/components/MultiLevelSortingPanel/index.ts +1 -0
- package/src/components/MultiSelectCheckboxFilter/MultiSelectCheckboxFilter.tsx +25 -0
- package/src/components/MultiSelectCheckboxFilter/index.ts +1 -0
- package/src/components/MultiSelectCheckboxFilterBase/MultiSelectCheckboxFilterBase.tsx +76 -0
- package/src/components/MultiSelectCheckboxFilterBase/index.ts +1 -0
- package/src/components/MultiSelectCollectionFilter/MultiSelectCollectionFilter.tsx +124 -0
- package/src/components/MultiSelectCollectionFilter/index.ts +1 -0
- package/src/components/MultiSelectFilterBase/MultiSelectFilterBase.tsx +111 -0
- package/src/components/MultiSelectFilterBase/index.ts +1 -0
- package/src/components/NavigationModal/NavigationModal.tsx +29 -0
- package/src/components/NavigationModal/index.ts +1 -0
- package/src/components/NestedTable/ExpandCollapseAllButton.uni.driver.ts +17 -0
- package/src/components/NestedTable/ExpandCollapseButton.uni.driver.ts +19 -0
- package/src/components/NestedTable/MainCellLayout.tsx +62 -0
- package/src/components/NestedTable/NestedTable.tsx +139 -0
- package/src/components/NestedTable/NestedTable.uni.driver.ts +265 -0
- package/src/components/NestedTable/NestedTableActionCell.tsx +44 -0
- package/src/components/NestedTable/NestedTableContent.tsx +41 -0
- package/src/components/NestedTable/NestedTableFlatModeMainCell.tsx +60 -0
- package/src/components/NestedTable/NestedTableFlatModeMainCell.uni.driver.ts +15 -0
- package/src/components/NestedTable/NestedTableMainColumnTitle.tsx +59 -0
- package/src/components/NestedTable/NestedTableParentCell.tsx +111 -0
- package/src/components/NestedTable/NestedTableParentCell.uni.driver.ts +35 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css +4 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +25 -0
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.tsx +58 -0
- package/src/components/NestedTable/NestedTableRow.st.css +33 -0
- package/src/components/NestedTable/NestedTableRow.st.css.ts +25 -0
- package/src/components/NestedTable/NestedTableRow.tsx +116 -0
- package/src/components/NestedTable/NestedTableRow.uni.driver.ts +31 -0
- package/src/components/NestedTable/NestedTableRowPlaceholderStates.tsx +63 -0
- package/src/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.ts +23 -0
- package/src/components/NestedTable/NestedTableWSRTable.tsx +198 -0
- package/src/components/NestedTable/index.ts +1 -0
- package/src/components/NestedTable/useFlatModeColumns.tsx +73 -0
- package/src/components/NestedTable/useModeTableProps.tsx +111 -0
- package/src/components/NestedTable/useNestedModeColumns.tsx +98 -0
- package/src/components/NestedTable/useNestedTableActionCell.tsx +55 -0
- package/src/components/NestedTableDragAndDrop/DepthLimitMessage.tsx +37 -0
- package/src/components/NestedTableDragAndDrop/DragAndDropDisabledMessage.tsx +25 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css +12 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +25 -0
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.tsx +26 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDrop.ts +35 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropContext.tsx +178 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlay.tsx +61 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropOverlayPopover.tsx +44 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css +7 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +25 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.tsx +63 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropState.ts +556 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragHandle.tsx +32 -0
- package/src/components/NestedTableDragAndDrop/NestedTableDragOverlay.uni.driver.ts +30 -0
- package/src/components/NestedTableDragAndDrop/NestedTableGhostIndentationCell.tsx +63 -0
- package/src/components/NestedTableDragAndDrop/NestedTableGhostRow.uni.driver.ts +30 -0
- package/src/components/NestedTableDragAndDrop/createUseIsDropDisabled.ts +128 -0
- package/src/components/NestedTableDragAndDrop/validateNestedTableDragAndDropProps.ts +29 -0
- package/src/components/NumberRangeFilter/NumberRangeFilter.tsx +78 -0
- package/src/components/NumberRangeFilter/index.ts +2 -0
- package/src/components/NumberRangeFilter/useNumberRangeFilter.ts +243 -0
- package/src/components/PageErrorState/PageErrorState.tsx +60 -0
- package/src/components/PageErrorState/PageErrorState.uni.driver.ts +16 -0
- package/src/components/PageErrorState/PageErrorStateIllustration.tsx +32 -0
- package/src/components/PageErrorState/index.ts +1 -0
- package/src/components/PageGridInfiniteScrollLoader.tsx +36 -0
- package/src/components/PageInfiniteScrollLoader.tsx +29 -0
- package/src/components/PageSubTitle/PageSubTitle.tsx +72 -0
- package/src/components/PageSubTitle/PageSubTitle.uni.driver.ts +22 -0
- package/src/components/PageSubTitle/index.ts +1 -0
- package/src/components/PageWrapper/InfiniteScrollPage.tsx +39 -0
- package/src/components/PageWrapper/PageWrapper.tsx +10 -0
- package/src/components/PageWrapper/PageWrapper.uni.driver.ts +13 -0
- package/src/components/PageWrapper/PageWrapperBase.tsx +79 -0
- package/src/components/PageWrapper/index.ts +1 -0
- package/src/components/PaginationTable/PaginationTable.tsx +49 -0
- package/src/components/PaginationTable/index.ts +1 -0
- package/src/components/PartialFunctionComponent.ts +6 -0
- package/src/components/Picker/Picker.tsx +124 -0
- package/src/components/Picker/Picker.uni.driver.ts +108 -0
- package/src/components/Picker/index.ts +1 -0
- package/src/components/PickerContent/PickerContent.st.css +3 -0
- package/src/components/PickerContent/PickerContent.st.css.ts +25 -0
- package/src/components/PickerContent/PickerContent.tsx +73 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css +14 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +25 -0
- package/src/components/PickerContent/PickerContentAdditionalStep.tsx +222 -0
- package/src/components/PickerContent/PickerContentBaseWrapped.tsx +29 -0
- package/src/components/PickerContent/PickerContentItemsSelection.tsx +330 -0
- package/src/components/PickerContent/PickerContentProvider.tsx +52 -0
- package/src/components/PickerContent/PickerContentV2.tsx +38 -0
- package/src/components/PickerContent/PickerContentWrapped.tsx +133 -0
- package/src/components/PickerContent/SelectAllCheckbox.tsx +57 -0
- package/src/components/PickerContent/index.ts +2 -0
- package/src/components/PickerEmptyState/PickerEmptyState.tsx +107 -0
- package/src/components/PickerEmptyState/PickerEmptyStateContainer.tsx +59 -0
- package/src/components/PickerEmptyState/index.ts +1 -0
- package/src/components/PickerListContent/PickerListContent.tsx +126 -0
- package/src/components/PickerListContent/index.ts +1 -0
- package/src/components/PickerListItemProps.ts +15 -0
- package/src/components/PickerModal/PickerModal.tsx +133 -0
- package/src/components/PickerModal/PickerModal.uni.driver.ts +216 -0
- package/src/components/PickerModal/PickerModalLayout.uni.driver.ts +118 -0
- package/src/components/PickerModal/index.ts +1 -0
- package/src/components/PickerModalOpenButton/PickerModalOpenButton.tsx +40 -0
- package/src/components/PickerModalOpenButton/index.ts +1 -0
- package/src/components/PickerModalSplash/PickerModalSplash.tsx +95 -0
- package/src/components/PickerModalSplash/index.ts +1 -0
- package/src/components/PickerSelectorListContent/PickerSelectorListContent.tsx +136 -0
- package/src/components/PickerSelectorListContent/index.ts +1 -0
- package/src/components/PickerStandalone/PickerStandalone.tsx +183 -0
- package/src/components/PickerStandalone/PickerStandalone.uni.driver.ts +216 -0
- package/src/components/PickerStandalone/PickerStandaloneTableListItem.tsx +95 -0
- package/src/components/PickerStandalone/index.ts +1 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.tsx +72 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayout.uni.driver.ts +40 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutFooter.tsx +55 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutHeader.tsx +177 -0
- package/src/components/PickerStandaloneLayout/PickerStandaloneLayoutTitles.tsx +95 -0
- package/src/components/PickerStandaloneLayout/index.ts +1 -0
- package/src/components/PickerSubheader/PickerSubheader.tsx +41 -0
- package/src/components/PickerSubheader/PickerSubheader.uni.driver.ts +10 -0
- package/src/components/PickerSubheader/index.ts +1 -0
- package/src/components/PickerTableListItem/PickerTableListItem.st.css +3 -0
- package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +25 -0
- package/src/components/PickerTableListItem/PickerTableListItem.tsx +103 -0
- package/src/components/PickerTableListItem/PickerTableListItem.uni.driver.ts +15 -0
- package/src/components/PickerTableListItem/index.ts +1 -0
- package/src/components/PlaceholderStates/PlaceholderStatesBase.tsx +105 -0
- package/src/components/PrimaryActions/PrimaryActions.tsx +78 -0
- package/src/components/PrimaryActions/index.ts +1 -0
- package/src/components/PrimaryPageButton/PrimaryPageButton.tsx +65 -0
- package/src/components/PrimaryPageButton/index.ts +1 -0
- package/src/components/QuerySearch.tsx +35 -0
- package/src/components/RadioGroupFilter/RadioGroupFilter.tsx +104 -0
- package/src/components/RadioGroupFilter/RadioGroupFilter.uni.driver.ts +27 -0
- package/src/components/RadioGroupFilter/index.ts +1 -0
- package/src/components/RequestId/RequestId.tsx +150 -0
- package/src/components/RequestId/RequestId.uni.driver.ts +31 -0
- package/src/components/RequestId/assets/locale/messages_cs.json +5 -0
- package/src/components/RequestId/assets/locale/messages_da.json +5 -0
- package/src/components/RequestId/assets/locale/messages_de.json +5 -0
- package/src/components/RequestId/assets/locale/messages_en.json +5 -0
- package/src/components/RequestId/assets/locale/messages_es.json +5 -0
- package/src/components/RequestId/assets/locale/messages_fr.json +5 -0
- package/src/components/RequestId/assets/locale/messages_hi.json +5 -0
- package/src/components/RequestId/assets/locale/messages_id.json +5 -0
- package/src/components/RequestId/assets/locale/messages_it.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ja.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ko.json +5 -0
- package/src/components/RequestId/assets/locale/messages_nl.json +5 -0
- package/src/components/RequestId/assets/locale/messages_no.json +5 -0
- package/src/components/RequestId/assets/locale/messages_pl.json +5 -0
- package/src/components/RequestId/assets/locale/messages_pt.json +5 -0
- package/src/components/RequestId/assets/locale/messages_ru.json +5 -0
- package/src/components/RequestId/assets/locale/messages_sv.json +5 -0
- package/src/components/RequestId/assets/locale/messages_th.json +5 -0
- package/src/components/RequestId/assets/locale/messages_tr.json +5 -0
- package/src/components/RequestId/assets/locale/messages_uk.json +5 -0
- package/src/components/RequestId/assets/locale/messages_vi.json +5 -0
- package/src/components/RequestId/assets/locale/messages_zh.json +5 -0
- package/src/components/RequestId/index.ts +1 -0
- package/src/components/Responsive/HorizontalAvailableSpaceBox.tsx +32 -0
- package/src/components/Responsive/HorizontalOverflowBox.tsx +26 -0
- package/src/components/ResponsiveButton/ResponsiveButton.tsx +72 -0
- package/src/components/ResponsiveButton/ResponsiveButton.uni.driver.ts +24 -0
- package/src/components/Rotate/Rotate.tsx +45 -0
- package/src/components/Rotate/index.ts +1 -0
- package/src/components/Router/PatternsReactRoute.tsx +9 -0
- package/src/components/Router/PatternsReactRouter.tsx +65 -0
- package/src/components/Router/createPlatformizedNavigator.tsx +27 -0
- package/src/components/Router/index.ts +3 -0
- package/src/components/Router/types.ts +21 -0
- package/src/components/Router/usePatternsNavigate.ts +20 -0
- package/src/components/ScrollableContent/ScrollableContent.st.css +15 -0
- package/src/components/ScrollableContent/ScrollableContent.st.css.ts +25 -0
- package/src/components/ScrollableContent/ScrollableContent.tsx +31 -0
- package/src/components/ScrollableContent/index.ts +1 -0
- package/src/components/SecondaryActions/SecondaryActions.tsx +77 -0
- package/src/components/SecondaryActions/index.ts +1 -0
- package/src/components/SettingsPage/SettingsPage.tsx +56 -0
- package/src/components/SettingsPage/SettingsPage.uni.driver.ts +16 -0
- package/src/components/SettingsPage/SettingsPageActionsBar.tsx +23 -0
- package/src/components/SettingsPage/SettingsPagePlain.tsx +26 -0
- package/src/components/SettingsPage/SettingsPageWrapper.tsx +35 -0
- package/src/components/SettingsPageAdditionalContent/SettingsPageAdditionalContent.tsx +16 -0
- package/src/components/SettingsPageAdditionalContent/index.ts +1 -0
- package/src/components/SettingsPageCard/SettingsPageCard.tsx +13 -0
- package/src/components/SettingsPageCard/index.ts +1 -0
- package/src/components/SettingsPageContent/SettingsPageContent.tsx +21 -0
- package/src/components/SettingsPageContent/index.ts +1 -0
- package/src/components/SettingsPageHeader/SettingsPageHeader.tsx +17 -0
- package/src/components/SettingsPageHeader/index.ts +1 -0
- package/src/components/SettingsPageMainContent/SettingsPageMainContent.tsx +14 -0
- package/src/components/SettingsPageMainContent/index.ts +1 -0
- package/src/components/SidePanelModal/SidePanelModal.tsx +109 -0
- package/src/components/SidePanelModal/SidePanelModalItem.tsx +34 -0
- package/src/components/SidePanelModal/index.ts +1 -0
- package/src/components/SingleSelectFilter/SingleSelectFilter.tsx +138 -0
- package/src/components/SingleSelectFilter/index.ts +1 -0
- package/src/components/SingleSelectFilterBase/SingleSelectFilterBase.tsx +83 -0
- package/src/components/SingleSelectFilterBase/index.ts +1 -0
- package/src/components/SkeletonCard/SkeletonCard.st.css +3 -0
- package/src/components/SkeletonCard/SkeletonCard.st.css.ts +25 -0
- package/src/components/SkeletonCard/SkeletonCard.tsx +42 -0
- package/src/components/SkeletonCard/SkeletonCard.uni.driver.ts +13 -0
- package/src/components/SkeletonCard/index.ts +1 -0
- package/src/components/SkeletonGrid/SkeletonCardByImagePlacement.tsx +22 -0
- package/src/components/SkeletonGrid/SkeletonGrid.tsx +51 -0
- package/src/components/SkeletonGrid/SkeletonSideImageCard.tsx +27 -0
- package/src/components/SkeletonGrid/SkeletonTopImageCard.tsx +48 -0
- package/src/components/SkeletonGrid/index.ts +1 -0
- package/src/components/SlidingModal/SlidingModal.st.css +11 -0
- package/src/components/SlidingModal/SlidingModal.st.css.ts +25 -0
- package/src/components/SlidingModal/SlidingModal.tsx +134 -0
- package/src/components/SlidingModal/SlidingModal.uni.driver.ts +11 -0
- package/src/components/SlidingModal/index.ts +1 -0
- package/src/components/Splash/Splash.tsx +44 -0
- package/src/components/Splash/Splash.uni.driver.ts +24 -0
- package/src/components/Splash/index.ts +1 -0
- package/src/components/SummaryBar/SummaryBar.tsx +151 -0
- package/src/components/SummaryBar/SummaryBar.uni.driver.ts +52 -0
- package/src/components/SummaryBar/index.ts +1 -0
- package/src/components/TabTotal/TabTotalComponentType.ts +4 -0
- package/src/components/TabTotal/TabTotalCounterBadge.tsx +33 -0
- package/src/components/TabTotal/TabTotalDropdownOption.tsx +35 -0
- package/src/components/TabTotal/TabTotalParens.tsx +38 -0
- package/src/components/TabTotal/index.ts +3 -0
- package/src/components/TabTotal/useFilterValueTotalState.ts +47 -0
- package/src/components/Table/Table.tsx +52 -0
- package/src/components/Table/Table.uni.driver.ts +582 -0
- package/src/components/Table/TableBase.tsx +88 -0
- package/src/components/Table/TableBaseRow.tsx +39 -0
- package/src/components/Table/TableCompat.tsx +37 -0
- package/src/components/Table/TableV2.tsx +16 -0
- package/src/components/Table/TableVirtual.tsx +76 -0
- package/src/components/Table/getVirtualTableProps.ts +29 -0
- package/src/components/Table/index.ts +3 -0
- package/src/components/Table/useTableBaseRow.tsx +31 -0
- package/src/components/Table/useTableSyncProps.ts +66 -0
- package/src/components/TableDragAndDrop.ts +40 -0
- package/src/components/TableDragAndDropContext/TableDragAndDropContext.tsx +132 -0
- package/src/components/TableDragAndDropContext/createUseIsDropDisabled.ts +15 -0
- package/src/components/TableDragAndDropContext/index.ts +4 -0
- package/src/components/TableFolders/TableFolders.tsx +89 -0
- package/src/components/TableFolders/TableFolders.types.tsx +6 -0
- package/src/components/TableFolders/TableFolders.uni.driver.ts +74 -0
- package/src/components/TableFolders/TableFoldersContent.tsx +328 -0
- package/src/components/TableFolders/TableFoldersInfiniteScroll.tsx +42 -0
- package/src/components/TableFolders/TableFoldersLayout.tsx +42 -0
- package/src/components/TableFolders/index.ts +1 -0
- package/src/components/TableFolders/useOrFolderActionCellColumn.ts +78 -0
- package/src/components/TableFolders/useTableFoldersSyncProps.ts +45 -0
- package/src/components/TableGridSwitch/TableGridSwitch.tsx +110 -0
- package/src/components/TableGridSwitch/TableGridSwitch.uni.driver.ts +45 -0
- package/src/components/TableGridSwitch/TableGridSwitchDragAndDrop.ts +7 -0
- package/src/components/TableGridSwitchButton/TableGridSwitchButton.tsx +49 -0
- package/src/components/TableGridSwitchButton/TableGridSwitchButton.uni.driver.ts +17 -0
- package/src/components/TableGridSwitchButton/index.ts +1 -0
- package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.tsx +84 -0
- package/src/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.ts +50 -0
- package/src/components/TablePlaceholderStates/TablePlaceholderStates.tsx +45 -0
- package/src/components/TableSections/TableSectionRow.tsx +84 -0
- package/src/components/TableSections/TableSections.tsx +61 -0
- package/src/components/TableSections/TableSectionsState.ts +128 -0
- package/src/components/TableSections/index.ts +5 -0
- package/src/components/TableSections/useTableSectionRow.tsx +35 -0
- package/src/components/TableSkeleton/TableSkeleton.tsx +106 -0
- package/src/components/TableTopNotification/ScrollAwayPushStrategy.ts +50 -0
- package/src/components/TableTopNotification/ScrollAwayScheduleStrategy.ts +81 -0
- package/src/components/TableTopNotification/TableTopNotification.tsx +127 -0
- package/src/components/TableTopNotification/TableTopNotification.uni.driver.ts +18 -0
- package/src/components/TableTopNotification/TableTopNotificationState.ts +75 -0
- package/src/components/TableTopNotification/TopNotificationRenderProp.ts +9 -0
- package/src/components/TableTopNotification/index.ts +2 -0
- package/src/components/TabsFilter/TabTitle.tsx +64 -0
- package/src/components/TabsFilter/TabsDefault.tsx +58 -0
- package/src/components/TabsFilter/TabsDropdown.tsx +106 -0
- package/src/components/TabsFilter/TabsFilter.st.css +3 -0
- package/src/components/TabsFilter/TabsFilter.st.css.ts +25 -0
- package/src/components/TabsFilter/TabsFilter.tsx +225 -0
- package/src/components/TabsFilter/TabsFilter.uni.driver.ts +86 -0
- package/src/components/TabsFilter/TabsFilterState.ts +93 -0
- package/src/components/TabsFilter/TabsResponsiveState.ts +122 -0
- package/src/components/TabsFilter/index.ts +1 -0
- package/src/components/TabsFilter/types.ts +13 -0
- package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.tsx +52 -0
- package/src/components/Tags/BulkAssignTagsPopover/AsyncJobProgressModal.uni.driver.ts +31 -0
- package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.tsx +133 -0
- package/src/components/Tags/BulkAssignTagsPopover/BulkAssignTagsPopover.uni.driver.ts +133 -0
- package/src/components/Tags/BulkAssignTagsPopover/CreateTagButton.tsx +40 -0
- package/src/components/Tags/BulkAssignTagsPopover/EmptyState.tsx +85 -0
- package/src/components/Tags/BulkAssignTagsPopover/Footer.tsx +67 -0
- package/src/components/Tags/BulkAssignTagsPopover/index.ts +1 -0
- package/src/components/Tags/ManageTags/CollectionManageTagsModal.tsx +13 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemEditable.tsx +62 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagListItemView.tsx +94 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/List/TagsListItem.tsx +27 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css +3 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +25 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.tsx +212 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.uni.driver.ts +118 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsNotification.tsx +80 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/NewTagItemEditable.tsx +31 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/TagItemEditable.tsx +81 -0
- package/src/components/Tags/ManageTags/ManageTagsModal/index.ts +2 -0
- package/src/components/Tags/ManageTags/index.ts +1 -0
- package/src/components/Tags/Tags.tsx +66 -0
- package/src/components/Tags/TagsBulkAssignUtils.ts +59 -0
- package/src/components/Tags/TagsFolders.tsx +12 -0
- package/src/components/Tags/index.ts +3 -0
- package/src/components/Tags/manageTagsPageAction.tsx +23 -0
- package/src/components/Tags/types.ts +10 -0
- package/src/components/Tags/useTagsBulkAssignFoldersUtils.ts +45 -0
- package/src/components/Tags/useTagsBulkAssignUtils.ts +31 -0
- package/src/components/TagsAssignButton/TagsAssignButton.tsx +54 -0
- package/src/components/TagsAssignButton/TagsAssignButton.uni.driver.ts +14 -0
- package/src/components/TagsAssignButton/index.ts +1 -0
- package/src/components/TagsColumn/TagsColumn.tsx +32 -0
- package/src/components/TagsColumn/TagsColumnContent.tsx +36 -0
- package/src/components/TagsColumn/index.ts +1 -0
- package/src/components/TagsFilter/TagsFilter.tsx +61 -0
- package/src/components/TagsFilter/index.ts +2 -0
- package/src/components/TagsFilter/tagsFilterBuilder.tsx +53 -0
- package/src/components/TagsWidget/TagsWidget.tsx +212 -0
- package/src/components/TagsWidget/TagsWidget.uni.driver.ts +113 -0
- package/src/components/TagsWidget/TagsWidgetContent.tsx +232 -0
- package/src/components/TagsWidget/index.ts +1 -0
- package/src/components/TagsWidgetContext.ts +14 -0
- package/src/components/TextBreadcrumbs.tsx +35 -0
- package/src/components/TextWidthLoader.tsx +18 -0
- package/src/components/ToolbarCollection/ToolbarCollection.tsx +390 -0
- package/src/components/ToolbarCollection/checkConflictingToolbarProps.ts +53 -0
- package/src/components/ToolbarCollection/index.ts +1 -0
- package/src/components/ToolbarCollection/useToolbarCollectionSyncProps.ts +192 -0
- package/src/components/ToolbarCollectionContentAutoSizer/ContainerRectDebug.tsx +51 -0
- package/src/components/ToolbarCollectionContentAutoSizer/ToolbarCollectionContentAutoSizer.tsx +67 -0
- package/src/components/ToolbarCollectionContentAutoSizer/index.ts +1 -0
- package/src/components/ToolbarCollectionContext.ts +18 -0
- package/src/components/ToolbarItem/ToolbarItem.st.css +3 -0
- package/src/components/ToolbarItem/ToolbarItem.st.css.ts +25 -0
- package/src/components/ToolbarItem/ToolbarItem.tsx +11 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css +13 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +25 -0
- package/src/components/ToolbarItemBox/ToolbarItemBox.tsx +38 -0
- package/src/components/ToolbarItemBox/index.ts +1 -0
- package/src/components/ToolbarTitle/ToolbarTitle.tsx +102 -0
- package/src/components/ToolbarTitle/index.ts +1 -0
- package/src/components/Trans/Trans.tsx +11 -0
- package/src/components/Trans/index.tsx +1 -0
- package/src/components/VirtualGridRepeater/ForceRenderIndexes.tsx +76 -0
- package/src/components/VirtualGridRepeater/GridForceRenderIndexes.tsx +37 -0
- package/src/components/VirtualGridRepeater/GridState.ts +43 -0
- package/src/components/VirtualGridRepeater/RenderItem.ts +12 -0
- package/src/components/VirtualGridRepeater/TableForceRenderIndexes.tsx +54 -0
- package/src/components/VirtualGridRepeater/VirtualGridItem.tsx +56 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeater.tsx +22 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterBase.tsx +125 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterContext.ts +15 -0
- package/src/components/VirtualGridRepeater/VirtualGridRepeaterState.ts +164 -0
- package/src/components/VirtualGridRepeater/VirtualGridStateContext.ts +16 -0
- package/src/components/VirtualGridRepeater/VirtualInternalMemoItem.tsx +66 -0
- package/src/components/VirtualGridRepeater/VirtualItem.tsx +6 -0
- package/src/components/VirtualGridRepeater/VirtualTableRepeater.tsx +62 -0
- package/src/components/VirtualGridRepeater/VirtualTableRow.tsx +35 -0
- package/src/components/VirtualGridRepeater/VirtualTableRowMutated.tsx +75 -0
- package/src/components/VirtualGridRepeater/VirtualTableRowMutatedState.ts +120 -0
- package/src/components/VisuallyHidden.tsx +15 -0
- package/src/components/WixLogo.tsx +24 -0
- package/src/components/WixPatternsModalsContainer.tsx +91 -0
- package/src/components/WixPatternsTestProvider.tsx +36 -0
- package/src/components/assertComponentType.ts +77 -0
- package/src/components/collectionStateProps.ts +8 -0
- package/src/components/common.st.css +9 -0
- package/src/components/common.st.css.ts +25 -0
- package/src/components/createChildSlot.ts +29 -0
- package/src/components/deleteSecondaryAction/deleteSecondaryAction.tsx +48 -0
- package/src/components/deleteSecondaryAction/index.ts +1 -0
- package/src/components/index.ts +13 -0
- package/src/components/isValidElement.ts +15 -0
- package/src/components/uniDriverFactory.ts +3 -0
- package/src/components/unidriver.ts +5 -0
- package/src/components/useCollectionReachBottom.tsx +73 -0
- package/src/components/usePageButtonBiParams.ts +29 -0
- package/src/components/useWidgetPageStatus.tsx +17 -0
- package/src/container/index.ts +1 -0
- package/src/container/useCairoTranslations.ts +7 -0
- package/src/createContext.ts +33 -0
- package/src/dashboard/WixPatternsDashboardBaseProvider.tsx +124 -0
- package/src/dashboard/WixPatternsDashboardProvider.tsx +44 -0
- package/src/dashboard/WixPatternsDashboardProviderInternal.tsx +28 -0
- package/src/dashboard/WixPatternsDashboardTestProvider.tsx +74 -0
- package/src/dashboard/WixPatternsProvider.tsx +13 -0
- package/src/dashboard/WixPatternsProviderInternal.tsx +12 -0
- package/src/dashboard/getInstanceJwtData.ts +17 -0
- package/src/dashboard/useEnvironment.ts +15 -0
- package/src/docs-types.ts +35 -0
- package/src/essentials/WixPatternsEssentialsProvider.tsx +31 -0
- package/src/essentials/buildWixPatternsEssentials.ts +49 -0
- package/src/essentials/usePickerModal.ts +67 -0
- package/src/essentials/warmUpPickerStandalone.ts +11 -0
- package/src/essentials/withWixPatternsProvider.tsx +14 -0
- package/src/exports/alpha.ts +1 -0
- package/src/exports/bm.ts +5 -0
- package/src/exports/components.ts +1 -0
- package/src/exports/core.ts +1 -0
- package/src/exports/essentials.ts +10 -0
- package/src/exports/form.ts +8 -0
- package/src/exports/giza.ts +6 -0
- package/src/exports/history.ts +1 -0
- package/src/exports/mobx.ts +1 -0
- package/src/exports/nextjs.ts +1 -0
- package/src/exports/page.ts +3 -0
- package/src/exports/provider/index.ts +3 -0
- package/src/exports/provider/internal.ts +3 -0
- package/src/exports/router/index.ts +1 -0
- package/src/exports/testkit/backend.ts +1 -0
- package/src/exports/testkit/bm.ts +1 -0
- package/src/exports/testkit/enzyme.ts +1 -0
- package/src/exports/testkit/index.ts +12 -0
- package/src/exports/testkit/internal.ts +1 -0
- package/src/exports/testkit/jsdom.ts +1 -0
- package/src/exports/testkit/playwright.ts +1 -0
- package/src/exports/testkit/puppeteer.ts +1 -0
- package/src/exports/testkit/unidriver.ts +7 -0
- package/src/exports/utils/index.ts +3 -0
- package/src/exports/utils/react.ts +1 -0
- package/src/exports/version.ts +1 -0
- package/src/external-types.d.ts +8 -0
- package/src/external-types.tests.d.ts +8 -0
- package/src/fields/BaseInput/BaseInput.ts +16 -0
- package/src/fields/BaseInput/index.ts +1 -0
- package/src/fields/Checkbox/Checkbox.tsx +30 -0
- package/src/fields/Checkbox/index.ts +1 -0
- package/src/fields/DateInput/DateInput.tsx +74 -0
- package/src/fields/DateInput/index.ts +1 -0
- package/src/fields/DateTime/DateTime.tsx +170 -0
- package/src/fields/DateTime/index.ts +1 -0
- package/src/fields/Dropdown/Dropdown.tsx +36 -0
- package/src/fields/Dropdown/index.ts +1 -0
- package/src/fields/Field/Field.tsx +16 -0
- package/src/fields/Field/Field.uni.driver.ts +247 -0
- package/src/fields/Field/index.ts +1 -0
- package/src/fields/LongText/LongText.tsx +37 -0
- package/src/fields/LongText/index.ts +1 -0
- package/src/fields/Number/Number.tsx +26 -0
- package/src/fields/Number/index.ts +1 -0
- package/src/fields/ShortText/ShortText.tsx +37 -0
- package/src/fields/ShortText/index.ts +1 -0
- package/src/fields/Url/Url.tsx +72 -0
- package/src/fields/Url/index.ts +1 -0
- package/src/fields/dataHooks.ts +4 -0
- package/src/fields/index.ts +8 -0
- package/src/fields/useTextInput.ts +34 -0
- package/src/giza/WixPatternsGizaProvider.tsx +75 -0
- package/src/giza/buildWixPatternsEssentials.ts +61 -0
- package/src/giza/index.ts +2 -0
- package/src/giza/usePickerModal.ts +70 -0
- package/src/hooks/CollectionFoldersBaseConfig.ts +13 -0
- package/src/hooks/customModalContent.ts +8 -0
- package/src/hooks/index.ts +23 -0
- package/src/hooks/listItem.ts +18 -0
- package/src/hooks/useAmbassador/index.ts +2 -0
- package/src/hooks/useAmbassador/useAmbassadorGrid.ts +25 -0
- package/src/hooks/useAmbassador/useAmbassadorTable.ts +26 -0
- package/src/hooks/useAutoScrollOnLoad.tsx +35 -0
- package/src/hooks/useBuildAccordionItems.tsx +108 -0
- package/src/hooks/useBuildOption.ts +96 -0
- package/src/hooks/useCollectionComponentBaseParams.ts +11 -0
- package/src/hooks/useCollectionFilterInitialFetchTiming.ts +40 -0
- package/src/hooks/useCollectionOptions.tsx +81 -0
- package/src/hooks/useCollectionPageChild/index.ts +1 -0
- package/src/hooks/useCollectionPageChild/useCollectionPageChild.tsx +38 -0
- package/src/hooks/useColumnsSyncProps.ts +93 -0
- package/src/hooks/useCreateNestedOptimisticActions.ts +31 -0
- package/src/hooks/useCreateWSRColumnBase.ts +56 -0
- package/src/hooks/useCustomFieldsWidget.ts +53 -0
- package/src/hooks/useDateRangeFilterState.ts +31 -0
- package/src/hooks/useDropdownPlaceholder.ts +62 -0
- package/src/hooks/useDropdownSelectFilterState.ts +29 -0
- package/src/hooks/useEmptyStateTexts.ts +40 -0
- package/src/hooks/useEntity.ts +9 -0
- package/src/hooks/useEntityPage.ts +30 -0
- package/src/hooks/useEntityPageChild/index.ts +1 -0
- package/src/hooks/useEntityPageChild/useEntityPageChild.tsx +41 -0
- package/src/hooks/useExtensionMenuItems.tsx +30 -0
- package/src/hooks/useFilterCollection/index.ts +1 -0
- package/src/hooks/useFilterCollection/useFilterCollection.ts +87 -0
- package/src/hooks/useFilterCollectionStates.tsx +123 -0
- package/src/hooks/useFixMissingContactsViews.ts +95 -0
- package/src/hooks/useGridCollection.ts +32 -0
- package/src/hooks/useGridFolders.ts +49 -0
- package/src/hooks/useIsMobile.ts +10 -0
- package/src/hooks/useIsScrollTop.ts +20 -0
- package/src/hooks/useItemsSelectionFilter/index.ts +5 -0
- package/src/hooks/useItemsSelectionFilter/useItemsSelectionFilter.ts +160 -0
- package/src/hooks/useKanban.ts +83 -0
- package/src/hooks/useMigrateOrdersViews.ts +97 -0
- package/src/hooks/useNestedTable.ts +93 -0
- package/src/hooks/useOptionalCachedState.ts +93 -0
- package/src/hooks/usePageHeader.ts +27 -0
- package/src/hooks/usePageHeaderNew.ts +26 -0
- package/src/hooks/usePickerContent/index.ts +2 -0
- package/src/hooks/usePickerContent/usePickerContent.spec.tsx +84 -0
- package/src/hooks/usePickerContent/usePickerContent.ts +94 -0
- package/src/hooks/usePickerContent/usePickerContentState.ts +64 -0
- package/src/hooks/usePickerModal/PickerModalState.ts +491 -0
- package/src/hooks/usePickerModal/UsePickerModalParamsBase.ts +127 -0
- package/src/hooks/usePickerModal/index.ts +8 -0
- package/src/hooks/usePickerModal/usePickerModal.ts +32 -0
- package/src/hooks/usePickerModal/usePickerModalState.ts +93 -0
- package/src/hooks/usePickerStandalone/index.ts +1 -0
- package/src/hooks/usePickerStandalone/usePickerStandalone.spec.tsx +139 -0
- package/src/hooks/usePickerStandalone/usePickerStandalone.ts +117 -0
- package/src/hooks/usePromiseState.ts +70 -0
- package/src/hooks/useRafRender.ts +17 -0
- package/src/hooks/useSettings.ts +9 -0
- package/src/hooks/useSettingsPage.ts +26 -0
- package/src/hooks/useSettingsPageChild/index.ts +1 -0
- package/src/hooks/useSettingsPageChild/useSettingsPageChild.tsx +41 -0
- package/src/hooks/useStaticListFilterCollection.ts +59 -0
- package/src/hooks/useSyncCollectionOnEntityCreate.ts +45 -0
- package/src/hooks/useSyncCollectionOnEntityReturn.ts +154 -0
- package/src/hooks/useSyncCollectionOnEntityUpdate.ts +69 -0
- package/src/hooks/useSyncTotal.ts +28 -0
- package/src/hooks/useTableCollection.ts +43 -0
- package/src/hooks/useTableFolders.ts +49 -0
- package/src/hooks/useTableGridSwitchCollection.ts +40 -0
- package/src/hooks/useTableGridSwitchFolders.ts +51 -0
- package/src/hooks/useTableRoundedCornersEnabled.ts +6 -0
- package/src/hooks/useTagsWidget.ts +67 -0
- package/src/hooks/useViews.ts +49 -0
- package/src/hooks/useWidgetForm.ts +11 -0
- package/src/index.ts +241 -0
- package/src/minimalRequiredWdsRuntimeCheck.ts +16 -0
- package/src/model/filterProps.ts +85 -0
- package/src/model/index.ts +3 -0
- package/src/model/tableColumn.ts +150 -0
- package/src/model/view.ts +138 -0
- package/src/nextjs/styleableDecorator.ts +55 -0
- package/src/providers/CairoProvider.tsx +43 -0
- package/src/providers/CollectionPageContext.ts +6 -0
- package/src/providers/DropdownTranslationProvider.tsx +64 -0
- package/src/providers/EntityPageContext.ts +19 -0
- package/src/providers/FilterToolbarState.ts +21 -0
- package/src/providers/FilterTranslationProvider.tsx +36 -0
- package/src/providers/FormPageContext.ts +5 -0
- package/src/providers/PageContext.ts +5 -0
- package/src/providers/ScrollableContentContext.ts +20 -0
- package/src/providers/SettingsPageContext.ts +19 -0
- package/src/providers/TableContext.ts +15 -0
- package/src/providers/WidgetsFormContext.ts +5 -0
- package/src/providers/WixPatternsBaseProvider.tsx +44 -0
- package/src/providers/WixPatternsMinimalEssentials.ts +11 -0
- package/src/providers/WixPatternsRouterProvider.tsx +28 -0
- package/src/providers/index.ts +12 -0
- package/src/reach-bottom-listener/index.ts +3 -0
- package/src/reach-bottom-listener/reachBottomListener.ts +151 -0
- package/src/reach-bottom-listener/scrollPosition.ts +39 -0
- package/src/reach-bottom-listener/scrollableWindow.ts +35 -0
- package/src/services/index.ts +1 -0
- package/src/services/viewsService.ts +233 -0
- package/src/services/withCairoViewsTestFlag.ts +17 -0
- package/src/sledPage.ts +5 -0
- package/src/state/AdditionalStepState.ts +30 -0
- package/src/state/BulkActionToolbarState.ts +298 -0
- package/src/state/CollectionFilterState.ts +25 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css +15 -0
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +25 -0
- package/src/state/CollectionPage/index.ts +2 -0
- package/src/state/CollectionPage/pushFactoryIfNotExistsOrAddToTopOfGroup.ts +52 -0
- package/src/state/CollectionPage/useCollectionPageContent.tsx +7 -0
- package/src/state/CollectionPage/useCollectionPageHeader.tsx +105 -0
- package/src/state/CollectionReachBottom.ts +61 -0
- package/src/state/CollectionViewsQueryCompareHelper.ts +224 -0
- package/src/state/CollectionViewsState.ts +445 -0
- package/src/state/CollectionViewsStateBIReporter.ts +291 -0
- package/src/state/CustomColumnsDragAndDropState.ts +145 -0
- package/src/state/CustomColumnsHistoryState.ts +92 -0
- package/src/state/CustomColumnsState.ts +500 -0
- package/src/state/CustomFields/CustomFieldsAllNamespacesFormState.ts +133 -0
- package/src/state/CustomFields/CustomFieldsFormState.ts +203 -0
- package/src/state/CustomFields/CustomFieldsPanelState.ts +80 -0
- package/src/state/CustomFields/CustomFieldsWidgetState.ts +324 -0
- package/src/state/CustomFields/index.ts +3 -0
- package/src/state/DateRangeFilterState.ts +44 -0
- package/src/state/DateRangePickerState.ts +378 -0
- package/src/state/DragAndDrop/createOptimisticActionsOrderByModeReaction.ts +21 -0
- package/src/state/DropdownCollectionFilterState.ts +103 -0
- package/src/state/DropdownSelectFilterState.ts +46 -0
- package/src/state/DropdownSelectState.ts +202 -0
- package/src/state/EntityPage/EntityPageState.ts +407 -0
- package/src/state/EntityPage/EntityPageStateBIReporter.ts +138 -0
- package/src/state/EntityPage/index.ts +3 -0
- package/src/state/EntityPage/useEntityPageContent.tsx +20 -0
- package/src/state/EntityPage/useEntityPageHeader.tsx +41 -0
- package/src/state/ExtensionMenuItemsState.ts +70 -0
- package/src/state/ExtensionsState.ts +54 -0
- package/src/state/FeaturesAvailabilityBIParams.ts +26 -0
- package/src/state/FilterValueTotalState.ts +150 -0
- package/src/state/FoldersAndItemsCollectionsState.ts +164 -0
- package/src/state/FormPage/FormFooter.tsx +30 -0
- package/src/state/FormPage/FormPageHeader.st.css +15 -0
- package/src/state/FormPage/FormPageHeader.st.css.ts +25 -0
- package/src/state/FormPage/index.ts +2 -0
- package/src/state/FormPage/useFormPageContent.tsx +121 -0
- package/src/state/FormPage/useFormPageHeader.tsx +84 -0
- package/src/state/GridBaseState.ts +333 -0
- package/src/state/GridFoldersBIReporter.ts +46 -0
- package/src/state/GridFoldersState.ts +222 -0
- package/src/state/GridParentState.ts +8 -0
- package/src/state/GridState.ts +86 -0
- package/src/state/ICollectionComponentState.ts +5 -0
- package/src/state/IndeterminateMapState.ts +84 -0
- package/src/state/IntersectionObserverState.ts +47 -0
- package/src/state/ItemActionsState.tsx +93 -0
- package/src/state/KanbanState/KanbanDragEndEvent.ts +5 -0
- package/src/state/KanbanState/KanbanStageState.ts +201 -0
- package/src/state/KanbanState/KanbanState.ts +674 -0
- package/src/state/KanbanState/KanbanStateBIReporter.ts +316 -0
- package/src/state/KanbanState/index.ts +2 -0
- package/src/state/MultiLevelSortingDragAndDrop.ts +146 -0
- package/src/state/MultiLevelSortingState.ts +345 -0
- package/src/state/NestedTableState/NestedCollectionFetchAllCollectionState.ts +235 -0
- package/src/state/NestedTableState/NestedCollectionFetchAllState.ts +138 -0
- package/src/state/NestedTableState/NestedCollectionLevelDescriptor.ts +38 -0
- package/src/state/NestedTableState/NestedCollectionNodeState.ts +181 -0
- package/src/state/NestedTableState/NestedCollectionState.ts +81 -0
- package/src/state/NestedTableState/NestedTableColumn.ts +8 -0
- package/src/state/NestedTableState/NestedTableFlatModeSectionState.ts +116 -0
- package/src/state/NestedTableState/NestedTableFlatModeState.ts +251 -0
- package/src/state/NestedTableState/NestedTableFlatModeStateBIReporter.ts +46 -0
- package/src/state/NestedTableState/NestedTableLeafNodeState.ts +54 -0
- package/src/state/NestedTableState/NestedTableLevelDescriptor.ts +54 -0
- package/src/state/NestedTableState/NestedTableNestedModeState.ts +284 -0
- package/src/state/NestedTableState/NestedTableNestedModeStateBIReporter.ts +26 -0
- package/src/state/NestedTableState/NestedTableNodeState.ts +569 -0
- package/src/state/NestedTableState/NestedTableNodeStateBIReporter.ts +59 -0
- package/src/state/NestedTableState/NestedTableNodeStateOptimisticActions.ts +88 -0
- package/src/state/NestedTableState/NestedTableNodeStatePublicAPI.ts +58 -0
- package/src/state/NestedTableState/NestedTableState.ts +370 -0
- package/src/state/NestedTableState/createNestedOptimisticActions.ts +56 -0
- package/src/state/NestedTableState/createNestedTableLevel.ts +24 -0
- package/src/state/NestedTableState/createParentIdPredicate.ts +30 -0
- package/src/state/NestedTableState/getNodeOrLeaf.ts +19 -0
- package/src/state/NestedTableState/index.ts +9 -0
- package/src/state/NestedTableState/types.ts +11 -0
- package/src/state/PickerContentState.ts +392 -0
- package/src/state/PickerContentStateBI.ts +70 -0
- package/src/state/PickerStandaloneState.ts +381 -0
- package/src/state/RectState.ts +140 -0
- package/src/state/ResizeObserverState.ts +33 -0
- package/src/state/Responsive/HorizontalOverflowState.ts +85 -0
- package/src/state/Responsive/HorizontalSpaceAvailableState.ts +86 -0
- package/src/state/ResponsiveColumnsState.ts +68 -0
- package/src/state/ScrollState.ts +68 -0
- package/src/state/SelectFieldState.ts +65 -0
- package/src/state/SettingsPage/SettingsPageState.ts +276 -0
- package/src/state/SettingsPage/SettingsPageStateBIReporter.ts +134 -0
- package/src/state/SettingsPage/useSettingsPageContent.tsx +20 -0
- package/src/state/SettingsPage/useSettingsPageHeader.tsx +31 -0
- package/src/state/SidePanelsState.ts +103 -0
- package/src/state/TableFoldersState.ts +239 -0
- package/src/state/TableGridSwitchFoldersState.ts +107 -0
- package/src/state/TableGridSwitchState.ts +94 -0
- package/src/state/TableState.ts +228 -0
- package/src/state/TableVirtualState.ts +181 -0
- package/src/state/TagsBulkAssignAsyncState.ts +409 -0
- package/src/state/TagsBulkAssignButtonState.ts +28 -0
- package/src/state/TagsBulkAssignPopoverState.ts +454 -0
- package/src/state/TagsBulkAssignSyncState.ts +196 -0
- package/src/state/TagsCollectionState.ts +143 -0
- package/src/state/TagsModalState.ts +475 -0
- package/src/state/Toolbar/ToolbarResponsivePriorityState.ts +110 -0
- package/src/state/Toolbar/ToolbarResponsiveState.ts +131 -0
- package/src/state/ToolbarBIReporter.ts +238 -0
- package/src/state/ToolbarCollectionState.ts +900 -0
- package/src/state/ViewTypeState.ts +70 -0
- package/src/state/ViewsHistoryState.ts +63 -0
- package/src/state/ViewsLocalSearchBIReporter.ts +132 -0
- package/src/state/ViewsLocalSearchState.ts +146 -0
- package/src/state/ViewsState.ts +699 -0
- package/src/state/WixPatternsRouterState.ts +51 -0
- package/src/state/getToolbarCollectionFeaturesInitializers.ts +48 -0
- package/src/state/gridSizePresets.ts +111 -0
- package/src/state/index.ts +34 -0
- package/src/state/indexOfCompareFn.ts +25 -0
- package/src/state/initCustomColumns.ts +22 -0
- package/src/state/initTabTotal.ts +32 -0
- package/src/state/presetsToCategories.ts +25 -0
- package/src/state/setViewsState.ts +37 -0
- package/src/state/simplifyColumns.ts +35 -0
- package/src/state/simplifyExtendedColumns.tsx +95 -0
- package/src/state/toolbarFeatureInitializer.ts +9 -0
- package/src/state/warmUpPickerStandalone.ts +22 -0
- package/src/stylable-esm-runtime.ts +90 -0
- package/src/styles.global.css +1 -0
- package/src/test-types.d.ts +1 -0
- package/src/test-utils/AppsMocks.ts +56 -0
- package/src/test-utils/AsyncJobMocks.ts +85 -0
- package/src/test-utils/CairoTestApp.tsx +139 -0
- package/src/test-utils/CairoTestAppRouter.tsx +21 -0
- package/src/test-utils/DataExtensionMocks.ts +84 -0
- package/src/test-utils/ExportMocks.ts +46 -0
- package/src/test-utils/ExtensionWidget.tsx +53 -0
- package/src/test-utils/HttpErrorMocks.tsx +29 -0
- package/src/test-utils/ItemsSelectionMocks.ts +51 -0
- package/src/test-utils/MultiSelectCheckboxStaticListFilter.tsx +27 -0
- package/src/test-utils/OrdersMocks.ts +98 -0
- package/src/test-utils/Router.tsx +58 -0
- package/src/test-utils/SettingsModalLayout.tsx +146 -0
- package/src/test-utils/SingleSelectFilter.tsx +23 -0
- package/src/test-utils/TagsMocks.ts +273 -0
- package/src/test-utils/ToastState.ts +29 -0
- package/src/test-utils/WixPatternsEssentialsTestProvider.tsx +124 -0
- package/src/test-utils/columns.ts +17 -0
- package/src/test-utils/createPromise.ts +22 -0
- package/src/test-utils/createSitesBackend.ts +36 -0
- package/src/test-utils/createStatusesBackend.ts +33 -0
- package/src/test-utils/dataExtensionServiceMocks.ts +82 -0
- package/src/test-utils/flush.ts +41 -0
- package/src/test-utils/getUniDriverStyle.ts +10 -0
- package/src/test-utils/index.ts +14 -0
- package/src/test-utils/site.ts +6 -0
- package/src/test-utils/status.ts +4 -0
- package/src/test-utils/statusFilters.ts +3 -0
- package/src/test-utils/tagsServiceMocks.ts +68 -0
- package/src/test-utils/toast.ts +13 -0
- package/src/test-utils/viewsServiceTestkit.ts +176 -0
- package/src/testkit/backend.ts +1 -0
- package/src/testkit/enzyme.ts +78 -0
- package/src/testkit/jsdom.ts +104 -0
- package/src/testkit/playwright.ts +92 -0
- package/src/testkit/puppeteer.ts +95 -0
- package/src/unidriver/baseUniDriverFactory.ts +11 -0
- package/src/unidriver/index.ts +1 -0
- package/src/useSelector.ts +9 -0
- package/src/utils/assertProp.ts +13 -0
- package/src/utils/datesUtil.ts +71 -0
- package/src/utils/getCollectionComponentUniqueId.ts +7 -0
- package/src/utils/isErrorResponse.ts +10 -0
- package/src/utils/matchMediaQuery.ts +30 -0
- package/src/utils/minimalRequiredRuntimeCheck.ts +22 -0
- package/src/utils/replaceUrlCurlySegments.ts +53 -0
- package/src/utils/useWindowFlipPopoverProps.ts +32 -0
- package/src/utils/validateEncodedUrl.ts +22 -0
- package/src/utils/wordStartsWithMatch.ts +7 -0
- package/src/version.ts +1 -0
- package/src/wix-design-system-version.ts +1 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React, { memo, SVGAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export const AddItemEmptyState = memo(function AddItemEmptyState(
|
|
4
|
+
props: SVGAttributes<HTMLOrSVGElement>,
|
|
5
|
+
) {
|
|
6
|
+
return (
|
|
7
|
+
<svg width="120" height="120" viewBox="0 0 120 120" {...props}>
|
|
8
|
+
<path
|
|
9
|
+
d="M86.048 8.821L49.156 22.191C47.1886 22.9039 45.585 24.3691 44.698 26.2644C43.8109 28.1596 43.7131 30.3296 44.426 32.297L44.644 32.899C45.3569 34.8664 46.8221 36.47 48.7174 37.357C50.6126 38.2441 52.7826 38.3419 54.75 37.629L91.642 24.259C93.6094 23.5461 95.213 22.0809 96.1 20.1856C96.987 18.2904 97.0849 16.1204 96.372 14.153L96.154 13.551C95.4411 11.5836 93.9758 9.98003 92.0806 9.09298C90.1854 8.20593 88.0154 8.1081 86.048 8.821Z"
|
|
10
|
+
fill="#C2E2FF"
|
|
11
|
+
/>
|
|
12
|
+
<path
|
|
13
|
+
d="M95.4151 46.93L63.6291 40.912L57.6121 72.698L89.3971 78.715L95.4151 46.929V46.93Z"
|
|
14
|
+
fill="#116DFF"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
d="M85.34 60.98L77.03 59.4L78.59 51.16L77.61 50.98L76.05 59.22L67.88 57.67L67.7 58.65L75.86 60.2L74.3 68.44L75.29 68.63L76.85 60.39L85.16 61.96L85.34 60.98Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M83.3 112.89C73.47 112.89 64.46 105.47 62.2 94.79L73.94 92.3C75.14 97.97 80.0399 101.75 84.8799 100.72C87.1099 100.25 89.03 98.8 90.29 96.65C91.66 94.3 92.08 91.44 91.47 88.59L103.21 86.1C104.43 91.87 103.53 97.77 100.66 102.69C97.68 107.81 92.96 111.28 87.37 112.46C86.01 112.75 84.6499 112.89 83.3099 112.89H83.3Z"
|
|
22
|
+
fill="#FFB6AC"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M40 102C40 96.477 35.523 92 30 92C24.477 92 20 96.477 20 102C20 107.523 24.477 112 30 112C35.523 112 40 107.523 40 102Z"
|
|
26
|
+
fill="#28BF9A"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M42.97 48.98C47.63 59.3 43.03 71.44 32.71 76.1C22.39 80.76 10.25 76.16 5.58997 65.84"
|
|
30
|
+
fill="#FFD527"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d="M29.59 23.83L22.41 32.35L11.45 30.39L7.66003 19.92L14.84 11.4L25.8 13.36L29.59 23.83ZM111 31.5C111 28.46 108.54 26 105.5 26C102.46 26 100 28.46 100 31.5C100 34.54 102.46 37 105.5 37C108.54 37 111 34.54 111 31.5ZM115 59H100V60H115V59ZM105 65H98V66H105V65Z"
|
|
34
|
+
fill="#192C55"
|
|
35
|
+
/>
|
|
36
|
+
</svg>
|
|
37
|
+
);
|
|
38
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React, { memo, SVGAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
export const CollectionPremiumEmptyStateIllustration = memo(
|
|
4
|
+
function CollectionPremiumEmptyStateIllustration(
|
|
5
|
+
props: SVGAttributes<HTMLOrSVGElement>,
|
|
6
|
+
) {
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
width="120"
|
|
11
|
+
height="120"
|
|
12
|
+
viewBox="0 0 120 120"
|
|
13
|
+
fill="none"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
d="M89.9246 29.7913L2.30566 46.458L14.3605 109.832L101.979 93.165L89.9246 29.7913Z"
|
|
18
|
+
fill="white"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
d="M90.559 33.1349L21.7036 46.2324L33.1231 106.266L101.978 93.1684L90.559 33.1349Z"
|
|
22
|
+
fill="#C2E2FF"
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
d="M80.4949 86.0762L110.94 93.8697C112.587 94.2561 113.611 95.9017 113.23 97.5497L108.5 116.05C108.039 117.682 106.344 118.635 104.71 118.18L74.4399 110.43C73.6468 110.244 72.9598 109.751 72.5303 109.059C72.1009 108.367 71.964 107.533 72.1499 106.74L76.8799 88.2397C77.3287 86.6693 78.9191 85.7326 80.4949 86.0762ZM89.3352 26.6708L90.9722 35.2765L3.35326 51.9431L1.71631 43.3374L89.3352 26.6708ZM61.5199 3.96973L63.5099 27.1997L31.9999 33.0697L27.6399 11.3597L39.2299 19.8197L45.3899 6.96973L53.3399 17.0397L61.5199 3.96973Z"
|
|
26
|
+
fill="#116DFF"
|
|
27
|
+
/>
|
|
28
|
+
<path
|
|
29
|
+
d="M86.9894 40.1707L89.9046 55.4959L31.099 66.6817L28.1839 51.3565L86.9894 40.1707ZM7.31988 45.54C7.9771 45.54 8.50988 46.0728 8.50988 46.73C8.50988 47.3872 7.9771 47.92 7.31988 47.92C6.66266 47.92 6.12988 47.3872 6.12988 46.73C6.12988 46.0728 6.66266 45.54 7.31988 45.54ZM11.8499 44.68C12.5071 44.68 13.0399 45.2127 13.0399 45.87C13.0399 46.5272 12.5071 47.06 11.8499 47.06C11.1927 47.06 10.6599 46.5272 10.6599 45.87C10.6599 45.2127 11.1927 44.68 11.8499 44.68ZM16.2199 43.85C16.8771 43.85 17.4099 44.3828 17.4099 45.04C17.4099 45.6972 16.8771 46.23 16.2199 46.23C15.5627 46.23 15.0299 45.6972 15.0299 45.04C15.0299 44.3828 15.5627 43.85 16.2199 43.85Z"
|
|
30
|
+
fill="white"
|
|
31
|
+
/>
|
|
32
|
+
<path
|
|
33
|
+
d="M23.4093 48.1216L34.4213 106.014L14.4101 109.82L3.39807 51.9281L23.4093 48.1216ZM76.5614 89.4936L112.909 98.7991L112.019 102.277L75.671 92.9714L76.5614 89.4936ZM73.7861 52.1598L73.9728 53.1422L35.2557 60.4999L35.069 59.5175L73.7861 52.1598ZM56.8072 50.5216L56.9939 51.504L34.3688 55.8036L34.1821 54.8212L56.8072 50.5216ZM92.5212 12.3009L92.8614 13.2413L71.4309 20.9948L71.0907 20.0545L92.5212 12.3009ZM75.6169 6.86035L76.3681 7.52048L68.2946 16.707L67.5435 16.0469L75.6169 6.86035Z"
|
|
34
|
+
fill="#192C55"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="M44.6799 86.5904L104.36 57.6504L117.12 83.8904L57.4399 112.83L44.6799 86.5904Z"
|
|
38
|
+
fill="white"
|
|
39
|
+
/>
|
|
40
|
+
<path
|
|
41
|
+
d="M104.83 56.33L104.86 56.36L118.49 84.36L56.9998 114.17L43.3398 86.12L104.83 56.33ZM95.6687 62.9894L54.7584 82.8081C55.5908 84.9982 55.6307 87.4217 54.8535 89.6517C54.0157 92.0555 52.2944 94.0452 50.0461 95.2213L49.9918 95.248L53.7034 102.87C58.4059 101.01 63.8018 102.97 66.1966 107.47L107.326 87.5417C105.411 82.8753 107.288 77.4904 111.698 75.0275L108.077 67.5871C103.401 69.3966 98.0594 67.4465 95.6687 62.9894ZM74.9709 79.0503C78.3928 75.7803 83.8207 75.9066 87.0945 79.3325C90.3684 82.7583 90.2483 88.1864 86.8265 91.4564C83.4046 94.7264 77.9767 94.6001 74.7029 91.1742C71.4291 87.7484 71.5491 82.3203 74.9709 79.0503Z"
|
|
42
|
+
fill="#28BF9A"
|
|
43
|
+
/>
|
|
44
|
+
</svg>
|
|
45
|
+
);
|
|
46
|
+
},
|
|
47
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { MutableRefObject } from 'react';
|
|
2
|
+
import { Box, Loader, LoaderProps } 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 { InfiniteScrollLoaderBase } from './InfiniteScrollLoaderBase';
|
|
7
|
+
|
|
8
|
+
export interface InfiniteScrollLoaderProps<T, F extends FiltersMap>
|
|
9
|
+
extends CollectionStateProps<T, F>,
|
|
10
|
+
Partial<LoaderProps> {
|
|
11
|
+
targetRef: MutableRefObject<HTMLElement | null | undefined>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const InfiniteScrollLoader = observer(function Table<
|
|
15
|
+
T,
|
|
16
|
+
F extends FiltersMap,
|
|
17
|
+
>({ state, targetRef, ...rest }: InfiniteScrollLoaderProps<T, F>) {
|
|
18
|
+
return (
|
|
19
|
+
<InfiniteScrollLoaderBase state={state} targetRef={targetRef}>
|
|
20
|
+
<Box align="center" padding="large">
|
|
21
|
+
<Loader {...rest} />
|
|
22
|
+
</Box>
|
|
23
|
+
</InfiniteScrollLoaderBase>
|
|
24
|
+
);
|
|
25
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { MutableRefObject } from 'react';
|
|
2
|
+
import { LoaderProps } from '@wix/design-system';
|
|
3
|
+
import { observer } from 'mobx-react-lite';
|
|
4
|
+
import { CollectionStateProps } from '../collectionStateProps';
|
|
5
|
+
import { FiltersMap } from '@wix/bex-core';
|
|
6
|
+
|
|
7
|
+
export interface InfiniteScrollLoaderProps<T, F extends FiltersMap>
|
|
8
|
+
extends CollectionStateProps<T, F>,
|
|
9
|
+
Partial<LoaderProps> {
|
|
10
|
+
targetRef: MutableRefObject<HTMLElement | null | undefined>;
|
|
11
|
+
children: JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const InfiniteScrollLoaderBase = observer(
|
|
15
|
+
function InfiniteScrollLoaderBase<T, F extends FiltersMap>({
|
|
16
|
+
state,
|
|
17
|
+
targetRef,
|
|
18
|
+
children,
|
|
19
|
+
}: InfiniteScrollLoaderProps<T, F>) {
|
|
20
|
+
const { fetchedLastPage, showRefreshLoader, showErrorState } = state;
|
|
21
|
+
return (
|
|
22
|
+
<>
|
|
23
|
+
<div
|
|
24
|
+
ref={(el) => {
|
|
25
|
+
targetRef.current = el as HTMLElement | null;
|
|
26
|
+
}}
|
|
27
|
+
/>
|
|
28
|
+
{!fetchedLastPage && !showRefreshLoader && !showErrorState && children}
|
|
29
|
+
</>
|
|
30
|
+
);
|
|
31
|
+
},
|
|
32
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { observer } from 'mobx-react-lite';
|
|
3
|
+
import { FiltersMap } from '@wix/bex-core';
|
|
4
|
+
import { GridBaseState } from '../../state';
|
|
5
|
+
import { InfiniteScrollLoaderBaseProps } from './InfiniteScrollLoaderBaseProps';
|
|
6
|
+
import { InfiniteScrollLoaderBase } from './InfiniteScrollLoaderBase';
|
|
7
|
+
import { SkeletonGrid } from '../SkeletonGrid';
|
|
8
|
+
import { Box } from '@wix/design-system';
|
|
9
|
+
|
|
10
|
+
export interface SkeletonInfiniteScrollLoaderProps<T, F extends FiltersMap>
|
|
11
|
+
extends InfiniteScrollLoaderBaseProps {
|
|
12
|
+
state: GridBaseState<T, F>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _SkeletonInfiniteScrollLoader<T, F extends FiltersMap>({
|
|
16
|
+
state,
|
|
17
|
+
targetRef,
|
|
18
|
+
dataHook,
|
|
19
|
+
}: SkeletonInfiniteScrollLoaderProps<T, F>) {
|
|
20
|
+
const { contentPaddingPx } = state.toolbar;
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<InfiniteScrollLoaderBase state={state.collection} targetRef={targetRef}>
|
|
24
|
+
<Box dataHook={dataHook} paddingBottom={contentPaddingPx}>
|
|
25
|
+
<SkeletonGrid state={state} />
|
|
26
|
+
</Box>
|
|
27
|
+
</InfiniteScrollLoaderBase>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const SkeletonInfiniteScrollLoader = observer(
|
|
32
|
+
_SkeletonInfiniteScrollLoader,
|
|
33
|
+
);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { Box, BoxProps, Loader, LoaderProps } from '@wix/design-system';
|
|
3
|
+
|
|
4
|
+
export interface InitialLoaderProps
|
|
5
|
+
extends Partial<LoaderProps>,
|
|
6
|
+
Partial<Omit<BoxProps & CSSProperties, keyof LoaderProps>> {
|
|
7
|
+
state: {
|
|
8
|
+
internalScroll?: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export function InitialLoader(props: InitialLoaderProps) {
|
|
13
|
+
const { dataHook, size, state, minHeight = '300px', ...rest } = props;
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<Box
|
|
17
|
+
backgroundColor="D80"
|
|
18
|
+
align="center"
|
|
19
|
+
verticalAlign="middle"
|
|
20
|
+
borderRadius="8px"
|
|
21
|
+
minHeight={minHeight}
|
|
22
|
+
height={state.internalScroll ? '100%' : undefined}
|
|
23
|
+
{...rest}
|
|
24
|
+
>
|
|
25
|
+
<Loader dataHook={dataHook} size={size} />
|
|
26
|
+
</Box>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GridBaseState } from '../../state';
|
|
3
|
+
import { FiltersMap } from '@wix/bex-core';
|
|
4
|
+
import { SkeletonGrid } from '../SkeletonGrid';
|
|
5
|
+
import { Box } from '@wix/design-system';
|
|
6
|
+
import { observer } from 'mobx-react-lite';
|
|
7
|
+
|
|
8
|
+
export interface InitialSkeletonLoaderProps<T, F extends FiltersMap> {
|
|
9
|
+
dataHook?: string;
|
|
10
|
+
state: GridBaseState<T, F>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function _InitialSkeletonLoader<T, F extends FiltersMap>({
|
|
14
|
+
state,
|
|
15
|
+
dataHook,
|
|
16
|
+
}: InitialSkeletonLoaderProps<T, F>) {
|
|
17
|
+
const {
|
|
18
|
+
toolbar: { contentPaddingPx },
|
|
19
|
+
} = state;
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<Box
|
|
23
|
+
dataHook={dataHook}
|
|
24
|
+
direction="vertical"
|
|
25
|
+
paddingBottom={contentPaddingPx}
|
|
26
|
+
>
|
|
27
|
+
<SkeletonGrid state={state} />
|
|
28
|
+
</Box>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const InitialSkeletonLoader = observer(_InitialSkeletonLoader);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InitialLoader';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { observer } from 'mobx-react-lite';
|
|
3
|
+
import { TaskState } from '@wix/bex-core';
|
|
4
|
+
|
|
5
|
+
function _InitialLoadingConditional({
|
|
6
|
+
children = null,
|
|
7
|
+
loadingElement = null,
|
|
8
|
+
hideLoadingElement,
|
|
9
|
+
state,
|
|
10
|
+
}: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
hideLoadingElement?: boolean;
|
|
13
|
+
loadingElement?: ReactElement | null;
|
|
14
|
+
state: { initTask: TaskState<unknown> };
|
|
15
|
+
}) {
|
|
16
|
+
const { initTask } = state;
|
|
17
|
+
const { status } = initTask;
|
|
18
|
+
const { isLoading, isIdle } = status;
|
|
19
|
+
|
|
20
|
+
if (initTask.status.isError) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (hideLoadingElement) {
|
|
25
|
+
return <>{children}</>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (isIdle || isLoading) {
|
|
29
|
+
return loadingElement;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return <>{children}</>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const InitialLoadingConditional = observer(_InitialLoadingConditional);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _namespace_ = "InputOverflow2505631700";
|
|
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":"InputOverflow2505631700__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,70 @@
|
|
|
1
|
+
import React, { useRef, useEffect, forwardRef } from 'react';
|
|
2
|
+
import { Box, Input, InputProps } from '@wix/design-system';
|
|
3
|
+
import { TextOverflowState } from '@wix/bex-core';
|
|
4
|
+
import { observer } from 'mobx-react-lite';
|
|
5
|
+
import { st, classes } from './InputOverflow.st.css.js';
|
|
6
|
+
|
|
7
|
+
export interface InputOverflowProps extends InputProps {
|
|
8
|
+
state: TextOverflowState;
|
|
9
|
+
text: string;
|
|
10
|
+
selected: boolean;
|
|
11
|
+
focused: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const InputOverflow = observer(
|
|
15
|
+
forwardRef((props: InputOverflowProps, ref) => {
|
|
16
|
+
const { state, selected, focused, text, ...inputProps } = props;
|
|
17
|
+
const helperNodeRef = useRef<HTMLInputElement>();
|
|
18
|
+
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (!helperNodeRef.current) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return state.init(helperNodeRef.current);
|
|
25
|
+
}, []);
|
|
26
|
+
|
|
27
|
+
return (
|
|
28
|
+
<Box position="relative" direction="vertical">
|
|
29
|
+
<div
|
|
30
|
+
style={{
|
|
31
|
+
height: 0,
|
|
32
|
+
visibility: 'hidden',
|
|
33
|
+
}}
|
|
34
|
+
aria-hidden
|
|
35
|
+
>
|
|
36
|
+
<Input
|
|
37
|
+
{...inputProps}
|
|
38
|
+
ref={ref}
|
|
39
|
+
textOverflow={undefined}
|
|
40
|
+
clearButton={false}
|
|
41
|
+
onClear={undefined}
|
|
42
|
+
value={text}
|
|
43
|
+
inputRef={(node) => {
|
|
44
|
+
helperNodeRef.current = node;
|
|
45
|
+
}}
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
<Input
|
|
49
|
+
{...inputProps}
|
|
50
|
+
ref={ref}
|
|
51
|
+
onKeyDown={(e) => {
|
|
52
|
+
if (
|
|
53
|
+
e.nativeEvent.code === 'Space' &&
|
|
54
|
+
document.querySelectorAll('[data-option-hovered]').length === 0
|
|
55
|
+
) {
|
|
56
|
+
e.stopPropagation();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
inputProps.onKeyDown?.(e);
|
|
60
|
+
}}
|
|
61
|
+
textOverflow={undefined}
|
|
62
|
+
className={st(classes.root, {
|
|
63
|
+
selected,
|
|
64
|
+
focused,
|
|
65
|
+
})}
|
|
66
|
+
/>
|
|
67
|
+
</Box>
|
|
68
|
+
);
|
|
69
|
+
}),
|
|
70
|
+
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InputOverflow';
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { observer } from 'mobx-react-lite';
|
|
3
|
+
import { FiltersMap, KeyedItem } from '@wix/bex-core';
|
|
4
|
+
import { Box, Text, ClickableCard } from '@wix/design-system';
|
|
5
|
+
import { KanbanBaseProps } from './KanbanProps';
|
|
6
|
+
import { ItemActionsState } from '../../state';
|
|
7
|
+
import { CardActions } from './CardActions';
|
|
8
|
+
import { KanbanState } from '../../state/KanbanState';
|
|
9
|
+
|
|
10
|
+
export interface KanbanCardProps<T, S, F extends FiltersMap> {
|
|
11
|
+
keyedItem: KeyedItem<T>;
|
|
12
|
+
stageKey: string;
|
|
13
|
+
originalItem: T;
|
|
14
|
+
itemIndex: number;
|
|
15
|
+
item: {
|
|
16
|
+
key: string;
|
|
17
|
+
title?: string | React.ReactNode;
|
|
18
|
+
subtitle?: React.ReactNode;
|
|
19
|
+
additionalInfo?: React.ReactNode;
|
|
20
|
+
badge?: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
actionCell?: KanbanBaseProps<T, S, F>['actionCell'];
|
|
23
|
+
itemActionsState: ItemActionsState<T, F>;
|
|
24
|
+
dataExtension?: KanbanBaseProps<T, S, F>['dataExtension'];
|
|
25
|
+
tags?: KanbanBaseProps<T, S, F>['tags'];
|
|
26
|
+
isDragging?: boolean;
|
|
27
|
+
state: KanbanState<T, S, F>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function _CardComponent<T, S, F extends FiltersMap>({
|
|
31
|
+
originalItem,
|
|
32
|
+
itemIndex,
|
|
33
|
+
item,
|
|
34
|
+
stageKey,
|
|
35
|
+
actionCell,
|
|
36
|
+
itemActionsState,
|
|
37
|
+
isDragging,
|
|
38
|
+
state,
|
|
39
|
+
}: KanbanCardProps<T, S, F>) {
|
|
40
|
+
const { title, subtitle, additionalInfo, badge } = item;
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<div
|
|
44
|
+
data-hook={`kanban-card-container-${stageKey}-${item.key}`}
|
|
45
|
+
style={{
|
|
46
|
+
marginRight: '12px',
|
|
47
|
+
marginLeft: '12px',
|
|
48
|
+
overflow: 'visible',
|
|
49
|
+
width: '246px',
|
|
50
|
+
opacity: isDragging ? 0.8 : 1,
|
|
51
|
+
}}
|
|
52
|
+
>
|
|
53
|
+
<ClickableCard hasPadding={false} skin="shadow">
|
|
54
|
+
<Box
|
|
55
|
+
padding="12px"
|
|
56
|
+
dataHook={`kanban-card-${stageKey}-${item.key}`}
|
|
57
|
+
direction="vertical"
|
|
58
|
+
>
|
|
59
|
+
{typeof title === 'string' ? (
|
|
60
|
+
<Box paddingBottom="3px">
|
|
61
|
+
<Text
|
|
62
|
+
dataHook={`kanban-card-title-${stageKey}-${item.key}`}
|
|
63
|
+
size="small"
|
|
64
|
+
weight="normal"
|
|
65
|
+
ellipsis={true}
|
|
66
|
+
maxLines={2}
|
|
67
|
+
>
|
|
68
|
+
{title}
|
|
69
|
+
</Text>
|
|
70
|
+
</Box>
|
|
71
|
+
) : (
|
|
72
|
+
<Box
|
|
73
|
+
zIndex={51}
|
|
74
|
+
paddingBottom="3px"
|
|
75
|
+
dataHook={`kanban-card-title-${stageKey}-${item.key}`}
|
|
76
|
+
>
|
|
77
|
+
{title}
|
|
78
|
+
</Box>
|
|
79
|
+
)}
|
|
80
|
+
|
|
81
|
+
<Box direction="vertical" gap="1px">
|
|
82
|
+
<Box>{badge}</Box>
|
|
83
|
+
<Box>{subtitle}</Box>
|
|
84
|
+
<Box>{additionalInfo}</Box>
|
|
85
|
+
</Box>
|
|
86
|
+
<Box align="right" paddingTop="6px">
|
|
87
|
+
<CardActions
|
|
88
|
+
actionCell={actionCell}
|
|
89
|
+
originalItem={originalItem}
|
|
90
|
+
itemIndex={itemIndex}
|
|
91
|
+
itemActionsState={itemActionsState}
|
|
92
|
+
stageKey={stageKey}
|
|
93
|
+
item={item}
|
|
94
|
+
state={state}
|
|
95
|
+
/>
|
|
96
|
+
</Box>
|
|
97
|
+
</Box>
|
|
98
|
+
</ClickableCard>
|
|
99
|
+
</div>
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const CardComponent = observer(_CardComponent);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { observer } from 'mobx-react-lite';
|
|
3
|
+
import { FiltersMap } from '@wix/bex-core';
|
|
4
|
+
import { Box, Button } from '@wix/design-system';
|
|
5
|
+
import { useCardActions } from './useCardActions';
|
|
6
|
+
import { KanbanCardProps } from './Card';
|
|
7
|
+
import { MessageActionModal } from '../ActionModal';
|
|
8
|
+
import { DisabledTooltip } from '../DisabledTooltip';
|
|
9
|
+
|
|
10
|
+
type CardActionsProps<T, S, F extends FiltersMap> = Pick<
|
|
11
|
+
KanbanCardProps<T, S, F>,
|
|
12
|
+
| 'actionCell'
|
|
13
|
+
| 'originalItem'
|
|
14
|
+
| 'itemIndex'
|
|
15
|
+
| 'itemActionsState'
|
|
16
|
+
| 'stageKey'
|
|
17
|
+
| 'item'
|
|
18
|
+
| 'state'
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
function _CardActions<T, S, F extends FiltersMap>({
|
|
22
|
+
actionCell,
|
|
23
|
+
originalItem,
|
|
24
|
+
itemIndex,
|
|
25
|
+
itemActionsState,
|
|
26
|
+
stageKey,
|
|
27
|
+
item,
|
|
28
|
+
state,
|
|
29
|
+
}: CardActionsProps<T, S, F>) {
|
|
30
|
+
const { secondaryActions, primaryActionProps } = useCardActions({
|
|
31
|
+
actionCell,
|
|
32
|
+
originalItem,
|
|
33
|
+
itemIndex,
|
|
34
|
+
itemActionsState,
|
|
35
|
+
stageKey,
|
|
36
|
+
cardKey: item.key,
|
|
37
|
+
state,
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
{/* Render modals from ItemActionsState */}
|
|
43
|
+
{itemActionsState.confirmModal.value && (
|
|
44
|
+
<MessageActionModal
|
|
45
|
+
state={itemActionsState.confirmModal}
|
|
46
|
+
{...itemActionsState.confirmModal.value}
|
|
47
|
+
/>
|
|
48
|
+
)}
|
|
49
|
+
<Box gap="9px">
|
|
50
|
+
{secondaryActions}
|
|
51
|
+
{primaryActionProps && (
|
|
52
|
+
<DisabledTooltip
|
|
53
|
+
content={primaryActionProps.disabledMessage}
|
|
54
|
+
disabled={!primaryActionProps.disabled}
|
|
55
|
+
dataHook={`kanban-card-primary-action-tooltip-${stageKey}-${item.key}`}
|
|
56
|
+
>
|
|
57
|
+
<Button
|
|
58
|
+
style={{ zIndex: 50 }}
|
|
59
|
+
size="tiny"
|
|
60
|
+
priority="secondary"
|
|
61
|
+
onClick={(e) => {
|
|
62
|
+
e.stopPropagation();
|
|
63
|
+
primaryActionProps.onClick();
|
|
64
|
+
}}
|
|
65
|
+
disabled={primaryActionProps.disabled}
|
|
66
|
+
prefixIcon={primaryActionProps.prefixIcon}
|
|
67
|
+
dataHook={`kanban-card-primary-action-${stageKey}-${item.key}`}
|
|
68
|
+
>
|
|
69
|
+
{primaryActionProps.text}
|
|
70
|
+
</Button>
|
|
71
|
+
</DisabledTooltip>
|
|
72
|
+
)}
|
|
73
|
+
</Box>
|
|
74
|
+
</>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export const CardActions = observer(_CardActions);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Box,
|
|
4
|
+
SkeletonCircle,
|
|
5
|
+
SkeletonGroup,
|
|
6
|
+
SkeletonLine,
|
|
7
|
+
SkeletonRectangle,
|
|
8
|
+
} from '@wix/design-system';
|
|
9
|
+
|
|
10
|
+
const numberOfCards = 4;
|
|
11
|
+
|
|
12
|
+
function CardSkeleton({ index }: { index: number }) {
|
|
13
|
+
return (
|
|
14
|
+
<Box
|
|
15
|
+
key={index}
|
|
16
|
+
data-hook="kanban-card-skeleton"
|
|
17
|
+
padding="12px"
|
|
18
|
+
borderRadius="6px"
|
|
19
|
+
backgroundColor="white"
|
|
20
|
+
direction="vertical"
|
|
21
|
+
gap="12px"
|
|
22
|
+
border="1px solid #DFE3EB"
|
|
23
|
+
height="120px"
|
|
24
|
+
marginBottom={index !== numberOfCards - 1 ? '0px' : '12px'}
|
|
25
|
+
boxShadow="0 4px 10px rgba(0, 0, 0, 0.05)"
|
|
26
|
+
marginLeft="12px"
|
|
27
|
+
marginRight="12px"
|
|
28
|
+
>
|
|
29
|
+
<SkeletonGroup skin="light" backgroundColor="white">
|
|
30
|
+
{/* Title and Subtitle Skeletons */}
|
|
31
|
+
<Box direction="vertical" gap="8px" flex="1">
|
|
32
|
+
<SkeletonLine width="162px" />
|
|
33
|
+
<SkeletonLine width="114px" />
|
|
34
|
+
</Box>
|
|
35
|
+
|
|
36
|
+
{/* Avatar and Actions Skeleton */}
|
|
37
|
+
<Box alignContent="space-between" marginTop="70px" justifySelf="end">
|
|
38
|
+
<Box verticalAlign="middle" gap="9px">
|
|
39
|
+
<SkeletonCircle diameter="18px" />
|
|
40
|
+
<SkeletonRectangle width="114px" height="18px" />
|
|
41
|
+
</Box>
|
|
42
|
+
</Box>
|
|
43
|
+
</SkeletonGroup>
|
|
44
|
+
</Box>
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function CardsSkeleton({ stageKey }: { stageKey: string }) {
|
|
49
|
+
return (
|
|
50
|
+
<Box
|
|
51
|
+
direction="vertical"
|
|
52
|
+
gap="12px"
|
|
53
|
+
dataHook={`kanban-cards-skeleton-${stageKey}`}
|
|
54
|
+
>
|
|
55
|
+
{Array.from({ length: numberOfCards }, (_, index) => (
|
|
56
|
+
<CardSkeleton index={index} key={index} />
|
|
57
|
+
))}
|
|
58
|
+
</Box>
|
|
59
|
+
);
|
|
60
|
+
}
|