@thecb/components 9.4.0-beta.0 → 9.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -27875,9 +27875,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
27875
27875
  }), /*#__PURE__*/React.createElement(Box, {
27876
27876
  padding: "0 0 0.5rem",
27877
27877
  extraStyles: "overflow-y: scroll; max-height: 250px;"
27878
- }, /*#__PURE__*/React.createElement(Stack, null, itemList.sort(function (a, b) {
27879
- return a.name.toLowerCase().localeCompare(b.name.toLowerCase());
27880
- }).map(function (value) {
27878
+ }, /*#__PURE__*/React.createElement(Stack, null, itemList.map(function (value) {
27881
27879
  var _selectedItems$find;
27882
27880
  return /*#__PURE__*/React.createElement(Checkbox$1, {
27883
27881
  key: value.name,
@@ -48768,31 +48766,205 @@ var fallbackValues$Q = {
48768
48766
  focusStyles: focusStyles
48769
48767
  };
48770
48768
 
48771
- var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired"];
48772
- /*
48773
- Takes an array of section objects, each object should look like:
48774
- {
48775
- title: <React Component(s)>,
48776
- id: <String> "identifier of section",
48777
- disabled: boolean, (displays section and grayed out radio but disables interaction)
48778
- hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
48779
- hidden: boolean, (hides section entirely)
48780
- dataQa: string,
48781
- content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
48782
- rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
48783
- }
48784
-
48785
- Also takes an "openSection" which should equal the id of the section that should be open
48786
- And a toggleOpenSection. RadioSection will call this function with the id of the section
48787
- that it is in. It is up to the user to store the open section value in state up from the component
48788
- using a useState() hook, or reducer.
48769
+ var headingBackgroundColor$2 = "".concat(WHITE);
48770
+ var headingDisabledColor$1 = "".concat(ATHENS_GREY);
48771
+ var bodyBackgroundColor$2 = "#eeeeee";
48772
+ var borderColor$7 = "".concat(GREY_CHATEAU);
48773
+ var focusStyles$1 = "outline: none;";
48774
+ var fallbackValues$R = {
48775
+ headingBackgroundColor: headingBackgroundColor$2,
48776
+ headingDisabledColor: headingDisabledColor$1,
48777
+ bodyBackgroundColor: bodyBackgroundColor$2,
48778
+ borderColor: borderColor$7,
48779
+ focusStyles: focusStyles$1
48780
+ };
48789
48781
 
48790
- The section itself comes with some motion to open/close. To add more motion to the content,
48791
- wrap your content with a Motion layout primitive and provide appropriate props.
48782
+ var idString = function idString(section) {
48783
+ return typeof section.title === "string" ? createIdFromString(section.title) : section.id;
48784
+ };
48785
+ var InnerRadioSection = function InnerRadioSection(_ref) {
48786
+ var themeValues = _ref.themeValues,
48787
+ isMobile = _ref.isMobile,
48788
+ supportsTouch = _ref.supportsTouch,
48789
+ section = _ref.section,
48790
+ sectionIndex = _ref.sectionIndex,
48791
+ _ref$openSection = _ref.openSection,
48792
+ openSection = _ref$openSection === void 0 ? "" : _ref$openSection,
48793
+ toggleOpenSection = _ref.toggleOpenSection,
48794
+ _ref$staggeredAnimati = _ref.staggeredAnimation,
48795
+ staggeredAnimation = _ref$staggeredAnimati === void 0 ? false : _ref$staggeredAnimati,
48796
+ _ref$initiallyOpen = _ref.initiallyOpen,
48797
+ initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
48798
+ _ref$openHeight = _ref.openHeight,
48799
+ openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
48800
+ ariaDescribedBy = _ref.ariaDescribedBy,
48801
+ focused = _ref.focused,
48802
+ setFocused = _ref.setFocused,
48803
+ sectionRefs = _ref.sectionRefs,
48804
+ ariaLabelledBy = _ref.ariaLabelledBy,
48805
+ _ref$onKeyDown = _ref.onKeyDown,
48806
+ onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
48807
+ var wrapper = {
48808
+ open: {
48809
+ height: openHeight,
48810
+ opacity: 1,
48811
+ transition: {
48812
+ duration: 0.3,
48813
+ ease: [0.04, 0.62, 0.23, 0.98],
48814
+ staggerChildren: staggeredAnimation ? 0.15 : 0
48815
+ }
48816
+ },
48817
+ closed: {
48818
+ height: 0,
48819
+ opacity: 0,
48820
+ transition: {
48821
+ duration: 0.3,
48822
+ ease: [0.04, 0.62, 0.23, 0.98],
48823
+ staggerChildren: staggeredAnimation ? 0.15 : 0,
48824
+ staggerDirection: -1
48825
+ }
48826
+ }
48827
+ };
48828
+ var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
48829
+ var RightIcon = styled.img.withConfig({
48830
+ displayName: "InnerRadioSection__RightIcon",
48831
+ componentId: "sc-1wtp6qc-0"
48832
+ })(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
48833
+ var isMobile = _ref2.isMobile;
48834
+ return isMobile ? "14px" : "18px";
48835
+ }, function (_ref3) {
48836
+ var isMobile = _ref3.isMobile;
48837
+ return isMobile ? "22px" : "28px";
48838
+ }, function (_ref4) {
48839
+ var fade = _ref4.fade;
48840
+ return fade && "opacity: 0.4;";
48841
+ });
48842
+ return /*#__PURE__*/React.createElement(Motion, {
48843
+ tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
48844
+ ref: sectionRefs.current[sectionIndex],
48845
+ onBlur: function onBlur() {
48846
+ return !section.disabled && setFocused(null);
48847
+ },
48848
+ onFocus: function onFocus() {
48849
+ return !section.disabled && setFocused(section.id);
48850
+ },
48851
+ onKeyDown: onKeyDown,
48852
+ hoverStyles: themeValues.focusStyles,
48853
+ animate: openSection === section.id ? "open" : "closed",
48854
+ initial: initiallyOpen ? "open" : "closed",
48855
+ key: "item-".concat(section.id),
48856
+ extraStyles: borderStyles,
48857
+ role: "radio",
48858
+ "aria-checked": openSection === section.id,
48859
+ "aria-disabled": section.disabled,
48860
+ "aria-required": section.required,
48861
+ "aria-labelledby": ariaLabelledBy,
48862
+ "aria-describedby": ariaDescribedBy,
48863
+ onClick:
48864
+ // This needs to be associated with the same component that has the aria-checked property
48865
+ isMobile && supportsTouch || section.disabled ? noop : function () {
48866
+ return toggleOpenSection(section.id);
48867
+ },
48868
+ onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
48869
+ return toggleOpenSection(section.id);
48870
+ } : noop
48871
+ }, /*#__PURE__*/React.createElement(Stack, {
48872
+ childGap: "0"
48873
+ }, /*#__PURE__*/React.createElement(Box, {
48874
+ padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
48875
+ background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
48876
+ key: "header-".concat(section.id),
48877
+ borderSize: "0px",
48878
+ borderColor: themeValues.borderColor,
48879
+ borderWidthOverride: openSection === section.id && !!section.content ? "0px 0px 1px 0px" : "",
48880
+ extraStyles: !section.disabled ? "cursor: pointer;" : "",
48881
+ dataQa: section.dataQa ? section.dataQa : section.id
48882
+ }, /*#__PURE__*/React.createElement(Cluster, {
48883
+ justify: "space-between",
48884
+ align: "center",
48885
+ childGap: "1px",
48886
+ nowrap: true
48887
+ }, /*#__PURE__*/React.createElement(Cluster, {
48888
+ justify: "flex-start",
48889
+ align: "center",
48890
+ nowrap: true
48891
+ }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48892
+ padding: "0"
48893
+ }, /*#__PURE__*/React.createElement(RadioButton$2, {
48894
+ id: "radio-input-".concat(idString(section)),
48895
+ name: idString(section),
48896
+ ariaDescribedBy: ariaDescribedBy,
48897
+ radioOn: openSection === section.id,
48898
+ radioFocused: focused === section.id,
48899
+ toggleRadio: section.disabled ? noop : function () {
48900
+ return toggleOpenSection(section.id);
48901
+ },
48902
+ tabIndex: "-1",
48903
+ isRequired: section.required
48904
+ })), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
48905
+ align: "center"
48906
+ }, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
48907
+ padding: section.titleIcon ? "0 0 0 8px" : "0"
48908
+ }, /*#__PURE__*/React.createElement(Text$1, {
48909
+ as: "label",
48910
+ htmlFor: "radio-input-".concat(idString(section)),
48911
+ color: CHARADE_GREY
48912
+ }, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
48913
+ id: "right-icons-".concat(idString(section)),
48914
+ childGap: "0.5rem",
48915
+ "aria-label": section.rightIconsLabel || null,
48916
+ role: section.rightIconsRole || null
48917
+ }, section.rightIcons.map(function (icon) {
48918
+ return /*#__PURE__*/React.createElement(RightIcon, {
48919
+ src: icon.img,
48920
+ key: icon.img,
48921
+ fade: !icon.enabled,
48922
+ isMobile: isMobile,
48923
+ alt: icon.altText,
48924
+ "aria-disabled": !icon.enabled
48925
+ });
48926
+ })), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
48927
+ initial: false
48928
+ }, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
48929
+ key: "content-".concat(section.id),
48930
+ padding: "0",
48931
+ background: themeValues.bodyBackgroundColor,
48932
+ layoutTransition: true,
48933
+ initial: "closed",
48934
+ animate: "open",
48935
+ exit: "closed",
48936
+ variants: wrapper,
48937
+ extraStyles: "transform-origin: 100% 0;"
48938
+ }, section.content))));
48939
+ };
48940
+ var InnerRadioSection$1 = themeComponent(InnerRadioSection, "InnerRadioSection", fallbackValues$R);
48792
48941
 
