@splunk/react-ui 4.19.0 → 4.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/Accordion.js +114 -230
  2. package/Anchor.js +74 -150
  3. package/Animation.js +52 -124
  4. package/AnimationToggle.js +86 -146
  5. package/Box.js +77 -153
  6. package/Breadcrumbs.d.ts +2 -0
  7. package/Breadcrumbs.js +207 -0
  8. package/Button.js +168 -316
  9. package/ButtonGroup.js +84 -168
  10. package/ButtonSimple.js +224 -324
  11. package/CHANGELOG.md +35 -0
  12. package/Calendar.js +264 -462
  13. package/Card.js +223 -371
  14. package/CardLayout.js +87 -163
  15. package/Chip.js +199 -323
  16. package/Clickable.js +132 -248
  17. package/CloseButton.js +92 -200
  18. package/Code.js +188 -251
  19. package/CollapsiblePanel.js +214 -370
  20. package/Color.js +267 -495
  21. package/ColumnLayout.js +152 -254
  22. package/ComboBox.js +197 -371
  23. package/Concertina.js +214 -374
  24. package/ControlGroup.js +164 -288
  25. package/Date.js +154 -304
  26. package/DefinitionList.js +104 -180
  27. package/Divider.js +80 -156
  28. package/Dropdown.js +121 -263
  29. package/DualListbox.js +408 -601
  30. package/EventListener.js +70 -138
  31. package/File.js +343 -547
  32. package/FormRows.js +232 -414
  33. package/Heading.js +94 -164
  34. package/Image.js +167 -323
  35. package/JSONTree.js +166 -314
  36. package/Layer.js +221 -388
  37. package/Link.js +133 -239
  38. package/List.js +85 -161
  39. package/Markdown.js +230 -355
  40. package/Menu.js +396 -647
  41. package/Message.js +248 -437
  42. package/MessageBar.js +220 -408
  43. package/Modal.js +201 -365
  44. package/ModalLayer.js +96 -196
  45. package/Monogram.js +112 -204
  46. package/Multiselect.js +2675 -2807
  47. package/Number.js +178 -334
  48. package/Paginator.js +170 -336
  49. package/Paragraph.js +77 -153
  50. package/Popover.js +436 -623
  51. package/Progress.js +139 -255
  52. package/RadioBar.js +156 -280
  53. package/RadioList.js +182 -282
  54. package/Resize.js +173 -307
  55. package/ResultsMenu.js +183 -304
  56. package/ScreenReaderContent.js +75 -151
  57. package/Scroll.js +125 -267
  58. package/ScrollContainerContext.js +129 -201
  59. package/Search.js +188 -354
  60. package/Select.js +1243 -1248
  61. package/SidePanel.js +106 -214
  62. package/Slider.js +198 -348
  63. package/SlidingPanels.js +138 -280
  64. package/SplitButton.js +141 -273
  65. package/StaticContent.js +84 -168
  66. package/StepBar.js +138 -246
  67. package/Switch.js +261 -385
  68. package/TabBar.js +261 -398
  69. package/TabLayout.js +122 -238
  70. package/Table.js +975 -1447
  71. package/Text.js +335 -549
  72. package/TextArea.js +315 -537
  73. package/Tooltip.js +152 -292
  74. package/TransitionOpen.js +118 -242
  75. package/Typography.js +81 -157
  76. package/WaitSpinner.js +117 -209
  77. package/package.json +20 -21
  78. package/stubs-splunkui.d.ts +4 -1
  79. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
  80. package/types/src/Breadcrumbs/Item.d.ts +42 -0
  81. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
  82. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
  83. package/types/src/Breadcrumbs/index.d.ts +2 -0
  84. package/types/src/Code/Code.d.ts +1 -1
  85. package/types/src/ComboBox/Option.d.ts +1 -1
  86. package/types/src/Concertina/Concertina.d.ts +4 -0
  87. package/types/src/Link/Link.d.ts +12 -3
  88. package/types/src/Link/docs/examples/NewWindow.d.ts +2 -0
  89. package/types/src/Markdown/Markdown.d.ts +1 -1
  90. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
  91. package/types/src/Menu/Item.d.ts +1 -1
  92. package/types/src/Menu/Menu.d.ts +1 -0
  93. package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -0
  94. package/types/src/Multiselect/Compact.d.ts +4 -0
  95. package/types/src/Multiselect/Multiselect.d.ts +5 -0
  96. package/types/src/Multiselect/Option.d.ts +1 -1
  97. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
  98. package/types/src/Search/Option.d.ts +1 -1
  99. package/types/src/Select/Option.d.ts +1 -1
  100. package/types/src/Select/OptionBase.d.ts +1 -1
  101. package/types/src/Select/SelectAllOption.d.ts +14 -0
  102. package/types/src/Select/SelectBase.d.ts +11 -3
  103. package/types/src/Table/Table.d.ts +4 -0
  104. package/types/src/Text/Text.d.ts +3 -3
  105. package/types/src/TextArea/TextArea.d.ts +3 -3
  106. package/types/src/fixtures/FetchOptions.d.ts +2 -8
  107. package/useForceUpdate.js +46 -110
  108. package/useKeyPress.js +50 -107
  109. package/usePrevious.js +47 -111
  110. package/useRovingFocus.js +53 -133
  111. package/types/src/Link/docs/examples/NewTab.d.ts +0 -2
  112. package/types/src/Typography/docs/examples/Variants.d.ts +0 -2
  113. /package/types/src/Table/docs/examples/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
  114. /package/types/src/Table/docs/examples/prisma/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
