tamagui 3.0.5 → 3.0.7

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.
Files changed (33) hide show
  1. package/dist/cjs/components/Button.cjs +5 -1
  2. package/dist/cjs/components/Button.native.cjs +5 -1
  3. package/dist/cjs/components/Button.native.js +5 -1
  4. package/dist/cjs/components/Button.native.js.map +1 -1
  5. package/dist/cjs/components/ListItem.cjs +2 -1
  6. package/dist/cjs/components/ListItem.native.cjs +2 -1
  7. package/dist/cjs/components/ListItem.native.js +2 -1
  8. package/dist/cjs/components/ListItem.native.js.map +1 -1
  9. package/dist/esm/components/Button.mjs +5 -1
  10. package/dist/esm/components/Button.mjs.map +1 -1
  11. package/dist/esm/components/Button.native.js +5 -1
  12. package/dist/esm/components/Button.native.js.map +1 -1
  13. package/dist/esm/components/ListItem.mjs +2 -1
  14. package/dist/esm/components/ListItem.mjs.map +1 -1
  15. package/dist/esm/components/ListItem.native.js +2 -1
  16. package/dist/esm/components/ListItem.native.js.map +1 -1
  17. package/dist/jsx/components/Button.mjs +5 -1
  18. package/dist/jsx/components/Button.mjs.map +1 -1
  19. package/dist/jsx/components/Button.native.cjs +5 -1
  20. package/dist/jsx/components/Button.native.js +5 -1
  21. package/dist/jsx/components/Button.native.js.map +1 -1
  22. package/dist/jsx/components/ListItem.mjs +2 -1
  23. package/dist/jsx/components/ListItem.mjs.map +1 -1
  24. package/dist/jsx/components/ListItem.native.cjs +2 -1
  25. package/dist/jsx/components/ListItem.native.js +2 -1
  26. package/dist/jsx/components/ListItem.native.js.map +1 -1
  27. package/dist/native.cjs +87 -83
  28. package/dist/test.cjs +87 -83
  29. package/package.json +67 -67
  30. package/src/components/Button.tsx +2 -1
  31. package/src/components/ListItem.tsx +3 -1
  32. package/types/components/Button.d.ts.map +1 -1
  33. package/types/components/ListItem.d.ts.map +1 -1
