@nulogy/components 10.2.10 → 10.2.12

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 (65) hide show
  1. package/dist/main.js +701 -1310
  2. package/dist/main.module.js +697 -1306
  3. package/dist/src/BrandedNavBar/MobileMenu.d.ts +1 -1
  4. package/dist/src/BrandedNavBar/isValidMenuItem.d.ts +1 -2
  5. package/dist/src/Branding/BrandingText.d.ts +5 -2
  6. package/dist/src/Branding/LettermarkLogo.d.ts +2 -2
  7. package/dist/src/Branding/WordmarkLogo.d.ts +3 -2
  8. package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +1 -6
  9. package/dist/src/Button/ControlIcon.d.ts +1 -1
  10. package/dist/src/ButtonGroup/ButtonGroup.d.ts +7 -5
  11. package/dist/src/Card/Card.d.ts +2 -3
  12. package/dist/src/Card/CardSet.d.ts +5 -3
  13. package/dist/src/Checkbox/Checkbox.d.ts +2 -1
  14. package/dist/src/Checkbox/CheckboxGroup.d.ts +3 -2
  15. package/dist/src/DatePicker/DatePickerHeader.d.ts +6 -6
  16. package/dist/src/DropdownMenu/DropdownItem.d.ts +2 -5
  17. package/dist/src/DropdownMenu/DropdownLink.d.ts +3 -5
  18. package/dist/src/DropdownMenu/DropdownMenu.d.ts +3 -3
  19. package/dist/src/FieldLabel/FieldLabel.d.ts +1 -10
  20. package/dist/src/Form/FormSection.d.ts +3 -3
  21. package/dist/src/Icon/Icon.d.ts +1 -1
  22. package/dist/src/Input/Suffix.d.ts +4 -11
  23. package/dist/src/List/List.d.ts +3 -5
  24. package/dist/src/List/ListItem.d.ts +4 -5
  25. package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +4 -4
  26. package/dist/src/NavBar/DesktopMenu.d.ts +5 -16
  27. package/dist/src/NavBar/MenuTrigger.d.ts +3 -21
  28. package/dist/src/NavBar/MobileMenu.d.ts +0 -15
  29. package/dist/src/NavBar/NavBar.d.ts +0 -23
  30. package/dist/src/NavBar/SubMenuTrigger.d.ts +0 -6
  31. package/dist/src/NavBarSearch/NavBarSearch.d.ts +0 -5
  32. package/dist/src/Overlay/Overlay.d.ts +7 -6
  33. package/dist/src/Pagination/NextButton.d.ts +1 -14
  34. package/dist/src/Pagination/Pagination.d.ts +1 -26
  35. package/dist/src/Pagination/PreviousButton.d.ts +1 -14
  36. package/dist/src/Popper/Popper.d.ts +2 -2
  37. package/dist/src/Radio/Radio.d.ts +1 -1
  38. package/dist/src/Radio/RadioGroup.d.ts +6 -16
  39. package/dist/src/RangeContainer/RangeContainer.d.ts +2 -1
  40. package/dist/src/Select/Select.d.ts +1 -33
  41. package/dist/src/Table/BaseTable.d.ts +1 -17
  42. package/dist/src/Table/SortingColumnHeader.d.ts +8 -23
  43. package/dist/src/Table/StatefulTable.d.ts +8 -8
  44. package/dist/src/Table/Table.d.ts +2 -22
  45. package/dist/src/Table/Table.types.d.ts +0 -27
  46. package/dist/src/Table/TableCell.d.ts +2 -2
  47. package/dist/src/Table/TableFoot.d.ts +0 -26
  48. package/dist/src/Tabs/Tab.d.ts +1 -1
  49. package/dist/src/Tabs/TabScrollIndicator.d.ts +3 -2
  50. package/dist/src/Toast/Toast.d.ts +1 -11
  51. package/dist/src/ToastContainer/ToastContainer.d.ts +1 -12
  52. package/dist/src/Toggle/Toggle.d.ts +1 -1
  53. package/dist/src/Toggle/ToggleButton.d.ts +1 -1
  54. package/dist/src/Tooltip/Tooltip.d.ts +1 -1
  55. package/dist/src/TruncatedText/MaybeTooltip.d.ts +1 -12
  56. package/dist/src/TruncatedText/TruncatedText.d.ts +1 -24
  57. package/dist/src/TruncatedText/TruncatedTextProps.d.ts +2 -1
  58. package/dist/src/Validation/InlineValidation.d.ts +2 -2
  59. package/dist/src/locales.const.d.ts +9 -9
  60. package/dist/src/utils/DetectOutsideClick.d.ts +1 -16
  61. package/dist/src/utils/PreventBodyElementScrolling.d.ts +1 -15
  62. package/dist/src/utils/ScrollIndicators.d.ts +0 -6
  63. package/dist/src/utils/localized-date-fns.d.ts +1 -1
  64. package/dist/src/utils/subset.d.ts +1 -0
  65. package/package.json +5 -8
@@ -19,9 +19,9 @@ import '@babel/runtime/helpers/toConsumableArray';
19
19
  import '@babel/runtime/helpers/objectWithoutProperties';
20
20
  import '@babel/runtime/helpers/taggedTemplateLiteral';
21
21
  import PropTypes from 'prop-types';
22
- import _objectWithoutPropertiesLoose$2 from '@babel/runtime/helpers/objectWithoutPropertiesLoose';
23
- import _inheritsLoose$2 from '@babel/runtime/helpers/inheritsLoose';
24
22
  import _assertThisInitialized$2 from '@babel/runtime/helpers/assertThisInitialized';
23
+ import _inheritsLoose$2 from '@babel/runtime/helpers/inheritsLoose';
24
+ import _objectWithoutPropertiesLoose$2 from '@babel/runtime/helpers/objectWithoutPropertiesLoose';
25
25
  import deepEqual from 'deep-equal';
26
26
  import createContext$1 from '@hypnosphi/create-react-context';
27
27
  import warning$1 from 'warning';
@@ -8311,210 +8311,6 @@ var AnimatedBox = styled(motion.div).withConfig({
8311
8311
  componentId: "sc-xda4ls-1"
8312
8312
  })(addStyledProps);
8313
8313
 
