tamagui 3.0.4 → 3.0.6

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 +74 -83
  28. package/dist/test.cjs +74 -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) {
@@ -15879,7 +15862,7 @@ function queueNativeViewState(entry) {
15879
15862
  }
15880
15863
  pending.push(entry);
15881
15864
  }
15882
- var nativeTextInputColorProps, nativeOutlineProps, nativeIntrinsicSizeProps, engine, scopeStates, compiledMappings, scopeMappings, pendingLinks, unlinkedPending, releases, settleQueued, pending, flushListener;
15865
+ var nativeTextInputColorProps, nativeOutlineProps, nativeIntrinsicSizeProps, engine, scopeStates, mappingKeys, compiledMappings, scopeMappings, nextTableId, pendingHosts, pendingStates, pending, flushListener;
15883
15866
  var init_nativeStyleEngine_native = __esmMin((() => {
15884
15867
  init_createVariable_native();
15885
15868
  init_objectSpread2();
@@ -15905,10 +15888,12 @@ var init_nativeStyleEngine_native = __esmMin((() => {
15905
15888
  ];
15906
15889
  engine = null;
15907
15890
  scopeStates = /* @__PURE__ */ new Map();
15891
+ mappingKeys = /* @__PURE__ */ new WeakMap();
15908
15892
  compiledMappings = /* @__PURE__ */ new Map();
15909
15893
  scopeMappings = /* @__PURE__ */ new Map();
15910
- pendingLinks = [];
15911
- releases = /* @__PURE__ */ new Map();
15894
+ nextTableId = 1;
15895
+ pendingHosts = [];
15896
+ pendingStates = [];
15912
15897
  pending = null;
15913
15898
  flushListener = null;
15914
15899
  }));
@@ -18238,7 +18223,7 @@ function configuredValue(state, property, raw) {
18238
18223
  var usedSafeArea = state.flatUsesSafeArea;
18239
18224
  out = grammar.embeddedTokens(raw, function(word) {
18240
18225
  var resolved = configuredValue(state, property, word, false, nativeColors);
18241
- if (resolved !== word || !shadowRecipeProperties.has(property) || !/^[a-z][\w-]*$/i.test(word)) return resolved;
18226
+ if (resolved !== word || !shadowRecipeProperties.has(property) || shadowRecipeKeywords.has(word) || !/^[a-z][\w-]*$/i.test(word)) return resolved;
18242
18227
  if (word === "currentColor") {
18243
18228
  var inherited = configuredValue(state, "color", "color", false, nativeColors);
18244
18229
  return inherited === "color" ? word : inherited;
@@ -18684,7 +18669,7 @@ function emitVariantStyle(state, key, value, original, condition, disabled) {
18684
18669
  pass[passParentCursor] = parent;
18685
18670
  pass[passVariantOutput] = parentVariantOutput;
18686
18671
  }
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;
18672
+ 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
18673
  var init_getSplitStyles_native = __esmMin((() => {
18689
18674
  init_transitionResolver_native();
18690
18675
  init_index_native$7();
@@ -19192,6 +19177,7 @@ var init_getSplitStyles_native = __esmMin((() => {
19192
19177
  "textShadow",
19193
19178
  "filter"
19194
19179
  ]);
19180
+ shadowRecipeKeywords = /* @__PURE__ */ new Set(["inset", "none"]);
19195
19181
  }));
19196
19182
  //#endregion
19197
19183
  //#region ../../core/web/dist/esm/helpers/NativeTextBinding.native.js
@@ -24770,6 +24756,7 @@ var textParentProps = _objectSpread2(_objectSpread2({}, stylePropsTextOnly), {},
24770
24756
  numberOfLines: true,
24771
24757
  textProps: true
24772
24758
  });
24759
+ var textParentInlineProps = new Set(Object.keys(textParentProps));
24773
24760
  //#endregion
24774
24761
  //#region ../../core/use-direction/dist/esm/useDirection.native.js
24775
24762
  var DirectionContext = /* @__PURE__ */ react$1.createContext(void 0);
@@ -39799,7 +39786,10 @@ var ButtonComponent = createStyledHOC(ButtonFrame, function Button(props, ref) {
39799
39786
  name: theme,
39800
39787
  children: content
39801
39788
  }) : content;
39802
- }, { disableTheme: true });
39789
+ }, {
39790
+ disableTheme: true,
39791
+ staticConfig: { inlineProps: textParentInlineProps }
39792
+ });
39803
39793
  var ButtonInner = react$1.default.forwardRef(function ButtonInner({ buttonBehaviorProps }, ref) {
39804
39794
  var _ref2, _buttonBehaviorProps$, _ButtonContext$useSty, _buttonSizing2;
39805
39795
  const { props: buttonProps } = useButton(buttonBehaviorProps, {
@@ -41141,7 +41131,7 @@ var ListItemComponent = createStyledHOC(ListItemFrame$1, function ListItem(props
41141
41131
  scaleIcon: props.iconSize == null ? 1 : scaleIcon
41142
41132
  }));
41143
41133
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListItemFrame$1, _objectSpread2({ ref }, listItemProps));
41144
- });
41134
+ }, { staticConfig: { inlineProps: textParentInlineProps } });
41145
41135
  var ListItem = withStaticProperties(ListItemComponent, {
41146
41136
  Apply: ListItemContext.Provider,
41147
41137
  Frame: ListItemFrame$1,
@@ -42421,6 +42411,7 @@ exports.stylePropsTransform = stylePropsTransform;
42421
42411
  exports.stylePropsUnitless = stylePropsUnitless;
42422
42412
  exports.stylePropsView = stylePropsView;
42423
42413
  exports.styled = styled;
42414
+ exports.textParentInlineProps = textParentInlineProps;
42424
42415
  exports.textParentProps = textParentProps;
42425
42416
  exports.toast = toast;
42426
42417
  exports.tokenCategories = tokenCategories;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamagui",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
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.4",
319
- "@tamagui/adapt": "3.0.4",
320
- "@tamagui/alert-dialog": "3.0.4",
321
- "@tamagui/animate": "3.0.4",
322
- "@tamagui/animate-presence": "3.0.4",
323
- "@tamagui/avatar": "3.0.4",
324
- "@tamagui/button": "3.0.4",
325
- "@tamagui/card": "3.0.4",
326
- "@tamagui/checkbox": "3.0.4",
327
- "@tamagui/collapsible": "3.0.4",
328
- "@tamagui/compose-refs": "3.0.4",
329
- "@tamagui/constants": "3.0.4",
330
- "@tamagui/context-menu": "3.0.4",
331
- "@tamagui/core": "3.0.4",
332
- "@tamagui/create-context": "3.0.4",
333
- "@tamagui/create-menu": "3.0.4",
334
- "@tamagui/dialog": "3.0.4",
335
- "@tamagui/element": "3.0.4",
336
- "@tamagui/fake-react-native": "3.0.4",
337
- "@tamagui/field": "3.0.4",
338
- "@tamagui/focusable": "3.0.4",
339
- "@tamagui/font-size": "3.0.4",
340
- "@tamagui/form": "3.0.4",
341
- "@tamagui/get-font-sized": "3.0.4",
342
- "@tamagui/get-token": "3.0.4",
343
- "@tamagui/group": "3.0.4",
344
- "@tamagui/helpers-tamagui": "3.0.4",
345
- "@tamagui/image": "3.0.4",
346
- "@tamagui/input": "3.0.4",
347
- "@tamagui/label": "3.0.4",
348
- "@tamagui/linear-gradient": "3.0.4",
349
- "@tamagui/list-item": "3.0.4",
350
- "@tamagui/menu": "3.0.4",
351
- "@tamagui/polyfill-dev": "3.0.4",
352
- "@tamagui/popover": "3.0.4",
353
- "@tamagui/popper": "3.0.4",
354
- "@tamagui/portal": "3.0.4",
355
- "@tamagui/progress": "3.0.4",
356
- "@tamagui/radio-group": "3.0.4",
357
- "@tamagui/react-native-media-driver": "3.0.4",
358
- "@tamagui/react-native-types": "3.0.4",
359
- "@tamagui/scroll-view": "3.0.4",
360
- "@tamagui/select": "3.0.4",
361
- "@tamagui/separator": "3.0.4",
362
- "@tamagui/shapes": "3.0.4",
363
- "@tamagui/sheet": "3.0.4",
364
- "@tamagui/slider": "3.0.4",
365
- "@tamagui/spacer": "3.0.4",
366
- "@tamagui/spinner": "3.0.4",
367
- "@tamagui/stacks": "3.0.4",
368
- "@tamagui/switch": "3.0.4",
369
- "@tamagui/tabs": "3.0.4",
370
- "@tamagui/text": "3.0.4",
371
- "@tamagui/theme": "3.0.4",
372
- "@tamagui/toast": "3.0.4",
373
- "@tamagui/toggle-group": "3.0.4",
374
- "@tamagui/tooltip": "3.0.4",
375
- "@tamagui/ui": "3.0.4",
376
- "@tamagui/use-controllable-state": "3.0.4",
377
- "@tamagui/use-debounce": "3.0.4",
378
- "@tamagui/use-force-update": "3.0.4",
379
- "@tamagui/use-window-dimensions": "3.0.4",
380
- "@tamagui/visually-hidden": "3.0.4",
381
- "@tamagui/z-index-stack": "3.0.4"
318
+ "@tamagui/accordion": "3.0.6",
319
+ "@tamagui/adapt": "3.0.6",
320
+ "@tamagui/alert-dialog": "3.0.6",
321
+ "@tamagui/animate": "3.0.6",
322
+ "@tamagui/animate-presence": "3.0.6",
323
+ "@tamagui/avatar": "3.0.6",
324
+ "@tamagui/button": "3.0.6",
325
+ "@tamagui/card": "3.0.6",
326
+ "@tamagui/checkbox": "3.0.6",
327
+ "@tamagui/collapsible": "3.0.6",
328
+ "@tamagui/compose-refs": "3.0.6",
329
+ "@tamagui/constants": "3.0.6",
330
+ "@tamagui/context-menu": "3.0.6",
331
+ "@tamagui/core": "3.0.6",
332
+ "@tamagui/create-context": "3.0.6",
333
+ "@tamagui/create-menu": "3.0.6",
334
+ "@tamagui/dialog": "3.0.6",
335
+ "@tamagui/element": "3.0.6",
336
+ "@tamagui/fake-react-native": "3.0.6",
337
+ "@tamagui/field": "3.0.6",
338
+ "@tamagui/focusable": "3.0.6",
339
+ "@tamagui/font-size": "3.0.6",
340
+ "@tamagui/form": "3.0.6",
341
+ "@tamagui/get-font-sized": "3.0.6",
342
+ "@tamagui/get-token": "3.0.6",
343
+ "@tamagui/group": "3.0.6",
344
+ "@tamagui/helpers-tamagui": "3.0.6",
345
+ "@tamagui/image": "3.0.6",
346
+ "@tamagui/input": "3.0.6",
347
+ "@tamagui/label": "3.0.6",
348
+ "@tamagui/linear-gradient": "3.0.6",
349
+ "@tamagui/list-item": "3.0.6",
350
+ "@tamagui/menu": "3.0.6",
351
+ "@tamagui/polyfill-dev": "3.0.6",
352
+ "@tamagui/popover": "3.0.6",
353
+ "@tamagui/popper": "3.0.6",
354
+ "@tamagui/portal": "3.0.6",
355
+ "@tamagui/progress": "3.0.6",
356
+ "@tamagui/radio-group": "3.0.6",
357
+ "@tamagui/react-native-media-driver": "3.0.6",
358
+ "@tamagui/react-native-types": "3.0.6",
359
+ "@tamagui/scroll-view": "3.0.6",
360
+ "@tamagui/select": "3.0.6",
361
+ "@tamagui/separator": "3.0.6",
362
+ "@tamagui/shapes": "3.0.6",
363
+ "@tamagui/sheet": "3.0.6",
364
+ "@tamagui/slider": "3.0.6",
365
+ "@tamagui/spacer": "3.0.6",
366
+ "@tamagui/spinner": "3.0.6",
367
+ "@tamagui/stacks": "3.0.6",
368
+ "@tamagui/switch": "3.0.6",
369
+ "@tamagui/tabs": "3.0.6",
370
+ "@tamagui/text": "3.0.6",
371
+ "@tamagui/theme": "3.0.6",
372
+ "@tamagui/toast": "3.0.6",
373
+ "@tamagui/toggle-group": "3.0.6",
374
+ "@tamagui/tooltip": "3.0.6",
375
+ "@tamagui/ui": "3.0.6",
376
+ "@tamagui/use-controllable-state": "3.0.6",
377
+ "@tamagui/use-debounce": "3.0.6",
378
+ "@tamagui/use-force-update": "3.0.6",
379
+ "@tamagui/use-window-dimensions": "3.0.6",
380
+ "@tamagui/visually-hidden": "3.0.6",
381
+ "@tamagui/z-index-stack": "3.0.6"
382
382
  },
383
383
  "devDependencies": {
384
- "@tamagui/build": "3.0.4",
384
+ "@tamagui/build": "3.0.6",
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": "c92cf0fea7c8cc8c33eda1f2a95670c66846d251"
403
+ "releaseSourceCommit": "ee01c1a5d113f9d0f4e9e26c35154165ce25add6"
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,EAEhD,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,QAAQ,EAMb,KAAK,UAAU,EAEhB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,OAAO,CAAA;AAmFhD,eAAO,MAAM,WAAW;;;;;8CAetB,CAAA;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;CAYrB,CAAA;AAEF,eAAO,MAAM,UAAU,uBAAwB,uBAAuB,sBASrE,CAAA;AAED,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAGqB,UAAU;YAAU,UAAU,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAY/E,CAAA;AAiBD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA7BuB,UAAU;YAAU,UAAU,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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