@supernova-studio/model 0.54.16 → 0.54.17

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
@@ -36318,6 +36318,7 @@ declare const ComponentElementData: z.ZodObject<{
36318
36318
  name: string;
36319
36319
  defaultValue: string;
36320
36320
  }> | null | undefined>;
36321
+ variantPropertyValues: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, z.ZodTypeDef, Record<string, string>>>>, Record<string, string> | undefined, Record<string, string> | null | undefined>;
36321
36322
  }, "strip", z.ZodTypeAny, {
36322
36323
  thumbnailImage: {
36323
36324
  value: {
@@ -36354,6 +36355,7 @@ declare const ComponentElementData: z.ZodObject<{
36354
36355
  name: string;
36355
36356
  defaultValue: string;
36356
36357
  }> | undefined;
36358
+ variantPropertyValues?: Record<string, string> | undefined;
36357
36359
  }, {
36358
36360
  thumbnailImage: {
36359
36361
  value: {
@@ -36390,6 +36392,7 @@ declare const ComponentElementData: z.ZodObject<{
36390
36392
  name: string;
36391
36393
  defaultValue: string;
36392
36394
  }> | null | undefined;
36395
+ variantPropertyValues?: Record<string, string> | null | undefined;
36393
36396
  }>;
36394
36397
  }, "strip", z.ZodTypeAny, {
36395
36398
  value: {
@@ -36428,6 +36431,7 @@ declare const ComponentElementData: z.ZodObject<{
36428
36431
  name: string;
36429
36432
  defaultValue: string;
36430
36433
  }> | undefined;
36434
+ variantPropertyValues?: Record<string, string> | undefined;
36431
36435
  };
36432
36436
  }, {
36433
36437
  value: {
@@ -36466,6 +36470,7 @@ declare const ComponentElementData: z.ZodObject<{
36466
36470
  name: string;
36467
36471
  defaultValue: string;
36468
36472
  }> | null | undefined;
36473
+ variantPropertyValues?: Record<string, string> | null | undefined;
36469
36474
  };
36470
36475
  }>;
36471
36476
  type ComponentElementData = z.infer<typeof ComponentElementData>;
@@ -55174,6 +55179,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55174
55179
  name: string;
55175
55180
  defaultValue: string;
55176
55181
  }>]>>>;
55182
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
55177
55183
  svg: z.ZodOptional<z.ZodObject<{
55178
55184
  assetId: z.ZodString;
55179
55185
  assetPath: z.ZodString;
@@ -55239,6 +55245,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55239
55245
  name: string;
55240
55246
  defaultValue: string;
55241
55247
  }> | undefined;
55248
+ variantPropertyValues?: Record<string, string> | undefined;
55242
55249
  }, {
55243
55250
  id: string;
55244
55251
  createdAt: Date;
@@ -55292,6 +55299,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55292
55299
  name: string;
55293
55300
  defaultValue: string;
55294
55301
  }> | undefined;
55302
+ variantPropertyValues?: Record<string, string> | undefined;
55295
55303
  }>;
55296
55304
  type FigmaComponent = z.infer<typeof FigmaComponent>;
55297
55305
  declare const FigmaComponentOrigin: z.ZodObject<z.objectUtil.extendShape<{
@@ -55321,7 +55329,6 @@ type FigmaComponentOrigin = z.infer<typeof FigmaComponentOrigin>;
55321
55329
  type ImportedFigmaComponent = OmitStrict<FigmaComponent, "origin"> & {
55322
55330
  origin: FigmaComponentOrigin;
55323
55331
  };
55324
- declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
55325
55332
  type CreateFigmaComponent = DbCreateInputOmit<FigmaComponent>;
55326
55333
  type UpdateFigmaComponent = OmitStrict<DbUpdate<FigmaComponent>, "brandPersistentId" | "designSystemVersionId">;
55327
55334
  type FigmaComponentDiff = {
@@ -55329,6 +55336,7 @@ type FigmaComponentDiff = {
55329
55336
  toUpdate: UpdateFigmaComponent[];
55330
55337
  toDelete: FigmaComponent["id"][];
55331
55338
  };
55339
+ declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
55332
55340
 
55333
55341
  declare const FigmaFileStructureOrigin: z.ZodObject<{
55334
55342
  sourceId: z.ZodString;
@@ -81378,6 +81386,7 @@ declare const ImportModelCollection: z.ZodObject<{
81378
81386
  name: string;
81379
81387
  defaultValue: string;
81380
81388
  }>]>>>;
81389
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81381
81390
  }>, {
81382
81391
  isAsset: z.ZodBoolean;
81383
81392
  svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -81502,6 +81511,7 @@ declare const ImportModelCollection: z.ZodObject<{
81502
81511
  name: string;
81503
81512
  defaultValue: string;
81504
81513
  }> | undefined;
81514
+ variantPropertyValues?: Record<string, string> | undefined;
81505
81515
  parentComponentId?: string | undefined;
81506
81516
  }, {
81507
81517
  id: string;
@@ -81575,6 +81585,7 @@ declare const ImportModelCollection: z.ZodObject<{
81575
81585
  name: string;
81576
81586
  defaultValue: string;
81577
81587
  }> | undefined;
81588
+ variantPropertyValues?: Record<string, string> | undefined;
81578
81589
  parentComponentId?: string | undefined;
81579
81590
  }>, "many">>;
81580
81591
  themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -88553,6 +88564,7 @@ declare const ImportModelCollection: z.ZodObject<{
88553
88564
  name: string;
88554
88565
  defaultValue: string;
88555
88566
  }> | undefined;
88567
+ variantPropertyValues?: Record<string, string> | undefined;
88556
88568
  parentComponentId?: string | undefined;
88557
88569
  }[];