8314
- /**
8315
- * Do not edit directly
8316
- * Generated on Thu, 01 Dec 2022 21:44:24 GMT
8317
- */
8318
-
8319
- const color_base_black = "#011e38";
8320
- const color_base_black_blue = "#122b47";
8321
- const color_base_dark_blue = "#00438f";
8322
- const color_base_blue = "#216beb";
8323
- const color_base_light_blue = "#e1ebfa";
8324
- const color_base_dark_grey = "#434d59";
8325
- const color_base_mid_grey = "#6c7784";
8326
- const color_base_grey = "#c0c8d1";
8327
- const color_base_light_grey = "#e4e7eb";
8328
- const color_base_white_grey = "#f0f2f5";
8329
- const color_base_white = "#ffffff";
8330
- const color_base_green = "#008059";
8331
- const color_base_light_green = "#e9f7f2";
8332
- const color_base_red = "#cc1439";
8333
- const color_base_light_red = "#fae6ea";
8334
- const color_base_yellow = "#ffbb00";
8335
- const color_base_light_yellow = "#fcf5e3";
8336
- const color_base_categorical_1 = "#19c4e6";
8337
- const color_base_categorical_2 = "#8033cc";
8338
- const color_base_categorical_3 = "#e372d0";
8339
- const color_base_categorical_4 = "#55ddb0";
8340
- const color_base_categorical_5 = "#ee5513";
8341
- const color_base_categorical_6 = "#d3d322";
8342
- const font_family_base = "'IBM Plex Sans', sans-serif";
8343
- const font_family_mono = "'IBM Plex Mono', monospace";
8344
- const font_family_sc = "'Noto Sans SC', sans-serif";
8345
- const line_height_base = "1.5";
8346
- const line_height_small_text_base = "1.71428571";
8347
- const line_height_small_text_compressed = "1.14285714";
8348
- const line_height_smaller_text = "1.33333333";
8349
- const line_height_heading_1 = "1.25";
8350
- const line_height_heading_2 = "1.33";
8351
- const line_height_heading_3 = "1.33";
8352
- const line_height_heading_4 = "1.33";
8353
- const radius_border_small = "2px";
8354
- const radius_border_medium = "4px";
8355
- const radius_border_circle = "50%";
8356
- const shadow_box_small = "0px 1px 2px 0px rgba(1, 30, 56, 0.25)";
8357
- const shadow_box_medium = "0px 3px 8px 0px rgba(1, 30, 56, 0.18)";
8358
- const shadow_box_large = "0px 6px 12px 2px rgba(1, 30, 56, 0.15)";
8359
- const shadow_focus = "0px 0px 5px 0px rgba(33, 107, 235, .9)";
8360
- const shadow_error = "0px 0px 5px 0px rgba(204, 20, 57, .9)";
8361
- const size_base_none = "0px";
8362
- const size_base_half = "4px";
8363
- const size_base_x_1 = "8px";
8364
- const size_base_x_2 = "16px";
8365
- const size_base_x_3 = "24px";
8366
- const size_base_x_4 = "32px";
8367
- const size_base_x_5 = "40px";
8368
- const size_base_x_6 = "48px";
8369
- const size_base_x_8 = "64px";
8370
- const size_breakpoint_extra_small = "0px";
8371
- const size_breakpoint_small = "768px";
8372
- const size_breakpoint_medium = "1024px";
8373
- const size_breakpoint_large = "1360px";
8374
- const size_breakpoint_extra_large = "1920px";
8375
- const size_font_smaller = "12px";
8376
- const size_font_small = "14px";
8377
- const size_font_medium = "16px";
8378
- const size_font_large = "24px";
8379
- const size_font_larger = "30px";
8380
- const size_font_largest = "32px";
8381
- const size_font_heading_1 = "32px";
8382
- const size_font_heading_2 = "30px";
8383
- const size_font_heading_3 = "24px";
8384
- const size_font_heading_4 = "18px";
8385
- const weight_font_light = "300";
8386
- const weight_font_normal = "400";
8387
- const weight_font_medium = "500";
8388
- const weight_font_bold = "600";
8389
- const z_indices_modal_header_and_footer = 2;
8390
- const z_indices_table_header = 10;
8391
- const z_indices_content = 100;
8392
- const z_indices_tabs_scroll_indicator = 200;
8393
- const z_indices_tabs_bar = 210;
8394
- const z_indices_sidebar = 800;
8395
- const z_indices_nav_bar = 900;
8396
- const z_indices_overlay = 1000;
8397
- const z_indices_above_overlay = 1010;
8398
- const z_indices_open_control = 1000;
8399
-
8400
- var Theme = {
8401
- colors: {
8402
- black: color_base_black,
8403
- blackBlue: color_base_black_blue,
8404
- darkBlue: color_base_dark_blue,
8405
- blue: color_base_blue,
8406
- lightBlue: color_base_light_blue,
8407
- darkGrey: color_base_dark_grey,
8408
- midGrey: color_base_mid_grey,
8409
- grey: color_base_grey,
8410
- lightGrey: color_base_light_grey,
8411
- whiteGrey: color_base_white_grey,
8412
- white: color_base_white,
8413
- yellow: color_base_yellow,
8414
- lightYellow: color_base_light_yellow,
8415
- green: color_base_green,
8416
- lightGreen: color_base_light_green,
8417
- red: color_base_red,
8418
- lightRed: color_base_light_red,
8419
- categorical1: color_base_categorical_1,
8420
- categorical2: color_base_categorical_2,
8421
- categorical3: color_base_categorical_3,
8422
- categorical4: color_base_categorical_4,
8423
- categorical5: color_base_categorical_5,
8424
- categorical6: color_base_categorical_6
8425
- },
8426
- fontSizes: {
8427
- smaller: size_font_smaller,
8428
- small: size_font_small,
8429
- medium: size_font_medium,
8430
- large: size_font_large,
8431
- larger: size_font_larger,
8432
- largest: size_font_largest,
8433
- heading1: size_font_heading_1,
8434
- heading2: size_font_heading_2,
8435
- heading3: size_font_heading_3,
8436
- heading4: size_font_heading_4
8437
- },
8438
- lineHeights: {
8439
- base: line_height_base,
8440
- smallTextBase: line_height_small_text_base,
8441
- smallTextCompressed: line_height_small_text_compressed,
8442
- smallerText: line_height_smaller_text,
8443
- heading1: line_height_heading_1,
8444
- heading2: line_height_heading_2,
8445
- heading3: line_height_heading_3,
8446
- heading4: line_height_heading_4,
8447
- title: line_height_heading_1,
8448
- sectionTitle: line_height_heading_2,
8449
- subsectionTitle: line_height_heading_3
8450
- },
8451
- fontWeights: {
8452
- light: weight_font_light,
8453
- normal: weight_font_normal,
8454
- medium: weight_font_medium,
8455
- bold: weight_font_bold
8456
- },
8457
- space: {
8458
- none: size_base_none,
8459
- half: size_base_half,
8460
- x1: size_base_x_1,
8461
- x2: size_base_x_2,
8462
- x3: size_base_x_3,
8463
- x4: size_base_x_4,
8464
- x5: size_base_x_5,
8465
- x6: size_base_x_6,
8466
- x8: size_base_x_8
8467
- },
8468
- sizes: {
8469
- none: size_base_none,
8470
- half: size_base_half,
8471
- x1: size_base_x_1,
8472
- x2: size_base_x_2,
8473
- x3: size_base_x_3,
8474
- x4: size_base_x_4,
8475
- x5: size_base_x_5,
8476
- x6: size_base_x_6,
8477
- x8: size_base_x_8
8478
- },
8479
- fonts: {
8480
- base: font_family_base,
8481
- mono: font_family_mono,
8482
- sc: font_family_sc
8483
- },
8484
- borders: [],
8485
- shadows: {
8486
- small: shadow_box_small,
8487
- medium: shadow_box_medium,
8488
- large: shadow_box_large,
8489
- focus: shadow_focus,
8490
- error: shadow_error
8491
- },
8492
- radii: {
8493
- small: radius_border_small,
8494
- medium: radius_border_medium,
8495
- circle: radius_border_circle
8496
- },
8497
- breakpoints: {
8498
- extraSmall: size_breakpoint_extra_small,
8499
- small: size_breakpoint_small,
8500
- medium: size_breakpoint_medium,
8501
- large: size_breakpoint_large,
8502
- extraLarge: size_breakpoint_extra_large
8503
- },
8504
- zIndices: {
8505
- content: z_indices_content,
8506
- tabsScollIndicator: z_indices_tabs_scroll_indicator,
8507
- tabsBar: z_indices_tabs_bar,
8508
- overlay: z_indices_overlay,
8509
- aboveOverlay: z_indices_above_overlay,
8510
- tableHeader: z_indices_table_header,
8511
- modalHeaderAndFooter: z_indices_modal_header_and_footer,
8512
- openControl: z_indices_open_control,
8513
- navBar: z_indices_nav_bar,
8514
- sidebar: z_indices_sidebar
8515
- }
8516
- };
8517
-
8518
8314
  var LoadingIcon = function LoadingIcon(props) {
8519
8315
  return /*#__PURE__*/React__default.createElement("svg", Object.assign({
8520
8316
  viewBox: "0 0 24px 24px",
@@ -8612,20 +8408,24 @@ var getPathElements = function getPathElements(icon) {
8612
8408
 
8613
8409
 
8614
8410
  var Svg$1 = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
8615
- var icon = _a.icon,
8616
- size = _a.size,
8617
- focusable = _a.focusable,
8618
- className = _a.className,
8619
- fillColor = _a.color,
8620
- title = _a.title,
8621
- props = __rest(_a, ["icon", "size", "focusable", "className", "color", "title"]);
8411
+ var _a$color = _a.color,
8412
+ fillColor = _a$color === void 0 ? "currentColor" : _a$color,
8413
+ _a$className = _a.className,
8414
+ className = _a$className === void 0 ? undefined : _a$className,
8415
+ _a$title = _a.title,
8416
+ title = _a$title === void 0 ? undefined : _a$title,
8417
+ _a$size = _a.size,
8418
+ size = _a$size === void 0 ? "24px" : _a$size,
8419
+ _a$focusable = _a.focusable,
8420
+ focusable = _a$focusable === void 0 ? false : _a$focusable,
8421
+ icon = _a.icon,
8422
+ props = __rest(_a, ["color", "className", "title", "size", "focusable", "icon"]);
8622
8423
 
8623
- var _useTheme = useTheme(),
8624
- space = _useTheme.space;
8424
+ var theme = useTheme();
8625
8425
 
8626
8426
  if (icon === "loading") {
8627
8427
  return /*#__PURE__*/React__default.createElement(LoadingIcon, Object.assign({
8628
- color: Theme.colors[fillColor] ? Theme.colors[fillColor] : fillColor,
8428
+ color: theme.colors[fillColor] ? theme.colors[fillColor] : fillColor,
8629
8429
  className: className
8630
8430
  }, props));
8631
8431
  }
@@ -8633,36 +8433,27 @@ var Svg$1 = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
8633
8433
  return icons[icon] && /*#__PURE__*/React__default.createElement("svg", Object.assign({
8634
8434
  ref: ref,
8635
8435
  "aria-hidden": title == null,
8636
- width: space[size] || size,
8637
- height: space[size] || size,
8638
- fill: Theme.colors[fillColor] ? Theme.colors[fillColor] : fillColor,
8436
+ width: theme.space[size] || size,
8437
+ height: theme.space[size] || size,
8438
+ fill: theme.colors[fillColor] ? theme.colors[fillColor] : fillColor,
8639
8439
  viewBox: icons[icon].viewBox,
8640
8440
  focusable: focusable,
8641
8441
  className: className + " nds-icon--" + icon
8642
8442
  }, props), getPathElements(icons[icon]));
8643
8443
  });
8644
- Svg$1.displayName = "Svg";
8645
- Svg$1.defaultProps = {
8646
- color: "currentColor",
8647
- className: undefined,
8648
- title: undefined,
8649
- size: "24px",
8650
- focusable: false
8651
- };
8652
8444
  var Icon = styled(Svg$1).withConfig({
8653
8445
  displayName: "Icon",
8654
8446
  componentId: "sc-150w9kl-0"
8655
8447
  })(space, function (_ref) {
8656
- var size = _ref.size;
8448
+ var _ref$color = _ref.color,
8449
+ color = _ref$color === void 0 ? "currentColor" : _ref$color,
8450
+ _ref$size = _ref.size,
8451
+ size = _ref$size === void 0 ? "24px" : _ref$size;
8657
8452
  return {
8658
- minWidth: size
8453
+ minWidth: size,
8454
+ color: color
8659
8455
  };
8660
8456
  });
8661
- Icon.defaultProps = {
8662
- color: "currentColor",
8663
- title: undefined,
8664
- size: "24px"
8665
- };
8666
8457
  var iconSizeRatio = 1.25;
8667
8458
  var CenteredIcon = styled(Svg$1).withConfig({
8668
8459
  displayName: "Icon__CenteredIcon",
@@ -8681,11 +8472,11 @@ var IconContainer = styled.span.withConfig({
8681
8472
  height: "1em",
8682
8473
  width: iconSizeRatio + "em"
8683
8474
  });
8684
- var InlineIcon = function InlineIcon(props) {
8475
+ function InlineIcon(props) {
8685
8476
  return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({}, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
8686
8477
  size: iconSizeRatio + "em"
8687
8478
  }, props)));
8688
- };
8479
+ }
8689
8480
 
8690
8481
  var Flex = styled(Box).withConfig({
8691
8482
  displayName: "Flex",
@@ -8711,9 +8502,11 @@ var Text = styled.p.withConfig({
8711
8502
  displayName: "Text",
8712
8503
  componentId: "sc-15glbbx-0"
8713
8504
  })(function (_ref) {
8714
- var disabled = _ref.disabled,
8505
+ var _ref$disabled = _ref.disabled,
8506
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
8715
8507
  textTransform = _ref.textTransform,
8716
- inline = _ref.inline,
8508
+ _ref$inline = _ref.inline,
8509
+ inline = _ref$inline === void 0 ? false : _ref$inline,
8717
8510
  theme = _ref.theme;
8718
8511
  return {
8719
8512
  textTransform: textTransform,
@@ -8726,10 +8519,6 @@ var Text = styled.p.withConfig({
8726
8519
  display: inline ? "inline" : undefined
8727
8520
  };
8728
8521
  }, addStyledProps);
8729
- Text.defaultProps = {
8730
- inline: false,
8731
- disabled: false
8732
- };
8733
8522
 
8734
8523
  var Heading1 = styled(Text).attrs(function () {
8735
8524
  return {
@@ -10194,17 +9983,17 @@ var StyledLink = styled.a.withConfig({
10194
9983
  }), addStyledProps);
10195
9984
  var Link = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
10196
9985
  var size = _a.size,
10197
- props = __rest(_a, ["size"]);
9986
+ _a$underline = _a.underline,
9987
+ underline = _a$underline === void 0 ? true : _a$underline,
9988
+ props = __rest(_a, ["size", "underline"]);
10198
9989
 
10199
9990
  var componentSize = useComponentSize(size);
10200
9991
  return /*#__PURE__*/React__default.createElement(StyledLink, Object.assign({
10201
9992
  ref: ref,
10202
- size: componentSize
9993
+ size: componentSize,
9994
+ underline: underline
10203
9995
  }, props));
10204
9996
  });
10205
- Link.defaultProps = {
10206
- underline: true
10207
- };
10208
9997
 
10209
9998
  var CloseButton$1 = function CloseButton(_ref) {
10210
9999
  var onClick = _ref.onClick,
@@ -17214,13 +17003,6 @@ var Fieldset = styled.fieldset.withConfig({
17214
17003
  width: "100%"
17215
17004
  }, space);
17216
17005
 
17217
- var FormSectionTitle = styled(Heading3).attrs({
17218
- as: "legend"
17219
- }).withConfig({
17220
- displayName: "FormSection__FormSectionTitle",
17221
- componentId: "sc-v5comv-0"
17222
- })({});
17223
-
17224
17006
  var BaseFormSection = function BaseFormSection(_a) {
17225
17007
  var title = _a.title,
17226
17008
  children = _a.children,
@@ -17229,6 +17011,12 @@ var BaseFormSection = function BaseFormSection(_a) {
17229
17011
  return /*#__PURE__*/React__default.createElement("fieldset", Object.assign({}, props), title != null && /*#__PURE__*/React__default.createElement(FormSectionTitle, null, title), children);
17230
17012
  };
17231
17013
 
17014
+ var FormSectionTitle = styled(Heading3).attrs({
17015
+ as: "legend"
17016
+ }).withConfig({
17017
+ displayName: "FormSection__FormSectionTitle",
17018
+ componentId: "sc-v5comv-0"
17019
+ })({});
17232
17020
  var FormSection = styled(BaseFormSection).withConfig({
17233
17021
  displayName: "FormSection",
17234
17022
  componentId: "sc-v5comv-1"
@@ -17252,10 +17040,6 @@ var FormSection = styled(BaseFormSection).withConfig({
17252
17040
  }
17253
17041
  }, _ref2;
17254
17042
  });
17255
- BaseFormSection.defaultProps = {
17256
- children: [],
17257
- title: undefined
17258
- };
17259
17043
 
17260
17044
  var FormStyles = function FormStyles(_ref) {
17261
17045
  var _ref2;
@@ -17319,14 +17103,14 @@ var RequirementText = function RequirementText(props) {
17319
17103
  var Label = styled.label.withConfig({
17320
17104
  displayName: "Label",
17321
17105
  componentId: "sc-lf392x-0"
17322
- })(function () {
17106
+ })(function (_ref) {
17107
+ var _ref$color = _ref.color,
17108
+ color = _ref$color === void 0 ? "black" : _ref$color;
17323
17109
  return {
17110
+ color: color,
17324
17111
  display: "inline-block"
17325
17112
  };
17326
17113
  }, display, space, color);
17327
- Label.defaultProps = {
17328
- color: "black"
17329
- };
17330
17114
 
17331
17115
  var LabelText$1 = styled.span.withConfig({
17332
17116
  displayName: "LabelText",
@@ -17340,13 +17124,6 @@ var LabelText$1 = styled.span.withConfig({
17340
17124
  };
17341
17125
  });
17342
17126
 
17343
- var FieldLabelDefaultProps = {
17344
- children: null,
17345
- requirementText: null,
17346
- helpText: null,
17347
- id: undefined
17348
- };
17349
-
17350
17127
  /**!
17351
17128
  * @fileOverview Kickass library to create and place poppers near their reference elements.
17352
17129
  * @version 1.16.1
@@ -20307,6 +20084,210 @@ function Reference$2(props) {
20307
20084
  });
20308
20085
  }
20309
20086
 
20087
+ /**
20088
+ * Do not edit directly
20089
+ * Generated on Thu, 01 Dec 2022 21:44:24 GMT
20090
+ */
20091
+
20092
+ const color_base_black = "#011e38";
20093
+ const color_base_black_blue = "#122b47";
20094
+ const color_base_dark_blue = "#00438f";
20095
+ const color_base_blue = "#216beb";
20096
+ const color_base_light_blue = "#e1ebfa";
20097
+ const color_base_dark_grey = "#434d59";
20098
+ const color_base_mid_grey = "#6c7784";
20099
+ const color_base_grey = "#c0c8d1";
20100
+ const color_base_light_grey = "#e4e7eb";
20101
+ const color_base_white_grey = "#f0f2f5";
20102
+ const color_base_white = "#ffffff";
20103
+ const color_base_green = "#008059";
20104
+ const color_base_light_green = "#e9f7f2";
20105
+ const color_base_red = "#cc1439";
20106
+ const color_base_light_red = "#fae6ea";
20107
+ const color_base_yellow = "#ffbb00";
20108
+ const color_base_light_yellow = "#fcf5e3";
20109
+ const color_base_categorical_1 = "#19c4e6";
20110
+ const color_base_categorical_2 = "#8033cc";
20111
+ const color_base_categorical_3 = "#e372d0";
20112
+ const color_base_categorical_4 = "#55ddb0";
20113
+ const color_base_categorical_5 = "#ee5513";
20114
+ const color_base_categorical_6 = "#d3d322";
20115
+ const font_family_base = "'IBM Plex Sans', sans-serif";
20116
+ const font_family_mono = "'IBM Plex Mono', monospace";
20117
+ const font_family_sc = "'Noto Sans SC', sans-serif";
20118
+ const line_height_base = "1.5";
20119
+ const line_height_small_text_base = "1.71428571";
20120
+ const line_height_small_text_compressed = "1.14285714";
20121
+ const line_height_smaller_text = "1.33333333";
20122
+ const line_height_heading_1 = "1.25";
20123
+ const line_height_heading_2 = "1.33";
20124
+ const line_height_heading_3 = "1.33";
20125
+ const line_height_heading_4 = "1.33";
20126
+ const radius_border_small = "2px";
20127
+ const radius_border_medium = "4px";
20128
+ const radius_border_circle = "50%";
20129
+ const shadow_box_small = "0px 1px 2px 0px rgba(1, 30, 56, 0.25)";
20130
+ const shadow_box_medium = "0px 3px 8px 0px rgba(1, 30, 56, 0.18)";
20131
+ const shadow_box_large = "0px 6px 12px 2px rgba(1, 30, 56, 0.15)";
20132
+ const shadow_focus = "0px 0px 5px 0px rgba(33, 107, 235, .9)";
20133
+ const shadow_error = "0px 0px 5px 0px rgba(204, 20, 57, .9)";
20134
+ const size_base_none = "0px";
20135
+ const size_base_half = "4px";
20136
+ const size_base_x_1 = "8px";
20137
+ const size_base_x_2 = "16px";
20138
+ const size_base_x_3 = "24px";
20139
+ const size_base_x_4 = "32px";
20140
+ const size_base_x_5 = "40px";
20141
+ const size_base_x_6 = "48px";
20142
+ const size_base_x_8 = "64px";
20143
+ const size_breakpoint_extra_small = "0px";
20144
+ const size_breakpoint_small = "768px";
20145
+ const size_breakpoint_medium = "1024px";
20146
+ const size_breakpoint_large = "1360px";
20147
+ const size_breakpoint_extra_large = "1920px";
20148
+ const size_font_smaller = "12px";
20149
+ const size_font_small = "14px";
20150
+ const size_font_medium = "16px";
20151
+ const size_font_large = "24px";
20152
+ const size_font_larger = "30px";
20153
+ const size_font_largest = "32px";
20154
+ const size_font_heading_1 = "32px";
20155
+ const size_font_heading_2 = "30px";
20156
+ const size_font_heading_3 = "24px";
20157
+ const size_font_heading_4 = "18px";
20158
+ const weight_font_light = "300";
20159
+ const weight_font_normal = "400";
20160
+ const weight_font_medium = "500";
20161
+ const weight_font_bold = "600";
20162
+ const z_indices_modal_header_and_footer = 2;
20163
+ const z_indices_table_header = 10;
20164
+ const z_indices_content = 100;
20165
+ const z_indices_tabs_scroll_indicator = 200;
20166
+ const z_indices_tabs_bar = 210;
20167
+ const z_indices_sidebar = 800;
20168
+ const z_indices_nav_bar = 900;
20169
+ const z_indices_overlay = 1000;
20170
+ const z_indices_above_overlay = 1010;
20171
+ const z_indices_open_control = 1000;
20172
+
20173
+ var Theme = {
20174
+ colors: {
20175
+ black: color_base_black,
20176
+ blackBlue: color_base_black_blue,
20177
+ darkBlue: color_base_dark_blue,
20178
+ blue: color_base_blue,
20179
+ lightBlue: color_base_light_blue,
20180
+ darkGrey: color_base_dark_grey,
20181
+ midGrey: color_base_mid_grey,
20182
+ grey: color_base_grey,
20183
+ lightGrey: color_base_light_grey,
20184
+ whiteGrey: color_base_white_grey,
20185
+ white: color_base_white,
20186
+ yellow: color_base_yellow,
20187
+ lightYellow: color_base_light_yellow,
20188
+ green: color_base_green,
20189
+ lightGreen: color_base_light_green,
20190
+ red: color_base_red,
20191
+ lightRed: color_base_light_red,
20192
+ categorical1: color_base_categorical_1,
20193
+ categorical2: color_base_categorical_2,
20194
+ categorical3: color_base_categorical_3,
20195
+ categorical4: color_base_categorical_4,
20196
+ categorical5: color_base_categorical_5,
20197
+ categorical6: color_base_categorical_6
20198
+ },
20199
+ fontSizes: {
20200
+ smaller: size_font_smaller,
20201
+ small: size_font_small,
20202
+ medium: size_font_medium,
20203
+ large: size_font_large,
20204
+ larger: size_font_larger,
20205
+ largest: size_font_largest,
20206
+ heading1: size_font_heading_1,
20207
+ heading2: size_font_heading_2,
20208
+ heading3: size_font_heading_3,
20209
+ heading4: size_font_heading_4
20210
+ },
20211
+ lineHeights: {
20212
+ base: line_height_base,
20213
+ smallTextBase: line_height_small_text_base,
20214
+ smallTextCompressed: line_height_small_text_compressed,
20215
+ smallerText: line_height_smaller_text,
20216
+ heading1: line_height_heading_1,
20217
+ heading2: line_height_heading_2,
20218
+ heading3: line_height_heading_3,
20219
+ heading4: line_height_heading_4,
20220
+ title: line_height_heading_1,
20221
+ sectionTitle: line_height_heading_2,
20222
+ subsectionTitle: line_height_heading_3
20223
+ },
20224
+ fontWeights: {
20225
+ light: weight_font_light,
20226
+ normal: weight_font_normal,
20227
+ medium: weight_font_medium,
20228
+ bold: weight_font_bold
20229
+ },
20230
+ space: {
20231
+ none: size_base_none,
20232
+ half: size_base_half,
20233
+ x1: size_base_x_1,
20234
+ x2: size_base_x_2,
20235
+ x3: size_base_x_3,
20236
+ x4: size_base_x_4,
20237
+ x5: size_base_x_5,
20238
+ x6: size_base_x_6,
20239
+ x8: size_base_x_8
20240
+ },
20241
+ sizes: {
20242
+ none: size_base_none,
20243
+ half: size_base_half,
20244
+ x1: size_base_x_1,
20245
+ x2: size_base_x_2,
20246
+ x3: size_base_x_3,
20247
+ x4: size_base_x_4,
20248
+ x5: size_base_x_5,
20249
+ x6: size_base_x_6,
20250
+ x8: size_base_x_8
20251
+ },
20252
+ fonts: {
20253
+ base: font_family_base,
20254
+ mono: font_family_mono,
20255
+ sc: font_family_sc
20256
+ },
20257
+ borders: [],
20258
+ shadows: {
20259
+ small: shadow_box_small,
20260
+ medium: shadow_box_medium,
20261
+ large: shadow_box_large,
20262
+ focus: shadow_focus,
20263
+ error: shadow_error
20264
+ },
20265
+ radii: {
20266
+ small: radius_border_small,
20267
+ medium: radius_border_medium,
20268
+ circle: radius_border_circle
20269
+ },
20270
+ breakpoints: {
20271
+ extraSmall: size_breakpoint_extra_small,
20272
+ small: size_breakpoint_small,
20273
+ medium: size_breakpoint_medium,
20274
+ large: size_breakpoint_large,
20275
+ extraLarge: size_breakpoint_extra_large
20276
+ },
20277
+ zIndices: {
20278
+ content: z_indices_content,
20279
+ tabsScollIndicator: z_indices_tabs_scroll_indicator,
20280
+ tabsBar: z_indices_tabs_bar,
20281
+ overlay: z_indices_overlay,
20282
+ aboveOverlay: z_indices_above_overlay,
20283
+ tableHeader: z_indices_table_header,
20284
+ modalHeaderAndFooter: z_indices_modal_header_and_footer,
20285
+ openControl: z_indices_open_control,
20286
+ navBar: z_indices_nav_bar,
20287
+ sidebar: z_indices_sidebar
20288
+ }
20289
+ };
20290
+
20310
20291
  var ClickInputLabel = styled.label.withConfig({
20311
20292
  displayName: "ClickInputLabel",
20312
20293
  componentId: "sc-zdnqd7-0"
@@ -20352,7 +20333,7 @@ var generateId = function generateId() {
20352
20333
  return prefix + randomId;
20353
20334
  };
20354
20335
 
20355
- var WindowDimensions = /*#__PURE__*/function (_React$Component) {
20336
+ /*#__PURE__*/(function (_React$Component) {
20356
20337
  _inheritsLoose$2(WindowDimensions, _React$Component);
20357
20338
 
20358
20339
  function WindowDimensions(props) {
@@ -20397,11 +20378,7 @@ var WindowDimensions = /*#__PURE__*/function (_React$Component) {
20397
20378
  };
20398
20379
 
20399
20380
  return WindowDimensions;
20400
- }(React__default.Component);
20401
-
20402
- WindowDimensions.propTypes = {
20403
- children: PropTypes.func.isRequired
20404
- };
20381
+ })(React__default.Component);
20405
20382
 
20406
20383
  var DetectOutsideClick = /*#__PURE__*/function (_React$Component) {
20407
20384
  _inheritsLoose$2(DetectOutsideClick, _React$Component);
@@ -20457,16 +20434,6 @@ var DetectOutsideClick = /*#__PURE__*/function (_React$Component) {
20457
20434
  return DetectOutsideClick;
20458
20435
  }(React__default.Component);
20459
20436
 
20460
- DetectOutsideClick.propTypes = {
20461
- onClick: PropTypes.func.isRequired,
20462
- clickRef: PropTypes.oneOfType([PropTypes.shape({}), PropTypes.arrayOf(PropTypes.shape({}))]),
20463
- children: PropTypes.node
20464
- };
20465
- DetectOutsideClick.defaultProps = {
20466
- clickRef: null,
20467
- children: undefined
20468
- };
20469
-
20470
20437
  var getThemeColor$1 = function getThemeColor(color) {
20471
20438
  return Theme.colors[color] ? Theme.colors[color] : color;
20472
20439
  };
@@ -20676,7 +20643,7 @@ var ScrollIndicatorBottom = function ScrollIndicatorBottom() {
20676
20643
  /* eslint-disable react/destructuring-assignment */
20677
20644
 
20678
20645
 
20679
- var ScrollIndicators = /*#__PURE__*/function (_React$Component) {
20646
+ /*#__PURE__*/(function (_React$Component) {
20680
20647
  _inheritsLoose$2(ScrollIndicators, _React$Component);
20681
20648
 
20682
20649
  function ScrollIndicators() {
@@ -20728,13 +20695,7 @@ var ScrollIndicators = /*#__PURE__*/function (_React$Component) {
20728
20695
  };
20729
20696
 
20730
20697
  return ScrollIndicators;
20731
- }(React__default.Component);
20732
- /* eslint-enable react/destructuring-assignment */
20733
-
20734
-
20735
- ScrollIndicators.propTypes = {
20736
- children: PropTypes.element.isRequired
20737
- };
20698
+ })(React__default.Component);
20738
20699
 
20739
20700
  var keyCodes = Object.freeze({
20740
20701
  TAB: 9,
@@ -21101,15 +21062,6 @@ var PreventBodyElementScrolling = /*#__PURE__*/function (_React$Component) {
21101
21062
  return PreventBodyElementScrolling;
21102
21063
  }(React__default.Component);
21103
21064
 
21104
- PreventBodyElementScrolling.propTypes = {
21105
- children: PropTypes.node,
21106
- scrollableRef: PropTypes.oneOfType([PropTypes.shape({}), PropTypes.arrayOf(PropTypes.shape({}))])
21107
- };
21108
- PreventBodyElementScrolling.defaultProps = {
21109
- children: null,
21110
- scrollableRef: null
21111
- };
21112
-
21113
21065
  var convertPxToNumber = function convertPxToNumber(px) {
21114
21066
  return parseFloat(px);
21115
21067
  };
@@ -21186,21 +21138,28 @@ var wrapInFunction = function wrapInFunction(x) {
21186
21138
  };
21187
21139
 
21188
21140
  var Popper$2 = /*#__PURE__*/React__default.forwardRef(function (_ref, popperRef) {
21189
- var popperPlacement = _ref.popperPlacement,
21190
- defaultOpen = _ref.defaultOpen,
21191
- id = _ref.id,
21192
- showDelay = _ref.showDelay,
21193
- hideDelay = _ref.hideDelay,
21141
+ var id = _ref.id,
21194
21142
  trigger = _ref.trigger,
21195
21143
  children = _ref.children,
21196
- openOnClick = _ref.openOnClick,
21197
- openOnHover = _ref.openOnHover,
21198
- modifiers = _ref.modifiers,
21199
21144
  backgroundColor = _ref.backgroundColor,
21200
21145
  borderColor = _ref.borderColor,
21201
- showArrow = _ref.showArrow,
21202
21146
  openAriaLabel = _ref.openAriaLabel,
21203
- closeAriaLabel = _ref.closeAriaLabel;
21147
+ closeAriaLabel = _ref.closeAriaLabel,
21148
+ modifiers = _ref.modifiers,
21149
+ _ref$showDelay = _ref.showDelay,
21150
+ showDelay = _ref$showDelay === void 0 ? "100" : _ref$showDelay,
21151
+ _ref$hideDelay = _ref.hideDelay,
21152
+ hideDelay = _ref$hideDelay === void 0 ? "350" : _ref$hideDelay,
21153
+ _ref$defaultOpen = _ref.defaultOpen,
21154
+ defaultOpen = _ref$defaultOpen === void 0 ? false : _ref$defaultOpen,
21155
+ _ref$popperPlacement = _ref.popperPlacement,
21156
+ popperPlacement = _ref$popperPlacement === void 0 ? "bottom" : _ref$popperPlacement,
21157
+ _ref$openOnClick = _ref.openOnClick,
21158
+ openOnClick = _ref$openOnClick === void 0 ? false : _ref$openOnClick,
21159
+ _ref$openOnHover = _ref.openOnHover,
21160
+ openOnHover = _ref$openOnHover === void 0 ? true : _ref$openOnHover,
21161
+ _ref$showArrow = _ref.showArrow,
21162
+ showArrow = _ref$showArrow === void 0 ? true : _ref$showArrow;
21204
21163
  // We're going to manage the ID of the timeout in a ref so that we can examine
21205
21164
  // it without causing a re-render. Note that "0" will denote "no jobs running",
21206
21165
  // whereas positive values are the ID of the running job.
@@ -21355,21 +21314,6 @@ var Popper$2 = /*#__PURE__*/React__default.forwardRef(function (_ref, popperRef)
21355
21314
  }))])));
21356
21315
  }));
21357
21316
  });
21358
- Popper$2.defaultProps = {
21359
- showDelay: "100",
21360
- hideDelay: "350",
21361
- defaultOpen: false,
21362
- popperPlacement: "bottom",
21363
- id: null,
21364
- openOnClick: false,
21365
- openOnHover: true,
21366
- modifiers: null,
21367
- backgroundColor: undefined,
21368
- borderColor: undefined,
21369
- showArrow: true,
21370
- openAriaLabel: undefined,
21371
- closeAriaLabel: undefined
21372
- };
21373
21317
 
21374
21318
  var tooltipStyles = function tooltipStyles(theme) {
21375
21319
  return {
@@ -21433,14 +21377,19 @@ var TooltipContainer = styled(Box).withConfig({
21433
21377
  });
21434
21378
 
21435
21379
  var Tooltip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
21436
- var className = _ref.className,
21380
+ var _ref$showDelay = _ref.showDelay,
21381
+ showDelay = _ref$showDelay === void 0 ? "100" : _ref$showDelay,
21382
+ _ref$hideDelay = _ref.hideDelay,
21383
+ hideDelay = _ref$hideDelay === void 0 ? "350" : _ref$hideDelay,
21384
+ _ref$defaultOpen = _ref.defaultOpen,
21385
+ defaultOpen = _ref$defaultOpen === void 0 ? false : _ref$defaultOpen,
21386
+ _ref$placement = _ref.placement,
21387
+ placement = _ref$placement === void 0 ? "bottom" : _ref$placement,
21388
+ _ref$maxWidth = _ref.maxWidth,
21389
+ maxWidth = _ref$maxWidth === void 0 ? "24em" : _ref$maxWidth,
21390
+ className = _ref.className,
21437
21391
  tooltip = _ref.tooltip,
21438
- maxWidth = _ref.maxWidth,
21439
- children = _ref.children,
21440
- placement = _ref.placement,
21441
- showDelay = _ref.showDelay,
21442
- hideDelay = _ref.hideDelay,
21443
- defaultOpen = _ref.defaultOpen;
21392
+ children = _ref.children;
21444
21393
  return /*#__PURE__*/React__default.createElement(Popper$2, {
21445
21394
  ref: ref,
21446
21395
  popperPlacement: placement,
@@ -21455,14 +21404,6 @@ var Tooltip = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
21455
21404
  role: "tooltip"
21456
21405
  }, tooltip));
21457
21406
  });
21458
- Tooltip.defaultProps = {
21459
- showDelay: "100",
21460
- hideDelay: "350",
21461
- defaultOpen: false,
21462
- className: undefined,
21463
- placement: "bottom",
21464
- maxWidth: "24em"
21465
- };
21466
21407
 
21467
21408
  function FramedIcon(_a) {
21468
21409
  var isTooltipOpenByDefault = _a.isTooltipOpenByDefault,
@@ -21491,7 +21432,7 @@ function FramedIcon(_a) {
21491
21432
  }, iconProps)));
21492
21433
  }
21493
21434
 
21494
- var FieldLabel = function FieldLabel(_a) {
21435
+ function FieldLabel(_a) {
21495
21436
  var labelText = _a.labelText,
21496
21437
  requirementText = _a.requirementText,
21497
21438
  helpText = _a.helpText,
@@ -21522,9 +21463,7 @@ var FieldLabel = function FieldLabel(_a) {
21522
21463
  }))), helpText && /*#__PURE__*/React__default.createElement(HelpText, {
21523
21464
  "data-testid": "help-text"
21524
21465
  }, helpText)), children);
21525
- };
21526
-
21527
- FieldLabel.defaultProps = FieldLabelDefaultProps;
21466
+ }
21528
21467
 
21529
21468
  var MaybeFieldLabel = function MaybeFieldLabel(_a) {
21530
21469
  var labelText = _a.labelText,
@@ -21539,16 +21478,16 @@ var MaybeFieldLabel = function MaybeFieldLabel(_a) {
21539
21478
  var ListItem = styled.li.withConfig({
21540
21479
  displayName: "ListItem",
21541
21480
  componentId: "sc-3wr72f-0"
21542
- })(space, color, typography, {
21543
- "&:last-child": {
21544
- marginBottom: 0
21545
- }
21546
- });
21547
- ListItem.defaultProps = {
21548
- className: undefined,
21549
- color: "currentColor",
21550
- mb: "x1"
21551
- };
21481
+ })(function (_ref) {
21482
+ var theme = _ref.theme;
21483
+ return {
21484
+ color: "currentcolor",
21485
+ marginBottom: theme.space.x1,
21486
+ "&:last-child": {
21487
+ marginBottom: 0
21488
+ }
21489
+ };
21490
+ }, space, color, typography);
21552
21491
 
21553
21492
  var List = styled.ul.withConfig({
21554
21493
  displayName: "List",
@@ -21556,25 +21495,23 @@ var List = styled.ul.withConfig({
21556
21495
  })(function (_ref) {
21557
21496
  var _ref2;
21558
21497
 
21559
- var compact = _ref.compact,
21498
+ var _ref$compact = _ref.compact,
21499
+ compact = _ref$compact === void 0 ? false : _ref$compact,
21500
+ _ref$leftAlign = _ref.leftAlign,
21501
+ leftAlign = _ref$leftAlign === void 0 ? false : _ref$leftAlign,
21502
+ _ref$color = _ref.color,
21503
+ color = _ref$color === void 0 ? "currentColor" : _ref$color,
21560
21504
  theme = _ref.theme,
21561
- leftAlign = _ref.leftAlign,
21562
21505
  listStyle = _ref.listStyle;
21563
21506
  return _ref2 = {
21564
21507
  margin: 0,
21508
+ color: color,
21565
21509
  paddingLeft: leftAlign ? "18px" : undefined,
21566
21510
  listStyle: listStyle
21567
21511
  }, _ref2["" + ListItem] = {
21568
21512
  marginBottom: compact ? 0 : theme.space.x1
21569
21513
  }, _ref2;
21570
21514
  }, addStyledProps);
21571
- List.defaultProps = {
21572
- className: undefined,
21573
- compact: false,
21574
- leftAlign: false,
21575
- listStyle: undefined,
21576
- color: "currentColor"
21577
- };
21578
21515
 
21579
21516
  var mapErrorsToList = function mapErrorsToList(errors) {
21580
21517
  if (!Array.isArray(errors) || !errors.length) {
@@ -21604,8 +21541,7 @@ var Wrapper = styled.div.withConfig({
21604
21541
  marginBottom: 0
21605
21542
  }, _ref2;
21606
21543
  });
21607
-
21608
- var InlineValidation = function InlineValidation(_a) {
21544
+ function InlineValidation(_a) {
21609
21545
  var className = _a.className,
21610
21546
  errorMessage = _a.errorMessage,
21611
21547
  errorList = _a.errorList,
@@ -21619,14 +21555,7 @@ var InlineValidation = function InlineValidation(_a) {
21619
21555
  icon: "error",
21620
21556
  mr: "x1"
21621
21557
  }), /*#__PURE__*/React__default.createElement(Wrapper, null, errorMessage && /*#__PURE__*/React__default.createElement(Text, null, errorMessage), mapErrorsToList(errorList), children)) : null;
21622
- };
21623
-
21624
- InlineValidation.defaultProps = {
21625
- className: undefined,
21626
- errorMessage: undefined,
21627
- errorList: undefined,
21628
- children: undefined
21629
- };
21558
+ }
21630
21559
 
21631
21560
  var getBorderColor = function getBorderColor(_ref) {
21632
21561
  var errored = _ref.errored,
@@ -21971,7 +21900,6 @@ var omitSubset = function omitSubset(o, propObj) {
21971
21900
  return a;
21972
21901
  }, {});
21973
21902
  };
21974
-
21975
21903
  var pick = function pick(o) {
21976
21904
  var objectProps = Object.keys(o);
21977
21905
 
@@ -22418,22 +22346,6 @@ var StatelessNavBarDropdownMenu$1 = /*#__PURE__*/function (_StatelessNavBarDropd
22418
22346
  // @ts-ignore
22419
22347
 
22420
22348
 
22421
- StatelessNavBarDropdownMenu$1.propTypes = {
22422
- children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
22423
- trigger: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
22424
- menuState: PropTypes.shape({
22425
- isOpen: PropTypes.bool,
22426
- openMenu: PropTypes.func,
22427
- closeMenu: PropTypes.func,
22428
- toggleMenu: PropTypes.func
22429
- }).isRequired,
22430
- showArrow: PropTypes.bool,
22431
- placement: PropTypes.oneOf(["bottom-start", "right-start", "left-start"]),
22432
- modifiers: PropTypes.shape({}),
22433
- triggerTogglesMenuState: PropTypes.bool,
22434
- dropdownMenuContainerEventHandlers: PropTypes.func
22435
- }; // @ts-ignore
22436
-
22437
22349
  StatelessNavBarDropdownMenu$1.defaultProps = {
22438
22350
  showArrow: true,
22439
22351
  placement: "bottom-start",
@@ -25112,10 +25024,13 @@ var DropdownButton = styled.button.withConfig({
25112
25024
  displayName: "DropdownButton",
25113
25025
  componentId: "sc-16gk4iv-0"
25114
25026
  })(function (_ref) {
25115
- var disabled = _ref.disabled,
25116
- theme = _ref.theme,
25117
- hoverColor = _ref.hoverColor,
25118
- bgHoverColor = _ref.bgHoverColor;
25027
+ var _ref$disabled = _ref.disabled,
25028
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
25029
+ _ref$hoverColor = _ref.hoverColor,
25030
+ hoverColor = _ref$hoverColor === void 0 ? "darkBlue" : _ref$hoverColor,
25031
+ _ref$bgHoverColor = _ref.bgHoverColor,
25032
+ bgHoverColor = _ref$bgHoverColor === void 0 ? "lightBlue" : _ref$bgHoverColor,
25033
+ theme = _ref.theme;
25119
25034
  return {
25120
25035
  color: theme.colors.darkGrey,
25121
25036
  fontWeight: theme.fontWeights.medium,
@@ -25164,11 +25079,6 @@ var DropdownButton = styled.button.withConfig({
25164
25079
  }
25165
25080
  }
25166
25081
  }), addStyledProps);
25167
- DropdownButton.defaultProps = {
25168
- disabled: false,
25169
- hoverColor: "darkBlue",
25170
- bgHoverColor: "lightBlue"
25171
- };
25172
25082
 
25173
25083
  var DropdownLink = styled.a.withConfig({
25174
25084
  shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
@@ -25178,9 +25088,12 @@ var DropdownLink = styled.a.withConfig({
25178
25088
  componentId: "sc-73jvsg-0"
25179
25089
  })(function (_ref) {
25180
25090
  var theme = _ref.theme,
25181
- color = _ref.color,
25182
- bgHoverColor = _ref.bgHoverColor,
25183
- hoverColor = _ref.hoverColor;
25091
+ _ref$color = _ref.color,
25092
+ color = _ref$color === void 0 ? "darkGrey" : _ref$color,
25093
+ _ref$hoverColor = _ref.hoverColor,
25094
+ hoverColor = _ref$hoverColor === void 0 ? "darkBlue" : _ref$hoverColor,
25095
+ _ref$bgHoverColor = _ref.bgHoverColor,
25096
+ bgHoverColor = _ref$bgHoverColor === void 0 ? "lightBlue" : _ref$bgHoverColor;
25184
25097
  return {
25185
25098
  color: theme.colors[color],
25186
25099
  fontWeight: theme.fontWeights.medium,
@@ -25232,21 +25145,18 @@ var DropdownLink = styled.a.withConfig({
25232
25145
  }
25233
25146
  }
25234
25147
  }), addStyledProps);
25235
- DropdownLink.defaultProps = {
25236
- disabled: false,
25237
- color: "darkGrey",
25238
- hoverColor: "darkBlue",
25239
- bgHoverColor: "lightBlue"
25240
- };
25241
25148
 
25242
25149
  var DropdownItem = styled.div.withConfig({
25243
25150
  displayName: "DropdownItem",
25244
25151
  componentId: "sc-xev49s-0"
25245
25152
  })(function (_ref) {
25246
25153
  var theme = _ref.theme,
25247
- color = _ref.color,
25248
- hoverColor = _ref.hoverColor,
25249
- bgHoverColor = _ref.bgHoverColor;
25154
+ _ref$color = _ref.color,
25155
+ color = _ref$color === void 0 ? "darkGrey" : _ref$color,
25156
+ _ref$hoverColor = _ref.hoverColor,
25157
+ hoverColor = _ref$hoverColor === void 0 ? "darkBlue" : _ref$hoverColor,
25158
+ _ref$bgHoverColor = _ref.bgHoverColor,
25159
+ bgHoverColor = _ref$bgHoverColor === void 0 ? "lightBlue" : _ref$bgHoverColor;
25250
25160
  return {
25251
25161
  "*": {
25252
25162
  color: theme.colors[color],
@@ -25278,11 +25188,6 @@ var DropdownItem = styled.div.withConfig({
25278
25188
  }
25279
25189
  };
25280
25190
  });
25281
- DropdownItem.defaultProps = {
25282
- color: "darkGrey",
25283
- hoverColor: "darkBlue",
25284
- bgHoverColor: "lightBlue"
25285
- };
25286
25191
 
25287
25192
  var DropdownText = styled(Text).withConfig({
25288
25193
  displayName: "DropdownText",
@@ -25895,7 +25800,8 @@ var BrandingText = styled.span.withConfig({
25895
25800
  displayName: "BrandingText",
25896
25801
  componentId: "sc-15qgaw2-0"
25897
25802
  })(function (_ref) {
25898
- var logoColor = _ref.logoColor,
25803
+ var _ref$logoColor = _ref.logoColor,
25804
+ logoColor = _ref$logoColor === void 0 ? "blue" : _ref$logoColor,
25899
25805
  size = _ref.size;
25900
25806
  return {
25901
25807
  color: getLogoColor$1(logoColor),
@@ -25914,9 +25820,6 @@ var BrandingText = styled.span.withConfig({
25914
25820
  }
25915
25821
  };
25916
25822
  });
25917
- BrandingText.defaultProps = {
25918
- logoColor: "blue"
25919
- };
25920
25823
 
25921
25824
  var sizes$1 = {
25922
25825
  small: {
@@ -25937,7 +25840,7 @@ var getSize$1 = function getSize(size) {
25937
25840
  return sizes$1[size] || sizes$1.medium;
25938
25841
  };
25939
25842
 
25940
- var LettermarkLogo = function LettermarkLogo(_a) {
25843
+ function LettermarkLogo(_a) {
25941
25844
  var size = _a.size,
25942
25845
  letterFill = _a.letterFill,
25943
25846
  props = __rest(_a, ["size", "letterFill"]);
@@ -25952,12 +25855,7 @@ var LettermarkLogo = function LettermarkLogo(_a) {
25952
25855
  fill: letterFill,
25953
25856
  d: "M30.6967273,1.13648485 L36.3810909,3.40945455 L36.3810909,23.8758788 C36.3810909,28.2705455 30.9507879,29.0424242 27.2853333,29.5602424 C29.3818182,29.0424242 30.7083636,28.4606061 30.6967273,23.8758788 L30.6967273,5.68436364 L25.0123636,3.40945455 L30.6967273,1.13648485 Z M6.82084848,28.4237576 L6.82084848,15.9204848 C6.82084848,14.6618182 7.76533333,13.238303 8.91151515,12.7476364 L14.7801212,10.2264242 L14.7801212,18.1779394 L20.4644848,21.6048485 C21.6106667,22.1866667 23.8758788,22.2002424 23.8758788,20.4664242 L23.8758788,17.0550303 L21.5990303,15.9166061 L21.5990303,1.56319402e-13 L4.26666667,6.38642424 C1.91030303,7.25333333 3.55271368e-15,9.98593939 3.55271368e-15,12.5071515 L3.55271368e-15,31.2669091 L6.82084848,28.4237576 Z"
25954
25857
  }));
25955
- };
25956
-
25957
- LettermarkLogo.defaultProps = {
25958
- letterFill: undefined,
25959
- size: undefined
25960
- };
25858
+ }
25961
25859
 
25962
25860
  var sizes = {
25963
25861
  small: {
@@ -25978,7 +25876,7 @@ var getSize = function getSize(size) {
25978
25876
  return sizes[size] || sizes.medium;
25979
25877
  };
25980
25878
 
25981
- var WordmarkLogo = function WordmarkLogo(_a) {
25879
+ function WordmarkLogo(_a) {
25982
25880
  var size = _a.size,
25983
25881
  logoFill = _a.logoFill,
25984
25882
  letterFill = _a.letterFill,
@@ -26010,13 +25908,7 @@ var WordmarkLogo = function WordmarkLogo(_a) {
26010
25908
  }), /*#__PURE__*/React__default.createElement("path", {
26011
25909
  d: "M75,9 L77.8276364,9 L82.2649697,20.6363636 L87.1483636,9 L89.4504242,9 L82.3813333,25.3238788 L82.2649697,25.5546667 C81.1478788,28.0965657 80.2874343,29.9066667 79.6836364,30.9849697 L76.7415758,30.9849697 C77.3683498,30.3346009 77.9302011,29.6246546 78.4191515,28.8652121 C79.0313917,27.8817808 79.5750659,26.8572886 80.046303,25.7990303 L81.0004848,23.7452121 L75,9 Z"
26012
25910
  })));
26013
- };
26014
-
26015
- WordmarkLogo.defaultProps = {
26016
- logoFill: undefined,
26017
- letterFill: undefined,
26018
- size: undefined
26019
- };
25911
+ }
26020
25912
 
26021
25913
  var logoColors = {
26022
25914
  white: {
@@ -26179,7 +26071,7 @@ var Prefix = function Prefix(_a) {
26179
26071
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({}, props), prefix)) : null;
26180
26072
  };
26181
26073
 
26182
- var Suffix = function Suffix(_a) {
26074
+ function Suffix(_a) {
26183
26075
  var suffix = _a.suffix,
26184
26076
  suffixWidth = _a.suffixWidth,
26185
26077
  props = __rest(_a, ["suffix", "suffixWidth"]);
@@ -26190,13 +26082,7 @@ var Suffix = function Suffix(_a) {
26190
26082
  pb: "x1",
26191
26083
  pl: "x1"
26192
26084
  }, /*#__PURE__*/React__default.createElement(Text, Object.assign({}, props), suffix)) : null;
26193
- };
26194
-
26195
- Suffix.defaultProps = {
26196
- suffix: null,
26197
- children: null,
26198
- suffixWidth: null
26199
- };
26085
+ }
26200
26086
 
26201
26087
  var InputField = /*#__PURE__*/forwardRef(function (_a, ref) {
26202
26088
  var icon = _a.icon,
@@ -26459,10 +26345,6 @@ var NavBarSearch = styled(BaseNavBarSearch).withConfig({
26459
26345
  }
26460
26346
  }
26461
26347
  });
26462
- BaseNavBarSearch.propTypes = {
26463
- name: PropTypes.string,
26464
- onSubmit: PropTypes.func
26465
- };
26466
26348
  BaseNavBarSearch.defaultProps = {
26467
26349
  name: "global-search",
26468
26350
  onSubmit: function onSubmit() {}
@@ -26701,7 +26583,7 @@ var BaseMobileMenu$1 = function BaseMobileMenu(_a) {
26701
26583
  return /*#__PURE__*/React__default.createElement(Nav$2, Object.assign({
26702
26584
  backgroundColor: themeColorObject && themeColorObject.background
26703
26585
  }, props), /*#__PURE__*/React__default.createElement(BrandingWrap$1, null, /*#__PURE__*/React__default.createElement(BrandingText, {
26704
- logoColor: themeColorObject && themeColorObject.logoColor
26586
+ logoColor: themeColorObject === null || themeColorObject === void 0 ? void 0 : themeColorObject.logoColor
26705
26587
  })), /*#__PURE__*/React__default.createElement(Menu$1, null, menuData.primaryMenu && renderTopLayerMenuItems$1(menuData.primaryMenu, closeMenu, themeColorObject), menuData.secondaryMenu && renderTopLayerMenuItems$1(menuData.secondaryMenu, closeMenu, themeColorObject)), showNulogyLogo && /*#__PURE__*/React__default.createElement(Flex, {
26706
26588
  textAlign: "center",
26707
26589
  borderTop: borderStyle,
@@ -27067,8 +26949,10 @@ var insertSeparators = function insertSeparators(items) {
27067
26949
 
27068
26950
  var Breadcrumbs = function Breadcrumbs(_a) {
27069
26951
  var size = _a.size,
26952
+ _a$as = _a.as,
26953
+ as = _a$as === void 0 ? "nav" : _a$as,
27070
26954
  children = _a.children,
27071
- props = __rest(_a, ["size", "children"]);
26955
+ props = __rest(_a, ["size", "as", "children"]);
27072
26956
 
27073
26957
  var componentSize = useComponentSize(size);
27074
26958
  var allItems = React__default.Children.map(children, function (child, index) {
@@ -27078,11 +26962,9 @@ var Breadcrumbs = function Breadcrumbs(_a) {
27078
26962
  key: "child-" + index
27079
26963
  }, child);
27080
26964
  }).filter(Boolean);
27081
- return /*#__PURE__*/React__default.createElement(Flex, Object.assign({}, props), /*#__PURE__*/React__default.createElement(BreadcrumbsList, null, insertSeparators(allItems)));
27082
- };
27083
-
27084
- Breadcrumbs.defaultProps = {
27085
- as: "nav"
26965
+ return /*#__PURE__*/React__default.createElement(Flex, Object.assign({
26966
+ as: as
26967
+ }, props), /*#__PURE__*/React__default.createElement(BreadcrumbsList, null, insertSeparators(allItems)));
27086
26968
  };
27087
26969
 
27088
26970
  var alignments = {
@@ -27123,7 +27005,8 @@ var ButtonGroup = styled(Flex).withConfig({
27123
27005
  displayName: "ButtonGroup",
27124
27006
  componentId: "sc-1aq6uy1-0"
27125
27007
  })(function (_ref) {
27126
- var alignment = _ref.alignment,
27008
+ var _ref$alignment = _ref.alignment,
27009
+ alignment = _ref$alignment === void 0 ? "left" : _ref$alignment,
27127
27010
  theme = _ref.theme;
27128
27011
  return Object.assign({
27129
27012
  flexWrap: "wrap",
@@ -27134,47 +27017,44 @@ var ButtonGroup = styled(Flex).withConfig({
27134
27017
  }
27135
27018
  }, getButtonSpacing(alignment, theme));
27136
27019
  });
27137
- ButtonGroup.defaultProps = {
27138
- alignment: "left",
27139
- className: undefined
27140
- };
27141
-
27142
- var Card = styled(Box).withConfig({
27143
- displayName: "Card",
27144
- componentId: "sc-1moun4p-0"
27145
- })({});
27146
- Card.defaultProps = {
27147
- children: [],
27148
- borderRadius: "medium",
27149
- boxShadow: "small",
27150
- bg: "whiteGrey",
27151
- py: "x2",
27152
- px: "x2",
27153
- position: "relative"
27154
- };
27155
27020
 
27156
- var UnstyledCardSet = function UnstyledCardSet(_a) {
27021
+ function Card(_a) {
27157
27022
  var _a$children = _a.children,
27158
27023
  children = _a$children === void 0 ? [] : _a$children,
27159
- props = __rest(_a, ["children"]);
27024
+ _a$borderRadius = _a.borderRadius,
27025
+ borderRadius = _a$borderRadius === void 0 ? "medium" : _a$borderRadius,
27026
+ _a$boxShadow = _a.boxShadow,
27027
+ boxShadow = _a$boxShadow === void 0 ? "small" : _a$boxShadow,
27028
+ _a$bg = _a.bg,
27029
+ bg = _a$bg === void 0 ? "whiteGrey" : _a$bg,
27030
+ _a$py = _a.py,
27031
+ py = _a$py === void 0 ? "x2" : _a$py,
27032
+ _a$px = _a.px,
27033
+ px = _a$px === void 0 ? "x2" : _a$px,
27034
+ _a$position = _a.position,
27035
+ position = _a$position === void 0 ? "relative" : _a$position,
27036
+ props = __rest(_a, ["children", "borderRadius", "boxShadow", "bg", "py", "px", "position"]);
27160
27037
 
27161
- return /*#__PURE__*/React__default.createElement(Box, Object.assign({}, props), children);
27162
- };
27038
+ return /*#__PURE__*/React__default.createElement(Box, Object.assign({
27039
+ borderRadius: borderRadius,
27040
+ boxShadow: boxShadow,
27041
+ bg: bg,
27042
+ py: py,
27043
+ px: px,
27044
+ position: position
27045
+ }, props), children);
27046
+ }
27163
27047
 
27164
- var CardSet = styled(UnstyledCardSet).withConfig({
27048
+ var CardSet = styled(Flex).withConfig({
27165
27049
  displayName: "CardSet",
27166
27050
  componentId: "sc-1z0gb66-0"
27167
- })(space, function (_ref) {
27168
- var _ref2;
27169
-
27051
+ })(function (_ref) {
27170
27052
  var theme = _ref.theme;
27171
- return _ref2 = {}, _ref2["" + Card] = {
27172
- marginBottom: theme.space.x1,
27173
- "&:last-child": {
27174
- marginBottom: theme.space.none
27175
- }
27176
- }, _ref2;
27177
- });
27053
+ return {
27054
+ flexDirection: "column",
27055
+ gap: theme.space.x1
27056
+ };
27057
+ }, space);
27178
27058
 
27179
27059
  var checkboxStyle = function checkboxStyle(theme) {
27180
27060
  return {
@@ -27312,17 +27192,31 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
27312
27192
  ml: "x1"
27313
27193
  }, labelText)));
27314
27194
  });
27315
- Checkbox.defaultProps = {
27316
- labelText: undefined,
27317
- checked: undefined,
27318
- defaultChecked: undefined,
27319
- disabled: false,
27320
- error: false,
27321
- id: undefined,
27322
- className: undefined,
27323
- required: false,
27324
- indeterminate: undefined
27325
- };
27195
+
27196
+ function CheckboxGroup(_a) {
27197
+ var className = _a.className,
27198
+ id = _a.id,
27199
+ errorMessage = _a.errorMessage,
27200
+ errorList = _a.errorList,
27201
+ labelText = _a.labelText,
27202
+ helpText = _a.helpText,
27203
+ requirementText = _a.requirementText,
27204
+ props = __rest(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
27205
+
27206
+ var otherProps = Object.assign(Object.assign({}, props), {
27207
+ errorMessage: errorMessage,
27208
+ errorList: errorList
27209
+ });
27210
+ return /*#__PURE__*/React__default.createElement(Fieldset, {
27211
+ className: className,
27212
+ id: id,
27213
+ hasHelpText: !!helpText
27214
+ }, /*#__PURE__*/React__default.createElement(Legend, null, /*#__PURE__*/React__default.createElement(LabelText, null, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, null, requirementText)), helpText && /*#__PURE__*/React__default.createElement(HelpText, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default.createElement(InlineValidation, {
27215
+ mt: "x1",
27216
+ errorMessage: errorMessage,
27217
+ errorList: errorList
27218
+ }));
27219
+ }
27326
27220
 
27327
27221
  var getCheckboxButtons = function getCheckboxButtons(props) {
27328
27222
  var checkboxButtons = React__default.Children.map(props.children, function (checkbox) {
@@ -27368,44 +27262,6 @@ var Legend = styled.legend.withConfig({
27368
27262
  };
27369
27263
  });
27370
27264
 
27371
- var CheckboxGroup = function CheckboxGroup(_a) {
27372
- var className = _a.className,
27373
- id = _a.id,
27374
- errorMessage = _a.errorMessage,
27375
- errorList = _a.errorList,
27376
- labelText = _a.labelText,
27377
- helpText = _a.helpText,
27378
- requirementText = _a.requirementText,
27379
- props = __rest(_a, ["className", "id", "errorMessage", "errorList", "labelText", "helpText", "requirementText"]);
27380
-
27381
- var otherProps = Object.assign(Object.assign({}, props), {
27382
- errorMessage: errorMessage,
27383
- errorList: errorList
27384
- });
27385
- return /*#__PURE__*/React__default.createElement(Fieldset, {
27386
- className: className,
27387
- id: id,
27388
- hasHelpText: !!helpText
27389
- }, /*#__PURE__*/React__default.createElement(Legend, null, /*#__PURE__*/React__default.createElement(LabelText, null, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, null, requirementText)), helpText && /*#__PURE__*/React__default.createElement(HelpText, null, helpText), getCheckboxButtons(otherProps), /*#__PURE__*/React__default.createElement(InlineValidation, {
27390
- mt: "x1",
27391
- errorMessage: errorMessage,
27392
- errorList: errorList
27393
- }));
27394
- };
27395
-
27396
- CheckboxGroup.defaultProps = {
27397
- errorMessage: undefined,
27398
- errorList: undefined,
27399
- defaultValue: undefined,
27400
- checkedValue: undefined,
27401
- onChange: undefined,
27402
- className: undefined,
27403
- id: undefined,
27404
- helpText: undefined,
27405
- requirementText: undefined,
27406
- disabled: false
27407
- };
27408
-
27409
27265
  function requiredArgs$1(required, args) {
27410
27266
  if (args.length < required) {
27411
27267
  throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
@@ -40715,13 +40571,13 @@ var registerDatePickerLocales = function registerDatePickerLocales() {
40715
40571
 
40716
40572
  var LocaleContext = /*#__PURE__*/React__default.createContext(null);
40717
40573
 
40718
- var localizedFormat = function localizedFormat(date, stringFormat, ndsLocale) {
40719
- return format(date, stringFormat, {
40574
+ function localizedFormat(date, dateFormat, ndsLocale) {
40575
+ return format(date, dateFormat, {
40720
40576
  locale: NDS_TO_DATE_FN_LOCALES_MAP[ndsLocale]
40721
40577
  });
40722
- };
40578
+ }
40723
40579
 
40724
- var DatePickerHeader = function DatePickerHeader(_ref) {
40580
+ function DatePickerHeader(_ref) {
40725
40581
  var date = _ref.date,
40726
40582
  decreaseMonth = _ref.decreaseMonth,
40727
40583
  increaseMonth = _ref.increaseMonth,
@@ -40753,11 +40609,7 @@ var DatePickerHeader = function DatePickerHeader(_ref) {
40753
40609
  onClick: increaseMonth,
40754
40610
  disabled: nextMonthButtonDisabled
40755
40611
  }));
40756
- };
40757
-
40758
- DatePickerHeader.defaultProps = {
40759
- locale: undefined
40760
- };
40612
+ }
40761
40613
 
40762
40614
  var DatePickerInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
40763
40615
  var onChange = _ref.onChange,
@@ -41071,14 +40923,24 @@ var DatePicker = /*#__PURE__*/forwardRef(function (_a, datePickerRef) {
41071
40923
  }));
41072
40924
  });
41073
40925
 
40926
+ var FieldLabelDefaultProps = {
40927
+ children: null,
40928
+ requirementText: null,
40929
+ helpText: null,
40930
+ id: undefined
40931
+ };
40932
+
41074
40933
  var RangeContainer = function RangeContainer(_a) {
41075
- var labelProps = _a.labelProps,
41076
- startComponent = _a.startComponent,
40934
+ var startComponent = _a.startComponent,
41077
40935
  endComponent = _a.endComponent,
41078
40936
  _a$errorMessages = _a.errorMessages,
41079
40937
  errorMessages = _a$errorMessages === void 0 ? [] : _a$errorMessages,
40938
+ _a$labelProps = _a.labelProps,
40939
+ labelProps = _a$labelProps === void 0 ? Object.assign(Object.assign({}, FieldLabelDefaultProps), {
40940
+ labelText: "Range"
40941
+ }) : _a$labelProps,
41080
40942
  size = _a.size,
41081
- props = __rest(_a, ["labelProps", "startComponent", "endComponent", "errorMessages", "size"]);
40943
+ props = __rest(_a, ["startComponent", "endComponent", "errorMessages", "labelProps", "size"]);
41082
40944
 
41083
40945
  var spaceProps = getSubset(props, propTypes.space);
41084
40946
  var restProps = omitSubset(props, propTypes.space);
@@ -41106,15 +40968,6 @@ var RangeContainer = function RangeContainer(_a) {
41106
40968
  }));
41107
40969
  };
41108
40970
 
41109
- RangeContainer.defaultProps = {
41110
- labelProps: Object.assign(Object.assign({}, FieldLabelDefaultProps), {
41111
- labelText: "Range"
41112
- }),
41113
- startComponent: null,
41114
- endComponent: null,
41115
- errorMessages: []
41116
- };
41117
-
41118
40971
  var _ndsDatePicker;
41119
40972
  var START_DATE_CLASS = "nds-datepicker-day--start-date";
41120
40973
  var END_DATE_CLASS = "nds-datepicker-day--end-date";
@@ -42247,6 +42100,7 @@ function Sidebar(_a) {
42247
42100
  onClick: closeOnOutsideClick && isOpen && onClose
42248
42101
  })), /*#__PURE__*/React__default.createElement(AnimatedBox, Object.assign({
42249
42102
  role: "dialog",
42103
+ paddingX: "x1",
42250
42104
  bg: "white",
42251
42105
  display: "flex",
42252
42106
  flexDirection: "column",
@@ -42267,27 +42121,21 @@ function Sidebar(_a) {
42267
42121
  zIndex: zIndex,
42268
42122
  ref: sideBarRef
42269
42123
  }, props), /*#__PURE__*/React__default.createElement(Flex, {
42270
- p: p,
42271
- maxHeight: "100%",
42272
- overflow: "auto",
42273
- flexGrow: 1,
42274
42124
  flexDirection: "column",
42275
- style: {
42276
- overflowBehaviour: "contain"
42277
- }
42278
- }, /*#__PURE__*/React__default.createElement(Flex, {
42279
- flexDirection: "column",
42280
- pb: "x3"
42125
+ p: "x2",
42126
+ borderBottomWidth: "1px",
42127
+ borderBottomStyle: "solid",
42128
+ borderBottomColor: "lightGrey"
42281
42129
  }, /*#__PURE__*/React__default.createElement(Flex, {
42282
42130
  flexDirection: "column",
42283
- pb: "x2"
42131
+ gap: "x1"
42284
42132
  }, /*#__PURE__*/React__default.createElement(Flex, {
42285
42133
  justifyContent: "space-between",
42286
42134
  alignItems: "flex-start"
42287
42135
  }, title && /*#__PURE__*/React__default.createElement(Flex, {
42288
42136
  alignItems: "center",
42289
42137
  height: "100%"
42290
- }, /*#__PURE__*/React__default.createElement(Heading3, {
42138
+ }, /*#__PURE__*/React__default.createElement(Heading2, {
42291
42139
  mb: 0
42292
42140
  }, title)), !hideCloseButton && /*#__PURE__*/React__default.createElement(Box, {
42293
42141
  marginLeft: "x2"
@@ -42299,12 +42147,17 @@ function Sidebar(_a) {
42299
42147
  "data-testid": closeButtonTestId,
42300
42148
  "aria-label": closeButtonAriaLabel || t("close")
42301
42149
  }))), renderHelpText ? renderHelpText() : helpText && /*#__PURE__*/React__default.createElement(Text, {
42302
- pt: "x1",
42303
42150
  color: "midGrey"
42304
- }, helpText)), /*#__PURE__*/React__default.createElement(Divider$1, {
42305
- m: "0 -8px",
42306
- width: "calc(100% + 16px)"
42307
- })), /*#__PURE__*/React__default.createElement(AnimatedBox, {
42151
+ }, helpText))), /*#__PURE__*/React__default.createElement(Flex, {
42152
+ p: p,
42153
+ maxHeight: "100%",
42154
+ overflow: "auto",
42155
+ flexGrow: 1,
42156
+ flexDirection: "column",
42157
+ style: {
42158
+ overflowBehaviour: "contain"
42159
+ }
42160
+ }, /*#__PURE__*/React__default.createElement(AnimatedBox, {
42308
42161
  variants: childVariants,
42309
42162
  animate: isOpen ? "open" : "closed",
42310
42163
  flexGrow: 1,
@@ -42324,8 +42177,9 @@ function Sidebar(_a) {
42324
42177
  })));
42325
42178
  }
42326
42179
 
42327
- var LoadingAnimation = function LoadingAnimation(_ref) {
42328
- var inactive = _ref.inactive;
42180
+ function LoadingAnimation(_ref) {
42181
+ var _ref$inactive = _ref.inactive,
42182
+ inactive = _ref$inactive === void 0 ? false : _ref$inactive;
42329
42183
 
42330
42184
  var _useTheme = useTheme(),
42331
42185
  colors = _useTheme.colors;
@@ -42452,11 +42306,7 @@ var LoadingAnimation = function LoadingAnimation(_ref) {
42452
42306
  repeatCount: "indefinite"
42453
42307
  }))))
42454
42308
  );
42455
- };
42456
-
42457
- LoadingAnimation.defaultProps = {
42458
- inactive: false
42459
- };
42309
+ }
42460
42310
 
42461
42311
  function unwrapExports (x) {
42462
42312
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -44358,22 +44208,27 @@ var StyledReactModal = styled(ReactModal).withConfig({
44358
44208
  });
44359
44209
 
44360
44210
  var Modal = function Modal(_ref4) {
44361
- var isOpen = _ref4.isOpen,
44211
+ var _ref4$isOpen = _ref4.isOpen,
44212
+ isOpen = _ref4$isOpen === void 0 ? true : _ref4$isOpen,
44213
+ _ref4$shouldFocusAfte = _ref4.shouldFocusAfterRender,
44214
+ shouldFocusAfterRender = _ref4$shouldFocusAfte === void 0 ? true : _ref4$shouldFocusAfte,
44215
+ _ref4$shouldReturnFoc = _ref4.shouldReturnFocusAfterClose,
44216
+ shouldReturnFocusAfterClose = _ref4$shouldReturnFoc === void 0 ? true : _ref4$shouldReturnFoc,
44217
+ _ref4$maxWidth = _ref4.maxWidth,
44218
+ maxWidth = _ref4$maxWidth === void 0 ? "624px" : _ref4$maxWidth,
44219
+ _ref4$ariaHideApp = _ref4.ariaHideApp,
44220
+ ariaHideApp = _ref4$ariaHideApp === void 0 ? true : _ref4$ariaHideApp,
44362
44221
  children = _ref4.children,
44363
44222
  title = _ref4.title,
44364
44223
  onRequestClose = _ref4.onRequestClose,
44365
44224
  onAfterOpen = _ref4.onAfterOpen,
44366
- shouldFocusAfterRender = _ref4.shouldFocusAfterRender,
44367
- shouldReturnFocusAfterClose = _ref4.shouldReturnFocusAfterClose,
44368
44225
  ariaLabel = _ref4.ariaLabel,
44369
44226
  ariaDescribedBy = _ref4.ariaDescribedBy,
44370
44227
  portalClassName = _ref4.portalClassName,
44371
44228
  overlayClassName = _ref4.overlayClassName,
44372
44229
  className = _ref4.className,
44373
44230
  id = _ref4.id,
44374
- maxWidth = _ref4.maxWidth,
44375
44231
  appElement = _ref4.appElement,
44376
- ariaHideApp = _ref4.ariaHideApp,
44377
44232
  footerContent = _ref4.footerContent,
44378
44233
  closeAriaLabel = _ref4.closeAriaLabel,
44379
44234
  parentSelector = _ref4.parentSelector;
@@ -44420,26 +44275,6 @@ var Modal = function Modal(_ref4) {
44420
44275
  }, children), footerContent && /*#__PURE__*/React__default.createElement(ModalFooter, null, footerContent)));
44421
44276
  };
44422
44277
 
44423
- Modal.defaultProps = {
44424
- isOpen: true,
44425
- title: undefined,
44426
- ariaLabel: undefined,
44427
- onRequestClose: undefined,
44428
- closeAriaLabel: undefined,
44429
- onAfterOpen: undefined,
44430
- shouldFocusAfterRender: true,
44431
- shouldReturnFocusAfterClose: true,
44432
- ariaDescribedBy: undefined,
44433
- maxWidth: "624px",
44434
- portalClassName: undefined,
44435
- overlayClassName: undefined,
44436
- className: undefined,
44437
- id: undefined,
44438
- appElement: undefined,
44439
- ariaHideApp: true,
44440
- footerContent: undefined,
44441
- parentSelector: undefined
44442
- };
44443
44278
  Modal.setAppElement = ReactModal.setAppElement;
44444
44279
 
44445
44280
  /* eslint-disable react/destructuring-assignment */
@@ -44582,21 +44417,6 @@ var StatelessNavBarDropdownMenu = /*#__PURE__*/function (_React$Component) {
44582
44417
  /* eslint-enable react/destructuring-assignment */
44583
44418
 
44584
44419
 
44585
- StatelessNavBarDropdownMenu.propTypes = {
44586
- children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
44587
- trigger: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
44588
- menuState: PropTypes.shape({
44589
- isOpen: PropTypes.bool,
44590
- openMenu: PropTypes.func,
44591
- closeMenu: PropTypes.func,
44592
- toggleMenu: PropTypes.func
44593
- }).isRequired,
44594
- showArrow: PropTypes.bool,
44595
- placement: PropTypes.oneOf(["bottom-start", "right-start"]),
44596
- modifiers: PropTypes.shape({}),
44597
- triggerTogglesMenuState: PropTypes.bool,
44598
- dropdownMenuContainerEventHandlers: PropTypes.func
44599
- };
44600
44420
  StatelessNavBarDropdownMenu.defaultProps = {
44601
44421
  showArrow: true,
44602
44422
  placement: "bottom-start",
@@ -44605,10 +44425,6 @@ StatelessNavBarDropdownMenu.defaultProps = {
44605
44425
  dropdownMenuContainerEventHandlers: function dropdownMenuContainerEventHandlers() {}
44606
44426
  };
44607
44427
  var NavBarDropdownMenu = withMenuState(StatelessNavBarDropdownMenu);
44608
- NavBarDropdownMenu.propTypes = {
44609
- showDelay: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
44610
- hideDelay: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
44611
- };
44612
44428
  NavBarDropdownMenu.defaultProps = {
44613
44429
  showDelay: "0",
44614
44430
  hideDelay: "100"
@@ -44783,10 +44599,6 @@ var SubMenuTriggerButton = /*#__PURE__*/React__default.forwardRef(function (_a,
44783
44599
  p: "2px"
44784
44600
  })));
44785
44601
  });
44786
- SubMenuTriggerButton.propTypes = {
44787
- name: PropTypes.string.isRequired,
44788
- isOpen: PropTypes.bool
44789
- };
44790
44602
  SubMenuTriggerButton.defaultProps = {
44791
44603
  isOpen: false
44792
44604
  };
@@ -44831,11 +44643,6 @@ var SubMenuTrigger = function SubMenuTrigger(props) {
44831
44643
  }, renderSubMenuItems(menuData, onItemClick, SubMenuTrigger)));
44832
44644
  };
44833
44645
 
44834
- SubMenuTrigger.propTypes = {
44835
- name: PropTypes.string.isRequired,
44836
- menuData: PropTypes.arrayOf(PropTypes.shape({})),
44837
- onItemClick: PropTypes.func
44838
- };
44839
44646
  SubMenuTrigger.defaultProps = {
44840
44647
  menuData: null,
44841
44648
  onItemClick: null
@@ -44844,15 +44651,20 @@ SubMenuTrigger.defaultProps = {
44844
44651
  var StyledButton = styled.button.withConfig({
44845
44652
  displayName: "MenuTrigger__StyledButton",
44846
44653
  componentId: "sc-ooz0w0-0"
44847
- })(function (_ref) {
44848
- var color = _ref.color,
44849
- hoverColor = _ref.hoverColor,
44850
- hoverBackground = _ref.hoverBackground;
44654
+ })(function (_a) {
44655
+ var _a$color = _a.color,
44656
+ color = _a$color === void 0 ? "white" : _a$color,
44657
+ _a$hoverColor = _a.hoverColor,
44658
+ hoverColor = _a$hoverColor === void 0 ? "lightBlue" : _a$hoverColor,
44659
+ _a$hoverBackground = _a.hoverBackground,
44660
+ hoverBackground = _a$hoverBackground === void 0 ? "black" : _a$hoverBackground,
44661
+ props = __rest(_a, ["color", "hoverColor", "hoverBackground"]);
44662
+
44851
44663
  return {
44852
44664
  display: "flex",
44853
44665
  alignItems: "center",
44854
44666
  position: "relative",
44855
- color: themeGet("colors." + color, color)(color),
44667
+ color: themeGet("colors." + color, color)(props),
44856
44668
  border: "none",
44857
44669
  backgroundColor: "transparent",
44858
44670
  textDecoration: "none",
@@ -44863,8 +44675,8 @@ var StyledButton = styled.button.withConfig({
44863
44675
  borderRadius: Theme.radii.medium,
44864
44676
  "&:hover, &:focus": {
44865
44677
  outline: "none",
44866
- color: themeGet("colors." + hoverColor, hoverColor)(hoverColor),
44867
- backgroundColor: themeGet("colors." + hoverBackground, hoverBackground)(hoverBackground),
44678
+ color: themeGet("colors." + hoverColor, hoverColor)(props),
44679
+ backgroundColor: themeGet("colors." + hoverBackground, hoverBackground)(props),
44868
44680
  cursor: "pointer"
44869
44681
  },
44870
44682
  "&:focus": {
@@ -44875,16 +44687,7 @@ var StyledButton = styled.button.withConfig({
44875
44687
  }
44876
44688
  };
44877
44689
  });
44878
- StyledButton.propTypes = {
44879
- color: PropTypes.string,
44880
- hoverColor: PropTypes.string,
44881
- hoverBackground: PropTypes.string
44882
- };
44883
- StyledButton.defaultProps = {
44884
- color: Theme.colors.white,
44885
- hoverColor: Theme.colors.lightBlue,
44886
- hoverBackground: Theme.colors.black
44887
- };
44690
+ StyledButton.defaultProps = {};
44888
44691
  var MenuTriggerButton = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
44889
44692
  var name = _a.name,
44890
44693
  color = _a.color,
@@ -44909,27 +44712,20 @@ var MenuTriggerButton = /*#__PURE__*/React__default.forwardRef(function (_a, ref
44909
44712
  p: "2px"
44910
44713
  }));
44911
44714
  });
44912
- MenuTriggerButton.propTypes = {
44913
- name: PropTypes.string.isRequired,
44914
- color: PropTypes.string,
44915
- hoverColor: PropTypes.string,
44916
- hoverBackground: PropTypes.string
44917
- };
44918
- MenuTriggerButton.defaultProps = {
44919
- color: Theme.colors.white,
44920
- hoverColor: Theme.colors.lightBlue,
44921
- hoverBackground: Theme.colors.black
44922
- };
44923
44715
 
44924
- var MenuTrigger = function MenuTrigger(props) {
44925
- var menuData = props.menuData,
44926
- name = props.name,
44927
- color = props.color,
44928
- hoverColor = props.hoverColor,
44929
- hoverBackground = props.hoverBackground,
44930
- ariaLabel = props["aria-label"],
44931
- otherProps = __rest(props, ["menuData", "name", "color", "hoverColor", "hoverBackground", "aria-label"]);
44716
+ function MenuTrigger(_a) {
44717
+ var menuData = _a.menuData,
44718
+ name = _a.name,
44719
+ color = _a.color,
44720
+ hoverColor = _a.hoverColor,
44721
+ hoverBackground = _a.hoverBackground,
44722
+ ariaLabel = _a["aria-label"],
44723
+ otherProps = __rest(_a, ["menuData", "name", "color", "hoverColor", "hoverBackground", "aria-label"]);
44932
44724
 
44725
+ var theme = useTheme();
44726
+ color = color || theme.colors.white;
44727
+ hoverColor = hoverColor || theme.colors.lightBlue;
44728
+ hoverBackground = hoverBackground || theme.colors.black;
44933
44729
  var dropdownMinWidth = "auto";
44934
44730
 
44935
44731
  var setDropdownMinWidth = function setDropdownMinWidth(popperData) {
@@ -44963,8 +44759,8 @@ var MenuTrigger = function MenuTrigger(props) {
44963
44759
  "aria-label": ariaLabel
44964
44760
  });
44965
44761
  }
44966
- }), function (_ref2) {
44967
- var closeMenu = _ref2.closeMenu;
44762
+ }), function (_ref) {
44763
+ var closeMenu = _ref.closeMenu;
44968
44764
  return /*#__PURE__*/React__default.createElement("ul", {
44969
44765
  style: {
44970
44766
  listStyle: "none",
@@ -44977,23 +44773,7 @@ var MenuTrigger = function MenuTrigger(props) {
44977
44773
  e.stopPropagation();
44978
44774
  }, SubMenuTrigger));
44979
44775
  });
44980
- };
44981
-
44982
- MenuTrigger.propTypes = {
44983
- name: PropTypes.node.isRequired,
44984
- "aria-label": PropTypes.string,
44985
- menuData: PropTypes.arrayOf(PropTypes.shape({})),
44986
- color: PropTypes.string,
44987
- hoverColor: PropTypes.string,
44988
- hoverBackground: PropTypes.string
44989
- };
44990
- MenuTrigger.defaultProps = {
44991
- menuData: null,
44992
- "aria-label": undefined,
44993
- color: Theme.colors.white,
44994
- hoverColor: Theme.colors.lightBlue,
44995
- hoverBackground: Theme.colors.black
44996
- };
44776
+ }
44997
44777
 
44998
44778
  var getSharedStyles$1 = function getSharedStyles(color) {
44999
44779
  return {
@@ -45037,11 +44817,6 @@ var ApplyMenuLinkStyles$1 = styled.div.withConfig({
45037
44817
  })
45038
44818
  };
45039
44819
  });
