@redsift/design-system 7.7.0-alpha.3 → 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.
@@ -2231,9 +3043,15 @@ const StyledSideNavigationMenuItem = styled.a`
2231
3043
  $isDisabled
2232
3044
  } = _ref;
2233
3045
  return !$isDisabled ? css`
2234
- color: var(--redsift-side-navigation-color-menu-item-text-resting);
3046
+ &,
3047
+ .redsift-icon.first {
3048
+ color: var(--redsift-side-navigation-color-menu-item-text-resting);
3049
+ }
2235
3050
  ` : css`
2236
- color: var(--redsift-side-navigation-color-menu-item-text-disabled);
3051
+ &,
3052
+ .redsift-icon.first {
3053
+ color: var(--redsift-side-navigation-color-menu-item-text-disabled);
3054
+ }
2237
3055
  `;
2238
3056
  }}
2239
3057
  align-items: center;
@@ -2256,7 +3074,10 @@ const StyledSideNavigationMenuItem = styled.a`
2256
3074
  background-color: var(
2257
3075
  --redsift-side-navigation-color-menu-item-background-hover
2258
3076
  );
2259
- color: var(--redsift-side-navigation-color-menu-item-text-hover);
3077
+ &,
3078
+ .redsift-icon.first {
3079
+ color: var(--redsift-side-navigation-color-menu-item-text-hover);
3080
+ }
2260
3081
  ` : '';
2261
3082
  }}
2262
3083
  }
@@ -2268,8 +3089,8 @@ const StyledSideNavigationMenuItem = styled.a`
2268
3089
  } = _ref3;
2269
3090
  return !$isSecondLevel ? css`
2270
3091
  /**
2271
- * First-level items
2272
- */
3092
+ * First-level items
3093
+ */
2273
3094
 
2274
3095
  background-color: var(--redsift-side-navigation-color-background);
2275
3096
  padding: 8px 16px;
@@ -2413,10 +3234,10 @@ const StyledBadge = styled.div`
2413
3234
  }}
2414
3235
  `;
2415
3236
 
2416
- const _excluded$x = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
2417
- const COMPONENT_NAME$z = 'Badge';
2418
- const CLASSNAME$z = 'redsift-badge';
2419
- 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 = {
2420
3241
  color: ColorPalette.question,
2421
3242
  variant: BadgeVariant.dot
2422
3243
  };
@@ -2433,7 +3254,7 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2433
3254
  isReversed,
2434
3255
  variant
2435
3256
  } = props,
2436
- forwardedProps = _objectWithoutProperties(props, _excluded$x);
3257
+ forwardedProps = _objectWithoutProperties(props, _excluded$y);
2437
3258
  return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
2438
3259
  $autoBreak: autoBreak,
2439
3260
  $color: color,
@@ -2443,14 +3264,14 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2443
3264
  ref: ref
2444
3265
  }), variant === BadgeVariant.standard ? children : null);
2445
3266
  });
2446
- Badge.className = CLASSNAME$z;
2447
- Badge.defaultProps = DEFAULT_PROPS$z;
2448
- Badge.displayName = COMPONENT_NAME$z;
3267
+ Badge.className = CLASSNAME$A;
3268
+ Badge.defaultProps = DEFAULT_PROPS$A;
3269
+ Badge.displayName = COMPONENT_NAME$A;
2449
3270
 
2450
- const _excluded$w = ["badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "withoutIcons"];
2451
- const COMPONENT_NAME$y = 'SideNavigationMenuItem';
2452
- const CLASSNAME$y = 'redsift-side-navigation-menu-item';
2453
- 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 = {};
2454
3275
 
2455
3276
  /**
2456
3277
  * The SideNavigationMenuItem component.
@@ -2474,7 +3295,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2474
3295
  tabIndex,
2475
3296
  withoutIcons
2476
3297
  } = props,
2477
- forwardedProps = _objectWithoutProperties(props, _excluded$w);
3298
+ forwardedProps = _objectWithoutProperties(props, _excluded$x);
2478
3299
  warnIfNoAccessibleLabelFound(props, [children]);
2479
3300
  const appContainerState = useContext(AppContainerContext);
2480
3301
  useEffect(() => {
@@ -2536,9 +3357,9 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2536
3357
  color: "error"
2537
3358
  }, badgeProps), badge) : null);
2538
3359
  });
2539
- SideNavigationMenuItem.className = CLASSNAME$y;
2540
- SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$y;
2541
- SideNavigationMenuItem.displayName = COMPONENT_NAME$y;
3360
+ SideNavigationMenuItem.className = CLASSNAME$z;
3361
+ SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$z;
3362
+ SideNavigationMenuItem.displayName = COMPONENT_NAME$z;
2542
3363
 
2543
3364
  /**
2544
3365
  * Component style.
@@ -2552,9 +3373,19 @@ const StyledSideNavigationMenu = styled.div`
2552
3373
  $isDisabled
2553
3374
  } = _ref;
2554
3375
  return !$isDisabled ? css`
2555
- color: var(--redsift-side-navigation-color-menu-item-text-resting);
3376
+ &,
3377
+ .redsift-icon.first {
3378
+ color: var(
3379
+ --redsift-side-navigation-color-menu-item-text-resting
3380
+ );
3381
+ }
2556
3382
  ` : css`
2557
- color: var(--redsift-side-navigation-color-menu-item-text-disabled);
3383
+ &,
3384
+ .redsift-icon.first {
3385
+ color: var(
3386
+ --redsift-side-navigation-color-menu-item-text-disabled
3387
+ );
3388
+ }
2558
3389
  `;
2559
3390
  }}
2560
3391
  align-items: center;
@@ -2607,12 +3438,12 @@ const StyledSideNavigationMenu = styled.div`
2607
3438
  background-color: var(
2608
3439
  --redsift-side-navigation-color-menu-item-background-hover
2609
3440
  );
2610
- color: var(--redsift-side-navigation-color-menu-item-text-hover);
2611
- cursor: pointer;
2612
-
3441
+ &,
3442
+ .redsift-icon.first,
2613
3443
  .redsift-side-navigation-menu__expand-icon {
2614
3444
  color: var(--redsift-side-navigation-color-menu-item-text-hover);
2615
3445
  }
3446
+ cursor: pointer;
2616
3447
  ` : '';
2617
3448
  }}
2618
3449
  }
@@ -2623,9 +3454,19 @@ const StyledSideNavigationMenu = styled.div`
2623
3454
  $isDisabled
2624
3455
  } = _ref3;
2625
3456
  return !$isDisabled ? css`
2626
- color: var(--redsift-side-navigation-color-menu-item-text-resting);
3457
+ &,
3458
+ .redsift-icon.first {
3459
+ color: var(
3460
+ --redsift-side-navigation-color-menu-item-text-resting
3461
+ );
3462
+ }
2627
3463
  ` : css`
2628
- color: var(--redsift-side-navigation-color-menu-item-text-disabled);
3464
+ &,
3465
+ .redsift-icon.first {
3466
+ color: var(
3467
+ --redsift-side-navigation-color-menu-item-text-disabled
3468
+ );
3469
+ }
2629
3470
  `;
2630
3471
  }}
2631
3472
  margin-left: auto;
@@ -2677,10 +3518,10 @@ const SideNavigationMenuReducer = (state, action) => {
2677
3518
  }
2678
3519
  };
2679
3520
 
2680
- const _excluded$v = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "withoutIcons"];
2681
- const COMPONENT_NAME$x = 'SideNavigationMenu';
2682
- const CLASSNAME$x = 'redsift-side-navigation-menu';
2683
- 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 = {};
2684
3525
 
2685
3526
  /**
2686
3527
  * The SideNavigationMenu component.
@@ -2703,7 +3544,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
2703
3544
  tabIndex,
2704
3545
  withoutIcons
2705
3546
  } = props,
2706
- forwardedProps = _objectWithoutProperties(props, _excluded$v);
3547
+ forwardedProps = _objectWithoutProperties(props, _excluded$w);
2707
3548
  warnIfNoAccessibleLabelFound(props);
2708
3549
  const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
2709
3550
  const [isFirstChild, setIsFirstChild] = useState(false);
@@ -2972,9 +3813,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
2972
3813
  role: "menu"
2973
3814
  }, menuItemListEventHandler), renderedMenuItems)));
2974
3815
  });
2975
- SideNavigationMenu.className = CLASSNAME$x;
2976
- SideNavigationMenu.defaultProps = DEFAULT_PROPS$x;
2977
- SideNavigationMenu.displayName = COMPONENT_NAME$x;
3816
+ SideNavigationMenu.className = CLASSNAME$y;
3817
+ SideNavigationMenu.defaultProps = DEFAULT_PROPS$y;
3818
+ SideNavigationMenu.displayName = COMPONENT_NAME$y;
2978
3819
 
2979
3820
  /**
2980
3821
  * Component style.
@@ -3032,23 +3873,10 @@ const StyledSideNavigationMenuBar = styled.nav`
3032
3873
  }
