@doist/reactist 26.2.5 → 27.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -226,7 +226,7 @@ var modules_89b7671c = {"minWidth-0":"_68ab48ca","minWidth-xsmall":"_6fa2b565","
226
226
 
227
227
  var modules_8b5c09cb = {"gap-none":"_64ed24f4","gap-xsmall":"_2580a74b","gap-small":"c68f8bf6","gap-medium":"_43e5f8e9","gap-large":"_966b120f","gap-xlarge":"f957894c","gap-xxlarge":"_8cca104b","tablet-gap-none":"_5797cee2","tablet-gap-xsmall":"_9015672f","tablet-gap-small":"_7ec86eec","tablet-gap-medium":"_714d7179","tablet-gap-large":"ae1deb59","tablet-gap-xlarge":"e1cfce55","tablet-gap-xxlarge":"_168a8ff8","desktop-gap-none":"_43e2b619","desktop-gap-xsmall":"_0ea9bf88","desktop-gap-small":"d451307a","desktop-gap-medium":"bf93cf66","desktop-gap-large":"_1430cddf","desktop-gap-xlarge":"fa00c93e","desktop-gap-xxlarge":"_6f3aee54"};
228
228
 
229
- const _excluded$v = ["as", "position", "display", "flexDirection", "flexWrap", "flexGrow", "flexShrink", "gap", "alignItems", "justifyContent", "alignSelf", "overflow", "width", "height", "background", "border", "borderRadius", "minWidth", "maxWidth", "textAlign", "padding", "paddingY", "paddingX", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "margin", "marginY", "marginX", "marginTop", "marginRight", "marginBottom", "marginLeft", "className", "children"];
229
+ const _excluded$w = ["as", "position", "display", "flexDirection", "flexWrap", "flexGrow", "flexShrink", "gap", "alignItems", "justifyContent", "alignSelf", "overflow", "width", "height", "background", "border", "borderRadius", "minWidth", "maxWidth", "textAlign", "padding", "paddingY", "paddingX", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "margin", "marginY", "marginX", "marginTop", "marginRight", "marginBottom", "marginLeft", "className", "children"];
230
230
 
231
231
  function getBoxClassNames({
232
232
  position = 'static',
@@ -321,7 +321,7 @@ const Box$1 = /*#__PURE__*/polymorphicComponent(function Box(_ref9, ref) {
321
321
  className,
322
322
  children
323
323
  } = _ref9,
324
- props = _objectWithoutProperties(_ref9, _excluded$v);
324
+ props = _objectWithoutProperties(_ref9, _excluded$w);
325
325
 
326
326
  return /*#__PURE__*/React__namespace.createElement(component, _objectSpread2(_objectSpread2({}, props), {}, {
327
327
  className: getBoxClassNames({
@@ -366,15 +366,15 @@ const Box$1 = /*#__PURE__*/polymorphicComponent(function Box(_ref9, ref) {
366
366
 
367
367
  var modules_67f2d07a = {"container":"eae3d34f","container-xsmall":"_9b4012c9","container-small":"e35e0320","container-medium":"_0703e67f","container-large":"_1cf15621","container-xlarge":"_1c7dff67","container-xxlarge":"_25bee9b6","columnWidth-content":"_4bb9987d","columnWidth-auto":"_9dd31975","columnWidth-1-2":"_38d11c0e","columnWidth-1-3":"_7ac225c6","columnWidth-2-3":"_9c340680","columnWidth-1-4":"_81cb99d2","columnWidth-3-4":"_10fd355f","columnWidth-1-5":"_3ee66520","columnWidth-2-5":"df1201a5","columnWidth-3-5":"f772e0b2","columnWidth-4-5":"_880cbbb1"};
368
368
 
369
- const _excluded$u = ["width", "children", "exceptionallySetClassName"],
370
- _excluded2$6 = ["space", "align", "alignY", "collapseBelow", "children", "exceptionallySetClassName"];
369
+ const _excluded$v = ["width", "children", "exceptionallySetClassName"],
370
+ _excluded2$7 = ["space", "align", "alignY", "collapseBelow", "children", "exceptionallySetClassName"];
371
371
  const Column = /*#__PURE__*/polymorphicComponent(function Column(_ref, ref) {
372
372
  let {
373
373
  width = 'auto',
374
374
  children,
375
375
  exceptionallySetClassName
376
376
  } = _ref,
377
- props = _objectWithoutProperties(_ref, _excluded$u);
377
+ props = _objectWithoutProperties(_ref, _excluded$v);
378
378
 
379
379
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
380
380
  className: [exceptionallySetClassName, getClassNames(modules_67f2d07a, 'columnWidth', width.replace('/', '-'))],
@@ -394,7 +394,7 @@ const Columns = /*#__PURE__*/polymorphicComponent(function Columns(_ref2, ref) {
394
394
  children,
395
395
  exceptionallySetClassName
396
396
  } = _ref2,
397
- props = _objectWithoutProperties(_ref2, _excluded2$6);
397
+ props = _objectWithoutProperties(_ref2, _excluded2$7);
398
398
 
399
399
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
400
400
  className: [exceptionallySetClassName, modules_67f2d07a.container, getClassNames(modules_67f2d07a, 'container', space)],
@@ -416,13 +416,13 @@ const Columns = /*#__PURE__*/polymorphicComponent(function Columns(_ref2, ref) {
416
416
 
417
417
  var modules_c742c4d7 = {"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};
418
418
 
419
- const _excluded$t = ["weight"];
419
+ const _excluded$u = ["weight"];
420
420
 
421
421
  function Divider(_ref) {
422
422
  let {
423
423
  weight = 'tertiary'
424
424
  } = _ref,
425
- props = _objectWithoutProperties(_ref, _excluded$t);
425
+ props = _objectWithoutProperties(_ref, _excluded$u);
426
426
 
427
427
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2({
428
428
  as: "hr",
@@ -430,7 +430,7 @@ function Divider(_ref) {
430
430
  }, props));
431
431
  }
432
432
 
433
- const _excluded$s = ["as", "space", "align", "alignY", "children", "exceptionallySetClassName"];
433
+ const _excluded$t = ["as", "space", "align", "alignY", "children", "exceptionallySetClassName"];
434
434
  const Inline = /*#__PURE__*/polymorphicComponent(function Inline(_ref, ref) {
435
435
  let {
436
436
  as,
@@ -440,7 +440,7 @@ const Inline = /*#__PURE__*/polymorphicComponent(function Inline(_ref, ref) {
440
440
  children,
441
441
  exceptionallySetClassName
442
442
  } = _ref,
443
- props = _objectWithoutProperties(_ref, _excluded$s);
443
+ props = _objectWithoutProperties(_ref, _excluded$t);
444
444
 
445
445
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
446
446
  as: as,
@@ -454,7 +454,7 @@ const Inline = /*#__PURE__*/polymorphicComponent(function Inline(_ref, ref) {
454
454
  }), children);
455
455
  });
456
456
 
457
- const _excluded$r = ["as", "space", "align", "dividers", "width", "children", "exceptionallySetClassName"];
457
+ const _excluded$s = ["as", "space", "align", "dividers", "width", "children", "exceptionallySetClassName"];
458
458
  const Stack = /*#__PURE__*/polymorphicComponent(function Stack(_ref, ref) {
459
459
  let {
460
460
  as,
@@ -465,7 +465,7 @@ const Stack = /*#__PURE__*/polymorphicComponent(function Stack(_ref, ref) {
465
465
  children,
466
466
  exceptionallySetClassName
467
467
  } = _ref,
468
- props = _objectWithoutProperties(_ref, _excluded$r);
468
+ props = _objectWithoutProperties(_ref, _excluded$s);
469
469
 
470
470
  const alignItems = align === undefined ? undefined : mapResponsiveProp(align, align => align === 'start' ? 'flexStart' : align === 'end' ? 'flexEnd' : 'center');
471
471
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
@@ -484,7 +484,7 @@ const Stack = /*#__PURE__*/polymorphicComponent(function Stack(_ref, ref) {
484
484
 
485
485
  var modules_4689e97e = {"hiddenOnPrint":"_0e595dea"};
486
486
 
487
- const _excluded$q = ["display", "children", "exceptionallySetClassName"];
487
+ const _excluded$r = ["display", "children", "exceptionallySetClassName"];
488
488
  /**
489
489
  * A component that allows to specify how to hide itself on certain responsive screen sizes, or on
490
490
  * print media.
@@ -500,7 +500,7 @@ const Hidden = /*#__PURE__*/polymorphicComponent(function Hidden(_ref, ref) {
500
500
  children,
501
501
  exceptionallySetClassName
502
502
  } = _ref,
503
- props = _objectWithoutProperties(_ref, _excluded$q);
503
+ props = _objectWithoutProperties(_ref, _excluded$r);
504
504
 
505
505
  const hiddenOnPrint = 'print' in props && props.print;
506
506
  const hiddenOnDesktop = ('above' in props);
@@ -549,6 +549,28 @@ const HiddenVisually = /*#__PURE__*/polymorphicComponent(function HiddenVisually
549
549
  }));
550
550
  });
551
551
 
552
+ let uid = 0;
553
+
554
+ function uniqueId() {
555
+ return uid++;
556
+ }
557
+
558
+ function generateElementId(prefix) {
559
+ const num = uniqueId();
560
+ return prefix + "-" + num;
561
+ }
562
+ function useId(providedId) {
563
+ const ref = React__namespace.useRef(providedId != null ? providedId : null);
564
+
565
+ if (!ref.current) {
566
+ ref.current = generateElementId('element');
567
+ }
568
+
569
+ return ref.current;
570
+ }
571
+
572
+ var modules_afa80466 = {"banner":"a3c628a9","image":"b2cb529e","content":"_608df6ce","description":"_7d8d68de","title":"_05e2783a","secondary":"d5e077f5","icon":"dbf93d2e","closeButton":"_22f9ed25","copy":"_99ded674","inlineLink":"fe6dd094","staticContent":"e6ed6d9e","actions":"_51bd96a8"};
573
+
552
574
  var modules_c7f5018f = {"svg":"_51539197","spinner":"_54fbe2b3","tint":"a0c466ed","fill":"_745b73d3"};
553
575
 
554
576
  function Spinner({
@@ -649,8 +671,8 @@ function Tooltip({
649
671
 
650
672
  var modules_5357ebb8 = {"baseButton":"_3930afa0","label":"_90654824","shape-rounded":"c05d17c2","size-small":"_1e29d236","size-normal":"_7246d092","size-large":"_2d084671","disabled":"_2b0b9d95","iconButton":"abd5766f","startIcon":"_380e7c73","endIcon":"_20fe4105","variant-primary":"_7ea1378e","variant-secondary":"_64ee8afd","variant-tertiary":"_650176bf","variant-quaternary":"aa19cb97","tone-destructive":"_7a2d9a8c"};
651
673
 
652
- const _excluded$p = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "startIcon", "endIcon", "width", "align"],
653
- _excluded2$5 = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "icon"];
674
+ const _excluded$q = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "startIcon", "endIcon", "width", "align"],
675
+ _excluded2$6 = ["variant", "tone", "size", "shape", "type", "disabled", "loading", "tooltip", "render", "onClick", "exceptionallySetClassName", "children", "icon"];
654
676
 
655
677
  function preventDefault(event) {
656
678
  event.preventDefault();
@@ -680,7 +702,7 @@ const Button$1 = /*#__PURE__*/React__namespace.forwardRef(function Button(_ref,
680
702
  width = 'auto',
681
703
  align = 'center'
682
704
  } = _ref,
683
- props = _objectWithoutProperties(_ref, _excluded$p);
705
+ props = _objectWithoutProperties(_ref, _excluded$q);
684
706
 
685
707
  const isDisabled = loading || disabled;
686
708
  const buttonElement = /*#__PURE__*/React__namespace.createElement(react.Role.button, _objectSpread2(_objectSpread2({}, props), {}, {
@@ -733,7 +755,7 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
733
755
  children,
734
756
  icon
735
757
  } = _ref2,
736
- props = _objectWithoutProperties(_ref2, _excluded2$5);
758
+ props = _objectWithoutProperties(_ref2, _excluded2$6);
737
759
 
738
760
  const isDisabled = loading || disabled;
739
761
  const buttonElement = /*#__PURE__*/React__namespace.createElement(react.Role.button, _objectSpread2(_objectSpread2({}, props), {}, {
@@ -750,209 +772,260 @@ const IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(
750
772
  }, buttonElement) : buttonElement;
751
773
  });
752
774
 
753
- const _excluded$o = ["tone"];
754
- const alertIconForTone = {
755
- info: AlertInfoIcon,
756
- positive: AlertPositiveIcon,
757
- caution: AlertCautionIcon,
758
- critical: AlertCriticalIcon
775
+ function CloseIcon(props) {
776
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
777
+ xmlns: "http://www.w3.org/2000/svg",
778
+ width: "24",
779
+ height: "24"
780
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
781
+ fill: "currentColor",
782
+ d: "M5.146 5.146a.5.5 0 0 1 .708 0L12 11.293l6.146-6.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 0 .708L12.707 12l6.147 6.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.708 0L12 12.707l-6.146 6.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1 0-.708L11.293 12 5.146 5.854a.5.5 0 0 1-.057-.638z"
783
+ }));
784
+ }
785
+
786
+ const _excluded$p = ["type"];
787
+ const bannerIconForType = {
788
+ info: BannerInfoIcon,
789
+ upgrade: BannerUpgradeIcon,
790
+ experiment: BannerExperimentIcon,
791
+ warning: BannerWarningIcon,
792
+ error: BannerErrorIcon,
793
+ success: BannerSuccessIcon
759
794
  };
760
795
 
761
- function AlertIcon(_ref) {
796
+ function BannerIcon(_ref) {
762
797
  let {
763
- tone
798
+ type
764
799
  } = _ref,
765
- props = _objectWithoutProperties(_ref, _excluded$o);
800
+ props = _objectWithoutProperties(_ref, _excluded$p);
766
801
 
767
- const Icon = alertIconForTone[tone];
768
- return Icon ? /*#__PURE__*/React__namespace.createElement(Icon, _objectSpread2({}, props)) : null;
802
+ const Icon = bannerIconForType[type];
803
+ return Icon ? /*#__PURE__*/React__namespace.createElement(Icon, _objectSpread2(_objectSpread2({}, props), {}, {
804
+ "data-testid": "banner-icon-" + type,
805
+ "aria-hidden": true
806
+ })) : null;
769
807
  }
770
808
 
771
- function AlertInfoIcon(props) {
809
+ function BannerInfoIcon(props) {
772
810
  return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
773
811
  xmlns: "http://www.w3.org/2000/svg",
774
812
  width: "24",
775
813
  height: "24",
776
- viewBox: "0 0 24 24"
814
+ fill: "none"
777
815
  }, props), /*#__PURE__*/React__namespace.createElement("path", {
816
+ fill: "#316FEA",
778
817
  fillRule: "evenodd",
779
- clipRule: "evenodd",
780
- d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-8-3.94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10.25 10a.75.75 0 0 0 0 1.5h1.25V15h-1.25a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5H13v-4.25a.75.75 0 0 0-.75-.75h-2Z",
781
- fill: "currentColor"
818
+ d: "M21 12.25a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-8-3.94a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-2.75 1.94a.75.75 0 0 0 0 1.5h1.25v3.5h-1.25a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5H13V11a.752.752 0 0 0-.75-.75h-2Z",
819
+ clipRule: "evenodd"
782
820
  }));
783
821
  }
784
822
 
785
- function AlertPositiveIcon(props) {
823
+ function BannerUpgradeIcon(props) {
786
824
  return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
787
825
  xmlns: "http://www.w3.org/2000/svg",
788
826
  width: "24",
789
827
  height: "24",
790
- viewBox: "0 0 24 24"
828
+ fill: "none"
791
829
  }, props), /*#__PURE__*/React__namespace.createElement("path", {
830
+ fill: "#F48318",
792
831
  fillRule: "evenodd",
793
- clipRule: "evenodd",
794
- d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-5.555-2.99a.75.75 0 0 1 1.06 1.06l-5.303 5.304a.748.748 0 0 1-1.061 0l-2.475-2.475a.75.75 0 0 1 1.06-1.06l1.945 1.944 4.774-4.773Z",
795
- fill: "currentColor"
832
+ d: "M13.974 4.226a2.485 2.485 0 0 0-3.948 0 2.485 2.485 0 0 1-2.304.954A2.485 2.485 0 0 0 4.93 7.972a2.485 2.485 0 0 1-.954 2.304 2.485 2.485 0 0 0 0 3.948 2.485 2.485 0 0 1 .954 2.304 2.485 2.485 0 0 0 2.792 2.792 2.485 2.485 0 0 1 2.304.954 2.485 2.485 0 0 0 3.948 0 2.485 2.485 0 0 1 2.304-.954 2.485 2.485 0 0 0 2.792-2.792 2.485 2.485 0 0 1 .954-2.304 2.485 2.485 0 0 0 0-3.948 2.485 2.485 0 0 1-.954-2.304 2.485 2.485 0 0 0-2.792-2.792 2.485 2.485 0 0 1-2.304-.954ZM11.228 7.08c-.297-.581-1.177-.345-1.144.306l.125 2.437a.605.605 0 0 1-.635.635l-2.437-.125c-.651-.033-.887.847-.306 1.144l2.172 1.11c.32.163.428.567.233.868L7.91 15.503c-.355.548.289 1.192.837.837l2.047-1.326a.605.605 0 0 1 .868.233l1.11 2.172c.297.581 1.177.345 1.144-.306l-.125-2.437a.605.605 0 0 1 .635-.635l2.437.125c.651.033.887-.847.306-1.144l-2.172-1.11a.605.605 0 0 1-.233-.868l1.326-2.047c.355-.548-.289-1.192-.837-.837l-2.047 1.326a.605.605 0 0 1-.868-.233l-1.11-2.172Z",
833
+ clipRule: "evenodd"
834
+ }), /*#__PURE__*/React__namespace.createElement("path", {
835
+ fill: "#fff",
836
+ d: "M10.084 7.387c-.033-.651.847-.887 1.144-.306l1.11 2.172c.163.32.567.428.868.233l2.047-1.326c.548-.355 1.192.289.837.837l-1.326 2.047a.605.605 0 0 0 .233.868l2.172 1.11c.581.297.345 1.177-.306 1.144l-2.437-.125a.605.605 0 0 0-.635.635l.125 2.437c.033.651-.847.887-1.144.306l-1.11-2.172a.605.605 0 0 0-.868-.233L8.747 16.34c-.548.355-1.192-.289-.837-.837l1.326-2.047a.605.605 0 0 0-.233-.868l-2.172-1.11c-.581-.297-.345-1.177.306-1.144l2.437.125a.605.605 0 0 0 .635-.635l-.125-2.437Z"
796
837
  }));
797
838
  }
798
839
 
799
- function AlertCautionIcon(props) {
840
+ function BannerExperimentIcon(props) {
800
841
  return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
801
842
  xmlns: "http://www.w3.org/2000/svg",
802
843
  width: "24",
803
- height: "24",
804
- viewBox: "0 0 24 24"
844
+ height: "25",
845
+ fill: "none"
805
846
  }, props), /*#__PURE__*/React__namespace.createElement("path", {
847
+ fill: "#F48318",
806
848
  fillRule: "evenodd",
807
- clipRule: "evenodd",
808
- d: "m10.272 4.962-7.018 12.03A2 2 0 0 0 4.982 20h14.036a2 2 0 0 0 1.727-3.008l-7.018-12.03a2 2 0 0 0-3.455 0ZM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.014-7.013A.987.987 0 0 0 12 8.5h-.028l-.027.002a.987.987 0 0 0-.93 1.04l.236 4.25c.052.944 1.445.944 1.498 0l.236-4.25a1.925 1.925 0 0 0 .001-.055Z",
809
- fill: "currentColor"
849
+ d: "M12 3.25a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-3 4.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1H14v4.333a2 2 0 0 0 .4 1.2l4.4 5.867a1 1 0 0 1-.8 1.6H6a1 1 0 0 1-.8-1.6l4.4-5.867a2 2 0 0 0 .4-1.2V8.25h-.5a.5.5 0 0 1-.5-.5Zm1.5-2.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1Zm4.5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-4 3v4.333a3 3 0 0 1-.6 1.8l-.752 1.003c.11.078.245.16.403.226.41.173.985.253 1.682-.188.808-.51 1.547-.67 2.142-.674l-.275-.367a3 3 0 0 1-.6-1.8V8.25h-2Z",
850
+ clipRule: "evenodd"
810
851
  }));
811
852
  }
812
853
 
813
- function AlertCriticalIcon(props) {
854
+ function BannerWarningIcon(props) {
814
855
  return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
815
856
  xmlns: "http://www.w3.org/2000/svg",
816
857
  width: "24",
817
858
  height: "24",
818
- viewBox: "0 0 24 24"
859
+ fill: "none"
819
860
  }, props), /*#__PURE__*/React__namespace.createElement("path", {
861
+ fill: "#EB8909",
820
862
  fillRule: "evenodd",
821
- clipRule: "evenodd",
822
- d: "M12.9866 2.25049C12.3729 1.91683 11.6271 1.91683 11.0134 2.25049L4.04793 6.03744C3.40122 6.38904 2.99999 7.05702 2.99999 7.78208V15.2184C2.99999 15.9435 3.40122 16.6115 4.04793 16.963L11.0134 20.75C11.6271 21.0837 12.3729 21.0837 12.9866 20.75L19.9521 16.963C20.5988 16.6114 21 15.9435 21 15.2184V7.78208C21 7.05701 20.5988 6.38904 19.9521 6.03744L12.9866 2.25049ZM12 7.00024C12.5448 7.00024 12.9865 7.44191 12.9865 7.98674C12.9864 8.00043 12.9863 8.00727 12.9861 8.01411C12.9859 8.02095 12.9856 8.02779 12.985 8.04146L12.7489 12.2918C12.6964 13.2364 11.3036 13.2364 11.2512 12.2918L11.015 8.04146C10.9848 7.49747 11.4013 7.03198 11.9453 7.00176L11.9726 7.00062L12 7.00024ZM13 15.0002C13 15.5525 12.5523 16.0002 12 16.0002C11.4477 16.0002 11 15.5525 11 15.0002C11 14.448 11.4477 14.0002 12 14.0002C12.5523 14.0002 13 14.448 13 15.0002Z",
823
- fill: "currentColor"
863
+ d: "m10.272 5.212-7.018 12.03a2 2 0 0 0 1.728 3.008h14.036a2 2 0 0 0 1.727-3.008l-7.018-12.03a2 2 0 0 0-3.455 0ZM13 16.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.014-7.014A.987.987 0 0 0 12 8.75h-.027l-.028.002a.987.987 0 0 0-.93 1.04l.236 4.25c.053.944 1.445.944 1.498 0l.236-4.25.001-.028v-.028Z",
864
+ clipRule: "evenodd"
824
865
  }));
825
866
  }
826
867
 
827
- function CloseIcon(props) {
868
+ function BannerErrorIcon(props) {
828
869
  return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
829
870
  xmlns: "http://www.w3.org/2000/svg",
830
871
  width: "24",
831
- height: "24"
872
+ height: "24",
873
+ fill: "none"
832
874
  }, props), /*#__PURE__*/React__namespace.createElement("path", {
833
- fill: "currentColor",
834
- d: "M5.146 5.146a.5.5 0 0 1 .708 0L12 11.293l6.146-6.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 0 .708L12.707 12l6.147 6.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.708 0L12 12.707l-6.146 6.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1 0-.708L11.293 12 5.146 5.854a.5.5 0 0 1-.057-.638z"
875
+ fill: "#DC4C3E",
876
+ fillRule: "evenodd",
877
+ d: "M12.987 2.5a2.07 2.07 0 0 0-1.974 0L4.048 6.287A1.989 1.989 0 0 0 3 8.032v7.436c0 .725.401 1.393 1.048 1.745L11.013 21a2.07 2.07 0 0 0 1.974 0l6.965-3.787A1.989 1.989 0 0 0 21 15.468V8.032c0-.725-.401-1.393-1.048-1.745L12.987 2.5ZM12 7.25a.987.987 0 0 1 .986 1.014l-.001.027-.236 4.25c-.053.945-1.445.945-1.498 0l-.236-4.25a.987.987 0 0 1 .93-1.04h.028L12 7.25Zm1 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",
878
+ clipRule: "evenodd"
835
879
  }));
836
880
  }
837
881
 
838
- var modules_6205a58e = {"container":"d6be7fe9","content":"ad8ace2f","icon":"ab71a9dc","tone-info":"_043941a6","tone-positive":"f34b89d4","tone-caution":"a069ea07","tone-critical":"e505aabb"};
839
-
840
- function Alert({
841
- id,
842
- children,
843
- tone,
844
- closeLabel,
845
- onClose
846
- }) {
847
- return /*#__PURE__*/React__namespace.createElement(Box$1, {
848
- id: id,
849
- role: "alert",
850
- "aria-live": "polite",
851
- borderRadius: "full",
852
- className: [modules_6205a58e.container, getClassNames(modules_6205a58e, 'tone', tone)]
853
- }, /*#__PURE__*/React__namespace.createElement(Columns, {
854
- space: "small",
855
- alignY: "center"
856
- }, /*#__PURE__*/React__namespace.createElement(Column, {
857
- width: "content"
858
- }, /*#__PURE__*/React__namespace.createElement(AlertIcon, {
859
- tone: tone,
860
- className: modules_6205a58e.icon
861
- })), /*#__PURE__*/React__namespace.createElement(Column, null, /*#__PURE__*/React__namespace.createElement(Box$1, {
862
- paddingY: "xsmall",
863
- paddingRight: onClose != null && closeLabel != null ? undefined : 'small',
864
- display: "flex",
865
- alignItems: "center",
866
- className: modules_6205a58e.content
867
- }, children)), onClose != null && closeLabel != null ? /*#__PURE__*/React__namespace.createElement(Column, {
868
- width: "content"
869
- }, /*#__PURE__*/React__namespace.createElement(IconButton, {
870
- variant: "quaternary",
871
- size: "small",
872
- onClick: onClose,
873
- "aria-label": closeLabel,
874
- icon: /*#__PURE__*/React__namespace.createElement(CloseIcon, null),
875
- style: {
876
- // @ts-expect-error not sure how to make TypeScript understand custom CSS properties
877
- '--reactist-btn-hover-fill': 'transparent'
878
- }
879
- })) : null));
880
- }
881
-
882
- let uid = 0;
883
-
884
- function uniqueId() {
885
- return uid++;
882
+ function BannerSuccessIcon(props) {
883
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
884
+ xmlns: "http://www.w3.org/2000/svg",
885
+ width: "24",
886
+ height: "24",
887
+ fill: "none"
888
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
889
+ fill: "#058527",
890
+ fillRule: "evenodd",
891
+ d: "M21 12.25a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-5.555-2.99a.75.75 0 0 1 1.06 1.06l-5.303 5.303a.748.748 0 0 1-1.061 0L7.666 13.15a.75.75 0 1 1 1.06-1.06l1.945 1.944 4.774-4.773Z",
892
+ clipRule: "evenodd"
893
+ }));
886
894
  }
887
895
 
888
- function generateElementId(prefix) {
889
- const num = uniqueId();
890
- return prefix + "-" + num;
891
- }
892
- function useId(providedId) {
893
- const ref = React__namespace.useRef(providedId != null ? providedId : null);
894
-
895
- if (!ref.current) {
896
- ref.current = generateElementId('element');
897
- }
896
+ var modules_3d05deee = {"container":"fdc181b3"};
898
897
 
899
- return ref.current;
900
- }
898
+ const _excluded$o = ["as", "openInNewTab", "exceptionallySetClassName"];
899
+ const TextLink = /*#__PURE__*/polymorphicComponent(function TextLink(_ref, ref) {
900
+ let {
901
+ as = 'a',
902
+ openInNewTab = false,
903
+ exceptionallySetClassName
904
+ } = _ref,
905
+ props = _objectWithoutProperties(_ref, _excluded$o);
901
906
 
902
- var modules_afa80466 = {"banner":"c1dffd60","banner-info":"_9d552538","banner-promotion":"d797752e","title":"_8cd610da","title-without-description":"_78ea5373","title-info":"_319c73fa","title-promotion":"fc84253f","description":"af4bd758","description-info":"b95a8c07","description-promotion":"_3c33f615"};
907
+ return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
908
+ as: as,
909
+ display: "inline",
910
+ className: [exceptionallySetClassName, modules_3d05deee.container],
911
+ ref: ref,
912
+ target: openInNewTab ? '_blank' : undefined,
913
+ rel: openInNewTab ? 'noopener noreferrer' : undefined
914
+ }));
915
+ });
903
916
 
904
- const _excluded$n = ["id", "tone", "icon", "title", "description", "action"];
917
+ const _excluded$n = ["id", "type", "title", "description", "action", "icon", "image", "inlineLinks", "closeLabel", "onClose"],
918
+ _excluded2$5 = ["label"],
919
+ _excluded3$2 = ["type", "label"],
920
+ _excluded4$2 = ["type", "label", "variant"];
905
921
  const Banner = /*#__PURE__*/React__namespace.forwardRef(function Banner(_ref, ref) {
906
922
  let {
907
923
  id,
908
- tone,
909
- icon,
924
+ type,
910
925
  title,
911
926
  description,
912
- action
927
+ action,
928
+ icon,
929
+ image,
930
+ inlineLinks,
931
+ closeLabel,
932
+ onClose
913
933
  } = _ref,
914
934
  props = _objectWithoutProperties(_ref, _excluded$n);
915
935
 
916
936
  const titleId = useId();
917
937
  const descriptionId = useId();
938
+ const closeButton = onClose ? /*#__PURE__*/React__namespace.createElement(IconButton, {
939
+ exceptionallySetClassName: modules_afa80466.closeButton,
940
+ variant: "quaternary",
941
+ onClick: onClose,
942
+ icon: /*#__PURE__*/React__namespace.createElement(CloseIcon, null),
943
+ "aria-label": closeLabel != null ? closeLabel : 'Close banner'
944
+ }) : null;
918
945
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
919
946
  ref: ref,
920
947
  id: id,
948
+ display: "flex",
949
+ flexDirection: "column",
950
+ justifyContent: "center",
921
951
  role: "status",
922
- "aria-labelledby": titleId,
923
- "aria-describedby": descriptionId,
952
+ "aria-labelledby": title ? titleId : descriptionId,
953
+ "aria-describedby": title ? descriptionId : undefined,
924
954
  "aria-live": "polite",
925
955
  tabIndex: 0,
926
- borderRadius: "standard",
927
- className: [modules_afa80466.banner, modules_afa80466["banner-" + tone]]
928
- }), /*#__PURE__*/React__namespace.createElement(Columns, {
929
- space: "medium",
930
- alignY: "center"
931
- }, /*#__PURE__*/React__namespace.createElement(Column, {
932
- width: "content",
933
- "aria-hidden": true,
934
- style: {
935
- /* Make sure the icon is centered vertically */
936
- lineHeight: 0
937
- }
938
- }, icon), /*#__PURE__*/React__namespace.createElement(Column, null, /*#__PURE__*/React__namespace.createElement(Box$1, {
939
- paddingY: "xsmall"
940
- }, description ? /*#__PURE__*/React__namespace.createElement(Box$1, {
941
- id: titleId,
942
- className: [modules_afa80466.title, modules_afa80466["title-" + tone]]
943
- }, title) : /*#__PURE__*/React__namespace.createElement(Box$1, {
956
+ borderRadius: "full",
957
+ className: modules_afa80466.banner
958
+ }), image ? /*#__PURE__*/React__namespace.createElement(Box$1, {
959
+ className: modules_afa80466.image
960
+ }, image) : null, /*#__PURE__*/React__namespace.createElement(Box$1, {
961
+ className: modules_afa80466.content,
962
+ display: "flex",
963
+ gap: "small",
964
+ alignItems: "center"
965
+ }, /*#__PURE__*/React__namespace.createElement(Box$1, {
966
+ className: modules_afa80466.staticContent,
967
+ display: "flex",
968
+ gap: "small",
969
+ flexGrow: 1
970
+ }, /*#__PURE__*/React__namespace.createElement(Box$1, {
971
+ className: modules_afa80466.icon
972
+ }, type === 'neutral' ? icon : /*#__PURE__*/React__namespace.createElement(BannerIcon, {
973
+ type: type
974
+ }), closeButton), /*#__PURE__*/React__namespace.createElement(Box$1, {
975
+ className: modules_afa80466.copy,
976
+ display: "flex",
977
+ flexDirection: "column"
978
+ }, title ? /*#__PURE__*/React__namespace.createElement(Box$1, {
944
979
  id: titleId,
945
- className: [modules_afa80466.title, // If the banner does not have a description, we need to slightly tweak
946
- // the styling of the title applying an extra css class
947
- modules_afa80466["title-without-description"], modules_afa80466["title-" + tone]]
948
- }, title), description ? /*#__PURE__*/React__namespace.createElement(Box$1, {
980
+ className: modules_afa80466.title
981
+ }, title) : null, /*#__PURE__*/React__namespace.createElement(Box$1, {
949
982
  id: descriptionId,
950
- className: [modules_afa80466.description, modules_afa80466["description-" + tone]]
951
- }, description) : null)), action ? /*#__PURE__*/React__namespace.createElement(Column, {
952
- width: "content"
953
- }, action) : null));
983
+ className: [modules_afa80466.description, title ? modules_afa80466.secondary : null]
984
+ }, description, inlineLinks == null ? void 0 : inlineLinks.map((_ref2, index) => {
985
+ let {
986
+ label
987
+ } = _ref2,
988
+ props = _objectWithoutProperties(_ref2, _excluded2$5);
989
+
990
+ return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
991
+ key: index
992
+ }, /*#__PURE__*/React__namespace.createElement(TextLink, _objectSpread2(_objectSpread2({}, props), {}, {
993
+ exceptionallySetClassName: modules_afa80466.inlineLink
994
+ }), label), index < inlineLinks.length - 1 ? /*#__PURE__*/React__namespace.createElement("span", null, " \u00B7 ") : '');
995
+ })))), action || closeButton ? /*#__PURE__*/React__namespace.createElement(Box$1, {
996
+ className: modules_afa80466.actions,
997
+ display: "flex",
998
+ gap: "small"
999
+ }, (action == null ? void 0 : action.type) === 'button' ? /*#__PURE__*/React__namespace.createElement(ActionButton, _objectSpread2({}, action)) : null, (action == null ? void 0 : action.type) === 'link' ? /*#__PURE__*/React__namespace.createElement(ActionLink, _objectSpread2({}, action)) : null, closeButton) : null));
954
1000
  });
955
1001
 
1002
+ function ActionButton(_ref3) {
1003
+ let {
1004
+ type,
1005
+ label
1006
+ } = _ref3,
1007
+ props = _objectWithoutProperties(_ref3, _excluded3$2);
1008
+
1009
+ return /*#__PURE__*/React__namespace.createElement(Button$1, _objectSpread2({}, props), label);
1010
+ }
1011
+
1012
+ function ActionLink(_ref4) {
1013
+ let {
1014
+ type,
1015
+ label,
1016
+ variant
1017
+ } = _ref4,
1018
+ props = _objectWithoutProperties(_ref4, _excluded4$2);
1019
+
1020
+ return /*#__PURE__*/React__namespace.createElement(Button$1, {
1021
+ variant: variant,
1022
+ render: /*#__PURE__*/React__namespace.createElement("a", _objectSpread2({
1023
+ rel: "noopener noreferrer",
1024
+ target: "_blank"
1025
+ }, props))
1026
+ }, label);
1027
+ }
1028
+
956
1029
  const _excluded$m = ["size", "exceptionallySetClassName"];
957
1030
  const sizeMapping = {
958
1031
  xsmall: 16,
@@ -985,6 +1058,80 @@ function Loading(_ref) {
985
1058
  }));
986
1059
  }