45040
- ApplyMenuLinkStyles$1.propTypes = {
45041
- color: PropTypes.string,
45042
- hoverColor: PropTypes.string,
45043
- hoverBackground: PropTypes.string
45044
- };
45045
44820
  ApplyMenuLinkStyles$1.defaultProps = {
45046
44821
  color: Theme.colors.white,
45047
44822
  hoverColor: Theme.colors.lightBlue,
@@ -45142,14 +44917,6 @@ var BaseDesktopMenu = function BaseDesktopMenu(_a) {
45142
44917
  }));
45143
44918
  };
45144
44919
 
45145
- BaseDesktopMenu.propTypes = {
45146
- menuData: PropTypes.arrayOf(PropTypes.shape({})),
45147
- themeColorObject: PropTypes.shape({})
45148
- };
45149
- BaseDesktopMenu.defaultProps = {
45150
- menuData: null,
45151
- themeColorObject: null
45152
- };
45153
44920
  var DesktopMenu = styled(BaseDesktopMenu).withConfig({
45154
44921
  displayName: "DesktopMenu",
45155
44922
  componentId: "sc-1mpxh2o-4"
@@ -45161,37 +44928,6 @@ var DesktopMenu = styled(BaseDesktopMenu).withConfig({
45161
44928
  }
45162
44929
  });
45163
44930
 
45164
- var isValidMenuItem = function validArrayItem(arr, idx, componentName, location, propFullName) {
45165
- var obj = arr[idx];
45166
-
45167
- if (typeof obj !== "object") {
45168
- throw new Error("Invalid " + propFullName + " of type `" + typeof obj + "` supplied to `" + componentName + "`, expected `object`");
45169
- }
45170
-
45171
- PropTypes.checkPropTypes({
45172
- name: PropTypes.node.isRequired,
45173
- ariaLabel: PropTypes.string,
45174
- href: PropTypes.string,
45175
- items: PropTypes.arrayOf(isValidMenuItem),
45176
- render: PropTypes.func
45177
- }, obj, propFullName, componentName);
45178
- var numberOfDefiningKeys = 0;
45179
- var definingKeys = ["href", "items", "render"];
45180
- var keys = Object.keys(obj);
45181
-
45182
- for (var i = 0; i < keys.length; i += 1) {
45183
- if (definingKeys.includes(keys[i])) {
45184
- numberOfDefiningKeys += 1;
45185
- }
45186
- }
45187
-
45188
- if (numberOfDefiningKeys > 1) {
45189
- return new Error("Invalid set of keys for Menu Item with name `" + obj.name + "` supplied to `" + componentName + "`. Include a name key and optionally ONE of " + definingKeys);
45190
- }
45191
-
45192
- return null;
45193
- };
45194
-
45195
44931
  var BrandingWrap = styled.div.withConfig({
45196
44932
  displayName: "MobileMenu__BrandingWrap",
45197
44933
  componentId: "sc-vqy2lk-0"
@@ -45255,12 +44991,6 @@ var ApplyMenuLinkStyles = styled.li.withConfig({
45255
44991
  })
45256
44992
  };
45257
44993
  });
