@yahoo/uds 0.5.7 → 0.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. package/cli/README.md +1 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-darwin-x64 +0 -0
  4. package/cli/bin/uds-linux-arm64 +0 -0
  5. package/cli/bin/uds-linux-x64-baseline +0 -0
  6. package/cli/bin/uds-windows-x64-baseline.exe +0 -0
  7. package/cli/cli.ts +6 -0
  8. package/cli/commands/purge.ts +6 -2
  9. package/cli/compile.ts +35 -0
  10. package/cli/consts.ts +9 -0
  11. package/cli/exec.ts +34 -0
  12. package/cli/tsconfig.json +1 -0
  13. package/cli/uds-cli +32 -6
  14. package/cli/utils/configWorker.ts +2 -0
  15. package/cli/utils/purgeCSS.test.ts +2 -1
  16. package/cli/utils/purgeCSS.ts +31 -11
  17. package/cli/utils/setupConfigWorker.ts +12 -1
  18. package/dist/{Image.native-CIafNow6.d.cts → Image.native-BhqVvnKU.d.cts} +1 -1
  19. package/dist/{Image.native-Cbv-erHz.d.ts → Image.native-DZW5ek69.d.ts} +1 -1
  20. package/dist/{VStack-DTK919lo.d.ts → VStack-BohShRVo.d.ts} +1 -1
  21. package/dist/{VStack-DnjkTYdB.d.cts → VStack-C6VjEoRP.d.cts} +1 -1
  22. package/dist/experimental/index.cjs +4 -4
  23. package/dist/experimental/index.d.cts +2 -2
  24. package/dist/experimental/index.d.ts +2 -2
  25. package/dist/experimental/index.js +3 -3
  26. package/dist/experimental/index.native.cjs +1 -1
  27. package/dist/experimental/index.native.d.cts +3 -3
  28. package/dist/experimental/index.native.d.ts +3 -3
  29. package/dist/experimental/index.native.js +1 -1
  30. package/dist/fixtures.cjs +2 -1
  31. package/dist/fixtures.d.ts +5 -5
  32. package/dist/fixtures.js +2 -1
  33. package/dist/index.cjs +2 -2
  34. package/dist/index.d.cts +16 -13
  35. package/dist/index.d.ts +16 -13
  36. package/dist/index.js +3 -3
  37. package/dist/index.native-dtcAO8DN.d.cts +317 -0
  38. package/dist/index.native-uBCD4Hr4.d.ts +317 -0
  39. package/dist/index.native.cjs +1 -1
  40. package/dist/index.native.d.cts +60 -9
  41. package/dist/index.native.d.ts +60 -9
  42. package/dist/index.native.js +1 -1
  43. package/dist/metafile-cjs.json +1 -1
  44. package/dist/metafile-esm.json +1 -1
  45. package/dist/tailwind/plugin.cjs +1 -1
  46. package/dist/tailwind/plugin.d.cts +3 -3
  47. package/dist/tailwind/plugin.d.ts +3 -3
  48. package/dist/tailwind/plugin.js +3 -3
  49. package/dist/tailwind/purger.cjs +2 -2
  50. package/dist/tailwind/purger.js +2 -2
  51. package/dist/tailwind/tsMorph.cjs +1 -1
  52. package/dist/tailwind/tsMorph.js +2 -2
  53. package/dist/tokens/index.cjs +1 -1
  54. package/dist/tokens/index.d.cts +358 -5
  55. package/dist/tokens/index.d.ts +358 -5
  56. package/dist/tokens/index.js +2 -2
  57. package/dist/tokens/index.native.cjs +1 -1
  58. package/dist/tokens/index.native.d.cts +2 -2
  59. package/dist/tokens/index.native.d.ts +2 -2
  60. package/dist/tokens/index.native.js +1 -1
  61. package/dist/tokens/parseTokens.cjs +1 -1
  62. package/dist/tokens/parseTokens.d.cts +4 -4
  63. package/dist/tokens/parseTokens.d.ts +4 -4
  64. package/dist/tokens/parseTokens.js +1 -1
  65. package/dist/{types-BB7LBOmj.d.cts → types-BE7_GGFX.d.cts} +48 -41
  66. package/dist/{types-BB7LBOmj.d.ts → types-BE7_GGFX.d.ts} +48 -41
  67. package/dist/{types-DDJJDimt.d.cts → types-D0b0TPQ4.d.cts} +48 -41
  68. package/dist/{types-DDJJDimt.d.ts → types-D0b0TPQ4.d.ts} +48 -41
  69. package/package.json +199 -198
  70. package/dist/index.native-B7lxeKHq.d.ts +0 -15
  71. package/dist/index.native-y03H93Or.d.cts +0 -15
