@yahoo/uds 3.127.1 → 3.128.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/automated-config/dist/generated/autoVariants.cjs +30 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +2 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +2 -0
- package/dist/automated-config/dist/generated/autoVariants.js +30 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1050 -275
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +73 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +73 -0
- package/dist/automated-config/dist/generated/generatedConfigs.js +1050 -275
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +126 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +126 -1
- package/dist/automated-config/dist/properties.cjs +28 -0
- package/dist/automated-config/dist/properties.d.cts +2 -0
- package/dist/automated-config/dist/properties.d.ts +2 -0
- package/dist/automated-config/dist/properties.js +28 -0
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +2 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/components/Banner/Banner.cjs +3 -1
- package/dist/components/Banner/Banner.js +3 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/config/dist/index.cjs +127 -2
- package/dist/config/dist/index.js +127 -2
- package/dist/css-tokens/dist/index.cjs +2 -2
- package/dist/css-tokens/dist/index.d.cts +3 -1
- package/dist/css-tokens/dist/index.d.ts +3 -1
- package/dist/css-tokens/dist/index.js +2 -2
- package/dist/fixtures/dist/index.cjs +2 -0
- package/dist/fixtures/dist/index.d.cts +4 -3
- package/dist/fixtures/dist/index.d.ts +4 -3
- package/dist/fixtures/dist/index.js +2 -1
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/styles/styler.d.cts +43 -41
- package/dist/styles/styler.d.ts +43 -41
- package/dist/styles/variants.d.cts +30 -0
- package/dist/styles/variants.d.ts +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +30 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +1050 -275
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +1050 -275
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/properties.cjs +28 -0
- package/dist/tailwind/dist/automated-config/dist/properties.js +28 -0
- package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +127 -2
- package/dist/tailwind/dist/config/dist/index.js +127 -2
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/tailwind/dist/css-tokens/dist/index.cjs +2 -2
- package/dist/tailwind/dist/css-tokens/dist/index.js +2 -2
- package/dist/tailwind/dist/css-tokens/dist/index.js.map +1 -1
- package/dist/tailwind/dist/fixtures/dist/index.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +2 -1
- package/dist/types/dist/index.d.ts +2 -1
- package/dist/uds/generated/componentData.cjs +364 -360
- package/dist/uds/generated/componentData.js +364 -360
- package/dist/uds/generated/tailwindPurge.cjs +6 -4
- package/dist/uds/generated/tailwindPurge.js +6 -4
- package/generated/componentData.json +550 -549
- package/generated/tailwindPurge.ts +2 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
//#region ../config/dist/index.js
|
|
4
4
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
5
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
5
|
+
const LATEST_MIGRATION_VERSION = "v0.91.0";
|
|
6
6
|
/**
|
|
7
7
|
* NOTE: If you're building a feature with a migration,
|
|
8
8
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -989,6 +989,11 @@ const defaultTokensConfig = {
|
|
|
989
989
|
valueType: "alias"
|
|
990
990
|
} } },
|
|
991
991
|
"size/default/root": {
|
|
992
|
+
bannerInnerShadow: { rest: {
|
|
993
|
+
type: "bannerInnerShadowOptions",
|
|
994
|
+
value: "subtle",
|
|
995
|
+
valueType: "alias"
|
|
996
|
+
} },
|
|
992
997
|
borderRadius: { rest: {
|
|
993
998
|
type: "borderRadii",
|
|
994
999
|
value: "lg",
|
|
@@ -1015,6 +1020,11 @@ const defaultTokensConfig = {
|
|
|
1015
1020
|
value: "ui3/emphasized",
|
|
1016
1021
|
valueType: "alias"
|
|
1017
1022
|
} } },
|
|
1023
|
+
"variant/alert-secondary/description": { color: { rest: {
|
|
1024
|
+
type: "foregroundPaletteColors",
|
|
1025
|
+
value: "secondary",
|
|
1026
|
+
valueType: "alias"
|
|
1027
|
+
} } },
|
|
1018
1028
|
"variant/alert-secondary/icon": { color: { rest: {
|
|
1019
1029
|
type: "foregroundPaletteColors",
|
|
1020
1030
|
value: "alert-secondary",
|
|
@@ -1037,6 +1047,16 @@ const defaultTokensConfig = {
|
|
|
1037
1047
|
valueType: "alias"
|
|
1038
1048
|
} }
|
|
1039
1049
|
},
|
|
1050
|
+
"variant/alert-secondary/title": { color: { rest: {
|
|
1051
|
+
type: "foregroundPaletteColors",
|
|
1052
|
+
value: "secondary",
|
|
1053
|
+
valueType: "alias"
|
|
1054
|
+
} } },
|
|
1055
|
+
"variant/alert/description": { color: { rest: {
|
|
1056
|
+
type: "foregroundPaletteColors",
|
|
1057
|
+
value: "secondary",
|
|
1058
|
+
valueType: "alias"
|
|
1059
|
+
} } },
|
|
1040
1060
|
"variant/alert/icon": { color: { rest: {
|
|
1041
1061
|
type: "foregroundPaletteColors",
|
|
1042
1062
|
value: "alert",
|
|
@@ -1059,6 +1079,16 @@ const defaultTokensConfig = {
|
|
|
1059
1079
|
valueType: "alias"
|
|
1060
1080
|
} }
|
|
1061
1081
|
},
|
|
1082
|
+
"variant/alert/title": { color: { rest: {
|
|
1083
|
+
type: "foregroundPaletteColors",
|
|
1084
|
+
value: "secondary",
|
|
1085
|
+
valueType: "alias"
|
|
1086
|
+
} } },
|
|
1087
|
+
"variant/brand-secondary/description": { color: { rest: {
|
|
1088
|
+
type: "foregroundPaletteColors",
|
|
1089
|
+
value: "secondary",
|
|
1090
|
+
valueType: "alias"
|
|
1091
|
+
} } },
|
|
1062
1092
|
"variant/brand-secondary/icon": { color: { rest: {
|
|
1063
1093
|
type: "foregroundPaletteColors",
|
|
1064
1094
|
value: "secondary",
|
|
@@ -1081,6 +1111,16 @@ const defaultTokensConfig = {
|
|
|
1081
1111
|
valueType: "alias"
|
|
1082
1112
|
} }
|
|
1083
1113
|
},
|
|
1114
|
+
"variant/brand-secondary/title": { color: { rest: {
|
|
1115
|
+
type: "foregroundPaletteColors",
|
|
1116
|
+
value: "secondary",
|
|
1117
|
+
valueType: "alias"
|
|
1118
|
+
} } },
|
|
1119
|
+
"variant/brand/description": { color: { rest: {
|
|
1120
|
+
type: "foregroundPaletteColors",
|
|
1121
|
+
value: "secondary",
|
|
1122
|
+
valueType: "alias"
|
|
1123
|
+
} } },
|
|
1084
1124
|
"variant/brand/icon": { color: { rest: {
|
|
1085
1125
|
type: "foregroundPaletteColors",
|
|
1086
1126
|
value: "secondary",
|
|
@@ -1103,6 +1143,16 @@ const defaultTokensConfig = {
|
|
|
1103
1143
|
valueType: "alias"
|
|
1104
1144
|
} }
|
|
1105
1145
|
},
|
|
1146
|
+
"variant/brand/title": { color: { rest: {
|
|
1147
|
+
type: "foregroundPaletteColors",
|
|
1148
|
+
value: "secondary",
|
|
1149
|
+
valueType: "alias"
|
|
1150
|
+
} } },
|
|
1151
|
+
"variant/info-secondary/description": { color: { rest: {
|
|
1152
|
+
type: "foregroundPaletteColors",
|
|
1153
|
+
value: "secondary",
|
|
1154
|
+
valueType: "alias"
|
|
1155
|
+
} } },
|
|
1106
1156
|
"variant/info-secondary/icon": { color: { rest: {
|
|
1107
1157
|
type: "foregroundPaletteColors",
|
|
1108
1158
|
value: "info",
|
|
@@ -1125,6 +1175,16 @@ const defaultTokensConfig = {
|
|
|
1125
1175
|
valueType: "alias"
|
|
1126
1176
|
} }
|
|
1127
1177
|
},
|
|
1178
|
+
"variant/info-secondary/title": { color: { rest: {
|
|
1179
|
+
type: "foregroundPaletteColors",
|
|
1180
|
+
value: "secondary",
|
|
1181
|
+
valueType: "alias"
|
|
1182
|
+
} } },
|
|
1183
|
+
"variant/info/description": { color: { rest: {
|
|
1184
|
+
type: "foregroundPaletteColors",
|
|
1185
|
+
value: "secondary",
|
|
1186
|
+
valueType: "alias"
|
|
1187
|
+
} } },
|
|
1128
1188
|
"variant/info/icon": { color: { rest: {
|
|
1129
1189
|
type: "foregroundPaletteColors",
|
|
1130
1190
|
value: "info",
|
|
@@ -1147,6 +1207,16 @@ const defaultTokensConfig = {
|
|
|
1147
1207
|
valueType: "alias"
|
|
1148
1208
|
} }
|
|
1149
1209
|
},
|
|
1210
|
+
"variant/info/title": { color: { rest: {
|
|
1211
|
+
type: "foregroundPaletteColors",
|
|
1212
|
+
value: "secondary",
|
|
1213
|
+
valueType: "alias"
|
|
1214
|
+
} } },
|
|
1215
|
+
"variant/primary/description": { color: { rest: {
|
|
1216
|
+
type: "foregroundPaletteColors",
|
|
1217
|
+
value: "secondary",
|
|
1218
|
+
valueType: "alias"
|
|
1219
|
+
} } },
|
|
1150
1220
|
"variant/primary/icon": { color: { rest: {
|
|
1151
1221
|
type: "foregroundPaletteColors",
|
|
1152
1222
|
value: "secondary",
|
|
@@ -1169,6 +1239,16 @@ const defaultTokensConfig = {
|
|
|
1169
1239
|
valueType: "alias"
|
|
1170
1240
|
} }
|
|
1171
1241
|
},
|
|
1242
|
+
"variant/primary/title": { color: { rest: {
|
|
1243
|
+
type: "foregroundPaletteColors",
|
|
1244
|
+
value: "secondary",
|
|
1245
|
+
valueType: "alias"
|
|
1246
|
+
} } },
|
|
1247
|
+
"variant/secondary/description": { color: { rest: {
|
|
1248
|
+
type: "foregroundPaletteColors",
|
|
1249
|
+
value: "secondary",
|
|
1250
|
+
valueType: "alias"
|
|
1251
|
+
} } },
|
|
1172
1252
|
"variant/secondary/icon": { color: { rest: {
|
|
1173
1253
|
type: "foregroundPaletteColors",
|
|
1174
1254
|
value: "secondary",
|
|
@@ -1191,6 +1271,16 @@ const defaultTokensConfig = {
|
|
|
1191
1271
|
valueType: "alias"
|
|
1192
1272
|
} }
|
|
1193
1273
|
},
|
|
1274
|
+
"variant/secondary/title": { color: { rest: {
|
|
1275
|
+
type: "foregroundPaletteColors",
|
|
1276
|
+
value: "secondary",
|
|
1277
|
+
valueType: "alias"
|
|
1278
|
+
} } },
|
|
1279
|
+
"variant/success-secondary/description": { color: { rest: {
|
|
1280
|
+
type: "foregroundPaletteColors",
|
|
1281
|
+
value: "secondary",
|
|
1282
|
+
valueType: "alias"
|
|
1283
|
+
} } },
|
|
1194
1284
|
"variant/success-secondary/icon": { color: { rest: {
|
|
1195
1285
|
type: "foregroundPaletteColors",
|
|
1196
1286
|
value: "positive-secondary",
|
|
@@ -1213,6 +1303,16 @@ const defaultTokensConfig = {
|
|
|
1213
1303
|
valueType: "alias"
|
|
1214
1304
|
} }
|
|
1215
1305
|
},
|
|
1306
|
+
"variant/success-secondary/title": { color: { rest: {
|
|
1307
|
+
type: "foregroundPaletteColors",
|
|
1308
|
+
value: "secondary",
|
|
1309
|
+
valueType: "alias"
|
|
1310
|
+
} } },
|
|
1311
|
+
"variant/success/description": { color: { rest: {
|
|
1312
|
+
type: "foregroundPaletteColors",
|
|
1313
|
+
value: "secondary",
|
|
1314
|
+
valueType: "alias"
|
|
1315
|
+
} } },
|
|
1216
1316
|
"variant/success/icon": { color: { rest: {
|
|
1217
1317
|
type: "foregroundPaletteColors",
|
|
1218
1318
|
value: "positive",
|
|
@@ -1235,6 +1335,16 @@ const defaultTokensConfig = {
|
|
|
1235
1335
|
valueType: "alias"
|
|
1236
1336
|
} }
|
|
1237
1337
|
},
|
|
1338
|
+
"variant/success/title": { color: { rest: {
|
|
1339
|
+
type: "foregroundPaletteColors",
|
|
1340
|
+
value: "secondary",
|
|
1341
|
+
valueType: "alias"
|
|
1342
|
+
} } },
|
|
1343
|
+
"variant/warning-secondary/description": { color: { rest: {
|
|
1344
|
+
type: "foregroundPaletteColors",
|
|
1345
|
+
value: "secondary",
|
|
1346
|
+
valueType: "alias"
|
|
1347
|
+
} } },
|
|
1238
1348
|
"variant/warning-secondary/icon": { color: { rest: {
|
|
1239
1349
|
type: "foregroundPaletteColors",
|
|
1240
1350
|
value: "warning-secondary",
|
|
@@ -1257,6 +1367,16 @@ const defaultTokensConfig = {
|
|
|
1257
1367
|
valueType: "alias"
|
|
1258
1368
|
} }
|
|
1259
1369
|
},
|
|
1370
|
+
"variant/warning-secondary/title": { color: { rest: {
|
|
1371
|
+
type: "foregroundPaletteColors",
|
|
1372
|
+
value: "secondary",
|
|
1373
|
+
valueType: "alias"
|
|
1374
|
+
} } },
|
|
1375
|
+
"variant/warning/description": { color: { rest: {
|
|
1376
|
+
type: "foregroundPaletteColors",
|
|
1377
|
+
value: "secondary",
|
|
1378
|
+
valueType: "alias"
|
|
1379
|
+
} } },
|
|
1260
1380
|
"variant/warning/icon": { color: { rest: {
|
|
1261
1381
|
type: "foregroundPaletteColors",
|
|
1262
1382
|
value: "warning",
|
|
@@ -1278,7 +1398,12 @@ const defaultTokensConfig = {
|
|
|
1278
1398
|
value: "thin",
|
|
1279
1399
|
valueType: "alias"
|
|
1280
1400
|
} }
|
|
1281
|
-
}
|
|
1401
|
+
},
|
|
1402
|
+
"variant/warning/title": { color: { rest: {
|
|
1403
|
+
type: "foregroundPaletteColors",
|
|
1404
|
+
value: "secondary",
|
|
1405
|
+
valueType: "alias"
|
|
1406
|
+
} } }
|
|
1282
1407
|
}
|
|
1283
1408
|
},
|
|
1284
1409
|
bottomSheet: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
//#region ../config/dist/index.js
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
4
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
4
|
+
const LATEST_MIGRATION_VERSION = "v0.91.0";
|
|
5
5
|
/**
|
|
6
6
|
* NOTE: If you're building a feature with a migration,
|
|
7
7
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -988,6 +988,11 @@ const defaultTokensConfig = {
|
|
|
988
988
|
valueType: "alias"
|
|
989
989
|
} } },
|
|
990
990
|
"size/default/root": {
|
|
991
|
+
bannerInnerShadow: { rest: {
|
|
992
|
+
type: "bannerInnerShadowOptions",
|
|
993
|
+
value: "subtle",
|
|
994
|
+
valueType: "alias"
|
|
995
|
+
} },
|
|
991
996
|
borderRadius: { rest: {
|
|
992
997
|
type: "borderRadii",
|
|
993
998
|
value: "lg",
|
|
@@ -1014,6 +1019,11 @@ const defaultTokensConfig = {
|
|
|
1014
1019
|
value: "ui3/emphasized",
|
|
1015
1020
|
valueType: "alias"
|
|
1016
1021
|
} } },
|
|
1022
|
+
"variant/alert-secondary/description": { color: { rest: {
|
|
1023
|
+
type: "foregroundPaletteColors",
|
|
1024
|
+
value: "secondary",
|
|
1025
|
+
valueType: "alias"
|
|
1026
|
+
} } },
|
|
1017
1027
|
"variant/alert-secondary/icon": { color: { rest: {
|
|
1018
1028
|
type: "foregroundPaletteColors",
|
|
1019
1029
|
value: "alert-secondary",
|
|
@@ -1036,6 +1046,16 @@ const defaultTokensConfig = {
|
|
|
1036
1046
|
valueType: "alias"
|
|
1037
1047
|
} }
|
|
1038
1048
|
},
|
|
1049
|
+
"variant/alert-secondary/title": { color: { rest: {
|
|
1050
|
+
type: "foregroundPaletteColors",
|
|
1051
|
+
value: "secondary",
|
|
1052
|
+
valueType: "alias"
|
|
1053
|
+
} } },
|
|
1054
|
+
"variant/alert/description": { color: { rest: {
|
|
1055
|
+
type: "foregroundPaletteColors",
|
|
1056
|
+
value: "secondary",
|
|
1057
|
+
valueType: "alias"
|
|
1058
|
+
} } },
|
|
1039
1059
|
"variant/alert/icon": { color: { rest: {
|
|
1040
1060
|
type: "foregroundPaletteColors",
|
|
1041
1061
|
value: "alert",
|
|
@@ -1058,6 +1078,16 @@ const defaultTokensConfig = {
|
|
|
1058
1078
|
valueType: "alias"
|
|
1059
1079
|
} }
|
|
1060
1080
|
},
|
|
1081
|
+
"variant/alert/title": { color: { rest: {
|
|
1082
|
+
type: "foregroundPaletteColors",
|
|
1083
|
+
value: "secondary",
|
|
1084
|
+
valueType: "alias"
|
|
1085
|
+
} } },
|
|
1086
|
+
"variant/brand-secondary/description": { color: { rest: {
|
|
1087
|
+
type: "foregroundPaletteColors",
|
|
1088
|
+
value: "secondary",
|
|
1089
|
+
valueType: "alias"
|
|
1090
|
+
} } },
|
|
1061
1091
|
"variant/brand-secondary/icon": { color: { rest: {
|
|
1062
1092
|
type: "foregroundPaletteColors",
|
|
1063
1093
|
value: "secondary",
|
|
@@ -1080,6 +1110,16 @@ const defaultTokensConfig = {
|
|
|
1080
1110
|
valueType: "alias"
|
|
1081
1111
|
} }
|
|
1082
1112
|
},
|
|
1113
|
+
"variant/brand-secondary/title": { color: { rest: {
|
|
1114
|
+
type: "foregroundPaletteColors",
|
|
1115
|
+
value: "secondary",
|
|
1116
|
+
valueType: "alias"
|
|
1117
|
+
} } },
|
|
1118
|
+
"variant/brand/description": { color: { rest: {
|
|
1119
|
+
type: "foregroundPaletteColors",
|
|
1120
|
+
value: "secondary",
|
|
1121
|
+
valueType: "alias"
|
|
1122
|
+
} } },
|
|
1083
1123
|
"variant/brand/icon": { color: { rest: {
|
|
1084
1124
|
type: "foregroundPaletteColors",
|
|
1085
1125
|
value: "secondary",
|
|
@@ -1102,6 +1142,16 @@ const defaultTokensConfig = {
|
|
|
1102
1142
|
valueType: "alias"
|
|
1103
1143
|
} }
|
|
1104
1144
|
},
|
|
1145
|
+
"variant/brand/title": { color: { rest: {
|
|
1146
|
+
type: "foregroundPaletteColors",
|
|
1147
|
+
value: "secondary",
|
|
1148
|
+
valueType: "alias"
|
|
1149
|
+
} } },
|
|
1150
|
+
"variant/info-secondary/description": { color: { rest: {
|
|
1151
|
+
type: "foregroundPaletteColors",
|
|
1152
|
+
value: "secondary",
|
|
1153
|
+
valueType: "alias"
|
|
1154
|
+
} } },
|
|
1105
1155
|
"variant/info-secondary/icon": { color: { rest: {
|
|
1106
1156
|
type: "foregroundPaletteColors",
|
|
1107
1157
|
value: "info",
|
|
@@ -1124,6 +1174,16 @@ const defaultTokensConfig = {
|
|
|
1124
1174
|
valueType: "alias"
|
|
1125
1175
|
} }
|
|
1126
1176
|
},
|
|
1177
|
+
"variant/info-secondary/title": { color: { rest: {
|
|
1178
|
+
type: "foregroundPaletteColors",
|
|
1179
|
+
value: "secondary",
|
|
1180
|
+
valueType: "alias"
|
|
1181
|
+
} } },
|
|
1182
|
+
"variant/info/description": { color: { rest: {
|
|
1183
|
+
type: "foregroundPaletteColors",
|
|
1184
|
+
value: "secondary",
|
|
1185
|
+
valueType: "alias"
|
|
1186
|
+
} } },
|
|
1127
1187
|
"variant/info/icon": { color: { rest: {
|
|
1128
1188
|
type: "foregroundPaletteColors",
|
|
1129
1189
|
value: "info",
|
|
@@ -1146,6 +1206,16 @@ const defaultTokensConfig = {
|
|
|
1146
1206
|
valueType: "alias"
|
|
1147
1207
|
} }
|
|
1148
1208
|
},
|
|
1209
|
+
"variant/info/title": { color: { rest: {
|
|
1210
|
+
type: "foregroundPaletteColors",
|
|
1211
|
+
value: "secondary",
|
|
1212
|
+
valueType: "alias"
|
|
1213
|
+
} } },
|
|
1214
|
+
"variant/primary/description": { color: { rest: {
|
|
1215
|
+
type: "foregroundPaletteColors",
|
|
1216
|
+
value: "secondary",
|
|
1217
|
+
valueType: "alias"
|
|
1218
|
+
} } },
|
|
1149
1219
|
"variant/primary/icon": { color: { rest: {
|
|
1150
1220
|
type: "foregroundPaletteColors",
|
|
1151
1221
|
value: "secondary",
|
|
@@ -1168,6 +1238,16 @@ const defaultTokensConfig = {
|
|
|
1168
1238
|
valueType: "alias"
|
|
1169
1239
|
} }
|
|
1170
1240
|
},
|
|
1241
|
+
"variant/primary/title": { color: { rest: {
|
|
1242
|
+
type: "foregroundPaletteColors",
|
|
1243
|
+
value: "secondary",
|
|
1244
|
+
valueType: "alias"
|
|
1245
|
+
} } },
|
|
1246
|
+
"variant/secondary/description": { color: { rest: {
|
|
1247
|
+
type: "foregroundPaletteColors",
|
|
1248
|
+
value: "secondary",
|
|
1249
|
+
valueType: "alias"
|
|
1250
|
+
} } },
|
|
1171
1251
|
"variant/secondary/icon": { color: { rest: {
|
|
1172
1252
|
type: "foregroundPaletteColors",
|
|
1173
1253
|
value: "secondary",
|
|
@@ -1190,6 +1270,16 @@ const defaultTokensConfig = {
|
|
|
1190
1270
|
valueType: "alias"
|
|
1191
1271
|
} }
|
|
1192
1272
|
},
|
|
1273
|
+
"variant/secondary/title": { color: { rest: {
|
|
1274
|
+
type: "foregroundPaletteColors",
|
|
1275
|
+
value: "secondary",
|
|
1276
|
+
valueType: "alias"
|
|
1277
|
+
} } },
|
|
1278
|
+
"variant/success-secondary/description": { color: { rest: {
|
|
1279
|
+
type: "foregroundPaletteColors",
|
|
1280
|
+
value: "secondary",
|
|
1281
|
+
valueType: "alias"
|
|
1282
|
+
} } },
|
|
1193
1283
|
"variant/success-secondary/icon": { color: { rest: {
|
|
1194
1284
|
type: "foregroundPaletteColors",
|
|
1195
1285
|
value: "positive-secondary",
|
|
@@ -1212,6 +1302,16 @@ const defaultTokensConfig = {
|
|
|
1212
1302
|
valueType: "alias"
|
|
1213
1303
|
} }
|
|
1214
1304
|
},
|
|
1305
|
+
"variant/success-secondary/title": { color: { rest: {
|
|
1306
|
+
type: "foregroundPaletteColors",
|
|
1307
|
+
value: "secondary",
|
|
1308
|
+
valueType: "alias"
|
|
1309
|
+
} } },
|
|
1310
|
+
"variant/success/description": { color: { rest: {
|
|
1311
|
+
type: "foregroundPaletteColors",
|
|
1312
|
+
value: "secondary",
|
|
1313
|
+
valueType: "alias"
|
|
1314
|
+
} } },
|
|
1215
1315
|
"variant/success/icon": { color: { rest: {
|
|
1216
1316
|
type: "foregroundPaletteColors",
|
|
1217
1317
|
value: "positive",
|
|
@@ -1234,6 +1334,16 @@ const defaultTokensConfig = {
|
|
|
1234
1334
|
valueType: "alias"
|
|
1235
1335
|
} }
|
|
1236
1336
|
},
|
|
1337
|
+
"variant/success/title": { color: { rest: {
|
|
1338
|
+
type: "foregroundPaletteColors",
|
|
1339
|
+
value: "secondary",
|
|
1340
|
+
valueType: "alias"
|
|
1341
|
+
} } },
|
|
1342
|
+
"variant/warning-secondary/description": { color: { rest: {
|
|
1343
|
+
type: "foregroundPaletteColors",
|
|
1344
|
+
value: "secondary",
|
|
1345
|
+
valueType: "alias"
|
|
1346
|
+
} } },
|
|
1237
1347
|
"variant/warning-secondary/icon": { color: { rest: {
|
|
1238
1348
|
type: "foregroundPaletteColors",
|
|
1239
1349
|
value: "warning-secondary",
|
|
@@ -1256,6 +1366,16 @@ const defaultTokensConfig = {
|
|
|
1256
1366
|
valueType: "alias"
|
|
1257
1367
|
} }
|
|
1258
1368
|
},
|
|
1369
|
+
"variant/warning-secondary/title": { color: { rest: {
|
|
1370
|
+
type: "foregroundPaletteColors",
|
|
1371
|
+
value: "secondary",
|
|
1372
|
+
valueType: "alias"
|
|
1373
|
+
} } },
|
|
1374
|
+
"variant/warning/description": { color: { rest: {
|
|
1375
|
+
type: "foregroundPaletteColors",
|
|
1376
|
+
value: "secondary",
|
|
1377
|
+
valueType: "alias"
|
|
1378
|
+
} } },
|
|
1259
1379
|
"variant/warning/icon": { color: { rest: {
|
|
1260
1380
|
type: "foregroundPaletteColors",
|
|
1261
1381
|
value: "warning",
|
|
@@ -1277,7 +1397,12 @@ const defaultTokensConfig = {
|
|
|
1277
1397
|
value: "thin",
|
|
1278
1398
|
valueType: "alias"
|
|
1279
1399
|
} }
|
|
1280
|
-
}
|
|
1400
|
+
},
|
|
1401
|
+
"variant/warning/title": { color: { rest: {
|
|
1402
|
+
type: "foregroundPaletteColors",
|
|
1403
|
+
value: "secondary",
|
|
1404
|
+
valueType: "alias"
|
|
1405
|
+
} } }
|
|
1281
1406
|
}
|
|
1282
1407
|
},
|
|
1283
1408
|
bottomSheet: {
|
|
@@ -99,8 +99,8 @@ const ALWAYS_AS_RGB = {
|
|
|
99
99
|
* @param shadowType - The type of shadow (drop or inset)
|
|
100
100
|
* @returns A CSS box-shadow value string
|
|
101
101
|
*/
|
|
102
|
-
function getShadowLayerValue({ preset, prefix, shadowType }) {
|
|
103
|
-
const varPrefix = `--uds-${shadowType}-shadow-`;
|
|
102
|
+
function getShadowLayerValue({ preset, prefix, shadowType, cssVarPrefix }) {
|
|
103
|
+
const varPrefix = cssVarPrefix ?? `--uds-${shadowType}-shadow-`;
|
|
104
104
|
const isPaletteColor = preset.color?.type === "palette";
|
|
105
105
|
const isAlwaysColor = preset.color?.type === "always";
|
|
106
106
|
let shadowColor = `var(--uds-${isPaletteColor ? "shadow" : "spectrum"}-color-${preset?.color?.value})`;
|
|
@@ -74,11 +74,13 @@ declare const textVariantsSafe: (variant: string) => string;
|
|
|
74
74
|
declare function getShadowLayerValue({
|
|
75
75
|
preset,
|
|
76
76
|
prefix,
|
|
77
|
-
shadowType
|
|
77
|
+
shadowType,
|
|
78
|
+
cssVarPrefix
|
|
78
79
|
}: {
|
|
79
80
|
preset: ShadowPreset;
|
|
80
81
|
prefix?: string;
|
|
81
82
|
shadowType: ShadowType;
|
|
83
|
+
cssVarPrefix?: string;
|
|
82
84
|
}): string;
|
|
83
85
|
interface GetMotionVarParams {
|
|
84
86
|
variant: MotionVariant;
|
|
@@ -74,11 +74,13 @@ declare const textVariantsSafe: (variant: string) => string;
|
|
|
74
74
|
declare function getShadowLayerValue({
|
|
75
75
|
preset,
|
|
76
76
|
prefix,
|
|
77
|
-
shadowType
|
|
77
|
+
shadowType,
|
|
78
|
+
cssVarPrefix
|
|
78
79
|
}: {
|
|
79
80
|
preset: ShadowPreset;
|
|
80
81
|
prefix?: string;
|
|
81
82
|
shadowType: ShadowType;
|
|
83
|
+
cssVarPrefix?: string;
|
|
82
84
|
}): string;
|
|
83
85
|
interface GetMotionVarParams {
|
|
84
86
|
variant: MotionVariant;
|
|
@@ -99,8 +99,8 @@ const ALWAYS_AS_RGB = {
|
|
|
99
99
|
* @param shadowType - The type of shadow (drop or inset)
|
|
100
100
|
* @returns A CSS box-shadow value string
|
|
101
101
|
*/
|
|
102
|
-
function getShadowLayerValue({ preset, prefix, shadowType }) {
|
|
103
|
-
const varPrefix = `--uds-${shadowType}-shadow-`;
|
|
102
|
+
function getShadowLayerValue({ preset, prefix, shadowType, cssVarPrefix }) {
|
|
103
|
+
const varPrefix = cssVarPrefix ?? `--uds-${shadowType}-shadow-`;
|
|
104
104
|
const isPaletteColor = preset.color?.type === "palette";
|
|
105
105
|
const isAlwaysColor = preset.color?.type === "always";
|
|
106
106
|
let shadowColor = `var(--uds-${isPaletteColor ? "shadow" : "spectrum"}-color-${preset?.color?.value})`;
|
|
@@ -1931,6 +1931,7 @@ var tooltipPlacements = [
|
|
|
1931
1931
|
"end-top",
|
|
1932
1932
|
"end-bottom"
|
|
1933
1933
|
];
|
|
1934
|
+
var bannerInnerShadowOptions = ["none", "subtle"];
|
|
1934
1935
|
var configurableComponentNames = [
|
|
1935
1936
|
"avatar",
|
|
1936
1937
|
"badge",
|
|
@@ -2028,6 +2029,7 @@ exports.backgroundColors = backgroundColors;
|
|
|
2028
2029
|
exports.backgroundPaletteColors = backgroundPaletteColors;
|
|
2029
2030
|
exports.badgeSizes = badgeSizes;
|
|
2030
2031
|
exports.badgeVariants = badgeVariants;
|
|
2032
|
+
exports.bannerInnerShadowOptions = bannerInnerShadowOptions;
|
|
2031
2033
|
exports.borderRadii = borderRadii;
|
|
2032
2034
|
exports.borderWidths = borderWidths;
|
|
2033
2035
|
exports.borderWidthsWithElevation = borderWidthsWithElevation;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TooltipPlacement, TypographyStyle } from "../../types/dist/index.cjs";
|
|
2
|
+
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BannerInnerShadowOption, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TooltipPlacement, TypographyStyle } from "../../types/dist/index.cjs";
|
|
3
3
|
import { positiveIntegers } from "./arbitrary.cjs";
|
|
4
4
|
|
|
5
5
|
//#region ../fixtures/dist/index.d.ts
|
|
6
6
|
declare namespace index_d_exports {
|
|
7
|
-
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
7
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, bannerInnerShadowOptions, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
8
8
|
}
|
|
9
9
|
type ArbitraryFixturesMap = {
|
|
10
10
|
positiveIntegers: typeof positiveIntegers;
|
|
@@ -104,6 +104,7 @@ declare const linkTextVariants: TextVariantWithoutEmphasized[];
|
|
|
104
104
|
declare const toastSizes: "default"[];
|
|
105
105
|
declare const toastVariants: ToastVariant[];
|
|
106
106
|
declare const tooltipPlacements: TooltipPlacement[];
|
|
107
|
+
declare const bannerInnerShadowOptions: BannerInnerShadowOption[];
|
|
107
108
|
declare const configurableComponentNames: ConfigurableComponentName[];
|
|
108
109
|
/**
|
|
109
110
|
* Web-only font ids, derived from the web font declarations map.
|
|
@@ -114,4 +115,4 @@ declare const fontIds: ("centra-no2" | "gelica" | "yas" | "inter" | "roboto-mono
|
|
|
114
115
|
*/
|
|
115
116
|
declare const fontUrls: ("https://s.yimg.com/bw/fonts/centra-no2-hairline.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-hairline-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-light.woff2" | "https://s.yimg.com/bw/fonts/gelica-light-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-black.woff2" | "https://s.yimg.com/bw/fonts/gelica-black-italic.woff2" | "https://s.yimg.com/bw/fonts/yas-latin1-normal-no-italic-vf.woff2" | "https://s.yimg.com/bw/fonts/inter-vf.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/YahooPd_Eval202412-v1.1.0.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2")[];
|
|
116
117
|
//#endregion
|
|
117
|
-
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
118
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, bannerInnerShadowOptions, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TooltipPlacement, TypographyStyle } from "../../types/dist/index.js";
|
|
2
|
+
import { AlwaysPaletteAliasWithPrefix, AvatarSize, BackgroundPaletteAlias, BadgeSize, BadgeVariant, BannerInnerShadowOption, BorderWidth, BreakpointsConfig, ButtonPalette, ButtonSize, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ConfigurableComponentName, ElevationLevel, FontAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonSize, IconSize, IconVariant, InputSize, LinePaletteAlias, LinkVariant, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, PaletteValue, RegionMode, ScaleEffect, ScaleMode, ShadowColor, ShadowOffset, ShadowPaletteAlias, ShadowSpreadRadius, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, SpacingAlias, SwitchSize, TShirtSize, TextDecorationLine, TextProperty, TextTransform, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastVariant, TooltipPlacement, TypographyStyle } from "../../types/dist/index.js";
|
|
3
3
|
import { positiveIntegers } from "./arbitrary.js";
|
|
4
4
|
|
|
5
5
|
//#region ../fixtures/dist/index.d.ts
|
|
6
6
|
declare namespace index_d_exports {
|
|
7
|
-
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
7
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, bannerInnerShadowOptions, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
8
8
|
}
|
|
9
9
|
type ArbitraryFixturesMap = {
|
|
10
10
|
positiveIntegers: typeof positiveIntegers;
|
|
@@ -104,6 +104,7 @@ declare const linkTextVariants: TextVariantWithoutEmphasized[];
|
|
|
104
104
|
declare const toastSizes: "default"[];
|
|
105
105
|
declare const toastVariants: ToastVariant[];
|
|
106
106
|
declare const tooltipPlacements: TooltipPlacement[];
|
|
107
|
+
declare const bannerInnerShadowOptions: BannerInnerShadowOption[];
|
|
107
108
|
declare const configurableComponentNames: ConfigurableComponentName[];
|
|
108
109
|
/**
|
|
109
110
|
* Web-only font ids, derived from the web font declarations map.
|
|
@@ -114,4 +115,4 @@ declare const fontIds: ("centra-no2" | "gelica" | "yas" | "inter" | "roboto-mono
|
|
|
114
115
|
*/
|
|
115
116
|
declare const fontUrls: ("https://s.yimg.com/bw/fonts/centra-no2-hairline.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-hairline-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-thin-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-light-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-book-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-extrabold-italic.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black.woff2" | "https://s.yimg.com/bw/fonts/centra-no2-black-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight.woff2" | "https://s.yimg.com/bw/fonts/gelica-extralight-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-light.woff2" | "https://s.yimg.com/bw/fonts/gelica-light-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular.woff2" | "https://s.yimg.com/bw/fonts/gelica-regular-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium.woff2" | "https://s.yimg.com/bw/fonts/gelica-medium-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold.woff2" | "https://s.yimg.com/bw/fonts/gelica-semibold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold.woff2" | "https://s.yimg.com/bw/fonts/gelica-bold-italic.woff2" | "https://s.yimg.com/bw/fonts/gelica-black.woff2" | "https://s.yimg.com/bw/fonts/gelica-black-italic.woff2" | "https://s.yimg.com/bw/fonts/yas-latin1-normal-no-italic-vf.woff2" | "https://s.yimg.com/bw/fonts/inter-vf.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700.woff2" | "https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2" | "https://s.yimg.com/bw/fonts/YahooPd_Eval202412-v1.1.0.woff2" | "https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2" | "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2")[];
|
|
116
117
|
//#endregion
|
|
117
|
-
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
118
|
+
export { ArbitraryFixtures, InferArbitraryType, alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, bannerInnerShadowOptions, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, index_d_exports, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
@@ -1930,6 +1930,7 @@ var tooltipPlacements = [
|
|
|
1930
1930
|
"end-top",
|
|
1931
1931
|
"end-bottom"
|
|
1932
1932
|
];
|
|
1933
|
+
var bannerInnerShadowOptions = ["none", "subtle"];
|
|
1933
1934
|
var configurableComponentNames = [
|
|
1934
1935
|
"avatar",
|
|
1935
1936
|
"badge",
|
|
@@ -2020,4 +2021,4 @@ var fontUrls = [
|
|
|
2020
2021
|
];
|
|
2021
2022
|
|
|
2022
2023
|
//#endregion
|
|
2023
|
-
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
|
2024
|
+
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, badgeSizes, badgeVariants, bannerInnerShadowOptions, borderRadii, borderWidths, borderWidthsWithElevation, breakpoints, buttonIconSvgSize, buttonPalettes, buttonSizes, buttonVariants, buttonVariantsFlat, buttonVariantsPrimary, buttonVariantsSecondary, buttonVariantsTertiary, checkboxSizes, checkboxVariants, chipSizes, chipVariants, colorModes, configurableComponentNames, elevationAliases, elevationLevels, elevationShadowLayerCount, fontAliases, fontIds, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hueSteps, hues, iconButtonSizes, iconSizes, iconVariants, inputSizes, lineColors, linePaletteColors, linkTextVariants, linkVariants, motionSpringConfigOptions, motionVariantSpeeds, motionVariants, opacityMap, opacitySteps, palette, percentageSteps, positiveIntegers, regionModes, scaleEffects, scaleModes, shadowColors, shadowOffsetMap, shadowOffsets, shadowOpacities, shadowOpacityMap, shadowPaletteColors, shadowSpreadRadii, shadowSpreadRadiusMap, shadowVariantConfigs, shadowVariants, shadowVariantsInvert, shadowVariantsWithInvert, sortPalette, spacingAliases, spacingMap, spectrumColors, switchSizes, textDecorationLines, textProperties, textTransforms, textVariants, textVariantsTypography, textVariantsUi, textVariantsWithoutEmphasized, toastSizes, toastVariants, tooltipPlacements, tshirtSizes, typographyStyleProperties };
|
package/dist/fixtures/index.cjs
CHANGED
|
@@ -17,6 +17,7 @@ exports.backgroundColors = require_index.backgroundColors;
|
|
|
17
17
|
exports.backgroundPaletteColors = require_index.backgroundPaletteColors;
|
|
18
18
|
exports.badgeSizes = require_index.badgeSizes;
|
|
19
19
|
exports.badgeVariants = require_index.badgeVariants;
|
|
20
|
+
exports.bannerInnerShadowOptions = require_index.bannerInnerShadowOptions;
|
|
20
21
|
exports.borderRadii = require_index.borderRadii;
|
|
21
22
|
exports.borderWidths = require_index.borderWidths;
|
|
22
23
|
exports.borderWidthsWithElevation = require_index.borderWidthsWithElevation;
|