@supernova-studio/client 0.12.0 → 0.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/dist/index.d.mts CHANGED
@@ -6921,13 +6921,28 @@ declare const PageBlockEditorModel: z.ZodObject<{
6921
6921
  variantId: z.ZodOptional<z.ZodString>;
6922
6922
  indentLevel: z.ZodNumber;
6923
6923
  appearance: z.ZodOptional<z.ZodObject<{
6924
- itemBackgroundColor: z.ZodOptional<z.ZodString>;
6924
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
6925
+ value: z.ZodString;
6926
+ referencedTokenId: z.ZodOptional<z.ZodString>;
6927
+ }, "strip", z.ZodTypeAny, {
6928
+ value: string;
6929
+ referencedTokenId?: string | undefined;
6930
+ }, {
6931
+ value: string;
6932
+ referencedTokenId?: string | undefined;
6933
+ }>>;
6925
6934
  numberOfColumns: z.ZodOptional<z.ZodNumber>;
6926
6935
  }, "strip", z.ZodTypeAny, {
6927
- itemBackgroundColor?: string | undefined;
6936
+ itemBackgroundColor?: {
6937
+ value: string;
6938
+ referencedTokenId?: string | undefined;
6939
+ } | undefined;
6928
6940
  numberOfColumns?: number | undefined;
6929
6941
  }, {
6930
- itemBackgroundColor?: string | undefined;
6942
+ itemBackgroundColor?: {
6943
+ value: string;
6944
+ referencedTokenId?: string | undefined;
6945
+ } | undefined;
6931
6946
  numberOfColumns?: number | undefined;
6932
6947
  }>>;
6933
6948
  items: z.ZodArray<z.ZodObject<{
@@ -7001,7 +7016,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7001
7016
  }[];
7002
7017
  variantId?: string | undefined;
7003
7018
  appearance?: {
7004
- itemBackgroundColor?: string | undefined;
7019
+ itemBackgroundColor?: {
7020
+ value: string;
7021
+ referencedTokenId?: string | undefined;
7022
+ } | undefined;
7005
7023
  numberOfColumns?: number | undefined;
7006
7024
  } | undefined;
7007
7025
  }, {
@@ -7022,7 +7040,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7022
7040
  }[];
7023
7041
  variantId?: string | undefined;
7024
7042
  appearance?: {
7025
- itemBackgroundColor?: string | undefined;
7043
+ itemBackgroundColor?: {
7044
+ value: string;
7045
+ referencedTokenId?: string | undefined;
7046
+ } | undefined;
7026
7047
  numberOfColumns?: number | undefined;
7027
7048
  } | undefined;
7028
7049
  }>;
@@ -7046,7 +7067,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7046
7067
  }[];
7047
7068
  variantId?: string | undefined;
7048
7069
  appearance?: {
7049
- itemBackgroundColor?: string | undefined;
7070
+ itemBackgroundColor?: {
7071
+ value: string;
7072
+ referencedTokenId?: string | undefined;
7073
+ } | undefined;
7050
7074
  numberOfColumns?: number | undefined;
7051
7075
  } | undefined;
7052
7076
  };
@@ -7070,7 +7094,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7070
7094
  }[];
7071
7095
  variantId?: string | undefined;
7072
7096
  appearance?: {
7073
- itemBackgroundColor?: string | undefined;
7097
+ itemBackgroundColor?: {
7098
+ value: string;
7099
+ referencedTokenId?: string | undefined;
7100
+ } | undefined;
7074
7101
  numberOfColumns?: number | undefined;
7075
7102
  } | undefined;
7076
7103
  };
@@ -7085,13 +7112,28 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7085
7112
  variantId: z.ZodOptional<z.ZodString>;
7086
7113
  indentLevel: z.ZodNumber;
7087
7114
  appearance: z.ZodOptional<z.ZodObject<{
7088
- itemBackgroundColor: z.ZodOptional<z.ZodString>;
7115
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
7116
+ value: z.ZodString;
7117
+ referencedTokenId: z.ZodOptional<z.ZodString>;
7118
+ }, "strip", z.ZodTypeAny, {
7119
+ value: string;
7120
+ referencedTokenId?: string | undefined;
7121
+ }, {
7122
+ value: string;
7123
+ referencedTokenId?: string | undefined;
7124
+ }>>;
7089
7125
  numberOfColumns: z.ZodOptional<z.ZodNumber>;
