@yahoo/uds 3.32.0 → 3.33.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/experimental/client/SwitchV2.js +0 -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 +3 -2
- package/dist/tailwind/plugin.d.ts +3 -2
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/utils.d.cts +4 -4
- package/dist/tailwind/utils.d.ts +4 -4
- package/package.json +1 -1
@@ -27,8 +27,8 @@ type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBo
|
|
27
27
|
declare const udsToTailwindMap: {
|
28
28
|
fontSize: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6", TwdFontSize>;
|
29
29
|
lineHeight: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6", TwdFontSize>;
|
30
|
-
borderRadius: Record<"
|
31
|
-
borderWidth: Record<"
|
30
|
+
borderRadius: Record<"sm" | "md" | "lg" | "xl" | "xs", TwBorderRadius>;
|
31
|
+
borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
|
32
32
|
};
|
33
33
|
|
34
34
|
declare function getButtonColorForProperty(property: ButtonColorProperty, { type, value }: ButtonColorPropertyConfig[ButtonColorProperty], theme: ThemeFn): string;
|
@@ -51,6 +51,7 @@ interface TailwindPluginOptions {
|
|
51
51
|
/**
|
52
52
|
* Enable responsive type ramp styles.
|
53
53
|
* @default false
|
54
|
+
* @deprecated This is now set in the uds.config
|
54
55
|
*/
|
55
56
|
enableResponsiveTypeRamp?: boolean;
|
56
57
|
/**
|
@@ -27,8 +27,8 @@ type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBo
|
|
27
27
|
declare const udsToTailwindMap: {
|
28
28
|
fontSize: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6", TwdFontSize>;
|
29
29
|
lineHeight: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6", TwdFontSize>;
|
30
|
-
borderRadius: Record<"
|
31
|
-
borderWidth: Record<"
|
30
|
+
borderRadius: Record<"sm" | "md" | "lg" | "xl" | "xs", TwBorderRadius>;
|
31
|
+
borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
|
32
32
|
};
|
33
33
|
|
34
34
|
declare function getButtonColorForProperty(property: ButtonColorProperty, { type, value }: ButtonColorPropertyConfig[ButtonColorProperty], theme: ThemeFn): string;
|
@@ -51,6 +51,7 @@ interface TailwindPluginOptions {
|
|
51
51
|
/**
|
52
52
|
* Enable responsive type ramp styles.
|
53
53
|
* @default false
|
54
|
+
* @deprecated This is now set in the uds.config
|
54
55
|
*/
|
55
56
|
enableResponsiveTypeRamp?: boolean;
|
56
57
|
/**
|