987
1060
 
1061
+ const _excluded$l = ["tone"];
1062
+ const alertIconForTone = {
1063
+ info: AlertInfoIcon,
1064
+ positive: AlertPositiveIcon,
1065
+ caution: AlertCautionIcon,
1066
+ critical: AlertCriticalIcon
1067
+ };
1068
+
1069
+ function AlertIcon(_ref) {
1070
+ let {
1071
+ tone
1072
+ } = _ref,
1073
+ props = _objectWithoutProperties(_ref, _excluded$l);
1074
+
1075
+ const Icon = alertIconForTone[tone];
1076
+ return Icon ? /*#__PURE__*/React__namespace.createElement(Icon, _objectSpread2({}, props)) : null;
1077
+ }
1078
+
1079
+ function AlertInfoIcon(props) {
1080
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
1081
+ xmlns: "http://www.w3.org/2000/svg",
1082
+ width: "24",
1083
+ height: "24",
1084
+ viewBox: "0 0 24 24"
1085
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
1086
+ fillRule: "evenodd",
1087
+ clipRule: "evenodd",
1088
+ d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-8-3.94a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM10.25 10a.75.75 0 0 0 0 1.5h1.25V15h-1.25a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5H13v-4.25a.75.75 0 0 0-.75-.75h-2Z",
1089
+ fill: "currentColor"
1090
+ }));
1091
+ }
1092
+
1093
+ function AlertPositiveIcon(props) {
1094
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
1095
+ xmlns: "http://www.w3.org/2000/svg",
1096
+ width: "24",
1097
+ height: "24",
1098
+ viewBox: "0 0 24 24"
1099
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
1100
+ fillRule: "evenodd",
1101
+ clipRule: "evenodd",
1102
+ d: "M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-5.555-2.99a.75.75 0 0 1 1.06 1.06l-5.303 5.304a.748.748 0 0 1-1.061 0l-2.475-2.475a.75.75 0 0 1 1.06-1.06l1.945 1.944 4.774-4.773Z",
1103
+ fill: "currentColor"
1104
+ }));
1105
+ }
1106
+
1107
+ function AlertCautionIcon(props) {
1108
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
1109
+ xmlns: "http://www.w3.org/2000/svg",
1110
+ width: "24",
1111
+ height: "24",
1112
+ viewBox: "0 0 24 24"
1113
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
1114
+ fillRule: "evenodd",
1115
+ clipRule: "evenodd",
1116
+ d: "m10.272 4.962-7.018 12.03A2 2 0 0 0 4.982 20h14.036a2 2 0 0 0 1.727-3.008l-7.018-12.03a2 2 0 0 0-3.455 0ZM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.014-7.013A.987.987 0 0 0 12 8.5h-.028l-.027.002a.987.987 0 0 0-.93 1.04l.236 4.25c.052.944 1.445.944 1.498 0l.236-4.25a1.925 1.925 0 0 0 .001-.055Z",
1117
+ fill: "currentColor"
1118
+ }));
1119
+ }
1120
+
1121
+ function AlertCriticalIcon(props) {
1122
+ return /*#__PURE__*/React__namespace.createElement("svg", _objectSpread2({
1123
+ xmlns: "http://www.w3.org/2000/svg",
1124
+ width: "24",
1125
+ height: "24",
1126
+ viewBox: "0 0 24 24"
1127
+ }, props), /*#__PURE__*/React__namespace.createElement("path", {
1128
+ fillRule: "evenodd",
1129
+ clipRule: "evenodd",
1130
+ d: "M12.9866 2.25049C12.3729 1.91683 11.6271 1.91683 11.0134 2.25049L4.04793 6.03744C3.40122 6.38904 2.99999 7.05702 2.99999 7.78208V15.2184C2.99999 15.9435 3.40122 16.6115 4.04793 16.963L11.0134 20.75C11.6271 21.0837 12.3729 21.0837 12.9866 20.75L19.9521 16.963C20.5988 16.6114 21 15.9435 21 15.2184V7.78208C21 7.05701 20.5988 6.38904 19.9521 6.03744L12.9866 2.25049ZM12 7.00024C12.5448 7.00024 12.9865 7.44191 12.9865 7.98674C12.9864 8.00043 12.9863 8.00727 12.9861 8.01411C12.9859 8.02095 12.9856 8.02779 12.985 8.04146L12.7489 12.2918C12.6964 13.2364 11.3036 13.2364 11.2512 12.2918L11.015 8.04146C10.9848 7.49747 11.4013 7.03198 11.9453 7.00176L11.9726 7.00062L12 7.00024ZM13 15.0002C13 15.5525 12.5523 16.0002 12 16.0002C11.4477 16.0002 11 15.5525 11 15.0002C11 14.448 11.4477 14.0002 12 14.0002C12.5523 14.0002 13 14.448 13 15.0002Z",
1131
+ fill: "currentColor"
1132
+ }));
1133
+ }
1134
+
988
1135
  var modules_1b547e7e = {"container":"_2e62197a","content":"b7e8d846","icon":"_1c02ef4a","tone-info":"_940b3b19","tone-positive":"_6261fc66","tone-caution":"_255e20fe","tone-critical":"e225437d"};
