@epilot360/icons 1.18.6 → 1.18.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.
- package/icons.config.yaml +4 -0
- package/index.js +73 -9
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/react/EpilotIcon.d.ts +4 -0
- package/react/EpilotIcon.js +37 -1
- package/react/EpilotIcon.js.map +1 -1
- package/react/Stacks/index.d.ts +6 -0
- package/react/Stacks/index.js +241 -0
- package/react/Stacks/index.js.map +1 -0
- package/react/index.d.ts +1 -0
- package/react/index.js +43 -4
- package/react/index.js.map +1 -1
- package/svg/Stacks/data.d.ts +3 -0
- package/svg/Stacks/data.js +52 -0
- package/svg/Stacks/data.js.map +1 -0
- package/svg/Stacks/icon-fill.svg +1 -0
- package/svg/Stacks/icon.svg +1 -0
- package/svg/Stacks/index.d.ts +3 -0
- package/svg/Stacks/index.js +135 -0
- package/svg/Stacks/index.js.map +1 -0
- package/svg/index.d.ts +1 -0
- package/svg/index.js +43 -4
- package/svg/index.js.map +1 -1
- package/svg/svgIcon.d.ts +1 -0
- package/svg/svgIcon.js +37 -1
- package/svg/svgIcon.js.map +1 -1
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 58387:
|
|
6
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7
|
+
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ defaultIconProps: () => (/* binding */ defaultIconProps)
|
|
10
|
+
/* harmony export */ });
|
|
11
|
+
|
|
12
|
+
const defaultIconProps = {
|
|
13
|
+
width: 20,
|
|
14
|
+
height: 20,
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
variant: "filled"
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/***/ }),
|
|
21
|
+
|
|
22
|
+
/***/ 44184:
|
|
23
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
24
|
+
|
|
25
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26
|
+
/* harmony export */ makeIcon: () => (/* binding */ makeIcon)
|
|
27
|
+
/* harmony export */ });
|
|
28
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99497);
|
|
29
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
30
|
+
/* harmony import */ var _svgString__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8697);
|
|
31
|
+
/* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58387);
|
|
32
|
+
|
|
33
|
+
var __defProp = Object.defineProperty;
|
|
34
|
+
var __defProps = Object.defineProperties;
|
|
35
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
36
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
37
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
38
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
39
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
40
|
+
var __spreadValues = (a, b) => {
|
|
41
|
+
for (var prop in b || (b = {}))
|
|
42
|
+
if (__hasOwnProp.call(b, prop))
|
|
43
|
+
__defNormalProp(a, prop, b[prop]);
|
|
44
|
+
if (__getOwnPropSymbols)
|
|
45
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
46
|
+
if (__propIsEnum.call(b, prop))
|
|
47
|
+
__defNormalProp(a, prop, b[prop]);
|
|
48
|
+
}
|
|
49
|
+
return a;
|
|
50
|
+
};
|
|
51
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
52
|
+
var __objRest = (source, exclude) => {
|
|
53
|
+
var target = {};
|
|
54
|
+
for (var prop in source)
|
|
55
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
56
|
+
target[prop] = source[prop];
|
|
57
|
+
if (source != null && __getOwnPropSymbols)
|
|
58
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
59
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
60
|
+
target[prop] = source[prop];
|
|
61
|
+
}
|
|
62
|
+
return target;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
const makeIcon = (data, name, displayName) => {
|
|
68
|
+
const Icon = (props) => {
|
|
69
|
+
var _b, _c, _d, _e;
|
|
70
|
+
const _a = __spreadValues(__spreadValues({}, _common__WEBPACK_IMPORTED_MODULE_1__.defaultIconProps), props), { variant, size } = _a, restProps = __objRest(_a, ["variant", "size"]);
|
|
71
|
+
const inner = variant === "outlined" ? (_b = data.o) != null ? _b : data.f : (_c = data.f) != null ? _c : data.o;
|
|
72
|
+
const rootAttrs = variant === "outlined" ? data.rao : data.raf;
|
|
73
|
+
const viewBox = (_e = (_d = variant === "outlined" ? data.vbo : void 0) != null ? _d : data.vb) != null ? _e : _svgString__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_VIEWBOX;
|
|
74
|
+
const overrides = props.size ? { width: props.size, height: props.size } : {};
|
|
75
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", __spreadProps(__spreadValues(__spreadValues(__spreadProps(__spreadValues({
|
|
76
|
+
xmlns: _svgString__WEBPACK_IMPORTED_MODULE_2__.SVG_NS,
|
|
77
|
+
viewBox
|
|
78
|
+
}, rootAttrs), {
|
|
79
|
+
"aria-label": name
|
|
80
|
+
}), restProps), overrides), {
|
|
81
|
+
dangerouslySetInnerHTML: { __html: inner != null ? inner : "" }
|
|
82
|
+
}));
|
|
83
|
+
};
|
|
84
|
+
Icon.displayName = displayName;
|
|
85
|
+
return Icon;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/***/ }),
|
|
90
|
+
|
|
91
|
+
/***/ 33381:
|
|
92
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
93
|
+
|
|
94
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
95
|
+
/* harmony export */ data: () => (/* binding */ data)
|
|
96
|
+
/* harmony export */ });
|
|
97
|
+
|
|
98
|
+
const data = {
|
|
99
|
+
o: '<path d="M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0-76 295-154-295-156-294 156 294 154Zm2-155Zm-2 329 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z"/>',
|
|
100
|
+
f: '<path d="M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0 98 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z"/>'
|
|
101
|
+
};
|
|
102
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (data)));
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
|
|
107
|
+
/***/ 8697:
|
|
108
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
109
|
+
|
|
110
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
111
|
+
/* harmony export */ DEFAULT_VIEWBOX: () => (/* binding */ DEFAULT_VIEWBOX),
|
|
112
|
+
/* harmony export */ SVG_NS: () => (/* binding */ SVG_NS)
|
|
113
|
+
/* harmony export */ });
|
|
114
|
+
/* unused harmony export buildSvgString */
|
|
115
|
+
|
|
116
|
+
const SVG_NS = "http://www.w3.org/2000/svg";
|
|
117
|
+
const DEFAULT_VIEWBOX = "0 -960 960 960";
|
|
118
|
+
const serializeAttrs = (attrs) => attrs ? Object.entries(attrs).map(([key, value]) => ` ${key}="${value}"`).join("") : "";
|
|
119
|
+
const buildSvgString = (data, opts = {}) => {
|
|
120
|
+
var _a, _b, _c, _d;
|
|
121
|
+
const { variant = "filled", size, width, height, fill, xclass } = opts;
|
|
122
|
+
const inner = variant === "outlined" ? (_a = data.o) != null ? _a : data.f : (_b = data.f) != null ? _b : data.o;
|
|
123
|
+
if (inner == null)
|
|
124
|
+
return "";
|
|
125
|
+
const w = size != null ? size : width;
|
|
126
|
+
const h = size != null ? size : height;
|
|
127
|
+
const rootAttrs = variant === "outlined" ? data.rao : data.raf;
|
|
128
|
+
const viewBox = (_d = (_c = variant === "outlined" ? data.vbo : void 0) != null ? _c : data.vb) != null ? _d : DEFAULT_VIEWBOX;
|
|
129
|
+
let attrs = `xmlns="${SVG_NS}" viewBox="${viewBox}"`;
|
|
130
|
+
attrs += serializeAttrs(rootAttrs);
|
|
131
|
+
if (fill)
|
|
132
|
+
attrs += ` fill="${fill}"`;
|
|
133
|
+
if (w !== void 0 && w !== "")
|
|
134
|
+
attrs += ` width="${w}"`;
|
|
135
|
+
if (h !== void 0 && h !== "")
|
|
136
|
+
attrs += ` height="${h}"`;
|
|
137
|
+
if (xclass)
|
|
138
|
+
attrs += ` class="${xclass}"`;
|
|
139
|
+
return `<svg ${attrs}>${inner}</svg>`;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
/***/ }),
|
|
144
|
+
|
|
145
|
+
/***/ 99497:
|
|
146
|
+
/***/ ((module) => {
|
|
147
|
+
|
|
148
|
+
module.exports = require("react");
|
|
149
|
+
|
|
150
|
+
/***/ })
|
|
151
|
+
|
|
152
|
+
/******/ });
|
|
153
|
+
/************************************************************************/
|
|
154
|
+
/******/ // The module cache
|
|
155
|
+
/******/ var __webpack_module_cache__ = {};
|
|
156
|
+
/******/
|
|
157
|
+
/******/ // The require function
|
|
158
|
+
/******/ function __webpack_require__(moduleId) {
|
|
159
|
+
/******/ // Check if module is in cache
|
|
160
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
161
|
+
/******/ if (cachedModule !== undefined) {
|
|
162
|
+
/******/ return cachedModule.exports;
|
|
163
|
+
/******/ }
|
|
164
|
+
/******/ // Create a new module (and put it into the cache)
|
|
165
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
166
|
+
/******/ // no module.id needed
|
|
167
|
+
/******/ // no module.loaded needed
|
|
168
|
+
/******/ exports: {}
|
|
169
|
+
/******/ };
|
|
170
|
+
/******/
|
|
171
|
+
/******/ // Execute the module function
|
|
172
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
173
|
+
/******/
|
|
174
|
+
/******/ // Return the exports of the module
|
|
175
|
+
/******/ return module.exports;
|
|
176
|
+
/******/ }
|
|
177
|
+
/******/
|
|
178
|
+
/************************************************************************/
|
|
179
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
180
|
+
/******/ (() => {
|
|
181
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
182
|
+
/******/ __webpack_require__.n = (module) => {
|
|
183
|
+
/******/ var getter = module && module.__esModule ?
|
|
184
|
+
/******/ () => (module['default']) :
|
|
185
|
+
/******/ () => (module);
|
|
186
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
187
|
+
/******/ return getter;
|
|
188
|
+
/******/ };
|
|
189
|
+
/******/ })();
|
|
190
|
+
/******/
|
|
191
|
+
/******/ /* webpack/runtime/define property getters */
|
|
192
|
+
/******/ (() => {
|
|
193
|
+
/******/ // define getter functions for harmony exports
|
|
194
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
195
|
+
/******/ for(var key in definition) {
|
|
196
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
197
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
198
|
+
/******/ }
|
|
199
|
+
/******/ }
|
|
200
|
+
/******/ };
|
|
201
|
+
/******/ })();
|
|
202
|
+
/******/
|
|
203
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
204
|
+
/******/ (() => {
|
|
205
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
206
|
+
/******/ })();
|
|
207
|
+
/******/
|
|
208
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
209
|
+
/******/ (() => {
|
|
210
|
+
/******/ // define __esModule on exports
|
|
211
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
212
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
213
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
214
|
+
/******/ }
|
|
215
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
216
|
+
/******/ };
|
|
217
|
+
/******/ })();
|
|
218
|
+
/******/
|
|
219
|
+
/************************************************************************/
|
|
220
|
+
var __webpack_exports__ = {};
|
|
221
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
222
|
+
(() => {
|
|
223
|
+
__webpack_require__.r(__webpack_exports__);
|
|
224
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
225
|
+
/* harmony export */ Stacks: () => (/* binding */ Stacks),
|
|
226
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
227
|
+
/* harmony export */ });
|
|
228
|
+
/* harmony import */ var _svg_Stacks_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33381);
|
|
229
|
+
/* harmony import */ var _makeIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44184);
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
const Stacks = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Stacks_data__WEBPACK_IMPORTED_MODULE_0__.data, "stacks", "Stacks");
|
|
234
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Stacks);
|
|
235
|
+
|
|
236
|
+
})();
|
|
237
|
+
|
|
238
|
+
module.exports = __webpack_exports__;
|
|
239
|
+
/******/ })()
|
|
240
|
+
;
|
|
241
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react/Stacks/index.js","mappings":";;;;;;;;;;;AAEO,MAAM,mBAA8B;AAAA,EACzC,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,SAAS;AACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACPkB;AAEsB;AAGP;AAY1B,MAAM,WAAW,CAAC,MAAgB,MAAc,gBAAwB;AAC7E,QAAM,OAAO,CAAC,UAA0B;AAlB1C;AAoBI,UAAwC,uCACnC,qDAAgB,GAChB,QAFG,WAAS,KApBrB,IAoB4C,IAAd,sBAAc,IAAd,CAAlB,WAAS;AAKjB,UAAM,QAAQ,YAAY,cAAa,UAAK,MAAL,YAAU,KAAK,KAAI,UAAK,MAAL,YAAU,KAAK;AACzE,UAAM,YAAY,YAAY,aAAa,KAAK,MAAM,KAAK;AAC3D,UAAM,WAAW,uBAAY,aAAa,KAAK,MAAM,WAApC,YAAkD,KAAK,OAAvD,YAA6D,uDAAe;AAC7F,UAAM,YAAY,MAAM,OAAO,EAAE,OAAO,MAAM,MAAM,QAAQ,MAAM,KAAK,IAAI,CAAC;AAE5E,WAAO,0DAAmB,CAAC,OAAO;AAAA,MAChC,OAAO,8CAAM;AAAN,MACP;AAAA,OACG,YAH6B;AAAA,MAIhC,cAAc;AAAA,QACX,YACA,YAN6B;AAAA,MAOhC,yBAAyB,EAAE,QAAQ,wBAAS,GAAG;AAAA,IACjD,EAAC;AAAA,EACH;AAEA,OAAK,cAAc;AAEnB,SAAO;AACT;;;;;;;;;;;;AC1CO,MAAM,OAAiB;AAAA,EAC5B,GAAG;AAAA,EACH,GAAG;AACL;AAEA,sEAAe,oDAAI,IAAC;;;;;;;;;;;;;;ACLb,MAAM,SAAS;AAMf,MAAM,kBAAkB;AAI/B,MAAM,iBAAiB,CAAC,UACtB,QACI,OAAO,QAAQ,KAAK,EACjB,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,IAAI,QAAQ,QAAQ,EAC1C,KAAK,EAAE,IACV;AAOC,MAAM,iBAAiB,CAAC,MAAgB,OAAsB,CAAC,MAAc;AAxBpF;AAyBE,QAAM,EAAE,UAAU,UAAU,MAAM,OAAO,QAAQ,MAAM,OAAO,IAAI;AAClE,QAAM,QAAQ,YAAY,cAAa,UAAK,MAAL,YAAU,KAAK,KAAI,UAAK,MAAL,YAAU,KAAK;AAEzE,MAAI,SAAS;AAAM,WAAO;AAE1B,QAAM,IAAI,sBAAQ;AAClB,QAAM,IAAI,sBAAQ;AAClB,QAAM,YAAY,YAAY,aAAa,KAAK,MAAM,KAAK;AAC3D,QAAM,WAAW,uBAAY,aAAa,KAAK,MAAM,WAApC,YAAkD,KAAK,OAAvD,YAA6D;AAE9E,MAAI,QAAQ,UAAU,oBAAoB;AAC1C,WAAS,eAAe,SAAS;AACjC,MAAI;AAAM,aAAS,UAAU;AAC7B,MAAI,MAAM,UAAa,MAAM;AAAI,aAAS,WAAW;AACrD,MAAI,MAAM,UAAa,MAAM;AAAI,aAAS,YAAY;AACtD,MAAI;AAAQ,aAAS,WAAW;AAEhC,SAAO,QAAQ,SAAS;AAC1B;;;;;;;;AC3CA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;ACNqB;AACI;AAElB,MAAM,SAAS,mDAAQ,CAAC,kDAAI,EAAE,UAAU,QAAQ;AAEvD,iEAAe,MAAM,EAAC","sources":["webpack://icons/./src/react/common.ts","webpack://icons/./src/react/makeIcon.tsx","webpack://icons/./src/svg/Stacks/data.ts","webpack://icons/./src/svgString.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/./src/react/Stacks/index.tsx"],"sourcesContent":["import type { IconProps } from '../types';\n\nexport const defaultIconProps: IconProps = {\n width: 20,\n height: 20,\n fill: 'currentColor',\n variant: 'filled',\n};\n","import React from 'react';\n\nimport { DEFAULT_VIEWBOX, SVG_NS } from '../svgString';\nimport type { IconData } from '../types';\n\nimport { defaultIconProps } from './common';\nimport type { IconPropsReact } from './types';\n\n/**\n * Build an icon React component from its shared {@link IconData}.\n *\n * The path data lives in a single `data` module that both this component and\n * the `svgIcon()` string API import, so it is never bundled twice. The\n * rendered output and prop handling match the previously code-generated\n * components: props spread onto the `<svg>` element, `size` overrides\n * width/height, and `variant` selects filled/outlined.\n */\nexport const makeIcon = (data: IconData, name: string, displayName: string) => {\n const Icon = (props: IconPropsReact) => {\n // `size` is destructured out so it is not forwarded as a stray DOM attribute.\n const { variant, size, ...restProps } = {\n ...defaultIconProps,\n ...props,\n };\n\n const inner = variant === 'outlined' ? data.o ?? data.f : data.f ?? data.o;\n const rootAttrs = variant === 'outlined' ? data.rao : data.raf;\n const viewBox = (variant === 'outlined' ? data.vbo : undefined) ?? data.vb ?? DEFAULT_VIEWBOX;\n const overrides = props.size ? { width: props.size, height: props.size } : {};\n\n return React.createElement('svg', {\n xmlns: SVG_NS,\n viewBox,\n ...rootAttrs,\n 'aria-label': name,\n ...restProps,\n ...overrides,\n dangerouslySetInnerHTML: { __html: inner ?? '' },\n });\n };\n\n Icon.displayName = displayName;\n\n return Icon;\n};\n","import type { IconData } from '../../types';\n\nexport const data: IconData = {\n o: '<path d=\"M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0-76 295-154-295-156-294 156 294 154Zm2-155Zm-2 329 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z\"/>',\n f: '<path d=\"M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0 98 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z\"/>',\n};\n\nexport default data;\n","import type { IconData, IconProps } from './types';\n\nexport const SVG_NS = 'http://www.w3.org/2000/svg';\n\n/**\n * Default viewBox shared by all Material Symbols icons. Icons that use a\n * different viewBox store it in `IconData.vb`.\n */\nexport const DEFAULT_VIEWBOX = '0 -960 960 960';\n\nexport type SvgStringOpts = IconProps & { xclass?: string };\n\nconst serializeAttrs = (attrs?: Record<string, string>): string =>\n attrs\n ? Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('')\n : '';\n\n/**\n * Build a standalone SVG string from icon data. Replaces the previous\n * DOMParser-based implementation, so it works in non-DOM environments (SSR,\n * tests) too.\n */\nexport const buildSvgString = (data: IconData, opts: SvgStringOpts = {}): string => {\n const { variant = 'filled', size, width, height, fill, xclass } = opts;\n const inner = variant === 'outlined' ? data.o ?? data.f : data.f ?? data.o;\n\n if (inner == null) return '';\n\n const w = size ?? width;\n const h = size ?? height;\n const rootAttrs = variant === 'outlined' ? data.rao : data.raf;\n const viewBox = (variant === 'outlined' ? data.vbo : undefined) ?? data.vb ?? DEFAULT_VIEWBOX;\n\n let attrs = `xmlns=\"${SVG_NS}\" viewBox=\"${viewBox}\"`;\n attrs += serializeAttrs(rootAttrs);\n if (fill) attrs += ` fill=\"${fill}\"`;\n if (w !== undefined && w !== '') attrs += ` width=\"${w}\"`;\n if (h !== undefined && h !== '') attrs += ` height=\"${h}\"`;\n if (xclass) attrs += ` class=\"${xclass}\"`;\n\n return `<svg ${attrs}>${inner}</svg>`;\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};","import { data } from '../../svg/Stacks/data';\nimport { makeIcon } from '../makeIcon';\n\nexport const Stacks = makeIcon(data, 'stacks', 'Stacks');\n\nexport default Stacks;\n"],"names":[],"sourceRoot":""}
|
package/react/index.d.ts
CHANGED
package/react/index.js
CHANGED
|
@@ -1840,6 +1840,7 @@ const Epilot = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Epilot_d
|
|
|
1840
1840
|
/* harmony import */ var _ArrowDropUp__WEBPACK_IMPORTED_MODULE_263__ = __webpack_require__(40973);
|
|
1841
1841
|
/* harmony import */ var _Superscript__WEBPACK_IMPORTED_MODULE_264__ = __webpack_require__(63034);
|
|
1842
1842
|
/* harmony import */ var _Segment__WEBPACK_IMPORTED_MODULE_265__ = __webpack_require__(55723);
|
|
1843
|
+
/* harmony import */ var _Stacks__WEBPACK_IMPORTED_MODULE_266__ = __webpack_require__(79476);
|
|
1843
1844
|
|
|
1844
1845
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
1845
1846
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
@@ -2120,6 +2121,7 @@ var __objRest = (source, exclude) => {
|
|
|
2120
2121
|
|
|
2121
2122
|
|
|
2122
2123
|
|
|
2124
|
+
|
|
2123
2125
|
|
|
2124
2126
|
|
|
2125
2127
|
const IconComponentsMap = {
|
|
@@ -2387,7 +2389,8 @@ const IconComponentsMap = {
|
|
|
2387
2389
|
arrow_drop_down: _ArrowDropDown__WEBPACK_IMPORTED_MODULE_262__.ArrowDropDown,
|
|
2388
2390
|
arrow_drop_up: _ArrowDropUp__WEBPACK_IMPORTED_MODULE_263__.ArrowDropUp,
|
|
2389
2391
|
superscript: _Superscript__WEBPACK_IMPORTED_MODULE_264__.Superscript,
|
|
2390
|
-
segment: _Segment__WEBPACK_IMPORTED_MODULE_265__.Segment
|
|
2392
|
+
segment: _Segment__WEBPACK_IMPORTED_MODULE_265__.Segment,
|
|
2393
|
+
stacks: _Stacks__WEBPACK_IMPORTED_MODULE_266__.Stacks
|
|
2391
2394
|
};
|
|
2392
2395
|
const EpilotIcon = (props) => {
|
|
2393
2396
|
const _a = props, { name } = _a, restProps = __objRest(_a, ["name"]);
|
|
@@ -4711,6 +4714,23 @@ const StackedEmail = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_St
|
|
|
4711
4714
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (StackedEmail)));
|
|
4712
4715
|
|
|
4713
4716
|
|
|
4717
|
+
/***/ }),
|
|
4718
|
+
|
|
4719
|
+
/***/ 79476:
|
|
4720
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4721
|
+
|
|
4722
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4723
|
+
/* harmony export */ Stacks: () => (/* binding */ Stacks)
|
|
4724
|
+
/* harmony export */ });
|
|
4725
|
+
/* harmony import */ var _svg_Stacks_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33381);
|
|
4726
|
+
/* harmony import */ var _makeIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44184);
|
|
4727
|
+
|
|
4728
|
+
|
|
4729
|
+
|
|
4730
|
+
const Stacks = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Stacks_data__WEBPACK_IMPORTED_MODULE_0__.data, "stacks", "Stacks");
|
|
4731
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (Stacks)));
|
|
4732
|
+
|
|
4733
|
+
|
|
4714
4734
|
/***/ }),
|
|
4715
4735
|
|
|
4716
4736
|
/***/ 55336:
|
|
@@ -9119,6 +9139,22 @@ const data = {
|
|
|
9119
9139
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (data)));
|
|
9120
9140
|
|
|
9121
9141
|
|
|
9142
|
+
/***/ }),
|
|
9143
|
+
|
|
9144
|
+
/***/ 33381:
|
|
9145
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9146
|
+
|
|
9147
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9148
|
+
/* harmony export */ data: () => (/* binding */ data)
|
|
9149
|
+
/* harmony export */ });
|
|
9150
|
+
|
|
9151
|
+
const data = {
|
|
9152
|
+
o: '<path d="M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0-76 295-154-295-156-294 156 294 154Zm2-155Zm-2 329 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z"/>',
|
|
9153
|
+
f: '<path d="M480-423q-10 0-19-2t-18-7L93-619q-11-6-16-15-4-10-4-20t4-19q5-9 16-16l350-186q9-5 18-7t19-2q10 0 19 2t19 7l349 186q11 7 16 16 6 9 6 19t-6 20q-5 9-16 15L518-432q-10 5-19 7t-19 2Zm0 98 337-179q3-2 17-4 16 0 27 11t11 27q0 10-5 19-5 8-15 14L518-259q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-437q-9-6-14-14-5-9-5-19 0-16 11-27t26-11l10 2 8 3 335 178Zm0 174 337-179q3-3 17-4 16 0 27 11t11 27q0 9-5 18t-15 14L518-85q-10 5-19 7t-19 2q-10 0-19-2t-18-7L109-264q-9-5-14-14t-5-18q0-16 11-27t26-11l9 2 9 3 335 178Z"/>'
|
|
9154
|
+
};
|
|
9155
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (data)));
|
|
9156
|
+
|
|
9157
|
+
|
|
9122
9158
|
/***/ }),
|
|
9123
9159
|
|
|
9124
9160
|
/***/ 82427:
|
|
@@ -9928,7 +9964,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9928
9964
|
/* harmony export */ Entity: () => (/* reexport safe */ _Entity__WEBPACK_IMPORTED_MODULE_77__.Entity),
|
|
9929
9965
|
/* harmony export */ EntityBuilder: () => (/* reexport safe */ _EntityBuilder__WEBPACK_IMPORTED_MODULE_117__.EntityBuilder),
|
|
9930
9966
|
/* harmony export */ Epilot: () => (/* reexport safe */ _Epilot__WEBPACK_IMPORTED_MODULE_0__.Epilot),
|
|
9931
|
-
/* harmony export */ EpilotIcon: () => (/* reexport safe */
|
|
9967
|
+
/* harmony export */ EpilotIcon: () => (/* reexport safe */ _EpilotIcon__WEBPACK_IMPORTED_MODULE_266__.EpilotIcon),
|
|
9932
9968
|
/* harmony export */ Error: () => (/* reexport safe */ _Error__WEBPACK_IMPORTED_MODULE_11__.Error),
|
|
9933
9969
|
/* harmony export */ Euro: () => (/* reexport safe */ _Euro__WEBPACK_IMPORTED_MODULE_212__.Euro),
|
|
9934
9970
|
/* harmony export */ Exclamation: () => (/* reexport safe */ _Exclamation__WEBPACK_IMPORTED_MODULE_108__.Exclamation),
|
|
@@ -9967,7 +10003,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9967
10003
|
/* harmony export */ Heading: () => (/* reexport safe */ _Heading__WEBPACK_IMPORTED_MODULE_248__.Heading),
|
|
9968
10004
|
/* harmony export */ Help: () => (/* reexport safe */ _Help__WEBPACK_IMPORTED_MODULE_13__.Help),
|
|
9969
10005
|
/* harmony export */ Home: () => (/* reexport safe */ _Home__WEBPACK_IMPORTED_MODULE_211__.Home),
|
|
9970
|
-
/* harmony export */ IconComponentsMap: () => (/* reexport safe */
|
|
10006
|
+
/* harmony export */ IconComponentsMap: () => (/* reexport safe */ _EpilotIcon__WEBPACK_IMPORTED_MODULE_266__.IconComponentsMap),
|
|
9971
10007
|
/* harmony export */ Image: () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_92__.Image),
|
|
9972
10008
|
/* harmony export */ Inbox: () => (/* reexport safe */ _Inbox__WEBPACK_IMPORTED_MODULE_224__.Inbox),
|
|
9973
10009
|
/* harmony export */ Info: () => (/* reexport safe */ _Info__WEBPACK_IMPORTED_MODULE_12__.Info),
|
|
@@ -10066,6 +10102,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10066
10102
|
/* harmony export */ Sort: () => (/* reexport safe */ _Sort__WEBPACK_IMPORTED_MODULE_89__.Sort),
|
|
10067
10103
|
/* harmony export */ Stack: () => (/* reexport safe */ _Stack__WEBPACK_IMPORTED_MODULE_149__.Stack),
|
|
10068
10104
|
/* harmony export */ StackedEmail: () => (/* reexport safe */ _StackedEmail__WEBPACK_IMPORTED_MODULE_208__.StackedEmail),
|
|
10105
|
+
/* harmony export */ Stacks: () => (/* reexport safe */ _Stacks__WEBPACK_IMPORTED_MODULE_265__.Stacks),
|
|
10069
10106
|
/* harmony export */ Star: () => (/* reexport safe */ _Star__WEBPACK_IMPORTED_MODULE_106__.Star),
|
|
10070
10107
|
/* harmony export */ StepOver: () => (/* reexport safe */ _StepOver__WEBPACK_IMPORTED_MODULE_154__.StepOver),
|
|
10071
10108
|
/* harmony export */ Store: () => (/* reexport safe */ _Store__WEBPACK_IMPORTED_MODULE_107__.Store),
|
|
@@ -10369,7 +10406,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10369
10406
|
/* harmony import */ var _ArrowDropUp__WEBPACK_IMPORTED_MODULE_262__ = __webpack_require__(40973);
|
|
10370
10407
|
/* harmony import */ var _Superscript__WEBPACK_IMPORTED_MODULE_263__ = __webpack_require__(63034);
|
|
10371
10408
|
/* harmony import */ var _Segment__WEBPACK_IMPORTED_MODULE_264__ = __webpack_require__(55723);
|
|
10372
|
-
/* harmony import */ var
|
|
10409
|
+
/* harmony import */ var _Stacks__WEBPACK_IMPORTED_MODULE_265__ = __webpack_require__(79476);
|
|
10410
|
+
/* harmony import */ var _EpilotIcon__WEBPACK_IMPORTED_MODULE_266__ = __webpack_require__(80726);
|
|
10411
|
+
|
|
10373
10412
|
|
|
10374
10413
|
|
|
10375
10414
|
|