3033
3874
  `;
3034
3875
 
3035
- /**
3036
- * Get the bounding rect of a component.
3037
- */
3038
- const useBoundingClientRect = (ref, deps) => {
3039
- const [boundingRect, setBoundingRect] = useState({});
3040
- useEffect(() => {
3041
- if (ref.current) {
3042
- setBoundingRect(ref.current.getBoundingClientRect());
3043
- }
3044
- }, deps);
3045
- return boundingRect;
3046
- };
3047
-
3048
- const _excluded$u = ["aria-label", "aria-labelledby", "children", "className", "isDisabled", "menubarProps", "menubarRef", "withoutIcons"];
3049
- const COMPONENT_NAME$w = 'SideNavigationMenuBar';
3050
- const CLASSNAME$w = 'redsift-side-navigation-menu-bar';
3051
- 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 = {};
3052
3880
 
3053
3881
  /**
3054
3882
  * Hook to store the previous index for further use
@@ -3076,7 +3904,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3076
3904
  menubarRef = useRef(),
3077
3905
  withoutIcons
3078
3906
  } = props,
3079
- forwardedProps = _objectWithoutProperties(props, _excluded$u);
3907
+ forwardedProps = _objectWithoutProperties(props, _excluded$v);
3080
3908
  warnIfNoAccessibleLabelFound(props);
3081
3909
  const {
3082
3910
  top
@@ -3218,11 +4046,11 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3218
4046
  role: "menubar"
3219
4047
  }), navItems)));
3220
4048
  });
3221
- SideNavigationMenuBar.className = CLASSNAME$w;
3222
- SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$w;
3223
- SideNavigationMenuBar.displayName = COMPONENT_NAME$w;
4049
+ SideNavigationMenuBar.className = CLASSNAME$x;
4050
+ SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$x;
4051
+ SideNavigationMenuBar.displayName = COMPONENT_NAME$x;
3224
4052
 
3225
- const _excluded$t = ["title", "href", "ref"],
4053
+ const _excluded$u = ["title", "href", "ref"],
3226
4054
  _excluded2 = ["title", "children", "ref"],
3227
4055
  _excluded3 = ["title", "href", "ref"];
3228
4056
  const isMenu = item => {
@@ -3241,7 +4069,7 @@ const useSideNavigationMenuBar = _ref => {
3241
4069
  href,
3242
4070
  ref
3243
4071
  } = item,
3244
- rest = _objectWithoutProperties(item, _excluded$t);
4072
+ rest = _objectWithoutProperties(item, _excluded$u);
3245
4073
  menuBarChildren.push( /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
3246
4074
  key: title,
3247
4075
  isCurrent: isActive ? isActive(href) : undefined
@@ -3344,10 +4172,10 @@ const StyledBreadcrumbItem = styled.a`
3344
4172
  }
3345
4173
  `;
3346
4174
 
3347
- const _excluded$s = ["children", "className", "href", "isCurrent", "isDisabled"];
3348
- const COMPONENT_NAME$v = 'BreadcrumbItem';
3349
- const CLASSNAME$v = 'redsift-breadcrumb-item';
3350
- 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 = {};
3351
4179
 
3352
4180
  /**
3353
4181
  * The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3360,7 +4188,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3360
4188
  isCurrent,
3361
4189
  isDisabled
3362
4190
  } = props,
3363
- forwardedProps = _objectWithoutProperties(props, _excluded$s);
4191
+ forwardedProps = _objectWithoutProperties(props, _excluded$t);
3364
4192
  warnIfNoAccessibleLabelFound(props, [children]);
3365
4193
  return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
3366
4194
  role: "link",
@@ -3375,9 +4203,9 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3375
4203
  ref: ref
3376
4204
  }), children);
3377
4205
  });
3378
- BreadcrumbItem.className = CLASSNAME$v;
3379
- BreadcrumbItem.defaultProps = DEFAULT_PROPS$v;
3380
- BreadcrumbItem.displayName = COMPONENT_NAME$v;
4206
+ BreadcrumbItem.className = CLASSNAME$w;
4207
+ BreadcrumbItem.defaultProps = DEFAULT_PROPS$w;
4208
+ BreadcrumbItem.displayName = COMPONENT_NAME$w;
3381
4209
 
3382
4210
  /**
3383
4211
  * Component style.
@@ -3411,10 +4239,10 @@ const StyledBreadcrumbs = styled.nav`
3411
4239
  }
3412
4240
  `;
3413
4241
 
3414
- const _excluded$r = ["children", "className", "isDisabled"];
3415
- const COMPONENT_NAME$u = 'Breadcrumbs';
3416
- const CLASSNAME$u = 'redsift-breadcrumbs';
3417
- 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 = {};
3418
4246
 
3419
4247
  /**
3420
4248
  * The Breadcrumbs components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3425,7 +4253,7 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3425
4253
  className,
3426
4254
  isDisabled
3427
4255
  } = props,
3428
- forwardedProps = _objectWithoutProperties(props, _excluded$r);
4256
+ forwardedProps = _objectWithoutProperties(props, _excluded$s);
3429
4257
  warnIfNoAccessibleLabelFound(props);
3430
4258
  const childArray = filterComponents([Breadcrumbs.Item])(children);
3431
4259
  const breadcrumbItems = childArray.map((child, index) => {
@@ -3448,17 +4276,17 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3448
4276
  ref: ref
3449
4277
  }), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
3450
4278
  });
3451
- BaseBreadcrumbs.className = CLASSNAME$u;
3452
- BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$u;
3453
- BaseBreadcrumbs.displayName = COMPONENT_NAME$u;
4279
+ BaseBreadcrumbs.className = CLASSNAME$v;
4280
+ BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$v;
4281
+ BaseBreadcrumbs.displayName = COMPONENT_NAME$v;
3454
4282
  const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
3455
4283
  Item: BreadcrumbItem
3456
4284
  });
3457
4285
 
3458
- const _excluded$q = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
3459
- const COMPONENT_NAME$t = 'ButtonLink';
3460
- const CLASSNAME$t = 'redsift-button-link';
3461
- 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 = {
3462
4290
  color: ColorPalette.default,
3463
4291
  height: 'fit-content',
3464
4292
  variant: ButtonVariant.primary
@@ -3485,7 +4313,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3485
4313
  target,
3486
4314
  variant
3487
4315
  } = props,
3488
- forwardedProps = _objectWithoutProperties(props, _excluded$q);
4316
+ forwardedProps = _objectWithoutProperties(props, _excluded$r);
3489
4317
  return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
3490
4318
  as: as || 'a',
3491
4319
  role: "link",
@@ -3509,9 +4337,9 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3509
4337
  className: "right"
3510
4338
  }) : null);
3511
4339
  });
3512
- ButtonLink.className = CLASSNAME$t;
3513
- ButtonLink.defaultProps = DEFAULT_PROPS$t;
3514
- ButtonLink.displayName = COMPONENT_NAME$t;
4340
+ ButtonLink.className = CLASSNAME$u;
4341
+ ButtonLink.defaultProps = DEFAULT_PROPS$u;
4342
+ ButtonLink.displayName = COMPONENT_NAME$u;
3515
4343
 
3516
4344
  var collapse$3 = "Collapse";
3517
4345
  var expand$3 = "Expand";
@@ -3701,10 +4529,10 @@ const StyledSkeletonCircle = styled(StyledSkeleton)`
3701
4529
  }}