7090
7126
  }, "strip", z.ZodTypeAny, {
7091
- itemBackgroundColor?: string | undefined;
7127
+ itemBackgroundColor?: {
7128
+ value: string;
7129
+ referencedTokenId?: string | undefined;
7130
+ } | undefined;
7092
7131
  numberOfColumns?: number | undefined;
7093
7132
  }, {
7094
- itemBackgroundColor?: string | undefined;
7133
+ itemBackgroundColor?: {
7134
+ value: string;
7135
+ referencedTokenId?: string | undefined;
7136
+ } | undefined;
7095
7137
  numberOfColumns?: number | undefined;
7096
7138
  }>>;
7097
7139
  items: z.ZodArray<z.ZodObject<{
@@ -7165,7 +7207,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7165
7207
  }[];
7166
7208
  variantId?: string | undefined;
7167
7209
  appearance?: {
7168
- itemBackgroundColor?: string | undefined;
7210
+ itemBackgroundColor?: {
7211
+ value: string;
7212
+ referencedTokenId?: string | undefined;
7213
+ } | undefined;
7169
7214
  numberOfColumns?: number | undefined;
7170
7215
  } | undefined;
7171
7216
  }, {
@@ -7186,7 +7231,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7186
7231
  }[];
7187
7232
  variantId?: string | undefined;
7188
7233
  appearance?: {
7189
- itemBackgroundColor?: string | undefined;
7234
+ itemBackgroundColor?: {
7235
+ value: string;
7236
+ referencedTokenId?: string | undefined;
7237
+ } | undefined;
7190
7238
  numberOfColumns?: number | undefined;
7191
7239
  } | undefined;
7192
7240
  }>;
@@ -7210,7 +7258,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7210
7258
  }[];
7211
7259
  variantId?: string | undefined;
7212
7260
  appearance?: {
7213
- itemBackgroundColor?: string | undefined;
7261
+ itemBackgroundColor?: {
7262
+ value: string;
7263
+ referencedTokenId?: string | undefined;
7264
+ } | undefined;
7214
7265
  numberOfColumns?: number | undefined;
7215
7266
  } | undefined;
7216
7267
  };
@@ -7234,7 +7285,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7234
7285
  }[];
7235
7286
  variantId?: string | undefined;
7236
7287
  appearance?: {
7237
- itemBackgroundColor?: string | undefined;
7288
+ itemBackgroundColor?: {
7289
+ value: string;
7290
+ referencedTokenId?: string | undefined;
7291
+ } | undefined;
7238
7292
  numberOfColumns?: number | undefined;
7239
7293
  } | undefined;
7240
7294
  };
@@ -7260,7 +7314,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7260
7314
  }[];
7261
7315
  variantId?: string | undefined;
7262
7316
  appearance?: {
7263
- itemBackgroundColor?: string | undefined;
7317
+ itemBackgroundColor?: {
7318
+ value: string;
7319
+ referencedTokenId?: string | undefined;
7320
+ } | undefined;
7264
7321
  numberOfColumns?: number | undefined;
7265
7322
  } | undefined;
7266
7323
  };
@@ -7286,7 +7343,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7286
7343
  }[];
7287
7344
  variantId?: string | undefined;
7288
7345
  appearance?: {
7289
- itemBackgroundColor?: string | undefined;
7346
+ itemBackgroundColor?: {
7347
+ value: string;
7348
+ referencedTokenId?: string | undefined;
7349
+ } | undefined;
7290
7350
  numberOfColumns?: number | undefined;
7291
7351
  } | undefined;
7292
7352
  };
