@sumup-oss/design-tokens 10.0.3 → 10.1.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/consumer-scoped.css +4 -0
- package/consumer.css +8 -0
- package/dark.css +8 -0
- package/dist/cjs/themes/consumer.js +2 -0
- package/dist/cjs/themes/dark.js +2 -0
- package/dist/cjs/themes/light.js +2 -0
- package/dist/cjs/themes/schema.d.ts +76 -9
- package/dist/cjs/themes/schema.js +57 -9
- package/dist/cjs/themes/shared.d.ts +16 -0
- package/dist/cjs/themes/shared.js +24 -0
- package/dist/es/themes/consumer.js +2 -0
- package/dist/es/themes/dark.js +2 -0
- package/dist/es/themes/light.js +2 -0
- package/dist/es/themes/schema.d.ts +76 -9
- package/dist/es/themes/schema.js +57 -9
- package/dist/es/themes/shared.d.ts +16 -0
- package/dist/es/themes/shared.js +24 -0
- package/dynamic.css +8 -0
- package/light.css +8 -0
- package/package.json +2 -2
package/consumer-scoped.css
CHANGED
|
@@ -180,6 +180,10 @@
|
|
|
180
180
|
--cui-font-weight-bold: 650;
|
|
181
181
|
--cui-letter-spacing: 0rem;
|
|
182
182
|
--cui-letter-spacing-tight: 0rem;
|
|
183
|
+
--cui-icon-sizes-s: 1rem;
|
|
184
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
185
|
+
--cui-icon-sizes-l: 2rem;
|
|
186
|
+
--cui-icon-sizes-xl: 3rem;
|
|
183
187
|
--cui-icon-sizes-kilo: 16px;
|
|
184
188
|
--cui-icon-sizes-mega: 24px;
|
|
185
189
|
--cui-icon-sizes-giga: 32px;
|
package/consumer.css
CHANGED
|
@@ -180,6 +180,10 @@
|
|
|
180
180
|
--cui-font-weight-bold: 650;
|
|
181
181
|
--cui-letter-spacing: 0rem;
|
|
182
182
|
--cui-letter-spacing-tight: 0rem;
|
|
183
|
+
--cui-icon-sizes-s: 1rem;
|
|
184
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
185
|
+
--cui-icon-sizes-l: 2rem;
|
|
186
|
+
--cui-icon-sizes-xl: 3rem;
|
|
183
187
|
--cui-icon-sizes-kilo: 16px;
|
|
184
188
|
--cui-icon-sizes-mega: 24px;
|
|
185
189
|
--cui-icon-sizes-giga: 32px;
|
|
@@ -449,6 +453,10 @@
|
|
|
449
453
|
--cui-font-weight-bold: 650;
|
|
450
454
|
--cui-letter-spacing: 0rem;
|
|
451
455
|
--cui-letter-spacing-tight: 0rem;
|
|
456
|
+
--cui-icon-sizes-s: 1rem;
|
|
457
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
458
|
+
--cui-icon-sizes-l: 2rem;
|
|
459
|
+
--cui-icon-sizes-xl: 3rem;
|
|
452
460
|
--cui-icon-sizes-kilo: 16px;
|
|
453
461
|
--cui-icon-sizes-mega: 24px;
|
|
454
462
|
--cui-icon-sizes-giga: 32px;
|
package/dark.css
CHANGED
|
@@ -180,6 +180,10 @@
|
|
|
180
180
|
--cui-font-weight-bold: 650;
|
|
181
181
|
--cui-letter-spacing: 0rem;
|
|
182
182
|
--cui-letter-spacing-tight: 0rem;
|
|
183
|
+
--cui-icon-sizes-s: 1rem;
|
|
184
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
185
|
+
--cui-icon-sizes-l: 2rem;
|
|
186
|
+
--cui-icon-sizes-xl: 3rem;
|
|
183
187
|
--cui-icon-sizes-kilo: 16px;
|
|
184
188
|
--cui-icon-sizes-mega: 24px;
|
|
185
189
|
--cui-icon-sizes-giga: 32px;
|
|
@@ -449,6 +453,10 @@
|
|
|
449
453
|
--cui-font-weight-bold: 650;
|
|
450
454
|
--cui-letter-spacing: 0rem;
|
|
451
455
|
--cui-letter-spacing-tight: 0rem;
|
|
456
|
+
--cui-icon-sizes-s: 1rem;
|
|
457
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
458
|
+
--cui-icon-sizes-l: 2rem;
|
|
459
|
+
--cui-icon-sizes-xl: 3rem;
|
|
452
460
|
--cui-icon-sizes-kilo: 16px;
|
|
453
461
|
--cui-icon-sizes-mega: 24px;
|
|
454
462
|
--cui-icon-sizes-giga: 32px;
|
|
@@ -116,6 +116,7 @@ exports.consumer = [
|
|
|
116
116
|
value: 'rgba(58, 16, 55, 0.6000)',
|
|
117
117
|
type: 'color',
|
|
118
118
|
},
|
|
119
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
119
120
|
{
|
|
120
121
|
name: '--cui-bg-accent-strong',
|
|
121
122
|
value: '#fbfbf9',
|
|
@@ -136,6 +137,7 @@ exports.consumer = [
|
|
|
136
137
|
value: 'rgba(251, 251, 249, 0.1500)',
|
|
137
138
|
type: 'color',
|
|
138
139
|
},
|
|
140
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
139
141
|
{
|
|
140
142
|
name: '--cui-bg-neutral',
|
|
141
143
|
value: 'rgba(104, 79, 98, 0.3500)',
|
package/dist/cjs/themes/dark.js
CHANGED
|
@@ -116,6 +116,7 @@ exports.dark = [
|
|
|
116
116
|
value: 'rgba(26, 24, 22, 0.6000)',
|
|
117
117
|
type: 'color',
|
|
118
118
|
},
|
|
119
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
119
120
|
{
|
|
120
121
|
name: '--cui-bg-accent-strong',
|
|
121
122
|
value: '#f5f4ed',
|
|
@@ -136,6 +137,7 @@ exports.dark = [
|
|
|
136
137
|
value: 'rgba(245, 244, 237, 0.1000)',
|
|
137
138
|
type: 'color',
|
|
138
139
|
},
|
|
140
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
139
141
|
{
|
|
140
142
|
name: '--cui-bg-neutral',
|
|
141
143
|
value: '#2b2927',
|
package/dist/cjs/themes/light.js
CHANGED
|
@@ -116,6 +116,7 @@ exports.light = [
|
|
|
116
116
|
value: 'rgba(227, 226, 214, 0.6000)',
|
|
117
117
|
type: 'color',
|
|
118
118
|
},
|
|
119
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
119
120
|
{
|
|
120
121
|
name: '--cui-bg-accent-strong',
|
|
121
122
|
value: '#1e1c1c',
|
|
@@ -136,6 +137,7 @@ exports.light = [
|
|
|
136
137
|
value: 'rgba(30, 28, 28, 0.1000)',
|
|
137
138
|
type: 'color',
|
|
138
139
|
},
|
|
140
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
139
141
|
{
|
|
140
142
|
name: '--cui-bg-neutral',
|
|
141
143
|
value: '#f0eee7',
|
|
@@ -95,19 +95,31 @@ export declare const schema: ({
|
|
|
95
95
|
} | {
|
|
96
96
|
name: "--cui-bg-accent-strong";
|
|
97
97
|
type: "color";
|
|
98
|
-
deprecation
|
|
98
|
+
deprecation: {
|
|
99
|
+
replacement: "--cui-bg-strong";
|
|
100
|
+
additionalInfo?: undefined;
|
|
101
|
+
};
|
|
99
102
|
} | {
|
|
100
103
|
name: "--cui-bg-accent-strong-hovered";
|
|
101
104
|
type: "color";
|
|
102
|
-
deprecation
|
|
105
|
+
deprecation: {
|
|
106
|
+
replacement: "--cui-bg-strong-hovered";
|
|
107
|
+
additionalInfo?: undefined;
|
|
108
|
+
};
|
|
103
109
|
} | {
|
|
104
110
|
name: "--cui-bg-accent-strong-pressed";
|
|
105
111
|
type: "color";
|
|
106
|
-
deprecation
|
|
112
|
+
deprecation: {
|
|
113
|
+
replacement: "--cui-bg-strong-pressed";
|
|
114
|
+
additionalInfo?: undefined;
|
|
115
|
+
};
|
|
107
116
|
} | {
|
|
108
117
|
name: "--cui-bg-accent-strong-disabled";
|
|
109
118
|
type: "color";
|
|
110
|
-
deprecation
|
|
119
|
+
deprecation: {
|
|
120
|
+
replacement: "--cui-bg-strong-disabled";
|
|
121
|
+
additionalInfo?: undefined;
|
|
122
|
+
};
|
|
111
123
|
} | {
|
|
112
124
|
name: "--cui-bg-neutral";
|
|
113
125
|
type: "color";
|
|
@@ -717,21 +729,49 @@ export declare const schema: ({
|
|
|
717
729
|
type: "fontWeight";
|
|
718
730
|
deprecation?: undefined;
|
|
719
731
|
} | {
|
|
720
|
-
name: "--cui-icon-sizes-
|
|
732
|
+
name: "--cui-icon-sizes-s";
|
|
721
733
|
type: "dimension";
|
|
722
734
|
deprecation?: undefined;
|
|
723
735
|
} | {
|
|
724
|
-
name: "--cui-icon-sizes-
|
|
736
|
+
name: "--cui-icon-sizes-m";
|
|
725
737
|
type: "dimension";
|
|
726
738
|
deprecation?: undefined;
|
|
727
739
|
} | {
|
|
728
|
-
name: "--cui-icon-sizes-
|
|
740
|
+
name: "--cui-icon-sizes-l";
|
|
729
741
|
type: "dimension";
|
|
730
742
|
deprecation?: undefined;
|
|
731
743
|
} | {
|
|
732
|
-
name: "--cui-icon-sizes-
|
|
744
|
+
name: "--cui-icon-sizes-xl";
|
|
733
745
|
type: "dimension";
|
|
734
746
|
deprecation?: undefined;
|
|
747
|
+
} | {
|
|
748
|
+
name: "--cui-icon-sizes-kilo";
|
|
749
|
+
type: "dimension";
|
|
750
|
+
deprecation: {
|
|
751
|
+
replacement: "--cui-icon-sizes-s";
|
|
752
|
+
additionalInfo?: undefined;
|
|
753
|
+
};
|
|
754
|
+
} | {
|
|
755
|
+
name: "--cui-icon-sizes-mega";
|
|
756
|
+
type: "dimension";
|
|
757
|
+
deprecation: {
|
|
758
|
+
replacement: "--cui-icon-sizes-m";
|
|
759
|
+
additionalInfo?: undefined;
|
|
760
|
+
};
|
|
761
|
+
} | {
|
|
762
|
+
name: "--cui-icon-sizes-giga";
|
|
763
|
+
type: "dimension";
|
|
764
|
+
deprecation: {
|
|
765
|
+
replacement: "--cui-icon-sizes-l";
|
|
766
|
+
additionalInfo?: undefined;
|
|
767
|
+
};
|
|
768
|
+
} | {
|
|
769
|
+
name: "--cui-icon-sizes-tera";
|
|
770
|
+
type: "dimension";
|
|
771
|
+
deprecation: {
|
|
772
|
+
replacement: "--cui-icon-sizes-xl";
|
|
773
|
+
additionalInfo?: undefined;
|
|
774
|
+
};
|
|
735
775
|
} | {
|
|
736
776
|
name: "--cui-spacings-bit";
|
|
737
777
|
type: "dimension";
|
|
@@ -937,144 +977,168 @@ export declare const schema: ({
|
|
|
937
977
|
type: "dimension";
|
|
938
978
|
deprecation: {
|
|
939
979
|
replacement: "--cui-headline-l-font-size";
|
|
980
|
+
additionalInfo?: undefined;
|
|
940
981
|
};
|
|
941
982
|
} | {
|
|
942
983
|
name: "--cui-typography-headline-one-line-height";
|
|
943
984
|
type: "dimension";
|
|
944
985
|
deprecation: {
|
|
945
986
|
replacement: "--cui-headline-l-line-height";
|
|
987
|
+
additionalInfo?: undefined;
|
|
946
988
|
};
|
|
947
989
|
} | {
|
|
948
990
|
name: "--cui-typography-headline-two-font-size";
|
|
949
991
|
type: "dimension";
|
|
950
992
|
deprecation: {
|
|
951
993
|
replacement: "--cui-headline-m-font-size";
|
|
994
|
+
additionalInfo?: undefined;
|
|
952
995
|
};
|
|
953
996
|
} | {
|
|
954
997
|
name: "--cui-typography-headline-two-line-height";
|
|
955
998
|
type: "dimension";
|
|
956
999
|
deprecation: {
|
|
957
1000
|
replacement: "--cui-headline-m-line-height";
|
|
1001
|
+
additionalInfo?: undefined;
|
|
958
1002
|
};
|
|
959
1003
|
} | {
|
|
960
1004
|
name: "--cui-typography-headline-three-font-size";
|
|
961
1005
|
type: "dimension";
|
|
962
1006
|
deprecation: {
|
|
963
1007
|
replacement: "--cui-headline-m-font-size";
|
|
1008
|
+
additionalInfo?: undefined;
|
|
964
1009
|
};
|
|
965
1010
|
} | {
|
|
966
1011
|
name: "--cui-typography-headline-three-line-height";
|
|
967
1012
|
type: "dimension";
|
|
968
1013
|
deprecation: {
|
|
969
1014
|
replacement: "--cui-headline-m-line-height";
|
|
1015
|
+
additionalInfo?: undefined;
|
|
970
1016
|
};
|
|
971
1017
|
} | {
|
|
972
1018
|
name: "--cui-typography-headline-four-font-size";
|
|
973
1019
|
type: "dimension";
|
|
974
1020
|
deprecation: {
|
|
975
1021
|
replacement: "--cui-headline-s-font-size";
|
|
1022
|
+
additionalInfo?: undefined;
|
|
976
1023
|
};
|
|
977
1024
|
} | {
|
|
978
1025
|
name: "--cui-typography-headline-four-line-height";
|
|
979
1026
|
type: "dimension";
|
|
980
1027
|
deprecation: {
|
|
981
1028
|
replacement: "--cui-headline-s-line-height";
|
|
1029
|
+
additionalInfo?: undefined;
|
|
982
1030
|
};
|
|
983
1031
|
} | {
|
|
984
1032
|
name: "--cui-typography-title-one-font-size";
|
|
985
1033
|
type: "dimension";
|
|
986
1034
|
deprecation: {
|
|
987
1035
|
replacement: "--cui-display-l-font-size";
|
|
1036
|
+
additionalInfo?: undefined;
|
|
988
1037
|
};
|
|
989
1038
|
} | {
|
|
990
1039
|
name: "--cui-typography-title-one-line-height";
|
|
991
1040
|
type: "dimension";
|
|
992
1041
|
deprecation: {
|
|
993
1042
|
replacement: "--cui-display-l-line-height";
|
|
1043
|
+
additionalInfo?: undefined;
|
|
994
1044
|
};
|
|
995
1045
|
} | {
|
|
996
1046
|
name: "--cui-typography-title-two-font-size";
|
|
997
1047
|
type: "dimension";
|
|
998
1048
|
deprecation: {
|
|
999
1049
|
replacement: "--cui-display-m-font-size";
|
|
1050
|
+
additionalInfo?: undefined;
|
|
1000
1051
|
};
|
|
1001
1052
|
} | {
|
|
1002
1053
|
name: "--cui-typography-title-two-line-height";
|
|
1003
1054
|
type: "dimension";
|
|
1004
1055
|
deprecation: {
|
|
1005
1056
|
replacement: "--cui-display-m-line-height";
|
|
1057
|
+
additionalInfo?: undefined;
|
|
1006
1058
|
};
|
|
1007
1059
|
} | {
|
|
1008
1060
|
name: "--cui-typography-title-three-font-size";
|
|
1009
1061
|
type: "dimension";
|
|
1010
1062
|
deprecation: {
|
|
1011
1063
|
replacement: "--cui-display-m-font-size";
|
|
1064
|
+
additionalInfo?: undefined;
|
|
1012
1065
|
};
|
|
1013
1066
|
} | {
|
|
1014
1067
|
name: "--cui-typography-title-three-line-height";
|
|
1015
1068
|
type: "dimension";
|
|
1016
1069
|
deprecation: {
|
|
1017
1070
|
replacement: "--cui-display-m-line-height";
|
|
1071
|
+
additionalInfo?: undefined;
|
|
1018
1072
|
};
|
|
1019
1073
|
} | {
|
|
1020
1074
|
name: "--cui-typography-title-four-font-size";
|
|
1021
1075
|
type: "dimension";
|
|
1022
1076
|
deprecation: {
|
|
1023
1077
|
replacement: "--cui-display-s-font-size";
|
|
1078
|
+
additionalInfo?: undefined;
|
|
1024
1079
|
};
|
|
1025
1080
|
} | {
|
|
1026
1081
|
name: "--cui-typography-title-four-line-height";
|
|
1027
1082
|
type: "dimension";
|
|
1028
1083
|
deprecation: {
|
|
1029
1084
|
replacement: "--cui-display-s-line-height";
|
|
1085
|
+
additionalInfo?: undefined;
|
|
1030
1086
|
};
|
|
1031
1087
|
} | {
|
|
1032
1088
|
name: "--cui-typography-sub-headline-font-size";
|
|
1033
1089
|
type: "dimension";
|
|
1034
1090
|
deprecation: {
|
|
1035
1091
|
replacement: "--cui-headline-s-font-size";
|
|
1092
|
+
additionalInfo?: undefined;
|
|
1036
1093
|
};
|
|
1037
1094
|
} | {
|
|
1038
1095
|
name: "--cui-typography-sub-headline-line-height";
|
|
1039
1096
|
type: "dimension";
|
|
1040
1097
|
deprecation: {
|
|
1041
1098
|
replacement: "--cui-headline-s-line-height";
|
|
1099
|
+
additionalInfo?: undefined;
|
|
1042
1100
|
};
|
|
1043
1101
|
} | {
|
|
1044
1102
|
name: "--cui-typography-body-one-font-size";
|
|
1045
1103
|
type: "dimension";
|
|
1046
1104
|
deprecation: {
|
|
1047
1105
|
replacement: "--cui-body-m-font-size";
|
|
1106
|
+
additionalInfo?: undefined;
|
|
1048
1107
|
};
|
|
1049
1108
|
} | {
|
|
1050
1109
|
name: "--cui-typography-body-one-line-height";
|
|
1051
1110
|
type: "dimension";
|
|
1052
1111
|
deprecation: {
|
|
1053
1112
|
replacement: "--cui-body-m-line-height";
|
|
1113
|
+
additionalInfo?: undefined;
|
|
1054
1114
|
};
|
|
1055
1115
|
} | {
|
|
1056
1116
|
name: "--cui-typography-body-two-font-size";
|
|
1057
1117
|
type: "dimension";
|
|
1058
1118
|
deprecation: {
|
|
1059
1119
|
replacement: "--cui-body-s-font-size";
|
|
1120
|
+
additionalInfo?: undefined;
|
|
1060
1121
|
};
|
|
1061
1122
|
} | {
|
|
1062
1123
|
name: "--cui-typography-body-two-line-height";
|
|
1063
1124
|
type: "dimension";
|
|
1064
1125
|
deprecation: {
|
|
1065
1126
|
replacement: "--cui-body-s-line-height";
|
|
1127
|
+
additionalInfo?: undefined;
|
|
1066
1128
|
};
|
|
1067
1129
|
} | {
|
|
1068
1130
|
name: "--cui-typography-body-large-font-size";
|
|
1069
1131
|
type: "dimension";
|
|
1070
1132
|
deprecation: {
|
|
1071
1133
|
replacement: "--cui-body-l-font-size";
|
|
1134
|
+
additionalInfo?: undefined;
|
|
1072
1135
|
};
|
|
1073
1136
|
} | {
|
|
1074
1137
|
name: "--cui-typography-body-large-line-height";
|
|
1075
1138
|
type: "dimension";
|
|
1076
1139
|
deprecation: {
|
|
1077
1140
|
replacement: "--cui-body-l-line-height";
|
|
1141
|
+
additionalInfo?: undefined;
|
|
1078
1142
|
};
|
|
1079
1143
|
} | {
|
|
1080
1144
|
name: "--cui-z-index-default";
|
|
@@ -1111,5 +1175,8 @@ export declare const schema: ({
|
|
|
1111
1175
|
} | {
|
|
1112
1176
|
name: "--cui-z-index-toast";
|
|
1113
1177
|
type: "number";
|
|
1114
|
-
deprecation
|
|
1178
|
+
deprecation: {
|
|
1179
|
+
additionalInfo: string;
|
|
1180
|
+
replacement?: undefined;
|
|
1181
|
+
};
|
|
1115
1182
|
})[];
|
|
@@ -38,10 +38,28 @@ exports.schema = [
|
|
|
38
38
|
{ name: '--cui-bg-accent-hovered', type: 'color' },
|
|
39
39
|
{ name: '--cui-bg-accent-pressed', type: 'color' },
|
|
40
40
|
{ name: '--cui-bg-accent-disabled', type: 'color' },
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
42
|
+
{
|
|
43
|
+
name: '--cui-bg-accent-strong',
|
|
44
|
+
type: 'color',
|
|
45
|
+
deprecation: { replacement: '--cui-bg-strong' },
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: '--cui-bg-accent-strong-hovered',
|
|
49
|
+
type: 'color',
|
|
50
|
+
deprecation: { replacement: '--cui-bg-strong-hovered' },
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: '--cui-bg-accent-strong-pressed',
|
|
54
|
+
type: 'color',
|
|
55
|
+
deprecation: { replacement: '--cui-bg-strong-pressed' },
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: '--cui-bg-accent-strong-disabled',
|
|
59
|
+
type: 'color',
|
|
60
|
+
deprecation: { replacement: '--cui-bg-strong-disabled' },
|
|
61
|
+
},
|
|
62
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
45
63
|
/* Neutral backgrounds */
|
|
46
64
|
{ name: '--cui-bg-neutral', type: 'color' },
|
|
47
65
|
{ name: '--cui-bg-neutral-hovered', type: 'color' },
|
|
@@ -221,10 +239,32 @@ exports.schema = [
|
|
|
221
239
|
{ name: '--cui-font-weight-semibold', type: 'fontWeight' },
|
|
222
240
|
{ name: '--cui-font-weight-bold', type: 'fontWeight' },
|
|
223
241
|
/* Icon sizes */
|
|
224
|
-
{ name: '--cui-icon-sizes-
|
|
225
|
-
{ name: '--cui-icon-sizes-
|
|
226
|
-
{ name: '--cui-icon-sizes-
|
|
227
|
-
{ name: '--cui-icon-sizes-
|
|
242
|
+
{ name: '--cui-icon-sizes-s', type: 'dimension' },
|
|
243
|
+
{ name: '--cui-icon-sizes-m', type: 'dimension' },
|
|
244
|
+
{ name: '--cui-icon-sizes-l', type: 'dimension' },
|
|
245
|
+
{ name: '--cui-icon-sizes-xl', type: 'dimension' },
|
|
246
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
247
|
+
{
|
|
248
|
+
name: '--cui-icon-sizes-kilo',
|
|
249
|
+
type: 'dimension',
|
|
250
|
+
deprecation: { replacement: '--cui-icon-sizes-s' },
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: '--cui-icon-sizes-mega',
|
|
254
|
+
type: 'dimension',
|
|
255
|
+
deprecation: { replacement: '--cui-icon-sizes-m' },
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: '--cui-icon-sizes-giga',
|
|
259
|
+
type: 'dimension',
|
|
260
|
+
deprecation: { replacement: '--cui-icon-sizes-l' },
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: '--cui-icon-sizes-tera',
|
|
264
|
+
type: 'dimension',
|
|
265
|
+
deprecation: { replacement: '--cui-icon-sizes-xl' },
|
|
266
|
+
},
|
|
267
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
228
268
|
/* Spacings */
|
|
229
269
|
{ name: '--cui-spacings-bit', type: 'dimension' },
|
|
230
270
|
{ name: '--cui-spacings-byte', type: 'dimension' },
|
|
@@ -457,5 +497,13 @@ exports.schema = [
|
|
|
457
497
|
{ name: '--cui-z-index-tooltip', type: 'number' },
|
|
458
498
|
{ name: '--cui-z-index-header', type: 'number' },
|
|
459
499
|
{ name: '--cui-z-index-navigation', type: 'number' },
|
|
460
|
-
|
|
500
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
501
|
+
{
|
|
502
|
+
name: '--cui-z-index-toast',
|
|
503
|
+
type: 'number',
|
|
504
|
+
deprecation: {
|
|
505
|
+
additionalInfo: 'Use one of the existing z-index tokens instead.',
|
|
506
|
+
},
|
|
507
|
+
},
|
|
508
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
461
509
|
];
|
|
@@ -88,6 +88,22 @@ export declare const shared: ({
|
|
|
88
88
|
name: "--cui-letter-spacing-tight";
|
|
89
89
|
value: "0rem";
|
|
90
90
|
type: "dimension";
|
|
91
|
+
} | {
|
|
92
|
+
name: "--cui-icon-sizes-s";
|
|
93
|
+
value: "1rem";
|
|
94
|
+
type: "dimension";
|
|
95
|
+
} | {
|
|
96
|
+
name: "--cui-icon-sizes-m";
|
|
97
|
+
value: "1.5rem";
|
|
98
|
+
type: "dimension";
|
|
99
|
+
} | {
|
|
100
|
+
name: "--cui-icon-sizes-l";
|
|
101
|
+
value: "2rem";
|
|
102
|
+
type: "dimension";
|
|
103
|
+
} | {
|
|
104
|
+
name: "--cui-icon-sizes-xl";
|
|
105
|
+
value: "3rem";
|
|
106
|
+
type: "dimension";
|
|
91
107
|
} | {
|
|
92
108
|
name: "--cui-icon-sizes-kilo";
|
|
93
109
|
value: "16px";
|
|
@@ -117,6 +117,27 @@ exports.shared = [
|
|
|
117
117
|
type: 'dimension',
|
|
118
118
|
},
|
|
119
119
|
/* Icon sizes */
|
|
120
|
+
{
|
|
121
|
+
name: '--cui-icon-sizes-s',
|
|
122
|
+
value: '1rem',
|
|
123
|
+
type: 'dimension',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: '--cui-icon-sizes-m',
|
|
127
|
+
value: '1.5rem',
|
|
128
|
+
type: 'dimension',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: '--cui-icon-sizes-l',
|
|
132
|
+
value: '2rem',
|
|
133
|
+
type: 'dimension',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: '--cui-icon-sizes-xl',
|
|
137
|
+
value: '3rem',
|
|
138
|
+
type: 'dimension',
|
|
139
|
+
},
|
|
140
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
120
141
|
{
|
|
121
142
|
name: '--cui-icon-sizes-kilo',
|
|
122
143
|
value: '16px',
|
|
@@ -137,6 +158,7 @@ exports.shared = [
|
|
|
137
158
|
value: '48px',
|
|
138
159
|
type: 'dimension',
|
|
139
160
|
},
|
|
161
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
140
162
|
/* Spacings */
|
|
141
163
|
{
|
|
142
164
|
name: '--cui-spacings-bit',
|
|
@@ -543,11 +565,13 @@ exports.shared = [
|
|
|
543
565
|
value: 800,
|
|
544
566
|
type: 'number',
|
|
545
567
|
},
|
|
568
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
546
569
|
{
|
|
547
570
|
name: '--cui-z-index-toast',
|
|
548
571
|
value: 1100,
|
|
549
572
|
type: 'number',
|
|
550
573
|
},
|
|
574
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
551
575
|
];
|
|
552
576
|
exports.sharedUntilGiga = [
|
|
553
577
|
/* Typography */
|
|
@@ -113,6 +113,7 @@ export const consumer = [
|
|
|
113
113
|
value: 'rgba(58, 16, 55, 0.6000)',
|
|
114
114
|
type: 'color',
|
|
115
115
|
},
|
|
116
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
116
117
|
{
|
|
117
118
|
name: '--cui-bg-accent-strong',
|
|
118
119
|
value: '#fbfbf9',
|
|
@@ -133,6 +134,7 @@ export const consumer = [
|
|
|
133
134
|
value: 'rgba(251, 251, 249, 0.1500)',
|
|
134
135
|
type: 'color',
|
|
135
136
|
},
|
|
137
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
136
138
|
{
|
|
137
139
|
name: '--cui-bg-neutral',
|
|
138
140
|
value: 'rgba(104, 79, 98, 0.3500)',
|
package/dist/es/themes/dark.js
CHANGED
|
@@ -113,6 +113,7 @@ export const dark = [
|
|
|
113
113
|
value: 'rgba(26, 24, 22, 0.6000)',
|
|
114
114
|
type: 'color',
|
|
115
115
|
},
|
|
116
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
116
117
|
{
|
|
117
118
|
name: '--cui-bg-accent-strong',
|
|
118
119
|
value: '#f5f4ed',
|
|
@@ -133,6 +134,7 @@ export const dark = [
|
|
|
133
134
|
value: 'rgba(245, 244, 237, 0.1000)',
|
|
134
135
|
type: 'color',
|
|
135
136
|
},
|
|
137
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
136
138
|
{
|
|
137
139
|
name: '--cui-bg-neutral',
|
|
138
140
|
value: '#2b2927',
|
package/dist/es/themes/light.js
CHANGED
|
@@ -113,6 +113,7 @@ export const light = [
|
|
|
113
113
|
value: 'rgba(227, 226, 214, 0.6000)',
|
|
114
114
|
type: 'color',
|
|
115
115
|
},
|
|
116
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
116
117
|
{
|
|
117
118
|
name: '--cui-bg-accent-strong',
|
|
118
119
|
value: '#1e1c1c',
|
|
@@ -133,6 +134,7 @@ export const light = [
|
|
|
133
134
|
value: 'rgba(30, 28, 28, 0.1000)',
|
|
134
135
|
type: 'color',
|
|
135
136
|
},
|
|
137
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
136
138
|
{
|
|
137
139
|
name: '--cui-bg-neutral',
|
|
138
140
|
value: '#f0eee7',
|
|
@@ -95,19 +95,31 @@ export declare const schema: ({
|
|
|
95
95
|
} | {
|
|
96
96
|
name: "--cui-bg-accent-strong";
|
|
97
97
|
type: "color";
|
|
98
|
-
deprecation
|
|
98
|
+
deprecation: {
|
|
99
|
+
replacement: "--cui-bg-strong";
|
|
100
|
+
additionalInfo?: undefined;
|
|
101
|
+
};
|
|
99
102
|
} | {
|
|
100
103
|
name: "--cui-bg-accent-strong-hovered";
|
|
101
104
|
type: "color";
|
|
102
|
-
deprecation
|
|
105
|
+
deprecation: {
|
|
106
|
+
replacement: "--cui-bg-strong-hovered";
|
|
107
|
+
additionalInfo?: undefined;
|
|
108
|
+
};
|
|
103
109
|
} | {
|
|
104
110
|
name: "--cui-bg-accent-strong-pressed";
|
|
105
111
|
type: "color";
|
|
106
|
-
deprecation
|
|
112
|
+
deprecation: {
|
|
113
|
+
replacement: "--cui-bg-strong-pressed";
|
|
114
|
+
additionalInfo?: undefined;
|
|
115
|
+
};
|
|
107
116
|
} | {
|
|
108
117
|
name: "--cui-bg-accent-strong-disabled";
|
|
109
118
|
type: "color";
|
|
110
|
-
deprecation
|
|
119
|
+
deprecation: {
|
|
120
|
+
replacement: "--cui-bg-strong-disabled";
|
|
121
|
+
additionalInfo?: undefined;
|
|
122
|
+
};
|
|
111
123
|
} | {
|
|
112
124
|
name: "--cui-bg-neutral";
|
|
113
125
|
type: "color";
|
|
@@ -717,21 +729,49 @@ export declare const schema: ({
|
|
|
717
729
|
type: "fontWeight";
|
|
718
730
|
deprecation?: undefined;
|
|
719
731
|
} | {
|
|
720
|
-
name: "--cui-icon-sizes-
|
|
732
|
+
name: "--cui-icon-sizes-s";
|
|
721
733
|
type: "dimension";
|
|
722
734
|
deprecation?: undefined;
|
|
723
735
|
} | {
|
|
724
|
-
name: "--cui-icon-sizes-
|
|
736
|
+
name: "--cui-icon-sizes-m";
|
|
725
737
|
type: "dimension";
|
|
726
738
|
deprecation?: undefined;
|
|
727
739
|
} | {
|
|
728
|
-
name: "--cui-icon-sizes-
|
|
740
|
+
name: "--cui-icon-sizes-l";
|
|
729
741
|
type: "dimension";
|
|
730
742
|
deprecation?: undefined;
|
|
731
743
|
} | {
|
|
732
|
-
name: "--cui-icon-sizes-
|
|
744
|
+
name: "--cui-icon-sizes-xl";
|
|
733
745
|
type: "dimension";
|
|
734
746
|
deprecation?: undefined;
|
|
747
|
+
} | {
|
|
748
|
+
name: "--cui-icon-sizes-kilo";
|
|
749
|
+
type: "dimension";
|
|
750
|
+
deprecation: {
|
|
751
|
+
replacement: "--cui-icon-sizes-s";
|
|
752
|
+
additionalInfo?: undefined;
|
|
753
|
+
};
|
|
754
|
+
} | {
|
|
755
|
+
name: "--cui-icon-sizes-mega";
|
|
756
|
+
type: "dimension";
|
|
757
|
+
deprecation: {
|
|
758
|
+
replacement: "--cui-icon-sizes-m";
|
|
759
|
+
additionalInfo?: undefined;
|
|
760
|
+
};
|
|
761
|
+
} | {
|
|
762
|
+
name: "--cui-icon-sizes-giga";
|
|
763
|
+
type: "dimension";
|
|
764
|
+
deprecation: {
|
|
765
|
+
replacement: "--cui-icon-sizes-l";
|
|
766
|
+
additionalInfo?: undefined;
|
|
767
|
+
};
|
|
768
|
+
} | {
|
|
769
|
+
name: "--cui-icon-sizes-tera";
|
|
770
|
+
type: "dimension";
|
|
771
|
+
deprecation: {
|
|
772
|
+
replacement: "--cui-icon-sizes-xl";
|
|
773
|
+
additionalInfo?: undefined;
|
|
774
|
+
};
|
|
735
775
|
} | {
|
|
736
776
|
name: "--cui-spacings-bit";
|
|
737
777
|
type: "dimension";
|
|
@@ -937,144 +977,168 @@ export declare const schema: ({
|
|
|
937
977
|
type: "dimension";
|
|
938
978
|
deprecation: {
|
|
939
979
|
replacement: "--cui-headline-l-font-size";
|
|
980
|
+
additionalInfo?: undefined;
|
|
940
981
|
};
|
|
941
982
|
} | {
|
|
942
983
|
name: "--cui-typography-headline-one-line-height";
|
|
943
984
|
type: "dimension";
|
|
944
985
|
deprecation: {
|
|
945
986
|
replacement: "--cui-headline-l-line-height";
|
|
987
|
+
additionalInfo?: undefined;
|
|
946
988
|
};
|
|
947
989
|
} | {
|
|
948
990
|
name: "--cui-typography-headline-two-font-size";
|
|
949
991
|
type: "dimension";
|
|
950
992
|
deprecation: {
|
|
951
993
|
replacement: "--cui-headline-m-font-size";
|
|
994
|
+
additionalInfo?: undefined;
|
|
952
995
|
};
|
|
953
996
|
} | {
|
|
954
997
|
name: "--cui-typography-headline-two-line-height";
|
|
955
998
|
type: "dimension";
|
|
956
999
|
deprecation: {
|
|
957
1000
|
replacement: "--cui-headline-m-line-height";
|
|
1001
|
+
additionalInfo?: undefined;
|
|
958
1002
|
};
|
|
959
1003
|
} | {
|
|
960
1004
|
name: "--cui-typography-headline-three-font-size";
|
|
961
1005
|
type: "dimension";
|
|
962
1006
|
deprecation: {
|
|
963
1007
|
replacement: "--cui-headline-m-font-size";
|
|
1008
|
+
additionalInfo?: undefined;
|
|
964
1009
|
};
|
|
965
1010
|
} | {
|
|
966
1011
|
name: "--cui-typography-headline-three-line-height";
|
|
967
1012
|
type: "dimension";
|
|
968
1013
|
deprecation: {
|
|
969
1014
|
replacement: "--cui-headline-m-line-height";
|
|
1015
|
+
additionalInfo?: undefined;
|
|
970
1016
|
};
|
|
971
1017
|
} | {
|
|
972
1018
|
name: "--cui-typography-headline-four-font-size";
|
|
973
1019
|
type: "dimension";
|
|
974
1020
|
deprecation: {
|
|
975
1021
|
replacement: "--cui-headline-s-font-size";
|
|
1022
|
+
additionalInfo?: undefined;
|
|
976
1023
|
};
|
|
977
1024
|
} | {
|
|
978
1025
|
name: "--cui-typography-headline-four-line-height";
|
|
979
1026
|
type: "dimension";
|
|
980
1027
|
deprecation: {
|
|
981
1028
|
replacement: "--cui-headline-s-line-height";
|
|
1029
|
+
additionalInfo?: undefined;
|
|
982
1030
|
};
|
|
983
1031
|
} | {
|
|
984
1032
|
name: "--cui-typography-title-one-font-size";
|
|
985
1033
|
type: "dimension";
|
|
986
1034
|
deprecation: {
|
|
987
1035
|
replacement: "--cui-display-l-font-size";
|
|
1036
|
+
additionalInfo?: undefined;
|
|
988
1037
|
};
|
|
989
1038
|
} | {
|
|
990
1039
|
name: "--cui-typography-title-one-line-height";
|
|
991
1040
|
type: "dimension";
|
|
992
1041
|
deprecation: {
|
|
993
1042
|
replacement: "--cui-display-l-line-height";
|
|
1043
|
+
additionalInfo?: undefined;
|
|
994
1044
|
};
|
|
995
1045
|
} | {
|
|
996
1046
|
name: "--cui-typography-title-two-font-size";
|
|
997
1047
|
type: "dimension";
|
|
998
1048
|
deprecation: {
|
|
999
1049
|
replacement: "--cui-display-m-font-size";
|
|
1050
|
+
additionalInfo?: undefined;
|
|
1000
1051
|
};
|
|
1001
1052
|
} | {
|
|
1002
1053
|
name: "--cui-typography-title-two-line-height";
|
|
1003
1054
|
type: "dimension";
|
|
1004
1055
|
deprecation: {
|
|
1005
1056
|
replacement: "--cui-display-m-line-height";
|
|
1057
|
+
additionalInfo?: undefined;
|
|
1006
1058
|
};
|
|
1007
1059
|
} | {
|
|
1008
1060
|
name: "--cui-typography-title-three-font-size";
|
|
1009
1061
|
type: "dimension";
|
|
1010
1062
|
deprecation: {
|
|
1011
1063
|
replacement: "--cui-display-m-font-size";
|
|
1064
|
+
additionalInfo?: undefined;
|
|
1012
1065
|
};
|
|
1013
1066
|
} | {
|
|
1014
1067
|
name: "--cui-typography-title-three-line-height";
|
|
1015
1068
|
type: "dimension";
|
|
1016
1069
|
deprecation: {
|
|
1017
1070
|
replacement: "--cui-display-m-line-height";
|
|
1071
|
+
additionalInfo?: undefined;
|
|
1018
1072
|
};
|
|
1019
1073
|
} | {
|
|
1020
1074
|
name: "--cui-typography-title-four-font-size";
|
|
1021
1075
|
type: "dimension";
|
|
1022
1076
|
deprecation: {
|
|
1023
1077
|
replacement: "--cui-display-s-font-size";
|
|
1078
|
+
additionalInfo?: undefined;
|
|
1024
1079
|
};
|
|
1025
1080
|
} | {
|
|
1026
1081
|
name: "--cui-typography-title-four-line-height";
|
|
1027
1082
|
type: "dimension";
|
|
1028
1083
|
deprecation: {
|
|
1029
1084
|
replacement: "--cui-display-s-line-height";
|
|
1085
|
+
additionalInfo?: undefined;
|
|
1030
1086
|
};
|
|
1031
1087
|
} | {
|
|
1032
1088
|
name: "--cui-typography-sub-headline-font-size";
|
|
1033
1089
|
type: "dimension";
|
|
1034
1090
|
deprecation: {
|
|
1035
1091
|
replacement: "--cui-headline-s-font-size";
|
|
1092
|
+
additionalInfo?: undefined;
|
|
1036
1093
|
};
|
|
1037
1094
|
} | {
|
|
1038
1095
|
name: "--cui-typography-sub-headline-line-height";
|
|
1039
1096
|
type: "dimension";
|
|
1040
1097
|
deprecation: {
|
|
1041
1098
|
replacement: "--cui-headline-s-line-height";
|
|
1099
|
+
additionalInfo?: undefined;
|
|
1042
1100
|
};
|
|
1043
1101
|
} | {
|
|
1044
1102
|
name: "--cui-typography-body-one-font-size";
|
|
1045
1103
|
type: "dimension";
|
|
1046
1104
|
deprecation: {
|
|
1047
1105
|
replacement: "--cui-body-m-font-size";
|
|
1106
|
+
additionalInfo?: undefined;
|
|
1048
1107
|
};
|
|
1049
1108
|
} | {
|
|
1050
1109
|
name: "--cui-typography-body-one-line-height";
|
|
1051
1110
|
type: "dimension";
|
|
1052
1111
|
deprecation: {
|
|
1053
1112
|
replacement: "--cui-body-m-line-height";
|
|
1113
|
+
additionalInfo?: undefined;
|
|
1054
1114
|
};
|
|
1055
1115
|
} | {
|
|
1056
1116
|
name: "--cui-typography-body-two-font-size";
|
|
1057
1117
|
type: "dimension";
|
|
1058
1118
|
deprecation: {
|
|
1059
1119
|
replacement: "--cui-body-s-font-size";
|
|
1120
|
+
additionalInfo?: undefined;
|
|
1060
1121
|
};
|
|
1061
1122
|
} | {
|
|
1062
1123
|
name: "--cui-typography-body-two-line-height";
|
|
1063
1124
|
type: "dimension";
|
|
1064
1125
|
deprecation: {
|
|
1065
1126
|
replacement: "--cui-body-s-line-height";
|
|
1127
|
+
additionalInfo?: undefined;
|
|
1066
1128
|
};
|
|
1067
1129
|
} | {
|
|
1068
1130
|
name: "--cui-typography-body-large-font-size";
|
|
1069
1131
|
type: "dimension";
|
|
1070
1132
|
deprecation: {
|
|
1071
1133
|
replacement: "--cui-body-l-font-size";
|
|
1134
|
+
additionalInfo?: undefined;
|
|
1072
1135
|
};
|
|
1073
1136
|
} | {
|
|
1074
1137
|
name: "--cui-typography-body-large-line-height";
|
|
1075
1138
|
type: "dimension";
|
|
1076
1139
|
deprecation: {
|
|
1077
1140
|
replacement: "--cui-body-l-line-height";
|
|
1141
|
+
additionalInfo?: undefined;
|
|
1078
1142
|
};
|
|
1079
1143
|
} | {
|
|
1080
1144
|
name: "--cui-z-index-default";
|
|
@@ -1111,5 +1175,8 @@ export declare const schema: ({
|
|
|
1111
1175
|
} | {
|
|
1112
1176
|
name: "--cui-z-index-toast";
|
|
1113
1177
|
type: "number";
|
|
1114
|
-
deprecation
|
|
1178
|
+
deprecation: {
|
|
1179
|
+
additionalInfo: string;
|
|
1180
|
+
replacement?: undefined;
|
|
1181
|
+
};
|
|
1115
1182
|
})[];
|
package/dist/es/themes/schema.js
CHANGED
|
@@ -35,10 +35,28 @@ export const schema = [
|
|
|
35
35
|
{ name: '--cui-bg-accent-hovered', type: 'color' },
|
|
36
36
|
{ name: '--cui-bg-accent-pressed', type: 'color' },
|
|
37
37
|
{ name: '--cui-bg-accent-disabled', type: 'color' },
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
39
|
+
{
|
|
40
|
+
name: '--cui-bg-accent-strong',
|
|
41
|
+
type: 'color',
|
|
42
|
+
deprecation: { replacement: '--cui-bg-strong' },
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: '--cui-bg-accent-strong-hovered',
|
|
46
|
+
type: 'color',
|
|
47
|
+
deprecation: { replacement: '--cui-bg-strong-hovered' },
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: '--cui-bg-accent-strong-pressed',
|
|
51
|
+
type: 'color',
|
|
52
|
+
deprecation: { replacement: '--cui-bg-strong-pressed' },
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: '--cui-bg-accent-strong-disabled',
|
|
56
|
+
type: 'color',
|
|
57
|
+
deprecation: { replacement: '--cui-bg-strong-disabled' },
|
|
58
|
+
},
|
|
59
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
42
60
|
/* Neutral backgrounds */
|
|
43
61
|
{ name: '--cui-bg-neutral', type: 'color' },
|
|
44
62
|
{ name: '--cui-bg-neutral-hovered', type: 'color' },
|
|
@@ -218,10 +236,32 @@ export const schema = [
|
|
|
218
236
|
{ name: '--cui-font-weight-semibold', type: 'fontWeight' },
|
|
219
237
|
{ name: '--cui-font-weight-bold', type: 'fontWeight' },
|
|
220
238
|
/* Icon sizes */
|
|
221
|
-
{ name: '--cui-icon-sizes-
|
|
222
|
-
{ name: '--cui-icon-sizes-
|
|
223
|
-
{ name: '--cui-icon-sizes-
|
|
224
|
-
{ name: '--cui-icon-sizes-
|
|
239
|
+
{ name: '--cui-icon-sizes-s', type: 'dimension' },
|
|
240
|
+
{ name: '--cui-icon-sizes-m', type: 'dimension' },
|
|
241
|
+
{ name: '--cui-icon-sizes-l', type: 'dimension' },
|
|
242
|
+
{ name: '--cui-icon-sizes-xl', type: 'dimension' },
|
|
243
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
244
|
+
{
|
|
245
|
+
name: '--cui-icon-sizes-kilo',
|
|
246
|
+
type: 'dimension',
|
|
247
|
+
deprecation: { replacement: '--cui-icon-sizes-s' },
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: '--cui-icon-sizes-mega',
|
|
251
|
+
type: 'dimension',
|
|
252
|
+
deprecation: { replacement: '--cui-icon-sizes-m' },
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: '--cui-icon-sizes-giga',
|
|
256
|
+
type: 'dimension',
|
|
257
|
+
deprecation: { replacement: '--cui-icon-sizes-l' },
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: '--cui-icon-sizes-tera',
|
|
261
|
+
type: 'dimension',
|
|
262
|
+
deprecation: { replacement: '--cui-icon-sizes-xl' },
|
|
263
|
+
},
|
|
264
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
225
265
|
/* Spacings */
|
|
226
266
|
{ name: '--cui-spacings-bit', type: 'dimension' },
|
|
227
267
|
{ name: '--cui-spacings-byte', type: 'dimension' },
|
|
@@ -454,5 +494,13 @@ export const schema = [
|
|
|
454
494
|
{ name: '--cui-z-index-tooltip', type: 'number' },
|
|
455
495
|
{ name: '--cui-z-index-header', type: 'number' },
|
|
456
496
|
{ name: '--cui-z-index-navigation', type: 'number' },
|
|
457
|
-
|
|
497
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
498
|
+
{
|
|
499
|
+
name: '--cui-z-index-toast',
|
|
500
|
+
type: 'number',
|
|
501
|
+
deprecation: {
|
|
502
|
+
additionalInfo: 'Use one of the existing z-index tokens instead.',
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
458
506
|
];
|
|
@@ -88,6 +88,22 @@ export declare const shared: ({
|
|
|
88
88
|
name: "--cui-letter-spacing-tight";
|
|
89
89
|
value: "0rem";
|
|
90
90
|
type: "dimension";
|
|
91
|
+
} | {
|
|
92
|
+
name: "--cui-icon-sizes-s";
|
|
93
|
+
value: "1rem";
|
|
94
|
+
type: "dimension";
|
|
95
|
+
} | {
|
|
96
|
+
name: "--cui-icon-sizes-m";
|
|
97
|
+
value: "1.5rem";
|
|
98
|
+
type: "dimension";
|
|
99
|
+
} | {
|
|
100
|
+
name: "--cui-icon-sizes-l";
|
|
101
|
+
value: "2rem";
|
|
102
|
+
type: "dimension";
|
|
103
|
+
} | {
|
|
104
|
+
name: "--cui-icon-sizes-xl";
|
|
105
|
+
value: "3rem";
|
|
106
|
+
type: "dimension";
|
|
91
107
|
} | {
|
|
92
108
|
name: "--cui-icon-sizes-kilo";
|
|
93
109
|
value: "16px";
|
package/dist/es/themes/shared.js
CHANGED
|
@@ -114,6 +114,27 @@ export const shared = [
|
|
|
114
114
|
type: 'dimension',
|
|
115
115
|
},
|
|
116
116
|
/* Icon sizes */
|
|
117
|
+
{
|
|
118
|
+
name: '--cui-icon-sizes-s',
|
|
119
|
+
value: '1rem',
|
|
120
|
+
type: 'dimension',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: '--cui-icon-sizes-m',
|
|
124
|
+
value: '1.5rem',
|
|
125
|
+
type: 'dimension',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: '--cui-icon-sizes-l',
|
|
129
|
+
value: '2rem',
|
|
130
|
+
type: 'dimension',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: '--cui-icon-sizes-xl',
|
|
134
|
+
value: '3rem',
|
|
135
|
+
type: 'dimension',
|
|
136
|
+
},
|
|
137
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
117
138
|
{
|
|
118
139
|
name: '--cui-icon-sizes-kilo',
|
|
119
140
|
value: '16px',
|
|
@@ -134,6 +155,7 @@ export const shared = [
|
|
|
134
155
|
value: '48px',
|
|
135
156
|
type: 'dimension',
|
|
136
157
|
},
|
|
158
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
137
159
|
/* Spacings */
|
|
138
160
|
{
|
|
139
161
|
name: '--cui-spacings-bit',
|
|
@@ -540,11 +562,13 @@ export const shared = [
|
|
|
540
562
|
value: 800,
|
|
541
563
|
type: 'number',
|
|
542
564
|
},
|
|
565
|
+
/* eslint-disable circuit-ui/no-deprecated-custom-properties */
|
|
543
566
|
{
|
|
544
567
|
name: '--cui-z-index-toast',
|
|
545
568
|
value: 1100,
|
|
546
569
|
type: 'number',
|
|
547
570
|
},
|
|
571
|
+
/* eslint-enable circuit-ui/no-deprecated-custom-properties */
|
|
548
572
|
];
|
|
549
573
|
export const sharedUntilGiga = [
|
|
550
574
|
/* Typography */
|
package/dynamic.css
CHANGED
|
@@ -180,6 +180,10 @@
|
|
|
180
180
|
--cui-font-weight-bold: 650;
|
|
181
181
|
--cui-letter-spacing: 0rem;
|
|
182
182
|
--cui-letter-spacing-tight: 0rem;
|
|
183
|
+
--cui-icon-sizes-s: 1rem;
|
|
184
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
185
|
+
--cui-icon-sizes-l: 2rem;
|
|
186
|
+
--cui-icon-sizes-xl: 3rem;
|
|
183
187
|
--cui-icon-sizes-kilo: 16px;
|
|
184
188
|
--cui-icon-sizes-mega: 24px;
|
|
185
189
|
--cui-icon-sizes-giga: 32px;
|
|
@@ -449,6 +453,10 @@
|
|
|
449
453
|
--cui-font-weight-bold: 650;
|
|
450
454
|
--cui-letter-spacing: 0rem;
|
|
451
455
|
--cui-letter-spacing-tight: 0rem;
|
|
456
|
+
--cui-icon-sizes-s: 1rem;
|
|
457
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
458
|
+
--cui-icon-sizes-l: 2rem;
|
|
459
|
+
--cui-icon-sizes-xl: 3rem;
|
|
452
460
|
--cui-icon-sizes-kilo: 16px;
|
|
453
461
|
--cui-icon-sizes-mega: 24px;
|
|
454
462
|
--cui-icon-sizes-giga: 32px;
|
package/light.css
CHANGED
|
@@ -180,6 +180,10 @@
|
|
|
180
180
|
--cui-font-weight-bold: 650;
|
|
181
181
|
--cui-letter-spacing: 0rem;
|
|
182
182
|
--cui-letter-spacing-tight: 0rem;
|
|
183
|
+
--cui-icon-sizes-s: 1rem;
|
|
184
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
185
|
+
--cui-icon-sizes-l: 2rem;
|
|
186
|
+
--cui-icon-sizes-xl: 3rem;
|
|
183
187
|
--cui-icon-sizes-kilo: 16px;
|
|
184
188
|
--cui-icon-sizes-mega: 24px;
|
|
185
189
|
--cui-icon-sizes-giga: 32px;
|
|
@@ -449,6 +453,10 @@
|
|
|
449
453
|
--cui-font-weight-bold: 650;
|
|
450
454
|
--cui-letter-spacing: 0rem;
|
|
451
455
|
--cui-letter-spacing-tight: 0rem;
|
|
456
|
+
--cui-icon-sizes-s: 1rem;
|
|
457
|
+
--cui-icon-sizes-m: 1.5rem;
|
|
458
|
+
--cui-icon-sizes-l: 2rem;
|
|
459
|
+
--cui-icon-sizes-xl: 3rem;
|
|
452
460
|
--cui-icon-sizes-kilo: 16px;
|
|
453
461
|
--cui-icon-sizes-mega: 24px;
|
|
454
462
|
--cui-icon-sizes-giga: 32px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sumup-oss/design-tokens",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"description": "Visual primitives such as typography, color, and spacing that are shared across platforms.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "^25.9.1",
|
|
38
38
|
"browserslist": "^4.28.2",
|
|
39
|
-
"lightningcss": "^1.
|
|
39
|
+
"lightningcss": "^1.32.0",
|
|
40
40
|
"tsx": "^4.22.3",
|
|
41
41
|
"typescript": "^6.0.3",
|
|
42
42
|
"vitest": "^4.1.5"
|