@yahoo/uds 3.131.0-beta.1 → 3.131.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.
Files changed (216) hide show
  1. package/dist/automated-config/dist/properties.d.cts +1 -1
  2. package/dist/automated-config/dist/properties.d.ts +1 -1
  3. package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +1 -1
  4. package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +1 -1
  5. package/dist/components/Banner/Banner.d.cts +1 -1
  6. package/dist/components/Banner/Banner.d.ts +1 -1
  7. package/dist/components/Banner/utils.d.cts +1 -1
  8. package/dist/components/Banner/utils.d.ts +1 -1
  9. package/dist/components/Box.d.cts +1 -1
  10. package/dist/components/Box.d.ts +1 -1
  11. package/dist/components/Divider/DividerCore.d.cts +1 -1
  12. package/dist/components/Divider/DividerCore.d.ts +1 -1
  13. package/dist/components/Divider/DividerInternal.d.cts +1 -1
  14. package/dist/components/Divider/DividerInternal.d.ts +1 -1
  15. package/dist/components/FormLabel.d.cts +1 -1
  16. package/dist/components/FormLabel.d.ts +1 -1
  17. package/dist/components/HStack.d.cts +1 -1
  18. package/dist/components/HStack.d.ts +1 -1
  19. package/dist/components/Icon.cjs +6 -15
  20. package/dist/components/Icon.d.cts +1 -0
  21. package/dist/components/Icon.d.ts +1 -0
  22. package/dist/components/Icon.js +7 -16
  23. package/dist/components/IconSlot.cjs +6 -25
  24. package/dist/components/IconSlot.d.cts +2 -3
  25. package/dist/components/IconSlot.d.ts +2 -3
  26. package/dist/components/IconSlot.js +5 -25
  27. package/dist/components/Image.d.cts +1 -1
  28. package/dist/components/Image.d.ts +1 -1
  29. package/dist/components/Link.d.cts +1 -1
  30. package/dist/components/Link.d.ts +1 -1
  31. package/dist/components/Text.d.cts +1 -1
  32. package/dist/components/Text.d.ts +1 -1
  33. package/dist/components/VStack.d.cts +1 -1
  34. package/dist/components/VStack.d.ts +1 -1
  35. package/dist/components/client/Avatar/AvatarIcon.d.cts +1 -1
  36. package/dist/components/client/Avatar/AvatarIcon.d.ts +1 -1
  37. package/dist/components/client/Avatar/AvatarImage.d.cts +1 -1
  38. package/dist/components/client/Avatar/AvatarImage.d.ts +1 -1
  39. package/dist/components/client/Avatar/AvatarText.d.cts +1 -1
  40. package/dist/components/client/Avatar/AvatarText.d.ts +1 -1
  41. package/dist/components/client/Avatar/utils.d.cts +1 -1
  42. package/dist/components/client/Avatar/utils.d.ts +1 -1
  43. package/dist/components/client/Badge.d.cts +1 -1
  44. package/dist/components/client/Badge.d.ts +1 -1
  45. package/dist/components/client/BottomSheet/BottomSheet.d.cts +1 -1
  46. package/dist/components/client/BottomSheet/BottomSheet.d.ts +1 -1
  47. package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +1 -1
  48. package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +1 -1
  49. package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +1 -1
  50. package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +1 -1
  51. package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +1 -1
  52. package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +1 -1
  53. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +1 -1
  54. package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +1 -1
  55. package/dist/components/client/BottomSheet/utils.d.cts +1 -1
  56. package/dist/components/client/BottomSheet/utils.d.ts +1 -1
  57. package/dist/components/client/Button.d.cts +1 -1
  58. package/dist/components/client/Button.d.ts +1 -1
  59. package/dist/components/client/Checkbox.d.cts +1 -1
  60. package/dist/components/client/Checkbox.d.ts +1 -1
  61. package/dist/components/client/Chip/ChipBase.d.cts +1 -1
  62. package/dist/components/client/Chip/ChipBase.d.ts +1 -1
  63. package/dist/components/client/Chip/ChipButton.d.cts +1 -1
  64. package/dist/components/client/Chip/ChipButton.d.ts +1 -1
  65. package/dist/components/client/Chip/ChipDismissible.d.cts +1 -1
  66. package/dist/components/client/Chip/ChipDismissible.d.ts +1 -1
  67. package/dist/components/client/Chip/ChipLink.d.cts +1 -1
  68. package/dist/components/client/Chip/ChipLink.d.ts +1 -1
  69. package/dist/components/client/Chip/ChipToggle.d.cts +1 -1
  70. package/dist/components/client/Chip/ChipToggle.d.ts +1 -1
  71. package/dist/components/client/IconButton.cjs +1 -6
  72. package/dist/components/client/IconButton.js +1 -6
  73. package/dist/components/client/Input/Input.d.cts +1 -1
  74. package/dist/components/client/Input/Input.d.ts +1 -1
  75. package/dist/components/client/Input/InputHelpTextInternal.d.cts +1 -1
  76. package/dist/components/client/Input/InputHelpTextInternal.d.ts +1 -1
  77. package/dist/components/client/Menu/Menu.Content.d.cts +1 -1
  78. package/dist/components/client/Menu/Menu.Content.d.ts +1 -1
  79. package/dist/components/client/Menu/Menu.Item.d.cts +1 -1
  80. package/dist/components/client/Menu/Menu.Item.d.ts +1 -1
  81. package/dist/components/client/Menu/Menu.ItemBase.d.cts +1 -1
  82. package/dist/components/client/Menu/Menu.ItemBase.d.ts +1 -1
  83. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
  84. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
  85. package/dist/components/client/Popover/Popover.d.cts +1 -1
  86. package/dist/components/client/Popover/Popover.d.ts +1 -1
  87. package/dist/components/client/Popover/PopoverContent.d.cts +1 -1
  88. package/dist/components/client/Popover/PopoverContent.d.ts +1 -1
  89. package/dist/components/client/Popover/PopoverTrigger.d.cts +1 -1
  90. package/dist/components/client/Popover/PopoverTrigger.d.ts +1 -1
  91. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
  92. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
  93. package/dist/components/client/Popover/index.d.cts +1 -1
  94. package/dist/components/client/Popover/index.d.ts +1 -1
  95. package/dist/components/client/Pressable.d.cts +1 -1
  96. package/dist/components/client/Pressable.d.ts +1 -1
  97. package/dist/components/client/Radio/Radio.d.cts +1 -1
  98. package/dist/components/client/Radio/Radio.d.ts +1 -1
  99. package/dist/components/client/Radio/RadioGroupProvider.d.cts +1 -1
  100. package/dist/components/client/Radio/RadioGroupProvider.d.ts +1 -1
  101. package/dist/components/client/SpringMotionConfig.d.cts +1 -1
  102. package/dist/components/client/SpringMotionConfig.d.ts +1 -1
  103. package/dist/components/client/Switch.d.cts +1 -1
  104. package/dist/components/client/Switch.d.ts +1 -1
  105. package/dist/components/client/Tabs/Tab.d.cts +1 -1
  106. package/dist/components/client/Tabs/Tab.d.ts +1 -1
  107. package/dist/components/client/Tabs/TabList.d.cts +1 -1
  108. package/dist/components/client/Tabs/TabList.d.ts +1 -1
  109. package/dist/components/client/Tabs/TabPanel.d.cts +1 -1
  110. package/dist/components/client/Tabs/TabPanel.d.ts +1 -1
  111. package/dist/components/client/Tabs/Tabs.d.cts +1 -1
  112. package/dist/components/client/Tabs/Tabs.d.ts +1 -1
  113. package/dist/components/client/Tabs/tabsContext.d.cts +1 -1
  114. package/dist/components/client/Tabs/tabsContext.d.ts +1 -1
  115. package/dist/components/client/Toast/Toast.d.cts +1 -1
  116. package/dist/components/client/Toast/Toast.d.ts +1 -1
  117. package/dist/components/client/Toast/ToastContainer.d.cts +1 -1
  118. package/dist/components/client/Toast/ToastContainer.d.ts +1 -1
  119. package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +2 -2
  120. package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +2 -2
  121. package/dist/components/client/Toast/createToast.d.cts +1 -1
  122. package/dist/components/client/Toast/createToast.d.ts +1 -1
  123. package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
  124. package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
  125. package/dist/components/client/Tooltip/TooltipContent.d.cts +2 -3
  126. package/dist/components/client/Tooltip/TooltipContent.d.ts +2 -3
  127. package/dist/components/client/Tooltip/TooltipTrigger.d.cts +1 -1
  128. package/dist/components/client/Tooltip/TooltipTrigger.d.ts +1 -1
  129. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +1 -1
  130. package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +1 -1
  131. package/dist/components/client/Tooltip/index.d.cts +1 -1
  132. package/dist/components/client/Tooltip/index.d.ts +1 -1
  133. package/dist/components/client/buttonConstants.d.cts +1 -1
  134. package/dist/components/client/buttonConstants.d.ts +1 -1
  135. package/dist/components/client/index.d.cts +1 -1
  136. package/dist/components/client/index.d.ts +1 -1
  137. package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +1 -1
  138. package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.ts +1 -1
  139. package/dist/components/experimental/Table.d.cts +1 -1
  140. package/dist/components/experimental/Table.d.ts +1 -1
  141. package/dist/components/experimental/client/SwitchV2.d.cts +1 -1
  142. package/dist/components/experimental/client/SwitchV2.d.ts +1 -1
  143. package/dist/components/index.d.cts +1 -1
  144. package/dist/components/index.d.ts +1 -1
  145. package/dist/config/dist/index.d.cts +1 -1
  146. package/dist/config/dist/index.d.ts +1 -1
  147. package/dist/css-tokens/dist/index.d.cts +1 -1
  148. package/dist/css-tokens/dist/index.d.ts +1 -1
  149. package/dist/fixtures/dist/index.d.cts +1 -1
  150. package/dist/fixtures/dist/index.d.ts +1 -1
  151. package/dist/fixtures/index.d.cts +1 -1
  152. package/dist/fixtures/index.d.ts +1 -1
  153. package/dist/fonts/dist/index.d.cts +1 -1
  154. package/dist/fonts/dist/index.d.ts +1 -1
  155. package/dist/icons/dist/types.d.cts +30 -0
  156. package/dist/icons/dist/types.d.ts +30 -0
  157. package/dist/index.d.cts +2 -2
  158. package/dist/index.d.ts +2 -2
  159. package/dist/modes/dist/index.d.cts +1 -1
  160. package/dist/modes/dist/index.d.ts +1 -1
  161. package/dist/motion-tokens/dist/index.d.cts +1 -1
  162. package/dist/motion-tokens/dist/index.d.ts +1 -1
  163. package/dist/providers/ColorModeProvider.d.cts +1 -1
  164. package/dist/providers/ColorModeProvider.d.ts +1 -1
  165. package/dist/providers/ScaleModeProvider.d.cts +1 -1
  166. package/dist/providers/ScaleModeProvider.d.ts +1 -1
  167. package/dist/providers/ThemeProvider.d.cts +1 -1
  168. package/dist/providers/ThemeProvider.d.ts +1 -1
  169. package/dist/runtime/bottomSheetConfig.d.cts +1 -1
  170. package/dist/runtime/bottomSheetConfig.d.ts +1 -1
  171. package/dist/runtime/breakpointsConfig.d.cts +1 -1
  172. package/dist/runtime/breakpointsConfig.d.ts +1 -1
  173. package/dist/runtime/popoverConfig.d.cts +1 -1
  174. package/dist/runtime/popoverConfig.d.ts +1 -1
  175. package/dist/runtime/toastConfig.d.cts +1 -1
  176. package/dist/runtime/toastConfig.d.ts +1 -1
  177. package/dist/runtime/tooltipConfig.d.cts +1 -1
  178. package/dist/runtime/tooltipConfig.d.ts +1 -1
  179. package/dist/styles/styler.d.cts +48 -48
  180. package/dist/styles/styler.d.ts +48 -48
  181. package/dist/styles/stylerTypes.d.cts +1 -1
  182. package/dist/styles/stylerTypes.d.ts +1 -1
  183. package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
  184. package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
  185. package/dist/tokens/configs/borderRadius.d.cts +1 -1
  186. package/dist/tokens/configs/borderRadius.d.ts +1 -1
  187. package/dist/tokens/configs/borderWidth.d.cts +1 -1
  188. package/dist/tokens/configs/borderWidth.d.ts +1 -1
  189. package/dist/tokens/configs/font.d.cts +1 -1
  190. package/dist/tokens/configs/font.d.ts +1 -1
  191. package/dist/tokens/configs/scaleMode.d.cts +1 -1
  192. package/dist/tokens/configs/scaleMode.d.ts +1 -1
  193. package/dist/tokens/configs/shadow.d.cts +1 -1
  194. package/dist/tokens/configs/shadow.d.ts +1 -1
  195. package/dist/tokens/configs/sizes.d.cts +1 -1
  196. package/dist/tokens/configs/sizes.d.ts +1 -1
  197. package/dist/tokens/configs/typography.d.cts +1 -1
  198. package/dist/tokens/configs/typography.d.ts +1 -1
  199. package/dist/tokens/index.d.cts +2 -2
  200. package/dist/tokens/index.d.ts +2 -2
  201. package/dist/tokens/parseButtonVariants.d.cts +1 -1
  202. package/dist/tokens/parseButtonVariants.d.ts +1 -1
  203. package/dist/tokens/types.d.cts +7 -7
  204. package/dist/tokens/types.d.ts +7 -7
  205. package/dist/tokens/utils/spectrum.d.cts +1 -1
  206. package/dist/tokens/utils/spectrum.d.ts +1 -1
  207. package/dist/types/{src → dist}/index.d.cts +23 -35
  208. package/dist/types/{src → dist}/index.d.ts +23 -35
  209. package/dist/uds/generated/componentData.cjs +1348 -1348
  210. package/dist/uds/generated/componentData.js +1348 -1348
  211. package/dist/uds/package.cjs +1 -1
  212. package/dist/uds/package.js +1 -1
  213. package/dist/utils/isElevationAlias.d.cts +1 -1
  214. package/dist/utils/isElevationAlias.d.ts +1 -1
  215. package/generated/componentData.json +1566 -1564
  216. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalBottomSheetHeaderProps } from "../../../types/src/index.cjs";
