@splunk/react-ui 4.17.1 → 4.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/Accordion.js +6 -6
  2. package/Anchor.js +2 -2
  3. package/Animation.js +2 -2
  4. package/AnimationToggle.js +5 -5
  5. package/Box.js +2 -2
  6. package/Button.js +4 -4
  7. package/ButtonGroup.js +2 -2
  8. package/ButtonSimple.js +2 -2
  9. package/CHANGELOG.md +28 -2
  10. package/Calendar.js +8 -8
  11. package/Card.js +8 -8
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +23 -16
  14. package/Clickable.js +11 -11
  15. package/CloseButton.js +2 -2
  16. package/Code.js +12 -12
  17. package/CollapsiblePanel.js +4 -4
  18. package/Color.js +209 -182
  19. package/ColumnLayout.js +6 -6
  20. package/ComboBox.js +14 -14
  21. package/Concertina.js +10 -10
  22. package/ControlGroup.js +2 -2
  23. package/Date.js +13 -13
  24. package/DefinitionList.js +2 -2
  25. package/Divider.js +2 -2
  26. package/Dropdown.js +13 -13
  27. package/DualListbox.js +9 -6
  28. package/EventListener.js +4 -4
  29. package/File.js +13 -13
  30. package/FormRows.js +264 -103
  31. package/Heading.js +50 -50
  32. package/Image.js +15 -15
  33. package/JSONTree.js +38 -36
  34. package/Layer.js +10 -10
  35. package/Link.js +2 -2
  36. package/List.js +9 -6
  37. package/MIGRATION.mdx +295 -0
  38. package/Markdown.js +24 -19
  39. package/Menu.js +12 -12
  40. package/Message.js +4 -4
  41. package/MessageBar.js +2 -2
  42. package/Modal.js +4 -4
  43. package/ModalLayer.js +4 -4
  44. package/Monogram.js +3 -3
  45. package/Multiselect.js +33 -33
  46. package/Number.js +7 -6
  47. package/Paginator.js +6 -6
  48. package/Paragraph.js +2 -2
  49. package/Popover.js +31 -27
  50. package/Progress.js +4 -4
  51. package/RadioBar.js +4 -4
  52. package/RadioList.js +2 -2
  53. package/Resize.js +6 -6
  54. package/ResultsMenu.js +8 -8
  55. package/ScreenReaderContent.js +2 -2
  56. package/Scroll.js +6 -6
  57. package/ScrollContainerContext.js +2 -2
  58. package/Search.js +14 -14
  59. package/Select.js +12 -12
  60. package/SidePanel.js +2 -2
  61. package/Slider.js +10 -10
  62. package/SlidingPanels.js +8 -8
  63. package/SplitButton.js +4 -4
  64. package/StaticContent.js +2 -2
  65. package/StepBar.js +2 -2
  66. package/Switch.js +2 -2
  67. package/TabBar.js +68 -51
  68. package/TabLayout.js +6 -6
  69. package/Table.js +51 -50
  70. package/Text.js +25 -23
  71. package/TextArea.js +24 -22
  72. package/Tooltip.js +11 -11
  73. package/TransitionOpen.js +2 -2
  74. package/Typography.js +4 -4
  75. package/WaitSpinner.js +2 -2
  76. package/cypress/support/component-index.html +12 -0
  77. package/cypress/support/component.ts +27 -0
  78. package/cypress.config.ts +19 -0
  79. package/package.json +14 -19
  80. package/stubs-dependencies.d.ts +0 -9
  81. package/types/src/Button/Button.d.ts +5 -3
  82. package/types/src/Clickable/Clickable.d.ts +2 -1
  83. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
  84. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -0
  85. package/types/src/Color/Color.d.ts +6 -6
  86. package/types/src/Color/Palette.d.ts +46 -0
  87. package/types/src/Concertina/Panel.d.ts +1 -0
  88. package/types/src/FormRows/FormRows.d.ts +1 -2
  89. package/types/src/FormRows/Row.d.ts +3 -12
  90. package/types/src/FormRows/RowInternal.d.ts +19 -0
  91. package/types/src/FormRows/SortableList.d.ts +8 -2
  92. package/types/src/FormRows/SortableRow.d.ts +20 -0
  93. package/types/src/Heading/Heading.d.ts +8 -3
  94. package/types/src/JSONTree/JSONTree.d.ts +2 -1
  95. package/types/src/Layer/Layer.d.ts +2 -0
  96. package/types/src/List/List.d.ts +9 -1
  97. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -0
  98. package/types/src/List/docs/examples/OrderedList.d.ts +2 -0
  99. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -0
  100. package/types/src/Markdown/Markdown.d.ts +1 -0
  101. package/types/src/Markdown/renderers/MarkdownList.d.ts +2 -0
  102. package/types/src/Number/Number.d.ts +9 -4
  103. package/types/src/Popover/Popover.d.ts +2 -0
  104. package/types/src/TabBar/Tab.d.ts +2 -0
  105. package/types/src/Table/Head.d.ts +1 -0
  106. package/types/src/Table/HeadCell.d.ts +1 -0
  107. package/types/src/Table/HeadDropdownCell.d.ts +1 -0
  108. package/types/src/Table/Table.d.ts +3 -1
  109. package/types/src/Text/Text.d.ts +3 -1
  110. package/types/src/TextArea/TextArea.d.ts +2 -0
  111. package/useForceUpdate.js +2 -2
  112. package/useKeyPress.js +2 -2
  113. package/usePrevious.js +2 -2
  114. package/useRovingFocus.js +2 -2
  115. package/MIGRATION.md +0 -49
  116. package/cypress/plugins/index.ts +0 -15
  117. package/cypress/support/index.ts +0 -10
  118. package/cypress.json +0 -13
  119. package/types/src/List/docs/examples/Decimal.d.ts +0 -2
  120. package/types/src/List/docs/examples/Disc.d.ts +0 -2
  121. package/types/src/List/docs/examples/LowerAlpha.d.ts +0 -2
  122. package/types/src/List/docs/examples/UpperAlpha.d.ts +0 -2
