@thecb/components 9.4.0-beta.0 → 9.5.0-beta.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.
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,203 @@ 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
+ }, /*#__PURE__*/React.createElement(Stack, {
48864
+ childGap: "0"
48865
+ }, /*#__PURE__*/React.createElement(Box, {
48866
+ padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
48867
+ background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
48868
+ onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
48869
+ return toggleOpenSection(section.id);
48870
+ },
48871
+ onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
48872
+ return toggleOpenSection(section.id);
48873
+ } : noop,
48874
+ key: "header-".concat(section.id),
48875
+ borderSize: "0px",
48876
+ borderColor: themeValues.borderColor,
48877
+ borderWidthOverride: openSection === section.id && !!section.content ? "0px 0px 1px 0px" : "",
48878
+ extraStyles: !section.disabled ? "cursor: pointer;" : "",
48879
+ dataQa: section.dataQa ? section.dataQa : section.id
48880
+ }, /*#__PURE__*/React.createElement(Cluster, {
48881
+ justify: "space-between",
48882
+ align: "center",
48883
+ childGap: "1px",
48884
+ nowrap: true
48885
+ }, /*#__PURE__*/React.createElement(Cluster, {
48886
+ justify: "flex-start",
48887
+ align: "center",
48888
+ nowrap: true
48889
+ }, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
48890
+ padding: "0"
48891
+ }, /*#__PURE__*/React.createElement(RadioButton$2, {
48892
+ id: "radio-input-".concat(idString(section)),
48893
+ name: idString(section),
48894
+ ariaDescribedBy: ariaDescribedBy,
48895
+ radioOn: openSection === section.id,
48896
+ radioFocused: focused === section.id,
48897
+ toggleRadio: section.disabled ? noop : function () {
48898
+ return toggleOpenSection(section.id);
48899
+ },
48900
+ tabIndex: "-1",
48901
+ isRequired: section.required
48902
+ })), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
48903
+ align: "center"
48904
+ }, section.titleIcon), /*#__PURE__*/React.createElement(Box, {
48905
+ padding: section.titleIcon ? "0 0 0 8px" : "0"
48906
+ }, /*#__PURE__*/React.createElement(Text$1, {
48907
+ as: "label",
48908
+ htmlFor: "radio-input-".concat(idString(section)),
48909
+ color: CHARADE_GREY
48910
+ }, section.title))), section.rightIcons && /*#__PURE__*/React.createElement(Cluster, {
48911
+ id: "right-icons-".concat(idString(section)),
48912
+ childGap: "0.5rem",
48913
+ "aria-label": section.rightIconsLabel || null,
48914
+ role: section.rightIconsRole || null
48915
+ }, section.rightIcons.map(function (icon) {
48916
+ return /*#__PURE__*/React.createElement(RightIcon, {
48917
+ src: icon.img,
48918
+ key: icon.img,
48919
+ fade: !icon.enabled,
48920
+ isMobile: isMobile,
48921
+ alt: icon.altText,
48922
+ "aria-disabled": !icon.enabled
48923
+ });
48924
+ })), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
48925
+ initial: false
48926
+ }, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
48927
+ key: "content-".concat(section.id),
48928
+ padding: "0",
48929
+ background: themeValues.bodyBackgroundColor,
48930
+ layoutTransition: true,
48931
+ initial: "closed",
48932
+ animate: "open",
48933
+ exit: "closed",
48934
+ variants: wrapper,
48935
+ extraStyles: "transform-origin: 100% 0;"
48936
+ }, section.content))));
48937
+ };
48938
+ var InnerRadioSection$1 = themeComponent(InnerRadioSection, "InnerRadioSection", fallbackValues$R);
48792
48939
 
48940
+ var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
48941
+ /**
48942
+ - The RadioSection component takes either a flat array (via the 'sections'
48943
+ 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.
48944
+ - Each 'section' object should look like:
48945
+ {
48946
+ title: <React Component(s)>,
48947
+ id: <String> "identifier of section",
48948
+ disabled: boolean, (displays section and grayed out radio but disables interaction)
48949
+ hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
48950
+ hidden: boolean, (hides section entirely)
48951
+ dataQa: string,
48952
+ content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
48953
+ 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)
48954
+ }
48955
+ - It also takes an "openSection" which should equal the id of the section that
48956
+ should be open, along with "toggleOpenSection"
48957
+ - RadioSection will call "toggleOpenSection" with the id of the section
48958
+ that it is in.
48959
+ - It is up to the engineer to store the open section value in state up from the
48960
+ component using a useState() hook or a reducer.
48961
+ - The section itself comes with some motion to open/close. To add more motion
48962
+ to the content, wrap your content with a Motion layout primitive and provide appropriate props.
48793
48963
  */
