@tamagui/core 1.139.3 → 1.140.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 CHANGED
@@ -4468,6 +4468,10 @@ var Tamagui = /* @__PURE__ */ (function() {
4468
4468
  }, setIdentifierValue = function(identifier, value) {
4469
4469
  identifierToValue.set(identifier, value);
4470
4470
  };
4471
+ function shouldTokenCategoryHaveUnits(category) {
4472
+ var UNIT_CATEGORIES = /* @__PURE__ */ new Set(["size", "space", "radius"]);
4473
+ return UNIT_CATEGORIES.has(category);
4474
+ }
4471
4475
  function createTamagui$1(configIn) {
4472
4476
  var _configIn_settings, existingConfig = getConfigMaybe();
4473
4477
  existingConfig && (configIn = __spreadValues(__spreadValues({}, existingConfig), configIn));
@@ -4505,10 +4509,35 @@ function createTamagui$1(configIn) {
4505
4509
  })();
4506
4510
  }
4507
4511
  var specificTokens = {}, themeConfig = (function() {
4508
- var cssRuleSets = [];
4509
- for (var key2 in tokens) for (var skey in tokens[key2]) {
4510
- var variable = tokens[key2][skey];
4511
- if (specificTokens[`$${key2}.${skey}`] = variable, false) ;
4512
+ var cssRuleSets = [], declarations = [], sortedTokenKeys = Object.keys(tokens).sort(), _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
4513
+ try {
4514
+ for (var _iterator = sortedTokenKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4515
+ var key2 = _step.value, sortedSubKeys = Object.keys(tokens[key2]).sort(), _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
4516
+ try {
4517
+ for (var _iterator1 = sortedSubKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
4518
+ var skey = _step1.value, variable = tokens[key2][skey];
4519
+ if (specificTokens[`$${key2}.${skey}`] = variable, false) ;
4520
+ var variableNeedsPx, categoryNeedsPx, shouldBeUnitless;
4521
+ if (isWeb) ;
4522
+ }
4523
+ } catch (err) {
4524
+ _didIteratorError1 = true, _iteratorError1 = err;
4525
+ } finally {
4526
+ try {
4527
+ !_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
4528
+ } finally {
4529
+ if (_didIteratorError1) throw _iteratorError1;
4530
+ }
4531
+ }
4532
+ }
4533
+ } catch (err) {
4534
+ _didIteratorError = true, _iteratorError = err;
4535
+ } finally {
4536
+ try {
4537
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
4538
+ } finally {
4539
+ if (_didIteratorError) throw _iteratorError;
4540
+ }
4512
4541
  }
4513
4542
  var themesIn = configIn.themes, dedupedThemes = foundThemes != null ? foundThemes : getThemesDeduped(themesIn, tokens.color), themes2 = proxyThemesToParents(dedupedThemes);
4514
4543
  return {
@@ -4574,21 +4603,31 @@ function createTamagui$1(configIn) {
4574
4603
  return config;
4575
4604
  }
4576
4605
  function getThemesDeduped(themes2, colorTokens) {
4577
- var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
4578
- for (var themeName in themes2) {
4579
- var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes2[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
4580
- if (existing.has(key)) {
4581
- var e2 = existing.get(key);
4582
- e2.names.push(themeName);
4583
- continue;
4606
+ var dedupedThemes = [], existing = /* @__PURE__ */ new Map(), sortedThemeNames = Object.keys(themes2).sort(), _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
4607
+ try {
4608
+ for (var _iterator = sortedThemeNames[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4609
+ var themeName = _step.value, darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes2[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
4610
+ if (existing.has(key)) {
4611
+ var e2 = existing.get(key);
4612
+ e2.names.push(themeName);
4613
+ continue;
4614
+ }
4615
+ var theme = __spreadValues(__spreadValues({}, colorTokens), rawTheme);
4616
+ for (var key1 in theme) ensureThemeVariable(theme, key1);
4617
+ var deduped = {
4618
+ names: [themeName],
4619
+ theme
4620
+ };
4621
+ dedupedThemes.push(deduped), existing.set(key, deduped);
4622
+ }
4623
+ } catch (err) {
4624
+ _didIteratorError = true, _iteratorError = err;
4625
+ } finally {
4626
+ try {
4627
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
4628
+ } finally {
4629
+ if (_didIteratorError) throw _iteratorError;
4584
4630
  }
4585
- var theme = __spreadValues(__spreadValues({}, colorTokens), rawTheme);
4586
- for (var key1 in theme) ensureThemeVariable(theme, key1);
4587
- var deduped = {
4588
- names: [themeName],
4589
- theme
4590
- };
4591
- dedupedThemes.push(deduped), existing.set(key, deduped);
4592
4631
  }
4593
4632
  return dedupedThemes;
4594
4633
  }
@@ -4290,6 +4290,10 @@ var Tamagui = /* @__PURE__ */ (function() {
4290
4290
  }, setIdentifierValue = function(identifier, value) {
4291
4291
  identifierToValue.set(identifier, value);
4292
4292
  };
4293
+ function shouldTokenCategoryHaveUnits(category) {
4294
+ var UNIT_CATEGORIES = /* @__PURE__ */ new Set(["size", "space", "radius"]);
4295
+ return UNIT_CATEGORIES.has(category);
4296
+ }
4293
4297
  function createTamagui$1(configIn) {
4294
4298
  var _configIn_settings, existingConfig = getConfigMaybe();
4295
4299
  existingConfig && (configIn = __spreadValues(__spreadValues({}, existingConfig), configIn));
@@ -4327,10 +4331,35 @@ function createTamagui$1(configIn) {
4327
4331
  })();
4328
4332
  }
4329
4333
  var specificTokens = {}, themeConfig = (function() {
4330
- var cssRuleSets = [];
4331
- for (var key2 in tokens) for (var skey in tokens[key2]) {
4332
- var variable = tokens[key2][skey];
4333
- if (specificTokens[`$${key2}.${skey}`] = variable, false) ;
4334
+ var cssRuleSets = [], declarations = [], sortedTokenKeys = Object.keys(tokens).sort(), _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
4335
+ try {
4336
+ for (var _iterator = sortedTokenKeys[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4337
+ var key2 = _step.value, sortedSubKeys = Object.keys(tokens[key2]).sort(), _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
4338
+ try {
4339
+ for (var _iterator1 = sortedSubKeys[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
4340
+ var skey = _step1.value, variable = tokens[key2][skey];
4341
+ if (specificTokens[`$${key2}.${skey}`] = variable, false) ;
4342
+ var variableNeedsPx, categoryNeedsPx, shouldBeUnitless;
4343
+ if (isWeb) ;
4344
+ }
4345
+ } catch (err) {
4346
+ _didIteratorError1 = true, _iteratorError1 = err;
4347
+ } finally {
4348
+ try {
4349
+ !_iteratorNormalCompletion1 && _iterator1.return != null && _iterator1.return();
4350
+ } finally {
4351
+ if (_didIteratorError1) throw _iteratorError1;
4352
+ }
4353
+ }
4354
+ }
4355
+ } catch (err) {
4356
+ _didIteratorError = true, _iteratorError = err;
4357
+ } finally {
4358
+ try {
4359
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
4360
+ } finally {
4361
+ if (_didIteratorError) throw _iteratorError;
4362
+ }
4334
4363
  }
4335
4364
  var themesIn = configIn.themes, dedupedThemes = foundThemes != null ? foundThemes : getThemesDeduped(themesIn, tokens.color), themes2 = proxyThemesToParents(dedupedThemes);
4336
4365
  return {
@@ -4396,21 +4425,31 @@ function createTamagui$1(configIn) {
4396
4425
  return config;
4397
4426
  }
4398
4427
  function getThemesDeduped(themes2, colorTokens) {
4399
- var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
4400
- for (var themeName in themes2) {
4401
- var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes2[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
4402
- if (existing.has(key)) {
4403
- var e2 = existing.get(key);
4404
- e2.names.push(themeName);
4405
- continue;
4428
+ var dedupedThemes = [], existing = /* @__PURE__ */ new Map(), sortedThemeNames = Object.keys(themes2).sort(), _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
4429
+ try {
4430
+ for (var _iterator = sortedThemeNames[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
4431
+ var themeName = _step.value, darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes2[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
4432
+ if (existing.has(key)) {
4433
+ var e2 = existing.get(key);
4434
+ e2.names.push(themeName);
4435
+ continue;
4436
+ }
4437
+ var theme = __spreadValues(__spreadValues({}, colorTokens), rawTheme);
4438
+ for (var key1 in theme) ensureThemeVariable(theme, key1);
4439
+ var deduped = {
4440
+ names: [themeName],
4441
+ theme
4442
+ };
4443
+ dedupedThemes.push(deduped), existing.set(key, deduped);
4444
+ }
4445
+ } catch (err) {
4446
+ _didIteratorError = true, _iteratorError = err;
4447
+ } finally {
4448
+ try {
4449
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
4450
+ } finally {
4451
+ if (_didIteratorError) throw _iteratorError;
4406
4452
  }
4407
- var theme = __spreadValues(__spreadValues({}, colorTokens), rawTheme);
4408
- for (var key1 in theme) ensureThemeVariable(theme, key1);
4409
- var deduped = {
4410
- names: [themeName],
4411
- theme
4412
- };
4413
- dedupedThemes.push(deduped), existing.set(key, deduped);
4414
4453
  }
4415
4454
  return dedupedThemes;
4416
4455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "1.139.3",
3
+ "version": "1.140.0",
4
4
  "type": "module",
5
5
  "source": "src/index.tsx",
6
6
  "main": "dist/cjs",
@@ -33,18 +33,18 @@
33
33
  "native-test.d.ts"
34
34
  ],
35
35
  "dependencies": {
36
- "@tamagui/helpers": "1.139.3",
37
- "@tamagui/react-native-media-driver": "1.139.3",
38
- "@tamagui/react-native-use-pressable": "1.139.3",
39
- "@tamagui/react-native-use-responder-events": "1.139.3",
40
- "@tamagui/use-element-layout": "1.139.3",
41
- "@tamagui/use-event": "1.139.3",
42
- "@tamagui/web": "1.139.3"
36
+ "@tamagui/helpers": "1.140.0",
37
+ "@tamagui/react-native-media-driver": "1.140.0",
38
+ "@tamagui/react-native-use-pressable": "1.140.0",
39
+ "@tamagui/react-native-use-responder-events": "1.140.0",
40
+ "@tamagui/use-element-layout": "1.140.0",
41
+ "@tamagui/use-event": "1.140.0",
42
+ "@tamagui/web": "1.140.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@tamagui/build": "1.139.3",
46
- "@tamagui/native-bundle": "1.139.3",
47
- "@tamagui/react-native-web-lite": "1.139.3",
45
+ "@tamagui/build": "1.140.0",
46
+ "@tamagui/native-bundle": "1.140.0",
47
+ "@tamagui/react-native-web-lite": "1.140.0",
48
48
  "@testing-library/react": "^16.1.0",
49
49
  "csstype": "^3.0.10",
50
50
  "react": "*",
@@ -1,26 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
13
- get: () => from[key],
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- });
16
- return to;
17
- };
18
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
20
- }), mod);
21
- var addNativeValidStyles_exports = {};
22
- __export(addNativeValidStyles_exports, {
23
- addNativeValidStyles: () => addNativeValidStyles
24
- });
25
- module.exports = __toCommonJS(addNativeValidStyles_exports);
26
- function addNativeValidStyles() {}
@@ -1,22 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var addNativeValidStyles_exports = {};
16
- __export(addNativeValidStyles_exports, {
17
- addNativeValidStyles: () => addNativeValidStyles
18
- });
19
- module.exports = __toCommonJS(addNativeValidStyles_exports);
20
- function addNativeValidStyles() {
21
- }
22
- //# sourceMappingURL=addNativeValidStyles.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/addNativeValidStyles.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,uBAAuB;AAEvC;",
5
- "names": []
6
- }
@@ -1,63 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
22
- }), mod);
23
- var addNativeValidStyles_native_exports = {};
24
- __export(addNativeValidStyles_native_exports, {
25
- addNativeValidStyles: () => addNativeValidStyles
26
- });
27
- module.exports = __toCommonJS(addNativeValidStyles_native_exports);
28
- var import_helpers = require("@tamagui/helpers");
29
- function getReactNativeVersion() {
30
- var version = process.env.REACT_NATIVE_VERSION || "";
31
- if (!process.env.REACT_NATIVE_VERSION) try {
32
- var ReactNativeOfficalVersion = require("react-native/Libraries/Core/ReactNativeVersion");
33
- if (ReactNativeOfficalVersion) {
34
- var {
35
- version: {
36
- major,
37
- minor,
38
- patch
39
- }
40
- } = ReactNativeOfficalVersion;
41
- version = `${major}.${minor}.${patch}`;
42
- }
43
- } catch {} finally {
44
- version || (version = "0.77");
45
- }
46
- var [major1, minor1, patch1] = version.split(".");
47
- return [+major1, +minor1, +patch1];
48
- }
49
- function addNativeValidStyles() {
50
- var [major, minor] = getReactNativeVersion();
51
- if (major === 0 && minor >= 77) {
52
- var additional = {
53
- boxSizing: !0,
54
- mixBlendMode: !0,
55
- outlineWidth: !0,
56
- outlineStyle: !0,
57
- outlineSpread: !0,
58
- outlineColor: !0
59
- };
60
- Object.assign(import_helpers.validStyles, additional), Object.assign(import_helpers.stylePropsAll, additional);
61
- }
62
- }
63
- //# sourceMappingURL=addNativeValidStyles.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["addNativeValidStyles_native_exports","__export","addNativeValidStyles","module","exports","__toCommonJS","import_helpers","require","getReactNativeVersion","version","process","env","REACT_NATIVE_VERSION","ReactNativeOfficalVersion","major","minor","patch","major1","minor1","patch1","split","additional","boxSizing","mixBlendMode","outlineWidth","outlineStyle","outlineSpread","outlineColor","Object","assign","validStyles","stylePropsAll"],"sources":["../../src/addNativeValidStyles.native.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,mCAAA;AAAAC,QAAA,CAAAD,mCAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,mCAAA;AAAA,IAAAM,cAAA,GAA2CC,OAAA;AAC3C,SAASC,sBAAA,EAAwB;EAC7B,IAAIC,OAAA,GAAUC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,IAAwB;EAClD,IAAI,CAACF,OAAA,CAAQC,GAAA,CAAIC,oBAAA,EACb,IAAI;IACA,IAAIC,yBAAA,GAA4BN,OAAA,CAAQ,gDAAgD;IACxF,IAAIM,yBAAA,EAA2B;MAC3B,IAAI;QAAEJ,OAAA,EAAS;UAAEK,KAAA;UAAOC,KAAA;UAAOC;QAAM;MAAE,IAAIH,yBAAA;MAC3CJ,OAAA,GAAU,GAAGK,KAAK,IAAIC,KAAK,IAAIC,KAAK;IACxC;EACJ,QAAY,CAAC,UAAE;IAENP,OAAA,KACDA,OAAA,GAAU;EAElB;EAEJ,IAAI,CAACQ,MAAA,EAAQC,MAAA,EAAQC,MAAM,IAAIV,OAAA,CAAQW,KAAA,CAAM,GAAG;EAChD,OAAO,CACH,CAACH,MAAA,EACD,CAACC,MAAA,EACD,CAACC,MAAA,CACL;AACJ;AAEO,SAASjB,qBAAA,EAAuB;EACnC,IAAI,CAACY,KAAA,EAAOC,KAAK,IAAIP,qBAAA,CAAsB;EAC3C,IAAIM,KAAA,KAAU,KAAKC,KAAA,IAAS,IAAI;IAC5B,IAAIM,UAAA,GAAa;MACbC,SAAA,EAAW;MACXC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,aAAA,EAAe;MACfC,YAAA,EAAc;IAClB;IACAC,MAAA,CAAOC,MAAA,CAAOvB,cAAA,CAAAwB,WAAA,EAAaT,UAAU,GACrCO,MAAA,CAAOC,MAAA,CAAOvB,cAAA,CAAAyB,aAAA,EAAeV,UAAU;EAC3C;AACJ","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- function addNativeValidStyles() {
2
- }
3
- export {
4
- addNativeValidStyles
5
- };
6
- //# sourceMappingURL=addNativeValidStyles.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/addNativeValidStyles.ts"],
4
- "mappings": "AAAO,SAAS,uBAAuB;AAEvC;",
5
- "names": []
6
- }
@@ -1,3 +0,0 @@
1
- function addNativeValidStyles() {}
2
- export { addNativeValidStyles };
3
- //# sourceMappingURL=addNativeValidStyles.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["addNativeValidStyles"],"sources":["../../src/addNativeValidStyles.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,qBAAA,EAAuB,CAEvC","ignoreList":[]}
@@ -1,37 +0,0 @@
1
- import { validStyles, stylePropsAll } from "@tamagui/helpers";
2
- function getReactNativeVersion() {
3
- var version = process.env.REACT_NATIVE_VERSION || "";
4
- if (!process.env.REACT_NATIVE_VERSION) try {
5
- var ReactNativeOfficalVersion = require("react-native/Libraries/Core/ReactNativeVersion");
6
- if (ReactNativeOfficalVersion) {
7
- var {
8
- version: {
9
- major,
10
- minor,
11
- patch
12
- }
13
- } = ReactNativeOfficalVersion;
14
- version = `${major}.${minor}.${patch}`;
15
- }
16
- } catch {} finally {
17
- version || (version = "0.77");
18
- }
19
- var [major1, minor1, patch1] = version.split(".");
20
- return [+major1, +minor1, +patch1];
21
- }
22
- function addNativeValidStyles() {
23
- var [major, minor] = getReactNativeVersion();
24
- if (major === 0 && minor >= 77) {
25
- var additional = {
26
- boxSizing: !0,
27
- mixBlendMode: !0,
28
- outlineWidth: !0,
29
- outlineStyle: !0,
30
- outlineSpread: !0,
31
- outlineColor: !0
32
- };
33
- Object.assign(validStyles, additional), Object.assign(stylePropsAll, additional);
34
- }
35
- }
36
- export { addNativeValidStyles };
37
- //# sourceMappingURL=addNativeValidStyles.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["validStyles","stylePropsAll","getReactNativeVersion","version","process","env","REACT_NATIVE_VERSION","ReactNativeOfficalVersion","require","major","minor","patch","major1","minor1","patch1","split","addNativeValidStyles","additional","boxSizing","mixBlendMode","outlineWidth","outlineStyle","outlineSpread","outlineColor","Object","assign"],"sources":["../../src/addNativeValidStyles.native.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,WAAA,EAAaC,aAAA,QAAqB;AAC3C,SAASC,sBAAA,EAAwB;EAC7B,IAAIC,OAAA,GAAUC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,IAAwB;EAClD,IAAI,CAACF,OAAA,CAAQC,GAAA,CAAIC,oBAAA,EACb,IAAI;IACA,IAAIC,yBAAA,GAA4BC,OAAA,CAAQ,gDAAgD;IACxF,IAAID,yBAAA,EAA2B;MAC3B,IAAI;QAAEJ,OAAA,EAAS;UAAEM,KAAA;UAAOC,KAAA;UAAOC;QAAM;MAAE,IAAIJ,yBAAA;MAC3CJ,OAAA,GAAU,GAAGM,KAAK,IAAIC,KAAK,IAAIC,KAAK;IACxC;EACJ,QAAY,CAAC,UAAE;IAENR,OAAA,KACDA,OAAA,GAAU;EAElB;EAEJ,IAAI,CAACS,MAAA,EAAQC,MAAA,EAAQC,MAAM,IAAIX,OAAA,CAAQY,KAAA,CAAM,GAAG;EAChD,OAAO,CACH,CAACH,MAAA,EACD,CAACC,MAAA,EACD,CAACC,MAAA,CACL;AACJ;AAEO,SAASE,qBAAA,EAAuB;EACnC,IAAI,CAACP,KAAA,EAAOC,KAAK,IAAIR,qBAAA,CAAsB;EAC3C,IAAIO,KAAA,KAAU,KAAKC,KAAA,IAAS,IAAI;IAC5B,IAAIO,UAAA,GAAa;MACbC,SAAA,EAAW;MACXC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,aAAA,EAAe;MACfC,YAAA,EAAc;IAClB;IACAC,MAAA,CAAOC,MAAA,CAAOzB,WAAA,EAAaiB,UAAU,GACrCO,MAAA,CAAOC,MAAA,CAAOxB,aAAA,EAAegB,UAAU;EAC3C;AACJ","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"addNativeValidStyles.d.ts","sourceRoot":"","sources":["../src/addNativeValidStyles.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,SAEnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"addNativeValidStyles.native.d.ts","sourceRoot":"","sources":["../src/addNativeValidStyles.native.ts"],"names":[],"mappings":"AAiCA,wBAAgB,oBAAoB,SAgBnC"}