2
+ import { UniversalBottomSheetHeaderProps } from "../../../types/dist/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/client/BottomSheet/BottomSheetHeader.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalBottomSheetHeaderProps } from "../../../types/src/index.js";
3
+ import { UniversalBottomSheetHeaderProps } from "../../../types/dist/index.js";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/client/BottomSheet/BottomSheetHeader.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { BottomSheetHeight } from "../../../types/src/index.cjs";
2
+ import { BottomSheetHeight } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { MutableRefObject } from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { BottomSheetHeight } from "../../../types/src/index.js";
3
+ import { BottomSheetHeight } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { MutableRefObject } from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { BottomSheetHeight } from "../../../types/src/index.cjs";
2
+ import { BottomSheetHeight } from "../../../types/dist/index.cjs";
3
3
 
4
4
  //#region src/components/client/BottomSheet/utils.d.ts
5
5
  /**
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { BottomSheetHeight } from "../../../types/src/index.js";
3
+ import { BottomSheetHeight } from "../../../types/dist/index.js";
4
4
 
5
5
  //#region src/components/client/BottomSheet/utils.d.ts
6
6
  /**
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalButtonProps } from "../../types/src/index.cjs";
2
+ import { UniversalButtonProps } from "../../types/dist/index.cjs";
3
3
  import "../../tokens/index.cjs";
4
4
  import React, { ForwardRefExoticComponent } from "react";
5
5
  import { HTMLMotionProps } from "motion/react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalButtonProps } from "../../types/src/index.js";
3
+ import { UniversalButtonProps } from "../../types/dist/index.js";
4
4
  import "../../tokens/index.js";
5
5
  import React, { ForwardRefExoticComponent } from "react";
6
6
  import { HTMLMotionProps } from "motion/react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalCheckboxProps } from "../../types/src/index.cjs";
2
+ import { UniversalCheckboxProps } from "../../types/dist/index.cjs";
3
3
  import "../../tokens/index.cjs";
4
4
  import React from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalCheckboxProps } from "../../types/src/index.js";
3
+ import { UniversalCheckboxProps } from "../../types/dist/index.js";
4
4
  import "../../tokens/index.js";
5
5
  import React from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { ChipVariant, UniversalChipBaseProps } from "../../../types/src/index.cjs";
2
+ import { ChipVariant, UniversalChipBaseProps } from "../../../types/dist/index.cjs";
3
3
  import { IconPropsWithSVGProps } from "../../../tokens/types.cjs";
4
4
  import "../../../tokens/index.cjs";
5
5
  import { TextProps } from "../../Text.cjs";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { ChipVariant, UniversalChipBaseProps } from "../../../types/src/index.js";
3
+ import { ChipVariant, UniversalChipBaseProps } from "../../../types/dist/index.js";
4
4
  import { IconPropsWithSVGProps } from "../../../tokens/types.js";
5
5
  import "../../../tokens/index.js";
6
6
  import { TextProps } from "../../Text.js";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalChipButtonProps } from "../../../types/src/index.cjs";
2
+ import { UniversalChipButtonProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { ChipBaseProps } from "./ChipBase.cjs";
5
5
  import React from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalChipButtonProps } from "../../../types/src/index.js";
3
+ import { UniversalChipButtonProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { ChipBaseProps } from "./ChipBase.js";
6
6
  import React from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalChipDismissibleProps } from "../../../types/src/index.cjs";
2
+ import { UniversalChipDismissibleProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { ChipBaseProps } from "./ChipBase.cjs";
5
5
  import React from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalChipDismissibleProps } from "../../../types/src/index.js";
3
+ import { UniversalChipDismissibleProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { ChipBaseProps } from "./ChipBase.js";
6
6
  import React from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalChipLinkProps } from "../../../types/src/index.cjs";
2
+ import { UniversalChipLinkProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { ChipBaseProps } from "./ChipBase.cjs";
5
5
  import React from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalChipLinkProps } from "../../../types/src/index.js";
3
+ import { UniversalChipLinkProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { ChipBaseProps } from "./ChipBase.js";
6
6
  import React from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalChipToggleProps } from "../../../types/src/index.cjs";
2
+ import { UniversalChipToggleProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { ChipBaseProps } from "./ChipBase.cjs";
5
5
  import React from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalChipToggleProps } from "../../../types/src/index.js";
3
+ import { UniversalChipToggleProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { ChipBaseProps } from "./ChipBase.js";
6
6
  import React from "react";
@@ -12,7 +12,6 @@ const require_components_client_Button = require('./Button.cjs');
12
12
  let _yahoo_uds_icons = require("@yahoo/uds-icons");
13
13
  let react = require("react");
14
14
  let react_jsx_runtime = require("react/jsx-runtime");
15
- let _yahoo_uds_icons_utils = require("@yahoo/uds-icons/utils");
16
15
  let motion_react = require("motion/react");
17
16
 
18
17
  //#region src/components/client/IconButton.tsx
@@ -20,10 +19,6 @@ const defaultSizeRootClass = require_generateDefaultClassName.generateDefaultCla
20
19
  const defaultSizeIconClass = require_generateDefaultClassName.generateDefaultClassName("iconbutton", "size", "icon");
21
20
  const defaultVariantRootClass = require_generateDefaultClassName.generateDefaultClassName("button", "variant", "root");
22
21
  const defaultVariantIconClass = require_generateDefaultClassName.generateDefaultClassName("button", "variant", "icon");
23
- function getIconMotionKey(icon) {
24
- if ((0, _yahoo_uds_icons_utils.isIconDefinition)(icon)) return (0, _yahoo_uds_icons_utils.getIconName)(icon);
25
- return "icon";
26
- }
27
22
  /**
28
23
  * **⚙️️ An icon button element that can be used to trigger an action**
29
24
  *
@@ -124,7 +119,7 @@ const IconButton = (0, react.forwardRef)(function IconButton({ variant, size, ic
124
119
  color: "current",
125
120
  className: styles.icon
126
121
  })
127
- }, getIconMotionKey(name))]
122
+ }, name.name)]
128
123
  })
129
124
  })
130
125
  });
@@ -10,7 +10,6 @@ import { iconMotionVariants, loadingMotionVariants } from "./Button.js";
10
10
  import { Progress } from "@yahoo/uds-icons";
11
11
  import { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
- import { getIconName, isIconDefinition } from "@yahoo/uds-icons/utils";
14
13
  import { AnimatePresence, m, useReducedMotion } from "motion/react";
15
14
 
16
15
  //#region src/components/client/IconButton.tsx
@@ -18,10 +17,6 @@ const defaultSizeRootClass = generateDefaultClassName("iconbutton", "size", "roo
18
17
  const defaultSizeIconClass = generateDefaultClassName("iconbutton", "size", "icon");
19
18
  const defaultVariantRootClass = generateDefaultClassName("button", "variant", "root");
20
19
  const defaultVariantIconClass = generateDefaultClassName("button", "variant", "icon");
21
- function getIconMotionKey(icon) {
22
- if (isIconDefinition(icon)) return getIconName(icon);
23
- return "icon";
24
- }
25
20
  /**
26
21
  * **⚙️️ An icon button element that can be used to trigger an action**
27
22
  *
@@ -122,7 +117,7 @@ const IconButton = forwardRef(function IconButton({ variant, size, iconVariant,
122
117
  color: "current",
123
118
  className: styles.icon
124
119
  })
125
- }, getIconMotionKey(name))]
120
+ }, name.name)]
126
121
  })
127
122
  })
128
123
  });
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalInputProps } from "../../../types/src/index.cjs";
2
+ import { UniversalInputProps } from "../../../types/dist/index.cjs";
3
3
  import { IconPropsWithSVGProps } from "../../../tokens/types.cjs";
4
4
  import "../../../tokens/index.cjs";
5
5
  import { BoxProps } from "../../Box.cjs";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalInputProps } from "../../../types/src/index.js";
3
+ import { UniversalInputProps } from "../../../types/dist/index.js";
4
4
  import { IconPropsWithSVGProps } from "../../../tokens/types.js";
5
5
  import "../../../tokens/index.js";
6
6
  import { BoxProps } from "../../Box.js";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalIconSlot } from "../../../types/src/index.cjs";
2
+ import { UniversalIconSlot } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { IconProps } from "../../Icon.cjs";
5
5
  import { InputProps } from "./Input.cjs";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalIconSlot } from "../../../types/src/index.js";
3
+ import { UniversalIconSlot } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { IconProps } from "../../Icon.js";
6
6
  import { InputProps } from "./Input.js";
@@ -1,5 +1,5 @@
1
1
 
2
- import { SpacingAlias } from "../../../types/src/index.cjs";
2
+ import { SpacingAlias } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { VStackProps } from "../../VStack.cjs";
5
5
  import * as react from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { SpacingAlias } from "../../../types/src/index.js";
3
+ import { SpacingAlias } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { VStackProps } from "../../VStack.js";
6
6
  import * as react from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalMenuItemProps } from "../../../types/src/index.cjs";
2
+ import { UniversalMenuItemProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { PressableProps } from "../Pressable.cjs";
5
5
  import * as react from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalMenuItemProps } from "../../../types/src/index.js";
3
+ import { UniversalMenuItemProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { PressableProps } from "../Pressable.js";
6
6
  import * as react from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalMenuItemProps } from "../../../types/src/index.cjs";
2
+ import { UniversalMenuItemProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { PressableProps } from "../Pressable.cjs";
5
5
  import * as react from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalMenuItemProps } from "../../../types/src/index.js";
3
+ import { UniversalMenuItemProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { PressableProps } from "../Pressable.js";
6
6
  import * as react from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalMenuItemProps } from "../../../types/src/index.cjs";
2
+ import { UniversalMenuItemProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { PressableProps } from "../Pressable.cjs";
5
5
  import * as react from "react";
@@ -88,6 +88,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
88
88
  *
89
89
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
90
90
  **/