package/DefinitionList.js CHANGED
@@ -1,147 +1,86 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/compat get default export */
8
+ /******/ (() => {
9
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
10
+ /******/ __webpack_require__.n = (module) => {
11
+ /******/ var getter = module && module.__esModule ?
12
+ /******/ () => (module['default']) :
13
+ /******/ () => (module);
14
+ /******/ __webpack_require__.d(getter, { a: getter });
15
+ /******/ return getter;
16
+ /******/ };
17
+ /******/ })();
18
+ /******/
19
+ /******/ /* webpack/runtime/define property getters */
20
+ /******/ (() => {
21
+ /******/ // define getter functions for harmony exports
22
+ /******/ __webpack_require__.d = (exports, definition) => {
23
+ /******/ for(var key in definition) {
24
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
25
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
26
+ /******/ }
27
+ /******/ }
18
28
  /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 181);
86
- /******/ })
29
+ /******/ })();
30
+ /******/
31
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
32
+ /******/ (() => {
33
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
34
+ /******/ })();
35
+ /******/
36
+ /******/ /* webpack/runtime/make namespace object */
37
+ /******/ (() => {
38
+ /******/ // define __esModule on exports
39
+ /******/ __webpack_require__.r = (exports) => {
40
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
41
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
42
+ /******/ }
43
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
44
+ /******/ };
45
+ /******/ })();
46
+ /******/
87
47
  /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ 0:
91
- /***/ (function(module, exports) {
92
-
93
- module.exports = require("@splunk/themes");
94
-
95
- /***/ }),
96
-
97
- /***/ 1:
98
- /***/ (function(module, exports) {
99
-
100
- module.exports = require("prop-types");
101
-
102
- /***/ }),
103
-
104
- /***/ 181:
105
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
-
107
- "use strict";
48
+ var __webpack_exports__ = {};
108
49
  // ESM COMPAT FLAG
109
50
  __webpack_require__.r(__webpack_exports__);
110
51
 
111
52
  // EXPORTS