48942
+ var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
48943
+ /**
48944
+ - The RadioSection component takes either a flat array (via the 'sections'
48945
+ prop) of section objects or a multidimensional array (via the 'groupedSections' prop) of section objects. Note that if using a multidimensional array, the nesting cannot exceed 2 levels deep.
48946
+ - Each 'section' object should look like:
48947
+ {
48948
+ title: <React Component(s)>,
48949
+ id: <String> "identifier of section",
48950
+ disabled: boolean, (displays section and grayed out radio but disables interaction)
48951
+ hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
48952
+ hidden: boolean, (hides section entirely)
48953
+ dataQa: string,
48954
+ content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
48955
+ rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
48956
+ }
48957
+ - It also takes an "openSection" which should equal the id of the section that
48958
+ should be open, along with "toggleOpenSection"
48959
+ - RadioSection will call "toggleOpenSection" with the id of the section
48960
+ that it is in.
48961
+ - It is up to the engineer to store the open section value in state up from the
48962
+ component using a useState() hook or a reducer.
48963
+ - The section itself comes with some motion to open/close. To add more motion
48964
+ to the content, wrap your content with a Motion layout primitive and provide appropriate props.
48793
48965
  */
48794
48966
 
48795
- var idString = function idString(section) {
48967
+ var idString$1 = function idString(section) {
48796
48968
  return typeof section.title === "string" ? createIdFromString(section.title) : section.id;
48797
48969
  };
48798
48970
  var RadioSection = function RadioSection(_ref) {
@@ -48805,9 +48977,7 @@ var RadioSection = function RadioSection(_ref) {
48805
48977
  openSection = _ref$openSection === void 0 ? "" : _ref$openSection,
48806
48978
  toggleOpenSection = _ref.toggleOpenSection,
48807
48979
  _ref$staggeredAnimati = _ref.staggeredAnimation,
48808
- staggeredAnimation = _ref$staggeredAnimati === void 0 ? false : _ref$staggeredAnimati,
48809
48980
  _ref$initiallyOpen = _ref.initiallyOpen,
48810
- initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
48811
48981
  _ref$openHeight = _ref.openHeight,
48812
48982
  openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
48813
48983
  _ref$containerStyles = _ref.containerStyles,
@@ -48815,6 +48985,7 @@ var RadioSection = function RadioSection(_ref) {
48815
48985
  ariaDescribedBy = _ref.ariaDescribedBy,
48816
48986
  _ref$isSectionRequire = _ref.isSectionRequired,
48817
48987
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
48988
+ groupedSections = _ref.groupedSections,
48818
48989
  rest = _objectWithoutProperties(_ref, _excluded$z);
48819
48990
  var _useState = useState(null),
48820
48991
  _useState2 = _slicedToArray(_useState, 2),
@@ -48845,150 +49016,57 @@ var RadioSection = function RadioSection(_ref) {
48845
49016
  toggleOpenSection((_sections$nextIndex2 = sections[nextIndex]) === null || _sections$nextIndex2 === void 0 ? void 0 : _sections$nextIndex2.id);
48846
49017
  }
48847
49018
  };
48848
- var wrapper = {
48849
- open: {
48850
- height: openHeight,
48851
- opacity: 1,
48852
- transition: {
48853
- duration: 0.3,
48854
- ease: [0.04, 0.62, 0.23, 0.98],
48855
- staggerChildren: staggeredAnimation ? 0.15 : 0
48856
- }
48857
- },
48858
- closed: {
48859
- height: 0,
48860
- opacity: 0,
48861
- transition: {
48862
- duration: 0.3,
48863
- ease: [0.04, 0.62, 0.23, 0.98],
48864
- staggerChildren: staggeredAnimation ? 0.15 : 0,
48865
- staggerDirection: -1
48866
- }
48867
- }
48868
- };
48869
- var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
48870
- var RightIcon = styled.img.withConfig({
48871
- displayName: "RadioSection__RightIcon",
48872
- componentId: "sc-uema02-0"
48873
- })(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
48874
- var isMobile = _ref2.isMobile;
48875
- return isMobile ? "14px" : "18px";
48876
- }, function (_ref3) {
48877
- var isMobile = _ref3.isMobile;
48878
- return isMobile ? "22px" : "28px";
48879
- }, function (_ref4) {
48880
- var fade = _ref4.fade;
48881
- return fade && "opacity: 0.4;";
48882
- });
48883
- return /*#__PURE__*/React.createElement(Box, {
49019
+ return /*#__PURE__*/React.createElement(Box, _extends({
48884
49020
  padding: "1px",
48885
49021
  border: "1px solid ".concat(themeValues.borderColor),
48886
49022
  borderRadius: "4px",
48887
- extraStyles: containerStyles
48888
- }, /*#__PURE__*/React.createElement(Stack, _extends({
48889
- childGap: "0",
49023
+ extraStyles: containerStyles,
48890
49024
  role: "radiogroup",
48891
49025
  "aria-required": isSectionRequired
48892
- }, rest), sections.filter(function (section) {
49026
+ }, rest), /*#__PURE__*/React.createElement(Stack, _extends({
49027
+ childGap: "0"
49028
+ }, rest), !!sections && sections.filter(function (section) {
48893
49029
  return !section.hidden;
48894
49030
  }).map(function (section, i) {
48895
- return /*#__PURE__*/React.createElement(Motion, {
48896
- tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
48897
- ref: sectionRefs.current[i],
48898
- onBlur: function onBlur() {
48899
- return !section.disabled && setFocused(null);
48900
- },
48901
- onFocus: function onFocus() {
48902
- return !section.disabled && setFocused(section.id);
48903
- },
49031
+ return /*#__PURE__*/React.createElement(Fragment$1, {
49032
+ key: "radio-section-".concat(sections.indexOf(section))
49033
+ }, /*#__PURE__*/React.createElement(InnerRadioSection$1, {
49034
+ sectionIndex: i,
49035
+ section: section,
49036
+ sectionRefs: sectionRefs,
49037
+ focused: focused,
49038
+ setFocused: setFocused,
49039
+ openHeight: openHeight,
49040
+ openSection: openSection,
49041
+ toggleOpenSection: toggleOpenSection,
48904
49042
  onKeyDown: function onKeyDown(e) {
48905
49043
  return !section.disabled && handleKeyDown(section.id, e, i);
48906
49044
  },
48907
- hoverStyles: themeValues.focusStyles,
48908
- animate: openSection === section.id ? "open" : "closed",
48909
- initial: initiallyOpen ? "open" : "closed",
48910
- key: "item-".concat(section.id),
48911
- extraStyles: borderStyles,
48912
- role: "radio",
48913
- "aria-checked": openSection === section.id,
48914
- "aria-disabled": section.disabled,
48915
- "aria-required": section.required,
48916
- "aria-labelledby": section.id,
48917
- "aria-describedby": "right-icons-".concat(idString(section))
48918
- }, /*#__PURE__*/React.createElement(Stack, {
48919
- childGap: "0"
48920
- }, /*#__PURE__*/React.createElement(Box, {
48921
- padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
48922
- background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
48923
- onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
48924
- return toggleOpenSection(section.id);
48925
- },
48926
- onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
48927
- return toggleOpenSection(section.id);
48928
- } : noop,
48929
- key: "header-".concat(section.id),
48930
- borderSize: "0px",
48931
- borderColor: themeValues.borderColor,
48932
- borderWidthOverride: openSection === section.id && !!section.content ? "0px 0px 1px 0px" : "",
48933
- extraStyles: !section.disabled ? "cursor: pointer;" : "",
48934
- dataQa: section.dataQa ? section.dataQa : section.id
48935
- }, /*#__PURE__*/React.createElement(Cluster, {
48936
- justify: "space-between",
48937
- align: "center",
48938
- childGap: "1px",
48939
- nowrap: true
48940
- }, /*#__PURE__*/React.createElement(Cluster, {
48941
- justify: "flex-start",
48942
- align: "center",
48943
- nowrap: true
48944
- }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48945
- padding: "0"
48946
- }, /*#__PURE__*/React.createElement(RadioButton$2, {
48947
- id: "radio-input-".concat(idString(section)),
48948
- name: idString(section),
48949
- ariaDescribedBy: ariaDescribedBy,
48950
- radioOn: openSection === section.id,
48951
- radioFocused: focused === section.id,
48952
- toggleRadio: section.disabled ? noop : function () {
48953
- return toggleOpenSection(section.id);
48954
- },
48955
- tabIndex: "-1",
48956
- isRequired: section.required
48957
- })), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
48958
- align: "center"
48959
- }, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
48960
- padding: section.titleIcon ? "0 0 0 8px" : "0"
48961
- }, /*#__PURE__*/React.createElement(Text$1, {
48962
- as: "label",
48963
- htmlFor: "radio-input-".concat(idString(section)),
48964
- color: CHARADE_GREY
48965
- }, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
48966
- id: "right-icons-".concat(idString(section)),
48967
- childGap: "0.5rem",
48968
- "aria-label": section.rightIconsLabel || null,
48969
- role: section.rightIconsRole || null
48970
- }, section.rightIcons.map(function (icon) {
48971
- return /*#__PURE__*/React.createElement(RightIcon, {
48972
- src: icon.img,
48973
- key: icon.img,
48974
- fade: !icon.enabled,
48975
- isMobile: isMobile,
48976
- alt: icon.altText,
48977
- "aria-disabled": !icon.enabled
48978
- });
48979
- })), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
48980
- initial: false
48981
- }, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
48982
- key: "content-".concat(section.id),
48983
- padding: "0",
48984
- background: themeValues.bodyBackgroundColor,
48985
- layoutTransition: true,
48986
- initial: "closed",
48987
- animate: "open",
48988
- exit: "closed",
48989
- variants: wrapper,
48990
- extraStyles: "transform-origin: 100% 0;"
48991
- }, section.content))));
49045
+ ariaLabelledBy: section.id,
49046
+ ariaDescribedBy: "right-icons-".concat(idString$1(section))
49047
+ }));
49048
+ }), !!groupedSections && groupedSections.map(function (sectionGroup) {
49049
+ return sectionGroup.filter(function (unfilteredSection) {
49050
+ return !unfilteredSection.hidden;
49051
+ }).map(function (section, i) {
49052
+ return /*#__PURE__*/React.createElement(Fragment$1, {
49053
+ key: "radio-section-".concat(groupedSections.indexOf(sectionGroup), "-").concat(sectionGroup.indexOf(section), "}")
49054
+ }, /*#__PURE__*/React.createElement(InnerRadioSection$1, {
49055
+ sectionIndex: i,
49056
+ section: section,
49057
+ sectionRefs: sectionRefs,
49058
+ focused: focused,
49059
+ setFocused: setFocused,
49060
+ openHeight: openHeight,
49061
+ ariaLabelledBy: section.id,
49062
+ ariaDescribedBy: "right-icons-".concat(idString$1(section)),
49063
+ openSection: openSection,
49064
+ toggleOpenSection: toggleOpenSection
49065
+ }), sectionGroup.indexOf(section) === sectionGroup.length - 1 && groupedSections.indexOf(sectionGroup) !== groupedSections.length - 1 && /*#__PURE__*/React.createElement(SolidDivider$1, {
49066
+ borderSize: "2px",
49067
+ color: MANATEE_GREY
49068
+ }));
49069
+ });
48992
49070
  })));