88558
88570
  sources: {
@@ -89906,6 +89918,7 @@ declare const ImportModelCollection: z.ZodObject<{
89906
89918
  name: string;
89907
89919
  defaultValue: string;
89908
89920
  }> | undefined;
89921
+ variantPropertyValues?: Record<string, string> | undefined;
89909
89922
  parentComponentId?: string | undefined;
89910
89923
  }[] | undefined;
89911
89924
  tokens?: (({
@@ -93168,6 +93181,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93168
93181
  name: string;
93169
93182
  defaultValue: string;
93170
93183
  }>]>>>;
93184
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
93171
93185
  }>, {
93172
93186
  originMetadata: z.ZodObject<{
93173
93187
  nodeId: z.ZodOptional<z.ZodString>;
@@ -93240,6 +93254,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93240
93254
  name: string;
93241
93255
  defaultValue: string;
93242
93256
  }> | undefined;
93257
+ variantPropertyValues?: Record<string, string> | undefined;
93243
93258
  parentComponentId?: string | undefined;
93244
93259
  }, {
93245
93260
  id: string;
@@ -93299,6 +93314,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93299
93314
  name: string;
93300
93315
  defaultValue: string;
93301
93316
  }> | undefined;
93317
+ variantPropertyValues?: Record<string, string> | undefined;
93302
93318
  parentComponentId?: string | undefined;
93303
93319
  }>, "many">>;
93304
93320
  assets: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
@@ -93477,6 +93493,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93477
93493
  name: string;
93478
93494
  defaultValue: string;
93479
93495
  }>]>>>;
93496
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
93480
93497
  }>, {
93481
93498
  svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
93482
93499
  scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
@@ -93585,6 +93602,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93585
93602
  name: string;
93586
93603
  defaultValue: string;
93587
93604
  }> | undefined;
93605
+ variantPropertyValues?: Record<string, string> | undefined;
93588
93606
  parentComponentId?: string | undefined;
93589
93607
  }, {
93590
93608
  id: string;
@@ -93653,6 +93671,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93653
93671
  name: string;
93654
93672
  defaultValue: string;
93655
93673
  }> | undefined;
93674
+ variantPropertyValues?: Record<string, string> | undefined;
93656
93675
  parentComponentId?: string | undefined;
93657
93676
  }>, "many">>;
93658
93677
  themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -100551,6 +100570,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100551
100570
  name: string;
100552
100571
  defaultValue: string;
100553
100572
  }> | undefined;
100573
+ variantPropertyValues?: Record<string, string> | undefined;
100554
100574
  parentComponentId?: string | undefined;
100555
100575
  }[];
100556
100576
  components: {
@@ -100611,6 +100631,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100611
100631
  name: string;
100612
100632
  defaultValue: string;
100613
100633
  }> | undefined;
100634
+ variantPropertyValues?: Record<string, string> | undefined;
100614
100635
  parentComponentId?: string | undefined;
100615
100636
  }[];
