@splunk/react-icons 4.4.0 → 4.6.0
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/ArrowTriangleDown.js +12 -10
- package/ArrowTriangleLeft.js +22 -20
- package/ArrowTriangleRight.js +22 -20
- package/ArrowTriangleUp.js +22 -20
- package/CHANGELOG.md +32 -0
- package/Calculation.d.ts +2 -0
- package/Calculation.js +168 -0
- package/Calculator.d.ts +2 -0
- package/Calculator.js +156 -0
- package/ChevronsSlash.js +60 -50
- package/Containership.js +1 -1
- package/CylinderWaves.d.ts +2 -0
- package/CylinderWaves.js +160 -0
- package/DeviceEdgeHub.d.ts +2 -0
- package/DeviceEdgeHub.js +162 -0
- package/ExclamationTriangle.js +6 -6
- package/ExclamationTriangleDown.d.ts +2 -0
- package/ExclamationTriangleDown.js +160 -0
- package/FileChevronRight.d.ts +2 -0
- package/FileChevronRight.js +158 -0
- package/Hammer.js +2 -2
- package/HotAirBalloon.js +2 -2
- package/IconProvider.d.ts +1 -1
- package/Lightning.js +1 -1
- package/ListNumbered.d.ts +2 -0
- package/ListNumbered.js +156 -0
- package/QuotationDouble.d.ts +2 -0
- package/QuotationDouble.js +148 -0
- package/SVG.d.ts +3 -3
- package/SVGEnterprise.d.ts +5 -5
- package/Scissors.js +2 -2
- package/Shield.d.ts +2 -0
- package/Shield.js +158 -0
- package/Snowflake.js +1 -1
- package/TextAlignBottom.d.ts +2 -0
- package/TextAlignBottom.js +156 -0
- package/TextAlignCenter.d.ts +2 -0
- package/TextAlignCenter.js +160 -0
- package/TextAlignLeft.d.ts +2 -0
- package/TextAlignLeft.js +160 -0
- package/TextAlignRight.d.ts +2 -0
- package/TextAlignRight.js +160 -0
- package/TextAlignTop.d.ts +2 -0
- package/TextAlignTop.js +156 -0
- package/TextAlignVerticalCenter.d.ts +2 -0
- package/TextAlignVerticalCenter.js +158 -0
- package/TextBBold.d.ts +2 -0
- package/TextBBold.js +148 -0
- package/TextDirectionMinus45.js +2 -2
- package/TextH.d.ts +2 -0
- package/TextH.js +146 -0
- package/TextIItalic.d.ts +2 -0
- package/TextIItalic.js +146 -0
- package/TextSStrikethrough.d.ts +2 -0
- package/TextSStrikethrough.js +148 -0
- package/TextUUnderline.d.ts +2 -0
- package/TextUUnderline.js +148 -0
- package/Triangle.js +22 -20
- package/TriangleDown.js +156 -0
- package/WindowGlobe.d.ts +2 -0
- package/WindowGlobe.js +172 -0
- package/package.json +12 -10
- package/test-runner-jest.config.js +1 -0
- package/types/icons/Calculation.d.ts +20 -0
- package/types/icons/Calculator.d.ts +20 -0
- package/types/icons/ChevronsSlash.d.ts +2 -2
- package/types/icons/CylinderWaves.d.ts +20 -0
- package/types/icons/DeviceEdgeHub.d.ts +20 -0
- package/types/icons/ExclamationTriangleDown.d.ts +20 -0
- package/types/icons/FileChevronRight.d.ts +20 -0
- package/types/icons/ListNumbered.d.ts +20 -0
- package/types/icons/QuotationDouble.d.ts +20 -0
- package/types/icons/Shield.d.ts +20 -0
- package/types/icons/TextAlignBottom.d.ts +20 -0
- package/types/icons/TextAlignCenter.d.ts +20 -0
- package/types/icons/TextAlignLeft.d.ts +20 -0
- package/types/icons/TextAlignRight.d.ts +20 -0
- package/types/icons/TextAlignTop.d.ts +20 -0
- package/types/icons/TextAlignVerticalCenter.d.ts +20 -0
- package/types/icons/TextBBold.d.ts +20 -0
- package/types/icons/TextH.d.ts +20 -0
- package/types/icons/TextIItalic.d.ts +20 -0
- package/types/icons/TextSStrikethrough.d.ts +20 -0
- package/types/icons/TextUUnderline.d.ts +20 -0
- package/types/icons/TriangleDown.d.ts +20 -0
- package/types/icons/WindowGlobe.d.ts +20 -0
package/TriangleDown.js
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/******/ (() => {
|
|
2
|
+
// webpackBootstrap
|
|
3
|
+
/******/ "use strict";
|
|
4
|
+
/******/ // The require scope
|
|
5
|
+
/******/ var e = {};
|
|
6
|
+
/******/
|
|
7
|
+
/************************************************************************/
|
|
8
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
9
|
+
/******/ (() => {
|
|
10
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
11
|
+
/******/ e.n = r => {
|
|
12
|
+
/******/ var t = r && r.__esModule ?
|
|
13
|
+
/******/ () => r["default"]
|
|
14
|
+
/******/ : () => r
|
|
15
|
+
/******/;
|
|
16
|
+
e.d(t, {
|
|
17
|
+
a: t
|
|
18
|
+
});
|
|
19
|
+
/******/ return t;
|
|
20
|
+
/******/ };
|
|
21
|
+
/******/ })();
|
|
22
|
+
/******/
|
|
23
|
+
/******/ /* webpack/runtime/define property getters */
|
|
24
|
+
/******/ (() => {
|
|
25
|
+
/******/ // define getter functions for harmony exports
|
|
26
|
+
/******/ e.d = (r, t) => {
|
|
27
|
+
/******/ for (var n in t) {
|
|
28
|
+
/******/ if (e.o(t, n) && !e.o(r, n)) {
|
|
29
|
+
/******/ Object.defineProperty(r, n, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: t[n]
|
|
32
|
+
});
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ }
|
|
35
|
+
/******/ };
|
|
36
|
+
/******/ })();
|
|
37
|
+
/******/
|
|
38
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
39
|
+
/******/ (() => {
|
|
40
|
+
/******/ e.o = (e, r) => Object.prototype.hasOwnProperty.call(e, r)
|
|
41
|
+
/******/;
|
|
42
|
+
})();
|
|
43
|
+
/******/
|
|
44
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
45
|
+
/******/ (() => {
|
|
46
|
+
/******/ // define __esModule on exports
|
|
47
|
+
/******/ e.r = e => {
|
|
48
|
+
/******/ if (typeof Symbol !== "undefined" && Symbol.toStringTag) {
|
|
49
|
+
/******/ Object.defineProperty(e, Symbol.toStringTag, {
|
|
50
|
+
value: "Module"
|
|
51
|
+
});
|
|
52
|
+
/******/ }
|
|
53
|
+
/******/ Object.defineProperty(e, "__esModule", {
|
|
54
|
+
value: true
|
|
55
|
+
});
|
|
56
|
+
/******/ };
|
|
57
|
+
/******/ })();
|
|
58
|
+
/******/
|
|
59
|
+
/************************************************************************/ var r = {};
|
|
60
|
+
// ESM COMPAT FLAG
|
|
61
|
+
e.r(r);
|
|
62
|
+
// EXPORTS
|
|
63
|
+
e.d(r, {
|
|
64
|
+
default: () => /* binding */ m
|
|
65
|
+
});
|
|
66
|
+
// CONCATENATED MODULE: external "react"
|
|
67
|
+
const t = require("react");
|
|
68
|
+
var n = e.n(t);
|
|
69
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/SVG"
|
|
70
|
+
const a = require("@splunk/react-icons/SVG");
|
|
71
|
+
var l = e.n(a);
|
|
72
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/IconProvider"
|
|
73
|
+
const o = require("@splunk/react-icons/IconProvider");
|
|
74
|
+
// CONCATENATED MODULE: ./src/icons/TriangleDown.tsx
|
|
75
|
+
function u(e, r) {
|
|
76
|
+
if (e == null) return {};
|
|
77
|
+
var t = i(e, r);
|
|
78
|
+
var n, a;
|
|
79
|
+
if (Object.getOwnPropertySymbols) {
|
|
80
|
+
var l = Object.getOwnPropertySymbols(e);
|
|
81
|
+
for (a = 0; a < l.length; a++) {
|
|
82
|
+
n = l[a];
|
|
83
|
+
if (r.indexOf(n) >= 0) continue;
|
|
84
|
+
if (!Object.prototype.propertyIsEnumerable.call(e, n)) continue;
|
|
85
|
+
t[n] = e[n];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return t;
|
|
89
|
+
}
|
|
90
|
+
function i(e, r) {
|
|
91
|
+
if (e == null) return {};
|
|
92
|
+
var t = {};
|
|
93
|
+
var n = Object.keys(e);
|
|
94
|
+
var a, l;
|
|
95
|
+
for (l = 0; l < n.length; l++) {
|
|
96
|
+
a = n[l];
|
|
97
|
+
if (r.indexOf(a) >= 0) continue;
|
|
98
|
+
t[a] = e[a];
|
|
99
|
+
}
|
|
100
|
+
return t;
|
|
101
|
+
}
|
|
102
|
+
var c = {
|
|
103
|
+
variant: "default"
|
|
104
|
+
};
|
|
105
|
+
var d = new Map;
|
|
106
|
+
d.set("outlined", (function() {
|
|
107
|
+
|
|
108
|
+
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
109
|
+
fillRule: "evenodd",
|
|
110
|
+
clipRule: "evenodd",
|
|
111
|
+
d: "M10.701 20.25C11.2783 21.25 12.7217 21.25 13.2991 20.25L21.9593 5.25C22.5367 4.25001 21.815 3 20.6603 3H3.33976C2.18507 3 1.46337 4.25 2.04072 5.25L10.701 20.25ZM12 18.5L4.20579 5H19.7942L12 18.5Z"
|
|
112
|
+
}));
|
|
113
|
+
}));
|
|
114
|
+
d.set("filled", (function() {
|
|
115
|
+
|
|
116
|
+
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
117
|
+
fillRule: "evenodd",
|
|
118
|
+
clipRule: "evenodd",
|
|
119
|
+
d: "M10.701 20.25C11.2783 21.25 12.7217 21.25 13.2991 20.25L21.9593 5.25C22.5367 4.25001 21.815 3 20.6603 3H3.33976C2.18507 3 1.46337 4.25 2.04072 5.25L10.701 20.25Z"
|
|
120
|
+
}));
|
|
121
|
+
}));
|
|
122
|
+
var f = [ "default", "outlined", "filled" ];
|
|
123
|
+
var v = function e(r) {
|
|
124
|
+
return f.indexOf(r) >= 0;
|
|
125
|
+
};
|
|
126
|
+
var s = function e(r) {
|
|
127
|
+
return r === "default" || r && !v(r) ? "outlined" : r;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* @description Severity Lv4 Syslog Minor error (=Error) *Use filled style
|
|
131
|
+
* @category Severity
|
|
132
|
+
* @keywords alert, incident, error, triangle, notification, status
|
|
133
|
+
* @variants outlined,filled
|
|
134
|
+
*/ var p = function e(r) {
|
|
135
|
+
var a = r.children, i = r.variant, c = u(r, [ "children", "variant" ]);
|
|
136
|
+
var f = s(i);
|
|
137
|
+
var v = "triangledown-".concat(f);
|
|
138
|
+
var p = (0, t.useContext)(o.IconContext);
|
|
139
|
+
var m = d.get(f);
|
|
140
|
+
if (false) {}
|
|
141
|
+
if (p && m) {
|
|
142
|
+
var y = p.toRender, b = p.addIcon;
|
|
143
|
+
b(v, m());
|
|
144
|
+
if (!y) {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return n().createElement(l(), c, a, p ? n().createElement("use", {
|
|
150
|
+
href: "#".concat(v)
|
|
151
|
+
}) : !!m && m());
|
|
152
|
+
};
|
|
153
|
+
p.defaultProps = c;
|
|
154
|
+
/* harmony default export */ const m = p;
|
|
155
|
+
module.exports = r;
|
|
156
|
+
/******/})();
|
package/WindowGlobe.d.ts
ADDED
package/WindowGlobe.js
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/******/ (() => {
|
|
2
|
+
// webpackBootstrap
|
|
3
|
+
/******/ "use strict";
|
|
4
|
+
/******/ // The require scope
|
|
5
|
+
/******/ var e = {};
|
|
6
|
+
/******/
|
|
7
|
+
/************************************************************************/
|
|
8
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
9
|
+
/******/ (() => {
|
|
10
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
11
|
+
/******/ e.n = t => {
|
|
12
|
+
/******/ var r = t && t.__esModule ?
|
|
13
|
+
/******/ () => t["default"]
|
|
14
|
+
/******/ : () => t
|
|
15
|
+
/******/;
|
|
16
|
+
e.d(r, {
|
|
17
|
+
a: r
|
|
18
|
+
});
|
|
19
|
+
/******/ return r;
|
|
20
|
+
/******/ };
|
|
21
|
+
/******/ })();
|
|
22
|
+
/******/
|
|
23
|
+
/******/ /* webpack/runtime/define property getters */
|
|
24
|
+
/******/ (() => {
|
|
25
|
+
/******/ // define getter functions for harmony exports
|
|
26
|
+
/******/ e.d = (t, r) => {
|
|
27
|
+
/******/ for (var n in r) {
|
|
28
|
+
/******/ if (e.o(r, n) && !e.o(t, n)) {
|
|
29
|
+
/******/ Object.defineProperty(t, n, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: r[n]
|
|
32
|
+
});
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ }
|
|
35
|
+
/******/ };
|
|
36
|
+
/******/ })();
|
|
37
|
+
/******/
|
|
38
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
39
|
+
/******/ (() => {
|
|
40
|
+
/******/ e.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)
|
|
41
|
+
/******/;
|
|
42
|
+
})();
|
|
43
|
+
/******/
|
|
44
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
45
|
+
/******/ (() => {
|
|
46
|
+
/******/ // define __esModule on exports
|
|
47
|
+
/******/ e.r = e => {
|
|
48
|
+
/******/ if (typeof Symbol !== "undefined" && Symbol.toStringTag) {
|
|
49
|
+
/******/ Object.defineProperty(e, Symbol.toStringTag, {
|
|
50
|
+
value: "Module"
|
|
51
|
+
});
|
|
52
|
+
/******/ }
|
|
53
|
+
/******/ Object.defineProperty(e, "__esModule", {
|
|
54
|
+
value: true
|
|
55
|
+
});
|
|
56
|
+
/******/ };
|
|
57
|
+
/******/ })();
|
|
58
|
+
/******/
|
|
59
|
+
/************************************************************************/ var t = {};
|
|
60
|
+
// ESM COMPAT FLAG
|
|
61
|
+
e.r(t);
|
|
62
|
+
// EXPORTS
|
|
63
|
+
e.d(t, {
|
|
64
|
+
default: () => /* binding */ s
|
|
65
|
+
});
|
|
66
|
+
// CONCATENATED MODULE: external "react"
|
|
67
|
+
const r = require("react");
|
|
68
|
+
var n = e.n(r);
|
|
69
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/SVG"
|
|
70
|
+
const a = require("@splunk/react-icons/SVG");
|
|
71
|
+
var l = e.n(a);
|
|
72
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/IconProvider"
|
|
73
|
+
const o = require("@splunk/react-icons/IconProvider");
|
|
74
|
+
// CONCATENATED MODULE: ./src/icons/WindowGlobe.tsx
|
|
75
|
+
function u(e, t) {
|
|
76
|
+
if (e == null) return {};
|
|
77
|
+
var r = C(e, t);
|
|
78
|
+
var n, a;
|
|
79
|
+
if (Object.getOwnPropertySymbols) {
|
|
80
|
+
var l = Object.getOwnPropertySymbols(e);
|
|
81
|
+
for (a = 0; a < l.length; a++) {
|
|
82
|
+
n = l[a];
|
|
83
|
+
if (t.indexOf(n) >= 0) continue;
|
|
84
|
+
if (!Object.prototype.propertyIsEnumerable.call(e, n)) continue;
|
|
85
|
+
r[n] = e[n];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return r;
|
|
89
|
+
}
|
|
90
|
+
function C(e, t) {
|
|
91
|
+
if (e == null) return {};
|
|
92
|
+
var r = {};
|
|
93
|
+
var n = Object.keys(e);
|
|
94
|
+
var a, l;
|
|
95
|
+
for (l = 0; l < n.length; l++) {
|
|
96
|
+
a = n[l];
|
|
97
|
+
if (t.indexOf(a) >= 0) continue;
|
|
98
|
+
r[a] = e[a];
|
|
99
|
+
}
|
|
100
|
+
return r;
|
|
101
|
+
}
|
|
102
|
+
var c = {
|
|
103
|
+
variant: "default"
|
|
104
|
+
};
|
|
105
|
+
var i = new Map;
|
|
106
|
+
i.set("outlined", (function() {
|
|
107
|
+
|
|
108
|
+
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
109
|
+
fillRule: "evenodd",
|
|
110
|
+
clipRule: "evenodd",
|
|
111
|
+
d: "M12.0002 8.2C9.62537 8.2 7.7002 10.1252 7.7002 12.5C7.7002 14.8748 9.62537 16.8 12.0002 16.8C14.375 16.8 16.3002 14.8748 16.3002 12.5C16.3002 10.1252 14.375 8.2 12.0002 8.2ZM9.3729 11.875C9.52752 11.2226 9.91889 10.6617 10.4513 10.2882C10.3365 10.7591 10.2592 11.299 10.2267 11.875H9.3729ZM9.3729 13.125C9.52752 13.7774 9.91889 14.3383 10.4513 14.7118C10.3365 14.2409 10.2592 13.7009 10.2267 13.125H9.3729ZM11.4789 13.125C11.521 13.7816 11.6274 14.353 11.7688 14.7772C11.8288 14.9573 11.8905 15.0966 11.9476 15.1995C11.9651 15.1998 11.9826 15.2 12.0002 15.2C12.0182 15.2 12.0362 15.1998 12.0541 15.1995C12.1112 15.0966 12.1729 14.9572 12.2329 14.7772C12.3743 14.353 12.4807 13.7816 12.5228 13.125H11.4789ZM13.775 13.125C13.7425 13.7005 13.6653 14.24 13.5507 14.7107C14.0823 14.3372 14.473 13.7768 14.6275 13.125H13.775ZM14.6275 11.875H13.775C13.7425 11.2995 13.6653 10.76 13.5507 10.2893C14.0823 10.6628 14.473 11.2232 14.6275 11.875ZM12.5228 11.875H11.4789C11.521 11.2184 11.6274 10.647 11.7688 10.2228C11.8288 10.0427 11.8905 9.90336 11.9476 9.8005C11.9651 9.80016 11.9826 9.8 12.0002 9.8C12.0182 9.8 12.0362 9.80017 12.0541 9.80052C12.1112 9.90338 12.1729 10.0428 12.2329 10.2228C12.3743 10.647 12.4807 11.2184 12.5228 11.875Z"
|
|
112
|
+
}), n().createElement("path", {
|
|
113
|
+
fillRule: "evenodd",
|
|
114
|
+
clipRule: "evenodd",
|
|
115
|
+
d: "M5.5 4C4.11929 4 3 5.11929 3 6.5V17.5C3 18.8807 4.11929 20 5.5 20H18.5C19.8807 20 21 18.8807 21 17.5V6.5C21 5.11929 19.8807 4 18.5 4H5.5ZM5 7H19V17.5C19 17.7761 18.7761 18 18.5 18H5.5C5.22386 18 5 17.7761 5 17.5V7Z"
|
|
116
|
+
}));
|
|
117
|
+
}));
|
|
118
|
+
i.set("filled", (function() {
|
|
119
|
+
|
|
120
|
+
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
121
|
+
d: "M10.4513 10.2882C9.91889 10.6617 9.52752 11.2226 9.3729 11.875H10.2267C10.2592 11.299 10.3365 10.7591 10.4513 10.2882Z"
|
|
122
|
+
}), n().createElement("path", {
|
|
123
|
+
d: "M10.4513 14.7118C9.91889 14.3383 9.52752 13.7774 9.3729 13.125H10.2267C10.2592 13.7009 10.3365 14.2409 10.4513 14.7118Z"
|
|
124
|
+
}), n().createElement("path", {
|
|
125
|
+
d: "M11.7688 14.7772C11.6274 14.353 11.521 13.7816 11.4789 13.125H12.5228C12.4807 13.7816 12.3743 14.353 12.2329 14.7772C12.1729 14.9572 12.1112 15.0966 12.0541 15.1995C12.0362 15.1998 12.0182 15.2 12.0002 15.2C11.9826 15.2 11.9651 15.1998 11.9476 15.1995C11.8905 15.0966 11.8288 14.9573 11.7688 14.7772Z"
|
|
126
|
+
}), n().createElement("path", {
|
|
127
|
+
d: "M13.5507 14.7107C13.6653 14.24 13.7425 13.7005 13.775 13.125H14.6275C14.473 13.7768 14.0823 14.3372 13.5507 14.7107Z"
|
|
128
|
+
}), n().createElement("path", {
|
|
129
|
+
d: "M13.775 11.875H14.6275C14.473 11.2232 14.0823 10.6628 13.5507 10.2893C13.6653 10.76 13.7425 11.2995 13.775 11.875Z"
|
|
130
|
+
}), n().createElement("path", {
|
|
131
|
+
d: "M11.4789 11.875H12.5228C12.4807 11.2184 12.3743 10.647 12.2329 10.2228C12.1729 10.0428 12.1112 9.90338 12.0541 9.80052C12.0362 9.80017 12.0182 9.8 12.0002 9.8C11.9826 9.8 11.9651 9.80016 11.9476 9.8005C11.8905 9.90336 11.8288 10.0427 11.7688 10.2228C11.6274 10.647 11.521 11.2184 11.4789 11.875Z"
|
|
132
|
+
}), n().createElement("path", {
|
|
133
|
+
fillRule: "evenodd",
|
|
134
|
+
clipRule: "evenodd",
|
|
135
|
+
d: "M3 6.5C3 5.11929 4.11929 4 5.5 4H18.5C19.8807 4 21 5.11929 21 6.5V17.5C21 18.8807 19.8807 20 18.5 20H5.5C4.11929 20 3 18.8807 3 17.5V6.5ZM7.7002 12.5C7.7002 10.1252 9.62537 8.2 12.0002 8.2C14.375 8.2 16.3002 10.1252 16.3002 12.5C16.3002 14.8748 14.375 16.8 12.0002 16.8C9.62537 16.8 7.7002 14.8748 7.7002 12.5Z"
|
|
136
|
+
}));
|
|
137
|
+
}));
|
|
138
|
+
var d = [ "default", "outlined", "filled" ];
|
|
139
|
+
var f = function e(t) {
|
|
140
|
+
return d.indexOf(t) >= 0;
|
|
141
|
+
};
|
|
142
|
+
var v = function e(t) {
|
|
143
|
+
return t === "default" || t && !f(t) ? "outlined" : t;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @description Browser agent, application language
|
|
147
|
+
* @category Objects
|
|
148
|
+
* @keywords earth, application, screen, settings
|
|
149
|
+
* @variants outlined,filled
|
|
150
|
+
*/ var p = function e(t) {
|
|
151
|
+
var a = t.children, C = t.variant, c = u(t, [ "children", "variant" ]);
|
|
152
|
+
var d = v(C);
|
|
153
|
+
var f = "windowglobe-".concat(d);
|
|
154
|
+
var p = (0, r.useContext)(o.IconContext);
|
|
155
|
+
var s = i.get(d);
|
|
156
|
+
if (false) {}
|
|
157
|
+
if (p && s) {
|
|
158
|
+
var m = p.toRender, M = p.addIcon;
|
|
159
|
+
M(f, s());
|
|
160
|
+
if (!m) {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return n().createElement(l(), c, a, p ? n().createElement("use", {
|
|
166
|
+
href: "#".concat(f)
|
|
167
|
+
}) : !!s && s());
|
|
168
|
+
};
|
|
169
|
+
p.defaultProps = c;
|
|
170
|
+
/* harmony default export */ const s = p;
|
|
171
|
+
module.exports = t;
|
|
172
|
+
/******/})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-icons",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Library of various React icons",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Splunk Inc.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"lint": "yarn run eslint && yarn run stylelint",
|
|
18
18
|
"lint:ci": "yarn run eslint:ci && yarn run stylelint",
|
|
19
19
|
"start": "cross-env NODE_ENV=development webpack --watch",
|
|
20
|
-
"storybook": "
|
|
21
|
-
"storybook:visual": "
|
|
20
|
+
"storybook": "sb dev -p 6006",
|
|
21
|
+
"storybook:visual": "sb dev -p 6006 -c .storybook-visual",
|
|
22
22
|
"storybook:test": "node ../../infra/visual-tests/test.js",
|
|
23
23
|
"start:scripts": "tsc -p ./scripts/tsconfig.json --watch",
|
|
24
24
|
"stylelint": "stylelint \"src/**/*.{ts,tsx}\" --config stylelint.config.js",
|
|
@@ -39,14 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@babel/core": "^7.2.0",
|
|
42
|
+
"@babel/plugin-transform-runtime": "^7.18.6",
|
|
42
43
|
"@splunk/babel-preset": "^4.0.0",
|
|
43
44
|
"@splunk/eslint-config": "^4.0.0",
|
|
44
45
|
"@splunk/stylelint-config": "^4.0.0",
|
|
45
46
|
"@splunk/webpack-configs": "^7.0.2",
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/manager-
|
|
48
|
-
"@storybook/react": "^6.
|
|
49
|
-
"@storybook/test-runner": "
|
|
47
|
+
"@storybook/csf-tools": "^7.6.17",
|
|
48
|
+
"@storybook/manager-api": "^7.6.17",
|
|
49
|
+
"@storybook/react-webpack5": "^7.6.17",
|
|
50
|
+
"@storybook/test-runner": "0.16.0",
|
|
50
51
|
"@testing-library/user-event": "^14.4.3",
|
|
51
52
|
"@types/fs-extra": "^9.0.13",
|
|
52
53
|
"@types/jest": "^26.0.0",
|
|
@@ -54,8 +55,8 @@
|
|
|
54
55
|
"@types/react": "^16.9.38",
|
|
55
56
|
"@types/react-dom": "^16.9.8",
|
|
56
57
|
"@types/styled-components": "^5.1.0",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
58
|
-
"@typescript-eslint/parser": "^
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
59
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
59
60
|
"babel-loader": "^8.3.0",
|
|
60
61
|
"babel-plugin-styled-components": "^1.10.7",
|
|
61
62
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
@@ -77,10 +78,11 @@
|
|
|
77
78
|
"react": "^16.12.0",
|
|
78
79
|
"react-dom": "^16.12.0",
|
|
79
80
|
"regenerator-runtime": "^0.13.11",
|
|
81
|
+
"storybook": "^7.6.17",
|
|
80
82
|
"styled-components": "^5.3.10",
|
|
81
83
|
"stylelint": "^13.0.0",
|
|
82
84
|
"svgo": "^3.0.2",
|
|
83
|
-
"typescript": "^4.
|
|
85
|
+
"typescript": "^4.9.5",
|
|
84
86
|
"webpack": "^5.88.2",
|
|
85
87
|
"webpack-cli": "^5.1.4",
|
|
86
88
|
"webpack-dev-server": "^4.15.1",
|
|
@@ -5,6 +5,7 @@ const { getJestConfig } = require('@storybook/test-runner');
|
|
|
5
5
|
module.exports = {
|
|
6
6
|
// The default configuration comes from @storybook/test-runner
|
|
7
7
|
...getJestConfig(),
|
|
8
|
+
rootDir: process.cwd(),
|
|
8
9
|
testMatch: ['**/stories/*.stories.tsx'],
|
|
9
10
|
transform: {
|
|
10
11
|
'^.+\\.stories\\.[jt]sx?$': '@storybook/test-runner/playwright/transform',
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Calculation with operation symbols
|
|
12
|
+
* @category Objects
|
|
13
|
+
* @keywords calculator, computing, operation, math
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const Calculation: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default Calculation;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Calculator icon for calculation action or indicator
|
|
12
|
+
* @category Objects
|
|
13
|
+
* @keywords calculation, computing, operation, math
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const Calculator: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default Calculator;
|
|
@@ -5,13 +5,13 @@ export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
|
5
5
|
/**
|
|
6
6
|
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
7
|
*/
|
|
8
|
-
variant?: 'default' | 'outlined';
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* @description Code, Source represents code or used for viewing source code of visualization
|
|
12
12
|
* @category Data Type
|
|
13
13
|
* @keywords data type, coding, </>
|
|
14
|
-
* @variants outlined
|
|
14
|
+
* @variants outlined,filled
|
|
15
15
|
*/
|
|
16
16
|
declare const ChevronsSlash: {
|
|
17
17
|
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Data storage for Security Lake (Not only for Amazon)
|
|
12
|
+
* @category Data Type
|
|
13
|
+
* @keywords data source, destination, ingest, input
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const CylinderWaves: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default CylinderWaves;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Device(s) of Splunk Edge Hub
|
|
12
|
+
* @category Data Type
|
|
13
|
+
* @keywords monitoring sensors, realtime stream, infrastructure, data source
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const DeviceEdgeHub: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default DeviceEdgeHub;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Severity Lv4 Error (> Warning) [Red] *Use filled style
|
|
12
|
+
* @category Severity
|
|
13
|
+
* @keywords alert, exclamation, notification, caution, warning, error
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const ExclamationTriangleDown: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default ExclamationTriangleDown;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Splunk Documentation, or link to the docs.splunk.com
|
|
12
|
+
* @category Reports
|
|
13
|
+
* @keywords manuals, references, books, guides, products
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const FileChevronRight: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default FileChevronRight;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Numbered list, ordered list, list with numbers for text styling, or view mode
|
|
12
|
+
* @category Layouts
|
|
13
|
+
* @keywords rich text, edit, format, priority, steps
|
|
14
|
+
* @variants outlined
|
|
15
|
+
*/
|
|
16
|
+
declare const ListNumbered: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default ListNumbered;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* @variants outlined
|
|
15
|
+
*/
|
|
16
|
+
declare const QuotationDouble: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default QuotationDouble;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Security represent, category, protection, anti-virus
|
|
12
|
+
* @category Objects
|
|
13
|
+
* @keywords block cyber attack
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const Shield: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default Shield;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Text box align to bottom
|
|
12
|
+
* @category Formatting
|
|
13
|
+
* @keywords edit, field, cell, textarea, alignment
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const TextAlignBottom: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default TextAlignBottom;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SVG from '@splunk/react-icons/SVG';
|
|
3
|
+
export interface IconBaseProps extends React.ComponentProps<typeof SVG> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Defaults to outlined, determines the variant of the icon to be rendered
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description Text box align to horizontal center
|
|
12
|
+
* @category Formatting
|
|
13
|
+
* @keywords edit, field, cell, textarea, alignment
|
|
14
|
+
* @variants outlined,filled
|
|
15
|
+
*/
|
|
16
|
+
declare const TextAlignCenter: {
|
|
17
|
+
({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
|
|
18
|
+
defaultProps: IconBaseProps;
|
|
19
|
+
};
|
|
20
|
+
export default TextAlignCenter;
|