48993
49071
  };
48994
49072
  var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$Q);
@@ -49273,7 +49351,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
49273
49351
  var activeTabBackground = "#FFFFFF";
49274
49352
  var activeTabAccent = "#15749D";
49275
49353
  var activeTabHover = "#B8D5E1";
49276
- var fallbackValues$R = {
49354
+ var fallbackValues$S = {
49277
49355
  activeTabBackground: activeTabBackground,
49278
49356
  activeTabAccent: activeTabAccent,
49279
49357
  activeTabHover: activeTabHover
@@ -49341,12 +49419,12 @@ var Tabs = function Tabs(_ref) {
49341
49419
  }, tab.content);
49342
49420
  }))));
49343
49421
  };
49344
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$R);
49422
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$S);
49345
49423
 
49346
49424
  var activeTabBackground$1 = "#FFFFFF";
49347
49425
  var activeTabAccent$1 = "#15749D";
49348
49426
  var activeTabHover$1 = "#B8D5E1";
49349
- var fallbackValues$S = {
49427
+ var fallbackValues$T = {
49350
49428
  activeTabBackground: activeTabBackground$1,
49351
49429
  activeTabAccent: activeTabAccent$1,
49352
49430
  activeTabHover: activeTabHover$1
@@ -49401,7 +49479,7 @@ var TabSidebar = function TabSidebar(_ref) {
49401
49479
  }, text)))));
