@yahoo/uds 3.123.0-beta.1 → 3.123.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 (202) hide show
  1. package/dist/automated-config/dist/generated/generatedConfigs.cjs +15 -15
  2. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +15 -15
  3. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +15 -15
  4. package/dist/automated-config/dist/generated/generatedConfigs.js +15 -15
  5. package/dist/components/client/Avatar/Avatar.cjs +7 -3
  6. package/dist/components/client/Avatar/Avatar.d.cts +2 -5
  7. package/dist/components/client/Avatar/Avatar.d.ts +2 -5
  8. package/dist/components/client/Avatar/Avatar.js +7 -3
  9. package/dist/components/client/Avatar/AvatarIcon.cjs +3 -2
  10. package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -13
  11. package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -13
  12. package/dist/components/client/Avatar/AvatarIcon.js +4 -3
  13. package/dist/components/client/Avatar/AvatarImage.cjs +5 -2
  14. package/dist/components/client/Avatar/AvatarImage.d.cts +2 -18
  15. package/dist/components/client/Avatar/AvatarImage.d.ts +2 -18
  16. package/dist/components/client/Avatar/AvatarImage.js +6 -3
  17. package/dist/components/client/Avatar/AvatarText.cjs +3 -2
  18. package/dist/components/client/Avatar/AvatarText.d.cts +2 -15
  19. package/dist/components/client/Avatar/AvatarText.d.ts +2 -15
  20. package/dist/components/client/Avatar/AvatarText.js +4 -3
  21. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
  22. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
  23. package/dist/components/client/Pressable.cjs +6 -2
  24. package/dist/components/client/Pressable.js +6 -2
  25. package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
  26. package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
  27. package/dist/components/experimental/client/SegmentedControl.d.cts +1 -2
  28. package/dist/styles/styler.d.cts +33 -33
  29. package/dist/styles/styler.d.ts +33 -33
  30. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +15 -15
  31. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +15 -15
  32. package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
  33. package/dist/tailwind/dist/commands/css.cjs +3 -17
  34. package/dist/tailwind/dist/commands/css.d.cts.map +1 -1
  35. package/dist/tailwind/dist/commands/css.d.ts.map +1 -1
  36. package/dist/tailwind/dist/commands/css.helpers.cjs +1 -2
  37. package/dist/tailwind/dist/commands/css.helpers.js +1 -2
  38. package/dist/tailwind/dist/commands/css.helpers.js.map +1 -1
  39. package/dist/tailwind/dist/commands/css.js +3 -17
  40. package/dist/tailwind/dist/commands/css.js.map +1 -1
  41. package/dist/tailwind/dist/css/generate.cjs +0 -3
  42. package/dist/tailwind/dist/css/generate.helpers.cjs +6 -14
  43. package/dist/tailwind/dist/css/generate.helpers.js +7 -15
  44. package/dist/tailwind/dist/css/generate.helpers.js.map +1 -1
  45. package/dist/tailwind/dist/css/generate.js +0 -3
  46. package/dist/tailwind/dist/css/generate.js.map +1 -1
  47. package/dist/tailwind/dist/css/nodeUtils.cjs +20 -91
  48. package/dist/tailwind/dist/css/nodeUtils.js +21 -90
  49. package/dist/tailwind/dist/css/nodeUtils.js.map +1 -1
  50. package/dist/tailwind/dist/css/postcss.cjs +1 -22
  51. package/dist/tailwind/dist/css/postcss.helpers.cjs +1 -12
  52. package/dist/tailwind/dist/css/postcss.helpers.js +1 -11
  53. package/dist/tailwind/dist/css/postcss.helpers.js.map +1 -1
  54. package/dist/tailwind/dist/css/postcss.js +2 -22
  55. package/dist/tailwind/dist/css/postcss.js.map +1 -1
  56. package/dist/tailwind/dist/css/runner.cjs +20 -171
  57. package/dist/tailwind/dist/css/runner.helpers.cjs +6 -58
  58. package/dist/tailwind/dist/css/runner.helpers.js +7 -54
  59. package/dist/tailwind/dist/css/runner.helpers.js.map +1 -1
  60. package/dist/tailwind/dist/css/runner.js +20 -172
  61. package/dist/tailwind/dist/css/runner.js.map +1 -1
  62. package/dist/tailwind/dist/css/theme.d.cts +0 -11
  63. package/dist/tailwind/dist/css/theme.d.cts.map +1 -1
  64. package/dist/tailwind/dist/css/theme.d.ts +0 -11
  65. package/dist/tailwind/dist/css/theme.d.ts.map +1 -1
  66. package/dist/tailwind/dist/css/theme.js.map +1 -1
  67. package/dist/tailwind/dist/purger/optimized/ast/expressions.cjs +3 -26
  68. package/dist/tailwind/dist/purger/optimized/ast/expressions.js +3 -26
  69. package/dist/tailwind/dist/purger/optimized/ast/expressions.js.map +1 -1
  70. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
  71. package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
  72. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  73. package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  74. package/dist/uds/generated/componentData.cjs +260 -260
  75. package/dist/uds/generated/componentData.js +260 -260
  76. package/dist/uds/generated/tailwindPurge.cjs +117 -117
  77. package/dist/uds/generated/tailwindPurge.js +117 -117
  78. package/dist/uds/package.cjs +2 -2
  79. package/dist/uds/package.js +2 -2
  80. package/generated/componentData.json +343 -343
  81. package/generated/tailwindPurge.ts +1 -1
  82. package/package.json +3 -3
  83. package/dist/uds/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +0 -2
  84. package/dist/uds/dist/automated-config/dist/properties.d.cts +0 -5
  85. package/dist/uds/dist/automated-config/dist/types/ComponentConfig.d.cts +0 -3
  86. package/dist/uds/dist/automated-config/dist/types/ComponentStyles.d.cts +0 -2
  87. package/dist/uds/dist/automated-config/dist/types/ConfigSchema.d.cts +0 -2
  88. package/dist/uds/dist/automated-config/dist/utils/buildConfigSchema.d.cts +0 -7
  89. package/dist/uds/dist/automated-config/dist/utils/coalesceConfigVariant.d.cts +0 -2
  90. package/dist/uds/dist/automated-config/dist/utils/defaults.d.cts +0 -2
  91. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.cts +0 -2
  92. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +0 -3
  93. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.cts +0 -3
  94. package/dist/uds/dist/automated-config/dist/utils/getConfigVariants.d.cts +0 -2
  95. package/dist/uds/dist/automated-config/dist/utils/index.d.cts +0 -12
  96. package/dist/uds/dist/automated-config/dist/utils/subcomponents.d.cts +0 -2
  97. package/dist/uds/dist/components/Box.d.cts +0 -4
  98. package/dist/uds/dist/components/Divider/Divider.d.cts +0 -3
  99. package/dist/uds/dist/components/Divider/DividerCore.d.cts +0 -5
  100. package/dist/uds/dist/components/Divider/DividerInternal.d.cts +0 -5
  101. package/dist/uds/dist/components/Divider/index.d.cts +0 -2
  102. package/dist/uds/dist/components/FormLabel.d.cts +0 -4
  103. package/dist/uds/dist/components/HStack.d.cts +0 -5
  104. package/dist/uds/dist/components/Icon.d.cts +0 -4
  105. package/dist/uds/dist/components/Image.d.cts +0 -3
  106. package/dist/uds/dist/components/Link.d.cts +0 -4
  107. package/dist/uds/dist/components/Scrim.d.cts +0 -3
  108. package/dist/uds/dist/components/Text.d.cts +0 -4
  109. package/dist/uds/dist/components/VStack.d.cts +0 -5
  110. package/dist/uds/dist/components/client/Avatar/Avatar.d.cts +0 -2
  111. package/dist/uds/dist/components/client/Avatar/AvatarIcon.d.cts +0 -4
  112. package/dist/uds/dist/components/client/Avatar/AvatarImage.d.cts +0 -6
  113. package/dist/uds/dist/components/client/Avatar/AvatarText.d.cts +0 -4
  114. package/dist/uds/dist/components/client/Avatar/index.d.cts +0 -5
  115. package/dist/uds/dist/components/client/Badge.d.cts +0 -4
  116. package/dist/uds/dist/components/client/BottomSheet/BottomSheet.d.cts +0 -5
  117. package/dist/uds/dist/components/client/BottomSheet/BottomSheetContent.d.cts +0 -2
  118. package/dist/uds/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +0 -2
  119. package/dist/uds/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +0 -3
  120. package/dist/uds/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +0 -3
  121. package/dist/uds/dist/components/client/BottomSheet/index.d.cts +0 -7
  122. package/dist/uds/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +0 -2
  123. package/dist/uds/dist/components/client/Button.d.cts +0 -5
  124. package/dist/uds/dist/components/client/Checkbox.d.cts +0 -4
  125. package/dist/uds/dist/components/client/Chip/Chip.d.cts +0 -5
  126. package/dist/uds/dist/components/client/Chip/ChipBase.d.cts +0 -6
  127. package/dist/uds/dist/components/client/Chip/ChipButton.d.cts +0 -5
  128. package/dist/uds/dist/components/client/Chip/ChipDismissible.d.cts +0 -5
  129. package/dist/uds/dist/components/client/Chip/ChipLink.d.cts +0 -5
  130. package/dist/uds/dist/components/client/Chip/ChipToggle.d.cts +0 -5
  131. package/dist/uds/dist/components/client/Chip/index.d.cts +0 -6
  132. package/dist/uds/dist/components/client/IconButton.d.cts +0 -5
  133. package/dist/uds/dist/components/client/Input/Input.d.cts +0 -7
  134. package/dist/uds/dist/components/client/Input/InputHelpText.d.cts +0 -2
  135. package/dist/uds/dist/components/client/Input/InputHelpTextInternal.d.cts +0 -6
  136. package/dist/uds/dist/components/client/Input/index.d.cts +0 -3
  137. package/dist/uds/dist/components/client/Menu/Menu.Content.d.cts +0 -6
  138. package/dist/uds/dist/components/client/Menu/Menu.Divider.d.cts +0 -3
  139. package/dist/uds/dist/components/client/Menu/Menu.Item.d.cts +0 -6
  140. package/dist/uds/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +0 -6
  141. package/dist/uds/dist/components/client/Menu/Menu.Provider.d.cts +0 -3
  142. package/dist/uds/dist/components/client/Menu/Menu.Trigger.d.cts +0 -5
  143. package/dist/uds/dist/components/client/Menu/Menu.d.cts +0 -2
  144. package/dist/uds/dist/components/client/Menu/Menu.index.d.cts +0 -9
  145. package/dist/uds/dist/components/client/Menu/index.d.cts +0 -9
  146. package/dist/uds/dist/components/client/Popover/Popover.d.cts +0 -2
  147. package/dist/uds/dist/components/client/Popover/PopoverContent.d.cts +0 -5
  148. package/dist/uds/dist/components/client/Popover/PopoverTrigger.d.cts +0 -2
  149. package/dist/uds/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +0 -4
  150. package/dist/uds/dist/components/client/Popover/index.d.cts +0 -6
  151. package/dist/uds/dist/components/client/Pressable.d.cts +0 -4
  152. package/dist/uds/dist/components/client/Radio/Radio.d.cts +0 -4
  153. package/dist/uds/dist/components/client/Radio/RadioGroupProvider.d.cts +0 -4
  154. package/dist/uds/dist/components/client/Radio/index.d.cts +0 -3
  155. package/dist/uds/dist/components/client/SpringMotionConfig.d.cts +0 -5
  156. package/dist/uds/dist/components/client/Switch.d.cts +0 -4
  157. package/dist/uds/dist/components/client/Toast/Toast.d.cts +0 -8
  158. package/dist/uds/dist/components/client/Toast/ToastContainer.d.cts +0 -6
  159. package/dist/uds/dist/components/client/Toast/ToastPortal.d.cts +0 -3
  160. package/dist/uds/dist/components/client/Toast/UDSToastConfigProvider.d.cts +0 -5
  161. package/dist/uds/dist/components/client/Toast/createToast.d.cts +0 -6
  162. package/dist/uds/dist/components/client/Toast/index.d.cts +0 -6
  163. package/dist/uds/dist/components/client/Tooltip/Tooltip.d.cts +0 -2
  164. package/dist/uds/dist/components/client/Tooltip/TooltipContent.d.cts +0 -3
  165. package/dist/uds/dist/components/client/Tooltip/TooltipTrigger.d.cts +0 -2
  166. package/dist/uds/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +0 -5
  167. package/dist/uds/dist/components/client/Tooltip/index.d.cts +0 -6
  168. package/dist/uds/dist/components/client/index.d.cts +0 -59
  169. package/dist/uds/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +0 -4
  170. package/dist/uds/dist/components/client/providers/UDSConfigProvider.d.cts +0 -3
  171. package/dist/uds/dist/components/index.d.cts +0 -61
  172. package/dist/uds/dist/config/dist/index.d.cts +0 -4
  173. package/dist/uds/dist/css-tokens/dist/index.d.cts +0 -2
  174. package/dist/uds/dist/fixtures/dist/index.d.cts +0 -2
  175. package/dist/uds/dist/fonts/dist/index.d.cts +0 -2
  176. package/dist/uds/dist/index.d.cts +0 -93
  177. package/dist/uds/dist/modes/dist/index.d.cts +0 -2
  178. package/dist/uds/dist/runtime/bottomSheetConfig.d.cts +0 -3
  179. package/dist/uds/dist/runtime/breakpointsConfig.d.cts +0 -4
  180. package/dist/uds/dist/runtime/index.d.cts +0 -7
  181. package/dist/uds/dist/runtime/popoverConfig.d.cts +0 -5
  182. package/dist/uds/dist/runtime/toastConfig.d.cts +0 -4
  183. package/dist/uds/dist/runtime/tooltipConfig.d.cts +0 -5
  184. package/dist/uds/dist/runtime/udsConfig.d.cts +0 -8
  185. package/dist/uds/dist/styles/styler.d.cts +0 -2
  186. package/dist/uds/dist/styles/stylerTypes.d.cts +0 -3
  187. package/dist/uds/dist/tailwind/dist/config/dist/index.d.cts +0 -2
  188. package/dist/uds/dist/tailwind/dist/index.d.cts +0 -3
  189. package/dist/uds/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.cts +0 -2
  190. package/dist/uds/dist/tailwind/dist/utils/parseTokens.d.cts +0 -2
  191. package/dist/uds/dist/tokens/automation/index.d.cts +0 -10
  192. package/dist/uds/dist/tokens/configs/shadow.d.cts +0 -3
  193. package/dist/uds/dist/tokens/consts/cssTokens.d.cts +0 -2
  194. package/dist/uds/dist/tokens/consts/defaultModes.d.cts +0 -2
  195. package/dist/uds/dist/tokens/consts/fontDeclarationsMap.d.cts +0 -2
  196. package/dist/uds/dist/tokens/index.d.cts +0 -28
  197. package/dist/uds/dist/tokens/parseButtonVariants.d.cts +0 -3
  198. package/dist/uds/dist/tokens/types.d.cts +0 -9
  199. package/dist/uds/dist/tokens/utils/getFontUrls.d.cts +0 -4
  200. package/dist/uds/dist/tokens/utils/spectrum.d.cts +0 -3
  201. package/dist/uds/dist/types/dist/index.d.cts +0 -11
  202. package/dist/uds/dist/types.d.cts +0 -2