100616
100637
  tokens: (({
@@ -101859,6 +101880,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
101859
101880
  name: string;
101860
101881
  defaultValue: string;
101861
101882
  }> | undefined;
101883
+ variantPropertyValues?: Record<string, string> | undefined;
101862
101884
  parentComponentId?: string | undefined;
101863
101885
  }[] | undefined;
101864
101886
  components?: {
@@ -101919,6 +101941,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
101919
101941
  name: string;
101920
101942
  defaultValue: string;
101921
101943
  }> | undefined;
101944
+ variantPropertyValues?: Record<string, string> | undefined;
101922
101945
  parentComponentId?: string | undefined;
101923
101946
  }[] | undefined;
101924
101947
  tokens?: (({
@@ -102919,6 +102942,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
102919
102942
  name: string;
102920
102943
  defaultValue: string;
102921
102944
  }>]>>>;
102945
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
102922
102946
  }>, {
102923
102947
  isAsset: z.ZodBoolean;
102924
102948
  svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -103043,6 +103067,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
103043
103067
  name: string;
103044
103068
  defaultValue: string;
103045
103069
  }> | undefined;
103070
+ variantPropertyValues?: Record<string, string> | undefined;
103046
103071
  parentComponentId?: string | undefined;
103047
103072
  }, {
103048
103073
  id: string;
@@ -103116,6 +103141,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
103116
103141
  name: string;
103117
103142
  defaultValue: string;
103118
103143
  }> | undefined;
103144
+ variantPropertyValues?: Record<string, string> | undefined;
103119
103145
  parentComponentId?: string | undefined;
103120
103146
  }>;
103121
103147
  type FigmaComponentImportModel = z.infer<typeof FigmaComponentImportModel>;
@@ -103295,6 +103321,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103295
103321
  name: string;
103296
103322
  defaultValue: string;
103297
103323
  }>]>>>;
103324
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
103298
103325
  }>, {
103299
103326
  originMetadata: z.ZodObject<{
103300
103327
  nodeId: z.ZodOptional<z.ZodString>;
@@ -103367,6 +103394,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103367
103394
  name: string;
103368
103395
  defaultValue: string;
103369
103396
  }> | undefined;
103397
+ variantPropertyValues?: Record<string, string> | undefined;
103370
103398
  parentComponentId?: string | undefined;
103371
103399
  }, {
103372
103400
  id: string;
@@ -103426,6 +103454,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103426
103454
  name: string;
103427
103455
  defaultValue: string;
103428
103456
  }> | undefined;
103457
+ variantPropertyValues?: Record<string, string> | undefined;
103429
103458
  parentComponentId?: string | undefined;
103430
103459
  }>;
103431
103460
  type FigmaComponentImportModelInput = z.infer<typeof FigmaComponentImportModelInput>;
@@ -103605,6 +103634,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103605
103634
  name: string;
103606
103635
  defaultValue: string;
103607
103636
  }>]>>>;
103637
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
103608
103638
  }>, {
103609
103639
  svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
103610
103640
  scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
@@ -103713,6 +103743,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103713
103743
  name: string;
103714
103744
  defaultValue: string;
103715
103745
  }> | undefined;
103746
+ variantPropertyValues?: Record<string, string> | undefined;
103716
103747
  parentComponentId?: string | undefined;
103717
103748
  }, {
103718
103749
  id: string;
@@ -103781,6 +103812,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103781
103812
  name: string;
103782
103813
  defaultValue: string;
103783
103814
  }> | undefined;
103815
+ variantPropertyValues?: Record<string, string> | undefined;
103784
103816
  parentComponentId?: string | undefined;
103785
103817
  }>;
103786
103818
  type AssetImportModelInput = z.infer<typeof AssetImportModelInput>;
package/dist/index.d.ts CHANGED
@@ -36318,6 +36318,7 @@ declare const ComponentElementData: z.ZodObject<{
36318
36318
  name: string;
36319
36319
  defaultValue: string;
36320
36320
  }> | null | undefined>;
36321
+ variantPropertyValues: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, z.ZodTypeDef, Record<string, string>>>>, Record<string, string> | undefined, Record<string, string> | null | undefined>;
36321
36322
  }, "strip", z.ZodTypeAny, {
36322
36323
  thumbnailImage: {
36323
36324
  value: {
@@ -36354,6 +36355,7 @@ declare const ComponentElementData: z.ZodObject<{
36354
36355
  name: string;
36355
36356
  defaultValue: string;
36356
36357
  }> | undefined;
36358
+ variantPropertyValues?: Record<string, string> | undefined;
36357
36359
  }, {
36358
36360
  thumbnailImage: {
36359
36361
  value: {
@@ -36390,6 +36392,7 @@ declare const ComponentElementData: z.ZodObject<{
36390
36392
  name: string;
36391
36393
  defaultValue: string;
36392
36394
  }> | null | undefined;
36395
+ variantPropertyValues?: Record<string, string> | null | undefined;
36393
36396
  }>;
36394
36397
  }, "strip", z.ZodTypeAny, {
36395
36398
  value: {
@@ -36428,6 +36431,7 @@ declare const ComponentElementData: z.ZodObject<{
36428
36431
  name: string;
36429
36432
  defaultValue: string;
36430
36433
  }> | undefined;
36434
+ variantPropertyValues?: Record<string, string> | undefined;
36431
36435
  };
36432
36436
  }, {
36433
36437
  value: {
@@ -36466,6 +36470,7 @@ declare const ComponentElementData: z.ZodObject<{
36466
36470
  name: string;
36467
36471
  defaultValue: string;
36468
36472
  }> | null | undefined;
36473
+ variantPropertyValues?: Record<string, string> | null | undefined;
36469
36474
  };
36470
36475
  }>;
36471
36476
  type ComponentElementData = z.infer<typeof ComponentElementData>;
@@ -55174,6 +55179,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55174
55179
  name: string;
55175
55180
  defaultValue: string;
55176
55181
  }>]>>>;
55182
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
55177
55183
  svg: z.ZodOptional<z.ZodObject<{
55178
55184
  assetId: z.ZodString;
55179
55185
  assetPath: z.ZodString;
@@ -55239,6 +55245,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55239
55245
  name: string;
55240
55246
  defaultValue: string;
55241
55247
  }> | undefined;
55248
+ variantPropertyValues?: Record<string, string> | undefined;
55242
55249
  }, {
55243
55250
  id: string;
55244
55251
  createdAt: Date;
@@ -55292,6 +55299,7 @@ declare const FigmaComponent: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
55292
55299
  name: string;
55293
55300
  defaultValue: string;
55294
55301
  }> | undefined;
55302
+ variantPropertyValues?: Record<string, string> | undefined;
55295
55303
  }>;
55296
55304
  type FigmaComponent = z.infer<typeof FigmaComponent>;
55297
55305
  declare const FigmaComponentOrigin: z.ZodObject<z.objectUtil.extendShape<{
@@ -55321,7 +55329,6 @@ type FigmaComponentOrigin = z.infer<typeof FigmaComponentOrigin>;
55321
55329
  type ImportedFigmaComponent = OmitStrict<FigmaComponent, "origin"> & {
55322
55330
  origin: FigmaComponentOrigin;
55323
55331
  };
55324
- declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
55325
55332
  type CreateFigmaComponent = DbCreateInputOmit<FigmaComponent>;
55326
55333
  type UpdateFigmaComponent = OmitStrict<DbUpdate<FigmaComponent>, "brandPersistentId" | "designSystemVersionId">;
55327
55334
  type FigmaComponentDiff = {
@@ -55329,6 +55336,7 @@ type FigmaComponentDiff = {
55329
55336
  toUpdate: UpdateFigmaComponent[];
55330
55337
  toDelete: FigmaComponent["id"][];
55331
55338
  };
55339
+ declare function isImportedFigmaComponent(component: FigmaComponent): component is ImportedFigmaComponent;
55332
55340
 
55333
55341
  declare const FigmaFileStructureOrigin: z.ZodObject<{
55334
55342
  sourceId: z.ZodString;
@@ -81378,6 +81386,7 @@ declare const ImportModelCollection: z.ZodObject<{
81378
81386
  name: string;
81379
81387
  defaultValue: string;
81380
81388
  }>]>>>;
81389
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81381
81390
  }>, {
81382
81391
  isAsset: z.ZodBoolean;
81383
81392
  svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -81502,6 +81511,7 @@ declare const ImportModelCollection: z.ZodObject<{
81502
81511
  name: string;
81503
81512
  defaultValue: string;
81504
81513
  }> | undefined;
81514
+ variantPropertyValues?: Record<string, string> | undefined;
81505
81515
  parentComponentId?: string | undefined;
81506
81516
  }, {
81507
81517
  id: string;
@@ -81575,6 +81585,7 @@ declare const ImportModelCollection: z.ZodObject<{
81575
81585
  name: string;
81576
81586
  defaultValue: string;
81577
81587
  }> | undefined;
81588
+ variantPropertyValues?: Record<string, string> | undefined;
81578
81589
  parentComponentId?: string | undefined;
81579
81590
  }>, "many">>;
81580
81591
  themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -88553,6 +88564,7 @@ declare const ImportModelCollection: z.ZodObject<{
88553
88564
  name: string;
88554
88565
  defaultValue: string;
88555
88566
  }> | undefined;
88567
+ variantPropertyValues?: Record<string, string> | undefined;
88556
88568
  parentComponentId?: string | undefined;
88557
88569
  }[];