45258
- ApplyMenuLinkStyles.propTypes = {
45259
- layer: PropTypes.number,
45260
- color: PropTypes.string,
45261
- hoverColor: PropTypes.string,
45262
- hoverBackground: PropTypes.string
45263
- };
45264
44994
  ApplyMenuLinkStyles.defaultProps = {
45265
44995
  layer: 0,
45266
44996
  color: Theme.colors.white,
@@ -45408,20 +45138,6 @@ var SubMenu = function SubMenu(_ref5) {
45408
45138
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, getSubMenuHeading(layer, themeColorObject && themeColorObject.textColor, menuItem.name), /*#__PURE__*/React__default.createElement(SubMenuItemsList, null, renderMenuItems(menuItem.items, linkOnClick, themeColorObject, layer + 1)));
45409
45139
  };
45410
45140
 
45411
- var ThemeColorObjectPropTypes = {
45412
- textColor: PropTypes.string,
45413
- background: PropTypes.string,
45414
- logoColor: PropTypes.string
45415
- };
45416
- SubMenu.propTypes = {
45417
- layer: PropTypes.number.isRequired,
45418
- menuItem: PropTypes.shape({
45419
- items: PropTypes.arrayOf(PropTypes.shape({})),
45420
- name: PropTypes.string.isRequired
45421
- }).isRequired,
45422
- linkOnClick: PropTypes.func,
45423
- themeColorObject: PropTypes.shape(ThemeColorObjectPropTypes)
45424
- };
45425
45141
  SubMenu.defaultProps = {
45426
45142
  linkOnClick: null,
45427
45143
  themeColorObject: undefined
@@ -45469,16 +45185,6 @@ var BaseMobileMenu = function BaseMobileMenu(_a) {
45469
45185
  }, subtext)), /*#__PURE__*/React__default.createElement(Menu, null, menuData.primaryMenu && renderTopLayerMenuItems(menuData.primaryMenu, closeMenu, themeColorObject), menuData.secondaryMenu && renderTopLayerMenuItems(menuData.secondaryMenu, closeMenu, themeColorObject)));