3702
4530
  `;
3703
4531
 
3704
- const _excluded$p = ["children", "className", "isLoaded"];
3705
- const COMPONENT_NAME$s = 'SkeletonCircle';
3706
- const CLASSNAME$s = 'redsift-skeleton-circle';
3707
- 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 = {};
3708
4536
 
3709
4537
  /**
3710
4538
  * The SkeletonCircle component.
@@ -3715,7 +4543,7 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
3715
4543
  className,
3716
4544
  isLoaded
3717
4545
  } = props,
3718
- forwardedProps = _objectWithoutProperties(props, _excluded$p);
4546
+ forwardedProps = _objectWithoutProperties(props, _excluded$q);
3719
4547
  if (isLoaded) {
3720
4548
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3721
4549
  }
@@ -3724,9 +4552,9 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
3724
4552
  ref: ref
3725
4553
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3726
4554
  });
3727
- SkeletonCircle.className = CLASSNAME$s;
3728
- SkeletonCircle.defaultProps = DEFAULT_PROPS$s;
3729
- SkeletonCircle.displayName = COMPONENT_NAME$s;
4555
+ SkeletonCircle.className = CLASSNAME$t;
4556
+ SkeletonCircle.defaultProps = DEFAULT_PROPS$t;
4557
+ SkeletonCircle.displayName = COMPONENT_NAME$t;
3730
4558
 
3731
4559
  /**
3732
4560
  * Component variant.
@@ -3778,10 +4606,10 @@ const StyledSkeletonText = styled(StyledSkeleton)`
3778
4606
  }}}
3779
4607
  `;
3780
4608
 
3781
- const _excluded$o = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
3782
- const COMPONENT_NAME$r = 'SkeletonText';
3783
- const CLASSNAME$r = 'redsift-skeleton-text';
3784
- 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 = {
3785
4613
  variant: 'body'
3786
4614
  };
3787
4615
 
@@ -3797,7 +4625,7 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
3797
4625
  lineHeight,
3798
4626
  variant
3799
4627
  } = props,
3800
- forwardedProps = _objectWithoutProperties(props, _excluded$o);
4628
+ forwardedProps = _objectWithoutProperties(props, _excluded$p);
3801
4629
  if (isLoaded) {
3802
4630
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3803
4631
  }
@@ -3809,14 +4637,14 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
3809
4637
  $variant: variant
3810
4638
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3811
4639
  });
3812
- SkeletonText.className = CLASSNAME$r;
3813
- SkeletonText.defaultProps = DEFAULT_PROPS$r;
3814
- SkeletonText.displayName = COMPONENT_NAME$r;
4640
+ SkeletonText.className = CLASSNAME$s;
4641
+ SkeletonText.defaultProps = DEFAULT_PROPS$s;
4642
+ SkeletonText.displayName = COMPONENT_NAME$s;
3815
4643
 
3816
- const _excluded$n = ["children", "className", "isLoaded"];
3817
- const COMPONENT_NAME$q = 'Skeleton';
3818
- const CLASSNAME$q = 'redsift-skeleton';
3819
- 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 = {};
3820
4648
 
3821
4649
  /**
3822
4650
  * The Skeleton component.
@@ -3827,7 +4655,7 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
3827
4655
  className,
3828
4656
  isLoaded
3829
4657
  } = props,
3830
- forwardedProps = _objectWithoutProperties(props, _excluded$n);
4658
+ forwardedProps = _objectWithoutProperties(props, _excluded$o);
3831
4659
  if (isLoaded) {
3832
4660
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3833
4661
  }
@@ -3836,18 +4664,18 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
3836
4664
  ref: ref
3837
4665
  }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3838
4666
  });
3839
- BaseSkeleton.className = CLASSNAME$q;
3840
- BaseSkeleton.defaultProps = DEFAULT_PROPS$q;
3841
- BaseSkeleton.displayName = COMPONENT_NAME$q;
4667
+ BaseSkeleton.className = CLASSNAME$r;
4668
+ BaseSkeleton.defaultProps = DEFAULT_PROPS$r;
4669
+ BaseSkeleton.displayName = COMPONENT_NAME$r;
3842
4670
  const Skeleton = Object.assign(BaseSkeleton, {
3843
4671
  Circle: SkeletonCircle,
3844
4672
  Text: SkeletonText
3845
4673
  });
3846
4674
 
3847
- const _excluded$m = ["children", "className", "header", "headingProps", "icon", "isLoading", "subheader"];
3848
- const COMPONENT_NAME$p = 'CardHeader';
3849
- const CLASSNAME$p = 'redsift-card-header';
3850
- 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 = {};
3851
4679
 
3852
4680
  /**
3853
4681
  * The CardHeader component.
@@ -3862,7 +4690,7 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3862
4690
  isLoading,
3863
4691
  subheader
3864
4692
  } = props,
3865
- forwardedProps = _objectWithoutProperties(props, _excluded$m);
4693
+ forwardedProps = _objectWithoutProperties(props, _excluded$n);
3866
4694
  return /*#__PURE__*/React__default.createElement(StyledCardHeader, _extends$1({}, forwardedProps, {
3867
4695
  className: classNames(CardHeader.className, className),
3868
4696
  ref: ref
@@ -3886,9 +4714,9 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3886
4714
  "aria-hidden": "true"
3887
4715
  }) : null, header)) : null, children);
3888
4716
  });
3889
- CardHeader.className = CLASSNAME$p;
3890
- CardHeader.defaultProps = DEFAULT_PROPS$p;
3891
- CardHeader.displayName = COMPONENT_NAME$p;
4717
+ CardHeader.className = CLASSNAME$q;
4718
+ CardHeader.defaultProps = DEFAULT_PROPS$q;
4719
+ CardHeader.displayName = COMPONENT_NAME$q;
3892
4720
 
3893
4721
  /**
3894
4722
  * Component style.
@@ -3904,10 +4732,10 @@ const StyledCardBody = styled.div`
3904
4732
  padding: 16px 0px;
3905
4733
  `;
3906
4734
 
3907
- const _excluded$l = ["children", "className"];
3908
- const COMPONENT_NAME$o = 'CardBody';
3909
- const CLASSNAME$o = 'redsift-card-body';
3910
- 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 = {};
3911
4739
 
3912
4740
  /**
3913
4741
  * The CardBody component.
@@ -3917,15 +4745,15 @@ const CardBody = /*#__PURE__*/forwardRef((props, ref) => {
3917
4745
  children,
3918
4746
  className
3919
4747
  } = props,
3920
- forwardedProps = _objectWithoutProperties(props, _excluded$l);
4748
+ forwardedProps = _objectWithoutProperties(props, _excluded$m);
3921
4749
  return /*#__PURE__*/React__default.createElement(StyledCardBody, _extends$1({}, forwardedProps, {
3922
4750
  className: classNames(CardBody.className, className),
3923
4751
  ref: ref
3924
4752
  }), children);
3925
4753
  });
3926
- CardBody.className = CLASSNAME$o;
3927
- CardBody.defaultProps = DEFAULT_PROPS$o;
3928
- CardBody.displayName = COMPONENT_NAME$o;
4754
+ CardBody.className = CLASSNAME$p;
4755
+ CardBody.defaultProps = DEFAULT_PROPS$p;
4756
+ CardBody.displayName = COMPONENT_NAME$p;
3929
4757
 
3930
4758
  /**
3931
4759
  * Component style.
@@ -3937,10 +4765,10 @@ const StyledCardActions = styled.div`
3937
4765
  margin-bottom: 8px;