91
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
91
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "rootProps" | "hideEndIcon" | "active"> & react.RefAttributes<HTMLDivElement>>;
92
92
  //#endregion
93
93
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalMenuItemProps } from "../../../types/src/index.js";
3
+ import { UniversalMenuItemProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { PressableProps } from "../Pressable.js";
6
6
  import * as react from "react";
@@ -89,6 +89,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
89
89
  *
90
90
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
91
91
  **/
92
- declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
92
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "rootProps" | "hideEndIcon" | "active"> & react.RefAttributes<HTMLDivElement>>;
93
93
  //#endregion
94
94
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalPopoverProps } from "../../../types/src/index.cjs";
2
+ import { UniversalPopoverProps } from "../../../types/dist/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/client/Popover/Popover.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalPopoverProps } from "../../../types/src/index.js";
3
+ import { UniversalPopoverProps } from "../../../types/dist/index.js";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/client/Popover/Popover.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { IconPropsWithSVGProps, UniversalPopoverContentProps } from "../../../types/src/index.cjs";
2
+ import { IconPropsWithSVGProps, UniversalPopoverContentProps } from "../../../types/dist/index.cjs";
3
3
  import { PressableProps } from "../Pressable.cjs";
4
4
  import "../../../index.cjs";
5
5
  import * as react from "react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { IconPropsWithSVGProps, UniversalPopoverContentProps } from "../../../types/src/index.js";
