@splunk/react-icons 3.0.0 → 3.2.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 (280) hide show
  1. package/Activity.d.ts +3 -0
  2. package/ArrowDown.d.ts +3 -0
  3. package/ArrowLeft.d.ts +3 -0
  4. package/ArrowRight.d.ts +3 -0
  5. package/ArrowUp.d.ts +3 -0
  6. package/BarBeside.d.ts +3 -0
  7. package/BarStacked.d.ts +3 -0
  8. package/BarStacked100.d.ts +3 -0
  9. package/Bell.d.ts +3 -0
  10. package/Bookmark.d.ts +3 -0
  11. package/Boolean.d.ts +3 -0
  12. package/BoxChecked.d.ts +3 -0
  13. package/BoxFilled.d.ts +3 -0
  14. package/BoxUnchecked.d.ts +3 -0
  15. package/CHANGELOG.md +25 -0
  16. package/Calendar.d.ts +3 -0
  17. package/Cancel.d.ts +3 -0
  18. package/Caret.d.ts +3 -0
  19. package/ChartArea.d.ts +3 -0
  20. package/ChartBar.d.ts +3 -0
  21. package/ChartBasic.d.ts +3 -0
  22. package/ChartBubble.d.ts +3 -0
  23. package/ChartColumn.d.ts +3 -0
  24. package/ChartLine.d.ts +3 -0
  25. package/ChartPie.d.ts +3 -0
  26. package/ChartScatter.d.ts +3 -0
  27. package/Check.d.ts +3 -0
  28. package/ChevronDown.d.ts +3 -0
  29. package/ChevronLeft.d.ts +3 -0
  30. package/ChevronRight.d.ts +3 -0
  31. package/ChevronUp.d.ts +3 -0
  32. package/ChoroplethMap.d.ts +3 -0
  33. package/Circle.d.ts +3 -0
  34. package/CircleFilled.d.ts +3 -0
  35. package/CircleHalfFilled.d.ts +3 -0
  36. package/CirclePlus.d.ts +3 -0
  37. package/Clear.d.ts +3 -0
  38. package/Clipboard.d.ts +3 -0
  39. package/Clock.d.ts +3 -0
  40. package/Clone.d.ts +3 -0
  41. package/Close.d.ts +3 -0
  42. package/Code.d.ts +3 -0
  43. package/Connection.d.ts +3 -0
  44. package/Dashboard.d.ts +3 -0
  45. package/Data.d.ts +3 -0
  46. package/DataInput.d.ts +3 -0
  47. package/DataSource.d.ts +3 -0
  48. package/DistributedEnvironment.d.ts +3 -0
  49. package/DistributionStream.d.ts +3 -0
  50. package/DistributionStream.js +141 -0
  51. package/Document.d.ts +3 -0
  52. package/Document.js +2 -2
  53. package/Download.d.ts +3 -0
  54. package/Download.js +2 -2
  55. package/Envelope.d.ts +3 -0
  56. package/Envelope.js +2 -2
  57. package/Error.d.ts +3 -0
  58. package/Error.js +2 -2
  59. package/Events.d.ts +3 -0
  60. package/Events.js +2 -2
  61. package/External.d.ts +3 -0
  62. package/External.js +2 -2
  63. package/ExternalViz.d.ts +3 -0
  64. package/ExternalViz.js +2 -2
  65. package/Filter.d.ts +3 -0
  66. package/Filter.js +2 -2
  67. package/FitToView.d.ts +3 -0
  68. package/FitToView.js +2 -2
  69. package/Flag.d.ts +3 -0
  70. package/Flag.js +2 -2
  71. package/Folder.d.ts +3 -0
  72. package/Folder.js +2 -2
  73. package/Fullscreen.d.ts +3 -0
  74. package/Fullscreen.js +2 -2
  75. package/FullscreenExit.d.ts +3 -0
  76. package/FullscreenExit.js +2 -2
  77. package/FullscreenExitLight.d.ts +3 -0
  78. package/FullscreenExitLight.js +2 -2
  79. package/FullscreenLight.d.ts +3 -0
  80. package/FullscreenLight.js +2 -2
  81. package/GaugeFiller.d.ts +3 -0
  82. package/GaugeFiller.js +2 -2
  83. package/GaugeMarker.d.ts +3 -0
  84. package/GaugeMarker.js +2 -2
  85. package/GaugeRadial.d.ts +3 -0
  86. package/GaugeRadial.js +2 -2
  87. package/Gear.d.ts +3 -0
  88. package/Gear.js +2 -2
  89. package/GearUnfilled.d.ts +3 -0
  90. package/GearUnfilled.js +2 -2
  91. package/Globe.d.ts +3 -0
  92. package/Globe.js +2 -2
  93. package/HamburgerMenu.d.ts +3 -0
  94. package/HamburgerMenu.js +2 -2
  95. package/Icons.d.ts +3 -0
  96. package/Icons.js +2 -2
  97. package/Images.d.ts +3 -0
  98. package/Images.js +2 -2
  99. package/Info.d.ts +3 -0
  100. package/Info.js +2 -2
  101. package/InfoCircle.d.ts +3 -0
  102. package/InfoCircle.js +2 -2
  103. package/Inputs.d.ts +3 -0
  104. package/Inputs.js +2 -2
  105. package/LabelRotation0.d.ts +3 -0
  106. package/LabelRotation0.js +2 -2
  107. package/LabelRotation45.d.ts +3 -0
  108. package/LabelRotation45.js +2 -2
  109. package/LabelRotation90.d.ts +3 -0
  110. package/LabelRotation90.js +2 -2
  111. package/LabelRotationMinus45.d.ts +3 -0
  112. package/LabelRotationMinus45.js +2 -2
  113. package/LabelRotationMinus90.d.ts +3 -0
  114. package/LabelRotationMinus90.js +2 -2
  115. package/Lightbulb.d.ts +3 -0
  116. package/Lightbulb.js +2 -2
  117. package/Lightning.d.ts +3 -0
  118. package/Lightning.js +2 -2
  119. package/Line.d.ts +3 -0
  120. package/Line.js +2 -2
  121. package/Link.d.ts +3 -0
  122. package/Link.js +2 -2
  123. package/List.d.ts +3 -0
  124. package/List.js +2 -2
  125. package/LocationMarker.d.ts +3 -0
  126. package/LocationMarker.js +9 -9
  127. package/Lock.d.ts +3 -0
  128. package/Lock.js +2 -2
  129. package/LockUnlocked.d.ts +3 -0
  130. package/LockUnlocked.js +2 -2
  131. package/Map.d.ts +3 -0
  132. package/Map.js +2 -2
  133. package/Metrics.d.ts +3 -0
  134. package/Metrics.js +2 -2
  135. package/Minus.d.ts +3 -0
  136. package/Minus.js +2 -2
  137. package/MinusCircle.d.ts +3 -0
  138. package/MinusCircle.js +2 -2
  139. package/MissingValueJoin.d.ts +3 -0
  140. package/MissingValueJoin.js +2 -2
  141. package/MissingValueSkipped.d.ts +3 -0
  142. package/MissingValueSkipped.js +2 -2
  143. package/MissingValueZero.d.ts +3 -0
  144. package/MissingValueZero.js +2 -2
  145. package/Model.d.ts +3 -0
  146. package/Model.js +2 -2
  147. package/More.d.ts +3 -0
  148. package/More.js +2 -2
  149. package/MoreVertical.d.ts +3 -0
  150. package/MoreVertical.js +2 -2
  151. package/MultiShare.d.ts +3 -0
  152. package/MultiShare.js +2 -2
  153. package/NotAllowed.d.ts +3 -0
  154. package/NotAllowed.js +2 -2
  155. package/Number.d.ts +3 -0
  156. package/Number.js +2 -2
  157. package/Paintbrush.d.ts +3 -0
  158. package/Paintbrush.js +2 -2
  159. package/Pan.d.ts +3 -0
  160. package/Pan.js +2 -2
  161. package/Pause.d.ts +3 -0
  162. package/Pause.js +2 -2
  163. package/Pencil.d.ts +3 -0
  164. package/Pencil.js +2 -2
  165. package/Pivot.d.ts +3 -0
  166. package/Pivot.js +2 -2
  167. package/Play.d.ts +3 -0
  168. package/Play.js +2 -2
  169. package/Plus.d.ts +3 -0
  170. package/Plus.js +2 -2
  171. package/Print.d.ts +3 -0
  172. package/Print.js +2 -2
  173. package/Puzzle.d.ts +3 -0
  174. package/Puzzle.js +2 -2
  175. package/Question.d.ts +3 -0
  176. package/Question.js +2 -2
  177. package/QuestionCircle.d.ts +3 -0
  178. package/QuestionCircle.js +2 -2
  179. package/Refresh.d.ts +3 -0
  180. package/Refresh.js +2 -2
  181. package/RefreshLight.d.ts +3 -0
  182. package/RefreshLight.js +2 -2
  183. package/Remove.d.ts +3 -0
  184. package/Remove.js +2 -2
  185. package/Report.d.ts +3 -0
  186. package/Report.js +2 -2
  187. package/ReportPivot.d.ts +3 -0
  188. package/ReportPivot.js +2 -2
  189. package/ReportSearch.d.ts +3 -0
  190. package/ReportSearch.js +2 -2
  191. package/Rollup.d.ts +3 -0
  192. package/Rollup.js +2 -2
  193. package/Rotate.d.ts +3 -0
  194. package/Rotate.js +2 -2
  195. package/RotateCounter.d.ts +3 -0
  196. package/RotateCounter.js +2 -2
  197. package/RotateCounterLight.d.ts +3 -0
  198. package/RotateCounterLight.js +2 -2
  199. package/RotateLight.d.ts +3 -0
  200. package/RotateLight.js +2 -2
  201. package/SVG.d.ts +60 -0
  202. package/SVG.js +31 -77
  203. package/SVGInternal.d.ts +9 -0
  204. package/SVGInternal.js +17 -9
  205. package/Save.d.ts +3 -0
  206. package/Save.js +2 -2
  207. package/Search.d.ts +3 -0
  208. package/Search.js +2 -2
  209. package/Select.d.ts +3 -0
  210. package/Select.js +2 -2
  211. package/Settings.d.ts +3 -0
  212. package/Settings.js +2 -2
  213. package/Shapes.d.ts +3 -0
  214. package/Shapes.js +2 -2
  215. package/Share.d.ts +3 -0
  216. package/Share.js +2 -2
  217. package/SingleValue.d.ts +3 -0
  218. package/SingleValue.js +2 -2
  219. package/Sort.d.ts +3 -0
  220. package/Sort.js +2 -2
  221. package/SortedDown.d.ts +3 -0
  222. package/SortedDown.js +2 -2
  223. package/SortedUp.d.ts +3 -0
  224. package/SortedUp.js +2 -2
  225. package/SpeechBubble.d.ts +3 -0
  226. package/SpeechBubble.js +2 -2
  227. package/SplitBy.d.ts +3 -0
  228. package/SplitBy.js +2 -2
  229. package/Star.d.ts +3 -0
  230. package/Star.js +2 -2
  231. package/Stop.d.ts +3 -0
  232. package/Stop.js +2 -2
  233. package/String.d.ts +3 -0
  234. package/String.js +2 -2
  235. package/Success.d.ts +3 -0
  236. package/Success.js +2 -2
  237. package/Table.d.ts +3 -0
  238. package/Table.js +2 -2
  239. package/Text.d.ts +3 -0
  240. package/Text.js +2 -2
  241. package/TextLight.d.ts +3 -0
  242. package/TextLight.js +2 -2
  243. package/Tiles.d.ts +3 -0
  244. package/Tiles.js +2 -2
  245. package/Tool.d.ts +3 -0
  246. package/Tool.js +141 -0
  247. package/Topology.d.ts +3 -0
  248. package/Topology.js +2 -2
  249. package/Trash.d.ts +3 -0
  250. package/Trash.js +2 -2
  251. package/Tree.d.ts +3 -0
  252. package/Tree.js +2 -2
  253. package/TriangleDown.d.ts +3 -0
  254. package/TriangleDown.js +2 -2
  255. package/TriangleDownSmall.d.ts +3 -0
  256. package/TriangleDownSmall.js +2 -2
  257. package/TriangleLeft.d.ts +3 -0
  258. package/TriangleLeft.js +2 -2
  259. package/TriangleLeftSmall.d.ts +3 -0
  260. package/TriangleLeftSmall.js +2 -2
  261. package/TriangleRight.d.ts +3 -0
  262. package/TriangleRight.js +2 -2
  263. package/TriangleRightSmall.d.ts +3 -0
  264. package/TriangleRightSmall.js +2 -2
  265. package/TriangleUp.d.ts +3 -0
  266. package/TriangleUp.js +2 -2
  267. package/TriangleUpSmall.d.ts +3 -0
  268. package/TriangleUpSmall.js +2 -2
  269. package/Upload.d.ts +3 -0
  270. package/Upload.js +2 -2
  271. package/User.d.ts +3 -0
  272. package/User.js +2 -2
  273. package/Warning.d.ts +3 -0
  274. package/Warning.js +2 -2
  275. package/ZoomIn.d.ts +3 -0
  276. package/ZoomIn.js +2 -2
  277. package/ZoomOut.d.ts +3 -0
  278. package/ZoomOut.js +2 -2
  279. package/package.json +26 -18
  280. package/stubs-splunkui.d.ts +6 -0