3938
4766
  `;
3939
4767
 
3940
- const _excluded$k = ["children", "className"];
3941
- const COMPONENT_NAME$n = 'CardActions';
3942
- const CLASSNAME$n = 'redsift-card-actions';
3943
- 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 = {
3944
4772
  display: 'flex',
3945
4773
  flexDirection: 'row'
3946
4774
  };
@@ -3953,20 +4781,20 @@ const CardActions = /*#__PURE__*/forwardRef((props, ref) => {
3953
4781
  children,
3954
4782
  className
3955
4783
  } = props,
3956
- forwardedProps = _objectWithoutProperties(props, _excluded$k);
4784
+ forwardedProps = _objectWithoutProperties(props, _excluded$l);
3957
4785
  return /*#__PURE__*/React__default.createElement(StyledCardActions, _extends$1({}, forwardedProps, {
3958
4786
  className: classNames(CardActions.className, className),
3959
4787
  ref: ref
3960
4788
  }), children);
3961
4789
  });
3962
- CardActions.className = CLASSNAME$n;
3963
- CardActions.defaultProps = DEFAULT_PROPS$n;
3964
- CardActions.displayName = COMPONENT_NAME$n;
4790
+ CardActions.className = CLASSNAME$o;
4791
+ CardActions.defaultProps = DEFAULT_PROPS$o;
4792
+ CardActions.displayName = COMPONENT_NAME$o;
3965
4793
 
3966
- const _excluded$j = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
3967
- const COMPONENT_NAME$m = 'Card';
3968
- const CLASSNAME$m = 'redsift-card';
3969
- 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 = {};
3970
4798
 
3971
4799
  /**
3972
4800
  * The Card component.
@@ -3980,7 +4808,7 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
3980
4808
  isCollapsible,
3981
4809
  onCollapse
3982
4810
  } = props,
3983
- forwardedProps = _objectWithoutProperties(props, _excluded$j);
4811
+ forwardedProps = _objectWithoutProperties(props, _excluded$k);
3984
4812
  const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
3985
4813
  const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
3986
4814
  useEffect(() => {
@@ -4011,9 +4839,9 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
4011
4839
  className: `${BaseCard.className}__content`
4012
4840
  }, body, actions) : null);
4013
4841
  });
4014
- BaseCard.className = CLASSNAME$m;
4015
- BaseCard.defaultProps = DEFAULT_PROPS$m;
4016
- BaseCard.displayName = COMPONENT_NAME$m;
4842
+ BaseCard.className = CLASSNAME$n;
4843
+ BaseCard.defaultProps = DEFAULT_PROPS$n;
4844
+ BaseCard.displayName = COMPONENT_NAME$n;
4017
4845
  const Card = Object.assign(BaseCard, {
4018
4846
  Header: CardHeader,
4019
4847
  Body: CardBody,
@@ -4112,10 +4940,10 @@ const StyledCheckboxGroup = styled.div`
4112
4940
  }
4113
4941
  `;
4114
4942
 
4115
- const _excluded$i = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
4116
- const COMPONENT_NAME$l = 'CheckboxGroup';
4117
- const CLASSNAME$l = 'redsift-checkbox-group';
4118
- 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 = {
4119
4947
  color: ColorPalette.default,
4120
4948
  orientation: CheckboxGroupOrientation.vertical
4121
4949
  };
@@ -4140,7 +4968,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
4140
4968
  possibleValues,
4141
4969
  value
4142
4970
  } = props,
4143
- forwardedProps = _objectWithoutProperties(props, _excluded$i);
4971
+ forwardedProps = _objectWithoutProperties(props, _excluded$j);
4144
4972
  const [selectedValues, setValue] = useState(value || defaultValues || []);
4145
4973
  useEffect(() => {
4146
4974
  if (value) {
@@ -4194,9 +5022,9 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
4194
5022
  className: `${CheckboxGroup.className}-description`
4195
5023
  }, description));
4196
5024
  });
4197
- CheckboxGroup.className = CLASSNAME$l;
4198
- CheckboxGroup.defaultProps = DEFAULT_PROPS$l;
4199
- CheckboxGroup.displayName = COMPONENT_NAME$l;
5025
+ CheckboxGroup.className = CLASSNAME$m;
5026
+ CheckboxGroup.defaultProps = DEFAULT_PROPS$m;
5027
+ CheckboxGroup.displayName = COMPONENT_NAME$m;
4200
5028
 
4201
5029
  /**
4202
5030
  * Component style.
@@ -4303,10 +5131,10 @@ const StyledCheckbox = styled.label`
4303
5131
  }
4304
5132
  `;
4305
5133
 
4306
- const _excluded$h = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isControlled", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
4307
- const COMPONENT_NAME$k = 'Checkbox';
4308
- const CLASSNAME$k = 'redsift-checkbox';
4309
- 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 = {
4310
5138
  isColored: true
4311
5139
  };
4312
5140
 
@@ -4339,7 +5167,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4339
5167
  onChange,
4340
5168
  value
4341
5169
  } = props,
4342
- forwardedProps = _objectWithoutProperties(props, _excluded$h);
5170
+ forwardedProps = _objectWithoutProperties(props, _excluded$i);
4343
5171
  const {
4344
5172
  isFocusVisible,
4345
5173
  focusProps
@@ -4402,6 +5230,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4402
5230
  "aria-labelledby": ariaLabelledby,
4403
5231
  "aria-readonly": isReadOnly,
4404
5232
  "aria-required": isRequired,
5233
+ autoFocus: autoFocus,
4405
5234
  checked: isSelected ? true : false,
4406
5235
  disabled: isDisabled,
4407
5236
  name: name,
@@ -4419,9 +5248,9 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4419
5248
  className: "label"
4420
5249
  }, children) : null);
4421
5250
  });
4422
- Checkbox.className = CLASSNAME$k;
4423
- Checkbox.defaultProps = DEFAULT_PROPS$k;
4424
- Checkbox.displayName = COMPONENT_NAME$k;
5251
+ Checkbox.className = CLASSNAME$l;
5252
+ Checkbox.defaultProps = DEFAULT_PROPS$l;
5253
+ Checkbox.displayName = COMPONENT_NAME$l;
4425
5254
 
4426
5255
  const ConditionalWrapper = _ref => {
4427
5256
  let {
@@ -4531,10 +5360,10 @@ const StyledShield = styled.div`
4531
5360
  }}
4532
5361
  `;
4533
5362
 
4534
- const _excluded$g = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
4535
- const COMPONENT_NAME$j = 'Shield';
4536
- const CLASSNAME$j = 'redsift-shield';
4537
- 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 = {
4538
5367
  variant: ShieldVariant.success
4539
5368
  };
4540
5369
  const getVariant = variant => {
@@ -4620,7 +5449,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4620
5449
  isReversed,
4621
5450
  variant
4622
5451
  } = props,
4623
- forwardedProps = _objectWithoutProperties(props, _excluded$g);
5452
+ forwardedProps = _objectWithoutProperties(props, _excluded$h);
4624
5453
  const {
4625
5454
  color,
4626
5455
  icon
@@ -4654,9 +5483,9 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4654
5483
  className: "icon"
4655
5484
  })));
4656
5485
  });
4657
- Shield.className = CLASSNAME$j;
4658
- Shield.defaultProps = DEFAULT_PROPS$j;
4659
- Shield.displayName = COMPONENT_NAME$j;
5486
+ Shield.className = CLASSNAME$k;
5487
+ Shield.defaultProps = DEFAULT_PROPS$k;
5488
+ Shield.displayName = COMPONENT_NAME$k;
4660
5489
 
4661
5490
  var collapse$1 = "Collapse details";
4662
5491
  var expand$1 = "Expand details";
@@ -4706,10 +5535,10 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
4706
5535
  }
4707
5536
  `;
4708
5537
 
4709
- const _excluded$f = ["caption", "children", "className", "hideBackground"];
4710
- const COMPONENT_NAME$i = 'DetailedCardCollapsibleSectionItems';
4711
- const CLASSNAME$i = 'redsift-detailed-card-collapsible-section-items';
4712
- 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 = {};
4713
5542
 
