@epilot360/icons 1.18.4 → 1.18.6
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/Segment/index.d.ts +6 -0
- package/react/Segment/index.js +241 -0
- package/react/Segment/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/Segment/data.d.ts +3 -0
- package/svg/Segment/data.js +52 -0
- package/svg/Segment/data.js.map +1 -0
- package/svg/Segment/icon-fill.svg +1 -0
- package/svg/Segment/icon.svg +1 -0
- package/svg/Segment/index.d.ts +3 -0
- package/svg/Segment/index.js +135 -0
- package/svg/Segment/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
|
+
/***/ 84025:
|
|
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="M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z"/>',
|
|
100
|
+
f: '<path d="M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z"/>'
|
|
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 */ Segment: () => (/* binding */ Segment),
|
|
226
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
227
|
+
/* harmony export */ });
|
|
228
|
+
/* harmony import */ var _svg_Segment_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84025);
|
|
229
|
+
/* harmony import */ var _makeIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44184);
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
const Segment = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Segment_data__WEBPACK_IMPORTED_MODULE_0__.data, "segment", "Segment");
|
|
234
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Segment);
|
|
235
|
+
|
|
236
|
+
})();
|
|
237
|
+
|
|
238
|
+
module.exports = __webpack_exports__;
|
|
239
|
+
/******/ })()
|
|
240
|
+
;
|
|
241
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react/Segment/index.js","mappings":"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","sources":["webpack://icons/./src/react/common.ts","webpack://icons/./src/react/makeIcon.tsx","webpack://icons/./src/svg/Segment/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/Segment/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=\"M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z\"/>',\n f: '<path d=\"M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z\"/>',\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/Segment/data';\nimport { makeIcon } from '../makeIcon';\n\nexport const Segment = makeIcon(data, 'segment', 'Segment');\n\nexport default Segment;\n"],"names":[],"sourceRoot":""}
|
package/react/index.d.ts
CHANGED
package/react/index.js
CHANGED
|
@@ -1839,6 +1839,7 @@ const Epilot = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Epilot_d
|
|
|
1839
1839
|
/* harmony import */ var _ArrowDropDown__WEBPACK_IMPORTED_MODULE_262__ = __webpack_require__(29969);
|
|
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
|
+
/* harmony import */ var _Segment__WEBPACK_IMPORTED_MODULE_265__ = __webpack_require__(55723);
|
|
1842
1843
|
|
|
1843
1844
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
1844
1845
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
@@ -2118,6 +2119,7 @@ var __objRest = (source, exclude) => {
|
|
|
2118
2119
|
|
|
2119
2120
|
|
|
2120
2121
|
|
|
2122
|
+
|
|
2121
2123
|
|
|
2122
2124
|
|
|
2123
2125
|
const IconComponentsMap = {
|
|
@@ -2384,7 +2386,8 @@ const IconComponentsMap = {
|
|
|
2384
2386
|
last_page: _LastPage__WEBPACK_IMPORTED_MODULE_261__.LastPage,
|
|
2385
2387
|
arrow_drop_down: _ArrowDropDown__WEBPACK_IMPORTED_MODULE_262__.ArrowDropDown,
|
|
2386
2388
|
arrow_drop_up: _ArrowDropUp__WEBPACK_IMPORTED_MODULE_263__.ArrowDropUp,
|
|
2387
|
-
superscript: _Superscript__WEBPACK_IMPORTED_MODULE_264__.Superscript
|
|
2389
|
+
superscript: _Superscript__WEBPACK_IMPORTED_MODULE_264__.Superscript,
|
|
2390
|
+
segment: _Segment__WEBPACK_IMPORTED_MODULE_265__.Segment
|
|
2388
2391
|
};
|
|
2389
2392
|
const EpilotIcon = (props) => {
|
|
2390
2393
|
const _a = props, { name } = _a, restProps = __objRest(_a, ["name"]);
|
|
@@ -4521,6 +4524,23 @@ const Search = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Search_d
|
|
|
4521
4524
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (Search)));
|
|
4522
4525
|
|
|
4523
4526
|
|
|
4527
|
+
/***/ }),
|
|
4528
|
+
|
|
4529
|
+
/***/ 55723:
|
|
4530
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
4531
|
+
|
|
4532
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4533
|
+
/* harmony export */ Segment: () => (/* binding */ Segment)
|
|
4534
|
+
/* harmony export */ });
|
|
4535
|
+
/* harmony import */ var _svg_Segment_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84025);
|
|
4536
|
+
/* harmony import */ var _makeIcon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44184);
|
|
4537
|
+
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
const Segment = (0,_makeIcon__WEBPACK_IMPORTED_MODULE_1__.makeIcon)(_svg_Segment_data__WEBPACK_IMPORTED_MODULE_0__.data, "segment", "Segment");
|
|
4541
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (Segment)));
|
|
4542
|
+
|
|
4543
|
+
|
|
4524
4544
|
/***/ }),
|
|
4525
4545
|
|
|
4526
4546
|
/***/ 58407:
|
|
@@ -8923,6 +8943,22 @@ const data = {
|
|
|
8923
8943
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (data)));
|
|
8924
8944
|
|
|
8925
8945
|
|
|
8946
|
+
/***/ }),
|
|
8947
|
+
|
|
8948
|
+
/***/ 84025:
|
|
8949
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8950
|
+
|
|
8951
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8952
|
+
/* harmony export */ data: () => (/* binding */ data)
|
|
8953
|
+
/* harmony export */ });
|
|
8954
|
+
|
|
8955
|
+
const data = {
|
|
8956
|
+
o: '<path d="M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z"/>',
|
|
8957
|
+
f: '<path d="M385-219q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h430q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H385Zm0-221q-16 0-28-12t-11-28q0-17 11-28 12-12 28-12h430q16 0 28 12 12 11 12 28t-12 28q-12 12-28 12H385ZM145-661q-16 0-28-12t-11-28q0-17 11-29 12-11 28-11h670q16 0 28 12 12 11 12 28t-12 29q-12 11-28 11H145Z"/>'
|
|
8958
|
+
};
|
|
8959
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (data)));
|
|
8960
|
+
|
|
8961
|
+
|
|
8926
8962
|
/***/ }),
|
|
8927
8963
|
|
|
8928
8964
|
/***/ 62839:
|
|
@@ -9892,7 +9928,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9892
9928
|
/* harmony export */ Entity: () => (/* reexport safe */ _Entity__WEBPACK_IMPORTED_MODULE_77__.Entity),
|
|
9893
9929
|
/* harmony export */ EntityBuilder: () => (/* reexport safe */ _EntityBuilder__WEBPACK_IMPORTED_MODULE_117__.EntityBuilder),
|
|
9894
9930
|
/* harmony export */ Epilot: () => (/* reexport safe */ _Epilot__WEBPACK_IMPORTED_MODULE_0__.Epilot),
|
|
9895
|
-
/* harmony export */ EpilotIcon: () => (/* reexport safe */
|
|
9931
|
+
/* harmony export */ EpilotIcon: () => (/* reexport safe */ _EpilotIcon__WEBPACK_IMPORTED_MODULE_265__.EpilotIcon),
|
|
9896
9932
|
/* harmony export */ Error: () => (/* reexport safe */ _Error__WEBPACK_IMPORTED_MODULE_11__.Error),
|
|
9897
9933
|
/* harmony export */ Euro: () => (/* reexport safe */ _Euro__WEBPACK_IMPORTED_MODULE_212__.Euro),
|
|
9898
9934
|
/* harmony export */ Exclamation: () => (/* reexport safe */ _Exclamation__WEBPACK_IMPORTED_MODULE_108__.Exclamation),
|
|
@@ -9931,7 +9967,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9931
9967
|
/* harmony export */ Heading: () => (/* reexport safe */ _Heading__WEBPACK_IMPORTED_MODULE_248__.Heading),
|
|
9932
9968
|
/* harmony export */ Help: () => (/* reexport safe */ _Help__WEBPACK_IMPORTED_MODULE_13__.Help),
|
|
9933
9969
|
/* harmony export */ Home: () => (/* reexport safe */ _Home__WEBPACK_IMPORTED_MODULE_211__.Home),
|
|
9934
|
-
/* harmony export */ IconComponentsMap: () => (/* reexport safe */
|
|
9970
|
+
/* harmony export */ IconComponentsMap: () => (/* reexport safe */ _EpilotIcon__WEBPACK_IMPORTED_MODULE_265__.IconComponentsMap),
|
|
9935
9971
|
/* harmony export */ Image: () => (/* reexport safe */ _Image__WEBPACK_IMPORTED_MODULE_92__.Image),
|
|
9936
9972
|
/* harmony export */ Inbox: () => (/* reexport safe */ _Inbox__WEBPACK_IMPORTED_MODULE_224__.Inbox),
|
|
9937
9973
|
/* harmony export */ Info: () => (/* reexport safe */ _Info__WEBPACK_IMPORTED_MODULE_12__.Info),
|
|
@@ -10019,6 +10055,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10019
10055
|
/* harmony export */ Save: () => (/* reexport safe */ _Save__WEBPACK_IMPORTED_MODULE_35__.Save),
|
|
10020
10056
|
/* harmony export */ Schedule: () => (/* reexport safe */ _Schedule__WEBPACK_IMPORTED_MODULE_171__.Schedule),
|
|
10021
10057
|
/* harmony export */ Search: () => (/* reexport safe */ _Search__WEBPACK_IMPORTED_MODULE_28__.Search),
|
|
10058
|
+
/* harmony export */ Segment: () => (/* reexport safe */ _Segment__WEBPACK_IMPORTED_MODULE_264__.Segment),
|
|
10022
10059
|
/* harmony export */ Send: () => (/* reexport safe */ _Send__WEBPACK_IMPORTED_MODULE_196__.Send),
|
|
10023
10060
|
/* harmony export */ Settings: () => (/* reexport safe */ _Settings__WEBPACK_IMPORTED_MODULE_29__.Settings),
|
|
10024
10061
|
/* harmony export */ Share: () => (/* reexport safe */ _Share__WEBPACK_IMPORTED_MODULE_3__.Share),
|
|
@@ -10331,7 +10368,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10331
10368
|
/* harmony import */ var _ArrowDropDown__WEBPACK_IMPORTED_MODULE_261__ = __webpack_require__(29969);
|
|
10332
10369
|
/* harmony import */ var _ArrowDropUp__WEBPACK_IMPORTED_MODULE_262__ = __webpack_require__(40973);
|
|
10333
10370
|
/* harmony import */ var _Superscript__WEBPACK_IMPORTED_MODULE_263__ = __webpack_require__(63034);
|
|
10334
|
-
/* harmony import */ var
|
|
10371
|
+
/* harmony import */ var _Segment__WEBPACK_IMPORTED_MODULE_264__ = __webpack_require__(55723);
|
|
10372
|
+
/* harmony import */ var _EpilotIcon__WEBPACK_IMPORTED_MODULE_265__ = __webpack_require__(80726);
|
|
10373
|
+
|
|
10335
10374
|
|
|
10336
10375
|
|
|
10337
10376
|
|