package/Puzzle.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Puzzle(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/Puzzle.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 123);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 124);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 123:
104
+ /***/ 124:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Question.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Question(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/Question.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 124);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 125);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 124:
104
+ /***/ 125:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function QuestionCircle(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/QuestionCircle.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 125);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 126);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 125:
104
+ /***/ 126:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Refresh.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Refresh(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/Refresh.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 126);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 127);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 126:
104
+ /***/ 127:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function RefreshLight(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/RefreshLight.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 127);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 128);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 127:
104
+ /***/ 128:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Remove.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import Clear from '@splunk/react-icons/Clear';
3
+ export default function Remove(props: React.ComponentProps<typeof Clear>): JSX.Element;
package/Remove.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 128);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 129);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 128:
104
+ /***/ 129:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Report.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import Document from '@splunk/react-icons/Document';
3
+ export default function Report(props: React.ComponentProps<typeof Document>): JSX.Element;
package/Report.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 129);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 130);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-icons/Document");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 129:
111
+ /***/ 130:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function ReportPivot(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/ReportPivot.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 130);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 131);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 130:
104
+ /***/ 131:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function ReportSearch(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/ReportSearch.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 131);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 131:
104
+ /***/ 132:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Rollup.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Rollup(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/Rollup.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 132);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 133);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 132:
104
+ /***/ 133:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Rotate.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Rotate(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/Rotate.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 133);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 134);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 133:
104
+ /***/ 134:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function RotateCounter(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/RotateCounter.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 134);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 135);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 134:
104
+ /***/ 135:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function RotateCounterLight(props: React.ComponentProps<typeof SVG>): JSX.Element;
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 135);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 136);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 135:
104
+ /***/ 136:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function RotateLight(props: React.ComponentProps<typeof SVG>): JSX.Element;
package/RotateLight.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 136);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 137);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/i18n");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 136:
104
+ /***/ 137:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/SVG.d.ts ADDED
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ interface SVGPropsBase {
4
+ children?: React.ReactNode;
5
+ /**
6
+ * Defaults to the value of the size prop. Height is defined as a number of ems or as
7
+ * a string with any other unit.
8
+ */
9
+ height?: number | string;
10
+ /** Hides default screen text tooltip visually, but still renders for screen readers. */
11
+ hideDefaultTooltip?: boolean;
12
+ /**
13
+ * Set `inline` to false to remove `vertical-align: middle`, and center the icon horizontally.
14
+ */
15
+ inline?: boolean;
16
+ /** Displays to screen readers instead of the `icon` value. Set the prop to null or
17
+ * an empty string to hide the icon from screen readers, such as when a text label
18
+ * exists beside an icon. All icons have a default value that matches the icon name. */
19
+ screenReaderText?: string | null;
20
+ /**
21
+ * Sets the value for the `width` or `height` attribute, whichever is larger,
22
+ * and scales the other dimension proportionally. The default size of 0.75 makes the icon
23
+ * a similar size as the font size. Size is defined as a number of ems, or as a
24
+ * string with any other unit.
25
+ */
26
+ size?: number | string;
27
+ /**
28
+ * Defaults to the value of the size prop. Width is defined as a number of ems or as
29
+ * a string with any other unit.
30
+ */
31
+ width?: number | string;
32
+ /**
33
+ * The value of the `viewBox` attribute is a string consisting of four space-separated numbers:
34
+ * min-x, min-y, width, and height. For example, "0 0 24 24" or "-20.4 -11.8 203.4 203.5";
35
+ */
36
+ viewBox: string;
37
+ /**
38
+ * Defaults to the preserved aspect ratio, the height and width define a max dimension,
39
+ * and centers the icon. These are standard SVG values. */
40
+ preserveAspectRatio?: 'none' | 'xMinYMin' | 'xMidYMin' | 'xMaxYMin' | 'xMinYMid' | 'xMidYMid' | 'xMaxYMid' | 'xMinYMax' | 'xMidYMax' | 'xMaxYMax';
41
+ }
42
+ declare type SVGProps = SVGPropsBase & Omit<JSX.IntrinsicElements['svg'], keyof SVGPropsBase | 'ref'>;
43
+ /** @public Props interface for `SVG` with `viewBox` optional. Use this when wrapping `SVG`. */
44
+ declare type SVGPropsOptionalViewBox = Omit<SVGProps, 'viewBox'> & Partial<Pick<SVGProps, 'viewBox'>>;
45
+ declare function SVG({ children, height, hideDefaultTooltip, inline, preserveAspectRatio, screenReaderText, size, viewBox, width, ...otherProps }: SVGProps): JSX.Element;
46
+ declare namespace SVG {
47
+ var propTypes: {
48
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
49
+ height: PropTypes.Requireable<string | number>;
50
+ hideDefaultTooltip: PropTypes.Requireable<boolean>;
51
+ inline: PropTypes.Requireable<boolean>;
52
+ screenReaderText: PropTypes.Requireable<string>;
53
+ size: PropTypes.Requireable<string | number>;
54
+ width: PropTypes.Requireable<string | number>;
55
+ viewBox: PropTypes.Validator<string>;
56
+ preserveAspectRatio: PropTypes.Requireable<string>;
57
+ };
58
+ }
59
+ export default SVG;
60
+ export { SVGPropsOptionalViewBox };
package/SVG.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 137);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 138);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -94,7 +94,7 @@ module.exports = require("react");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 137:
97
+ /***/ 138:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
@@ -119,113 +119,67 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
119
119
 