package/dist/index.d.ts CHANGED
@@ -6921,13 +6921,28 @@ declare const PageBlockEditorModel: z.ZodObject<{
6921
6921
  variantId: z.ZodOptional<z.ZodString>;
6922
6922
  indentLevel: z.ZodNumber;
6923
6923
  appearance: z.ZodOptional<z.ZodObject<{
6924
- itemBackgroundColor: z.ZodOptional<z.ZodString>;
6924
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
6925
+ value: z.ZodString;
6926
+ referencedTokenId: z.ZodOptional<z.ZodString>;
6927
+ }, "strip", z.ZodTypeAny, {
6928
+ value: string;
6929
+ referencedTokenId?: string | undefined;
6930
+ }, {
6931
+ value: string;
6932
+ referencedTokenId?: string | undefined;
6933
+ }>>;
6925
6934
  numberOfColumns: z.ZodOptional<z.ZodNumber>;
6926
6935
  }, "strip", z.ZodTypeAny, {
6927
- itemBackgroundColor?: string | undefined;
6936
+ itemBackgroundColor?: {
6937
+ value: string;
6938
+ referencedTokenId?: string | undefined;
6939
+ } | undefined;
6928
6940
  numberOfColumns?: number | undefined;
6929
6941
  }, {
6930
- itemBackgroundColor?: string | undefined;
6942
+ itemBackgroundColor?: {
6943
+ value: string;
6944
+ referencedTokenId?: string | undefined;
6945
+ } | undefined;
6931
6946
  numberOfColumns?: number | undefined;
6932
6947
  }>>;
6933
6948
  items: z.ZodArray<z.ZodObject<{
@@ -7001,7 +7016,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7001
7016
  }[];
7002
7017
  variantId?: string | undefined;
7003
7018
  appearance?: {
7004
- itemBackgroundColor?: string | undefined;
7019
+ itemBackgroundColor?: {
7020
+ value: string;
7021
+ referencedTokenId?: string | undefined;
7022
+ } | undefined;
7005
7023
  numberOfColumns?: number | undefined;
7006
7024
  } | undefined;
7007
7025
  }, {
@@ -7022,7 +7040,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7022
7040
  }[];
7023
7041
  variantId?: string | undefined;
7024
7042
  appearance?: {
7025
- itemBackgroundColor?: string | undefined;
7043
+ itemBackgroundColor?: {
7044
+ value: string;
7045
+ referencedTokenId?: string | undefined;
7046
+ } | undefined;
7026
7047
  numberOfColumns?: number | undefined;
7027
7048
  } | undefined;
7028
7049
  }>;
@@ -7046,7 +7067,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7046
7067
  }[];
7047
7068
  variantId?: string | undefined;
7048
7069
  appearance?: {
7049
- itemBackgroundColor?: string | undefined;
7070
+ itemBackgroundColor?: {
7071
+ value: string;
7072
+ referencedTokenId?: string | undefined;
7073
+ } | undefined;
7050
7074
  numberOfColumns?: number | undefined;
7051
7075
  } | undefined;
7052
7076
  };
@@ -7070,7 +7094,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
7070
7094
  }[];
7071
7095
  variantId?: string | undefined;
7072
7096
  appearance?: {
7073
- itemBackgroundColor?: string | undefined;
7097
+ itemBackgroundColor?: {
7098
+ value: string;
7099
+ referencedTokenId?: string | undefined;
7100
+ } | undefined;
7074
7101
  numberOfColumns?: number | undefined;
7075
7102
  } | undefined;
7076
7103
  };
@@ -7085,13 +7112,28 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7085
7112
  variantId: z.ZodOptional<z.ZodString>;
7086
7113
  indentLevel: z.ZodNumber;
7087
7114
  appearance: z.ZodOptional<z.ZodObject<{
7088
- itemBackgroundColor: z.ZodOptional<z.ZodString>;
7115
+ itemBackgroundColor: z.ZodOptional<z.ZodObject<{
7116
+ value: z.ZodString;
7117
+ referencedTokenId: z.ZodOptional<z.ZodString>;
7118
+ }, "strip", z.ZodTypeAny, {
7119
+ value: string;
7120
+ referencedTokenId?: string | undefined;
7121
+ }, {
7122
+ value: string;
7123
+ referencedTokenId?: string | undefined;
7124
+ }>>;
7089
7125
  numberOfColumns: z.ZodOptional<z.ZodNumber>;
7090
7126
  }, "strip", z.ZodTypeAny, {
7091
- itemBackgroundColor?: string | undefined;
7127
+ itemBackgroundColor?: {
7128
+ value: string;
7129
+ referencedTokenId?: string | undefined;
7130
+ } | undefined;
7092
7131
  numberOfColumns?: number | undefined;
7093
7132
  }, {
7094
- itemBackgroundColor?: string | undefined;
7133
+ itemBackgroundColor?: {
7134
+ value: string;
7135
+ referencedTokenId?: string | undefined;
7136
+ } | undefined;
7095
7137
  numberOfColumns?: number | undefined;
7096
7138
  }>>;