package/Accordion.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 188);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 190);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,21 +101,21 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 10:
104
+ /***/ 11:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("lodash/has");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 121:
111
+ /***/ 122:
112
112
  /***/ (function(module, exports) {
113
113
 
114
114
  module.exports = require("@splunk/react-ui/CollapsiblePanel");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 188:
118
+ /***/ 190:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
@@ -135,7 +135,7 @@ var external_prop_types_ = __webpack_require__(1);
135
135
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
136
136
 
137
137
  // EXTERNAL MODULE: external "lodash/has"
138
- var has_ = __webpack_require__(10);
138
+ var has_ = __webpack_require__(11);
139
139
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
140
140
 
141
141
  // EXTERNAL MODULE: external "lodash/keys"
@@ -147,7 +147,7 @@ var omit_ = __webpack_require__(5);
147
147
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
148
148
 
149
149
  // EXTERNAL MODULE: external "@splunk/react-ui/CollapsiblePanel"
150
- var CollapsiblePanel_ = __webpack_require__(121);
150
+ var CollapsiblePanel_ = __webpack_require__(122);
151
151
  var CollapsiblePanel_default = /*#__PURE__*/__webpack_require__.n(CollapsiblePanel_);
152
152
 
153
153
  // EXTERNAL MODULE: external "@splunk/themes"
package/Anchor.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 210);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 211);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 210:
111
+ /***/ 211:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Animation.js CHANGED
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 236);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 237);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 236:
90
+ /***/ 237:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 189);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 191);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -94,7 +94,7 @@ module.exports = require("prop-types");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 189:
97
+ /***/ 191:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
@@ -213,14 +213,14 @@ function AnimationToggle(_ref) {
213
213
  var animationToggle = useAnimationToggle_useAnimationToggle();
214
214
 
215
215
  if (animationToggle === 'on') {
216
- return callMeMaybe(on);
216
+ return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(on));
217
217
  }
218
218
 