3
+ import { IconPropsWithSVGProps, UniversalPopoverContentProps } from "../../../types/dist/index.js";
4
4
  import { PressableProps } from "../Pressable.js";
5
5
  import "../../../index.js";
6
6
  import * as react from "react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalPopoverTriggerProps } from "../../../types/src/index.cjs";
2
+ import { UniversalPopoverTriggerProps } from "../../../types/dist/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/client/Popover/PopoverTrigger.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalPopoverTriggerProps } from "../../../types/src/index.js";
3
+ import { UniversalPopoverTriggerProps } from "../../../types/dist/index.js";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/client/Popover/PopoverTrigger.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../../../types/src/index.cjs";
2
+ import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../../../types/dist/index.cjs";
3
3
  import { UDSPopoverConfigContextType } from "../../../runtime/popoverConfig.cjs";
4
4
  import { PropsWithChildren } from "react";
5
5
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../../../types/src/index.js";
3
+ import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../../../types/dist/index.js";
4
4
  import { UDSPopoverConfigContextType } from "../../../runtime/popoverConfig.js";
5
5
  import { PropsWithChildren } from "react";
6
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps } from "../../../types/src/index.cjs";
2
+ import { UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps } from "../../../types/dist/index.cjs";
3
3
  import { Popover } from "./Popover.cjs";
