@os-design/omit-emotion-props 1.0.6 → 1.0.8

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/cjs/index.js CHANGED
@@ -4,19 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
-
8
7
  var omitEmotionProps = function omitEmotionProps() {
9
8
  for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {
10
9
  props[_key] = arguments[_key];
11
10
  }
12
-
13
11
  return {
14
12
  shouldForwardProp: function shouldForwardProp(p) {
15
13
  return !props.includes(p);
16
14
  }
17
15
  };
18
16
  };
19
-
20
17
  var _default = omitEmotionProps;
21
18
  exports["default"] = _default;
22
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["omitEmotionProps","props","shouldForwardProp","p","includes"],"sources":["../../src/index.ts"],"sourcesContent":["interface OmitEmotionPropsRes {\n shouldForwardProp: (prop: string) => boolean;\n}\n\nconst omitEmotionProps = (...props: string[]): OmitEmotionPropsRes => ({\n shouldForwardProp: (p) => !props.includes(p),\n});\n\nexport default omitEmotionProps;\n"],"mappings":";;;;;;;AAIA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAmB;EAAA,kCAAIC,KAAJ;IAAIA,KAAJ;EAAA;;EAAA,OAA8C;IACrEC,iBAAiB,EAAE,2BAACC,CAAD;MAAA,OAAO,CAACF,KAAK,CAACG,QAAN,CAAeD,CAAf,CAAR;IAAA;EADkD,CAA9C;AAAA,CAAzB;;eAIeH,gB"}
1
+ {"version":3,"file":"index.js","names":["omitEmotionProps","props","shouldForwardProp","p","includes"],"sources":["../../src/index.ts"],"sourcesContent":["interface OmitEmotionPropsRes {\n shouldForwardProp: (prop: string) => boolean;\n}\n\nconst omitEmotionProps = (...props: string[]): OmitEmotionPropsRes => ({\n shouldForwardProp: (p) => !props.includes(p),\n});\n\nexport default omitEmotionProps;\n"],"mappings":";;;;;;AAIA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgB;EAAA,kCAAOC,KAAK;IAALA,KAAK;EAAA;EAAA,OAAqC;IACrEC,iBAAiB,EAAE,2BAACC,CAAC;MAAA,OAAK,CAACF,KAAK,CAACG,QAAQ,CAACD,CAAC,CAAC;IAAA;EAC9C,CAAC;AAAA,CAAC;AAAC,eAEYH,gBAAgB;AAAA"}
package/dist/esm/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  const omitEmotionProps = (...props) => ({
2
2
  shouldForwardProp: p => !props.includes(p)
3
3
  });
4
-
5
4
  export default omitEmotionProps;
6
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["omitEmotionProps","props","shouldForwardProp","p","includes"],"sources":["../../src/index.ts"],"sourcesContent":["interface OmitEmotionPropsRes {\n shouldForwardProp: (prop: string) => boolean;\n}\n\nconst omitEmotionProps = (...props: string[]): OmitEmotionPropsRes => ({\n shouldForwardProp: (p) => !props.includes(p),\n});\n\nexport default omitEmotionProps;\n"],"mappings":"AAIA,MAAMA,gBAAgB,GAAG,CAAC,GAAGC,KAAJ,MAA8C;EACrEC,iBAAiB,EAAGC,CAAD,IAAO,CAACF,KAAK,CAACG,QAAN,CAAeD,CAAf;AAD0C,CAA9C,CAAzB;;AAIA,eAAeH,gBAAf"}
1
+ {"version":3,"file":"index.js","names":["omitEmotionProps","props","shouldForwardProp","p","includes"],"sources":["../../src/index.ts"],"sourcesContent":["interface OmitEmotionPropsRes {\n shouldForwardProp: (prop: string) => boolean;\n}\n\nconst omitEmotionProps = (...props: string[]): OmitEmotionPropsRes => ({\n shouldForwardProp: (p) => !props.includes(p),\n});\n\nexport default omitEmotionProps;\n"],"mappings":"AAIA,MAAMA,gBAAgB,GAAG,CAAC,GAAGC,KAAe,MAA2B;EACrEC,iBAAiB,EAAGC,CAAC,IAAK,CAACF,KAAK,CAACG,QAAQ,CAACD,CAAC;AAC7C,CAAC,CAAC;AAEF,eAAeH,gBAAgB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@os-design/omit-emotion-props",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "license": "UNLICENSED",
5
5
  "repository": "git@gitlab.com:os-team/libs/os-design.git",
6
6
  "main": "dist/cjs/index.js",
@@ -31,5 +31,5 @@
31
31
  "devDependencies": {
32
32
  "react": ">=18"
33
33
  },
34
- "gitHead": "bf790a74d01c9745a6cd8bae8ac6ad650ae42b62"
34
+ "gitHead": "8cb28f6719d699c014fbce91d832a9ff06abe515"
35
35
  }