carbon-react 102.20.1 → 102.22.2
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/README.md +1 -1
- package/lib/__internal__/popover/popover.component.js +2 -6
- package/lib/components/heading/heading.style.d.ts +1 -2
- package/lib/components/hr/hr.component.d.ts +8 -12
- package/lib/components/hr/hr.component.js +677 -32
- package/lib/components/hr/hr.style.d.ts +2 -1
- package/lib/components/hr/index.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +18 -14
- package/lib/components/loader/loader.component.js +10 -2
- package/lib/components/loader/loader.d.ts +2 -0
- package/lib/components/multi-action-button/multi-action-button.style.js +12 -16
- package/lib/components/navigation-bar/index.d.ts +1 -2
- package/lib/components/navigation-bar/navigation-bar.component.d.ts +17 -12
- package/lib/components/navigation-bar/navigation-bar.component.js +5403 -33
- package/lib/components/navigation-bar/navigation-bar.style.d.ts +10 -1
- package/lib/components/portal/portal.js +3 -6
- package/lib/components/split-button/split-button-children.style.js +7 -7
- package/lib/components/split-button/split-button-toggle.style.js +16 -7
- package/lib/components/split-button/split-button.style.js +1 -3
- package/lib/components/tooltip/tooltip.component.js +3 -7
- package/lib/hooks/__internal__/useIsAboveBreakpoint/index.d.ts +1 -1
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.d.ts +7 -5
- package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +11 -36
- package/lib/style/themes/base/index.d.ts +6 -1
- package/lib/style/themes/sage/index.d.ts +6 -0
- package/package.json +2 -2
- package/lib/components/hr/hr.d.ts +0 -12
- package/lib/components/navigation-bar/navigation-bar.d.ts +0 -15
|
@@ -1,34 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
4
|
+
value: true,
|
|
5
5
|
});
|
|
6
|
-
exports.default = void 0;
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
exports.default = exports.Hr = void 0;
|
|
9
8
|
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
12
|
-
var _propTypes2 = _interopRequireDefault(require("@styled-system/prop-types"));
|
|
13
|
-
|
|
14
12
|
var _hr = _interopRequireDefault(require("./hr.style"));
|
|
15
13
|
|
|
16
|
-
var _useIsAboveBreakpoint = _interopRequireDefault(
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
var _useIsAboveBreakpoint = _interopRequireDefault(
|
|
15
|
+
require("../../hooks/__internal__/useIsAboveBreakpoint")
|
|
16
|
+
);
|
|
19
17
|
|
|
20
|
-
function _interopRequireDefault(obj) {
|
|
18
|
+
function _interopRequireDefault(obj) {
|
|
19
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
function _extends() {
|
|
22
|
+
function _extends() {
|
|
23
|
+
_extends =
|
|
24
|
+
Object.assign ||
|
|
25
|
+
function (target) {
|
|
26
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
27
|
+
var source = arguments[i];
|
|
28
|
+
for (var key in source) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
30
|
+
target[key] = source[key];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return target;
|
|
35
|
+
};
|
|
36
|
+
return _extends.apply(this, arguments);
|
|
37
|
+
}
|
|
23
38
|
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const Hr = ({
|
|
27
|
-
adaptiveMxBreakpoint,
|
|
28
|
-
ml,
|
|
29
|
-
mr,
|
|
30
|
-
...props
|
|
31
|
-
}) => {
|
|
39
|
+
const Hr = ({ adaptiveMxBreakpoint, ml, mr, ...rest }) => {
|
|
32
40
|
const largeScreen = (0, _useIsAboveBreakpoint.default)(adaptiveMxBreakpoint);
|
|
33
41
|
let marginLeft = ml;
|
|
34
42
|
let marginRight = mr;
|
|
@@ -38,22 +46,659 @@ const Hr = ({
|
|
|
38
46
|
marginRight = 0;
|
|
39
47
|
}
|
|
40
48
|
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
return /*#__PURE__*/ _react.default.createElement(
|
|
50
|
+
_hr.default,
|
|
51
|
+
_extends(
|
|
52
|
+
{
|
|
53
|
+
"data-component": "hr",
|
|
54
|
+
ml: marginLeft,
|
|
55
|
+
mr: marginRight,
|
|
56
|
+
mt: rest.mt || 3,
|
|
57
|
+
mb: rest.mb || 3,
|
|
58
|
+
},
|
|
59
|
+
rest
|
|
60
|
+
)
|
|
61
|
+
);
|
|
48
62
|
};
|
|
49
63
|
|
|
50
64
|
Hr.propTypes = {
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Breakpoint for adaptive left and right margins (below the breakpoint they go to 0).
|
|
67
|
+
* Enables the adaptive behaviour when set
|
|
68
|
+
*/
|
|
69
|
+
adaptiveMxBreakpoint: _propTypes.default.number,
|
|
70
|
+
/**
|
|
71
|
+
* Margin on top, left, bottom and right
|
|
72
|
+
*/
|
|
73
|
+
m: _propTypes.default.oneOfType([
|
|
74
|
+
_propTypes.default.arrayOf(
|
|
75
|
+
_propTypes.default.oneOfType([
|
|
76
|
+
_propTypes.default.oneOf([null]),
|
|
77
|
+
_propTypes.default.number,
|
|
78
|
+
_propTypes.default.shape({
|
|
79
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
80
|
+
/**
|
|
81
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
82
|
+
*/
|
|
83
|
+
description: _propTypes.default.string,
|
|
84
|
+
/**
|
|
85
|
+
* Returns a string representation of an object.
|
|
86
|
+
*/
|
|
87
|
+
toString: _propTypes.default.func.isRequired,
|
|
88
|
+
/**
|
|
89
|
+
* Returns the primitive value of the specified object.
|
|
90
|
+
*/
|
|
91
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
92
|
+
}),
|
|
93
|
+
_propTypes.default.string,
|
|
94
|
+
])
|
|
95
|
+
),
|
|
96
|
+
_propTypes.default.number,
|
|
97
|
+
_propTypes.default.object,
|
|
98
|
+
_propTypes.default.shape({
|
|
99
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
100
|
+
/**
|
|
101
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
102
|
+
*/
|
|
103
|
+
description: _propTypes.default.string,
|
|
104
|
+
/**
|
|
105
|
+
* Returns a string representation of an object.
|
|
106
|
+
*/
|
|
107
|
+
toString: _propTypes.default.func.isRequired,
|
|
108
|
+
/**
|
|
109
|
+
* Returns the primitive value of the specified object.
|
|
110
|
+
*/
|
|
111
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
112
|
+
}),
|
|
113
|
+
_propTypes.default.string,
|
|
114
|
+
]),
|
|
115
|
+
/**
|
|
116
|
+
* Margin on top, left, bottom and right
|
|
117
|
+
*/
|
|
118
|
+
margin: _propTypes.default.oneOfType([
|
|
119
|
+
_propTypes.default.arrayOf(
|
|
120
|
+
_propTypes.default.oneOfType([
|
|
121
|
+
_propTypes.default.oneOf([null]),
|
|
122
|
+
_propTypes.default.number,
|
|
123
|
+
_propTypes.default.shape({
|
|
124
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
125
|
+
/**
|
|
126
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
127
|
+
*/
|
|
128
|
+
description: _propTypes.default.string,
|
|
129
|
+
/**
|
|
130
|
+
* Returns a string representation of an object.
|
|
131
|
+
*/
|
|
132
|
+
toString: _propTypes.default.func.isRequired,
|
|
133
|
+
/**
|
|
134
|
+
* Returns the primitive value of the specified object.
|
|
135
|
+
*/
|
|
136
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
137
|
+
}),
|
|
138
|
+
_propTypes.default.string,
|
|
139
|
+
])
|
|
140
|
+
),
|
|
141
|
+
_propTypes.default.number,
|
|
142
|
+
_propTypes.default.object,
|
|
143
|
+
_propTypes.default.shape({
|
|
144
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
145
|
+
/**
|
|
146
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
147
|
+
*/
|
|
148
|
+
description: _propTypes.default.string,
|
|
149
|
+
/**
|
|
150
|
+
* Returns a string representation of an object.
|
|
151
|
+
*/
|
|
152
|
+
toString: _propTypes.default.func.isRequired,
|
|
153
|
+
/**
|
|
154
|
+
* Returns the primitive value of the specified object.
|
|
155
|
+
*/
|
|
156
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
157
|
+
}),
|
|
158
|
+
_propTypes.default.string,
|
|
159
|
+
]),
|
|
160
|
+
/**
|
|
161
|
+
* Margin on bottom
|
|
162
|
+
*/
|
|
163
|
+
marginBottom: _propTypes.default.oneOfType([
|
|
164
|
+
_propTypes.default.arrayOf(
|
|
165
|
+
_propTypes.default.oneOfType([
|
|
166
|
+
_propTypes.default.oneOf([null]),
|
|
167
|
+
_propTypes.default.number,
|
|
168
|
+
_propTypes.default.shape({
|
|
169
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
170
|
+
/**
|
|
171
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
172
|
+
*/
|
|
173
|
+
description: _propTypes.default.string,
|
|
174
|
+
/**
|
|
175
|
+
* Returns a string representation of an object.
|
|
176
|
+
*/
|
|
177
|
+
toString: _propTypes.default.func.isRequired,
|
|
178
|
+
/**
|
|
179
|
+
* Returns the primitive value of the specified object.
|
|
180
|
+
*/
|
|
181
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
182
|
+
}),
|
|
183
|
+
_propTypes.default.string,
|
|
184
|
+
])
|
|
185
|
+
),
|
|
186
|
+
_propTypes.default.number,
|
|
187
|
+
_propTypes.default.object,
|
|
188
|
+
_propTypes.default.shape({
|
|
189
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
190
|
+
/**
|
|
191
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
192
|
+
*/
|
|
193
|
+
description: _propTypes.default.string,
|
|
194
|
+
/**
|
|
195
|
+
* Returns a string representation of an object.
|
|
196
|
+
*/
|
|
197
|
+
toString: _propTypes.default.func.isRequired,
|
|
198
|
+
/**
|
|
199
|
+
* Returns the primitive value of the specified object.
|
|
200
|
+
*/
|
|
201
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
202
|
+
}),
|
|
203
|
+
_propTypes.default.string,
|
|
204
|
+
]),
|
|
205
|
+
/**
|
|
206
|
+
* Margin on left
|
|
207
|
+
*/
|
|
208
|
+
marginLeft: _propTypes.default.oneOfType([
|
|
209
|
+
_propTypes.default.arrayOf(
|
|
210
|
+
_propTypes.default.oneOfType([
|
|
211
|
+
_propTypes.default.oneOf([null]),
|
|
212
|
+
_propTypes.default.number,
|
|
213
|
+
_propTypes.default.shape({
|
|
214
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
215
|
+
/**
|
|
216
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
217
|
+
*/
|
|
218
|
+
description: _propTypes.default.string,
|
|
219
|
+
/**
|
|
220
|
+
* Returns a string representation of an object.
|
|
221
|
+
*/
|
|
222
|
+
toString: _propTypes.default.func.isRequired,
|
|
223
|
+
/**
|
|
224
|
+
* Returns the primitive value of the specified object.
|
|
225
|
+
*/
|
|
226
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
227
|
+
}),
|
|
228
|
+
_propTypes.default.string,
|
|
229
|
+
])
|
|
230
|
+
),
|
|
231
|
+
_propTypes.default.number,
|
|
232
|
+
_propTypes.default.object,
|
|
233
|
+
_propTypes.default.shape({
|
|
234
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
235
|
+
/**
|
|
236
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
237
|
+
*/
|
|
238
|
+
description: _propTypes.default.string,
|
|
239
|
+
/**
|
|
240
|
+
* Returns a string representation of an object.
|
|
241
|
+
*/
|
|
242
|
+
toString: _propTypes.default.func.isRequired,
|
|
243
|
+
/**
|
|
244
|
+
* Returns the primitive value of the specified object.
|
|
245
|
+
*/
|
|
246
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
247
|
+
}),
|
|
248
|
+
_propTypes.default.string,
|
|
249
|
+
]),
|
|
250
|
+
/**
|
|
251
|
+
* Margin on right
|
|
252
|
+
*/
|
|
253
|
+
marginRight: _propTypes.default.oneOfType([
|
|
254
|
+
_propTypes.default.arrayOf(
|
|
255
|
+
_propTypes.default.oneOfType([
|
|
256
|
+
_propTypes.default.oneOf([null]),
|
|
257
|
+
_propTypes.default.number,
|
|
258
|
+
_propTypes.default.shape({
|
|
259
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
260
|
+
/**
|
|
261
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
262
|
+
*/
|
|
263
|
+
description: _propTypes.default.string,
|
|
264
|
+
/**
|
|
265
|
+
* Returns a string representation of an object.
|
|
266
|
+
*/
|
|
267
|
+
toString: _propTypes.default.func.isRequired,
|
|
268
|
+
/**
|
|
269
|
+
* Returns the primitive value of the specified object.
|
|
270
|
+
*/
|
|
271
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
272
|
+
}),
|
|
273
|
+
_propTypes.default.string,
|
|
274
|
+
])
|
|
275
|
+
),
|
|
276
|
+
_propTypes.default.number,
|
|
277
|
+
_propTypes.default.object,
|
|
278
|
+
_propTypes.default.shape({
|
|
279
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
280
|
+
/**
|
|
281
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
282
|
+
*/
|
|
283
|
+
description: _propTypes.default.string,
|
|
284
|
+
/**
|
|
285
|
+
* Returns a string representation of an object.
|
|
286
|
+
*/
|
|
287
|
+
toString: _propTypes.default.func.isRequired,
|
|
288
|
+
/**
|
|
289
|
+
* Returns the primitive value of the specified object.
|
|
290
|
+
*/
|
|
291
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
292
|
+
}),
|
|
293
|
+
_propTypes.default.string,
|
|
294
|
+
]),
|
|
295
|
+
/**
|
|
296
|
+
* Margin on top
|
|
297
|
+
*/
|
|
298
|
+
marginTop: _propTypes.default.oneOfType([
|
|
299
|
+
_propTypes.default.arrayOf(
|
|
300
|
+
_propTypes.default.oneOfType([
|
|
301
|
+
_propTypes.default.oneOf([null]),
|
|
302
|
+
_propTypes.default.number,
|
|
303
|
+
_propTypes.default.shape({
|
|
304
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
305
|
+
/**
|
|
306
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
307
|
+
*/
|
|
308
|
+
description: _propTypes.default.string,
|
|
309
|
+
/**
|
|
310
|
+
* Returns a string representation of an object.
|
|
311
|
+
*/
|
|
312
|
+
toString: _propTypes.default.func.isRequired,
|
|
313
|
+
/**
|
|
314
|
+
* Returns the primitive value of the specified object.
|
|
315
|
+
*/
|
|
316
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
317
|
+
}),
|
|
318
|
+
_propTypes.default.string,
|
|
319
|
+
])
|
|
320
|
+
),
|
|
321
|
+
_propTypes.default.number,
|
|
322
|
+
_propTypes.default.object,
|
|
323
|
+
_propTypes.default.shape({
|
|
324
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
325
|
+
/**
|
|
326
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
327
|
+
*/
|
|
328
|
+
description: _propTypes.default.string,
|
|
329
|
+
/**
|
|
330
|
+
* Returns a string representation of an object.
|
|
331
|
+
*/
|
|
332
|
+
toString: _propTypes.default.func.isRequired,
|
|
333
|
+
/**
|
|
334
|
+
* Returns the primitive value of the specified object.
|
|
335
|
+
*/
|
|
336
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
337
|
+
}),
|
|
338
|
+
_propTypes.default.string,
|
|
339
|
+
]),
|
|
340
|
+
/**
|
|
341
|
+
* Margin on left and right
|
|
342
|
+
*/
|
|
343
|
+
marginX: _propTypes.default.oneOfType([
|
|
344
|
+
_propTypes.default.arrayOf(
|
|
345
|
+
_propTypes.default.oneOfType([
|
|
346
|
+
_propTypes.default.oneOf([null]),
|
|
347
|
+
_propTypes.default.number,
|
|
348
|
+
_propTypes.default.shape({
|
|
349
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
350
|
+
/**
|
|
351
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
352
|
+
*/
|
|
353
|
+
description: _propTypes.default.string,
|
|
354
|
+
/**
|
|
355
|
+
* Returns a string representation of an object.
|
|
356
|
+
*/
|
|
357
|
+
toString: _propTypes.default.func.isRequired,
|
|
358
|
+
/**
|
|
359
|
+
* Returns the primitive value of the specified object.
|
|
360
|
+
*/
|
|
361
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
362
|
+
}),
|
|
363
|
+
_propTypes.default.string,
|
|
364
|
+
])
|
|
365
|
+
),
|
|
366
|
+
_propTypes.default.number,
|
|
367
|
+
_propTypes.default.object,
|
|
368
|
+
_propTypes.default.shape({
|
|
369
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
370
|
+
/**
|
|
371
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
372
|
+
*/
|
|
373
|
+
description: _propTypes.default.string,
|
|
374
|
+
/**
|
|
375
|
+
* Returns a string representation of an object.
|
|
376
|
+
*/
|
|
377
|
+
toString: _propTypes.default.func.isRequired,
|
|
378
|
+
/**
|
|
379
|
+
* Returns the primitive value of the specified object.
|
|
380
|
+
*/
|
|
381
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
382
|
+
}),
|
|
383
|
+
_propTypes.default.string,
|
|
384
|
+
]),
|
|
385
|
+
/**
|
|
386
|
+
* Margin on top and bottom
|
|
387
|
+
*/
|
|
388
|
+
marginY: _propTypes.default.oneOfType([
|
|
389
|
+
_propTypes.default.arrayOf(
|
|
390
|
+
_propTypes.default.oneOfType([
|
|
391
|
+
_propTypes.default.oneOf([null]),
|
|
392
|
+
_propTypes.default.number,
|
|
393
|
+
_propTypes.default.shape({
|
|
394
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
395
|
+
/**
|
|
396
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
397
|
+
*/
|
|
398
|
+
description: _propTypes.default.string,
|
|
399
|
+
/**
|
|
400
|
+
* Returns a string representation of an object.
|
|
401
|
+
*/
|
|
402
|
+
toString: _propTypes.default.func.isRequired,
|
|
403
|
+
/**
|
|
404
|
+
* Returns the primitive value of the specified object.
|
|
405
|
+
*/
|
|
406
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
407
|
+
}),
|
|
408
|
+
_propTypes.default.string,
|
|
409
|
+
])
|
|
410
|
+
),
|
|
411
|
+
_propTypes.default.number,
|
|
412
|
+
_propTypes.default.object,
|
|
413
|
+
_propTypes.default.shape({
|
|
414
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
415
|
+
/**
|
|
416
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
417
|
+
*/
|
|
418
|
+
description: _propTypes.default.string,
|
|
419
|
+
/**
|
|
420
|
+
* Returns a string representation of an object.
|
|
421
|
+
*/
|
|
422
|
+
toString: _propTypes.default.func.isRequired,
|
|
423
|
+
/**
|
|
424
|
+
* Returns the primitive value of the specified object.
|
|
425
|
+
*/
|
|
426
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
427
|
+
}),
|
|
428
|
+
_propTypes.default.string,
|
|
429
|
+
]),
|
|
430
|
+
/**
|
|
431
|
+
* Margin on bottom
|
|
432
|
+
*/
|
|
433
|
+
mb: _propTypes.default.oneOfType([
|
|
434
|
+
_propTypes.default.arrayOf(
|
|
435
|
+
_propTypes.default.oneOfType([
|
|
436
|
+
_propTypes.default.oneOf([null]),
|
|
437
|
+
_propTypes.default.number,
|
|
438
|
+
_propTypes.default.shape({
|
|
439
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
440
|
+
/**
|
|
441
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
442
|
+
*/
|
|
443
|
+
description: _propTypes.default.string,
|
|
444
|
+
/**
|
|
445
|
+
* Returns a string representation of an object.
|
|
446
|
+
*/
|
|
447
|
+
toString: _propTypes.default.func.isRequired,
|
|
448
|
+
/**
|
|
449
|
+
* Returns the primitive value of the specified object.
|
|
450
|
+
*/
|
|
451
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
452
|
+
}),
|
|
453
|
+
_propTypes.default.string,
|
|
454
|
+
])
|
|
455
|
+
),
|
|
456
|
+
_propTypes.default.number,
|
|
457
|
+
_propTypes.default.object,
|
|
458
|
+
_propTypes.default.shape({
|
|
459
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
460
|
+
/**
|
|
461
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
462
|
+
*/
|
|
463
|
+
description: _propTypes.default.string,
|
|
464
|
+
/**
|
|
465
|
+
* Returns a string representation of an object.
|
|
466
|
+
*/
|
|
467
|
+
toString: _propTypes.default.func.isRequired,
|
|
468
|
+
/**
|
|
469
|
+
* Returns the primitive value of the specified object.
|
|
470
|
+
*/
|
|
471
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
472
|
+
}),
|
|
473
|
+
_propTypes.default.string,
|
|
474
|
+
]),
|
|
475
|
+
/**
|
|
476
|
+
* Margin on left
|
|
477
|
+
*/
|
|
478
|
+
ml: _propTypes.default.oneOfType([
|
|
479
|
+
_propTypes.default.arrayOf(
|
|
480
|
+
_propTypes.default.oneOfType([
|
|
481
|
+
_propTypes.default.oneOf([null]),
|
|
482
|
+
_propTypes.default.number,
|
|
483
|
+
_propTypes.default.shape({
|
|
484
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
485
|
+
/**
|
|
486
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
487
|
+
*/
|
|
488
|
+
description: _propTypes.default.string,
|
|
489
|
+
/**
|
|
490
|
+
* Returns a string representation of an object.
|
|
491
|
+
*/
|
|
492
|
+
toString: _propTypes.default.func.isRequired,
|
|
493
|
+
/**
|
|
494
|
+
* Returns the primitive value of the specified object.
|
|
495
|
+
*/
|
|
496
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
497
|
+
}),
|
|
498
|
+
_propTypes.default.string,
|
|
499
|
+
])
|
|
500
|
+
),
|
|
501
|
+
_propTypes.default.number,
|
|
502
|
+
_propTypes.default.object,
|
|
503
|
+
_propTypes.default.shape({
|
|
504
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
505
|
+
/**
|
|
506
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
507
|
+
*/
|
|
508
|
+
description: _propTypes.default.string,
|
|
509
|
+
/**
|
|
510
|
+
* Returns a string representation of an object.
|
|
511
|
+
*/
|
|
512
|
+
toString: _propTypes.default.func.isRequired,
|
|
513
|
+
/**
|
|
514
|
+
* Returns the primitive value of the specified object.
|
|
515
|
+
*/
|
|
516
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
517
|
+
}),
|
|
518
|
+
_propTypes.default.string,
|
|
519
|
+
]),
|
|
520
|
+
/**
|
|
521
|
+
* Margin on right
|
|
522
|
+
*/
|
|
523
|
+
mr: _propTypes.default.oneOfType([
|
|
524
|
+
_propTypes.default.arrayOf(
|
|
525
|
+
_propTypes.default.oneOfType([
|
|
526
|
+
_propTypes.default.oneOf([null]),
|
|
527
|
+
_propTypes.default.number,
|
|
528
|
+
_propTypes.default.shape({
|
|
529
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
530
|
+
/**
|
|
531
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
532
|
+
*/
|
|
533
|
+
description: _propTypes.default.string,
|
|
534
|
+
/**
|
|
535
|
+
* Returns a string representation of an object.
|
|
536
|
+
*/
|
|
537
|
+
toString: _propTypes.default.func.isRequired,
|
|
538
|
+
/**
|
|
539
|
+
* Returns the primitive value of the specified object.
|
|
540
|
+
*/
|
|
541
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
542
|
+
}),
|
|
543
|
+
_propTypes.default.string,
|
|
544
|
+
])
|
|
545
|
+
),
|
|
546
|
+
_propTypes.default.number,
|
|
547
|
+
_propTypes.default.object,
|
|
548
|
+
_propTypes.default.shape({
|
|
549
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
550
|
+
/**
|
|
551
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
552
|
+
*/
|
|
553
|
+
description: _propTypes.default.string,
|
|
554
|
+
/**
|
|
555
|
+
* Returns a string representation of an object.
|
|
556
|
+
*/
|
|
557
|
+
toString: _propTypes.default.func.isRequired,
|
|
558
|
+
/**
|
|
559
|
+
* Returns the primitive value of the specified object.
|
|
560
|
+
*/
|
|
561
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
562
|
+
}),
|
|
563
|
+
_propTypes.default.string,
|
|
564
|
+
]),
|
|
565
|
+
/**
|
|
566
|
+
* Margin on top
|
|
567
|
+
*/
|
|
568
|
+
mt: _propTypes.default.oneOfType([
|
|
569
|
+
_propTypes.default.arrayOf(
|
|
570
|
+
_propTypes.default.oneOfType([
|
|
571
|
+
_propTypes.default.oneOf([null]),
|
|
572
|
+
_propTypes.default.number,
|
|
573
|
+
_propTypes.default.shape({
|
|
574
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
575
|
+
/**
|
|
576
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
577
|
+
*/
|
|
578
|
+
description: _propTypes.default.string,
|
|
579
|
+
/**
|
|
580
|
+
* Returns a string representation of an object.
|
|
581
|
+
*/
|
|
582
|
+
toString: _propTypes.default.func.isRequired,
|
|
583
|
+
/**
|
|
584
|
+
* Returns the primitive value of the specified object.
|
|
585
|
+
*/
|
|
586
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
587
|
+
}),
|
|
588
|
+
_propTypes.default.string,
|
|
589
|
+
])
|
|
590
|
+
),
|
|
591
|
+
_propTypes.default.number,
|
|
592
|
+
_propTypes.default.object,
|
|
593
|
+
_propTypes.default.shape({
|
|
594
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
595
|
+
/**
|
|
596
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
597
|
+
*/
|
|
598
|
+
description: _propTypes.default.string,
|
|
599
|
+
/**
|
|
600
|
+
* Returns a string representation of an object.
|
|
601
|
+
*/
|
|
602
|
+
toString: _propTypes.default.func.isRequired,
|
|
603
|
+
/**
|
|
604
|
+
* Returns the primitive value of the specified object.
|
|
605
|
+
*/
|
|
606
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
607
|
+
}),
|
|
608
|
+
_propTypes.default.string,
|
|
609
|
+
]),
|
|
610
|
+
/**
|
|
611
|
+
* Margin on left and right
|
|
612
|
+
*/
|
|
613
|
+
mx: _propTypes.default.oneOfType([
|
|
614
|
+
_propTypes.default.arrayOf(
|
|
615
|
+
_propTypes.default.oneOfType([
|
|
616
|
+
_propTypes.default.oneOf([null]),
|
|
617
|
+
_propTypes.default.number,
|
|
618
|
+
_propTypes.default.shape({
|
|
619
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
620
|
+
/**
|
|
621
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
622
|
+
*/
|
|
623
|
+
description: _propTypes.default.string,
|
|
624
|
+
/**
|
|
625
|
+
* Returns a string representation of an object.
|
|
626
|
+
*/
|
|
627
|
+
toString: _propTypes.default.func.isRequired,
|
|
628
|
+
/**
|
|
629
|
+
* Returns the primitive value of the specified object.
|
|
630
|
+
*/
|
|
631
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
632
|
+
}),
|
|
633
|
+
_propTypes.default.string,
|
|
634
|
+
])
|
|
635
|
+
),
|
|
636
|
+
_propTypes.default.number,
|
|
637
|
+
_propTypes.default.object,
|
|
638
|
+
_propTypes.default.shape({
|
|
639
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
640
|
+
/**
|
|
641
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
642
|
+
*/
|
|
643
|
+
description: _propTypes.default.string,
|
|
644
|
+
/**
|
|
645
|
+
* Returns a string representation of an object.
|
|
646
|
+
*/
|
|
647
|
+
toString: _propTypes.default.func.isRequired,
|
|
648
|
+
/**
|
|
649
|
+
* Returns the primitive value of the specified object.
|
|
650
|
+
*/
|
|
651
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
652
|
+
}),
|
|
653
|
+
_propTypes.default.string,
|
|
654
|
+
]),
|
|
655
|
+
/**
|
|
656
|
+
* Margin on top and bottom
|
|
657
|
+
*/
|
|
658
|
+
my: _propTypes.default.oneOfType([
|
|
659
|
+
_propTypes.default.arrayOf(
|
|
660
|
+
_propTypes.default.oneOfType([
|
|
661
|
+
_propTypes.default.oneOf([null]),
|
|
662
|
+
_propTypes.default.number,
|
|
663
|
+
_propTypes.default.shape({
|
|
664
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
665
|
+
/**
|
|
666
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
667
|
+
*/
|
|
668
|
+
description: _propTypes.default.string,
|
|
669
|
+
/**
|
|
670
|
+
* Returns a string representation of an object.
|
|
671
|
+
*/
|
|
672
|
+
toString: _propTypes.default.func.isRequired,
|
|
673
|
+
/**
|
|
674
|
+
* Returns the primitive value of the specified object.
|
|
675
|
+
*/
|
|
676
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
677
|
+
}),
|
|
678
|
+
_propTypes.default.string,
|
|
679
|
+
])
|
|
680
|
+
),
|
|
681
|
+
_propTypes.default.number,
|
|
682
|
+
_propTypes.default.object,
|
|
683
|
+
_propTypes.default.shape({
|
|
684
|
+
"__@toStringTag": _propTypes.default.string.isRequired,
|
|
685
|
+
/**
|
|
686
|
+
* Expose the [[Description]] internal slot of a symbol directly.
|
|
687
|
+
*/
|
|
688
|
+
description: _propTypes.default.string,
|
|
689
|
+
/**
|
|
690
|
+
* Returns a string representation of an object.
|
|
691
|
+
*/
|
|
692
|
+
toString: _propTypes.default.func.isRequired,
|
|
693
|
+
/**
|
|
694
|
+
* Returns the primitive value of the specified object.
|
|
695
|
+
*/
|
|
696
|
+
valueOf: _propTypes.default.func.isRequired,
|
|
697
|
+
}),
|
|
698
|
+
_propTypes.default.string,
|
|
699
|
+
]),
|
|
57
700
|
};
|
|
701
|
+
|
|
702
|
+
exports.Hr = Hr;
|
|
58
703
|
var _default = Hr;
|
|
59
|
-
exports.default = _default;
|
|
704
|
+
exports.default = _default;
|