7097
7139
  items: z.ZodArray<z.ZodObject<{
@@ -7165,7 +7207,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7165
7207
  }[];
7166
7208
  variantId?: string | undefined;
7167
7209
  appearance?: {
7168
- itemBackgroundColor?: string | undefined;
7210
+ itemBackgroundColor?: {
7211
+ value: string;
7212
+ referencedTokenId?: string | undefined;
7213
+ } | undefined;
7169
7214
  numberOfColumns?: number | undefined;
7170
7215
  } | undefined;
7171
7216
  }, {
@@ -7186,7 +7231,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7186
7231
  }[];
7187
7232
  variantId?: string | undefined;
7188
7233
  appearance?: {
7189
- itemBackgroundColor?: string | undefined;
7234
+ itemBackgroundColor?: {
7235
+ value: string;
7236
+ referencedTokenId?: string | undefined;
7237
+ } | undefined;
7190
7238
  numberOfColumns?: number | undefined;
7191
7239
  } | undefined;
7192
7240
  }>;
@@ -7210,7 +7258,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7210
7258
  }[];
7211
7259
  variantId?: string | undefined;
7212
7260
  appearance?: {
7213
- itemBackgroundColor?: string | undefined;
7261
+ itemBackgroundColor?: {
7262
+ value: string;
7263
+ referencedTokenId?: string | undefined;
7264
+ } | undefined;
7214
7265
  numberOfColumns?: number | undefined;
7215
7266
  } | undefined;
7216
7267
  };
@@ -7234,7 +7285,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7234
7285
  }[];
7235
7286
  variantId?: string | undefined;
7236
7287
  appearance?: {
7237
- itemBackgroundColor?: string | undefined;
7288
+ itemBackgroundColor?: {
7289
+ value: string;
7290
+ referencedTokenId?: string | undefined;
7291
+ } | undefined;
7238
7292
  numberOfColumns?: number | undefined;
7239
7293
  } | undefined;
7240
7294
  };
@@ -7260,7 +7314,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7260
7314
  }[];
7261
7315
  variantId?: string | undefined;
7262
7316
  appearance?: {
7263
- itemBackgroundColor?: string | undefined;
7317
+ itemBackgroundColor?: {
7318
+ value: string;
7319
+ referencedTokenId?: string | undefined;
7320
+ } | undefined;
7264
7321
  numberOfColumns?: number | undefined;
7265
7322
  } | undefined;
7266
7323
  };
@@ -7286,7 +7343,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
7286
7343
  }[];
7287
7344
  variantId?: string | undefined;
7288
7345
  appearance?: {
7289
- itemBackgroundColor?: string | undefined;
7346
+ itemBackgroundColor?: {
7347
+ value: string;
7348
+ referencedTokenId?: string | undefined;
7349
+ } | undefined;
7290
7350
  numberOfColumns?: number | undefined;
7291
7351
  } | undefined;
7292
7352
  };
package/dist/index.js CHANGED
@@ -882,7 +882,10 @@ var PageBlockImageAlignment = _zod.z.enum(["Left", "Center", "Stretch"]);
882
882
  var PageBlockTableCellAlignment = _zod.z.enum(["Left", "Center", "Right"]);
883
883
  var PageBlockPreviewContainerSize = _zod.z.enum(["Centered", "NaturalHeight"]);
884
884
  var PageBlockThemeDisplayMode = _zod.z.enum(["Split", "Override"]);
885
- var PageBlockColorV2 = _zod.z.string();
885
+ var PageBlockColorV2 = _zod.z.object({
886
+ value: _zod.z.string(),
887
+ referencedTokenId: _zod.z.string().optional()
888
+ });
886
889
  var PageBlockAppearanceV2 = _zod.z.object({
887
890
  itemBackgroundColor: PageBlockColorV2.optional(),
888
891
  numberOfColumns: _zod.z.number().optional()