45470
45186
  };
45471
45187
 
45472
- BaseMobileMenu.propTypes = {
45473
- menuData: PropTypes.shape({
45474
- primaryMenu: PropTypes.arrayOf(PropTypes.shape({})),
45475
- secondaryMenu: PropTypes.arrayOf(PropTypes.shape({}))
45476
- }),
45477
- subtext: PropTypes.string,
45478
- includeSubtext: PropTypes.bool,
45479
- closeMenu: PropTypes.func,
45480
- themeColorObject: PropTypes.shape(ThemeColorObjectPropTypes)
45481
- };
45482
45188
  BaseMobileMenu.defaultProps = {
45483
45189
  menuData: null,
45484
45190
  subtext: null,
@@ -45572,20 +45278,6 @@ var SmallNavBarNoState = /*#__PURE__*/function (_React$Component) {
45572
45278
  return SmallNavBarNoState;
45573
45279
  }(React__default.Component);
45574
45280
 
45575
- SmallNavBarNoState.propTypes = {
45576
- menuState: PropTypes.shape({
45577
- isOpen: PropTypes.bool,
45578
- toggleMenu: PropTypes.func,
45579
- closeMenu: PropTypes.func
45580
- }).isRequired,
45581
- menuData: PropTypes.shape(MenuDataPropTypes),
45582
- subtext: PropTypes.string,
45583
- brandingLinkHref: PropTypes.string,
45584
- brandingLinkTo: PropTypes.string,
45585
- breakpointLower: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
45586
- width: PropTypes.number,
45587
- themeColor: PropTypes.oneOf(["blue", "white"])
45588
- };
45589
45281
  SmallNavBarNoState.defaultProps = {
45590
45282
  menuData: null,
45591
45283
  subtext: null,
@@ -45695,20 +45387,6 @@ var MediumNavBar = function MediumNavBar(_a) {
45695
45387
  })))));
45696
45388
  };
45697
45389
 
45698
- var MenuDataPropTypes = {
45699
- primaryMenu: PropTypes.arrayOf(isValidMenuItem),
45700
- secondaryMenu: PropTypes.arrayOf(isValidMenuItem),
45701
- search: PropTypes.shape({
45702
- onSubmit: PropTypes.func
45703
- })
45704
- };
45705
- MediumNavBar.propTypes = {
45706
- subtext: PropTypes.string,
45707
- brandingLinkHref: PropTypes.string,
45708
- menuData: PropTypes.shape(MenuDataPropTypes),
45709
- brandingLinkTo: PropTypes.string,
45710
- themeColor: PropTypes.oneOf(["blue", "white"])
45711
- };
45712
45390
  MediumNavBar.defaultProps = {
45713
45391
  subtext: null,
45714
45392
  brandingLinkHref: "/",
@@ -45776,9 +45454,6 @@ var MenuIcon = function MenuIcon(_ref4) {
45776
45454
  title: title
45777
45455
  });
45778
45456
  };
45779
- MenuIcon.propTypes = {
45780
- isOpen: PropTypes.bool
45781
- };
45782
45457
  MenuIcon.defaultProps = {
45783
45458
  isOpen: false
45784
45459
  };
@@ -45811,12 +45486,6 @@ var NavBar = function NavBar(props) {
45811
45486
  }, /*#__PURE__*/React__default.createElement(SelectNavBarBasedOnWidth, Object.assign({}, props)));
45812
45487
  };
45813
45488
 
