slice-machine-ui 1.20.1-dev-environments.2 → 1.20.1-dev-next-release.3
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/components/AppLayout/index.tsx +10 -34
- package/components/Navigation/index.tsx +15 -32
- package/components/ReviewModal/ReviewForm.tsx +2 -2
- package/components/ReviewModal/ReviewModal.tsx +7 -0
- package/out/404.html +1 -1
- package/out/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js +1 -0
- package/out/_next/static/chunks/{18539003-371d86ea83e7293b.js → 18539003-5d8b6a04053638af.js} +2 -2
- package/out/_next/static/chunks/{482-39cef3a713901788.js → 482-30c0f114c7213fa3.js} +1 -1
- package/out/_next/static/chunks/{125-f0e2eb84ee39757a.js → 505-fa47e200ac3a012d.js} +1 -1
- package/out/_next/static/chunks/{550-e72c08c598051224.js → 550-abf97d3008006056.js} +1 -1
- package/out/_next/static/chunks/{80-821a0b5d4ad61185.js → 80-72d903b2a0bd5dc3.js} +1 -1
- package/out/_next/static/chunks/840-8cec2bbd104111f2.js +1 -0
- package/out/_next/static/chunks/904-cb627b6d7b8068f9.js +1 -0
- package/out/_next/static/chunks/958-8f814daf5896ff97.js +1 -0
- package/out/_next/static/chunks/pages/{_app-61dfd5e4a504dad6.js → _app-2d01c2c528624eaf.js} +44 -44
- package/out/_next/static/chunks/pages/{changelog-4b8369d91d82b28b.js → changelog-fa36b9995c26e1d7.js} +1 -1
- package/out/_next/static/chunks/pages/changes-494c71511b2e8989.js +1 -0
- package/out/_next/static/chunks/pages/index-d8e3a2c0d712904f.js +1 -0
- package/out/_next/static/chunks/pages/labs-ebce03a4e7a95a4e.js +1 -0
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/{simulator-79a62d775e64898c.js → simulator-7b17cb59d0db03b5.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/{[variation]-724893d27ffa426c.js → [variation]-763cc8c12e977b4a.js} +1 -1
- package/out/_next/static/chunks/pages/slices-22db04643850c1d8.js +1 -0
- package/out/_next/static/css/31841735992dea23.css +1 -0
- package/out/_next/static/css/58a89606d9ca9093.css +1 -0
- package/out/_next/static/css/5d18ccf403d4649a.css +1 -0
- package/out/_next/static/css/{51597cd1f01c4889.css → 78250665d395ea50.css} +1 -1
- package/out/_next/static/css/{16b41648cd1de03b.css → b0be58d878c0fac3.css} +1 -1
- package/out/_next/static/css/e48f99beffa085f5.css +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/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 +7 -7
- package/pages/_app.tsx +39 -35
- package/pages/slices.tsx +0 -1
- package/src/components/Counter/Counter.css.ts +26 -0
- package/src/components/Counter/Counter.stories.tsx +17 -0
- package/src/components/Counter/Counter.tsx +16 -0
- package/src/components/Counter/index.ts +1 -0
- package/src/components/PageLayout/PageLayout.css.ts +3 -8
- package/src/components/PageLayout/PageLayout.stories.tsx +1 -10
- package/src/components/PageLayout/PageLayout.tsx +2 -7
- package/src/components/SideNav/SideNav.css.ts +10 -3
- package/src/components/SideNav/SideNav.stories.tsx +2 -29
- package/src/components/SideNav/SideNav.tsx +1 -5
- package/src/components/SideNav/index.ts +0 -1
- package/src/features/customTypes/__tests__/CustomTypeBuilderPage.test.tsx +3 -4
- package/src/features/inAppGuide/InAppGuideContext.tsx +47 -0
- package/src/features/inAppGuide/InAppGuideDialog.tsx +97 -0
- package/src/features/inAppGuide/inAppGuideContent.tsx +65 -0
- package/src/hooks/usePersistedState.ts +34 -0
- package/src/hooks/useRepositoryInformation.ts +24 -0
- package/src/icons/FlowerBackgroundIcon.tsx +17 -0
- package/src/icons/HelpIcon.tsx +19 -0
- package/test/pages/slices.test.tsx +8 -4
- package/test/src/modules/__fixtures__/serverState.ts +0 -2
- package/components/Navigation/Environment.tsx +0 -47
- package/components/Navigation/index.css.ts +0 -6
- package/out/_next/static/chunks/840-5b485c737b24324b.js +0 -1
- package/out/_next/static/chunks/904-6204ab2ad8798857.js +0 -1
- package/out/_next/static/chunks/958-c90d60818f1c468a.js +0 -1
- package/out/_next/static/chunks/pages/changes-db6e8c6be5ae076e.js +0 -1
- package/out/_next/static/chunks/pages/index-941b44c74dd339e4.js +0 -1
- package/out/_next/static/chunks/pages/labs-2922105ab714d32a.js +0 -1
- package/out/_next/static/chunks/pages/slices-93b7af2624c85b8e.js +0 -1
- package/out/_next/static/css/009bd7f5ac85fc6a.css +0 -1
- package/out/_next/static/css/3e88bd24e38f18d0.css +0 -1
- package/out/_next/static/css/6e4843007ff41825.css +0 -1
- package/out/_next/static/css/867d8d7ab4a75762.css +0 -1
- package/out/_next/static/eEMbH0pyO9pWG3REga3T2/_buildManifest.js +0 -1
- package/src/components/Divider/Divider.css.ts +0 -31
- package/src/components/Divider/Divider.stories.tsx +0 -27
- package/src/components/Divider/Divider.tsx +0 -25
- package/src/components/Divider/index.ts +0 -1
- package/src/components/SideNav/SideNavEnvironmentSelector.css.ts +0 -69
- package/src/components/SideNav/SideNavEnvironmentSelector.tsx +0 -163
- package/src/features/environments/actions/getActiveEnvironmentDomain.ts +0 -11
- package/src/features/environments/actions/getEnvironments.ts +0 -12
- package/src/features/environments/actions/setEnvironment.ts +0 -18
- package/src/features/environments/useActiveEnvironment.ts +0 -38
- package/src/features/environments/useEnvironments.ts +0 -7
- package/src/features/legacyState/actions/getLegacySliceMachineState.ts +0 -53
- package/src/features/legacyState/useLegacySliceMachineState.ts +0 -7
- /package/out/_next/static/{eEMbH0pyO9pWG3REga3T2 → BIxidu02_xbgjO9EV7tg4}/_ssgManifest.js +0 -0
package/out/changelog.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/870-0c7a8a9622de78b7.js" defer=""></script><script src="/_next/static/chunks/pages/changelog-fa36b9995c26e1d7.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changelog","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/78250665d395ea50.css" as="style"/><link rel="stylesheet" href="/_next/static/css/78250665d395ea50.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-2d01c2c528624eaf.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/918-38d08f1e885b222d.js" defer=""></script><script src="/_next/static/chunks/958-8f814daf5896ff97.js" defer=""></script><script src="/_next/static/chunks/80-72d903b2a0bd5dc3.js" defer=""></script><script src="/_next/static/chunks/pages/changes-494c71511b2e8989.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changes","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/5d18ccf403d4649a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5d18ccf403d4649a.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/474-2393e400314474be.js" defer=""></script><script src="/_next/static/chunks/958-8f814daf5896ff97.js" defer=""></script><script src="/_next/static/chunks/550-abf97d3008006056.js" defer=""></script><script src="/_next/static/chunks/482-30c0f114c7213fa3.js" defer=""></script><script src="/_next/static/chunks/904-cb627b6d7b8068f9.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types/%5BcustomTypeId%5D-3a37eb3373bb8823.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_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":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/b0be58d878c0fac3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b0be58d878c0fac3.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/550-abf97d3008006056.js" defer=""></script><script src="/_next/static/chunks/840-8cec2bbd104111f2.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types-2f5664d9492b13fb.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/b0be58d878c0fac3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/b0be58d878c0fac3.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/550-abf97d3008006056.js" defer=""></script><script src="/_next/static/chunks/840-8cec2bbd104111f2.js" defer=""></script><script src="/_next/static/chunks/pages/index-d8e3a2c0d712904f.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/pages/labs-ebce03a4e7a95a4e.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/labs","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/5d18ccf403d4649a.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5d18ccf403d4649a.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/474-2393e400314474be.js" defer=""></script><script src="/_next/static/chunks/958-8f814daf5896ff97.js" defer=""></script><script src="/_next/static/chunks/550-abf97d3008006056.js" defer=""></script><script src="/_next/static/chunks/482-30c0f114c7213fa3.js" defer=""></script><script src="/_next/static/chunks/904-cb627b6d7b8068f9.js" defer=""></script><script src="/_next/static/chunks/pages/page-types/%5BpageTypeId%5D-733f3890c0466a05.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_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":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.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-2d01c2c528624eaf.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-5d8b6a04053638af.js" defer=""></script><script src="/_next/static/chunks/505-fa47e200ac3a012d.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D/simulator-7b17cb59d0db03b5.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_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":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/31841735992dea23.css" as="style"/><link rel="stylesheet" href="/_next/static/css/31841735992dea23.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/958-8f814daf5896ff97.js" defer=""></script><script src="/_next/static/chunks/80-72d903b2a0bd5dc3.js" defer=""></script><script src="/_next/static/chunks/482-30c0f114c7213fa3.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D-763cc8c12e977b4a.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_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":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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"/><
|
|
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/e48f99beffa085f5.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e48f99beffa085f5.css" data-n-g=""/><link rel="preload" href="/_next/static/css/58a89606d9ca9093.css" as="style"/><link rel="stylesheet" href="/_next/static/css/58a89606d9ca9093.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-2d01c2c528624eaf.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/958-8f814daf5896ff97.js" defer=""></script><script src="/_next/static/chunks/80-72d903b2a0bd5dc3.js" defer=""></script><script src="/_next/static/chunks/pages/slices-22db04643850c1d8.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_buildManifest.js" defer=""></script><script src="/_next/static/BIxidu02_xbgjO9EV7tg4/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices","query":{},"buildId":"BIxidu02_xbgjO9EV7tg4","runtimeConfig":{"sentryEnvironment":"alpha"},"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.20.1-dev-
|
|
3
|
+
"version": "1.20.1-dev-next-release.3",
|
|
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": {
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"start-slicemachine": "./bin/start-slicemachine.cjs"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@slicemachine/manager": "^0.16.1-dev-
|
|
35
|
-
"start-slicemachine": "^0.12.6-dev-
|
|
34
|
+
"@slicemachine/manager": "^0.16.1-dev-next-release.3",
|
|
35
|
+
"start-slicemachine": "^0.12.6-dev-next-release.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@emotion/react": "11.11.1",
|
|
39
39
|
"@extractus/oembed-extractor": "3.1.8",
|
|
40
|
-
"@prismicio/editor-fields": "0.4.
|
|
41
|
-
"@prismicio/editor-support": "0.4.
|
|
42
|
-
"@prismicio/editor-ui": "0.4.
|
|
40
|
+
"@prismicio/editor-fields": "0.4.16",
|
|
41
|
+
"@prismicio/editor-support": "0.4.16",
|
|
42
|
+
"@prismicio/editor-ui": "0.4.16",
|
|
43
43
|
"@prismicio/mocks": "2.0.0-alpha.2",
|
|
44
44
|
"@prismicio/simulator": "0.1.4",
|
|
45
45
|
"@prismicio/types-internal": "2.2.0",
|
|
@@ -130,5 +130,5 @@
|
|
|
130
130
|
"vitest": "0.32.0",
|
|
131
131
|
"yup": "0.32.11"
|
|
132
132
|
},
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "31f84c8560e91d356c375c0e304d4e020eb0009b"
|
|
134
134
|
}
|
package/pages/_app.tsx
CHANGED
|
@@ -23,7 +23,8 @@ import {
|
|
|
23
23
|
} from "@prismicio/editor-ui";
|
|
24
24
|
import { ConnectedRouter } from "connected-next-router";
|
|
25
25
|
import type { NextPage } from "next";
|
|
26
|
-
import
|
|
26
|
+
import type { AppContext, AppInitialProps } from "next/app";
|
|
27
|
+
import dynamic from "next/dynamic";
|
|
27
28
|
import Head from "next/head";
|
|
28
29
|
import Router from "next/router";
|
|
29
30
|
import { type FC, type ReactNode, useEffect, useState, Suspense } from "react";
|
|
@@ -34,6 +35,8 @@ import { PersistGate } from "redux-persist/integration/react";
|
|
|
34
35
|
import { ThemeProvider as ThemeUIThemeProvider, useThemeUI } from "theme-ui";
|
|
35
36
|
|
|
36
37
|
import { AppLayout, AppLayoutContent } from "@components/AppLayout";
|
|
38
|
+
import { InAppGuideProvider } from "@src/features/inAppGuide/InAppGuideContext";
|
|
39
|
+
import { InAppGuideDialog } from "@src/features/inAppGuide/InAppGuideDialog";
|
|
37
40
|
|
|
38
41
|
import SliceMachineApp from "../components/App";
|
|
39
42
|
import LoadingPage from "../components/LoadingPage";
|
|
@@ -69,7 +72,7 @@ const RemoveDarkMode: FC<RemoveDarkModeProps> = ({ children }) => {
|
|
|
69
72
|
return <>{children}</>;
|
|
70
73
|
};
|
|
71
74
|
|
|
72
|
-
function
|
|
75
|
+
function App({
|
|
73
76
|
Component,
|
|
74
77
|
pageProps,
|
|
75
78
|
}: AppContextWithComponentLayout & AppInitialProps) {
|
|
@@ -129,35 +132,40 @@ function MyApp({
|
|
|
129
132
|
<Provider store={smStore.store}>
|
|
130
133
|
<ConnectedRouter Router={Router}>
|
|
131
134
|
<PersistGate loading={null} persistor={smStore.persistor}>
|
|
132
|
-
<
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
<
|
|
139
|
-
<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
>
|
|
154
|
-
<
|
|
155
|
-
<
|
|
156
|
-
<
|
|
157
|
-
|
|
135
|
+
<ErrorBoundary
|
|
136
|
+
renderError={(error) => {
|
|
137
|
+
console.error(error);
|
|
138
|
+
|
|
139
|
+
return (
|
|
140
|
+
<AppLayout>
|
|
141
|
+
<AppLayoutContent>
|
|
142
|
+
<Box
|
|
143
|
+
alignItems="center"
|
|
144
|
+
justifyContent="center"
|
|
145
|
+
>
|
|
146
|
+
<DefaultErrorMessage
|
|
147
|
+
title="Error"
|
|
148
|
+
description="An error occurred while rendering the app."
|
|
149
|
+
/>
|
|
150
|
+
</Box>
|
|
151
|
+
</AppLayoutContent>
|
|
152
|
+
</AppLayout>
|
|
153
|
+
);
|
|
154
|
+
}}
|
|
155
|
+
>
|
|
156
|
+
<InAppGuideProvider>
|
|
157
|
+
<RouteChangeProvider>
|
|
158
|
+
<Suspense fallback={<LoadingPage />}>
|
|
159
|
+
<ComponentLayout>
|
|
160
|
+
<Component {...pageProps} />
|
|
161
|
+
</ComponentLayout>
|
|
162
|
+
</Suspense>
|
|
163
|
+
</RouteChangeProvider>
|
|
164
|
+
<Suspense>
|
|
165
|
+
<InAppGuideDialog />
|
|
158
166
|
</Suspense>
|
|
159
|
-
</
|
|
160
|
-
</
|
|
167
|
+
</InAppGuideProvider>
|
|
168
|
+
</ErrorBoundary>
|
|
161
169
|
</PersistGate>
|
|
162
170
|
</ConnectedRouter>
|
|
163
171
|
<ToastContainer />
|
|
@@ -171,8 +179,4 @@ function MyApp({
|
|
|
171
179
|
);
|
|
172
180
|
}
|
|
173
181
|
|
|
174
|
-
|
|
175
|
-
return await App.getInitialProps(appContext);
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
export default MyApp;
|
|
182
|
+
export default dynamic(() => Promise.resolve(App), { ssr: false });
|
package/pages/slices.tsx
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { colors, sprinkles } from "@prismicio/editor-ui";
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
|
+
|
|
4
|
+
export const root = sprinkles({
|
|
5
|
+
all: "unset",
|
|
6
|
+
display: "inline-flex",
|
|
7
|
+
alignItems: "center",
|
|
8
|
+
position: "relative",
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
export const count = style([
|
|
12
|
+
sprinkles({
|
|
13
|
+
all: "unset",
|
|
14
|
+
display: "revert",
|
|
15
|
+
color: colors.grey1,
|
|
16
|
+
fontFamily: "body",
|
|
17
|
+
position: "absolute",
|
|
18
|
+
}),
|
|
19
|
+
{
|
|
20
|
+
fontSize: "9px",
|
|
21
|
+
fontWeight: 500,
|
|
22
|
+
left: "50%",
|
|
23
|
+
top: "50%",
|
|
24
|
+
transform: "translate(-50%, -50%)",
|
|
25
|
+
},
|
|
26
|
+
]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
|
|
3
|
+
import { Counter } from "./Counter";
|
|
4
|
+
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
|
|
7
|
+
const meta = {
|
|
8
|
+
component: Counter,
|
|
9
|
+
} satisfies Meta<typeof Counter>;
|
|
10
|
+
|
|
11
|
+
export default meta;
|
|
12
|
+
|
|
13
|
+
export const Default = {
|
|
14
|
+
args: {
|
|
15
|
+
children: "1",
|
|
16
|
+
},
|
|
17
|
+
} satisfies Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from "react";
|
|
2
|
+
|
|
3
|
+
import { FlowerBackgroundIcon } from "@src/icons/FlowerBackgroundIcon";
|
|
4
|
+
|
|
5
|
+
import * as styles from "./Counter.css";
|
|
6
|
+
|
|
7
|
+
export const Counter: FC<PropsWithChildren> = (props) => {
|
|
8
|
+
const { children } = props;
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className={styles.root}>
|
|
12
|
+
<FlowerBackgroundIcon />
|
|
13
|
+
<span className={styles.count}>{children}</span>
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Counter } from "./Counter";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { colors, sprinkles, vars } from "@prismicio/editor-ui";
|
|
2
|
-
import { style
|
|
2
|
+
import { style } from "@vanilla-extract/css";
|
|
3
3
|
|
|
4
4
|
const grid = sprinkles({ all: "unset", display: "grid" });
|
|
5
5
|
|
|
@@ -23,9 +23,10 @@ export const root = style([
|
|
|
23
23
|
},
|
|
24
24
|
]);
|
|
25
25
|
|
|
26
|
-
const
|
|
26
|
+
export const borderTop = style([
|
|
27
27
|
sprinkles({
|
|
28
28
|
all: "unset",
|
|
29
|
+
backgroundColor: colors.purple9,
|
|
29
30
|
display: "revert",
|
|
30
31
|
height: 2,
|
|
31
32
|
position: "fixed",
|
|
@@ -34,12 +35,6 @@ const borderTopBase = style([
|
|
|
34
35
|
{ width: "inherit" },
|
|
35
36
|
]);
|
|
36
37
|
|
|
37
|
-
export const borderTop = styleVariants({
|
|
38
|
-
prod: [borderTopBase, sprinkles({ backgroundColor: colors.purple9 })],
|
|
39
|
-
stage: [borderTopBase, sprinkles({ backgroundColor: colors.indigo10 })],
|
|
40
|
-
dev: [borderTopBase, sprinkles({ backgroundColor: colors.amber10 })],
|
|
41
|
-
});
|
|
42
|
-
|
|
43
38
|
export const pane = style([
|
|
44
39
|
grid,
|
|
45
40
|
sprinkles({
|