@redsift/design-system 7.7.0 → 7.8.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/index.js CHANGED
@@ -1,13 +1,10 @@
1
- import { I18nProvider, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
2
- export { I18nProvider, useCollator, useDateFormatter, useFilter, useListFormatter, useLocale, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
3
- export { SSRProvider, useIsSSR } from '@react-aria/ssr';
1
+ import { I18nProvider, useLocalizedStringFormatter, useButton, useFocusRing, useNumberFormatter, useFocusWithin } from 'react-aria';
2
+ export { I18nProvider, SSRProvider } from 'react-aria';
4
3
  import * as React from 'react';
5
- import React__default, { useState, useEffect, forwardRef, useMemo, useContext, useRef, useCallback, useReducer, useLayoutEffect, useId as useId$1 } from 'react';
4
+ import React__default, { useState, useEffect, useContext, useLayoutEffect, useMemo, useRef, useCallback, forwardRef, useReducer, useId as useId$1 } from 'react';
6
5
  import classNames from 'classnames';
7
6
  import { mdiClose, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiMenuOpen, mdiChevronDown, mdiChevronRight, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
8
7
  import styled, { css, keyframes } from 'styled-components';
9
- import { useButton } from '@react-aria/button';
10
- import { useFocusRing } from '@react-aria/focus';
11
8
  import * as ReactDOM from 'react-dom';
12
9
  import { createPortal } from 'react-dom';
13
10
 
@@ -205,7 +202,7 @@ function partitionComponents(components, predicates) {
205
202
 
206
203
  /**
207
204
  * Do not edit directly
208
- * Generated on Tue, 14 Mar 2023 15:14:37 GMT
205
+ * Generated on Fri, 28 Apr 2023 13:20:47 GMT
209
206
  */
210
207
 
211
208
  const RedsiftColorDefaultPrimary = '#0079e1';
@@ -519,6 +516,821 @@ const useWindowSize = () => {
519
516
  return windowSize;
520
517
  };
521
518
 
519
+ /**
520
+ * Get the bounding rect of a component.
521
+ */
522
+ const useBoundingClientRect = (ref, deps) => {
523
+ const [boundingRect, setBoundingRect] = useState({});
524
+ useEffect(() => {
525
+ if (ref.current) {
526
+ setBoundingRect(ref.current.getBoundingClientRect());
527
+ }
528
+ }, deps);
529
+ return boundingRect;
530
+ };
531
+
532
+ /*
533
+ * Copyright 2020 Adobe. All rights reserved.
534
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
535
+ * you may not use this file except in compliance with the License. You may obtain a copy
536
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
537
+ *
538
+ * Unless required by applicable law or agreed to in writing, software distributed under
539
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
540
+ * OF ANY KIND, either express or implied. See the License for the specific language
541
+ * governing permissions and limitations under the License.
542
+ */ /*
543
+ * Copyright 2020 Adobe. All rights reserved.
544
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
545
+ * you may not use this file except in compliance with the License. You may obtain a copy
546
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
547
+ *
548
+ * Unless required by applicable law or agreed to in writing, software distributed under
549
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
550
+ * OF ANY KIND, either express or implied. See the License for the specific language
551
+ * governing permissions and limitations under the License.
552
+ */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is
553
+ // guarded by a check that it only runs on the client side.
554
+ // eslint-disable-next-line rulesdir/useLayoutEffectRule
555
+
556
+ // Default context value to use in case there is no SSRProvider. This is fine for
557
+ // client-only apps. In order to support multiple copies of React Aria potentially
558
+ // being on the page at once, the prefix is set to a random number. SSRProvider
559
+ // will reset this to zero for consistency between server and client, so in the
560
+ // SSR case multiple copies of React Aria is not supported.
561
+ const $704cf1d3b684cc5c$var$defaultContext = {
562
+ prefix: String(Math.round(Math.random() * 10000000000)),
563
+ current: 0
564
+ };
565
+ const $704cf1d3b684cc5c$var$SSRContext = /*#__PURE__*/ (React__default).createContext($704cf1d3b684cc5c$var$defaultContext);
566
+ function $704cf1d3b684cc5c$export$535bd6ca7f90a273() {
567
+ let cur = (useContext)($704cf1d3b684cc5c$var$SSRContext);
568
+ let isInSSRContext = cur !== $704cf1d3b684cc5c$var$defaultContext;
569
+ let [isSSR, setIsSSR] = (useState)(isInSSRContext);
570
+ // If on the client, and the component was initially server rendered,
571
+ // then schedule a layout effect to update the component after hydration.
572
+ if (typeof window !== "undefined" && isInSSRContext) // This if statement technically breaks the rules of hooks, but is safe
573
+ // because the condition never changes after mounting.
574
+ // eslint-disable-next-line react-hooks/rules-of-hooks
575
+ (useLayoutEffect)(()=>{
576
+ setIsSSR(false);
577
+ }, []);
578
+ return isSSR;
579
+ }
580
+
581
+ /*
582
+ * Copyright 2022 Adobe. All rights reserved.
583
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
584
+ * you may not use this file except in compliance with the License. You may obtain a copy
585
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
586
+ *
587
+ * Unless required by applicable law or agreed to in writing, software distributed under
588
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
589
+ * OF ANY KIND, either express or implied. See the License for the specific language
590
+ * governing permissions and limitations under the License.
591
+ */ /*
592
+ * Copyright 2022 Adobe. All rights reserved.
593
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
594
+ * you may not use this file except in compliance with the License. You may obtain a copy
595
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
596
+ *
597
+ * Unless required by applicable law or agreed to in writing, software distributed under
598
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
599
+ * OF ANY KIND, either express or implied. See the License for the specific language
600
+ * governing permissions and limitations under the License.
601
+ */ class $5b160d28a433310d$export$c17fa47878dc55b6 {
602
+ /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {
603
+ let strings = this.strings[locale];
604
+ if (!strings) {
605
+ strings = $5b160d28a433310d$var$getStringsForLocale(locale, this.strings, this.defaultLocale);
606
+ this.strings[locale] = strings;
607
+ }
608
+ let string = strings[key];
609
+ if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);
610
+ return string;
611
+ }
612
+ constructor(messages, defaultLocale = "en-US"){
613
+ // Clone messages so we don't modify the original object.
614
+ this.strings = {
615
+ ...messages
616
+ };
617
+ this.defaultLocale = defaultLocale;
618
+ }
619
+ }
620
+ function $5b160d28a433310d$var$getStringsForLocale(locale, strings, defaultLocale = "en-US") {
621
+ // If there is an exact match, use it.
622
+ if (strings[locale]) return strings[locale];
623
+ // Attempt to find the closest match by language.
624
+ // For example, if the locale is fr-CA (French Canadian), but there is only
625
+ // an fr-FR (France) set of strings, use that.
626
+ // This could be replaced with Intl.LocaleMatcher once it is supported.
627
+ // https://github.com/tc39/proposal-intl-localematcher
628
+ let language = $5b160d28a433310d$var$getLanguage(locale);
629
+ if (strings[language]) return strings[language];
630
+ for(let key in strings){
631
+ if (key.startsWith(language + "-")) return strings[key];
632
+ }
633
+ // Nothing close, use english.
634
+ return strings[defaultLocale];
635
+ }
636
+ function $5b160d28a433310d$var$getLanguage(locale) {
637
+ // @ts-ignore
638
+ if (Intl.Locale) // @ts-ignore
639
+ return new Intl.Locale(locale).language;
640
+ return locale.split("-")[0];
641
+ }
642
+
643
+
644
+ /*
645
+ * Copyright 2022 Adobe. All rights reserved.
646
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
647
+ * you may not use this file except in compliance with the License. You may obtain a copy
648
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
649
+ *
650
+ * Unless required by applicable law or agreed to in writing, software distributed under
651
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
652
+ * OF ANY KIND, either express or implied. See the License for the specific language
653
+ * governing permissions and limitations under the License.
654
+ */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();
655
+ const $6db58dc88e78b024$var$numberFormatCache = new Map();
656
+ class $6db58dc88e78b024$export$2f817fcdc4b89ae0 {
657
+ /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {
658
+ let message = this.strings.getStringForLocale(key, this.locale);
659
+ return typeof message === "function" ? message(variables, this) : message;
660
+ }
661
+ plural(count, options, type = "cardinal") {
662
+ let opt = options["=" + count];
663
+ if (opt) return typeof opt === "function" ? opt() : opt;
664
+ let key = this.locale + ":" + type;
665
+ let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);
666
+ if (!pluralRules) {
667
+ pluralRules = new Intl.PluralRules(this.locale, {
668
+ type: type
669
+ });
670
+ $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);
671
+ }
672
+ let selected = pluralRules.select(count);
673
+ opt = options[selected] || options.other;
674
+ return typeof opt === "function" ? opt() : opt;
675
+ }
676
+ number(value) {
677
+ let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);
678
+ if (!numberFormat) {
679
+ numberFormat = new Intl.NumberFormat(this.locale);
680
+ $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);
681
+ }
682
+ return numberFormat.format(value);
683
+ }
684
+ select(options, value) {
685
+ let opt = options[value] || options.other;
686
+ return typeof opt === "function" ? opt() : opt;
687
+ }
688
+ constructor(locale, strings){
689
+ this.locale = locale;
690
+ this.strings = strings;
691
+ }
692
+ }
693
+
694
+ /*
695
+ * Copyright 2020 Adobe. All rights reserved.
696
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
697
+ * you may not use this file except in compliance with the License. You may obtain a copy
698
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
699
+ *
700
+ * Unless required by applicable law or agreed to in writing, software distributed under
701
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
702
+ * OF ANY KIND, either express or implied. See the License for the specific language
703
+ * governing permissions and limitations under the License.
704
+ */ let $fb18d541ea1ad717$var$formatterCache = new Map();
705
+ class $fb18d541ea1ad717$export$ad991b66133851cf {
706
+ /** Formats a date as a string according to the locale and format options passed to the constructor. */ format(value) {
707
+ return this.formatter.format(value);
708
+ }
709
+ /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */ formatToParts(value) {
710
+ return this.formatter.formatToParts(value);
711
+ }
712
+ /** Formats a date range as a string. */ formatRange(start, end) {
713
+ // @ts-ignore
714
+ if (typeof this.formatter.formatRange === "function") // @ts-ignore
715
+ return this.formatter.formatRange(start, end);
716
+ if (end < start) throw new RangeError("End date must be >= start date");
717
+ // Very basic fallback for old browsers.
718
+ return `${this.formatter.format(start)} – ${this.formatter.format(end)}`;
719
+ }
720
+ /** Formats a date range as an array of parts. */ formatRangeToParts(start, end) {
721
+ // @ts-ignore
722
+ if (typeof this.formatter.formatRangeToParts === "function") // @ts-ignore
723
+ return this.formatter.formatRangeToParts(start, end);
724
+ if (end < start) throw new RangeError("End date must be >= start date");
725
+ let startParts = this.formatter.formatToParts(start);
726
+ let endParts = this.formatter.formatToParts(end);
727
+ return [
728
+ ...startParts.map((p)=>({
729
+ ...p,
730
+ source: "startRange"
731
+ })),
732
+ {
733
+ type: "literal",
734
+ value: " – ",
735
+ source: "shared"
736
+ },
737
+ ...endParts.map((p)=>({
738
+ ...p,
739
+ source: "endRange"
740
+ }))
741
+ ];
742
+ }
743
+ /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {
744
+ let resolvedOptions = this.formatter.resolvedOptions();
745
+ if ($fb18d541ea1ad717$var$hasBuggyResolvedHourCycle()) {
746
+ if (!this.resolvedHourCycle) this.resolvedHourCycle = $fb18d541ea1ad717$var$getResolvedHourCycle(resolvedOptions.locale, this.options);
747
+ resolvedOptions.hourCycle = this.resolvedHourCycle;
748
+ resolvedOptions.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12";
749
+ }
750
+ // Safari uses a different name for the Ethiopic (Amete Alem) calendar.
751
+ // https://bugs.webkit.org/show_bug.cgi?id=241564
752
+ if (resolvedOptions.calendar === "ethiopic-amete-alem") resolvedOptions.calendar = "ethioaa";
753
+ return resolvedOptions;
754
+ }
755
+ constructor(locale, options = {}){
756
+ this.formatter = $fb18d541ea1ad717$var$getCachedDateFormatter(locale, options);
757
+ this.options = options;
758
+ }
759
+ }
760
+ // There are multiple bugs involving the hour12 and hourCycle options in various browser engines.
761
+ // - Chrome [1] (and the ECMA 402 spec [2]) resolve hour12: false in English and other locales to h24 (24:00 - 23:59)
762
+ // rather than h23 (00:00 - 23:59). Same can happen with hour12: true in French, which Chrome resolves to h11 (00:00 - 11:59)
763
+ // rather than h12 (12:00 - 11:59).
764
+ // - WebKit returns an incorrect hourCycle resolved option in the French locale due to incorrect parsing of 'h' literal
765
+ // in the resolved pattern. It also formats incorrectly when specifying the hourCycle option for the same reason. [3]
766
+ // [1] https://bugs.chromium.org/p/chromium/issues/detail?id=1045791
767
+ // [2] https://github.com/tc39/ecma402/issues/402
768
+ // [3] https://bugs.webkit.org/show_bug.cgi?id=229313
769
+ // https://github.com/unicode-org/cldr/blob/018b55eff7ceb389c7e3fc44e2f657eae3b10b38/common/supplemental/supplementalData.xml#L4774-L4802
770
+ const $fb18d541ea1ad717$var$hour12Preferences = {
771
+ true: {
772
+ // Only Japanese uses the h11 style for 12 hour time. All others use h12.
773
+ ja: "h11"
774
+ },
775
+ false: {
776
+ }
777
+ };
778
+ function $fb18d541ea1ad717$var$getCachedDateFormatter(locale, options = {}) {
779
+ // Work around buggy hour12 behavior in Chrome / ECMA 402 spec by using hourCycle instead.
780
+ // Only apply the workaround if the issue is detected, because the hourCycle option is buggy in Safari.
781
+ if (typeof options.hour12 === "boolean" && $fb18d541ea1ad717$var$hasBuggyHour12Behavior()) {
782
+ options = {
783
+ ...options
784
+ };
785
+ let pref = $fb18d541ea1ad717$var$hour12Preferences[String(options.hour12)][locale.split("-")[0]];
786
+ let defaultHourCycle = options.hour12 ? "h12" : "h23";
787
+ options.hourCycle = pref !== null && pref !== void 0 ? pref : defaultHourCycle;
788
+ delete options.hour12;
789
+ }
790
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : "");
791
+ if ($fb18d541ea1ad717$var$formatterCache.has(cacheKey)) return $fb18d541ea1ad717$var$formatterCache.get(cacheKey);
792
+ let numberFormatter = new Intl.DateTimeFormat(locale, options);
793
+ $fb18d541ea1ad717$var$formatterCache.set(cacheKey, numberFormatter);
794
+ return numberFormatter;
795
+ }
796
+ let $fb18d541ea1ad717$var$_hasBuggyHour12Behavior = null;
797
+ function $fb18d541ea1ad717$var$hasBuggyHour12Behavior() {
798
+ if ($fb18d541ea1ad717$var$_hasBuggyHour12Behavior == null) $fb18d541ea1ad717$var$_hasBuggyHour12Behavior = new Intl.DateTimeFormat("en-US", {
799
+ hour: "numeric",
800
+ hour12: false
801
+ }).format(new Date(2020, 2, 3, 0)) === "24";
802
+ return $fb18d541ea1ad717$var$_hasBuggyHour12Behavior;
803
+ }
804
+ let $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle = null;
805
+ function $fb18d541ea1ad717$var$hasBuggyResolvedHourCycle() {
806
+ if ($fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle == null) $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle = new Intl.DateTimeFormat("fr", {
807
+ hour: "numeric",
808
+ hour12: false
809
+ }).resolvedOptions().hourCycle === "h12";
810
+ return $fb18d541ea1ad717$var$_hasBuggyResolvedHourCycle;
811
+ }
812
+ function $fb18d541ea1ad717$var$getResolvedHourCycle(locale, options) {
813
+ if (!options.timeStyle && !options.hour) return undefined;
814
+ // Work around buggy results in resolved hourCycle and hour12 options in WebKit.
815
+ // Format the minimum possible hour and maximum possible hour in a day and parse the results.
816
+ locale = locale.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, "");
817
+ locale += (locale.includes("-u-") ? "" : "-u") + "-nu-latn";
818
+ let formatter = $fb18d541ea1ad717$var$getCachedDateFormatter(locale, {
819
+ ...options,
820
+ timeZone: undefined // use local timezone
821
+ });
822
+ let min = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 0)).find((p)=>p.type === "hour").value, 10);
823
+ let max = parseInt(formatter.formatToParts(new Date(2020, 2, 3, 23)).find((p)=>p.type === "hour").value, 10);
824
+ if (min === 0 && max === 23) return "h23";
825
+ if (min === 24 && max === 23) return "h24";
826
+ if (min === 0 && max === 11) return "h11";
827
+ if (min === 12 && max === 11) return "h12";
828
+ throw new Error("Unexpected hour cycle result");
829
+ }
830
+
831
+ /*
832
+ * Copyright 2020 Adobe. All rights reserved.
833
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
834
+ * you may not use this file except in compliance with the License. You may obtain a copy
835
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
836
+ *
837
+ * Unless required by applicable law or agreed to in writing, software distributed under
838
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
839
+ * OF ANY KIND, either express or implied. See the License for the specific language
840
+ * governing permissions and limitations under the License.
841
+ */ /*
842
+ * Copyright 2020 Adobe. All rights reserved.
843
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
844
+ * you may not use this file except in compliance with the License. You may obtain a copy
845
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
846
+ *
847
+ * Unless required by applicable law or agreed to in writing, software distributed under
848
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
849
+ * OF ANY KIND, either express or implied. See the License for the specific language
850
+ * governing permissions and limitations under the License.
851
+ */ let $488c6ddbf4ef74c2$var$formatterCache = new Map();
852
+ let $488c6ddbf4ef74c2$var$supportsSignDisplay = false;
853
+ try {
854
+ // @ts-ignore
855
+ $488c6ddbf4ef74c2$var$supportsSignDisplay = new Intl.NumberFormat("de-DE", {
856
+ signDisplay: "exceptZero"
857
+ }).resolvedOptions().signDisplay === "exceptZero";
858
+ // eslint-disable-next-line no-empty
859
+ } catch (e) {}
860
+ let $488c6ddbf4ef74c2$var$supportsUnit = false;
861
+ try {
862
+ // @ts-ignore
863
+ $488c6ddbf4ef74c2$var$supportsUnit = new Intl.NumberFormat("de-DE", {
864
+ style: "unit",
865
+ unit: "degree"
866
+ }).resolvedOptions().style === "unit";
867
+ // eslint-disable-next-line no-empty
868
+ } catch (e1) {}
869
+ // Polyfill for units since Safari doesn't support them yet. See https://bugs.webkit.org/show_bug.cgi?id=215438.
870
+ // Currently only polyfilling the unit degree in narrow format for ColorSlider in our supported locales.
871
+ // Values were determined by switching to each locale manually in Chrome.
872
+ const $488c6ddbf4ef74c2$var$UNITS = {
873
+ degree: {
874
+ narrow: {
875
+ default: "\xb0",
876
+ "ja-JP": " 度",
877
+ "zh-TW": "度",
878
+ "sl-SI": " \xb0"
879
+ }
880
+ }
881
+ };
882
+ class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 {
883
+ /** Formats a number value as a string, according to the locale and options provided to the constructor. */ format(value) {
884
+ let res = "";
885
+ if (!$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null) res = $488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter, this.options.signDisplay, value);
886
+ else res = this.numberFormatter.format(value);
887
+ if (this.options.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
888
+ var _UNITS_unit;
889
+ let { unit: unit , unitDisplay: unitDisplay = "short" , locale: locale } = this.resolvedOptions();
890
+ let values = (_UNITS_unit = $488c6ddbf4ef74c2$var$UNITS[unit]) === null || _UNITS_unit === void 0 ? void 0 : _UNITS_unit[unitDisplay];
891
+ res += values[locale] || values.default;
892
+ }
893
+ return res;
894
+ }
895
+ /** Formats a number to an array of parts such as separators, digits, punctuation, and more. */ formatToParts(value) {
896
+ // TODO: implement signDisplay for formatToParts
897
+ // @ts-ignore
898
+ return this.numberFormatter.formatToParts(value);
899
+ }
900
+ /** Formats a number range as a string. */ formatRange(start, end) {
901
+ // @ts-ignore
902
+ if (typeof this.numberFormatter.formatRange === "function") // @ts-ignore
903
+ return this.numberFormatter.formatRange(start, end);
904
+ if (end < start) throw new RangeError("End date must be >= start date");
905
+ // Very basic fallback for old browsers.
906
+ return `${this.format(start)} – ${this.format(end)}`;
907
+ }
908
+ /** Formats a number range as an array of parts. */ formatRangeToParts(start, end) {
909
+ // @ts-ignore
910
+ if (typeof this.numberFormatter.formatRangeToParts === "function") // @ts-ignore
911
+ return this.numberFormatter.formatRangeToParts(start, end);
912
+ if (end < start) throw new RangeError("End date must be >= start date");
913
+ let startParts = this.numberFormatter.formatToParts(start);
914
+ let endParts = this.numberFormatter.formatToParts(end);
915
+ return [
916
+ ...startParts.map((p)=>({
917
+ ...p,
918
+ source: "startRange"
919
+ })),
920
+ {
921
+ type: "literal",
922
+ value: " – ",
923
+ source: "shared"
924
+ },
925
+ ...endParts.map((p)=>({
926
+ ...p,
927
+ source: "endRange"
928
+ }))
929
+ ];
930
+ }
931
+ /** Returns the resolved formatting options based on the values passed to the constructor. */ resolvedOptions() {
932
+ let options = this.numberFormatter.resolvedOptions();
933
+ if (!$488c6ddbf4ef74c2$var$supportsSignDisplay && this.options.signDisplay != null) options = {
934
+ ...options,
935
+ signDisplay: this.options.signDisplay
936
+ };
937
+ if (!$488c6ddbf4ef74c2$var$supportsUnit && this.options.style === "unit") options = {
938
+ ...options,
939
+ style: "unit",
940
+ unit: this.options.unit,
941
+ unitDisplay: this.options.unitDisplay
942
+ };
943
+ return options;
944
+ }
945
+ constructor(locale, options = {}){
946
+ this.numberFormatter = $488c6ddbf4ef74c2$var$getCachedNumberFormatter(locale, options);
947
+ this.options = options;
948
+ }
949
+ }
950
+ function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(locale, options = {}) {
951
+ let { numberingSystem: numberingSystem } = options;
952
+ if (numberingSystem && locale.indexOf("-u-nu-") === -1) locale = `${locale}-u-nu-${numberingSystem}`;
953
+ if (options.style === "unit" && !$488c6ddbf4ef74c2$var$supportsUnit) {
954
+ var _UNITS_unit;
955
+ let { unit: unit , unitDisplay: unitDisplay = "short" } = options;
956
+ if (!unit) throw new Error('unit option must be provided with style: "unit"');
957
+ if (!((_UNITS_unit = $488c6ddbf4ef74c2$var$UNITS[unit]) === null || _UNITS_unit === void 0 ? void 0 : _UNITS_unit[unitDisplay])) throw new Error(`Unsupported unit ${unit} with unitDisplay = ${unitDisplay}`);
958
+ options = {
959
+ ...options,
960
+ style: "decimal"
961
+ };
962
+ }
963
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : "");
964
+ if ($488c6ddbf4ef74c2$var$formatterCache.has(cacheKey)) return $488c6ddbf4ef74c2$var$formatterCache.get(cacheKey);
965
+ let numberFormatter = new Intl.NumberFormat(locale, options);
966
+ $488c6ddbf4ef74c2$var$formatterCache.set(cacheKey, numberFormatter);
967
+ return numberFormatter;
968
+ }
969
+ function $488c6ddbf4ef74c2$export$711b50b3c525e0f2(numberFormat, signDisplay, num) {
970
+ if (signDisplay === "auto") return numberFormat.format(num);
971
+ else if (signDisplay === "never") return numberFormat.format(Math.abs(num));
972
+ else {
973
+ let needsPositiveSign = false;
974
+ if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
975
+ else if (signDisplay === "exceptZero") {
976
+ if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
977
+ else needsPositiveSign = num > 0;
978
+ }
979
+ if (needsPositiveSign) {
980
+ let negative = numberFormat.format(-num);
981
+ let noSign = numberFormat.format(num);
982
+ // ignore RTL/LTR marker character
983
+ let minus = negative.replace(noSign, "").replace(/\u200e|\u061C/, "");
984
+ if ([
985
+ ...minus
986
+ ].length !== 1) console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case");
987
+ let positive = negative.replace(noSign, "!!!").replace(minus, "+").replace("!!!", noSign);
988
+ return positive;
989
+ } else return numberFormat.format(num);
990
+ }
991
+ }
992
+
993
+ /*
994
+ * Copyright 2020 Adobe. All rights reserved.
995
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
996
+ * you may not use this file except in compliance with the License. You may obtain a copy
997
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
998
+ *
999
+ * Unless required by applicable law or agreed to in writing, software distributed under
1000
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1001
+ * OF ANY KIND, either express or implied. See the License for the specific language
1002
+ * governing permissions and limitations under the License.
1003
+ */ /*
1004
+ * Copyright 2020 Adobe. All rights reserved.
1005
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1006
+ * you may not use this file except in compliance with the License. You may obtain a copy
1007
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1008
+ *
1009
+ * Unless required by applicable law or agreed to in writing, software distributed under
1010
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1011
+ * OF ANY KIND, either express or implied. See the License for the specific language
1012
+ * governing permissions and limitations under the License.
1013
+ */ /*
1014
+ * Copyright 2020 Adobe. All rights reserved.
1015
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1016
+ * you may not use this file except in compliance with the License. You may obtain a copy
1017
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1018
+ *
1019
+ * Unless required by applicable law or agreed to in writing, software distributed under
1020
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1021
+ * OF ANY KIND, either express or implied. See the License for the specific language
1022
+ * governing permissions and limitations under the License.
1023
+ */ // https://en.wikipedia.org/wiki/Right-to-left
1024
+ const $148a7a147e38ea7f$var$RTL_SCRIPTS = new Set([
1025
+ "Arab",
1026
+ "Syrc",
1027
+ "Samr",
1028
+ "Mand",
1029
+ "Thaa",
1030
+ "Mend",
1031
+ "Nkoo",
1032
+ "Adlm",
1033
+ "Rohg",
1034
+ "Hebr"
1035
+ ]);
1036
+ const $148a7a147e38ea7f$var$RTL_LANGS = new Set([
1037
+ "ae",
1038
+ "ar",
1039
+ "arc",
1040
+ "bcc",
1041
+ "bqi",
1042
+ "ckb",
1043
+ "dv",
1044
+ "fa",
1045
+ "glk",
1046
+ "he",
1047
+ "ku",
1048
+ "mzn",
1049
+ "nqo",
1050
+ "pnb",
1051
+ "ps",
1052
+ "sd",
1053
+ "ug",
1054
+ "ur",
1055
+ "yi"
1056
+ ]);
1057
+ function $148a7a147e38ea7f$export$702d680b21cbd764(locale) {
1058
+ // If the Intl.Locale API is available, use it to get the script for the locale.
1059
+ // This is more accurate than guessing by language, since languages can be written in multiple scripts.
1060
+ // @ts-ignore
1061
+ if (Intl.Locale) {
1062
+ // @ts-ignore
1063
+ let script = new Intl.Locale(locale).maximize().script;
1064
+ return $148a7a147e38ea7f$var$RTL_SCRIPTS.has(script);
1065
+ }
1066
+ // If not, just guess by the language (first part of the locale)
1067
+ let lang = locale.split("-")[0];
1068
+ return $148a7a147e38ea7f$var$RTL_LANGS.has(lang);
1069
+ }
1070
+
1071
+
1072
+ /*
1073
+ * Copyright 2020 Adobe. All rights reserved.
1074
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1075
+ * you may not use this file except in compliance with the License. You may obtain a copy
1076
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1077
+ *
1078
+ * Unless required by applicable law or agreed to in writing, software distributed under
1079
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1080
+ * OF ANY KIND, either express or implied. See the License for the specific language
1081
+ * governing permissions and limitations under the License.
1082
+ */
1083
+
1084
+
1085
+ function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5() {
1086
+ // @ts-ignore
1087
+ let locale = typeof navigator !== "undefined" && (navigator.language || navigator.userLanguage) || "en-US";
1088
+ try {
1089
+ // @ts-ignore
1090
+ Intl.DateTimeFormat.supportedLocalesOf([
1091
+ locale
1092
+ ]);
1093
+ } catch (_err) {
1094
+ locale = "en-US";
1095
+ }
1096
+ return {
1097
+ locale: locale,
1098
+ direction: ($148a7a147e38ea7f$export$702d680b21cbd764)(locale) ? "rtl" : "ltr"
1099
+ };
1100
+ }
1101
+ let $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
1102
+ let $1e5a04cdaf7d1af8$var$listeners = new Set();
1103
+ function $1e5a04cdaf7d1af8$var$updateLocale() {
1104
+ $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
1105
+ for (let listener of $1e5a04cdaf7d1af8$var$listeners)listener($1e5a04cdaf7d1af8$var$currentLocale);
1106
+ }
1107
+ function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
1108
+ let isSSR = ($704cf1d3b684cc5c$export$535bd6ca7f90a273)();
1109
+ let [defaultLocale, setDefaultLocale] = (useState)($1e5a04cdaf7d1af8$var$currentLocale);
1110
+ (useEffect)(()=>{
1111
+ if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
1112
+ $1e5a04cdaf7d1af8$var$listeners.add(setDefaultLocale);
1113
+ return ()=>{
1114
+ $1e5a04cdaf7d1af8$var$listeners.delete(setDefaultLocale);
1115
+ if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
1116
+ };
1117
+ }, []);
1118
+ // We cannot determine the browser's language on the server, so default to
1119
+ // en-US. This will be updated after hydration on the client to the correct value.
1120
+ if (isSSR) return {
1121
+ locale: "en-US",
1122
+ direction: "ltr"
1123
+ };
1124
+ return defaultLocale;
1125
+ }
1126
+
1127
+
1128
+
1129
+ const $18f2051aff69b9bf$var$I18nContext = /*#__PURE__*/ (React__default).createContext(null);
1130
+ function $18f2051aff69b9bf$export$43bb16f9c6d9e3f7() {
1131
+ let defaultLocale = ($1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a)();
1132
+ let context = (useContext)($18f2051aff69b9bf$var$I18nContext);
1133
+ return context || defaultLocale;
1134
+ }
1135
+
1136
+
1137
+ /*
1138
+ * Copyright 2022 Adobe. All rights reserved.
1139
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1140
+ * you may not use this file except in compliance with the License. You may obtain a copy
1141
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1142
+ *
1143
+ * Unless required by applicable law or agreed to in writing, software distributed under
1144
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1145
+ * OF ANY KIND, either express or implied. See the License for the specific language
1146
+ * governing permissions and limitations under the License.
1147
+ */
1148
+
1149
+
1150
+ const $fca6afa0e843324b$var$cache = new WeakMap();
1151
+ function $fca6afa0e843324b$var$getCachedDictionary(strings) {
1152
+ let dictionary = $fca6afa0e843324b$var$cache.get(strings);
1153
+ if (!dictionary) {
1154
+ dictionary = new ($5b160d28a433310d$export$c17fa47878dc55b6)(strings);
1155
+ $fca6afa0e843324b$var$cache.set(strings, dictionary);
1156
+ }
1157
+ return dictionary;
1158
+ }
1159
+ function $fca6afa0e843324b$export$f12b703ca79dfbb1(strings) {
1160
+ let { locale: locale } = ($18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
1161
+ let dictionary = (useMemo)(()=>$fca6afa0e843324b$var$getCachedDictionary(strings), [
1162
+ strings
1163
+ ]);
1164
+ return (useMemo)(()=>new ($6db58dc88e78b024$export$2f817fcdc4b89ae0)(locale, dictionary), [
1165
+ locale,
1166
+ dictionary
1167
+ ]);
1168
+ }
1169
+
1170
+
1171
+ /*
1172
+ * Copyright 2020 Adobe. All rights reserved.
1173
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1174
+ * you may not use this file except in compliance with the License. You may obtain a copy
1175
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1176
+ *
1177
+ * Unless required by applicable law or agreed to in writing, software distributed under
1178
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1179
+ * OF ANY KIND, either express or implied. See the License for the specific language
1180
+ * governing permissions and limitations under the License.
1181
+ */
1182
+
1183
+ function $33bf17300c498528$export$a2f47a3d2973640(options = {}) {
1184
+ let { locale: locale } = ($18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
1185
+ // @ts-ignore
1186
+ return (useMemo)(()=>new Intl.ListFormat(locale, options), [
1187
+ locale,
1188
+ options
1189
+ ]);
1190
+ }
1191
+
1192
+
1193
+ /*
1194
+ * Copyright 2020 Adobe. All rights reserved.
1195
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1196
+ * you may not use this file except in compliance with the License. You may obtain a copy
1197
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1198
+ *
1199
+ * Unless required by applicable law or agreed to in writing, software distributed under
1200
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1201
+ * OF ANY KIND, either express or implied. See the License for the specific language
1202
+ * governing permissions and limitations under the License.
1203
+ */
1204
+
1205
+
1206
+ function $896ba0a80a8f4d36$export$85fd5fdf27bacc79(options) {
1207
+ // Reuse last options object if it is shallowly equal, which allows the useMemo result to also be reused.
1208
+ let lastOptions = (useRef)(null);
1209
+ if (options && lastOptions.current && $896ba0a80a8f4d36$var$isEqual(options, lastOptions.current)) options = lastOptions.current;
1210
+ lastOptions.current = options;
1211
+ let { locale: locale } = ($18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
1212
+ return (useMemo)(()=>new ($fb18d541ea1ad717$export$ad991b66133851cf)(locale, options), [
1213
+ locale,
1214
+ options
1215
+ ]);
1216
+ }
1217
+ function $896ba0a80a8f4d36$var$isEqual(a, b) {
1218
+ if (a === b) return true;
1219
+ let aKeys = Object.keys(a);
1220
+ let bKeys = Object.keys(b);
1221
+ if (aKeys.length !== bKeys.length) return false;
1222
+ for (let key of aKeys){
1223
+ if (b[key] !== a[key]) return false;
1224
+ }
1225
+ return true;
1226
+ }
1227
+
1228
+
1229
+ /*
1230
+ * Copyright 2020 Adobe. All rights reserved.
1231
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1232
+ * you may not use this file except in compliance with the License. You may obtain a copy
1233
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1234
+ *
1235
+ * Unless required by applicable law or agreed to in writing, software distributed under
1236
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1237
+ * OF ANY KIND, either express or implied. See the License for the specific language
1238
+ * governing permissions and limitations under the License.
1239
+ */
1240
+
1241
+
1242
+ function $a916eb452884faea$export$b7a616150fdb9f44(options = {}) {
1243
+ let { locale: locale } = ($18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
1244
+ return (useMemo)(()=>new ($488c6ddbf4ef74c2$export$cc77c4ff7e8673c5)(locale, options), [
1245
+ locale,
1246
+ options
1247
+ ]);
1248
+ }
1249
+
1250
+
1251
+ /*
1252
+ * Copyright 2020 Adobe. All rights reserved.
1253
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1254
+ * you may not use this file except in compliance with the License. You may obtain a copy
1255
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1256
+ *
1257
+ * Unless required by applicable law or agreed to in writing, software distributed under
1258
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1259
+ * OF ANY KIND, either express or implied. See the License for the specific language
1260
+ * governing permissions and limitations under the License.
1261
+ */
1262
+ let $325a3faab7a68acd$var$cache = new Map();
1263
+ function $325a3faab7a68acd$export$a16aca283550c30d(options) {
1264
+ let { locale: locale } = ($18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
1265
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b)=>a[0] < b[0] ? -1 : 1).join() : "");
1266
+ if ($325a3faab7a68acd$var$cache.has(cacheKey)) return $325a3faab7a68acd$var$cache.get(cacheKey);
1267
+ let formatter = new Intl.Collator(locale, options);
1268
+ $325a3faab7a68acd$var$cache.set(cacheKey, formatter);
1269
+ return formatter;
1270
+ }
1271
+
1272
+
1273
+ /*
1274
+ * Copyright 2020 Adobe. All rights reserved.
1275
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1276
+ * you may not use this file except in compliance with the License. You may obtain a copy
1277
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1278
+ *
1279
+ * Unless required by applicable law or agreed to in writing, software distributed under
1280
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1281
+ * OF ANY KIND, either express or implied. See the License for the specific language
1282
+ * governing permissions and limitations under the License.
1283
+ */
1284
+
1285
+ function $bb77f239b46e8c72$export$3274cf84b703fff(options) {
1286
+ let collator = ($325a3faab7a68acd$export$a16aca283550c30d)({
1287
+ usage: "search",
1288
+ ...options
1289
+ });
1290
+ // TODO(later): these methods don't currently support the ignorePunctuation option.
1291
+ let startsWith = (useCallback)((string, substring)=>{
1292
+ if (substring.length === 0) return true;
1293
+ // Normalize both strings so we can slice safely
1294
+ // TODO: take into account the ignorePunctuation option as well...
1295
+ string = string.normalize("NFC");
1296
+ substring = substring.normalize("NFC");
1297
+ return collator.compare(string.slice(0, substring.length), substring) === 0;
1298
+ }, [
1299
+ collator
1300
+ ]);
1301
+ let endsWith = (useCallback)((string, substring)=>{
1302
+ if (substring.length === 0) return true;
1303
+ string = string.normalize("NFC");
1304
+ substring = substring.normalize("NFC");
1305
+ return collator.compare(string.slice(-substring.length), substring) === 0;
1306
+ }, [
1307
+ collator
1308
+ ]);
1309
+ let contains = (useCallback)((string, substring)=>{
1310
+ if (substring.length === 0) return true;
1311
+ string = string.normalize("NFC");
1312
+ substring = substring.normalize("NFC");
1313
+ let scan = 0;
1314
+ let sliceLen = substring.length;
1315
+ for(; scan + sliceLen <= string.length; scan++){
1316
+ let slice = string.slice(scan, scan + sliceLen);
1317
+ if (collator.compare(substring, slice) === 0) return true;
1318
+ }
1319
+ return false;
1320
+ }, [
1321
+ collator
1322
+ ]);
1323
+ return (useMemo)(()=>({
1324
+ startsWith: startsWith,
1325
+ endsWith: endsWith,
1326
+ contains: contains
1327
+ }), [
1328
+ startsWith,
1329
+ endsWith,
1330
+ contains
1331
+ ]);
1332
+ }
1333
+
522
1334
  /**
523
1335
  * Component variant.
524
1336
  */
@@ -974,10 +1786,10 @@ const StyledIcon = styled.span`
974
1786
  }}
975
1787
  `;
976
1788
 
977
- const _excluded$I = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
978
- const COMPONENT_NAME$K = 'Icon';
979
- const CLASSNAME$K = 'redsift-icon';
980
- const DEFAULT_PROPS$K = {
1789
+ const _excluded$J = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
1790
+ const COMPONENT_NAME$L = 'Icon';
1791
+ const CLASSNAME$L = 'redsift-icon';
1792
+ const DEFAULT_PROPS$L = {
981
1793
  size: IconSize.medium
982
1794
  };
983
1795
 
@@ -995,7 +1807,7 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
995
1807
  size,
996
1808
  svgProps
997
1809
  } = props,
998
- forwardedProps = _objectWithoutProperties(props, _excluded$I);
1810
+ forwardedProps = _objectWithoutProperties(props, _excluded$J);
999
1811
  return /*#__PURE__*/React__default.createElement(StyledIcon, _extends$1({}, forwardedProps, {
1000
1812
  $color: color,
1001
1813
  $size: size,
@@ -1017,9 +1829,9 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
1017
1829
  fill: "currentColor"
1018
1830
  })), badge ? badge : null);
1019
1831
  });