4
4
  import { PopoverTrigger } from "./PopoverTrigger.cjs";
5
5
  import { UDSPopoverConfigProvider, UDSPopoverConfigProviderProps } from "./UDSPopoverConfigProvider.cjs";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps } from "../../../types/src/index.js";
3
+ import { UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps } from "../../../types/dist/index.js";
4
4
  import { Popover } from "./Popover.js";
5
5
  import { PopoverTrigger } from "./PopoverTrigger.js";
6
6
  import { UDSPopoverConfigProvider, UDSPopoverConfigProviderProps } from "./UDSPopoverConfigProvider.js";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalPressableProps } from "../../types/src/index.cjs";
2
+ import { UniversalPressableProps } from "../../types/dist/index.cjs";
3
3
  import "../../tokens/index.cjs";
4
4
  import * as react from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalPressableProps } from "../../types/src/index.js";
3
+ import { UniversalPressableProps } from "../../types/dist/index.js";
4
4
  import "../../tokens/index.js";
5
5
  import * as react from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { RadioSize, RadioVariant, UniversalRadioProps } from "../../../types/src/index.cjs";
2
+ import { RadioSize, RadioVariant, UniversalRadioProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import React from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { RadioSize, RadioVariant, UniversalRadioProps } from "../../../types/src/index.js";
3
+ import { RadioSize, RadioVariant, UniversalRadioProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import React from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalRadioGroupProps } from "../../../types/src/index.cjs";
2
+ import { UniversalRadioGroupProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import React from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalRadioGroupProps } from "../../../types/src/index.js";
3
+ import { UniversalRadioGroupProps } from "../../../types/dist/index.js";
4
4
  import "../../../tokens/index.js";
5
5
  import React from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { MotionVariant, MotionVariantSpeed } from "../../types/src/index.cjs";
2
+ import { MotionVariant, MotionVariantSpeed } from "../../types/dist/index.cjs";
3
3
  import "../../tokens/index.cjs";
4
4
  import { ReactNode } from "react";
5
5
  import { LazyFeatureBundle, MotionConfigProps } from "motion/react";
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { MotionVariant, MotionVariantSpeed } from "../../types/src/index.js";
3
+ import { MotionVariant, MotionVariantSpeed } from "../../types/dist/index.js";
4
4
  import "../../tokens/index.js";
5
5
  import { ReactNode } from "react";
6
6
  import { LazyFeatureBundle, MotionConfigProps } from "motion/react";
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalSwitchProps } from "../../types/src/index.cjs";
2
+ import { UniversalSwitchProps } from "../../types/dist/index.cjs";
3
3
  import "../../tokens/index.cjs";