219
219
  if (animationToggle === 'reduced' && reduced) {
220
- return callMeMaybe(reduced);
220
+ return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(reduced));
221
221
  }
222
222
 
223
- return callMeMaybe(off); // react-docgen ignores components that don't use JSX/React.createElement.
223
+ return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(off)); // react-docgen ignores components that don't use JSX/React.createElement.
224
224
  // the following line forces detection:
225
225
 
226
226
  return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null); // eslint-disable-line no-unreachable
package/Box.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 211);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 212);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 211:
111
+ /***/ 212:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Button.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 190);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 192);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 122:
104
+ /***/ 123:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-icons/ArrowSquareTopRightInset");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 190:
111
+ /***/ 192:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -303,7 +303,7 @@ var CaretSmallDown_CaretSmallDown = function CaretSmallDown() {
303
303
 
304
304
  /* harmony default export */ var icons_CaretSmallDown = (CaretSmallDown_CaretSmallDown);
305
305
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowSquareTopRightInset"
306
- var ArrowSquareTopRightInset_ = __webpack_require__(122);
306
+ var ArrowSquareTopRightInset_ = __webpack_require__(123);
307
307
  var ArrowSquareTopRightInset_default = /*#__PURE__*/__webpack_require__.n(ArrowSquareTopRightInset_);
308
308
 
309
309
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/External"
package/ButtonGroup.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 212);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 213);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 212:
111
+ /***/ 213:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/ButtonSimple.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 191);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 193);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 191:
118
+ /***/ 193:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
package/CHANGELOG.md CHANGED
@@ -1,9 +1,35 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
- 4.17.1 - June 6, 2023
4
+ 4.19.0 - August 1, 2023
5
5
  ----------
6
+ New Features:
7
+ * Heading now supports `elementRef` (SUI-5534).
8
+
9
+ Bug Fixes:
10
+ * The `TabBar` tooltip now aligns to the center of the `Tab` in Prisma theme (SUI-5598).
11
+ * Clicking the "clear" button in `ComboBox`, `Multiselect.Compact`, `Search`, `Select`, `Text`, and `TextArea` will no longer cause focus to be lost (SUI-5667).
12
+ * Updated `Chip`'s background-colors and text-color to fix contrast failures in Enterprise theme (SUI-2836).
13
+
14
+ 4.18.0 - July 12, 2023
15
+ ----------
16
+ New Features:
17
+ * Added `ordered` prop to `List` component (SUI-5550).
6
18
 
19
+ Bug Fixes:
20
+ * `Number` Typescript now accepts `inputRef` prop to target the underlying text input.
21
+ * `Number` and `Text` components' focus methods now accept focus options.
22
+ * `TabBar` and `TabLayout` no longer renders `[object Object]` in the tooltip when `label` is a `React.Node` (SUI-5352).
23
+ * `Menu.Item` sets the correct size for svg elements passed to the `icon` prop in prisma themes.
24
+
25
+ Deprecations:
26
+ * `Heading`'s `level="s"` and `level="ss"` have been deprecated and will be removed in a future major version. See the migration guide for details (SUI-5536).
27
+ * `List`'s `type` prop has been deprecated and will be removed in a future major version (SUI-5551).
28
+ * List will default to `HTMLUListElement`. Use `ordered` prop to set list to `HTMLOListElement`.
29
+ * Use CSS to style the `list-style-type` property.
30
+
31
+ 4.17.1 - June 6, 2023
32
+ ----------
7
33
  Bug Fixes:
8
34
  * `Multiselect` should respect `aria-label` and `labelledBy` props (SUI-5510).
9
35
  * Fixed incorrect `aria-*` and `role` attributes in `Select` (SUI-5515).
@@ -125,7 +151,7 @@ Bug Fixes:
125
151
  ----------
126
152
  New Features:
127
153
  * New `Divider` component for separating components with horizontal or vertical rules (SUI-4080).