120
120
  var InlineSVG = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.svg.withConfig({
121
121
  displayName: "SVG__InlineSVG",
122
- componentId: "sc-12p19go-0"
122
+ componentId: "sc-13m0oii-0"
123
123
  })(["display:inline-block;flex:0 0 auto;overflow:visible;vertical-align:middle;"]);
124
124
  var BlockSVG = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.svg.withConfig({
125
125
  displayName: "SVG__BlockSVG",
126
- componentId: "sc-12p19go-1"
126
+ componentId: "sc-13m0oii-1"
127
127
  })(["display:block;flex:0 0 auto;margin:0 auto;overflow:visible;"]);
128
- var ScreenReaderContent = styled_components__WEBPACK_IMPORTED_MODULE_3___default.a.span.withConfig({
129
- displayName: "SVG__ScreenReaderContent",
130
- componentId: "sc-12p19go-2"
131
- })(["position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0;"]);
132
128
  var viewBoxRegex = /-?\d.?\d* -?\d+.?\d* \d+.?\d* \d+.?\d*/;
133
129
  var propTypes = {
134
- /** @private */
135
130
  children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
136
-
137
- /**
138
- * Defaults to the value of the size prop. Height is defined as a number of ems or as
139
- * a string with any other unit.
140
- */
141
131
  height: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
142
-
143
- /** Hides default screen text tooltip visually, but still renders for screen readers. */
144
132
  hideDefaultTooltip: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
145
-
146
- /**
147
- * Set `inline` to false to remove `vertical-align: middle`, and center the icon horizontally.
148
- */
149
133
  inline: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool,
150
-
151
- /** Displays to screen readers instead of the `icon` value. Set the prop to null or
152
- * an empty string to hide the icon from screen readers, such as when a text label
153
- * exists beside an icon. All icons have a default value that matches the icon name. */
154
134
  screenReaderText: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(['null'])]),
