tamagui 1.137.2 → 1.138.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/dist/native.cjs +100 -10
- package/dist/test.cjs +100 -10
- package/package.json +57 -57
- package/types/views/Input.d.ts +12 -9
- package/types/views/Input.d.ts.map +1 -1
package/dist/native.cjs
CHANGED
|
@@ -1827,23 +1827,73 @@ function getNewThemeName() {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
var parentParts = parentName.split("_"), lastName = parentParts[parentParts.length - 1];
|
|
1829
1829
|
lastName && lastName[0].toLowerCase() !== lastName[0] && parentParts.pop();
|
|
1830
|
-
|
|
1831
|
-
|
|
1830
|
+
var subNames = [name && componentName ? `${name}_${componentName}` : void 0, name, componentName].filter(Boolean), found = null;
|
|
1831
|
+
if (name) {
|
|
1832
|
+
var nameHasScheme = getScheme(name);
|
|
1833
|
+
if (nameHasScheme) {
|
|
1834
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
1835
|
+
try {
|
|
1836
|
+
for (var _iterator = subNames[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
1837
|
+
var subName = _step.value;
|
|
1838
|
+
if (subName in themes2) {
|
|
1839
|
+
found = subName;
|
|
1840
|
+
break;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
} catch (err) {
|
|
1844
|
+
_didIteratorError = true, _iteratorError = err;
|
|
1845
|
+
} finally {
|
|
1846
|
+
try {
|
|
1847
|
+
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
1848
|
+
} finally {
|
|
1849
|
+
if (_didIteratorError) throw _iteratorError;
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
if (!found && !nameHasScheme) {
|
|
1854
|
+
var parentScheme = getScheme(parentName);
|
|
1855
|
+
if (parentScheme) {
|
|
1856
|
+
var parentBase = parentParts.join("_"), withScheme = [componentName ? `${parentBase}_${name}_${componentName}` : void 0, `${parentBase}_${name}`, componentName ? `${parentScheme}_${name}_${componentName}` : void 0, `${parentScheme}_${name}`].filter(Boolean), _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
1857
|
+
try {
|
|
1858
|
+
for (var _iterator1 = withScheme[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
1859
|
+
var potential = _step1.value;
|
|
1860
|
+
if (potential in themes2) {
|
|
1861
|
+
found = potential;
|
|
1862
|
+
break;
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
} catch (err) {
|
|
1866
|
+
_didIteratorError1 = true, _iteratorError1 = err;
|
|
1867
|
+
} finally {
|
|
1868
|
+
try {
|
|
1869
|
+
!_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
|
|
1870
|
+
} finally {
|
|
1871
|
+
if (_didIteratorError1) throw _iteratorError1;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
if (!found) if (!name && componentName) {
|
|
1878
|
+
var potential1 = `${parentParts.join("_")}_${componentName}`;
|
|
1879
|
+
potential1 in themes2 && (found = potential1);
|
|
1880
|
+
} else for (var max2 = parentParts.length, i = 0; i <= max2; i++) {
|
|
1881
|
+
var base = (i === 0 ? parentParts : parentParts.slice(0, -i)).join("_"), _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;
|
|
1832
1882
|
try {
|
|
1833
|
-
for (var
|
|
1834
|
-
var
|
|
1835
|
-
if (
|
|
1836
|
-
found =
|
|
1883
|
+
for (var _iterator2 = subNames[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
1884
|
+
var subName1 = _step2.value, potential2 = base ? `${base}_${subName1}` : subName1;
|
|
1885
|
+
if (potential2 in themes2) {
|
|
1886
|
+
found = potential2;
|
|
1837
1887
|
break;
|
|
1838
1888
|
}
|
|
1839
1889
|
}
|
|
1840
1890
|
} catch (err) {
|
|
1841
|
-
|
|
1891
|
+
_didIteratorError2 = true, _iteratorError2 = err;
|
|
1842
1892
|
} finally {
|
|
1843
1893
|
try {
|
|
1844
|
-
!
|
|
1894
|
+
!_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
|
|
1845
1895
|
} finally {
|
|
1846
|
-
if (
|
|
1896
|
+
if (_didIteratorError2) throw _iteratorError2;
|
|
1847
1897
|
}
|
|
1848
1898
|
}
|
|
1849
1899
|
if (found) break;
|
|
@@ -4761,7 +4811,7 @@ function createTamagui$2(configIn) {
|
|
|
4761
4811
|
return themeRuleSets;
|
|
4762
4812
|
}
|
|
4763
4813
|
};
|
|
4764
|
-
})(),
|
|
4814
|
+
})(), userShorthands = configIn.shorthands || {}, shorthands = __spreadValues(__spreadValues({}, builtinShorthands), userShorthands), getCSS = function() {
|
|
4765
4815
|
return "";
|
|
4766
4816
|
}, getNewCSS = function(opts) {
|
|
4767
4817
|
return getCSS(__spreadValues({}, opts));
|
|
@@ -4793,6 +4843,7 @@ function createTamagui$2(configIn) {
|
|
|
4793
4843
|
tokens,
|
|
4794
4844
|
// vite made this into a function if it wasn't set
|
|
4795
4845
|
shorthands,
|
|
4846
|
+
userShorthands,
|
|
4796
4847
|
inverseShorthands: shorthands ? Object.fromEntries(Object.entries(shorthands).map(function(param) {
|
|
4797
4848
|
var [k, v] = param;
|
|
4798
4849
|
return [v, k];
|
|
@@ -4834,6 +4885,45 @@ function getThemesDeduped(themes2, colorTokens) {
|
|
|
4834
4885
|
}
|
|
4835
4886
|
return dedupedThemes;
|
|
4836
4887
|
}
|
|
4888
|
+
var builtinShorthands = {
|
|
4889
|
+
fd: "flexDirection",
|
|
4890
|
+
fb: "flexBasis",
|
|
4891
|
+
bblr: "borderBottomLeftRadius",
|
|
4892
|
+
bbrr: "borderBottomRightRadius",
|
|
4893
|
+
fwr: "flexWrap",
|
|
4894
|
+
col: "color",
|
|
4895
|
+
ff: "fontFamily",
|
|
4896
|
+
fst: "fontStyle",
|
|
4897
|
+
tr: "transform",
|
|
4898
|
+
tt: "textTransform",
|
|
4899
|
+
td: "textDecorationLine",
|
|
4900
|
+
va: "verticalAlign",
|
|
4901
|
+
ws: "whiteSpace",
|
|
4902
|
+
wb: "wordBreak",
|
|
4903
|
+
ww: "wordWrap",
|
|
4904
|
+
brc: "borderRightColor",
|
|
4905
|
+
brw: "borderRightWidth",
|
|
4906
|
+
bs: "borderStyle",
|
|
4907
|
+
btc: "borderTopColor",
|
|
4908
|
+
btlr: "borderTopLeftRadius",
|
|
4909
|
+
btrr: "borderTopRightRadius",
|
|
4910
|
+
btw: "borderTopWidth",
|
|
4911
|
+
bw: "borderWidth",
|
|
4912
|
+
o: "opacity",
|
|
4913
|
+
cur: "cursor",
|
|
4914
|
+
pe: "pointerEvents",
|
|
4915
|
+
ov: "overflow",
|
|
4916
|
+
pos: "position",
|
|
4917
|
+
dsp: "display",
|
|
4918
|
+
fw: "fontWeight",
|
|
4919
|
+
fs: "fontSize",
|
|
4920
|
+
ls: "letterSpacing",
|
|
4921
|
+
lh: "lineHeight",
|
|
4922
|
+
bxs: "boxSizing",
|
|
4923
|
+
bxsh: "boxShadow",
|
|
4924
|
+
ox: "overflowX",
|
|
4925
|
+
oy: "overflowY"
|
|
4926
|
+
};
|
|
4837
4927
|
var createTheme = function(theme) {
|
|
4838
4928
|
return theme;
|
|
4839
4929
|
};
|
package/dist/test.cjs
CHANGED
|
@@ -2067,23 +2067,73 @@ function getNewThemeName() {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
var parentParts = parentName.split("_"), lastName = parentParts[parentParts.length - 1];
|
|
2069
2069
|
lastName && lastName[0].toLowerCase() !== lastName[0] && parentParts.pop();
|
|
2070
|
-
|
|
2071
|
-
|
|
2070
|
+
var subNames = [name && componentName ? `${name}_${componentName}` : void 0, name, componentName].filter(Boolean), found = null;
|
|
2071
|
+
if (name) {
|
|
2072
|
+
var nameHasScheme = getScheme(name);
|
|
2073
|
+
if (nameHasScheme) {
|
|
2074
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
2075
|
+
try {
|
|
2076
|
+
for (var _iterator = subNames[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
2077
|
+
var subName = _step.value;
|
|
2078
|
+
if (subName in themes2) {
|
|
2079
|
+
found = subName;
|
|
2080
|
+
break;
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
} catch (err) {
|
|
2084
|
+
_didIteratorError = true, _iteratorError = err;
|
|
2085
|
+
} finally {
|
|
2086
|
+
try {
|
|
2087
|
+
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
2088
|
+
} finally {
|
|
2089
|
+
if (_didIteratorError) throw _iteratorError;
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
if (!found && !nameHasScheme) {
|
|
2094
|
+
var parentScheme = getScheme(parentName);
|
|
2095
|
+
if (parentScheme) {
|
|
2096
|
+
var parentBase = parentParts.join("_"), withScheme = [componentName ? `${parentBase}_${name}_${componentName}` : void 0, `${parentBase}_${name}`, componentName ? `${parentScheme}_${name}_${componentName}` : void 0, `${parentScheme}_${name}`].filter(Boolean), _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
2097
|
+
try {
|
|
2098
|
+
for (var _iterator1 = withScheme[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
2099
|
+
var potential = _step1.value;
|
|
2100
|
+
if (potential in themes2) {
|
|
2101
|
+
found = potential;
|
|
2102
|
+
break;
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
} catch (err) {
|
|
2106
|
+
_didIteratorError1 = true, _iteratorError1 = err;
|
|
2107
|
+
} finally {
|
|
2108
|
+
try {
|
|
2109
|
+
!_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
|
|
2110
|
+
} finally {
|
|
2111
|
+
if (_didIteratorError1) throw _iteratorError1;
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
if (!found) if (!name && componentName) {
|
|
2118
|
+
var potential1 = `${parentParts.join("_")}_${componentName}`;
|
|
2119
|
+
potential1 in themes2 && (found = potential1);
|
|
2120
|
+
} else for (var max2 = parentParts.length, i = 0; i <= max2; i++) {
|
|
2121
|
+
var base = (i === 0 ? parentParts : parentParts.slice(0, -i)).join("_"), _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = void 0;
|
|
2072
2122
|
try {
|
|
2073
|
-
for (var
|
|
2074
|
-
var
|
|
2075
|
-
if (
|
|
2076
|
-
found =
|
|
2123
|
+
for (var _iterator2 = subNames[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
2124
|
+
var subName1 = _step2.value, potential2 = base ? `${base}_${subName1}` : subName1;
|
|
2125
|
+
if (potential2 in themes2) {
|
|
2126
|
+
found = potential2;
|
|
2077
2127
|
break;
|
|
2078
2128
|
}
|
|
2079
2129
|
}
|
|
2080
2130
|
} catch (err) {
|
|
2081
|
-
|
|
2131
|
+
_didIteratorError2 = true, _iteratorError2 = err;
|
|
2082
2132
|
} finally {
|
|
2083
2133
|
try {
|
|
2084
|
-
!
|
|
2134
|
+
!_iteratorNormalCompletion2 && _iterator2.return != null && _iterator2.return();
|
|
2085
2135
|
} finally {
|
|
2086
|
-
if (
|
|
2136
|
+
if (_didIteratorError2) throw _iteratorError2;
|
|
2087
2137
|
}
|
|
2088
2138
|
}
|
|
2089
2139
|
if (found) break;
|
|
@@ -5008,7 +5058,7 @@ function createTamagui$2(configIn) {
|
|
|
5008
5058
|
return themeRuleSets;
|
|
5009
5059
|
}
|
|
5010
5060
|
};
|
|
5011
|
-
})(),
|
|
5061
|
+
})(), userShorthands = configIn.shorthands || {}, shorthands = __spreadValues(__spreadValues({}, builtinShorthands), userShorthands), getCSS = function() {
|
|
5012
5062
|
return "";
|
|
5013
5063
|
}, getNewCSS = function(opts) {
|
|
5014
5064
|
return getCSS(__spreadValues({}, opts));
|
|
@@ -5040,6 +5090,7 @@ function createTamagui$2(configIn) {
|
|
|
5040
5090
|
tokens,
|
|
5041
5091
|
// vite made this into a function if it wasn't set
|
|
5042
5092
|
shorthands,
|
|
5093
|
+
userShorthands,
|
|
5043
5094
|
inverseShorthands: shorthands ? Object.fromEntries(Object.entries(shorthands).map(function(param) {
|
|
5044
5095
|
var [k, v] = param;
|
|
5045
5096
|
return [v, k];
|
|
@@ -5081,6 +5132,45 @@ function getThemesDeduped(themes2, colorTokens) {
|
|
|
5081
5132
|
}
|
|
5082
5133
|
return dedupedThemes;
|
|
5083
5134
|
}
|
|
5135
|
+
var builtinShorthands = {
|
|
5136
|
+
fd: "flexDirection",
|
|
5137
|
+
fb: "flexBasis",
|
|
5138
|
+
bblr: "borderBottomLeftRadius",
|
|
5139
|
+
bbrr: "borderBottomRightRadius",
|
|
5140
|
+
fwr: "flexWrap",
|
|
5141
|
+
col: "color",
|
|
5142
|
+
ff: "fontFamily",
|
|
5143
|
+
fst: "fontStyle",
|
|
5144
|
+
tr: "transform",
|
|
5145
|
+
tt: "textTransform",
|
|
5146
|
+
td: "textDecorationLine",
|
|
5147
|
+
va: "verticalAlign",
|
|
5148
|
+
ws: "whiteSpace",
|
|
5149
|
+
wb: "wordBreak",
|
|
5150
|
+
ww: "wordWrap",
|
|
5151
|
+
brc: "borderRightColor",
|
|
5152
|
+
brw: "borderRightWidth",
|
|
5153
|
+
bs: "borderStyle",
|
|
5154
|
+
btc: "borderTopColor",
|
|
5155
|
+
btlr: "borderTopLeftRadius",
|
|
5156
|
+
btrr: "borderTopRightRadius",
|
|
5157
|
+
btw: "borderTopWidth",
|
|
5158
|
+
bw: "borderWidth",
|
|
5159
|
+
o: "opacity",
|
|
5160
|
+
cur: "cursor",
|
|
5161
|
+
pe: "pointerEvents",
|
|
5162
|
+
ov: "overflow",
|
|
5163
|
+
pos: "position",
|
|
5164
|
+
dsp: "display",
|
|
5165
|
+
fw: "fontWeight",
|
|
5166
|
+
fs: "fontSize",
|
|
5167
|
+
ls: "letterSpacing",
|
|
5168
|
+
lh: "lineHeight",
|
|
5169
|
+
bxs: "boxSizing",
|
|
5170
|
+
bxsh: "boxShadow",
|
|
5171
|
+
ox: "overflowX",
|
|
5172
|
+
oy: "overflowY"
|
|
5173
|
+
};
|
|
5084
5174
|
var createTheme = function(theme) {
|
|
5085
5175
|
return theme;
|
|
5086
5176
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"removeSideEffects": true,
|
|
@@ -81,65 +81,65 @@
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@tamagui/accordion": "1.
|
|
85
|
-
"@tamagui/adapt": "1.
|
|
86
|
-
"@tamagui/alert-dialog": "1.
|
|
87
|
-
"@tamagui/animate-presence": "1.
|
|
88
|
-
"@tamagui/avatar": "1.
|
|
89
|
-
"@tamagui/button": "1.
|
|
90
|
-
"@tamagui/card": "1.
|
|
91
|
-
"@tamagui/checkbox": "1.
|
|
92
|
-
"@tamagui/compose-refs": "1.
|
|
93
|
-
"@tamagui/constants": "1.
|
|
94
|
-
"@tamagui/core": "1.
|
|
95
|
-
"@tamagui/create-context": "1.
|
|
96
|
-
"@tamagui/dialog": "1.
|
|
97
|
-
"@tamagui/elements": "1.
|
|
98
|
-
"@tamagui/fake-react-native": "1.
|
|
99
|
-
"@tamagui/focusable": "1.
|
|
100
|
-
"@tamagui/font-size": "1.
|
|
101
|
-
"@tamagui/form": "1.
|
|
102
|
-
"@tamagui/get-button-sized": "1.
|
|
103
|
-
"@tamagui/get-font-sized": "1.
|
|
104
|
-
"@tamagui/get-token": "1.
|
|
105
|
-
"@tamagui/group": "1.
|
|
106
|
-
"@tamagui/helpers-tamagui": "1.
|
|
107
|
-
"@tamagui/image": "1.
|
|
108
|
-
"@tamagui/label": "1.
|
|
109
|
-
"@tamagui/linear-gradient": "1.
|
|
110
|
-
"@tamagui/list-item": "1.
|
|
111
|
-
"@tamagui/polyfill-dev": "1.
|
|
112
|
-
"@tamagui/popover": "1.
|
|
113
|
-
"@tamagui/popper": "1.
|
|
114
|
-
"@tamagui/portal": "1.
|
|
115
|
-
"@tamagui/progress": "1.
|
|
116
|
-
"@tamagui/radio-group": "1.
|
|
117
|
-
"@tamagui/react-native-media-driver": "1.
|
|
118
|
-
"@tamagui/scroll-view": "1.
|
|
119
|
-
"@tamagui/select": "1.
|
|
120
|
-
"@tamagui/separator": "1.
|
|
121
|
-
"@tamagui/shapes": "1.
|
|
122
|
-
"@tamagui/sheet": "1.
|
|
123
|
-
"@tamagui/slider": "1.
|
|
124
|
-
"@tamagui/stacks": "1.
|
|
125
|
-
"@tamagui/switch": "1.
|
|
126
|
-
"@tamagui/tabs": "1.
|
|
127
|
-
"@tamagui/text": "1.
|
|
128
|
-
"@tamagui/theme": "1.
|
|
129
|
-
"@tamagui/toggle-group": "1.
|
|
130
|
-
"@tamagui/tooltip": "1.
|
|
131
|
-
"@tamagui/use-controllable-state": "1.
|
|
132
|
-
"@tamagui/use-debounce": "1.
|
|
133
|
-
"@tamagui/use-force-update": "1.
|
|
134
|
-
"@tamagui/use-window-dimensions": "1.
|
|
135
|
-
"@tamagui/visually-hidden": "1.
|
|
136
|
-
"@tamagui/z-index-stack": "1.
|
|
84
|
+
"@tamagui/accordion": "1.138.0",
|
|
85
|
+
"@tamagui/adapt": "1.138.0",
|
|
86
|
+
"@tamagui/alert-dialog": "1.138.0",
|
|
87
|
+
"@tamagui/animate-presence": "1.138.0",
|
|
88
|
+
"@tamagui/avatar": "1.138.0",
|
|
89
|
+
"@tamagui/button": "1.138.0",
|
|
90
|
+
"@tamagui/card": "1.138.0",
|
|
91
|
+
"@tamagui/checkbox": "1.138.0",
|
|
92
|
+
"@tamagui/compose-refs": "1.138.0",
|
|
93
|
+
"@tamagui/constants": "1.138.0",
|
|
94
|
+
"@tamagui/core": "1.138.0",
|
|
95
|
+
"@tamagui/create-context": "1.138.0",
|
|
96
|
+
"@tamagui/dialog": "1.138.0",
|
|
97
|
+
"@tamagui/elements": "1.138.0",
|
|
98
|
+
"@tamagui/fake-react-native": "1.138.0",
|
|
99
|
+
"@tamagui/focusable": "1.138.0",
|
|
100
|
+
"@tamagui/font-size": "1.138.0",
|
|
101
|
+
"@tamagui/form": "1.138.0",
|
|
102
|
+
"@tamagui/get-button-sized": "1.138.0",
|
|
103
|
+
"@tamagui/get-font-sized": "1.138.0",
|
|
104
|
+
"@tamagui/get-token": "1.138.0",
|
|
105
|
+
"@tamagui/group": "1.138.0",
|
|
106
|
+
"@tamagui/helpers-tamagui": "1.138.0",
|
|
107
|
+
"@tamagui/image": "1.138.0",
|
|
108
|
+
"@tamagui/label": "1.138.0",
|
|
109
|
+
"@tamagui/linear-gradient": "1.138.0",
|
|
110
|
+
"@tamagui/list-item": "1.138.0",
|
|
111
|
+
"@tamagui/polyfill-dev": "1.138.0",
|
|
112
|
+
"@tamagui/popover": "1.138.0",
|
|
113
|
+
"@tamagui/popper": "1.138.0",
|
|
114
|
+
"@tamagui/portal": "1.138.0",
|
|
115
|
+
"@tamagui/progress": "1.138.0",
|
|
116
|
+
"@tamagui/radio-group": "1.138.0",
|
|
117
|
+
"@tamagui/react-native-media-driver": "1.138.0",
|
|
118
|
+
"@tamagui/scroll-view": "1.138.0",
|
|
119
|
+
"@tamagui/select": "1.138.0",
|
|
120
|
+
"@tamagui/separator": "1.138.0",
|
|
121
|
+
"@tamagui/shapes": "1.138.0",
|
|
122
|
+
"@tamagui/sheet": "1.138.0",
|
|
123
|
+
"@tamagui/slider": "1.138.0",
|
|
124
|
+
"@tamagui/stacks": "1.138.0",
|
|
125
|
+
"@tamagui/switch": "1.138.0",
|
|
126
|
+
"@tamagui/tabs": "1.138.0",
|
|
127
|
+
"@tamagui/text": "1.138.0",
|
|
128
|
+
"@tamagui/theme": "1.138.0",
|
|
129
|
+
"@tamagui/toggle-group": "1.138.0",
|
|
130
|
+
"@tamagui/tooltip": "1.138.0",
|
|
131
|
+
"@tamagui/use-controllable-state": "1.138.0",
|
|
132
|
+
"@tamagui/use-debounce": "1.138.0",
|
|
133
|
+
"@tamagui/use-force-update": "1.138.0",
|
|
134
|
+
"@tamagui/use-window-dimensions": "1.138.0",
|
|
135
|
+
"@tamagui/visually-hidden": "1.138.0",
|
|
136
|
+
"@tamagui/z-index-stack": "1.138.0"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@tamagui/build": "1.
|
|
139
|
+
"@tamagui/build": "1.138.0",
|
|
140
140
|
"react": "*",
|
|
141
|
-
"react-native": "
|
|
142
|
-
"react-native-web": "^0.
|
|
141
|
+
"react-native": "0.81.5",
|
|
142
|
+
"react-native-web": "^0.21.0"
|
|
143
143
|
},
|
|
144
144
|
"repository": {
|
|
145
145
|
"type": "git",
|
package/types/views/Input.d.ts
CHANGED
|
@@ -96,8 +96,8 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
96
96
|
onPress?: ((e: import("react-native").NativeSyntheticEvent<import("react-native").NativeTouchEvent>) => void) | undefined | undefined;
|
|
97
97
|
onPressIn?: ((e: import("react-native").NativeSyntheticEvent<import("react-native").NativeTouchEvent>) => void) | undefined | undefined;
|
|
98
98
|
onPressOut?: ((e: import("react-native").NativeSyntheticEvent<import("react-native").NativeTouchEvent>) => void) | undefined | undefined;
|
|
99
|
-
onFocus?: ((e: import("react-native").
|
|
100
|
-
onBlur?: ((e: import("react-native").
|
|
99
|
+
onFocus?: ((e: import("react-native").FocusEvent) => void) | undefined | undefined;
|
|
100
|
+
onBlur?: ((e: import("react-native").BlurEvent) => void) | undefined | undefined;
|
|
101
101
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined | undefined;
|
|
102
102
|
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined | undefined;
|
|
103
103
|
focusable?: boolean | undefined | undefined;
|
|
@@ -150,6 +150,7 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
150
150
|
'aria-labelledby'?: string | undefined | undefined;
|
|
151
151
|
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined | undefined;
|
|
152
152
|
'aria-live'?: ("polite" | "assertive" | "off") | undefined | undefined;
|
|
153
|
+
screenReaderFocusable?: boolean | undefined | undefined;
|
|
153
154
|
accessibilityElementsHidden?: boolean | undefined | undefined;
|
|
154
155
|
accessibilityViewIsModal?: boolean | undefined | undefined;
|
|
155
156
|
onAccessibilityEscape?: (() => void) | undefined | undefined;
|
|
@@ -159,6 +160,7 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
159
160
|
accessibilityLanguage?: string | undefined | undefined;
|
|
160
161
|
accessibilityShowsLargeContentViewer?: boolean | undefined | undefined;
|
|
161
162
|
accessibilityLargeContentTitle?: string | undefined | undefined;
|
|
163
|
+
accessibilityRespondsToUserInteraction?: boolean | undefined | undefined;
|
|
162
164
|
target?: string | undefined;
|
|
163
165
|
htmlFor?: string | undefined;
|
|
164
166
|
asChild?: boolean | "except-style" | "except-style-web" | "web" | undefined;
|
|
@@ -219,13 +221,13 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
219
221
|
inputMode?: import("react-native").InputModeOptions | undefined;
|
|
220
222
|
maxLength?: number | undefined | undefined;
|
|
221
223
|
multiline?: boolean | undefined | undefined;
|
|
222
|
-
onChange?: ((e: import("react-native").
|
|
223
|
-
onContentSizeChange?: ((e: import("react-native").
|
|
224
|
-
onEndEditing?: ((e: import("react-native").
|
|
225
|
-
onSelectionChange?: ((e: import("react-native").
|
|
226
|
-
onSubmitEditing?: ((e: import("react-native").
|
|
227
|
-
onScroll?: ((e: import("react-native").
|
|
228
|
-
onKeyPress?: ((e: import("react-native").
|
|
224
|
+
onChange?: ((e: import("react-native").TextInputChangeEvent) => void) | undefined | undefined;
|
|
225
|
+
onContentSizeChange?: ((e: import("react-native").TextInputContentSizeChangeEvent) => void) | undefined | undefined;
|
|
226
|
+
onEndEditing?: ((e: import("react-native").TextInputEndEditingEvent) => void) | undefined | undefined;
|
|
227
|
+
onSelectionChange?: ((e: import("react-native").TextInputSelectionChangeEvent) => void) | undefined | undefined;
|
|
228
|
+
onSubmitEditing?: ((e: import("react-native").TextInputSubmitEditingEvent) => void) | undefined | undefined;
|
|
229
|
+
onScroll?: ((e: import("react-native").TextInputScrollEvent) => void) | undefined | undefined;
|
|
230
|
+
onKeyPress?: ((e: import("react-native").TextInputKeyPressEvent) => void) | undefined | undefined;
|
|
229
231
|
placeholder?: string | undefined | undefined;
|
|
230
232
|
readOnly: boolean | undefined;
|
|
231
233
|
returnKeyType?: import("react-native").ReturnKeyTypeOptions | undefined;
|
|
@@ -237,6 +239,7 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
237
239
|
end?: number | undefined;
|
|
238
240
|
} | undefined | undefined;
|
|
239
241
|
inputAccessoryViewID?: string | undefined | undefined;
|
|
242
|
+
inputAccessoryViewButtonLabel?: string | undefined | undefined;
|
|
240
243
|
disableKeyboardShortcuts?: boolean | undefined | undefined;
|
|
241
244
|
clearButtonMode?: "never" | "while-editing" | "unless-editing" | "always" | undefined | undefined;
|
|
242
245
|
clearTextOnFocus?: boolean | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/views/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIxC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChB,CAAA;AAEV,eAAO,MAAM,UAAU;;;;;;;;;;;;;EA+BtB,CAAA;AAID,MAAM,MAAM,KAAK,GAAG,SAAS,CAAA;AAE7B,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG,eAAe,CAAA;AAE1D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;EAMhB,CAAA;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/views/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAIxC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChB,CAAA;AAEV,eAAO,MAAM,UAAU;;;;;;;;;;;;;EA+BtB,CAAA;AAID,MAAM,MAAM,KAAK,GAAG,SAAS,CAAA;AAE7B,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAEzD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,eAAe,GAAG,eAAe,CAAA;AAE1D,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;EAMhB,CAAA;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkCyotB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA/C1rtB,MAAM;;EA8Cd"}
|