1020
- Icon.className = CLASSNAME$K;
1021
- Icon.defaultProps = DEFAULT_PROPS$K;
1022
- Icon.displayName = COMPONENT_NAME$K;
1832
+ Icon.className = CLASSNAME$L;
1833
+ Icon.defaultProps = DEFAULT_PROPS$L;
1834
+ Icon.displayName = COMPONENT_NAME$L;
1023
1835
 
1024
1836
  /**
1025
1837
  * Component variant.
@@ -1217,10 +2029,10 @@ const StyledAppContainer = styled.div`
1217
2029
  }}
1218
2030
  `;
1219
2031
 
1220
- const _excluded$H = ["children", "className", "locale", "productTheme"];
1221
- const COMPONENT_NAME$J = 'AppContainer';
1222
- const CLASSNAME$J = 'redsift-app-container';
1223
- const DEFAULT_PROPS$J = {};
2032
+ const _excluded$I = ["children", "className", "locale", "productTheme"];
2033
+ const COMPONENT_NAME$K = 'AppContainer';
2034
+ const CLASSNAME$K = 'redsift-app-container';
2035
+ const DEFAULT_PROPS$K = {};
1224
2036
 
1225
2037
  /**
1226
2038
  * The AppContainer component.
@@ -1232,7 +2044,7 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
1232
2044
  locale,
1233
2045
  productTheme
1234
2046
  } = props,
1235
- forwardedProps = _objectWithoutProperties(props, _excluded$H);
2047
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
1236
2048
  const {
1237
2049
  hasAppBar,
1238
2050
  hasAppSidePanel,
@@ -1277,9 +2089,9 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
1277
2089
  locale: locale
1278
2090
  }, children)));
1279
2091
  });
1280
- AppContainer.className = CLASSNAME$J;
1281
- AppContainer.defaultProps = DEFAULT_PROPS$J;
1282
- AppContainer.displayName = COMPONENT_NAME$J;
2092
+ AppContainer.className = CLASSNAME$K;
2093
+ AppContainer.defaultProps = DEFAULT_PROPS$K;
2094
+ AppContainer.displayName = COMPONENT_NAME$K;
1283
2095
 
1284
2096
  var spinnerDefault = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzAwNzllMSIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiMwMDc5ZTEiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
1285
2097
 
@@ -1299,7 +2111,7 @@ var spinnerTools = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My
1299
2111
 
1300
2112
  var spinnerWebsite = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzAwNzllMSIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiMwMDc5ZTEiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
1301
2113
 
1302
- const _excluded$G = ["aria-hidden", "aria-label", "className", "color", "size"];
2114
+ const _excluded$H = ["aria-hidden", "aria-label", "className", "color", "size"];
1303
2115
  const colorToFile = {
1304
2116
  default: spinnerDefault,
1305
2117
  hardenize: spinnerHardenize,
@@ -1311,9 +2123,9 @@ const colorToFile = {
1311
2123
  tools: spinnerTools,
1312
2124
  website: spinnerWebsite
1313
2125
  };
1314
- const COMPONENT_NAME$I = 'Spinner';
1315
- const CLASSNAME$I = 'redsift-shield';
1316
- const DEFAULT_PROPS$I = {
2126
+ const COMPONENT_NAME$J = 'Spinner';
2127
+ const CLASSNAME$J = 'redsift-shield';
2128
+ const DEFAULT_PROPS$J = {
1317
2129
  color: ColorPalette.default,
1318
2130
  size: SpinnerSize.medium
1319
2131
  };
@@ -1354,7 +2166,7 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
1354
2166
  color: propsColor,
1355
2167
  size
1356
2168
  } = props,
1357
- forwardedProps = _objectWithoutProperties(props, _excluded$G);
2169
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
1358
2170
  const {
1359
2171
  width,
1360
2172
  height
@@ -1376,14 +2188,14 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
1376
2188
  $size: size
1377
2189
  }));
1378
2190
  });
1379
- Spinner.className = CLASSNAME$I;
1380
- Spinner.defaultProps = DEFAULT_PROPS$I;
1381
- Spinner.displayName = COMPONENT_NAME$I;
2191
+ Spinner.className = CLASSNAME$J;
2192
+ Spinner.defaultProps = DEFAULT_PROPS$J;
2193
+ Spinner.displayName = COMPONENT_NAME$J;
1382
2194
 
1383
- const _excluded$F = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isLoading", "leftIcon", "onPress", "rightIcon", "variant"];
1384
- const COMPONENT_NAME$H = 'Button';
1385
- const CLASSNAME$H = 'redsift-button';
1386
- const DEFAULT_PROPS$H = {
2195
+ const _excluded$G = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isLoading", "leftIcon", "onPress", "rightIcon", "variant"];
2196
+ const COMPONENT_NAME$I = 'Button';
2197
+ const CLASSNAME$I = 'redsift-button';
2198
+ const DEFAULT_PROPS$I = {
1387
2199
  color: ColorPalette.default,
1388
2200
  height: 'fit-content',
1389
2201
  variant: ButtonVariant.primary
@@ -1420,7 +2232,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
1420
2232
  rightIcon,
1421
2233
  variant
1422
2234
  } = props,
1423
- forwardedProps = _objectWithoutProperties(props, _excluded$F);
2235
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
1424
2236
  return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, buttonProps, {
1425
2237
  $color: color,
1426
2238
  $fullWidth: fullWidth,
@@ -1444,9 +2256,9 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
1444
2256
  className: "right"
1445
2257
  }) : null);
1446
2258
  });
1447
- Button.className = CLASSNAME$H;
1448
- Button.defaultProps = DEFAULT_PROPS$H;
1449
- Button.displayName = COMPONENT_NAME$H;
2259
+ Button.className = CLASSNAME$I;
2260
+ Button.defaultProps = DEFAULT_PROPS$I;
2261
+ Button.displayName = COMPONENT_NAME$I;
1450
2262
 
1451
2263
  /**
1452
2264
  * Component style.
@@ -1462,10 +2274,10 @@ const StyledIconButton = styled(StyledButton)`
1462
2274
  }};
1463
2275
  `;
1464
2276
 
1465
- const _excluded$E = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "onPress", "variant"];
1466
- const COMPONENT_NAME$G = 'IconButton';
1467
- const CLASSNAME$G = 'redsift-icon-button';
1468
- const DEFAULT_PROPS$G = {
2277
+ const _excluded$F = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "onPress", "variant"];
2278
+ const COMPONENT_NAME$H = 'IconButton';
2279
+ const CLASSNAME$H = 'redsift-icon-button';
2280
+ const DEFAULT_PROPS$H = {
1469
2281
  color: ColorPalette.default,
1470
2282
  height: 'fit-content',
1471
2283
  variant: IconButtonVariant.unstyled
@@ -1497,7 +2309,7 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
1497
2309
  onPress,
1498
2310
  variant
1499
2311
  } = props,
1500
- forwardedProps = _objectWithoutProperties(props, _excluded$E);
2312
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
1501
2313
  warnIfNoAccessibleLabelFound(props);
1502
2314
  return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, buttonProps, {
1503
2315
  $color: isDisabled || disabled ? undefined : color,
@@ -1513,9 +2325,9 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
1513
2325
  color: isDisabled || disabled ? undefined : color
1514
2326
  }));
1515
2327
  });
1516
- IconButton.className = CLASSNAME$G;
1517
- IconButton.defaultProps = DEFAULT_PROPS$G;
1518
- IconButton.displayName = COMPONENT_NAME$G;
2328
+ IconButton.className = CLASSNAME$H;
2329
+ IconButton.defaultProps = DEFAULT_PROPS$H;
2330
+ IconButton.displayName = COMPONENT_NAME$H;
1519
2331
 
1520
2332
  /**
1521
2333
  * Component style.
@@ -1655,10 +2467,10 @@ const StyledHeading = styled.span`
1655
2467
  }}
1656
2468
  `;
1657
2469
 
1658
- const _excluded$D = ["as", "children", "className", "noWrap", "variant"];
1659
- const COMPONENT_NAME$F = 'Heading';
1660
- const CLASSNAME$F = 'redsift-heading';
1661
- const DEFAULT_PROPS$F = {};
2470
+ const _excluded$E = ["as", "children", "className", "noWrap", "variant"];
2471
+ const COMPONENT_NAME$G = 'Heading';
2472
+ const CLASSNAME$G = 'redsift-heading';
2473
+ const DEFAULT_PROPS$G = {};
1662
2474
 
1663
2475
  /**
1664
2476
  * The Heading component.
@@ -1671,7 +2483,7 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
1671
2483
  noWrap,
1672
2484
  variant
1673
2485
  } = props,
1674
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
2486
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
1675
2487
  return /*#__PURE__*/React__default.createElement(StyledHeading, _extends$1({
1676
2488
  as: as
1677
2489
  }, forwardedProps, {
@@ -1681,9 +2493,9 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
1681
2493
  $variant: variant ? variant : as === 'span' ? 'body' : as
1682
2494
  }), children);