4714
5543
  /**
4715
5544
  * The DetailedCardCollapsibleSectionItems Section component.
@@ -4721,7 +5550,7 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4721
5550
  className,
4722
5551
  hideBackground
4723
5552
  } = props,
4724
- forwardedProps = _objectWithoutProperties(props, _excluded$f);
5553
+ forwardedProps = _objectWithoutProperties(props, _excluded$g);
4725
5554
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardCollapsibleSectionItems, _extends$1({}, forwardedProps, {
4726
5555
  className: classNames(DetailedCardCollapsibleSectionItems.className, className),
4727
5556
  ref: ref,
@@ -4730,9 +5559,9 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4730
5559
  className: `${DetailedCardCollapsibleSectionItems.className}__caption`
4731
5560
  }, caption) : null);
4732
5561
  });
4733
- DetailedCardCollapsibleSectionItems.className = CLASSNAME$i;
4734
- DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$i;
4735
- DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$i;
5562
+ DetailedCardCollapsibleSectionItems.className = CLASSNAME$j;
5563
+ DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$j;
5564
+ DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$j;
4736
5565
 
4737
5566
  /**
4738
5567
  * Component style.
@@ -4741,12 +5570,20 @@ const StyledDetailedCardSection = styled.div`
4741
5570
  margin: 8px 0;
4742
5571
 
4743
5572
  .redsift-detailed-card-section__header {
4744
- border-bottom: 1px solid var(--redsift-color-neutral-midgrey);
5573
+ border-bottom: 1px solid
5574
+ ${_ref => {
5575
+ let {
5576
+ $color
5577
+ } = _ref;
5578
+ return $color ? css`var(--redsift-color-${$color}-primary)` : 'var(--redsift-color-neutral-midgrey)';
5579
+ }};
4745
5580
  margin-bottom: 8px;
4746
5581
  }
4747
5582
 
4748
5583
  .redsift-detailed-card-section-header__title {
5584
+ font-size: 18px;
4749
5585
  font-weight: 700;
5586
+ lineheight: 22px;
4750
5587
  padding: 6px 0px;
4751
5588
  }
4752
5589
 
@@ -4755,28 +5592,28 @@ const StyledDetailedCardSection = styled.div`
4755
5592
  }
4756
5593
 
4757
5594
  .redsift-detailed-card-collapsible-section-items {
4758
- visibility: ${_ref => {
5595
+ visibility: ${_ref2 => {
4759
5596
  let {
4760
5597
  $isCollapsed
4761
- } = _ref;
5598
+ } = _ref2;
4762
5599
  return !$isCollapsed ? 'visible' : 'hidden';
4763
5600
  }};
4764
- overflow: ${_ref2 => {
5601
+ overflow: ${_ref3 => {
4765
5602
  let {
4766
5603
  $isCollapsed
4767
- } = _ref2;
5604
+ } = _ref3;
4768
5605
  return !$isCollapsed ? 'visible' : 'hidden';
4769
5606
  }};
4770
- height: ${_ref3 => {
5607
+ height: ${_ref4 => {
4771
5608
  let {
4772
5609
  $isCollapsed
4773
- } = _ref3;
5610
+ } = _ref4;
4774
5611
  return !$isCollapsed ? 'auto' : '0px';
4775
5612
  }};
4776
- ${_ref4 => {
5613
+ ${_ref5 => {
4777
5614
  let {
4778
5615
  $isCollapsed
4779
- } = _ref4;
5616
+ } = _ref5;
4780
5617
  return $isCollapsed ? css`
4781
5618
  margin: unset;
4782
5619
  padding: unset;
@@ -4902,10 +5739,10 @@ const StyledText = styled.span`
4902
5739
  }}
4903
5740
  `;
4904
5741
 
4905
- const _excluded$e = ["as", "children", "className", "color", "fontFamily", "fontSize", "lineHeight", "noWrap", "variant"];
4906
- const COMPONENT_NAME$h = 'Text';
4907
- const CLASSNAME$h = 'redsift-text';
4908
- 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 = {
4909
5746
  fontFamily: FontFamily.raleway
4910
5747
  };
4911
5748
 
@@ -4924,7 +5761,7 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
4924
5761
  noWrap,
4925
5762
  variant
4926
5763
  } = props,
4927
- forwardedProps = _objectWithoutProperties(props, _excluded$e);
5764
+ forwardedProps = _objectWithoutProperties(props, _excluded$f);
4928
5765
  return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
4929
5766
  as: as
4930
5767
  }, forwardedProps, {
@@ -4939,14 +5776,14 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
4939
5776
  $variant: variant
4940
5777
  }), children);
4941
5778
  });
4942
- Text.className = CLASSNAME$h;
4943
- Text.defaultProps = DEFAULT_PROPS$h;
4944
- Text.displayName = COMPONENT_NAME$h;
4945
-
4946
- const _excluded$d = ["badge", "children", "className", "header", "isCollapsed", "isCollapsible", "isLoading"];
4947
- const COMPONENT_NAME$g = 'DetailedCardSection';
4948
- const CLASSNAME$g = 'redsift-detailed-card-section';
4949
- 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 = {
4950
5787
  isCollapsible: true
4951
5788
  };
4952
5789
  const hasCollapsibleChildren = children => {
@@ -4965,6 +5802,7 @@ const hasCollapsibleChildren = children => {
4965
5802
  const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4966
5803
  const {
4967
5804
  badge,
5805
+ color,
4968
5806
  children,
4969
5807
  className,
4970
5808
  header,
@@ -4972,13 +5810,14 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4972
5810
  isCollapsible: propsIsCollapsible,
4973
5811
  isLoading
4974
5812
  } = props,
4975
- forwardedProps = _objectWithoutProperties(props, _excluded$d);
5813
+ forwardedProps = _objectWithoutProperties(props, _excluded$e);
4976
5814
  const stringFormatter = useLocalizedStringFormatter(intlMessages);
4977
5815
  const isCollapsible = propsIsCollapsible && hasCollapsibleChildren(children);
4978
5816
  const [isCollapsed, setIsCollapsed] = useState(Boolean(propsIsCollapsed));
4979
5817
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardSection, _extends$1({}, forwardedProps, {
4980
5818
  className: classNames(DetailedCardSection.className, className),
4981
5819
  ref: ref,
5820
+ $color: color,
4982
5821
  $isCollapsed: isCollapsed
4983
5822
  }), /*#__PURE__*/React__default.createElement(Flexbox, {
4984
5823
  justifyContent: "space-between",
@@ -4993,12 +5832,14 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4993
5832
  }, /*#__PURE__*/React__default.createElement(Flexbox, {
4994
5833
  alignItems: "center",
4995
5834
  gap: "8px"
4996
- }, /*#__PURE__*/React__default.createElement(Text, {
5835
+ }, typeof header === 'string' ? /*#__PURE__*/React__default.createElement(Text, {
4997
5836
  className: `${DetailedCardSection.className}-header__title`,
4998
5837
  color: "black",
4999
5838
  fontFamily: "raleway",
5000
5839
  fontSize: "18px",
5001
5840
  lineHeight: "22px"
5841
+ }, header) : /*#__PURE__*/React__default.createElement("div", {
5842
+ className: `${DetailedCardSection.className}-header__title`
5002
5843
  }, header), badge ? /*#__PURE__*/React__default.createElement(Badge, _extends$1({
5003
5844
  variant: BadgeVariant.standard
5004
5845
  }, badge)) : null)) : null, isCollapsible && !isLoading ? /*#__PURE__*/React__default.createElement(IconButton, {
@@ -5011,9 +5852,9 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
5011
5852
  }
5012
5853
  }) : null), children);
5013
5854
  });
5014
- DetailedCardSection.className = CLASSNAME$g;
5015
- DetailedCardSection.defaultProps = DEFAULT_PROPS$g;
5016
- DetailedCardSection.displayName = COMPONENT_NAME$g;
5855
+ DetailedCardSection.className = CLASSNAME$h;
5856
+ DetailedCardSection.defaultProps = DEFAULT_PROPS$h;
5857
+ DetailedCardSection.displayName = COMPONENT_NAME$h;
5017
5858
 
