@splunk/react-icons 4.0.0 → 4.0.1

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 (204) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/CylinderPie.js +9 -2
  3. package/Filter.js +2 -2
  4. package/FilterMinus.js +2 -2
  5. package/FilterPlus.js +2 -2
  6. package/Fingerprint.js +2 -2
  7. package/Flag.js +2 -2
  8. package/Flame.js +2 -2
  9. package/Flashlight.js +2 -2
  10. package/Flask.js +2 -2
  11. package/FloppyDisk.js +2 -2
  12. package/Folder.js +2 -2
  13. package/ForwarderHeavy.js +2 -2
  14. package/ForwarderUniversal.js +2 -2
  15. package/Function.js +2 -2
  16. package/GeoTag.js +2 -2
  17. package/GeoTagGroup.js +2 -2
  18. package/Globe.js +2 -2
  19. package/GreaterThan.js +2 -2
  20. package/GreaterThanOrEqualTo.js +2 -2
  21. package/GridLines.js +2 -2
  22. package/Hammer.js +2 -2
  23. package/HandRise.js +2 -2
  24. package/Hash.js +2 -2
  25. package/Headset.js +2 -2
  26. package/HeadsetD.js +2 -2
  27. package/HeadsetS.js +2 -2
  28. package/HeartRibbon.js +2 -2
  29. package/Hexagon.js +2 -2
  30. package/HotAirBalloon.js +2 -2
  31. package/Hourglass.js +2 -2
  32. package/HourglassCircle.js +2 -2
  33. package/HourglassStart.js +2 -2
  34. package/House.js +2 -2
  35. package/HumanBodyCircle.js +2 -2
  36. package/IconProvider.js +1 -1
  37. package/Indexes.js +2 -2
  38. package/Information.js +2 -2
  39. package/InformationCircle.js +2 -2
  40. package/InformationDiamond.js +2 -2
  41. package/InformationHexagon.js +2 -2
  42. package/Key.js +2 -2
  43. package/LaptopOpen.js +2 -2
  44. package/LayersRised.js +2 -2
  45. package/LayersTriple.js +2 -2
  46. package/Layout.js +2 -2
  47. package/LayoutOverview.js +2 -2
  48. package/LayoutPanels.js +2 -2
  49. package/LessThan.js +2 -2
  50. package/LessThanOrEqualTo.js +2 -2
  51. package/Lightbulb.js +2 -2
  52. package/Lightning.js +2 -2
  53. package/Line.js +2 -2
  54. package/LinesThree.js +2 -2
  55. package/List.js +2 -2
  56. package/ListCheck.js +2 -2
  57. package/Lock.js +2 -2
  58. package/LockSquare.js +2 -2
  59. package/LockUnlocked.js +2 -2
  60. package/Magnifier.js +2 -2
  61. package/MagnifierArrowLeftRight.js +2 -2
  62. package/MagnifierChartColumn.js +2 -2
  63. package/MagnifierChartLine.js +2 -2
  64. package/MagnifierClock.js +2 -2
  65. package/MagnifierCross.js +2 -2
  66. package/MagnifierMinus.js +2 -2
  67. package/MagnifierPlus.js +2 -2
  68. package/MagnifierText.js +2 -2
  69. package/MagnifierUnderline.js +2 -2
  70. package/MagnifierWithPlus.js +2 -2
  71. package/Markdown.js +2 -2
  72. package/MeshRandom.js +2 -2
  73. package/Metrics.js +2 -2
  74. package/Minus.js +2 -2
  75. package/MinusCircle.js +2 -2
  76. package/MobilePhone.js +2 -2
  77. package/Monitor.js +2 -2
  78. package/MonitorChartColumn.js +2 -2
  79. package/Moon.js +2 -2
  80. package/Motorcycle.js +2 -2
  81. package/MutipleFolders.js +2 -2
  82. package/NetworkConnector.js +2 -2
  83. package/NetworkDevices.js +2 -2
  84. package/NodeBranch.js +2 -2
  85. package/NodeBranchPlus.js +2 -2
  86. package/NodeConnection.js +2 -2
  87. package/NodeDistributed.js +2 -2
  88. package/NodeFollow.js +2 -2
  89. package/NodeFollowFour.js +2 -2
  90. package/NodeModel.js +2 -2
  91. package/NodeNetwork.js +2 -2
  92. package/NodePathDuration.js +2 -2
  93. package/NodeRulesEngine.js +2 -2
  94. package/NodeRulesets.js +2 -2
  95. package/NodeSplit.js +2 -2
  96. package/NodeStartToEnd.js +2 -2
  97. package/NodeTopology.js +2 -2
  98. package/NodeTree.js +2 -2
  99. package/NotEqualTo.js +2 -2
  100. package/NotePlus.js +2 -2
  101. package/OrganizerNotebook.js +2 -2
  102. package/Paintbrush.js +2 -2
  103. package/Palette.js +2 -2
  104. package/PaperFolded.js +2 -2
  105. package/PaperPlane.js +2 -2
  106. package/Paperclip.js +2 -2
  107. package/ParallelDots.js +2 -2
  108. package/Pencil.js +2 -2
  109. package/PencilCircle.js +2 -2
  110. package/PencilUnderline.js +2 -2
  111. package/PhoneReceiverUp.js +2 -2
  112. package/Picture.js +2 -2
  113. package/Pin.js +2 -2
  114. package/PinStuck.js +2 -2
  115. package/Plus.js +2 -2
  116. package/PlusBalloon.js +2 -2
  117. package/PlusBrackets.js +2 -2
  118. package/PlusCircle.js +2 -2
  119. package/Portrait.js +2 -2
  120. package/PortraitPlus.js +2 -2
  121. package/PortraitsThree.js +2 -2
  122. package/PortraitsTwo.js +2 -2
  123. package/Printer.js +2 -2
  124. package/Processor.js +2 -2
  125. package/ProcessorBus.js +2 -2
  126. package/ProjectorChartColumn.js +2 -2
  127. package/Pulse.js +2 -2
  128. package/Punchcard.d.ts +2 -0
  129. package/{Puchcard.js → Punchcard.js} +6 -6
  130. package/PuzzlePiece.js +2 -2
  131. package/QuestionCircle.js +2 -2
  132. package/RectanglesAndCheck.js +2 -2
  133. package/RectanglesDouble.js +2 -2
  134. package/RectanglesFour.js +2 -2
  135. package/RectanglesWithCornerFrame.js +2 -2
  136. package/Report.js +2 -2
  137. package/RobotAgent.js +2 -2
  138. package/RobotFace.js +2 -2
  139. package/Rocket.js +2 -2
  140. package/SVG.js +1 -1
  141. package/Scissors.js +2 -2
  142. package/Script.js +2 -2
  143. package/Servers.js +2 -2
  144. package/ServersCloud.js +2 -2
  145. package/SeverityInformation.js +2 -2
  146. package/ShapesVariety.js +2 -2
  147. package/Ship.js +2 -2
  148. package/Shoe.js +2 -2
  149. package/SlidersDoubleHorizontal.js +2 -2
  150. package/SlidersTripleHorizontal.js +2 -2
  151. package/Square.js +2 -2
  152. package/SquareAndCorners.js +2 -2
  153. package/SquaresAndCircles.js +2 -2
  154. package/SquaresLayered.js +2 -2
  155. package/SquaresLayeredPlus.js +2 -2
  156. package/Star.js +2 -2
  157. package/Stopwatch.js +2 -2
  158. package/Store.js +2 -2
  159. package/Sun.js +2 -2
  160. package/SuperCar.js +2 -2
  161. package/Table.js +2 -2
  162. package/TableChevron.js +2 -2
  163. package/TableChevronChartLine.js +2 -2
  164. package/TableList.js +2 -2
  165. package/TableSlide.js +2 -2
  166. package/Tablet.js +2 -2
  167. package/TabletLandscape.js +2 -2
  168. package/Tag.js +2 -2
  169. package/Telescope.js +2 -2
  170. package/TextA.js +2 -2
  171. package/TextASmall.js +2 -2
  172. package/TextAa.js +2 -2
  173. package/TextBox.js +2 -2
  174. package/TextDirection45.js +2 -2
  175. package/TextDirection90.js +2 -2
  176. package/TextDirectionMinus45.js +2 -2
  177. package/TextDirectionMinus90.js +2 -2
  178. package/TextDirectionRight.js +2 -2
  179. package/TextT.js +2 -2
  180. package/ThumbsDown.js +2 -2
  181. package/ThumbsUp.js +2 -2
  182. package/TrashCanCross.js +2 -2
  183. package/Treemap.js +2 -2
  184. package/Triangle.js +2 -2
  185. package/TrianglesLayeredDouble.js +2 -2
  186. package/TrianglesLayeredTriple.js +2 -2
  187. package/Truck.js +2 -2
  188. package/UsersSquare.js +2 -2
  189. package/VideoCamera.js +2 -2
  190. package/WindowChevronsSlash.js +2 -2
  191. package/WindowPortrait.js +2 -2
  192. package/Wrench.js +2 -2
  193. package/WrenchCircle.js +2 -2
  194. package/package.json +6 -5
  195. package/test-runner-jest.config.js +1 -1
  196. package/types/icons/CylinderPie.d.ts +2 -2
  197. package/types/icons/{Puchcard.d.ts → Punchcard.d.ts} +2 -2
  198. package/FillFalse.d.ts +0 -2
  199. package/FillFalse.js +0 -197
  200. package/FillTrue.d.ts +0 -2
  201. package/FillTrue.js +0 -197
  202. package/Puchcard.d.ts +0 -2
  203. package/types/icons/FillFalse.d.ts +0 -20
  204. package/types/icons/FillTrue.d.ts +0 -20