128
- * Added `inputOnly` prop to `Date` (SUI-3809).
154
+ * Added `inputOnly` prop to `Date` for Prisma theme (SUI-3809).
129
155
  * Added a `renderChildrenWhenCollapsed` prop to `CollapsiblePanel` and `TransitionOpen` which defaults to `false` (SUI-4321).
130
156
  * Added a `divider` prop to `Modal` to show dividers between header, body and footer. The value defaults to `both` (SUI-3443).
131
157
  * `ControlGroup`'s `error` prop now takes `boolean` or `string` (SUI-5086).
package/Calendar.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 174);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 175);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 11:
104
+ /***/ 10:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -142,7 +142,7 @@ module.exports = require("@splunk/react-ui/Button");
142
142
 
143
143
  /***/ }),
144
144
 
145
- /***/ 174:
145
+ /***/ 175:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "use strict";
@@ -177,7 +177,7 @@ var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment
177
177
  var id_ = __webpack_require__(8);
178
178
 
179
179
  // EXTERNAL MODULE: external "lodash/times"
180
- var times_ = __webpack_require__(77);
180
+ var times_ = __webpack_require__(79);
181
181
  var times_default = /*#__PURE__*/__webpack_require__.n(times_);
182
182
 
183
183
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -644,7 +644,7 @@ function DateTable(_ref2) {
644
644
  DateTable.propTypes = DateTable_propTypes;
645
645
  /* harmony default export */ var Calendar_DateTable = (DateTable);
646
646
  // EXTERNAL MODULE: external "@splunk/react-icons/ChevronLeft"
647
- var ChevronLeft_ = __webpack_require__(83);
647
+ var ChevronLeft_ = __webpack_require__(84);
648
648
  var ChevronLeft_default = /*#__PURE__*/__webpack_require__.n(ChevronLeft_);
649
649
 
650
650
  // EXTERNAL MODULE: external "@splunk/react-icons/ChevronRight"
@@ -891,7 +891,7 @@ var CalendarStyles_StyledBox = external_styled_components_default()(Box_default.
891
891
  }));
892
892
 
893
893
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
894
- var updateReactRef = __webpack_require__(11);
894
+ var updateReactRef = __webpack_require__(10);
895
895
 
896
896
  // CONCATENATED MODULE: ./src/Calendar/Calendar.tsx
897
897
  function Calendar_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Calendar_typeof = function _typeof(obj) { return typeof obj; }; } else { Calendar_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Calendar_typeof(obj); }
@@ -1185,7 +1185,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
1185
1185
 
1186
1186
  /***/ }),
1187
1187
 
1188
- /***/ 77:
1188
+ /***/ 79:
1189
1189
  /***/ (function(module, exports) {
1190
1190
 
1191
1191
  module.exports = require("lodash/times");
@@ -1199,7 +1199,7 @@ module.exports = require("@splunk/ui-utils/id");
1199
1199
 
1200
1200
  /***/ }),
1201
1201
 
1202
- /***/ 83:
1202
+ /***/ 84:
1203
1203
  /***/ (function(module, exports) {
1204
1204
 
1205
1205
  module.exports = require("@splunk/react-icons/ChevronLeft");
package/Card.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 175);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 176);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 123:
111
+ /***/ 124:
112
112
  /***/ (function(module, exports) {
113
113
 
114
114
  module.exports = require("@splunk/react-icons/enterprise/MoreVertical");
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Button");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 175:
125
+ /***/ 176:
126
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
127
127
 
128
128
  "use strict";
@@ -269,15 +269,15 @@ Footer.propTypes = Footer_propTypes;
269
269
  var i18n_ = __webpack_require__(4);
270
270
 
271
271
  // EXTERNAL MODULE: external "@splunk/react-icons/DotsThreeVertical"
272
- var DotsThreeVertical_ = __webpack_require__(84);
272
+ var DotsThreeVertical_ = __webpack_require__(85);
273
273
  var DotsThreeVertical_default = /*#__PURE__*/__webpack_require__.n(DotsThreeVertical_);
274
274
 
275
275
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/MoreVertical"
276
- var MoreVertical_ = __webpack_require__(123);
276
+ var MoreVertical_ = __webpack_require__(124);
277
277
  var MoreVertical_default = /*#__PURE__*/__webpack_require__.n(MoreVertical_);
278
278
 
279
279
  // EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
280
- var Anchor_ = __webpack_require__(85);
280
+ var Anchor_ = __webpack_require__(86);
281
281
  var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
282
282
 
283
283
  // EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
@@ -737,14 +737,14 @@ module.exports = require("@splunk/react-ui/Box");
737
737
 
738
738
  /***/ }),
