@yahoo/uds 3.150.0 → 3.150.1-beta.1
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/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/css/dist/purger/optimized/purgeFromCode.cjs +5 -3
- package/dist/css/dist/purger/optimized/purgeFromCode.js +5 -3
- package/dist/uds/generated/componentData.cjs +1785 -1785
- package/dist/uds/generated/componentData.js +1785 -1785
- package/dist/uds/generated/tailwindPurge.cjs +42 -5
- package/dist/uds/generated/tailwindPurge.js +42 -5
- package/generated/componentData.json +2495 -2495
- package/generated/tailwindPurge.ts +3 -3
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ declare function usePopoverConfig(sizeProp?: PopoverSize | undefined, variantPro
|
|
|
29
29
|
gap: SpacingAlias;
|
|
30
30
|
dismissButtonSpacing: SpacingAlias;
|
|
31
31
|
dismissIconSize: number;
|
|
32
|
-
ariaKitPlacement: ("
|
|
32
|
+
ariaKitPlacement: ("bottom-start" | "bottom-end" | "top-start" | "top-end" | ("bottom" | "left" | "right" | "top") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
|
|
33
33
|
animationDuration: number;
|
|
34
34
|
};
|
|
35
35
|
//#endregion
|
|
@@ -30,7 +30,7 @@ declare function usePopoverConfig(sizeProp?: PopoverSize | undefined, variantPro
|
|
|
30
30
|
gap: SpacingAlias;
|
|
31
31
|
dismissButtonSpacing: SpacingAlias;
|
|
32
32
|
dismissIconSize: number;
|
|
33
|
-
ariaKitPlacement: ("
|
|
33
|
+
ariaKitPlacement: ("bottom-start" | "bottom-end" | "top-start" | "top-end" | ("bottom" | "left" | "right" | "top") | "left-start" | "right-start" | "left-end" | "right-end") | undefined;
|
|
34
34
|
animationDuration: number;
|
|
35
35
|
};
|
|
36
36
|
//#endregion
|
|
@@ -62,11 +62,13 @@ const isUdsComponentModule = (moduleSpecifier) => {
|
|
|
62
62
|
return cleaned === "@yahoo/uds" || cleaned.startsWith("@yahoo/uds/");
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
|
-
* Normalize component name to match autoVariants keys (
|
|
65
|
+
* Normalize component name to match autoVariants keys (fully lowercase, no
|
|
66
|
+
* punctuation). autoVariants keys lowercase the entire component label (e.g.
|
|
67
|
+
* `menucontentSizeRoot`), so full lowercasing keeps the normalized prefix
|
|
68
|
+
* aligned with those keys and makes namespace/flat aliases resolve consistently.
|
|
66
69
|
*/
|
|
67
70
|
const normalizeComponentName = (name) => {
|
|
68
|
-
|
|
69
|
-
return cleaned.charAt(0).toLowerCase() + cleaned.slice(1);
|
|
71
|
+
return name.replace(/\W/g, "").toLowerCase();
|
|
70
72
|
};
|
|
71
73
|
/**
|
|
72
74
|
* Fallback: infer prop -> variant key mapping from autoVariants when the
|
|
@@ -61,11 +61,13 @@ const isUdsComponentModule = (moduleSpecifier) => {
|
|
|
61
61
|
return cleaned === "@yahoo/uds" || cleaned.startsWith("@yahoo/uds/");
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
* Normalize component name to match autoVariants keys (
|
|
64
|
+
* Normalize component name to match autoVariants keys (fully lowercase, no
|
|
65
|
+
* punctuation). autoVariants keys lowercase the entire component label (e.g.
|
|
66
|
+
* `menucontentSizeRoot`), so full lowercasing keeps the normalized prefix
|
|
67
|
+
* aligned with those keys and makes namespace/flat aliases resolve consistently.
|
|
65
68
|
*/
|
|
66
69
|
const normalizeComponentName = (name) => {
|
|
67
|
-
|
|
68
|
-
return cleaned.charAt(0).toLowerCase() + cleaned.slice(1);
|
|
70
|
+
return name.replace(/\W/g, "").toLowerCase();
|
|
69
71
|
};
|
|
70
72
|
/**
|
|
71
73
|
* Fallback: infer prop -> variant key mapping from autoVariants when the
|