package/FillTrue.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { default } from './types/icons/FillTrue';
2
- export * from './types/icons/FillTrue';
package/FillTrue.js DELETED
@@ -1,197 +0,0 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
18
- /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 446);
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ 0:
91
- /***/ (function(module, exports) {
92
-
93
- module.exports = require("react");
94
-
95
- /***/ }),
96
-
97
- /***/ 1:
98
- /***/ (function(module, exports) {
99
-
100
- module.exports = require("@splunk/react-icons/SVG");
101
-
102
- /***/ }),
103
-
104
- /***/ 2:
105
- /***/ (function(module, exports) {
106
-
107
- module.exports = require("@splunk/react-icons/IconProvider");
108
-
109
- /***/ }),
110
-
111
- /***/ 446:
112
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
-
114
- "use strict";
115
- __webpack_require__.r(__webpack_exports__);
116
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
117
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
118
- /* harmony import */ var _splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
119
- /* harmony import */ var _splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_1__);
120
- /* harmony import */ var _splunk_react_icons_IconProvider__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
121
- /* harmony import */ var _splunk_react_icons_IconProvider__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_IconProvider__WEBPACK_IMPORTED_MODULE_2__);
122
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
123
-
124
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
125
-
126
-
127
-
128
-
129
- var defaultProps = {
130
- variant: 'default'
131
- };
132
- var variantMap = new Map();
133
- variantMap.set('outlined', function () {
134
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
135
- fillRule: "evenodd",
136
- clipRule: "evenodd",
137
- d: "M20.0004 4.46607V12.6953C20.0004 13.2884 19.6515 13.826 19.1099 14.0675L10.6271 17.8496C10.2383 18.0229 9.79429 18.0232 9.4053 17.8504L0.892319 14.0678C0.349707 13.8267 0 13.2886 0 12.6949V4.46823L10.015 8.91927L20.0004 4.46607Z"
138
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
139
- d: "M13.0203 1.50235C13.0203 2.33207 11.6751 3.00469 10.0156 3.00469C8.3562 3.00469 7.01095 2.33207 7.01095 1.50235C7.01095 0.672624 8.3562 0 10.0156 0C11.6751 0 13.0203 0.672624 13.0203 1.50235Z"
140
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
141
- d: "M7.01095 3.50548C7.01095 4.3352 5.6657 5.00783 4.00626 5.00783C2.34681 5.00783 1.00156 4.3352 1.00156 3.50548C1.00156 2.67575 2.34681 2.00313 4.00626 2.00313C5.6657 2.00313 7.01095 2.67575 7.01095 3.50548Z"
142
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
143
- d: "M19.0297 3.50551C19.0297 4.33523 17.6845 5.00786 16.025 5.00786C14.3656 5.00786 13.0203 4.33523 13.0203 3.50551C13.0203 2.67578 14.3656 2.00316 16.025 2.00316C17.6845 2.00316 19.0297 2.67578 19.0297 3.50551Z"
144
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
145
- d: "M13.0203 5.50861C13.0203 6.33833 11.6751 7.01096 10.0156 7.01096C8.3562 7.01096 7.01095 6.33833 7.01095 5.50861C7.01095 4.67888 8.3562 4.00626 10.0156 4.00626C11.6751 4.00626 13.0203 4.67888 13.0203 5.50861Z"
146
- }));
147
- });
148
- var acceptedVariants = ['default', 'outlined'];
149
-
150
- var isValidVariant = function isValidVariant(variant) {
151
- return acceptedVariants.indexOf(variant) >= 0;
152
- };
153
-
154
- var getTrueVariant = function getTrueVariant(variant) {
155
- return variant === 'default' || variant && !isValidVariant(variant) ? 'outlined' : variant;
156
- };
157
- /**
158
- *
159
- *
160
- *
161
- * @variants outlined
162
- */
163
-
164
-
165
- var FillTrue = function FillTrue(_ref) {
166
- var children = _ref.children,
167
- variant = _ref.variant,
168
- otherprops = _objectWithoutProperties(_ref, ["children", "variant"]);
169
-
170
- var trueVariant = getTrueVariant(variant);
171
- var iconName = "filltrue-".concat(trueVariant);
172
- var iconProviderContext = Object(react__WEBPACK_IMPORTED_MODULE_0__["useContext"])(_splunk_react_icons_IconProvider__WEBPACK_IMPORTED_MODULE_2__["IconContext"]);
173
- var svgPath = variantMap.get(trueVariant);
174
-
175
- if (false) {}
176
-
177
- if (iconProviderContext && svgPath) {
178
- var toRender = iconProviderContext.toRender,
179
- addIcon = iconProviderContext.addIcon;
180
- addIcon(iconName, svgPath());
181
-
182
- if (!toRender) {
183
- return null;
184
- }
185
- }
186
-
187
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_1___default.a, otherprops, children, iconProviderContext ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("use", {
188
- href: "#".concat(iconName)
189
- }) : !!svgPath && svgPath());
190
- };
191
-
192
- FillTrue.defaultProps = defaultProps;
193
- /* harmony default export */ __webpack_exports__["default"] = (FillTrue);
194
-
195
- /***/ })
196
-
197
- /******/ });
package/Puchcard.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { default } from './types/icons/Puchcard';
2
- export * from './types/icons/Puchcard';
@@ -1,20 +0,0 @@
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 FillFalse: {
17
- ({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
18
- defaultProps: IconBaseProps;
19
- };
20
- export default FillFalse;
@@ -1,20 +0,0 @@
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 FillTrue: {
17
- ({ children, variant, ...otherprops }: IconBaseProps): JSX.Element | null;
18
- defaultProps: IconBaseProps;
19
- };
20
- export default FillTrue;