@norges-domstoler/dds-components 0.0.19 → 0.0.20
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/README.md +3 -0
- package/dist/components/InternalHeader/InternalHeader.d.ts +2 -0
- package/dist/components/InternalHeader/InternalHeader.styles.d.ts +28 -0
- package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +58 -0
- package/dist/components/InternalHeader/InternalHeader.types.d.ts +26 -0
- package/dist/components/InternalHeader/index.d.ts +2 -0
- package/dist/components/Table/SortCell.d.ts +3 -0
- package/dist/helpers/inputFieldStylingBase.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +1302 -792
- package/dist/index.js +1302 -791
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -11737,30 +11737,30 @@ var ddsBaseTokens = {
|
|
|
11737
11737
|
fontPackages: fontPackages,
|
|
11738
11738
|
};
|
|
11739
11739
|
|
|
11740
|
-
var Colors$
|
|
11740
|
+
var Colors$k = ddsBaseTokens.colors, FontPackages$i = ddsBaseTokens.fontPackages, BorderRadius$5 = ddsBaseTokens.borderRadius, Border$9 = ddsBaseTokens.border;
|
|
11741
11741
|
var textDefault$8 = {
|
|
11742
|
-
textColor: Colors$
|
|
11743
|
-
font: FontPackages$
|
|
11742
|
+
textColor: Colors$k.DdsColorNeutralsGray9,
|
|
11743
|
+
font: FontPackages$i.body_sans_02.base,
|
|
11744
11744
|
};
|
|
11745
11745
|
var focus$1 = {
|
|
11746
|
-
colorDefault: Colors$
|
|
11747
|
-
outlineWidth: Border$
|
|
11748
|
-
color__TextInput: Colors$
|
|
11749
|
-
textColor__TextInput: Colors$
|
|
11750
|
-
borderWidth__TextInput: Border$
|
|
11746
|
+
colorDefault: Colors$k.DdsColorWarningDarker,
|
|
11747
|
+
outlineWidth: Border$9.BordersDdsBorderStyle1StrokeWeight,
|
|
11748
|
+
color__TextInput: Colors$k.DdsColorInteractiveBase,
|
|
11749
|
+
textColor__TextInput: Colors$k.DdsColorInteractiveDark,
|
|
11750
|
+
borderWidth__TextInput: Border$9.BordersDdsBorderStyle1StrokeWeightNumberPx * 2 + "px",
|
|
11751
11751
|
};
|
|
11752
11752
|
var ddsReferenceTokens = {
|
|
11753
11753
|
focus: focus$1,
|
|
11754
11754
|
textDefault: textDefault$8,
|
|
11755
11755
|
textInput: {
|
|
11756
11756
|
input: {
|
|
11757
|
-
borderRadius: BorderRadius$
|
|
11758
|
-
borderWidth: Border$
|
|
11759
|
-
borderColor: Colors$
|
|
11757
|
+
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
11758
|
+
borderWidth: Border$9.BordersDdsBorderStyle1StrokeWeight,
|
|
11759
|
+
borderColor: Colors$k.DdsColorNeutralsGray5,
|
|
11760
11760
|
textColor: textDefault$8.textColor,
|
|
11761
|
-
font: FontPackages$
|
|
11761
|
+
font: FontPackages$i.supportingStyle_inputtext_02.base,
|
|
11762
11762
|
hover: {
|
|
11763
|
-
backgroundColor: Colors$
|
|
11763
|
+
backgroundColor: Colors$k.DdsColorInteractiveLightest,
|
|
11764
11764
|
borderColor: focus$1.color__TextInput,
|
|
11765
11765
|
borderWidth: focus$1.borderWidth__TextInput,
|
|
11766
11766
|
},
|
|
@@ -11780,51 +11780,51 @@ var ddsReferenceTokens = {
|
|
|
11780
11780
|
},
|
|
11781
11781
|
};
|
|
11782
11782
|
|
|
11783
|
-
var Colors$
|
|
11784
|
-
FontPackages$
|
|
11785
|
-
Spacing$
|
|
11783
|
+
var Colors$j = ddsBaseTokens.colors,
|
|
11784
|
+
FontPackages$h = ddsBaseTokens.fontPackages,
|
|
11785
|
+
Spacing$p = ddsBaseTokens.spacing;
|
|
11786
11786
|
var textDefault$7 = ddsReferenceTokens.textDefault;
|
|
11787
11787
|
var textColors = {
|
|
11788
|
-
interactive: Colors$
|
|
11789
|
-
primary: Colors$
|
|
11790
|
-
danger: Colors$
|
|
11791
|
-
success: Colors$
|
|
11792
|
-
warning: Colors$
|
|
11788
|
+
interactive: Colors$j.DdsColorInteractiveBase,
|
|
11789
|
+
primary: Colors$j.DdsColorPrimaryBase,
|
|
11790
|
+
danger: Colors$j.DdsColorDangerBase,
|
|
11791
|
+
success: Colors$j.DdsColorSuccessBase,
|
|
11792
|
+
warning: Colors$j.DdsColorWarningBase,
|
|
11793
11793
|
onLight: textDefault$7.textColor,
|
|
11794
|
-
onDark: Colors$
|
|
11795
|
-
gray1: Colors$
|
|
11796
|
-
gray2: Colors$
|
|
11797
|
-
gray3: Colors$
|
|
11798
|
-
gray4: Colors$
|
|
11799
|
-
gray5: Colors$
|
|
11800
|
-
gray6: Colors$
|
|
11801
|
-
gray7: Colors$
|
|
11802
|
-
gray8: Colors$
|
|
11803
|
-
gray9: Colors$
|
|
11794
|
+
onDark: Colors$j.DdsColorNeutralsWhite,
|
|
11795
|
+
gray1: Colors$j.DdsColorNeutralsGray1,
|
|
11796
|
+
gray2: Colors$j.DdsColorNeutralsGray2,
|
|
11797
|
+
gray3: Colors$j.DdsColorNeutralsGray3,
|
|
11798
|
+
gray4: Colors$j.DdsColorNeutralsGray4,
|
|
11799
|
+
gray5: Colors$j.DdsColorNeutralsGray5,
|
|
11800
|
+
gray6: Colors$j.DdsColorNeutralsGray6,
|
|
11801
|
+
gray7: Colors$j.DdsColorNeutralsGray7,
|
|
11802
|
+
gray8: Colors$j.DdsColorNeutralsGray8,
|
|
11803
|
+
gray9: Colors$j.DdsColorNeutralsGray9
|
|
11804
11804
|
};
|
|
11805
11805
|
var textColorsArray = ['interactive', 'primary', 'danger', 'success', 'warning', 'onLight', 'onDark', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9'];
|
|
11806
11806
|
var aBase = {
|
|
11807
|
-
color: Colors$
|
|
11807
|
+
color: Colors$j.DdsColorInteractiveBase,
|
|
11808
11808
|
// ...FontPackages.body_sans_02.base,
|
|
11809
11809
|
font: 'inherit',
|
|
11810
11810
|
textDecoration: 'underline',
|
|
11811
11811
|
width: 'fit-content'
|
|
11812
11812
|
};
|
|
11813
11813
|
var aMarginsBase = {
|
|
11814
|
-
marginTop: FontPackages$
|
|
11815
|
-
marginBottom: FontPackages$
|
|
11814
|
+
marginTop: FontPackages$h.body_sans_02.paragraph.paragraphSpacing,
|
|
11815
|
+
marginBottom: FontPackages$h.body_sans_02.paragraph.paragraphSpacing
|
|
11816
11816
|
};
|
|
11817
11817
|
var aHoverBase = {
|
|
11818
|
-
color: Colors$
|
|
11818
|
+
color: Colors$j.DdsColorInteractiveDark
|
|
11819
11819
|
};
|
|
11820
11820
|
var aFocusBase = {
|
|
11821
|
-
backgroundColor: Colors$
|
|
11822
|
-
color: Colors$
|
|
11821
|
+
backgroundColor: Colors$j.DdsColorWarningDarkest,
|
|
11822
|
+
color: Colors$j.DdsColorNeutralsWhite,
|
|
11823
11823
|
textDecoration: 'none',
|
|
11824
11824
|
outline: 'none'
|
|
11825
11825
|
};
|
|
11826
11826
|
|
|
11827
|
-
var aBoldBase = __assign(__assign({}, FontPackages$
|
|
11827
|
+
var aBoldBase = __assign(__assign({}, FontPackages$h.body_sans_02), {
|
|
11828
11828
|
fontWeight: 600
|
|
11829
11829
|
});
|
|
11830
11830
|
|
|
@@ -11840,272 +11840,272 @@ var italicBase = {
|
|
|
11840
11840
|
|
|
11841
11841
|
var headingSans01Base = __assign({
|
|
11842
11842
|
color: textDefault$7.textColor
|
|
11843
|
-
}, FontPackages$
|
|
11843
|
+
}, FontPackages$h.heading_sans_01.base);
|
|
11844
11844
|
|
|
11845
11845
|
var headingSans01MarginsBase = {
|
|
11846
|
-
marginTop: FontPackages$
|
|
11847
|
-
marginBottom: FontPackages$
|
|
11846
|
+
marginTop: FontPackages$h.heading_sans_01.paragraph.paragraphSpacing,
|
|
11847
|
+
marginBottom: FontPackages$h.heading_sans_01.paragraph.paragraphSpacing
|
|
11848
11848
|
};
|
|
11849
11849
|
|
|
11850
11850
|
var headingSans02Base = __assign({
|
|
11851
11851
|
color: textDefault$7.textColor
|
|
11852
|
-
}, FontPackages$
|
|
11852
|
+
}, FontPackages$h.heading_sans_02.base);
|
|
11853
11853
|
|
|
11854
11854
|
var headingSans02MarginsBase = {
|
|
11855
|
-
marginTop: FontPackages$
|
|
11856
|
-
marginBottom: FontPackages$
|
|
11855
|
+
marginTop: FontPackages$h.heading_sans_02.paragraph.paragraphSpacing,
|
|
11856
|
+
marginBottom: FontPackages$h.heading_sans_02.paragraph.paragraphSpacing
|
|
11857
11857
|
};
|
|
11858
11858
|
|
|
11859
11859
|
var headingSans03Base = __assign({
|
|
11860
11860
|
color: textDefault$7.textColor
|
|
11861
|
-
}, FontPackages$
|
|
11861
|
+
}, FontPackages$h.heading_sans_03.base);
|
|
11862
11862
|
|
|
11863
11863
|
var headingSans03MarginsBase = {
|
|
11864
|
-
marginTop: FontPackages$
|
|
11865
|
-
marginBottom: FontPackages$
|
|
11864
|
+
marginTop: FontPackages$h.heading_sans_03.paragraph.paragraphSpacing,
|
|
11865
|
+
marginBottom: FontPackages$h.heading_sans_03.paragraph.paragraphSpacing
|
|
11866
11866
|
};
|
|
11867
11867
|
|
|
11868
11868
|
var headingSans04Base = __assign({
|
|
11869
11869
|
color: textDefault$7.textColor
|
|
11870
|
-
}, FontPackages$
|
|
11870
|
+
}, FontPackages$h.heading_sans_04.base);
|
|
11871
11871
|
|
|
11872
11872
|
var headingSans04MarginsBase = {
|
|
11873
|
-
marginTop: FontPackages$
|
|
11874
|
-
marginBottom: FontPackages$
|
|
11873
|
+
marginTop: FontPackages$h.heading_sans_04.paragraph.paragraphSpacing,
|
|
11874
|
+
marginBottom: FontPackages$h.heading_sans_04.paragraph.paragraphSpacing
|
|
11875
11875
|
};
|
|
11876
11876
|
|
|
11877
11877
|
var headingSans05Base = __assign({
|
|
11878
11878
|
color: textDefault$7.textColor
|
|
11879
|
-
}, FontPackages$
|
|
11879
|
+
}, FontPackages$h.heading_sans_05.base);
|
|
11880
11880
|
|
|
11881
11881
|
var headingSans05MarginsBase = {
|
|
11882
|
-
marginTop: FontPackages$
|
|
11883
|
-
marginBottom: FontPackages$
|
|
11882
|
+
marginTop: FontPackages$h.heading_sans_05.paragraph.paragraphSpacing,
|
|
11883
|
+
marginBottom: FontPackages$h.heading_sans_05.paragraph.paragraphSpacing
|
|
11884
11884
|
};
|
|
11885
11885
|
|
|
11886
11886
|
var headingSans06Base = __assign({
|
|
11887
11887
|
color: textDefault$7.textColor
|
|
11888
|
-
}, FontPackages$
|
|
11888
|
+
}, FontPackages$h.heading_sans_06.base);
|
|
11889
11889
|
|
|
11890
11890
|
var headingSans06MarginsBase = {
|
|
11891
|
-
marginTop: FontPackages$
|
|
11892
|
-
marginBottom: FontPackages$
|
|
11891
|
+
marginTop: FontPackages$h.heading_sans_06.paragraph.paragraphSpacing,
|
|
11892
|
+
marginBottom: FontPackages$h.heading_sans_06.paragraph.paragraphSpacing
|
|
11893
11893
|
};
|
|
11894
11894
|
|
|
11895
11895
|
var headingSans07Base = __assign({
|
|
11896
11896
|
color: textDefault$7.textColor
|
|
11897
|
-
}, FontPackages$
|
|
11897
|
+
}, FontPackages$h.heading_sans_07.base);
|
|
11898
11898
|
|
|
11899
11899
|
var headingSans07MarginsBase = {
|
|
11900
|
-
marginTop: FontPackages$
|
|
11901
|
-
marginBottom: FontPackages$
|
|
11900
|
+
marginTop: FontPackages$h.heading_sans_07.paragraph.paragraphSpacing,
|
|
11901
|
+
marginBottom: FontPackages$h.heading_sans_07.paragraph.paragraphSpacing
|
|
11902
11902
|
};
|
|
11903
11903
|
|
|
11904
11904
|
var headingSans08Base = __assign({
|
|
11905
11905
|
color: textDefault$7.textColor
|
|
11906
|
-
}, FontPackages$
|
|
11906
|
+
}, FontPackages$h.heading_sans_08.base);
|
|
11907
11907
|
|
|
11908
11908
|
var headingSans08MarginsBase = {
|
|
11909
|
-
marginTop: FontPackages$
|
|
11910
|
-
marginBottom: FontPackages$
|
|
11909
|
+
marginTop: FontPackages$h.heading_sans_08.paragraph.paragraphSpacing,
|
|
11910
|
+
marginBottom: FontPackages$h.heading_sans_08.paragraph.paragraphSpacing
|
|
11911
11911
|
};
|
|
11912
11912
|
|
|
11913
11913
|
var bodySans01Base$1 = __assign({
|
|
11914
11914
|
color: textDefault$7.textColor
|
|
11915
|
-
}, FontPackages$
|
|
11915
|
+
}, FontPackages$h.body_sans_01.base);
|
|
11916
11916
|
|
|
11917
11917
|
var bodySans01MarginsBase = {
|
|
11918
|
-
marginTop: FontPackages$
|
|
11919
|
-
marginBottom: FontPackages$
|
|
11918
|
+
marginTop: FontPackages$h.body_sans_01.paragraph.paragraphSpacing,
|
|
11919
|
+
marginBottom: FontPackages$h.body_sans_01.paragraph.paragraphSpacing
|
|
11920
11920
|
};
|
|
11921
11921
|
|
|
11922
11922
|
var bodySans02Base$1 = __assign({
|
|
11923
11923
|
color: textDefault$7.textColor
|
|
11924
|
-
}, FontPackages$
|
|
11924
|
+
}, FontPackages$h.body_sans_02.base);
|
|
11925
11925
|
|
|
11926
11926
|
var bodySans02MarginsBase = {
|
|
11927
|
-
marginTop: FontPackages$
|
|
11928
|
-
marginBottom: FontPackages$
|
|
11927
|
+
marginTop: FontPackages$h.body_sans_02.paragraph.paragraphSpacing,
|
|
11928
|
+
marginBottom: FontPackages$h.body_sans_02.paragraph.paragraphSpacing
|
|
11929
11929
|
};
|
|
11930
11930
|
|
|
11931
11931
|
var bodySans03Base$1 = __assign({
|
|
11932
11932
|
color: textDefault$7.textColor
|
|
11933
|
-
}, FontPackages$
|
|
11933
|
+
}, FontPackages$h.body_sans_03.base);
|
|
11934
11934
|
|
|
11935
11935
|
var bodySans03MarginsBase = {
|
|
11936
|
-
marginTop: FontPackages$
|
|
11937
|
-
marginBottom: FontPackages$
|
|
11936
|
+
marginTop: FontPackages$h.body_sans_03.paragraph.paragraphSpacing,
|
|
11937
|
+
marginBottom: FontPackages$h.body_sans_03.paragraph.paragraphSpacing
|
|
11938
11938
|
};
|
|
11939
11939
|
|
|
11940
11940
|
var bodySans04Base$1 = __assign({
|
|
11941
11941
|
color: textDefault$7.textColor
|
|
11942
|
-
}, FontPackages$
|
|
11942
|
+
}, FontPackages$h.body_sans_04.base);
|
|
11943
11943
|
|
|
11944
11944
|
var bodySans04MarginsBase = {
|
|
11945
|
-
marginTop: FontPackages$
|
|
11946
|
-
marginBottom: FontPackages$
|
|
11945
|
+
marginTop: FontPackages$h.body_sans_04.paragraph.paragraphSpacing,
|
|
11946
|
+
marginBottom: FontPackages$h.body_sans_04.paragraph.paragraphSpacing
|
|
11947
11947
|
};
|
|
11948
11948
|
|
|
11949
11949
|
var bodySerif01Base$1 = __assign({
|
|
11950
11950
|
color: textDefault$7.textColor
|
|
11951
|
-
}, FontPackages$
|
|
11951
|
+
}, FontPackages$h.body_serif_01.base);
|
|
11952
11952
|
|
|
11953
11953
|
var bodySerif01MarginsBase = {
|
|
11954
|
-
marginTop: FontPackages$
|
|
11955
|
-
marginBottom: FontPackages$
|
|
11954
|
+
marginTop: FontPackages$h.body_serif_01.paragraph.paragraphSpacing,
|
|
11955
|
+
marginBottom: FontPackages$h.body_serif_01.paragraph.paragraphSpacing
|
|
11956
11956
|
};
|
|
11957
11957
|
|
|
11958
11958
|
var bodySerif02Base$1 = __assign({
|
|
11959
11959
|
color: textDefault$7.textColor
|
|
11960
|
-
}, FontPackages$
|
|
11960
|
+
}, FontPackages$h.body_serif_02.base);
|
|
11961
11961
|
|
|
11962
11962
|
var bodySerif02MarginsBase = {
|
|
11963
|
-
marginTop: FontPackages$
|
|
11964
|
-
marginBottom: FontPackages$
|
|
11963
|
+
marginTop: FontPackages$h.body_serif_02.paragraph.paragraphSpacing,
|
|
11964
|
+
marginBottom: FontPackages$h.body_serif_02.paragraph.paragraphSpacing
|
|
11965
11965
|
};
|
|
11966
11966
|
|
|
11967
11967
|
var bodySerif03Base$1 = __assign({
|
|
11968
11968
|
color: textDefault$7.textColor
|
|
11969
|
-
}, FontPackages$
|
|
11969
|
+
}, FontPackages$h.body_serif_03.base);
|
|
11970
11970
|
|
|
11971
11971
|
var bodySerif03MarginsBase = {
|
|
11972
|
-
marginTop: FontPackages$
|
|
11973
|
-
marginBottom: FontPackages$
|
|
11972
|
+
marginTop: FontPackages$h.body_serif_03.paragraph.paragraphSpacing,
|
|
11973
|
+
marginBottom: FontPackages$h.body_serif_03.paragraph.paragraphSpacing
|
|
11974
11974
|
};
|
|
11975
11975
|
|
|
11976
11976
|
var bodySerif04Base$1 = __assign({
|
|
11977
11977
|
color: textDefault$7.textColor
|
|
11978
|
-
}, FontPackages$
|
|
11978
|
+
}, FontPackages$h.body_serif_04.base);
|
|
11979
11979
|
|
|
11980
11980
|
var bodySerif04MarginsBase = {
|
|
11981
|
-
marginTop: FontPackages$
|
|
11982
|
-
marginBottom: FontPackages$
|
|
11981
|
+
marginTop: FontPackages$h.body_serif_04.paragraph.paragraphSpacing,
|
|
11982
|
+
marginBottom: FontPackages$h.body_serif_04.paragraph.paragraphSpacing
|
|
11983
11983
|
};
|
|
11984
11984
|
|
|
11985
11985
|
var leadSans01Base = __assign({
|
|
11986
11986
|
color: textDefault$7.textColor
|
|
11987
|
-
}, FontPackages$
|
|
11987
|
+
}, FontPackages$h.lead_sans_01.base);
|
|
11988
11988
|
|
|
11989
11989
|
var leadSans01MarginsBase = {
|
|
11990
|
-
marginTop: FontPackages$
|
|
11991
|
-
marginBottom: FontPackages$
|
|
11990
|
+
marginTop: FontPackages$h.lead_sans_01.paragraph.paragraphSpacing,
|
|
11991
|
+
marginBottom: FontPackages$h.lead_sans_01.paragraph.paragraphSpacing
|
|
11992
11992
|
};
|
|
11993
11993
|
|
|
11994
11994
|
var leadSans02Base = __assign({
|
|
11995
11995
|
color: textDefault$7.textColor
|
|
11996
|
-
}, FontPackages$
|
|
11996
|
+
}, FontPackages$h.lead_sans_02.base);
|
|
11997
11997
|
|
|
11998
11998
|
var leadSans02MarginsBase = {
|
|
11999
|
-
marginTop: FontPackages$
|
|
12000
|
-
marginBottom: FontPackages$
|
|
11999
|
+
marginTop: FontPackages$h.lead_sans_02.paragraph.paragraphSpacing,
|
|
12000
|
+
marginBottom: FontPackages$h.lead_sans_02.paragraph.paragraphSpacing
|
|
12001
12001
|
};
|
|
12002
12002
|
|
|
12003
12003
|
var leadSans03Base = __assign({
|
|
12004
12004
|
color: textDefault$7.textColor
|
|
12005
|
-
}, FontPackages$
|
|
12005
|
+
}, FontPackages$h.lead_sans_03.base);
|
|
12006
12006
|
|
|
12007
12007
|
var leadSans03MarginsBase = {
|
|
12008
|
-
marginTop: FontPackages$
|
|
12009
|
-
marginBottom: FontPackages$
|
|
12008
|
+
marginTop: FontPackages$h.lead_sans_03.paragraph.paragraphSpacing,
|
|
12009
|
+
marginBottom: FontPackages$h.lead_sans_03.paragraph.paragraphSpacing
|
|
12010
12010
|
};
|
|
12011
12011
|
|
|
12012
12012
|
var leadSans04Base = __assign({
|
|
12013
12013
|
color: textDefault$7.textColor
|
|
12014
|
-
}, FontPackages$
|
|
12014
|
+
}, FontPackages$h.lead_sans_04.base);
|
|
12015
12015
|
|
|
12016
12016
|
var leadSans04MarginsBase = {
|
|
12017
|
-
marginTop: FontPackages$
|
|
12018
|
-
marginBottom: FontPackages$
|
|
12017
|
+
marginTop: FontPackages$h.lead_sans_04.paragraph.paragraphSpacing,
|
|
12018
|
+
marginBottom: FontPackages$h.lead_sans_04.paragraph.paragraphSpacing
|
|
12019
12019
|
};
|
|
12020
12020
|
|
|
12021
12021
|
var leadSans05Base = __assign({
|
|
12022
12022
|
color: textDefault$7.textColor
|
|
12023
|
-
}, FontPackages$
|
|
12023
|
+
}, FontPackages$h.lead_sans_05.base);
|
|
12024
12024
|
|
|
12025
12025
|
var leadSans05MarginsBase = {
|
|
12026
|
-
marginTop: FontPackages$
|
|
12027
|
-
marginBottom: FontPackages$
|
|
12026
|
+
marginTop: FontPackages$h.lead_sans_05.paragraph.paragraphSpacing,
|
|
12027
|
+
marginBottom: FontPackages$h.lead_sans_05.paragraph.paragraphSpacing
|
|
12028
12028
|
};
|
|
12029
12029
|
|
|
12030
12030
|
var supportingStyleLabel01Base = __assign(__assign({
|
|
12031
|
-
color: Colors$
|
|
12032
|
-
}, FontPackages$
|
|
12031
|
+
color: Colors$j.DdsColorNeutralsGray7
|
|
12032
|
+
}, FontPackages$h.supportingStyle_label_01.base), {
|
|
12033
12033
|
margin: 0
|
|
12034
12034
|
});
|
|
12035
12035
|
|
|
12036
12036
|
var supportingStyleLabel01MarginsBase = {
|
|
12037
|
-
marginTop: FontPackages$
|
|
12038
|
-
marginBottom: FontPackages$
|
|
12037
|
+
marginTop: FontPackages$h.supportingStyle_label_01.paragraph.paragraphSpacing,
|
|
12038
|
+
marginBottom: FontPackages$h.supportingStyle_label_01.paragraph.paragraphSpacing
|
|
12039
12039
|
};
|
|
12040
12040
|
|
|
12041
12041
|
var supportingStyleHelperText01Base = __assign(__assign({
|
|
12042
|
-
color: Colors$
|
|
12043
|
-
}, FontPackages$
|
|
12042
|
+
color: Colors$j.DdsColorNeutralsGray6
|
|
12043
|
+
}, FontPackages$h.supportingStyle_helpertext_01.base), {
|
|
12044
12044
|
margin: 0
|
|
12045
12045
|
});
|
|
12046
12046
|
|
|
12047
12047
|
var supportingStyleHelperText01MarginsBase = {
|
|
12048
|
-
marginTop: FontPackages$
|
|
12049
|
-
marginBottom: FontPackages$
|
|
12048
|
+
marginTop: FontPackages$h.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
|
|
12049
|
+
marginBottom: FontPackages$h.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
12050
12050
|
};
|
|
12051
12051
|
|
|
12052
12052
|
var supportingStyleInputText01Base = __assign(__assign({
|
|
12053
12053
|
color: textDefault$7.textColor
|
|
12054
|
-
}, FontPackages$
|
|
12054
|
+
}, FontPackages$h.supportingStyle_inputtext_01.base), {
|
|
12055
12055
|
margin: 0
|
|
12056
12056
|
});
|
|
12057
12057
|
|
|
12058
12058
|
var supportingStyleInputText01MarginsBase = {
|
|
12059
|
-
marginTop: FontPackages$
|
|
12060
|
-
marginBottom: FontPackages$
|
|
12059
|
+
marginTop: FontPackages$h.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
12060
|
+
marginBottom: FontPackages$h.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
12061
12061
|
};
|
|
12062
12062
|
|
|
12063
12063
|
var supportingStyleInputText02Base = __assign(__assign({
|
|
12064
12064
|
color: textDefault$7.textColor
|
|
12065
|
-
}, FontPackages$
|
|
12065
|
+
}, FontPackages$h.supportingStyle_inputtext_02.base), {
|
|
12066
12066
|
margin: 0
|
|
12067
12067
|
});
|
|
12068
12068
|
|
|
12069
12069
|
var supportingStyleInputText02MarginsBase = {
|
|
12070
|
-
marginTop: FontPackages$
|
|
12071
|
-
marginBottom: FontPackages$
|
|
12070
|
+
marginTop: FontPackages$h.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
|
|
12071
|
+
marginBottom: FontPackages$h.supportingStyle_inputtext_02.paragraph.paragraphSpacing
|
|
12072
12072
|
};
|
|
12073
12073
|
|
|
12074
12074
|
var supportingStyleInputText03Base = __assign(__assign({
|
|
12075
12075
|
color: textDefault$7.textColor
|
|
12076
|
-
}, FontPackages$
|
|
12076
|
+
}, FontPackages$h.supportingStyle_inputtext_03.base), {
|
|
12077
12077
|
margin: 0
|
|
12078
12078
|
});
|
|
12079
12079
|
|
|
12080
12080
|
var supportingStyleInputText03MarginsBase = {
|
|
12081
|
-
marginTop: FontPackages$
|
|
12082
|
-
marginBottom: FontPackages$
|
|
12081
|
+
marginTop: FontPackages$h.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
|
|
12082
|
+
marginBottom: FontPackages$h.supportingStyle_inputtext_03.paragraph.paragraphSpacing
|
|
12083
12083
|
};
|
|
12084
12084
|
|
|
12085
12085
|
var supportingStylePlaceholderText01Base = __assign(__assign({
|
|
12086
|
-
color: Colors$
|
|
12087
|
-
}, FontPackages$
|
|
12086
|
+
color: Colors$j.DdsColorNeutralsGray6
|
|
12087
|
+
}, FontPackages$h.supportingStyle_placeholdertext_01.base), {
|
|
12088
12088
|
margin: 0
|
|
12089
12089
|
});
|
|
12090
12090
|
|
|
12091
12091
|
var supportingStylePlaceholderText01MarginsBase = {
|
|
12092
|
-
marginTop: FontPackages$
|
|
12093
|
-
marginBottom: FontPackages$
|
|
12092
|
+
marginTop: FontPackages$h.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
12093
|
+
marginBottom: FontPackages$h.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
12094
12094
|
};
|
|
12095
12095
|
|
|
12096
12096
|
var supportingStyleTiny01Base = __assign(__assign({
|
|
12097
12097
|
color: textDefault$7.textColor
|
|
12098
|
-
}, FontPackages$
|
|
12098
|
+
}, FontPackages$h.supportingStyle_tiny_01.base), {
|
|
12099
12099
|
margin: 0
|
|
12100
12100
|
});
|
|
12101
12101
|
|
|
12102
12102
|
var supportingStyleTiny01MarginsBase = {
|
|
12103
|
-
marginTop: FontPackages$
|
|
12104
|
-
marginBottom: FontPackages$
|
|
12103
|
+
marginTop: FontPackages$h.supportingStyle_tiny_01.paragraph.paragraphSpacing,
|
|
12104
|
+
marginBottom: FontPackages$h.supportingStyle_tiny_01.paragraph.paragraphSpacing
|
|
12105
12105
|
};
|
|
12106
12106
|
var selectionBase = {
|
|
12107
12107
|
color: textDefault$7.textColor,
|
|
12108
|
-
backgroundColor: Colors$
|
|
12108
|
+
backgroundColor: Colors$j.DdsColorTertiaryLightest
|
|
12109
12109
|
};
|
|
12110
12110
|
var typographyTokens = {
|
|
12111
12111
|
selection: {
|
|
@@ -12127,7 +12127,7 @@ var typographyTokens = {
|
|
|
12127
12127
|
base: aBoldBase
|
|
12128
12128
|
},
|
|
12129
12129
|
icon: {
|
|
12130
|
-
marginLeft: Spacing$
|
|
12130
|
+
marginLeft: Spacing$p.SizesDdsSpacingLocalX0125
|
|
12131
12131
|
}
|
|
12132
12132
|
},
|
|
12133
12133
|
headingSans01: {
|
|
@@ -19930,45 +19930,45 @@ var getTextColor = function getTextColor(color) {
|
|
|
19930
19930
|
};
|
|
19931
19931
|
|
|
19932
19932
|
var getElementStyling = function getElementStyling(type) {
|
|
19933
|
-
return Ae(templateObject_1$
|
|
19933
|
+
return Ae(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
|
|
19934
19934
|
};
|
|
19935
19935
|
|
|
19936
19936
|
var LinkIconWrapper = styled(IconWrapper$1).withConfig({
|
|
19937
19937
|
displayName: "Typography__LinkIconWrapper",
|
|
19938
19938
|
componentId: "sc-1uvxoh6-0"
|
|
19939
|
-
})(templateObject_2$
|
|
19939
|
+
})(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
|
|
19940
19940
|
var StyledTypography = styled.p.withConfig({
|
|
19941
19941
|
displayName: "Typography__StyledTypography",
|
|
19942
19942
|
componentId: "sc-1uvxoh6-1"
|
|
19943
|
-
})(templateObject_13$
|
|
19943
|
+
})(templateObject_13$3 || (templateObject_13$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n ", "\n\n ", "\n\n ", "\n ", "\n ", "\n ", "\n"])), function (_a) {
|
|
19944
19944
|
var typographyType = _a.typographyType;
|
|
19945
19945
|
return typographyType && getElementStyling(typographyType);
|
|
19946
19946
|
}, function (_a) {
|
|
19947
19947
|
var typographyType = _a.typographyType,
|
|
19948
19948
|
interactionProps = _a.interactionProps;
|
|
19949
|
-
return typographyType === 'a' && Ae(templateObject_4$
|
|
19949
|
+
return typographyType === 'a' && Ae(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "], ["\n display: inline-flex;\n align-items: center;\n\n &:hover {\n ", "\n }\n ", "\n &:focus-visible {\n ", "\n }\n &:focus-visible::selection {\n ", "\n }\n "])), typographyTokens.typographyType[typographyType].hover.base, interactionProps && interactionProps.active && Ae(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active), typographyTokens.typographyType[typographyType].focus.base, typographyTokens.typographyType[typographyType].focus.base);
|
|
19950
19950
|
}, function (_a) {
|
|
19951
19951
|
var interactionProps = _a.interactionProps;
|
|
19952
|
-
return interactionProps && interactionProps.hover && Ae(templateObject_5$
|
|
19952
|
+
return interactionProps && interactionProps.hover && Ae(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), interactionProps.hover);
|
|
19953
19953
|
}, function (_a) {
|
|
19954
19954
|
var interactionProps = _a.interactionProps;
|
|
19955
|
-
return interactionProps && interactionProps.active && Ae(templateObject_6$
|
|
19955
|
+
return interactionProps && interactionProps.active && Ae(templateObject_6$d || (templateObject_6$d = __makeTemplateObject(["\n &:active {\n ", "\n }\n "], ["\n &:active {\n ", "\n }\n "])), interactionProps.active);
|
|
19956
19956
|
}, function (_a) {
|
|
19957
19957
|
var withMargins = _a.withMargins,
|
|
19958
19958
|
typographyType = _a.typographyType;
|
|
19959
|
-
return withMargins && typographyType ? Ae(templateObject_7$
|
|
19959
|
+
return withMargins && typographyType ? Ae(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.typographyType[typographyType].margins.base) : Ae(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n margin: 0;\n "], ["\n margin: 0;\n "])));
|
|
19960
19960
|
}, function (_a) {
|
|
19961
19961
|
var color = _a.color;
|
|
19962
|
-
return color && Ae(templateObject_9$
|
|
19962
|
+
return color && Ae(templateObject_9$7 || (templateObject_9$7 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), getTextColor(color));
|
|
19963
19963
|
}, function (_a) {
|
|
19964
19964
|
var bold = _a.bold;
|
|
19965
|
-
return bold && Ae(templateObject_10$
|
|
19965
|
+
return bold && Ae(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.bold.base);
|
|
19966
19966
|
}, function (_a) {
|
|
19967
19967
|
var italic = _a.italic;
|
|
19968
|
-
return italic && Ae(templateObject_11$
|
|
19968
|
+
return italic && Ae(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.italic.base);
|
|
19969
19969
|
}, function (_a) {
|
|
19970
19970
|
var underline = _a.underline;
|
|
19971
|
-
return underline && Ae(templateObject_12$
|
|
19971
|
+
return underline && Ae(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), typographyTokens.style.underline.base);
|
|
19972
19972
|
});
|
|
19973
19973
|
var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
19974
19974
|
var _b = _a.typographyType,
|
|
@@ -19997,81 +19997,81 @@ var Typography = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
19997
19997
|
}, void 0) : '']
|
|
19998
19998
|
}), void 0);
|
|
19999
19999
|
});
|
|
20000
|
-
var templateObject_1$
|
|
20000
|
+
var templateObject_1$E, templateObject_2$t, templateObject_3$l, templateObject_4$h, templateObject_5$e, templateObject_6$d, templateObject_7$a, templateObject_8$7, templateObject_9$7, templateObject_10$6, templateObject_11$5, templateObject_12$4, templateObject_13$3;
|
|
20001
20001
|
|
|
20002
20002
|
var RadioButtonGroupContext = /*#__PURE__*/React__default.createContext(null);
|
|
20003
20003
|
var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
20004
20004
|
return useContext(RadioButtonGroupContext);
|
|
20005
20005
|
};
|
|
20006
20006
|
|
|
20007
|
-
var Colors$
|
|
20008
|
-
Border$
|
|
20009
|
-
Spacing$
|
|
20010
|
-
FontPackages$
|
|
20007
|
+
var Colors$i = ddsBaseTokens.colors,
|
|
20008
|
+
Border$8 = ddsBaseTokens.border,
|
|
20009
|
+
Spacing$o = ddsBaseTokens.spacing,
|
|
20010
|
+
FontPackages$g = ddsBaseTokens.fontPackages;
|
|
20011
20011
|
var radioButtonBase = {
|
|
20012
20012
|
border: '1px solid',
|
|
20013
|
-
borderColor: Colors$
|
|
20014
|
-
backgroundColor: Colors$
|
|
20015
|
-
height: FontPackages$
|
|
20016
|
-
width: FontPackages$
|
|
20013
|
+
borderColor: Colors$i.DdsColorNeutralsGray5,
|
|
20014
|
+
backgroundColor: Colors$i.DdsColorNeutralsWhite,
|
|
20015
|
+
height: FontPackages$g.supportingStyle_inputtext_02.numbers.fontSizeNumber,
|
|
20016
|
+
width: FontPackages$g.supportingStyle_inputtext_02.numbers.fontSizeNumber
|
|
20017
20017
|
};
|
|
20018
20018
|
var radioButtonHoverBase = {
|
|
20019
20019
|
border: '2px solid',
|
|
20020
|
-
backgroundColor: Colors$
|
|
20021
|
-
borderColor: Colors$
|
|
20020
|
+
backgroundColor: Colors$i.DdsColorInteractiveLightest,
|
|
20021
|
+
borderColor: Colors$i.DdsColorInteractiveBase
|
|
20022
20022
|
};
|
|
20023
20023
|
var radioButtonDisabledBase = {
|
|
20024
20024
|
border: '1px solid',
|
|
20025
|
-
borderColor: Colors$
|
|
20026
|
-
color: Colors$
|
|
20025
|
+
borderColor: Colors$i.DdsColorNeutralsGray5,
|
|
20026
|
+
color: Colors$i.DdsColorNeutralsGray6
|
|
20027
20027
|
};
|
|
20028
20028
|
var radioButtonReadOnlyBase = {
|
|
20029
20029
|
backgroundColor: 'transparent'
|
|
20030
20030
|
};
|
|
20031
20031
|
var radioButtonDangerBase = {
|
|
20032
20032
|
border: '2px solid',
|
|
20033
|
-
borderColor: Colors$
|
|
20033
|
+
borderColor: Colors$i.DdsColorDangerBase
|
|
20034
20034
|
};
|
|
20035
20035
|
var radioButtonDangerHoverBase = {
|
|
20036
20036
|
border: '2px solid',
|
|
20037
|
-
backgroundColor: Colors$
|
|
20038
|
-
borderColor: Colors$
|
|
20037
|
+
backgroundColor: Colors$i.DdsColorDangerLightest,
|
|
20038
|
+
borderColor: Colors$i.DdsColorDangerBase
|
|
20039
20039
|
};
|
|
20040
20040
|
var radioButtonCheckedBase = {
|
|
20041
20041
|
border: '2px solid',
|
|
20042
|
-
backgroundColor: Colors$
|
|
20043
|
-
borderColor: Colors$
|
|
20042
|
+
backgroundColor: Colors$i.DdsColorInteractiveBase,
|
|
20043
|
+
borderColor: Colors$i.DdsColorInteractiveBase
|
|
20044
20044
|
};
|
|
20045
20045
|
var radioButtonCheckedHoverBase = {
|
|
20046
20046
|
border: '2px solid',
|
|
20047
|
-
backgroundColor: Colors$
|
|
20048
|
-
borderColor: Colors$
|
|
20047
|
+
backgroundColor: Colors$i.DdsColorInteractiveDark,
|
|
20048
|
+
borderColor: Colors$i.DdsColorInteractiveDark
|
|
20049
20049
|
};
|
|
20050
20050
|
var radioButtonCheckedDisabledBase = {
|
|
20051
20051
|
border: '1px solid',
|
|
20052
|
-
borderColor: Colors$
|
|
20053
|
-
backgroundColor: Colors$
|
|
20052
|
+
borderColor: Colors$i.DdsColorNeutralsGray6,
|
|
20053
|
+
backgroundColor: Colors$i.DdsColorNeutralsGray6
|
|
20054
20054
|
};
|
|
20055
20055
|
var radioButtonCheckedReadOnlyBase = {
|
|
20056
20056
|
border: '2px solid',
|
|
20057
|
-
borderColor: Colors$
|
|
20058
|
-
backgroundColor: Colors$
|
|
20057
|
+
borderColor: Colors$i.DdsColorNeutralsGray6,
|
|
20058
|
+
backgroundColor: Colors$i.DdsColorNeutralsGray6
|
|
20059
20059
|
};
|
|
20060
20060
|
var checkmarkBase$1 = {
|
|
20061
|
-
backgroundColor: Colors$
|
|
20062
|
-
height: Spacing$
|
|
20063
|
-
width: Spacing$
|
|
20064
|
-
left: "calc(50% - " + Spacing$
|
|
20065
|
-
top: "calc(50% - " + Spacing$
|
|
20061
|
+
backgroundColor: Colors$i.DdsColorNeutralsWhite,
|
|
20062
|
+
height: Spacing$o.SizesDdsSpacingLocalX05,
|
|
20063
|
+
width: Spacing$o.SizesDdsSpacingLocalX05,
|
|
20064
|
+
left: "calc(50% - " + Spacing$o.SizesDdsSpacingLocalX05NumberPx / 2 + "px)",
|
|
20065
|
+
top: "calc(50% - " + Spacing$o.SizesDdsSpacingLocalX05NumberPx / 2 + "px)"
|
|
20066
20066
|
};
|
|
20067
20067
|
var containerBase$4 = {
|
|
20068
|
-
marginRight: Spacing$
|
|
20069
|
-
padding: Spacing$
|
|
20068
|
+
marginRight: Spacing$o.SizesDdsSpacingLocalX075,
|
|
20069
|
+
padding: Spacing$o.SizesDdsSpacingLocalX025 + " " + Spacing$o.SizesDdsSpacingLocalX025 + " " + Spacing$o.SizesDdsSpacingLocalX025 + " " + (20 + Spacing$o.SizesDdsSpacingLocalX075NumberPx) + "px"
|
|
20070
20070
|
};
|
|
20071
20071
|
var radioButtonTokens = {
|
|
20072
20072
|
radioButton: {
|
|
20073
20073
|
base: radioButtonBase,
|
|
20074
|
-
spaceLeft: Spacing$
|
|
20074
|
+
spaceLeft: Spacing$o.SizesDdsSpacingLocalX025,
|
|
20075
20075
|
hover: {
|
|
20076
20076
|
base: radioButtonHoverBase
|
|
20077
20077
|
},
|
|
@@ -20106,8 +20106,8 @@ var radioButtonTokens = {
|
|
|
20106
20106
|
container: {
|
|
20107
20107
|
base: containerBase$4,
|
|
20108
20108
|
focusOutline: {
|
|
20109
|
-
color: Colors$
|
|
20110
|
-
width: Border$
|
|
20109
|
+
color: Colors$i.DdsColorWarningDarker,
|
|
20110
|
+
width: Border$8.BordersDdsBorderStyle1StrokeWeight
|
|
20111
20111
|
}
|
|
20112
20112
|
}
|
|
20113
20113
|
};
|
|
@@ -20115,7 +20115,7 @@ var radioButtonTokens = {
|
|
|
20115
20115
|
var CustomRadioButton = styled.span.withConfig({
|
|
20116
20116
|
displayName: "RadioButtonstyles__CustomRadioButton",
|
|
20117
20117
|
componentId: "sc-iwypha-0"
|
|
20118
|
-
})(templateObject_1$
|
|
20118
|
+
})(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n box-sizing: border-box;\n border-radius: 50%;\n vertical-align: middle;\n ", "\n left: ", ";\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), radioButtonTokens.radioButton.base, radioButtonTokens.radioButton.spaceLeft);
|
|
20119
20119
|
var Input$4 = styled.input.attrs(function (_a) {
|
|
20120
20120
|
var _b = _a.type,
|
|
20121
20121
|
type = _b === void 0 ? 'radio' : _b;
|
|
@@ -20125,21 +20125,21 @@ var Input$4 = styled.input.attrs(function (_a) {
|
|
|
20125
20125
|
}).withConfig({
|
|
20126
20126
|
displayName: "RadioButtonstyles__Input",
|
|
20127
20127
|
componentId: "sc-iwypha-1"
|
|
20128
|
-
})(templateObject_2$
|
|
20128
|
+
})(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
|
|
20129
20129
|
var Container$9 = styled.label.withConfig({
|
|
20130
20130
|
displayName: "RadioButtonstyles__Container",
|
|
20131
20131
|
componentId: "sc-iwypha-2"
|
|
20132
|
-
})(templateObject_6$
|
|
20132
|
+
})(templateObject_6$c || (templateObject_6$c = __makeTemplateObject(["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"], ["\n position: relative;\n display: block;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n display: flex;\n align-items: center;\n ", "\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border-radius: 50%;\n ", "\n }\n"])), radioButtonTokens.container.base, CustomRadioButton, CustomRadioButton, CustomRadioButton, radioButtonTokens.radioButton.checked.base, CustomRadioButton, radioButtonTokens.radioButton.hover.base, CustomRadioButton, radioButtonTokens.radioButton.checked.hover.base, radioButtonTokens.container.focusOutline.width, radioButtonTokens.container.focusOutline.color, function (_a) {
|
|
20133
20133
|
var error = _a.error;
|
|
20134
|
-
return error && Ae(templateObject_3$
|
|
20134
|
+
return error && Ae(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.danger.base, CustomRadioButton, radioButtonTokens.radioButton.danger.hover.base);
|
|
20135
20135
|
}, function (_a) {
|
|
20136
20136
|
var disabled = _a.disabled;
|
|
20137
|
-
return disabled && Ae(templateObject_4$
|
|
20137
|
+
return disabled && Ae(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.disabled.base, CustomRadioButton, radioButtonTokens.radioButton.checked.disabled.base);
|
|
20138
20138
|
}, function (_a) {
|
|
20139
20139
|
var readOnly = _a.readOnly;
|
|
20140
|
-
return readOnly && Ae(templateObject_5$
|
|
20140
|
+
return readOnly && Ae(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n "])), CustomRadioButton, radioButtonTokens.radioButton.readOnly.base, CustomRadioButton, radioButtonTokens.radioButton.checked.readOnly.base);
|
|
20141
20141
|
}, CustomRadioButton, radioButtonTokens.checkmark.base);
|
|
20142
|
-
var templateObject_1$
|
|
20142
|
+
var templateObject_1$D, templateObject_2$s, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c;
|
|
20143
20143
|
|
|
20144
20144
|
var nextUniqueId$6 = 0;
|
|
20145
20145
|
|
|
@@ -20212,14 +20212,14 @@ var RadioButton = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20212
20212
|
var MarkerWrapper = styled.span.withConfig({
|
|
20213
20213
|
displayName: "RequiredMarker__MarkerWrapper",
|
|
20214
20214
|
componentId: "sc-1p5sjqf-0"
|
|
20215
|
-
})(templateObject_1$
|
|
20215
|
+
})(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
|
|
20216
20216
|
|
|
20217
20217
|
function RequiredMarker() {
|
|
20218
20218
|
return jsxRuntime.jsx(MarkerWrapper, {
|
|
20219
20219
|
children: "*"
|
|
20220
20220
|
}, void 0);
|
|
20221
20221
|
}
|
|
20222
|
-
var templateObject_1$
|
|
20222
|
+
var templateObject_1$C;
|
|
20223
20223
|
|
|
20224
20224
|
var ReportProblemOutlined = createCommonjsModule(function (module, exports) {
|
|
20225
20225
|
|
|
@@ -20245,21 +20245,21 @@ exports.default = _default;
|
|
|
20245
20245
|
|
|
20246
20246
|
var DangerOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ReportProblemOutlined);
|
|
20247
20247
|
|
|
20248
|
-
var Colors$
|
|
20249
|
-
Spacing$
|
|
20248
|
+
var Colors$h = ddsBaseTokens.colors,
|
|
20249
|
+
Spacing$n = ddsBaseTokens.spacing;
|
|
20250
20250
|
var base$8 = {
|
|
20251
|
-
padding: Spacing$
|
|
20251
|
+
padding: Spacing$n.SizesDdsSpacingLocalX025 + " " + Spacing$n.SizesDdsSpacingLocalX05
|
|
20252
20252
|
};
|
|
20253
20253
|
var defaultMaxWidth = '100%';
|
|
20254
20254
|
var tipBase = {
|
|
20255
|
-
backgroundColor: Colors$
|
|
20255
|
+
backgroundColor: Colors$h.DdsColorNeutralsWhite
|
|
20256
20256
|
};
|
|
20257
20257
|
var errorBase = {
|
|
20258
|
-
color: Colors$
|
|
20259
|
-
backgroundColor: Colors$
|
|
20258
|
+
color: Colors$h.DdsColorDangerBase,
|
|
20259
|
+
backgroundColor: Colors$h.DdsColorDangerLightest
|
|
20260
20260
|
};
|
|
20261
20261
|
var inputMessageTokens = {
|
|
20262
|
-
padding: Spacing$
|
|
20262
|
+
padding: Spacing$n.SizesDdsSpacingLocalX025 + " " + Spacing$n.SizesDdsSpacingLocalX05,
|
|
20263
20263
|
base: base$8,
|
|
20264
20264
|
defaultMaxWidth: defaultMaxWidth,
|
|
20265
20265
|
tip: {
|
|
@@ -20269,16 +20269,16 @@ var inputMessageTokens = {
|
|
|
20269
20269
|
base: errorBase
|
|
20270
20270
|
},
|
|
20271
20271
|
icon: {
|
|
20272
|
-
spaceRight: Spacing$
|
|
20272
|
+
spaceRight: Spacing$n.SizesDdsSpacingLocalX05
|
|
20273
20273
|
}
|
|
20274
20274
|
};
|
|
20275
20275
|
|
|
20276
20276
|
var InputMessageWrapper = styled.div.withConfig({
|
|
20277
20277
|
displayName: "InputMessage__InputMessageWrapper",
|
|
20278
20278
|
componentId: "sc-n5r6yv-0"
|
|
20279
|
-
})(templateObject_2$
|
|
20279
|
+
})(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"], ["\n display: flex;\n align-items: center;\n width: fit-content;\n word-break: break-word;\n ", "\n ", "\n max-width: ", ";\n\n svg {\n margin-right: ", ";\n position: relative;\n }\n"])), inputMessageTokens.base, function (_a) {
|
|
20280
20280
|
var messageType = _a.messageType;
|
|
20281
|
-
return messageType && Ae(templateObject_1$
|
|
20281
|
+
return messageType && Ae(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
|
|
20282
20282
|
}, function (_a) {
|
|
20283
20283
|
var maxWidth = _a.maxWidth;
|
|
20284
20284
|
return maxWidth;
|
|
@@ -20308,30 +20308,30 @@ function InputMessage(_a) {
|
|
|
20308
20308
|
}), void 0)]
|
|
20309
20309
|
}), void 0);
|
|
20310
20310
|
}
|
|
20311
|
-
var templateObject_1$
|
|
20311
|
+
var templateObject_1$B, templateObject_2$r;
|
|
20312
20312
|
|
|
20313
|
-
var Spacing$
|
|
20313
|
+
var Spacing$m = ddsBaseTokens.spacing;
|
|
20314
20314
|
var radioButtonGroupTokens = {
|
|
20315
20315
|
label: {
|
|
20316
|
-
spaceLeft: Spacing$
|
|
20316
|
+
spaceLeft: Spacing$m.SizesDdsSpacingLocalX025
|
|
20317
20317
|
}
|
|
20318
20318
|
};
|
|
20319
20319
|
|
|
20320
20320
|
var Container$8 = styled.div.withConfig({
|
|
20321
20321
|
displayName: "RadioButtonGroup__Container",
|
|
20322
20322
|
componentId: "sc-1xsll60-0"
|
|
20323
|
-
})(templateObject_1$
|
|
20323
|
+
})(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
|
|
20324
20324
|
var GroupContainer$1 = styled.div.withConfig({
|
|
20325
20325
|
displayName: "RadioButtonGroup__GroupContainer",
|
|
20326
20326
|
componentId: "sc-1xsll60-1"
|
|
20327
|
-
})(templateObject_2$
|
|
20327
|
+
})(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
|
|
20328
20328
|
var direction = _a.direction;
|
|
20329
20329
|
return direction !== null && direction !== void 0 ? direction : 'row';
|
|
20330
20330
|
});
|
|
20331
20331
|
var Label$4 = styled(Typography).withConfig({
|
|
20332
20332
|
displayName: "RadioButtonGroup__Label",
|
|
20333
20333
|
componentId: "sc-1xsll60-2"
|
|
20334
|
-
})(templateObject_3$
|
|
20334
|
+
})(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), radioButtonGroupTokens.label.spaceLeft);
|
|
20335
20335
|
var nextUniqueGroupId$1 = 0;
|
|
20336
20336
|
var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
20337
20337
|
var name = _a.name,
|
|
@@ -20405,62 +20405,62 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20405
20405
|
}, void 0) : '']
|
|
20406
20406
|
}), void 0);
|
|
20407
20407
|
};
|
|
20408
|
-
var templateObject_1$
|
|
20408
|
+
var templateObject_1$A, templateObject_2$q, templateObject_3$j;
|
|
20409
20409
|
|
|
20410
|
-
var Colors$
|
|
20411
|
-
Border$
|
|
20412
|
-
Spacing$
|
|
20413
|
-
FontPackages$
|
|
20414
|
-
BorderRadius$
|
|
20410
|
+
var Colors$g = ddsBaseTokens.colors,
|
|
20411
|
+
Border$7 = ddsBaseTokens.border,
|
|
20412
|
+
Spacing$l = ddsBaseTokens.spacing,
|
|
20413
|
+
FontPackages$f = ddsBaseTokens.fontPackages,
|
|
20414
|
+
BorderRadius$4 = ddsBaseTokens.borderRadius;
|
|
20415
20415
|
var checkboxBase = {
|
|
20416
20416
|
border: '1px solid',
|
|
20417
|
-
backgroundColor: Colors$
|
|
20418
|
-
borderColor: Colors$
|
|
20419
|
-
borderRadius: BorderRadius$
|
|
20420
|
-
height: FontPackages$
|
|
20421
|
-
width: FontPackages$
|
|
20417
|
+
backgroundColor: Colors$g.DdsColorNeutralsWhite,
|
|
20418
|
+
borderColor: Colors$g.DdsColorNeutralsGray5,
|
|
20419
|
+
borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
|
|
20420
|
+
height: FontPackages$f.supportingStyle_inputtext_02.base.fontSize,
|
|
20421
|
+
width: FontPackages$f.supportingStyle_inputtext_02.base.fontSize
|
|
20422
20422
|
};
|
|
20423
20423
|
var checkboxCheckedBase = {
|
|
20424
20424
|
border: '2px solid',
|
|
20425
|
-
borderColor: Colors$
|
|
20426
|
-
backgroundColor: Colors$
|
|
20425
|
+
borderColor: Colors$g.DdsColorInteractiveBase,
|
|
20426
|
+
backgroundColor: Colors$g.DdsColorInteractiveBase
|
|
20427
20427
|
};
|
|
20428
20428
|
var checkboxDisabledBase = {
|
|
20429
20429
|
border: '1px solid',
|
|
20430
|
-
borderColor: Colors$
|
|
20431
|
-
color: Colors$
|
|
20430
|
+
borderColor: Colors$g.DdsColorNeutralsGray5,
|
|
20431
|
+
color: Colors$g.DdsColorNeutralsGray6
|
|
20432
20432
|
};
|
|
20433
20433
|
var checkboxCheckedDisabledBase = {
|
|
20434
20434
|
border: '2px solid',
|
|
20435
|
-
borderColor: Colors$
|
|
20436
|
-
backgroundColor: Colors$
|
|
20435
|
+
borderColor: Colors$g.DdsColorNeutralsGray6,
|
|
20436
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray6
|
|
20437
20437
|
};
|
|
20438
20438
|
var checkboxReadOnlyBase = {
|
|
20439
20439
|
backgroundColor: 'transparent'
|
|
20440
20440
|
};
|
|
20441
20441
|
var checkboxCheckedReadOnlyBase = {
|
|
20442
20442
|
border: '2px solid',
|
|
20443
|
-
borderColor: Colors$
|
|
20444
|
-
backgroundColor: Colors$
|
|
20443
|
+
borderColor: Colors$g.DdsColorNeutralsGray6,
|
|
20444
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray6
|
|
20445
20445
|
};
|
|
20446
20446
|
var checkboxHoverBase = {
|
|
20447
|
-
backgroundColor: Colors$
|
|
20447
|
+
backgroundColor: Colors$g.DdsColorInteractiveLightest,
|
|
20448
20448
|
border: '2px solid',
|
|
20449
|
-
borderColor: Colors$
|
|
20449
|
+
borderColor: Colors$g.DdsColorInteractiveBase
|
|
20450
20450
|
};
|
|
20451
20451
|
var checkboxCheckedHoverBase = {
|
|
20452
|
-
backgroundColor: Colors$
|
|
20452
|
+
backgroundColor: Colors$g.DdsColorInteractiveDark,
|
|
20453
20453
|
border: '2px solid',
|
|
20454
|
-
borderColor: Colors$
|
|
20454
|
+
borderColor: Colors$g.DdsColorInteractiveDark
|
|
20455
20455
|
};
|
|
20456
20456
|
var checkboxDangerBase = {
|
|
20457
20457
|
border: '2px solid',
|
|
20458
|
-
borderColor: Colors$
|
|
20458
|
+
borderColor: Colors$g.DdsColorDangerBase
|
|
20459
20459
|
};
|
|
20460
20460
|
var checkboxDangerHoverBase = {
|
|
20461
|
-
backgroundColor: Colors$
|
|
20461
|
+
backgroundColor: Colors$g.DdsColorDangerLightest,
|
|
20462
20462
|
border: '2px solid',
|
|
20463
|
-
borderColor: Colors$
|
|
20463
|
+
borderColor: Colors$g.DdsColorDangerBase
|
|
20464
20464
|
};
|
|
20465
20465
|
var checkmarkBase = {
|
|
20466
20466
|
borderWidth: '0 1px 1px 0',
|
|
@@ -20474,20 +20474,20 @@ var checkmarkIndeterminateBase = {
|
|
|
20474
20474
|
borderWidth: '1px 0 0 0'
|
|
20475
20475
|
};
|
|
20476
20476
|
|
|
20477
|
-
var containerBase$3 = __assign({}, FontPackages$
|
|
20477
|
+
var containerBase$3 = __assign({}, FontPackages$f.body_sans_02.base);
|
|
20478
20478
|
|
|
20479
|
-
var containerWithLabelBase = __assign(__assign({}, FontPackages$
|
|
20480
|
-
marginRight: Spacing$
|
|
20481
|
-
padding: "0 " + Spacing$
|
|
20479
|
+
var containerWithLabelBase = __assign(__assign({}, FontPackages$f.body_sans_02.base), {
|
|
20480
|
+
marginRight: Spacing$l.SizesDdsSpacingLocalX075,
|
|
20481
|
+
padding: "0 " + Spacing$l.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$f.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$l.SizesDdsSpacingLocalX075NumberPx) + "px"
|
|
20482
20482
|
});
|
|
20483
20483
|
|
|
20484
20484
|
var containerNoLabelBase = {
|
|
20485
|
-
padding: Spacing$
|
|
20485
|
+
padding: Spacing$l.SizesDdsSpacingLocalX075 + " " + Spacing$l.SizesDdsSpacingLocalX0125 + " " + Spacing$l.SizesDdsSpacingLocalX075 + " " + Spacing$l.SizesDdsSpacingLocalX15
|
|
20486
20486
|
};
|
|
20487
20487
|
var checkboxTokens = {
|
|
20488
20488
|
checkbox: {
|
|
20489
20489
|
base: checkboxBase,
|
|
20490
|
-
spaceLeft: Spacing$
|
|
20490
|
+
spaceLeft: Spacing$l.SizesDdsSpacingLocalX025,
|
|
20491
20491
|
hover: {
|
|
20492
20492
|
base: checkboxHoverBase
|
|
20493
20493
|
},
|
|
@@ -20530,7 +20530,7 @@ var checkboxTokens = {
|
|
|
20530
20530
|
},
|
|
20531
20531
|
checkmark: {
|
|
20532
20532
|
base: checkmarkBase,
|
|
20533
|
-
color: Colors$
|
|
20533
|
+
color: Colors$g.DdsColorNeutralsWhite,
|
|
20534
20534
|
indeterminate: {
|
|
20535
20535
|
base: checkmarkIndeterminateBase
|
|
20536
20536
|
}
|
|
@@ -20538,8 +20538,8 @@ var checkboxTokens = {
|
|
|
20538
20538
|
container: {
|
|
20539
20539
|
base: containerBase$3,
|
|
20540
20540
|
focusOutline: {
|
|
20541
|
-
color: Colors$
|
|
20542
|
-
width: Border$
|
|
20541
|
+
color: Colors$g.DdsColorWarningDarker,
|
|
20542
|
+
width: Border$7.BordersDdsBorderStyle1StrokeWeight
|
|
20543
20543
|
},
|
|
20544
20544
|
withLabel: {
|
|
20545
20545
|
base: containerWithLabelBase
|
|
@@ -20553,7 +20553,7 @@ var checkboxTokens = {
|
|
|
20553
20553
|
var CustomCheckbox = styled.span.withConfig({
|
|
20554
20554
|
displayName: "Checkboxstyles__CustomCheckbox",
|
|
20555
20555
|
componentId: "sc-17q1ubf-0"
|
|
20556
|
-
})(templateObject_1$
|
|
20556
|
+
})(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"], ["\n position: absolute;\n ", "\n left: ", ";\n box-sizing: border-box;\n &:after {\n content: '';\n position: absolute;\n display: none;\n }\n"])), checkboxTokens.checkbox.base, checkboxTokens.checkbox.spaceLeft);
|
|
20557
20557
|
var Input$3 = styled.input.attrs(function (_a) {
|
|
20558
20558
|
var _b = _a.type,
|
|
20559
20559
|
type = _b === void 0 ? 'checkbox' : _b;
|
|
@@ -20563,32 +20563,32 @@ var Input$3 = styled.input.attrs(function (_a) {
|
|
|
20563
20563
|
}).withConfig({
|
|
20564
20564
|
displayName: "Checkboxstyles__Input",
|
|
20565
20565
|
componentId: "sc-17q1ubf-1"
|
|
20566
|
-
})(templateObject_2$
|
|
20566
|
+
})(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"], ["\n clip: rect(0 0 0 0);\n position: absolute;\n height: 0;\n width: 0;\n margin: 0;\n"])));
|
|
20567
20567
|
var Container$7 = styled.label.withConfig({
|
|
20568
20568
|
displayName: "Checkboxstyles__Container",
|
|
20569
20569
|
componentId: "sc-17q1ubf-2"
|
|
20570
|
-
})(templateObject_13$
|
|
20570
|
+
})(templateObject_13$2 || (templateObject_13$2 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n width: fit-content;\n ", "\n ", "\n\n input ~ ", " {\n transition: box-shadow 0.2s, background-color 0.2s, border 0.2s;\n }\n\n input:checked ~ ", ":after {\n display: block;\n }\n\n input:checked ~ ", " {\n ", "\n }\n\n &:hover input:enabled ~ ", " {\n ", "\n }\n &:hover input:checked:enabled ~ ", " {\n ", "\n }\n &:focus-within {\n outline: ", " solid\n ", ";\n }\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n ", ":after {\n border: solid ", ";\n ", "\n }\n"])), checkboxTokens.container.base, function (_a) {
|
|
20571
20571
|
var label = _a.label;
|
|
20572
|
-
return label ? Ae(templateObject_3$
|
|
20572
|
+
return label ? Ae(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.withLabel.base) : Ae(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.container.noLabel.base);
|
|
20573
20573
|
}, CustomCheckbox, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.checked.base, CustomCheckbox, checkboxTokens.checkbox.hover.base, CustomCheckbox, checkboxTokens.checkbox.checked.hover.base, checkboxTokens.container.focusOutline.width, checkboxTokens.container.focusOutline.color, function (_a) {
|
|
20574
20574
|
var error = _a.error;
|
|
20575
|
-
return error && Ae(templateObject_5$
|
|
20575
|
+
return error && Ae(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.danger.base, CustomCheckbox, checkboxTokens.checkbox.danger.hover.base);
|
|
20576
20576
|
}, function (_a) {
|
|
20577
20577
|
var indeterminate = _a.indeterminate;
|
|
20578
|
-
return indeterminate && Ae(templateObject_6$
|
|
20578
|
+
return indeterminate && Ae(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "], ["\n input:enabled ~ ", " {\n ", "\n }\n input ~ ", ":after {\n display: block;\n }\n &:hover input:enabled ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.base, CustomCheckbox, CustomCheckbox, checkboxTokens.checkbox.indeterminate.hover.base);
|
|
20579
20579
|
}, function (_a) {
|
|
20580
20580
|
var disabled = _a.disabled,
|
|
20581
20581
|
indeterminate = _a.indeterminate;
|
|
20582
|
-
return disabled && Ae(templateObject_8$
|
|
20582
|
+
return disabled && Ae(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: not-allowed;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.disabled.base, CustomCheckbox, checkboxTokens.checkbox.checked.disabled.base, indeterminate && Ae(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.disabled.base));
|
|
20583
20583
|
}, function (_a) {
|
|
20584
20584
|
var readOnly = _a.readOnly,
|
|
20585
20585
|
indeterminate = _a.indeterminate;
|
|
20586
|
-
return readOnly && Ae(templateObject_10$
|
|
20586
|
+
return readOnly && Ae(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "], ["\n cursor: default;\n input ~ ", " {\n ", "\n }\n input:checked ~ ", " {\n ", "\n }\n ", "\n "])), CustomCheckbox, checkboxTokens.checkbox.readOnly.base, CustomCheckbox, checkboxTokens.checkbox.checked.readOnly.base, indeterminate && Ae(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject(["\n input ~ ", " {\n ", "\n }\n "], ["\n input ~ ", " {\n ", "\n }\n "])), CustomCheckbox, checkboxTokens.checkbox.indeterminate.readOnly.base));
|
|
20587
20587
|
}, CustomCheckbox, checkboxTokens.checkmark.color, function (_a) {
|
|
20588
20588
|
var indeterminate = _a.indeterminate;
|
|
20589
|
-
return indeterminate ? Ae(templateObject_11$
|
|
20589
|
+
return indeterminate ? Ae(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject(["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "], ["\n left: 25%;\n top: 50%;\n width: 50%;\n height: 1px;\n ", "\n "])), checkboxTokens.checkmark.indeterminate.base) : Ae(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), checkboxTokens.checkmark.base);
|
|
20590
20590
|
});
|
|
20591
|
-
var templateObject_1$
|
|
20591
|
+
var templateObject_1$z, templateObject_2$p, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$b, templateObject_7$9, templateObject_8$6, templateObject_9$6, templateObject_10$5, templateObject_11$4, templateObject_12$3, templateObject_13$2;
|
|
20592
20592
|
|
|
20593
20593
|
var nextUniqueId$5 = 0;
|
|
20594
20594
|
var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -20635,28 +20635,28 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
20635
20635
|
}), void 0);
|
|
20636
20636
|
});
|
|
20637
20637
|
|
|
20638
|
-
var Spacing$
|
|
20638
|
+
var Spacing$k = ddsBaseTokens.spacing;
|
|
20639
20639
|
var checkboxGroupTokens = {
|
|
20640
20640
|
label: {
|
|
20641
|
-
spaceLeft: Spacing$
|
|
20641
|
+
spaceLeft: Spacing$k.SizesDdsSpacingLocalX025
|
|
20642
20642
|
}
|
|
20643
20643
|
};
|
|
20644
20644
|
|
|
20645
20645
|
var Container$6 = styled.div.withConfig({
|
|
20646
20646
|
displayName: "CheckboxGroup__Container",
|
|
20647
20647
|
componentId: "sc-uixbzg-0"
|
|
20648
|
-
})(templateObject_1$
|
|
20648
|
+
})(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
|
|
20649
20649
|
var GroupContainer = styled.div.withConfig({
|
|
20650
20650
|
displayName: "CheckboxGroup__GroupContainer",
|
|
20651
20651
|
componentId: "sc-uixbzg-1"
|
|
20652
|
-
})(templateObject_2$
|
|
20652
|
+
})(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
|
|
20653
20653
|
var direction = _a.direction;
|
|
20654
20654
|
return direction !== null && direction !== void 0 ? direction : 'row';
|
|
20655
20655
|
});
|
|
20656
20656
|
var Label$3 = styled(Typography).withConfig({
|
|
20657
20657
|
displayName: "CheckboxGroup__Label",
|
|
20658
20658
|
componentId: "sc-uixbzg-2"
|
|
20659
|
-
})(templateObject_3$
|
|
20659
|
+
})(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n padding-left: ", ";\n"], ["\n padding-left: ", ";\n"])), checkboxGroupTokens.label.spaceLeft);
|
|
20660
20660
|
var nextUniqueGroupId = 0;
|
|
20661
20661
|
var CheckboxGroup = function CheckboxGroup(_a) {
|
|
20662
20662
|
var label = _a.label,
|
|
@@ -20694,121 +20694,121 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
20694
20694
|
}, void 0) : '']
|
|
20695
20695
|
}), void 0);
|
|
20696
20696
|
};
|
|
20697
|
-
var templateObject_1$
|
|
20697
|
+
var templateObject_1$y, templateObject_2$o, templateObject_3$h;
|
|
20698
20698
|
|
|
20699
20699
|
var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineHeight, fontSize) {
|
|
20700
20700
|
return lineHeight * 0.01 * fontSize;
|
|
20701
20701
|
};
|
|
20702
20702
|
|
|
20703
|
-
var Colors$
|
|
20704
|
-
Border$
|
|
20705
|
-
Spacing$
|
|
20706
|
-
FontPackages$
|
|
20707
|
-
BorderRadius$
|
|
20703
|
+
var Colors$f = ddsBaseTokens.colors,
|
|
20704
|
+
Border$6 = ddsBaseTokens.border,
|
|
20705
|
+
Spacing$j = ddsBaseTokens.spacing,
|
|
20706
|
+
FontPackages$e = ddsBaseTokens.fontPackages,
|
|
20707
|
+
BorderRadius$3 = ddsBaseTokens.borderRadius,
|
|
20708
20708
|
OuterShadow$1 = ddsBaseTokens.outerShadow;
|
|
20709
20709
|
var focus = ddsReferenceTokens.focus;
|
|
20710
20710
|
|
|
20711
|
-
var justIconSmallBase = __assign(__assign({}, FontPackages$
|
|
20712
|
-
padding: Spacing$
|
|
20711
|
+
var justIconSmallBase = __assign(__assign({}, FontPackages$e.supportingStyle_inputtext_02.base), {
|
|
20712
|
+
padding: Spacing$j.SizesDdsSpacingLocalX05
|
|
20713
20713
|
});
|
|
20714
20714
|
|
|
20715
20715
|
var justIconWrapperSmallBase = {
|
|
20716
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20717
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20716
|
+
height: calculateHeightWithLineHeight(FontPackages$e.body_sans_01.numbers.lineHeightNumber, FontPackages$e.body_sans_01.numbers.fontSizeNumber) + "px",
|
|
20717
|
+
width: calculateHeightWithLineHeight(FontPackages$e.body_sans_01.numbers.lineHeightNumber, FontPackages$e.body_sans_01.numbers.fontSizeNumber) + "px"
|
|
20718
20718
|
};
|
|
20719
20719
|
|
|
20720
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
20721
|
-
padding: Spacing$
|
|
20720
|
+
var textSmallBase = __assign(__assign({}, FontPackages$e.body_sans_01.base), {
|
|
20721
|
+
padding: Spacing$j.SizesDdsSpacingLocalX05 + " " + (Spacing$j.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
|
|
20722
20722
|
});
|
|
20723
20723
|
|
|
20724
|
-
var justIconMediumBase = __assign(__assign({}, FontPackages$
|
|
20725
|
-
padding: Spacing$
|
|
20724
|
+
var justIconMediumBase = __assign(__assign({}, FontPackages$e.heading_sans_03.base), {
|
|
20725
|
+
padding: Spacing$j.SizesDdsSpacingLocalX075
|
|
20726
20726
|
});
|
|
20727
20727
|
|
|
20728
20728
|
var justIconWrapperMediumBase = {
|
|
20729
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20730
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20729
|
+
height: calculateHeightWithLineHeight(FontPackages$e.body_sans_02.numbers.lineHeightNumber, FontPackages$e.body_sans_02.numbers.fontSizeNumber) + "px",
|
|
20730
|
+
width: calculateHeightWithLineHeight(FontPackages$e.body_sans_02.numbers.lineHeightNumber, FontPackages$e.body_sans_02.numbers.fontSizeNumber) + "px"
|
|
20731
20731
|
};
|
|
20732
20732
|
|
|
20733
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
20734
|
-
padding: Spacing$
|
|
20733
|
+
var textMediumBase = __assign(__assign({}, FontPackages$e.body_sans_02.base), {
|
|
20734
|
+
padding: Spacing$j.SizesDdsSpacingLocalX075 + " " + (Spacing$j.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
|
|
20735
20735
|
});
|
|
20736
20736
|
|
|
20737
|
-
var justIconLargeBase = __assign(__assign({}, FontPackages$
|
|
20738
|
-
padding: Spacing$
|
|
20737
|
+
var justIconLargeBase = __assign(__assign({}, FontPackages$e.heading_sans_04.base), {
|
|
20738
|
+
padding: Spacing$j.SizesDdsSpacingLocalX1
|
|
20739
20739
|
});
|
|
20740
20740
|
|
|
20741
20741
|
var justIconWrapperLargeBase = {
|
|
20742
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20743
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20742
|
+
height: calculateHeightWithLineHeight(FontPackages$e.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$e.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px",
|
|
20743
|
+
width: calculateHeightWithLineHeight(FontPackages$e.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$e.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px"
|
|
20744
20744
|
};
|
|
20745
20745
|
|
|
20746
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
20747
|
-
padding: Spacing$
|
|
20746
|
+
var textLargeBase = __assign(__assign({}, FontPackages$e.supportingStyle_inputtext_03.base), {
|
|
20747
|
+
padding: Spacing$j.SizesDdsSpacingLocalX1 + " " + (Spacing$j.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
|
|
20748
20748
|
});
|
|
20749
20749
|
|
|
20750
20750
|
var buttonBase = {
|
|
20751
|
-
border: Border$
|
|
20751
|
+
border: Border$6.BordersDdsBorderStyle1StrokeWeight + " solid"
|
|
20752
20752
|
};
|
|
20753
20753
|
var filledButtonColors = {
|
|
20754
20754
|
primary: {
|
|
20755
20755
|
base: {
|
|
20756
|
-
color: Colors$
|
|
20757
|
-
backgroundColor: Colors$
|
|
20758
|
-
borderColor: Colors$
|
|
20756
|
+
color: Colors$f.DdsColorNeutralsWhite,
|
|
20757
|
+
backgroundColor: Colors$f.DdsColorInteractiveBase,
|
|
20758
|
+
borderColor: Colors$f.DdsColorInteractiveBase
|
|
20759
20759
|
},
|
|
20760
20760
|
hover: {
|
|
20761
20761
|
base: {
|
|
20762
|
-
backgroundColor: Colors$
|
|
20763
|
-
borderColor: Colors$
|
|
20762
|
+
backgroundColor: Colors$f.DdsColorInteractiveDark,
|
|
20763
|
+
borderColor: Colors$f.DdsColorInteractiveDark
|
|
20764
20764
|
}
|
|
20765
20765
|
},
|
|
20766
20766
|
active: {
|
|
20767
20767
|
base: {
|
|
20768
|
-
backgroundColor: Colors$
|
|
20769
|
-
borderColor: Colors$
|
|
20768
|
+
backgroundColor: Colors$f.DdsColorInteractiveDarker,
|
|
20769
|
+
borderColor: Colors$f.DdsColorInteractiveDarker
|
|
20770
20770
|
}
|
|
20771
20771
|
}
|
|
20772
20772
|
},
|
|
20773
20773
|
secondary: {
|
|
20774
20774
|
base: {
|
|
20775
|
-
color: Colors$
|
|
20776
|
-
backgroundColor: Colors$
|
|
20777
|
-
borderColor: Colors$
|
|
20775
|
+
color: Colors$f.DdsColorNeutralsGray8,
|
|
20776
|
+
backgroundColor: Colors$f.DdsColorNeutralsGray1,
|
|
20777
|
+
borderColor: Colors$f.DdsColorNeutralsGray5
|
|
20778
20778
|
},
|
|
20779
20779
|
hover: {
|
|
20780
20780
|
base: {
|
|
20781
|
-
backgroundColor: Colors$
|
|
20781
|
+
backgroundColor: Colors$f.DdsColorNeutralsGray2
|
|
20782
20782
|
}
|
|
20783
20783
|
},
|
|
20784
20784
|
active: {
|
|
20785
20785
|
base: {
|
|
20786
|
-
backgroundColor: Colors$
|
|
20786
|
+
backgroundColor: Colors$f.DdsColorNeutralsGray3
|
|
20787
20787
|
}
|
|
20788
20788
|
}
|
|
20789
20789
|
},
|
|
20790
20790
|
danger: {
|
|
20791
20791
|
base: {
|
|
20792
|
-
color: Colors$
|
|
20793
|
-
backgroundColor: Colors$
|
|
20794
|
-
borderColor: Colors$
|
|
20792
|
+
color: Colors$f.DdsColorNeutralsWhite,
|
|
20793
|
+
backgroundColor: Colors$f.DdsColorDangerBase,
|
|
20794
|
+
borderColor: Colors$f.DdsColorDangerBase
|
|
20795
20795
|
},
|
|
20796
20796
|
hover: {
|
|
20797
20797
|
base: {
|
|
20798
|
-
backgroundColor: Colors$
|
|
20799
|
-
borderColor: Colors$
|
|
20798
|
+
backgroundColor: Colors$f.DdsColorDangerDark,
|
|
20799
|
+
borderColor: Colors$f.DdsColorDangerDark
|
|
20800
20800
|
}
|
|
20801
20801
|
},
|
|
20802
20802
|
active: {
|
|
20803
20803
|
base: {
|
|
20804
|
-
backgroundColor: Colors$
|
|
20805
|
-
borderColor: Colors$
|
|
20804
|
+
backgroundColor: Colors$f.DdsColorDangerDarker,
|
|
20805
|
+
borderColor: Colors$f.DdsColorDangerDarker
|
|
20806
20806
|
}
|
|
20807
20807
|
}
|
|
20808
20808
|
}
|
|
20809
20809
|
};
|
|
20810
20810
|
var filledBase = {
|
|
20811
|
-
borderRadius: BorderRadius$
|
|
20811
|
+
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
|
|
20812
20812
|
boxShadow: OuterShadow$1.DdsShadow1Onlight
|
|
20813
20813
|
};
|
|
20814
20814
|
|
|
@@ -20849,7 +20849,7 @@ var roundedDangerHoverBase = __assign({}, filledButtonColors.danger.hover.base);
|
|
|
20849
20849
|
var roundedDangerActiveBase = __assign({}, filledButtonColors.danger.active.base);
|
|
20850
20850
|
|
|
20851
20851
|
var borderlessBase = {
|
|
20852
|
-
borderRadius: BorderRadius$
|
|
20852
|
+
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
|
|
20853
20853
|
boxShadow: 'none',
|
|
20854
20854
|
backgroundColor: 'transparent',
|
|
20855
20855
|
borderColor: 'transparent',
|
|
@@ -20857,109 +20857,109 @@ var borderlessBase = {
|
|
|
20857
20857
|
textDecorationColor: 'transparent'
|
|
20858
20858
|
};
|
|
20859
20859
|
var borderlessPrimaryBase = {
|
|
20860
|
-
color: Colors$
|
|
20861
|
-
taxtDecorationColor: Colors$
|
|
20860
|
+
color: Colors$f.DdsColorInteractiveBase,
|
|
20861
|
+
taxtDecorationColor: Colors$f.DdsColorInteractiveBase
|
|
20862
20862
|
};
|
|
20863
20863
|
var borderlessPrimaryHoverBase = {
|
|
20864
|
-
color: Colors$
|
|
20865
|
-
textDecorationColor: Colors$
|
|
20864
|
+
color: Colors$f.DdsColorInteractiveDark,
|
|
20865
|
+
textDecorationColor: Colors$f.DdsColorInteractiveDark
|
|
20866
20866
|
};
|
|
20867
20867
|
var borderlessPrimaryActiveBase = {
|
|
20868
|
-
color: Colors$
|
|
20869
|
-
textDecorationColor: Colors$
|
|
20868
|
+
color: Colors$f.DdsColorInteractiveDarker,
|
|
20869
|
+
textDecorationColor: Colors$f.DdsColorInteractiveDarker
|
|
20870
20870
|
};
|
|
20871
20871
|
var borderlessPrimaryIconHoverBase = {
|
|
20872
|
-
borderColor: Colors$
|
|
20873
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20872
|
+
borderColor: Colors$f.DdsColorInteractiveDark,
|
|
20873
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorInteractiveDark
|
|
20874
20874
|
};
|
|
20875
20875
|
var borderlessPrimaryIconActiveBase = {
|
|
20876
|
-
borderColor: Colors$
|
|
20877
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20876
|
+
borderColor: Colors$f.DdsColorInteractiveDarker,
|
|
20877
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorInteractiveDarker
|
|
20878
20878
|
};
|
|
20879
20879
|
var borderlessSecondaryBase = {
|
|
20880
|
-
color: Colors$
|
|
20880
|
+
color: Colors$f.DdsColorNeutralsGray7
|
|
20881
20881
|
};
|
|
20882
20882
|
var borderlessSecondaryHoverBase = {
|
|
20883
|
-
color: Colors$
|
|
20884
|
-
textDecorationColor: Colors$
|
|
20883
|
+
color: Colors$f.DdsColorNeutralsGray8,
|
|
20884
|
+
textDecorationColor: Colors$f.DdsColorNeutralsGray8
|
|
20885
20885
|
};
|
|
20886
20886
|
var borderlessSecondaryActiveBase = {
|
|
20887
|
-
color: Colors$
|
|
20888
|
-
textDecorationColor: Colors$
|
|
20887
|
+
color: Colors$f.DdsColorNeutralsGray9,
|
|
20888
|
+
textDecorationColor: Colors$f.DdsColorNeutralsGray9
|
|
20889
20889
|
};
|
|
20890
20890
|
var borderlessSecondaryIconHoverBase = {
|
|
20891
|
-
borderColor: Colors$
|
|
20892
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20891
|
+
borderColor: Colors$f.DdsColorNeutralsGray8,
|
|
20892
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorNeutralsGray8
|
|
20893
20893
|
};
|
|
20894
20894
|
var borderlessSecondaryIconActiveBase = {
|
|
20895
|
-
borderColor: Colors$
|
|
20896
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20895
|
+
borderColor: Colors$f.DdsColorNeutralsGray9,
|
|
20896
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorNeutralsGray9
|
|
20897
20897
|
};
|
|
20898
20898
|
var borderlessDangerBase = {
|
|
20899
|
-
color: Colors$
|
|
20899
|
+
color: Colors$f.DdsColorDangerBase
|
|
20900
20900
|
};
|
|
20901
20901
|
var borderlessDangerHoverBase = {
|
|
20902
|
-
color: Colors$
|
|
20903
|
-
textDecorationColor: Colors$
|
|
20902
|
+
color: Colors$f.DdsColorDangerDarker,
|
|
20903
|
+
textDecorationColor: Colors$f.DdsColorDangerDarker
|
|
20904
20904
|
};
|
|
20905
20905
|
var borderlessDangerActiveBase = {
|
|
20906
|
-
color: Colors$
|
|
20907
|
-
textDecorationColor: Colors$
|
|
20906
|
+
color: Colors$f.DdsColorDangerDarkest,
|
|
20907
|
+
textDecorationColor: Colors$f.DdsColorDangerDarkest
|
|
20908
20908
|
};
|
|
20909
20909
|
var borderlessDangerIconHoverBase = {
|
|
20910
|
-
borderColor: Colors$
|
|
20911
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20910
|
+
borderColor: Colors$f.DdsColorDangerDark,
|
|
20911
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorDangerDark
|
|
20912
20912
|
};
|
|
20913
20913
|
var borderlessDangerIconActiveBase = {
|
|
20914
|
-
borderColor: Colors$
|
|
20915
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20914
|
+
borderColor: Colors$f.DdsColorDangerDarker,
|
|
20915
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorDangerDarker
|
|
20916
20916
|
};
|
|
20917
20917
|
var ghostBase = {
|
|
20918
|
-
borderRadius: BorderRadius$
|
|
20918
|
+
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
|
|
20919
20919
|
boxShadow: 'none',
|
|
20920
20920
|
backgroundColor: 'transparent'
|
|
20921
20921
|
};
|
|
20922
20922
|
var ghostPrimaryBase = {
|
|
20923
|
-
color: Colors$
|
|
20924
|
-
borderColor: Colors$
|
|
20923
|
+
color: Colors$f.DdsColorInteractiveBase,
|
|
20924
|
+
borderColor: Colors$f.DdsColorInteractiveBase
|
|
20925
20925
|
};
|
|
20926
20926
|
var ghostPrimaryHoverBase = {
|
|
20927
|
-
color: Colors$
|
|
20928
|
-
borderColor: Colors$
|
|
20929
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20927
|
+
color: Colors$f.DdsColorInteractiveDark,
|
|
20928
|
+
borderColor: Colors$f.DdsColorInteractiveDark,
|
|
20929
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorInteractiveDark
|
|
20930
20930
|
};
|
|
20931
20931
|
var ghostPrimaryActiveBase = {
|
|
20932
|
-
color: Colors$
|
|
20933
|
-
borderColor: Colors$
|
|
20934
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20932
|
+
color: Colors$f.DdsColorInteractiveDarker,
|
|
20933
|
+
borderColor: Colors$f.DdsColorInteractiveDarker,
|
|
20934
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorInteractiveDarker
|
|
20935
20935
|
};
|
|
20936
20936
|
var ghostSecondaryBase = {
|
|
20937
|
-
color: Colors$
|
|
20938
|
-
borderColor: Colors$
|
|
20937
|
+
color: Colors$f.DdsColorNeutralsGray7,
|
|
20938
|
+
borderColor: Colors$f.DdsColorNeutralsGray7
|
|
20939
20939
|
};
|
|
20940
20940
|
var ghostSecondaryHoverBase = {
|
|
20941
|
-
color: Colors$
|
|
20942
|
-
borderColor: Colors$
|
|
20943
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20941
|
+
color: Colors$f.DdsColorNeutralsGray8,
|
|
20942
|
+
borderColor: Colors$f.DdsColorNeutralsGray8,
|
|
20943
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorNeutralsGray8
|
|
20944
20944
|
};
|
|
20945
20945
|
var ghostSecondaryActiveBase = {
|
|
20946
|
-
color: Colors$
|
|
20947
|
-
borderColor: Colors$
|
|
20948
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20946
|
+
color: Colors$f.DdsColorNeutralsGray9,
|
|
20947
|
+
borderColor: Colors$f.DdsColorNeutralsGray9,
|
|
20948
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorNeutralsGray9
|
|
20949
20949
|
};
|
|
20950
20950
|
var ghostDangerBase = {
|
|
20951
|
-
color: Colors$
|
|
20952
|
-
borderColor: Colors$
|
|
20951
|
+
color: Colors$f.DdsColorDangerBase,
|
|
20952
|
+
borderColor: Colors$f.DdsColorDangerBase
|
|
20953
20953
|
};
|
|
20954
20954
|
var ghostDangerHoverBase = {
|
|
20955
|
-
color: Colors$
|
|
20956
|
-
borderColor: Colors$
|
|
20957
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20955
|
+
color: Colors$f.DdsColorDangerDark,
|
|
20956
|
+
borderColor: Colors$f.DdsColorDangerDark,
|
|
20957
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorDangerDark
|
|
20958
20958
|
};
|
|
20959
20959
|
var ghostDangerActiveBase = {
|
|
20960
|
-
color: Colors$
|
|
20961
|
-
borderColor: Colors$
|
|
20962
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20960
|
+
color: Colors$f.DdsColorDangerDarkest,
|
|
20961
|
+
borderColor: Colors$f.DdsColorDangerDarkest,
|
|
20962
|
+
boxShadow: "0 0 0 1px " + Colors$f.DdsColorDangerDarkest
|
|
20963
20963
|
};
|
|
20964
20964
|
var roundedBase = {
|
|
20965
20965
|
borderRadius: '100px',
|
|
@@ -20982,7 +20982,7 @@ var buttonTokens = {
|
|
|
20982
20982
|
text: {
|
|
20983
20983
|
base: textSmallBase
|
|
20984
20984
|
},
|
|
20985
|
-
iconWithTextMargin: Spacing$
|
|
20985
|
+
iconWithTextMargin: Spacing$j.SizesDdsSpacingLocalX025
|
|
20986
20986
|
},
|
|
20987
20987
|
medium: {
|
|
20988
20988
|
justIcon: {
|
|
@@ -20994,7 +20994,7 @@ var buttonTokens = {
|
|
|
20994
20994
|
text: {
|
|
20995
20995
|
base: textMediumBase
|
|
20996
20996
|
},
|
|
20997
|
-
iconWithTextMargin: Spacing$
|
|
20997
|
+
iconWithTextMargin: Spacing$j.SizesDdsSpacingLocalX05
|
|
20998
20998
|
},
|
|
20999
20999
|
large: {
|
|
21000
21000
|
justIcon: {
|
|
@@ -21006,7 +21006,7 @@ var buttonTokens = {
|
|
|
21006
21006
|
text: {
|
|
21007
21007
|
base: textLargeBase
|
|
21008
21008
|
},
|
|
21009
|
-
iconWithTextMargin: Spacing$
|
|
21009
|
+
iconWithTextMargin: Spacing$j.SizesDdsSpacingLocalX075
|
|
21010
21010
|
}
|
|
21011
21011
|
},
|
|
21012
21012
|
appearance: {
|
|
@@ -21157,9 +21157,9 @@ var buttonTokens = {
|
|
|
21157
21157
|
}
|
|
21158
21158
|
};
|
|
21159
21159
|
|
|
21160
|
-
var Colors$
|
|
21160
|
+
var Colors$e = ddsBaseTokens.colors;
|
|
21161
21161
|
var ciclreBase = {
|
|
21162
|
-
stroke: Colors$
|
|
21162
|
+
stroke: Colors$e.DdsColorInteractiveBase
|
|
21163
21163
|
};
|
|
21164
21164
|
var spinnerTokens = {
|
|
21165
21165
|
circle: {
|
|
@@ -21170,7 +21170,7 @@ var spinnerTokens = {
|
|
|
21170
21170
|
var StyledSpinner = styled.svg.withConfig({
|
|
21171
21171
|
displayName: "Spinner__StyledSpinner",
|
|
21172
21172
|
componentId: "sc-13hsttm-0"
|
|
21173
|
-
})(templateObject_1$
|
|
21173
|
+
})(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"], ["\n display: block;\n animation: rotate 2s linear infinite;\n animation-delay: ", "ms;\n width: ", ";\n height: ", ";\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_a) {
|
|
21174
21174
|
var outerAnimationDelay = _a.outerAnimationDelay;
|
|
21175
21175
|
return outerAnimationDelay;
|
|
21176
21176
|
}, function (_a) {
|
|
@@ -21183,7 +21183,7 @@ var StyledSpinner = styled.svg.withConfig({
|
|
|
21183
21183
|
var Circle = styled.circle.withConfig({
|
|
21184
21184
|
displayName: "Spinner__Circle",
|
|
21185
21185
|
componentId: "sc-13hsttm-1"
|
|
21186
|
-
})(templateObject_2$
|
|
21186
|
+
})(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"], ["\n ", "\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n animation-delay: ", "ms;\n"])), spinnerTokens.circle.base, function (_a) {
|
|
21187
21187
|
var color = _a.color;
|
|
21188
21188
|
return color && getTextColor(color);
|
|
21189
21189
|
}, function (_a) {
|
|
@@ -21226,55 +21226,55 @@ function Spinner(_a) {
|
|
|
21226
21226
|
}), void 0)]
|
|
21227
21227
|
}), void 0);
|
|
21228
21228
|
}
|
|
21229
|
-
var templateObject_1$
|
|
21229
|
+
var templateObject_1$x, templateObject_2$n;
|
|
21230
21230
|
|
|
21231
21231
|
var ButtonWrapper$1 = styled.button.withConfig({
|
|
21232
21232
|
displayName: "Buttonstyles__ButtonWrapper",
|
|
21233
21233
|
componentId: "sc-14dutqk-0"
|
|
21234
|
-
})(templateObject_7$
|
|
21234
|
+
})(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"], ["\n ", "\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: fit-content;\n width: ", ";\n cursor: pointer;\n box-shadow: none;\n text-decoration: none;\n transition: background-color 0.2s, text-decoration-color 0.2s, box-shadow 0.2s,\n border-color 0.2s, color 0.2s;\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n\n\n\n\n &:focus-visible, &.focus-visible {\n outline: ", " solid ", ";\n outline-offset: 2px;\n }\n\n *::selection {\n ", "\n }\n"])), buttonTokens.base, function (_a) {
|
|
21235
21235
|
var fullWidth = _a.fullWidth;
|
|
21236
21236
|
return fullWidth ? '100%' : 'fit-content';
|
|
21237
21237
|
}, function (_a) {
|
|
21238
21238
|
var appearance = _a.appearance,
|
|
21239
21239
|
purpose = _a.purpose;
|
|
21240
|
-
return Ae(templateObject_1$
|
|
21240
|
+
return Ae(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "], ["\n ", "\n ", "\n\n &:hover {\n ", "\n }\n\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance].base, buttonTokens.appearance[appearance][purpose].base, buttonTokens.appearance[appearance][purpose].hover.base, buttonTokens.appearance[appearance][purpose].active.base);
|
|
21241
21241
|
}, function (_a) {
|
|
21242
21242
|
var hasIcon = _a.hasIcon,
|
|
21243
21243
|
hasLabel = _a.hasLabel,
|
|
21244
21244
|
appearance = _a.appearance,
|
|
21245
21245
|
purpose = _a.purpose;
|
|
21246
|
-
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$
|
|
21246
|
+
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n "])), buttonTokens.appearance[appearance][purpose].justIcon.hover.base, buttonTokens.appearance[appearance][purpose].justIcon.active.base);
|
|
21247
21247
|
}, function (_a) {
|
|
21248
21248
|
var size = _a.size,
|
|
21249
21249
|
hasLabel = _a.hasLabel;
|
|
21250
|
-
return hasLabel ? Ae(templateObject_3$
|
|
21250
|
+
return hasLabel ? Ae(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].text.base) : Ae(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIcon.base);
|
|
21251
21251
|
}, function (_a) {
|
|
21252
21252
|
var fullWidth = _a.fullWidth,
|
|
21253
21253
|
hasIcon = _a.hasIcon,
|
|
21254
21254
|
hasLabel = _a.hasLabel,
|
|
21255
21255
|
isLoading = _a.isLoading;
|
|
21256
|
-
return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$
|
|
21256
|
+
return fullWidth && (!hasIcon || !hasLabel || isLoading ? Ae(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "]))) : Ae(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\n justify-content: space-between;\n "], ["\n justify-content: space-between;\n "]))));
|
|
21257
21257
|
}, buttonTokens.focusOutline.width, buttonTokens.focusOutline.color, typographyTokens.selection.base);
|
|
21258
21258
|
var IconWithTextWrapper = styled(IconWrapper$1).withConfig({
|
|
21259
21259
|
displayName: "Buttonstyles__IconWithTextWrapper",
|
|
21260
21260
|
componentId: "sc-14dutqk-1"
|
|
21261
|
-
})(templateObject_10$
|
|
21261
|
+
})(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
21262
21262
|
var size = _a.size,
|
|
21263
21263
|
iconPosition = _a.iconPosition;
|
|
21264
|
-
return iconPosition === 'left' ? Ae(templateObject_8$
|
|
21264
|
+
return iconPosition === 'left' ? Ae(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n margin-inline-end: ", ";\n "], ["\n margin-inline-end: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : iconPosition === 'right' ? Ae(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n margin-inline-start: ", ";\n "], ["\n margin-inline-start: ", ";\n "])), buttonTokens.sizes[size].iconWithTextMargin) : '';
|
|
21265
21265
|
});
|
|
21266
21266
|
var JustIconWrapper = styled.span.withConfig({
|
|
21267
21267
|
displayName: "Buttonstyles__JustIconWrapper",
|
|
21268
21268
|
componentId: "sc-14dutqk-2"
|
|
21269
|
-
})(templateObject_12$
|
|
21269
|
+
})(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n ", "\n"])), function (_a) {
|
|
21270
21270
|
var size = _a.size;
|
|
21271
|
-
return Ae(templateObject_11$
|
|
21271
|
+
return Ae(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), buttonTokens.sizes[size].justIconWrapper.base);
|
|
21272
21272
|
});
|
|
21273
21273
|
var Label$2 = styled.span.withConfig({
|
|
21274
21274
|
displayName: "Buttonstyles__Label",
|
|
21275
21275
|
componentId: "sc-14dutqk-3"
|
|
21276
|
-
})(templateObject_13 || (templateObject_13 = __makeTemplateObject([""], [""])));
|
|
21277
|
-
var templateObject_1$
|
|
21276
|
+
})(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject([""], [""])));
|
|
21277
|
+
var templateObject_1$w, templateObject_2$m, templateObject_3$g, templateObject_4$e, templateObject_5$b, templateObject_6$a, templateObject_7$8, templateObject_8$5, templateObject_9$5, templateObject_10$4, templateObject_11$3, templateObject_12$2, templateObject_13$1;
|
|
21278
21278
|
|
|
21279
21279
|
var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
21280
21280
|
var label = _a.label,
|
|
@@ -21352,21 +21352,21 @@ var Button = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
21352
21352
|
}), void 0);
|
|
21353
21353
|
});
|
|
21354
21354
|
|
|
21355
|
-
var Colors$
|
|
21356
|
-
Spacing$
|
|
21355
|
+
var Colors$d = ddsBaseTokens.colors,
|
|
21356
|
+
Spacing$i = ddsBaseTokens.spacing;
|
|
21357
21357
|
var TextInput$3 = ddsReferenceTokens.textInput;
|
|
21358
21358
|
var inputMultilineBase = {
|
|
21359
|
-
paddingBottom: Spacing$
|
|
21359
|
+
paddingBottom: Spacing$i.SizesDdsSpacingLocalX05
|
|
21360
21360
|
};
|
|
21361
21361
|
var inputMultilineWithLabelBase = {
|
|
21362
|
-
paddingTop: Spacing$
|
|
21362
|
+
paddingTop: Spacing$i.SizesDdsSpacingLocalX2
|
|
21363
21363
|
};
|
|
21364
21364
|
var inputMultilineNoLabelBase = {
|
|
21365
|
-
paddingTop: Spacing$
|
|
21365
|
+
paddingTop: Spacing$i.SizesDdsSpacingLocalX075
|
|
21366
21366
|
};
|
|
21367
21367
|
var inputLabelMultilineBase = {
|
|
21368
|
-
backgroundColor: Colors$
|
|
21369
|
-
padding: Spacing$
|
|
21368
|
+
backgroundColor: Colors$d.DdsColorNeutralsWhite,
|
|
21369
|
+
padding: Spacing$i.SizesDdsSpacingLocalX075NumberPx - 1 + "px " + Spacing$i.SizesDdsSpacingLocalX1 + " 0px " + (Spacing$i.SizesDdsSpacingLocalX1NumberPx - 1) + "px"
|
|
21370
21370
|
};
|
|
21371
21371
|
var defaultWidth$2 = '320px';
|
|
21372
21372
|
var textInputTokens = {
|
|
@@ -21401,68 +21401,68 @@ var textInputTokens = {
|
|
|
21401
21401
|
}
|
|
21402
21402
|
};
|
|
21403
21403
|
|
|
21404
|
-
var Spacing$
|
|
21404
|
+
var Spacing$h = ddsBaseTokens.spacing;
|
|
21405
21405
|
var charCounterBase = {
|
|
21406
|
-
padding: Spacing$
|
|
21406
|
+
padding: Spacing$h.SizesDdsSpacingLocalX025 + " " + Spacing$h.SizesDdsSpacingLocalX05
|
|
21407
21407
|
};
|
|
21408
21408
|
var charCounterTokens = {
|
|
21409
21409
|
base: charCounterBase
|
|
21410
21410
|
};
|
|
21411
21411
|
|
|
21412
|
-
var Wrapper$
|
|
21412
|
+
var Wrapper$4 = styled(Typography).withConfig({
|
|
21413
21413
|
displayName: "CharCounter__Wrapper",
|
|
21414
21414
|
componentId: "sc-qty1z2-0"
|
|
21415
|
-
})(templateObject_1$
|
|
21415
|
+
})(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
|
|
21416
21416
|
|
|
21417
21417
|
function CharCounter(_a) {
|
|
21418
21418
|
var current = _a.current,
|
|
21419
21419
|
max = _a.max;
|
|
21420
|
-
return jsxRuntime.jsxs(Wrapper$
|
|
21420
|
+
return jsxRuntime.jsxs(Wrapper$4, __assign({
|
|
21421
21421
|
forwardedAs: "div",
|
|
21422
21422
|
typographyType: "supportingStyleHelperText01"
|
|
21423
21423
|
}, {
|
|
21424
21424
|
children: [current, "/", max]
|
|
21425
21425
|
}), void 0);
|
|
21426
21426
|
}
|
|
21427
|
-
var templateObject_1$
|
|
21427
|
+
var templateObject_1$v;
|
|
21428
21428
|
|
|
21429
|
-
var Colors$
|
|
21430
|
-
Spacing$
|
|
21431
|
-
FontPackages$
|
|
21429
|
+
var Colors$c = ddsBaseTokens.colors,
|
|
21430
|
+
Spacing$g = ddsBaseTokens.spacing,
|
|
21431
|
+
FontPackages$d = ddsBaseTokens.fontPackages;
|
|
21432
21432
|
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
21433
21433
|
var inputBase$2 = {
|
|
21434
|
-
border: "1px solid " + Colors$
|
|
21434
|
+
border: "1px solid " + Colors$c.DdsColorNeutralsGray5
|
|
21435
21435
|
};
|
|
21436
21436
|
var inputWithLabelBase = {
|
|
21437
|
-
padding: Spacing$
|
|
21437
|
+
padding: Spacing$g.SizesDdsSpacingLocalX075NumberPx + FontPackages$d.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$d.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$g.SizesDdsSpacingLocalX1 + " " + Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
|
|
21438
21438
|
};
|
|
21439
21439
|
var inputNoLabelBase$1 = {
|
|
21440
|
-
padding: Spacing$
|
|
21440
|
+
padding: Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1 + " " + Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
|
|
21441
21441
|
};
|
|
21442
21442
|
var inputDisabledBase = {
|
|
21443
|
-
color: Colors$
|
|
21444
|
-
backgroundColor: Colors$
|
|
21443
|
+
color: Colors$c.DdsColorNeutralsGray7,
|
|
21444
|
+
backgroundColor: Colors$c.DdsColorNeutralsGray1
|
|
21445
21445
|
};
|
|
21446
21446
|
var inputErrorBase = {
|
|
21447
|
-
borderColor: Colors$
|
|
21448
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21447
|
+
borderColor: Colors$c.DdsColorDangerBase,
|
|
21448
|
+
boxShadow: "0 0 0 1px " + Colors$c.DdsColorDangerBase
|
|
21449
21449
|
};
|
|
21450
21450
|
var inputErrorHoverBase = {
|
|
21451
|
-
backgroundColor: Colors$
|
|
21452
|
-
borderColor: Colors$
|
|
21453
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21451
|
+
backgroundColor: Colors$c.DdsColorDangerLightest,
|
|
21452
|
+
borderColor: Colors$c.DdsColorDangerBase,
|
|
21453
|
+
boxShadow: "0 0 0 1px " + Colors$c.DdsColorDangerBase
|
|
21454
21454
|
};
|
|
21455
21455
|
var inputErrorFocusBase = {
|
|
21456
|
-
borderColor: Colors$
|
|
21457
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21456
|
+
borderColor: Colors$c.DdsColorDangerDarker,
|
|
21457
|
+
boxShadow: "0 0 0 1px " + Colors$c.DdsColorDangerDarker
|
|
21458
21458
|
};
|
|
21459
21459
|
var inputReadOnlyBase = {
|
|
21460
21460
|
border: 'none',
|
|
21461
21461
|
backgroundColor: 'transparent',
|
|
21462
|
-
paddingLeft: Spacing$
|
|
21462
|
+
paddingLeft: Spacing$g.SizesDdsSpacingLocalX1
|
|
21463
21463
|
};
|
|
21464
21464
|
var inputLabelBase = {
|
|
21465
|
-
padding: Spacing$
|
|
21465
|
+
padding: Spacing$g.SizesDdsSpacingLocalX075 + " " + Spacing$g.SizesDdsSpacingLocalX1
|
|
21466
21466
|
};
|
|
21467
21467
|
var inputLabelHoverBase = {
|
|
21468
21468
|
color: TextInput$2.label.hover.textColor
|
|
@@ -21471,7 +21471,7 @@ var inputLabelFocusBase = {
|
|
|
21471
21471
|
color: TextInput$2.label.focus.textColor
|
|
21472
21472
|
};
|
|
21473
21473
|
var inputLabelDisabledBase = {
|
|
21474
|
-
color: Colors$
|
|
21474
|
+
color: Colors$c.DdsColorNeutralsGray6
|
|
21475
21475
|
};
|
|
21476
21476
|
var inputTokens = {
|
|
21477
21477
|
general: TextInput$2,
|
|
@@ -21534,21 +21534,21 @@ var hoverBase$1 = {
|
|
|
21534
21534
|
backgroundColor: TextInput$1.input.hover.backgroundColor
|
|
21535
21535
|
};
|
|
21536
21536
|
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
21537
|
-
return Ae(templateObject_1$
|
|
21537
|
+
return Ae(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:focus-visible:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "], ["\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n padding: 0;\n transition: box-shadow 0.2s, border-color 0.2s, background-color 0.2s;\n &::selection {\n ", "\n }\n ", "\n\n &:focus:enabled:read-write, &:focus-visible:enabled:read-write, &:active:enabled:read-write {\n ", "\n }\n &:focus {\n outline: none;\n }\n\n &:hover:enabled:read-write {\n ", "\n }\n "])), typographyTokens.selection.base, stylingBase, focusBase$1, hoverBase$1);
|
|
21538
21538
|
};
|
|
21539
|
-
var templateObject_1$
|
|
21539
|
+
var templateObject_1$u;
|
|
21540
21540
|
|
|
21541
21541
|
var inputStyling = function inputStyling(_a) {
|
|
21542
21542
|
var readOnly = _a.readOnly,
|
|
21543
21543
|
errorMessage = _a.errorMessage,
|
|
21544
21544
|
label = _a.label,
|
|
21545
21545
|
disabled = _a.disabled;
|
|
21546
|
-
return Ae(templateObject_6$
|
|
21546
|
+
return Ae(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n box-sizing: border-box;\n ", ";\n\n &:hover:enabled:read-write ~ label {\n ", "\n }\n &:focus:enabled:read-write ~ label {\n ", "\n }\n\n ", "\n ", "\n ", "\n "])), inputFieldStylingBase, inputTokens.base, label ? Ae(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.noLabel.base), inputTokens.label.hover.base, inputTokens.label.focus.base, disabled && Ae(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n "], ["\n cursor: not-allowed;\n ", "\n "])), inputTokens.disabled.base), errorMessage && Ae(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "], ["\n ", "\n &:hover:enabled:read-write {\n ", "\n }\n &:focus:enabled:read-write,\n &:active:enabled:read-write {\n ", "\n }\n "])), inputTokens.error.base, inputTokens.error.hover.base, inputTokens.error.focus.base), readOnly && Ae(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n cursor: default;\n ", "\n "], ["\n cursor: default;\n ", "\n "])), inputTokens.readOnly.base));
|
|
21547
21547
|
};
|
|
21548
21548
|
var Input$2 = styled.input.withConfig({
|
|
21549
21549
|
displayName: "Inputstyles__Input",
|
|
21550
21550
|
componentId: "sc-1oz9x8w-0"
|
|
21551
|
-
})(templateObject_7$
|
|
21551
|
+
})(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
21552
21552
|
var label = _a.label,
|
|
21553
21553
|
disabled = _a.disabled,
|
|
21554
21554
|
readOnly = _a.readOnly,
|
|
@@ -21563,30 +21563,30 @@ var Input$2 = styled.input.withConfig({
|
|
|
21563
21563
|
var SingleLineLabel = styled(Typography).withConfig({
|
|
21564
21564
|
displayName: "Inputstyles__SingleLineLabel",
|
|
21565
21565
|
componentId: "sc-1oz9x8w-1"
|
|
21566
|
-
})(templateObject_9$
|
|
21566
|
+
})(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n transition: color 0.2s, background-color 0.2s;\n ", "\n ", "\n"])), inputTokens.label.base, function (_a) {
|
|
21567
21567
|
var disabled = _a.disabled;
|
|
21568
|
-
return disabled && Ae(templateObject_8$
|
|
21568
|
+
return disabled && Ae(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.label.disabled.base);
|
|
21569
21569
|
});
|
|
21570
21570
|
var InputContainer$2 = styled.div.withConfig({
|
|
21571
21571
|
displayName: "Inputstyles__InputContainer",
|
|
21572
21572
|
componentId: "sc-1oz9x8w-2"
|
|
21573
|
-
})(templateObject_10$
|
|
21573
|
+
})(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
|
|
21574
21574
|
var OuterInputContainer = styled.div.withConfig({
|
|
21575
21575
|
displayName: "Inputstyles__OuterInputContainer",
|
|
21576
21576
|
componentId: "sc-1oz9x8w-3"
|
|
21577
|
-
})(templateObject_11$
|
|
21577
|
+
})(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: ", ";\n"], ["\n display: flex;\n flex-direction: column;\n width: ", ";\n"])), function (_a) {
|
|
21578
21578
|
var width = _a.width;
|
|
21579
21579
|
return width;
|
|
21580
21580
|
});
|
|
21581
|
-
var templateObject_1$
|
|
21581
|
+
var templateObject_1$t, templateObject_2$l, templateObject_3$f, templateObject_4$d, templateObject_5$a, templateObject_6$9, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$3, templateObject_11$2;
|
|
21582
21582
|
|
|
21583
|
-
var scrollbarStyling = Ae(templateObject_1$
|
|
21584
|
-
var templateObject_1$
|
|
21583
|
+
var scrollbarStyling = Ae(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n /* width */\n &::-webkit-scrollbar {\n width: 16px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"], ["\n /* width */\n &::-webkit-scrollbar {\n width: 16px;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n border-radius: 100px;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 100px;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: ", ";\n }\n\n /* Firefox */\n scrollbar-color: ", "\n transparent;\n scrollbar-width: thin;\n"])), ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.5)', ddsBaseTokens.colors.DdsColorPrimaryDarkest.slice(0, -2) + '0.35)');
|
|
21584
|
+
var templateObject_1$s;
|
|
21585
21585
|
|
|
21586
21586
|
var TextArea = styled.textarea.withConfig({
|
|
21587
21587
|
displayName: "TextInputstyles__TextArea",
|
|
21588
21588
|
componentId: "sc-165zflr-0"
|
|
21589
|
-
})(templateObject_3$
|
|
21589
|
+
})(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"], ["\n ", "\n resize: vertical;\n height: auto;\n ", "\n min-height: ", ";\n ", "\n ", "\n\n &:hover:enabled:read-write ~ label {\n background-color: ", ";\n }\n"])), function (_a) {
|
|
21590
21590
|
var label = _a.label,
|
|
21591
21591
|
disabled = _a.disabled,
|
|
21592
21592
|
readOnly = _a.readOnly,
|
|
@@ -21602,7 +21602,7 @@ var TextArea = styled.textarea.withConfig({
|
|
|
21602
21602
|
return label ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
|
|
21603
21603
|
}, textInputTokens.multiline.base, function (_a) {
|
|
21604
21604
|
var label = _a.label;
|
|
21605
|
-
return label ? Ae(templateObject_1$
|
|
21605
|
+
return label ? Ae(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.withLabel.base) : Ae(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.noLabel.base);
|
|
21606
21606
|
}, function (_a) {
|
|
21607
21607
|
var errorMessage = _a.errorMessage;
|
|
21608
21608
|
return errorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
|
|
@@ -21610,28 +21610,28 @@ var TextArea = styled.textarea.withConfig({
|
|
|
21610
21610
|
var MessageContainer = styled.div.withConfig({
|
|
21611
21611
|
displayName: "TextInputstyles__MessageContainer",
|
|
21612
21612
|
componentId: "sc-165zflr-1"
|
|
21613
|
-
})(templateObject_4$
|
|
21613
|
+
})(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n"], ["\n display: flex;\n justify-content: space-between;\n"])));
|
|
21614
21614
|
var Label$1 = styled(SingleLineLabel).withConfig({
|
|
21615
21615
|
displayName: "TextInputstyles__Label",
|
|
21616
21616
|
componentId: "sc-165zflr-2"
|
|
21617
|
-
})(templateObject_8$
|
|
21617
|
+
})(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), function (_a) {
|
|
21618
21618
|
var multiline = _a.multiline;
|
|
21619
|
-
return multiline && Ae(templateObject_5$
|
|
21619
|
+
return multiline && Ae(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "], ["\n margin: 1px;\n width: calc(100% - 20px);\n ", "\n "])), textInputTokens.label.multiline.base);
|
|
21620
21620
|
}, function (_a) {
|
|
21621
21621
|
var disabled = _a.disabled,
|
|
21622
21622
|
multiline = _a.multiline;
|
|
21623
|
-
return disabled && multiline && Ae(templateObject_6$
|
|
21623
|
+
return disabled && multiline && Ae(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.disabled.base.backgroundColor);
|
|
21624
21624
|
}, function (_a) {
|
|
21625
21625
|
var readOnly = _a.readOnly,
|
|
21626
21626
|
multiline = _a.multiline;
|
|
21627
|
-
return readOnly && multiline && Ae(templateObject_7$
|
|
21627
|
+
return readOnly && multiline && Ae(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), inputTokens.readOnly.base.backgroundColor);
|
|
21628
21628
|
});
|
|
21629
21629
|
var InputContainer$1 = styled(InputContainer$2).withConfig({
|
|
21630
21630
|
displayName: "TextInputstyles__InputContainer",
|
|
21631
21631
|
componentId: "sc-165zflr-3"
|
|
21632
|
-
})(templateObject_10$
|
|
21632
|
+
})(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\n ", "\n height: ", ";\n"], ["\n ", "\n height: ", ";\n"])), function (_a) {
|
|
21633
21633
|
var multiline = _a.multiline;
|
|
21634
|
-
return multiline && Ae(templateObject_9$
|
|
21634
|
+
return multiline && Ae(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\n display: inline-block;\n "], ["\n display: inline-block;\n "])));
|
|
21635
21635
|
}, function (_a) {
|
|
21636
21636
|
var multiline = _a.multiline,
|
|
21637
21637
|
label = _a.label;
|
|
@@ -21644,7 +21644,7 @@ var InputContainer$1 = styled(InputContainer$2).withConfig({
|
|
|
21644
21644
|
return textInputTokens.container.multiline.noLabel.height;
|
|
21645
21645
|
}
|
|
21646
21646
|
});
|
|
21647
|
-
var templateObject_1$
|
|
21647
|
+
var templateObject_1$r, templateObject_2$k, templateObject_3$e, templateObject_4$c, templateObject_5$9, templateObject_6$8, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$2;
|
|
21648
21648
|
|
|
21649
21649
|
var nextUniqueId$3 = 0;
|
|
21650
21650
|
var TextInput = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
@@ -28631,38 +28631,38 @@ var index = manageState(Select$1);
|
|
|
28631
28631
|
|
|
28632
28632
|
var ReactSelect = index;
|
|
28633
28633
|
|
|
28634
|
-
var Colors$
|
|
28635
|
-
Spacing$
|
|
28636
|
-
FontPackages$
|
|
28637
|
-
BorderRadius$
|
|
28638
|
-
Border$
|
|
28634
|
+
var Colors$b = ddsBaseTokens.colors,
|
|
28635
|
+
Spacing$f = ddsBaseTokens.spacing,
|
|
28636
|
+
FontPackages$c = ddsBaseTokens.fontPackages,
|
|
28637
|
+
BorderRadius$2 = ddsBaseTokens.borderRadius,
|
|
28638
|
+
Border$5 = ddsBaseTokens.border,
|
|
28639
28639
|
IconSizes = ddsBaseTokens.iconSizes;
|
|
28640
28640
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
28641
|
-
var multiValueContainerMinHeight = Spacing$
|
|
28641
|
+
var multiValueContainerMinHeight = Spacing$f.SizesDdsSpacingLocalX0125NumberPx * 2 + Spacing$f.SizesDdsSpacingLocalX025NumberPx * 2 + calculateHeightWithLineHeight(FontPackages$c.supportingStyle_inputtext_01.numbers.lineHeightNumber, FontPackages$c.supportingStyle_inputtext_01.numbers.fontSizeNumber) + "px"; //custom spacing so that multiselect has same height as single value select
|
|
28642
28642
|
|
|
28643
|
-
var valueContainerMarginBottomMultiWithLabel = Spacing$
|
|
28643
|
+
var valueContainerMarginBottomMultiWithLabel = Spacing$f.SizesDdsSpacingLocalX025NumberPx + Spacing$f.SizesDdsSpacingLocalX0125NumberPx + "px"; //custom spacing so that multiselect has same height as single value select
|
|
28644
28644
|
|
|
28645
|
-
var inputMultiNoLabelPaddingTop = Spacing$
|
|
28645
|
+
var inputMultiNoLabelPaddingTop = Spacing$f.SizesDdsSpacingLocalX05NumberPx + Spacing$f.SizesDdsSpacingLocalX0125NumberPx + "px";
|
|
28646
28646
|
|
|
28647
28647
|
var labelBase = __assign({
|
|
28648
|
-
color: Colors$
|
|
28649
|
-
paddingTop: Spacing$
|
|
28650
|
-
paddingLeft: Spacing$
|
|
28648
|
+
color: Colors$b.DdsColorNeutralsGray7,
|
|
28649
|
+
paddingTop: Spacing$f.SizesDdsSpacingLocalX075,
|
|
28650
|
+
paddingLeft: Spacing$f.SizesDdsSpacingLocalX1,
|
|
28651
28651
|
paddingBottom: 0,
|
|
28652
|
-
paddingRight: Spacing$
|
|
28653
|
-
}, FontPackages$
|
|
28652
|
+
paddingRight: Spacing$f.SizesDdsSpacingLocalX05
|
|
28653
|
+
}, FontPackages$c.supportingStyle_label_01.base);
|
|
28654
28654
|
|
|
28655
28655
|
var labelHoverBase = {
|
|
28656
|
-
color: Colors$
|
|
28656
|
+
color: Colors$b.DdsColorInteractiveBase
|
|
28657
28657
|
};
|
|
28658
28658
|
var labelFocusBase = {
|
|
28659
|
-
color: Colors$
|
|
28659
|
+
color: Colors$b.DdsColorInteractiveBase
|
|
28660
28660
|
};
|
|
28661
28661
|
var valueContainerWithLabelBase = {
|
|
28662
|
-
marginBottom: Spacing$
|
|
28662
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX075
|
|
28663
28663
|
};
|
|
28664
28664
|
var valueContainerNoLabelBase = {
|
|
28665
|
-
marginBottom: Spacing$
|
|
28665
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX075
|
|
28666
28666
|
};
|
|
28667
28667
|
var valueContainerIsMultiBase = {
|
|
28668
28668
|
minHeight: multiValueContainerMinHeight
|
|
@@ -28671,144 +28671,144 @@ var valueContainerIsMultiWithLabelBase = {
|
|
|
28671
28671
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
28672
28672
|
};
|
|
28673
28673
|
var valueContainerIsMultiNoLabelBase = {
|
|
28674
|
-
marginBottom: Spacing$
|
|
28674
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX05
|
|
28675
28675
|
};
|
|
28676
28676
|
var containerBase$2 = {
|
|
28677
|
-
borderRadius: BorderRadius$
|
|
28678
|
-
border: Border$
|
|
28679
|
-
borderColor: Colors$
|
|
28680
|
-
backgroundColor: Colors$
|
|
28677
|
+
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius,
|
|
28678
|
+
border: Border$5.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
28679
|
+
borderColor: Colors$b.DdsColorNeutralsGray5,
|
|
28680
|
+
backgroundColor: Colors$b.DdsColorNeutralsWhite
|
|
28681
28681
|
};
|
|
28682
28682
|
var containerHoverBase = {
|
|
28683
|
-
backgroundColor: Colors$
|
|
28684
|
-
borderColor: Colors$
|
|
28683
|
+
backgroundColor: Colors$b.DdsColorInteractiveLightest,
|
|
28684
|
+
borderColor: Colors$b.DdsColorInteractiveBase
|
|
28685
28685
|
};
|
|
28686
28686
|
var containerFocusBase = {
|
|
28687
|
-
borderColor: Colors$
|
|
28687
|
+
borderColor: Colors$b.DdsColorInteractiveBase
|
|
28688
28688
|
};
|
|
28689
28689
|
var containerDangerBase$2 = {
|
|
28690
|
-
borderColor: Colors$
|
|
28690
|
+
borderColor: Colors$b.DdsColorDangerBase
|
|
28691
28691
|
};
|
|
28692
28692
|
var containerDangerHoverBase = {
|
|
28693
|
-
backgroundColor: Colors$
|
|
28694
|
-
borderColor: Colors$
|
|
28693
|
+
backgroundColor: Colors$b.DdsColorDangerLightest,
|
|
28694
|
+
borderColor: Colors$b.DdsColorDangerBase
|
|
28695
28695
|
};
|
|
28696
28696
|
var containerDangerFocusBase = {
|
|
28697
|
-
borderColor: Colors$
|
|
28697
|
+
borderColor: Colors$b.DdsColorDangerDark
|
|
28698
28698
|
};
|
|
28699
28699
|
|
|
28700
28700
|
var inputBase$1 = __assign({
|
|
28701
|
-
padding: "0 " + Spacing$
|
|
28702
|
-
}, FontPackages$
|
|
28701
|
+
padding: "0 " + Spacing$f.SizesDdsSpacingLocalX05 + " 0 " + Spacing$f.SizesDdsSpacingLocalX1
|
|
28702
|
+
}, FontPackages$c.supportingStyle_inputtext_02.base);
|
|
28703
28703
|
|
|
28704
28704
|
var inputNoLabelBase = {
|
|
28705
|
-
paddingTop: Spacing$
|
|
28705
|
+
paddingTop: Spacing$f.SizesDdsSpacingLocalX075
|
|
28706
28706
|
};
|
|
28707
28707
|
var inputIsMultiNoLabelBase = {
|
|
28708
28708
|
paddingTop: inputMultiNoLabelPaddingTop
|
|
28709
28709
|
};
|
|
28710
28710
|
|
|
28711
28711
|
var placeholderBase = __assign({
|
|
28712
|
-
color: Colors$
|
|
28713
|
-
}, FontPackages$
|
|
28712
|
+
color: Colors$b.DdsColorNeutralsGray6
|
|
28713
|
+
}, FontPackages$c.supportingStyle_placeholdertext_01.base);
|
|
28714
28714
|
|
|
28715
28715
|
var indicatorsContainerWithLabelBase = {
|
|
28716
|
-
marginBottom: Spacing$
|
|
28716
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX1
|
|
28717
28717
|
};
|
|
28718
28718
|
var indicatorsContainerNoLabelBase = {
|
|
28719
|
-
marginBottom: Spacing$
|
|
28719
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX075
|
|
28720
28720
|
};
|
|
28721
28721
|
var indicatorsContainerIsMultiWithLabelBase = {
|
|
28722
28722
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
28723
28723
|
};
|
|
28724
28724
|
var indicatorsContainerIsMultiNoLabelBase = {
|
|
28725
|
-
marginBottom: Spacing$
|
|
28725
|
+
marginBottom: Spacing$f.SizesDdsSpacingLocalX05
|
|
28726
28726
|
};
|
|
28727
28727
|
var dropdownIndicatorBase = {
|
|
28728
|
-
color: Colors$
|
|
28728
|
+
color: Colors$b.DdsColorNeutralsGray6,
|
|
28729
28729
|
padding: 0
|
|
28730
28730
|
};
|
|
28731
28731
|
var dropdownIndicatorHoverBase = {
|
|
28732
|
-
color: Colors$
|
|
28732
|
+
color: Colors$b.DdsColorInteractiveBase
|
|
28733
28733
|
};
|
|
28734
28734
|
var drodownIndicatorReadOnlyBase = {
|
|
28735
28735
|
color: 'transparent'
|
|
28736
28736
|
};
|
|
28737
28737
|
var clearIndicatorBase = {
|
|
28738
|
-
color: Colors$
|
|
28739
|
-
padding: " 0 " + Spacing$
|
|
28738
|
+
color: Colors$b.DdsColorNeutralsGray6,
|
|
28739
|
+
padding: " 0 " + Spacing$f.SizesDdsSpacingLocalX025 + " 0 0"
|
|
28740
28740
|
};
|
|
28741
28741
|
var loadingIndicatorBase = {
|
|
28742
|
-
color: Colors$
|
|
28742
|
+
color: Colors$b.DdsColorNeutralsGray6,
|
|
28743
28743
|
padding: 0
|
|
28744
28744
|
};
|
|
28745
28745
|
var clearIndicatorHoverBase = {
|
|
28746
|
-
color: Colors$
|
|
28746
|
+
color: Colors$b.DdsColorInteractiveBase
|
|
28747
28747
|
};
|
|
28748
28748
|
var optionsListBase = {
|
|
28749
28749
|
border: '1px solid',
|
|
28750
|
-
borderColor: Colors$
|
|
28751
|
-
backgroundColor: Colors$
|
|
28752
|
-
borderRadius: BorderRadius$
|
|
28750
|
+
borderColor: Colors$b.DdsColorInteractiveBase,
|
|
28751
|
+
backgroundColor: Colors$b.DdsColorNeutralsWhite,
|
|
28752
|
+
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius
|
|
28753
28753
|
};
|
|
28754
28754
|
|
|
28755
28755
|
var optionBase = __assign(__assign({
|
|
28756
|
-
padding: Spacing$
|
|
28757
|
-
}, FontPackages$
|
|
28756
|
+
padding: Spacing$f.SizesDdsSpacingLocalX05 + " " + Spacing$f.SizesDdsSpacingLocalX1
|
|
28757
|
+
}, FontPackages$c.body_sans_02.base), {
|
|
28758
28758
|
color: textDefault$6.textColor
|
|
28759
28759
|
});
|
|
28760
28760
|
|
|
28761
28761
|
var optionHoverBase = {
|
|
28762
|
-
backgroundColor: Colors$
|
|
28762
|
+
backgroundColor: Colors$b.DdsColorInteractiveLighter
|
|
28763
28763
|
};
|
|
28764
28764
|
|
|
28765
28765
|
var optionSelectedBase = __assign(__assign({
|
|
28766
|
-
backgroundColor: Colors$
|
|
28767
|
-
}, FontPackages$
|
|
28766
|
+
backgroundColor: Colors$b.DdsColorInteractiveLightest
|
|
28767
|
+
}, FontPackages$c.body_sans_02.base), {
|
|
28768
28768
|
fontWeight: 600
|
|
28769
28769
|
});
|
|
28770
28770
|
|
|
28771
28771
|
var noOptionsMessageBase = __assign({
|
|
28772
|
-
padding: Spacing$
|
|
28773
|
-
color: Colors$
|
|
28774
|
-
}, FontPackages$
|
|
28772
|
+
padding: Spacing$f.SizesDdsSpacingLocalX05 + " " + Spacing$f.SizesDdsSpacingLocalX1,
|
|
28773
|
+
color: Colors$b.DdsColorNeutralsGray6
|
|
28774
|
+
}, FontPackages$c.supportingStyle_placeholdertext_01.base);
|
|
28775
28775
|
|
|
28776
28776
|
var multiValueBase = {
|
|
28777
|
-
borderRadius: BorderRadius$
|
|
28778
|
-
margin: Spacing$
|
|
28777
|
+
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius,
|
|
28778
|
+
margin: Spacing$f.SizesDdsSpacingLocalX0125
|
|
28779
28779
|
};
|
|
28780
28780
|
var multiValueEnabledBase = {
|
|
28781
|
-
backgroundColor: Colors$
|
|
28781
|
+
backgroundColor: Colors$b.DdsColorInteractiveLighter
|
|
28782
28782
|
};
|
|
28783
28783
|
var multiValueDisabledBase = {
|
|
28784
|
-
backgroundColor: Colors$
|
|
28784
|
+
backgroundColor: Colors$b.DdsColorNeutralsGray3
|
|
28785
28785
|
};
|
|
28786
28786
|
|
|
28787
28787
|
var multiValueLabelBase = __assign(__assign({
|
|
28788
|
-
paddingTop: "" + Spacing$
|
|
28789
|
-
paddingRight: "" + Spacing$
|
|
28790
|
-
paddingLeft: "" + Spacing$
|
|
28791
|
-
paddingBottom: "" + Spacing$
|
|
28792
|
-
color: Colors$
|
|
28793
|
-
}, FontPackages$
|
|
28788
|
+
paddingTop: "" + Spacing$f.SizesDdsSpacingLocalX025,
|
|
28789
|
+
paddingRight: "" + Spacing$f.SizesDdsSpacingLocalX05,
|
|
28790
|
+
paddingLeft: "" + Spacing$f.SizesDdsSpacingLocalX05,
|
|
28791
|
+
paddingBottom: "" + Spacing$f.SizesDdsSpacingLocalX025,
|
|
28792
|
+
color: Colors$b.DdsColorNeutralsGray9
|
|
28793
|
+
}, FontPackages$c.supportingStyle_inputtext_01.base), {
|
|
28794
28794
|
fontWeight: 'bold'
|
|
28795
28795
|
});
|
|
28796
28796
|
|
|
28797
28797
|
var multiValueRemoveBase = {
|
|
28798
|
-
padding: "" + Spacing$
|
|
28799
|
-
color: Colors$
|
|
28798
|
+
padding: "" + Spacing$f.SizesDdsSpacingLocalX025,
|
|
28799
|
+
color: Colors$b.DdsColorNeutralsGray9
|
|
28800
28800
|
};
|
|
28801
28801
|
var multiValueRemoveHoverBase = {
|
|
28802
|
-
color: Colors$
|
|
28803
|
-
backgroundColor: Colors$
|
|
28802
|
+
color: Colors$b.DdsColorNeutralsWhite,
|
|
28803
|
+
backgroundColor: Colors$b.DdsColorInteractiveBase
|
|
28804
28804
|
};
|
|
28805
28805
|
var multiValueRemoveIconBase = {
|
|
28806
28806
|
height: IconSizes.DdsIconsizeSmall,
|
|
28807
28807
|
width: IconSizes.DdsIconsizeSmall
|
|
28808
28808
|
};
|
|
28809
28809
|
var containerDisabledBase = {
|
|
28810
|
-
backgroundColor: Colors$
|
|
28811
|
-
borderColor: Colors$
|
|
28810
|
+
backgroundColor: Colors$b.DdsColorNeutralsGray1,
|
|
28811
|
+
borderColor: Colors$b.DdsColorNeutralsGray5
|
|
28812
28812
|
};
|
|
28813
28813
|
var containerReadOnlyBase = {
|
|
28814
28814
|
borderColor: 'transparent',
|
|
@@ -28866,7 +28866,7 @@ var selectTokens = {
|
|
|
28866
28866
|
},
|
|
28867
28867
|
optionsList: {
|
|
28868
28868
|
base: optionsListBase,
|
|
28869
|
-
spaceTop: Spacing$
|
|
28869
|
+
spaceTop: Spacing$f.SizesDdsSpacingLocalX1NumberPx + 2 //grunnet shadow-box
|
|
28870
28870
|
|
|
28871
28871
|
},
|
|
28872
28872
|
option: {
|
|
@@ -28877,7 +28877,7 @@ var selectTokens = {
|
|
|
28877
28877
|
selected: {
|
|
28878
28878
|
base: optionSelectedBase,
|
|
28879
28879
|
icon: {
|
|
28880
|
-
margin: "0 " + Spacing$
|
|
28880
|
+
margin: "0 " + Spacing$f.SizesDdsSpacingLocalX05 + " 0 0"
|
|
28881
28881
|
}
|
|
28882
28882
|
}
|
|
28883
28883
|
},
|
|
@@ -28962,38 +28962,38 @@ var prefix = 'dds-select';
|
|
|
28962
28962
|
var Label = styled(Typography).withConfig({
|
|
28963
28963
|
displayName: "Selectstyles__Label",
|
|
28964
28964
|
componentId: "sc-19jkd5s-0"
|
|
28965
|
-
})(templateObject_1$
|
|
28965
|
+
})(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
|
|
28966
28966
|
var Container$5 = styled.div.withConfig({
|
|
28967
28967
|
displayName: "Selectstyles__Container",
|
|
28968
28968
|
componentId: "sc-19jkd5s-1"
|
|
28969
|
-
})(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"], ["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"])), selectTokens.container.base, scrollbarStyling, typographyTokens.selection.base, function (_a) {
|
|
28969
|
+
})(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject(["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"], ["\n transition: 0.2s;\n position: relative;\n ", "\n ", "\n *::selection {\n ", "\n }\n ", "\n\n ", "\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n ", " {\n ", "\n }\n }\n ", "\n\n .", "__menu-list {\n ", "\n }\n &:hover\n .", "__dropdown-indicator,\n &:focus-within\n .", "__dropdown-indicator {\n ", "\n }\n\n ", "\n ", "\n"])), selectTokens.container.base, scrollbarStyling, typographyTokens.selection.base, function (_a) {
|
|
28970
28970
|
var isMulti = _a.isMulti;
|
|
28971
|
-
return isMulti && Ae(templateObject_2$
|
|
28971
|
+
return isMulti && Ae(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([""], [""])));
|
|
28972
28972
|
}, function (_a) {
|
|
28973
28973
|
var hasLabel = _a.hasLabel,
|
|
28974
28974
|
isMulti = _a.isMulti;
|
|
28975
|
-
return isMulti && hasLabel ? Ae(templateObject_3$
|
|
28975
|
+
return isMulti && hasLabel ? Ae(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.isMulti.withLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.withLabel.base) : isMulti && !hasLabel ? Ae(templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.isMulti.noLabel.base, prefix, selectTokens.valueContainer.isMulti.noLabel.base, prefix, selectTokens.indicatorsContainer.isMulti.noLabel.base) : hasLabel ? Ae(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject(["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.valueContainer.withLabel.base, prefix, selectTokens.indicatorsContainer.withLabel.base) : Ae(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "], ["\n .", "__control {\n ", "\n }\n .", "__value-container {\n ", "\n }\n .", "__indicators {\n ", "\n }\n "])), prefix, selectTokens.input.noLabel.base, prefix, selectTokens.valueContainer.noLabel.base, prefix, selectTokens.indicatorsContainer.noLabel.base);
|
|
28976
28976
|
}, selectTokens.container.hover.base, selectTokens.container.hover.base.borderColor, Label, selectTokens.label.hover.base, selectTokens.container.focus.base, selectTokens.container.focus.base.borderColor, Label, selectTokens.label.focus.base, function (_a) {
|
|
28977
28977
|
var errorMessage = _a.errorMessage;
|
|
28978
|
-
return errorMessage && Ae(templateObject_7$
|
|
28978
|
+
return errorMessage && Ae(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "], ["\n ", "\n box-shadow: 0 0 0 1px ", ";\n &:hover {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n &:focus-within {\n ", "\n box-shadow: 0 0 0 1px ", ";\n }\n "])), selectTokens.container.danger.base, selectTokens.container.danger.base.borderColor, selectTokens.container.danger.hover.base, selectTokens.container.danger.hover.base.borderColor, selectTokens.container.danger.focus.base, selectTokens.container.danger.focus.base.borderColor);
|
|
28979
28979
|
}, prefix, scrollbarStyling, prefix, prefix, selectTokens.dropdownIndicator.hover.base, function (_a) {
|
|
28980
28980
|
var isDisabled = _a.isDisabled;
|
|
28981
|
-
return isDisabled && Ae(templateObject_8$
|
|
28981
|
+
return isDisabled && Ae(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "], ["\n cursor: not-allowed;\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n &:hover .", "__dropdown-indicator {\n ", "\n }\n }\n "])), selectTokens.container.disabled.base, selectTokens.container.disabled.base, Label, selectTokens.label.base, prefix, selectTokens.dropdownIndicator.base);
|
|
28982
28982
|
}, function (_a) {
|
|
28983
28983
|
var readOnly = _a.readOnly;
|
|
28984
|
-
return readOnly && Ae(templateObject_9$
|
|
28984
|
+
return readOnly && Ae(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "], ["\n ", "\n &:hover {\n box-shadow: none;\n ", "\n ", " {\n ", "\n }\n }\n .", "__dropdown-indicator, &:hover .", "__dropdown-indicator {\n ", "\n }\n "])), selectTokens.container.readOnly.base, selectTokens.container.readOnly.base, Label, selectTokens.label.base, prefix, prefix, selectTokens.dropdownIndicator.readOnly.base);
|
|
28985
28985
|
});
|
|
28986
|
-
var Wrapper$
|
|
28986
|
+
var Wrapper$3 = styled.div.withConfig({
|
|
28987
28987
|
displayName: "Selectstyles__Wrapper",
|
|
28988
28988
|
componentId: "sc-19jkd5s-2"
|
|
28989
|
-
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
|
|
28989
|
+
})(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
|
|
28990
28990
|
var width = _a.width;
|
|
28991
28991
|
return width;
|
|
28992
28992
|
});
|
|
28993
28993
|
var SelectedIconWrapper = styled(IconWrapper$1).withConfig({
|
|
28994
28994
|
displayName: "Selectstyles__SelectedIconWrapper",
|
|
28995
28995
|
componentId: "sc-19jkd5s-3"
|
|
28996
|
-
})(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n margin: ", ";\n"], ["\n margin: ", ";\n"])), selectTokens.option.selected.icon.margin);
|
|
28996
|
+
})(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n margin: ", ";\n"], ["\n margin: ", ";\n"])), selectTokens.option.selected.icon.margin);
|
|
28997
28997
|
var CustomStyles = {
|
|
28998
28998
|
placeholder: function placeholder() {
|
|
28999
28999
|
return __assign({}, selectTokens.placeholder.base);
|
|
@@ -29088,7 +29088,7 @@ var CustomStyles = {
|
|
|
29088
29088
|
return {};
|
|
29089
29089
|
}
|
|
29090
29090
|
};
|
|
29091
|
-
var templateObject_1$
|
|
29091
|
+
var templateObject_1$q, templateObject_2$j, templateObject_3$d, templateObject_4$b, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$2, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1;
|
|
29092
29092
|
|
|
29093
29093
|
var DdsOption = components.Option,
|
|
29094
29094
|
NoOptionsMessage = components.NoOptionsMessage;
|
|
@@ -29180,7 +29180,7 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29180
29180
|
}
|
|
29181
29181
|
}, rest);
|
|
29182
29182
|
|
|
29183
|
-
return jsxRuntime.jsxs(Wrapper$
|
|
29183
|
+
return jsxRuntime.jsxs(Wrapper$3, __assign({}, wrapperProps, {
|
|
29184
29184
|
children: [jsxRuntime.jsxs(Container$5, __assign({}, containerProps, {
|
|
29185
29185
|
children: [label && jsxRuntime.jsxs(Label, __assign({
|
|
29186
29186
|
htmlFor: uniqueId,
|
|
@@ -29277,37 +29277,37 @@ exports.default = _default;
|
|
|
29277
29277
|
|
|
29278
29278
|
var InfoOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(InfoOutlined);
|
|
29279
29279
|
|
|
29280
|
-
var Colors$
|
|
29281
|
-
Spacing$
|
|
29282
|
-
FontPackages$
|
|
29280
|
+
var Colors$a = ddsBaseTokens.colors,
|
|
29281
|
+
Spacing$e = ddsBaseTokens.spacing,
|
|
29282
|
+
FontPackages$b = ddsBaseTokens.fontPackages;
|
|
29283
29283
|
|
|
29284
29284
|
var containerBase$1 = __assign(__assign({
|
|
29285
29285
|
borderBottom: '2px solid',
|
|
29286
|
-
padding: "0 " + Spacing$
|
|
29286
|
+
padding: "0 " + Spacing$e.SizesDdsSpacingLocalX1,
|
|
29287
29287
|
width: '100%'
|
|
29288
|
-
}, FontPackages$
|
|
29289
|
-
color: Colors$
|
|
29288
|
+
}, FontPackages$b.body_sans_02.base), {
|
|
29289
|
+
color: Colors$a.DdsColorNeutralsGray8
|
|
29290
29290
|
});
|
|
29291
29291
|
|
|
29292
29292
|
var contentContainerBase$1 = {
|
|
29293
|
-
paddingRight: Spacing$
|
|
29294
|
-
paddingTop: Spacing$
|
|
29295
|
-
paddingBottom: Spacing$
|
|
29293
|
+
paddingRight: Spacing$e.SizesDdsSpacingLocalX15,
|
|
29294
|
+
paddingTop: Spacing$e.SizesDdsSpacingLocalX075,
|
|
29295
|
+
paddingBottom: Spacing$e.SizesDdsSpacingLocalX075
|
|
29296
29296
|
};
|
|
29297
29297
|
var contentContainerWithClosableBase$1 = {
|
|
29298
|
-
paddingRight: Spacing$
|
|
29298
|
+
paddingRight: Spacing$e.SizesDdsSpacingLocalX075
|
|
29299
29299
|
};
|
|
29300
29300
|
var containerInfoBase$1 = {
|
|
29301
|
-
borderColor: Colors$
|
|
29302
|
-
backgroundColor: Colors$
|
|
29301
|
+
borderColor: Colors$a.DdsColorInfoLighter,
|
|
29302
|
+
backgroundColor: Colors$a.DdsColorInfoLightest
|
|
29303
29303
|
};
|
|
29304
29304
|
var containerDangerBase$1 = {
|
|
29305
|
-
borderColor: Colors$
|
|
29306
|
-
backgroundColor: Colors$
|
|
29305
|
+
borderColor: Colors$a.DdsColorDangerLighter,
|
|
29306
|
+
backgroundColor: Colors$a.DdsColorDangerLightest
|
|
29307
29307
|
};
|
|
29308
29308
|
var containerWarningBase$1 = {
|
|
29309
|
-
borderColor: Colors$
|
|
29310
|
-
backgroundColor: Colors$
|
|
29309
|
+
borderColor: Colors$a.DdsColorWarningLighter,
|
|
29310
|
+
backgroundColor: Colors$a.DdsColorWarningLightest
|
|
29311
29311
|
};
|
|
29312
29312
|
var globalMessageTokens = {
|
|
29313
29313
|
container: {
|
|
@@ -29329,18 +29329,18 @@ var globalMessageTokens = {
|
|
|
29329
29329
|
}
|
|
29330
29330
|
},
|
|
29331
29331
|
icon: {
|
|
29332
|
-
marginRight: "" + Spacing$
|
|
29332
|
+
marginRight: "" + Spacing$e.SizesDdsSpacingLocalX075,
|
|
29333
29333
|
info: {
|
|
29334
29334
|
icon: InfoOutlinedIcon,
|
|
29335
|
-
color: Colors$
|
|
29335
|
+
color: Colors$a.DdsColorInfoDarkest
|
|
29336
29336
|
},
|
|
29337
29337
|
danger: {
|
|
29338
29338
|
icon: DangerOutlinedIcon,
|
|
29339
|
-
color: Colors$
|
|
29339
|
+
color: Colors$a.DdsColorDangerDarkest
|
|
29340
29340
|
},
|
|
29341
29341
|
warning: {
|
|
29342
29342
|
icon: WarningOutlinedIcon,
|
|
29343
|
-
color: Colors$
|
|
29343
|
+
color: Colors$a.DdsColorWarningDarkest
|
|
29344
29344
|
}
|
|
29345
29345
|
},
|
|
29346
29346
|
button: {
|
|
@@ -29359,24 +29359,24 @@ var globalMessageTokens = {
|
|
|
29359
29359
|
var Container$4 = styled.div.withConfig({
|
|
29360
29360
|
displayName: "GlobalMessage__Container",
|
|
29361
29361
|
componentId: "sc-bf2l65-0"
|
|
29362
|
-
})(templateObject_2$
|
|
29362
|
+
})(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n ", "\n"])), function (_a) {
|
|
29363
29363
|
var purpose = _a.purpose;
|
|
29364
|
-
return purpose && Ae(templateObject_1$
|
|
29364
|
+
return purpose && Ae(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
|
|
29365
29365
|
});
|
|
29366
29366
|
var MessageIconWrapper$1 = styled(IconWrapper$1).withConfig({
|
|
29367
29367
|
displayName: "GlobalMessage__MessageIconWrapper",
|
|
29368
29368
|
componentId: "sc-bf2l65-1"
|
|
29369
|
-
})(templateObject_3$
|
|
29369
|
+
})(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), globalMessageTokens.icon.marginRight);
|
|
29370
29370
|
var ControlsContainer = styled.div.withConfig({
|
|
29371
29371
|
displayName: "GlobalMessage__ControlsContainer",
|
|
29372
29372
|
componentId: "sc-bf2l65-2"
|
|
29373
|
-
})(templateObject_4$
|
|
29373
|
+
})(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
29374
29374
|
var ContentContainer$1 = styled.div.withConfig({
|
|
29375
29375
|
displayName: "GlobalMessage__ContentContainer",
|
|
29376
29376
|
componentId: "sc-bf2l65-3"
|
|
29377
|
-
})(templateObject_6$
|
|
29377
|
+
})(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n ", "\n"], ["\n display: flex;\n align-items: center;\n ", "\n ", "\n"])), globalMessageTokens.contentContainer.base, function (_a) {
|
|
29378
29378
|
var closable = _a.closable;
|
|
29379
|
-
return closable && Ae(templateObject_5$
|
|
29379
|
+
return closable && Ae(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), globalMessageTokens.contentContainer.withClosable.base);
|
|
29380
29380
|
});
|
|
29381
29381
|
var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29382
29382
|
var message = _a.message,
|
|
@@ -29424,7 +29424,7 @@ var GlobalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29424
29424
|
}, void 0)]
|
|
29425
29425
|
}), void 0) : null;
|
|
29426
29426
|
});
|
|
29427
|
-
var templateObject_1$
|
|
29427
|
+
var templateObject_1$p, templateObject_2$i, templateObject_3$c, templateObject_4$a, templateObject_5$7, templateObject_6$6;
|
|
29428
29428
|
|
|
29429
29429
|
var CheckCircleOutlined = createCommonjsModule(function (module, exports) {
|
|
29430
29430
|
|
|
@@ -29480,63 +29480,63 @@ exports.default = _default;
|
|
|
29480
29480
|
|
|
29481
29481
|
var EmojiObjectsOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(EmojiObjectsOutlined);
|
|
29482
29482
|
|
|
29483
|
-
var Colors$
|
|
29484
|
-
Spacing$
|
|
29485
|
-
FontPackages$
|
|
29486
|
-
BorderRadius = ddsBaseTokens.borderRadius,
|
|
29487
|
-
Border$
|
|
29483
|
+
var Colors$9 = ddsBaseTokens.colors,
|
|
29484
|
+
Spacing$d = ddsBaseTokens.spacing,
|
|
29485
|
+
FontPackages$a = ddsBaseTokens.fontPackages,
|
|
29486
|
+
BorderRadius$1 = ddsBaseTokens.borderRadius,
|
|
29487
|
+
Border$4 = ddsBaseTokens.border,
|
|
29488
29488
|
OuterShadow = ddsBaseTokens.outerShadow;
|
|
29489
29489
|
|
|
29490
29490
|
var containerBase = __assign(__assign({
|
|
29491
29491
|
boxShadow: OuterShadow.DdsShadow1Onlight,
|
|
29492
|
-
borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius,
|
|
29493
|
-
border: Border$
|
|
29494
|
-
padding: "0 " + Spacing$
|
|
29495
|
-
}, FontPackages$
|
|
29496
|
-
color: Colors$
|
|
29492
|
+
borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
29493
|
+
border: Border$4.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
29494
|
+
padding: "0 " + Spacing$d.SizesDdsSpacingLocalX1
|
|
29495
|
+
}, FontPackages$a.body_sans_02.base), {
|
|
29496
|
+
color: Colors$9.DdsColorNeutralsGray8
|
|
29497
29497
|
});
|
|
29498
29498
|
|
|
29499
29499
|
var defaultWidth = '400px';
|
|
29500
29500
|
var contentContainerBase = {
|
|
29501
|
-
paddingRight: Spacing$
|
|
29502
|
-
paddingTop: Spacing$
|
|
29503
|
-
paddingBottom: Spacing$
|
|
29501
|
+
paddingRight: Spacing$d.SizesDdsSpacingLocalX15,
|
|
29502
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX075,
|
|
29503
|
+
paddingBottom: Spacing$d.SizesDdsSpacingLocalX075
|
|
29504
29504
|
};
|
|
29505
29505
|
var contentContainerWithClosableBase = {
|
|
29506
|
-
paddingRight: Spacing$
|
|
29506
|
+
paddingRight: Spacing$d.SizesDdsSpacingLocalX075
|
|
29507
29507
|
};
|
|
29508
29508
|
var contentContainerVericalBase = {
|
|
29509
|
-
paddingBottom: Spacing$
|
|
29509
|
+
paddingBottom: Spacing$d.SizesDdsSpacingLocalX15
|
|
29510
29510
|
};
|
|
29511
29511
|
var topContainerBase = {
|
|
29512
|
-
paddingTop: Spacing$
|
|
29512
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX15
|
|
29513
29513
|
};
|
|
29514
29514
|
var topContainerWithClosableBase = {
|
|
29515
|
-
paddingTop: Spacing$
|
|
29515
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX1
|
|
29516
29516
|
};
|
|
29517
29517
|
var containerInfoBase = {
|
|
29518
|
-
borderColor: Colors$
|
|
29519
|
-
backgroundColor: Colors$
|
|
29518
|
+
borderColor: Colors$9.DdsColorInfoLighter,
|
|
29519
|
+
backgroundColor: Colors$9.DdsColorInfoLightest
|
|
29520
29520
|
};
|
|
29521
29521
|
var containerDangerBase = {
|
|
29522
|
-
borderColor: Colors$
|
|
29523
|
-
backgroundColor: Colors$
|
|
29522
|
+
borderColor: Colors$9.DdsColorDangerLighter,
|
|
29523
|
+
backgroundColor: Colors$9.DdsColorDangerLightest
|
|
29524
29524
|
};
|
|
29525
29525
|
var containerWarningBase = {
|
|
29526
|
-
borderColor: Colors$
|
|
29527
|
-
backgroundColor: Colors$
|
|
29526
|
+
borderColor: Colors$9.DdsColorWarningLighter,
|
|
29527
|
+
backgroundColor: Colors$9.DdsColorWarningLightest
|
|
29528
29528
|
};
|
|
29529
29529
|
var containerSuccessBase = {
|
|
29530
|
-
borderColor: Colors$
|
|
29531
|
-
backgroundColor: Colors$
|
|
29530
|
+
borderColor: Colors$9.DdsColorSuccessLighter,
|
|
29531
|
+
backgroundColor: Colors$9.DdsColorSuccessLightest
|
|
29532
29532
|
};
|
|
29533
29533
|
var containerTipsBase = {
|
|
29534
|
-
borderColor: Colors$
|
|
29535
|
-
backgroundColor: Colors$
|
|
29534
|
+
borderColor: Colors$9.DdsColorPrimaryLighter,
|
|
29535
|
+
backgroundColor: Colors$9.DdsColorPrimaryLightest
|
|
29536
29536
|
};
|
|
29537
29537
|
var containerConfidentialBase = {
|
|
29538
|
-
borderColor: Colors$
|
|
29539
|
-
backgroundColor: Colors$
|
|
29538
|
+
borderColor: Colors$9.DdsColorDangerBase,
|
|
29539
|
+
backgroundColor: Colors$9.DdsColorDangerLightest
|
|
29540
29540
|
};
|
|
29541
29541
|
var localMessageTokens = {
|
|
29542
29542
|
container: {
|
|
@@ -29577,30 +29577,30 @@ var localMessageTokens = {
|
|
|
29577
29577
|
}
|
|
29578
29578
|
},
|
|
29579
29579
|
icon: {
|
|
29580
|
-
marginRight: "" + Spacing$
|
|
29580
|
+
marginRight: "" + Spacing$d.SizesDdsSpacingLocalX075,
|
|
29581
29581
|
info: {
|
|
29582
29582
|
icon: InfoOutlinedIcon,
|
|
29583
|
-
color: Colors$
|
|
29583
|
+
color: Colors$9.DdsColorInfoDarkest
|
|
29584
29584
|
},
|
|
29585
29585
|
danger: {
|
|
29586
29586
|
icon: DangerOutlinedIcon,
|
|
29587
|
-
color: Colors$
|
|
29587
|
+
color: Colors$9.DdsColorDangerDarkest
|
|
29588
29588
|
},
|
|
29589
29589
|
warning: {
|
|
29590
29590
|
icon: WarningOutlinedIcon,
|
|
29591
|
-
color: Colors$
|
|
29591
|
+
color: Colors$9.DdsColorWarningDarkest
|
|
29592
29592
|
},
|
|
29593
29593
|
success: {
|
|
29594
29594
|
icon: CheckCircleOutlinedIcon,
|
|
29595
|
-
color: Colors$
|
|
29595
|
+
color: Colors$9.DdsColorSuccessDarkest
|
|
29596
29596
|
},
|
|
29597
29597
|
tips: {
|
|
29598
29598
|
icon: EmojiObjectsOutlinedIcon,
|
|
29599
|
-
color: Colors$
|
|
29599
|
+
color: Colors$9.DdsColorPrimaryDarkest
|
|
29600
29600
|
},
|
|
29601
29601
|
confidential: {
|
|
29602
29602
|
icon: DangerOutlinedIcon,
|
|
29603
|
-
color: Colors$
|
|
29603
|
+
color: Colors$9.DdsColorDangerDarkest
|
|
29604
29604
|
}
|
|
29605
29605
|
},
|
|
29606
29606
|
button: {
|
|
@@ -29628,15 +29628,15 @@ var localMessageTokens = {
|
|
|
29628
29628
|
var Container$3 = styled.div.withConfig({
|
|
29629
29629
|
displayName: "LocalMessage__Container",
|
|
29630
29630
|
componentId: "sc-kmfp8w-0"
|
|
29631
|
-
})(templateObject_3$
|
|
29631
|
+
})(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n box-sizing: border-box;\n ", ";\n *::selection {\n ", "\n }\n ", "\n width: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n box-sizing: border-box;\n ", ";\n *::selection {\n ", "\n }\n ", "\n width: ", ";\n"])), function (_a) {
|
|
29632
29632
|
var layout = _a.layout;
|
|
29633
29633
|
return layout === 'vertical' ? 'column' : 'row';
|
|
29634
29634
|
}, function (_a) {
|
|
29635
29635
|
var layout = _a.layout;
|
|
29636
|
-
return layout === 'horisontal' && Ae(templateObject_1$
|
|
29636
|
+
return layout === 'horisontal' && Ae(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
|
|
29637
29637
|
}, typographyTokens.selection.base, function (_a) {
|
|
29638
29638
|
var purpose = _a.purpose;
|
|
29639
|
-
return purpose && Ae(templateObject_2$
|
|
29639
|
+
return purpose && Ae(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
|
|
29640
29640
|
}, function (_a) {
|
|
29641
29641
|
var width = _a.width;
|
|
29642
29642
|
return width;
|
|
@@ -29644,23 +29644,23 @@ var Container$3 = styled.div.withConfig({
|
|
|
29644
29644
|
var MessageIconWrapper = styled(IconWrapper$1).withConfig({
|
|
29645
29645
|
displayName: "LocalMessage__MessageIconWrapper",
|
|
29646
29646
|
componentId: "sc-kmfp8w-1"
|
|
29647
|
-
})(templateObject_4$
|
|
29647
|
+
})(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n margin-right: ", ";\n"], ["\n margin-right: ", ";\n"])), localMessageTokens.icon.marginRight);
|
|
29648
29648
|
var ContentContainer = styled.div.withConfig({
|
|
29649
29649
|
displayName: "LocalMessage__ContentContainer",
|
|
29650
29650
|
componentId: "sc-kmfp8w-2"
|
|
29651
|
-
})(templateObject_7$
|
|
29651
|
+
})(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n ", "\n ", "\n"], ["\n display: flex;\n align-items: center;\n ", "\n ", "\n ", "\n"])), localMessageTokens.contentContainer.base, function (_a) {
|
|
29652
29652
|
var layout = _a.layout;
|
|
29653
|
-
return layout === 'vertical' ? Ae(templateObject_5$
|
|
29653
|
+
return layout === 'vertical' ? Ae(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.vertical.base) : '';
|
|
29654
29654
|
}, function (_a) {
|
|
29655
29655
|
var closable = _a.closable;
|
|
29656
|
-
return closable && Ae(templateObject_6$
|
|
29656
|
+
return closable && Ae(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.contentContainer.withClosable.base);
|
|
29657
29657
|
});
|
|
29658
29658
|
var TopContainer = styled.div.withConfig({
|
|
29659
29659
|
displayName: "LocalMessage__TopContainer",
|
|
29660
29660
|
componentId: "sc-kmfp8w-3"
|
|
29661
|
-
})(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n ", "\n"], ["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n ", "\n"])), localMessageTokens.topContainer.base, function (_a) {
|
|
29661
|
+
})(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n ", "\n"], ["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n ", "\n"])), localMessageTokens.topContainer.base, function (_a) {
|
|
29662
29662
|
var closable = _a.closable;
|
|
29663
|
-
return closable && Ae(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.topContainer.withClosable.base);
|
|
29663
|
+
return closable && Ae(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), localMessageTokens.topContainer.withClosable.base);
|
|
29664
29664
|
});
|
|
29665
29665
|
var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29666
29666
|
var message = _a.message,
|
|
@@ -29731,7 +29731,7 @@ var LocalMessage = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29731
29731
|
}, void 0)
|
|
29732
29732
|
}), void 0) : null;
|
|
29733
29733
|
});
|
|
29734
|
-
var templateObject_1$
|
|
29734
|
+
var templateObject_1$o, templateObject_2$h, templateObject_3$b, templateObject_4$9, templateObject_5$6, templateObject_6$5, templateObject_7$4, templateObject_8$1, templateObject_9$1;
|
|
29735
29735
|
|
|
29736
29736
|
var SearchOutlined = createCommonjsModule(function (module, exports) {
|
|
29737
29737
|
|
|
@@ -29757,26 +29757,26 @@ exports.default = _default;
|
|
|
29757
29757
|
|
|
29758
29758
|
var SearchOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(SearchOutlined);
|
|
29759
29759
|
|
|
29760
|
-
var Spacing$
|
|
29761
|
-
FontPackages$
|
|
29760
|
+
var Spacing$c = ddsBaseTokens.spacing,
|
|
29761
|
+
FontPackages$9 = ddsBaseTokens.fontPackages;
|
|
29762
29762
|
var textDefault$5 = ddsReferenceTokens.textDefault;
|
|
29763
29763
|
var inputBase = {
|
|
29764
|
-
paddingRight: Spacing$
|
|
29764
|
+
paddingRight: Spacing$c.SizesDdsSpacingLocalX05
|
|
29765
29765
|
};
|
|
29766
29766
|
|
|
29767
|
-
var smallBase$1 = __assign(__assign({}, FontPackages$
|
|
29768
|
-
paddingTop: Spacing$
|
|
29769
|
-
paddingBottom: Spacing$
|
|
29767
|
+
var smallBase$1 = __assign(__assign({}, FontPackages$9.supportingStyle_inputtext_01.base), {
|
|
29768
|
+
paddingTop: Spacing$c.SizesDdsSpacingLocalX05,
|
|
29769
|
+
paddingBottom: Spacing$c.SizesDdsSpacingLocalX05
|
|
29770
29770
|
});
|
|
29771
29771
|
|
|
29772
|
-
var mediumBase = __assign(__assign({}, FontPackages$
|
|
29773
|
-
paddingTop: Spacing$
|
|
29774
|
-
paddingBottom: Spacing$
|
|
29772
|
+
var mediumBase = __assign(__assign({}, FontPackages$9.supportingStyle_inputtext_02.base), {
|
|
29773
|
+
paddingTop: Spacing$c.SizesDdsSpacingLocalX075,
|
|
29774
|
+
paddingBottom: Spacing$c.SizesDdsSpacingLocalX075
|
|
29775
29775
|
});
|
|
29776
29776
|
|
|
29777
|
-
var largeBase = __assign(__assign({}, FontPackages$
|
|
29778
|
-
paddingTop: Spacing$
|
|
29779
|
-
paddingBottom: Spacing$
|
|
29777
|
+
var largeBase = __assign(__assign({}, FontPackages$9.supportingStyle_inputtext_03.base), {
|
|
29778
|
+
paddingTop: Spacing$c.SizesDdsSpacingLocalX1,
|
|
29779
|
+
paddingBottom: Spacing$c.SizesDdsSpacingLocalX1
|
|
29780
29780
|
});
|
|
29781
29781
|
|
|
29782
29782
|
var iconWrapperBase = {
|
|
@@ -29785,7 +29785,7 @@ var iconWrapperBase = {
|
|
|
29785
29785
|
var searchTokens = {
|
|
29786
29786
|
input: {
|
|
29787
29787
|
base: inputBase,
|
|
29788
|
-
spaceLeft: Spacing$
|
|
29788
|
+
spaceLeft: Spacing$c.SizesDdsSpacingLocalX3,
|
|
29789
29789
|
small: {
|
|
29790
29790
|
base: smallBase$1
|
|
29791
29791
|
},
|
|
@@ -29797,44 +29797,44 @@ var searchTokens = {
|
|
|
29797
29797
|
}
|
|
29798
29798
|
},
|
|
29799
29799
|
icon: {
|
|
29800
|
-
spaceTop: "calc(50% - " + Spacing$
|
|
29801
|
-
spaceLeft: Spacing$
|
|
29800
|
+
spaceTop: "calc(50% - " + Spacing$c.SizesDdsSpacingLocalX15NumberPx / 2 + "px)",
|
|
29801
|
+
spaceLeft: Spacing$c.SizesDdsSpacingLocalX075
|
|
29802
29802
|
},
|
|
29803
29803
|
iconWrapper: {
|
|
29804
29804
|
base: iconWrapperBase
|
|
29805
29805
|
},
|
|
29806
29806
|
buttonWrapper: {
|
|
29807
|
-
spaceLeft: Spacing$
|
|
29807
|
+
spaceLeft: Spacing$c.SizesDdsSpacingLocalX05
|
|
29808
29808
|
}
|
|
29809
29809
|
};
|
|
29810
29810
|
|
|
29811
29811
|
var Input = styled.input.withConfig({
|
|
29812
29812
|
displayName: "Search__Input",
|
|
29813
29813
|
componentId: "sc-1ax3s9s-0"
|
|
29814
|
-
})(templateObject_2$
|
|
29814
|
+
})(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"], ["\n &[type='search']::-webkit-search-decoration,\n &[type='search']::-webkit-search-cancel-button,\n &[type='search']::-webkit-search-results-button,\n &[type='search']::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n ", "\n ", "\n\n ", "\n\n padding-left: ", ";\n"])), inputFieldStylingBase, searchTokens.input.base, function (_a) {
|
|
29815
29815
|
var componentSize = _a.componentSize;
|
|
29816
|
-
return componentSize && Ae(templateObject_1$
|
|
29816
|
+
return componentSize && Ae(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
|
|
29817
29817
|
}, searchTokens.input.spaceLeft);
|
|
29818
29818
|
var IconWrapper = styled.span.withConfig({
|
|
29819
29819
|
displayName: "Search__IconWrapper",
|
|
29820
29820
|
componentId: "sc-1ax3s9s-1"
|
|
29821
|
-
})(templateObject_3$
|
|
29821
|
+
})(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n ", "\n position: absolute;\n top: ", ";\n left: ", ";\n"], ["\n ", "\n position: absolute;\n top: ", ";\n left: ", ";\n"])), searchTokens.iconWrapper.base, searchTokens.icon.spaceTop, searchTokens.icon.spaceLeft);
|
|
29822
29822
|
var Container$2 = styled.div.withConfig({
|
|
29823
29823
|
displayName: "Search__Container",
|
|
29824
29824
|
componentId: "sc-1ax3s9s-2"
|
|
29825
|
-
})(templateObject_4$
|
|
29825
|
+
})(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n"], ["\n display: flex;\n flex-direction: row;\n"])));
|
|
29826
29826
|
var InputContainer = styled.div.withConfig({
|
|
29827
29827
|
displayName: "Search__InputContainer",
|
|
29828
29828
|
componentId: "sc-1ax3s9s-3"
|
|
29829
|
-
})(templateObject_5$
|
|
29829
|
+
})(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n width: 100%;\n display: flex;\n flex-direction: column;\n"], ["\n width: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
29830
29830
|
var InputWrapper = styled.div.withConfig({
|
|
29831
29831
|
displayName: "Search__InputWrapper",
|
|
29832
29832
|
componentId: "sc-1ax3s9s-4"
|
|
29833
|
-
})(templateObject_6$
|
|
29833
|
+
})(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
|
29834
29834
|
var ButtonWrapper = styled.div.withConfig({
|
|
29835
29835
|
displayName: "Search__ButtonWrapper",
|
|
29836
29836
|
componentId: "sc-1ax3s9s-5"
|
|
29837
|
-
})(templateObject_7$
|
|
29837
|
+
})(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject(["\n margin-left: ", ";\n"], ["\n margin-left: ", ";\n"])), searchTokens.buttonWrapper.spaceLeft);
|
|
29838
29838
|
var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29839
29839
|
var _b = _a.componentSize,
|
|
29840
29840
|
componentSize = _b === void 0 ? 'medium' : _b,
|
|
@@ -29882,26 +29882,26 @@ var Search = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29882
29882
|
}, void 0)]
|
|
29883
29883
|
}), void 0);
|
|
29884
29884
|
});
|
|
29885
|
-
var templateObject_1$
|
|
29885
|
+
var templateObject_1$n, templateObject_2$g, templateObject_3$a, templateObject_4$8, templateObject_5$5, templateObject_6$4, templateObject_7$3;
|
|
29886
29886
|
|
|
29887
|
-
var Colors$
|
|
29888
|
-
Spacing$
|
|
29887
|
+
var Colors$8 = ddsBaseTokens.colors,
|
|
29888
|
+
Spacing$b = ddsBaseTokens.spacing;
|
|
29889
29889
|
var cellBase = {};
|
|
29890
29890
|
var compactCellBase = {
|
|
29891
|
-
padding: "" + Spacing$
|
|
29891
|
+
padding: "" + Spacing$b.SizesDdsSpacingLocalX075
|
|
29892
29892
|
};
|
|
29893
29893
|
var headBase = {
|
|
29894
|
-
backgroundColor: Colors$
|
|
29894
|
+
backgroundColor: Colors$8.DdsColorPrimaryLightest
|
|
29895
29895
|
};
|
|
29896
29896
|
var dataBase = {};
|
|
29897
29897
|
var normalCellBase = {
|
|
29898
|
-
padding: Spacing$
|
|
29898
|
+
padding: Spacing$b.SizesDdsSpacingLocalX15 + " " + Spacing$b.SizesDdsSpacingLocalX075
|
|
29899
29899
|
};
|
|
29900
29900
|
var sortCellIconBase = {
|
|
29901
|
-
marginInlineStart: Spacing$
|
|
29901
|
+
marginInlineStart: Spacing$b.SizesDdsSpacingLocalX05
|
|
29902
29902
|
};
|
|
29903
29903
|
var textAndIconBase = {
|
|
29904
|
-
marginRight: Spacing$
|
|
29904
|
+
marginRight: Spacing$b.SizesDdsSpacingLocalX075
|
|
29905
29905
|
};
|
|
29906
29906
|
var cellTokens = {
|
|
29907
29907
|
base: cellBase,
|
|
@@ -29934,12 +29934,12 @@ var cellTokens = {
|
|
|
29934
29934
|
var StyledTable = styled.table.withConfig({
|
|
29935
29935
|
displayName: "Table__StyledTable",
|
|
29936
29936
|
componentId: "sc-bw0w0a-0"
|
|
29937
|
-
})(templateObject_3$
|
|
29937
|
+
})(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"], ["\n border-spacing: 0;\n border-collapse: collapse;\n *::selection {\n ", "\n }\n ", "\n ", "\n ", "\n"])), typographyTokens.selection.base, scrollbarStyling, function (_a) {
|
|
29938
29938
|
var density = _a.density;
|
|
29939
|
-
return density && Ae(templateObject_1$
|
|
29939
|
+
return density && Ae(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
|
|
29940
29940
|
}, function (_a) {
|
|
29941
29941
|
var stickyHeader = _a.stickyHeader;
|
|
29942
|
-
return stickyHeader && Ae(templateObject_2$
|
|
29942
|
+
return stickyHeader && Ae(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "], ["\n tr[type='head'] {\n th[type='head'] {\n position: sticky;\n top: 0;\n }\n }\n "])));
|
|
29943
29943
|
});
|
|
29944
29944
|
var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29945
29945
|
var _b = _a.density,
|
|
@@ -29956,12 +29956,12 @@ var Table = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29956
29956
|
children: children
|
|
29957
29957
|
}), void 0);
|
|
29958
29958
|
});
|
|
29959
|
-
var templateObject_1$
|
|
29959
|
+
var templateObject_1$m, templateObject_2$f, templateObject_3$9;
|
|
29960
29960
|
|
|
29961
29961
|
var StyledBody = styled.tbody.withConfig({
|
|
29962
29962
|
displayName: "Body__StyledBody",
|
|
29963
29963
|
componentId: "sc-67qjfs-0"
|
|
29964
|
-
})(templateObject_1$
|
|
29964
|
+
})(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([""], [""])));
|
|
29965
29965
|
var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29966
29966
|
var children = _a.children,
|
|
29967
29967
|
rest = __rest(_a, ["children"]);
|
|
@@ -29974,12 +29974,12 @@ var Body$1 = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29974
29974
|
children: children
|
|
29975
29975
|
}), void 0);
|
|
29976
29976
|
});
|
|
29977
|
-
var templateObject_1$
|
|
29977
|
+
var templateObject_1$l;
|
|
29978
29978
|
|
|
29979
29979
|
var StyledHead = styled.thead.withConfig({
|
|
29980
29980
|
displayName: "Head__StyledHead",
|
|
29981
29981
|
componentId: "sc-vzd2kv-0"
|
|
29982
|
-
})(templateObject_1$
|
|
29982
|
+
})(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([""], [""])));
|
|
29983
29983
|
var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
29984
29984
|
var children = _a.children,
|
|
29985
29985
|
rest = __rest(_a, ["children"]);
|
|
@@ -29992,42 +29992,42 @@ var Head = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29992
29992
|
children: children
|
|
29993
29993
|
}), void 0);
|
|
29994
29994
|
});
|
|
29995
|
-
var templateObject_1$
|
|
29995
|
+
var templateObject_1$k;
|
|
29996
29996
|
|
|
29997
|
-
var Colors$
|
|
29998
|
-
FontPackages$
|
|
29999
|
-
Border$
|
|
29997
|
+
var Colors$7 = ddsBaseTokens.colors,
|
|
29998
|
+
FontPackages$8 = ddsBaseTokens.fontPackages,
|
|
29999
|
+
Border$3 = ddsBaseTokens.border;
|
|
30000
30000
|
var textDefault$4 = ddsReferenceTokens.textDefault;
|
|
30001
30001
|
|
|
30002
30002
|
var bodyRowBase = __assign({
|
|
30003
30003
|
color: textDefault$4.textColor
|
|
30004
|
-
}, FontPackages$
|
|
30004
|
+
}, FontPackages$8.body_sans_02.base);
|
|
30005
30005
|
|
|
30006
30006
|
var headRowBase = __assign(__assign({
|
|
30007
30007
|
color: textDefault$4.textColor
|
|
30008
|
-
}, FontPackages$
|
|
30008
|
+
}, FontPackages$8.body_sans_02.base), {
|
|
30009
30009
|
fontWeight: 600,
|
|
30010
30010
|
textAlign: 'left'
|
|
30011
30011
|
});
|
|
30012
30012
|
|
|
30013
30013
|
var bodyOddBase = {
|
|
30014
|
-
backgroundColor: Colors$
|
|
30014
|
+
backgroundColor: Colors$7.DdsColorNeutralsWhite
|
|
30015
30015
|
};
|
|
30016
30016
|
var bodyEvenBase = {
|
|
30017
|
-
backgroundColor: Colors$
|
|
30017
|
+
backgroundColor: Colors$7.DdsColorNeutralsGray1
|
|
30018
30018
|
};
|
|
30019
30019
|
var bodySelectedBase = {
|
|
30020
|
-
backgroundColor: Colors$
|
|
30020
|
+
backgroundColor: Colors$7.DdsColorSecondaryLightest
|
|
30021
30021
|
};
|
|
30022
30022
|
var bodyHoverBase = {
|
|
30023
|
-
backgroundColor: Colors$
|
|
30023
|
+
backgroundColor: Colors$7.DdsColorSecondaryLightest
|
|
30024
30024
|
};
|
|
30025
30025
|
|
|
30026
|
-
var bodySumBase = __assign(__assign({}, FontPackages$
|
|
30026
|
+
var bodySumBase = __assign(__assign({}, FontPackages$8.body_sans_02.base), {
|
|
30027
30027
|
fontWeight: 600,
|
|
30028
|
-
borderTop: Border$
|
|
30029
|
-
borderBottom: Border$
|
|
30030
|
-
backgroundColor: Colors$
|
|
30028
|
+
borderTop: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$7.DdsColorNeutralsGray4,
|
|
30029
|
+
borderBottom: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$7.DdsColorNeutralsGray4,
|
|
30030
|
+
backgroundColor: Colors$7.DdsColorNeutralsWhite
|
|
30031
30031
|
});
|
|
30032
30032
|
|
|
30033
30033
|
var rowTokens = {
|
|
@@ -30060,21 +30060,21 @@ var rowTokens = {
|
|
|
30060
30060
|
};
|
|
30061
30061
|
|
|
30062
30062
|
var bodyStyles = function bodyStyles(mode, selected) {
|
|
30063
|
-
return Ae(templateObject_3$
|
|
30063
|
+
return Ae(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
|
|
30064
30064
|
};
|
|
30065
30065
|
|
|
30066
30066
|
var StyledRow = styled.tr.withConfig({
|
|
30067
30067
|
displayName: "Row__StyledRow",
|
|
30068
30068
|
componentId: "sc-15vvjkk-0"
|
|
30069
|
-
})(templateObject_7$
|
|
30069
|
+
})(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n transition: background-color 0.2s;\n\n ", "\n\n ", "\n"], ["\n transition: background-color 0.2s;\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
30070
30070
|
var type = _a.type;
|
|
30071
|
-
return type && Ae(templateObject_4$
|
|
30071
|
+
return type && Ae(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens[type].base);
|
|
30072
30072
|
}, function (_a) {
|
|
30073
30073
|
var type = _a.type,
|
|
30074
30074
|
mode = _a.mode,
|
|
30075
30075
|
selected = _a.selected,
|
|
30076
30076
|
hoverable = _a.hoverable;
|
|
30077
|
-
return type === 'body' && Ae(templateObject_6$
|
|
30077
|
+
return type === 'body' && Ae(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\n &:nth-of-type(even) {\n ", "\n ", "\n }\n\n &:nth-of-type(odd) {\n ", "\n ", "\n }\n\n ", "\n "], ["\n &:nth-of-type(even) {\n ", "\n ", "\n }\n\n &:nth-of-type(odd) {\n ", "\n ", "\n }\n\n ", "\n "])), rowTokens.body.even.base, bodyStyles(mode, selected), rowTokens.body.odd.base, bodyStyles(mode, selected), hoverable && Ae(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n &:hover {\n ", "\n }\n "], ["\n &:hover {\n ", "\n }\n "])), rowTokens.body.hover.base));
|
|
30078
30078
|
});
|
|
30079
30079
|
var Row = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30080
30080
|
var _b = _a.type,
|
|
@@ -30095,18 +30095,18 @@ var Row = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30095
30095
|
children: children
|
|
30096
30096
|
}), void 0);
|
|
30097
30097
|
});
|
|
30098
|
-
var templateObject_1$
|
|
30098
|
+
var templateObject_1$j, templateObject_2$e, templateObject_3$8, templateObject_4$7, templateObject_5$4, templateObject_6$3, templateObject_7$2;
|
|
30099
30099
|
|
|
30100
30100
|
var layoutStyle = function layoutStyle(layout) {
|
|
30101
30101
|
switch (layout) {
|
|
30102
30102
|
case 'center':
|
|
30103
|
-
return Ae(templateObject_1$
|
|
30103
|
+
return Ae(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
|
|
30104
30104
|
|
|
30105
30105
|
case 'right':
|
|
30106
|
-
return Ae(templateObject_2$
|
|
30106
|
+
return Ae(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
|
|
30107
30107
|
|
|
30108
30108
|
case 'text and icon':
|
|
30109
|
-
return Ae(templateObject_3$
|
|
30109
|
+
return Ae(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n & > *:first-child {\n ", "\n }\n "], ["\n & > *:first-child {\n ", "\n }\n "])), cellTokens.data.layout.textAndIcon.base);
|
|
30110
30110
|
|
|
30111
30111
|
default:
|
|
30112
30112
|
case 'left':
|
|
@@ -30114,17 +30114,17 @@ var layoutStyle = function layoutStyle(layout) {
|
|
|
30114
30114
|
}
|
|
30115
30115
|
};
|
|
30116
30116
|
|
|
30117
|
-
var StyledCell
|
|
30117
|
+
var StyledCell = styled.td.withConfig({
|
|
30118
30118
|
displayName: "Cell__StyledCell",
|
|
30119
30119
|
componentId: "sc-ghfpfs-0"
|
|
30120
|
-
})(templateObject_5$
|
|
30120
|
+
})(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), cellTokens.base, function (_a) {
|
|
30121
30121
|
var type = _a.type;
|
|
30122
|
-
return type && Ae(templateObject_4$
|
|
30122
|
+
return type && Ae(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cellTokens[type].base);
|
|
30123
30123
|
});
|
|
30124
30124
|
var InnerCell = styled.div.withConfig({
|
|
30125
30125
|
displayName: "Cell__InnerCell",
|
|
30126
30126
|
componentId: "sc-ghfpfs-1"
|
|
30127
|
-
})(templateObject_6$
|
|
30127
|
+
})(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n"], ["\n display: flex;\n align-items: center;\n ", "\n"])), function (_a) {
|
|
30128
30128
|
var layout = _a.layout;
|
|
30129
30129
|
return layoutStyle(layout);
|
|
30130
30130
|
});
|
|
@@ -30158,7 +30158,7 @@ var Cell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30158
30158
|
var innerCellProps = {
|
|
30159
30159
|
layout: layout
|
|
30160
30160
|
};
|
|
30161
|
-
return jsxRuntime.jsx(StyledCell
|
|
30161
|
+
return jsxRuntime.jsx(StyledCell, __assign({
|
|
30162
30162
|
ref: ref
|
|
30163
30163
|
}, cellProps, {
|
|
30164
30164
|
children: jsxRuntime.jsx(InnerCell, __assign({}, innerCellProps, {
|
|
@@ -30166,7 +30166,7 @@ var Cell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30166
30166
|
}), void 0)
|
|
30167
30167
|
}), void 0);
|
|
30168
30168
|
});
|
|
30169
|
-
var templateObject_1$
|
|
30169
|
+
var templateObject_1$i, templateObject_2$d, templateObject_3$7, templateObject_4$6, templateObject_5$3, templateObject_6$2;
|
|
30170
30170
|
|
|
30171
30171
|
var KeyboardArrowDown = createCommonjsModule(function (module, exports) {
|
|
30172
30172
|
|
|
@@ -30243,16 +30243,17 @@ var UnfoldMoreIcon = /*@__PURE__*/getDefaultExportFromCjs(UnfoldMore);
|
|
|
30243
30243
|
var SortIconWrapper = styled(IconWrapper$1).withConfig({
|
|
30244
30244
|
displayName: "SortCell__SortIconWrapper",
|
|
30245
30245
|
componentId: "sc-1l3jzvh-0"
|
|
30246
|
-
})(templateObject_1$
|
|
30247
|
-
var
|
|
30248
|
-
displayName: "
|
|
30246
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
|
|
30247
|
+
var StyledButton = styled.button.withConfig({
|
|
30248
|
+
displayName: "SortCell__StyledButton",
|
|
30249
30249
|
componentId: "sc-1l3jzvh-1"
|
|
30250
|
-
})(templateObject_2$
|
|
30250
|
+
})(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n"], ["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n"])));
|
|
30251
30251
|
var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30252
30252
|
var isSorted = _a.isSorted,
|
|
30253
30253
|
sortOrder = _a.sortOrder,
|
|
30254
|
+
onClick = _a.onClick,
|
|
30254
30255
|
children = _a.children,
|
|
30255
|
-
rest = __rest(_a, ["isSorted", "sortOrder", "children"]);
|
|
30256
|
+
rest = __rest(_a, ["isSorted", "sortOrder", "onClick", "children"]);
|
|
30256
30257
|
|
|
30257
30258
|
var IconRenderer = function IconRenderer(isSorted, sortOrder) {
|
|
30258
30259
|
var Wrapper = function Wrapper(Icon) {
|
|
@@ -30265,19 +30266,24 @@ var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30265
30266
|
return !isSorted ? Wrapper(UnfoldMoreIcon) : sortOrder === 'ascending' ? Wrapper(KeyboardArrowDownIcon) : sortOrder === 'descending' ? Wrapper(KeyboardArrowUpIcon) : '';
|
|
30266
30267
|
};
|
|
30267
30268
|
|
|
30268
|
-
return jsxRuntime.
|
|
30269
|
+
return jsxRuntime.jsx(Cell, __assign({
|
|
30269
30270
|
ref: ref,
|
|
30270
|
-
type: "head"
|
|
30271
|
+
type: "head",
|
|
30272
|
+
"aria-sort": sortOrder !== 'none' ? sortOrder : undefined
|
|
30271
30273
|
}, rest, {
|
|
30272
|
-
children:
|
|
30274
|
+
children: jsxRuntime.jsxs(StyledButton, __assign({
|
|
30275
|
+
onClick: onClick
|
|
30276
|
+
}, {
|
|
30277
|
+
children: [children, " ", IconRenderer(isSorted, sortOrder)]
|
|
30278
|
+
}), void 0)
|
|
30273
30279
|
}), void 0);
|
|
30274
30280
|
});
|
|
30275
|
-
var templateObject_1$
|
|
30281
|
+
var templateObject_1$h, templateObject_2$c;
|
|
30276
30282
|
|
|
30277
30283
|
var StyledFoot = styled.tfoot.withConfig({
|
|
30278
30284
|
displayName: "Foot__StyledFoot",
|
|
30279
30285
|
componentId: "sc-tfpehd-0"
|
|
30280
|
-
})(templateObject_1$
|
|
30286
|
+
})(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([""], [""])));
|
|
30281
30287
|
var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30282
30288
|
var children = _a.children,
|
|
30283
30289
|
rest = __rest(_a, ["children"]);
|
|
@@ -30290,14 +30296,14 @@ var Foot = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30290
30296
|
children: children
|
|
30291
30297
|
}), void 0);
|
|
30292
30298
|
});
|
|
30293
|
-
var templateObject_1$
|
|
30299
|
+
var templateObject_1$g;
|
|
30294
30300
|
|
|
30295
|
-
var Wrapper$
|
|
30301
|
+
var Wrapper$2 = styled.div.withConfig({
|
|
30296
30302
|
displayName: "TableWrapper__Wrapper",
|
|
30297
30303
|
componentId: "sc-eb384b-0"
|
|
30298
|
-
})(templateObject_2$
|
|
30304
|
+
})(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
30299
30305
|
var overflowX = _a.overflowX;
|
|
30300
|
-
return overflowX && Ae(templateObject_1$
|
|
30306
|
+
return overflowX && Ae(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
|
|
30301
30307
|
}, scrollbarStyling);
|
|
30302
30308
|
var TableWrapper = function TableWrapper(_a) {
|
|
30303
30309
|
var children = _a.children,
|
|
@@ -30340,11 +30346,11 @@ var TableWrapper = function TableWrapper(_a) {
|
|
|
30340
30346
|
overflowX: overflowX
|
|
30341
30347
|
}, rest);
|
|
30342
30348
|
|
|
30343
|
-
return jsxRuntime.jsx(Wrapper$
|
|
30349
|
+
return jsxRuntime.jsx(Wrapper$2, __assign({}, wrapperProps, {
|
|
30344
30350
|
children: children
|
|
30345
30351
|
}), void 0);
|
|
30346
30352
|
};
|
|
30347
|
-
var templateObject_1$
|
|
30353
|
+
var templateObject_1$f, templateObject_2$b;
|
|
30348
30354
|
|
|
30349
30355
|
var Breadcrumb = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30350
30356
|
var children = _a.children,
|
|
@@ -30413,23 +30419,23 @@ exports.default = _default;
|
|
|
30413
30419
|
|
|
30414
30420
|
var ArrowBackOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ArrowBackOutlined);
|
|
30415
30421
|
|
|
30416
|
-
var Colors$
|
|
30417
|
-
Spacing$
|
|
30418
|
-
FontPackages$
|
|
30419
|
-
var iconBase$
|
|
30420
|
-
color: Colors$
|
|
30421
|
-
marginLeft: Spacing$
|
|
30422
|
-
marginRight: Spacing$
|
|
30422
|
+
var Colors$6 = ddsBaseTokens.colors,
|
|
30423
|
+
Spacing$a = ddsBaseTokens.spacing,
|
|
30424
|
+
FontPackages$7 = ddsBaseTokens.fontPackages;
|
|
30425
|
+
var iconBase$2 = {
|
|
30426
|
+
color: Colors$6.DdsColorInteractiveBase,
|
|
30427
|
+
marginLeft: Spacing$a.SizesDdsSpacingLocalX05,
|
|
30428
|
+
marginRight: Spacing$a.SizesDdsSpacingLocalX05
|
|
30423
30429
|
};
|
|
30424
30430
|
|
|
30425
|
-
var breadcrumbBase = __assign({}, FontPackages$
|
|
30431
|
+
var breadcrumbBase = __assign({}, FontPackages$7.body_sans_02.base);
|
|
30426
30432
|
|
|
30427
30433
|
var breadcrumbTokens = {
|
|
30428
30434
|
breadcrumb: {
|
|
30429
30435
|
base: breadcrumbBase
|
|
30430
30436
|
},
|
|
30431
30437
|
icon: {
|
|
30432
|
-
base: iconBase$
|
|
30438
|
+
base: iconBase$2,
|
|
30433
30439
|
size: 'small'
|
|
30434
30440
|
}
|
|
30435
30441
|
};
|
|
@@ -30437,19 +30443,19 @@ var breadcrumbTokens = {
|
|
|
30437
30443
|
var List$2 = styled.ol.withConfig({
|
|
30438
30444
|
displayName: "Breadcrumbs__List",
|
|
30439
30445
|
componentId: "sc-xdj21o-0"
|
|
30440
|
-
})(templateObject_1$
|
|
30446
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"], ["\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n"])));
|
|
30441
30447
|
var ListItem$2 = styled.li.withConfig({
|
|
30442
30448
|
displayName: "Breadcrumbs__ListItem",
|
|
30443
30449
|
componentId: "sc-xdj21o-1"
|
|
30444
|
-
})(templateObject_2$
|
|
30450
|
+
})(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
|
|
30445
30451
|
var BreadcrumbIcon = styled(ChevronRightOutlinedIcon).withConfig({
|
|
30446
30452
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
30447
30453
|
componentId: "sc-xdj21o-2"
|
|
30448
|
-
})(templateObject_3$
|
|
30454
|
+
})(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), breadcrumbTokens.icon.base);
|
|
30449
30455
|
var BackIcon = styled(ArrowBackOutlinedIcon).withConfig({
|
|
30450
30456
|
displayName: "Breadcrumbs__BackIcon",
|
|
30451
30457
|
componentId: "sc-xdj21o-3"
|
|
30452
|
-
})(templateObject_4$
|
|
30458
|
+
})(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), breadcrumbTokens.icon.base);
|
|
30453
30459
|
var Breadcrumbs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30454
30460
|
var smallScreen = _a.smallScreen,
|
|
30455
30461
|
children = _a.children,
|
|
@@ -30481,7 +30487,7 @@ var Breadcrumbs = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30481
30487
|
}, void 0)
|
|
30482
30488
|
}), void 0);
|
|
30483
30489
|
});
|
|
30484
|
-
var templateObject_1$
|
|
30490
|
+
var templateObject_1$e, templateObject_2$a, templateObject_3$6, templateObject_4$5;
|
|
30485
30491
|
|
|
30486
30492
|
var ChevronLeftOutlined = createCommonjsModule(function (module, exports) {
|
|
30487
30493
|
|
|
@@ -30618,49 +30624,49 @@ function PaginationGenerator(pagesAmount, activePage) {
|
|
|
30618
30624
|
return arrayRange(1, pagesAmount);
|
|
30619
30625
|
}
|
|
30620
30626
|
|
|
30621
|
-
var Spacing$
|
|
30622
|
-
Colors$
|
|
30627
|
+
var Spacing$9 = ddsBaseTokens.spacing,
|
|
30628
|
+
Colors$5 = ddsBaseTokens.colors;
|
|
30623
30629
|
var listBase = {
|
|
30624
|
-
color: Colors$
|
|
30630
|
+
color: Colors$5.DdsColorNeutralsGray7
|
|
30625
30631
|
};
|
|
30626
30632
|
var paginationTokens = {
|
|
30627
30633
|
container: {
|
|
30628
|
-
spaceBetweenItems: Spacing$
|
|
30634
|
+
spaceBetweenItems: Spacing$9.SizesDdsSpacingLocalX075
|
|
30629
30635
|
},
|
|
30630
30636
|
indicatorsContainer: {
|
|
30631
|
-
spacing: Spacing$
|
|
30637
|
+
spacing: Spacing$9.SizesDdsSpacingLocalX075
|
|
30632
30638
|
},
|
|
30633
30639
|
list: {
|
|
30634
30640
|
base: listBase
|
|
30635
30641
|
},
|
|
30636
30642
|
paginationItem: {
|
|
30637
|
-
spacing: Spacing$
|
|
30643
|
+
spacing: Spacing$9.SizesDdsSpacingLocalX075
|
|
30638
30644
|
}
|
|
30639
30645
|
};
|
|
30640
30646
|
|
|
30641
30647
|
var Nav = styled.nav.withConfig({
|
|
30642
30648
|
displayName: "Pagination__Nav",
|
|
30643
30649
|
componentId: "sc-5ltegq-0"
|
|
30644
|
-
})(templateObject_1$
|
|
30650
|
+
})(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
30645
30651
|
var List$1 = styled.ol.withConfig({
|
|
30646
30652
|
displayName: "Pagination__List",
|
|
30647
30653
|
componentId: "sc-5ltegq-1"
|
|
30648
|
-
})(templateObject_2$
|
|
30654
|
+
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: grid;\n grid-auto-flow: column;\n gap: ", ";\n ", "\n margin: 0;\n padding: 0;\n"], ["\n display: grid;\n grid-auto-flow: column;\n gap: ", ";\n ", "\n margin: 0;\n padding: 0;\n"])), paginationTokens.paginationItem.spacing, paginationTokens.list.base);
|
|
30649
30655
|
var ListItem$1 = styled.li.withConfig({
|
|
30650
30656
|
displayName: "Pagination__ListItem",
|
|
30651
30657
|
componentId: "sc-5ltegq-2"
|
|
30652
|
-
})(templateObject_3$
|
|
30658
|
+
})(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n list-style: none;\n display: inline-grid;\n align-content: center;\n"], ["\n list-style: none;\n display: inline-grid;\n align-content: center;\n"])));
|
|
30653
30659
|
var Container$1 = styled.div.withConfig({
|
|
30654
30660
|
displayName: "Pagination__Container",
|
|
30655
30661
|
componentId: "sc-5ltegq-3"
|
|
30656
|
-
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: inline-flex;\n gap: ", ";\n ", "\n"], ["\n display: inline-flex;\n gap: ", ";\n ", "\n"])), paginationTokens.container.spaceBetweenItems, function (_a) {
|
|
30662
|
+
})(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: inline-flex;\n gap: ", ";\n ", "\n"], ["\n display: inline-flex;\n gap: ", ";\n ", "\n"])), paginationTokens.container.spaceBetweenItems, function (_a) {
|
|
30657
30663
|
var smallScreen = _a.smallScreen;
|
|
30658
|
-
return smallScreen ? Ae(templateObject_4$
|
|
30664
|
+
return smallScreen ? Ae(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n flex-direction: column;\n align-items: center;\n "], ["\n flex-direction: column;\n align-items: center;\n "]))) : Ae(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n justify-content: space-between;\n flex-wrap: wrap;\n "], ["\n justify-content: space-between;\n flex-wrap: wrap;\n "])));
|
|
30659
30665
|
});
|
|
30660
30666
|
var IndicatorsContainer = styled.div.withConfig({
|
|
30661
30667
|
displayName: "Pagination__IndicatorsContainer",
|
|
30662
30668
|
componentId: "sc-5ltegq-4"
|
|
30663
|
-
})(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"], ["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"])), paginationTokens.indicatorsContainer.spacing);
|
|
30669
|
+
})(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"], ["\n display: grid;\n grid-auto-flow: column;\n align-items: center;\n gap: ", ";\n"])), paginationTokens.indicatorsContainer.spacing);
|
|
30664
30670
|
var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30665
30671
|
var itemsAmount = _a.itemsAmount,
|
|
30666
30672
|
_b = _a.defaultItemsPerPage,
|
|
@@ -30842,21 +30848,21 @@ var Pagination = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30842
30848
|
}, void 0), navigationToBeRendered]
|
|
30843
30849
|
}), void 0);
|
|
30844
30850
|
});
|
|
30845
|
-
var templateObject_1$
|
|
30851
|
+
var templateObject_1$d, templateObject_2$9, templateObject_3$5, templateObject_4$4, templateObject_5$2, templateObject_6$1, templateObject_7$1;
|
|
30846
30852
|
|
|
30847
|
-
var Colors$
|
|
30848
|
-
Border$
|
|
30849
|
-
Spacing$
|
|
30853
|
+
var Colors$4 = ddsBaseTokens.colors,
|
|
30854
|
+
Border$2 = ddsBaseTokens.border,
|
|
30855
|
+
Spacing$8 = ddsBaseTokens.spacing;
|
|
30850
30856
|
var dividerColors = {
|
|
30851
|
-
primary: Colors$
|
|
30852
|
-
primaryLighter: Colors$
|
|
30857
|
+
primary: Colors$4.DdsColorPrimaryBase,
|
|
30858
|
+
primaryLighter: Colors$4.DdsColorPrimaryLighter
|
|
30853
30859
|
};
|
|
30854
30860
|
var base$7 = {
|
|
30855
30861
|
border: 0,
|
|
30856
30862
|
backgroundColor: 'transparent',
|
|
30857
|
-
borderTop: Border$
|
|
30858
|
-
marginTop: Spacing$
|
|
30859
|
-
marginBottom: Spacing$
|
|
30863
|
+
borderTop: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
30864
|
+
marginTop: Spacing$8.SizesDdsSpacingLocalX1,
|
|
30865
|
+
marginBottom: Spacing$8.SizesDdsSpacingLocalX1
|
|
30860
30866
|
};
|
|
30861
30867
|
var dividerTokens = {
|
|
30862
30868
|
base: base$7
|
|
@@ -30865,9 +30871,9 @@ var dividerTokens = {
|
|
|
30865
30871
|
var DividerLine = styled.hr.withConfig({
|
|
30866
30872
|
displayName: "Divider__DividerLine",
|
|
30867
30873
|
componentId: "sc-ggdopz-0"
|
|
30868
|
-
})(templateObject_2$
|
|
30874
|
+
})(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
|
|
30869
30875
|
var color = _a.color;
|
|
30870
|
-
return color && Ae(templateObject_1$
|
|
30876
|
+
return color && Ae(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
|
|
30871
30877
|
});
|
|
30872
30878
|
var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30873
30879
|
var _b = _a.color,
|
|
@@ -30882,7 +30888,7 @@ var Divider = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30882
30888
|
ref: ref
|
|
30883
30889
|
}, lineProps), void 0);
|
|
30884
30890
|
});
|
|
30885
|
-
var templateObject_1$
|
|
30891
|
+
var templateObject_1$c, templateObject_2$8;
|
|
30886
30892
|
|
|
30887
30893
|
var img$2 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='6.7085' cy='6.7085' r='2.625' fill='%230B0D0E'/%3e%3c/svg%3e";
|
|
30888
30894
|
|
|
@@ -30890,45 +30896,45 @@ var img$1 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14
|
|
|
30890
30896
|
|
|
30891
30897
|
var img = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.70817 9.33333C8.80225 9.33333 10.4998 7.50516 10.4998 5.25H2.9165C2.9165 7.50516 4.61409 9.33333 6.70817 9.33333Z' fill='%230B0D0E'/%3e%3c/svg%3e";
|
|
30892
30898
|
|
|
30893
|
-
var Spacing$
|
|
30899
|
+
var Spacing$7 = ddsBaseTokens.spacing;
|
|
30894
30900
|
var base$6 = {
|
|
30895
30901
|
lineHeight: '2.5em'
|
|
30896
30902
|
};
|
|
30897
30903
|
var listItemTokens = {
|
|
30898
30904
|
base: base$6,
|
|
30899
|
-
bulletSpacing: Spacing$
|
|
30905
|
+
bulletSpacing: Spacing$7.SizesDdsSpacingLocalX025
|
|
30900
30906
|
};
|
|
30901
30907
|
|
|
30902
|
-
var Spacing$
|
|
30903
|
-
FontPackages$
|
|
30908
|
+
var Spacing$6 = ddsBaseTokens.spacing,
|
|
30909
|
+
FontPackages$6 = ddsBaseTokens.fontPackages;
|
|
30904
30910
|
var textDefault$3 = ddsReferenceTokens.textDefault;
|
|
30905
30911
|
var inheritBase = {
|
|
30906
30912
|
font: 'inherit'
|
|
30907
30913
|
};
|
|
30908
30914
|
|
|
30909
|
-
var bodySans01Base = __assign({}, FontPackages$
|
|
30915
|
+
var bodySans01Base = __assign({}, FontPackages$6.body_sans_01.base);
|
|
30910
30916
|
|
|
30911
|
-
var bodySans02Base = __assign({}, FontPackages$
|
|
30917
|
+
var bodySans02Base = __assign({}, FontPackages$6.body_sans_02.base);
|
|
30912
30918
|
|
|
30913
|
-
var bodySans03Base = __assign({}, FontPackages$
|
|
30919
|
+
var bodySans03Base = __assign({}, FontPackages$6.body_sans_03.base);
|
|
30914
30920
|
|
|
30915
|
-
var bodySans04Base = __assign({}, FontPackages$
|
|
30921
|
+
var bodySans04Base = __assign({}, FontPackages$6.body_sans_04.base);
|
|
30916
30922
|
|
|
30917
|
-
var bodySerif01Base = __assign({}, FontPackages$
|
|
30923
|
+
var bodySerif01Base = __assign({}, FontPackages$6.body_serif_01.base);
|
|
30918
30924
|
|
|
30919
|
-
var bodySerif02Base = __assign({}, FontPackages$
|
|
30925
|
+
var bodySerif02Base = __assign({}, FontPackages$6.body_serif_02.base);
|
|
30920
30926
|
|
|
30921
|
-
var bodySerif03Base = __assign({}, FontPackages$
|
|
30927
|
+
var bodySerif03Base = __assign({}, FontPackages$6.body_serif_03.base);
|
|
30922
30928
|
|
|
30923
|
-
var bodySerif04Base = __assign({}, FontPackages$
|
|
30929
|
+
var bodySerif04Base = __assign({}, FontPackages$6.body_serif_04.base);
|
|
30924
30930
|
|
|
30925
30931
|
var base$5 = {
|
|
30926
|
-
margin: Spacing$
|
|
30932
|
+
margin: Spacing$6.SizesDdsSpacingLocalX1 + " 0",
|
|
30927
30933
|
color: textDefault$3.textColor
|
|
30928
30934
|
};
|
|
30929
30935
|
var listTokens = {
|
|
30930
30936
|
base: base$5,
|
|
30931
|
-
spaceLeft: Spacing$
|
|
30937
|
+
spaceLeft: Spacing$6.SizesDdsSpacingLocalX2,
|
|
30932
30938
|
sizes: {
|
|
30933
30939
|
bodySans01: bodySans01Base,
|
|
30934
30940
|
bodySans02: bodySans02Base,
|
|
@@ -30947,12 +30953,12 @@ var ulPaddingLeft = listTokens.spaceLeft + " - (" + liTextPadding + ")";
|
|
|
30947
30953
|
var StyledList = styled.ul.withConfig({
|
|
30948
30954
|
displayName: "List__StyledList",
|
|
30949
30955
|
componentId: "sc-1f1c7eb-0"
|
|
30950
|
-
})(templateObject_4$
|
|
30956
|
+
})(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"], ["\n ", "\n ul, ol {\n margin: 0;\n }\n *::selection {\n ", "\n }\n ", "\n ", "\n"])), listTokens.base, typographyTokens.selection.base, function (_a) {
|
|
30951
30957
|
var typographyType = _a.typographyType;
|
|
30952
|
-
return typographyType && Ae(templateObject_1$
|
|
30958
|
+
return typographyType && Ae(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
|
|
30953
30959
|
}, function (_a) {
|
|
30954
30960
|
var listType = _a.listType;
|
|
30955
|
-
return listType === 'unordered' ? Ae(templateObject_2$
|
|
30961
|
+
return listType === 'unordered' ? Ae(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "], ["\n padding-left: ", ";\n list-style: none;\n li {\n position: relative;\n padding-left: ", ";\n &:before {\n content: '';\n display: inline-block;\n height: 1em;\n width: 1em;\n position: absolute;\n top: ", ";\n left: 0;\n background-size: contain;\n background-repeat: no-repeat;\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n ul > li > ul > li:before {\n // disable eslint to ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes\n // eslint-disable-next-line\n // prettier-ignore\n background-image: url(\"", "\");\n }\n }\n "])), "calc(" + ulPaddingLeft + ")", "calc(" + liTextPadding + ")", "calc((" + listItemTokens.base.lineHeight + " / 2) - 0.5em )", img$2, img$1, img) : Ae(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "], ["\n padding-left: ", ";\n & > li > ol {\n list-style-type: lower-alpha;\n }\n & > li > ol > li > ol {\n list-style-type: lower-roman;\n }\n "])), listTokens.spaceLeft);
|
|
30956
30962
|
});
|
|
30957
30963
|
var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30958
30964
|
var _b = _a.listType,
|
|
@@ -30975,12 +30981,12 @@ var List = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30975
30981
|
children: children
|
|
30976
30982
|
}), void 0);
|
|
30977
30983
|
});
|
|
30978
|
-
var templateObject_1$
|
|
30984
|
+
var templateObject_1$b, templateObject_2$7, templateObject_3$4, templateObject_4$3;
|
|
30979
30985
|
|
|
30980
30986
|
var StyledListItem = styled.li.withConfig({
|
|
30981
30987
|
displayName: "ListItem__StyledListItem",
|
|
30982
30988
|
componentId: "sc-17s9l0b-0"
|
|
30983
|
-
})(templateObject_1$
|
|
30989
|
+
})(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
|
|
30984
30990
|
var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30985
30991
|
var children = _a.children,
|
|
30986
30992
|
rest = __rest(_a, ["children"]);
|
|
@@ -30991,19 +30997,19 @@ var ListItem = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30991
30997
|
children: children
|
|
30992
30998
|
}), void 0);
|
|
30993
30999
|
});
|
|
30994
|
-
var templateObject_1$
|
|
31000
|
+
var templateObject_1$a;
|
|
30995
31001
|
|
|
30996
|
-
var Spacing$
|
|
30997
|
-
FontPackages$
|
|
30998
|
-
Colors$
|
|
31002
|
+
var Spacing$5 = ddsBaseTokens.spacing,
|
|
31003
|
+
FontPackages$5 = ddsBaseTokens.fontPackages,
|
|
31004
|
+
Colors$3 = ddsBaseTokens.colors;
|
|
30999
31005
|
var textDefault$2 = ddsReferenceTokens.textDefault;
|
|
31000
31006
|
|
|
31001
|
-
var boldBase = __assign(__assign(__assign({}, FontPackages$
|
|
31007
|
+
var boldBase = __assign(__assign(__assign({}, FontPackages$5.body_sans_03.base), typographyTokens.style.bold.base), {
|
|
31002
31008
|
color: textDefault$2.textColor
|
|
31003
31009
|
});
|
|
31004
31010
|
|
|
31005
|
-
var smallBase = __assign(__assign({}, FontPackages$
|
|
31006
|
-
color: Colors$
|
|
31011
|
+
var smallBase = __assign(__assign({}, FontPackages$5.body_sans_01.base), {
|
|
31012
|
+
color: Colors$3.DdsColorNeutralsGray7
|
|
31007
31013
|
});
|
|
31008
31014
|
|
|
31009
31015
|
var descriptionListTermTokens = {
|
|
@@ -31015,16 +31021,16 @@ var descriptionListTermTokens = {
|
|
|
31015
31021
|
base: boldBase
|
|
31016
31022
|
}
|
|
31017
31023
|
},
|
|
31018
|
-
unwrappedTopAndBottomSpace: Spacing$
|
|
31019
|
-
unwrappedBetweenSpace: Spacing$
|
|
31024
|
+
unwrappedTopAndBottomSpace: Spacing$5.SizesDdsSpacingLocalX1,
|
|
31025
|
+
unwrappedBetweenSpace: Spacing$5.SizesDdsSpacingLocalX2
|
|
31020
31026
|
};
|
|
31021
31027
|
|
|
31022
31028
|
var DList = styled.dl.withConfig({
|
|
31023
31029
|
displayName: "DescriptionList__DList",
|
|
31024
31030
|
componentId: "sc-1ob73hm-0"
|
|
31025
|
-
})(templateObject_2$
|
|
31031
|
+
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-child {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"], ["\n margin: 0;\n *::selection {\n ", "\n }\n ", "\n & > dt:first-child {\n margin-top: ", ";\n }\n & > dd:last-child {\n margin-bottom: ", ";\n }\n dd + dt {\n margin-top: ", ";\n }\n"])), typographyTokens.selection.base, function (_a) {
|
|
31026
31032
|
var appearance = _a.appearance;
|
|
31027
|
-
return appearance && Ae(templateObject_1$
|
|
31033
|
+
return appearance && Ae(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
|
|
31028
31034
|
}, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
|
|
31029
31035
|
var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31030
31036
|
var _b = _a.appearance,
|
|
@@ -31041,12 +31047,12 @@ var DescriptionList = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31041
31047
|
children: children
|
|
31042
31048
|
}), void 0);
|
|
31043
31049
|
});
|
|
31044
|
-
var templateObject_1$
|
|
31050
|
+
var templateObject_1$9, templateObject_2$6;
|
|
31045
31051
|
|
|
31046
31052
|
var DListTerm = styled.dt.withConfig({
|
|
31047
31053
|
displayName: "DescriptionListTerm__DListTerm",
|
|
31048
31054
|
componentId: "sc-10w0rzr-0"
|
|
31049
|
-
})(templateObject_1$
|
|
31055
|
+
})(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
|
|
31050
31056
|
var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31051
31057
|
var children = _a.children,
|
|
31052
31058
|
rest = __rest(_a, ["children"]);
|
|
@@ -31059,34 +31065,34 @@ var DescriptionListTerm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31059
31065
|
children: children
|
|
31060
31066
|
}), void 0);
|
|
31061
31067
|
});
|
|
31062
|
-
var templateObject_1$
|
|
31068
|
+
var templateObject_1$8;
|
|
31063
31069
|
|
|
31064
|
-
var Spacing$
|
|
31065
|
-
FontPackages$
|
|
31070
|
+
var Spacing$4 = ddsBaseTokens.spacing,
|
|
31071
|
+
FontPackages$4 = ddsBaseTokens.fontPackages;
|
|
31066
31072
|
var textDefault$1 = ddsReferenceTokens.textDefault;
|
|
31067
31073
|
|
|
31068
|
-
var base$4 = __assign(__assign({}, FontPackages$
|
|
31074
|
+
var base$4 = __assign(__assign({}, FontPackages$4.body_sans_03.base), {
|
|
31069
31075
|
color: textDefault$1.textColor
|
|
31070
31076
|
});
|
|
31071
31077
|
|
|
31072
|
-
var iconBase = {
|
|
31073
|
-
marginRight: Spacing$
|
|
31078
|
+
var iconBase$1 = {
|
|
31079
|
+
marginRight: Spacing$4.SizesDdsSpacingLocalX025
|
|
31074
31080
|
};
|
|
31075
31081
|
var descriptionListDescTokens = {
|
|
31076
31082
|
base: base$4,
|
|
31077
31083
|
icon: {
|
|
31078
|
-
base: iconBase
|
|
31084
|
+
base: iconBase$1
|
|
31079
31085
|
}
|
|
31080
31086
|
};
|
|
31081
31087
|
|
|
31082
31088
|
var DListDesc = styled.dd.withConfig({
|
|
31083
31089
|
displayName: "DescriptionListDesc__DListDesc",
|
|
31084
31090
|
componentId: "sc-1djcf0s-0"
|
|
31085
|
-
})(templateObject_1$
|
|
31086
|
-
var StyledIconWrapper = styled(IconWrapper$1).withConfig({
|
|
31091
|
+
})(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"], ["\n ", "\n display: flex;\n align-items: center;\n margin-inline-start: 0;\n"])), descriptionListDescTokens.base);
|
|
31092
|
+
var StyledIconWrapper$1 = styled(IconWrapper$1).withConfig({
|
|
31087
31093
|
displayName: "DescriptionListDesc__StyledIconWrapper",
|
|
31088
31094
|
componentId: "sc-1djcf0s-1"
|
|
31089
|
-
})(templateObject_2$
|
|
31095
|
+
})(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), descriptionListDescTokens.icon.base);
|
|
31090
31096
|
var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31091
31097
|
var children = _a.children,
|
|
31092
31098
|
Icon = _a.Icon,
|
|
@@ -31098,16 +31104,16 @@ var DescriptionListDesc = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31098
31104
|
}, rest);
|
|
31099
31105
|
|
|
31100
31106
|
return jsxRuntime.jsxs(DListDesc, __assign({}, dListDescProps, {
|
|
31101
|
-
children: [Icon && jsxRuntime.jsx(StyledIconWrapper, {
|
|
31107
|
+
children: [Icon && jsxRuntime.jsx(StyledIconWrapper$1, {
|
|
31102
31108
|
Icon: Icon
|
|
31103
31109
|
}, void 0), " ", children]
|
|
31104
31110
|
}), void 0);
|
|
31105
31111
|
});
|
|
31106
|
-
var templateObject_1$
|
|
31112
|
+
var templateObject_1$7, templateObject_2$5;
|
|
31107
31113
|
|
|
31108
|
-
var Spacing$
|
|
31114
|
+
var Spacing$3 = ddsBaseTokens.spacing;
|
|
31109
31115
|
var base$3 = {
|
|
31110
|
-
margin: Spacing$
|
|
31116
|
+
margin: Spacing$3.SizesDdsSpacingLocalX2
|
|
31111
31117
|
};
|
|
31112
31118
|
var descriptionListGroupTokens = {
|
|
31113
31119
|
base: base$3
|
|
@@ -31116,9 +31122,9 @@ var descriptionListGroupTokens = {
|
|
|
31116
31122
|
var DListGroup = styled.div.withConfig({
|
|
31117
31123
|
displayName: "DescriptionListGroup__DListGroup",
|
|
31118
31124
|
componentId: "sc-jkdc0o-0"
|
|
31119
|
-
})(templateObject_2$
|
|
31125
|
+
})(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
|
|
31120
31126
|
var margin = _a.margin;
|
|
31121
|
-
return margin && Ae(templateObject_1$
|
|
31127
|
+
return margin && Ae(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
|
|
31122
31128
|
});
|
|
31123
31129
|
var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31124
31130
|
var children = _a.children,
|
|
@@ -31133,43 +31139,43 @@ var DescriptionListGroup = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31133
31139
|
children: children
|
|
31134
31140
|
}), void 0);
|
|
31135
31141
|
});
|
|
31136
|
-
var templateObject_1$
|
|
31142
|
+
var templateObject_1$6, templateObject_2$4;
|
|
31137
31143
|
|
|
31138
|
-
var Colors$
|
|
31139
|
-
Border = ddsBaseTokens.border,
|
|
31140
|
-
FontPackages$
|
|
31144
|
+
var Colors$2 = ddsBaseTokens.colors,
|
|
31145
|
+
Border$1 = ddsBaseTokens.border,
|
|
31146
|
+
FontPackages$3 = ddsBaseTokens.fontPackages;
|
|
31141
31147
|
var textDefault = ddsReferenceTokens.textDefault;
|
|
31142
31148
|
|
|
31143
31149
|
var base$2 = __assign({
|
|
31144
|
-
border: Border.BordersDdsBorderStyle1StrokeWeight + " solid"
|
|
31145
|
-
}, FontPackages$
|
|
31150
|
+
border: Border$1.BordersDdsBorderStyle1StrokeWeight + " solid"
|
|
31151
|
+
}, FontPackages$3.body_sans_02.base);
|
|
31146
31152
|
|
|
31147
31153
|
var navigationHoverBase = {
|
|
31148
|
-
borderColor: Colors$
|
|
31149
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
31154
|
+
borderColor: Colors$2.DdsColorInteractiveBase,
|
|
31155
|
+
boxShadow: "0 0 0 1px " + Colors$2.DdsColorInteractiveBase
|
|
31150
31156
|
};
|
|
31151
31157
|
var navigationFocusBase = {
|
|
31152
|
-
borderColor: Colors$
|
|
31153
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
31158
|
+
borderColor: Colors$2.DdsColorWarningDarkest,
|
|
31159
|
+
boxShadow: "0 0 0 1px " + Colors$2.DdsColorWarningDarkest
|
|
31154
31160
|
};
|
|
31155
31161
|
var filledDarkBase = {
|
|
31156
|
-
backgroundColor: Colors$
|
|
31157
|
-
borderColor: Colors$
|
|
31158
|
-
color: Colors$
|
|
31162
|
+
backgroundColor: Colors$2.DdsColorPrimaryBase,
|
|
31163
|
+
borderColor: Colors$2.DdsColorPrimaryBase,
|
|
31164
|
+
color: Colors$2.DdsColorNeutralsWhite
|
|
31159
31165
|
};
|
|
31160
31166
|
var filledLightBase = {
|
|
31161
|
-
backgroundColor: Colors$
|
|
31162
|
-
borderColor: Colors$
|
|
31167
|
+
backgroundColor: Colors$2.DdsColorPrimaryLightest,
|
|
31168
|
+
borderColor: Colors$2.DdsColorPrimaryLightest,
|
|
31163
31169
|
color: textDefault.textColor
|
|
31164
31170
|
};
|
|
31165
31171
|
var strokeLightBase = {
|
|
31166
|
-
backgroundColor: Colors$
|
|
31167
|
-
borderColor: Colors$
|
|
31172
|
+
backgroundColor: Colors$2.DdsColorNeutralsWhite,
|
|
31173
|
+
borderColor: Colors$2.DdsColorNeutralsGray5,
|
|
31168
31174
|
color: textDefault.textColor
|
|
31169
31175
|
};
|
|
31170
31176
|
var strokeDarkBase = {
|
|
31171
|
-
backgroundColor: Colors$
|
|
31172
|
-
borderColor: Colors$
|
|
31177
|
+
backgroundColor: Colors$2.DdsColorNeutralsWhite,
|
|
31178
|
+
borderColor: Colors$2.DdsColorNeutralsGray9,
|
|
31173
31179
|
color: textDefault.textColor
|
|
31174
31180
|
};
|
|
31175
31181
|
var cardTokens = {
|
|
@@ -31201,12 +31207,12 @@ var cardTokens = {
|
|
|
31201
31207
|
var Container = styled.div.withConfig({
|
|
31202
31208
|
displayName: "Card__Container",
|
|
31203
31209
|
componentId: "sc-410ao9-0"
|
|
31204
|
-
})(templateObject_3$
|
|
31210
|
+
})(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n transition: box-shadow 0.2s, border-color 0.2s;\n ", "\n ", "\n"])), cardTokens.base, typographyTokens.selection.base, function (_a) {
|
|
31205
31211
|
var color = _a.color;
|
|
31206
|
-
return color && Ae(templateObject_1$
|
|
31212
|
+
return color && Ae(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
|
|
31207
31213
|
}, function (_a) {
|
|
31208
31214
|
var cardType = _a.cardType;
|
|
31209
|
-
return cardType === 'navigation' && Ae(templateObject_2$
|
|
31215
|
+
return cardType === 'navigation' && Ae(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "], ["\n text-decoration: none;\n &:hover {\n ", "\n }\n &:focus {\n outline: none;\n ", "\n }\n "])), cardTokens.navigation.hover.base, cardTokens.navigation.focus.base);
|
|
31210
31216
|
});
|
|
31211
31217
|
var Card = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31212
31218
|
var children = _a.children,
|
|
@@ -31229,12 +31235,12 @@ var Card = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31229
31235
|
children: children
|
|
31230
31236
|
}), void 0);
|
|
31231
31237
|
});
|
|
31232
|
-
var templateObject_1$
|
|
31238
|
+
var templateObject_1$5, templateObject_2$3, templateObject_3$3;
|
|
31233
31239
|
|
|
31234
|
-
var Wrapper = styled.div.withConfig({
|
|
31240
|
+
var Wrapper$1 = styled.div.withConfig({
|
|
31235
31241
|
displayName: "CardAccordion__Wrapper",
|
|
31236
31242
|
componentId: "sc-1ctxrby-0"
|
|
31237
|
-
})(templateObject_1$
|
|
31243
|
+
})(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([""], [""])));
|
|
31238
31244
|
var nextUniqueId$1 = 0;
|
|
31239
31245
|
var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
31240
31246
|
var isExpanded = _a.isExpanded,
|
|
@@ -31275,25 +31281,25 @@ var CardAccordion = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31275
31281
|
ref: ref
|
|
31276
31282
|
}, rest);
|
|
31277
31283
|
|
|
31278
|
-
return jsxRuntime.jsx(Wrapper, __assign({}, props, {
|
|
31284
|
+
return jsxRuntime.jsx(Wrapper$1, __assign({}, props, {
|
|
31279
31285
|
children: Children$1
|
|
31280
31286
|
}), void 0);
|
|
31281
31287
|
});
|
|
31282
|
-
var templateObject_1$
|
|
31288
|
+
var templateObject_1$4;
|
|
31283
31289
|
|
|
31284
|
-
var Spacing$
|
|
31285
|
-
FontPackages$
|
|
31286
|
-
Colors = ddsBaseTokens.colors;
|
|
31290
|
+
var Spacing$2 = ddsBaseTokens.spacing,
|
|
31291
|
+
FontPackages$2 = ddsBaseTokens.fontPackages,
|
|
31292
|
+
Colors$1 = ddsBaseTokens.colors;
|
|
31287
31293
|
|
|
31288
31294
|
var base$1 = __assign({
|
|
31289
|
-
padding: Spacing$
|
|
31290
|
-
}, FontPackages$
|
|
31295
|
+
padding: Spacing$2.SizesDdsSpacingLocalX1
|
|
31296
|
+
}, FontPackages$2.heading_sans_03.base);
|
|
31291
31297
|
|
|
31292
31298
|
var focusBase = {
|
|
31293
|
-
boxShadow: "0 0 0 2px " + Colors.DdsColorWarningDarkest
|
|
31299
|
+
boxShadow: "0 0 0 2px " + Colors$1.DdsColorWarningDarkest
|
|
31294
31300
|
};
|
|
31295
31301
|
var hoverBase = {
|
|
31296
|
-
boxShadow: "0 0 0 2px " + Colors.DdsColorInteractiveBase
|
|
31302
|
+
boxShadow: "0 0 0 2px " + Colors$1.DdsColorInteractiveBase
|
|
31297
31303
|
};
|
|
31298
31304
|
var cardAccordionHeaderTokens = {
|
|
31299
31305
|
base: base$1,
|
|
@@ -31308,20 +31314,20 @@ var cardAccordionHeaderTokens = {
|
|
|
31308
31314
|
var ContentWrapper = styled.div.withConfig({
|
|
31309
31315
|
displayName: "CardAccordionHeader__ContentWrapper",
|
|
31310
31316
|
componentId: "sc-1qs6bkj-0"
|
|
31311
|
-
})(templateObject_1$
|
|
31317
|
+
})(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([""], [""])));
|
|
31312
31318
|
var HeaderContainer = styled.div.withConfig({
|
|
31313
31319
|
displayName: "CardAccordionHeader__HeaderContainer",
|
|
31314
31320
|
componentId: "sc-1qs6bkj-1"
|
|
31315
|
-
})(templateObject_2$
|
|
31321
|
+
})(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n &:focus {\n outline: none;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n &:focus {\n outline: none;\n }\n"])), cardAccordionHeaderTokens.base);
|
|
31316
31322
|
var HeaderWrapper = styled.div.withConfig({
|
|
31317
31323
|
displayName: "CardAccordionHeader__HeaderWrapper",
|
|
31318
31324
|
componentId: "sc-1qs6bkj-2"
|
|
31319
|
-
})(templateObject_3$
|
|
31320
|
-
var chevronPseudoElementStyling = Ae(templateObject_4$
|
|
31325
|
+
})(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n position: relative;\n cursor: pointer;\n\n &:hover {\n ", "\n }\n &:focus > ", " {\n outline: none;\n ", "\n }\n &:focus {\n outline: none;\n }\n"], ["\n position: relative;\n cursor: pointer;\n\n &:hover {\n ", "\n }\n &:focus > ", " {\n outline: none;\n ", "\n }\n &:focus {\n outline: none;\n }\n"])), cardAccordionHeaderTokens.hover.base, HeaderContainer, cardAccordionHeaderTokens.focus.base);
|
|
31326
|
+
var chevronPseudoElementStyling = Ae(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n content: '';\n position: absolute;\n top: 0;\n height: 100%;\n width: 50%;\n background: currentColor;\n transition: transform 0.2s;\n"], ["\n content: '';\n position: absolute;\n top: 0;\n height: 100%;\n width: 50%;\n background: currentColor;\n transition: transform 0.2s;\n"])));
|
|
31321
31327
|
var Chevron = styled.span.withConfig({
|
|
31322
31328
|
displayName: "CardAccordionHeader__Chevron",
|
|
31323
31329
|
componentId: "sc-1qs6bkj-3"
|
|
31324
|
-
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: inline-block;\n flex-shrink: 0;\n height: 2px;\n line-height: 2px;\n width: 17px;\n position: relative;\n text-align: center;\n vertical-align: middle;\n &::before {\n ", "\n left: 2px;\n transform: translateX(2px)\n ", ";\n }\n &::after {\n ", "\n right: 2px;\n transform: translateX(2px)\n ", ";\n }\n"], ["\n display: inline-block;\n flex-shrink: 0;\n height: 2px;\n line-height: 2px;\n width: 17px;\n position: relative;\n text-align: center;\n vertical-align: middle;\n &::before {\n ", "\n left: 2px;\n transform: translateX(2px)\n ", ";\n }\n &::after {\n ", "\n right: 2px;\n transform: translateX(2px)\n ", ";\n }\n"])), chevronPseudoElementStyling, function (_a) {
|
|
31330
|
+
})(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: inline-block;\n flex-shrink: 0;\n height: 2px;\n line-height: 2px;\n width: 17px;\n position: relative;\n text-align: center;\n vertical-align: middle;\n &::before {\n ", "\n left: 2px;\n transform: translateX(2px)\n ", ";\n }\n &::after {\n ", "\n right: 2px;\n transform: translateX(2px)\n ", ";\n }\n"], ["\n display: inline-block;\n flex-shrink: 0;\n height: 2px;\n line-height: 2px;\n width: 17px;\n position: relative;\n text-align: center;\n vertical-align: middle;\n &::before {\n ", "\n left: 2px;\n transform: translateX(2px)\n ", ";\n }\n &::after {\n ", "\n right: 2px;\n transform: translateX(2px)\n ", ";\n }\n"])), chevronPseudoElementStyling, function (_a) {
|
|
31325
31331
|
var isExpanded = _a.isExpanded;
|
|
31326
31332
|
return isExpanded ? 'rotate(-45deg)' : 'rotate(45deg)';
|
|
31327
31333
|
}, chevronPseudoElementStyling, function (_a) {
|
|
@@ -31378,31 +31384,31 @@ var CardAccordionHeader = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31378
31384
|
}), void 0)
|
|
31379
31385
|
}), void 0);
|
|
31380
31386
|
});
|
|
31381
|
-
var templateObject_1$
|
|
31387
|
+
var templateObject_1$3, templateObject_2$2, templateObject_3$2, templateObject_4$2, templateObject_5$1;
|
|
31382
31388
|
|
|
31383
|
-
var Spacing = ddsBaseTokens.spacing,
|
|
31384
|
-
FontPackages = ddsBaseTokens.fontPackages;
|
|
31389
|
+
var Spacing$1 = ddsBaseTokens.spacing,
|
|
31390
|
+
FontPackages$1 = ddsBaseTokens.fontPackages;
|
|
31385
31391
|
|
|
31386
31392
|
var base = __assign({
|
|
31387
|
-
padding: "0 " + Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX1
|
|
31388
|
-
}, FontPackages.body_sans_03.base);
|
|
31393
|
+
padding: "0 " + Spacing$1.SizesDdsSpacingLocalX1 + " " + Spacing$1.SizesDdsSpacingLocalX1 + " " + Spacing$1.SizesDdsSpacingLocalX1
|
|
31394
|
+
}, FontPackages$1.body_sans_03.base);
|
|
31389
31395
|
|
|
31390
31396
|
var cardAccordionBodyTokens = {
|
|
31391
31397
|
base: base
|
|
31392
31398
|
};
|
|
31393
31399
|
|
|
31394
|
-
var expandingAnimation = Ae(templateObject_1$
|
|
31400
|
+
var expandingAnimation = Ae(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"], ["\n transition: visibility 0.3s, max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n"])));
|
|
31395
31401
|
var Body = styled.div.withConfig({
|
|
31396
31402
|
displayName: "CardAccordionBody__Body",
|
|
31397
31403
|
componentId: "sc-igsnpx-0"
|
|
31398
|
-
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), expandingAnimation, cardAccordionBodyTokens.base, function (_a) {
|
|
31404
|
+
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), expandingAnimation, cardAccordionBodyTokens.base, function (_a) {
|
|
31399
31405
|
var isExpanded = _a.isExpanded;
|
|
31400
|
-
return !isExpanded && Ae(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-bottom: 0;\n "], ["\n padding-bottom: 0;\n "])));
|
|
31406
|
+
return !isExpanded && Ae(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n padding-bottom: 0;\n "], ["\n padding-bottom: 0;\n "])));
|
|
31401
31407
|
});
|
|
31402
31408
|
var BodyWrapper = styled.div.withConfig({
|
|
31403
31409
|
displayName: "CardAccordionBody__BodyWrapper",
|
|
31404
31410
|
componentId: "sc-igsnpx-1"
|
|
31405
|
-
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n overflow: hidden;\n visibility: ", ";\n max-height: ", "px;\n"], ["\n ", "\n overflow: hidden;\n visibility: ", ";\n max-height: ", "px;\n"])), expandingAnimation, function (_a) {
|
|
31411
|
+
})(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n ", "\n overflow: hidden;\n visibility: ", ";\n max-height: ", "px;\n"], ["\n ", "\n overflow: hidden;\n visibility: ", ";\n max-height: ", "px;\n"])), expandingAnimation, function (_a) {
|
|
31406
31412
|
var isExpanded = _a.isExpanded;
|
|
31407
31413
|
return isExpanded ? 'visible' : 'hidden';
|
|
31408
31414
|
}, function (_a) {
|
|
@@ -31449,7 +31455,511 @@ var CardAccordionBody = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31449
31455
|
}), void 0)
|
|
31450
31456
|
}), void 0);
|
|
31451
31457
|
});
|
|
31452
|
-
var templateObject_1$
|
|
31458
|
+
var templateObject_1$2, templateObject_2$1, templateObject_3$1, templateObject_4$1;
|
|
31459
|
+
|
|
31460
|
+
var MoreVertOutlined = createCommonjsModule(function (module, exports) {
|
|
31461
|
+
|
|
31462
|
+
|
|
31463
|
+
|
|
31464
|
+
|
|
31465
|
+
|
|
31466
|
+
Object.defineProperty(exports, "__esModule", {
|
|
31467
|
+
value: true
|
|
31468
|
+
});
|
|
31469
|
+
exports.default = void 0;
|
|
31470
|
+
|
|
31471
|
+
var React = interopRequireWildcard(React__default);
|
|
31472
|
+
|
|
31473
|
+
var _createSvgIcon = interopRequireDefault(require$$1);
|
|
31474
|
+
|
|
31475
|
+
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
31476
|
+
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
|
|
31477
|
+
}), 'MoreVertOutlined');
|
|
31478
|
+
|
|
31479
|
+
exports.default = _default;
|
|
31480
|
+
});
|
|
31481
|
+
|
|
31482
|
+
var MoreVertOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(MoreVertOutlined);
|
|
31483
|
+
|
|
31484
|
+
var PersonOutlineOutlined = createCommonjsModule(function (module, exports) {
|
|
31485
|
+
|
|
31486
|
+
|
|
31487
|
+
|
|
31488
|
+
|
|
31489
|
+
|
|
31490
|
+
Object.defineProperty(exports, "__esModule", {
|
|
31491
|
+
value: true
|
|
31492
|
+
});
|
|
31493
|
+
exports.default = void 0;
|
|
31494
|
+
|
|
31495
|
+
var React = interopRequireWildcard(React__default);
|
|
31496
|
+
|
|
31497
|
+
var _createSvgIcon = interopRequireDefault(require$$1);
|
|
31498
|
+
|
|
31499
|
+
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
31500
|
+
d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"
|
|
31501
|
+
}), 'PersonOutlineOutlined');
|
|
31502
|
+
|
|
31503
|
+
exports.default = _default;
|
|
31504
|
+
});
|
|
31505
|
+
|
|
31506
|
+
var PersonOutlineOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(PersonOutlineOutlined);
|
|
31507
|
+
|
|
31508
|
+
var MenuOutlined = createCommonjsModule(function (module, exports) {
|
|
31509
|
+
|
|
31510
|
+
|
|
31511
|
+
|
|
31512
|
+
|
|
31513
|
+
|
|
31514
|
+
Object.defineProperty(exports, "__esModule", {
|
|
31515
|
+
value: true
|
|
31516
|
+
});
|
|
31517
|
+
exports.default = void 0;
|
|
31518
|
+
|
|
31519
|
+
var React = interopRequireWildcard(React__default);
|
|
31520
|
+
|
|
31521
|
+
var _createSvgIcon = interopRequireDefault(require$$1);
|
|
31522
|
+
|
|
31523
|
+
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
31524
|
+
d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
|
|
31525
|
+
}), 'MenuOutlined');
|
|
31526
|
+
|
|
31527
|
+
exports.default = _default;
|
|
31528
|
+
});
|
|
31529
|
+
|
|
31530
|
+
var MenuOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(MenuOutlined);
|
|
31531
|
+
|
|
31532
|
+
var Border = ddsBaseTokens.border,
|
|
31533
|
+
BorderRadius = ddsBaseTokens.borderRadius,
|
|
31534
|
+
Colors = ddsBaseTokens.colors,
|
|
31535
|
+
Spacing = ddsBaseTokens.spacing,
|
|
31536
|
+
FontPackages = ddsBaseTokens.fontPackages;
|
|
31537
|
+
var borderColor = Colors.DdsColorPrimaryLighter;
|
|
31538
|
+
|
|
31539
|
+
var linkBase = __assign({
|
|
31540
|
+
color: Colors.DdsColorNeutralsGray9,
|
|
31541
|
+
textDecoration: 'none',
|
|
31542
|
+
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
31543
|
+
}, FontPackages.body_sans_01.base);
|
|
31544
|
+
|
|
31545
|
+
var linkHoverBase = {
|
|
31546
|
+
color: Colors.DdsColorInteractiveDark,
|
|
31547
|
+
backgroundColor: Colors.DdsColorPrimaryLightest
|
|
31548
|
+
};
|
|
31549
|
+
var linkActiveBase = {
|
|
31550
|
+
color: Colors.DdsColorInteractiveBase
|
|
31551
|
+
};
|
|
31552
|
+
var wrapperBase = {
|
|
31553
|
+
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
31554
|
+
};
|
|
31555
|
+
var applicationNameWrapperBase = {
|
|
31556
|
+
padding: Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31557
|
+
};
|
|
31558
|
+
var lovisaWrapperBase = {
|
|
31559
|
+
padding: Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX15,
|
|
31560
|
+
borderRight: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid "
|
|
31561
|
+
};
|
|
31562
|
+
var bannerBase = {
|
|
31563
|
+
borderBottom: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid ",
|
|
31564
|
+
paddingRight: Spacing.SizesDdsSpacingLocalX1
|
|
31565
|
+
};
|
|
31566
|
+
var bannerLeftBase = {};
|
|
31567
|
+
var navigationBase = {
|
|
31568
|
+
borderBottom: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid "
|
|
31569
|
+
};
|
|
31570
|
+
|
|
31571
|
+
var navigationLinkBase = __assign({
|
|
31572
|
+
padding: Spacing.SizesDdsSpacingLocalX075 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31573
|
+
}, linkBase);
|
|
31574
|
+
|
|
31575
|
+
var navigationLinkHoverBase = __assign({}, linkHoverBase);
|
|
31576
|
+
|
|
31577
|
+
var navigationLinkActiveBase = __assign({}, linkActiveBase);
|
|
31578
|
+
|
|
31579
|
+
var navigationLinkFocusBase = {
|
|
31580
|
+
color: Colors.DdsColorNeutralsWhite,
|
|
31581
|
+
backgroundColor: Colors.DdsColorWarningDarkest
|
|
31582
|
+
};
|
|
31583
|
+
var navigationLinkCurrentBase = {
|
|
31584
|
+
color: Colors.DdsColorInteractiveDarker,
|
|
31585
|
+
backgroundColor: Colors.DdsColorPrimaryLightest
|
|
31586
|
+
};
|
|
31587
|
+
var contextMenuBase = {
|
|
31588
|
+
border: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid ",
|
|
31589
|
+
backgroundColor: Colors.DdsColorNeutralsWhite,
|
|
31590
|
+
borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius
|
|
31591
|
+
};
|
|
31592
|
+
|
|
31593
|
+
var contextMenuLinkBase = __assign({
|
|
31594
|
+
padding: Spacing.SizesDdsSpacingLocalX075 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31595
|
+
}, linkBase);
|
|
31596
|
+
|
|
31597
|
+
var contextMenuLinkHoverBase = __assign({}, linkHoverBase);
|
|
31598
|
+
|
|
31599
|
+
var contextMenuLinkActiveBase = __assign({}, linkActiveBase);
|
|
31600
|
+
|
|
31601
|
+
var contextMenuLinkFocusBase = {
|
|
31602
|
+
color: Colors.DdsColorNeutralsWhite,
|
|
31603
|
+
backgroundColor: Colors.DdsColorWarningDarkest
|
|
31604
|
+
};
|
|
31605
|
+
var iconBase = {
|
|
31606
|
+
marginRight: Spacing.SizesDdsSpacingLocalX025
|
|
31607
|
+
};
|
|
31608
|
+
var contextMenuDividerBase = {
|
|
31609
|
+
marginRight: Spacing.SizesDdsSpacingLocalX15,
|
|
31610
|
+
marginLeft: Spacing.SizesDdsSpacingLocalX15
|
|
31611
|
+
};
|
|
31612
|
+
var internalHeaderTokens = {
|
|
31613
|
+
wrapper: {
|
|
31614
|
+
base: wrapperBase
|
|
31615
|
+
},
|
|
31616
|
+
applicationNameWrapper: {
|
|
31617
|
+
base: applicationNameWrapperBase
|
|
31618
|
+
},
|
|
31619
|
+
lovisaWrapper: {
|
|
31620
|
+
base: lovisaWrapperBase
|
|
31621
|
+
},
|
|
31622
|
+
banner: {
|
|
31623
|
+
base: bannerBase
|
|
31624
|
+
},
|
|
31625
|
+
bannerLeft: {
|
|
31626
|
+
base: bannerLeftBase
|
|
31627
|
+
},
|
|
31628
|
+
navigation: {
|
|
31629
|
+
base: navigationBase
|
|
31630
|
+
},
|
|
31631
|
+
navigationLink: {
|
|
31632
|
+
base: navigationLinkBase,
|
|
31633
|
+
hover: {
|
|
31634
|
+
base: navigationLinkHoverBase
|
|
31635
|
+
},
|
|
31636
|
+
active: {
|
|
31637
|
+
base: navigationLinkActiveBase
|
|
31638
|
+
},
|
|
31639
|
+
focus: {
|
|
31640
|
+
base: navigationLinkFocusBase
|
|
31641
|
+
},
|
|
31642
|
+
current: {
|
|
31643
|
+
base: navigationLinkCurrentBase
|
|
31644
|
+
}
|
|
31645
|
+
},
|
|
31646
|
+
contextMenu: {
|
|
31647
|
+
base: contextMenuBase,
|
|
31648
|
+
spaceFromButtonTop: Spacing.SizesDdsSpacingLocalX025
|
|
31649
|
+
},
|
|
31650
|
+
contextMenuLink: {
|
|
31651
|
+
base: contextMenuLinkBase,
|
|
31652
|
+
hover: {
|
|
31653
|
+
base: contextMenuLinkHoverBase
|
|
31654
|
+
},
|
|
31655
|
+
active: {
|
|
31656
|
+
base: contextMenuLinkActiveBase
|
|
31657
|
+
},
|
|
31658
|
+
focus: {
|
|
31659
|
+
base: contextMenuLinkFocusBase
|
|
31660
|
+
}
|
|
31661
|
+
},
|
|
31662
|
+
contextMenuDivider: {
|
|
31663
|
+
base: contextMenuDividerBase
|
|
31664
|
+
},
|
|
31665
|
+
icon: {
|
|
31666
|
+
base: iconBase
|
|
31667
|
+
}
|
|
31668
|
+
};
|
|
31669
|
+
|
|
31670
|
+
var Wrapper = styled.div.withConfig({
|
|
31671
|
+
displayName: "InternalHeaderstyles__Wrapper",
|
|
31672
|
+
componentId: "sc-91bnca-0"
|
|
31673
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n *::selection {\n ", "\n }\n ", "\n"], ["\n *::selection {\n ", "\n }\n ", "\n"])), typographyTokens.selection.base, internalHeaderTokens.wrapper.base);
|
|
31674
|
+
var BannerWrapper = styled.div.withConfig({
|
|
31675
|
+
displayName: "InternalHeaderstyles__BannerWrapper",
|
|
31676
|
+
componentId: "sc-91bnca-1"
|
|
31677
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n"], ["\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n ", "\n"])), internalHeaderTokens.banner.base);
|
|
31678
|
+
var BannerLeftWrapper = styled.div.withConfig({
|
|
31679
|
+
displayName: "InternalHeaderstyles__BannerLeftWrapper",
|
|
31680
|
+
componentId: "sc-91bnca-2"
|
|
31681
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n ", "\n"], ["\n display: flex;\n ", "\n"])), internalHeaderTokens.bannerLeft.base);
|
|
31682
|
+
var ApplicationNameWrapper = styled.div.withConfig({
|
|
31683
|
+
displayName: "InternalHeaderstyles__ApplicationNameWrapper",
|
|
31684
|
+
componentId: "sc-91bnca-3"
|
|
31685
|
+
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.applicationNameWrapper.base);
|
|
31686
|
+
var LovisaWrapper = styled.div.withConfig({
|
|
31687
|
+
displayName: "InternalHeaderstyles__LovisaWrapper",
|
|
31688
|
+
componentId: "sc-91bnca-4"
|
|
31689
|
+
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.lovisaWrapper.base);
|
|
31690
|
+
var Navigation = styled.nav.withConfig({
|
|
31691
|
+
displayName: "InternalHeaderstyles__Navigation",
|
|
31692
|
+
componentId: "sc-91bnca-5"
|
|
31693
|
+
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.navigation.base);
|
|
31694
|
+
var NavigationList = styled.ul.withConfig({
|
|
31695
|
+
displayName: "InternalHeaderstyles__NavigationList",
|
|
31696
|
+
componentId: "sc-91bnca-6"
|
|
31697
|
+
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n ", "\n list-style-type: none;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n ", "\n list-style-type: none;\n padding: 0;\n margin: 0;\n"])), function (_a) {
|
|
31698
|
+
var smallScreen = _a.smallScreen;
|
|
31699
|
+
return smallScreen && Ae(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n flex-direction: column;\n "], ["\n flex-direction: column;\n "])));
|
|
31700
|
+
});
|
|
31701
|
+
var NavigationListItem = styled.li.withConfig({
|
|
31702
|
+
displayName: "InternalHeaderstyles__NavigationListItem",
|
|
31703
|
+
componentId: "sc-91bnca-7"
|
|
31704
|
+
})(templateObject_9 || (templateObject_9 = __makeTemplateObject([""], [""])));
|
|
31705
|
+
var NavigationLink = styled.a.withConfig({
|
|
31706
|
+
displayName: "InternalHeaderstyles__NavigationLink",
|
|
31707
|
+
componentId: "sc-91bnca-8"
|
|
31708
|
+
})(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n height: 100%;\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible {\n outline: none;\n ", "\n }\n ", "\n"], ["\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n height: 100%;\n ", "\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible {\n outline: none;\n ", "\n }\n ", "\n"])), internalHeaderTokens.navigationLink.base, internalHeaderTokens.navigationLink.hover.base, internalHeaderTokens.navigationLink.active.base, internalHeaderTokens.navigationLink.focus.base, function (_a) {
|
|
31709
|
+
var isCurrent = _a.isCurrent;
|
|
31710
|
+
return isCurrent && Ae(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), internalHeaderTokens.navigationLink.current.base);
|
|
31711
|
+
});
|
|
31712
|
+
var ContextMenuWrapper = styled.div.withConfig({
|
|
31713
|
+
displayName: "InternalHeaderstyles__ContextMenuWrapper",
|
|
31714
|
+
componentId: "sc-91bnca-9"
|
|
31715
|
+
})(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n position: absolute;\n z-index: 3;\n top: calc(100% - 2px);\n right: ", ";\n overflow-y: auto;\n min-width: 180px;\n max-width: 300px;\n max-height: calc(100vh - 110px);\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n ", "\n ", "\n"], ["\n position: absolute;\n z-index: 3;\n top: calc(100% - 2px);\n right: ", ";\n overflow-y: auto;\n min-width: 180px;\n max-width: 300px;\n max-height: calc(100vh - 110px);\n transition: visibility 0.4s, opacity 0.2s;\n visibility: ", ";\n opacity: ", ";\n ", "\n ", "\n"])), internalHeaderTokens.banner.base.paddingRight, function (_a) {
|
|
31716
|
+
var closed = _a.closed;
|
|
31717
|
+
return closed ? 'hidden' : 'visible';
|
|
31718
|
+
}, function (_a) {
|
|
31719
|
+
var closed = _a.closed;
|
|
31720
|
+
return closed ? 0 : 1;
|
|
31721
|
+
}, internalHeaderTokens.contextMenu.base, scrollbarStyling);
|
|
31722
|
+
var ContextMenuList = styled.ul.withConfig({
|
|
31723
|
+
displayName: "InternalHeaderstyles__ContextMenuList",
|
|
31724
|
+
componentId: "sc-91bnca-10"
|
|
31725
|
+
})(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n list-style-type: none;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n flex-direction: column;\n list-style-type: none;\n padding: 0;\n margin: 0;\n"])));
|
|
31726
|
+
var ContextMenuListItem = styled.li.withConfig({
|
|
31727
|
+
displayName: "InternalHeaderstyles__ContextMenuListItem",
|
|
31728
|
+
componentId: "sc-91bnca-11"
|
|
31729
|
+
})(templateObject_14 || (templateObject_14 = __makeTemplateObject([""], [""])));
|
|
31730
|
+
var ContextMenuElement = styled.span.withConfig({
|
|
31731
|
+
displayName: "InternalHeaderstyles__ContextMenuElement",
|
|
31732
|
+
componentId: "sc-91bnca-12"
|
|
31733
|
+
})(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n ", "\n display: flex;\n align-items: center;\n"], ["\n ", "\n display: flex;\n align-items: center;\n"])), internalHeaderTokens.contextMenuLink.base);
|
|
31734
|
+
var ContextMenuLink = styled.a.withConfig({
|
|
31735
|
+
displayName: "InternalHeaderstyles__ContextMenuLink",
|
|
31736
|
+
componentId: "sc-91bnca-13"
|
|
31737
|
+
})(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n width: 100%;\n ", "\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible {\n outline: none;\n ", "\n }\n"], ["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n width: 100%;\n ", "\n display: flex;\n align-items: center;\n transition: background-color 0.2s;\n &:hover {\n ", "\n }\n &:active {\n ", "\n }\n &:focus-visible {\n outline: none;\n ", "\n }\n"])), internalHeaderTokens.contextMenuLink.base, internalHeaderTokens.contextMenuLink.hover.base, internalHeaderTokens.contextMenuLink.active.base, internalHeaderTokens.contextMenuLink.focus.base);
|
|
31738
|
+
var StyledDivider = styled(Divider).withConfig({
|
|
31739
|
+
displayName: "InternalHeaderstyles__StyledDivider",
|
|
31740
|
+
componentId: "sc-91bnca-14"
|
|
31741
|
+
})(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.contextMenuDivider.base);
|
|
31742
|
+
var StyledIconWrapper = styled(IconWrapper$1).withConfig({
|
|
31743
|
+
displayName: "InternalHeaderstyles__StyledIconWrapper",
|
|
31744
|
+
componentId: "sc-91bnca-15"
|
|
31745
|
+
})(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.icon.base);
|
|
31746
|
+
var templateObject_1$1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18;
|
|
31747
|
+
|
|
31748
|
+
var InternalHeader = function InternalHeader(_a) {
|
|
31749
|
+
var applicationName = _a.applicationName,
|
|
31750
|
+
smallScreen = _a.smallScreen,
|
|
31751
|
+
navigationElements = _a.navigationElements,
|
|
31752
|
+
contextMenuElements = _a.contextMenuElements,
|
|
31753
|
+
currentPageHref = _a.currentPageHref,
|
|
31754
|
+
userProps = _a.userProps,
|
|
31755
|
+
onCurrentPageChange = _a.onCurrentPageChange,
|
|
31756
|
+
rest = __rest(_a, ["applicationName", "smallScreen", "navigationElements", "contextMenuElements", "currentPageHref", "userProps", "onCurrentPageChange"]);
|
|
31757
|
+
|
|
31758
|
+
var _b = useState(true),
|
|
31759
|
+
contextMenuIsClosed = _b[0],
|
|
31760
|
+
setContextMenuIsClosed = _b[1];
|
|
31761
|
+
|
|
31762
|
+
var _c = useState(currentPageHref),
|
|
31763
|
+
currentPage = _c[0],
|
|
31764
|
+
setCurrentPage = _c[1];
|
|
31765
|
+
|
|
31766
|
+
var contextMenuRef = useRef(null);
|
|
31767
|
+
var buttonRef = useRef(null);
|
|
31768
|
+
|
|
31769
|
+
var handleContextMenuClickOutside = function handleContextMenuClickOutside(e) {
|
|
31770
|
+
if (contextMenuIsClosed !== true && contextMenuRef.current !== null && !contextMenuRef.current.contains(e.target) && buttonRef.current !== null && !buttonRef.current.contains(e.target)) {
|
|
31771
|
+
setContextMenuIsClosed(true);
|
|
31772
|
+
}
|
|
31773
|
+
};
|
|
31774
|
+
|
|
31775
|
+
useEffect(function () {
|
|
31776
|
+
document.addEventListener('click', handleContextMenuClickOutside, true);
|
|
31777
|
+
return function () {
|
|
31778
|
+
document.removeEventListener('click', handleContextMenuClickOutside, true);
|
|
31779
|
+
};
|
|
31780
|
+
});
|
|
31781
|
+
|
|
31782
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
31783
|
+
var _a;
|
|
31784
|
+
|
|
31785
|
+
if (e.key === 'Esc' || e.key === 'Escape') {
|
|
31786
|
+
setContextMenuIsClosed(true);
|
|
31787
|
+
(_a = buttonRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
31788
|
+
}
|
|
31789
|
+
};
|
|
31790
|
+
|
|
31791
|
+
useEffect(function () {
|
|
31792
|
+
document.addEventListener('keydown', handleKeyDown, true);
|
|
31793
|
+
return function () {
|
|
31794
|
+
document.removeEventListener('keydown', handleKeyDown, true);
|
|
31795
|
+
};
|
|
31796
|
+
}, []);
|
|
31797
|
+
|
|
31798
|
+
var onBlurContextMenu = function onBlurContextMenu() {
|
|
31799
|
+
setContextMenuIsClosed(true);
|
|
31800
|
+
};
|
|
31801
|
+
|
|
31802
|
+
var handleCurrentPageChange = function handleCurrentPageChange(href) {
|
|
31803
|
+
setCurrentPage(href);
|
|
31804
|
+
onCurrentPageChange && onCurrentPageChange();
|
|
31805
|
+
};
|
|
31806
|
+
|
|
31807
|
+
var handleContextMenuClick = function handleContextMenuClick() {
|
|
31808
|
+
setContextMenuIsClosed(!contextMenuIsClosed);
|
|
31809
|
+
};
|
|
31810
|
+
|
|
31811
|
+
var userLinkAs = (userProps === null || userProps === void 0 ? void 0 : userProps.href) ? 'a' : 'span';
|
|
31812
|
+
var userIsLastFocusableItem = !contextMenuElements && userProps && userProps.href;
|
|
31813
|
+
var userElementProps = {
|
|
31814
|
+
as: userLinkAs,
|
|
31815
|
+
href: userProps === null || userProps === void 0 ? void 0 : userProps.href,
|
|
31816
|
+
onBlur: userIsLastFocusableItem ? onBlurContextMenu : undefined
|
|
31817
|
+
};
|
|
31818
|
+
var navigationContent = navigationElements && navigationElements.map(function (item, index) {
|
|
31819
|
+
var href = item.href,
|
|
31820
|
+
title = item.title,
|
|
31821
|
+
rest = __rest(item, ["href", "title"]);
|
|
31822
|
+
|
|
31823
|
+
var isCurrent = href === currentPage;
|
|
31824
|
+
return jsxRuntime.jsx(NavigationListItem, {
|
|
31825
|
+
children: jsxRuntime.jsx(NavigationLink, __assign({}, rest, {
|
|
31826
|
+
href: href,
|
|
31827
|
+
isCurrent: isCurrent,
|
|
31828
|
+
onClick: function onClick() {
|
|
31829
|
+
return handleCurrentPageChange(href);
|
|
31830
|
+
},
|
|
31831
|
+
role: smallScreen ? 'menuitem' : undefined
|
|
31832
|
+
}, {
|
|
31833
|
+
children: title
|
|
31834
|
+
}), void 0)
|
|
31835
|
+
}, index);
|
|
31836
|
+
});
|
|
31837
|
+
|
|
31838
|
+
var navigation = navigationElements && jsxRuntime.jsx(Navigation, __assign({
|
|
31839
|
+
"aria-label": "sidenavigasjon"
|
|
31840
|
+
}, {
|
|
31841
|
+
children: jsxRuntime.jsx(NavigationList, {
|
|
31842
|
+
children: navigationContent
|
|
31843
|
+
}, void 0)
|
|
31844
|
+
}), void 0);
|
|
31845
|
+
|
|
31846
|
+
var userContextMenuItem = userProps && jsxRuntime.jsx(ContextMenuListItem, {
|
|
31847
|
+
children: userProps.href ? jsxRuntime.jsxs(ContextMenuLink, __assign({}, userElementProps, {
|
|
31848
|
+
role: "menuitem"
|
|
31849
|
+
}, {
|
|
31850
|
+
children: [jsxRuntime.jsx(StyledIconWrapper, {
|
|
31851
|
+
iconSize: "inline",
|
|
31852
|
+
Icon: PersonOutlineOutlinedIcon
|
|
31853
|
+
}, void 0), userProps.name]
|
|
31854
|
+
}), void 0) : jsxRuntime.jsxs(ContextMenuElement, __assign({}, userElementProps, {
|
|
31855
|
+
children: [jsxRuntime.jsx(StyledIconWrapper, {
|
|
31856
|
+
iconSize: "inline",
|
|
31857
|
+
Icon: PersonOutlineOutlinedIcon
|
|
31858
|
+
}, void 0), userProps.name]
|
|
31859
|
+
}), void 0)
|
|
31860
|
+
}, void 0);
|
|
31861
|
+
|
|
31862
|
+
var contextMenuElementsContent = contextMenuElements && contextMenuElements.map(function (item, index) {
|
|
31863
|
+
var Icon = item.Icon,
|
|
31864
|
+
href = item.href,
|
|
31865
|
+
title = item.title,
|
|
31866
|
+
onClick = item.onClick,
|
|
31867
|
+
rest = __rest(item, ["Icon", "href", "title", "onClick"]);
|
|
31868
|
+
|
|
31869
|
+
var as = href ? 'a' : 'button';
|
|
31870
|
+
var isLastItem = index === contextMenuElements.length - 1 ? true : false;
|
|
31871
|
+
|
|
31872
|
+
var props = __assign({
|
|
31873
|
+
as: as,
|
|
31874
|
+
href: href,
|
|
31875
|
+
onClick: onClick,
|
|
31876
|
+
onBlur: isLastItem ? onBlurContextMenu : undefined
|
|
31877
|
+
}, rest);
|
|
31878
|
+
|
|
31879
|
+
return jsxRuntime.jsx(ContextMenuListItem, {
|
|
31880
|
+
children: jsxRuntime.jsxs(ContextMenuLink, __assign({}, props, {
|
|
31881
|
+
role: href || onClick ? 'menuitem' : undefined
|
|
31882
|
+
}, {
|
|
31883
|
+
children: [Icon && jsxRuntime.jsx(StyledIconWrapper, {
|
|
31884
|
+
iconSize: "inline",
|
|
31885
|
+
Icon: Icon
|
|
31886
|
+
}, void 0), title]
|
|
31887
|
+
}), void 0)
|
|
31888
|
+
}, index);
|
|
31889
|
+
});
|
|
31890
|
+
var contextMenuWrapperProps = {
|
|
31891
|
+
ref: contextMenuRef,
|
|
31892
|
+
closed: contextMenuIsClosed
|
|
31893
|
+
};
|
|
31894
|
+
|
|
31895
|
+
var contextMenu = (contextMenuElements || userProps) && jsxRuntime.jsx(ContextMenuWrapper, __assign({}, contextMenuWrapperProps, {
|
|
31896
|
+
"aria-hidden": contextMenuIsClosed,
|
|
31897
|
+
role: "menu"
|
|
31898
|
+
}, {
|
|
31899
|
+
children: jsxRuntime.jsxs(ContextMenuList, {
|
|
31900
|
+
children: [userContextMenuItem, contextMenuElementsContent]
|
|
31901
|
+
}, void 0)
|
|
31902
|
+
}), void 0);
|
|
31903
|
+
|
|
31904
|
+
var navListProps = {
|
|
31905
|
+
smallScreen: smallScreen
|
|
31906
|
+
};
|
|
31907
|
+
|
|
31908
|
+
var contextMenuMobile = (contextMenuElements || navigationElements || userProps) && jsxRuntime.jsxs(ContextMenuWrapper, __assign({}, contextMenuWrapperProps, {
|
|
31909
|
+
"aria-hidden": contextMenuIsClosed,
|
|
31910
|
+
role: "menu"
|
|
31911
|
+
}, {
|
|
31912
|
+
children: [jsxRuntime.jsx(ContextMenuList, {
|
|
31913
|
+
children: userContextMenuItem
|
|
31914
|
+
}, void 0), navigationElements && jsxRuntime.jsx("nav", __assign({
|
|
31915
|
+
"aria-label": "sidenavigasjon"
|
|
31916
|
+
}, {
|
|
31917
|
+
children: jsxRuntime.jsx(NavigationList, __assign({}, navListProps, {
|
|
31918
|
+
children: navigationContent
|
|
31919
|
+
}), void 0)
|
|
31920
|
+
}), void 0), contextMenuElements && navigationElements && jsxRuntime.jsx(StyledDivider, {
|
|
31921
|
+
color: "primaryLighter"
|
|
31922
|
+
}, void 0), jsxRuntime.jsx(ContextMenuList, {
|
|
31923
|
+
children: contextMenuElementsContent
|
|
31924
|
+
}, void 0)]
|
|
31925
|
+
}), void 0);
|
|
31926
|
+
|
|
31927
|
+
var isSmallScreenAndHasNavElements = smallScreen && navigationElements;
|
|
31928
|
+
|
|
31929
|
+
var wrapperProps = __assign({}, rest);
|
|
31930
|
+
|
|
31931
|
+
return jsxRuntime.jsxs(Wrapper, __assign({}, wrapperProps, {
|
|
31932
|
+
children: [jsxRuntime.jsxs(BannerWrapper, {
|
|
31933
|
+
children: [jsxRuntime.jsxs(BannerLeftWrapper, {
|
|
31934
|
+
children: [jsxRuntime.jsx(LovisaWrapper, {
|
|
31935
|
+
children: jsxRuntime.jsx(Typography, __assign({
|
|
31936
|
+
typographyType: "bodySans02",
|
|
31937
|
+
bold: true,
|
|
31938
|
+
as: "span"
|
|
31939
|
+
}, {
|
|
31940
|
+
children: "Lovisa Web"
|
|
31941
|
+
}), void 0)
|
|
31942
|
+
}, void 0), jsxRuntime.jsx(ApplicationNameWrapper, {
|
|
31943
|
+
children: jsxRuntime.jsx(Typography, __assign({
|
|
31944
|
+
typographyType: "bodySans02",
|
|
31945
|
+
as: "span"
|
|
31946
|
+
}, {
|
|
31947
|
+
children: applicationName
|
|
31948
|
+
}), void 0)
|
|
31949
|
+
}, void 0)]
|
|
31950
|
+
}, void 0), (isSmallScreenAndHasNavElements || contextMenuElements) && jsxRuntime.jsx(Button, {
|
|
31951
|
+
ref: buttonRef,
|
|
31952
|
+
Icon: isSmallScreenAndHasNavElements ? MenuOutlinedIcon : MoreVertOutlinedIcon,
|
|
31953
|
+
appearance: "borderless",
|
|
31954
|
+
purpose: "secondary",
|
|
31955
|
+
onClick: handleContextMenuClick,
|
|
31956
|
+
"aria-haspopup": "menu",
|
|
31957
|
+
"aria-expanded": !contextMenuIsClosed ? true : undefined,
|
|
31958
|
+
"aria-label": "\xE5pne meny"
|
|
31959
|
+
}, void 0), smallScreen ? contextMenuMobile : contextMenu]
|
|
31960
|
+
}, void 0), !smallScreen && navigation]
|
|
31961
|
+
}), void 0);
|
|
31962
|
+
};
|
|
31453
31963
|
|
|
31454
31964
|
var getWidth = function getWidth(type) {
|
|
31455
31965
|
return type === 'date' ? '205px' : type === 'datetime-local' ? '235px' : '320px';
|
|
@@ -31517,4 +32027,4 @@ var Datepicker = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
31517
32027
|
});
|
|
31518
32028
|
var templateObject_1;
|
|
31519
32029
|
|
|
31520
|
-
export { Body$1 as Body, Breadcrumb, Breadcrumbs, Button, Card, CardAccordion, CardAccordionBody, CardAccordionHeader, Cell, Checkbox, CheckboxGroup, Datepicker, DescriptionList, DescriptionListDesc, DescriptionListGroup, DescriptionListTerm, Divider, Foot, GlobalMessage, Head, IconWrapper$1 as IconWrapper, List, ListItem, LocalMessage, Pagination, RadioButton, RadioButtonGroup, Row, Search, Select, SortCell, Spinner, Table, TableWrapper, TextInput, Typography, getTextColor, isTextColor, searchFilter };
|
|
32030
|
+
export { Body$1 as Body, Breadcrumb, Breadcrumbs, Button, Card, CardAccordion, CardAccordionBody, CardAccordionHeader, Cell, Checkbox, CheckboxGroup, Datepicker, DescriptionList, DescriptionListDesc, DescriptionListGroup, DescriptionListTerm, Divider, Foot, GlobalMessage, Head, IconWrapper$1 as IconWrapper, InternalHeader, List, ListItem, LocalMessage, Pagination, RadioButton, RadioButtonGroup, Row, Search, Select, SortCell, Spinner, Table, TableWrapper, TextInput, Typography, getTextColor, isTextColor, searchFilter };
|