@commercetools-uikit/rich-text-utils 15.2.4 → 15.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commercetools-uikit-rich-text-utils.cjs.dev.js +193 -229
- package/dist/commercetools-uikit-rich-text-utils.cjs.prod.js +190 -226
- package/dist/commercetools-uikit-rich-text-utils.esm.js +195 -231
- package/dist/declarations/src/rich-text-body/icons/generated/BoldReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/ExpandFullReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/ItalicReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/MoreStylesReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/OrderedListReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/RedoReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/StrikethroughReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/SubscriptReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/SuperscriptReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/UnderlineReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/UndoReact.d.ts +1 -2
- package/dist/declarations/src/rich-text-body/icons/generated/UnorderedListReact.d.ts +1 -2
- package/package.json +8 -8
|
@@ -607,44 +607,41 @@ var getSizeStyle$b = function getSizeStyle(size) {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
|
|
610
|
-
var getColor$b = function getColor(color
|
|
610
|
+
var getColor$b = function getColor(color) {
|
|
611
611
|
if (!color) return 'inherit';
|
|
612
|
-
|
|
613
|
-
var overwrittenVars = _objectSpread$f(_objectSpread$f({}, designSystem.customProperties), theme);
|
|
614
|
-
|
|
615
612
|
var iconColor;
|
|
616
613
|
|
|
617
614
|
switch (color) {
|
|
618
615
|
case 'solid':
|
|
619
|
-
iconColor =
|
|
616
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
620
617
|
break;
|
|
621
618
|
|
|
622
619
|
case 'neutral60':
|
|
623
|
-
iconColor =
|
|
620
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
624
621
|
break;
|
|
625
622
|
|
|
626
623
|
case 'surface':
|
|
627
|
-
iconColor =
|
|
624
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
628
625
|
break;
|
|
629
626
|
|
|
630
627
|
case 'info':
|
|
631
|
-
iconColor =
|
|
628
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
632
629
|
break;
|
|
633
630
|
|
|
634
631
|
case 'primary':
|
|
635
|
-
iconColor =
|
|
632
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
636
633
|
break;
|
|
637
634
|
|
|
638
635
|
case 'primary40':
|
|
639
|
-
iconColor =
|
|
636
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
640
637
|
break;
|
|
641
638
|
|
|
642
639
|
case 'warning':
|
|
643
|
-
iconColor =
|
|
640
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
644
641
|
break;
|
|
645
642
|
|
|
646
643
|
case 'error':
|
|
647
|
-
iconColor =
|
|
644
|
+
iconColor = designSystem.designTokens.colorError;
|
|
648
645
|
break;
|
|
649
646
|
}
|
|
650
647
|
|
|
@@ -655,8 +652,8 @@ var getColor$b = function getColor(color, theme) {
|
|
|
655
652
|
return iconColor;
|
|
656
653
|
};
|
|
657
654
|
|
|
658
|
-
var getIconStyles$b = function getIconStyles(props
|
|
659
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$b(props.color
|
|
655
|
+
var getIconStyles$b = function getIconStyles(props) {
|
|
656
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$b(props.color), ";}&,image{", getSizeStyle$b(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
660
657
|
};
|
|
661
658
|
|
|
662
659
|
var SvgBold = function SvgBold(props) {
|
|
@@ -664,7 +661,8 @@ var SvgBold = function SvgBold(props) {
|
|
|
664
661
|
width: 24,
|
|
665
662
|
height: 24,
|
|
666
663
|
viewBox: "0 0 24 24",
|
|
667
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
664
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
665
|
+
role: "img"
|
|
668
666
|
}, props), {}, {
|
|
669
667
|
children: jsxRuntime.jsx("path", {
|
|
670
668
|
d: "M6 3h5.599c2.55 0 4.403.363 5.555 1.089 1.153.726 1.729 1.88 1.729 3.464 0 1.074-.252 1.956-.757 2.645a3.023 3.023 0 0 1-2.012 1.243v.123c1.14.254 1.963.73 2.468 1.427.504.698.756 1.625.756 2.781 0 1.64-.592 2.92-1.778 3.84-1.185.918-2.795 1.377-4.83 1.377H6V3Zm3.814 7.124h2.215c1.034 0 1.782-.16 2.246-.48.463-.32.695-.848.695-1.587 0-.689-.252-1.183-.757-1.482-.504-.3-1.302-.45-2.393-.45H9.814v4Zm0 3.027v4.688H12.3c1.05 0 1.825-.2 2.326-.602.5-.402.75-1.018.75-1.846 0-1.493-1.066-2.24-3.199-2.24H9.814Z",
|
|
@@ -677,12 +675,11 @@ var SvgBold = function SvgBold(props) {
|
|
|
677
675
|
SvgBold.displayName = 'SvgBold';
|
|
678
676
|
|
|
679
677
|
var BoldIcon = function BoldIcon(props) {
|
|
680
|
-
var theme = react$1.useTheme();
|
|
681
678
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
682
679
|
children: function children(_ref) {
|
|
683
680
|
var createClass = _ref.css;
|
|
684
681
|
return jsxRuntime.jsx(SvgBold, _objectSpread$f(_objectSpread$f({}, props), {}, {
|
|
685
|
-
className: createClass(getIconStyles$b(props
|
|
682
|
+
className: createClass(getIconStyles$b(props))
|
|
686
683
|
}));
|
|
687
684
|
}
|
|
688
685
|
});
|
|
@@ -738,44 +735,41 @@ var getSizeStyle$a = function getSizeStyle(size) {
|
|
|
738
735
|
}
|
|
739
736
|
};
|
|
740
737
|
|
|
741
|
-
var getColor$a = function getColor(color
|
|
738
|
+
var getColor$a = function getColor(color) {
|
|
742
739
|
if (!color) return 'inherit';
|
|
743
|
-
|
|
744
|
-
var overwrittenVars = _objectSpread$e(_objectSpread$e({}, designSystem.customProperties), theme);
|
|
745
|
-
|
|
746
740
|
var iconColor;
|
|
747
741
|
|
|
748
742
|
switch (color) {
|
|
749
743
|
case 'solid':
|
|
750
|
-
iconColor =
|
|
744
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
751
745
|
break;
|
|
752
746
|
|
|
753
747
|
case 'neutral60':
|
|
754
|
-
iconColor =
|
|
748
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
755
749
|
break;
|
|
756
750
|
|
|
757
751
|
case 'surface':
|
|
758
|
-
iconColor =
|
|
752
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
759
753
|
break;
|
|
760
754
|
|
|
761
755
|
case 'info':
|
|
762
|
-
iconColor =
|
|
756
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
763
757
|
break;
|
|
764
758
|
|
|
765
759
|
case 'primary':
|
|
766
|
-
iconColor =
|
|
760
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
767
761
|
break;
|
|
768
762
|
|
|
769
763
|
case 'primary40':
|
|
770
|
-
iconColor =
|
|
764
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
771
765
|
break;
|
|
772
766
|
|
|
773
767
|
case 'warning':
|
|
774
|
-
iconColor =
|
|
768
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
775
769
|
break;
|
|
776
770
|
|
|
777
771
|
case 'error':
|
|
778
|
-
iconColor =
|
|
772
|
+
iconColor = designSystem.designTokens.colorError;
|
|
779
773
|
break;
|
|
780
774
|
}
|
|
781
775
|
|
|
@@ -786,8 +780,8 @@ var getColor$a = function getColor(color, theme) {
|
|
|
786
780
|
return iconColor;
|
|
787
781
|
};
|
|
788
782
|
|
|
789
|
-
var getIconStyles$a = function getIconStyles(props
|
|
790
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$a(props.color
|
|
783
|
+
var getIconStyles$a = function getIconStyles(props) {
|
|
784
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$a(props.color), ";}&,image{", getSizeStyle$a(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
791
785
|
};
|
|
792
786
|
|
|
793
787
|
var SvgExpandFull = function SvgExpandFull(props) {
|
|
@@ -795,7 +789,8 @@ var SvgExpandFull = function SvgExpandFull(props) {
|
|
|
795
789
|
width: 24,
|
|
796
790
|
height: 24,
|
|
797
791
|
viewBox: "0 0 24 24",
|
|
798
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
792
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
793
|
+
role: "img"
|
|
799
794
|
}, props), {}, {
|
|
800
795
|
children: jsxRuntime.jsx("path", {
|
|
801
796
|
d: "m14.902 13.93.086.074 4.62 4.62v-2.967a.696.696 0 0 1 1.386-.095l.006.095v4.647a.696.696 0 0 1-.601.69l-.095.006h-4.647a.696.696 0 0 1-.095-1.386l.095-.006h2.967l-4.62-4.62a.696.696 0 0 1 .898-1.058Zm-4.906.074c.245.244.27.626.074.898l-.074.086-4.62 4.62h2.967a.696.696 0 0 1 .095 1.386L8.343 21H3.696a.696.696 0 0 1-.69-.601L3 20.304v-4.647a.696.696 0 0 1 1.386-.095l.006.095v2.967l4.62-4.62a.696.696 0 0 1 .984 0ZM8.448 3a.71.71 0 0 1 .096 1.413l-.096.006H5.422l4.57 4.57a.71.71 0 0 1-.915 1.078l-.088-.075-4.57-4.57v3.026a.71.71 0 0 1-1.413.097L3 8.449v-4.74a.71.71 0 0 1 .613-.703L3.71 3h4.738ZM20.29 3a.71.71 0 0 1 .71.71v4.738a.71.71 0 1 1-1.42 0V5.423l-4.569 4.57a.708.708 0 0 1-1.003 0 .71.71 0 0 1 0-1.004l4.57-4.57h-3.026a.71.71 0 1 1 0-1.419Z",
|
|
@@ -808,12 +803,11 @@ var SvgExpandFull = function SvgExpandFull(props) {
|
|
|
808
803
|
SvgExpandFull.displayName = 'SvgExpandFull';
|
|
809
804
|
|
|
810
805
|
var ExpandFullIcon = function ExpandFullIcon(props) {
|
|
811
|
-
var theme = react$1.useTheme();
|
|
812
806
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
813
807
|
children: function children(_ref) {
|
|
814
808
|
var createClass = _ref.css;
|
|
815
809
|
return jsxRuntime.jsx(SvgExpandFull, _objectSpread$e(_objectSpread$e({}, props), {}, {
|
|
816
|
-
className: createClass(getIconStyles$a(props
|
|
810
|
+
className: createClass(getIconStyles$a(props))
|
|
817
811
|
}));
|
|
818
812
|
}
|
|
819
813
|
});
|
|
@@ -869,44 +863,41 @@ var getSizeStyle$9 = function getSizeStyle(size) {
|
|
|
869
863
|
}
|
|
870
864
|
};
|
|
871
865
|
|
|
872
|
-
var getColor$9 = function getColor(color
|
|
866
|
+
var getColor$9 = function getColor(color) {
|
|
873
867
|
if (!color) return 'inherit';
|
|
874
|
-
|
|
875
|
-
var overwrittenVars = _objectSpread$d(_objectSpread$d({}, designSystem.customProperties), theme);
|
|
876
|
-
|
|
877
868
|
var iconColor;
|
|
878
869
|
|
|
879
870
|
switch (color) {
|
|
880
871
|
case 'solid':
|
|
881
|
-
iconColor =
|
|
872
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
882
873
|
break;
|
|
883
874
|
|
|
884
875
|
case 'neutral60':
|
|
885
|
-
iconColor =
|
|
876
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
886
877
|
break;
|
|
887
878
|
|
|
888
879
|
case 'surface':
|
|
889
|
-
iconColor =
|
|
880
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
890
881
|
break;
|
|
891
882
|
|
|
892
883
|
case 'info':
|
|
893
|
-
iconColor =
|
|
884
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
894
885
|
break;
|
|
895
886
|
|
|
896
887
|
case 'primary':
|
|
897
|
-
iconColor =
|
|
888
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
898
889
|
break;
|
|
899
890
|
|
|
900
891
|
case 'primary40':
|
|
901
|
-
iconColor =
|
|
892
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
902
893
|
break;
|
|
903
894
|
|
|
904
895
|
case 'warning':
|
|
905
|
-
iconColor =
|
|
896
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
906
897
|
break;
|
|
907
898
|
|
|
908
899
|
case 'error':
|
|
909
|
-
iconColor =
|
|
900
|
+
iconColor = designSystem.designTokens.colorError;
|
|
910
901
|
break;
|
|
911
902
|
}
|
|
912
903
|
|
|
@@ -917,8 +908,8 @@ var getColor$9 = function getColor(color, theme) {
|
|
|
917
908
|
return iconColor;
|
|
918
909
|
};
|
|
919
910
|
|
|
920
|
-
var getIconStyles$9 = function getIconStyles(props
|
|
921
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$9(props.color
|
|
911
|
+
var getIconStyles$9 = function getIconStyles(props) {
|
|
912
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$9(props.color), ";}&,image{", getSizeStyle$9(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
922
913
|
};
|
|
923
914
|
|
|
924
915
|
var SvgItalic = function SvgItalic(props) {
|
|
@@ -926,7 +917,8 @@ var SvgItalic = function SvgItalic(props) {
|
|
|
926
917
|
width: 24,
|
|
927
918
|
height: 24,
|
|
928
919
|
viewBox: "0 0 24 24",
|
|
929
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
920
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
921
|
+
role: "img"
|
|
930
922
|
}, props), {}, {
|
|
931
923
|
children: jsxRuntime.jsx("path", {
|
|
932
924
|
d: "M9 20.99 12.827 3h2.067l-3.827 17.99z",
|
|
@@ -939,12 +931,11 @@ var SvgItalic = function SvgItalic(props) {
|
|
|
939
931
|
SvgItalic.displayName = 'SvgItalic';
|
|
940
932
|
|
|
941
933
|
var ItalicIcon = function ItalicIcon(props) {
|
|
942
|
-
var theme = react$1.useTheme();
|
|
943
934
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
944
935
|
children: function children(_ref) {
|
|
945
936
|
var createClass = _ref.css;
|
|
946
937
|
return jsxRuntime.jsx(SvgItalic, _objectSpread$d(_objectSpread$d({}, props), {}, {
|
|
947
|
-
className: createClass(getIconStyles$9(props
|
|
938
|
+
className: createClass(getIconStyles$9(props))
|
|
948
939
|
}));
|
|
949
940
|
}
|
|
950
941
|
});
|
|
@@ -1000,44 +991,41 @@ var getSizeStyle$8 = function getSizeStyle(size) {
|
|
|
1000
991
|
}
|
|
1001
992
|
};
|
|
1002
993
|
|
|
1003
|
-
var getColor$8 = function getColor(color
|
|
994
|
+
var getColor$8 = function getColor(color) {
|
|
1004
995
|
if (!color) return 'inherit';
|
|
1005
|
-
|
|
1006
|
-
var overwrittenVars = _objectSpread$c(_objectSpread$c({}, designSystem.customProperties), theme);
|
|
1007
|
-
|
|
1008
996
|
var iconColor;
|
|
1009
997
|
|
|
1010
998
|
switch (color) {
|
|
1011
999
|
case 'solid':
|
|
1012
|
-
iconColor =
|
|
1000
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1013
1001
|
break;
|
|
1014
1002
|
|
|
1015
1003
|
case 'neutral60':
|
|
1016
|
-
iconColor =
|
|
1004
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1017
1005
|
break;
|
|
1018
1006
|
|
|
1019
1007
|
case 'surface':
|
|
1020
|
-
iconColor =
|
|
1008
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1021
1009
|
break;
|
|
1022
1010
|
|
|
1023
1011
|
case 'info':
|
|
1024
|
-
iconColor =
|
|
1012
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1025
1013
|
break;
|
|
1026
1014
|
|
|
1027
1015
|
case 'primary':
|
|
1028
|
-
iconColor =
|
|
1016
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1029
1017
|
break;
|
|
1030
1018
|
|
|
1031
1019
|
case 'primary40':
|
|
1032
|
-
iconColor =
|
|
1020
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1033
1021
|
break;
|
|
1034
1022
|
|
|
1035
1023
|
case 'warning':
|
|
1036
|
-
iconColor =
|
|
1024
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1037
1025
|
break;
|
|
1038
1026
|
|
|
1039
1027
|
case 'error':
|
|
1040
|
-
iconColor =
|
|
1028
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1041
1029
|
break;
|
|
1042
1030
|
}
|
|
1043
1031
|
|
|
@@ -1048,8 +1036,8 @@ var getColor$8 = function getColor(color, theme) {
|
|
|
1048
1036
|
return iconColor;
|
|
1049
1037
|
};
|
|
1050
1038
|
|
|
1051
|
-
var getIconStyles$8 = function getIconStyles(props
|
|
1052
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$8(props.color
|
|
1039
|
+
var getIconStyles$8 = function getIconStyles(props) {
|
|
1040
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$8(props.color), ";}&,image{", getSizeStyle$8(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1053
1041
|
};
|
|
1054
1042
|
|
|
1055
1043
|
var SvgMoreStyles = function SvgMoreStyles(props) {
|
|
@@ -1058,7 +1046,8 @@ var SvgMoreStyles = function SvgMoreStyles(props) {
|
|
|
1058
1046
|
height: 24,
|
|
1059
1047
|
viewBox: "0 0 24 24",
|
|
1060
1048
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1061
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
1049
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1050
|
+
role: "img"
|
|
1062
1051
|
}, props), {}, {
|
|
1063
1052
|
children: [jsxRuntime.jsx("defs", {
|
|
1064
1053
|
children: jsxRuntime.jsx("path", {
|
|
@@ -1076,12 +1065,11 @@ var SvgMoreStyles = function SvgMoreStyles(props) {
|
|
|
1076
1065
|
SvgMoreStyles.displayName = 'SvgMoreStyles';
|
|
1077
1066
|
|
|
1078
1067
|
var MoreStylesIcon = function MoreStylesIcon(props) {
|
|
1079
|
-
var theme = react$1.useTheme();
|
|
1080
1068
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1081
1069
|
children: function children(_ref) {
|
|
1082
1070
|
var createClass = _ref.css;
|
|
1083
1071
|
return jsxRuntime.jsx(SvgMoreStyles, _objectSpread$c(_objectSpread$c({}, props), {}, {
|
|
1084
|
-
className: createClass(getIconStyles$8(props
|
|
1072
|
+
className: createClass(getIconStyles$8(props))
|
|
1085
1073
|
}));
|
|
1086
1074
|
}
|
|
1087
1075
|
});
|
|
@@ -1137,44 +1125,41 @@ var getSizeStyle$7 = function getSizeStyle(size) {
|
|
|
1137
1125
|
}
|
|
1138
1126
|
};
|
|
1139
1127
|
|
|
1140
|
-
var getColor$7 = function getColor(color
|
|
1128
|
+
var getColor$7 = function getColor(color) {
|
|
1141
1129
|
if (!color) return 'inherit';
|
|
1142
|
-
|
|
1143
|
-
var overwrittenVars = _objectSpread$b(_objectSpread$b({}, designSystem.customProperties), theme);
|
|
1144
|
-
|
|
1145
1130
|
var iconColor;
|
|
1146
1131
|
|
|
1147
1132
|
switch (color) {
|
|
1148
1133
|
case 'solid':
|
|
1149
|
-
iconColor =
|
|
1134
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1150
1135
|
break;
|
|
1151
1136
|
|
|
1152
1137
|
case 'neutral60':
|
|
1153
|
-
iconColor =
|
|
1138
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1154
1139
|
break;
|
|
1155
1140
|
|
|
1156
1141
|
case 'surface':
|
|
1157
|
-
iconColor =
|
|
1142
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1158
1143
|
break;
|
|
1159
1144
|
|
|
1160
1145
|
case 'info':
|
|
1161
|
-
iconColor =
|
|
1146
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1162
1147
|
break;
|
|
1163
1148
|
|
|
1164
1149
|
case 'primary':
|
|
1165
|
-
iconColor =
|
|
1150
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1166
1151
|
break;
|
|
1167
1152
|
|
|
1168
1153
|
case 'primary40':
|
|
1169
|
-
iconColor =
|
|
1154
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1170
1155
|
break;
|
|
1171
1156
|
|
|
1172
1157
|
case 'warning':
|
|
1173
|
-
iconColor =
|
|
1158
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1174
1159
|
break;
|
|
1175
1160
|
|
|
1176
1161
|
case 'error':
|
|
1177
|
-
iconColor =
|
|
1162
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1178
1163
|
break;
|
|
1179
1164
|
}
|
|
1180
1165
|
|
|
@@ -1185,8 +1170,8 @@ var getColor$7 = function getColor(color, theme) {
|
|
|
1185
1170
|
return iconColor;
|
|
1186
1171
|
};
|
|
1187
1172
|
|
|
1188
|
-
var getIconStyles$7 = function getIconStyles(props
|
|
1189
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$7(props.color
|
|
1173
|
+
var getIconStyles$7 = function getIconStyles(props) {
|
|
1174
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$7(props.color), ";}&,image{", getSizeStyle$7(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1190
1175
|
};
|
|
1191
1176
|
|
|
1192
1177
|
var SvgOrderedList = function SvgOrderedList(props) {
|
|
@@ -1194,7 +1179,8 @@ var SvgOrderedList = function SvgOrderedList(props) {
|
|
|
1194
1179
|
width: 24,
|
|
1195
1180
|
height: 24,
|
|
1196
1181
|
viewBox: "0 0 24 24",
|
|
1197
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1182
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1183
|
+
role: "img"
|
|
1198
1184
|
}, props), {}, {
|
|
1199
1185
|
children: jsxRuntime.jsx("path", {
|
|
1200
1186
|
d: "M4.42 16c.449 0 .803.102 1.063.306.26.204.39.488.39.852 0 .304-.082.562-.247.775a1.25 1.25 0 0 1-.69.439v.02c.35.049.614.168.794.358.18.19.27.445.27.766 0 .468-.151.833-.454 1.093-.302.26-.734.391-1.295.391-.47 0-.887-.088-1.251-.263v-.875c.168.096.353.173.554.233.202.06.402.09.6.09.302 0 .525-.058.67-.173.143-.115.216-.3.216-.556 0-.228-.083-.39-.25-.485-.165-.096-.43-.143-.794-.143h-.329v-.789h.335c.336 0 .581-.05.737-.148.155-.098.232-.268.232-.507 0-.368-.205-.552-.616-.552-.143 0-.287.026-.435.08a2.04 2.04 0 0 0-.49.276l-.424-.709C3.4 16.159 3.873 16 4.42 16Zm16.33 1.962a.39.39 0 0 1 .176.037.145.145 0 0 1 .066.055l.008.033v.75c0 .033-.025.063-.074.088a.35.35 0 0 1-.111.032l-.065.005h-10.5a.389.389 0 0 1-.176-.037.144.144 0 0 1-.066-.056L10 18.837v-.75c0-.034.025-.064.074-.088a.352.352 0 0 1 .111-.033l.065-.004h10.5ZM4.526 9c.267 0 .503.056.708.169.205.112.363.27.477.472a1.4 1.4 0 0 1 .17.694c0 .227-.035.44-.105.639-.069.199-.176.403-.321.612-.146.209-.401.507-.768.893l-.55.597v.047H6V14H3.012v-.725l1.073-1.25c.318-.376.525-.636.623-.781.097-.145.167-.28.21-.403.043-.124.064-.252.064-.384 0-.198-.047-.346-.141-.442a.506.506 0 0 0-.379-.145.972.972 0 0 0-.482.131 2.493 2.493 0 0 0-.489.375L3 9.705c.21-.207.385-.353.523-.439.139-.085.29-.15.454-.197.163-.046.347-.069.55-.069Zm16.224 2.5a.39.39 0 0 1 .176.037.145.145 0 0 1 .066.056l.008.032v.75c0 .034-.025.063-.074.088a.352.352 0 0 1-.111.033l-.065.004h-10.5a.39.39 0 0 1-.176-.037.145.145 0 0 1-.066-.056L10 12.375v-.75c0-.034.025-.063.074-.088a.35.35 0 0 1 .111-.033l.065-.004h10.5ZM5 3v4h-.852V4.685l.008-.38.014-.416a4.47 4.47 0 0 1-.296.277l-.463.369L3 4.026 4.3 3H5Zm15.75 2.038a.39.39 0 0 1 .176.038.145.145 0 0 1 .066.055l.008.032v.75c0 .034-.025.064-.074.088a.35.35 0 0 1-.111.033l-.065.004h-10.5a.388.388 0 0 1-.176-.037.145.145 0 0 1-.066-.055L10 5.913v-.75c0-.033.025-.063.074-.087a.35.35 0 0 1 .111-.033l.065-.005h10.5Z",
|
|
@@ -1207,12 +1193,11 @@ var SvgOrderedList = function SvgOrderedList(props) {
|
|
|
1207
1193
|
SvgOrderedList.displayName = 'SvgOrderedList';
|
|
1208
1194
|
|
|
1209
1195
|
var OrderedListIcon = function OrderedListIcon(props) {
|
|
1210
|
-
var theme = react$1.useTheme();
|
|
1211
1196
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1212
1197
|
children: function children(_ref) {
|
|
1213
1198
|
var createClass = _ref.css;
|
|
1214
1199
|
return jsxRuntime.jsx(SvgOrderedList, _objectSpread$b(_objectSpread$b({}, props), {}, {
|
|
1215
|
-
className: createClass(getIconStyles$7(props
|
|
1200
|
+
className: createClass(getIconStyles$7(props))
|
|
1216
1201
|
}));
|
|
1217
1202
|
}
|
|
1218
1203
|
});
|
|
@@ -1268,44 +1253,41 @@ var getSizeStyle$6 = function getSizeStyle(size) {
|
|
|
1268
1253
|
}
|
|
1269
1254
|
};
|
|
1270
1255
|
|
|
1271
|
-
var getColor$6 = function getColor(color
|
|
1256
|
+
var getColor$6 = function getColor(color) {
|
|
1272
1257
|
if (!color) return 'inherit';
|
|
1273
|
-
|
|
1274
|
-
var overwrittenVars = _objectSpread$a(_objectSpread$a({}, designSystem.customProperties), theme);
|
|
1275
|
-
|
|
1276
1258
|
var iconColor;
|
|
1277
1259
|
|
|
1278
1260
|
switch (color) {
|
|
1279
1261
|
case 'solid':
|
|
1280
|
-
iconColor =
|
|
1262
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1281
1263
|
break;
|
|
1282
1264
|
|
|
1283
1265
|
case 'neutral60':
|
|
1284
|
-
iconColor =
|
|
1266
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1285
1267
|
break;
|
|
1286
1268
|
|
|
1287
1269
|
case 'surface':
|
|
1288
|
-
iconColor =
|
|
1270
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1289
1271
|
break;
|
|
1290
1272
|
|
|
1291
1273
|
case 'info':
|
|
1292
|
-
iconColor =
|
|
1274
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1293
1275
|
break;
|
|
1294
1276
|
|
|
1295
1277
|
case 'primary':
|
|
1296
|
-
iconColor =
|
|
1278
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1297
1279
|
break;
|
|
1298
1280
|
|
|
1299
1281
|
case 'primary40':
|
|
1300
|
-
iconColor =
|
|
1282
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1301
1283
|
break;
|
|
1302
1284
|
|
|
1303
1285
|
case 'warning':
|
|
1304
|
-
iconColor =
|
|
1286
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1305
1287
|
break;
|
|
1306
1288
|
|
|
1307
1289
|
case 'error':
|
|
1308
|
-
iconColor =
|
|
1290
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1309
1291
|
break;
|
|
1310
1292
|
}
|
|
1311
1293
|
|
|
@@ -1316,8 +1298,8 @@ var getColor$6 = function getColor(color, theme) {
|
|
|
1316
1298
|
return iconColor;
|
|
1317
1299
|
};
|
|
1318
1300
|
|
|
1319
|
-
var getIconStyles$6 = function getIconStyles(props
|
|
1320
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$6(props.color
|
|
1301
|
+
var getIconStyles$6 = function getIconStyles(props) {
|
|
1302
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$6(props.color), ";}&,image{", getSizeStyle$6(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1321
1303
|
};
|
|
1322
1304
|
|
|
1323
1305
|
var SvgRedo = function SvgRedo(props) {
|
|
@@ -1326,7 +1308,8 @@ var SvgRedo = function SvgRedo(props) {
|
|
|
1326
1308
|
height: 24,
|
|
1327
1309
|
viewBox: "0 0 24 24",
|
|
1328
1310
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1329
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
1311
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1312
|
+
role: "img"
|
|
1330
1313
|
}, props), {}, {
|
|
1331
1314
|
children: [jsxRuntime.jsx("defs", {
|
|
1332
1315
|
children: jsxRuntime.jsx("path", {
|
|
@@ -1345,12 +1328,11 @@ var SvgRedo = function SvgRedo(props) {
|
|
|
1345
1328
|
SvgRedo.displayName = 'SvgRedo';
|
|
1346
1329
|
|
|
1347
1330
|
var RedoIcon = function RedoIcon(props) {
|
|
1348
|
-
var theme = react$1.useTheme();
|
|
1349
1331
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1350
1332
|
children: function children(_ref) {
|
|
1351
1333
|
var createClass = _ref.css;
|
|
1352
1334
|
return jsxRuntime.jsx(SvgRedo, _objectSpread$a(_objectSpread$a({}, props), {}, {
|
|
1353
|
-
className: createClass(getIconStyles$6(props
|
|
1335
|
+
className: createClass(getIconStyles$6(props))
|
|
1354
1336
|
}));
|
|
1355
1337
|
}
|
|
1356
1338
|
});
|
|
@@ -1406,44 +1388,41 @@ var getSizeStyle$5 = function getSizeStyle(size) {
|
|
|
1406
1388
|
}
|
|
1407
1389
|
};
|
|
1408
1390
|
|
|
1409
|
-
var getColor$5 = function getColor(color
|
|
1391
|
+
var getColor$5 = function getColor(color) {
|
|
1410
1392
|
if (!color) return 'inherit';
|
|
1411
|
-
|
|
1412
|
-
var overwrittenVars = _objectSpread$9(_objectSpread$9({}, designSystem.customProperties), theme);
|
|
1413
|
-
|
|
1414
1393
|
var iconColor;
|
|
1415
1394
|
|
|
1416
1395
|
switch (color) {
|
|
1417
1396
|
case 'solid':
|
|
1418
|
-
iconColor =
|
|
1397
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1419
1398
|
break;
|
|
1420
1399
|
|
|
1421
1400
|
case 'neutral60':
|
|
1422
|
-
iconColor =
|
|
1401
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1423
1402
|
break;
|
|
1424
1403
|
|
|
1425
1404
|
case 'surface':
|
|
1426
|
-
iconColor =
|
|
1405
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1427
1406
|
break;
|
|
1428
1407
|
|
|
1429
1408
|
case 'info':
|
|
1430
|
-
iconColor =
|
|
1409
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1431
1410
|
break;
|
|
1432
1411
|
|
|
1433
1412
|
case 'primary':
|
|
1434
|
-
iconColor =
|
|
1413
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1435
1414
|
break;
|
|
1436
1415
|
|
|
1437
1416
|
case 'primary40':
|
|
1438
|
-
iconColor =
|
|
1417
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1439
1418
|
break;
|
|
1440
1419
|
|
|
1441
1420
|
case 'warning':
|
|
1442
|
-
iconColor =
|
|
1421
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1443
1422
|
break;
|
|
1444
1423
|
|
|
1445
1424
|
case 'error':
|
|
1446
|
-
iconColor =
|
|
1425
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1447
1426
|
break;
|
|
1448
1427
|
}
|
|
1449
1428
|
|
|
@@ -1454,8 +1433,8 @@ var getColor$5 = function getColor(color, theme) {
|
|
|
1454
1433
|
return iconColor;
|
|
1455
1434
|
};
|
|
1456
1435
|
|
|
1457
|
-
var getIconStyles$5 = function getIconStyles(props
|
|
1458
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$5(props.color
|
|
1436
|
+
var getIconStyles$5 = function getIconStyles(props) {
|
|
1437
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$5(props.color), ";}&,image{", getSizeStyle$5(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1459
1438
|
};
|
|
1460
1439
|
|
|
1461
1440
|
var SvgStrikethrough = function SvgStrikethrough(props) {
|
|
@@ -1463,7 +1442,8 @@ var SvgStrikethrough = function SvgStrikethrough(props) {
|
|
|
1463
1442
|
width: 24,
|
|
1464
1443
|
height: 24,
|
|
1465
1444
|
viewBox: "0 0 24 24",
|
|
1466
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1445
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1446
|
+
role: "img"
|
|
1467
1447
|
}, props), {}, {
|
|
1468
1448
|
children: jsxRuntime.jsx("path", {
|
|
1469
1449
|
d: "M11.648 3c1.704 0 3.27.312 4.7.938l-.621 1.734c-1.415-.594-2.79-.89-4.125-.89-1.055 0-1.88.226-2.473.679-.594.453-.89 1.082-.89 1.887 0 .593.109 1.08.327 1.459.22.379.588.726 1.108 1.043.52.316 1.314.666 2.385 1.048.99.353 1.81.72 2.459 1.102H19.5v1.25l-3.493-.002c.516.69.774 1.548.774 2.572 0 1.508-.547 2.684-1.64 3.528-1.094.843-2.578 1.265-4.454 1.265-2.03 0-3.593-.261-4.687-.785v-1.922c.703.297 1.469.531 2.297.703.828.172 1.648.258 2.46.258 1.329 0 2.329-.252 3-.756.673-.504 1.009-1.205 1.009-2.103 0-.594-.12-1.08-.358-1.46-.238-.378-.637-.728-1.195-1.048-.14-.08-.3-.164-.478-.25H4.5V12h5.137c-1.066-.476-1.863-1.016-2.389-1.617-.684-.781-1.025-1.801-1.025-3.059 0-1.32.496-2.37 1.488-3.152C8.703 3.39 10.016 3 11.648 3Z",
|
|
@@ -1476,12 +1456,11 @@ var SvgStrikethrough = function SvgStrikethrough(props) {
|
|
|
1476
1456
|
SvgStrikethrough.displayName = 'SvgStrikethrough';
|
|
1477
1457
|
|
|
1478
1458
|
var StrikethroughIcon = function StrikethroughIcon(props) {
|
|
1479
|
-
var theme = react$1.useTheme();
|
|
1480
1459
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1481
1460
|
children: function children(_ref) {
|
|
1482
1461
|
var createClass = _ref.css;
|
|
1483
1462
|
return jsxRuntime.jsx(SvgStrikethrough, _objectSpread$9(_objectSpread$9({}, props), {}, {
|
|
1484
|
-
className: createClass(getIconStyles$5(props
|
|
1463
|
+
className: createClass(getIconStyles$5(props))
|
|
1485
1464
|
}));
|
|
1486
1465
|
}
|
|
1487
1466
|
});
|
|
@@ -1537,44 +1516,41 @@ var getSizeStyle$4 = function getSizeStyle(size) {
|
|
|
1537
1516
|
}
|
|
1538
1517
|
};
|
|
1539
1518
|
|
|
1540
|
-
var getColor$4 = function getColor(color
|
|
1519
|
+
var getColor$4 = function getColor(color) {
|
|
1541
1520
|
if (!color) return 'inherit';
|
|
1542
|
-
|
|
1543
|
-
var overwrittenVars = _objectSpread$8(_objectSpread$8({}, designSystem.customProperties), theme);
|
|
1544
|
-
|
|
1545
1521
|
var iconColor;
|
|
1546
1522
|
|
|
1547
1523
|
switch (color) {
|
|
1548
1524
|
case 'solid':
|
|
1549
|
-
iconColor =
|
|
1525
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1550
1526
|
break;
|
|
1551
1527
|
|
|
1552
1528
|
case 'neutral60':
|
|
1553
|
-
iconColor =
|
|
1529
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1554
1530
|
break;
|
|
1555
1531
|
|
|
1556
1532
|
case 'surface':
|
|
1557
|
-
iconColor =
|
|
1533
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1558
1534
|
break;
|
|
1559
1535
|
|
|
1560
1536
|
case 'info':
|
|
1561
|
-
iconColor =
|
|
1537
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1562
1538
|
break;
|
|
1563
1539
|
|
|
1564
1540
|
case 'primary':
|
|
1565
|
-
iconColor =
|
|
1541
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1566
1542
|
break;
|
|
1567
1543
|
|
|
1568
1544
|
case 'primary40':
|
|
1569
|
-
iconColor =
|
|
1545
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1570
1546
|
break;
|
|
1571
1547
|
|
|
1572
1548
|
case 'warning':
|
|
1573
|
-
iconColor =
|
|
1549
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1574
1550
|
break;
|
|
1575
1551
|
|
|
1576
1552
|
case 'error':
|
|
1577
|
-
iconColor =
|
|
1553
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1578
1554
|
break;
|
|
1579
1555
|
}
|
|
1580
1556
|
|
|
@@ -1585,8 +1561,8 @@ var getColor$4 = function getColor(color, theme) {
|
|
|
1585
1561
|
return iconColor;
|
|
1586
1562
|
};
|
|
1587
1563
|
|
|
1588
|
-
var getIconStyles$4 = function getIconStyles(props
|
|
1589
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$4(props.color
|
|
1564
|
+
var getIconStyles$4 = function getIconStyles(props) {
|
|
1565
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$4(props.color), ";}&,image{", getSizeStyle$4(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1590
1566
|
};
|
|
1591
1567
|
|
|
1592
1568
|
var SvgSubscript = function SvgSubscript(props) {
|
|
@@ -1594,7 +1570,8 @@ var SvgSubscript = function SvgSubscript(props) {
|
|
|
1594
1570
|
width: 24,
|
|
1595
1571
|
height: 24,
|
|
1596
1572
|
viewBox: "0 0 24 24",
|
|
1597
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1573
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1574
|
+
role: "img"
|
|
1598
1575
|
}, props), {}, {
|
|
1599
1576
|
children: jsxRuntime.jsx("g", {
|
|
1600
1577
|
fillRule: "nonzero",
|
|
@@ -1609,12 +1586,11 @@ var SvgSubscript = function SvgSubscript(props) {
|
|
|
1609
1586
|
SvgSubscript.displayName = 'SvgSubscript';
|
|
1610
1587
|
|
|
1611
1588
|
var SubscriptIcon = function SubscriptIcon(props) {
|
|
1612
|
-
var theme = react$1.useTheme();
|
|
1613
1589
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1614
1590
|
children: function children(_ref) {
|
|
1615
1591
|
var createClass = _ref.css;
|
|
1616
1592
|
return jsxRuntime.jsx(SvgSubscript, _objectSpread$8(_objectSpread$8({}, props), {}, {
|
|
1617
|
-
className: createClass(getIconStyles$4(props
|
|
1593
|
+
className: createClass(getIconStyles$4(props))
|
|
1618
1594
|
}));
|
|
1619
1595
|
}
|
|
1620
1596
|
});
|
|
@@ -1670,44 +1646,41 @@ var getSizeStyle$3 = function getSizeStyle(size) {
|
|
|
1670
1646
|
}
|
|
1671
1647
|
};
|
|
1672
1648
|
|
|
1673
|
-
var getColor$3 = function getColor(color
|
|
1649
|
+
var getColor$3 = function getColor(color) {
|
|
1674
1650
|
if (!color) return 'inherit';
|
|
1675
|
-
|
|
1676
|
-
var overwrittenVars = _objectSpread$7(_objectSpread$7({}, designSystem.customProperties), theme);
|
|
1677
|
-
|
|
1678
1651
|
var iconColor;
|
|
1679
1652
|
|
|
1680
1653
|
switch (color) {
|
|
1681
1654
|
case 'solid':
|
|
1682
|
-
iconColor =
|
|
1655
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1683
1656
|
break;
|
|
1684
1657
|
|
|
1685
1658
|
case 'neutral60':
|
|
1686
|
-
iconColor =
|
|
1659
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1687
1660
|
break;
|
|
1688
1661
|
|
|
1689
1662
|
case 'surface':
|
|
1690
|
-
iconColor =
|
|
1663
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1691
1664
|
break;
|
|
1692
1665
|
|
|
1693
1666
|
case 'info':
|
|
1694
|
-
iconColor =
|
|
1667
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1695
1668
|
break;
|
|
1696
1669
|
|
|
1697
1670
|
case 'primary':
|
|
1698
|
-
iconColor =
|
|
1671
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1699
1672
|
break;
|
|
1700
1673
|
|
|
1701
1674
|
case 'primary40':
|
|
1702
|
-
iconColor =
|
|
1675
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1703
1676
|
break;
|
|
1704
1677
|
|
|
1705
1678
|
case 'warning':
|
|
1706
|
-
iconColor =
|
|
1679
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1707
1680
|
break;
|
|
1708
1681
|
|
|
1709
1682
|
case 'error':
|
|
1710
|
-
iconColor =
|
|
1683
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1711
1684
|
break;
|
|
1712
1685
|
}
|
|
1713
1686
|
|
|
@@ -1718,8 +1691,8 @@ var getColor$3 = function getColor(color, theme) {
|
|
|
1718
1691
|
return iconColor;
|
|
1719
1692
|
};
|
|
1720
1693
|
|
|
1721
|
-
var getIconStyles$3 = function getIconStyles(props
|
|
1722
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$3(props.color
|
|
1694
|
+
var getIconStyles$3 = function getIconStyles(props) {
|
|
1695
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$3(props.color), ";}&,image{", getSizeStyle$3(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1723
1696
|
};
|
|
1724
1697
|
|
|
1725
1698
|
var SvgSuperscript = function SvgSuperscript(props) {
|
|
@@ -1727,7 +1700,8 @@ var SvgSuperscript = function SvgSuperscript(props) {
|
|
|
1727
1700
|
width: 24,
|
|
1728
1701
|
height: 24,
|
|
1729
1702
|
viewBox: "0 0 24 24",
|
|
1730
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1703
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1704
|
+
role: "img"
|
|
1731
1705
|
}, props), {}, {
|
|
1732
1706
|
children: jsxRuntime.jsx("g", {
|
|
1733
1707
|
fillRule: "evenodd",
|
|
@@ -1743,12 +1717,11 @@ var SvgSuperscript = function SvgSuperscript(props) {
|
|
|
1743
1717
|
SvgSuperscript.displayName = 'SvgSuperscript';
|
|
1744
1718
|
|
|
1745
1719
|
var SuperscriptIcon = function SuperscriptIcon(props) {
|
|
1746
|
-
var theme = react$1.useTheme();
|
|
1747
1720
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1748
1721
|
children: function children(_ref) {
|
|
1749
1722
|
var createClass = _ref.css;
|
|
1750
1723
|
return jsxRuntime.jsx(SvgSuperscript, _objectSpread$7(_objectSpread$7({}, props), {}, {
|
|
1751
|
-
className: createClass(getIconStyles$3(props
|
|
1724
|
+
className: createClass(getIconStyles$3(props))
|
|
1752
1725
|
}));
|
|
1753
1726
|
}
|
|
1754
1727
|
});
|
|
@@ -1804,44 +1777,41 @@ var getSizeStyle$2 = function getSizeStyle(size) {
|
|
|
1804
1777
|
}
|
|
1805
1778
|
};
|
|
1806
1779
|
|
|
1807
|
-
var getColor$2 = function getColor(color
|
|
1780
|
+
var getColor$2 = function getColor(color) {
|
|
1808
1781
|
if (!color) return 'inherit';
|
|
1809
|
-
|
|
1810
|
-
var overwrittenVars = _objectSpread$6(_objectSpread$6({}, designSystem.customProperties), theme);
|
|
1811
|
-
|
|
1812
1782
|
var iconColor;
|
|
1813
1783
|
|
|
1814
1784
|
switch (color) {
|
|
1815
1785
|
case 'solid':
|
|
1816
|
-
iconColor =
|
|
1786
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1817
1787
|
break;
|
|
1818
1788
|
|
|
1819
1789
|
case 'neutral60':
|
|
1820
|
-
iconColor =
|
|
1790
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1821
1791
|
break;
|
|
1822
1792
|
|
|
1823
1793
|
case 'surface':
|
|
1824
|
-
iconColor =
|
|
1794
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1825
1795
|
break;
|
|
1826
1796
|
|
|
1827
1797
|
case 'info':
|
|
1828
|
-
iconColor =
|
|
1798
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1829
1799
|
break;
|
|
1830
1800
|
|
|
1831
1801
|
case 'primary':
|
|
1832
|
-
iconColor =
|
|
1802
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1833
1803
|
break;
|
|
1834
1804
|
|
|
1835
1805
|
case 'primary40':
|
|
1836
|
-
iconColor =
|
|
1806
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1837
1807
|
break;
|
|
1838
1808
|
|
|
1839
1809
|
case 'warning':
|
|
1840
|
-
iconColor =
|
|
1810
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1841
1811
|
break;
|
|
1842
1812
|
|
|
1843
1813
|
case 'error':
|
|
1844
|
-
iconColor =
|
|
1814
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1845
1815
|
break;
|
|
1846
1816
|
}
|
|
1847
1817
|
|
|
@@ -1852,8 +1822,8 @@ var getColor$2 = function getColor(color, theme) {
|
|
|
1852
1822
|
return iconColor;
|
|
1853
1823
|
};
|
|
1854
1824
|
|
|
1855
|
-
var getIconStyles$2 = function getIconStyles(props
|
|
1856
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$2(props.color
|
|
1825
|
+
var getIconStyles$2 = function getIconStyles(props) {
|
|
1826
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$2(props.color), ";}&,image{", getSizeStyle$2(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1857
1827
|
};
|
|
1858
1828
|
|
|
1859
1829
|
var SvgUnderline = function SvgUnderline(props) {
|
|
@@ -1861,7 +1831,8 @@ var SvgUnderline = function SvgUnderline(props) {
|
|
|
1861
1831
|
width: 24,
|
|
1862
1832
|
height: 24,
|
|
1863
1833
|
viewBox: "0 0 24 24",
|
|
1864
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
1834
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1835
|
+
role: "img"
|
|
1865
1836
|
}, props), {}, {
|
|
1866
1837
|
children: jsxRuntime.jsx("path", {
|
|
1867
1838
|
d: "M19.5 19.625v1.25h-15v-1.25h15ZM8.69 3.223v9.642c0 1.234.313 2.18.938 2.84.626.661 1.546.991 2.76.991 1.156 0 2.048-.332 2.673-.995.626-.664.939-1.616.939-2.856V3.223h1.595v9.562c0 1.684-.472 3.008-1.417 3.972-.945.963-2.243 1.445-3.894 1.445-1.652 0-2.93-.485-3.833-1.455-.904-.97-1.356-2.305-1.356-4.003V3.223H8.69Z",
|
|
@@ -1874,12 +1845,11 @@ var SvgUnderline = function SvgUnderline(props) {
|
|
|
1874
1845
|
SvgUnderline.displayName = 'SvgUnderline';
|
|
1875
1846
|
|
|
1876
1847
|
var UnderlineIcon = function UnderlineIcon(props) {
|
|
1877
|
-
var theme = react$1.useTheme();
|
|
1878
1848
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
1879
1849
|
children: function children(_ref) {
|
|
1880
1850
|
var createClass = _ref.css;
|
|
1881
1851
|
return jsxRuntime.jsx(SvgUnderline, _objectSpread$6(_objectSpread$6({}, props), {}, {
|
|
1882
|
-
className: createClass(getIconStyles$2(props
|
|
1852
|
+
className: createClass(getIconStyles$2(props))
|
|
1883
1853
|
}));
|
|
1884
1854
|
}
|
|
1885
1855
|
});
|
|
@@ -1935,44 +1905,41 @@ var getSizeStyle$1 = function getSizeStyle(size) {
|
|
|
1935
1905
|
}
|
|
1936
1906
|
};
|
|
1937
1907
|
|
|
1938
|
-
var getColor$1 = function getColor(color
|
|
1908
|
+
var getColor$1 = function getColor(color) {
|
|
1939
1909
|
if (!color) return 'inherit';
|
|
1940
|
-
|
|
1941
|
-
var overwrittenVars = _objectSpread$5(_objectSpread$5({}, designSystem.customProperties), theme);
|
|
1942
|
-
|
|
1943
1910
|
var iconColor;
|
|
1944
1911
|
|
|
1945
1912
|
switch (color) {
|
|
1946
1913
|
case 'solid':
|
|
1947
|
-
iconColor =
|
|
1914
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
1948
1915
|
break;
|
|
1949
1916
|
|
|
1950
1917
|
case 'neutral60':
|
|
1951
|
-
iconColor =
|
|
1918
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
1952
1919
|
break;
|
|
1953
1920
|
|
|
1954
1921
|
case 'surface':
|
|
1955
|
-
iconColor =
|
|
1922
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
1956
1923
|
break;
|
|
1957
1924
|
|
|
1958
1925
|
case 'info':
|
|
1959
|
-
iconColor =
|
|
1926
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
1960
1927
|
break;
|
|
1961
1928
|
|
|
1962
1929
|
case 'primary':
|
|
1963
|
-
iconColor =
|
|
1930
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
1964
1931
|
break;
|
|
1965
1932
|
|
|
1966
1933
|
case 'primary40':
|
|
1967
|
-
iconColor =
|
|
1934
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
1968
1935
|
break;
|
|
1969
1936
|
|
|
1970
1937
|
case 'warning':
|
|
1971
|
-
iconColor =
|
|
1938
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
1972
1939
|
break;
|
|
1973
1940
|
|
|
1974
1941
|
case 'error':
|
|
1975
|
-
iconColor =
|
|
1942
|
+
iconColor = designSystem.designTokens.colorError;
|
|
1976
1943
|
break;
|
|
1977
1944
|
}
|
|
1978
1945
|
|
|
@@ -1983,8 +1950,8 @@ var getColor$1 = function getColor(color, theme) {
|
|
|
1983
1950
|
return iconColor;
|
|
1984
1951
|
};
|
|
1985
1952
|
|
|
1986
|
-
var getIconStyles$1 = function getIconStyles(props
|
|
1987
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$1(props.color
|
|
1953
|
+
var getIconStyles$1 = function getIconStyles(props) {
|
|
1954
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor$1(props.color), ";}&,image{", getSizeStyle$1(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
1988
1955
|
};
|
|
1989
1956
|
|
|
1990
1957
|
var SvgUndo = function SvgUndo(props) {
|
|
@@ -1993,7 +1960,8 @@ var SvgUndo = function SvgUndo(props) {
|
|
|
1993
1960
|
height: 24,
|
|
1994
1961
|
viewBox: "0 0 24 24",
|
|
1995
1962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1996
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
1963
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1964
|
+
role: "img"
|
|
1997
1965
|
}, props), {}, {
|
|
1998
1966
|
children: [jsxRuntime.jsx("defs", {
|
|
1999
1967
|
children: jsxRuntime.jsx("path", {
|
|
@@ -2011,12 +1979,11 @@ var SvgUndo = function SvgUndo(props) {
|
|
|
2011
1979
|
SvgUndo.displayName = 'SvgUndo';
|
|
2012
1980
|
|
|
2013
1981
|
var UndoIcon = function UndoIcon(props) {
|
|
2014
|
-
var theme = react$1.useTheme();
|
|
2015
1982
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
2016
1983
|
children: function children(_ref) {
|
|
2017
1984
|
var createClass = _ref.css;
|
|
2018
1985
|
return jsxRuntime.jsx(SvgUndo, _objectSpread$5(_objectSpread$5({}, props), {}, {
|
|
2019
|
-
className: createClass(getIconStyles$1(props
|
|
1986
|
+
className: createClass(getIconStyles$1(props))
|
|
2020
1987
|
}));
|
|
2021
1988
|
}
|
|
2022
1989
|
});
|
|
@@ -2072,44 +2039,41 @@ var getSizeStyle = function getSizeStyle(size) {
|
|
|
2072
2039
|
}
|
|
2073
2040
|
};
|
|
2074
2041
|
|
|
2075
|
-
var getColor = function getColor(color
|
|
2042
|
+
var getColor = function getColor(color) {
|
|
2076
2043
|
if (!color) return 'inherit';
|
|
2077
|
-
|
|
2078
|
-
var overwrittenVars = _objectSpread$4(_objectSpread$4({}, designSystem.customProperties), theme);
|
|
2079
|
-
|
|
2080
2044
|
var iconColor;
|
|
2081
2045
|
|
|
2082
2046
|
switch (color) {
|
|
2083
2047
|
case 'solid':
|
|
2084
|
-
iconColor =
|
|
2048
|
+
iconColor = designSystem.designTokens.colorSolid;
|
|
2085
2049
|
break;
|
|
2086
2050
|
|
|
2087
2051
|
case 'neutral60':
|
|
2088
|
-
iconColor =
|
|
2052
|
+
iconColor = designSystem.designTokens.colorNeutral60;
|
|
2089
2053
|
break;
|
|
2090
2054
|
|
|
2091
2055
|
case 'surface':
|
|
2092
|
-
iconColor =
|
|
2056
|
+
iconColor = designSystem.designTokens.colorSurface;
|
|
2093
2057
|
break;
|
|
2094
2058
|
|
|
2095
2059
|
case 'info':
|
|
2096
|
-
iconColor =
|
|
2060
|
+
iconColor = designSystem.designTokens.colorInfo;
|
|
2097
2061
|
break;
|
|
2098
2062
|
|
|
2099
2063
|
case 'primary':
|
|
2100
|
-
iconColor =
|
|
2064
|
+
iconColor = designSystem.designTokens.colorPrimary;
|
|
2101
2065
|
break;
|
|
2102
2066
|
|
|
2103
2067
|
case 'primary40':
|
|
2104
|
-
iconColor =
|
|
2068
|
+
iconColor = designSystem.designTokens.colorPrimary40;
|
|
2105
2069
|
break;
|
|
2106
2070
|
|
|
2107
2071
|
case 'warning':
|
|
2108
|
-
iconColor =
|
|
2072
|
+
iconColor = designSystem.designTokens.colorWarning;
|
|
2109
2073
|
break;
|
|
2110
2074
|
|
|
2111
2075
|
case 'error':
|
|
2112
|
-
iconColor =
|
|
2076
|
+
iconColor = designSystem.designTokens.colorError;
|
|
2113
2077
|
break;
|
|
2114
2078
|
}
|
|
2115
2079
|
|
|
@@ -2120,8 +2084,8 @@ var getColor = function getColor(color, theme) {
|
|
|
2120
2084
|
return iconColor;
|
|
2121
2085
|
};
|
|
2122
2086
|
|
|
2123
|
-
var getIconStyles = function getIconStyles(props
|
|
2124
|
-
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor(props.color
|
|
2087
|
+
var getIconStyles = function getIconStyles(props) {
|
|
2088
|
+
return /*#__PURE__*/react$1.css("*:not([fill='none']){fill:", getColor(props.color), ";}&,image{", getSizeStyle(props.size), ";}flex-shrink:0;" + ("" ), "" );
|
|
2125
2089
|
};
|
|
2126
2090
|
|
|
2127
2091
|
var SvgUnorderedList = function SvgUnorderedList(props) {
|
|
@@ -2130,7 +2094,8 @@ var SvgUnorderedList = function SvgUnorderedList(props) {
|
|
|
2130
2094
|
height: 24,
|
|
2131
2095
|
viewBox: "0 0 24 24",
|
|
2132
2096
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2133
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
2097
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2098
|
+
role: "img"
|
|
2134
2099
|
}, props), {}, {
|
|
2135
2100
|
children: [jsxRuntime.jsx("defs", {
|
|
2136
2101
|
children: jsxRuntime.jsx("path", {
|
|
@@ -2148,12 +2113,11 @@ var SvgUnorderedList = function SvgUnorderedList(props) {
|
|
|
2148
2113
|
SvgUnorderedList.displayName = 'SvgUnorderedList';
|
|
2149
2114
|
|
|
2150
2115
|
var UnorderedListIcon = function UnorderedListIcon(props) {
|
|
2151
|
-
var theme = react$1.useTheme();
|
|
2152
2116
|
return jsxRuntime.jsx(react$1.ClassNames, {
|
|
2153
2117
|
children: function children(_ref) {
|
|
2154
2118
|
var createClass = _ref.css;
|
|
2155
2119
|
return jsxRuntime.jsx(SvgUnorderedList, _objectSpread$4(_objectSpread$4({}, props), {}, {
|
|
2156
|
-
className: createClass(getIconStyles(props
|
|
2120
|
+
className: createClass(getIconStyles(props))
|
|
2157
2121
|
}));
|
|
2158
2122
|
}
|
|
2159
2123
|
});
|
|
@@ -2164,30 +2128,30 @@ var UnorderedListIcon$1 = UnorderedListIcon;
|
|
|
2164
2128
|
|
|
2165
2129
|
var getBorderColor = function getBorderColor(props) {
|
|
2166
2130
|
if (props.isDisabled) {
|
|
2167
|
-
return /*#__PURE__*/react$1.css("border-color:", designSystem.
|
|
2131
|
+
return /*#__PURE__*/react$1.css("border-color:", designSystem.designTokens.borderColorForInputWhenDisabled, ";" + ("" ), "" );
|
|
2168
2132
|
}
|
|
2169
2133
|
|
|
2170
2134
|
if (props.hasError) {
|
|
2171
|
-
return /*#__PURE__*/react$1.css("border-color:", designSystem.
|
|
2135
|
+
return /*#__PURE__*/react$1.css("border-color:", designSystem.designTokens.borderColorForInputWhenError, ";" + ("" ), "" );
|
|
2172
2136
|
}
|
|
2173
2137
|
|
|
2174
2138
|
if (props.hasWarning) {
|
|
2175
|
-
return /*#__PURE__*/react$1.css("border-color:", designSystem.
|
|
2139
|
+
return /*#__PURE__*/react$1.css("border-color:", designSystem.designTokens.borderColorForInputWhenWarning, ";" + ("" ), "" );
|
|
2176
2140
|
}
|
|
2177
2141
|
|
|
2178
2142
|
if (props.isReadOnly) {
|
|
2179
|
-
return /*#__PURE__*/react$1.css("border-color:", designSystem.
|
|
2143
|
+
return /*#__PURE__*/react$1.css("border-color:", designSystem.designTokens.borderColorForInputWhenReadonly, ";" + ("" ), "" );
|
|
2180
2144
|
}
|
|
2181
2145
|
|
|
2182
|
-
return /*#__PURE__*/react$1.css("border-color:", designSystem.
|
|
2146
|
+
return /*#__PURE__*/react$1.css("border-color:", designSystem.designTokens.borderColorForInput, ";" + ("" ), "" );
|
|
2183
2147
|
};
|
|
2184
2148
|
|
|
2185
2149
|
var getBackgroundColor = function getBackgroundColor(props) {
|
|
2186
2150
|
if (props.isDisabled) {
|
|
2187
|
-
return /*#__PURE__*/react$1.css("background-color:", designSystem.
|
|
2151
|
+
return /*#__PURE__*/react$1.css("background-color:", designSystem.designTokens.backgroundColorForInputWhenDisabled, ";" + ("" ), "" );
|
|
2188
2152
|
}
|
|
2189
2153
|
|
|
2190
|
-
return /*#__PURE__*/react$1.css("background-color:", designSystem.
|
|
2154
|
+
return /*#__PURE__*/react$1.css("background-color:", designSystem.designTokens.backgroundColorForInput, ";" + ("" ), "" );
|
|
2191
2155
|
};
|
|
2192
2156
|
|
|
2193
2157
|
var ToolbarMainControls = /*#__PURE__*/_styled__default["default"]("div", {
|
|
@@ -2201,7 +2165,7 @@ var ToolbarRightControls = /*#__PURE__*/_styled__default["default"]("div", {
|
|
|
2201
2165
|
} )("" );
|
|
2202
2166
|
var Toolbar = /*#__PURE__*/_styled__default["default"]("div", {
|
|
2203
2167
|
target: "e1sckae42"
|
|
2204
|
-
} )("display:flex;flex-wrap:wrap;font-family:", designSystem.
|
|
2168
|
+
} )("display:flex;flex-wrap:wrap;font-family:", designSystem.designTokens.fontFamilyDefault, ";border-radius:", designSystem.designTokens.borderRadiusForInput, ";border-bottom:0;padding:", designSystem.designTokens.spacingXs, " calc(", designSystem.designTokens.spacingS, " - 1px);padding-left:calc(", designSystem.designTokens.spacingXs, " - 1px);align-items:flex-start;align-content:stretch;position:relative;&::after{position:absolute;content:'';width:calc(100% - ", designSystem.designTokens.spacingS, ");height:1px;background:", designSystem.designTokens.colorNeutral, ";left:50%;transform:translateX(-50%);bottom:-1px;}&:focus{outline:none;}" + ("" ));
|
|
2205
2169
|
|
|
2206
2170
|
var _ref$2 = {
|
|
2207
2171
|
name: "7g2mws",
|
|
@@ -2209,17 +2173,17 @@ var _ref$2 = {
|
|
|
2209
2173
|
} ;
|
|
2210
2174
|
|
|
2211
2175
|
var reset = function reset(props) {
|
|
2212
|
-
return [_ref$2, props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.
|
|
2176
|
+
return [_ref$2, props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenReadonly, ";" + ("" ), "" ), props.isDisabled && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.fontColorForInputWhenDisabled, ";" + ("" ), "" )];
|
|
2213
2177
|
};
|
|
2214
2178
|
|
|
2215
2179
|
var EditorContainer = /*#__PURE__*/_styled__default["default"]("div", {
|
|
2216
2180
|
target: "e1sckae41"
|
|
2217
|
-
} )("padding:4px ", designSystem.
|
|
2181
|
+
} )("padding:4px ", designSystem.designTokens.spacingS, ";padding-top:6px;border-radius:", designSystem.designTokens.borderRadiusForInput, ";font-family:", designSystem.designTokens.fontFamilyDefault, ";", getBorderColor, " overflow-y:scroll;", reset, ";" + ("" ));
|
|
2218
2182
|
var Container = /*#__PURE__*/_styled__default["default"]("div", {
|
|
2219
2183
|
target: "e1sckae40"
|
|
2220
|
-
} )("border-radius:", designSystem.
|
|
2184
|
+
} )("border-radius:", designSystem.designTokens.borderRadiusForInput, ";border:1px solid ", designSystem.designTokens.borderColorForInput, ";transition:", designSystem.designTokens.transitionStandard, ";", getBorderColor, " ", getBackgroundColor, " pointer-events:", function (props) {
|
|
2221
2185
|
return props.isDisabled || props.isReadOnly ? 'none' : 'inherit';
|
|
2222
|
-
}, ";position:relative;&:hover{border-color:", designSystem.
|
|
2186
|
+
}, ";position:relative;&:hover{border-color:", designSystem.designTokens.borderColorForInputWhenFocused, ";}&:focus{outline:none;box-shadow:inset 0 0 0 2px ", designSystem.designTokens.borderColorForInputWhenFocused, ";}", Toolbar, "{border-radius:", designSystem.designTokens.borderRadiusForInput, ";border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:", designSystem.designTokens.borderColorForInput, ";}&:focus-within{border-color:", designSystem.designTokens.borderColorForInputWhenFocused, ";box-shadow:inset 0 0 0 2px ", designSystem.designTokens.borderColorForInputWhenFocused, ";", Toolbar, "{border-color:", designSystem.designTokens.borderColorForInputWhenFocused, ";}", EditorContainer, "{border-color:", designSystem.designTokens.borderColorForInputWhenFocused, ";}}" + ("" ));
|
|
2223
2187
|
|
|
2224
2188
|
function ownKeys$3(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2225
2189
|
|
|
@@ -2227,8 +2191,8 @@ function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
2227
2191
|
var propsToOmit = ['isActive', 'label', 'isDisabled', 'isReadOnly'];
|
|
2228
2192
|
|
|
2229
2193
|
function getFillColor(props) {
|
|
2230
|
-
if (props.isActive) return designSystem.
|
|
2231
|
-
return designSystem.
|
|
2194
|
+
if (props.isActive) return designSystem.designTokens.colorSurface;
|
|
2195
|
+
return designSystem.designTokens.colorSolid;
|
|
2232
2196
|
}
|
|
2233
2197
|
|
|
2234
2198
|
var RichTextBodyButton = function RichTextBodyButton(props) {
|
|
@@ -2239,7 +2203,7 @@ var RichTextBodyButton = function RichTextBodyButton(props) {
|
|
|
2239
2203
|
"aria-disabled": props.isDisabled,
|
|
2240
2204
|
disabled: props.isDisabled,
|
|
2241
2205
|
"aria-label": props.label,
|
|
2242
|
-
css: [/*#__PURE__*/react$1.css("border:0;cursor:pointer;background:", props.isActive ? designSystem.
|
|
2206
|
+
css: [/*#__PURE__*/react$1.css("border:0;cursor:pointer;background:", props.isActive ? designSystem.designTokens.colorAccent30 : 'transparent', ";display:flex;justify-content:center;align-items:center;border-radius:", designSystem.designTokens.spacingXs, ";padding:", designSystem.designTokens.spacingXs, ";&:focus{outline:none;}&:hover,&:focus{background:", props.isActive ? designSystem.designTokens.colorAccent30 : designSystem.designTokens.colorNeutral90, ";}svg{fill:", getFillColor(props), ";}&:disabled{pointer-events:none;svg{fill:", designSystem.designTokens.colorNeutral60, ";}}" + ("" ), "" ), props.isReadOnly && /*#__PURE__*/react$1.css("svg{fill:", designSystem.designTokens.colorNeutral60, ";}" + ("" ), "" ), "" , "" ],
|
|
2243
2207
|
children: props.children
|
|
2244
2208
|
}));
|
|
2245
2209
|
};
|
|
@@ -2250,25 +2214,25 @@ var Button = RichTextBodyButton;
|
|
|
2250
2214
|
|
|
2251
2215
|
var Divider = /*#__PURE__*/_styled__default["default"]("span", {
|
|
2252
2216
|
target: "ehglnxa0"
|
|
2253
|
-
} )("width:1px;height:", designSystem.
|
|
2217
|
+
} )("width:1px;height:", designSystem.designTokens.spacingL, ";background:", designSystem.designTokens.colorNeutral, ";margin:0 ", designSystem.designTokens.spacingXs, ";" + ("" ));
|
|
2254
2218
|
|
|
2255
2219
|
var Divider$1 = Divider;
|
|
2256
2220
|
|
|
2257
2221
|
var DropdownItem = /*#__PURE__*/_styled__default["default"]("button", {
|
|
2258
2222
|
target: "e1f4n71b1"
|
|
2259
|
-
} )("width:100%;border:0;font-size:1rem;cursor:pointer;padding:", designSystem.
|
|
2260
|
-
return props.isSelected ? designSystem.
|
|
2261
|
-
}, ";&:focus,&:hover{outline:none;background-color:", designSystem.
|
|
2223
|
+
} )("width:100%;border:0;font-size:1rem;cursor:pointer;padding:", designSystem.designTokens.spacingXs, " ", designSystem.designTokens.spacingS, ";font-family:", designSystem.designTokens.fontFamilyDefault, ";display:block;background-color:", function (props) {
|
|
2224
|
+
return props.isSelected ? designSystem.designTokens.colorAccent95 : designSystem.designTokens.colorSurface;
|
|
2225
|
+
}, ";&:focus,&:hover{outline:none;background-color:", designSystem.designTokens.colorNeutral90, ";}" + ("" ));
|
|
2262
2226
|
|
|
2263
2227
|
var getButtonStyles = function getButtonStyles(props) {
|
|
2264
2228
|
var _context;
|
|
2265
2229
|
|
|
2266
|
-
return [/*#__PURE__*/react$1.css("border:0;font-family:", designSystem.
|
|
2230
|
+
return [/*#__PURE__*/react$1.css("border:0;font-family:", designSystem.designTokens.fontFamilyDefault, ";border-radius:", designSystem.designTokens.borderRadius4, ";cursor:pointer;font-size:", designSystem.designTokens.fontSizeForInput, ";color:", designSystem.designTokens.colorSolid, ";display:flex;justify-content:center;align-items:center;padding:", props.isStyleButton ? _concatInstanceProperty__default["default"](_context = "calc(".concat(designSystem.designTokens.spacingXs, " - 1px) ")).call(_context, designSystem.designTokens.spacingS) : designSystem.designTokens.spacingXs, ";&:hover{background-color:", designSystem.designTokens.colorNeutral90, ";}" + ("" ), "" ), props.isIndeterminate && /*#__PURE__*/react$1.css("background-color:", designSystem.designTokens.colorAccent95, ";" + ("" ), "" ), props.isOpen && /*#__PURE__*/react$1.css("&:not(:hover){background-color:", designSystem.designTokens.colorAccent30, ";color:", designSystem.designTokens.colorSurface, ";svg{fill:", designSystem.designTokens.colorSurface, ";}}" + ("" ), "" ), props.isReadOnly && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.colorNeutral60, ";svg{fill:", designSystem.designTokens.colorNeutral60, ";}" + ("" ), "" ), props.isDisabled && /*#__PURE__*/react$1.css("color:", designSystem.designTokens.colorNeutral60, ";svg{fill:", designSystem.designTokens.colorNeutral60, ";}" + ("" ), "" )];
|
|
2267
2231
|
};
|
|
2268
2232
|
|
|
2269
2233
|
var DropdownContainer = /*#__PURE__*/_styled__default["default"]("div", {
|
|
2270
2234
|
target: "e1f4n71b0"
|
|
2271
|
-
} )("position:absolute;cursor:pointer;font-size:", designSystem.
|
|
2235
|
+
} )("position:absolute;cursor:pointer;font-size:", designSystem.designTokens.fontSizeForInput, ";top:", designSystem.designTokens.spacingXs, ";margin-top:", designSystem.designTokens.spacingXs, ";left:0;white-space:nowrap;background:", designSystem.designTokens.colorSurface, ";overflow:hidden;z-index:9999;border:1px solid ", designSystem.designTokens.colorPrimary, ";border-radius:", designSystem.designTokens.borderRadius6, ";" + ("" ));
|
|
2272
2236
|
|
|
2273
2237
|
function ownKeys$2(object, enumerableOnly) { var keys = _Object$keys__default["default"](object); if (_Object$getOwnPropertySymbols__default["default"]) { var symbols = _Object$getOwnPropertySymbols__default["default"](object); enumerableOnly && (symbols = _filterInstanceProperty__default["default"](symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor__default["default"](object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2274
2238
|
|
|
@@ -3129,7 +3093,7 @@ RichTextEditorBody.defaultProps = defaultProps;
|
|
|
3129
3093
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
3130
3094
|
|
|
3131
3095
|
// NOTE: This string will be replaced on build time with the package version.
|
|
3132
|
-
var version = "15.
|
|
3096
|
+
var version = "15.4.0";
|
|
3133
3097
|
|
|
3134
3098
|
exports.Element = Element;
|
|
3135
3099
|
exports.HiddenInput = HiddenInput$1;
|