1683
2495
  });
1684
- Heading.className = CLASSNAME$F;
1685
- Heading.defaultProps = DEFAULT_PROPS$F;
1686
- Heading.displayName = COMPONENT_NAME$F;
2496
+ Heading.className = CLASSNAME$G;
2497
+ Heading.defaultProps = DEFAULT_PROPS$G;
2498
+ Heading.displayName = COMPONENT_NAME$G;
1687
2499
 
1688
2500
  /**
1689
2501
  * Component style.
@@ -1701,10 +2513,10 @@ const StyledFlexbox = styled.div`
1701
2513
  ${baseFlexbox}
1702
2514
  `;
1703
2515
 
1704
- const _excluded$C = ["children", "className"];
1705
- const COMPONENT_NAME$E = 'Flexbox';
1706
- const CLASSNAME$E = 'redsift-flex-box';
1707
- const DEFAULT_PROPS$E = {
2516
+ const _excluded$D = ["children", "className"];
2517
+ const COMPONENT_NAME$F = 'Flexbox';
2518
+ const CLASSNAME$F = 'redsift-flex-box';
2519
+ const DEFAULT_PROPS$F = {
1708
2520
  gap: '16px'
1709
2521
  };
1710
2522
 
@@ -1716,20 +2528,20 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
1716
2528
  children,
1717
2529
  className
1718
2530
  } = props,
1719
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
2531
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
1720
2532
  return /*#__PURE__*/React__default.createElement(StyledFlexbox, _extends$1({}, forwardedProps, {
1721
2533
  className: classNames(Flexbox.className, className),
1722
2534
  ref: ref
1723
2535
  }), children);
1724
2536
  });
1725
- Flexbox.className = CLASSNAME$E;
1726
- Flexbox.defaultProps = DEFAULT_PROPS$E;
1727
- Flexbox.displayName = COMPONENT_NAME$E;
1728
-
1729
- const _excluded$B = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
1730
- const COMPONENT_NAME$D = 'Alert';
1731
- const CLASSNAME$D = 'redsift-alert';
1732
- const DEFAULT_PROPS$D = {
2537
+ Flexbox.className = CLASSNAME$F;
2538
+ Flexbox.defaultProps = DEFAULT_PROPS$F;
2539
+ Flexbox.displayName = COMPONENT_NAME$F;
2540
+
2541
+ const _excluded$C = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
2542
+ const COMPONENT_NAME$E = 'Alert';
2543
+ const CLASSNAME$E = 'redsift-alert';
2544
+ const DEFAULT_PROPS$E = {
1733
2545
  variant: 'info'
1734
2546
  };
1735
2547
  const getVariant$1 = variant => {
@@ -1771,7 +2583,7 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
1771
2583
  title,
1772
2584
  variant
1773
2585
  } = props,
1774
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
2586
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
1775
2587
  const stringFormatter = useLocalizedStringFormatter(intlMessages$5);
1776
2588
  const {
1777
2589
  color,
@@ -1817,9 +2629,9 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
1817
2629
  className: `${Alert.className}__content`
1818
2630
  }, children) : null);