155
-
156
- /**
157
- * Sets the value for the `width` or `height` attribute, whichever is larger,
158
- * and scales the other dimension proportionally. The default size of 0.75 makes the icon
159
- * a similar size as the font size. Size is defined as a number of ems, or as a
160
- * string with any other unit.
161
- */
162
135
  size: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
163
-
164
- /**
165
- * Defaults to the value of the size prop. Width is defined as a number of ems or as
166
- * a string with any other unit.
167
- */
168
136
  width: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string]),
169
-
170
- /**
171
- * The value of the `viewBox` attribute is a string consisting of four space-separated numbers:
172
- * min-x, min-y, width, and height. For example, "0 0 24 24" or "-20.4 -11.8 203.4 203.5";
173
- */
174
- // eslint-disable-next-line consistent-return
175
- viewBox: function viewBox(props, propName, componentName) {
176
- var value = props[propName];
177
-
178
- if (!viewBoxRegex.test(value)) {
179
- return new Error("Invalid prop value: ".concat(value, " for ").concat(propName, " in ").concat(componentName, ". Must be four space-separated numbers, such as \"0 0 24 24.\""));
180
- }
181
- },
182
-
183
- /**
184
- * Defaults to the preserved aspect ratio, the height and width define a max dimension,
185
- * and centers the icon. These are standard SVG values. */
137
+ viewBox: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string.isRequired,
186
138
  preserveAspectRatio: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.oneOf(['none', 'xMinYMin', 'xMidYMin', 'xMaxYMin', 'xMinYMid', 'xMidYMid', 'xMaxYMid', 'xMinYMax', 'xMidYMax', 'xMaxYMax'])