49402
49480
  })));
49403
49481
  };
49404
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$S);
49482
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$T);
49405
49483
 
49406
49484
  var Timeout = function Timeout(_ref) {
49407
49485
  var onLogout = _ref.onLogout;
@@ -49486,7 +49564,7 @@ var fontColor$1 = WHITE;
49486
49564
  var textAlign$1 = "left";
49487
49565
  var headerBackgroundColor$1 = BRIGHT_GREY;
49488
49566
  var imageBackgroundColor$1 = MATISSE_BLUE;
49489
- var fallbackValues$T = {
49567
+ var fallbackValues$U = {
49490
49568
  fontWeight: fontWeight$9,
49491
49569
  fontColor: fontColor$1,
49492
49570
  textAlign: textAlign$1,
@@ -49531,7 +49609,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
49531
49609
  src: welcomeImage
49532
49610
  })))));
49533
49611
  };
49534
- var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$T));
49612
+ var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$U));
49535
49613
 
49536
49614
  var WorkflowTile = function WorkflowTile(_ref) {
49537
49615
  var _ref$workflowName = _ref.workflowName,
@@ -49586,7 +49664,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
49586
49664
  };
49587
49665
 
49588
49666
  var pageBackground = "#FBFCFD";
49589
- var fallbackValues$U = {
49667
+ var fallbackValues$V = {
49590
49668
  pageBackground: pageBackground
49591
49669
  };
49592
49670
 
@@ -49634,7 +49712,7 @@ var CenterSingle = function CenterSingle(_ref) {
49634
49712
  padding: "0"
49635
49713
  })));
