@splunk/react-ui 4.19.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.d.ts +2 -0
- package/Breadcrumbs.js +207 -0
- package/Button.js +168 -316
- package/ButtonGroup.js +84 -168
- package/ButtonSimple.js +224 -324
- package/CHANGELOG.md +35 -0
- package/Calendar.js +264 -462
- package/Card.js +223 -371
- package/CardLayout.js +87 -163
- package/Chip.js +199 -323
- package/Clickable.js +132 -248
- package/CloseButton.js +92 -200
- package/Code.js +188 -251
- 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 -355
- package/Menu.js +396 -647
- 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 +2675 -2807
- package/Number.js +178 -334
- package/Paginator.js +170 -336
- package/Paragraph.js +77 -153
- package/Popover.js +436 -623
- package/Progress.js +139 -255
- package/RadioBar.js +156 -280
- package/RadioList.js +182 -282
- package/Resize.js +173 -307
- package/ResultsMenu.js +183 -304
- package/ScreenReaderContent.js +75 -151
- package/Scroll.js +125 -267
- package/ScrollContainerContext.js +129 -201
- package/Search.js +188 -354
- package/Select.js +1243 -1248
- 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 +975 -1447
- 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 +20 -21
- package/stubs-splunkui.d.ts +4 -1
- package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
- package/types/src/Breadcrumbs/Item.d.ts +42 -0
- package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
- package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
- package/types/src/Breadcrumbs/index.d.ts +2 -0
- package/types/src/Code/Code.d.ts +1 -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 +12 -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/Compact.d.ts +4 -0
- package/types/src/Multiselect/Multiselect.d.ts +5 -0
- package/types/src/Multiselect/Option.d.ts +1 -1
- package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
- 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/Select/SelectAllOption.d.ts +14 -0
- package/types/src/Select/SelectBase.d.ts +11 -3
- package/types/src/Table/Table.d.ts +4 -0
- package/types/src/Text/Text.d.ts +3 -3
- package/types/src/TextArea/TextArea.d.ts +3 -3
- 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/Typography/docs/examples/Variants.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/Text.js
CHANGED
|
@@ -1,243 +1,107 @@
|
|
|
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 = 195);
|
|
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
|
-
/***/ 10:
|
|
105
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
|
-
|
|
107
|
-
"use strict";
|
|
108
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
|
|
109
|
-
/**
|
|
110
|
-
* Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
|
|
111
|
-
*
|
|
112
|
-
* @param ref - The React callback or object ref. Can be `null` or `undefined`.
|
|
113
|
-
* @param current - The new value of the ref.
|
|
114
|
-
*/
|
|
115
|
-
function updateReactRef(ref, current) {
|
|
116
|
-
if (ref) {
|
|
117
|
-
if (typeof ref === 'function') {
|
|
118
|
-
ref(current);
|
|
119
|
-
} else {
|
|
120
|
-
// the public signature of this util uses React.Ref<T> to mirror the way React types refs.
|
|
121
|
-
// the intention here is to signal "we will take care of setting 'current', not you".
|
|
122
|
-
ref.current = current; // eslint-disable-line no-param-reassign
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
/***/ }),
|
|
130
|
-
|
|
131
|
-
/***/ 105:
|
|
132
|
-
/***/ (function(module, exports) {
|
|
133
|
-
|
|
134
|
-
module.exports = require("@splunk/react-ui/ControlGroup");
|
|
135
|
-
|
|
136
|
-
/***/ }),
|
|
137
|
-
|
|
138
|
-
/***/ 11:
|
|
139
|
-
/***/ (function(module, exports) {
|
|
140
|
-
|
|
141
|
-
module.exports = require("lodash/has");
|
|
142
|
-
|
|
143
|
-
/***/ }),
|
|
144
|
-
|
|
145
|
-
/***/ 14:
|
|
146
|
-
/***/ (function(module, exports) {
|
|
147
|
-
|
|
148
|
-
module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
149
|
-
|
|
150
|
-
/***/ }),
|
|
151
|
-
|
|
152
|
-
/***/ 165:
|
|
153
|
-
/***/ (function(module, exports) {
|
|
154
|
-
|
|
155
|
-
module.exports = require("@splunk/react-ui/TextArea");
|
|
156
|
-
|
|
157
|
-
/***/ }),
|
|
158
|
-
|
|
159
|
-
/***/ 17:
|
|
160
|
-
/***/ (function(module, exports) {
|
|
161
|
-
|
|
162
|
-
module.exports = require("@splunk/react-ui/Button");
|
|
163
|
-
|
|
164
|
-
/***/ }),
|
|
165
|
-
|
|
166
|
-
/***/ 195:
|
|
167
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
168
|
-
|
|
169
|
-
"use strict";
|
|
48
|
+
var __webpack_exports__ = {};
|
|
170
49
|
// ESM COMPAT FLAG
|
|
171
50
|
__webpack_require__.r(__webpack_exports__);
|
|
172
51
|
|
|
173
52
|
// EXPORTS
|
|
174
|
-
__webpack_require__.d(__webpack_exports__,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
var external_react_ = __webpack_require__(2);
|
|
178
|
-
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
179
|
-
|
|
180
|
-
// EXTERNAL MODULE: external "prop-types"
|
|
181
|
-
var external_prop_types_ = __webpack_require__(1);
|
|
182
|
-
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
183
|
-
|
|
184
|
-
// EXTERNAL MODULE: external "lodash/has"
|
|
185
|
-
var has_ = __webpack_require__(11);
|
|
186
|
-
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
187
|
-
|
|
188
|
-
// EXTERNAL MODULE: external "lodash/keys"
|
|
189
|
-
var keys_ = __webpack_require__(9);
|
|
190
|
-
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
|
|
191
|
-
|
|
192
|
-
// EXTERNAL MODULE: external "lodash/omit"
|
|
193
|
-
var omit_ = __webpack_require__(5);
|
|
194
|
-
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
195
|
-
|
|
196
|
-
// EXTERNAL MODULE: external "lodash/pickBy"
|
|
197
|
-
var pickBy_ = __webpack_require__(61);
|
|
198
|
-
var pickBy_default = /*#__PURE__*/__webpack_require__.n(pickBy_);
|
|
199
|
-
|
|
200
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
|
|
201
|
-
var ControlGroup_ = __webpack_require__(105);
|
|
202
|
-
|
|
203
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/Cross"
|
|
204
|
-
var Cross_ = __webpack_require__(25);
|
|
205
|
-
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_);
|
|
206
|
-
|
|
207
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
208
|
-
var Close_ = __webpack_require__(26);
|
|
209
|
-
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
|
|
210
|
-
|
|
211
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Search"
|
|
212
|
-
var Search_ = __webpack_require__(51);
|
|
213
|
-
var Search_default = /*#__PURE__*/__webpack_require__.n(Search_);
|
|
214
|
-
|
|
215
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/Magnifier"
|
|
216
|
-
var Magnifier_ = __webpack_require__(46);
|
|
217
|
-
var Magnifier_default = /*#__PURE__*/__webpack_require__.n(Magnifier_);
|
|
218
|
-
|
|
219
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
220
|
-
var ScreenReaderContent_ = __webpack_require__(14);
|
|
221
|
-
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
222
|
-
|
|
223
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/TextArea"
|
|
224
|
-
var TextArea_ = __webpack_require__(165);
|
|
225
|
-
var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_);
|
|
226
|
-
|
|
227
|
-
// EXTERNAL MODULE: external "@splunk/themes"
|
|
228
|
-
var themes_ = __webpack_require__(0);
|
|
229
|
-
|
|
230
|
-
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
231
|
-
var style_ = __webpack_require__(37);
|
|
232
|
-
|
|
233
|
-
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
234
|
-
var i18n_ = __webpack_require__(4);
|
|
235
|
-
|
|
236
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/SVGEnterprise"
|
|
237
|
-
var SVGEnterprise_ = __webpack_require__(32);
|
|
238
|
-
var SVGEnterprise_default = /*#__PURE__*/__webpack_require__.n(SVGEnterprise_);
|
|
53
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
+
"default": () => (/* reexport */ Text_Text)
|
|
55
|
+
});
|
|
239
56
|
|
|
240
|
-
|
|
57
|
+
;// CONCATENATED MODULE: external "react"
|
|
58
|
+
const external_react_namespaceObject = require("react");
|
|
59
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
|
|
60
|
+
;// CONCATENATED MODULE: external "prop-types"
|
|
61
|
+
const external_prop_types_namespaceObject = require("prop-types");
|
|
62
|
+
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_namespaceObject);
|
|
63
|
+
;// CONCATENATED MODULE: external "lodash/has"
|
|
64
|
+
const has_namespaceObject = require("lodash/has");
|
|
65
|
+
var has_default = /*#__PURE__*/__webpack_require__.n(has_namespaceObject);
|
|
66
|
+
;// CONCATENATED MODULE: external "lodash/keys"
|
|
67
|
+
const keys_namespaceObject = require("lodash/keys");
|
|
68
|
+
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_namespaceObject);
|
|
69
|
+
;// CONCATENATED MODULE: external "lodash/omit"
|
|
70
|
+
const omit_namespaceObject = require("lodash/omit");
|
|
71
|
+
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_namespaceObject);
|
|
72
|
+
;// CONCATENATED MODULE: external "lodash/pickBy"
|
|
73
|
+
const pickBy_namespaceObject = require("lodash/pickBy");
|
|
74
|
+
var pickBy_default = /*#__PURE__*/__webpack_require__.n(pickBy_namespaceObject);
|
|
75
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/ControlGroup"
|
|
76
|
+
const ControlGroup_namespaceObject = require("@splunk/react-ui/ControlGroup");
|
|
77
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/Cross"
|
|
78
|
+
const Cross_namespaceObject = require("@splunk/react-icons/Cross");
|
|
79
|
+
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_namespaceObject);
|
|
80
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
81
|
+
const Close_namespaceObject = require("@splunk/react-icons/enterprise/Close");
|
|
82
|
+
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_namespaceObject);
|
|
83
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/enterprise/Search"
|
|
84
|
+
const Search_namespaceObject = require("@splunk/react-icons/enterprise/Search");
|
|
85
|
+
var Search_default = /*#__PURE__*/__webpack_require__.n(Search_namespaceObject);
|
|
86
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/Magnifier"
|
|
87
|
+
const Magnifier_namespaceObject = require("@splunk/react-icons/Magnifier");
|
|
88
|
+
var Magnifier_default = /*#__PURE__*/__webpack_require__.n(Magnifier_namespaceObject);
|
|
89
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
90
|
+
const ScreenReaderContent_namespaceObject = require("@splunk/react-ui/ScreenReaderContent");
|
|
91
|
+
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_namespaceObject);
|
|
92
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/TextArea"
|
|
93
|
+
const TextArea_namespaceObject = require("@splunk/react-ui/TextArea");
|
|
94
|
+
var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_namespaceObject);
|
|
95
|
+
;// CONCATENATED MODULE: external "@splunk/themes"
|
|
96
|
+
const themes_namespaceObject = require("@splunk/themes");
|
|
97
|
+
;// CONCATENATED MODULE: external "@splunk/ui-utils/style"
|
|
98
|
+
const style_namespaceObject = require("@splunk/ui-utils/style");
|
|
99
|
+
;// CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
|
|
100
|
+
const i18n_namespaceObject = require("@splunk/ui-utils/i18n");
|
|
101
|
+
;// CONCATENATED MODULE: external "@splunk/react-icons/SVGEnterprise"
|
|
102
|
+
const SVGEnterprise_namespaceObject = require("@splunk/react-icons/SVGEnterprise");
|
|
103
|
+
var SVGEnterprise_default = /*#__PURE__*/__webpack_require__.n(SVGEnterprise_namespaceObject);
|
|
104
|
+
;// CONCATENATED MODULE: ./src/Text/IconOutlinedHide.tsx
|
|
241
105
|
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); }
|
|
242
106
|
|
|
243
107
|
|
|
@@ -246,31 +110,31 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
246
110
|
|
|
247
111
|
|
|
248
112
|
function IconOutlinedHide(props) {
|
|
249
|
-
var _useSplunkTheme =
|
|
113
|
+
var _useSplunkTheme = (0,themes_namespaceObject.useSplunkTheme)(),
|
|
250
114
|
family = _useSplunkTheme.family,
|
|
251
115
|
density = _useSplunkTheme.density;
|
|
252
116
|
|
|
253
117
|
if (family === 'enterprise') {
|
|
254
|
-
return /*#__PURE__*/external_react_default.
|
|
118
|
+
return /*#__PURE__*/external_react_default().createElement((SVGEnterprise_default()), _extends({
|
|
255
119
|
viewBox: "0 0 24 24",
|
|
256
120
|
size: 1.2,
|
|
257
|
-
screenReaderText:
|
|
258
|
-
}, props), /*#__PURE__*/external_react_default.
|
|
121
|
+
screenReaderText: (0,i18n_namespaceObject._)('Hide password')
|
|
122
|
+
}, props), /*#__PURE__*/external_react_default().createElement("path", {
|
|
259
123
|
fillRule: "evenodd",
|
|
260
124
|
clipRule: "evenodd",
|
|
261
125
|
d: "M4.00691 3.89287C3.61638 3.50234 2.98322 3.50235 2.5927 3.89287C2.20217 4.2834 2.20217 4.91656 2.5927 5.30708L4.35908 7.07346C3.63043 7.75302 2.99174 8.52671 2.46085 9.37612L1.18794 11.4128C0.963393 11.7721 0.963395 12.2279 1.18794 12.5872L2.46085 14.6239C3.3213 16.0006 4.46494 17.1784 5.81576 18.0789L5.94933 18.1679C7.74121 19.3625 9.8466 20 12.0002 20C13.5116 20 14.9993 19.686 16.3715 19.0858L18.5982 21.3125C18.9887 21.703 19.6218 21.703 20.0124 21.3125C20.4029 20.922 20.4029 20.2888 20.0124 19.8983L4.00691 3.89287ZM14.8257 17.54L13.0353 15.7496C12.7056 15.8405 12.3583 15.889 11.9997 15.889C9.85196 15.889 8.11084 14.1479 8.11084 12.0001C8.11084 11.6415 8.15937 11.2943 8.25022 10.9646L5.77433 8.48871C5.15179 9.06078 4.60729 9.71541 4.15685 10.4361L3.17943 12L4.15685 13.5639C4.86685 14.6999 5.81053 15.6717 6.92516 16.4148L7.05873 16.5038C8.52208 17.4794 10.2415 18 12.0002 18C12.9658 18 13.9196 17.8431 14.8257 17.54Z",
|
|
262
126
|
fill: "currentColor"
|
|
263
|
-
}), /*#__PURE__*/external_react_default.
|
|
127
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
264
128
|
d: "M10.9657 8.25019L15.7496 13.0342C15.8402 12.7049 15.8886 12.3581 15.8886 12.0001C15.8886 9.85232 14.1475 8.11121 11.9997 8.11121C11.6417 8.11121 11.2949 8.15959 10.9657 8.25019Z",
|
|
265
129
|
fill: "currentColor"
|
|
266
|
-
}), /*#__PURE__*/external_react_default.
|
|
130
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
267
131
|
d: "M19.8435 13.5639C19.3932 14.2844 18.8488 14.939 18.2264 15.5109L19.6417 16.9262C20.3702 16.2467 21.0087 15.4731 21.5395 14.6239L22.8124 12.5872C23.037 12.2279 23.037 11.7721 22.8124 11.4128L21.5395 9.37612C20.6791 7.99942 19.5354 6.82164 18.1846 5.9211L18.051 5.83205C16.2591 4.63746 14.1538 4 12.0002 4C10.489 4 9.00149 4.31389 7.62941 4.91392L9.17525 6.45977C10.0811 6.15687 11.0347 6 12.0002 6C13.7589 6 15.4783 6.52059 16.9416 7.49615L17.0752 7.5852C18.1898 8.32829 19.1335 9.30013 19.8435 10.4361L20.8209 12L19.8435 13.5639Z",
|
|
268
132
|
fill: "currentColor"
|
|
269
133
|
}));
|
|
270
134
|
}
|
|
271
135
|
|
|
272
136
|
var size = density === 'compact' ? '20' : '24';
|
|
273
|
-
return /*#__PURE__*/external_react_default.
|
|
137
|
+
return /*#__PURE__*/external_react_default().createElement("svg", {
|
|
274
138
|
width: size,
|
|
275
139
|
height: size,
|
|
276
140
|
viewBox: "0 0 24 24",
|
|
@@ -278,22 +142,22 @@ function IconOutlinedHide(props) {
|
|
|
278
142
|
style: {
|
|
279
143
|
display: 'block'
|
|
280
144
|
}
|
|
281
|
-
}, /*#__PURE__*/external_react_default.
|
|
145
|
+
}, /*#__PURE__*/external_react_default().createElement("title", null, (0,i18n_namespaceObject._)('Hide password')), /*#__PURE__*/external_react_default().createElement("path", {
|
|
282
146
|
fillRule: "evenodd",
|
|
283
147
|
clipRule: "evenodd",
|
|
284
148
|
d: "M4.00691 3.89287C3.61638 3.50234 2.98322 3.50235 2.5927 3.89287C2.20217 4.2834 2.20217 4.91656 2.5927 5.30708L4.35908 7.07346C3.63043 7.75302 2.99174 8.52671 2.46085 9.37612L1.18794 11.4128C0.963393 11.7721 0.963395 12.2279 1.18794 12.5872L2.46085 14.6239C3.3213 16.0006 4.46494 17.1784 5.81576 18.0789L5.94933 18.1679C7.74121 19.3625 9.8466 20 12.0002 20C13.5116 20 14.9993 19.686 16.3715 19.0858L18.5982 21.3125C18.9887 21.703 19.6218 21.703 20.0124 21.3125C20.4029 20.922 20.4029 20.2888 20.0124 19.8983L4.00691 3.89287ZM14.8257 17.54L13.0353 15.7496C12.7056 15.8405 12.3583 15.889 11.9997 15.889C9.85196 15.889 8.11084 14.1479 8.11084 12.0001C8.11084 11.6415 8.15937 11.2943 8.25022 10.9646L5.77433 8.48871C5.15179 9.06078 4.60729 9.71541 4.15685 10.4361L3.17943 12L4.15685 13.5639C4.86685 14.6999 5.81053 15.6717 6.92516 16.4148L7.05873 16.5038C8.52208 17.4794 10.2415 18 12.0002 18C12.9658 18 13.9196 17.8431 14.8257 17.54Z",
|
|
285
149
|
fill: "currentColor"
|
|
286
|
-
}), /*#__PURE__*/external_react_default.
|
|
150
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
287
151
|
d: "M10.9657 8.25019L15.7496 13.0342C15.8402 12.7049 15.8886 12.3581 15.8886 12.0001C15.8886 9.85232 14.1475 8.11121 11.9997 8.11121C11.6417 8.11121 11.2949 8.15959 10.9657 8.25019Z",
|
|
288
152
|
fill: "currentColor"
|
|
289
|
-
}), /*#__PURE__*/external_react_default.
|
|
153
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
290
154
|
d: "M19.8435 13.5639C19.3932 14.2844 18.8488 14.939 18.2264 15.5109L19.6417 16.9262C20.3702 16.2467 21.0087 15.4731 21.5395 14.6239L22.8124 12.5872C23.037 12.2279 23.037 11.7721 22.8124 11.4128L21.5395 9.37612C20.6791 7.99942 19.5354 6.82164 18.1846 5.9211L18.051 5.83205C16.2591 4.63746 14.1538 4 12.0002 4C10.489 4 9.00149 4.31389 7.62941 4.91392L9.17525 6.45977C10.0811 6.15687 11.0347 6 12.0002 6C13.7589 6 15.4783 6.52059 16.9416 7.49615L17.0752 7.5852C18.1898 8.32829 19.1335 9.30013 19.8435 10.4361L20.8209 12L19.8435 13.5639Z",
|
|
291
155
|
fill: "currentColor"
|
|
292
156
|
}));
|
|
293
157
|
}
|
|
294
158
|
|
|
295
|
-
/* harmony default export */
|
|
296
|
-
|
|
159
|
+
/* harmony default export */ const Text_IconOutlinedHide = (IconOutlinedHide);
|
|
160
|
+
;// CONCATENATED MODULE: ./src/Text/IconOutlinedView.tsx
|
|
297
161
|
function IconOutlinedView_extends() { IconOutlinedView_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 IconOutlinedView_extends.apply(this, arguments); }
|
|
298
162
|
|
|
299
163
|
|
|
@@ -302,21 +166,21 @@ function IconOutlinedView_extends() { IconOutlinedView_extends = Object.assign |
|
|
|
302
166
|
|
|
303
167
|
|
|
304
168
|
function IconOutlinedView(props) {
|
|
305
|
-
var _useSplunkTheme =
|
|
169
|
+
var _useSplunkTheme = (0,themes_namespaceObject.useSplunkTheme)(),
|
|
306
170
|
family = _useSplunkTheme.family,
|
|
307
171
|
density = _useSplunkTheme.density;
|
|
308
172
|
|
|
309
173
|
if (family === 'enterprise') {
|
|
310
|
-
return /*#__PURE__*/external_react_default.
|
|
174
|
+
return /*#__PURE__*/external_react_default().createElement((SVGEnterprise_default()), IconOutlinedView_extends({
|
|
311
175
|
viewBox: "0 0 24 24",
|
|
312
176
|
size: 1.2,
|
|
313
|
-
screenReaderText:
|
|
314
|
-
}, props), /*#__PURE__*/external_react_default.
|
|
177
|
+
screenReaderText: (0,i18n_namespaceObject._)('View password')
|
|
178
|
+
}, props), /*#__PURE__*/external_react_default().createElement("path", {
|
|
315
179
|
fillRule: "evenodd",
|
|
316
180
|
clipRule: "evenodd",
|
|
317
181
|
d: "M15.7745 11.8654C15.7745 14.0132 14.0334 15.7543 11.8857 15.7543C9.73788 15.7543 7.99677 14.0132 7.99677 11.8654C7.99677 9.71762 9.73788 7.9765 11.8857 7.9765C14.0334 7.9765 15.7745 9.71762 15.7745 11.8654ZM13.7745 11.8654C13.7745 12.9086 12.9289 13.7543 11.8857 13.7543C10.8424 13.7543 9.99677 12.9086 9.99677 11.8654C9.99677 10.8222 10.8424 9.9765 11.8857 9.9765C12.9289 9.9765 13.7745 10.8222 13.7745 11.8654Z",
|
|
318
182
|
fill: "currentColor"
|
|
319
|
-
}), /*#__PURE__*/external_react_default.
|
|
183
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
320
184
|
fillRule: "evenodd",
|
|
321
185
|
clipRule: "evenodd",
|
|
322
186
|
d: "M11.8859 3.86536C9.73235 3.86536 7.62695 4.50282 5.83507 5.69741L5.7015 5.78646C4.35068 6.687 3.20704 7.86477 2.3466 9.24148L1.07369 11.2781C0.849136 11.6374 0.849137 12.0933 1.07369 12.4526L2.3466 14.4892C3.20704 15.8659 4.35068 17.0437 5.7015 17.9443L5.83507 18.0333C7.62695 19.2279 9.73235 19.8654 11.8859 19.8654C14.0395 19.8654 16.1449 19.2279 17.9368 18.0333L18.0703 17.9443C19.4212 17.0437 20.5648 15.8659 21.4252 14.4892L22.6982 12.4526C22.9227 12.0933 22.9227 11.6374 22.6982 11.2781L21.4252 9.24148C20.5648 7.86477 19.4212 6.687 18.0703 5.78645L17.9368 5.69741C16.1449 4.50282 14.0395 3.86536 11.8859 3.86536ZM6.94447 7.36151C8.40782 6.38594 10.1272 5.86536 11.8859 5.86536C13.6446 5.86536 15.364 6.38594 16.8274 7.36151L16.9609 7.45056C18.0756 8.19364 19.0193 9.16549 19.7293 10.3015L20.7067 11.8654L19.7293 13.4292C19.0193 14.5652 18.0756 15.5371 16.9609 16.2802L16.8274 16.3692C15.364 17.3448 13.6446 17.8654 11.8859 17.8654C10.1272 17.8654 8.40782 17.3448 6.94447 16.3692L6.8109 16.2802C5.69627 15.5371 4.75259 14.5652 4.04259 13.4292L3.06517 11.8654L4.04259 10.3015C4.75259 9.16549 5.69627 8.19364 6.8109 7.45056L6.94447 7.36151Z",
|
|
@@ -325,7 +189,7 @@ function IconOutlinedView(props) {
|
|
|
325
189
|
}
|
|
326
190
|
|
|
327
191
|
var size = density === 'compact' ? '20' : '24';
|
|
328
|
-
return /*#__PURE__*/external_react_default.
|
|
192
|
+
return /*#__PURE__*/external_react_default().createElement("svg", {
|
|
329
193
|
width: size,
|
|
330
194
|
height: size,
|
|
331
195
|
viewBox: "0 0 24 24",
|
|
@@ -333,12 +197,12 @@ function IconOutlinedView(props) {
|
|
|
333
197
|
style: {
|
|
334
198
|
display: 'block'
|
|
335
199
|
}
|
|
336
|
-
}, /*#__PURE__*/external_react_default.
|
|
200
|
+
}, /*#__PURE__*/external_react_default().createElement("title", null, (0,i18n_namespaceObject._)('View password')), /*#__PURE__*/external_react_default().createElement("path", {
|
|
337
201
|
fillRule: "evenodd",
|
|
338
202
|
clipRule: "evenodd",
|
|
339
203
|
d: "M15.7745 11.8654C15.7745 14.0132 14.0334 15.7543 11.8857 15.7543C9.73788 15.7543 7.99677 14.0132 7.99677 11.8654C7.99677 9.71762 9.73788 7.9765 11.8857 7.9765C14.0334 7.9765 15.7745 9.71762 15.7745 11.8654ZM13.7745 11.8654C13.7745 12.9086 12.9289 13.7543 11.8857 13.7543C10.8424 13.7543 9.99677 12.9086 9.99677 11.8654C9.99677 10.8222 10.8424 9.9765 11.8857 9.9765C12.9289 9.9765 13.7745 10.8222 13.7745 11.8654Z",
|
|
340
204
|
fill: "currentColor"
|
|
341
|
-
}), /*#__PURE__*/external_react_default.
|
|
205
|
+
}), /*#__PURE__*/external_react_default().createElement("path", {
|
|
342
206
|
fillRule: "evenodd",
|
|
343
207
|
clipRule: "evenodd",
|
|
344
208
|
d: "M11.8859 3.86536C9.73235 3.86536 7.62695 4.50282 5.83507 5.69741L5.7015 5.78646C4.35068 6.687 3.20704 7.86477 2.3466 9.24148L1.07369 11.2781C0.849136 11.6374 0.849137 12.0933 1.07369 12.4526L2.3466 14.4892C3.20704 15.8659 4.35068 17.0437 5.7015 17.9443L5.83507 18.0333C7.62695 19.2279 9.73235 19.8654 11.8859 19.8654C14.0395 19.8654 16.1449 19.2279 17.9368 18.0333L18.0703 17.9443C19.4212 17.0437 20.5648 15.8659 21.4252 14.4892L22.6982 12.4526C22.9227 12.0933 22.9227 11.6374 22.6982 11.2781L21.4252 9.24148C20.5648 7.86477 19.4212 6.687 18.0703 5.78645L17.9368 5.69741C16.1449 4.50282 14.0395 3.86536 11.8859 3.86536ZM6.94447 7.36151C8.40782 6.38594 10.1272 5.86536 11.8859 5.86536C13.6446 5.86536 15.364 6.38594 16.8274 7.36151L16.9609 7.45056C18.0756 8.19364 19.0193 9.16549 19.7293 10.3015L20.7067 11.8654L19.7293 13.4292C19.0193 14.5652 18.0756 15.5371 16.9609 16.2802L16.8274 16.3692C15.364 17.3448 13.6446 17.8654 11.8859 17.8654C10.1272 17.8654 8.40782 17.3448 6.94447 16.3692L6.8109 16.2802C5.69627 15.5371 4.75259 14.5652 4.04259 13.4292L3.06517 11.8654L4.04259 10.3015C4.75259 9.16549 5.69627 8.19364 6.8109 7.45056L6.94447 7.36151Z",
|
|
@@ -346,193 +210,190 @@ function IconOutlinedView(props) {
|
|
|
346
210
|
}));
|
|
347
211
|
}
|
|
348
212
|
|
|
349
|
-
/* harmony default export */
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
var
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
213
|
+
/* harmony default export */ const Text_IconOutlinedView = (IconOutlinedView);
|
|
214
|
+
;// CONCATENATED MODULE: external "styled-components"
|
|
215
|
+
const external_styled_components_namespaceObject = require("styled-components");
|
|
216
|
+
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_namespaceObject);
|
|
217
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/Box"
|
|
218
|
+
const Box_namespaceObject = require("@splunk/react-ui/Box");
|
|
219
|
+
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_namespaceObject);
|
|
220
|
+
;// CONCATENATED MODULE: external "@splunk/react-ui/Button"
|
|
221
|
+
const Button_namespaceObject = require("@splunk/react-ui/Button");
|
|
222
|
+
var Button_default = /*#__PURE__*/__webpack_require__.n(Button_namespaceObject);
|
|
223
|
+
;// CONCATENATED MODULE: ./src/Text/TextStyles.ts
|
|
361
224
|
|
|
362
|
-
// CONCATENATED MODULE: ./src/Text/TextStyles.ts
|
|
363
225
|
|
|
364
226
|
|
|
365
227
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
prisma: themes_["variables"].contentColorDisabled
|
|
228
|
+
var disabledStyles = (0,external_styled_components_namespaceObject.css)(["&,&[type]{cursor:not-allowed;color:", ";&::placeholder{color:", ";}}"], (0,themes_namespaceObject.pick)({
|
|
229
|
+
enterprise: themes_namespaceObject.variables.textDisabledColor,
|
|
230
|
+
prisma: themes_namespaceObject.variables.contentColorDisabled
|
|
231
|
+
}), (0,themes_namespaceObject.pick)({
|
|
232
|
+
enterprise: themes_namespaceObject.variables.textDisabledColor,
|
|
233
|
+
prisma: themes_namespaceObject.variables.contentColorDisabled
|
|
373
234
|
}));
|
|
374
|
-
var buttonStyles =
|
|
375
|
-
enterprise:
|
|
235
|
+
var buttonStyles = (0,external_styled_components_namespaceObject.css)(["border-radius:", ";cursor:pointer;font-size:0.83333em;flex-grow:0;", ";&:not([disabled]){color:", ";}"], (0,themes_namespaceObject.pick)({
|
|
236
|
+
enterprise: themes_namespaceObject.variables.borderRadius,
|
|
376
237
|
prisma: '50%'
|
|
377
|
-
}),
|
|
378
|
-
enterprise:
|
|
238
|
+
}), (0,themes_namespaceObject.pick)({
|
|
239
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["width:", ";height:", ";"], themes_namespaceObject.variables.inputHeight, themes_namespaceObject.variables.inputHeight),
|
|
379
240
|
prisma: {
|
|
380
|
-
comfortable:
|
|
381
|
-
compact:
|
|
241
|
+
comfortable: (0,external_styled_components_namespaceObject.css)(["width:26px;min-width:26px;min-height:26px;margin:8px;padding:0;"]),
|
|
242
|
+
compact: (0,external_styled_components_namespaceObject.css)(["width:22px;min-width:22px;min-height:22px;margin:8px;padding:0;"])
|
|
382
243
|
}
|
|
383
|
-
}),
|
|
244
|
+
}), (0,themes_namespaceObject.pick)({
|
|
384
245
|
enterprise: {
|
|
385
|
-
light:
|
|
386
|
-
dark:
|
|
246
|
+
light: themes_namespaceObject.variables.gray60,
|
|
247
|
+
dark: themes_namespaceObject.variables.white
|
|
387
248
|
},
|
|
388
|
-
prisma:
|
|
249
|
+
prisma: themes_namespaceObject.variables.contentColorMuted
|
|
389
250
|
}));
|
|
390
|
-
var StyledClearButton = external_styled_components_default()(Button_default
|
|
251
|
+
var StyledClearButton = external_styled_components_default()((Button_default())).withConfig({
|
|
391
252
|
displayName: "TextStyles__StyledClearButton",
|
|
392
253
|
componentId: "eg7n6t-0"
|
|
393
254
|
})(["display:none;visibility:hidden;", ""], buttonStyles);
|
|
394
|
-
var StyledSearchIconWrapper = external_styled_components_default.
|
|
255
|
+
var StyledSearchIconWrapper = external_styled_components_default().span.withConfig({
|
|
395
256
|
displayName: "TextStyles__StyledSearchIconWrapper",
|
|
396
257
|
componentId: "eg7n6t-1"
|
|
397
|
-
})(["", ";color:", ";pointer-events:none;padding:", ";", ""],
|
|
258
|
+
})(["", ";color:", ";pointer-events:none;padding:", ";", ""], themes_namespaceObject.mixins.reset('inline-block'), (0,themes_namespaceObject.pick)({
|
|
398
259
|
enterprise: {
|
|
399
|
-
light:
|
|
400
|
-
dark:
|
|
260
|
+
light: themes_namespaceObject.variables.gray60,
|
|
261
|
+
dark: themes_namespaceObject.variables.white
|
|
401
262
|
},
|
|
402
|
-
prisma:
|
|
403
|
-
}),
|
|
263
|
+
prisma: themes_namespaceObject.variables.contentColorMuted
|
|
264
|
+
}), (0,themes_namespaceObject.pick)({
|
|
404
265
|
comfortable: '0 8px',
|
|
405
266
|
compact: '0 6px'
|
|
406
267
|
}), function (_ref) {
|
|
407
268
|
var $disabled = _ref.$disabled;
|
|
408
|
-
return $disabled &&
|
|
409
|
-
enterprise:
|
|
410
|
-
prisma:
|
|
269
|
+
return $disabled && (0,external_styled_components_namespaceObject.css)(["", ""], (0,themes_namespaceObject.pick)({
|
|
270
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["color:", ";"], themes_namespaceObject.variables.textDisabledColor),
|
|
271
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["color:", ";"], themes_namespaceObject.variables.contentColorDisabled)
|
|
411
272
|
}));
|
|
412
273
|
});
|
|
413
|
-
var StyledBox = external_styled_components_default()(Box_default
|
|
274
|
+
var StyledBox = external_styled_components_default()((Box_default())).withConfig({
|
|
414
275
|
displayName: "TextStyles__StyledBox",
|
|
415
276
|
componentId: "eg7n6t-2"
|
|
416
|
-
})(["display:flex;justify-content:space-between;flex-grow:1;flex-shrink:1;position:relative;&[data-inline]{width:230px;flex-basis:230px;[data-inline] + &{margin-left:", ";}}&:focus-within:not([disabled]){", "{", "}", "{visibility:visible;display:block;}}", ""],
|
|
417
|
-
enterprise:
|
|
418
|
-
prisma:
|
|
277
|
+
})(["display:flex;justify-content:space-between;flex-grow:1;flex-shrink:1;position:relative;&[data-inline]{width:230px;flex-basis:230px;[data-inline] + &{margin-left:", ";}}&:focus-within:not([disabled]){", "{", "}", "{visibility:visible;display:block;}}", ""], (0,themes_namespaceObject.pick)({
|
|
278
|
+
enterprise: themes_namespaceObject.variables.spacingHalf,
|
|
279
|
+
prisma: themes_namespaceObject.variables.spacingSmall
|
|
419
280
|
}),
|
|
420
281
|
/* sc-sel */
|
|
421
|
-
StyledSearchIconWrapper,
|
|
422
|
-
enterprise:
|
|
282
|
+
StyledSearchIconWrapper, (0,themes_namespaceObject.pick)({
|
|
283
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["display:none;"])
|
|
423
284
|
}),
|
|
424
285
|
/* sc-sel */
|
|
425
286
|
StyledClearButton, function (_ref2) {
|
|
426
287
|
var $isTimeInput = _ref2.$isTimeInput;
|
|
427
|
-
return $isTimeInput &&
|
|
288
|
+
return $isTimeInput && (0,external_styled_components_namespaceObject.css)(["@media screen and (min--moz-device-pixel-ratio:0){", "{display:none;}}"],
|
|
428
289
|
/* sc-sel */
|
|
429
290
|
StyledClearButton);
|
|
430
291
|
});
|
|
431
|
-
var StyledInputWrapper = external_styled_components_default.
|
|
292
|
+
var StyledInputWrapper = external_styled_components_default().span.withConfig({
|
|
432
293
|
displayName: "TextStyles__StyledInputWrapper",
|
|
433
294
|
componentId: "eg7n6t-3"
|
|
434
|
-
})(["", ";flex-grow:1;min-height:", ";position:relative;overflow:hidden;border:1px solid ", ";border-radius:", ";box-sizing:border-box;background-color:", ";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);padding:", ";align-items:center;", " ", " &:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}", " ", " ", " ", ""],
|
|
295
|
+
})(["", ";flex-grow:1;min-height:", ";position:relative;overflow:hidden;border:1px solid ", ";border-radius:", ";box-sizing:border-box;background-color:", ";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);padding:", ";align-items:center;", " ", " &:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}", " ", " ", " ", ""], themes_namespaceObject.mixins.reset('inline-flex'), themes_namespaceObject.variables.inputHeight, (0,themes_namespaceObject.pick)({
|
|
435
296
|
enterprise: {
|
|
436
|
-
light:
|
|
437
|
-
dark:
|
|
297
|
+
light: themes_namespaceObject.variables.gray60,
|
|
298
|
+
dark: themes_namespaceObject.variables.gray20
|
|
438
299
|
},
|
|
439
|
-
prisma:
|
|
440
|
-
}),
|
|
300
|
+
prisma: themes_namespaceObject.variables.interactiveColorBorder
|
|
301
|
+
}), themes_namespaceObject.variables.borderRadius, (0,themes_namespaceObject.pick)({
|
|
441
302
|
enterprise: {
|
|
442
|
-
light:
|
|
443
|
-
dark:
|
|
303
|
+
light: themes_namespaceObject.variables.white,
|
|
304
|
+
dark: themes_namespaceObject.variables.gray22
|
|
444
305
|
},
|
|
445
|
-
prisma:
|
|
446
|
-
}),
|
|
306
|
+
prisma: themes_namespaceObject.variables.transparent
|
|
307
|
+
}), (0,themes_namespaceObject.pick)({
|
|
447
308
|
enterprise: '0px 10px',
|
|
448
309
|
prisma: '0px 12px'
|
|
449
310
|
}), function (_ref3) {
|
|
450
311
|
var $hasEndAdornment = _ref3.$hasEndAdornment;
|
|
451
|
-
return $hasEndAdornment &&
|
|
312
|
+
return $hasEndAdornment && (0,external_styled_components_namespaceObject.css)(["padding-right:0;"]);
|
|
452
313
|
}, function (_ref4) {
|
|
453
314
|
var $hasStartAdornment = _ref4.$hasStartAdornment;
|
|
454
|
-
return $hasStartAdornment &&
|
|
455
|
-
},
|
|
315
|
+
return $hasStartAdornment && (0,external_styled_components_namespaceObject.css)(["padding-left:0;"]);
|
|
316
|
+
}, (0,themes_namespaceObject.pick)({
|
|
456
317
|
enterprise: {
|
|
457
|
-
light:
|
|
458
|
-
dark:
|
|
318
|
+
light: themes_namespaceObject.variables.gray60,
|
|
319
|
+
dark: themes_namespaceObject.variables.gray20
|
|
459
320
|
},
|
|
460
|
-
prisma:
|
|
461
|
-
}),
|
|
462
|
-
enterprise:
|
|
463
|
-
prisma:
|
|
321
|
+
prisma: themes_namespaceObject.variables.interactiveColorBorderHover
|
|
322
|
+
}), (0,themes_namespaceObject.pick)({
|
|
323
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["box-shadow:", ";color:", ";"], themes_namespaceObject.variables.focusShadow, themes_namespaceObject.variables.textColor),
|
|
324
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["border-color:", ";color:", ";"], themes_namespaceObject.variables.interactiveColorPrimary, themes_namespaceObject.variables.contentColorActive)
|
|
464
325
|
}), function (_ref5) {
|
|
465
326
|
var $error = _ref5.$error;
|
|
466
|
-
return $error &&
|
|
467
|
-
enterprise:
|
|
468
|
-
prisma:
|
|
469
|
-
}),
|
|
470
|
-
enterprise:
|
|
471
|
-
prisma:
|
|
327
|
+
return $error && (0,external_styled_components_namespaceObject.css)(["&,&:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}"], (0,themes_namespaceObject.pick)({
|
|
328
|
+
enterprise: themes_namespaceObject.variables.errorColor,
|
|
329
|
+
prisma: themes_namespaceObject.variables.accentColorNegative
|
|
330
|
+
}), (0,themes_namespaceObject.pick)({
|
|
331
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["box-shadow:", ";color:", ";"], themes_namespaceObject.variables.focusShadow, themes_namespaceObject.variables.textColor),
|
|
332
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["border-color:", ";color:", ";"], themes_namespaceObject.variables.interactiveColorPrimary, themes_namespaceObject.variables.contentColorActive)
|
|
472
333
|
}));
|
|
473
334
|
}, function (_ref6) {
|
|
474
335
|
var $append = _ref6.$append;
|
|
475
|
-
return $append &&
|
|
336
|
+
return $append && (0,external_styled_components_namespaceObject.css)(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
476
337
|
}, function (_ref7) {
|
|
477
338
|
var $prepend = _ref7.$prepend;
|
|
478
|
-
return $prepend &&
|
|
339
|
+
return $prepend && (0,external_styled_components_namespaceObject.css)(["border-top-left-radius:0;border-bottom-left-radius:0;"]);
|
|
479
340
|
}, function (_ref8) {
|
|
480
341
|
var disabled = _ref8.disabled;
|
|
481
|
-
return disabled &&
|
|
342
|
+
return disabled && (0,external_styled_components_namespaceObject.css)(["", " box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);"], (0,themes_namespaceObject.pick)({
|
|
482
343
|
enterprise: {
|
|
483
|
-
light:
|
|
484
|
-
dark:
|
|
344
|
+
light: (0,external_styled_components_namespaceObject.css)(["background-color:", ";border-color:", ";"], themes_namespaceObject.variables.gray96, themes_namespaceObject.variables.gray92),
|
|
345
|
+
dark: (0,external_styled_components_namespaceObject.css)(["background-color:", ";border-color:", ";"], themes_namespaceObject.variables.gray22, themes_namespaceObject.variables.gray30)
|
|
485
346
|
},
|
|
486
|
-
prisma:
|
|
347
|
+
prisma: (0,external_styled_components_namespaceObject.css)(["border-color:", ";"], themes_namespaceObject.variables.interactiveColorBorderDisabled)
|
|
487
348
|
}));
|
|
488
349
|
});
|
|
489
350
|
/* Some of these need greater specificity than input[type=text] */
|
|
490
351
|
|
|
491
|
-
var StyledInput = external_styled_components_default.
|
|
352
|
+
var StyledInput = external_styled_components_default().input.withConfig({
|
|
492
353
|
displayName: "TextStyles__StyledInput",
|
|
493
354
|
componentId: "eg7n6t-4"
|
|
494
|
-
})(["", ";&,&[type]{outline-style:none;border:0;background:transparent;color:", ";flex-grow:1;font-family:", ";font-size:inherit;line-height:inherit;&[type='time']{&::-webkit-calendar-picker-indicator{display:none;}height:", ";@media screen and (min--moz-device-pixel-ratio:0){padding-right:", ";}}position:relative;&::placeholder{color:", ";opacity:1;}", " ", "}"],
|
|
495
|
-
enterprise:
|
|
496
|
-
prisma:
|
|
497
|
-
}),
|
|
355
|
+
})(["", ";&,&[type]{outline-style:none;border:0;background:transparent;color:", ";flex-grow:1;font-family:", ";font-size:inherit;line-height:inherit;&[type='time']{&::-webkit-calendar-picker-indicator{display:none;}height:", ";@media screen and (min--moz-device-pixel-ratio:0){padding-right:", ";}}position:relative;&::placeholder{color:", ";opacity:1;}", " ", "}"], themes_namespaceObject.mixins.reset('inline-flex'), (0,themes_namespaceObject.pick)({
|
|
356
|
+
enterprise: themes_namespaceObject.variables.textColor,
|
|
357
|
+
prisma: themes_namespaceObject.variables.contentColorActive
|
|
358
|
+
}), themes_namespaceObject.variables.sansFontFamily, (0,themes_namespaceObject.pick)({
|
|
498
359
|
enterprise: '20px',
|
|
499
360
|
prisma: {
|
|
500
361
|
comfortable: '24px',
|
|
501
362
|
compact: '20px'
|
|
502
363
|
}
|
|
503
|
-
}),
|
|
504
|
-
enterprise:
|
|
364
|
+
}), (0,themes_namespaceObject.pick)({
|
|
365
|
+
enterprise: themes_namespaceObject.variables.spacingHalf,
|
|
505
366
|
prisma: '14px'
|
|
506
|
-
}),
|
|
367
|
+
}), themes_namespaceObject.variables.contentColorMuted, function (_ref9) {
|
|
507
368
|
var $error = _ref9.$error;
|
|
508
|
-
return $error &&
|
|
369
|
+
return $error && (0,external_styled_components_namespaceObject.css)(["&,&:hover{color:", ";}"], (0,themes_namespaceObject.pick)({
|
|
509
370
|
enterprise: {
|
|
510
|
-
light:
|
|
511
|
-
dark:
|
|
371
|
+
light: themes_namespaceObject.variables.errorColorD10,
|
|
372
|
+
dark: themes_namespaceObject.variables.errorColorL20
|
|
512
373
|
},
|
|
513
|
-
prisma:
|
|
374
|
+
prisma: themes_namespaceObject.variables.contentColorActive
|
|
514
375
|
}));
|
|
515
376
|
}, function (_ref10) {
|
|
516
377
|
var disabled = _ref10.disabled;
|
|
517
378
|
return disabled && disabledStyles;
|
|
518
379
|
});
|
|
519
|
-
var StyledVisibilityToggle = external_styled_components_default()(Button_default
|
|
380
|
+
var StyledVisibilityToggle = external_styled_components_default()((Button_default())).withConfig({
|
|
520
381
|
displayName: "TextStyles__StyledVisibilityToggle",
|
|
521
382
|
componentId: "eg7n6t-5"
|
|
522
383
|
})(["", ""], buttonStyles);
|
|
523
|
-
var StyledPlaceholder = external_styled_components_default.
|
|
384
|
+
var StyledPlaceholder = external_styled_components_default().span.withConfig({
|
|
524
385
|
displayName: "TextStyles__StyledPlaceholder",
|
|
525
386
|
componentId: "eg7n6t-6"
|
|
526
|
-
})(["pointer-events:none;color:", ";position:absolute;overflow:hidden;font-size:inherit;line-height:inherit;height:", ";margin-right:", ";", ";", ";", ""],
|
|
527
|
-
enterprise:
|
|
528
|
-
prisma:
|
|
529
|
-
}),
|
|
387
|
+
})(["pointer-events:none;color:", ";position:absolute;overflow:hidden;font-size:inherit;line-height:inherit;height:", ";margin-right:", ";", ";", ";", ""], (0,themes_namespaceObject.pick)({
|
|
388
|
+
enterprise: themes_namespaceObject.variables.textGray,
|
|
389
|
+
prisma: themes_namespaceObject.variables.contentColorMuted
|
|
390
|
+
}), themes_namespaceObject.variables.lineHeight, (0,themes_namespaceObject.pick)({
|
|
530
391
|
enterprise: '10px',
|
|
531
392
|
prisma: '14px'
|
|
532
393
|
}), function (_ref11) {
|
|
533
394
|
var $hasStartAdornment = _ref11.$hasStartAdornment,
|
|
534
395
|
$startAdornmentWidth = _ref11.$startAdornmentWidth;
|
|
535
|
-
return $hasStartAdornment && ($startAdornmentWidth ?
|
|
396
|
+
return $hasStartAdornment && ($startAdornmentWidth ? (0,external_styled_components_namespaceObject.css)(["margin-left:", "px;"], $startAdornmentWidth) : (0,external_styled_components_namespaceObject.css)(["margin-left:", ";"], (0,themes_namespaceObject.pick)({
|
|
536
397
|
enterprise: {
|
|
537
398
|
comfortable: '30px',
|
|
538
399
|
compact: '26px'
|
|
@@ -546,13 +407,13 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
546
407
|
var $hasEndAdornment = _ref12.$hasEndAdornment,
|
|
547
408
|
$endAdornmentWidth = _ref12.$endAdornmentWidth;
|
|
548
409
|
return $hasEndAdornment && ($endAdornmentWidth // calc(100% - padding - adorment width)
|
|
549
|
-
?
|
|
410
|
+
? (0,external_styled_components_namespaceObject.css)(["max-width:calc( 100% - ", " - ", "px );"], (0,themes_namespaceObject.pick)({
|
|
550
411
|
enterprise: '10px',
|
|
551
412
|
prisma: '14px'
|
|
552
|
-
}), $endAdornmentWidth) :
|
|
413
|
+
}), $endAdornmentWidth) : (0,external_styled_components_namespaceObject.css)(["max-width:calc( 100% - ", " - ", " );"], (0,themes_namespaceObject.pick)({
|
|
553
414
|
enterprise: '10px',
|
|
554
415
|
prisma: '14px'
|
|
555
|
-
}),
|
|
416
|
+
}), (0,themes_namespaceObject.pick)({
|
|
556
417
|
enterprise: {
|
|
557
418
|
comfortable: '30px',
|
|
558
419
|
compact: '26px'
|
|
@@ -566,9 +427,9 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
566
427
|
var $hasBothAdornment = _ref13.$hasBothAdornment,
|
|
567
428
|
$endAdornmentWidth = _ref13.$endAdornmentWidth,
|
|
568
429
|
$startAdornmentWidth = _ref13.$startAdornmentWidth;
|
|
569
|
-
return $hasBothAdornment &&
|
|
430
|
+
return $hasBothAdornment && (0,external_styled_components_namespaceObject.css)(["max-width:calc(100% - ", "px - ", "px);"], $startAdornmentWidth, $endAdornmentWidth);
|
|
570
431
|
});
|
|
571
|
-
var adornmentHolder =
|
|
432
|
+
var adornmentHolder = (0,external_styled_components_namespaceObject.css)(["display:inline-flex;align-items:center;justify-content:center;height:", ";pointer-events:none;"], (0,themes_namespaceObject.pick)({
|
|
572
433
|
enterprise: {
|
|
573
434
|
comfortable: '30px',
|
|
574
435
|
compact: '26px'
|
|
@@ -578,12 +439,12 @@ var adornmentHolder = Object(external_styled_components_["css"])(["display:inlin
|
|
|
578
439
|
compact: '30px'
|
|
579
440
|
}
|
|
580
441
|
}));
|
|
581
|
-
var StyledStartAdornmentHolder = external_styled_components_default.
|
|
442
|
+
var StyledStartAdornmentHolder = external_styled_components_default().div.withConfig({
|
|
582
443
|
displayName: "TextStyles__StyledStartAdornmentHolder",
|
|
583
444
|
componentId: "eg7n6t-7"
|
|
584
445
|
})(["", " ", ";"], adornmentHolder, function (_ref14) {
|
|
585
446
|
var $width = _ref14.$width;
|
|
586
|
-
return $width ?
|
|
447
|
+
return $width ? (0,external_styled_components_namespaceObject.css)(["min-width:", "px;"], $width) : (0,external_styled_components_namespaceObject.css)(["min-width:", ";"], (0,themes_namespaceObject.pick)({
|
|
587
448
|
enterprise: {
|
|
588
449
|
comfortable: '30px',
|
|
589
450
|
compact: '26px'
|
|
@@ -594,12 +455,12 @@ var StyledStartAdornmentHolder = external_styled_components_default.a.div.withCo
|
|
|
594
455
|
}
|
|
595
456
|
}));
|
|
596
457
|
});
|
|
597
|
-
var StyledEndAdornmentHolder = external_styled_components_default.
|
|
458
|
+
var StyledEndAdornmentHolder = external_styled_components_default().div.withConfig({
|
|
598
459
|
displayName: "TextStyles__StyledEndAdornmentHolder",
|
|
599
460
|
componentId: "eg7n6t-8"
|
|
600
461
|
})(["", " ", ";"], adornmentHolder, function (_ref15) {
|
|
601
462
|
var $width = _ref15.$width;
|
|
602
|
-
return $width ?
|
|
463
|
+
return $width ? (0,external_styled_components_namespaceObject.css)(["min-width:", "px;"], $width) : (0,external_styled_components_namespaceObject.css)(["min-width:", ";"], (0,themes_namespaceObject.pick)({
|
|
603
464
|
enterprise: {
|
|
604
465
|
comfortable: '30px',
|
|
605
466
|
compact: '26px'
|
|
@@ -610,10 +471,10 @@ var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConf
|
|
|
610
471
|
}
|
|
611
472
|
}));
|
|
612
473
|
});
|
|
613
|
-
var StyledAdornment = external_styled_components_default.
|
|
474
|
+
var StyledAdornment = external_styled_components_default().div.withConfig({
|
|
614
475
|
displayName: "TextStyles__StyledAdornment",
|
|
615
476
|
componentId: "eg7n6t-9"
|
|
616
|
-
})(["display:inline-flex;align-items:center;justify-content:center;position:absolute;pointer-events:none;z-index:1;height:", ";color:", ";", ";", ";", ""],
|
|
477
|
+
})(["display:inline-flex;align-items:center;justify-content:center;position:absolute;pointer-events:none;z-index:1;height:", ";color:", ";", ";", ";", ""], (0,themes_namespaceObject.pick)({
|
|
617
478
|
enterprise: {
|
|
618
479
|
comfortable: '30px',
|
|
619
480
|
compact: '26px'
|
|
@@ -622,26 +483,43 @@ var StyledAdornment = external_styled_components_default.a.div.withConfig({
|
|
|
622
483
|
comfortable: '38px',
|
|
623
484
|
compact: '30px'
|
|
624
485
|
}
|
|
625
|
-
}),
|
|
486
|
+
}), (0,themes_namespaceObject.pick)({
|
|
626
487
|
enterprise: {
|
|
627
|
-
light:
|
|
628
|
-
dark:
|
|
488
|
+
light: themes_namespaceObject.variables.gray60,
|
|
489
|
+
dark: themes_namespaceObject.variables.white
|
|
629
490
|
},
|
|
630
|
-
prisma:
|
|
491
|
+
prisma: themes_namespaceObject.variables.contentColorMuted
|
|
631
492
|
}), function (_ref16) {
|
|
632
493
|
var $position = _ref16.$position;
|
|
633
|
-
return $position === 'start' ?
|
|
494
|
+
return $position === 'start' ? (0,external_styled_components_namespaceObject.css)(["top:1px;left:1px;"]) : (0,external_styled_components_namespaceObject.css)(["top:1px;right:1px;"]);
|
|
634
495
|
}, function (_ref17) {
|
|
635
496
|
var disabled = _ref17.disabled;
|
|
636
497
|
return disabled && disabledStyles;
|
|
637
|
-
},
|
|
638
|
-
enterprise:
|
|
498
|
+
}, (0,themes_namespaceObject.pick)({
|
|
499
|
+
enterprise: (0,external_styled_components_namespaceObject.css)(["margin-left:-1px;margin-right:-1px;"])
|
|
639
500
|
}));
|
|
640
501
|
|
|
641
|
-
|
|
642
|
-
|
|
502
|
+
;// CONCATENATED MODULE: ./src/utils/updateReactRef.ts
|
|
503
|
+
/**
|
|
504
|
+
* Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
|
|
505
|
+
*
|
|
506
|
+
* @param ref - The React callback or object ref. Can be `null` or `undefined`.
|
|
507
|
+
* @param current - The new value of the ref.
|
|
508
|
+
*/
|
|
509
|
+
function updateReactRef(ref, current) {
|
|
510
|
+
if (ref) {
|
|
511
|
+
if (typeof ref === 'function') {
|
|
512
|
+
ref(current);
|
|
513
|
+
} else {
|
|
514
|
+
// the public signature of this util uses React.Ref<T> to mirror the way React types refs.
|
|
515
|
+
// the intention here is to signal "we will take care of setting 'current', not you".
|
|
516
|
+
ref.current = current; // eslint-disable-line no-param-reassign
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
|
|
643
521
|
|
|
644
|
-
|
|
522
|
+
;// CONCATENATED MODULE: ./src/Text/Text.tsx
|
|
645
523
|
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); }
|
|
646
524
|
|
|
647
525
|
function Text_extends() { Text_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 Text_extends.apply(this, arguments); }
|
|
@@ -711,56 +589,56 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
711
589
|
/** @public */
|
|
712
590
|
|
|
713
591
|
var propTypes = {
|
|
714
|
-
appearance: external_prop_types_default.
|
|
715
|
-
append: external_prop_types_default.
|
|
716
|
-
autoCapitalize: external_prop_types_default.
|
|
717
|
-
autoComplete: external_prop_types_default.
|
|
718
|
-
autoCorrect: external_prop_types_default.
|
|
719
|
-
autoFocus: external_prop_types_default.
|
|
720
|
-
canClear: external_prop_types_default.
|
|
721
|
-
children: external_prop_types_default.
|
|
592
|
+
appearance: external_prop_types_default().oneOf(['default', 'search']),
|
|
593
|
+
append: (external_prop_types_default()).bool,
|
|
594
|
+
autoCapitalize: (external_prop_types_default()).string,
|
|
595
|
+
autoComplete: (external_prop_types_default()).string,
|
|
596
|
+
autoCorrect: (external_prop_types_default()).string,
|
|
597
|
+
autoFocus: (external_prop_types_default()).bool,
|
|
598
|
+
canClear: (external_prop_types_default()).bool,
|
|
599
|
+
children: (external_prop_types_default()).node,
|
|
722
600
|
|
|
723
601
|
/** @private. */
|
|
724
|
-
classNamePrivate: external_prop_types_default.
|
|
725
|
-
defaultValue: external_prop_types_default.
|
|
726
|
-
describedBy: external_prop_types_default.
|
|
727
|
-
disabled: external_prop_types_default.
|
|
728
|
-
elementRef: external_prop_types_default.
|
|
729
|
-
endAdornment: external_prop_types_default.
|
|
730
|
-
error: external_prop_types_default.
|
|
731
|
-
inline: external_prop_types_default.
|
|
602
|
+
classNamePrivate: (external_prop_types_default()).string,
|
|
603
|
+
defaultValue: (external_prop_types_default()).string,
|
|
604
|
+
describedBy: (external_prop_types_default()).string,
|
|
605
|
+
disabled: (external_prop_types_default()).bool,
|
|
606
|
+
elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object]),
|
|
607
|
+
endAdornment: (external_prop_types_default()).node,
|
|
608
|
+
error: (external_prop_types_default()).bool,
|
|
609
|
+
inline: (external_prop_types_default()).bool,
|
|
732
610
|
|
|
733
611
|
/** @private. */
|
|
734
|
-
inputClassName: external_prop_types_default.
|
|
735
|
-
inputId: external_prop_types_default.
|
|
736
|
-
inputRef: external_prop_types_default.
|
|
737
|
-
labelledBy: external_prop_types_default.
|
|
738
|
-
maxLength: external_prop_types_default.
|
|
739
|
-
multiline: external_prop_types_default.
|
|
740
|
-
name: external_prop_types_default.
|
|
741
|
-
onBlur: external_prop_types_default.
|
|
742
|
-
onChange: external_prop_types_default.
|
|
743
|
-
onFocus: external_prop_types_default.
|
|
744
|
-
onKeyDown: external_prop_types_default.
|
|
745
|
-
onSelect: external_prop_types_default.
|
|
746
|
-
onInputClick: external_prop_types_default.
|
|
747
|
-
placeholder: external_prop_types_default.
|
|
748
|
-
prepend: external_prop_types_default.
|
|
612
|
+
inputClassName: (external_prop_types_default()).string,
|
|
613
|
+
inputId: (external_prop_types_default()).string,
|
|
614
|
+
inputRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object]),
|
|
615
|
+
labelledBy: (external_prop_types_default()).string,
|
|
616
|
+
maxLength: (external_prop_types_default()).number,
|
|
617
|
+
multiline: (external_prop_types_default()).bool,
|
|
618
|
+
name: (external_prop_types_default()).string,
|
|
619
|
+
onBlur: (external_prop_types_default()).func,
|
|
620
|
+
onChange: (external_prop_types_default()).func,
|
|
621
|
+
onFocus: (external_prop_types_default()).func,
|
|
622
|
+
onKeyDown: (external_prop_types_default()).func,
|
|
623
|
+
onSelect: (external_prop_types_default()).func,
|
|
624
|
+
onInputClick: (external_prop_types_default()).func,
|
|
625
|
+
placeholder: (external_prop_types_default()).string,
|
|
626
|
+
prepend: (external_prop_types_default()).bool,
|
|
749
627
|
|
|
750
628
|
/** @private. */
|
|
751
|
-
required: external_prop_types_default.
|
|
752
|
-
rowsMax: external_prop_types_default.
|
|
753
|
-
rowsMin: external_prop_types_default.
|
|
754
|
-
spellCheck: external_prop_types_default.
|
|
755
|
-
tabIndex: external_prop_types_default.
|
|
756
|
-
startAdornment: external_prop_types_default.
|
|
629
|
+
required: (external_prop_types_default()).bool,
|
|
630
|
+
rowsMax: (external_prop_types_default()).number,
|
|
631
|
+
rowsMin: (external_prop_types_default()).number,
|
|
632
|
+
spellCheck: (external_prop_types_default()).bool,
|
|
633
|
+
tabIndex: (external_prop_types_default()).number,
|
|
634
|
+
startAdornment: (external_prop_types_default()).node,
|
|
757
635
|
|
|
758
636
|
/** @private */
|
|
759
|
-
splunkTheme: external_prop_types_default.
|
|
760
|
-
type: external_prop_types_default.
|
|
761
|
-
passwordVisibilityToggle: external_prop_types_default.
|
|
762
|
-
useSyntheticPlaceholder: external_prop_types_default.
|
|
763
|
-
value: external_prop_types_default.
|
|
637
|
+
splunkTheme: (external_prop_types_default()).object,
|
|
638
|
+
type: (external_prop_types_default()).string,
|
|
639
|
+
passwordVisibilityToggle: (external_prop_types_default()).bool,
|
|
640
|
+
useSyntheticPlaceholder: (external_prop_types_default()).bool,
|
|
641
|
+
value: (external_prop_types_default()).string
|
|
764
642
|
};
|
|
765
643
|
var defaultProps = {
|
|
766
644
|
appearance: 'default',
|
|
@@ -781,7 +659,7 @@ var defaultProps = {
|
|
|
781
659
|
};
|
|
782
660
|
|
|
783
661
|
/** Note: Text places role and aria props onto the input. All other props are placed on the wrapper. */
|
|
784
|
-
var
|
|
662
|
+
var Text = /*#__PURE__*/function (_Component) {
|
|
785
663
|
_inherits(Text, _Component);
|
|
786
664
|
|
|
787
665
|
var _super = _createSuper(Text);
|
|
@@ -834,7 +712,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
834
712
|
|
|
835
713
|
_defineProperty(_assertThisInitialized(_this), "handleInputMount", function (el) {
|
|
836
714
|
_this.input = el;
|
|
837
|
-
|
|
715
|
+
updateReactRef(_this.props.inputRef, el);
|
|
838
716
|
});
|
|
839
717
|
|
|
840
718
|
_defineProperty(_assertThisInitialized(_this), "handleInputChange", function (e) {
|
|
@@ -937,12 +815,12 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
937
815
|
};
|
|
938
816
|
|
|
939
817
|
if (endAdornment) {
|
|
940
|
-
return /*#__PURE__*/external_react_default.
|
|
818
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, endAdornment);
|
|
941
819
|
}
|
|
942
820
|
|
|
943
821
|
if (passwordVisibilityToggle && !disabled) {
|
|
944
|
-
var eyeIcon = _this.state.hideVisibility ? /*#__PURE__*/external_react_default.
|
|
945
|
-
return /*#__PURE__*/external_react_default.
|
|
822
|
+
var eyeIcon = _this.state.hideVisibility ? /*#__PURE__*/external_react_default().createElement(Text_IconOutlinedView, null) : /*#__PURE__*/external_react_default().createElement(Text_IconOutlinedHide, null);
|
|
823
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default().createElement(StyledVisibilityToggle, {
|
|
946
824
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
947
825
|
"data-test": "password-toggle",
|
|
948
826
|
inline: false,
|
|
@@ -954,15 +832,15 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
954
832
|
|
|
955
833
|
var controlGroupContext = _this.context;
|
|
956
834
|
var controlGroupLabel = (_controlGroupContext$ = controlGroupContext.labelAttrs) === null || _controlGroupContext$ === void 0 ? void 0 : _controlGroupContext$.text;
|
|
957
|
-
var clearButtonText = controlGroupLabel ?
|
|
835
|
+
var clearButtonText = controlGroupLabel ? (0,i18n_namespaceObject._)("Clear ".concat(controlGroupLabel, " text field")) : (0,i18n_namespaceObject._)('Clear text field');
|
|
958
836
|
|
|
959
837
|
var displayValue = _this.getDisplayValue();
|
|
960
838
|
|
|
961
839
|
if (!isPrisma && appearance === 'search') {
|
|
962
840
|
if (!displayValue) {
|
|
963
|
-
return /*#__PURE__*/external_react_default.
|
|
841
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default().createElement(StyledSearchIconWrapper, {
|
|
964
842
|
$disabled: disabled
|
|
965
|
-
}, /*#__PURE__*/external_react_default.
|
|
843
|
+
}, /*#__PURE__*/external_react_default().createElement((Search_default()), {
|
|
966
844
|
screenReaderText: null,
|
|
967
845
|
hideDefaultTooltip: true,
|
|
968
846
|
size: "16px",
|
|
@@ -970,39 +848,39 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
970
848
|
})));
|
|
971
849
|
}
|
|
972
850
|
|
|
973
|
-
return /*#__PURE__*/external_react_default.
|
|
851
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default().createElement(StyledClearButton, {
|
|
974
852
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
975
853
|
"data-test": "clear",
|
|
976
854
|
inline: false,
|
|
977
|
-
icon: isEnterprise ? /*#__PURE__*/external_react_default.
|
|
855
|
+
icon: isEnterprise ? /*#__PURE__*/external_react_default().createElement((Close_default()), {
|
|
978
856
|
size: 1,
|
|
979
857
|
screenReaderText: clearButtonText
|
|
980
|
-
}) : /*#__PURE__*/external_react_default.
|
|
858
|
+
}) : /*#__PURE__*/external_react_default().createElement((Cross_default()), {
|
|
981
859
|
"aria-label": clearButtonText
|
|
982
860
|
}),
|
|
983
861
|
onClick: _this.handleClear
|
|
984
|
-
}), /*#__PURE__*/external_react_default.
|
|
862
|
+
}), /*#__PURE__*/external_react_default().createElement(StyledSearchIconWrapper, {
|
|
985
863
|
$disabled: disabled
|
|
986
|
-
}, isEnterprise ? /*#__PURE__*/external_react_default.
|
|
864
|
+
}, isEnterprise ? /*#__PURE__*/external_react_default().createElement((Search_default()), {
|
|
987
865
|
screenReaderText: null,
|
|
988
866
|
hideDefaultTooltip: true,
|
|
989
867
|
size: "16px",
|
|
990
868
|
inline: false
|
|
991
|
-
}) : /*#__PURE__*/external_react_default.
|
|
869
|
+
}) : /*#__PURE__*/external_react_default().createElement((Magnifier_default()), {
|
|
992
870
|
width: prismaSize,
|
|
993
871
|
height: prismaSize
|
|
994
872
|
})));
|
|
995
873
|
}
|
|
996
874
|
|
|
997
875
|
if (!!displayValue && (isPrisma && appearance === 'search' || canClear)) {
|
|
998
|
-
return /*#__PURE__*/external_react_default.
|
|
876
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default().createElement(StyledClearButton, {
|
|
999
877
|
"data-test": "clear",
|
|
1000
878
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
1001
879
|
onClick: _this.handleClear,
|
|
1002
|
-
icon: isEnterprise ? /*#__PURE__*/external_react_default.
|
|
880
|
+
icon: isEnterprise ? /*#__PURE__*/external_react_default().createElement((Close_default()), {
|
|
1003
881
|
inline: false,
|
|
1004
882
|
screenReaderText: clearButtonText
|
|
1005
|
-
}) : /*#__PURE__*/external_react_default.
|
|
883
|
+
}) : /*#__PURE__*/external_react_default().createElement((Cross_default()), {
|
|
1006
884
|
"aria-label": clearButtonText,
|
|
1007
885
|
height: prismaSize,
|
|
1008
886
|
inline: false,
|
|
@@ -1032,13 +910,13 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1032
910
|
};
|
|
1033
911
|
|
|
1034
912
|
if (startAdornment) {
|
|
1035
|
-
return /*#__PURE__*/external_react_default.
|
|
913
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, startAdornment);
|
|
1036
914
|
}
|
|
1037
915
|
|
|
1038
916
|
if (isPrisma && appearance === 'search') {
|
|
1039
|
-
return /*#__PURE__*/external_react_default.
|
|
917
|
+
return /*#__PURE__*/external_react_default().createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default().createElement(StyledSearchIconWrapper, {
|
|
1040
918
|
$disabled: disabled
|
|
1041
|
-
}, /*#__PURE__*/external_react_default.
|
|
919
|
+
}, /*#__PURE__*/external_react_default().createElement((Magnifier_default()), {
|
|
1042
920
|
"aria-label": "Search",
|
|
1043
921
|
height: prismaSize,
|
|
1044
922
|
width: prismaSize
|
|
@@ -1168,7 +1046,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1168
1046
|
var boxProps = omit_default()(otherProps, ['inputRef', 'onBlur', 'onChange', 'onFocus', 'onKeyDown', 'onSelect', 'onInputClick', 'rowsMax', 'rowsMin'].concat(_toConsumableArray(keys_default()(ariaProps))));
|
|
1169
1047
|
var displayValue = this.getDisplayValue();
|
|
1170
1048
|
var displayProps = {
|
|
1171
|
-
className:
|
|
1049
|
+
className: (0,style_namespaceObject.toClassName)(className, inputClassName),
|
|
1172
1050
|
$append: append || undefined,
|
|
1173
1051
|
$error: error,
|
|
1174
1052
|
$prepend: prepend || undefined
|
|
@@ -1214,35 +1092,35 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1214
1092
|
var hasStartAdornment = !!this.renderStartAdornment();
|
|
1215
1093
|
|
|
1216
1094
|
if (multiline) {
|
|
1217
|
-
return /*#__PURE__*/external_react_default.
|
|
1095
|
+
return /*#__PURE__*/external_react_default().createElement((TextArea_default()), this.props);
|
|
1218
1096
|
}
|
|
1219
1097
|
|
|
1220
|
-
return /*#__PURE__*/external_react_default.
|
|
1098
|
+
return /*#__PURE__*/external_react_default().createElement(StyledBox, Text_extends({
|
|
1221
1099
|
tabIndex: -1,
|
|
1222
1100
|
$isTimeInput: isTimeInput,
|
|
1223
|
-
className:
|
|
1101
|
+
className: (0,style_namespaceObject.toClassName)(className, classNamePrivate),
|
|
1224
1102
|
"data-test": "text",
|
|
1225
1103
|
"data-test-value": dataTestValue,
|
|
1226
1104
|
elementRef: elementRef,
|
|
1227
1105
|
flex: true,
|
|
1228
1106
|
inline: inline
|
|
1229
|
-
}, boxProps), this.renderStartAdornment(), /*#__PURE__*/external_react_default.
|
|
1107
|
+
}, boxProps), this.renderStartAdornment(), /*#__PURE__*/external_react_default().createElement(StyledInputWrapper, Text_extends({
|
|
1230
1108
|
$hasEndAdornment: hasEndAdornment,
|
|
1231
1109
|
$hasStartAdornment: hasStartAdornment,
|
|
1232
1110
|
disabled: disabled
|
|
1233
|
-
}, displayProps), hasStartAdornment && /*#__PURE__*/external_react_default.
|
|
1111
|
+
}, displayProps), hasStartAdornment && /*#__PURE__*/external_react_default().createElement(StyledStartAdornmentHolder, {
|
|
1234
1112
|
$width: this.state.startAdornmentWidth
|
|
1235
|
-
}), disabled ? /*#__PURE__*/external_react_default.
|
|
1236
|
-
className:
|
|
1113
|
+
}), disabled ? /*#__PURE__*/external_react_default().createElement(StyledInput, Text_extends({
|
|
1114
|
+
className: (0,style_namespaceObject.toClassName)(className, classNamePrivate),
|
|
1237
1115
|
"data-test": "textbox",
|
|
1238
1116
|
disabled: true,
|
|
1239
1117
|
readOnly: true,
|
|
1240
1118
|
type: computedType,
|
|
1241
1119
|
value: displayValue,
|
|
1242
1120
|
placeholder: placeholder && !useSyntheticPlaceholder ? placeholder : undefined
|
|
1243
|
-
}, ariaProps)) : /*#__PURE__*/external_react_default.
|
|
1121
|
+
}, ariaProps)) : /*#__PURE__*/external_react_default().createElement(StyledInput, Text_extends({}, inputProps, {
|
|
1244
1122
|
onClick: this.handleInputClick
|
|
1245
|
-
})), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default.
|
|
1123
|
+
})), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default().createElement((ScreenReaderContent_default()), null, placeholder), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default().createElement(StyledPlaceholder, {
|
|
1246
1124
|
$endAdornmentWidth: this.state.endAdornmentWidth,
|
|
1247
1125
|
$hasBothAdornment: hasStartAdornment && hasEndAdornment // used to calculate the max-width
|
|
1248
1126
|
,
|
|
@@ -1251,123 +1129,31 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1251
1129
|
$startAdornmentWidth: this.state.startAdornmentWidth,
|
|
1252
1130
|
"aria-hidden": true,
|
|
1253
1131
|
"data-role": "placeholder"
|
|
1254
|
-
}, placeholder), children, hasEndAdornment && /*#__PURE__*/external_react_default.
|
|
1132
|
+
}, placeholder), children, hasEndAdornment && /*#__PURE__*/external_react_default().createElement(StyledEndAdornmentHolder, {
|
|
1255
1133
|
$width: this.state.endAdornmentWidth
|
|
1256
1134
|
})), this.renderEndAdornment());
|
|
1257
1135
|
}
|
|
1258
1136
|
}]);
|
|
1259
1137
|
|
|
1260
1138
|
return Text;
|
|
1261
|
-
}(
|
|
1139
|
+
}(external_react_namespaceObject.Component);
|
|
1262
1140
|
|
|
1263
|
-
_defineProperty(
|
|
1141
|
+
_defineProperty(Text, "propTypes", propTypes);
|
|
1264
1142
|
|
|
1265
|
-
_defineProperty(
|
|
1143
|
+
_defineProperty(Text, "defaultProps", defaultProps);
|
|
1266
1144
|
|
|
1267
|
-
_defineProperty(
|
|
1145
|
+
_defineProperty(Text, "componentType", 'Text');
|
|
1268
1146
|
|
|
1269
|
-
_defineProperty(
|
|
1147
|
+
_defineProperty(Text, "contextType", ControlGroup_namespaceObject.ControlGroupContext);
|
|
1270
1148
|
|
|
1271
|
-
var TextWithThemeBase =
|
|
1149
|
+
var TextWithThemeBase = (0,themes_namespaceObject.withSplunkTheme)(Text);
|
|
1272
1150
|
var TextWithTheme = TextWithThemeBase;
|
|
1273
|
-
TextWithTheme.propTypes =
|
|
1274
|
-
TextWithTheme.componentType =
|
|
1275
|
-
/* harmony default export */
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
/***/ }),
|
|
1281
|
-
|
|
1282
|
-
/***/ 2:
|
|
1283
|
-
/***/ (function(module, exports) {
|
|
1284
|
-
|
|
1285
|
-
module.exports = require("react");
|
|
1286
|
-
|
|
1287
|
-
/***/ }),
|
|
1288
|
-
|
|
1289
|
-
/***/ 25:
|
|
1290
|
-
/***/ (function(module, exports) {
|
|
1291
|
-
|
|
1292
|
-
module.exports = require("@splunk/react-icons/Cross");
|
|
1293
|
-
|
|
1294
|
-
/***/ }),
|
|
1295
|
-
|
|
1296
|
-
/***/ 26:
|
|
1297
|
-
/***/ (function(module, exports) {
|
|
1298
|
-
|
|
1299
|
-
module.exports = require("@splunk/react-icons/enterprise/Close");
|
|
1300
|
-
|
|
1301
|
-
/***/ }),
|
|
1302
|
-
|
|
1303
|
-
/***/ 3:
|
|
1304
|
-
/***/ (function(module, exports) {
|
|
1305
|
-
|
|
1306
|
-
module.exports = require("styled-components");
|
|
1307
|
-
|
|
1308
|
-
/***/ }),
|
|
1309
|
-
|
|
1310
|
-
/***/ 32:
|
|
1311
|
-
/***/ (function(module, exports) {
|
|
1312
|
-
|
|
1313
|
-
module.exports = require("@splunk/react-icons/SVGEnterprise");
|
|
1314
|
-
|
|
1315
|
-
/***/ }),
|
|
1316
|
-
|
|
1317
|
-
/***/ 37:
|
|
1318
|
-
/***/ (function(module, exports) {
|
|
1319
|
-
|
|
1320
|
-
module.exports = require("@splunk/ui-utils/style");
|
|
1321
|
-
|
|
1322
|
-
/***/ }),
|
|
1323
|
-
|
|
1324
|
-
/***/ 4:
|
|
1325
|
-
/***/ (function(module, exports) {
|
|
1326
|
-
|
|
1327
|
-
module.exports = require("@splunk/ui-utils/i18n");
|
|
1328
|
-
|
|
1329
|
-
/***/ }),
|
|
1330
|
-
|
|
1331
|
-
/***/ 46:
|
|
1332
|
-
/***/ (function(module, exports) {
|
|
1333
|
-
|
|
1334
|
-
module.exports = require("@splunk/react-icons/Magnifier");
|
|
1335
|
-
|
|
1336
|
-
/***/ }),
|
|
1337
|
-
|
|
1338
|
-
/***/ 5:
|
|
1339
|
-
/***/ (function(module, exports) {
|
|
1340
|
-
|
|
1341
|
-
module.exports = require("lodash/omit");
|
|
1342
|
-
|
|
1343
|
-
/***/ }),
|
|
1344
|
-
|
|
1345
|
-
/***/ 51:
|
|
1346
|
-
/***/ (function(module, exports) {
|
|
1347
|
-
|
|
1348
|
-
module.exports = require("@splunk/react-icons/enterprise/Search");
|
|
1349
|
-
|
|
1350
|
-
/***/ }),
|
|
1351
|
-
|
|
1352
|
-
/***/ 6:
|
|
1353
|
-
/***/ (function(module, exports) {
|
|
1354
|
-
|
|
1355
|
-
module.exports = require("@splunk/react-ui/Box");
|
|
1356
|
-
|
|
1357
|
-
/***/ }),
|
|
1358
|
-
|
|
1359
|
-
/***/ 61:
|
|
1360
|
-
/***/ (function(module, exports) {
|
|
1361
|
-
|
|
1362
|
-
module.exports = require("lodash/pickBy");
|
|
1363
|
-
|
|
1364
|
-
/***/ }),
|
|
1365
|
-
|
|
1366
|
-
/***/ 9:
|
|
1367
|
-
/***/ (function(module, exports) {
|
|
1368
|
-
|
|
1369
|
-
module.exports = require("lodash/keys");
|
|
1151
|
+
TextWithTheme.propTypes = Text.propTypes;
|
|
1152
|
+
TextWithTheme.componentType = Text.componentType;
|
|
1153
|
+
/* harmony default export */ const Text_Text = (TextWithTheme);
|
|
1154
|
+
;// CONCATENATED MODULE: ./src/Text/index.ts
|
|
1370
1155
|
|
|
1371
|
-
/***/ })
|
|
1372
1156
|
|
|
1373
|
-
|
|
1157
|
+
module.exports = __webpack_exports__;
|
|
1158
|
+
/******/ })()
|
|
1159
|
+
;
|