112
- __webpack_require__.d(__webpack_exports__, "default", function() { return /* reexport */ DefinitionList_DefinitionList; });
113
- __webpack_require__.d(__webpack_exports__, "Description", function() { return /* reexport */ DefinitionList_Description; });
114
- __webpack_require__.d(__webpack_exports__, "Term", function() { return /* reexport */ DefinitionList_Term; });
115
-
116
- // EXTERNAL MODULE: external "react"
117
- var external_react_ = __webpack_require__(2);
118
- var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
119
-
120
- // EXTERNAL MODULE: external "prop-types"
121
- var external_prop_types_ = __webpack_require__(1);
122
- var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
123
-
124
- // EXTERNAL MODULE: external "styled-components"
125
- var external_styled_components_ = __webpack_require__(3);
126
- var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
127
-
128
- // EXTERNAL MODULE: external "@splunk/themes"
129
- var themes_ = __webpack_require__(0);
130
-
131
- // CONCATENATED MODULE: ./src/DefinitionList/DescriptionStyles.ts
132
-
133
-
134
- var Styled = external_styled_components_default.a.dd.withConfig({
53
+ __webpack_require__.d(__webpack_exports__, {
54
+ Description: () => (/* reexport */ DefinitionList_Description),
55
+ Term: () => (/* reexport */ DefinitionList_Term),
56
+ "default": () => (/* reexport */ DefinitionList_DefinitionList)
57
+ });
58
+
59
+ ;// CONCATENATED MODULE: external "react"
60
+ const external_react_namespaceObject = require("react");
61
+ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_namespaceObject);
62
+ ;// CONCATENATED MODULE: external "prop-types"
63
+ const external_prop_types_namespaceObject = require("prop-types");
64
+ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_namespaceObject);
65
+ ;// CONCATENATED MODULE: external "styled-components"
66
+ const external_styled_components_namespaceObject = require("styled-components");
67
+ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_namespaceObject);
68
+ ;// CONCATENATED MODULE: external "@splunk/themes"
69
+ const themes_namespaceObject = require("@splunk/themes");
70
+ ;// CONCATENATED MODULE: ./src/DefinitionList/DescriptionStyles.ts
71
+
72
+
73
+ var Styled = external_styled_components_default().dd.withConfig({
135
74
  displayName: "DescriptionStyles__Styled",
136
75
  componentId: "sc-1jglixb-0"
137
- })(["", ";", ";min-height:", ";padding-left:5px;"], themes_["mixins"].reset('block'), Object(themes_["pick"])({
138
- prisma: themes_["mixins"].typography('body', {
76
+ })(["", ";", ";min-height:", ";padding-left:5px;"], themes_namespaceObject.mixins.reset('block'), (0,themes_namespaceObject.pick)({
77
+ prisma: themes_namespaceObject.mixins.typography('body', {
139
78
  color: 'active'
140
79
  }),
141
- enterprise: themes_["mixins"].typography('body')
142
- }), themes_["variables"].lineHeight);
80
+ enterprise: themes_namespaceObject.mixins.typography('body')
81
+ }), themes_namespaceObject.variables.lineHeight);
143
82
 
144
- // CONCATENATED MODULE: ./src/DefinitionList/Description.tsx
83
+ ;// CONCATENATED MODULE: ./src/DefinitionList/Description.tsx
145
84
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
146
85
 
147
86
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -152,8 +91,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
152
91
 
153
92
 
154
93
  var propTypes = {
155
- children: external_prop_types_default.a.node,
156
- elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object])
94
+ children: (external_prop_types_default()).node,
95
+ elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object])
157
96
  };
158
97
 
