@7shifts/sous-chef 4.8.0 → 4.10.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/dist/foundation/constants.d.ts +1 -1
- package/dist/index.css +513 -341
- package/dist/index.css.map +1 -1
- package/dist/index.js +668 -369
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +844 -559
- package/dist/index.modern.js.map +1 -1
- package/dist/media/ShortcutKey/ShortcutKey.d.ts +22 -0
- package/dist/media/ShortcutKey/index.d.ts +1 -0
- package/dist/media/index.d.ts +2 -1
- package/dist/overlay/DropdownListDivider/DropdownListDivider.d.ts +3 -1
- package/dist/overlay/DropdownListDividerLine/DropdownListDividerLine.d.ts +6 -0
- package/dist/overlay/DropdownListDividerLine/index.d.ts +1 -0
- package/dist/overlay/HintModal/HintModal.d.ts +2 -1
- package/dist/overlay/Modal/Modal.d.ts +8 -1
- package/dist/overlay/Modal/ModalContext.d.ts +1 -0
- package/dist/overlay/Modal/useDraggableModal.d.ts +38 -0
- package/dist/overlay/Modal/useModalPosition.d.ts +10 -0
- package/dist/overlay/index.d.ts +2 -0
- package/dist/tests/visual.d.ts +27 -0
- package/dist/typography/Text/constants.d.ts +2 -0
- package/dist/typography/Text/types.d.ts +1 -1
- package/llms-instructions/guidelines/HintModal.guidelines.md +1 -0
- package/package.json +13 -7
package/dist/index.modern.js
CHANGED
|
@@ -7,6 +7,7 @@ import { debounce } from 'lodash-es';
|
|
|
7
7
|
import parseTime from 'time-autocomplete/src/core/AMPMParser';
|
|
8
8
|
import { Link as Link$1, NavLink } from 'react-router-dom';
|
|
9
9
|
import ReactModal from 'react-modal';
|
|
10
|
+
import DraggableLib from 'react-draggable';
|
|
10
11
|
import { isMatch, DayPicker } from 'react-day-picker';
|
|
11
12
|
import dateFnsFormat from 'date-fns/format';
|
|
12
13
|
import dateFnsParse from 'date-fns/parse';
|
|
@@ -272,7 +273,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
272
273
|
return t;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
var styles$
|
|
276
|
+
var styles$1K = {"flex":"_GFHBy","flex__item":"_TOxU5","flex__item--flexible":"_oppLW","align-center":"_bC2qU","align-end":"_9qCMz","align-start":"_06gN4","justify-center":"_9gxO4","justify-end":"_33FAJ","justify-space-between":"_lg-h2","justify-start":"_xjZcn","inline-flex":"_3yyLA"};
|
|
276
277
|
|
|
277
278
|
const usePositionStyles = ({
|
|
278
279
|
m,
|
|
@@ -388,15 +389,15 @@ const Flex = _ref => {
|
|
|
388
389
|
dataProps
|
|
389
390
|
} = getDataProps(otherProps);
|
|
390
391
|
const positionStyles = usePositionStyles(positionProps);
|
|
391
|
-
const className = classnames(styles$
|
|
392
|
-
[styles$
|
|
393
|
-
[styles$
|
|
394
|
-
[styles$
|
|
395
|
-
[styles$
|
|
396
|
-
[styles$
|
|
397
|
-
[styles$
|
|
398
|
-
[styles$
|
|
399
|
-
[styles$
|
|
392
|
+
const className = classnames(styles$1K['flex'], extraClass, {
|
|
393
|
+
[styles$1K['align-start']]: alignItems === 'flex-start',
|
|
394
|
+
[styles$1K['align-end']]: alignItems === 'flex-end',
|
|
395
|
+
[styles$1K['align-center']]: alignItems === 'center',
|
|
396
|
+
[styles$1K['justify-start']]: justifyContent === 'start',
|
|
397
|
+
[styles$1K['justify-end']]: justifyContent === 'end',
|
|
398
|
+
[styles$1K['justify-center']]: justifyContent === 'center',
|
|
399
|
+
[styles$1K['justify-space-between']]: justifyContent === 'space-between',
|
|
400
|
+
[styles$1K['inline-flex']]: inlineFlex
|
|
400
401
|
});
|
|
401
402
|
const items = React__default.Children.toArray(children).filter(Boolean);
|
|
402
403
|
const gap = typeof space === 'object' ? `${space.row}px ${space.column}px` : space;
|
|
@@ -411,8 +412,8 @@ const Flex = _ref => {
|
|
|
411
412
|
"data-testid": testId
|
|
412
413
|
}, dataProps), items.map((child, i) => React__default.createElement("div", {
|
|
413
414
|
key: i,
|
|
414
|
-
className: classnames(styles$
|
|
415
|
-
[styles$
|
|
415
|
+
className: classnames(styles$1K['flex__item'], {
|
|
416
|
+
[styles$1K['flex__item--flexible']]: flexItems
|
|
416
417
|
}),
|
|
417
418
|
style: {
|
|
418
419
|
flex: flex ? flex[i] || '0 1 auto' : '0 1 auto'
|
|
@@ -435,7 +436,7 @@ const Stack = _ref => {
|
|
|
435
436
|
}));
|
|
436
437
|
};
|
|
437
438
|
|
|
438
|
-
var styles$
|
|
439
|
+
var styles$1J = {"caption":"_tMhXr","label":"_NfOw5","label--truncate":"_M3aFK","toggle":"_QDQZ1","toggle__label":"_52dky","toggle__caption":"_A-tgL","toggle__switch":"_kBjjH"};
|
|
439
440
|
|
|
440
441
|
const _excluded$eo = ["checked", "label", "caption", "onChange", "disabled", "id", "testId"];
|
|
441
442
|
/**
|
|
@@ -460,7 +461,7 @@ const Toggle = _ref => {
|
|
|
460
461
|
return React__default.createElement(Stack, {
|
|
461
462
|
space: 8
|
|
462
463
|
}, React__default.createElement("label", _extends({}, dataProps, {
|
|
463
|
-
className: styles$
|
|
464
|
+
className: styles$1J['toggle']
|
|
464
465
|
}), React__default.createElement("input", {
|
|
465
466
|
type: "checkbox",
|
|
466
467
|
checked: checked,
|
|
@@ -469,11 +470,11 @@ const Toggle = _ref => {
|
|
|
469
470
|
id: id,
|
|
470
471
|
"data-testid": testId
|
|
471
472
|
}), React__default.createElement("span", {
|
|
472
|
-
className: styles$
|
|
473
|
+
className: styles$1J['toggle__switch']
|
|
473
474
|
}), label && React__default.createElement("span", {
|
|
474
|
-
className: styles$
|
|
475
|
+
className: styles$1J['toggle__label']
|
|
475
476
|
}, label)), caption && React__default.createElement("span", {
|
|
476
|
-
className: styles$
|
|
477
|
+
className: styles$1J['toggle__caption']
|
|
477
478
|
}, caption));
|
|
478
479
|
};
|
|
479
480
|
|
|
@@ -491,7 +492,7 @@ const SPINNER_THEMES = {
|
|
|
491
492
|
PRIDE: 'pride'
|
|
492
493
|
};
|
|
493
494
|
|
|
494
|
-
var styles$
|
|
495
|
+
var styles$1I = {"spinner":"_memxT","rotator":"_QieGp","spinner--block":"_VoFzz","path":"_KSRP9","dash":"_RyBY2","path--mint":"_-sIZJ","path--disabled":"_3fox0","path--contrast":"_VteKz","path--pride":"_7rzsv"};
|
|
495
496
|
|
|
496
497
|
const Spinner = ({
|
|
497
498
|
size: _size = 28,
|
|
@@ -501,10 +502,10 @@ const Spinner = ({
|
|
|
501
502
|
}) => {
|
|
502
503
|
return React__default.createElement("div", {
|
|
503
504
|
className: classnames({
|
|
504
|
-
[styles$
|
|
505
|
+
[styles$1I['spinner--block']]: _block
|
|
505
506
|
})
|
|
506
507
|
}, React__default.createElement("svg", {
|
|
507
|
-
className: styles$
|
|
508
|
+
className: styles$1I['spinner'],
|
|
508
509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
509
510
|
width: _size,
|
|
510
511
|
height: _size,
|
|
@@ -579,7 +580,7 @@ const Spinner = ({
|
|
|
579
580
|
offset: "1",
|
|
580
581
|
stopColor: "#760088"
|
|
581
582
|
}))), React__default.createElement("circle", {
|
|
582
|
-
className: classnames(styles$
|
|
583
|
+
className: classnames(styles$1I['path'], styles$1I[`path--${_theme}`]),
|
|
583
584
|
fill: "none",
|
|
584
585
|
strokeWidth: "6",
|
|
585
586
|
strokeLinecap: "round",
|
|
@@ -589,9 +590,9 @@ const Spinner = ({
|
|
|
589
590
|
})));
|
|
590
591
|
};
|
|
591
592
|
|
|
592
|
-
var styles$
|
|
593
|
+
var styles$1H = {"tooltip":"_Ydu2O"};
|
|
593
594
|
|
|
594
|
-
var styles$
|
|
595
|
+
var styles$1G = {"tooltip-overlay":"_7fQon","tooltip-overlay--visible":"_a-BND","tooltip-overlay--black-theme":"_UUdng","tooltip-overlay--white-theme":"_brSNX","tooltip-overlay__header":"_uP8x7","tooltip-overlay-arrow":"_MjV6R","tooltip-overlay-arrow--top":"_TQqwB","tooltip-overlay-arrow--bottom":"_pgdKl","tooltip-overlay-arrow--visible":"_Zob-W","tooltip-overlay-arrow--black-theme":"_FXaBf","tooltip-overlay-arrow--white-theme":"_FyPu8"};
|
|
595
596
|
|
|
596
597
|
const TOOLTIP_THEME = {
|
|
597
598
|
BLACK: 'black',
|
|
@@ -785,24 +786,24 @@ const TooltipOverlay = ({
|
|
|
785
786
|
maxHeight,
|
|
786
787
|
zIndex: getZIndex('tooltip')
|
|
787
788
|
}),
|
|
788
|
-
className: classnames(styles$
|
|
789
|
-
[styles$
|
|
790
|
-
[styles$
|
|
791
|
-
[styles$
|
|
789
|
+
className: classnames(styles$1G['tooltip-overlay'], extraClass, {
|
|
790
|
+
[styles$1G['tooltip-overlay--visible']]: isVisible,
|
|
791
|
+
[styles$1G['tooltip-overlay--black-theme']]: theme === TOOLTIP_THEME.BLACK,
|
|
792
|
+
[styles$1G['tooltip-overlay--white-theme']]: theme === TOOLTIP_THEME.WHITE
|
|
792
793
|
}),
|
|
793
794
|
onMouseEnter: onFocusIn,
|
|
794
795
|
onMouseLeave: onFocusOut
|
|
795
796
|
}, React__default.createElement(Stack, {
|
|
796
797
|
space: 8
|
|
797
798
|
}, header && React__default.createElement("div", {
|
|
798
|
-
className: styles$
|
|
799
|
+
className: styles$1G['tooltip-overlay__header']
|
|
799
800
|
}, header), children)), React__default.createElement("div", {
|
|
800
|
-
className: classnames(styles$
|
|
801
|
-
[styles$
|
|
802
|
-
[styles$
|
|
803
|
-
[styles$
|
|
804
|
-
[styles$
|
|
805
|
-
[styles$
|
|
801
|
+
className: classnames(styles$1G['tooltip-overlay-arrow'], extraClass, {
|
|
802
|
+
[styles$1G['tooltip-overlay-arrow--visible']]: isVisible,
|
|
803
|
+
[styles$1G['tooltip-overlay-arrow--top']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.TOP,
|
|
804
|
+
[styles$1G['tooltip-overlay-arrow--bottom']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.BOTTOM,
|
|
805
|
+
[styles$1G['tooltip-overlay-arrow--black-theme']]: theme === TOOLTIP_THEME.BLACK,
|
|
806
|
+
[styles$1G['tooltip-overlay-arrow--white-theme']]: theme === TOOLTIP_THEME.WHITE
|
|
806
807
|
}),
|
|
807
808
|
style: _extends({}, position.arrow, {
|
|
808
809
|
zIndex: getZIndex('tooltip')
|
|
@@ -914,7 +915,7 @@ const TooltipElement = ({
|
|
|
914
915
|
}), overlayElement);
|
|
915
916
|
}
|
|
916
917
|
return React__default.createElement("div", _extends({
|
|
917
|
-
className: classnames(styles$
|
|
918
|
+
className: classnames(styles$1H['tooltip'])
|
|
918
919
|
}, commonProps, {
|
|
919
920
|
ref: containerRef
|
|
920
921
|
}), children, overlayElement);
|
|
@@ -927,7 +928,7 @@ const isTooltipCompatible = element => {
|
|
|
927
928
|
return React__default.isValidElement(element) && typeof element.type === 'string';
|
|
928
929
|
};
|
|
929
930
|
|
|
930
|
-
var styles$
|
|
931
|
+
var styles$1F = {"button":"_pgOR3","button--loading":"_2yB9-","button__spinner":"_ppC-S","button--size-min-width-100":"_GtXOQ","button--size-full-width":"_Y-OxO","button--icon-only":"_3EfuT","button--default":"_ICNz7","button--primary":"_XwJWT","button--danger":"_gr3Dh","button--upsell":"_ME8te","button--marketing":"_mI-Dx","button--hollow":"_orywo","button--hollow-contrast":"_obtsl","button--link-contrast":"_00jK4","button--link-primary":"_JPwJ7","button--link-danger":"_9TprN","button--link-upsell":"_tktX-","button--link-toolbar":"_r3SQl","button--link-icon":"_oFBLN","disabled-button-wrapper":"_yTBTz"};
|
|
931
932
|
|
|
932
933
|
const BUTTON_SIZES = {
|
|
933
934
|
FULL_WIDTH: 'full-width',
|
|
@@ -1022,24 +1023,24 @@ const ButtonComponent = (_ref, ref) => {
|
|
|
1022
1023
|
onBlur: onBlur,
|
|
1023
1024
|
onFocus: onFocus,
|
|
1024
1025
|
onKeyDown: onKeyDown,
|
|
1025
|
-
className: classnames(styles$
|
|
1026
|
-
[styles$
|
|
1027
|
-
[styles$
|
|
1028
|
-
[styles$
|
|
1029
|
-
[styles$
|
|
1030
|
-
[styles$
|
|
1031
|
-
[styles$
|
|
1032
|
-
[styles$
|
|
1033
|
-
[styles$
|
|
1034
|
-
[styles$
|
|
1035
|
-
[styles$
|
|
1036
|
-
[styles$
|
|
1037
|
-
[styles$
|
|
1038
|
-
[styles$
|
|
1039
|
-
[styles$
|
|
1040
|
-
[styles$
|
|
1041
|
-
[styles$
|
|
1042
|
-
[styles$
|
|
1026
|
+
className: classnames(styles$1F['button'], {
|
|
1027
|
+
[styles$1F['button--default']]: theme === BUTTON_THEMES.DEFAULT,
|
|
1028
|
+
[styles$1F['button--primary']]: theme === BUTTON_THEMES.PRIMARY,
|
|
1029
|
+
[styles$1F['button--danger']]: theme === BUTTON_THEMES.DANGER,
|
|
1030
|
+
[styles$1F['button--upsell']]: theme === BUTTON_THEMES.UPSELL,
|
|
1031
|
+
[styles$1F['button--marketing']]: theme === BUTTON_THEMES.MARKETING,
|
|
1032
|
+
[styles$1F['button--hollow']]: theme === BUTTON_THEMES.HOLLOW,
|
|
1033
|
+
[styles$1F['button--hollow-contrast']]: theme === BUTTON_THEMES.HOLLOW_CONTRAST,
|
|
1034
|
+
[styles$1F['button--link-primary']]: theme === BUTTON_THEMES.LINK_PRIMARY,
|
|
1035
|
+
[styles$1F['button--link-danger']]: theme === BUTTON_THEMES.LINK_DANGER,
|
|
1036
|
+
[styles$1F['button--link-upsell']]: theme === BUTTON_THEMES.LINK_UPSELL,
|
|
1037
|
+
[styles$1F['button--link-toolbar']]: theme === BUTTON_THEMES.LINK_TOOLBAR,
|
|
1038
|
+
[styles$1F['button--link-contrast']]: theme === BUTTON_THEMES.LINK_CONTRAST,
|
|
1039
|
+
[styles$1F['button--link-icon']]: theme === BUTTON_THEMES.LINK_ICON,
|
|
1040
|
+
[styles$1F['button--loading']]: loading,
|
|
1041
|
+
[styles$1F['button--icon-only']]: isIconOnly,
|
|
1042
|
+
[styles$1F['button--size-min-width-100']]: size === BUTTON_SIZES.MIN_WIDTH_100,
|
|
1043
|
+
[styles$1F['button--size-full-width']]: size === BUTTON_SIZES.FULL_WIDTH
|
|
1043
1044
|
}),
|
|
1044
1045
|
type: type,
|
|
1045
1046
|
disabled: disabled || loading,
|
|
@@ -1053,7 +1054,7 @@ const ButtonComponent = (_ref, ref) => {
|
|
|
1053
1054
|
space: 8,
|
|
1054
1055
|
alignItems: "center"
|
|
1055
1056
|
}, children), loading && React__default.createElement("div", {
|
|
1056
|
-
className: styles$
|
|
1057
|
+
className: styles$1F['button__spinner']
|
|
1057
1058
|
}, React__default.createElement(Spinner, {
|
|
1058
1059
|
theme: contrastSpinner.includes(theme) ? SPINNER_THEMES.CONTRAST : SPINNER_THEMES.DISABLED
|
|
1059
1060
|
})));
|
|
@@ -1063,7 +1064,7 @@ const ButtonComponent = (_ref, ref) => {
|
|
|
1063
1064
|
overlay: title,
|
|
1064
1065
|
ref: ref
|
|
1065
1066
|
}, title && disabled ? React__default.createElement("div", {
|
|
1066
|
-
className: styles$
|
|
1067
|
+
className: styles$1F['disabled-button-wrapper']
|
|
1067
1068
|
}, ButtonElementResult) : ButtonElementResult)
|
|
1068
1069
|
);
|
|
1069
1070
|
};
|
|
@@ -10309,20 +10310,20 @@ const IconGreatMonochromatic = forwardRef((_ref, ref) => {
|
|
|
10309
10310
|
});
|
|
10310
10311
|
IconGreatMonochromatic.displayName = 'IconGreatMonochromatic';
|
|
10311
10312
|
|
|
10312
|
-
var styles$
|
|
10313
|
+
var styles$1E = {"pagination-controls":"_S1co-"};
|
|
10313
10314
|
|
|
10314
|
-
var styles$
|
|
10315
|
+
var styles$1D = {"keyboard-key":"_sgd9a","keyboard-key--light":"_8zg4j","keyboard-key__character":"_GAIig"};
|
|
10315
10316
|
|
|
10316
10317
|
const KeyboardKey = ({
|
|
10317
10318
|
children,
|
|
10318
10319
|
theme: _theme = 'dark'
|
|
10319
10320
|
}) => {
|
|
10320
10321
|
return React__default.createElement("span", {
|
|
10321
|
-
className: classnames(styles$
|
|
10322
|
-
[styles$
|
|
10322
|
+
className: classnames(styles$1D['keyboard-key'], {
|
|
10323
|
+
[styles$1D['keyboard-key--light']]: _theme === 'light'
|
|
10323
10324
|
})
|
|
10324
10325
|
}, React__default.createElement("span", {
|
|
10325
|
-
className: styles$
|
|
10326
|
+
className: styles$1D['keyboard-key__character']
|
|
10326
10327
|
}, children));
|
|
10327
10328
|
};
|
|
10328
10329
|
|
|
@@ -10541,7 +10542,7 @@ const PaginationControls = _ref => {
|
|
|
10541
10542
|
}
|
|
10542
10543
|
});
|
|
10543
10544
|
return React__default.createElement("div", _extends({}, dataProps, {
|
|
10544
|
-
className: styles$
|
|
10545
|
+
className: styles$1E['pagination-controls'],
|
|
10545
10546
|
"data-testid": testId
|
|
10546
10547
|
}), React__default.createElement(Button, {
|
|
10547
10548
|
disabled: !hasPrevious,
|
|
@@ -10571,7 +10572,7 @@ const LINK_TARGET = {
|
|
|
10571
10572
|
BLANK: '_blank'
|
|
10572
10573
|
};
|
|
10573
10574
|
|
|
10574
|
-
var styles$
|
|
10575
|
+
var styles$1C = {"link":"_EiQ4c","link--contrast":"_weJDR"};
|
|
10575
10576
|
|
|
10576
10577
|
const _excluded$bq = ["href", "target", "theme", "onClick", "children"];
|
|
10577
10578
|
const Link = _ref => {
|
|
@@ -10588,9 +10589,9 @@ const Link = _ref => {
|
|
|
10588
10589
|
} = getDataProps(otherProps);
|
|
10589
10590
|
const ref = React__default.useRef(null);
|
|
10590
10591
|
return React__default.createElement("a", _extends({}, dataProps, {
|
|
10591
|
-
className: classnames(styles$
|
|
10592
|
-
[styles$
|
|
10593
|
-
[styles$
|
|
10592
|
+
className: classnames(styles$1C['link'], {
|
|
10593
|
+
[styles$1C['link--primary']]: theme === LINK_THEME.PRIMARY,
|
|
10594
|
+
[styles$1C['link--contrast']]: theme === LINK_THEME.CONTRAST
|
|
10594
10595
|
}),
|
|
10595
10596
|
href: href,
|
|
10596
10597
|
target: target,
|
|
@@ -10612,7 +10613,7 @@ const DropdownContext = React__default.createContext({
|
|
|
10612
10613
|
});
|
|
10613
10614
|
const useDropdownContext = () => React__default.useContext(DropdownContext);
|
|
10614
10615
|
|
|
10615
|
-
var styles$
|
|
10616
|
+
var styles$1B = {"dropdown-pane":"_sp-pT"};
|
|
10616
10617
|
|
|
10617
10618
|
const DROPDOWN_PANE_PADDING = 14;
|
|
10618
10619
|
const calculateOverlayPosition$1 = (triggerPosition, triggerOffsetHeight, panePosition, alignment) => {
|
|
@@ -10748,8 +10749,8 @@ const PaneOverlay = ({
|
|
|
10748
10749
|
useKeyPress(['Escape'], onToggleDropdown);
|
|
10749
10750
|
const overflow = maxHeight ? 'auto' : undefined;
|
|
10750
10751
|
return React__default.createElement("div", {
|
|
10751
|
-
className: classnames(styles$
|
|
10752
|
-
[styles$
|
|
10752
|
+
className: classnames(styles$1B['dropdown-pane'], {
|
|
10753
|
+
[styles$1B['dropdown-pane--with-padding']]: true,
|
|
10753
10754
|
'dropdown-pane--custom-width': width !== undefined
|
|
10754
10755
|
}),
|
|
10755
10756
|
style: _extends({}, position, {
|
|
@@ -10780,7 +10781,7 @@ const getKeyboardFocusableElements = element => {
|
|
|
10780
10781
|
});
|
|
10781
10782
|
};
|
|
10782
10783
|
|
|
10783
|
-
var styles$
|
|
10784
|
+
var styles$1A = {"dropdown__trigger":"_AktVc"};
|
|
10784
10785
|
|
|
10785
10786
|
const DROPDOWN_ALIGNEMNT = {
|
|
10786
10787
|
LEFT: 'left',
|
|
@@ -10791,7 +10792,7 @@ const DROPDOWN_TRIGGER = {
|
|
|
10791
10792
|
CLICK: 'click'
|
|
10792
10793
|
};
|
|
10793
10794
|
|
|
10794
|
-
var styles$
|
|
10795
|
+
var styles$1z = {"label":"_zv4ua","label--truncate":"_FPyID"};
|
|
10795
10796
|
|
|
10796
10797
|
const isEllipsisActive = e => {
|
|
10797
10798
|
return e.offsetWidth < e.scrollWidth;
|
|
@@ -10840,8 +10841,8 @@ const Label = ({
|
|
|
10840
10841
|
const LabelElement = React__default.createElement("label", {
|
|
10841
10842
|
htmlFor: htmlFor,
|
|
10842
10843
|
id: labelId,
|
|
10843
|
-
className: classnames(styles$
|
|
10844
|
-
[styles$
|
|
10844
|
+
className: classnames(styles$1z['label'], {
|
|
10845
|
+
[styles$1z['label--truncate']]: shouldTruncate
|
|
10845
10846
|
})
|
|
10846
10847
|
}, children);
|
|
10847
10848
|
if (showTooltip) {
|
|
@@ -10853,7 +10854,7 @@ const Label = ({
|
|
|
10853
10854
|
return LabelElement;
|
|
10854
10855
|
};
|
|
10855
10856
|
|
|
10856
|
-
var styles$
|
|
10857
|
+
var styles$1y = {"caption":"_Qrxg5"};
|
|
10857
10858
|
|
|
10858
10859
|
const Caption = ({
|
|
10859
10860
|
fieldId,
|
|
@@ -10861,11 +10862,11 @@ const Caption = ({
|
|
|
10861
10862
|
}) => {
|
|
10862
10863
|
return React__default.createElement("div", {
|
|
10863
10864
|
id: fieldId && `${fieldId}-describer`,
|
|
10864
|
-
className: styles$
|
|
10865
|
+
className: styles$1y['caption']
|
|
10865
10866
|
}, children);
|
|
10866
10867
|
};
|
|
10867
10868
|
|
|
10868
|
-
var styles$
|
|
10869
|
+
var styles$1x = {"error-message":"_eS4YO"};
|
|
10869
10870
|
|
|
10870
10871
|
const ErrorMessage = ({
|
|
10871
10872
|
fieldId,
|
|
@@ -10874,7 +10875,7 @@ const ErrorMessage = ({
|
|
|
10874
10875
|
}) => {
|
|
10875
10876
|
return React__default.createElement("div", {
|
|
10876
10877
|
id: fieldId && `${fieldId}-error-message`,
|
|
10877
|
-
className: styles$
|
|
10878
|
+
className: styles$1x['error-message'],
|
|
10878
10879
|
"data-testid": testId
|
|
10879
10880
|
}, React__default.createElement(Inline, {
|
|
10880
10881
|
space: 8,
|
|
@@ -10894,7 +10895,9 @@ const TEXT_TYPES = {
|
|
|
10894
10895
|
H4: 'h4',
|
|
10895
10896
|
H5: 'h5',
|
|
10896
10897
|
INSIGHT: 'insight',
|
|
10897
|
-
SPAN: 'span'
|
|
10898
|
+
SPAN: 'span',
|
|
10899
|
+
PARAGRAPH: 'paragraph',
|
|
10900
|
+
TAGLINE: 'tagline'
|
|
10898
10901
|
};
|
|
10899
10902
|
const FONT_EMPHASIS = {
|
|
10900
10903
|
BOLD: 'bold',
|
|
@@ -10911,7 +10914,7 @@ const ALIGNMENTS = {
|
|
|
10911
10914
|
JUSTIFY: 'justify'
|
|
10912
10915
|
};
|
|
10913
10916
|
|
|
10914
|
-
var styles$
|
|
10917
|
+
var styles$1w = {"text":"_6SgoN","text--bold":"_i2LHD","text__body":"_SF95f","text__caption":"_HHohB","text__insight":"_xdhK0","text__span":"_yZbuO","text__paragraph":"_T91Eo","text__tagline":"_uetB-","text--italic":"_NgSTT","text--underline":"_ouqVK","text--dotted-underline":"_zZ55-","text--monospace":"_Vi-V1","text--line-through":"_psV6T","text--align-left":"_tfSIf","text--align-right":"_AK1Nr","text--align-center":"_N-tR4","text--align-justify":"_LkMr0"};
|
|
10915
10918
|
|
|
10916
10919
|
const _excluded$bp = ["children", "as", "emphasis", "alignment", "color", "testId", "textWrap"];
|
|
10917
10920
|
const TextComponent = (_ref, ref) => {
|
|
@@ -10939,28 +10942,30 @@ const TextComponent = (_ref, ref) => {
|
|
|
10939
10942
|
color: getColor(color),
|
|
10940
10943
|
textWrap
|
|
10941
10944
|
}, positionStyles),
|
|
10942
|
-
className: classnames(styles$
|
|
10943
|
-
[styles$
|
|
10944
|
-
[styles$
|
|
10945
|
-
[styles$
|
|
10946
|
-
[styles$
|
|
10947
|
-
[styles$
|
|
10948
|
-
[styles$
|
|
10949
|
-
[styles$
|
|
10950
|
-
[styles$
|
|
10951
|
-
[styles$
|
|
10952
|
-
[styles$
|
|
10953
|
-
[styles$
|
|
10954
|
-
[styles$
|
|
10955
|
-
[styles$
|
|
10956
|
-
[styles$
|
|
10945
|
+
className: classnames(styles$1w['text'], {
|
|
10946
|
+
[styles$1w['text--bold']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.BOLD),
|
|
10947
|
+
[styles$1w['text--italic']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.ITALIC),
|
|
10948
|
+
[styles$1w['text--underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.UNDERLINE),
|
|
10949
|
+
[styles$1w['text--dotted-underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.DOTTED_UNDERLINE),
|
|
10950
|
+
[styles$1w['text--monospace']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.MONOSPACE),
|
|
10951
|
+
[styles$1w['text--line-through']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.STRIKETHROUGH),
|
|
10952
|
+
[styles$1w['text--align-left']]: alignment === ALIGNMENTS.LEFT,
|
|
10953
|
+
[styles$1w['text--align-right']]: alignment === ALIGNMENTS.RIGHT,
|
|
10954
|
+
[styles$1w['text--align-center']]: alignment === ALIGNMENTS.CENTER,
|
|
10955
|
+
[styles$1w['text--align-justify']]: alignment === ALIGNMENTS.JUSTIFY,
|
|
10956
|
+
[styles$1w['text__body']]: as === TEXT_TYPES.BODY,
|
|
10957
|
+
[styles$1w['text__insight']]: as === TEXT_TYPES.INSIGHT,
|
|
10958
|
+
[styles$1w['text__caption']]: as === TEXT_TYPES.CAPTION,
|
|
10959
|
+
[styles$1w['text__span']]: as === TEXT_TYPES.SPAN,
|
|
10960
|
+
[styles$1w['text__paragraph']]: as === TEXT_TYPES.PARAGRAPH,
|
|
10961
|
+
[styles$1w['text__tagline']]: as === TEXT_TYPES.TAGLINE
|
|
10957
10962
|
}),
|
|
10958
10963
|
'data-testid': testId
|
|
10959
10964
|
}, dataProps, other, {
|
|
10960
10965
|
ref
|
|
10961
10966
|
});
|
|
10962
10967
|
// check for TEXT_TYPES that should be a <p> element in the dom
|
|
10963
|
-
const pTypes = [TEXT_TYPES.BODY, TEXT_TYPES.CAPTION, TEXT_TYPES.INSIGHT];
|
|
10968
|
+
const pTypes = [TEXT_TYPES.BODY, TEXT_TYPES.CAPTION, TEXT_TYPES.INSIGHT, TEXT_TYPES.PARAGRAPH, TEXT_TYPES.TAGLINE];
|
|
10964
10969
|
const element = pTypes.includes(as) ? 'p' : as;
|
|
10965
10970
|
return React__default.createElement(element, elementProps, children);
|
|
10966
10971
|
};
|
|
@@ -10970,7 +10975,7 @@ const Bold = ({
|
|
|
10970
10975
|
children
|
|
10971
10976
|
}) => {
|
|
10972
10977
|
return React__default.createElement("span", {
|
|
10973
|
-
className: classnames(styles$
|
|
10978
|
+
className: classnames(styles$1w['text--bold'], styles$1w['text'])
|
|
10974
10979
|
}, children);
|
|
10975
10980
|
};
|
|
10976
10981
|
|
|
@@ -10978,7 +10983,7 @@ const Underline = ({
|
|
|
10978
10983
|
children
|
|
10979
10984
|
}) => {
|
|
10980
10985
|
return React__default.createElement("span", {
|
|
10981
|
-
className: classnames(styles$
|
|
10986
|
+
className: classnames(styles$1w['text--underline'], styles$1w['text'])
|
|
10982
10987
|
}, children);
|
|
10983
10988
|
};
|
|
10984
10989
|
|
|
@@ -10986,7 +10991,7 @@ const Italic = ({
|
|
|
10986
10991
|
children
|
|
10987
10992
|
}) => {
|
|
10988
10993
|
return React__default.createElement("span", {
|
|
10989
|
-
className: classnames(styles$
|
|
10994
|
+
className: classnames(styles$1w['text--italic'], styles$1w['text'])
|
|
10990
10995
|
}, children);
|
|
10991
10996
|
};
|
|
10992
10997
|
|
|
@@ -11123,7 +11128,7 @@ const useFieldControllers = ({
|
|
|
11123
11128
|
return controllers;
|
|
11124
11129
|
};
|
|
11125
11130
|
|
|
11126
|
-
var styles$
|
|
11131
|
+
var styles$1v = {"text-field":"_G6LsE","text-field--invalid":"_2ZYtt","text-field--prefixed":"_rWp7H","text-field--suffixed":"_Xq8xX"};
|
|
11127
11132
|
|
|
11128
11133
|
const _excluded$bn = ["autoComplete", "autoFocus", "defaultValue", "disabled", "error", "id", "maxLength", "name", "caption", "label", "onBlur", "onChange", "onFocus", "onKeyDown", "placeholder", "value", "ref", "testId"];
|
|
11129
11134
|
const useTextField = _ref => {
|
|
@@ -11164,8 +11169,8 @@ const useTextField = _ref => {
|
|
|
11164
11169
|
'aria-invalid': hasError,
|
|
11165
11170
|
autoComplete,
|
|
11166
11171
|
autoFocus,
|
|
11167
|
-
className: classnames(styles$
|
|
11168
|
-
[styles$
|
|
11172
|
+
className: classnames(styles$1v['text-field'], {
|
|
11173
|
+
[styles$1v['text-field--invalid']]: hasError
|
|
11169
11174
|
}),
|
|
11170
11175
|
'data-testid': testId,
|
|
11171
11176
|
disabled,
|
|
@@ -11196,7 +11201,7 @@ const useTextField = _ref => {
|
|
|
11196
11201
|
};
|
|
11197
11202
|
};
|
|
11198
11203
|
|
|
11199
|
-
var styles$
|
|
11204
|
+
var styles$1u = {"affix-container":"_F8QOB","prefix":"_yPPIy","suffix":"_Y3yFd","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"};
|
|
11200
11205
|
|
|
11201
11206
|
const AffixContainer = ({
|
|
11202
11207
|
prefix,
|
|
@@ -11231,19 +11236,19 @@ const AffixContainer = ({
|
|
|
11231
11236
|
if (!hasPrefix && !hasSuffix) {
|
|
11232
11237
|
return children;
|
|
11233
11238
|
}
|
|
11234
|
-
const classes = classnames(styles$
|
|
11235
|
-
[styles$
|
|
11236
|
-
[styles$
|
|
11239
|
+
const classes = classnames(styles$1u['affix-container'], {
|
|
11240
|
+
[styles$1u['affix-container--prefixed']]: hasPrefix,
|
|
11241
|
+
[styles$1u['affix-container--suffixed']]: hasSuffix
|
|
11237
11242
|
});
|
|
11238
11243
|
return React__default.createElement("div", {
|
|
11239
11244
|
className: classes,
|
|
11240
11245
|
ref: container,
|
|
11241
11246
|
"data-testid": testId
|
|
11242
11247
|
}, hasPrefix && React__default.createElement("div", {
|
|
11243
|
-
className: styles$
|
|
11248
|
+
className: styles$1u['prefix'],
|
|
11244
11249
|
ref: prefixElement
|
|
11245
11250
|
}, prefix), children, hasSuffix && React__default.createElement("div", {
|
|
11246
|
-
className: styles$
|
|
11251
|
+
className: styles$1u['suffix'],
|
|
11247
11252
|
ref: suffixElement
|
|
11248
11253
|
}, suffix));
|
|
11249
11254
|
};
|
|
@@ -11455,7 +11460,7 @@ const Dropdown = ({
|
|
|
11455
11460
|
paneRef
|
|
11456
11461
|
}
|
|
11457
11462
|
}, triggerIsKnownButton ? React__default.cloneElement(trigger, _extends({}, trigger.props, triggerProps)) : React__default.createElement("button", _extends({}, triggerProps, {
|
|
11458
|
-
className: styles$
|
|
11463
|
+
className: styles$1A['dropdown__trigger'],
|
|
11459
11464
|
ref: updatedRef,
|
|
11460
11465
|
onFocus: handleFocus
|
|
11461
11466
|
}), trigger), React__default.createElement(DropdownPane, {
|
|
@@ -11469,7 +11474,7 @@ const Dropdown = ({
|
|
|
11469
11474
|
}, children));
|
|
11470
11475
|
};
|
|
11471
11476
|
|
|
11472
|
-
var styles$
|
|
11477
|
+
var styles$1t = {"dropdown-list":"_91hvH","dropdown-list__item":"_NrB4V","dropdown-list__item--hover":"_aMs9c"};
|
|
11473
11478
|
|
|
11474
11479
|
const findNextActiveIndex = (items, startAt) => {
|
|
11475
11480
|
let startIndex = 0;
|
|
@@ -11629,20 +11634,38 @@ const updateIconSize = child => {
|
|
|
11629
11634
|
}));
|
|
11630
11635
|
};
|
|
11631
11636
|
|
|
11632
|
-
var styles$
|
|
11637
|
+
var styles$1s = {"dropdown-list-divider":"_ISJ4M"};
|
|
11633
11638
|
|
|
11634
|
-
|
|
11639
|
+
var styles$1r = {"dropdown-list-divider-line":"_GlMQ1"};
|
|
11640
|
+
|
|
11641
|
+
const DropdownListDividerLine = ({
|
|
11635
11642
|
testId
|
|
11636
11643
|
}) => {
|
|
11637
11644
|
return React__default.createElement("div", {
|
|
11638
|
-
className: styles$
|
|
11645
|
+
className: styles$1r['dropdown-list-divider-line'],
|
|
11639
11646
|
"data-testid": testId
|
|
11640
11647
|
});
|
|
11641
11648
|
};
|
|
11642
11649
|
|
|
11643
|
-
|
|
11650
|
+
const DropdownListDivider = ({
|
|
11651
|
+
testId,
|
|
11652
|
+
children,
|
|
11653
|
+
line
|
|
11654
|
+
}) => {
|
|
11655
|
+
if (!children) {
|
|
11656
|
+
return React__default.createElement(DropdownListDividerLine, {
|
|
11657
|
+
testId: testId
|
|
11658
|
+
});
|
|
11659
|
+
}
|
|
11660
|
+
return React__default.createElement(Fragment, null, (line === 'top' || line === 'both') && React__default.createElement(DropdownListDividerLine, null), React__default.createElement("div", {
|
|
11661
|
+
className: classnames(styles$1s['dropdown-list-divider']),
|
|
11662
|
+
"data-testid": testId
|
|
11663
|
+
}, children), (line === 'bottom' || line === 'both') && React__default.createElement(DropdownListDividerLine, null));
|
|
11664
|
+
};
|
|
11665
|
+
|
|
11666
|
+
var styles$1q = {"dropdown-list-item":"_W12mF","dropdown-list-item--selected":"_Zu9cD","dropdown-list-item__content":"_xS6fS","dropdown-list-item__caption":"_7EI7m","dropdown-list-item--disabled":"_0OB5b","dropdown-list-item__prefix":"_dpo67","dropdown-list-item__suffix":"_ObP6B","dropdown-list-item__container":"_IBrNj","dropdown-list-item__link":"_vC0uY","dropdown-list-item__suffix-spot":"_UA23u","dropdown-list-item__suffix-button":"_rvaeI"};
|
|
11644
11667
|
|
|
11645
|
-
var styles$
|
|
11668
|
+
var styles$1p = {"dropdown-submenu":"_X4fIx"};
|
|
11646
11669
|
|
|
11647
11670
|
const DropdownSubmenu = forwardRef(({
|
|
11648
11671
|
children,
|
|
@@ -11662,7 +11685,7 @@ const DropdownSubmenu = forwardRef(({
|
|
|
11662
11685
|
// so no keyboard handler is needed.
|
|
11663
11686
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
11664
11687
|
React__default.createElement("div", {
|
|
11665
|
-
className: styles$
|
|
11688
|
+
className: styles$1p['dropdown-submenu'],
|
|
11666
11689
|
"data-submenu-direction": direction,
|
|
11667
11690
|
style: position || DEFAULT_POSITION,
|
|
11668
11691
|
onMouseEnter: openSubmenu,
|
|
@@ -11855,20 +11878,20 @@ const DropdownListItem = ({
|
|
|
11855
11878
|
onClick && onClick(e);
|
|
11856
11879
|
};
|
|
11857
11880
|
const childrenContainer = React__default.createElement("div", {
|
|
11858
|
-
className: styles$
|
|
11881
|
+
className: styles$1q['dropdown-list-item__container']
|
|
11859
11882
|
}, prefix && React__default.createElement("div", {
|
|
11860
|
-
className: styles$
|
|
11883
|
+
className: styles$1q['dropdown-list-item__prefix']
|
|
11861
11884
|
}, prefix), React__default.createElement("div", {
|
|
11862
|
-
className: styles$
|
|
11885
|
+
className: styles$1q['dropdown-list-item__content']
|
|
11863
11886
|
}, React__default.createElement(Stack, {
|
|
11864
11887
|
space: 0,
|
|
11865
11888
|
flex: [1]
|
|
11866
11889
|
}, children, caption && React__default.createElement("div", {
|
|
11867
|
-
className: styles$
|
|
11890
|
+
className: styles$1q['dropdown-list-item__caption']
|
|
11868
11891
|
}, caption))), (suffix || submenu) && React__default.createElement("div", {
|
|
11869
|
-
className: styles$
|
|
11892
|
+
className: styles$1q['dropdown-list-item__suffix']
|
|
11870
11893
|
}, suffix && _openSubmenuOnSuffixClick && submenu ? React__default.createElement("button", {
|
|
11871
|
-
className: styles$
|
|
11894
|
+
className: styles$1q['dropdown-list-item__suffix-button'],
|
|
11872
11895
|
onClick: e => {
|
|
11873
11896
|
e.preventDefault();
|
|
11874
11897
|
e.stopPropagation();
|
|
@@ -11879,19 +11902,19 @@ const DropdownListItem = ({
|
|
|
11879
11902
|
"aria-label": "Open submenu",
|
|
11880
11903
|
disabled: disabled
|
|
11881
11904
|
}, suffix) : suffix, submenu && !suffix && React__default.createElement("div", {
|
|
11882
|
-
className: styles$
|
|
11905
|
+
className: styles$1q['dropdown-list-item__suffix-spot']
|
|
11883
11906
|
}), submenu && !_openSubmenuOnSuffixClick && React__default.createElement(IconChevronRight, {
|
|
11884
11907
|
size: "small"
|
|
11885
11908
|
})));
|
|
11886
11909
|
const linkItem = href && (_reloadDocument ? React__default.createElement("a", {
|
|
11887
11910
|
href: href,
|
|
11888
|
-
className: styles$
|
|
11911
|
+
className: styles$1q['dropdown-list-item__link'],
|
|
11889
11912
|
target: _target,
|
|
11890
11913
|
tabIndex: -1
|
|
11891
11914
|
}, childrenContainer) : React__default.createElement(Link$1, {
|
|
11892
11915
|
to: href,
|
|
11893
11916
|
target: _target,
|
|
11894
|
-
className: styles$
|
|
11917
|
+
className: styles$1q['dropdown-list-item__link'],
|
|
11895
11918
|
reloadDocument: false,
|
|
11896
11919
|
tabIndex: -1,
|
|
11897
11920
|
"data-testid": testId
|
|
@@ -11899,9 +11922,9 @@ const DropdownListItem = ({
|
|
|
11899
11922
|
return (
|
|
11900
11923
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
11901
11924
|
React__default.createElement("div", {
|
|
11902
|
-
className: classnames(styles$
|
|
11903
|
-
[styles$
|
|
11904
|
-
[styles$
|
|
11925
|
+
className: classnames(styles$1q['dropdown-list-item'], {
|
|
11926
|
+
[styles$1q['dropdown-list-item--selected']]: selected,
|
|
11927
|
+
[styles$1q['dropdown-list-item--disabled']]: disabled
|
|
11905
11928
|
}),
|
|
11906
11929
|
onMouseDown: e => e.preventDefault(),
|
|
11907
11930
|
onClick: handleClick,
|
|
@@ -12044,7 +12067,7 @@ const DropdownList = ({
|
|
|
12044
12067
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
12045
12068
|
}, [highlightItemIndex]);
|
|
12046
12069
|
return React__default.createElement("ul", {
|
|
12047
|
-
className: styles$
|
|
12070
|
+
className: styles$1t['dropdown-list'],
|
|
12048
12071
|
"data-testid": testId,
|
|
12049
12072
|
ref: listRef
|
|
12050
12073
|
}, React__default.Children.toArray(children).filter(Boolean).map((child, index) => {
|
|
@@ -12056,8 +12079,8 @@ const DropdownList = ({
|
|
|
12056
12079
|
const divider = (_items$index2 = items[index]) == null ? void 0 : _items$index2.divider;
|
|
12057
12080
|
return React__default.createElement("li", {
|
|
12058
12081
|
key: index,
|
|
12059
|
-
className: classnames(styles$
|
|
12060
|
-
[styles$
|
|
12082
|
+
className: classnames(styles$1t['dropdown-list__item'], {
|
|
12083
|
+
[styles$1t['dropdown-list__item--hover']]: focusedItem === index && isInteractive
|
|
12061
12084
|
}),
|
|
12062
12085
|
onMouseEnter: divider ? undefined : () => setFocusOnItem(index),
|
|
12063
12086
|
role: divider ? 'separator' : 'menuitem'
|
|
@@ -12081,7 +12104,7 @@ const KebabMenu = ({
|
|
|
12081
12104
|
}, action.label))));
|
|
12082
12105
|
};
|
|
12083
12106
|
|
|
12084
|
-
var styles$
|
|
12107
|
+
var styles$1o = {"card":"_TXXpM","card__body":"_C3waP","card__body--interactive":"_uc-GV","card--focus":"_ft0I1","card__body--focus":"_wx2MU","card__body--disabled":"_TQDZH","card__body--with-kebab":"_kkYit","card__kebab":"_xrEdS","card__kebab--disabled":"_0WiOn","card__close":"_yODES","card__close--disabled":"_Vqf6o"};
|
|
12085
12108
|
|
|
12086
12109
|
const CardContext = createContext({
|
|
12087
12110
|
isCardMounted: false
|
|
@@ -12120,28 +12143,28 @@ const Card = _ref => {
|
|
|
12120
12143
|
isCardMounted: true
|
|
12121
12144
|
}
|
|
12122
12145
|
}, React__default.createElement("div", _extends({
|
|
12123
|
-
className: classnames(styles$
|
|
12146
|
+
className: classnames(styles$1o['card']),
|
|
12124
12147
|
style: positionStyles
|
|
12125
12148
|
}, dataProps), onClick ? React__default.createElement("button", {
|
|
12126
|
-
className: classnames(styles$
|
|
12127
|
-
[styles$
|
|
12128
|
-
[styles$
|
|
12129
|
-
[styles$
|
|
12149
|
+
className: classnames(styles$1o['card__body'], styles$1o['card__body--interactive'], {
|
|
12150
|
+
[styles$1o['card__body--disabled']]: disabled,
|
|
12151
|
+
[styles$1o['card__body--focus']]: isSelected,
|
|
12152
|
+
[styles$1o['card__body--with-kebab']]: actions
|
|
12130
12153
|
}),
|
|
12131
12154
|
"data-testid": testId,
|
|
12132
12155
|
tabIndex: 0,
|
|
12133
12156
|
onClick: onClick,
|
|
12134
12157
|
disabled: disabled
|
|
12135
12158
|
}, children) : React__default.createElement("div", {
|
|
12136
|
-
className: classnames(styles$
|
|
12137
|
-
[styles$
|
|
12138
|
-
[styles$
|
|
12139
|
-
[styles$
|
|
12159
|
+
className: classnames(styles$1o['card__body'], {
|
|
12160
|
+
[styles$1o['card__body--disabled']]: disabled,
|
|
12161
|
+
[styles$1o['card__body--focus']]: isSelected,
|
|
12162
|
+
[styles$1o['card__body--with-kebab']]: actions
|
|
12140
12163
|
}),
|
|
12141
12164
|
"data-testid": testId
|
|
12142
12165
|
}, children), actions && React__default.createElement("div", {
|
|
12143
|
-
className: classnames(styles$
|
|
12144
|
-
[styles$
|
|
12166
|
+
className: classnames(styles$1o['card__kebab'], {
|
|
12167
|
+
[styles$1o['card__kebab--disabled']]: disabled
|
|
12145
12168
|
})
|
|
12146
12169
|
}, React__default.createElement(KebabMenu, {
|
|
12147
12170
|
actions: onClose ? actions.concat({
|
|
@@ -12150,8 +12173,8 @@ const Card = _ref => {
|
|
|
12150
12173
|
onAction: onClose
|
|
12151
12174
|
}) : actions
|
|
12152
12175
|
})), !actions && onClose && React__default.createElement("div", {
|
|
12153
|
-
className: classnames(styles$
|
|
12154
|
-
[styles$
|
|
12176
|
+
className: classnames(styles$1o['card__close'], {
|
|
12177
|
+
[styles$1o['card__close--disabled']]: disabled
|
|
12155
12178
|
})
|
|
12156
12179
|
}, React__default.createElement(Button, {
|
|
12157
12180
|
theme: "link-icon",
|
|
@@ -12159,7 +12182,7 @@ const Card = _ref => {
|
|
|
12159
12182
|
}, React__default.createElement(IconTimes, null)))));
|
|
12160
12183
|
};
|
|
12161
12184
|
|
|
12162
|
-
var styles$
|
|
12185
|
+
var styles$1n = {"callout-card__close":"_VxmQm","callout-card__header":"_3RrQI"};
|
|
12163
12186
|
|
|
12164
12187
|
/**
|
|
12165
12188
|
* @deprecated Use `<EmptyState as='card' />` instead
|
|
@@ -12180,7 +12203,7 @@ const CalloutCard = ({
|
|
|
12180
12203
|
}, React__default.createElement(Stack, {
|
|
12181
12204
|
space: 12
|
|
12182
12205
|
}, React__default.createElement("div", {
|
|
12183
|
-
className: styles$
|
|
12206
|
+
className: styles$1n['callout-card__header']
|
|
12184
12207
|
}, React__default.createElement(Text, {
|
|
12185
12208
|
as: "body",
|
|
12186
12209
|
color: "primary-color"
|
|
@@ -12195,7 +12218,7 @@ const CalloutCard = ({
|
|
|
12195
12218
|
alt: String(title) + String(header),
|
|
12196
12219
|
width: "354px"
|
|
12197
12220
|
})), onClose && React__default.createElement("div", {
|
|
12198
|
-
className: styles$
|
|
12221
|
+
className: styles$1n['callout-card__close']
|
|
12199
12222
|
}, React__default.createElement(Button, {
|
|
12200
12223
|
theme: "link-icon",
|
|
12201
12224
|
onClick: onClose
|
|
@@ -12214,7 +12237,7 @@ const Breadcrumbs = ({
|
|
|
12214
12237
|
}, children);
|
|
12215
12238
|
};
|
|
12216
12239
|
|
|
12217
|
-
var styles$
|
|
12240
|
+
var styles$1m = {"breadcrumb-item":"_fo7-A"};
|
|
12218
12241
|
|
|
12219
12242
|
const BreadcrumbItem = ({
|
|
12220
12243
|
href,
|
|
@@ -12228,25 +12251,25 @@ const BreadcrumbItem = ({
|
|
|
12228
12251
|
// This is neessary to support older versions of react-router-dom
|
|
12229
12252
|
return _reloadDocument ? React__default.createElement("a", {
|
|
12230
12253
|
href: href,
|
|
12231
|
-
className: styles$
|
|
12254
|
+
className: styles$1m['breadcrumb-item'],
|
|
12232
12255
|
"data-testid": testId
|
|
12233
12256
|
}, content) : React__default.createElement(Link$1, {
|
|
12234
12257
|
to: href,
|
|
12235
|
-
className: styles$
|
|
12258
|
+
className: styles$1m['breadcrumb-item'],
|
|
12236
12259
|
relative: "path",
|
|
12237
12260
|
reloadDocument: _reloadDocument,
|
|
12238
12261
|
"data-testid": testId
|
|
12239
12262
|
}, content);
|
|
12240
12263
|
};
|
|
12241
12264
|
|
|
12242
|
-
var styles$
|
|
12265
|
+
var styles$1l = {"page-breadcrumbs":"_QjIgc"};
|
|
12243
12266
|
|
|
12244
12267
|
const PageBreadcrumbs = ({
|
|
12245
12268
|
breadcrumbs
|
|
12246
12269
|
}) => {
|
|
12247
12270
|
const items = getBreadbrumbItems(breadcrumbs);
|
|
12248
12271
|
return React__default.createElement("div", {
|
|
12249
|
-
className: styles$
|
|
12272
|
+
className: styles$1l['page-breadcrumbs']
|
|
12250
12273
|
}, React__default.createElement(Breadcrumbs, null, items));
|
|
12251
12274
|
};
|
|
12252
12275
|
const getBreadbrumbItems = breadcrumbs => {
|
|
@@ -12266,7 +12289,7 @@ const getBreadbrumbItems = breadcrumbs => {
|
|
|
12266
12289
|
}, breadcrumbs.label);
|
|
12267
12290
|
};
|
|
12268
12291
|
|
|
12269
|
-
var styles$
|
|
12292
|
+
var styles$1k = {"page":"_QB6yF","page--fullwidth":"_g7MTf","page--restricted":"_LRq4j"};
|
|
12270
12293
|
|
|
12271
12294
|
const PAGE_SIZES = {
|
|
12272
12295
|
FULL_WIDTH: 'fullwidth',
|
|
@@ -12290,9 +12313,9 @@ const Page = ({
|
|
|
12290
12313
|
const hasHeader = title || actions;
|
|
12291
12314
|
const hasPageBlocks = hasHeader || banner || filterBar;
|
|
12292
12315
|
return React__default.createElement("div", {
|
|
12293
|
-
className: classnames(styles$
|
|
12294
|
-
[styles$
|
|
12295
|
-
[styles$
|
|
12316
|
+
className: classnames(styles$1k['page'], {
|
|
12317
|
+
[styles$1k['page--restricted']]: _size === PAGE_SIZES.RESTRICTED,
|
|
12318
|
+
[styles$1k['page--fullwidth']]: _size === PAGE_SIZES.FULL_WIDTH
|
|
12296
12319
|
}),
|
|
12297
12320
|
"data-testid": testId
|
|
12298
12321
|
}, React__default.createElement(Stack, {
|
|
@@ -12313,15 +12336,15 @@ const Page = ({
|
|
|
12313
12336
|
}, title), actions), subtitle && React__default.createElement(Text, null, subtitle)), banner, filterBar)), children));
|
|
12314
12337
|
};
|
|
12315
12338
|
|
|
12316
|
-
var styles$
|
|
12339
|
+
var styles$1j = {"page-layout":"_Scw7-","page-layout__nav-container":"_v--DF","page-layout__nav-list":"_dJeZe","page-layout__content":"_hHi70","page-layout__side-nav-content":"_vTMjp"};
|
|
12317
12340
|
|
|
12318
|
-
var styles$
|
|
12341
|
+
var styles$1i = {"menu-item":"_SebbU","menu-item--active":"_CDEVl","menu-item--with-badge":"_VudDE","menu-item__badge":"_vErBS"};
|
|
12319
12342
|
|
|
12320
|
-
var styles$
|
|
12343
|
+
var styles$1h = {"badge":"_RXV4h","badge--warning":"_2An1I","badge--danger":"_-Bw8L","badge--success":"_RxlMz","badge--info":"_dzCH-","badge--numeric":"_Ix9tP"};
|
|
12321
12344
|
|
|
12322
|
-
var styles$
|
|
12345
|
+
var styles$1g = {"overlay":"_0yTe8","overlay--after-open":"_yJBtA","overlay--before-close":"_iWogn","content":"_ntozd","content--after-open":"_EQjDq","content--before-close":"_ZTY3B","overlay--draggable":"_6SSP8","content--draggable":"_5rHXj","draggable-inner":"_cq2CU"};
|
|
12323
12346
|
|
|
12324
|
-
var styles$
|
|
12347
|
+
var styles$1f = {"header":"_tgpG9","header__close-button":"_b1dgU","sub-header":"_c2nm4"};
|
|
12325
12348
|
|
|
12326
12349
|
const ModalHeader = ({
|
|
12327
12350
|
header,
|
|
@@ -12331,7 +12354,7 @@ const ModalHeader = ({
|
|
|
12331
12354
|
}) => {
|
|
12332
12355
|
if (!header && !subHeader) {
|
|
12333
12356
|
return onClose ? React__default.createElement("div", {
|
|
12334
|
-
className: styles$
|
|
12357
|
+
className: styles$1f['header__close-button']
|
|
12335
12358
|
}, React__default.createElement(Button, {
|
|
12336
12359
|
theme: "link-icon",
|
|
12337
12360
|
onClick: onClose,
|
|
@@ -12347,25 +12370,112 @@ const ModalHeader = ({
|
|
|
12347
12370
|
flex: [1],
|
|
12348
12371
|
alignItems: "center"
|
|
12349
12372
|
}, React__default.createElement("span", {
|
|
12350
|
-
className: styles$
|
|
12373
|
+
className: styles$1f['header']
|
|
12351
12374
|
}, header), onClose && React__default.createElement(Button, {
|
|
12352
12375
|
theme: "link-icon",
|
|
12353
12376
|
onClick: onClose,
|
|
12354
12377
|
disabled: loading
|
|
12355
12378
|
}, React__default.createElement(IconTimes, null))), subHeader && React__default.createElement("div", {
|
|
12356
|
-
className: styles$
|
|
12379
|
+
className: styles$1f['sub-header']
|
|
12357
12380
|
}, subHeader));
|
|
12358
12381
|
};
|
|
12359
12382
|
|
|
12360
12383
|
const ModalContext = createContext({
|
|
12361
|
-
isModalMounted: false
|
|
12384
|
+
isModalMounted: false,
|
|
12385
|
+
draggable: false
|
|
12362
12386
|
});
|
|
12363
12387
|
const useModalContext = () => {
|
|
12364
12388
|
const context = useContext(ModalContext);
|
|
12365
12389
|
return context || {};
|
|
12366
12390
|
};
|
|
12367
12391
|
|
|
12368
|
-
const
|
|
12392
|
+
const DEFAULT_WIDTH = 566;
|
|
12393
|
+
const DEFAULT_HEIGHT = 266;
|
|
12394
|
+
/**
|
|
12395
|
+
* Encapsulates the ref, initial positioning, and viewport-aware bounds for a
|
|
12396
|
+
* draggable modal. Pass the returned values to <Draggable> and the ReactModal
|
|
12397
|
+
* style.content object.
|
|
12398
|
+
*
|
|
12399
|
+
* Bounds are expressed as pixel offsets from the element's rendered position
|
|
12400
|
+
* (react-draggable v4.7+ no longer accepts "window" as a string shorthand).
|
|
12401
|
+
*
|
|
12402
|
+
* Initial bounds are estimated from the numeric width/height props (falling
|
|
12403
|
+
* back to the CSS min-width/min-height defaults). After mount, the element is
|
|
12404
|
+
* measured and bounds are corrected to the actual rendered dimensions so the
|
|
12405
|
+
* modal cannot be dragged outside the viewport even when width/height are CSS
|
|
12406
|
+
* strings or the content exceeds the fallback height.
|
|
12407
|
+
*/
|
|
12408
|
+
function useDraggableModal({
|
|
12409
|
+
width,
|
|
12410
|
+
height,
|
|
12411
|
+
initialPosition
|
|
12412
|
+
}) {
|
|
12413
|
+
var _initialPosition$top, _initialPosition$left;
|
|
12414
|
+
const nodeRef = useRef(null);
|
|
12415
|
+
const resolvedWidth = typeof width === 'number' ? width : DEFAULT_WIDTH;
|
|
12416
|
+
const resolvedHeight = typeof height === 'number' ? height : DEFAULT_HEIGHT;
|
|
12417
|
+
// Initialise from resolved props; corrected after mount with real pixel dimensions.
|
|
12418
|
+
const [measuredWidth, setMeasuredWidth] = useState(resolvedWidth);
|
|
12419
|
+
const [measuredHeight, setMeasuredHeight] = useState(resolvedHeight);
|
|
12420
|
+
// Track the DOM node via state so the measurement effect can depend on it.
|
|
12421
|
+
// A plain useEffect([], []) misses two cases: (a) the node mounting later
|
|
12422
|
+
// because `draggable` was false on first render, and (b) the element
|
|
12423
|
+
// resizing after mount due to dynamic content.
|
|
12424
|
+
const [node, setNode] = useState(null);
|
|
12425
|
+
// callbackRef: pass as the inner div's `ref`. It keeps nodeRef.current in
|
|
12426
|
+
// sync for react-draggable and triggers the measurement effect whenever the
|
|
12427
|
+
// element mounts or unmounts.
|
|
12428
|
+
const callbackRef = useCallback(el => {
|
|
12429
|
+
nodeRef.current = el;
|
|
12430
|
+
setNode(el);
|
|
12431
|
+
}, []);
|
|
12432
|
+
useEffect(() => {
|
|
12433
|
+
if (!node) return;
|
|
12434
|
+
const measure = () => {
|
|
12435
|
+
const w = node.offsetWidth;
|
|
12436
|
+
const h = node.offsetHeight;
|
|
12437
|
+
// offsetWidth/offsetHeight are 0 in SSR/jsdom — keep fallback values.
|
|
12438
|
+
if (w === 0) return;
|
|
12439
|
+
setMeasuredWidth(w);
|
|
12440
|
+
setMeasuredHeight(h);
|
|
12441
|
+
};
|
|
12442
|
+
measure(); // initial measurement when node first becomes available
|
|
12443
|
+
// ResizeObserver keeps bounds accurate as content grows or shrinks.
|
|
12444
|
+
if (typeof ResizeObserver === 'undefined') return;
|
|
12445
|
+
const observer = new ResizeObserver(measure);
|
|
12446
|
+
observer.observe(node);
|
|
12447
|
+
return () => observer.disconnect();
|
|
12448
|
+
}, [node]);
|
|
12449
|
+
const top = (_initialPosition$top = initialPosition == null ? void 0 : initialPosition.top) != null ? _initialPosition$top : typeof window !== 'undefined' ? Math.round(window.innerHeight * 0.25) : 0;
|
|
12450
|
+
const left = (_initialPosition$left = initialPosition == null ? void 0 : initialPosition.left) != null ? _initialPosition$left : typeof window !== 'undefined' ? Math.round((window.innerWidth - resolvedWidth) / 2) : 0;
|
|
12451
|
+
const bounds = typeof window !== 'undefined' ? {
|
|
12452
|
+
left: -left,
|
|
12453
|
+
top: -top,
|
|
12454
|
+
right: window.innerWidth - left - measuredWidth,
|
|
12455
|
+
bottom: window.innerHeight - top - measuredHeight
|
|
12456
|
+
} : {
|
|
12457
|
+
left: 0,
|
|
12458
|
+
top: 0,
|
|
12459
|
+
right: 9999,
|
|
12460
|
+
bottom: 9999
|
|
12461
|
+
};
|
|
12462
|
+
return {
|
|
12463
|
+
nodeRef,
|
|
12464
|
+
callbackRef,
|
|
12465
|
+
contentPosition: {
|
|
12466
|
+
top,
|
|
12467
|
+
left
|
|
12468
|
+
},
|
|
12469
|
+
bounds
|
|
12470
|
+
};
|
|
12471
|
+
}
|
|
12472
|
+
|
|
12473
|
+
const _excluded$bk = ["children", "header", "subHeader", "onClose", "loading", "zIndex", "rootElementId", "width", "height", "maxWidth", "shouldReturnFocusAfterClose", "testId", "draggable", "initialPosition"];
|
|
12474
|
+
// react-draggable declares `props: DraggableProps` on the class instance, overriding
|
|
12475
|
+
// the `React.Component<Partial<DraggableProps>>` generic. This cast restores the
|
|
12476
|
+
// intended partial-props behaviour for JSX usage.
|
|
12477
|
+
const Draggable = DraggableLib;
|
|
12478
|
+
const DRAG_HANDLE_CLASS = 'modal-drag-handle';
|
|
12369
12479
|
/**
|
|
12370
12480
|
* Modal is a focused overlay that interrupts the current experience and demands the user's attention. It blocks all interaction with the rest of the page until the user responds — making it best suited for decisions, confirmations, and self-contained flows where that level of focus is warranted.
|
|
12371
12481
|
*/
|
|
@@ -12383,18 +12493,38 @@ const Modal = _ref => {
|
|
|
12383
12493
|
height,
|
|
12384
12494
|
maxWidth,
|
|
12385
12495
|
shouldReturnFocusAfterClose = true,
|
|
12386
|
-
testId
|
|
12496
|
+
testId,
|
|
12497
|
+
draggable = false,
|
|
12498
|
+
initialPosition
|
|
12387
12499
|
} = _ref,
|
|
12388
12500
|
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded$bk);
|
|
12501
|
+
const {
|
|
12502
|
+
nodeRef: draggableNodeRef,
|
|
12503
|
+
callbackRef: draggableCallbackRef,
|
|
12504
|
+
contentPosition,
|
|
12505
|
+
bounds: draggableBounds
|
|
12506
|
+
} = useDraggableModal({
|
|
12507
|
+
width,
|
|
12508
|
+
height,
|
|
12509
|
+
initialPosition
|
|
12510
|
+
});
|
|
12389
12511
|
const style = {
|
|
12390
|
-
content
|
|
12512
|
+
// When draggable, top/left position the fixed content div directly so
|
|
12513
|
+
// react-draggable can measure the element's real viewport position for bounds.
|
|
12514
|
+
content: draggable ? _extends({}, contentPosition, {
|
|
12515
|
+
width,
|
|
12516
|
+
height,
|
|
12517
|
+
maxWidth
|
|
12518
|
+
}) : {
|
|
12391
12519
|
width,
|
|
12392
12520
|
height,
|
|
12393
12521
|
maxWidth
|
|
12394
12522
|
},
|
|
12395
|
-
overlay: {
|
|
12523
|
+
overlay: _extends({
|
|
12396
12524
|
zIndex: getZIndex(zIndex)
|
|
12397
|
-
}
|
|
12525
|
+
}, draggable && {
|
|
12526
|
+
pointerEvents: 'none'
|
|
12527
|
+
})
|
|
12398
12528
|
};
|
|
12399
12529
|
// The `ReactModal` library already adds the `data-*` preffix, so I need to remove it from the `getDataProps`
|
|
12400
12530
|
const {
|
|
@@ -12402,6 +12532,24 @@ const Modal = _ref => {
|
|
|
12402
12532
|
} = getDataProps(otherProps, {
|
|
12403
12533
|
removeDataPrefix: true
|
|
12404
12534
|
});
|
|
12535
|
+
const modalContent = React__default.createElement(Fragment, null, draggable ? React__default.createElement("div", {
|
|
12536
|
+
className: DRAG_HANDLE_CLASS
|
|
12537
|
+
}, React__default.createElement(ModalHeader, {
|
|
12538
|
+
header: header,
|
|
12539
|
+
subHeader: subHeader,
|
|
12540
|
+
onClose: onClose,
|
|
12541
|
+
loading: loading
|
|
12542
|
+
})) : React__default.createElement(ModalHeader, {
|
|
12543
|
+
header: header,
|
|
12544
|
+
subHeader: subHeader,
|
|
12545
|
+
onClose: onClose,
|
|
12546
|
+
loading: loading
|
|
12547
|
+
}), React__default.createElement(ModalContext.Provider, {
|
|
12548
|
+
value: {
|
|
12549
|
+
isModalMounted: true,
|
|
12550
|
+
draggable
|
|
12551
|
+
}
|
|
12552
|
+
}, children));
|
|
12405
12553
|
return React__default.createElement(ReactModal, {
|
|
12406
12554
|
isOpen: true,
|
|
12407
12555
|
testId: testId,
|
|
@@ -12414,26 +12562,29 @@ const Modal = _ref => {
|
|
|
12414
12562
|
contentLabel: "Modal",
|
|
12415
12563
|
appElement: rootElementId && document.getElementById(rootElementId) || undefined,
|
|
12416
12564
|
overlayClassName: {
|
|
12417
|
-
base: styles$
|
|
12418
|
-
afterOpen: styles$
|
|
12419
|
-
beforeClose: styles$
|
|
12565
|
+
base: classnames(styles$1g['overlay'], draggable && styles$1g['overlay--draggable']),
|
|
12566
|
+
afterOpen: styles$1g['overlay--after-open'],
|
|
12567
|
+
beforeClose: styles$1g['overlay--before-close']
|
|
12420
12568
|
},
|
|
12421
12569
|
className: {
|
|
12422
|
-
base: styles$
|
|
12423
|
-
afterOpen: styles$
|
|
12424
|
-
beforeClose: styles$
|
|
12570
|
+
base: classnames(styles$1g['content'], draggable && styles$1g['content--draggable']),
|
|
12571
|
+
afterOpen: styles$1g['content--after-open'],
|
|
12572
|
+
beforeClose: styles$1g['content--before-close']
|
|
12425
12573
|
},
|
|
12426
12574
|
data: dataProps
|
|
12427
|
-
}, React__default.createElement(
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12575
|
+
}, draggable ? React__default.createElement(Draggable, {
|
|
12576
|
+
nodeRef: draggableNodeRef,
|
|
12577
|
+
handle: `.${DRAG_HANDLE_CLASS}`,
|
|
12578
|
+
bounds: draggableBounds
|
|
12579
|
+
}, React__default.createElement("div", {
|
|
12580
|
+
ref: draggableCallbackRef,
|
|
12581
|
+
className: styles$1g['draggable-inner'],
|
|
12582
|
+
style: {
|
|
12583
|
+
width,
|
|
12584
|
+
height,
|
|
12585
|
+
maxWidth
|
|
12435
12586
|
}
|
|
12436
|
-
},
|
|
12587
|
+
}, modalContent)) : modalContent);
|
|
12437
12588
|
};
|
|
12438
12589
|
// The user can set the main app root id so when the modal is open it only allows iteracting with the modal when pressing tab
|
|
12439
12590
|
Modal.setAppElement = rootElement => {
|
|
@@ -12463,7 +12614,7 @@ const useScrollShadow = () => {
|
|
|
12463
12614
|
};
|
|
12464
12615
|
};
|
|
12465
12616
|
|
|
12466
|
-
var styles$
|
|
12617
|
+
var styles$1e = {"modal-body":"_4YK4k","modal-body--with-scroll-shadow":"_wo1vv","modal-body__inner-div":"_9u6xC"};
|
|
12467
12618
|
|
|
12468
12619
|
const ModalBody = ({
|
|
12469
12620
|
children,
|
|
@@ -12474,17 +12625,17 @@ const ModalBody = ({
|
|
|
12474
12625
|
showScrollShadow
|
|
12475
12626
|
} = useScrollShadow();
|
|
12476
12627
|
return React__default.createElement("div", {
|
|
12477
|
-
className: classnames(styles$
|
|
12478
|
-
[styles$
|
|
12628
|
+
className: classnames(styles$1e['modal-body'], {
|
|
12629
|
+
[styles$1e['modal-body--with-scroll-shadow']]: showScrollShadow
|
|
12479
12630
|
}),
|
|
12480
12631
|
ref: ref,
|
|
12481
12632
|
"data-testid": testId
|
|
12482
12633
|
}, React__default.createElement("div", {
|
|
12483
|
-
className: styles$
|
|
12634
|
+
className: styles$1e['modal-body__inner-div']
|
|
12484
12635
|
}, children));
|
|
12485
12636
|
};
|
|
12486
12637
|
|
|
12487
|
-
var styles$
|
|
12638
|
+
var styles$1d = {"modal-footer":"_bezlP","tertiary-container":"_EdqHx"};
|
|
12488
12639
|
|
|
12489
12640
|
const updateButtonProps$1 = (button, newProps) => {
|
|
12490
12641
|
if (!button) {
|
|
@@ -12528,7 +12679,7 @@ const ModalFooter = ({
|
|
|
12528
12679
|
justifyContent: "space-between"
|
|
12529
12680
|
}, React__default.createElement("div", {
|
|
12530
12681
|
className: classnames({
|
|
12531
|
-
[styles$
|
|
12682
|
+
[styles$1d['tertiary-container']]: tertiaryButton && tertiaryButton.props.theme.startsWith('link')
|
|
12532
12683
|
})
|
|
12533
12684
|
}, tertiaryButton || React__default.createElement("div", null)), React__default.createElement(Inline, {
|
|
12534
12685
|
space: 12
|
|
@@ -12546,7 +12697,7 @@ const FooterContainer = ({
|
|
|
12546
12697
|
displayName: 'Inline'
|
|
12547
12698
|
});
|
|
12548
12699
|
return React__default.createElement("div", {
|
|
12549
|
-
className: styles$
|
|
12700
|
+
className: styles$1d['modal-footer'],
|
|
12550
12701
|
"data-testid": testId
|
|
12551
12702
|
}, React__default.createElement(Inline, {
|
|
12552
12703
|
justifyContent: "end",
|
|
@@ -12559,7 +12710,7 @@ var dayOverridesStyles = {"root":"_et9Fs","table":"_l7Mis","caption":"_XGu8K","h
|
|
|
12559
12710
|
|
|
12560
12711
|
var weekOverridesStyles = {"root":"_QLSA6","table":"_96jgF","caption":"_4ySMr","head_cell":"_2AoB4","day_today":"_Snv-V","day_outside":"_Zf-6C","nav_button":"_iOY4h","day_range_middle":"_e0lOH","day_range_start":"_4N7l-","day_range_end":"_fMjHG","row":"_GqE-5"};
|
|
12561
12712
|
|
|
12562
|
-
var styles$
|
|
12713
|
+
var styles$1c = {"calendar":"_YPyZ6","calendar__overlay":"_-cw0A"};
|
|
12563
12714
|
|
|
12564
12715
|
function parseDate(str, format, locale) {
|
|
12565
12716
|
const parsed = dateFnsParse(str, format, new Date(), {
|
|
@@ -12691,7 +12842,7 @@ const getHighlightModifiers = groups => {
|
|
|
12691
12842
|
});
|
|
12692
12843
|
};
|
|
12693
12844
|
|
|
12694
|
-
var styles$
|
|
12845
|
+
var styles$1b = {"day_highlight":"_ucr9m","theme-success":"_mLAwT","theme-danger":"_Uji-g","theme-warning":"_pe9ss","theme-info":"_OfzGg","theme-upsell":"_Pywaj","theme-neutral":"_5WRkx","shape-circle":"_0LzN8","legendShape":"_N-Dl4","shape-circle-dashed":"_eCqCU","shape-square":"_-pO-1","shape-square-dashed":"_7PoYh","shape-octagon":"_ywc-V","shape-star":"_vF4Ka","legend":"_iB2Db","legendItem":"_YauE7","legendLabel":"_lMmc7"};
|
|
12695
12846
|
|
|
12696
12847
|
const calculateCalendarPosition = (placement, anchorPosition, calendarDimensions) => {
|
|
12697
12848
|
if (!calendarDimensions) {
|
|
@@ -12765,7 +12916,7 @@ const buildHighlightDayPickerProps = highlightedDays => {
|
|
|
12765
12916
|
theme
|
|
12766
12917
|
}) => {
|
|
12767
12918
|
modifiers[key] = matcher;
|
|
12768
|
-
modifiersClassNames[key] = classnames(styles$
|
|
12919
|
+
modifiersClassNames[key] = classnames(styles$1b.day_highlight, styles$1b[`shape-${shape}`], styles$1b[`theme-${theme}`]);
|
|
12769
12920
|
});
|
|
12770
12921
|
return {
|
|
12771
12922
|
modifiers,
|
|
@@ -12774,7 +12925,7 @@ const buildHighlightDayPickerProps = highlightedDays => {
|
|
|
12774
12925
|
};
|
|
12775
12926
|
};
|
|
12776
12927
|
|
|
12777
|
-
var styles$
|
|
12928
|
+
var styles$1a = {"calendar-highlights":"_TjAon","calendar-highlights__item":"_BbYmq","calendar-highlights__shape":"_utSi-","calendar-highlights__shape--square":"_mP9vd","calendar-highlights__shape--circle":"_6zlZT"};
|
|
12778
12929
|
|
|
12779
12930
|
/** Legend rendered beneath a calendar, one row item per highlight group. */
|
|
12780
12931
|
const CalendarHighlights = ({
|
|
@@ -12784,7 +12935,7 @@ const CalendarHighlights = ({
|
|
|
12784
12935
|
return null;
|
|
12785
12936
|
}
|
|
12786
12937
|
return React__default.createElement("div", {
|
|
12787
|
-
className: styles$
|
|
12938
|
+
className: styles$1a['calendar-highlights']
|
|
12788
12939
|
}, React__default.createElement(Inline, {
|
|
12789
12940
|
flexWrap: "wrap",
|
|
12790
12941
|
space: {
|
|
@@ -12799,7 +12950,7 @@ const CalendarHighlights = ({
|
|
|
12799
12950
|
theme
|
|
12800
12951
|
}) => React__default.createElement("div", {
|
|
12801
12952
|
key: label,
|
|
12802
|
-
className: styles$
|
|
12953
|
+
className: styles$1a['calendar-highlights__item']
|
|
12803
12954
|
}, React__default.createElement(Shape, {
|
|
12804
12955
|
shape: shape,
|
|
12805
12956
|
theme: theme
|
|
@@ -12812,45 +12963,45 @@ const Shape = ({
|
|
|
12812
12963
|
switch (shape) {
|
|
12813
12964
|
case 'square':
|
|
12814
12965
|
return React__default.createElement("div", {
|
|
12815
|
-
className: classnames(styles$
|
|
12966
|
+
className: classnames(styles$1a['calendar-highlights__shape'], styles$1a['calendar-highlights__shape--square']),
|
|
12816
12967
|
style: {
|
|
12817
12968
|
borderColor: COLORS[`${theme}-color`]
|
|
12818
12969
|
}
|
|
12819
12970
|
});
|
|
12820
12971
|
case 'square-dashed':
|
|
12821
12972
|
return React__default.createElement("div", {
|
|
12822
|
-
className: styles$
|
|
12973
|
+
className: styles$1a['calendar-highlights__shape']
|
|
12823
12974
|
}, React__default.createElement(SquareDashedShape, {
|
|
12824
12975
|
theme: theme
|
|
12825
12976
|
}));
|
|
12826
12977
|
case 'circle':
|
|
12827
12978
|
return React__default.createElement("div", {
|
|
12828
|
-
className: classnames(styles$
|
|
12979
|
+
className: classnames(styles$1a['calendar-highlights__shape'], styles$1a['calendar-highlights__shape--circle']),
|
|
12829
12980
|
style: {
|
|
12830
12981
|
borderColor: COLORS[`${theme}-color`]
|
|
12831
12982
|
}
|
|
12832
12983
|
});
|
|
12833
12984
|
case 'circle-dashed':
|
|
12834
12985
|
return React__default.createElement("div", {
|
|
12835
|
-
className: `${styles$
|
|
12986
|
+
className: `${styles$1a['calendar-highlights__shape']}`
|
|
12836
12987
|
}, React__default.createElement(CircleDashedShape, {
|
|
12837
12988
|
theme: theme
|
|
12838
12989
|
}));
|
|
12839
12990
|
case 'octagon':
|
|
12840
12991
|
return React__default.createElement("div", {
|
|
12841
|
-
className: `${styles$
|
|
12992
|
+
className: `${styles$1a['calendar-highlights__shape']}`
|
|
12842
12993
|
}, React__default.createElement(OctagonShape, {
|
|
12843
12994
|
theme: theme
|
|
12844
12995
|
}));
|
|
12845
12996
|
case 'star':
|
|
12846
12997
|
return React__default.createElement("div", {
|
|
12847
|
-
className: `${styles$
|
|
12998
|
+
className: `${styles$1a['calendar-highlights__shape']}`
|
|
12848
12999
|
}, React__default.createElement(StarShape, {
|
|
12849
13000
|
theme: theme
|
|
12850
13001
|
}));
|
|
12851
13002
|
default:
|
|
12852
13003
|
return React__default.createElement("div", {
|
|
12853
|
-
className: styles$
|
|
13004
|
+
className: styles$1a['calendar-highlight__shape']
|
|
12854
13005
|
}, shape);
|
|
12855
13006
|
}
|
|
12856
13007
|
};
|
|
@@ -13072,9 +13223,9 @@ const Calendar = ({
|
|
|
13072
13223
|
}
|
|
13073
13224
|
};
|
|
13074
13225
|
return React__default.createElement(Portal, null, React__default.createElement("div", {
|
|
13075
|
-
className: styles$
|
|
13226
|
+
className: styles$1c['calendar']
|
|
13076
13227
|
}, React__default.createElement("div", {
|
|
13077
|
-
className: styles$
|
|
13228
|
+
className: styles$1c['calendar__overlay'],
|
|
13078
13229
|
ref: ref => setCalendarRef(ref),
|
|
13079
13230
|
style: _extends({}, calendarPosition, {
|
|
13080
13231
|
zIndex: isInsideDropdown ? getZIndex('dropdown-level-2') : getZIndex('dropdown')
|
|
@@ -13134,7 +13285,7 @@ const useCheckBoxFieldControllers = ({
|
|
|
13134
13285
|
return controllers;
|
|
13135
13286
|
};
|
|
13136
13287
|
|
|
13137
|
-
var styles$
|
|
13288
|
+
var styles$19 = {"check-box-field":"_Id4qm","check-box-field__caption":"_s9d-m","check-box-field__custom-input":"_kmvBP"};
|
|
13138
13289
|
|
|
13139
13290
|
const _excluded$bj = ["name", "id", "checked", "indeterminate", "onChange", "onBlur", "label", "caption", "error", "disabled", "testId"];
|
|
13140
13291
|
/** A simple check box with an option beside it. Allows the user to confirm a statement or enable an option with a simple boolean action. Use for things like agreeing to terms, or enabling one or more options in a list (where multiple selections are allowed). */
|
|
@@ -13170,7 +13321,7 @@ const CheckboxField = _ref => {
|
|
|
13170
13321
|
flexItems: true,
|
|
13171
13322
|
flex: ['0 0 auto']
|
|
13172
13323
|
}, otherProps), React__default.createElement("div", {
|
|
13173
|
-
className: styles$
|
|
13324
|
+
className: styles$19['check-box-field']
|
|
13174
13325
|
}, React__default.createElement("input", {
|
|
13175
13326
|
name: name,
|
|
13176
13327
|
id: controllers.id,
|
|
@@ -13184,12 +13335,12 @@ const CheckboxField = _ref => {
|
|
|
13184
13335
|
onChange: controllers.onChange,
|
|
13185
13336
|
onBlur: controllers.onBlur
|
|
13186
13337
|
}), React__default.createElement("span", {
|
|
13187
|
-
className: styles$
|
|
13338
|
+
className: styles$19['check-box-field__custom-input']
|
|
13188
13339
|
})), label && React__default.createElement(Label, {
|
|
13189
13340
|
htmlFor: controllers.id,
|
|
13190
13341
|
truncate: false
|
|
13191
13342
|
}, label)), caption && React__default.createElement("div", {
|
|
13192
|
-
className: styles$
|
|
13343
|
+
className: styles$19['check-box-field__caption']
|
|
13193
13344
|
}, React__default.createElement(Caption, {
|
|
13194
13345
|
fieldId: controllers.id
|
|
13195
13346
|
}, caption)), controllers.error && React__default.createElement(ErrorMessage, {
|
|
@@ -13227,9 +13378,9 @@ const useLocalStorage = (key, initialValue) => {
|
|
|
13227
13378
|
return [storedValue, setValue];
|
|
13228
13379
|
};
|
|
13229
13380
|
|
|
13230
|
-
var styles$
|
|
13381
|
+
var styles$18 = {"hint-modal":"_NwD6V","hint-modal--after-open":"_4ofZb","hint-modal--before-close":"_hGoMD","hint-modal__overlay":"_iK5zl","hint-modal__image":"_V9hLa","hint-modal__body":"_oOqUg","hint-modal__close-button":"_5zcBK"};
|
|
13231
13382
|
|
|
13232
|
-
const _excluded$bi = ["header", "children", "mediaUrl", "onClose", "modalId", "primaryButton", "secondaryButton", "testId", "onSetDoNotShowAgainStatus"];
|
|
13383
|
+
const _excluded$bi = ["header", "children", "mediaUrl", "onClose", "modalId", "primaryButton", "secondaryButton", "testId", "onSetDoNotShowAgainStatus", "hideDoNotShowAgainCheckbox"];
|
|
13233
13384
|
/**
|
|
13234
13385
|
* Hint Modal is a lightweight modal used to surface tips, guidance, or onboarding callouts to users the first time they encounter a feature or page. Unlike a regular Modal, it is not triggered by a user action — it appears automatically when the user navigates somewhere that warrants a guided introduction. It includes a "Don't show this again" option so users can dismiss it permanently once they've absorbed the information.
|
|
13235
13386
|
*/
|
|
@@ -13243,13 +13394,19 @@ const HintModal = _ref => {
|
|
|
13243
13394
|
primaryButton,
|
|
13244
13395
|
secondaryButton,
|
|
13245
13396
|
testId,
|
|
13246
|
-
onSetDoNotShowAgainStatus
|
|
13397
|
+
onSetDoNotShowAgainStatus,
|
|
13398
|
+
hideDoNotShowAgainCheckbox = false
|
|
13247
13399
|
} = _ref,
|
|
13248
13400
|
positionProps = _objectWithoutPropertiesLoose(_ref, _excluded$bi);
|
|
13249
13401
|
const __ = useTranslation('HintModal');
|
|
13250
13402
|
const [doNotShowAgain, setDoNotShowAgain] = useState(false);
|
|
13251
13403
|
const [persistedDoNotShow, setPersistedDoNotShow] = useLocalStorage(modalId, false);
|
|
13252
13404
|
const persistDoNotShowAgain = value => {
|
|
13405
|
+
// Without the checkbox the user was never offered the choice, so there
|
|
13406
|
+
// is no preference to store or report.
|
|
13407
|
+
if (hideDoNotShowAgainCheckbox) {
|
|
13408
|
+
return;
|
|
13409
|
+
}
|
|
13253
13410
|
setPersistedDoNotShow(value);
|
|
13254
13411
|
if (onSetDoNotShowAgainStatus) {
|
|
13255
13412
|
onSetDoNotShowAgainStatus(value);
|
|
@@ -13293,22 +13450,22 @@ const HintModal = _ref => {
|
|
|
13293
13450
|
closeTimeoutMS: 200,
|
|
13294
13451
|
contentLabel: "Modal",
|
|
13295
13452
|
className: {
|
|
13296
|
-
base: styles$
|
|
13297
|
-
afterOpen: styles$
|
|
13298
|
-
beforeClose: styles$
|
|
13453
|
+
base: styles$18['hint-modal'],
|
|
13454
|
+
afterOpen: styles$18['hint-modal--after-open'],
|
|
13455
|
+
beforeClose: styles$18['hint-modal--before-close']
|
|
13299
13456
|
},
|
|
13300
|
-
overlayClassName: styles$
|
|
13457
|
+
overlayClassName: styles$18['hint-modal__overlay']
|
|
13301
13458
|
}, React__default.createElement("div", {
|
|
13302
|
-
className: styles$
|
|
13459
|
+
className: styles$18['hint-modal__close-button']
|
|
13303
13460
|
}, React__default.createElement(Button, {
|
|
13304
13461
|
theme: "link-icon",
|
|
13305
13462
|
onClick: handleOnClose
|
|
13306
13463
|
}, React__default.createElement(IconTimes, null))), mediaUrl && React__default.createElement("img", {
|
|
13307
|
-
className: styles$
|
|
13464
|
+
className: styles$18['hint-modal__image'],
|
|
13308
13465
|
src: mediaUrl,
|
|
13309
13466
|
alt: String(header)
|
|
13310
13467
|
}), React__default.createElement("div", {
|
|
13311
|
-
className: styles$
|
|
13468
|
+
className: styles$18['hint-modal__body']
|
|
13312
13469
|
}, React__default.createElement(Stack, {
|
|
13313
13470
|
justifyContent: "space-between"
|
|
13314
13471
|
}, React__default.createElement(Stack, {
|
|
@@ -13317,7 +13474,7 @@ const HintModal = _ref => {
|
|
|
13317
13474
|
as: "h3"
|
|
13318
13475
|
}, header), React__default.createElement(Text, null, children)), React__default.createElement(Stack, {
|
|
13319
13476
|
space: 32
|
|
13320
|
-
}, React__default.createElement(CheckboxField, {
|
|
13477
|
+
}, !hideDoNotShowAgainCheckbox && React__default.createElement(CheckboxField, {
|
|
13321
13478
|
name: "hint-modal-do-not-show-checkbox",
|
|
13322
13479
|
checked: doNotShowAgain,
|
|
13323
13480
|
label: __('dontShowAgainLabel'),
|
|
@@ -13340,6 +13497,29 @@ const Popover = props => {
|
|
|
13340
13497
|
return React__default.createElement(Dropdown, _extends({}, props));
|
|
13341
13498
|
};
|
|
13342
13499
|
|
|
13500
|
+
/**
|
|
13501
|
+
* Returns the current modal position and an updater that centers the modal on
|
|
13502
|
+
* the provided mouse event's coordinates, clamped to a 20px viewport margin.
|
|
13503
|
+
* Useful when opening a draggable Modal relative to a user click.
|
|
13504
|
+
*/
|
|
13505
|
+
const useModalPosition = (modalWidth = 566, modalHeight = 360) => {
|
|
13506
|
+
const [position, setPosition] = useState(undefined);
|
|
13507
|
+
const updatePosition = useCallback(event => {
|
|
13508
|
+
const MARGIN = 20;
|
|
13509
|
+
const windowWidth = window.innerWidth;
|
|
13510
|
+
const windowHeight = window.innerHeight;
|
|
13511
|
+
let left = event.clientX - modalWidth / 2;
|
|
13512
|
+
let top = event.clientY - modalHeight / 2;
|
|
13513
|
+
if (left + modalWidth > windowWidth) left = Math.max(MARGIN, windowWidth - modalWidth - MARGIN);else if (left < 0) left = MARGIN;
|
|
13514
|
+
if (top + modalHeight > windowHeight) top = Math.max(MARGIN, windowHeight - modalHeight - MARGIN);else if (top < 0) top = MARGIN;
|
|
13515
|
+
setPosition({
|
|
13516
|
+
top,
|
|
13517
|
+
left
|
|
13518
|
+
});
|
|
13519
|
+
}, [modalWidth, modalHeight]);
|
|
13520
|
+
return [position, updatePosition];
|
|
13521
|
+
};
|
|
13522
|
+
|
|
13343
13523
|
const _excluded$bh = ["children", "theme", "title", "testId"];
|
|
13344
13524
|
const BadgeElement = (_ref, forwardedRef) => {
|
|
13345
13525
|
let {
|
|
@@ -13360,12 +13540,12 @@ const BadgeElement = (_ref, forwardedRef) => {
|
|
|
13360
13540
|
overlay: title,
|
|
13361
13541
|
ref: ref
|
|
13362
13542
|
}, React__default.createElement("div", _extends({
|
|
13363
|
-
className: classnames(styles$
|
|
13364
|
-
[styles$
|
|
13365
|
-
[styles$
|
|
13366
|
-
[styles$
|
|
13367
|
-
[styles$
|
|
13368
|
-
[styles$
|
|
13543
|
+
className: classnames(styles$1h['badge'], {
|
|
13544
|
+
[styles$1h['badge--success']]: theme === 'success',
|
|
13545
|
+
[styles$1h['badge--danger']]: theme === 'danger',
|
|
13546
|
+
[styles$1h['badge--info']]: theme === 'info',
|
|
13547
|
+
[styles$1h['badge--warning']]: theme === 'warning',
|
|
13548
|
+
[styles$1h['badge--numeric']]: Number.isFinite(children)
|
|
13369
13549
|
}),
|
|
13370
13550
|
ref: ref,
|
|
13371
13551
|
"data-testid": testId
|
|
@@ -13380,28 +13560,28 @@ const MenuItem = ({
|
|
|
13380
13560
|
menu
|
|
13381
13561
|
}) => {
|
|
13382
13562
|
return React__default.createElement("li", {
|
|
13383
|
-
className: classnames(styles$
|
|
13384
|
-
[styles$
|
|
13563
|
+
className: classnames(styles$1i['menu-item'], {
|
|
13564
|
+
[styles$1i['menu-item--with-badge']]: !!menu.suffix
|
|
13385
13565
|
})
|
|
13386
13566
|
}, menu.reloadDocument ? React__default.createElement("a", {
|
|
13387
13567
|
href: menu.to,
|
|
13388
13568
|
className: classnames({
|
|
13389
|
-
[styles$
|
|
13569
|
+
[styles$1i['menu-item--active']]: menu.isActive
|
|
13390
13570
|
})
|
|
13391
13571
|
}, menu.label, !!menu.suffix && React__default.createElement("div", {
|
|
13392
|
-
className: styles$
|
|
13572
|
+
className: styles$1i['menu-item__badge']
|
|
13393
13573
|
}, React__default.createElement(Badge, null, menu.suffix))) : React__default.createElement(NavLink, {
|
|
13394
13574
|
to: menu.to,
|
|
13395
13575
|
// @ts-expect-error This is only available on v5
|
|
13396
|
-
activeClassName: styles$
|
|
13576
|
+
activeClassName: styles$1i['menu-item--active'],
|
|
13397
13577
|
className: ({
|
|
13398
13578
|
isActive
|
|
13399
13579
|
}) => {
|
|
13400
|
-
return isActive ? styles$
|
|
13580
|
+
return isActive ? styles$1i['menu-item--active'] : '';
|
|
13401
13581
|
},
|
|
13402
13582
|
exact: true
|
|
13403
13583
|
}, menu.label, !!menu.suffix && React__default.createElement("div", {
|
|
13404
|
-
className: styles$
|
|
13584
|
+
className: styles$1i['menu-item__badge']
|
|
13405
13585
|
}, React__default.createElement(Badge, null, menu.suffix))));
|
|
13406
13586
|
};
|
|
13407
13587
|
|
|
@@ -13412,9 +13592,9 @@ const PageLayout = ({
|
|
|
13412
13592
|
sideNavContent
|
|
13413
13593
|
}) => {
|
|
13414
13594
|
return React__default.createElement("div", {
|
|
13415
|
-
className: styles$
|
|
13595
|
+
className: styles$1j['page-layout']
|
|
13416
13596
|
}, React__default.createElement("div", {
|
|
13417
|
-
className: styles$
|
|
13597
|
+
className: styles$1j['page-layout__nav-container']
|
|
13418
13598
|
}, React__default.createElement(Stack, {
|
|
13419
13599
|
space: 12
|
|
13420
13600
|
}, React__default.createElement(Text, {
|
|
@@ -13423,14 +13603,14 @@ const PageLayout = ({
|
|
|
13423
13603
|
ml: 20,
|
|
13424
13604
|
mr: 35
|
|
13425
13605
|
}, title), React__default.createElement("ul", {
|
|
13426
|
-
className: styles$
|
|
13606
|
+
className: styles$1j['page-layout__nav-list']
|
|
13427
13607
|
}, menu.filter(menu => !('isVisible' in menu) || (menu == null ? void 0 : menu.isVisible) === true).map((menuItem, index) => React__default.createElement(MenuItem, {
|
|
13428
13608
|
key: menuItem.name || index,
|
|
13429
13609
|
menu: menuItem
|
|
13430
13610
|
}))), sideNavContent && React__default.createElement("div", {
|
|
13431
|
-
className: styles$
|
|
13611
|
+
className: styles$1j['page-layout__side-nav-content']
|
|
13432
13612
|
}, sideNavContent))), React__default.createElement("div", {
|
|
13433
|
-
className: styles$
|
|
13613
|
+
className: styles$1j['page-layout__content']
|
|
13434
13614
|
}, children));
|
|
13435
13615
|
};
|
|
13436
13616
|
|
|
@@ -13440,7 +13620,7 @@ const TOAST_THEME = {
|
|
|
13440
13620
|
};
|
|
13441
13621
|
const TOAST_CONTAINER_ID = 'sous-chef-toast';
|
|
13442
13622
|
|
|
13443
|
-
var styles$
|
|
13623
|
+
var styles$17 = {"toast":"_iSC5P","toast--danger":"_OWpOG","toast__text":"_4JJwF"};
|
|
13444
13624
|
|
|
13445
13625
|
const toast = (text, theme = TOAST_THEME.DEFAULT, options = {}) => {
|
|
13446
13626
|
if (typeof text !== 'string') {
|
|
@@ -13457,8 +13637,8 @@ const toast = (text, theme = TOAST_THEME.DEFAULT, options = {}) => {
|
|
|
13457
13637
|
onActionClick: onActionClick
|
|
13458
13638
|
}) : text;
|
|
13459
13639
|
toast$1(content, _extends({
|
|
13460
|
-
className: classnames(styles$
|
|
13461
|
-
[styles$
|
|
13640
|
+
className: classnames(styles$17['toast'], {
|
|
13641
|
+
[styles$17['toast--danger']]: theme === TOAST_THEME.DANGER
|
|
13462
13642
|
}),
|
|
13463
13643
|
containerId: TOAST_CONTAINER_ID
|
|
13464
13644
|
}, options));
|
|
@@ -13484,7 +13664,7 @@ const ToastBodyWithAction = ({
|
|
|
13484
13664
|
const ToastContainer = ({
|
|
13485
13665
|
containerId: _containerId = TOAST_CONTAINER_ID
|
|
13486
13666
|
}) => React__default.createElement(ToastContainer$1, {
|
|
13487
|
-
bodyClassName: styles$
|
|
13667
|
+
bodyClassName: styles$17['toast__text'],
|
|
13488
13668
|
hideProgressBar: true,
|
|
13489
13669
|
draggable: false,
|
|
13490
13670
|
transition: Slide,
|
|
@@ -13559,7 +13739,7 @@ const SousChefProvider = ({
|
|
|
13559
13739
|
}, React__default.createElement(ToastContainer, null), children));
|
|
13560
13740
|
};
|
|
13561
13741
|
|
|
13562
|
-
var styles$
|
|
13742
|
+
var styles$16 = {"data-table-header":"_F4U3o","data-table-header__item":"_KKljd","data-table-header__item--sortable":"_oKH7a","data-table-header__itemfocus":"_xrDya","data-table-header__item--action":"_RLGaD","data-table-header__item-content":"_3p3fm","data-table-header__item-content--right-align":"_rXid3","data-table-header__item-content--has-description":"_vgjHE","data-table-header__sort-icon":"_-xiIl"};
|
|
13563
13743
|
|
|
13564
13744
|
const SORT_ORDER = {
|
|
13565
13745
|
ASC: 'asc',
|
|
@@ -13745,7 +13925,7 @@ const DataTableHeader = ({
|
|
|
13745
13925
|
},
|
|
13746
13926
|
id: `${tableId}-header`
|
|
13747
13927
|
}, React__default.createElement("tr", {
|
|
13748
|
-
className: styles$
|
|
13928
|
+
className: styles$16['data-table-header']
|
|
13749
13929
|
}, columns.filter(column => !column.hidden).map(column => {
|
|
13750
13930
|
const isSortable = column.isSortable;
|
|
13751
13931
|
const sortDir = column.currentSort;
|
|
@@ -13753,8 +13933,8 @@ const DataTableHeader = ({
|
|
|
13753
13933
|
const hasDescription = !!column.description;
|
|
13754
13934
|
return React__default.createElement("th", {
|
|
13755
13935
|
className: classnames({
|
|
13756
|
-
[styles$
|
|
13757
|
-
[styles$
|
|
13936
|
+
[styles$16['data-table-header__item']]: true,
|
|
13937
|
+
[styles$16['data-table-header__item--sortable']]: isSortable
|
|
13758
13938
|
}),
|
|
13759
13939
|
style: {
|
|
13760
13940
|
flex: column.size || 1,
|
|
@@ -13766,18 +13946,18 @@ const DataTableHeader = ({
|
|
|
13766
13946
|
role: "columnheader",
|
|
13767
13947
|
tabIndex: 0
|
|
13768
13948
|
}, React__default.createElement("div", {
|
|
13769
|
-
className: classnames(styles$
|
|
13770
|
-
[styles$
|
|
13949
|
+
className: classnames(styles$16['data-table-header__item-content'], {
|
|
13950
|
+
[styles$16['data-table-header__item-content--right-align']]: isRightAligned
|
|
13771
13951
|
}, {
|
|
13772
|
-
[styles$
|
|
13952
|
+
[styles$16['data-table-header__item-content--has-description']]: hasDescription
|
|
13773
13953
|
})
|
|
13774
13954
|
}, wrapWithTooltip(column), isSortable && React__default.createElement("span", {
|
|
13775
|
-
className: styles$
|
|
13955
|
+
className: styles$16['data-table-header__sort-icon']
|
|
13776
13956
|
}, React__default.createElement(HeaderSortIcon, {
|
|
13777
13957
|
sortDirection: sortDir
|
|
13778
13958
|
}))));
|
|
13779
13959
|
}), showActionMenu && React__default.createElement("th", {
|
|
13780
|
-
className: classnames(styles$
|
|
13960
|
+
className: classnames(styles$16['data-table-header__item'], styles$16['data-table-header__item--action'])
|
|
13781
13961
|
}))));
|
|
13782
13962
|
};
|
|
13783
13963
|
const wrapWithTooltip = column => {
|
|
@@ -13791,9 +13971,9 @@ const wrapWithTooltip = column => {
|
|
|
13791
13971
|
return column.label;
|
|
13792
13972
|
};
|
|
13793
13973
|
|
|
13794
|
-
var styles$
|
|
13974
|
+
var styles$15 = {"data-table":"_zEfoA","data-table__content":"_v-WNu","data-table__content--with-scroll":"_xI2-r","data-table__background-loading":"_ED7Nm","data-table__table":"_fnq34","data-table__table--no-columns":"_qSrJq","data-table__body":"_1SNLz","data-table__body--no-bottom-radius":"_zCIMD","data-table__footer":"_mp1Ok","data-table__pagination-controls":"_vdEZz"};
|
|
13795
13975
|
|
|
13796
|
-
var styles$
|
|
13976
|
+
var styles$14 = {"data-table-scroll-fake-border":"_wZ8Xg","data-table-scroll-fake-border--fixed-scroll":"_C5CU0","data-table-scroll-fake-border--top":"_L5fRB","data-table-scroll-fake-border--bottom":"_omhE4","data-table-scroll-fake-border__left":"_mpDFy","data-table-scroll-fake-border__left--top":"_G3b-p","data-table-scroll-fake-border__left--bottom":"_YUMxZ","data-table-scroll-fake-border__right":"_xUVcY","data-table-scroll-fake-border__right--top":"_BE0hn","data-table-scroll-fake-border__right--bottom":"_UtFdB"};
|
|
13797
13977
|
|
|
13798
13978
|
const useTableHeaderHeight = isShowingColumns => {
|
|
13799
13979
|
const {
|
|
@@ -13845,10 +14025,10 @@ const DataTableScrollFakeBorder = ({
|
|
|
13845
14025
|
const hasFixedScroll = useDetectFixedScroll();
|
|
13846
14026
|
const backgroundColor = useBackgroundColor();
|
|
13847
14027
|
return React__default.createElement("div", {
|
|
13848
|
-
className: classnames(styles$
|
|
13849
|
-
[styles$
|
|
13850
|
-
[styles$
|
|
13851
|
-
[styles$
|
|
14028
|
+
className: classnames(styles$14['data-table-scroll-fake-border'], {
|
|
14029
|
+
[styles$14['data-table-scroll-fake-border--top']]: placement === 'top',
|
|
14030
|
+
[styles$14['data-table-scroll-fake-border--bottom']]: placement === 'bottom',
|
|
14031
|
+
[styles$14['data-table-scroll-fake-border--fixed-scroll']]: hasFixedScroll
|
|
13852
14032
|
}),
|
|
13853
14033
|
style: {
|
|
13854
14034
|
// @ts-expect-error This difines a custom CSS variable
|
|
@@ -13856,14 +14036,14 @@ const DataTableScrollFakeBorder = ({
|
|
|
13856
14036
|
top: placement === 'top' ? headerHeight : undefined
|
|
13857
14037
|
}
|
|
13858
14038
|
}, React__default.createElement("div", {
|
|
13859
|
-
className: classnames(styles$
|
|
13860
|
-
[styles$
|
|
13861
|
-
[styles$
|
|
14039
|
+
className: classnames(styles$14['data-table-scroll-fake-border__left'], {
|
|
14040
|
+
[styles$14['data-table-scroll-fake-border__left--top']]: placement === 'top',
|
|
14041
|
+
[styles$14['data-table-scroll-fake-border__left--bottom']]: placement === 'bottom'
|
|
13862
14042
|
})
|
|
13863
14043
|
}), React__default.createElement("div", {
|
|
13864
|
-
className: classnames(styles$
|
|
13865
|
-
[styles$
|
|
13866
|
-
[styles$
|
|
14044
|
+
className: classnames(styles$14['data-table-scroll-fake-border__right'], {
|
|
14045
|
+
[styles$14['data-table-scroll-fake-border__right--top']]: placement === 'top',
|
|
14046
|
+
[styles$14['data-table-scroll-fake-border__right--bottom']]: placement === 'bottom'
|
|
13867
14047
|
}),
|
|
13868
14048
|
"data-background-color": "red"
|
|
13869
14049
|
}));
|
|
@@ -13881,7 +14061,7 @@ const BUTTON_THEME = {
|
|
|
13881
14061
|
UPSELL: 'upsell'
|
|
13882
14062
|
};
|
|
13883
14063
|
|
|
13884
|
-
var styles$
|
|
14064
|
+
var styles$13 = {"banner":"_omAUf","banner__title":"_8xIYW","banner__body":"_oA2J6","banner__body--multilineCTA":"_PLG8Z","banner--info":"_CRmFE","banner__icon":"_T80if","banner__icon--multiline":"_uJl2Y","banner--success":"_PgpTw","banner--danger":"_O-lNW","banner--warning":"_fICdJ","banner--upsell":"_kUB2k","banner__close":"_P6nbA","banner--single-line":"_w-zAz"};
|
|
13885
14065
|
|
|
13886
14066
|
/** Infers theme prop for Sous Chef Button CTAs if not explicitly passed, default is hollow, primaryCTA is Upsell if banner theme is Upsell*/
|
|
13887
14067
|
const ButtonCTA$1 = ({
|
|
@@ -13902,7 +14082,7 @@ const ButtonCTA$1 = ({
|
|
|
13902
14082
|
}, button.props));
|
|
13903
14083
|
};
|
|
13904
14084
|
|
|
13905
|
-
var styles$
|
|
14085
|
+
var styles$12 = {"banner__caption":"_S--Ce"};
|
|
13906
14086
|
|
|
13907
14087
|
const InlineBannerCTA = ({
|
|
13908
14088
|
primaryButton,
|
|
@@ -13934,7 +14114,7 @@ const InlineBannerCTA = ({
|
|
|
13934
14114
|
bannerTheme: bannerTheme,
|
|
13935
14115
|
primaryCTA: true
|
|
13936
14116
|
})), caption && multiLine && React__default.createElement("div", {
|
|
13937
|
-
className: styles$
|
|
14117
|
+
className: styles$12['banner__caption']
|
|
13938
14118
|
}, caption));
|
|
13939
14119
|
};
|
|
13940
14120
|
|
|
@@ -13988,21 +14168,21 @@ const InlineBanner = _ref => {
|
|
|
13988
14168
|
const Layout = multiLine ? Stack : Inline;
|
|
13989
14169
|
return React__default.createElement("div", {
|
|
13990
14170
|
"data-testid": testId,
|
|
13991
|
-
className: classnames(styles$
|
|
13992
|
-
[styles$
|
|
13993
|
-
[styles$
|
|
13994
|
-
[styles$
|
|
13995
|
-
[styles$
|
|
13996
|
-
[styles$
|
|
13997
|
-
[styles$
|
|
14171
|
+
className: classnames(styles$13['banner'], {
|
|
14172
|
+
[styles$13['banner--info']]: theme === BANNER_THEME.INFO,
|
|
14173
|
+
[styles$13['banner--warning']]: theme === BANNER_THEME.WARNING,
|
|
14174
|
+
[styles$13['banner--success']]: theme === BANNER_THEME.SUCCESS,
|
|
14175
|
+
[styles$13['banner--danger']]: theme === BANNER_THEME.DANGER,
|
|
14176
|
+
[styles$13['banner--upsell']]: theme === BANNER_THEME.UPSELL,
|
|
14177
|
+
[styles$13['banner--single-line']]: !multiLine
|
|
13998
14178
|
}),
|
|
13999
14179
|
style: positionStyles
|
|
14000
14180
|
}, React__default.createElement(Inline, {
|
|
14001
14181
|
flex: ['0 1 auto', 1],
|
|
14002
14182
|
space: 12
|
|
14003
14183
|
}, React__default.createElement("div", {
|
|
14004
|
-
className: classnames(styles$
|
|
14005
|
-
[styles$
|
|
14184
|
+
className: classnames(styles$13['banner__icon'], {
|
|
14185
|
+
[styles$13['banner__icon--multiline']]: multiLine
|
|
14006
14186
|
})
|
|
14007
14187
|
}, icon != null ? icon : React__default.createElement(InlineBannerIcon, {
|
|
14008
14188
|
theme: theme
|
|
@@ -14013,10 +14193,10 @@ const InlineBanner = _ref => {
|
|
|
14013
14193
|
flex: ['min-content'],
|
|
14014
14194
|
flexWrap: multiLine ? undefined : 'wrap'
|
|
14015
14195
|
}, title && React__default.createElement("div", {
|
|
14016
|
-
className: styles$
|
|
14196
|
+
className: styles$13['banner__title']
|
|
14017
14197
|
}, title), React__default.createElement("div", {
|
|
14018
|
-
className: classnames(styles$
|
|
14019
|
-
[styles$
|
|
14198
|
+
className: classnames(styles$13['banner__body'], {
|
|
14199
|
+
[styles$13['banner__body--multilineCTA']]: primaryButton && multiLine
|
|
14020
14200
|
})
|
|
14021
14201
|
}, children), primaryButton && React__default.createElement(InlineBannerCTA, {
|
|
14022
14202
|
primaryButton: primaryButton,
|
|
@@ -14025,7 +14205,7 @@ const InlineBanner = _ref => {
|
|
|
14025
14205
|
multiLine: multiLine,
|
|
14026
14206
|
bannerTheme: theme
|
|
14027
14207
|
})), dismissable && React__default.createElement("div", {
|
|
14028
|
-
className: styles$
|
|
14208
|
+
className: styles$13['banner__close']
|
|
14029
14209
|
}, React__default.createElement(Button, {
|
|
14030
14210
|
theme: "link-icon",
|
|
14031
14211
|
type: "button",
|
|
@@ -14041,7 +14221,7 @@ const MICRO_BANNER_THEME = {
|
|
|
14041
14221
|
UPSELL: 'upsell'
|
|
14042
14222
|
};
|
|
14043
14223
|
|
|
14044
|
-
var styles$
|
|
14224
|
+
var styles$11 = {"micro-banner":"_fRjhT","micro-banner__icon":"_UZMd0","micro-banner__content":"_mJAeX","micro-banner__content--no-icon":"_ZFsBE","micro-banner__content--no-button":"_UN43A","micro-banner__button":"_bTamw","micro-banner--info":"_ULD-f","micro-banner--success":"_5MitA","micro-banner--danger":"_8wmuB","micro-banner--warning":"_515OI","micro-banner--upsell":"_EfwcL"};
|
|
14045
14225
|
|
|
14046
14226
|
const MicroBannerIcon = ({
|
|
14047
14227
|
theme
|
|
@@ -14110,14 +14290,14 @@ const MicroBanner = _ref => {
|
|
|
14110
14290
|
const {
|
|
14111
14291
|
dataProps
|
|
14112
14292
|
} = getDataProps(otherProps);
|
|
14113
|
-
const themeClass = styles$
|
|
14114
|
-
const contentClass = classnames(styles$
|
|
14293
|
+
const themeClass = styles$11[`micro-banner--${theme}`];
|
|
14294
|
+
const contentClass = classnames(styles$11['micro-banner__content'], hideIcon && styles$11['micro-banner__content--no-icon'], !primaryButton && styles$11['micro-banner__content--no-button']);
|
|
14115
14295
|
return React__default.createElement("div", _extends({
|
|
14116
14296
|
"data-testid": testId,
|
|
14117
|
-
className: classnames(styles$
|
|
14297
|
+
className: classnames(styles$11['micro-banner'], themeClass),
|
|
14118
14298
|
style: positionProps
|
|
14119
14299
|
}, dataProps), !hideIcon && React__default.createElement("div", {
|
|
14120
|
-
className: styles$
|
|
14300
|
+
className: styles$11['micro-banner__icon'],
|
|
14121
14301
|
"data-testid": `${testId || 'micro-banner'}-icon`
|
|
14122
14302
|
}, icon != null ? icon : React__default.createElement(MicroBannerIcon, {
|
|
14123
14303
|
theme: theme
|
|
@@ -14128,7 +14308,7 @@ const MicroBanner = _ref => {
|
|
|
14128
14308
|
}, title), React__default.createElement(Text, {
|
|
14129
14309
|
as: 'caption'
|
|
14130
14310
|
}, children)), primaryButton && React__default.createElement("div", {
|
|
14131
|
-
className: styles$
|
|
14311
|
+
className: styles$11['micro-banner__button']
|
|
14132
14312
|
}, React__default.createElement(ButtonCTA, {
|
|
14133
14313
|
button: primaryButton,
|
|
14134
14314
|
bannerTheme: theme
|
|
@@ -14143,7 +14323,7 @@ const PERSISTENT_BANNER_THEME = {
|
|
|
14143
14323
|
SUCCESS: 'success'
|
|
14144
14324
|
};
|
|
14145
14325
|
|
|
14146
|
-
var styles
|
|
14326
|
+
var styles$10 = {"persistent-banner":"_FsCJQ","persistent-banner--info":"_zt-xK","persistent-banner--danger":"_rmUys","persistent-banner--upsell":"_UGrRR","persistent-banner--warning":"_9eFhn","persistent-banner--success":"_hU34n"};
|
|
14147
14327
|
|
|
14148
14328
|
/**
|
|
14149
14329
|
* PersistentBanner displays a full-width message above the main navigation.
|
|
@@ -14175,19 +14355,19 @@ const PersistentBanner = ({
|
|
|
14175
14355
|
theme: BUTTON_THEMES.LINK_CONTRAST
|
|
14176
14356
|
}, secondaryButton.props))));
|
|
14177
14357
|
return React__default.createElement("div", {
|
|
14178
|
-
className: classnames(styles
|
|
14179
|
-
[styles
|
|
14180
|
-
[styles
|
|
14181
|
-
[styles
|
|
14182
|
-
[styles
|
|
14183
|
-
[styles
|
|
14358
|
+
className: classnames(styles$10['persistent-banner'], {
|
|
14359
|
+
[styles$10['persistent-banner--info']]: _theme === PERSISTENT_BANNER_THEME.INFO,
|
|
14360
|
+
[styles$10['persistent-banner--danger']]: _theme === PERSISTENT_BANNER_THEME.DANGER,
|
|
14361
|
+
[styles$10['persistent-banner--upsell']]: _theme === PERSISTENT_BANNER_THEME.UPSELL,
|
|
14362
|
+
[styles$10['persistent-banner--warning']]: _theme === PERSISTENT_BANNER_THEME.WARNING,
|
|
14363
|
+
[styles$10['persistent-banner--success']]: _theme === PERSISTENT_BANNER_THEME.SUCCESS
|
|
14184
14364
|
}),
|
|
14185
14365
|
"data-testid": testId
|
|
14186
14366
|
}, onDismiss ? React__default.createElement(Inline, {
|
|
14187
14367
|
flex: [1],
|
|
14188
14368
|
alignItems: "center"
|
|
14189
14369
|
}, React__default.createElement(BannerContent, null), React__default.createElement(Button, {
|
|
14190
|
-
theme:
|
|
14370
|
+
theme: "link-contrast",
|
|
14191
14371
|
onClick: onDismiss
|
|
14192
14372
|
}, React__default.createElement(IconTimes, null))) : React__default.createElement(BannerContent, null));
|
|
14193
14373
|
};
|
|
@@ -14245,7 +14425,7 @@ const useProgress = (progress, maxValue, getMetric = getProgressMetric) => {
|
|
|
14245
14425
|
};
|
|
14246
14426
|
};
|
|
14247
14427
|
|
|
14248
|
-
var styles
|
|
14428
|
+
var styles$$ = {"circular-progress":"_UI0Fo","circular-progress__label":"_6PNwZ","circular-progress__track":"_alBLB","circular-progress__indicator":"_VADa6"};
|
|
14249
14429
|
|
|
14250
14430
|
/**
|
|
14251
14431
|
* CircularProgress displays a circular track that fills as a count advances toward a total.
|
|
@@ -14262,7 +14442,7 @@ const CircularProgress = ({
|
|
|
14262
14442
|
} = useProgress(progress, _maxValue);
|
|
14263
14443
|
const determinant = metric.percentage * 2.79;
|
|
14264
14444
|
return React__default.createElement("div", _extends({}, elementProps, {
|
|
14265
|
-
className: styles
|
|
14445
|
+
className: styles$$['circular-progress'],
|
|
14266
14446
|
"data-testid": testId
|
|
14267
14447
|
}), React__default.createElement("svg", {
|
|
14268
14448
|
viewBox: "0 0 100 100"
|
|
@@ -14271,21 +14451,21 @@ const CircularProgress = ({
|
|
|
14271
14451
|
cy: 50,
|
|
14272
14452
|
r: 45,
|
|
14273
14453
|
strokeWidth: "10px",
|
|
14274
|
-
className: styles
|
|
14454
|
+
className: styles$$['circular-progress__track']
|
|
14275
14455
|
}), React__default.createElement("circle", {
|
|
14276
14456
|
cx: 50,
|
|
14277
14457
|
cy: 50,
|
|
14278
14458
|
r: 45,
|
|
14279
14459
|
strokeWidth: "10px",
|
|
14280
|
-
className: styles
|
|
14460
|
+
className: styles$$['circular-progress__indicator'],
|
|
14281
14461
|
strokeDashoffset: "66",
|
|
14282
14462
|
strokeDasharray: `${determinant} ${279 - determinant}`
|
|
14283
14463
|
})), React__default.createElement("div", {
|
|
14284
|
-
className: styles
|
|
14464
|
+
className: styles$$['circular-progress__label']
|
|
14285
14465
|
}, children || `${metric.progress}/${metric.maxValue}`));
|
|
14286
14466
|
};
|
|
14287
14467
|
|
|
14288
|
-
var styles$
|
|
14468
|
+
var styles$_ = {"progress-bar":"_fWvQF","progress-bar__indicator":"_vd0xc","progress-bar__indicator--complete":"_D9yNp","progress-bar__steps":"_8kdeO"};
|
|
14289
14469
|
|
|
14290
14470
|
/**
|
|
14291
14471
|
* ProgressBar shows a horizontal bar that fills as a task advances.
|
|
@@ -14303,23 +14483,23 @@ const ProgressBar = ({
|
|
|
14303
14483
|
metric
|
|
14304
14484
|
} = useProgress(progress, inferedMaxValue || 100, isUsingStepsAsMaxValue ? getProgressMetricWithSteps : getProgressMetric);
|
|
14305
14485
|
return React__default.createElement(Stack, null, React__default.createElement("div", _extends({}, elementProps, {
|
|
14306
|
-
className: styles$
|
|
14486
|
+
className: styles$_['progress-bar'],
|
|
14307
14487
|
"data-testid": testId
|
|
14308
14488
|
}), React__default.createElement("div", {
|
|
14309
|
-
className: classnames(styles$
|
|
14310
|
-
[styles$
|
|
14489
|
+
className: classnames(styles$_['progress-bar__indicator'], {
|
|
14490
|
+
[styles$_['progress-bar__indicator--complete']]: metric.percentage === 100
|
|
14311
14491
|
}),
|
|
14312
14492
|
style: {
|
|
14313
14493
|
width: `${metric.percentage}%`
|
|
14314
14494
|
}
|
|
14315
14495
|
})), steps && steps.length > 0 && React__default.createElement("div", {
|
|
14316
|
-
className: styles$
|
|
14496
|
+
className: styles$_['progress-bar__steps']
|
|
14317
14497
|
}, steps.map(step => React__default.createElement(Text, {
|
|
14318
14498
|
key: step
|
|
14319
14499
|
}, step))));
|
|
14320
14500
|
};
|
|
14321
14501
|
|
|
14322
|
-
var styles$
|
|
14502
|
+
var styles$Z = {"skeleton":"_oDnLM","pulse":"_McmEv","skeleton__button":"_jPXx6","skeleton__pill":"_sPHSZ","skeleton__avatar":"_3vEYT","skeleton__avatar--small":"_zneq9","skeleton__avatar--medium":"_TtfoO","skeleton__avatar--large":"_jhOqR","skeleton__avatar--xlarge":"_VgGfx"};
|
|
14323
14503
|
|
|
14324
14504
|
const SKELETON_COMPONENT = {
|
|
14325
14505
|
AVATAR: 'avatar',
|
|
@@ -14346,14 +14526,14 @@ const Skeleton = _ref => {
|
|
|
14346
14526
|
const positioning = usePositionStyles(positionStyles);
|
|
14347
14527
|
return React__default.createElement("div", {
|
|
14348
14528
|
"data-testid": testId,
|
|
14349
|
-
className: classnames(styles$
|
|
14350
|
-
[styles$
|
|
14351
|
-
[styles$
|
|
14352
|
-
[styles$
|
|
14353
|
-
[styles$
|
|
14354
|
-
[styles$
|
|
14355
|
-
[styles$
|
|
14356
|
-
[styles$
|
|
14529
|
+
className: classnames(styles$Z['skeleton'], {
|
|
14530
|
+
[styles$Z['skeleton__avatar']]: as === SKELETON_COMPONENT.AVATAR,
|
|
14531
|
+
[styles$Z['skeleton__avatar--small']]: as === SKELETON_COMPONENT.AVATAR_SMALL,
|
|
14532
|
+
[styles$Z['skeleton__avatar--medium']]: as === SKELETON_COMPONENT.AVATAR_MEDIUM,
|
|
14533
|
+
[styles$Z['skeleton__avatar--large']]: as === SKELETON_COMPONENT.AVATAR_LARGE,
|
|
14534
|
+
[styles$Z['skeleton__avatar--xlarge']]: as === SKELETON_COMPONENT.AVATAR_XLARGE,
|
|
14535
|
+
[styles$Z['skeleton__button']]: as === SKELETON_COMPONENT.BUTTON,
|
|
14536
|
+
[styles$Z['skeleton__pill']]: as === SKELETON_COMPONENT.PILL
|
|
14357
14537
|
}),
|
|
14358
14538
|
style: _extends({}, positioning, {
|
|
14359
14539
|
width: width,
|
|
@@ -14362,11 +14542,11 @@ const Skeleton = _ref => {
|
|
|
14362
14542
|
});
|
|
14363
14543
|
};
|
|
14364
14544
|
|
|
14365
|
-
var styles$
|
|
14545
|
+
var styles$Y = {"data-table-row":"_hhDnr","data-table-row--clickable":"_ej5Ke","data-table-row--selected":"_qDTAh"};
|
|
14366
14546
|
|
|
14367
|
-
var styles$
|
|
14547
|
+
var styles$X = {"actions":"_ffXgN"};
|
|
14368
14548
|
|
|
14369
|
-
var styles$
|
|
14549
|
+
var styles$W = {"data-table-cell":"_cp8xi","data-table-cell--no-padding":"_gqbNb","data-table-cell--vertical-border":"_uHjkg","data-table-cell--invalid":"_ASOQd","data-table-cell__content":"_HjPNI","data-table-cell__content--right-align":"_BCVO6","data-table-cell__content--with-error":"_NqtPS","data-table-cell__content--loading":"_-rWoZ","data-table-cell__error-icon":"_txhua","data-table-cell__error-icon--right-align":"_fPzqj","data-table-cell__error-icon--left-align":"_L2-l-"};
|
|
14370
14550
|
|
|
14371
14551
|
const DataTableCellElement = ({
|
|
14372
14552
|
children,
|
|
@@ -14390,9 +14570,9 @@ const DataTableCellElement = ({
|
|
|
14390
14570
|
const hasError = !!error;
|
|
14391
14571
|
const errorMessage = error;
|
|
14392
14572
|
const icon = hasError && React__default.createElement("div", {
|
|
14393
|
-
className: classnames(styles$
|
|
14394
|
-
[styles$
|
|
14395
|
-
[styles$
|
|
14573
|
+
className: classnames(styles$W['data-table-cell__error-icon'], {
|
|
14574
|
+
[styles$W['data-table-cell__error-icon--right-align']]: isRightAligned,
|
|
14575
|
+
[styles$W['data-table-cell__error-icon--left-align']]: !isRightAligned
|
|
14396
14576
|
})
|
|
14397
14577
|
}, React__default.createElement(IconTimesOctagon, {
|
|
14398
14578
|
size: "medium",
|
|
@@ -14400,17 +14580,17 @@ const DataTableCellElement = ({
|
|
|
14400
14580
|
}));
|
|
14401
14581
|
const TableCell = React__default.createElement("td", {
|
|
14402
14582
|
className: classnames({
|
|
14403
|
-
[styles$
|
|
14404
|
-
[styles$
|
|
14405
|
-
[styles$
|
|
14406
|
-
}, styles$
|
|
14583
|
+
[styles$W['data-table-cell--invalid']]: hasError,
|
|
14584
|
+
[styles$W['data-table-cell--no-padding']]: _noPadding,
|
|
14585
|
+
[styles$W['data-table-cell--vertical-border']]: hasVerticalBorders
|
|
14586
|
+
}, styles$W['data-table-cell']),
|
|
14407
14587
|
colSpan: colSpan,
|
|
14408
14588
|
ref: ref
|
|
14409
14589
|
}, React__default.createElement("div", {
|
|
14410
|
-
className: classnames(styles$
|
|
14411
|
-
[styles$
|
|
14412
|
-
[styles$
|
|
14413
|
-
[styles$
|
|
14590
|
+
className: classnames(styles$W['data-table-cell__content'], {
|
|
14591
|
+
[styles$W['data-table-cell__content--with-error']]: hasError,
|
|
14592
|
+
[styles$W['data-table-cell__content--right-align']]: isRightAligned,
|
|
14593
|
+
[styles$W['data-table-cell__content--loading']]: state === DATA_TABLE_STATES.BACKGROUND_LOADING
|
|
14414
14594
|
})
|
|
14415
14595
|
}, isRightAligned && icon, children, !isRightAligned && icon));
|
|
14416
14596
|
return React__default.createElement(Tooltip, {
|
|
@@ -14434,7 +14614,7 @@ const DataTableRowActions = ({
|
|
|
14434
14614
|
return React__default.createElement(DataTableCell, {
|
|
14435
14615
|
columnIndex: columnIndex
|
|
14436
14616
|
}, React__default.createElement("div", {
|
|
14437
|
-
className: styles$
|
|
14617
|
+
className: styles$X['actions'],
|
|
14438
14618
|
"data-testid": "data-table-dropdown-menu"
|
|
14439
14619
|
}, state === 'SKELETON_LOADING' && React__default.createElement(Skeleton, {
|
|
14440
14620
|
width: 45
|
|
@@ -14447,7 +14627,7 @@ const DataTableRowActions = ({
|
|
|
14447
14627
|
})));
|
|
14448
14628
|
};
|
|
14449
14629
|
|
|
14450
|
-
var styles$
|
|
14630
|
+
var styles$V = {"data-table-editable-cell":"_jp9-G","data-table-editable-cell--right-aligned":"_BzPeH","data-table-editable-cell--currency":"_NhNG9","data-table-editable-cell--invalid":"_5HRwe","data-table-editable-cell--top-left":"_P--u2","data-table-editable-cell--top-right":"_EloAX","data-table-editable-cell--bottom-left":"_ZDCR9","data-table-editable-cell--bottom-right":"_Mc9YJ"};
|
|
14451
14631
|
|
|
14452
14632
|
const DataTableEditableCellElement = ({
|
|
14453
14633
|
name,
|
|
@@ -14496,8 +14676,8 @@ const DataTableEditableCellElement = ({
|
|
|
14496
14676
|
};
|
|
14497
14677
|
const EditableCell = React__default.createElement("div", {
|
|
14498
14678
|
className: classnames({
|
|
14499
|
-
[styles$
|
|
14500
|
-
}, styles$
|
|
14679
|
+
[styles$V['data-table-editable-cell--currency']]: _type === 'currency'
|
|
14680
|
+
}, styles$V['data-table-editable-cell']),
|
|
14501
14681
|
"data-testid": testId,
|
|
14502
14682
|
role: "cell"
|
|
14503
14683
|
}, React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
|
|
@@ -14507,12 +14687,12 @@ const DataTableEditableCellElement = ({
|
|
|
14507
14687
|
name: name,
|
|
14508
14688
|
id: controllers.id,
|
|
14509
14689
|
className: classnames({
|
|
14510
|
-
[styles$
|
|
14511
|
-
[styles$
|
|
14512
|
-
[styles$
|
|
14513
|
-
[styles$
|
|
14514
|
-
[styles$
|
|
14515
|
-
[styles$
|
|
14690
|
+
[styles$V['data-table-editable-cell--right-aligned']]: isRightAligned,
|
|
14691
|
+
[styles$V['data-table-editable-cell--top-left']]: isTopLeftCell,
|
|
14692
|
+
[styles$V['data-table-editable-cell--top-right']]: isTopRightCell,
|
|
14693
|
+
[styles$V['data-table-editable-cell--bottom-left']]: isBottomLeftCell,
|
|
14694
|
+
[styles$V['data-table-editable-cell--bottom-right']]: isBottomRightCell,
|
|
14695
|
+
[styles$V['data-table-editable-cell--invalid']]: hasError
|
|
14516
14696
|
}),
|
|
14517
14697
|
type: _type === 'currency' ? 'number' : 'text',
|
|
14518
14698
|
step: _type === 'currency' ? 'any' : '',
|
|
@@ -14557,9 +14737,9 @@ const DataTableRowComponent = (_ref, ref) => {
|
|
|
14557
14737
|
const {
|
|
14558
14738
|
showActionMenu
|
|
14559
14739
|
} = useDataTableContext();
|
|
14560
|
-
const styleNames = classnames(styles$
|
|
14561
|
-
[styles$
|
|
14562
|
-
[styles$
|
|
14740
|
+
const styleNames = classnames(styles$Y['data-table-row'], {
|
|
14741
|
+
[styles$Y['data-table-row--clickable']]: onClick,
|
|
14742
|
+
[styles$Y['data-table-row--selected']]: isSelected
|
|
14563
14743
|
});
|
|
14564
14744
|
const renderColumn = (columnElement, index) => {
|
|
14565
14745
|
const isUsingDataTableCell = columnElement && typeof columnElement === 'object' && 'type' in columnElement && (columnElement == null ? void 0 : columnElement.type) === DataTableCell;
|
|
@@ -14650,7 +14830,7 @@ const calculateScrollState = scrollContainer => {
|
|
|
14650
14830
|
return DATA_TABLE_SCROLL_STATES.NO_SCROLL;
|
|
14651
14831
|
};
|
|
14652
14832
|
|
|
14653
|
-
var styles$
|
|
14833
|
+
var styles$U = {"data-table-sticky-columns-container":"_j5iVD","data-table-sticky-columns-container--with-left-sticky-columns-and-shadow":"_7dAEd","data-table-sticky-columns-container--no-shadow":"_rR4W3","fadein":"_b1-OB","data-table-sticky-columns-container--with-left-sticky-columns":"_qLE4I","data-table-sticky-columns-container--with-right-sticky-columns-and-shadow":"_B92Ir","data-table-sticky-columns-container--with-right-sticky-columns":"_ONjpl","data-table-sticky-columns-container--with-footer":"_DE3fh"};
|
|
14654
14834
|
|
|
14655
14835
|
const useDataTableScrollState = stickyColumns => {
|
|
14656
14836
|
const scrollContainerRef = useRef(null);
|
|
@@ -14692,7 +14872,7 @@ const useDataTableScrollState = stickyColumns => {
|
|
|
14692
14872
|
};
|
|
14693
14873
|
};
|
|
14694
14874
|
|
|
14695
|
-
var styles$
|
|
14875
|
+
var styles$T = {"data-table-cover-shadow":"_4XrxW","data-table-cover-shadow--left":"_k704p","data-table-cover-shadow--left-shadow":"_VXlf0","fadeinshadowleft":"_Fr-av","data-table-cover-shadow--right":"_wOust","data-table-cover-shadow--right-shadow":"_b3Rzx","fadeinshadowright":"_KgJaq"};
|
|
14696
14876
|
|
|
14697
14877
|
const DataTableCoverShadow = ({
|
|
14698
14878
|
isShowingColumns,
|
|
@@ -14710,11 +14890,11 @@ const DataTableCoverShadow = ({
|
|
|
14710
14890
|
return `calc(100% - ${headerHeight})`;
|
|
14711
14891
|
};
|
|
14712
14892
|
return React__default.createElement("div", {
|
|
14713
|
-
className: classnames(styles$
|
|
14714
|
-
[styles$
|
|
14715
|
-
[styles$
|
|
14716
|
-
[styles$
|
|
14717
|
-
[styles$
|
|
14893
|
+
className: classnames(styles$T['data-table-cover-shadow'], {
|
|
14894
|
+
[styles$T['data-table-cover-shadow--left']]: direction === 'left',
|
|
14895
|
+
[styles$T['data-table-cover-shadow--left-shadow']]: direction === 'left' && showShadow,
|
|
14896
|
+
[styles$T['data-table-cover-shadow--right']]: direction === 'right',
|
|
14897
|
+
[styles$T['data-table-cover-shadow--right-shadow']]: direction === 'right' && showShadow
|
|
14718
14898
|
}),
|
|
14719
14899
|
style: {
|
|
14720
14900
|
// @ts-expect-error This difines a custom CSS variable
|
|
@@ -14776,13 +14956,13 @@ const DataTableStickyColumnsContainer = ({
|
|
|
14776
14956
|
isShowingColumns: !!isShowingColumns,
|
|
14777
14957
|
showShadow: state === 'EMPTY' ? false : stickyColumns === 'left'
|
|
14778
14958
|
})), React__default.createElement("div", {
|
|
14779
|
-
className: classnames(styles$
|
|
14780
|
-
[styles$
|
|
14781
|
-
[styles$
|
|
14782
|
-
[styles$
|
|
14783
|
-
[styles$
|
|
14784
|
-
[styles$
|
|
14785
|
-
[styles$
|
|
14959
|
+
className: classnames(styles$U[containerClassName], {
|
|
14960
|
+
[styles$U[`${containerClassName}--with-footer`]]: isShowingFooter,
|
|
14961
|
+
[styles$U[`${containerClassName}--with-left-sticky-columns`]]: hasLeftColumnSticky,
|
|
14962
|
+
[styles$U[`${containerClassName}--with-left-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasLeftColumnSticky && hasScrollOnLeft : false,
|
|
14963
|
+
[styles$U[`${containerClassName}--with-right-sticky-columns`]]: hasRightColumnSticky,
|
|
14964
|
+
[styles$U[`${containerClassName}--with-right-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasRightColumnSticky && hasScrollOnRight : false,
|
|
14965
|
+
[styles$U[`${containerClassName}--no-shadow`]]: noShadow
|
|
14786
14966
|
}),
|
|
14787
14967
|
onScroll: onScroll,
|
|
14788
14968
|
ref: scrollContainerRef,
|
|
@@ -14790,11 +14970,11 @@ const DataTableStickyColumnsContainer = ({
|
|
|
14790
14970
|
}, children));
|
|
14791
14971
|
};
|
|
14792
14972
|
|
|
14793
|
-
var styles$
|
|
14973
|
+
var styles$S = {"data-table-empty-state":"_fCHjG"};
|
|
14794
14974
|
|
|
14795
|
-
var styles$
|
|
14975
|
+
var styles$R = {"empty-state-container-stack":"_4nO7T","empty-state-container-stack__content":"_KiEVo","empty-state-container-stack__content--full-page":"_ib04g","empty-state-container-stack__content--inline-horizontal":"_bSiJj","empty-state-container-stack__body":"_mi-dC"};
|
|
14796
14976
|
|
|
14797
|
-
var styles$
|
|
14977
|
+
var styles$Q = {"empty-state-container-cta":"_X-dEs","empty-state-container-cta--inside-modal":"_63-SX"};
|
|
14798
14978
|
|
|
14799
14979
|
const EmptyStateContainerCTA = ({
|
|
14800
14980
|
isPaywall,
|
|
@@ -14811,8 +14991,8 @@ const EmptyStateContainerCTA = ({
|
|
|
14811
14991
|
size: BUTTON_SIZES.MIN_WIDTH_100
|
|
14812
14992
|
});
|
|
14813
14993
|
return React__default.createElement("div", {
|
|
14814
|
-
className: classnames(styles$
|
|
14815
|
-
[styles$
|
|
14994
|
+
className: classnames(styles$Q['empty-state-container-cta'], {
|
|
14995
|
+
[styles$Q['empty-state-container-cta--inside-modal']]: _isInsideModal
|
|
14816
14996
|
})
|
|
14817
14997
|
}, primaryButton, secondaryButton);
|
|
14818
14998
|
};
|
|
@@ -14836,7 +15016,7 @@ const EmptyStateContainerStack = ({
|
|
|
14836
15016
|
mediaComponent
|
|
14837
15017
|
}) => {
|
|
14838
15018
|
return React__default.createElement("div", {
|
|
14839
|
-
className: styles$
|
|
15019
|
+
className: styles$R['empty-state-container-stack'],
|
|
14840
15020
|
"data-testid": testId
|
|
14841
15021
|
}, mediaComponent ? mediaComponent : mediaUrl && React__default.createElement("img", {
|
|
14842
15022
|
src: mediaUrl,
|
|
@@ -14853,7 +15033,7 @@ const EmptyStateContainerStack = ({
|
|
|
14853
15033
|
as: "body",
|
|
14854
15034
|
alignment: "center"
|
|
14855
15035
|
}, title), React__default.createElement("div", {
|
|
14856
|
-
className: styles$
|
|
15036
|
+
className: styles$R['empty-state-container-stack__body']
|
|
14857
15037
|
}, children)), React__default.createElement(Stack, {
|
|
14858
15038
|
space: 8,
|
|
14859
15039
|
alignItems: "center"
|
|
@@ -14965,7 +15145,7 @@ const DataTableEmptyState = ({
|
|
|
14965
15145
|
columnIndex: shouldRenderStickyLeftCell ? 1 : 0,
|
|
14966
15146
|
colSpan: colSpan
|
|
14967
15147
|
}, React__default.createElement("div", {
|
|
14968
|
-
className: styles$
|
|
15148
|
+
className: styles$S['data-table-empty-state']
|
|
14969
15149
|
}, React__default.createElement(EmptyStateContainerStack, {
|
|
14970
15150
|
mediaUrl: customImage,
|
|
14971
15151
|
mediaComponent: customImage === '' ? React__default.createElement(MagnifyingGlassIllustration, null) : undefined,
|
|
@@ -15052,7 +15232,7 @@ const DataTable = _ref => {
|
|
|
15052
15232
|
return null;
|
|
15053
15233
|
}
|
|
15054
15234
|
return React__default.createElement("div", {
|
|
15055
|
-
className: styles$
|
|
15235
|
+
className: styles$15['data-table__pagination-controls'],
|
|
15056
15236
|
"data-testid": testId && `${testId}-pagination-controls`
|
|
15057
15237
|
}, React__default.createElement(PaginationControls, {
|
|
15058
15238
|
hasPrevious: isLoading ? false : hasPrevious,
|
|
@@ -15075,7 +15255,7 @@ const DataTable = _ref => {
|
|
|
15075
15255
|
tableId
|
|
15076
15256
|
}
|
|
15077
15257
|
}, React__default.createElement("div", {
|
|
15078
|
-
className: classnames(styles$
|
|
15258
|
+
className: classnames(styles$15['data-table']),
|
|
15079
15259
|
ref: tableRef,
|
|
15080
15260
|
style: positionStyles
|
|
15081
15261
|
}, React__default.createElement(DataTableStickyColumnsContainer, {
|
|
@@ -15086,24 +15266,24 @@ const DataTable = _ref => {
|
|
|
15086
15266
|
placement: "top",
|
|
15087
15267
|
isShowingColumns: !!isShowingColumns
|
|
15088
15268
|
}), React__default.createElement("div", {
|
|
15089
|
-
className: classnames(styles$
|
|
15090
|
-
[styles$
|
|
15269
|
+
className: classnames(styles$15['data-table__content'], {
|
|
15270
|
+
[styles$15['data-table__content--with-scroll']]: isScrollableTable
|
|
15091
15271
|
}),
|
|
15092
15272
|
style: conditionalStyles,
|
|
15093
15273
|
id: `${tableId}-content`
|
|
15094
15274
|
}, state === DATA_TABLE_STATES.BACKGROUND_LOADING && React__default.createElement("div", {
|
|
15095
|
-
className: styles$
|
|
15275
|
+
className: styles$15['data-table__background-loading']
|
|
15096
15276
|
}, React__default.createElement(Spinner, null)), React__default.createElement("table", _extends({
|
|
15097
|
-
className: classnames(styles$
|
|
15098
|
-
[styles$
|
|
15277
|
+
className: classnames(styles$15['data-table__table'], {
|
|
15278
|
+
[styles$15['data-table__table--no-columns']]: !isShowingColumns
|
|
15099
15279
|
})
|
|
15100
15280
|
}, dataProps), columns && isShowingColumns && React__default.createElement(DataTableHeader, {
|
|
15101
15281
|
columns: columns,
|
|
15102
15282
|
onSort: onSort,
|
|
15103
15283
|
showActionMenu: isShowingContent && showActionMenu
|
|
15104
15284
|
}), React__default.createElement("tbody", {
|
|
15105
|
-
className: classnames(styles$
|
|
15106
|
-
[styles$
|
|
15285
|
+
className: classnames(styles$15['data-table__body'], {
|
|
15286
|
+
[styles$15['data-table__body--no-bottom-radius']]: isShowingFooter && isShowingContent
|
|
15107
15287
|
}),
|
|
15108
15288
|
"data-testid": testId
|
|
15109
15289
|
}, isShowingContent && content.map((item, index) => {
|
|
@@ -15122,7 +15302,7 @@ const DataTable = _ref => {
|
|
|
15122
15302
|
}), state === DATA_TABLE_STATES.SKELETON_LOADING && React__default.createElement(React__default.Fragment, null, skeletonRows.map((_, index) => React__default.createElement(SkeletonRow, {
|
|
15123
15303
|
key: index
|
|
15124
15304
|
})))), isShowingFooter && isShowingContent && React__default.createElement("tfoot", {
|
|
15125
|
-
className: styles$
|
|
15305
|
+
className: styles$15['data-table__footer'],
|
|
15126
15306
|
"data-testid": testId && `${testId}-footer`
|
|
15127
15307
|
}, footerComponent)))), !isShowingFooter && isScrollableTable && React__default.createElement(DataTableScrollFakeBorder, {
|
|
15128
15308
|
placement: "bottom",
|
|
@@ -15130,7 +15310,7 @@ const DataTable = _ref => {
|
|
|
15130
15310
|
})), React__default.createElement(Pagination, null));
|
|
15131
15311
|
};
|
|
15132
15312
|
|
|
15133
|
-
var styles$
|
|
15313
|
+
var styles$P = {"accordion-item":"_8980Z","accordion-item__link":"_C-YV6","accordion-item__header":"_vk-N-","accordion-item__icon":"_LSVms","accordion-item__icon--active":"_hLMLR","accordion-item__content":"_KFyFh","accordion-item__content--active":"_kykXP"};
|
|
15134
15314
|
|
|
15135
15315
|
const AccordionItem = props => {
|
|
15136
15316
|
const {
|
|
@@ -15145,9 +15325,9 @@ const AccordionItem = props => {
|
|
|
15145
15325
|
} = item;
|
|
15146
15326
|
const isFocusedByClickRef = React__default.useRef(false);
|
|
15147
15327
|
return React__default.createElement("div", {
|
|
15148
|
-
className: styles$
|
|
15328
|
+
className: styles$P['accordion-item']
|
|
15149
15329
|
}, React__default.createElement("button", {
|
|
15150
|
-
className: styles$
|
|
15330
|
+
className: styles$P['accordion-item__header'],
|
|
15151
15331
|
onClick: () => {
|
|
15152
15332
|
if (isOpen) {
|
|
15153
15333
|
handleAccordionItemOpen(null);
|
|
@@ -15174,15 +15354,15 @@ const AccordionItem = props => {
|
|
|
15174
15354
|
}, typeof title === 'string' ? React__default.createElement(Text, {
|
|
15175
15355
|
emphasis: "bold"
|
|
15176
15356
|
}, title) : title, React__default.createElement(IconChevronDown, {
|
|
15177
|
-
className: styles$
|
|
15357
|
+
className: styles$P[`accordion-item__icon${isOpen ? '--active' : ''}`],
|
|
15178
15358
|
color: 'surface-on-color-subtle'
|
|
15179
15359
|
}))), React__default.createElement("div", {
|
|
15180
15360
|
"data-testid": `${isOpen ? 'accordion-item-' + id + '-open' : 'accordion-item-' + id + '-closed'}`,
|
|
15181
|
-
className: styles$
|
|
15361
|
+
className: styles$P[`accordion-item__content${isOpen ? '--active' : ''}`]
|
|
15182
15362
|
}, isOpen && React__default.createElement(Text, null, content)));
|
|
15183
15363
|
};
|
|
15184
15364
|
|
|
15185
|
-
var styles$
|
|
15365
|
+
var styles$O = {"accordion":"_058SP"};
|
|
15186
15366
|
|
|
15187
15367
|
const _excluded$bb = ["items", "onExpand", "defaultOpenId"];
|
|
15188
15368
|
/**
|
|
@@ -15213,7 +15393,7 @@ const Accordion = _ref => {
|
|
|
15213
15393
|
isAccordionMounted: true
|
|
15214
15394
|
}
|
|
15215
15395
|
}, React__default.createElement("div", _extends({
|
|
15216
|
-
className: styles$
|
|
15396
|
+
className: styles$O['accordion']
|
|
15217
15397
|
}, dataProps), items.map((item, index) => {
|
|
15218
15398
|
const id = item.id || index.toString();
|
|
15219
15399
|
return React__default.createElement(AccordionItem, {
|
|
@@ -15227,7 +15407,7 @@ const Accordion = _ref => {
|
|
|
15227
15407
|
})));
|
|
15228
15408
|
};
|
|
15229
15409
|
|
|
15230
|
-
var styles$
|
|
15410
|
+
var styles$N = {"action-list":"_pWke5","action-list__title":"_p8I7K","action-list__empty-state":"_l-tFB"};
|
|
15231
15411
|
|
|
15232
15412
|
/**
|
|
15233
15413
|
* A list of tasks or items that require user attention and can be completed with an action. Each item should have at least one clear action for the user to take.
|
|
@@ -15242,15 +15422,15 @@ const ActionList = ({
|
|
|
15242
15422
|
const translate = useTranslation('ActionList');
|
|
15243
15423
|
const hasChildren = React__default.Children.count(children) > 0;
|
|
15244
15424
|
return React__default.createElement("div", {
|
|
15245
|
-
className: styles$
|
|
15425
|
+
className: styles$N['action-list'],
|
|
15246
15426
|
"data-testid": testId,
|
|
15247
15427
|
style: {
|
|
15248
15428
|
maxHeight: maxHeight
|
|
15249
15429
|
}
|
|
15250
15430
|
}, title && React__default.createElement("div", {
|
|
15251
|
-
className: styles$
|
|
15431
|
+
className: styles$N['action-list__title']
|
|
15252
15432
|
}, title), hasChildren ? children : React__default.createElement("div", {
|
|
15253
|
-
className: styles$
|
|
15433
|
+
className: styles$N['action-list__empty-state']
|
|
15254
15434
|
}, React__default.createElement(EmptyStateContainerStack, {
|
|
15255
15435
|
title: (emptyState == null ? void 0 : emptyState.title) || translate('emptyStateTitle'),
|
|
15256
15436
|
mediaUrl: emptyState == null ? void 0 : emptyState.image,
|
|
@@ -15428,7 +15608,7 @@ const useSelectFieldControllers = ({
|
|
|
15428
15608
|
return controllers;
|
|
15429
15609
|
};
|
|
15430
15610
|
|
|
15431
|
-
var styles$
|
|
15611
|
+
var styles$M = {"custom-control":"_pXQqq"};
|
|
15432
15612
|
|
|
15433
15613
|
const _excluded$ba = ["children"];
|
|
15434
15614
|
function CustomControl(_ref) {
|
|
@@ -15442,7 +15622,7 @@ function CustomControl(_ref) {
|
|
|
15442
15622
|
} = props.selectProps.componentsProps;
|
|
15443
15623
|
const selectedOption = (_props$getValue = props.getValue()) == null ? void 0 : _props$getValue[0];
|
|
15444
15624
|
return React__default.createElement(components.Control, _extends({}, props), SelectedOptionPrefix && selectedOption ? React__default.createElement("div", {
|
|
15445
|
-
className: styles$
|
|
15625
|
+
className: styles$M['custom-control'],
|
|
15446
15626
|
style: {
|
|
15447
15627
|
paddingLeft: selectedOption ? 8 : 0
|
|
15448
15628
|
}
|
|
@@ -15470,7 +15650,7 @@ function CustomOption(_ref) {
|
|
|
15470
15650
|
return React__default.createElement(components.Option, _extends({}, props), React__default.createElement(UserCustomOption, _extends({}, props), children));
|
|
15471
15651
|
}
|
|
15472
15652
|
|
|
15473
|
-
const FONT_FAMILY = "'
|
|
15653
|
+
const FONT_FAMILY = "'Inter', sans-serif";
|
|
15474
15654
|
|
|
15475
15655
|
const getSelectStyles = ({
|
|
15476
15656
|
isInvalid,
|
|
@@ -15500,7 +15680,7 @@ const getSelectStyles = ({
|
|
|
15500
15680
|
borderRadius: 'var(--border-radius-400)',
|
|
15501
15681
|
boxShadow: state.isFocused ? `0 0 8px ${COLORS['primary-color']}` : 'none',
|
|
15502
15682
|
'&:hover': 'none',
|
|
15503
|
-
fontSize: '
|
|
15683
|
+
fontSize: 'var(--font-body-ui-size)',
|
|
15504
15684
|
cursor: 'pointer',
|
|
15505
15685
|
width: _asToolbarFilter ? 'fit-content' : undefined,
|
|
15506
15686
|
margin: 0,
|
|
@@ -15531,14 +15711,14 @@ const getSelectStyles = ({
|
|
|
15531
15711
|
textAlign: 'center',
|
|
15532
15712
|
padding: '8px',
|
|
15533
15713
|
fontFamily: FONT_FAMILY,
|
|
15534
|
-
fontSize: '
|
|
15714
|
+
fontSize: 'var(--font-body-ui-size)'
|
|
15535
15715
|
}),
|
|
15536
15716
|
loadingMessage: () => ({
|
|
15537
15717
|
color: COLORS['surface-on-color'],
|
|
15538
15718
|
textAlign: 'center',
|
|
15539
15719
|
padding: '8px',
|
|
15540
15720
|
fontFamily: FONT_FAMILY,
|
|
15541
|
-
fontSize: '
|
|
15721
|
+
fontSize: 'var(--font-body-ui-size)'
|
|
15542
15722
|
}),
|
|
15543
15723
|
singleValue: (base, state) => {
|
|
15544
15724
|
return Object.assign({}, base, {
|
|
@@ -15565,7 +15745,7 @@ const getSelectStyles = ({
|
|
|
15565
15745
|
color: state.isDisabled ? COLORS['surface-on-color-disabled'] : state.isSelected ? COLORS['primary-on-container-variant'] : COLORS['surface-on-color'],
|
|
15566
15746
|
cursor: 'pointer',
|
|
15567
15747
|
fontFamily: FONT_FAMILY,
|
|
15568
|
-
fontSize: '
|
|
15748
|
+
fontSize: 'var(--font-body-ui-size)',
|
|
15569
15749
|
wordBreak: 'break-word'
|
|
15570
15750
|
});
|
|
15571
15751
|
},
|
|
@@ -15621,9 +15801,9 @@ const CustomContainer = props => {
|
|
|
15621
15801
|
}));
|
|
15622
15802
|
};
|
|
15623
15803
|
|
|
15624
|
-
var styles$
|
|
15804
|
+
var styles$L = {"custom-menu-text-field":"_AAUjm","custom-menu-hr":"_mFLK9","custom-menu-div":"_1XpI4"};
|
|
15625
15805
|
|
|
15626
|
-
var styles$
|
|
15806
|
+
var styles$K = {"creatable-button--align-left":"_Qw267","creatable-button":"_f9V5D"};
|
|
15627
15807
|
|
|
15628
15808
|
/**
|
|
15629
15809
|
* Shared creatable button component used in CustomMenu and CustomGroupWithCreate.
|
|
@@ -15647,8 +15827,8 @@ const CreatableButton = ({
|
|
|
15647
15827
|
};
|
|
15648
15828
|
if (!button || typeof button === 'string') {
|
|
15649
15829
|
return React__default.createElement("div", {
|
|
15650
|
-
className: classnames(styles$
|
|
15651
|
-
[styles$
|
|
15830
|
+
className: classnames(styles$K['creatable-button'], {
|
|
15831
|
+
[styles$K['creatable-button--align-left']]: _alignLeft
|
|
15652
15832
|
})
|
|
15653
15833
|
}, React__default.createElement(Button, {
|
|
15654
15834
|
theme: "link-primary",
|
|
@@ -15673,8 +15853,8 @@ const CreatableButton = ({
|
|
|
15673
15853
|
overrideProps.theme = 'link-primary';
|
|
15674
15854
|
}
|
|
15675
15855
|
return React__default.createElement("div", {
|
|
15676
|
-
className: classnames(styles$
|
|
15677
|
-
[styles$
|
|
15856
|
+
className: classnames(styles$K['creatable-button'], {
|
|
15857
|
+
[styles$K['creatable-button--align-left']]: _alignLeft
|
|
15678
15858
|
})
|
|
15679
15859
|
}, React__default.cloneElement(button, overrideProps));
|
|
15680
15860
|
};
|
|
@@ -15700,7 +15880,7 @@ const CreateInputForm = ({
|
|
|
15700
15880
|
flex: [1],
|
|
15701
15881
|
flexItems: true
|
|
15702
15882
|
}, React__default.createElement("input", {
|
|
15703
|
-
className: classnames(styles$
|
|
15883
|
+
className: classnames(styles$1v['text-field'], inputClassName),
|
|
15704
15884
|
autoCorrect: "off",
|
|
15705
15885
|
autoComplete: "off",
|
|
15706
15886
|
spellCheck: "false",
|
|
@@ -15766,7 +15946,7 @@ function CustomMenu(_ref) {
|
|
|
15766
15946
|
return React__default.createElement(components.Menu, _extends({}, props), React__default.createElement("div", {
|
|
15767
15947
|
ref: containerRef
|
|
15768
15948
|
}, children, React__default.createElement("hr", {
|
|
15769
|
-
className: styles$
|
|
15949
|
+
className: styles$L['custom-menu-hr']
|
|
15770
15950
|
}), !showFooter ? React__default.createElement(CreatableButton, {
|
|
15771
15951
|
creatableButton: creatableButton,
|
|
15772
15952
|
onClick: () => setShowFooter(true),
|
|
@@ -15777,13 +15957,13 @@ function CustomMenu(_ref) {
|
|
|
15777
15957
|
onMenuInputFocus: onMenuInputFocus,
|
|
15778
15958
|
onSubmit: onCreateButton,
|
|
15779
15959
|
defaultValue: inputDefaultValue,
|
|
15780
|
-
wrapperClassName: styles$
|
|
15781
|
-
inputClassName: styles$
|
|
15960
|
+
wrapperClassName: styles$L['custom-menu-div'],
|
|
15961
|
+
inputClassName: styles$L['custom-menu-text-field'],
|
|
15782
15962
|
testId: "select-create-option-input"
|
|
15783
15963
|
})));
|
|
15784
15964
|
}
|
|
15785
15965
|
|
|
15786
|
-
var styles$
|
|
15966
|
+
var styles$J = {"custom-group-with-create-text-field":"_JZG4r","custom-group-with-create-hr":"_04fIM","custom-group-with-create-input-wrapper":"_oJzDV","custom-group-with-create-button-wrapper":"_hLu2D"};
|
|
15787
15967
|
|
|
15788
15968
|
function CustomGroupWithCreate(props) {
|
|
15789
15969
|
const {
|
|
@@ -15817,7 +15997,7 @@ function CustomGroupWithCreate(props) {
|
|
|
15817
15997
|
return React__default.createElement("div", {
|
|
15818
15998
|
ref: containerRef
|
|
15819
15999
|
}, React__default.createElement(components.Group, _extends({}, props)), !isInputActive ? React__default.createElement("div", {
|
|
15820
|
-
className: styles$
|
|
16000
|
+
className: styles$J['custom-group-with-create-button-wrapper']
|
|
15821
16001
|
}, React__default.createElement(CreatableButton, {
|
|
15822
16002
|
creatableButton: creatableButton,
|
|
15823
16003
|
onClick: () => setActiveGroupLabel(groupLabel),
|
|
@@ -15829,8 +16009,8 @@ function CustomGroupWithCreate(props) {
|
|
|
15829
16009
|
onMenuInputFocus: onMenuInputFocus,
|
|
15830
16010
|
onSubmit: onCreateButton,
|
|
15831
16011
|
defaultValue: inputDefaultValue,
|
|
15832
|
-
wrapperClassName: styles$
|
|
15833
|
-
inputClassName: styles$
|
|
16012
|
+
wrapperClassName: styles$J['custom-group-with-create-input-wrapper'],
|
|
16013
|
+
inputClassName: styles$J['custom-group-with-create-text-field'],
|
|
15834
16014
|
testId: `select-create-option-input-${groupLabel}`
|
|
15835
16015
|
}));
|
|
15836
16016
|
}
|
|
@@ -15939,7 +16119,7 @@ const useSelectField = _ref => {
|
|
|
15939
16119
|
};
|
|
15940
16120
|
};
|
|
15941
16121
|
|
|
15942
|
-
var styles$
|
|
16122
|
+
var styles$I = {"select-field__suffix":"_vqC1M"};
|
|
15943
16123
|
|
|
15944
16124
|
/** Simple dropdown field where the user chooses one option from a predefined list. */
|
|
15945
16125
|
const SelectField = props => {
|
|
@@ -15949,7 +16129,7 @@ const SelectField = props => {
|
|
|
15949
16129
|
} = useSelectField(props);
|
|
15950
16130
|
//Select field has the chevron icon as suffix, so we need to add a margin to the suffix to avoid overlapping with the chevron icon
|
|
15951
16131
|
const suffixWithMargin = props.suffix ? React__default.createElement("div", {
|
|
15952
|
-
className: styles$
|
|
16132
|
+
className: styles$I['select-field__suffix']
|
|
15953
16133
|
}, props.suffix) : undefined;
|
|
15954
16134
|
return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
|
|
15955
16135
|
prefix: props.prefix,
|
|
@@ -15994,9 +16174,9 @@ const ToolbarSelect = _ref => {
|
|
|
15994
16174
|
}, rest));
|
|
15995
16175
|
};
|
|
15996
16176
|
|
|
15997
|
-
var styles$
|
|
16177
|
+
var styles$H = {"date-filter":"_PyXfe","date-filter--wide":"_P6ttU"};
|
|
15998
16178
|
|
|
15999
|
-
var styles$
|
|
16179
|
+
var styles$G = {"date-filter-display":"_N37zE","date-filter-display--non-interactive":"_42Bvz","date-filter-display--wide":"_h8n2w","date-filter-display__display-icon":"_i08yV"};
|
|
16000
16180
|
|
|
16001
16181
|
const DATE_FILTER_MODE = {
|
|
16002
16182
|
DAY: 'day',
|
|
@@ -16050,8 +16230,8 @@ const DateFilterDisplay = forwardRef(({
|
|
|
16050
16230
|
onClick
|
|
16051
16231
|
}, ref) => {
|
|
16052
16232
|
return React__default.createElement("button", {
|
|
16053
|
-
className: classnames(styles$
|
|
16054
|
-
[styles$
|
|
16233
|
+
className: classnames(styles$G['date-filter-display'], {
|
|
16234
|
+
[styles$G['date-filter-display--wide']]: mode === DATE_FILTER_MODE.WEEK
|
|
16055
16235
|
}),
|
|
16056
16236
|
onClick: onClick,
|
|
16057
16237
|
tabIndex: mode === DATE_FILTER_MODE.MONTH ? -1 : undefined,
|
|
@@ -16060,7 +16240,7 @@ const DateFilterDisplay = forwardRef(({
|
|
|
16060
16240
|
space: 12,
|
|
16061
16241
|
alignItems: "center"
|
|
16062
16242
|
}, React__default.createElement("div", {
|
|
16063
|
-
className: classnames(styles$
|
|
16243
|
+
className: classnames(styles$G['date-filter-display__display-icon'])
|
|
16064
16244
|
}, React__default.createElement(IconCalendarAlt, {
|
|
16065
16245
|
size: "flexible",
|
|
16066
16246
|
color: "surface-on-color-subtle"
|
|
@@ -16071,7 +16251,7 @@ const DateFilterDisplay = forwardRef(({
|
|
|
16071
16251
|
})));
|
|
16072
16252
|
});
|
|
16073
16253
|
|
|
16074
|
-
var styles$
|
|
16254
|
+
var styles$F = {"date-stepper":"_9wFtw","date-stepper--backward":"_OrtcR","date-stepper--forward":"_oYoUt"};
|
|
16075
16255
|
|
|
16076
16256
|
const handleDateStepper = (date, mode, stepDirection, onChange) => {
|
|
16077
16257
|
const step = stepDirection === STEP_DIRECTION.FORWARD ? 1 : -1;
|
|
@@ -16100,9 +16280,9 @@ const DateFilterStepper = ({
|
|
|
16100
16280
|
date
|
|
16101
16281
|
}) => {
|
|
16102
16282
|
return React__default.createElement("button", {
|
|
16103
|
-
className: classnames(styles$
|
|
16104
|
-
[styles$
|
|
16105
|
-
[styles$
|
|
16283
|
+
className: classnames(styles$F['date-stepper'], {
|
|
16284
|
+
[styles$F['date-stepper--backward']]: stepDirection === STEP_DIRECTION.BACKWARD,
|
|
16285
|
+
[styles$F['date-stepper--forward']]: stepDirection === STEP_DIRECTION.FORWARD
|
|
16106
16286
|
}),
|
|
16107
16287
|
onClick: () => handleDateStepper(date, mode, stepDirection, onChange)
|
|
16108
16288
|
}, children);
|
|
@@ -16167,9 +16347,9 @@ const CalendarMonth = ({
|
|
|
16167
16347
|
}
|
|
16168
16348
|
const MONTHS = [...Array(12).keys()];
|
|
16169
16349
|
return React__default.createElement(Portal, null, React__default.createElement("div", {
|
|
16170
|
-
className: styles$
|
|
16350
|
+
className: styles$1c['calendar']
|
|
16171
16351
|
}, React__default.createElement("div", {
|
|
16172
|
-
className: styles$
|
|
16352
|
+
className: styles$1c['calendar__overlay'],
|
|
16173
16353
|
ref: ref => setCalendarRef(ref),
|
|
16174
16354
|
style: _extends({}, calendarPosition, {
|
|
16175
16355
|
zIndex: isInsideDropdown ? getZIndex('dropdown-level-2') : getZIndex('dropdown')
|
|
@@ -16247,8 +16427,8 @@ const DateFilter = ({
|
|
|
16247
16427
|
const onClickOutside = useCallback(() => setCalendarOpen(false), [setCalendarOpen]);
|
|
16248
16428
|
return React__default.createElement("div", {
|
|
16249
16429
|
"data-testid": testId,
|
|
16250
|
-
className: classnames(styles$
|
|
16251
|
-
[styles$
|
|
16430
|
+
className: classnames(styles$H['date-filter'], {
|
|
16431
|
+
[styles$H['date-filter--wide']]: _mode === DATE_FILTER_MODE.WEEK
|
|
16252
16432
|
})
|
|
16253
16433
|
}, React__default.createElement(Inline, {
|
|
16254
16434
|
space: 0
|
|
@@ -16292,7 +16472,7 @@ const DateFilter = ({
|
|
|
16292
16472
|
}));
|
|
16293
16473
|
};
|
|
16294
16474
|
|
|
16295
|
-
var styles$
|
|
16475
|
+
var styles$E = {"segmented-control":"_RezMY","segmented-control__button":"_lehFG","segmented-control__button--selected":"_Fr5kb"};
|
|
16296
16476
|
|
|
16297
16477
|
const SegmentedControl = ({
|
|
16298
16478
|
options,
|
|
@@ -16304,21 +16484,21 @@ const SegmentedControl = ({
|
|
|
16304
16484
|
return option === value;
|
|
16305
16485
|
};
|
|
16306
16486
|
return React__default.createElement("div", {
|
|
16307
|
-
className: styles$
|
|
16487
|
+
className: styles$E['segmented-control'],
|
|
16308
16488
|
"data-testid": testId
|
|
16309
16489
|
}, options.map(option => React__default.createElement(React__default.Fragment, {
|
|
16310
16490
|
key: option
|
|
16311
16491
|
}, React__default.createElement("button", {
|
|
16312
16492
|
onClick: () => onChange(option),
|
|
16313
|
-
className: classnames(styles$
|
|
16314
|
-
[styles$
|
|
16493
|
+
className: classnames(styles$E['segmented-control__button'], {
|
|
16494
|
+
[styles$E['segmented-control__button--selected']]: isSelected(option)
|
|
16315
16495
|
})
|
|
16316
16496
|
}, option))));
|
|
16317
16497
|
};
|
|
16318
16498
|
|
|
16319
|
-
var styles$
|
|
16499
|
+
var styles$D = {"form--standard-size":"_8-Ykj"};
|
|
16320
16500
|
|
|
16321
|
-
var styles$
|
|
16501
|
+
var styles$C = {"form-section":"_3uYIj","form-section__title":"_2WdOf","form-section__subtitle":"_zybxx","form-section--no-margin":"_xT-U1"};
|
|
16322
16502
|
|
|
16323
16503
|
/**
|
|
16324
16504
|
* FormSection is a component that groups related form fields together, optionally with a title and subtitle. It can also be rendered as a card for visual separation.
|
|
@@ -16334,13 +16514,13 @@ const FormSection = ({
|
|
|
16334
16514
|
const content = React__default.createElement(Stack, null, (title || subtitle) && React__default.createElement(Stack, {
|
|
16335
16515
|
space: 8
|
|
16336
16516
|
}, title && React__default.createElement("h2", {
|
|
16337
|
-
className: classnames(styles$
|
|
16517
|
+
className: classnames(styles$C['form-section__title'])
|
|
16338
16518
|
}, title), subtitle && React__default.createElement("h3", {
|
|
16339
|
-
className: classnames(styles$
|
|
16519
|
+
className: classnames(styles$C['form-section__subtitle'])
|
|
16340
16520
|
}, subtitle)), children);
|
|
16341
16521
|
return React__default.createElement("div", {
|
|
16342
|
-
className: classnames(styles$
|
|
16343
|
-
[styles$
|
|
16522
|
+
className: classnames(styles$C['form-section'], {
|
|
16523
|
+
[styles$C['form-section--no-margin']]: _noMargin || as === 'card'
|
|
16344
16524
|
}),
|
|
16345
16525
|
"data-testid": testId
|
|
16346
16526
|
}, as === 'card' ? React__default.createElement(Card, {
|
|
@@ -16360,7 +16540,7 @@ const updateButtonProps = (child, newProps) => {
|
|
|
16360
16540
|
}, newProps, child.props));
|
|
16361
16541
|
};
|
|
16362
16542
|
|
|
16363
|
-
var styles$
|
|
16543
|
+
var styles$B = {"form-footer":"_4ksfB"};
|
|
16364
16544
|
|
|
16365
16545
|
const FormFooterActions = ({
|
|
16366
16546
|
actions
|
|
@@ -16399,7 +16579,7 @@ const FormFooter = ({
|
|
|
16399
16579
|
});
|
|
16400
16580
|
const isInlineChildren = React__default.Children.count(children) === 1 && React__default.isValidElement(children) && children.type === Inline;
|
|
16401
16581
|
return React__default.createElement("div", {
|
|
16402
|
-
className: classnames(styles$
|
|
16582
|
+
className: classnames(styles$B['form-footer']),
|
|
16403
16583
|
"data-testid": testId
|
|
16404
16584
|
}, actions && React__default.createElement(FormFooterActions, {
|
|
16405
16585
|
actions: actions
|
|
@@ -16437,13 +16617,13 @@ const Form = ({
|
|
|
16437
16617
|
}, React__default.createElement("form", {
|
|
16438
16618
|
onSubmit: onSubmit ? handleSubmit : formik == null ? void 0 : formik.handleSubmit,
|
|
16439
16619
|
className: classnames({
|
|
16440
|
-
[styles$
|
|
16620
|
+
[styles$D['form--standard-size']]: !_wide
|
|
16441
16621
|
}),
|
|
16442
16622
|
"data-testid": testId
|
|
16443
16623
|
}, _stackContent ? React__default.createElement(Stack, null, formattedChildren) : formattedChildren));
|
|
16444
16624
|
};
|
|
16445
16625
|
|
|
16446
|
-
var styles$
|
|
16626
|
+
var styles$A = {"form-row":"_xX-RS"};
|
|
16447
16627
|
|
|
16448
16628
|
const SIZE_25_PERCENT = '25%';
|
|
16449
16629
|
const SIZE_33_PERCENT = '33.333%';
|
|
@@ -16470,14 +16650,14 @@ const FormRow = ({
|
|
|
16470
16650
|
space: _space,
|
|
16471
16651
|
testId: testId,
|
|
16472
16652
|
alignItems: "stretch",
|
|
16473
|
-
extraClass: styles$
|
|
16653
|
+
extraClass: styles$A['form-row']
|
|
16474
16654
|
}, children, additionalColumns.map((_, index) => React__default.createElement("span", {
|
|
16475
16655
|
key: index,
|
|
16476
16656
|
"data-testid": "empty-cell"
|
|
16477
16657
|
})));
|
|
16478
16658
|
};
|
|
16479
16659
|
|
|
16480
|
-
var styles$
|
|
16660
|
+
var styles$z = {"text-field":"_JaB08","text-field--focus":"_62RIR","text-field--disabled":"_CDt23","text-field--invalid":"_wf4XP","text-field__toolbar":"_7xVsj"};
|
|
16481
16661
|
|
|
16482
16662
|
const useGrowTextAreaRef = (minHeight, maxHeight, autoGrow, forwardedRef) => {
|
|
16483
16663
|
const textareaRef = useRef(null);
|
|
@@ -16547,10 +16727,10 @@ const TextAreaField = ({
|
|
|
16547
16727
|
return React__default.createElement(Field, _extends({}, fieldProps, {
|
|
16548
16728
|
characterCount: controllers.value !== undefined && maxLength ? maxLength - controllers.value.length : undefined
|
|
16549
16729
|
}), React__default.createElement("div", {
|
|
16550
|
-
className: classnames(styles$
|
|
16551
|
-
[styles$
|
|
16552
|
-
[styles$
|
|
16553
|
-
[styles$
|
|
16730
|
+
className: classnames(styles$z['text-field'], {
|
|
16731
|
+
[styles$z['text-field--invalid']]: hasError,
|
|
16732
|
+
[styles$z['text-field--disabled']]: disabled,
|
|
16733
|
+
[styles$z['text-field--focus']]: hasFocus
|
|
16554
16734
|
}),
|
|
16555
16735
|
ref: containerRef,
|
|
16556
16736
|
onClick: event => {
|
|
@@ -16582,7 +16762,7 @@ const TextAreaField = ({
|
|
|
16582
16762
|
ref: textAreaRef,
|
|
16583
16763
|
maxLength: maxLength
|
|
16584
16764
|
}), toolbar && React__default.createElement("div", {
|
|
16585
|
-
className: styles$
|
|
16765
|
+
className: styles$z['text-field__toolbar'],
|
|
16586
16766
|
id: `${controllers.id}-toolbar`,
|
|
16587
16767
|
ref: toolbarRef,
|
|
16588
16768
|
onClick: event => {
|
|
@@ -16619,7 +16799,7 @@ const TextFieldElement = (_ref, ref) => {
|
|
|
16619
16799
|
*/
|
|
16620
16800
|
const TextField = forwardRef(TextFieldElement);
|
|
16621
16801
|
|
|
16622
|
-
var styles$
|
|
16802
|
+
var styles$y = {"pill-select-field":"_Yti6k","pill-select-field__creating-input":"_dw-VP","pill-select-field__custom-input":"_JXakU","pill-select-field__add-new-input":"_MsKVV","pill-select-field__creating-custom-input":"_ZxEwG","pill-select-field__removable-icon":"_Odw1V"};
|
|
16623
16803
|
|
|
16624
16804
|
const useMultiSelectFieldControllers = ({
|
|
16625
16805
|
name,
|
|
@@ -16684,10 +16864,10 @@ const CreatableOption = ({
|
|
|
16684
16864
|
};
|
|
16685
16865
|
return React__default.createElement(React__default.Fragment, null, !isCreatingOption && React__default.createElement("div", {
|
|
16686
16866
|
key: 'pill-select-field-create-option',
|
|
16687
|
-
className: styles$
|
|
16867
|
+
className: styles$y['pill-select-field']
|
|
16688
16868
|
}, React__default.createElement("button", {
|
|
16689
16869
|
"data-testid": testId ? `${testId}-create-option` : undefined,
|
|
16690
|
-
className: styles$
|
|
16870
|
+
className: styles$y['pill-select-field__add-new-input'],
|
|
16691
16871
|
onClick: () => {
|
|
16692
16872
|
setIsCreatingOption(true);
|
|
16693
16873
|
setNewOptionLabel('');
|
|
@@ -16696,9 +16876,9 @@ const CreatableOption = ({
|
|
|
16696
16876
|
size: "small"
|
|
16697
16877
|
}), createOptionLabel)), isCreatingOption && React__default.createElement("div", {
|
|
16698
16878
|
key: 'pill-select-field-creating-option',
|
|
16699
|
-
className: styles$
|
|
16879
|
+
className: styles$y['pill-select-field']
|
|
16700
16880
|
}, React__default.createElement("input", {
|
|
16701
|
-
className: styles$
|
|
16881
|
+
className: styles$y['pill-select-field__creating-input'],
|
|
16702
16882
|
name: `${name}-pill-select-field-creating-option`,
|
|
16703
16883
|
id: 'pill-select-field-creating-option',
|
|
16704
16884
|
type: "text",
|
|
@@ -16719,7 +16899,7 @@ const CreatableOption = ({
|
|
|
16719
16899
|
}
|
|
16720
16900
|
}
|
|
16721
16901
|
}), React__default.createElement("span", {
|
|
16722
|
-
className: styles$
|
|
16902
|
+
className: styles$y['pill-select-field__creating-custom-input']
|
|
16723
16903
|
}, !newOptionLabel && React__default.createElement(Text, {
|
|
16724
16904
|
as: "body",
|
|
16725
16905
|
color: "surface-on-color-disabled"
|
|
@@ -16770,7 +16950,7 @@ const PillSelectField = ({
|
|
|
16770
16950
|
}
|
|
16771
16951
|
};
|
|
16772
16952
|
return React__default.createElement("button", {
|
|
16773
|
-
className: styles$
|
|
16953
|
+
className: styles$y['pill-select-field__removable-icon'],
|
|
16774
16954
|
onClick: handleClick,
|
|
16775
16955
|
disabled: disabled
|
|
16776
16956
|
}, React__default.createElement(IconTimes, {
|
|
@@ -16787,7 +16967,7 @@ const PillSelectField = ({
|
|
|
16787
16967
|
const itemId = `${controllers.id}-${itemIdentifier}`;
|
|
16788
16968
|
return React__default.createElement("div", {
|
|
16789
16969
|
key: itemIdentifier,
|
|
16790
|
-
className: styles$
|
|
16970
|
+
className: styles$y['pill-select-field']
|
|
16791
16971
|
}, React__default.createElement("input", {
|
|
16792
16972
|
name: `${name}-${itemIdentifier}`,
|
|
16793
16973
|
id: itemId,
|
|
@@ -16807,7 +16987,7 @@ const PillSelectField = ({
|
|
|
16807
16987
|
controllers.onChange(newValue);
|
|
16808
16988
|
}
|
|
16809
16989
|
}), React__default.createElement("span", {
|
|
16810
|
-
className: styles$
|
|
16990
|
+
className: styles$y['pill-select-field__custom-input']
|
|
16811
16991
|
}, option.label, option.isRemovable && React__default.createElement(RemoveButton, {
|
|
16812
16992
|
option: option
|
|
16813
16993
|
})));
|
|
@@ -16819,7 +16999,7 @@ const PillSelectField = ({
|
|
|
16819
16999
|
})));
|
|
16820
17000
|
};
|
|
16821
17001
|
|
|
16822
|
-
var styles$
|
|
17002
|
+
var styles$x = {"week-select-field":"_IYHYX","week-select-field__day":"_JnbPv","week-select-field__day-pill":"_9GwLj","week-select-field__day-abbr":"_WcKdi","week-select-field__day-num":"_MQ3xL"};
|
|
16823
17003
|
|
|
16824
17004
|
const toKey = d => `${d.getFullYear()}-${d.getMonth()}-${d.getDate()}`;
|
|
16825
17005
|
/**
|
|
@@ -16864,14 +17044,14 @@ const WeekSelectField = ({
|
|
|
16864
17044
|
caption: caption,
|
|
16865
17045
|
error: error
|
|
16866
17046
|
}, React__default.createElement("div", {
|
|
16867
|
-
className: styles$
|
|
17047
|
+
className: styles$x['week-select-field']
|
|
16868
17048
|
}, days.map((day, index) => {
|
|
16869
17049
|
const key = toKey(day);
|
|
16870
17050
|
const isChecked = selectedKeys.has(key);
|
|
16871
17051
|
const itemId = `${id}-${key}`;
|
|
16872
17052
|
return React__default.createElement("div", {
|
|
16873
17053
|
key: key,
|
|
16874
|
-
className: styles$
|
|
17054
|
+
className: styles$x['week-select-field__day']
|
|
16875
17055
|
}, React__default.createElement("input", {
|
|
16876
17056
|
type: "checkbox",
|
|
16877
17057
|
id: itemId,
|
|
@@ -16886,11 +17066,11 @@ const WeekSelectField = ({
|
|
|
16886
17066
|
handleChange(newValue);
|
|
16887
17067
|
}
|
|
16888
17068
|
}), React__default.createElement("span", {
|
|
16889
|
-
className: styles$
|
|
17069
|
+
className: styles$x['week-select-field__day-pill']
|
|
16890
17070
|
}, React__default.createElement("span", {
|
|
16891
|
-
className: styles$
|
|
17071
|
+
className: styles$x['week-select-field__day-abbr']
|
|
16892
17072
|
}, _displayFormat === 'month' ? monthAbbr[day.getMonth()] : dayAbbr[day.getDay()]), React__default.createElement("span", {
|
|
16893
|
-
className: styles$
|
|
17073
|
+
className: styles$x['week-select-field__day-num']
|
|
16894
17074
|
}, day.getDate())));
|
|
16895
17075
|
})));
|
|
16896
17076
|
};
|
|
@@ -16932,9 +17112,9 @@ const useRadioGroupFieldContext = () => {
|
|
|
16932
17112
|
return context;
|
|
16933
17113
|
};
|
|
16934
17114
|
|
|
16935
|
-
var styles$
|
|
17115
|
+
var styles$w = {"label":"_xzukU","label--truncate":"_iVWRB","caption":"_JNfQO","radio-group-field__label":"_2KvuU","radio-group-field__caption":"_ZeIOd"};
|
|
16936
17116
|
|
|
16937
|
-
var styles$
|
|
17117
|
+
var styles$v = {"label":"_s7mjc","label--truncate":"_dZjDs","caption":"_JIw-5","radio-group-box-option":"_IIX-P","radio-group-box-option__box":"_P588B","radio-group-box-option__box--disabled":"_Ir3Og","radio-group-box-option__label":"_U--9r","radio-group-box-option__label--disabled":"_Lvxmy","radio-group-box-option__caption":"_NC-bO","radio-group-box-option__caption--disabled":"_04Cjp"};
|
|
16938
17118
|
|
|
16939
17119
|
const RadioGroupBoxOption = ({
|
|
16940
17120
|
value,
|
|
@@ -16951,7 +17131,7 @@ const RadioGroupBoxOption = ({
|
|
|
16951
17131
|
id: inputId
|
|
16952
17132
|
});
|
|
16953
17133
|
return React__default.createElement("label", {
|
|
16954
|
-
className: styles$
|
|
17134
|
+
className: styles$v['radio-group-box-option'],
|
|
16955
17135
|
"data-testid": testId
|
|
16956
17136
|
}, React__default.createElement("input", {
|
|
16957
17137
|
type: "radio",
|
|
@@ -16962,8 +17142,8 @@ const RadioGroupBoxOption = ({
|
|
|
16962
17142
|
checked: radioGroupContext.value !== undefined ? radioGroupContext.value === value : undefined,
|
|
16963
17143
|
disabled: radioGroupContext.disabled || disabled
|
|
16964
17144
|
}), React__default.createElement("div", {
|
|
16965
|
-
className: classnames(styles$
|
|
16966
|
-
[styles$
|
|
17145
|
+
className: classnames(styles$v['radio-group-box-option__box'], {
|
|
17146
|
+
[styles$v['radio-group-box-option__box--disabled']]: radioGroupContext.disabled || disabled
|
|
16967
17147
|
})
|
|
16968
17148
|
}, React__default.createElement(Stack, {
|
|
16969
17149
|
space: 16,
|
|
@@ -16973,17 +17153,17 @@ const RadioGroupBoxOption = ({
|
|
|
16973
17153
|
space: 8,
|
|
16974
17154
|
alignItems: "center"
|
|
16975
17155
|
}, label && React__default.createElement("div", {
|
|
16976
|
-
className: classnames(styles$
|
|
16977
|
-
[styles$
|
|
17156
|
+
className: classnames(styles$v['radio-group-box-option__label'], {
|
|
17157
|
+
[styles$v['radio-group-box-option__label--disabled']]: radioGroupContext.disabled || disabled
|
|
16978
17158
|
})
|
|
16979
17159
|
}, label), caption && React__default.createElement("div", {
|
|
16980
|
-
className: classnames(styles$
|
|
16981
|
-
[styles$
|
|
17160
|
+
className: classnames(styles$v['radio-group-box-option__caption'], {
|
|
17161
|
+
[styles$v['radio-group-box-option__caption--disabled']]: radioGroupContext.disabled || disabled
|
|
16982
17162
|
})
|
|
16983
17163
|
}, caption)))));
|
|
16984
17164
|
};
|
|
16985
17165
|
|
|
16986
|
-
var styles$
|
|
17166
|
+
var styles$u = {"radio-group-option":"_7fVpn","radio-group-option__caption":"_VD7SO","radio-group-option__custom-input":"_Yfxkl"};
|
|
16987
17167
|
|
|
16988
17168
|
/** RadioGroupField form element. */
|
|
16989
17169
|
const RadioGroupOption = ({
|
|
@@ -17005,7 +17185,7 @@ const RadioGroupOption = ({
|
|
|
17005
17185
|
space: 8,
|
|
17006
17186
|
alignItems: "center"
|
|
17007
17187
|
}, React__default.createElement("div", {
|
|
17008
|
-
className: styles$
|
|
17188
|
+
className: styles$u['radio-group-option']
|
|
17009
17189
|
}, React__default.createElement("input", {
|
|
17010
17190
|
type: "radio",
|
|
17011
17191
|
"data-testid": testId,
|
|
@@ -17016,11 +17196,11 @@ const RadioGroupOption = ({
|
|
|
17016
17196
|
checked: radioGroupContext.value !== undefined ? radioGroupContext.value === value : undefined,
|
|
17017
17197
|
disabled: radioGroupContext.disabled || disabled
|
|
17018
17198
|
}), React__default.createElement("span", {
|
|
17019
|
-
className: styles$
|
|
17199
|
+
className: styles$u['radio-group-option__custom-input']
|
|
17020
17200
|
})), label && React__default.createElement(Label, {
|
|
17021
17201
|
htmlFor: id
|
|
17022
17202
|
}, label)), caption && React__default.createElement("div", {
|
|
17023
|
-
className: styles$
|
|
17203
|
+
className: styles$u['radio-group-option__caption']
|
|
17024
17204
|
}, React__default.createElement(Caption, {
|
|
17025
17205
|
fieldId: id
|
|
17026
17206
|
}, caption)));
|
|
@@ -17151,7 +17331,7 @@ const RadioGroupField = ({
|
|
|
17151
17331
|
}, React__default.createElement(Stack, {
|
|
17152
17332
|
space: _space
|
|
17153
17333
|
}, label && React__default.createElement("div", {
|
|
17154
|
-
className: styles$
|
|
17334
|
+
className: styles$w['radio-group-field__label']
|
|
17155
17335
|
}, label), React__default.createElement(Stack, {
|
|
17156
17336
|
space: 8
|
|
17157
17337
|
}, optionsType === OPTION_TYPES.RADIO ? React__default.createElement(RadioOptions, {
|
|
@@ -17163,21 +17343,21 @@ const RadioGroupField = ({
|
|
|
17163
17343
|
testId: testId,
|
|
17164
17344
|
space: _space
|
|
17165
17345
|
}, children), caption && React__default.createElement("div", {
|
|
17166
|
-
className: styles$
|
|
17346
|
+
className: styles$w['radio-group-caption']
|
|
17167
17347
|
}, caption), controllers.error && React__default.createElement(ErrorMessage, null, controllers.error))));
|
|
17168
17348
|
};
|
|
17169
17349
|
|
|
17170
|
-
var styles$
|
|
17350
|
+
var styles$t = {"text-field":"_6Of1F","text-field--invalid":"_NQPNK","text-field--prefixed":"_BpQWQ","text-field--suffixed":"_cpYWb","password-container":"_pAoib","password-toggle":"_WVvS6","password-toggle--disabled":"_G29N3"};
|
|
17171
17351
|
|
|
17172
|
-
var styles$
|
|
17352
|
+
var styles$s = {"password-criteria":"_1ruWK","password-criteria--invalid":"_xR7tb"};
|
|
17173
17353
|
|
|
17174
17354
|
const PasswordCriteria = ({
|
|
17175
17355
|
met,
|
|
17176
17356
|
children
|
|
17177
17357
|
}) => {
|
|
17178
17358
|
return React__default.createElement("span", {
|
|
17179
|
-
className: classnames(styles$
|
|
17180
|
-
[styles$
|
|
17359
|
+
className: classnames(styles$s['password-criteria'], {
|
|
17360
|
+
[styles$s['password-criteria--invalid']]: !met
|
|
17181
17361
|
})
|
|
17182
17362
|
}, React__default.createElement(Inline, {
|
|
17183
17363
|
space: met ? 4 : 8
|
|
@@ -17251,12 +17431,12 @@ const PasswordField = ({
|
|
|
17251
17431
|
error: controllers.error
|
|
17252
17432
|
};
|
|
17253
17433
|
return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
|
|
17254
|
-
className: styles$
|
|
17434
|
+
className: styles$t['password-container']
|
|
17255
17435
|
}, React__default.createElement("input", {
|
|
17256
17436
|
name: name,
|
|
17257
17437
|
id: controllers.id,
|
|
17258
|
-
className: classnames(styles$
|
|
17259
|
-
[styles$
|
|
17438
|
+
className: classnames(styles$t['text-field'], {
|
|
17439
|
+
[styles$t['text-field--invalid']]: hasError
|
|
17260
17440
|
}),
|
|
17261
17441
|
type: type,
|
|
17262
17442
|
"data-testid": testId,
|
|
@@ -17270,8 +17450,8 @@ const PasswordField = ({
|
|
|
17270
17450
|
onChange: controllers.onChange,
|
|
17271
17451
|
onBlur: controllers.onBlur
|
|
17272
17452
|
}), React__default.createElement("div", {
|
|
17273
|
-
className: classnames(styles$
|
|
17274
|
-
[styles$
|
|
17453
|
+
className: classnames(styles$t['password-toggle'], {
|
|
17454
|
+
[styles$t['password-toggle--disabled']]: disabled
|
|
17275
17455
|
}),
|
|
17276
17456
|
onClick: toggleType,
|
|
17277
17457
|
onKeyPress: toggleType,
|
|
@@ -17373,7 +17553,7 @@ const MultiSelectField = ({
|
|
|
17373
17553
|
})));
|
|
17374
17554
|
};
|
|
17375
17555
|
|
|
17376
|
-
var styles$
|
|
17556
|
+
var styles$r = {"custom-list":"_cSkvD"};
|
|
17377
17557
|
|
|
17378
17558
|
const _excluded$b4 = ["children", "hasMoreOptions", "hasMoreOptionsFirstLoad"];
|
|
17379
17559
|
const CustomList = _ref => {
|
|
@@ -17391,7 +17571,7 @@ const CustomList = _ref => {
|
|
|
17391
17571
|
return React__default.createElement(components.MenuList, _extends({}, props), React__default.createElement(Fragment, null, children, showFooter && props.options.length > 0 && React__default.createElement(Inline, {
|
|
17392
17572
|
justifyContent: "center"
|
|
17393
17573
|
}, React__default.createElement("div", {
|
|
17394
|
-
className: styles$
|
|
17574
|
+
className: styles$r['custom-list']
|
|
17395
17575
|
}, __('moreOptionsPlaceholder')))));
|
|
17396
17576
|
};
|
|
17397
17577
|
|
|
@@ -17686,7 +17866,7 @@ const getFormikError = error => {
|
|
|
17686
17866
|
return undefined;
|
|
17687
17867
|
};
|
|
17688
17868
|
|
|
17689
|
-
var styles$
|
|
17869
|
+
var styles$q = {"text-field":"_6cH4X","date-range-field":"_DMb6M","text-field--invalid":"_eXIiZ","text-field--prefixed":"_Lc6QO","text-field--suffixed":"_VWrJD","date-range-field--invalid":"_ZJ2A5","date-range-field--disabled":"_WkaJQ"};
|
|
17690
17870
|
|
|
17691
17871
|
var calendarStyles = {"root":"_SsQ7L","table":"_Ar-fF","caption":"_Tp79k","head_cell":"_Ya6Zr","day_today":"_lFzs7","day_outside":"_TjttB","nav_button":"_cwiRM","day_range_middle":"_rJolM","day_range_start":"_nVIPx","day_range_end":"_Y50yT"};
|
|
17692
17872
|
|
|
@@ -17752,9 +17932,9 @@ const DateRangeCalendar = ({
|
|
|
17752
17932
|
const MONTH_NAMES = getMonths(translate);
|
|
17753
17933
|
const highlight = buildHighlightDayPickerProps(highlightedDays);
|
|
17754
17934
|
return React__default.createElement(Portal, null, React__default.createElement("div", {
|
|
17755
|
-
className: styles$
|
|
17935
|
+
className: styles$1c['calendar']
|
|
17756
17936
|
}, React__default.createElement("div", {
|
|
17757
|
-
className: styles$
|
|
17937
|
+
className: styles$1c['calendar__overlay'],
|
|
17758
17938
|
ref: ref => setCalendarRef(ref),
|
|
17759
17939
|
style: _extends({}, calendarPosition, {
|
|
17760
17940
|
zIndex: getZIndex('dropdown')
|
|
@@ -17954,9 +18134,9 @@ const DateRangeField = ({
|
|
|
17954
18134
|
end
|
|
17955
18135
|
} = controllers.value;
|
|
17956
18136
|
return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
|
|
17957
|
-
className: classnames(styles$
|
|
17958
|
-
[styles$
|
|
17959
|
-
[styles$
|
|
18137
|
+
className: classnames(styles$q['date-range-field'], {
|
|
18138
|
+
[styles$q['date-range-field--invalid']]: hasError,
|
|
18139
|
+
[styles$q['date-range-field--disabled']]: disabled
|
|
17960
18140
|
}),
|
|
17961
18141
|
"data-testid": testId
|
|
17962
18142
|
}, React__default.createElement(IconCalendarAlt, {
|
|
@@ -18282,7 +18462,7 @@ const TimeRangeSelector = forwardRef(TimeFieldElement);
|
|
|
18282
18462
|
*/
|
|
18283
18463
|
const TimeField = forwardRef(TimeFieldElement);
|
|
18284
18464
|
|
|
18285
|
-
var styles$
|
|
18465
|
+
var styles$p = {"text-field":"_yV-BZ","time-range-field":"_9i8Lj","text-field--invalid":"_FJVdv","text-field--prefixed":"_B7q-i","text-field--suffixed":"_DvCJW","time-range-field--invalid":"_g2UhP","time-range-field--disabled":"_Yn4T4"};
|
|
18286
18466
|
|
|
18287
18467
|
const TimeRangeEnd = ({
|
|
18288
18468
|
startTime,
|
|
@@ -18404,9 +18584,9 @@ const TimeRangeField = ({
|
|
|
18404
18584
|
end
|
|
18405
18585
|
}) : getDuration(end, start, subtractDuration);
|
|
18406
18586
|
return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
|
|
18407
|
-
className: classnames(styles$
|
|
18408
|
-
[styles$
|
|
18409
|
-
[styles$
|
|
18587
|
+
className: classnames(styles$p['time-range-field'], {
|
|
18588
|
+
[styles$p['time-range-field--invalid']]: hasError,
|
|
18589
|
+
[styles$p['time-range-field--disabled']]: disabled
|
|
18410
18590
|
}),
|
|
18411
18591
|
"data-testid": testId
|
|
18412
18592
|
}, React__default.createElement(TimeRangeStart, {
|
|
@@ -18434,7 +18614,7 @@ const TimeRangeField = ({
|
|
|
18434
18614
|
})));
|
|
18435
18615
|
};
|
|
18436
18616
|
|
|
18437
|
-
var styles$
|
|
18617
|
+
var styles$o = {"currency-field":"_GyYnE","currency-field--with-mask":"_NfdKk","currency-field__mask-display":"_ddacu","currency-field__mask-display--disabled":"_o1-zA"};
|
|
18438
18618
|
|
|
18439
18619
|
const CURRENCY_DISPLAY_DEFAULT_MARGIN = 8;
|
|
18440
18620
|
const CURRENCY_DISPLAY_MARGIN_BUFFER = 1;
|
|
@@ -18500,12 +18680,12 @@ const CurrencyFieldElement = (_ref, forwardedRef) => {
|
|
|
18500
18680
|
setShowMask(false);
|
|
18501
18681
|
inputProps.onFocus(e);
|
|
18502
18682
|
},
|
|
18503
|
-
className: classnames(inputProps.className, styles$
|
|
18504
|
-
[styles$
|
|
18683
|
+
className: classnames(inputProps.className, styles$o['currency-field'], {
|
|
18684
|
+
[styles$o['currency-field--with-mask']]: showMask && !!inputProps.value
|
|
18505
18685
|
})
|
|
18506
18686
|
}))), showMask && !!inputProps.value && React__default.createElement("div", {
|
|
18507
|
-
className: classnames(styles$
|
|
18508
|
-
[styles$
|
|
18687
|
+
className: classnames(styles$o['currency-field__mask-display'], {
|
|
18688
|
+
[styles$o['currency-field__mask-display--disabled']]: inputProps.disabled
|
|
18509
18689
|
}),
|
|
18510
18690
|
style: {
|
|
18511
18691
|
marginLeft: displayPadding
|
|
@@ -18634,7 +18814,7 @@ const FormFeedback = ({
|
|
|
18634
18814
|
}, children);
|
|
18635
18815
|
};
|
|
18636
18816
|
|
|
18637
|
-
var styles$
|
|
18817
|
+
var styles$n = {"phone-field":"_Q0GfJ","phone-field__flag":"_-uOqW","phone-field__input":"_Hes9b","phone-field__input--with-square-borders":"_TEU6N"};
|
|
18638
18818
|
|
|
18639
18819
|
const usePhoneFieldControllers = ({
|
|
18640
18820
|
name,
|
|
@@ -18777,8 +18957,8 @@ const usePhoneField = ({
|
|
|
18777
18957
|
'aria-describedby': hasError ? `${controllers.id}-error-message` : `${controllers.id}-describer`,
|
|
18778
18958
|
'aria-invalid': hasError,
|
|
18779
18959
|
autoFocus,
|
|
18780
|
-
className: classnames(styles$
|
|
18781
|
-
[styles$
|
|
18960
|
+
className: classnames(styles$1v['text-field'], {
|
|
18961
|
+
[styles$1v['text-field--invalid']]: hasError
|
|
18782
18962
|
}),
|
|
18783
18963
|
'data-testid': testId,
|
|
18784
18964
|
disabled,
|
|
@@ -19548,7 +19728,7 @@ const COUNTRIES = {
|
|
|
19548
19728
|
};
|
|
19549
19729
|
const COUNTRY_CODES = Object.keys(COUNTRIES);
|
|
19550
19730
|
|
|
19551
|
-
var styles$
|
|
19731
|
+
var styles$m = {"country-selector":"_VYs4A","country-selector--with-error":"_oSxxZ","country-selector__trigger":"_jlyd4","country-selector--disabled":"_tNInT","country-selector__trigger--with-error":"_424HM","country-selector__trigger--disabled":"_0XOFf","country-selector__trigger-flag":"_RfPa1","country-selector__flag":"_uADOl"};
|
|
19552
19732
|
|
|
19553
19733
|
var flagIcons = {"fi":"_wEQeh","fis":"_Z-kfc","fi-ac":"_amiP8","fi-ad":"_-Nycw","fi-ae":"_5zcAZ","fi-af":"_x-kp7","fi-ag":"_cfoi1","fi-ai":"_xoMS-","fi-al":"_am975","fi-am":"_0p-gD","fi-ao":"_l245N","fi-ar":"_xigkX","fi-as":"_fSczv","fi-at":"_tTeMy","fi-au":"_nSXvc","fi-aw":"_J3Dgu","fi-ax":"_PnU0s","fi-az":"_Hevuf","fi-ba":"_V-NYg","fi-bb":"_rdxaV","fi-bd":"_W3w35","fi-be":"_HXWpo","fi-bf":"_-xCW2","fi-bg":"_UuyPh","fi-bh":"_qYHkT","fi-bi":"_sfFeO","fi-bj":"_HcoBc","fi-bl":"_VvU29","fi-bm":"_DCtD1","fi-bn":"_QdHY3","fi-bo":"_Ayx7f","fi-bq":"_VfZGH","fi-br":"_HigIg","fi-bs":"_PWr-E","fi-bt":"_uFlIS","fi-bw":"_Mmoqr","fi-by":"_MKO28","fi-bz":"_HBn3o","fi-ca":"_wB3xX","fi-cc":"_oJEC5","fi-cd":"_C3RR8","fi-cf":"_ZVOZZ","fi-cg":"_Nk7Zr","fi-ch":"_9qTmx","fi-ci":"_4-gxn","fi-ck":"_YEK3x","fi-cl":"_-iNl4","fi-cm":"_UozRb","fi-cn":"_KsOEH","fi-co":"_ptSEc","fi-cr":"_92iwJ","fi-cu":"_D0k3p","fi-cv":"_O5oBT","fi-cw":"_82pI2","fi-cx":"_Eqg1T","fi-cy":"_740E8","fi-cz":"_483Iy","fi-de":"_Wla8X","fi-dj":"_Jm9gH","fi-dk":"_5QJuz","fi-dm":"_4lh-K","fi-do":"_Zvttl","fi-dz":"_-5iKJ","fi-ec":"_XMC0f","fi-ee":"_tZDe6","fi-eg":"_5USxE","fi-eh":"_rpC1Z","fi-er":"_Rhm4A","fi-es":"_QN2si","fi-et":"_2ihBN","fi-fi":"_2Lctq","fi-fj":"_ljZXm","fi-fk":"_Um9-A","fi-fm":"_mXG-Y","fi-fo":"_SemMo","fi-fr":"_MGcxf","fi-ga":"_aPt7H","fi-gb":"_2tU39","fi-gd":"_CPs5V","fi-ge":"_09VJF","fi-gf":"_7STtr","fi-gg":"_CUbGJ","fi-gh":"_mgJbd","fi-gi":"_mxhe5","fi-gl":"_gXogr","fi-gm":"_JHzzB","fi-gn":"_XJqm4","fi-gp":"_YnrVE","fi-gq":"_J47-w","fi-gr":"_5YAwo","fi-gt":"_PWFl-","fi-gu":"_ItzVX","fi-gw":"_hiRJc","fi-gy":"_oitDt","fi-hk":"_18FzB","fi-hn":"_5ySTg","fi-hr":"_rzYuT","fi-ht":"_Pq7or","fi-hu":"_-u5Ze","fi-id":"_m8GwW","fi-ie":"_pPEAu","fi-il":"_Butse","fi-im":"_wLEYj","fi-in":"_XY7D8","fi-io":"_iKM6K","fi-iq":"_iwLoJ","fi-ir":"_L1Gd1","fi-is":"_6XPDX","fi-it":"_JXv9-","fi-je":"_Qwjxj","fi-jm":"_qzNME","fi-jo":"_JqYXz","fi-jp":"_CakOC","fi-ke":"_Czyy6","fi-kg":"_6Yydv","fi-kh":"_zhLEc","fi-ki":"_qJxPJ","fi-km":"_KDmv4","fi-kn":"_n3xy0","fi-kp":"_voM9e","fi-kr":"_sErX2","fi-kw":"_kJUFk","fi-ky":"_Ensoj","fi-kz":"_JVpyw","fi-la":"_eVzpD","fi-lb":"_f400B","fi-lc":"_vhHp5","fi-li":"_cP76d","fi-lk":"_NGSeL","fi-lr":"_yIHm7","fi-ls":"_Kj-GJ","fi-lt":"_VTK9E","fi-lu":"_N4PHA","fi-lv":"_d-ZWR","fi-ly":"_49dYi","fi-ma":"_Iqggh","fi-mc":"_QQY-Q","fi-md":"_e7v9L","fi-me":"_WqN7P","fi-mf":"_4Exh-","fi-mg":"_W-d9O","fi-mh":"_3xTQ7","fi-mk":"_O26qm","fi-ml":"_hiLpW","fi-mm":"_QGh12","fi-mn":"_KNLNH","fi-mo":"_Kdw-k","fi-mp":"_CTkAK","fi-mq":"_MzLKJ","fi-mr":"_sjQHJ","fi-ms":"_ENTOn","fi-mt":"_GoKtf","fi-mu":"_WLc98","fi-mv":"_08Tf4","fi-mw":"_MvAGM","fi-mx":"_FPDND","fi-my":"_1xoF6","fi-mz":"_ylwZy","fi-na":"_-pxPH","fi-nc":"_W-Ot-","fi-ne":"_EOA-X","fi-nf":"_W5Kl5","fi-ng":"_q76Cs","fi-ni":"_AuKsI","fi-nl":"_qLIaU","fi-no":"_xbcrX","fi-np":"_FQt4h","fi-nr":"_jJbHx","fi-nu":"_TSamx","fi-nz":"_AzsKY","fi-om":"_TUoW9","fi-pa":"_jCT-C","fi-pe":"_VMnoV","fi-pf":"_Gblvx","fi-pg":"_FLRnq","fi-ph":"_0RSGR","fi-pk":"_DfZCd","fi-pl":"_hv9I4","fi-pm":"_IDp3q","fi-pr":"_2MHj1","fi-ps":"_0FLpC","fi-pt":"_p--cH","fi-pw":"_VP-zx","fi-py":"_-Tnic","fi-qa":"_Dy7Il","fi-re":"_7N5ED","fi-ro":"_4AYwa","fi-rs":"_Y-a4O","fi-ru":"_OKa79","fi-rw":"_bBqN1","fi-sa":"_vFwuG","fi-sb":"_MMmc2","fi-sc":"_ZUM8E","fi-sd":"_9k8eB","fi-se":"_cX0c9","fi-sg":"_4-yWs","fi-sh":"_-vaPR","fi-si":"_9oJgu","fi-sj":"_J0R6u","fi-sk":"_1VxbX","fi-sl":"_RiBAA","fi-sm":"_rEaFc","fi-sn":"_PRwVO","fi-so":"_XKFdC","fi-sr":"_LtiS3","fi-ss":"_45mng","fi-st":"_OtIks","fi-sv":"_OonsM","fi-sx":"_NtzDE","fi-sy":"_Ail2H","fi-sz":"_8XRyD","fi-ta":"_GQvZn","fi-tc":"_SbD-E","fi-td":"_AnXAO","fi-tg":"_smamZ","fi-th":"_AVcL5","fi-tj":"_EqMlf","fi-tk":"_20VO7","fi-tl":"_jz9hm","fi-tm":"_kmmny","fi-tn":"_9aBQ-","fi-to":"_G63l0","fi-tr":"_6shnc","fi-tt":"_P5fq4","fi-tv":"_b7SpV","fi-tw":"_jwNjI","fi-tz":"_qtU8x","fi-ua":"_bNAHa","fi-ug":"_-G-iW","fi-us":"_xwz53","fi-uy":"_DpeX8","fi-uz":"_kSABK","fi-va":"_VOSWl","fi-vc":"_X-aU3","fi-ve":"_FiFnt","fi-vg":"_d66Ny","fi-vi":"_6kM5U","fi-vn":"_ikRJo","fi-vu":"_5XaHH","fi-wf":"_ZEJXX","fi-ws":"_IzR7c","fi-xk":"_88V52","fi-ye":"_2Dwap","fi-yt":"_kQ0fh","fi-za":"_XzYDs","fi-zm":"_mA8wn","fi-zw":"_iIsuB"};
|
|
19554
19734
|
|
|
@@ -19562,21 +19742,21 @@ const CountrySelector = ({
|
|
|
19562
19742
|
}) => {
|
|
19563
19743
|
const resolvedPriorityCountries = [country, ..._priorityCountries].filter((code, index, arr) => arr.indexOf(code) === index && code in COUNTRIES);
|
|
19564
19744
|
return React__default.createElement("div", {
|
|
19565
|
-
className: classnames(styles$
|
|
19566
|
-
[styles$
|
|
19567
|
-
[styles$
|
|
19745
|
+
className: classnames(styles$m['country-selector'], {
|
|
19746
|
+
[styles$m['country-selector--with-error']]: hasError,
|
|
19747
|
+
[styles$m['country-selector--disabled']]: disabled
|
|
19568
19748
|
})
|
|
19569
19749
|
}, React__default.createElement(Dropdown, {
|
|
19570
19750
|
trigger: React__default.createElement("div", {
|
|
19571
|
-
className: classnames(styles$
|
|
19572
|
-
[styles$
|
|
19573
|
-
[styles$
|
|
19751
|
+
className: classnames(styles$m['country-selector__trigger'], {
|
|
19752
|
+
[styles$m['country-selector__trigger--with-error']]: hasError,
|
|
19753
|
+
[styles$m['country-selector__trigger--disabled']]: disabled
|
|
19574
19754
|
})
|
|
19575
19755
|
}, React__default.createElement(Inline, {
|
|
19576
19756
|
space: 8,
|
|
19577
19757
|
alignItems: "center"
|
|
19578
19758
|
}, React__default.createElement("span", {
|
|
19579
|
-
className: classnames(flagIcons['fi'], flagIcons[`fi-${country.toLowerCase()}`], styles$
|
|
19759
|
+
className: classnames(flagIcons['fi'], flagIcons[`fi-${country.toLowerCase()}`], styles$m['country-selector__trigger-flag'])
|
|
19580
19760
|
}), React__default.createElement(IconChevronDown, {
|
|
19581
19761
|
color: "currentColor",
|
|
19582
19762
|
size: "medium"
|
|
@@ -19590,7 +19770,7 @@ const CountrySelector = ({
|
|
|
19590
19770
|
alignItems: "center",
|
|
19591
19771
|
space: 12
|
|
19592
19772
|
}, React__default.createElement("span", {
|
|
19593
|
-
className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$
|
|
19773
|
+
className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$m['country-selector__flag'])
|
|
19594
19774
|
}), React__default.createElement(Text, null, COUNTRIES[countryCode].countryName)))), React__default.createElement(DropdownListDivider, null), COUNTRY_CODES.map(countryCode => React__default.createElement(DropdownListItem, {
|
|
19595
19775
|
onClick: () => onChange(countryCode),
|
|
19596
19776
|
key: countryCode
|
|
@@ -19598,7 +19778,7 @@ const CountrySelector = ({
|
|
|
19598
19778
|
alignItems: "center",
|
|
19599
19779
|
space: 12
|
|
19600
19780
|
}, React__default.createElement("span", {
|
|
19601
|
-
className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$
|
|
19781
|
+
className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$m['country-selector__flag'])
|
|
19602
19782
|
}), React__default.createElement(Text, null, COUNTRIES[countryCode].countryName)))))));
|
|
19603
19783
|
};
|
|
19604
19784
|
|
|
@@ -19675,7 +19855,7 @@ const PhoneField = _ref => {
|
|
|
19675
19855
|
}
|
|
19676
19856
|
};
|
|
19677
19857
|
return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
|
|
19678
|
-
className: styles$
|
|
19858
|
+
className: styles$n['phone-field']
|
|
19679
19859
|
}, !disabledCountry && React__default.createElement(CountrySelector, {
|
|
19680
19860
|
country: selectedCountry,
|
|
19681
19861
|
onChange: handleCountryChange,
|
|
@@ -19687,19 +19867,19 @@ const PhoneField = _ref => {
|
|
|
19687
19867
|
space: 4,
|
|
19688
19868
|
alignItems: "center"
|
|
19689
19869
|
}, React__default.createElement("span", {
|
|
19690
|
-
className: classnames(flagIcons['fi'], flagIcons[`fi-${selectedCountry.toLocaleLowerCase()}`], styles$
|
|
19870
|
+
className: classnames(flagIcons['fi'], flagIcons[`fi-${selectedCountry.toLocaleLowerCase()}`], styles$n['country-selector__flag'])
|
|
19691
19871
|
}), React__default.createElement("span", null, "+", getCountryCallingCode(selectedCountry))) : `+${getCountryCallingCode(selectedCountry)}`
|
|
19692
19872
|
}, React__default.createElement("input", _extends({}, inputProps, {
|
|
19693
19873
|
type: "tel",
|
|
19694
|
-
className: classnames(inputProps.className, styles$
|
|
19695
|
-
[styles$
|
|
19874
|
+
className: classnames(inputProps.className, styles$n['phone-field__input'], {
|
|
19875
|
+
[styles$n['phone-field__input--with-square-borders']]: !disabledCountry
|
|
19696
19876
|
}),
|
|
19697
19877
|
onChange: handlePhoneChange,
|
|
19698
19878
|
onBlur: handlePhoneBlur
|
|
19699
19879
|
})))));
|
|
19700
19880
|
};
|
|
19701
19881
|
|
|
19702
|
-
var styles$
|
|
19882
|
+
var styles$l = {"color-overlay":"_LTVgG","color-overlay__color-display-container":"_R1mls","color-overlay__color-display-circle":"_M-8rP","color-overlay__color-display-circle--selected":"_o92fv","color-overlay__color-display-circle--focused":"_QBSCQ","color-overlay__custom-color":"_iQoTb"};
|
|
19703
19883
|
|
|
19704
19884
|
const SEQUENTIAL_COLORS = ['seq-18', 'seq-4', 'seq-7', 'seq-16', 'seq-12', 'seq-6', 'seq-9', 'seq-3', 'seq-11', 'seq-1', 'seq-13', 'seq-10', 'seq-14', 'seq-8', 'seq-19', 'seq-20', 'seq-2', 'seq-17', 'seq-15', 'seq-5'];
|
|
19705
19885
|
|
|
@@ -19913,7 +20093,7 @@ const OverlayContent = ({
|
|
|
19913
20093
|
return React__default.createElement("div", {
|
|
19914
20094
|
style: overlayStyle,
|
|
19915
20095
|
ref: overlayRef,
|
|
19916
|
-
className: styles$
|
|
20096
|
+
className: styles$l['color-overlay'],
|
|
19917
20097
|
role: "dialog"
|
|
19918
20098
|
}, SEQUENTIAL_COLORS.map((color, index) => React__default.createElement(ColorDisplay, {
|
|
19919
20099
|
key: color,
|
|
@@ -19923,7 +20103,7 @@ const OverlayContent = ({
|
|
|
19923
20103
|
onClick: () => onSelect(color),
|
|
19924
20104
|
onHover: () => setSelectedColorIndex(null)
|
|
19925
20105
|
})), allowCustomColor && React__default.createElement("div", {
|
|
19926
|
-
className: styles$
|
|
20106
|
+
className: styles$l['color-overlay__custom-color']
|
|
19927
20107
|
}, React__default.createElement(Button, {
|
|
19928
20108
|
ref: customButtonRef,
|
|
19929
20109
|
size: "full-width",
|
|
@@ -19937,12 +20117,12 @@ const ColorDisplay = ({
|
|
|
19937
20117
|
onClick,
|
|
19938
20118
|
onHover
|
|
19939
20119
|
}) => React__default.createElement("button", {
|
|
19940
|
-
className: styles$
|
|
20120
|
+
className: styles$l['color-overlay__color-display-container'],
|
|
19941
20121
|
onClick: () => onClick(color)
|
|
19942
20122
|
}, React__default.createElement("div", {
|
|
19943
|
-
className: classnames(styles$
|
|
19944
|
-
[styles$
|
|
19945
|
-
[styles$
|
|
20123
|
+
className: classnames(styles$l['color-overlay__color-display-circle'], {
|
|
20124
|
+
[styles$l['color-overlay__color-display-circle--selected']]: isSelected,
|
|
20125
|
+
[styles$l['color-overlay__color-display-circle--focused']]: isFocused
|
|
19946
20126
|
}),
|
|
19947
20127
|
onMouseEnter: onHover,
|
|
19948
20128
|
style: {
|
|
@@ -19950,13 +20130,13 @@ const ColorDisplay = ({
|
|
|
19950
20130
|
}
|
|
19951
20131
|
}));
|
|
19952
20132
|
|
|
19953
|
-
var styles$
|
|
20133
|
+
var styles$k = {"color-swatch":"_UUuiJ"};
|
|
19954
20134
|
|
|
19955
20135
|
const ColorSwatch = ({
|
|
19956
20136
|
color
|
|
19957
20137
|
}) => {
|
|
19958
20138
|
return React__default.createElement("div", {
|
|
19959
|
-
className: styles$
|
|
20139
|
+
className: styles$k['color-swatch'],
|
|
19960
20140
|
style: {
|
|
19961
20141
|
backgroundColor: color
|
|
19962
20142
|
}
|
|
@@ -20036,7 +20216,7 @@ const findSeqTokenByHex = value => {
|
|
|
20036
20216
|
return SEQUENTIAL_COLORS.find(token => normalizeHex(SEQUENTIAL_COLOR_CODES.light[token]) === target || normalizeHex(SEQUENTIAL_COLOR_CODES.dark[token]) === target);
|
|
20037
20217
|
};
|
|
20038
20218
|
|
|
20039
|
-
var styles$
|
|
20219
|
+
var styles$j = {"custom-color-picker":"_OHgPk"};
|
|
20040
20220
|
|
|
20041
20221
|
/**
|
|
20042
20222
|
* A visually hidden native color input. It is kept mounted on the field (not
|
|
@@ -20087,12 +20267,12 @@ const CustomColorPicker = forwardRef(({
|
|
|
20087
20267
|
type: "color",
|
|
20088
20268
|
"aria-hidden": "true",
|
|
20089
20269
|
tabIndex: -1,
|
|
20090
|
-
className: styles$
|
|
20270
|
+
className: styles$j['custom-color-picker'],
|
|
20091
20271
|
defaultValue: safeColor
|
|
20092
20272
|
});
|
|
20093
20273
|
});
|
|
20094
20274
|
|
|
20095
|
-
var styles$
|
|
20275
|
+
var styles$i = {"color-field":"_KJawn"};
|
|
20096
20276
|
|
|
20097
20277
|
const ColorFieldElement = (props, ref) => {
|
|
20098
20278
|
const {
|
|
@@ -20130,7 +20310,7 @@ const ColorFieldElement = (props, ref) => {
|
|
|
20130
20310
|
(_customPickerRef$curr = customPickerRef.current) == null || _customPickerRef$curr.open();
|
|
20131
20311
|
};
|
|
20132
20312
|
return React__default.createElement(Fragment, null, React__default.createElement("div", {
|
|
20133
|
-
className: styles$
|
|
20313
|
+
className: styles$i['color-field']
|
|
20134
20314
|
}, React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
|
|
20135
20315
|
prefix: React__default.createElement(ColorSwatch, {
|
|
20136
20316
|
color: getCurrentColor()
|
|
@@ -20229,9 +20409,9 @@ const lastOfMonth = () => {
|
|
|
20229
20409
|
|
|
20230
20410
|
const isValidPhoneNumber = value => !value || isValidPhoneNumber$1(value);
|
|
20231
20411
|
|
|
20232
|
-
var styles$
|
|
20412
|
+
var styles$h = {"avatar":"_V1U8v","avatar__container":"_peAaI","avatar--small":"_9g-tn","avatar__badge":"_uViot","avatar--medium":"_vNXJW","avatar--large":"_9ZKAB","avatar--extra-large":"_uv14Y"};
|
|
20233
20413
|
|
|
20234
|
-
var styles$
|
|
20414
|
+
var styles$g = {"avatar-image":"_iDN1j"};
|
|
20235
20415
|
|
|
20236
20416
|
const AvatarImage = ({
|
|
20237
20417
|
url,
|
|
@@ -20251,7 +20431,7 @@ const AvatarImage = ({
|
|
|
20251
20431
|
});
|
|
20252
20432
|
}
|
|
20253
20433
|
return React__default.createElement("div", {
|
|
20254
|
-
className: styles$
|
|
20434
|
+
className: styles$g['avatar-image']
|
|
20255
20435
|
}, React__default.createElement(IconUser, {
|
|
20256
20436
|
size: "flexible",
|
|
20257
20437
|
color: color,
|
|
@@ -20398,14 +20578,14 @@ const Avatar = ({
|
|
|
20398
20578
|
// If passing an url we are defaulting to a lighter grey while the image loads
|
|
20399
20579
|
const backgroundColor = url ? COLORS['surface-container-highest'] : getColor(_color);
|
|
20400
20580
|
return React__default.createElement("div", {
|
|
20401
|
-
className: classnames(styles$
|
|
20581
|
+
className: classnames(styles$h['avatar__container']),
|
|
20402
20582
|
ref: elementRef
|
|
20403
20583
|
}, React__default.createElement("div", {
|
|
20404
|
-
className: classnames(styles$
|
|
20405
|
-
[styles$
|
|
20406
|
-
[styles$
|
|
20407
|
-
[styles$
|
|
20408
|
-
[styles$
|
|
20584
|
+
className: classnames(styles$h['avatar'], {
|
|
20585
|
+
[styles$h['avatar--small']]: _size === 'small',
|
|
20586
|
+
[styles$h['avatar--medium']]: _size === 'medium',
|
|
20587
|
+
[styles$h['avatar--large']]: _size === 'large',
|
|
20588
|
+
[styles$h['avatar--extra-large']]: _size === 'extra-large'
|
|
20409
20589
|
}),
|
|
20410
20590
|
style: {
|
|
20411
20591
|
backgroundColor: children || url && !showIconInsteadOfImage ? backgroundColor : defaultProfilePictureColors.backgroundColor
|
|
@@ -20417,7 +20597,7 @@ const Avatar = ({
|
|
|
20417
20597
|
alt: alt,
|
|
20418
20598
|
onImageFallbackError: () => setShowIconInsteadOfImage(true)
|
|
20419
20599
|
}), badge && _size !== 'small' && React__default.createElement("div", {
|
|
20420
|
-
className: styles$
|
|
20600
|
+
className: styles$h['avatar__badge']
|
|
20421
20601
|
}, badge)));
|
|
20422
20602
|
};
|
|
20423
20603
|
|
|
@@ -20432,7 +20612,7 @@ const CHIP_THEME = {
|
|
|
20432
20612
|
AI: 'ai'
|
|
20433
20613
|
};
|
|
20434
20614
|
|
|
20435
|
-
var styles$
|
|
20615
|
+
var styles$f = {"chip":"_Cg5Nf","chip__children":"_e3zFF","chip--marketing":"_b60R5","chip--success":"_ItVyo","chip--upsell":"_iUCAH","chip--warning":"_RbXoR","chip--info":"_NiP9z","chip--danger":"_2ltep","chip--ai":"_1ZhCH"};
|
|
20436
20616
|
|
|
20437
20617
|
/**
|
|
20438
20618
|
* Chip is a compact label used to communicate status about a nearby element — things like feature availability, product tier, or release stage. It is visually similar to Pill but serves a distinct purpose: where Pill communicates the status of data or records, Chip communicates the status of the product or interface itself.
|
|
@@ -20454,24 +20634,24 @@ const Chip = ({
|
|
|
20454
20634
|
});
|
|
20455
20635
|
return React__default.createElement("div", {
|
|
20456
20636
|
"data-testid": testId,
|
|
20457
|
-
className: classnames(styles$
|
|
20458
|
-
[styles$
|
|
20459
|
-
[styles$
|
|
20460
|
-
[styles$
|
|
20461
|
-
[styles$
|
|
20462
|
-
[styles$
|
|
20463
|
-
[styles$
|
|
20464
|
-
[styles$
|
|
20637
|
+
className: classnames(styles$f['chip'], {
|
|
20638
|
+
[styles$f['chip--marketing']]: _theme === CHIP_THEME.MARKETING,
|
|
20639
|
+
[styles$f['chip--success']]: _theme === CHIP_THEME.SUCCESS,
|
|
20640
|
+
[styles$f['chip--upsell']]: _theme === CHIP_THEME.UPSELL,
|
|
20641
|
+
[styles$f['chip--warning']]: _theme === CHIP_THEME.WARNING,
|
|
20642
|
+
[styles$f['chip--info']]: _theme === CHIP_THEME.INFO,
|
|
20643
|
+
[styles$f['chip--danger']]: _theme === CHIP_THEME.DANGER,
|
|
20644
|
+
[styles$f['chip--ai']]: _theme === CHIP_THEME.AI
|
|
20465
20645
|
})
|
|
20466
20646
|
}, React__default.createElement("div", {
|
|
20467
|
-
className: styles$
|
|
20647
|
+
className: styles$f['chip__children']
|
|
20468
20648
|
}, _theme === CHIP_THEME.AI && !hasIcon && React__default.createElement(IconSparkle, {
|
|
20469
20649
|
size: "small",
|
|
20470
20650
|
variant: "solid"
|
|
20471
20651
|
}), formattedChildren));
|
|
20472
20652
|
};
|
|
20473
20653
|
|
|
20474
|
-
var styles$
|
|
20654
|
+
var styles$e = {"pill":"_vOTWZ","pill__children":"_fCrWy","pill--default":"_j2h8A","pill--success":"_lFih-","pill--danger":"_sLhtK","pill--warning":"_DKrCl","pill--info":"_8TTGV","pill--upsell":"_0-TG8","pill--alphabetical":"_4M-yZ"};
|
|
20475
20655
|
|
|
20476
20656
|
const PILL_THEME = {
|
|
20477
20657
|
INFO: 'info',
|
|
@@ -20500,17 +20680,17 @@ const PillElement = (_ref, forwardedRef) => {
|
|
|
20500
20680
|
return React__default.createElement("div", _extends({
|
|
20501
20681
|
"data-testid": testId,
|
|
20502
20682
|
ref: forwardedRef,
|
|
20503
|
-
className: classnames(styles$
|
|
20504
|
-
[styles$
|
|
20505
|
-
[styles$
|
|
20506
|
-
[styles$
|
|
20507
|
-
[styles$
|
|
20508
|
-
[styles$
|
|
20509
|
-
[styles$
|
|
20510
|
-
[styles$
|
|
20683
|
+
className: classnames(styles$e['pill'], {
|
|
20684
|
+
[styles$e['pill--default']]: theme === PILL_THEME.DEFAULT,
|
|
20685
|
+
[styles$e['pill--warning']]: theme === PILL_THEME.WARNING,
|
|
20686
|
+
[styles$e['pill--success']]: theme === PILL_THEME.SUCCESS,
|
|
20687
|
+
[styles$e['pill--danger']]: theme === PILL_THEME.DANGER,
|
|
20688
|
+
[styles$e['pill--info']]: theme === PILL_THEME.INFO,
|
|
20689
|
+
[styles$e['pill--upsell']]: theme === PILL_THEME.UPSELL,
|
|
20690
|
+
[styles$e['pill--alphabetical']]: isAlphabetical
|
|
20511
20691
|
})
|
|
20512
20692
|
}, rest), React__default.createElement("div", {
|
|
20513
|
-
className: styles$
|
|
20693
|
+
className: styles$e['pill__children']
|
|
20514
20694
|
}, formattedChildren));
|
|
20515
20695
|
};
|
|
20516
20696
|
/**
|
|
@@ -20518,6 +20698,111 @@ const PillElement = (_ref, forwardedRef) => {
|
|
|
20518
20698
|
*/
|
|
20519
20699
|
const Pill = forwardRef(PillElement);
|
|
20520
20700
|
|
|
20701
|
+
var styles$d = {"shortcut-key":"_izwx7","key":"_6Egix","key--compact":"_MlLBj"};
|
|
20702
|
+
|
|
20703
|
+
const KEY_LABELS = {
|
|
20704
|
+
command: '⌘',
|
|
20705
|
+
option: '⌥',
|
|
20706
|
+
shift: '⇧',
|
|
20707
|
+
control: '⌃',
|
|
20708
|
+
capslock: '⇪',
|
|
20709
|
+
enter: '⏎',
|
|
20710
|
+
delete: '⌫',
|
|
20711
|
+
tab: '↹',
|
|
20712
|
+
escape: 'Esc',
|
|
20713
|
+
'arrow-left': '←',
|
|
20714
|
+
'arrow-right': '→',
|
|
20715
|
+
'arrow-up': '↑',
|
|
20716
|
+
'arrow-down': '↓',
|
|
20717
|
+
alt: 'Alt',
|
|
20718
|
+
ctrl: 'Ctrl',
|
|
20719
|
+
fn: 'Fn',
|
|
20720
|
+
f1: 'F1',
|
|
20721
|
+
f2: 'F2',
|
|
20722
|
+
f3: 'F3',
|
|
20723
|
+
f4: 'F4',
|
|
20724
|
+
f5: 'F5',
|
|
20725
|
+
f6: 'F6',
|
|
20726
|
+
f7: 'F7',
|
|
20727
|
+
f8: 'F8',
|
|
20728
|
+
f9: 'F9',
|
|
20729
|
+
f10: 'F10',
|
|
20730
|
+
f11: 'F11',
|
|
20731
|
+
f12: 'F12'
|
|
20732
|
+
};
|
|
20733
|
+
const KEY_ARIA_LABELS = {
|
|
20734
|
+
command: 'Command',
|
|
20735
|
+
option: 'Option',
|
|
20736
|
+
shift: 'Shift',
|
|
20737
|
+
control: 'Control',
|
|
20738
|
+
capslock: 'Caps Lock',
|
|
20739
|
+
enter: 'Enter',
|
|
20740
|
+
delete: 'Delete',
|
|
20741
|
+
tab: 'Tab',
|
|
20742
|
+
escape: 'Escape',
|
|
20743
|
+
'arrow-left': 'Left Arrow',
|
|
20744
|
+
'arrow-right': 'Right Arrow',
|
|
20745
|
+
'arrow-up': 'Up Arrow',
|
|
20746
|
+
'arrow-down': 'Down Arrow',
|
|
20747
|
+
alt: 'Alt',
|
|
20748
|
+
ctrl: 'Ctrl',
|
|
20749
|
+
fn: 'Function',
|
|
20750
|
+
f1: 'F1',
|
|
20751
|
+
f2: 'F2',
|
|
20752
|
+
f3: 'F3',
|
|
20753
|
+
f4: 'F4',
|
|
20754
|
+
f5: 'F5',
|
|
20755
|
+
f6: 'F6',
|
|
20756
|
+
f7: 'F7',
|
|
20757
|
+
f8: 'F8',
|
|
20758
|
+
f9: 'F9',
|
|
20759
|
+
f10: 'F10',
|
|
20760
|
+
f11: 'F11',
|
|
20761
|
+
f12: 'F12'
|
|
20762
|
+
};
|
|
20763
|
+
// Keys whose labels are multi-character text — rendered at a smaller font size
|
|
20764
|
+
const COMPACT_KEYS = new Set(['alt', 'ctrl', 'escape', 'fn', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12']);
|
|
20765
|
+
const Key = ({
|
|
20766
|
+
value
|
|
20767
|
+
}) => {
|
|
20768
|
+
var _KEY_LABELS$normalize;
|
|
20769
|
+
const normalized = value.toLowerCase();
|
|
20770
|
+
const label = (_KEY_LABELS$normalize = KEY_LABELS[normalized]) != null ? _KEY_LABELS$normalize : value.toUpperCase();
|
|
20771
|
+
const isCompact = COMPACT_KEYS.has(normalized);
|
|
20772
|
+
return React__default.createElement("span", {
|
|
20773
|
+
className: classnames(styles$d['key'], {
|
|
20774
|
+
[styles$d['key--compact']]: isCompact
|
|
20775
|
+
})
|
|
20776
|
+
}, label);
|
|
20777
|
+
};
|
|
20778
|
+
/**
|
|
20779
|
+
* ShortcutKey is a display-only component that communicates a keyboard shortcut
|
|
20780
|
+
* associated with an action, tool, or command. It supports 1–3 key combinations.
|
|
20781
|
+
*
|
|
20782
|
+
* Use named special keys (e.g. 'command', 'shift', 'escape', 'arrow-left') or
|
|
20783
|
+
* a single character for alphanumeric keys ('Z', '1', '/').
|
|
20784
|
+
*
|
|
20785
|
+
* Should always appear in context alongside the action it triggers — never standalone.
|
|
20786
|
+
*/
|
|
20787
|
+
const ShortcutKey = ({
|
|
20788
|
+
keys,
|
|
20789
|
+
testId
|
|
20790
|
+
}) => {
|
|
20791
|
+
const ariaLabel = keys.map(k => {
|
|
20792
|
+
var _KEY_ARIA_LABELS$k$to;
|
|
20793
|
+
return (_KEY_ARIA_LABELS$k$to = KEY_ARIA_LABELS[k.toLowerCase()]) != null ? _KEY_ARIA_LABELS$k$to : k.toUpperCase();
|
|
20794
|
+
}).join(' + ');
|
|
20795
|
+
return React__default.createElement("span", {
|
|
20796
|
+
className: styles$d['shortcut-key'],
|
|
20797
|
+
"data-testid": testId,
|
|
20798
|
+
"aria-label": ariaLabel,
|
|
20799
|
+
role: "img"
|
|
20800
|
+
}, keys.map((key, i) => React__default.createElement(Key, {
|
|
20801
|
+
key: i,
|
|
20802
|
+
value: key
|
|
20803
|
+
})));
|
|
20804
|
+
};
|
|
20805
|
+
|
|
20521
20806
|
const getIllustrationStyles = (style = {}, theme = 'light', size = '140px') => _extends({
|
|
20522
20807
|
width: size,
|
|
20523
20808
|
height: size,
|
|
@@ -65553,7 +65838,7 @@ const EmptyStateContainerInline = ({
|
|
|
65553
65838
|
as: "h4",
|
|
65554
65839
|
color: _isPaywall ? 'upsell-color' : 'primary-color-variant'
|
|
65555
65840
|
}, header)), isReactElement(title) ? title : React__default.createElement(Text, {
|
|
65556
|
-
as: "
|
|
65841
|
+
as: "tagline"
|
|
65557
65842
|
}, title)), React__default.createElement("div", {
|
|
65558
65843
|
className: styles$2['empty-state-container-inline__body']
|
|
65559
65844
|
}, children), React__default.createElement(Stack, {
|
|
@@ -65703,5 +65988,5 @@ const EmptyState = props => {
|
|
|
65703
65988
|
return emptyStateContainer;
|
|
65704
65989
|
};
|
|
65705
65990
|
|
|
65706
|
-
export { Accordion, ActionList, ActionListItem, AsyncSelectField, Avatar, Badge, Bold, BreadcrumbItem, Breadcrumbs, Button, COLORS, Calendar, CalloutCard, Card, CheckboxField, Chip, CircularProgress, ColorField, CurrencyField, DataTable, DataTableCell, DataTableEditableCell, DataTableRow, DateField, DateFilter, DateRangeField, Dropdown, DropdownList, DropdownListDivider, DropdownListItem, DropdownListItemSelectable, EmptyState, Form, FormFeedback, FormFooter, FormRow, FormSection, HIGHLIGHT_SHAPE, HintModal, IconAddressBook, IconAnalytics, IconArrowDown, IconArrowDownWideShort, IconArrowLeft, IconArrowLeftRight, IconArrowRight, IconArrowToTop, IconArrowTurnDownRight, IconArrowUp, IconAward, IconAwardSimple, IconAwful, IconAwfulMonochromatic, IconBad, IconBadMonochromatic, IconBalanceScale, IconBalanceScaleLeft, IconBan, IconBarsH, IconBarsV, IconBell, IconBirthdayCake, IconBold, IconBolt, IconBook, IconBriefcase, IconBullhorn, IconBullseyeArrow, IconCalculator, IconCalendar, IconCalendarAlt, IconCalendarCheck, IconCalendarDay, IconCalendarExclamation, IconCalendarStar, IconCalendarWeek, IconCamera, IconCameraSlash, IconCashRegister, IconChartBar, IconCheck, IconCheckCircle, IconCheckCircleIncomplete, IconCheckCircleIncompleteRole, IconCheckCircleIncompleteUser, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCircleHalfStroke, IconCircleXMark, IconClipboardList, IconClock, IconClockExclamation, IconClockRewind, IconCog, IconComment, IconCommentLines, IconCopy, IconCreditCard, IconCreditCardPlus, IconDecent, IconDecentMonochromatic, IconDeleteLeft, IconDollarSign, IconDownload, IconEdit, IconEllipsis, IconEllipsisV, IconEnvelope, IconEnvelopeOpenDollar, IconExclamation, IconExclamationTriangle, IconExpand, IconExternalLink, IconEye, IconEyeSlash, IconFaceSmileRelaxed, IconFile, IconFilePdf, IconFileUser, IconFlag, IconFourDotsCircle, IconFourSquares, IconGanttChart, IconGavel, IconGif, IconGift, IconGlobe, IconGood, IconGoodMonochromatic, IconGreat, IconGreatMonochromatic, IconGrinBeam, IconGripVertical, IconHand, IconHandHoldingCoin, IconHandHoldingDollar, IconHandPointRight, IconHandshake, IconHatChef, IconHouse, IconImage, IconInfoCircle, IconInputText, IconIslandTropical, IconItalic, IconLanguage, IconLaptopSearch, IconLink, IconList, IconListOl, IconListRadio, IconLock, IconMagic, IconMapMarker, IconMedal, IconMemoMagnifyingGlass, IconMessages, IconMicrophone, IconMinus, IconMinusCircle, IconMobile, IconMoneyBill, IconMugSaucer, IconNotesMedical, IconOvertime, IconPaperPlane, IconPaperPlaneClock, IconPaperclip, IconPencil, IconPercentage, IconPhone, IconPlateUtensils, IconPlug, IconPlus, IconPrint, IconQuestionCircle, IconRepeat, IconReply, IconRocket, IconSchool, IconSearch, IconSignIn, IconSignOut, IconSitemap, IconSlidersH, IconSort, IconSortChevron, IconSortChevronDown, IconSortChevronUp, IconSparkle, IconStar, IconStickyNoteLines, IconStopwatch, IconStore, IconStrikethrough, IconSync, IconSyncExclamation, IconTable, IconTachometer, IconThreeSquares, IconThumbsDown, IconThumbsUp, IconTimes, IconTimesOctagon, IconTrash, IconUnderline, IconUndo, IconUniversity, IconUnlock, IconUser, IconUserComputer, IconUserFriends, IconUserPlus, IconUserSearch, IconUserSlash, IconUserTag, IconUserTie, IconUsers, IconVideo, IconVolume, IconVolumeMute, IconWifi, IconWifiSlash, IconWrench, Ink3DGlasses, Ink3DModeling02, Ink3DPrinting, InkAcademicCap, InkAiAutomation, InkAirBalloon, InkAirPlane, InkAirplanePillow, InkAlpinist, InkAmbulance, InkAmericanFootball, InkAmusementPark, InkAnatomy, InkAngryFace, InkAppFolder, InkApps, InkArtistHat, InkArtistPainting, InkAsteroid, InkAstonishedFace, InkAstronaut, InkAudioBook, InkAviatorSunglasses, InkAvocado, InkBackpack, InkBacteria, InkBakingMold, InkBalanceYinYang, InkBallet, InkBamboo, InkBandAid, InkBanjo, InkBarChartUp, InkBarbell, InkBaseball, InkBaseballBatWithBall, InkBasketball, InkBeamingFaceWithSmilingEyes, InkBeverageCola, InkBicycle, InkBigboard, InkBillCheck, InkBirdCage, InkBirdHouse, InkBirthdayCakeSlice, InkBirthdayCap, InkBlackboard, InkBlender, InkBloodBagForTransfusion, InkBonfire, InkBook, InkBookSearch, InkBookShelf, InkBookletBrochure, InkBooks, InkBooksStack, InkBoombox, InkBowl, InkBowling, InkBox, InkBoxInUnfoldedForm, InkBoxOpened, InkBoxing, InkBoxingGloves, InkBrainLearn, InkBreadToast, InkBriefcase, InkBrokenHeart, InkBrush, InkBrushCup, InkBurger, InkBus, InkCabbage, InkCableCar, InkCalculator, InkCallToActionButtons, InkCampingSuv, InkCandies, InkCandy, InkCanoeist, InkCar, InkCarKey1, InkCarKey2, InkCarabine, InkCardGames, InkCardioExerciseAthletePowerlifterWithBarbell, InkCardiogramMonitor, InkCargoShip, InkCarouselWithHorses, InkCarrot, InkCassetteTape, InkCastanets, InkCatFace, InkCatPlaying, InkCatStanding, InkChampagneCheers, InkCheckMark, InkCheese, InkChefHat, InkChemistry, InkCherryBlossoms, InkChestnut, InkChristmasAngel, InkChristmasBells, InkChristmasElf, InkChristmasSack, InkChristmasSnowman, InkChristmasStar, InkChristmasStocking, InkChristmasTree, InkChristmasTreeBall1, InkChristmasTreeBall2, InkChristmasWreath, InkClassicPhone, InkClearNight, InkClosed, InkCloudy, InkCoachWhistle, InkCoctailTropical, InkCodeTerminal, InkCoffeeCup, InkCoffeeCupTakeaway, InkCoffeeMug, InkCogs, InkCoinUsDollar, InkColorPalette, InkColorProfileCmyk, InkCompass, InkComputerMouse, InkCongasDrum, InkContemporaryArtAbstract, InkContentImage, InkContentVideo, InkCookbook, InkCookieMan, InkCookingTongs, InkCorkNoticeBoard, InkCouple01, InkCouple02, InkCouple03, InkCowboyHat, InkCrane, InkCrayfish, InkCreditCard, InkCroissant, InkCrossMark, InkCrossedFingers, InkCrown, InkCruiseShip, InkCrutches, InkCube, InkCupcake, InkCurlingStone, InkCutScissors, InkCutterPaperKnife, InkCuttingBoard, InkCyclistBicycle, InkDataFlow, InkDataReport, InkDeadline, InkDesignSketchOfClothes, InkDeskLamp, InkDiagnosisDocument, InkDicer, InkDigitalPiano, InkDigitalThermometer, InkDiplomaCertificate, InkDirectionSigns, InkDirigible, InkDiscoBall, InkDiscountTag, InkDj, InkDjembeAfricanDrum, InkDna, InkDoNotDisturb, InkDocumentSignature, InkDocumentWithInfographic, InkDocumentsAndMedia, InkDogFace, InkDogHouse, InkDogStanding, InkDogToy, InkDollarBill, InkDolphin, InkDonut, InkDoubleDecker, InkDrawing, InkDrawing1, InkDrawingOnGraphicTablet, InkDrawingPalette, InkDropperContainer, InkDrum, InkDrumSet, InkDuctTape, InkDumbbell, InkEar, InkEarWheat, InkEggSunnySide, InkElectricCoolingFan, InkEmail, InkEmailInbox, InkEmailOpened, InkEmbroidery, InkEmployeeIdBadge, InkEmployeeOfMonth, InkEraser, InkExtensionCableCord, InkExtractorHood, InkEyeDropper, InkEyedropperWithColorPalette, InkFaceBlowingKiss, InkFaceMask, InkFaceWithTearsOfJoy, InkFencerSwordsmanWithSaber, InkFileFolder, InkFingerSnap, InkFingerWalking, InkFireTrending, InkFirecracker, InkFireworks, InkFishAquarium, InkFistRaised, InkFitnessTracker, InkFlag, InkFlashDriveUsb, InkFlashlight, InkFlipFlops, InkFlippers, InkFlowerBouquet, InkFlowerVase, InkFlute, InkFocusEyeHidden, InkFootballPlayer, InkForm, InkFourLeafClover, InkFrenchFries, InkFrisbee, InkFruitBowl, InkFryingPanEggs, InkGardenFence, InkGardenScissors, InkGardenShovel, InkGardeningFork, InkGasStationPump, InkGiftBox, InkGlobalInternational, InkGlobe, InkGoShopping, InkGolfClubSet, InkGolfTennisHatCap, InkGrapes, InkGraphicFileGalleryFrame, InkGrimacingFace, InkGroup7975, InkGroupOnlineTherapy, InkGuidelineBrandBook, InkGuitar, InkHalloweenGhost1, InkHalloweenGhost2, InkHalloweenJack, InkHandBandage, InkHandDrawingWithPencil, InkHandMeasuringHorizontally, InkHandMeasuringVertically, InkHandMeditationGesture, InkHandRaised, InkHandSignCall, InkHandSignChill, InkHandSignHalfHeartLeft, InkHandSignLittle, InkHandSignRock, InkHandSignStop, InkHandThreeFingers, InkHandVictoryLeftHand, InkHandVictoryRightHand, InkHandVulcanSalute, InkHandWaving, InkHandWithCamera, InkHandWithCards, InkHandWithChopsticks, InkHandWithCigarette, InkHandWithCoins, InkHandWithCreditCard, InkHandWithCup, InkHandWithDiamonds, InkHandWithDices, InkHandWithGem, InkHandWithGift, InkHandWithGlass, InkHandWithMagicWand, InkHandWithPaletteknifePainting, InkHandWithPencilDrawing, InkHandWithPhone, InkHandWithPuzzle, InkHandWithRose, InkHandWithSeedsPlanting, InkHandWithSmartPen, InkHandWithSpray, InkHandWithToothBrush, InkHandWithWatches, InkHandWithWipingCloth, InkHanukkah, InkHare, InkHarmonica, InkHarp, InkHazelnut, InkHeadMirror, InkHeadphones, InkHelicopter, InkHighSpeedTrain, InkHockeyPlayer, InkHockeyStickWithPuck, InkHorn, InkHospitalBed, InkHotAirBalloon, InkHotDog, InkHotelSign, InkHumanMoods, InkIceCream, InkIceMold, InkIceSkating, InkIndependenceDayGrill, InkIndexPointingDown, InkIndividualOnlineTherapy, InkInfographics, InkInhaler, InkInstagramPost, InkInteriorDesignHouseBlueprintPaperPlan, InkJoystick, InkJuiceCarton, InkJumpingRopes, InkKalimba, InkKarateMaster, InkKayak, InkKettlebell, InkKey, InkKeyboard, InkKidney, InkKitchenApron, InkKnife, InkLabTest, InkLabTube, InkLabelDesign, InkLadle, InkLandscapeDesign, InkLanguage, InkLaptop, InkLaptopBrowser, InkLawnmower, InkLayers, InkLeaf1, InkLeaf2, InkLifeJacket, InkLightBulb, InkLink, InkLockLocked, InkLockUnlocked, InkLunchBag, InkLungs, InkLuxuryJewellery, InkMagazine, InkMagicStick, InkMagicTricks, InkMagicWand, InkMagnet, InkMakingPhotoOnPhone, InkMaleFemaleSex, InkMan01, InkMan02, InkMan03, InkMan04, InkMan05, InkMan06, InkMan07, InkMan08, InkMan09, InkMan10, InkMan11, InkMan12, InkMan13, InkMan14, InkMan15, InkMan16, InkMan17, InkMaracas, InkMarker, InkMarketingCampaign, InkMascarade, InkMasher, InkMatcha, InkMatches, InkMeasuringJug, InkMedal, InkMedicalKit, InkMessageInformation, InkMessageQuestionsFaq, InkMetronome, InkMicroChips, InkMicrophone, InkMicroscope, InkMicrowaveOven, InkMilkCarton, InkMindDepression, InkMindEnergyLevels, InkMindProblemSolving, InkMindQuestion, InkMindThoughtProcess, InkMixer, InkMixingIngredients, InkMobileMockup, InkMoneyMetricUp, InkMoneySearch, InkMonitorBrowser, InkMoped, InkMotocrossMotorcycle, InkMotorbike, InkMural, InkMuseumPainting, InkMuseumSculpture, InkMushroom, InkNasalSpray, InkNews, InkNewtonsCradle, InkNoodlesWok, InkNoteBook, InkNotepadWithArrow, InkNotesChart, InkNotificationHashtag, InkNuclearEnergy, InkOcarina, InkOfficeChair01, InkOfficeChair02, InkOfficeNotebook, InkOfficePlant1, InkOfficePlant2, InkOfficePlant3, InkOfficeProjector, InkOfficeSnack, InkOintment, InkOliveOil, InkOnlineMeeting, InkOpen, InkOpenAllDay24Hours, InkOven, InkOvenGlove, InkOverlapOverlayIntersectionOpacity, InkPacManWithCursor, InkPackageDiscount, InkPaintTin, InkPaletteForDrawing, InkPalm, InkPanama, InkPanflute, InkPaperClip, InkPaperMap, InkPaperPlane, InkPaperShredder, InkPartlyCloudyDay, InkPartlyCloudyNight, InkPartyHat, InkPassport, InkPen, InkPenCurves, InkPenToolCursorWithBeziers, InkPencil, InkPencilSharpener, InkPepper, InkPerformanceMetric, InkPetBowl, InkPetCollar, InkPetCrate, InkPetFood, InkPetLitterShovel, InkPharmacyStore, InkPiano, InkPieChartDiscount, InkPieChartRevenue, InkPills, InkPillsBlisterPack, InkPillsContainer, InkPizzaSlice, InkPlanet, InkPlantInTube, InkPlantPot1, InkPlantPot2, InkPlantPot3, InkPlantPot4, InkPlantPot5, InkPlantPot6, InkPlates, InkPleadingFace, InkPokemon, InkPolaroidPhotoCard1, InkPolaroidPhotoCard2, InkPoleVaultAthleteJumper, InkPosTerminalMachine, InkPot, InkPottery, InkPowerBoat1, InkPowerBoat2, InkPresentationLive, InkPresentationReport, InkPrinter, InkPrivacyGdpr, InkProfile, InkProjector, InkProtractorRuler, InkPsychiatryNeurons, InkPsychologySymbol, InkPsychotherapistTakingNotes, InkPunchingBoxingBag, InkPushingButton, InkQrCode, InkQrCodeScanMobile, InkQuestionAnswerChat, InkRabbit, InkRainDrops, InkRainbow, InkRainy, InkRakes, InkReedGrass, InkRescueCircle, InkResistanceBand, InkReusableWaterBottle, InkReusableWaterBottleWithEnergyDrink, InkRoadmap, InkRobotics, InkRoller, InkRollerSkates, InkRollerSkating, InkRuler, InkRunning, InkRv, InkSailboat, InkSaltShaker, InkSandglass, InkSanitizer, InkSauceBottle, InkSaucePan, InkSavingMoney, InkSaxophone, InkScaleToolCrop, InkScanner, InkScissors, InkScooter, InkSculptureCarvingChisel, InkSearch, InkSeeds, InkSegway, InkSemi, InkSettings, InkShapes, InkShelfWithBooks, InkShoppingBasket, InkShoppingCart, InkSkateboard, InkSkateboarder, InkSkates, InkSkier, InkSleepingFace, InkSlotMachine, InkSmartphone, InkSmilingFaceWithGlasses, InkSmilingFaceWithHeartEyes, InkSmilingFaceWithHearts, InkSmilingFaceWithSunglasses, InkSmilingFaceWithTear, InkSmirkingFace, InkSnake, InkSnorkeling, InkSnowboarder, InkSnowflake, InkSnowy, InkSoccer, InkSoup, InkSpaceTravel, InkSparkles1, InkSparkles2, InkSparkles3, InkSpatula, InkSportBag, InkSportsHockeyFootballHelmet, InkSprayPaintCan, InkStPatricksDayClover, InkStaircaseUp, InkStapler, InkSteak, InkStethoscope, InkStickerSmileEmoji, InkStickyNotes, InkStomach, InkStoneStacking, InkStopSign, InkStoreShop, InkStrainer, InkStrongWind, InkSubmarine, InkSubwoofer, InkSuitcase, InkSumoWrestler, InkSunBed, InkSunflower, InkSunscreen, InkSurferSurfboard, InkSushi, InkSwimmingGogglesWithCap, InkSwimsuitBikini, InkSwimsuitShorts, InkSwissKnife, InkSyringe, InkSulptureBust as InkSсulptureBust, InkTShirtPrinting, InkTableTennis, InkTabletMockup, InkTaco, InkTambourine, InkTarget, InkTeaPot, InkTelescope, InkTemperatureCold, InkTemperatureHot, InkTemplate, InkTennis, InkTennisShuttlecock, InkTent, InkTestExamGrades, InkTextToolFont, InkTheatre, InkThinkingFace, InkThumbBackDirection, InkThumbsUp, InkThunderstorm, InkTimer, InkToaster, InkTooth, InkTornado, InkTouristBackpack, InkTouristBriefcase, InkTractor, InkTrafficLight, InkTram, InkTransparentBackground, InkTrashBin, InkTree, InkTreeEvergreen, InkTreeStump, InkTriangle, InkTrumpet, InkTuningFork, InkUmbrella, InkUploadToCloud, InkUsbDrive01, InkUsbDrive02, InkUsbHub, InkValentinesDayTeddy, InkVaseWithWildflowers, InkVinylRecord, InkVinylRecordPlayer, InkViolin, InkVirus, InkVocalMicrophone, InkVolleyball, InkWalkingFrame, InkWallCalendar, InkWallClock, InkWallet, InkWaterScooter, InkWateringCan, InkWateringHose, InkWatermelon, InkWebBrowsing1, InkWebBrowsing2, InkWebCamera, InkWebUiElementImageSettings, InkWebWindow, InkWebsiteOnMonitor, InkWhisk, InkWifiRouter, InkWindy, InkWinkingFaceWithTongue, InkWoman01, InkWoman02, InkWoman03, InkWoman04, InkWoman05, InkWoman06, InkWoman07, InkWoman08, InkWoman09, InkWoman10, InkWoman11, InkWoman12, InkWorkflow, InkWorkingByDesk, InkWorkingTable, InkWritingPen, InkXylophone, InkYogaMan, InkYogaWoman, Inline, InlineBanner, Italic, Link, MicroBanner, Modal, ModalBody, ModalFooter, MultiSelectField, NumberField, Page, PageLayout, PaginationControls, PasswordField, Paywall, PercentageField, PersistentBanner, PhoneField, Pill, PillSelectField, Popover, PrimaryNav, PrimaryNavDivider, PrimaryNavFooter, PrimaryNavItem, PrimaryNavSubItem, ProgressBar, RadioGroupBoxOption, RadioGroupField, RadioGroupOption, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT, SegmentedControl, SelectField, Skeleton, SousChefProvider, Spinner, Stack, Tab, TabList, TabPanel, Tabs, Text, TextAreaField, TextField, TimeField, TimeRangeField, Toggle, ToolbarSelect, Tooltip, Underline, WeekField, WeekSelectField, ZINDEX, everyOtherWeekday, firstOfMonth, isValidPhoneNumber, lastOfMonth, nthWeekdayOfMonth, toast, useDataTableContext };
|
|
65991
|
+
export { Accordion, ActionList, ActionListItem, AsyncSelectField, Avatar, Badge, Bold, BreadcrumbItem, Breadcrumbs, Button, COLORS, Calendar, CalloutCard, Card, CheckboxField, Chip, CircularProgress, ColorField, CurrencyField, DataTable, DataTableCell, DataTableEditableCell, DataTableRow, DateField, DateFilter, DateRangeField, Dropdown, DropdownList, DropdownListDivider, DropdownListItem, DropdownListItemSelectable, EmptyState, Form, FormFeedback, FormFooter, FormRow, FormSection, HIGHLIGHT_SHAPE, HintModal, IconAddressBook, IconAnalytics, IconArrowDown, IconArrowDownWideShort, IconArrowLeft, IconArrowLeftRight, IconArrowRight, IconArrowToTop, IconArrowTurnDownRight, IconArrowUp, IconAward, IconAwardSimple, IconAwful, IconAwfulMonochromatic, IconBad, IconBadMonochromatic, IconBalanceScale, IconBalanceScaleLeft, IconBan, IconBarsH, IconBarsV, IconBell, IconBirthdayCake, IconBold, IconBolt, IconBook, IconBriefcase, IconBullhorn, IconBullseyeArrow, IconCalculator, IconCalendar, IconCalendarAlt, IconCalendarCheck, IconCalendarDay, IconCalendarExclamation, IconCalendarStar, IconCalendarWeek, IconCamera, IconCameraSlash, IconCashRegister, IconChartBar, IconCheck, IconCheckCircle, IconCheckCircleIncomplete, IconCheckCircleIncompleteRole, IconCheckCircleIncompleteUser, IconChevronDown, IconChevronLeft, IconChevronRight, IconChevronUp, IconCircleHalfStroke, IconCircleXMark, IconClipboardList, IconClock, IconClockExclamation, IconClockRewind, IconCog, IconComment, IconCommentLines, IconCopy, IconCreditCard, IconCreditCardPlus, IconDecent, IconDecentMonochromatic, IconDeleteLeft, IconDollarSign, IconDownload, IconEdit, IconEllipsis, IconEllipsisV, IconEnvelope, IconEnvelopeOpenDollar, IconExclamation, IconExclamationTriangle, IconExpand, IconExternalLink, IconEye, IconEyeSlash, IconFaceSmileRelaxed, IconFile, IconFilePdf, IconFileUser, IconFlag, IconFourDotsCircle, IconFourSquares, IconGanttChart, IconGavel, IconGif, IconGift, IconGlobe, IconGood, IconGoodMonochromatic, IconGreat, IconGreatMonochromatic, IconGrinBeam, IconGripVertical, IconHand, IconHandHoldingCoin, IconHandHoldingDollar, IconHandPointRight, IconHandshake, IconHatChef, IconHouse, IconImage, IconInfoCircle, IconInputText, IconIslandTropical, IconItalic, IconLanguage, IconLaptopSearch, IconLink, IconList, IconListOl, IconListRadio, IconLock, IconMagic, IconMapMarker, IconMedal, IconMemoMagnifyingGlass, IconMessages, IconMicrophone, IconMinus, IconMinusCircle, IconMobile, IconMoneyBill, IconMugSaucer, IconNotesMedical, IconOvertime, IconPaperPlane, IconPaperPlaneClock, IconPaperclip, IconPencil, IconPercentage, IconPhone, IconPlateUtensils, IconPlug, IconPlus, IconPrint, IconQuestionCircle, IconRepeat, IconReply, IconRocket, IconSchool, IconSearch, IconSignIn, IconSignOut, IconSitemap, IconSlidersH, IconSort, IconSortChevron, IconSortChevronDown, IconSortChevronUp, IconSparkle, IconStar, IconStickyNoteLines, IconStopwatch, IconStore, IconStrikethrough, IconSync, IconSyncExclamation, IconTable, IconTachometer, IconThreeSquares, IconThumbsDown, IconThumbsUp, IconTimes, IconTimesOctagon, IconTrash, IconUnderline, IconUndo, IconUniversity, IconUnlock, IconUser, IconUserComputer, IconUserFriends, IconUserPlus, IconUserSearch, IconUserSlash, IconUserTag, IconUserTie, IconUsers, IconVideo, IconVolume, IconVolumeMute, IconWifi, IconWifiSlash, IconWrench, Ink3DGlasses, Ink3DModeling02, Ink3DPrinting, InkAcademicCap, InkAiAutomation, InkAirBalloon, InkAirPlane, InkAirplanePillow, InkAlpinist, InkAmbulance, InkAmericanFootball, InkAmusementPark, InkAnatomy, InkAngryFace, InkAppFolder, InkApps, InkArtistHat, InkArtistPainting, InkAsteroid, InkAstonishedFace, InkAstronaut, InkAudioBook, InkAviatorSunglasses, InkAvocado, InkBackpack, InkBacteria, InkBakingMold, InkBalanceYinYang, InkBallet, InkBamboo, InkBandAid, InkBanjo, InkBarChartUp, InkBarbell, InkBaseball, InkBaseballBatWithBall, InkBasketball, InkBeamingFaceWithSmilingEyes, InkBeverageCola, InkBicycle, InkBigboard, InkBillCheck, InkBirdCage, InkBirdHouse, InkBirthdayCakeSlice, InkBirthdayCap, InkBlackboard, InkBlender, InkBloodBagForTransfusion, InkBonfire, InkBook, InkBookSearch, InkBookShelf, InkBookletBrochure, InkBooks, InkBooksStack, InkBoombox, InkBowl, InkBowling, InkBox, InkBoxInUnfoldedForm, InkBoxOpened, InkBoxing, InkBoxingGloves, InkBrainLearn, InkBreadToast, InkBriefcase, InkBrokenHeart, InkBrush, InkBrushCup, InkBurger, InkBus, InkCabbage, InkCableCar, InkCalculator, InkCallToActionButtons, InkCampingSuv, InkCandies, InkCandy, InkCanoeist, InkCar, InkCarKey1, InkCarKey2, InkCarabine, InkCardGames, InkCardioExerciseAthletePowerlifterWithBarbell, InkCardiogramMonitor, InkCargoShip, InkCarouselWithHorses, InkCarrot, InkCassetteTape, InkCastanets, InkCatFace, InkCatPlaying, InkCatStanding, InkChampagneCheers, InkCheckMark, InkCheese, InkChefHat, InkChemistry, InkCherryBlossoms, InkChestnut, InkChristmasAngel, InkChristmasBells, InkChristmasElf, InkChristmasSack, InkChristmasSnowman, InkChristmasStar, InkChristmasStocking, InkChristmasTree, InkChristmasTreeBall1, InkChristmasTreeBall2, InkChristmasWreath, InkClassicPhone, InkClearNight, InkClosed, InkCloudy, InkCoachWhistle, InkCoctailTropical, InkCodeTerminal, InkCoffeeCup, InkCoffeeCupTakeaway, InkCoffeeMug, InkCogs, InkCoinUsDollar, InkColorPalette, InkColorProfileCmyk, InkCompass, InkComputerMouse, InkCongasDrum, InkContemporaryArtAbstract, InkContentImage, InkContentVideo, InkCookbook, InkCookieMan, InkCookingTongs, InkCorkNoticeBoard, InkCouple01, InkCouple02, InkCouple03, InkCowboyHat, InkCrane, InkCrayfish, InkCreditCard, InkCroissant, InkCrossMark, InkCrossedFingers, InkCrown, InkCruiseShip, InkCrutches, InkCube, InkCupcake, InkCurlingStone, InkCutScissors, InkCutterPaperKnife, InkCuttingBoard, InkCyclistBicycle, InkDataFlow, InkDataReport, InkDeadline, InkDesignSketchOfClothes, InkDeskLamp, InkDiagnosisDocument, InkDicer, InkDigitalPiano, InkDigitalThermometer, InkDiplomaCertificate, InkDirectionSigns, InkDirigible, InkDiscoBall, InkDiscountTag, InkDj, InkDjembeAfricanDrum, InkDna, InkDoNotDisturb, InkDocumentSignature, InkDocumentWithInfographic, InkDocumentsAndMedia, InkDogFace, InkDogHouse, InkDogStanding, InkDogToy, InkDollarBill, InkDolphin, InkDonut, InkDoubleDecker, InkDrawing, InkDrawing1, InkDrawingOnGraphicTablet, InkDrawingPalette, InkDropperContainer, InkDrum, InkDrumSet, InkDuctTape, InkDumbbell, InkEar, InkEarWheat, InkEggSunnySide, InkElectricCoolingFan, InkEmail, InkEmailInbox, InkEmailOpened, InkEmbroidery, InkEmployeeIdBadge, InkEmployeeOfMonth, InkEraser, InkExtensionCableCord, InkExtractorHood, InkEyeDropper, InkEyedropperWithColorPalette, InkFaceBlowingKiss, InkFaceMask, InkFaceWithTearsOfJoy, InkFencerSwordsmanWithSaber, InkFileFolder, InkFingerSnap, InkFingerWalking, InkFireTrending, InkFirecracker, InkFireworks, InkFishAquarium, InkFistRaised, InkFitnessTracker, InkFlag, InkFlashDriveUsb, InkFlashlight, InkFlipFlops, InkFlippers, InkFlowerBouquet, InkFlowerVase, InkFlute, InkFocusEyeHidden, InkFootballPlayer, InkForm, InkFourLeafClover, InkFrenchFries, InkFrisbee, InkFruitBowl, InkFryingPanEggs, InkGardenFence, InkGardenScissors, InkGardenShovel, InkGardeningFork, InkGasStationPump, InkGiftBox, InkGlobalInternational, InkGlobe, InkGoShopping, InkGolfClubSet, InkGolfTennisHatCap, InkGrapes, InkGraphicFileGalleryFrame, InkGrimacingFace, InkGroup7975, InkGroupOnlineTherapy, InkGuidelineBrandBook, InkGuitar, InkHalloweenGhost1, InkHalloweenGhost2, InkHalloweenJack, InkHandBandage, InkHandDrawingWithPencil, InkHandMeasuringHorizontally, InkHandMeasuringVertically, InkHandMeditationGesture, InkHandRaised, InkHandSignCall, InkHandSignChill, InkHandSignHalfHeartLeft, InkHandSignLittle, InkHandSignRock, InkHandSignStop, InkHandThreeFingers, InkHandVictoryLeftHand, InkHandVictoryRightHand, InkHandVulcanSalute, InkHandWaving, InkHandWithCamera, InkHandWithCards, InkHandWithChopsticks, InkHandWithCigarette, InkHandWithCoins, InkHandWithCreditCard, InkHandWithCup, InkHandWithDiamonds, InkHandWithDices, InkHandWithGem, InkHandWithGift, InkHandWithGlass, InkHandWithMagicWand, InkHandWithPaletteknifePainting, InkHandWithPencilDrawing, InkHandWithPhone, InkHandWithPuzzle, InkHandWithRose, InkHandWithSeedsPlanting, InkHandWithSmartPen, InkHandWithSpray, InkHandWithToothBrush, InkHandWithWatches, InkHandWithWipingCloth, InkHanukkah, InkHare, InkHarmonica, InkHarp, InkHazelnut, InkHeadMirror, InkHeadphones, InkHelicopter, InkHighSpeedTrain, InkHockeyPlayer, InkHockeyStickWithPuck, InkHorn, InkHospitalBed, InkHotAirBalloon, InkHotDog, InkHotelSign, InkHumanMoods, InkIceCream, InkIceMold, InkIceSkating, InkIndependenceDayGrill, InkIndexPointingDown, InkIndividualOnlineTherapy, InkInfographics, InkInhaler, InkInstagramPost, InkInteriorDesignHouseBlueprintPaperPlan, InkJoystick, InkJuiceCarton, InkJumpingRopes, InkKalimba, InkKarateMaster, InkKayak, InkKettlebell, InkKey, InkKeyboard, InkKidney, InkKitchenApron, InkKnife, InkLabTest, InkLabTube, InkLabelDesign, InkLadle, InkLandscapeDesign, InkLanguage, InkLaptop, InkLaptopBrowser, InkLawnmower, InkLayers, InkLeaf1, InkLeaf2, InkLifeJacket, InkLightBulb, InkLink, InkLockLocked, InkLockUnlocked, InkLunchBag, InkLungs, InkLuxuryJewellery, InkMagazine, InkMagicStick, InkMagicTricks, InkMagicWand, InkMagnet, InkMakingPhotoOnPhone, InkMaleFemaleSex, InkMan01, InkMan02, InkMan03, InkMan04, InkMan05, InkMan06, InkMan07, InkMan08, InkMan09, InkMan10, InkMan11, InkMan12, InkMan13, InkMan14, InkMan15, InkMan16, InkMan17, InkMaracas, InkMarker, InkMarketingCampaign, InkMascarade, InkMasher, InkMatcha, InkMatches, InkMeasuringJug, InkMedal, InkMedicalKit, InkMessageInformation, InkMessageQuestionsFaq, InkMetronome, InkMicroChips, InkMicrophone, InkMicroscope, InkMicrowaveOven, InkMilkCarton, InkMindDepression, InkMindEnergyLevels, InkMindProblemSolving, InkMindQuestion, InkMindThoughtProcess, InkMixer, InkMixingIngredients, InkMobileMockup, InkMoneyMetricUp, InkMoneySearch, InkMonitorBrowser, InkMoped, InkMotocrossMotorcycle, InkMotorbike, InkMural, InkMuseumPainting, InkMuseumSculpture, InkMushroom, InkNasalSpray, InkNews, InkNewtonsCradle, InkNoodlesWok, InkNoteBook, InkNotepadWithArrow, InkNotesChart, InkNotificationHashtag, InkNuclearEnergy, InkOcarina, InkOfficeChair01, InkOfficeChair02, InkOfficeNotebook, InkOfficePlant1, InkOfficePlant2, InkOfficePlant3, InkOfficeProjector, InkOfficeSnack, InkOintment, InkOliveOil, InkOnlineMeeting, InkOpen, InkOpenAllDay24Hours, InkOven, InkOvenGlove, InkOverlapOverlayIntersectionOpacity, InkPacManWithCursor, InkPackageDiscount, InkPaintTin, InkPaletteForDrawing, InkPalm, InkPanama, InkPanflute, InkPaperClip, InkPaperMap, InkPaperPlane, InkPaperShredder, InkPartlyCloudyDay, InkPartlyCloudyNight, InkPartyHat, InkPassport, InkPen, InkPenCurves, InkPenToolCursorWithBeziers, InkPencil, InkPencilSharpener, InkPepper, InkPerformanceMetric, InkPetBowl, InkPetCollar, InkPetCrate, InkPetFood, InkPetLitterShovel, InkPharmacyStore, InkPiano, InkPieChartDiscount, InkPieChartRevenue, InkPills, InkPillsBlisterPack, InkPillsContainer, InkPizzaSlice, InkPlanet, InkPlantInTube, InkPlantPot1, InkPlantPot2, InkPlantPot3, InkPlantPot4, InkPlantPot5, InkPlantPot6, InkPlates, InkPleadingFace, InkPokemon, InkPolaroidPhotoCard1, InkPolaroidPhotoCard2, InkPoleVaultAthleteJumper, InkPosTerminalMachine, InkPot, InkPottery, InkPowerBoat1, InkPowerBoat2, InkPresentationLive, InkPresentationReport, InkPrinter, InkPrivacyGdpr, InkProfile, InkProjector, InkProtractorRuler, InkPsychiatryNeurons, InkPsychologySymbol, InkPsychotherapistTakingNotes, InkPunchingBoxingBag, InkPushingButton, InkQrCode, InkQrCodeScanMobile, InkQuestionAnswerChat, InkRabbit, InkRainDrops, InkRainbow, InkRainy, InkRakes, InkReedGrass, InkRescueCircle, InkResistanceBand, InkReusableWaterBottle, InkReusableWaterBottleWithEnergyDrink, InkRoadmap, InkRobotics, InkRoller, InkRollerSkates, InkRollerSkating, InkRuler, InkRunning, InkRv, InkSailboat, InkSaltShaker, InkSandglass, InkSanitizer, InkSauceBottle, InkSaucePan, InkSavingMoney, InkSaxophone, InkScaleToolCrop, InkScanner, InkScissors, InkScooter, InkSculptureCarvingChisel, InkSearch, InkSeeds, InkSegway, InkSemi, InkSettings, InkShapes, InkShelfWithBooks, InkShoppingBasket, InkShoppingCart, InkSkateboard, InkSkateboarder, InkSkates, InkSkier, InkSleepingFace, InkSlotMachine, InkSmartphone, InkSmilingFaceWithGlasses, InkSmilingFaceWithHeartEyes, InkSmilingFaceWithHearts, InkSmilingFaceWithSunglasses, InkSmilingFaceWithTear, InkSmirkingFace, InkSnake, InkSnorkeling, InkSnowboarder, InkSnowflake, InkSnowy, InkSoccer, InkSoup, InkSpaceTravel, InkSparkles1, InkSparkles2, InkSparkles3, InkSpatula, InkSportBag, InkSportsHockeyFootballHelmet, InkSprayPaintCan, InkStPatricksDayClover, InkStaircaseUp, InkStapler, InkSteak, InkStethoscope, InkStickerSmileEmoji, InkStickyNotes, InkStomach, InkStoneStacking, InkStopSign, InkStoreShop, InkStrainer, InkStrongWind, InkSubmarine, InkSubwoofer, InkSuitcase, InkSumoWrestler, InkSunBed, InkSunflower, InkSunscreen, InkSurferSurfboard, InkSushi, InkSwimmingGogglesWithCap, InkSwimsuitBikini, InkSwimsuitShorts, InkSwissKnife, InkSyringe, InkSulptureBust as InkSсulptureBust, InkTShirtPrinting, InkTableTennis, InkTabletMockup, InkTaco, InkTambourine, InkTarget, InkTeaPot, InkTelescope, InkTemperatureCold, InkTemperatureHot, InkTemplate, InkTennis, InkTennisShuttlecock, InkTent, InkTestExamGrades, InkTextToolFont, InkTheatre, InkThinkingFace, InkThumbBackDirection, InkThumbsUp, InkThunderstorm, InkTimer, InkToaster, InkTooth, InkTornado, InkTouristBackpack, InkTouristBriefcase, InkTractor, InkTrafficLight, InkTram, InkTransparentBackground, InkTrashBin, InkTree, InkTreeEvergreen, InkTreeStump, InkTriangle, InkTrumpet, InkTuningFork, InkUmbrella, InkUploadToCloud, InkUsbDrive01, InkUsbDrive02, InkUsbHub, InkValentinesDayTeddy, InkVaseWithWildflowers, InkVinylRecord, InkVinylRecordPlayer, InkViolin, InkVirus, InkVocalMicrophone, InkVolleyball, InkWalkingFrame, InkWallCalendar, InkWallClock, InkWallet, InkWaterScooter, InkWateringCan, InkWateringHose, InkWatermelon, InkWebBrowsing1, InkWebBrowsing2, InkWebCamera, InkWebUiElementImageSettings, InkWebWindow, InkWebsiteOnMonitor, InkWhisk, InkWifiRouter, InkWindy, InkWinkingFaceWithTongue, InkWoman01, InkWoman02, InkWoman03, InkWoman04, InkWoman05, InkWoman06, InkWoman07, InkWoman08, InkWoman09, InkWoman10, InkWoman11, InkWoman12, InkWorkflow, InkWorkingByDesk, InkWorkingTable, InkWritingPen, InkXylophone, InkYogaMan, InkYogaWoman, Inline, InlineBanner, Italic, Link, MicroBanner, Modal, ModalBody, ModalFooter, MultiSelectField, NumberField, Page, PageLayout, PaginationControls, PasswordField, Paywall, PercentageField, PersistentBanner, PhoneField, Pill, PillSelectField, Popover, PrimaryNav, PrimaryNavDivider, PrimaryNavFooter, PrimaryNavItem, PrimaryNavSubItem, ProgressBar, RadioGroupBoxOption, RadioGroupField, RadioGroupOption, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT, SegmentedControl, SelectField, ShortcutKey, Skeleton, SousChefProvider, Spinner, Stack, Tab, TabList, TabPanel, Tabs, Text, TextAreaField, TextField, TimeField, TimeRangeField, Toggle, ToolbarSelect, Tooltip, Underline, WeekField, WeekSelectField, ZINDEX, everyOtherWeekday, firstOfMonth, isValidPhoneNumber, lastOfMonth, nthWeekdayOfMonth, toast, useDataTableContext, useModalPosition };
|
|
65707
65992
|
//# sourceMappingURL=index.modern.mjs.map
|