@yahoo/uds 0.5.10 → 1.0.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +17 -11
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/bin/uds-windows-x64-baseline.exe +0 -0
- package/cli/cli.ts +1 -0
- package/cli/consts.ts +1 -7
- package/cli/preload.ts +1 -1
- package/cli/tsconfig.json +20 -1
- package/cli/uds-cli +1 -7
- package/cli/utils/configWorker.ts +58 -31
- package/cli/utils/purgeCSS.ts +1 -4
- package/cli/utils/setupConfigWorker.ts +13 -12
- package/dist/{Image.native-BxsXWBqp.d.ts → Image.native-BTcdQraV.d.ts} +2 -2
- package/dist/{Image.native-DBoB1LOc.d.cts → Image.native-D6qA03vT.d.ts} +2 -2
- package/dist/Image.native-D96MZTYD.d.cts +39 -0
- package/dist/Image.native-DX2YWGZD.d.ts +39 -0
- package/dist/Image.native-f8x4GPuV.d.cts +39 -0
- package/dist/Image.native-mHTDIRbL.d.cts +39 -0
- package/dist/chunk-2C7RDVXS.js +3 -0
- package/dist/chunk-2JQBQOM6.cjs +4 -0
- package/dist/chunk-47ZDV5TW.js +3 -0
- package/dist/chunk-4EJ6WK3H.cjs +2 -0
- package/dist/chunk-5DFU4PSC.cjs +2 -0
- package/dist/chunk-5LDKFAU4.cjs +2 -0
- package/dist/chunk-5MYSY56L.js +2 -0
- package/dist/chunk-5UHMAJB4.js +2 -0
- package/dist/chunk-6QLTGUJB.cjs +2 -0
- package/dist/chunk-77JE2H36.js +2 -0
- package/dist/chunk-7A7DDMD7.cjs +2 -0
- package/dist/chunk-7BKASJ4D.cjs +3 -0
- package/dist/chunk-7ICJCQTV.cjs +4 -0
- package/dist/chunk-7OODVPL6.cjs +2 -0
- package/dist/chunk-7SJRCGTP.js +3 -0
- package/dist/chunk-AKOUDLRN.cjs +2 -0
- package/dist/chunk-AV442FHA.js +3 -0
- package/dist/chunk-AY4XUL7M.cjs +3 -0
- package/dist/chunk-B7X77UTF.cjs +3 -0
- package/dist/chunk-BIYOCTWR.js +3 -0
- package/dist/chunk-BQB5NUKC.cjs +3 -0
- package/dist/chunk-CBSKS4K5.cjs +2 -0
- package/dist/chunk-CE5ROFEK.cjs +3 -0
- package/dist/chunk-CNY6ADXP.js +3 -0
- package/dist/chunk-D24YMS3F.cjs +2 -0
- package/dist/chunk-D3NVRUYG.cjs +4 -0
- package/dist/chunk-DIOVB5EV.js +3 -0
- package/dist/chunk-E53NU2VM.js +2 -0
- package/dist/chunk-E5X2STIU.js +2 -0
- package/dist/chunk-E6BTI63P.cjs +2 -0
- package/dist/chunk-EFYCREMN.js +3 -0
- package/dist/chunk-EMPQR5VI.js +3 -0
- package/dist/chunk-ET6WP7R7.js +2 -0
- package/dist/chunk-EXHCIY4P.cjs +2 -0
- package/dist/chunk-F56AWN2Z.js +3 -0
- package/dist/chunk-G7GQQIM5.js +3 -0
- package/dist/chunk-GVBZYWK6.js +4 -0
- package/dist/chunk-H2RSKIJ4.cjs +2 -0
- package/dist/chunk-HF5DHYIT.cjs +2 -0
- package/dist/chunk-HTDED6CG.js +3 -0
- package/dist/chunk-HUYXQPM5.cjs +3 -0
- package/dist/chunk-HY56NZEJ.js +3 -0
- package/dist/chunk-I2ENXXSN.js +2 -0
- package/dist/chunk-ITYNB2GX.js +3 -0
- package/dist/chunk-IVJD6N6G.cjs +2 -0
- package/dist/chunk-JVQ7PW3M.js +3 -0
- package/dist/chunk-KH3WJY4K.js +4 -0
- package/dist/chunk-KIDADDGN.js +4 -0
- package/dist/chunk-L7K4GFJK.cjs +3 -0
- package/dist/chunk-LRJNSHQA.cjs +2 -0
- package/dist/chunk-MIEZCJHO.cjs +2 -0
- package/dist/chunk-MPK4ZX4R.js +3 -0
- package/dist/chunk-MPP74SLP.js +2 -0
- package/dist/chunk-ND64MB7X.js +2 -0
- package/dist/chunk-NSPDKMNR.cjs +2 -0
- package/dist/chunk-O6FFTCHY.js +3 -0
- package/dist/chunk-OAYQHFZC.cjs +3 -0
- package/dist/chunk-OG5MIFO6.js +3 -0
- package/dist/chunk-OHOQVW2M.js +3 -0
- package/dist/chunk-PKL3JLWF.js +2 -0
- package/dist/chunk-PSZZ5NTF.cjs +2 -0
- package/dist/chunk-QAVZFB5J.cjs +3 -0
- package/dist/chunk-QENB6W4I.cjs +4 -0
- package/dist/chunk-QGADB35M.js +4 -0
- package/dist/chunk-RFY7RXSM.js +3 -0
- package/dist/chunk-RL274CM3.cjs +2 -0
- package/dist/chunk-S37OVJTV.js +2 -0
- package/dist/chunk-TKOGPWM4.cjs +2 -0
- package/dist/chunk-TM36S4YW.cjs +2 -0
- package/dist/chunk-UI4NLXDH.cjs +2 -0
- package/dist/chunk-UWZYIALE.js +3 -0
- package/dist/chunk-VCELYR7Q.cjs +3 -0
- package/dist/chunk-VEIAMHP4.js +2 -0
- package/dist/chunk-VF7WOINA.cjs +2 -0
- package/dist/chunk-VG5VAHYR.cjs +3 -0
- package/dist/chunk-WEJOZLMZ.js +2 -0
- package/dist/chunk-WJBYPKLH.cjs +3 -0
- package/dist/chunk-WKHVRU4K.js +3 -0
- package/dist/chunk-WR7BWGMO.cjs +2 -0
- package/dist/chunk-X5VBG5D7.js +3 -0
- package/dist/chunk-XELIMPNH.cjs +4 -0
- package/dist/chunk-YACR35TD.js +4 -0
- package/dist/chunk-YUYEO5DZ.cjs +2 -0
- package/dist/chunk-ZDKN5LRE.js +3 -0
- package/dist/chunk-ZFYJXGZM.cjs +2 -0
- package/dist/chunk-ZMPSBRKW.js +2 -0
- package/dist/client/index.cjs +4 -0
- package/dist/client/index.d.cts +94 -0
- package/dist/client/index.d.ts +94 -0
- package/dist/client/index.js +6 -0
- package/dist/experimental/index.cjs +3 -3
- package/dist/experimental/index.d.cts +296 -100
- package/dist/experimental/index.d.ts +296 -100
- package/dist/experimental/index.js +3 -3
- package/dist/experimental/index.native.cjs +3 -1
- package/dist/experimental/index.native.d.cts +6 -5
- package/dist/experimental/index.native.d.ts +6 -5
- package/dist/experimental/index.native.js +3 -1
- package/dist/fixtures.cjs +252 -35
- package/dist/fixtures.d.ts +31 -14
- package/dist/fixtures.js +230 -31
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +201 -27
- package/dist/index.d.ts +201 -27
- package/dist/index.js +2 -3
- package/dist/index.native.cjs +3 -1
- package/dist/index.native.d.cts +52 -147
- package/dist/index.native.d.ts +52 -147
- package/dist/index.native.js +2 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/motionFeatures-AEY3XSQX.js +1 -0
- package/dist/motionFeatures-GFOZDTZE.js +1 -0
- package/dist/motionFeatures-H5RRG7RP.js +1 -0
- package/dist/motionFeatures-NR4MMJ3L.cjs +1 -0
- package/dist/motionFeatures-WFC6MN64.cjs +1 -0
- package/dist/motionFeatures-WUDKXXR7.js +1 -0
- package/dist/motionFeatures-XXMSSBUB.cjs +1 -0
- package/dist/motionFeatures-ZAB6OWON.cjs +1 -0
- package/dist/styles/toast.css +3 -1
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwind/plugin.cjs +3 -1
- package/dist/tailwind/plugin.d.cts +28 -5
- package/dist/tailwind/plugin.d.ts +28 -5
- package/dist/tailwind/plugin.js +3 -3
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +3 -3
- package/dist/tailwind/tsMorph.cjs +3 -1
- package/dist/tailwind/tsMorph.d.cts +1 -4
- package/dist/tailwind/tsMorph.d.ts +1 -4
- package/dist/tailwind/tsMorph.js +2 -3
- package/dist/tailwind/utils.cjs +1 -0
- package/dist/tailwind/utils.d.cts +98 -0
- package/dist/tailwind/utils.d.ts +98 -0
- package/dist/tailwind/utils.js +1 -0
- package/dist/tokens/index.cjs +1 -2
- package/dist/tokens/index.d.cts +41 -362
- package/dist/tokens/index.d.ts +41 -362
- package/dist/tokens/index.js +1 -2
- package/dist/tokens/index.native.cjs +3 -1
- package/dist/tokens/index.native.d.cts +24 -2
- package/dist/tokens/index.native.d.ts +24 -2
- package/dist/tokens/index.native.js +3 -1
- package/dist/tokens/parseTokens.cjs +1 -2
- package/dist/tokens/parseTokens.d.cts +7 -20
- package/dist/tokens/parseTokens.d.ts +7 -20
- package/dist/tokens/parseTokens.js +1 -2
- package/dist/types-BVfWAIpr.d.cts +909 -0
- package/dist/types-BVfWAIpr.d.ts +909 -0
- package/dist/types-BkcFcA6N.d.cts +909 -0
- package/dist/types-BkcFcA6N.d.ts +909 -0
- package/dist/types-C7KJV1b1.d.cts +943 -0
- package/dist/types-C7KJV1b1.d.ts +943 -0
- package/dist/types-DVTR9ROz.d.cts +942 -0
- package/dist/types-DVTR9ROz.d.ts +942 -0
- package/dist/types-JTm5E7im.d.cts +943 -0
- package/dist/types-JTm5E7im.d.ts +943 -0
- package/dist/types-uSRlDJAd.d.cts +942 -0
- package/dist/types-uSRlDJAd.d.ts +942 -0
- package/package.json +207 -195
- package/dist/VStack-BFIFJUVx.d.cts +0 -177
- package/dist/VStack-zgq0Zq3N.d.ts +0 -177
- package/dist/index.native-Gbm66c6M.d.ts +0 -317
- package/dist/index.native-OW5d35eT.d.cts +0 -317
- package/dist/styles/globals.css +0 -1
- package/dist/types-BofdnBTe.d.cts +0 -436
- package/dist/types-BofdnBTe.d.ts +0 -436
- package/dist/types-CLPge83Y.d.cts +0 -436
- package/dist/types-CLPge83Y.d.ts +0 -436
package/dist/fixtures.cjs
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.backgroundPaletteColors = exports.borderRadii = exports.borderRadiusRamp = exports.borderWidthRamp = exports.borderWidths = exports.buttonClassNames = exports.buttonColorProperties = exports.buttonIconSvgSize = exports.buttonKinds = exports.buttonMotionEffects = exports.buttonMotionProperties = exports.buttonPalettes = exports.buttonSizeProperties = exports.buttonSizes = exports.buttonStates = exports.buttonVariants = exports.colorModes = exports.corePaletteColors = exports.fontAliases = exports.fontIds = exports.fontSizeRamp = exports.fontUrls = exports.fontWeights = exports.foregroundColors = exports.foregroundPaletteColors = exports.hueSteps = exports.hues = exports.iconButtonClassNames = exports.iconButtonSizes = exports.iconSizes = exports.iconVariants = exports.lineColors = exports.lineHeightRamp = exports.linePaletteColors = exports.motionSpringConfig = exports.motionSpringConfigOptions = exports.motionVariantSpeeds = exports.motionVariants = exports.palette = exports.regionModes = exports.scaleEffectMap = exports.scaleModes = exports.spacingAliases = exports.spacingMap = exports.spectrumColors = exports.tailwindColorsAsUds = exports.textProperties = exports.textTransforms = exports.textVariants = exports.tshirtSizes = void 0;
|
4
|
+
exports.alwaysPaletteAliases = exports.avatarShapes = exports.avatarSizes = exports.backgroundColors = void 0;
|
4
5
|
// src/fixtures/index.ts
|
5
6
|
var colorModes = [
|
6
7
|
"light",
|
@@ -390,9 +391,9 @@ var spectrumColors = [
|
|
390
391
|
];
|
391
392
|
exports.spectrumColors = spectrumColors;
|
392
393
|
var corePaletteColors = [
|
394
|
+
"brand",
|
393
395
|
"accent",
|
394
396
|
"alert",
|
395
|
-
"brand",
|
396
397
|
"positive",
|
397
398
|
"warning"
|
398
399
|
];
|
@@ -675,7 +676,7 @@ var tailwindColorsAsUds = {
|
|
675
676
|
"400": "rgb(var(--uds-spectrum-color-purple-5))",
|
676
677
|
"500": "rgb(var(--uds-spectrum-color-purple-7))",
|
677
678
|
"600": "rgb(var(--uds-spectrum-color-purple-8))",
|
678
|
-
"700": "rgb(var(--uds-spectrum-color-purple-
|
679
|
+
"700": "rgb(var(--uds-spectrum-color-purple-9))",
|
679
680
|
"800": "rgb(var(--uds-spectrum-color-purple-11))",
|
680
681
|
"900": "rgb(var(--uds-spectrum-color-purple-11))",
|
681
682
|
"950": "rgb(var(--uds-spectrum-color-purple-13))"
|
@@ -751,15 +752,79 @@ var textVariants = [
|
|
751
752
|
"legal1"
|
752
753
|
];
|
753
754
|
exports.textVariants = textVariants;
|
754
|
-
var
|
755
|
-
"
|
755
|
+
var textProperties = [
|
756
|
+
"fontFamily",
|
757
|
+
"fontSize",
|
758
|
+
"fontWeight",
|
759
|
+
"lineHeight",
|
760
|
+
"textTransform"
|
761
|
+
];
|
762
|
+
exports.textProperties = textProperties;
|
763
|
+
var fontAliases = [
|
756
764
|
"sans",
|
757
|
-
"sans-
|
758
|
-
"
|
759
|
-
"serif-
|
760
|
-
"
|
765
|
+
"sans-alt",
|
766
|
+
"serif",
|
767
|
+
"serif-alt",
|
768
|
+
"mono"
|
761
769
|
];
|
762
|
-
exports.
|
770
|
+
exports.fontAliases = fontAliases;
|
771
|
+
var fontIds = [
|
772
|
+
"centra-no2",
|
773
|
+
"inter",
|
774
|
+
"roboto-mono",
|
775
|
+
"yahoo-sans",
|
776
|
+
"yahoo-sans-cr4",
|
777
|
+
"yahoo-sans-condensed",
|
778
|
+
"yahoo-serif-display",
|
779
|
+
"yahoo-serif-text"
|
780
|
+
];
|
781
|
+
exports.fontIds = fontIds;
|
782
|
+
var fontUrls = [
|
783
|
+
"https://s.yimg.com/bw/fonts/centra-no2-hairline.woff2",
|
784
|
+
"https://s.yimg.com/bw/fonts/centra-no2-hairline-italic.woff2",
|
785
|
+
"https://s.yimg.com/bw/fonts/centra-no2-thin.woff2",
|
786
|
+
"https://s.yimg.com/bw/fonts/centra-no2-thin-italic.woff2",
|
787
|
+
"https://s.yimg.com/bw/fonts/centra-no2-light.woff2",
|
788
|
+
"https://s.yimg.com/bw/fonts/centra-no2-light-italic.woff2",
|
789
|
+
"https://s.yimg.com/bw/fonts/centra-no2-book.woff2",
|
790
|
+
"https://s.yimg.com/bw/fonts/centra-no2-book-italic.woff2",
|
791
|
+
"https://s.yimg.com/bw/fonts/centra-no2-medium.woff2",
|
792
|
+
"https://s.yimg.com/bw/fonts/centra-no2-medium-italic.woff2",
|
793
|
+
"https://s.yimg.com/bw/fonts/centra-no2-bold.woff2",
|
794
|
+
"https://s.yimg.com/bw/fonts/centra-no2-bold-italic.woff2",
|
795
|
+
"https://s.yimg.com/bw/fonts/centra-no2-extrabold.woff2",
|
796
|
+
"https://s.yimg.com/bw/fonts/centra-no2-extrabold-italic.woff2",
|
797
|
+
"https://s.yimg.com/bw/fonts/centra-no2-black.woff2",
|
798
|
+
"https://s.yimg.com/bw/fonts/centra-no2-black-italic.woff2",
|
799
|
+
"https://s.yimg.com/bw/fonts/inter-vf.woff2",
|
800
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-100.woff2",
|
801
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2",
|
802
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-200.woff2",
|
803
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-200-italic.woff2",
|
804
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-300.woff2",
|
805
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2",
|
806
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-400.woff2",
|
807
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2",
|
808
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-500.woff2",
|
809
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2",
|
810
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-600.woff2",
|
811
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-600-italic.woff2",
|
812
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-700.woff2",
|
813
|
+
"https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2",
|
814
|
+
"https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2",
|
815
|
+
"https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2",
|
816
|
+
"https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2",
|
817
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2",
|
818
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2",
|
819
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2",
|
820
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2",
|
821
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2",
|
822
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2",
|
823
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2",
|
824
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2",
|
825
|
+
"https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2"
|
826
|
+
];
|
827
|
+
exports.fontUrls = fontUrls;
|
763
828
|
var fontWeights = [
|
764
829
|
"light",
|
765
830
|
"medium",
|
@@ -1159,6 +1224,11 @@ var iconSizes = [
|
|
1159
1224
|
"lg"
|
1160
1225
|
];
|
1161
1226
|
exports.iconSizes = iconSizes;
|
1227
|
+
var iconVariants = [
|
1228
|
+
"fill",
|
1229
|
+
"outline"
|
1230
|
+
];
|
1231
|
+
exports.iconVariants = iconVariants;
|
1162
1232
|
var spacingAliases = [
|
1163
1233
|
"0",
|
1164
1234
|
"px",
|
@@ -1235,41 +1305,30 @@ var spacingMap = {
|
|
1235
1305
|
"96": 384
|
1236
1306
|
};
|
1237
1307
|
exports.spacingMap = spacingMap;
|
1238
|
-
var
|
1239
|
-
"
|
1240
|
-
"
|
1241
|
-
"
|
1242
|
-
"
|
1243
|
-
"
|
1244
|
-
"
|
1245
|
-
"
|
1246
|
-
"alert-outline",
|
1247
|
-
"brand-outline",
|
1248
|
-
"positive-outline",
|
1249
|
-
"warning-outline",
|
1250
|
-
"accent-ghost",
|
1251
|
-
"alert-ghost",
|
1252
|
-
"brand-ghost",
|
1253
|
-
"positive-ghost",
|
1254
|
-
"warning-ghost",
|
1255
|
-
"primary-ghost",
|
1256
|
-
"primary-outline"
|
1308
|
+
var tshirtSizes = [
|
1309
|
+
"none",
|
1310
|
+
"xs",
|
1311
|
+
"sm",
|
1312
|
+
"md",
|
1313
|
+
"lg",
|
1314
|
+
"xl",
|
1315
|
+
"full"
|
1257
1316
|
];
|
1258
|
-
exports.
|
1259
|
-
var
|
1317
|
+
exports.tshirtSizes = tshirtSizes;
|
1318
|
+
var buttonVariants = [
|
1260
1319
|
"primary",
|
1261
1320
|
"secondary",
|
1262
1321
|
"tertiary"
|
1263
1322
|
];
|
1264
|
-
exports.
|
1265
|
-
var
|
1323
|
+
exports.buttonVariants = buttonVariants;
|
1324
|
+
var buttonPalettes = [
|
1325
|
+
"brand",
|
1266
1326
|
"accent",
|
1267
1327
|
"alert",
|
1268
|
-
"brand",
|
1269
1328
|
"positive",
|
1270
1329
|
"warning"
|
1271
1330
|
];
|
1272
|
-
exports.
|
1331
|
+
exports.buttonPalettes = buttonPalettes;
|
1273
1332
|
var buttonSizes = [
|
1274
1333
|
"sm",
|
1275
1334
|
"md",
|
@@ -1281,9 +1340,167 @@ var buttonStates = [
|
|
1281
1340
|
"pressed"
|
1282
1341
|
];
|
1283
1342
|
exports.buttonStates = buttonStates;
|
1343
|
+
var buttonKinds = [
|
1344
|
+
"fill",
|
1345
|
+
"outline",
|
1346
|
+
"ghost"
|
1347
|
+
];
|
1348
|
+
exports.buttonKinds = buttonKinds;
|
1349
|
+
var buttonIconSvgSize = "sm";
|
1350
|
+
exports.buttonIconSvgSize = buttonIconSvgSize;
|
1284
1351
|
var buttonColorProperties = [
|
1285
1352
|
"backgroundColor",
|
1286
1353
|
"borderColor",
|
1287
1354
|
"color"
|
1288
1355
|
];
|
1289
1356
|
exports.buttonColorProperties = buttonColorProperties;
|
1357
|
+
var buttonSizeProperties = [
|
1358
|
+
"spacingHorizontal",
|
1359
|
+
"spacingVertical",
|
1360
|
+
"gap",
|
1361
|
+
"iconSize",
|
1362
|
+
"textVariant"
|
1363
|
+
];
|
1364
|
+
exports.buttonSizeProperties = buttonSizeProperties;
|
1365
|
+
var buttonMotionProperties = [
|
1366
|
+
"toString",
|
1367
|
+
"charAt",
|
1368
|
+
"charCodeAt",
|
1369
|
+
"concat",
|
1370
|
+
"indexOf",
|
1371
|
+
"lastIndexOf",
|
1372
|
+
"localeCompare",
|
1373
|
+
"match",
|
1374
|
+
"replace",
|
1375
|
+
"search",
|
1376
|
+
"slice",
|
1377
|
+
"split",
|
1378
|
+
"substring",
|
1379
|
+
"toLowerCase",
|
1380
|
+
"toLocaleLowerCase",
|
1381
|
+
"toUpperCase",
|
1382
|
+
"toLocaleUpperCase",
|
1383
|
+
"trim",
|
1384
|
+
"length",
|
1385
|
+
"substr",
|
1386
|
+
"valueOf",
|
1387
|
+
"codePointAt",
|
1388
|
+
"includes",
|
1389
|
+
"endsWith",
|
1390
|
+
"normalize",
|
1391
|
+
"repeat",
|
1392
|
+
"startsWith",
|
1393
|
+
"anchor",
|
1394
|
+
"big",
|
1395
|
+
"blink",
|
1396
|
+
"bold",
|
1397
|
+
"fixed",
|
1398
|
+
"fontcolor",
|
1399
|
+
"fontsize",
|
1400
|
+
"italics",
|
1401
|
+
"link",
|
1402
|
+
"small",
|
1403
|
+
"strike",
|
1404
|
+
"sub",
|
1405
|
+
"sup",
|
1406
|
+
"padStart",
|
1407
|
+
"padEnd",
|
1408
|
+
"trimEnd",
|
1409
|
+
"trimStart",
|
1410
|
+
"trimLeft",
|
1411
|
+
"trimRight",
|
1412
|
+
"matchAll",
|
1413
|
+
"replaceAll",
|
1414
|
+
"at",
|
1415
|
+
"isWellFormed",
|
1416
|
+
"toWellFormed",
|
1417
|
+
"__@iterator@52"
|
1418
|
+
];
|
1419
|
+
exports.buttonMotionProperties = buttonMotionProperties;
|
1420
|
+
var buttonMotionEffects = [
|
1421
|
+
"none",
|
1422
|
+
"up",
|
1423
|
+
"down"
|
1424
|
+
];
|
1425
|
+
exports.buttonMotionEffects = buttonMotionEffects;
|
1426
|
+
var buttonClassNames = [
|
1427
|
+
"uds-button-brand",
|
1428
|
+
"uds-button-accent",
|
1429
|
+
"uds-button-alert",
|
1430
|
+
"uds-button-positive",
|
1431
|
+
"uds-button-warning",
|
1432
|
+
"uds-button-primary",
|
1433
|
+
"uds-button-secondary",
|
1434
|
+
"uds-button-tertiary",
|
1435
|
+
"uds-button-sm",
|
1436
|
+
"uds-button-md",
|
1437
|
+
"uds-button-lg",
|
1438
|
+
"uds-button"
|
1439
|
+
];
|
1440
|
+
exports.buttonClassNames = buttonClassNames;
|
1441
|
+
var iconButtonSizes = [
|
1442
|
+
"xs",
|
1443
|
+
"sm",
|
1444
|
+
"md",
|
1445
|
+
"lg",
|
1446
|
+
"xl"
|
1447
|
+
];
|
1448
|
+
exports.iconButtonSizes = iconButtonSizes;
|
1449
|
+
var iconButtonClassNames = [
|
1450
|
+
"uds-icon-button-xs",
|
1451
|
+
"uds-icon-button-sm",
|
1452
|
+
"uds-icon-button-md",
|
1453
|
+
"uds-icon-button-lg",
|
1454
|
+
"uds-icon-button-xl",
|
1455
|
+
"uds-icon-button"
|
1456
|
+
];
|
1457
|
+
exports.iconButtonClassNames = iconButtonClassNames;
|
1458
|
+
var motionVariants = [
|
1459
|
+
"damped",
|
1460
|
+
"smooth",
|
1461
|
+
"subtle",
|
1462
|
+
"bouncy",
|
1463
|
+
"veryBouncy"
|
1464
|
+
];
|
1465
|
+
exports.motionVariants = motionVariants;
|
1466
|
+
var motionVariantSpeeds = [
|
1467
|
+
"1",
|
1468
|
+
"2",
|
1469
|
+
"3",
|
1470
|
+
"4"
|
1471
|
+
];
|
1472
|
+
exports.motionVariantSpeeds = motionVariantSpeeds;
|
1473
|
+
var motionSpringConfig = [
|
1474
|
+
"damping",
|
1475
|
+
"stiffness"
|
1476
|
+
];
|
1477
|
+
exports.motionSpringConfig = motionSpringConfig;
|
1478
|
+
var motionSpringConfigOptions = [
|
1479
|
+
"damping",
|
1480
|
+
"stiffness"
|
1481
|
+
];
|
1482
|
+
exports.motionSpringConfigOptions = motionSpringConfigOptions;
|
1483
|
+
var scaleEffectMap = {
|
1484
|
+
none: {
|
1485
|
+
xs: "1",
|
1486
|
+
sm: "1",
|
1487
|
+
md: "1",
|
1488
|
+
lg: "1",
|
1489
|
+
xl: "1"
|
1490
|
+
},
|
1491
|
+
up: {
|
1492
|
+
xs: "1.0125",
|
1493
|
+
sm: "1.03",
|
1494
|
+
md: "1.125",
|
1495
|
+
lg: "1.25",
|
1496
|
+
xl: "2"
|
1497
|
+
},
|
1498
|
+
down: {
|
1499
|
+
xs: "0.9875",
|
1500
|
+
sm: "0.97",
|
1501
|
+
md: "0.875",
|
1502
|
+
lg: "0.75",
|
1503
|
+
xl: "0.5"
|
1504
|
+
}
|
1505
|
+
};
|
1506
|
+
exports.scaleEffectMap = scaleEffectMap;
|
package/dist/fixtures.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { BackgroundPaletteAlias, BorderWidth, ButtonColorProperty, ButtonState, ButtonVariant,
|
1
|
+
import type { BackgroundPaletteAlias, BorderWidth, ButtonClassName, ButtonColorProperty, ButtonKind, ButtonMotionEffect, ButtonSize, ButtonState, ButtonVariant, ColorMode, CorePaletteAlias, FontAlias, FontFamilyCDNUrl, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconButtonClassName, IconButtonSize, IconVariant, LinePaletteAlias, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, RegionMode, ScaleEffectMap, ScaleMode, SpacingAlias, TextProperty, TextTransform, TextVariant, TShirtSize } from '@yahoo/uds/tokens';
|
2
2
|
declare const colorModes: ColorMode[];
|
3
3
|
declare const scaleModes: ScaleMode[];
|
4
4
|
declare const regionModes: RegionMode[];
|
@@ -21,7 +21,10 @@ declare const palette: {
|
|
21
21
|
};
|
22
22
|
declare const tailwindColorsAsUds: Record<"gray" | "purple" | "indigo" | "blue" | "cyan" | "teal" | "green" | "lime" | "yellow" | "orange" | "red" | "rose" | "pink" | "transparent" | "white" | "black" | "current" | "inherit" | "slate" | "zinc" | "neutral" | "stone" | "amber" | "emerald" | "sky" | "violet" | "fuchsia", Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "950", string>>;
|
23
23
|
declare const textVariants: TextVariant[];
|
24
|
-
declare const
|
24
|
+
declare const textProperties: TextProperty[];
|
25
|
+
declare const fontAliases: FontAlias[];
|
26
|
+
declare const fontIds: ("centra-no2" | "inter" | "roboto-mono" | "yahoo-sans" | "yahoo-sans-cr4" | "yahoo-sans-condensed" | "yahoo-serif-display" | "yahoo-serif-text")[];
|
27
|
+
declare const fontUrls: FontFamilyCDNUrl[];
|
25
28
|
declare const fontWeights: FontWeightDescriptive[];
|
26
29
|
declare const textTransforms: TextTransform[];
|
27
30
|
declare const fontSizeRamp: {
|
@@ -43,16 +46,16 @@ declare const lineHeightRamp: {
|
|
43
46
|
xxxLarge: Record<TextVariant, number>;
|
44
47
|
};
|
45
48
|
declare const avatarSizes: import("@yahoo/uds/tokens").TShirtSizeCommon[];
|
46
|
-
declare const avatarShapes:
|
47
|
-
declare const borderRadii:
|
49
|
+
declare const avatarShapes: TShirtSize[];
|
50
|
+
declare const borderRadii: TShirtSize[];
|
48
51
|
declare const borderRadiusRamp: {
|
49
|
-
xSmall: Record<
|
50
|
-
small: Record<
|
51
|
-
medium: Record<
|
52
|
-
large: Record<
|
53
|
-
xLarge: Record<
|
54
|
-
xxLarge: Record<
|
55
|
-
xxxLarge: Record<
|
52
|
+
xSmall: Record<TShirtSize, number>;
|
53
|
+
small: Record<TShirtSize, number>;
|
54
|
+
medium: Record<TShirtSize, number>;
|
55
|
+
large: Record<TShirtSize, number>;
|
56
|
+
xLarge: Record<TShirtSize, number>;
|
57
|
+
xxLarge: Record<TShirtSize, number>;
|
58
|
+
xxxLarge: Record<TShirtSize, number>;
|
56
59
|
};
|
57
60
|
declare const borderWidths: BorderWidth[];
|
58
61
|
declare const borderWidthRamp: {
|
@@ -65,13 +68,27 @@ declare const borderWidthRamp: {
|
|
65
68
|
xxxLarge: Record<BorderWidth, number>;
|
66
69
|
};
|
67
70
|
declare const iconSizes: import("@yahoo/uds/tokens").TShirtSizeCommon[];
|
71
|
+
declare const iconVariants: IconVariant[];
|
68
72
|
/** Preserve order we want to display */
|
69
73
|
declare const spacingAliases: SpacingAlias[];
|
70
74
|
declare const spacingMap: Record<SpacingAlias, number>;
|
75
|
+
declare const tshirtSizes: TShirtSize[];
|
71
76
|
declare const buttonVariants: ButtonVariant[];
|
72
|
-
declare const
|
73
|
-
declare const buttonCategories: CorePaletteAlias[];
|
77
|
+
declare const buttonPalettes: CorePaletteAlias[];
|
74
78
|
declare const buttonSizes: import("@yahoo/uds/tokens").TShirtSizeCommon[];
|
75
79
|
declare const buttonStates: ButtonState[];
|
80
|
+
declare const buttonKinds: ButtonKind[];
|
81
|
+
declare const buttonIconSvgSize: ButtonSize;
|
76
82
|
declare const buttonColorProperties: ButtonColorProperty[];
|
77
|
-
|
83
|
+
declare const buttonSizeProperties: (keyof import("@yahoo/uds/tokens").ButtonSizeConfig)[];
|
84
|
+
declare const buttonMotionProperties: "scale"[];
|
85
|
+
declare const buttonMotionEffects: ButtonMotionEffect[];
|
86
|
+
declare const buttonClassNames: ButtonClassName[];
|
87
|
+
declare const iconButtonSizes: IconButtonSize[];
|
88
|
+
declare const iconButtonClassNames: IconButtonClassName[];
|
89
|
+
declare const motionVariants: MotionVariant[];
|
90
|
+
declare const motionVariantSpeeds: MotionVariantSpeed[];
|
91
|
+
declare const motionSpringConfig: Required<Pick<import("framer-motion").Spring, MotionSpringConfigOptions>>[];
|
92
|
+
declare const motionSpringConfigOptions: MotionSpringConfigOptions[];
|
93
|
+
declare const scaleEffectMap: ScaleEffectMap;
|
94
|
+
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, borderRadii, borderRadiusRamp, borderWidthRamp, borderWidths, buttonClassNames, buttonColorProperties, buttonIconSvgSize, buttonKinds, buttonMotionEffects, buttonMotionProperties, buttonPalettes, buttonSizeProperties, buttonSizes, buttonStates, buttonVariants, colorModes, corePaletteColors, fontAliases, fontIds, fontSizeRamp, fontUrls, fontWeights, foregroundColors, foregroundPaletteColors, hues, hueSteps, iconButtonClassNames, iconButtonSizes, iconSizes, iconVariants, lineColors, lineHeightRamp, linePaletteColors, motionSpringConfig, motionSpringConfigOptions, motionVariants, motionVariantSpeeds, palette, regionModes, scaleEffectMap, scaleModes, spacingAliases, spacingMap, spectrumColors, tailwindColorsAsUds, textProperties, textTransforms, textVariants, tshirtSizes, };
|