@@ -20,7 +20,7 @@ const AvatarConfig = {
20
20
  primary: "secondary",
21
21
  secondary: "secondary"
22
22
  },
23
- label: "background color",
23
+ label: "Background color",
24
24
  name: "backgroundColor",
25
25
  typeOfFixture: [
26
26
  "spectrumColors",
@@ -380,7 +380,7 @@ const AvatarConfig = {
380
380
  primary: "primary",
381
381
  secondary: "primary"
382
382
  },
383
- label: "border color",
383
+ label: "Border color",
384
384
  name: "borderColor",
385
385
  typeOfFixture: [
386
386
  "spectrumColors",
@@ -742,7 +742,7 @@ const AvatarConfig = {
742
742
  primary: "full",
743
743
  secondary: "sm"
744
744
  },
745
- label: "border radius",
745
+ label: "Border radius",
746
746
  name: "borderRadius",
747
747
  typeOfFixture: ["borderRadii"],
748
748
  values: [[
@@ -760,7 +760,7 @@ const AvatarConfig = {
760
760
  primary: "muted",
761
761
  secondary: "muted"
762
762
  },
763
- label: "icon color",
763
+ label: "Icon color",
764
764
  name: "color",
765
765
  typeOfFixture: [
766
766
  "spectrumColors",
@@ -1138,7 +1138,7 @@ const AvatarConfig = {
1138
1138
  primary: "muted",
1139
1139
  secondary: "muted"
1140
1140
  },
1141
- label: "border color",
1141
+ label: "Border color",
1142
1142
  name: "borderColor",
1143
1143
  typeOfFixture: [
1144
1144
  "spectrumColors",
@@ -1500,7 +1500,7 @@ const AvatarConfig = {
1500
1500
  primary: "full",
1501
1501
  secondary: "sm"
1502
1502
  },
1503
- label: "border radius",
1503
+ label: "Border radius",
1504
1504
  name: "borderRadius",
1505
1505
  typeOfFixture: ["borderRadii"],
1506
1506
  values: [[
@@ -1533,7 +1533,7 @@ const AvatarConfig = {
1533
1533
  primary: "primary",
1534
1534
  secondary: "secondary"
1535
1535
  },
1536
- label: "background color",
1536
+ label: "Background color",
1537
1537
  name: "backgroundColor",
1538
1538
  typeOfFixture: [
1539
1539
  "spectrumColors",
@@ -1893,7 +1893,7 @@ const AvatarConfig = {
1893
1893
  primary: "brand",
1894
1894
  secondary: "secondary"
1895
1895
  },
1896
- label: "border color",
1896
+ label: "Border color",
1897
1897
  name: "borderColor",
1898
1898
  typeOfFixture: [
1899
1899
  "spectrumColors",
@@ -2273,7 +2273,7 @@ const AvatarConfig = {
2273
2273
  primary: "brand",
2274
2274
  secondary: "secondary"
2275
2275
  },
2276
- label: "text color",
2276
+ label: "Text color",
2277
2277
  name: "color",
2278
2278
  typeOfFixture: [
2279
2279
  "spectrumColors",
@@ -8688,7 +8688,7 @@ const CheckboxConfig = {
8688
8688
  md: "sm",
8689
8689
  sm: "sm"
8690
8690
  },
8691
- label: "Checkbox border radius",
8691
+ label: "Border radius",
8692
8692
  name: "borderRadius",
8693
8693
  typeOfFixture: ["borderRadii"],
8694
8694
  values: [[
@@ -8706,7 +8706,7 @@ const CheckboxConfig = {
8706
8706
  md: "thin",
8707
8707
  sm: "thin"
8708
8708
  },
8709
- label: "Checkbox border width",
8709
+ label: "Border width",
8710
8710
  name: "borderWidth",
8711
8711
  typeOfFixture: ["borderWidths"],
8712
8712
  values: [[
@@ -8721,7 +8721,7 @@ const CheckboxConfig = {
8721
8721
  md: "5",
8722
8722
  sm: "4"
8723
8723
  },
8724
- label: "Checkbox height",
8724
+ label: "Height",
8725
8725
  name: "height",
8726
8726
  typeOfFixture: ["spacingAliases"],
8727
8727
  values: [[
@@ -8769,7 +8769,7 @@ const CheckboxConfig = {
8769
8769
  md: "5",
8770
8770
  sm: "4"
8771
8771
  },
8772
- label: "Checkbox width",
8772
+ label: "Width",
8773
8773
  name: "width",
8774
8774
  typeOfFixture: ["spacingAliases"],
8775
8775
  values: [[
@@ -8939,7 +8939,7 @@ const CheckboxConfig = {
8939
8939
  primary: "secondary",
8940
8940
  secondary: "secondary"
8941
8941
  },
8942
- label: "Checkbox background color",
8942
+ label: "Background color",
8943
8943
  name: "backgroundColor",
8944
8944
  pseudoStates: [
8945
8945
  "hover",
@@ -9306,7 +9306,7 @@ const CheckboxConfig = {
9306
9306
  primary: "tertiary",
9307
9307
  secondary: "tertiary"
9308
9308
  },
9309
- label: "border color",
9309
+ label: "Border color",
9310
9310
  name: "borderColor",
9311
9311
  pseudoStates: [
9312
9312
  "hover",
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
5
5
  const require_components_client_Avatar_AvatarImage = require('./AvatarImage.cjs');
6
+ let react = require("react");
6
7
  let react_jsx_runtime = require("react/jsx-runtime");
7
8
 
8
9
  //#region src/components/client/Avatar/Avatar.tsx
@@ -25,9 +26,12 @@ let react_jsx_runtime = require("react/jsx-runtime");
25
26
  * ```
26
27
  *
27
28
  */
28
- const Avatar = (props) => {
29
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Avatar_AvatarImage.AvatarImage, { ...props });
30
- };
29
+ const Avatar = (0, react.forwardRef)((props, ref) => {
30
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Avatar_AvatarImage.AvatarImage, {
31
+ ref,
32
+ ...props
33
+ });
34
+ });
31
35
  Avatar.displayName = "Avatar";
32
36
 
33
37
  //#endregion
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { AvatarImageProps } from "./AvatarImage.cjs";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react from "react";
4
4
 
5
5
  //#region src/components/client/Avatar/Avatar.d.ts
6
6
  type AvatarProps = AvatarImageProps;
@@ -23,9 +23,6 @@ type AvatarProps = AvatarImageProps;
23
23
  * ```
24
24
  *
25
25
  */
26
- declare const Avatar: {
27
- (props: AvatarProps): react_jsx_runtime0.JSX.Element;
28
- displayName: string;
29
- };
26
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarImageProps & react.RefAttributes<HTMLDivElement>>;
30
27
  //#endregion
31
28
  export { Avatar, type AvatarProps };
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { AvatarImageProps } from "./AvatarImage.js";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react from "react";
4
4
 
5
5
  //#region src/components/client/Avatar/Avatar.d.ts
6
6
  type AvatarProps = AvatarImageProps;
@@ -23,9 +23,6 @@ type AvatarProps = AvatarImageProps;
23
23
  * ```
24
24
  *
25
25
  */
26
- declare const Avatar: {
27
- (props: AvatarProps): react_jsx_runtime0.JSX.Element;
28
- displayName: string;
29
- };
26
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarImageProps & react.RefAttributes<HTMLDivElement>>;
30
27
  //#endregion
31
28
  export { Avatar, type AvatarProps };
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
3
3
  import { AvatarImage } from "./AvatarImage.js";
4
+ import { forwardRef } from "react";
4
5
  import { jsx } from "react/jsx-runtime";
5
6
 
6
7
  //#region src/components/client/Avatar/Avatar.tsx
@@ -23,9 +24,12 @@ import { jsx } from "react/jsx-runtime";
23
24
  * ```
24
25
  *
25
26
  */
26
- const Avatar = (props) => {
27
- return /* @__PURE__ */ jsx(AvatarImage, { ...props });
28
- };
27
+ const Avatar = forwardRef((props, ref) => {
28
+ return /* @__PURE__ */ jsx(AvatarImage, {
29
+ ref,
30
+ ...props
31
+ });
32
+ });
29
33
  Avatar.displayName = "Avatar";
30
34
 
31
35
  //#endregion
@@ -24,7 +24,7 @@ const mapVariantToIcon = {
24
24
  * @param props - Props for icon variant.
25
25
  * @returns The AvatarIcon element.
26
26
  */
27
- const AvatarIcon = ({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, customSize, icon, slotProps, className, ...props }) => {
27
+ const AvatarIcon = (0, react.forwardRef)(({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, customSize, icon, slotProps, className, ...props }, ref) => {
28
28
  const classNames = (0, react.useMemo)(() => ({
29
29
  root: require_components_client_Avatar_utils.buildAvatarRootClasses(size, {
30
30
  avatarIconVariantRoot: variant,
@@ -41,6 +41,7 @@ const AvatarIcon = ({ size = require_components_client_Avatar_utils.DEFAULT_AVAT
41
41
  const inlineStyles = (0, react.useMemo)(() => require_components_client_Avatar_utils.buildInlineSizeStyles(customSize), [customSize]);
42
42
  const iconSvg = icon ?? mapVariantToIcon[variant ?? "primary"];
43
43
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
44
+ ref,
44
45
  className: classNames.root,
45
46
  style: inlineStyles.root,
46
47
  ...props,
@@ -58,7 +59,7 @@ const AvatarIcon = ({ size = require_components_client_Avatar_utils.DEFAULT_AVAT
58
59
  })
59
60
  })
60
61
  });
61
- };
62
+ });
62
63
  AvatarIcon.displayName = "AvatarIcon";
63
64
 
64
65
  //#endregion
@@ -2,7 +2,7 @@
2
2
  import { UniversalAvatarIconProps } from "../../../types/dist/index.cjs";
3
3
  import { IconPropsWithSVGProps } from "../../../tokens/types.cjs";
4
4
  import "../../../tokens/index.cjs";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as react from "react";
6
6
 
7
7
  //#region src/components/client/Avatar/AvatarIcon.d.ts
8
8
  type DataAttributes = {
@@ -22,17 +22,6 @@ interface AvatarIconProps extends UniversalAvatarIconProps {
22
22
  * @param props - Props for icon variant.
23
23
  * @returns The AvatarIcon element.
24
24
  */
25
- declare const AvatarIcon: {
26
- ({
27
- size,
28
- variant,
29
- customSize,
30
- icon,
31
- slotProps,
32
- className,
33
- ...props
34
- }: AvatarIconProps): react_jsx_runtime0.JSX.Element;
35
- displayName: string;
36
- };
25
+ declare const AvatarIcon: react.ForwardRefExoticComponent<AvatarIconProps & react.RefAttributes<HTMLDivElement>>;
37
26
  //#endregion
38
27
  export { AvatarIcon, type AvatarIconProps };
@@ -2,7 +2,7 @@
2
2
  import { UniversalAvatarIconProps } from "../../../types/dist/index.js";
3
3
  import { IconPropsWithSVGProps } from "../../../tokens/types.js";
4
4
  import "../../../tokens/index.js";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as react from "react";
6
6
 
7
7
  //#region src/components/client/Avatar/AvatarIcon.d.ts
8
8
  type DataAttributes = {
@@ -22,17 +22,6 @@ interface AvatarIconProps extends UniversalAvatarIconProps {
22
22
  * @param props - Props for icon variant.
23
23
  * @returns The AvatarIcon element.
24
24
  */
25
- declare const AvatarIcon: {
26
- ({
27
- size,
28
- variant,
29
- customSize,
30
- icon,
31
- slotProps,
32
- className,
33
- ...props
34
- }: AvatarIconProps): react_jsx_runtime0.JSX.Element;
35
- displayName: string;
36
- };
25
+ declare const AvatarIcon: react.ForwardRefExoticComponent<AvatarIconProps & react.RefAttributes<HTMLDivElement>>;
37
26
  //#endregion
38
27
  export { AvatarIcon, type AvatarIconProps };
@@ -4,7 +4,7 @@ import { cx, getStyles } from "../../../styles/styler.js";
4
4
  import { Box } from "../../Box.js";
5
5
  import { IconSlot } from "../../IconSlot.js";
6
6
  import { DEFAULT_AVATAR_SIZE, DEFAULT_AVATAR_VARIANT, buildAvatarRootClasses, buildInlineSizeStyles } from "./utils.js";
7
- import { useMemo } from "react";
7
+ import { forwardRef, useMemo } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  import { Building, Person } from "@yahoo/uds-icons";
10
10
 
@@ -22,7 +22,7 @@ const mapVariantToIcon = {
22
22
  * @param props - Props for icon variant.
23
23
  * @returns The AvatarIcon element.
24
24
  */
25
- const AvatarIcon = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, customSize, icon, slotProps, className, ...props }) => {
25
+ const AvatarIcon = forwardRef(({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, customSize, icon, slotProps, className, ...props }, ref) => {
26
26
  const classNames = useMemo(() => ({
27
27
  root: buildAvatarRootClasses(size, {
28
28
  avatarIconVariantRoot: variant,
@@ -39,6 +39,7 @@ const AvatarIcon = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIA
39
39
  const inlineStyles = useMemo(() => buildInlineSizeStyles(customSize), [customSize]);
40
40
  const iconSvg = icon ?? mapVariantToIcon[variant ?? "primary"];
41
41
  return /* @__PURE__ */ jsx(Box, {
42
+ ref,
42
43
  className: classNames.root,
43
44
  style: inlineStyles.root,
44
45
  ...props,
@@ -56,7 +57,7 @@ const AvatarIcon = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIA
56
57
  })
57
58
  })
58
59
  });
59
- };
60
+ });
60
61
  AvatarIcon.displayName = "AvatarIcon";
61
62
 
62
63
  //#endregion
@@ -21,7 +21,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
21
21
  * @param props - Props for image variant.
22
22
  * @returns The AvatarImage element.
23
23
  */
24
- const AvatarImage = ({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, src, srcSet, customSize, alt, abbreviationStrategy, fallback, className, imageProps, slotProps, ...props }) => {
24
+ const AvatarImage = (0, react.forwardRef)(({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, src, srcSet, customSize, alt, abbreviationStrategy, fallback, className, imageProps, slotProps, ...props }, ref) => {
25
25
  const [loadingState, setLoadingState] = (0, react.useState)("loading");
26
26
  (0, react.useEffect)(() => {
27
27
  let mounted = true;
@@ -53,6 +53,7 @@ const AvatarImage = ({ size = require_components_client_Avatar_utils.DEFAULT_AVA
53
53
  ]);
54
54
  const inlineStyles = (0, react.useMemo)(() => require_components_client_Avatar_utils.buildInlineSizeStyles(customSize), [customSize]);
55
55
  if (loadingState === "loaded") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
56
+ ref,
56
57
  className: classNames.root,
57
58
  style: inlineStyles.root,
58
59
  ...props,
@@ -73,6 +74,7 @@ const AvatarImage = ({ size = require_components_client_Avatar_utils.DEFAULT_AVA
73
74
  variant
74
75
  };
75
76
  if (fallback || alt) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Avatar_AvatarText.AvatarText, {
77
+ ref,
76
78
  name: alt,
77
79
  initials: fallback,
78
80
  abbreviationStrategy,
@@ -80,10 +82,11 @@ const AvatarImage = ({ size = require_components_client_Avatar_utils.DEFAULT_AVA
80
82
  ...sharedProps
81
83
  });
82
84
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Avatar_AvatarIcon.AvatarIcon, {
85
+ ref,
83
86
  ...sharedProps,
84
87
  slotProps: { icon: slotProps?.icon }
85
88
  });
86
- };
89
+ });
87
90
  AvatarImage.displayName = "AvatarImage";
88
91
 
89
92
  //#endregion
@@ -4,7 +4,7 @@ import { UniversalAvatarImageProps } from "../../../tokens/types.cjs";
4
4
  import "../../../tokens/index.cjs";
5
5
  import { AvatarIconProps } from "./AvatarIcon.cjs";
6
6
  import { AvatarTextProps } from "./AvatarText.cjs";
7
- import * as react_jsx_runtime0 from "react/jsx-runtime";
7
+ import * as react from "react";
8
8
 
9
9
  //#region src/components/client/Avatar/AvatarImage.d.ts
10
10
  type DataAttributes = {
@@ -25,22 +25,6 @@ interface AvatarImageProps extends UniversalAvatarImageProps {
25
25
  * @param props - Props for image variant.
26
26
  * @returns The AvatarImage element.
27
27
  */
28
- declare const AvatarImage: {
29
- ({
30
- size,
31
- variant,
32
- src,
33
- srcSet,
34
- customSize,
35
- alt,
36
- abbreviationStrategy,
37
- fallback,
38
- className,
39
- imageProps,
40
- slotProps,
41
- ...props
42
- }: AvatarImageProps): react_jsx_runtime0.JSX.Element;
43
- displayName: string;
44
- };
28
+ declare const AvatarImage: react.ForwardRefExoticComponent<AvatarImageProps & react.RefAttributes<HTMLDivElement>>;
45
29
  //#endregion
46
30
  export { AvatarImage, type AvatarImageProps };
@@ -4,7 +4,7 @@ import { UniversalAvatarImageProps } from "../../../tokens/types.js";
4
4
  import "../../../tokens/index.js";
5
5
  import { AvatarIconProps } from "./AvatarIcon.js";
6
6
  import { AvatarTextProps } from "./AvatarText.js";
7
- import * as react_jsx_runtime0 from "react/jsx-runtime";
7
+ import * as react from "react";
8
8
 
9
9
  //#region src/components/client/Avatar/AvatarImage.d.ts
10
10
  type DataAttributes = {
@@ -25,22 +25,6 @@ interface AvatarImageProps extends UniversalAvatarImageProps {
25
25
  * @param props - Props for image variant.
26
26
  * @returns The AvatarImage element.
27
27
  */
28
- declare const AvatarImage: {
29
- ({
30
- size,
31
- variant,
32
- src,
33
- srcSet,
34
- customSize,
35
- alt,
36
- abbreviationStrategy,
37
- fallback,
38
- className,
39
- imageProps,
40
- slotProps,
41
- ...props
42
- }: AvatarImageProps): react_jsx_runtime0.JSX.Element;
43
- displayName: string;
44
- };
28
+ declare const AvatarImage: react.ForwardRefExoticComponent<AvatarImageProps & react.RefAttributes<HTMLDivElement>>;
45
29
  //#endregion
46
30
  export { AvatarImage, type AvatarImageProps };
@@ -6,7 +6,7 @@ import { Image as Image$1 } from "../../Image.js";
6
6
  import { DEFAULT_AVATAR_SIZE, DEFAULT_AVATAR_VARIANT, buildAvatarRootClasses, buildInlineSizeStyles } from "./utils.js";
7
7
  import { AvatarIcon } from "./AvatarIcon.js";
8
8
  import { AvatarText } from "./AvatarText.js";
9
- import { useEffect, useMemo, useState } from "react";
9
+ import { forwardRef, useEffect, useMemo, useState } from "react";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
 
12
12
  //#region src/components/client/Avatar/AvatarImage.tsx
@@ -19,7 +19,7 @@ import { jsx } from "react/jsx-runtime";
19
19
  * @param props - Props for image variant.
20
20
  * @returns The AvatarImage element.
21
21
  */
22
- const AvatarImage = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, src, srcSet, customSize, alt, abbreviationStrategy, fallback, className, imageProps, slotProps, ...props }) => {
22
+ const AvatarImage = forwardRef(({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, src, srcSet, customSize, alt, abbreviationStrategy, fallback, className, imageProps, slotProps, ...props }, ref) => {
23
23
  const [loadingState, setLoadingState] = useState("loading");
24
24
  useEffect(() => {
25
25
  let mounted = true;
@@ -51,6 +51,7 @@ const AvatarImage = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARI
51
51
  ]);
52
52
  const inlineStyles = useMemo(() => buildInlineSizeStyles(customSize), [customSize]);
53
53
  if (loadingState === "loaded") return /* @__PURE__ */ jsx(Box, {
54
+ ref,
54
55
  className: classNames.root,
55
56
  style: inlineStyles.root,
56
57
  ...props,
@@ -71,6 +72,7 @@ const AvatarImage = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARI
71
72
  variant
72
73
  };
73
74
  if (fallback || alt) return /* @__PURE__ */ jsx(AvatarText, {
75
+ ref,
74
76
  name: alt,
75
77
  initials: fallback,
76
78
  abbreviationStrategy,
@@ -78,10 +80,11 @@ const AvatarImage = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARI
78
80
  ...sharedProps
79
81
  });
80
82
  return /* @__PURE__ */ jsx(AvatarIcon, {
83
+ ref,
81
84
  ...sharedProps,
82
85
  slotProps: { icon: slotProps?.icon }
83
86
  });
84
- };
87
+ });
85
88
  AvatarImage.displayName = "AvatarImage";
86
89
 
87
90
  //#endregion
@@ -18,7 +18,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
18
18
  * @param props - Props for text variant.
19
19
  * @returns The AvatarText element.
20
20
  */
21
- const AvatarText = ({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, name, initials, customSize, abbreviationStrategy, className, slotProps, ...props }) => {
21
+ const AvatarText = (0, react.forwardRef)(({ size = require_components_client_Avatar_utils.DEFAULT_AVATAR_SIZE, variant = require_components_client_Avatar_utils.DEFAULT_AVATAR_VARIANT, name, initials, customSize, abbreviationStrategy, className, slotProps, ...props }, ref) => {
22
22
  const classNames = (0, react.useMemo)(() => ({
23
23
  root: require_components_client_Avatar_utils.buildAvatarRootClasses(size, {
24
24
  avatarTextVariantRoot: variant,
@@ -32,6 +32,7 @@ const AvatarText = ({ size = require_components_client_Avatar_utils.DEFAULT_AVAT
32
32
  ]);
33
33
  const inlineStyles = (0, react.useMemo)(() => require_components_client_Avatar_utils.buildInlineSizeStyles(customSize), [customSize]);
34
34
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
35
+ ref,
35
36
  className: classNames.root,
36
37
  style: inlineStyles.root,
37
38
  ...props,
@@ -44,7 +45,7 @@ const AvatarText = ({ size = require_components_client_Avatar_utils.DEFAULT_AVAT
44
45
  children: initials || require_components_client_Avatar_utils.generateAvatarAbbreviation(name, abbreviationStrategy)
45
46
  })
46
47
  });
47
- };
48
+ });
48
49
  AvatarText.displayName = "AvatarText";
49
50
 
50
51
  //#endregion
@@ -2,7 +2,7 @@
2
2
  import { UniversalAvatarTextProps } from "../../../types/dist/index.cjs";
3
3
  import "../../../tokens/index.cjs";
4
4
  import { TextProps } from "../../Text.cjs";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as react from "react";
6
6
 
7
7
  //#region src/components/client/Avatar/AvatarText.d.ts
8
8
  type DataAttributes = {
@@ -22,19 +22,6 @@ interface AvatarTextProps extends UniversalAvatarTextProps {
22
22
  * @param props - Props for text variant.
23
23
  * @returns The AvatarText element.
24
24
  */
25
- declare const AvatarText: {
26
- ({
27
- size,
28
- variant,
29
- name,
30
- initials,
31
- customSize,
32
- abbreviationStrategy,
33
- className,
34
- slotProps,
35
- ...props
36
- }: AvatarTextProps): react_jsx_runtime0.JSX.Element;
37
- displayName: string;
38
- };
25
+ declare const AvatarText: react.ForwardRefExoticComponent<AvatarTextProps & react.RefAttributes<HTMLDivElement>>;
39
26
  //#endregion
40
27
  export { AvatarText, type AvatarTextProps };
@@ -2,7 +2,7 @@
2
2
  import { UniversalAvatarTextProps } from "../../../types/dist/index.js";
3
3
  import "../../../tokens/index.js";
4
4
  import { TextProps } from "../../Text.js";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as react from "react";
6
6
 
7
7
  //#region src/components/client/Avatar/AvatarText.d.ts
8
8
  type DataAttributes = {
@@ -22,19 +22,6 @@ interface AvatarTextProps extends UniversalAvatarTextProps {
22
22
  * @param props - Props for text variant.
23
23
  * @returns The AvatarText element.
24
24
  */
25
- declare const AvatarText: {
26
- ({
27
- size,
28
- variant,
29
- name,
30
- initials,
31
- customSize,
32
- abbreviationStrategy,
33
- className,
34
- slotProps,
35
- ...props
36
- }: AvatarTextProps): react_jsx_runtime0.JSX.Element;
37
- displayName: string;
38
- };
25
+ declare const AvatarText: react.ForwardRefExoticComponent<AvatarTextProps & react.RefAttributes<HTMLDivElement>>;
39
26
  //#endregion
40
27
  export { AvatarText, type AvatarTextProps };
@@ -4,7 +4,7 @@ import { cx } from "../../../styles/styler.js";
4
4
  import { Box } from "../../Box.js";
5
5
  import { Text } from "../../Text.js";
6
6
  import { DEFAULT_AVATAR_SIZE, DEFAULT_AVATAR_VARIANT, buildAvatarRootClasses, buildInlineSizeStyles, generateAvatarAbbreviation } from "./utils.js";
7
- import { useMemo } from "react";
7
+ import { forwardRef, useMemo } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
 
10
10
  //#region src/components/client/Avatar/AvatarText.tsx
@@ -16,7 +16,7 @@ import { jsx } from "react/jsx-runtime";
16
16
  * @param props - Props for text variant.
17
17
  * @returns The AvatarText element.
18
18
  */
19
- const AvatarText = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, name, initials, customSize, abbreviationStrategy, className, slotProps, ...props }) => {
19
+ const AvatarText = forwardRef(({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIANT, name, initials, customSize, abbreviationStrategy, className, slotProps, ...props }, ref) => {
20
20
  const classNames = useMemo(() => ({
21
21
  root: buildAvatarRootClasses(size, {
22
22
  avatarTextVariantRoot: variant,
@@ -30,6 +30,7 @@ const AvatarText = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIA
30
30
  ]);
31
31
  const inlineStyles = useMemo(() => buildInlineSizeStyles(customSize), [customSize]);
32
32
  return /* @__PURE__ */ jsx(Box, {
33
+ ref,
33
34
  className: classNames.root,
34
35
  style: inlineStyles.root,
35
36
  ...props,
@@ -42,7 +43,7 @@ const AvatarText = ({ size = DEFAULT_AVATAR_SIZE, variant = DEFAULT_AVATAR_VARIA
42
43
  children: initials || generateAvatarAbbreviation(name, abbreviationStrategy)
43
44
  })
44
45
  });
45
- };
46
+ });
46
47
  AvatarText.displayName = "AvatarText";
47
48
 
48
49
  //#endregion
@@ -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 };
@@ -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 };
@@ -44,7 +44,11 @@ const Slot = require_utils_createSlot.createSlot();
44
44
  * @related [Button](https://uds.build/docs/components/button), [IconButton](https://uds.build/docs/components/icon-button)
45
45
  *
46
46
  */
47
- const Pressable = (0, react.forwardRef)(function Pressable({ className, asChild, onPress, onClick = onPress, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, dropShadow, insetShadow, ...props }, ref) {
47
+ const Pressable = (0, react.forwardRef)(function Pressable({ className, asChild, onPress, onClick, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, dropShadow, insetShadow, ...props }, ref) {
48
+ const handleClick = onPress || onClick ? (e) => {
49
+ onClick?.(e);
50
+ onPress?.();
51
+ } : void 0;
48
52
  const styles = require_styles_styler.getStyles({
49
53
  backgroundColor,
50
54
  borderRadius,
@@ -102,7 +106,7 @@ const Pressable = (0, react.forwardRef)(function Pressable({ className, asChild,
102
106
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(asChild ? Slot : "button", {
103
107
  className: styles,
104
108
  ref,
105
- onClick,
109
+ onClick: handleClick,
106
110
  tabIndex: 0,
107
111
  ...props
108
112
  });