@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.
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-types",
3
- "version": "3.12.0-experimental-91c6dca",
3
+ "version": "3.13.0",
4
4
  "description": "Dynamic Flow TypeScript Types",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {