@supernova-studio/model 0.58.18 → 0.58.20
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 +282 -18
- package/dist/index.d.ts +282 -18
- package/dist/index.js +13 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/shadow.ts +2 -0
- package/src/dsm/import/support/import-context.ts +8 -1
- package/src/feature-flags/feature-flags.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -2979,6 +2979,7 @@ var ShadowLayerValue = z70.object({
|
|
|
2979
2979
|
type: ShadowType
|
|
2980
2980
|
});
|
|
2981
2981
|
var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
|
|
2982
|
+
var ShadowValue = z70.array(ShadowTokenDataBase);
|
|
2982
2983
|
var ShadowTokenData = tokenAliasOrValue(z70.array(ShadowTokenDataBase));
|
|
2983
2984
|
|
|
2984
2985
|
// src/dsm/elements/data/size.ts
|
|
@@ -3602,10 +3603,15 @@ var FigmaImportBaseContext = z90.object({
|
|
|
3602
3603
|
*/
|
|
3603
3604
|
importWarnings: z90.record(ImportWarning.array()).default({})
|
|
3604
3605
|
});
|
|
3606
|
+
var FeatureFlagsKeepAliases = z90.object({
|
|
3607
|
+
isTypographyPropsKeepAliasesEnabled: z90.boolean().default(false),
|
|
3608
|
+
isGradientPropsKeepAliasesEnabled: z90.boolean().default(false),
|
|
3609
|
+
isShadowPropsKeepAliasesEnabled: z90.boolean().default(false)
|
|
3610
|
+
});
|
|
3605
3611
|
var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
|
|
3606
3612
|
sourcesWithMissingAccess: z90.array(z90.string()).default([]),
|
|
3607
3613
|
shadowOpacityOptional: z90.boolean().default(false),
|
|
3608
|
-
|
|
3614
|
+
featureFlagsKeepAliases: FeatureFlagsKeepAliases.default({})
|
|
3609
3615
|
});
|
|
3610
3616
|
var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
|
|
3611
3617
|
importMetadata: DataSourceFigmaImportMetadata
|
|
@@ -5305,7 +5311,9 @@ var FlaggedFeature = z169.enum([
|
|
|
5305
5311
|
"ShadowOpacityOptional",
|
|
5306
5312
|
"DisableImporter",
|
|
5307
5313
|
"VariablesOrder",
|
|
5308
|
-
"TypographyPropsKeepAliases"
|
|
5314
|
+
"TypographyPropsKeepAliases",
|
|
5315
|
+
"GradientPropsKeepAliases",
|
|
5316
|
+
"ShadowPropsKeepAliases"
|
|
5309
5317
|
]);
|
|
5310
5318
|
var FeatureFlagMap = z169.record(FlaggedFeature, z169.boolean());
|
|
5311
5319
|
var FeatureFlag = z169.object({
|
|
@@ -5670,6 +5678,7 @@ export {
|
|
|
5670
5678
|
ExternalServiceType,
|
|
5671
5679
|
FeatureFlag,
|
|
5672
5680
|
FeatureFlagMap,
|
|
5681
|
+
FeatureFlagsKeepAliases,
|
|
5673
5682
|
FeaturesSummary,
|
|
5674
5683
|
FigmaComponent,
|
|
5675
5684
|
FigmaComponentBooleanProperty,
|
|
@@ -5983,6 +5992,7 @@ export {
|
|
|
5983
5992
|
ShadowLayerValue,
|
|
5984
5993
|
ShadowTokenData,
|
|
5985
5994
|
ShadowType,
|
|
5995
|
+
ShadowValue,
|
|
5986
5996
|
ShallowDesignElement,
|
|
5987
5997
|
Size,
|
|
5988
5998
|
SizeOrUndefined,
|