48794
48964
 
48795
- var idString = function idString(section) {
48965
+ var idString$1 = function idString(section) {
48796
48966
  return typeof section.title === "string" ? createIdFromString(section.title) : section.id;
48797
48967
  };
48798
48968
  var RadioSection = function RadioSection(_ref) {
@@ -48805,9 +48975,7 @@ var RadioSection = function RadioSection(_ref) {
48805
48975
  openSection = _ref$openSection === void 0 ? "" : _ref$openSection,
48806
48976
  toggleOpenSection = _ref.toggleOpenSection,
48807
48977
  _ref$staggeredAnimati = _ref.staggeredAnimation,
48808
- staggeredAnimation = _ref$staggeredAnimati === void 0 ? false : _ref$staggeredAnimati,
48809
48978
  _ref$initiallyOpen = _ref.initiallyOpen,
48810
- initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
48811
48979
  _ref$openHeight = _ref.openHeight,
48812
48980
  openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
48813
48981
  _ref$containerStyles = _ref.containerStyles,
@@ -48815,6 +48983,7 @@ var RadioSection = function RadioSection(_ref) {
48815
48983
  ariaDescribedBy = _ref.ariaDescribedBy,
48816
48984
  _ref$isSectionRequire = _ref.isSectionRequired,
48817
48985
  isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
48986
+ groupedSections = _ref.groupedSections,
48818
48987
  rest = _objectWithoutProperties(_ref, _excluded$z);
48819
48988
  var _useState = useState(null),
48820
48989
  _useState2 = _slicedToArray(_useState, 2),
@@ -48845,41 +49014,6 @@ var RadioSection = function RadioSection(_ref) {
48845
49014
  toggleOpenSection((_sections$nextIndex2 = sections[nextIndex]) === null || _sections$nextIndex2 === void 0 ? void 0 : _sections$nextIndex2.id);
48846
49015
  }
48847
49016
  };
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
49017
  return /*#__PURE__*/React.createElement(Box, {
48884
49018
  padding: "1px",
48885
49019
  border: "1px solid ".concat(themeValues.borderColor),
@@ -48889,106 +49023,48 @@ var RadioSection = function RadioSection(_ref) {
48889
49023
  childGap: "0",
48890
49024
  role: "radiogroup",
48891
49025
  "aria-required": isSectionRequired
48892
- }, rest), sections.filter(function (section) {
49026
+ }, rest), !!sections && sections.filter(function (section) {
48893
49027
  return !section.hidden;
48894
49028
  }).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
- },
49029
+ return /*#__PURE__*/React.createElement(Fragment$1, {
49030
+ key: "radio-section-".concat(sections.indexOf(section))
49031
+ }, /*#__PURE__*/React.createElement(InnerRadioSection$1, {
49032
+ sectionIndex: i,
49033
+ section: section,
49034
+ sectionRefs: sectionRefs,
49035
+ focused: focused,
49036
+ setFocused: setFocused,
49037
+ openHeight: openHeight,
49038
+ openSection: openSection,
49039
+ toggleOpenSection: toggleOpenSection,
48904
49040
  onKeyDown: function onKeyDown(e) {
48905
49041
  return !section.disabled && handleKeyDown(section.id, e, i);
48906
49042
  },
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))));
49043
+ ariaLabelledBy: section.id,
49044
+ ariaDescribedBy: "right-icons-".concat(idString$1(section))
49045
+ }));
49046
+ }), !!groupedSections && groupedSections.map(function (sectionGroup) {
49047
+ return sectionGroup.filter(function (unfilteredSection) {
49048
+ return !unfilteredSection.hidden;
49049
+ }).map(function (section, i) {
49050
+ return /*#__PURE__*/React.createElement(Fragment$1, {
49051
+ key: "radio-section-".concat(groupedSections.indexOf(sectionGroup), "-").concat(sectionGroup.indexOf(section), "}")
49052
+ }, /*#__PURE__*/React.createElement(InnerRadioSection$1, {
49053
+ sectionIndex: i,
49054
+ section: section,
49055
+ sectionRefs: sectionRefs,
49056
+ focused: focused,
49057
+ setFocused: setFocused,
49058
+ openHeight: openHeight,
49059
+ ariaLabelledBy: section.id,
49060
+ ariaDescribedBy: "right-icons-".concat(idString$1(section)),
49061
+ openSection: openSection,
49062
+ toggleOpenSection: toggleOpenSection
49063
+ }), sectionGroup.indexOf(section) === sectionGroup.length - 1 && groupedSections.indexOf(sectionGroup) !== groupedSections.length - 1 && /*#__PURE__*/React.createElement(SolidDivider$1, {
49064
+ borderSize: "2px",
49065
+ color: MANATEE_GREY
49066
+ }));
49067
+ });
48992
49068
  })));