@@ -1,5 +1,5 @@
1
- import { y as ButtonConfig, U as UniversalTokensConfig, f as FontFamilyGlobalConfig, a3 as FontWeightDescriptive, e as FontWeightNumeric, G as ColorModeForApp, as as ScaleModeForApp, C as ColorMode, S as ScaleMode, a6 as HighContrastMode, ap as RegionMode } from '../types-BB7LBOmj.js';
2
- export { A as AlwaysPalette, j as AlwaysPaletteAlias, k as Animation, l as AriaAttribute, m as AvatarShape, n as AvatarSize, o as AvatarSizeConfig, p as BackgroundColor, q as BackgroundPalette, B as BackgroundPaletteAlias, r as BackgroundStyleProps, s as BorderRadius, t as BorderRadiusConfig, u as BorderStyleProps, v as BorderWidth, w as BorderWidthConfig, x as BoxShadowConfig, z as ButtonSize, D as ButtonVariant, E as ColorModeConfig, a as ColorsConfig, I as ConfigurableTextProperty, J as CorePalette, c as CorePaletteAlias, K as CustomSizingStyleProps, M as DataAttribute, N as Display, O as Flex, P as FlexAlignContent, Q as FlexAlignItems, R as FlexAlignSelf, T as FlexBasis, V as FlexDirection, W as FlexGrow, X as FlexJustifyContent, Y as FlexShrink, Z as FlexStyleProps, _ as FlexWrap, $ as FontFamilyConfig, a0 as FontFamilyGlobalAlias, a1 as FontSize, a2 as FontSizeConfig, d as FontWeightConfig, a4 as ForegroundColor, a5 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, a7 as IconSize, a8 as IconSizeConfig, a9 as ImageStyleProps, aa as LayoutStyleProps, ab as LetterSpacing, ac as LineClampAlias, ad as LineColor, ae as LineHeight, af as LineHeightConfig, ag as LinePalette, L as LinePaletteAlias, ah as Modes, ai as Overflow, aj as Palette, ak as PaletteConfig, al as PaletteType, am as PaletteValue, an as PlatformMode, ao as Position, aq as ScaleConfig, ar as ScaleModeConfig, at as SpacingAlias, au as SpacingConfig, av as SpacingStyleProps, aw as SpectrumColor, ax as SpectrumConfig, ay as StateStyleProps, az as StyleProps, aH as TShirtSize, aI as TShirtSizeCommon, aA as TextStyleProps, aB as TextTransform, aC as TextTransformConfig, aD as TextVariant, aE as TransitionDelay, aF as TransitionDuration, aG as TransitionTiming, aJ as UniversalAvatarProps, aK as UniversalBoxProps, aL as UniversalButtonProps, aM as UniversalIconButtonProps, aN as UniversalIconProps, h as UniversalImageProps, aO as UniversalPressableProps, g as UniversalStackProps, aP as UniversalTextInputProps, aQ as UniversalTextProps, i as alwaysPalette } from '../types-BB7LBOmj.js';
1
+ import { z as ButtonConfig, an as PaletteConfig, aA as SpectrumConfig, a2 as FontFamilyConfig, d as FontWeightConfig, aF as TextTransformConfig, o as AvatarSizeConfig, ab as IconSizeConfig, t as BorderRadiusConfig, w as BorderWidthConfig, f as FontFamilyGlobalConfig, a6 as FontWeightDescriptive, e as FontWeightNumeric, K as ColorModeForApp, av as ScaleModeForApp, C as ColorMode, S as ScaleMode, a9 as HighContrastMode, as as RegionMode } from '../types-D0b0TPQ4.js';
2
+ export { A as AlwaysPalette, j as AlwaysPaletteAlias, k as Animation, l as AriaAttribute, m as AvatarShape, n as AvatarSize, p as BackgroundColor, q as BackgroundPalette, B as BackgroundPaletteAlias, r as BackgroundStyleProps, s as BorderRadius, u as BorderStyleProps, v as BorderWidth, x as BoxShadowConfig, y as ButtonCategory, D as ButtonSize, E as ButtonState, G as ButtonVariant, I as ButtonVariant2, J as ColorModeConfig, a as ColorsConfig, M as ConfigurableTextProperty, N as CorePalette, c as CorePaletteAlias, O as CustomSizingStyleProps, P as DataAttribute, Q as Display, R as Flex, T as FlexAlignContent, V as FlexAlignItems, W as FlexAlignSelf, X as FlexBasis, Y as FlexDirection, Z as FlexGrow, _ as FlexJustifyContent, $ as FlexShrink, a0 as FlexStyleProps, a1 as FlexWrap, a3 as FontFamilyGlobalAlias, a4 as FontSize, a5 as FontSizeConfig, a7 as ForegroundColor, a8 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, aa as IconSize, ac as ImageStyleProps, ad as LayoutStyleProps, ae as LetterSpacing, af as LineClampAlias, ag as LineColor, ah as LineHeight, ai as LineHeightConfig, aj as LinePalette, L as LinePaletteAlias, ak as Modes, al as Overflow, am as Palette, ao as PaletteType, ap as PaletteValue, aq as PlatformMode, ar as Position, at as ScaleConfig, au as ScaleModeConfig, aw as SpacingAlias, ax as SpacingConfig, ay as SpacingStyleProps, az as SpectrumColor, aB as StateStyleProps, aC as StyleProps, aK as TShirtSize, aL as TShirtSizeCommon, aD as TextStyleProps, aE as TextTransform, aG as TextVariant, aH as TransitionDelay, aI as TransitionDuration, aJ as TransitionTiming, aM as UniversalAvatarProps, aN as UniversalBoxProps, aO as UniversalButtonProps, aP as UniversalIconButtonProps, aQ as UniversalIconProps, h as UniversalImageProps, aR as UniversalPressableProps, g as UniversalStackProps, aS as UniversalTextInputProps, aT as UniversalTextProps, U as UniversalTokensConfig, i as alwaysPalette } from '../types-D0b0TPQ4.js';
3
3
  import 'react';