1819
2631
  });
1820
- Alert.className = CLASSNAME$D;
1821
- Alert.defaultProps = DEFAULT_PROPS$D;
1822
- Alert.displayName = COMPONENT_NAME$D;
2632
+ Alert.className = CLASSNAME$E;
2633
+ Alert.defaultProps = DEFAULT_PROPS$E;
2634
+ Alert.displayName = COMPONENT_NAME$E;
1823
2635
 
1824
2636
  var expand$5 = "Expand left side panel";
1825
2637
  var collapse$5 = "Collapse left side panel";
@@ -1916,10 +2728,10 @@ const StyledAppBar = styled.header`
1916
2728
  }
1917
2729
  `;
1918
2730
 
1919
- const _excluded$A = ["children", "className", "collapseIconButtonProps", "collapseIconButtonRef", "expandIconButtonProps", "expandIconButtonRef", "fallbackTitle", "title"];
1920
- const COMPONENT_NAME$C = 'AppBar';
1921
- const CLASSNAME$C = 'redsift-app-bar';
1922
- const DEFAULT_PROPS$C = {};
2731
+ const _excluded$B = ["children", "className", "collapseIconButtonProps", "collapseIconButtonRef", "expandIconButtonProps", "expandIconButtonRef", "fallbackTitle", "title"];
2732
+ const COMPONENT_NAME$D = 'AppBar';
2733
+ const CLASSNAME$D = 'redsift-app-bar';
2734
+ const DEFAULT_PROPS$D = {};
1923
2735
 
1924
2736
  /**
1925
2737
  * The AppBar component.
@@ -1935,7 +2747,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
1935
2747
  fallbackTitle,
1936
2748
  title: propsTitle
1937
2749
  } = props,
1938
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
2750
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
1939
2751
  const {
1940
2752
  isLoaded
1941
2753
  } = useIsLoaded();
@@ -1974,9 +2786,9 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
1974
2786
  className: `${AppBar.className}__right`
1975
2787
  }, children));
1976
2788
  });
1977
- AppBar.className = CLASSNAME$C;
1978
- AppBar.defaultProps = DEFAULT_PROPS$C;
1979
- AppBar.displayName = COMPONENT_NAME$C;
2789
+ AppBar.className = CLASSNAME$D;
2790
+ AppBar.defaultProps = DEFAULT_PROPS$D;
2791
+ AppBar.displayName = COMPONENT_NAME$D;
1980
2792
 
1981
2793
  /**
1982
2794
  * Component style.
@@ -2042,10 +2854,10 @@ const StyledAppContent = styled.main`
2042
2854
  }}
2043
2855
  `;
2044
2856
 
2045
- const _excluded$z = ["children", "className", "productTheme"];
2046
- const COMPONENT_NAME$B = 'AppContent';
2047
- const CLASSNAME$B = 'redsift-app-content';
2048
- const DEFAULT_PROPS$B = {};
2857
+ const _excluded$A = ["children", "className", "productTheme"];
2858
+ const COMPONENT_NAME$C = 'AppContent';
2859
+ const CLASSNAME$C = 'redsift-app-content';
2860
+ const DEFAULT_PROPS$C = {};
2049
2861
 
2050
2862
  /**
2051
2863
  * The AppContent component.
@@ -2056,7 +2868,7 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
2056
2868
  className,
2057
2869
  productTheme
2058
2870
  } = props,
2059
- forwardedProps = _objectWithoutProperties(props, _excluded$z);
2871
+ forwardedProps = _objectWithoutProperties(props, _excluded$A);
2060
2872
  const {
2061
2873
  isLoaded
2062
2874
  } = useIsLoaded();
@@ -2069,9 +2881,9 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
2069
2881
  ref: ref
2070
2882
  }), children);
2071
2883
  });
2072
- AppContent.className = CLASSNAME$B;
2073
- AppContent.defaultProps = DEFAULT_PROPS$B;
2074
- AppContent.displayName = COMPONENT_NAME$B;
2884
+ AppContent.className = CLASSNAME$C;
2885
+ AppContent.defaultProps = DEFAULT_PROPS$C;
2886
+ AppContent.displayName = COMPONENT_NAME$C;
2075
2887
 
2076
2888
  /**
2077
2889
  * Component style.
@@ -2165,10 +2977,10 @@ const StyledAppSidePanel = styled.div`
2165
2977
  }
2166
2978
  `;
2167
2979
 
2168
- const _excluded$y = ["children", "className", "featuredElements", "isCollapsed", "logo"];
2169
- const COMPONENT_NAME$A = 'AppSidePanel';
2170
- const CLASSNAME$A = 'redsift-app-side-panel';
2171
- const DEFAULT_PROPS$A = {};
2980
+ const _excluded$z = ["children", "className", "featuredElements", "isCollapsed", "logo"];
2981
+ const COMPONENT_NAME$B = 'AppSidePanel';
2982
+ const CLASSNAME$B = 'redsift-app-side-panel';
2983
+ const DEFAULT_PROPS$B = {};
2172
2984
 
2173
2985
  /**
2174
2986
  * The AppSidePanel component.
@@ -2181,7 +2993,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
2181
2993
  isCollapsed = false,
2182
2994
  logo
2183
2995
  } = props,
2184
- forwardedProps = _objectWithoutProperties(props, _excluded$y);
2996
+ forwardedProps = _objectWithoutProperties(props, _excluded$z);
2185
2997
  const appContainerState = useContext(AppContainerContext);
2186
2998
  return /*#__PURE__*/React__default.createElement(StyledAppSidePanel, _extends$1({}, forwardedProps, {
2187
2999
  $isCollapsed: !!(isCollapsed || appContainerState !== null && appContainerState !== void 0 && appContainerState.isSidePanelCollapsed),
@@ -2196,9 +3008,9 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
2196
3008
  className: `${AppSidePanel.className}__featured`
2197
3009
  }, featuredElements) : null, children);
2198
3010
  });
2199
- AppSidePanel.className = CLASSNAME$A;
2200
- AppSidePanel.defaultProps = DEFAULT_PROPS$A;
2201
- AppSidePanel.displayName = COMPONENT_NAME$A;
3011
+ AppSidePanel.className = CLASSNAME$B;
3012
+ AppSidePanel.defaultProps = DEFAULT_PROPS$B;
3013
+ AppSidePanel.displayName = COMPONENT_NAME$B;
2202
3014
 
2203
3015
  /**
2204
3016
  * Context props.
@@ -2422,10 +3234,10 @@ const StyledBadge = styled.div`
2422
3234
  }}
2423
3235
  `;
2424
3236
 
2425
- const _excluded$x = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
2426
- const COMPONENT_NAME$z = 'Badge';
2427
- const CLASSNAME$z = 'redsift-badge';
2428
- const DEFAULT_PROPS$z = {
3237
+ const _excluded$y = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
3238
+ const COMPONENT_NAME$A = 'Badge';
3239
+ const CLASSNAME$A = 'redsift-badge';
3240
+ const DEFAULT_PROPS$A = {
2429
3241
  color: ColorPalette.question,
2430
3242
  variant: BadgeVariant.dot
2431
3243
  };
@@ -2442,7 +3254,7 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2442
3254
  isReversed,
2443
3255
  variant
2444
3256
  } = props,
2445
- forwardedProps = _objectWithoutProperties(props, _excluded$x);
3257
+ forwardedProps = _objectWithoutProperties(props, _excluded$y);
2446
3258
  return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
2447
3259
  $autoBreak: autoBreak,
2448
3260
  $color: color,
@@ -2452,14 +3264,14 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2452
3264
  ref: ref
2453
3265
  }), variant === BadgeVariant.standard ? children : null);
2454
3266
  });
2455
- Badge.className = CLASSNAME$z;
2456
- Badge.defaultProps = DEFAULT_PROPS$z;
2457
- Badge.displayName = COMPONENT_NAME$z;
3267
+ Badge.className = CLASSNAME$A;
3268
+ Badge.defaultProps = DEFAULT_PROPS$A;
3269
+ Badge.displayName = COMPONENT_NAME$A;
2458
3270
 
2459
- const _excluded$w = ["badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "withoutIcons"];
2460
- const COMPONENT_NAME$y = 'SideNavigationMenuItem';
2461
- const CLASSNAME$y = 'redsift-side-navigation-menu-item';
2462
- const DEFAULT_PROPS$y = {};
3271
+ const _excluded$x = ["badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "withoutIcons"];
3272
+ const COMPONENT_NAME$z = 'SideNavigationMenuItem';
3273
+ const CLASSNAME$z = 'redsift-side-navigation-menu-item';
3274
+ const DEFAULT_PROPS$z = {};
2463
3275
 
2464
3276
  /**
2465
3277
  * The SideNavigationMenuItem component.
@@ -2483,7 +3295,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2483
3295
  tabIndex,
2484
3296
  withoutIcons
2485
3297
  } = props,
2486
- forwardedProps = _objectWithoutProperties(props, _excluded$w);
3298
+ forwardedProps = _objectWithoutProperties(props, _excluded$x);
2487
3299
  warnIfNoAccessibleLabelFound(props, [children]);
2488
3300
  const appContainerState = useContext(AppContainerContext);
2489
3301
  useEffect(() => {
@@ -2545,9 +3357,9 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2545
3357
  color: "error"
2546
3358
  }, badgeProps), badge) : null);
2547
3359
  });
2548
- SideNavigationMenuItem.className = CLASSNAME$y;
2549
- SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$y;
2550
- SideNavigationMenuItem.displayName = COMPONENT_NAME$y;
3360
+ SideNavigationMenuItem.className = CLASSNAME$z;
3361
+ SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$z;
3362
+ SideNavigationMenuItem.displayName = COMPONENT_NAME$z;
2551
3363
 
2552
3364
  /**
2553
3365
  * Component style.
@@ -2706,10 +3518,10 @@ const SideNavigationMenuReducer = (state, action) => {
2706
3518
  }
2707
3519
  };
2708
3520
 
2709
- const _excluded$v = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "withoutIcons"];
2710
- const COMPONENT_NAME$x = 'SideNavigationMenu';
2711
- const CLASSNAME$x = 'redsift-side-navigation-menu';
2712
- const DEFAULT_PROPS$x = {};
3521
+ const _excluded$w = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "withoutIcons"];
3522
+ const COMPONENT_NAME$y = 'SideNavigationMenu';
3523
+ const CLASSNAME$y = 'redsift-side-navigation-menu';
3524
+ const DEFAULT_PROPS$y = {};
2713
3525
 
2714
3526
  /**
2715
3527
  * The SideNavigationMenu component.
@@ -2732,7 +3544,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
2732
3544
  tabIndex,
2733
3545
  withoutIcons
2734
3546
  } = props,
2735
- forwardedProps = _objectWithoutProperties(props, _excluded$v);
3547
+ forwardedProps = _objectWithoutProperties(props, _excluded$w);
2736
3548
  warnIfNoAccessibleLabelFound(props);
2737
3549
  const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
2738
3550
  const [isFirstChild, setIsFirstChild] = useState(false);
@@ -3001,9 +3813,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
3001
3813
  role: "menu"
3002
3814
  }, menuItemListEventHandler), renderedMenuItems)));
3003
3815
  });
3004
- SideNavigationMenu.className = CLASSNAME$x;
3005
- SideNavigationMenu.defaultProps = DEFAULT_PROPS$x;
3006
- SideNavigationMenu.displayName = COMPONENT_NAME$x;
3816
+ SideNavigationMenu.className = CLASSNAME$y;
3817
+ SideNavigationMenu.defaultProps = DEFAULT_PROPS$y;
3818
+ SideNavigationMenu.displayName = COMPONENT_NAME$y;
3007
3819
 
3008
3820
  /**
3009
3821
  * Component style.
@@ -3061,23 +3873,10 @@ const StyledSideNavigationMenuBar = styled.nav`
3061
3873
  }
3062
3874
  `;
3063
3875
 
3064
- /**
3065
- * Get the bounding rect of a component.
3066
- */
3067
- const useBoundingClientRect = (ref, deps) => {
3068
- const [boundingRect, setBoundingRect] = useState({});
3069
- useEffect(() => {
3070
- if (ref.current) {
3071
- setBoundingRect(ref.current.getBoundingClientRect());
3072
- }
3073
- }, deps);
3074
- return boundingRect;
3075
- };
3076
-
3077
- const _excluded$u = ["aria-label", "aria-labelledby", "children", "className", "isDisabled", "menubarProps", "menubarRef", "withoutIcons"];
3078
- const COMPONENT_NAME$w = 'SideNavigationMenuBar';
3079
- const CLASSNAME$w = 'redsift-side-navigation-menu-bar';
3080
- const DEFAULT_PROPS$w = {};
3876
+ const _excluded$v = ["aria-label", "aria-labelledby", "children", "className", "isDisabled", "menubarProps", "menubarRef", "withoutIcons"];
3877
+ const COMPONENT_NAME$x = 'SideNavigationMenuBar';
3878
+ const CLASSNAME$x = 'redsift-side-navigation-menu-bar';
3879
+ const DEFAULT_PROPS$x = {};
3081
3880
 