45814
- NavBar.propTypes = {
45815
- menuData: PropTypes.shape(MenuDataPropTypes),
45816
- className: PropTypes.string,
45817
- breakpointUpper: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
45818
- themeColor: PropTypes.oneOf(["blue", "white"])
45819
- };
45820
45489
  NavBar.defaultProps = {
45821
45490
  menuData: null,
45822
45491
  className: undefined,
@@ -48682,9 +48351,13 @@ var Overlay = styled(Flex).withConfig({
48682
48351
  displayName: "Overlay",
48683
48352
  componentId: "sc-mcd6gm-0"
48684
48353
  })(function (_ref) {
48685
- var dark = _ref.dark,
48354
+ var _ref$dark = _ref.dark,
48355
+ dark = _ref$dark === void 0 ? false : _ref$dark,
48686
48356
  theme = _ref.theme;
48687
48357
  return {
48358
+ position: "fixed",
48359
+ justifyContent: "center",
48360
+ alignItems: "center",
48688
48361
  top: 0,
48689
48362
  left: 0,
48690
48363
  right: 0,
@@ -48693,12 +48366,6 @@ var Overlay = styled(Flex).withConfig({
48693
48366
  backgroundColor: dark ? curriedTransparentize(0.5, theme.colors.blackBlue) : curriedTransparentize(0.05, theme.colors.white)
48694
48367
  };
48695
48368
  });
48696
- Overlay.defaultProps = {
48697
- position: "fixed",
48698
- justifyContent: "center",
48699
- alignItems: "center",
48700
- dark: false
48701
- };
48702
48369
 
48703
48370
  var getHoverBackground = function getHoverBackground(currentPage, disabled, theme) {
48704
48371
  if (currentPage) {
@@ -48750,8 +48417,10 @@ var PageNumber = styled(PaginationButton).withConfig({
48750
48417
  });
48751
48418
 
48752
48419
  var PreviousButton = function PreviousButton(_ref) {
48753
- var disabled = _ref.disabled,
48754
- onClick = _ref.onClick,
48420
+ var _ref$disabled = _ref.disabled,
48421
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
48422
+ _ref$onClick = _ref.onClick,
48423
+ onClick = _ref$onClick === void 0 ? null : _ref$onClick,
48755
48424
  label = _ref.label,
48756
48425
  ariaLabel = _ref.ariaLabel;
48757
48426
 
@@ -48768,17 +48437,6 @@ var PreviousButton = function PreviousButton(_ref) {
48768
48437
  }), " ", label || t("previous"));
48769
48438
  };
48770
48439
 
48771
- PreviousButton.propTypes = {
48772
- disabled: PropTypes.bool,
48773
- onClick: PropTypes.func,
48774
- label: PropTypes.node,
48775
- ariaLabel: PropTypes.string
48776
- };
48777
- PreviousButton.defaultProps = {
48778
- disabled: false,
48779
- onClick: null
48780
- };
48781
-
48782
48440
  var NextButton = function NextButton(_ref) {
48783
48441
  var disabled = _ref.disabled,
48784
48442
  onClick = _ref.onClick,
@@ -48798,17 +48456,6 @@ var NextButton = function NextButton(_ref) {
48798
48456
  }));
48799
48457
  };
48800
48458
 
48801
- NextButton.propTypes = {
48802
- disabled: PropTypes.bool,
48803
- onClick: PropTypes.func,
48804
- label: PropTypes.node,
48805
- ariaLabel: PropTypes.string
48806
- };
48807
- NextButton.defaultProps = {
48808
- disabled: false,
48809
- onClick: null
48810
- };
48811
-
48812
48459
  var SEPARATOR = "...";
48813
48460
  var getPageItemsToDisplay = function getPageItemsToDisplay(totalPages, currentPage) {
48814
48461
  var MAX_PAGES_TO_SHOW = 6;
@@ -48831,11 +48478,11 @@ var getPageItemsToDisplay = function getPageItemsToDisplay(totalPages, currentPa
48831
48478
  };
48832
48479
 
48833
48480
  function Pagination(_a) {
48834
- var currentPage = _a.currentPage,
48835
- totalPages = _a.totalPages,
48836
- onNext = _a.onNext,
48481
+ var onNext = _a.onNext,
48837
48482
  onPrevious = _a.onPrevious,
48838
48483
  onSelectPage = _a.onSelectPage,
48484
+ currentPage = _a.currentPage,
48485
+ totalPages = _a.totalPages,
48839
48486
  nextAriaLabel = _a.nextAriaLabel,
48840
48487
  nextLabel = _a.nextLabel,
48841
48488
  previousAriaLabel = _a.previousAriaLabel,
@@ -48843,7 +48490,7 @@ function Pagination(_a) {
48843
48490
  scrollToTopAfterPagination = _a.scrollToTopAfterPagination,
48844
48491
  scrollTargetRef = _a.scrollTargetRef,
48845
48492
  ariaLabel = _a["aria-label"],
48846
- restProps = __rest(_a, ["currentPage", "totalPages", "onNext", "onPrevious", "onSelectPage", "nextAriaLabel", "nextLabel", "previousAriaLabel", "previousLabel", "scrollToTopAfterPagination", "scrollTargetRef", "aria-label"]);
48493
+ restProps = __rest(_a, ["onNext", "onPrevious", "onSelectPage", "currentPage", "totalPages", "nextAriaLabel", "nextLabel", "previousAriaLabel", "previousLabel", "scrollToTopAfterPagination", "scrollTargetRef", "aria-label"]);
48847
48494
 
48848
48495
  var _useTranslation = useTranslation(),
48849
48496
  t = _useTranslation.t;
@@ -48909,29 +48556,6 @@ function Pagination(_a) {
48909
48556
  }));
48910
48557
  }
48911
48558
 
48912
- Pagination.propTypes = {
48913
- currentPage: PropTypes.number.isRequired,
48914
- totalPages: PropTypes.number.isRequired,
48915
- onNext: PropTypes.func,
48916
- onPrevious: PropTypes.func,
48917
- onSelectPage: PropTypes.func,
48918
- nextLabel: PropTypes.node,
48919
- nextAriaLabel: PropTypes.string,
48920
- previousLabel: PropTypes.node,
48921
- previousAriaLabel: PropTypes.string,
48922
- "aria-label": PropTypes.string
48923
- };
48924
- Pagination.defaultProps = {
48925
- onNext: null,
48926
- onPrevious: null,
48927
- onSelectPage: null,
48928
- nextLabel: undefined,
48929
- nextAriaLabel: undefined,
48930
- previousLabel: undefined,
48931
- previousAriaLabel: undefined,
48932
- "aria-label": undefined
48933
- };
48934
-
48935
48559
  var radioStyle = function radioStyle(theme) {
48936
48560
  return {
48937
48561
  checked: {
@@ -49028,14 +48652,17 @@ var RadioInput = styled.input.withConfig({
49028
48652
  }), _ref2["&:not(:checked) + " + VisualRadio] = Object.assign({}, getRadioStyle(props, "unchecked")), _ref2;
49029
48653
  });
49030
48654
  var Radio = /*#__PURE__*/forwardRef(function (_a, ref) {
49031
- var className = _a.className,
48655
+ var _a$disabled = _a.disabled,
48656
+ disabled = _a$disabled === void 0 ? false : _a$disabled,
48657
+ _a$error = _a.error,
48658
+ error = _a$error === void 0 ? false : _a$error,
48659
+ _a$required = _a.required,
48660
+ required = _a$required === void 0 ? false : _a$required,
48661
+ className = _a.className,
49032
48662
  labelText = _a.labelText,
49033
- disabled = _a.disabled,
49034
48663
  checked = _a.checked,
49035
- required = _a.required,
49036
- error = _a.error,
49037
48664
  size = _a.size,
49038
- props = __rest(_a, ["className", "labelText", "disabled", "checked", "required", "error", "size"]);
48665
+ props = __rest(_a, ["disabled", "error", "required", "className", "labelText", "checked", "size"]);
49039
48666
 
49040
48667
  var componentSize = useComponentSize(size);
49041
48668
  var spaceProps = getSubset(props, propTypes.space);
@@ -49065,48 +48692,8 @@ var Radio = /*#__PURE__*/forwardRef(function (_a, ref) {
49065
48692
  disabled: disabled
49066
48693
  }, " ", labelText, " ")));
49067
48694
  });
49068
- Radio.defaultProps = {
49069
- checked: undefined,
49070
- defaultChecked: undefined,
49071
- disabled: false,
49072
- error: false,
49073
- id: undefined,
49074
- className: undefined,
49075
- required: false
49076
- };
49077
-
49078
- var labelTextStyles$1 = function labelTextStyles(theme) {
49079
- return {
49080
- fontSize: theme.fontSizes.small,
49081
- fontWeight: Number(theme.fontWeights.bold),
49082
- lineHeight: theme.lineHeights.smallTextBase
49083
- };
49084
- };
49085
48695
 
49086
- var getRadioButtons = function getRadioButtons(props) {
49087
- var radioButtons = React__default.Children.map(props.children, function (radio) {
49088
- var _a = radio.props,
49089
- value = _a.value,
49090
- disabled = _a.disabled,
49091
- required = _a.required,
49092
- onChange = _a.onChange,
49093
- radioProps = __rest(_a, ["value", "disabled", "required", "onChange"]);
49094
-
49095
- return /*#__PURE__*/React__default.createElement(Radio, Object.assign({}, radioProps, {
49096
- value: value,
49097
- disabled: props.disabled || disabled,
49098
- error: !!(props.errorMessage || props.errorList),
49099
- required: props.required || required,
49100
- name: props.name,
49101
- defaultChecked: value === props.defaultValue ? true : undefined,
49102
- checked: props.checkedValue && value === props.checkedValue,
49103
- onChange: props.onChange || onChange
49104
- }));
49105
- });
49106
- return radioButtons;
49107
- };
49108
-
49109
- var RadioGroup = function RadioGroup(_a) {
48696
+ function RadioGroup(_a) {
49110
48697
  var className = _a.className,
49111
48698
  id = _a.id,
49112
48699
  errorMessage = _a.errorMessage,
@@ -49136,19 +48723,37 @@ var RadioGroup = function RadioGroup(_a) {
49136
48723
  errorMessage: errorMessage,
49137
48724
  errorList: errorList
49138
48725
  }));
48726
+ }
48727
+
48728
+ var labelTextStyles$1 = function labelTextStyles(theme) {
48729
+ return {
48730
+ fontSize: theme.fontSizes.small,
48731
+ fontWeight: Number(theme.fontWeights.bold),
48732
+ lineHeight: theme.lineHeights.smallTextBase
48733
+ };
49139
48734
  };
49140
48735
 
49141
- RadioGroup.defaultProps = {
49142
- errorMessage: null,
49143
- errorList: null,
49144
- defaultValue: undefined,
49145
- checkedValue: undefined,
49146
- onChange: undefined,
49147
- className: undefined,
49148
- id: undefined,
49149
- helpText: null,
49150
- requirementText: null,
49151
- default: false
48736
+ var getRadioButtons = function getRadioButtons(props) {
48737
+ var radioButtons = React__default.Children.map(props.children, function (radio) {
48738
+ var _a = radio.props,
48739
+ value = _a.value,
48740
+ disabled = _a.disabled,
48741
+ required = _a.required,
48742
+ onChange = _a.onChange,
48743
+ radioProps = __rest(_a, ["value", "disabled", "required", "onChange"]);
48744
+
48745
+ return /*#__PURE__*/React__default.createElement(Radio, Object.assign({}, radioProps, {
48746
+ value: value,
48747
+ disabled: props.disabled || disabled,
48748
+ error: !!(props.errorMessage || props.errorList),
48749
+ required: props.required || required,
48750
+ name: props.name,
48751
+ defaultChecked: value === props.defaultValue ? true : undefined,
48752
+ checked: props.checkedValue && value === props.checkedValue,
48753
+ onChange: props.onChange || onChange
48754
+ }));
48755
+ });
48756
+ return radioButtons;
49152
48757
  };
49153
48758
 
49154
48759
  var SelectControl = function SelectControl(props) {
@@ -49192,44 +48797,10 @@ var SelectInput = function SelectInput(props) {
49192
48797
  }, /*#__PURE__*/React__default.createElement(components$1.Input, Object.assign({}, props)));
49193
48798
  };
49194
48799
 
49195
- var SelectDefaultProps = {
49196
- autocomplete: true,
49197
- disabled: undefined,
49198
- defaultValue: undefined,
49199
- error: undefined,
49200
- errorMessage: undefined,
49201
- errorList: undefined,
49202
- labelText: undefined,
49203
- helpText: undefined,
49204
- noOptionsMessage: undefined,
49205
- requirementText: undefined,
49206
- id: undefined,
49207
- initialIsOpen: undefined,
49208
- maxHeight: "248px",
49209
- menuPosition: "absolute",
49210
- menuPlacement: "bottom",
49211
- multiselect: false,
49212
- name: undefined,
49213
- onBlur: undefined,
49214
- onChange: undefined,
49215
- placeholder: undefined,
49216
- required: false,
49217
- value: undefined,
49218
- className: undefined,
49219
- classNamePrefix: "ndsSelect",
49220
- menuIsOpen: undefined,
49221
- onMenuOpen: undefined,
49222
- onMenuClose: undefined,
49223
- onInputChange: undefined,
49224
- components: undefined,
49225
- closeMenuOnSelect: true
49226
- };
49227
48800
  var ReactSelect = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
49228
48801
  var size = _a.size,
49229
- autocomplete = _a.autocomplete,
49230
48802
  options = _a.options,
49231
48803
  labelText = _a.labelText,
49232
- required = _a.required,
49233
48804
  requirementText = _a.requirementText,
49234
48805
  helpText = _a.helpText,
49235
48806
  disabled = _a.disabled,
@@ -49239,8 +48810,6 @@ var ReactSelect = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
49239
48810
  error = _a$error === void 0 ? !!(errorMessage || errorList) : _a$error,
49240
48811
  id = _a.id,
49241
48812
  initialIsOpen = _a.initialIsOpen,
49242
- maxHeight = _a.maxHeight,
49243
- multiselect = _a.multiselect,
49244
48813
  _onChange = _a.onChange,
49245
48814
  placeholder = _a.placeholder,
49246
48815
  value = _a.value,
@@ -49249,7 +48818,22 @@ var ReactSelect = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
49249
48818
  ariaLabel = _a["aria-label"],
49250
48819
  _a$windowThreshold = _a.windowThreshold,
49251
48820
  windowThreshold = _a$windowThreshold === void 0 ? 300 : _a$windowThreshold,
49252
- props = __rest(_a, ["size", "autocomplete", "options", "labelText", "required", "requirementText", "helpText", "disabled", "errorMessage", "errorList", "error", "id", "initialIsOpen", "maxHeight", "multiselect", "onChange", "placeholder", "value", "defaultValue", "components", "aria-label", "windowThreshold"]);
48821
+ _a$autocomplete = _a.autocomplete,
48822
+ autocomplete = _a$autocomplete === void 0 ? true : _a$autocomplete,
48823
+ _a$maxHeight = _a.maxHeight,
48824
+ maxHeight = _a$maxHeight === void 0 ? "248px" : _a$maxHeight,
48825
+ _a$required = _a.required,
48826
+ required = _a$required === void 0 ? false : _a$required,
48827
+ _a$menuPosition = _a.menuPosition,
48828
+ menuPosition = _a$menuPosition === void 0 ? "absolute" : _a$menuPosition,
48829
+ _a$menuPlacement = _a.menuPlacement,
48830
+ menuPlacement = _a$menuPlacement === void 0 ? "bottom" : _a$menuPlacement,
48831
+ multiselect = _a.multiselect,
48832
+ _a$classNamePrefix = _a.classNamePrefix,
48833
+ classNamePrefix = _a$classNamePrefix === void 0 ? "ndsSelect" : _a$classNamePrefix,
48834
+ _a$closeMenuOnSelect = _a.closeMenuOnSelect,
48835
+ closeMenuOnSelect = _a$closeMenuOnSelect === void 0 ? true : _a$closeMenuOnSelect,
48836
+ props = __rest(_a, ["size", "options", "labelText", "requirementText", "helpText", "disabled", "errorMessage", "errorList", "error", "id", "initialIsOpen", "onChange", "placeholder", "value", "defaultValue", "components", "aria-label", "windowThreshold", "autocomplete", "maxHeight", "required", "menuPosition", "menuPlacement", "multiselect", "classNamePrefix", "closeMenuOnSelect"]);
49253
48837
 
49254
48838
  var _useTranslation = useTranslation(),
49255
48839
  t = _useTranslation.t;
@@ -49315,7 +48899,11 @@ var ReactSelect = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
49315
48899
  Input: SelectInput
49316
48900
  }, components),
49317
48901
  "aria-label": ariaLabel,
49318
- options: options
48902
+ options: options,
48903
+ menuPosition: menuPosition,
48904
+ menuPlacement: menuPlacement,
48905
+ classNamePrefix: classNamePrefix,
48906
+ closeMenuOnSelect: closeMenuOnSelect
49319
48907
  }, props)), /*#__PURE__*/React__default.createElement(InlineValidation, {
49320
48908
  mt: "x1",
49321
48909
  errorMessage: errorMessage,
@@ -49380,11 +48968,6 @@ function extractValue(options, isMulti) {
49380
48968
  }
49381
48969
  }
49382
48970
 
49383
- ReactSelect.defaultProps = Object.assign(Object.assign({}, SelectDefaultProps), {
49384
- windowThreshold: 300,
49385
- filterOption: undefined
49386
- });
49387
-
49388
48971
  var stickyStyles = function stickyStyles(theme) {
49389
48972
  return {
49390
48973
  position: "sticky",
@@ -49479,20 +49062,6 @@ function TableHead(_ref4) {
49479
49062
  return /*#__PURE__*/React__default.createElement("thead", null, /*#__PURE__*/React__default.createElement(StyledHeaderRow, null, renderColumns(columns)));
49480
49063
  }
49481
49064
 
49482
- var columnPropType = PropTypes.shape({
49483
- align: PropTypes.oneOf(["right", "left", "center"]),
49484
- label: PropTypes.string,
49485
- dataKey: PropTypes.oneOf([PropTypes.string, PropTypes.number]),
49486
- key: PropTypes.oneOf([PropTypes.string, PropTypes.number]),
49487
- cellFormatter: PropTypes.func,
49488
- cellRenderer: PropTypes.func,
49489
- headerRenderer: PropTypes.func,
49490
- width: PropTypes.string
49491
- });
49492
- var rowPropType = PropTypes.objectOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.bool, PropTypes.func, PropTypes.node, PropTypes.shape({})]));
49493
- var columnsPropType = PropTypes.arrayOf(columnPropType);
49494
- var rowsPropType = PropTypes.arrayOf(rowPropType);
49495
-
49496
49065
  var StyledTableCell = styled.td.withConfig({
49497
49066
  displayName: "TableCell__StyledTableCell",
49498
49067
  componentId: "sc-q0c72j-0"
@@ -49513,11 +49082,16 @@ var StyledTableCell = styled.td.withConfig({
49513
49082
  });
49514
49083
 
49515
49084
  var TableCell = function TableCell(_ref2) {
49516
- var row = _ref2.row,
49517
- column = _ref2.column,
49518
- colSpan = _ref2.colSpan,
49519
- cellData = _ref2.cellData,
49520
- compact = _ref2.compact;
49085
+ var _ref2$column = _ref2.column,
49086
+ column = _ref2$column === void 0 ? {} : _ref2$column,
49087
+ _ref2$row = _ref2.row,
49088
+ row = _ref2$row === void 0 ? {} : _ref2$row,
49089
+ _ref2$cellData = _ref2.cellData,
49090
+ cellData = _ref2$cellData === void 0 ? "" : _ref2$cellData,
49091
+ _ref2$colSpan = _ref2.colSpan,
49092
+ colSpan = _ref2$colSpan === void 0 ? undefined : _ref2$colSpan,
49093
+ _ref2$compact = _ref2.compact,
49094
+ compact = _ref2$compact === void 0 ? false : _ref2$compact;
49521
49095
  var cellRenderer = row.cellRenderer || column.cellRenderer;
49522
49096
  var cellFormatter = column.cellFormatter;
49523
49097
  var isCustomCell = Boolean(cellRenderer);
@@ -49543,14 +49117,6 @@ var TableCell = function TableCell(_ref2) {
49543
49117
  }, cellContent);
49544
49118
  };
49545
49119
 
49546
- TableCell.defaultProps = {
49547
- column: {},
49548
- row: {},
49549
- cellData: "",
49550
- colSpan: undefined,
49551
- compact: false
49552
- };
49553
-
49554
49120
  var StyledMessageContainer = styled(Box).withConfig({
49555
49121
  displayName: "TableBody__StyledMessageContainer",
49556
49122
  componentId: "sc-b5sejq-0"
@@ -49646,17 +49212,6 @@ var TableBodyRow = function TableBodyRow(_ref3) {
49646
49212
  }))));
49647
49213
  };
49648
49214
 
49649
- TableBodyRow.propTypes = {
49650
- row: rowPropType.isRequired,
49651
- columns: columnsPropType.isRequired,
49652
- rowHovers: PropTypes.bool.isRequired,
49653
- compact: PropTypes.bool.isRequired,
49654
- rowClassName: PropTypes.string
49655
- };
49656
- TableBodyRow.defaultProps = {
49657
- rowClassName: undefined
49658
- };
49659
-
49660
49215
  var TableMessageContainer = function TableMessageContainer(_ref4) {
49661
49216
  var colSpan = _ref4.colSpan,
49662
49217
  children = _ref4.children;
@@ -49669,11 +49224,6 @@ var TableMessageContainer = function TableMessageContainer(_ref4) {
49669
49224
  }, children)));
