@splunk/react-icons 4.4.0 → 4.5.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.
Files changed (65) hide show
  1. package/ArrowTriangleDown.js +12 -10
  2. package/ArrowTriangleLeft.js +22 -20
  3. package/ArrowTriangleRight.js +22 -20
  4. package/ArrowTriangleUp.js +22 -20
  5. package/CHANGELOG.md +20 -0
  6. package/Calculation.d.ts +2 -0
  7. package/Calculation.js +168 -0
  8. package/Calculator.d.ts +2 -0
  9. package/Calculator.js +156 -0
  10. package/ChevronsSlash.js +60 -50
  11. package/Containership.js +1 -1
  12. package/CylinderWaves.d.ts +2 -0
  13. package/CylinderWaves.js +160 -0
  14. package/DeviceEdgeHub.d.ts +2 -0
  15. package/DeviceEdgeHub.js +162 -0
  16. package/ExclamationTriangle.js +6 -6
  17. package/ExclamationTriangleDown.d.ts +2 -0
  18. package/ExclamationTriangleDown.js +160 -0
  19. package/FileChevronRight.d.ts +2 -0
  20. package/FileChevronRight.js +158 -0
  21. package/Hammer.js +2 -2
  22. package/HotAirBalloon.js +2 -2
  23. package/IconProvider.d.ts +1 -1
  24. package/Lightning.js +1 -1
  25. package/SVG.d.ts +3 -3
  26. package/SVGEnterprise.d.ts +5 -5
  27. package/Scissors.js +2 -2
  28. package/Shield.d.ts +2 -0
  29. package/Shield.js +158 -0
  30. package/Snowflake.js +1 -1
  31. package/TextAlignBottom.d.ts +2 -0
  32. package/TextAlignBottom.js +156 -0
  33. package/TextAlignCenter.d.ts +2 -0
  34. package/TextAlignCenter.js +160 -0
  35. package/TextAlignLeft.d.ts +2 -0
  36. package/TextAlignLeft.js +160 -0
  37. package/TextAlignRight.d.ts +2 -0
  38. package/TextAlignRight.js +160 -0
  39. package/TextAlignTop.d.ts +2 -0
  40. package/TextAlignTop.js +156 -0
  41. package/TextAlignVerticalCenter.d.ts +2 -0
  42. package/TextAlignVerticalCenter.js +158 -0
  43. package/TextDirectionMinus45.js +2 -2
  44. package/Triangle.js +22 -20
  45. package/TriangleDown.js +156 -0
  46. package/WindowGlobe.d.ts +2 -0
  47. package/WindowGlobe.js +172 -0
  48. package/package.json +12 -10
  49. package/test-runner-jest.config.js +1 -0
  50. package/types/icons/Calculation.d.ts +20 -0
  51. package/types/icons/Calculator.d.ts +20 -0
  52. package/types/icons/ChevronsSlash.d.ts +2 -2
  53. package/types/icons/CylinderWaves.d.ts +20 -0
  54. package/types/icons/DeviceEdgeHub.d.ts +20 -0
  55. package/types/icons/ExclamationTriangleDown.d.ts +20 -0
  56. package/types/icons/FileChevronRight.d.ts +20 -0
  57. package/types/icons/Shield.d.ts +20 -0
  58. package/types/icons/TextAlignBottom.d.ts +20 -0
  59. package/types/icons/TextAlignCenter.d.ts +20 -0
  60. package/types/icons/TextAlignLeft.d.ts +20 -0
  61. package/types/icons/TextAlignRight.d.ts +20 -0
  62. package/types/icons/TextAlignTop.d.ts +20 -0
  63. package/types/icons/TextAlignVerticalCenter.d.ts +20 -0
  64. package/types/icons/TriangleDown.d.ts +20 -0
  65. package/types/icons/WindowGlobe.d.ts +20 -0
package/Triangle.js CHANGED
@@ -68,18 +68,18 @@
68
68
  var n = e.n(t);
69
69
  // CONCATENATED MODULE: external "@splunk/react-icons/SVG"
70
70
  const a = require("@splunk/react-icons/SVG");
71
- var o = e.n(a);
71
+ var l = e.n(a);
72
72
  // CONCATENATED MODULE: external "@splunk/react-icons/IconProvider"
73
- const l = require("@splunk/react-icons/IconProvider");
73
+ const o = require("@splunk/react-icons/IconProvider");
74
74
  // CONCATENATED MODULE: ./src/icons/Triangle.tsx
