@tamagui/normalize-css-color 1.113.1 → 1.114.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.
@@ -1,11 +1,7 @@
1
1
  import * as normalizeColor from "@react-native/normalize-color";
2
- var norm = normalizeColor.default || normalizeColor,
3
- normalizeCSSColor = norm;
2
+ var norm = normalizeColor.default || normalizeColor, normalizeCSSColor = norm;
4
3
  function rgba(colorInt) {
5
- var r = Math.round((colorInt & 4278190080) >>> 24),
6
- g = Math.round((colorInt & 16711680) >>> 16),
7
- b = Math.round((colorInt & 65280) >>> 8),
8
- a = ((colorInt & 255) >>> 0) / 255;
4
+ var r = Math.round((colorInt & 4278190080) >>> 24), g = Math.round((colorInt & 16711680) >>> 16), b = Math.round((colorInt & 65280) >>> 8), a = ((colorInt & 255) >>> 0) / 255;
9
5
  return {
10
6
  r,
11
7
  g,
@@ -14,5 +10,9 @@ function rgba(colorInt) {
14
10
  };
15
11
  }
16
12
  var src_default = normalizeCSSColor;
17
- export { src_default as default, normalizeCSSColor, rgba };
18
- //# sourceMappingURL=index.native.js.map
13
+ export {
14
+ src_default as default,
15
+ normalizeCSSColor,
16
+ rgba
17
+ };
18
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["normalizeColor","norm","default","normalizeCSSColor","rgba","colorInt","r","Math","round","g","b","a","src_default"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,YAAYA,cAAA,MAAoB;AAGhC,IAAAC,IAAM,GAAAD,cAAO,CAAAE,OAAe,IAAAF,cAAW;EAAAG,iBAC1B,GAAAF,IAAoB;AAE1B,SAASG,KAAKC,QAAA,EAAkB;EACrC,IAAAC,CAAA,GAAMC,IAAI,CAAAC,KAAK,EAAAH,QAAO,aAAW,QAAgB;IAAEI,CAAA,GAC7CF,IAAI,CAAAC,KAAK,EAAAH,QAAO,WAAW,QAAgB;IAAEK,CAAA,GAC7CH,IAAI,CAAAC,KAAK,EAAAH,QAAO,QAAW,QAAgB;IAACM,CAAA,GAC5C,EAAAN,QAAM,MAAW,WAAgB,GAAK;EAC5C,OAAO;IACLC,CAAA;IACAG,CAAA;IACAC,CAAA;IACAC;EACF;AACF;AAEA,IAAOC,WAAA,GAAQT,iBAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/core/normalize-css-color/src/index.ts"],
4
+ "mappings": "AAAA,YAAYA,oBAAoB;AAGhC,IAAMC,OAAOD,eAAeE,WAAWF,gBAC1BG,oBAAoBF;AAE1B,SAASG,KAAKC,UAAgB;AACnC,MAAMC,IAAIC,KAAKC,OAAOH,WAAW,gBAAgB,EAAA,GAC3CI,IAAIF,KAAKC,OAAOH,WAAW,cAAgB,EAAA,GAC3CK,IAAIH,KAAKC,OAAOH,WAAW,WAAgB,CAAA,GAC3CM,MAAMN,WAAW,SAAgB,KAAK;AAC5C,SAAO;IACLC;IACAG;IACAC;IACAC;EACF;AACF;AAEA,IAAA,cAAeR;",
5
+ "names": ["normalizeColor", "norm", "default", "normalizeCSSColor", "rgba", "colorInt", "r", "Math", "round", "g", "b", "a"]
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/normalize-css-color",
3
- "version": "1.113.1",
3
+ "version": "1.114.0",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -23,7 +23,7 @@
23
23
  "@react-native/normalize-color": "^2.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@tamagui/build": "1.113.1"
26
+ "@tamagui/build": "1.114.0"
27
27
  },
28
28
  "exports": {
29
29
  "./package.json": "./package.json",