3082
3881
  /**
3083
3882
  * Hook to store the previous index for further use
@@ -3105,7 +3904,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3105
3904
  menubarRef = useRef(),
3106
3905
  withoutIcons
3107
3906
  } = props,
3108
- forwardedProps = _objectWithoutProperties(props, _excluded$u);
3907
+ forwardedProps = _objectWithoutProperties(props, _excluded$v);
3109
3908
  warnIfNoAccessibleLabelFound(props);
3110
3909
  const {
3111
3910
  top
@@ -3247,11 +4046,11 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3247
4046
  role: "menubar"
3248
4047
  }), navItems)));
3249
4048
  });
3250
- SideNavigationMenuBar.className = CLASSNAME$w;
3251
- SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$w;
3252
- SideNavigationMenuBar.displayName = COMPONENT_NAME$w;
4049
+ SideNavigationMenuBar.className = CLASSNAME$x;
4050
+ SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$x;
4051
+ SideNavigationMenuBar.displayName = COMPONENT_NAME$x;
3253
4052
 
3254
- const _excluded$t = ["title", "href", "ref"],
4053
+ const _excluded$u = ["title", "href", "ref"],
3255
4054
  _excluded2 = ["title", "children", "ref"],
3256
4055
  _excluded3 = ["title", "href", "ref"];
3257
4056
  const isMenu = item => {
@@ -3270,7 +4069,7 @@ const useSideNavigationMenuBar = _ref => {
3270
4069
  href,
3271
4070
  ref
3272
4071
  } = item,
3273
- rest = _objectWithoutProperties(item, _excluded$t);
4072
+ rest = _objectWithoutProperties(item, _excluded$u);
3274
4073
  menuBarChildren.push( /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
3275
4074
  key: title,
3276
4075
  isCurrent: isActive ? isActive(href) : undefined
@@ -3373,10 +4172,10 @@ const StyledBreadcrumbItem = styled.a`
3373
4172
  }
3374
4173
  `;
3375
4174
 
3376
- const _excluded$s = ["children", "className", "href", "isCurrent", "isDisabled"];
3377
- const COMPONENT_NAME$v = 'BreadcrumbItem';
3378
- const CLASSNAME$v = 'redsift-breadcrumb-item';
3379
- const DEFAULT_PROPS$v = {};
4175
+ const _excluded$t = ["children", "className", "href", "isCurrent", "isDisabled"];
4176
+ const COMPONENT_NAME$w = 'BreadcrumbItem';
4177
+ const CLASSNAME$w = 'redsift-breadcrumb-item';
4178
+ const DEFAULT_PROPS$w = {};
3380
4179
 
3381
4180
  /**
3382
4181
  * The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3389,7 +4188,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3389
4188
  isCurrent,
3390
4189
  isDisabled
3391
4190
  } = props,
3392
- forwardedProps = _objectWithoutProperties(props, _excluded$s);
4191
+ forwardedProps = _objectWithoutProperties(props, _excluded$t);
3393
4192
  warnIfNoAccessibleLabelFound(props, [children]);
3394
4193
  return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
3395
4194
  role: "link",
@@ -3404,9 +4203,9 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3404
4203
  ref: ref
3405
4204
  }), children);
3406
4205
  });
3407
- BreadcrumbItem.className = CLASSNAME$v;
3408
- BreadcrumbItem.defaultProps = DEFAULT_PROPS$v;
3409
- BreadcrumbItem.displayName = COMPONENT_NAME$v;
4206
+ BreadcrumbItem.className = CLASSNAME$w;
4207
+ BreadcrumbItem.defaultProps = DEFAULT_PROPS$w;
4208
+ BreadcrumbItem.displayName = COMPONENT_NAME$w;
3410
4209
 
3411
4210
  /**
3412
4211
  * Component style.
@@ -3440,10 +4239,10 @@ const StyledBreadcrumbs = styled.nav`
3440
4239
  }
3441
4240
  `;
3442
4241
 
3443
- const _excluded$r = ["children", "className", "isDisabled"];
3444
- const COMPONENT_NAME$u = 'Breadcrumbs';
3445
- const CLASSNAME$u = 'redsift-breadcrumbs';
3446
- const DEFAULT_PROPS$u = {};
4242
+ const _excluded$s = ["children", "className", "isDisabled"];
4243
+ const COMPONENT_NAME$v = 'Breadcrumbs';
4244
+ const CLASSNAME$v = 'redsift-breadcrumbs';
4245
+ const DEFAULT_PROPS$v = {};
3447
4246
 
3448
4247
  /**
3449
4248
  * The Breadcrumbs components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3454,7 +4253,7 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3454
4253
  className,
3455
4254
  isDisabled
3456
4255
  } = props,
3457
- forwardedProps = _objectWithoutProperties(props, _excluded$r);
4256
+ forwardedProps = _objectWithoutProperties(props, _excluded$s);
3458
4257
  warnIfNoAccessibleLabelFound(props);
3459
4258
  const childArray = filterComponents([Breadcrumbs.Item])(children);
3460
4259
  const breadcrumbItems = childArray.map((child, index) => {
@@ -3477,17 +4276,17 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3477
4276
  ref: ref
3478
4277
  }), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
3479
4278
  });
3480
- BaseBreadcrumbs.className = CLASSNAME$u;
3481
- BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$u;
3482
- BaseBreadcrumbs.displayName = COMPONENT_NAME$u;
4279
+ BaseBreadcrumbs.className = CLASSNAME$v;
4280
+ BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$v;
4281
+ BaseBreadcrumbs.displayName = COMPONENT_NAME$v;
3483
4282
  const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
3484
4283
  Item: BreadcrumbItem
3485
4284
  });
3486
4285
 
3487
- const _excluded$q = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
3488
- const COMPONENT_NAME$t = 'ButtonLink';
3489
- const CLASSNAME$t = 'redsift-button-link';
3490
- const DEFAULT_PROPS$t = {
4286
+ const _excluded$r = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
4287
+ const COMPONENT_NAME$u = 'ButtonLink';
4288
+ const CLASSNAME$u = 'redsift-button-link';
4289
+ const DEFAULT_PROPS$u = {
3491
4290
  color: ColorPalette.default,
3492
4291
  height: 'fit-content',
3493
4292
  variant: ButtonVariant.primary
@@ -3514,7 +4313,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3514
4313
  target,
3515
4314
  variant
3516
4315
  } = props,
3517
- forwardedProps = _objectWithoutProperties(props, _excluded$q);
4316
+ forwardedProps = _objectWithoutProperties(props, _excluded$r);
3518
4317
  return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
3519
4318
  as: as || 'a',
3520
4319
  role: "link",
@@ -3538,9 +4337,9 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3538
4337
  className: "right"
3539
4338
  }) : null);
3540
4339
  });
3541
- ButtonLink.className = CLASSNAME$t;
3542
- ButtonLink.defaultProps = DEFAULT_PROPS$t;
3543
- ButtonLink.displayName = COMPONENT_NAME$t;
4340
+ ButtonLink.className = CLASSNAME$u;
4341
+ ButtonLink.defaultProps = DEFAULT_PROPS$u;
4342
+ ButtonLink.displayName = COMPONENT_NAME$u;
3544
4343
 
3545
4344
  var collapse$3 = "Collapse";
3546
4345
  var expand$3 = "Expand";
@@ -3730,10 +4529,10 @@ const StyledSkeletonCircle = styled(StyledSkeleton)`
3730
4529
  }}
3731
4530
  `;
3732
4531
 
3733
- const _excluded$p = ["children", "className", "isLoaded"];
3734
- const COMPONENT_NAME$s = 'SkeletonCircle';
3735
- const CLASSNAME$s = 'redsift-skeleton-circle';
3736
- const DEFAULT_PROPS$s = {};
4532
+ const _excluded$q = ["children", "className", "isLoaded"];
4533
+ const COMPONENT_NAME$t = 'SkeletonCircle';
4534
+ const CLASSNAME$t = 'redsift-skeleton-circle';
4535
+ const DEFAULT_PROPS$t = {};
3737
4536
 
3738
4537
  /**
3739
4538
  * The SkeletonCircle component.
@@ -3744,7 +4543,7 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
3744
4543
  className,
3745
4544
  isLoaded
3746
4545
  } = props,
3747
- forwardedProps = _objectWithoutProperties(props, _excluded$p);
4546
+ forwardedProps = _objectWithoutProperties(props, _excluded$q);
3748
4547
  if (isLoaded) {
3749
4548
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3750
4549
  }
@@ -3753,9 +4552,9 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
3753
4552
  ref: ref
3754
4553
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3755
4554
  });
3756
- SkeletonCircle.className = CLASSNAME$s;
3757
- SkeletonCircle.defaultProps = DEFAULT_PROPS$s;
3758
- SkeletonCircle.displayName = COMPONENT_NAME$s;
4555
+ SkeletonCircle.className = CLASSNAME$t;
4556
+ SkeletonCircle.defaultProps = DEFAULT_PROPS$t;
4557
+ SkeletonCircle.displayName = COMPONENT_NAME$t;
3759
4558
 
3760
4559
  /**
3761
4560
  * Component variant.
@@ -3807,10 +4606,10 @@ const StyledSkeletonText = styled(StyledSkeleton)`
3807
4606
  }}}
3808
4607
  `;
3809
4608
 
3810
- const _excluded$o = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
3811
- const COMPONENT_NAME$r = 'SkeletonText';
3812
- const CLASSNAME$r = 'redsift-skeleton-text';
3813
- const DEFAULT_PROPS$r = {
4609
+ const _excluded$p = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
4610
+ const COMPONENT_NAME$s = 'SkeletonText';
4611
+ const CLASSNAME$s = 'redsift-skeleton-text';
4612
+ const DEFAULT_PROPS$s = {
3814
4613
  variant: 'body'
3815
4614
  };
3816
4615
 
@@ -3826,7 +4625,7 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
3826
4625
  lineHeight,
3827
4626
  variant
3828
4627
  } = props,
3829
- forwardedProps = _objectWithoutProperties(props, _excluded$o);
4628
+ forwardedProps = _objectWithoutProperties(props, _excluded$p);
3830
4629
  if (isLoaded) {
3831
4630
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3832
4631
  }
@@ -3838,14 +4637,14 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
3838
4637
  $variant: variant
3839
4638
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3840
4639
  });
3841
- SkeletonText.className = CLASSNAME$r;
3842
- SkeletonText.defaultProps = DEFAULT_PROPS$r;
3843
- SkeletonText.displayName = COMPONENT_NAME$r;
4640
+ SkeletonText.className = CLASSNAME$s;
4641
+ SkeletonText.defaultProps = DEFAULT_PROPS$s;
4642
+ SkeletonText.displayName = COMPONENT_NAME$s;
3844
4643
 
3845
- const _excluded$n = ["children", "className", "isLoaded"];
3846
- const COMPONENT_NAME$q = 'Skeleton';
3847
- const CLASSNAME$q = 'redsift-skeleton';
3848
- const DEFAULT_PROPS$q = {};
4644
+ const _excluded$o = ["children", "className", "isLoaded"];
4645
+ const COMPONENT_NAME$r = 'Skeleton';
4646
+ const CLASSNAME$r = 'redsift-skeleton';
4647
+ const DEFAULT_PROPS$r = {};
3849
4648
 
3850
4649
  /**
3851
4650
  * The Skeleton component.
@@ -3856,7 +4655,7 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
3856
4655
  className,
3857
4656
  isLoaded
3858
4657
  } = props,
3859
- forwardedProps = _objectWithoutProperties(props, _excluded$n);
4658
+ forwardedProps = _objectWithoutProperties(props, _excluded$o);
3860
4659
  if (isLoaded) {
3861
4660
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3862
4661
  }
@@ -3865,18 +4664,18 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
3865
4664
  ref: ref
3866
4665
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3867
4666
  });
3868
- BaseSkeleton.className = CLASSNAME$q;
3869
- BaseSkeleton.defaultProps = DEFAULT_PROPS$q;
3870
- BaseSkeleton.displayName = COMPONENT_NAME$q;
4667
+ BaseSkeleton.className = CLASSNAME$r;
4668
+ BaseSkeleton.defaultProps = DEFAULT_PROPS$r;
4669
+ BaseSkeleton.displayName = COMPONENT_NAME$r;
3871
4670
  const Skeleton = Object.assign(BaseSkeleton, {
3872
4671
  Circle: SkeletonCircle,
3873
4672
  Text: SkeletonText
3874
4673
  });
3875
4674
 
3876
- const _excluded$m = ["children", "className", "header", "headingProps", "icon", "isLoading", "subheader"];
3877
- const COMPONENT_NAME$p = 'CardHeader';
3878
- const CLASSNAME$p = 'redsift-card-header';
3879
- const DEFAULT_PROPS$p = {};
4675
+ const _excluded$n = ["children", "className", "header", "headingProps", "icon", "isLoading", "subheader"];
4676
+ const COMPONENT_NAME$q = 'CardHeader';
4677
+ const CLASSNAME$q = 'redsift-card-header';
4678
+ const DEFAULT_PROPS$q = {};
3880
4679
 
3881
4680
  /**
3882
4681
  * The CardHeader component.
@@ -3891,7 +4690,7 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3891
4690
  isLoading,
3892
4691
  subheader
3893
4692
  } = props,
3894
- forwardedProps = _objectWithoutProperties(props, _excluded$m);
4693
+ forwardedProps = _objectWithoutProperties(props, _excluded$n);
3895
4694
  return /*#__PURE__*/React__default.createElement(StyledCardHeader, _extends$1({}, forwardedProps, {
3896
4695
  className: classNames(CardHeader.className, className),
3897
4696
  ref: ref
@@ -3915,9 +4714,9 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3915
4714
  "aria-hidden": "true"
3916
4715
  }) : null, header)) : null, children);
3917
4716
  });
3918
- CardHeader.className = CLASSNAME$p;
3919
- CardHeader.defaultProps = DEFAULT_PROPS$p;
3920
- CardHeader.displayName = COMPONENT_NAME$p;
4717
+ CardHeader.className = CLASSNAME$q;
4718
+ CardHeader.defaultProps = DEFAULT_PROPS$q;
4719
+ CardHeader.displayName = COMPONENT_NAME$q;
3921
4720
 
3922
4721
  /**
3923
4722
  * Component style.
@@ -3933,10 +4732,10 @@ const StyledCardBody = styled.div`
3933
4732
  padding: 16px 0px;
3934
4733
  `;
3935
4734
 
3936
- const _excluded$l = ["children", "className"];
3937
- const COMPONENT_NAME$o = 'CardBody';
3938
- const CLASSNAME$o = 'redsift-card-body';
3939
- const DEFAULT_PROPS$o = {};
4735
+ const _excluded$m = ["children", "className"];
4736
+ const COMPONENT_NAME$p = 'CardBody';
4737
+ const CLASSNAME$p = 'redsift-card-body';
4738
+ const DEFAULT_PROPS$p = {};
3940
4739
 
3941
4740
  /**
3942
4741
  * The CardBody component.
@@ -3946,15 +4745,15 @@ const CardBody = /*#__PURE__*/forwardRef((props, ref) => {
3946
4745
  children,
3947
4746
  className
3948
4747
  } = props,
3949
- forwardedProps = _objectWithoutProperties(props, _excluded$l);
4748
+ forwardedProps = _objectWithoutProperties(props, _excluded$m);
3950
4749
  return /*#__PURE__*/React__default.createElement(StyledCardBody, _extends$1({}, forwardedProps, {
3951
4750
  className: classNames(CardBody.className, className),
3952
4751
  ref: ref
3953
4752
  }), children);
3954
4753
  });
3955
- CardBody.className = CLASSNAME$o;
3956
- CardBody.defaultProps = DEFAULT_PROPS$o;
3957
- CardBody.displayName = COMPONENT_NAME$o;
4754
+ CardBody.className = CLASSNAME$p;
4755
+ CardBody.defaultProps = DEFAULT_PROPS$p;
4756
+ CardBody.displayName = COMPONENT_NAME$p;
3958
4757
 
3959
4758
  /**
3960
4759
  * Component style.
@@ -3966,10 +4765,10 @@ const StyledCardActions = styled.div`
3966
4765
  margin-bottom: 8px;
3967
4766
  `;
3968
4767
 
3969
- const _excluded$k = ["children", "className"];
3970
- const COMPONENT_NAME$n = 'CardActions';
3971
- const CLASSNAME$n = 'redsift-card-actions';
3972
- const DEFAULT_PROPS$n = {
4768
+ const _excluded$l = ["children", "className"];
4769
+ const COMPONENT_NAME$o = 'CardActions';
4770
+ const CLASSNAME$o = 'redsift-card-actions';
4771
+ const DEFAULT_PROPS$o = {
3973
4772
  display: 'flex',
3974
4773
  flexDirection: 'row'
3975
4774
  };
@@ -3982,20 +4781,20 @@ const CardActions = /*#__PURE__*/forwardRef((props, ref) => {
3982
4781
  children,
3983
4782
  className
3984
4783
  } = props,
3985
- forwardedProps = _objectWithoutProperties(props, _excluded$k);
4784
+ forwardedProps = _objectWithoutProperties(props, _excluded$l);
3986
4785
  return /*#__PURE__*/React__default.createElement(StyledCardActions, _extends$1({}, forwardedProps, {
3987
4786
  className: classNames(CardActions.className, className),
3988
4787
  ref: ref
3989
4788
  }), children);
3990
4789
  });
3991
- CardActions.className = CLASSNAME$n;
3992
- CardActions.defaultProps = DEFAULT_PROPS$n;
3993
- CardActions.displayName = COMPONENT_NAME$n;
4790
+ CardActions.className = CLASSNAME$o;
4791
+ CardActions.defaultProps = DEFAULT_PROPS$o;
4792
+ CardActions.displayName = COMPONENT_NAME$o;
3994
4793
 
3995
- const _excluded$j = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
3996
- const COMPONENT_NAME$m = 'Card';
3997
- const CLASSNAME$m = 'redsift-card';
3998
- const DEFAULT_PROPS$m = {};
4794
+ const _excluded$k = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
4795
+ const COMPONENT_NAME$n = 'Card';
4796
+ const CLASSNAME$n = 'redsift-card';
4797
+ const DEFAULT_PROPS$n = {};
3999
4798
 
