@splunk/react-ui 4.20.0 → 4.21.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/Accordion.js +114 -230
- package/Anchor.js +74 -150
- package/Animation.js +52 -124
- package/AnimationToggle.js +86 -146
- package/Box.js +77 -153
- package/Breadcrumbs.js +105 -197
- package/Button.js +168 -316
- package/ButtonGroup.js +84 -168
- package/ButtonSimple.js +224 -324
- package/CHANGELOG.md +21 -0
- package/Calendar.js +264 -462
- package/Card.js +223 -371
- package/CardLayout.js +87 -163
- package/Chip.js +199 -323
- package/Clickable.js +128 -246
- package/CloseButton.js +92 -200
- package/Code.js +162 -250
- package/CollapsiblePanel.js +214 -370
- package/Color.js +267 -495
- package/ColumnLayout.js +152 -254
- package/ComboBox.js +197 -371
- package/Concertina.js +214 -374
- package/ControlGroup.js +164 -288
- package/Date.js +154 -304
- package/DefinitionList.js +104 -180
- package/Divider.js +80 -156
- package/Dropdown.js +121 -263
- package/DualListbox.js +408 -601
- package/EventListener.js +70 -138
- package/File.js +343 -547
- package/FormRows.js +232 -414
- package/Heading.js +94 -164
- package/Image.js +167 -323
- package/JSONTree.js +166 -314
- package/Layer.js +221 -388
- package/Link.js +133 -239
- package/List.js +85 -161
- package/Markdown.js +230 -354
- package/Menu.js +489 -760
- package/Message.js +248 -437
- package/MessageBar.js +220 -408
- package/Modal.js +201 -365
- package/ModalLayer.js +96 -196
- package/Monogram.js +112 -204
- package/Multiselect.js +1135 -1761
- package/Number.js +178 -334
- package/Paginator.js +170 -336
- package/Paragraph.js +77 -153
- package/Popover.js +370 -620
- package/Progress.js +139 -255
- package/RadioBar.js +156 -280
- package/RadioList.js +182 -282
- package/Resize.js +173 -307
- package/ResultsMenu.js +161 -303
- package/ScreenReaderContent.js +75 -151
- package/Scroll.js +125 -267
- package/ScrollContainerContext.js +129 -201
- package/Search.js +188 -354
- package/Select.js +1028 -1430
- package/SidePanel.js +106 -214
- package/Slider.js +198 -348
- package/SlidingPanels.js +138 -280
- package/SplitButton.js +141 -273
- package/StaticContent.js +84 -168
- package/StepBar.js +138 -246
- package/Switch.js +261 -385
- package/TabBar.js +261 -398
- package/TabLayout.js +122 -238
- package/Table.js +943 -1448
- package/Text.js +335 -549
- package/TextArea.js +315 -537
- package/Tooltip.js +152 -292
- package/TransitionOpen.js +118 -242
- package/Typography.js +81 -157
- package/WaitSpinner.js +117 -209
- package/package.json +14 -15
- package/stubs-splunkui.d.ts +4 -1
- package/types/src/ComboBox/Option.d.ts +1 -1
- package/types/src/Concertina/Concertina.d.ts +4 -0
- package/types/src/Link/Link.d.ts +7 -3
- package/types/src/Link/docs/examples/NewWindow.d.ts +2 -0
- package/types/src/Markdown/Markdown.d.ts +1 -1
- package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
- package/types/src/Menu/Item.d.ts +1 -1
- package/types/src/Menu/Menu.d.ts +1 -0
- package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -0
- package/types/src/Multiselect/Option.d.ts +1 -1
- package/types/src/Search/Option.d.ts +1 -1
- package/types/src/Select/Option.d.ts +1 -1
- package/types/src/Select/OptionBase.d.ts +1 -1
- package/types/src/fixtures/FetchOptions.d.ts +2 -8
- package/useForceUpdate.js +46 -110
- package/useKeyPress.js +50 -107
- package/usePrevious.js +47 -111
- package/useRovingFocus.js +53 -133
- package/types/src/Link/docs/examples/NewTab.d.ts +0 -2
- /package/types/src/Table/docs/examples/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
- /package/types/src/Table/docs/examples/prisma/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
package/Color.js
CHANGED
|
@@ -1,317 +1,189 @@
|
|
|
1
|
-
|
|
2
|
-
/******/
|
|
3
|
-
/******/ // The
|
|
4
|
-
/******/ var
|
|
5
|
-
/******/
|
|
6
|
-
|
|
7
|
-
/******/
|
|
8
|
-
/******/
|
|
9
|
-
/******/ //
|
|
10
|
-
/******/
|
|
11
|
-
/******/
|
|
12
|
-
/******/
|
|
13
|
-
/******/
|
|
14
|
-
/******/
|
|
15
|
-
/******/
|
|
16
|
-
/******/
|
|
17
|
-
/******/
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ // The require scope
|
|
4
|
+
/******/ var __webpack_require__ = {};
|
|
5
|
+
/******/
|
|
6
|
+
/************************************************************************/
|
|
7
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
+
/******/ (() => {
|
|
9
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
+
/******/ __webpack_require__.n = (module) => {
|
|
11
|
+
/******/ var getter = module && module.__esModule ?
|
|
12
|
+
/******/ () => (module['default']) :
|
|
13
|
+
/******/ () => (module);
|
|
14
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
+
/******/ return getter;
|
|
16
|
+
/******/ };
|
|
17
|
+
/******/ })();
|
|
18
|
+
/******/
|
|
19
|
+
/******/ /* webpack/runtime/define property getters */
|
|
20
|
+
/******/ (() => {
|
|
21
|
+
/******/ // define getter functions for harmony exports
|
|
22
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
23
|
+
/******/ for(var key in definition) {
|
|
24
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
+
/******/ }
|
|
27
|
+
/******/ }
|
|
18
28
|
/******/ };
|
|
19
|
-
/******/
|
|
20
|
-
/******/
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/
|
|
30
|
-
/******/
|
|
31
|
-
/******/
|
|
32
|
-
/******/
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
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 = 179);
|
|
86
|
-
/******/ })
|
|
29
|
+
/******/ })();
|
|
30
|
+
/******/
|
|
31
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
+
/******/ (() => {
|
|
33
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
34
|
+
/******/ })();
|
|
35
|
+
/******/
|
|
36
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
+
/******/ (() => {
|
|
38
|
+
/******/ // define __esModule on exports
|
|
39
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
40
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
+
/******/ }
|
|
43
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
+
/******/ };
|
|
45
|
+
/******/ })();
|
|
46
|
+
/******/
|
|
87
47
|
/************************************************************************/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
/***/ 0:
|
|
91
|
-
/***/ (function(module, exports) {
|
|
92
|
-
|
|
93
|
-
module.exports = require("@splunk/themes");
|
|
94
|
-
|
|
95
|
-
/***/ }),
|
|
96
|
-
|
|
97
|
-
/***/ 1:
|
|
98
|
-
/***/ (function(module, exports) {
|
|
99
|
-
|
|
100
|
-
module.exports = require("prop-types");
|
|
101
|
-
|
|
102
|
-
/***/ }),
|
|
103
|
-
|
|
104
|
-
/***/ 108:
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("lodash/slice");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 11:
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
|
-
module.exports = require("lodash/has");
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 119:
|
|
119
|
-
/***/ (function(module, exports) {
|
|
120
|
-
|
|
121
|
-
module.exports = require("lodash/startsWith");
|
|
122
|
-
|
|
123
|
-
/***/ }),
|
|
124
|
-
|
|
125
|
-
/***/ 12:
|
|
126
|
-
/***/ (function(module, exports) {
|
|
127
|
-
|
|
128
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
129
|
-
|
|
130
|
-
/***/ }),
|
|
131
|
-
|
|
132
|
-
/***/ 129:
|
|
133
|
-
/***/ (function(module, exports) {
|
|
134
|
-
|
|
135
|
-
module.exports = require("@splunk/react-icons/ChevronDown");
|
|
136
|
-
|
|
137
|
-
/***/ }),
|
|
138
|
-
|
|
139
|
-
/***/ 14:
|
|
140
|
-
/***/ (function(module, exports) {
|
|
141
|
-
|
|
142
|
-
module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
143
|
-
|
|
144
|
-
/***/ }),
|
|
145
|
-
|
|
146
|
-
/***/ 15:
|
|
147
|
-
/***/ (function(module, exports) {
|
|
148
|
-
|
|
149
|
-
module.exports = require("lodash/includes");
|
|
150
|
-
|
|
151
|
-
/***/ }),
|
|
152
|
-
|
|
153
|
-
/***/ 179:
|
|
154
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
155
|
-
|
|
156
|
-
"use strict";
|
|
48
|
+
var __webpack_exports__ = {};
|
|
157
49
|
// ESM COMPAT FLAG
|
|
158
50
|
__webpack_require__.r(__webpack_exports__);
|
|
159
51
|
|
|
160
52
|
// EXPORTS
|
|
161
|
-
__webpack_require__.d(__webpack_exports__,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
var external_react_ = __webpack_require__(2);
|
|
167
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
168
|
-
|
|
169
|
-
// EXTERNAL MODULE: external "prop-types"
|
|
170
|
-
var external_prop_types_ = __webpack_require__(1);
|
|
171
|
-
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
172
|
-
|
|
173
|
-
// EXTERNAL MODULE: external "lodash/debounce"
|
|
174
|
-
var debounce_ = __webpack_require__(68);
|
|
175
|
-
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
176
|
-
|
|
177
|
-
// EXTERNAL MODULE: external "lodash/has"
|
|
178
|
-
var has_ = __webpack_require__(11);
|
|
179
|
-
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
180
|
-
|
|
181
|
-
// EXTERNAL MODULE: external "lodash/includes"
|
|
182
|
-
var includes_ = __webpack_require__(15);
|
|
183
|
-
var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
|
|
184
|
-
|
|
185
|
-
// EXTERNAL MODULE: external "lodash/keys"
|
|
186
|
-
var keys_ = __webpack_require__(9);
|
|
187
|
-
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
|
|
188
|
-
|
|
189
|
-
// EXTERNAL MODULE: external "lodash/omit"
|
|
190
|
-
var omit_ = __webpack_require__(5);
|
|
191
|
-
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
192
|
-
|
|
193
|
-
// EXTERNAL MODULE: external "lodash/slice"
|
|
194
|
-
var slice_ = __webpack_require__(108);
|
|
195
|
-
var slice_default = /*#__PURE__*/__webpack_require__.n(slice_);
|
|
196
|
-
|
|
197
|
-
// EXTERNAL MODULE: external "lodash/startsWith"
|
|
198
|
-
var startsWith_ = __webpack_require__(119);
|
|
199
|
-
var startsWith_default = /*#__PURE__*/__webpack_require__.n(startsWith_);
|
|
200
|
-
|
|
201
|
-
// EXTERNAL MODULE: external "lodash/toLower"
|
|
202
|
-
var toLower_ = __webpack_require__(36);
|
|
203
|
-
var toLower_default = /*#__PURE__*/__webpack_require__.n(toLower_);
|
|
204
|
-
|
|
205
|
-
// EXTERNAL MODULE: external "lodash/memoize"
|
|
206
|
-
var memoize_ = __webpack_require__(40);
|
|
207
|
-
var memoize_default = /*#__PURE__*/__webpack_require__.n(memoize_);
|
|
208
|
-
|
|
209
|
-
// EXTERNAL MODULE: external "tinycolor2"
|
|
210
|
-
var external_tinycolor2_ = __webpack_require__(69);
|
|
211
|
-
var external_tinycolor2_default = /*#__PURE__*/__webpack_require__.n(external_tinycolor2_);
|
|
212
|
-
|
|
213
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
|
|
214
|
-
var Dropdown_ = __webpack_require__(22);
|
|
215
|
-
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
216
|
-
|
|
217
|
-
// EXTERNAL MODULE: external "@splunk/themes"
|
|
218
|
-
var themes_ = __webpack_require__(0);
|
|
219
|
-
|
|
220
|
-
// EXTERNAL MODULE: external "@splunk/ui-utils/color"
|
|
221
|
-
var color_ = __webpack_require__(50);
|
|
222
|
-
|
|
223
|
-
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
224
|
-
var i18n_ = __webpack_require__(4);
|
|
225
|
-
|
|
226
|
-
// EXTERNAL MODULE: external "@splunk/ui-utils/keyboard"
|
|
227
|
-
var keyboard_ = __webpack_require__(7);
|
|
228
|
-
|
|
229
|
-
// EXTERNAL MODULE: external "styled-components"
|
|
230
|
-
var external_styled_components_ = __webpack_require__(3);
|
|
231
|
-
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
232
|
-
|
|
233
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
234
|
-
var Text_ = __webpack_require__(32);
|
|
235
|
-
var Text_default = /*#__PURE__*/__webpack_require__.n(Text_);
|
|
236
|
-
|
|
237
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
238
|
-
var ScreenReaderContent_ = __webpack_require__(14);
|
|
239
|
-
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
240
|
-
|
|
241
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/Checkmark"
|
|
242
|
-
var Checkmark_ = __webpack_require__(78);
|
|
243
|
-
var Checkmark_default = /*#__PURE__*/__webpack_require__.n(Checkmark_);
|
|
244
|
-
|
|
245
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
246
|
-
var Clickable_ = __webpack_require__(12);
|
|
247
|
-
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
248
|
-
|
|
249
|
-
// CONCATENATED MODULE: ./src/Color/SwatchStyles.ts
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
53
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
+
"default": () => (/* reexport */ Color_Color),
|
|
55
|
+
defaultPalette: () => (/* reexport */ defaultPalette),
|
|
56
|
+
isValidHEX: () => (/* reexport */ isValidHEX)
|
|
57
|
+
});
|
|
253
58
|
|
|
254
|
-
|
|
255
|
-
|
|
59
|
+
;// CONCATENATED MODULE: external "react"
|
|
60
|
+
const external_react_namespaceObject = require("react");
|
|
61
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
62
|
+
;// CONCATENATED MODULE: external "prop-types"
|
|
63
|
+
const external_prop_types_namespaceObject = require("prop-types");
|
|
64
|
+
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_namespaceObject);
|
|
65
|
+
;// CONCATENATED MODULE: external "lodash/debounce"
|
|
66
|
+
const debounce_namespaceObject = require("lodash/debounce");
|
|
67
|
+
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_namespaceObject);
|
|
68
|
+
;// CONCATENATED MODULE: external "lodash/has"
|
|
69
|
+
const has_namespaceObject = require("lodash/has");
|
|
70
|
+
var has_default = /*#__PURE__*/__webpack_require__.n(has_namespaceObject);
|
|
71
|
+
;// CONCATENATED MODULE: external "lodash/includes"
|
|
72
|
+
const includes_namespaceObject = require("lodash/includes");
|
|
73
|
+
var includes_default = /*#__PURE__*/__webpack_require__.n(includes_namespaceObject);
|
|
74
|
+
;// CONCATENATED MODULE: external "lodash/keys"
|
|
75
|
+
const keys_namespaceObject = require("lodash/keys");
|
|
76
|
+
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_namespaceObject);
|
|
77
|
+
;// CONCATENATED MODULE: external "lodash/omit"
|
|
78
|
+
const omit_namespaceObject = require("lodash/omit");
|
|
79
|
+
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_namespaceObject);
|
|
80
|
+
;// CONCATENATED MODULE: external "lodash/slice"
|
|
81
|
+
const slice_namespaceObject = require("lodash/slice");
|
|
82
|
+
var slice_default = /*#__PURE__*/__webpack_require__.n(slice_namespaceObject);
|
|
83
|
+
;// CONCATENATED MODULE: external "lodash/startsWith"
|
|
84
|
+
const startsWith_namespaceObject = require("lodash/startsWith");
|
|
85
|
+
var startsWith_default = /*#__PURE__*/__webpack_require__.n(startsWith_namespaceObject);
|
|
86
|
+
;// CONCATENATED MODULE: external "lodash/toLower"
|
|
87
|
+
const toLower_namespaceObject = require("lodash/toLower");
|
|
88
|
+
var toLower_default = /*#__PURE__*/__webpack_require__.n(toLower_namespaceObject);
|
|
89
|
+
;// CONCATENATED MODULE: external "lodash/memoize"
|
|
90
|
+
const memoize_namespaceObject = require("lodash/memoize");
|
|
91
|
+
var memoize_default = /*#__PURE__*/__webpack_require__.n(memoize_namespaceObject);
|
|
92
|
+
;// CONCATENATED MODULE: external "tinycolor2"
|
|
93
|
+
const external_tinycolor2_namespaceObject = require("tinycolor2");
|
|
94
|
+
var external_tinycolor2_default = /*#__PURE__*/__webpack_require__.n(external_tinycolor2_namespaceObject);
|
|
95
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/Dropdown"
|
|
96
|
+
const Dropdown_namespaceObject = require("@splunk/react-ui/Dropdown");
|
|
97
|
+
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_namespaceObject);
|
|
98
|
+
;// CONCATENATED MODULE: external "@splunk/themes"
|
|
99
|
+
const themes_namespaceObject = require("@splunk/themes");
|
|
100
|
+
;// CONCATENATED MODULE: external "@splunk/ui-utils/color"
|
|
101
|
+
const color_namespaceObject = require("@splunk/ui-utils/color");
|
|
102
|
+
;// CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
|
|
103
|
+
const i18n_namespaceObject = require("@splunk/ui-utils/i18n");
|
|
104
|
+
;// CONCATENATED MODULE: external "@splunk/ui-utils/keyboard"
|
|
105
|
+
const keyboard_namespaceObject = require("@splunk/ui-utils/keyboard");
|
|
106
|
+
;// CONCATENATED MODULE: external "styled-components"
|
|
107
|
+
const external_styled_components_namespaceObject = require("styled-components");
|
|
108
|
+
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_namespaceObject);
|
|
109
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/Text"
|
|
110
|
+
const Text_namespaceObject = require("@splunk/react-ui/Text");
|
|
111
|
+
var Text_default = /*#__PURE__*/__webpack_require__.n(Text_namespaceObject);
|
|
112
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
113
|
+
const ScreenReaderContent_namespaceObject = require("@splunk/react-ui/ScreenReaderContent");
|
|
114
|
+
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_namespaceObject);
|
|
115
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/Checkmark"
|
|
116
|
+
const Checkmark_namespaceObject = require("@splunk/react-icons/Checkmark");
|
|
117
|
+
var Checkmark_default = /*#__PURE__*/__webpack_require__.n(Checkmark_namespaceObject);
|
|
118
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/Clickable"
|
|
119
|
+
const Clickable_namespaceObject = require("@splunk/react-ui/Clickable");
|
|
120
|
+
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_namespaceObject);
|
|
121
|
+
;// CONCATENATED MODULE: ./src/Color/SwatchStyles.ts
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
var backgroundBlockColor = (0,themes_namespaceObject.pick)({
|
|
127
|
+
enterprise: themes_namespaceObject.variables.gray80,
|
|
256
128
|
prisma: 'rgba(0, 0, 0, 0.2)'
|
|
257
129
|
});
|
|
258
|
-
var transparentSwatch =
|
|
130
|
+
var transparentSwatch = (0,external_styled_components_namespaceObject.css)(["background-image:linear-gradient( 45deg,", " 25%,transparent 25%,transparent 75%,", " 75%,", " ),linear-gradient( 45deg,", " 25%,transparent 25%,transparent 75%,", " 75%,", " );background-size:10px 10px;background-position:0 0,5px 5px;background-color:", ";"], backgroundBlockColor, backgroundBlockColor, backgroundBlockColor, backgroundBlockColor, backgroundBlockColor, backgroundBlockColor, (0,themes_namespaceObject.pick)({
|
|
259
131
|
enterprise: 'transparent',
|
|
260
|
-
prisma:
|
|
132
|
+
prisma: themes_namespaceObject.variables.white
|
|
261
133
|
}));
|
|
262
|
-
var StyledCheck = external_styled_components_default()(Checkmark_default
|
|
134
|
+
var StyledCheck = external_styled_components_default()((Checkmark_default())).withConfig({
|
|
263
135
|
displayName: "SwatchStyles__StyledCheck",
|
|
264
136
|
componentId: "sc-1wxunhq-0"
|
|
265
137
|
})(["box-sizing:border-box;color:#d3d3d3;height:100%;width:100%;"]);
|
|
266
|
-
var StyledClickable = external_styled_components_default()(Clickable_default
|
|
138
|
+
var StyledClickable = external_styled_components_default()((Clickable_default())).withConfig({
|
|
267
139
|
displayName: "SwatchStyles__StyledClickable",
|
|
268
140
|
componentId: "sc-1wxunhq-1"
|
|
269
|
-
})(["display:block;flex:0 0 auto;border:", ";", ";", ";", ";", " &:focus{border-color:", ";box-shadow:", ";}", " ", " ", " &[disabled]{background-image:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8));}", " ", ""],
|
|
141
|
+
})(["display:block;flex:0 0 auto;border:", ";", ";", ";", ";", " &:focus{border-color:", ";box-shadow:", ";}", " ", " ", " &[disabled]{background-image:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8));}", " ", ""], (0,themes_namespaceObject.pick)({
|
|
270
142
|
enterprise: {
|
|
271
|
-
light:
|
|
272
|
-
dark:
|
|
143
|
+
light: (0,external_styled_components_namespaceObject.css)(["1px solid ", ""], themes_namespaceObject.variables.gray60),
|
|
144
|
+
dark: themes_namespaceObject.variables.border
|
|
273
145
|
},
|
|
274
|
-
prisma:
|
|
275
|
-
}),
|
|
276
|
-
prisma:
|
|
146
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["1px solid ", ""], themes_namespaceObject.variables.interactiveColorBorder)
|
|
147
|
+
}), (0,themes_namespaceObject.pick)({
|
|
148
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["border-radius:2px;"])
|
|
277
149
|
}), function (_ref) {
|
|
278
150
|
var $value = _ref.$value;
|
|
279
|
-
return $value === null &&
|
|
151
|
+
return $value === null && (0,external_styled_components_namespaceObject.css)(["background-image:linear-gradient( to bottom right,transparent 48%,", ",transparent 52% );", ";"], (0,themes_namespaceObject.pick)({
|
|
280
152
|
enterprise: '#ed1e24',
|
|
281
|
-
prisma:
|
|
282
|
-
}),
|
|
283
|
-
prisma:
|
|
153
|
+
prisma: themes_namespaceObject.variables.accentColorNegative
|
|
154
|
+
}), (0,themes_namespaceObject.pick)({
|
|
155
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["background-color:", ";"], themes_namespaceObject.variables.white)
|
|
284
156
|
}));
|
|
285
157
|
}, function (_ref2) {
|
|
286
158
|
var $value = _ref2.$value;
|
|
287
159
|
return $value && ($value === 'transparent' ? transparentSwatch : "background-color: ".concat($value));
|
|
288
160
|
}, function (_ref3) {
|
|
289
161
|
var $noBorder = _ref3.$noBorder;
|
|
290
|
-
return $noBorder &&
|
|
291
|
-
},
|
|
162
|
+
return $noBorder && (0,external_styled_components_namespaceObject.css)(["border:none;"]);
|
|
163
|
+
}, themes_namespaceObject.variables.focusColor, themes_namespaceObject.variables.focusShadow, (0,themes_namespaceObject.pick)({
|
|
292
164
|
enterprise: {
|
|
293
|
-
comfortable:
|
|
294
|
-
compact:
|
|
165
|
+
comfortable: (0,external_styled_components_namespaceObject.css)(["width:32px;height:32px;"]),
|
|
166
|
+
compact: (0,external_styled_components_namespaceObject.css)(["width:28px;height:28px;"])
|
|
295
167
|
},
|
|
296
|
-
prisma:
|
|
168
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["width:24px;height:24px;"])
|
|
297
169
|
}), function (_ref4) {
|
|
298
170
|
var $prepend = _ref4.$prepend;
|
|
299
|
-
return $prepend &&
|
|
171
|
+
return $prepend && (0,external_styled_components_namespaceObject.css)(["border-top-left-radius:0;border-bottom-left-radius:0;"]);
|
|
300
172
|
}, function (_ref5) {
|
|
301
173
|
var $append = _ref5.$append;
|
|
302
|
-
return $append &&
|
|
174
|
+
return $append && (0,external_styled_components_namespaceObject.css)(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
303
175
|
}, function (_ref6) {
|
|
304
176
|
var $hasError = _ref6.$hasError;
|
|
305
|
-
return $hasError &&
|
|
306
|
-
enterprise:
|
|
307
|
-
prisma:
|
|
177
|
+
return $hasError && (0,external_styled_components_namespaceObject.css)(["box-shadow:inset 0 0 0 2px white;border-color:", ";"], (0,themes_namespaceObject.pick)({
|
|
178
|
+
enterprise: themes_namespaceObject.variables.errorColor,
|
|
179
|
+
prisma: themes_namespaceObject.variables.accentColorNegative
|
|
308
180
|
}));
|
|
309
181
|
}, function (_ref7) {
|
|
310
182
|
var $showSelected = _ref7.$showSelected;
|
|
311
|
-
return $showSelected &&
|
|
183
|
+
return $showSelected && (0,external_styled_components_namespaceObject.css)(["display:flex;align-items:center;justify-content:center;"]);
|
|
312
184
|
});
|
|
313
185
|
|
|
314
|
-
|
|
186
|
+
;// CONCATENATED MODULE: ./src/Color/Swatch.tsx
|
|
315
187
|
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); }
|
|
316
188
|
|
|
317
189
|
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; }
|
|
@@ -325,24 +197,24 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
325
197
|
|
|
326
198
|
|
|
327
199
|
var propTypes = {
|
|
328
|
-
append: external_prop_types_default.
|
|
329
|
-
elementRef: external_prop_types_default.
|
|
200
|
+
append: (external_prop_types_default()).bool,
|
|
201
|
+
elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object]),
|
|
330
202
|
|
|
331
203
|
/** @private */
|
|
332
|
-
error: external_prop_types_default.
|
|
204
|
+
error: (external_prop_types_default()).bool,
|
|
333
205
|
|
|
334
206
|
/** @private */
|
|
335
|
-
noBorder: external_prop_types_default.
|
|
207
|
+
noBorder: (external_prop_types_default()).bool,
|
|
336
208
|
|
|
337
209
|
/** @private. Call back function when activated. */
|
|
338
|
-
onClick: external_prop_types_default.
|
|
339
|
-
prepend: external_prop_types_default.
|
|
340
|
-
value: external_prop_types_default.
|
|
210
|
+
onClick: (external_prop_types_default()).func,
|
|
211
|
+
prepend: (external_prop_types_default()).bool,
|
|
212
|
+
value: (external_prop_types_default()).string,
|
|
341
213
|
|
|
342
214
|
/** @private */
|
|
343
|
-
showSelected: external_prop_types_default.
|
|
215
|
+
showSelected: (external_prop_types_default()).bool
|
|
344
216
|
};
|
|
345
|
-
var Swatch = /*#__PURE__*/external_react_default.
|
|
217
|
+
var Swatch = /*#__PURE__*/external_react_default().forwardRef(function (_ref, ref) {
|
|
346
218
|
var append = _ref.append,
|
|
347
219
|
_ref$error = _ref.error,
|
|
348
220
|
error = _ref$error === void 0 ? false : _ref$error,
|
|
@@ -353,16 +225,16 @@ var Swatch = /*#__PURE__*/external_react_default.a.forwardRef(function (_ref, re
|
|
|
353
225
|
showSelected = _ref.showSelected,
|
|
354
226
|
otherProps = _objectWithoutProperties(_ref, ["append", "error", "onClick", "prepend", "value", "noBorder", "showSelected"]);
|
|
355
227
|
|
|
356
|
-
var screenReaderValue = value === null || value === undefined ?
|
|
228
|
+
var screenReaderValue = value === null || value === undefined ? (0,i18n_namespaceObject._)('No color') : value; // Only valid hexadecimal strings, 'transparent' and `null` are allowed for background colors
|
|
357
229
|
// Invalid values are converted to `undefined`
|
|
358
230
|
|
|
359
231
|
var $value = value;
|
|
360
232
|
|
|
361
|
-
if (!(typeof $value === 'string' && (
|
|
233
|
+
if (!(typeof $value === 'string' && ((0,color_namespaceObject.isValidHexColor)($value) || $value === 'transparent')) && $value !== null && $value !== undefined) {
|
|
362
234
|
$value = undefined;
|
|
363
235
|
}
|
|
364
236
|
|
|
365
|
-
return /*#__PURE__*/external_react_default.
|
|
237
|
+
return /*#__PURE__*/external_react_default().createElement(StyledClickable, _extends({
|
|
366
238
|
onClick: function onClick(e) {
|
|
367
239
|
return _onClick === null || _onClick === void 0 ? void 0 : _onClick(e, {
|
|
368
240
|
value: value
|
|
@@ -377,121 +249,120 @@ var Swatch = /*#__PURE__*/external_react_default.a.forwardRef(function (_ref, re
|
|
|
377
249
|
$showSelected: showSelected,
|
|
378
250
|
"data-test": "swatch",
|
|
379
251
|
"data-test-value": value
|
|
380
|
-
}, otherProps), showSelected && /*#__PURE__*/external_react_default.
|
|
381
|
-
"aria-label":
|
|
252
|
+
}, otherProps), showSelected && /*#__PURE__*/external_react_default().createElement(StyledCheck, {
|
|
253
|
+
"aria-label": (0,i18n_namespaceObject._)('Selected'),
|
|
382
254
|
role: "presentation"
|
|
383
|
-
}), /*#__PURE__*/external_react_default.
|
|
255
|
+
}), /*#__PURE__*/external_react_default().createElement((ScreenReaderContent_default()), null, screenReaderValue));
|
|
384
256
|
});
|
|
385
257
|
Swatch.propTypes = propTypes;
|
|
386
|
-
/* harmony default export */
|
|
387
|
-
|
|
258
|
+
/* harmony default export */ const Color_Swatch = (Swatch);
|
|
259
|
+
;// CONCATENATED MODULE: ./src/Color/ColorStyles.ts
|
|
388
260
|
|
|
389
261
|
|
|
390
262
|
|
|
391
263
|
|
|
392
|
-
var StyledColor = external_styled_components_default.
|
|
264
|
+
var StyledColor = external_styled_components_default().div.withConfig({
|
|
393
265
|
displayName: "ColorStyles__StyledColor",
|
|
394
266
|
componentId: "jxrost-0"
|
|
395
|
-
})(["", ";flex-direction:row;"],
|
|
396
|
-
var StyledInput = external_styled_components_default.
|
|
267
|
+
})(["", ";flex-direction:row;"], themes_namespaceObject.mixins.reset('flex'));
|
|
268
|
+
var StyledInput = external_styled_components_default().div.withConfig({
|
|
397
269
|
displayName: "ColorStyles__StyledInput",
|
|
398
270
|
componentId: "jxrost-1"
|
|
399
|
-
})(["", ";"],
|
|
400
|
-
enterprise:
|
|
401
|
-
prisma:
|
|
271
|
+
})(["", ";"], (0,themes_namespaceObject.pick)({
|
|
272
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["display:flex;width:100%;"]),
|
|
273
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["position:relative;", ""], function (_ref) {
|
|
402
274
|
var $inDropdown = _ref.$inDropdown;
|
|
403
|
-
return $inDropdown ?
|
|
275
|
+
return $inDropdown ? (0,external_styled_components_namespaceObject.css)(["width:80px;"]) : (0,external_styled_components_namespaceObject.css)(["flex:0 1 auto;min-width:0;"]);
|
|
404
276
|
})
|
|
405
277
|
}));
|
|
406
|
-
var StyledInputText = external_styled_components_default()(Text_default
|
|
278
|
+
var StyledInputText = external_styled_components_default()((Text_default())).withConfig({
|
|
407
279
|
displayName: "ColorStyles__StyledInputText",
|
|
408
280
|
componentId: "jxrost-2"
|
|
409
281
|
})(["", ""], function (_ref2) {
|
|
410
282
|
var $inDropdown = _ref2.$inDropdown;
|
|
411
|
-
return $inDropdown &&
|
|
283
|
+
return $inDropdown && (0,external_styled_components_namespaceObject.css)(["font-size:12px;"]);
|
|
412
284
|
});
|
|
413
285
|
var StyledToggleSwatch = external_styled_components_default()(Color_Swatch).withConfig({
|
|
414
286
|
displayName: "ColorStyles__StyledToggleSwatch",
|
|
415
287
|
componentId: "jxrost-3"
|
|
416
|
-
})(["", ""],
|
|
288
|
+
})(["", ""], (0,themes_namespaceObject.pick)({
|
|
417
289
|
prisma: {
|
|
418
|
-
comfortable:
|
|
419
|
-
compact:
|
|
290
|
+
comfortable: (0,external_styled_components_namespaceObject.css)(["width:40px;height:40px;"]),
|
|
291
|
+
compact: (0,external_styled_components_namespaceObject.css)(["width:32px;height:32px;"])
|
|
420
292
|
},
|
|
421
293
|
enterprise: {
|
|
422
|
-
comfortable:
|
|
423
|
-
compact:
|
|
294
|
+
comfortable: (0,external_styled_components_namespaceObject.css)(["width:32px;height:32px;"]),
|
|
295
|
+
compact: (0,external_styled_components_namespaceObject.css)(["width:28px;height:28px;"])
|
|
424
296
|
}
|
|
425
297
|
}));
|
|
426
298
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
var ChevronDown_default = /*#__PURE__*/__webpack_require__.n(
|
|
299
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/ChevronDown"
|
|
300
|
+
const ChevronDown_namespaceObject = require("@splunk/react-icons/ChevronDown");
|
|
301
|
+
var ChevronDown_default = /*#__PURE__*/__webpack_require__.n(ChevronDown_namespaceObject);
|
|
302
|
+
;// CONCATENATED MODULE: ./src/Color/PaletteStyles.ts
|
|
430
303
|
|
|
431
|
-
// CONCATENATED MODULE: ./src/Color/PaletteStyles.ts
|
|
432
304
|
|
|
433
305
|
|
|
434
306
|
|
|
435
|
-
|
|
436
|
-
var StyledPalette = external_styled_components_default.a.div.withConfig({
|
|
307
|
+
var StyledPalette = external_styled_components_default().div.withConfig({
|
|
437
308
|
displayName: "PaletteStyles__StyledPalette",
|
|
438
309
|
componentId: "qgv9v9-0"
|
|
439
|
-
})(["width:", ";padding:", ";", ""],
|
|
310
|
+
})(["width:", ";padding:", ";", ""], (0,themes_namespaceObject.pick)({
|
|
440
311
|
enterprise: '180px',
|
|
441
312
|
prisma: '224px'
|
|
442
|
-
}),
|
|
443
|
-
enterprise:
|
|
313
|
+
}), (0,themes_namespaceObject.pick)({
|
|
314
|
+
enterprise: themes_namespaceObject.variables.spacingHalf,
|
|
444
315
|
prisma: '8px'
|
|
445
|
-
}),
|
|
446
|
-
prisma:
|
|
316
|
+
}), (0,themes_namespaceObject.pick)({
|
|
317
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["display:flex;flex-direction:column;border-radius:2px;"])
|
|
447
318
|
}));
|
|
448
|
-
var StyledSwatches = external_styled_components_default.
|
|
319
|
+
var StyledSwatches = external_styled_components_default().ul.withConfig({
|
|
449
320
|
displayName: "PaletteStyles__StyledSwatches",
|
|
450
321
|
componentId: "qgv9v9-1"
|
|
451
|
-
})(["", ";margin-bottom:", ";margin-right:", ";", ""],
|
|
322
|
+
})(["", ";margin-bottom:", ";margin-right:", ";", ""], themes_namespaceObject.mixins.reset('block'), (0,themes_namespaceObject.pick)({
|
|
452
323
|
enterprise: '6px'
|
|
453
|
-
}),
|
|
324
|
+
}), (0,themes_namespaceObject.pick)({
|
|
454
325
|
enterprise: '-6px'
|
|
455
|
-
}),
|
|
456
|
-
prisma:
|
|
326
|
+
}), (0,themes_namespaceObject.pick)({
|
|
327
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["position:relative;"])
|
|
457
328
|
}));
|
|
458
|
-
var StyledSwatch = external_styled_components_default.
|
|
329
|
+
var StyledSwatch = external_styled_components_default().li.withConfig({
|
|
459
330
|
displayName: "PaletteStyles__StyledSwatch",
|
|
460
331
|
componentId: "qgv9v9-2"
|
|
461
|
-
})(["", ";margin-right:", ";margin-bottom:", ";", ""],
|
|
462
|
-
enterprise:
|
|
332
|
+
})(["", ";margin-right:", ";margin-bottom:", ";", ""], themes_namespaceObject.mixins.reset('inline-block'), (0,themes_namespaceObject.pick)({
|
|
333
|
+
enterprise: themes_namespaceObject.variables.spacingQuarter,
|
|
463
334
|
prisma: '4px'
|
|
464
|
-
}),
|
|
465
|
-
enterprise:
|
|
335
|
+
}), (0,themes_namespaceObject.pick)({
|
|
336
|
+
enterprise: themes_namespaceObject.variables.spacingQuarter,
|
|
466
337
|
prisma: '4px'
|
|
467
|
-
}),
|
|
468
|
-
prisma:
|
|
338
|
+
}), (0,themes_namespaceObject.pick)({
|
|
339
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["vertical-align:top;&:nth-child(8n){margin-right:0;}"])
|
|
469
340
|
}));
|
|
470
|
-
var StyledToolBarPrisma = external_styled_components_default.
|
|
341
|
+
var StyledToolBarPrisma = external_styled_components_default().div.withConfig({
|
|
471
342
|
displayName: "PaletteStyles__StyledToolBarPrisma",
|
|
472
343
|
componentId: "qgv9v9-3"
|
|
473
344
|
})(["position:relative;display:flex;align-items:center;padding:0;margin-top:12px;gap:4px;"]);
|
|
474
|
-
var StyledExpandButton = external_styled_components_default()(Clickable_default
|
|
345
|
+
var StyledExpandButton = external_styled_components_default()((Clickable_default())).withConfig({
|
|
475
346
|
displayName: "PaletteStyles__StyledExpandButton",
|
|
476
347
|
componentId: "qgv9v9-4"
|
|
477
|
-
})(["position:absolute;bottom:4px;right:4px;padding:2px 4px;border-radius:2px;&:focus{box-shadow:", ";}", ""],
|
|
348
|
+
})(["position:absolute;bottom:4px;right:4px;padding:2px 4px;border-radius:2px;&:focus{box-shadow:", ";}", ""], themes_namespaceObject.variables.focusShadow, function (_ref) {
|
|
478
349
|
var $expanded = _ref.$expanded;
|
|
479
|
-
return $expanded &&
|
|
350
|
+
return $expanded && (0,external_styled_components_namespaceObject.css)(["transform:rotate(180deg);"]);
|
|
480
351
|
});
|
|
481
|
-
var StyledSystemColorPickerWrapper = external_styled_components_default.
|
|
352
|
+
var StyledSystemColorPickerWrapper = external_styled_components_default().div.withConfig({
|
|
482
353
|
displayName: "PaletteStyles__StyledSystemColorPickerWrapper",
|
|
483
354
|
componentId: "qgv9v9-5"
|
|
484
355
|
})(["position:relative;"]);
|
|
485
|
-
var StyledSystemColorPicker = external_styled_components_default.
|
|
356
|
+
var StyledSystemColorPicker = external_styled_components_default().input.withConfig({
|
|
486
357
|
displayName: "PaletteStyles__StyledSystemColorPicker",
|
|
487
358
|
componentId: "qgv9v9-6"
|
|
488
|
-
})(["box-sizing:border-box;height:24px;width:24px;border:none;border-radius:2px;outline:none;appearance:none;padding:12px;margin:0;background:conic-gradient( #ef3434,#ef9a34,#deef34,#78ef34,#34ef56,#34efbc,#34bcef,#3456ef,#7834ef,#de34ef,#ef349a,#ef3434 );background-repeat:no-repeat;background-position:-6px -6px;background-size:36px 36px;cursor:pointer;&::-webkit-color-swatch{border:none;border-radius:2px;}&::-moz-color-swatch{opacity:0;}&:focus{box-shadow:", ";}"],
|
|
489
|
-
var PaletteStyles_StyledCheck = external_styled_components_default()(Checkmark_default
|
|
359
|
+
})(["box-sizing:border-box;height:24px;width:24px;border:none;border-radius:2px;outline:none;appearance:none;padding:12px;margin:0;background:conic-gradient( #ef3434,#ef9a34,#deef34,#78ef34,#34ef56,#34efbc,#34bcef,#3456ef,#7834ef,#de34ef,#ef349a,#ef3434 );background-repeat:no-repeat;background-position:-6px -6px;background-size:36px 36px;cursor:pointer;&::-webkit-color-swatch{border:none;border-radius:2px;}&::-moz-color-swatch{opacity:0;}&:focus{box-shadow:", ";}"], themes_namespaceObject.variables.focusShadow);
|
|
360
|
+
var PaletteStyles_StyledCheck = external_styled_components_default()((Checkmark_default())).withConfig({
|
|
490
361
|
displayName: "PaletteStyles__StyledCheck",
|
|
491
362
|
componentId: "qgv9v9-7"
|
|
492
363
|
})(["box-sizing:border-box;color:#d3d3d3;height:100%;width:100%;position:absolute;top:0;left:0;pointer-events:none;"]);
|
|
493
364
|
|
|
494
|
-
|
|
365
|
+
;// CONCATENATED MODULE: ./src/Color/Palette.tsx
|
|
495
366
|
|
|
496
367
|
|
|
497
368
|
|
|
@@ -513,7 +384,7 @@ function Palette(_ref) {
|
|
|
513
384
|
onSystemColorPickerChange = _ref.onSystemColorPickerChange,
|
|
514
385
|
renderInput = _ref.renderInput;
|
|
515
386
|
|
|
516
|
-
var _useSplunkTheme =
|
|
387
|
+
var _useSplunkTheme = (0,themes_namespaceObject.useSplunkTheme)(),
|
|
517
388
|
isPrisma = _useSplunkTheme.isPrisma,
|
|
518
389
|
isLight = _useSplunkTheme.isLight;
|
|
519
390
|
|
|
@@ -524,9 +395,9 @@ function Palette(_ref) {
|
|
|
524
395
|
var formattedValue = swatchValue === null ? null : toLower_default()(swatchValue);
|
|
525
396
|
var selected = formattedValue === value;
|
|
526
397
|
var shouldFocus = !isValueInPalette && index === 0 || isValueInPalette && selected;
|
|
527
|
-
return /*#__PURE__*/external_react_default.
|
|
398
|
+
return /*#__PURE__*/external_react_default().createElement(StyledSwatch, {
|
|
528
399
|
key: formattedValue || 'null'
|
|
529
|
-
}, /*#__PURE__*/external_react_default.
|
|
400
|
+
}, /*#__PURE__*/external_react_default().createElement(Color_Swatch, {
|
|
530
401
|
value: formattedValue,
|
|
531
402
|
ref: shouldFocus ? swatchToFocusRef : null,
|
|
532
403
|
onClick: onSwatchClick,
|
|
@@ -540,55 +411,55 @@ function Palette(_ref) {
|
|
|
540
411
|
var swatchEnd = swatches.length === 8 ? 7 : 15;
|
|
541
412
|
var swatchesDefaultDisplay = slice_default()(swatches, 0, swatchEnd);
|
|
542
413
|
var swatchesExpandDisplay = slice_default()(swatches, swatchEnd);
|
|
543
|
-
return /*#__PURE__*/external_react_default.
|
|
414
|
+
return /*#__PURE__*/external_react_default().createElement(StyledPalette, null, /*#__PURE__*/external_react_default().createElement("div", {
|
|
544
415
|
style: {
|
|
545
416
|
position: 'relative'
|
|
546
417
|
}
|
|
547
|
-
}, /*#__PURE__*/external_react_default.
|
|
418
|
+
}, /*#__PURE__*/external_react_default().createElement(StyledSwatches, null, swatchesDefaultDisplay, expanded && swatchesExpandDisplay), expanded && /*#__PURE__*/external_react_default().createElement(StyledToolBarPrisma, {
|
|
548
419
|
"data-test": "tool-bar"
|
|
549
|
-
}, /*#__PURE__*/external_react_default.
|
|
420
|
+
}, /*#__PURE__*/external_react_default().createElement(themes_namespaceObject.SplunkThemeProvider, {
|
|
550
421
|
density: "compact"
|
|
551
|
-
}, renderInput && renderInput()), /*#__PURE__*/external_react_default.
|
|
422
|
+
}, renderInput && renderInput()), /*#__PURE__*/external_react_default().createElement(Color_Swatch, {
|
|
552
423
|
value: null,
|
|
553
424
|
ref: value === null ? swatchToFocusRef : null,
|
|
554
425
|
onClick: onSwatchClick,
|
|
555
426
|
noBorder: !isLight,
|
|
556
427
|
showSelected: value === null
|
|
557
|
-
}), /*#__PURE__*/external_react_default.
|
|
428
|
+
}), /*#__PURE__*/external_react_default().createElement(Color_Swatch, {
|
|
558
429
|
value: "#ffffff",
|
|
559
430
|
ref: value === '#ffffff' ? swatchToFocusRef : null,
|
|
560
431
|
onClick: onSwatchClick,
|
|
561
432
|
noBorder: !isLight,
|
|
562
433
|
showSelected: value === '#ffffff'
|
|
563
|
-
}), /*#__PURE__*/external_react_default.
|
|
434
|
+
}), /*#__PURE__*/external_react_default().createElement(Color_Swatch, {
|
|
564
435
|
value: "#000000",
|
|
565
436
|
ref: value === '#000000' ? swatchToFocusRef : null,
|
|
566
437
|
onClick: onSwatchClick,
|
|
567
438
|
noBorder: true,
|
|
568
439
|
showSelected: value === '#000000'
|
|
569
|
-
}), /*#__PURE__*/external_react_default.
|
|
440
|
+
}), /*#__PURE__*/external_react_default().createElement(StyledSystemColorPickerWrapper, null, /*#__PURE__*/external_react_default().createElement(StyledSystemColorPicker, {
|
|
570
441
|
type: "color" // TODO: SUI-2806 Remove the warning with Prisma null example
|
|
571
442
|
// Warning only exists in Chrome: https://chromium.googlesource.com/chromium/src/+/011c27ced479c76cffd5093ce107082e4da657f3/third_party/blink/renderer/core/html/forms/color_input_type.cc#190
|
|
572
443
|
,
|
|
573
444
|
value: value === null ? '' : value,
|
|
574
445
|
onChange: onSystemColorPickerChange,
|
|
575
446
|
ref: isCustomColor ? swatchToFocusRef : null
|
|
576
|
-
}), isCustomColor && /*#__PURE__*/external_react_default.
|
|
577
|
-
"aria-label":
|
|
447
|
+
}), isCustomColor && /*#__PURE__*/external_react_default().createElement(PaletteStyles_StyledCheck, {
|
|
448
|
+
"aria-label": (0,i18n_namespaceObject._)('Selected'),
|
|
578
449
|
role: "presentation"
|
|
579
|
-
}))), /*#__PURE__*/external_react_default.
|
|
450
|
+
}))), /*#__PURE__*/external_react_default().createElement(StyledExpandButton, {
|
|
580
451
|
ref: expandButtonRef,
|
|
581
452
|
$expanded: expanded,
|
|
582
453
|
onClick: onPaletteExpand,
|
|
583
454
|
"data-test": "expand-button"
|
|
584
|
-
}, /*#__PURE__*/external_react_default.
|
|
455
|
+
}, /*#__PURE__*/external_react_default().createElement((ChevronDown_default()), null))));
|
|
585
456
|
}
|
|
586
457
|
|
|
587
|
-
return /*#__PURE__*/external_react_default.
|
|
458
|
+
return /*#__PURE__*/external_react_default().createElement(StyledPalette, null, /*#__PURE__*/external_react_default().createElement(StyledSwatches, null, swatches), renderInput && renderInput());
|
|
588
459
|
}
|
|
589
460
|
|
|
590
|
-
/* harmony default export */
|
|
591
|
-
|
|
461
|
+
/* harmony default export */ const Color_Palette = (Palette);
|
|
462
|
+
;// CONCATENATED MODULE: ./src/Color/Color.tsx
|
|
592
463
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
593
464
|
|
|
594
465
|
function Color_extends() { Color_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 Color_extends.apply(this, arguments); }
|
|
@@ -672,22 +543,22 @@ var generatePalette = memoize_default()(function (initialPalette) {
|
|
|
672
543
|
|
|
673
544
|
var toolPalette = ['#ffffff', '#000000', null];
|
|
674
545
|
var Color_propTypes = {
|
|
675
|
-
append: external_prop_types_default.
|
|
676
|
-
defaultValue: external_prop_types_default.
|
|
677
|
-
describedBy: external_prop_types_default.
|
|
678
|
-
disabled: external_prop_types_default.
|
|
679
|
-
elementRef: external_prop_types_default.
|
|
680
|
-
error: external_prop_types_default.
|
|
681
|
-
hideInput: external_prop_types_default.
|
|
682
|
-
labelledBy: external_prop_types_default.
|
|
683
|
-
name: external_prop_types_default.
|
|
684
|
-
onChange: external_prop_types_default.
|
|
685
|
-
palette: external_prop_types_default.
|
|
686
|
-
prepend: external_prop_types_default.
|
|
546
|
+
append: (external_prop_types_default()).bool,
|
|
547
|
+
defaultValue: (external_prop_types_default()).string,
|
|
548
|
+
describedBy: (external_prop_types_default()).string,
|
|
549
|
+
disabled: (external_prop_types_default()).bool,
|
|
550
|
+
elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object]),
|
|
551
|
+
error: (external_prop_types_default()).bool,
|
|
552
|
+
hideInput: (external_prop_types_default()).bool,
|
|
553
|
+
labelledBy: (external_prop_types_default()).string,
|
|
554
|
+
name: (external_prop_types_default()).string,
|
|
555
|
+
onChange: (external_prop_types_default()).func,
|
|
556
|
+
palette: (external_prop_types_default()).array,
|
|
557
|
+
prepend: (external_prop_types_default()).bool,
|
|
687
558
|
|
|
688
559
|
/** @private */
|
|
689
|
-
splunkTheme: external_prop_types_default.
|
|
690
|
-
value: external_prop_types_default.
|
|
560
|
+
splunkTheme: (external_prop_types_default()).object,
|
|
561
|
+
value: (external_prop_types_default()).string
|
|
691
562
|
};
|
|
692
563
|
var defaultProps = {
|
|
693
564
|
append: false,
|
|
@@ -699,8 +570,8 @@ var defaultProps = {
|
|
|
699
570
|
};
|
|
700
571
|
|
|
701
572
|
// TODO: SUI-2551 Deprecate this in favor of ui-utils implementation
|
|
702
|
-
var
|
|
703
|
-
return
|
|
573
|
+
var isValidHEX = function isValidHEX(value) {
|
|
574
|
+
return (0,color_namespaceObject.isValidHexColor)(value);
|
|
704
575
|
};
|
|
705
576
|
|
|
706
577
|
var NAUppercase = 'N/A';
|
|
@@ -713,7 +584,7 @@ var NALowercase = 'n/a';
|
|
|
713
584
|
* 2. Otherwise the first color swatch receives focus.
|
|
714
585
|
*/
|
|
715
586
|
|
|
716
|
-
var
|
|
587
|
+
var Color = /*#__PURE__*/function (_Component) {
|
|
717
588
|
_inherits(Color, _Component);
|
|
718
589
|
|
|
719
590
|
var _super = _createSuper(Color);
|
|
@@ -800,7 +671,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
800
671
|
});
|
|
801
672
|
|
|
802
673
|
_defineProperty(_assertThisInitialized(_this), "handleTextKeyDown", function (e) {
|
|
803
|
-
if (
|
|
674
|
+
if ((0,keyboard_namespaceObject.keycode)(e.nativeEvent) === 'enter') {
|
|
804
675
|
e.preventDefault();
|
|
805
676
|
|
|
806
677
|
_this.handleRequestClose({
|
|
@@ -936,11 +807,11 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
936
807
|
_this.focus();
|
|
937
808
|
}, 200));
|
|
938
809
|
|
|
939
|
-
_this.focusSwatch = /*#__PURE__*/external_react_default.
|
|
940
|
-
_this.focusExpandButton = /*#__PURE__*/external_react_default.
|
|
810
|
+
_this.focusSwatch = /*#__PURE__*/external_react_default().createRef();
|
|
811
|
+
_this.focusExpandButton = /*#__PURE__*/external_react_default().createRef();
|
|
941
812
|
_this.controlledExternally = has_default()(props, 'value'); // value can be hexadecimal color, 'transparent' or null
|
|
942
813
|
|
|
943
|
-
var _value = _this.controlledExternally ?
|
|
814
|
+
var _value = _this.controlledExternally ? (0,color_namespaceObject.expandShortHandHex)(props.value) : (0,color_namespaceObject.expandShortHandHex)(props.defaultValue);
|
|
944
815
|
|
|
945
816
|
if (_value !== null) {
|
|
946
817
|
_value = toLower_default()(_value);
|
|
@@ -989,7 +860,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
989
860
|
return value === null ? null : toLower_default()(value);
|
|
990
861
|
};
|
|
991
862
|
|
|
992
|
-
var sixDigitHex =
|
|
863
|
+
var sixDigitHex = (0,color_namespaceObject.expandShortHandHex)(this.props.value);
|
|
993
864
|
|
|
994
865
|
if (this.props.value === null && !this.showNull()) {
|
|
995
866
|
return undefined;
|
|
@@ -1008,7 +879,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1008
879
|
var isPrisma = splunkTheme.isPrisma;
|
|
1009
880
|
|
|
1010
881
|
if (displayValue) {
|
|
1011
|
-
var isValidHEXValue =
|
|
882
|
+
var isValidHEXValue = isValidHEX(displayValue);
|
|
1012
883
|
|
|
1013
884
|
if (!isValidHEXValue && displayValue !== 'transparent' && displayValue !== NAUppercase) {
|
|
1014
885
|
// eslint-disable-next-line no-console
|
|
@@ -1016,14 +887,14 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1016
887
|
}
|
|
1017
888
|
|
|
1018
889
|
if (isValidHEXValue || Color.hasTransparent(this.props.palette) && displayValue === 'transparent' || (Color.hasNull(this.props.palette) || isPrisma) && displayValue === NAUppercase) {
|
|
1019
|
-
var formattedDisplayValue =
|
|
890
|
+
var formattedDisplayValue = (0,color_namespaceObject.expandShortHandHex)(displayValue);
|
|
1020
891
|
this.setState({
|
|
1021
892
|
displayValue: formattedDisplayValue
|
|
1022
893
|
});
|
|
1023
894
|
var hasColorChanged = displayValue !== (this.props.value && toLower_default()(this.props.value));
|
|
1024
895
|
var name = this.props.name;
|
|
1025
896
|
var value = displayValue === NAUppercase ? null : displayValue;
|
|
1026
|
-
var formattedValue =
|
|
897
|
+
var formattedValue = (0,color_namespaceObject.expandShortHandHex)(value);
|
|
1027
898
|
|
|
1028
899
|
if (displayValue && !this.isControlled()) {
|
|
1029
900
|
this.setState({
|
|
@@ -1078,22 +949,22 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1078
949
|
|
|
1079
950
|
inputSwatchValue = showTransparent ? 'transparent' : inputSwatchValue;
|
|
1080
951
|
inputSwatchValue = showNullSwatch ? null : inputSwatchValue;
|
|
1081
|
-
return /*#__PURE__*/external_react_default.
|
|
952
|
+
return /*#__PURE__*/external_react_default().createElement(StyledInput, {
|
|
1082
953
|
$inDropdown: inDropdown
|
|
1083
|
-
}, /*#__PURE__*/external_react_default.
|
|
954
|
+
}, /*#__PURE__*/external_react_default().createElement(StyledInputText, {
|
|
1084
955
|
$inDropdown: inDropdown,
|
|
1085
956
|
append: textAppend,
|
|
1086
957
|
autoCapitalize: "off",
|
|
1087
958
|
autoComplete: "off",
|
|
1088
959
|
autoCorrect: "off",
|
|
1089
960
|
spellCheck: false,
|
|
1090
|
-
"aria-label":
|
|
961
|
+
"aria-label": (0,i18n_namespaceObject._)('Hexadecimal color value'),
|
|
1091
962
|
prepend: textPrepend,
|
|
1092
963
|
inline: textInline,
|
|
1093
964
|
onKeyDown: this.handleTextKeyDown,
|
|
1094
965
|
onChange: this.handleTextChange,
|
|
1095
966
|
value: displayValue
|
|
1096
|
-
}), !isPrisma && /*#__PURE__*/external_react_default.
|
|
967
|
+
}), !isPrisma && /*#__PURE__*/external_react_default().createElement(Color_Swatch, {
|
|
1097
968
|
"data-test": "textbox-swatch",
|
|
1098
969
|
onClick: this.handleButtonClick,
|
|
1099
970
|
value: inputSwatchValue,
|
|
@@ -1114,7 +985,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1114
985
|
palette = _this$props5.palette;
|
|
1115
986
|
var expanded = this.state.expanded;
|
|
1116
987
|
var isPrisma = splunkTheme.isPrisma;
|
|
1117
|
-
return /*#__PURE__*/external_react_default.
|
|
988
|
+
return /*#__PURE__*/external_react_default().createElement(Color_Palette, {
|
|
1118
989
|
palette: palette,
|
|
1119
990
|
value: this.getValue(),
|
|
1120
991
|
swatchToFocusRef: this.focusSwatch,
|
|
@@ -1161,7 +1032,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1161
1032
|
var isPrisma = splunkTheme.isPrisma;
|
|
1162
1033
|
var value = this.getValue();
|
|
1163
1034
|
var displayValue = this.state.displayValue;
|
|
1164
|
-
var toggle = /*#__PURE__*/external_react_default.
|
|
1035
|
+
var toggle = /*#__PURE__*/external_react_default().createElement(StyledToggleSwatch, Color_extends({
|
|
1165
1036
|
append: isPrisma && !hideInput ? true : append,
|
|
1166
1037
|
"data-test": "color",
|
|
1167
1038
|
"data-test-value": displayValue,
|
|
@@ -1176,7 +1047,7 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1176
1047
|
value: value
|
|
1177
1048
|
}, omit_default()(otherProps, [].concat(_toConsumableArray(keys_default()(Color.propTypes)), [// TS: trick omit
|
|
1178
1049
|
'onChange']))));
|
|
1179
|
-
return /*#__PURE__*/external_react_default.
|
|
1050
|
+
return /*#__PURE__*/external_react_default().createElement(StyledColor, null, /*#__PURE__*/external_react_default().createElement((Dropdown_default()), {
|
|
1180
1051
|
closeReasons: ['clickAway', 'escapeKey', 'offScreen', 'toggleClick'],
|
|
1181
1052
|
onRequestClose: this.handleRequestClose,
|
|
1182
1053
|
onRequestOpen: this.handleRequestOpen,
|
|
@@ -1198,119 +1069,20 @@ var Color_Color = /*#__PURE__*/function (_Component) {
|
|
|
1198
1069
|
}]);
|
|
1199
1070
|
|
|
1200
1071
|
return Color;
|
|
1201
|
-
}(
|
|
1072
|
+
}(external_react_namespaceObject.Component);
|
|
1202
1073
|
|
|
1203
|
-
_defineProperty(
|
|
1074
|
+
_defineProperty(Color, "propTypes", Color_propTypes);
|
|
1204
1075
|
|
|
1205
|
-
_defineProperty(
|
|
1076
|
+
_defineProperty(Color, "defaultProps", defaultProps);
|
|
1206
1077
|
|
|
1207
|
-
var ColorWithTheme =
|
|
1208
|
-
ColorWithTheme.propTypes =
|
|
1078
|
+
var ColorWithTheme = (0,themes_namespaceObject.withSplunkTheme)(Color);
|
|
1079
|
+
ColorWithTheme.propTypes = Color.propTypes;
|
|
1209
1080
|
// TODO: SUI-2551 Deprecate this in favor of ui-utils implementation
|
|
1210
1081
|
|
|
1211
|
-
/* harmony default export */
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
/***/ }),
|
|
1217
|
-
|
|
1218
|
-
/***/ 2:
|
|
1219
|
-
/***/ (function(module, exports) {
|
|
1220
|
-
|
|
1221
|
-
module.exports = require("react");
|
|
1222
|
-
|
|
1223
|
-
/***/ }),
|
|
1224
|
-
|
|
1225
|
-
/***/ 22:
|
|
1226
|
-
/***/ (function(module, exports) {
|
|
1227
|
-
|
|
1228
|
-
module.exports = require("@splunk/react-ui/Dropdown");
|
|
1229
|
-
|
|
1230
|
-
/***/ }),
|
|
1231
|
-
|
|
1232
|
-
/***/ 3:
|
|
1233
|
-
/***/ (function(module, exports) {
|
|
1234
|
-
|
|
1235
|
-
module.exports = require("styled-components");
|
|
1236
|
-
|
|
1237
|
-
/***/ }),
|
|
1238
|
-
|
|
1239
|
-
/***/ 32:
|
|
1240
|
-
/***/ (function(module, exports) {
|
|
1241
|
-
|
|
1242
|
-
module.exports = require("@splunk/react-ui/Text");
|
|
1243
|
-
|
|
1244
|
-
/***/ }),
|
|
1245
|
-
|
|
1246
|
-
/***/ 36:
|
|
1247
|
-
/***/ (function(module, exports) {
|
|
1248
|
-
|
|
1249
|
-
module.exports = require("lodash/toLower");
|
|
1250
|
-
|
|
1251
|
-
/***/ }),
|
|
1252
|
-
|
|
1253
|
-
/***/ 4:
|
|
1254
|
-
/***/ (function(module, exports) {
|
|
1255
|
-
|
|
1256
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1257
|
-
|
|
1258
|
-
/***/ }),
|
|
1259
|
-
|
|
1260
|
-
/***/ 40:
|
|
1261
|
-
/***/ (function(module, exports) {
|
|
1262
|
-
|
|
1263
|
-
module.exports = require("lodash/memoize");
|
|
1264
|
-
|
|
1265
|
-
/***/ }),
|
|
1266
|
-
|
|
1267
|
-
/***/ 5:
|
|
1268
|
-
/***/ (function(module, exports) {
|
|
1269
|
-
|
|
1270
|
-
module.exports = require("lodash/omit");
|
|
1271
|
-
|
|
1272
|
-
/***/ }),
|
|
1273
|
-
|
|
1274
|
-
/***/ 50:
|
|
1275
|
-
/***/ (function(module, exports) {
|
|
1276
|
-
|
|
1277
|
-
module.exports = require("@splunk/ui-utils/color");
|
|
1278
|
-
|
|
1279
|
-
/***/ }),
|
|
1280
|
-
|
|
1281
|
-
/***/ 68:
|
|
1282
|
-
/***/ (function(module, exports) {
|
|
1283
|
-
|
|
1284
|
-
module.exports = require("lodash/debounce");
|
|
1285
|
-
|
|
1286
|
-
/***/ }),
|
|
1287
|
-
|
|
1288
|
-
/***/ 69:
|
|
1289
|
-
/***/ (function(module, exports) {
|
|
1290
|
-
|
|
1291
|
-
module.exports = require("tinycolor2");
|
|
1292
|
-
|
|
1293
|
-
/***/ }),
|
|
1294
|
-
|
|
1295
|
-
/***/ 7:
|
|
1296
|
-
/***/ (function(module, exports) {
|
|
1297
|
-
|
|
1298
|
-
module.exports = require("@splunk/ui-utils/keyboard");
|
|
1299
|
-
|
|
1300
|
-
/***/ }),
|
|
1301
|
-
|
|
1302
|
-
/***/ 78:
|
|
1303
|
-
/***/ (function(module, exports) {
|
|
1304
|
-
|
|
1305
|
-
module.exports = require("@splunk/react-icons/Checkmark");
|
|
1306
|
-
|
|
1307
|
-
/***/ }),
|
|
1308
|
-
|
|
1309
|
-
/***/ 9:
|
|
1310
|
-
/***/ (function(module, exports) {
|
|
1311
|
-
|
|
1312
|
-
module.exports = require("lodash/keys");
|
|
1082
|
+
/* harmony default export */ const Color_Color = (ColorWithTheme);
|
|
1083
|
+
;// CONCATENATED MODULE: ./src/Color/index.ts
|
|
1313
1084
|
|
|
1314
|
-
/***/ })
|
|
1315
1085
|
|
|
1316
|
-
|
|
1086
|
+
module.exports = __webpack_exports__;
|
|
1087
|
+
/******/ })()
|
|
1088
|
+
;
|