@wise/dynamic-flow-types 3.12.0-experimental-91c6dca → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main.js +706 -693
- package/build/main.mjs +706 -693
- package/build/next/feature/toolbar/Toolbar.d.ts +5 -5
- package/build/next/index.d.ts +1 -0
- package/build/next/layout/Layout.d.ts +2 -1
- package/build/next/layout/ProgressLayout.d.ts +48 -0
- package/build/renderers/ProgressRendererProps.d.ts +13 -0
- package/build/renderers/RendererProps.d.ts +3 -2
- package/build/renderers/index.d.ts +1 -0
- package/build/zod/schemas.d.ts +1423 -1379
- package/build/zod/schemas.ts +15 -1
- package/package.json +1 -1
package/build/zod/schemas.ts
CHANGED
|
@@ -328,6 +328,19 @@ export const markdownLayoutSchema = z.object({
|
|
|
328
328
|
analyticsId: z.string().optional(),
|
|
329
329
|
});
|
|
330
330
|
|
|
331
|
+
export const progressLayoutSchema = z.object({
|
|
332
|
+
type: z.literal('progress'),
|
|
333
|
+
title: z.string().optional(),
|
|
334
|
+
description: z.string().optional(),
|
|
335
|
+
progress: z.number(),
|
|
336
|
+
progressText: z.string(),
|
|
337
|
+
context: contextSchema.optional(),
|
|
338
|
+
help: helpSchema.optional(),
|
|
339
|
+
control: z.string().optional(),
|
|
340
|
+
margin: sizeSchema.optional(),
|
|
341
|
+
analyticsId: z.string().optional(),
|
|
342
|
+
});
|
|
343
|
+
|
|
331
344
|
export const searchLayoutSchema = z.object({
|
|
332
345
|
type: z.literal('search'),
|
|
333
346
|
title: z.string(),
|
|
@@ -938,6 +951,7 @@ export const layoutSchema: z.ZodSchema<Layout> = z.lazy(() =>
|
|
|
938
951
|
markdownLayoutSchema,
|
|
939
952
|
modalLayoutSchema,
|
|
940
953
|
paragraphLayoutSchema,
|
|
954
|
+
progressLayoutSchema,
|
|
941
955
|
reviewLayoutSchema,
|
|
942
956
|
searchLayoutSchema,
|
|
943
957
|
sectionLayoutSchema,
|
|
@@ -964,8 +978,8 @@ export const toolbarButtonSchema: z.ZodSchema<ToolbarButton> = z.lazy(() =>
|
|
|
964
978
|
|
|
965
979
|
export const toolbarSchema: z.ZodSchema<Toolbar> = z.lazy(() =>
|
|
966
980
|
z.object({
|
|
967
|
-
control: z.string().optional(),
|
|
968
981
|
items: z.array(toolbarItemSchema),
|
|
982
|
+
control: z.string().optional(),
|
|
969
983
|
}),
|
|
970
984
|
);
|
|
971
985
|
|