5018
5859
  /**
5019
5860
  * Component style.
@@ -5054,10 +5895,10 @@ const StyledDetailedCardHeader = styled.div`
5054
5895
  }
5055
5896
  `;
5056
5897
 
5057
- const _excluded$c = ["children", "className", "header", "headingProps", "isLoading"];
5058
- const COMPONENT_NAME$f = 'DetailedCardHeader';
5059
- const CLASSNAME$f = 'redsift-detailed-card-header';
5060
- 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 = {};
5061
5902
 
5062
5903
  /**
5063
5904
  * The DetailedCardHeader component.
@@ -5070,7 +5911,7 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
5070
5911
  headingProps,
5071
5912
  isLoading
5072
5913
  } = props,
5073
- forwardedProps = _objectWithoutProperties(props, _excluded$c);
5914
+ forwardedProps = _objectWithoutProperties(props, _excluded$d);
5074
5915
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardHeader, _extends$1({}, forwardedProps, {
5075
5916
  className: classNames(DetailedCardHeader.className, className),
5076
5917
  ref: ref
@@ -5085,9 +5926,9 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
5085
5926
  variant: "h2"
5086
5927
  }, headingProps), header)) : null, children);
5087
5928
  });
5088
- DetailedCardHeader.className = CLASSNAME$f;
5089
- DetailedCardHeader.defaultProps = DEFAULT_PROPS$f;
5090
- DetailedCardHeader.displayName = COMPONENT_NAME$f;
5929
+ DetailedCardHeader.className = CLASSNAME$g;
5930
+ DetailedCardHeader.defaultProps = DEFAULT_PROPS$g;
5931
+ DetailedCardHeader.displayName = COMPONENT_NAME$g;
5091
5932
 
5092
5933
  /**
5093
5934
  * Component style.
@@ -5110,7 +5951,10 @@ const StyledPill = styled.div`
5110
5951
  $color
5111
5952
  } = _ref2;
5112
5953
  return css`
5113
- ${$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);`}
5114
5958
 
5115
5959
  &,
5116
5960
  .redsift-icon {
@@ -5130,10 +5974,10 @@ const StyledPill = styled.div`
5130
5974
  }
5131
5975
  `;
5132
5976
 
5133
- const _excluded$b = ["autoBreak", "children", "className", "color"];
5134
- const COMPONENT_NAME$e = 'Pill';
5135
- const CLASSNAME$e = 'redsift-pill';
5136
- 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 = {
5137
5981
  color: DataVizColorPalette.blue,
5138
5982
  height: 'fit-content'
5139
5983
  };
@@ -5148,7 +5992,7 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
5148
5992
  className,
5149
5993
  color
5150
5994
  } = props,
5151
- forwardedProps = _objectWithoutProperties(props, _excluded$b);
5995
+ forwardedProps = _objectWithoutProperties(props, _excluded$c);
5152
5996
  return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
5153
5997
  $autoBreak: autoBreak,
5154
5998
  $color: color,
@@ -5156,9 +6000,9 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
5156
6000
  ref: ref
5157
6001
  }), children);
5158
6002
  });
5159
- Pill.className = CLASSNAME$e;
5160
- Pill.defaultProps = DEFAULT_PROPS$e;
5161
- Pill.displayName = COMPONENT_NAME$e;
6003
+ Pill.className = CLASSNAME$f;
6004
+ Pill.defaultProps = DEFAULT_PROPS$f;
6005
+ Pill.displayName = COMPONENT_NAME$f;
5162
6006
 
5163
6007
  /**
5164
6008
  * Component style.
@@ -5188,10 +6032,10 @@ const StyledDetailedCardSectionItem = styled.div`
5188
6032
  }
5189
6033
  `;
5190
6034
 
5191
- const _excluded$a = ["children", "className", "description", "icon", "iconProps", "isLoading", "pill", "pillProps", "shield"];
5192
- const COMPONENT_NAME$d = 'DetailedCardSectionItem';
5193
- const CLASSNAME$d = 'redsift-detailed-card-section-item';
5194
- 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 = {};
5195
6039
 
5196
6040
  /**
5197
6041
  * The DetailedCardSectionItems component.
@@ -5208,7 +6052,7 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
5208
6052
  pillProps,
5209
6053
  shield
5210
6054
  } = props,
5211
- forwardedProps = _objectWithoutProperties(props, _excluded$a);
6055
+ forwardedProps = _objectWithoutProperties(props, _excluded$b);
5212
6056
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardSectionItem, _extends$1({}, forwardedProps, {
5213
6057
  className: classNames(DetailedCardSectionItem.className, className),
5214
6058
  ref: ref
@@ -5236,9 +6080,9 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
5236
6080
  className: `${DetailedCardSectionItem.className}-header__pill`
5237
6081
  }, pillProps), pill), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(Text, null, description) : description)) : null), children);
5238
6082
  });
5239
- DetailedCardSectionItem.className = CLASSNAME$d;
5240
- DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$d;
5241
- DetailedCardSectionItem.displayName = COMPONENT_NAME$d;
6083
+ DetailedCardSectionItem.className = CLASSNAME$e;
6084
+ DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$e;
6085
+ DetailedCardSectionItem.displayName = COMPONENT_NAME$e;
5242
6086
 
5243
6087
  /*!
5244
6088
  * tabbable 6.1.1
@@ -8763,9 +9607,9 @@ const StyledTooltipContent = styled.div`
8763
9607
  }}
8764
9608
  `;
8765
9609
 
8766
- const COMPONENT_NAME$c = 'TooltipContent';
8767
- const CLASSNAME$c = 'redsift-tooltip-content';
8768
- const DEFAULT_PROPS$c = {};
9610
+ const COMPONENT_NAME$d = 'TooltipContent';
9611
+ const CLASSNAME$d = 'redsift-tooltip-content';
9612
+ const DEFAULT_PROPS$d = {};
8769
9613
 
8770
9614
  /**
8771
9615
  * The TooltipContent component.
@@ -8827,13 +9671,13 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
8827
9671
  className: `${TooltipContent.className}__inner`
8828
9672
  }, children)));
8829
9673
  });
8830
- TooltipContent.className = CLASSNAME$c;
8831
- TooltipContent.defaultProps = DEFAULT_PROPS$c;
8832
- TooltipContent.displayName = COMPONENT_NAME$c;
9674
+ TooltipContent.className = CLASSNAME$d;
9675
+ TooltipContent.defaultProps = DEFAULT_PROPS$d;
9676
+ TooltipContent.displayName = COMPONENT_NAME$d;
8833
9677
 
8834
- const COMPONENT_NAME$b = 'TooltipTrigger';
8835
- const CLASSNAME$b = 'redsift-tooltip-trigger';
8836
- const DEFAULT_PROPS$b = {};
9678
+ const COMPONENT_NAME$c = 'TooltipTrigger';
9679
+ const CLASSNAME$c = 'redsift-tooltip-trigger';
9680
+ const DEFAULT_PROPS$c = {};
8837
9681
 
8838
9682
  /**
8839
9683
  * The TooltipTrigger component.
@@ -8860,9 +9704,9 @@ const TooltipTrigger = /*#__PURE__*/forwardRef((props, ref) => {
8860
9704
  ref: triggerRef
8861
9705
  }, getReferenceProps(props)), children);
8862
9706
  });
8863
- TooltipTrigger.className = CLASSNAME$b;
8864
- TooltipTrigger.defaultProps = DEFAULT_PROPS$b;
8865
- TooltipTrigger.displayName = COMPONENT_NAME$b;
9707
+ TooltipTrigger.className = CLASSNAME$c;
9708
+ TooltipTrigger.defaultProps = DEFAULT_PROPS$c;
9709
+ TooltipTrigger.displayName = COMPONENT_NAME$c;
8866
9710
 
8867
9711
  function useTooltip(_ref) {
8868
9712
  let {
@@ -8923,9 +9767,9 @@ function useTooltip(_ref) {
8923
9767
  }), [isOpen, handleOpen, interactions, data, arrowRef, tooltipId]);
8924
9768
  }
8925
9769
 