4000
4799
  /**
4001
4800
  * The Card component.
@@ -4009,7 +4808,7 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
4009
4808
  isCollapsible,
4010
4809
  onCollapse
4011
4810
  } = props,
4012
- forwardedProps = _objectWithoutProperties(props, _excluded$j);
4811
+ forwardedProps = _objectWithoutProperties(props, _excluded$k);
4013
4812
  const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
4014
4813
  const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
4015
4814
  useEffect(() => {
@@ -4040,9 +4839,9 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
4040
4839
  className: `${BaseCard.className}__content`
4041
4840
  }, body, actions) : null);
4042
4841
  });
4043
- BaseCard.className = CLASSNAME$m;
4044
- BaseCard.defaultProps = DEFAULT_PROPS$m;
4045
- BaseCard.displayName = COMPONENT_NAME$m;
4842
+ BaseCard.className = CLASSNAME$n;
4843
+ BaseCard.defaultProps = DEFAULT_PROPS$n;
4844
+ BaseCard.displayName = COMPONENT_NAME$n;
4046
4845
  const Card = Object.assign(BaseCard, {
4047
4846
  Header: CardHeader,
4048
4847
  Body: CardBody,
@@ -4141,10 +4940,10 @@ const StyledCheckboxGroup = styled.div`
4141
4940
  }
4142
4941
  `;
4143
4942
 
4144
- const _excluded$i = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
4145
- const COMPONENT_NAME$l = 'CheckboxGroup';
4146
- const CLASSNAME$l = 'redsift-checkbox-group';
4147
- const DEFAULT_PROPS$l = {
4943
+ const _excluded$j = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
4944
+ const COMPONENT_NAME$m = 'CheckboxGroup';
4945
+ const CLASSNAME$m = 'redsift-checkbox-group';
4946
+ const DEFAULT_PROPS$m = {
4148
4947
  color: ColorPalette.default,
4149
4948
  orientation: CheckboxGroupOrientation.vertical
4150
4949
  };
@@ -4169,7 +4968,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
4169
4968
  possibleValues,
4170
4969
  value
4171
4970
  } = props,
4172
- forwardedProps = _objectWithoutProperties(props, _excluded$i);
4971
+ forwardedProps = _objectWithoutProperties(props, _excluded$j);
4173
4972
  const [selectedValues, setValue] = useState(value || defaultValues || []);
4174
4973
  useEffect(() => {
4175
4974
  if (value) {
@@ -4223,9 +5022,9 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
4223
5022
  className: `${CheckboxGroup.className}-description`
4224
5023
  }, description));
4225
5024
  });
4226
- CheckboxGroup.className = CLASSNAME$l;
4227
- CheckboxGroup.defaultProps = DEFAULT_PROPS$l;
4228
- CheckboxGroup.displayName = COMPONENT_NAME$l;
5025
+ CheckboxGroup.className = CLASSNAME$m;
5026
+ CheckboxGroup.defaultProps = DEFAULT_PROPS$m;
5027
+ CheckboxGroup.displayName = COMPONENT_NAME$m;
4229
5028
 
4230
5029
  /**
4231
5030
  * Component style.
@@ -4332,10 +5131,10 @@ const StyledCheckbox = styled.label`
4332
5131
  }
4333
5132
  `;
4334
5133
 
4335
- const _excluded$h = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isControlled", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
4336
- const COMPONENT_NAME$k = 'Checkbox';
4337
- const CLASSNAME$k = 'redsift-checkbox';
4338
- const DEFAULT_PROPS$k = {
5134
+ const _excluded$i = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isControlled", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
5135
+ const COMPONENT_NAME$l = 'Checkbox';
5136
+ const CLASSNAME$l = 'redsift-checkbox';
5137
+ const DEFAULT_PROPS$l = {
4339
5138
  isColored: true
4340
5139
  };
4341
5140
 
@@ -4368,7 +5167,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4368
5167
  onChange,
4369
5168
  value
4370
5169
  } = props,
4371
- forwardedProps = _objectWithoutProperties(props, _excluded$h);
5170
+ forwardedProps = _objectWithoutProperties(props, _excluded$i);
4372
5171
  const {
4373
5172
  isFocusVisible,
4374
5173
  focusProps
@@ -4431,6 +5230,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4431
5230
  "aria-labelledby": ariaLabelledby,
4432
5231
  "aria-readonly": isReadOnly,
4433
5232
  "aria-required": isRequired,
5233
+ autoFocus: autoFocus,
4434
5234
  checked: isSelected ? true : false,
4435
5235
  disabled: isDisabled,
4436
5236
  name: name,
@@ -4448,9 +5248,9 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4448
5248
  className: "label"
4449
5249
  }, children) : null);
4450
5250
  });
4451
- Checkbox.className = CLASSNAME$k;
4452
- Checkbox.defaultProps = DEFAULT_PROPS$k;
4453
- Checkbox.displayName = COMPONENT_NAME$k;
5251
+ Checkbox.className = CLASSNAME$l;
5252
+ Checkbox.defaultProps = DEFAULT_PROPS$l;
5253
+ Checkbox.displayName = COMPONENT_NAME$l;
4454
5254
 
4455
5255
  const ConditionalWrapper = _ref => {
4456
5256
  let {
@@ -4560,10 +5360,10 @@ const StyledShield = styled.div`
4560
5360
  }}
4561
5361
  `;
4562
5362
 
4563
- const _excluded$g = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
4564
- const COMPONENT_NAME$j = 'Shield';
4565
- const CLASSNAME$j = 'redsift-shield';
4566
- const DEFAULT_PROPS$j = {
5363
+ const _excluded$h = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
5364
+ const COMPONENT_NAME$k = 'Shield';
5365
+ const CLASSNAME$k = 'redsift-shield';
5366
+ const DEFAULT_PROPS$k = {
4567
5367
  variant: ShieldVariant.success
4568
5368
  };
4569
5369
  const getVariant = variant => {
@@ -4649,7 +5449,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4649
5449
  isReversed,
4650
5450
  variant
4651
5451
  } = props,
4652
- forwardedProps = _objectWithoutProperties(props, _excluded$g);
5452
+ forwardedProps = _objectWithoutProperties(props, _excluded$h);
4653
5453
  const {
4654
5454
  color,
4655
5455
  icon
@@ -4683,9 +5483,9 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4683
5483
  className: "icon"
4684
5484
  })));
4685
5485
  });
4686
- Shield.className = CLASSNAME$j;
4687
- Shield.defaultProps = DEFAULT_PROPS$j;
4688
- Shield.displayName = COMPONENT_NAME$j;
5486
+ Shield.className = CLASSNAME$k;
5487
+ Shield.defaultProps = DEFAULT_PROPS$k;
5488
+ Shield.displayName = COMPONENT_NAME$k;
4689
5489
 
4690
5490
  var collapse$1 = "Collapse details";
4691
5491
  var expand$1 = "Expand details";
@@ -4735,10 +5535,10 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
4735
5535
  }
4736
5536
  `;
4737
5537
 
4738
- const _excluded$f = ["caption", "children", "className", "hideBackground"];
4739
- const COMPONENT_NAME$i = 'DetailedCardCollapsibleSectionItems';
4740
- const CLASSNAME$i = 'redsift-detailed-card-collapsible-section-items';
4741
- const DEFAULT_PROPS$i = {};
5538
+ const _excluded$g = ["caption", "children", "className", "hideBackground"];
5539
+ const COMPONENT_NAME$j = 'DetailedCardCollapsibleSectionItems';
5540
+ const CLASSNAME$j = 'redsift-detailed-card-collapsible-section-items';
5541
+ const DEFAULT_PROPS$j = {};
4742
5542
 
4743
5543
  /**
4744
5544
  * The DetailedCardCollapsibleSectionItems Section component.
@@ -4750,7 +5550,7 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4750
5550
  className,
4751
5551
  hideBackground
4752
5552
  } = props,
4753
- forwardedProps = _objectWithoutProperties(props, _excluded$f);
5553
+ forwardedProps = _objectWithoutProperties(props, _excluded$g);
4754
5554
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardCollapsibleSectionItems, _extends$1({}, forwardedProps, {
4755
5555
  className: classNames(DetailedCardCollapsibleSectionItems.className, className),
4756
5556
  ref: ref,
@@ -4759,9 +5559,9 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4759
5559
  className: `${DetailedCardCollapsibleSectionItems.className}__caption`
4760
5560
  }, caption) : null);
4761
5561
  });
4762
- DetailedCardCollapsibleSectionItems.className = CLASSNAME$i;
4763
- DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$i;
4764
- DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$i;
5562
+ DetailedCardCollapsibleSectionItems.className = CLASSNAME$j;
5563
+ DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$j;
5564
+ DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$j;
4765
5565
 
4766
5566
  /**
4767
5567
  * Component style.
@@ -4939,10 +5739,10 @@ const StyledText = styled.span`
4939
5739
  }}
4940
5740
  `;
4941
5741
 
4942
- const _excluded$e = ["as", "children", "className", "color", "fontFamily", "fontSize", "lineHeight", "noWrap", "variant"];
4943
- const COMPONENT_NAME$h = 'Text';
4944
- const CLASSNAME$h = 'redsift-text';
4945
- const DEFAULT_PROPS$h = {
5742
+ const _excluded$f = ["as", "children", "className", "color", "fontFamily", "fontSize", "lineHeight", "noWrap", "variant"];
5743
+ const COMPONENT_NAME$i = 'Text';
5744
+ const CLASSNAME$i = 'redsift-text';
5745
+ const DEFAULT_PROPS$i = {
4946
5746
  fontFamily: FontFamily.raleway
4947
5747
  };
4948
5748
 
@@ -4961,7 +5761,7 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
4961
5761
  noWrap,
4962
5762
  variant
4963
5763
  } = props,
4964
- forwardedProps = _objectWithoutProperties(props, _excluded$e);
5764
+ forwardedProps = _objectWithoutProperties(props, _excluded$f);
4965
5765
  return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
4966
5766
  as: as
4967
5767
  }, forwardedProps, {
@@ -4976,14 +5776,14 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
4976
5776
  $variant: variant
4977
5777
  }), children);
4978
5778
  });
4979
- Text.className = CLASSNAME$h;
4980
- Text.defaultProps = DEFAULT_PROPS$h;
4981
- Text.displayName = COMPONENT_NAME$h;
4982
-
4983
- const _excluded$d = ["badge", "color", "children", "className", "header", "isCollapsed", "isCollapsible", "isLoading"];
4984
- const COMPONENT_NAME$g = 'DetailedCardSection';
4985
- const CLASSNAME$g = 'redsift-detailed-card-section';
4986
- const DEFAULT_PROPS$g = {
5779
+ Text.className = CLASSNAME$i;
5780
+ Text.defaultProps = DEFAULT_PROPS$i;
5781
+ Text.displayName = COMPONENT_NAME$i;
5782
+
5783
+ const _excluded$e = ["badge", "color", "children", "className", "header", "isCollapsed", "isCollapsible", "isLoading"];
5784
+ const COMPONENT_NAME$h = 'DetailedCardSection';
5785
+ const CLASSNAME$h = 'redsift-detailed-card-section';
5786
+ const DEFAULT_PROPS$h = {
4987
5787
  isCollapsible: true
4988
5788
  };
4989
5789
  const hasCollapsibleChildren = children => {
@@ -5010,7 +5810,7 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
5010
5810
  isCollapsible: propsIsCollapsible,
5011
5811
  isLoading
5012
5812
  } = props,
5013
- forwardedProps = _objectWithoutProperties(props, _excluded$d);
5813
+ forwardedProps = _objectWithoutProperties(props, _excluded$e);
5014
5814
  const stringFormatter = useLocalizedStringFormatter(intlMessages);
5015
5815
  const isCollapsible = propsIsCollapsible && hasCollapsibleChildren(children);
5016
5816
  const [isCollapsed, setIsCollapsed] = useState(Boolean(propsIsCollapsed));
@@ -5052,9 +5852,9 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
5052
5852
  }
5053
5853
  }) : null), children);
5054
5854
  });
5055
- DetailedCardSection.className = CLASSNAME$g;
5056
- DetailedCardSection.defaultProps = DEFAULT_PROPS$g;
5057
- DetailedCardSection.displayName = COMPONENT_NAME$g;
5855
+ DetailedCardSection.className = CLASSNAME$h;
5856
+ DetailedCardSection.defaultProps = DEFAULT_PROPS$h;
5857
+ DetailedCardSection.displayName = COMPONENT_NAME$h;
5058
5858
 
5059
5859
  /**
5060
5860
  * Component style.
@@ -5095,10 +5895,10 @@ const StyledDetailedCardHeader = styled.div`
5095
5895
  }
5096
5896
  `;
5097
5897
 
5098
- const _excluded$c = ["children", "className", "header", "headingProps", "isLoading"];
5099
- const COMPONENT_NAME$f = 'DetailedCardHeader';
5100
- const CLASSNAME$f = 'redsift-detailed-card-header';
5101
- const DEFAULT_PROPS$f = {};
5898
+ const _excluded$d = ["children", "className", "header", "headingProps", "isLoading"];
5899
+ const COMPONENT_NAME$g = 'DetailedCardHeader';
5900
+ const CLASSNAME$g = 'redsift-detailed-card-header';
5901
+ const DEFAULT_PROPS$g = {};
5102
5902
 
5103
5903
  /**
5104
5904
  * The DetailedCardHeader component.
@@ -5111,7 +5911,7 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
5111
5911
  headingProps,
5112
5912
  isLoading
5113
5913
  } = props,
5114
- forwardedProps = _objectWithoutProperties(props, _excluded$c);
5914
+ forwardedProps = _objectWithoutProperties(props, _excluded$d);
5115
5915
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardHeader, _extends$1({}, forwardedProps, {
5116
5916
  className: classNames(DetailedCardHeader.className, className),
5117
5917
  ref: ref
@@ -5126,9 +5926,9 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
5126
5926
  variant: "h2"
5127
5927
  }, headingProps), header)) : null, children);
5128
5928
  });
5129
- DetailedCardHeader.className = CLASSNAME$f;
5130
- DetailedCardHeader.defaultProps = DEFAULT_PROPS$f;
5131
- DetailedCardHeader.displayName = COMPONENT_NAME$f;
5929
+ DetailedCardHeader.className = CLASSNAME$g;
5930
+ DetailedCardHeader.defaultProps = DEFAULT_PROPS$g;
5931
+ DetailedCardHeader.displayName = COMPONENT_NAME$g;
5132
5932
 
5133
5933
  /**
5134
5934
  * Component style.
@@ -5151,7 +5951,10 @@ const StyledPill = styled.div`
5151
5951
  $color
5152
5952
  } = _ref2;
5153
5953
  return css`
5154
- ${$color === 'black' ? 'background-color: var(--redsift-color-neutral-black);' : $color === 'white' ? 'background-color: var(--redsift-color-neutral-white);' : $color === 'error' ? 'background-color: var(--redsift-data-viz-color-red-default);' : $color === 'warning' ? 'background-color: var(--redsift-data-viz-color-orange-default);' : $color === 'success' ? 'background-color: var(--redsift-data-viz-color-green-default);' : `background-color: var(--redsift-data-viz-color-${$color}-default);`}
5954
+ ${$color === 'black' ? 'background-color: var(--redsift-color-neutral-black);' : $color === 'white' ? css`
5955
+ background-color: var(--redsift-color-neutral-white);
5956
+ border: 1px solid #d6d6d6;
5957
+ ` : $color === 'error' ? 'background-color: var(--redsift-data-viz-color-red-default);' : $color === 'warning' ? 'background-color: var(--redsift-data-viz-color-orange-default);' : $color === 'success' ? 'background-color: var(--redsift-data-viz-color-green-default);' : `background-color: var(--redsift-data-viz-color-${$color}-default);`}
5155
5958
 
5156
5959
  &,
5157
5960
  .redsift-icon {
@@ -5171,10 +5974,10 @@ const StyledPill = styled.div`
5171
5974
  }
5172
5975
  `;
5173
5976
 
5174
- const _excluded$b = ["autoBreak", "children", "className", "color"];
5175
- const COMPONENT_NAME$e = 'Pill';
5176
- const CLASSNAME$e = 'redsift-pill';
5177
- const DEFAULT_PROPS$e = {
5977
+ const _excluded$c = ["autoBreak", "children", "className", "color"];
5978
+ const COMPONENT_NAME$f = 'Pill';
5979
+ const CLASSNAME$f = 'redsift-pill';
5980
+ const DEFAULT_PROPS$f = {
5178
5981
  color: DataVizColorPalette.blue,
5179
5982
  height: 'fit-content'
5180
5983
  };
@@ -5189,7 +5992,7 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
5189
5992
  className,
5190
5993
  color
5191
5994
  } = props,
5192
- forwardedProps = _objectWithoutProperties(props, _excluded$b);
5995
+ forwardedProps = _objectWithoutProperties(props, _excluded$c);
5193
5996
  return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
5194
5997
  $autoBreak: autoBreak,
5195
5998
  $color: color,
@@ -5197,9 +6000,9 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
5197
6000
  ref: ref
5198
6001
  }), children);
5199
6002
  });
5200
- Pill.className = CLASSNAME$e;
5201
- Pill.defaultProps = DEFAULT_PROPS$e;
5202
- Pill.displayName = COMPONENT_NAME$e;
6003
+ Pill.className = CLASSNAME$f;
6004
+ Pill.defaultProps = DEFAULT_PROPS$f;
6005
+ Pill.displayName = COMPONENT_NAME$f;
5203
6006
 
5204
6007
  /**
5205
6008
  * Component style.
@@ -5229,10 +6032,10 @@ const StyledDetailedCardSectionItem = styled.div`
5229
6032
  }
5230
6033
  `;
5231
6034
 
5232
- const _excluded$a = ["children", "className", "description", "icon", "iconProps", "isLoading", "pill", "pillProps", "shield"];
5233
- const COMPONENT_NAME$d = 'DetailedCardSectionItem';
5234
- const CLASSNAME$d = 'redsift-detailed-card-section-item';
5235
- const DEFAULT_PROPS$d = {};
6035
+ const _excluded$b = ["children", "className", "description", "icon", "iconProps", "isLoading", "pill", "pillProps", "shield"];
6036
+ const COMPONENT_NAME$e = 'DetailedCardSectionItem';
6037
+ const CLASSNAME$e = 'redsift-detailed-card-section-item';
6038
+ const DEFAULT_PROPS$e = {};
5236
6039
 
5237
6040
  /**
5238
6041
  * The DetailedCardSectionItems component.
@@ -5249,7 +6052,7 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
5249
6052
  pillProps,
5250
6053
  shield
5251
6054
  } = props,
5252
- forwardedProps = _objectWithoutProperties(props, _excluded$a);
6055
+ forwardedProps = _objectWithoutProperties(props, _excluded$b);
5253
6056
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardSectionItem, _extends$1({}, forwardedProps, {
5254
6057
  className: classNames(DetailedCardSectionItem.className, className),
5255
6058
  ref: ref
@@ -5277,9 +6080,9 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
5277
6080
  className: `${DetailedCardSectionItem.className}-header__pill`
5278
6081
  }, pillProps), pill), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(Text, null, description) : description)) : null), children);
5279
6082
  });
5280
- DetailedCardSectionItem.className = CLASSNAME$d;
5281
- DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$d;
5282
- DetailedCardSectionItem.displayName = COMPONENT_NAME$d;
6083
+ DetailedCardSectionItem.className = CLASSNAME$e;
6084
+ DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$e;
6085
+ DetailedCardSectionItem.displayName = COMPONENT_NAME$e;
5283
6086
 
5284
6087
  /*!
5285
6088
  * tabbable 6.1.1
@@ -8804,9 +9607,9 @@ const StyledTooltipContent = styled.div`
8804
9607
  }}
8805
9608
  `;
8806
9609
 
8807
- const COMPONENT_NAME$c = 'TooltipContent';
8808
- const CLASSNAME$c = 'redsift-tooltip-content';
8809
- const DEFAULT_PROPS$c = {};
9610
+ const COMPONENT_NAME$d = 'TooltipContent';
9611
+ const CLASSNAME$d = 'redsift-tooltip-content';
9612
+ const DEFAULT_PROPS$d = {};
8810
9613
 
8811
9614
  /**
8812
9615
  * The TooltipContent component.
@@ -8868,13 +9671,13 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
8868
9671
  className: `${TooltipContent.className}__inner`
8869
9672
  }, children)));
8870
9673
  });
8871
- TooltipContent.className = CLASSNAME$c;
8872
- TooltipContent.defaultProps = DEFAULT_PROPS$c;
8873
- TooltipContent.displayName = COMPONENT_NAME$c;
9674
+ TooltipContent.className = CLASSNAME$d;
9675
+ TooltipContent.defaultProps = DEFAULT_PROPS$d;
9676
+ TooltipContent.displayName = COMPONENT_NAME$d;
8874
9677
 
8875
- const COMPONENT_NAME$b = 'TooltipTrigger';
8876
- const CLASSNAME$b = 'redsift-tooltip-trigger';
8877
- const DEFAULT_PROPS$b = {};
9678
+ const COMPONENT_NAME$c = 'TooltipTrigger';
9679
+ const CLASSNAME$c = 'redsift-tooltip-trigger';
9680
+ const DEFAULT_PROPS$c = {};
8878
9681
 
8879
9682
  /**
8880
9683
  * The TooltipTrigger component.
@@ -8901,9 +9704,9 @@ const TooltipTrigger = /*#__PURE__*/forwardRef((props, ref) => {
8901
9704
  ref: triggerRef
8902
9705
  }, getReferenceProps(props)), children);
