@yahoo/uds 3.54.0 → 3.54.2
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/{Box-BTypshx6.d.ts → Box-CZiBJY-U.d.ts} +1 -1
- package/dist/{Box-UFimrc8A.d.cts → Box-Dj8Mwnuq.d.cts} +1 -1
- package/dist/Box-L9TrtxY6.d.cts +34 -0
- package/dist/Box-ZfxGUUQ-.d.ts +34 -0
- package/dist/{Pressable-DjIXR0Fy.d.ts → Pressable-BsSxG1mQ.d.ts} +1 -1
- package/dist/{Pressable-CfDFSCDf.d.cts → Pressable-Bzvs31vV.d.cts} +1 -1
- package/dist/Pressable-C042bbJQ.d.cts +44 -0
- package/dist/Pressable-CrGdyngS.d.ts +44 -0
- package/dist/{Text-CiP8Me3d.d.cts → Text-CTWa1DHn.d.cts} +1 -1
- package/dist/Text-CVlnCCWA.d.cts +88 -0
- package/dist/{Text-DyzX3P8H.d.ts → Text-cfrk-aSz.d.ts} +1 -1
- package/dist/Text-fHksnirL.d.ts +88 -0
- package/dist/{VStack-BmvkK46o.d.ts → VStack-APl_ya0J.d.ts} +2 -2
- package/dist/VStack-BX-qY0m6.d.ts +83 -0
- package/dist/{VStack-4RUygAt3.d.cts → VStack-CF3Bbwfr.d.cts} +2 -2
- package/dist/VStack-DasFpGHh.d.cts +83 -0
- package/dist/{chunk-24SIYFLS.cjs → chunk-2AZATKLC.cjs} +2 -2
- package/dist/chunk-2YPNAVSY.cjs +2 -0
- package/dist/chunk-3ZCMMPZA.js +1 -0
- package/dist/{chunk-A775CEIC.cjs → chunk-4GYR7JAY.cjs} +1 -1
- package/dist/{chunk-UOJB4RWR.cjs → chunk-4IANEB6Y.cjs} +1 -1
- package/dist/{chunk-IANOIZPS.js → chunk-4WJHTN3D.js} +2 -2
- package/dist/{chunk-H2PC65MR.cjs → chunk-5PRLWXYU.cjs} +1 -1
- package/dist/{chunk-PPFRPMS7.js → chunk-AHWB6J2Q.js} +1 -1
- package/dist/{chunk-7QVCKS7V.js → chunk-AMGEYAT4.js} +1 -1
- package/dist/chunk-BAZC5ETD.js +3 -0
- package/dist/chunk-BM7BPYJZ.js +2 -0
- package/dist/chunk-CXQDRT7W.cjs +1 -0
- package/dist/{chunk-WQLTYMTS.cjs → chunk-DOTDBCVN.cjs} +1 -1
- package/dist/{chunk-VZQYI656.cjs → chunk-ERXK2CJF.cjs} +1 -1
- package/dist/chunk-GXRVCRLG.cjs +1 -0
- package/dist/chunk-HK7AJH52.js +2 -0
- package/dist/{chunk-HOZMPN3Y.js → chunk-HZ4E7D46.js} +1 -1
- package/dist/chunk-IYS3XCK5.js +2 -0
- package/dist/{chunk-5ZBIY6AW.js → chunk-JK4C6HHW.js} +1 -1
- package/dist/{chunk-EHDEWVLV.js → chunk-JQTRJCS3.js} +1 -1
- package/dist/chunk-KH7DL4GJ.cjs +2 -0
- package/dist/{chunk-MUVYEL64.js → chunk-LGFZ2QKW.js} +2 -2
- package/dist/chunk-LNJIO5US.js +2 -0
- package/dist/{chunk-26KCJWEG.cjs → chunk-LTL7T7YV.cjs} +1 -1
- package/dist/{chunk-VHVEHH3Z.cjs → chunk-M36CUGIZ.cjs} +1 -1
- package/dist/{chunk-G4XGZNEI.cjs → chunk-OMWWNWFN.cjs} +1 -1
- package/dist/{chunk-XHHJDMZ3.js → chunk-P5JT7DZ7.js} +3 -3
- package/dist/chunk-PH6MAF7V.cjs +1 -0
- package/dist/chunk-REBNTOTC.cjs +1 -0
- package/dist/chunk-RKYTJ6XJ.js +2 -0
- package/dist/chunk-RRXNQVLV.cjs +1 -0
- package/dist/{chunk-ZG2QBSTD.js → chunk-SIH6N4MG.js} +1 -1
- package/dist/chunk-U57GLRER.cjs +1 -0
- package/dist/chunk-U6EFKQU3.cjs +1 -0
- package/dist/chunk-WXMFQDBD.js +2 -0
- package/dist/chunk-XQL5LDQJ.js +2 -0
- package/dist/chunk-XTSSNOPG.cjs +1 -0
- package/dist/chunk-YXAAENJE.js +1 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/fixtures.cjs +2 -344
- package/dist/fixtures.d.cts +1 -19
- package/dist/fixtures.d.ts +1 -19
- package/dist/fixtures.js +1 -341
- package/dist/{index-CynzbL1I.d.ts → index-DvgJJnbq.d.ts} +1 -1
- package/dist/index-OprbCsvg.d.ts +243 -0
- package/dist/index-e-O3LVBN.d.cts +243 -0
- package/dist/{index-C8Il81Uq.d.cts → index-jFh7u5rS.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +105 -105
- package/dist/index.d.ts +105 -105
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +218 -218
- package/dist/tokens/index.d.ts +218 -218
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +7 -19
- package/dist/tokens/parseTokens.d.ts +7 -19
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-DCAXTOkZ.d.cts → types-BAsHl1tU.d.cts} +1939 -1946
- package/dist/{types-DCAXTOkZ.d.ts → types-BAsHl1tU.d.ts} +1939 -1946
- package/dist/types-DSC_fUuJ.d.cts +10609 -0
- package/dist/types-DSC_fUuJ.d.ts +10609 -0
- package/package.json +1 -1
- package/dist/chunk-F43AI46P.cjs +0 -1
- package/dist/chunk-MLPUM5T5.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-DSC_fUuJ.js';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -12,30 +12,18 @@ declare function transformColors(colors: ColorsConfig): {
|
|
|
12
12
|
palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string>; };
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
declare function
|
|
15
|
+
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
|
|
16
16
|
_vars: Record<string, string>;
|
|
17
|
-
_raw:
|
|
18
|
-
tailwindConfig: Record<string, string>;
|
|
19
|
-
};
|
|
20
|
-
declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: T[keyof T]) => string): {
|
|
21
|
-
_vars: Record<string, string>;
|
|
22
|
-
_raw: T;
|
|
17
|
+
_raw: Record<string, number>;
|
|
23
18
|
tailwindConfig: Record<string, string>;
|
|
24
19
|
};
|
|
25
20
|
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
|
|
26
21
|
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
|
27
22
|
scaleMode: Record<ScaleMode, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
fontWidth: ReturnType<typeof transformNumeric>;
|
|
33
|
-
lineHeight: ReturnType<typeof transformNumeric>;
|
|
34
|
-
textTransform: ReturnType<typeof transformString>;
|
|
35
|
-
borderRadius: ReturnType<typeof transformNumeric>;
|
|
36
|
-
borderWidth: ReturnType<typeof transformNumeric>;
|
|
37
|
-
avatarSizes: ReturnType<typeof transformNumeric>;
|
|
38
|
-
iconSizes: ReturnType<typeof transformNumeric>;
|
|
23
|
+
borderRadius: ReturnType<typeof transformNumericToPx>;
|
|
24
|
+
borderWidth: ReturnType<typeof transformNumericToPx>;
|
|
25
|
+
avatarSizes: ReturnType<typeof transformNumericToPx>;
|
|
26
|
+
iconSizes: ReturnType<typeof transformNumericToPx>;
|
|
39
27
|
}>;
|
|
40
28
|
};
|
|
41
29
|
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{parseTokens}from"../chunk-
|
|
1
|
+
export{parseTokens}from"../chunk-RKYTJ6XJ.js";
|