@supernova-studio/client 0.57.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.d.mts CHANGED
@@ -30430,6 +30430,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
30430
30430
  showComponentName?: boolean | null | undefined;
30431
30431
  showComponentDescription?: boolean | null | undefined;
30432
30432
  showPropertyList?: boolean | null | undefined;
30433
+ previewOrderIds?: string[] | null | undefined;
30433
30434
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
30434
30435
  } | null | undefined;
30435
30436
  selectedFigmaComponent?: {
@@ -31021,6 +31022,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
31021
31022
  showComponentName?: boolean | null | undefined;
31022
31023
  showComponentDescription?: boolean | null | undefined;
31023
31024
  showPropertyList?: boolean | null | undefined;
31025
+ previewOrderIds?: string[] | null | undefined;
31024
31026
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
31025
31027
  } | null | undefined;
31026
31028
  selectedFigmaComponent?: {
@@ -31836,6 +31838,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
31836
31838
  showComponentName?: boolean | null | undefined;
31837
31839
  showComponentDescription?: boolean | null | undefined;
31838
31840
  showPropertyList?: boolean | null | undefined;
31841
+ previewOrderIds?: string[] | null | undefined;
31839
31842
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
31840
31843
  } | null | undefined;
31841
31844
  selectedFigmaComponent?: {
@@ -32080,6 +32083,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32080
32083
  showComponentName?: boolean | null | undefined;
32081
32084
  showComponentDescription?: boolean | null | undefined;
32082
32085
  showPropertyList?: boolean | null | undefined;
32086
+ previewOrderIds?: string[] | null | undefined;
32083
32087
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32084
32088
  } | null | undefined;
32085
32089
  selectedFigmaComponent?: {
@@ -32442,6 +32446,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32442
32446
  showComponentName?: boolean | null | undefined;
32443
32447
  showComponentDescription?: boolean | null | undefined;
32444
32448
  showPropertyList?: boolean | null | undefined;
32449
+ previewOrderIds?: string[] | null | undefined;
32445
32450
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32446
32451
  } | null | undefined;
32447
32452
  selectedFigmaComponent?: {
@@ -32686,6 +32691,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32686
32691
  showComponentName?: boolean | null | undefined;
32687
32692
  showComponentDescription?: boolean | null | undefined;
32688
32693
  showPropertyList?: boolean | null | undefined;
32694
+ previewOrderIds?: string[] | null | undefined;
32689
32695
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32690
32696
  } | null | undefined;
32691
32697
  selectedFigmaComponent?: {
package/dist/index.d.ts CHANGED
@@ -30430,6 +30430,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
30430
30430
  showComponentName?: boolean | null | undefined;
30431
30431
  showComponentDescription?: boolean | null | undefined;
30432
30432
  showPropertyList?: boolean | null | undefined;
30433
+ previewOrderIds?: string[] | null | undefined;
30433
30434
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
30434
30435
  } | null | undefined;
30435
30436
  selectedFigmaComponent?: {
@@ -31021,6 +31022,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
31021
31022
  showComponentName?: boolean | null | undefined;
31022
31023
  showComponentDescription?: boolean | null | undefined;
31023
31024
  showPropertyList?: boolean | null | undefined;
31025
+ previewOrderIds?: string[] | null | undefined;
31024
31026
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
31025
31027
  } | null | undefined;
31026
31028
  selectedFigmaComponent?: {
@@ -31836,6 +31838,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
31836
31838
  showComponentName?: boolean | null | undefined;
31837
31839
  showComponentDescription?: boolean | null | undefined;
31838
31840
  showPropertyList?: boolean | null | undefined;
31841
+ previewOrderIds?: string[] | null | undefined;
31839
31842
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
31840
31843
  } | null | undefined;
31841
31844
  selectedFigmaComponent?: {
@@ -32080,6 +32083,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32080
32083
  showComponentName?: boolean | null | undefined;
32081
32084
  showComponentDescription?: boolean | null | undefined;
32082
32085
  showPropertyList?: boolean | null | undefined;
32086
+ previewOrderIds?: string[] | null | undefined;
32083
32087
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32084
32088
  } | null | undefined;
32085
32089
  selectedFigmaComponent?: {
@@ -32442,6 +32446,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32442
32446
  showComponentName?: boolean | null | undefined;
32443
32447
  showComponentDescription?: boolean | null | undefined;
32444
32448
  showPropertyList?: boolean | null | undefined;
32449
+ previewOrderIds?: string[] | null | undefined;
32445
32450
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32446
32451
  } | null | undefined;
32447
32452
  selectedFigmaComponent?: {
@@ -32686,6 +32691,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
32686
32691
  showComponentName?: boolean | null | undefined;
32687
32692
  showComponentDescription?: boolean | null | undefined;
32688
32693
  showPropertyList?: boolean | null | undefined;
32694
+ previewOrderIds?: string[] | null | undefined;
32689
32695
  previewContainerSize?: "Centered" | "NaturalHeight" | null | undefined;
32690
32696
  } | null | undefined;
32691
32697
  selectedFigmaComponent?: {
package/dist/index.js CHANGED
@@ -1788,6 +1788,7 @@ var PageBlockFigmaComponentBlockConfig = _zod.z.object({
1788
1788
  showComponentName: nullishToOptional(_zod.z.boolean()),
1789
1789
  showComponentDescription: nullishToOptional(_zod.z.boolean()),
1790
1790
  showPropertyList: nullishToOptional(_zod.z.boolean()),
1791
+ previewOrderIds: nullishToOptional(_zod.z.array(_zod.z.string())),
1791
1792
  previewContainerSize: nullishToOptional(_zod.z.enum(["Centered", "NaturalHeight"])),
1792
1793
  backgroundColor: nullishToOptional(ColorTokenInlineData)
1793
1794
  });
@@ -2147,7 +2148,8 @@ var PageBlockDefinitionComponentOptions = _zod.z.object({
2147
2148
  allowPropertySelection: _zod.z.boolean().optional()
2148
2149
  });
2149
2150
  var PageBlockDefinitionFigmaComponentOptions = _zod.z.object({
2150
- renderLayoutAs: _zod.z.enum(["Grid", "PropsTable", "Canvas", "Playground"])
2151
+ renderLayoutAs: _zod.z.enum(["Grid", "PropsTable", "Canvas", "Playground"]),
2152
+ invertPropertySelection: _zod.z.boolean().optional()
2151
2153
  });
2152
2154
  var PageBlockDefinitionProperty = _zod.z.object({
2153
2155
  id: _zod.z.string(),
@@ -2249,6 +2251,7 @@ var PageBlockItemFigmaComponentValue = _zod.z.object({
2249
2251
  showComponentName: _zod.z.boolean().optional(),
2250
2252
  showComponentDescription: _zod.z.boolean().optional(),
2251
2253
  showPropertyList: _zod.z.boolean().optional(),
2254
+ previewOrderIds: _zod.z.array(_zod.z.string()).optional(),
2252
2255
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2253
2256
  backgroundColor: PageBlockColorV2.optional(),
2254
2257
  value: _zod.z.array(
@@ -11360,7 +11363,8 @@ var blocks = [
11360
11363
  name: "Figma component",
11361
11364
  type: "FigmaComponent",
11362
11365
  options: {
11363
- renderLayoutAs: "PropsTable"
11366
+ renderLayoutAs: "PropsTable",
11367
+ invertPropertySelection: true
11364
11368
  }
11365
11369
  }
11366
11370
  ],