@epilot360/icons 1.4.0 → 1.4.2

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.
@@ -29,15 +29,10 @@ module.exports = (webpackConfigEnv, argv) => {
29
29
  (plugin) => plugin.constructor.name !== 'SystemJSPublicPathWebpackPlugin',
30
30
  );
31
31
 
32
- console.log(
33
- 'defaultConfig',
34
- defaultConfig.plugins.map((plugin) => plugin.constructor.name),
35
- );
36
-
37
32
  return merge(defaultConfig, {
38
33
  target: 'node',
39
34
  entry: glob.sync('./src/**/*.{ts,tsx}').reduce((acc, file) => {
40
- if (!file.includes('.test.') && !file.includes('stories')) {
35
+ if (!file.includes('.test.') && !file.includes('stories') && !file.includes('.d.ts')) {
41
36
  acc[file.replace(/^\.\/src\//, '').replace(/\.tsx?$/, '')] = file;
42
37
  }
43
38
 
@@ -1 +0,0 @@
1
- (()=>{"use strict";module.exports={}})();
@@ -1 +0,0 @@
1
- {"version":3,"file":"material-symbols.d.js","mappings":"4BAAA,MAAMA,EAAmB,UAEzBC,EAAQ,EAAiB,SAAwBC,GAY7C,GAXGA,IACHA,EAAe,IAUV,IAAmBC,OAAS,IAAmBA,KAAKC,IAEvD,MADAC,QAAQC,MAAM,qBAAsB,KAC9BC,MACJ,uHAIJ,IAA0BP,EACxB,IAAmBG,KAAKC,IACxBF,EAGN,C,iBCkBA,SAASF,EAAiBQ,EAAWC,GAKnC,IAAIC,EAAIC,SAASC,cAAc,KAC/BF,EAAEG,KAAOL,EAKT,IAHA,IAAIM,EAA6B,MAAlBJ,EAAEI,SAAS,GAAaJ,EAAEI,SAAW,IAAMJ,EAAEI,SACxDC,EAAmB,EACrBC,EAAQF,EAASG,OACZF,IAAqBN,GAAsBO,GAAS,GAAG,CAE/C,MADFF,IAAWE,IAEpBD,GAEJ,CAEA,GAAIA,IAAqBN,EACvB,MAAMF,MACJ,iDACEE,EACA,gDACAM,EACA,qBACAP,GAIN,IAAIU,EAAYJ,EAASK,MAAM,EAAGH,EAAQ,GAE1C,OAAON,EAAEU,SAAW,KAAOV,EAAEW,KAAOH,CACtC,CAEAjB,EAAQ,EAAmBD,EAG3B,IAAIsB,EACFC,OAAOD,WACP,SAAmBE,GACjB,MAAsB,iBAARA,GAAoBC,SAASD,IAAQE,KAAKC,MAAMH,KAASA,CACzE,C,GCpFEI,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAa9B,QAGrB,IAAIgC,EAASL,EAAyBE,GAAY,CAGjD7B,QAAS,CAAC,GAOX,OAHAiC,EAAoBJ,GAAUG,EAAQA,EAAOhC,QAAS4B,GAG/CI,EAAOhC,OACf,CCtBA4B,EAAoBM,EAAI,ICExBC,EAFuB,WAER,G","sources":["webpack://icons/./node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://icons/./node_modules/systemjs-webpack-interop/public-path.js","webpack://icons/webpack/bootstrap","webpack://icons/webpack/runtime/publicPath","webpack://icons/./node_modules/systemjs-webpack-interop/auto-public-path/1.js"],"sourcesContent":["const resolveDirectory = require(\"../public-path\").resolveDirectory;\n\nexports.autoPublicPath = function autoPublicPath(rootDirLevel) {\n if (!rootDirLevel) {\n rootDirLevel = 1;\n }\n\n if (typeof __webpack_public_path__ !== \"undefined\") {\n if (typeof __system_context__ === \"undefined\") {\n throw Error(\n \"systemjs-webpack-interop requires webpack@>=5.0.0-beta.15 and output.libraryTarget set to 'system'\"\n );\n }\n\n if (!__system_context__.meta || !__system_context__.meta.url) {\n console.error(\"__system_context__\", __system_context__);\n throw Error(\n \"systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(\n __system_context__.meta.url,\n rootDirLevel\n );\n }\n};\n","exports.setPublicPath = function setPublicPath(\n systemjsModuleName,\n rootDirectoryLevel\n) {\n if (!rootDirectoryLevel) {\n rootDirectoryLevel = 1;\n }\n if (\n typeof systemjsModuleName !== \"string\" ||\n systemjsModuleName.trim().length === 0\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName) must be called with a non-empty string 'systemjsModuleName'\"\n );\n }\n\n if (\n typeof rootDirectoryLevel !== \"number\" ||\n rootDirectoryLevel <= 0 ||\n isNaN(rootDirectoryLevel) ||\n !isInteger(rootDirectoryLevel)\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName, rootDirectoryLevel) must be called with a positive integer 'rootDirectoryLevel'\"\n );\n }\n\n var moduleUrl;\n try {\n moduleUrl = window.System.resolve(systemjsModuleName);\n if (!moduleUrl) {\n throw Error();\n }\n } catch (err) {\n throw Error(\n \"systemjs-webpack-interop: There is no such module '\" +\n systemjsModuleName +\n \"' in the SystemJS registry. Did you misspell the name of your module?\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(moduleUrl, rootDirectoryLevel);\n};\n\nfunction resolveDirectory(urlString, rootDirectoryLevel) {\n // Our friend IE11 doesn't support new URL()\n // https://github.com/single-spa/single-spa/issues/612\n // https://gist.github.com/jlong/2428561\n\n var a = document.createElement(\"a\");\n a.href = urlString;\n\n var pathname = a.pathname[0] === \"/\" ? a.pathname : \"/\" + a.pathname;\n var numDirsProcessed = 0,\n index = pathname.length;\n while (numDirsProcessed !== rootDirectoryLevel && index >= 0) {\n var char = pathname[--index];\n if (char === \"/\") {\n numDirsProcessed++;\n }\n }\n\n if (numDirsProcessed !== rootDirectoryLevel) {\n throw Error(\n \"systemjs-webpack-interop: rootDirectoryLevel (\" +\n rootDirectoryLevel +\n \") is greater than the number of directories (\" +\n numDirsProcessed +\n \") in the URL path \" +\n urlString\n );\n }\n\n var finalPath = pathname.slice(0, index + 1);\n\n return a.protocol + \"//\" + a.host + finalPath;\n}\n\nexports.resolveDirectory = resolveDirectory;\n\n// borrowed from https://github.com/parshap/js-is-integer/blob/master/index.js\nvar isInteger =\n Number.isInteger ||\n function isInteger(val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.p = \"\";","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n"],"names":["resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","isInteger","Number","val","isFinite","Math","floor","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","module","__webpack_modules__","p","autoPublicPath"],"sourceRoot":""}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from '../types';
3
- export declare function Draft(props: IconProps): React.JSX.Element;
4
- export default Draft;
@@ -1,2 +0,0 @@
1
- (()=>{"use strict";var e={3838:(e,r,t)=>{t.d(r,{defaultIconProps:()=>n});const n={width:20,height:20,fill:"currentColor",variant:"filled"}},9497:e=>{e.exports=require("react")}},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var a=r[n]={exports:{}};return e[n](a,a.exports,t),a.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{t.r(n),t.d(n,{Draft:()=>O,default:()=>w});var e,r=t(9497),o=t.n(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},a.apply(this,arguments)}const l=function(t){return r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 -960 960 960"},t),e||(e=r.createElement("path",{d:"M225.087-65.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-669.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h362.131l227.478 227.478v522.131q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H225.087Zm320.826-563.044h189l-189-186v186Z"})))};var i;function c(){return c=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},c.apply(this,arguments)}const v=function(e){return r.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 -960 960 960"},e),i||(i=r.createElement("path",{d:"M225.087-65.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-669.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h362.131l227.478 227.478v522.131q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H225.087Zm320.826-563.044v-186H225.087v669.826h509.826v-483.826h-189Zm-320.826-186v186-186 669.826-669.826Z"})))};var u=t(3838),s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,b=(e,r,t)=>r in e?s(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,h=(e,r)=>{for(var t in r||(r={}))p.call(r,t)&&b(e,t,r[t]);if(f)for(var t of f(r))d.call(r,t)&&b(e,t,r[t]);return e},g=(e,r)=>{var t={};for(var n in e)p.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&f)for(var n of f(e))r.indexOf(n)<0&&d.call(e,n)&&(t[n]=e[n]);return t};const y="draft";function O(e){const r=h(h({},u.defaultIconProps),e),{variant:t}=r,n=g(r,["variant"]),a="outlined"===t?v:l;return o().createElement(a,h({"aria-label":y},n))}const w=O})(),module.exports=n})();
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react/Draft/index.js","mappings":"yEAQO,MAAMA,EAA8B,CACzCC,MAAO,GACPC,OAAQ,GACRC,KAAM,eACNC,QAAS,S,WCZXC,EAAOC,QAAUC,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaL,QAGrB,IAAID,EAASG,EAAyBE,GAAY,CAGjDJ,QAAS,CAAC,GAOX,OAHAO,EAAoBH,GAAUL,EAAQA,EAAOC,QAASG,GAG/CJ,EAAOC,OACf,CCrBAG,EAAoBK,EAAKT,IACxB,IAAIU,EAASV,GAAUA,EAAOW,WAC7B,IAAOX,EAAiB,QACxB,IAAM,EAEP,OADAI,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,ECLdN,EAAoBQ,EAAI,CAACX,EAASa,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEf,EAASc,IAC5EE,OAAOC,eAAejB,EAASc,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFlB,EAAoBsB,EAAKzB,IACH,oBAAX0B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAejB,EAAS0B,O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8C,EAAA,EAAc,EAAd,CAAZ,YAIFC,EAA4B,aAAZ/C,EAAyB,EAAW,EAE1D,OAAO,kBAAC+C,EAAA,GAAc,aAAY,GAAUD,GAC9C,CAEA,S","sources":["webpack://icons/./src/react/types.ts","webpack://icons/external commonjs2 \"react\"","webpack://icons/webpack/bootstrap","webpack://icons/webpack/runtime/compat get default export","webpack://icons/webpack/runtime/define property getters","webpack://icons/webpack/runtime/hasOwnProperty shorthand","webpack://icons/webpack/runtime/make namespace object","webpack://icons/./node_modules/@material-symbols/svg-600/outlined/draft-fill.svg","webpack://icons/./node_modules/@material-symbols/svg-600/outlined/draft.svg","webpack://icons/./src/react/Draft/index.tsx"],"sourcesContent":["export interface IconProps {\n width?: number | string;\n height?: number | string;\n fill?: string;\n className?: string;\n variant?: 'filled' | 'outlined';\n}\n\nexport const defaultIconProps: IconProps = {\n width: 20,\n height: 20,\n fill: 'currentColor',\n variant: 'filled',\n};\n","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgDraftFill = function SvgDraftFill(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 48,\n height: 48,\n viewBox: \"0 -960 960 960\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M225.087-65.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-669.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h362.131l227.478 227.478v522.131q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H225.087Zm320.826-563.044h189l-189-186v186Z\"\n })));\n};\nexport default SvgDraftFill;","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgDraft = function SvgDraft(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 48,\n height: 48,\n viewBox: \"0 -960 960 960\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M225.087-65.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-669.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h362.131l227.478 227.478v522.131q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H225.087Zm320.826-563.044v-186H225.087v669.826h509.826v-483.826h-189Zm-320.826-186v186-186 669.826-669.826Z\"\n })));\n};\nexport default SvgDraft;","import Filled from '@material-symbols/svg-600/outlined/draft-fill.svg';\nimport Outlined from '@material-symbols/svg-600/outlined/draft.svg';\nimport React from 'react';\n\nimport { defaultIconProps, IconProps } from '../types';\n\nconst name = 'draft';\n\nexport function Draft(props: IconProps) {\n const { variant, ...restProps } = {\n ...defaultIconProps,\n ...props,\n };\n const IconComponent = variant === 'outlined' ? Outlined : Filled;\n\n return <IconComponent aria-label={name} {...restProps} />;\n}\n\nexport default Draft;\n"],"names":["defaultIconProps","width","height","fill","variant","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","_path","_extends","assign","bind","target","i","arguments","length","source","apply","this","props","xmlns","viewBox","Draft","restProps","IconComponent"],"sourceRoot":""}