8926
- const COMPONENT_NAME$a = 'Tooltip';
8927
- const CLASSNAME$a = 'redsift-tooltip';
8928
- const DEFAULT_PROPS$a = {
9770
+ const COMPONENT_NAME$b = 'Tooltip';
9771
+ const CLASSNAME$b = 'redsift-tooltip';
9772
+ const DEFAULT_PROPS$b = {
8929
9773
  delay: 500,
8930
9774
  placement: TooltipPlacement.top
8931
9775
  };
@@ -8956,9 +9800,9 @@ const BaseTooltip = props => {
8956
9800
  value: tooltip
8957
9801
  }, trigger, content);
8958
9802
  };
8959
- BaseTooltip.className = CLASSNAME$a;
8960
- BaseTooltip.defaultProps = DEFAULT_PROPS$a;
8961
- BaseTooltip.displayName = COMPONENT_NAME$a;
9803
+ BaseTooltip.className = CLASSNAME$b;
9804
+ BaseTooltip.defaultProps = DEFAULT_PROPS$b;
9805
+ BaseTooltip.displayName = COMPONENT_NAME$b;
8962
9806
  const Tooltip = Object.assign(BaseTooltip, {
8963
9807
  Trigger: TooltipTrigger,
8964
9808
  Content: TooltipContent
@@ -8972,10 +9816,10 @@ const useTooltipContext = () => {
8972
9816
  return context;
8973
9817
  };
8974
9818
 
8975
- const _excluded$9 = ["areAllCollapsed", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
8976
- const COMPONENT_NAME$9 = 'DetailedCard';
8977
- const CLASSNAME$9 = 'redsift-detailed-card';
8978
- 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 = {
8979
9823
  isCollapsible: true,
8980
9824
  width: '400px'
8981
9825
  };
@@ -9014,7 +9858,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
9014
9858
  onCollapseAll,
9015
9859
  shield
9016
9860
  } = props,
9017
- forwardedProps = _objectWithoutProperties(props, _excluded$9);
9861
+ forwardedProps = _objectWithoutProperties(props, _excluded$a);
9018
9862
  const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
9019
9863
  const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
9020
9864
  const [allCollapsed, setAllCollapsed] = useState({
@@ -9100,9 +9944,9 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
9100
9944
  return child;
9101
9945
  }));
9102
9946
  });
9103
- BaseDetailedCard.className = CLASSNAME$9;
9104
- BaseDetailedCard.defaultProps = DEFAULT_PROPS$9;
9105
- BaseDetailedCard.displayName = COMPONENT_NAME$9;
9947
+ BaseDetailedCard.className = CLASSNAME$a;
9948
+ BaseDetailedCard.defaultProps = DEFAULT_PROPS$a;
9949
+ BaseDetailedCard.displayName = COMPONENT_NAME$a;
9106
9950
  const DetailedCard = Object.assign(BaseDetailedCard, {
9107
9951
  Header: DetailedCardHeader,
9108
9952
  Section: DetailedCardSection,
@@ -9136,10 +9980,10 @@ const StyledGridItem = styled.div`
9136
9980
  ${baseInternalSpacing}
9137
9981
  `;
9138
9982
 
9139
- const _excluded$8 = ["children", "className"];
9140
- const COMPONENT_NAME$8 = 'GridItem';
9141
- const CLASSNAME$8 = 'redsift-grid-item';
9142
- 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 = {};
9143
9987
 
9144
9988
  /**
9145
9989
  * The GridItem component.
@@ -9149,20 +9993,20 @@ const GridItem = /*#__PURE__*/forwardRef((props, ref) => {
9149
9993
  children,
9150
9994
  className
9151
9995
  } = props,
9152
- forwardedProps = _objectWithoutProperties(props, _excluded$8);
9996
+ forwardedProps = _objectWithoutProperties(props, _excluded$9);
9153
9997
  return /*#__PURE__*/React__default.createElement(StyledGridItem, _extends$1({}, forwardedProps, {
9154
9998
  className: classNames(GridItem.className, className),
9155
9999
  ref: ref
9156
10000
  }), children);
9157
10001
  });
9158
- GridItem.className = CLASSNAME$8;
9159
- GridItem.defaultProps = DEFAULT_PROPS$8;
9160
- GridItem.displayName = COMPONENT_NAME$8;
10002
+ GridItem.className = CLASSNAME$9;
10003
+ GridItem.defaultProps = DEFAULT_PROPS$9;
10004
+ GridItem.displayName = COMPONENT_NAME$9;
9161
10005
 
9162
- const _excluded$7 = ["children", "className"];
9163
- const COMPONENT_NAME$7 = 'Grid';
9164
- const CLASSNAME$7 = 'redsift-grid';
9165
- 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 = {};
9166
10010
 
9167
10011
  /**
9168
10012
  * The Grid component.
@@ -9172,15 +10016,15 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
9172
10016
  children,
9173
10017
  className
9174
10018
  } = props,
9175
- forwardedProps = _objectWithoutProperties(props, _excluded$7);
10019
+ forwardedProps = _objectWithoutProperties(props, _excluded$8);
9176
10020
  return /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
9177
10021
  className: classNames(BaseGrid.className, className),
9178
10022
  ref: ref
9179
10023
  }), children);
9180
10024
  });
9181
- BaseGrid.className = CLASSNAME$7;
9182
- BaseGrid.defaultProps = DEFAULT_PROPS$7;
9183
- BaseGrid.displayName = COMPONENT_NAME$7;
10025
+ BaseGrid.className = CLASSNAME$8;
10026
+ BaseGrid.defaultProps = DEFAULT_PROPS$8;
10027
+ BaseGrid.displayName = COMPONENT_NAME$8;
9184
10028
  const Grid = Object.assign(BaseGrid, {
9185
10029
  Item: GridItem
9186
10030
  });
@@ -9225,10 +10069,10 @@ const StyledLink = styled.a`
9225
10069
  }
9226
10070
  `;
9227
10071
 
9228
- const _excluded$6 = ["children", "className", "href", "isDisabled"];
9229
- const COMPONENT_NAME$6 = 'Link';
9230
- const CLASSNAME$6 = 'redsift-link';
9231
- 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 = {};
9232
10076
 
9233
10077
  /**
9234
10078
  * The Link is a semantic link that looks like a link.
@@ -9245,7 +10089,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
9245
10089
  href,
9246
10090
  isDisabled
9247
10091
  } = props,
9248
- forwardedProps = _objectWithoutProperties(props, _excluded$6);
10092
+ forwardedProps = _objectWithoutProperties(props, _excluded$7);
9249
10093
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
9250
10094
  "aria-disabled": isDisabled,
9251
10095
  role: "link",
@@ -9257,14 +10101,14 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
9257
10101
  ref: ref
9258
10102
  }), children);
9259
10103
  });
9260
- Link.className = CLASSNAME$6;
9261
- Link.defaultProps = DEFAULT_PROPS$6;
9262
- Link.displayName = COMPONENT_NAME$6;
10104
+ Link.className = CLASSNAME$7;
10105
+ Link.defaultProps = DEFAULT_PROPS$7;
10106
+ Link.displayName = COMPONENT_NAME$7;
9263
10107
 
9264
- const _excluded$5 = ["children", "className", "disabled", "isDisabled", "onPress"];
9265
- const COMPONENT_NAME$5 = 'LinkButton';
9266
- const CLASSNAME$5 = 'redsift-link-button';
9267
- 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 = {};
9268
10112
 
9269
10113
  /**
9270
10114
  * The LinkButton is a semantic button that looks like a link.
@@ -9289,7 +10133,7 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9289
10133
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9290
10134
  onPress
9291
10135
  } = props,
9292
- forwardedProps = _objectWithoutProperties(props, _excluded$5);
10136
+ forwardedProps = _objectWithoutProperties(props, _excluded$6);
9293
10137
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
9294
10138
  as: "button"
9295
10139
  }, forwardedProps, buttonProps, {
@@ -9302,9 +10146,9 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9302
10146
  ref: buttonRef
9303
10147
  }), children);
9304
10148
  });
9305
- LinkButton.className = CLASSNAME$5;
9306
- LinkButton.defaultProps = DEFAULT_PROPS$5;
9307
- LinkButton.displayName = COMPONENT_NAME$5;
10149
+ LinkButton.className = CLASSNAME$6;
10150
+ LinkButton.defaultProps = DEFAULT_PROPS$6;
10151
+ LinkButton.displayName = COMPONENT_NAME$6;
9308
10152
 
9309
10153
  /**
9310
10154
  * Component style.
@@ -9313,10 +10157,10 @@ const StyledNumber = styled(StyledText)`
9313
10157
  font-family: var(--redsift-typography-font-family-source-code-pro);
9314
10158
  `;
9315
10159
 
9316
- 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"];
9317
- const COMPONENT_NAME$4 = 'Number';
9318
- const CLASSNAME$4 = 'redsift-number';
9319
- 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 = {
9320
10164
  compactDisplay: 'short',
9321
10165
  currencyDisplay: 'symbol',
9322
10166
  currencySign: 'standard',
@@ -9365,7 +10209,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9365
10209
  value,
9366
10210
  variant
9367
10211
  } = props,
9368
- forwardedProps = _objectWithoutProperties(props, _excluded$4);
10212
+ forwardedProps = _objectWithoutProperties(props, _excluded$5);
9369
10213
  const formatter = useNumberFormatter(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
9370
10214
  compactDisplay,
9371
10215
  currency,
@@ -9412,9 +10256,9 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9412
10256
  $variant: variant
9413
10257
  }), formatter.format(value));
9414
10258
  });
9415
- Number$1.className = CLASSNAME$4;
9416
- Number$1.defaultProps = DEFAULT_PROPS$4;
9417
- 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;
9418
10262
 
9419
10263
  /**
9420
10264
  * Context props.
@@ -9508,10 +10352,10 @@ const StyledRadioGroup = styled.div`
9508
10352
  }
9509
10353
  `;
9510
10354
 
9511
- const _excluded$3 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
9512
- const COMPONENT_NAME$3 = 'RadioGroup';
9513
- const CLASSNAME$3 = 'redsift-radio-group';
9514
- 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 = {
9515
10359
  color: ColorPalette.default,
9516
10360
  orientation: RadioGroupOrientation.vertical
9517
10361
  };
@@ -9536,7 +10380,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9536
10380
  possibleValues,
9537
10381
  value
9538
10382
  } = props,
9539
- forwardedProps = _objectWithoutProperties(props, _excluded$3);
10383
+ forwardedProps = _objectWithoutProperties(props, _excluded$4);
9540
10384
  const [selectedValue, setValue] = useState(value || defaultValue || '');
9541
10385
  useEffect(() => {
9542
10386
  if (value) {
@@ -9578,9 +10422,9 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9578
10422
  className: `${RadioGroup.className}-description`
9579
10423
  }, description));
9580
10424
  });
9581
- RadioGroup.className = CLASSNAME$3;
9582
- RadioGroup.defaultProps = DEFAULT_PROPS$3;
9583
- RadioGroup.displayName = COMPONENT_NAME$3;
10425
+ RadioGroup.className = CLASSNAME$4;
10426
+ RadioGroup.defaultProps = DEFAULT_PROPS$4;
10427
+ RadioGroup.displayName = COMPONENT_NAME$4;
9584
10428
 
9585
10429
  /**
9586
10430
  * Component style.
@@ -9689,10 +10533,10 @@ const StyledRadio = styled.label`
9689
10533
  }
9690
10534
  `;
9691
10535
 
9692
- const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9693
- const COMPONENT_NAME$2 = 'Radio';
9694
- const CLASSNAME$2 = 'redsift-radio';
9695
- 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 = {
9696
10540
  isColored: true
9697
10541
  };
9698
10542
 
@@ -9723,7 +10567,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9723
10567
  onChange,
9724
10568
  value
9725
10569
  } = props,
9726
- forwardedProps = _objectWithoutProperties(props, _excluded$2);
10570
+ forwardedProps = _objectWithoutProperties(props, _excluded$3);
9727
10571
  const {
9728
10572
  isFocusVisible,
9729
10573
  focusProps
@@ -9782,6 +10626,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9782
10626
  "aria-labelledby": ariaLabelledby,
9783
10627
  "aria-readonly": isReadOnly,
9784
10628
  "aria-required": isRequired,
10629
+ autoFocus: autoFocus,
9785
10630
  checked: isSelected ? true : false,
9786
10631
  disabled: isDisabled,
9787
10632
  name: name,
@@ -9797,9 +10642,9 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9797
10642
  className: "label"
9798
10643
  }, children) : null);
9799
10644
  });
9800
- Radio.className = CLASSNAME$2;
9801
- Radio.defaultProps = DEFAULT_PROPS$2;
9802
- Radio.displayName = COMPONENT_NAME$2;
10645
+ Radio.className = CLASSNAME$3;
10646
+ Radio.defaultProps = DEFAULT_PROPS$3;
10647
+ Radio.displayName = COMPONENT_NAME$3;
9803
10648
 
9804
10649
  const SwitchGroupContext = /*#__PURE__*/React__default.createContext(null);
9805
10650
 
@@ -9962,10 +10807,10 @@ const StyledSwitch = styled.label`
9962
10807
  }}
9963
10808
  `;
9964
10809
 
9965
- const _excluded$1 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9966
- const COMPONENT_NAME$1 = 'Switch';
9967
- const CLASSNAME$1 = 'redsift-switch';
9968
- 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 = {
9969
10814
  isColored: true
9970
10815
  };
9971
10816
 
@@ -9996,7 +10841,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
9996
10841
  onChange,
9997
10842
  value
9998
10843
  } = props,