159
98
  /**
@@ -165,38 +104,38 @@ function Description(_ref) {
165
104
  otherProps = _objectWithoutProperties(_ref, ["children", "elementRef"]);
166
105
 
167
106
  // @docs-props-type DescriptionPropsBase
168
- return /*#__PURE__*/external_react_default.a.createElement(Styled, _extends({
107
+ return /*#__PURE__*/external_react_default().createElement(Styled, _extends({
169
108
  "data-test": "description",
170
109
  ref: elementRef
171
110
  }, otherProps), children);
172
111
  }
173
112
 
174
113
  Description.propTypes = propTypes;
175
- /* harmony default export */ var DefinitionList_Description = (Description);
176
- // CONCATENATED MODULE: ./src/DefinitionList/DefinitionListStyles.ts
114
+ /* harmony default export */ const DefinitionList_Description = (Description);
115
+ ;// CONCATENATED MODULE: ./src/DefinitionList/DefinitionListStyles.ts
177
116
 
178
117
 
179
- var DefinitionListStyles_Styled = external_styled_components_default.a.dl.withConfig({
118
+ var DefinitionListStyles_Styled = external_styled_components_default().dl.withConfig({
180
119
  displayName: "DefinitionListStyles__Styled",
181
120
  componentId: "sc-1pqfrgm-0"
182
- })(["", ";", ";"], themes_["mixins"].reset('block'), themes_["mixins"].typography('body'));
121
+ })(["", ";", ";"], themes_namespaceObject.mixins.reset('block'), themes_namespaceObject.mixins.typography('body'));
183
122
 
184
- // CONCATENATED MODULE: ./src/DefinitionList/TermStyles.ts
123
+ ;// CONCATENATED MODULE: ./src/DefinitionList/TermStyles.ts
185
124
 
186
125
 
187
- var TermStyles_Styled = external_styled_components_default.a.dt.withConfig({
126
+ var TermStyles_Styled = external_styled_components_default().dt.withConfig({
188
127
  displayName: "TermStyles__Styled",
189
128
  componentId: "sc-1ao97j9-0"
190
- })(["", ";", " float:left;width:120px;overflow:hidden;overflow-x:hidden;white-space:nowrap;word-wrap:normal;", ""], themes_["mixins"].reset('block'), Object(themes_["pick"])({
191
- prisma: themes_["mixins"].typography('body', {
129
+ })(["", ";", " float:left;width:120px;overflow:hidden;overflow-x:hidden;white-space:nowrap;word-wrap:normal;", ""], themes_namespaceObject.mixins.reset('block'), (0,themes_namespaceObject.pick)({
130
+ prisma: themes_namespaceObject.mixins.typography('body', {
192
131
  color: 'muted'
193
132
  }),
194
- enterprise: themes_["mixins"].typography('body')
195
- }), Object(themes_["pick"])({
196
- enterprise: Object(external_styled_components_["css"])(["&::after{content:'", "';}"], " ".concat('.'.repeat(100)))
133
+ enterprise: themes_namespaceObject.mixins.typography('body')
134
+ }), (0,themes_namespaceObject.pick)({
135
+ enterprise: (0,external_styled_components_namespaceObject.css)(["&::after{content:'", "';}"], " ".concat('.'.repeat(100)))
197
136
  }));
198
137
 
199
- // CONCATENATED MODULE: ./src/DefinitionList/Term.tsx
138
+ ;// CONCATENATED MODULE: ./src/DefinitionList/Term.tsx
200
139
  function Term_extends() { Term_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Term_extends.apply(this, arguments); }
201
140
 
202
141
  function Term_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = Term_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -207,8 +146,8 @@ function Term_objectWithoutPropertiesLoose(source, excluded) { if (source == nul
207
146
 
208
147
 
209
148
  var Term_propTypes = {
210
- children: external_prop_types_default.a.node,
211
- elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object])
149
+ children: (external_prop_types_default()).node,
150
+ elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object])
212
151
  };
213
152
 
214
153
  /**
@@ -220,15 +159,15 @@ function Term(_ref) {
220
159
  otherProps = Term_objectWithoutProperties(_ref, ["children", "elementRef"]);
221
160
 
222
161
  // @docs-props-type TermPropsBase
223
- return /*#__PURE__*/external_react_default.a.createElement(TermStyles_Styled, Term_extends({
162
+ return /*#__PURE__*/external_react_default().createElement(TermStyles_Styled, Term_extends({
224
163
  "data-test": "term",
225
164
  ref: elementRef
226
165
  }, otherProps), children);
227
166
  }
228
167
 
229
168
  Term.propTypes = Term_propTypes;
230
- /* harmony default export */ var DefinitionList_Term = (Term);
231
- // CONCATENATED MODULE: ./src/DefinitionList/DefinitionList.tsx
169
+ /* harmony default export */ const DefinitionList_Term = (Term);
170
+ ;// CONCATENATED MODULE: ./src/DefinitionList/DefinitionList.tsx
232
171
  function DefinitionList_extends() { DefinitionList_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return DefinitionList_extends.apply(this, arguments); }
233
172
 
234
173
  function DefinitionList_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = DefinitionList_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
@@ -241,18 +180,18 @@ function DefinitionList_objectWithoutPropertiesLoose(source, excluded) { if (sou
241
180
 
242
181
 
243
182
  var DefinitionList_propTypes = {
244
- children: external_prop_types_default.a.node,
245
- elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
246
- termWidth: external_prop_types_default.a.oneOfType([external_prop_types_default.a.number, external_prop_types_default.a.string])
183
+ children: (external_prop_types_default()).node,
184
+ elementRef: external_prop_types_default().oneOfType([(external_prop_types_default()).func, (external_prop_types_default()).object]),
185
+ termWidth: external_prop_types_default().oneOfType([(external_prop_types_default()).number, (external_prop_types_default()).string])
247
186
  };
248
187
 
249
188
  function processChildren(_ref) {
250
189
  var children = _ref.children,
251
190
  termWidth = _ref.termWidth;
252
- var filteredChildren = external_react_["Children"].toArray(children).filter(external_react_["isValidElement"]);
191
+ var filteredChildren = external_react_namespaceObject.Children.toArray(children).filter(external_react_namespaceObject.isValidElement);
253
192
  return filteredChildren.map(function (child) {
254
193
  if (child.type === DefinitionList_Term) {
255
- return /*#__PURE__*/Object(external_react_["cloneElement"])(child, {
194
+ return /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
256
195
  style: {
257
196
  width: termWidth
258
197
  }
@@ -260,7 +199,7 @@ function processChildren(_ref) {
260
199
  }
261
200
 
262
201
  if (child.type === DefinitionList_Description) {
263
- return /*#__PURE__*/Object(external_react_["cloneElement"])(child, {
202
+ return /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
264
203
  style: {
265
204
  marginLeft: termWidth
266
205
  }
@@ -279,7 +218,7 @@ function DefinitionList(_ref2) {
279
218
  otherProps = DefinitionList_objectWithoutProperties(_ref2, ["children", "elementRef", "termWidth"]);
280
219
 
281
220
  // @docs-props-type DefinitionListPropsBase
282
- return /*#__PURE__*/external_react_default.a.createElement(DefinitionListStyles_Styled, DefinitionList_extends({
221
+ return /*#__PURE__*/external_react_default().createElement(DefinitionListStyles_Styled, DefinitionList_extends({
283
222
  "data-test": "definition-list",
284
223
  ref: elementRef
285
224
  }, otherProps), processChildren({
@@ -291,26 +230,11 @@ function DefinitionList(_ref2) {
291
230
  DefinitionList.propTypes = DefinitionList_propTypes;
292
231
  DefinitionList.Description = DefinitionList_Description;
293
232
  DefinitionList.Term = DefinitionList_Term;
294
- /* harmony default export */ var DefinitionList_DefinitionList = (DefinitionList);
295
-
296
- // CONCATENATED MODULE: ./src/DefinitionList/index.ts
297
-
298
-
299
-
300
- /***/ }),
301
-
302
- /***/ 2:
303
- /***/ (function(module, exports) {
304
-
305
- module.exports = require("react");
306
-
307
- /***/ }),
308
-
309
- /***/ 3:
310
- /***/ (function(module, exports) {
233
+ /* harmony default export */ const DefinitionList_DefinitionList = (DefinitionList);
311
234
 
312
- module.exports = require("styled-components");
235
+ ;// CONCATENATED MODULE: ./src/DefinitionList/index.ts
313
236
 
314
- /***/ })
315
237
 
316
- /******/ });
238
+ module.exports = __webpack_exports__;
239
+ /******/ })()
240
+ ;