tamagui 2.3.1 → 2.3.2
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/.turbo/turbo-build.log +2 -2
- package/dist/native.cjs +37 -32
- package/dist/test.cjs +37 -32
- package/package.json +65 -65
package/.turbo/turbo-build.log
CHANGED
package/dist/native.cjs
CHANGED
|
@@ -14447,14 +14447,17 @@ function expandStyle(key, value) {
|
|
|
14447
14447
|
}
|
|
14448
14448
|
return;
|
|
14449
14449
|
}
|
|
14450
|
-
if (key in
|
|
14450
|
+
if (key in nativeInlineExpansions) return nativeInlineExpansions[key].map(function(k) {
|
|
14451
|
+
return [k, value];
|
|
14452
|
+
});
|
|
14453
|
+
if (key in universalExpansions) return universalExpansions[key].map(function(k) {
|
|
14451
14454
|
return [k, value];
|
|
14452
14455
|
});
|
|
14453
14456
|
if (key in EXPANSIONS) return EXPANSIONS[key].map(function(k) {
|
|
14454
14457
|
return [k, value];
|
|
14455
14458
|
});
|
|
14456
14459
|
}
|
|
14457
|
-
var _loop, resizeModeMap, verticalAlignMap, all, horiz, vert, EXPANSIONS,
|
|
14460
|
+
var _loop, resizeModeMap, verticalAlignMap, all, horiz, vert, EXPANSIONS, universalExpansions, nativeInlineExpansions;
|
|
14458
14461
|
var init_expandStyle_native = __esmMin((() => {
|
|
14459
14462
|
init_index_native$7();
|
|
14460
14463
|
init_config_native();
|
|
@@ -14517,52 +14520,54 @@ var init_expandStyle_native = __esmMin((() => {
|
|
|
14517
14520
|
paddingVertical: vert
|
|
14518
14521
|
}, false);
|
|
14519
14522
|
for (var parent in EXPANSIONS) _loop(parent);
|
|
14520
|
-
|
|
14523
|
+
universalExpansions = {
|
|
14524
|
+
inset: [
|
|
14525
|
+
"top",
|
|
14526
|
+
"right",
|
|
14527
|
+
"bottom",
|
|
14528
|
+
"left"
|
|
14529
|
+
],
|
|
14530
|
+
insetBlock: ["top", "bottom"],
|
|
14531
|
+
insetBlockStart: ["top"],
|
|
14532
|
+
insetBlockEnd: ["bottom"],
|
|
14533
|
+
marginBlock: ["marginTop", "marginBottom"],
|
|
14534
|
+
marginBlockStart: ["marginTop"],
|
|
14535
|
+
marginBlockEnd: ["marginBottom"],
|
|
14536
|
+
paddingBlock: ["paddingTop", "paddingBottom"],
|
|
14537
|
+
paddingBlockStart: ["paddingTop"],
|
|
14538
|
+
paddingBlockEnd: ["paddingBottom"],
|
|
14521
14539
|
borderBlockColor: ["borderTopColor", "borderBottomColor"],
|
|
14522
|
-
borderInlineColor: ["borderEndColor", "borderStartColor"],
|
|
14523
14540
|
borderBlockWidth: ["borderTopWidth", "borderBottomWidth"],
|
|
14524
|
-
borderInlineWidth: ["borderEndWidth", "borderStartWidth"],
|
|
14525
14541
|
borderBlockStyle: ["borderTopStyle", "borderBottomStyle"],
|
|
14526
|
-
borderInlineStyle: ["borderEndStyle", "borderStartStyle"],
|
|
14527
14542
|
borderBlockStartColor: ["borderTopColor"],
|
|
14528
14543
|
borderBlockEndColor: ["borderBottomColor"],
|
|
14529
|
-
borderInlineStartColor: ["borderStartColor"],
|
|
14530
|
-
borderInlineEndColor: ["borderEndColor"],
|
|
14531
14544
|
borderBlockStartWidth: ["borderTopWidth"],
|
|
14532
14545
|
borderBlockEndWidth: ["borderBottomWidth"],
|
|
14533
|
-
borderInlineStartWidth: ["borderStartWidth"],
|
|
14534
|
-
borderInlineEndWidth: ["borderEndWidth"],
|
|
14535
14546
|
borderBlockStartStyle: ["borderTopStyle"],
|
|
14536
14547
|
borderBlockEndStyle: ["borderBottomStyle"],
|
|
14548
|
+
minBlockSize: ["minHeight"],
|
|
14549
|
+
maxBlockSize: ["maxHeight"],
|
|
14550
|
+
minInlineSize: ["minWidth"],
|
|
14551
|
+
maxInlineSize: ["maxWidth"],
|
|
14552
|
+
blockSize: ["height"],
|
|
14553
|
+
inlineSize: ["width"]
|
|
14554
|
+
};
|
|
14555
|
+
nativeInlineExpansions = {
|
|
14556
|
+
borderInlineColor: ["borderEndColor", "borderStartColor"],
|
|
14557
|
+
borderInlineWidth: ["borderEndWidth", "borderStartWidth"],
|
|
14558
|
+
borderInlineStyle: ["borderEndStyle", "borderStartStyle"],
|
|
14559
|
+
borderInlineStartColor: ["borderStartColor"],
|
|
14560
|
+
borderInlineEndColor: ["borderEndColor"],
|
|
14561
|
+
borderInlineStartWidth: ["borderStartWidth"],
|
|
14562
|
+
borderInlineEndWidth: ["borderEndWidth"],
|
|
14537
14563
|
borderInlineStartStyle: ["borderStartStyle"],
|
|
14538
14564
|
borderInlineEndStyle: ["borderEndStyle"],
|
|
14539
|
-
marginBlock: ["marginTop", "marginBottom"],
|
|
14540
14565
|
marginInline: ["marginEnd", "marginStart"],
|
|
14541
|
-
paddingBlock: ["paddingTop", "paddingBottom"],
|
|
14542
|
-
paddingInline: ["paddingEnd", "paddingStart"],
|
|
14543
|
-
marginBlockStart: ["marginTop"],
|
|
14544
|
-
marginBlockEnd: ["marginBottom"],
|
|
14545
14566
|
marginInlineStart: ["marginStart"],
|
|
14546
14567
|
marginInlineEnd: ["marginEnd"],
|
|
14547
|
-
|
|
14548
|
-
paddingBlockEnd: ["paddingBottom"],
|
|
14568
|
+
paddingInline: ["paddingEnd", "paddingStart"],
|
|
14549
14569
|
paddingInlineStart: ["paddingStart"],
|
|
14550
14570
|
paddingInlineEnd: ["paddingEnd"],
|
|
14551
|
-
minBlockSize: ["minHeight"],
|
|
14552
|
-
maxBlockSize: ["maxHeight"],
|
|
14553
|
-
minInlineSize: ["minWidth"],
|
|
14554
|
-
maxInlineSize: ["maxWidth"],
|
|
14555
|
-
blockSize: ["height"],
|
|
14556
|
-
inlineSize: ["width"],
|
|
14557
|
-
inset: [
|
|
14558
|
-
"top",
|
|
14559
|
-
"right",
|
|
14560
|
-
"bottom",
|
|
14561
|
-
"left"
|
|
14562
|
-
],
|
|
14563
|
-
insetBlock: ["top", "bottom"],
|
|
14564
|
-
insetBlockStart: ["top"],
|
|
14565
|
-
insetBlockEnd: ["bottom"],
|
|
14566
14571
|
insetInlineStart: ["left"],
|
|
14567
14572
|
insetInlineEnd: ["right"]
|
|
14568
14573
|
};
|
package/dist/test.cjs
CHANGED
|
@@ -14625,14 +14625,17 @@ function expandStyle(key, value) {
|
|
|
14625
14625
|
}
|
|
14626
14626
|
return;
|
|
14627
14627
|
}
|
|
14628
|
-
if (key in
|
|
14628
|
+
if (key in nativeInlineExpansions) return nativeInlineExpansions[key].map(function(k) {
|
|
14629
|
+
return [k, value];
|
|
14630
|
+
});
|
|
14631
|
+
if (key in universalExpansions) return universalExpansions[key].map(function(k) {
|
|
14629
14632
|
return [k, value];
|
|
14630
14633
|
});
|
|
14631
14634
|
if (key in EXPANSIONS) return EXPANSIONS[key].map(function(k) {
|
|
14632
14635
|
return [k, value];
|
|
14633
14636
|
});
|
|
14634
14637
|
}
|
|
14635
|
-
var _loop, resizeModeMap, verticalAlignMap, all, horiz, vert, EXPANSIONS,
|
|
14638
|
+
var _loop, resizeModeMap, verticalAlignMap, all, horiz, vert, EXPANSIONS, universalExpansions, nativeInlineExpansions;
|
|
14636
14639
|
var init_expandStyle_native = __esmMin((() => {
|
|
14637
14640
|
init_index_native$7();
|
|
14638
14641
|
init_config_native();
|
|
@@ -14695,52 +14698,54 @@ var init_expandStyle_native = __esmMin((() => {
|
|
|
14695
14698
|
paddingVertical: vert
|
|
14696
14699
|
}, false);
|
|
14697
14700
|
for (var parent in EXPANSIONS) _loop(parent);
|
|
14698
|
-
|
|
14701
|
+
universalExpansions = {
|
|
14702
|
+
inset: [
|
|
14703
|
+
"top",
|
|
14704
|
+
"right",
|
|
14705
|
+
"bottom",
|
|
14706
|
+
"left"
|
|
14707
|
+
],
|
|
14708
|
+
insetBlock: ["top", "bottom"],
|
|
14709
|
+
insetBlockStart: ["top"],
|
|
14710
|
+
insetBlockEnd: ["bottom"],
|
|
14711
|
+
marginBlock: ["marginTop", "marginBottom"],
|
|
14712
|
+
marginBlockStart: ["marginTop"],
|
|
14713
|
+
marginBlockEnd: ["marginBottom"],
|
|
14714
|
+
paddingBlock: ["paddingTop", "paddingBottom"],
|
|
14715
|
+
paddingBlockStart: ["paddingTop"],
|
|
14716
|
+
paddingBlockEnd: ["paddingBottom"],
|
|
14699
14717
|
borderBlockColor: ["borderTopColor", "borderBottomColor"],
|
|
14700
|
-
borderInlineColor: ["borderEndColor", "borderStartColor"],
|
|
14701
14718
|
borderBlockWidth: ["borderTopWidth", "borderBottomWidth"],
|
|
14702
|
-
borderInlineWidth: ["borderEndWidth", "borderStartWidth"],
|
|
14703
14719
|
borderBlockStyle: ["borderTopStyle", "borderBottomStyle"],
|
|
14704
|
-
borderInlineStyle: ["borderEndStyle", "borderStartStyle"],
|
|
14705
14720
|
borderBlockStartColor: ["borderTopColor"],
|
|
14706
14721
|
borderBlockEndColor: ["borderBottomColor"],
|
|
14707
|
-
borderInlineStartColor: ["borderStartColor"],
|
|
14708
|
-
borderInlineEndColor: ["borderEndColor"],
|
|
14709
14722
|
borderBlockStartWidth: ["borderTopWidth"],
|
|
14710
14723
|
borderBlockEndWidth: ["borderBottomWidth"],
|
|
14711
|
-
borderInlineStartWidth: ["borderStartWidth"],
|
|
14712
|
-
borderInlineEndWidth: ["borderEndWidth"],
|
|
14713
14724
|
borderBlockStartStyle: ["borderTopStyle"],
|
|
14714
14725
|
borderBlockEndStyle: ["borderBottomStyle"],
|
|
14726
|
+
minBlockSize: ["minHeight"],
|
|
14727
|
+
maxBlockSize: ["maxHeight"],
|
|
14728
|
+
minInlineSize: ["minWidth"],
|
|
14729
|
+
maxInlineSize: ["maxWidth"],
|
|
14730
|
+
blockSize: ["height"],
|
|
14731
|
+
inlineSize: ["width"]
|
|
14732
|
+
};
|
|
14733
|
+
nativeInlineExpansions = {
|
|
14734
|
+
borderInlineColor: ["borderEndColor", "borderStartColor"],
|
|
14735
|
+
borderInlineWidth: ["borderEndWidth", "borderStartWidth"],
|
|
14736
|
+
borderInlineStyle: ["borderEndStyle", "borderStartStyle"],
|
|
14737
|
+
borderInlineStartColor: ["borderStartColor"],
|
|
14738
|
+
borderInlineEndColor: ["borderEndColor"],
|
|
14739
|
+
borderInlineStartWidth: ["borderStartWidth"],
|
|
14740
|
+
borderInlineEndWidth: ["borderEndWidth"],
|
|
14715
14741
|
borderInlineStartStyle: ["borderStartStyle"],
|
|
14716
14742
|
borderInlineEndStyle: ["borderEndStyle"],
|
|
14717
|
-
marginBlock: ["marginTop", "marginBottom"],
|
|
14718
14743
|
marginInline: ["marginEnd", "marginStart"],
|
|
14719
|
-
paddingBlock: ["paddingTop", "paddingBottom"],
|
|
14720
|
-
paddingInline: ["paddingEnd", "paddingStart"],
|
|
14721
|
-
marginBlockStart: ["marginTop"],
|
|
14722
|
-
marginBlockEnd: ["marginBottom"],
|
|
14723
14744
|
marginInlineStart: ["marginStart"],
|
|
14724
14745
|
marginInlineEnd: ["marginEnd"],
|
|
14725
|
-
|
|
14726
|
-
paddingBlockEnd: ["paddingBottom"],
|
|
14746
|
+
paddingInline: ["paddingEnd", "paddingStart"],
|
|
14727
14747
|
paddingInlineStart: ["paddingStart"],
|
|
14728
14748
|
paddingInlineEnd: ["paddingEnd"],
|
|
14729
|
-
minBlockSize: ["minHeight"],
|
|
14730
|
-
maxBlockSize: ["maxHeight"],
|
|
14731
|
-
minInlineSize: ["minWidth"],
|
|
14732
|
-
maxInlineSize: ["maxWidth"],
|
|
14733
|
-
blockSize: ["height"],
|
|
14734
|
-
inlineSize: ["width"],
|
|
14735
|
-
inset: [
|
|
14736
|
-
"top",
|
|
14737
|
-
"right",
|
|
14738
|
-
"bottom",
|
|
14739
|
-
"left"
|
|
14740
|
-
],
|
|
14741
|
-
insetBlock: ["top", "bottom"],
|
|
14742
|
-
insetBlockStart: ["top"],
|
|
14743
|
-
insetBlockEnd: ["bottom"],
|
|
14744
14749
|
insetInlineStart: ["left"],
|
|
14745
14750
|
insetInlineEnd: ["right"]
|
|
14746
14751
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
@@ -77,72 +77,72 @@
|
|
|
77
77
|
"check-circular-deps": "npx madge --circular ./src/index.ts"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@tamagui/accordion": "2.3.
|
|
81
|
-
"@tamagui/adapt": "2.3.
|
|
82
|
-
"@tamagui/alert-dialog": "2.3.
|
|
83
|
-
"@tamagui/animate": "2.3.
|
|
84
|
-
"@tamagui/animate-presence": "2.3.
|
|
85
|
-
"@tamagui/avatar": "2.3.
|
|
86
|
-
"@tamagui/button": "2.3.
|
|
87
|
-
"@tamagui/card": "2.3.
|
|
88
|
-
"@tamagui/checkbox": "2.3.
|
|
89
|
-
"@tamagui/collapsible": "2.3.
|
|
90
|
-
"@tamagui/compose-refs": "2.3.
|
|
91
|
-
"@tamagui/constants": "2.3.
|
|
92
|
-
"@tamagui/context-menu": "2.3.
|
|
93
|
-
"@tamagui/core": "2.3.
|
|
94
|
-
"@tamagui/create-context": "2.3.
|
|
95
|
-
"@tamagui/create-menu": "2.3.
|
|
96
|
-
"@tamagui/dialog": "2.3.
|
|
97
|
-
"@tamagui/element": "2.3.
|
|
98
|
-
"@tamagui/elements": "2.3.
|
|
99
|
-
"@tamagui/fake-react-native": "2.3.
|
|
100
|
-
"@tamagui/focusable": "2.3.
|
|
101
|
-
"@tamagui/form": "2.3.
|
|
102
|
-
"@tamagui/get-button-sized": "2.3.
|
|
103
|
-
"@tamagui/get-font-sized": "2.3.
|
|
104
|
-
"@tamagui/get-token": "2.3.
|
|
105
|
-
"@tamagui/group": "2.3.
|
|
106
|
-
"@tamagui/helpers-tamagui": "2.3.
|
|
107
|
-
"@tamagui/image": "2.3.
|
|
108
|
-
"@tamagui/input": "2.3.
|
|
109
|
-
"@tamagui/label": "2.3.
|
|
110
|
-
"@tamagui/linear-gradient": "2.3.
|
|
111
|
-
"@tamagui/list-item": "2.3.
|
|
112
|
-
"@tamagui/menu": "2.3.
|
|
113
|
-
"@tamagui/polyfill-dev": "2.3.
|
|
114
|
-
"@tamagui/popover": "2.3.
|
|
115
|
-
"@tamagui/popper": "2.3.
|
|
116
|
-
"@tamagui/portal": "2.3.
|
|
117
|
-
"@tamagui/progress": "2.3.
|
|
118
|
-
"@tamagui/radio-group": "2.3.
|
|
119
|
-
"@tamagui/react-native-media-driver": "2.3.
|
|
120
|
-
"@tamagui/scroll-view": "2.3.
|
|
121
|
-
"@tamagui/select": "2.3.
|
|
122
|
-
"@tamagui/separator": "2.3.
|
|
123
|
-
"@tamagui/shapes": "2.3.
|
|
124
|
-
"@tamagui/sheet": "2.3.
|
|
125
|
-
"@tamagui/slider": "2.3.
|
|
126
|
-
"@tamagui/spacer": "2.3.
|
|
127
|
-
"@tamagui/spinner": "2.3.
|
|
128
|
-
"@tamagui/stacks": "2.3.
|
|
129
|
-
"@tamagui/switch": "2.3.
|
|
130
|
-
"@tamagui/tabs": "2.3.
|
|
131
|
-
"@tamagui/text": "2.3.
|
|
132
|
-
"@tamagui/theme": "2.3.
|
|
133
|
-
"@tamagui/toast": "2.3.
|
|
134
|
-
"@tamagui/toggle-group": "2.3.
|
|
135
|
-
"@tamagui/tooltip": "2.3.
|
|
136
|
-
"@tamagui/use-controllable-state": "2.3.
|
|
137
|
-
"@tamagui/use-debounce": "2.3.
|
|
138
|
-
"@tamagui/use-force-update": "2.3.
|
|
139
|
-
"@tamagui/use-window-dimensions": "2.3.
|
|
140
|
-
"@tamagui/visually-hidden": "2.3.
|
|
141
|
-
"@tamagui/font-size": "2.3.
|
|
142
|
-
"@tamagui/z-index-stack": "2.3.
|
|
80
|
+
"@tamagui/accordion": "2.3.2",
|
|
81
|
+
"@tamagui/adapt": "2.3.2",
|
|
82
|
+
"@tamagui/alert-dialog": "2.3.2",
|
|
83
|
+
"@tamagui/animate": "2.3.2",
|
|
84
|
+
"@tamagui/animate-presence": "2.3.2",
|
|
85
|
+
"@tamagui/avatar": "2.3.2",
|
|
86
|
+
"@tamagui/button": "2.3.2",
|
|
87
|
+
"@tamagui/card": "2.3.2",
|
|
88
|
+
"@tamagui/checkbox": "2.3.2",
|
|
89
|
+
"@tamagui/collapsible": "2.3.2",
|
|
90
|
+
"@tamagui/compose-refs": "2.3.2",
|
|
91
|
+
"@tamagui/constants": "2.3.2",
|
|
92
|
+
"@tamagui/context-menu": "2.3.2",
|
|
93
|
+
"@tamagui/core": "2.3.2",
|
|
94
|
+
"@tamagui/create-context": "2.3.2",
|
|
95
|
+
"@tamagui/create-menu": "2.3.2",
|
|
96
|
+
"@tamagui/dialog": "2.3.2",
|
|
97
|
+
"@tamagui/element": "2.3.2",
|
|
98
|
+
"@tamagui/elements": "2.3.2",
|
|
99
|
+
"@tamagui/fake-react-native": "2.3.2",
|
|
100
|
+
"@tamagui/focusable": "2.3.2",
|
|
101
|
+
"@tamagui/form": "2.3.2",
|
|
102
|
+
"@tamagui/get-button-sized": "2.3.2",
|
|
103
|
+
"@tamagui/get-font-sized": "2.3.2",
|
|
104
|
+
"@tamagui/get-token": "2.3.2",
|
|
105
|
+
"@tamagui/group": "2.3.2",
|
|
106
|
+
"@tamagui/helpers-tamagui": "2.3.2",
|
|
107
|
+
"@tamagui/image": "2.3.2",
|
|
108
|
+
"@tamagui/input": "2.3.2",
|
|
109
|
+
"@tamagui/label": "2.3.2",
|
|
110
|
+
"@tamagui/linear-gradient": "2.3.2",
|
|
111
|
+
"@tamagui/list-item": "2.3.2",
|
|
112
|
+
"@tamagui/menu": "2.3.2",
|
|
113
|
+
"@tamagui/polyfill-dev": "2.3.2",
|
|
114
|
+
"@tamagui/popover": "2.3.2",
|
|
115
|
+
"@tamagui/popper": "2.3.2",
|
|
116
|
+
"@tamagui/portal": "2.3.2",
|
|
117
|
+
"@tamagui/progress": "2.3.2",
|
|
118
|
+
"@tamagui/radio-group": "2.3.2",
|
|
119
|
+
"@tamagui/react-native-media-driver": "2.3.2",
|
|
120
|
+
"@tamagui/scroll-view": "2.3.2",
|
|
121
|
+
"@tamagui/select": "2.3.2",
|
|
122
|
+
"@tamagui/separator": "2.3.2",
|
|
123
|
+
"@tamagui/shapes": "2.3.2",
|
|
124
|
+
"@tamagui/sheet": "2.3.2",
|
|
125
|
+
"@tamagui/slider": "2.3.2",
|
|
126
|
+
"@tamagui/spacer": "2.3.2",
|
|
127
|
+
"@tamagui/spinner": "2.3.2",
|
|
128
|
+
"@tamagui/stacks": "2.3.2",
|
|
129
|
+
"@tamagui/switch": "2.3.2",
|
|
130
|
+
"@tamagui/tabs": "2.3.2",
|
|
131
|
+
"@tamagui/text": "2.3.2",
|
|
132
|
+
"@tamagui/theme": "2.3.2",
|
|
133
|
+
"@tamagui/toast": "2.3.2",
|
|
134
|
+
"@tamagui/toggle-group": "2.3.2",
|
|
135
|
+
"@tamagui/tooltip": "2.3.2",
|
|
136
|
+
"@tamagui/use-controllable-state": "2.3.2",
|
|
137
|
+
"@tamagui/use-debounce": "2.3.2",
|
|
138
|
+
"@tamagui/use-force-update": "2.3.2",
|
|
139
|
+
"@tamagui/use-window-dimensions": "2.3.2",
|
|
140
|
+
"@tamagui/visually-hidden": "2.3.2",
|
|
141
|
+
"@tamagui/font-size": "2.3.2",
|
|
142
|
+
"@tamagui/z-index-stack": "2.3.2"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@tamagui/build": "2.3.
|
|
145
|
+
"@tamagui/build": "2.3.2",
|
|
146
146
|
"react": ">=19",
|
|
147
147
|
"react-native": "0.83.2",
|
|
148
148
|
"react-native-web": "^0.21.0"
|