@supernova-studio/model 0.48.15 → 0.48.16
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 +314 -1
- package/dist/index.d.ts +314 -1
- package/dist/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1695,9 +1695,6 @@ var ZIndexValue = z72.object({
|
|
|
1695
1695
|
});
|
|
1696
1696
|
var ZIndexTokenData = tokenAliasOrValue(ZIndexValue);
|
|
1697
1697
|
|
|
1698
|
-
// src/dsm/elements/component.ts
|
|
1699
|
-
import { z as z74 } from "zod";
|
|
1700
|
-
|
|
1701
1698
|
// src/dsm/elements/component-properties.ts
|
|
1702
1699
|
import { z as z73 } from "zod";
|
|
1703
1700
|
var FigmaComponentPropertyType = z73.enum(["Boolean", "InstanceSwap", "Variant", "Text"]);
|
|
@@ -1739,6 +1736,7 @@ var FigmaComponentSetProperties = z73.record(
|
|
|
1739
1736
|
);
|
|
1740
1737
|
|
|
1741
1738
|
// src/dsm/elements/component.ts
|
|
1739
|
+
import { z as z74 } from "zod";
|
|
1742
1740
|
var ComponentOriginPart = z74.object({
|
|
1743
1741
|
nodeId: z74.string().optional(),
|
|
1744
1742
|
width: z74.number().optional(),
|
|
@@ -1763,6 +1761,11 @@ function isImportedComponent(component) {
|
|
|
1763
1761
|
return !!component.origin;
|
|
1764
1762
|
}
|
|
1765
1763
|
|
|
1764
|
+
// src/dsm/elements/component-set.ts
|
|
1765
|
+
var ComponentSet = BaseComponent.extend({
|
|
1766
|
+
properties: FigmaComponentSetProperties
|
|
1767
|
+
});
|
|
1768
|
+
|
|
1766
1769
|
// src/dsm/elements/documentation-page-v1.ts
|
|
1767
1770
|
import { z as z76 } from "zod";
|
|
1768
1771
|
|
|
@@ -5013,6 +5016,7 @@ export {
|
|
|
5013
5016
|
ComponentImportModelInput,
|
|
5014
5017
|
ComponentOrigin,
|
|
5015
5018
|
ComponentOriginPart,
|
|
5019
|
+
ComponentSet,
|
|
5016
5020
|
ContentLoadInstruction,
|
|
5017
5021
|
ContentLoaderPayload,
|
|
5018
5022
|
CreateDesignToken,
|
|
@@ -5169,6 +5173,13 @@ export {
|
|
|
5169
5173
|
FeatureFlag,
|
|
5170
5174
|
FeatureFlagMap,
|
|
5171
5175
|
FeaturesSummary,
|
|
5176
|
+
FigmaComponentBooleanProperty,
|
|
5177
|
+
FigmaComponentInstanceSwapProperty,
|
|
5178
|
+
FigmaComponentProperties,
|
|
5179
|
+
FigmaComponentPropertyType,
|
|
5180
|
+
FigmaComponentSetProperties,
|
|
5181
|
+
FigmaComponentTextProperty,
|
|
5182
|
+
FigmaComponentVariantProperty,
|
|
5172
5183
|
FigmaFileAccessData,
|
|
5173
5184
|
FigmaFileDownloadScope,
|
|
5174
5185
|
FigmaFileStructure,
|