@arc-ui/components 12.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/lib/Alert/styles.css +1 -1
  2. package/lib/Align/styles.css +1 -1
  3. package/lib/AppButton/styles.css +1 -1
  4. package/lib/Avatar/styles.css +1 -1
  5. package/lib/AvatarGroup/styles.css +1 -1
  6. package/lib/Badge/styles.css +1 -1
  7. package/lib/Box/styles.css +1 -1
  8. package/lib/BrandLogo/styles.css +1 -1
  9. package/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
  10. package/lib/Breadcrumbs/Breadcrumbs.mjs +1 -1
  11. package/lib/Breadcrumbs/styles.css +1 -1
  12. package/lib/Button/styles.css +1 -1
  13. package/lib/ButtonGroup/styles.css +1 -1
  14. package/lib/ButtonV2/styles.css +1 -1
  15. package/lib/Calendar/Calendar.cjs +3 -3
  16. package/lib/Calendar/Calendar.mjs +3 -3
  17. package/lib/Calendar/styles.css +1 -1
  18. package/lib/CardFooter/styles.css +1 -1
  19. package/lib/CardHeading/styles.css +1 -1
  20. package/lib/Carousel/Carousel.cjs +348 -8
  21. package/lib/Carousel/Carousel.mjs +348 -8
  22. package/lib/Carousel/styles.css +1 -1
  23. package/lib/Checkbox/styles.css +1 -1
  24. package/lib/CheckboxIcon/styles.css +1 -1
  25. package/lib/Columns/styles.css +1 -1
  26. package/lib/ComboBox/styles.css +1 -1
  27. package/lib/ContentSwitcher/ContentSwitcher.cjs +1 -1
  28. package/lib/ContentSwitcher/ContentSwitcher.mjs +1 -1
  29. package/lib/ContentSwitcher/styles.css +1 -1
  30. package/lib/ContentSwitcherDropdown/styles.css +1 -1
  31. package/lib/DatePicker/DatePicker.cjs +4 -4
  32. package/lib/DatePicker/DatePicker.mjs +4 -4
  33. package/lib/DatePicker/styles.css +1 -1
  34. package/lib/Disclosure/styles.css +1 -1
  35. package/lib/DisclosureMini/styles.css +1 -1
  36. package/lib/Download/styles.css +1 -1
  37. package/lib/Drawer/styles.css +1 -1
  38. package/lib/Elevation/styles.css +1 -1
  39. package/lib/Filter/styles.css +1 -1
  40. package/lib/FormControl/styles.css +1 -1
  41. package/lib/GhostedHeroBanner/styles.css +1 -1
  42. package/lib/GradientPageBackground/GradientPageBackground.cjs +3 -3
  43. package/lib/GradientPageBackground/GradientPageBackground.mjs +3 -3
  44. package/lib/GradientPageBackground/styles.css +1 -1
  45. package/lib/Grid/styles.css +1 -1
  46. package/lib/Group/styles.css +1 -1
  47. package/lib/Heading/styles.css +1 -1
  48. package/lib/HeroBanner/styles.css +1 -1
  49. package/lib/HeroButton/styles.css +1 -1
  50. package/lib/Hidden/styles.css +1 -1
  51. package/lib/HorizontalCard/styles.css +1 -1
  52. package/lib/Icon/styles.css +1 -1
  53. package/lib/Image/styles.css +1 -1
  54. package/lib/ImpactCard/styles.css +1 -1
  55. package/lib/InformationCard/InformationCard.cjs +3 -3
  56. package/lib/InformationCard/InformationCard.mjs +3 -3
  57. package/lib/InformationCard/styles.css +1 -1
  58. package/lib/Link/styles.css +1 -1
  59. package/lib/Markup/styles.css +1 -1
  60. package/lib/MediaCard/styles.css +1 -1
  61. package/lib/Menu/styles.css +1 -1
  62. package/lib/Modal/styles.css +1 -1
  63. package/lib/NavigationHeader/NavigationHeader.cjs +23 -35
  64. package/lib/NavigationHeader/NavigationHeader.mjs +23 -35
  65. package/lib/NavigationHeader/styles.css +1 -1
  66. package/lib/Pagination/styles.css +1 -1
  67. package/lib/PaginationSimple/styles.css +1 -1
  68. package/lib/Popover/styles.css +1 -1
  69. package/lib/Poster/styles.css +1 -1
  70. package/lib/ProgressBar/styles.css +1 -1
  71. package/lib/ProgressStepper/ProgressStepper.cjs +2 -2
  72. package/lib/ProgressStepper/ProgressStepper.mjs +2 -2
  73. package/lib/ProgressStepper/styles.css +1 -1
  74. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +76 -121
  75. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +77 -123
  76. package/lib/ProgressStepperOverflow/styles.css +1 -1
  77. package/lib/RadioCardGroup/RadioCardGroup.cjs +6 -2
  78. package/lib/RadioCardGroup/RadioCardGroup.mjs +5 -1
  79. package/lib/RadioCardGroup/styles.css +1 -1
  80. package/lib/RadioGroup/styles.css +1 -1
  81. package/lib/Rule/styles.css +1 -1
  82. package/lib/ScrollToTop/styles.css +1 -1
  83. package/lib/Section/styles.css +1 -1
  84. package/lib/Select/styles.css +1 -1
  85. package/lib/SemanticHeading/styles.css +1 -1
  86. package/lib/SiteFooter/styles.css +1 -1
  87. package/lib/SiteFooterV2/styles.css +1 -1
  88. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +5 -4
  89. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +5 -4
  90. package/lib/SiteHeaderV2/styles.css +1 -1
  91. package/lib/Skeleton/styles.css +1 -1
  92. package/lib/SkipLink/styles.css +1 -1
  93. package/lib/Spinner/styles.css +1 -1
  94. package/lib/Surface/styles.css +1 -1
  95. package/lib/Switch/styles.css +1 -1
  96. package/lib/TabbedBanner/TabbedBanner.cjs +1 -1
  97. package/lib/TabbedBanner/TabbedBanner.mjs +1 -1
  98. package/lib/TabbedBanner/styles.css +1 -1
  99. package/lib/Tabs/styles.css +1 -1
  100. package/lib/Tag/styles.css +1 -1
  101. package/lib/TemplateBanner/styles.css +1 -1
  102. package/lib/Text/styles.css +1 -1
  103. package/lib/TextArea/styles.css +1 -1
  104. package/lib/TextInput/styles.css +1 -1
  105. package/lib/Theme/Theme.cjs +1 -1
  106. package/lib/Theme/Theme.mjs +1 -1
  107. package/lib/Theme/styles.css +1 -1
  108. package/lib/ThemeIcon/styles.css +1 -1
  109. package/lib/ThumbnailSignpost/styles.css +1 -1
  110. package/lib/Toast/styles.css +1 -1
  111. package/lib/Tooltip/styles.css +1 -1
  112. package/lib/Truncate/styles.css +1 -1
  113. package/lib/TypographyCard/styles.css +1 -1
  114. package/lib/UniversalHeader/styles.css +1 -1
  115. package/lib/VerticalSpace/styles.css +1 -1
  116. package/lib/VideoPlayer/styles.css +1 -1
  117. package/lib/Visible/styles.css +1 -1
  118. package/lib/VisuallyHidden/styles.css +1 -1
  119. package/lib/_shared/cjs/{Calendar-BvPNEvfm.cjs → Calendar-D_jZ0cgf.cjs} +2 -2
  120. package/lib/_shared/cjs/{ContentSwitcherList-BgAW2IhJ.cjs → ContentSwitcherList-DgychllS.cjs} +8 -8
  121. package/lib/_shared/cjs/{ProgressStepper-DTZQabiV.cjs → ProgressStepper-mTgKZYEl.cjs} +21 -20
  122. package/lib/_shared/cjs/{arc-breakpoints-Cl4-g1TC.cjs → arc-breakpoints-DFPoWNR4.cjs} +1 -1
  123. package/lib/_shared/cjs/{index.es-Dbvw_3_e.cjs → index.es-B2ZfX2D7.cjs} +1 -1
  124. package/lib/_shared/cjs/{use-media-query-DqZqShGX.cjs → use-media-query-BJV2IbHi.cjs} +4 -4
  125. package/lib/_shared/esm/{Calendar-DzsQqJlh.mjs → Calendar-wG6UVDgO.mjs} +2 -2
  126. package/lib/_shared/esm/{ContentSwitcherList-i4m4nAzP.mjs → ContentSwitcherList-CWZcMblg.mjs} +8 -8
  127. package/lib/_shared/esm/{ProgressStepper-CujHLQsm.mjs → ProgressStepper-DxZrJR0q.mjs} +22 -21
  128. package/lib/_shared/esm/{arc-breakpoints-Br78xe-f.mjs → arc-breakpoints-TEKN0W5t.mjs} +1 -1
  129. package/lib/_shared/esm/{index.es-f0R-yhhl.mjs → index.es-Co1d96HB.mjs} +2 -2
  130. package/lib/_shared/esm/{use-media-query-BmsMeo2M.mjs → use-media-query-l6Sou0dd.mjs} +4 -4
  131. package/lib/index.cjs +487 -200
  132. package/lib/index.cjs.map +1 -1
  133. package/lib/index.d.cts +207 -163
  134. package/lib/index.d.mts +207 -163
  135. package/lib/index.js.map +1 -1
  136. package/lib/index.mjs +488 -202
  137. package/lib/index.mjs.map +1 -1
  138. package/lib/styles.css +2 -2
  139. package/lib/use-media-query/use-media-query.cjs +1 -1
  140. package/lib/use-media-query/use-media-query.mjs +1 -1
  141. package/package.json +8 -6
  142. package/lib/_shared/cjs/capitalise-first-letter-CdhexpSx.cjs +0 -8
  143. package/lib/_shared/esm/capitalise-first-letter-Cubg2CS1.mjs +0 -6
