@@ -3777,6 +3777,10 @@ interface NoiseEffectBase {
3777
3777
* The color of the noise effect.
3778
3778
*/
3779
3779
readonly color : RGBA
3780
+ /**
3781
+ * Whether the noise effect is visible.
3782
+ */
3783
+ readonly visible : boolean
3780
3784
/**
3781
3785
* The blend mode of the noise.
3782
3786
*/
@@ -3789,6 +3793,10 @@ interface NoiseEffectBase {
3789
3793
* The density of the noise effect.
3790
3794
*/
3791
3795
readonly density : number
3796
+ /**
3797
+ * Noise effects currently do not support binding variables.
3798
+ */
3799
+ readonly boundVariables ?: { }
3792
3800
}
3793
3801
/**
3794
3802
* @see https://www.figma.com/plugin-docs/api/Effect
@@ -3840,6 +3848,10 @@ interface TextureEffect {
3840
3848
* The string literal representing the type of effect this is. Always check the `type` before reading other properties.
3841
3849
*/
3842
3850
readonly type : 'TEXTURE'
3851
+ /**
3852
+ * Whether the texture effect is visible.
3853
+ */
3854
+ readonly visible : boolean
3843
3855
/**
3844
3856
* The size of the texture effect.
3845
3857
*/
@@ -3852,6 +3864,51 @@ interface TextureEffect {
3852
3864
* Whether the texture is clipped to the shape.
3853
3865
*/
3854
3866
readonly clipToShape : boolean
3867
+ /**
3868
+ * Texture effects currently do not support binding variables.
3869
+ */
3870
+ readonly boundVariables ?: { }
3871
+ }
3872
+ /**
3873
+ * @see https://www.figma.com/plugin-docs/api/Effect
3874
+ */
3875
+ interface GlassEffect {
3876
+ /**
3877
+ * The string literal representing the type of effect this is. Always check the `type` before reading other properties.
3878
+ */
3879
+ readonly type : 'GLASS'
3880
+ /**
3881
+ * Whether this glass effect is visible.
3882
+ */
3883
+ readonly visible : boolean
3884
+ /**
3885
+ * The intensity of specular highlights. Must be between 0 and 1. Higher values create brighter highlights.
3886
+ */
3887
+ readonly lightIntensity : number
3888
+ /**
3889
+ * The angle of the specular light in degrees. Controls the direction of highlights on the glass surface.
3890
+ */
3891
+ readonly lightAngle : number
3892
+ /**
3893
+ * The intensity of the refraction distortion. Must be between 0 and 1. Higher values create more distortion.
3894
+ */
3895
+ readonly refraction : number
3896
+ /**
3897
+ * The depth of the refraction effect. Must be >= 1. Higher values create deeper glass appearance.
3898
+ */
3899
+ readonly depth : number
3900
+ /**
3901
+ * The amount of chromatic aberration (color separation). Must be between 0 and 1. Higher values create more rainbow-like distortion at edges.
3902
+ */
3903
+ readonly dispersion : number
3904
+ /**
3905
+ * The radius of frost on the glass effect.
3906
+ */
3907
+ readonly radius : number
3908
+ /**
3909
+ * Glass effects currently do not support binding variables.
3910
+ */
3911
+ readonly boundVariables ?: { }
3855
3912
}
3856
3913
/**
3857
3914
* @see https://www.figma.com/plugin-docs/api/Effect
@@ -3862,6 +3919,7 @@ declare type Effect =
3862
3919
| BlurEffect
3863
3920
| NoiseEffect
3864
3921
| TextureEffect
3922
+ | GlassEffect
3865
3923
/**
3866
3924
* @see https://www.figma.com/plugin-docs/api/Constraints
3867
3925
*/
@@ -6515,9 +6573,10 @@ interface AutoLayoutMixin {
6515
6573
interface GridTrackSize {
6516
6574
/**
6517
6575
* Applicable only on FIXED grid tracks. The size of the track in pixels.
6576
+ * Optional for `FLEX` tracks.
6518
6577
* If the setter for this value is called on a `FLEX` track, the track will be converted to a `FIXED` track.
6519
6578
*/
6520
- value : number
6579
+ value ? : number
6521
6580
/**
6522
6581
* The type of the grid track. `FLEX` indicates that the track will grow to fill the available space in the container (evenly divided among all flex tracks in the grid), while `FIXED` indicates that the track will have a fixed size.
6523
6582
**/
@@ -6548,6 +6607,7 @@ interface GridLayoutMixin {
6548
6607
* // + --- + --- + --- +
6549
6608
* // | | | |
6550
6609
* // + --- + --- + --- +
6610
+ * ```
6551
6611
*/
6552
6612
gridRowCount : number
6553
6613
/**
@@ -10576,4 +10636,4 @@ interface FindAllCriteria<T extends NodeType[]> {
10576
10636
}
10577
10637
10578
10638
// prettier-ignore
10579
- export { ArgFreeEventType , PluginAPI , VersionHistoryResult , VariablesAPI , LibraryVariableCollection , LibraryVariable , AnnotationsAPI , TeamLibraryAPI , PaymentStatus , PaymentsAPI , ClientStorageAPI , NotificationOptions , NotifyDequeueReason , NotificationHandler , ShowUIOptions , UIPostMessageOptions , OnMessageProperties , MessageEventHandler , UIAPI , UtilAPI , ColorPalette , ColorPalettes , ConstantsAPI , CodegenEvent , CodegenPreferences , CodegenPreferencesEvent , CodegenResult , CodegenAPI , DevResource , DevResourceWithNodeId , LinkPreviewEvent , PlainTextElement , LinkPreviewResult , AuthEvent , DevResourceOpenEvent , AuthResult , VSCodeAPI , DevResourcesAPI , TimerAPI , ViewportAPI , TextReviewAPI , ParameterValues , SuggestionResults , ParameterInputEvent , ParametersAPI , RunParametersEvent , OpenDevResourcesEvent , RunEvent , SlidesViewChangeEvent , DropEvent , DropItem , DropFile , DocumentChangeEvent , StyleChangeEvent , StyleChange , BaseDocumentChange , BaseNodeChange , RemovedNode , CreateChange , DeleteChange , PropertyChange , BaseStyleChange , StyleCreateChange , StyleDeleteChange , StylePropertyChange , DocumentChange , NodeChangeProperty , NodeChangeEvent , NodeChange , StyleChangeProperty , TextReviewEvent , TextReviewRange , Transform , Vector , Rect , RGB , RGBA , FontName , TextCase , TextDecoration , TextDecorationStyle , TextDecorationOffset , TextDecorationThickness , TextDecorationColor , OpenTypeFeature , ArcData , DropShadowEffect , InnerShadowEffect , BlurEffectBase , BlurEffectNormal , BlurEffectProgressive , BlurEffect , NoiseEffectBase , NoiseEffectMonotone , NoiseEffectDuotone , NoiseEffectMultitone , NoiseEffect , TextureEffect , Effect , ConstraintType , Constraints , ColorStop , ImageFilters , SolidPaint , GradientPaint , ImagePaint , VideoPaint , PatternPaint , Paint , Guide , RowsColsLayoutGrid , GridLayoutGrid , LayoutGrid , ExportSettingsConstraints , ExportSettingsImage , ExportSettingsSVGBase , ExportSettingsSVG , ExportSettingsSVGString , ExportSettingsPDF , ExportSettingsREST , ExportSettings , WindingRule , VectorVertex , VectorSegment , VectorRegion , VectorNetwork , VectorPath , VectorPaths , LetterSpacing , LineHeight , LeadingTrim , HyperlinkTarget , TextListOptions , BlendMode , MaskType , Font , TextStyleOverrideType , StyledTextSegment , Reaction , VariableDataType , ExpressionFunction , Expression , VariableValueWithExpression , VariableData , ConditionalBlock , DevStatus , Action , SimpleTransition , DirectionalTransition , Transition , Trigger , Navigation , Easing , EasingFunctionBezier , EasingFunctionSpring , OverflowDirection , OverlayPositionType , OverlayBackground , OverlayBackgroundInteraction , PublishStatus , ConnectorEndpointPosition , ConnectorEndpointPositionAndEndpointNodeId , ConnectorEndpointEndpointNodeIdAndMagnet , ConnectorEndpoint , ConnectorStrokeCap , BaseNodeMixin , PluginDataMixin , DevResourcesMixin , DevStatusMixin , SceneNodeMixin , VariableBindableNodeField , VariableBindableTextField , VariableBindablePaintField , VariableBindablePaintStyleField , VariableBindableColorStopField , VariableBindableEffectField , VariableBindableEffectStyleField , VariableBindableLayoutGridField , VariableBindableGridStyleField , VariableBindableComponentPropertyField , VariableBindableComponentPropertyDefinitionField , StickableMixin , ChildrenMixin , ConstraintMixin , DimensionAndPositionMixin , LayoutMixin , AspectRatioLockMixin , BlendMixin , ContainerMixin , DeprecatedBackgroundMixin , StrokeCap , StrokeJoin , HandleMirroring , AutoLayoutMixin , GridTrackSize , GridLayoutMixin , AutoLayoutChildrenMixin , GridChildrenMixin , InferredAutoLayoutResult , DetachedInfo , MinimalStrokesMixin , IndividualStrokesMixin , MinimalFillsMixin , GeometryMixin , CornerMixin , RectangleCornerMixin , ExportMixin , FramePrototypingMixin , VectorLikeMixin , ReactionMixin , DocumentationLink , PublishableMixin , DefaultShapeMixin , BaseFrameMixin , DefaultFrameMixin , OpaqueNodeMixin , MinimalBlendMixin , Annotation , AnnotationProperty , AnnotationPropertyType , AnnotationsMixin , Measurement , MeasurementSide , MeasurementOffset , MeasurementsMixin , VariantMixin , ComponentPropertiesMixin , BaseNonResizableTextMixin , NonResizableTextMixin , NonResizableTextPathMixin , TextSublayerNode , DocumentNode , ExplicitVariableModesMixin , PageNode , FrameNode , GroupNode , TransformGroupNode , SliceNode , RectangleNode , LineNode , EllipseNode , PolygonNode , StarNode , VectorNode , TextNode , TextPathNode , ComponentPropertyType , InstanceSwapPreferredValue , ComponentPropertyOptions , ComponentPropertyDefinitions , ComponentSetNode , ComponentNode , ComponentProperties , InstanceNode , BooleanOperationNode , StickyNode , StampNode , TableNode , TableCellNode , HighlightNode , WashiTapeNode , ShapeWithTextNode , CodeBlockNode , LabelSublayerNode , ConnectorNode , VariableResolvedDataType , VariableAlias , VariableValue , VariableScope , CodeSyntaxPlatform , Variable , VariableCollection , AnnotationCategoryColor , AnnotationCategory , WidgetNode , EmbedData , EmbedNode , LinkUnfurlData , LinkUnfurlNode , MediaData , MediaNode , SectionNode , SlideNode , SlideRowNode , SlideGridNode , InteractiveSlideElementNode , SlideTransition , BaseNode , SceneNode , NodeType , StyleType , InheritedStyleField , StyleConsumers , BaseStyleMixin , PaintStyle , TextStyle , EffectStyle , GridStyle , BaseStyle , Image , Video , BaseUser , User , ActiveUser , FindAllCriteria }
10639
+ export { ArgFreeEventType , PluginAPI , VersionHistoryResult , VariablesAPI , LibraryVariableCollection , LibraryVariable , AnnotationsAPI , TeamLibraryAPI , PaymentStatus , PaymentsAPI , ClientStorageAPI , NotificationOptions , NotifyDequeueReason , NotificationHandler , ShowUIOptions , UIPostMessageOptions , OnMessageProperties , MessageEventHandler , UIAPI , UtilAPI , ColorPalette , ColorPalettes , ConstantsAPI , CodegenEvent , CodegenPreferences , CodegenPreferencesEvent , CodegenResult , CodegenAPI , DevResource , DevResourceWithNodeId , LinkPreviewEvent , PlainTextElement , LinkPreviewResult , AuthEvent , DevResourceOpenEvent , AuthResult , VSCodeAPI , DevResourcesAPI , TimerAPI , ViewportAPI , TextReviewAPI , ParameterValues , SuggestionResults , ParameterInputEvent , ParametersAPI , RunParametersEvent , OpenDevResourcesEvent , RunEvent , SlidesViewChangeEvent , DropEvent , DropItem , DropFile , DocumentChangeEvent , StyleChangeEvent , StyleChange , BaseDocumentChange , BaseNodeChange , RemovedNode , CreateChange , DeleteChange , PropertyChange , BaseStyleChange , StyleCreateChange , StyleDeleteChange , StylePropertyChange , DocumentChange , NodeChangeProperty , NodeChangeEvent , NodeChange , StyleChangeProperty , TextReviewEvent , TextReviewRange , Transform , Vector , Rect , RGB , RGBA , FontName , TextCase , TextDecoration , TextDecorationStyle , TextDecorationOffset , TextDecorationThickness , TextDecorationColor , OpenTypeFeature , ArcData , DropShadowEffect , InnerShadowEffect , BlurEffectBase , BlurEffectNormal , BlurEffectProgressive , BlurEffect , NoiseEffectBase , NoiseEffectMonotone , NoiseEffectDuotone , NoiseEffectMultitone , NoiseEffect , TextureEffect , GlassEffect , Effect , ConstraintType , Constraints , ColorStop , ImageFilters , SolidPaint , GradientPaint , ImagePaint , VideoPaint , PatternPaint , Paint , Guide , RowsColsLayoutGrid , GridLayoutGrid , LayoutGrid , ExportSettingsConstraints , ExportSettingsImage , ExportSettingsSVGBase , ExportSettingsSVG , ExportSettingsSVGString , ExportSettingsPDF , ExportSettingsREST , ExportSettings , WindingRule , VectorVertex , VectorSegment , VectorRegion , VectorNetwork , VectorPath , VectorPaths , LetterSpacing , LineHeight , LeadingTrim , HyperlinkTarget , TextListOptions , BlendMode , MaskType , Font , TextStyleOverrideType , StyledTextSegment , Reaction , VariableDataType , ExpressionFunction , Expression , VariableValueWithExpression , VariableData , ConditionalBlock , DevStatus , Action , SimpleTransition , DirectionalTransition , Transition , Trigger , Navigation , Easing , EasingFunctionBezier , EasingFunctionSpring , OverflowDirection , OverlayPositionType , OverlayBackground , OverlayBackgroundInteraction , PublishStatus , ConnectorEndpointPosition , ConnectorEndpointPositionAndEndpointNodeId , ConnectorEndpointEndpointNodeIdAndMagnet , ConnectorEndpoint , ConnectorStrokeCap , BaseNodeMixin , PluginDataMixin , DevResourcesMixin , DevStatusMixin , SceneNodeMixin , VariableBindableNodeField , VariableBindableTextField , VariableBindablePaintField , VariableBindablePaintStyleField , VariableBindableColorStopField , VariableBindableEffectField , VariableBindableEffectStyleField , VariableBindableLayoutGridField , VariableBindableGridStyleField , VariableBindableComponentPropertyField , VariableBindableComponentPropertyDefinitionField , StickableMixin , ChildrenMixin , ConstraintMixin , DimensionAndPositionMixin , LayoutMixin , AspectRatioLockMixin , BlendMixin , ContainerMixin , DeprecatedBackgroundMixin , StrokeCap , StrokeJoin , HandleMirroring , AutoLayoutMixin , GridTrackSize , GridLayoutMixin , AutoLayoutChildrenMixin , GridChildrenMixin , InferredAutoLayoutResult , DetachedInfo , MinimalStrokesMixin , IndividualStrokesMixin , MinimalFillsMixin , GeometryMixin , CornerMixin , RectangleCornerMixin , ExportMixin , FramePrototypingMixin , VectorLikeMixin , ReactionMixin , DocumentationLink , PublishableMixin , DefaultShapeMixin , BaseFrameMixin , DefaultFrameMixin , OpaqueNodeMixin , MinimalBlendMixin , Annotation , AnnotationProperty , AnnotationPropertyType , AnnotationsMixin , Measurement , MeasurementSide , MeasurementOffset , MeasurementsMixin , VariantMixin , ComponentPropertiesMixin , BaseNonResizableTextMixin , NonResizableTextMixin , NonResizableTextPathMixin , TextSublayerNode , DocumentNode , ExplicitVariableModesMixin , PageNode , FrameNode , GroupNode , TransformGroupNode , SliceNode , RectangleNode , LineNode , EllipseNode , PolygonNode , StarNode , VectorNode , TextNode , TextPathNode , ComponentPropertyType , InstanceSwapPreferredValue , ComponentPropertyOptions , ComponentPropertyDefinitions , ComponentSetNode , ComponentNode , ComponentProperties , InstanceNode , BooleanOperationNode , StickyNode , StampNode , TableNode , TableCellNode , HighlightNode , WashiTapeNode , ShapeWithTextNode , CodeBlockNode , LabelSublayerNode , ConnectorNode , VariableResolvedDataType , VariableAlias , VariableValue , VariableScope , CodeSyntaxPlatform , Variable , VariableCollection , AnnotationCategoryColor , AnnotationCategory , WidgetNode , EmbedData , EmbedNode , LinkUnfurlData , LinkUnfurlNode , MediaData , MediaNode , SectionNode , SlideNode , SlideRowNode , SlideGridNode , InteractiveSlideElementNode , SlideTransition , BaseNode , SceneNode , NodeType , StyleType , InheritedStyleField , StyleConsumers , BaseStyleMixin , PaintStyle , TextStyle , EffectStyle , GridStyle , BaseStyle , Image , Video , BaseUser , User , ActiveUser , FindAllCriteria }
0 commit comments