4
4
  import React from "react";
5
5
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalSwitchProps } from "../../types/src/index.js";
3
+ import { UniversalSwitchProps } from "../../types/dist/index.js";
4
4
  import "../../tokens/index.js";
5
5
  import React from "react";
6
6
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalTabProps } from "../../../types/src/index.cjs";
2
+ import { UniversalTabProps } from "../../../types/dist/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/client/Tabs/Tab.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalTabProps } from "../../../types/src/index.js";
3
+ import { UniversalTabProps } from "../../../types/dist/index.js";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/client/Tabs/Tab.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalTabListProps } from "../../../types/src/index.cjs";
2
+ import { UniversalTabListProps } from "../../../types/dist/index.cjs";
3
3
  import * as react from "react";
4
4
 
5
5
  //#region src/components/client/Tabs/TabList.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalTabListProps } from "../../../types/src/index.js";
3
+ import { UniversalTabListProps } from "../../../types/dist/index.js";
4
4
  import * as react from "react";
5
5
 
6
6
  //#region src/components/client/Tabs/TabList.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalTabPanelProps } from "../../../types/src/index.cjs";
2
+ import { UniversalTabPanelProps } from "../../../types/dist/index.cjs";
3
3
  import * as react from "react";
4
4
 
5
5
  //#region src/components/client/Tabs/TabPanel.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalTabPanelProps } from "../../../types/src/index.js";
3
+ import { UniversalTabPanelProps } from "../../../types/dist/index.js";
4
4
  import * as react from "react";
5
5
 
6
6
  //#region src/components/client/Tabs/TabPanel.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalTabsProps } from "../../../types/src/index.cjs";
2
+ import { UniversalTabsProps } from "../../../types/dist/index.cjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/client/Tabs/Tabs.d.ts
@@ -1,6 +1,6 @@
1
1
 
2
2
  "use client";
3
- import { UniversalTabsProps } from "../../../types/src/index.js";
3
+ import { UniversalTabsProps } from "../../../types/dist/index.js";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/client/Tabs/Tabs.d.ts
@@ -1,5 +1,5 @@
1
1
 
2
- import { UniversalTabsVariant } from "../../../types/src/index.cjs";
2
+ import { UniversalTabsVariant } from "../../../types/dist/index.cjs";
3
3
  import * as react from "react";
4
4
 
5
5
  //#region src/components/client/Tabs/tabsContext.d.ts