@doist/reactist 31.0.0 → 31.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/reactist.cjs.development.js +312 -406
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/avatar/avatar.js +3 -6
- package/es/avatar/avatar.js.map +1 -1
- package/es/badge/badge.js +3 -6
- package/es/badge/badge.js.map +1 -1
- package/es/banner/banner.js +15 -22
- package/es/banner/banner.js.map +1 -1
- package/es/banner/banner.module.css.js +1 -1
- package/es/base-field/base-field.js +6 -7
- package/es/base-field/base-field.js.map +1 -1
- package/es/box/box.js +43 -46
- package/es/box/box.js.map +1 -1
- package/es/button/button.js +18 -22
- package/es/button/button.js.map +1 -1
- package/es/checkbox-field/checkbox-field.js +9 -12
- package/es/checkbox-field/checkbox-field.js.map +1 -1
- package/es/checkbox-field/checkbox-icon.js +3 -6
- package/es/checkbox-field/checkbox-icon.js.map +1 -1
- package/es/columns/columns.js +15 -20
- package/es/columns/columns.js.map +1 -1
- package/es/components/deprecated-button/deprecated-button.js +10 -13
- package/es/components/deprecated-button/deprecated-button.js.map +1 -1
- package/es/components/deprecated-dropdown/dropdown.js +6 -8
- package/es/components/deprecated-dropdown/dropdown.js.map +1 -1
- package/es/components/deprecated-select/select.js +3 -6
- package/es/components/deprecated-select/select.js.map +1 -1
- package/es/components/keyboard-shortcut/keyboard-shortcut.js +7 -11
- package/es/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/es/divider/divider.js +3 -6
- package/es/divider/divider.js.map +1 -1
- package/es/heading/heading.js +3 -6
- package/es/heading/heading.js.map +1 -1
- package/es/hidden/hidden.js +6 -9
- package/es/hidden/hidden.js.map +1 -1
- package/es/icons/alert-icon.js +3 -6
- package/es/icons/alert-icon.js.map +1 -1
- package/es/icons/banner-icon.js +3 -6
- package/es/icons/banner-icon.js.map +1 -1
- package/es/inline/inline.js +9 -12
- package/es/inline/inline.js.map +1 -1
- package/es/loading/loading.js +3 -6
- package/es/loading/loading.js.map +1 -1
- package/es/menu/menu.js +26 -39
- package/es/menu/menu.js.map +1 -1
- package/es/modal/modal.js +28 -39
- package/es/modal/modal.js.map +1 -1
- package/es/password-field/password-field.js +3 -6
- package/es/password-field/password-field.js.map +1 -1
- package/es/prose/prose.js +3 -6
- package/es/prose/prose.js.map +1 -1
- package/es/select-field/select-field.js +7 -8
- package/es/select-field/select-field.js.map +1 -1
- package/es/stack/stack.js +10 -13
- package/es/stack/stack.js.map +1 -1
- package/es/switch-field/switch-field.js +3 -6
- package/es/switch-field/switch-field.js.map +1 -1
- package/es/tabs/tabs.js +14 -19
- package/es/tabs/tabs.js.map +1 -1
- package/es/text/text.js +11 -14
- package/es/text/text.js.map +1 -1
- package/es/text-area/text-area.js +7 -11
- package/es/text-area/text-area.js.map +1 -1
- package/es/text-field/text-field.js +7 -11
- package/es/text-field/text-field.js.map +1 -1
- package/es/text-link/text-link.js +8 -11
- package/es/text-link/text-link.js.map +1 -1
- package/es/toast/static-toast.js +3 -6
- package/es/toast/static-toast.js.map +1 -1
- package/es/toast/use-toasts.js +10 -13
- package/es/toast/use-toasts.js.map +1 -1
- package/lib/avatar/avatar.js +3 -7
- package/lib/avatar/avatar.js.map +1 -1
- package/lib/badge/badge.js +3 -7
- package/lib/badge/badge.js.map +1 -1
- package/lib/banner/banner.js +15 -23
- package/lib/banner/banner.js.map +1 -1
- package/lib/banner/banner.module.css.js +1 -1
- package/lib/base-field/base-field.js +6 -10
- package/lib/base-field/base-field.js.map +1 -1
- package/lib/box/box.js +43 -48
- package/lib/box/box.js.map +1 -1
- package/lib/button/button.js +18 -23
- package/lib/button/button.js.map +1 -1
- package/lib/checkbox-field/checkbox-field.js +9 -13
- package/lib/checkbox-field/checkbox-field.js.map +1 -1
- package/lib/checkbox-field/checkbox-icon.js +3 -7
- package/lib/checkbox-field/checkbox-icon.js.map +1 -1
- package/lib/columns/columns.js +15 -21
- package/lib/columns/columns.js.map +1 -1
- package/lib/components/deprecated-button/deprecated-button.js +10 -14
- package/lib/components/deprecated-button/deprecated-button.js.map +1 -1
- package/lib/components/deprecated-dropdown/dropdown.js +6 -9
- package/lib/components/deprecated-dropdown/dropdown.js.map +1 -1
- package/lib/components/deprecated-select/select.js +3 -7
- package/lib/components/deprecated-select/select.js.map +1 -1
- package/lib/components/keyboard-shortcut/keyboard-shortcut.js +7 -12
- package/lib/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/lib/divider/divider.js +3 -7
- package/lib/divider/divider.js.map +1 -1
- package/lib/heading/heading.js +3 -7
- package/lib/heading/heading.js.map +1 -1
- package/lib/hidden/hidden.js +6 -10
- package/lib/hidden/hidden.js.map +1 -1
- package/lib/icons/alert-icon.js +3 -7
- package/lib/icons/alert-icon.js.map +1 -1
- package/lib/icons/banner-icon.js +3 -7
- package/lib/icons/banner-icon.js.map +1 -1
- package/lib/inline/inline.js +9 -13
- package/lib/inline/inline.js.map +1 -1
- package/lib/loading/loading.js +3 -7
- package/lib/loading/loading.js.map +1 -1
- package/lib/menu/menu.js +26 -41
- package/lib/menu/menu.js.map +1 -1
- package/lib/modal/modal.js +28 -40
- package/lib/modal/modal.js.map +1 -1
- package/lib/password-field/password-field.js +3 -7
- package/lib/password-field/password-field.js.map +1 -1
- package/lib/prose/prose.js +3 -7
- package/lib/prose/prose.js.map +1 -1
- package/lib/select-field/select-field.js +7 -9
- package/lib/select-field/select-field.js.map +1 -1
- package/lib/stack/stack.js +10 -14
- package/lib/stack/stack.js.map +1 -1
- package/lib/switch-field/switch-field.js +3 -7
- package/lib/switch-field/switch-field.js.map +1 -1
- package/lib/tabs/tabs.js +14 -20
- package/lib/tabs/tabs.js.map +1 -1
- package/lib/text/text.js +11 -15
- package/lib/text/text.js.map +1 -1
- package/lib/text-area/text-area.js +7 -12
- package/lib/text-area/text-area.js.map +1 -1
- package/lib/text-field/text-field.js +7 -12
- package/lib/text-field/text-field.js.map +1 -1
- package/lib/text-link/text-link.js +8 -12
- package/lib/text-link/text-link.js.map +1 -1
- package/lib/toast/static-toast.js +3 -7
- package/lib/toast/static-toast.js.map +1 -1
- package/lib/toast/use-toasts.js +10 -15
- package/lib/toast/use-toasts.js.map +1 -1
- package/package.json +22 -54
- package/styles/banner.css +1 -1
- package/styles/banner.module.css.css +1 -1
- package/styles/prose.css +1 -1
- package/styles/prose.module.css.css +1 -1
- package/styles/reactist.css +3 -3
|
@@ -6,10 +6,8 @@ var reactCompilerRuntime = require('react-compiler-runtime');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var classNames = require('classnames');
|
|
8
8
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
9
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
10
9
|
var ReactDOM = require('react-dom');
|
|
11
10
|
var react = require('@ariakit/react');
|
|
12
|
-
var _objectSpread = require('@babel/runtime/helpers/objectSpread2');
|
|
13
11
|
var dayjs = require('dayjs');
|
|
14
12
|
var LocalizedFormat = require('dayjs/plugin/localizedFormat');
|
|
15
13
|
var flattenChildren = require('react-keyed-flatten-children');
|
|
@@ -41,9 +39,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
41
39
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
42
40
|
var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
43
41
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
44
|
-
var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
|
|
45
42
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
46
|
-
var _objectSpread__default = /*#__PURE__*/_interopDefaultLegacy(_objectSpread);
|
|
47
43
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
48
44
|
var LocalizedFormat__default = /*#__PURE__*/_interopDefaultLegacy(LocalizedFormat);
|
|
49
45
|
var flattenChildren__default = /*#__PURE__*/_interopDefaultLegacy(flattenChildren);
|
|
@@ -229,7 +225,6 @@ var modules_b537a8ee = {"paddingTop-xsmall":"c4803194","paddingTop-small":"_4e9a
|
|
|
229
225
|
|
|
230
226
|
var modules_89b7671c = {"minWidth-0":"_68ab48ca","minWidth-xsmall":"_6fa2b565","minWidth-small":"dd50fabd","minWidth-medium":"e7e2c808","minWidth-large":"_6abbe25e","minWidth-xlarge":"_54f479ac","maxWidth-xsmall":"_148492bc","maxWidth-small":"bd023b96","maxWidth-medium":"e102903f","maxWidth-large":"_0e8d76d7","maxWidth-xlarge":"_47a031d0","maxWidth-full":"cd4c8183","width-0":"_5f5959e8","width-full":"_8c75067a","width-auto":"_56a651f6","width-maxContent":"_26f87bb8","width-minContent":"_07a6ab44","width-fitContent":"a87016fa","width-xsmall":"_1a972e50","width-small":"c96d8261","width-medium":"f3829d42","width-large":"_2caef228","width-xlarge":"_069e1491"};
|
|
231
227
|
|
|
232
|
-
const _excluded$w = ["as", "position", "display", "flexDirection", "flexWrap", "flexGrow", "flexShrink", "gap", "alignItems", "justifyContent", "alignSelf", "overflow", "width", "height", "background", "border", "borderRadius", "minWidth", "maxWidth", "textAlign", "padding", "paddingY", "paddingX", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "margin", "marginY", "marginX", "marginTop", "marginRight", "marginBottom", "marginLeft", "overlayScroll", "className", "children"];
|
|
233
228
|
function getBoxClassNames({
|
|
234
229
|
position = 'static',
|
|
235
230
|
display,
|
|
@@ -286,48 +281,48 @@ function getBoxClassNames({
|
|
|
286
281
|
// other props
|
|
287
282
|
getClassNames(modules_54d944f2, 'overflow', overflow), width != null ? getClassNames(modules_89b7671c, 'width', String(width)) : null, getClassNames(modules_54d944f2, 'height', height), getClassNames(modules_54d944f2, 'bg', background), borderRadius !== 'none' ? getClassNames(modules_54d944f2, 'borderRadius', borderRadius) : null, border !== 'none' ? getClassNames(modules_54d944f2, 'border', border) : null, overlayScroll ? modules_54d944f2.overlayScroll : null);
|
|
288
283
|
}
|
|
289
|
-
const Box$1 = polymorphicComponent(function Box(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
284
|
+
const Box$1 = polymorphicComponent(function Box({
|
|
285
|
+
as: component = 'div',
|
|
286
|
+
position = 'static',
|
|
287
|
+
display,
|
|
288
|
+
flexDirection = 'row',
|
|
289
|
+
flexWrap,
|
|
290
|
+
flexGrow,
|
|
291
|
+
flexShrink,
|
|
292
|
+
gap,
|
|
293
|
+
alignItems,
|
|
294
|
+
justifyContent,
|
|
295
|
+
alignSelf,
|
|
296
|
+
overflow,
|
|
297
|
+
width,
|
|
298
|
+
height,
|
|
299
|
+
background,
|
|
300
|
+
border,
|
|
301
|
+
borderRadius,
|
|
302
|
+
minWidth,
|
|
303
|
+
maxWidth,
|
|
304
|
+
textAlign,
|
|
305
|
+
padding,
|
|
306
|
+
paddingY,
|
|
307
|
+
paddingX,
|
|
308
|
+
paddingTop,
|
|
309
|
+
paddingRight,
|
|
310
|
+
paddingBottom,
|
|
311
|
+
paddingLeft,
|
|
312
|
+
margin,
|
|
313
|
+
marginY,
|
|
314
|
+
marginX,
|
|
315
|
+
marginTop,
|
|
316
|
+
marginRight,
|
|
317
|
+
marginBottom,
|
|
318
|
+
marginLeft,
|
|
319
|
+
overlayScroll,
|
|
320
|
+
className,
|
|
321
|
+
children,
|
|
322
|
+
...props
|
|
323
|
+
}, ref) {
|
|
324
|
+
return /*#__PURE__*/React__namespace.createElement(component, {
|
|
325
|
+
...props,
|
|
331
326
|
className: getBoxClassNames({
|
|
332
327
|
position,
|
|
333
328
|
display,
|
|
@@ -366,20 +361,17 @@ const Box$1 = polymorphicComponent(function Box(_ref, ref) {
|
|
|
366
361
|
className
|
|
367
362
|
}),
|
|
368
363
|
ref
|
|
369
|
-
}
|
|
364
|
+
}, children);
|
|
370
365
|
});
|
|
371
366
|
|
|
372
367
|
var modules_67f2d07a = {"container-xsmall":"_9b4012c9","container-small":"e35e0320","container-medium":"_0703e67f","container-large":"_1cf15621","container-xlarge":"_1c7dff67","container-xxlarge":"_25bee9b6","columnWidth-content":"_4bb9987d","columnWidth-auto":"_9dd31975","columnWidth-1-2":"_38d11c0e","columnWidth-1-3":"_7ac225c6","columnWidth-2-3":"_9c340680","columnWidth-1-4":"_81cb99d2","columnWidth-3-4":"_10fd355f","columnWidth-1-5":"_3ee66520","columnWidth-2-5":"df1201a5","columnWidth-3-5":"f772e0b2","columnWidth-4-5":"_880cbbb1","container":"eae3d34f"};
|
|
373
368
|
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
exceptionallySetClassName
|
|
381
|
-
} = _ref,
|
|
382
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$v);
|
|
369
|
+
const Column = polymorphicComponent(function Column({
|
|
370
|
+
width = 'auto',
|
|
371
|
+
children,
|
|
372
|
+
exceptionallySetClassName,
|
|
373
|
+
...props
|
|
374
|
+
}, ref) {
|
|
383
375
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
384
376
|
className: [exceptionallySetClassName, getClassNames(modules_67f2d07a, 'columnWidth', width.replace('/', '-'))],
|
|
385
377
|
minWidth: 0,
|
|
@@ -389,16 +381,15 @@ const Column = polymorphicComponent(function Column(_ref, ref) {
|
|
|
389
381
|
ref: ref
|
|
390
382
|
}), children);
|
|
391
383
|
});
|
|
392
|
-
const Columns = polymorphicComponent(function Columns(
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
props = _objectWithoutProperties__default["default"](_ref2, _excluded2$8);
|
|
384
|
+
const Columns = polymorphicComponent(function Columns({
|
|
385
|
+
space,
|
|
386
|
+
align = 'left',
|
|
387
|
+
alignY = 'top',
|
|
388
|
+
collapseBelow,
|
|
389
|
+
children,
|
|
390
|
+
exceptionallySetClassName,
|
|
391
|
+
...props
|
|
392
|
+
}, ref) {
|
|
402
393
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
403
394
|
className: [exceptionallySetClassName, modules_67f2d07a.container, getClassNames(modules_67f2d07a, 'container', space)],
|
|
404
395
|
display: "flex",
|
|
@@ -419,17 +410,15 @@ const Columns = polymorphicComponent(function Columns(_ref2, ref) {
|
|
|
419
410
|
|
|
420
411
|
var modules_c742c4d7 = {"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};
|
|
421
412
|
|
|
422
|
-
const _excluded$u = ["weight"];
|
|
423
413
|
function Divider(t0) {
|
|
424
414
|
const $ = reactCompilerRuntime.c(8);
|
|
425
415
|
let props;
|
|
426
416
|
let t1;
|
|
427
417
|
if ($[0] !== t0) {
|
|
428
|
-
var _t = t0;
|
|
429
418
|
({
|
|
430
|
-
weight: t1
|
|
431
|
-
|
|
432
|
-
|
|
419
|
+
weight: t1,
|
|
420
|
+
...props
|
|
421
|
+
} = t0);
|
|
433
422
|
$[0] = t0;
|
|
434
423
|
$[1] = props;
|
|
435
424
|
$[2] = t1;
|
|
@@ -463,7 +452,6 @@ function Divider(t0) {
|
|
|
463
452
|
|
|
464
453
|
var modules_4689e97e = {"hiddenOnPrint":"_0e595dea"};
|
|
465
454
|
|
|
466
|
-
const _excluded$t = ["display", "children", "exceptionallySetClassName"];
|
|
467
455
|
/**
|
|
468
456
|
* A component that allows to specify how to hide itself on certain responsive screen sizes, or on
|
|
469
457
|
* print media.
|
|
@@ -472,13 +460,12 @@ const _excluded$t = ["display", "children", "exceptionallySetClassName"];
|
|
|
472
460
|
* @see HiddenVisually for hiding content only visually, while keeping it available for assistive
|
|
473
461
|
* technologies.
|
|
474
462
|
*/
|
|
475
|
-
const Hidden = polymorphicComponent(function Hidden(
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$t);
|
|
463
|
+
const Hidden = polymorphicComponent(function Hidden({
|
|
464
|
+
display = 'block',
|
|
465
|
+
children,
|
|
466
|
+
exceptionallySetClassName,
|
|
467
|
+
...props
|
|
468
|
+
}, ref) {
|
|
482
469
|
const hiddenOnPrint = 'print' in props && props.print;
|
|
483
470
|
const hiddenOnDesktop = 'above' in props;
|
|
484
471
|
const hiddenOnMobile = 'below' in props;
|
|
@@ -523,17 +510,15 @@ const HiddenVisually = polymorphicComponent(function HiddenVisually(props, ref)
|
|
|
523
510
|
}));
|
|
524
511
|
});
|
|
525
512
|
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
} = _ref,
|
|
536
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$s);
|
|
513
|
+
const Inline = polymorphicComponent(function Inline({
|
|
514
|
+
as,
|
|
515
|
+
space,
|
|
516
|
+
align = 'left',
|
|
517
|
+
alignY = 'center',
|
|
518
|
+
children,
|
|
519
|
+
exceptionallySetClassName,
|
|
520
|
+
...props
|
|
521
|
+
}, ref) {
|
|
537
522
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
538
523
|
as: as,
|
|
539
524
|
display: "flex",
|
|
@@ -546,18 +531,16 @@ const Inline = polymorphicComponent(function Inline(_ref, ref) {
|
|
|
546
531
|
}), children);
|
|
547
532
|
});
|
|
548
533
|
|
|
549
|
-
const
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
} = _ref,
|
|
560
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$r);
|
|
534
|
+
const Stack = polymorphicComponent(function Stack({
|
|
535
|
+
as,
|
|
536
|
+
space,
|
|
537
|
+
align,
|
|
538
|
+
dividers = 'none',
|
|
539
|
+
width = 'full',
|
|
540
|
+
children,
|
|
541
|
+
exceptionallySetClassName,
|
|
542
|
+
...props
|
|
543
|
+
}, ref) {
|
|
561
544
|
const alignItems = align === undefined ? undefined : mapResponsiveProp(align, align => align === 'start' ? 'flexStart' : align === 'end' ? 'flexEnd' : 'center');
|
|
562
545
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
563
546
|
display: "flex",
|
|
@@ -713,8 +696,6 @@ Tooltip.displayName = 'Tooltip';
|
|
|
713
696
|
|
|
714
697
|
var modules_5357ebb8 = {"baseButton":"_3930afa0","label":"_90654824","shape-rounded":"c05d17c2","size-small":"_1e29d236","size-normal":"_7246d092","size-large":"_2d084671","disabled":"_2b0b9d95","iconButton":"abd5766f","startIcon":"_380e7c73","endIcon":"_20fe4105","variant-primary":"_7ea1378e","variant-secondary":"_64ee8afd","variant-tertiary":"_650176bf","variant-quaternary":"aa19cb97","tone-destructive":"_7a2d9a8c"};
|
|
715
698
|
|
|
716
|
-
const _excluded$q = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "startIcon", "endIcon", "width", "align"],
|
|
717
|
-
_excluded2$7 = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "icon"];
|
|
718
699
|
function preventDefault(event) {
|
|
719
700
|
event.preventDefault();
|
|
720
701
|
}
|
|
@@ -742,7 +723,6 @@ const Button$2 = /*#__PURE__*/React__namespace.forwardRef(function Button(t0, re
|
|
|
742
723
|
let tooltip;
|
|
743
724
|
let variant;
|
|
744
725
|
if ($[0] !== t0) {
|
|
745
|
-
var _t = t0;
|
|
746
726
|
({
|
|
747
727
|
variant,
|
|
748
728
|
tone: t1,
|
|
@@ -759,9 +739,9 @@ const Button$2 = /*#__PURE__*/React__namespace.forwardRef(function Button(t0, re
|
|
|
759
739
|
startIcon,
|
|
760
740
|
endIcon,
|
|
761
741
|
width: t7,
|
|
762
|
-
align: t8
|
|
763
|
-
|
|
764
|
-
|
|
742
|
+
align: t8,
|
|
743
|
+
...props
|
|
744
|
+
} = t0);
|
|
765
745
|
$[0] = t0;
|
|
766
746
|
$[1] = children;
|
|
767
747
|
$[2] = endIcon;
|
|
@@ -938,21 +918,21 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
|
|
|
938
918
|
let variant;
|
|
939
919
|
if ($[0] !== t0) {
|
|
940
920
|
const {
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
921
|
+
variant: t7,
|
|
922
|
+
tone: t8,
|
|
923
|
+
size: t9,
|
|
924
|
+
shape: t10,
|
|
925
|
+
type: t11,
|
|
926
|
+
disabled: t12,
|
|
927
|
+
loading: t13,
|
|
928
|
+
tooltip: t14,
|
|
929
|
+
render: t15,
|
|
930
|
+
onClick: t16,
|
|
931
|
+
exceptionallySetClassName: t17,
|
|
932
|
+
children,
|
|
933
|
+
icon: t18,
|
|
934
|
+
...t19
|
|
935
|
+
} = t0;
|
|
956
936
|
variant = t7;
|
|
957
937
|
t1 = t8;
|
|
958
938
|
t2 = t9;
|
|
@@ -1071,7 +1051,6 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
|
|
|
1071
1051
|
|
|
1072
1052
|
var modules_de8ae2e5 = {"info":"_447f8e53","upgrade":"cdb7a2b8","experiment":"_210efb55","warning":"cd91167f","error":"a52763ee","success":"c6229331"};
|
|
1073
1053
|
|
|
1074
|
-
const _excluded$p = ["type"];
|
|
1075
1054
|
const bannerIconForType = {
|
|
1076
1055
|
info: BannerInfoIcon,
|
|
1077
1056
|
upgrade: BannerUpgradeIcon,
|
|
@@ -1085,11 +1064,10 @@ function BannerIcon(t0) {
|
|
|
1085
1064
|
let props;
|
|
1086
1065
|
let type;
|
|
1087
1066
|
if ($[0] !== t0) {
|
|
1088
|
-
var _t = t0;
|
|
1089
1067
|
({
|
|
1090
|
-
type
|
|
1091
|
-
|
|
1092
|
-
|
|
1068
|
+
type,
|
|
1069
|
+
...props
|
|
1070
|
+
} = t0);
|
|
1093
1071
|
$[0] = t0;
|
|
1094
1072
|
$[1] = props;
|
|
1095
1073
|
$[2] = type;
|
|
@@ -1325,16 +1303,14 @@ function CloseIcon(props) {
|
|
|
1325
1303
|
|
|
1326
1304
|
var modules_3d05deee = {"default":"_468ce45c","inherit":"_54f92a1e","underline":"cdc8b08c","no-underline":"_06995bac","container":"d77fcdc6"};
|
|
1327
1305
|
|
|
1328
|
-
const
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
} = _ref,
|
|
1337
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$o);
|
|
1306
|
+
const TextLink = polymorphicComponent(function TextLink({
|
|
1307
|
+
as = 'a',
|
|
1308
|
+
openInNewTab = false,
|
|
1309
|
+
exceptionallySetClassName,
|
|
1310
|
+
color = 'default',
|
|
1311
|
+
underline = true,
|
|
1312
|
+
...props
|
|
1313
|
+
}, ref) {
|
|
1338
1314
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
1339
1315
|
as: as,
|
|
1340
1316
|
display: "inline",
|
|
@@ -1367,12 +1343,7 @@ function useId(providedId) {
|
|
|
1367
1343
|
return ref.current;
|
|
1368
1344
|
}
|
|
1369
1345
|
|
|
1370
|
-
var modules_afa80466 = {"banner":"
|
|
1371
|
-
|
|
1372
|
-
const _excluded$n = ["id", "type", "title", "description", "children", "action", "icon", "image", "inlineLinks", "closeLabel", "onClose"],
|
|
1373
|
-
_excluded2$6 = ["label"],
|
|
1374
|
-
_excluded3$2 = ["type", "label"],
|
|
1375
|
-
_excluded4$2 = ["type", "label", "variant"];
|
|
1346
|
+
var modules_afa80466 = {"banner":"a9238c10","image":"_74fb1d6c","title":"_7d720b64","description":"e20c1413","secondary":"a4ec529c","typeIcon":"f7f9b63d","iconCopy":"_22bc210c","closeButton":"_97060900","copy":"_32c8bd8c","inlineLink":"_0569f1dd","actions":"_154f8e60","topContent":"f76860a9","content":"cb9aeb0c"};
|
|
1376
1347
|
|
|
1377
1348
|
/**
|
|
1378
1349
|
* Represents the type of a banner.
|
|
@@ -1431,7 +1402,6 @@ const Banner = /*#__PURE__*/React__namespace.forwardRef(function Banner(t0, ref)
|
|
|
1431
1402
|
let title;
|
|
1432
1403
|
let type;
|
|
1433
1404
|
if ($[0] !== t0) {
|
|
1434
|
-
var _t = t0;
|
|
1435
1405
|
({
|
|
1436
1406
|
id,
|
|
1437
1407
|
type,
|
|
@@ -1443,9 +1413,9 @@ const Banner = /*#__PURE__*/React__namespace.forwardRef(function Banner(t0, ref)
|
|
|
1443
1413
|
image,
|
|
1444
1414
|
inlineLinks,
|
|
1445
1415
|
closeLabel,
|
|
1446
|
-
onClose
|
|
1447
|
-
|
|
1448
|
-
|
|
1416
|
+
onClose,
|
|
1417
|
+
...props
|
|
1418
|
+
} = t0);
|
|
1449
1419
|
$[0] = t0;
|
|
1450
1420
|
$[1] = action;
|
|
1451
1421
|
$[2] = children;
|
|
@@ -1549,9 +1519,9 @@ const Banner = /*#__PURE__*/React__namespace.forwardRef(function Banner(t0, ref)
|
|
|
1549
1519
|
if ($[28] !== inlineLinks) {
|
|
1550
1520
|
t10 = inlineLinks?.map((t11, index) => {
|
|
1551
1521
|
const {
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1522
|
+
label,
|
|
1523
|
+
...props_0
|
|
1524
|
+
} = t11;
|
|
1555
1525
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
|
|
1556
1526
|
key: index
|
|
1557
1527
|
}, /*#__PURE__*/React__namespace.createElement(TextLink, _extends__default["default"]({}, props_0, {
|
|
@@ -1687,10 +1657,10 @@ function ActionButton(t0) {
|
|
|
1687
1657
|
let props;
|
|
1688
1658
|
if ($[0] !== t0) {
|
|
1689
1659
|
const {
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1660
|
+
type,
|
|
1661
|
+
label: t1,
|
|
1662
|
+
...t2
|
|
1663
|
+
} = t0;
|
|
1694
1664
|
label = t1;
|
|
1695
1665
|
props = t2;
|
|
1696
1666
|
$[0] = t0;
|
|
@@ -1718,11 +1688,11 @@ function ActionLink(t0) {
|
|
|
1718
1688
|
let variant;
|
|
1719
1689
|
if ($[0] !== t0) {
|
|
1720
1690
|
const {
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1691
|
+
type,
|
|
1692
|
+
label: t1,
|
|
1693
|
+
variant: t2,
|
|
1694
|
+
...t3
|
|
1695
|
+
} = t0;
|
|
1726
1696
|
label = t1;
|
|
1727
1697
|
variant = t2;
|
|
1728
1698
|
props = t3;
|
|
@@ -1762,7 +1732,6 @@ function ActionLink(t0) {
|
|
|
1762
1732
|
return t2;
|
|
1763
1733
|
}
|
|
1764
1734
|
|
|
1765
|
-
const _excluded$m = ["size", "exceptionallySetClassName"];
|
|
1766
1735
|
const sizeMapping = {
|
|
1767
1736
|
xsmall: 16,
|
|
1768
1737
|
small: 24,
|
|
@@ -1775,12 +1744,11 @@ function Loading(t0) {
|
|
|
1775
1744
|
let props;
|
|
1776
1745
|
let t1;
|
|
1777
1746
|
if ($[0] !== t0) {
|
|
1778
|
-
var _t = t0;
|
|
1779
1747
|
({
|
|
1780
1748
|
size: t1,
|
|
1781
|
-
exceptionallySetClassName
|
|
1782
|
-
|
|
1783
|
-
|
|
1749
|
+
exceptionallySetClassName,
|
|
1750
|
+
...props
|
|
1751
|
+
} = t0);
|
|
1784
1752
|
$[0] = t0;
|
|
1785
1753
|
$[1] = exceptionallySetClassName;
|
|
1786
1754
|
$[2] = props;
|
|
@@ -1825,7 +1793,6 @@ function Loading(t0) {
|
|
|
1825
1793
|
return t3;
|
|
1826
1794
|
}
|
|
1827
1795
|
|
|
1828
|
-
const _excluded$l = ["tone"];
|
|
1829
1796
|
const alertIconForTone = {
|
|
1830
1797
|
info: AlertInfoIcon,
|
|
1831
1798
|
positive: AlertPositiveIcon,
|
|
@@ -1837,11 +1804,10 @@ function AlertIcon(t0) {
|
|
|
1837
1804
|
let props;
|
|
1838
1805
|
let tone;
|
|
1839
1806
|
if ($[0] !== t0) {
|
|
1840
|
-
var _t = t0;
|
|
1841
1807
|
({
|
|
1842
|
-
tone
|
|
1843
|
-
|
|
1844
|
-
|
|
1808
|
+
tone,
|
|
1809
|
+
...props
|
|
1810
|
+
} = t0);
|
|
1845
1811
|
$[0] = t0;
|
|
1846
1812
|
$[1] = props;
|
|
1847
1813
|
$[2] = tone;
|
|
@@ -2058,19 +2024,17 @@ function Notice(t0) {
|
|
|
2058
2024
|
|
|
2059
2025
|
var modules_a9637dd3 = {"text":"a83bd4e0","size-caption":"_266d6623","size-copy":"a8d37c6e","size-subtitle":"_39f4eb1f","weight-semibold":"_7be5c531","weight-bold":"e214ff2e","tone-secondary":"_6a3e5ade","tone-danger":"_8f5b5f2b","tone-positive":"_9ae47ae4","lineClampMultipleLines":"_969f18f7","lineClamp-1":"_2f303ac3","lineClamp-2":"d3e04245","lineClamp-3":"_33411704","lineClamp-4":"bfc32640","lineClamp-5":"f813c82f"};
|
|
2060
2026
|
|
|
2061
|
-
const
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
} = _ref,
|
|
2073
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$k);
|
|
2027
|
+
const Text = polymorphicComponent(function Text({
|
|
2028
|
+
as,
|
|
2029
|
+
size = 'body',
|
|
2030
|
+
weight = 'regular',
|
|
2031
|
+
tone = 'normal',
|
|
2032
|
+
align,
|
|
2033
|
+
children,
|
|
2034
|
+
lineClamp,
|
|
2035
|
+
exceptionallySetClassName,
|
|
2036
|
+
...props
|
|
2037
|
+
}, ref) {
|
|
2074
2038
|
const lineClampMultipleLines = typeof lineClamp === 'string' ? Number(lineClamp) > 1 : (lineClamp ?? 1) > 1;
|
|
2075
2039
|
return /*#__PURE__*/React__namespace.createElement(Box$1, _extends__default["default"]({}, props, {
|
|
2076
2040
|
as: as,
|
|
@@ -2086,7 +2050,6 @@ const Text = polymorphicComponent(function Text(_ref, ref) {
|
|
|
2086
2050
|
|
|
2087
2051
|
var modules_d11e18f0 = {"stackedToastsView":"_616cc3f3","toastContainer":"_1b5f8e86","slot":"ce2e3476"};
|
|
2088
2052
|
|
|
2089
|
-
const _excluded$j = ["message", "description", "icon", "action", "onDismiss", "dismissLabel"];
|
|
2090
2053
|
/**
|
|
2091
2054
|
* A toast that shows a message, and an optional action associated with it.
|
|
2092
2055
|
*
|
|
@@ -2111,16 +2074,15 @@ const StaticToast = /*#__PURE__*/React__default["default"].forwardRef(function T
|
|
|
2111
2074
|
let props;
|
|
2112
2075
|
let t1;
|
|
2113
2076
|
if ($[0] !== t0) {
|
|
2114
|
-
var _t = t0;
|
|
2115
2077
|
({
|
|
2116
2078
|
message,
|
|
2117
2079
|
description,
|
|
2118
2080
|
icon,
|
|
2119
2081
|
action,
|
|
2120
2082
|
onDismiss,
|
|
2121
|
-
dismissLabel: t1
|
|
2122
|
-
|
|
2123
|
-
|
|
2083
|
+
dismissLabel: t1,
|
|
2084
|
+
...props
|
|
2085
|
+
} = t0);
|
|
2124
2086
|
$[0] = t0;
|
|
2125
2087
|
$[1] = action;
|
|
2126
2088
|
$[2] = description;
|
|
@@ -2424,8 +2386,6 @@ function _temp$2(t0) {
|
|
|
2424
2386
|
});
|
|
2425
2387
|
}
|
|
2426
2388
|
|
|
2427
|
-
const _excluded$i = ["toastId"];
|
|
2428
|
-
|
|
2429
2389
|
/**
|
|
2430
2390
|
* The props needed to fire up a new notification toast.
|
|
2431
2391
|
*/
|
|
@@ -2534,10 +2494,11 @@ const InternalToast = /*#__PURE__*/React__default["default"].forwardRef(function
|
|
|
2534
2494
|
}
|
|
2535
2495
|
let t10;
|
|
2536
2496
|
if ($[14] !== action || $[15] !== t8 || $[16] !== t9) {
|
|
2537
|
-
t10 =
|
|
2497
|
+
t10 = {
|
|
2498
|
+
...action,
|
|
2538
2499
|
closeToast: t8,
|
|
2539
2500
|
onClick: t9
|
|
2540
|
-
}
|
|
2501
|
+
};
|
|
2541
2502
|
$[14] = action;
|
|
2542
2503
|
$[15] = t8;
|
|
2543
2504
|
$[16] = t9;
|
|
@@ -2645,12 +2606,12 @@ function ToastsProvider(t0) {
|
|
|
2645
2606
|
if ($[3] !== defaultAutoDismissDelay || $[4] !== defaultDismissLabel || $[5] !== removeToast) {
|
|
2646
2607
|
t6 = function showToast(props) {
|
|
2647
2608
|
const toastId_0 = generateElementId("toast");
|
|
2648
|
-
const newToast =
|
|
2609
|
+
const newToast = {
|
|
2649
2610
|
autoDismissDelay: defaultAutoDismissDelay,
|
|
2650
|
-
dismissLabel: defaultDismissLabel
|
|
2651
|
-
|
|
2611
|
+
dismissLabel: defaultDismissLabel,
|
|
2612
|
+
...props,
|
|
2652
2613
|
toastId: toastId_0
|
|
2653
|
-
}
|
|
2614
|
+
};
|
|
2654
2615
|
setToasts(list_0 => [...list_0, newToast]);
|
|
2655
2616
|
return () => removeToast(toastId_0);
|
|
2656
2617
|
};
|
|
@@ -2675,9 +2636,9 @@ function ToastsProvider(t0) {
|
|
|
2675
2636
|
space: "medium"
|
|
2676
2637
|
}, toasts.map(t8 => {
|
|
2677
2638
|
const {
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2639
|
+
toastId: toastId_1,
|
|
2640
|
+
...props_0
|
|
2641
|
+
} = t8;
|
|
2681
2642
|
return /*#__PURE__*/React__default["default"].createElement(InternalToast, _extends__default["default"]({
|
|
2682
2643
|
key: toastId_1,
|
|
2683
2644
|
ref: mappedRef(toastId_1),
|
|
@@ -2793,7 +2754,6 @@ function Toast(props) {
|
|
|
2793
2754
|
|
|
2794
2755
|
var modules_949d2ff4 = {"heading":"bff24867","weight-medium":"_9b540c61","weight-light":"c6729907","tone-secondary":"d6507f70","tone-danger":"d1846d93","size-largest":"_7cbdd1ba","size-larger":"b3e14969","size-smaller":"be14a265","lineClampMultipleLines":"_71391f13","lineClamp-1":"_97298b1b","lineClamp-2":"_6d357d76","lineClamp-3":"d820b451","lineClamp-4":"_8d37487d","lineClamp-5":"_5215b4d7"};
|
|
2795
2756
|
|
|
2796
|
-
const _excluded$h = ["level", "weight", "size", "tone", "children", "lineClamp", "align", "exceptionallySetClassName"];
|
|
2797
2757
|
const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(t0, ref) {
|
|
2798
2758
|
const $ = reactCompilerRuntime.c(33);
|
|
2799
2759
|
let align;
|
|
@@ -2806,7 +2766,6 @@ const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(t0, re
|
|
|
2806
2766
|
let t1;
|
|
2807
2767
|
let t2;
|
|
2808
2768
|
if ($[0] !== t0) {
|
|
2809
|
-
var _t = t0;
|
|
2810
2769
|
({
|
|
2811
2770
|
level,
|
|
2812
2771
|
weight: t1,
|
|
@@ -2815,9 +2774,9 @@ const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(t0, re
|
|
|
2815
2774
|
children,
|
|
2816
2775
|
lineClamp,
|
|
2817
2776
|
align,
|
|
2818
|
-
exceptionallySetClassName
|
|
2819
|
-
|
|
2820
|
-
|
|
2777
|
+
exceptionallySetClassName,
|
|
2778
|
+
...props
|
|
2779
|
+
} = t0);
|
|
2821
2780
|
$[0] = t0;
|
|
2822
2781
|
$[1] = align;
|
|
2823
2782
|
$[2] = children;
|
|
@@ -2915,7 +2874,6 @@ const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(t0, re
|
|
|
2915
2874
|
|
|
2916
2875
|
var modules_8ebe6db0 = {"prose":"_37468e52","darkModeTypography":"_6abbd828"};
|
|
2917
2876
|
|
|
2918
|
-
const _excluded$g = ["darkModeTypography", "exceptionallySetClassName"];
|
|
2919
2877
|
/**
|
|
2920
2878
|
* Used to style HTML you don’t control, like HTML content generated from Markdown.
|
|
2921
2879
|
*/
|
|
@@ -2925,12 +2883,11 @@ function Prose(t0) {
|
|
|
2925
2883
|
let exceptionallySetClassName;
|
|
2926
2884
|
let props;
|
|
2927
2885
|
if ($[0] !== t0) {
|
|
2928
|
-
var _t = t0;
|
|
2929
2886
|
({
|
|
2930
2887
|
darkModeTypography,
|
|
2931
|
-
exceptionallySetClassName
|
|
2932
|
-
|
|
2933
|
-
|
|
2888
|
+
exceptionallySetClassName,
|
|
2889
|
+
...props
|
|
2890
|
+
} = t0);
|
|
2934
2891
|
$[0] = t0;
|
|
2935
2892
|
$[1] = darkModeTypography;
|
|
2936
2893
|
$[2] = exceptionallySetClassName;
|
|
@@ -2964,7 +2921,6 @@ function Prose(t0) {
|
|
|
2964
2921
|
return t3;
|
|
2965
2922
|
}
|
|
2966
2923
|
|
|
2967
|
-
const _excluded$f = ["checked", "indeterminate", "disabled"];
|
|
2968
2924
|
const svgPath = {
|
|
2969
2925
|
checked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z',
|
|
2970
2926
|
unchecked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z',
|
|
@@ -3000,13 +2956,12 @@ function CheckboxIcon(t0) {
|
|
|
3000
2956
|
let indeterminate;
|
|
3001
2957
|
let props;
|
|
3002
2958
|
if ($[0] !== t0) {
|
|
3003
|
-
var _t = t0;
|
|
3004
2959
|
({
|
|
3005
2960
|
checked,
|
|
3006
2961
|
indeterminate,
|
|
3007
|
-
disabled
|
|
3008
|
-
|
|
3009
|
-
|
|
2962
|
+
disabled,
|
|
2963
|
+
...props
|
|
2964
|
+
} = t0);
|
|
3010
2965
|
$[0] = t0;
|
|
3011
2966
|
$[1] = checked;
|
|
3012
2967
|
$[2] = disabled;
|
|
@@ -3085,17 +3040,15 @@ function useForkRef(...refs) {
|
|
|
3085
3040
|
|
|
3086
3041
|
var modules_664a6a80 = {"disabled":"_131a2ca4","checked":"_95b1556d","keyFocused":"_49de7ebd","icon":"_6b4b1851","label":"_9047f3bd","container":"_84dfdb83"};
|
|
3087
3042
|
|
|
3088
|
-
const
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
} = _ref,
|
|
3098
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$e);
|
|
3043
|
+
const CheckboxField = /*#__PURE__*/React__namespace.forwardRef(function CheckboxField({
|
|
3044
|
+
label,
|
|
3045
|
+
icon,
|
|
3046
|
+
disabled,
|
|
3047
|
+
indeterminate,
|
|
3048
|
+
defaultChecked,
|
|
3049
|
+
onChange,
|
|
3050
|
+
...props
|
|
3051
|
+
}, ref) {
|
|
3099
3052
|
const isControlledComponent = typeof props.checked === 'boolean';
|
|
3100
3053
|
if (typeof indeterminate === 'boolean' && !isControlledComponent) {
|
|
3101
3054
|
// eslint-disable-next-line no-console
|
|
@@ -3414,12 +3367,12 @@ function BaseField(t0) {
|
|
|
3414
3367
|
let t8;
|
|
3415
3368
|
let t9;
|
|
3416
3369
|
if ($[6] !== ariaDescribedBy || $[7] !== auxiliaryLabel || $[8] !== children || $[9] !== className || $[10] !== hidden || $[11] !== id || $[12] !== inputLength.count || $[13] !== inputLength.tone || $[14] !== label || $[15] !== maxLength || $[16] !== maxWidth || $[17] !== previousMaxLength || $[18] !== previousValue || $[19] !== renderCharacterCount || $[20] !== renderCharacterCountInline || $[21] !== tone || $[22] !== value || $[23] !== variant) {
|
|
3417
|
-
const childrenProps =
|
|
3370
|
+
const childrenProps = {
|
|
3418
3371
|
id,
|
|
3419
|
-
value
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3372
|
+
value,
|
|
3373
|
+
...(ariaDescribedBy ? {
|
|
3374
|
+
"aria-describedby": ariaDescribedBy
|
|
3375
|
+
} : {}),
|
|
3423
3376
|
"aria-invalid": tone === "error" ? true : undefined,
|
|
3424
3377
|
onChange(event) {
|
|
3425
3378
|
if (!maxLength) {
|
|
@@ -3433,7 +3386,7 @@ function BaseField(t0) {
|
|
|
3433
3386
|
setCharacterCountTone(inputLength_0.tone);
|
|
3434
3387
|
},
|
|
3435
3388
|
characterCountElement: renderCharacterCountInline ? renderCharacterCount() : null
|
|
3436
|
-
}
|
|
3389
|
+
};
|
|
3437
3390
|
if (value !== previousValue || maxLength !== previousMaxLength) {
|
|
3438
3391
|
setPreviousValue(value);
|
|
3439
3392
|
setPreviousMaxLength(maxLength);
|
|
@@ -3612,8 +3565,6 @@ function BaseField(t0) {
|
|
|
3612
3565
|
|
|
3613
3566
|
var modules_aaf25250 = {"inputWrapper":"b1fcd7d9","readOnly":"_2075eb4a","bordered":"_2134b64f","error":"_097b28b0","slot":"_7c4f9584"};
|
|
3614
3567
|
|
|
3615
|
-
const _excluded$d = ["variant", "id", "label", "value", "auxiliaryLabel", "message", "tone", "type", "maxWidth", "maxLength", "hidden", "aria-describedby", "startSlot", "endSlot", "onChange", "characterCountPosition", "endSlotPosition"],
|
|
3616
|
-
_excluded2$5 = ["onChange", "characterCountElement"];
|
|
3617
3568
|
const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(t0, ref) {
|
|
3618
3569
|
const $ = reactCompilerRuntime.c(51);
|
|
3619
3570
|
let ariaDescribedBy;
|
|
@@ -3635,7 +3586,6 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(t0
|
|
|
3635
3586
|
let tone;
|
|
3636
3587
|
let value;
|
|
3637
3588
|
if ($[0] !== t0) {
|
|
3638
|
-
var _t = t0;
|
|
3639
3589
|
({
|
|
3640
3590
|
variant: t1,
|
|
3641
3591
|
id,
|
|
@@ -3653,9 +3603,9 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(t0
|
|
|
3653
3603
|
endSlot,
|
|
3654
3604
|
onChange: originalOnChange,
|
|
3655
3605
|
characterCountPosition: t3,
|
|
3656
|
-
endSlotPosition: t4
|
|
3657
|
-
|
|
3658
|
-
|
|
3606
|
+
endSlotPosition: t4,
|
|
3607
|
+
...props
|
|
3608
|
+
} = t0);
|
|
3659
3609
|
$[0] = t0;
|
|
3660
3610
|
$[1] = ariaDescribedBy;
|
|
3661
3611
|
$[2] = auxiliaryLabel;
|
|
@@ -3729,10 +3679,10 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(t0
|
|
|
3729
3679
|
if ($[23] !== combinedRef || $[24] !== displayEndSlot || $[25] !== endSlot || $[26] !== handleClick || $[27] !== maxLength || $[28] !== originalOnChange || $[29] !== props || $[30] !== startSlot || $[31] !== tone || $[32] !== type || $[33] !== variant) {
|
|
3730
3680
|
t8 = t9 => {
|
|
3731
3681
|
const {
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3682
|
+
onChange,
|
|
3683
|
+
characterCountElement,
|
|
3684
|
+
...extraProps
|
|
3685
|
+
} = t9;
|
|
3736
3686
|
return /*#__PURE__*/React__namespace.createElement(Box$1, {
|
|
3737
3687
|
display: "flex",
|
|
3738
3688
|
alignItems: "center",
|
|
@@ -3814,19 +3764,17 @@ const TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(t0
|
|
|
3814
3764
|
return t9;
|
|
3815
3765
|
});
|
|
3816
3766
|
|
|
3817
|
-
const _excluded$c = ["togglePasswordLabel", "endSlot"];
|
|
3818
3767
|
const PasswordField = /*#__PURE__*/React__namespace.forwardRef(function PasswordField(t0, ref) {
|
|
3819
3768
|
const $ = reactCompilerRuntime.c(18);
|
|
3820
3769
|
let endSlot;
|
|
3821
3770
|
let props;
|
|
3822
3771
|
let t1;
|
|
3823
3772
|
if ($[0] !== t0) {
|
|
3824
|
-
var _t = t0;
|
|
3825
3773
|
({
|
|
3826
3774
|
togglePasswordLabel: t1,
|
|
3827
|
-
endSlot
|
|
3828
|
-
|
|
3829
|
-
|
|
3775
|
+
endSlot,
|
|
3776
|
+
...props
|
|
3777
|
+
} = t0);
|
|
3830
3778
|
$[0] = t0;
|
|
3831
3779
|
$[1] = endSlot;
|
|
3832
3780
|
$[2] = props;
|
|
@@ -3903,8 +3851,6 @@ function _temp$1(v) {
|
|
|
3903
3851
|
|
|
3904
3852
|
var modules_1fa9b208 = {"selectWrapper":"_7f5f473c","bordered":"_63e2fa62","error":"_3a255678"};
|
|
3905
3853
|
|
|
3906
|
-
const _excluded$b = ["variant", "id", "label", "value", "auxiliaryLabel", "message", "tone", "maxWidth", "children", "hidden", "aria-describedby", "onChange"],
|
|
3907
|
-
_excluded2$4 = ["characterCountElement"];
|
|
3908
3854
|
const SelectField = /*#__PURE__*/React__namespace.forwardRef(function SelectField(t0, ref) {
|
|
3909
3855
|
const $ = reactCompilerRuntime.c(33);
|
|
3910
3856
|
let ariaDescribedBy;
|
|
@@ -3921,7 +3867,6 @@ const SelectField = /*#__PURE__*/React__namespace.forwardRef(function SelectFiel
|
|
|
3921
3867
|
let tone;
|
|
3922
3868
|
let value;
|
|
3923
3869
|
if ($[0] !== t0) {
|
|
3924
|
-
var _t = t0;
|
|
3925
3870
|
({
|
|
3926
3871
|
variant: t1,
|
|
3927
3872
|
id,
|
|
@@ -3934,9 +3879,9 @@ const SelectField = /*#__PURE__*/React__namespace.forwardRef(function SelectFiel
|
|
|
3934
3879
|
children,
|
|
3935
3880
|
hidden,
|
|
3936
3881
|
"aria-describedby": ariaDescribedBy,
|
|
3937
|
-
onChange: originalOnChange
|
|
3938
|
-
|
|
3939
|
-
|
|
3882
|
+
onChange: originalOnChange,
|
|
3883
|
+
...props
|
|
3884
|
+
} = t0);
|
|
3940
3885
|
$[0] = t0;
|
|
3941
3886
|
$[1] = ariaDescribedBy;
|
|
3942
3887
|
$[2] = auxiliaryLabel;
|
|
@@ -3970,7 +3915,10 @@ const SelectField = /*#__PURE__*/React__namespace.forwardRef(function SelectFiel
|
|
|
3970
3915
|
let t2;
|
|
3971
3916
|
if ($[14] !== children || $[15] !== originalOnChange || $[16] !== props || $[17] !== ref || $[18] !== tone || $[19] !== variant) {
|
|
3972
3917
|
t2 = t3 => {
|
|
3973
|
-
const
|
|
3918
|
+
const {
|
|
3919
|
+
characterCountElement,
|
|
3920
|
+
...extraProps
|
|
3921
|
+
} = t3;
|
|
3974
3922
|
return /*#__PURE__*/React__namespace.createElement(Box$1, {
|
|
3975
3923
|
"data-testid": "select-wrapper",
|
|
3976
3924
|
className: [modules_1fa9b208.selectWrapper, tone === "error" ? modules_1fa9b208.error : null, variant === "bordered" ? modules_1fa9b208.bordered : null]
|
|
@@ -4054,7 +4002,6 @@ function SelectChevron(props) {
|
|
|
4054
4002
|
|
|
4055
4003
|
var modules_8e05f7c9 = {"disabled":"_408d32a0","label":"a66e1846","checked":"_99b0ead7","toggle":"_5af09fb5","handle":"_0dcf70ec","keyFocused":"_1f5e7fd4","container":"bae487be"};
|
|
4056
4004
|
|
|
4057
|
-
const _excluded$a = ["label", "message", "tone", "disabled", "hidden", "defaultChecked", "id", "aria-describedby", "aria-label", "aria-labelledby", "onChange"];
|
|
4058
4005
|
const SwitchField = /*#__PURE__*/React__namespace.forwardRef(function SwitchField(t0, ref) {
|
|
4059
4006
|
const $ = reactCompilerRuntime.c(51);
|
|
4060
4007
|
let defaultChecked;
|
|
@@ -4070,7 +4017,6 @@ const SwitchField = /*#__PURE__*/React__namespace.forwardRef(function SwitchFiel
|
|
|
4070
4017
|
let t1;
|
|
4071
4018
|
let t2;
|
|
4072
4019
|
if ($[0] !== t0) {
|
|
4073
|
-
var _t = t0;
|
|
4074
4020
|
({
|
|
4075
4021
|
label,
|
|
4076
4022
|
message,
|
|
@@ -4082,9 +4028,9 @@ const SwitchField = /*#__PURE__*/React__namespace.forwardRef(function SwitchFiel
|
|
|
4082
4028
|
"aria-describedby": originalAriaDescribedBy,
|
|
4083
4029
|
"aria-label": originalAriaLabel,
|
|
4084
4030
|
"aria-labelledby": originalAriaLabelledby,
|
|
4085
|
-
onChange
|
|
4086
|
-
|
|
4087
|
-
|
|
4031
|
+
onChange,
|
|
4032
|
+
...props
|
|
4033
|
+
} = t0);
|
|
4088
4034
|
$[0] = t0;
|
|
4089
4035
|
$[1] = defaultChecked;
|
|
4090
4036
|
$[2] = hidden;
|
|
@@ -4276,8 +4222,6 @@ const SwitchField = /*#__PURE__*/React__namespace.forwardRef(function SwitchFiel
|
|
|
4276
4222
|
|
|
4277
4223
|
var modules_2728c236 = {"textAreaContainer":"_1ae68da6","innerContainer":"_8eadb1df","bordered":"_35e7d1ba","error":"_8b028659","disableResize":"_30f6cf3c"};
|
|
4278
4224
|
|
|
4279
|
-
const _excluded$9 = ["variant", "id", "label", "value", "auxiliaryLabel", "message", "tone", "maxWidth", "maxLength", "hidden", "aria-describedby", "rows", "autoExpand", "disableResize", "onChange"],
|
|
4280
|
-
_excluded2$3 = ["onChange", "characterCountElement"];
|
|
4281
4225
|
const TextArea = /*#__PURE__*/React__namespace.forwardRef(function TextArea(t0, ref) {
|
|
4282
4226
|
const $ = reactCompilerRuntime.c(49);
|
|
4283
4227
|
let ariaDescribedBy;
|
|
@@ -4297,7 +4241,6 @@ const TextArea = /*#__PURE__*/React__namespace.forwardRef(function TextArea(t0,
|
|
|
4297
4241
|
let tone;
|
|
4298
4242
|
let value;
|
|
4299
4243
|
if ($[0] !== t0) {
|
|
4300
|
-
var _t = t0;
|
|
4301
4244
|
({
|
|
4302
4245
|
variant: t1,
|
|
4303
4246
|
id,
|
|
@@ -4313,9 +4256,9 @@ const TextArea = /*#__PURE__*/React__namespace.forwardRef(function TextArea(t0,
|
|
|
4313
4256
|
rows,
|
|
4314
4257
|
autoExpand: t2,
|
|
4315
4258
|
disableResize: t3,
|
|
4316
|
-
onChange: originalOnChange
|
|
4317
|
-
|
|
4318
|
-
|
|
4259
|
+
onChange: originalOnChange,
|
|
4260
|
+
...props
|
|
4261
|
+
} = t0);
|
|
4319
4262
|
$[0] = t0;
|
|
4320
4263
|
$[1] = ariaDescribedBy;
|
|
4321
4264
|
$[2] = auxiliaryLabel;
|
|
@@ -4407,10 +4350,10 @@ const TextArea = /*#__PURE__*/React__namespace.forwardRef(function TextArea(t0,
|
|
|
4407
4350
|
if ($[28] !== combinedRef || $[29] !== maxLength || $[30] !== originalOnChange || $[31] !== props || $[32] !== rows || $[33] !== textAreaClassName) {
|
|
4408
4351
|
t12 = t13 => {
|
|
4409
4352
|
const {
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4353
|
+
onChange,
|
|
4354
|
+
characterCountElement,
|
|
4355
|
+
...extraProps
|
|
4356
|
+
} = t13;
|
|
4414
4357
|
return /*#__PURE__*/React__namespace.createElement(Box$1, {
|
|
4415
4358
|
width: "full",
|
|
4416
4359
|
display: "flex",
|
|
@@ -4564,7 +4507,6 @@ function emailToIndex(email, maxIndex) {
|
|
|
4564
4507
|
|
|
4565
4508
|
var modules_08f3eeac = {"avatar":"_38a1be89","size-xxs":"d32e92ae","size-xs":"_0667d719","size-s":"cf529fcf","size-m":"_6e268eab","size-l":"d64c62cf","size-xl":"_44fb77de","size-xxl":"_01f85e0e","size-xxxl":"_41a5fe19","tablet-size-xxs":"_6ab1577d","tablet-size-xs":"b52a4963","tablet-size-s":"_714a8419","tablet-size-m":"_81cd4d51","tablet-size-l":"bf0a4edb","tablet-size-xl":"e4f0dabd","tablet-size-xxl":"_67ea065d","tablet-size-xxxl":"_2af7f76f","desktop-size-xxs":"_759081dc","desktop-size-xs":"_8290d1c1","desktop-size-s":"_48ea172d","desktop-size-m":"_758f6641","desktop-size-l":"f9ada088","desktop-size-xl":"d3bb7470","desktop-size-xxl":"_9a312ee3","desktop-size-xxxl":"a1d30c23"};
|
|
4566
4509
|
|
|
4567
|
-
const _excluded$8 = ["user", "avatarUrl", "size", "className", "colorList", "exceptionallySetClassName"];
|
|
4568
4510
|
const AVATAR_COLORS = ['#fcc652', '#e9952c', '#e16b2d', '#d84b40', '#e8435a', '#e5198a', '#ad3889', '#86389c', '#a8a8a8', '#98be2f', '#5d9d50', '#5f9f85', '#5bbcb6', '#32a3bf', '#2bafeb', '#2d88c3', '#3863cc', '#5e5e5e'];
|
|
4569
4511
|
function Avatar(t0) {
|
|
4570
4512
|
const $ = reactCompilerRuntime.c(26);
|
|
@@ -4576,16 +4518,15 @@ function Avatar(t0) {
|
|
|
4576
4518
|
let t2;
|
|
4577
4519
|
let user;
|
|
4578
4520
|
if ($[0] !== t0) {
|
|
4579
|
-
var _t = t0;
|
|
4580
4521
|
({
|
|
4581
4522
|
user,
|
|
4582
4523
|
avatarUrl,
|
|
4583
4524
|
size: t1,
|
|
4584
4525
|
className,
|
|
4585
4526
|
colorList: t2,
|
|
4586
|
-
exceptionallySetClassName
|
|
4587
|
-
|
|
4588
|
-
|
|
4527
|
+
exceptionallySetClassName,
|
|
4528
|
+
...props
|
|
4529
|
+
} = t0);
|
|
4589
4530
|
$[0] = t0;
|
|
4590
4531
|
$[1] = avatarUrl;
|
|
4591
4532
|
$[2] = className;
|
|
@@ -4671,19 +4612,17 @@ Avatar.displayName = 'Avatar';
|
|
|
4671
4612
|
|
|
4672
4613
|
var modules_33c7c985 = {"badge":"_2714fc40","badge-info":"_3397e001","badge-positive":"b7b8944a","badge-promote":"bfc2b0e9","badge-attention":"d45e594f","badge-warning":"_1e30e9b3"};
|
|
4673
4614
|
|
|
4674
|
-
const _excluded$7 = ["tone", "label"];
|
|
4675
4615
|
function Badge(t0) {
|
|
4676
4616
|
const $ = reactCompilerRuntime.c(10);
|
|
4677
4617
|
let label;
|
|
4678
4618
|
let props;
|
|
4679
4619
|
let tone;
|
|
4680
4620
|
if ($[0] !== t0) {
|
|
4681
|
-
var _t = t0;
|
|
4682
4621
|
({
|
|
4683
4622
|
tone,
|
|
4684
|
-
label
|
|
4685
|
-
|
|
4686
|
-
|
|
4623
|
+
label,
|
|
4624
|
+
...props
|
|
4625
|
+
} = t0);
|
|
4687
4626
|
$[0] = t0;
|
|
4688
4627
|
$[1] = label;
|
|
4689
4628
|
$[2] = props;
|
|
@@ -4719,12 +4658,6 @@ function Badge(t0) {
|
|
|
4719
4658
|
return t3;
|
|
4720
4659
|
}
|
|
4721
4660
|
|
|
4722
|
-
const _excluded$6 = ["children", "onItemSelect"],
|
|
4723
|
-
_excluded2$2 = ["exceptionallySetClassName"],
|
|
4724
|
-
_excluded3$1 = ["render"],
|
|
4725
|
-
_excluded4$1 = ["exceptionallySetClassName", "modal", "flip"],
|
|
4726
|
-
_excluded5$1 = ["value", "children", "onSelect", "hideOnSelect", "onClick", "exceptionallySetClassName"],
|
|
4727
|
-
_excluded6 = ["label", "children", "exceptionallySetClassName"];
|
|
4728
4661
|
const MenuContext = /*#__PURE__*/React__namespace.createContext({
|
|
4729
4662
|
menuStore: null,
|
|
4730
4663
|
handleItemSelect: () => undefined,
|
|
@@ -4749,12 +4682,11 @@ function Menu(t0) {
|
|
|
4749
4682
|
let onItemSelect;
|
|
4750
4683
|
let props;
|
|
4751
4684
|
if ($[0] !== t0) {
|
|
4752
|
-
var _t = t0;
|
|
4753
4685
|
({
|
|
4754
4686
|
children,
|
|
4755
|
-
onItemSelect
|
|
4756
|
-
|
|
4757
|
-
|
|
4687
|
+
onItemSelect,
|
|
4688
|
+
...props
|
|
4689
|
+
} = t0);
|
|
4758
4690
|
$[0] = t0;
|
|
4759
4691
|
$[1] = children;
|
|
4760
4692
|
$[2] = onItemSelect;
|
|
@@ -4776,9 +4708,10 @@ function Menu(t0) {
|
|
|
4776
4708
|
const getAnchorRect = t1;
|
|
4777
4709
|
let t2;
|
|
4778
4710
|
if ($[6] !== props) {
|
|
4779
|
-
t2 =
|
|
4780
|
-
focusLoop: true
|
|
4781
|
-
|
|
4711
|
+
t2 = {
|
|
4712
|
+
focusLoop: true,
|
|
4713
|
+
...props
|
|
4714
|
+
};
|
|
4782
4715
|
$[6] = props;
|
|
4783
4716
|
$[7] = t2;
|
|
4784
4717
|
} else {
|
|
@@ -4827,11 +4760,10 @@ const MenuButton = /*#__PURE__*/React__namespace.forwardRef(function MenuButton(
|
|
|
4827
4760
|
let exceptionallySetClassName;
|
|
4828
4761
|
let props;
|
|
4829
4762
|
if ($[0] !== t0) {
|
|
4830
|
-
var _t2 = t0;
|
|
4831
4763
|
({
|
|
4832
|
-
exceptionallySetClassName
|
|
4833
|
-
|
|
4834
|
-
|
|
4764
|
+
exceptionallySetClassName,
|
|
4765
|
+
...props
|
|
4766
|
+
} = t0);
|
|
4835
4767
|
$[0] = t0;
|
|
4836
4768
|
$[1] = exceptionallySetClassName;
|
|
4837
4769
|
$[2] = props;
|
|
@@ -4875,11 +4807,10 @@ const MenuButton = /*#__PURE__*/React__namespace.forwardRef(function MenuButton(
|
|
|
4875
4807
|
// ContextMenuTrigger
|
|
4876
4808
|
//
|
|
4877
4809
|
|
|
4878
|
-
const ContextMenuTrigger = /*#__PURE__*/React__namespace.forwardRef(function ContextMenuTrigger(
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded3$1);
|
|
4810
|
+
const ContextMenuTrigger = /*#__PURE__*/React__namespace.forwardRef(function ContextMenuTrigger({
|
|
4811
|
+
render,
|
|
4812
|
+
...props
|
|
4813
|
+
}, ref) {
|
|
4883
4814
|
const {
|
|
4884
4815
|
setAnchorRect,
|
|
4885
4816
|
menuStore
|
|
@@ -4913,13 +4844,12 @@ const ContextMenuTrigger = /*#__PURE__*/React__namespace.forwardRef(function Con
|
|
|
4913
4844
|
/**
|
|
4914
4845
|
* The dropdown menu itself, containing a list of menu items.
|
|
4915
4846
|
*/
|
|
4916
|
-
const MenuList = /*#__PURE__*/React__namespace.forwardRef(function MenuList(
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
props = _objectWithoutProperties__default["default"](_ref2, _excluded4$1);
|
|
4847
|
+
const MenuList = /*#__PURE__*/React__namespace.forwardRef(function MenuList({
|
|
4848
|
+
exceptionallySetClassName,
|
|
4849
|
+
modal = true,
|
|
4850
|
+
flip,
|
|
4851
|
+
...props
|
|
4852
|
+
}, ref) {
|
|
4923
4853
|
const {
|
|
4924
4854
|
menuStore,
|
|
4925
4855
|
getAnchorRect
|
|
@@ -4963,16 +4893,15 @@ const MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(t0,
|
|
|
4963
4893
|
let t1;
|
|
4964
4894
|
let value;
|
|
4965
4895
|
if ($[0] !== t0) {
|
|
4966
|
-
var _t3 = t0;
|
|
4967
4896
|
({
|
|
4968
4897
|
value,
|
|
4969
4898
|
children,
|
|
4970
4899
|
onSelect,
|
|
4971
4900
|
hideOnSelect: t1,
|
|
4972
4901
|
onClick,
|
|
4973
|
-
exceptionallySetClassName
|
|
4974
|
-
|
|
4975
|
-
|
|
4902
|
+
exceptionallySetClassName,
|
|
4903
|
+
...props
|
|
4904
|
+
} = t0);
|
|
4976
4905
|
$[0] = t0;
|
|
4977
4906
|
$[1] = children;
|
|
4978
4907
|
$[2] = exceptionallySetClassName;
|
|
@@ -5178,13 +5107,12 @@ const MenuGroup = /*#__PURE__*/React__namespace.forwardRef(function MenuGroup(t0
|
|
|
5178
5107
|
let label;
|
|
5179
5108
|
let props;
|
|
5180
5109
|
if ($[0] !== t0) {
|
|
5181
|
-
var _t4 = t0;
|
|
5182
5110
|
({
|
|
5183
5111
|
label,
|
|
5184
5112
|
children,
|
|
5185
|
-
exceptionallySetClassName
|
|
5186
|
-
|
|
5187
|
-
|
|
5113
|
+
exceptionallySetClassName,
|
|
5114
|
+
...props
|
|
5115
|
+
} = t0);
|
|
5188
5116
|
$[0] = t0;
|
|
5189
5117
|
$[1] = children;
|
|
5190
5118
|
$[2] = exceptionallySetClassName;
|
|
@@ -5235,12 +5163,6 @@ const MenuGroup = /*#__PURE__*/React__namespace.forwardRef(function MenuGroup(t0
|
|
|
5235
5163
|
|
|
5236
5164
|
var modules_8f59d13b = {"overlay":"_05da64fc","fadein":"_54ef8301","fitContent":"a191ee44","full":"b15ec657","large":"e1dec24f","medium":"_9346579f","small":"_33e2ba14","xsmall":"_13b3dd02","xlarge":"_1b7c26ab","expand":"_2e29ea19","buttonContainer":"_309f02f2","headerContent":"_094bb706","container":"_6910d6c2"};
|
|
5237
5165
|
|
|
5238
|
-
const _excluded$5 = ["isOpen", "onDismiss", "height", "dividers", "width", "exceptionallySetClassName", "exceptionallySetOverlayClassName", "autoFocus", "hideOnEscape", "hideOnInteractOutside", "children", "portalElement", "onKeyDown", "className"],
|
|
5239
|
-
_excluded2$1 = ["children", "button", "withDivider", "exceptionallySetClassName"],
|
|
5240
|
-
_excluded3 = ["exceptionallySetClassName", "children"],
|
|
5241
|
-
_excluded4 = ["exceptionallySetClassName", "withDivider"],
|
|
5242
|
-
_excluded5 = ["children"];
|
|
5243
|
-
|
|
5244
5166
|
//
|
|
5245
5167
|
// ModalContext
|
|
5246
5168
|
//
|
|
@@ -5286,22 +5208,22 @@ function Modal(t0) {
|
|
|
5286
5208
|
let t5;
|
|
5287
5209
|
if ($[0] !== t0) {
|
|
5288
5210
|
const {
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5211
|
+
isOpen: t6,
|
|
5212
|
+
onDismiss: t7,
|
|
5213
|
+
height: t8,
|
|
5214
|
+
dividers: t9,
|
|
5215
|
+
width: t10,
|
|
5216
|
+
exceptionallySetClassName: t11,
|
|
5217
|
+
exceptionallySetOverlayClassName: t12,
|
|
5218
|
+
autoFocus: t13,
|
|
5219
|
+
hideOnEscape: t14,
|
|
5220
|
+
hideOnInteractOutside: t15,
|
|
5221
|
+
children: t16,
|
|
5222
|
+
portalElement: t17,
|
|
5223
|
+
onKeyDown: t18,
|
|
5224
|
+
className,
|
|
5225
|
+
...t19
|
|
5226
|
+
} = t0;
|
|
5305
5227
|
isOpen = t6;
|
|
5306
5228
|
onDismiss = t7;
|
|
5307
5229
|
t1 = t8;
|
|
@@ -5655,14 +5577,13 @@ function ModalHeader(t0) {
|
|
|
5655
5577
|
let t1;
|
|
5656
5578
|
let t2;
|
|
5657
5579
|
if ($[0] !== t0) {
|
|
5658
|
-
var _t = t0;
|
|
5659
5580
|
({
|
|
5660
5581
|
children,
|
|
5661
5582
|
button: t1,
|
|
5662
5583
|
withDivider: t2,
|
|
5663
|
-
exceptionallySetClassName
|
|
5664
|
-
|
|
5665
|
-
|
|
5584
|
+
exceptionallySetClassName,
|
|
5585
|
+
...props
|
|
5586
|
+
} = t0);
|
|
5666
5587
|
$[0] = t0;
|
|
5667
5588
|
$[1] = children;
|
|
5668
5589
|
$[2] = exceptionallySetClassName;
|
|
@@ -5783,12 +5704,11 @@ const ModalBody = /*#__PURE__*/React.forwardRef(function ModalBody(t0, ref) {
|
|
|
5783
5704
|
let exceptionallySetClassName;
|
|
5784
5705
|
let props;
|
|
5785
5706
|
if ($[0] !== t0) {
|
|
5786
|
-
var _t2 = t0;
|
|
5787
5707
|
({
|
|
5788
5708
|
exceptionallySetClassName,
|
|
5789
|
-
children
|
|
5790
|
-
|
|
5791
|
-
|
|
5709
|
+
children,
|
|
5710
|
+
...props
|
|
5711
|
+
} = t0);
|
|
5792
5712
|
$[0] = t0;
|
|
5793
5713
|
$[1] = children;
|
|
5794
5714
|
$[2] = exceptionallySetClassName;
|
|
@@ -5853,12 +5773,11 @@ function ModalFooter(t0) {
|
|
|
5853
5773
|
let props;
|
|
5854
5774
|
let t1;
|
|
5855
5775
|
if ($[0] !== t0) {
|
|
5856
|
-
var _t3 = t0;
|
|
5857
5776
|
({
|
|
5858
5777
|
exceptionallySetClassName,
|
|
5859
|
-
withDivider: t1
|
|
5860
|
-
|
|
5861
|
-
|
|
5778
|
+
withDivider: t1,
|
|
5779
|
+
...props
|
|
5780
|
+
} = t0);
|
|
5862
5781
|
$[0] = t0;
|
|
5863
5782
|
$[1] = exceptionallySetClassName;
|
|
5864
5783
|
$[2] = props;
|
|
@@ -5922,11 +5841,10 @@ function ModalActions(t0) {
|
|
|
5922
5841
|
let children;
|
|
5923
5842
|
let props;
|
|
5924
5843
|
if ($[0] !== t0) {
|
|
5925
|
-
var _t4 = t0;
|
|
5926
5844
|
({
|
|
5927
|
-
children
|
|
5928
|
-
|
|
5929
|
-
|
|
5845
|
+
children,
|
|
5846
|
+
...props
|
|
5847
|
+
} = t0);
|
|
5930
5848
|
$[0] = t0;
|
|
5931
5849
|
$[1] = children;
|
|
5932
5850
|
$[2] = props;
|
|
@@ -5959,8 +5877,6 @@ function ModalActions(t0) {
|
|
|
5959
5877
|
|
|
5960
5878
|
var modules_40c67f5b = {"tab":"_33c9c271","fullTabList":"_479349aa","track":"_2862a4ba","selected":"_1161c811","tab-neutral":"_9502e79a","tab-themed":"c39f1053","track-neutral":"b3554a83","track-themed":"_511b0be0","selected-neutral":"c81dc609","selected-themed":"_87552972"};
|
|
5961
5879
|
|
|
5962
|
-
const _excluded$4 = ["children", "space", "width", "align", "exceptionallySetClassName"],
|
|
5963
|
-
_excluded2 = ["children", "id", "renderMode"];
|
|
5964
5880
|
const TabsContext = /*#__PURE__*/React__namespace.createContext(null);
|
|
5965
5881
|
/**
|
|
5966
5882
|
* Used to group components that compose a set of tabs. There can only be one active tab within the same `<Tabs>` group.
|
|
@@ -6047,15 +5963,14 @@ const Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(t0, ref) {
|
|
|
6047
5963
|
/**
|
|
6048
5964
|
* A component used to group `<Tab>` elements together.
|
|
6049
5965
|
*/
|
|
6050
|
-
function TabList(
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$4);
|
|
5966
|
+
function TabList({
|
|
5967
|
+
children,
|
|
5968
|
+
space,
|
|
5969
|
+
width = 'maxContent',
|
|
5970
|
+
align = 'start',
|
|
5971
|
+
exceptionallySetClassName,
|
|
5972
|
+
...props
|
|
5973
|
+
}) {
|
|
6059
5974
|
const tabListRef = React__namespace.useRef(null);
|
|
6060
5975
|
const tabListPrevWidthRef = React__namespace.useRef(0);
|
|
6061
5976
|
const tabContextValue = React__namespace.useContext(TabsContext);
|
|
@@ -6149,13 +6064,12 @@ function TabList(_ref) {
|
|
|
6149
6064
|
* Used to define the content to be rendered when a tab is active. Each `<TabPanel>` must have a
|
|
6150
6065
|
* corresponding `<Tab>` component.
|
|
6151
6066
|
*/
|
|
6152
|
-
const TabPanel = /*#__PURE__*/React__namespace.forwardRef(function TabPanel(
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
props = _objectWithoutProperties__default["default"](_ref2, _excluded2);
|
|
6067
|
+
const TabPanel = /*#__PURE__*/React__namespace.forwardRef(function TabPanel({
|
|
6068
|
+
children,
|
|
6069
|
+
id,
|
|
6070
|
+
renderMode = 'always',
|
|
6071
|
+
...props
|
|
6072
|
+
}, ref) {
|
|
6159
6073
|
const tabContextValue = React__namespace.useContext(TabsContext);
|
|
6160
6074
|
const [tabRendered, setTabRendered] = React__namespace.useState(false);
|
|
6161
6075
|
const selectedId = tabContextValue?.tabStore.useState('selectedId');
|
|
@@ -6193,8 +6107,6 @@ function TabAwareSlot({
|
|
|
6193
6107
|
}) : null;
|
|
6194
6108
|
}
|
|
6195
6109
|
|
|
6196
|
-
const _excluded$3 = ["type", "variant", "size", "loading", "disabled", "tooltip", "onClick", "children"];
|
|
6197
|
-
|
|
6198
6110
|
/** @deprecated */
|
|
6199
6111
|
|
|
6200
6112
|
/** @deprecated */
|
|
@@ -6216,16 +6128,16 @@ const Button$1 = /*#__PURE__*/React__namespace.forwardRef(function Button(t0, re
|
|
|
6216
6128
|
let type;
|
|
6217
6129
|
if ($[0] !== t0) {
|
|
6218
6130
|
const {
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6131
|
+
type: t2,
|
|
6132
|
+
variant,
|
|
6133
|
+
size: t3,
|
|
6134
|
+
loading: t4,
|
|
6135
|
+
disabled: t5,
|
|
6136
|
+
tooltip: t6,
|
|
6137
|
+
onClick: t7,
|
|
6138
|
+
children: t8,
|
|
6139
|
+
...t9
|
|
6140
|
+
} = t0;
|
|
6229
6141
|
tooltip = t6;
|
|
6230
6142
|
onClick = t7;
|
|
6231
6143
|
children = t8;
|
|
@@ -6302,7 +6214,6 @@ Button$1.defaultProps = {
|
|
|
6302
6214
|
|
|
6303
6215
|
var Button = Button$1;
|
|
6304
6216
|
|
|
6305
|
-
const _excluded$2 = ["children", "onClick", "tooltip", "className"];
|
|
6306
6217
|
class Box extends React__namespace.Component {
|
|
6307
6218
|
constructor(props, context) {
|
|
6308
6219
|
super(props, context);
|
|
@@ -6433,12 +6344,12 @@ const Trigger = /*#__PURE__*/React__namespace.forwardRef(function Trigger(t0, re
|
|
|
6433
6344
|
let tooltip;
|
|
6434
6345
|
if ($[0] !== t0) {
|
|
6435
6346
|
const {
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6347
|
+
children: t2,
|
|
6348
|
+
onClick,
|
|
6349
|
+
tooltip: t3,
|
|
6350
|
+
className: t4,
|
|
6351
|
+
...t5
|
|
6352
|
+
} = t0;
|
|
6442
6353
|
children = t2;
|
|
6443
6354
|
tooltip = t3;
|
|
6444
6355
|
className = t4;
|
|
@@ -6947,8 +6858,6 @@ function KeyCapturer(props) {
|
|
|
6947
6858
|
return t4;
|
|
6948
6859
|
}
|
|
6949
6860
|
|
|
6950
|
-
const _excluded$1 = ["children", "className", "translateKey", "isMac"];
|
|
6951
|
-
|
|
6952
6861
|
//
|
|
6953
6862
|
// Support for setting up how to translate modifiers globally.
|
|
6954
6863
|
//
|
|
@@ -7011,14 +6920,13 @@ function parseKeys(shortcut, isMac, translateKey) {
|
|
|
7011
6920
|
// The KeyboardShortcut component
|
|
7012
6921
|
//
|
|
7013
6922
|
|
|
7014
|
-
function KeyboardShortcut(
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$1);
|
|
6923
|
+
function KeyboardShortcut({
|
|
6924
|
+
children,
|
|
6925
|
+
className,
|
|
6926
|
+
translateKey = globalTranslateKey,
|
|
6927
|
+
isMac = navigator.platform?.toUpperCase().includes('MAC') ?? false,
|
|
6928
|
+
...props
|
|
6929
|
+
}) {
|
|
7022
6930
|
const shortcuts = typeof children === 'string' ? [children] : children;
|
|
7023
6931
|
return /*#__PURE__*/React__namespace.createElement("span", _extends__default["default"]({
|
|
7024
6932
|
className: classNames__default["default"]('reactist_keyboard_shortcut', className, {
|
|
@@ -7326,7 +7234,6 @@ Input$1.displayName = 'Input';
|
|
|
7326
7234
|
|
|
7327
7235
|
var Input = Input$1;
|
|
7328
7236
|
|
|
7329
|
-
const _excluded = ["value", "options", "onChange", "disabled", "className", "defaultValue"];
|
|
7330
7237
|
function Select(t0) {
|
|
7331
7238
|
const $ = reactCompilerRuntime.c(25);
|
|
7332
7239
|
let defaultValue;
|
|
@@ -7337,16 +7244,15 @@ function Select(t0) {
|
|
|
7337
7244
|
let t3;
|
|
7338
7245
|
let value;
|
|
7339
7246
|
if ($[0] !== t0) {
|
|
7340
|
-
var _t = t0;
|
|
7341
7247
|
({
|
|
7342
7248
|
value,
|
|
7343
7249
|
options: t1,
|
|
7344
7250
|
onChange,
|
|
7345
7251
|
disabled: t2,
|
|
7346
7252
|
className: t3,
|
|
7347
|
-
defaultValue
|
|
7348
|
-
|
|
7349
|
-
|
|
7253
|
+
defaultValue,
|
|
7254
|
+
...otherProps
|
|
7255
|
+
} = t0);
|
|
7350
7256
|
$[0] = t0;
|
|
7351
7257
|
$[1] = defaultValue;
|
|
7352
7258
|
$[2] = onChange;
|