slice-machine-ui 1.26.1-beta.11 → 1.26.1-beta.12
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/out/404.html +1 -1
- package/out/_next/static/chunks/{183-ebd633fed7c74545.js → 183-6ad5c4eb28d4b155.js} +1 -1
- package/out/_next/static/chunks/207-f71df53ed0b0ac4d.js +1 -0
- package/out/_next/static/chunks/453-1a14e86de385fe7c.js +1 -0
- package/out/_next/static/chunks/614-af117b661cd3429a.js +1 -0
- package/out/_next/static/chunks/90-2d4bdae13d031364.js +1 -0
- package/out/_next/static/chunks/91-1c3665ce38e58792.js +1 -0
- package/out/_next/static/chunks/96-33e38032f1e55366.js +1 -0
- package/out/_next/static/chunks/pages/{_app-6177e3581af44083.js → _app-01bcd29a595cec3a.js} +2 -2
- package/out/_next/static/chunks/pages/changelog-ac1004bdd31d17f8.js +1 -0
- package/out/_next/static/chunks/pages/changes-5c4bd80747884a8c.js +1 -0
- package/out/_next/static/chunks/pages/custom-types/[customTypeId]-8bcc4d88f470d3f7.js +1 -0
- package/out/_next/static/chunks/pages/{custom-types-3c8e721ec6802127.js → custom-types-75e8eddec659f440.js} +1 -1
- package/out/_next/static/chunks/pages/index-16754a04037cf9c1.js +1 -0
- package/out/_next/static/chunks/pages/labs-d6f2feb6720ee64c.js +1 -0
- package/out/_next/static/chunks/pages/page-types/[pageTypeId]-8461ab4fcfaf0755.js +1 -0
- package/out/_next/static/chunks/pages/settings-7ad1540dc0af794d.js +1 -0
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-9941e7eeb9d4d084.js +1 -0
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-217d0b0469d4320e.js +1 -0
- package/out/_next/static/chunks/pages/slices-801310de228fd05e.js +1 -0
- package/out/_next/static/css/17da9daaa8986410.css +1 -0
- package/out/_next/static/css/{27f2b9b9c9f65885.css → 663a1bac4ce890da.css} +1 -1
- package/out/_next/static/css/c36992b18975f9b9.css +1 -0
- package/out/_next/static/css/{243a4d347efcfd53.css → df904982b9637c1a.css} +1 -1
- package/out/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js +1 -0
- package/out/changelog.html +1 -1
- package/out/changes.html +1 -1
- package/out/custom-types/[customTypeId].html +1 -1
- package/out/custom-types.html +1 -1
- package/out/index.html +1 -1
- package/out/labs.html +1 -1
- package/out/page-types/[pageTypeId].html +1 -1
- package/out/settings.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
- package/out/slices.html +1 -1
- package/package.json +3 -3
- package/sentry.client.config.ts +2 -1
- package/src/ErrorBoundary.tsx +2 -1
- package/src/apiClient.ts +12 -7
- package/src/components/Card/Card.stories.tsx +4 -3
- package/src/components/CodeBlock/CodeBlock.tsx +6 -5
- package/src/components/Count/Count.tsx +2 -1
- package/src/components/HoverCard/HoverCard.tsx +3 -2
- package/src/components/SideNav/SideNav.stories.tsx +3 -2
- package/src/components/SideNav/SideNav.tsx +3 -2
- package/src/components/SideNav/SideNavEnvironmentSelector.tsx +3 -2
- package/src/components/Table/Table.test.tsx +4 -3
- package/src/domain/__tests__/slice.test.ts +3 -2
- package/src/domain/slice.ts +7 -3
- package/src/features/autoSave/AutoSaveStatusIndicator.tsx +2 -1
- package/src/features/changelog/useSliceMachineLatestNonBreakingVersion.ts +2 -1
- package/src/features/changelog/useSliceMachineReleaseNotes.ts +2 -1
- package/src/features/changelog/useSliceMachineVersions.ts +2 -1
- package/src/features/changes/BlankSlates/NoChangesBlankSlate.tsx +9 -8
- package/src/features/changes/PushChangesButton.tsx +5 -4
- package/src/features/changes/StatusBadge.tsx +3 -2
- package/src/features/customTypes/EditDropdown.tsx +4 -3
- package/src/features/customTypes/PageTypeOnboarding.tsx +4 -3
- package/src/features/customTypes/__tests__/CustomTypeBuilderPage.test.tsx +5 -4
- package/src/features/customTypes/__tests__/CustomTypesTablePage.test.tsx +5 -4
- package/src/features/customTypes/actions/convertCustomToPageType.ts +3 -2
- package/src/features/customTypes/actions/createCustomType.ts +4 -3
- package/src/features/customTypes/actions/deleteCustomType.ts +2 -1
- package/src/features/customTypes/actions/renameCustomType.ts +2 -1
- package/src/features/customTypes/customTypesBuilder/CustomTypeProvider.tsx +6 -5
- package/src/features/customTypes/customTypesBuilder/CustomTypesBuilderPage.tsx +21 -17
- package/src/features/customTypes/customTypesBuilder/PageSnippetDialog/PageSnippetDialog.tsx +7 -6
- package/src/features/customTypes/customTypesBuilder/SliceZoneBlankSlate.tsx +4 -3
- package/src/features/customTypes/customTypesBuilder/useCustomType.ts +2 -1
- package/src/features/customTypes/customTypesConfig.ts +3 -2
- package/src/features/customTypes/customTypesTable/CustomTypesTable.tsx +8 -7
- package/src/features/customTypes/customTypesTable/CustomTypesTablePage.tsx +12 -11
- package/src/features/customTypes/customTypesTable/useCustomTypes.ts +6 -5
- package/src/features/documentation/MarkdownRenderer/index.tsx +4 -3
- package/src/features/documentation/useDocumentation.ts +2 -1
- package/src/features/environments/actions/getActiveEnvironment.ts +2 -1
- package/src/features/environments/actions/getEnvironments.ts +1 -1
- package/src/features/environments/actions/setEnvironment.ts +3 -2
- package/src/features/inAppGuide/InAppGuideContext.tsx +2 -1
- package/src/features/inAppGuide/InAppGuideDialog.tsx +4 -3
- package/src/features/inAppGuide/inAppGuideContent.tsx +2 -1
- package/src/features/labs/labsList/LabsPage.tsx +7 -6
- package/src/features/labs/labsList/useLab.tsx +2 -1
- package/src/features/settings/SettingsPage.tsx +9 -8
- package/src/features/settings/git/ConnectGitRepository.tsx +11 -10
- package/src/features/settings/git/GitOwnerSelect.tsx +2 -1
- package/src/features/settings/git/GitProvider.ts +5 -4
- package/src/features/settings/git/GitProviderConnectButtons.tsx +2 -1
- package/src/features/settings/git/GitRepositoriesList.tsx +6 -5
- package/src/features/settings/git/GitRepositoriesSearch.tsx +7 -6
- package/src/features/settings/git/GitRepositoryConnectDialog.tsx +4 -3
- package/src/features/settings/git/useGitIntegrationExperiment.ts +1 -1
- package/src/features/settings/git/useGitOwners.ts +2 -1
- package/src/features/settings/git/useGitRepos.ts +2 -1
- package/src/features/settings/git/useLinkedGitRepos.ts +3 -2
- package/src/features/settings/git/useWriteAPIToken.ts +3 -2
- package/src/features/slices/actions/addSlicesToSliceZone.ts +3 -2
- package/src/features/slices/actions/createSlice.ts +5 -4
- package/src/features/slices/actions/deleteSlice.ts +2 -1
- package/src/features/slices/actions/renameSlice.ts +5 -4
- package/src/features/slices/actions/uploadSliceScreenshot.ts +3 -2
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewSliceDialog.tsx +5 -4
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceAsNewVariationDialog.tsx +2 -1
- package/src/features/slices/convertLegacySlice/ConvertLegacySliceButton.tsx +10 -9
- package/src/features/slices/convertLegacySlice/types.ts +2 -2
- package/src/features/slices/sliceBuilder/FloatingBackButton.tsx +9 -8
- package/src/features/slices/sliceBuilder/SliceBuilderProvider.tsx +7 -6
- package/src/features/slices/sliceBuilder/actions/deleteVariation.ts +7 -6
- package/src/features/slices/sliceBuilder/actions/renameVariation.ts +5 -4
- package/src/features/slices/sliceBuilder/useGroupsInSlicesExperiment.ts +1 -1
- package/src/features/slices/sliceCards/NonSharedSliceCard.tsx +5 -4
- package/src/features/slices/sliceCards/SharedSliceCard.tsx +9 -8
- package/src/features/slicesTemplates/actions/createSlicesTemplates.ts +3 -2
- package/src/features/slicesTemplates/useSlicesTemplates.ts +2 -1
- package/src/features/sync/AutoSyncProvider.tsx +10 -9
- package/src/features/sync/actions/pushChanges.ts +4 -3
- package/src/features/sync/actions/trackPushChangesSuccess.ts +3 -3
- package/src/features/sync/components/AutoSyncStatusIndicator.tsx +4 -3
- package/src/features/sync/fetchUnSyncChanges.ts +4 -4
- package/src/features/sync/getUnSyncChanges.ts +5 -5
- package/src/features/sync/useUnSyncChanges.ts +5 -4
- package/src/hooks/useAdapterName.ts +2 -1
- package/src/hooks/useAuthStatus.ts +3 -2
- package/src/hooks/useCurrentSlice.tsx +5 -4
- package/src/hooks/useEditorContent.ts +4 -3
- package/src/hooks/useExperimentVariant.ts +2 -1
- package/src/hooks/useIsEmptyProject.ts +2 -1
- package/src/hooks/useRepositoryInformation.ts +3 -2
- package/src/hooks/useSMTracker.ts +5 -4
- package/src/hooks/useScreenshotChangesModal.ts +4 -3
- package/src/hooks/useServerState.ts +4 -3
- package/src/hooks/useSliceMachineConfig.ts +2 -1
- package/src/hooks/useSliceMachineRunningVersion.ts +2 -1
- package/src/hooks/useUpdateAvailable.ts +2 -1
- package/{components → src/legacy/components}/App/index.tsx +9 -8
- package/{components → src/legacy/components}/AppLayout/index.tsx +8 -7
- package/{components → src/legacy/components}/Changelog/index.tsx +5 -4
- package/{components → src/legacy/components}/Changelog/navigation/index.tsx +5 -4
- package/{components → src/legacy/components}/Changelog/versionDetails/UpdateCommandBox.tsx +5 -4
- package/{components → src/legacy/components}/Changelog/versionDetails/index.tsx +2 -1
- package/{components → src/legacy/components}/ChangesEmptyState/AuthErrorPage.tsx +3 -2
- package/{components → src/legacy/components}/ChangesItems/ChangesItems.tsx +14 -13
- package/{components → src/legacy/components}/ChangesItems/DevCollaborationExperiment.tsx +3 -2
- package/{components → src/legacy/components}/CodeBlock/index.tsx +2 -1
- package/{components → src/legacy/components}/ConfigErrors/index.jsx +3 -2
- package/{components → src/legacy/components}/CustomTypeTable/changesPage.tsx +11 -10
- package/{components → src/legacy/components}/DeleteCTModal/index.tsx +7 -6
- package/{components → src/legacy/components}/DeleteDocumentsDrawer/AssociatedDocumentsCard.tsx +3 -2
- package/{components → src/legacy/components}/DeleteDocumentsDrawer/HardDeleteDocumentsDrawer.tsx +6 -5
- package/{components → src/legacy/components}/DeleteDocumentsDrawer/SoftDeleteDocumentsDrawer.tsx +6 -5
- package/{components → src/legacy/components}/DeleteSliceModal/index.tsx +7 -6
- package/{components → src/legacy/components}/DeleteVariationModal/index.tsx +6 -5
- package/{components → src/legacy/components}/EmptyState/index.tsx +2 -1
- package/{components → src/legacy/components}/FormFields/Input.tsx +2 -1
- package/{components → src/legacy/components}/Forms/CreateCustomTypeModal/CreateCustomTypeModal.tsx +17 -16
- package/{components → src/legacy/components}/Forms/CreateSliceModal/CreateSliceModal.tsx +8 -7
- package/{components → src/legacy/components}/Forms/RenameCustomTypeModal/RenameCustomTypeModal.tsx +7 -6
- package/{components → src/legacy/components}/Forms/RenameSliceModal/RenameSliceModal.tsx +7 -6
- package/src/legacy/components/Forms/RenameVariationModal/RenameVariationModal.module.css.d.ts +5 -0
- package/{components → src/legacy/components}/Forms/RenameVariationModal/RenameVariationModal.tsx +6 -5
- package/{components → src/legacy/components}/Forms/components/SelectRepeatable.tsx +2 -1
- package/{components → src/legacy/components}/Forms/formsValidator.ts +4 -3
- package/{components → src/legacy/components}/ListItem/Header.tsx +2 -1
- package/{components → src/legacy/components}/ListItem/index.tsx +3 -2
- package/{components → src/legacy/components}/LoginModal/index.tsx +20 -19
- package/{components → src/legacy/components}/ModalFormCard/index.tsx +3 -2
- package/{components → src/legacy/components}/Navigation/ChangesItem.tsx +12 -11
- package/{components → src/legacy/components}/Navigation/Environment.tsx +13 -12
- package/{components → src/legacy/components}/Navigation/RunningVersion.tsx +3 -2
- package/{components → src/legacy/components}/Navigation/UpdateBox.tsx +3 -2
- package/src/legacy/components/Navigation/VideoItem.module.css.d.ts +5 -0
- package/{components → src/legacy/components}/Navigation/VideoItem.tsx +15 -14
- package/src/legacy/components/Navigation/index.module.css.d.ts +5 -0
- package/{components → src/legacy/components}/Navigation/index.test.tsx +7 -9
- package/{components → src/legacy/components}/Navigation/index.tsx +21 -20
- package/{components → src/legacy/components}/ReviewModal/ReviewForm.tsx +10 -9
- package/{components → src/legacy/components}/ReviewModal/ReviewModal.tsx +7 -6
- package/{components → src/legacy/components}/ScreenshotChangesModal/VariationDropZone.tsx +6 -5
- package/{components → src/legacy/components}/ScreenshotChangesModal/index.tsx +11 -10
- package/{components → src/legacy/components}/ScreenshotChangesModal/useCustomScreenshot.tsx +2 -1
- package/{components → src/legacy/components}/ScreenshotPreviewModal/index.tsx +8 -7
- package/{components → src/legacy/components}/Simulator/components/FailedConnect/index.tsx +2 -1
- package/{components → src/legacy/components}/Simulator/components/Header/VariationsPopover/MenuList.tsx +2 -1
- package/{components → src/legacy/components}/Simulator/components/Header/VariationsPopover/index.tsx +2 -1
- package/{components → src/legacy/components}/Simulator/components/Header/index.tsx +7 -6
- package/{components → src/legacy/components}/Simulator/components/IframeRenderer/index.tsx +3 -2
- package/{components → src/legacy/components}/Simulator/components/Toolbar/ScreensizeInput/index.tsx +2 -1
- package/{components → src/legacy/components}/Simulator/components/Toolbar/index.tsx +3 -2
- package/{components → src/legacy/components}/Simulator/index.tsx +12 -11
- package/{components → src/legacy/components}/SliceMachineDrawer/index.tsx +2 -1
- package/{components → src/legacy/components}/Tooltip/TextWithTooltip.tsx +2 -1
- package/{components → src/legacy/components}/Tooltip/index.jsx +2 -1
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/DeleteSliceZoneModal.tsx +4 -3
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/List.tsx +11 -10
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/SlicesTemplatesModal.tsx +10 -9
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/UpdateSliceZoneModal.tsx +3 -2
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/UpdateSliceZoneModalList.tsx +4 -3
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/index.tsx +23 -19
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/SliceZone/sliceTemplatesComingSoon.ts +1 -1
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/TabModal/create.tsx +2 -1
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/TabModal/delete.tsx +1 -1
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/TabModal/update.tsx +2 -1
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/TabZone/index.tsx +25 -21
- package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/index.tsx +7 -6
- package/{lib → src/legacy/lib}/builders/SliceBuilder/FieldZones/index.tsx +17 -16
- package/{lib → src/legacy/lib}/builders/SliceBuilder/Sidebar/AddVariationModal.tsx +4 -3
- package/{lib → src/legacy/lib}/builders/SliceBuilder/Sidebar/index.tsx +13 -12
- package/{lib → src/legacy/lib}/builders/SliceBuilder/SimulatorButton/index.tsx +15 -11
- package/{lib → src/legacy/lib}/builders/SliceBuilder/index.tsx +9 -8
- package/{lib → src/legacy/lib}/builders/common/EditModal/Field.jsx +2 -1
- package/{lib → src/legacy/lib}/builders/common/EditModal/index.jsx +12 -8
- package/{lib → src/legacy/lib}/builders/common/SelectFieldTypeModal/index.jsx +4 -3
- package/{lib → src/legacy/lib}/builders/common/Zone/Card/components/ErrorTooltip.tsx +2 -1
- package/{lib → src/legacy/lib}/builders/common/Zone/Card/components/Hints/CodeBlock.tsx +2 -1
- package/{lib → src/legacy/lib}/builders/common/Zone/Card/components/Hints/index.tsx +2 -1
- package/{lib → src/legacy/lib}/builders/common/Zone/Card/components/NewField.tsx +14 -10
- package/{lib → src/legacy/lib}/builders/common/Zone/Card/index.jsx +4 -3
- package/{lib → src/legacy/lib}/builders/common/Zone/index.jsx +3 -2
- package/{lib → src/legacy/lib}/builders/utils/index.ts +1 -1
- package/{lib → src/legacy/lib}/models/common/DeprecatedMockConfigMessage.tsx +2 -1
- package/{lib → src/legacy/lib}/models/common/ModelData.ts +3 -3
- package/{lib → src/legacy/lib}/models/common/ModelStatus/index.ts +2 -2
- package/{lib → src/legacy/lib}/models/common/normalizers/customType.ts +2 -2
- package/{lib → src/legacy/lib}/models/common/normalizers/slices.ts +2 -2
- package/{lib → src/legacy/lib}/models/common/widgets/ContentRelationship/Form.tsx +6 -5
- package/{lib → src/legacy/lib}/models/common/widgets/ContentRelationship/index.ts +3 -2
- package/{lib → src/legacy/lib}/models/common/widgets/Group/Form.jsx +6 -5
- package/{lib → src/legacy/lib}/models/common/widgets/Group/ListItem/index.jsx +22 -18
- package/{lib → src/legacy/lib}/models/common/widgets/Group/index.ts +2 -1
- package/{lib → src/legacy/lib}/models/common/widgets/Image/Form.tsx +6 -5
- package/{lib → src/legacy/lib}/models/common/widgets/Image/components.tsx +5 -4
- package/{lib → src/legacy/lib}/models/common/widgets/Link/Form.jsx +5 -5
- package/{lib → src/legacy/lib}/models/common/widgets/LinkToMedia/Form.jsx +4 -4
- package/{lib → src/legacy/lib}/models/common/widgets/LinkToMedia/index.ts +2 -1
- package/{lib → src/legacy/lib}/models/common/widgets/Select/FormFields.jsx +6 -5
- package/{lib → src/legacy/lib}/models/common/widgets/StructuredText/Form.tsx +7 -6
- package/{lib → src/legacy/lib}/models/common/widgets/Widget.ts +2 -1
- package/{lib → src/legacy/lib}/models/server/ServerState.ts +2 -2
- package/{lib → src/legacy/lib}/utils/shared/customTypes.ts +1 -1
- package/src/modules/availableCustomTypes/index.ts +10 -9
- package/src/modules/availableCustomTypes/types.ts +2 -2
- package/src/modules/environment/index.ts +7 -6
- package/src/modules/environment/types.ts +1 -1
- package/src/modules/modal/index.ts +2 -1
- package/src/modules/slices/index.ts +12 -8
- package/src/modules/slices/selector.ts +1 -1
- package/src/modules/slices/types.ts +2 -2
- package/src/modules/useSliceMachineActions.ts +10 -6
- package/src/modules/userContext/index.ts +6 -5
- package/{pages → src/pages}/_app.tsx +22 -22
- package/{pages → src/pages}/changelog.tsx +2 -1
- package/{pages → src/pages}/changes.tsx +25 -21
- package/src/pages/custom-types/[customTypeId].tsx +1 -0
- package/{pages → src/pages}/custom-types.tsx +2 -1
- package/{pages → src/pages}/index.tsx +4 -3
- package/src/pages/labs.tsx +1 -0
- package/src/pages/page-types/[pageTypeId].tsx +1 -0
- package/src/pages/settings.tsx +1 -0
- package/{pages → src/pages}/slices/[lib]/[sliceName]/[variation]/index.tsx +4 -3
- package/{pages → src/pages}/slices/[lib]/[sliceName]/[variation]/simulator.tsx +3 -2
- package/{pages → src/pages}/slices.tsx +24 -23
- package/src/redux/reducer.ts +7 -6
- package/src/redux/store.ts +2 -1
- package/src/redux/type.ts +7 -6
- package/test/__setup__.ts +10 -8
- package/test/__testutils__/createTestPlugin.ts +3 -2
- package/test/__testutils__/createTestProject.ts +5 -4
- package/test/__testutils__/index.tsx +6 -5
- package/test/__testutils__/mockAWSACLAPI.ts +1 -1
- package/test/__testutils__/mockCustomTypesAPI.ts +1 -1
- package/test/__testutils__/mockPrismicAuthAPI.ts +1 -1
- package/test/__testutils__/mockPrismicUserAPI.ts +2 -3
- package/test/__testutils__/readMSWFormData.ts +1 -1
- package/test/components/IframeRenderer.test.ts +3 -2
- package/test/lib/builders/EditModal.test.tsx +5 -3
- package/test/lib/builders/buildersUtils.test.ts +3 -3
- package/test/lib/consts.test.ts +6 -2
- package/test/lib/models/common/CustomType.test.ts +6 -2
- package/test/lib/models/common/ModelStatus.test.ts +6 -4
- package/test/lib/models/common/Slice.test.ts +3 -2
- package/test/lib/models/common/widgets/index.test.ts +8 -4
- package/test/lib/utils/index.test.ts +3 -2
- package/test/lib/utils/preferWroomBase.test.ts +3 -2
- package/test/lib/utils/shared/customTypes.test.ts +2 -1
- package/test/pages/slices.test.tsx +10 -10
- package/test/src/modules/__fixtures__/serverState.ts +1 -1
- package/test/src/modules/__fixtures__/sliceUtilsFactory.ts +3 -3
- package/test/src/modules/availableCustomTypes/index.test.ts +3 -3
- package/test/src/modules/environment.test.ts +3 -5
- package/test/src/modules/loading.test.ts +3 -3
- package/test/src/modules/modal.test.ts +5 -5
- package/test/src/modules/slices.test.ts +3 -2
- package/test/src/modules/userContext.test.ts +3 -3
- package/test/src/normalizers/customType.test.ts +16 -3
- package/test/src/utils/fieldNameCreator.test.ts +1 -1
- package/tsconfig.json +1 -6
- package/vite.config.ts +1 -7
- package/out/_next/static/6WrgMw0SELcypoJCYNiKd/_buildManifest.js +0 -1
- package/out/_next/static/chunks/25-607d5cfe6492f4e8.js +0 -1
- package/out/_next/static/chunks/286-6ee80333008646b9.js +0 -1
- package/out/_next/static/chunks/318-c84322cba57be932.js +0 -1
- package/out/_next/static/chunks/382-8194eab141c7ea2f.js +0 -1
- package/out/_next/static/chunks/727-b53258380c1a11f1.js +0 -1
- package/out/_next/static/chunks/799-68887319f3169f78.js +0 -1
- package/out/_next/static/chunks/pages/changelog-2d061c06b2b82e28.js +0 -1
- package/out/_next/static/chunks/pages/changes-cde59d56dc849106.js +0 -1
- package/out/_next/static/chunks/pages/custom-types/[customTypeId]-89ccb93ce7409ad0.js +0 -1
- package/out/_next/static/chunks/pages/index-b5817351a77c6d40.js +0 -1
- package/out/_next/static/chunks/pages/labs-0fc7d01b8c9bfc2a.js +0 -1
- package/out/_next/static/chunks/pages/page-types/[pageTypeId]-dbf86fe3a94dc892.js +0 -1
- package/out/_next/static/chunks/pages/settings-897ad13a08f73048.js +0 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-ed3157875529f0f2.js +0 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-69cf4b12bb354f9f.js +0 -1
- package/out/_next/static/chunks/pages/slices-391f6c4b30af0759.js +0 -1
- package/out/_next/static/css/0e0d6c4ec6bf7373.css +0 -1
- package/out/_next/static/css/f8eb526e10bc2441.css +0 -1
- package/pages/custom-types/[customTypeId].tsx +0 -1
- package/pages/labs.tsx +0 -1
- package/pages/page-types/[pageTypeId].tsx +0 -1
- package/pages/settings.tsx +0 -1
- /package/out/_next/static/{6WrgMw0SELcypoJCYNiKd → svF8JPCb25QlsmymuzIiN}/_ssgManifest.js +0 -0
- /package/{components → src/legacy/components}/AuthInstructions/index.jsx +0 -0
- /package/{components → src/legacy/components}/Button/index.tsx +0 -0
- /package/{components → src/legacy/components}/Card/CardBox.tsx +0 -0
- /package/{components → src/legacy/components}/Card/Default.jsx +0 -0
- /package/{components → src/legacy/components}/Card/Preview.jsx +0 -0
- /package/{components → src/legacy/components}/Card/WithTabs/components.jsx +0 -0
- /package/{components → src/legacy/components}/Card/WithTabs/index.jsx +0 -0
- /package/{components → src/legacy/components}/Card/index.tsx +0 -0
- /package/{components → src/legacy/components}/Changelog/navigation/VersionBadge.tsx +0 -0
- /package/{components → src/legacy/components}/Changelog/navigation/VersionTag.tsx +0 -0
- /package/{components → src/legacy/components}/Changelog/versionDetails/ReleaseNotesDetails.tsx +0 -0
- /package/{components → src/legacy/components}/Changelog/versionDetails/VersionKindLabel.tsx +0 -0
- /package/{components → src/legacy/components}/ChangesEmptyState/OfflinePage.tsx +0 -0
- /package/{components → src/legacy/components}/ChangesEmptyState/index.ts +0 -0
- /package/{components → src/legacy/components}/ChangesItems/ErrorBanner.tsx +0 -0
- /package/{components → src/legacy/components}/ChangesItems/index.ts +0 -0
- /package/{components → src/legacy/components}/ChangesSectionHeader/ChangesSectionHeader.tsx +0 -0
- /package/{components → src/legacy/components}/ChangesSectionHeader/index.ts +0 -0
- /package/{components → src/legacy/components}/DeleteDocumentsDrawer/index.tsx +0 -0
- /package/{components → src/legacy/components}/DropDownSelector/MenuList.tsx +0 -0
- /package/{components → src/legacy/components}/DropDownSelector/index.tsx +0 -0
- /package/{components → src/legacy/components}/Flex/index.tsx +0 -0
- /package/{components → src/legacy/components}/FormFields/Array.jsx +0 -0
- /package/{components → src/legacy/components}/FormFields/Checkbox.jsx +0 -0
- /package/{components → src/legacy/components}/FormFields/CheckboxControl.jsx +0 -0
- /package/{components → src/legacy/components}/FormFields/SelectDefaultValue.jsx +0 -0
- /package/{components → src/legacy/components}/FormFields/index.ts +0 -0
- /package/{components → src/legacy/components}/Forms/CreateCustomTypeModal/index.tsx +0 -0
- /package/{components → src/legacy/components}/Forms/CreateSliceModal/index.tsx +0 -0
- /package/{components → src/legacy/components}/Forms/RenameCustomTypeModal/index.ts +0 -0
- /package/{components → src/legacy/components}/Forms/RenameSliceModal/index.ts +0 -0
- /package/{components → src/legacy/components}/Forms/RenameVariationModal/RenameVariationModal.module.css +0 -0
- /package/{components → src/legacy/components}/Forms/RenameVariationModal/index.ts +0 -0
- /package/{components → src/legacy/components}/Forms/components/FlexCard.tsx +0 -0
- /package/{components → src/legacy/components}/Forms/components/InputBox.tsx +0 -0
- /package/{components → src/legacy/components}/Forms/formsTypes.ts +0 -0
- /package/{components → src/legacy/components}/FullPage/index.tsx +0 -0
- /package/{components → src/legacy/components}/Grid/index.tsx +0 -0
- /package/{components → src/legacy/components}/InputDeleteIcon/index.jsx +0 -0
- /package/{components → src/legacy/components}/ItemHeader/index.tsx +0 -0
- /package/{components → src/legacy/components}/Li/index.tsx +0 -0
- /package/{components → src/legacy/components}/ListItem/utils.js +0 -0
- /package/{components → src/legacy/components}/LoadingPage/index.tsx +0 -0
- /package/{components → src/legacy/components}/MissingLibraries/index.tsx +0 -0
- /package/{components → src/legacy/components}/Navigation/VideoItem.module.css +0 -0
- /package/{components → src/legacy/components}/Navigation/index.module.css +0 -0
- /package/{components → src/legacy/components}/ReactTooltipPortal/index.tsx +0 -0
- /package/{components → src/legacy/components}/ReviewModal/ReviewFormSelect.tsx +0 -0
- /package/{components → src/legacy/components}/ReviewModal/index.ts +0 -0
- /package/{components → src/legacy/components}/ScreenshotPreview/index.tsx +0 -0
- /package/{components → src/legacy/components}/Simulator/components/FullPage/index.tsx +0 -0
- /package/{components → src/legacy/components}/Simulator/components/Header/links.ts +0 -0
- /package/{components → src/legacy/components}/SliceMachineIconButton/index.tsx +0 -0
- /package/{components → src/legacy/components}/SliceMachineModal/index.tsx +0 -0
- /package/{components → src/legacy/components}/ToasterContainer/index.tsx +0 -0
- /package/{components → src/legacy/components}/Warnings/index.jsx +0 -0
- /package/{components → src/legacy/components}/WindowPortal/index.js +0 -0
- /package/{components → src/legacy/components}/YoutubeEmbed/index.tsx +0 -0
- /package/{lib → src/legacy/lib}/builders/CustomTypeBuilder/TabModal/InputBox.tsx +0 -0
- /package/{lib → src/legacy/lib}/builders/common/EditModal/Form.jsx +0 -0
- /package/{lib → src/legacy/lib}/builders/common/SelectFieldTypeModal/FieldTypeCard.jsx +0 -0
- /package/{lib → src/legacy/lib}/builders/common/Zone/Card/components/EditItem.jsx +0 -0
- /package/{lib → src/legacy/lib}/builders/common/Zone/components/EmptyState/index.tsx +0 -0
- /package/{lib → src/legacy/lib}/consts.ts +0 -0
- /package/{lib → src/legacy/lib}/env/sentry.ts +0 -0
- /package/{lib → src/legacy/lib}/forms/defaults.ts +0 -0
- /package/{lib → src/legacy/lib}/forms/fields.ts +0 -0
- /package/{lib → src/legacy/lib}/forms/index.ts +0 -0
- /package/{lib → src/legacy/lib}/forms/types.ts +0 -0
- /package/{lib → src/legacy/lib}/hljs/svelte.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Auth.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/ComponentUI.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/CustomType/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/CustomType/sliceZone.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/CustomType/tab.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Environment.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/ErrorWithStatus.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Fields.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Group.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Library.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/LibraryUI.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Manifest.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/ModelStatus/compareCustomTypeModels.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/ModelStatus/compareSliceModels.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/PrismicData.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/PrismicFile.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Screenshots.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Simulator.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Slice.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Slices.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/UserProfile.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/Warning.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Boolean/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Color/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Date/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Embed/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/GeoPoint/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Image/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Link/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Number/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Select/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/StructuredText/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/StructuredText/options.tsx +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Text/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/Timestamp/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/UID/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/ctBuilderArray.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/index.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/sliceBuilderArray.ts +0 -0
- /package/{lib → src/legacy/lib}/models/common/widgets/withGroup.ts +0 -0
- /package/{lib → src/legacy/lib}/prismic/endpoints.ts +0 -0
- /package/{lib → src/legacy/lib}/utils/index.ts +0 -0
- /package/{lib → src/legacy/lib}/utils/poll.ts +0 -0
- /package/{lib → src/legacy/lib}/utils/preferWroomBase.ts +0 -0
- /package/{lib → src/legacy/lib}/utils/repo.ts +0 -0
- /package/{lib → src/legacy/lib}/utils/str.ts +0 -0
- /package/{pages → src/pages}/api/embed.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,d,n,b,u,f,h,l,k,j,p,g,o,r){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[a,j,p,"static/chunks/pages/index-16754a04037cf9c1.js"],"/_error":["static/chunks/pages/_error-69b4f498bafdd188.js"],"/changelog":[s,e,"static/chunks/870-0c7a8a9622de78b7.js","static/chunks/pages/changelog-ac1004bdd31d17f8.js"],"/changes":[s,t,"static/chunks/8eec4907-b712959d9f984b68.js",i,"static/chunks/918-5bb55fb464e34768.js",c,n,"static/css/c36992b18975f9b9.css","static/chunks/pages/changes-5c4bd80747884a8c.js"],"/custom-types":[a,j,p,"static/chunks/pages/custom-types-75e8eddec659f440.js"],"/custom-types/[customTypeId]":[s,b,u,f,h,e,d,i,l,g,c,a,k,o,r,"static/chunks/pages/custom-types/[customTypeId]-8bcc4d88f470d3f7.js"],"/labs":["static/chunks/pages/labs-d6f2feb6720ee64c.js"],"/page-types/[pageTypeId]":[s,b,u,f,h,e,d,i,l,g,c,a,k,o,r,"static/chunks/pages/page-types/[pageTypeId]-8461ab4fcfaf0755.js"],"/settings":["static/css/ca32882a5d2d8d88.css","static/chunks/pages/settings-7ad1540dc0af794d.js"],"/slices":[s,t,d,c,n,"static/css/17da9daaa8986410.css","static/chunks/pages/slices-801310de228fd05e.js"],"/slices/[lib]/[sliceName]/[variation]":[s,t,b,u,f,h,e,d,i,l,c,k,n,"static/css/663a1bac4ce890da.css","static/chunks/pages/slices/[lib]/[sliceName]/[variation]-217d0b0469d4320e.js"],"/slices/[lib]/[sliceName]/[variation]/simulator":[t,"static/chunks/72585f70-28b4d7d5384b3703.js","static/chunks/18539003-a5a5d48f20a7b261.js","static/chunks/46-d22d7a121254e31d.js","static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-9941e7eeb9d4d084.js"],sortedPages:["/","/_app","/_error","/changelog","/changes","/custom-types","/custom-types/[customTypeId]","/labs","/page-types/[pageTypeId]","/settings","/slices","/slices/[lib]/[sliceName]/[variation]","/slices/[lib]/[sliceName]/[variation]/simulator"]}}("static/chunks/59b4e022-7a3b5554b806349f.js","static/chunks/614-af117b661cd3429a.js","static/chunks/453-1a14e86de385fe7c.js","static/chunks/183-6ad5c4eb28d4b155.js","static/chunks/c8eae200-966ce352f7b5d2b9.js","static/chunks/543-f8766685f7f451e2.js","static/chunks/50-cfc2514205b86001.js","static/chunks/90-2d4bdae13d031364.js","static/chunks/f36c6662-03bb5e9d9aa0b0aa.js","static/chunks/4c744e84-e3161d754618373f.js","static/chunks/065a3ddb-9a38ca0d60f0bf2f.js","static/chunks/1cc2734a-2c5b6c0367fcde86.js","static/chunks/696-b992b9e1ce75777e.js","static/chunks/96-33e38032f1e55366.js","static/chunks/91-1c3665ce38e58792.js","static/css/70e3649c6ba13fdc.css","static/chunks/210-aee6116139329803.js","static/chunks/207-f71df53ed0b0ac4d.js","static/css/6e65ff596e3b465e.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
package/out/changelog.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/183-6ad5c4eb28d4b155.js" defer=""></script><script src="/_next/static/chunks/870-0c7a8a9622de78b7.js" defer=""></script><script src="/_next/static/chunks/pages/changelog-ac1004bdd31d17f8.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changelog","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/changes.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/c36992b18975f9b9.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c36992b18975f9b9.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/8eec4907-b712959d9f984b68.js" defer=""></script><script src="/_next/static/chunks/543-f8766685f7f451e2.js" defer=""></script><script src="/_next/static/chunks/918-5bb55fb464e34768.js" defer=""></script><script src="/_next/static/chunks/614-af117b661cd3429a.js" defer=""></script><script src="/_next/static/chunks/90-2d4bdae13d031364.js" defer=""></script><script src="/_next/static/chunks/pages/changes-5c4bd80747884a8c.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changes","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/6e65ff596e3b465e.css" as="style"/><link rel="stylesheet" href="/_next/static/css/6e65ff596e3b465e.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/f36c6662-03bb5e9d9aa0b0aa.js" defer=""></script><script src="/_next/static/chunks/4c744e84-e3161d754618373f.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-2c5b6c0367fcde86.js" defer=""></script><script src="/_next/static/chunks/183-6ad5c4eb28d4b155.js" defer=""></script><script src="/_next/static/chunks/50-cfc2514205b86001.js" defer=""></script><script src="/_next/static/chunks/543-f8766685f7f451e2.js" defer=""></script><script src="/_next/static/chunks/696-b992b9e1ce75777e.js" defer=""></script><script src="/_next/static/chunks/210-aee6116139329803.js" defer=""></script><script src="/_next/static/chunks/614-af117b661cd3429a.js" defer=""></script><script src="/_next/static/chunks/453-1a14e86de385fe7c.js" defer=""></script><script src="/_next/static/chunks/96-33e38032f1e55366.js" defer=""></script><script src="/_next/static/chunks/207-f71df53ed0b0ac4d.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types/%5BcustomTypeId%5D-8bcc4d88f470d3f7.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types/[customTypeId]","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/custom-types.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/70e3649c6ba13fdc.css" as="style"/><link rel="stylesheet" href="/_next/static/css/70e3649c6ba13fdc.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/453-1a14e86de385fe7c.js" defer=""></script><script src="/_next/static/chunks/91-1c3665ce38e58792.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types-75e8eddec659f440.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/70e3649c6ba13fdc.css" as="style"/><link rel="stylesheet" href="/_next/static/css/70e3649c6ba13fdc.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/453-1a14e86de385fe7c.js" defer=""></script><script src="/_next/static/chunks/91-1c3665ce38e58792.js" defer=""></script><script src="/_next/static/chunks/pages/index-16754a04037cf9c1.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/labs.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/pages/labs-d6f2feb6720ee64c.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/labs","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/6e65ff596e3b465e.css" as="style"/><link rel="stylesheet" href="/_next/static/css/6e65ff596e3b465e.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/f36c6662-03bb5e9d9aa0b0aa.js" defer=""></script><script src="/_next/static/chunks/4c744e84-e3161d754618373f.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-2c5b6c0367fcde86.js" defer=""></script><script src="/_next/static/chunks/183-6ad5c4eb28d4b155.js" defer=""></script><script src="/_next/static/chunks/50-cfc2514205b86001.js" defer=""></script><script src="/_next/static/chunks/543-f8766685f7f451e2.js" defer=""></script><script src="/_next/static/chunks/696-b992b9e1ce75777e.js" defer=""></script><script src="/_next/static/chunks/210-aee6116139329803.js" defer=""></script><script src="/_next/static/chunks/614-af117b661cd3429a.js" defer=""></script><script src="/_next/static/chunks/453-1a14e86de385fe7c.js" defer=""></script><script src="/_next/static/chunks/96-33e38032f1e55366.js" defer=""></script><script src="/_next/static/chunks/207-f71df53ed0b0ac4d.js" defer=""></script><script src="/_next/static/chunks/pages/page-types/%5BpageTypeId%5D-8461ab4fcfaf0755.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/page-types/[pageTypeId]","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/settings.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/ca32882a5d2d8d88.css" as="style"/><link rel="stylesheet" href="/_next/static/css/ca32882a5d2d8d88.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/pages/settings-7ad1540dc0af794d.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/settings","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/72585f70-28b4d7d5384b3703.js" defer=""></script><script src="/_next/static/chunks/18539003-a5a5d48f20a7b261.js" defer=""></script><script src="/_next/static/chunks/46-d22d7a121254e31d.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D/simulator-9941e7eeb9d4d084.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]/simulator","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/663a1bac4ce890da.css" as="style"/><link rel="stylesheet" href="/_next/static/css/663a1bac4ce890da.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/f36c6662-03bb5e9d9aa0b0aa.js" defer=""></script><script src="/_next/static/chunks/4c744e84-e3161d754618373f.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-2c5b6c0367fcde86.js" defer=""></script><script src="/_next/static/chunks/183-6ad5c4eb28d4b155.js" defer=""></script><script src="/_next/static/chunks/50-cfc2514205b86001.js" defer=""></script><script src="/_next/static/chunks/543-f8766685f7f451e2.js" defer=""></script><script src="/_next/static/chunks/696-b992b9e1ce75777e.js" defer=""></script><script src="/_next/static/chunks/614-af117b661cd3429a.js" defer=""></script><script src="/_next/static/chunks/96-33e38032f1e55366.js" defer=""></script><script src="/_next/static/chunks/90-2d4bdae13d031364.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D-217d0b0469d4320e.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/slices.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/df904982b9637c1a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/df904982b9637c1a.css" data-n-g=""/><link rel="preload" href="/_next/static/css/17da9daaa8986410.css" as="style"/><link rel="stylesheet" href="/_next/static/css/17da9daaa8986410.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-cdccea7a52cc6e81.js" defer=""></script><script src="/_next/static/chunks/main-5e6780279ca21cb9.js" defer=""></script><script src="/_next/static/chunks/pages/_app-01bcd29a595cec3a.js" defer=""></script><script src="/_next/static/chunks/59b4e022-7a3b5554b806349f.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/50-cfc2514205b86001.js" defer=""></script><script src="/_next/static/chunks/614-af117b661cd3429a.js" defer=""></script><script src="/_next/static/chunks/90-2d4bdae13d031364.js" defer=""></script><script src="/_next/static/chunks/pages/slices-801310de228fd05e.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_buildManifest.js" defer=""></script><script src="/_next/static/svF8JPCb25QlsmymuzIiN/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices","query":{},"buildId":"svF8JPCb25QlsmymuzIiN","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slice-machine-ui",
|
|
3
|
-
"version": "1.26.1-beta.
|
|
3
|
+
"version": "1.26.1-beta.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A visual builder for your Slice Models with all the tools you need to generate data models and mock CMS content locally.",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@radix-ui/react-visually-hidden": "1.0.3",
|
|
38
|
-
"@slicemachine/manager": "0.18.4-beta.
|
|
39
|
-
"start-slicemachine": "0.12.19-beta.
|
|
38
|
+
"@slicemachine/manager": "0.18.4-beta.12",
|
|
39
|
+
"start-slicemachine": "0.12.19-beta.12"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@emotion/react": "11.11.1",
|
package/sentry.client.config.ts
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
// The config you add here will be used whenever a page is visited.
|
|
3
3
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
|
4
4
|
|
|
5
|
-
import { nextConfig as sentryNextConfig } from "@lib/env/sentry";
|
|
6
5
|
import * as Sentry from "@sentry/nextjs";
|
|
7
6
|
import getConfig from "next/config";
|
|
8
7
|
|
|
8
|
+
import { nextConfig as sentryNextConfig } from "@/legacy/lib/env/sentry";
|
|
9
|
+
|
|
9
10
|
const { publicRuntimeConfig } = getConfig() as {
|
|
10
11
|
publicRuntimeConfig: { sentryEnvironment: string; sentryUiDns: string };
|
|
11
12
|
};
|
package/src/ErrorBoundary.tsx
CHANGED
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
isUnauthenticatedError,
|
|
4
4
|
isUnauthorizedError,
|
|
5
5
|
} from "@slicemachine/manager/client";
|
|
6
|
-
import { useAuthStatus } from "@src/hooks/useAuthStatus";
|
|
7
6
|
import {
|
|
8
7
|
type ComponentPropsWithoutRef,
|
|
9
8
|
type FC,
|
|
@@ -11,6 +10,8 @@ import {
|
|
|
11
10
|
useRef,
|
|
12
11
|
} from "react";
|
|
13
12
|
|
|
13
|
+
import { useAuthStatus } from "@/hooks/useAuthStatus";
|
|
14
|
+
|
|
14
15
|
type ErrorBoundaryProps = Pick<
|
|
15
16
|
// TODO(DT-1979): Export the `ErrorBoundaryProps` type from `@prismicio/editor-ui`.
|
|
16
17
|
ComponentPropsWithoutRef<typeof EditorUiErrorBoundary>,
|
package/src/apiClient.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { ComponentUI } from "@lib/models/common/ComponentUI";
|
|
2
|
-
import { CustomTypes } from "@lib/models/common/CustomType";
|
|
3
|
-
import { CustomScreenshotRequest } from "@lib/models/common/Screenshots";
|
|
4
|
-
import { Slices, Variations, type VariationSM } from "@lib/models/common/Slice";
|
|
5
|
-
import { CheckAuthStatusResponse } from "@models/common/Auth";
|
|
6
|
-
import { SimulatorCheckResponse } from "@models/common/Simulator";
|
|
7
|
-
import ServerState from "@models/server/ServerState";
|
|
8
1
|
import { SharedSliceContent } from "@prismicio/types-internal/lib/content";
|
|
9
2
|
import { CustomType } from "@prismicio/types-internal/lib/customtypes";
|
|
10
3
|
import { SliceMachineManagerClient } from "@slicemachine/manager/client";
|
|
11
4
|
|
|
5
|
+
import { CheckAuthStatusResponse } from "@/legacy/lib/models/common/Auth";
|
|
6
|
+
import { ComponentUI } from "@/legacy/lib/models/common/ComponentUI";
|
|
7
|
+
import { CustomTypes } from "@/legacy/lib/models/common/CustomType";
|
|
8
|
+
import { CustomScreenshotRequest } from "@/legacy/lib/models/common/Screenshots";
|
|
9
|
+
import { SimulatorCheckResponse } from "@/legacy/lib/models/common/Simulator";
|
|
10
|
+
import {
|
|
11
|
+
Slices,
|
|
12
|
+
Variations,
|
|
13
|
+
type VariationSM,
|
|
14
|
+
} from "@/legacy/lib/models/common/Slice";
|
|
15
|
+
import ServerState from "@/legacy/lib/models/server/ServerState";
|
|
16
|
+
|
|
12
17
|
import { managerClient } from "./managerClient";
|
|
13
18
|
|
|
14
19
|
/** State Routes * */
|
|
@@ -7,11 +7,12 @@ import {
|
|
|
7
7
|
Text,
|
|
8
8
|
tokens,
|
|
9
9
|
} from "@prismicio/editor-ui";
|
|
10
|
-
import { AddPhotoAlternateIcon } from "@src/icons/AddPhotoAlternateIcon";
|
|
11
|
-
import { ArrowDropDownIcon } from "@src/icons/ArrowDropDownIcon";
|
|
12
|
-
import { SyncAltIcon } from "@src/icons/SyncAltIcon";
|
|
13
10
|
import type { Meta, StoryObj } from "@storybook/react";
|
|
14
11
|
|
|
12
|
+
import { AddPhotoAlternateIcon } from "@/icons/AddPhotoAlternateIcon";
|
|
13
|
+
import { ArrowDropDownIcon } from "@/icons/ArrowDropDownIcon";
|
|
14
|
+
import { SyncAltIcon } from "@/icons/SyncAltIcon";
|
|
15
|
+
|
|
15
16
|
import { Card, CardActions, CardFooter, CardMedia, CardStatus } from "./Card";
|
|
16
17
|
|
|
17
18
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { IconButton, Text } from "@prismicio/editor-ui";
|
|
2
|
-
import { CodeIcon } from "@src/icons/CodeIcon";
|
|
3
|
-
import { JavaScript } from "@src/icons/JavaScript";
|
|
4
|
-
import { Svelte } from "@src/icons/Svelte";
|
|
5
|
-
import { TypeScript } from "@src/icons/TypeScript";
|
|
6
|
-
import { Vue } from "@src/icons/Vue";
|
|
7
2
|
import { type ReactNode, useEffect, useState } from "react";
|
|
8
3
|
import { PrismLight as SyntaxHighlighter } from "react-syntax-highlighter";
|
|
9
4
|
import markup from "react-syntax-highlighter/dist/cjs/languages/prism/markup";
|
|
10
5
|
import tsx from "react-syntax-highlighter/dist/cjs/languages/prism/tsx";
|
|
11
6
|
import { prism } from "react-syntax-highlighter/dist/cjs/styles/prism";
|
|
12
7
|
|
|
8
|
+
import { CodeIcon } from "@/icons/CodeIcon";
|
|
9
|
+
import { JavaScript } from "@/icons/JavaScript";
|
|
10
|
+
import { Svelte } from "@/icons/Svelte";
|
|
11
|
+
import { TypeScript } from "@/icons/TypeScript";
|
|
12
|
+
import { Vue } from "@/icons/Vue";
|
|
13
|
+
|
|
13
14
|
import styles from "./CodeBlock.module.css";
|
|
14
15
|
|
|
15
16
|
SyntaxHighlighter.registerLanguage("tsx", tsx);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FlowerBackgroundIcon } from "@src/icons/FlowerBackgroundIcon";
|
|
2
1
|
import { FC, PropsWithChildren } from "react";
|
|
3
2
|
|
|
3
|
+
import { FlowerBackgroundIcon } from "@/icons/FlowerBackgroundIcon";
|
|
4
|
+
|
|
4
5
|
import styles from "./Count.module.css";
|
|
5
6
|
|
|
6
7
|
export const Count: FC<PropsWithChildren> = (props) => {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Button } from "@prismicio/editor-ui";
|
|
2
|
-
import { useDelayedAction } from "@src/hooks/useDelayedAction";
|
|
3
|
-
import { CloseIcon } from "@src/icons/CloseIcon";
|
|
4
2
|
import { Video } from "cloudinary-react";
|
|
5
3
|
import { clsx } from "clsx";
|
|
6
4
|
import {
|
|
@@ -15,6 +13,9 @@ import {
|
|
|
15
13
|
type VideoHTMLAttributes,
|
|
16
14
|
} from "react";
|
|
17
15
|
|
|
16
|
+
import { useDelayedAction } from "@/hooks/useDelayedAction";
|
|
17
|
+
import { CloseIcon } from "@/icons/CloseIcon";
|
|
18
|
+
|
|
18
19
|
import { BaseHoverCard, type BaseHoverCardProps } from "../BaseHoverCard";
|
|
19
20
|
import styles from "./HoverCard.module.css";
|
|
20
21
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { LightningIcon } from "@src/icons/Lightning";
|
|
2
|
-
import { RadarIcon } from "@src/icons/RadarIcon";
|
|
3
1
|
import type { Meta, StoryObj } from "@storybook/react";
|
|
4
2
|
|
|
3
|
+
import { LightningIcon } from "@/icons/Lightning";
|
|
4
|
+
import { RadarIcon } from "@/icons/RadarIcon";
|
|
5
|
+
|
|
5
6
|
import { PageLayout, PageLayoutPane } from "../PageLayout";
|
|
6
7
|
import {
|
|
7
8
|
RightElement,
|
|
@@ -2,8 +2,6 @@ import type { UrlObject } from "node:url";
|
|
|
2
2
|
|
|
3
3
|
import { useMediaQuery } from "@prismicio/editor-support/React";
|
|
4
4
|
import { breakpoints, Tooltip } from "@prismicio/editor-ui";
|
|
5
|
-
import { LogoIcon } from "@src/icons/LogoIcon";
|
|
6
|
-
import OpenIcon from "@src/icons/OpenIcon";
|
|
7
5
|
import { clsx } from "clsx";
|
|
8
6
|
import {
|
|
9
7
|
type FC,
|
|
@@ -16,6 +14,9 @@ import {
|
|
|
16
14
|
type SVGProps,
|
|
17
15
|
} from "react";
|
|
18
16
|
|
|
17
|
+
import { LogoIcon } from "@/icons/LogoIcon";
|
|
18
|
+
import OpenIcon from "@/icons/OpenIcon";
|
|
19
|
+
|
|
19
20
|
import { Divider } from "../Divider";
|
|
20
21
|
import styles from "./SideNav.module.css";
|
|
21
22
|
|
|
@@ -16,11 +16,12 @@ import {
|
|
|
16
16
|
} from "@prismicio/editor-ui";
|
|
17
17
|
import * as VisuallyHidden from "@radix-ui/react-visually-hidden";
|
|
18
18
|
import type { Environment } from "@slicemachine/manager/client";
|
|
19
|
-
import { LoginIcon } from "@src/icons/LoginIcon";
|
|
20
|
-
import { LogoIcon } from "@src/icons/LogoIcon";
|
|
21
19
|
import { clsx } from "clsx";
|
|
22
20
|
import type { FC, ReactNode } from "react";
|
|
23
21
|
|
|
22
|
+
import { LoginIcon } from "@/icons/LoginIcon";
|
|
23
|
+
import { LogoIcon } from "@/icons/LogoIcon";
|
|
24
|
+
|
|
24
25
|
import styles from "./SideNavEnvironmentSelector.module.css";
|
|
25
26
|
|
|
26
27
|
type SideNavEnvironmentSelectorProps = {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// @vitest-environment jsdom
|
|
2
2
|
|
|
3
|
+
import { describe, test, vi } from "vitest";
|
|
4
|
+
|
|
5
|
+
import { render, screen } from "@/../test/__testutils__";
|
|
3
6
|
import {
|
|
4
7
|
Table,
|
|
5
8
|
TableBody,
|
|
6
9
|
TableCell,
|
|
7
10
|
TableHead,
|
|
8
11
|
TableRow,
|
|
9
|
-
} from "
|
|
10
|
-
import { render, screen } from "test/__testutils__";
|
|
11
|
-
import { describe, test, vi } from "vitest";
|
|
12
|
+
} from "@/components/Table";
|
|
12
13
|
|
|
13
14
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
14
15
|
vi.mock("next/router", () => require("next-router-mock"));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ComponentUI } from "@lib/models/common/ComponentUI";
|
|
2
|
-
import { Slices } from "@lib/models/common/Slice";
|
|
3
1
|
import { SharedSlice } from "@prismicio/types-internal/lib/customtypes";
|
|
4
2
|
import { describe, expect, it } from "vitest";
|
|
5
3
|
|
|
4
|
+
import { ComponentUI } from "@/legacy/lib/models/common/ComponentUI";
|
|
5
|
+
import { Slices } from "@/legacy/lib/models/common/Slice";
|
|
6
|
+
|
|
6
7
|
import { deleteRepeatableZone } from "../slice";
|
|
7
8
|
|
|
8
9
|
describe("deleteRepeatableZone", () => {
|
package/src/domain/slice.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import type { ComponentUI } from "@lib/models/common/ComponentUI";
|
|
2
|
-
import type { VariationSM, WidgetsArea } from "@lib/models/common/Slice";
|
|
3
|
-
import { pascalize, snakelize } from "@lib/utils/str";
|
|
4
1
|
import { NestableWidget } from "@prismicio/types-internal/lib/customtypes";
|
|
5
2
|
import type {
|
|
6
3
|
CompositeSlice,
|
|
@@ -8,6 +5,13 @@ import type {
|
|
|
8
5
|
SharedSlice,
|
|
9
6
|
} from "@prismicio/types-internal/lib/customtypes/widgets/slices";
|
|
10
7
|
|
|
8
|
+
import type { ComponentUI } from "@/legacy/lib/models/common/ComponentUI";
|
|
9
|
+
import type {
|
|
10
|
+
VariationSM,
|
|
11
|
+
WidgetsArea,
|
|
12
|
+
} from "@/legacy/lib/models/common/Slice";
|
|
13
|
+
import { pascalize, snakelize } from "@/legacy/lib/utils/str";
|
|
14
|
+
|
|
11
15
|
type CopySliceVariationArgs = {
|
|
12
16
|
copiedVariation: VariationSM;
|
|
13
17
|
id: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Box, Icon, ProgressCircle, Text } from "@prismicio/editor-ui";
|
|
2
|
-
import { ActionQueueStatus } from "@src/hooks/useActionQueue";
|
|
3
2
|
import { FC } from "react";
|
|
4
3
|
|
|
4
|
+
import { ActionQueueStatus } from "@/hooks/useActionQueue";
|
|
5
|
+
|
|
5
6
|
type AutoSaveStatusIndicatorProps = {
|
|
6
7
|
status: ActionQueueStatus;
|
|
7
8
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useRequest } from "@prismicio/editor-support/Suspense";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import { managerClient } from "@/managerClient";
|
|
3
4
|
|
|
4
5
|
async function getSliceMachineLatestNonBreakingVersion() {
|
|
5
6
|
const latestNonBreakingVersion =
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useRequest } from "@prismicio/editor-support/Suspense";
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import { managerClient } from "@/managerClient";
|
|
3
4
|
|
|
4
5
|
async function getSliceMachineReleaseNotes(version: string) {
|
|
5
6
|
const latestNonBreakingVersion =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useRequest } from "@prismicio/editor-support/Suspense";
|
|
2
2
|
import type { Version } from "@slicemachine/manager";
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
import { managerClient } from "@/managerClient";
|
|
4
5
|
|
|
5
6
|
async function getSliceMachineVersions(): Promise<Version[]> {
|
|
6
7
|
const sliceMachineVersions =
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { createDocumentsListEndpointFromRepoName } from "@lib/utils/repo";
|
|
2
1
|
import { Button, Image, tokens } from "@prismicio/editor-ui";
|
|
2
|
+
import router from "next/router";
|
|
3
|
+
import { FiExternalLink } from "react-icons/fi";
|
|
4
|
+
import { useSelector } from "react-redux";
|
|
5
|
+
|
|
3
6
|
import {
|
|
4
7
|
BlankSlate,
|
|
5
8
|
BlankSlateActions,
|
|
@@ -7,13 +10,11 @@ import {
|
|
|
7
10
|
BlankSlateDescription,
|
|
8
11
|
BlankSlateImage,
|
|
9
12
|
BlankSlateTitle,
|
|
10
|
-
} from "
|
|
11
|
-
import { TextLink } from "
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import { FiExternalLink } from "react-icons/fi";
|
|
16
|
-
import { useSelector } from "react-redux";
|
|
13
|
+
} from "@/components/BlankSlate";
|
|
14
|
+
import { TextLink } from "@/components/TextLink";
|
|
15
|
+
import { createDocumentsListEndpointFromRepoName } from "@/legacy/lib/utils/repo";
|
|
16
|
+
import { getRepoName } from "@/modules/environment";
|
|
17
|
+
import { SliceMachineStoreType } from "@/redux/type";
|
|
17
18
|
|
|
18
19
|
export const NoChangesBlankSlate = () => {
|
|
19
20
|
const { repoName } = useSelector((state: SliceMachineStoreType) => ({
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Button, Skeleton, Tooltip } from "@prismicio/editor-ui";
|
|
2
|
-
import { ErrorBoundary } from "@src/ErrorBoundary";
|
|
3
|
-
import { gitProviderToConfig } from "@src/features/settings/git/GitProvider";
|
|
4
|
-
import { useGitIntegrationExperiment } from "@src/features/settings/git/useGitIntegrationExperiment";
|
|
5
|
-
import { useLinkedGitRepos } from "@src/features/settings/git/useLinkedGitRepos";
|
|
6
2
|
import {
|
|
7
3
|
type ComponentPropsWithoutRef,
|
|
8
4
|
type ElementRef,
|
|
@@ -12,6 +8,11 @@ import {
|
|
|
12
8
|
Suspense,
|
|
13
9
|
} from "react";
|
|
14
10
|
|
|
11
|
+
import { ErrorBoundary } from "@/ErrorBoundary";
|
|
12
|
+
import { gitProviderToConfig } from "@/features/settings/git/GitProvider";
|
|
13
|
+
import { useGitIntegrationExperiment } from "@/features/settings/git/useGitIntegrationExperiment";
|
|
14
|
+
import { useLinkedGitRepos } from "@/features/settings/git/useLinkedGitRepos";
|
|
15
|
+
|
|
15
16
|
type PushChangesButtonProps = Required<BarePushChangesButtonProps>;
|
|
16
17
|
|
|
17
18
|
export const PushChangesButton: FC<PushChangesButtonProps> = (props) => (
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ModelStatus } from "@lib/models/common/ModelStatus";
|
|
2
1
|
import { Badge, Tooltip } from "@prismicio/editor-ui";
|
|
3
|
-
import { AuthStatus } from "@src/modules/userContext/types";
|
|
4
2
|
import type { ComponentPropsWithoutRef, FC } from "react";
|
|
5
3
|
|
|
4
|
+
import { ModelStatus } from "@/legacy/lib/models/common/ModelStatus";
|
|
5
|
+
import { AuthStatus } from "@/modules/userContext/types";
|
|
6
|
+
|
|
6
7
|
export type StatusBadgeProps = GetStatusBadgeContentArgs;
|
|
7
8
|
|
|
8
9
|
export const StatusBadge: FC<StatusBadgeProps> = (props) => {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { DeleteCustomTypeModal } from "@components/DeleteCTModal";
|
|
2
|
-
import { RenameCustomTypeModal } from "@components/Forms/RenameCustomTypeModal";
|
|
3
1
|
import {
|
|
4
2
|
DropdownMenu,
|
|
5
3
|
DropdownMenuContent,
|
|
@@ -10,10 +8,13 @@ import {
|
|
|
10
8
|
} from "@prismicio/editor-ui";
|
|
11
9
|
import { type CustomType } from "@prismicio/types-internal/lib/customtypes";
|
|
12
10
|
import { CustomTypeFormat } from "@slicemachine/manager";
|
|
13
|
-
import useSliceMachineActions from "@src/modules/useSliceMachineActions";
|
|
14
11
|
import { useRouter } from "next/router";
|
|
15
12
|
import { type FC, useState } from "react";
|
|
16
13
|
|
|
14
|
+
import { DeleteCustomTypeModal } from "@/legacy/components/DeleteCTModal";
|
|
15
|
+
import { RenameCustomTypeModal } from "@/legacy/components/Forms/RenameCustomTypeModal";
|
|
16
|
+
import useSliceMachineActions from "@/modules/useSliceMachineActions";
|
|
17
|
+
|
|
17
18
|
import { convertCustomToPageType } from "./actions/convertCustomToPageType";
|
|
18
19
|
import { CUSTOM_TYPES_CONFIG } from "./customTypesConfig";
|
|
19
20
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { CreateCustomTypeModal } from "@components/Forms/CreateCustomTypeModal";
|
|
2
1
|
import { cache } from "@prismicio/editor-support/Suspense";
|
|
3
2
|
import { Box, Button, Text } from "@prismicio/editor-ui";
|
|
4
|
-
import { getIsEmptyProject } from "@src/hooks/useIsEmptyProject";
|
|
5
|
-
import { BlankPageIcon } from "@src/icons/BlankPageIcon";
|
|
6
3
|
import { useState } from "react";
|
|
7
4
|
|
|
5
|
+
import { getIsEmptyProject } from "@/hooks/useIsEmptyProject";
|
|
6
|
+
import { BlankPageIcon } from "@/icons/BlankPageIcon";
|
|
7
|
+
import { CreateCustomTypeModal } from "@/legacy/components/Forms/CreateCustomTypeModal";
|
|
8
|
+
|
|
8
9
|
export function PageTypeOnboarding() {
|
|
9
10
|
const [isCreatingCustomType, setIsCreatingCustomType] = useState(false);
|
|
10
11
|
const [isCreateCustomTypeModalOpen, setIsCreateCustomTypeModalOpen] =
|