48993
49069
  };
48994
49070
  var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$Q);
@@ -49273,7 +49349,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
49273
49349
  var activeTabBackground = "#FFFFFF";
49274
49350
  var activeTabAccent = "#15749D";
49275
49351
  var activeTabHover = "#B8D5E1";
49276
- var fallbackValues$R = {
49352
+ var fallbackValues$S = {
49277
49353
  activeTabBackground: activeTabBackground,
49278
49354
  activeTabAccent: activeTabAccent,
49279
49355
  activeTabHover: activeTabHover
@@ -49341,12 +49417,12 @@ var Tabs = function Tabs(_ref) {
49341
49417
  }, tab.content);
49342
49418
  }))));
49343
49419
  };
49344
- var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$R);
49420
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$S);
49345
49421
 
49346
49422
  var activeTabBackground$1 = "#FFFFFF";
49347
49423
  var activeTabAccent$1 = "#15749D";
49348
49424
  var activeTabHover$1 = "#B8D5E1";
49349
- var fallbackValues$S = {
49425
+ var fallbackValues$T = {
49350
49426
  activeTabBackground: activeTabBackground$1,
49351
49427
  activeTabAccent: activeTabAccent$1,
49352
49428
  activeTabHover: activeTabHover$1
@@ -49401,7 +49477,7 @@ var TabSidebar = function TabSidebar(_ref) {
49401
49477
  }, text)))));
49402
49478
  })));
49403
49479
  };
49404
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$S);
49480
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$T);
49405
49481
 
49406
49482
  var Timeout = function Timeout(_ref) {
49407
49483
  var onLogout = _ref.onLogout;
@@ -49486,7 +49562,7 @@ var fontColor$1 = WHITE;
49486
49562
  var textAlign$1 = "left";
49487
49563
  var headerBackgroundColor$1 = BRIGHT_GREY;
49488
49564
  var imageBackgroundColor$1 = MATISSE_BLUE;
49489
- var fallbackValues$T = {
49565
+ var fallbackValues$U = {
49490
49566
  fontWeight: fontWeight$9,
49491
49567
  fontColor: fontColor$1,
49492
49568
  textAlign: textAlign$1,
@@ -49531,7 +49607,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
49531
49607
  src: welcomeImage
49532
49608
  })))));
49533
49609
  };
49534
- var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$T));
49610
+ var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$U));
49535
49611
 
49536
49612
  var WorkflowTile = function WorkflowTile(_ref) {
49537
49613
  var _ref$workflowName = _ref.workflowName,
@@ -49586,7 +49662,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
49586
49662
  };
49587
49663
 
49588
49664
  var pageBackground = "#FBFCFD";
49589
- var fallbackValues$U = {
49665
+ var fallbackValues$V = {
49590
49666
  pageBackground: pageBackground
49591
49667
  };
49592
49668
 
@@ -49634,7 +49710,7 @@ var CenterSingle = function CenterSingle(_ref) {
49634
49710
  padding: "0"
49635
49711
  })));
49636
49712
  };
49637
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$U));
49713
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$V));
49638
49714
 
49639
49715
  var CenterStack = function CenterStack(_ref) {
49640
49716
  var header = _ref.header,
@@ -49677,7 +49753,7 @@ var CenterStack = function CenterStack(_ref) {
49677
49753
  padding: "0"
49678
49754
  })));
49679
49755
  };
49680
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$U));
49756
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$V));
49681
49757
 
49682
49758
  var CenterSingle$2 = function CenterSingle(_ref) {
49683
49759
  var header = _ref.header,
@@ -49721,7 +49797,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
49721
49797
  padding: "0"
49722
49798
  })));
49723
49799
  };
49724
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$U));
49800
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$V));
49725
49801
 
49726
49802
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
49727
49803
  var header = _ref.header,
@@ -49774,7 +49850,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
49774
49850
  padding: "0"
49775
49851
  })));
49776
49852
  };
49777
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$U));
49853
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$V));
49778
49854
 
49779
49855
  var SidebarStackContent = function SidebarStackContent(_ref) {
49780
49856
  var header = _ref.header,
@@ -49844,7 +49920,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
49844
49920
  key: "footer-box"
49845
49921
  })));
49846
49922
  };
49847
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$U));
49923
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$V));
49848
49924
 
49849
49925
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
49850
49926
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};