989
1136
 
990
1137
  function Notice({
@@ -1012,7 +1159,7 @@ function Notice({
1012
1159
 
1013
1160
  var modules_a9637dd3 = {"text":"a83bd4e0","size-caption":"_266d6623","size-copy":"a8d37c6e","size-subtitle":"_39f4eb1f","weight-semibold":"_7be5c531","weight-bold":"e214ff2e","tone-secondary":"_6a3e5ade","tone-danger":"_8f5b5f2b","tone-positive":"_9ae47ae4","lineClampMultipleLines":"_969f18f7","lineClamp-1":"_2f303ac3","lineClamp-2":"d3e04245","lineClamp-3":"_33411704","lineClamp-4":"bfc32640","lineClamp-5":"f813c82f"};
1014
1161
 
1015
- const _excluded$l = ["as", "size", "weight", "tone", "align", "children", "lineClamp", "exceptionallySetClassName"];
1162
+ const _excluded$k = ["as", "size", "weight", "tone", "align", "children", "lineClamp", "exceptionallySetClassName"];
1016
1163
  const Text = /*#__PURE__*/polymorphicComponent(function Text(_ref, ref) {
1017
1164
  let {
1018
1165
  as,
@@ -1024,7 +1171,7 @@ const Text = /*#__PURE__*/polymorphicComponent(function Text(_ref, ref) {
1024
1171
  lineClamp,
1025
1172
  exceptionallySetClassName
1026
1173
  } = _ref,
1027
- props = _objectWithoutProperties(_ref, _excluded$l);
1174
+ props = _objectWithoutProperties(_ref, _excluded$k);
1028
1175
 
1029
1176
  const lineClampMultipleLines = typeof lineClamp === 'string' ? Number(lineClamp) > 1 : (lineClamp != null ? lineClamp : 1) > 1;
1030
1177
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
@@ -1040,7 +1187,7 @@ const Text = /*#__PURE__*/polymorphicComponent(function Text(_ref, ref) {
1040
1187
 
1041
1188
  var modules_d11e18f0 = {"stackedToastsView":"_616cc3f3","toastContainer":"_1b5f8e86","slot":"ce2e3476"};
1042
1189
 
1043
- const _excluded$k = ["message", "description", "icon", "action", "onDismiss", "dismissLabel"];
1190
+ const _excluded$j = ["message", "description", "icon", "action", "onDismiss", "dismissLabel"];
1044
1191
  /**
1045
1192
  * A toast that shows a message, and an optional action associated with it.
1046
1193
  *
@@ -1065,7 +1212,7 @@ const StaticToast = /*#__PURE__*/React__default["default"].forwardRef(function T
1065
1212
  onDismiss,
1066
1213
  dismissLabel = 'Close'
1067
1214
  } = _ref,
1068
- props = _objectWithoutProperties(_ref, _excluded$k);
1215
+ props = _objectWithoutProperties(_ref, _excluded$j);
1069
1216
 
1070
1217
  return /*#__PURE__*/React__default["default"].createElement(Box$1, _objectSpread2({
1071
1218
  ref: ref,
@@ -1286,7 +1433,7 @@ function useToastsAnimation() {
1286
1433
  };
1287
1434
  }
1288
1435
 
1289
- const _excluded$j = ["toastId"];
1436
+ const _excluded$i = ["toastId"];
1290
1437
  /** @private */
1291
1438
 
1292
1439
  const InternalToast = /*#__PURE__*/React__default["default"].forwardRef(function InternalToast({
@@ -1417,7 +1564,7 @@ function ToastsProvider({
1417
1564
  let {
1418
1565
  toastId
1419
1566
  } = _ref,
1420
- props = _objectWithoutProperties(_ref, _excluded$j);
1567
+ props = _objectWithoutProperties(_ref, _excluded$i);
1421
1568
 
1422
1569
  return /*#__PURE__*/React__default["default"].createElement(InternalToast, _objectSpread2({
1423
1570
  key: toastId,
@@ -1493,7 +1640,7 @@ function Toast(props) {
1493
1640
 
1494
1641
  var modules_949d2ff4 = {"heading":"bff24867","weight-medium":"_9b540c61","weight-light":"c6729907","tone-secondary":"d6507f70","tone-danger":"d1846d93","size-largest":"_7cbdd1ba","size-larger":"b3e14969","size-smaller":"be14a265","lineClampMultipleLines":"_71391f13","lineClamp-1":"_97298b1b","lineClamp-2":"_6d357d76","lineClamp-3":"d820b451","lineClamp-4":"_8d37487d","lineClamp-5":"_5215b4d7"};
1495
1642
 
1496
- const _excluded$i = ["level", "weight", "size", "tone", "children", "lineClamp", "align", "exceptionallySetClassName"];
1643
+ const _excluded$h = ["level", "weight", "size", "tone", "children", "lineClamp", "align", "exceptionallySetClassName"];
1497
1644
  const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(_ref, ref) {
1498
1645
  let {
1499
1646
  level,
@@ -1505,7 +1652,7 @@ const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(_ref,
1505
1652
  align,
1506
1653
  exceptionallySetClassName
1507
1654
  } = _ref,
1508
- props = _objectWithoutProperties(_ref, _excluded$i);
1655
+ props = _objectWithoutProperties(_ref, _excluded$h);
1509
1656
 
1510
1657
  // In TypeScript v4.1, this would be properly recognized without needing the type assertion
1511
1658
  // https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/#template-literal-types
@@ -1524,7 +1671,7 @@ const Heading = /*#__PURE__*/React__namespace.forwardRef(function Heading(_ref,
1524
1671
 
1525
1672
  var modules_8ebe6db0 = {"prose":"_37468e52","darkModeTypography":"_6abbd828"};
1526
1673
 
1527
- const _excluded$h = ["darkModeTypography", "exceptionallySetClassName"];
1674
+ const _excluded$g = ["darkModeTypography", "exceptionallySetClassName"];
1528
1675
  /**
1529
1676
  * Used to style HTML you don’t control, like HTML content generated from Markdown.
1530
1677
  */
@@ -1534,34 +1681,13 @@ function Prose(_ref) {
1534
1681
  darkModeTypography,
1535
1682
  exceptionallySetClassName
1536
1683
  } = _ref,
1537
- props = _objectWithoutProperties(_ref, _excluded$h);
1684
+ props = _objectWithoutProperties(_ref, _excluded$g);
1538
1685
 
1539
1686
  return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
1540
1687
  className: [modules_8ebe6db0.prose, darkModeTypography ? modules_8ebe6db0.darkModeTypography : null, exceptionallySetClassName]
1541
1688
  }));
1542
1689
  }
1543
1690
 
1544
- var modules_3d05deee = {"container":"fdc181b3"};
1545
-
1546
- const _excluded$g = ["as", "openInNewTab", "exceptionallySetClassName"];
1547
- const TextLink = /*#__PURE__*/polymorphicComponent(function TextLink(_ref, ref) {
1548
- let {
1549
- as = 'a',
1550
- openInNewTab = false,
1551
- exceptionallySetClassName
1552
- } = _ref,
1553
- props = _objectWithoutProperties(_ref, _excluded$g);
1554
-
1555
- return /*#__PURE__*/React__namespace.createElement(Box$1, _objectSpread2(_objectSpread2({}, props), {}, {
1556
- as: as,
1557
- display: "inline",
1558
- className: [exceptionallySetClassName, modules_3d05deee.container],
1559
- ref: ref,
1560
- target: openInNewTab ? '_blank' : undefined,
1561
- rel: openInNewTab ? 'noopener noreferrer' : undefined
1562
- }));
1563
- });
1564
-
1565
1691
  const _excluded$f = ["checked", "indeterminate", "disabled"];
1566
1692
  const svgPath = {
1567
1693
  checked: 'M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z',
@@ -3895,7 +4021,6 @@ Select.defaultProps = {
3895
4021
  disabled: false
3896
4022
  };
3897
4023
 
3898
- exports.Alert = Alert;
3899
4024
  exports.Avatar = Avatar;
3900
4025
  exports.Badge = Badge;
3901
4026
  exports.Banner = Banner;