@mastergo/plugin-typings 2.3.0 → 2.5.0
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/CHANGELOG.md +18 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# [2.5.0](https://github.com/mastergo-design/plugin-typings/compare/v2.4.0...v2.5.0) (2024-07-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 最大最小值 ([a0ca485](https://github.com/mastergo-design/plugin-typings/commit/a0ca485eac8d49061dcbb35ce93b75d8bf6e9558))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# [2.4.0](https://github.com/mastergo-design/plugin-typings/compare/v2.3.0...v2.4.0) (2024-04-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 自动布局补充字段 ([495e3a8](https://github.com/mastergo-design/plugin-typings/commit/495e3a8c7f208b81fad659230a092acb93b65c30))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
# [2.3.0](https://github.com/mastergo-design/plugin-typings/compare/v2.2.0...v2.3.0) (2024-01-31)
|
|
2
20
|
|
|
3
21
|
|
package/dist/index.d.ts
CHANGED
|
@@ -590,6 +590,10 @@ declare global {
|
|
|
590
590
|
y: number
|
|
591
591
|
width: number
|
|
592
592
|
height: number
|
|
593
|
+
minWidth: number | null
|
|
594
|
+
maxWidth: number | null
|
|
595
|
+
minHeight: number | null
|
|
596
|
+
maxHeight: number | null
|
|
593
597
|
rotation: number // In degrees
|
|
594
598
|
constrainProportions: boolean
|
|
595
599
|
layoutPositioning: 'AUTO' | 'ABSOLUTE' // applicable only inside auto-layout frames
|
|
@@ -690,11 +694,14 @@ declare global {
|
|
|
690
694
|
}
|
|
691
695
|
interface AutoLayout {
|
|
692
696
|
flexMode: 'NONE' | 'HORIZONTAL' | 'VERTICAL'
|
|
697
|
+
flexWrap: 'WRAP' | 'NO_WRAP'
|
|
693
698
|
itemSpacing: number
|
|
694
699
|
mainAxisAlignItems: 'FLEX_START' | 'FLEX_END' | 'CENTER' | 'SPACING_BETWEEN'
|
|
695
700
|
crossAxisAlignItems: 'FLEX_START' | 'FLEX_END' | 'CENTER'
|
|
696
701
|
mainAxisSizingMode: 'FIXED' | 'AUTO'
|
|
697
702
|
crossAxisSizingMode: 'FIXED' | 'AUTO'
|
|
703
|
+
crossAxisAlignContent: 'AUTO' | 'SPACE_BETWEEN'
|
|
704
|
+
crossAxisSpacing: number | null
|
|
698
705
|
strokesIncludedInLayout: boolean
|
|
699
706
|
itemReverseZIndex: boolean
|
|
700
707
|
paddingTop: number
|