slice-machine-ui 1.19.2-dev-in-app-guide.2 → 1.19.2
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/Navigation/index.tsx +0 -1
- package/out/404.html +1 -1
- package/out/_next/static/8rc3TRisi8gOyPYwHa35C/_buildManifest.js +1 -0
- package/out/_next/static/chunks/{474-2393e400314474be.js → 125-e3857af2068bbedf.js} +2 -2
- package/out/_next/static/chunks/18539003-1bb05c8aa7db2bc2.js +97 -0
- package/out/_next/static/chunks/482-bfe6dbc93fb63a0d.js +1 -0
- package/out/_next/static/chunks/{550-e72c08c598051224.js → 550-1dafbcec5d50b384.js} +1 -1
- package/out/_next/static/chunks/{125-f0e2eb84ee39757a.js → 585-f3dca093db4b3792.js} +3 -1
- package/out/_next/static/chunks/{80-821a0b5d4ad61185.js → 80-c513d12da6156fb7.js} +1 -1
- package/out/_next/static/chunks/840-c317c8ff8de0f202.js +1 -0
- package/out/_next/static/chunks/904-438ff06c6c7e18f3.js +1 -0
- package/out/_next/static/chunks/958-4f94d552d296c608.js +1 -0
- package/out/_next/static/chunks/pages/_app-19c4fbcd62918db2.js +428 -0
- package/out/_next/static/chunks/pages/{changelog-fa36b9995c26e1d7.js → changelog-75b0bf58d1f3045d.js} +1 -1
- package/out/_next/static/chunks/pages/{changes-e388be4457a43c3a.js → changes-9dcb1cdaa8b10560.js} +1 -1
- package/out/_next/static/chunks/pages/custom-types/{[customTypeId]-3a37eb3373bb8823.js → [customTypeId]-aa37e07c96c8f9b5.js} +1 -1
- package/out/_next/static/chunks/pages/index-5266b7f0ca55025a.js +1 -0
- package/out/_next/static/chunks/pages/labs-2349c21fbac1bd23.js +1 -0
- package/out/_next/static/chunks/pages/page-types/{[pageTypeId]-733f3890c0466a05.js → [pageTypeId]-d445f5cabeb460c0.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/{simulator-dda1f32608129e23.js → simulator-5e441f8b049cf91b.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/{[variation]-2282320bb9091898.js → [variation]-c9b5ff7076d2b19b.js} +1 -1
- package/out/_next/static/chunks/pages/{slices-22db04643850c1d8.js → slices-247c480530e98426.js} +1 -1
- package/out/_next/static/css/{3e88bd24e38f18d0.css → 1fbd45881dcf43c4.css} +1 -1
- package/out/_next/static/css/{867d8d7ab4a75762.css → 22d69420bda374a7.css} +1 -1
- package/out/_next/static/css/{16b41648cd1de03b.css → 26b51745402a92af.css} +1 -1
- package/out/_next/static/css/66b3836ab88b0c5c.css +1 -0
- package/out/_next/static/css/{6e4843007ff41825.css → e4f4acc81f000d9c.css} +1 -1
- package/out/_next/static/css/{51597cd1f01c4889.css → f585032018f6024b.css} +1 -1
- 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 +37 -38
- package/src/components/ContentTabs/ContentTabs.css.ts +1 -1
- package/src/components/SideNav/SideNav.css.ts +11 -11
- package/src/features/labs/labsList/LabsListItem.tsx +1 -1
- package/out/_next/static/JtXmprA4ZlF_tsZXgw4Gi/_buildManifest.js +0 -1
- package/out/_next/static/chunks/18539003-371d86ea83e7293b.js +0 -97
- package/out/_next/static/chunks/482-39cef3a713901788.js +0 -1
- package/out/_next/static/chunks/840-884e41a48b92e5d3.js +0 -1
- package/out/_next/static/chunks/904-55ff54caf14254dc.js +0 -1
- package/out/_next/static/chunks/958-be627006594efb21.js +0 -1
- package/out/_next/static/chunks/pages/_app-6a64c583ef6e4158.js +0 -439
- package/out/_next/static/chunks/pages/index-d8e3a2c0d712904f.js +0 -1
- package/out/_next/static/chunks/pages/labs-ebce03a4e7a95a4e.js +0 -1
- package/out/_next/static/css/bca8066fd65eed7f.css +0 -1
- package/src/components/Counter/Counter.css.ts +0 -25
- package/src/components/Counter/Counter.stories.tsx +0 -24
- package/src/components/Counter/Counter.tsx +0 -18
- package/src/components/Counter/index.ts +0 -1
- package/src/features/inAppGuide/InAppGuideDialog.tsx +0 -109
- package/src/features/inAppGuide/inAppGuideContent.tsx +0 -68
- package/src/hooks/usePersistedState.ts +0 -23
- package/src/icons/FlowerBackgroundIcon.tsx +0 -16
- package/src/icons/HelpIcon.tsx +0 -19
- /package/out/_next/static/{JtXmprA4ZlF_tsZXgw4Gi → 8rc3TRisi8gOyPYwHa35C}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slice-machine-ui",
|
|
3
|
-
"version": "1.19.2
|
|
3
|
+
"version": "1.19.2",
|
|
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.15.3
|
|
35
|
-
"start-slicemachine": "^0.12.4
|
|
34
|
+
"@slicemachine/manager": "^0.15.3",
|
|
35
|
+
"start-slicemachine": "^0.12.4"
|
|
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.11",
|
|
41
|
+
"@prismicio/editor-support": "0.4.12",
|
|
42
|
+
"@prismicio/editor-ui": "0.4.13",
|
|
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": "d656318dfdf9206a2701c22ba58a8e6f4a318bba"
|
|
134
134
|
}
|
package/pages/_app.tsx
CHANGED
|
@@ -34,7 +34,6 @@ import { PersistGate } from "redux-persist/integration/react";
|
|
|
34
34
|
import { ThemeProvider as ThemeUIThemeProvider, useThemeUI } from "theme-ui";
|
|
35
35
|
|
|
36
36
|
import { AppLayout, AppLayoutContent } from "@components/AppLayout";
|
|
37
|
-
import { InAppGuideDialog } from "@src/features/inAppGuide/InAppGuideDialog";
|
|
38
37
|
|
|
39
38
|
import SliceMachineApp from "../components/App";
|
|
40
39
|
import LoadingPage from "../components/LoadingPage";
|
|
@@ -123,48 +122,48 @@ function MyApp({
|
|
|
123
122
|
<ThemeUIThemeProvider theme={theme}>
|
|
124
123
|
<RemoveDarkMode>
|
|
125
124
|
<ThemeProvider mode="light">
|
|
126
|
-
<
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
<
|
|
132
|
-
<
|
|
133
|
-
<
|
|
134
|
-
<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
125
|
+
<TooltipProvider>
|
|
126
|
+
{!smStore || !serverState ? (
|
|
127
|
+
<LoadingPage />
|
|
128
|
+
) : (
|
|
129
|
+
<Provider store={smStore.store}>
|
|
130
|
+
<ConnectedRouter Router={Router}>
|
|
131
|
+
<PersistGate loading={null} persistor={smStore.persistor}>
|
|
132
|
+
<RouteChangeProvider>
|
|
133
|
+
<ErrorBoundary
|
|
134
|
+
renderError={(error) => {
|
|
135
|
+
console.error(error);
|
|
136
|
+
|
|
137
|
+
return (
|
|
138
|
+
<AppLayout>
|
|
139
|
+
<AppLayoutContent>
|
|
140
|
+
<Box
|
|
141
|
+
alignItems="center"
|
|
142
|
+
justifyContent="center"
|
|
143
|
+
>
|
|
144
|
+
<DefaultErrorMessage
|
|
145
|
+
title="Error"
|
|
146
|
+
description="An error occurred while rendering the app."
|
|
147
|
+
/>
|
|
148
|
+
</Box>
|
|
149
|
+
</AppLayoutContent>
|
|
150
|
+
</AppLayout>
|
|
151
|
+
);
|
|
152
|
+
}}
|
|
153
|
+
>
|
|
152
154
|
<Suspense fallback={<LoadingPage />}>
|
|
153
155
|
<ComponentLayout>
|
|
154
156
|
<Component {...pageProps} />
|
|
155
157
|
</ComponentLayout>
|
|
156
158
|
</Suspense>
|
|
157
|
-
</
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
)}
|
|
166
|
-
</TooltipProvider>
|
|
167
|
-
</ErrorBoundary>
|
|
159
|
+
</ErrorBoundary>
|
|
160
|
+
</RouteChangeProvider>
|
|
161
|
+
</PersistGate>
|
|
162
|
+
</ConnectedRouter>
|
|
163
|
+
<ToastContainer />
|
|
164
|
+
</Provider>
|
|
165
|
+
)}
|
|
166
|
+
</TooltipProvider>
|
|
168
167
|
</ThemeProvider>
|
|
169
168
|
</RemoveDarkMode>
|
|
170
169
|
</ThemeUIThemeProvider>
|
|
@@ -30,7 +30,7 @@ export const trigger = style([
|
|
|
30
30
|
"&:not(:last-child)": { marginRight: vars.space[16] },
|
|
31
31
|
'&[data-state="active"]': {
|
|
32
32
|
boxShadow: "inset 0 -1px 0 0 currentColor, 0 1px 0 0 currentColor",
|
|
33
|
-
color: vars.color.
|
|
33
|
+
color: vars.color.purple9,
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
36
|
},
|
|
@@ -117,7 +117,7 @@ export const repositoryLinkIcon = style([
|
|
|
117
117
|
}),
|
|
118
118
|
{
|
|
119
119
|
":focus": {
|
|
120
|
-
borderColor: vars.color.
|
|
120
|
+
borderColor: vars.color.purple8,
|
|
121
121
|
boxShadow: vars.boxShadow.focus,
|
|
122
122
|
},
|
|
123
123
|
},
|
|
@@ -208,13 +208,13 @@ export const link = style([
|
|
|
208
208
|
},
|
|
209
209
|
// Not Active & Focus
|
|
210
210
|
"&:not([data-active=true]):focus": {
|
|
211
|
-
borderColor: vars.color.
|
|
211
|
+
borderColor: vars.color.purple8,
|
|
212
212
|
},
|
|
213
213
|
// Active & Default
|
|
214
214
|
"&[data-active=true]": {
|
|
215
|
-
backgroundColor: vars.color.
|
|
216
|
-
borderColor: vars.color.
|
|
217
|
-
color: vars.color.
|
|
215
|
+
backgroundColor: vars.color.purple12,
|
|
216
|
+
borderColor: vars.color.purple8,
|
|
217
|
+
color: vars.color.purple8,
|
|
218
218
|
},
|
|
219
219
|
// Active & Hover
|
|
220
220
|
"&[data-active=true]:hover": {
|
|
@@ -222,7 +222,7 @@ export const link = style([
|
|
|
222
222
|
},
|
|
223
223
|
// Parent list item is open
|
|
224
224
|
'[data-state="open"] > &, [data-state="open"] > &:hover': {
|
|
225
|
-
borderColor: vars.color.
|
|
225
|
+
borderColor: vars.color.purple8,
|
|
226
226
|
boxShadow: vars.boxShadow.focus,
|
|
227
227
|
},
|
|
228
228
|
},
|
|
@@ -239,7 +239,7 @@ export const linkIcon = style([
|
|
|
239
239
|
},
|
|
240
240
|
// Active
|
|
241
241
|
[`${link}[data-active=true] &`]: {
|
|
242
|
-
fill: vars.color.
|
|
242
|
+
fill: vars.color.purple8,
|
|
243
243
|
},
|
|
244
244
|
},
|
|
245
245
|
},
|
|
@@ -283,9 +283,9 @@ export const rightElementPill = style([
|
|
|
283
283
|
selectors: {
|
|
284
284
|
// Not Active
|
|
285
285
|
[`${link}:not([data-active=true]) &`]: {
|
|
286
|
-
backgroundColor: vars.color.
|
|
287
|
-
borderColor: vars.color.
|
|
288
|
-
color: vars.color.
|
|
286
|
+
backgroundColor: vars.color.purple9,
|
|
287
|
+
borderColor: vars.color.purple8,
|
|
288
|
+
color: vars.color.purple12,
|
|
289
289
|
},
|
|
290
290
|
// Active
|
|
291
291
|
[`${link}[data-active=true] &`]: {
|
|
@@ -373,7 +373,7 @@ export const updateInfoLink = style([
|
|
|
373
373
|
fontWeight: 600,
|
|
374
374
|
lineHeight: "24px",
|
|
375
375
|
":focus": {
|
|
376
|
-
borderColor: vars.color.
|
|
376
|
+
borderColor: vars.color.purple8,
|
|
377
377
|
boxShadow: vars.boxShadow.focus,
|
|
378
378
|
},
|
|
379
379
|
selectors: {
|
|
@@ -14,7 +14,7 @@ export const LabsListItem: FC<LabsListItemProps> = ({
|
|
|
14
14
|
children,
|
|
15
15
|
}) => {
|
|
16
16
|
return (
|
|
17
|
-
<Card variant="outlined">
|
|
17
|
+
<Card variant="outlined" style={{ padding: 0 }}>
|
|
18
18
|
<Box gap={8} padding={16}>
|
|
19
19
|
<Box padding={{ top: 6 }}>
|
|
20
20
|
<Icon name="viewDay" size="medium" color="grey11" />
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,d,b,n,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,i,d,"static/chunks/pages/index-d8e3a2c0d712904f.js"],"/_error":["static/chunks/pages/_error-69b4f498bafdd188.js"],"/changelog":["static/chunks/870-0c7a8a9622de78b7.js","static/chunks/pages/changelog-fa36b9995c26e1d7.js"],"/changes":[a,"static/chunks/8eec4907-b712959d9f984b68.js","static/chunks/918-38d08f1e885b222d.js",s,e,"static/css/51597cd1f01c4889.css","static/chunks/pages/changes-e388be4457a43c3a.js"],"/custom-types":[c,i,d,"static/chunks/pages/custom-types-2f5664d9492b13fb.js"],"/custom-types/[customTypeId]":[b,s,c,t,n,u,"static/chunks/pages/custom-types/[customTypeId]-3a37eb3373bb8823.js"],"/labs":["static/chunks/pages/labs-ebce03a4e7a95a4e.js"],"/page-types/[pageTypeId]":[b,s,c,t,n,u,"static/chunks/pages/page-types/[pageTypeId]-733f3890c0466a05.js"],"/slices":[a,s,e,"static/css/867d8d7ab4a75762.css","static/chunks/pages/slices-22db04643850c1d8.js"],"/slices/[lib]/[sliceName]/[variation]":[a,s,e,t,"static/css/6e4843007ff41825.css","static/chunks/pages/slices/[lib]/[sliceName]/[variation]-2282320bb9091898.js"],"/slices/[lib]/[sliceName]/[variation]/simulator":[a,"static/chunks/72585f70-28b4d7d5384b3703.js","static/chunks/18539003-371d86ea83e7293b.js","static/chunks/125-f0e2eb84ee39757a.js","static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-dda1f32608129e23.js"],sortedPages:["/","/_app","/_error","/changelog","/changes","/custom-types","/custom-types/[customTypeId]","/labs","/page-types/[pageTypeId]","/slices","/slices/[lib]/[sliceName]/[variation]","/slices/[lib]/[sliceName]/[variation]/simulator"]}}("static/chunks/958-be627006594efb21.js","static/chunks/550-e72c08c598051224.js","static/chunks/c8eae200-966ce352f7b5d2b9.js","static/chunks/80-821a0b5d4ad61185.js","static/chunks/482-39cef3a713901788.js","static/chunks/840-884e41a48b92e5d3.js","static/css/16b41648cd1de03b.css","static/chunks/474-2393e400314474be.js","static/chunks/904-55ff54caf14254dc.js","static/css/3e88bd24e38f18d0.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|