187
139
  };
188
- var defaultProps = {
189
- hideDefaultTooltip: false,
190
- inline: true,
191
- size: 0.75,
192
- preserveAspectRatio: 'xMidYMid'
193
- };
194
140
 
195
- function SVG(props) {
196
- var children = props.children,
197
- height = props.height,
198
- hideDefaultTooltip = props.hideDefaultTooltip,
199
- inline = props.inline,
200
- preserveAspectRatio = props.preserveAspectRatio,
201
- screenReaderText = props.screenReaderText,
202
- size = props.size,
203
- width = props.width,
204
- viewBox = props.viewBox,
205
- otherProps = _objectWithoutProperties(props, ["children", "height", "hideDefaultTooltip", "inline", "preserveAspectRatio", "screenReaderText", "size", "width", "viewBox"]);
206
-
207
- var sizeValue = parseFloat(size);
141
+ function SVG(_ref) {
142
+ var children = _ref.children,
143
+ height = _ref.height,
144
+ _ref$hideDefaultToolt = _ref.hideDefaultTooltip,
145
+ hideDefaultTooltip = _ref$hideDefaultToolt === void 0 ? false : _ref$hideDefaultToolt,
146
+ _ref$inline = _ref.inline,
147
+ inline = _ref$inline === void 0 ? true : _ref$inline,
148
+ _ref$preserveAspectRa = _ref.preserveAspectRatio,
149
+ preserveAspectRatio = _ref$preserveAspectRa === void 0 ? 'xMidYMid' : _ref$preserveAspectRa,
150
+ screenReaderText = _ref.screenReaderText,
151
+ _ref$size = _ref.size,
152
+ size = _ref$size === void 0 ? 0.75 : _ref$size,
153
+ viewBox = _ref.viewBox,
154
+ width = _ref.width,
155
+ otherProps = _objectWithoutProperties(_ref, ["children", "height", "hideDefaultTooltip", "inline", "preserveAspectRatio", "screenReaderText", "size", "viewBox", "width"]);
156
+
157
+ // @docs-props-type SVGPropsBase
158
+ if (false) {}
159
+
160
+ var sizeValue = typeof size !== 'number' ? parseFloat(size) : size;
208
161
  var sizeUnit = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isString"])(size) ? size.match(/[^\d]+/) : 'em';
209
- var vbHeight = parseFloat(viewBox.split(' ')[3], 10);
210
- var vbWidth = parseFloat(viewBox.split(' ')[2], 10);
162
+ var vbHeight = parseFloat(viewBox.split(' ')[3]);
163
+ var vbWidth = parseFloat(viewBox.split(' ')[2]);
211
164
  var maxDimension = Math.max(vbWidth, vbHeight);
212
165
  var cHeight = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isUndefined"])(height) ? vbHeight / maxDimension * sizeValue : height;
213
166
  var cWidth = Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isUndefined"])(width) ? vbWidth / maxDimension * sizeValue : width;
214
167
  var SVGElement = inline ? InlineSVG : BlockSVG;
168
+ var renderTitle = screenReaderText && !hideDefaultTooltip;
215
169
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SVGElement, _extends({
216
170
  focusable: "false",
217
171
  height: Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isString"])(cHeight) ? cHeight : "".concat(cHeight.toFixed(4)).concat(sizeUnit),
218
172
  width: Object(lodash__WEBPACK_IMPORTED_MODULE_2__["isString"])(cWidth) ? cWidth : "".concat(cWidth.toFixed(4)).concat(sizeUnit),
219
173
  viewBox: viewBox,
174
+ "aria-label": hideDefaultTooltip ? screenReaderText !== null && screenReaderText !== void 0 ? screenReaderText : undefined : undefined,
220
175
  "aria-hidden": !screenReaderText,
221
176
  preserveAspectRatio: preserveAspectRatio,
222
177
  xmlns: "http://www.w3.org/2000/svg"
223
- }, otherProps), screenReaderText && (hideDefaultTooltip ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ScreenReaderContent, null, screenReaderText) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title", null, screenReaderText)), children);
178
+ }, otherProps), renderTitle && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title", null, screenReaderText), children);
224
179
  }