75
75
  function u(e, r) {
76
76
  if (e == null) return {};
77
77
  var t = i(e, r);
78
78
  var n, a;
79
79
  if (Object.getOwnPropertySymbols) {
80
- var o = Object.getOwnPropertySymbols(e);
81
- for (a = 0; a < o.length; a++) {
82
- n = o[a];
80
+ var l = Object.getOwnPropertySymbols(e);
81
+ for (a = 0; a < l.length; a++) {
82
+ n = l[a];
83
83
  if (r.indexOf(n) >= 0) continue;
84
84
  if (!Object.prototype.propertyIsEnumerable.call(e, n)) continue;
85
85
  t[n] = e[n];
@@ -91,9 +91,9 @@
91
91
  if (e == null) return {};
92
92
  var t = {};
93
93
  var n = Object.keys(e);
94
- var a, o;
95
- for (o = 0; o < n.length; o++) {
96
- a = n[o];
94
+ var a, l;
95
+ for (l = 0; l < n.length; l++) {
96
+ a = n[l];
97
97
  if (r.indexOf(a) >= 0) continue;
98
98
  t[a] = e[a];
99
99
  }
@@ -102,24 +102,26 @@
102
102
  var c = {
103
103
  variant: "default"
104
104
  };
105
- var f = new Map;
106
- f.set("outlined", (function() {
105
+ var d = new Map;
106
+ d.set("outlined", (function() {
107
107
 
108
108
  return n().createElement(n().Fragment, null, n().createElement("path", {
109
109
  fillRule: "evenodd",
110
110
  clipRule: "evenodd",
111
- d: "M11.9999 5.03972L4.70979 18H19.2901L11.9999 5.03972ZM10.4747 3.67183C11.1437 2.48244 12.8562 2.48243 13.5252 3.67183L21.2428 17.392C21.899 18.5586 21.056 20 19.7176 20H4.28233C2.94388 20 2.10089 18.5586 2.75708 17.392L10.4747 3.67183Z"
111
+ d: "M10.701 3.75C11.2783 2.75 12.7217 2.75 13.2991 3.75L21.9593 18.75C22.5367 19.75 21.815 21 20.6603 21H3.33976C2.18507 21 1.46337 19.75 2.04072 18.75L10.701 3.75ZM12 5.5L4.20579 19H19.7942L12 5.5Z"
112
112
  }));
113
113
  }));
114
- f.set("filled", (function() {
114
+ d.set("filled", (function() {
115
115
 
116
116
  return n().createElement(n().Fragment, null, n().createElement("path", {
117
- d: "M13.5252 3.67232C12.8562 2.48292 11.1437 2.48293 10.4747 3.67232L2.75708 17.3925C2.10089 18.5591 2.94388 20.0005 4.28233 20.0005H19.7176C21.056 20.0005 21.899 18.5591 21.2428 17.3925L13.5252 3.67232Z"
117
+ fillRule: "evenodd",
118
+ clipRule: "evenodd",
119
+ d: "M10.701 3.75C11.2783 2.75 12.7217 2.75 13.2991 3.75L21.9593 18.75C22.5367 19.75 21.815 21 20.6603 21H3.33976C2.18507 21 1.46337 19.75 2.04072 18.75L10.701 3.75Z"
118
120
  }));
119
121
  }));
120
- var d = [ "default", "outlined", "filled" ];
122
+ var f = [ "default", "outlined", "filled" ];
121
123
  var v = function e(r) {
122
- return d.indexOf(r) >= 0;
124
+ return f.indexOf(r) >= 0;
123
125
  };
124
126
  var s = function e(r) {
125
127
  return r === "default" || r && !v(r) ? "outlined" : r;
@@ -131,10 +133,10 @@
131
133
  * @variants outlined,filled
132
134
  */ var p = function e(r) {
133
135
  var a = r.children, i = r.variant, c = u(r, [ "children", "variant" ]);
134
- var d = s(i);
135
- var v = "triangle-".concat(d);
136
- var p = (0, t.useContext)(l.IconContext);
137
- var m = f.get(d);
136
+ var f = s(i);
137
+ var v = "triangle-".concat(f);
138
+ var p = (0, t.useContext)(o.IconContext);
139
+ var m = d.get(f);
138
140
  if (false) {}
139
141
  if (p && m) {
140
142
  var y = p.toRender, b = p.addIcon;
@@ -144,7 +146,7 @@
144
146
  }
145
147
  }
146
148
 
147
- return n().createElement(o(), c, a, p ? n().createElement("use", {
149
+ return n().createElement(l(), c, a, p ? n().createElement("use", {
148
150
  href: "#".concat(v)
149
151
  }) : !!m && m());
150
152
  };
@@ -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
+ /******/})();
@@ -0,0 +1,2 @@
1
+ export { default } from './types/icons/WindowGlobe';
2
+ export * from './types/icons/WindowGlobe';
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.4.0",
3
+ "version": "4.5.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": "start-storybook -p 6006 -c .storybook",
21
- "storybook:visual": "start-storybook -p 6006 -c .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/builder-webpack5": "^6.5.9",
47
- "@storybook/manager-webpack5": "^6.5.9",
48
- "@storybook/react": "^6.5.9",
49
- "@storybook/test-runner": "^0.9.0",
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": "^4.8.2",
58
- "@typescript-eslint/parser": "^4.8.2",
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.0.5",
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' | '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;