@7shifts/sous-chef 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/forms/CheckboxField/CheckboxField.d.ts +1 -0
  2. package/dist/forms/ColorField/ColorField.d.ts +4 -2
  3. package/dist/forms/ColorField/ColorOverlay/ColorOverlay.d.ts +4 -1
  4. package/dist/forms/ColorField/ColorOverlay/useColorKeyboardNavigation.d.ts +2 -1
  5. package/dist/forms/ColorField/CustomColorPicker/CustomColorPicker.d.ts +18 -0
  6. package/dist/forms/ColorField/CustomColorPicker/index.d.ts +2 -0
  7. package/dist/forms/ColorField/constants.d.ts +1 -0
  8. package/dist/forms/ColorField/domain.d.ts +14 -0
  9. package/dist/forms/PasswordField/PasswordField.d.ts +2 -0
  10. package/dist/forms/WeekSelectField/WeekSelectField.d.ts +17 -0
  11. package/dist/forms/WeekSelectField/index.d.ts +1 -0
  12. package/dist/forms/index.d.ts +2 -1
  13. package/dist/foundation/tokens/color/color-codes.d.ts +46 -0
  14. package/dist/i18n/locales/en.json +10 -0
  15. package/dist/i18n/locales/es.json +10 -0
  16. package/dist/i18n/locales/fr.json +10 -0
  17. package/dist/index.css +211 -10
  18. package/dist/index.css.map +1 -1
  19. package/dist/index.js +918 -403
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.modern.js +1099 -605
  22. package/dist/index.modern.js.map +1 -1
  23. package/dist/navigation/Tab/Tab.d.ts +10 -0
  24. package/dist/navigation/Tab/index.d.ts +1 -0
  25. package/dist/navigation/TabList/TabList.d.ts +7 -0
  26. package/dist/navigation/TabList/index.d.ts +1 -0
  27. package/dist/navigation/TabPanel/TabPanel.d.ts +9 -0
  28. package/dist/navigation/TabPanel/index.d.ts +1 -0
  29. package/dist/navigation/Tabs/Tabs.d.ts +9 -0
  30. package/dist/navigation/Tabs/TabsContext.d.ts +15 -0
  31. package/dist/navigation/Tabs/index.d.ts +1 -0
  32. package/dist/navigation/index.d.ts +5 -1
  33. package/dist/overlay/Tooltip/Tooltip.d.ts +2 -0
  34. package/dist/utils/date.d.ts +1 -0
  35. package/dist/utils/elements.d.ts +2 -0
  36. package/llms-instructions/guidelines/Calendar.guidelines.md +17 -0
  37. package/llms-instructions/guidelines/EmptyState.guidelines.md +3 -3
  38. package/llms-instructions/guidelines/PaginationControls.guidelines.md +1 -1
  39. package/llms-instructions/guidelines/PersistentBanner.guidelines.md +0 -1
  40. package/llms-instructions/guidelines/SegmentedControl.guidelines.md +2 -0
  41. package/llms-instructions/guidelines/Spinner.guidelines.md +4 -6
  42. package/llms-instructions/guidelines/Tabs.guidelines.md +65 -0
  43. package/llms-instructions/guidelines/WeekSelectField.guidelines.md +52 -0
  44. package/llms-instructions/llms-components.md +10 -2
  45. package/llms-instructions/llms-icons-and-illustrations.md +1 -0
  46. package/llms-instructions/llms-tokens.md +3 -7
  47. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { useRef, useEffect, useCallback, useState, forwardRef, Fragment, createContext, Children, useContext, useLayoutEffect, useMemo } from 'react';
2
+ import React__default, { useRef, useEffect, useCallback, useState, forwardRef, Fragment, createContext, Children, useContext, useLayoutEffect, useMemo, useImperativeHandle } from 'react';
3
3
  import classnames from 'classnames';
4
4
  import { toast as toast$1, ToastContainer as ToastContainer$1, Slide } from 'react-toastify';
5
5
  import ReactDOM from 'react-dom';
@@ -272,7 +272,7 @@ function _objectWithoutPropertiesLoose(r, e) {
272
272
  return t;
273
273
  }
274
274
 