49636
49714
  };
49637
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$U));
49715
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$V));
49638
49716
 
49639
49717
  var CenterStack = function CenterStack(_ref) {
49640
49718
  var header = _ref.header,
@@ -49677,7 +49755,7 @@ var CenterStack = function CenterStack(_ref) {
49677
49755
  padding: "0"
49678
49756
  })));
49679
49757
  };
49680
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$U));
49758
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$V));
49681
49759
 
49682
49760
  var CenterSingle$2 = function CenterSingle(_ref) {
49683
49761
  var header = _ref.header,
@@ -49721,7 +49799,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49721
49799
  padding: "0"
49722
49800
  })));
49723
49801
  };
49724
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$U));
49802
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$V));
49725
49803
 
49726
49804
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49727
49805
  var header = _ref.header,
@@ -49774,7 +49852,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
49774
49852
  padding: "0"
49775
49853
  })));
49776
49854
  };
49777
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$U));
49855
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$V));
49778
49856
 
49779
49857
  var SidebarStackContent = function SidebarStackContent(_ref) {
49780
49858
  var header = _ref.header,
@@ -49844,7 +49922,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
49844
49922
  key: "footer-box"
49845
49923
  })));
49846
49924
  };
49847
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$U));
49925
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$V));
49848
49926
 
49849
49927
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
49850
49928
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};