88558
88570
  sources: {
@@ -89906,6 +89918,7 @@ declare const ImportModelCollection: z.ZodObject<{
89906
89918
  name: string;
89907
89919
  defaultValue: string;
89908
89920
  }> | undefined;
89921
+ variantPropertyValues?: Record<string, string> | undefined;
89909
89922
  parentComponentId?: string | undefined;
89910
89923
  }[] | undefined;
89911
89924
  tokens?: (({
@@ -93168,6 +93181,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93168
93181
  name: string;
93169
93182
  defaultValue: string;
93170
93183
  }>]>>>;
93184
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
93171
93185
  }>, {
93172
93186
  originMetadata: z.ZodObject<{
93173
93187
  nodeId: z.ZodOptional<z.ZodString>;
@@ -93240,6 +93254,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93240
93254
  name: string;
93241
93255
  defaultValue: string;
93242
93256
  }> | undefined;
93257
+ variantPropertyValues?: Record<string, string> | undefined;
93243
93258
  parentComponentId?: string | undefined;
93244
93259
  }, {
93245
93260
  id: string;
@@ -93299,6 +93314,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93299
93314
  name: string;
93300
93315
  defaultValue: string;
93301
93316
  }> | undefined;
93317
+ variantPropertyValues?: Record<string, string> | undefined;
93302
93318
  parentComponentId?: string | undefined;
93303
93319
  }>, "many">>;
93304
93320
  assets: z.ZodDefault<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
@@ -93477,6 +93493,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93477
93493
  name: string;
93478
93494
  defaultValue: string;
93479
93495
  }>]>>>;
93496
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
93480
93497
  }>, {
93481
93498
  svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
93482
93499
  scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
@@ -93585,6 +93602,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93585
93602
  name: string;
93586
93603
  defaultValue: string;
93587
93604
  }> | undefined;
93605
+ variantPropertyValues?: Record<string, string> | undefined;
93588
93606
  parentComponentId?: string | undefined;
93589
93607
  }, {
93590
93608
  id: string;
@@ -93653,6 +93671,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
93653
93671
  name: string;
93654
93672
  defaultValue: string;
93655
93673
  }> | undefined;
93674
+ variantPropertyValues?: Record<string, string> | undefined;
93656
93675
  parentComponentId?: string | undefined;
93657
93676
  }>, "many">>;
93658
93677
  themeUpdates: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -100551,6 +100570,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100551
100570
  name: string;
100552
100571
  defaultValue: string;
100553
100572
  }> | undefined;
100573
+ variantPropertyValues?: Record<string, string> | undefined;
100554
100574
  parentComponentId?: string | undefined;
100555
100575
  }[];
100556
100576
  components: {
@@ -100611,6 +100631,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
100611
100631
  name: string;
100612
100632
  defaultValue: string;
100613
100633
  }> | undefined;
100634
+ variantPropertyValues?: Record<string, string> | undefined;
100614
100635
  parentComponentId?: string | undefined;
100615
100636
  }[];
100616
100637
  tokens: (({
@@ -101859,6 +101880,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
101859
101880
  name: string;
101860
101881
  defaultValue: string;
101861
101882
  }> | undefined;
101883
+ variantPropertyValues?: Record<string, string> | undefined;
101862
101884
  parentComponentId?: string | undefined;
101863
101885
  }[] | undefined;
101864
101886
  components?: {
@@ -101919,6 +101941,7 @@ declare const ImportModelInputCollection: z.ZodObject<{
101919
101941
  name: string;
101920
101942
  defaultValue: string;
101921
101943
  }> | undefined;
101944
+ variantPropertyValues?: Record<string, string> | undefined;
101922
101945
  parentComponentId?: string | undefined;
101923
101946
  }[] | undefined;
101924
101947
  tokens?: (({
@@ -102919,6 +102942,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
102919
102942
  name: string;
102920
102943
  defaultValue: string;
102921
102944
  }>]>>>;
102945
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
102922
102946
  }>, {
102923
102947
  isAsset: z.ZodBoolean;
102924
102948
  svg: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -103043,6 +103067,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
103043
103067
  name: string;
103044
103068
  defaultValue: string;
103045
103069
  }> | undefined;
103070
+ variantPropertyValues?: Record<string, string> | undefined;
103046
103071
  parentComponentId?: string | undefined;
103047
103072
  }, {
103048
103073
  id: string;
@@ -103116,6 +103141,7 @@ declare const FigmaComponentImportModel: z.ZodObject<z.objectUtil.extendShape<z.
103116
103141
  name: string;
103117
103142
  defaultValue: string;
103118
103143
  }> | undefined;