225
180
 
226
- /* harmony default export */ __webpack_exports__["default"] = (SVG);
227
181
  SVG.propTypes = propTypes;
228
- SVG.defaultProps = defaultProps;
182
+ /* harmony default export */ __webpack_exports__["default"] = (SVG);
229
183
 
230
184
  /***/ }),
231
185
 
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import { SVGPropsOptionalViewBox } from '@splunk/react-icons/SVG';
3
+ declare function SVGInternal({ viewBox, ...otherProps }: SVGPropsOptionalViewBox): JSX.Element;
4
+ declare namespace SVGInternal {
5
+ var propTypes: {
6
+ viewBox: PropTypes.Requireable<string>;
7
+ };
8
+ }
9
+ export default SVGInternal;
package/SVGInternal.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 138);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 139);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/react-icons/SVG");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 138:
104
+ /***/ 139:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -114,27 +114,35 @@ __webpack_require__.r(__webpack_exports__);
114
114
  /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_2__);
115
115
  /* harmony import */ var _splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
116
116
  /* harmony import */ var _splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_3__);
117
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
118
+
119
+ 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; }
120
+
121
+ 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; }
122
+
117
123
 
118
124
 
119
125
 
120
126
 
121
127
  var StyledSVG = styled_components__WEBPACK_IMPORTED_MODULE_2___default()(_splunk_react_icons_SVG__WEBPACK_IMPORTED_MODULE_3___default.a).withConfig({
122
128
  displayName: "SVGInternal__StyledSVG",
123
- componentId: "otqc2p-0"
129
+ componentId: "ksy9g7-0"
124
130
  })(["circle,ellipse,path,polygon,rect{fill:currentColor;}"]);
125
131
  var propTypes = {
126
132
  viewBox: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string
127
133
  };
128
- var defaultProps = {
129
- viewBox: '0 0 1500 1500'
130
- };
131
134
 
132
- function SVGInternal(props) {
133
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledSVG, props);
135
+ function SVGInternal(_ref) {
136
+ var _ref$viewBox = _ref.viewBox,
137
+ viewBox = _ref$viewBox === void 0 ? '0 0 1500 1500' : _ref$viewBox,
138
+ otherProps = _objectWithoutProperties(_ref, ["viewBox"]);
139
+
140
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(StyledSVG, _extends({
141
+ viewBox: viewBox
142
+ }, otherProps));
134
143
  }
135
144
 
136
145
  SVGInternal.propTypes = propTypes;
137
- SVGInternal.defaultProps = defaultProps;
138
146
  /* harmony default export */ __webpack_exports__["default"] = (SVGInternal);
139
147
 
140
148
  /***/ }),
package/Save.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import SVG from '@splunk/react-icons/SVGInternal';
3
+ export default function Icons(props: React.ComponentProps<typeof SVG>): JSX.Element;