package/dist/test.cjs CHANGED
@@ -1829,7 +1829,7 @@ var absoluteFillObject, absoluteFill, init_StyleSheet = __esmMin((() => {
1829
1829
  StyleSheet.flatten = flatten;
1830
1830
  StyleSheet.getSheet = getSheet;
1831
1831
  StyleSheet.hairlineWidth = 1;
1832
- })), _requestIdleCallback, isSupported, requestIdleCallback;
1832
+ })), _requestIdleCallback, isSupported, requestIdleCallback$1;
1833
1833
  var init_requestIdleCallback = __esmMin((() => {
1834
1834
  init_canUseDOM();
1835
1835
  _requestIdleCallback = function(cb, options) {
@@ -1844,7 +1844,7 @@ var init_requestIdleCallback = __esmMin((() => {
1844
1844
  }, 1);
1845
1845
  };
1846
1846
  isSupported = canUseDOM$1 && typeof window.requestIdleCallback !== "undefined";
1847
- requestIdleCallback = isSupported ? window.requestIdleCallback : _requestIdleCallback;
1847
+ requestIdleCallback$1 = isSupported ? window.requestIdleCallback : _requestIdleCallback;
1848
1848
  isSupported && window.cancelIdleCallback;
1849
1849
  }));
1850
1850
  //#endregion
@@ -2166,7 +2166,7 @@ var init_invariant = __esmMin((() => {}));
2166
2166
  function _scheduleUpdate() {
2167
2167
  if (!_nextUpdateHandle) {
2168
2168
  if (_deadline > 0) _nextUpdateHandle = setTimeout(_processUpdate);
2169
- else _nextUpdateHandle = requestIdleCallback(_processUpdate);
2169
+ else _nextUpdateHandle = requestIdleCallback$1(_processUpdate);
2170
2170
  }
2171
2171
  }
2172
2172
  function _processUpdate() {
@@ -15692,6 +15692,27 @@ function normalizeNativeStyle(style) {
15692
15692
  }
15693
15693
  return next !== null && next !== void 0 ? next : style;
15694
15694
  }
15695
+ function getCompiledMapping(mapping) {
15696
+ var key = mappingKeys.get(mapping);
15697
+ if (!key) {
15698
+ key = JSON.stringify(Object.keys(mapping).sort().map(function(styleKey) {
15699
+ return [styleKey, mapping[styleKey]];
15700
+ }));
15701
+ mappingKeys.set(mapping, key);
15702
+ }
15703
+ var compiled = compiledMappings.get(key);
15704
+ if (!compiled) {
15705
+ compiled = {
15706
+ mapping,
15707
+ states: /* @__PURE__ */ new Map(),
15708
+ tableId: nextTableId++,
15709
+ sent: /* @__PURE__ */ new Map()
15710
+ };
15711
+ if (compiledMappings.size >= 1e4) compiledMappings.clear();
15712
+ compiledMappings.set(key, compiled);
15713
+ }
15714
+ return compiled;
15715
+ }
15695
15716
  function resolveCompiledMapping(compiled, stateName, theme) {
15696
15717
  var cached = compiled.states.get(stateName);
15697
15718
  if ((cached === null || cached === void 0 ? void 0 : cached.theme) === theme) return cached;
@@ -15720,11 +15741,10 @@ function syncTableState(compiled, stateName, theme) {
15720
15741
  }
15721
15742
  function setNativeStyleEngine(next) {
15722
15743
  if (engine !== next) {
15723
- settleReleases();
15724
15744
  compiledMappings.clear();
15725
15745
  scopeMappings.clear();
15726
- pendingLinks = [];
15727
- unlinkedPending = 0;
15746
+ pendingHosts = [];
15747
+ pendingStates = [];
15728
15748
  }
15729
15749
  engine = next;
15730
15750
  if (next) {
@@ -15762,7 +15782,7 @@ function updateNativeStyleScope(scopeId, stateName, theme) {
15762
15782
  if (linked) {
15763
15783
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
15764
15784
  try {
15765
- for (var _iterator = linked.keys()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
15785
+ for (var _iterator = linked[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
15766
15786
  var compiled = _step.value;
15767
15787
  syncTableState(compiled, stateName, theme);
15768
15788
  }
@@ -15782,81 +15802,44 @@ function updateNativeStyleScope(scopeId, stateName, theme) {
15782
15802
  }
15783
15803
  function removeNativeStyleScope(scopeId) {
15784
15804
  if (!scopeStates.delete(scopeId)) return;
15805
+ queueMicrotask(function() {
15806
+ if (!scopeStates.has(scopeId)) scopeMappings.delete(scopeId);
15807
+ });
15785
15808
  engine === null || engine === void 0 || engine.removeScope(scopeId);
15786
15809
  }
15787
- function trackScopeMapping(link, delta) {
15788
- var linked = scopeMappings.get(link.scopeId);
15789
- if (!linked) scopeMappings.set(link.scopeId, linked = /* @__PURE__ */ new Map());
15790
- var _linked_get;
15791
- var count = ((_linked_get = linked.get(link.compiled)) !== null && _linked_get !== void 0 ? _linked_get : 0) + delta;
15792
- if (count) linked.set(link.compiled, count);
15793
- else {
15794
- linked.delete(link.compiled);
15795
- if (!linked.size) scopeMappings.delete(link.scopeId);
15796
- }
15810
+ function addScopeMapping(scopeId, compiled) {
15811
+ var linked = scopeMappings.get(scopeId);
15812
+ if (!linked) scopeMappings.set(scopeId, linked = /* @__PURE__ */ new Set());
15813
+ linked.add(compiled);
15797
15814
  }
15798
15815
  function flushNativeStyleLinks() {
15799
- settleReleases();
15800
- if (!pendingLinks.length) return;
15801
- var links = pendingLinks;
15802
- pendingLinks = [];
15803
- unlinkedPending = 0;
15816
+ if (!pendingHosts.length) return;
15817
+ var hosts = pendingHosts;
15818
+ var states = pendingStates;
15819
+ pendingHosts = [];
15820
+ pendingStates = [];
15804
15821
  if (!engine) return;
15805
- var live = links.filter(function(link2) {
15806
- return link2.id === 0;
15807
- });
15808
- if (!live.length) return;
15809
- var refs = [];
15810
- var tableIds = [];
15811
- var scopeIndexes = [];
15822
+ var tableIds = new Array(hosts.length);
15823
+ var scopeIndexes = new Array(hosts.length);
15812
15824
  var scopes = [];
15813
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
15814
- try {
15815
- for (var _iterator = live[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
15816
- var link = _step.value;
15817
- var scopeIndex = scopes.indexOf(link.scopeId);
15818
- if (scopeIndex === -1) scopeIndex = scopes.push(link.scopeId) - 1;
15819
- refs.push(link.ref);
15820
- tableIds.push(link.compiled.tableId);
15821
- scopeIndexes.push(scopeIndex);
15822
- }
15823
- } catch (err) {
15824
- _didIteratorError = true;
15825
- _iteratorError = err;
15826
- } finally {
15827
- try {
15828
- if (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();
15829
- } finally {
15830
- if (_didIteratorError) throw _iteratorError;
15831
- }
15832
- }
15833
- var firstId = engine.linkTables(refs, tableIds, scopeIndexes, scopes);
15834
- for (var i = 0; i < live.length; i++) {
15835
- var link1 = live[i];
15836
- link1.id = firstId + i;
15837
- link1.owner = engine;
15838
- link1.ref = null;
15839
- trackScopeMapping(link1, 1);
15840
- }
15841
- }
15842
- function settleReleases() {
15843
- settleQueued = false;
15844
- if (!releases.size) return;
15845
- var settling = [...releases.values()];
15846
- releases.clear();
15847
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
15848
- try {
15849
- for (var _iterator = settling[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) _step.value.settle();
15850
- } catch (err) {
15851
- _didIteratorError = true;
15852
- _iteratorError = err;
15853
- } finally {
15854
- try {
15855
- if (!_iteratorNormalCompletion && _iterator.return != null) _iterator.return();
15856
- } finally {
15857
- if (_didIteratorError) throw _iteratorError;
15858
- }
15859
- }
15825
+ var last;
15826
+ var tableId = 0;
15827
+ var scopeIndex = 0;
15828
+ for (var i = 0; i < hosts.length; i++) {
15829
+ var state = states[i];
15830
+ if (state !== last) {
15831
+ last = state;
15832
+ var compiled = getCompiledMapping(state.mapping);
15833
+ syncTableState(compiled, state.stateName, state.theme);
15834
+ addScopeMapping(state.scopeId, compiled);
15835
+ tableId = compiled.tableId;
15836
+ scopeIndex = scopes.indexOf(state.scopeId);
15837
+ if (scopeIndex === -1) scopeIndex = scopes.push(state.scopeId) - 1;
15838
+ }
15839
+ tableIds[i] = tableId;
15840
+ scopeIndexes[i] = scopeIndex;
15841
+ }
15842
+ engine.linkTables(hosts, tableIds, scopeIndexes, scopes);
15860
15843
  }
15861
15844
  function updateNativeStyleLink(ref, host) {
15862
15845
  if (ref.nativeLink) {
@@ -15872,14 +15855,25 @@ function queueNativeViewState(entry) {
15872
15855
  pending = [];
15873
15856
  queueMicrotask(function() {
15874
15857
  var entries = pending;
15858
+ var dropped = superseded;
15875
15859
  pending = null;
15860
+ superseded = null;
15861
+ if (dropped) entries = entries.filter(function(queued, index) {
15862
+ var _dropped_get;
15863
+ return index >= ((_dropped_get = dropped.get(queued.id)) !== null && _dropped_get !== void 0 ? _dropped_get : 0);
15864
+ });
15865
+ if (!entries.length) return;
15876
15866
  engine === null || engine === void 0 || engine.applyViewStates(entries);
15877
15867
  flushListener === null || flushListener === void 0 || flushListener(entries);
15878
15868
  });
15879
15869
  }
15880
15870
  pending.push(entry);
15881
15871
  }
15882
- var nativeTextInputColorProps, nativeOutlineProps, nativeIntrinsicSizeProps, engine, scopeStates, compiledMappings, scopeMappings, pendingLinks, unlinkedPending, releases, settleQueued, pending, flushListener;
15872
+ function supersedeNativeViewStates(id) {
15873
+ if (!pending) return;
15874
+ (superseded || (superseded = /* @__PURE__ */ new Map())).set(id, pending.length);
15875
+ }
15876
+ var nativeTextInputColorProps, nativeOutlineProps, nativeIntrinsicSizeProps, engine, scopeStates, mappingKeys, compiledMappings, scopeMappings, nextTableId, pendingHosts, pendingStates, pending, flushListener, superseded;
15883
15877
  var init_nativeStyleEngine_native = __esmMin((() => {
15884
15878
  init_createVariable_native();
15885
15879
  init_objectSpread2();
@@ -15905,12 +15899,15 @@ var init_nativeStyleEngine_native = __esmMin((() => {
15905
15899
  ];
15906
15900
  engine = null;
15907
15901
  scopeStates = /* @__PURE__ */ new Map();
15902
+ mappingKeys = /* @__PURE__ */ new WeakMap();
15908
15903
  compiledMappings = /* @__PURE__ */ new Map();
15909
15904
  scopeMappings = /* @__PURE__ */ new Map();
15910
- pendingLinks = [];
15911
- releases = /* @__PURE__ */ new Map();
15905
+ nextTableId = 1;
15906
+ pendingHosts = [];
15907
+ pendingStates = [];
15912
15908
  pending = null;
15913
15909
  flushListener = null;
15910
+ superseded = null;
15914
15911
  }));
15915
15912
  //#endregion
15916
15913
  //#region ../../core/web/dist/esm/setupHooks.native.js
@@ -18238,7 +18235,7 @@ function configuredValue(state, property, raw) {
18238
18235
  var usedSafeArea = state.flatUsesSafeArea;
18239
18236
  out = grammar.embeddedTokens(raw, function(word) {
18240
18237
  var resolved = configuredValue(state, property, word, false, nativeColors);
18241
- if (resolved !== word || !shadowRecipeProperties.has(property) || !/^[a-z][\w-]*$/i.test(word)) return resolved;
18238
+ if (resolved !== word || !shadowRecipeProperties.has(property) || shadowRecipeKeywords.has(word) || !/^[a-z][\w-]*$/i.test(word)) return resolved;
18242
18239
  if (word === "currentColor") {
18243
18240
  var inherited = configuredValue(state, "color", "color", false, nativeColors);
18244
18241
  return inherited === "color" ? word : inherited;
@@ -18684,7 +18681,7 @@ function emitVariantStyle(state, key, value, original, condition, disabled) {
18684
18681
  pass[passParentCursor] = parent;
18685
18682
  pass[passVariantOutput] = parentVariantOutput;
18686
18683
  }
18687
- var shouldTrackStyleTokenProvenance, conditionValue, conditionPlatform, conditionKey, conditionSelector, conditionTheme, conditionWrappers, conditionAtoms, conditionRanks, conditionResolvedFlag, conditionPlatformPseudoFlag, passClassName, passShouldDoClasses, passContainerValue, passContainerName, passContainerType, passFrontendGroup, passFrontendContainer, passFrontendContainerType, passSourceLayer, passParentCursor, passMapSourceKey, passVariantOutput, passFlags, sourceLayerBase, sourceLayerVariant, sourceLayerResolver, sourceLayerProps, sourceLayerStyle, passNoSkipFlag, passDisableShorthandsFlag, passNoExpandFlag, passNoMergeFlag, passHocFlag, passTextFlag, passInputFlag, passAsChildStyleFlag, getSplitStyles, stylePieceStaticConfig, compileStylePieceRuntime, resolvedStylePieceCache, resolveStyleObject, recordInline, recordNormalize, recordRetract, recordDefault, recordCSS, borderTargets, valueCacheConf, valueCacheRevision, valueCaches, valueCacheEntries, valueCacheRoot, parsedSlices, shadowRecipeProperties;
18684
+ var shouldTrackStyleTokenProvenance, conditionValue, conditionPlatform, conditionKey, conditionSelector, conditionTheme, conditionWrappers, conditionAtoms, conditionRanks, conditionResolvedFlag, conditionPlatformPseudoFlag, passClassName, passShouldDoClasses, passContainerValue, passContainerName, passContainerType, passFrontendGroup, passFrontendContainer, passFrontendContainerType, passSourceLayer, passParentCursor, passMapSourceKey, passVariantOutput, passFlags, sourceLayerBase, sourceLayerVariant, sourceLayerResolver, sourceLayerProps, sourceLayerStyle, passNoSkipFlag, passDisableShorthandsFlag, passNoExpandFlag, passNoMergeFlag, passHocFlag, passTextFlag, passInputFlag, passAsChildStyleFlag, getSplitStyles, stylePieceStaticConfig, compileStylePieceRuntime, resolvedStylePieceCache, resolveStyleObject, recordInline, recordNormalize, recordRetract, recordDefault, recordCSS, borderTargets, valueCacheConf, valueCacheRevision, valueCaches, valueCacheEntries, valueCacheRoot, parsedSlices, shadowRecipeProperties, shadowRecipeKeywords;
18688
18685
  var init_getSplitStyles_native = __esmMin((() => {
18689
18686
  init_transitionResolver_native();
18690
18687
  init_index_native$7();
@@ -19192,6 +19189,7 @@ var init_getSplitStyles_native = __esmMin((() => {
19192
19189
  "textShadow",
19193
19190
  "filter"
19194
19191
  ]);
19192
+ shadowRecipeKeywords = /* @__PURE__ */ new Set(["inset", "none"]);
19195
19193
  }));
19196
19194
  //#endregion
19197
19195
  //#region ../../core/web/dist/esm/helpers/NativeTextBinding.native.js
@@ -19998,6 +19996,7 @@ function createComponent(staticConfig) {
19998
19996
  var nativeEngine = getNativeStyleEngine();
19999
19997
  var canNativeUpdate = !!nativeEngine && !isPassthrough && !isHOC && !willBeAnimated && !groupName && !props.disableNativeStyle;
20000
19998
  stateRef.current.nativePushedStates = canNativeUpdate ? /* @__PURE__ */ new Set() : void 0;
19999
+ if (stateRef.current.nativeLink) supersedeNativeViewStates(stateRef.current.nativeLink.id);
20001
20000
  stateRef.current.nativeThemeState = void 0;
20002
20001
  stateRef.current.nativeActiveState = canNativeUpdate ? themeState === null || themeState === void 0 ? void 0 : themeState.name : void 0;
20003
20002
  var pushViewState = canNativeUpdate ? function(stateName, style2) {
@@ -24770,6 +24769,7 @@ var textParentProps = _objectSpread2(_objectSpread2({}, stylePropsTextOnly), {},
24770
24769
  numberOfLines: true,
24771
24770
  textProps: true
24772
24771
  });
24772
+ var textParentInlineProps = new Set(Object.keys(textParentProps));
24773
24773
  //#endregion
24774
24774
  //#region ../../core/use-direction/dist/esm/useDirection.native.js
24775
24775
  var DirectionContext = /* @__PURE__ */ react$1.createContext(void 0);
@@ -39799,7 +39799,10 @@ var ButtonComponent = createStyledHOC(ButtonFrame, function Button(props, ref) {
39799
39799
  name: theme,
39800
39800
  children: content
39801
39801
  }) : content;
39802
- }, { disableTheme: true });
39802
+ }, {
39803
+ disableTheme: true,
39804
+ staticConfig: { inlineProps: textParentInlineProps }
39805
+ });
39803
39806
  var ButtonInner = react$1.default.forwardRef(function ButtonInner({ buttonBehaviorProps }, ref) {
39804
39807
  var _ref2, _buttonBehaviorProps$, _ButtonContext$useSty, _buttonSizing2;
39805
39808
  const { props: buttonProps } = useButton(buttonBehaviorProps, {
@@ -41141,7 +41144,7 @@ var ListItemComponent = createStyledHOC(ListItemFrame$1, function ListItem(props
41141
41144
  scaleIcon: props.iconSize == null ? 1 : scaleIcon
41142
41145
  }));
41143
41146
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListItemFrame$1, _objectSpread2({ ref }, listItemProps));
41144
- });
41147
+ }, { staticConfig: { inlineProps: textParentInlineProps } });
41145
41148
  var ListItem = withStaticProperties(ListItemComponent, {
41146
41149
  Apply: ListItemContext.Provider,
41147
41150
  Frame: ListItemFrame$1,
@@ -42421,6 +42424,7 @@ exports.stylePropsTransform = stylePropsTransform;
42421
42424
  exports.stylePropsUnitless = stylePropsUnitless;
42422
42425
  exports.stylePropsView = stylePropsView;
42423
42426
  exports.styled = styled;
42427
+ exports.textParentInlineProps = textParentInlineProps;
42424
42428
  exports.textParentProps = textParentProps;
42425
42429
  exports.toast = toast;
42426
42430
  exports.tokenCategories = tokenCategories;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamagui",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "license": "MIT",
5
5
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
6
6
  "description": "Style and UI for React (web and native) meet an optimizing compiler",
@@ -315,73 +315,73 @@
315
315
  "check-circular-deps": "npx madge --circular ./src/index.ts"
316
316
  },
317
317
  "dependencies": {
318
- "@tamagui/accordion": "3.0.5",
319
- "@tamagui/adapt": "3.0.5",
320
- "@tamagui/alert-dialog": "3.0.5",
321
- "@tamagui/animate": "3.0.5",
322
- "@tamagui/animate-presence": "3.0.5",
323
- "@tamagui/avatar": "3.0.5",
324
- "@tamagui/button": "3.0.5",
325
- "@tamagui/card": "3.0.5",
326
- "@tamagui/checkbox": "3.0.5",
327
- "@tamagui/collapsible": "3.0.5",
328
- "@tamagui/compose-refs": "3.0.5",
329
- "@tamagui/constants": "3.0.5",
330
- "@tamagui/context-menu": "3.0.5",
331
- "@tamagui/core": "3.0.5",
332
- "@tamagui/create-context": "3.0.5",
333
- "@tamagui/create-menu": "3.0.5",
334
- "@tamagui/dialog": "3.0.5",
335
- "@tamagui/element": "3.0.5",
336
- "@tamagui/fake-react-native": "3.0.5",
337
- "@tamagui/field": "3.0.5",
338
- "@tamagui/focusable": "3.0.5",
339
- "@tamagui/font-size": "3.0.5",
340
- "@tamagui/form": "3.0.5",
341
- "@tamagui/get-font-sized": "3.0.5",
342
- "@tamagui/get-token": "3.0.5",
343
- "@tamagui/group": "3.0.5",
344
- "@tamagui/helpers-tamagui": "3.0.5",
345
- "@tamagui/image": "3.0.5",
346
- "@tamagui/input": "3.0.5",
347
- "@tamagui/label": "3.0.5",
348
- "@tamagui/linear-gradient": "3.0.5",
349
- "@tamagui/list-item": "3.0.5",
350
- "@tamagui/menu": "3.0.5",
351
- "@tamagui/polyfill-dev": "3.0.5",
352
- "@tamagui/popover": "3.0.5",
353
- "@tamagui/popper": "3.0.5",
354
- "@tamagui/portal": "3.0.5",
355
- "@tamagui/progress": "3.0.5",
356
- "@tamagui/radio-group": "3.0.5",
357
- "@tamagui/react-native-media-driver": "3.0.5",
358
- "@tamagui/react-native-types": "3.0.5",
359
- "@tamagui/scroll-view": "3.0.5",
360
- "@tamagui/select": "3.0.5",
361
- "@tamagui/separator": "3.0.5",
362
- "@tamagui/shapes": "3.0.5",
363
- "@tamagui/sheet": "3.0.5",
364
- "@tamagui/slider": "3.0.5",
365
- "@tamagui/spacer": "3.0.5",
366
- "@tamagui/spinner": "3.0.5",
367
- "@tamagui/stacks": "3.0.5",
368
- "@tamagui/switch": "3.0.5",
369
- "@tamagui/tabs": "3.0.5",
370
- "@tamagui/text": "3.0.5",
371
- "@tamagui/theme": "3.0.5",
372
- "@tamagui/toast": "3.0.5",
373
- "@tamagui/toggle-group": "3.0.5",
374
- "@tamagui/tooltip": "3.0.5",
375
- "@tamagui/ui": "3.0.5",
376
- "@tamagui/use-controllable-state": "3.0.5",
377
- "@tamagui/use-debounce": "3.0.5",
378
- "@tamagui/use-force-update": "3.0.5",
379
- "@tamagui/use-window-dimensions": "3.0.5",
380
- "@tamagui/visually-hidden": "3.0.5",
381
- "@tamagui/z-index-stack": "3.0.5"
318
+ "@tamagui/accordion": "3.0.7",
319
+ "@tamagui/adapt": "3.0.7",
320
+ "@tamagui/alert-dialog": "3.0.7",
321
+ "@tamagui/animate": "3.0.7",
322
+ "@tamagui/animate-presence": "3.0.7",
323
+ "@tamagui/avatar": "3.0.7",
324
+ "@tamagui/button": "3.0.7",
325
+ "@tamagui/card": "3.0.7",
326
+ "@tamagui/checkbox": "3.0.7",
327
+ "@tamagui/collapsible": "3.0.7",
328
+ "@tamagui/compose-refs": "3.0.7",
329
+ "@tamagui/constants": "3.0.7",
330
+ "@tamagui/context-menu": "3.0.7",
331
+ "@tamagui/core": "3.0.7",
332
+ "@tamagui/create-context": "3.0.7",
333
+ "@tamagui/create-menu": "3.0.7",
334
+ "@tamagui/dialog": "3.0.7",
335
+ "@tamagui/element": "3.0.7",
336
+ "@tamagui/fake-react-native": "3.0.7",
337
+ "@tamagui/field": "3.0.7",
338
+ "@tamagui/focusable": "3.0.7",
339
+ "@tamagui/font-size": "3.0.7",
340
+ "@tamagui/form": "3.0.7",
341
+ "@tamagui/get-font-sized": "3.0.7",
342
+ "@tamagui/get-token": "3.0.7",
343
+ "@tamagui/group": "3.0.7",
344
+ "@tamagui/helpers-tamagui": "3.0.7",
345
+ "@tamagui/image": "3.0.7",
346
+ "@tamagui/input": "3.0.7",
347
+ "@tamagui/label": "3.0.7",
348
+ "@tamagui/linear-gradient": "3.0.7",
349
+ "@tamagui/list-item": "3.0.7",
350
+ "@tamagui/menu": "3.0.7",
351
+ "@tamagui/polyfill-dev": "3.0.7",
352
+ "@tamagui/popover": "3.0.7",
353
+ "@tamagui/popper": "3.0.7",
354
+ "@tamagui/portal": "3.0.7",
355
+ "@tamagui/progress": "3.0.7",
356
+ "@tamagui/radio-group": "3.0.7",
357
+ "@tamagui/react-native-media-driver": "3.0.7",
358
+ "@tamagui/react-native-types": "3.0.7",
359
+ "@tamagui/scroll-view": "3.0.7",
360
+ "@tamagui/select": "3.0.7",
361
+ "@tamagui/separator": "3.0.7",
362
+ "@tamagui/shapes": "3.0.7",
363
+ "@tamagui/sheet": "3.0.7",
364
+ "@tamagui/slider": "3.0.7",
365
+ "@tamagui/spacer": "3.0.7",
366
+ "@tamagui/spinner": "3.0.7",
367
+ "@tamagui/stacks": "3.0.7",
368
+ "@tamagui/switch": "3.0.7",
369
+ "@tamagui/tabs": "3.0.7",
370
+ "@tamagui/text": "3.0.7",
371
+ "@tamagui/theme": "3.0.7",
372
+ "@tamagui/toast": "3.0.7",
373
+ "@tamagui/toggle-group": "3.0.7",
374
+ "@tamagui/tooltip": "3.0.7",
375
+ "@tamagui/ui": "3.0.7",
376
+ "@tamagui/use-controllable-state": "3.0.7",
377
+ "@tamagui/use-debounce": "3.0.7",
378
+ "@tamagui/use-force-update": "3.0.7",
379
+ "@tamagui/use-window-dimensions": "3.0.7",
380
+ "@tamagui/visually-hidden": "3.0.7",
381
+ "@tamagui/z-index-stack": "3.0.7"
382
382
  },
383
383
  "devDependencies": {
384
- "@tamagui/build": "3.0.5",
384
+ "@tamagui/build": "3.0.7",
385
385
  "react": "19.2.3",
386
386
  "react-native": "0.87.1",
387
387
  "react-native-web": "~0.21.0"
@@ -400,5 +400,5 @@
400
400
  ],
401
401
  "module:jsx": "dist/jsx",
402
402
  "removeSideEffects": true,
403
- "releaseSourceCommit": "2500e65729dfd41ce27b4b3271f22f9c1d1ff5a3"
403
+ "releaseSourceCommit": "96f8bc1f222af0381729a2e2202370aa4a9808ef"
404
404
  }
@@ -26,6 +26,7 @@ import {
26
26
  withStaticProperties,
27
27
  } from '@tamagui/core'
28
28
  import { getThemedIconSize } from '@tamagui/helpers-tamagui'
29
+ import { textParentInlineProps } from '@tamagui/text'
29
30
  import React from 'react'
30
31
 
31
32
  export type ButtonSize = ComponentSize | boolean
@@ -167,7 +168,7 @@ const ButtonComponent = createStyledHOC(
167
168
  )
168
169
  return theme ? <Theme name={theme}>{content}</Theme> : content
169
170
  },
170
- { disableTheme: true }
171
+ { disableTheme: true, staticConfig: { inlineProps: textParentInlineProps } }
171
172
  )
172
173
 
173
174
  const ButtonInner = React.forwardRef<
@@ -24,6 +24,7 @@ import {
24
24
  ListItemTitle as ListItemBehaviorTitle,
25
25
  useListItem,
26
26
  } from '@tamagui/list-item'
27
+ import { textParentInlineProps } from '@tamagui/text'
27
28
 
28
29
  export type ListItemSize = ComponentSize | boolean
29
30
 
@@ -173,7 +174,8 @@ const ListItemComponent = createStyledHOC(
173
174
  scaleIcon: props.iconSize == null ? 1 : scaleIcon,
174
175
  })
175
176
  return <ListItemFrame ref={ref} {...listItemProps} />
176
- }
177
+ },
178
+ { staticConfig: { inlineProps: textParentInlineProps } }
177
179
  )
178
180
 
179
181
  export const ListItem = withStaticProperties(ListItemComponent, {
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAMA,OAAO,EAKL,KAAK,eAAe,IAAI,uBAAuB,E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AAe,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,QAAQ,EAId,MAAM,eAAe,CAAA;AAEtB,OAAO,EAIL,KAAK,iBAAiB,IAAI,yBAAyB,EAKpD,MAAM,oBAAoB,CAAA;AAE3B,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,OAAO,CAAA;AAqDlD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;CA+BxB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;CASvB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;CASxB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAS3B,CAAA;AAEF,eAAO,MAAM,YAAY,mCAItB,yBAAyB,QAQ3B,CAAA;AAED,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAgBtB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,QAAQ,EA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