package/lib/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import * as React from 'react';
3
- import React__default, { createContext, useContext, useId as useId$1, useRef, useState, useEffect, forwardRef, isValidElement, cloneElement, useMemo, useCallback, useReducer, useLayoutEffect, createElement, Children, Fragment as Fragment$1, Suspense, useImperativeHandle } from 'react';
3
+ import React__default, { createContext, useContext, useId as useId$1, useRef, useState, useEffect, forwardRef, isValidElement, cloneElement, useMemo, useCallback, useReducer, useLayoutEffect, createElement, Children, Fragment as Fragment$1, Suspense } from 'react';
4
4
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
5
5
  import * as ReactDOM from 'react-dom';
6
6
  import ReactDOM__default, { flushSync, createPortal } from 'react-dom';
@@ -1644,7 +1644,7 @@ var Breadcrumbs = function (_a) {
1644
1644
  window.removeEventListener("resize", handleResize);
1645
1645
  handleResize.cancel();
1646
1646
  };
1647
- }, []);
1647
+ }, [children]);
1648
1648
  var items = React__default.Children.toArray(children);
1649
1649
  return (React__default.createElement("nav", __assign({ "aria-label": "Breadcrumbs", className: classNames({
1650
1650
  "arc-Breadcrumbs": true,
@@ -2003,7 +2003,7 @@ function startOfMonth(dirtyDate) {
2003
2003
 
2004
2004
  /**
2005
2005
  * Do not edit directly
2006
- * Generated on Tue, 18 Nov 2025 18:15:01 GMT
2006
+ * Generated on Fri, 05 Dec 2025 13:50:26 GMT
2007
2007
  */
2008
2008
  var ArcSizeBreakpointsXs = "320px";
2009
2009
  var ArcSizeBreakpointsS = "636px";
@@ -2171,11 +2171,11 @@ var useMediaQuery = function (mediaQuery) {
2171
2171
  return window.matchMedia(query).matches;
2172
2172
  };
2173
2173
  var _a = useState(false), matches = _a[0], setMatches = _a[1];
2174
- // Handles the change event of the media query.
2175
- var handleChange = function () {
2176
- setMatches(getMatches(mediaQuery));
2177
- };
2178
2174
  useEffect(function () {
2175
+ // Handles the change event of the media query.
2176
+ var handleChange = function () {
2177
+ setMatches(getMatches(mediaQuery));
2178
+ };
2179
2179
  var matchMedia = window.matchMedia(mediaQuery);
2180
2180
  // Triggered at the first client-side load and if query changes
2181
2181
  handleChange();
@@ -2787,9 +2787,9 @@ function subDays(dirtyDate, dirtyAmount) {
2787
2787
  return addDays(dirtyDate, -amount);
2788
2788
  }
2789
2789
 
2790
- var defaultOptions$1 = {};
2790
+ var defaultOptions$3 = {};
2791
2791
  function getDefaultOptions() {
2792
- return defaultOptions$1;
2792
+ return defaultOptions$3;
2793
2793
  }
2794
2794
 
2795
2795
  /**
@@ -6075,6 +6075,131 @@ var Calendar = function (_a) {
6075
6075
  onCancelClick && (React__default.createElement(CalendarFooter, { onCancelClick: onCancelButtonClick }))))));
6076
6076
  };
6077
6077
 
6078
+ const defaultOptions$2 = {
6079
+ active: true,
6080
+ breakpoints: {},
6081
+ snapped: 'is-snapped',
6082
+ inView: 'is-in-view',
6083
+ draggable: 'is-draggable',
6084
+ dragging: 'is-dragging',
6085
+ loop: 'is-loop'
6086
+ };
6087
+
6088
+ function normalizeClassNames(classNames) {
6089
+ const normalized = Array.isArray(classNames) ? classNames : [classNames];
6090
+ return normalized.filter(Boolean);
6091
+ }
6092
+ function removeClass(node, classNames) {
6093
+ if (!node || !classNames.length) return;
6094
+ node.classList.remove(...classNames);
6095
+ }
6096
+ function addClass(node, classNames) {
6097
+ if (!node || !classNames.length) return;
6098
+ node.classList.add(...classNames);
6099
+ }
6100
+
6101
+ function ClassNames(userOptions = {}) {
6102
+ let options;
6103
+ let emblaApi;
6104
+ let root;
6105
+ let slides;
6106
+ let snappedIndexes = [];
6107
+ let inViewIndexes = [];
6108
+ const selectedEvents = ['select'];
6109
+ const draggingEvents = ['pointerDown', 'pointerUp'];
6110
+ const inViewEvents = ['slidesInView'];
6111
+ const classNames = {
6112
+ snapped: [],
6113
+ inView: [],
6114
+ draggable: [],
6115
+ dragging: [],
6116
+ loop: []
6117
+ };
6118
+ function init(emblaApiInstance, optionsHandler) {
6119
+ emblaApi = emblaApiInstance;
6120
+ const {
6121
+ mergeOptions,
6122
+ optionsAtMedia
6123
+ } = optionsHandler;
6124
+ const optionsBase = mergeOptions(defaultOptions$2, ClassNames.globalOptions);
6125
+ const allOptions = mergeOptions(optionsBase, userOptions);
6126
+ options = optionsAtMedia(allOptions);
6127
+ root = emblaApi.rootNode();
6128
+ slides = emblaApi.slideNodes();
6129
+ const {
6130
+ watchDrag,
6131
+ loop
6132
+ } = emblaApi.internalEngine().options;
6133
+ const isDraggable = !!watchDrag;
6134
+ if (options.loop && loop) {
6135
+ classNames.loop = normalizeClassNames(options.loop);
6136
+ addClass(root, classNames.loop);
6137
+ }
6138
+ if (options.draggable && isDraggable) {
6139
+ classNames.draggable = normalizeClassNames(options.draggable);
6140
+ addClass(root, classNames.draggable);
6141
+ }
6142
+ if (options.dragging) {
6143
+ classNames.dragging = normalizeClassNames(options.dragging);
6144
+ draggingEvents.forEach(evt => emblaApi.on(evt, toggleDraggingClass));
6145
+ }
6146
+ if (options.snapped) {
6147
+ classNames.snapped = normalizeClassNames(options.snapped);
6148
+ selectedEvents.forEach(evt => emblaApi.on(evt, toggleSnappedClasses));
6149
+ toggleSnappedClasses();
6150
+ }
6151
+ if (options.inView) {
6152
+ classNames.inView = normalizeClassNames(options.inView);
6153
+ inViewEvents.forEach(evt => emblaApi.on(evt, toggleInViewClasses));
6154
+ toggleInViewClasses();
6155
+ }
6156
+ }
6157
+ function destroy() {
6158
+ draggingEvents.forEach(evt => emblaApi.off(evt, toggleDraggingClass));
6159
+ selectedEvents.forEach(evt => emblaApi.off(evt, toggleSnappedClasses));
6160
+ inViewEvents.forEach(evt => emblaApi.off(evt, toggleInViewClasses));
6161
+ removeClass(root, classNames.loop);
6162
+ removeClass(root, classNames.draggable);
6163
+ removeClass(root, classNames.dragging);
6164
+ toggleSlideClasses([], snappedIndexes, classNames.snapped);
6165
+ toggleSlideClasses([], inViewIndexes, classNames.inView);
6166
+ Object.keys(classNames).forEach(classNameKey => {
6167
+ const key = classNameKey;
6168
+ classNames[key] = [];
6169
+ });
6170
+ }
6171
+ function toggleDraggingClass(_, evt) {
6172
+ const toggleClass = evt === 'pointerDown' ? addClass : removeClass;
6173
+ toggleClass(root, classNames.dragging);
6174
+ }
6175
+ function toggleSlideClasses(addClassIndexes = [], removeClassIndexes = [], classNames) {
6176
+ const removeClassSlides = removeClassIndexes.map(index => slides[index]);
6177
+ const addClassSlides = addClassIndexes.map(index => slides[index]);
6178
+ removeClassSlides.forEach(slide => removeClass(slide, classNames));
6179
+ addClassSlides.forEach(slide => addClass(slide, classNames));
6180
+ return addClassIndexes;
6181
+ }
6182
+ function toggleSnappedClasses() {
6183
+ const {
6184
+ slideRegistry
6185
+ } = emblaApi.internalEngine();
6186
+ const newSnappedIndexes = slideRegistry[emblaApi.selectedScrollSnap()];
6187
+ snappedIndexes = toggleSlideClasses(newSnappedIndexes, snappedIndexes, classNames.snapped);
6188
+ }
6189
+ function toggleInViewClasses() {
6190
+ const newInViewIndexes = emblaApi.slidesInView();
6191
+ inViewIndexes = toggleSlideClasses(newInViewIndexes, inViewIndexes, classNames.inView);
6192
+ }
6193
+ const self = {
6194
+ name: 'classNames',
6195
+ options: userOptions,
6196
+ init,
6197
+ destroy
6198
+ };
6199
+ return self;
6200
+ }
6201
+ ClassNames.globalOptions = undefined;
6202
+
6078
6203
  function isObject$1(subject) {
6079
6204
  return Object.prototype.toString.call(subject) === '[object Object]';
6080
6205
  }
@@ -7526,7 +7651,7 @@ function EventHandler() {
7526
7651
  return self;
7527
7652
  }
7528
7653
 
7529
- const defaultOptions = {
7654
+ const defaultOptions$1 = {
7530
7655
  align: 'center',
7531
7656
  axis: 'x',
7532
7657
  container: null,
@@ -7610,7 +7735,7 @@ function EmblaCarousel(root, userOptions, userPlugins) {
7610
7735
  const reInit = reActivate;
7611
7736
  let destroyed = false;
7612
7737
  let engine;
7613
- let optionsBase = mergeOptions(defaultOptions, EmblaCarousel.globalOptions);
7738
+ let optionsBase = mergeOptions(defaultOptions$1, EmblaCarousel.globalOptions);
7614
7739
  let options = mergeOptions(optionsBase);
7615
7740
  let pluginList = [];
7616
7741
  let pluginApis;
@@ -7801,6 +7926,199 @@ function useEmblaCarousel(options = {}, plugins = []) {
7801
7926
  }
7802
7927
  useEmblaCarousel.globalOptions = undefined;
7803
7928
 
7929
+ const defaultOptions = {
7930
+ active: true,
7931
+ breakpoints: {},
7932
+ delay: 4000,
7933
+ jump: false,
7934
+ playOnInit: true,
7935
+ stopOnFocusIn: true,
7936
+ stopOnInteraction: true,
7937
+ stopOnMouseEnter: false,
7938
+ stopOnLastSnap: false,
7939
+ rootNode: null
7940
+ };
7941
+
7942
+ function normalizeDelay(emblaApi, delay) {
7943
+ const scrollSnaps = emblaApi.scrollSnapList();
7944
+ if (typeof delay === 'number') {
7945
+ return scrollSnaps.map(() => delay);
7946
+ }
7947
+ return delay(scrollSnaps, emblaApi);
7948
+ }
7949
+ function getAutoplayRootNode(emblaApi, rootNode) {
7950
+ const emblaRootNode = emblaApi.rootNode();
7951
+ return rootNode && rootNode(emblaRootNode) || emblaRootNode;
7952
+ }
7953
+
7954
+ function Autoplay(userOptions = {}) {
7955
+ let options;
7956
+ let emblaApi;
7957
+ let destroyed;
7958
+ let delay;
7959
+ let timerStartTime = null;
7960
+ let timerId = 0;
7961
+ let autoplayActive = false;
7962
+ let mouseIsOver = false;
7963
+ let playOnDocumentVisible = false;
7964
+ let jump = false;
7965
+ function init(emblaApiInstance, optionsHandler) {
7966
+ emblaApi = emblaApiInstance;
7967
+ const {
7968
+ mergeOptions,
7969
+ optionsAtMedia
7970
+ } = optionsHandler;
7971
+ const optionsBase = mergeOptions(defaultOptions, Autoplay.globalOptions);
7972
+ const allOptions = mergeOptions(optionsBase, userOptions);
7973
+ options = optionsAtMedia(allOptions);
7974
+ if (emblaApi.scrollSnapList().length <= 1) return;
7975
+ jump = options.jump;
7976
+ destroyed = false;
7977
+ delay = normalizeDelay(emblaApi, options.delay);
7978
+ const {
7979
+ eventStore,
7980
+ ownerDocument
7981
+ } = emblaApi.internalEngine();
7982
+ const isDraggable = !!emblaApi.internalEngine().options.watchDrag;
7983
+ const root = getAutoplayRootNode(emblaApi, options.rootNode);
7984
+ eventStore.add(ownerDocument, 'visibilitychange', visibilityChange);
7985
+ if (isDraggable) {
7986
+ emblaApi.on('pointerDown', pointerDown);
7987
+ }
7988
+ if (isDraggable && !options.stopOnInteraction) {
7989
+ emblaApi.on('pointerUp', pointerUp);
7990
+ }
7991
+ if (options.stopOnMouseEnter) {
7992
+ eventStore.add(root, 'mouseenter', mouseEnter);
7993
+ }
7994
+ if (options.stopOnMouseEnter && !options.stopOnInteraction) {
7995
+ eventStore.add(root, 'mouseleave', mouseLeave);
7996
+ }
7997
+ if (options.stopOnFocusIn) {
7998
+ emblaApi.on('slideFocusStart', stopAutoplay);
7999
+ }
8000
+ if (options.stopOnFocusIn && !options.stopOnInteraction) {
8001
+ eventStore.add(emblaApi.containerNode(), 'focusout', startAutoplay);
8002
+ }
8003
+ if (options.playOnInit) startAutoplay();
8004
+ }
8005
+ function destroy() {
8006
+ emblaApi.off('pointerDown', pointerDown).off('pointerUp', pointerUp).off('slideFocusStart', stopAutoplay);
8007
+ stopAutoplay();
8008
+ destroyed = true;
8009
+ autoplayActive = false;
8010
+ }
8011
+ function setTimer() {
8012
+ const {
8013
+ ownerWindow
8014
+ } = emblaApi.internalEngine();
8015
+ ownerWindow.clearTimeout(timerId);
8016
+ timerId = ownerWindow.setTimeout(next, delay[emblaApi.selectedScrollSnap()]);
8017
+ timerStartTime = new Date().getTime();
8018
+ emblaApi.emit('autoplay:timerset');
8019
+ }
8020
+ function clearTimer() {
8021
+ const {
8022
+ ownerWindow
8023
+ } = emblaApi.internalEngine();
8024
+ ownerWindow.clearTimeout(timerId);
8025
+ timerId = 0;
8026
+ timerStartTime = null;
8027
+ emblaApi.emit('autoplay:timerstopped');
8028
+ }
8029
+ function startAutoplay() {
8030
+ if (destroyed) return;
8031
+ if (documentIsHidden()) {
8032
+ playOnDocumentVisible = true;
8033
+ return;
8034
+ }
8035
+ if (!autoplayActive) emblaApi.emit('autoplay:play');
8036
+ setTimer();
8037
+ autoplayActive = true;
8038
+ }
8039
+ function stopAutoplay() {
8040
+ if (destroyed) return;
8041
+ if (autoplayActive) emblaApi.emit('autoplay:stop');
8042
+ clearTimer();
8043
+ autoplayActive = false;
8044
+ }
8045
+ function visibilityChange() {
8046
+ if (documentIsHidden()) {
8047
+ playOnDocumentVisible = autoplayActive;
8048
+ return stopAutoplay();
8049
+ }
8050
+ if (playOnDocumentVisible) startAutoplay();
8051
+ }
8052
+ function documentIsHidden() {
8053
+ const {
8054
+ ownerDocument
8055
+ } = emblaApi.internalEngine();
8056
+ return ownerDocument.visibilityState === 'hidden';
8057
+ }
8058
+ function pointerDown() {
8059
+ if (!mouseIsOver) stopAutoplay();
8060
+ }
8061
+ function pointerUp() {
8062
+ if (!mouseIsOver) startAutoplay();
8063
+ }
8064
+ function mouseEnter() {
8065
+ mouseIsOver = true;
8066
+ stopAutoplay();
8067
+ }
8068
+ function mouseLeave() {
8069
+ mouseIsOver = false;
8070
+ startAutoplay();
8071
+ }
8072
+ function play(jumpOverride) {
8073
+ if (typeof jumpOverride !== 'undefined') jump = jumpOverride;
8074
+ startAutoplay();
8075
+ }
8076
+ function stop() {
8077
+ if (autoplayActive) stopAutoplay();
8078
+ }
8079
+ function reset() {
8080
+ if (autoplayActive) startAutoplay();
8081
+ }
8082
+ function isPlaying() {
8083
+ return autoplayActive;
8084
+ }
8085
+ function next() {
8086
+ const {
8087
+ index
8088
+ } = emblaApi.internalEngine();
8089
+ const nextIndex = index.clone().add(1).get();
8090
+ const lastIndex = emblaApi.scrollSnapList().length - 1;
8091
+ const kill = options.stopOnLastSnap && nextIndex === lastIndex;
8092
+ if (emblaApi.canScrollNext()) {
8093
+ emblaApi.scrollNext(jump);
8094
+ } else {
8095
+ emblaApi.scrollTo(0, jump);
8096
+ }
8097
+ emblaApi.emit('autoplay:select');
8098
+ if (kill) return stopAutoplay();
8099
+ startAutoplay();
8100
+ }
8101
+ function timeUntilNext() {
8102
+ if (!timerStartTime) return null;
8103
+ const currentDelay = delay[emblaApi.selectedScrollSnap()];
8104
+ const timePastSinceStart = new Date().getTime() - timerStartTime;
8105
+ return currentDelay - timePastSinceStart;
8106
+ }
8107
+ const self = {
8108
+ name: 'autoplay',
8109
+ options: userOptions,
8110
+ init,
8111
+ destroy,
8112
+ play,
8113
+ stop,
8114
+ reset,
8115
+ isPlaying,
8116
+ timeUntilNext
8117
+ };
8118
+ return self;
8119
+ }
8120
+ Autoplay.globalOptions = undefined;
8121
+
7804
8122
  var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
7805
8123
  var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
7806
8124
  var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
@@ -7875,9 +8193,29 @@ var KeyNames;
7875
8193
  })(KeyNames || (KeyNames = {}));
7876
8194
 
7877
8195
  var Carousel = function (_a) {
7878
- var children = _a.children, responsive = _a.responsive, _b = _a.itemsToScroll, itemsToScroll = _b === void 0 ? 1 : _b, _c = _a.itemsPerSlide, itemsPerSlide = _c === void 0 ? 1 : _c, _d = _a.withGutter, withGutter = _d === void 0 ? true : _d, _e = _a.loop, loop = _e === void 0 ? false : _e, _f = _a.isPartialVisible, isPartialVisible = _f === void 0 ? false : _f;
8196
+ var children = _a.children, responsive = _a.responsive, _b = _a.itemsToScroll, itemsToScroll = _b === void 0 ? 1 : _b, _c = _a.itemsPerSlide, itemsPerSlide = _c === void 0 ? 1 : _c, _d = _a.withGutter, withGutter = _d === void 0 ? true : _d, _e = _a.loop, loop = _e === void 0 ? false : _e, _f = _a.isPartialVisible, isPartialVisible = _f === void 0 ? false : _f, autoplay = _a.autoplay, isPlaying = _a.isPlaying, fade = _a.fade;
7879
8197
  var id = useId$1();
7880
- var _g = useEmblaCarousel(getOptions(itemsToScroll, loop, responsive)), emblaRef = _g[0], emblaApi = _g[1];
8198
+ var autoPlayOptions = autoplay
8199
+ ? __assign({ playOnInit: true, delay: 3000, stopOnInteraction: true, stopOnMouseEnter: false, stopOnFocusIn: true, stopOnLastSnap: false }, autoplay) : undefined;
8200
+ var _g = useEmblaCarousel(__assign(__assign({}, getOptions(itemsToScroll, loop, responsive)), (fade ? { inViewThreshold: 0.74 } : {})), __spreadArray(__spreadArray([], (autoPlayOptions ? [Autoplay(autoPlayOptions)] : []), true), (fade
8201
+ ? [
8202
+ ClassNames({
8203
+ inView: "arc-Carousel-slide--isInView",
8204
+ }),
8205
+ ]
8206
+ : []), true)), emblaRef = _g[0], emblaApi = _g[1];
8207
+ useEffect(function () {
8208
+ var _a;
8209
+ if (!emblaApi || !autoplay)
8210
+ return;
8211
+ var autoplayPlugin = (_a = emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.plugins()) === null || _a === void 0 ? void 0 : _a.autoplay;
8212
+ if (isPlaying) {
8213
+ autoplayPlugin.play();
8214
+ }
8215
+ if (isPlaying == false) {
8216
+ autoplayPlugin.stop();
8217
+ }
8218
+ }, [emblaApi, isPlaying, autoplay]);
7881
8219
  var _h = useState(), dotButtonFocusIndex = _h[0], setCarouselDotButtonFocusIndex = _h[1];
7882
8220
  var prevButtonRef = useRef(null);
7883
8221
  var _j = useState(0), visibleSlideIndex = _j[0], setVisibleSlideIndex = _j[1];
@@ -7955,7 +8293,9 @@ var Carousel = function (_a) {
7955
8293
  React__default.createElement("div", { ref: emblaRef, className: classNames("arc-Carousel-viewport", {
7956
8294
  "arc-Carousel-viewport--gutter": withGutter,
7957
8295
  }) },
7958
- React__default.createElement("div", { className: "arc-Carousel-slider", role: "region", "aria-roledescription": "carousel" }, React__default.Children.map(children, function (child, i) { return (React__default.createElement("div", { onKeyDown: onSlideKeyDown, style: { flex: "0 0 ".concat(slideWidth, "%"), width: "".concat(slideWidth, "%") }, className: "arc-Carousel-slide", key: "".concat(id, "-option-").concat(i), role: "group", "aria-roledescription": "slide" }, child)); })))),
8296
+ React__default.createElement("div", { className: "arc-Carousel-slider", role: "region", "aria-roledescription": "carousel" }, React__default.Children.map(children, function (child, i) { return (React__default.createElement("div", { onKeyDown: onSlideKeyDown, style: { flex: "0 0 ".concat(slideWidth, "%"), width: "".concat(slideWidth, "%") }, className: classNames("arc-Carousel-slide", {
8297
+ "arc-Carousel-slide--fade": fade,
8298
+ }), key: "".concat(id, "-option-").concat(i), role: "group", "aria-roledescription": "slide" }, child)); })))),
7959
8299
  React__default.createElement("div", { className: "arc-Carousel-nav" },
7960
8300
  React__default.createElement("button", { "data-testid": "previous-button", ref: prevButtonRef, className: classNames("arc-Carousel-navButton", {
7961
8301
  "arc-Carousel-navButton--hidden": !prevButtonEnabled,
@@ -13889,13 +14229,6 @@ var ContentSwitcherList = function (_a) {
13889
14229
  var _d = useState(0), contentSwitcherListWidth = _d[0], setContentSwitcherListWidth = _d[1];
13890
14230
  var tabRefs = useRef([]);
13891
14231
  var listRef = useRef(null);
13892
- var checkOverflow = function () {
13893
- if (listRef.current) {
13894
- setRightOverflow(listRef.current.scrollLeft + listRef.current.clientWidth <
13895
- listRef.current.scrollWidth - 1);
13896
- setLeftOverflow(listRef.current.scrollLeft > 0);
13897
- }
13898
- };
13899
14232
  var scrollTabIntoView = function (tabRef) {
13900
14233
  if (tabRef.current && listRef.current) {
13901
14234
  var scrollLeft = tabRef.current.offsetLeft -
@@ -13914,6 +14247,13 @@ var ContentSwitcherList = function (_a) {
13914
14247
  }, 100);
13915
14248
  useEffect(function () {
13916
14249
  var list = listRef.current;
14250
+ var checkOverflow = function () {
14251
+ if (listRef.current) {
14252
+ setRightOverflow(listRef.current.scrollLeft + listRef.current.clientWidth <
14253
+ listRef.current.scrollWidth - 1);
14254
+ setLeftOverflow(listRef.current.scrollLeft > 0);
14255
+ }
14256
+ };
13917
14257
  var updateLayout = function () {
13918
14258
  checkOverflow();
13919
14259
  handleResize();
@@ -13931,7 +14271,7 @@ var ContentSwitcherList = function (_a) {
13931
14271
  window.removeEventListener("resize", updateLayout);
13932
14272
  handleResize.cancel();
13933
14273
  };
13934
- }, [children, checkOverflow, handleResize]);
14274
+ }, [children, handleResize]);
13935
14275
  return (React__default.createElement("span", { className: classNames("arc-ContentSwitcherList-wrapper", {
13936
14276
  "arc-ContentSwitcherList-wrapper--isInset": isInset,
13937
14277
  }), tabIndex: -1 },
@@ -17079,7 +17419,7 @@ var DatePickerRange = function (_a) {
17079
17419
  if (inputEnd.value !== undefined && inputEnd.value !== endValue) {
17080
17420
  setEndValue(inputEnd.value);
17081
17421
  }
17082
- }, [inputStart.value, inputEnd.value]);
17422
+ }, [inputStart.value, inputEnd.value, endValue, startValue]);
17083
17423
  var handleIconClick = function (_a) {
17084
17424
  var ref = _a.ref, isDisabled = _a.isDisabled, isReadOnly = _a.isReadOnly, input = _a.input;
17085
17425
  if (ref &&
@@ -18311,7 +18651,7 @@ var InformationCard = function (_a) {
18311
18651
  window.removeEventListener("resize", checkMinHeight);
18312
18652
  checkMinHeight.cancel();
18313
18653
  };
18314
- }, [minHeights, ArcBreakpoints]);
18654
+ }, [minHeights, checkMinHeight]);
18315
18655
  return (React__default.createElement("div", __assign({ style: { minHeight: minHeight ? minHeight : minimumHeight }, className: classNames("arc-InformationCard", {
18316
18656
  "arc-InformationCard--isALink": cardUrl,
18317
18657
  "arc-InformationCard--outlined": cardUrl && showHoverState,
@@ -20440,11 +20780,6 @@ function requireMiniSvgDataUri () {
20440
20780
  var miniSvgDataUriExports = requireMiniSvgDataUri();
20441
20781
  var svgToMiniDataURI = /*@__PURE__*/getDefaultExportFromCjs(miniSvgDataUriExports);
20442
20782
 
20443
- // src/capitalise-first-letter/capitalise-first-letter.ts
20444
- var capitaliseFirstLetter = (word) => {
20445
- return word.charAt(0).toUpperCase() + word.slice(1);
20446
- };
20447
-
20448
20783
  var Error$1 = "\n <svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <g clipPath=\"url(#a)\">\n <path\n d=\"m13.06 12 2.845-2.845a.75.75 0 0 0-1.06-1.06L12 10.94 9.155 8.095a.75.75 0 0 0-1.06 1.06L10.939 12l-2.844 2.845a.75.75 0 1 0 1.06 1.06L12 13.061l2.845 2.844a.75.75 0 0 0 1.06-1.06L13.06 12Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"a\">\n <rect width=\"24\" height=\"24\" rx=\"12\" />\n </clipPath>\n </defs>\n </svg>\n ";
20449
20784
 
20450
20785
  var Warning = "\n <svg fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n <path\n d=\"M12 15.747a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm.004-1.487a.375.375 0 0 0 .375-.375l.001-6.757a.375.375 0 1 0-.75 0l-.001 6.757a.375.375 0 0 0 .375.375Z\"\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth=\".3\"\n />\n </svg>\n";
@@ -20455,7 +20790,8 @@ var Current = "\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w
20455
20790
 
20456
20791
  var ProgressStepperItem = function (_a) {
20457
20792
  var _b;
20458
- var title = _a.title, titleHref = _a.titleHref, subTitle = _a.subTitle, _c = _a.direction, direction = _c === void 0 ? "horizontal" : _c, _d = _a.status, status = _d === void 0 ? "todo" : _d, _e = _a.size, size = _e === void 0 ? "large" : _e, isFluid = _a.isFluid, invertLabelPosition = _a.invertLabelPosition, ariaLabel = _a.ariaLabel, onClick = _a.onClick, previousStep = _a.previousStep, stepContent = _a.stepContent, isStepContentHidden = _a.isStepContentHidden, props = __rest(_a, ["title", "titleHref", "subTitle", "direction", "status", "size", "isFluid", "invertLabelPosition", "ariaLabel", "onClick", "previousStep", "stepContent", "isStepContentHidden"]);
20793
+ var title = _a.title, titleHref = _a.titleHref, subTitle = _a.subTitle, _c = _a.direction, direction = _c === void 0 ? "horizontal" : _c, _d = _a.status, status = _d === void 0 ? "todo" : _d, _e = _a.size, size = _e === void 0 ? "large" : _e, isFluid = _a.isFluid, invertLabelPosition = _a.invertLabelPosition, ariaLabel = _a.ariaLabel, onClick = _a.onClick, previousStep = _a.previousStep, stepContent = _a.stepContent, isStepContentHidden = _a.isStepContentHidden, isViewing = _a.isViewing, props = __rest(_a, ["title", "titleHref", "subTitle", "direction", "status", "size", "isFluid", "invertLabelPosition", "ariaLabel", "onClick", "previousStep", "stepContent", "isStepContentHidden", "isViewing"]);
20794
+ var id = useId$1();
20459
20795
  var statusIcons = {
20460
20796
  todo: undefined,
20461
20797
  completed: Complete,
@@ -20468,181 +20804,137 @@ var ProgressStepperItem = function (_a) {
20468
20804
  onClick && onClick();
20469
20805
  };
20470
20806
  var statusIcon = statusIcons[status];
20471
- return (React__default.createElement("div", __assign({ className: classNames("arc-ProgressStepperItem", "arc-ProgressStepperItem--".concat(status), "arc-ProgressStepperItem--".concat(size), (_b = {
20807
+ var accessibleStatusLabel = "".concat(status === "todo" ? "to do" : status).concat(isViewing ? " - currently viewing" : "");
20808
+ return (React__default.createElement("li", __assign({ "data-progress-stepper-item-id": id, className: classNames("arc-ProgressStepperItem", "arc-ProgressStepperItem--".concat(status), "arc-ProgressStepperItem--".concat(size), (_b = {
20472
20809
  "arc-ProgressStepperItem--vertical": direction === "vertical",
20473
20810
  "arc-ProgressStepperItem--isFluid": isFluid && direction !== "vertical",
20474
20811
  "arc-ProgressStepperItem--previousStepCompleted": previousStep === "completed"
20475
20812
  },
20476
- _b["arc-ProgressStepperItem--hasInteractiveStatus"] = status !== "todo",
20813
+ _b["arc-ProgressStepperItem--hasInteractiveStatus"] = onClick || titleHref || status !== "todo",
20477
20814
  _b["arc-ProgressStepperItem--invertLabelPosition"] = direction !== "vertical" && invertLabelPosition,
20478
20815
  _b)) }, filterAttrs(props)),
20479
20816
  React__default.createElement("div", { className: "arc-ProgressStepperItem-iconSection" },
20480
20817
  React__default.createElement("div", { className: "arc-ProgressStepperItem-iconWrapper", "data-testid": "arc-ProgressStepperItem-iconWrapper" },
20481
20818
  React__default.createElement("span", { className: classNames("arc-ProgressStepperItem-statusIcon", {
20482
20819
  "arc-ProgressStepperItem-statusIcon--small": size === "small",
20483
- }) }, status === "todo" ? null : status === "current" ? (React__default.createElement("div", { className: "arc-ProgressStepperItem-statusIconInner" })) : (React__default.createElement(Icon$1, { icon: statusIcon && svgToMiniDataURI(statusIcon) }))))),
20820
+ }) },
20821
+ status === "todo" && !isViewing ? null : isViewing ? (React__default.createElement("div", { className: "arc-ProgressStepperItem-statusIconInner" })) : (status !== "current" && (React__default.createElement(Icon$1, { icon: statusIcon && svgToMiniDataURI(statusIcon) }))),
20822
+ status === "current" && isViewing === undefined ? (React__default.createElement(Icon$1, { icon: statusIcon && svgToMiniDataURI(statusIcon) })) : null))),
20484
20823
  React__default.createElement("div", { className: "arc-ProgressStepperItem-textSection" },
20485
- titleHref || onClick ? (React__default.createElement("a", { role: !titleHref && onClick ? "button" : undefined, href: titleHref, "aria-label": ariaLabel, className: classNames("arc-ProgressStepperItem-title", "arc-ProgressStepperItem-title--link"), onClick: onClickHandler },
20486
- title,
20487
- status !== "todo" ? (React__default.createElement(VisuallyHidden$2, null,
20488
- ":",
20489
- capitaliseFirstLetter(status))) : (React__default.createElement(VisuallyHidden$2, null, ":To do")))) : (React__default.createElement("div", { className: "arc-ProgressStepperItem-title" },
20490
- title,
20491
- status !== "todo" ? (React__default.createElement(VisuallyHidden$2, null,
20492
- ":",
20493
- capitaliseFirstLetter(status))) : (React__default.createElement(VisuallyHidden$2, null, ":To do")))),
20494
- React__default.createElement("div", { className: "arc-ProgressStepperItem-subTitle" }, subTitle),
20824
+ React__default.createElement(ConditionalWrapper, { condition: Boolean(titleHref || onClick), wrapper: function (children) { return (React__default.createElement("a", { role: !titleHref && onClick ? "button" : undefined, href: titleHref, className: classNames("arc-ProgressStepperItem-title", "arc-ProgressStepperItem-title--link"), onClick: onClickHandler, "aria-label": ariaLabel ||
20825
+ (status !== "current"
20826
+ ? "".concat(title, ", ").concat(accessibleStatusLabel)
20827
+ : undefined), "aria-current": status === "current" && "step" }, children)); }, fallback: function (children) { return (React__default.createElement("div", { className: "arc-ProgressStepperItem-title" },
20828
+ children,
20829
+ React__default.createElement(VisuallyHidden$2, null, " - ".concat(accessibleStatusLabel)))); } }, title),
20830
+ subTitle && (React__default.createElement("div", { className: "arc-ProgressStepperItem-subTitle" }, subTitle)),
20495
20831
  stepContent && !isStepContentHidden && direction === "vertical" && (React__default.createElement(React__default.Fragment, null,
20496
20832
  React__default.createElement("div", { className: "arc-ProgressStepperItem-nodeItem" }, stepContent))))));
20497
20833
  };
20498
20834
 
20499
20835
  /** Use `ProgressStepper` to provide an overview of a series of steps in a digital journey. */
20500
- var ProgressStepper = function (_a) {
20501
- var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, ref = _a.ref, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "ref"]);
20836
+ var ProgressStepper = forwardRef(function (_a, ref) {
20837
+ var children = _a.children, size = _a.size, isFluid = _a.isFluid, direction = _a.direction, isExpandable = _a.isExpandable, invertLabelPosition = _a.invertLabelPosition, currentStep = _a.currentStep, props = __rest(_a, ["children", "size", "isFluid", "direction", "isExpandable", "invertLabelPosition", "currentStep"]);
20502
20838
  var items = React__default.Children.toArray(children);
20503
20839
  var getStepStatus = function (item) {
20504
20840
  var _a;
20505
20841
  return (_a = item === null || item === void 0 ? void 0 : item.props) === null || _a === void 0 ? void 0 : _a.status;
20506
20842
  };
20507
- return (React__default.createElement("div", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
20843
+ return (React__default.createElement("ol", __assign({ ref: ref, className: classNames("arc-ProgressStepper", {
20508
20844
  "arc-ProgressStepper--vertical": direction === "vertical",
20509
20845
  }) }, filterAttrs(props)), items.map(function (item, index) { return (React__default.createElement(React__default.Fragment, { key: "StepperItem-".concat(index) },
20510
- React__default.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
20511
- };
20846
+ React__default.createElement(ProgressStepperItem, __assign({ title: item.props.title, titleHref: item.props.titleHref, subTitle: item.props.subTitle, status: item.props.status, stepContent: item.props.stepContent, ariaLabel: item.props.ariaLabel, isStepContentHidden: item.props.isStepContentHidden, onClick: item.props.onClick, isFluid: isFluid, invertLabelPosition: invertLabelPosition, direction: direction, isExpandable: isExpandable, size: size, isViewing: currentStep !== undefined ? currentStep === index : undefined, previousStep: getStepStatus(items[index - 1]) }, filterAttrs(item.props))))); })));
20847
+ });
20512
20848
 
20513
20849
  /** Use `ProgressStepperOverflow` to wrap `ProgressStepperItem`s and allow overflow behaviour. */
20514
- var ProgressStepperOverflow = forwardRef(function (_a, stepperRef) {
20515
- var children = _a.children, onIndexChange = _a.onIndexChange, onLoadStep = _a.onLoadStep, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["children", "onIndexChange", "onLoadStep", "size", "invertLabelPosition", "offsetLeft"]);
20516
- var _c = useState(onLoadStep ? onLoadStep : 0), activeIndex = _c[0], setActiveIndex = _c[1];
20517
- var _d = useState(0), closestScrolledIndex = _d[0], setClosestScrolledIndex = _d[1];
20518
- var _e = useState(true), lastStepVisible = _e[0], setLastStepVisible = _e[1];
20519
- var containerRef = useRef(null);
20520
- useImperativeHandle(stepperRef, function () { return ({
20521
- handleStepScroll: handleStepScroll,
20522
- scrollToStep: scrollToStep,
20523
- handleViewScroll: handleViewScroll,
20524
- isLastChildVisible: isLastChildVisible,
20525
- }); });
20526
- // Add Horizontal Scroll Event Listener
20850
+ var ProgressStepperOverflow = forwardRef(function (_a, ref) {
20851
+ var children = _a.children, size = _a.size, invertLabelPosition = _a.invertLabelPosition, _b = _a.offsetLeft, offsetLeft = _b === void 0 ? 24 : _b, props = __rest(_a, ["children", "size", "invertLabelPosition", "offsetLeft"]);
20852
+ return (React__default.createElement("div", __assign({ className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
20853
+ React__default.createElement(ProgressStepper, { ref: ref, size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
20854
+ });
20855
+
20856
+ var useProgressStepperOverflow = function (_a) {
20857
+ var _b = _a === void 0 ? {} : _a, onLoadStep = _b.onLoadStep, _c = _b.increment, increment = _c === void 0 ? 1 : _c, _d = _b.offsetLeft, offsetLeft = _d === void 0 ? 24 : _d;
20858
+ var stepperRef = useRef(null);
20859
+ var _e = useState({}), itemVisibility = _e[0], setItemVisibility = _e[1];
20527
20860
  useEffect(function () {
20528
20861
  var _a, _b;
20529
- var checkClosest = debounce(function () {
20530
- var closestIndex = findClosestIndex();
20531
- setClosestScrolledIndex(closestIndex);
20532
- }, 100);
20533
- var checkLastChild = debounce(function () {
20534
- var lastVisible = isLastChildVisible();
20535
- if (lastVisible) {
20536
- setLastStepVisible(true);
20537
- }
20538
- else
20539
- setLastStepVisible(false);
20540
- }, 100);
20541
- (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener("scroll", checkLastChild);
20542
- (_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.addEventListener("scroll", checkClosest);
20543
- return function () {
20544
- var _a;
20545
- (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", checkClosest);
20546
- checkLastChild.cancel();
20547
- };
20862
+ var el = (_a = stepperRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
20863
+ var stepperItems = Array.from(((_b = stepperRef.current) === null || _b === void 0 ? void 0 : _b.children) || []);
20864
+ var observer = new IntersectionObserver(function (entries) {
20865
+ var newEntries = entries.reduce(function (acc, entry) {
20866
+ var _a;
20867
+ var el = entry.target;
20868
+ return __assign(__assign({}, acc), (_a = {}, _a["".concat(el.dataset.progressStepperItemId)] = entry.intersectionRatio, _a));
20869
+ }, {});
20870
+ setItemVisibility(function (current) { return (__assign(__assign({}, current), newEntries)); });
20871
+ }, {
20872
+ root: el,
20873
+ threshold: [0, 0.25, 0.5, 0.75, 1],
20874
+ });
20875
+ stepperItems.forEach(function (item) { return observer.observe(item); });
20876
+ return function () { return observer.disconnect(); };
20548
20877
  }, []);
20549
- // Scroll to activeIndex
20550
- useEffect(function () {
20551
- scrollTo();
20552
- }, [activeIndex]);
20553
- // Exposing changes in activeIndex outside of component
20554
20878
  useEffect(function () {
20555
- onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(closestScrolledIndex);
20556
- isLastChildVisible();
20557
- }, [closestScrolledIndex, onIndexChange, lastStepVisible]);
20558
- // helper functions - start
20559
- var getProgressStepper = function () { var _a; return (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.firstChild; };
20560
- var getStepChildren = function () {
20561
- var _a;
20562
- return Array.from(((_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children) || []);
20563
- };
20564
- var getLeftRects = function (children) {
20565
- var container = getProgressStepper();
20566
- if (!container)
20567
- return [];
20568
- var parentRect = container.getBoundingClientRect();
20569
- return children.map(function (child) {
20570
- var childRect = child.getBoundingClientRect();
20571
- return {
20572
- left: childRect.left - parentRect.left,
20573
- };
20574
- });
20575
- };
20576
- var indexOfClosest = function (values) {
20577
- return values.indexOf(Math.min.apply(Math, values));
20578
- };
20579
- // helper functions - end
20580
- var isLastChildVisible = function () {
20581
- var _a;
20582
- var steps = getStepChildren();
20583
- var lastStep = steps[steps.length - 1];
20584
- var rect = lastStep.getBoundingClientRect();
20585
- var containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
20586
- return rect.right <= containerRect.right;
20587
- };
20588
- // Used for onScroll function of scrolling without buttons
20589
- var findClosestIndex = function () {
20590
20879
  var _a, _b;
20591
- var children = getStepChildren();
20592
- var scrolledAmount = (_b = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.scrollLeft) !== null && _b !== void 0 ? _b : 0;
20593
- // compare the scrolled amount to the intial left edge distance for each step
20594
- var getScrollDistances = function (children, scrolledAmount) {
20595
- return getLeftRects(children).map(function (rect) {
20596
- return Math.abs(scrolledAmount - rect.left);
20597
- });
20598
- };
20599
- var closestIndex = indexOfClosest(getScrollDistances(children, scrolledAmount));
20600
- return closestIndex;
20601
- };
20602
- // Scroll active step to the far left of the page
20603
- var scrollTo = function () {
20604
- var _a, _b;
20605
- var activeStep = (_a = getProgressStepper()) === null || _a === void 0 ? void 0 : _a.children[activeIndex];
20606
- if (activeStep) {
20607
- (_b = containerRef.current) === null || _b === void 0 ? void 0 : _b.scrollTo({
20608
- left: activeStep.offsetLeft - offsetLeft,
20880
+ if (onLoadStep) {
20881
+ var container = (_a = stepperRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
20882
+ var stepperItems = Array.from(((_b = stepperRef.current) === null || _b === void 0 ? void 0 : _b.children) || []);
20883
+ var itemToScrollTo = stepperItems[Math.max(0, onLoadStep)];
20884
+ container === null || container === void 0 ? void 0 : container.scrollTo({
20885
+ left: itemToScrollTo.offsetLeft - offsetLeft,
20609
20886
  behavior: "smooth",
20610
20887
  });
20611
20888
  }
20889
+ }, [onLoadStep, offsetLeft]);
20890
+ var _f = useMemo(function () {
20891
+ var visibilityRatios = Object.values(itemVisibility);
20892
+ var isFirstStepVisible = visibilityRatios[0] === 1;
20893
+ var isLastStepVisible = visibilityRatios[visibilityRatios.length - 1] === 1;
20894
+ return { isFirstStepVisible: isFirstStepVisible, isLastStepVisible: isLastStepVisible };
20895
+ }, [itemVisibility]), isFirstStepVisible = _f.isFirstStepVisible, isLastStepVisible = _f.isLastStepVisible;
20896
+ var currentIndex = Math.max(Object.values(itemVisibility).findIndex(function (value) { return value >= 0.5; }), 0);
20897
+ var scrollToStep = function (index) {
20898
+ var _a, _b;
20899
+ var container = (_a = stepperRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
20900
+ var stepperItems = Array.from(((_b = stepperRef.current) === null || _b === void 0 ? void 0 : _b.children) || []);
20901
+ var itemToScrollTo = stepperItems[Math.max(0, index)];
20902
+ container === null || container === void 0 ? void 0 : container.scrollTo({
20903
+ left: itemToScrollTo.offsetLeft - offsetLeft,
20904
+ behavior: "smooth",
20905
+ });
20612
20906
  };
20613
- var handleStepScroll = function (increment) {
20614
- // Account for any manual scrolling set closest index to active index
20615
- setActiveIndex(closestScrolledIndex);
20616
- var newIndex = closestScrolledIndex + increment;
20617
- setActiveIndex(newIndex);
20618
- // If clicking backwards to include half visible step
20619
- if (closestScrolledIndex + increment === activeIndex) {
20620
- scrollTo();
20621
- }
20622
- if (closestScrolledIndex + increment < 0) {
20623
- setActiveIndex(0);
20624
- scrollTo();
20625
- }
20626
- };
20627
- // Used to scroll by Parent width
20628
- var handleViewScroll = function (direction) {
20907
+ var onViewScroll = function (direction) {
20629
20908
  var _a;
20630
- var clientWidth = ((_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.clientWidth) || 0;
20631
- var stepper = containerRef.current;
20632
- if (!stepper)
20909
+ var container = (_a = stepperRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
20910
+ if (!container)
20633
20911
  return;
20634
- stepper.scrollBy({
20635
- left: direction ? clientWidth : -clientWidth,
20912
+ container.scrollBy({
20913
+ left: direction ? container.clientWidth : -container.clientWidth,
20636
20914
  behavior: "smooth",
20637
20915
  });
20638
20916
  };
20639
- // Used to set a specific step to jump to on a button click
20640
- var scrollToStep = function (step) {
20641
- setActiveIndex(step);
20917
+ var onPreviousStep = function () {
20918
+ var newStep = Math.max(currentIndex - increment, 0);
20919
+ scrollToStep(newStep);
20642
20920
  };
20643
- return (React__default.createElement("div", __assign({ ref: containerRef, className: "arc-ProgressStepperOverflow", style: { paddingLeft: offsetLeft } }, filterAttrs(props)),
20644
- React__default.createElement(ProgressStepper, { size: size, invertLabelPosition: invertLabelPosition, isFluid: false }, children)));
20645
- });
20921
+ var onNextStep = function () {
20922
+ var _a;
20923
+ var stepperItems = Array.from(((_a = stepperRef.current) === null || _a === void 0 ? void 0 : _a.children) || []);
20924
+ var newStep = Math.min(currentIndex + increment, stepperItems.length);
20925
+ scrollToStep(newStep);
20926
+ };
20927
+ return {
20928
+ stepperRef: stepperRef,
20929
+ onNextStep: onNextStep,
20930
+ onPreviousStep: onPreviousStep,
20931
+ onViewScroll: onViewScroll,
20932
+ currentIndex: currentIndex,
20933
+ scrollToStep: scrollToStep,
20934
+ isFirstStepVisible: isFirstStepVisible,
20935
+ isLastStepVisible: isLastStepVisible,
20936
+ };
20937
+ };
20646
20938
 
20647
20939
  var RadioContext$1 = createContext({});
20648
20940
  var Provider$3 = RadioContext$1.Provider;
@@ -20671,6 +20963,11 @@ var RadioCardGroup = function (_a) {
20671
20963
  }) }, children)))));
20672
20964
  };
20673
20965
 
20966
+ // src/capitalise-first-letter/capitalise-first-letter.ts
20967
+ var capitaliseFirstLetter = (word) => {
20968
+ return word.charAt(0).toUpperCase() + word.slice(1);
20969
+ };
20970
+
20674
20971
  var RadioCard = forwardRef(function (_a, ref) {
20675
20972
  var id = _a.id, icon = _a.icon, label = _a.label, support = _a.support, isDisabled = _a.isDisabled, checked = _a.checked, defaultChecked = _a.defaultChecked, changeEvent = _a.changeEvent, name = _a.name, blurEvent = _a.blurEvent, value = _a.value, children = _a.children, _b = _a.controlLocation, controlLocation = _b === void 0 ? "right" : _b, _c = _a.hideButton, hideButton = _c === void 0 ? false : _c;
20676
20973
  var surface = useContext(Context$3).surface;
@@ -21130,11 +21427,12 @@ var SiteHeaderV2Item = function (_a) {
21130
21427
  var SiteHeaderV2ItemGroup = function (_a) {
21131
21428
  var children = _a.children, href = _a.href, title = _a.title, subtitle = _a.subtitle, onClick = _a.onClick, viewAllTitle = _a.viewAllTitle, props = __rest(_a, ["children", "href", "title", "subtitle", "onClick", "viewAllTitle"]);
21132
21429
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
21133
- var ElementType = title ? "details" : "div";
21430
+ var ElementType = title && !isMinWidthArcBreakpointL ? "details" : "div";
21431
+ var ElementTypeSummary = isMinWidthArcBreakpointL ? "div" : "summary";
21134
21432
  return (React__default.createElement("li", { className: "arc-SiteHeaderV2ItemGroup" },
21135
21433
  React__default.createElement(ElementType, __assign({ className: "arc-SiteHeaderV2ItemGroup-details", open: Boolean(title && isMinWidthArcBreakpointL) }, filterAttrs(props)),
21136
21434
  title ? (React__default.createElement(React__default.Fragment, null,
21137
- React__default.createElement("summary", { tabIndex: isMinWidthArcBreakpointL ? -1 : 0, className: "arc-SiteHeaderV2ItemGroup-summary" }, href ? (React__default.createElement("div", { className: "arc-SiteHeaderV2ItemGroup-heading" },
21435
+ React__default.createElement(ElementTypeSummary, { tabIndex: isMinWidthArcBreakpointL ? -1 : 0, className: "arc-SiteHeaderV2ItemGroup-summary" }, href ? (React__default.createElement("div", { className: "arc-SiteHeaderV2ItemGroup-heading" },
21138
21436
  React__default.createElement(ConditionalWrapper, { condition: isMinWidthArcBreakpointL, wrapper: function (children) { return (React__default.createElement("a", { onClick: handleLinkClick({
21139
21437
  handler: onClick,
21140
21438
  }), className: "arc-SiteHeaderV2ItemGroup-title", href: href }, children)); }, fallback: function (children) { return (React__default.createElement("div", { className: "arc-SiteHeaderV2ItemGroup-title" }, children)); } }, title),
@@ -22005,7 +22303,7 @@ var TextArea = forwardRef(function (_a, ref) {
22005
22303
  var package_default = {
22006
22304
  name: "@arc-ui/helpers",
22007
22305
  private: true,
22008
- version: "12.0.0",
22306
+ version: "12.1.0",
22009
22307
  type: "module",
22010
22308
  homepage: "https://ui.digital-ent-int.bt.com",
22011
22309
  author: "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
@@ -26381,7 +26679,7 @@ var NavigationHeaderDisclosure = function (_a) {
26381
26679
  if (containerRef.current && containerRef.current.firstChild && isOpen) {
26382
26680
  containerRef.current.firstChild.focus();
26383
26681
  }
26384
- }, [isOpen, containerRef.current]);
26682
+ }, [isOpen]);
26385
26683
  return (React__default.createElement("details", { className: classNames("arc-NavigationHeaderDisclosure", suffixModifier("arc-NavigationHeaderDisclosure--on", surface)), open: isOpen },
26386
26684
  React__default.createElement("summary", { "aria-expanded": isOpen, onClick: handleOnClick, className: "arc-NavigationHeaderDisclosure-summary" },
26387
26685
  React__default.createElement("span", { className: "arc-NavigationHeaderDisclosure-heading" }, heading),
@@ -26437,24 +26735,25 @@ var NavigationHeaderBurgerMenu = function (_a) {
26437
26735
  };
26438
26736
  useEffect(function () {
26439
26737
  onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(isOpen);
26440
- }, [isOpen]);
26738
+ }, [isOpen, onOpenChange]);
26441
26739
  // Close the menu if the nav or trigger is hidden
26442
26740
  useEffect(function () {
26741
+ var trigger = triggerRef.current;
26443
26742
  var resizeObserver = new ResizeObserver(function (entries) {
26444
26743
  var entry = entries[0];
26445
26744
  if (!checkElementVisibility(entry.target) && isOpen) {
26446
26745
  setIsOpen(false);
26447
26746
  }
26448
26747
  });
26449
- if (triggerRef.current) {
26450
- resizeObserver.observe(triggerRef.current);
26748
+ if (trigger) {
26749
+ resizeObserver.observe(trigger);
26451
26750
  }
26452
26751
  return function () {
26453
- if (triggerRef.current) {
26454
- resizeObserver.unobserve(triggerRef.current);
26752
+ if (trigger) {
26753
+ resizeObserver.unobserve(trigger);
26455
26754
  }
26456
26755
  };
26457
- }, [isOpen, setIsOpen, triggerRef.current]);
26756
+ }, [isOpen, setIsOpen]);
26458
26757
  var colorScheme = useMemo(function () {
26459
26758
  var colorConfig = {
26460
26759
  light: {
@@ -26551,6 +26850,7 @@ var NavigationHeaderDropdown = function (_a) {
26551
26850
  var navigationHeaderContext = useContext(NavigationHeaderContext);
26552
26851
  // Close the dropdown if the nav or trigger is hidden
26553
26852
  useEffect(function () {
26853
+ var trigger = triggerRef.current;
26554
26854
  var resizeObserver = new ResizeObserver(function (entries) {
26555
26855
  var entry = entries[0];
26556
26856
  if (!checkElementVisibility(entry.target) && isOpen) {
@@ -26558,20 +26858,15 @@ var NavigationHeaderDropdown = function (_a) {
26558
26858
  setIsTooltipOpen(false);
26559
26859
  }
26560
26860
  });
26561
- if (triggerRef.current) {
26562
- resizeObserver.observe(triggerRef.current);
26861
+ if (trigger) {
26862
+ resizeObserver.observe(trigger);
26563
26863
  }
26564
26864
  return function () {
26565
- if (triggerRef.current) {
26566
- resizeObserver.unobserve(triggerRef.current);
26865
+ if (trigger) {
26866
+ resizeObserver.unobserve(trigger);
26567
26867
  }
26568
26868
  };
26569
- }, [
26570
- isOpen,
26571
- setIsOpen,
26572
- navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.setIsSubMenuItemActive,
26573
- triggerRef.current,
26574
- ]);
26869
+ }, [isOpen, setIsOpen, navigationHeaderContext]);
26575
26870
  // if focus isnt going anywhere else and closed via keyboard, return focus to the trigger
26576
26871
  var onCloseAutoFocus = function () {
26577
26872
  var _a, _b;
@@ -26699,14 +26994,10 @@ var NavigationHeaderSubnav = function (_a) {
26699
26994
  return function () {
26700
26995
  document.removeEventListener("click", handleClickOutside);
26701
26996
  };
26702
- }, [
26703
- setIsOpen,
26704
- dialogRef.current,
26705
- containerRef.current,
26706
- navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.setIsSubMenuItemActive,
26707
- ]);
26997
+ }, [setIsOpen, navigationHeaderContext]);
26708
26998
  // Close the subnav if the trigger is hidden and the submenu is open
26709
26999
  useEffect(function () {
27000
+ var trigger = triggerRef.current;
26710
27001
  var resizeObserver = new ResizeObserver(function (entries) {
26711
27002
  var entry = entries[0];
26712
27003
  if (!checkElementVisibility(entry.target) && isOpen) {
@@ -26714,20 +27005,15 @@ var NavigationHeaderSubnav = function (_a) {
26714
27005
  navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.setIsSubMenuItemActive(false);
26715
27006
  }
26716
27007
  });
26717
- if (triggerRef.current) {
26718
- resizeObserver.observe(triggerRef.current);
27008
+ if (trigger) {
27009
+ resizeObserver.observe(trigger);
26719
27010
  }
26720
27011
  return function () {
26721
- if (triggerRef.current) {
26722
- resizeObserver.unobserve(triggerRef.current);
27012
+ if (trigger) {
27013
+ resizeObserver.unobserve(trigger);
26723
27014
  }
26724
27015
  };
26725
- }, [
26726
- isOpen,
26727
- setIsOpen,
26728
- navigationHeaderContext === null || navigationHeaderContext === void 0 ? void 0 : navigationHeaderContext.setIsSubMenuItemActive,
26729
- triggerRef.current,
26730
- ]);
27016
+ }, [isOpen, setIsOpen, navigationHeaderContext]);
26731
27017
  return (React__default.createElement("div", { ref: containerRef },
26732
27018
  React__default.createElement(NavigationHeaderButton, { "data-sub-nav-item": true, ref: triggerRef, isActive: isOpen, "aria-label": ariaLabel, onClick: onTriggerClick }, trigger),
26733
27019
  React__default.createElement(Root$1, { open: isOpen, modal: false },
@@ -27827,5 +28113,5 @@ var Preview$1 = /*#__PURE__*/_mergeNamespaces({
27827
28113
  default: Preview
27828
28114
  }, [PreviewExports]);
27829
28115
 
27830
- export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, CheckboxIcon, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, DatePickerRange, Disclosure, DisclosureMini, Download, Drawer, DrawerContent, DrawerFooter, DrawerHeader, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner, GradientPageBackground, Grid, GridCol, GridRow, Group$1 as Group, GroupItem, Heading, HeroBanner, HeroButton, Hidden, HorizontalCard, Icon$1 as Icon, colors$1 as IconColors, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, ImageSource, ImpactCard, InformationCard, InputIcon, Link, Markup, MediaCard, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, MenuScrollable, MenuSeparator, MenuTrigger, Modal, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, NavigationHeaderPage, Pagination, PaginationSimple, Popover, Poster, PosterImage, PosterVideo, ProgressBar, ProgressStepper, ProgressStepperItem, ProgressStepperOverflow, RadioCardGroup, RadioCardGroupInput, RadioGroup, RadioGroupButton, RadioGroupInput, Rule, ScrollToTop, Section, Select, SemanticHeading, SiteFooter, SiteFooterItem, SiteFooterItemGroup, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, SkipLink, SkipLinkItem, Spinner, Surface, Context$3 as SurfaceContext, Switch, TabbedBanner, Tabs, TabsContent, TabsItem, TabsList, Tag, TemplateBanner, Text, TextArea, TextInput, Theme, ThemeIcon, ThumbnailSignpost, Toast, ToastNotification, Tooltip, Truncate, TypographyCard, UniversalHeader, UniversalHeaderItem, VerticalSpace, VideoPlayer, Visible, VisuallyHidden$2 as VisuallyHidden, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery };
28116
+ export { Alert, Align, AppButton, Avatar, AvatarGroup, Badge, Banner, Box, BrandLogo, colors as BrandLogoColors, Breadcrumbs, BreadcrumbsItem, BreadcrumbsLink, Button, ButtonGroup, ButtonV2, Calendar, Carousel, Checkbox, CheckboxIcon, Columns, ColumnsCol, ComboBox, ContentSwitcher, ContentSwitcherContent, ContentSwitcherDropdown, ContentSwitcherDropdownContent, ContentSwitcherList, ContentSwitcherTab, DATE_FORMAT, DatePicker, DatePickerRange, Disclosure, DisclosureMini, Download, Drawer, DrawerContent, DrawerFooter, DrawerHeader, Elevation, Filter, FilterControl, FilterControls, FilterItem, FilterItems, FormControl, Context$2 as FormControlContext, GhostedHeroBanner, GradientPageBackground, Grid, GridCol, GridRow, Group$1 as Group, GroupItem, Heading, HeroBanner, HeroButton, Hidden, HorizontalCard, Icon$1 as Icon, colors$1 as IconColors, Image, fitOptions as ImageFitOptions, overlayOptions as ImageOverlayOptions, ImageSource, ImpactCard, InformationCard, InputIcon, Link, Markup, MediaCard, Menu, MenuContent, MenuFooter, MenuGroup, MenuGroupSingleSelect, MenuHeader, MenuItem, MenuItemCheckbox, MenuItemContentTemplate, MenuItemMultiLevel, MenuItemMultiLevelContent, MenuItemMultiLevelTrigger, MenuItemSingleSelect, MenuLabel, MenuPortal, MenuScrollable, MenuSeparator, MenuTrigger, Modal, NavigationHeader, NavigationHeaderAction, NavigationHeaderActionBar, NavigationHeaderPage, Pagination, PaginationSimple, Popover, Poster, PosterImage, PosterVideo, ProgressBar, ProgressStepper, ProgressStepperItem, ProgressStepperOverflow, RadioCardGroup, RadioCardGroupInput, RadioGroup, RadioGroupButton, RadioGroupInput, Rule, ScrollToTop, Section, Select, SemanticHeading, SiteFooter, SiteFooterItem, SiteFooterItemGroup, SiteFooterV2, SiteFooterV2Item, SiteFooterV2ItemGroup, SiteFooterV2Main, SiteFooterV2Utility, SiteHeaderV2, SiteHeaderV2Column, SiteHeaderV2Item, SiteHeaderV2ItemGroup, SiteHeaderV2NavItem, SiteHeaderV2NavItemWithSubNav, SiteHeaderV2NodeItem, SiteHeaderV2SubNavItem, SiteHeaderV2VerticalDivider, Skeleton, SkipLink, SkipLinkItem, Spinner, Surface, Context$3 as SurfaceContext, Switch, TabbedBanner, Tabs, TabsContent, TabsItem, TabsList, Tag, TemplateBanner, Text, TextArea, TextInput, Theme, ThemeIcon, ThumbnailSignpost, Toast, ToastNotification, Tooltip, Truncate, TypographyCard, UniversalHeader, UniversalHeaderItem, VerticalSpace, VideoPlayer, Visible, VisuallyHidden$2 as VisuallyHidden, backgrounds, backgroundsBT, isDateValid, isRangeValid, loadingOptions, parseDateString, parseRangeString, themes, useMediaQuery, useProgressStepperOverflow };
27831
28117
  //# sourceMappingURL=index.mjs.map