@norges-domstoler/dds-components 0.0.20 → 0.0.21
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 +1 -2
- package/dist/components/SkipToContent/SkipToContent.d.ts +12 -0
- package/dist/components/SkipToContent/SkipToContent.tokens.d.ts +13 -0
- package/dist/components/SkipToContent/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +773 -710
- package/dist/index.js +773 -709
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11765,94 +11765,94 @@ var ddsBaseTokens = {
|
|
|
11765
11765
|
fontPackages: fontPackages,
|
|
11766
11766
|
};
|
|
11767
11767
|
|
|
11768
|
-
var Colors$
|
|
11768
|
+
var Colors$l = ddsBaseTokens.colors, FontPackages$j = ddsBaseTokens.fontPackages, BorderRadius$5 = ddsBaseTokens.borderRadius, Border$9 = ddsBaseTokens.border;
|
|
11769
11769
|
var textDefault$8 = {
|
|
11770
|
-
textColor: Colors$
|
|
11771
|
-
font: FontPackages$
|
|
11770
|
+
textColor: Colors$l.DdsColorNeutralsGray9,
|
|
11771
|
+
font: FontPackages$j.body_sans_02.base,
|
|
11772
11772
|
};
|
|
11773
|
-
var focus$
|
|
11774
|
-
colorDefault: Colors$
|
|
11773
|
+
var focus$2 = {
|
|
11774
|
+
colorDefault: Colors$l.DdsColorWarningDarker,
|
|
11775
11775
|
outlineWidth: Border$9.BordersDdsBorderStyle1StrokeWeight,
|
|
11776
|
-
color__TextInput: Colors$
|
|
11777
|
-
textColor__TextInput: Colors$
|
|
11776
|
+
color__TextInput: Colors$l.DdsColorInteractiveBase,
|
|
11777
|
+
textColor__TextInput: Colors$l.DdsColorInteractiveDark,
|
|
11778
11778
|
borderWidth__TextInput: Border$9.BordersDdsBorderStyle1StrokeWeightNumberPx * 2 + "px",
|
|
11779
11779
|
};
|
|
11780
11780
|
var ddsReferenceTokens = {
|
|
11781
|
-
focus: focus$
|
|
11781
|
+
focus: focus$2,
|
|
11782
11782
|
textDefault: textDefault$8,
|
|
11783
11783
|
textInput: {
|
|
11784
11784
|
input: {
|
|
11785
11785
|
borderRadius: BorderRadius$5.RadiiDdsBorderRadius1Radius,
|
|
11786
11786
|
borderWidth: Border$9.BordersDdsBorderStyle1StrokeWeight,
|
|
11787
|
-
borderColor: Colors$
|
|
11787
|
+
borderColor: Colors$l.DdsColorNeutralsGray5,
|
|
11788
11788
|
textColor: textDefault$8.textColor,
|
|
11789
|
-
font: FontPackages$
|
|
11789
|
+
font: FontPackages$j.supportingStyle_inputtext_02.base,
|
|
11790
11790
|
hover: {
|
|
11791
|
-
backgroundColor: Colors$
|
|
11792
|
-
borderColor: focus$
|
|
11793
|
-
borderWidth: focus$
|
|
11791
|
+
backgroundColor: Colors$l.DdsColorInteractiveLightest,
|
|
11792
|
+
borderColor: focus$2.color__TextInput,
|
|
11793
|
+
borderWidth: focus$2.borderWidth__TextInput,
|
|
11794
11794
|
},
|
|
11795
11795
|
focus: {
|
|
11796
|
-
borderColor: focus$
|
|
11797
|
-
borderWidth: focus$
|
|
11796
|
+
borderColor: focus$2.color__TextInput,
|
|
11797
|
+
borderWidth: focus$2.borderWidth__TextInput,
|
|
11798
11798
|
},
|
|
11799
11799
|
},
|
|
11800
11800
|
label: {
|
|
11801
11801
|
hover: {
|
|
11802
|
-
textColor: focus$
|
|
11802
|
+
textColor: focus$2.textColor__TextInput,
|
|
11803
11803
|
},
|
|
11804
11804
|
focus: {
|
|
11805
|
-
textColor: focus$
|
|
11805
|
+
textColor: focus$2.textColor__TextInput,
|
|
11806
11806
|
},
|
|
11807
11807
|
},
|
|
11808
11808
|
},
|
|
11809
11809
|
};
|
|
11810
11810
|
|
|
11811
|
-
var Colors$
|
|
11812
|
-
FontPackages$
|
|
11813
|
-
Spacing$
|
|
11811
|
+
var Colors$k = ddsBaseTokens.colors,
|
|
11812
|
+
FontPackages$i = ddsBaseTokens.fontPackages,
|
|
11813
|
+
Spacing$q = ddsBaseTokens.spacing;
|
|
11814
11814
|
var textDefault$7 = ddsReferenceTokens.textDefault;
|
|
11815
11815
|
var textColors = {
|
|
11816
|
-
interactive: Colors$
|
|
11817
|
-
primary: Colors$
|
|
11818
|
-
danger: Colors$
|
|
11819
|
-
success: Colors$
|
|
11820
|
-
warning: Colors$
|
|
11816
|
+
interactive: Colors$k.DdsColorInteractiveBase,
|
|
11817
|
+
primary: Colors$k.DdsColorPrimaryBase,
|
|
11818
|
+
danger: Colors$k.DdsColorDangerBase,
|
|
11819
|
+
success: Colors$k.DdsColorSuccessBase,
|
|
11820
|
+
warning: Colors$k.DdsColorWarningBase,
|
|
11821
11821
|
onLight: textDefault$7.textColor,
|
|
11822
|
-
onDark: Colors$
|
|
11823
|
-
gray1: Colors$
|
|
11824
|
-
gray2: Colors$
|
|
11825
|
-
gray3: Colors$
|
|
11826
|
-
gray4: Colors$
|
|
11827
|
-
gray5: Colors$
|
|
11828
|
-
gray6: Colors$
|
|
11829
|
-
gray7: Colors$
|
|
11830
|
-
gray8: Colors$
|
|
11831
|
-
gray9: Colors$
|
|
11822
|
+
onDark: Colors$k.DdsColorNeutralsWhite,
|
|
11823
|
+
gray1: Colors$k.DdsColorNeutralsGray1,
|
|
11824
|
+
gray2: Colors$k.DdsColorNeutralsGray2,
|
|
11825
|
+
gray3: Colors$k.DdsColorNeutralsGray3,
|
|
11826
|
+
gray4: Colors$k.DdsColorNeutralsGray4,
|
|
11827
|
+
gray5: Colors$k.DdsColorNeutralsGray5,
|
|
11828
|
+
gray6: Colors$k.DdsColorNeutralsGray6,
|
|
11829
|
+
gray7: Colors$k.DdsColorNeutralsGray7,
|
|
11830
|
+
gray8: Colors$k.DdsColorNeutralsGray8,
|
|
11831
|
+
gray9: Colors$k.DdsColorNeutralsGray9
|
|
11832
11832
|
};
|
|
11833
11833
|
var textColorsArray = ['interactive', 'primary', 'danger', 'success', 'warning', 'onLight', 'onDark', 'gray1', 'gray2', 'gray3', 'gray4', 'gray5', 'gray6', 'gray7', 'gray8', 'gray9'];
|
|
11834
11834
|
var aBase = {
|
|
11835
|
-
color: Colors$
|
|
11835
|
+
color: Colors$k.DdsColorInteractiveBase,
|
|
11836
11836
|
// ...FontPackages.body_sans_02.base,
|
|
11837
11837
|
font: 'inherit',
|
|
11838
11838
|
textDecoration: 'underline',
|
|
11839
11839
|
width: 'fit-content'
|
|
11840
11840
|
};
|
|
11841
11841
|
var aMarginsBase = {
|
|
11842
|
-
marginTop: FontPackages$
|
|
11843
|
-
marginBottom: FontPackages$
|
|
11842
|
+
marginTop: FontPackages$i.body_sans_02.paragraph.paragraphSpacing,
|
|
11843
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
11844
11844
|
};
|
|
11845
11845
|
var aHoverBase = {
|
|
11846
|
-
color: Colors$
|
|
11846
|
+
color: Colors$k.DdsColorInteractiveDark
|
|
11847
11847
|
};
|
|
11848
11848
|
var aFocusBase = {
|
|
11849
|
-
backgroundColor: Colors$
|
|
11850
|
-
color: Colors$
|
|
11849
|
+
backgroundColor: Colors$k.DdsColorWarningDarkest,
|
|
11850
|
+
color: Colors$k.DdsColorNeutralsWhite,
|
|
11851
11851
|
textDecoration: 'none',
|
|
11852
11852
|
outline: 'none'
|
|
11853
11853
|
};
|
|
11854
11854
|
|
|
11855
|
-
var aBoldBase = __assign(__assign({}, FontPackages$
|
|
11855
|
+
var aBoldBase = __assign(__assign({}, FontPackages$i.body_sans_02), {
|
|
11856
11856
|
fontWeight: 600
|
|
11857
11857
|
});
|
|
11858
11858
|
|
|
@@ -11868,272 +11868,272 @@ var italicBase = {
|
|
|
11868
11868
|
|
|
11869
11869
|
var headingSans01Base = __assign({
|
|
11870
11870
|
color: textDefault$7.textColor
|
|
11871
|
-
}, FontPackages$
|
|
11871
|
+
}, FontPackages$i.heading_sans_01.base);
|
|
11872
11872
|
|
|
11873
11873
|
var headingSans01MarginsBase = {
|
|
11874
|
-
marginTop: FontPackages$
|
|
11875
|
-
marginBottom: FontPackages$
|
|
11874
|
+
marginTop: FontPackages$i.heading_sans_01.paragraph.paragraphSpacing,
|
|
11875
|
+
marginBottom: FontPackages$i.heading_sans_01.paragraph.paragraphSpacing
|
|
11876
11876
|
};
|
|
11877
11877
|
|
|
11878
11878
|
var headingSans02Base = __assign({
|
|
11879
11879
|
color: textDefault$7.textColor
|
|
11880
|
-
}, FontPackages$
|
|
11880
|
+
}, FontPackages$i.heading_sans_02.base);
|
|
11881
11881
|
|
|
11882
11882
|
var headingSans02MarginsBase = {
|
|
11883
|
-
marginTop: FontPackages$
|
|
11884
|
-
marginBottom: FontPackages$
|
|
11883
|
+
marginTop: FontPackages$i.heading_sans_02.paragraph.paragraphSpacing,
|
|
11884
|
+
marginBottom: FontPackages$i.heading_sans_02.paragraph.paragraphSpacing
|
|
11885
11885
|
};
|
|
11886
11886
|
|
|
11887
11887
|
var headingSans03Base = __assign({
|
|
11888
11888
|
color: textDefault$7.textColor
|
|
11889
|
-
}, FontPackages$
|
|
11889
|
+
}, FontPackages$i.heading_sans_03.base);
|
|
11890
11890
|
|
|
11891
11891
|
var headingSans03MarginsBase = {
|
|
11892
|
-
marginTop: FontPackages$
|
|
11893
|
-
marginBottom: FontPackages$
|
|
11892
|
+
marginTop: FontPackages$i.heading_sans_03.paragraph.paragraphSpacing,
|
|
11893
|
+
marginBottom: FontPackages$i.heading_sans_03.paragraph.paragraphSpacing
|
|
11894
11894
|
};
|
|
11895
11895
|
|
|
11896
11896
|
var headingSans04Base = __assign({
|
|
11897
11897
|
color: textDefault$7.textColor
|
|
11898
|
-
}, FontPackages$
|
|
11898
|
+
}, FontPackages$i.heading_sans_04.base);
|
|
11899
11899
|
|
|
11900
11900
|
var headingSans04MarginsBase = {
|
|
11901
|
-
marginTop: FontPackages$
|
|
11902
|
-
marginBottom: FontPackages$
|
|
11901
|
+
marginTop: FontPackages$i.heading_sans_04.paragraph.paragraphSpacing,
|
|
11902
|
+
marginBottom: FontPackages$i.heading_sans_04.paragraph.paragraphSpacing
|
|
11903
11903
|
};
|
|
11904
11904
|
|
|
11905
11905
|
var headingSans05Base = __assign({
|
|
11906
11906
|
color: textDefault$7.textColor
|
|
11907
|
-
}, FontPackages$
|
|
11907
|
+
}, FontPackages$i.heading_sans_05.base);
|
|
11908
11908
|
|
|
11909
11909
|
var headingSans05MarginsBase = {
|
|
11910
|
-
marginTop: FontPackages$
|
|
11911
|
-
marginBottom: FontPackages$
|
|
11910
|
+
marginTop: FontPackages$i.heading_sans_05.paragraph.paragraphSpacing,
|
|
11911
|
+
marginBottom: FontPackages$i.heading_sans_05.paragraph.paragraphSpacing
|
|
11912
11912
|
};
|
|
11913
11913
|
|
|
11914
11914
|
var headingSans06Base = __assign({
|
|
11915
11915
|
color: textDefault$7.textColor
|
|
11916
|
-
}, FontPackages$
|
|
11916
|
+
}, FontPackages$i.heading_sans_06.base);
|
|
11917
11917
|
|
|
11918
11918
|
var headingSans06MarginsBase = {
|
|
11919
|
-
marginTop: FontPackages$
|
|
11920
|
-
marginBottom: FontPackages$
|
|
11919
|
+
marginTop: FontPackages$i.heading_sans_06.paragraph.paragraphSpacing,
|
|
11920
|
+
marginBottom: FontPackages$i.heading_sans_06.paragraph.paragraphSpacing
|
|
11921
11921
|
};
|
|
11922
11922
|
|
|
11923
11923
|
var headingSans07Base = __assign({
|
|
11924
11924
|
color: textDefault$7.textColor
|
|
11925
|
-
}, FontPackages$
|
|
11925
|
+
}, FontPackages$i.heading_sans_07.base);
|
|
11926
11926
|
|
|
11927
11927
|
var headingSans07MarginsBase = {
|
|
11928
|
-
marginTop: FontPackages$
|
|
11929
|
-
marginBottom: FontPackages$
|
|
11928
|
+
marginTop: FontPackages$i.heading_sans_07.paragraph.paragraphSpacing,
|
|
11929
|
+
marginBottom: FontPackages$i.heading_sans_07.paragraph.paragraphSpacing
|
|
11930
11930
|
};
|
|
11931
11931
|
|
|
11932
11932
|
var headingSans08Base = __assign({
|
|
11933
11933
|
color: textDefault$7.textColor
|
|
11934
|
-
}, FontPackages$
|
|
11934
|
+
}, FontPackages$i.heading_sans_08.base);
|
|
11935
11935
|
|
|
11936
11936
|
var headingSans08MarginsBase = {
|
|
11937
|
-
marginTop: FontPackages$
|
|
11938
|
-
marginBottom: FontPackages$
|
|
11937
|
+
marginTop: FontPackages$i.heading_sans_08.paragraph.paragraphSpacing,
|
|
11938
|
+
marginBottom: FontPackages$i.heading_sans_08.paragraph.paragraphSpacing
|
|
11939
11939
|
};
|
|
11940
11940
|
|
|
11941
11941
|
var bodySans01Base$1 = __assign({
|
|
11942
11942
|
color: textDefault$7.textColor
|
|
11943
|
-
}, FontPackages$
|
|
11943
|
+
}, FontPackages$i.body_sans_01.base);
|
|
11944
11944
|
|
|
11945
11945
|
var bodySans01MarginsBase = {
|
|
11946
|
-
marginTop: FontPackages$
|
|
11947
|
-
marginBottom: FontPackages$
|
|
11946
|
+
marginTop: FontPackages$i.body_sans_01.paragraph.paragraphSpacing,
|
|
11947
|
+
marginBottom: FontPackages$i.body_sans_01.paragraph.paragraphSpacing
|
|
11948
11948
|
};
|
|
11949
11949
|
|
|
11950
11950
|
var bodySans02Base$1 = __assign({
|
|
11951
11951
|
color: textDefault$7.textColor
|
|
11952
|
-
}, FontPackages$
|
|
11952
|
+
}, FontPackages$i.body_sans_02.base);
|
|
11953
11953
|
|
|
11954
11954
|
var bodySans02MarginsBase = {
|
|
11955
|
-
marginTop: FontPackages$
|
|
11956
|
-
marginBottom: FontPackages$
|
|
11955
|
+
marginTop: FontPackages$i.body_sans_02.paragraph.paragraphSpacing,
|
|
11956
|
+
marginBottom: FontPackages$i.body_sans_02.paragraph.paragraphSpacing
|
|
11957
11957
|
};
|
|
11958
11958
|
|
|
11959
11959
|
var bodySans03Base$1 = __assign({
|
|
11960
11960
|
color: textDefault$7.textColor
|
|
11961
|
-
}, FontPackages$
|
|
11961
|
+
}, FontPackages$i.body_sans_03.base);
|
|
11962
11962
|
|
|
11963
11963
|
var bodySans03MarginsBase = {
|
|
11964
|
-
marginTop: FontPackages$
|
|
11965
|
-
marginBottom: FontPackages$
|
|
11964
|
+
marginTop: FontPackages$i.body_sans_03.paragraph.paragraphSpacing,
|
|
11965
|
+
marginBottom: FontPackages$i.body_sans_03.paragraph.paragraphSpacing
|
|
11966
11966
|
};
|
|
11967
11967
|
|
|
11968
11968
|
var bodySans04Base$1 = __assign({
|
|
11969
11969
|
color: textDefault$7.textColor
|
|
11970
|
-
}, FontPackages$
|
|
11970
|
+
}, FontPackages$i.body_sans_04.base);
|
|
11971
11971
|
|
|
11972
11972
|
var bodySans04MarginsBase = {
|
|
11973
|
-
marginTop: FontPackages$
|
|
11974
|
-
marginBottom: FontPackages$
|
|
11973
|
+
marginTop: FontPackages$i.body_sans_04.paragraph.paragraphSpacing,
|
|
11974
|
+
marginBottom: FontPackages$i.body_sans_04.paragraph.paragraphSpacing
|
|
11975
11975
|
};
|
|
11976
11976
|
|
|
11977
11977
|
var bodySerif01Base$1 = __assign({
|
|
11978
11978
|
color: textDefault$7.textColor
|
|
11979
|
-
}, FontPackages$
|
|
11979
|
+
}, FontPackages$i.body_serif_01.base);
|
|
11980
11980
|
|
|
11981
11981
|
var bodySerif01MarginsBase = {
|
|
11982
|
-
marginTop: FontPackages$
|
|
11983
|
-
marginBottom: FontPackages$
|
|
11982
|
+
marginTop: FontPackages$i.body_serif_01.paragraph.paragraphSpacing,
|
|
11983
|
+
marginBottom: FontPackages$i.body_serif_01.paragraph.paragraphSpacing
|
|
11984
11984
|
};
|
|
11985
11985
|
|
|
11986
11986
|
var bodySerif02Base$1 = __assign({
|
|
11987
11987
|
color: textDefault$7.textColor
|
|
11988
|
-
}, FontPackages$
|
|
11988
|
+
}, FontPackages$i.body_serif_02.base);
|
|
11989
11989
|
|
|
11990
11990
|
var bodySerif02MarginsBase = {
|
|
11991
|
-
marginTop: FontPackages$
|
|
11992
|
-
marginBottom: FontPackages$
|
|
11991
|
+
marginTop: FontPackages$i.body_serif_02.paragraph.paragraphSpacing,
|
|
11992
|
+
marginBottom: FontPackages$i.body_serif_02.paragraph.paragraphSpacing
|
|
11993
11993
|
};
|
|
11994
11994
|
|
|
11995
11995
|
var bodySerif03Base$1 = __assign({
|
|
11996
11996
|
color: textDefault$7.textColor
|
|
11997
|
-
}, FontPackages$
|
|
11997
|
+
}, FontPackages$i.body_serif_03.base);
|
|
11998
11998
|
|
|
11999
11999
|
var bodySerif03MarginsBase = {
|
|
12000
|
-
marginTop: FontPackages$
|
|
12001
|
-
marginBottom: FontPackages$
|
|
12000
|
+
marginTop: FontPackages$i.body_serif_03.paragraph.paragraphSpacing,
|
|
12001
|
+
marginBottom: FontPackages$i.body_serif_03.paragraph.paragraphSpacing
|
|
12002
12002
|
};
|
|
12003
12003
|
|
|
12004
12004
|
var bodySerif04Base$1 = __assign({
|
|
12005
12005
|
color: textDefault$7.textColor
|
|
12006
|
-
}, FontPackages$
|
|
12006
|
+
}, FontPackages$i.body_serif_04.base);
|
|
12007
12007
|
|
|
12008
12008
|
var bodySerif04MarginsBase = {
|
|
12009
|
-
marginTop: FontPackages$
|
|
12010
|
-
marginBottom: FontPackages$
|
|
12009
|
+
marginTop: FontPackages$i.body_serif_04.paragraph.paragraphSpacing,
|
|
12010
|
+
marginBottom: FontPackages$i.body_serif_04.paragraph.paragraphSpacing
|
|
12011
12011
|
};
|
|
12012
12012
|
|
|
12013
12013
|
var leadSans01Base = __assign({
|
|
12014
12014
|
color: textDefault$7.textColor
|
|
12015
|
-
}, FontPackages$
|
|
12015
|
+
}, FontPackages$i.lead_sans_01.base);
|
|
12016
12016
|
|
|
12017
12017
|
var leadSans01MarginsBase = {
|
|
12018
|
-
marginTop: FontPackages$
|
|
12019
|
-
marginBottom: FontPackages$
|
|
12018
|
+
marginTop: FontPackages$i.lead_sans_01.paragraph.paragraphSpacing,
|
|
12019
|
+
marginBottom: FontPackages$i.lead_sans_01.paragraph.paragraphSpacing
|
|
12020
12020
|
};
|
|
12021
12021
|
|
|
12022
12022
|
var leadSans02Base = __assign({
|
|
12023
12023
|
color: textDefault$7.textColor
|
|
12024
|
-
}, FontPackages$
|
|
12024
|
+
}, FontPackages$i.lead_sans_02.base);
|
|
12025
12025
|
|
|
12026
12026
|
var leadSans02MarginsBase = {
|
|
12027
|
-
marginTop: FontPackages$
|
|
12028
|
-
marginBottom: FontPackages$
|
|
12027
|
+
marginTop: FontPackages$i.lead_sans_02.paragraph.paragraphSpacing,
|
|
12028
|
+
marginBottom: FontPackages$i.lead_sans_02.paragraph.paragraphSpacing
|
|
12029
12029
|
};
|
|
12030
12030
|
|
|
12031
12031
|
var leadSans03Base = __assign({
|
|
12032
12032
|
color: textDefault$7.textColor
|
|
12033
|
-
}, FontPackages$
|
|
12033
|
+
}, FontPackages$i.lead_sans_03.base);
|
|
12034
12034
|
|
|
12035
12035
|
var leadSans03MarginsBase = {
|
|
12036
|
-
marginTop: FontPackages$
|
|
12037
|
-
marginBottom: FontPackages$
|
|
12036
|
+
marginTop: FontPackages$i.lead_sans_03.paragraph.paragraphSpacing,
|
|
12037
|
+
marginBottom: FontPackages$i.lead_sans_03.paragraph.paragraphSpacing
|
|
12038
12038
|
};
|
|
12039
12039
|
|
|
12040
12040
|
var leadSans04Base = __assign({
|
|
12041
12041
|
color: textDefault$7.textColor
|
|
12042
|
-
}, FontPackages$
|
|
12042
|
+
}, FontPackages$i.lead_sans_04.base);
|
|
12043
12043
|
|
|
12044
12044
|
var leadSans04MarginsBase = {
|
|
12045
|
-
marginTop: FontPackages$
|
|
12046
|
-
marginBottom: FontPackages$
|
|
12045
|
+
marginTop: FontPackages$i.lead_sans_04.paragraph.paragraphSpacing,
|
|
12046
|
+
marginBottom: FontPackages$i.lead_sans_04.paragraph.paragraphSpacing
|
|
12047
12047
|
};
|
|
12048
12048
|
|
|
12049
12049
|
var leadSans05Base = __assign({
|
|
12050
12050
|
color: textDefault$7.textColor
|
|
12051
|
-
}, FontPackages$
|
|
12051
|
+
}, FontPackages$i.lead_sans_05.base);
|
|
12052
12052
|
|
|
12053
12053
|
var leadSans05MarginsBase = {
|
|
12054
|
-
marginTop: FontPackages$
|
|
12055
|
-
marginBottom: FontPackages$
|
|
12054
|
+
marginTop: FontPackages$i.lead_sans_05.paragraph.paragraphSpacing,
|
|
12055
|
+
marginBottom: FontPackages$i.lead_sans_05.paragraph.paragraphSpacing
|
|
12056
12056
|
};
|
|
12057
12057
|
|
|
12058
12058
|
var supportingStyleLabel01Base = __assign(__assign({
|
|
12059
|
-
color: Colors$
|
|
12060
|
-
}, FontPackages$
|
|
12059
|
+
color: Colors$k.DdsColorNeutralsGray7
|
|
12060
|
+
}, FontPackages$i.supportingStyle_label_01.base), {
|
|
12061
12061
|
margin: 0
|
|
12062
12062
|
});
|
|
12063
12063
|
|
|
12064
12064
|
var supportingStyleLabel01MarginsBase = {
|
|
12065
|
-
marginTop: FontPackages$
|
|
12066
|
-
marginBottom: FontPackages$
|
|
12065
|
+
marginTop: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing,
|
|
12066
|
+
marginBottom: FontPackages$i.supportingStyle_label_01.paragraph.paragraphSpacing
|
|
12067
12067
|
};
|
|
12068
12068
|
|
|
12069
12069
|
var supportingStyleHelperText01Base = __assign(__assign({
|
|
12070
|
-
color: Colors$
|
|
12071
|
-
}, FontPackages$
|
|
12070
|
+
color: Colors$k.DdsColorNeutralsGray6
|
|
12071
|
+
}, FontPackages$i.supportingStyle_helpertext_01.base), {
|
|
12072
12072
|
margin: 0
|
|
12073
12073
|
});
|
|
12074
12074
|
|
|
12075
12075
|
var supportingStyleHelperText01MarginsBase = {
|
|
12076
|
-
marginTop: FontPackages$
|
|
12077
|
-
marginBottom: FontPackages$
|
|
12076
|
+
marginTop: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing,
|
|
12077
|
+
marginBottom: FontPackages$i.supportingStyle_helpertext_01.paragraph.paragraphSpacing
|
|
12078
12078
|
};
|
|
12079
12079
|
|
|
12080
12080
|
var supportingStyleInputText01Base = __assign(__assign({
|
|
12081
12081
|
color: textDefault$7.textColor
|
|
12082
|
-
}, FontPackages$
|
|
12082
|
+
}, FontPackages$i.supportingStyle_inputtext_01.base), {
|
|
12083
12083
|
margin: 0
|
|
12084
12084
|
});
|
|
12085
12085
|
|
|
12086
12086
|
var supportingStyleInputText01MarginsBase = {
|
|
12087
|
-
marginTop: FontPackages$
|
|
12088
|
-
marginBottom: FontPackages$
|
|
12087
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing,
|
|
12088
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_01.paragraph.paragraphSpacing
|
|
12089
12089
|
};
|
|
12090
12090
|
|
|
12091
12091
|
var supportingStyleInputText02Base = __assign(__assign({
|
|
12092
12092
|
color: textDefault$7.textColor
|
|
12093
|
-
}, FontPackages$
|
|
12093
|
+
}, FontPackages$i.supportingStyle_inputtext_02.base), {
|
|
12094
12094
|
margin: 0
|
|
12095
12095
|
});
|
|
12096
12096
|
|
|
12097
12097
|
var supportingStyleInputText02MarginsBase = {
|
|
12098
|
-
marginTop: FontPackages$
|
|
12099
|
-
marginBottom: FontPackages$
|
|
12098
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing,
|
|
12099
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_02.paragraph.paragraphSpacing
|
|
12100
12100
|
};
|
|
12101
12101
|
|
|
12102
12102
|
var supportingStyleInputText03Base = __assign(__assign({
|
|
12103
12103
|
color: textDefault$7.textColor
|
|
12104
|
-
}, FontPackages$
|
|
12104
|
+
}, FontPackages$i.supportingStyle_inputtext_03.base), {
|
|
12105
12105
|
margin: 0
|
|
12106
12106
|
});
|
|
12107
12107
|
|
|
12108
12108
|
var supportingStyleInputText03MarginsBase = {
|
|
12109
|
-
marginTop: FontPackages$
|
|
12110
|
-
marginBottom: FontPackages$
|
|
12109
|
+
marginTop: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing,
|
|
12110
|
+
marginBottom: FontPackages$i.supportingStyle_inputtext_03.paragraph.paragraphSpacing
|
|
12111
12111
|
};
|
|
12112
12112
|
|
|
12113
12113
|
var supportingStylePlaceholderText01Base = __assign(__assign({
|
|
12114
|
-
color: Colors$
|
|
12115
|
-
}, FontPackages$
|
|
12114
|
+
color: Colors$k.DdsColorNeutralsGray6
|
|
12115
|
+
}, FontPackages$i.supportingStyle_placeholdertext_01.base), {
|
|
12116
12116
|
margin: 0
|
|
12117
12117
|
});
|
|
12118
12118
|
|
|
12119
12119
|
var supportingStylePlaceholderText01MarginsBase = {
|
|
12120
|
-
marginTop: FontPackages$
|
|
12121
|
-
marginBottom: FontPackages$
|
|
12120
|
+
marginTop: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing,
|
|
12121
|
+
marginBottom: FontPackages$i.supportingStyle_placeholdertext_01.paragraph.paragraphSpacing
|
|
12122
12122
|
};
|
|
12123
12123
|
|
|
12124
12124
|
var supportingStyleTiny01Base = __assign(__assign({
|
|
12125
12125
|
color: textDefault$7.textColor
|
|
12126
|
-
}, FontPackages$
|
|
12126
|
+
}, FontPackages$i.supportingStyle_tiny_01.base), {
|
|
12127
12127
|
margin: 0
|
|
12128
12128
|
});
|
|
12129
12129
|
|
|
12130
12130
|
var supportingStyleTiny01MarginsBase = {
|
|
12131
|
-
marginTop: FontPackages$
|
|
12132
|
-
marginBottom: FontPackages$
|
|
12131
|
+
marginTop: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing,
|
|
12132
|
+
marginBottom: FontPackages$i.supportingStyle_tiny_01.paragraph.paragraphSpacing
|
|
12133
12133
|
};
|
|
12134
12134
|
var selectionBase = {
|
|
12135
12135
|
color: textDefault$7.textColor,
|
|
12136
|
-
backgroundColor: Colors$
|
|
12136
|
+
backgroundColor: Colors$k.DdsColorTertiaryLightest
|
|
12137
12137
|
};
|
|
12138
12138
|
var typographyTokens = {
|
|
12139
12139
|
selection: {
|
|
@@ -12155,7 +12155,7 @@ var typographyTokens = {
|
|
|
12155
12155
|
base: aBoldBase
|
|
12156
12156
|
},
|
|
12157
12157
|
icon: {
|
|
12158
|
-
marginLeft: Spacing$
|
|
12158
|
+
marginLeft: Spacing$q.SizesDdsSpacingLocalX0125
|
|
12159
12159
|
}
|
|
12160
12160
|
},
|
|
12161
12161
|
headingSans01: {
|
|
@@ -19958,13 +19958,13 @@ var getTextColor = function getTextColor(color) {
|
|
|
19958
19958
|
};
|
|
19959
19959
|
|
|
19960
19960
|
var getElementStyling = function getElementStyling(type) {
|
|
19961
|
-
return Ae(templateObject_1$
|
|
19961
|
+
return Ae(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n ", "\n &::selection, *::selection {\n ", "\n }\n "], ["\n ", "\n &::selection, *::selection {\n ", "\n }\n "])), typographyTokens.typographyType[type].base, typographyTokens.selection.base);
|
|
19962
19962
|
};
|
|
19963
19963
|
|
|
19964
19964
|
var LinkIconWrapper = styled(IconWrapper$1).withConfig({
|
|
19965
19965
|
displayName: "Typography__LinkIconWrapper",
|
|
19966
19966
|
componentId: "sc-1uvxoh6-0"
|
|
19967
|
-
})(templateObject_2$
|
|
19967
|
+
})(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), typographyTokens.typographyType.a.icon);
|
|
19968
19968
|
var StyledTypography = styled.p.withConfig({
|
|
19969
19969
|
displayName: "Typography__StyledTypography",
|
|
19970
19970
|
componentId: "sc-1uvxoh6-1"
|
|
@@ -20025,81 +20025,81 @@ var Typography = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20025
20025
|
}, void 0) : '']
|
|
20026
20026
|
}), void 0);
|
|
20027
20027
|
});
|
|
20028
|
-
var templateObject_1$
|
|
20028
|
+
var templateObject_1$F, templateObject_2$u, 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;
|
|
20029
20029
|
|
|
20030
20030
|
var RadioButtonGroupContext = /*#__PURE__*/React__default['default'].createContext(null);
|
|
20031
20031
|
var useRadioButtonGroup = function useRadioButtonGroup() {
|
|
20032
20032
|
return React.useContext(RadioButtonGroupContext);
|
|
20033
20033
|
};
|
|
20034
20034
|
|
|
20035
|
-
var Colors$
|
|
20035
|
+
var Colors$j = ddsBaseTokens.colors,
|
|
20036
20036
|
Border$8 = ddsBaseTokens.border,
|
|
20037
|
-
Spacing$
|
|
20038
|
-
FontPackages$
|
|
20037
|
+
Spacing$p = ddsBaseTokens.spacing,
|
|
20038
|
+
FontPackages$h = ddsBaseTokens.fontPackages;
|
|
20039
20039
|
var radioButtonBase = {
|
|
20040
20040
|
border: '1px solid',
|
|
20041
|
-
borderColor: Colors$
|
|
20042
|
-
backgroundColor: Colors$
|
|
20043
|
-
height: FontPackages$
|
|
20044
|
-
width: FontPackages$
|
|
20041
|
+
borderColor: Colors$j.DdsColorNeutralsGray5,
|
|
20042
|
+
backgroundColor: Colors$j.DdsColorNeutralsWhite,
|
|
20043
|
+
height: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber,
|
|
20044
|
+
width: FontPackages$h.supportingStyle_inputtext_02.numbers.fontSizeNumber
|
|
20045
20045
|
};
|
|
20046
20046
|
var radioButtonHoverBase = {
|
|
20047
20047
|
border: '2px solid',
|
|
20048
|
-
backgroundColor: Colors$
|
|
20049
|
-
borderColor: Colors$
|
|
20048
|
+
backgroundColor: Colors$j.DdsColorInteractiveLightest,
|
|
20049
|
+
borderColor: Colors$j.DdsColorInteractiveBase
|
|
20050
20050
|
};
|
|
20051
20051
|
var radioButtonDisabledBase = {
|
|
20052
20052
|
border: '1px solid',
|
|
20053
|
-
borderColor: Colors$
|
|
20054
|
-
color: Colors$
|
|
20053
|
+
borderColor: Colors$j.DdsColorNeutralsGray5,
|
|
20054
|
+
color: Colors$j.DdsColorNeutralsGray6
|
|
20055
20055
|
};
|
|
20056
20056
|
var radioButtonReadOnlyBase = {
|
|
20057
20057
|
backgroundColor: 'transparent'
|
|
20058
20058
|
};
|
|
20059
20059
|
var radioButtonDangerBase = {
|
|
20060
20060
|
border: '2px solid',
|
|
20061
|
-
borderColor: Colors$
|
|
20061
|
+
borderColor: Colors$j.DdsColorDangerBase
|
|
20062
20062
|
};
|
|
20063
20063
|
var radioButtonDangerHoverBase = {
|
|
20064
20064
|
border: '2px solid',
|
|
20065
|
-
backgroundColor: Colors$
|
|
20066
|
-
borderColor: Colors$
|
|
20065
|
+
backgroundColor: Colors$j.DdsColorDangerLightest,
|
|
20066
|
+
borderColor: Colors$j.DdsColorDangerBase
|
|
20067
20067
|
};
|
|
20068
20068
|
var radioButtonCheckedBase = {
|
|
20069
20069
|
border: '2px solid',
|
|
20070
|
-
backgroundColor: Colors$
|
|
20071
|
-
borderColor: Colors$
|
|
20070
|
+
backgroundColor: Colors$j.DdsColorInteractiveBase,
|
|
20071
|
+
borderColor: Colors$j.DdsColorInteractiveBase
|
|
20072
20072
|
};
|
|
20073
20073
|
var radioButtonCheckedHoverBase = {
|
|
20074
20074
|
border: '2px solid',
|
|
20075
|
-
backgroundColor: Colors$
|
|
20076
|
-
borderColor: Colors$
|
|
20075
|
+
backgroundColor: Colors$j.DdsColorInteractiveDark,
|
|
20076
|
+
borderColor: Colors$j.DdsColorInteractiveDark
|
|
20077
20077
|
};
|
|
20078
20078
|
var radioButtonCheckedDisabledBase = {
|
|
20079
20079
|
border: '1px solid',
|
|
20080
|
-
borderColor: Colors$
|
|
20081
|
-
backgroundColor: Colors$
|
|
20080
|
+
borderColor: Colors$j.DdsColorNeutralsGray6,
|
|
20081
|
+
backgroundColor: Colors$j.DdsColorNeutralsGray6
|
|
20082
20082
|
};
|
|
20083
20083
|
var radioButtonCheckedReadOnlyBase = {
|
|
20084
20084
|
border: '2px solid',
|
|
20085
|
-
borderColor: Colors$
|
|
20086
|
-
backgroundColor: Colors$
|
|
20085
|
+
borderColor: Colors$j.DdsColorNeutralsGray6,
|
|
20086
|
+
backgroundColor: Colors$j.DdsColorNeutralsGray6
|
|
20087
20087
|
};
|
|
20088
20088
|
var checkmarkBase$1 = {
|
|
20089
|
-
backgroundColor: Colors$
|
|
20090
|
-
height: Spacing$
|
|
20091
|
-
width: Spacing$
|
|
20092
|
-
left: "calc(50% - " + Spacing$
|
|
20093
|
-
top: "calc(50% - " + Spacing$
|
|
20089
|
+
backgroundColor: Colors$j.DdsColorNeutralsWhite,
|
|
20090
|
+
height: Spacing$p.SizesDdsSpacingLocalX05,
|
|
20091
|
+
width: Spacing$p.SizesDdsSpacingLocalX05,
|
|
20092
|
+
left: "calc(50% - " + Spacing$p.SizesDdsSpacingLocalX05NumberPx / 2 + "px)",
|
|
20093
|
+
top: "calc(50% - " + Spacing$p.SizesDdsSpacingLocalX05NumberPx / 2 + "px)"
|
|
20094
20094
|
};
|
|
20095
20095
|
var containerBase$4 = {
|
|
20096
|
-
marginRight: Spacing$
|
|
20097
|
-
padding: Spacing$
|
|
20096
|
+
marginRight: Spacing$p.SizesDdsSpacingLocalX075,
|
|
20097
|
+
padding: Spacing$p.SizesDdsSpacingLocalX025 + " " + Spacing$p.SizesDdsSpacingLocalX025 + " " + Spacing$p.SizesDdsSpacingLocalX025 + " " + (20 + Spacing$p.SizesDdsSpacingLocalX075NumberPx) + "px"
|
|
20098
20098
|
};
|
|
20099
20099
|
var radioButtonTokens = {
|
|
20100
20100
|
radioButton: {
|
|
20101
20101
|
base: radioButtonBase,
|
|
20102
|
-
spaceLeft: Spacing$
|
|
20102
|
+
spaceLeft: Spacing$p.SizesDdsSpacingLocalX025,
|
|
20103
20103
|
hover: {
|
|
20104
20104
|
base: radioButtonHoverBase
|
|
20105
20105
|
},
|
|
@@ -20134,7 +20134,7 @@ var radioButtonTokens = {
|
|
|
20134
20134
|
container: {
|
|
20135
20135
|
base: containerBase$4,
|
|
20136
20136
|
focusOutline: {
|
|
20137
|
-
color: Colors$
|
|
20137
|
+
color: Colors$j.DdsColorWarningDarker,
|
|
20138
20138
|
width: Border$8.BordersDdsBorderStyle1StrokeWeight
|
|
20139
20139
|
}
|
|
20140
20140
|
}
|
|
@@ -20143,7 +20143,7 @@ var radioButtonTokens = {
|
|
|
20143
20143
|
var CustomRadioButton = styled.span.withConfig({
|
|
20144
20144
|
displayName: "RadioButtonstyles__CustomRadioButton",
|
|
20145
20145
|
componentId: "sc-iwypha-0"
|
|
20146
|
-
})(templateObject_1$
|
|
20146
|
+
})(templateObject_1$E || (templateObject_1$E = __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);
|
|
20147
20147
|
var Input$4 = styled.input.attrs(function (_a) {
|
|
20148
20148
|
var _b = _a.type,
|
|
20149
20149
|
type = _b === void 0 ? 'radio' : _b;
|
|
@@ -20153,7 +20153,7 @@ var Input$4 = styled.input.attrs(function (_a) {
|
|
|
20153
20153
|
}).withConfig({
|
|
20154
20154
|
displayName: "RadioButtonstyles__Input",
|
|
20155
20155
|
componentId: "sc-iwypha-1"
|
|
20156
|
-
})(templateObject_2$
|
|
20156
|
+
})(templateObject_2$t || (templateObject_2$t = __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"])));
|
|
20157
20157
|
var Container$9 = styled.label.withConfig({
|
|
20158
20158
|
displayName: "RadioButtonstyles__Container",
|
|
20159
20159
|
componentId: "sc-iwypha-2"
|
|
@@ -20167,7 +20167,7 @@ var Container$9 = styled.label.withConfig({
|
|
|
20167
20167
|
var readOnly = _a.readOnly;
|
|
20168
20168
|
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);
|
|
20169
20169
|
}, CustomRadioButton, radioButtonTokens.checkmark.base);
|
|
20170
|
-
var templateObject_1$
|
|
20170
|
+
var templateObject_1$E, templateObject_2$t, templateObject_3$k, templateObject_4$g, templateObject_5$d, templateObject_6$c;
|
|
20171
20171
|
|
|
20172
20172
|
var nextUniqueId$6 = 0;
|
|
20173
20173
|
|
|
@@ -20240,14 +20240,14 @@ var RadioButton = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20240
20240
|
var MarkerWrapper = styled.span.withConfig({
|
|
20241
20241
|
displayName: "RequiredMarker__MarkerWrapper",
|
|
20242
20242
|
componentId: "sc-1p5sjqf-0"
|
|
20243
|
-
})(templateObject_1$
|
|
20243
|
+
})(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), ddsBaseTokens.colors.DdsColorDangerBase);
|
|
20244
20244
|
|
|
20245
20245
|
function RequiredMarker() {
|
|
20246
20246
|
return jsxRuntime.jsx(MarkerWrapper, {
|
|
20247
20247
|
children: "*"
|
|
20248
20248
|
}, void 0);
|
|
20249
20249
|
}
|
|
20250
|
-
var templateObject_1$
|
|
20250
|
+
var templateObject_1$D;
|
|
20251
20251
|
|
|
20252
20252
|
var ReportProblemOutlined = createCommonjsModule(function (module, exports) {
|
|
20253
20253
|
|
|
@@ -20273,21 +20273,21 @@ exports.default = _default;
|
|
|
20273
20273
|
|
|
20274
20274
|
var DangerOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ReportProblemOutlined);
|
|
20275
20275
|
|
|
20276
|
-
var Colors$
|
|
20277
|
-
Spacing$
|
|
20276
|
+
var Colors$i = ddsBaseTokens.colors,
|
|
20277
|
+
Spacing$o = ddsBaseTokens.spacing;
|
|
20278
20278
|
var base$8 = {
|
|
20279
|
-
padding: Spacing$
|
|
20279
|
+
padding: Spacing$o.SizesDdsSpacingLocalX025 + " " + Spacing$o.SizesDdsSpacingLocalX05
|
|
20280
20280
|
};
|
|
20281
20281
|
var defaultMaxWidth = '100%';
|
|
20282
20282
|
var tipBase = {
|
|
20283
|
-
backgroundColor: Colors$
|
|
20283
|
+
backgroundColor: Colors$i.DdsColorNeutralsWhite
|
|
20284
20284
|
};
|
|
20285
20285
|
var errorBase = {
|
|
20286
|
-
color: Colors$
|
|
20287
|
-
backgroundColor: Colors$
|
|
20286
|
+
color: Colors$i.DdsColorDangerBase,
|
|
20287
|
+
backgroundColor: Colors$i.DdsColorDangerLightest
|
|
20288
20288
|
};
|
|
20289
20289
|
var inputMessageTokens = {
|
|
20290
|
-
padding: Spacing$
|
|
20290
|
+
padding: Spacing$o.SizesDdsSpacingLocalX025 + " " + Spacing$o.SizesDdsSpacingLocalX05,
|
|
20291
20291
|
base: base$8,
|
|
20292
20292
|
defaultMaxWidth: defaultMaxWidth,
|
|
20293
20293
|
tip: {
|
|
@@ -20297,16 +20297,16 @@ var inputMessageTokens = {
|
|
|
20297
20297
|
base: errorBase
|
|
20298
20298
|
},
|
|
20299
20299
|
icon: {
|
|
20300
|
-
spaceRight: Spacing$
|
|
20300
|
+
spaceRight: Spacing$o.SizesDdsSpacingLocalX05
|
|
20301
20301
|
}
|
|
20302
20302
|
};
|
|
20303
20303
|
|
|
20304
20304
|
var InputMessageWrapper = styled.div.withConfig({
|
|
20305
20305
|
displayName: "InputMessage__InputMessageWrapper",
|
|
20306
20306
|
componentId: "sc-n5r6yv-0"
|
|
20307
|
-
})(templateObject_2$
|
|
20307
|
+
})(templateObject_2$s || (templateObject_2$s = __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) {
|
|
20308
20308
|
var messageType = _a.messageType;
|
|
20309
|
-
return messageType && Ae(templateObject_1$
|
|
20309
|
+
return messageType && Ae(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputMessageTokens[messageType].base);
|
|
20310
20310
|
}, function (_a) {
|
|
20311
20311
|
var maxWidth = _a.maxWidth;
|
|
20312
20312
|
return maxWidth;
|
|
@@ -20336,23 +20336,23 @@ function InputMessage(_a) {
|
|
|
20336
20336
|
}), void 0)]
|
|
20337
20337
|
}), void 0);
|
|
20338
20338
|
}
|
|
20339
|
-
var templateObject_1$
|
|
20339
|
+
var templateObject_1$C, templateObject_2$s;
|
|
20340
20340
|
|
|
20341
|
-
var Spacing$
|
|
20341
|
+
var Spacing$n = ddsBaseTokens.spacing;
|
|
20342
20342
|
var radioButtonGroupTokens = {
|
|
20343
20343
|
label: {
|
|
20344
|
-
spaceLeft: Spacing$
|
|
20344
|
+
spaceLeft: Spacing$n.SizesDdsSpacingLocalX025
|
|
20345
20345
|
}
|
|
20346
20346
|
};
|
|
20347
20347
|
|
|
20348
20348
|
var Container$8 = styled.div.withConfig({
|
|
20349
20349
|
displayName: "RadioButtonGroup__Container",
|
|
20350
20350
|
componentId: "sc-1xsll60-0"
|
|
20351
|
-
})(templateObject_1$
|
|
20351
|
+
})(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
|
|
20352
20352
|
var GroupContainer$1 = styled.div.withConfig({
|
|
20353
20353
|
displayName: "RadioButtonGroup__GroupContainer",
|
|
20354
20354
|
componentId: "sc-1xsll60-1"
|
|
20355
|
-
})(templateObject_2$
|
|
20355
|
+
})(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
|
|
20356
20356
|
var direction = _a.direction;
|
|
20357
20357
|
return direction !== null && direction !== void 0 ? direction : 'row';
|
|
20358
20358
|
});
|
|
@@ -20433,62 +20433,62 @@ var RadioButtonGroup = function RadioButtonGroup(_a) {
|
|
|
20433
20433
|
}, void 0) : '']
|
|
20434
20434
|
}), void 0);
|
|
20435
20435
|
};
|
|
20436
|
-
var templateObject_1$
|
|
20436
|
+
var templateObject_1$B, templateObject_2$r, templateObject_3$j;
|
|
20437
20437
|
|
|
20438
|
-
var Colors$
|
|
20438
|
+
var Colors$h = ddsBaseTokens.colors,
|
|
20439
20439
|
Border$7 = ddsBaseTokens.border,
|
|
20440
|
-
Spacing$
|
|
20441
|
-
FontPackages$
|
|
20440
|
+
Spacing$m = ddsBaseTokens.spacing,
|
|
20441
|
+
FontPackages$g = ddsBaseTokens.fontPackages,
|
|
20442
20442
|
BorderRadius$4 = ddsBaseTokens.borderRadius;
|
|
20443
20443
|
var checkboxBase = {
|
|
20444
20444
|
border: '1px solid',
|
|
20445
|
-
backgroundColor: Colors$
|
|
20446
|
-
borderColor: Colors$
|
|
20445
|
+
backgroundColor: Colors$h.DdsColorNeutralsWhite,
|
|
20446
|
+
borderColor: Colors$h.DdsColorNeutralsGray5,
|
|
20447
20447
|
borderRadius: BorderRadius$4.RadiiDdsBorderRadius1Radius,
|
|
20448
|
-
height: FontPackages$
|
|
20449
|
-
width: FontPackages$
|
|
20448
|
+
height: FontPackages$g.supportingStyle_inputtext_02.base.fontSize,
|
|
20449
|
+
width: FontPackages$g.supportingStyle_inputtext_02.base.fontSize
|
|
20450
20450
|
};
|
|
20451
20451
|
var checkboxCheckedBase = {
|
|
20452
20452
|
border: '2px solid',
|
|
20453
|
-
borderColor: Colors$
|
|
20454
|
-
backgroundColor: Colors$
|
|
20453
|
+
borderColor: Colors$h.DdsColorInteractiveBase,
|
|
20454
|
+
backgroundColor: Colors$h.DdsColorInteractiveBase
|
|
20455
20455
|
};
|
|
20456
20456
|
var checkboxDisabledBase = {
|
|
20457
20457
|
border: '1px solid',
|
|
20458
|
-
borderColor: Colors$
|
|
20459
|
-
color: Colors$
|
|
20458
|
+
borderColor: Colors$h.DdsColorNeutralsGray5,
|
|
20459
|
+
color: Colors$h.DdsColorNeutralsGray6
|
|
20460
20460
|
};
|
|
20461
20461
|
var checkboxCheckedDisabledBase = {
|
|
20462
20462
|
border: '2px solid',
|
|
20463
|
-
borderColor: Colors$
|
|
20464
|
-
backgroundColor: Colors$
|
|
20463
|
+
borderColor: Colors$h.DdsColorNeutralsGray6,
|
|
20464
|
+
backgroundColor: Colors$h.DdsColorNeutralsGray6
|
|
20465
20465
|
};
|
|
20466
20466
|
var checkboxReadOnlyBase = {
|
|
20467
20467
|
backgroundColor: 'transparent'
|
|
20468
20468
|
};
|
|
20469
20469
|
var checkboxCheckedReadOnlyBase = {
|
|
20470
20470
|
border: '2px solid',
|
|
20471
|
-
borderColor: Colors$
|
|
20472
|
-
backgroundColor: Colors$
|
|
20471
|
+
borderColor: Colors$h.DdsColorNeutralsGray6,
|
|
20472
|
+
backgroundColor: Colors$h.DdsColorNeutralsGray6
|
|
20473
20473
|
};
|
|
20474
20474
|
var checkboxHoverBase = {
|
|
20475
|
-
backgroundColor: Colors$
|
|
20475
|
+
backgroundColor: Colors$h.DdsColorInteractiveLightest,
|
|
20476
20476
|
border: '2px solid',
|
|
20477
|
-
borderColor: Colors$
|
|
20477
|
+
borderColor: Colors$h.DdsColorInteractiveBase
|
|
20478
20478
|
};
|
|
20479
20479
|
var checkboxCheckedHoverBase = {
|
|
20480
|
-
backgroundColor: Colors$
|
|
20480
|
+
backgroundColor: Colors$h.DdsColorInteractiveDark,
|
|
20481
20481
|
border: '2px solid',
|
|
20482
|
-
borderColor: Colors$
|
|
20482
|
+
borderColor: Colors$h.DdsColorInteractiveDark
|
|
20483
20483
|
};
|
|
20484
20484
|
var checkboxDangerBase = {
|
|
20485
20485
|
border: '2px solid',
|
|
20486
|
-
borderColor: Colors$
|
|
20486
|
+
borderColor: Colors$h.DdsColorDangerBase
|
|
20487
20487
|
};
|
|
20488
20488
|
var checkboxDangerHoverBase = {
|
|
20489
|
-
backgroundColor: Colors$
|
|
20489
|
+
backgroundColor: Colors$h.DdsColorDangerLightest,
|
|
20490
20490
|
border: '2px solid',
|
|
20491
|
-
borderColor: Colors$
|
|
20491
|
+
borderColor: Colors$h.DdsColorDangerBase
|
|
20492
20492
|
};
|
|
20493
20493
|
var checkmarkBase = {
|
|
20494
20494
|
borderWidth: '0 1px 1px 0',
|
|
@@ -20502,20 +20502,20 @@ var checkmarkIndeterminateBase = {
|
|
|
20502
20502
|
borderWidth: '1px 0 0 0'
|
|
20503
20503
|
};
|
|
20504
20504
|
|
|
20505
|
-
var containerBase$3 = __assign({}, FontPackages$
|
|
20505
|
+
var containerBase$3 = __assign({}, FontPackages$g.body_sans_02.base);
|
|
20506
20506
|
|
|
20507
|
-
var containerWithLabelBase = __assign(__assign({}, FontPackages$
|
|
20508
|
-
marginRight: Spacing$
|
|
20509
|
-
padding: "0 " + Spacing$
|
|
20507
|
+
var containerWithLabelBase = __assign(__assign({}, FontPackages$g.body_sans_02.base), {
|
|
20508
|
+
marginRight: Spacing$m.SizesDdsSpacingLocalX075,
|
|
20509
|
+
padding: "0 " + Spacing$m.SizesDdsSpacingLocalX025 + " 0 " + (FontPackages$g.supportingStyle_inputtext_02.numbers.fontSizeNumber + Spacing$m.SizesDdsSpacingLocalX075NumberPx) + "px"
|
|
20510
20510
|
});
|
|
20511
20511
|
|
|
20512
20512
|
var containerNoLabelBase = {
|
|
20513
|
-
padding: Spacing$
|
|
20513
|
+
padding: Spacing$m.SizesDdsSpacingLocalX075 + " " + Spacing$m.SizesDdsSpacingLocalX0125 + " " + Spacing$m.SizesDdsSpacingLocalX075 + " " + Spacing$m.SizesDdsSpacingLocalX15
|
|
20514
20514
|
};
|
|
20515
20515
|
var checkboxTokens = {
|
|
20516
20516
|
checkbox: {
|
|
20517
20517
|
base: checkboxBase,
|
|
20518
|
-
spaceLeft: Spacing$
|
|
20518
|
+
spaceLeft: Spacing$m.SizesDdsSpacingLocalX025,
|
|
20519
20519
|
hover: {
|
|
20520
20520
|
base: checkboxHoverBase
|
|
20521
20521
|
},
|
|
@@ -20558,7 +20558,7 @@ var checkboxTokens = {
|
|
|
20558
20558
|
},
|
|
20559
20559
|
checkmark: {
|
|
20560
20560
|
base: checkmarkBase,
|
|
20561
|
-
color: Colors$
|
|
20561
|
+
color: Colors$h.DdsColorNeutralsWhite,
|
|
20562
20562
|
indeterminate: {
|
|
20563
20563
|
base: checkmarkIndeterminateBase
|
|
20564
20564
|
}
|
|
@@ -20566,7 +20566,7 @@ var checkboxTokens = {
|
|
|
20566
20566
|
container: {
|
|
20567
20567
|
base: containerBase$3,
|
|
20568
20568
|
focusOutline: {
|
|
20569
|
-
color: Colors$
|
|
20569
|
+
color: Colors$h.DdsColorWarningDarker,
|
|
20570
20570
|
width: Border$7.BordersDdsBorderStyle1StrokeWeight
|
|
20571
20571
|
},
|
|
20572
20572
|
withLabel: {
|
|
@@ -20581,7 +20581,7 @@ var checkboxTokens = {
|
|
|
20581
20581
|
var CustomCheckbox = styled.span.withConfig({
|
|
20582
20582
|
displayName: "Checkboxstyles__CustomCheckbox",
|
|
20583
20583
|
componentId: "sc-17q1ubf-0"
|
|
20584
|
-
})(templateObject_1$
|
|
20584
|
+
})(templateObject_1$A || (templateObject_1$A = __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);
|
|
20585
20585
|
var Input$3 = styled.input.attrs(function (_a) {
|
|
20586
20586
|
var _b = _a.type,
|
|
20587
20587
|
type = _b === void 0 ? 'checkbox' : _b;
|
|
@@ -20591,7 +20591,7 @@ var Input$3 = styled.input.attrs(function (_a) {
|
|
|
20591
20591
|
}).withConfig({
|
|
20592
20592
|
displayName: "Checkboxstyles__Input",
|
|
20593
20593
|
componentId: "sc-17q1ubf-1"
|
|
20594
|
-
})(templateObject_2$
|
|
20594
|
+
})(templateObject_2$q || (templateObject_2$q = __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"])));
|
|
20595
20595
|
var Container$7 = styled.label.withConfig({
|
|
20596
20596
|
displayName: "Checkboxstyles__Container",
|
|
20597
20597
|
componentId: "sc-17q1ubf-2"
|
|
@@ -20616,7 +20616,7 @@ var Container$7 = styled.label.withConfig({
|
|
|
20616
20616
|
var indeterminate = _a.indeterminate;
|
|
20617
20617
|
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);
|
|
20618
20618
|
});
|
|
20619
|
-
var templateObject_1$
|
|
20619
|
+
var templateObject_1$A, templateObject_2$q, 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;
|
|
20620
20620
|
|
|
20621
20621
|
var nextUniqueId$5 = 0;
|
|
20622
20622
|
var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
@@ -20663,21 +20663,21 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
20663
20663
|
}), void 0);
|
|
20664
20664
|
});
|
|
20665
20665
|
|
|
20666
|
-
var Spacing$
|
|
20666
|
+
var Spacing$l = ddsBaseTokens.spacing;
|
|
20667
20667
|
var checkboxGroupTokens = {
|
|
20668
20668
|
label: {
|
|
20669
|
-
spaceLeft: Spacing$
|
|
20669
|
+
spaceLeft: Spacing$l.SizesDdsSpacingLocalX025
|
|
20670
20670
|
}
|
|
20671
20671
|
};
|
|
20672
20672
|
|
|
20673
20673
|
var Container$6 = styled.div.withConfig({
|
|
20674
20674
|
displayName: "CheckboxGroup__Container",
|
|
20675
20675
|
componentId: "sc-uixbzg-0"
|
|
20676
|
-
})(templateObject_1$
|
|
20676
|
+
})(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
|
|
20677
20677
|
var GroupContainer = styled.div.withConfig({
|
|
20678
20678
|
displayName: "CheckboxGroup__GroupContainer",
|
|
20679
20679
|
componentId: "sc-uixbzg-1"
|
|
20680
|
-
})(templateObject_2$
|
|
20680
|
+
})(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n"], ["\n display: flex;\n flex-direction: ", ";\n"])), function (_a) {
|
|
20681
20681
|
var direction = _a.direction;
|
|
20682
20682
|
return direction !== null && direction !== void 0 ? direction : 'row';
|
|
20683
20683
|
});
|
|
@@ -20722,57 +20722,57 @@ var CheckboxGroup = function CheckboxGroup(_a) {
|
|
|
20722
20722
|
}, void 0) : '']
|
|
20723
20723
|
}), void 0);
|
|
20724
20724
|
};
|
|
20725
|
-
var templateObject_1$
|
|
20725
|
+
var templateObject_1$z, templateObject_2$p, templateObject_3$h;
|
|
20726
20726
|
|
|
20727
20727
|
var calculateHeightWithLineHeight = function calculateHeightWithLineHeight(lineHeight, fontSize) {
|
|
20728
20728
|
return lineHeight * 0.01 * fontSize;
|
|
20729
20729
|
};
|
|
20730
20730
|
|
|
20731
|
-
var Colors$
|
|
20731
|
+
var Colors$g = ddsBaseTokens.colors,
|
|
20732
20732
|
Border$6 = ddsBaseTokens.border,
|
|
20733
|
-
Spacing$
|
|
20734
|
-
FontPackages$
|
|
20733
|
+
Spacing$k = ddsBaseTokens.spacing,
|
|
20734
|
+
FontPackages$f = ddsBaseTokens.fontPackages,
|
|
20735
20735
|
BorderRadius$3 = ddsBaseTokens.borderRadius,
|
|
20736
20736
|
OuterShadow$1 = ddsBaseTokens.outerShadow;
|
|
20737
|
-
var focus = ddsReferenceTokens.focus;
|
|
20737
|
+
var focus$1 = ddsReferenceTokens.focus;
|
|
20738
20738
|
|
|
20739
|
-
var justIconSmallBase = __assign(__assign({}, FontPackages$
|
|
20740
|
-
padding: Spacing$
|
|
20739
|
+
var justIconSmallBase = __assign(__assign({}, FontPackages$f.supportingStyle_inputtext_02.base), {
|
|
20740
|
+
padding: Spacing$k.SizesDdsSpacingLocalX05
|
|
20741
20741
|
});
|
|
20742
20742
|
|
|
20743
20743
|
var justIconWrapperSmallBase = {
|
|
20744
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20745
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20744
|
+
height: calculateHeightWithLineHeight(FontPackages$f.body_sans_01.numbers.lineHeightNumber, FontPackages$f.body_sans_01.numbers.fontSizeNumber) + "px",
|
|
20745
|
+
width: calculateHeightWithLineHeight(FontPackages$f.body_sans_01.numbers.lineHeightNumber, FontPackages$f.body_sans_01.numbers.fontSizeNumber) + "px"
|
|
20746
20746
|
};
|
|
20747
20747
|
|
|
20748
|
-
var textSmallBase = __assign(__assign({}, FontPackages$
|
|
20749
|
-
padding: Spacing$
|
|
20748
|
+
var textSmallBase = __assign(__assign({}, FontPackages$f.body_sans_01.base), {
|
|
20749
|
+
padding: Spacing$k.SizesDdsSpacingLocalX05 + " " + (Spacing$k.SizesDdsSpacingLocalX1NumberPx - 2) + "px"
|
|
20750
20750
|
});
|
|
20751
20751
|
|
|
20752
|
-
var justIconMediumBase = __assign(__assign({}, FontPackages$
|
|
20753
|
-
padding: Spacing$
|
|
20752
|
+
var justIconMediumBase = __assign(__assign({}, FontPackages$f.heading_sans_03.base), {
|
|
20753
|
+
padding: Spacing$k.SizesDdsSpacingLocalX075
|
|
20754
20754
|
});
|
|
20755
20755
|
|
|
20756
20756
|
var justIconWrapperMediumBase = {
|
|
20757
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20758
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20757
|
+
height: calculateHeightWithLineHeight(FontPackages$f.body_sans_02.numbers.lineHeightNumber, FontPackages$f.body_sans_02.numbers.fontSizeNumber) + "px",
|
|
20758
|
+
width: calculateHeightWithLineHeight(FontPackages$f.body_sans_02.numbers.lineHeightNumber, FontPackages$f.body_sans_02.numbers.fontSizeNumber) + "px"
|
|
20759
20759
|
};
|
|
20760
20760
|
|
|
20761
|
-
var textMediumBase = __assign(__assign({}, FontPackages$
|
|
20762
|
-
padding: Spacing$
|
|
20761
|
+
var textMediumBase = __assign(__assign({}, FontPackages$f.body_sans_02.base), {
|
|
20762
|
+
padding: Spacing$k.SizesDdsSpacingLocalX075 + " " + (Spacing$k.SizesDdsSpacingLocalX15NumberPx - 2) + "px"
|
|
20763
20763
|
});
|
|
20764
20764
|
|
|
20765
|
-
var justIconLargeBase = __assign(__assign({}, FontPackages$
|
|
20766
|
-
padding: Spacing$
|
|
20765
|
+
var justIconLargeBase = __assign(__assign({}, FontPackages$f.heading_sans_04.base), {
|
|
20766
|
+
padding: Spacing$k.SizesDdsSpacingLocalX1
|
|
20767
20767
|
});
|
|
20768
20768
|
|
|
20769
20769
|
var justIconWrapperLargeBase = {
|
|
20770
|
-
height: calculateHeightWithLineHeight(FontPackages$
|
|
20771
|
-
width: calculateHeightWithLineHeight(FontPackages$
|
|
20770
|
+
height: calculateHeightWithLineHeight(FontPackages$f.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$f.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px",
|
|
20771
|
+
width: calculateHeightWithLineHeight(FontPackages$f.supportingStyle_inputtext_03.numbers.lineHeightNumber, FontPackages$f.supportingStyle_inputtext_03.numbers.fontSizeNumber) + "px"
|
|
20772
20772
|
};
|
|
20773
20773
|
|
|
20774
|
-
var textLargeBase = __assign(__assign({}, FontPackages$
|
|
20775
|
-
padding: Spacing$
|
|
20774
|
+
var textLargeBase = __assign(__assign({}, FontPackages$f.supportingStyle_inputtext_03.base), {
|
|
20775
|
+
padding: Spacing$k.SizesDdsSpacingLocalX1 + " " + (Spacing$k.SizesDdsSpacingLocalX2NumberPx - 2) + "px"
|
|
20776
20776
|
});
|
|
20777
20777
|
|
|
20778
20778
|
var buttonBase = {
|
|
@@ -20781,56 +20781,56 @@ var buttonBase = {
|
|
|
20781
20781
|
var filledButtonColors = {
|
|
20782
20782
|
primary: {
|
|
20783
20783
|
base: {
|
|
20784
|
-
color: Colors$
|
|
20785
|
-
backgroundColor: Colors$
|
|
20786
|
-
borderColor: Colors$
|
|
20784
|
+
color: Colors$g.DdsColorNeutralsWhite,
|
|
20785
|
+
backgroundColor: Colors$g.DdsColorInteractiveBase,
|
|
20786
|
+
borderColor: Colors$g.DdsColorInteractiveBase
|
|
20787
20787
|
},
|
|
20788
20788
|
hover: {
|
|
20789
20789
|
base: {
|
|
20790
|
-
backgroundColor: Colors$
|
|
20791
|
-
borderColor: Colors$
|
|
20790
|
+
backgroundColor: Colors$g.DdsColorInteractiveDark,
|
|
20791
|
+
borderColor: Colors$g.DdsColorInteractiveDark
|
|
20792
20792
|
}
|
|
20793
20793
|
},
|
|
20794
20794
|
active: {
|
|
20795
20795
|
base: {
|
|
20796
|
-
backgroundColor: Colors$
|
|
20797
|
-
borderColor: Colors$
|
|
20796
|
+
backgroundColor: Colors$g.DdsColorInteractiveDarker,
|
|
20797
|
+
borderColor: Colors$g.DdsColorInteractiveDarker
|
|
20798
20798
|
}
|
|
20799
20799
|
}
|
|
20800
20800
|
},
|
|
20801
20801
|
secondary: {
|
|
20802
20802
|
base: {
|
|
20803
|
-
color: Colors$
|
|
20804
|
-
backgroundColor: Colors$
|
|
20805
|
-
borderColor: Colors$
|
|
20803
|
+
color: Colors$g.DdsColorNeutralsGray8,
|
|
20804
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray1,
|
|
20805
|
+
borderColor: Colors$g.DdsColorNeutralsGray5
|
|
20806
20806
|
},
|
|
20807
20807
|
hover: {
|
|
20808
20808
|
base: {
|
|
20809
|
-
backgroundColor: Colors$
|
|
20809
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray2
|
|
20810
20810
|
}
|
|
20811
20811
|
},
|
|
20812
20812
|
active: {
|
|
20813
20813
|
base: {
|
|
20814
|
-
backgroundColor: Colors$
|
|
20814
|
+
backgroundColor: Colors$g.DdsColorNeutralsGray3
|
|
20815
20815
|
}
|
|
20816
20816
|
}
|
|
20817
20817
|
},
|
|
20818
20818
|
danger: {
|
|
20819
20819
|
base: {
|
|
20820
|
-
color: Colors$
|
|
20821
|
-
backgroundColor: Colors$
|
|
20822
|
-
borderColor: Colors$
|
|
20820
|
+
color: Colors$g.DdsColorNeutralsWhite,
|
|
20821
|
+
backgroundColor: Colors$g.DdsColorDangerBase,
|
|
20822
|
+
borderColor: Colors$g.DdsColorDangerBase
|
|
20823
20823
|
},
|
|
20824
20824
|
hover: {
|
|
20825
20825
|
base: {
|
|
20826
|
-
backgroundColor: Colors$
|
|
20827
|
-
borderColor: Colors$
|
|
20826
|
+
backgroundColor: Colors$g.DdsColorDangerDark,
|
|
20827
|
+
borderColor: Colors$g.DdsColorDangerDark
|
|
20828
20828
|
}
|
|
20829
20829
|
},
|
|
20830
20830
|
active: {
|
|
20831
20831
|
base: {
|
|
20832
|
-
backgroundColor: Colors$
|
|
20833
|
-
borderColor: Colors$
|
|
20832
|
+
backgroundColor: Colors$g.DdsColorDangerDarker,
|
|
20833
|
+
borderColor: Colors$g.DdsColorDangerDarker
|
|
20834
20834
|
}
|
|
20835
20835
|
}
|
|
20836
20836
|
}
|
|
@@ -20885,62 +20885,62 @@ var borderlessBase = {
|
|
|
20885
20885
|
textDecorationColor: 'transparent'
|
|
20886
20886
|
};
|
|
20887
20887
|
var borderlessPrimaryBase = {
|
|
20888
|
-
color: Colors$
|
|
20889
|
-
taxtDecorationColor: Colors$
|
|
20888
|
+
color: Colors$g.DdsColorInteractiveBase,
|
|
20889
|
+
taxtDecorationColor: Colors$g.DdsColorInteractiveBase
|
|
20890
20890
|
};
|
|
20891
20891
|
var borderlessPrimaryHoverBase = {
|
|
20892
|
-
color: Colors$
|
|
20893
|
-
textDecorationColor: Colors$
|
|
20892
|
+
color: Colors$g.DdsColorInteractiveDark,
|
|
20893
|
+
textDecorationColor: Colors$g.DdsColorInteractiveDark
|
|
20894
20894
|
};
|
|
20895
20895
|
var borderlessPrimaryActiveBase = {
|
|
20896
|
-
color: Colors$
|
|
20897
|
-
textDecorationColor: Colors$
|
|
20896
|
+
color: Colors$g.DdsColorInteractiveDarker,
|
|
20897
|
+
textDecorationColor: Colors$g.DdsColorInteractiveDarker
|
|
20898
20898
|
};
|
|
20899
20899
|
var borderlessPrimaryIconHoverBase = {
|
|
20900
|
-
borderColor: Colors$
|
|
20901
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20900
|
+
borderColor: Colors$g.DdsColorInteractiveDark,
|
|
20901
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorInteractiveDark
|
|
20902
20902
|
};
|
|
20903
20903
|
var borderlessPrimaryIconActiveBase = {
|
|
20904
|
-
borderColor: Colors$
|
|
20905
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20904
|
+
borderColor: Colors$g.DdsColorInteractiveDarker,
|
|
20905
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorInteractiveDarker
|
|
20906
20906
|
};
|
|
20907
20907
|
var borderlessSecondaryBase = {
|
|
20908
|
-
color: Colors$
|
|
20908
|
+
color: Colors$g.DdsColorNeutralsGray7
|
|
20909
20909
|
};
|
|
20910
20910
|
var borderlessSecondaryHoverBase = {
|
|
20911
|
-
color: Colors$
|
|
20912
|
-
textDecorationColor: Colors$
|
|
20911
|
+
color: Colors$g.DdsColorNeutralsGray8,
|
|
20912
|
+
textDecorationColor: Colors$g.DdsColorNeutralsGray8
|
|
20913
20913
|
};
|
|
20914
20914
|
var borderlessSecondaryActiveBase = {
|
|
20915
|
-
color: Colors$
|
|
20916
|
-
textDecorationColor: Colors$
|
|
20915
|
+
color: Colors$g.DdsColorNeutralsGray9,
|
|
20916
|
+
textDecorationColor: Colors$g.DdsColorNeutralsGray9
|
|
20917
20917
|
};
|
|
20918
20918
|
var borderlessSecondaryIconHoverBase = {
|
|
20919
|
-
borderColor: Colors$
|
|
20920
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20919
|
+
borderColor: Colors$g.DdsColorNeutralsGray8,
|
|
20920
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorNeutralsGray8
|
|
20921
20921
|
};
|
|
20922
20922
|
var borderlessSecondaryIconActiveBase = {
|
|
20923
|
-
borderColor: Colors$
|
|
20924
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20923
|
+
borderColor: Colors$g.DdsColorNeutralsGray9,
|
|
20924
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorNeutralsGray9
|
|
20925
20925
|
};
|
|
20926
20926
|
var borderlessDangerBase = {
|
|
20927
|
-
color: Colors$
|
|
20927
|
+
color: Colors$g.DdsColorDangerBase
|
|
20928
20928
|
};
|
|
20929
20929
|
var borderlessDangerHoverBase = {
|
|
20930
|
-
color: Colors$
|
|
20931
|
-
textDecorationColor: Colors$
|
|
20930
|
+
color: Colors$g.DdsColorDangerDarker,
|
|
20931
|
+
textDecorationColor: Colors$g.DdsColorDangerDarker
|
|
20932
20932
|
};
|
|
20933
20933
|
var borderlessDangerActiveBase = {
|
|
20934
|
-
color: Colors$
|
|
20935
|
-
textDecorationColor: Colors$
|
|
20934
|
+
color: Colors$g.DdsColorDangerDarkest,
|
|
20935
|
+
textDecorationColor: Colors$g.DdsColorDangerDarkest
|
|
20936
20936
|
};
|
|
20937
20937
|
var borderlessDangerIconHoverBase = {
|
|
20938
|
-
borderColor: Colors$
|
|
20939
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20938
|
+
borderColor: Colors$g.DdsColorDangerDark,
|
|
20939
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorDangerDark
|
|
20940
20940
|
};
|
|
20941
20941
|
var borderlessDangerIconActiveBase = {
|
|
20942
|
-
borderColor: Colors$
|
|
20943
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20942
|
+
borderColor: Colors$g.DdsColorDangerDarker,
|
|
20943
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorDangerDarker
|
|
20944
20944
|
};
|
|
20945
20945
|
var ghostBase = {
|
|
20946
20946
|
borderRadius: BorderRadius$3.RadiiDdsBorderRadius1Radius,
|
|
@@ -20948,46 +20948,46 @@ var ghostBase = {
|
|
|
20948
20948
|
backgroundColor: 'transparent'
|
|
20949
20949
|
};
|
|
20950
20950
|
var ghostPrimaryBase = {
|
|
20951
|
-
color: Colors$
|
|
20952
|
-
borderColor: Colors$
|
|
20951
|
+
color: Colors$g.DdsColorInteractiveBase,
|
|
20952
|
+
borderColor: Colors$g.DdsColorInteractiveBase
|
|
20953
20953
|
};
|
|
20954
20954
|
var ghostPrimaryHoverBase = {
|
|
20955
|
-
color: Colors$
|
|
20956
|
-
borderColor: Colors$
|
|
20957
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20955
|
+
color: Colors$g.DdsColorInteractiveDark,
|
|
20956
|
+
borderColor: Colors$g.DdsColorInteractiveDark,
|
|
20957
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorInteractiveDark
|
|
20958
20958
|
};
|
|
20959
20959
|
var ghostPrimaryActiveBase = {
|
|
20960
|
-
color: Colors$
|
|
20961
|
-
borderColor: Colors$
|
|
20962
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20960
|
+
color: Colors$g.DdsColorInteractiveDarker,
|
|
20961
|
+
borderColor: Colors$g.DdsColorInteractiveDarker,
|
|
20962
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorInteractiveDarker
|
|
20963
20963
|
};
|
|
20964
20964
|
var ghostSecondaryBase = {
|
|
20965
|
-
color: Colors$
|
|
20966
|
-
borderColor: Colors$
|
|
20965
|
+
color: Colors$g.DdsColorNeutralsGray7,
|
|
20966
|
+
borderColor: Colors$g.DdsColorNeutralsGray7
|
|
20967
20967
|
};
|
|
20968
20968
|
var ghostSecondaryHoverBase = {
|
|
20969
|
-
color: Colors$
|
|
20970
|
-
borderColor: Colors$
|
|
20971
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20969
|
+
color: Colors$g.DdsColorNeutralsGray8,
|
|
20970
|
+
borderColor: Colors$g.DdsColorNeutralsGray8,
|
|
20971
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorNeutralsGray8
|
|
20972
20972
|
};
|
|
20973
20973
|
var ghostSecondaryActiveBase = {
|
|
20974
|
-
color: Colors$
|
|
20975
|
-
borderColor: Colors$
|
|
20976
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20974
|
+
color: Colors$g.DdsColorNeutralsGray9,
|
|
20975
|
+
borderColor: Colors$g.DdsColorNeutralsGray9,
|
|
20976
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorNeutralsGray9
|
|
20977
20977
|
};
|
|
20978
20978
|
var ghostDangerBase = {
|
|
20979
|
-
color: Colors$
|
|
20980
|
-
borderColor: Colors$
|
|
20979
|
+
color: Colors$g.DdsColorDangerBase,
|
|
20980
|
+
borderColor: Colors$g.DdsColorDangerBase
|
|
20981
20981
|
};
|
|
20982
20982
|
var ghostDangerHoverBase = {
|
|
20983
|
-
color: Colors$
|
|
20984
|
-
borderColor: Colors$
|
|
20985
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20983
|
+
color: Colors$g.DdsColorDangerDark,
|
|
20984
|
+
borderColor: Colors$g.DdsColorDangerDark,
|
|
20985
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorDangerDark
|
|
20986
20986
|
};
|
|
20987
20987
|
var ghostDangerActiveBase = {
|
|
20988
|
-
color: Colors$
|
|
20989
|
-
borderColor: Colors$
|
|
20990
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
20988
|
+
color: Colors$g.DdsColorDangerDarkest,
|
|
20989
|
+
borderColor: Colors$g.DdsColorDangerDarkest,
|
|
20990
|
+
boxShadow: "0 0 0 1px " + Colors$g.DdsColorDangerDarkest
|
|
20991
20991
|
};
|
|
20992
20992
|
var roundedBase = {
|
|
20993
20993
|
borderRadius: '100px',
|
|
@@ -20996,8 +20996,8 @@ var roundedBase = {
|
|
|
20996
20996
|
var buttonTokens = {
|
|
20997
20997
|
base: buttonBase,
|
|
20998
20998
|
focusOutline: {
|
|
20999
|
-
color: focus.colorDefault,
|
|
21000
|
-
width: focus.outlineWidth
|
|
20999
|
+
color: focus$1.colorDefault,
|
|
21000
|
+
width: focus$1.outlineWidth
|
|
21001
21001
|
},
|
|
21002
21002
|
sizes: {
|
|
21003
21003
|
small: {
|
|
@@ -21010,7 +21010,7 @@ var buttonTokens = {
|
|
|
21010
21010
|
text: {
|
|
21011
21011
|
base: textSmallBase
|
|
21012
21012
|
},
|
|
21013
|
-
iconWithTextMargin: Spacing$
|
|
21013
|
+
iconWithTextMargin: Spacing$k.SizesDdsSpacingLocalX025
|
|
21014
21014
|
},
|
|
21015
21015
|
medium: {
|
|
21016
21016
|
justIcon: {
|
|
@@ -21022,7 +21022,7 @@ var buttonTokens = {
|
|
|
21022
21022
|
text: {
|
|
21023
21023
|
base: textMediumBase
|
|
21024
21024
|
},
|
|
21025
|
-
iconWithTextMargin: Spacing$
|
|
21025
|
+
iconWithTextMargin: Spacing$k.SizesDdsSpacingLocalX05
|
|
21026
21026
|
},
|
|
21027
21027
|
large: {
|
|
21028
21028
|
justIcon: {
|
|
@@ -21034,7 +21034,7 @@ var buttonTokens = {
|
|
|
21034
21034
|
text: {
|
|
21035
21035
|
base: textLargeBase
|
|
21036
21036
|
},
|
|
21037
|
-
iconWithTextMargin: Spacing$
|
|
21037
|
+
iconWithTextMargin: Spacing$k.SizesDdsSpacingLocalX075
|
|
21038
21038
|
}
|
|
21039
21039
|
},
|
|
21040
21040
|
appearance: {
|
|
@@ -21185,9 +21185,9 @@ var buttonTokens = {
|
|
|
21185
21185
|
}
|
|
21186
21186
|
};
|
|
21187
21187
|
|
|
21188
|
-
var Colors$
|
|
21188
|
+
var Colors$f = ddsBaseTokens.colors;
|
|
21189
21189
|
var ciclreBase = {
|
|
21190
|
-
stroke: Colors$
|
|
21190
|
+
stroke: Colors$f.DdsColorInteractiveBase
|
|
21191
21191
|
};
|
|
21192
21192
|
var spinnerTokens = {
|
|
21193
21193
|
circle: {
|
|
@@ -21198,7 +21198,7 @@ var spinnerTokens = {
|
|
|
21198
21198
|
var StyledSpinner = styled.svg.withConfig({
|
|
21199
21199
|
displayName: "Spinner__StyledSpinner",
|
|
21200
21200
|
componentId: "sc-13hsttm-0"
|
|
21201
|
-
})(templateObject_1$
|
|
21201
|
+
})(templateObject_1$y || (templateObject_1$y = __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) {
|
|
21202
21202
|
var outerAnimationDelay = _a.outerAnimationDelay;
|
|
21203
21203
|
return outerAnimationDelay;
|
|
21204
21204
|
}, function (_a) {
|
|
@@ -21211,7 +21211,7 @@ var StyledSpinner = styled.svg.withConfig({
|
|
|
21211
21211
|
var Circle = styled.circle.withConfig({
|
|
21212
21212
|
displayName: "Spinner__Circle",
|
|
21213
21213
|
componentId: "sc-13hsttm-1"
|
|
21214
|
-
})(templateObject_2$
|
|
21214
|
+
})(templateObject_2$o || (templateObject_2$o = __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) {
|
|
21215
21215
|
var color = _a.color;
|
|
21216
21216
|
return color && getTextColor(color);
|
|
21217
21217
|
}, function (_a) {
|
|
@@ -21254,7 +21254,7 @@ function Spinner(_a) {
|
|
|
21254
21254
|
}), void 0)]
|
|
21255
21255
|
}), void 0);
|
|
21256
21256
|
}
|
|
21257
|
-
var templateObject_1$
|
|
21257
|
+
var templateObject_1$y, templateObject_2$o;
|
|
21258
21258
|
|
|
21259
21259
|
var ButtonWrapper$1 = styled.button.withConfig({
|
|
21260
21260
|
displayName: "Buttonstyles__ButtonWrapper",
|
|
@@ -21265,13 +21265,13 @@ var ButtonWrapper$1 = styled.button.withConfig({
|
|
|
21265
21265
|
}, function (_a) {
|
|
21266
21266
|
var appearance = _a.appearance,
|
|
21267
21267
|
purpose = _a.purpose;
|
|
21268
|
-
return Ae(templateObject_1$
|
|
21268
|
+
return Ae(templateObject_1$x || (templateObject_1$x = __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);
|
|
21269
21269
|
}, function (_a) {
|
|
21270
21270
|
var hasIcon = _a.hasIcon,
|
|
21271
21271
|
hasLabel = _a.hasLabel,
|
|
21272
21272
|
appearance = _a.appearance,
|
|
21273
21273
|
purpose = _a.purpose;
|
|
21274
|
-
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$
|
|
21274
|
+
return hasIcon && !hasLabel && appearance === 'borderless' && Ae(templateObject_2$n || (templateObject_2$n = __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);
|
|
21275
21275
|
}, function (_a) {
|
|
21276
21276
|
var size = _a.size,
|
|
21277
21277
|
hasLabel = _a.hasLabel;
|
|
@@ -21302,7 +21302,7 @@ var Label$2 = styled.span.withConfig({
|
|
|
21302
21302
|
displayName: "Buttonstyles__Label",
|
|
21303
21303
|
componentId: "sc-14dutqk-3"
|
|
21304
21304
|
})(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject([""], [""])));
|
|
21305
|
-
var templateObject_1$
|
|
21305
|
+
var templateObject_1$x, templateObject_2$n, 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;
|
|
21306
21306
|
|
|
21307
21307
|
var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
21308
21308
|
var label = _a.label,
|
|
@@ -21380,21 +21380,21 @@ var Button = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
21380
21380
|
}), void 0);
|
|
21381
21381
|
});
|
|
21382
21382
|
|
|
21383
|
-
var Colors$
|
|
21384
|
-
Spacing$
|
|
21383
|
+
var Colors$e = ddsBaseTokens.colors,
|
|
21384
|
+
Spacing$j = ddsBaseTokens.spacing;
|
|
21385
21385
|
var TextInput$3 = ddsReferenceTokens.textInput;
|
|
21386
21386
|
var inputMultilineBase = {
|
|
21387
|
-
paddingBottom: Spacing$
|
|
21387
|
+
paddingBottom: Spacing$j.SizesDdsSpacingLocalX05
|
|
21388
21388
|
};
|
|
21389
21389
|
var inputMultilineWithLabelBase = {
|
|
21390
|
-
paddingTop: Spacing$
|
|
21390
|
+
paddingTop: Spacing$j.SizesDdsSpacingLocalX2
|
|
21391
21391
|
};
|
|
21392
21392
|
var inputMultilineNoLabelBase = {
|
|
21393
|
-
paddingTop: Spacing$
|
|
21393
|
+
paddingTop: Spacing$j.SizesDdsSpacingLocalX075
|
|
21394
21394
|
};
|
|
21395
21395
|
var inputLabelMultilineBase = {
|
|
21396
|
-
backgroundColor: Colors$
|
|
21397
|
-
padding: Spacing$
|
|
21396
|
+
backgroundColor: Colors$e.DdsColorNeutralsWhite,
|
|
21397
|
+
padding: Spacing$j.SizesDdsSpacingLocalX075NumberPx - 1 + "px " + Spacing$j.SizesDdsSpacingLocalX1 + " 0px " + (Spacing$j.SizesDdsSpacingLocalX1NumberPx - 1) + "px"
|
|
21398
21398
|
};
|
|
21399
21399
|
var defaultWidth$2 = '320px';
|
|
21400
21400
|
var textInputTokens = {
|
|
@@ -21429,68 +21429,68 @@ var textInputTokens = {
|
|
|
21429
21429
|
}
|
|
21430
21430
|
};
|
|
21431
21431
|
|
|
21432
|
-
var Spacing$
|
|
21432
|
+
var Spacing$i = ddsBaseTokens.spacing;
|
|
21433
21433
|
var charCounterBase = {
|
|
21434
|
-
padding: Spacing$
|
|
21434
|
+
padding: Spacing$i.SizesDdsSpacingLocalX025 + " " + Spacing$i.SizesDdsSpacingLocalX05
|
|
21435
21435
|
};
|
|
21436
21436
|
var charCounterTokens = {
|
|
21437
21437
|
base: charCounterBase
|
|
21438
21438
|
};
|
|
21439
21439
|
|
|
21440
|
-
var Wrapper$
|
|
21440
|
+
var Wrapper$5 = styled(Typography).withConfig({
|
|
21441
21441
|
displayName: "CharCounter__Wrapper",
|
|
21442
21442
|
componentId: "sc-qty1z2-0"
|
|
21443
|
-
})(templateObject_1$
|
|
21443
|
+
})(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n margin-left: auto;\n ", "\n"], ["\n margin-left: auto;\n ", "\n"])), charCounterTokens.base);
|
|
21444
21444
|
|
|
21445
21445
|
function CharCounter(_a) {
|
|
21446
21446
|
var current = _a.current,
|
|
21447
21447
|
max = _a.max;
|
|
21448
|
-
return jsxRuntime.jsxs(Wrapper$
|
|
21448
|
+
return jsxRuntime.jsxs(Wrapper$5, __assign({
|
|
21449
21449
|
forwardedAs: "div",
|
|
21450
21450
|
typographyType: "supportingStyleHelperText01"
|
|
21451
21451
|
}, {
|
|
21452
21452
|
children: [current, "/", max]
|
|
21453
21453
|
}), void 0);
|
|
21454
21454
|
}
|
|
21455
|
-
var templateObject_1$
|
|
21455
|
+
var templateObject_1$w;
|
|
21456
21456
|
|
|
21457
|
-
var Colors$
|
|
21458
|
-
Spacing$
|
|
21459
|
-
FontPackages$
|
|
21457
|
+
var Colors$d = ddsBaseTokens.colors,
|
|
21458
|
+
Spacing$h = ddsBaseTokens.spacing,
|
|
21459
|
+
FontPackages$e = ddsBaseTokens.fontPackages;
|
|
21460
21460
|
var TextInput$2 = ddsReferenceTokens.textInput;
|
|
21461
21461
|
var inputBase$2 = {
|
|
21462
|
-
border: "1px solid " + Colors$
|
|
21462
|
+
border: "1px solid " + Colors$d.DdsColorNeutralsGray5
|
|
21463
21463
|
};
|
|
21464
21464
|
var inputWithLabelBase = {
|
|
21465
|
-
padding: Spacing$
|
|
21465
|
+
padding: Spacing$h.SizesDdsSpacingLocalX075NumberPx + FontPackages$e.supportingStyle_label_01.numbers.lineHeightNumber * 0.01 * FontPackages$e.supportingStyle_label_01.numbers.fontSizeNumber + "px " + Spacing$h.SizesDdsSpacingLocalX1 + " " + Spacing$h.SizesDdsSpacingLocalX075 + " " + Spacing$h.SizesDdsSpacingLocalX1
|
|
21466
21466
|
};
|
|
21467
21467
|
var inputNoLabelBase$1 = {
|
|
21468
|
-
padding: Spacing$
|
|
21468
|
+
padding: Spacing$h.SizesDdsSpacingLocalX075 + " " + Spacing$h.SizesDdsSpacingLocalX1 + " " + Spacing$h.SizesDdsSpacingLocalX075 + " " + Spacing$h.SizesDdsSpacingLocalX1
|
|
21469
21469
|
};
|
|
21470
21470
|
var inputDisabledBase = {
|
|
21471
|
-
color: Colors$
|
|
21472
|
-
backgroundColor: Colors$
|
|
21471
|
+
color: Colors$d.DdsColorNeutralsGray7,
|
|
21472
|
+
backgroundColor: Colors$d.DdsColorNeutralsGray1
|
|
21473
21473
|
};
|
|
21474
21474
|
var inputErrorBase = {
|
|
21475
|
-
borderColor: Colors$
|
|
21476
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21475
|
+
borderColor: Colors$d.DdsColorDangerBase,
|
|
21476
|
+
boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerBase
|
|
21477
21477
|
};
|
|
21478
21478
|
var inputErrorHoverBase = {
|
|
21479
|
-
backgroundColor: Colors$
|
|
21480
|
-
borderColor: Colors$
|
|
21481
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21479
|
+
backgroundColor: Colors$d.DdsColorDangerLightest,
|
|
21480
|
+
borderColor: Colors$d.DdsColorDangerBase,
|
|
21481
|
+
boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerBase
|
|
21482
21482
|
};
|
|
21483
21483
|
var inputErrorFocusBase = {
|
|
21484
|
-
borderColor: Colors$
|
|
21485
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
21484
|
+
borderColor: Colors$d.DdsColorDangerDarker,
|
|
21485
|
+
boxShadow: "0 0 0 1px " + Colors$d.DdsColorDangerDarker
|
|
21486
21486
|
};
|
|
21487
21487
|
var inputReadOnlyBase = {
|
|
21488
21488
|
border: 'none',
|
|
21489
21489
|
backgroundColor: 'transparent',
|
|
21490
|
-
paddingLeft: Spacing$
|
|
21490
|
+
paddingLeft: Spacing$h.SizesDdsSpacingLocalX1
|
|
21491
21491
|
};
|
|
21492
21492
|
var inputLabelBase = {
|
|
21493
|
-
padding: Spacing$
|
|
21493
|
+
padding: Spacing$h.SizesDdsSpacingLocalX075 + " " + Spacing$h.SizesDdsSpacingLocalX1
|
|
21494
21494
|
};
|
|
21495
21495
|
var inputLabelHoverBase = {
|
|
21496
21496
|
color: TextInput$2.label.hover.textColor
|
|
@@ -21499,7 +21499,7 @@ var inputLabelFocusBase = {
|
|
|
21499
21499
|
color: TextInput$2.label.focus.textColor
|
|
21500
21500
|
};
|
|
21501
21501
|
var inputLabelDisabledBase = {
|
|
21502
|
-
color: Colors$
|
|
21502
|
+
color: Colors$d.DdsColorNeutralsGray6
|
|
21503
21503
|
};
|
|
21504
21504
|
var inputTokens = {
|
|
21505
21505
|
general: TextInput$2,
|
|
@@ -21562,16 +21562,16 @@ var hoverBase$1 = {
|
|
|
21562
21562
|
backgroundColor: TextInput$1.input.hover.backgroundColor
|
|
21563
21563
|
};
|
|
21564
21564
|
var inputFieldStylingBase = function inputFieldStylingBase() {
|
|
21565
|
-
return Ae(templateObject_1$
|
|
21565
|
+
return Ae(templateObject_1$v || (templateObject_1$v = __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);
|
|
21566
21566
|
};
|
|
21567
|
-
var templateObject_1$
|
|
21567
|
+
var templateObject_1$v;
|
|
21568
21568
|
|
|
21569
21569
|
var inputStyling = function inputStyling(_a) {
|
|
21570
21570
|
var readOnly = _a.readOnly,
|
|
21571
21571
|
errorMessage = _a.errorMessage,
|
|
21572
21572
|
label = _a.label,
|
|
21573
21573
|
disabled = _a.disabled;
|
|
21574
|
-
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$
|
|
21574
|
+
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$u || (templateObject_1$u = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), inputTokens.withLabel.base) : Ae(templateObject_2$m || (templateObject_2$m = __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));
|
|
21575
21575
|
};
|
|
21576
21576
|
var Input$2 = styled.input.withConfig({
|
|
21577
21577
|
displayName: "Inputstyles__Input",
|
|
@@ -21606,10 +21606,10 @@ var OuterInputContainer = styled.div.withConfig({
|
|
|
21606
21606
|
var width = _a.width;
|
|
21607
21607
|
return width;
|
|
21608
21608
|
});
|
|
21609
|
-
var templateObject_1$
|
|
21609
|
+
var templateObject_1$u, templateObject_2$m, 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;
|
|
21610
21610
|
|
|
21611
|
-
var scrollbarStyling = Ae(templateObject_1$
|
|
21612
|
-
var templateObject_1$
|
|
21611
|
+
var scrollbarStyling = Ae(templateObject_1$t || (templateObject_1$t = __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)');
|
|
21612
|
+
var templateObject_1$t;
|
|
21613
21613
|
|
|
21614
21614
|
var TextArea = styled.textarea.withConfig({
|
|
21615
21615
|
displayName: "TextInputstyles__TextArea",
|
|
@@ -21630,7 +21630,7 @@ var TextArea = styled.textarea.withConfig({
|
|
|
21630
21630
|
return label ? textInputTokens.container.multiline.withLabel.height : textInputTokens.container.multiline.noLabel.height;
|
|
21631
21631
|
}, textInputTokens.multiline.base, function (_a) {
|
|
21632
21632
|
var label = _a.label;
|
|
21633
|
-
return label ? Ae(templateObject_1$
|
|
21633
|
+
return label ? Ae(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.withLabel.base) : Ae(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), textInputTokens.multiline.noLabel.base);
|
|
21634
21634
|
}, function (_a) {
|
|
21635
21635
|
var errorMessage = _a.errorMessage;
|
|
21636
21636
|
return errorMessage ? inputTokens.error.hover.base.backgroundColor : inputTokens.general.input.hover.backgroundColor;
|
|
@@ -21672,7 +21672,7 @@ var InputContainer$1 = styled(InputContainer$2).withConfig({
|
|
|
21672
21672
|
return textInputTokens.container.multiline.noLabel.height;
|
|
21673
21673
|
}
|
|
21674
21674
|
});
|
|
21675
|
-
var templateObject_1$
|
|
21675
|
+
var templateObject_1$s, templateObject_2$l, templateObject_3$e, templateObject_4$c, templateObject_5$9, templateObject_6$8, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$2;
|
|
21676
21676
|
|
|
21677
21677
|
var nextUniqueId$3 = 0;
|
|
21678
21678
|
var TextInput = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
@@ -28659,38 +28659,38 @@ var index = manageState(Select$1);
|
|
|
28659
28659
|
|
|
28660
28660
|
var ReactSelect = index;
|
|
28661
28661
|
|
|
28662
|
-
var Colors$
|
|
28663
|
-
Spacing$
|
|
28664
|
-
FontPackages$
|
|
28662
|
+
var Colors$c = ddsBaseTokens.colors,
|
|
28663
|
+
Spacing$g = ddsBaseTokens.spacing,
|
|
28664
|
+
FontPackages$d = ddsBaseTokens.fontPackages,
|
|
28665
28665
|
BorderRadius$2 = ddsBaseTokens.borderRadius,
|
|
28666
28666
|
Border$5 = ddsBaseTokens.border,
|
|
28667
28667
|
IconSizes = ddsBaseTokens.iconSizes;
|
|
28668
28668
|
var textDefault$6 = ddsReferenceTokens.textDefault;
|
|
28669
|
-
var multiValueContainerMinHeight = Spacing$
|
|
28669
|
+
var multiValueContainerMinHeight = Spacing$g.SizesDdsSpacingLocalX0125NumberPx * 2 + Spacing$g.SizesDdsSpacingLocalX025NumberPx * 2 + calculateHeightWithLineHeight(FontPackages$d.supportingStyle_inputtext_01.numbers.lineHeightNumber, FontPackages$d.supportingStyle_inputtext_01.numbers.fontSizeNumber) + "px"; //custom spacing so that multiselect has same height as single value select
|
|
28670
28670
|
|
|
28671
|
-
var valueContainerMarginBottomMultiWithLabel = Spacing$
|
|
28671
|
+
var valueContainerMarginBottomMultiWithLabel = Spacing$g.SizesDdsSpacingLocalX025NumberPx + Spacing$g.SizesDdsSpacingLocalX0125NumberPx + "px"; //custom spacing so that multiselect has same height as single value select
|
|
28672
28672
|
|
|
28673
|
-
var inputMultiNoLabelPaddingTop = Spacing$
|
|
28673
|
+
var inputMultiNoLabelPaddingTop = Spacing$g.SizesDdsSpacingLocalX05NumberPx + Spacing$g.SizesDdsSpacingLocalX0125NumberPx + "px";
|
|
28674
28674
|
|
|
28675
28675
|
var labelBase = __assign({
|
|
28676
|
-
color: Colors$
|
|
28677
|
-
paddingTop: Spacing$
|
|
28678
|
-
paddingLeft: Spacing$
|
|
28676
|
+
color: Colors$c.DdsColorNeutralsGray7,
|
|
28677
|
+
paddingTop: Spacing$g.SizesDdsSpacingLocalX075,
|
|
28678
|
+
paddingLeft: Spacing$g.SizesDdsSpacingLocalX1,
|
|
28679
28679
|
paddingBottom: 0,
|
|
28680
|
-
paddingRight: Spacing$
|
|
28681
|
-
}, FontPackages$
|
|
28680
|
+
paddingRight: Spacing$g.SizesDdsSpacingLocalX05
|
|
28681
|
+
}, FontPackages$d.supportingStyle_label_01.base);
|
|
28682
28682
|
|
|
28683
28683
|
var labelHoverBase = {
|
|
28684
|
-
color: Colors$
|
|
28684
|
+
color: Colors$c.DdsColorInteractiveBase
|
|
28685
28685
|
};
|
|
28686
28686
|
var labelFocusBase = {
|
|
28687
|
-
color: Colors$
|
|
28687
|
+
color: Colors$c.DdsColorInteractiveBase
|
|
28688
28688
|
};
|
|
28689
28689
|
var valueContainerWithLabelBase = {
|
|
28690
|
-
marginBottom: Spacing$
|
|
28690
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX075
|
|
28691
28691
|
};
|
|
28692
28692
|
var valueContainerNoLabelBase = {
|
|
28693
|
-
marginBottom: Spacing$
|
|
28693
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX075
|
|
28694
28694
|
};
|
|
28695
28695
|
var valueContainerIsMultiBase = {
|
|
28696
28696
|
minHeight: multiValueContainerMinHeight
|
|
@@ -28699,144 +28699,144 @@ var valueContainerIsMultiWithLabelBase = {
|
|
|
28699
28699
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
28700
28700
|
};
|
|
28701
28701
|
var valueContainerIsMultiNoLabelBase = {
|
|
28702
|
-
marginBottom: Spacing$
|
|
28702
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX05
|
|
28703
28703
|
};
|
|
28704
28704
|
var containerBase$2 = {
|
|
28705
28705
|
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius,
|
|
28706
28706
|
border: Border$5.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
28707
|
-
borderColor: Colors$
|
|
28708
|
-
backgroundColor: Colors$
|
|
28707
|
+
borderColor: Colors$c.DdsColorNeutralsGray5,
|
|
28708
|
+
backgroundColor: Colors$c.DdsColorNeutralsWhite
|
|
28709
28709
|
};
|
|
28710
28710
|
var containerHoverBase = {
|
|
28711
|
-
backgroundColor: Colors$
|
|
28712
|
-
borderColor: Colors$
|
|
28711
|
+
backgroundColor: Colors$c.DdsColorInteractiveLightest,
|
|
28712
|
+
borderColor: Colors$c.DdsColorInteractiveBase
|
|
28713
28713
|
};
|
|
28714
28714
|
var containerFocusBase = {
|
|
28715
|
-
borderColor: Colors$
|
|
28715
|
+
borderColor: Colors$c.DdsColorInteractiveBase
|
|
28716
28716
|
};
|
|
28717
28717
|
var containerDangerBase$2 = {
|
|
28718
|
-
borderColor: Colors$
|
|
28718
|
+
borderColor: Colors$c.DdsColorDangerBase
|
|
28719
28719
|
};
|
|
28720
28720
|
var containerDangerHoverBase = {
|
|
28721
|
-
backgroundColor: Colors$
|
|
28722
|
-
borderColor: Colors$
|
|
28721
|
+
backgroundColor: Colors$c.DdsColorDangerLightest,
|
|
28722
|
+
borderColor: Colors$c.DdsColorDangerBase
|
|
28723
28723
|
};
|
|
28724
28724
|
var containerDangerFocusBase = {
|
|
28725
|
-
borderColor: Colors$
|
|
28725
|
+
borderColor: Colors$c.DdsColorDangerDark
|
|
28726
28726
|
};
|
|
28727
28727
|
|
|
28728
28728
|
var inputBase$1 = __assign({
|
|
28729
|
-
padding: "0 " + Spacing$
|
|
28730
|
-
}, FontPackages$
|
|
28729
|
+
padding: "0 " + Spacing$g.SizesDdsSpacingLocalX05 + " 0 " + Spacing$g.SizesDdsSpacingLocalX1
|
|
28730
|
+
}, FontPackages$d.supportingStyle_inputtext_02.base);
|
|
28731
28731
|
|
|
28732
28732
|
var inputNoLabelBase = {
|
|
28733
|
-
paddingTop: Spacing$
|
|
28733
|
+
paddingTop: Spacing$g.SizesDdsSpacingLocalX075
|
|
28734
28734
|
};
|
|
28735
28735
|
var inputIsMultiNoLabelBase = {
|
|
28736
28736
|
paddingTop: inputMultiNoLabelPaddingTop
|
|
28737
28737
|
};
|
|
28738
28738
|
|
|
28739
28739
|
var placeholderBase = __assign({
|
|
28740
|
-
color: Colors$
|
|
28741
|
-
}, FontPackages$
|
|
28740
|
+
color: Colors$c.DdsColorNeutralsGray6
|
|
28741
|
+
}, FontPackages$d.supportingStyle_placeholdertext_01.base);
|
|
28742
28742
|
|
|
28743
28743
|
var indicatorsContainerWithLabelBase = {
|
|
28744
|
-
marginBottom: Spacing$
|
|
28744
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX1
|
|
28745
28745
|
};
|
|
28746
28746
|
var indicatorsContainerNoLabelBase = {
|
|
28747
|
-
marginBottom: Spacing$
|
|
28747
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX075
|
|
28748
28748
|
};
|
|
28749
28749
|
var indicatorsContainerIsMultiWithLabelBase = {
|
|
28750
28750
|
marginBottom: valueContainerMarginBottomMultiWithLabel
|
|
28751
28751
|
};
|
|
28752
28752
|
var indicatorsContainerIsMultiNoLabelBase = {
|
|
28753
|
-
marginBottom: Spacing$
|
|
28753
|
+
marginBottom: Spacing$g.SizesDdsSpacingLocalX05
|
|
28754
28754
|
};
|
|
28755
28755
|
var dropdownIndicatorBase = {
|
|
28756
|
-
color: Colors$
|
|
28756
|
+
color: Colors$c.DdsColorNeutralsGray6,
|
|
28757
28757
|
padding: 0
|
|
28758
28758
|
};
|
|
28759
28759
|
var dropdownIndicatorHoverBase = {
|
|
28760
|
-
color: Colors$
|
|
28760
|
+
color: Colors$c.DdsColorInteractiveBase
|
|
28761
28761
|
};
|
|
28762
28762
|
var drodownIndicatorReadOnlyBase = {
|
|
28763
28763
|
color: 'transparent'
|
|
28764
28764
|
};
|
|
28765
28765
|
var clearIndicatorBase = {
|
|
28766
|
-
color: Colors$
|
|
28767
|
-
padding: " 0 " + Spacing$
|
|
28766
|
+
color: Colors$c.DdsColorNeutralsGray6,
|
|
28767
|
+
padding: " 0 " + Spacing$g.SizesDdsSpacingLocalX025 + " 0 0"
|
|
28768
28768
|
};
|
|
28769
28769
|
var loadingIndicatorBase = {
|
|
28770
|
-
color: Colors$
|
|
28770
|
+
color: Colors$c.DdsColorNeutralsGray6,
|
|
28771
28771
|
padding: 0
|
|
28772
28772
|
};
|
|
28773
28773
|
var clearIndicatorHoverBase = {
|
|
28774
|
-
color: Colors$
|
|
28774
|
+
color: Colors$c.DdsColorInteractiveBase
|
|
28775
28775
|
};
|
|
28776
28776
|
var optionsListBase = {
|
|
28777
28777
|
border: '1px solid',
|
|
28778
|
-
borderColor: Colors$
|
|
28779
|
-
backgroundColor: Colors$
|
|
28778
|
+
borderColor: Colors$c.DdsColorInteractiveBase,
|
|
28779
|
+
backgroundColor: Colors$c.DdsColorNeutralsWhite,
|
|
28780
28780
|
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius
|
|
28781
28781
|
};
|
|
28782
28782
|
|
|
28783
28783
|
var optionBase = __assign(__assign({
|
|
28784
|
-
padding: Spacing$
|
|
28785
|
-
}, FontPackages$
|
|
28784
|
+
padding: Spacing$g.SizesDdsSpacingLocalX05 + " " + Spacing$g.SizesDdsSpacingLocalX1
|
|
28785
|
+
}, FontPackages$d.body_sans_02.base), {
|
|
28786
28786
|
color: textDefault$6.textColor
|
|
28787
28787
|
});
|
|
28788
28788
|
|
|
28789
28789
|
var optionHoverBase = {
|
|
28790
|
-
backgroundColor: Colors$
|
|
28790
|
+
backgroundColor: Colors$c.DdsColorInteractiveLighter
|
|
28791
28791
|
};
|
|
28792
28792
|
|
|
28793
28793
|
var optionSelectedBase = __assign(__assign({
|
|
28794
|
-
backgroundColor: Colors$
|
|
28795
|
-
}, FontPackages$
|
|
28794
|
+
backgroundColor: Colors$c.DdsColorInteractiveLightest
|
|
28795
|
+
}, FontPackages$d.body_sans_02.base), {
|
|
28796
28796
|
fontWeight: 600
|
|
28797
28797
|
});
|
|
28798
28798
|
|
|
28799
28799
|
var noOptionsMessageBase = __assign({
|
|
28800
|
-
padding: Spacing$
|
|
28801
|
-
color: Colors$
|
|
28802
|
-
}, FontPackages$
|
|
28800
|
+
padding: Spacing$g.SizesDdsSpacingLocalX05 + " " + Spacing$g.SizesDdsSpacingLocalX1,
|
|
28801
|
+
color: Colors$c.DdsColorNeutralsGray6
|
|
28802
|
+
}, FontPackages$d.supportingStyle_placeholdertext_01.base);
|
|
28803
28803
|
|
|
28804
28804
|
var multiValueBase = {
|
|
28805
28805
|
borderRadius: BorderRadius$2.RadiiDdsBorderRadius1Radius,
|
|
28806
|
-
margin: Spacing$
|
|
28806
|
+
margin: Spacing$g.SizesDdsSpacingLocalX0125
|
|
28807
28807
|
};
|
|
28808
28808
|
var multiValueEnabledBase = {
|
|
28809
|
-
backgroundColor: Colors$
|
|
28809
|
+
backgroundColor: Colors$c.DdsColorInteractiveLighter
|
|
28810
28810
|
};
|
|
28811
28811
|
var multiValueDisabledBase = {
|
|
28812
|
-
backgroundColor: Colors$
|
|
28812
|
+
backgroundColor: Colors$c.DdsColorNeutralsGray3
|
|
28813
28813
|
};
|
|
28814
28814
|
|
|
28815
28815
|
var multiValueLabelBase = __assign(__assign({
|
|
28816
|
-
paddingTop: "" + Spacing$
|
|
28817
|
-
paddingRight: "" + Spacing$
|
|
28818
|
-
paddingLeft: "" + Spacing$
|
|
28819
|
-
paddingBottom: "" + Spacing$
|
|
28820
|
-
color: Colors$
|
|
28821
|
-
}, FontPackages$
|
|
28816
|
+
paddingTop: "" + Spacing$g.SizesDdsSpacingLocalX025,
|
|
28817
|
+
paddingRight: "" + Spacing$g.SizesDdsSpacingLocalX05,
|
|
28818
|
+
paddingLeft: "" + Spacing$g.SizesDdsSpacingLocalX05,
|
|
28819
|
+
paddingBottom: "" + Spacing$g.SizesDdsSpacingLocalX025,
|
|
28820
|
+
color: Colors$c.DdsColorNeutralsGray9
|
|
28821
|
+
}, FontPackages$d.supportingStyle_inputtext_01.base), {
|
|
28822
28822
|
fontWeight: 'bold'
|
|
28823
28823
|
});
|
|
28824
28824
|
|
|
28825
28825
|
var multiValueRemoveBase = {
|
|
28826
|
-
padding: "" + Spacing$
|
|
28827
|
-
color: Colors$
|
|
28826
|
+
padding: "" + Spacing$g.SizesDdsSpacingLocalX025,
|
|
28827
|
+
color: Colors$c.DdsColorNeutralsGray9
|
|
28828
28828
|
};
|
|
28829
28829
|
var multiValueRemoveHoverBase = {
|
|
28830
|
-
color: Colors$
|
|
28831
|
-
backgroundColor: Colors$
|
|
28830
|
+
color: Colors$c.DdsColorNeutralsWhite,
|
|
28831
|
+
backgroundColor: Colors$c.DdsColorInteractiveBase
|
|
28832
28832
|
};
|
|
28833
28833
|
var multiValueRemoveIconBase = {
|
|
28834
28834
|
height: IconSizes.DdsIconsizeSmall,
|
|
28835
28835
|
width: IconSizes.DdsIconsizeSmall
|
|
28836
28836
|
};
|
|
28837
28837
|
var containerDisabledBase = {
|
|
28838
|
-
backgroundColor: Colors$
|
|
28839
|
-
borderColor: Colors$
|
|
28838
|
+
backgroundColor: Colors$c.DdsColorNeutralsGray1,
|
|
28839
|
+
borderColor: Colors$c.DdsColorNeutralsGray5
|
|
28840
28840
|
};
|
|
28841
28841
|
var containerReadOnlyBase = {
|
|
28842
28842
|
borderColor: 'transparent',
|
|
@@ -28894,7 +28894,7 @@ var selectTokens = {
|
|
|
28894
28894
|
},
|
|
28895
28895
|
optionsList: {
|
|
28896
28896
|
base: optionsListBase,
|
|
28897
|
-
spaceTop: Spacing$
|
|
28897
|
+
spaceTop: Spacing$g.SizesDdsSpacingLocalX1NumberPx + 2 //grunnet shadow-box
|
|
28898
28898
|
|
|
28899
28899
|
},
|
|
28900
28900
|
option: {
|
|
@@ -28905,7 +28905,7 @@ var selectTokens = {
|
|
|
28905
28905
|
selected: {
|
|
28906
28906
|
base: optionSelectedBase,
|
|
28907
28907
|
icon: {
|
|
28908
|
-
margin: "0 " + Spacing$
|
|
28908
|
+
margin: "0 " + Spacing$g.SizesDdsSpacingLocalX05 + " 0 0"
|
|
28909
28909
|
}
|
|
28910
28910
|
}
|
|
28911
28911
|
},
|
|
@@ -28990,13 +28990,13 @@ var prefix = 'dds-select';
|
|
|
28990
28990
|
var Label = styled(Typography).withConfig({
|
|
28991
28991
|
displayName: "Selectstyles__Label",
|
|
28992
28992
|
componentId: "sc-19jkd5s-0"
|
|
28993
|
-
})(templateObject_1$
|
|
28993
|
+
})(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n display: block;\n ", "\n"], ["\n display: block;\n ", "\n"])), selectTokens.label.base);
|
|
28994
28994
|
var Container$5 = styled.div.withConfig({
|
|
28995
28995
|
displayName: "Selectstyles__Container",
|
|
28996
28996
|
componentId: "sc-19jkd5s-1"
|
|
28997
28997
|
})(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) {
|
|
28998
28998
|
var isMulti = _a.isMulti;
|
|
28999
|
-
return isMulti && Ae(templateObject_2$
|
|
28999
|
+
return isMulti && Ae(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([""], [""])));
|
|
29000
29000
|
}, function (_a) {
|
|
29001
29001
|
var hasLabel = _a.hasLabel,
|
|
29002
29002
|
isMulti = _a.isMulti;
|
|
@@ -29011,7 +29011,7 @@ var Container$5 = styled.div.withConfig({
|
|
|
29011
29011
|
var readOnly = _a.readOnly;
|
|
29012
29012
|
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);
|
|
29013
29013
|
});
|
|
29014
|
-
var Wrapper$
|
|
29014
|
+
var Wrapper$4 = styled.div.withConfig({
|
|
29015
29015
|
displayName: "Selectstyles__Wrapper",
|
|
29016
29016
|
componentId: "sc-19jkd5s-2"
|
|
29017
29017
|
})(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\n margin: 0;\n width: ", ";\n"], ["\n margin: 0;\n width: ", ";\n"])), function (_a) {
|
|
@@ -29116,7 +29116,7 @@ var CustomStyles = {
|
|
|
29116
29116
|
return {};
|
|
29117
29117
|
}
|
|
29118
29118
|
};
|
|
29119
|
-
var templateObject_1$
|
|
29119
|
+
var templateObject_1$r, templateObject_2$k, 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;
|
|
29120
29120
|
|
|
29121
29121
|
var DdsOption = components.Option,
|
|
29122
29122
|
NoOptionsMessage = components.NoOptionsMessage;
|
|
@@ -29208,7 +29208,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29208
29208
|
}
|
|
29209
29209
|
}, rest);
|
|
29210
29210
|
|
|
29211
|
-
return jsxRuntime.jsxs(Wrapper$
|
|
29211
|
+
return jsxRuntime.jsxs(Wrapper$4, __assign({}, wrapperProps, {
|
|
29212
29212
|
children: [jsxRuntime.jsxs(Container$5, __assign({}, containerProps, {
|
|
29213
29213
|
children: [label && jsxRuntime.jsxs(Label, __assign({
|
|
29214
29214
|
htmlFor: uniqueId,
|
|
@@ -29305,37 +29305,37 @@ exports.default = _default;
|
|
|
29305
29305
|
|
|
29306
29306
|
var InfoOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(InfoOutlined);
|
|
29307
29307
|
|
|
29308
|
-
var Colors$
|
|
29309
|
-
Spacing$
|
|
29310
|
-
FontPackages$
|
|
29308
|
+
var Colors$b = ddsBaseTokens.colors,
|
|
29309
|
+
Spacing$f = ddsBaseTokens.spacing,
|
|
29310
|
+
FontPackages$c = ddsBaseTokens.fontPackages;
|
|
29311
29311
|
|
|
29312
29312
|
var containerBase$1 = __assign(__assign({
|
|
29313
29313
|
borderBottom: '2px solid',
|
|
29314
|
-
padding: "0 " + Spacing$
|
|
29314
|
+
padding: "0 " + Spacing$f.SizesDdsSpacingLocalX1,
|
|
29315
29315
|
width: '100%'
|
|
29316
|
-
}, FontPackages$
|
|
29317
|
-
color: Colors$
|
|
29316
|
+
}, FontPackages$c.body_sans_02.base), {
|
|
29317
|
+
color: Colors$b.DdsColorNeutralsGray8
|
|
29318
29318
|
});
|
|
29319
29319
|
|
|
29320
29320
|
var contentContainerBase$1 = {
|
|
29321
|
-
paddingRight: Spacing$
|
|
29322
|
-
paddingTop: Spacing$
|
|
29323
|
-
paddingBottom: Spacing$
|
|
29321
|
+
paddingRight: Spacing$f.SizesDdsSpacingLocalX15,
|
|
29322
|
+
paddingTop: Spacing$f.SizesDdsSpacingLocalX075,
|
|
29323
|
+
paddingBottom: Spacing$f.SizesDdsSpacingLocalX075
|
|
29324
29324
|
};
|
|
29325
29325
|
var contentContainerWithClosableBase$1 = {
|
|
29326
|
-
paddingRight: Spacing$
|
|
29326
|
+
paddingRight: Spacing$f.SizesDdsSpacingLocalX075
|
|
29327
29327
|
};
|
|
29328
29328
|
var containerInfoBase$1 = {
|
|
29329
|
-
borderColor: Colors$
|
|
29330
|
-
backgroundColor: Colors$
|
|
29329
|
+
borderColor: Colors$b.DdsColorInfoLighter,
|
|
29330
|
+
backgroundColor: Colors$b.DdsColorInfoLightest
|
|
29331
29331
|
};
|
|
29332
29332
|
var containerDangerBase$1 = {
|
|
29333
|
-
borderColor: Colors$
|
|
29334
|
-
backgroundColor: Colors$
|
|
29333
|
+
borderColor: Colors$b.DdsColorDangerLighter,
|
|
29334
|
+
backgroundColor: Colors$b.DdsColorDangerLightest
|
|
29335
29335
|
};
|
|
29336
29336
|
var containerWarningBase$1 = {
|
|
29337
|
-
borderColor: Colors$
|
|
29338
|
-
backgroundColor: Colors$
|
|
29337
|
+
borderColor: Colors$b.DdsColorWarningLighter,
|
|
29338
|
+
backgroundColor: Colors$b.DdsColorWarningLightest
|
|
29339
29339
|
};
|
|
29340
29340
|
var globalMessageTokens = {
|
|
29341
29341
|
container: {
|
|
@@ -29357,18 +29357,18 @@ var globalMessageTokens = {
|
|
|
29357
29357
|
}
|
|
29358
29358
|
},
|
|
29359
29359
|
icon: {
|
|
29360
|
-
marginRight: "" + Spacing$
|
|
29360
|
+
marginRight: "" + Spacing$f.SizesDdsSpacingLocalX075,
|
|
29361
29361
|
info: {
|
|
29362
29362
|
icon: InfoOutlinedIcon,
|
|
29363
|
-
color: Colors$
|
|
29363
|
+
color: Colors$b.DdsColorInfoDarkest
|
|
29364
29364
|
},
|
|
29365
29365
|
danger: {
|
|
29366
29366
|
icon: DangerOutlinedIcon,
|
|
29367
|
-
color: Colors$
|
|
29367
|
+
color: Colors$b.DdsColorDangerDarkest
|
|
29368
29368
|
},
|
|
29369
29369
|
warning: {
|
|
29370
29370
|
icon: WarningOutlinedIcon,
|
|
29371
|
-
color: Colors$
|
|
29371
|
+
color: Colors$b.DdsColorWarningDarkest
|
|
29372
29372
|
}
|
|
29373
29373
|
},
|
|
29374
29374
|
button: {
|
|
@@ -29387,9 +29387,9 @@ var globalMessageTokens = {
|
|
|
29387
29387
|
var Container$4 = styled.div.withConfig({
|
|
29388
29388
|
displayName: "GlobalMessage__Container",
|
|
29389
29389
|
componentId: "sc-bf2l65-0"
|
|
29390
|
-
})(templateObject_2$
|
|
29390
|
+
})(templateObject_2$j || (templateObject_2$j = __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) {
|
|
29391
29391
|
var purpose = _a.purpose;
|
|
29392
|
-
return purpose && Ae(templateObject_1$
|
|
29392
|
+
return purpose && Ae(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), globalMessageTokens.container.base, globalMessageTokens.container[purpose].base);
|
|
29393
29393
|
});
|
|
29394
29394
|
var MessageIconWrapper$1 = styled(IconWrapper$1).withConfig({
|
|
29395
29395
|
displayName: "GlobalMessage__MessageIconWrapper",
|
|
@@ -29452,7 +29452,7 @@ var GlobalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29452
29452
|
}, void 0)]
|
|
29453
29453
|
}), void 0) : null;
|
|
29454
29454
|
});
|
|
29455
|
-
var templateObject_1$
|
|
29455
|
+
var templateObject_1$q, templateObject_2$j, templateObject_3$c, templateObject_4$a, templateObject_5$7, templateObject_6$6;
|
|
29456
29456
|
|
|
29457
29457
|
var CheckCircleOutlined = createCommonjsModule(function (module, exports) {
|
|
29458
29458
|
|
|
@@ -29508,9 +29508,9 @@ exports.default = _default;
|
|
|
29508
29508
|
|
|
29509
29509
|
var EmojiObjectsOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(EmojiObjectsOutlined);
|
|
29510
29510
|
|
|
29511
|
-
var Colors$
|
|
29512
|
-
Spacing$
|
|
29513
|
-
FontPackages$
|
|
29511
|
+
var Colors$a = ddsBaseTokens.colors,
|
|
29512
|
+
Spacing$e = ddsBaseTokens.spacing,
|
|
29513
|
+
FontPackages$b = ddsBaseTokens.fontPackages,
|
|
29514
29514
|
BorderRadius$1 = ddsBaseTokens.borderRadius,
|
|
29515
29515
|
Border$4 = ddsBaseTokens.border,
|
|
29516
29516
|
OuterShadow = ddsBaseTokens.outerShadow;
|
|
@@ -29519,52 +29519,52 @@ var containerBase = __assign(__assign({
|
|
|
29519
29519
|
boxShadow: OuterShadow.DdsShadow1Onlight,
|
|
29520
29520
|
borderRadius: BorderRadius$1.RadiiDdsBorderRadius1Radius,
|
|
29521
29521
|
border: Border$4.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
29522
|
-
padding: "0 " + Spacing$
|
|
29523
|
-
}, FontPackages$
|
|
29524
|
-
color: Colors$
|
|
29522
|
+
padding: "0 " + Spacing$e.SizesDdsSpacingLocalX1
|
|
29523
|
+
}, FontPackages$b.body_sans_02.base), {
|
|
29524
|
+
color: Colors$a.DdsColorNeutralsGray8
|
|
29525
29525
|
});
|
|
29526
29526
|
|
|
29527
29527
|
var defaultWidth = '400px';
|
|
29528
29528
|
var contentContainerBase = {
|
|
29529
|
-
paddingRight: Spacing$
|
|
29530
|
-
paddingTop: Spacing$
|
|
29531
|
-
paddingBottom: Spacing$
|
|
29529
|
+
paddingRight: Spacing$e.SizesDdsSpacingLocalX15,
|
|
29530
|
+
paddingTop: Spacing$e.SizesDdsSpacingLocalX075,
|
|
29531
|
+
paddingBottom: Spacing$e.SizesDdsSpacingLocalX075
|
|
29532
29532
|
};
|
|
29533
29533
|
var contentContainerWithClosableBase = {
|
|
29534
|
-
paddingRight: Spacing$
|
|
29534
|
+
paddingRight: Spacing$e.SizesDdsSpacingLocalX075
|
|
29535
29535
|
};
|
|
29536
29536
|
var contentContainerVericalBase = {
|
|
29537
|
-
paddingBottom: Spacing$
|
|
29537
|
+
paddingBottom: Spacing$e.SizesDdsSpacingLocalX15
|
|
29538
29538
|
};
|
|
29539
29539
|
var topContainerBase = {
|
|
29540
|
-
paddingTop: Spacing$
|
|
29540
|
+
paddingTop: Spacing$e.SizesDdsSpacingLocalX15
|
|
29541
29541
|
};
|
|
29542
29542
|
var topContainerWithClosableBase = {
|
|
29543
|
-
paddingTop: Spacing$
|
|
29543
|
+
paddingTop: Spacing$e.SizesDdsSpacingLocalX1
|
|
29544
29544
|
};
|
|
29545
29545
|
var containerInfoBase = {
|
|
29546
|
-
borderColor: Colors$
|
|
29547
|
-
backgroundColor: Colors$
|
|
29546
|
+
borderColor: Colors$a.DdsColorInfoLighter,
|
|
29547
|
+
backgroundColor: Colors$a.DdsColorInfoLightest
|
|
29548
29548
|
};
|
|
29549
29549
|
var containerDangerBase = {
|
|
29550
|
-
borderColor: Colors$
|
|
29551
|
-
backgroundColor: Colors$
|
|
29550
|
+
borderColor: Colors$a.DdsColorDangerLighter,
|
|
29551
|
+
backgroundColor: Colors$a.DdsColorDangerLightest
|
|
29552
29552
|
};
|
|
29553
29553
|
var containerWarningBase = {
|
|
29554
|
-
borderColor: Colors$
|
|
29555
|
-
backgroundColor: Colors$
|
|
29554
|
+
borderColor: Colors$a.DdsColorWarningLighter,
|
|
29555
|
+
backgroundColor: Colors$a.DdsColorWarningLightest
|
|
29556
29556
|
};
|
|
29557
29557
|
var containerSuccessBase = {
|
|
29558
|
-
borderColor: Colors$
|
|
29559
|
-
backgroundColor: Colors$
|
|
29558
|
+
borderColor: Colors$a.DdsColorSuccessLighter,
|
|
29559
|
+
backgroundColor: Colors$a.DdsColorSuccessLightest
|
|
29560
29560
|
};
|
|
29561
29561
|
var containerTipsBase = {
|
|
29562
|
-
borderColor: Colors$
|
|
29563
|
-
backgroundColor: Colors$
|
|
29562
|
+
borderColor: Colors$a.DdsColorPrimaryLighter,
|
|
29563
|
+
backgroundColor: Colors$a.DdsColorPrimaryLightest
|
|
29564
29564
|
};
|
|
29565
29565
|
var containerConfidentialBase = {
|
|
29566
|
-
borderColor: Colors$
|
|
29567
|
-
backgroundColor: Colors$
|
|
29566
|
+
borderColor: Colors$a.DdsColorDangerBase,
|
|
29567
|
+
backgroundColor: Colors$a.DdsColorDangerLightest
|
|
29568
29568
|
};
|
|
29569
29569
|
var localMessageTokens = {
|
|
29570
29570
|
container: {
|
|
@@ -29605,30 +29605,30 @@ var localMessageTokens = {
|
|
|
29605
29605
|
}
|
|
29606
29606
|
},
|
|
29607
29607
|
icon: {
|
|
29608
|
-
marginRight: "" + Spacing$
|
|
29608
|
+
marginRight: "" + Spacing$e.SizesDdsSpacingLocalX075,
|
|
29609
29609
|
info: {
|
|
29610
29610
|
icon: InfoOutlinedIcon,
|
|
29611
|
-
color: Colors$
|
|
29611
|
+
color: Colors$a.DdsColorInfoDarkest
|
|
29612
29612
|
},
|
|
29613
29613
|
danger: {
|
|
29614
29614
|
icon: DangerOutlinedIcon,
|
|
29615
|
-
color: Colors$
|
|
29615
|
+
color: Colors$a.DdsColorDangerDarkest
|
|
29616
29616
|
},
|
|
29617
29617
|
warning: {
|
|
29618
29618
|
icon: WarningOutlinedIcon,
|
|
29619
|
-
color: Colors$
|
|
29619
|
+
color: Colors$a.DdsColorWarningDarkest
|
|
29620
29620
|
},
|
|
29621
29621
|
success: {
|
|
29622
29622
|
icon: CheckCircleOutlinedIcon,
|
|
29623
|
-
color: Colors$
|
|
29623
|
+
color: Colors$a.DdsColorSuccessDarkest
|
|
29624
29624
|
},
|
|
29625
29625
|
tips: {
|
|
29626
29626
|
icon: EmojiObjectsOutlinedIcon,
|
|
29627
|
-
color: Colors$
|
|
29627
|
+
color: Colors$a.DdsColorPrimaryDarkest
|
|
29628
29628
|
},
|
|
29629
29629
|
confidential: {
|
|
29630
29630
|
icon: DangerOutlinedIcon,
|
|
29631
|
-
color: Colors$
|
|
29631
|
+
color: Colors$a.DdsColorDangerDarkest
|
|
29632
29632
|
}
|
|
29633
29633
|
},
|
|
29634
29634
|
button: {
|
|
@@ -29661,10 +29661,10 @@ var Container$3 = styled.div.withConfig({
|
|
|
29661
29661
|
return layout === 'vertical' ? 'column' : 'row';
|
|
29662
29662
|
}, function (_a) {
|
|
29663
29663
|
var layout = _a.layout;
|
|
29664
|
-
return layout === 'horisontal' && Ae(templateObject_1$
|
|
29664
|
+
return layout === 'horisontal' && Ae(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n align-items: center;\n justify-content: space-between;\n "], ["\n align-items: center;\n justify-content: space-between;\n "])));
|
|
29665
29665
|
}, typographyTokens.selection.base, function (_a) {
|
|
29666
29666
|
var purpose = _a.purpose;
|
|
29667
|
-
return purpose && Ae(templateObject_2$
|
|
29667
|
+
return purpose && Ae(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), localMessageTokens.container.base, localMessageTokens.container[purpose].base);
|
|
29668
29668
|
}, function (_a) {
|
|
29669
29669
|
var width = _a.width;
|
|
29670
29670
|
return width;
|
|
@@ -29759,7 +29759,7 @@ var LocalMessage = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29759
29759
|
}, void 0)
|
|
29760
29760
|
}), void 0) : null;
|
|
29761
29761
|
});
|
|
29762
|
-
var templateObject_1$
|
|
29762
|
+
var templateObject_1$p, templateObject_2$i, templateObject_3$b, templateObject_4$9, templateObject_5$6, templateObject_6$5, templateObject_7$4, templateObject_8$1, templateObject_9$1;
|
|
29763
29763
|
|
|
29764
29764
|
var SearchOutlined = createCommonjsModule(function (module, exports) {
|
|
29765
29765
|
|
|
@@ -29785,26 +29785,26 @@ exports.default = _default;
|
|
|
29785
29785
|
|
|
29786
29786
|
var SearchOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(SearchOutlined);
|
|
29787
29787
|
|
|
29788
|
-
var Spacing$
|
|
29789
|
-
FontPackages$
|
|
29788
|
+
var Spacing$d = ddsBaseTokens.spacing,
|
|
29789
|
+
FontPackages$a = ddsBaseTokens.fontPackages;
|
|
29790
29790
|
var textDefault$5 = ddsReferenceTokens.textDefault;
|
|
29791
29791
|
var inputBase = {
|
|
29792
|
-
paddingRight: Spacing$
|
|
29792
|
+
paddingRight: Spacing$d.SizesDdsSpacingLocalX05
|
|
29793
29793
|
};
|
|
29794
29794
|
|
|
29795
|
-
var smallBase$1 = __assign(__assign({}, FontPackages$
|
|
29796
|
-
paddingTop: Spacing$
|
|
29797
|
-
paddingBottom: Spacing$
|
|
29795
|
+
var smallBase$1 = __assign(__assign({}, FontPackages$a.supportingStyle_inputtext_01.base), {
|
|
29796
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX05,
|
|
29797
|
+
paddingBottom: Spacing$d.SizesDdsSpacingLocalX05
|
|
29798
29798
|
});
|
|
29799
29799
|
|
|
29800
|
-
var mediumBase = __assign(__assign({}, FontPackages$
|
|
29801
|
-
paddingTop: Spacing$
|
|
29802
|
-
paddingBottom: Spacing$
|
|
29800
|
+
var mediumBase = __assign(__assign({}, FontPackages$a.supportingStyle_inputtext_02.base), {
|
|
29801
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX075,
|
|
29802
|
+
paddingBottom: Spacing$d.SizesDdsSpacingLocalX075
|
|
29803
29803
|
});
|
|
29804
29804
|
|
|
29805
|
-
var largeBase = __assign(__assign({}, FontPackages$
|
|
29806
|
-
paddingTop: Spacing$
|
|
29807
|
-
paddingBottom: Spacing$
|
|
29805
|
+
var largeBase = __assign(__assign({}, FontPackages$a.supportingStyle_inputtext_03.base), {
|
|
29806
|
+
paddingTop: Spacing$d.SizesDdsSpacingLocalX1,
|
|
29807
|
+
paddingBottom: Spacing$d.SizesDdsSpacingLocalX1
|
|
29808
29808
|
});
|
|
29809
29809
|
|
|
29810
29810
|
var iconWrapperBase = {
|
|
@@ -29813,7 +29813,7 @@ var iconWrapperBase = {
|
|
|
29813
29813
|
var searchTokens = {
|
|
29814
29814
|
input: {
|
|
29815
29815
|
base: inputBase,
|
|
29816
|
-
spaceLeft: Spacing$
|
|
29816
|
+
spaceLeft: Spacing$d.SizesDdsSpacingLocalX3,
|
|
29817
29817
|
small: {
|
|
29818
29818
|
base: smallBase$1
|
|
29819
29819
|
},
|
|
@@ -29825,23 +29825,23 @@ var searchTokens = {
|
|
|
29825
29825
|
}
|
|
29826
29826
|
},
|
|
29827
29827
|
icon: {
|
|
29828
|
-
spaceTop: "calc(50% - " + Spacing$
|
|
29829
|
-
spaceLeft: Spacing$
|
|
29828
|
+
spaceTop: "calc(50% - " + Spacing$d.SizesDdsSpacingLocalX15NumberPx / 2 + "px)",
|
|
29829
|
+
spaceLeft: Spacing$d.SizesDdsSpacingLocalX075
|
|
29830
29830
|
},
|
|
29831
29831
|
iconWrapper: {
|
|
29832
29832
|
base: iconWrapperBase
|
|
29833
29833
|
},
|
|
29834
29834
|
buttonWrapper: {
|
|
29835
|
-
spaceLeft: Spacing$
|
|
29835
|
+
spaceLeft: Spacing$d.SizesDdsSpacingLocalX05
|
|
29836
29836
|
}
|
|
29837
29837
|
};
|
|
29838
29838
|
|
|
29839
29839
|
var Input = styled.input.withConfig({
|
|
29840
29840
|
displayName: "Search__Input",
|
|
29841
29841
|
componentId: "sc-1ax3s9s-0"
|
|
29842
|
-
})(templateObject_2$
|
|
29842
|
+
})(templateObject_2$h || (templateObject_2$h = __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) {
|
|
29843
29843
|
var componentSize = _a.componentSize;
|
|
29844
|
-
return componentSize && Ae(templateObject_1$
|
|
29844
|
+
return componentSize && Ae(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), searchTokens.input[componentSize].base);
|
|
29845
29845
|
}, searchTokens.input.spaceLeft);
|
|
29846
29846
|
var IconWrapper = styled.span.withConfig({
|
|
29847
29847
|
displayName: "Search__IconWrapper",
|
|
@@ -29910,26 +29910,26 @@ var Search = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29910
29910
|
}, void 0)]
|
|
29911
29911
|
}), void 0);
|
|
29912
29912
|
});
|
|
29913
|
-
var templateObject_1$
|
|
29913
|
+
var templateObject_1$o, templateObject_2$h, templateObject_3$a, templateObject_4$8, templateObject_5$5, templateObject_6$4, templateObject_7$3;
|
|
29914
29914
|
|
|
29915
|
-
var Colors$
|
|
29916
|
-
Spacing$
|
|
29915
|
+
var Colors$9 = ddsBaseTokens.colors,
|
|
29916
|
+
Spacing$c = ddsBaseTokens.spacing;
|
|
29917
29917
|
var cellBase = {};
|
|
29918
29918
|
var compactCellBase = {
|
|
29919
|
-
padding: "" + Spacing$
|
|
29919
|
+
padding: "" + Spacing$c.SizesDdsSpacingLocalX075
|
|
29920
29920
|
};
|
|
29921
29921
|
var headBase = {
|
|
29922
|
-
backgroundColor: Colors$
|
|
29922
|
+
backgroundColor: Colors$9.DdsColorPrimaryLightest
|
|
29923
29923
|
};
|
|
29924
29924
|
var dataBase = {};
|
|
29925
29925
|
var normalCellBase = {
|
|
29926
|
-
padding: Spacing$
|
|
29926
|
+
padding: Spacing$c.SizesDdsSpacingLocalX15 + " " + Spacing$c.SizesDdsSpacingLocalX075
|
|
29927
29927
|
};
|
|
29928
29928
|
var sortCellIconBase = {
|
|
29929
|
-
marginInlineStart: Spacing$
|
|
29929
|
+
marginInlineStart: Spacing$c.SizesDdsSpacingLocalX05
|
|
29930
29930
|
};
|
|
29931
29931
|
var textAndIconBase = {
|
|
29932
|
-
marginRight: Spacing$
|
|
29932
|
+
marginRight: Spacing$c.SizesDdsSpacingLocalX075
|
|
29933
29933
|
};
|
|
29934
29934
|
var cellTokens = {
|
|
29935
29935
|
base: cellBase,
|
|
@@ -29964,10 +29964,10 @@ var StyledTable = styled.table.withConfig({
|
|
|
29964
29964
|
componentId: "sc-bw0w0a-0"
|
|
29965
29965
|
})(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) {
|
|
29966
29966
|
var density = _a.density;
|
|
29967
|
-
return density && Ae(templateObject_1$
|
|
29967
|
+
return density && Ae(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n td,\n th {\n ", "\n }\n "], ["\n td,\n th {\n ", "\n }\n "])), cellTokens.density[density].base);
|
|
29968
29968
|
}, function (_a) {
|
|
29969
29969
|
var stickyHeader = _a.stickyHeader;
|
|
29970
|
-
return stickyHeader && Ae(templateObject_2$
|
|
29970
|
+
return stickyHeader && Ae(templateObject_2$g || (templateObject_2$g = __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 "])));
|
|
29971
29971
|
});
|
|
29972
29972
|
var Table = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29973
29973
|
var _b = _a.density,
|
|
@@ -29984,12 +29984,12 @@ var Table = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
29984
29984
|
children: children
|
|
29985
29985
|
}), void 0);
|
|
29986
29986
|
});
|
|
29987
|
-
var templateObject_1$
|
|
29987
|
+
var templateObject_1$n, templateObject_2$g, templateObject_3$9;
|
|
29988
29988
|
|
|
29989
29989
|
var StyledBody = styled.tbody.withConfig({
|
|
29990
29990
|
displayName: "Body__StyledBody",
|
|
29991
29991
|
componentId: "sc-67qjfs-0"
|
|
29992
|
-
})(templateObject_1$
|
|
29992
|
+
})(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([""], [""])));
|
|
29993
29993
|
var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
29994
29994
|
var children = _a.children,
|
|
29995
29995
|
rest = __rest(_a, ["children"]);
|
|
@@ -30002,12 +30002,12 @@ var Body$1 = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30002
30002
|
children: children
|
|
30003
30003
|
}), void 0);
|
|
30004
30004
|
});
|
|
30005
|
-
var templateObject_1$
|
|
30005
|
+
var templateObject_1$m;
|
|
30006
30006
|
|
|
30007
30007
|
var StyledHead = styled.thead.withConfig({
|
|
30008
30008
|
displayName: "Head__StyledHead",
|
|
30009
30009
|
componentId: "sc-vzd2kv-0"
|
|
30010
|
-
})(templateObject_1$
|
|
30010
|
+
})(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([""], [""])));
|
|
30011
30011
|
var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30012
30012
|
var children = _a.children,
|
|
30013
30013
|
rest = __rest(_a, ["children"]);
|
|
@@ -30020,42 +30020,42 @@ var Head = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30020
30020
|
children: children
|
|
30021
30021
|
}), void 0);
|
|
30022
30022
|
});
|
|
30023
|
-
var templateObject_1$
|
|
30023
|
+
var templateObject_1$l;
|
|
30024
30024
|
|
|
30025
|
-
var Colors$
|
|
30026
|
-
FontPackages$
|
|
30025
|
+
var Colors$8 = ddsBaseTokens.colors,
|
|
30026
|
+
FontPackages$9 = ddsBaseTokens.fontPackages,
|
|
30027
30027
|
Border$3 = ddsBaseTokens.border;
|
|
30028
30028
|
var textDefault$4 = ddsReferenceTokens.textDefault;
|
|
30029
30029
|
|
|
30030
30030
|
var bodyRowBase = __assign({
|
|
30031
30031
|
color: textDefault$4.textColor
|
|
30032
|
-
}, FontPackages$
|
|
30032
|
+
}, FontPackages$9.body_sans_02.base);
|
|
30033
30033
|
|
|
30034
30034
|
var headRowBase = __assign(__assign({
|
|
30035
30035
|
color: textDefault$4.textColor
|
|
30036
|
-
}, FontPackages$
|
|
30036
|
+
}, FontPackages$9.body_sans_02.base), {
|
|
30037
30037
|
fontWeight: 600,
|
|
30038
30038
|
textAlign: 'left'
|
|
30039
30039
|
});
|
|
30040
30040
|
|
|
30041
30041
|
var bodyOddBase = {
|
|
30042
|
-
backgroundColor: Colors$
|
|
30042
|
+
backgroundColor: Colors$8.DdsColorNeutralsWhite
|
|
30043
30043
|
};
|
|
30044
30044
|
var bodyEvenBase = {
|
|
30045
|
-
backgroundColor: Colors$
|
|
30045
|
+
backgroundColor: Colors$8.DdsColorNeutralsGray1
|
|
30046
30046
|
};
|
|
30047
30047
|
var bodySelectedBase = {
|
|
30048
|
-
backgroundColor: Colors$
|
|
30048
|
+
backgroundColor: Colors$8.DdsColorSecondaryLightest
|
|
30049
30049
|
};
|
|
30050
30050
|
var bodyHoverBase = {
|
|
30051
|
-
backgroundColor: Colors$
|
|
30051
|
+
backgroundColor: Colors$8.DdsColorSecondaryLightest
|
|
30052
30052
|
};
|
|
30053
30053
|
|
|
30054
|
-
var bodySumBase = __assign(__assign({}, FontPackages$
|
|
30054
|
+
var bodySumBase = __assign(__assign({}, FontPackages$9.body_sans_02.base), {
|
|
30055
30055
|
fontWeight: 600,
|
|
30056
|
-
borderTop: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$
|
|
30057
|
-
borderBottom: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$
|
|
30058
|
-
backgroundColor: Colors$
|
|
30056
|
+
borderTop: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$8.DdsColorNeutralsGray4,
|
|
30057
|
+
borderBottom: Border$3.BordersDdsBorderStyle1StrokeWeight + " solid " + Colors$8.DdsColorNeutralsGray4,
|
|
30058
|
+
backgroundColor: Colors$8.DdsColorNeutralsWhite
|
|
30059
30059
|
});
|
|
30060
30060
|
|
|
30061
30061
|
var rowTokens = {
|
|
@@ -30088,7 +30088,7 @@ var rowTokens = {
|
|
|
30088
30088
|
};
|
|
30089
30089
|
|
|
30090
30090
|
var bodyStyles = function bodyStyles(mode, selected) {
|
|
30091
|
-
return Ae(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$
|
|
30091
|
+
return Ae(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), mode && Ae(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.mode[mode].base), selected && Ae(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), rowTokens.body.selected.base));
|
|
30092
30092
|
};
|
|
30093
30093
|
|
|
30094
30094
|
var StyledRow = styled.tr.withConfig({
|
|
@@ -30123,15 +30123,15 @@ var Row = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30123
30123
|
children: children
|
|
30124
30124
|
}), void 0);
|
|
30125
30125
|
});
|
|
30126
|
-
var templateObject_1$
|
|
30126
|
+
var templateObject_1$k, templateObject_2$f, templateObject_3$8, templateObject_4$7, templateObject_5$4, templateObject_6$3, templateObject_7$2;
|
|
30127
30127
|
|
|
30128
30128
|
var layoutStyle = function layoutStyle(layout) {
|
|
30129
30129
|
switch (layout) {
|
|
30130
30130
|
case 'center':
|
|
30131
|
-
return Ae(templateObject_1$
|
|
30131
|
+
return Ae(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n justify-content: center;\n "], ["\n justify-content: center;\n "])));
|
|
30132
30132
|
|
|
30133
30133
|
case 'right':
|
|
30134
|
-
return Ae(templateObject_2$
|
|
30134
|
+
return Ae(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n justify-content: flex-end;\n "], ["\n justify-content: flex-end;\n "])));
|
|
30135
30135
|
|
|
30136
30136
|
case 'text and icon':
|
|
30137
30137
|
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);
|
|
@@ -30194,7 +30194,7 @@ var Cell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30194
30194
|
}), void 0)
|
|
30195
30195
|
}), void 0);
|
|
30196
30196
|
});
|
|
30197
|
-
var templateObject_1$
|
|
30197
|
+
var templateObject_1$j, templateObject_2$e, templateObject_3$7, templateObject_4$6, templateObject_5$3, templateObject_6$2;
|
|
30198
30198
|
|
|
30199
30199
|
var KeyboardArrowDown = createCommonjsModule(function (module, exports) {
|
|
30200
30200
|
|
|
@@ -30271,11 +30271,11 @@ var UnfoldMoreIcon = /*@__PURE__*/getDefaultExportFromCjs(UnfoldMore);
|
|
|
30271
30271
|
var SortIconWrapper = styled(IconWrapper$1).withConfig({
|
|
30272
30272
|
displayName: "SortCell__SortIconWrapper",
|
|
30273
30273
|
componentId: "sc-1l3jzvh-0"
|
|
30274
|
-
})(templateObject_1$
|
|
30274
|
+
})(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), cellTokens.head.sortCell.icon.base);
|
|
30275
30275
|
var StyledButton = styled.button.withConfig({
|
|
30276
30276
|
displayName: "SortCell__StyledButton",
|
|
30277
30277
|
componentId: "sc-1l3jzvh-1"
|
|
30278
|
-
})(templateObject_2$
|
|
30278
|
+
})(templateObject_2$d || (templateObject_2$d = __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"])));
|
|
30279
30279
|
var SortCell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30280
30280
|
var isSorted = _a.isSorted,
|
|
30281
30281
|
sortOrder = _a.sortOrder,
|
|
@@ -30306,12 +30306,12 @@ var SortCell = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30306
30306
|
}), void 0)
|
|
30307
30307
|
}), void 0);
|
|
30308
30308
|
});
|
|
30309
|
-
var templateObject_1$
|
|
30309
|
+
var templateObject_1$i, templateObject_2$d;
|
|
30310
30310
|
|
|
30311
30311
|
var StyledFoot = styled.tfoot.withConfig({
|
|
30312
30312
|
displayName: "Foot__StyledFoot",
|
|
30313
30313
|
componentId: "sc-tfpehd-0"
|
|
30314
|
-
})(templateObject_1$
|
|
30314
|
+
})(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([""], [""])));
|
|
30315
30315
|
var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30316
30316
|
var children = _a.children,
|
|
30317
30317
|
rest = __rest(_a, ["children"]);
|
|
@@ -30324,14 +30324,14 @@ var Foot = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30324
30324
|
children: children
|
|
30325
30325
|
}), void 0);
|
|
30326
30326
|
});
|
|
30327
|
-
var templateObject_1$
|
|
30327
|
+
var templateObject_1$h;
|
|
30328
30328
|
|
|
30329
|
-
var Wrapper$
|
|
30329
|
+
var Wrapper$3 = styled.div.withConfig({
|
|
30330
30330
|
displayName: "TableWrapper__Wrapper",
|
|
30331
30331
|
componentId: "sc-eb384b-0"
|
|
30332
|
-
})(templateObject_2$
|
|
30332
|
+
})(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), function (_a) {
|
|
30333
30333
|
var overflowX = _a.overflowX;
|
|
30334
|
-
return overflowX && Ae(templateObject_1$
|
|
30334
|
+
return overflowX && Ae(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n overflow-x: auto;\n "], ["\n overflow-x: auto;\n "])));
|
|
30335
30335
|
}, scrollbarStyling);
|
|
30336
30336
|
var TableWrapper = function TableWrapper(_a) {
|
|
30337
30337
|
var children = _a.children,
|
|
@@ -30374,11 +30374,11 @@ var TableWrapper = function TableWrapper(_a) {
|
|
|
30374
30374
|
overflowX: overflowX
|
|
30375
30375
|
}, rest);
|
|
30376
30376
|
|
|
30377
|
-
return jsxRuntime.jsx(Wrapper$
|
|
30377
|
+
return jsxRuntime.jsx(Wrapper$3, __assign({}, wrapperProps, {
|
|
30378
30378
|
children: children
|
|
30379
30379
|
}), void 0);
|
|
30380
30380
|
};
|
|
30381
|
-
var templateObject_1$
|
|
30381
|
+
var templateObject_1$g, templateObject_2$c;
|
|
30382
30382
|
|
|
30383
30383
|
var Breadcrumb = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30384
30384
|
var children = _a.children,
|
|
@@ -30447,16 +30447,16 @@ exports.default = _default;
|
|
|
30447
30447
|
|
|
30448
30448
|
var ArrowBackOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(ArrowBackOutlined);
|
|
30449
30449
|
|
|
30450
|
-
var Colors$
|
|
30451
|
-
Spacing$
|
|
30452
|
-
FontPackages$
|
|
30450
|
+
var Colors$7 = ddsBaseTokens.colors,
|
|
30451
|
+
Spacing$b = ddsBaseTokens.spacing,
|
|
30452
|
+
FontPackages$8 = ddsBaseTokens.fontPackages;
|
|
30453
30453
|
var iconBase$2 = {
|
|
30454
|
-
color: Colors$
|
|
30455
|
-
marginLeft: Spacing$
|
|
30456
|
-
marginRight: Spacing$
|
|
30454
|
+
color: Colors$7.DdsColorInteractiveBase,
|
|
30455
|
+
marginLeft: Spacing$b.SizesDdsSpacingLocalX05,
|
|
30456
|
+
marginRight: Spacing$b.SizesDdsSpacingLocalX05
|
|
30457
30457
|
};
|
|
30458
30458
|
|
|
30459
|
-
var breadcrumbBase = __assign({}, FontPackages$
|
|
30459
|
+
var breadcrumbBase = __assign({}, FontPackages$8.body_sans_02.base);
|
|
30460
30460
|
|
|
30461
30461
|
var breadcrumbTokens = {
|
|
30462
30462
|
breadcrumb: {
|
|
@@ -30471,11 +30471,11 @@ var breadcrumbTokens = {
|
|
|
30471
30471
|
var List$2 = styled.ol.withConfig({
|
|
30472
30472
|
displayName: "Breadcrumbs__List",
|
|
30473
30473
|
componentId: "sc-xdj21o-0"
|
|
30474
|
-
})(templateObject_1$
|
|
30474
|
+
})(templateObject_1$f || (templateObject_1$f = __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"])));
|
|
30475
30475
|
var ListItem$2 = styled.li.withConfig({
|
|
30476
30476
|
displayName: "Breadcrumbs__ListItem",
|
|
30477
30477
|
componentId: "sc-xdj21o-1"
|
|
30478
|
-
})(templateObject_2$
|
|
30478
|
+
})(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n align-items: center;\n display: flex;\n ", "\n"], ["\n align-items: center;\n display: flex;\n ", "\n"])), breadcrumbTokens.breadcrumb.base);
|
|
30479
30479
|
var BreadcrumbIcon = styled(ChevronRightOutlinedIcon).withConfig({
|
|
30480
30480
|
displayName: "Breadcrumbs__BreadcrumbIcon",
|
|
30481
30481
|
componentId: "sc-xdj21o-2"
|
|
@@ -30515,7 +30515,7 @@ var Breadcrumbs = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30515
30515
|
}, void 0)
|
|
30516
30516
|
}), void 0);
|
|
30517
30517
|
});
|
|
30518
|
-
var templateObject_1$
|
|
30518
|
+
var templateObject_1$f, templateObject_2$b, templateObject_3$6, templateObject_4$5;
|
|
30519
30519
|
|
|
30520
30520
|
var ChevronLeftOutlined = createCommonjsModule(function (module, exports) {
|
|
30521
30521
|
|
|
@@ -30652,34 +30652,34 @@ function PaginationGenerator(pagesAmount, activePage) {
|
|
|
30652
30652
|
return arrayRange(1, pagesAmount);
|
|
30653
30653
|
}
|
|
30654
30654
|
|
|
30655
|
-
var Spacing$
|
|
30656
|
-
Colors$
|
|
30655
|
+
var Spacing$a = ddsBaseTokens.spacing,
|
|
30656
|
+
Colors$6 = ddsBaseTokens.colors;
|
|
30657
30657
|
var listBase = {
|
|
30658
|
-
color: Colors$
|
|
30658
|
+
color: Colors$6.DdsColorNeutralsGray7
|
|
30659
30659
|
};
|
|
30660
30660
|
var paginationTokens = {
|
|
30661
30661
|
container: {
|
|
30662
|
-
spaceBetweenItems: Spacing$
|
|
30662
|
+
spaceBetweenItems: Spacing$a.SizesDdsSpacingLocalX075
|
|
30663
30663
|
},
|
|
30664
30664
|
indicatorsContainer: {
|
|
30665
|
-
spacing: Spacing$
|
|
30665
|
+
spacing: Spacing$a.SizesDdsSpacingLocalX075
|
|
30666
30666
|
},
|
|
30667
30667
|
list: {
|
|
30668
30668
|
base: listBase
|
|
30669
30669
|
},
|
|
30670
30670
|
paginationItem: {
|
|
30671
|
-
spacing: Spacing$
|
|
30671
|
+
spacing: Spacing$a.SizesDdsSpacingLocalX075
|
|
30672
30672
|
}
|
|
30673
30673
|
};
|
|
30674
30674
|
|
|
30675
30675
|
var Nav = styled.nav.withConfig({
|
|
30676
30676
|
displayName: "Pagination__Nav",
|
|
30677
30677
|
componentId: "sc-5ltegq-0"
|
|
30678
|
-
})(templateObject_1$
|
|
30678
|
+
})(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
|
|
30679
30679
|
var List$1 = styled.ol.withConfig({
|
|
30680
30680
|
displayName: "Pagination__List",
|
|
30681
30681
|
componentId: "sc-5ltegq-1"
|
|
30682
|
-
})(templateObject_2$
|
|
30682
|
+
})(templateObject_2$a || (templateObject_2$a = __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);
|
|
30683
30683
|
var ListItem$1 = styled.li.withConfig({
|
|
30684
30684
|
displayName: "Pagination__ListItem",
|
|
30685
30685
|
componentId: "sc-5ltegq-2"
|
|
@@ -30876,21 +30876,21 @@ var Pagination = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30876
30876
|
}, void 0), navigationToBeRendered]
|
|
30877
30877
|
}), void 0);
|
|
30878
30878
|
});
|
|
30879
|
-
var templateObject_1$
|
|
30879
|
+
var templateObject_1$e, templateObject_2$a, templateObject_3$5, templateObject_4$4, templateObject_5$2, templateObject_6$1, templateObject_7$1;
|
|
30880
30880
|
|
|
30881
|
-
var Colors$
|
|
30881
|
+
var Colors$5 = ddsBaseTokens.colors,
|
|
30882
30882
|
Border$2 = ddsBaseTokens.border,
|
|
30883
|
-
Spacing$
|
|
30883
|
+
Spacing$9 = ddsBaseTokens.spacing;
|
|
30884
30884
|
var dividerColors = {
|
|
30885
|
-
primary: Colors$
|
|
30886
|
-
primaryLighter: Colors$
|
|
30885
|
+
primary: Colors$5.DdsColorPrimaryBase,
|
|
30886
|
+
primaryLighter: Colors$5.DdsColorPrimaryLighter
|
|
30887
30887
|
};
|
|
30888
30888
|
var base$7 = {
|
|
30889
30889
|
border: 0,
|
|
30890
30890
|
backgroundColor: 'transparent',
|
|
30891
30891
|
borderTop: Border$2.BordersDdsBorderStyle1StrokeWeight + " solid",
|
|
30892
|
-
marginTop: Spacing$
|
|
30893
|
-
marginBottom: Spacing$
|
|
30892
|
+
marginTop: Spacing$9.SizesDdsSpacingLocalX1,
|
|
30893
|
+
marginBottom: Spacing$9.SizesDdsSpacingLocalX1
|
|
30894
30894
|
};
|
|
30895
30895
|
var dividerTokens = {
|
|
30896
30896
|
base: base$7
|
|
@@ -30899,9 +30899,9 @@ var dividerTokens = {
|
|
|
30899
30899
|
var DividerLine = styled.hr.withConfig({
|
|
30900
30900
|
displayName: "Divider__DividerLine",
|
|
30901
30901
|
componentId: "sc-ggdopz-0"
|
|
30902
|
-
})(templateObject_2$
|
|
30902
|
+
})(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), dividerTokens.base, function (_a) {
|
|
30903
30903
|
var color = _a.color;
|
|
30904
|
-
return color && Ae(templateObject_1$
|
|
30904
|
+
return color && Ae(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n border-color: ", ";\n "], ["\n border-color: ", ";\n "])), dividerColors[color]);
|
|
30905
30905
|
});
|
|
30906
30906
|
var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30907
30907
|
var _b = _a.color,
|
|
@@ -30916,7 +30916,7 @@ var Divider = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
30916
30916
|
ref: ref
|
|
30917
30917
|
}, lineProps), void 0);
|
|
30918
30918
|
});
|
|
30919
|
-
var templateObject_1$
|
|
30919
|
+
var templateObject_1$d, templateObject_2$9;
|
|
30920
30920
|
|
|
30921
30921
|
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";
|
|
30922
30922
|
|
|
@@ -30924,45 +30924,45 @@ var img$1 = "data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14
|
|
|
30924
30924
|
|
|
30925
30925
|
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";
|
|
30926
30926
|
|
|
30927
|
-
var Spacing$
|
|
30927
|
+
var Spacing$8 = ddsBaseTokens.spacing;
|
|
30928
30928
|
var base$6 = {
|
|
30929
30929
|
lineHeight: '2.5em'
|
|
30930
30930
|
};
|
|
30931
30931
|
var listItemTokens = {
|
|
30932
30932
|
base: base$6,
|
|
30933
|
-
bulletSpacing: Spacing$
|
|
30933
|
+
bulletSpacing: Spacing$8.SizesDdsSpacingLocalX025
|
|
30934
30934
|
};
|
|
30935
30935
|
|
|
30936
|
-
var Spacing$
|
|
30937
|
-
FontPackages$
|
|
30936
|
+
var Spacing$7 = ddsBaseTokens.spacing,
|
|
30937
|
+
FontPackages$7 = ddsBaseTokens.fontPackages;
|
|
30938
30938
|
var textDefault$3 = ddsReferenceTokens.textDefault;
|
|
30939
30939
|
var inheritBase = {
|
|
30940
30940
|
font: 'inherit'
|
|
30941
30941
|
};
|
|
30942
30942
|
|
|
30943
|
-
var bodySans01Base = __assign({}, FontPackages$
|
|
30943
|
+
var bodySans01Base = __assign({}, FontPackages$7.body_sans_01.base);
|
|
30944
30944
|
|
|
30945
|
-
var bodySans02Base = __assign({}, FontPackages$
|
|
30945
|
+
var bodySans02Base = __assign({}, FontPackages$7.body_sans_02.base);
|
|
30946
30946
|
|
|
30947
|
-
var bodySans03Base = __assign({}, FontPackages$
|
|
30947
|
+
var bodySans03Base = __assign({}, FontPackages$7.body_sans_03.base);
|
|
30948
30948
|
|
|
30949
|
-
var bodySans04Base = __assign({}, FontPackages$
|
|
30949
|
+
var bodySans04Base = __assign({}, FontPackages$7.body_sans_04.base);
|
|
30950
30950
|
|
|
30951
|
-
var bodySerif01Base = __assign({}, FontPackages$
|
|
30951
|
+
var bodySerif01Base = __assign({}, FontPackages$7.body_serif_01.base);
|
|
30952
30952
|
|
|
30953
|
-
var bodySerif02Base = __assign({}, FontPackages$
|
|
30953
|
+
var bodySerif02Base = __assign({}, FontPackages$7.body_serif_02.base);
|
|
30954
30954
|
|
|
30955
|
-
var bodySerif03Base = __assign({}, FontPackages$
|
|
30955
|
+
var bodySerif03Base = __assign({}, FontPackages$7.body_serif_03.base);
|
|
30956
30956
|
|
|
30957
|
-
var bodySerif04Base = __assign({}, FontPackages$
|
|
30957
|
+
var bodySerif04Base = __assign({}, FontPackages$7.body_serif_04.base);
|
|
30958
30958
|
|
|
30959
30959
|
var base$5 = {
|
|
30960
|
-
margin: Spacing$
|
|
30960
|
+
margin: Spacing$7.SizesDdsSpacingLocalX1 + " 0",
|
|
30961
30961
|
color: textDefault$3.textColor
|
|
30962
30962
|
};
|
|
30963
30963
|
var listTokens = {
|
|
30964
30964
|
base: base$5,
|
|
30965
|
-
spaceLeft: Spacing$
|
|
30965
|
+
spaceLeft: Spacing$7.SizesDdsSpacingLocalX2,
|
|
30966
30966
|
sizes: {
|
|
30967
30967
|
bodySans01: bodySans01Base,
|
|
30968
30968
|
bodySans02: bodySans02Base,
|
|
@@ -30983,10 +30983,10 @@ var StyledList = styled.ul.withConfig({
|
|
|
30983
30983
|
componentId: "sc-1f1c7eb-0"
|
|
30984
30984
|
})(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) {
|
|
30985
30985
|
var typographyType = _a.typographyType;
|
|
30986
|
-
return typographyType && Ae(templateObject_1$
|
|
30986
|
+
return typographyType && Ae(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n ", "\n ul,\n ol {\n ", "\n }\n "], ["\n ", "\n ul,\n ol {\n ", "\n }\n "])), listTokens.sizes[typographyType], listTokens.sizes[typographyType]);
|
|
30987
30987
|
}, function (_a) {
|
|
30988
30988
|
var listType = _a.listType;
|
|
30989
|
-
return listType === 'unordered' ? Ae(templateObject_2$
|
|
30989
|
+
return listType === 'unordered' ? Ae(templateObject_2$8 || (templateObject_2$8 = __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);
|
|
30990
30990
|
});
|
|
30991
30991
|
var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
30992
30992
|
var _b = _a.listType,
|
|
@@ -31009,12 +31009,12 @@ var List = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31009
31009
|
children: children
|
|
31010
31010
|
}), void 0);
|
|
31011
31011
|
});
|
|
31012
|
-
var templateObject_1$
|
|
31012
|
+
var templateObject_1$c, templateObject_2$8, templateObject_3$4, templateObject_4$3;
|
|
31013
31013
|
|
|
31014
31014
|
var StyledListItem = styled.li.withConfig({
|
|
31015
31015
|
displayName: "ListItem__StyledListItem",
|
|
31016
31016
|
componentId: "sc-17s9l0b-0"
|
|
31017
|
-
})(templateObject_1$
|
|
31017
|
+
})(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), listItemTokens.base);
|
|
31018
31018
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31019
31019
|
var children = _a.children,
|
|
31020
31020
|
rest = __rest(_a, ["children"]);
|
|
@@ -31025,19 +31025,19 @@ var ListItem = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31025
31025
|
children: children
|
|
31026
31026
|
}), void 0);
|
|
31027
31027
|
});
|
|
31028
|
-
var templateObject_1$
|
|
31028
|
+
var templateObject_1$b;
|
|
31029
31029
|
|
|
31030
|
-
var Spacing$
|
|
31031
|
-
FontPackages$
|
|
31032
|
-
Colors$
|
|
31030
|
+
var Spacing$6 = ddsBaseTokens.spacing,
|
|
31031
|
+
FontPackages$6 = ddsBaseTokens.fontPackages,
|
|
31032
|
+
Colors$4 = ddsBaseTokens.colors;
|
|
31033
31033
|
var textDefault$2 = ddsReferenceTokens.textDefault;
|
|
31034
31034
|
|
|
31035
|
-
var boldBase = __assign(__assign(__assign({}, FontPackages$
|
|
31035
|
+
var boldBase = __assign(__assign(__assign({}, FontPackages$6.body_sans_03.base), typographyTokens.style.bold.base), {
|
|
31036
31036
|
color: textDefault$2.textColor
|
|
31037
31037
|
});
|
|
31038
31038
|
|
|
31039
|
-
var smallBase = __assign(__assign({}, FontPackages$
|
|
31040
|
-
color: Colors$
|
|
31039
|
+
var smallBase = __assign(__assign({}, FontPackages$6.body_sans_01.base), {
|
|
31040
|
+
color: Colors$4.DdsColorNeutralsGray7
|
|
31041
31041
|
});
|
|
31042
31042
|
|
|
31043
31043
|
var descriptionListTermTokens = {
|
|
@@ -31049,16 +31049,16 @@ var descriptionListTermTokens = {
|
|
|
31049
31049
|
base: boldBase
|
|
31050
31050
|
}
|
|
31051
31051
|
},
|
|
31052
|
-
unwrappedTopAndBottomSpace: Spacing$
|
|
31053
|
-
unwrappedBetweenSpace: Spacing$
|
|
31052
|
+
unwrappedTopAndBottomSpace: Spacing$6.SizesDdsSpacingLocalX1,
|
|
31053
|
+
unwrappedBetweenSpace: Spacing$6.SizesDdsSpacingLocalX2
|
|
31054
31054
|
};
|
|
31055
31055
|
|
|
31056
31056
|
var DList = styled.dl.withConfig({
|
|
31057
31057
|
displayName: "DescriptionList__DList",
|
|
31058
31058
|
componentId: "sc-1ob73hm-0"
|
|
31059
|
-
})(templateObject_2$
|
|
31059
|
+
})(templateObject_2$7 || (templateObject_2$7 = __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) {
|
|
31060
31060
|
var appearance = _a.appearance;
|
|
31061
|
-
return appearance && Ae(templateObject_1$
|
|
31061
|
+
return appearance && Ae(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n dt {\n ", "\n }\n "], ["\n dt {\n ", "\n }\n "])), descriptionListTermTokens.appearance[appearance].base);
|
|
31062
31062
|
}, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedTopAndBottomSpace, descriptionListTermTokens.unwrappedBetweenSpace);
|
|
31063
31063
|
var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31064
31064
|
var _b = _a.appearance,
|
|
@@ -31075,12 +31075,12 @@ var DescriptionList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31075
31075
|
children: children
|
|
31076
31076
|
}), void 0);
|
|
31077
31077
|
});
|
|
31078
|
-
var templateObject_1$
|
|
31078
|
+
var templateObject_1$a, templateObject_2$7;
|
|
31079
31079
|
|
|
31080
31080
|
var DListTerm = styled.dt.withConfig({
|
|
31081
31081
|
displayName: "DescriptionListTerm__DListTerm",
|
|
31082
31082
|
componentId: "sc-10w0rzr-0"
|
|
31083
|
-
})(templateObject_1$
|
|
31083
|
+
})(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([""], [""])));
|
|
31084
31084
|
var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31085
31085
|
var children = _a.children,
|
|
31086
31086
|
rest = __rest(_a, ["children"]);
|
|
@@ -31093,18 +31093,18 @@ var DescriptionListTerm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31093
31093
|
children: children
|
|
31094
31094
|
}), void 0);
|
|
31095
31095
|
});
|
|
31096
|
-
var templateObject_1$
|
|
31096
|
+
var templateObject_1$9;
|
|
31097
31097
|
|
|
31098
|
-
var Spacing$
|
|
31099
|
-
FontPackages$
|
|
31098
|
+
var Spacing$5 = ddsBaseTokens.spacing,
|
|
31099
|
+
FontPackages$5 = ddsBaseTokens.fontPackages;
|
|
31100
31100
|
var textDefault$1 = ddsReferenceTokens.textDefault;
|
|
31101
31101
|
|
|
31102
|
-
var base$4 = __assign(__assign({}, FontPackages$
|
|
31102
|
+
var base$4 = __assign(__assign({}, FontPackages$5.body_sans_03.base), {
|
|
31103
31103
|
color: textDefault$1.textColor
|
|
31104
31104
|
});
|
|
31105
31105
|
|
|
31106
31106
|
var iconBase$1 = {
|
|
31107
|
-
marginRight: Spacing$
|
|
31107
|
+
marginRight: Spacing$5.SizesDdsSpacingLocalX025
|
|
31108
31108
|
};
|
|
31109
31109
|
var descriptionListDescTokens = {
|
|
31110
31110
|
base: base$4,
|
|
@@ -31116,11 +31116,11 @@ var descriptionListDescTokens = {
|
|
|
31116
31116
|
var DListDesc = styled.dd.withConfig({
|
|
31117
31117
|
displayName: "DescriptionListDesc__DListDesc",
|
|
31118
31118
|
componentId: "sc-1djcf0s-0"
|
|
31119
|
-
})(templateObject_1$
|
|
31119
|
+
})(templateObject_1$8 || (templateObject_1$8 = __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);
|
|
31120
31120
|
var StyledIconWrapper$1 = styled(IconWrapper$1).withConfig({
|
|
31121
31121
|
displayName: "DescriptionListDesc__StyledIconWrapper",
|
|
31122
31122
|
componentId: "sc-1djcf0s-1"
|
|
31123
|
-
})(templateObject_2$
|
|
31123
|
+
})(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), descriptionListDescTokens.icon.base);
|
|
31124
31124
|
var DescriptionListDesc = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31125
31125
|
var children = _a.children,
|
|
31126
31126
|
Icon = _a.Icon,
|
|
@@ -31137,11 +31137,11 @@ var DescriptionListDesc = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31137
31137
|
}, void 0), " ", children]
|
|
31138
31138
|
}), void 0);
|
|
31139
31139
|
});
|
|
31140
|
-
var templateObject_1$
|
|
31140
|
+
var templateObject_1$8, templateObject_2$6;
|
|
31141
31141
|
|
|
31142
|
-
var Spacing$
|
|
31142
|
+
var Spacing$4 = ddsBaseTokens.spacing;
|
|
31143
31143
|
var base$3 = {
|
|
31144
|
-
margin: Spacing$
|
|
31144
|
+
margin: Spacing$4.SizesDdsSpacingLocalX2
|
|
31145
31145
|
};
|
|
31146
31146
|
var descriptionListGroupTokens = {
|
|
31147
31147
|
base: base$3
|
|
@@ -31150,9 +31150,9 @@ var descriptionListGroupTokens = {
|
|
|
31150
31150
|
var DListGroup = styled.div.withConfig({
|
|
31151
31151
|
displayName: "DescriptionListGroup__DListGroup",
|
|
31152
31152
|
componentId: "sc-jkdc0o-0"
|
|
31153
|
-
})(templateObject_2$
|
|
31153
|
+
})(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n ", "\n ", "\n"], ["\n ", "\n ", "\n"])), descriptionListGroupTokens.base, function (_a) {
|
|
31154
31154
|
var margin = _a.margin;
|
|
31155
|
-
return margin && Ae(templateObject_1$
|
|
31155
|
+
return margin && Ae(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n margin: ", ";\n "], ["\n margin: ", ";\n "])), margin);
|
|
31156
31156
|
});
|
|
31157
31157
|
var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31158
31158
|
var children = _a.children,
|
|
@@ -31167,43 +31167,43 @@ var DescriptionListGroup = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31167
31167
|
children: children
|
|
31168
31168
|
}), void 0);
|
|
31169
31169
|
});
|
|
31170
|
-
var templateObject_1$
|
|
31170
|
+
var templateObject_1$7, templateObject_2$5;
|
|
31171
31171
|
|
|
31172
|
-
var Colors$
|
|
31172
|
+
var Colors$3 = ddsBaseTokens.colors,
|
|
31173
31173
|
Border$1 = ddsBaseTokens.border,
|
|
31174
|
-
FontPackages$
|
|
31174
|
+
FontPackages$4 = ddsBaseTokens.fontPackages;
|
|
31175
31175
|
var textDefault = ddsReferenceTokens.textDefault;
|
|
31176
31176
|
|
|
31177
31177
|
var base$2 = __assign({
|
|
31178
31178
|
border: Border$1.BordersDdsBorderStyle1StrokeWeight + " solid"
|
|
31179
|
-
}, FontPackages$
|
|
31179
|
+
}, FontPackages$4.body_sans_02.base);
|
|
31180
31180
|
|
|
31181
31181
|
var navigationHoverBase = {
|
|
31182
|
-
borderColor: Colors$
|
|
31183
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
31182
|
+
borderColor: Colors$3.DdsColorInteractiveBase,
|
|
31183
|
+
boxShadow: "0 0 0 1px " + Colors$3.DdsColorInteractiveBase
|
|
31184
31184
|
};
|
|
31185
31185
|
var navigationFocusBase = {
|
|
31186
|
-
borderColor: Colors$
|
|
31187
|
-
boxShadow: "0 0 0 1px " + Colors$
|
|
31186
|
+
borderColor: Colors$3.DdsColorWarningDarkest,
|
|
31187
|
+
boxShadow: "0 0 0 1px " + Colors$3.DdsColorWarningDarkest
|
|
31188
31188
|
};
|
|
31189
31189
|
var filledDarkBase = {
|
|
31190
|
-
backgroundColor: Colors$
|
|
31191
|
-
borderColor: Colors$
|
|
31192
|
-
color: Colors$
|
|
31190
|
+
backgroundColor: Colors$3.DdsColorPrimaryBase,
|
|
31191
|
+
borderColor: Colors$3.DdsColorPrimaryBase,
|
|
31192
|
+
color: Colors$3.DdsColorNeutralsWhite
|
|
31193
31193
|
};
|
|
31194
31194
|
var filledLightBase = {
|
|
31195
|
-
backgroundColor: Colors$
|
|
31196
|
-
borderColor: Colors$
|
|
31195
|
+
backgroundColor: Colors$3.DdsColorPrimaryLightest,
|
|
31196
|
+
borderColor: Colors$3.DdsColorPrimaryLightest,
|
|
31197
31197
|
color: textDefault.textColor
|
|
31198
31198
|
};
|
|
31199
31199
|
var strokeLightBase = {
|
|
31200
|
-
backgroundColor: Colors$
|
|
31201
|
-
borderColor: Colors$
|
|
31200
|
+
backgroundColor: Colors$3.DdsColorNeutralsWhite,
|
|
31201
|
+
borderColor: Colors$3.DdsColorNeutralsGray5,
|
|
31202
31202
|
color: textDefault.textColor
|
|
31203
31203
|
};
|
|
31204
31204
|
var strokeDarkBase = {
|
|
31205
|
-
backgroundColor: Colors$
|
|
31206
|
-
borderColor: Colors$
|
|
31205
|
+
backgroundColor: Colors$3.DdsColorNeutralsWhite,
|
|
31206
|
+
borderColor: Colors$3.DdsColorNeutralsGray9,
|
|
31207
31207
|
color: textDefault.textColor
|
|
31208
31208
|
};
|
|
31209
31209
|
var cardTokens = {
|
|
@@ -31237,10 +31237,10 @@ var Container = styled.div.withConfig({
|
|
|
31237
31237
|
componentId: "sc-410ao9-0"
|
|
31238
31238
|
})(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) {
|
|
31239
31239
|
var color = _a.color;
|
|
31240
|
-
return color && Ae(templateObject_1$
|
|
31240
|
+
return color && Ae(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), cardTokens.colors[color].base);
|
|
31241
31241
|
}, function (_a) {
|
|
31242
31242
|
var cardType = _a.cardType;
|
|
31243
|
-
return cardType === 'navigation' && Ae(templateObject_2$
|
|
31243
|
+
return cardType === 'navigation' && Ae(templateObject_2$4 || (templateObject_2$4 = __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);
|
|
31244
31244
|
});
|
|
31245
31245
|
var Card = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31246
31246
|
var children = _a.children,
|
|
@@ -31263,12 +31263,12 @@ var Card = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31263
31263
|
children: children
|
|
31264
31264
|
}), void 0);
|
|
31265
31265
|
});
|
|
31266
|
-
var templateObject_1$
|
|
31266
|
+
var templateObject_1$6, templateObject_2$4, templateObject_3$3;
|
|
31267
31267
|
|
|
31268
|
-
var Wrapper$
|
|
31268
|
+
var Wrapper$2 = styled.div.withConfig({
|
|
31269
31269
|
displayName: "CardAccordion__Wrapper",
|
|
31270
31270
|
componentId: "sc-1ctxrby-0"
|
|
31271
|
-
})(templateObject_1$
|
|
31271
|
+
})(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([""], [""])));
|
|
31272
31272
|
var nextUniqueId$1 = 0;
|
|
31273
31273
|
var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
31274
31274
|
var isExpanded = _a.isExpanded,
|
|
@@ -31309,25 +31309,25 @@ var CardAccordion = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31309
31309
|
ref: ref
|
|
31310
31310
|
}, rest);
|
|
31311
31311
|
|
|
31312
|
-
return jsxRuntime.jsx(Wrapper$
|
|
31312
|
+
return jsxRuntime.jsx(Wrapper$2, __assign({}, props, {
|
|
31313
31313
|
children: Children
|
|
31314
31314
|
}), void 0);
|
|
31315
31315
|
});
|
|
31316
|
-
var templateObject_1$
|
|
31316
|
+
var templateObject_1$5;
|
|
31317
31317
|
|
|
31318
|
-
var Spacing$
|
|
31319
|
-
FontPackages$
|
|
31320
|
-
Colors$
|
|
31318
|
+
var Spacing$3 = ddsBaseTokens.spacing,
|
|
31319
|
+
FontPackages$3 = ddsBaseTokens.fontPackages,
|
|
31320
|
+
Colors$2 = ddsBaseTokens.colors;
|
|
31321
31321
|
|
|
31322
31322
|
var base$1 = __assign({
|
|
31323
|
-
padding: Spacing$
|
|
31324
|
-
}, FontPackages$
|
|
31323
|
+
padding: Spacing$3.SizesDdsSpacingLocalX1
|
|
31324
|
+
}, FontPackages$3.heading_sans_03.base);
|
|
31325
31325
|
|
|
31326
31326
|
var focusBase = {
|
|
31327
|
-
boxShadow: "0 0 0 2px " + Colors$
|
|
31327
|
+
boxShadow: "0 0 0 2px " + Colors$2.DdsColorWarningDarkest
|
|
31328
31328
|
};
|
|
31329
31329
|
var hoverBase = {
|
|
31330
|
-
boxShadow: "0 0 0 2px " + Colors$
|
|
31330
|
+
boxShadow: "0 0 0 2px " + Colors$2.DdsColorInteractiveBase
|
|
31331
31331
|
};
|
|
31332
31332
|
var cardAccordionHeaderTokens = {
|
|
31333
31333
|
base: base$1,
|
|
@@ -31342,11 +31342,11 @@ var cardAccordionHeaderTokens = {
|
|
|
31342
31342
|
var ContentWrapper = styled.div.withConfig({
|
|
31343
31343
|
displayName: "CardAccordionHeader__ContentWrapper",
|
|
31344
31344
|
componentId: "sc-1qs6bkj-0"
|
|
31345
|
-
})(templateObject_1$
|
|
31345
|
+
})(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([""], [""])));
|
|
31346
31346
|
var HeaderContainer = styled.div.withConfig({
|
|
31347
31347
|
displayName: "CardAccordionHeader__HeaderContainer",
|
|
31348
31348
|
componentId: "sc-1qs6bkj-1"
|
|
31349
|
-
})(templateObject_2$
|
|
31349
|
+
})(templateObject_2$3 || (templateObject_2$3 = __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);
|
|
31350
31350
|
var HeaderWrapper = styled.div.withConfig({
|
|
31351
31351
|
displayName: "CardAccordionHeader__HeaderWrapper",
|
|
31352
31352
|
componentId: "sc-1qs6bkj-2"
|
|
@@ -31412,26 +31412,26 @@ var CardAccordionHeader = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31412
31412
|
}), void 0)
|
|
31413
31413
|
}), void 0);
|
|
31414
31414
|
});
|
|
31415
|
-
var templateObject_1$
|
|
31415
|
+
var templateObject_1$4, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$1;
|
|
31416
31416
|
|
|
31417
|
-
var Spacing$
|
|
31418
|
-
FontPackages$
|
|
31417
|
+
var Spacing$2 = ddsBaseTokens.spacing,
|
|
31418
|
+
FontPackages$2 = ddsBaseTokens.fontPackages;
|
|
31419
31419
|
|
|
31420
31420
|
var base = __assign({
|
|
31421
|
-
padding: "0 " + Spacing$
|
|
31422
|
-
}, FontPackages$
|
|
31421
|
+
padding: "0 " + Spacing$2.SizesDdsSpacingLocalX1 + " " + Spacing$2.SizesDdsSpacingLocalX1 + " " + Spacing$2.SizesDdsSpacingLocalX1
|
|
31422
|
+
}, FontPackages$2.body_sans_03.base);
|
|
31423
31423
|
|
|
31424
31424
|
var cardAccordionBodyTokens = {
|
|
31425
31425
|
base: base
|
|
31426
31426
|
};
|
|
31427
31427
|
|
|
31428
|
-
var expandingAnimation = Ae(templateObject_1$
|
|
31428
|
+
var expandingAnimation = Ae(templateObject_1$3 || (templateObject_1$3 = __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"])));
|
|
31429
31429
|
var Body = styled.div.withConfig({
|
|
31430
31430
|
displayName: "CardAccordionBody__Body",
|
|
31431
31431
|
componentId: "sc-igsnpx-0"
|
|
31432
31432
|
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), expandingAnimation, cardAccordionBodyTokens.base, function (_a) {
|
|
31433
31433
|
var isExpanded = _a.isExpanded;
|
|
31434
|
-
return !isExpanded && Ae(templateObject_2$
|
|
31434
|
+
return !isExpanded && Ae(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n padding-bottom: 0;\n "], ["\n padding-bottom: 0;\n "])));
|
|
31435
31435
|
});
|
|
31436
31436
|
var BodyWrapper = styled.div.withConfig({
|
|
31437
31437
|
displayName: "CardAccordionBody__BodyWrapper",
|
|
@@ -31483,7 +31483,7 @@ var CardAccordionBody = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
31483
31483
|
}), void 0)
|
|
31484
31484
|
}), void 0);
|
|
31485
31485
|
});
|
|
31486
|
-
var templateObject_1$
|
|
31486
|
+
var templateObject_1$3, templateObject_2$2, templateObject_3$1, templateObject_4$1;
|
|
31487
31487
|
|
|
31488
31488
|
var MoreVertOutlined = createCommonjsModule(function (module, exports) {
|
|
31489
31489
|
|
|
@@ -31559,37 +31559,37 @@ var MenuOutlinedIcon = /*@__PURE__*/getDefaultExportFromCjs(MenuOutlined);
|
|
|
31559
31559
|
|
|
31560
31560
|
var Border = ddsBaseTokens.border,
|
|
31561
31561
|
BorderRadius = ddsBaseTokens.borderRadius,
|
|
31562
|
-
Colors = ddsBaseTokens.colors,
|
|
31563
|
-
Spacing = ddsBaseTokens.spacing,
|
|
31564
|
-
FontPackages = ddsBaseTokens.fontPackages;
|
|
31565
|
-
var borderColor = Colors.DdsColorPrimaryLighter;
|
|
31562
|
+
Colors$1 = ddsBaseTokens.colors,
|
|
31563
|
+
Spacing$1 = ddsBaseTokens.spacing,
|
|
31564
|
+
FontPackages$1 = ddsBaseTokens.fontPackages;
|
|
31565
|
+
var borderColor = Colors$1.DdsColorPrimaryLighter;
|
|
31566
31566
|
|
|
31567
|
-
var linkBase = __assign({
|
|
31568
|
-
color: Colors.DdsColorNeutralsGray9,
|
|
31567
|
+
var linkBase$1 = __assign({
|
|
31568
|
+
color: Colors$1.DdsColorNeutralsGray9,
|
|
31569
31569
|
textDecoration: 'none',
|
|
31570
|
-
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
31571
|
-
}, FontPackages.body_sans_01.base);
|
|
31570
|
+
backgroundColor: Colors$1.DdsColorNeutralsWhite
|
|
31571
|
+
}, FontPackages$1.body_sans_01.base);
|
|
31572
31572
|
|
|
31573
31573
|
var linkHoverBase = {
|
|
31574
|
-
color: Colors.DdsColorInteractiveDark,
|
|
31575
|
-
backgroundColor: Colors.DdsColorPrimaryLightest
|
|
31574
|
+
color: Colors$1.DdsColorInteractiveDark,
|
|
31575
|
+
backgroundColor: Colors$1.DdsColorPrimaryLightest
|
|
31576
31576
|
};
|
|
31577
31577
|
var linkActiveBase = {
|
|
31578
|
-
color: Colors.DdsColorInteractiveBase
|
|
31578
|
+
color: Colors$1.DdsColorInteractiveBase
|
|
31579
31579
|
};
|
|
31580
|
-
var wrapperBase = {
|
|
31581
|
-
backgroundColor: Colors.DdsColorNeutralsWhite
|
|
31580
|
+
var wrapperBase$1 = {
|
|
31581
|
+
backgroundColor: Colors$1.DdsColorNeutralsWhite
|
|
31582
31582
|
};
|
|
31583
31583
|
var applicationNameWrapperBase = {
|
|
31584
|
-
padding: Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31584
|
+
padding: Spacing$1.SizesDdsSpacingLocalX1 + " " + Spacing$1.SizesDdsSpacingLocalX15
|
|
31585
31585
|
};
|
|
31586
31586
|
var lovisaWrapperBase = {
|
|
31587
|
-
padding: Spacing.SizesDdsSpacingLocalX1 + " " + Spacing.SizesDdsSpacingLocalX15,
|
|
31587
|
+
padding: Spacing$1.SizesDdsSpacingLocalX1 + " " + Spacing$1.SizesDdsSpacingLocalX15,
|
|
31588
31588
|
borderRight: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid "
|
|
31589
31589
|
};
|
|
31590
31590
|
var bannerBase = {
|
|
31591
31591
|
borderBottom: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid ",
|
|
31592
|
-
paddingRight: Spacing.SizesDdsSpacingLocalX1
|
|
31592
|
+
paddingRight: Spacing$1.SizesDdsSpacingLocalX1
|
|
31593
31593
|
};
|
|
31594
31594
|
var bannerLeftBase = {};
|
|
31595
31595
|
var navigationBase = {
|
|
@@ -31597,49 +31597,49 @@ var navigationBase = {
|
|
|
31597
31597
|
};
|
|
31598
31598
|
|
|
31599
31599
|
var navigationLinkBase = __assign({
|
|
31600
|
-
padding: Spacing.SizesDdsSpacingLocalX075 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31601
|
-
}, linkBase);
|
|
31600
|
+
padding: Spacing$1.SizesDdsSpacingLocalX075 + " " + Spacing$1.SizesDdsSpacingLocalX15
|
|
31601
|
+
}, linkBase$1);
|
|
31602
31602
|
|
|
31603
31603
|
var navigationLinkHoverBase = __assign({}, linkHoverBase);
|
|
31604
31604
|
|
|
31605
31605
|
var navigationLinkActiveBase = __assign({}, linkActiveBase);
|
|
31606
31606
|
|
|
31607
31607
|
var navigationLinkFocusBase = {
|
|
31608
|
-
color: Colors.DdsColorNeutralsWhite,
|
|
31609
|
-
backgroundColor: Colors.DdsColorWarningDarkest
|
|
31608
|
+
color: Colors$1.DdsColorNeutralsWhite,
|
|
31609
|
+
backgroundColor: Colors$1.DdsColorWarningDarkest
|
|
31610
31610
|
};
|
|
31611
31611
|
var navigationLinkCurrentBase = {
|
|
31612
|
-
color: Colors.DdsColorInteractiveDarker,
|
|
31613
|
-
backgroundColor: Colors.DdsColorPrimaryLightest
|
|
31612
|
+
color: Colors$1.DdsColorInteractiveDarker,
|
|
31613
|
+
backgroundColor: Colors$1.DdsColorPrimaryLightest
|
|
31614
31614
|
};
|
|
31615
31615
|
var contextMenuBase = {
|
|
31616
31616
|
border: Border.BordersDdsBorderStyle1StrokeWeight + " " + borderColor + " solid ",
|
|
31617
|
-
backgroundColor: Colors.DdsColorNeutralsWhite,
|
|
31617
|
+
backgroundColor: Colors$1.DdsColorNeutralsWhite,
|
|
31618
31618
|
borderRadius: BorderRadius.RadiiDdsBorderRadius1Radius
|
|
31619
31619
|
};
|
|
31620
31620
|
|
|
31621
31621
|
var contextMenuLinkBase = __assign({
|
|
31622
|
-
padding: Spacing.SizesDdsSpacingLocalX075 + " " + Spacing.SizesDdsSpacingLocalX15
|
|
31623
|
-
}, linkBase);
|
|
31622
|
+
padding: Spacing$1.SizesDdsSpacingLocalX075 + " " + Spacing$1.SizesDdsSpacingLocalX15
|
|
31623
|
+
}, linkBase$1);
|
|
31624
31624
|
|
|
31625
31625
|
var contextMenuLinkHoverBase = __assign({}, linkHoverBase);
|
|
31626
31626
|
|
|
31627
31627
|
var contextMenuLinkActiveBase = __assign({}, linkActiveBase);
|
|
31628
31628
|
|
|
31629
31629
|
var contextMenuLinkFocusBase = {
|
|
31630
|
-
color: Colors.DdsColorNeutralsWhite,
|
|
31631
|
-
backgroundColor: Colors.DdsColorWarningDarkest
|
|
31630
|
+
color: Colors$1.DdsColorNeutralsWhite,
|
|
31631
|
+
backgroundColor: Colors$1.DdsColorWarningDarkest
|
|
31632
31632
|
};
|
|
31633
31633
|
var iconBase = {
|
|
31634
|
-
marginRight: Spacing.SizesDdsSpacingLocalX025
|
|
31634
|
+
marginRight: Spacing$1.SizesDdsSpacingLocalX025
|
|
31635
31635
|
};
|
|
31636
31636
|
var contextMenuDividerBase = {
|
|
31637
|
-
marginRight: Spacing.SizesDdsSpacingLocalX15,
|
|
31638
|
-
marginLeft: Spacing.SizesDdsSpacingLocalX15
|
|
31637
|
+
marginRight: Spacing$1.SizesDdsSpacingLocalX15,
|
|
31638
|
+
marginLeft: Spacing$1.SizesDdsSpacingLocalX15
|
|
31639
31639
|
};
|
|
31640
31640
|
var internalHeaderTokens = {
|
|
31641
31641
|
wrapper: {
|
|
31642
|
-
base: wrapperBase
|
|
31642
|
+
base: wrapperBase$1
|
|
31643
31643
|
},
|
|
31644
31644
|
applicationNameWrapper: {
|
|
31645
31645
|
base: applicationNameWrapperBase
|
|
@@ -31673,7 +31673,7 @@ var internalHeaderTokens = {
|
|
|
31673
31673
|
},
|
|
31674
31674
|
contextMenu: {
|
|
31675
31675
|
base: contextMenuBase,
|
|
31676
|
-
spaceFromButtonTop: Spacing.SizesDdsSpacingLocalX025
|
|
31676
|
+
spaceFromButtonTop: Spacing$1.SizesDdsSpacingLocalX025
|
|
31677
31677
|
},
|
|
31678
31678
|
contextMenuLink: {
|
|
31679
31679
|
base: contextMenuLinkBase,
|
|
@@ -31695,14 +31695,14 @@ var internalHeaderTokens = {
|
|
|
31695
31695
|
}
|
|
31696
31696
|
};
|
|
31697
31697
|
|
|
31698
|
-
var Wrapper = styled.div.withConfig({
|
|
31698
|
+
var Wrapper$1 = styled.div.withConfig({
|
|
31699
31699
|
displayName: "InternalHeaderstyles__Wrapper",
|
|
31700
31700
|
componentId: "sc-91bnca-0"
|
|
31701
|
-
})(templateObject_1$
|
|
31701
|
+
})(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n *::selection {\n ", "\n }\n ", "\n"], ["\n *::selection {\n ", "\n }\n ", "\n"])), typographyTokens.selection.base, internalHeaderTokens.wrapper.base);
|
|
31702
31702
|
var BannerWrapper = styled.div.withConfig({
|
|
31703
31703
|
displayName: "InternalHeaderstyles__BannerWrapper",
|
|
31704
31704
|
componentId: "sc-91bnca-1"
|
|
31705
|
-
})(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);
|
|
31705
|
+
})(templateObject_2$1 || (templateObject_2$1 = __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);
|
|
31706
31706
|
var BannerLeftWrapper = styled.div.withConfig({
|
|
31707
31707
|
displayName: "InternalHeaderstyles__BannerLeftWrapper",
|
|
31708
31708
|
componentId: "sc-91bnca-2"
|
|
@@ -31771,7 +31771,7 @@ var StyledIconWrapper = styled(IconWrapper$1).withConfig({
|
|
|
31771
31771
|
displayName: "InternalHeaderstyles__StyledIconWrapper",
|
|
31772
31772
|
componentId: "sc-91bnca-15"
|
|
31773
31773
|
})(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), internalHeaderTokens.icon.base);
|
|
31774
|
-
var templateObject_1$
|
|
31774
|
+
var templateObject_1$2, templateObject_2$1, 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;
|
|
31775
31775
|
|
|
31776
31776
|
var InternalHeader = function InternalHeader(_a) {
|
|
31777
31777
|
var applicationName = _a.applicationName,
|
|
@@ -31956,7 +31956,7 @@ var InternalHeader = function InternalHeader(_a) {
|
|
|
31956
31956
|
|
|
31957
31957
|
var wrapperProps = __assign({}, rest);
|
|
31958
31958
|
|
|
31959
|
-
return jsxRuntime.jsxs(Wrapper, __assign({}, wrapperProps, {
|
|
31959
|
+
return jsxRuntime.jsxs(Wrapper$1, __assign({}, wrapperProps, {
|
|
31960
31960
|
children: [jsxRuntime.jsxs(BannerWrapper, {
|
|
31961
31961
|
children: [jsxRuntime.jsxs(BannerLeftWrapper, {
|
|
31962
31962
|
children: [jsxRuntime.jsx(LovisaWrapper, {
|
|
@@ -31996,7 +31996,7 @@ var getWidth = function getWidth(type) {
|
|
|
31996
31996
|
var StyledInput = styled(Input$2).withConfig({
|
|
31997
31997
|
displayName: "Datepicker__StyledInput",
|
|
31998
31998
|
componentId: "sc-1ijxhje-0"
|
|
31999
|
-
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"], ["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"])));
|
|
31999
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"], ["\n ::-webkit-calendar-picker-indicator {\n margin-left: 0px;\n }\n"])));
|
|
32000
32000
|
var nextUniqueId = 0;
|
|
32001
32001
|
var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32002
32002
|
var id = _a.id,
|
|
@@ -32053,7 +32053,70 @@ var Datepicker = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
32053
32053
|
}, void 0)]
|
|
32054
32054
|
}), void 0);
|
|
32055
32055
|
});
|
|
32056
|
-
var templateObject_1;
|
|
32056
|
+
var templateObject_1$1;
|
|
32057
|
+
|
|
32058
|
+
var Colors = ddsBaseTokens.colors,
|
|
32059
|
+
Spacing = ddsBaseTokens.spacing,
|
|
32060
|
+
FontPackages = ddsBaseTokens.fontPackages;
|
|
32061
|
+
var focus = ddsReferenceTokens.focus;
|
|
32062
|
+
|
|
32063
|
+
var linkBase = __assign(__assign({
|
|
32064
|
+
color: Colors.DdsColorNeutralsWhite
|
|
32065
|
+
}, FontPackages.body_sans_02.base), {
|
|
32066
|
+
textDecoration: 'none'
|
|
32067
|
+
});
|
|
32068
|
+
|
|
32069
|
+
var wrapperBase = {
|
|
32070
|
+
backgroundColor: Colors.DdsColorPrimaryBase,
|
|
32071
|
+
padding: Spacing.SizesDdsSpacingLocalX025
|
|
32072
|
+
};
|
|
32073
|
+
var skipToContentTokens = {
|
|
32074
|
+
link: {
|
|
32075
|
+
base: linkBase,
|
|
32076
|
+
focusOutline: {
|
|
32077
|
+
color: focus.colorDefault,
|
|
32078
|
+
width: focus.outlineWidth
|
|
32079
|
+
}
|
|
32080
|
+
},
|
|
32081
|
+
wrapper: {
|
|
32082
|
+
base: wrapperBase
|
|
32083
|
+
}
|
|
32084
|
+
};
|
|
32085
|
+
|
|
32086
|
+
var Wrapper = styled.div.withConfig({
|
|
32087
|
+
displayName: "SkipToContent__Wrapper",
|
|
32088
|
+
componentId: "sc-57o1qv-0"
|
|
32089
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n position: absolute;\n top: ", ";\n text-align: center;\n opacity: 0;\n transition: opacity 0.2s;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n width: 1px;\n white-space: nowrap;\n ", "\n\n &:focus-within {\n clip: auto;\n height: auto;\n overflow: auto;\n width: 100%;\n z-index: 200;\n opacity: 1;\n }\n"], ["\n box-sizing: border-box;\n position: absolute;\n top: ", ";\n text-align: center;\n opacity: 0;\n transition: opacity 0.2s;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n width: 1px;\n white-space: nowrap;\n ", "\n\n &:focus-within {\n clip: auto;\n height: auto;\n overflow: auto;\n width: 100%;\n z-index: 200;\n opacity: 1;\n }\n"])), function (_a) {
|
|
32090
|
+
var top = _a.top;
|
|
32091
|
+
return top;
|
|
32092
|
+
}, skipToContentTokens.wrapper.base);
|
|
32093
|
+
var Link = styled.a.withConfig({
|
|
32094
|
+
displayName: "SkipToContent__Link",
|
|
32095
|
+
componentId: "sc-57o1qv-1"
|
|
32096
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n &:focus {\n outline: ", " solid\n ", ";\n }\n"], ["\n ", "\n &:focus {\n outline: ", " solid\n ", ";\n }\n"])), skipToContentTokens.link.base, skipToContentTokens.link.focusOutline.width, skipToContentTokens.link.focusOutline.color);
|
|
32097
|
+
var SkipToContent = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
32098
|
+
var _b = _a.text,
|
|
32099
|
+
text = _b === void 0 ? 'Til hovedinnhold' : _b,
|
|
32100
|
+
_c = _a.top,
|
|
32101
|
+
top = _c === void 0 ? 0 : _c,
|
|
32102
|
+
style = _a.style,
|
|
32103
|
+
className = _a.className,
|
|
32104
|
+
rest = __rest(_a, ["text", "top", "style", "className"]);
|
|
32105
|
+
|
|
32106
|
+
var wrapperProps = {
|
|
32107
|
+
top: top,
|
|
32108
|
+
className: className,
|
|
32109
|
+
style: style
|
|
32110
|
+
};
|
|
32111
|
+
return jsxRuntime.jsx(Wrapper, __assign({}, wrapperProps, {
|
|
32112
|
+
children: jsxRuntime.jsx(Link, __assign({
|
|
32113
|
+
ref: ref
|
|
32114
|
+
}, rest, {
|
|
32115
|
+
children: text
|
|
32116
|
+
}), void 0)
|
|
32117
|
+
}), void 0);
|
|
32118
|
+
});
|
|
32119
|
+
var templateObject_1, templateObject_2;
|
|
32057
32120
|
|
|
32058
32121
|
exports.Body = Body$1;
|
|
32059
32122
|
exports.Breadcrumb = Breadcrumb;
|
|
@@ -32086,6 +32149,7 @@ exports.RadioButtonGroup = RadioButtonGroup;
|
|
|
32086
32149
|
exports.Row = Row;
|
|
32087
32150
|
exports.Search = Search;
|
|
32088
32151
|
exports.Select = Select;
|
|
32152
|
+
exports.SkipToContent = SkipToContent;
|
|
32089
32153
|
exports.SortCell = SortCell;
|
|
32090
32154
|
exports.Spinner = Spinner;
|
|
32091
32155
|
exports.Table = Table;
|