49670
49225
  };
49671
49226
 
49672
- TableMessageContainer.propTypes = {
49673
- colSpan: PropTypes.number.isRequired,
49674
- children: PropTypes.node.isRequired
49675
- };
49676
-
49677
49227
  var LoadingContent = function LoadingContent(_ref5) {
49678
49228
  var colSpan = _ref5.colSpan;
49679
49229
  return /*#__PURE__*/React__default.createElement(TableMessageContainer, {
@@ -49681,10 +49231,6 @@ var LoadingContent = function LoadingContent(_ref5) {
49681
49231
  }, "Loading...");
49682
49232
  };
49683
49233
 
49684
- LoadingContent.propTypes = {
49685
- colSpan: PropTypes.number.isRequired
49686
- };
49687
-
49688
49234
  var TableBody = function TableBody(_ref6) {
49689
49235
  var rows = _ref6.rows,
49690
49236
  columns = _ref6.columns,
@@ -49759,35 +49305,18 @@ var TableFooterRow = function TableFooterRow(_ref2) {
49759
49305
  }));
49760
49306
  };
49761
49307
 
49762
- TableFooterRow.propTypes = {
49763
- row: rowPropType.isRequired,
49764
- columns: columnsPropType.isRequired,
49765
- loading: PropTypes.bool.isRequired,
49766
- compact: PropTypes.bool.isRequired
49767
- };
49768
-
49769
49308
  function TableFoot(_ref3) {
49770
49309
  var columns = _ref3.columns,
49771
49310
  rows = _ref3.rows,
49772
- keyField = _ref3.keyField,
49773
- loading = _ref3.loading,
49774
- compact = _ref3.compact;
49311
+ _ref3$keyField = _ref3.keyField,
49312
+ keyField = _ref3$keyField === void 0 ? "id" : _ref3$keyField,
49313
+ _ref3$loading = _ref3.loading,
49314
+ loading = _ref3$loading === void 0 ? false : _ref3$loading,
49315
+ _ref3$compact = _ref3.compact,
49316
+ compact = _ref3$compact === void 0 ? false : _ref3$compact;
49775
49317
  return /*#__PURE__*/React__default.createElement("tfoot", null, renderRows(rows, columns, keyField, loading, compact));
49776
49318
  }
49777
49319
 
49778
- TableFoot.propTypes = {
49779
- columns: columnsPropType.isRequired,
49780
- rows: rowsPropType.isRequired,
49781
- keyField: PropTypes.string,
49782
- loading: PropTypes.bool,
49783
- compact: PropTypes.bool
49784
- };
49785
- TableFoot.defaultProps = {
49786
- keyField: "id",
49787
- loading: false,
49788
- compact: false
49789
- };
49790
-
49791
49320
  var StyledTable = styled.table.withConfig({
49792
49321
  displayName: "BaseTable__StyledTable",
49793
49322
  componentId: "sc-14k7sl6-0"
@@ -49799,26 +49328,29 @@ var StyledTable = styled.table.withConfig({
49799
49328
  });
49800
49329
 
49801
49330
  function BaseTable(_a) {
49802
- var columns = _a.columns,
49803
- rows = _a.rows,
49804
- _a$noRowsContent = _a.noRowsContent,
49331
+ var _a$noRowsContent = _a.noRowsContent,
49805
49332
  noRowsContent = _a$noRowsContent === void 0 ? "No records have been created for this table." : _a$noRowsContent,
49806
49333
  _a$keyField = _a.keyField,
49807
49334
  keyField = _a$keyField === void 0 ? "id" : _a$keyField,
49808
- id = _a.id,
49809
- loading = _a.loading,
49335
+ _a$loading = _a.loading,
49336
+ loading = _a$loading === void 0 ? false : _a$loading,
49810
49337
  _a$footerRows = _a.footerRows,
49811
49338
  footerRows = _a$footerRows === void 0 ? [] : _a$footerRows,
49812
49339
  _a$rowHovers = _a.rowHovers,
49813
49340
  rowHovers = _a$rowHovers === void 0 ? true : _a$rowHovers,
49814
- compact = _a.compact,
49815
- className = _a.className,
49816
- stickyHeader = _a.stickyHeader,
49341
+ _a$compact = _a.compact,
49342
+ compact = _a$compact === void 0 ? false : _a$compact,
49343
+ _a$stickyHeader = _a.stickyHeader,
49344
+ stickyHeader = _a$stickyHeader === void 0 ? false : _a$stickyHeader,
49817
49345
  _a$onRowMouseEnter = _a.onRowMouseEnter,
49818
49346
  onRowMouseEnter = _a$onRowMouseEnter === void 0 ? function () {} : _a$onRowMouseEnter,
49819
49347
  _a$onRowMouseLeave = _a.onRowMouseLeave,
49820
49348
  onRowMouseLeave = _a$onRowMouseLeave === void 0 ? function () {} : _a$onRowMouseLeave,
49821
- props = __rest(_a, ["columns", "rows", "noRowsContent", "keyField", "id", "loading", "footerRows", "rowHovers", "compact", "className", "stickyHeader", "onRowMouseEnter", "onRowMouseLeave"]);
49349
+ columns = _a.columns,
49350
+ rows = _a.rows,
49351
+ id = _a.id,
49352
+ className = _a.className,
49353
+ props = __rest(_a, ["noRowsContent", "keyField", "loading", "footerRows", "rowHovers", "compact", "stickyHeader", "onRowMouseEnter", "onRowMouseLeave", "columns", "rows", "id", "className"]);
49822
49354
 
49823
49355
  return /*#__PURE__*/React__default.createElement(StyledTable, Object.assign({
49824
49356
  id: id,
@@ -49846,35 +49378,6 @@ function BaseTable(_a) {
49846
49378
  }));
49847
49379
  }
49848
49380
 
49849
- BaseTable.propTypes = Object.assign(Object.assign({}, propTypes.space), {
49850
- columns: PropTypes.any,
49851
- rows: PropTypes.any,
49852
- noRowsContent: PropTypes.string,
49853
- keyField: PropTypes.string,
49854
- id: PropTypes.string,
49855
- loading: PropTypes.bool,
49856
- footerRows: rowsPropType,
49857
- rowHovers: PropTypes.bool,
49858
- compact: PropTypes.bool,
49859
- className: PropTypes.string,
49860
- stickyHeader: PropTypes.bool,
49861
- onRowMouseEnter: PropTypes.func,
49862
- onRowMouseLeave: PropTypes.func
49863
- });
49864
- BaseTable.defaultProps = {
49865
- noRowsContent: "No records have been created for this table.",
49866
- keyField: "id",
49867
- id: undefined,
49868
- loading: false,
49869
- footerRows: [],
49870
- rowHovers: true,
49871
- compact: false,
49872
- className: undefined,
49873
- stickyHeader: false,
49874
- onRowMouseEnter: function onRowMouseEnter() {},
49875
- onRowMouseLeave: function onRowMouseLeave() {}
49876
- };
49877
-
49878
49381
  var SELECTABLE_COLUMN_DATA_KEY = "selected";
49879
49382
 
49880
49383
  var selectHeaderFormatter = function selectHeaderFormatter(onSelectHeader, isHeaderSelected, selectAllAriaLabel, deselectAllAriaLabel) {
@@ -49916,14 +49419,6 @@ var SelectCell = function SelectCell(_ref) {
49916
49419
  });
49917
49420
  };
49918
49421
 
49919
- SelectCell.propTypes = {
49920
- row: rowPropType.isRequired,
49921
- onSelectRow: PropTypes.func
49922
- };
49923
- SelectCell.defaultProps = {
49924
- onSelectRow: null
49925
- };
49926
-
49927
49422
  var selectCellRenderer = function selectCellRenderer(onSelectRow) {
49928
49423
  return function (props) {
49929
49424
  return /*#__PURE__*/React__default.createElement(SelectCell, Object.assign({
@@ -49987,18 +49482,6 @@ var ExpandCell = function ExpandCell(_ref) {
49987
49482
  }));
49988
49483
  };
49989
49484
 
49990
- ExpandCell.propTypes = {
49991
- row: rowPropType.isRequired,
49992
- onRowExpansionChange: PropTypes.func,
49993
- collapseAriaLabel: PropTypes.string,
49994
- expandAriaLabel: PropTypes.string
49995
- };
49996
- ExpandCell.defaultProps = {
49997
- onRowExpansionChange: null,
49998
- collapseAriaLabel: undefined,
49999
- expandAriaLabel: undefined
50000
- };
50001
-
50002
49485
  var expandCellRenderer = function expandCellRenderer(onRowExpansionChange) {
50003
49486
  return function (props) {
50004
49487
  return /*#__PURE__*/React__default.createElement(ExpandCell, Object.assign({
@@ -50044,6 +49527,8 @@ var addExpandableControl = function addExpandableControl(props) {
50044
49527
  };
50045
49528
  };
50046
49529
 
49530
+ var propNames = [].concat(Object.keys(propTypes.space), ["columns", "rows", "noRowsContent", "keyField", "id", "loading", "footerRows", "rowHovers", "compact", "className", "stickyHeader", "onRowMouseEnter", "onRowMouseLeave"]);
49531
+
50047
49532
  var getAllRowKeys = function getAllRowKeys(rows, keyField) {
50048
49533
  if (rows === void 0) {
50049
49534
  rows = [];
@@ -50286,7 +49771,7 @@ var StatefulTable = /*#__PURE__*/function (_Component) {
50286
49771
  rowsPerPage = _this$props4.rowsPerPage,
50287
49772
  paginationProps = _this$props4.paginationProps,
50288
49773
  paginationCss = _this$props4.paginationCss;
50289
- var baseTableProps = getSubset(this.getControlProps(), BaseTable.propTypes);
49774
+ var baseTableProps = pick.apply(void 0, [this.getControlProps()].concat(propNames));
50290
49775
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(BaseTable, Object.assign({}, baseTableProps)), rowsPerPage && /*#__PURE__*/React__default.createElement(Pagination, Object.assign({
50291
49776
  pt: "x2",
50292
49777
  currentPage: currentPage,
@@ -50302,7 +49787,18 @@ var StatefulTable = /*#__PURE__*/function (_Component) {
50302
49787
  return StatefulTable;
50303
49788
  }(Component$1);
50304
49789
 
50305
- StatefulTable.defaultProps = Object.assign(Object.assign({}, BaseTable.defaultProps), {
49790
+ StatefulTable.defaultProps = {
49791
+ noRowsContent: "No records have been created for this table.",
49792
+ keyField: "id",
49793
+ id: undefined,
49794
+ loading: false,
49795
+ footerRows: [],
49796
+ rowHovers: true,
49797
+ compact: false,
49798
+ className: undefined,
49799
+ stickyHeader: false,
49800
+ onRowMouseEnter: function onRowMouseEnter() {},
49801
+ onRowMouseLeave: function onRowMouseLeave() {},
50306
49802
  hasSelectableRows: false,
50307
49803
  selectedRows: [],
50308
49804
  isHeaderSelected: false,
@@ -50313,14 +49809,16 @@ StatefulTable.defaultProps = Object.assign(Object.assign({}, BaseTable.defaultPr
50313
49809
  /* PM support only */
50314
49810
  paginationCss: undefined,
50315
49811
  paginationProps: {}
50316
- });
49812
+ };
50317
49813
 
50318
- var SortingColumnHeader = function SortingColumnHeader(_ref) {
49814
+ function SortingColumnHeader(_ref) {
50319
49815
  var onChange = _ref.onChange,
50320
49816
  label = _ref.label,
50321
- ascending = _ref.ascending,
50322
- active = _ref.active,
50323
- ariaLabel = _ref.ariaLabel;
49817
+ ariaLabel = _ref.ariaLabel,
49818
+ _ref$ascending = _ref.ascending,
49819
+ ascending = _ref$ascending === void 0 ? false : _ref$ascending,
49820
+ _ref$active = _ref.active,
49821
+ active = _ref$active === void 0 ? false : _ref$active;
50324
49822
 
50325
49823
  var _useTranslation = useTranslation(),
50326
49824
  t = _useTranslation.t;
@@ -50337,21 +49835,7 @@ var SortingColumnHeader = function SortingColumnHeader(_ref) {
50337
49835
  toggled: active,
50338
49836
  onClick: onChange
50339
49837
  }));
50340
- };
50341
-
50342
- SortingColumnHeader.propTypes = {
50343
- onChange: PropTypes.func.isRequired,
50344
- ariaLabel: PropTypes.string,
50345
- label: PropTypes.string,
50346
- ascending: PropTypes.bool,
50347
- active: PropTypes.bool
50348
- };
50349
- SortingColumnHeader.defaultProps = {
50350
- ariaLabel: null,
50351
- label: null,
50352
- ascending: false,
50353
- active: false
50354
- };
49838
+ }
50355
49839
 
50356
49840
  function Table(_a) {
50357
49841
  var hasSelectableRows = _a.hasSelectableRows,
@@ -50515,31 +49999,26 @@ var statusIndicatorStyles = function statusIndicatorStyles(theme) {
50515
49999
  var StatusIndicator = styled.span.withConfig({
50516
50000
  displayName: "StatusIndicator",
50517
50001
  componentId: "sc-17eyafq-0"
50518
- })(space, typography, flexbox, function (_ref2) {
50002
+ })(function (_ref2) {
50519
50003
  var theme = _ref2.theme,
50520
- type = _ref2.type;
50004
+ _ref2$type = _ref2.type,
50005
+ type = _ref2$type === void 0 ? StatusIndicatorValues.neutral : _ref2$type;
50521
50006
  return Object.assign({
50007
+ margin: theme.space.none,
50008
+ paddingTop: theme.space.none,
50009
+ paddingRight: theme.space.x1,
50010
+ paddingBottom: theme.space.none,
50011
+ paddingLeft: theme.space.x1,
50012
+ fontSize: theme.fontSizes.smaller,
50013
+ lineHeight: theme.lineHeights.smallerText,
50014
+ alignSelf: "center",
50522
50015
  display: "inline-block",
50523
50016
  fontWeight: theme.fontWeights.bold,
50524
50017
  textTransform: "uppercase",
50525
50018
  letterSpacing: ".05em",
50526
50019
  borderRadius: theme.space.x1
50527
50020
  }, statusIndicatorStyles(theme)[type]);
50528
- });
50529
- StatusIndicator.defaultProps = {
50530
- type: StatusIndicatorValues.neutral,
50531
- mt: "0",
50532
- mr: "0",
50533
- mb: "0",
50534
- ml: "0",
50535
- pt: "0",
50536
- pr: "x1",
50537
- pb: "0",
50538
- pl: "x1",
50539
- fontSize: "smaller",
50540
- lineHeight: "smallerText",
50541
- alignSelf: "center"
50542
- };
50021
+ }, space, typography, flexbox);
50543
50022
 
50544
50023
  var SummaryContext = /*#__PURE__*/createContext(undefined);
50545
50024
  function useSummaryContext() {
@@ -50780,12 +50259,6 @@ var Switcher = function Switcher(_a) {
50780
50259
  }));
50781
50260
  };
50782
50261
 
50783
- Switcher.propTypes = {
50784
- children: PropTypes.arrayOf(PropTypes.element),
50785
- selected: PropTypes.string,
50786
- onChange: PropTypes.func
50787
- };
50788
-
50789
50262
  var Switch$1 = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
50790
50263
  var children = _a.children,
50791
50264
  rest = __rest(_a, ["children"]);
@@ -50839,11 +50312,6 @@ var SwitchButton = styled.button.withConfig({
50839
50312
  }
50840
50313
  });
50841
50314
  });
50842
- Switch$1.propTypes = {
50843
- children: PropTypes.node,
50844
- selected: PropTypes.bool,
50845
- value: PropTypes.string
50846
- };
50847
50315
 
50848
50316
  var barStyles = function barStyles(theme) {
50849
50317
  return {
@@ -50947,9 +50415,6 @@ var Tab = /*#__PURE__*/React__default.forwardRef(function (_a, ref) {
50947
50415
  ref: ref
50948
50416
  }, props), label);
50949
50417
  });
50950
- Tab.defaultProps = {
50951
- label: null
50952
- };
50953
50418
 
50954
50419
  var TabContainer = styled(Box).withConfig({
50955
50420
  displayName: "TabContainer",
@@ -51022,29 +50487,30 @@ var TabScrollIndicatorButton = styled.button.withConfig({
51022
50487
  };
51023
50488
  });
51024
50489
 
51025
- function preventFocusMovement(e) {
51026
- e.preventDefault();
51027
- }
51028
-
51029
50490
  var TabScrollIndicator = function TabScrollIndicator(_a) {
51030
- var onClick = _a.onClick,
51031
- side = _a.side,
50491
+ var _a$side = _a.side,
50492
+ side = _a$side === void 0 ? "left" : _a$side,
50493
+ _a$width = _a.width,
50494
+ width = _a$width === void 0 ? 40 : _a$width,
51032
50495
  ariaLabelLeft = _a.ariaLabelLeft,
51033
50496
  ariaLabelRight = _a.ariaLabelRight,
51034
- props = __rest(_a, ["onClick", "side", "ariaLabelLeft", "ariaLabelRight"]);
50497
+ onClick = _a.onClick,
50498
+ props = __rest(_a, ["side", "width", "ariaLabelLeft", "ariaLabelRight", "onClick"]);
51035
50499
 
51036
50500
  var _useTranslation = useTranslation(),
51037
50501
  t = _useTranslation.t;
51038
50502
 
51039
- var handleClick = function handleClick() {
51040
- onClick(side);
51041
- };
51042
-
51043
50503
  var rightArrowLabel = ariaLabelRight || t("next");
51044
50504
  var leftArrowLabel = ariaLabelLeft || t("previous");
50505
+
50506
+ function preventFocusMovement(event) {
50507
+ event.preventDefault();
50508
+ }
50509
+
51045
50510
  return /*#__PURE__*/React__default.createElement(TabScrollIndicatorButton, Object.assign({}, props, {
50511
+ width: width,
51046
50512
  tabIndex: -1,
51047
- onClick: handleClick,
50513
+ onClick: onClick,
51048
50514
  onMouseDown: preventFocusMovement,
51049
50515
  side: side,
51050
50516
  "aria-label": side === "right" ? rightArrowLabel : leftArrowLabel
@@ -51053,17 +50519,9 @@ var TabScrollIndicator = function TabScrollIndicator(_a) {
51053
50519
  }));
51054
50520
  };
51055
50521
 
51056
- TabScrollIndicator.defaultProps = {
51057
- onClick: function onClick() {},
51058
- side: "left",
51059
- width: 40,
51060
- ariaLabelLeft: undefined,
51061
- ariaLabelRight: undefined
51062
- };
51063
-
51064
50522
  var TabScrollIndicatorContainer = styled.div.withConfig({
51065
50523
  displayName: "TabScrollIndicators__TabScrollIndicatorContainer",
51066
- componentId: "sc-1cljxwo-0"
50524
+ componentId: "sc-hw4ac9-0"
51067
50525
  })(function (_ref) {
51068
50526
  var width = _ref.width,
51069
50527
  theme = _ref.theme;
@@ -51255,16 +50713,6 @@ var TabScrollIndicators = /*#__PURE__*/function (_React$Component) {
51255
50713
  return TabScrollIndicators;
51256
50714
  }(React__default.Component);
51257
50715
 
51258
- TabScrollIndicators.propTypes = {
51259
- children: PropTypes.func.isRequired,
51260
- tabRefs: PropTypes.arrayOf(PropTypes.shape({
51261
- offsetWidth: PropTypes.number
51262
- })),
51263
- tabContainerRef: PropTypes.shape({
51264
- current: PropTypes.object
51265
- }),
51266
- indicatorWidth: PropTypes.number
51267
- };
51268
50716
  TabScrollIndicators.defaultProps = {
51269
50717
  tabRefs: undefined,
51270
50718
  tabContainerRef: undefined,
@@ -51503,21 +50951,25 @@ var StyledTextarea = styled.textarea.withConfig({
51503
50951
  });
51504
50952
 
51505
50953
  var Textarea = /*#__PURE__*/forwardRef(function (_a, ref) {
51506
- var errorMessage = _a.errorMessage,
50954
+ var _a$disabled = _a.disabled,
50955
+ disabled = _a$disabled === void 0 ? false : _a$disabled,
50956
+ _a$required = _a.required,
50957
+ required = _a$required === void 0 ? false : _a$required,
50958
+ _a$rows = _a.rows,
50959
+ rows = _a$rows === void 0 ? 3 : _a$rows,
50960
+ errorMessage = _a.errorMessage,
51507
50961
  errorList = _a.errorList,
51508
50962
  _a$error = _a.error,
51509
50963
  error = _a$error === void 0 ? !!(errorMessage || errorList) : _a$error,
51510
- required = _a.required,
51511
50964
  labelText = _a.labelText,
51512
50965
  requirementText = _a.requirementText,
51513
50966
  helpText = _a.helpText,
51514
50967
  id = _a.id,
51515
50968
  className = _a.className,
51516
- rows = _a.rows,
51517
50969
  _a$isResizeable = _a.isResizeable,
51518
50970
  isResizeable = _a$isResizeable === void 0 ? true : _a$isResizeable,
51519
50971
  size = _a.size,
51520
- props = __rest(_a, ["errorMessage", "errorList", "error", "required", "labelText", "requirementText", "helpText", "id", "className", "rows", "isResizeable", "size"]);
50972
+ props = __rest(_a, ["disabled", "required", "rows", "errorMessage", "errorList", "error", "labelText", "requirementText", "helpText", "id", "className", "isResizeable", "size"]);
51521
50973
 
51522
50974
  var componentSize = useComponentSize(size);
51523
50975
  var spaceProps = getSubset(props, propTypes.space);
@@ -51539,25 +50991,14 @@ var Textarea = /*#__PURE__*/forwardRef(function (_a, ref) {
51539
50991
  error: error,
51540
50992
  rows: rows,
51541
50993
  isResizeable: isResizeable,
51542
- size: componentSize
50994
+ size: componentSize,
50995
+ disabled: disabled
51543
50996
  }, restProps))), /*#__PURE__*/React__default.createElement(InlineValidation, {
51544
50997
  mt: "x1",
51545
50998
  errorMessage: errorMessage,
51546
50999
  errorList: errorList
51547
51000
  }));
51548
51001
  });
51549
- Textarea.defaultProps = {
51550
- className: undefined,
51551
- id: undefined,
51552
- disabled: false,
51553
- errorMessage: undefined,
51554
- errorList: undefined,
51555
- required: false,
51556
- labelText: undefined,
51557
- helpText: undefined,
51558
- requirementText: undefined,
51559
- rows: 3
51560
- };
51561
51002
 
51562
51003
  var DEFAULT_LABEL = "Time Range";
51563
51004
  var TimeRange = /*#__PURE__*/forwardRef(function (_a, ref) {
@@ -51568,8 +51009,6 @@ var TimeRange = /*#__PURE__*/forwardRef(function (_a, ref) {
51568
51009
  errorMessage = _a.errorMessage,
51569
51010
  defaultStartTime = _a.defaultStartTime,
51570
51011
  defaultEndTime = _a.defaultEndTime,
51571
- disableRangeValidation = _a.disableRangeValidation,
51572
- labelProps = _a.labelProps,
51573
51012
  minTime = _a.minTime,
51574
51013
  maxTime = _a.maxTime,
51575
51014
  interval = _a.interval,
@@ -51578,7 +51017,13 @@ var TimeRange = /*#__PURE__*/forwardRef(function (_a, ref) {
51578
51017
  endTimeProps = _a.endTimeProps,
51579
51018
  startTimeProps = _a.startTimeProps,
51580
51019
  size = _a.size,
51581
- props = __rest(_a, ["timeFormat", "onRangeChange", "onStartTimeChange", "onEndTimeChange", "errorMessage", "defaultStartTime", "defaultEndTime", "disableRangeValidation", "labelProps", "minTime", "maxTime", "interval", "startAriaLabel", "endAriaLabel", "endTimeProps", "startTimeProps", "size"]);
51020
+ _a$disableRangeValida = _a.disableRangeValidation,
51021
+ disableRangeValidation = _a$disableRangeValida === void 0 ? false : _a$disableRangeValida,
51022
+ _a$labelProps = _a.labelProps,
51023
+ labelProps = _a$labelProps === void 0 ? Object.assign(Object.assign({}, FieldLabelDefaultProps), {
51024
+ labelText: DEFAULT_LABEL
51025
+ }) : _a$labelProps,
51026
+ props = __rest(_a, ["timeFormat", "onRangeChange", "onStartTimeChange", "onEndTimeChange", "errorMessage", "defaultStartTime", "defaultEndTime", "minTime", "maxTime", "interval", "startAriaLabel", "endAriaLabel", "endTimeProps", "startTimeProps", "size", "disableRangeValidation", "labelProps"]);
51582
51027
 
51583
51028
  var _useState = useState(),
51584
51029
  startTime = _useState[0],
@@ -51701,24 +51146,6 @@ var TimeRange = /*#__PURE__*/forwardRef(function (_a, ref) {
51701
51146
  size: componentSize
51702
51147
  }, props));
51703
51148
  });
51704
- TimeRange.defaultProps = {
51705
- timeFormat: undefined,
51706
- onRangeChange: null,
51707
- onStartTimeChange: null,
51708
- onEndTimeChange: null,
51709
- errorMessage: null,
51710
- defaultStartTime: null,
51711
- defaultEndTime: null,
51712
- disableRangeValidation: false,
51713
- labelProps: Object.assign(Object.assign({}, FieldLabelDefaultProps), {
51714
- labelText: DEFAULT_LABEL
51715
- }),
51716
- minTime: null,
51717
- maxTime: null,
51718
- interval: undefined,
51719
- startAriaLabel: undefined,
51720
- endAriaLabel: undefined
51721
- };
51722
51149
 
51723
51150
  var TOAST_SHOW_DURATION = 5000; // in ms
51724
51151
 
@@ -51747,15 +51174,18 @@ var toastAnimationConfig = {
51747
51174
  }
51748
51175
  };
51749
51176
  var Toast = function Toast(_a) {
51750
- var triggered = _a.triggered,
51177
+ var _a$triggered = _a.triggered,
51178
+ triggered = _a$triggered === void 0 ? false : _a$triggered,
51179
+ _a$isCloseable = _a.isCloseable,
51180
+ isCloseable = _a$isCloseable === void 0 ? false : _a$isCloseable,
51181
+ _a$showDuration = _a.showDuration,
51182
+ showDuration = _a$showDuration === void 0 ? TOAST_SHOW_DURATION : _a$showDuration,
51751
51183
  onHide = _a.onHide,
51752
51184
  onShow = _a.onShow,
51753
- isCloseable = _a.isCloseable,
51754
51185
  children = _a.children,
51755
- showDuration = _a.showDuration,
51756
51186
  onHidden = _a.onHidden,
51757
51187
  zIndex = _a.zIndex,
51758
- props = __rest(_a, ["triggered", "onHide", "onShow", "isCloseable", "children", "showDuration", "onHidden", "zIndex"]);
51188
+ props = __rest(_a, ["triggered", "isCloseable", "showDuration", "onHide", "onShow", "children", "onHidden", "zIndex"]);
51759
51189
 
51760
51190
  var _useState = useState(triggered),
51761
51191
  visible = _useState[0],
@@ -51848,20 +51278,22 @@ var Toast = function Toast(_a) {
51848
51278
  controlled: true
51849
51279
  }, props), children)));
51850
51280
  };
51851
- Toast.defaultProps = {
51852
- triggered: false,
51853
- isCloseable: false,
51854
- showDuration: TOAST_SHOW_DURATION,
51855
- onShow: function onShow() {},
51856
- onHide: function onHide() {},
51857
- onHidden: function onHidden() {}
51858
- };
51859
51281
 
51860
51282
  var ToastContainer = function ToastContainer(_a) {
51861
51283
  var gap = _a.gap,
51862
- maxVisibleToasts = _a.maxVisibleToasts,
51863
- toastOptions = _a.toastOptions,
51864
- props = __rest(_a, ["gap", "maxVisibleToasts", "toastOptions"]);
51284
+ _a$position = _a.position,
51285
+ position = _a$position === void 0 ? "bottom-center" : _a$position,
51286
+ _a$reverseOrder = _a.reverseOrder,
51287
+ reverseOrder = _a$reverseOrder === void 0 ? false : _a$reverseOrder,
51288
+ _a$containerClassName = _a.containerClassName,
51289
+ containerClassName = _a$containerClassName === void 0 ? "nds-toast-container" : _a$containerClassName,
51290
+ _a$toastOptions = _a.toastOptions,
51291
+ toastOptions = _a$toastOptions === void 0 ? {
51292
+ duration: TOAST_SHOW_DURATION
51293
+ } : _a$toastOptions,
51294
+ _a$maxVisibleToasts = _a.maxVisibleToasts,
51295
+ maxVisibleToasts = _a$maxVisibleToasts === void 0 ? 8 : _a$maxVisibleToasts,
51296
+ props = __rest(_a, ["gap", "position", "reverseOrder", "containerClassName", "toastOptions", "maxVisibleToasts"]);
51865
51297
 
51866
51298
  var theme = useTheme();
51867
51299
 
@@ -51881,20 +51313,13 @@ var ToastContainer = function ToastContainer(_a) {
51881
51313
  gutter: gap || numberFromDimension(theme.space.x1),
51882
51314
  toastOptions: {
51883
51315
  custom: Object.assign({}, toastOptions)
51884
- }
51316
+ },
51317
+ position: position,
51318
+ reverseOrder: reverseOrder,
51319
+ containerClassName: containerClassName
51885
51320
  }, props));
51886
51321
  };
51887
51322
 
51888
- ToastContainer.defaultProps = {
51889
- position: "bottom-center",
51890
- reverseOrder: false,
51891
- containerClassName: "nds-toast-container",
51892
- toastOptions: {
51893
- duration: TOAST_SHOW_DURATION
51894
- },
51895
- maxVisibleToasts: 8
51896
- };
51897
-
51898
51323
  var CustomToast = function CustomToast(_a) {
51899
51324
  var isVisible = _a.isVisible,
51900
51325
  id = _a.id,
@@ -52007,7 +51432,7 @@ var animationConfig = {
52007
51432
  scale: 1.08
52008
51433
  };
52009
51434
 
52010
- var Switch = function Switch(_ref) {
51435
+ function Switch(_ref) {
52011
51436
  var children = _ref.children,
52012
51437
  disabled = _ref.disabled,
52013
51438
  toggled = _ref.toggled,
@@ -52025,7 +51450,7 @@ var Switch = function Switch(_ref) {
52025
51450
  whileFocus: "active",
52026
51451
  onClick: onClick
52027
51452
  }, children);
52028
- };
51453
+ }
52029
51454
 
52030
51455
  var Slider = function Slider(_ref2) {
52031
51456
  var disabled = _ref2.disabled,
@@ -52104,10 +51529,6 @@ var ToggleButton = /*#__PURE__*/React__default.forwardRef(function (props, ref)
52104
51529
  disabled: disabled
52105
51530
  }));
52106
51531
  });
52107
- ToggleButton.defaultProps = {
52108
- defaultToggled: undefined,
52109
- disabled: false
52110
- };
52111
51532
 
52112
51533
  var labelTextStyles = function labelTextStyles(theme) {
52113
51534
  return {
@@ -52117,7 +51538,7 @@ var labelTextStyles = function labelTextStyles(theme) {
52117
51538
  };
52118
51539
  };
52119
51540
 
52120
- var MaybeToggleTitle = function MaybeToggleTitle(_a) {
51541
+ function MaybeToggleTitle(_a) {
52121
51542
  var labelText = _a.labelText,
52122
51543
  requirementText = _a.requirementText,
52123
51544
  helpText = _a.helpText,
@@ -52130,7 +51551,7 @@ var MaybeToggleTitle = function MaybeToggleTitle(_a) {
52130
51551
  }, /*#__PURE__*/React__default.createElement("span", {
52131
51552
  style: labelTextStyles(themeContext)
52132
51553
  }, labelText), requirementText && /*#__PURE__*/React__default.createElement(RequirementText, null, requirementText), helpText && /*#__PURE__*/React__default.createElement(HelpText, null, helpText)), children) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
52133
- };
51554
+ }
52134
51555
 
52135
51556
  var BaseToggle = function BaseToggle(_a) {
52136
51557
  var disabled = _a.disabled,
@@ -52192,22 +51613,6 @@ var BaseToggle = function BaseToggle(_a) {
52192
51613
  }, toggled ? onText : offText))));