8903
9706
  });
8904
- TooltipTrigger.className = CLASSNAME$b;
8905
- TooltipTrigger.defaultProps = DEFAULT_PROPS$b;
8906
- TooltipTrigger.displayName = COMPONENT_NAME$b;
9707
+ TooltipTrigger.className = CLASSNAME$c;
9708
+ TooltipTrigger.defaultProps = DEFAULT_PROPS$c;
9709
+ TooltipTrigger.displayName = COMPONENT_NAME$c;
8907
9710
 
8908
9711
  function useTooltip(_ref) {
8909
9712
  let {
@@ -8964,9 +9767,9 @@ function useTooltip(_ref) {
8964
9767
  }), [isOpen, handleOpen, interactions, data, arrowRef, tooltipId]);
8965
9768
  }
8966
9769
 
8967
- const COMPONENT_NAME$a = 'Tooltip';
8968
- const CLASSNAME$a = 'redsift-tooltip';
8969
- const DEFAULT_PROPS$a = {
9770
+ const COMPONENT_NAME$b = 'Tooltip';
9771
+ const CLASSNAME$b = 'redsift-tooltip';
9772
+ const DEFAULT_PROPS$b = {
8970
9773
  delay: 500,
8971
9774
  placement: TooltipPlacement.top
8972
9775
  };
@@ -8997,9 +9800,9 @@ const BaseTooltip = props => {
8997
9800
  value: tooltip
8998
9801
  }, trigger, content);
8999
9802
  };
9000
- BaseTooltip.className = CLASSNAME$a;
9001
- BaseTooltip.defaultProps = DEFAULT_PROPS$a;
9002
- BaseTooltip.displayName = COMPONENT_NAME$a;
9803
+ BaseTooltip.className = CLASSNAME$b;
9804
+ BaseTooltip.defaultProps = DEFAULT_PROPS$b;
9805
+ BaseTooltip.displayName = COMPONENT_NAME$b;
9003
9806
  const Tooltip = Object.assign(BaseTooltip, {
9004
9807
  Trigger: TooltipTrigger,
9005
9808
  Content: TooltipContent
@@ -9013,10 +9816,10 @@ const useTooltipContext = () => {
9013
9816
  return context;
9014
9817
  };
9015
9818
 
9016
- const _excluded$9 = ["areAllCollapsed", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
9017
- const COMPONENT_NAME$9 = 'DetailedCard';
9018
- const CLASSNAME$9 = 'redsift-detailed-card';
9019
- const DEFAULT_PROPS$9 = {
9819
+ const _excluded$a = ["areAllCollapsed", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
9820
+ const COMPONENT_NAME$a = 'DetailedCard';
9821
+ const CLASSNAME$a = 'redsift-detailed-card';
9822
+ const DEFAULT_PROPS$a = {
9020
9823
  isCollapsible: true,
9021
9824
  width: '400px'
9022
9825
  };
@@ -9055,7 +9858,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
9055
9858
  onCollapseAll,
9056
9859
  shield
9057
9860
  } = props,
9058
- forwardedProps = _objectWithoutProperties(props, _excluded$9);
9861
+ forwardedProps = _objectWithoutProperties(props, _excluded$a);
9059
9862
  const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
9060
9863
  const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
9061
9864
  const [allCollapsed, setAllCollapsed] = useState({
@@ -9141,9 +9944,9 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
9141
9944
  return child;
9142
9945
  }));
9143
9946
  });
9144
- BaseDetailedCard.className = CLASSNAME$9;
9145
- BaseDetailedCard.defaultProps = DEFAULT_PROPS$9;
9146
- BaseDetailedCard.displayName = COMPONENT_NAME$9;
9947
+ BaseDetailedCard.className = CLASSNAME$a;
9948
+ BaseDetailedCard.defaultProps = DEFAULT_PROPS$a;
9949
+ BaseDetailedCard.displayName = COMPONENT_NAME$a;
9147
9950
  const DetailedCard = Object.assign(BaseDetailedCard, {
9148
9951
  Header: DetailedCardHeader,
9149
9952
  Section: DetailedCardSection,
@@ -9177,10 +9980,10 @@ const StyledGridItem = styled.div`
9177
9980
  ${baseInternalSpacing}
9178
9981
  `;
9179
9982
 
9180
- const _excluded$8 = ["children", "className"];
9181
- const COMPONENT_NAME$8 = 'GridItem';
9182
- const CLASSNAME$8 = 'redsift-grid-item';
9183
- const DEFAULT_PROPS$8 = {};
9983
+ const _excluded$9 = ["children", "className"];
9984
+ const COMPONENT_NAME$9 = 'GridItem';
9985
+ const CLASSNAME$9 = 'redsift-grid-item';
9986
+ const DEFAULT_PROPS$9 = {};
9184
9987
 
9185
9988
  /**
9186
9989
  * The GridItem component.
@@ -9190,20 +9993,20 @@ const GridItem = /*#__PURE__*/forwardRef((props, ref) => {
9190
9993
  children,
9191
9994
  className
9192
9995
  } = props,
9193
- forwardedProps = _objectWithoutProperties(props, _excluded$8);
9996
+ forwardedProps = _objectWithoutProperties(props, _excluded$9);
9194
9997
  return /*#__PURE__*/React__default.createElement(StyledGridItem, _extends$1({}, forwardedProps, {
9195
9998
  className: classNames(GridItem.className, className),
9196
9999
  ref: ref
9197
10000
  }), children);
9198
10001
  });
9199
- GridItem.className = CLASSNAME$8;
9200
- GridItem.defaultProps = DEFAULT_PROPS$8;
9201
- GridItem.displayName = COMPONENT_NAME$8;
10002
+ GridItem.className = CLASSNAME$9;
10003
+ GridItem.defaultProps = DEFAULT_PROPS$9;
10004
+ GridItem.displayName = COMPONENT_NAME$9;
9202
10005
 
9203
- const _excluded$7 = ["children", "className"];
9204
- const COMPONENT_NAME$7 = 'Grid';
9205
- const CLASSNAME$7 = 'redsift-grid';
9206
- const DEFAULT_PROPS$7 = {};
10006
+ const _excluded$8 = ["children", "className"];
10007
+ const COMPONENT_NAME$8 = 'Grid';
10008
+ const CLASSNAME$8 = 'redsift-grid';
10009
+ const DEFAULT_PROPS$8 = {};
9207
10010
 
9208
10011
  /**
9209
10012
  * The Grid component.
@@ -9213,15 +10016,15 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
9213
10016
  children,
9214
10017
  className
9215
10018
  } = props,
9216
- forwardedProps = _objectWithoutProperties(props, _excluded$7);
10019
+ forwardedProps = _objectWithoutProperties(props, _excluded$8);
9217
10020
  return /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
9218
10021
  className: classNames(BaseGrid.className, className),
9219
10022
  ref: ref
9220
10023
  }), children);
9221
10024
  });
9222
- BaseGrid.className = CLASSNAME$7;
9223
- BaseGrid.defaultProps = DEFAULT_PROPS$7;
9224
- BaseGrid.displayName = COMPONENT_NAME$7;
10025
+ BaseGrid.className = CLASSNAME$8;
10026
+ BaseGrid.defaultProps = DEFAULT_PROPS$8;
10027
+ BaseGrid.displayName = COMPONENT_NAME$8;
9225
10028
  const Grid = Object.assign(BaseGrid, {
9226
10029
  Item: GridItem
9227
10030
  });
@@ -9266,10 +10069,10 @@ const StyledLink = styled.a`
9266
10069
  }
9267
10070
  `;
9268
10071
 
9269
- const _excluded$6 = ["children", "className", "href", "isDisabled"];
9270
- const COMPONENT_NAME$6 = 'Link';
9271
- const CLASSNAME$6 = 'redsift-link';
9272
- const DEFAULT_PROPS$6 = {};
10072
+ const _excluded$7 = ["children", "className", "href", "isDisabled"];
10073
+ const COMPONENT_NAME$7 = 'Link';
10074
+ const CLASSNAME$7 = 'redsift-link';
10075
+ const DEFAULT_PROPS$7 = {};
9273
10076
 
9274
10077
  /**
9275
10078
  * The Link is a semantic link that looks like a link.
@@ -9286,7 +10089,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
9286
10089
  href,
9287
10090
  isDisabled
9288
10091
  } = props,
9289
- forwardedProps = _objectWithoutProperties(props, _excluded$6);
10092
+ forwardedProps = _objectWithoutProperties(props, _excluded$7);
9290
10093
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
9291
10094
  "aria-disabled": isDisabled,
9292
10095
  role: "link",
@@ -9298,14 +10101,14 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
9298
10101
  ref: ref
9299
10102
  }), children);
9300
10103
  });
9301
- Link.className = CLASSNAME$6;
9302
- Link.defaultProps = DEFAULT_PROPS$6;
9303
- Link.displayName = COMPONENT_NAME$6;
10104
+ Link.className = CLASSNAME$7;
10105
+ Link.defaultProps = DEFAULT_PROPS$7;
10106
+ Link.displayName = COMPONENT_NAME$7;
9304
10107
 
9305
- const _excluded$5 = ["children", "className", "disabled", "isDisabled", "onPress"];
9306
- const COMPONENT_NAME$5 = 'LinkButton';
9307
- const CLASSNAME$5 = 'redsift-link-button';
9308
- const DEFAULT_PROPS$5 = {};
10108
+ const _excluded$6 = ["children", "className", "disabled", "isDisabled", "onPress"];
10109
+ const COMPONENT_NAME$6 = 'LinkButton';
10110
+ const CLASSNAME$6 = 'redsift-link-button';
10111
+ const DEFAULT_PROPS$6 = {};
9309
10112
 
9310
10113
  /**
9311
10114
  * The LinkButton is a semantic button that looks like a link.
@@ -9330,7 +10133,7 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9330
10133
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9331
10134
  onPress
9332
10135
  } = props,
9333
- forwardedProps = _objectWithoutProperties(props, _excluded$5);
10136
+ forwardedProps = _objectWithoutProperties(props, _excluded$6);
9334
10137
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
9335
10138
  as: "button"
9336
10139
  }, forwardedProps, buttonProps, {
@@ -9343,9 +10146,9 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9343
10146
  ref: buttonRef
9344
10147
  }), children);
9345
10148
  });
9346
- LinkButton.className = CLASSNAME$5;
9347
- LinkButton.defaultProps = DEFAULT_PROPS$5;
9348
- LinkButton.displayName = COMPONENT_NAME$5;
10149
+ LinkButton.className = CLASSNAME$6;
10150
+ LinkButton.defaultProps = DEFAULT_PROPS$6;
10151
+ LinkButton.displayName = COMPONENT_NAME$6;
9349
10152
 
9350
10153
  /**
9351
10154
  * Component style.
@@ -9354,10 +10157,10 @@ const StyledNumber = styled(StyledText)`
9354
10157
  font-family: var(--redsift-typography-font-family-source-code-pro);
9355
10158
  `;
9356
10159
 
9357
- const _excluded$4 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "lineHeight", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "value", "variant"];
9358
- const COMPONENT_NAME$4 = 'Number';
9359
- const CLASSNAME$4 = 'redsift-number';
9360
- const DEFAULT_PROPS$4 = {
10160
+ const _excluded$5 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "lineHeight", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "value", "variant"];
10161
+ const COMPONENT_NAME$5 = 'Number';
10162
+ const CLASSNAME$5 = 'redsift-number';
10163
+ const DEFAULT_PROPS$5 = {
9361
10164
  compactDisplay: 'short',
9362
10165
  currencyDisplay: 'symbol',
9363
10166
  currencySign: 'standard',
@@ -9406,7 +10209,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9406
10209
  value,
9407
10210
  variant
9408
10211
  } = props,
9409
- forwardedProps = _objectWithoutProperties(props, _excluded$4);
10212
+ forwardedProps = _objectWithoutProperties(props, _excluded$5);
9410
10213
  const formatter = useNumberFormatter(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
9411
10214
  compactDisplay,
9412
10215
  currency,
@@ -9453,9 +10256,9 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9453
10256
  $variant: variant
9454
10257
  }), formatter.format(value));
9455
10258
  });
9456
- Number$1.className = CLASSNAME$4;
9457
- Number$1.defaultProps = DEFAULT_PROPS$4;
9458
- Number$1.displayName = COMPONENT_NAME$4;
10259
+ Number$1.className = CLASSNAME$5;
10260
+ Number$1.defaultProps = DEFAULT_PROPS$5;
10261
+ Number$1.displayName = COMPONENT_NAME$5;
9459
10262
 
9460
10263
  /**
9461
10264
  * Context props.
@@ -9549,10 +10352,10 @@ const StyledRadioGroup = styled.div`
9549
10352
  }
9550
10353
  `;
9551
10354
 
9552
- const _excluded$3 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
9553
- const COMPONENT_NAME$3 = 'RadioGroup';
9554
- const CLASSNAME$3 = 'redsift-radio-group';
9555
- const DEFAULT_PROPS$3 = {
10355
+ const _excluded$4 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
10356
+ const COMPONENT_NAME$4 = 'RadioGroup';
10357
+ const CLASSNAME$4 = 'redsift-radio-group';
10358
+ const DEFAULT_PROPS$4 = {
9556
10359
  color: ColorPalette.default,
9557
10360
  orientation: RadioGroupOrientation.vertical
9558
10361
  };
@@ -9577,7 +10380,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9577
10380
  possibleValues,
9578
10381
  value
9579
10382
  } = props,
9580
- forwardedProps = _objectWithoutProperties(props, _excluded$3);
10383
+ forwardedProps = _objectWithoutProperties(props, _excluded$4);
9581
10384
  const [selectedValue, setValue] = useState(value || defaultValue || '');
9582
10385
  useEffect(() => {
9583
10386
  if (value) {
@@ -9619,9 +10422,9 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9619
10422
  className: `${RadioGroup.className}-description`
9620
10423
  }, description));
9621
10424
  });
9622
- RadioGroup.className = CLASSNAME$3;
9623
- RadioGroup.defaultProps = DEFAULT_PROPS$3;
9624
- RadioGroup.displayName = COMPONENT_NAME$3;
10425
+ RadioGroup.className = CLASSNAME$4;
10426
+ RadioGroup.defaultProps = DEFAULT_PROPS$4;
10427
+ RadioGroup.displayName = COMPONENT_NAME$4;
9625
10428
 
9626
10429
  /**
9627
10430
  * Component style.
@@ -9730,10 +10533,10 @@ const StyledRadio = styled.label`
9730
10533
  }
9731
10534
  `;
9732
10535
 
9733
- const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9734
- const COMPONENT_NAME$2 = 'Radio';
9735
- const CLASSNAME$2 = 'redsift-radio';
9736
- const DEFAULT_PROPS$2 = {
10536
+ const _excluded$3 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
10537
+ const COMPONENT_NAME$3 = 'Radio';
10538
+ const CLASSNAME$3 = 'redsift-radio';
10539
+ const DEFAULT_PROPS$3 = {
9737
10540
  isColored: true
9738
10541
  };
9739
10542
 
@@ -9764,7 +10567,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9764
10567
  onChange,
9765
10568
  value
9766
10569
  } = props,
9767
- forwardedProps = _objectWithoutProperties(props, _excluded$2);
10570
+ forwardedProps = _objectWithoutProperties(props, _excluded$3);
9768
10571
  const {
9769
10572
  isFocusVisible,
9770
10573
  focusProps
@@ -9823,6 +10626,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9823
10626
  "aria-labelledby": ariaLabelledby,
9824
10627
  "aria-readonly": isReadOnly,
9825
10628
  "aria-required": isRequired,
10629
+ autoFocus: autoFocus,
9826
10630
  checked: isSelected ? true : false,
9827
10631
  disabled: isDisabled,
9828
10632
  name: name,
@@ -9838,9 +10642,9 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9838
10642
  className: "label"
9839
10643
  }, children) : null);
9840
10644
  });
9841
- Radio.className = CLASSNAME$2;
9842
- Radio.defaultProps = DEFAULT_PROPS$2;
9843
- Radio.displayName = COMPONENT_NAME$2;
10645
+ Radio.className = CLASSNAME$3;
10646
+ Radio.defaultProps = DEFAULT_PROPS$3;
10647
+ Radio.displayName = COMPONENT_NAME$3;
9844
10648
 
9845
10649
  const SwitchGroupContext = /*#__PURE__*/React__default.createContext(null);
9846
10650
 
@@ -10003,10 +10807,10 @@ const StyledSwitch = styled.label`
10003
10807
  }}
10004
10808
  `;
10005
10809
 
10006
- const _excluded$1 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
10007
- const COMPONENT_NAME$1 = 'Switch';
10008
- const CLASSNAME$1 = 'redsift-switch';
10009
- const DEFAULT_PROPS$1 = {
10810
+ const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
10811
+ const COMPONENT_NAME$2 = 'Switch';
10812
+ const CLASSNAME$2 = 'redsift-switch';
10813
+ const DEFAULT_PROPS$2 = {
10010
10814
  isColored: true
10011
10815
  };
10012
10816
 
@@ -10037,7 +10841,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10037
10841
  onChange,
10038
10842
  value
10039
10843
  } = props,
10040
- forwardedProps = _objectWithoutProperties(props, _excluded$1);
10844
+ forwardedProps = _objectWithoutProperties(props, _excluded$2);
10041
10845
  const {
10042
10846
  isFocusVisible,
10043
10847
  focusProps
@@ -10100,6 +10904,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10100
10904
  "aria-labelledby": ariaLabelledby,
10101
10905
  "aria-readonly": isReadOnly,
10102
10906
  "aria-required": isRequired,
10907
+ autoFocus: autoFocus,
10103
10908
  checked: isSelected ? true : false,
10104
10909
  disabled: isDisabled,
10105
10910
  name: name,
@@ -10122,9 +10927,9 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10122
10927
  className: "label"
10123
10928
  }, children) : null);