4
4
 
5
5
  declare const variants: {
@@ -17,6 +17,7 @@ declare const variants: {
17
17
  primary: string;
18
18
  secondary: string;
19
19
  tertiary: string;
20
+ current: string;
20
21
  };
21
22
  placeholderColor: {
22
23
  accent: string;
@@ -32,6 +33,7 @@ declare const variants: {
32
33
  primary: string;
33
34
  secondary: string;
34
35
  tertiary: string;
36
+ current: string;
35
37
  };
36
38
  fontFamily: {
37
39
  icons: string;
@@ -741,6 +743,7 @@ declare const variants: {
741
743
  primary: string;
742
744
  secondary: string;
743
745
  transparent: string;
746
+ current: string;
744
747
  };
745
748
  borderColor: {
746
749
  accent: string;
@@ -755,6 +758,7 @@ declare const variants: {
755
758
  primary: string;
756
759
  secondary: string;
757
760
  tertiary: string;
761
+ current: string;
758
762
  };
759
763
  borderStartColor: {
760
764
  accent: string;
@@ -769,6 +773,7 @@ declare const variants: {
769
773
  primary: string;
770
774
  secondary: string;
771
775
  tertiary: string;
776
+ current: string;
772
777
  };
773
778
  borderEndColor: {
774
779
  accent: string;
@@ -783,6 +788,7 @@ declare const variants: {
783
788
  primary: string;
784
789
  secondary: string;
785
790
  tertiary: string;
791
+ current: string;
786
792
  };
787
793
  borderBottomColor: {
788
794
  accent: string;
@@ -797,6 +803,7 @@ declare const variants: {
797
803
  primary: string;
798
804
  secondary: string;
799
805
  tertiary: string;
806
+ current: string;
800
807
  };
801
808
  borderTopColor: {
802
809
  accent: string;
@@ -811,6 +818,7 @@ declare const variants: {
811
818
  primary: string;
812
819
  secondary: string;
813
820
  tertiary: string;
821
+ current: string;
814
822
  };
815
823
  borderRadius: {
816
824
  none: string;
@@ -1038,11 +1046,330 @@ declare const variants: {
1038
1046
  xxxLarge: string;
1039
1047
  xxLarge: string;
1040
1048
  };
1049
+ buttonCategory: {
1050
+ accent: string;
1051
+ brand: string;
1052
+ alert: string;
1053
+ positive: string;
1054
+ warning: string;
1055
+ };
1056
+ buttonVariant: {
1057
+ primary: string;
1058
+ secondary: string;
1059
+ tertiary: string;
1060
+ };
1061
+ buttonSize: {
1062
+ sm: string;
1063
+ md: string;
1064
+ lg: string;
1065
+ };
1041
1066
  };
1042
1067
 
1043
- declare const buttons: ButtonConfig;
1068
+ declare const button: ButtonConfig;
1044
1069
 
1045
- declare const defaultTokensConfig: UniversalTokensConfig;
1070
+ declare const defaultTokensConfig: {
1071
+ colorMode: {
1072
+ light: {
1073
+ palette: PaletteConfig;
1074
+ spectrum: SpectrumConfig;
1075
+ };
1076
+ dark: {
1077
+ palette: PaletteConfig;
1078
+ spectrum: SpectrumConfig;
1079
+ };
1080
+ };
1081
+ scaleMode: {
1082
+ xSmall: {
1083
+ fontSize: {
1084
+ display1: number;
1085
+ display2: number;
1086
+ display3: number;
1087
+ title1: number;
1088
+ title2: number;
1089
+ title3: number;
1090
+ title4: number;
1091
+ headline1: number;
1092
+ body1: number;
1093
+ label1: number;
1094
+ label2: number;
1095
+ caption1: number;
1096
+ caption2: number;
1097
+ legal1: number;
1098
+ };
1099
+ lineHeight: {
1100
+ display1: number;
1101
+ display2: number;
1102
+ display3: number;
1103
+ title1: number;
1104
+ title2: number;
1105
+ title3: number;
1106
+ title4: number;
1107
+ headline1: number;
1108
+ body1: number;
1109
+ label1: number;
1110
+ label2: number;
1111
+ caption1: number;
1112
+ caption2: number;
1113
+ legal1: number;
1114
+ };
1115
+ fontFamily: FontFamilyConfig;
1116
+ fontWeight: FontWeightConfig;
1117
+ textTransform: TextTransformConfig;
1118
+ avatarSizes: AvatarSizeConfig;
1119
+ iconSizes: IconSizeConfig;
1120
+ borderRadius: BorderRadiusConfig;
1121
+ borderWidth: BorderWidthConfig;
1122
+ };
1123
+ small: {
1124
+ fontSize: {
1125
+ display1: number;
1126
+ display2: number;
1127
+ display3: number;
1128
+ title1: number;
1129
+ title2: number;
1130
+ title3: number;
1131
+ title4: number;
1132
+ headline1: number;
1133
+ body1: number;
1134
+ label1: number;
1135
+ label2: number;
1136
+ caption1: number;
1137
+ caption2: number;
1138
+ legal1: number;
1139
+ };
1140
+ lineHeight: {
1141
+ title1: number;
1142
+ headline1: number;
1143
+ body1: number;
1144
+ legal1: number;
1145
+ display1: number;
1146
+ display2: number;
1147
+ display3: number;
1148
+ title2: number;
1149
+ title3: number;
1150
+ title4: number;
1151
+ label1: number;
1152
+ label2: number;
1153
+ caption1: number;
1154
+ caption2: number;
1155
+ };
1156
+ fontFamily: FontFamilyConfig;
1157
+ fontWeight: FontWeightConfig;
1158
+ textTransform: TextTransformConfig;
1159
+ avatarSizes: AvatarSizeConfig;
1160
+ iconSizes: IconSizeConfig;
1161
+ borderRadius: BorderRadiusConfig;
1162
+ borderWidth: BorderWidthConfig;
1163
+ };
1164
+ medium: {
1165
+ fontSize: {
1166
+ display1: number;
1167
+ display2: number;
1168
+ display3: number;
1169
+ title1: number;
1170
+ title2: number;
1171
+ title3: number;
1172
+ title4: number;
1173
+ headline1: number;
1174
+ body1: number;
1175
+ label1: number;
1176
+ label2: number;
1177
+ caption1: number;
1178
+ caption2: number;
1179
+ legal1: number;
1180
+ };
1181
+ lineHeight: {
1182
+ title2: number;
1183
+ title3: number;
1184
+ title1: number;
1185
+ headline1: number;
1186
+ body1: number;
1187
+ legal1: number;
1188
+ display1: number;
1189
+ display2: number;
1190
+ display3: number;
1191
+ title4: number;
1192
+ label1: number;
1193
+ label2: number;
1194
+ caption1: number;
1195
+ caption2: number;
1196
+ };
1197
+ fontFamily: FontFamilyConfig;
1198
+ fontWeight: FontWeightConfig;
1199
+ textTransform: TextTransformConfig;
1200
+ avatarSizes: AvatarSizeConfig;
1201
+ iconSizes: IconSizeConfig;
1202
+ borderRadius: BorderRadiusConfig;
1203
+ borderWidth: BorderWidthConfig;
1204
+ };
1205
+ large: {
1206
+ fontSize: {
1207
+ display1: number;
1208
+ display2: number;
1209
+ display3: number;
1210
+ title1: number;
1211
+ title2: number;
1212
+ title3: number;
1213
+ title4: number;
1214
+ headline1: number;
1215
+ body1: number;
1216
+ label1: number;
1217
+ label2: number;
1218
+ caption1: number;
1219
+ caption2: number;
1220
+ legal1: number;
1221
+ };
1222
+ lineHeight: {
1223
+ title2: number;
1224
+ title3: number;
1225
+ headline1: number;
1226
+ body1: number;
1227
+ label1: number;
1228
+ label2: number;
1229
+ title1: number;
1230
+ legal1: number;
1231
+ display1: number;
1232
+ display2: number;
1233
+ display3: number;
1234
+ title4: number;
1235
+ caption1: number;
1236
+ caption2: number;
1237
+ };
1238
+ fontFamily: FontFamilyConfig;
1239
+ fontWeight: FontWeightConfig;
1240
+ textTransform: TextTransformConfig;
1241
+ avatarSizes: AvatarSizeConfig;
1242
+ iconSizes: IconSizeConfig;
1243
+ borderRadius: BorderRadiusConfig;
1244
+ borderWidth: BorderWidthConfig;
1245
+ };
1246
+ xLarge: {
1247
+ fontSize: {
1248
+ display1: number;
1249
+ display2: number;
1250
+ display3: number;
1251
+ title1: number;
1252
+ title2: number;
1253
+ title3: number;
1254
+ title4: number;
1255
+ headline1: number;
1256
+ body1: number;
1257
+ label1: number;
1258
+ label2: number;
1259
+ caption1: number;
1260
+ caption2: number;
1261
+ legal1: number;
1262
+ };
1263
+ lineHeight: {
1264
+ title1: number;
1265
+ headline1: number;
1266
+ body1: number;
1267
+ caption1: number;
1268
+ caption2: number;
1269
+ title2: number;
1270
+ title3: number;
1271
+ label1: number;
1272
+ label2: number;
1273
+ legal1: number;
1274
+ display1: number;
1275
+ display2: number;
1276
+ display3: number;
1277
+ title4: number;
1278
+ };
1279
+ fontFamily: FontFamilyConfig;
1280
+ fontWeight: FontWeightConfig;
1281
+ textTransform: TextTransformConfig;
1282
+ avatarSizes: AvatarSizeConfig;
1283
+ iconSizes: IconSizeConfig;
1284
+ borderRadius: BorderRadiusConfig;
1285
+ borderWidth: BorderWidthConfig;
1286
+ };
1287
+ xxLarge: {
1288
+ fontSize: {
1289
+ display1: number;
1290
+ display2: number;
1291
+ display3: number;
1292
+ title1: number;
1293
+ title2: number;
1294
+ title3: number;
1295
+ title4: number;
1296
+ headline1: number;
1297
+ body1: number;
1298
+ label1: number;
1299
+ label2: number;
1300
+ caption1: number;
1301
+ caption2: number;
1302
+ legal1: number;
1303
+ };
1304
+ lineHeight: {
1305
+ title2: number;
1306
+ title3: number;
1307
+ headline1: number;
1308
+ body1: number;
1309
+ label1: number;
1310
+ label2: number;
1311
+ legal1: number;
1312
+ title1: number;
1313
+ caption1: number;
1314
+ caption2: number;
1315
+ display1: number;
1316
+ display2: number;
1317
+ display3: number;
1318
+ title4: number;
1319
+ };
1320
+ fontFamily: FontFamilyConfig;
1321
+ fontWeight: FontWeightConfig;
1322
+ textTransform: TextTransformConfig;
1323
+ avatarSizes: AvatarSizeConfig;
1324
+ iconSizes: IconSizeConfig;
1325
+ borderRadius: BorderRadiusConfig;
1326
+ borderWidth: BorderWidthConfig;
1327
+ };
1328
+ xxxLarge: {
1329
+ fontSize: {
1330
+ display1: number;
1331
+ display2: number;
1332
+ display3: number;
1333
+ title1: number;
1334
+ title2: number;
1335
+ title3: number;
1336
+ title4: number;
1337
+ headline1: number;
1338
+ body1: number;
1339
+ label1: number;
1340
+ label2: number;
1341
+ caption1: number;
1342
+ caption2: number;
1343
+ legal1: number;
1344
+ };
1345
+ lineHeight: {
1346
+ title1: number;
1347
+ title2: number;
1348
+ title4: number;
1349
+ label1: number;
1350
+ label2: number;
1351
+ caption1: number;
1352
+ caption2: number;
1353
+ title3: number;
1354
+ headline1: number;
1355
+ body1: number;
1356
+ legal1: number;
1357
+ display1: number;
1358
+ display2: number;
1359
+ display3: number;
1360
+ };
1361
+ fontFamily: FontFamilyConfig;
1362
+ fontWeight: FontWeightConfig;
1363
+ textTransform: TextTransformConfig;
1364
+ avatarSizes: AvatarSizeConfig;
1365
+ iconSizes: IconSizeConfig;
1366
+ borderRadius: BorderRadiusConfig;
1367
+ borderWidth: BorderWidthConfig;
1368
+ };
1369
+ };
1370
+ fontFamily: FontFamilyGlobalConfig;
1371
+ button: ButtonConfig;
1372
+ };
1046
1373
 
1047
1374
  declare const fontFamilyGlobal: FontFamilyGlobalConfig;
1048
1375
  declare const fontWeightMap: Record<FontWeightDescriptive, FontWeightNumeric>;
@@ -1075,6 +1402,25 @@ declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
1075
1402
  declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
1076
1403
  declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
1077
1404
  declare const FONT_SERIF_TEXT_CSS_VAR = "--uds-font-serif-text";
1405
+ declare const BUTTON_CSS_VAR_MAP: {
1406
+ readonly borderRadius: "--uds-button-border-radius";
1407
+ readonly borderWidth: "--uds-buton-border-width";
1408
+ readonly color: "--uds-button-color";
1409
+ readonly backgroundColor: "--uds-button-background-color";
1410
+ readonly borderColor: "--uds-button-border-color";
1411
+ readonly padding: "--uds-button-padding";
1412
+ readonly columnGap: "--uds-button-gap";
1413
+ readonly fontFamily: "--uds-button-font";
1414
+ readonly fontWeight: "--uds-button-font-weight";
1415
+ readonly fontSize: "--uds-button-font-size";
1416
+ readonly lineHeight: "--uds-button-line-height";
1417
+ readonly textTransform: "--uds-button-text-transform";
1418
+ };
1419
+ declare const PSUEDO_STYLE_SELECTOR_MAP: {
1420
+ readonly hover: "&:hover:not([disabled])";
1421
+ readonly pressed: "&:active:not([disabled])";
1422
+ readonly disabled: "&:disabled";
1423
+ };
1078
1424
 
1079
1425
  declare const DEFAULT_COLOR_MODE_FOR_APP: ColorModeForApp;
1080
1426
  declare const DEFAULT_SCALE_MODE_FOR_APP: ScaleModeForApp;
@@ -1087,7 +1433,14 @@ declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
1087
1433
 
1088
1434
  declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
1089
1435
 
1436
+ interface CombinationsConfig extends Exclude<ButtonConfig, 'defaults'> {
1437
+ }
1438
+ type Combination<T extends CombinationsConfig> = {
1439
+ [K in keyof T]: keyof T[K];
1440
+ };
1441
+ declare function generateConfigCombinations(config: CombinationsConfig): Combination<CombinationsConfig>[];
1442
+
1090
1443
  type AnyObject = Record<string, unknown>;
1091
1444
  declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
1092
1445
 
1093
- export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, ButtonConfig, ColorMode, ColorModeForApp, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyGlobalConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, UniversalTokensConfig, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, buttons, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, mapValues, variants };
1446
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_CSS_VAR_MAP, BorderRadiusConfig, BorderWidthConfig, ButtonConfig, ColorMode, ColorModeForApp, type Combination, type CombinationsConfig, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, PSUEDO_STYLE_SELECTOR_MAP, PaletteConfig, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, SpectrumConfig, TEXT_TRANSFORM_PREFIX, TextTransformConfig, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, button, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, generateConfigCombinations, mapValues, variants };