52193
51614
  };
52194
51615
 
52195
- BaseToggle.defaultProps = {
52196
- onChange: function onChange() {},
52197
- toggled: undefined,
52198
- disabled: false,
52199
- onText: undefined,
52200
- offText: undefined,
52201
- id: undefined,
52202
- className: undefined,
52203
- required: false,
52204
- helpText: undefined,
52205
- labelText: undefined,
52206
- requirementText: undefined,
52207
- error: false,
52208
- onClick: function onClick() {}
52209
- };
52210
-
52211
51616
  var StatefulToggle = function StatefulToggle(_a) {
52212
51617
  var defaultToggled = _a.defaultToggled,
52213
51618
  onClick = _a.onClick,
@@ -52230,15 +51635,6 @@ var StatefulToggle = function StatefulToggle(_a) {
52230
51635
  }, props));
52231
51636
  };
52232
51637
 
52233
- StatefulToggle.propTypes = {
52234
- defaultToggled: PropTypes.bool,
52235
- onClick: PropTypes.func
52236
- };
52237
- StatefulToggle.defaultProps = {
52238
- defaultToggled: undefined,
52239
- onClick: function onClick() {}
52240
- };
52241
-
52242
51638
  var Toggle = function Toggle(_a) {
52243
51639
  var toggled = _a.toggled,
52244
51640
  props = __rest(_a, ["toggled"]);
@@ -52255,22 +51651,15 @@ var ToggleComponent = /*#__PURE__*/React__default.forwardRef(function (props, re
52255
51651
  });
52256
51652
 
52257
51653
  var MaybeTooltip = function MaybeTooltip(_a) {
52258
- var children = _a.children,
52259
- showTooltip = _a.showTooltip,
51654
+ var _a$children = _a.children,
51655
+ children = _a$children === void 0 ? "" : _a$children,
51656
+ _a$showTooltip = _a.showTooltip,
51657
+ showTooltip = _a$showTooltip === void 0 ? true : _a$showTooltip,
52260
51658
  props = __rest(_a, ["children", "showTooltip"]);
52261
51659
 
52262
51660
  return showTooltip ? /*#__PURE__*/React__default.createElement(Tooltip, Object.assign({}, props), children) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
52263
51661
  };
52264
51662
 
52265
- MaybeTooltip.propTypes = {
52266
- children: PropTypes.node,
52267
- showTooltip: PropTypes.bool
52268
- };
52269
- MaybeTooltip.defaultProps = {
52270
- children: "",
52271
- showTooltip: true
52272
- };
52273
-
52274
51663
  var TruncatedTextFillWidth = function TruncatedTextFillWidth(_a) {
52275
51664
  var element = _a.element,
52276
51665
  showTooltip = _a.showTooltip,
@@ -52337,32 +51726,34 @@ var TruncatedTextMaxCharacters = function TruncatedTextMaxCharacters(_a) {
52337
51726
  };
52338
51727
 
52339
51728
  var TruncatedText = function TruncatedText(_a) {
52340
- var fullWidth = _a.fullWidth,
51729
+ var _a$indicator = _a.indicator,
51730
+ indicator = _a$indicator === void 0 ? "..." : _a$indicator,
51731
+ _a$element = _a.element,
51732
+ element = _a$element === void 0 ? /*#__PURE__*/React__default.createElement(Text, null) : _a$element,
51733
+ _a$maxCharacters = _a.maxCharacters,
51734
+ maxCharacters = _a$maxCharacters === void 0 ? 20 : _a$maxCharacters,
51735
+ _a$fullWidth = _a.fullWidth,
51736
+ fullWidth = _a$fullWidth === void 0 ? false : _a$fullWidth,
51737
+ _a$showTooltip = _a.showTooltip,
51738
+ showTooltip = _a$showTooltip === void 0 ? true : _a$showTooltip,
51739
+ _a$dataTestid = _a["data-testid"],
51740
+ dataTestId = _a$dataTestid === void 0 ? "truncated-text" : _a$dataTestid,
52341
51741
  children = _a.children,
52342
- props = __rest(_a, ["fullWidth", "children"]);
52343
-
52344
- return fullWidth ? /*#__PURE__*/React__default.createElement(TruncatedTextFillWidth, Object.assign({}, props), children) : /*#__PURE__*/React__default.createElement(TruncatedTextMaxCharacters, Object.assign({}, props), children);
52345
- };
52346
-
52347
- TruncatedText.propTypes = {
52348
- children: PropTypes.node,
52349
- indicator: PropTypes.string,
52350
- element: PropTypes.node,
52351
- maxCharacters: PropTypes.number,
52352
- showTooltip: PropTypes.bool,
52353
- fullWidth: PropTypes.bool,
52354
- "data-testid": PropTypes.string,
52355
- tooltipProps: PropTypes.shape({})
52356
- };
52357
- TruncatedText.defaultProps = {
52358
- children: undefined,
52359
- indicator: "...",
52360
- element: /*#__PURE__*/React__default.createElement(Text, null),
52361
- maxCharacters: 20,
52362
- fullWidth: false,
52363
- showTooltip: true,
52364
- "data-testid": "truncated-text",
52365
- tooltipProps: undefined
51742
+ props = __rest(_a, ["indicator", "element", "maxCharacters", "fullWidth", "showTooltip", "data-testid", "children"]);
51743
+
51744
+ return fullWidth ? /*#__PURE__*/React__default.createElement(TruncatedTextFillWidth, Object.assign({
51745
+ indicator: indicator,
51746
+ element: element,
51747
+ maxCharacters: maxCharacters,
51748
+ showTooltip: showTooltip,
51749
+ "data-testid": dataTestId
51750
+ }, props), children) : /*#__PURE__*/React__default.createElement(TruncatedTextMaxCharacters, Object.assign({
51751
+ indicator: indicator,
51752
+ element: element,
51753
+ maxCharacters: maxCharacters,
51754
+ showTooltip: showTooltip,
51755
+ "data-testid": dataTestId
51756
+ }, props), children);
52366
51757
  };
52367
51758
 
52368
51759
  export { ALL_NDS_LOCALES, Alert$1 as Alert, AnimatedBox, ApplicationFrame, AsyncSelect, Banner, Box, BrandLogoContainer, NavBar$1 as BrandedNavBar, Branding, Breadcrumbs, Button, ButtonGroup, Card, CardSet, Checkbox, CheckboxGroup, ControlIcon, DangerButton, DatePicker, DateRange, DesktopMenu$1 as DesktopMenu, Divider$1 as Divider, DropdownButton, DropdownItem, DropdownLink, DropdownMenu, DropdownText, EnvironmentBanner, Field, FieldLabel, Fieldset, Flex, Form, FormSection, Header, Heading1, Heading2, Heading3, Heading4, HelpText, Icon, IconicButton, InlineIcon, InlineValidation, Input, Link, List, ListItem, LoadingAnimation, MenuTrigger$1 as MenuTrigger, Modal, NDSProvider, NavBar, NavBarBackground$1 as NavBarBackground, NotificationTypes, Overlay, Page, Pagination, PrimaryButton, QuietButton, Radio, RadioGroup, RangeContainer, RequirementText, ReactSelect as Select, SelectClearIndicator, SelectContainer, SelectControl, SelectDropdownIndicator, SelectInput, SelectMenu, SelectMultiValue, SelectOption$1 as SelectOption, Sidebar, SmallNavBar$1 as SmallNavBar, SortingTable, StatusIndicator, StatusIndicatorValues, Summary, SummaryDivider, SummaryItem, Switch$1 as Switch, Switcher, Tab, Table, Tabs, Text, Textarea, TimePicker, TimeRange, Toast, ToastContainer, ToggleComponent as Toggle, Tooltip, TruncatedText, addStyledProps, Theme as theme, toast, useWindowDimensions };