739
739
 
740
- /***/ 84:
740
+ /***/ 85:
741
741
  /***/ (function(module, exports) {
742
742
 
743
743
  module.exports = require("@splunk/react-icons/DotsThreeVertical");
744
744
 
745
745
  /***/ }),
746
746
 
747
- /***/ 85:
747
+ /***/ 86:
748
748
  /***/ (function(module, exports) {
749
749
 
750
750
  module.exports = require("@splunk/react-ui/Anchor");
package/CardLayout.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 213);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 214);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 213:
111
+ /***/ 214:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Chip.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 214);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 215);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -115,7 +115,7 @@ module.exports = require("react");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 214:
118
+ /***/ 215:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
@@ -178,16 +178,16 @@ var StyledBasic = external_styled_components_default.a.div.withConfig({
178
178
  prisma: themes_["variables"].neutral100
179
179
  },
180
180
  info: {
181
- enterprise: themes_["variables"].infoColorL10
181
+ enterprise: themes_["variables"].infoColorL30
182
182
  },
183
183
  success: {
184
- enterprise: themes_["variables"].successColorL10
184
+ enterprise: themes_["variables"].successColorL30
185
185
  },
186
186
  warning: {
187
- enterprise: themes_["variables"].warningColorL10
187
+ enterprise: themes_["variables"].warningColorL30
188
188
  },
189
189
  error: {
190
- enterprise: themes_["variables"].errorColorL10,
190
+ enterprise: themes_["variables"].errorColorL30,
191
191
  prisma: themes_["variables"].accentColorNegative
192
192
  },
193
193
  outline: {
@@ -201,7 +201,7 @@ var StyledBasic = external_styled_components_default.a.div.withConfig({
201
201
  var $appearance = _ref2.$appearance;
202
202
  return $appearance === 'outline' && Object(external_styled_components_["css"])(["border-color:", ";"], themes_["variables"].interactiveColorBorder);
203
203
  }, Object(themes_["pick"])({
204
- enterprise: Object(external_styled_components_["css"])(["color:", ",line-height:", ";margin:0 2px 2px 0;"], themes_["variables"].textGray, themes_["variables"].lineHeight),
204
+ enterprise: Object(external_styled_components_["css"])(["color:", ";line-height:", ";margin:0 2px 2px 0;"], themes_["variables"].textGray, themes_["variables"].lineHeight),
205
205
  prisma: Object(external_styled_components_["css"])(["color:", ";line-height:16px;margin:1px;"], function (_ref3) {
206
206
  var $appearance = _ref3.$appearance;
207
207
  return $appearance === 'error' ? themes_["variables"].contentColorInverted : themes_["variables"].contentColorDefault;
@@ -314,12 +314,13 @@ var StyledLabel = external_styled_components_default.a.div.withConfig({
314
314
  "true": themes_["variables"].contentColorDisabled,
315
315
  "false": {
316
316
  enterprise: function enterprise(_ref8) {
317
- var $foregroundColor = _ref8.$foregroundColor;
318
- return $foregroundColor || themes_["variables"].contentColorDefault;
317
+ var $appearance = _ref8.$appearance,
318
+ $foregroundColor = _ref8.$foregroundColor;
319
+ return $foregroundColor || ($appearance === 'default' || $appearance === 'outline' ? themes_["variables"].contentColorDefault : themes_["variables"].gray30);
319
320
  },
320
321
  prisma: function prisma(_ref9) {
321
- var $foregroundColor = _ref9.$foregroundColor,
322
- $appearance = _ref9.$appearance;
322
+ var $appearance = _ref9.$appearance,
323
+ $foregroundColor = _ref9.$foregroundColor;
323
324
  return $foregroundColor || ($appearance === 'error' ? themes_["variables"].contentColorInverted : themes_["variables"].contentColorActive);
324
325
  }
325
326
  }
@@ -331,11 +332,16 @@ var StyledRemove = external_styled_components_default.a.span.withConfig({
331
332
  enterprise: Object(external_styled_components_["css"])(["flex:0 0 auto;padding-left:", ";font-size:", ";color:", ";"], themes_["variables"].spacingQuarter, Object(themes_["pick"])({
332
333
  compact: '9px',
333
334
  comfortable: '10.5px'
334
- }), function (_ref10) {
335
- var $disabled = _ref10.$disabled,
336
- $foregroundColor = _ref10.$foregroundColor;
337
- return $disabled ? themes_["variables"].contentColorDisabled : $foregroundColor || themes_["variables"].textGray;
338
- }),
335
+ }), Object(themes_["pickVariant"])('$disabled', {
336
+ "true": themes_["variables"].contentColorDisabled,
337
+ "false": {
338
+ enterprise: function enterprise(_ref10) {
339
+ var $foregroundColor = _ref10.$foregroundColor,
340
+ $appearance = _ref10.$appearance;
341
+ return $foregroundColor || ($appearance === 'default' || $appearance === 'outline' ? themes_["variables"].textGray : themes_["variables"].gray30);
342
+ }
343
+ }
344
+ })),
339
345
  prisma: Object(external_styled_components_["css"])(["font-size:", ";display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:12px;font-size:9px;color:", ";"], Object(themes_["pick"])({
340
346
  compact: '9px',
341
347
  comfortable: '10.5px'
@@ -503,6 +509,7 @@ function ChipInteractive(props) {
503
509
  $disabled: disabled,
504
510
  $foregroundColor: $foregroundColor
505
511
  }, children), /*#__PURE__*/external_react_default.a.createElement(StyledRemove, {
512
+ $appearance: $appearance,
506
513
  $disabled: disabled,
507
514
  $foregroundColor: $foregroundColor
508
515
  }, isEnterprise ? /*#__PURE__*/external_react_default.a.createElement(Close_default.a, {
package/Clickable.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 195);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 196);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -102,13 +102,6 @@ module.exports = require("prop-types");
102
102
  /***/ }),
103
103
 
104
104
  /***/ 10:
105
- /***/ (function(module, exports) {
106
-
107
- module.exports = require("lodash/has");
108
-
109
- /***/ }),
110
-
111
- /***/ 11:
112
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
106
 
114
107
  "use strict";
@@ -135,7 +128,14 @@ function updateReactRef(ref, current) {
135
128
 
136
129
  /***/ }),
137
130
 
138
- /***/ 195:
131
+ /***/ 11:
132
+ /***/ (function(module, exports) {
133
+
134
+ module.exports = require("lodash/has");
135
+
136
+ /***/ }),
137
+
138
+ /***/ 196:
139
139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
140
140
 
141
141
  "use strict";
@@ -157,7 +157,7 @@ var external_prop_types_ = __webpack_require__(1);
157
157
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
158
158
 
159
159
  // EXTERNAL MODULE: external "lodash/has"
160
- var has_ = __webpack_require__(10);
160
+ var has_ = __webpack_require__(11);
161
161
 
162
162
  // EXTERNAL MODULE: external "lodash/isString"
163
163
  var isString_ = __webpack_require__(23);
@@ -217,7 +217,7 @@ function NavigationProvider(_ref) {
217
217
  NavigationProvider.propTypes = propTypes;
218
218
 
219
219
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
220
- var updateReactRef = __webpack_require__(11);
220
+ var updateReactRef = __webpack_require__(10);
221
221
 
222
222
  // CONCATENATED MODULE: ./src/Clickable/Clickable.tsx
223
223
  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); }
package/CloseButton.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 215);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 216);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 215:
111
+ /***/ 216:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";