10124
10929
  });
10125
- Switch.className = CLASSNAME$1;
10126
- Switch.defaultProps = DEFAULT_PROPS$1;
10127
- Switch.displayName = COMPONENT_NAME$1;
10930
+ Switch.className = CLASSNAME$2;
10931
+ Switch.defaultProps = DEFAULT_PROPS$2;
10932
+ Switch.displayName = COMPONENT_NAME$2;
10128
10933
 
10129
10934
  /**
10130
10935
  * Context props.
@@ -10216,10 +11021,10 @@ const StyledSwitchGroup = styled.div`
10216
11021
  }
10217
11022
  `;
10218
11023
 
10219
- const _excluded = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
10220
- const COMPONENT_NAME = 'SwitchGroup';
10221
- const CLASSNAME = 'redsift-checkbox-group';
10222
- const DEFAULT_PROPS = {
11024
+ const _excluded$1 = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
11025
+ const COMPONENT_NAME$1 = 'SwitchGroup';
11026
+ const CLASSNAME$1 = 'redsift-checkbox-group';
11027
+ const DEFAULT_PROPS$1 = {
10223
11028
  color: ColorPalette.default,
10224
11029
  orientation: SwitchGroupOrientation.vertical
10225
11030
  };
@@ -10244,7 +11049,7 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
10244
11049
  possibleValues,
10245
11050
  value
10246
11051
  } = props,
10247
- forwardedProps = _objectWithoutProperties(props, _excluded);
11052
+ forwardedProps = _objectWithoutProperties(props, _excluded$1);
10248
11053
  const [selectedValues, setValue] = useState(value || defaultValues || []);
10249
11054
  useEffect(() => {
10250
11055
  if (value) {
@@ -10298,9 +11103,305 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
10298
11103
  className: `${SwitchGroup.className}-description`
10299
11104
  }, description));
10300
11105
  });
10301
- SwitchGroup.className = CLASSNAME;
10302
- SwitchGroup.defaultProps = DEFAULT_PROPS;
10303
- SwitchGroup.displayName = COMPONENT_NAME;
11106
+ SwitchGroup.className = CLASSNAME$1;
11107
+ SwitchGroup.defaultProps = DEFAULT_PROPS$1;
11108
+ SwitchGroup.displayName = COMPONENT_NAME$1;
11109
+
11110
+ /**
11111
+ * Component variant.
11112
+ */
11113
+ const TextFieldVariant = {
11114
+ default: 'default',
11115
+ underline: 'underline'
11116
+ };
11117
+
11118
+ /**
11119
+ * Component style.
11120
+ */
11121
+ const StyledTextField = styled.div`
11122
+ height: fit-content;
11123
+ position: relative;
11124
+ width: fit-content;
11125
+ ${baseStyling}
11126
+
11127
+ border: 0;
11128
+ display: inline-flex;
11129
+ flex-direction: column;
11130
+ margin: 0;
11131
+ min-width: 0;
11132
+ padding: 0;
11133
+ vertical-align: top;
11134
+
11135
+ ${_ref => {
11136
+ let {
11137
+ $hasContent,
11138
+ $isFocused,
11139
+ $isDisabled,
11140
+ $isInvalid,
11141
+ $isColored,
11142
+ $variant
11143
+ } = _ref;
11144
+ return css`
11145
+ .redsift-text-field__label {
11146
+ font-family: var(--redsift-typography-input-text-font-family);
11147
+ font-size: var(--redsift-typography-input-text-font-size);
11148
+ font-weight: var(--redsift-typography-input-text-font-weight);
11149
+ line-height: var(--redsift-typography-input-text-line-height);
11150
+ left: 0;
11151
+ overflow: hidden;
11152
+ pointer-events: none;
11153
+ position: absolute;
11154
+ text-overflow: ellipsis;
11155
+ top: -8px;
11156
+ transform-origin: top left;
11157
+ transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
11158
+ transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms,
11159
+ max-width 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
11160
+ white-space: nowrap;
11161
+ z-index: 1;
11162
+
11163
+ ${!$hasContent ? css`
11164
+ max-width: calc(100% - 24px);
11165
+ transform: translate(
11166
+ ${$variant === TextFieldVariant.underline ? '0px' : '14px'},
11167
+ 16px
11168
+ )
11169
+ scale(1);
11170
+ ` : css`
11171
+ font-family: var(--redsift-typography-body2-font-family);
11172
+ font-size: var(--redsift-typography-body2-font-size);
11173
+ font-weight: var(--redsift-typography-body2-font-weight);
11174
+ max-width: calc(133% - 32px);
11175
+ transform: translate(
11176
+ ${$variant === TextFieldVariant.underline ? '0px' : '14px'},
11177
+ -1px
11178
+ )
11179
+ scale(0.75);
11180
+ `}
11181
+
11182
+ ${$isDisabled ? css`
11183
+ color: var(--redsift-color-neutral-midgrey);
11184
+ ` : $isInvalid ? css`
11185
+ color: var(--redsift-color-error-primary);
11186
+ ` : $isFocused ? css`
11187
+ color: var(
11188
+ --redsift-color-${$isColored ? 'default' : 'question'}-primary
11189
+ );
11190
+ ` : css`
11191
+ color: var(--redsift-color-neutral-darkgrey);
11192
+ `}
11193
+ }
11194
+
11195
+ .redsift-text-field__input-wrapper {
11196
+ align-items: center;
11197
+ box-sizing: border-box;
11198
+ cursor: text;
11199
+ display: inline-flex;
11200
+ position: relative;
11201
+ position: relative;
11202
+ }
11203
+
11204
+ .redsift-text-field-input-wrapper__input {
11205
+ background: none;
11206
+ border: 0;
11207
+ box-sizing: content-box;
11208
+ display: block;
11209
+ font-family: var(--redsift-typography-input-text-font-family);
11210
+ font-size: var(--redsift-typography-input-text-font-size);
11211
+ font-weight: var(--redsift-typography-input-text-font-weight);
11212
+ line-height: var(--redsift-typography-input-text-line-height);
11213
+ min-width: 0;
11214
+ padding-bottom: 6px;
11215
+
11216
+ ${$variant !== TextFieldVariant.underline ? css`
11217
+ padding-left: 16px;
11218
+ ` : ''}
11219
+ padding-top: 10px;
11220
+ width: 100%;
11221
+
11222
+ ${$isDisabled ? css`
11223
+ color: var(--redsift-color-neutral-midgrey);
11224
+ ` : css`
11225
+ color: var(--redsift-color-neutral-black);
11226
+ `}
11227
+ }
11228
+
11229
+ .redsift-text-field-input-wrapper__input::placeholder {
11230
+ color: var(--redsift-color-neutral-midgrey);
11231
+ }
11232
+
11233
+ .redsift-text-field-input-wrapper__input:focus {
11234
+ outline: 0;
11235
+ }
11236
+
11237
+ .redsift-text-field-input-wrapper__fieldset {
11238
+ border-radius: inherit;
11239
+ border-style: solid;
11240
+ bottom: 0;
11241
+ left: 0;
11242
+ margin: 0;
11243
+ min-width: 0%;
11244
+ overflow: hidden;
11245
+ padding: 0 8px;
11246
+ pointer-events: none;
11247
+ position: absolute;
11248
+ right: 0;
11249
+ text-align: left;
11250
+ top: -5px;
11251
+
11252
+ ${$variant === TextFieldVariant.underline ? css`
11253
+ border-bottom-width: 2px;
11254
+ ` : css`
11255
+ border-width: 2px;
11256
+ `}
11257
+
11258
+ ${$isDisabled ? css`
11259
+ border-color: var(--redsift-color-neutral-midgrey);
11260
+ ` : $isInvalid ? css`
11261
+ border-color: var(--redsift-color-error-primary);
11262
+ ` : $isFocused ? css`
11263
+ border-color: var(
11264
+ --redsift-color-${$isColored ? 'default' : 'question'}-primary
11265
+ );
11266
+ ` : css`
11267
+ border-color: var(--redsift-color-neutral-midgrey);
11268
+ `}
11269
+ }
11270
+
11271
+ .redsift-text-field-input-wrapper-fieldset__legend {
11272
+ display: block;
11273
+ float: unset;
11274
+ font-size: 0.7em;
11275
+ height: 11px;
11276
+ overflow: hidden;
11277
+ padding: 0;
11278
+ visibility: hidden;
11279
+ white-space: nowrap;
11280
+ width: auto;
11281
+
11282
+ ${!$hasContent ? css`
11283
+ max-width: 0.01px;
11284
+ transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1) 0ms;
11285
+ ` : css`
11286
+ max-width: 100%;
11287
+ transition: max-width 100ms cubic-bezier(0, 0, 0.2, 1) 50ms;
11288
+ `}
11289
+ }
11290
+
11291
+ .redsift-text-field-input-wrapper-fieldset__legend > span {
11292
+ display: inline-block;
11293
+ opacity: 0;
11294
+ padding-left: 5px;
11295
+ padding-right: 5px;
11296
+ visibility: visible;
11297
+ }
11298
+ `;
11299
+ }}
11300
+ `;
11301
+
11302
+ const _excluded = ["aria-label", "aria-labelledby", "autoFocus", "className", "defaultValue", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "name", "onChange", "placeholder", "value", "variant"];
11303
+ const COMPONENT_NAME = 'TextField';
11304
+ const CLASSNAME = 'redsift-text-field';
11305
+ const DEFAULT_PROPS = {
11306
+ defaultValue: '',
11307
+ isColored: true,
11308
+ variant: TextFieldVariant.default
11309
+ };
11310
+
11311
+ /**
11312
+ * The TextField component.
11313
+ * Can be used as controlled or uncontrolled.
11314
+ */
11315
+ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
11316
+ const {
11317
+ 'aria-label': ariaLabel,
11318
+ 'aria-labelledby': ariaLabelledby,
11319
+ autoFocus,
11320
+ className,
11321
+ defaultValue,
11322
+ inputProps,
11323
+ inputRef,
11324
+ isColored,
11325
+ isDisabled,
11326
+ isInvalid,
11327
+ isReadOnly,
11328
+ isRequired,
11329
+ label,
11330
+ name,
11331
+ onChange,
11332
+ placeholder,
11333
+ value: propsValue,
11334
+ variant
11335
+ } = props,
11336
+ forwardedProps = _objectWithoutProperties(props, _excluded);
11337
+ const {
11338
+ isFocusVisible,
11339
+ isFocused,
11340
+ focusProps
11341
+ } = useFocusRing({
11342
+ autoFocus
11343
+ });
11344
+ const [isFocusWithin, setFocusWithin] = useState(Boolean(autoFocus));
11345
+ const {
11346
+ focusWithinProps
11347
+ } = useFocusWithin({
11348
+ onFocusWithinChange: isFocusWithin => setFocusWithin(isFocusWithin)
11349
+ });
11350
+ const [value, setValue] = useState(propsValue !== null && propsValue !== void 0 ? propsValue : defaultValue);
11351
+ useEffect(() => {
11352
+ setValue(propsValue !== null && propsValue !== void 0 ? propsValue : defaultValue);
11353
+ }, [propsValue, defaultValue]);
11354
+ warnIfNoAccessibleLabelFound(props, [label]);
11355
+ const handleChange = useCallback(event => {
11356
+ if (isDisabled || isReadOnly) {
11357
+ return;
11358
+ }
11359
+ if (onChange) {
11360
+ onChange(event.target.value, name, event);
11361
+ }
11362
+ setValue(event.target.value);
11363
+ }, [onChange]);
11364
+ return /*#__PURE__*/React__default.createElement(StyledTextField, _extends$1({}, focusWithinProps, forwardedProps, {
11365
+ $hasContent: isFocusWithin || Boolean(value) || Boolean(placeholder),
11366
+ $isColored: isColored,
11367
+ $isDisabled: isDisabled,
11368
+ $isFocusVisible: isFocusVisible,
11369
+ $isInvalid: isInvalid || isRequired && !value,
11370
+ $isRequired: isRequired,
11371
+ $isFocused: isFocused,
11372
+ $variant: variant,
11373
+ className: classNames(TextField.className, className),
11374
+ ref: ref
11375
+ }), label ? /*#__PURE__*/React__default.createElement("label", {
11376
+ className: `${TextField.className}__label`
11377
+ }, /*#__PURE__*/React__default.createElement("span", null, label)) : null, /*#__PURE__*/React__default.createElement("div", {
11378
+ className: `${TextField.className}__input-wrapper`
11379
+ }, /*#__PURE__*/React__default.createElement("input", _extends$1({}, inputProps, focusProps, {
11380
+ "aria-disabled": isDisabled,
11381
+ "aria-invalid": isInvalid || isRequired && !value,
11382
+ "aria-label": ariaLabel,
11383
+ "aria-labelledby": ariaLabelledby,
11384
+ "aria-readonly": isReadOnly,
11385
+ "aria-required": isRequired,
11386
+ autoFocus: autoFocus,
11387
+ className: `${TextField.className}-input-wrapper__input`,
11388
+ disabled: isDisabled,
11389
+ name: name,
11390
+ onChange: handleChange,
11391
+ placeholder: placeholder,
11392
+ ref: inputRef,
11393
+ type: "text",
11394
+ value: value
11395
+ })), label ? /*#__PURE__*/React__default.createElement("fieldset", {
11396
+ "aria-hidden": "true",
11397
+ className: `${TextField.className}-input-wrapper__fieldset`
11398
+ }, /*#__PURE__*/React__default.createElement("legend", {
11399
+ className: `${TextField.className}-input-wrapper-fieldset__legend`
11400
+ }, /*#__PURE__*/React__default.createElement("span", null, label))) : null));
11401
+ });
11402
+ TextField.className = CLASSNAME;
11403
+ TextField.defaultProps = DEFAULT_PROPS;
11404
+ TextField.displayName = COMPONENT_NAME;
10304
11405
 
10305
- export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorCyanDark, RedsiftDataVizColorCyanDarker, RedsiftDataVizColorCyanDefault, RedsiftDataVizColorCyanLight, RedsiftDataVizColorCyanLighter, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextVariant, filterComponents, isComponent, partitionComponents, useAppSidePanel, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
11406
+ export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorCyanDark, RedsiftDataVizColorCyanDarker, RedsiftDataVizColorCyanDefault, RedsiftDataVizColorCyanLight, RedsiftDataVizColorCyanLighter, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextField, TextFieldVariant, TextVariant, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, isComponent, partitionComponents, useAppSidePanel, useBoundingClientRect, $325a3faab7a68acd$export$a16aca283550c30d as useCollator, $896ba0a80a8f4d36$export$85fd5fdf27bacc79 as useDateFormatter, $bb77f239b46e8c72$export$3274cf84b703fff as useFilter, $704cf1d3b684cc5c$export$535bd6ca7f90a273 as useIsSSR, $33bf17300c498528$export$a2f47a3d2973640 as useListFormatter, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as useLocale, $fca6afa0e843324b$export$f12b703ca79dfbb1 as useLocalizedStringFormatter, $a916eb452884faea$export$b7a616150fdb9f44 as useNumberFormatter, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
10306
11407
  //# sourceMappingURL=index.js.map