@corva/ui 0.80.0-5 → 0.80.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("classnames"),i=require("@icon-park/react/es/all"),s=require("@material-ui/core"),a=require("./constants.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(t),o=n(i),c=s.makeStyles({iconWrapper:function(e){var r=e.iconSize,t=void 0===r?24:r;return{width:t,height:t}}});exports.withCustomSize=function(t){return function(i){var s=i.size,n=i.className,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../ext-esm/tslib/tslib.es6.js'),r=require("react/jsx-runtime"),t=require("classnames"),i=require("@icon-park/react/es/all"),s=require("@material-ui/core"),a=require("./constants.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(t),o=n(i),c=s.makeStyles({iconWrapper:function(e){var r=e.iconSize,t=void 0===r?24:r;return{width:t,height:t}}});exports.withCustomSize=function(t){return function(i){var s=i.size,n=void 0===s?24:s,l=i.className,d=e.__rest(i,["size","className"]),_="string"==typeof n?a.ICON_SIZES[n]:n,f=a.STROKE_WIDTH_BY_ICON_SIZE[_],p=c({iconSize:_});return r.jsx(o.default,e.__assign({strokeWidth:f},d,{type:t,className:u.default(p.iconWrapper,l),size:_}))}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithCustomSize.d.ts","sourceRoot":"","sources":["../../src/icons/WithCustomSize.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAmB,MAAM,SAAS,CAAC;AAYzD,eAAO,MAAM,cAAc,aAAc,MAAM,
|
|
1
|
+
{"version":3,"file":"WithCustomSize.d.ts","sourceRoot":"","sources":["../../src/icons/WithCustomSize.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAmB,MAAM,SAAS,CAAC;AAYzD,eAAO,MAAM,cAAc,aAAc,MAAM,oCACa,aAAa,KAAG,WAe3E,CAAC"}
|
package/icons/WithCustomSize.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as r,__assign as i}from'./../ext-esm/tslib/tslib.es6.js';import{jsx as
|
|
1
|
+
import{__rest as r,__assign as i}from'./../ext-esm/tslib/tslib.es6.js';import{jsx as o}from"react/jsx-runtime";import e from"classnames";import t from"@icon-park/react/es/all";import{makeStyles as s}from"@material-ui/core";import{ICON_SIZES as a,STROKE_WIDTH_BY_ICON_SIZE as n}from"./constants.js";var m=s({iconWrapper:function(r){var i=r.iconSize,o=void 0===i?24:i;return{width:o,height:o}}}),c=function(s){return function(c){var p=c.size,f=void 0===p?24:p,l=c.className,u=r(c,["size","className"]),d="string"==typeof f?a[f]:f,v=n[d],z=m({iconSize:d});return o(t,i({strokeWidth:v},u,{type:s,className:e(z.iconWrapper,l),size:d}))}};export{c as withCustomSize};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/ui",
|
|
3
|
-
"version": "0.80.0-
|
|
3
|
+
"version": "0.80.0-7",
|
|
4
4
|
"description": "Shared components/utils for Corva ui projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"corva-ui"
|
|
@@ -108,11 +108,9 @@
|
|
|
108
108
|
"eslint-plugin-jest-dom": "^3.2.3",
|
|
109
109
|
"eslint-plugin-prettier": "3.1.1",
|
|
110
110
|
"eslint-plugin-testing-library": "^3.9.2",
|
|
111
|
-
"express": "4.17.1",
|
|
112
111
|
"file-extension": "4.0.5",
|
|
113
112
|
"file-saver": "1.3.8",
|
|
114
113
|
"fparser": "^2.0.2",
|
|
115
|
-
"fs": "0.0.1-security",
|
|
116
114
|
"highcharts": "8.1.2",
|
|
117
115
|
"highcharts-multicolor-series": "2.2.7",
|
|
118
116
|
"highcharts-react-official": "2.2.2",
|
|
@@ -122,16 +120,14 @@
|
|
|
122
120
|
"jest": "^26.4.1",
|
|
123
121
|
"jscpd": "^3.4.5",
|
|
124
122
|
"jsona": "1.5.1",
|
|
125
|
-
"lodash": "4.17.
|
|
123
|
+
"lodash": "4.17.21",
|
|
126
124
|
"mapbox.js": "3.2.1",
|
|
127
125
|
"mobile-detect": "1.4.3",
|
|
128
126
|
"moment": "2.29.4",
|
|
129
127
|
"moment-duration-format": "1.3.0",
|
|
130
128
|
"moment-timezone": "0.5.43",
|
|
131
|
-
"node-fetch": "^2.6.1",
|
|
132
129
|
"numeral": "2.0.6",
|
|
133
|
-
"papaparse": "4.
|
|
134
|
-
"path": "0.12.7",
|
|
130
|
+
"papaparse": "5.4.1",
|
|
135
131
|
"postcss": "8.4.11",
|
|
136
132
|
"postcss-import": "12.0.1",
|
|
137
133
|
"postcss-loader": "4.2.0",
|