@supernova-studio/client 0.56.0 → 0.57.1

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.js CHANGED
@@ -298,7 +298,8 @@ var FeaturesSummary = _zod.z.object({
298
298
  protectedPages: featureToggleSchema,
299
299
  approvals: featureToggleSchema,
300
300
  selectivePublishing: featureToggleSchema,
301
- designSystemAccessModes: featureToggleSchema
301
+ designSystemAccessModes: featureToggleSchema,
302
+ designSystemRoles: featureToggleSchema
302
303
  });
303
304
  var InvoiceSchema = _zod.z.object({
304
305
  id: _zod.z.string(),
@@ -1787,6 +1788,7 @@ var PageBlockFigmaComponentBlockConfig = _zod.z.object({
1787
1788
  showComponentName: nullishToOptional(_zod.z.boolean()),
1788
1789
  showComponentDescription: nullishToOptional(_zod.z.boolean()),
1789
1790
  showPropertyList: nullishToOptional(_zod.z.boolean()),
1791
+ previewOrderIds: nullishToOptional(_zod.z.array(_zod.z.string())),
1790
1792
  previewContainerSize: nullishToOptional(_zod.z.enum(["Centered", "NaturalHeight"])),
1791
1793
  backgroundColor: nullishToOptional(ColorTokenInlineData)
1792
1794
  });
@@ -2146,7 +2148,8 @@ var PageBlockDefinitionComponentOptions = _zod.z.object({
2146
2148
  allowPropertySelection: _zod.z.boolean().optional()
2147
2149
  });
2148
2150
  var PageBlockDefinitionFigmaComponentOptions = _zod.z.object({
2149
- renderLayoutAs: _zod.z.enum(["Grid", "PropsTable", "Canvas", "Playground"])
2151
+ renderLayoutAs: _zod.z.enum(["Grid", "PropsTable", "Canvas", "Playground"]),
2152
+ invertPropertySelection: _zod.z.boolean().optional()
2150
2153
  });
2151
2154
  var PageBlockDefinitionProperty = _zod.z.object({
2152
2155
  id: _zod.z.string(),
@@ -2248,6 +2251,7 @@ var PageBlockItemFigmaComponentValue = _zod.z.object({
2248
2251
  showComponentName: _zod.z.boolean().optional(),
2249
2252
  showComponentDescription: _zod.z.boolean().optional(),
2250
2253
  showPropertyList: _zod.z.boolean().optional(),
2254
+ previewOrderIds: _zod.z.array(_zod.z.string()).optional(),
2251
2255
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2252
2256
  backgroundColor: PageBlockColorV2.optional(),
2253
2257
  value: _zod.z.array(
@@ -3205,7 +3209,8 @@ var FigmaImportBaseContext = _zod.z.object({
3205
3209
  });
3206
3210
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
3207
3211
  sourcesWithMissingAccess: _zod.z.array(_zod.z.string()).default([]),
3208
- shadowOpacityOptional: _zod.z.boolean().default(false)
3212
+ shadowOpacityOptional: _zod.z.boolean().default(false),
3213
+ typographyPropsKeepAliases: _zod.z.boolean().default(false)
3209
3214
  });
3210
3215
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
3211
3216
  importMetadata: DataSourceFigmaImportMetadata
@@ -4518,7 +4523,13 @@ var ExporterWorkspaceMembership = _zod.z.object({
4518
4523
  exporterId: _zod.z.string(),
4519
4524
  role: ExporterWorkspaceMembershipRole
4520
4525
  });
4521
- var FlaggedFeature = _zod.z.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter", "VariablesOrder"]);
4526
+ var FlaggedFeature = _zod.z.enum([
4527
+ "FigmaImporterV2",
4528
+ "ShadowOpacityOptional",
4529
+ "DisableImporter",
4530
+ "VariablesOrder",
4531
+ "TypographyPropsKeepAliases"
4532
+ ]);
4522
4533
  var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
4523
4534
  var FeatureFlag = _zod.z.object({
4524
4535
  id: _zod.z.string(),
@@ -11352,7 +11363,8 @@ var blocks = [
11352
11363
  name: "Figma component",
11353
11364
  type: "FigmaComponent",
11354
11365
  options: {
11355
- renderLayoutAs: "PropsTable"
11366
+ renderLayoutAs: "PropsTable",
11367
+ invertPropertySelection: true
11356
11368
  }
11357
11369
  }
11358
11370
  ],