275
- var styles$1C = {"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"};
275
+ var styles$1I = {"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
276
 
277
277
  const usePositionStyles = ({
278
278
  m,
@@ -388,15 +388,15 @@ const Flex = _ref => {
388
388
  dataProps
389
389
  } = getDataProps(otherProps);
390
390
  const positionStyles = usePositionStyles(positionProps);
391
- const className = classnames(styles$1C['flex'], extraClass, {
392
- [styles$1C['align-start']]: alignItems === 'flex-start',
393
- [styles$1C['align-end']]: alignItems === 'flex-end',
394
- [styles$1C['align-center']]: alignItems === 'center',
395
- [styles$1C['justify-start']]: justifyContent === 'start',
396
- [styles$1C['justify-end']]: justifyContent === 'end',
397
- [styles$1C['justify-center']]: justifyContent === 'center',
398
- [styles$1C['justify-space-between']]: justifyContent === 'space-between',
399
- [styles$1C['inline-flex']]: inlineFlex
391
+ const className = classnames(styles$1I['flex'], extraClass, {
392
+ [styles$1I['align-start']]: alignItems === 'flex-start',
393
+ [styles$1I['align-end']]: alignItems === 'flex-end',
394
+ [styles$1I['align-center']]: alignItems === 'center',
395
+ [styles$1I['justify-start']]: justifyContent === 'start',
396
+ [styles$1I['justify-end']]: justifyContent === 'end',
397
+ [styles$1I['justify-center']]: justifyContent === 'center',
398
+ [styles$1I['justify-space-between']]: justifyContent === 'space-between',
399
+ [styles$1I['inline-flex']]: inlineFlex
400
400
  });
401
401
  const items = React__default.Children.toArray(children).filter(Boolean);
402
402
  const gap = typeof space === 'object' ? `${space.row}px ${space.column}px` : space;
@@ -411,8 +411,8 @@ const Flex = _ref => {
411
411
  "data-testid": testId
412
412
  }, dataProps), items.map((child, i) => React__default.createElement("div", {
413
413
  key: i,
414
- className: classnames(styles$1C['flex__item'], {
415
- [styles$1C['flex__item--flexible']]: flexItems
414
+ className: classnames(styles$1I['flex__item'], {
415
+ [styles$1I['flex__item--flexible']]: flexItems
416
416
  }),
417
417
  style: {
418
418
  flex: flex ? flex[i] || '0 1 auto' : '0 1 auto'
@@ -435,7 +435,7 @@ const Stack = _ref => {
435
435
  }));
436
436
  };
437
437
 
438
- var styles$1B = {"caption":"_tMhXr","label":"_NfOw5","label--truncate":"_M3aFK","toggle":"_QDQZ1","toggle__label":"_52dky","toggle__caption":"_A-tgL","toggle__switch":"_kBjjH"};
438
+ var styles$1H = {"caption":"_tMhXr","label":"_NfOw5","label--truncate":"_M3aFK","toggle":"_QDQZ1","toggle__label":"_52dky","toggle__caption":"_A-tgL","toggle__switch":"_kBjjH"};
439
439
 
440
440
  const _excluded$ek = ["checked", "label", "caption", "onChange", "disabled", "id", "testId"];
441
441
  /**
@@ -460,7 +460,7 @@ const Toggle = _ref => {
460
460
  return React__default.createElement(Stack, {
461
461
  space: 8
462
462
  }, React__default.createElement("label", _extends({}, dataProps, {
463
- className: styles$1B['toggle']
463
+ className: styles$1H['toggle']
464
464
  }), React__default.createElement("input", {
465
465
  type: "checkbox",
466
466
  checked: checked,
@@ -469,11 +469,11 @@ const Toggle = _ref => {
469
469
  id: id,
470
470
  "data-testid": testId
471
471
  }), React__default.createElement("span", {
472
- className: styles$1B['toggle__switch']
472
+ className: styles$1H['toggle__switch']
473
473
  }), label && React__default.createElement("span", {
474
- className: styles$1B['toggle__label']
474
+ className: styles$1H['toggle__label']
475
475
  }, label)), caption && React__default.createElement("span", {
476
- className: styles$1B['toggle__caption']
476
+ className: styles$1H['toggle__caption']
477
477
  }, caption));
478
478
  };
479
479
 
@@ -491,7 +491,7 @@ const SPINNER_THEMES = {
491
491
  PRIDE: 'pride'
492
492
  };
493
493
 
494
- var styles$1A = {"spinner":"_memxT","rotator":"_QieGp","spinner--block":"_VoFzz","path":"_KSRP9","dash":"_RyBY2","path--mint":"_-sIZJ","path--disabled":"_3fox0","path--contrast":"_VteKz","path--pride":"_7rzsv"};
494
+ var styles$1G = {"spinner":"_memxT","rotator":"_QieGp","spinner--block":"_VoFzz","path":"_KSRP9","dash":"_RyBY2","path--mint":"_-sIZJ","path--disabled":"_3fox0","path--contrast":"_VteKz","path--pride":"_7rzsv"};
495
495
 
496
496
  const Spinner = ({
497
497
  size: _size = 28,
@@ -501,10 +501,10 @@ const Spinner = ({
501
501
  }) => {
502
502
  return React__default.createElement("div", {
503
503
  className: classnames({
504
- [styles$1A['spinner--block']]: _block
504
+ [styles$1G['spinner--block']]: _block
505
505
  })
506
506
  }, React__default.createElement("svg", {
507
- className: styles$1A['spinner'],
507
+ className: styles$1G['spinner'],
508
508
  xmlns: "http://www.w3.org/2000/svg",
509
509
  width: _size,
510
510
  height: _size,
@@ -579,7 +579,7 @@ const Spinner = ({
579
579
  offset: "1",
580
580
  stopColor: "#760088"
581
581
  }))), React__default.createElement("circle", {
582
- className: classnames(styles$1A['path'], styles$1A[`path--${_theme}`]),
582
+ className: classnames(styles$1G['path'], styles$1G[`path--${_theme}`]),
583
583
  fill: "none",
584
584
  strokeWidth: "6",
585
585
  strokeLinecap: "round",
@@ -589,9 +589,9 @@ const Spinner = ({
589
589
  })));
590
590
  };
591
591
 
592
- var styles$1z = {"tooltip":"_Ydu2O"};
592
+ var styles$1F = {"tooltip":"_Ydu2O"};
593
593
 
594
- var styles$1y = {"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"};
594
+ var styles$1E = {"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
595
 
596
596
  const TOOLTIP_THEME = {
597
597
  BLACK: 'black',
@@ -785,24 +785,24 @@ const TooltipOverlay = ({
785
785
  maxHeight,
786
786
  zIndex: getZIndex('tooltip')
787
787
  }),
788
- className: classnames(styles$1y['tooltip-overlay'], extraClass, {
789
- [styles$1y['tooltip-overlay--visible']]: isVisible,
790
- [styles$1y['tooltip-overlay--black-theme']]: theme === TOOLTIP_THEME.BLACK,
791
- [styles$1y['tooltip-overlay--white-theme']]: theme === TOOLTIP_THEME.WHITE
788
+ className: classnames(styles$1E['tooltip-overlay'], extraClass, {
789
+ [styles$1E['tooltip-overlay--visible']]: isVisible,
790
+ [styles$1E['tooltip-overlay--black-theme']]: theme === TOOLTIP_THEME.BLACK,
791
+ [styles$1E['tooltip-overlay--white-theme']]: theme === TOOLTIP_THEME.WHITE
792
792
  }),
793
793
  onMouseEnter: onFocusIn,
794
794
  onMouseLeave: onFocusOut
795
795
  }, React__default.createElement(Stack, {
796
796
  space: 8
797
797
  }, header && React__default.createElement("div", {
798
- className: styles$1y['tooltip-overlay__header']
798
+ className: styles$1E['tooltip-overlay__header']
799
799
  }, header), children)), React__default.createElement("div", {
800
- className: classnames(styles$1y['tooltip-overlay-arrow'], extraClass, {
801
- [styles$1y['tooltip-overlay-arrow--visible']]: isVisible,
802
- [styles$1y['tooltip-overlay-arrow--top']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.TOP,
803
- [styles$1y['tooltip-overlay-arrow--bottom']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.BOTTOM,
804
- [styles$1y['tooltip-overlay-arrow--black-theme']]: theme === TOOLTIP_THEME.BLACK,
805
- [styles$1y['tooltip-overlay-arrow--white-theme']]: theme === TOOLTIP_THEME.WHITE
800
+ className: classnames(styles$1E['tooltip-overlay-arrow'], extraClass, {
801
+ [styles$1E['tooltip-overlay-arrow--visible']]: isVisible,
802
+ [styles$1E['tooltip-overlay-arrow--top']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.TOP,
803
+ [styles$1E['tooltip-overlay-arrow--bottom']]: position.actualPlacement.placement === TOOLTIP_PLACEMENT.BOTTOM,
804
+ [styles$1E['tooltip-overlay-arrow--black-theme']]: theme === TOOLTIP_THEME.BLACK,
805
+ [styles$1E['tooltip-overlay-arrow--white-theme']]: theme === TOOLTIP_THEME.WHITE
806
806
  }),
807
807
  style: _extends({}, position.arrow, {
808
808
  zIndex: getZIndex('tooltip')
@@ -914,7 +914,7 @@ const TooltipElement = ({
914
914
  }), overlayElement);
915
915
  }
916
916
  return React__default.createElement("div", _extends({
917
- className: classnames(styles$1z['tooltip'])
917
+ className: classnames(styles$1F['tooltip'])
918
918
  }, commonProps, {
919
919
  ref: containerRef
920
920
  }), children, overlayElement);
@@ -924,7 +924,7 @@ const isTooltipCompatible = element => {
924
924
  return React__default.isValidElement(element) && typeof element.type === 'string';
925
925
  };
926
926
 
927
- var styles$1x = {"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"};
927
+ var styles$1D = {"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"};
928
928
 
929
929
  const BUTTON_SIZES = {
930
930
  FULL_WIDTH: 'full-width',
@@ -1019,24 +1019,24 @@ const ButtonComponent = (_ref, ref) => {
1019
1019
  onBlur: onBlur,
1020
1020
  onFocus: onFocus,
1021
1021
  onKeyDown: onKeyDown,
1022
- className: classnames(styles$1x['button'], {
1023
- [styles$1x['button--default']]: theme === BUTTON_THEMES.DEFAULT,
1024
- [styles$1x['button--primary']]: theme === BUTTON_THEMES.PRIMARY,
1025
- [styles$1x['button--danger']]: theme === BUTTON_THEMES.DANGER,
1026
- [styles$1x['button--upsell']]: theme === BUTTON_THEMES.UPSELL,
1027
- [styles$1x['button--marketing']]: theme === BUTTON_THEMES.MARKETING,
1028
- [styles$1x['button--hollow']]: theme === BUTTON_THEMES.HOLLOW,
1029
- [styles$1x['button--hollow-contrast']]: theme === BUTTON_THEMES.HOLLOW_CONTRAST,
1030
- [styles$1x['button--link-primary']]: theme === BUTTON_THEMES.LINK_PRIMARY,
1031
- [styles$1x['button--link-danger']]: theme === BUTTON_THEMES.LINK_DANGER,
1032
- [styles$1x['button--link-upsell']]: theme === BUTTON_THEMES.LINK_UPSELL,
1033
- [styles$1x['button--link-toolbar']]: theme === BUTTON_THEMES.LINK_TOOLBAR,
1034
- [styles$1x['button--link-contrast']]: theme === BUTTON_THEMES.LINK_CONTRAST,
1035
- [styles$1x['button--link-icon']]: theme === BUTTON_THEMES.LINK_ICON,
1036
- [styles$1x['button--loading']]: loading,
1037
- [styles$1x['button--icon-only']]: isIconOnly,
1038
- [styles$1x['button--size-min-width-100']]: size === BUTTON_SIZES.MIN_WIDTH_100,
1039
- [styles$1x['button--size-full-width']]: size === BUTTON_SIZES.FULL_WIDTH
1022
+ className: classnames(styles$1D['button'], {
1023
+ [styles$1D['button--default']]: theme === BUTTON_THEMES.DEFAULT,
1024
+ [styles$1D['button--primary']]: theme === BUTTON_THEMES.PRIMARY,
1025
+ [styles$1D['button--danger']]: theme === BUTTON_THEMES.DANGER,
1026
+ [styles$1D['button--upsell']]: theme === BUTTON_THEMES.UPSELL,
1027
+ [styles$1D['button--marketing']]: theme === BUTTON_THEMES.MARKETING,
1028
+ [styles$1D['button--hollow']]: theme === BUTTON_THEMES.HOLLOW,
1029
+ [styles$1D['button--hollow-contrast']]: theme === BUTTON_THEMES.HOLLOW_CONTRAST,
1030
+ [styles$1D['button--link-primary']]: theme === BUTTON_THEMES.LINK_PRIMARY,
1031
+ [styles$1D['button--link-danger']]: theme === BUTTON_THEMES.LINK_DANGER,
1032
+ [styles$1D['button--link-upsell']]: theme === BUTTON_THEMES.LINK_UPSELL,
1033
+ [styles$1D['button--link-toolbar']]: theme === BUTTON_THEMES.LINK_TOOLBAR,
1034
+ [styles$1D['button--link-contrast']]: theme === BUTTON_THEMES.LINK_CONTRAST,
1035
+ [styles$1D['button--link-icon']]: theme === BUTTON_THEMES.LINK_ICON,
1036
+ [styles$1D['button--loading']]: loading,
1037
+ [styles$1D['button--icon-only']]: isIconOnly,
1038
+ [styles$1D['button--size-min-width-100']]: size === BUTTON_SIZES.MIN_WIDTH_100,
1039
+ [styles$1D['button--size-full-width']]: size === BUTTON_SIZES.FULL_WIDTH
1040
1040
  }),
1041
1041
  type: type,
1042
1042
  disabled: disabled || loading,
@@ -1050,7 +1050,7 @@ const ButtonComponent = (_ref, ref) => {
1050
1050
  space: 8,
1051
1051
  alignItems: "center"
1052
1052
  }, children), loading && React__default.createElement("div", {
1053
- className: styles$1x['button__spinner']
1053
+ className: styles$1D['button__spinner']
1054
1054
  }, React__default.createElement(Spinner, {
1055
1055
  theme: contrastSpinner.includes(theme) ? SPINNER_THEMES.CONTRAST : SPINNER_THEMES.DISABLED
1056
1056
  })));
@@ -1060,7 +1060,7 @@ const ButtonComponent = (_ref, ref) => {
1060
1060
  overlay: title,
1061
1061
  ref: ref
1062
1062
  }, title && disabled ? React__default.createElement("div", {
1063
- className: styles$1x['disabled-button-wrapper']
1063
+ className: styles$1D['disabled-button-wrapper']
1064
1064
  }, ButtonElementResult) : ButtonElementResult)
1065
1065
  );
1066
1066
  };
@@ -10126,20 +10126,20 @@ const IconGreatMonochromatic = forwardRef((_ref, ref) => {
10126
10126
  });
10127
10127
  IconGreatMonochromatic.displayName = 'IconGreatMonochromatic';
10128
10128
 
10129
- var styles$1w = {"pagination-controls":"_S1co-"};
10129
+ var styles$1C = {"pagination-controls":"_S1co-"};
10130
10130
 
10131
- var styles$1v = {"keyboard-key":"_sgd9a","keyboard-key--light":"_8zg4j","keyboard-key__character":"_GAIig"};
10131
+ var styles$1B = {"keyboard-key":"_sgd9a","keyboard-key--light":"_8zg4j","keyboard-key__character":"_GAIig"};
10132
10132
 
10133
10133
  const KeyboardKey = ({
10134
10134
  children,
10135
10135
  theme: _theme = 'dark'
10136
10136
  }) => {
10137
10137
  return React__default.createElement("span", {
10138
- className: classnames(styles$1v['keyboard-key'], {
10139
- [styles$1v['keyboard-key--light']]: _theme === 'light'
10138
+ className: classnames(styles$1B['keyboard-key'], {
10139
+ [styles$1B['keyboard-key--light']]: _theme === 'light'
10140
10140
  })
10141
10141
  }, React__default.createElement("span", {
10142
- className: styles$1v['keyboard-key__character']
10142
+ className: styles$1B['keyboard-key__character']
10143
10143
  }, children));
10144
10144
  };
10145
10145
 
@@ -10221,6 +10221,13 @@ var Calendar$1 = {
10221
10221
  thursday: "Thursday",
10222
10222
  friday: "Friday",
10223
10223
  saturday: "Saturday",
10224
+ sundayShort: "Sun",
10225
+ mondayShort: "Mon",
10226
+ tuesdayShort: "Tue",
10227
+ wednesdayShort: "Wed",
10228
+ thursdayShort: "Thu",
10229
+ fridayShort: "Fri",
10230
+ saturdayShort: "Sat",
10224
10231
  january: "January",
10225
10232
  february: "February",
10226
10233
  march: "March",
@@ -10259,6 +10266,9 @@ var ActionList$1 = {
10259
10266
  var PhoneField$1 = {
10260
10267
  malformedPhoneNumber: "Please enter a valid phone number."
10261
10268
  };
10269
+ var ColorField$1 = {
10270
+ customColorButtonLabel: "Custom color"
10271
+ };
10262
10272
  var en = {
10263
10273
  PaginationControls: PaginationControls$1,
10264
10274
  AsyncSelectField: AsyncSelectField$1,
@@ -10269,7 +10279,8 @@ var en = {
10269
10279
  Card: Card$1,
10270
10280
  DataTable: DataTable$1,
10271
10281
  ActionList: ActionList$1,
10272
- PhoneField: PhoneField$1
10282
+ PhoneField: PhoneField$1,
10283
+ ColorField: ColorField$1
10273
10284
  };
10274
10285
 
10275
10286
  const initialValue$2 = {
@@ -10347,7 +10358,7 @@ const PaginationControls = _ref => {
10347
10358
  }
10348
10359
  });
10349
10360
  return React__default.createElement("div", _extends({}, dataProps, {
10350
- className: styles$1w['pagination-controls'],
10361
+ className: styles$1C['pagination-controls'],
10351
10362
  "data-testid": testId
10352
10363
  }), React__default.createElement(Button, {
10353
10364
  disabled: !hasPrevious,
@@ -10377,7 +10388,7 @@ const LINK_TARGET = {
10377
10388
  BLANK: '_blank'
10378
10389
  };
10379
10390
 
10380
- var styles$1u = {"link":"_EiQ4c","link--contrast":"_weJDR"};
10391
+ var styles$1A = {"link":"_EiQ4c","link--contrast":"_weJDR"};
10381
10392
 
10382
10393
  const _excluded$bq = ["href", "target", "theme", "onClick", "children"];
10383
10394
  const Link = _ref => {
@@ -10394,9 +10405,9 @@ const Link = _ref => {
10394
10405
  } = getDataProps(otherProps);
10395
10406
  const ref = React__default.useRef(null);
10396
10407
  return React__default.createElement("a", _extends({}, dataProps, {
10397
- className: classnames(styles$1u['link'], {
10398
- [styles$1u['link--primary']]: theme === LINK_THEME.PRIMARY,
10399
- [styles$1u['link--contrast']]: theme === LINK_THEME.CONTRAST
10408
+ className: classnames(styles$1A['link'], {
10409
+ [styles$1A['link--primary']]: theme === LINK_THEME.PRIMARY,
10410
+ [styles$1A['link--contrast']]: theme === LINK_THEME.CONTRAST
10400
10411
  }),
10401
10412
  href: href,
10402
10413
  target: target,
@@ -10418,7 +10429,7 @@ const DropdownContext = React__default.createContext({
10418
10429
  });
10419
10430
  const useDropdownContext = () => React__default.useContext(DropdownContext);
10420
10431
 
10421
- var styles$1t = {"dropdown-pane":"_sp-pT"};
10432
+ var styles$1z = {"dropdown-pane":"_sp-pT"};
10422
10433
 
10423
10434
  const DROPDOWN_PANE_PADDING = 14;
10424
10435
  const calculateOverlayPosition$1 = (triggerPosition, triggerOffsetHeight, panePosition, alignment) => {
@@ -10554,8 +10565,8 @@ const PaneOverlay = ({
10554
10565
  useKeyPress(['Escape'], onToggleDropdown);
10555
10566
  const overflow = maxHeight ? 'auto' : undefined;
10556
10567
  return React__default.createElement("div", {
10557
- className: classnames(styles$1t['dropdown-pane'], {
10558
- [styles$1t['dropdown-pane--with-padding']]: true,
10568
+ className: classnames(styles$1z['dropdown-pane'], {
10569
+ [styles$1z['dropdown-pane--with-padding']]: true,
10559
10570
  'dropdown-pane--custom-width': width !== undefined
10560
10571
  }),
10561
10572
  style: _extends({}, position, {
@@ -10586,7 +10597,7 @@ const getKeyboardFocusableElements = element => {
10586
10597
  });
10587
10598
  };
10588
10599
 
10589
- var styles$1s = {"dropdown__trigger":"_AktVc"};
10600
+ var styles$1y = {"dropdown__trigger":"_AktVc"};
10590
10601
 
10591
10602
  const DROPDOWN_ALIGNEMNT = {
10592
10603
  LEFT: 'left',
@@ -10597,7 +10608,7 @@ const DROPDOWN_TRIGGER = {
10597
10608
  CLICK: 'click'
10598
10609
  };
10599
10610
 
10600
- var styles$1r = {"label":"_zv4ua","label--truncate":"_FPyID"};
10611
+ var styles$1x = {"label":"_zv4ua","label--truncate":"_FPyID"};
10601
10612
 
10602
10613
  const isEllipsisActive = e => {
10603
10614
  return e.offsetWidth < e.scrollWidth;
@@ -10646,8 +10657,8 @@ const Label = ({
10646
10657
  const LabelElement = React__default.createElement("label", {
10647
10658
  htmlFor: htmlFor,
10648
10659
  id: labelId,
10649
- className: classnames(styles$1r['label'], {
10650
- [styles$1r['label--truncate']]: shouldTruncate
10660
+ className: classnames(styles$1x['label'], {
10661
+ [styles$1x['label--truncate']]: shouldTruncate
10651
10662
  })
10652
10663
  }, children);
10653
10664
  if (showTooltip) {
@@ -10659,7 +10670,7 @@ const Label = ({
10659
10670
  return LabelElement;
10660
10671
  };
10661
10672
 
10662
- var styles$1q = {"caption":"_Qrxg5"};
10673
+ var styles$1w = {"caption":"_Qrxg5"};
10663
10674
 
10664
10675
  const Caption = ({
10665
10676
  fieldId,
@@ -10667,11 +10678,11 @@ const Caption = ({
10667
10678
  }) => {
10668
10679
  return React__default.createElement("div", {
10669
10680
  id: fieldId && `${fieldId}-describer`,
10670
- className: styles$1q['caption']
10681
+ className: styles$1w['caption']
10671
10682
  }, children);
10672
10683
  };
10673
10684
 
10674
- var styles$1p = {"error-message":"_eS4YO"};
10685
+ var styles$1v = {"error-message":"_eS4YO"};
10675
10686
 
10676
10687
  const ErrorMessage = ({
10677
10688
  fieldId,
@@ -10680,7 +10691,7 @@ const ErrorMessage = ({
10680
10691
  }) => {
10681
10692
  return React__default.createElement("div", {
10682
10693
  id: fieldId && `${fieldId}-error-message`,
10683
- className: styles$1p['error-message'],
10694
+ className: styles$1v['error-message'],
10684
10695
  "data-testid": testId
10685
10696
  }, React__default.createElement(Inline, {
10686
10697
  space: 8,
@@ -10717,7 +10728,7 @@ const ALIGNMENTS = {
10717
10728
  JUSTIFY: 'justify'
10718
10729
  };
10719
10730
 
10720
- var styles$1o = {"text":"_6SgoN","text--bold":"_i2LHD","text__body":"_SF95f","text__caption":"_HHohB","text__insight":"_xdhK0","text__span":"_yZbuO","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"};
10731
+ var styles$1u = {"text":"_6SgoN","text--bold":"_i2LHD","text__body":"_SF95f","text__caption":"_HHohB","text__insight":"_xdhK0","text__span":"_yZbuO","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"};
10721
10732
 
10722
10733
  const _excluded$bp = ["children", "as", "emphasis", "alignment", "color", "testId", "textWrap"];
10723
10734
  const TextComponent = (_ref, ref) => {
@@ -10745,21 +10756,21 @@ const TextComponent = (_ref, ref) => {
10745
10756
  color: getColor(color),
10746
10757
  textWrap
10747
10758
  }, positionStyles),
10748
- className: classnames(styles$1o['text'], {
10749
- [styles$1o['text--bold']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.BOLD),
10750
- [styles$1o['text--italic']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.ITALIC),
10751
- [styles$1o['text--underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.UNDERLINE),
10752
- [styles$1o['text--dotted-underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.DOTTED_UNDERLINE),
10753
- [styles$1o['text--monospace']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.MONOSPACE),
10754
- [styles$1o['text--line-through']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.STRIKETHROUGH),
10755
- [styles$1o['text--align-left']]: alignment === ALIGNMENTS.LEFT,
10756
- [styles$1o['text--align-right']]: alignment === ALIGNMENTS.RIGHT,
10757
- [styles$1o['text--align-center']]: alignment === ALIGNMENTS.CENTER,
10758
- [styles$1o['text--align-justify']]: alignment === ALIGNMENTS.JUSTIFY,
10759
- [styles$1o['text__body']]: as === TEXT_TYPES.BODY,
10760
- [styles$1o['text__insight']]: as === TEXT_TYPES.INSIGHT,
10761
- [styles$1o['text__caption']]: as === TEXT_TYPES.CAPTION,
10762
- [styles$1o['text__span']]: as === TEXT_TYPES.SPAN
10759
+ className: classnames(styles$1u['text'], {
10760
+ [styles$1u['text--bold']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.BOLD),
10761
+ [styles$1u['text--italic']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.ITALIC),
10762
+ [styles$1u['text--underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.UNDERLINE),
10763
+ [styles$1u['text--dotted-underline']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.DOTTED_UNDERLINE),
10764
+ [styles$1u['text--monospace']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.MONOSPACE),
10765
+ [styles$1u['text--line-through']]: emphasis == null ? void 0 : emphasis.includes(FONT_EMPHASIS.STRIKETHROUGH),
10766
+ [styles$1u['text--align-left']]: alignment === ALIGNMENTS.LEFT,
10767
+ [styles$1u['text--align-right']]: alignment === ALIGNMENTS.RIGHT,
10768
+ [styles$1u['text--align-center']]: alignment === ALIGNMENTS.CENTER,
10769
+ [styles$1u['text--align-justify']]: alignment === ALIGNMENTS.JUSTIFY,
10770
+ [styles$1u['text__body']]: as === TEXT_TYPES.BODY,
10771
+ [styles$1u['text__insight']]: as === TEXT_TYPES.INSIGHT,
10772
+ [styles$1u['text__caption']]: as === TEXT_TYPES.CAPTION,
10773
+ [styles$1u['text__span']]: as === TEXT_TYPES.SPAN
10763
10774
  }),
10764
10775
  'data-testid': testId
10765
10776
  }, dataProps, other, {
@@ -10776,7 +10787,7 @@ const Bold = ({
10776
10787
  children
10777
10788
  }) => {
10778
10789
  return React__default.createElement("span", {
10779
- className: classnames(styles$1o['text--bold'], styles$1o['text'])
10790
+ className: classnames(styles$1u['text--bold'], styles$1u['text'])
10780
10791
  }, children);
10781
10792
  };
10782
10793
 
@@ -10784,7 +10795,7 @@ const Underline = ({
10784
10795
  children
10785
10796
  }) => {
10786
10797
  return React__default.createElement("span", {
10787
- className: classnames(styles$1o['text--underline'], styles$1o['text'])
10798
+ className: classnames(styles$1u['text--underline'], styles$1u['text'])
10788
10799
  }, children);
10789
10800
  };
10790
10801
 
@@ -10792,7 +10803,7 @@ const Italic = ({
10792
10803
  children
10793
10804
  }) => {
10794
10805
  return React__default.createElement("span", {
10795
- className: classnames(styles$1o['text--italic'], styles$1o['text'])
10806
+ className: classnames(styles$1u['text--italic'], styles$1u['text'])
10796
10807
  }, children);
10797
10808
  };
10798
10809
 
@@ -10929,7 +10940,7 @@ const useFieldControllers = ({
10929
10940
  return controllers;
10930
10941
  };
10931
10942
 
10932
- var styles$1n = {"text-field":"_G6LsE","text-field--invalid":"_2ZYtt","text-field--prefixed":"_rWp7H","text-field--suffixed":"_Xq8xX"};
10943
+ var styles$1t = {"text-field":"_G6LsE","text-field--invalid":"_2ZYtt","text-field--prefixed":"_rWp7H","text-field--suffixed":"_Xq8xX"};
10933
10944
 
10934
10945
  const _excluded$bn = ["autoComplete", "autoFocus", "defaultValue", "disabled", "error", "id", "maxLength", "name", "caption", "label", "onBlur", "onChange", "onFocus", "onKeyDown", "placeholder", "value", "ref", "testId"];
10935
10946
  const useTextField = _ref => {
@@ -10970,8 +10981,8 @@ const useTextField = _ref => {
10970
10981
  'aria-invalid': hasError,
10971
10982
  autoComplete,
10972
10983
  autoFocus,
10973
- className: classnames(styles$1n['text-field'], {
10974
- [styles$1n['text-field--invalid']]: hasError
10984
+ className: classnames(styles$1t['text-field'], {
10985
+ [styles$1t['text-field--invalid']]: hasError
10975
10986
  }),
10976
10987
  'data-testid': testId,
10977
10988
  disabled,
@@ -11002,7 +11013,7 @@ const useTextField = _ref => {
11002
11013
  };
11003
11014
  };
11004
11015
 
11005
- var styles$1m = {"affix-container":"_F8QOB","prefix":"_yPPIy","suffix":"_Y3yFd","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"};
11016
+ var styles$1s = {"affix-container":"_F8QOB","prefix":"_yPPIy","suffix":"_Y3yFd","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"};
11006
11017
 
11007
11018
  const AffixContainer = ({
11008
11019
  prefix,
@@ -11037,19 +11048,19 @@ const AffixContainer = ({
11037
11048
  if (!hasPrefix && !hasSuffix) {
11038
11049
  return children;
11039
11050
  }
11040
- const classes = classnames(styles$1m['affix-container'], {
11041
- [styles$1m['affix-container--prefixed']]: hasPrefix,
11042
- [styles$1m['affix-container--suffixed']]: hasSuffix
11051
+ const classes = classnames(styles$1s['affix-container'], {
11052
+ [styles$1s['affix-container--prefixed']]: hasPrefix,
11053
+ [styles$1s['affix-container--suffixed']]: hasSuffix
11043
11054
  });
11044
11055
  return React__default.createElement("div", {
11045
11056
  className: classes,
11046
11057
  ref: container,
11047
11058
  "data-testid": testId
11048
11059
  }, hasPrefix && React__default.createElement("div", {
11049
- className: styles$1m['prefix'],
11060
+ className: styles$1s['prefix'],
11050
11061
  ref: prefixElement
11051
11062
  }, prefix), children, hasSuffix && React__default.createElement("div", {
11052
- className: styles$1m['suffix'],
11063
+ className: styles$1s['suffix'],
11053
11064
  ref: suffixElement
11054
11065
  }, suffix));
11055
11066
  };
@@ -11223,7 +11234,9 @@ const Dropdown = ({
11223
11234
  const focusedElement = document.activeElement;
11224
11235
  // Set the focus on the first focusable element in the pane if the focus is not already on the pane
11225
11236
  if (!((_paneRef$current = paneRef.current) != null && _paneRef$current.contains(focusedElement))) {
11226
- focusableElements[0].focus();
11237
+ focusableElements[0].focus({
11238
+ preventScroll: true
11239
+ });
11227
11240
  }
11228
11241
  }, 0);
11229
11242
  } else {
@@ -11256,7 +11269,7 @@ const Dropdown = ({
11256
11269
  paneRef
11257
11270
  }
11258
11271
  }, triggerIsKnownButton ? React__default.cloneElement(trigger, _extends({}, trigger.props, triggerProps)) : React__default.createElement("button", _extends({}, triggerProps, {
11259
- className: styles$1s['dropdown__trigger'],
11272
+ className: styles$1y['dropdown__trigger'],
11260
11273
  ref: updatedRef,
11261
11274
  onFocus: handleFocus
11262
11275
  }), trigger), React__default.createElement(DropdownPane, {
@@ -11270,7 +11283,7 @@ const Dropdown = ({
11270
11283
  }, children));
11271
11284
  };
11272
11285
 
11273
- var styles$1l = {"dropdown-list":"_91hvH","dropdown-list__item":"_NrB4V","dropdown-list__item--hover":"_aMs9c"};
11286
+ var styles$1r = {"dropdown-list":"_91hvH","dropdown-list__item":"_NrB4V","dropdown-list__item--hover":"_aMs9c"};
11274
11287
 
11275
11288
  const findNextActiveIndex = (items, startAt) => {
11276
11289
  let startIndex = 0;
@@ -11419,21 +11432,31 @@ const checkIsComponent = (element, config) => {
11419
11432
  }
11420
11433
  return isComponent;
11421
11434
  };
11435
+ const updateIconSize = child => {
11436
+ var _child$type$displayNa, _child$type;
11437
+ const isIcon = (_child$type$displayNa = (_child$type = child.type) == null || (_child$type = _child$type.displayName) == null ? void 0 : _child$type.startsWith('Icon')) != null ? _child$type$displayNa : false;
11438
+ if (!isIcon) {
11439
+ return child;
11440
+ }
11441
+ return React__default.cloneElement(child, _extends({}, child.props, {
11442
+ size: 'small'
11443
+ }));
11444
+ };
11422
11445
 
11423
- var styles$1k = {"dropdown-list-divider":"_ISJ4M"};
11446
+ var styles$1q = {"dropdown-list-divider":"_ISJ4M"};
11424
11447
 
11425
11448
  const DropdownListDivider = ({
11426
11449
  testId
11427
11450
  }) => {
11428
11451
  return React__default.createElement("div", {
11429
- className: styles$1k['dropdown-list-divider'],
11452
+ className: styles$1q['dropdown-list-divider'],
11430
11453
  "data-testid": testId
11431
11454
  });
11432
11455
  };
11433
11456
 
11434
- var styles$1j = {"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"};
11457
+ var styles$1p = {"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"};
11435
11458
 
11436
- var styles$1i = {"dropdown-submenu":"_X4fIx"};
11459
+ var styles$1o = {"dropdown-submenu":"_X4fIx"};
11437
11460
 
11438
11461
  const DropdownSubmenu = forwardRef(({
11439
11462
  children,
@@ -11453,7 +11476,7 @@ const DropdownSubmenu = forwardRef(({
11453
11476
  // so no keyboard handler is needed.
11454
11477
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
11455
11478
  React__default.createElement("div", {
11456
- className: styles$1i['dropdown-submenu'],
11479
+ className: styles$1o['dropdown-submenu'],
11457
11480
  "data-submenu-direction": direction,
11458
11481
  style: position || DEFAULT_POSITION,
11459
11482
  onMouseEnter: openSubmenu,
@@ -11646,20 +11669,20 @@ const DropdownListItem = ({
11646
11669
  onClick && onClick(e);
11647
11670
  };
11648
11671
  const childrenContainer = React__default.createElement("div", {
11649
- className: styles$1j['dropdown-list-item__container']
11672
+ className: styles$1p['dropdown-list-item__container']
11650
11673
  }, prefix && React__default.createElement("div", {
11651
- className: styles$1j['dropdown-list-item__prefix']
11674
+ className: styles$1p['dropdown-list-item__prefix']
11652
11675
  }, prefix), React__default.createElement("div", {
11653
- className: styles$1j['dropdown-list-item__content']
11676
+ className: styles$1p['dropdown-list-item__content']
11654
11677
  }, React__default.createElement(Stack, {
11655
11678
  space: 0,
11656
11679
  flex: [1]
11657
11680
  }, children, caption && React__default.createElement("div", {
11658
- className: styles$1j['dropdown-list-item__caption']
11681
+ className: styles$1p['dropdown-list-item__caption']
11659
11682
  }, caption))), (suffix || submenu) && React__default.createElement("div", {
11660
- className: styles$1j['dropdown-list-item__suffix']
11683
+ className: styles$1p['dropdown-list-item__suffix']
11661
11684
  }, suffix && _openSubmenuOnSuffixClick && submenu ? React__default.createElement("button", {
11662
- className: styles$1j['dropdown-list-item__suffix-button'],
11685
+ className: styles$1p['dropdown-list-item__suffix-button'],
11663
11686
  onClick: e => {
11664
11687
  e.preventDefault();
11665
11688
  e.stopPropagation();
@@ -11670,19 +11693,19 @@ const DropdownListItem = ({
11670
11693
  "aria-label": "Open submenu",
11671
11694
  disabled: disabled
11672
11695
  }, suffix) : suffix, submenu && !suffix && React__default.createElement("div", {
11673
- className: styles$1j['dropdown-list-item__suffix-spot']
11696
+ className: styles$1p['dropdown-list-item__suffix-spot']
11674
11697
  }), submenu && !_openSubmenuOnSuffixClick && React__default.createElement(IconChevronRight, {
11675
11698
  size: "small"
11676
11699
  })));
11677
11700
  const linkItem = href && (_reloadDocument ? React__default.createElement("a", {
11678
11701
  href: href,
11679
- className: styles$1j['dropdown-list-item__link'],
11702
+ className: styles$1p['dropdown-list-item__link'],
11680
11703
  target: _target,
11681
11704
  tabIndex: -1
11682
11705
  }, childrenContainer) : React__default.createElement(Link$1, {
11683
11706
  to: href,
11684
11707
  target: _target,
11685
- className: styles$1j['dropdown-list-item__link'],
11708
+ className: styles$1p['dropdown-list-item__link'],
11686
11709
  reloadDocument: false,
11687
11710
  tabIndex: -1,
11688
11711
  "data-testid": testId
@@ -11690,9 +11713,9 @@ const DropdownListItem = ({
11690
11713
  return (
11691
11714
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
11692
11715
  React__default.createElement("div", {
11693
- className: classnames(styles$1j['dropdown-list-item'], {
11694
- [styles$1j['dropdown-list-item--selected']]: selected,
11695
- [styles$1j['dropdown-list-item--disabled']]: disabled
11716
+ className: classnames(styles$1p['dropdown-list-item'], {
11717
+ [styles$1p['dropdown-list-item--selected']]: selected,
11718
+ [styles$1p['dropdown-list-item--disabled']]: disabled
11696
11719
  }),
11697
11720
  onMouseDown: e => e.preventDefault(),
11698
11721
  onClick: handleClick,
@@ -11835,7 +11858,7 @@ const DropdownList = ({
11835
11858
  // eslint-disable-next-line react-hooks/exhaustive-deps
11836
11859
  }, [highlightItemIndex]);
11837
11860
  return React__default.createElement("ul", {
11838
- className: styles$1l['dropdown-list'],
11861
+ className: styles$1r['dropdown-list'],
11839
11862
  "data-testid": testId,
11840
11863
  ref: listRef
11841
11864
  }, React__default.Children.toArray(children).filter(Boolean).map((child, index) => {
@@ -11847,8 +11870,8 @@ const DropdownList = ({
11847
11870
  const divider = (_items$index2 = items[index]) == null ? void 0 : _items$index2.divider;
11848
11871
  return React__default.createElement("li", {
11849
11872
  key: index,
11850
- className: classnames(styles$1l['dropdown-list__item'], {
11851
- [styles$1l['dropdown-list__item--hover']]: focusedItem === index && isInteractive
11873
+ className: classnames(styles$1r['dropdown-list__item'], {
11874
+ [styles$1r['dropdown-list__item--hover']]: focusedItem === index && isInteractive
11852
11875
  }),
11853
11876
  onMouseEnter: divider ? undefined : () => setFocusOnItem(index),
11854
11877
  role: divider ? 'separator' : 'menuitem'
@@ -11872,7 +11895,7 @@ const KebabMenu = ({
11872
11895
  }, action.label))));
11873
11896
  };
11874
11897
 
11875
- var styles$1h = {"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"};
11898
+ var styles$1n = {"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"};
11876
11899
 
11877
11900
  const CardContext = createContext({
11878
11901
  isCardMounted: false
@@ -11908,28 +11931,28 @@ const Card = _ref => {
11908
11931
  isCardMounted: true
11909
11932
  }
11910
11933
  }, React__default.createElement("div", _extends({
11911
- className: classnames(styles$1h['card']),
11934
+ className: classnames(styles$1n['card']),
11912
11935
  style: positionStyles
11913
11936
  }, dataProps), onClick ? React__default.createElement("button", {
11914
- className: classnames(styles$1h['card__body'], styles$1h['card__body--interactive'], {
11915
- [styles$1h['card__body--disabled']]: disabled,
11916
- [styles$1h['card__body--focus']]: isSelected,
11917
- [styles$1h['card__body--with-kebab']]: actions
11937
+ className: classnames(styles$1n['card__body'], styles$1n['card__body--interactive'], {
11938
+ [styles$1n['card__body--disabled']]: disabled,
11939
+ [styles$1n['card__body--focus']]: isSelected,
11940
+ [styles$1n['card__body--with-kebab']]: actions
11918
11941
  }),
11919
11942
  "data-testid": testId,
11920
11943
  tabIndex: 0,
11921
11944
  onClick: onClick,
11922
11945
  disabled: disabled
11923
11946
  }, children) : React__default.createElement("div", {
11924
- className: classnames(styles$1h['card__body'], {
11925
- [styles$1h['card__body--disabled']]: disabled,
11926
- [styles$1h['card__body--focus']]: isSelected,
11927
- [styles$1h['card__body--with-kebab']]: actions
11947
+ className: classnames(styles$1n['card__body'], {
11948
+ [styles$1n['card__body--disabled']]: disabled,
11949
+ [styles$1n['card__body--focus']]: isSelected,
11950
+ [styles$1n['card__body--with-kebab']]: actions
11928
11951
  }),
11929
11952
  "data-testid": testId
11930
11953
  }, children), actions && React__default.createElement("div", {
11931
- className: classnames(styles$1h['card__kebab'], {
11932
- [styles$1h['card__kebab--disabled']]: disabled
11954
+ className: classnames(styles$1n['card__kebab'], {
11955
+ [styles$1n['card__kebab--disabled']]: disabled
11933
11956
  })
11934
11957
  }, React__default.createElement(KebabMenu, {
11935
11958
  actions: onClose ? actions.concat({
@@ -11938,8 +11961,8 @@ const Card = _ref => {
11938
11961
  onAction: onClose
11939
11962
  }) : actions
11940
11963
  })), !actions && onClose && React__default.createElement("div", {
11941
- className: classnames(styles$1h['card__close'], {
11942
- [styles$1h['card__close--disabled']]: disabled
11964
+ className: classnames(styles$1n['card__close'], {
11965
+ [styles$1n['card__close--disabled']]: disabled
11943
11966
  })
11944
11967
  }, React__default.createElement(Button, {
11945
11968
  theme: "link-icon",
@@ -11947,7 +11970,7 @@ const Card = _ref => {
11947
11970
  }, React__default.createElement(IconTimes, null)))));
11948
11971
  };
11949
11972
 
11950
- var styles$1g = {"callout-card__close":"_VxmQm","callout-card__header":"_3RrQI"};
11973
+ var styles$1m = {"callout-card__close":"_VxmQm","callout-card__header":"_3RrQI"};
11951
11974
 
11952
11975
  /**
11953
11976
  * @deprecated Use `<EmptyState as='card' />` instead
@@ -11968,7 +11991,7 @@ const CalloutCard = ({
11968
11991
  }, React__default.createElement(Stack, {
11969
11992
  space: 12
11970
11993
  }, React__default.createElement("div", {
11971
- className: styles$1g['callout-card__header']
11994
+ className: styles$1m['callout-card__header']
11972
11995
  }, React__default.createElement(Text, {
11973
11996
  as: "body",
11974
11997
  color: "primary-color"
@@ -11983,7 +12006,7 @@ const CalloutCard = ({
11983
12006
  alt: String(title) + String(header),
11984
12007
  width: "354px"
11985
12008
  })), onClose && React__default.createElement("div", {
11986
- className: styles$1g['callout-card__close']
12009
+ className: styles$1m['callout-card__close']
11987
12010
  }, React__default.createElement(Button, {
11988
12011
  theme: "link-icon",
11989
12012
  onClick: onClose
@@ -11999,7 +12022,7 @@ const Breadcrumbs = ({
11999
12022
  }, children);
12000
12023
  };
12001
12024
 
12002
- var styles$1f = {"breadcrumb-item":"_fo7-A"};
12025
+ var styles$1l = {"breadcrumb-item":"_fo7-A"};
12003
12026
 
12004
12027
  const BreadcrumbItem = ({
12005
12028
  href,
@@ -12013,25 +12036,25 @@ const BreadcrumbItem = ({
12013
12036
  // This is neessary to support older versions of react-router-dom
12014
12037
  return _reloadDocument ? React__default.createElement("a", {
12015
12038
  href: href,
12016
- className: styles$1f['breadcrumb-item'],
12039
+ className: styles$1l['breadcrumb-item'],
12017
12040
  "data-testid": testId
12018
12041
  }, content) : React__default.createElement(Link$1, {
12019
12042
  to: href,
12020
- className: styles$1f['breadcrumb-item'],
12043
+ className: styles$1l['breadcrumb-item'],
12021
12044
  relative: "path",
12022
12045
  reloadDocument: _reloadDocument,
12023
12046
  "data-testid": testId
12024
12047
  }, content);
12025
12048
  };
12026
12049
 
12027
- var styles$1e = {"page-breadcrumbs":"_QjIgc"};
12050
+ var styles$1k = {"page-breadcrumbs":"_QjIgc"};
12028
12051
 
12029
12052
  const PageBreadcrumbs = ({
12030
12053
  breadcrumbs
12031
12054
  }) => {
12032
12055
  const items = getBreadbrumbItems(breadcrumbs);
12033
12056
  return React__default.createElement("div", {
12034
- className: styles$1e['page-breadcrumbs']
12057
+ className: styles$1k['page-breadcrumbs']
12035
12058
  }, React__default.createElement(Breadcrumbs, null, items));
12036
12059
  };
12037
12060
  const getBreadbrumbItems = breadcrumbs => {
@@ -12051,7 +12074,7 @@ const getBreadbrumbItems = breadcrumbs => {
12051
12074
  }, breadcrumbs.label);
12052
12075
  };
12053
12076
 
12054
- var styles$1d = {"page":"_QB6yF","page--fullwidth":"_g7MTf","page--restricted":"_LRq4j"};
12077
+ var styles$1j = {"page":"_QB6yF","page--fullwidth":"_g7MTf","page--restricted":"_LRq4j"};
12055
12078
 
12056
12079
  const PAGE_SIZES = {
12057
12080
  FULL_WIDTH: 'fullwidth',
@@ -12072,9 +12095,9 @@ const Page = ({
12072
12095
  const hasHeader = title || actions;
12073
12096
  const hasPageBlocks = hasHeader || banner || filterBar;
12074
12097
  return React__default.createElement("div", {
12075
- className: classnames(styles$1d['page'], {
12076
- [styles$1d['page--restricted']]: _size === PAGE_SIZES.RESTRICTED,
12077
- [styles$1d['page--fullwidth']]: _size === PAGE_SIZES.FULL_WIDTH
12098
+ className: classnames(styles$1j['page'], {
12099
+ [styles$1j['page--restricted']]: _size === PAGE_SIZES.RESTRICTED,
12100
+ [styles$1j['page--fullwidth']]: _size === PAGE_SIZES.FULL_WIDTH
12078
12101
  }),
12079
12102
  "data-testid": testId
12080
12103
  }, React__default.createElement(Stack, {
@@ -12095,15 +12118,15 @@ const Page = ({
12095
12118
  }, title), actions), subtitle && React__default.createElement(Text, null, subtitle)), banner, filterBar)), children));
12096
12119
  };
12097
12120
 
12098
- var styles$1c = {"page-layout":"_Scw7-","page-layout__nav-container":"_v--DF","page-layout__nav-list":"_dJeZe","page-layout__content":"_hHi70","page-layout__side-nav-content":"_vTMjp"};
12121
+ var styles$1i = {"page-layout":"_Scw7-","page-layout__nav-container":"_v--DF","page-layout__nav-list":"_dJeZe","page-layout__content":"_hHi70","page-layout__side-nav-content":"_vTMjp"};
12099
12122
 
12100
- var styles$1b = {"menu-item":"_SebbU","menu-item--active":"_CDEVl","menu-item--with-badge":"_VudDE","menu-item__badge":"_vErBS"};
12123
+ var styles$1h = {"menu-item":"_SebbU","menu-item--active":"_CDEVl","menu-item--with-badge":"_VudDE","menu-item__badge":"_vErBS"};
12101
12124
 
12102
- var styles$1a = {"badge":"_RXV4h","badge--warning":"_2An1I","badge--danger":"_-Bw8L","badge--success":"_RxlMz","badge--info":"_dzCH-","badge--numeric":"_Ix9tP"};
12125
+ var styles$1g = {"badge":"_RXV4h","badge--warning":"_2An1I","badge--danger":"_-Bw8L","badge--success":"_RxlMz","badge--info":"_dzCH-","badge--numeric":"_Ix9tP"};
12103
12126
 
12104
- var styles$19 = {"overlay":"_0yTe8","overlay--after-open":"_yJBtA","overlay--before-close":"_iWogn","content":"_ntozd","content--after-open":"_EQjDq","content--before-close":"_ZTY3B"};
12127
+ var styles$1f = {"overlay":"_0yTe8","overlay--after-open":"_yJBtA","overlay--before-close":"_iWogn","content":"_ntozd","content--after-open":"_EQjDq","content--before-close":"_ZTY3B"};
12105
12128
 
12106
- var styles$18 = {"header":"_tgpG9","header__close-button":"_b1dgU","sub-header":"_c2nm4"};
12129
+ var styles$1e = {"header":"_tgpG9","header__close-button":"_b1dgU","sub-header":"_c2nm4"};
12107
12130
 
12108
12131
  const ModalHeader = ({
12109
12132
  header,
@@ -12113,7 +12136,7 @@ const ModalHeader = ({
12113
12136
  }) => {
12114
12137
  if (!header && !subHeader) {
12115
12138
  return onClose ? React__default.createElement("div", {
12116
- className: styles$18['header__close-button']
12139
+ className: styles$1e['header__close-button']
12117
12140
  }, React__default.createElement(Button, {
12118
12141
  theme: "link-icon",
12119
12142
  onClick: onClose,
@@ -12129,13 +12152,13 @@ const ModalHeader = ({
12129
12152
  flex: [1],
12130
12153
  alignItems: "center"
12131
12154
  }, React__default.createElement("span", {
12132
- className: styles$18['header']
12155
+ className: styles$1e['header']
12133
12156
  }, header), onClose && React__default.createElement(Button, {
12134
12157
  theme: "link-icon",
12135
12158
  onClick: onClose,
12136
12159
  disabled: loading
12137
12160
  }, React__default.createElement(IconTimes, null))), subHeader && React__default.createElement("div", {
12138
- className: styles$18['sub-header']
12161
+ className: styles$1e['sub-header']
12139
12162
  }, subHeader));
12140
12163
  };
12141
12164
 
@@ -12193,14 +12216,14 @@ const Modal = _ref => {
12193
12216
  contentLabel: "Modal",
12194
12217
  appElement: rootElementId && document.getElementById(rootElementId) || undefined,
12195
12218
  overlayClassName: {
12196
- base: styles$19['overlay'],
12197
- afterOpen: styles$19['overlay--after-open'],
12198
- beforeClose: styles$19['overlay--before-close']
12219
+ base: styles$1f['overlay'],
12220
+ afterOpen: styles$1f['overlay--after-open'],
12221
+ beforeClose: styles$1f['overlay--before-close']
12199
12222
  },
12200
12223
  className: {
12201
- base: styles$19['content'],
12202
- afterOpen: styles$19['content--after-open'],
12203
- beforeClose: styles$19['content--before-close']
12224
+ base: styles$1f['content'],
12225
+ afterOpen: styles$1f['content--after-open'],
12226
+ beforeClose: styles$1f['content--before-close']
12204
12227
  },
12205
12228
  data: dataProps
12206
12229
  }, React__default.createElement(ModalHeader, {
@@ -12242,7 +12265,7 @@ const useScrollShadow = () => {
12242
12265
  };
12243
12266
  };
12244
12267
 
12245
- var styles$17 = {"modal-body":"_4YK4k","modal-body--with-scroll-shadow":"_wo1vv","modal-body__inner-div":"_9u6xC"};
12268
+ var styles$1d = {"modal-body":"_4YK4k","modal-body--with-scroll-shadow":"_wo1vv","modal-body__inner-div":"_9u6xC"};
12246
12269
 
12247
12270
  const ModalBody = ({
12248
12271
  children,
@@ -12253,17 +12276,17 @@ const ModalBody = ({
12253
12276
  showScrollShadow
12254
12277
  } = useScrollShadow();
12255
12278
  return React__default.createElement("div", {
12256
- className: classnames(styles$17['modal-body'], {
12257
- [styles$17['modal-body--with-scroll-shadow']]: showScrollShadow
12279
+ className: classnames(styles$1d['modal-body'], {
12280
+ [styles$1d['modal-body--with-scroll-shadow']]: showScrollShadow
12258
12281
  }),
12259
12282
  ref: ref,
12260
12283
  "data-testid": testId
12261
12284
  }, React__default.createElement("div", {
12262
- className: styles$17['modal-body__inner-div']
12285
+ className: styles$1d['modal-body__inner-div']
12263
12286
  }, children));
12264
12287
  };
12265
12288
 
12266
- var styles$16 = {"modal-footer":"_bezlP","tertiary-container":"_EdqHx"};
12289
+ var styles$1c = {"modal-footer":"_bezlP","tertiary-container":"_EdqHx"};
12267
12290
 
12268
12291
  const updateButtonProps$1 = (button, newProps) => {
12269
12292
  if (!button) {
@@ -12307,7 +12330,7 @@ const ModalFooter = ({
12307
12330
  justifyContent: "space-between"
12308
12331
  }, React__default.createElement("div", {
12309
12332
  className: classnames({
12310
- [styles$16['tertiary-container']]: tertiaryButton && tertiaryButton.props.theme.startsWith('link')
12333
+ [styles$1c['tertiary-container']]: tertiaryButton && tertiaryButton.props.theme.startsWith('link')
12311
12334
  })
12312
12335
  }, tertiaryButton || React__default.createElement("div", null)), React__default.createElement(Inline, {
12313
12336
  space: 12
@@ -12325,7 +12348,7 @@ const FooterContainer = ({
12325
12348
  displayName: 'Inline'
12326
12349
  });
12327
12350
  return React__default.createElement("div", {
12328
- className: styles$16['modal-footer'],
12351
+ className: styles$1c['modal-footer'],
12329
12352
  "data-testid": testId
12330
12353
  }, React__default.createElement(Inline, {
12331
12354
  justifyContent: "end",
@@ -12338,7 +12361,7 @@ var dayOverridesStyles = {"root":"_et9Fs","table":"_l7Mis","caption":"_XGu8K","h
12338
12361
 
12339
12362
  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"};
12340
12363
 
12341
- var styles$15 = {"calendar":"_YPyZ6","calendar__overlay":"_-cw0A"};
12364
+ var styles$1b = {"calendar":"_YPyZ6","calendar__overlay":"_-cw0A"};
12342
12365
 
12343
12366
  function parseDate(str, format, locale) {
12344
12367
  const parsed = dateFnsParse(str, format, new Date(), {
@@ -12383,6 +12406,9 @@ const getDays = translate => {
12383
12406
  const DAYS = [translate('Calendar.sunday'), translate('Calendar.monday'), translate('Calendar.tuesday'), translate('Calendar.wednesday'), translate('Calendar.thursday'), translate('Calendar.friday'), translate('Calendar.saturday')];
12384
12407
  return DAYS;
12385
12408
  };
12409
+ const getDaysShort = translate => {
12410
+ return [translate('Calendar.sundayShort'), translate('Calendar.mondayShort'), translate('Calendar.tuesdayShort'), translate('Calendar.wednesdayShort'), translate('Calendar.thursdayShort'), translate('Calendar.fridayShort'), translate('Calendar.saturdayShort')];
12411
+ };
12386
12412
  /**
12387
12413
  * @param translate pass the translation function returned from the `useTranslate` hook
12388
12414
  */
@@ -12467,7 +12493,7 @@ const getHighlightModifiers = groups => {
12467
12493
  });
12468
12494
  };
12469
12495
 
12470
- var styles$14 = {"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"};
12496
+ var styles$1a = {"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"};
12471
12497
 
12472
12498
  const calculateCalendarPosition = (placement, anchorPosition, calendarDimensions) => {
12473
12499
  if (!calendarDimensions) {
@@ -12541,7 +12567,7 @@ const buildHighlightDayPickerProps = highlightedDays => {
12541
12567
  theme
12542
12568
  }) => {
12543
12569
  modifiers[key] = matcher;
12544
- modifiersClassNames[key] = classnames(styles$14.day_highlight, styles$14[`shape-${shape}`], styles$14[`theme-${theme}`]);
12570
+ modifiersClassNames[key] = classnames(styles$1a.day_highlight, styles$1a[`shape-${shape}`], styles$1a[`theme-${theme}`]);
12545
12571
  });
12546
12572
  return {
12547
12573
  modifiers,
@@ -12550,7 +12576,7 @@ const buildHighlightDayPickerProps = highlightedDays => {
12550
12576
  };
12551
12577
  };
12552
12578
 
12553
- var styles$13 = {"calendar-highlights":"_TjAon","calendar-highlights__item":"_BbYmq","calendar-highlights__shape":"_utSi-","calendar-highlights__shape--square":"_mP9vd","calendar-highlights__shape--circle":"_6zlZT"};
12579
+ var styles$19 = {"calendar-highlights":"_TjAon","calendar-highlights__item":"_BbYmq","calendar-highlights__shape":"_utSi-","calendar-highlights__shape--square":"_mP9vd","calendar-highlights__shape--circle":"_6zlZT"};
12554
12580
 
12555
12581
  /** Legend rendered beneath a calendar, one row item per highlight group. */
12556
12582
  const CalendarHighlights = ({
@@ -12560,7 +12586,7 @@ const CalendarHighlights = ({
12560
12586
  return null;
12561
12587
  }
12562
12588
  return React__default.createElement("div", {
12563
- className: styles$13['calendar-highlights']
12589
+ className: styles$19['calendar-highlights']
12564
12590
  }, React__default.createElement(Inline, {
12565
12591
  flexWrap: "wrap",
12566
12592
  space: {
@@ -12575,7 +12601,7 @@ const CalendarHighlights = ({
12575
12601
  theme
12576
12602
  }) => React__default.createElement("div", {
12577
12603
  key: label,
12578
- className: styles$13['calendar-highlights__item']
12604
+ className: styles$19['calendar-highlights__item']
12579
12605
  }, React__default.createElement(Shape, {
12580
12606
  shape: shape,
12581
12607
  theme: theme
@@ -12588,45 +12614,45 @@ const Shape = ({
12588
12614
  switch (shape) {
12589
12615
  case 'square':
12590
12616
  return React__default.createElement("div", {
12591
- className: classnames(styles$13['calendar-highlights__shape'], styles$13['calendar-highlights__shape--square']),
12617
+ className: classnames(styles$19['calendar-highlights__shape'], styles$19['calendar-highlights__shape--square']),
12592
12618
  style: {
12593
12619
  borderColor: COLORS[`${theme}-color`]
12594
12620
  }
12595
12621
  });
12596
12622
  case 'square-dashed':
12597
12623
  return React__default.createElement("div", {
12598
- className: styles$13['calendar-highlights__shape']
12624
+ className: styles$19['calendar-highlights__shape']
12599
12625
  }, React__default.createElement(SquareDashedShape, {
12600
12626
  theme: theme
12601
12627
  }));
12602
12628
  case 'circle':
12603
12629
  return React__default.createElement("div", {
12604
- className: classnames(styles$13['calendar-highlights__shape'], styles$13['calendar-highlights__shape--circle']),
12630
+ className: classnames(styles$19['calendar-highlights__shape'], styles$19['calendar-highlights__shape--circle']),
12605
12631
  style: {
12606
12632
  borderColor: COLORS[`${theme}-color`]
12607
12633
  }
12608
12634
  });
12609
12635
  case 'circle-dashed':
12610
12636
  return React__default.createElement("div", {
12611
- className: `${styles$13['calendar-highlights__shape']}`
12637
+ className: `${styles$19['calendar-highlights__shape']}`
12612
12638
  }, React__default.createElement(CircleDashedShape, {
12613
12639
  theme: theme
12614
12640
  }));
12615
12641
  case 'octagon':
12616
12642
  return React__default.createElement("div", {
12617
- className: `${styles$13['calendar-highlights__shape']}`
12643
+ className: `${styles$19['calendar-highlights__shape']}`
12618
12644
  }, React__default.createElement(OctagonShape, {
12619
12645
  theme: theme
12620
12646
  }));
12621
12647
  case 'star':
12622
12648
  return React__default.createElement("div", {
12623
- className: `${styles$13['calendar-highlights__shape']}`
12649
+ className: `${styles$19['calendar-highlights__shape']}`
12624
12650
  }, React__default.createElement(StarShape, {
12625
12651
  theme: theme
12626
12652
  }));
12627
12653
  default:
12628
12654
  return React__default.createElement("div", {
12629
- className: styles$13['calendar-highlight__shape']
12655
+ className: styles$19['calendar-highlight__shape']
12630
12656
  }, shape);
12631
12657
  }
12632
12658
  };
@@ -12846,9 +12872,9 @@ const Calendar = ({
12846
12872
  }
12847
12873
  };
12848
12874
  return React__default.createElement(Portal, null, React__default.createElement("div", {
12849
- className: styles$15['calendar']
12875
+ className: styles$1b['calendar']
12850
12876
  }, React__default.createElement("div", {
12851
- className: styles$15['calendar__overlay'],
12877
+ className: styles$1b['calendar__overlay'],
12852
12878
  ref: ref => setCalendarRef(ref),
12853
12879
  style: _extends({}, calendarPosition, {
12854
12880
  zIndex: isInsideDropdown ? getZIndex('dropdown-level-2') : getZIndex('dropdown')
@@ -12908,15 +12934,16 @@ const useCheckBoxFieldControllers = ({
12908
12934
  return controllers;
12909
12935
  };
12910
12936
 
12911
- var styles$12 = {"check-box-field":"_Id4qm","check-box-field__caption":"_s9d-m","check-box-field__custom-input":"_kmvBP"};
12937
+ var styles$18 = {"check-box-field":"_Id4qm","check-box-field__caption":"_s9d-m","check-box-field__custom-input":"_kmvBP"};
12912
12938
 
12913
- const _excluded$bj = ["name", "id", "checked", "onChange", "onBlur", "label", "caption", "error", "disabled", "testId"];
12939
+ const _excluded$bj = ["name", "id", "checked", "indeterminate", "onChange", "onBlur", "label", "caption", "error", "disabled", "testId"];
12914
12940
  /** 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). */
12915
12941
  const CheckboxField = _ref => {
12916
12942
  let {
12917
12943
  name,
12918
12944
  id: inputId,
12919
12945
  checked,
12946
+ indeterminate,
12920
12947
  onChange,
12921
12948
  onBlur,
12922
12949
  label,
@@ -12943,7 +12970,7 @@ const CheckboxField = _ref => {
12943
12970
  flexItems: true,
12944
12971
  flex: ['0 0 auto']
12945
12972
  }, otherProps), React__default.createElement("div", {
12946
- className: styles$12['check-box-field']
12973
+ className: styles$18['check-box-field']
12947
12974
  }, React__default.createElement("input", {
12948
12975
  name: name,
12949
12976
  id: controllers.id,
@@ -12953,15 +12980,16 @@ const CheckboxField = _ref => {
12953
12980
  "aria-invalid": hasError,
12954
12981
  disabled: disabled,
12955
12982
  checked: controllers.checked,
12983
+ "data-indeterminate": indeterminate ? 'true' : undefined,
12956
12984
  onChange: controllers.onChange,
12957
12985
  onBlur: controllers.onBlur
12958
12986
  }), React__default.createElement("span", {
12959
- className: styles$12['check-box-field__custom-input']
12987
+ className: styles$18['check-box-field__custom-input']
12960
12988
  })), label && React__default.createElement(Label, {
12961
12989
  htmlFor: controllers.id,
12962
12990
  truncate: false
12963
12991
  }, label)), caption && React__default.createElement("div", {
12964
- className: styles$12['check-box-field__caption']
12992
+ className: styles$18['check-box-field__caption']
12965
12993
  }, React__default.createElement(Caption, {
12966
12994
  fieldId: controllers.id
12967
12995
  }, caption)), controllers.error && React__default.createElement(ErrorMessage, {
@@ -12999,7 +13027,7 @@ const useLocalStorage = (key, initialValue) => {
12999
13027
  return [storedValue, setValue];
13000
13028
  };
13001
13029
 
13002
- var styles$11 = {"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"};
13030
+ var styles$17 = {"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"};
13003
13031
 
13004
13032
  const _excluded$bi = ["header", "children", "mediaUrl", "onClose", "modalId", "primaryButton", "secondaryButton", "testId", "onSetDoNotShowAgainStatus"];
13005
13033
  const HintModal = _ref => {
@@ -13062,22 +13090,22 @@ const HintModal = _ref => {
13062
13090
  closeTimeoutMS: 200,
13063
13091
  contentLabel: "Modal",
13064
13092
  className: {
13065
- base: styles$11['hint-modal'],
13066
- afterOpen: styles$11['hint-modal--after-open'],
13067
- beforeClose: styles$11['hint-modal--before-close']
13093
+ base: styles$17['hint-modal'],
13094
+ afterOpen: styles$17['hint-modal--after-open'],
13095
+ beforeClose: styles$17['hint-modal--before-close']
13068
13096
  },
13069
- overlayClassName: styles$11['hint-modal__overlay']
13097
+ overlayClassName: styles$17['hint-modal__overlay']
13070
13098
  }, React__default.createElement("div", {
13071
- className: styles$11['hint-modal__close-button']
13099
+ className: styles$17['hint-modal__close-button']
13072
13100
  }, React__default.createElement(Button, {
13073
13101
  theme: "link-icon",
13074
13102
  onClick: handleOnClose
13075
13103
  }, React__default.createElement(IconTimes, null))), mediaUrl && React__default.createElement("img", {
13076
- className: styles$11['hint-modal__image'],
13104
+ className: styles$17['hint-modal__image'],
13077
13105
  src: mediaUrl,
13078
13106
  alt: String(header)
13079
13107
  }), React__default.createElement("div", {
13080
- className: styles$11['hint-modal__body']
13108
+ className: styles$17['hint-modal__body']
13081
13109
  }, React__default.createElement(Stack, {
13082
13110
  justifyContent: "space-between"
13083
13111
  }, React__default.createElement(Stack, {
@@ -13126,12 +13154,12 @@ const BadgeElement = (_ref, forwardedRef) => {
13126
13154
  overlay: title,
13127
13155
  ref: ref
13128
13156
  }, React__default.createElement("div", _extends({
13129
- className: classnames(styles$1a['badge'], {
13130
- [styles$1a['badge--success']]: theme === 'success',
13131
- [styles$1a['badge--danger']]: theme === 'danger',
13132
- [styles$1a['badge--info']]: theme === 'info',
13133
- [styles$1a['badge--warning']]: theme === 'warning',
13134
- [styles$1a['badge--numeric']]: Number.isFinite(children)
13157
+ className: classnames(styles$1g['badge'], {
13158
+ [styles$1g['badge--success']]: theme === 'success',
13159
+ [styles$1g['badge--danger']]: theme === 'danger',
13160
+ [styles$1g['badge--info']]: theme === 'info',
13161
+ [styles$1g['badge--warning']]: theme === 'warning',
13162
+ [styles$1g['badge--numeric']]: Number.isFinite(children)
13135
13163
  }),
13136
13164
  ref: ref,
13137
13165
  "data-testid": testId
@@ -13143,28 +13171,28 @@ const MenuItem = ({
13143
13171
  menu
13144
13172
  }) => {
13145
13173
  return React__default.createElement("li", {
13146
- className: classnames(styles$1b['menu-item'], {
13147
- [styles$1b['menu-item--with-badge']]: !!menu.suffix
13174
+ className: classnames(styles$1h['menu-item'], {
13175
+ [styles$1h['menu-item--with-badge']]: !!menu.suffix
13148
13176
  })
13149
13177
  }, menu.reloadDocument ? React__default.createElement("a", {
13150
13178
  href: menu.to,
13151
13179
  className: classnames({
13152
- [styles$1b['menu-item--active']]: menu.isActive
13180
+ [styles$1h['menu-item--active']]: menu.isActive
13153
13181
  })
13154
13182
  }, menu.label, !!menu.suffix && React__default.createElement("div", {
13155
- className: styles$1b['menu-item__badge']
13183
+ className: styles$1h['menu-item__badge']
13156
13184
  }, React__default.createElement(Badge, null, menu.suffix))) : React__default.createElement(NavLink, {
13157
13185
  to: menu.to,
13158
13186
  // @ts-expect-error This is only available on v5
13159
- activeClassName: styles$1b['menu-item--active'],
13187
+ activeClassName: styles$1h['menu-item--active'],
13160
13188
  className: ({
13161
13189
  isActive
13162
13190
  }) => {
13163
- return isActive ? styles$1b['menu-item--active'] : '';
13191
+ return isActive ? styles$1h['menu-item--active'] : '';
13164
13192
  },
13165
13193
  exact: true
13166
13194
  }, menu.label, !!menu.suffix && React__default.createElement("div", {
13167
- className: styles$1b['menu-item__badge']
13195
+ className: styles$1h['menu-item__badge']
13168
13196
  }, React__default.createElement(Badge, null, menu.suffix))));
13169
13197
  };
13170
13198
 
@@ -13175,9 +13203,9 @@ const PageLayout = ({
13175
13203
  sideNavContent
13176
13204
  }) => {
13177
13205
  return React__default.createElement("div", {
13178
- className: styles$1c['page-layout']
13206
+ className: styles$1i['page-layout']
13179
13207
  }, React__default.createElement("div", {
13180
- className: styles$1c['page-layout__nav-container']
13208
+ className: styles$1i['page-layout__nav-container']
13181
13209
  }, React__default.createElement(Stack, {
13182
13210
  space: 12
13183
13211
  }, React__default.createElement(Text, {
@@ -13186,14 +13214,14 @@ const PageLayout = ({
13186
13214
  ml: 20,
13187
13215
  mr: 35
13188
13216
  }, title), React__default.createElement("ul", {
13189
- className: styles$1c['page-layout__nav-list']
13217
+ className: styles$1i['page-layout__nav-list']
13190
13218
  }, menu.filter(menu => !('isVisible' in menu) || (menu == null ? void 0 : menu.isVisible) === true).map((menuItem, index) => React__default.createElement(MenuItem, {
13191
13219
  key: menuItem.name || index,
13192
13220
  menu: menuItem
13193
13221
  }))), sideNavContent && React__default.createElement("div", {
13194
- className: styles$1c['page-layout__side-nav-content']
13222
+ className: styles$1i['page-layout__side-nav-content']
13195
13223
  }, sideNavContent))), React__default.createElement("div", {
13196
- className: styles$1c['page-layout__content']
13224
+ className: styles$1i['page-layout__content']
13197
13225
  }, children));
13198
13226
  };
13199
13227
 
@@ -13203,7 +13231,7 @@ const TOAST_THEME = {
13203
13231
  };
13204
13232
  const TOAST_CONTAINER_ID = 'sous-chef-toast';
13205
13233
 
13206
- var styles$10 = {"toast":"_iSC5P","toast--danger":"_OWpOG","toast__text":"_4JJwF"};
13234
+ var styles$16 = {"toast":"_iSC5P","toast--danger":"_OWpOG","toast__text":"_4JJwF"};
13207
13235
 
13208
13236
  const toast = (text, theme = TOAST_THEME.DEFAULT, options = {}) => {
13209
13237
  if (typeof text !== 'string') {
@@ -13220,8 +13248,8 @@ const toast = (text, theme = TOAST_THEME.DEFAULT, options = {}) => {
13220
13248
  onActionClick: onActionClick
13221
13249
  }) : text;
13222
13250
  toast$1(content, _extends({
13223
- className: classnames(styles$10['toast'], {
13224
- [styles$10['toast--danger']]: theme === TOAST_THEME.DANGER
13251
+ className: classnames(styles$16['toast'], {
13252
+ [styles$16['toast--danger']]: theme === TOAST_THEME.DANGER
13225
13253
  }),
13226
13254
  containerId: TOAST_CONTAINER_ID
13227
13255
  }, options));
@@ -13247,7 +13275,7 @@ const ToastBodyWithAction = ({
13247
13275
  const ToastContainer = ({
13248
13276
  containerId: _containerId = TOAST_CONTAINER_ID
13249
13277
  }) => React__default.createElement(ToastContainer$1, {
13250
- bodyClassName: styles$10['toast__text'],
13278
+ bodyClassName: styles$16['toast__text'],
13251
13279
  hideProgressBar: true,
13252
13280
  draggable: false,
13253
13281
  transition: Slide,
@@ -13322,7 +13350,7 @@ const SousChefProvider = ({
13322
13350
  }, React__default.createElement(ToastContainer, null), children));
13323
13351
  };
13324
13352
 
13325
- var styles$$ = {"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"};
13353
+ var styles$15 = {"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"};
13326
13354
 
13327
13355
  const SORT_ORDER = {
13328
13356
  ASC: 'asc',
@@ -13508,7 +13536,7 @@ const DataTableHeader = ({
13508
13536
  },
13509
13537
  id: `${tableId}-header`
13510
13538
  }, React__default.createElement("tr", {
13511
- className: styles$$['data-table-header']
13539
+ className: styles$15['data-table-header']
13512
13540
  }, columns.filter(column => !column.hidden).map(column => {
13513
13541
  const isSortable = column.isSortable;
13514
13542
  const sortDir = column.currentSort;
@@ -13516,8 +13544,8 @@ const DataTableHeader = ({
13516
13544
  const hasDescription = !!column.description;
13517
13545
  return React__default.createElement("th", {
13518
13546
  className: classnames({
13519
- [styles$$['data-table-header__item']]: true,
13520
- [styles$$['data-table-header__item--sortable']]: isSortable
13547
+ [styles$15['data-table-header__item']]: true,
13548
+ [styles$15['data-table-header__item--sortable']]: isSortable
13521
13549
  }),
13522
13550
  style: {
13523
13551
  flex: column.size || 1,
@@ -13529,18 +13557,18 @@ const DataTableHeader = ({
13529
13557
  role: "columnheader",
13530
13558
  tabIndex: 0
13531
13559
  }, React__default.createElement("div", {
13532
- className: classnames(styles$$['data-table-header__item-content'], {
13533
- [styles$$['data-table-header__item-content--right-align']]: isRightAligned
13560
+ className: classnames(styles$15['data-table-header__item-content'], {
13561
+ [styles$15['data-table-header__item-content--right-align']]: isRightAligned
13534
13562
  }, {
13535
- [styles$$['data-table-header__item-content--has-description']]: hasDescription
13563
+ [styles$15['data-table-header__item-content--has-description']]: hasDescription
13536
13564
  })
13537
13565
  }, wrapWithTooltip(column), isSortable && React__default.createElement("span", {
13538
- className: styles$$['data-table-header__sort-icon']
13566
+ className: styles$15['data-table-header__sort-icon']
13539
13567
  }, React__default.createElement(HeaderSortIcon, {
13540
13568
  sortDirection: sortDir
13541
13569
  }))));
13542
13570
  }), showActionMenu && React__default.createElement("th", {
13543
- className: classnames(styles$$['data-table-header__item'], styles$$['data-table-header__item--action'])
13571
+ className: classnames(styles$15['data-table-header__item'], styles$15['data-table-header__item--action'])
13544
13572
  }))));
13545
13573
  };
13546
13574
  const wrapWithTooltip = column => {
@@ -13554,9 +13582,9 @@ const wrapWithTooltip = column => {
13554
13582
  return column.label;
13555
13583
  };
13556
13584
 
13557
- var styles$_ = {"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"};
13585
+ var styles$14 = {"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"};
13558
13586
 
13559
- var styles$Z = {"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"};
13587
+ var styles$13 = {"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"};
13560
13588
 
13561
13589
  const useTableHeaderHeight = isShowingColumns => {
13562
13590
  const {
@@ -13608,10 +13636,10 @@ const DataTableScrollFakeBorder = ({
13608
13636
  const hasFixedScroll = useDetectFixedScroll();
13609
13637
  const backgroundColor = useBackgroundColor();
13610
13638
  return React__default.createElement("div", {
13611
- className: classnames(styles$Z['data-table-scroll-fake-border'], {
13612
- [styles$Z['data-table-scroll-fake-border--top']]: placement === 'top',
13613
- [styles$Z['data-table-scroll-fake-border--bottom']]: placement === 'bottom',
13614
- [styles$Z['data-table-scroll-fake-border--fixed-scroll']]: hasFixedScroll
13639
+ className: classnames(styles$13['data-table-scroll-fake-border'], {
13640
+ [styles$13['data-table-scroll-fake-border--top']]: placement === 'top',
13641
+ [styles$13['data-table-scroll-fake-border--bottom']]: placement === 'bottom',
13642
+ [styles$13['data-table-scroll-fake-border--fixed-scroll']]: hasFixedScroll
13615
13643
  }),
13616
13644
  style: {
13617
13645
  // @ts-expect-error This difines a custom CSS variable
@@ -13619,14 +13647,14 @@ const DataTableScrollFakeBorder = ({
13619
13647
  top: placement === 'top' ? headerHeight : undefined
13620
13648
  }
13621
13649
  }, React__default.createElement("div", {
13622
- className: classnames(styles$Z['data-table-scroll-fake-border__left'], {
13623
- [styles$Z['data-table-scroll-fake-border__left--top']]: placement === 'top',
13624
- [styles$Z['data-table-scroll-fake-border__left--bottom']]: placement === 'bottom'
13650
+ className: classnames(styles$13['data-table-scroll-fake-border__left'], {
13651
+ [styles$13['data-table-scroll-fake-border__left--top']]: placement === 'top',
13652
+ [styles$13['data-table-scroll-fake-border__left--bottom']]: placement === 'bottom'
13625
13653
  })
13626
13654
  }), React__default.createElement("div", {
13627
- className: classnames(styles$Z['data-table-scroll-fake-border__right'], {
13628
- [styles$Z['data-table-scroll-fake-border__right--top']]: placement === 'top',
13629
- [styles$Z['data-table-scroll-fake-border__right--bottom']]: placement === 'bottom'
13655
+ className: classnames(styles$13['data-table-scroll-fake-border__right'], {
13656
+ [styles$13['data-table-scroll-fake-border__right--top']]: placement === 'top',
13657
+ [styles$13['data-table-scroll-fake-border__right--bottom']]: placement === 'bottom'
13630
13658
  }),
13631
13659
  "data-background-color": "red"
13632
13660
  }));
@@ -13644,7 +13672,7 @@ const BUTTON_THEME = {
13644
13672
  UPSELL: 'upsell'
13645
13673
  };
13646
13674
 
13647
- var styles$Y = {"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"};
13675
+ var styles$12 = {"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"};
13648
13676
 
13649
13677
  /** Infers theme prop for Sous Chef Button CTAs if not explicitly passed, default is hollow, primaryCTA is Upsell if banner theme is Upsell*/
13650
13678
  const ButtonCTA$1 = ({
@@ -13665,7 +13693,7 @@ const ButtonCTA$1 = ({
13665
13693
  }, button.props));
13666
13694
  };
13667
13695
 
13668
- var styles$X = {"banner__caption":"_S--Ce"};
13696
+ var styles$11 = {"banner__caption":"_S--Ce"};
13669
13697
 
13670
13698
  const InlineBannerCTA = ({
13671
13699
  primaryButton,
@@ -13697,7 +13725,7 @@ const InlineBannerCTA = ({
13697
13725
  bannerTheme: bannerTheme,
13698
13726
  primaryCTA: true
13699
13727
  })), caption && multiLine && React__default.createElement("div", {
13700
- className: styles$X['banner__caption']
13728
+ className: styles$11['banner__caption']
13701
13729
  }, caption));
13702
13730
  };
13703
13731
 
@@ -13748,21 +13776,21 @@ const InlineBanner = _ref => {
13748
13776
  const Layout = multiLine ? Stack : Inline;
13749
13777
  return React__default.createElement("div", {
13750
13778
  "data-testid": testId,
13751
- className: classnames(styles$Y['banner'], {
13752
- [styles$Y['banner--info']]: theme === BANNER_THEME.INFO,
13753
- [styles$Y['banner--warning']]: theme === BANNER_THEME.WARNING,
13754
- [styles$Y['banner--success']]: theme === BANNER_THEME.SUCCESS,
13755
- [styles$Y['banner--danger']]: theme === BANNER_THEME.DANGER,
13756
- [styles$Y['banner--upsell']]: theme === BANNER_THEME.UPSELL,
13757
- [styles$Y['banner--single-line']]: !multiLine
13779
+ className: classnames(styles$12['banner'], {
13780
+ [styles$12['banner--info']]: theme === BANNER_THEME.INFO,
13781
+ [styles$12['banner--warning']]: theme === BANNER_THEME.WARNING,
13782
+ [styles$12['banner--success']]: theme === BANNER_THEME.SUCCESS,
13783
+ [styles$12['banner--danger']]: theme === BANNER_THEME.DANGER,
13784
+ [styles$12['banner--upsell']]: theme === BANNER_THEME.UPSELL,
13785
+ [styles$12['banner--single-line']]: !multiLine
13758
13786
  }),
13759
13787
  style: positionStyles
13760
13788
  }, React__default.createElement(Inline, {
13761
13789
  flex: ['0 1 auto', 1],
13762
13790
  space: 12
13763
13791
  }, React__default.createElement("div", {
13764
- className: classnames(styles$Y['banner__icon'], {
13765
- [styles$Y['banner__icon--multiline']]: multiLine
13792
+ className: classnames(styles$12['banner__icon'], {
13793
+ [styles$12['banner__icon--multiline']]: multiLine
13766
13794
  })
13767
13795
  }, icon != null ? icon : React__default.createElement(InlineBannerIcon, {
13768
13796
  theme: theme
@@ -13773,10 +13801,10 @@ const InlineBanner = _ref => {
13773
13801
  flex: ['min-content'],
13774
13802
  flexWrap: multiLine ? undefined : 'wrap'
13775
13803
  }, title && React__default.createElement("div", {
13776
- className: styles$Y['banner__title']
13804
+ className: styles$12['banner__title']
13777
13805
  }, title), React__default.createElement("div", {
13778
- className: classnames(styles$Y['banner__body'], {
13779
- [styles$Y['banner__body--multilineCTA']]: primaryButton && multiLine
13806
+ className: classnames(styles$12['banner__body'], {
13807
+ [styles$12['banner__body--multilineCTA']]: primaryButton && multiLine
13780
13808
  })
13781
13809
  }, children), primaryButton && React__default.createElement(InlineBannerCTA, {
13782
13810
  primaryButton: primaryButton,
@@ -13785,7 +13813,7 @@ const InlineBanner = _ref => {
13785
13813
  multiLine: multiLine,
13786
13814
  bannerTheme: theme
13787
13815
  })), dismissable && React__default.createElement("div", {
13788
- className: styles$Y['banner__close']
13816
+ className: styles$12['banner__close']
13789
13817
  }, React__default.createElement(Button, {
13790
13818
  theme: "link-icon",
13791
13819
  type: "button",
@@ -13801,7 +13829,7 @@ const MICRO_BANNER_THEME = {
13801
13829
  UPSELL: 'upsell'
13802
13830
  };
13803
13831
 
13804
- var styles$W = {"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"};
13832
+ var styles$10 = {"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"};
13805
13833
 
13806
13834
  const MicroBannerIcon = ({
13807
13835
  theme
@@ -13867,14 +13895,14 @@ const MicroBanner = _ref => {
13867
13895
  const {
13868
13896
  dataProps
13869
13897
  } = getDataProps(otherProps);
13870
- const themeClass = styles$W[`micro-banner--${theme}`];
13871
- const contentClass = classnames(styles$W['micro-banner__content'], hideIcon && styles$W['micro-banner__content--no-icon'], !primaryButton && styles$W['micro-banner__content--no-button']);
13898
+ const themeClass = styles$10[`micro-banner--${theme}`];
13899
+ const contentClass = classnames(styles$10['micro-banner__content'], hideIcon && styles$10['micro-banner__content--no-icon'], !primaryButton && styles$10['micro-banner__content--no-button']);
13872
13900
  return React__default.createElement("div", _extends({
13873
13901
  "data-testid": testId,
13874
- className: classnames(styles$W['micro-banner'], themeClass),
13902
+ className: classnames(styles$10['micro-banner'], themeClass),
13875
13903
  style: positionProps
13876
13904
  }, dataProps), !hideIcon && React__default.createElement("div", {
13877
- className: styles$W['micro-banner__icon'],
13905
+ className: styles$10['micro-banner__icon'],
13878
13906
  "data-testid": `${testId || 'micro-banner'}-icon`
13879
13907
  }, icon != null ? icon : React__default.createElement(MicroBannerIcon, {
13880
13908
  theme: theme
@@ -13885,7 +13913,7 @@ const MicroBanner = _ref => {
13885
13913
  }, title), React__default.createElement(Text, {
13886
13914
  as: 'caption'
13887
13915
  }, children)), primaryButton && React__default.createElement("div", {
13888
- className: styles$W['micro-banner__button']
13916
+ className: styles$10['micro-banner__button']
13889
13917
  }, React__default.createElement(ButtonCTA, {
13890
13918
  button: primaryButton,
13891
13919
  bannerTheme: theme
@@ -13900,7 +13928,7 @@ const PERSISTENT_BANNER_THEME = {
13900
13928
  SUCCESS: 'success'
13901
13929
  };
13902
13930
 
13903
- var styles$V = {"persistent-banner":"_FsCJQ","persistent-banner--info":"_zt-xK","persistent-banner--danger":"_rmUys","persistent-banner--upsell":"_UGrRR","persistent-banner--warning":"_9eFhn","persistent-banner--success":"_hU34n"};
13931
+ var styles$$ = {"persistent-banner":"_FsCJQ","persistent-banner--info":"_zt-xK","persistent-banner--danger":"_rmUys","persistent-banner--upsell":"_UGrRR","persistent-banner--warning":"_9eFhn","persistent-banner--success":"_hU34n"};
13904
13932
 
13905
13933
  const PersistentBanner = ({
13906
13934
  theme: _theme = PERSISTENT_BANNER_THEME.INFO,
@@ -13929,12 +13957,12 @@ const PersistentBanner = ({
13929
13957
  theme: BUTTON_THEMES.LINK_CONTRAST
13930
13958
  }, secondaryButton.props))));
13931
13959
  return React__default.createElement("div", {
13932
- className: classnames(styles$V['persistent-banner'], {
13933
- [styles$V['persistent-banner--info']]: _theme === PERSISTENT_BANNER_THEME.INFO,
13934
- [styles$V['persistent-banner--danger']]: _theme === PERSISTENT_BANNER_THEME.DANGER,
13935
- [styles$V['persistent-banner--upsell']]: _theme === PERSISTENT_BANNER_THEME.UPSELL,
13936
- [styles$V['persistent-banner--warning']]: _theme === PERSISTENT_BANNER_THEME.WARNING,
13937
- [styles$V['persistent-banner--success']]: _theme === PERSISTENT_BANNER_THEME.SUCCESS
13960
+ className: classnames(styles$$['persistent-banner'], {
13961
+ [styles$$['persistent-banner--info']]: _theme === PERSISTENT_BANNER_THEME.INFO,
13962
+ [styles$$['persistent-banner--danger']]: _theme === PERSISTENT_BANNER_THEME.DANGER,
13963
+ [styles$$['persistent-banner--upsell']]: _theme === PERSISTENT_BANNER_THEME.UPSELL,
13964
+ [styles$$['persistent-banner--warning']]: _theme === PERSISTENT_BANNER_THEME.WARNING,
13965
+ [styles$$['persistent-banner--success']]: _theme === PERSISTENT_BANNER_THEME.SUCCESS
13938
13966
  }),
13939
13967
  "data-testid": testId
13940
13968
  }, onDismiss ? React__default.createElement(Inline, {
@@ -13999,7 +14027,7 @@ const useProgress = (progress, maxValue, getMetric = getProgressMetric) => {
13999
14027
  };
14000
14028
  };
14001
14029
 
14002
- var styles$U = {"circular-progress":"_UI0Fo","circular-progress__label":"_6PNwZ","circular-progress__track":"_alBLB","circular-progress__indicator":"_VADa6"};
14030
+ var styles$_ = {"circular-progress":"_UI0Fo","circular-progress__label":"_6PNwZ","circular-progress__track":"_alBLB","circular-progress__indicator":"_VADa6"};
14003
14031
 
14004
14032
  const CircularProgress = ({
14005
14033
  progress,
@@ -14013,7 +14041,7 @@ const CircularProgress = ({
14013
14041
  } = useProgress(progress, _maxValue);
14014
14042
  const determinant = metric.percentage * 2.79;
14015
14043
  return React__default.createElement("div", _extends({}, elementProps, {
14016
- className: styles$U['circular-progress'],
14044
+ className: styles$_['circular-progress'],
14017
14045
  "data-testid": testId
14018
14046
  }), React__default.createElement("svg", {
14019
14047
  viewBox: "0 0 100 100"
@@ -14022,21 +14050,21 @@ const CircularProgress = ({
14022
14050
  cy: 50,
14023
14051
  r: 45,
14024
14052
  strokeWidth: "10px",
14025
- className: styles$U['circular-progress__track']
14053
+ className: styles$_['circular-progress__track']
14026
14054
  }), React__default.createElement("circle", {
14027
14055
  cx: 50,
14028
14056
  cy: 50,
14029
14057
  r: 45,
14030
14058
  strokeWidth: "10px",
14031
- className: styles$U['circular-progress__indicator'],
14059
+ className: styles$_['circular-progress__indicator'],
14032
14060
  strokeDashoffset: "66",
14033
14061
  strokeDasharray: `${determinant} ${279 - determinant}`
14034
14062
  })), React__default.createElement("div", {
14035
- className: styles$U['circular-progress__label']
14063
+ className: styles$_['circular-progress__label']
14036
14064
  }, children || `${metric.progress}/${metric.maxValue}`));
14037
14065
  };
14038
14066
 
14039
- var styles$T = {"progress-bar":"_fWvQF","progress-bar__indicator":"_vd0xc","progress-bar__indicator--complete":"_D9yNp","progress-bar__steps":"_8kdeO"};
14067
+ var styles$Z = {"progress-bar":"_fWvQF","progress-bar__indicator":"_vd0xc","progress-bar__indicator--complete":"_D9yNp","progress-bar__steps":"_8kdeO"};
14040
14068
 
14041
14069
  const ProgressBar = ({
14042
14070
  progress,
@@ -14051,23 +14079,23 @@ const ProgressBar = ({
14051
14079
  metric
14052
14080
  } = useProgress(progress, inferedMaxValue || 100, isUsingStepsAsMaxValue ? getProgressMetricWithSteps : getProgressMetric);
14053
14081
  return React__default.createElement(Stack, null, React__default.createElement("div", _extends({}, elementProps, {
14054
- className: styles$T['progress-bar'],
14082
+ className: styles$Z['progress-bar'],
14055
14083
  "data-testid": testId
14056
14084
  }), React__default.createElement("div", {
14057
- className: classnames(styles$T['progress-bar__indicator'], {
14058
- [styles$T['progress-bar__indicator--complete']]: metric.percentage === 100
14085
+ className: classnames(styles$Z['progress-bar__indicator'], {
14086
+ [styles$Z['progress-bar__indicator--complete']]: metric.percentage === 100
14059
14087
  }),
14060
14088
  style: {
14061
14089
  width: `${metric.percentage}%`
14062
14090
  }
14063
14091
  })), steps && steps.length > 0 && React__default.createElement("div", {
14064
- className: styles$T['progress-bar__steps']
14092
+ className: styles$Z['progress-bar__steps']
14065
14093
  }, steps.map(step => React__default.createElement(Text, {
14066
14094
  key: step
14067
14095
  }, step))));
14068
14096
  };
14069
14097
 
14070
- var styles$S = {"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"};
14098
+ var styles$Y = {"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"};
14071
14099
 
14072
14100
  const SKELETON_COMPONENT = {
14073
14101
  AVATAR: 'avatar',
@@ -14091,14 +14119,14 @@ const Skeleton = _ref => {
14091
14119
  const positioning = usePositionStyles(positionStyles);
14092
14120
  return React__default.createElement("div", {
14093
14121
  "data-testid": testId,
14094
- className: classnames(styles$S['skeleton'], {
14095
- [styles$S['skeleton__avatar']]: as === SKELETON_COMPONENT.AVATAR,
14096
- [styles$S['skeleton__avatar--small']]: as === SKELETON_COMPONENT.AVATAR_SMALL,
14097
- [styles$S['skeleton__avatar--medium']]: as === SKELETON_COMPONENT.AVATAR_MEDIUM,
14098
- [styles$S['skeleton__avatar--large']]: as === SKELETON_COMPONENT.AVATAR_LARGE,
14099
- [styles$S['skeleton__avatar--xlarge']]: as === SKELETON_COMPONENT.AVATAR_XLARGE,
14100
- [styles$S['skeleton__button']]: as === SKELETON_COMPONENT.BUTTON,
14101
- [styles$S['skeleton__pill']]: as === SKELETON_COMPONENT.PILL
14122
+ className: classnames(styles$Y['skeleton'], {
14123
+ [styles$Y['skeleton__avatar']]: as === SKELETON_COMPONENT.AVATAR,
14124
+ [styles$Y['skeleton__avatar--small']]: as === SKELETON_COMPONENT.AVATAR_SMALL,
14125
+ [styles$Y['skeleton__avatar--medium']]: as === SKELETON_COMPONENT.AVATAR_MEDIUM,
14126
+ [styles$Y['skeleton__avatar--large']]: as === SKELETON_COMPONENT.AVATAR_LARGE,
14127
+ [styles$Y['skeleton__avatar--xlarge']]: as === SKELETON_COMPONENT.AVATAR_XLARGE,
14128
+ [styles$Y['skeleton__button']]: as === SKELETON_COMPONENT.BUTTON,
14129
+ [styles$Y['skeleton__pill']]: as === SKELETON_COMPONENT.PILL
14102
14130
  }),
14103
14131
  style: _extends({}, positioning, {
14104
14132
  width: width,
@@ -14107,11 +14135,11 @@ const Skeleton = _ref => {
14107
14135
  });
14108
14136
  };
14109
14137
 
14110
- var styles$R = {"data-table-row":"_hhDnr","data-table-row--clickable":"_ej5Ke","data-table-row--selected":"_qDTAh"};
14138
+ var styles$X = {"data-table-row":"_hhDnr","data-table-row--clickable":"_ej5Ke","data-table-row--selected":"_qDTAh"};
14111
14139
 
14112
- var styles$Q = {"actions":"_ffXgN"};
14140
+ var styles$W = {"actions":"_ffXgN"};
14113
14141
 
14114
- var styles$P = {"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-"};
14142
+ var styles$V = {"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-"};
14115
14143
 
14116
14144
  const DataTableCellElement = ({
14117
14145
  children,
@@ -14135,9 +14163,9 @@ const DataTableCellElement = ({
14135
14163
  const hasError = !!error;
14136
14164
  const errorMessage = error;
14137
14165
  const icon = hasError && React__default.createElement("div", {
14138
- className: classnames(styles$P['data-table-cell__error-icon'], {
14139
- [styles$P['data-table-cell__error-icon--right-align']]: isRightAligned,
14140
- [styles$P['data-table-cell__error-icon--left-align']]: !isRightAligned
14166
+ className: classnames(styles$V['data-table-cell__error-icon'], {
14167
+ [styles$V['data-table-cell__error-icon--right-align']]: isRightAligned,
14168
+ [styles$V['data-table-cell__error-icon--left-align']]: !isRightAligned
14141
14169
  })
14142
14170
  }, React__default.createElement(IconTimesOctagon, {
14143
14171
  size: "medium",
@@ -14145,17 +14173,17 @@ const DataTableCellElement = ({
14145
14173
  }));
14146
14174
  const TableCell = React__default.createElement("td", {
14147
14175
  className: classnames({
14148
- [styles$P['data-table-cell--invalid']]: hasError,
14149
- [styles$P['data-table-cell--no-padding']]: _noPadding,
14150
- [styles$P['data-table-cell--vertical-border']]: hasVerticalBorders
14151
- }, styles$P['data-table-cell']),
14176
+ [styles$V['data-table-cell--invalid']]: hasError,
14177
+ [styles$V['data-table-cell--no-padding']]: _noPadding,
14178
+ [styles$V['data-table-cell--vertical-border']]: hasVerticalBorders
14179
+ }, styles$V['data-table-cell']),
14152
14180
  colSpan: colSpan,
14153
14181
  ref: ref
14154
14182
  }, React__default.createElement("div", {
14155
- className: classnames(styles$P['data-table-cell__content'], {
14156
- [styles$P['data-table-cell__content--with-error']]: hasError,
14157
- [styles$P['data-table-cell__content--right-align']]: isRightAligned,
14158
- [styles$P['data-table-cell__content--loading']]: state === DATA_TABLE_STATES.BACKGROUND_LOADING
14183
+ className: classnames(styles$V['data-table-cell__content'], {
14184
+ [styles$V['data-table-cell__content--with-error']]: hasError,
14185
+ [styles$V['data-table-cell__content--right-align']]: isRightAligned,
14186
+ [styles$V['data-table-cell__content--loading']]: state === DATA_TABLE_STATES.BACKGROUND_LOADING
14159
14187
  })
14160
14188
  }, isRightAligned && icon, children, !isRightAligned && icon));
14161
14189
  return React__default.createElement(Tooltip, {
@@ -14179,7 +14207,7 @@ const DataTableRowActions = ({
14179
14207
  return React__default.createElement(DataTableCell, {
14180
14208
  columnIndex: columnIndex
14181
14209
  }, React__default.createElement("div", {
14182
- className: styles$Q['actions'],
14210
+ className: styles$W['actions'],
14183
14211
  "data-testid": "data-table-dropdown-menu"
14184
14212
  }, state === 'SKELETON_LOADING' && React__default.createElement(Skeleton, {
14185
14213
  width: 45
@@ -14192,7 +14220,7 @@ const DataTableRowActions = ({
14192
14220
  })));
14193
14221
  };
14194
14222
 
14195
- var styles$O = {"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"};
14223
+ var styles$U = {"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"};
14196
14224
 
14197
14225
  const DataTableEditableCellElement = ({
14198
14226
  name,
@@ -14241,8 +14269,8 @@ const DataTableEditableCellElement = ({
14241
14269
  };
14242
14270
  const EditableCell = React__default.createElement("div", {
14243
14271
  className: classnames({
14244
- [styles$O['data-table-editable-cell--currency']]: _type === 'currency'
14245
- }, styles$O['data-table-editable-cell']),
14272
+ [styles$U['data-table-editable-cell--currency']]: _type === 'currency'
14273
+ }, styles$U['data-table-editable-cell']),
14246
14274
  "data-testid": testId,
14247
14275
  role: "cell"
14248
14276
  }, React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
@@ -14252,12 +14280,12 @@ const DataTableEditableCellElement = ({
14252
14280
  name: name,
14253
14281
  id: controllers.id,
14254
14282
  className: classnames({
14255
- [styles$O['data-table-editable-cell--right-aligned']]: isRightAligned,
14256
- [styles$O['data-table-editable-cell--top-left']]: isTopLeftCell,
14257
- [styles$O['data-table-editable-cell--top-right']]: isTopRightCell,
14258
- [styles$O['data-table-editable-cell--bottom-left']]: isBottomLeftCell,
14259
- [styles$O['data-table-editable-cell--bottom-right']]: isBottomRightCell,
14260
- [styles$O['data-table-editable-cell--invalid']]: hasError
14283
+ [styles$U['data-table-editable-cell--right-aligned']]: isRightAligned,
14284
+ [styles$U['data-table-editable-cell--top-left']]: isTopLeftCell,
14285
+ [styles$U['data-table-editable-cell--top-right']]: isTopRightCell,
14286
+ [styles$U['data-table-editable-cell--bottom-left']]: isBottomLeftCell,
14287
+ [styles$U['data-table-editable-cell--bottom-right']]: isBottomRightCell,
14288
+ [styles$U['data-table-editable-cell--invalid']]: hasError
14261
14289
  }),
14262
14290
  type: _type === 'currency' ? 'number' : 'text',
14263
14291
  step: _type === 'currency' ? 'any' : '',
@@ -14302,9 +14330,9 @@ const DataTableRowComponent = (_ref, ref) => {
14302
14330
  const {
14303
14331
  showActionMenu
14304
14332
  } = useDataTableContext();
14305
- const styleNames = classnames(styles$R['data-table-row'], {
14306
- [styles$R['data-table-row--clickable']]: onClick,
14307
- [styles$R['data-table-row--selected']]: isSelected
14333
+ const styleNames = classnames(styles$X['data-table-row'], {
14334
+ [styles$X['data-table-row--clickable']]: onClick,
14335
+ [styles$X['data-table-row--selected']]: isSelected
14308
14336
  });
14309
14337
  const renderColumn = (columnElement, index) => {
14310
14338
  const isUsingDataTableCell = columnElement && typeof columnElement === 'object' && 'type' in columnElement && (columnElement == null ? void 0 : columnElement.type) === DataTableCell;
@@ -14395,7 +14423,7 @@ const calculateScrollState = scrollContainer => {
14395
14423
  return DATA_TABLE_SCROLL_STATES.NO_SCROLL;
14396
14424
  };
14397
14425
 
14398
- var styles$N = {"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"};
14426
+ var styles$T = {"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"};
14399
14427
 
14400
14428
  const useDataTableScrollState = stickyColumns => {
14401
14429
  const scrollContainerRef = useRef(null);
@@ -14437,7 +14465,7 @@ const useDataTableScrollState = stickyColumns => {
14437
14465
  };
14438
14466
  };
14439
14467
 
14440
- var styles$M = {"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"};
14468
+ var styles$S = {"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"};
14441
14469
 
14442
14470
  const DataTableCoverShadow = ({
14443
14471
  isShowingColumns,
@@ -14455,11 +14483,11 @@ const DataTableCoverShadow = ({
14455
14483
  return `calc(100% - ${headerHeight})`;
14456
14484
  };
14457
14485
  return React__default.createElement("div", {
14458
- className: classnames(styles$M['data-table-cover-shadow'], {
14459
- [styles$M['data-table-cover-shadow--left']]: direction === 'left',
14460
- [styles$M['data-table-cover-shadow--left-shadow']]: direction === 'left' && showShadow,
14461
- [styles$M['data-table-cover-shadow--right']]: direction === 'right',
14462
- [styles$M['data-table-cover-shadow--right-shadow']]: direction === 'right' && showShadow
14486
+ className: classnames(styles$S['data-table-cover-shadow'], {
14487
+ [styles$S['data-table-cover-shadow--left']]: direction === 'left',
14488
+ [styles$S['data-table-cover-shadow--left-shadow']]: direction === 'left' && showShadow,
14489
+ [styles$S['data-table-cover-shadow--right']]: direction === 'right',
14490
+ [styles$S['data-table-cover-shadow--right-shadow']]: direction === 'right' && showShadow
14463
14491
  }),
14464
14492
  style: {
14465
14493
  // @ts-expect-error This difines a custom CSS variable
@@ -14521,13 +14549,13 @@ const DataTableStickyColumnsContainer = ({
14521
14549
  isShowingColumns: !!isShowingColumns,
14522
14550
  showShadow: state === 'EMPTY' ? false : stickyColumns === 'left'
14523
14551
  })), React__default.createElement("div", {
14524
- className: classnames(styles$N[containerClassName], {
14525
- [styles$N[`${containerClassName}--with-footer`]]: isShowingFooter,
14526
- [styles$N[`${containerClassName}--with-left-sticky-columns`]]: hasLeftColumnSticky,
14527
- [styles$N[`${containerClassName}--with-left-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasLeftColumnSticky && hasScrollOnLeft : false,
14528
- [styles$N[`${containerClassName}--with-right-sticky-columns`]]: hasRightColumnSticky,
14529
- [styles$N[`${containerClassName}--with-right-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasRightColumnSticky && hasScrollOnRight : false,
14530
- [styles$N[`${containerClassName}--no-shadow`]]: noShadow
14552
+ className: classnames(styles$T[containerClassName], {
14553
+ [styles$T[`${containerClassName}--with-footer`]]: isShowingFooter,
14554
+ [styles$T[`${containerClassName}--with-left-sticky-columns`]]: hasLeftColumnSticky,
14555
+ [styles$T[`${containerClassName}--with-left-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasLeftColumnSticky && hasScrollOnLeft : false,
14556
+ [styles$T[`${containerClassName}--with-right-sticky-columns`]]: hasRightColumnSticky,
14557
+ [styles$T[`${containerClassName}--with-right-sticky-columns-and-shadow`]]: state !== 'EMPTY' ? hasRightColumnSticky && hasScrollOnRight : false,
14558
+ [styles$T[`${containerClassName}--no-shadow`]]: noShadow
14531
14559
  }),
14532
14560
  onScroll: onScroll,
14533
14561
  ref: scrollContainerRef,
@@ -14535,11 +14563,11 @@ const DataTableStickyColumnsContainer = ({
14535
14563
  }, children));
14536
14564
  };
14537
14565
 
14538
- var styles$L = {"data-table-empty-state":"_fCHjG"};
14566
+ var styles$R = {"data-table-empty-state":"_fCHjG"};
14539
14567
 
14540
- var styles$K = {"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"};
14568
+ var styles$Q = {"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"};
14541
14569
 
14542
- var styles$J = {"empty-state-container-cta":"_X-dEs","empty-state-container-cta--inside-modal":"_63-SX"};
14570
+ var styles$P = {"empty-state-container-cta":"_X-dEs","empty-state-container-cta--inside-modal":"_63-SX"};
14543
14571
 
14544
14572
  const EmptyStateContainerCTA = ({
14545
14573
  isPaywall,
@@ -14556,8 +14584,8 @@ const EmptyStateContainerCTA = ({
14556
14584
  size: BUTTON_SIZES.MIN_WIDTH_100
14557
14585
  });
14558
14586
  return React__default.createElement("div", {
14559
- className: classnames(styles$J['empty-state-container-cta'], {
14560
- [styles$J['empty-state-container-cta--inside-modal']]: _isInsideModal
14587
+ className: classnames(styles$P['empty-state-container-cta'], {
14588
+ [styles$P['empty-state-container-cta--inside-modal']]: _isInsideModal
14561
14589
  })
14562
14590
  }, primaryButton, secondaryButton);
14563
14591
  };
@@ -14581,7 +14609,7 @@ const EmptyStateContainerStack = ({
14581
14609
  mediaComponent
14582
14610
  }) => {
14583
14611
  return React__default.createElement("div", {
14584
- className: styles$K['empty-state-container-stack'],
14612
+ className: styles$Q['empty-state-container-stack'],
14585
14613
  "data-testid": testId
14586
14614
  }, mediaComponent ? mediaComponent : mediaUrl && React__default.createElement("img", {
14587
14615
  src: mediaUrl,
@@ -14598,7 +14626,7 @@ const EmptyStateContainerStack = ({
14598
14626
  as: "body",
14599
14627
  alignment: "center"
14600
14628
  }, title), React__default.createElement("div", {
14601
- className: styles$K['empty-state-container-stack__body']
14629
+ className: styles$Q['empty-state-container-stack__body']
14602
14630
  }, children)), React__default.createElement(Stack, {
14603
14631
  space: 8,
14604
14632
  alignItems: "center"
@@ -14710,7 +14738,7 @@ const DataTableEmptyState = ({
14710
14738
  columnIndex: shouldRenderStickyLeftCell ? 1 : 0,
14711
14739
  colSpan: colSpan
14712
14740
  }, React__default.createElement("div", {
14713
- className: styles$L['data-table-empty-state']
14741
+ className: styles$R['data-table-empty-state']
14714
14742
  }, React__default.createElement(EmptyStateContainerStack, {
14715
14743
  mediaUrl: customImage,
14716
14744
  mediaComponent: customImage === '' ? React__default.createElement(MagnifyingGlassIllustration, null) : undefined,
@@ -14794,7 +14822,7 @@ const DataTable = _ref => {
14794
14822
  return null;
14795
14823
  }
14796
14824
  return React__default.createElement("div", {
14797
- className: styles$_['data-table__pagination-controls'],
14825
+ className: styles$14['data-table__pagination-controls'],
14798
14826
  "data-testid": testId && `${testId}-pagination-controls`
14799
14827
  }, React__default.createElement(PaginationControls, {
14800
14828
  hasPrevious: isLoading ? false : hasPrevious,
@@ -14817,7 +14845,7 @@ const DataTable = _ref => {
14817
14845
  tableId
14818
14846
  }
14819
14847
  }, React__default.createElement("div", {
14820
- className: classnames(styles$_['data-table']),
14848
+ className: classnames(styles$14['data-table']),
14821
14849
  ref: tableRef,
14822
14850
  style: positionStyles
14823
14851
  }, React__default.createElement(DataTableStickyColumnsContainer, {
@@ -14828,24 +14856,24 @@ const DataTable = _ref => {
14828
14856
  placement: "top",
14829
14857
  isShowingColumns: !!isShowingColumns
14830
14858
  }), React__default.createElement("div", {
14831
- className: classnames(styles$_['data-table__content'], {
14832
- [styles$_['data-table__content--with-scroll']]: isScrollableTable
14859
+ className: classnames(styles$14['data-table__content'], {
14860
+ [styles$14['data-table__content--with-scroll']]: isScrollableTable
14833
14861
  }),
14834
14862
  style: conditionalStyles,
14835
14863
  id: `${tableId}-content`
14836
14864
  }, state === DATA_TABLE_STATES.BACKGROUND_LOADING && React__default.createElement("div", {
14837
- className: styles$_['data-table__background-loading']
14865
+ className: styles$14['data-table__background-loading']
14838
14866
  }, React__default.createElement(Spinner, null)), React__default.createElement("table", _extends({
14839
- className: classnames(styles$_['data-table__table'], {
14840
- [styles$_['data-table__table--no-columns']]: !isShowingColumns
14867
+ className: classnames(styles$14['data-table__table'], {
14868
+ [styles$14['data-table__table--no-columns']]: !isShowingColumns
14841
14869
  })
14842
14870
  }, dataProps), columns && isShowingColumns && React__default.createElement(DataTableHeader, {
14843
14871
  columns: columns,
14844
14872
  onSort: onSort,
14845
14873
  showActionMenu: isShowingContent && showActionMenu
14846
14874
  }), React__default.createElement("tbody", {
14847
- className: classnames(styles$_['data-table__body'], {
14848
- [styles$_['data-table__body--no-bottom-radius']]: isShowingFooter && isShowingContent
14875
+ className: classnames(styles$14['data-table__body'], {
14876
+ [styles$14['data-table__body--no-bottom-radius']]: isShowingFooter && isShowingContent
14849
14877
  }),
14850
14878
  "data-testid": testId
14851
14879
  }, isShowingContent && content.map((item, index) => {
@@ -14864,7 +14892,7 @@ const DataTable = _ref => {
14864
14892
  }), state === DATA_TABLE_STATES.SKELETON_LOADING && React__default.createElement(React__default.Fragment, null, skeletonRows.map((_, index) => React__default.createElement(SkeletonRow, {
14865
14893
  key: index
14866
14894
  })))), isShowingFooter && isShowingContent && React__default.createElement("tfoot", {
14867
- className: styles$_['data-table__footer'],
14895
+ className: styles$14['data-table__footer'],
14868
14896
  "data-testid": testId && `${testId}-footer`
14869
14897
  }, footerComponent)))), !isShowingFooter && isScrollableTable && React__default.createElement(DataTableScrollFakeBorder, {
14870
14898
  placement: "bottom",
@@ -14872,7 +14900,7 @@ const DataTable = _ref => {
14872
14900
  })), React__default.createElement(Pagination, null));
14873
14901
  };
14874
14902
 
14875
- var styles$I = {"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"};
14903
+ var styles$O = {"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"};
14876
14904
 
14877
14905
  const AccordionItem = props => {
14878
14906
  const {
@@ -14887,9 +14915,9 @@ const AccordionItem = props => {
14887
14915
  } = item;
14888
14916
  const isFocusedByClickRef = React__default.useRef(false);
14889
14917
  return React__default.createElement("div", {
14890
- className: styles$I['accordion-item']
14918
+ className: styles$O['accordion-item']
14891
14919
  }, React__default.createElement("button", {
14892
- className: styles$I['accordion-item__header'],
14920
+ className: styles$O['accordion-item__header'],
14893
14921
  onClick: () => {
14894
14922
  if (isOpen) {
14895
14923
  handleAccordionItemOpen(null);
@@ -14916,15 +14944,15 @@ const AccordionItem = props => {
14916
14944
  }, typeof title === 'string' ? React__default.createElement(Text, {
14917
14945
  emphasis: "bold"
14918
14946
  }, title) : title, React__default.createElement(IconChevronDown, {
14919
- className: styles$I[`accordion-item__icon${isOpen ? '--active' : ''}`],
14947
+ className: styles$O[`accordion-item__icon${isOpen ? '--active' : ''}`],
14920
14948
  color: 'surface-on-color-subtle'
14921
14949
  }))), React__default.createElement("div", {
14922
14950
  "data-testid": `${isOpen ? 'accordion-item-' + id + '-open' : 'accordion-item-' + id + '-closed'}`,
14923
- className: styles$I[`accordion-item__content${isOpen ? '--active' : ''}`]
14951
+ className: styles$O[`accordion-item__content${isOpen ? '--active' : ''}`]
14924
14952
  }, isOpen && React__default.createElement(Text, null, content)));
14925
14953
  };
14926
14954
 
14927
- var styles$H = {"accordion":"_058SP"};
14955
+ var styles$N = {"accordion":"_058SP"};
14928
14956
 
14929
14957
  const _excluded$bb = ["items", "onExpand", "defaultOpenId"];
14930
14958
  const Accordion = _ref => {
@@ -14952,7 +14980,7 @@ const Accordion = _ref => {
14952
14980
  isAccordionMounted: true
14953
14981
  }
14954
14982
  }, React__default.createElement("div", _extends({
14955
- className: styles$H['accordion']
14983
+ className: styles$N['accordion']
14956
14984
  }, dataProps), items.map((item, index) => {
14957
14985
  const id = item.id || index.toString();
14958
14986
  return React__default.createElement(AccordionItem, {
@@ -14966,7 +14994,7 @@ const Accordion = _ref => {
14966
14994
  })));
14967
14995
  };
14968
14996
 
14969
- var styles$G = {"action-list":"_pWke5","action-list__title":"_p8I7K","action-list__empty-state":"_l-tFB"};
14997
+ var styles$M = {"action-list":"_pWke5","action-list__title":"_p8I7K","action-list__empty-state":"_l-tFB"};
14970
14998
 
14971
14999
  const ActionList = ({
14972
15000
  children,
@@ -14978,15 +15006,15 @@ const ActionList = ({
14978
15006
  const translate = useTranslation('ActionList');
14979
15007
  const hasChildren = React__default.Children.count(children) > 0;
14980
15008
  return React__default.createElement("div", {
14981
- className: styles$G['action-list'],
15009
+ className: styles$M['action-list'],
14982
15010
  "data-testid": testId,
14983
15011
  style: {
14984
15012
  maxHeight: maxHeight
14985
15013
  }
14986
15014
  }, title && React__default.createElement("div", {
14987
- className: styles$G['action-list__title']
15015
+ className: styles$M['action-list__title']
14988
15016
  }, title), hasChildren ? children : React__default.createElement("div", {
14989
- className: styles$G['action-list__empty-state']
15017
+ className: styles$M['action-list__empty-state']
14990
15018
  }, React__default.createElement(EmptyStateContainerStack, {
14991
15019
  title: (emptyState == null ? void 0 : emptyState.title) || translate('emptyStateTitle'),
14992
15020
  mediaUrl: emptyState == null ? void 0 : emptyState.image,
@@ -15164,7 +15192,7 @@ const useSelectFieldControllers = ({
15164
15192
  return controllers;
15165
15193
  };
15166
15194
 
15167
- var styles$F = {"custom-control":"_pXQqq"};
15195
+ var styles$L = {"custom-control":"_pXQqq"};
15168
15196
 
15169
15197
  const _excluded$ba = ["children"];
15170
15198
  function CustomControl(_ref) {
@@ -15178,7 +15206,7 @@ function CustomControl(_ref) {
15178
15206
  } = props.selectProps.componentsProps;
15179
15207
  const selectedOption = (_props$getValue = props.getValue()) == null ? void 0 : _props$getValue[0];
15180
15208
  return React__default.createElement(components.Control, _extends({}, props), SelectedOptionPrefix && selectedOption ? React__default.createElement("div", {
15181
- className: styles$F['custom-control'],
15209
+ className: styles$L['custom-control'],
15182
15210
  style: {
15183
15211
  paddingLeft: selectedOption ? 8 : 0
15184
15212
  }
@@ -15357,9 +15385,9 @@ const CustomContainer = props => {
15357
15385
  }));
15358
15386
  };
15359
15387
 
15360
- var styles$E = {"custom-menu-text-field":"_AAUjm","custom-menu-hr":"_mFLK9","custom-menu-div":"_1XpI4"};
15388
+ var styles$K = {"custom-menu-text-field":"_AAUjm","custom-menu-hr":"_mFLK9","custom-menu-div":"_1XpI4"};
15361
15389
 
15362
- var styles$D = {"creatable-button--align-left":"_Qw267","creatable-button":"_f9V5D"};
15390
+ var styles$J = {"creatable-button--align-left":"_Qw267","creatable-button":"_f9V5D"};
15363
15391
 
15364
15392
  /**
15365
15393
  * Shared creatable button component used in CustomMenu and CustomGroupWithCreate.
@@ -15383,8 +15411,8 @@ const CreatableButton = ({
15383
15411
  };
15384
15412
  if (!button || typeof button === 'string') {
15385
15413
  return React__default.createElement("div", {
15386
- className: classnames(styles$D['creatable-button'], {
15387
- [styles$D['creatable-button--align-left']]: _alignLeft
15414
+ className: classnames(styles$J['creatable-button'], {
15415
+ [styles$J['creatable-button--align-left']]: _alignLeft
15388
15416
  })
15389
15417
  }, React__default.createElement(Button, {
15390
15418
  theme: "link-primary",
@@ -15409,8 +15437,8 @@ const CreatableButton = ({
15409
15437
  overrideProps.theme = 'link-primary';
15410
15438
  }
15411
15439
  return React__default.createElement("div", {
15412
- className: classnames(styles$D['creatable-button'], {
15413
- [styles$D['creatable-button--align-left']]: _alignLeft
15440
+ className: classnames(styles$J['creatable-button'], {
15441
+ [styles$J['creatable-button--align-left']]: _alignLeft
15414
15442
  })
15415
15443
  }, React__default.cloneElement(button, overrideProps));
15416
15444
  };
@@ -15436,7 +15464,7 @@ const CreateInputForm = ({
15436
15464
  flex: [1],
15437
15465
  flexItems: true
15438
15466
  }, React__default.createElement("input", {
15439
- className: classnames(styles$1n['text-field'], inputClassName),
15467
+ className: classnames(styles$1t['text-field'], inputClassName),
15440
15468
  autoCorrect: "off",
15441
15469
  autoComplete: "off",
15442
15470
  spellCheck: "false",
@@ -15502,7 +15530,7 @@ function CustomMenu(_ref) {
15502
15530
  return React__default.createElement(components.Menu, _extends({}, props), React__default.createElement("div", {
15503
15531
  ref: containerRef
15504
15532
  }, children, React__default.createElement("hr", {
15505
- className: styles$E['custom-menu-hr']
15533
+ className: styles$K['custom-menu-hr']
15506
15534
  }), !showFooter ? React__default.createElement(CreatableButton, {
15507
15535
  creatableButton: creatableButton,
15508
15536
  onClick: () => setShowFooter(true),
@@ -15513,13 +15541,13 @@ function CustomMenu(_ref) {
15513
15541
  onMenuInputFocus: onMenuInputFocus,
15514
15542
  onSubmit: onCreateButton,
15515
15543
  defaultValue: inputDefaultValue,
15516
- wrapperClassName: styles$E['custom-menu-div'],
15517
- inputClassName: styles$E['custom-menu-text-field'],
15544
+ wrapperClassName: styles$K['custom-menu-div'],
15545
+ inputClassName: styles$K['custom-menu-text-field'],
15518
15546
  testId: "select-create-option-input"
15519
15547
  })));
15520
15548
  }
15521
15549
 
15522
- var styles$C = {"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"};
15550
+ var styles$I = {"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"};
15523
15551
 
15524
15552
  function CustomGroupWithCreate(props) {
15525
15553
  const {
@@ -15553,7 +15581,7 @@ function CustomGroupWithCreate(props) {
15553
15581
  return React__default.createElement("div", {
15554
15582
  ref: containerRef
15555
15583
  }, React__default.createElement(components.Group, _extends({}, props)), !isInputActive ? React__default.createElement("div", {
15556
- className: styles$C['custom-group-with-create-button-wrapper']
15584
+ className: styles$I['custom-group-with-create-button-wrapper']
15557
15585
  }, React__default.createElement(CreatableButton, {
15558
15586
  creatableButton: creatableButton,
15559
15587
  onClick: () => setActiveGroupLabel(groupLabel),
@@ -15565,8 +15593,8 @@ function CustomGroupWithCreate(props) {
15565
15593
  onMenuInputFocus: onMenuInputFocus,
15566
15594
  onSubmit: onCreateButton,
15567
15595
  defaultValue: inputDefaultValue,
15568
- wrapperClassName: styles$C['custom-group-with-create-input-wrapper'],
15569
- inputClassName: styles$C['custom-group-with-create-text-field'],
15596
+ wrapperClassName: styles$I['custom-group-with-create-input-wrapper'],
15597
+ inputClassName: styles$I['custom-group-with-create-text-field'],
15570
15598
  testId: `select-create-option-input-${groupLabel}`
15571
15599
  }));
15572
15600
  }
@@ -15675,7 +15703,7 @@ const useSelectField = _ref => {
15675
15703
  };
15676
15704
  };
15677
15705
 
15678
- var styles$B = {"select-field__suffix":"_vqC1M"};
15706
+ var styles$H = {"select-field__suffix":"_vqC1M"};
15679
15707
 
15680
15708
  /** Simple dropdown field where the user chooses one option from a predefined list. */
15681
15709
  const SelectField = props => {
@@ -15685,7 +15713,7 @@ const SelectField = props => {
15685
15713
  } = useSelectField(props);
15686
15714
  //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
15687
15715
  const suffixWithMargin = props.suffix ? React__default.createElement("div", {
15688
- className: styles$B['select-field__suffix']
15716
+ className: styles$H['select-field__suffix']
15689
15717
  }, props.suffix) : undefined;
15690
15718
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
15691
15719
  prefix: props.prefix,
@@ -15730,9 +15758,9 @@ const ToolbarSelect = _ref => {
15730
15758
  }, rest));
15731
15759
  };
15732
15760
 
15733
- var styles$A = {"date-filter":"_PyXfe","date-filter--wide":"_P6ttU"};
15761
+ var styles$G = {"date-filter":"_PyXfe","date-filter--wide":"_P6ttU"};
15734
15762
 
15735
- var styles$z = {"date-filter-display":"_N37zE","date-filter-display--non-interactive":"_42Bvz","date-filter-display--wide":"_h8n2w","date-filter-display__display-icon":"_i08yV"};
15763
+ var styles$F = {"date-filter-display":"_N37zE","date-filter-display--non-interactive":"_42Bvz","date-filter-display--wide":"_h8n2w","date-filter-display__display-icon":"_i08yV"};
15736
15764
 
15737
15765
  const DATE_FILTER_MODE = {
15738
15766
  DAY: 'day',
@@ -15786,8 +15814,8 @@ const DateFilterDisplay = forwardRef(({
15786
15814
  onClick
15787
15815
  }, ref) => {
15788
15816
  return React__default.createElement("button", {
15789
- className: classnames(styles$z['date-filter-display'], {
15790
- [styles$z['date-filter-display--wide']]: mode === DATE_FILTER_MODE.WEEK
15817
+ className: classnames(styles$F['date-filter-display'], {
15818
+ [styles$F['date-filter-display--wide']]: mode === DATE_FILTER_MODE.WEEK
15791
15819
  }),
15792
15820
  onClick: onClick,
15793
15821
  tabIndex: mode === DATE_FILTER_MODE.MONTH ? -1 : undefined,
@@ -15796,7 +15824,7 @@ const DateFilterDisplay = forwardRef(({
15796
15824
  space: 12,
15797
15825
  alignItems: "center"
15798
15826
  }, React__default.createElement("div", {
15799
- className: classnames(styles$z['date-filter-display__display-icon'])
15827
+ className: classnames(styles$F['date-filter-display__display-icon'])
15800
15828
  }, React__default.createElement(IconCalendarAlt, {
15801
15829
  size: "flexible",
15802
15830
  color: "surface-on-color-subtle"
@@ -15807,7 +15835,7 @@ const DateFilterDisplay = forwardRef(({
15807
15835
  })));
15808
15836
  });
15809
15837
 
15810
- var styles$y = {"date-stepper":"_9wFtw","date-stepper--backward":"_OrtcR","date-stepper--forward":"_oYoUt"};
15838
+ var styles$E = {"date-stepper":"_9wFtw","date-stepper--backward":"_OrtcR","date-stepper--forward":"_oYoUt"};
15811
15839
 
15812
15840
  const handleDateStepper = (date, mode, stepDirection, onChange) => {
15813
15841
  const step = stepDirection === STEP_DIRECTION.FORWARD ? 1 : -1;
@@ -15836,9 +15864,9 @@ const DateFilterStepper = ({
15836
15864
  date
15837
15865
  }) => {
15838
15866
  return React__default.createElement("button", {
15839
- className: classnames(styles$y['date-stepper'], {
15840
- [styles$y['date-stepper--backward']]: stepDirection === STEP_DIRECTION.BACKWARD,
15841
- [styles$y['date-stepper--forward']]: stepDirection === STEP_DIRECTION.FORWARD
15867
+ className: classnames(styles$E['date-stepper'], {
15868
+ [styles$E['date-stepper--backward']]: stepDirection === STEP_DIRECTION.BACKWARD,
15869
+ [styles$E['date-stepper--forward']]: stepDirection === STEP_DIRECTION.FORWARD
15842
15870
  }),
15843
15871
  onClick: () => handleDateStepper(date, mode, stepDirection, onChange)
15844
15872
  }, children);
@@ -15903,9 +15931,9 @@ const CalendarMonth = ({
15903
15931
  }
15904
15932
  const MONTHS = [...Array(12).keys()];
15905
15933
  return React__default.createElement(Portal, null, React__default.createElement("div", {
15906
- className: styles$15['calendar']
15934
+ className: styles$1b['calendar']
15907
15935
  }, React__default.createElement("div", {
15908
- className: styles$15['calendar__overlay'],
15936
+ className: styles$1b['calendar__overlay'],
15909
15937
  ref: ref => setCalendarRef(ref),
15910
15938
  style: _extends({}, calendarPosition, {
15911
15939
  zIndex: isInsideDropdown ? getZIndex('dropdown-level-2') : getZIndex('dropdown')
@@ -15983,8 +16011,8 @@ const DateFilter = ({
15983
16011
  const onClickOutside = useCallback(() => setCalendarOpen(false), [setCalendarOpen]);
15984
16012
  return React__default.createElement("div", {
15985
16013
  "data-testid": testId,
15986
- className: classnames(styles$A['date-filter'], {
15987
- [styles$A['date-filter--wide']]: _mode === DATE_FILTER_MODE.WEEK
16014
+ className: classnames(styles$G['date-filter'], {
16015
+ [styles$G['date-filter--wide']]: _mode === DATE_FILTER_MODE.WEEK
15988
16016
  })
15989
16017
  }, React__default.createElement(Inline, {
15990
16018
  space: 0
@@ -16028,7 +16056,7 @@ const DateFilter = ({
16028
16056
  }));
16029
16057
  };
16030
16058
 
16031
- var styles$x = {"segmented-control":"_RezMY","segmented-control__button":"_lehFG","segmented-control__button--selected":"_Fr5kb"};
16059
+ var styles$D = {"segmented-control":"_RezMY","segmented-control__button":"_lehFG","segmented-control__button--selected":"_Fr5kb"};
16032
16060
 
16033
16061
  const SegmentedControl = ({
16034
16062
  options,
@@ -16040,21 +16068,21 @@ const SegmentedControl = ({
16040
16068
  return option === value;
16041
16069
  };
16042
16070
  return React__default.createElement("div", {
16043
- className: styles$x['segmented-control'],
16071
+ className: styles$D['segmented-control'],
16044
16072
  "data-testid": testId
16045
16073
  }, options.map(option => React__default.createElement(React__default.Fragment, {
16046
16074
  key: option
16047
16075
  }, React__default.createElement("button", {
16048
16076
  onClick: () => onChange(option),
16049
- className: classnames(styles$x['segmented-control__button'], {
16050
- [styles$x['segmented-control__button--selected']]: isSelected(option)
16077
+ className: classnames(styles$D['segmented-control__button'], {
16078
+ [styles$D['segmented-control__button--selected']]: isSelected(option)
16051
16079
  })
16052
16080
  }, option))));
16053
16081
  };
16054
16082
 
16055
- var styles$w = {"form--standard-size":"_8-Ykj"};
16083
+ var styles$C = {"form--standard-size":"_8-Ykj"};
16056
16084
 
16057
- var styles$v = {"form-section":"_3uYIj","form-section__title":"_2WdOf","form-section__subtitle":"_zybxx","form-section--no-margin":"_xT-U1"};
16085
+ var styles$B = {"form-section":"_3uYIj","form-section__title":"_2WdOf","form-section__subtitle":"_zybxx","form-section--no-margin":"_xT-U1"};
16058
16086
 
16059
16087
  const FormSection = ({
16060
16088
  children,
@@ -16067,13 +16095,13 @@ const FormSection = ({
16067
16095
  const content = React__default.createElement(Stack, null, (title || subtitle) && React__default.createElement(Stack, {
16068
16096
  space: 8
16069
16097
  }, title && React__default.createElement("h2", {
16070
- className: classnames(styles$v['form-section__title'])
16098
+ className: classnames(styles$B['form-section__title'])
16071
16099
  }, title), subtitle && React__default.createElement("h3", {
16072
- className: classnames(styles$v['form-section__subtitle'])
16100
+ className: classnames(styles$B['form-section__subtitle'])
16073
16101
  }, subtitle)), children);
16074
16102
  return React__default.createElement("div", {
16075
- className: classnames(styles$v['form-section'], {
16076
- [styles$v['form-section--no-margin']]: _noMargin || as === 'card'
16103
+ className: classnames(styles$B['form-section'], {
16104
+ [styles$B['form-section--no-margin']]: _noMargin || as === 'card'
16077
16105
  }),
16078
16106
  "data-testid": testId
16079
16107
  }, as === 'card' ? React__default.createElement(Card, {
@@ -16093,7 +16121,7 @@ const updateButtonProps = (child, newProps) => {
16093
16121
  }, newProps, child.props));
16094
16122
  };
16095
16123
 
16096
- var styles$u = {"form-footer":"_4ksfB"};
16124
+ var styles$A = {"form-footer":"_4ksfB"};
16097
16125
 
16098
16126
  const FormFooterActions = ({
16099
16127
  actions
@@ -16129,7 +16157,7 @@ const FormFooter = ({
16129
16157
  });
16130
16158
  const isInlineChildren = React__default.Children.count(children) === 1 && React__default.isValidElement(children) && children.type === Inline;
16131
16159
  return React__default.createElement("div", {
16132
- className: classnames(styles$u['form-footer']),
16160
+ className: classnames(styles$A['form-footer']),
16133
16161
  "data-testid": testId
16134
16162
  }, actions && React__default.createElement(FormFooterActions, {
16135
16163
  actions: actions
@@ -16167,13 +16195,13 @@ const Form = ({
16167
16195
  }, React__default.createElement("form", {
16168
16196
  onSubmit: onSubmit ? handleSubmit : formik == null ? void 0 : formik.handleSubmit,
16169
16197
  className: classnames({
16170
- [styles$w['form--standard-size']]: !_wide
16198
+ [styles$C['form--standard-size']]: !_wide
16171
16199
  }),
16172
16200
  "data-testid": testId
16173
16201
  }, _stackContent ? React__default.createElement(Stack, null, formattedChildren) : formattedChildren));
16174
16202
  };
16175
16203
 
16176
- var styles$t = {"form-row":"_xX-RS"};
16204
+ var styles$z = {"form-row":"_xX-RS"};
16177
16205
 
16178
16206
  const SIZE_25_PERCENT = '25%';
16179
16207
  const SIZE_33_PERCENT = '33.333%';
@@ -16200,14 +16228,14 @@ const FormRow = ({
16200
16228
  space: _space,
16201
16229
  testId: testId,
16202
16230
  alignItems: "stretch",
16203
- extraClass: styles$t['form-row']
16231
+ extraClass: styles$z['form-row']
16204
16232
  }, children, additionalColumns.map((_, index) => React__default.createElement("span", {
16205
16233
  key: index,
16206
16234
  "data-testid": "empty-cell"
16207
16235
  })));
16208
16236
  };
16209
16237
 
16210
- var styles$s = {"text-field":"_JaB08","text-field--focus":"_62RIR","text-field--disabled":"_CDt23","text-field--invalid":"_wf4XP","text-field__toolbar":"_7xVsj"};
16238
+ var styles$y = {"text-field":"_JaB08","text-field--focus":"_62RIR","text-field--disabled":"_CDt23","text-field--invalid":"_wf4XP","text-field__toolbar":"_7xVsj"};
16211
16239
 
16212
16240
  const useGrowTextAreaRef = (minHeight, maxHeight, autoGrow, forwardedRef) => {
16213
16241
  const textareaRef = useRef(null);
@@ -16277,10 +16305,10 @@ const TextAreaField = ({
16277
16305
  return React__default.createElement(Field, _extends({}, fieldProps, {
16278
16306
  characterCount: controllers.value !== undefined && maxLength ? maxLength - controllers.value.length : undefined
16279
16307
  }), React__default.createElement("div", {
16280
- className: classnames(styles$s['text-field'], {
16281
- [styles$s['text-field--invalid']]: hasError,
16282
- [styles$s['text-field--disabled']]: disabled,
16283
- [styles$s['text-field--focus']]: hasFocus
16308
+ className: classnames(styles$y['text-field'], {
16309
+ [styles$y['text-field--invalid']]: hasError,
16310
+ [styles$y['text-field--disabled']]: disabled,
16311
+ [styles$y['text-field--focus']]: hasFocus
16284
16312
  }),
16285
16313
  ref: containerRef,
16286
16314
  onClick: event => {
@@ -16312,7 +16340,7 @@ const TextAreaField = ({
16312
16340
  ref: textAreaRef,
16313
16341
  maxLength: maxLength
16314
16342
  }), toolbar && React__default.createElement("div", {
16315
- className: styles$s['text-field__toolbar'],
16343
+ className: styles$y['text-field__toolbar'],
16316
16344
  id: `${controllers.id}-toolbar`,
16317
16345
  ref: toolbarRef,
16318
16346
  onClick: event => {
@@ -16347,7 +16375,7 @@ const TextFieldElement = (_ref, ref) => {
16347
16375
  /** A basic open input field used to get text from the user, with options to add a prefix or suffix element if necessary. Accepts any characters, so do not use it if you want to limit the format of the input to numbers only. */
16348
16376
  const TextField = forwardRef(TextFieldElement);
16349
16377
 
16350
- var styles$r = {"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"};
16378
+ var styles$x = {"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"};
16351
16379
 
16352
16380
  const useMultiSelectFieldControllers = ({
16353
16381
  name,
@@ -16412,10 +16440,10 @@ const CreatableOption = ({
16412
16440
  };
16413
16441
  return React__default.createElement(React__default.Fragment, null, !isCreatingOption && React__default.createElement("div", {
16414
16442
  key: 'pill-select-field-create-option',
16415
- className: styles$r['pill-select-field']
16443
+ className: styles$x['pill-select-field']
16416
16444
  }, React__default.createElement("button", {
16417
16445
  "data-testid": testId ? `${testId}-create-option` : undefined,
16418
- className: styles$r['pill-select-field__add-new-input'],
16446
+ className: styles$x['pill-select-field__add-new-input'],
16419
16447
  onClick: () => {
16420
16448
  setIsCreatingOption(true);
16421
16449
  setNewOptionLabel('');
@@ -16424,9 +16452,9 @@ const CreatableOption = ({
16424
16452
  size: "small"
16425
16453
  }), createOptionLabel)), isCreatingOption && React__default.createElement("div", {
16426
16454
  key: 'pill-select-field-creating-option',
16427
- className: styles$r['pill-select-field']
16455
+ className: styles$x['pill-select-field']
16428
16456
  }, React__default.createElement("input", {
16429
- className: styles$r['pill-select-field__creating-input'],
16457
+ className: styles$x['pill-select-field__creating-input'],
16430
16458
  name: `${name}-pill-select-field-creating-option`,
16431
16459
  id: 'pill-select-field-creating-option',
16432
16460
  type: "text",
@@ -16447,7 +16475,7 @@ const CreatableOption = ({
16447
16475
  }
16448
16476
  }
16449
16477
  }), React__default.createElement("span", {
16450
- className: styles$r['pill-select-field__creating-custom-input']
16478
+ className: styles$x['pill-select-field__creating-custom-input']
16451
16479
  }, !newOptionLabel && React__default.createElement(Text, {
16452
16480
  as: "body",
16453
16481
  color: "surface-on-color-disabled"
@@ -16498,7 +16526,7 @@ const PillSelectField = ({
16498
16526
  }
16499
16527
  };
16500
16528
  return React__default.createElement("button", {
16501
- className: styles$r['pill-select-field__removable-icon'],
16529
+ className: styles$x['pill-select-field__removable-icon'],
16502
16530
  onClick: handleClick,
16503
16531
  disabled: disabled
16504
16532
  }, React__default.createElement(IconTimes, {
@@ -16515,7 +16543,7 @@ const PillSelectField = ({
16515
16543
  const itemId = `${controllers.id}-${itemIdentifier}`;
16516
16544
  return React__default.createElement("div", {
16517
16545
  key: itemIdentifier,
16518
- className: styles$r['pill-select-field']
16546
+ className: styles$x['pill-select-field']
16519
16547
  }, React__default.createElement("input", {
16520
16548
  name: `${name}-${itemIdentifier}`,
16521
16549
  id: itemId,
@@ -16535,7 +16563,7 @@ const PillSelectField = ({
16535
16563
  controllers.onChange(newValue);
16536
16564
  }
16537
16565
  }), React__default.createElement("span", {
16538
- className: styles$r['pill-select-field__custom-input']
16566
+ className: styles$x['pill-select-field__custom-input']
16539
16567
  }, option.label, option.isRemovable && React__default.createElement(RemoveButton, {
16540
16568
  option: option
16541
16569
  })));
@@ -16547,6 +16575,79 @@ const PillSelectField = ({
16547
16575
  })));
16548
16576
  };
16549
16577
 
16578
+ var styles$w = {"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"};
16579
+
16580
+ const toKey = d => `${d.getFullYear()}-${d.getMonth()}-${d.getDate()}`;
16581
+ const WeekSelectField = ({
16582
+ name,
16583
+ id: inputId,
16584
+ days,
16585
+ value: controlledValue,
16586
+ onChange,
16587
+ label,
16588
+ caption,
16589
+ error: errorProp,
16590
+ disabled,
16591
+ displayFormat: _displayFormat = 'weekday',
16592
+ testId
16593
+ }) => {
16594
+ var _formikState$value;
16595
+ const id = useFieldId({
16596
+ name,
16597
+ id: inputId
16598
+ });
16599
+ const {
16600
+ formik
16601
+ } = useFormContext();
16602
+ const formikState = getFormikState(name, formik);
16603
+ const translate = useTranslation();
16604
+ const dayAbbr = getDaysShort(translate);
16605
+ const monthAbbr = getMonths(translate, true);
16606
+ const error = errorProp !== undefined ? errorProp : formik && formikState ? formikState.error : undefined;
16607
+ const value = controlledValue !== undefined ? controlledValue : formik && formikState ? (_formikState$value = formikState.value) != null ? _formikState$value : [] : [];
16608
+ const handleChange = newValue => {
16609
+ if (onChange) onChange(newValue);
16610
+ if (formik) formik.setFieldValue(name, newValue);
16611
+ };
16612
+ const selectedKeys = new Set(value.map(toKey));
16613
+ const hasError = !!error;
16614
+ return React__default.createElement(Field, {
16615
+ id: id,
16616
+ label: label,
16617
+ caption: caption,
16618
+ error: error
16619
+ }, React__default.createElement("div", {
16620
+ className: styles$w['week-select-field']
16621
+ }, days.map((day, index) => {
16622
+ const key = toKey(day);
16623
+ const isChecked = selectedKeys.has(key);
16624
+ const itemId = `${id}-${key}`;
16625
+ return React__default.createElement("div", {
16626
+ key: key,
16627
+ className: styles$w['week-select-field__day']
16628
+ }, React__default.createElement("input", {
16629
+ type: "checkbox",
16630
+ id: itemId,
16631
+ name: `${name}-${key}`,
16632
+ checked: isChecked,
16633
+ disabled: disabled,
16634
+ "aria-describedby": hasError ? `${id}-error-message` : undefined,
16635
+ "aria-invalid": hasError,
16636
+ "data-testid": testId ? `${testId}-${index}` : undefined,
16637
+ onChange: () => {
16638
+ const newValue = isChecked ? value.filter(d => toKey(d) !== key) : [...value, day];
16639
+ handleChange(newValue);
16640
+ }
16641
+ }), React__default.createElement("span", {
16642
+ className: styles$w['week-select-field__day-pill']
16643
+ }, React__default.createElement("span", {
16644
+ className: styles$w['week-select-field__day-abbr']
16645
+ }, _displayFormat === 'month' ? monthAbbr[day.getMonth()] : dayAbbr[day.getDay()]), React__default.createElement("span", {
16646
+ className: styles$w['week-select-field__day-num']
16647
+ }, day.getDate())));
16648
+ })));
16649
+ };
16650
+
16550
16651
  const useRadioGroupFieldControllers = ({
16551
16652
  name,
16552
16653
  value,
@@ -16584,9 +16685,9 @@ const useRadioGroupFieldContext = () => {
16584
16685
  return context;
16585
16686
  };
16586
16687
 
16587
- var styles$q = {"label":"_xzukU","label--truncate":"_iVWRB","caption":"_JNfQO","radio-group-field__label":"_2KvuU","radio-group-field__caption":"_ZeIOd"};
16688
+ var styles$v = {"label":"_xzukU","label--truncate":"_iVWRB","caption":"_JNfQO","radio-group-field__label":"_2KvuU","radio-group-field__caption":"_ZeIOd"};
16588
16689
 
16589
- var styles$p = {"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"};
16690
+ var styles$u = {"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"};
16590
16691
 
16591
16692
  const RadioGroupBoxOption = ({
16592
16693
  value,
@@ -16603,7 +16704,7 @@ const RadioGroupBoxOption = ({
16603
16704
  id: inputId
16604
16705
  });
16605
16706
  return React__default.createElement("label", {
16606
- className: styles$p['radio-group-box-option']
16707
+ className: styles$u['radio-group-box-option']
16607
16708
  }, React__default.createElement("input", {
16608
16709
  type: "radio",
16609
16710
  "data-testid": testId,
@@ -16614,8 +16715,8 @@ const RadioGroupBoxOption = ({
16614
16715
  checked: radioGroupContext.value !== undefined ? radioGroupContext.value === value : undefined,
16615
16716
  disabled: radioGroupContext.disabled || disabled
16616
16717
  }), React__default.createElement("div", {
16617
- className: classnames(styles$p['radio-group-box-option__box'], {
16618
- [styles$p['radio-group-box-option__box--disabled']]: radioGroupContext.disabled || disabled
16718
+ className: classnames(styles$u['radio-group-box-option__box'], {
16719
+ [styles$u['radio-group-box-option__box--disabled']]: radioGroupContext.disabled || disabled
16619
16720
  })
16620
16721
  }, React__default.createElement(Stack, {
16621
16722
  space: 16,
@@ -16625,17 +16726,17 @@ const RadioGroupBoxOption = ({
16625
16726
  space: 8,
16626
16727
  alignItems: "center"
16627
16728
  }, label && React__default.createElement("div", {
16628
- className: classnames(styles$p['radio-group-box-option__label'], {
16629
- [styles$p['radio-group-box-option__label--disabled']]: radioGroupContext.disabled || disabled
16729
+ className: classnames(styles$u['radio-group-box-option__label'], {
16730
+ [styles$u['radio-group-box-option__label--disabled']]: radioGroupContext.disabled || disabled
16630
16731
  })
16631
16732
  }, label), caption && React__default.createElement("div", {
16632
- className: classnames(styles$p['radio-group-box-option__caption'], {
16633
- [styles$p['radio-group-box-option__caption--disabled']]: radioGroupContext.disabled || disabled
16733
+ className: classnames(styles$u['radio-group-box-option__caption'], {
16734
+ [styles$u['radio-group-box-option__caption--disabled']]: radioGroupContext.disabled || disabled
16634
16735
  })
16635
16736
  }, caption)))));
16636
16737
  };
16637
16738
 
16638
- var styles$o = {"radio-group-option":"_7fVpn","radio-group-option__caption":"_VD7SO","radio-group-option__custom-input":"_Yfxkl"};
16739
+ var styles$t = {"radio-group-option":"_7fVpn","radio-group-option__caption":"_VD7SO","radio-group-option__custom-input":"_Yfxkl"};
16639
16740
 
16640
16741
  /** RadioGroupField form element. */
16641
16742
  const RadioGroupOption = ({
@@ -16657,7 +16758,7 @@ const RadioGroupOption = ({
16657
16758
  space: 8,
16658
16759
  alignItems: "center"
16659
16760
  }, React__default.createElement("div", {
16660
- className: styles$o['radio-group-option']
16761
+ className: styles$t['radio-group-option']
16661
16762
  }, React__default.createElement("input", {
16662
16763
  type: "radio",
16663
16764
  "data-testid": testId,
@@ -16668,11 +16769,11 @@ const RadioGroupOption = ({
16668
16769
  checked: radioGroupContext.value !== undefined ? radioGroupContext.value === value : undefined,
16669
16770
  disabled: radioGroupContext.disabled || disabled
16670
16771
  }), React__default.createElement("span", {
16671
- className: styles$o['radio-group-option__custom-input']
16772
+ className: styles$t['radio-group-option__custom-input']
16672
16773
  })), label && React__default.createElement(Label, {
16673
16774
  htmlFor: id
16674
16775
  }, label)), caption && React__default.createElement("div", {
16675
- className: styles$o['radio-group-option__caption']
16776
+ className: styles$t['radio-group-option__caption']
16676
16777
  }, React__default.createElement(Caption, {
16677
16778
  fieldId: id
16678
16779
  }, caption)));
@@ -16803,7 +16904,7 @@ const RadioGroupField = ({
16803
16904
  }, React__default.createElement(Stack, {
16804
16905
  space: _space
16805
16906
  }, label && React__default.createElement("div", {
16806
- className: styles$q['radio-group-field__label']
16907
+ className: styles$v['radio-group-field__label']
16807
16908
  }, label), React__default.createElement(Stack, {
16808
16909
  space: 8
16809
16910
  }, optionsType === OPTION_TYPES.RADIO ? React__default.createElement(RadioOptions, {
@@ -16815,21 +16916,21 @@ const RadioGroupField = ({
16815
16916
  testId: testId,
16816
16917
  space: _space
16817
16918
  }, children), caption && React__default.createElement("div", {
16818
- className: styles$q['radio-group-caption']
16919
+ className: styles$v['radio-group-caption']
16819
16920
  }, caption), controllers.error && React__default.createElement(ErrorMessage, null, controllers.error))));
16820
16921
  };
16821
16922
 
16822
- var styles$n = {"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"};
16923
+ var styles$s = {"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"};
16823
16924
 
16824
- var styles$m = {"password-criteria":"_1ruWK","password-criteria--invalid":"_xR7tb"};
16925
+ var styles$r = {"password-criteria":"_1ruWK","password-criteria--invalid":"_xR7tb"};
16825
16926
 
16826
16927
  const PasswordCriteria = ({
16827
16928
  met,
16828
16929
  children
16829
16930
  }) => {
16830
16931
  return React__default.createElement("span", {
16831
- className: classnames(styles$m['password-criteria'], {
16832
- [styles$m['password-criteria--invalid']]: !met
16932
+ className: classnames(styles$r['password-criteria'], {
16933
+ [styles$r['password-criteria--invalid']]: !met
16833
16934
  })
16834
16935
  }, React__default.createElement(Inline, {
16835
16936
  space: met ? 4 : 8
@@ -16877,7 +16978,8 @@ const PasswordField = ({
16877
16978
  disabled,
16878
16979
  defaultValue,
16879
16980
  criterias: _criterias = [],
16880
- testId
16981
+ testId,
16982
+ autoComplete
16881
16983
  }) => {
16882
16984
  const [type, setType] = useState('password');
16883
16985
  const toggleType = () => {
@@ -16902,15 +17004,16 @@ const PasswordField = ({
16902
17004
  error: controllers.error
16903
17005
  };
16904
17006
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
16905
- className: styles$n['password-container']
17007
+ className: styles$s['password-container']
16906
17008
  }, React__default.createElement("input", {
16907
17009
  name: name,
16908
17010
  id: controllers.id,
16909
- className: classnames(styles$n['text-field'], {
16910
- [styles$n['text-field--invalid']]: hasError
17011
+ className: classnames(styles$s['text-field'], {
17012
+ [styles$s['text-field--invalid']]: hasError
16911
17013
  }),
16912
17014
  type: type,
16913
17015
  "data-testid": testId,
17016
+ autoComplete: autoComplete,
16914
17017
  "aria-describedby": hasError ? `${controllers.id}-error-message` : `${controllers.id}-describer`,
16915
17018
  "aria-invalid": hasError,
16916
17019
  disabled: disabled,
@@ -16920,8 +17023,8 @@ const PasswordField = ({
16920
17023
  onChange: controllers.onChange,
16921
17024
  onBlur: controllers.onBlur
16922
17025
  }), React__default.createElement("div", {
16923
- className: classnames(styles$n['password-toggle'], {
16924
- [styles$n['password-toggle--disabled']]: disabled
17026
+ className: classnames(styles$s['password-toggle'], {
17027
+ [styles$s['password-toggle--disabled']]: disabled
16925
17028
  }),
16926
17029
  onClick: toggleType,
16927
17030
  onKeyPress: toggleType,
@@ -17023,7 +17126,7 @@ const MultiSelectField = ({
17023
17126
  })));
17024
17127
  };
17025
17128
 
17026
- var styles$l = {"custom-list":"_cSkvD"};
17129
+ var styles$q = {"custom-list":"_cSkvD"};
17027
17130
 
17028
17131
  const _excluded$b4 = ["children", "hasMoreOptions", "hasMoreOptionsFirstLoad"];
17029
17132
  const CustomList = _ref => {
@@ -17041,7 +17144,7 @@ const CustomList = _ref => {
17041
17144
  return React__default.createElement(components.MenuList, _extends({}, props), React__default.createElement(Fragment, null, children, showFooter && props.options.length > 0 && React__default.createElement(Inline, {
17042
17145
  justifyContent: "center"
17043
17146
  }, React__default.createElement("div", {
17044
- className: styles$l['custom-list']
17147
+ className: styles$q['custom-list']
17045
17148
  }, __('moreOptionsPlaceholder')))));
17046
17149
  };
17047
17150
 
@@ -17336,7 +17439,7 @@ const getFormikError = error => {
17336
17439
  return undefined;
17337
17440
  };
17338
17441
 
17339
- var styles$k = {"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"};
17442
+ var styles$p = {"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"};
17340
17443
 
17341
17444
  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"};
17342
17445
 
@@ -17402,9 +17505,9 @@ const DateRangeCalendar = ({
17402
17505
  const MONTH_NAMES = getMonths(translate);
17403
17506
  const highlight = buildHighlightDayPickerProps(highlightedDays);
17404
17507
  return React__default.createElement(Portal, null, React__default.createElement("div", {
17405
- className: styles$15['calendar']
17508
+ className: styles$1b['calendar']
17406
17509
  }, React__default.createElement("div", {
17407
- className: styles$15['calendar__overlay'],
17510
+ className: styles$1b['calendar__overlay'],
17408
17511
  ref: ref => setCalendarRef(ref),
17409
17512
  style: _extends({}, calendarPosition, {
17410
17513
  zIndex: getZIndex('dropdown')
@@ -17604,9 +17707,9 @@ const DateRangeField = ({
17604
17707
  end
17605
17708
  } = controllers.value;
17606
17709
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
17607
- className: classnames(styles$k['date-range-field'], {
17608
- [styles$k['date-range-field--invalid']]: hasError,
17609
- [styles$k['date-range-field--disabled']]: disabled
17710
+ className: classnames(styles$p['date-range-field'], {
17711
+ [styles$p['date-range-field--invalid']]: hasError,
17712
+ [styles$p['date-range-field--disabled']]: disabled
17610
17713
  }),
17611
17714
  "data-testid": testId
17612
17715
  }, React__default.createElement(IconCalendarAlt, {
@@ -17932,7 +18035,7 @@ const TimeRangeSelector = forwardRef(TimeFieldElement);
17932
18035
  */
17933
18036
  const TimeField = forwardRef(TimeFieldElement);
17934
18037
 
17935
- var styles$j = {"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"};
18038
+ var styles$o = {"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"};
17936
18039
 
17937
18040
  const TimeRangeEnd = ({
17938
18041
  startTime,
@@ -18054,9 +18157,9 @@ const TimeRangeField = ({
18054
18157
  end
18055
18158
  }) : getDuration(end, start, subtractDuration);
18056
18159
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
18057
- className: classnames(styles$j['time-range-field'], {
18058
- [styles$j['time-range-field--invalid']]: hasError,
18059
- [styles$j['time-range-field--disabled']]: disabled
18160
+ className: classnames(styles$o['time-range-field'], {
18161
+ [styles$o['time-range-field--invalid']]: hasError,
18162
+ [styles$o['time-range-field--disabled']]: disabled
18060
18163
  }),
18061
18164
  "data-testid": testId
18062
18165
  }, React__default.createElement(TimeRangeStart, {
@@ -18084,7 +18187,7 @@ const TimeRangeField = ({
18084
18187
  })));
18085
18188
  };
18086
18189
 
18087
- var styles$i = {"currency-field":"_GyYnE","currency-field--with-mask":"_NfdKk","currency-field__mask-display":"_ddacu","currency-field__mask-display--disabled":"_o1-zA"};
18190
+ var styles$n = {"currency-field":"_GyYnE","currency-field--with-mask":"_NfdKk","currency-field__mask-display":"_ddacu","currency-field__mask-display--disabled":"_o1-zA"};
18088
18191
 
18089
18192
  const CURRENCY_DISPLAY_DEFAULT_MARGIN = 8;
18090
18193
  const CURRENCY_DISPLAY_MARGIN_BUFFER = 1;
@@ -18150,12 +18253,12 @@ const CurrencyFieldElement = (_ref, forwardedRef) => {
18150
18253
  setShowMask(false);
18151
18254
  inputProps.onFocus(e);
18152
18255
  },
18153
- className: classnames(inputProps.className, styles$i['currency-field'], {
18154
- [styles$i['currency-field--with-mask']]: showMask && !!inputProps.value
18256
+ className: classnames(inputProps.className, styles$n['currency-field'], {
18257
+ [styles$n['currency-field--with-mask']]: showMask && !!inputProps.value
18155
18258
  })
18156
18259
  }))), showMask && !!inputProps.value && React__default.createElement("div", {
18157
- className: classnames(styles$i['currency-field__mask-display'], {
18158
- [styles$i['currency-field__mask-display--disabled']]: inputProps.disabled
18260
+ className: classnames(styles$n['currency-field__mask-display'], {
18261
+ [styles$n['currency-field__mask-display--disabled']]: inputProps.disabled
18159
18262
  }),
18160
18263
  style: {
18161
18264
  marginLeft: displayPadding
@@ -18281,7 +18384,7 @@ const FormFeedback = ({
18281
18384
  }, children);
18282
18385
  };
18283
18386
 
18284
- var styles$h = {"phone-field":"_Q0GfJ","phone-field__flag":"_-uOqW","phone-field__input":"_Hes9b","phone-field__input--with-square-borders":"_TEU6N"};
18387
+ var styles$m = {"phone-field":"_Q0GfJ","phone-field__flag":"_-uOqW","phone-field__input":"_Hes9b","phone-field__input--with-square-borders":"_TEU6N"};
18285
18388
 
18286
18389
  const usePhoneFieldControllers = ({
18287
18390
  name,
@@ -18424,8 +18527,8 @@ const usePhoneField = ({
18424
18527
  'aria-describedby': hasError ? `${controllers.id}-error-message` : `${controllers.id}-describer`,
18425
18528
  'aria-invalid': hasError,
18426
18529
  autoFocus,
18427
- className: classnames(styles$1n['text-field'], {
18428
- [styles$1n['text-field--invalid']]: hasError
18530
+ className: classnames(styles$1t['text-field'], {
18531
+ [styles$1t['text-field--invalid']]: hasError
18429
18532
  }),
18430
18533
  'data-testid': testId,
18431
18534
  disabled,
@@ -19195,7 +19298,7 @@ const COUNTRIES = {
19195
19298
  };
19196
19299
  const COUNTRY_CODES = Object.keys(COUNTRIES);
19197
19300
 
19198
- var styles$g = {"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"};
19301
+ var styles$l = {"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"};
19199
19302
 
19200
19303
  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"};
19201
19304
 
@@ -19209,21 +19312,21 @@ const CountrySelector = ({
19209
19312
  }) => {
19210
19313
  const resolvedPriorityCountries = [country, ..._priorityCountries].filter((code, index, arr) => arr.indexOf(code) === index && code in COUNTRIES);
19211
19314
  return React__default.createElement("div", {
19212
- className: classnames(styles$g['country-selector'], {
19213
- [styles$g['country-selector--with-error']]: hasError,
19214
- [styles$g['country-selector--disabled']]: disabled
19315
+ className: classnames(styles$l['country-selector'], {
19316
+ [styles$l['country-selector--with-error']]: hasError,
19317
+ [styles$l['country-selector--disabled']]: disabled
19215
19318
  })
19216
19319
  }, React__default.createElement(Dropdown, {
19217
19320
  trigger: React__default.createElement("div", {
19218
- className: classnames(styles$g['country-selector__trigger'], {
19219
- [styles$g['country-selector__trigger--with-error']]: hasError,
19220
- [styles$g['country-selector__trigger--disabled']]: disabled
19321
+ className: classnames(styles$l['country-selector__trigger'], {
19322
+ [styles$l['country-selector__trigger--with-error']]: hasError,
19323
+ [styles$l['country-selector__trigger--disabled']]: disabled
19221
19324
  })
19222
19325
  }, React__default.createElement(Inline, {
19223
19326
  space: 8,
19224
19327
  alignItems: "center"
19225
19328
  }, React__default.createElement("span", {
19226
- className: classnames(flagIcons['fi'], flagIcons[`fi-${country.toLowerCase()}`], styles$g['country-selector__trigger-flag'])
19329
+ className: classnames(flagIcons['fi'], flagIcons[`fi-${country.toLowerCase()}`], styles$l['country-selector__trigger-flag'])
19227
19330
  }), React__default.createElement(IconChevronDown, {
19228
19331
  color: "currentColor",
19229
19332
  size: "medium"
@@ -19237,7 +19340,7 @@ const CountrySelector = ({
19237
19340
  alignItems: "center",
19238
19341
  space: 12
19239
19342
  }, React__default.createElement("span", {
19240
- className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$g['country-selector__flag'])
19343
+ className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$l['country-selector__flag'])
19241
19344
  }), React__default.createElement(Text, null, COUNTRIES[countryCode].countryName)))), React__default.createElement(DropdownListDivider, null), COUNTRY_CODES.map(countryCode => React__default.createElement(DropdownListItem, {
19242
19345
  onClick: () => onChange(countryCode),
19243
19346
  key: countryCode
@@ -19245,7 +19348,7 @@ const CountrySelector = ({
19245
19348
  alignItems: "center",
19246
19349
  space: 12
19247
19350
  }, React__default.createElement("span", {
19248
- className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$g['country-selector__flag'])
19351
+ className: classnames(flagIcons['fi'], flagIcons[`fi-${countryCode.toLowerCase()}`], styles$l['country-selector__flag'])
19249
19352
  }), React__default.createElement(Text, null, COUNTRIES[countryCode].countryName)))))));
19250
19353
  };
19251
19354
 
@@ -19319,7 +19422,7 @@ const PhoneField = _ref => {
19319
19422
  }
19320
19423
  };
19321
19424
  return React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement("div", {
19322
- className: styles$h['phone-field']
19425
+ className: styles$m['phone-field']
19323
19426
  }, !disabledCountry && React__default.createElement(CountrySelector, {
19324
19427
  country: selectedCountry,
19325
19428
  onChange: handleCountryChange,
@@ -19331,48 +19434,88 @@ const PhoneField = _ref => {
19331
19434
  space: 4,
19332
19435
  alignItems: "center"
19333
19436
  }, React__default.createElement("span", {
19334
- className: classnames(flagIcons['fi'], flagIcons[`fi-${selectedCountry.toLocaleLowerCase()}`], styles$h['country-selector__flag'])
19437
+ className: classnames(flagIcons['fi'], flagIcons[`fi-${selectedCountry.toLocaleLowerCase()}`], styles$m['country-selector__flag'])
19335
19438
  }), React__default.createElement("span", null, "+", getCountryCallingCode(selectedCountry))) : `+${getCountryCallingCode(selectedCountry)}`
19336
19439
  }, React__default.createElement("input", _extends({}, inputProps, {
19337
19440
  type: "tel",
19338
- className: classnames(inputProps.className, styles$h['phone-field__input'], {
19339
- [styles$h['phone-field__input--with-square-borders']]: !disabledCountry
19441
+ className: classnames(inputProps.className, styles$m['phone-field__input'], {
19442
+ [styles$m['phone-field__input--with-square-borders']]: !disabledCountry
19340
19443
  }),
19341
19444
  onChange: handlePhoneChange,
19342
19445
  onBlur: handlePhoneBlur
19343
19446
  })))));
19344
19447
  };
19345
19448
 
19346
- var styles$f = {"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"};
19449
+ var styles$k = {"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"};
19347
19450
 
19348
19451
  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'];
19349
19452
 
19350
- const useColorKeyboardNavigation = selectedColor => {
19453
+ // The swatch grid is rendered 5 columns wide (see color-overlay.module.scss).
19454
+ const COLUMNS = 5;
19455
+ // Sentinel "index" for the optional full-width custom-color button that sits in
19456
+ // its own row below the swatch grid. It only joins the navigation cycle when the
19457
+ // button is rendered (allowCustomColor).
19458
+ const CUSTOM_COLOR_INDEX = SEQUENTIAL_COLORS.length;
19459
+ const useColorKeyboardNavigation = (selectedColor, allowCustomColor = false) => {
19351
19460
  const [selectedColorIndex, setSelectedColorIndex] = useState(null);
19461
+ // Remember the column the grid was left from so ArrowUp out of the
19462
+ // full-width custom button returns to roughly the same swatch.
19463
+ const gridColumnRef = useRef(0);
19352
19464
  const amountOfColors = SEQUENTIAL_COLORS.length;
19465
+ const lastColorIndex = amountOfColors - 1;
19466
+ const lastRowStart = amountOfColors - COLUMNS;
19353
19467
  const handleArrowNavigation = event => {
19354
19468
  const keyPressed = event.key;
19469
+ event.preventDefault();
19355
19470
  const currentIndex = selectedColorIndex !== null ? selectedColorIndex : SEQUENTIAL_COLORS.findIndex(color => color === selectedColor);
19471
+ // Navigation while the custom-color button holds the virtual focus. The
19472
+ // button is its own full-width row, so left/right do nothing; up returns
19473
+ // to the grid and Tab/down continues the cycle back to the top.
19474
+ if (currentIndex === CUSTOM_COLOR_INDEX) {
19475
+ switch (keyPressed) {
19476
+ case 'ArrowUp':
19477
+ setSelectedColorIndex(lastRowStart + gridColumnRef.current);
19478
+ break;
19479
+ case 'ArrowDown':
19480
+ case 'Tab':
19481
+ setSelectedColorIndex(0);
19482
+ break;
19483
+ }
19484
+ return;
19485
+ }
19486
+ const column = (currentIndex % COLUMNS + COLUMNS) % COLUMNS;
19487
+ const isOnLastRow = currentIndex >= lastRowStart;
19488
+ // Step onto the custom button instead of wrapping, keeping the column we
19489
+ // came from so ArrowUp can take us back.
19490
+ const enterCustomButton = () => {
19491
+ gridColumnRef.current = column;
19492
+ setSelectedColorIndex(CUSTOM_COLOR_INDEX);
19493
+ };
19356
19494
  switch (keyPressed) {
19357
19495
  case 'ArrowRight':
19496
+ setSelectedColorIndex((currentIndex + 1) % amountOfColors);
19497
+ break;
19358
19498
  case 'Tab':
19359
- const nextIndex = (currentIndex + 1) % amountOfColors;
19360
- setSelectedColorIndex(nextIndex);
19499
+ if (currentIndex === lastColorIndex && allowCustomColor) {
19500
+ enterCustomButton();
19501
+ } else {
19502
+ setSelectedColorIndex((currentIndex + 1) % amountOfColors);
19503
+ }
19361
19504
  break;
19362
19505
  case 'ArrowLeft':
19363
- const prevIndex = (currentIndex - 1 + amountOfColors) % amountOfColors;
19364
- setSelectedColorIndex(prevIndex);
19506
+ setSelectedColorIndex((currentIndex - 1 + amountOfColors) % amountOfColors);
19365
19507
  break;
19366
19508
  case 'ArrowDown':
19367
- const downIndex = (currentIndex + 5) % amountOfColors;
19368
- setSelectedColorIndex(downIndex);
19509
+ if (isOnLastRow && allowCustomColor) {
19510
+ enterCustomButton();
19511
+ } else {
19512
+ setSelectedColorIndex((currentIndex + COLUMNS) % amountOfColors);
19513
+ }
19369
19514
  break;
19370
19515
  case 'ArrowUp':
19371
- const upIndex = (currentIndex - 5 + amountOfColors) % amountOfColors;
19372
- setSelectedColorIndex(upIndex);
19516
+ setSelectedColorIndex((currentIndex - COLUMNS + amountOfColors) % amountOfColors);
19373
19517
  break;
19374
19518
  }
19375
- event.preventDefault();
19376
19519
  };
19377
19520
  useKeyPress(['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Tab'], handleArrowNavigation);
19378
19521
  return {
@@ -19445,9 +19588,13 @@ const OverlayContent = ({
19445
19588
  onClose,
19446
19589
  triggerRef,
19447
19590
  selectedColor,
19448
- onSelect
19591
+ onSelect,
19592
+ onCustomColor,
19593
+ allowCustomColor
19449
19594
  }) => {
19595
+ const translate = useTranslation('ColorField');
19450
19596
  const overlayRef = useRef(null);
19597
+ const customButtonRef = useRef(null);
19451
19598
  const [position, setPosition] = useState(null);
19452
19599
  // Measure the overlay once it has rendered and position it within the
19453
19600
  // viewport, falling back through bottom/top and left/right placements.
@@ -19479,20 +19626,41 @@ const OverlayContent = ({
19479
19626
  const {
19480
19627
  selectedColorIndex,
19481
19628
  setSelectedColorIndex
19482
- } = useColorKeyboardNavigation(selectedColor || '');
19629
+ } = useColorKeyboardNavigation(selectedColor || '', allowCustomColor);
19483
19630
  useOnClickOutside(overlayRef, onClose);
19631
+ const isCustomColorFocused = selectedColorIndex === CUSTOM_COLOR_INDEX;
19632
+ // Move real DOM focus to the custom button when keyboard navigation lands on
19633
+ // it so the Button renders its own focus state, and release focus when
19634
+ // navigation moves back into the swatch grid.
19635
+ useEffect(() => {
19636
+ if (isCustomColorFocused) {
19637
+ var _customButtonRef$curr;
19638
+ (_customButtonRef$curr = customButtonRef.current) == null || _customButtonRef$curr.focus();
19639
+ } else if (document.activeElement === customButtonRef.current) {
19640
+ var _customButtonRef$curr2;
19641
+ (_customButtonRef$curr2 = customButtonRef.current) == null || _customButtonRef$curr2.blur();
19642
+ }
19643
+ }, [isCustomColorFocused]);
19484
19644
  const selectedColorByIndex = selectedColorIndex !== null ? SEQUENTIAL_COLORS[selectedColorIndex] : undefined;
19485
- const handleEnterPress = useCallback(() => {
19645
+ const handleEnterPress = useCallback(event => {
19646
+ if (isCustomColorFocused) {
19647
+ // The button holds real focus, so the browser would also fire
19648
+ // its native Enter activation — prevent that so onCustomColor
19649
+ // runs exactly once.
19650
+ event.preventDefault();
19651
+ onCustomColor();
19652
+ return;
19653
+ }
19486
19654
  if (selectedColorByIndex) {
19487
19655
  onSelect(selectedColorByIndex);
19488
19656
  }
19489
- }, [selectedColorByIndex, onSelect]);
19657
+ }, [isCustomColorFocused, selectedColorByIndex, onSelect, onCustomColor]);
19490
19658
  useKeyPress(['Escape'], onClose);
19491
19659
  useKeyPress(['Enter'], handleEnterPress);
19492
19660
  return React__default.createElement("div", {
19493
19661
  style: overlayStyle,
19494
19662
  ref: overlayRef,
19495
- className: styles$f['color-overlay'],
19663
+ className: styles$k['color-overlay'],
19496
19664
  role: "dialog"
19497
19665
  }, SEQUENTIAL_COLORS.map((color, index) => React__default.createElement(ColorDisplay, {
19498
19666
  key: color,
@@ -19501,7 +19669,13 @@ const OverlayContent = ({
19501
19669
  isFocused: index === selectedColorIndex,
19502
19670
  onClick: () => onSelect(color),
19503
19671
  onHover: () => setSelectedColorIndex(null)
19504
- })));
19672
+ })), allowCustomColor && React__default.createElement("div", {
19673
+ className: styles$k['color-overlay__custom-color']
19674
+ }, React__default.createElement(Button, {
19675
+ ref: customButtonRef,
19676
+ size: "full-width",
19677
+ onClick: onCustomColor
19678
+ }, translate('customColorButtonLabel'))));
19505
19679
  };
19506
19680
  const ColorDisplay = ({
19507
19681
  color,
@@ -19510,12 +19684,12 @@ const ColorDisplay = ({
19510
19684
  onClick,
19511
19685
  onHover
19512
19686
  }) => React__default.createElement("button", {
19513
- className: styles$f['color-overlay__color-display-container'],
19687
+ className: styles$k['color-overlay__color-display-container'],
19514
19688
  onClick: () => onClick(color)
19515
19689
  }, React__default.createElement("div", {
19516
- className: classnames(styles$f['color-overlay__color-display-circle'], {
19517
- [styles$f['color-overlay__color-display-circle--selected']]: isSelected,
19518
- [styles$f['color-overlay__color-display-circle--focused']]: isFocused
19690
+ className: classnames(styles$k['color-overlay__color-display-circle'], {
19691
+ [styles$k['color-overlay__color-display-circle--selected']]: isSelected,
19692
+ [styles$k['color-overlay__color-display-circle--focused']]: isFocused
19519
19693
  }),
19520
19694
  onMouseEnter: onHover,
19521
19695
  style: {
@@ -19523,19 +19697,150 @@ const ColorDisplay = ({
19523
19697
  }
19524
19698
  }));
19525
19699
 
19526
- var styles$e = {"color-swatch":"_UUuiJ"};
19700
+ var styles$j = {"color-swatch":"_UUuiJ"};
19527
19701
 
19528
19702
  const ColorSwatch = ({
19529
19703
  color
19530
19704
  }) => {
19531
19705
  return React__default.createElement("div", {
19532
- className: styles$e['color-swatch'],
19706
+ className: styles$j['color-swatch'],
19533
19707
  style: {
19534
19708
  backgroundColor: color
19535
19709
  }
19536
19710
  });
19537
19711
  };
19538
19712
 
19713
+ // This file is automatically generated by 'scripts/tokens/build-colors.sh'
19714
+ const SEQUENTIAL_COLOR_CODES = {
19715
+ light: {
19716
+ 'seq-1': '#00b5d8',
19717
+ 'seq-2': '#f9922b',
19718
+ 'seq-3': '#28cc6d',
19719
+ 'seq-4': '#d83f87',
19720
+ 'seq-5': '#4359ce',
19721
+ 'seq-6': '#ff6f61',
19722
+ 'seq-7': '#35e5c6',
19723
+ 'seq-8': '#a966e7',
19724
+ 'seq-9': '#905642',
19725
+ 'seq-10': '#ffb300',
19726
+ 'seq-11': '#708238',
19727
+ 'seq-12': '#4fc3f7',
19728
+ 'seq-13': '#e94057',
19729
+ 'seq-14': '#00a896',
19730
+ 'seq-15': '#6a4c93',
19731
+ 'seq-16': '#a3cb38',
19732
+ 'seq-17': '#546e7a',
19733
+ 'seq-18': '#fc9999',
19734
+ 'seq-19': '#2f80ed',
19735
+ 'seq-20': '#be3434'
19736
+ },
19737
+ dark: {
19738
+ 'seq-1': '#28d2f3',
19739
+ 'seq-2': '#f9ad61',
19740
+ 'seq-3': '#31e17b',
19741
+ 'seq-4': '#ef5ca1',
19742
+ 'seq-5': '#7288ff',
19743
+ 'seq-6': '#ff867a',
19744
+ 'seq-7': '#43f2d3',
19745
+ 'seq-8': '#cb93ff',
19746
+ 'seq-9': '#b66d54',
19747
+ 'seq-10': '#ffc437',
19748
+ 'seq-11': '#8a9c52',
19749
+ 'seq-12': '#8adbff',
19750
+ 'seq-13': '#fa5c71',
19751
+ 'seq-14': '#15c7b4',
19752
+ 'seq-15': '#a978ec',
19753
+ 'seq-16': '#aed83e',
19754
+ 'seq-17': '#82adc0',
19755
+ 'seq-18': '#ffa9a9',
19756
+ 'seq-19': '#4594ff',
19757
+ 'seq-20': '#e45555'
19758
+ }
19759
+ };
19760
+
19761
+ const isSeqToken = value => SEQUENTIAL_COLORS.includes(value.trim());
19762
+ const normalizeHex = value => value.trim().toLowerCase();
19763
+ /**
19764
+ * Whether a value is a 6-digit hex color, which is the only format the native
19765
+ * color picker accepts.
19766
+ */
19767
+ const isHexColor = value => !!value && /^#[0-9a-f]{6}$/i.test(value);
19768
+ /**
19769
+ * Resolves a stored field value to the sequential color token it represents.
19770
+ * Accepts both a token name directly (e.g. `seq-1`) and a hex color string so
19771
+ * that fields migrated from hex storage continue to resolve correctly.
19772
+ */
19773
+ const findSeqToken = value => {
19774
+ if (!value) return undefined;
19775
+ if (isSeqToken(value.trim())) return value.trim();
19776
+ return findSeqTokenByHex(value);
19777
+ };
19778
+ const findSeqTokenByHex = value => {
19779
+ if (!value) {
19780
+ return undefined;
19781
+ }
19782
+ const target = normalizeHex(value);
19783
+ return SEQUENTIAL_COLORS.find(token => normalizeHex(SEQUENTIAL_COLOR_CODES.light[token]) === target || normalizeHex(SEQUENTIAL_COLOR_CODES.dark[token]) === target);
19784
+ };
19785
+
19786
+ var styles$i = {"custom-color-picker":"_OHgPk"};
19787
+
19788
+ /**
19789
+ * A visually hidden native color input. It is kept mounted on the field (not
19790
+ * inside the swatch overlay) so the browser's picker survives the overlay
19791
+ * closing, and it is opened imperatively via the `open` handle.
19792
+ */
19793
+ const CustomColorPicker = forwardRef(({
19794
+ color,
19795
+ onSelect
19796
+ }, ref) => {
19797
+ const inputRef = useRef(null);
19798
+ // The native color input only accepts a 6-digit hex; fall back to black
19799
+ // for any missing or non-hex value.
19800
+ const safeColor = isHexColor(color) ? color : '#000000';
19801
+ // Keep the latest color/callback in refs so the imperative handle and
19802
+ // the native listener stay stable (subscribed once) yet current.
19803
+ const safeColorRef = useRef(safeColor);
19804
+ safeColorRef.current = safeColor;
19805
+ const onSelectRef = useRef(onSelect);
19806
+ onSelectRef.current = onSelect;
19807
+ // React's `onChange` on a color input maps to the native `input` event,
19808
+ // which fires continuously while the user drags. We only want the
19809
+ // committed value, so we listen for the native `change` event (fired
19810
+ // once when the picker closes) instead.
19811
+ useEffect(() => {
19812
+ const picker = inputRef.current;
19813
+ if (!picker) {
19814
+ return;
19815
+ }
19816
+ const handleCommit = event => {
19817
+ onSelectRef.current(event.target.value);
19818
+ };
19819
+ picker.addEventListener('change', handleCommit);
19820
+ return () => picker.removeEventListener('change', handleCommit);
19821
+ }, []);
19822
+ useImperativeHandle(ref, () => ({
19823
+ open: () => {
19824
+ const picker = inputRef.current;
19825
+ if (!picker) {
19826
+ return;
19827
+ }
19828
+ picker.value = safeColorRef.current;
19829
+ picker.click();
19830
+ }
19831
+ }), []);
19832
+ return React__default.createElement("input", {
19833
+ ref: inputRef,
19834
+ type: "color",
19835
+ "aria-hidden": "true",
19836
+ tabIndex: -1,
19837
+ className: styles$i['custom-color-picker'],
19838
+ defaultValue: safeColor
19839
+ });
19840
+ });
19841
+
19842
+ var styles$h = {"color-field":"_KJawn"};
19843
+
19539
19844
  const ColorFieldElement = (props, ref) => {
19540
19845
  const {
19541
19846
  inputProps,
@@ -19544,15 +19849,36 @@ const ColorFieldElement = (props, ref) => {
19544
19849
  ref
19545
19850
  }));
19546
19851
  const triggerRef = useRef(null);
19852
+ const customPickerRef = useRef(null);
19547
19853
  const [isOpen, setIsOpen] = useState(false);
19548
- const colorKeys = Object.keys(COLORS);
19854
+ // The stored value is the light-theme hex of a sequential color. Resolve it
19855
+ // back to its token so the swatch can use the theme-aware CSS variable and
19856
+ // the overlay can keep the matching color highlighted.
19857
+ const selectedToken = findSeqToken(inputProps.value);
19549
19858
  const getCurrentColor = () => {
19550
- if (inputProps.value && colorKeys.includes(inputProps.value)) {
19551
- return COLORS[inputProps.value];
19859
+ if (selectedToken) {
19860
+ return COLORS[selectedToken];
19552
19861
  }
19553
19862
  return inputProps.value || 'transparent';
19554
19863
  };
19555
- return React__default.createElement(Fragment, null, React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
19864
+ const setColor = color => {
19865
+ inputProps.onChange({
19866
+ target: {
19867
+ value: color
19868
+ }
19869
+ });
19870
+ };
19871
+ // Close the swatch overlay and open the native picker. The picker lives on
19872
+ // the field (not the overlay), so it stays open after the overlay unmounts
19873
+ // and dismisses itself only when the user picks or clicks away.
19874
+ const openCustomColorPicker = () => {
19875
+ var _customPickerRef$curr;
19876
+ setIsOpen(false);
19877
+ (_customPickerRef$curr = customPickerRef.current) == null || _customPickerRef$curr.open();
19878
+ };
19879
+ return React__default.createElement(Fragment, null, React__default.createElement("div", {
19880
+ className: styles$h['color-field']
19881
+ }, React__default.createElement(Field, _extends({}, fieldProps), React__default.createElement(AffixContainer, {
19556
19882
  prefix: React__default.createElement(ColorSwatch, {
19557
19883
  color: getCurrentColor()
19558
19884
  }),
@@ -19574,18 +19900,20 @@ const ColorFieldElement = (props, ref) => {
19574
19900
  setIsOpen(true);
19575
19901
  }
19576
19902
  }
19577
- })))), isOpen && React__default.createElement(ColorsOverlay, {
19903
+ })))), React__default.createElement(CustomColorPicker, {
19904
+ ref: customPickerRef,
19905
+ color: selectedToken ? SEQUENTIAL_COLOR_CODES.light[selectedToken] : inputProps.value,
19906
+ onSelect: setColor
19907
+ })), isOpen && React__default.createElement(ColorsOverlay, {
19578
19908
  onClose: () => setIsOpen(false),
19579
19909
  triggerRef: triggerRef,
19580
- selectedColor: inputProps.value,
19910
+ selectedColor: selectedToken,
19581
19911
  onSelect: color => {
19582
- inputProps.onChange({
19583
- target: {
19584
- value: color
19585
- }
19586
- });
19912
+ setColor(color);
19587
19913
  setIsOpen(false);
19588
- }
19914
+ },
19915
+ onCustomColor: openCustomColorPicker,
19916
+ allowCustomColor: props.allowCustomColor
19589
19917
  }));
19590
19918
  };
19591
19919
  const ColorField = forwardRef(ColorFieldElement);
@@ -19645,9 +19973,9 @@ const lastOfMonth = () => {
19645
19973
 
19646
19974
  const isValidPhoneNumber = value => !value || isValidPhoneNumber$1(value);
19647
19975
 
19648
- var styles$d = {"avatar":"_V1U8v","avatar__container":"_peAaI","avatar--small":"_9g-tn","avatar__badge":"_uViot","avatar--medium":"_vNXJW","avatar--large":"_9ZKAB","avatar--extra-large":"_uv14Y"};
19976
+ var styles$g = {"avatar":"_V1U8v","avatar__container":"_peAaI","avatar--small":"_9g-tn","avatar__badge":"_uViot","avatar--medium":"_vNXJW","avatar--large":"_9ZKAB","avatar--extra-large":"_uv14Y"};
19649
19977
 
19650
- var styles$c = {"avatar-image":"_iDN1j"};
19978
+ var styles$f = {"avatar-image":"_iDN1j"};
19651
19979
 
19652
19980
  const AvatarImage = ({
19653
19981
  url,
@@ -19667,7 +19995,7 @@ const AvatarImage = ({
19667
19995
  });
19668
19996
  }
19669
19997
  return React__default.createElement("div", {
19670
- className: styles$c['avatar-image']
19998
+ className: styles$f['avatar-image']
19671
19999
  }, React__default.createElement(IconUser, {
19672
20000
  size: "flexible",
19673
20001
  color: color,
@@ -19811,14 +20139,14 @@ const Avatar = ({
19811
20139
  // If passing an url we are defaulting to a lighter grey while the image loads
19812
20140
  const backgroundColor = url ? COLORS['surface-container-highest'] : getColor(_color);
19813
20141
  return React__default.createElement("div", {
19814
- className: classnames(styles$d['avatar__container']),
20142
+ className: classnames(styles$g['avatar__container']),
19815
20143
  ref: elementRef
19816
20144
  }, React__default.createElement("div", {
19817
- className: classnames(styles$d['avatar'], {
19818
- [styles$d['avatar--small']]: _size === 'small',
19819
- [styles$d['avatar--medium']]: _size === 'medium',
19820
- [styles$d['avatar--large']]: _size === 'large',
19821
- [styles$d['avatar--extra-large']]: _size === 'extra-large'
20145
+ className: classnames(styles$g['avatar'], {
20146
+ [styles$g['avatar--small']]: _size === 'small',
20147
+ [styles$g['avatar--medium']]: _size === 'medium',
20148
+ [styles$g['avatar--large']]: _size === 'large',
20149
+ [styles$g['avatar--extra-large']]: _size === 'extra-large'
19822
20150
  }),
19823
20151
  style: {
19824
20152
  backgroundColor: children || url && !showIconInsteadOfImage ? backgroundColor : defaultProfilePictureColors.backgroundColor
@@ -19830,7 +20158,7 @@ const Avatar = ({
19830
20158
  alt: alt,
19831
20159
  onImageFallbackError: () => setShowIconInsteadOfImage(true)
19832
20160
  }), badge && _size !== 'small' && React__default.createElement("div", {
19833
- className: styles$d['avatar__badge']
20161
+ className: styles$g['avatar__badge']
19834
20162
  }, badge)));
19835
20163
  };
19836
20164
 
@@ -19845,7 +20173,7 @@ const CHIP_THEME = {
19845
20173
  AI: 'ai'
19846
20174
  };
19847
20175
 
19848
- var styles$b = {"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"};
20176
+ var styles$e = {"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"};
19849
20177
 
19850
20178
  const Chip = ({
19851
20179
  children,
@@ -19864,34 +20192,24 @@ const Chip = ({
19864
20192
  });
19865
20193
  return React__default.createElement("div", {
19866
20194
  "data-testid": testId,
19867
- className: classnames(styles$b['chip'], {
19868
- [styles$b['chip--marketing']]: _theme === CHIP_THEME.MARKETING,
19869
- [styles$b['chip--success']]: _theme === CHIP_THEME.SUCCESS,
19870
- [styles$b['chip--upsell']]: _theme === CHIP_THEME.UPSELL,
19871
- [styles$b['chip--warning']]: _theme === CHIP_THEME.WARNING,
19872
- [styles$b['chip--info']]: _theme === CHIP_THEME.INFO,
19873
- [styles$b['chip--danger']]: _theme === CHIP_THEME.DANGER,
19874
- [styles$b['chip--ai']]: _theme === CHIP_THEME.AI
20195
+ className: classnames(styles$e['chip'], {
20196
+ [styles$e['chip--marketing']]: _theme === CHIP_THEME.MARKETING,
20197
+ [styles$e['chip--success']]: _theme === CHIP_THEME.SUCCESS,
20198
+ [styles$e['chip--upsell']]: _theme === CHIP_THEME.UPSELL,
20199
+ [styles$e['chip--warning']]: _theme === CHIP_THEME.WARNING,
20200
+ [styles$e['chip--info']]: _theme === CHIP_THEME.INFO,
20201
+ [styles$e['chip--danger']]: _theme === CHIP_THEME.DANGER,
20202
+ [styles$e['chip--ai']]: _theme === CHIP_THEME.AI
19875
20203
  })
19876
20204
  }, React__default.createElement("div", {
19877
- className: styles$b['chip__children']
20205
+ className: styles$e['chip__children']
19878
20206
  }, _theme === CHIP_THEME.AI && !hasIcon && React__default.createElement(IconSparkle, {
19879
20207
  size: "small",
19880
20208
  variant: "solid"
19881
20209
  }), formattedChildren));
19882
20210
  };
19883
- const updateIconSize = child => {
19884
- var _child$type$displayNa, _child$type2;
19885
- const isIcon = (_child$type$displayNa = (_child$type2 = child.type) == null || (_child$type2 = _child$type2.displayName) == null ? void 0 : _child$type2.startsWith('Icon')) != null ? _child$type$displayNa : false;
19886
- if (!isIcon) {
19887
- return child;
19888
- }
19889
- return React__default.cloneElement(child, _extends({}, child.props, {
19890
- size: 'small'
19891
- }));
19892
- };
19893
20211
 
19894
- var styles$a = {"pill":"_vOTWZ","pill--default":"_j2h8A","pill--success":"_lFih-","pill--danger":"_sLhtK","pill--warning":"_DKrCl","pill--info":"_8TTGV","pill--upsell":"_0-TG8","pill--alphabetical":"_4M-yZ"};
20212
+ var styles$d = {"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"};
19895
20213
 
19896
20214
  const PILL_THEME = {
19897
20215
  INFO: 'info',
@@ -19911,19 +20229,27 @@ const PillElement = (_ref, forwardedRef) => {
19911
20229
  } = _ref,
19912
20230
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$aZ);
19913
20231
  const isAlphabetical = typeof children === 'object' || typeof children === 'string' && isNaN(Number(children));
20232
+ const formattedChildren = React__default.Children.map(children, child => {
20233
+ if (React__default.isValidElement(child)) {
20234
+ return updateIconSize(child);
20235
+ }
20236
+ return child;
20237
+ });
19914
20238
  return React__default.createElement("div", _extends({
19915
20239
  "data-testid": testId,
19916
20240
  ref: forwardedRef,
19917
- className: classnames(styles$a['pill'], {
19918
- [styles$a['pill--default']]: theme === PILL_THEME.DEFAULT,
19919
- [styles$a['pill--warning']]: theme === PILL_THEME.WARNING,
19920
- [styles$a['pill--success']]: theme === PILL_THEME.SUCCESS,
19921
- [styles$a['pill--danger']]: theme === PILL_THEME.DANGER,
19922
- [styles$a['pill--info']]: theme === PILL_THEME.INFO,
19923
- [styles$a['pill--upsell']]: theme === PILL_THEME.UPSELL,
19924
- [styles$a['pill--alphabetical']]: isAlphabetical
20241
+ className: classnames(styles$d['pill'], {
20242
+ [styles$d['pill--default']]: theme === PILL_THEME.DEFAULT,
20243
+ [styles$d['pill--warning']]: theme === PILL_THEME.WARNING,
20244
+ [styles$d['pill--success']]: theme === PILL_THEME.SUCCESS,
20245
+ [styles$d['pill--danger']]: theme === PILL_THEME.DANGER,
20246
+ [styles$d['pill--info']]: theme === PILL_THEME.INFO,
20247
+ [styles$d['pill--upsell']]: theme === PILL_THEME.UPSELL,
20248
+ [styles$d['pill--alphabetical']]: isAlphabetical
19925
20249
  })
19926
- }, rest), children);
20250
+ }, rest), React__default.createElement("div", {
20251
+ className: styles$d['pill__children']
20252
+ }, formattedChildren));
19927
20253
  };
19928
20254
  const Pill = forwardRef(PillElement);
19929
20255
 
@@ -64308,7 +64634,7 @@ const SevenShiftsLogo = () => {
64308
64634
  }));
64309
64635
  };
64310
64636
 
64311
- var styles$9 = {"primary-nav-header":"_6bVLs","primary-nav-header--collapsed":"_AYwpG","primary-nav-header--with-shadow":"_IpBk1","primary-nav-header__toggle":"_lK6PV"};
64637
+ var styles$c = {"primary-nav-header":"_6bVLs","primary-nav-header--collapsed":"_AYwpG","primary-nav-header--with-shadow":"_IpBk1","primary-nav-header__toggle":"_lK6PV"};
64312
64638
 
64313
64639
  const SevenShiftsShortLogo = () => {
64314
64640
  return React__default.createElement("svg", {
@@ -64418,16 +64744,16 @@ const PrimaryNavHeader = ({
64418
64744
  const CollapsedLogo = () => shortLogo || React__default.createElement(SevenShiftsShortLogo, null);
64419
64745
  const ExpandedLogo = () => longLogo || React__default.createElement(SevenShiftsLogo, null);
64420
64746
  return React__default.createElement("div", {
64421
- className: classnames(styles$9['primary-nav-header'], {
64422
- [styles$9['primary-nav-header--collapsed']]: !isOpen,
64423
- [styles$9['primary-nav-header--with-shadow']]: isScrolled
64747
+ className: classnames(styles$c['primary-nav-header'], {
64748
+ [styles$c['primary-nav-header--collapsed']]: !isOpen,
64749
+ [styles$c['primary-nav-header--with-shadow']]: isScrolled
64424
64750
  })
64425
64751
  }, React__default.createElement(Inline, {
64426
64752
  justifyContent: "space-between",
64427
64753
  alignItems: "center"
64428
64754
  }, isOpen ? React__default.createElement(ExpandedLogo, null) : React__default.createElement(CollapsedLogo, null), isOpen && React__default.createElement("button", {
64429
64755
  type: "button",
64430
- className: styles$9['primary-nav-header__toggle'],
64756
+ className: styles$c['primary-nav-header__toggle'],
64431
64757
  "aria-label": isNavExpanded ? 'Collapse navigation' : 'Expand navigation',
64432
64758
  "aria-expanded": isNavExpanded,
64433
64759
  onClick: () => {
@@ -64444,7 +64770,7 @@ const PrimaryNavHeader = ({
64444
64770
  }, isNavExpanded ? React__default.createElement(IconChevronLeft, null) : React__default.createElement(IconChevronRight, null))));
64445
64771
  };
64446
64772
 
64447
- var styles$8 = {"primary-nav":"_Smo46","primary-nav--dark":"_-6GAa","primary-nav--collapsed":"_w-QAC","primary-nav__content":"_UCA59","primary-nav--expanded":"_B7Nse"};
64773
+ var styles$b = {"primary-nav":"_Smo46","primary-nav--dark":"_-6GAa","primary-nav--collapsed":"_w-QAC","primary-nav__content":"_UCA59","primary-nav--expanded":"_B7Nse"};
64448
64774
 
64449
64775
  const PrimaryNav = ({
64450
64776
  children,
@@ -64485,10 +64811,10 @@ const PrimaryNavContent = ({
64485
64811
  } = useProviderConfig();
64486
64812
  return React__default.createElement("nav", {
64487
64813
  "aria-label": _ariaLabel,
64488
- className: classnames(styles$8['primary-nav'], {
64489
- [styles$8['primary-nav--dark']]: theme === 'dark',
64490
- [styles$8['primary-nav--collapsed']]: !isOpen,
64491
- [styles$8['primary-nav--expanded']]: isOpen
64814
+ className: classnames(styles$b['primary-nav'], {
64815
+ [styles$b['primary-nav--dark']]: theme === 'dark',
64816
+ [styles$b['primary-nav--collapsed']]: !isOpen,
64817
+ [styles$b['primary-nav--expanded']]: isOpen
64492
64818
  }),
64493
64819
  onMouseEnter: () => setIsHoveringNav(true),
64494
64820
  onMouseLeave: () => setIsHoveringNav(false),
@@ -64517,13 +64843,13 @@ const PrimaryNavContent = ({
64517
64843
  longLogo: longLogo
64518
64844
  }), React__default.createElement("ul", {
64519
64845
  ref: contentRef,
64520
- className: styles$8['primary-nav__content']
64846
+ className: styles$b['primary-nav__content']
64521
64847
  }, children), footer);
64522
64848
  };
64523
64849
 
64524
- var styles$7 = {"primary-nav-item":"_mWULf","primary-nav-item__link":"_PiWFg","primary-nav-item__content":"_GkDWn","primary-nav-item__icon":"_3LYJx","primary-nav-item__label":"_oz5bt","primary-nav-item__label--hidden":"_MFqwx","primary-nav-item__small-badge":"_yCxLl","fade-in":"_aMyIG","primary-nav-item__sub-items":"_SFpch","primary-nav-item--active":"_zfy2L","primary-nav-item--active-subitem":"_els3B","primary-nav-item--has-active-sub-item":"_-RLI8"};
64850
+ var styles$a = {"primary-nav-item":"_mWULf","primary-nav-item__link":"_PiWFg","primary-nav-item__content":"_GkDWn","primary-nav-item__icon":"_3LYJx","primary-nav-item__label":"_oz5bt","primary-nav-item__label--hidden":"_MFqwx","primary-nav-item__small-badge":"_yCxLl","fade-in":"_aMyIG","primary-nav-item__sub-items":"_SFpch","primary-nav-item--active":"_zfy2L","primary-nav-item--active-subitem":"_els3B","primary-nav-item--has-active-sub-item":"_-RLI8"};
64525
64851
 
64526
- var styles$6 = {"primary-nav-item-badge__small":"_S2i4R","fade-in":"_D9NA6"};
64852
+ var styles$9 = {"primary-nav-item-badge__small":"_S2i4R","fade-in":"_D9NA6"};
64527
64853
 
64528
64854
  const PrimaryNavItemBadge = ({
64529
64855
  badge,
@@ -64537,7 +64863,7 @@ const PrimaryNavItemBadge = ({
64537
64863
  const isCounterBadge = typeof badge === 'number' || sumOfSubItemsBadges > 0;
64538
64864
  if (isCounterBadge && !isOpen) {
64539
64865
  return React__default.createElement("div", {
64540
- className: styles$6['primary-nav-item-badge__small']
64866
+ className: styles$9['primary-nav-item-badge__small']
64541
64867
  });
64542
64868
  }
64543
64869
  // When the nav is collapsed, we don't show badges. When it's expanded, we show badges for parent items only if they don't have an active sub-item, to avoid redundancy. For sub-items, we always show the badge if it exists.
@@ -64594,14 +64920,14 @@ const PrimaryNavItem = _ref => {
64594
64920
  return sum;
64595
64921
  }, 0);
64596
64922
  const innerContent = React__default.createElement("div", {
64597
- className: styles$7['primary-nav-item__content']
64923
+ className: styles$a['primary-nav-item__content']
64598
64924
  }, React__default.createElement("div", {
64599
- className: styles$7['primary-nav-item__icon'],
64925
+ className: styles$a['primary-nav-item__icon'],
64600
64926
  "aria-hidden": "true"
64601
64927
  }, updatedIcon), React__default.createElement("span", {
64602
64928
  ref: labelRef,
64603
- className: classnames(styles$7['primary-nav-item__label'], {
64604
- [styles$7['primary-nav-item__label--hidden']]: !isOpen
64929
+ className: classnames(styles$a['primary-nav-item__label'], {
64930
+ [styles$a['primary-nav-item__label--hidden']]: !isOpen
64605
64931
  }),
64606
64932
  title: isOpen && isTruncated ? label : undefined,
64607
64933
  onMouseEnter: handleLabelMouseEnter
@@ -64613,27 +64939,27 @@ const PrimaryNavItem = _ref => {
64613
64939
  }));
64614
64940
  const ariaCurrent = isActive ? 'page' : undefined;
64615
64941
  return React__default.createElement("li", {
64616
- className: classnames(styles$7['primary-nav-item'], {
64617
- [styles$7['primary-nav-item--active']]: isActive,
64618
- [styles$7['primary-nav-item--active-subitem']]: hasActiveSubItem,
64619
- [styles$7['primary-nav-item--has-active-sub-item']]: hasActiveSubItem
64942
+ className: classnames(styles$a['primary-nav-item'], {
64943
+ [styles$a['primary-nav-item--active']]: isActive,
64944
+ [styles$a['primary-nav-item--active-subitem']]: hasActiveSubItem,
64945
+ [styles$a['primary-nav-item--has-active-sub-item']]: hasActiveSubItem
64620
64946
  })
64621
64947
  }, href ? React__default.createElement(Link$1, _extends({
64622
- className: styles$7['primary-nav-item__link'],
64948
+ className: styles$a['primary-nav-item__link'],
64623
64949
  onClick: onClick,
64624
64950
  to: href,
64625
64951
  "aria-current": ariaCurrent
64626
64952
  }, dataProps), innerContent) : React__default.createElement("button", _extends({
64627
64953
  type: "button",
64628
- className: styles$7['primary-nav-item__link'],
64954
+ className: styles$a['primary-nav-item__link'],
64629
64955
  onClick: onClick,
64630
64956
  "aria-current": ariaCurrent
64631
64957
  }, dataProps), innerContent), hasSubItems && hasActiveSubItem && React__default.createElement("ul", {
64632
- className: styles$7['primary-nav-item__sub-items']
64958
+ className: styles$a['primary-nav-item__sub-items']
64633
64959
  }, children));
64634
64960
  };
64635
64961
 
64636
- var styles$5 = {"primary-nav-sub-item":"_kWT6L","primary-nav-sub-item__link":"_KXtsV","primary-nav-sub-item__label--hidden":"_nTZxa","primary-nav-sub-item__content":"_c3utS","primary-nav-sub-item__content--collapsed":"_3IImx","primary-nav-sub-item__content--paywalled":"_WwagZ","primary-nav-sub-item__icon":"_uDuDj","primary-nav-sub-item__label":"_Kg1TF","primary-nav-sub-item__circle":"_uMbkq","fade-in":"_eIHTO","primary-nav-sub-item--active":"_nkaWg"};
64962
+ var styles$8 = {"primary-nav-sub-item":"_kWT6L","primary-nav-sub-item__link":"_KXtsV","primary-nav-sub-item__label--hidden":"_nTZxa","primary-nav-sub-item__content":"_c3utS","primary-nav-sub-item__content--collapsed":"_3IImx","primary-nav-sub-item__content--paywalled":"_WwagZ","primary-nav-sub-item__icon":"_uDuDj","primary-nav-sub-item__label":"_Kg1TF","primary-nav-sub-item__circle":"_uMbkq","fade-in":"_eIHTO","primary-nav-sub-item--active":"_nkaWg"};
64637
64963
 
64638
64964
  const _excluded = ["children", "isActive", "badge", "onClick", "href", "isPaywalled"];
64639
64965
  const PrimaryNavSubItem = _ref => {
@@ -64660,58 +64986,58 @@ const PrimaryNavSubItem = _ref => {
64660
64986
  }
64661
64987
  };
64662
64988
  const innerContent = React__default.createElement("div", {
64663
- className: classnames(styles$5['primary-nav-sub-item__content'], {
64664
- [styles$5['primary-nav-sub-item__content--collapsed']]: !isOpen,
64665
- [styles$5['primary-nav-sub-item__content--paywalled']]: isPaywalled && isOpen
64989
+ className: classnames(styles$8['primary-nav-sub-item__content'], {
64990
+ [styles$8['primary-nav-sub-item__content--collapsed']]: !isOpen,
64991
+ [styles$8['primary-nav-sub-item__content--paywalled']]: isPaywalled && isOpen
64666
64992
  })
64667
64993
  }, !isOpen ? React__default.createElement(Fragment, null, React__default.createElement("div", {
64668
- className: styles$5['primary-nav-sub-item__circle'],
64994
+ className: styles$8['primary-nav-sub-item__circle'],
64669
64995
  "aria-hidden": "true"
64670
64996
  }), React__default.createElement("span", {
64671
- className: styles$5['primary-nav-sub-item__label--hidden']
64997
+ className: styles$8['primary-nav-sub-item__label--hidden']
64672
64998
  }, children)) : React__default.createElement(Fragment, null, isPaywalled && React__default.createElement("div", {
64673
- className: styles$5['primary-nav-sub-item__icon'],
64999
+ className: styles$8['primary-nav-sub-item__icon'],
64674
65000
  "aria-hidden": "true"
64675
65001
  }, React__default.createElement(IconAward, {
64676
65002
  size: "medium",
64677
65003
  color: COLORS['upsell-color']
64678
65004
  })), React__default.createElement("div", {
64679
65005
  ref: labelRef,
64680
- className: styles$5['primary-nav-sub-item__label'],
65006
+ className: styles$8['primary-nav-sub-item__label'],
64681
65007
  onMouseEnter: handleLabelMouseEnter,
64682
65008
  title: isTruncated ? children : undefined
64683
65009
  }, children)), !!badge && isOpen && React__default.createElement("div", {
64684
- className: styles$5['primary-nav-sub-item__badge']
65010
+ className: styles$8['primary-nav-sub-item__badge']
64685
65011
  }, typeof badge === 'number' ? React__default.createElement(Badge, null, badge > 99 ? '99+' : badge) : React__default.createElement(Chip, null, badge)));
64686
65012
  const ariaCurrent = isActive ? 'page' : undefined;
64687
65013
  return React__default.createElement("li", {
64688
- className: classnames(styles$5['primary-nav-sub-item'], {
64689
- [styles$5['primary-nav-sub-item--active']]: isActive
65014
+ className: classnames(styles$8['primary-nav-sub-item'], {
65015
+ [styles$8['primary-nav-sub-item--active']]: isActive
64690
65016
  })
64691
65017
  }, href ? React__default.createElement(Link$1, _extends({
64692
- className: styles$5['primary-nav-sub-item__link'],
65018
+ className: styles$8['primary-nav-sub-item__link'],
64693
65019
  onClick: onClick,
64694
65020
  to: href,
64695
65021
  "aria-current": ariaCurrent
64696
65022
  }, dataProps), innerContent) : React__default.createElement("button", _extends({
64697
65023
  type: "button",
64698
- className: styles$5['primary-nav-sub-item__link'],
65024
+ className: styles$8['primary-nav-sub-item__link'],
64699
65025
  onClick: onClick,
64700
65026
  "aria-current": ariaCurrent
64701
65027
  }, dataProps), innerContent));
64702
65028
  };
64703
65029
 
64704
- var styles$4 = {"primary-nav-divider":"_qN8Zl"};
65030
+ var styles$7 = {"primary-nav-divider":"_qN8Zl"};
64705
65031
 
64706
65032
  const PrimaryNavDivider = () => {
64707
65033
  return React__default.createElement("li", {
64708
65034
  role: "separator",
64709
65035
  "aria-orientation": "horizontal",
64710
- className: styles$4['primary-nav-divider']
65036
+ className: styles$7['primary-nav-divider']
64711
65037
  });
64712
65038
  };
64713
65039
 
64714
- var styles$3 = {"primary-nav-footer":"_9dbuu","primary-nav-footer--with-shadow":"_Bq3B4"};
65040
+ var styles$6 = {"primary-nav-footer":"_9dbuu","primary-nav-footer--with-shadow":"_Bq3B4"};
64715
65041
 
64716
65042
  const PrimaryNavFooter = ({
64717
65043
  children
@@ -64723,12 +65049,180 @@ const PrimaryNavFooter = ({
64723
65049
  hasScroll
64724
65050
  } = useScrollDetector(contentRef);
64725
65051
  return React__default.createElement("ul", {
64726
- className: classnames(styles$3['primary-nav-footer'], {
64727
- [styles$3['primary-nav-footer--with-shadow']]: hasScroll
65052
+ className: classnames(styles$6['primary-nav-footer'], {
65053
+ [styles$6['primary-nav-footer--with-shadow']]: hasScroll
64728
65054
  })
64729
65055
  }, children);
64730
65056
  };
64731
65057
 
65058
+ let tabsIdCounter = 0;
65059
+ const TabsContext = React__default.createContext(undefined);
65060
+ const useTabsContext = () => {
65061
+ const context = React__default.useContext(TabsContext);
65062
+ if (!context) {
65063
+ throw new Error('useTabsContext must be used within a <Tabs> component');
65064
+ }
65065
+ return context;
65066
+ };
65067
+ function TabsContextProvider({
65068
+ children,
65069
+ value,
65070
+ defaultValue,
65071
+ onValueChange
65072
+ }) {
65073
+ const [internalValue, setInternalValue] = React__default.useState(defaultValue != null ? defaultValue : '');
65074
+ const isControlled = value !== undefined;
65075
+ const selectedValue = isControlled ? value : internalValue;
65076
+ const handleValueChange = useCallback(newValue => {
65077
+ if (!isControlled) {
65078
+ setInternalValue(newValue);
65079
+ }
65080
+ onValueChange == null || onValueChange(newValue);
65081
+ }, [isControlled, onValueChange]);
65082
+ const [tabsId] = useState(() => `tabs-${tabsIdCounter++}`);
65083
+ const contextValue = useMemo(() => ({
65084
+ selectedValue,
65085
+ onValueChange: handleValueChange,
65086
+ tabsId
65087
+ }), [selectedValue, handleValueChange, tabsId]);
65088
+ return React__default.createElement(TabsContext.Provider, {
65089
+ value: contextValue
65090
+ }, children);
65091
+ }
65092
+
65093
+ const Tabs = ({
65094
+ children,
65095
+ value,
65096
+ defaultValue,
65097
+ onValueChange
65098
+ }) => {
65099
+ return React__default.createElement(TabsContextProvider, {
65100
+ value: value,
65101
+ defaultValue: defaultValue,
65102
+ onValueChange: onValueChange
65103
+ }, children);
65104
+ };
65105
+
65106
+ var styles$5 = {"tab-list":"_j3-Gu"};
65107
+
65108
+ const TabList = ({
65109
+ children,
65110
+ 'aria-label': ariaLabel
65111
+ }) => {
65112
+ return React__default.createElement("ul", {
65113
+ role: "tablist",
65114
+ "aria-label": ariaLabel,
65115
+ className: styles$5['tab-list']
65116
+ }, children);
65117
+ };
65118
+
65119
+ var styles$4 = {"tab":"_-BgMZ","tab--active":"_tZ-HE","tab--disabled":"_AyUHY","tab__label":"_WVws4","tab__suffix":"_nQB7q"};
65120
+
65121
+ const Tab = ({
65122
+ children,
65123
+ value,
65124
+ disabled: _disabled = false,
65125
+ suffix,
65126
+ testId
65127
+ }) => {
65128
+ const {
65129
+ selectedValue,
65130
+ onValueChange,
65131
+ tabsId
65132
+ } = useTabsContext();
65133
+ const isActive = selectedValue === value;
65134
+ const handleClick = () => {
65135
+ if (!_disabled) {
65136
+ onValueChange(value);
65137
+ }
65138
+ };
65139
+ const handleKeyDown = e => {
65140
+ const tablistEl = e.currentTarget.closest('[role="tablist"]');
65141
+ if (!tablistEl) return;
65142
+ const tabs = Array.from(tablistEl.querySelectorAll('[role="tab"]:not([disabled])'));
65143
+ const currentIndex = tabs.indexOf(e.currentTarget);
65144
+ const count = tabs.length;
65145
+ let nextIndex;
65146
+ switch (e.key) {
65147
+ case 'ArrowRight':
65148
+ nextIndex = (currentIndex + 1) % count;
65149
+ break;
65150
+ case 'ArrowLeft':
65151
+ nextIndex = (currentIndex - 1 + count) % count;
65152
+ break;
65153
+ case 'Home':
65154
+ nextIndex = 0;
65155
+ break;
65156
+ case 'End':
65157
+ nextIndex = count - 1;
65158
+ break;
65159
+ default:
65160
+ return;
65161
+ }
65162
+ e.preventDefault();
65163
+ const nextTab = tabs[nextIndex];
65164
+ nextTab.focus();
65165
+ const nextValue = nextTab.dataset.value;
65166
+ if (nextValue !== undefined) {
65167
+ onValueChange(nextValue);
65168
+ }
65169
+ };
65170
+ return React__default.createElement("li", {
65171
+ role: "presentation"
65172
+ }, React__default.createElement("button", {
65173
+ type: "button",
65174
+ role: "tab",
65175
+ id: `${tabsId}-tab-${value}`,
65176
+ "aria-controls": `${tabsId}-panel-${value}`,
65177
+ "aria-selected": isActive,
65178
+ disabled: _disabled,
65179
+ tabIndex: isActive ? 0 : -1,
65180
+ "data-value": value,
65181
+ className: classnames(styles$4['tab'], {
65182
+ [styles$4['tab--active']]: isActive,
65183
+ [styles$4['tab--disabled']]: _disabled
65184
+ }),
65185
+ onClick: handleClick,
65186
+ onKeyDown: handleKeyDown,
65187
+ "data-testid": testId
65188
+ }, React__default.createElement("span", {
65189
+ className: styles$4['tab__label'],
65190
+ "data-text": typeof children === 'string' ? children : undefined
65191
+ }, children), suffix && React__default.createElement("span", {
65192
+ className: styles$4['tab__suffix'],
65193
+ "aria-hidden": "true"
65194
+ }, suffix)));
65195
+ };
65196
+
65197
+ var styles$3 = {"tab-panel":"_GW3Wi","tab-panel--hidden":"_DVRRE"};
65198
+
65199
+ const TabPanel = ({
65200
+ children,
65201
+ value,
65202
+ forceMount: _forceMount = false,
65203
+ testId
65204
+ }) => {
65205
+ const {
65206
+ selectedValue,
65207
+ tabsId
65208
+ } = useTabsContext();
65209
+ const isActive = selectedValue === value;
65210
+ if (!_forceMount && !isActive) {
65211
+ return null;
65212
+ }
65213
+ return React__default.createElement("div", {
65214
+ role: "tabpanel",
65215
+ id: `${tabsId}-panel-${value}`,
65216
+ "aria-labelledby": `${tabsId}-tab-${value}`,
65217
+ tabIndex: 0,
65218
+ hidden: _forceMount && !isActive ? true : undefined,
65219
+ className: classnames(styles$3['tab-panel'], {
65220
+ [styles$3['tab-panel--hidden']]: _forceMount && !isActive
65221
+ }),
65222
+ "data-testid": testId
65223
+ }, children);
65224
+ };
65225
+
64732
65226
  const EMPTY_STATE_SIZE = {
64733
65227
  SMALL: 'small',
64734
65228
  MEDIUM: 'medium',
@@ -64932,5 +65426,5 @@ const EmptyState = props => {
64932
65426
  return emptyStateContainer;
64933
65427
  };
64934
65428
 
64935
- 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, 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, IconIslandTropical, IconItalic, IconLaptopSearch, IconLink, IconList, IconListOl, 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, Text, TextAreaField, TextField, TimeField, TimeRangeField, Toggle, ToolbarSelect, Tooltip, Underline, WeekField, ZINDEX, everyOtherWeekday, firstOfMonth, isValidPhoneNumber, lastOfMonth, nthWeekdayOfMonth, toast, useDataTableContext };
65429
+ 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, 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, IconIslandTropical, IconItalic, IconLaptopSearch, IconLink, IconList, IconListOl, 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 };
64936
65430
  //# sourceMappingURL=index.modern.mjs.map