9999
- forwardedProps = _objectWithoutProperties(props, _excluded$1);
10844
+ forwardedProps = _objectWithoutProperties(props, _excluded$2);
10000
10845
  const {
10001
10846
  isFocusVisible,
10002
10847
  focusProps
@@ -10059,6 +10904,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10059
10904
  "aria-labelledby": ariaLabelledby,
10060
10905
  "aria-readonly": isReadOnly,
10061
10906
  "aria-required": isRequired,
10907
+ autoFocus: autoFocus,
10062
10908
  checked: isSelected ? true : false,
10063
10909
  disabled: isDisabled,
10064
10910
  name: name,
@@ -10081,9 +10927,9 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
10081
10927
  className: "label"
10082
10928
  }, children) : null);
10083
10929
  });
10084
- Switch.className = CLASSNAME$1;
10085
- Switch.defaultProps = DEFAULT_PROPS$1;
10086
- Switch.displayName = COMPONENT_NAME$1;
10930
+ Switch.className = CLASSNAME$2;
10931
+ Switch.defaultProps = DEFAULT_PROPS$2;
10932
+ Switch.displayName = COMPONENT_NAME$2;
10087
10933
 
10088
10934
  /**
10089
10935
  * Context props.
@@ -10175,10 +11021,10 @@ const StyledSwitchGroup = styled.div`
10175
11021
  }
10176
11022
  `;
10177
11023
 
10178
- const _excluded = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
10179
- const COMPONENT_NAME = 'SwitchGroup';
10180
- const CLASSNAME = 'redsift-checkbox-group';
10181
- 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 = {
10182
11028
  color: ColorPalette.default,
10183
11029
  orientation: SwitchGroupOrientation.vertical
10184
11030
  };
@@ -10203,7 +11049,7 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
10203
11049
  possibleValues,
10204
11050
  value
10205
11051
  } = props,
10206
- forwardedProps = _objectWithoutProperties(props, _excluded);
11052
+ forwardedProps = _objectWithoutProperties(props, _excluded$1);
10207
11053
  const [selectedValues, setValue] = useState(value || defaultValues || []);
10208
11054
  useEffect(() => {
10209
11055
  if (value) {
@@ -10257,9 +11103,305 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
10257
11103
  className: `${SwitchGroup.className}-description`
10258
11104
  }, description));
10259
11105
  });
10260
- SwitchGroup.className = CLASSNAME;
10261
- SwitchGroup.defaultProps = DEFAULT_PROPS;
10262
- 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;
10263
11405
 
10264
- 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 };
10265
11407
  //# sourceMappingURL=index.js.map