103144
+ variantPropertyValues?: Record<string, string> | undefined;
103119
103145
  parentComponentId?: string | undefined;
103120
103146
  }>;
103121
103147
  type FigmaComponentImportModel = z.infer<typeof FigmaComponentImportModel>;
@@ -103295,6 +103321,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103295
103321
  name: string;
103296
103322
  defaultValue: string;
103297
103323
  }>]>>>;
103324
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
103298
103325
  }>, {
103299
103326
  originMetadata: z.ZodObject<{
103300
103327
  nodeId: z.ZodOptional<z.ZodString>;
@@ -103367,6 +103394,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103367
103394
  name: string;
103368
103395
  defaultValue: string;
103369
103396
  }> | undefined;
103397
+ variantPropertyValues?: Record<string, string> | undefined;
103370
103398
  parentComponentId?: string | undefined;
103371
103399
  }, {
103372
103400
  id: string;
@@ -103426,6 +103454,7 @@ declare const FigmaComponentImportModelInput: z.ZodObject<z.objectUtil.extendSha
103426
103454
  name: string;
103427
103455
  defaultValue: string;
103428
103456
  }> | undefined;
103457
+ variantPropertyValues?: Record<string, string> | undefined;
103429
103458
  parentComponentId?: string | undefined;
103430
103459
  }>;
103431
103460
  type FigmaComponentImportModelInput = z.infer<typeof FigmaComponentImportModelInput>;
@@ -103605,6 +103634,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103605
103634
  name: string;
103606
103635
  defaultValue: string;
103607
103636
  }>]>>>;
103637
+ variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
103608
103638
  }>, {
103609
103639
  svg: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
103610
103640
  scope: z.ZodEnum<["DocumentationFrame", "ComponentThumbnail", "DesignSystem", "Documentation"]>;
@@ -103713,6 +103743,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103713
103743
  name: string;
103714
103744
  defaultValue: string;
103715
103745
  }> | undefined;
103746
+ variantPropertyValues?: Record<string, string> | undefined;
103716
103747
  parentComponentId?: string | undefined;
103717
103748
  }, {
103718
103749
  id: string;
@@ -103781,6 +103812,7 @@ declare const AssetImportModelInput: z.ZodObject<z.objectUtil.extendShape<z.obje
103781
103812
  name: string;
103782
103813
  defaultValue: string;
103783
103814
  }> | undefined;
103815
+ variantPropertyValues?: Record<string, string> | undefined;
103784
103816
  parentComponentId?: string | undefined;
103785
103817
  }>;
103786
103818
  type AssetImportModelInput = z.infer<typeof AssetImportModelInput>;
package/dist/index.js CHANGED
@@ -647,7 +647,8 @@ var ComponentElementData = _zod.z.object({
647
647
  })
648
648
  }).optional(),
649
649
  parentComponentPersistentId: nullishToOptional(_zod.z.string()),
650
- componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap)
650
+ componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap),
651
+ variantPropertyValues: nullishToOptional(_zod.z.record(_zod.z.string()))
651
652
  })
652
653
  });
653
654
 
@@ -3009,6 +3010,7 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
3009
3010
  origin: FigmaComponentOrigin.optional(),
3010
3011
  thumbnail: FigmaComponentAsset,
3011
3012
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
3013
+ variantPropertyValues: _zod.z.record(_zod.z.string()).optional(),
3012
3014
  svg: FigmaComponentAsset.optional(),
3013
3015
  isAsset: _zod.z.boolean(),
3014
3016
  parentComponentPersistentId: nullishToOptional(_zod.z.string())
@@ -3597,7 +3599,8 @@ function getFigmaRenderFormatFileExtension(format) {
3597
3599
  var FigmaComponentImportModelPart = _zod.z.object({
3598
3600
  thumbnail: ImageImportModel,
3599
3601
  parentComponentId: _zod.z.string().optional(),
3600
- componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
3602
+ componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
3603
+ variantPropertyValues: _zod.z.record(_zod.z.string()).optional()
3601
3604
  });
3602
3605
  var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
3603
3606
  isAsset: _zod.z.boolean(),