@splunk/react-icons 4.10.0 → 4.11.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/CHANGELOG.md +5 -2
- package/Keyboard.d.ts +2 -0
- package/Keyboard.js +175 -0
- package/MapUSA.js +2 -2
- package/package.json +1 -1
- package/types/icons/Keyboard.d.ts +19 -0
package/CHANGELOG.md
CHANGED
package/Keyboard.d.ts
ADDED
package/Keyboard.js
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
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 C = t && t.__esModule ?
|
|
13
|
+
/******/ () => t["default"]
|
|
14
|
+
/******/ : () => t
|
|
15
|
+
/******/;
|
|
16
|
+
e.d(C, {
|
|
17
|
+
a: C
|
|
18
|
+
});
|
|
19
|
+
/******/ return C;
|
|
20
|
+
/******/ };
|
|
21
|
+
/******/ })();
|
|
22
|
+
/******/
|
|
23
|
+
/******/ /* webpack/runtime/define property getters */
|
|
24
|
+
/******/ (() => {
|
|
25
|
+
/******/ // define getter functions for harmony exports
|
|
26
|
+
/******/ e.d = (t, C) => {
|
|
27
|
+
/******/ for (var r in C) {
|
|
28
|
+
/******/ if (e.o(C, r) && !e.o(t, r)) {
|
|
29
|
+
/******/ Object.defineProperty(t, r, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: C[r]
|
|
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 */ f
|
|
65
|
+
});
|
|
66
|
+
// CONCATENATED MODULE: external "react"
|
|
67
|
+
const C = require("react");
|
|
68
|
+
var r = e.n(C);
|
|
69
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/SVG"
|
|
70
|
+
const n = require("@splunk/react-icons/SVG");
|
|
71
|
+
var a = e.n(n);
|
|
72
|
+
// CONCATENATED MODULE: external "@splunk/react-icons/IconProvider"
|
|
73
|
+
const l = require("@splunk/react-icons/IconProvider");
|
|
74
|
+
// CONCATENATED MODULE: ./src/icons/Keyboard.tsx
|
|
75
|
+
function o(e, t) {
|
|
76
|
+
if (null == e) return {};
|
|
77
|
+
var C, r, n = c(e, t);
|
|
78
|
+
if (Object.getOwnPropertySymbols) {
|
|
79
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
80
|
+
for (r = 0; r < a.length; r++) {
|
|
81
|
+
C = a[r], t.includes(C) || {}.propertyIsEnumerable.call(e, C) && (n[C] = e[C]);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return n;
|
|
85
|
+
}
|
|
86
|
+
function c(e, t) {
|
|
87
|
+
if (null == e) return {};
|
|
88
|
+
var C = {};
|
|
89
|
+
for (var r in e) {
|
|
90
|
+
if ({}.hasOwnProperty.call(e, r)) {
|
|
91
|
+
if (t.includes(r)) continue;
|
|
92
|
+
C[r] = e[r];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return C;
|
|
96
|
+
}
|
|
97
|
+
var V = new Map;
|
|
98
|
+
V.set("outlined", (function() {
|
|
99
|
+
|
|
100
|
+
return r().createElement(r().Fragment, null, r().createElement("path", {
|
|
101
|
+
fillRule: "evenodd",
|
|
102
|
+
clipRule: "evenodd",
|
|
103
|
+
d: "M1 5.5C1 4.67157 1.67157 4 2.5 4H21.5C22.3284 4 23 4.67157 23 5.5V18.5C23 19.3284 22.3284 20 21.5 20H2.5C1.67157 20 1 19.3284 1 18.5V5.5ZM3 6V18H21V6H3Z"
|
|
104
|
+
}), r().createElement("path", {
|
|
105
|
+
d: "M5 8.2C5 8.08954 5.08954 8 5.2 8H6.8C6.91046 8 7 8.08954 7 8.2V9.8C7 9.91046 6.91046 10 6.8 10H5.2C5.08954 10 5 9.91046 5 9.8V8.2Z"
|
|
106
|
+
}), r().createElement("path", {
|
|
107
|
+
d: "M5 11.2C5 11.0895 5.08954 11 5.2 11H6.8C6.91046 11 7 11.0895 7 11.2V12.8C7 12.9105 6.91046 13 6.8 13H5.2C5.08954 13 5 12.9105 5 12.8V11.2Z"
|
|
108
|
+
}), r().createElement("path", {
|
|
109
|
+
d: "M5 14.2C5 14.0895 5.08954 14 5.2 14H6.8C6.91046 14 7 14.0895 7 14.2V15.8C7 15.9105 6.91046 16 6.8 16H5.2C5.08954 16 5 15.9105 5 15.8V14.2Z"
|
|
110
|
+
}), r().createElement("path", {
|
|
111
|
+
d: "M8 8.2C8 8.08954 8.08954 8 8.2 8H9.8C9.91046 8 10 8.08954 10 8.2V9.8C10 9.91046 9.91046 10 9.8 10H8.2C8.08954 10 8 9.91046 8 9.8V8.2Z"
|
|
112
|
+
}), r().createElement("path", {
|
|
113
|
+
d: "M8 11.2C8 11.0895 8.08954 11 8.2 11H9.8C9.91046 11 10 11.0895 10 11.2V12.8C10 12.9105 9.91046 13 9.8 13H8.2C8.08954 13 8 12.9105 8 12.8V11.2Z"
|
|
114
|
+
}), r().createElement("path", {
|
|
115
|
+
d: "M8 14.2C8 14.0895 8.08954 14 8.2 14H15.8C15.9105 14 16 14.0895 16 14.2V15.8C16 15.9105 15.9105 16 15.8 16H8.2C8.08954 16 8 15.9105 8 15.8V14.2Z"
|
|
116
|
+
}), r().createElement("path", {
|
|
117
|
+
d: "M11 8.2C11 8.08954 11.0895 8 11.2 8H12.8C12.9105 8 13 8.08954 13 8.2V9.8C13 9.91046 12.9105 10 12.8 10H11.2C11.0895 10 11 9.91046 11 9.8V8.2Z"
|
|
118
|
+
}), r().createElement("path", {
|
|
119
|
+
d: "M11 11.2C11 11.0895 11.0895 11 11.2 11H12.8C12.9105 11 13 11.0895 13 11.2V12.8C13 12.9105 12.9105 13 12.8 13H11.2C11.0895 13 11 12.9105 11 12.8V11.2Z"
|
|
120
|
+
}), r().createElement("path", {
|
|
121
|
+
d: "M14 8.2C14 8.08954 14.0895 8 14.2 8H15.8C15.9105 8 16 8.08954 16 8.2V9.8C16 9.91046 15.9105 10 15.8 10H14.2C14.0895 10 14 9.91046 14 9.8V8.2Z"
|
|
122
|
+
}), r().createElement("path", {
|
|
123
|
+
d: "M14 11.2C14 11.0895 14.0895 11 14.2 11H15.8C15.9105 11 16 11.0895 16 11.2V12.8C16 12.9105 15.9105 13 15.8 13H14.2C14.0895 13 14 12.9105 14 12.8V11.2Z"
|
|
124
|
+
}), r().createElement("path", {
|
|
125
|
+
d: "M17 8.2C17 8.08954 17.0895 8 17.2 8H18.8C18.9105 8 19 8.08954 19 8.2V9.8C19 9.91046 18.9105 10 18.8 10H17.2C17.0895 10 17 9.91046 17 9.8V8.2Z"
|
|
126
|
+
}), r().createElement("path", {
|
|
127
|
+
d: "M17 11.2C17 11.0895 17.0895 11 17.2 11H18.8C18.9105 11 19 11.0895 19 11.2V12.8C19 12.9105 18.9105 13 18.8 13H17.2C17.0895 13 17 12.9105 17 12.8V11.2Z"
|
|
128
|
+
}), r().createElement("path", {
|
|
129
|
+
d: "M17 14.2C17 14.0895 17.0895 14 17.2 14H18.8C18.9105 14 19 14.0895 19 14.2V15.8C19 15.9105 18.9105 16 18.8 16H17.2C17.0895 16 17 15.9105 17 15.8V14.2Z"
|
|
130
|
+
}));
|
|
131
|
+
}));
|
|
132
|
+
V.set("filled", (function() {
|
|
133
|
+
|
|
134
|
+
return r().createElement(r().Fragment, null, r().createElement("path", {
|
|
135
|
+
fillRule: "evenodd",
|
|
136
|
+
clipRule: "evenodd",
|
|
137
|
+
d: "M1 5.5C1 4.67157 1.67157 4 2.5 4H21.5C22.3284 4 23 4.67157 23 5.5V18.5C23 19.3284 22.3284 20 21.5 20H2.5C1.67157 20 1 19.3284 1 18.5V5.5ZM5 8.2C5 8.08954 5.08954 8 5.2 8H6.8C6.91046 8 7 8.08954 7 8.2V9.8C7 9.91046 6.91046 10 6.8 10H5.2C5.08954 10 5 9.91046 5 9.8V8.2ZM5 11.2C5 11.0895 5.08954 11 5.2 11H6.8C6.91046 11 7 11.0895 7 11.2V12.8C7 12.9105 6.91046 13 6.8 13H5.2C5.08954 13 5 12.9105 5 12.8V11.2ZM5.2 14C5.08954 14 5 14.0895 5 14.2V15.8C5 15.9105 5.08954 16 5.2 16H6.8C6.91046 16 7 15.9105 7 15.8V14.2C7 14.0895 6.91046 14 6.8 14H5.2ZM8 8.2C8 8.08954 8.08954 8 8.2 8H9.8C9.91046 8 10 8.08954 10 8.2V9.8C10 9.91046 9.91046 10 9.8 10H8.2C8.08954 10 8 9.91046 8 9.8V8.2ZM8.2 11C8.08954 11 8 11.0895 8 11.2V12.8C8 12.9105 8.08954 13 8.2 13H9.8C9.91046 13 10 12.9105 10 12.8V11.2C10 11.0895 9.91046 11 9.8 11H8.2ZM8 14.2C8 14.0895 8.08954 14 8.2 14H15.8C15.9105 14 16 14.0895 16 14.2V15.8C16 15.9105 15.9105 16 15.8 16H8.2C8.08954 16 8 15.9105 8 15.8V14.2ZM11.2 8C11.0895 8 11 8.08954 11 8.2V9.8C11 9.91046 11.0895 10 11.2 10H12.8C12.9105 10 13 9.91046 13 9.8V8.2C13 8.08954 12.9105 8 12.8 8H11.2ZM11 11.2C11 11.0895 11.0895 11 11.2 11H12.8C12.9105 11 13 11.0895 13 11.2V12.8C13 12.9105 12.9105 13 12.8 13H11.2C11.0895 13 11 12.9105 11 12.8V11.2ZM14.2 8C14.0895 8 14 8.08954 14 8.2V9.8C14 9.91046 14.0895 10 14.2 10H15.8C15.9105 10 16 9.91046 16 9.8V8.2C16 8.08954 15.9105 8 15.8 8H14.2ZM14 11.2C14 11.0895 14.0895 11 14.2 11H15.8C15.9105 11 16 11.0895 16 11.2V12.8C16 12.9105 15.9105 13 15.8 13H14.2C14.0895 13 14 12.9105 14 12.8V11.2ZM17.2 8C17.0895 8 17 8.08954 17 8.2V9.8C17 9.91046 17.0895 10 17.2 10H18.8C18.9105 10 19 9.91046 19 9.8V8.2C19 8.08954 18.9105 8 18.8 8H17.2ZM17 11.2C17 11.0895 17.0895 11 17.2 11H18.8C18.9105 11 19 11.0895 19 11.2V12.8C19 12.9105 18.9105 13 18.8 13H17.2C17.0895 13 17 12.9105 17 12.8V11.2ZM17.2 14C17.0895 14 17 14.0895 17 14.2V15.8C17 15.9105 17.0895 16 17.2 16H18.8C18.9105 16 19 15.9105 19 15.8V14.2C19 14.0895 18.9105 14 18.8 14H17.2Z"
|
|
138
|
+
}));
|
|
139
|
+
}));
|
|
140
|
+
var H = [ "default", "outlined", "filled" ];
|
|
141
|
+
var u = function e(t) {
|
|
142
|
+
return H.indexOf(t) >= 0;
|
|
143
|
+
};
|
|
144
|
+
var d = function e(t) {
|
|
145
|
+
return t === "default" || t && !u(t) ? "outlined" : t;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* @description PC keyboard input, method of input type
|
|
149
|
+
Object
|
|
150
|
+
edit, type, device, language
|
|
151
|
+
*
|
|
152
|
+
*
|
|
153
|
+
* @variants outlined,filled
|
|
154
|
+
*/ var i = function e(t) {
|
|
155
|
+
var n = t.children, c = t.variant, H = c === void 0 ? "default" : c, u = o(t, [ "children", "variant" ]);
|
|
156
|
+
var i = d(H);
|
|
157
|
+
var f = "keyboard-".concat(i);
|
|
158
|
+
var p = (0, C.useContext)(l.IconContext);
|
|
159
|
+
var M = V.get(i);
|
|
160
|
+
if (false) {}
|
|
161
|
+
if (p && M) {
|
|
162
|
+
var v = p.toRender, m = p.addIcon;
|
|
163
|
+
m(f, M());
|
|
164
|
+
if (!v) {
|
|
165
|
+
return null;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
return r().createElement(a(), u, n, p ? r().createElement("use", {
|
|
170
|
+
href: "#".concat(f)
|
|
171
|
+
}) : !!M && M());
|
|
172
|
+
};
|
|
173
|
+
/* harmony default export */ const f = i;
|
|
174
|
+
module.exports = t;
|
|
175
|
+
/******/})();
|
package/MapUSA.js
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
101
101
|
fillRule: "evenodd",
|
|
102
102
|
clipRule: "evenodd",
|
|
103
|
-
d: "M21.
|
|
103
|
+
d: "M21.0886 6.53841C21.7224 5.74619 23 6.19434 23 7.20888V7.47877C23 7.63268 22.9677 7.78488 22.9052 7.92552L20.9191 12.3944C20.8808 12.4804 20.8317 12.5612 20.7728 12.6348L18.808 15.0908L18.1034 16.1478L18.6606 17.8195C19.0763 19.0666 17.3501 19.8605 16.6738 18.7333L15.7999 17.2768C14.4061 16.6773 12.8086 16.7768 11.5 17.5446V17.8523C11.5 18.6305 10.714 19.1626 9.99148 18.8736L7.6559 17.9394L6.54355 17.5686C5.41452 17.1923 4.22141 17 3.02964 17C2.61557 17 2.23538 16.7545 2.06925 16.3668L1.24044 14.4329C0.712351 13.2007 0.705315 11.8073 1.22094 10.5698C1.51248 9.87008 1.52661 9.08561 1.26045 8.37587L1.07705 7.88679C0.825426 7.21581 1.32143 6.50003 2.03807 6.50003L13.3893 6.5C14.4919 6.49999 15.5637 6.86448 16.4377 7.53674L18.2067 8.89737C19.1026 8.58728 19.8959 8.02933 20.4919 7.28433L21.0886 6.53841ZM19.5742 10.4958C19.157 10.6936 18.719 10.851 18.2659 10.9643C17.9549 11.0421 17.6254 10.9734 17.3712 10.778L15.2183 9.12204C14.6939 8.71869 14.0509 8.49999 13.3893 8.5L3.36411 8.50002C3.54299 9.449 3.44325 10.4362 3.06709 11.339C2.75929 12.0777 2.76349 12.9095 3.07873 13.6451L3.66603 15.0155C4.85792 15.0734 6.04299 15.2936 7.17601 15.6712L8.34411 16.0606L9.60239 16.5639C9.6802 16.4041 9.79977 16.265 9.95219 16.1634L10.158 16.0261C11.972 14.8168 14.2424 14.5626 16.2598 15.3076L17.192 13.9092L19.1386 11.476L19.5742 10.4958Z"
|
|
104
104
|
}));
|
|
105
105
|
}));
|
|
106
106
|
c.set("filled", (function() {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
return n().createElement(n().Fragment, null, n().createElement("path", {
|
|
109
109
|
fillRule: "evenodd",
|
|
110
110
|
clipRule: "evenodd",
|
|
111
|
-
d: "M21.
|
|
111
|
+
d: "M21.0886 6.53841C21.7224 5.74619 23 6.19434 23 7.20888V7.47877C23 7.63268 22.9677 7.78488 22.9052 7.92552L20.9191 12.3944C20.8808 12.4804 20.8317 12.5612 20.7728 12.6348L18.808 15.0908L18.1034 16.1478L18.6606 17.8195C19.0763 19.0666 17.3501 19.8605 16.6738 18.7333L15.7999 17.2768C14.4061 16.6773 12.8086 16.7768 11.5 17.5446V17.8523C11.5 18.6305 10.714 19.1626 9.99148 18.8736L7.6559 17.9394L6.54355 17.5686C5.41452 17.1923 4.22141 17 3.02964 17C2.61557 17 2.23538 16.7545 2.06925 16.3668L1.24044 14.4329C0.712351 13.2007 0.705315 11.8073 1.22094 10.5698C1.51248 9.87008 1.52661 9.08561 1.26045 8.37587L1.07705 7.88679C0.825426 7.21581 1.32143 6.50003 2.03807 6.50003L13.3893 6.5C14.4919 6.49999 15.5637 6.86448 16.4377 7.53674L18.2067 8.89737C19.1026 8.58728 19.8959 8.02933 20.4919 7.28433L21.0886 6.53841Z"
|
|
112
112
|
}));
|
|
113
113
|
}));
|
|
114
114
|
var d = [ "default", "outlined", "filled" ];
|
package/package.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
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 PC keyboard input, method of input type
|
|
12
|
+
Object
|
|
13
|
+
edit, type, device, language
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @variants outlined,filled
|
|
17
|
+
*/
|
|
18
|
+
declare const Keyboard: ({ children, variant, ...otherprops }: IconBaseProps) => JSX.Element | null;
|
|
19
|
+
export default Keyboard;
|