@splunk/react-ui 4.12.0 → 4.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button.js +2 -2
- package/CHANGELOG.md +7 -0
- package/Calendar.js +2 -2
- package/CollapsiblePanel.js +2 -2
- package/ComboBox.js +2 -2
- package/Heading.js +1 -1
- package/Markdown.js +5 -5
- package/Menu.js +3 -3
- package/Message.js +5 -5
- package/ModalLayer.js +2 -2
- package/Multiselect.js +25 -25
- package/Paginator.js +2 -2
- package/Popover.js +2 -2
- package/Scroll.js +2 -2
- package/Search.js +2 -2
- package/Select.js +24 -24
- package/SlidingPanels.js +2 -2
- package/Table.js +3 -3
- package/Text.js +76 -80
- package/TextArea.js +62 -59
- package/TransitionOpen.js +4 -4
- package/package.json +3 -2
- package/types/src/Text/docs/examples/prisma/Multiline.d.ts +0 -10
- package/types/src/Text/docs/examples/prisma/Search.d.ts +0 -10
package/Button.js
CHANGED
|
@@ -129,7 +129,7 @@ var i18n_ = __webpack_require__(5);
|
|
|
129
129
|
var Dropdown_ = __webpack_require__(20);
|
|
130
130
|
|
|
131
131
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
132
|
-
var style_ = __webpack_require__(
|
|
132
|
+
var style_ = __webpack_require__(32);
|
|
133
133
|
|
|
134
134
|
// EXTERNAL MODULE: ./src/icons/CaretDown.tsx
|
|
135
135
|
var CaretDown = __webpack_require__(38);
|
|
@@ -536,7 +536,7 @@ module.exports = require("styled-components");
|
|
|
536
536
|
|
|
537
537
|
/***/ }),
|
|
538
538
|
|
|
539
|
-
/***/
|
|
539
|
+
/***/ 32:
|
|
540
540
|
/***/ (function(module, exports) {
|
|
541
541
|
|
|
542
542
|
module.exports = require("@splunk/ui-utils/style");
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.12.1 - September 20, 2022
|
|
5
|
+
----------
|
|
6
|
+
Bug Fixes:
|
|
7
|
+
* `Text` now only displays the "clear" icon if a value has been entered (SUI-3735).
|
|
8
|
+
* `Heading` no longer transforms text to be uppercase (SUI-5074).
|
|
9
|
+
* `Menu.Heading` no longer transforms text to be uppercase (SUI-5074).
|
|
10
|
+
|
|
4
11
|
4.12.0 - September 6, 2022
|
|
5
12
|
----------
|
|
6
13
|
New Features:
|
package/Calendar.js
CHANGED
|
@@ -814,7 +814,7 @@ module.exports = require("moment");
|
|
|
814
814
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
815
815
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
816
816
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
817
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
817
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
|
|
818
818
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
819
819
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
820
820
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -864,7 +864,7 @@ module.exports = require("styled-components");
|
|
|
864
864
|
|
|
865
865
|
/***/ }),
|
|
866
866
|
|
|
867
|
-
/***/
|
|
867
|
+
/***/ 33:
|
|
868
868
|
/***/ (function(module, exports) {
|
|
869
869
|
|
|
870
870
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
package/CollapsiblePanel.js
CHANGED
|
@@ -574,7 +574,7 @@ module.exports = require("react");
|
|
|
574
574
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
575
575
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
576
576
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
577
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
577
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
|
|
578
578
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
579
579
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
580
580
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -624,7 +624,7 @@ module.exports = require("styled-components");
|
|
|
624
624
|
|
|
625
625
|
/***/ }),
|
|
626
626
|
|
|
627
|
-
/***/
|
|
627
|
+
/***/ 33:
|
|
628
628
|
/***/ (function(module, exports) {
|
|
629
629
|
|
|
630
630
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
package/ComboBox.js
CHANGED
|
@@ -179,7 +179,7 @@ var Popover_ = __webpack_require__(17);
|
|
|
179
179
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
180
180
|
|
|
181
181
|
// EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
182
|
-
var ResultsMenu_ = __webpack_require__(
|
|
182
|
+
var ResultsMenu_ = __webpack_require__(34);
|
|
183
183
|
var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
|
|
184
184
|
|
|
185
185
|
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
@@ -908,7 +908,7 @@ module.exports = require("@splunk/ui-utils/filter");
|
|
|
908
908
|
|
|
909
909
|
/***/ }),
|
|
910
910
|
|
|
911
|
-
/***/
|
|
911
|
+
/***/ 34:
|
|
912
912
|
/***/ (function(module, exports) {
|
|
913
913
|
|
|
914
914
|
module.exports = require("@splunk/react-ui/ResultsMenu");
|
package/Heading.js
CHANGED
|
@@ -129,7 +129,7 @@ var themes_ = __webpack_require__(0);
|
|
|
129
129
|
// CONCATENATED MODULE: ./src/Heading/HeadingStyles.ts
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var section = Object(external_styled_components_["css"])(["margin:0.707em 0 0.2em;
|
|
132
|
+
var section = Object(external_styled_components_["css"])(["margin:0.707em 0 0.2em;"]);
|
|
133
133
|
var StyledH1 = external_styled_components_default.a.h1.withConfig({
|
|
134
134
|
displayName: "HeadingStyles__StyledH1",
|
|
135
135
|
componentId: "sc-15s3yx3-0"
|
package/Markdown.js
CHANGED
|
@@ -328,7 +328,7 @@ function MarkdownImage(_ref) {
|
|
|
328
328
|
MarkdownImage.propTypes = MarkdownImage_propTypes;
|
|
329
329
|
/* harmony default export */ var renderers_MarkdownImage = (MarkdownImage);
|
|
330
330
|
// EXTERNAL MODULE: external "@splunk/react-ui/Link"
|
|
331
|
-
var Link_ = __webpack_require__(
|
|
331
|
+
var Link_ = __webpack_require__(30);
|
|
332
332
|
var Link_default = /*#__PURE__*/__webpack_require__.n(Link_);
|
|
333
333
|
|
|
334
334
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownLink.tsx
|
|
@@ -527,17 +527,17 @@ module.exports = require("react");
|
|
|
527
527
|
|
|
528
528
|
/***/ }),
|
|
529
529
|
|
|
530
|
-
/***/
|
|
530
|
+
/***/ 3:
|
|
531
531
|
/***/ (function(module, exports) {
|
|
532
532
|
|
|
533
|
-
module.exports = require("
|
|
533
|
+
module.exports = require("styled-components");
|
|
534
534
|
|
|
535
535
|
/***/ }),
|
|
536
536
|
|
|
537
|
-
/***/
|
|
537
|
+
/***/ 30:
|
|
538
538
|
/***/ (function(module, exports) {
|
|
539
539
|
|
|
540
|
-
module.exports = require("
|
|
540
|
+
module.exports = require("@splunk/react-ui/Link");
|
|
541
541
|
|
|
542
542
|
/***/ }),
|
|
543
543
|
|
package/Menu.js
CHANGED
|
@@ -262,7 +262,7 @@ var HeadingStyles_Styled = external_styled_components_default.a.div.withConfig({
|
|
|
262
262
|
var PrismaSectionTitle = external_styled_components_default.a.h5.withConfig({
|
|
263
263
|
displayName: "HeadingStyles__PrismaSectionTitle",
|
|
264
264
|
componentId: "mcd2ws-1"
|
|
265
|
-
})(["", " font-size:", ";line-height:", ";font-weight:", ";letter-spacing:0.02em;
|
|
265
|
+
})(["", " font-size:", ";line-height:", ";font-weight:", ";letter-spacing:0.02em;"], themes_["mixins"].reset('block'), themes_["variables"].fontSizeSmall, themes_["variables"].lineHeight, themes_["variables"].fontWeightBold);
|
|
266
266
|
|
|
267
267
|
// CONCATENATED MODULE: ./src/Menu/Heading.tsx
|
|
268
268
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -1136,7 +1136,7 @@ module.exports = require("@splunk/ui-utils/focus");
|
|
|
1136
1136
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
1137
1137
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1138
1138
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1139
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1139
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
|
|
1140
1140
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
1141
1141
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
1142
1142
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -1186,7 +1186,7 @@ module.exports = require("styled-components");
|
|
|
1186
1186
|
|
|
1187
1187
|
/***/ }),
|
|
1188
1188
|
|
|
1189
|
-
/***/
|
|
1189
|
+
/***/ 33:
|
|
1190
1190
|
/***/ (function(module, exports) {
|
|
1191
1191
|
|
|
1192
1192
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
package/Message.js
CHANGED
|
@@ -136,7 +136,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
136
136
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
137
137
|
|
|
138
138
|
// EXTERNAL MODULE: external "@splunk/react-ui/Link"
|
|
139
|
-
var Link_ = __webpack_require__(
|
|
139
|
+
var Link_ = __webpack_require__(30);
|
|
140
140
|
var Link_default = /*#__PURE__*/__webpack_require__.n(Link_);
|
|
141
141
|
|
|
142
142
|
// CONCATENATED MODULE: ./src/Message/LinkStyles.ts
|
|
@@ -542,17 +542,17 @@ module.exports = require("@splunk/react-icons/Close");
|
|
|
542
542
|
|
|
543
543
|
/***/ }),
|
|
544
544
|
|
|
545
|
-
/***/
|
|
545
|
+
/***/ 3:
|
|
546
546
|
/***/ (function(module, exports) {
|
|
547
547
|
|
|
548
|
-
module.exports = require("
|
|
548
|
+
module.exports = require("styled-components");
|
|
549
549
|
|
|
550
550
|
/***/ }),
|
|
551
551
|
|
|
552
|
-
/***/
|
|
552
|
+
/***/ 30:
|
|
553
553
|
/***/ (function(module, exports) {
|
|
554
554
|
|
|
555
|
-
module.exports = require("
|
|
555
|
+
module.exports = require("@splunk/react-ui/Link");
|
|
556
556
|
|
|
557
557
|
/***/ }),
|
|
558
558
|
|
package/ModalLayer.js
CHANGED
|
@@ -120,7 +120,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
120
120
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
121
121
|
|
|
122
122
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
123
|
-
var Animation_ = __webpack_require__(
|
|
123
|
+
var Animation_ = __webpack_require__(31);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: external "@splunk/react-ui/Layer"
|
|
126
126
|
var Layer_ = __webpack_require__(57);
|
|
@@ -331,7 +331,7 @@ module.exports = require("styled-components");
|
|
|
331
331
|
|
|
332
332
|
/***/ }),
|
|
333
333
|
|
|
334
|
-
/***/
|
|
334
|
+
/***/ 31:
|
|
335
335
|
/***/ (function(module, exports) {
|
|
336
336
|
|
|
337
337
|
module.exports = require("@splunk/react-ui/Animation");
|
package/Multiselect.js
CHANGED
|
@@ -476,7 +476,7 @@ var Chip_ = __webpack_require__(97);
|
|
|
476
476
|
var Chip_default = /*#__PURE__*/__webpack_require__.n(Chip_);
|
|
477
477
|
|
|
478
478
|
// EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
479
|
-
var ResultsMenu_ = __webpack_require__(
|
|
479
|
+
var ResultsMenu_ = __webpack_require__(34);
|
|
480
480
|
var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
|
|
481
481
|
|
|
482
482
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
@@ -1676,27 +1676,6 @@ _defineProperty(Option, "defaultProps", defaultProps);
|
|
|
1676
1676
|
/***/ }),
|
|
1677
1677
|
|
|
1678
1678
|
/***/ 29:
|
|
1679
|
-
/***/ (function(module, exports) {
|
|
1680
|
-
|
|
1681
|
-
module.exports = require("@splunk/react-ui/Link");
|
|
1682
|
-
|
|
1683
|
-
/***/ }),
|
|
1684
|
-
|
|
1685
|
-
/***/ 3:
|
|
1686
|
-
/***/ (function(module, exports) {
|
|
1687
|
-
|
|
1688
|
-
module.exports = require("styled-components");
|
|
1689
|
-
|
|
1690
|
-
/***/ }),
|
|
1691
|
-
|
|
1692
|
-
/***/ 33:
|
|
1693
|
-
/***/ (function(module, exports) {
|
|
1694
|
-
|
|
1695
|
-
module.exports = require("@splunk/react-ui/ResultsMenu");
|
|
1696
|
-
|
|
1697
|
-
/***/ }),
|
|
1698
|
-
|
|
1699
|
-
/***/ 34:
|
|
1700
1679
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1701
1680
|
|
|
1702
1681
|
"use strict";
|
|
@@ -1746,6 +1725,27 @@ function Search(props) {
|
|
|
1746
1725
|
|
|
1747
1726
|
/***/ }),
|
|
1748
1727
|
|
|
1728
|
+
/***/ 3:
|
|
1729
|
+
/***/ (function(module, exports) {
|
|
1730
|
+
|
|
1731
|
+
module.exports = require("styled-components");
|
|
1732
|
+
|
|
1733
|
+
/***/ }),
|
|
1734
|
+
|
|
1735
|
+
/***/ 30:
|
|
1736
|
+
/***/ (function(module, exports) {
|
|
1737
|
+
|
|
1738
|
+
module.exports = require("@splunk/react-ui/Link");
|
|
1739
|
+
|
|
1740
|
+
/***/ }),
|
|
1741
|
+
|
|
1742
|
+
/***/ 34:
|
|
1743
|
+
/***/ (function(module, exports) {
|
|
1744
|
+
|
|
1745
|
+
module.exports = require("@splunk/react-ui/ResultsMenu");
|
|
1746
|
+
|
|
1747
|
+
/***/ }),
|
|
1748
|
+
|
|
1749
1749
|
/***/ 38:
|
|
1750
1750
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1751
1751
|
|
|
@@ -1845,14 +1845,14 @@ var Dropdown_ = __webpack_require__(20);
|
|
|
1845
1845
|
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
1846
1846
|
|
|
1847
1847
|
// EXTERNAL MODULE: external "@splunk/react-ui/Link"
|
|
1848
|
-
var Link_ = __webpack_require__(
|
|
1848
|
+
var Link_ = __webpack_require__(30);
|
|
1849
1849
|
var Link_default = /*#__PURE__*/__webpack_require__.n(Link_);
|
|
1850
1850
|
|
|
1851
1851
|
// EXTERNAL MODULE: external "@splunk/react-ui/Menu"
|
|
1852
1852
|
var Menu_ = __webpack_require__(13);
|
|
1853
1853
|
|
|
1854
1854
|
// EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
1855
|
-
var ResultsMenu_ = __webpack_require__(
|
|
1855
|
+
var ResultsMenu_ = __webpack_require__(34);
|
|
1856
1856
|
var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
|
|
1857
1857
|
|
|
1858
1858
|
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
@@ -1863,7 +1863,7 @@ var Text_default = /*#__PURE__*/__webpack_require__.n(Text_);
|
|
|
1863
1863
|
var CaretDown = __webpack_require__(38);
|
|
1864
1864
|
|
|
1865
1865
|
// EXTERNAL MODULE: ./src/icons/Search.tsx
|
|
1866
|
-
var Search = __webpack_require__(
|
|
1866
|
+
var Search = __webpack_require__(29);
|
|
1867
1867
|
|
|
1868
1868
|
// EXTERNAL MODULE: ./src/Select/OptionBase.tsx
|
|
1869
1869
|
var OptionBase = __webpack_require__(28);
|
package/Paginator.js
CHANGED
|
@@ -536,7 +536,7 @@ module.exports = require("react");
|
|
|
536
536
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
537
537
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
538
538
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
539
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
539
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
|
|
540
540
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
541
541
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
542
542
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -586,7 +586,7 @@ module.exports = require("styled-components");
|
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
588
|
|
|
589
|
-
/***/
|
|
589
|
+
/***/ 33:
|
|
590
590
|
/***/ (function(module, exports) {
|
|
591
591
|
|
|
592
592
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
package/Popover.js
CHANGED
|
@@ -157,7 +157,7 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
157
157
|
var themes_ = __webpack_require__(0);
|
|
158
158
|
|
|
159
159
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
160
|
-
var Animation_ = __webpack_require__(
|
|
160
|
+
var Animation_ = __webpack_require__(31);
|
|
161
161
|
|
|
162
162
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
163
163
|
var EventListener_ = __webpack_require__(15);
|
|
@@ -1172,7 +1172,7 @@ module.exports = require("styled-components");
|
|
|
1172
1172
|
|
|
1173
1173
|
/***/ }),
|
|
1174
1174
|
|
|
1175
|
-
/***/
|
|
1175
|
+
/***/ 31:
|
|
1176
1176
|
/***/ (function(module, exports) {
|
|
1177
1177
|
|
|
1178
1178
|
module.exports = require("@splunk/react-ui/Animation");
|
package/Scroll.js
CHANGED
|
@@ -150,7 +150,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
150
150
|
var external_lodash_ = __webpack_require__(4);
|
|
151
151
|
|
|
152
152
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
153
|
-
var Animation_ = __webpack_require__(
|
|
153
|
+
var Animation_ = __webpack_require__(31);
|
|
154
154
|
|
|
155
155
|
// EXTERNAL MODULE: external "styled-components"
|
|
156
156
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -568,7 +568,7 @@ module.exports = require("styled-components");
|
|
|
568
568
|
|
|
569
569
|
/***/ }),
|
|
570
570
|
|
|
571
|
-
/***/
|
|
571
|
+
/***/ 31:
|
|
572
572
|
/***/ (function(module, exports) {
|
|
573
573
|
|
|
574
574
|
module.exports = require("@splunk/react-ui/Animation");
|
package/Search.js
CHANGED
|
@@ -187,7 +187,7 @@ var Popover_ = __webpack_require__(17);
|
|
|
187
187
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
188
188
|
|
|
189
189
|
// EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
190
|
-
var ResultsMenu_ = __webpack_require__(
|
|
190
|
+
var ResultsMenu_ = __webpack_require__(34);
|
|
191
191
|
var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
|
|
192
192
|
|
|
193
193
|
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
@@ -767,7 +767,7 @@ module.exports = require("@splunk/react-ui/Text");
|
|
|
767
767
|
|
|
768
768
|
/***/ }),
|
|
769
769
|
|
|
770
|
-
/***/
|
|
770
|
+
/***/ 34:
|
|
771
771
|
/***/ (function(module, exports) {
|
|
772
772
|
|
|
773
773
|
module.exports = require("@splunk/react-ui/ResultsMenu");
|
package/Select.js
CHANGED
|
@@ -672,27 +672,6 @@ _defineProperty(Option, "defaultProps", defaultProps);
|
|
|
672
672
|
/***/ }),
|
|
673
673
|
|
|
674
674
|
/***/ 29:
|
|
675
|
-
/***/ (function(module, exports) {
|
|
676
|
-
|
|
677
|
-
module.exports = require("@splunk/react-ui/Link");
|
|
678
|
-
|
|
679
|
-
/***/ }),
|
|
680
|
-
|
|
681
|
-
/***/ 3:
|
|
682
|
-
/***/ (function(module, exports) {
|
|
683
|
-
|
|
684
|
-
module.exports = require("styled-components");
|
|
685
|
-
|
|
686
|
-
/***/ }),
|
|
687
|
-
|
|
688
|
-
/***/ 33:
|
|
689
|
-
/***/ (function(module, exports) {
|
|
690
|
-
|
|
691
|
-
module.exports = require("@splunk/react-ui/ResultsMenu");
|
|
692
|
-
|
|
693
|
-
/***/ }),
|
|
694
|
-
|
|
695
|
-
/***/ 34:
|
|
696
675
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
697
676
|
|
|
698
677
|
"use strict";
|
|
@@ -742,6 +721,27 @@ function Search(props) {
|
|
|
742
721
|
|
|
743
722
|
/***/ }),
|
|
744
723
|
|
|
724
|
+
/***/ 3:
|
|
725
|
+
/***/ (function(module, exports) {
|
|
726
|
+
|
|
727
|
+
module.exports = require("styled-components");
|
|
728
|
+
|
|
729
|
+
/***/ }),
|
|
730
|
+
|
|
731
|
+
/***/ 30:
|
|
732
|
+
/***/ (function(module, exports) {
|
|
733
|
+
|
|
734
|
+
module.exports = require("@splunk/react-ui/Link");
|
|
735
|
+
|
|
736
|
+
/***/ }),
|
|
737
|
+
|
|
738
|
+
/***/ 34:
|
|
739
|
+
/***/ (function(module, exports) {
|
|
740
|
+
|
|
741
|
+
module.exports = require("@splunk/react-ui/ResultsMenu");
|
|
742
|
+
|
|
743
|
+
/***/ }),
|
|
744
|
+
|
|
745
745
|
/***/ 38:
|
|
746
746
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
747
747
|
|
|
@@ -841,14 +841,14 @@ var Dropdown_ = __webpack_require__(20);
|
|
|
841
841
|
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
842
842
|
|
|
843
843
|
// EXTERNAL MODULE: external "@splunk/react-ui/Link"
|
|
844
|
-
var Link_ = __webpack_require__(
|
|
844
|
+
var Link_ = __webpack_require__(30);
|
|
845
845
|
var Link_default = /*#__PURE__*/__webpack_require__.n(Link_);
|
|
846
846
|
|
|
847
847
|
// EXTERNAL MODULE: external "@splunk/react-ui/Menu"
|
|
848
848
|
var Menu_ = __webpack_require__(13);
|
|
849
849
|
|
|
850
850
|
// EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
|
|
851
|
-
var ResultsMenu_ = __webpack_require__(
|
|
851
|
+
var ResultsMenu_ = __webpack_require__(34);
|
|
852
852
|
var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
|
|
853
853
|
|
|
854
854
|
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
@@ -859,7 +859,7 @@ var Text_default = /*#__PURE__*/__webpack_require__.n(Text_);
|
|
|
859
859
|
var CaretDown = __webpack_require__(38);
|
|
860
860
|
|
|
861
861
|
// EXTERNAL MODULE: ./src/icons/Search.tsx
|
|
862
|
-
var Search = __webpack_require__(
|
|
862
|
+
var Search = __webpack_require__(29);
|
|
863
863
|
|
|
864
864
|
// EXTERNAL MODULE: ./src/Select/OptionBase.tsx
|
|
865
865
|
var OptionBase = __webpack_require__(28);
|
package/SlidingPanels.js
CHANGED
|
@@ -154,7 +154,7 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
154
154
|
var external_react_spring_ = __webpack_require__(18);
|
|
155
155
|
|
|
156
156
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
157
|
-
var Animation_ = __webpack_require__(
|
|
157
|
+
var Animation_ = __webpack_require__(31);
|
|
158
158
|
|
|
159
159
|
// EXTERNAL MODULE: external "styled-components"
|
|
160
160
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -609,7 +609,7 @@ module.exports = require("styled-components");
|
|
|
609
609
|
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
|
-
/***/
|
|
612
|
+
/***/ 31:
|
|
613
613
|
/***/ (function(module, exports) {
|
|
614
614
|
|
|
615
615
|
module.exports = require("@splunk/react-ui/Animation");
|
package/Table.js
CHANGED
|
@@ -349,7 +349,7 @@ module.exports = require("@splunk/react-ui/Dropdown");
|
|
|
349
349
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
350
350
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
351
351
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
352
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
352
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
|
|
353
353
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
354
354
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
355
355
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -395,13 +395,13 @@ function ChevronRight(props) {
|
|
|
395
395
|
/* 29 */,
|
|
396
396
|
/* 30 */,
|
|
397
397
|
/* 31 */,
|
|
398
|
-
/* 32
|
|
398
|
+
/* 32 */,
|
|
399
|
+
/* 33 */
|
|
399
400
|
/***/ (function(module, exports) {
|
|
400
401
|
|
|
401
402
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
|
402
403
|
|
|
403
404
|
/***/ }),
|
|
404
|
-
/* 33 */,
|
|
405
405
|
/* 34 */,
|
|
406
406
|
/* 35 */,
|
|
407
407
|
/* 36 */,
|
package/Text.js
CHANGED
|
@@ -157,7 +157,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
157
157
|
var external_lodash_ = __webpack_require__(4);
|
|
158
158
|
|
|
159
159
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
160
|
-
var style_ = __webpack_require__(
|
|
160
|
+
var style_ = __webpack_require__(32);
|
|
161
161
|
|
|
162
162
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
163
163
|
var ScreenReaderContent_ = __webpack_require__(14);
|
|
@@ -177,7 +177,7 @@ var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_);
|
|
|
177
177
|
var i18n_ = __webpack_require__(5);
|
|
178
178
|
|
|
179
179
|
// EXTERNAL MODULE: ./src/icons/Search.tsx
|
|
180
|
-
var Search = __webpack_require__(
|
|
180
|
+
var Search = __webpack_require__(29);
|
|
181
181
|
|
|
182
182
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
183
183
|
var CrossMark = __webpack_require__(19);
|
|
@@ -316,6 +316,7 @@ var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
|
|
319
|
+
|
|
319
320
|
var disabledStyles = Object(external_styled_components_["css"])(["&,&[type]{cursor:not-allowed;color:", ";&::placeholder{color:", ";}}"], Object(themes_["pick"])({
|
|
320
321
|
enterprise: themes_["variables"].textDisabledColor,
|
|
321
322
|
prisma: themes_["variables"].contentColorDisabled
|
|
@@ -362,9 +363,22 @@ var StyledSearchIconWrapper = external_styled_components_default.a.span.withConf
|
|
|
362
363
|
prisma: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].contentColorDisabled)
|
|
363
364
|
}));
|
|
364
365
|
});
|
|
366
|
+
var StyledSearchIcon = external_styled_components_default()(Search["a" /* default */]).withConfig({
|
|
367
|
+
displayName: "TextStyles__StyledSearchIcon",
|
|
368
|
+
componentId: "eg7n6t-2"
|
|
369
|
+
})(["", ";color:", ";pointer-events:none;padding:", ";", ""], themes_["mixins"].reset('inline-block'), Object(themes_["pick"])({
|
|
370
|
+
enterprise: {
|
|
371
|
+
light: themes_["variables"].gray60,
|
|
372
|
+
dark: themes_["variables"].white
|
|
373
|
+
},
|
|
374
|
+
prisma: themes_["variables"].contentColorMuted
|
|
375
|
+
}), Object(themes_["pick"])({
|
|
376
|
+
comfortable: '0 8px',
|
|
377
|
+
compact: '0 6px'
|
|
378
|
+
}), buttonStyles);
|
|
365
379
|
var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
366
380
|
displayName: "TextStyles__StyledBox",
|
|
367
|
-
componentId: "eg7n6t-
|
|
381
|
+
componentId: "eg7n6t-3"
|
|
368
382
|
})(["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;}}", ""], Object(themes_["pick"])({
|
|
369
383
|
enterprise: themes_["variables"].spacingHalf,
|
|
370
384
|
prisma: themes_["variables"].spacingSmall
|
|
@@ -382,8 +396,8 @@ StyledClearButton, function (_ref2) {
|
|
|
382
396
|
});
|
|
383
397
|
var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
384
398
|
displayName: "TextStyles__StyledInputWrapper",
|
|
385
|
-
componentId: "eg7n6t-
|
|
386
|
-
})(["", ";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]){", "}", " ", " ", " ", "
|
|
399
|
+
componentId: "eg7n6t-4"
|
|
400
|
+
})(["", ";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_["mixins"].reset('inline-flex'), themes_["variables"].inputHeight, Object(themes_["pick"])({
|
|
387
401
|
enterprise: {
|
|
388
402
|
light: themes_["variables"].gray60,
|
|
389
403
|
dark: themes_["variables"].gray20
|
|
@@ -437,18 +451,13 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
|
437
451
|
},
|
|
438
452
|
prisma: Object(external_styled_components_["css"])(["border-color:", ";"], themes_["variables"].interactiveColorBorderDisabled)
|
|
439
453
|
}));
|
|
440
|
-
}, function (_ref9) {
|
|
441
|
-
var $multiline = _ref9.$multiline;
|
|
442
|
-
return $multiline && Object(themes_["pick"])({
|
|
443
|
-
enterprise: Object(external_styled_components_["css"])(["padding-right:0;"])
|
|
444
|
-
});
|
|
445
454
|
});
|
|
446
455
|
/* Some of these need greater specificity than input[type=text] */
|
|
447
456
|
|
|
448
457
|
var StyledInput = external_styled_components_default.a.input.withConfig({
|
|
449
458
|
displayName: "TextStyles__StyledInput",
|
|
450
|
-
componentId: "eg7n6t-
|
|
451
|
-
})(["", ";&,&[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;}", " ", "}
|
|
459
|
+
componentId: "eg7n6t-5"
|
|
460
|
+
})(["", ";&,&[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_["mixins"].reset('inline-flex'), Object(themes_["pick"])({
|
|
452
461
|
enterprise: themes_["variables"].textColor,
|
|
453
462
|
prisma: themes_["variables"].contentColorActive
|
|
454
463
|
}), themes_["variables"].sansFontFamily, Object(themes_["pick"])({
|
|
@@ -460,8 +469,8 @@ var StyledInput = external_styled_components_default.a.input.withConfig({
|
|
|
460
469
|
}), Object(themes_["pick"])({
|
|
461
470
|
enterprise: themes_["variables"].spacingHalf,
|
|
462
471
|
prisma: '14px'
|
|
463
|
-
}), themes_["variables"].contentColorMuted, function (
|
|
464
|
-
var $error =
|
|
472
|
+
}), themes_["variables"].contentColorMuted, function (_ref9) {
|
|
473
|
+
var $error = _ref9.$error;
|
|
465
474
|
return $error && Object(external_styled_components_["css"])(["&,&:hover{color:", ";}"], Object(themes_["pick"])({
|
|
466
475
|
enterprise: {
|
|
467
476
|
light: themes_["variables"].errorColorD10,
|
|
@@ -469,47 +478,26 @@ var StyledInput = external_styled_components_default.a.input.withConfig({
|
|
|
469
478
|
},
|
|
470
479
|
prisma: themes_["variables"].contentColorActive
|
|
471
480
|
}));
|
|
472
|
-
}, function (
|
|
473
|
-
var disabled =
|
|
481
|
+
}, function (_ref10) {
|
|
482
|
+
var disabled = _ref10.disabled;
|
|
474
483
|
return disabled && disabledStyles;
|
|
475
|
-
}
|
|
476
|
-
enterprise: {
|
|
477
|
-
comfortable: themes_["variables"].spacingQuarter,
|
|
478
|
-
compact: '3px'
|
|
479
|
-
},
|
|
480
|
-
prisma: {
|
|
481
|
-
comfortable: themes_["variables"].spacingSmall,
|
|
482
|
-
compact: '5px'
|
|
483
|
-
}
|
|
484
|
-
}), Object(themes_["pick"])({
|
|
485
|
-
enterprise: {
|
|
486
|
-
comfortable: themes_["variables"].spacingQuarter,
|
|
487
|
-
compact: '3px'
|
|
488
|
-
},
|
|
489
|
-
prisma: {
|
|
490
|
-
comfortable: themes_["variables"].spacingSmall,
|
|
491
|
-
compact: '5px'
|
|
492
|
-
}
|
|
493
|
-
}), Object(themes_["pick"])({
|
|
494
|
-
enterprise: '10px',
|
|
495
|
-
prisma: '14px'
|
|
496
|
-
}));
|
|
484
|
+
});
|
|
497
485
|
var StyledVisibilityToggle = external_styled_components_default()(Button_default.a).withConfig({
|
|
498
486
|
displayName: "TextStyles__StyledVisibilityToggle",
|
|
499
|
-
componentId: "eg7n6t-
|
|
487
|
+
componentId: "eg7n6t-6"
|
|
500
488
|
})(["", ""], buttonStyles);
|
|
501
489
|
var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
502
490
|
displayName: "TextStyles__StyledPlaceholder",
|
|
503
|
-
componentId: "eg7n6t-
|
|
491
|
+
componentId: "eg7n6t-7"
|
|
504
492
|
})(["pointer-events:none;color:", ";position:absolute;overflow:hidden;font-size:inherit;line-height:inherit;height:", ";margin-right:", ";", ";", ";", ""], Object(themes_["pick"])({
|
|
505
493
|
enterprise: themes_["variables"].textGray,
|
|
506
494
|
prisma: themes_["variables"].contentColorMuted
|
|
507
495
|
}), themes_["variables"].lineHeight, Object(themes_["pick"])({
|
|
508
496
|
enterprise: '10px',
|
|
509
497
|
prisma: '14px'
|
|
510
|
-
}), function (
|
|
511
|
-
var $hasStartAdornment =
|
|
512
|
-
$startAdornmentWidth =
|
|
498
|
+
}), function (_ref11) {
|
|
499
|
+
var $hasStartAdornment = _ref11.$hasStartAdornment,
|
|
500
|
+
$startAdornmentWidth = _ref11.$startAdornmentWidth;
|
|
513
501
|
return $hasStartAdornment && ($startAdornmentWidth ? Object(external_styled_components_["css"])(["margin-left:", "px;"], $startAdornmentWidth) : Object(external_styled_components_["css"])(["margin-left:", ";"], Object(themes_["pick"])({
|
|
514
502
|
enterprise: {
|
|
515
503
|
comfortable: '30px',
|
|
@@ -520,9 +508,9 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
520
508
|
compact: '30px'
|
|
521
509
|
}
|
|
522
510
|
})));
|
|
523
|
-
}, function (
|
|
524
|
-
var $hasEndAdornment =
|
|
525
|
-
$endAdornmentWidth =
|
|
511
|
+
}, function (_ref12) {
|
|
512
|
+
var $hasEndAdornment = _ref12.$hasEndAdornment,
|
|
513
|
+
$endAdornmentWidth = _ref12.$endAdornmentWidth;
|
|
526
514
|
return $hasEndAdornment && ($endAdornmentWidth // calc(100% - padding - adorment width)
|
|
527
515
|
? Object(external_styled_components_["css"])(["max-width:calc( 100% - ", " - ", "px );"], Object(themes_["pick"])({
|
|
528
516
|
enterprise: '10px',
|
|
@@ -540,10 +528,10 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
540
528
|
compact: '30px'
|
|
541
529
|
}
|
|
542
530
|
})));
|
|
543
|
-
}, function (
|
|
544
|
-
var $hasBothAdornment =
|
|
545
|
-
$endAdornmentWidth =
|
|
546
|
-
$startAdornmentWidth =
|
|
531
|
+
}, function (_ref13) {
|
|
532
|
+
var $hasBothAdornment = _ref13.$hasBothAdornment,
|
|
533
|
+
$endAdornmentWidth = _ref13.$endAdornmentWidth,
|
|
534
|
+
$startAdornmentWidth = _ref13.$startAdornmentWidth;
|
|
547
535
|
return $hasBothAdornment && Object(external_styled_components_["css"])(["max-width:calc(100% - ", "px - ", "px);"], $startAdornmentWidth, $endAdornmentWidth);
|
|
548
536
|
});
|
|
549
537
|
var adornmentHolder = Object(external_styled_components_["css"])(["display:inline-flex;align-items:center;justify-content:center;height:", ";pointer-events:none;"], Object(themes_["pick"])({
|
|
@@ -558,9 +546,9 @@ var adornmentHolder = Object(external_styled_components_["css"])(["display:inlin
|
|
|
558
546
|
}));
|
|
559
547
|
var StyledStartAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
560
548
|
displayName: "TextStyles__StyledStartAdornmentHolder",
|
|
561
|
-
componentId: "eg7n6t-
|
|
562
|
-
})(["", " ", ";"], adornmentHolder, function (
|
|
563
|
-
var $width =
|
|
549
|
+
componentId: "eg7n6t-8"
|
|
550
|
+
})(["", " ", ";"], adornmentHolder, function (_ref14) {
|
|
551
|
+
var $width = _ref14.$width;
|
|
564
552
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
565
553
|
enterprise: {
|
|
566
554
|
comfortable: '30px',
|
|
@@ -574,9 +562,9 @@ var StyledStartAdornmentHolder = external_styled_components_default.a.div.withCo
|
|
|
574
562
|
});
|
|
575
563
|
var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
576
564
|
displayName: "TextStyles__StyledEndAdornmentHolder",
|
|
577
|
-
componentId: "eg7n6t-
|
|
578
|
-
})(["", " ", ";"], adornmentHolder, function (
|
|
579
|
-
var $width =
|
|
565
|
+
componentId: "eg7n6t-9"
|
|
566
|
+
})(["", " ", ";"], adornmentHolder, function (_ref15) {
|
|
567
|
+
var $width = _ref15.$width;
|
|
580
568
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
581
569
|
enterprise: {
|
|
582
570
|
comfortable: '30px',
|
|
@@ -590,7 +578,7 @@ var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConf
|
|
|
590
578
|
});
|
|
591
579
|
var StyledAdornment = external_styled_components_default.a.div.withConfig({
|
|
592
580
|
displayName: "TextStyles__StyledAdornment",
|
|
593
|
-
componentId: "eg7n6t-
|
|
581
|
+
componentId: "eg7n6t-10"
|
|
594
582
|
})(["display:inline-flex;align-items:center;justify-content:center;position:absolute;pointer-events:none;z-index:1;height:", ";", ";", ";", ""], Object(themes_["pick"])({
|
|
595
583
|
enterprise: {
|
|
596
584
|
comfortable: '30px',
|
|
@@ -600,11 +588,11 @@ var StyledAdornment = external_styled_components_default.a.div.withConfig({
|
|
|
600
588
|
comfortable: '38px',
|
|
601
589
|
compact: '30px'
|
|
602
590
|
}
|
|
603
|
-
}), function (
|
|
604
|
-
var $position =
|
|
591
|
+
}), function (_ref16) {
|
|
592
|
+
var $position = _ref16.$position;
|
|
605
593
|
return $position === 'start' ? Object(external_styled_components_["css"])(["top:1px;left:1px;"]) : Object(external_styled_components_["css"])(["top:1px;right:1px;"]);
|
|
606
|
-
}, function (
|
|
607
|
-
var disabled =
|
|
594
|
+
}, function (_ref17) {
|
|
595
|
+
var disabled = _ref17.disabled;
|
|
608
596
|
return disabled && disabledStyles;
|
|
609
597
|
}, Object(themes_["pick"])({
|
|
610
598
|
enterprise: Object(external_styled_components_["css"])(["margin-left:-1px;margin-right:-1px;"])
|
|
@@ -912,7 +900,18 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
912
900
|
var controlGroupLabel = (_controlGroupContext$ = controlGroupContext.labelAttrs) === null || _controlGroupContext$ === void 0 ? void 0 : _controlGroupContext$.text;
|
|
913
901
|
var clearButtonText = controlGroupLabel ? Object(i18n_["_"])("Clear ".concat(controlGroupLabel, " text field")) : Object(i18n_["_"])('Clear text field');
|
|
914
902
|
|
|
903
|
+
var displayValue = _this.getDisplayValue();
|
|
904
|
+
|
|
915
905
|
if (!isPrisma && appearance === 'search') {
|
|
906
|
+
if (!displayValue) {
|
|
907
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default.a.createElement(StyledSearchIconWrapper, {
|
|
908
|
+
$disabled: disabled
|
|
909
|
+
}, /*#__PURE__*/external_react_default.a.createElement(Search["a" /* default */], {
|
|
910
|
+
enterpriseSize: "16px",
|
|
911
|
+
inline: false
|
|
912
|
+
})));
|
|
913
|
+
}
|
|
914
|
+
|
|
916
915
|
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
917
916
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
918
917
|
"data-test": "clear",
|
|
@@ -930,8 +929,6 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
930
929
|
})));
|
|
931
930
|
}
|
|
932
931
|
|
|
933
|
-
var displayValue = _this.getDisplayValue();
|
|
934
|
-
|
|
935
932
|
if (!!displayValue && (isPrisma && appearance === 'search' || canClear)) {
|
|
936
933
|
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
937
934
|
"data-test": "clear",
|
|
@@ -1082,8 +1079,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1082
1079
|
title = _this$props10.title,
|
|
1083
1080
|
type = _this$props10.type,
|
|
1084
1081
|
useSyntheticPlaceholder = _this$props10.useSyntheticPlaceholder,
|
|
1085
|
-
|
|
1086
|
-
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder", "value"]);
|
|
1082
|
+
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder"]);
|
|
1087
1083
|
|
|
1088
1084
|
var ariaProps = _objectSpread(_objectSpread({}, Object(external_lodash_["pickBy"])(otherProps, function (val, key) {
|
|
1089
1085
|
return key === 'role' || key.indexOf('aria-') === 0;
|
|
@@ -1292,21 +1288,7 @@ module.exports = require("@splunk/react-icons/SVG");
|
|
|
1292
1288
|
|
|
1293
1289
|
/***/ }),
|
|
1294
1290
|
|
|
1295
|
-
/***/
|
|
1296
|
-
/***/ (function(module, exports) {
|
|
1297
|
-
|
|
1298
|
-
module.exports = require("styled-components");
|
|
1299
|
-
|
|
1300
|
-
/***/ }),
|
|
1301
|
-
|
|
1302
|
-
/***/ 31:
|
|
1303
|
-
/***/ (function(module, exports) {
|
|
1304
|
-
|
|
1305
|
-
module.exports = require("@splunk/ui-utils/style");
|
|
1306
|
-
|
|
1307
|
-
/***/ }),
|
|
1308
|
-
|
|
1309
|
-
/***/ 34:
|
|
1291
|
+
/***/ 29:
|
|
1310
1292
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1311
1293
|
|
|
1312
1294
|
"use strict";
|
|
@@ -1356,6 +1338,20 @@ function Search(props) {
|
|
|
1356
1338
|
|
|
1357
1339
|
/***/ }),
|
|
1358
1340
|
|
|
1341
|
+
/***/ 3:
|
|
1342
|
+
/***/ (function(module, exports) {
|
|
1343
|
+
|
|
1344
|
+
module.exports = require("styled-components");
|
|
1345
|
+
|
|
1346
|
+
/***/ }),
|
|
1347
|
+
|
|
1348
|
+
/***/ 32:
|
|
1349
|
+
/***/ (function(module, exports) {
|
|
1350
|
+
|
|
1351
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
1352
|
+
|
|
1353
|
+
/***/ }),
|
|
1354
|
+
|
|
1359
1355
|
/***/ 4:
|
|
1360
1356
|
/***/ (function(module, exports) {
|
|
1361
1357
|
|
package/TextArea.js
CHANGED
|
@@ -150,7 +150,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
150
150
|
var external_lodash_ = __webpack_require__(4);
|
|
151
151
|
|
|
152
152
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
153
|
-
var style_ = __webpack_require__(
|
|
153
|
+
var style_ = __webpack_require__(32);
|
|
154
154
|
|
|
155
155
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
156
156
|
var EventListener_ = __webpack_require__(15);
|
|
@@ -166,7 +166,7 @@ var ControlGroup_ = __webpack_require__(78);
|
|
|
166
166
|
var i18n_ = __webpack_require__(5);
|
|
167
167
|
|
|
168
168
|
// EXTERNAL MODULE: ./src/icons/Search.tsx
|
|
169
|
-
var Search = __webpack_require__(
|
|
169
|
+
var Search = __webpack_require__(29);
|
|
170
170
|
|
|
171
171
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
172
172
|
var CrossMark = __webpack_require__(19);
|
|
@@ -295,7 +295,7 @@ var StyledClearButton = external_styled_components_default()(Button_default.a).w
|
|
|
295
295
|
var StyledSearchIconWrapper = external_styled_components_default.a.span.withConfig({
|
|
296
296
|
displayName: "TextAreaStyles__StyledSearchIconWrapper",
|
|
297
297
|
componentId: "gfy8yp-1"
|
|
298
|
-
})(["", ";color:", ";pointer-events:none;padding:", "
|
|
298
|
+
})(["", ";color:", ";pointer-events:none;padding:", ";", ""], themes_["mixins"].reset('inline-block'), Object(themes_["pick"])({
|
|
299
299
|
enterprise: {
|
|
300
300
|
light: themes_["variables"].gray60,
|
|
301
301
|
dark: themes_["variables"].white
|
|
@@ -304,9 +304,13 @@ var StyledSearchIconWrapper = external_styled_components_default.a.span.withConf
|
|
|
304
304
|
}), Object(themes_["pick"])({
|
|
305
305
|
comfortable: '0 8px',
|
|
306
306
|
compact: '0 6px'
|
|
307
|
-
}),
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
}), function (_ref) {
|
|
308
|
+
var $disabled = _ref.$disabled;
|
|
309
|
+
return $disabled && Object(external_styled_components_["css"])(["", ""], Object(themes_["pick"])({
|
|
310
|
+
enterprise: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].textDisabledColor),
|
|
311
|
+
prisma: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].contentColorDisabled)
|
|
312
|
+
}));
|
|
313
|
+
});
|
|
310
314
|
var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
311
315
|
displayName: "TextAreaStyles__StyledBox",
|
|
312
316
|
componentId: "gfy8yp-2"
|
|
@@ -336,13 +340,13 @@ var StyledTextAreaWrapper = external_styled_components_default.a.span.withConfig
|
|
|
336
340
|
},
|
|
337
341
|
prisma: themes_["variables"].transparent
|
|
338
342
|
}), Object(themes_["pick"])({
|
|
339
|
-
enterprise: '0px 10px',
|
|
343
|
+
enterprise: '0px 0px 0px 10px',
|
|
340
344
|
prisma: '0px 12px'
|
|
341
|
-
}), function (
|
|
342
|
-
var $hasEndAdornment =
|
|
345
|
+
}), function (_ref2) {
|
|
346
|
+
var $hasEndAdornment = _ref2.$hasEndAdornment;
|
|
343
347
|
return $hasEndAdornment && Object(external_styled_components_["css"])(["padding-right:0;"]);
|
|
344
|
-
}, function (
|
|
345
|
-
var $hasStartAdornment =
|
|
348
|
+
}, function (_ref3) {
|
|
349
|
+
var $hasStartAdornment = _ref3.$hasStartAdornment;
|
|
346
350
|
return $hasStartAdornment && Object(external_styled_components_["css"])(["padding-left:0;"]);
|
|
347
351
|
}, Object(themes_["pick"])({
|
|
348
352
|
enterprise: {
|
|
@@ -353,8 +357,8 @@ var StyledTextAreaWrapper = external_styled_components_default.a.span.withConfig
|
|
|
353
357
|
}), Object(themes_["pick"])({
|
|
354
358
|
enterprise: Object(external_styled_components_["css"])(["box-shadow:", ";color:", ";"], themes_["variables"].focusShadow, themes_["variables"].textColor),
|
|
355
359
|
prisma: Object(external_styled_components_["css"])(["border-color:", ";color:", ";"], themes_["variables"].interactiveColorPrimary, themes_["variables"].contentColorActive)
|
|
356
|
-
}), function (
|
|
357
|
-
var $error =
|
|
360
|
+
}), function (_ref4) {
|
|
361
|
+
var $error = _ref4.$error;
|
|
358
362
|
return $error && Object(external_styled_components_["css"])(["&,&:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}"], Object(themes_["pick"])({
|
|
359
363
|
enterprise: themes_["variables"].errorColor,
|
|
360
364
|
prisma: themes_["variables"].accentColorNegative
|
|
@@ -362,14 +366,14 @@ var StyledTextAreaWrapper = external_styled_components_default.a.span.withConfig
|
|
|
362
366
|
enterprise: Object(external_styled_components_["css"])(["box-shadow:", ";color:", ";"], themes_["variables"].focusShadow, themes_["variables"].textColor),
|
|
363
367
|
prisma: Object(external_styled_components_["css"])(["border-color:", ";color:", ";"], themes_["variables"].interactiveColorPrimary, themes_["variables"].contentColorActive)
|
|
364
368
|
}));
|
|
365
|
-
}, function (_ref4) {
|
|
366
|
-
var $append = _ref4.$append;
|
|
367
|
-
return $append && Object(external_styled_components_["css"])(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
368
369
|
}, function (_ref5) {
|
|
369
|
-
var $
|
|
370
|
-
return $
|
|
370
|
+
var $append = _ref5.$append;
|
|
371
|
+
return $append && Object(external_styled_components_["css"])(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
371
372
|
}, function (_ref6) {
|
|
372
|
-
var
|
|
373
|
+
var $prepend = _ref6.$prepend;
|
|
374
|
+
return $prepend && Object(external_styled_components_["css"])(["border-top-left-radius:0;border-bottom-left-radius:0;"]);
|
|
375
|
+
}, function (_ref7) {
|
|
376
|
+
var disabled = _ref7.disabled;
|
|
373
377
|
return disabled && Object(external_styled_components_["css"])(["", " box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);"], Object(themes_["pick"])({
|
|
374
378
|
enterprise: {
|
|
375
379
|
light: Object(external_styled_components_["css"])(["background-color:", ";border-color:", ";"], themes_["variables"].gray96, themes_["variables"].gray92),
|
|
@@ -405,8 +409,8 @@ var StyledTextArea = external_styled_components_default.a.textarea.withConfig({
|
|
|
405
409
|
}), Object(themes_["pick"])({
|
|
406
410
|
enterprise: '10px',
|
|
407
411
|
prisma: '14px'
|
|
408
|
-
}), themes_["variables"].contentColorMuted, function (
|
|
409
|
-
var $error =
|
|
412
|
+
}), themes_["variables"].contentColorMuted, function (_ref8) {
|
|
413
|
+
var $error = _ref8.$error;
|
|
410
414
|
return $error && Object(external_styled_components_["css"])(["&,&:hover{color:", ";}"], Object(themes_["pick"])({
|
|
411
415
|
enterprise: {
|
|
412
416
|
light: themes_["variables"].errorColorD10,
|
|
@@ -414,8 +418,8 @@ var StyledTextArea = external_styled_components_default.a.textarea.withConfig({
|
|
|
414
418
|
},
|
|
415
419
|
prisma: themes_["variables"].contentColorActive
|
|
416
420
|
}));
|
|
417
|
-
}, function (
|
|
418
|
-
var disabled =
|
|
421
|
+
}, function (_ref9) {
|
|
422
|
+
var disabled = _ref9.disabled;
|
|
419
423
|
return disabled && disabledStyles;
|
|
420
424
|
});
|
|
421
425
|
var StyledVisibilityToggle = external_styled_components_default()(Button_default.a).withConfig({
|
|
@@ -431,9 +435,9 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
431
435
|
}), themes_["variables"].lineHeight, Object(themes_["pick"])({
|
|
432
436
|
enterprise: '10px',
|
|
433
437
|
prisma: '14px'
|
|
434
|
-
}), function (
|
|
435
|
-
var $hasStartAdornment =
|
|
436
|
-
$startAdornmentWidth =
|
|
438
|
+
}), function (_ref10) {
|
|
439
|
+
var $hasStartAdornment = _ref10.$hasStartAdornment,
|
|
440
|
+
$startAdornmentWidth = _ref10.$startAdornmentWidth;
|
|
437
441
|
return $hasStartAdornment && ($startAdornmentWidth ? Object(external_styled_components_["css"])(["margin-left:", "px;"], $startAdornmentWidth) : Object(external_styled_components_["css"])(["margin-left:", ";"], Object(themes_["pick"])({
|
|
438
442
|
enterprise: {
|
|
439
443
|
comfortable: '30px',
|
|
@@ -444,9 +448,9 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
444
448
|
compact: '30px'
|
|
445
449
|
}
|
|
446
450
|
})));
|
|
447
|
-
}, function (
|
|
448
|
-
var $hasEndAdornment =
|
|
449
|
-
$endAdornmentWidth =
|
|
451
|
+
}, function (_ref11) {
|
|
452
|
+
var $hasEndAdornment = _ref11.$hasEndAdornment,
|
|
453
|
+
$endAdornmentWidth = _ref11.$endAdornmentWidth;
|
|
450
454
|
return $hasEndAdornment && ($endAdornmentWidth // calc(100% - padding - adorment width)
|
|
451
455
|
? Object(external_styled_components_["css"])(["max-width:calc( 100% - ", " - ", "px );"], Object(themes_["pick"])({
|
|
452
456
|
enterprise: '10px',
|
|
@@ -464,10 +468,10 @@ var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
|
464
468
|
compact: '30px'
|
|
465
469
|
}
|
|
466
470
|
})));
|
|
467
|
-
}, function (
|
|
468
|
-
var $hasBothAdornment =
|
|
469
|
-
$endAdornmentWidth =
|
|
470
|
-
$startAdornmentWidth =
|
|
471
|
+
}, function (_ref12) {
|
|
472
|
+
var $hasBothAdornment = _ref12.$hasBothAdornment,
|
|
473
|
+
$endAdornmentWidth = _ref12.$endAdornmentWidth,
|
|
474
|
+
$startAdornmentWidth = _ref12.$startAdornmentWidth;
|
|
471
475
|
return $hasBothAdornment && Object(external_styled_components_["css"])(["max-width:calc(100% - ", "px - ", "px);"], $startAdornmentWidth, $endAdornmentWidth);
|
|
472
476
|
});
|
|
473
477
|
var adornmentHolder = Object(external_styled_components_["css"])(["display:inline-flex;align-items:center;justify-content:center;height:", ";pointer-events:none;"], Object(themes_["pick"])({
|
|
@@ -483,8 +487,8 @@ var adornmentHolder = Object(external_styled_components_["css"])(["display:inlin
|
|
|
483
487
|
var StyledStartAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
484
488
|
displayName: "TextAreaStyles__StyledStartAdornmentHolder",
|
|
485
489
|
componentId: "gfy8yp-7"
|
|
486
|
-
})(["", " ", ";"], adornmentHolder, function (
|
|
487
|
-
var $width =
|
|
490
|
+
})(["", " ", ";"], adornmentHolder, function (_ref13) {
|
|
491
|
+
var $width = _ref13.$width;
|
|
488
492
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
489
493
|
enterprise: {
|
|
490
494
|
comfortable: '30px',
|
|
@@ -499,8 +503,8 @@ var StyledStartAdornmentHolder = external_styled_components_default.a.div.withCo
|
|
|
499
503
|
var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
500
504
|
displayName: "TextAreaStyles__StyledEndAdornmentHolder",
|
|
501
505
|
componentId: "gfy8yp-8"
|
|
502
|
-
})(["", " ", ";"], adornmentHolder, function (
|
|
503
|
-
var $width =
|
|
506
|
+
})(["", " ", ";"], adornmentHolder, function (_ref14) {
|
|
507
|
+
var $width = _ref14.$width;
|
|
504
508
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
505
509
|
enterprise: {
|
|
506
510
|
comfortable: '30px',
|
|
@@ -524,11 +528,11 @@ var StyledAdornment = external_styled_components_default.a.div.withConfig({
|
|
|
524
528
|
comfortable: '38px',
|
|
525
529
|
compact: '30px'
|
|
526
530
|
}
|
|
527
|
-
}), function (
|
|
528
|
-
var $position =
|
|
531
|
+
}), function (_ref15) {
|
|
532
|
+
var $position = _ref15.$position;
|
|
529
533
|
return $position === 'start' ? Object(external_styled_components_["css"])(["top:1px;left:1px;"]) : Object(external_styled_components_["css"])(["top:1px;right:1px;"]);
|
|
530
|
-
}, function (
|
|
531
|
-
var disabled =
|
|
534
|
+
}, function (_ref16) {
|
|
535
|
+
var disabled = _ref16.disabled;
|
|
532
536
|
return disabled && disabledStyles;
|
|
533
537
|
}, Object(themes_["pick"])({
|
|
534
538
|
enterprise: Object(external_styled_components_["css"])(["margin-left:-1px;margin-right:-1px;"])
|
|
@@ -848,7 +852,7 @@ var TextArea_TextArea = /*#__PURE__*/function (_Component) {
|
|
|
848
852
|
var displayValue = _this.getDisplayValue();
|
|
849
853
|
|
|
850
854
|
if (!!displayValue && (isPrisma && appearance === 'search' || canClear)) {
|
|
851
|
-
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
855
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
852
856
|
"data-test": "clear",
|
|
853
857
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
854
858
|
onClick: _this.handleClear,
|
|
@@ -989,8 +993,7 @@ var TextArea_TextArea = /*#__PURE__*/function (_Component) {
|
|
|
989
993
|
spellCheck = _this$props10.spellCheck,
|
|
990
994
|
tabIndex = _this$props10.tabIndex,
|
|
991
995
|
title = _this$props10.title,
|
|
992
|
-
|
|
993
|
-
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "maxLength", "name", "placeholder", "prepend", "spellCheck", "tabIndex", "title", "value"]);
|
|
996
|
+
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "maxLength", "name", "placeholder", "prepend", "spellCheck", "tabIndex", "title"]);
|
|
994
997
|
|
|
995
998
|
var ariaProps = _objectSpread(_objectSpread({}, Object(external_lodash_["pickBy"])(otherProps, function (val, key) {
|
|
996
999
|
return key === 'role' || key.indexOf('aria-') === 0;
|
|
@@ -1199,21 +1202,7 @@ module.exports = require("@splunk/react-icons/Close");
|
|
|
1199
1202
|
|
|
1200
1203
|
/***/ }),
|
|
1201
1204
|
|
|
1202
|
-
/***/
|
|
1203
|
-
/***/ (function(module, exports) {
|
|
1204
|
-
|
|
1205
|
-
module.exports = require("styled-components");
|
|
1206
|
-
|
|
1207
|
-
/***/ }),
|
|
1208
|
-
|
|
1209
|
-
/***/ 31:
|
|
1210
|
-
/***/ (function(module, exports) {
|
|
1211
|
-
|
|
1212
|
-
module.exports = require("@splunk/ui-utils/style");
|
|
1213
|
-
|
|
1214
|
-
/***/ }),
|
|
1215
|
-
|
|
1216
|
-
/***/ 34:
|
|
1205
|
+
/***/ 29:
|
|
1217
1206
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1218
1207
|
|
|
1219
1208
|
"use strict";
|
|
@@ -1263,6 +1252,20 @@ function Search(props) {
|
|
|
1263
1252
|
|
|
1264
1253
|
/***/ }),
|
|
1265
1254
|
|
|
1255
|
+
/***/ 3:
|
|
1256
|
+
/***/ (function(module, exports) {
|
|
1257
|
+
|
|
1258
|
+
module.exports = require("styled-components");
|
|
1259
|
+
|
|
1260
|
+
/***/ }),
|
|
1261
|
+
|
|
1262
|
+
/***/ 32:
|
|
1263
|
+
/***/ (function(module, exports) {
|
|
1264
|
+
|
|
1265
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
1266
|
+
|
|
1267
|
+
/***/ }),
|
|
1268
|
+
|
|
1266
1269
|
/***/ 4:
|
|
1267
1270
|
/***/ (function(module, exports) {
|
|
1268
1271
|
|
package/TransitionOpen.js
CHANGED
|
@@ -123,13 +123,13 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
123
123
|
var external_lodash_ = __webpack_require__(4);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
126
|
-
var Animation_ = __webpack_require__(
|
|
126
|
+
var Animation_ = __webpack_require__(31);
|
|
127
127
|
|
|
128
128
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
129
129
|
var focus_ = __webpack_require__(26);
|
|
130
130
|
|
|
131
131
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
132
|
-
var style_ = __webpack_require__(
|
|
132
|
+
var style_ = __webpack_require__(32);
|
|
133
133
|
|
|
134
134
|
// EXTERNAL MODULE: external "react-spring"
|
|
135
135
|
var external_react_spring_ = __webpack_require__(18);
|
|
@@ -494,14 +494,14 @@ module.exports = require("styled-components");
|
|
|
494
494
|
|
|
495
495
|
/***/ }),
|
|
496
496
|
|
|
497
|
-
/***/
|
|
497
|
+
/***/ 31:
|
|
498
498
|
/***/ (function(module, exports) {
|
|
499
499
|
|
|
500
500
|
module.exports = require("@splunk/react-ui/Animation");
|
|
501
501
|
|
|
502
502
|
/***/ }),
|
|
503
503
|
|
|
504
|
-
/***/
|
|
504
|
+
/***/ 32:
|
|
505
505
|
/***/ (function(module, exports) {
|
|
506
506
|
|
|
507
507
|
module.exports = require("@splunk/ui-utils/style");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-ui",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"description": "Library of React components that implement the Splunk design language",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Splunk Inc.",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"build": "cross-env NODE_ENV=production webpack && yarn types:build && yarn build-storybook",
|
|
9
9
|
"docs": "NODE_ENV=production webpack --config docs.gen.webpack.config.js",
|
|
10
10
|
"docs:publish": "cicd-publish-docs docs --force",
|
|
11
|
+
"docs:publish:external": "cicd-publish-docs docs --force --suffix=public",
|
|
11
12
|
"docs:start": "webpack serve --config docs.gen.webpack.config.js",
|
|
12
13
|
"eslint": "eslint src .storybook --ext \".ts,.tsx,.js,.jsx\"",
|
|
13
14
|
"eslint:fix": "yarn run eslint --fix",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"@cypress/react": "^5.12.4",
|
|
69
70
|
"@cypress/webpack-dev-server": "^1.8.2",
|
|
70
71
|
"@splunk/babel-preset": "^3.0.0",
|
|
71
|
-
"@splunk/cicd-tools": "^0.
|
|
72
|
+
"@splunk/cicd-tools": "^0.5.0",
|
|
72
73
|
"@splunk/docs-gen": "^0.11.2",
|
|
73
74
|
"@splunk/eslint-config": "^4.0.0",
|
|
74
75
|
"@splunk/react-docs": "^0.11.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { TextChangeHandler } from '@splunk/react-ui/Text';
|
|
3
|
-
declare class Example extends Component<{}, {
|
|
4
|
-
value: string;
|
|
5
|
-
}> {
|
|
6
|
-
constructor(props: {});
|
|
7
|
-
handleChange: TextChangeHandler;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export default Example;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { TextChangeHandler } from '@splunk/react-ui/Text';
|
|
3
|
-
declare class Example extends Component<{}, {
|
|
4
|
-
value: string;
|
|
5
|
-
}> {
|
|
6
|
-
constructor(props: {});
|
|
7
|
-
handleChange: TextChangeHandler;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export default Example;
|