@wix/patterns 1.448.0 → 1.449.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/CmsFieldManagement/CmsFieldForm.st.css.js +3 -3
- package/dist/cjs/components/CmsFieldManagement/CmsFieldForm.st.css.js.map +1 -1
- package/dist/cjs/components/CmsFieldManagement/CmsFieldModal.st.css.js +3 -3
- package/dist/cjs/components/CmsFieldManagement/CmsFieldModal.st.css.js.map +1 -1
- package/dist/cjs/components/CmsFieldManagement/Sections/ValidationAndDefaultsSection.st.css.js +3 -3
- package/dist/cjs/components/CmsFieldManagement/Sections/ValidationAndDefaultsSection.st.css.js.map +1 -1
- package/dist/cjs/components/CmsFieldManagement/formFields/CharactersLimitInput.st.css.js +3 -3
- package/dist/cjs/components/CmsFieldManagement/formFields/CharactersLimitInput.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/CollectionSectionHeader/CollectionSectionHeader.st.css.js +3 -3
- package/dist/cjs/components/CollectionSectionHeader/CollectionSectionHeader.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.st.css.js +2 -2
- package/dist/cjs/components/CollectionTable/CollectionTableWSRTable.st.css.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/EditableTable/EditableCell.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/EditableCell.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/HeaderActionsPopover.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/HeaderActionsPopover.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/CellViewLayout.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/CellViewLayout.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/address/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/address/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/array/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/array/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/boolean/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/boolean/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/boolean/View.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/boolean/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/color/Edit.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/color/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/date/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/date/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/date/View.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/date/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/datetime/Edit.st.css.js +8 -8
- package/dist/cjs/components/EditableTable/cellTypes/datetime/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/datetime/View.st.css.js +7 -7
- package/dist/cjs/components/EditableTable/cellTypes/datetime/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/email/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/email/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/email/View.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/email/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/number/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/number/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/number/View.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/number/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/object/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/object/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/object/View.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/object/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/select/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/select/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/text/Edit.st.css.js +4 -4
- package/dist/cjs/components/EditableTable/cellTypes/text/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/text/View.st.css.js +2 -2
- package/dist/cjs/components/EditableTable/cellTypes/text/View.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/time/Edit.st.css.js +4 -4
- package/dist/cjs/components/EditableTable/cellTypes/time/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/url/Edit.st.css.js +3 -3
- package/dist/cjs/components/EditableTable/cellTypes/url/Edit.st.css.js.map +1 -1
- package/dist/cjs/components/EditableTable/cellTypes/url/View.st.css.js +5 -5
- package/dist/cjs/components/EditableTable/cellTypes/url/View.st.css.js.map +1 -1
- package/dist/cjs/components/EmptyState/EmptyStateBase.st.css.js +2 -2
- package/dist/cjs/components/EmptyState/EmptyStateBase.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/ImportButton/ImportStepUpload.st.css.js +3 -3
- package/dist/cjs/components/ImportButton/ImportStepUpload.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 +5 -5
- 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/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/ReferenceFieldFilter/ReferenceFieldFilter.js +22 -15
- package/dist/cjs/components/ReferenceFieldFilter/ReferenceFieldFilter.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/SetupWidget/SetupWidget.st.css.js +10 -10
- package/dist/cjs/components/SetupWidget/SetupWidget.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/Table/AddFieldColumnHeader.st.css.js +4 -4
- package/dist/cjs/components/Table/AddFieldColumnHeader.st.css.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabTitle.js +7 -10
- package/dist/cjs/components/TabsFilter/TabTitle.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.js +6 -8
- package/dist/cjs/components/TabsFilter/TabsFilter.js.map +1 -1
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css +4 -17
- package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +4 -10
- 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/hooks/useEntityPage.js.map +1 -1
- package/dist/cjs/schema/useEntityPage.js +1 -0
- package/dist/cjs/schema/useEntityPage.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/EntityPage/EntityPageState.js +8 -1
- package/dist/cjs/state/EntityPage/EntityPageState.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 +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/docs/index.json +26 -26
- package/dist/docs/useEntityPage.md +1 -0
- package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
- package/dist/esm/components/CmsFieldManagement/CmsFieldForm.st.css.js +2 -2
- package/dist/esm/components/CmsFieldManagement/CmsFieldModal.st.css.js +2 -2
- package/dist/esm/components/CmsFieldManagement/Sections/ValidationAndDefaultsSection.st.css.js +2 -2
- package/dist/esm/components/CmsFieldManagement/formFields/CharactersLimitInput.st.css.js +2 -2
- package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/components/Collapse/Collapse.st.css.js.map +1 -1
- package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
- package/dist/esm/components/CollectionSectionHeader/CollectionSectionHeader.st.css.js +2 -2
- 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.st.css.js +2 -2
- 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/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/DragHandle/DragHandle.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/EditableCell.st.css.js +2 -2
- package/dist/esm/components/EditableTable/EditableCell.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/HeaderActionsPopover.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/CellViewLayout.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/address/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/address/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/array/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/array/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/boolean/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/boolean/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/boolean/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/color/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/color/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/date/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/date/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/date/View.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/datetime/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/datetime/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/datetime/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/email/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/email/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/number/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/number/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/object/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/object/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/select/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/select/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/text/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/text/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/text/View.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/time/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/time/Edit.st.css.js.map +1 -1
- package/dist/esm/components/EditableTable/cellTypes/url/Edit.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/url/View.st.css.js +2 -2
- package/dist/esm/components/EditableTable/cellTypes/url/View.st.css.js.map +1 -1
- package/dist/esm/components/EmptyState/EmptyStateBase.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/Heading/Heading.st.css.js +2 -2
- package/dist/esm/components/Heading/Heading.st.css.js.map +1 -1
- package/dist/esm/components/ImportButton/ImportStepUpload.st.css.js +2 -2
- 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/LoadingRow/LoadingRow.st.css.js.map +1 -1
- package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
- 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/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
- package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
- 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/PickerContent.st.css.js.map +1 -1
- package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
- package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
- package/dist/esm/components/ReferenceFieldFilter/ReferenceFieldFilter.js +11 -6
- package/dist/esm/components/ReferenceFieldFilter/ReferenceFieldFilter.js.map +1 -1
- package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
- package/dist/esm/components/SetupWidget/SetupWidget.st.css.js +2 -2
- package/dist/esm/components/SetupWidget/SetupWidget.st.css.js.map +1 -1
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
- package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
- package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
- package/dist/esm/components/Table/AddFieldColumnHeader.st.css.js +2 -2
- package/dist/esm/components/TabsFilter/TabTitle.js +5 -5
- package/dist/esm/components/TabsFilter/TabTitle.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.js +2 -3
- package/dist/esm/components/TabsFilter/TabsFilter.js.map +1 -1
- package/dist/esm/components/TabsFilter/TabsFilter.st.css +4 -17
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +3 -3
- package/dist/esm/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
- 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/common.st.css.js +2 -2
- package/dist/esm/hooks/useEntityPage.js.map +1 -1
- package/dist/esm/schema/useEntityPage.js +1 -0
- package/dist/esm/schema/useEntityPage.js.map +1 -1
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
- package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
- package/dist/esm/state/EntityPage/EntityPageState.js +11 -1
- package/dist/esm/state/EntityPage/EntityPageState.js.map +1 -1
- package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
- package/dist/esm/styles.global.css +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/types/components/Collapse/Collapse.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionTable/CollectionTable.st.css.d.ts.map +1 -1
- package/dist/types/components/CollectionViewsDropdown/ViewsDropdown.st.css.d.ts.map +1 -1
- package/dist/types/components/DragHandle/DragHandle.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/EditableCell.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/address/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/array/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/boolean/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/color/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/date/View.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/datetime/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/select/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/text/View.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/time/Edit.st.css.d.ts.map +1 -1
- package/dist/types/components/EditableTable/cellTypes/url/View.st.css.d.ts.map +1 -1
- package/dist/types/components/Heading/Heading.st.css.d.ts.map +1 -1
- package/dist/types/components/LoadingRow/LoadingRow.st.css.d.ts.map +1 -1
- package/dist/types/components/PickerContent/PickerContent.st.css.d.ts.map +1 -1
- package/dist/types/components/ReferenceFieldFilter/ReferenceFieldFilter.d.ts +2 -1
- package/dist/types/components/ReferenceFieldFilter/ReferenceFieldFilter.d.ts.map +1 -1
- package/dist/types/components/SetupWidget/SetupWidget.st.css.d.ts.map +1 -1
- package/dist/types/components/SkeletonCard/SkeletonCard.st.css.d.ts.map +1 -1
- package/dist/types/components/TabsFilter/TabTitle.d.ts +1 -2
- package/dist/types/components/TabsFilter/TabTitle.d.ts.map +1 -1
- package/dist/types/components/TabsFilter/TabsFilter.d.ts.map +1 -1
- package/dist/types/components/TabsFilter/TabsFilter.st.css.d.ts +2 -8
- package/dist/types/components/TabsFilter/TabsFilter.st.css.d.ts.map +1 -1
- package/dist/types/hooks/useEntityPage.d.ts +1 -1
- package/dist/types/hooks/useEntityPage.d.ts.map +1 -1
- package/dist/types/schema/useEntityPage.d.ts +1 -1
- package/dist/types/schema/useEntityPage.d.ts.map +1 -1
- package/dist/types/state/CollectionPage/CollectionPageHeader.st.css.d.ts.map +1 -1
- package/dist/types/state/EntityPage/EntityPageState.d.ts +11 -0
- package/dist/types/state/EntityPage/EntityPageState.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -7
- package/src/components/CardContainer/CardContainer.st.css.ts +2 -2
- package/src/components/CmsFieldManagement/CmsFieldForm.st.css.ts +2 -2
- package/src/components/CmsFieldManagement/CmsFieldModal.st.css.ts +2 -2
- package/src/components/CmsFieldManagement/Sections/ValidationAndDefaultsSection.st.css.ts +2 -2
- package/src/components/CmsFieldManagement/formFields/CharactersLimitInput.st.css.ts +2 -2
- package/src/components/Collapse/Collapse.st.css.ts +2 -2
- package/src/components/CollectionPageNew/CollectionPage.st.css.ts +2 -2
- package/src/components/CollectionSectionHeader/CollectionSectionHeader.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTable.st.css.ts +2 -2
- package/src/components/CollectionTable/CollectionTableWSRTable.st.css.ts +2 -2
- package/src/components/CollectionToolbar/CollectionToolbar.st.css.ts +2 -2
- package/src/components/CollectionToolbar/SearchOrCustomFilter.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts +2 -2
- package/src/components/CollectionViewsDropdown/ViewsDropdown.st.css.ts +2 -2
- package/src/components/DragHandle/DragHandle.st.css.ts +2 -2
- package/src/components/EditableTable/EditableCell.st.css.ts +2 -2
- package/src/components/EditableTable/HeaderActionsPopover.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/CellViewLayout.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/address/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/array/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/boolean/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/boolean/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/color/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/date/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/date/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/datetime/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/datetime/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/email/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/email/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/number/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/number/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/object/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/object/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/select/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/text/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/text/View.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/time/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/url/Edit.st.css.ts +2 -2
- package/src/components/EditableTable/cellTypes/url/View.st.css.ts +2 -2
- package/src/components/EmptyState/EmptyStateBase.st.css.ts +2 -2
- package/src/components/EntityPage/EntityPagePlain.st.css.ts +2 -2
- package/src/components/Fade/Fade.st.css.ts +2 -2
- package/src/components/Heading/Heading.st.css.ts +2 -2
- package/src/components/ImportButton/ImportStepUpload.st.css.ts +2 -2
- package/src/components/InputOverflow/InputOverflow.st.css.ts +2 -2
- package/src/components/LoadingRow/LoadingRow.st.css.ts +3 -3
- package/src/components/MaxHeightText/MaxHeightText.st.css.ts +2 -2
- package/src/components/MaxLines/MaxLines.st.css.ts +2 -2
- package/src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.ts +2 -2
- package/src/components/NestedTable/NestedTableRow.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.ts +2 -2
- package/src/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.ts +2 -2
- package/src/components/PickerContent/PickerContent.st.css.ts +2 -2
- package/src/components/PickerContent/PickerContentAdditionalStep.st.css.ts +2 -2
- package/src/components/PickerTableListItem/PickerTableListItem.st.css.ts +2 -2
- package/src/components/ReferenceFieldFilter/ReferenceFieldFilter.tsx +14 -6
- package/src/components/ScrollableContent/ScrollableContent.st.css.ts +2 -2
- package/src/components/SetupWidget/SetupWidget.st.css.ts +2 -2
- package/src/components/SkeletonCard/SkeletonCard.st.css.ts +2 -2
- package/src/components/SlidingModal/SlidingModal.st.css.ts +2 -2
- package/src/components/Table/AddFieldColumnHeader.st.css.ts +2 -2
- package/src/components/TabsFilter/TabTitle.tsx +8 -6
- package/src/components/TabsFilter/TabsFilter.st.css +4 -17
- package/src/components/TabsFilter/TabsFilter.st.css.ts +3 -3
- package/src/components/TabsFilter/TabsFilter.tsx +0 -3
- package/src/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.ts +2 -2
- package/src/components/ToolbarItem/ToolbarItem.st.css.ts +2 -2
- package/src/components/ToolbarItemBox/ToolbarItemBox.st.css.ts +2 -2
- package/src/components/common.st.css.ts +2 -2
- package/src/hooks/useEntityPage.ts +1 -0
- package/src/schema/useEntityPage.ts +5 -1
- package/src/state/CollectionPage/CollectionPageHeader.st.css.ts +2 -2
- package/src/state/EntityPage/EntityPageState.ts +24 -1
- package/src/state/FormPage/FormPageHeader.st.css.ts +2 -2
- package/src/styles.global.css +2 -2
- package/src/version.ts +1 -1
- package/dist/cjs/components/ReferenceFieldFilter/pr-5715-comments.md +0 -73
- package/dist/esm/components/ReferenceFieldFilter/pr-5715-comments.md +0 -73
- package/src/components/ReferenceFieldFilter/pr-5715-comments.md +0 -73
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "common2982988403";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"common2982988403__root","column":"common2982988403__column","fullHeight":"common2982988403__fullHeight"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -13,7 +13,10 @@ import {
|
|
|
13
13
|
export type SchemaEntityPageOptions<
|
|
14
14
|
T,
|
|
15
15
|
V extends FieldValues = FieldValues,
|
|
16
|
-
> = Omit<
|
|
16
|
+
> = Omit<
|
|
17
|
+
UseEntityPageParams<T, V>,
|
|
18
|
+
'fetch' | 'onSave' | 'schemaSource' | 'isNewEntity'
|
|
19
|
+
> & {
|
|
17
20
|
/** Creates the initial values for a new entity. */
|
|
18
21
|
createLocalItem?: () => Partial<T>;
|
|
19
22
|
/** The entity to load. Omitted ⇒ the create route: the page starts empty and
|
|
@@ -44,6 +47,7 @@ export function useEntityPage<T, V extends FieldValues = FieldValues>(
|
|
|
44
47
|
const state = useOpenEntityPage<T, V>({
|
|
45
48
|
...rest,
|
|
46
49
|
schemaSource: source,
|
|
50
|
+
isNewEntity: () => !page.entityId,
|
|
47
51
|
fetch:
|
|
48
52
|
fetch ?? (() => fetchFromSource(source, page.entityId, createLocalItem)),
|
|
49
53
|
onSave: onSave ?? (() => saveToSource(source, page)),
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "CollectionPageHeader572984085";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"CollectionPageHeader572984085__root"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -117,6 +117,16 @@ interface EntityPageStateParamsBase<T, V extends FieldValues = FieldValues> {
|
|
|
117
117
|
*/
|
|
118
118
|
actionsBarConfig?: ActionsBarConfig;
|
|
119
119
|
|
|
120
|
+
/**
|
|
121
|
+
* Whether the page was opened to create a new entity rather than to edit an
|
|
122
|
+
* existing one. Decides how a save is announced to the parent page — created
|
|
123
|
+
* vs updated — so a new item seeded with local defaults is still announced
|
|
124
|
+
* as created. Pass a getter when the route can change while the page stays
|
|
125
|
+
* mounted. When omitted, the announcement follows whether an entity was
|
|
126
|
+
* loaded.
|
|
127
|
+
*/
|
|
128
|
+
isNewEntity?: boolean | (() => boolean);
|
|
129
|
+
|
|
120
130
|
/**
|
|
121
131
|
* An optional schema source describing how to load the schema and access
|
|
122
132
|
* the entity's data. When present, the page can read fields from the source
|
|
@@ -149,6 +159,7 @@ export class EntityPageState<T, V extends FieldValues = FieldValues>
|
|
|
149
159
|
_entity: T | null = null;
|
|
150
160
|
_schema: Schema | null = null;
|
|
151
161
|
_loadedSchema: LoadedSchema<T> | null = null;
|
|
162
|
+
private readonly _isNewEntity?: boolean | (() => boolean);
|
|
152
163
|
private readonly _parentPageId?: string;
|
|
153
164
|
private readonly _parentPath?: string;
|
|
154
165
|
private readonly _parentReferrer?: string;
|
|
@@ -204,6 +215,7 @@ export class EntityPageState<T, V extends FieldValues = FieldValues>
|
|
|
204
215
|
this.saveErrorToast = params.saveErrorToast;
|
|
205
216
|
this.formPage = new FormPageState<V>({ form: params.form });
|
|
206
217
|
this._parentPageId = params.parentPageId;
|
|
218
|
+
this._isNewEntity = params.isNewEntity;
|
|
207
219
|
this.transformEntityToCollectionItem =
|
|
208
220
|
params.transformEntityToCollectionItem || ((anEntity: T) => anEntity);
|
|
209
221
|
this._parentPath = params.parentPath;
|
|
@@ -376,8 +388,19 @@ export class EntityPageState<T, V extends FieldValues = FieldValues>
|
|
|
376
388
|
this.navigateToParent();
|
|
377
389
|
}
|
|
378
390
|
|
|
391
|
+
private get _isExistingEntity(): boolean {
|
|
392
|
+
const isNewEntity =
|
|
393
|
+
typeof this._isNewEntity === 'function'
|
|
394
|
+
? this._isNewEntity()
|
|
395
|
+
: this._isNewEntity;
|
|
396
|
+
const isRouteKnown = isNewEntity !== undefined;
|
|
397
|
+
return isRouteKnown ? !isNewEntity : !!this._entity;
|
|
398
|
+
}
|
|
399
|
+
|
|
379
400
|
navigateToParent(updatedEntity?: any) {
|
|
380
|
-
const entityStringKey = this.
|
|
401
|
+
const entityStringKey = this._isExistingEntity
|
|
402
|
+
? '_updatedEntity'
|
|
403
|
+
: '_createdEntity';
|
|
381
404
|
this.navigateToParentWithState({ [entityStringKey]: updatedEntity });
|
|
382
405
|
}
|
|
383
406
|
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "FormPageHeader2182836129";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"FormPageHeader2182836129__root"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
package/src/styles.global.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.CardContainer2246192916__root.CardContainer2246192916--mobile{border-radius:0}.CmsFieldForm2927915490__fullBleedDivider{margin-top:var(--wds-space-300, 18px);margin-inline:calc(-1*var(--wds-custom-modal-content-padding-horizontal, 24px))}.CmsFieldModal2507451381__modal{--wds-custom-modal-content-padding-vertical:0}.ValidationAndDefaultsSection3474512585__accordionWrapper{margin-inline:calc(-1*var(--wds-custom-modal-content-padding-horizontal, 24px))}.CharactersLimitInput3287862385__field{flex:1;min-width:0}.Collapse769684337__root{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.Collapse769684337__exit{height:0}.CollectionPage3178609976__root [data-hook=page-header-wrapper]{--wds-space-300:18px}.CollectionPage3178609976__root.CollectionPage3178609976--mobile{--wds-page-header-padding-horizontal:0;--wds-page-header-padding-horizontal-small:0;--wds-color-fill-surface-sunken:#ffffff}.CollectionPage3178609976__root.CollectionPage3178609976--panel{overflow:hidden;position:relative}.CollectionSectionHeader3731640041__summaryIcon{display:flex;color:var(--wds-color-text-standard-secondary)}.CollectionTable2318312706__root td{vertical-align:middle}.CollectionTable2318312706__root.CollectionTable2318312706--mobile td:first-child{padding-left:18px}.CollectionTable2318312706__root.CollectionTable2318312706--mobile td:last-child{padding-right:18px}.CollectionTableWSRTable3815611120__root.CollectionTableWSRTable3815611120--resizable table{min-width:100%}.CollectionTableWSRTable3815611120__root.CollectionTableWSRTable3815611120--resizable [data-hook=table-resize-handle]{right:-4px!important;z-index:1}.CollectionToolbar1757417901__root.CollectionToolbar1757417901--harmony .CollectionToolbar1757417901__right [data-hook=horizontal-overflow-box]>*{margin-inline-start:0}.CollectionToolbar1757417901__left{min-width:0}.CollectionToolbar1757417901__left.CollectionToolbar1757417901--expandable{flex:auto}.CollectionToolbar1757417901__left.CollectionToolbar1757417901--title>*{width:100%}.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-5-title .CollectionToolbar1757417901__left{flex:1 100;min-width:50px}.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-4-tabs .CollectionToolbar1757417901__left,.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-4-tabs .CollectionToolbar1757417901__left.CollectionToolbar1757417901--expandable{flex:1 100 auto;min-width:140px}.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-4-tabs .CollectionToolbar1757417901__left>*{flex-shrink:1;min-width:0}.CollectionToolbar1757417901__root .CollectionToolbar1757417901__right{justify-content:flex-end!important;flex-grow:1;flex-shrink:1;flex-basis:auto}.CollectionToolbar1757417901__root.CollectionToolbar1757417901--views .CollectionToolbar1757417901__right{min-width:0;flex-grow:1;flex-shrink:0;flex-basis:0}.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-4-tabs .CollectionToolbar1757417901__right,.CollectionToolbar1757417901__root.CollectionToolbar1757417901---responsiveMode-5-title .CollectionToolbar1757417901__right{flex:0 1 auto;min-width:0}.CollectionToolbar1757417901__root .CollectionToolbar1757417901__right.CollectionToolbar1757417901__fullWidth{margin-inline-start:0!important}.CollectionToolbar1757417901__root.CollectionToolbar1757417901--mobile:not(.CollectionToolbar1757417901--harmony){padding-right:18px;padding-left:18px}.SearchOrCustomFilter4215412556__search{min-width:140px;max-width:240px;flex:1 0}.SearchOrCustomFilter4215412556__searchMobile{justify-content:flex-end;position:absolute;right:18px}.SearchOrCustomFilter4215412556__searchMobile:not(.SearchOrCustomFilter4215412556--expandable){left:18px}.SearchOrCustomFilter4215412556__searchMobile.SearchOrCustomFilter4215412556--expandable.SearchOrCustomFilter4215412556--expanded{left:18px}.AutoCompleteReadonly1089292761__root.AutoCompleteReadonly1089292761--disableEditing{cursor:pointer}.AutoCompleteReadonly1089292761__root.AutoCompleteReadonly1089292761--disableEditing input{cursor:pointer}.ViewsDropdown4148272197__root{width:200px}.DragHandle726215010__root{display:flex;align-items:center}.DragHandle726215010__root:not(.DragHandle726215010--disabled){cursor:grab;color:#a8caff}.DragHandle726215010__root.DragHandle726215010--disabled{color:#acafc4}.DragHandle726215010__root:focus-visible:not(.DragHandle726215010--disabled){outline:0;box-shadow:0 0 0 3px #a6d0ff}.DragHandle726215010__root.DragHandle726215010--disabled{pointer-events:none}.DragHandle726215010__root.DragHandle726215010--dragging:not(.DragHandle726215010--disabled){cursor:grabbing}td:has(>.EditableCell98859062__root){position:relative;overflow:visible}tr:has(.EditableCell98859062__root)>td{padding-top:0!important;padding-bottom:0!important;height:36px}.EditableCell98859062__root{display:flex;align-items:center;padding:0;position:absolute;top:-1px;left:-1px;right:0;bottom:0;overflow:hidden;box-sizing:border-box;outline:0;cursor:default;user-select:none;background:var(--wds-color-fill-surface-raised, var(--wsr-color-D80, #ffffff));border:var(--wds-border-width-default, 1px) solid var(--wds-color-border-dark-secondary, var(--wsr-color-D60, #dfe5eb))}tr:first-child>td>.EditableCell98859062__root{top:0}.EditableCell98859062__root:hover:not(.EditableCell98859062--rowActive):not(.EditableCell98859062--rangeSelected){background:var(--wds-color-black-750, #f6f7f9)}.EditableCell98859062__root.EditableCell98859062--rowActive:not(.EditableCell98859062--rangeSelected){background:var(--wds-color-black-750, #f6f7f9);box-shadow:inset 0 22px 18px -18px rgba(0,6,36,.1)}.EditableCell98859062__root.EditableCell98859062--rowActive:hover:not(.EditableCell98859062--focused):not(.EditableCell98859062--rangeSelected){border-color:var(--wds-input-border-color-hover, var(--wsr-color-B40, #d6e6fe));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05)}.EditableCell98859062__root.EditableCell98859062--focused:not(.EditableCell98859062--rangeSelected){border-color:var(--wds-input-border-color-focus, var(--wsr-color-B10, #116dff));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05);z-index:2}.EditableCell98859062__root.EditableCell98859062--editing{z-index:3;user-select:auto;overflow:visible;background:var(--wds-color-fill-surface-raised, var(--wsr-color-D80, #ffffff))}.EditableCell98859062__root.EditableCell98859062--editing:not(.EditableCell98859062--showEditWhenFocused){bottom:auto;min-height:calc(100% + 1px)}.EditableCell98859062__root.EditableCell98859062--focused.EditableCell98859062--growable{bottom:auto;min-height:calc(100% + 1px);z-index:3}.EditableCell98859062__root:has([data-inner-focused]){overflow:visible;z-index:3;border-color:var(--wds-input-border-color-focus, var(--wsr-color-B10, #116dff));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05)}.EditableCell98859062__root.EditableCell98859062--rangeSelected{background:rgba(56,153,236,.08)}.EditableCell98859062__root.EditableCell98859062--selectionTop:not(.EditableCell98859062--editing){border-top:2px solid var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--selectionBottom:not(.EditableCell98859062--editing){border-bottom:2px solid var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--selectionLeft:not(.EditableCell98859062--editing){border-left:2px solid var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--selectionRight:not(.EditableCell98859062--editing){border-right:2px solid var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--invalid,.EditableCell98859062__root.EditableCell98859062--invalid.EditableCell98859062--rowActive:hover:not(.EditableCell98859062--focused):not(.EditableCell98859062--rangeSelected),.EditableCell98859062__root.EditableCell98859062--invalid.EditableCell98859062--focused:not(.EditableCell98859062--rangeSelected),.EditableCell98859062__root.EditableCell98859062--invalid:has([data-inner-focused]){border-color:var(--wds-color-red-100, var(--wsr-color-R10, #e62214))}.EditableCell98859062__root.EditableCell98859062--copiedTop:not(.EditableCell98859062--selectionTop){border-top:2px dashed var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--copiedBottom:not(.EditableCell98859062--selectionBottom){border-bottom:2px dashed var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--copiedLeft:not(.EditableCell98859062--selectionLeft){border-left:2px dashed var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--copiedRight:not(.EditableCell98859062--selectionRight){border-right:2px dashed var(--wsr-color-B10)}.EditableCell98859062__root.EditableCell98859062--invalid:not(.EditableCell98859062--focused):not(.EditableCell98859062--editing){z-index:1}.EditableCell98859062__errorMessage{position:absolute;top:calc(100% + 4px);left:-1px;z-index:4;box-sizing:border-box;width:max-content;max-width:240px;padding:6px 8px;pointer-events:none;border-radius:var(--wds-popover-border-radius, var(--wds-border-radius-400, 8px));background:var(--wds-popover-fill, var(--wds-color-fill-surface-overlay, var(--wsr-color-D80, #ffffff)));box-shadow:var(--wds-shadow-surface-overlay, 0 0 18px rgba(0, 6, 36, 0.1), 0 6px 6px rgba(0, 6, 36, 0.05))}.HeaderActionsPopover3000738424__root{opacity:0;transition:opacity .15s}th:hover .HeaderActionsPopover3000738424__root,.HeaderActionsPopover3000738424__root[data-menu-open=true],.HeaderActionsPopover3000738424__root:focus-within{opacity:1}.CellViewLayout1026225972__root{width:100%;height:100%;padding:6px 8px;box-sizing:border-box;display:flex;align-items:center;overflow:clip}.CellViewLayout1026225972__root>*{flex:1;min-width:0}.Edit122362979__addressInput{width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding-left:8px;padding-right:8px;min-width:0;overflow:hidden}.Edit122362979__addressInput>div,.Edit122362979__addressInput>div>div,.Edit122362979__addressInput>div>div>div{width:100%;min-width:0}.Edit1139422417__jsonInput{width:100%;margin-left:-1px}.Edit52138907__booleanEdit{display:flex;align-items:center;margin-left:8px}.View1139038159__booleanView{display:flex;align-items:center;margin-left:8px;pointer-events:none}.Edit344322730__root{width:100%;height:100%;display:flex;align-items:center}.Edit4012632565__dateInput{width:100%;margin-left:-1px}.Edit2657121955__half{min-width:0;position:relative;display:flex;align-items:center;box-sizing:border-box}.Edit2657121955__dateHalf{flex:60 1 0}.Edit2657121955__timeHalf{flex:40 1 0}.Edit2657121955__divider{width:1px;height:16px;background:var(--wds-color-border-standard, #dfe5eb);flex-shrink:0}.Edit2657121955__passiveText{padding:6px 8px;font-size:14px;line-height:18px;font-family:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;width:100%}.Edit2657121955__placeholderText{color:var(--wds-color-text-placeholder, #868aa5)}.View3750587915__leaf{min-width:0;padding:6px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:18px;font-family:inherit;box-sizing:border-box}.View3750587915__datePart{flex:60 1 0}.View3750587915__timePart{flex:40 1 0}.View3750587915__placeholder{color:var(--wds-color-text-placeholder, #868aa5)}.View3750587915__divider{width:1px;height:16px;background:var(--wds-color-border-standard, #dfe5eb);flex-shrink:0}.Edit3348827758__emailInput{width:100%;margin-left:-1px}.Edit3757480630__numberInput{width:100%;margin-right:2px}.Edit3757480630__numberInput input{text-align:right;direction:ltr}.View1096347571__textView{width:100%;text-align:right}.Edit3974759951__jsonInput{width:100%;margin-left:-1px}.Edit302364771__selectInput{width:100%}.Edit4286334146__editWrapper{width:100%}.Edit4286334146__inputArea{background-color:transparent;width:100%}.Edit4286334146__inputArea input,.Edit4286334146__inputArea textarea{font-size:var(--wds-font-size-body-small, var(--wsr-text-font-size-small, 14px))!important;line-height:var(--wds-font-line-height-body-small, var(--wsr-text-line-height-small, 18px))!important}.Edit4286334146__inputArea input{padding:6px 8px!important;outline:0!important;border:0!important;box-sizing:border-box!important}.Edit4286334146__inputArea>div{border:0!important;border-radius:0!important;box-shadow:none!important;background-color:transparent!important;outline:0!important}.Edit4286334146__inputArea>div::after{box-shadow:none!important}.Edit4286334146__inputArea textarea{padding:6px 8px!important;outline:0!important;border:0!important;box-sizing:border-box!important}.Edit4286334146__inputArea:not(.Edit4286334146--isFocused) textarea{resize:none;overflow:hidden}.Edit4286334146__inputArea:not(.Edit4286334146--isFocused) textarea::-webkit-scrollbar{display:none}.Edit836037362__wrapper{position:relative;width:100%;height:100%;display:flex;align-items:center;--wds-input-value-font-size-small:var(--wds-font-size-body-small);--wds-input-value-font-line-height-small:var(
|
|
1
|
+
.CardContainer2064326202__root.CardContainer2064326202--mobile{border-radius:0}.CmsFieldForm3961332529__fullBleedDivider{margin-top:var(--wds-space-300, 18px);margin-inline:calc(-1*var(--wds-custom-modal-content-padding-horizontal, 24px))}.CmsFieldModal2847950882__modal{--wds-custom-modal-content-padding-vertical:0}.ValidationAndDefaultsSection2004729239__accordionWrapper{margin-inline:calc(-1*var(--wds-custom-modal-content-padding-horizontal, 24px))}.CharactersLimitInput3309667009__field{flex:1;min-width:0}.Collapse4056813971__root{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.Collapse4056813971__exit{height:0}.CollectionPage1904316449__root [data-hook=page-header-wrapper]{--wds-space-300:18px}.CollectionPage1904316449__root.CollectionPage1904316449--mobile{--wds-page-header-padding-horizontal:0;--wds-page-header-padding-horizontal-small:0;--wds-color-fill-surface-sunken:#ffffff}.CollectionPage1904316449__root.CollectionPage1904316449--panel{overflow:hidden;position:relative}.CollectionSectionHeader3946478370__summaryIcon{display:flex;color:var(--wds-color-text-standard-secondary)}.CollectionTable803127684__root td{vertical-align:middle}.CollectionTable803127684__root.CollectionTable803127684--mobile td:first-child{padding-left:18px}.CollectionTable803127684__root.CollectionTable803127684--mobile td:last-child{padding-right:18px}.CollectionTableWSRTable2817894818__root.CollectionTableWSRTable2817894818--resizable table{min-width:100%}.CollectionTableWSRTable2817894818__root.CollectionTableWSRTable2817894818--resizable [data-hook=table-resize-handle]{right:-4px!important;z-index:1}.CollectionToolbar2509914078__root.CollectionToolbar2509914078--harmony .CollectionToolbar2509914078__right [data-hook=horizontal-overflow-box]>*{margin-inline-start:0}.CollectionToolbar2509914078__left{min-width:0}.CollectionToolbar2509914078__left.CollectionToolbar2509914078--expandable{flex:auto}.CollectionToolbar2509914078__left.CollectionToolbar2509914078--title>*{width:100%}.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-5-title .CollectionToolbar2509914078__left{flex:1 100;min-width:50px}.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-4-tabs .CollectionToolbar2509914078__left,.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-4-tabs .CollectionToolbar2509914078__left.CollectionToolbar2509914078--expandable{flex:1 100 auto;min-width:140px}.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-4-tabs .CollectionToolbar2509914078__left>*{flex-shrink:1;min-width:0}.CollectionToolbar2509914078__root .CollectionToolbar2509914078__right{justify-content:flex-end!important;flex-grow:1;flex-shrink:1;flex-basis:auto}.CollectionToolbar2509914078__root.CollectionToolbar2509914078--views .CollectionToolbar2509914078__right{min-width:0;flex-grow:1;flex-shrink:0;flex-basis:0}.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-4-tabs .CollectionToolbar2509914078__right,.CollectionToolbar2509914078__root.CollectionToolbar2509914078---responsiveMode-5-title .CollectionToolbar2509914078__right{flex:0 1 auto;min-width:0}.CollectionToolbar2509914078__root .CollectionToolbar2509914078__right.CollectionToolbar2509914078__fullWidth{margin-inline-start:0!important}.CollectionToolbar2509914078__root.CollectionToolbar2509914078--mobile:not(.CollectionToolbar2509914078--harmony){padding-right:18px;padding-left:18px}.SearchOrCustomFilter2736362716__search{min-width:140px;max-width:240px;flex:1 0}.SearchOrCustomFilter2736362716__searchMobile{justify-content:flex-end;position:absolute;right:18px}.SearchOrCustomFilter2736362716__searchMobile:not(.SearchOrCustomFilter2736362716--expandable){left:18px}.SearchOrCustomFilter2736362716__searchMobile.SearchOrCustomFilter2736362716--expandable.SearchOrCustomFilter2736362716--expanded{left:18px}.AutoCompleteReadonly3613629120__root.AutoCompleteReadonly3613629120--disableEditing{cursor:pointer}.AutoCompleteReadonly3613629120__root.AutoCompleteReadonly3613629120--disableEditing input{cursor:pointer}.ViewsDropdown655099976__root{width:200px}.DragHandle3204942429__root{display:flex;align-items:center}.DragHandle3204942429__root:not(.DragHandle3204942429--disabled){cursor:grab;color:#a8caff}.DragHandle3204942429__root.DragHandle3204942429--disabled{color:#acafc4}.DragHandle3204942429__root:focus-visible:not(.DragHandle3204942429--disabled){outline:0;box-shadow:0 0 0 3px #a6d0ff}.DragHandle3204942429__root.DragHandle3204942429--disabled{pointer-events:none}.DragHandle3204942429__root.DragHandle3204942429--dragging:not(.DragHandle3204942429--disabled){cursor:grabbing}td:has(>.EditableCell3876522111__root){position:relative;overflow:visible}tr:has(.EditableCell3876522111__root)>td{padding-top:0!important;padding-bottom:0!important;height:36px}.EditableCell3876522111__root{display:flex;align-items:center;padding:0;position:absolute;top:-1px;left:-1px;right:0;bottom:0;overflow:hidden;box-sizing:border-box;outline:0;cursor:default;user-select:none;background:var(--wds-color-fill-surface-raised, var(--wsr-color-D80, #ffffff));border:var(--wds-border-width-default, 1px) solid var(--wds-color-border-dark-secondary, var(--wsr-color-D60, #dfe5eb))}tr:first-child>td>.EditableCell3876522111__root{top:0}.EditableCell3876522111__root:hover:not(.EditableCell3876522111--rowActive):not(.EditableCell3876522111--rangeSelected){background:var(--wds-color-black-750, #f6f7f9)}.EditableCell3876522111__root.EditableCell3876522111--rowActive:not(.EditableCell3876522111--rangeSelected){background:var(--wds-color-black-750, #f6f7f9);box-shadow:inset 0 22px 18px -18px rgba(0,6,36,.1)}.EditableCell3876522111__root.EditableCell3876522111--rowActive:hover:not(.EditableCell3876522111--focused):not(.EditableCell3876522111--rangeSelected){border-color:var(--wds-input-border-color-hover, var(--wsr-color-B40, #d6e6fe));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05)}.EditableCell3876522111__root.EditableCell3876522111--focused:not(.EditableCell3876522111--rangeSelected){border-color:var(--wds-input-border-color-focus, var(--wsr-color-B10, #116dff));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05);z-index:2}.EditableCell3876522111__root.EditableCell3876522111--editing{z-index:3;user-select:auto;overflow:visible;background:var(--wds-color-fill-surface-raised, var(--wsr-color-D80, #ffffff))}.EditableCell3876522111__root.EditableCell3876522111--editing:not(.EditableCell3876522111--showEditWhenFocused){bottom:auto;min-height:calc(100% + 1px)}.EditableCell3876522111__root.EditableCell3876522111--focused.EditableCell3876522111--growable{bottom:auto;min-height:calc(100% + 1px);z-index:3}.EditableCell3876522111__root:has([data-inner-focused]){overflow:visible;z-index:3;border-color:var(--wds-input-border-color-focus, var(--wsr-color-B10, #116dff));box-shadow:inset 0 8px 6px -6px rgba(0,6,36,.05)}.EditableCell3876522111__root.EditableCell3876522111--rangeSelected{background:rgba(56,153,236,.08)}.EditableCell3876522111__root.EditableCell3876522111--selectionTop:not(.EditableCell3876522111--editing){border-top:2px solid var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--selectionBottom:not(.EditableCell3876522111--editing){border-bottom:2px solid var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--selectionLeft:not(.EditableCell3876522111--editing){border-left:2px solid var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--selectionRight:not(.EditableCell3876522111--editing){border-right:2px solid var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--invalid,.EditableCell3876522111__root.EditableCell3876522111--invalid.EditableCell3876522111--rowActive:hover:not(.EditableCell3876522111--focused):not(.EditableCell3876522111--rangeSelected),.EditableCell3876522111__root.EditableCell3876522111--invalid.EditableCell3876522111--focused:not(.EditableCell3876522111--rangeSelected),.EditableCell3876522111__root.EditableCell3876522111--invalid:has([data-inner-focused]){border-color:var(--wds-color-red-100, var(--wsr-color-R10, #e62214))}.EditableCell3876522111__root.EditableCell3876522111--copiedTop:not(.EditableCell3876522111--selectionTop){border-top:2px dashed var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--copiedBottom:not(.EditableCell3876522111--selectionBottom){border-bottom:2px dashed var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--copiedLeft:not(.EditableCell3876522111--selectionLeft){border-left:2px dashed var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--copiedRight:not(.EditableCell3876522111--selectionRight){border-right:2px dashed var(--wsr-color-B10)}.EditableCell3876522111__root.EditableCell3876522111--invalid:not(.EditableCell3876522111--focused):not(.EditableCell3876522111--editing){z-index:1}.EditableCell3876522111__errorMessage{position:absolute;top:calc(100% + 4px);left:-1px;z-index:4;box-sizing:border-box;width:max-content;max-width:240px;padding:6px 8px;pointer-events:none;border-radius:var(--wds-popover-border-radius, var(--wds-border-radius-400, 8px));background:var(--wds-popover-fill, var(--wds-color-fill-surface-overlay, var(--wsr-color-D80, #ffffff)));box-shadow:var(--wds-shadow-surface-overlay, 0 0 18px rgba(0, 6, 36, 0.1), 0 6px 6px rgba(0, 6, 36, 0.05))}.HeaderActionsPopover3190684104__root{opacity:0;transition:opacity .15s}th:hover .HeaderActionsPopover3190684104__root,.HeaderActionsPopover3190684104__root[data-menu-open=true],.HeaderActionsPopover3190684104__root:focus-within{opacity:1}.CellViewLayout3153677172__root{width:100%;height:100%;padding:6px 8px;box-sizing:border-box;display:flex;align-items:center;overflow:clip}.CellViewLayout3153677172__root>*{flex:1;min-width:0}.Edit1063276467__addressInput{width:100%;height:100%;display:flex;align-items:center;box-sizing:border-box;padding-left:8px;padding-right:8px;min-width:0;overflow:hidden}.Edit1063276467__addressInput>div,.Edit1063276467__addressInput>div>div,.Edit1063276467__addressInput>div>div>div{width:100%;min-width:0}.Edit711841012__jsonInput{width:100%;margin-left:-1px}.Edit603573699__booleanEdit{display:flex;align-items:center;margin-left:8px}.View2605942313__booleanView{display:flex;align-items:center;margin-left:8px;pointer-events:none}.Edit2460520760__root{width:100%;height:100%;display:flex;align-items:center}.Edit1216610466__dateInput{width:100%;margin-left:-1px}.Edit848650354__half{min-width:0;position:relative;display:flex;align-items:center;box-sizing:border-box}.Edit848650354__dateHalf{flex:60 1 0}.Edit848650354__timeHalf{flex:40 1 0}.Edit848650354__divider{width:1px;height:16px;background:var(--wds-color-border-standard, #dfe5eb);flex-shrink:0}.Edit848650354__passiveText{padding:6px 8px;font-size:14px;line-height:18px;font-family:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;width:100%}.Edit848650354__placeholderText{color:var(--wds-color-text-placeholder, #868aa5)}.View3135763667__leaf{min-width:0;padding:6px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:18px;font-family:inherit;box-sizing:border-box}.View3135763667__datePart{flex:60 1 0}.View3135763667__timePart{flex:40 1 0}.View3135763667__placeholder{color:var(--wds-color-text-placeholder, #868aa5)}.View3135763667__divider{width:1px;height:16px;background:var(--wds-color-border-standard, #dfe5eb);flex-shrink:0}.Edit3363135857__emailInput{width:100%;margin-left:-1px}.Edit2898340975__numberInput{width:100%;margin-right:2px}.Edit2898340975__numberInput input{text-align:right;direction:ltr}.View3128311539__textView{width:100%;text-align:right}.Edit3548293290__jsonInput{width:100%;margin-left:-1px}.Edit1893218128__selectInput{width:100%}.Edit1088589481__editWrapper{width:100%}.Edit1088589481__inputArea{background-color:transparent;width:100%}.Edit1088589481__inputArea input,.Edit1088589481__inputArea textarea{font-size:var(--wds-font-size-body-small, var(--wsr-text-font-size-small, 14px))!important;line-height:var(--wds-font-line-height-body-small, var(--wsr-text-line-height-small, 18px))!important}.Edit1088589481__inputArea input{padding:6px 8px!important;outline:0!important;border:0!important;box-sizing:border-box!important}.Edit1088589481__inputArea>div{border:0!important;border-radius:0!important;box-shadow:none!important;background-color:transparent!important;outline:0!important}.Edit1088589481__inputArea>div::after{box-shadow:none!important}.Edit1088589481__inputArea textarea{padding:6px 8px!important;outline:0!important;border:0!important;box-sizing:border-box!important}.Edit1088589481__inputArea:not(.Edit1088589481--isFocused) textarea{resize:none;overflow:hidden}.Edit1088589481__inputArea:not(.Edit1088589481--isFocused) textarea::-webkit-scrollbar{display:none}.Edit1479925910__wrapper{position:relative;width:100%;height:100%;display:flex;align-items:center;--wds-input-value-font-size-small:var(--wds-font-size-body-small);--wds-input-value-font-line-height-small:var(
|
|
2
2
|
--wds-font-line-height-body-small
|
|
3
|
-
)}.
|
|
3
|
+
)}.Edit1479925910__overlay{position:absolute;inset:2px;pointer-events:none;background:var(--wds-color-background-elevation-base, #fff)}.Edit3644570053__urlInput{width:100%;margin-left:-1px}.View923297067__textView{width:100%;padding:9px 12px;display:flex;align-items:center;justify-content:space-between}.View923297067__urlText{flex:1;min-width:0}.View923297067__suffix{flex-shrink:0;margin-left:10px}.View923297067__textView.View923297067--suffixOnHover:not(:hover) .View923297067__suffix{display:none}.EmptyStateBase4129790249__root{min-height:230px;align-items:center}.EntityPagePlain1646857300__root.EntityPagePlain1646857300--mobile{--wds-page-header-padding-horizontal:0}.Fade2249166449__root{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);opacity:1}.Fade2249166449__root.Fade2249166449--exit{opacity:0}.Heading121350323__root{visibility:visible}.Heading121350323__root.Heading121350323--appearanceH2{font-size:28px!important;line-height:36px!important}.ImportStepUpload1101526918__fileUpload{width:100%}.InputOverflow2520141165__root.InputOverflow2520141165--selected:not(.InputOverflow2520141165--focused) input::placeholder{color:#000624}@keyframes LoadingRow3388347116__gradientSwoosh{0%{background-position:50% 50%;background-size:150% 125%}15%{background-position:75% 40%;background-size:130% 115%}30%{background-position:50% 50%;background-size:120% 135%}60%{background-position:30% 50%;background-size:120% 135%}80%{background-position:10% 30%;background-size:130% 155%}to{background-position:40% 45%;background-size:125% 135%}}.LoadingRow3388347116__root{background-image:linear-gradient(60deg,rgba(255,255,255,.15)0,rgba(255,255,255,.15) 50%,rgba(95,242,174,.15) 100%),linear-gradient(284.81deg,#fff 67.18%,#91bbff 158.87%),linear-gradient(29deg,rgba(145,187,255,.6)0,#fff 40%,rgba(95,242,174,.6) 100%);height:100%;background-size:150% 125%;background-repeat:no-repeat;animation:LoadingRow3388347116__gradientSwoosh 2s ease-out infinite alternate}.MaxHeightText493823936__root{opacity:1}.MaxHeightText493823936__root.MaxHeightText493823936--height24{line-height:24px}.MaxLines2821947960__root{overflow:hidden}.MaxLines2821947960__root.MaxLines2821947960--clamp{-webkit-box-orient:vertical;display:-webkit-box}.MultiBulkActionToolbar1681003559__root{min-width:0}.MultiBulkActionToolbar1681003559__leftGroupWrapper{padding-right:12px;min-width:0;flex-wrap:nowrap;align-items:center}.MultiBulkActionToolbar1681003559__selectedCountItem{min-width:0;flex-shrink:1;white-space:nowrap;overflow:hidden}.MultiBulkActionToolbar1681003559__selectedCountText{display:block;width:100%}.NestedTablePlaceholderStatesRow2027767742__root td{padding:0!important;width:100%}.NestedTableRow1044508703__firstLevel td{padding-top:var(--wds-space-300, 18px)!important;padding-bottom:var(--wds-space-300, 18px)!important}.NestedTableRow1044508703__root:hover{background-color:var(--wds-table-list-item-fill-hover, var(--wsr-color-B50, #e7f0ff))!important}.NestedTableRow1044508703__root.NestedTableRow1044508703--expandable{cursor:pointer}.NestedTableRow1044508703__placeholder td{padding:0!important;width:100%}.NestedTableRow1044508703__root:hover td:first-of-type::before,.NestedTableRow1044508703__parentHovered td:first-of-type::before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:var(--wds-color-border-standard-primary-active, var(--wsr-color-B10, #116DFF))}.MultipleDragOverlayEffect1852040764__root{position:absolute;transform:translate(6px,6px);background-color:var(--wds-color-fill-surface-overlay, var(--wsr-color-D80, #ffffff));box-shadow:var(--wds-shadow-surface-overlay, var(--wsr-shadow20, 0 2px 4px 0 rgba(22, 45, 61, 0.12), 0 0 6px 0 rgba(22, 45, 61, 0.12)))}.NestedTableDragAndDropRow3558615481__root.NestedTableDragAndDropRow3558615481--draggingInto td{background-color:var(--wds-table-list-item-fill-hover, var(--wsr-color-B50, #E7F0FF))!important}.PickerContent396127304__root{display:flex}.PickerContentAdditionalStep3143450510__titles{display:flex;justify-content:center;flex:1 1 auto;overflow:hidden;flex-direction:column}.PickerContentAdditionalStep3143450510__suffix{display:flex;align-items:center;flex:0 0 auto;overflow:hidden}.PickerTableListItem3262638855__root{box-sizing:border-box}.ScrollableContent3969433939__root.ScrollableContent3969433939--overflowY{overflow-y:auto}.ScrollableContent3969433939__root.ScrollableContent3969433939--overflowX{overflow-x:auto}.ScrollableContent3969433939__root.ScrollableContent3969433939--smooth{scroll-behavior:smooth}.SetupWidget2850626784__row{display:flex;flex-direction:column;overflow:clip;--wds-clickable-card-outline-border-color:var(--wds-color-border-dark-secondary, var(--wsr-color-D60, #DFE5EB))}.SetupWidget2850626784__row.SetupWidget2850626784--focused{--wds-clickable-card-outline-border-color:var(--wds-color-border-standard-primary-active, var(--wsr-color-B10, #116DFF))}.SetupWidget2850626784__row.SetupWidget2850626784--focused.SetupWidget2850626784--withBackground{--wds-color-fill-surface-default:var(--wds-color-fill-standard-tertiary-hover, var(--wsr-color-B60, #F4F7FF))}.SetupWidget2850626784__completedCta,.SetupWidget2850626784__secondaryCta{opacity:0;transition:opacity .25s ease-in-out}@media (hover:hover){.SetupWidget2850626784__row:hover .SetupWidget2850626784__completedCta,.SetupWidget2850626784__row:hover .SetupWidget2850626784__secondaryCta{opacity:1}}.SetupWidget2850626784__row:focus-within .SetupWidget2850626784__completedCta,.SetupWidget2850626784__row:focus-within .SetupWidget2850626784__secondaryCta,.SetupWidget2850626784__secondaryCta:focus-within{opacity:1}.SetupWidget2850626784__card{display:block;width:100%;border:0;border-radius:var(--wds-border-radius-400, 8px);background-color:var(--wds-color-fill-standard-tertiary, var(--wsr-color-D80, #FFFFFF));box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);overflow:clip;box-sizing:border-box;text-align:start;font:inherit;color:inherit;padding:0;margin:0}.SetupWidget2850626784__card.SetupWidget2850626784--primary{background-color:var(--wds-color-fill-standard-tertiary-hover, var(--wsr-color-B60, #F4F7FF))}.SetupWidget2850626784__card.SetupWidget2850626784--clickable{cursor:pointer}.SetupWidget2850626784__stepIcon{display:flex;align-items:center;flex-shrink:0;height:24px}.SetupWidget2850626784__chevron{display:flex;flex-shrink:0;color:var(--wds-color-text-standard-primary, var(--wsr-color-D10, #000624))}.SetupWidget2850626784__chevronDisabled{display:flex;flex-shrink:0;color:var(--wds-color-text-disabled, var(--wsr-color-D10-30, rgba(0, 6, 36, 0.30)))}.SetupWidget2850626784__inProgressLabel{--wds-color-text-standard-primary:var(--wds-color-text-urgent, var(--wsr-color-O10, #FE620F));text-transform:uppercase}.SkeletonCard2603318609__headerLoading{display:block!important}.SlidingModal2938545875__root{transition:transform .4s ease 0s;position:fixed;z-index:1}.SlidingModal2938545875__root.SlidingModal2938545875--overlay{transition:transform 0s ease 0s}.SlidingModal2938545875__root.SlidingModal2938545875---appendTo-6-parent{position:absolute}.SlidingModal2938545875__root.SlidingModal2938545875--inset{border-radius:var(--wds-side-panel-standard-corner-radius, 0);will-change:transform}.SlidingModal2938545875__root:not(.SlidingModal2938545875--exited){box-shadow:0 3px 24px 0 rgba(22,45,61,.18),0 8px 8px 0 rgba(22,45,61,.12)}.AddFieldColumnHeader1907546462__root{display:inline-flex;align-items:center;width:100%;min-width:0}.AddFieldColumnHeader1907546462__title{display:flex;width:100%;min-width:0}.AddFieldColumnHeader1907546462__hoverBridge{display:inline-block;padding:4px 13px 4px 4px;background:0 0}[data-content-element^=popover-content-add-field-popover-][data-hook=popover-content][class]{background:0 0;border:0;box-shadow:none;border-radius:0;padding:0}.TabsFilter4199202321__root .TabsFilter4199202321__titleBox *{color:inherit!important}.ManageTagsModal1052133035__root{display:flex}.ManageTagsModal1052133035__root.ManageTagsModal1052133035--harmony .wds_1_301_0_TableListItem__root{padding-inline-end:16px}.ManageTagsModal1052133035__root.ManageTagsModal1052133035--harmony .wds_1_301_0_TableListItem__optionsContainer{align-items:start}.ToolbarItem3030730344__root{min-width:0}.ToolbarItemBox833067609__root{min-width:0}.ToolbarItemBox833067609__root.ToolbarItemBox833067609--removeStartPadding{margin-left:-24px}.ToolbarItemBox833067609__root.ToolbarItemBox833067609--expandable{flex:1 0}.common2982988403__column{display:flex;flex-direction:column}.common2982988403__fullHeight{height:100%;min-height:0}.CollectionPageHeader572984085__root:not(.CollectionPageHeader572984085--mobile){gap:12px}.CollectionPageHeader572984085__root.CollectionPageHeader572984085--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.CollectionPageHeader572984085__root.CollectionPageHeader572984085--mobile>*{margin-left:0;margin-top:6px!important;height:auto}.FormPageHeader2182836129__root.FormPageHeader2182836129--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.FormPageHeader2182836129__root.FormPageHeader2182836129--mobile>*{margin-left:0;margin-top:6px!important;height:auto}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = 'patterns@1.
|
|
1
|
+
export const version = 'patterns@1.449.0';
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# PR #5715 review comments
|
|
2
|
-
|
|
3
|
-
[feat(FieldFilters): filter reference fields by the referenced items #CAIRO-4443](https://github.com/wix-private/cairo/pull/5715)
|
|
4
|
-
|
|
5
|
-
Reviewers tracked: **github-actions[bot]** (Codex, gpt-5.6-luna) and **kobiburnley**.
|
|
6
|
-
|
|
7
|
-
## Review summaries
|
|
8
|
-
|
|
9
|
-
> **[Codex Code Review](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4961993440)** — github-actions[bot], on `060fc6e8`
|
|
10
|
-
> Found 4 issues.
|
|
11
|
-
|
|
12
|
-
> **[Re-review — 4f86803](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4970108817)** — kobiburnley
|
|
13
|
-
> **Verdict: Approve** — no blockers. Both blockers from the previous round are resolved, and the bundle one is resolved better than what I suggested […] CI agrees with the commit message's measurement (`DataExtension.umd.min.js`: 502,008 on master → 614,271 before → 502,429 after) […] Falcon was still running when I posted this.
|
|
14
|
-
|
|
15
|
-
(An earlier kobiburnley review body was just `ignore` — [link](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4969822009).)
|
|
16
|
-
|
|
17
|
-
**Do not collapse the two `displayName` points.** The re-review retires an earlier
|
|
18
|
-
note about a missing `displayName` on the grounds that it "doesn't matter for an
|
|
19
|
-
internal component" — that one is about the component's public identity, and it
|
|
20
|
-
is indeed moot. Inline comment #2 is a different, functional problem: the toolbar
|
|
21
|
-
reads `filter.type.displayName` to decide whether to force the side panel, so the
|
|
22
|
-
missing name changes layout whether or not the component is public. #2 stays open.
|
|
23
|
-
|
|
24
|
-
## Inline comments
|
|
25
|
-
|
|
26
|
-
| # | Comment link | Description | Severity | Status | Resolution recommendation |
|
|
27
|
-
|---|---|---|---|---|---|
|
|
28
|
-
| 1 | [discussion_r3804846800](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846800) — `ReferenceFieldFilter.tsx:45` | `queryName: reference-filter-${fieldId}` carries no collection identity. Two fields with the same id pointing at different collections share a React Query entry; with `refetchOnMount: false` the second shows the first's options. | Major | done | Fixed in `375939be2`. The referenced collection is already on the field, so `buildFieldFilters` passes `field.referenceMetadata.referencedCollectionId` — no resolver change. Name is now `reference-filter-<collectionId>-<fieldId>`; the field id stays so two fields on one collection keep fetching independently as today. Pinned by `referenceFilterQueryName` unit tests + an element-props test in `EditableTable.referenceFieldFilters.spec.tsx`. |
|
|
29
|
-
| 2 | [discussion_r3804846803](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846803) — `ReferenceFieldFilter.tsx:41` | `CollectionToolbarFilters.forceShowSidePanel` matches on `filter.type.displayName` against a fixed list including `MultiSelectCollectionFilter`. The wrapper has no `displayName`, so a reference filter among the first `inline` filters renders inline instead of forcing the side panel. | Major | done | Fixed in `2ff75d038`. The component declares `displayName = 'ReferenceFieldFilter'` and the detection array becomes a named export, `SIDE_PANEL_FILTER_DISPLAY_NAMES`, carrying it. Did **not** set the name to `'MultiSelectCollectionFilter'` as suggested — the component would then misreport itself in devtools and error traces to satisfy a string match. Pinned from both sides in `EditableTable.referenceFieldFilters.spec.tsx` ("toolbar placement"). See F1 below for the wider gap this uncovered. |
|
|
30
|
-
| 3 | [discussion_r3804846812](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846812) — `buildFieldFilters.tsx` | The reference branch omits `fieldType`, which every other generated field filter passes. Source-driven tables enable field-type icons, so the reference filter shows the generic fallback icon. | Minor | open | **Verified real** — the generic branch passes `fieldType={config.iconType?.(field) ?? toFieldType(field.type)}`; the reference branch passes none. Pass the same expression in the reference branch. |
|
|
31
|
-
| 4 | [discussion_r3804846821](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846821) — `ReferenceFieldFilter.tsx:45` | Same cache-key collision as #1, with the added tenant/context angle: a shared cache could surface another collection's ids. | Major | done (collision) / open (tenant) | Collision fixed with #1 in `375939be2`. **The "clear or isolate the cache when that context changes" half is not addressed**: the cache lives in the container's QueryClient, so a tenant switch that replaces the container is already isolated — a deployment that keeps one container across tenants would need a broader fix than this component. |
|
|
32
|
-
| 5 | [discussion_r3811150592](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150592) — `ReferenceFieldFilter.tsx:3` | Blocker: the static `ReferenceAvatar` import from `@wix/patterns-fields` put that package in every Table/Grid's eager graph (~110kb), which is what `FieldCell.tsx`'s `lazyCell` exists to prevent. Bundle checks failing. | Blocker | done | Fixed in `4f86803c3` by injecting the component through `FieldsSourceComponents` instead of lazy-loading — the source supplies it, DataExtension supplies nothing. Measured `DataExtension.umd.min.js` 614,271 → 502,429 (master 502,008). All three bundle checks green; reviewer confirmed. |
|
|
33
|
-
| 6 | [discussion_r3811150602](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150602) — `buildFieldFilters.tsx` | Blocker: same root cause from the builder side. Plus: Falcon reported `3 failed (1 new)` vs #5714's clean run — confirm the new failure isn't the map change flipping an expectation. | Blocker | done (bundle) / **open (Falcon)** | Bundle half fixed by `4f86803c3` — `buildFieldFilters` now holds a type-only import. **The Falcon failure is not yet confirmed either way**; reviewer's own guess is the perfer bundle check counted as a test, but that is unverified. Check the latest Falcon run on `4f86803c3`. |
|
|
34
|
-
|
|
35
|
-
## Non-blocking notes from the re-review summary
|
|
36
|
-
|
|
37
|
-
Not inline comments — no `comment_id`, so these are answered with a general PR comment.
|
|
38
|
-
|
|
39
|
-
| # | Description | Severity | Status | Resolution recommendation |
|
|
40
|
-
|---|---|---|---|---|
|
|
41
|
-
| N1 | The **schema** path now eagerly pulls the `@wix/patterns-fields` root barrel via `ReferenceAvatar` → `ReferenceFieldFilter` → `SchemaState`/`schemaRendering`. `ReferenceFieldCell.tsx`, twelve lines away, lazy-loads the same barrel with `lazyView` for exactly this reason. No bundle fixture covers the schema entry, so CI cannot see it. | Major (untested by CI) | open | The ~110kb moved rather than disappeared — it now lands on schema-source consumers. Copy `lazyView` into `ReferenceFieldFilter` (~3 lines). **Highest-value item here.** |
|
|
42
|
-
| N2 | The injected component is threaded as a 4th positional arg through four functions where it only acts as a truthiness flag, and is redundant with `config.referenceItems` (every source has both or neither). | Minor | open | Move the component onto `FieldFilterConfig` next to `referenceItems`: one parameter list, one source of truth. |
|
|
43
|
-
| N3 | `SchemaState.filterableFields` hardcodes the imported `ReferenceFieldFilter` while `buildFilters`/`registerFilters` read `components.ReferenceFieldFilter`. | Minor | open | Collapses into N2 — with the component on `FieldFilterConfig` there is only one place to read it. |
|
|
44
|
-
| N4 | Opening the Filters panel fires one referenced-collection query per reference field (`useCollectionFilterInitialFetchTiming` fetches on mount). | Minor | open | Pass `initialFetchTiming: 'focus'` to `MultiSelectCollectionFilter` to defer to first interaction. |
|
|
45
|
-
| N5 | `queryName` unique per field but not per collection. | Major | done | Closed by `375939be2` with #1/#4. |
|
|
46
|
-
| N6 | `_schemaOf` and `_request` both call `refSource.loadSchema()`; free while every `references` entry comes from `defineSchemaSource`, a double load for a hand-rolled `SchemaSource`. | Nit | open | Either route `_request` through `_schemaOf`, or document the memoization assumption at `itemsFetcherFor`. |
|
|
47
|
-
| N7 | `simplify` keeps only `{id, name}`, so a URL-restored filter shows options without images until the collection loads. | Nit | open | Cosmetic; likely dismiss. |
|
|
48
|
-
|
|
49
|
-
## Follow-ups found while resolving
|
|
50
|
-
|
|
51
|
-
| # | Description | Severity | Status |
|
|
52
|
-
|---|---|---|---|
|
|
53
|
-
| F1 | **`forceShowSidePanel` has never fired for any field filter.** It matches on `displayName`, and four of the five wrappers in `CustomFieldFilters/` declare none: `CheckboxCustomFieldFilter` (wraps `RadioGroupFilter`), `DateCustomFieldFilter` and `DateTimeCustomFieldFilter` (wrap `DateRangeFilter`), `HasValueCustomFieldFilter` (wraps `MultiInlineCheckboxFilter`). Only `OperatorFilterCustomFieldFilter` names itself, and its wrapped filter is correctly absent from the list. So DATE, DATETIME and BOOLEAN field filters have always rendered inline, and #5714 extended that to the 11 has-value types. | Major, pre-existing | open — **deliberately out of scope here** |
|
|
54
|
-
|
|
55
|
-
Fixing F1 is one line per wrapper, but it changes toolbar layout for existing
|
|
56
|
-
DATE / BOOLEAN / has-value filters — a visible behaviour change unrelated to
|
|
57
|
-
this PR, worth its own change and a look from someone who owns the layout. The
|
|
58
|
-
doc comment on `SIDE_PANEL_FILTER_DISPLAY_NAMES` names the trap so the next
|
|
59
|
-
wrapper author sees it.
|
|
60
|
-
|
|
61
|
-
## Suggested order
|
|
62
|
-
|
|
63
|
-
1. ~~**#1/#4/N5** — cache-key collision~~ — done, `375939be2`.
|
|
64
|
-
1. ~~**#2** — side-panel layout~~ — done, `2ff75d038`.
|
|
65
|
-
2. **N1** — the bundle cost that moved to the schema entry and that CI cannot
|
|
66
|
-
catch. Parked mid-change: the work is saved as a patch at
|
|
67
|
-
`scratchpad/N1-lazy-avatar.patch` (extracts `lazyView` from
|
|
68
|
-
`ReferenceFieldCell` into a shared `lazyPatternsFields` helper and uses it
|
|
69
|
-
for `ReferenceAvatar`). Apply with `git apply` to resume.
|
|
70
|
-
3. **#3** — field-type icon.
|
|
71
|
-
4. **N2/N3** — parameter-threading cleanup.
|
|
72
|
-
5. **#6 Falcon** — confirm the failing test.
|
|
73
|
-
6. **N4**, then **N6/N7**. **F1** separately.
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# PR #5715 review comments
|
|
2
|
-
|
|
3
|
-
[feat(FieldFilters): filter reference fields by the referenced items #CAIRO-4443](https://github.com/wix-private/cairo/pull/5715)
|
|
4
|
-
|
|
5
|
-
Reviewers tracked: **github-actions[bot]** (Codex, gpt-5.6-luna) and **kobiburnley**.
|
|
6
|
-
|
|
7
|
-
## Review summaries
|
|
8
|
-
|
|
9
|
-
> **[Codex Code Review](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4961993440)** — github-actions[bot], on `060fc6e8`
|
|
10
|
-
> Found 4 issues.
|
|
11
|
-
|
|
12
|
-
> **[Re-review — 4f86803](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4970108817)** — kobiburnley
|
|
13
|
-
> **Verdict: Approve** — no blockers. Both blockers from the previous round are resolved, and the bundle one is resolved better than what I suggested […] CI agrees with the commit message's measurement (`DataExtension.umd.min.js`: 502,008 on master → 614,271 before → 502,429 after) […] Falcon was still running when I posted this.
|
|
14
|
-
|
|
15
|
-
(An earlier kobiburnley review body was just `ignore` — [link](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4969822009).)
|
|
16
|
-
|
|
17
|
-
**Do not collapse the two `displayName` points.** The re-review retires an earlier
|
|
18
|
-
note about a missing `displayName` on the grounds that it "doesn't matter for an
|
|
19
|
-
internal component" — that one is about the component's public identity, and it
|
|
20
|
-
is indeed moot. Inline comment #2 is a different, functional problem: the toolbar
|
|
21
|
-
reads `filter.type.displayName` to decide whether to force the side panel, so the
|
|
22
|
-
missing name changes layout whether or not the component is public. #2 stays open.
|
|
23
|
-
|
|
24
|
-
## Inline comments
|
|
25
|
-
|
|
26
|
-
| # | Comment link | Description | Severity | Status | Resolution recommendation |
|
|
27
|
-
|---|---|---|---|---|---|
|
|
28
|
-
| 1 | [discussion_r3804846800](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846800) — `ReferenceFieldFilter.tsx:45` | `queryName: reference-filter-${fieldId}` carries no collection identity. Two fields with the same id pointing at different collections share a React Query entry; with `refetchOnMount: false` the second shows the first's options. | Major | done | Fixed in `375939be2`. The referenced collection is already on the field, so `buildFieldFilters` passes `field.referenceMetadata.referencedCollectionId` — no resolver change. Name is now `reference-filter-<collectionId>-<fieldId>`; the field id stays so two fields on one collection keep fetching independently as today. Pinned by `referenceFilterQueryName` unit tests + an element-props test in `EditableTable.referenceFieldFilters.spec.tsx`. |
|
|
29
|
-
| 2 | [discussion_r3804846803](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846803) — `ReferenceFieldFilter.tsx:41` | `CollectionToolbarFilters.forceShowSidePanel` matches on `filter.type.displayName` against a fixed list including `MultiSelectCollectionFilter`. The wrapper has no `displayName`, so a reference filter among the first `inline` filters renders inline instead of forcing the side panel. | Major | done | Fixed in `2ff75d038`. The component declares `displayName = 'ReferenceFieldFilter'` and the detection array becomes a named export, `SIDE_PANEL_FILTER_DISPLAY_NAMES`, carrying it. Did **not** set the name to `'MultiSelectCollectionFilter'` as suggested — the component would then misreport itself in devtools and error traces to satisfy a string match. Pinned from both sides in `EditableTable.referenceFieldFilters.spec.tsx` ("toolbar placement"). See F1 below for the wider gap this uncovered. |
|
|
30
|
-
| 3 | [discussion_r3804846812](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846812) — `buildFieldFilters.tsx` | The reference branch omits `fieldType`, which every other generated field filter passes. Source-driven tables enable field-type icons, so the reference filter shows the generic fallback icon. | Minor | open | **Verified real** — the generic branch passes `fieldType={config.iconType?.(field) ?? toFieldType(field.type)}`; the reference branch passes none. Pass the same expression in the reference branch. |
|
|
31
|
-
| 4 | [discussion_r3804846821](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846821) — `ReferenceFieldFilter.tsx:45` | Same cache-key collision as #1, with the added tenant/context angle: a shared cache could surface another collection's ids. | Major | done (collision) / open (tenant) | Collision fixed with #1 in `375939be2`. **The "clear or isolate the cache when that context changes" half is not addressed**: the cache lives in the container's QueryClient, so a tenant switch that replaces the container is already isolated — a deployment that keeps one container across tenants would need a broader fix than this component. |
|
|
32
|
-
| 5 | [discussion_r3811150592](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150592) — `ReferenceFieldFilter.tsx:3` | Blocker: the static `ReferenceAvatar` import from `@wix/patterns-fields` put that package in every Table/Grid's eager graph (~110kb), which is what `FieldCell.tsx`'s `lazyCell` exists to prevent. Bundle checks failing. | Blocker | done | Fixed in `4f86803c3` by injecting the component through `FieldsSourceComponents` instead of lazy-loading — the source supplies it, DataExtension supplies nothing. Measured `DataExtension.umd.min.js` 614,271 → 502,429 (master 502,008). All three bundle checks green; reviewer confirmed. |
|
|
33
|
-
| 6 | [discussion_r3811150602](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150602) — `buildFieldFilters.tsx` | Blocker: same root cause from the builder side. Plus: Falcon reported `3 failed (1 new)` vs #5714's clean run — confirm the new failure isn't the map change flipping an expectation. | Blocker | done (bundle) / **open (Falcon)** | Bundle half fixed by `4f86803c3` — `buildFieldFilters` now holds a type-only import. **The Falcon failure is not yet confirmed either way**; reviewer's own guess is the perfer bundle check counted as a test, but that is unverified. Check the latest Falcon run on `4f86803c3`. |
|
|
34
|
-
|
|
35
|
-
## Non-blocking notes from the re-review summary
|
|
36
|
-
|
|
37
|
-
Not inline comments — no `comment_id`, so these are answered with a general PR comment.
|
|
38
|
-
|
|
39
|
-
| # | Description | Severity | Status | Resolution recommendation |
|
|
40
|
-
|---|---|---|---|---|
|
|
41
|
-
| N1 | The **schema** path now eagerly pulls the `@wix/patterns-fields` root barrel via `ReferenceAvatar` → `ReferenceFieldFilter` → `SchemaState`/`schemaRendering`. `ReferenceFieldCell.tsx`, twelve lines away, lazy-loads the same barrel with `lazyView` for exactly this reason. No bundle fixture covers the schema entry, so CI cannot see it. | Major (untested by CI) | open | The ~110kb moved rather than disappeared — it now lands on schema-source consumers. Copy `lazyView` into `ReferenceFieldFilter` (~3 lines). **Highest-value item here.** |
|
|
42
|
-
| N2 | The injected component is threaded as a 4th positional arg through four functions where it only acts as a truthiness flag, and is redundant with `config.referenceItems` (every source has both or neither). | Minor | open | Move the component onto `FieldFilterConfig` next to `referenceItems`: one parameter list, one source of truth. |
|
|
43
|
-
| N3 | `SchemaState.filterableFields` hardcodes the imported `ReferenceFieldFilter` while `buildFilters`/`registerFilters` read `components.ReferenceFieldFilter`. | Minor | open | Collapses into N2 — with the component on `FieldFilterConfig` there is only one place to read it. |
|
|
44
|
-
| N4 | Opening the Filters panel fires one referenced-collection query per reference field (`useCollectionFilterInitialFetchTiming` fetches on mount). | Minor | open | Pass `initialFetchTiming: 'focus'` to `MultiSelectCollectionFilter` to defer to first interaction. |
|
|
45
|
-
| N5 | `queryName` unique per field but not per collection. | Major | done | Closed by `375939be2` with #1/#4. |
|
|
46
|
-
| N6 | `_schemaOf` and `_request` both call `refSource.loadSchema()`; free while every `references` entry comes from `defineSchemaSource`, a double load for a hand-rolled `SchemaSource`. | Nit | open | Either route `_request` through `_schemaOf`, or document the memoization assumption at `itemsFetcherFor`. |
|
|
47
|
-
| N7 | `simplify` keeps only `{id, name}`, so a URL-restored filter shows options without images until the collection loads. | Nit | open | Cosmetic; likely dismiss. |
|
|
48
|
-
|
|
49
|
-
## Follow-ups found while resolving
|
|
50
|
-
|
|
51
|
-
| # | Description | Severity | Status |
|
|
52
|
-
|---|---|---|---|
|
|
53
|
-
| F1 | **`forceShowSidePanel` has never fired for any field filter.** It matches on `displayName`, and four of the five wrappers in `CustomFieldFilters/` declare none: `CheckboxCustomFieldFilter` (wraps `RadioGroupFilter`), `DateCustomFieldFilter` and `DateTimeCustomFieldFilter` (wrap `DateRangeFilter`), `HasValueCustomFieldFilter` (wraps `MultiInlineCheckboxFilter`). Only `OperatorFilterCustomFieldFilter` names itself, and its wrapped filter is correctly absent from the list. So DATE, DATETIME and BOOLEAN field filters have always rendered inline, and #5714 extended that to the 11 has-value types. | Major, pre-existing | open — **deliberately out of scope here** |
|
|
54
|
-
|
|
55
|
-
Fixing F1 is one line per wrapper, but it changes toolbar layout for existing
|
|
56
|
-
DATE / BOOLEAN / has-value filters — a visible behaviour change unrelated to
|
|
57
|
-
this PR, worth its own change and a look from someone who owns the layout. The
|
|
58
|
-
doc comment on `SIDE_PANEL_FILTER_DISPLAY_NAMES` names the trap so the next
|
|
59
|
-
wrapper author sees it.
|
|
60
|
-
|
|
61
|
-
## Suggested order
|
|
62
|
-
|
|
63
|
-
1. ~~**#1/#4/N5** — cache-key collision~~ — done, `375939be2`.
|
|
64
|
-
1. ~~**#2** — side-panel layout~~ — done, `2ff75d038`.
|
|
65
|
-
2. **N1** — the bundle cost that moved to the schema entry and that CI cannot
|
|
66
|
-
catch. Parked mid-change: the work is saved as a patch at
|
|
67
|
-
`scratchpad/N1-lazy-avatar.patch` (extracts `lazyView` from
|
|
68
|
-
`ReferenceFieldCell` into a shared `lazyPatternsFields` helper and uses it
|
|
69
|
-
for `ReferenceAvatar`). Apply with `git apply` to resume.
|
|
70
|
-
3. **#3** — field-type icon.
|
|
71
|
-
4. **N2/N3** — parameter-threading cleanup.
|
|
72
|
-
5. **#6 Falcon** — confirm the failing test.
|
|
73
|
-
6. **N4**, then **N6/N7**. **F1** separately.
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# PR #5715 review comments
|
|
2
|
-
|
|
3
|
-
[feat(FieldFilters): filter reference fields by the referenced items #CAIRO-4443](https://github.com/wix-private/cairo/pull/5715)
|
|
4
|
-
|
|
5
|
-
Reviewers tracked: **github-actions[bot]** (Codex, gpt-5.6-luna) and **kobiburnley**.
|
|
6
|
-
|
|
7
|
-
## Review summaries
|
|
8
|
-
|
|
9
|
-
> **[Codex Code Review](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4961993440)** — github-actions[bot], on `060fc6e8`
|
|
10
|
-
> Found 4 issues.
|
|
11
|
-
|
|
12
|
-
> **[Re-review — 4f86803](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4970108817)** — kobiburnley
|
|
13
|
-
> **Verdict: Approve** — no blockers. Both blockers from the previous round are resolved, and the bundle one is resolved better than what I suggested […] CI agrees with the commit message's measurement (`DataExtension.umd.min.js`: 502,008 on master → 614,271 before → 502,429 after) […] Falcon was still running when I posted this.
|
|
14
|
-
|
|
15
|
-
(An earlier kobiburnley review body was just `ignore` — [link](https://github.com/wix-private/cairo/pull/5715#pullrequestreview-4969822009).)
|
|
16
|
-
|
|
17
|
-
**Do not collapse the two `displayName` points.** The re-review retires an earlier
|
|
18
|
-
note about a missing `displayName` on the grounds that it "doesn't matter for an
|
|
19
|
-
internal component" — that one is about the component's public identity, and it
|
|
20
|
-
is indeed moot. Inline comment #2 is a different, functional problem: the toolbar
|
|
21
|
-
reads `filter.type.displayName` to decide whether to force the side panel, so the
|
|
22
|
-
missing name changes layout whether or not the component is public. #2 stays open.
|
|
23
|
-
|
|
24
|
-
## Inline comments
|
|
25
|
-
|
|
26
|
-
| # | Comment link | Description | Severity | Status | Resolution recommendation |
|
|
27
|
-
|---|---|---|---|---|---|
|
|
28
|
-
| 1 | [discussion_r3804846800](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846800) — `ReferenceFieldFilter.tsx:45` | `queryName: reference-filter-${fieldId}` carries no collection identity. Two fields with the same id pointing at different collections share a React Query entry; with `refetchOnMount: false` the second shows the first's options. | Major | done | Fixed in `375939be2`. The referenced collection is already on the field, so `buildFieldFilters` passes `field.referenceMetadata.referencedCollectionId` — no resolver change. Name is now `reference-filter-<collectionId>-<fieldId>`; the field id stays so two fields on one collection keep fetching independently as today. Pinned by `referenceFilterQueryName` unit tests + an element-props test in `EditableTable.referenceFieldFilters.spec.tsx`. |
|
|
29
|
-
| 2 | [discussion_r3804846803](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846803) — `ReferenceFieldFilter.tsx:41` | `CollectionToolbarFilters.forceShowSidePanel` matches on `filter.type.displayName` against a fixed list including `MultiSelectCollectionFilter`. The wrapper has no `displayName`, so a reference filter among the first `inline` filters renders inline instead of forcing the side panel. | Major | done | Fixed in `2ff75d038`. The component declares `displayName = 'ReferenceFieldFilter'` and the detection array becomes a named export, `SIDE_PANEL_FILTER_DISPLAY_NAMES`, carrying it. Did **not** set the name to `'MultiSelectCollectionFilter'` as suggested — the component would then misreport itself in devtools and error traces to satisfy a string match. Pinned from both sides in `EditableTable.referenceFieldFilters.spec.tsx` ("toolbar placement"). See F1 below for the wider gap this uncovered. |
|
|
30
|
-
| 3 | [discussion_r3804846812](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846812) — `buildFieldFilters.tsx` | The reference branch omits `fieldType`, which every other generated field filter passes. Source-driven tables enable field-type icons, so the reference filter shows the generic fallback icon. | Minor | open | **Verified real** — the generic branch passes `fieldType={config.iconType?.(field) ?? toFieldType(field.type)}`; the reference branch passes none. Pass the same expression in the reference branch. |
|
|
31
|
-
| 4 | [discussion_r3804846821](https://github.com/wix-private/cairo/pull/5715#discussion_r3804846821) — `ReferenceFieldFilter.tsx:45` | Same cache-key collision as #1, with the added tenant/context angle: a shared cache could surface another collection's ids. | Major | done (collision) / open (tenant) | Collision fixed with #1 in `375939be2`. **The "clear or isolate the cache when that context changes" half is not addressed**: the cache lives in the container's QueryClient, so a tenant switch that replaces the container is already isolated — a deployment that keeps one container across tenants would need a broader fix than this component. |
|
|
32
|
-
| 5 | [discussion_r3811150592](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150592) — `ReferenceFieldFilter.tsx:3` | Blocker: the static `ReferenceAvatar` import from `@wix/patterns-fields` put that package in every Table/Grid's eager graph (~110kb), which is what `FieldCell.tsx`'s `lazyCell` exists to prevent. Bundle checks failing. | Blocker | done | Fixed in `4f86803c3` by injecting the component through `FieldsSourceComponents` instead of lazy-loading — the source supplies it, DataExtension supplies nothing. Measured `DataExtension.umd.min.js` 614,271 → 502,429 (master 502,008). All three bundle checks green; reviewer confirmed. |
|
|
33
|
-
| 6 | [discussion_r3811150602](https://github.com/wix-private/cairo/pull/5715#discussion_r3811150602) — `buildFieldFilters.tsx` | Blocker: same root cause from the builder side. Plus: Falcon reported `3 failed (1 new)` vs #5714's clean run — confirm the new failure isn't the map change flipping an expectation. | Blocker | done (bundle) / **open (Falcon)** | Bundle half fixed by `4f86803c3` — `buildFieldFilters` now holds a type-only import. **The Falcon failure is not yet confirmed either way**; reviewer's own guess is the perfer bundle check counted as a test, but that is unverified. Check the latest Falcon run on `4f86803c3`. |
|
|
34
|
-
|
|
35
|
-
## Non-blocking notes from the re-review summary
|
|
36
|
-
|
|
37
|
-
Not inline comments — no `comment_id`, so these are answered with a general PR comment.
|
|
38
|
-
|
|
39
|
-
| # | Description | Severity | Status | Resolution recommendation |
|
|
40
|
-
|---|---|---|---|---|
|
|
41
|
-
| N1 | The **schema** path now eagerly pulls the `@wix/patterns-fields` root barrel via `ReferenceAvatar` → `ReferenceFieldFilter` → `SchemaState`/`schemaRendering`. `ReferenceFieldCell.tsx`, twelve lines away, lazy-loads the same barrel with `lazyView` for exactly this reason. No bundle fixture covers the schema entry, so CI cannot see it. | Major (untested by CI) | open | The ~110kb moved rather than disappeared — it now lands on schema-source consumers. Copy `lazyView` into `ReferenceFieldFilter` (~3 lines). **Highest-value item here.** |
|
|
42
|
-
| N2 | The injected component is threaded as a 4th positional arg through four functions where it only acts as a truthiness flag, and is redundant with `config.referenceItems` (every source has both or neither). | Minor | open | Move the component onto `FieldFilterConfig` next to `referenceItems`: one parameter list, one source of truth. |
|
|
43
|
-
| N3 | `SchemaState.filterableFields` hardcodes the imported `ReferenceFieldFilter` while `buildFilters`/`registerFilters` read `components.ReferenceFieldFilter`. | Minor | open | Collapses into N2 — with the component on `FieldFilterConfig` there is only one place to read it. |
|
|
44
|
-
| N4 | Opening the Filters panel fires one referenced-collection query per reference field (`useCollectionFilterInitialFetchTiming` fetches on mount). | Minor | open | Pass `initialFetchTiming: 'focus'` to `MultiSelectCollectionFilter` to defer to first interaction. |
|
|
45
|
-
| N5 | `queryName` unique per field but not per collection. | Major | done | Closed by `375939be2` with #1/#4. |
|
|
46
|
-
| N6 | `_schemaOf` and `_request` both call `refSource.loadSchema()`; free while every `references` entry comes from `defineSchemaSource`, a double load for a hand-rolled `SchemaSource`. | Nit | open | Either route `_request` through `_schemaOf`, or document the memoization assumption at `itemsFetcherFor`. |
|
|
47
|
-
| N7 | `simplify` keeps only `{id, name}`, so a URL-restored filter shows options without images until the collection loads. | Nit | open | Cosmetic; likely dismiss. |
|
|
48
|
-
|
|
49
|
-
## Follow-ups found while resolving
|
|
50
|
-
|
|
51
|
-
| # | Description | Severity | Status |
|
|
52
|
-
|---|---|---|---|
|
|
53
|
-
| F1 | **`forceShowSidePanel` has never fired for any field filter.** It matches on `displayName`, and four of the five wrappers in `CustomFieldFilters/` declare none: `CheckboxCustomFieldFilter` (wraps `RadioGroupFilter`), `DateCustomFieldFilter` and `DateTimeCustomFieldFilter` (wrap `DateRangeFilter`), `HasValueCustomFieldFilter` (wraps `MultiInlineCheckboxFilter`). Only `OperatorFilterCustomFieldFilter` names itself, and its wrapped filter is correctly absent from the list. So DATE, DATETIME and BOOLEAN field filters have always rendered inline, and #5714 extended that to the 11 has-value types. | Major, pre-existing | open — **deliberately out of scope here** |
|
|
54
|
-
|
|
55
|
-
Fixing F1 is one line per wrapper, but it changes toolbar layout for existing
|
|
56
|
-
DATE / BOOLEAN / has-value filters — a visible behaviour change unrelated to
|
|
57
|
-
this PR, worth its own change and a look from someone who owns the layout. The
|
|
58
|
-
doc comment on `SIDE_PANEL_FILTER_DISPLAY_NAMES` names the trap so the next
|
|
59
|
-
wrapper author sees it.
|
|
60
|
-
|
|
61
|
-
## Suggested order
|
|
62
|
-
|
|
63
|
-
1. ~~**#1/#4/N5** — cache-key collision~~ — done, `375939be2`.
|
|
64
|
-
1. ~~**#2** — side-panel layout~~ — done, `2ff75d038`.
|
|
65
|
-
2. **N1** — the bundle cost that moved to the schema entry and that CI cannot
|
|
66
|
-
catch. Parked mid-change: the work is saved as a patch at
|
|
67
|
-
`scratchpad/N1-lazy-avatar.patch` (extracts `lazyView` from
|
|
68
|
-
`ReferenceFieldCell` into a shared `lazyPatternsFields` helper and uses it
|
|
69
|
-
for `ReferenceAvatar`). Apply with `git apply` to resume.
|
|
70
|
-
3. **#3** — field-type icon.
|
|
71
|
-
4. **N2/N3** — parameter-threading cleanup.
|
|
72
|
-
5. **#6 Falcon** — confirm the failing test.
|
|
73
|
-
6. **N4**, then **N6/N7**. **F1** separately.
|