@yahoo/uds 3.116.3 → 3.117.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 (150) hide show
  1. package/dist/automated-config/dist/generated/autoVariants.cjs +11 -0
  2. package/dist/automated-config/dist/generated/autoVariants.d.cts +11 -0
  3. package/dist/automated-config/dist/generated/autoVariants.d.ts +11 -0
  4. package/dist/automated-config/dist/generated/autoVariants.js +11 -0
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +1890 -0
  6. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +208 -1
  7. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +208 -1
  8. package/dist/automated-config/dist/generated/generatedConfigs.js +1890 -1
  9. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +83 -0
  10. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
  11. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
  12. package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +83 -0
  13. package/dist/cli/commands/sync.cjs +6 -0
  14. package/dist/cli/commands/sync.js +6 -0
  15. package/dist/components/SvgFloatingOverlay.cjs +122 -0
  16. package/dist/components/SvgFloatingOverlay.d.cts +42 -0
  17. package/dist/components/SvgFloatingOverlay.d.ts +42 -0
  18. package/dist/components/SvgFloatingOverlay.js +120 -0
  19. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
  20. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
  21. package/dist/components/client/Popover/Popover.cjs +96 -0
  22. package/dist/components/client/Popover/Popover.d.cts +55 -0
  23. package/dist/components/client/Popover/Popover.d.ts +55 -0
  24. package/dist/components/client/Popover/Popover.js +94 -0
  25. package/dist/components/client/Popover/PopoverContent.cjs +175 -0
  26. package/dist/components/client/Popover/PopoverContent.d.cts +26 -0
  27. package/dist/components/client/Popover/PopoverContent.d.ts +26 -0
  28. package/dist/components/client/Popover/PopoverContent.js +173 -0
  29. package/dist/components/client/Popover/PopoverContext.cjs +11 -0
  30. package/dist/components/client/Popover/PopoverContext.d.cts +21 -0
  31. package/dist/components/client/Popover/PopoverContext.d.ts +21 -0
  32. package/dist/components/client/Popover/PopoverContext.js +9 -0
  33. package/dist/components/client/Popover/PopoverTrigger.cjs +26 -0
  34. package/dist/components/client/Popover/PopoverTrigger.d.cts +14 -0
  35. package/dist/components/client/Popover/PopoverTrigger.d.ts +14 -0
  36. package/dist/components/client/Popover/PopoverTrigger.js +24 -0
  37. package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +40 -0
  38. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +28 -0
  39. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +28 -0
  40. package/dist/components/client/Popover/UDSPopoverConfigProvider.js +37 -0
  41. package/dist/components/client/Popover/index.cjs +12 -0
  42. package/dist/components/client/Popover/index.d.cts +7 -0
  43. package/dist/components/client/Popover/index.d.ts +7 -0
  44. package/dist/components/client/Popover/index.js +8 -0
  45. package/dist/components/client/Toast/Toast.cjs +3 -3
  46. package/dist/components/client/Toast/Toast.d.cts +1 -1
  47. package/dist/components/client/Toast/Toast.d.ts +1 -1
  48. package/dist/components/client/Toast/Toast.js +3 -3
  49. package/dist/components/client/Toast/index.d.cts +1 -1
  50. package/dist/components/client/Toast/index.d.ts +1 -1
  51. package/dist/components/client/Tooltip/Tooltip.cjs +6 -6
  52. package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
  53. package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
  54. package/dist/components/client/Tooltip/Tooltip.js +6 -6
  55. package/dist/components/client/Tooltip/TooltipContent.cjs +33 -96
  56. package/dist/components/client/Tooltip/TooltipContent.js +34 -97
  57. package/dist/components/client/Tooltip/tooltipContext.cjs +0 -1
  58. package/dist/components/client/Tooltip/tooltipContext.d.cts +1 -2
  59. package/dist/components/client/Tooltip/tooltipContext.d.ts +1 -2
  60. package/dist/components/client/Tooltip/tooltipContext.js +0 -1
  61. package/dist/components/client/index.cjs +8 -0
  62. package/dist/components/client/index.d.cts +10 -5
  63. package/dist/components/client/index.d.ts +10 -5
  64. package/dist/components/client/index.js +5 -1
  65. package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
  66. package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
  67. package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
  68. package/dist/components/client/providers/UDSConfigProvider.js +6 -2
  69. package/dist/components/experimental/client/{Popover.cjs → ExperimentalPopover.cjs} +10 -1
  70. package/dist/components/experimental/client/ExperimentalPopover.d.cts +40 -0
  71. package/dist/components/experimental/client/ExperimentalPopover.d.ts +40 -0
  72. package/dist/components/experimental/client/{Popover.js → ExperimentalPopover.js} +10 -1
  73. package/dist/components/experimental/client/index.cjs +10 -10
  74. package/dist/components/experimental/client/index.d.cts +2 -2
  75. package/dist/components/experimental/client/index.d.ts +2 -2
  76. package/dist/components/experimental/client/index.js +1 -1
  77. package/dist/components/experimental/index.cjs +19 -19
  78. package/dist/components/experimental/index.d.cts +2 -2
  79. package/dist/components/experimental/index.d.ts +2 -2
  80. package/dist/components/experimental/index.js +1 -1
  81. package/dist/components/index.cjs +12 -0
  82. package/dist/components/index.d.cts +9 -5
  83. package/dist/components/index.d.ts +9 -5
  84. package/dist/components/index.js +9 -1
  85. package/dist/config/dist/index.cjs +84 -1
  86. package/dist/config/dist/index.js +84 -1
  87. package/dist/hooks/useSvgFloatingContent.cjs +236 -0
  88. package/dist/hooks/useSvgFloatingContent.d.cts +74 -0
  89. package/dist/hooks/useSvgFloatingContent.d.ts +74 -0
  90. package/dist/{components/client/Tooltip/useTooltipContent.js → hooks/useSvgFloatingContent.js} +94 -44
  91. package/dist/index.cjs +21 -10
  92. package/dist/index.d.cts +15 -10
  93. package/dist/index.d.ts +15 -10
  94. package/dist/index.js +16 -11
  95. package/dist/runtime/index.cjs +2 -0
  96. package/dist/runtime/index.d.cts +3 -2
  97. package/dist/runtime/index.d.ts +3 -2
  98. package/dist/runtime/index.js +2 -1
  99. package/dist/runtime/popoverConfig.cjs +36 -0
  100. package/dist/runtime/popoverConfig.d.cts +25 -0
  101. package/dist/runtime/popoverConfig.d.ts +25 -0
  102. package/dist/runtime/popoverConfig.js +35 -0
  103. package/dist/runtime/udsConfig.cjs +3 -1
  104. package/dist/runtime/udsConfig.d.cts +3 -1
  105. package/dist/runtime/udsConfig.d.ts +3 -1
  106. package/dist/runtime/udsConfig.js +3 -1
  107. package/dist/styles/styler.d.cts +114 -103
  108. package/dist/styles/styler.d.ts +114 -103
  109. package/dist/styles/variants.d.cts +33 -0
  110. package/dist/styles/variants.d.ts +33 -0
  111. package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
  112. package/dist/tailwind/dist/tailwind/plugins/components.js +2 -1
  113. package/dist/tokens/automation/configs/index.cjs +1 -0
  114. package/dist/tokens/automation/configs/index.d.cts +2 -2
  115. package/dist/tokens/automation/configs/index.d.ts +2 -2
  116. package/dist/tokens/automation/configs/index.js +2 -2
  117. package/dist/tokens/automation/index.cjs +1 -0
  118. package/dist/tokens/automation/index.d.cts +2 -2
  119. package/dist/tokens/automation/index.d.ts +2 -2
  120. package/dist/tokens/automation/index.js +2 -2
  121. package/dist/tokens/index.cjs +2 -1
  122. package/dist/tokens/index.d.cts +3 -3
  123. package/dist/tokens/index.d.ts +3 -3
  124. package/dist/tokens/index.js +3 -3
  125. package/dist/tokens/types.d.cts +2 -2
  126. package/dist/tokens/types.d.ts +2 -2
  127. package/dist/types/dist/index.d.cts +51 -1
  128. package/dist/types/dist/index.d.ts +51 -1
  129. package/dist/uds/generated/componentData.cjs +1296 -1134
  130. package/dist/uds/generated/componentData.js +1262 -1136
  131. package/dist/uds/generated/tailwindPurge.cjs +55 -27
  132. package/dist/uds/generated/tailwindPurge.js +55 -27
  133. package/dist/utils/parseShadow.cjs +120 -0
  134. package/dist/utils/parseShadow.d.cts +33 -0
  135. package/dist/utils/parseShadow.d.ts +33 -0
  136. package/dist/utils/parseShadow.js +118 -0
  137. package/dist/utils/svgFloatingContentUtils.cjs +121 -0
  138. package/dist/{components/client/Tooltip/util.d.cts → utils/svgFloatingContentUtils.d.cts} +25 -62
  139. package/dist/{components/client/Tooltip/util.d.ts → utils/svgFloatingContentUtils.d.ts} +25 -62
  140. package/dist/utils/svgFloatingContentUtils.js +117 -0
  141. package/generated/componentData.json +1628 -1469
  142. package/generated/tailwindPurge.ts +4 -4
  143. package/package.json +1 -1
  144. package/dist/components/client/Tooltip/useTooltipContent.cjs +0 -186
  145. package/dist/components/client/Tooltip/useTooltipContent.d.cts +0 -66
  146. package/dist/components/client/Tooltip/useTooltipContent.d.ts +0 -66
  147. package/dist/components/client/Tooltip/util.cjs +0 -248
  148. package/dist/components/client/Tooltip/util.js +0 -240
  149. package/dist/components/experimental/client/Popover.d.cts +0 -29
  150. package/dist/components/experimental/client/Popover.d.ts +0 -29
@@ -11064,6 +11064,89 @@ const defaultUniversalTokensConfigAuto = {
11064
11064
  } } }
11065
11065
  }
11066
11066
  },
11067
+ popover: {
11068
+ defaults: {
11069
+ size: "default",
11070
+ variant: "default"
11071
+ },
11072
+ variables: {
11073
+ "size/default/closeIcon": { size: { rest: {
11074
+ type: "iconSizes",
11075
+ value: "sm",
11076
+ valueType: "alias"
11077
+ } } },
11078
+ "size/default/closeIconContainer": { spacing: { rest: {
11079
+ type: "spacingAliases",
11080
+ value: "2",
11081
+ valueType: "alias"
11082
+ } } },
11083
+ "size/default/contentWrapper": {
11084
+ gap: { rest: {
11085
+ type: "spacingAliases",
11086
+ value: "3",
11087
+ valueType: "alias"
11088
+ } },
11089
+ spacingHorizontal: { rest: {
11090
+ type: "spacingAliases",
11091
+ value: "5",
11092
+ valueType: "alias"
11093
+ } },
11094
+ spacingVertical: { rest: {
11095
+ type: "spacingAliases",
11096
+ value: "5",
11097
+ valueType: "alias"
11098
+ } }
11099
+ },
11100
+ "size/default/root": { shadow: { rest: {
11101
+ type: "elevationAliases",
11102
+ value: "elevation-4",
11103
+ valueType: "alias"
11104
+ } } },
11105
+ "size/default/svgBase": { borderRadius: { rest: {
11106
+ type: "borderRadii",
11107
+ value: "lg",
11108
+ valueType: "alias"
11109
+ } } },
11110
+ "size/default/svgBorder": { strokeWidth: { rest: {
11111
+ type: "elevationAliases",
11112
+ value: "elevation-4",
11113
+ valueType: "alias"
11114
+ } } },
11115
+ "variant/default/blur": { backdropBlur: { rest: {
11116
+ type: "positiveIntegers",
11117
+ value: 0,
11118
+ valueType: "alias"
11119
+ } } },
11120
+ "variant/default/closeIcon": { color: { rest: {
11121
+ type: "foregroundPaletteColors",
11122
+ value: "primary",
11123
+ valueType: "alias"
11124
+ } } },
11125
+ "variant/default/root": {},
11126
+ "variant/default/svgBase": {
11127
+ backgroundColor: { rest: {
11128
+ type: "elevationAliases",
11129
+ value: "elevation-4",
11130
+ valueType: "alias"
11131
+ } },
11132
+ blurBackgroundColorFallback: { rest: {
11133
+ type: "elevationAliases",
11134
+ value: "elevation-4",
11135
+ valueType: "alias"
11136
+ } },
11137
+ fillOpacity: { rest: {
11138
+ type: "opacitySteps",
11139
+ value: "100",
11140
+ valueType: "alias"
11141
+ } }
11142
+ },
11143
+ "variant/default/svgBorder": { stroke: { rest: {
11144
+ type: "elevationAliases",
11145
+ value: "elevation-4",
11146
+ valueType: "alias"
11147
+ } } }
11148
+ }
11149
+ },
11067
11150
  radio: {
11068
11151
  defaults: {
11069
11152
  size: "sm",
@@ -1,5 +1,5 @@
1
1
 
2
- import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.cjs";
2
+ import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.cjs";
3
3
  import { ComponentSchema } from "../utils/buildConfigSchema.cjs";
4
4
 
5
5
  //#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
@@ -17,6 +17,7 @@ interface UniversalTokensConfigAuto {
17
17
  link: ComponentSchema<typeof LinkConfig>;
18
18
  menuContent: ComponentSchema<typeof MenuContentConfig>;
19
19
  menuItem: ComponentSchema<typeof MenuItemConfig>;
20
+ popover: ComponentSchema<typeof PopoverConfig>;
20
21
  radio: ComponentSchema<typeof RadioConfig>;
21
22
  scrim: ComponentSchema<typeof ScrimConfig>;
22
23
  switch: ComponentSchema<typeof SwitchConfig>;
@@ -1,5 +1,5 @@
1
1
 
2
- import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.js";
2
+ import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.js";
3
3
  import { ComponentSchema } from "../utils/buildConfigSchema.js";
4
4
 
5
5
  //#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
@@ -17,6 +17,7 @@ interface UniversalTokensConfigAuto {
17
17
  link: ComponentSchema<typeof LinkConfig>;
18
18
  menuContent: ComponentSchema<typeof MenuContentConfig>;
19
19
  menuItem: ComponentSchema<typeof MenuItemConfig>;
20
+ popover: ComponentSchema<typeof PopoverConfig>;
20
21
  radio: ComponentSchema<typeof RadioConfig>;
21
22
  scrim: ComponentSchema<typeof ScrimConfig>;
22
23
  switch: ComponentSchema<typeof SwitchConfig>;
@@ -11063,6 +11063,89 @@ const defaultUniversalTokensConfigAuto = {
11063
11063
  } } }
11064
11064
  }
11065
11065
  },
11066
+ popover: {
11067
+ defaults: {
11068
+ size: "default",
11069
+ variant: "default"
11070
+ },
11071
+ variables: {
11072
+ "size/default/closeIcon": { size: { rest: {
11073
+ type: "iconSizes",
11074
+ value: "sm",
11075
+ valueType: "alias"
11076
+ } } },
11077
+ "size/default/closeIconContainer": { spacing: { rest: {
11078
+ type: "spacingAliases",
11079
+ value: "2",
11080
+ valueType: "alias"
11081
+ } } },
11082
+ "size/default/contentWrapper": {
11083
+ gap: { rest: {
11084
+ type: "spacingAliases",
11085
+ value: "3",
11086
+ valueType: "alias"
11087
+ } },
11088
+ spacingHorizontal: { rest: {
11089
+ type: "spacingAliases",
11090
+ value: "5",
11091
+ valueType: "alias"
11092
+ } },
11093
+ spacingVertical: { rest: {
11094
+ type: "spacingAliases",
11095
+ value: "5",
11096
+ valueType: "alias"
11097
+ } }
11098
+ },
11099
+ "size/default/root": { shadow: { rest: {
11100
+ type: "elevationAliases",
11101
+ value: "elevation-4",
11102
+ valueType: "alias"
11103
+ } } },
11104
+ "size/default/svgBase": { borderRadius: { rest: {
11105
+ type: "borderRadii",
11106
+ value: "lg",
11107
+ valueType: "alias"
11108
+ } } },
11109
+ "size/default/svgBorder": { strokeWidth: { rest: {
11110
+ type: "elevationAliases",
11111
+ value: "elevation-4",
11112
+ valueType: "alias"
11113
+ } } },
11114
+ "variant/default/blur": { backdropBlur: { rest: {
11115
+ type: "positiveIntegers",
11116
+ value: 0,
11117
+ valueType: "alias"
11118
+ } } },
11119
+ "variant/default/closeIcon": { color: { rest: {
11120
+ type: "foregroundPaletteColors",
11121
+ value: "primary",
11122
+ valueType: "alias"
11123
+ } } },
11124
+ "variant/default/root": {},
11125
+ "variant/default/svgBase": {
11126
+ backgroundColor: { rest: {
11127
+ type: "elevationAliases",
11128
+ value: "elevation-4",
11129
+ valueType: "alias"
11130
+ } },
11131
+ blurBackgroundColorFallback: { rest: {
11132
+ type: "elevationAliases",
11133
+ value: "elevation-4",
11134
+ valueType: "alias"
11135
+ } },
11136
+ fillOpacity: { rest: {
11137
+ type: "opacitySteps",
11138
+ value: "100",
11139
+ valueType: "alias"
11140
+ } }
11141
+ },
11142
+ "variant/default/svgBorder": { stroke: { rest: {
11143
+ type: "elevationAliases",
11144
+ value: "elevation-4",
11145
+ valueType: "alias"
11146
+ } } }
11147
+ }
11148
+ },
11066
11149
  radio: {
11067
11150
  defaults: {
11068
11151
  size: "sm",
@@ -4,6 +4,7 @@ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
4
4
  const require_defaultTokensConfig = require('../../defaultTokensConfig.cjs');
5
5
  const require_runtime_bottomSheetConfig = require('../../runtime/bottomSheetConfig.cjs');
6
6
  const require_runtime_breakpointsConfig = require('../../runtime/breakpointsConfig.cjs');
7
+ const require_runtime_popoverConfig = require('../../runtime/popoverConfig.cjs');
7
8
  const require_runtime_toastConfig = require('../../runtime/toastConfig.cjs');
8
9
  const require_runtime_tooltipConfig = require('../../runtime/tooltipConfig.cjs');
9
10
  const require_config = require('../dist/utils/rules/config.cjs');
@@ -18,8 +19,10 @@ let node_fs = require("node:fs");
18
19
  //#region src/cli/commands/sync.ts
19
20
  const PRODUCTION_ENDPOINT = "https://config.uds.build/api/config";
20
21
  const STAGING_ENDPOINT = "https://staging.config.uds.build/api/config";
22
+ const BETA_ENDPOINT = "https://configurator-git-beta-yahoo-design.vercel.app/api/config";
21
23
  function getConfigEndpoint() {
22
24
  if (process.env.DATABASE === "staging") return STAGING_ENDPOINT;
25
+ if (process.env.DATABASE === "beta") return BETA_ENDPOINT;
23
26
  if (process.env.DATABASE === "local") return `http://localhost:${process.env.PORT || 4001}/api/config`;
24
27
  return PRODUCTION_ENDPOINT;
25
28
  }
@@ -64,6 +67,7 @@ const syncCommand = {
64
67
  const runtimeConfigs = {
65
68
  bottomSheet: [require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(sortedConfig), "UDSBottomSheetConfigContextType"],
66
69
  breakpoints: [require_runtime_breakpointsConfig.configToBreakpointsConfigContext(sortedConfig), "UDSBreakpointsConfigContextType"],
70
+ popover: [require_runtime_popoverConfig.configToPopoverConfigContext(sortedConfig), "UDSPopoverConfigContextType"],
67
71
  toast: [require_runtime_toastConfig.configToToastConfigContext(sortedConfig), "UDSToastConfigContextType"],
68
72
  tooltip: [require_runtime_tooltipConfig.configToTooltipConfigContext(sortedConfig), "UDSTooltipConfigContextType"]
69
73
  };
@@ -79,12 +83,14 @@ const syncCommand = {
79
83
  exportsTS.push(`export const runtimeConfig: UDSConfigContextType = {
80
84
  bottomSheet: bottomSheetRuntimeConfig,
81
85
  breakpoints: breakpointsRuntimeConfig,
86
+ popover: popoverRuntimeConfig,
82
87
  toast: toastRuntimeConfig,
83
88
  tooltip: tooltipRuntimeConfig,
84
89
  };`);
85
90
  exportsJS.push(`export const runtimeConfig = {
86
91
  bottomSheet: bottomSheetRuntimeConfig,
87
92
  breakpoints: breakpointsRuntimeConfig,
93
+ popover: popoverRuntimeConfig,
88
94
  toast: toastRuntimeConfig,
89
95
  tooltip: tooltipRuntimeConfig,
90
96
  };`);
@@ -2,6 +2,7 @@
2
2
  import { defaultTokensConfig } from "../../defaultTokensConfig.js";
3
3
  import { configToBottomSheetConfigContext } from "../../runtime/bottomSheetConfig.js";
4
4
  import { configToBreakpointsConfigContext } from "../../runtime/breakpointsConfig.js";
5
+ import { configToPopoverConfigContext } from "../../runtime/popoverConfig.js";
5
6
  import { configToToastConfigContext } from "../../runtime/toastConfig.js";
6
7
  import { configToTooltipConfigContext } from "../../runtime/tooltipConfig.js";
7
8
  import { getEditorsWithStaleRules } from "../dist/utils/rules/config.js";
@@ -15,8 +16,10 @@ import { writeFileSync } from "node:fs";
15
16
  //#region src/cli/commands/sync.ts
16
17
  const PRODUCTION_ENDPOINT = "https://config.uds.build/api/config";
17
18
  const STAGING_ENDPOINT = "https://staging.config.uds.build/api/config";
19
+ const BETA_ENDPOINT = "https://configurator-git-beta-yahoo-design.vercel.app/api/config";
18
20
  function getConfigEndpoint() {
19
21
  if (process.env.DATABASE === "staging") return STAGING_ENDPOINT;
22
+ if (process.env.DATABASE === "beta") return BETA_ENDPOINT;
20
23
  if (process.env.DATABASE === "local") return `http://localhost:${process.env.PORT || 4001}/api/config`;
21
24
  return PRODUCTION_ENDPOINT;
22
25
  }
@@ -61,6 +64,7 @@ const syncCommand = {
61
64
  const runtimeConfigs = {
62
65
  bottomSheet: [configToBottomSheetConfigContext(sortedConfig), "UDSBottomSheetConfigContextType"],
63
66
  breakpoints: [configToBreakpointsConfigContext(sortedConfig), "UDSBreakpointsConfigContextType"],
67
+ popover: [configToPopoverConfigContext(sortedConfig), "UDSPopoverConfigContextType"],
64
68
  toast: [configToToastConfigContext(sortedConfig), "UDSToastConfigContextType"],
65
69
  tooltip: [configToTooltipConfigContext(sortedConfig), "UDSTooltipConfigContextType"]
66
70
  };
@@ -76,12 +80,14 @@ const syncCommand = {
76
80
  exportsTS.push(`export const runtimeConfig: UDSConfigContextType = {
77
81
  bottomSheet: bottomSheetRuntimeConfig,
78
82
  breakpoints: breakpointsRuntimeConfig,
83
+ popover: popoverRuntimeConfig,
79
84
  toast: toastRuntimeConfig,
80
85
  tooltip: tooltipRuntimeConfig,
81
86
  };`);
82
87
  exportsJS.push(`export const runtimeConfig = {
83
88
  bottomSheet: bottomSheetRuntimeConfig,
84
89
  breakpoints: breakpointsRuntimeConfig,
90
+ popover: popoverRuntimeConfig,
85
91
  toast: toastRuntimeConfig,
86
92
  tooltip: tooltipRuntimeConfig,
87
93
  };`);
@@ -0,0 +1,122 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
+ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
4
+ const require_styles_styler = require('../styles/styler.cjs');
5
+ const require_components_Box = require('./Box.cjs');
6
+ let react = require("react");
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+
9
+ //#region src/components/SvgFloatingOverlay.tsx
10
+ const SvgFloatingOverlay = ({ blurClassName, blurStyle, childTransitionStyle, svgPath, dimensions, shadows, svgClassNames, shadowFilterId, shadowPadding, arrowHeight, contentWrapperSlotProps, children, borderRadius, svgBaseStyle, svgBorderStyle }) => {
11
+ const svgSharedProps = {
12
+ "aria-hidden": true,
13
+ style: childTransitionStyle,
14
+ viewBox: `0 0 ${dimensions.width} ${dimensions.height}`
15
+ };
16
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
17
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
18
+ className: blurClassName,
19
+ style: {
20
+ ...blurStyle,
21
+ ...childTransitionStyle
22
+ }
23
+ }),
24
+ svgPath && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
25
+ ...svgSharedProps,
26
+ className: require_styles_styler.cx("absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none", "z-[2]"),
27
+ children: [
28
+ shadows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("filter", {
29
+ id: shadowFilterId,
30
+ filterUnits: "userSpaceOnUse",
31
+ x: -(shadowPadding + arrowHeight),
32
+ y: -(shadowPadding + arrowHeight),
33
+ width: dimensions.width + 2 * (shadowPadding + arrowHeight),
34
+ height: dimensions.height + 2 * (shadowPadding + arrowHeight),
35
+ colorInterpolationFilters: "sRGB",
36
+ children: [
37
+ shadows.map((shadow, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.Fragment, { children: [
38
+ shadow.spread !== 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMorphology", {
39
+ in: "SourceAlpha",
40
+ operator: shadow.spread > 0 ? "dilate" : "erode",
41
+ radius: Math.abs(shadow.spread),
42
+ result: `spread${i}`
43
+ }),
44
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feGaussianBlur", {
45
+ in: shadow.spread !== 0 ? `spread${i}` : "SourceAlpha",
46
+ stdDeviation: shadow.blur / 2,
47
+ result: `blurred${i}`
48
+ }),
49
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feOffset", {
50
+ in: `blurred${i}`,
51
+ dx: shadow.x,
52
+ dy: shadow.y,
53
+ result: `offset${i}`
54
+ }),
55
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feFlood", {
56
+ floodColor: shadow.color,
57
+ result: `color${i}`
58
+ }),
59
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feComposite", {
60
+ in: `color${i}`,
61
+ in2: `offset${i}`,
62
+ operator: "in",
63
+ result: `shadow${i}`
64
+ })
65
+ ] }, i)),
66
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMerge", {
67
+ result: "mergedShadows",
68
+ children: shadows.map((_, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMergeNode", { in: `shadow${i}` }, i))
69
+ }),
70
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feComposite", {
71
+ in: "mergedShadows",
72
+ in2: "SourceAlpha",
73
+ operator: "out"
74
+ })
75
+ ]
76
+ }) }),
77
+ shadows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
78
+ d: svgPath,
79
+ fill: "black",
80
+ filter: `url(#${shadowFilterId})`
81
+ }),
82
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
83
+ d: svgPath,
84
+ className: svgClassNames.base,
85
+ style: svgBaseStyle
86
+ })
87
+ ]
88
+ }),
89
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
90
+ position: "relative",
91
+ flexGrow: "1",
92
+ overflow: "hidden",
93
+ ...contentWrapperSlotProps,
94
+ className: require_styles_styler.cx("z-[3]", "max-h-full", "gap-[inherit]", contentWrapperSlotProps?.className),
95
+ style: {
96
+ ...childTransitionStyle,
97
+ borderRadius
98
+ },
99
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
100
+ overflow: "auto",
101
+ flexGrow: "1",
102
+ display: "block",
103
+ className: "max-h-full gap-[inherit]",
104
+ children
105
+ })
106
+ }),
107
+ svgPath && svgClassNames.border && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
108
+ ...svgSharedProps,
109
+ className: require_styles_styler.cx("absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none", "z-[3]"),
110
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
111
+ d: svgPath,
112
+ className: svgClassNames.border,
113
+ fill: "transparent",
114
+ style: svgBorderStyle
115
+ })
116
+ })
117
+ ] });
118
+ };
119
+ SvgFloatingOverlay.displayName = "SvgFloatingOverlay";
120
+
121
+ //#endregion
122
+ exports.SvgFloatingOverlay = SvgFloatingOverlay;
@@ -0,0 +1,42 @@
1
+
2
+ import { BoxProps } from "./Box.cjs";
3
+ import { UseSvgFloatingContentReturn } from "../hooks/useSvgFloatingContent.cjs";
4
+ import { CSSProperties } from "react";
5
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
+
7
+ //#region src/components/SvgFloatingOverlay.d.ts
8
+ interface SvgFloatingOverlayProps extends Pick<UseSvgFloatingContentReturn, 'blurStyle' | 'childTransitionStyle' | 'svgPath' | 'shadows' | 'shadowFilterId' | 'shadowPadding' | 'dimensions'> {
9
+ blurClassName: string;
10
+ svgClassNames: {
11
+ base: string;
12
+ border?: string;
13
+ };
14
+ arrowHeight: number;
15
+ children: React.ReactNode;
16
+ contentWrapperSlotProps?: Partial<BoxProps>;
17
+ borderRadius?: number;
18
+ svgBaseStyle?: CSSProperties;
19
+ svgBorderStyle?: CSSProperties;
20
+ }
21
+ declare const SvgFloatingOverlay: {
22
+ ({
23
+ blurClassName,
24
+ blurStyle,
25
+ childTransitionStyle,
26
+ svgPath,
27
+ dimensions,
28
+ shadows,
29
+ svgClassNames,
30
+ shadowFilterId,
31
+ shadowPadding,
32
+ arrowHeight,
33
+ contentWrapperSlotProps,
34
+ children,
35
+ borderRadius,
36
+ svgBaseStyle,
37
+ svgBorderStyle
38
+ }: SvgFloatingOverlayProps): react_jsx_runtime0.JSX.Element;
39
+ displayName: string;
40
+ };
41
+ //#endregion
42
+ export { SvgFloatingOverlay };
@@ -0,0 +1,42 @@
1
+
2
+ import { BoxProps } from "./Box.js";
3
+ import { UseSvgFloatingContentReturn } from "../hooks/useSvgFloatingContent.js";
4
+ import { CSSProperties } from "react";
5
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
+
7
+ //#region src/components/SvgFloatingOverlay.d.ts
8
+ interface SvgFloatingOverlayProps extends Pick<UseSvgFloatingContentReturn, 'blurStyle' | 'childTransitionStyle' | 'svgPath' | 'shadows' | 'shadowFilterId' | 'shadowPadding' | 'dimensions'> {
9
+ blurClassName: string;
10
+ svgClassNames: {
11
+ base: string;
12
+ border?: string;
13
+ };
14
+ arrowHeight: number;
15
+ children: React.ReactNode;
16
+ contentWrapperSlotProps?: Partial<BoxProps>;
17
+ borderRadius?: number;
18
+ svgBaseStyle?: CSSProperties;
19
+ svgBorderStyle?: CSSProperties;
20
+ }
21
+ declare const SvgFloatingOverlay: {
22
+ ({
23
+ blurClassName,
24
+ blurStyle,
25
+ childTransitionStyle,
26
+ svgPath,
27
+ dimensions,
28
+ shadows,
29
+ svgClassNames,
30
+ shadowFilterId,
31
+ shadowPadding,
32
+ arrowHeight,
33
+ contentWrapperSlotProps,
34
+ children,
35
+ borderRadius,
36
+ svgBaseStyle,
37
+ svgBorderStyle
38
+ }: SvgFloatingOverlayProps): react_jsx_runtime0.JSX.Element;
39
+ displayName: string;
40
+ };
41
+ //#endregion
42
+ export { SvgFloatingOverlay };
@@ -0,0 +1,120 @@
1
+ /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
+ import { cx } from "../styles/styler.js";
3
+ import { Box } from "./Box.js";
4
+ import { Fragment } from "react";
5
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
+
7
+ //#region src/components/SvgFloatingOverlay.tsx
8
+ const SvgFloatingOverlay = ({ blurClassName, blurStyle, childTransitionStyle, svgPath, dimensions, shadows, svgClassNames, shadowFilterId, shadowPadding, arrowHeight, contentWrapperSlotProps, children, borderRadius, svgBaseStyle, svgBorderStyle }) => {
9
+ const svgSharedProps = {
10
+ "aria-hidden": true,
11
+ style: childTransitionStyle,
12
+ viewBox: `0 0 ${dimensions.width} ${dimensions.height}`
13
+ };
14
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
15
+ /* @__PURE__ */ jsx(Box, {
16
+ className: blurClassName,
17
+ style: {
18
+ ...blurStyle,
19
+ ...childTransitionStyle
20
+ }
21
+ }),
22
+ svgPath && /* @__PURE__ */ jsxs("svg", {
23
+ ...svgSharedProps,
24
+ className: cx("absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none", "z-[2]"),
25
+ children: [
26
+ shadows.length > 0 && /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("filter", {
27
+ id: shadowFilterId,
28
+ filterUnits: "userSpaceOnUse",
29
+ x: -(shadowPadding + arrowHeight),
30
+ y: -(shadowPadding + arrowHeight),
31
+ width: dimensions.width + 2 * (shadowPadding + arrowHeight),
32
+ height: dimensions.height + 2 * (shadowPadding + arrowHeight),
33
+ colorInterpolationFilters: "sRGB",
34
+ children: [
35
+ shadows.map((shadow, i) => /* @__PURE__ */ jsxs(Fragment, { children: [
36
+ shadow.spread !== 0 && /* @__PURE__ */ jsx("feMorphology", {
37
+ in: "SourceAlpha",
38
+ operator: shadow.spread > 0 ? "dilate" : "erode",
39
+ radius: Math.abs(shadow.spread),
40
+ result: `spread${i}`
41
+ }),
42
+ /* @__PURE__ */ jsx("feGaussianBlur", {
43
+ in: shadow.spread !== 0 ? `spread${i}` : "SourceAlpha",
44
+ stdDeviation: shadow.blur / 2,
45
+ result: `blurred${i}`
46
+ }),
47
+ /* @__PURE__ */ jsx("feOffset", {
48
+ in: `blurred${i}`,
49
+ dx: shadow.x,
50
+ dy: shadow.y,
51
+ result: `offset${i}`
52
+ }),
53
+ /* @__PURE__ */ jsx("feFlood", {
54
+ floodColor: shadow.color,
55
+ result: `color${i}`
56
+ }),
57
+ /* @__PURE__ */ jsx("feComposite", {
58
+ in: `color${i}`,
59
+ in2: `offset${i}`,
60
+ operator: "in",
61
+ result: `shadow${i}`
62
+ })
63
+ ] }, i)),
64
+ /* @__PURE__ */ jsx("feMerge", {
65
+ result: "mergedShadows",
66
+ children: shadows.map((_, i) => /* @__PURE__ */ jsx("feMergeNode", { in: `shadow${i}` }, i))
67
+ }),
68
+ /* @__PURE__ */ jsx("feComposite", {
69
+ in: "mergedShadows",
70
+ in2: "SourceAlpha",
71
+ operator: "out"
72
+ })
73
+ ]
74
+ }) }),
75
+ shadows.length > 0 && /* @__PURE__ */ jsx("path", {
76
+ d: svgPath,
77
+ fill: "black",
78
+ filter: `url(#${shadowFilterId})`
79
+ }),
80
+ /* @__PURE__ */ jsx("path", {
81
+ d: svgPath,
82
+ className: svgClassNames.base,
83
+ style: svgBaseStyle
84
+ })
85
+ ]
86
+ }),
87
+ /* @__PURE__ */ jsx(Box, {
88
+ position: "relative",
89
+ flexGrow: "1",
90
+ overflow: "hidden",
91
+ ...contentWrapperSlotProps,
92
+ className: cx("z-[3]", "max-h-full", "gap-[inherit]", contentWrapperSlotProps?.className),
93
+ style: {
94
+ ...childTransitionStyle,
95
+ borderRadius
96
+ },
97
+ children: /* @__PURE__ */ jsx(Box, {
98
+ overflow: "auto",
99
+ flexGrow: "1",
100
+ display: "block",
101
+ className: "max-h-full gap-[inherit]",
102
+ children
103
+ })
104
+ }),
105
+ svgPath && svgClassNames.border && /* @__PURE__ */ jsx("svg", {
106
+ ...svgSharedProps,
107
+ className: cx("absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none", "z-[3]"),
108
+ children: /* @__PURE__ */ jsx("path", {
109
+ d: svgPath,
110
+ className: svgClassNames.border,
111
+ fill: "transparent",
112
+ style: svgBorderStyle
113
+ })
114
+ })
115
+ ] });
116
+ };
117
+ SvgFloatingOverlay.displayName = "SvgFloatingOverlay";
118
+
119
+ //#endregion
120
+ export { SvgFloatingOverlay };
@@ -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" | "hideEndIcon" | "rootProps"> & 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" | "hideEndIcon" | "rootProps"> & 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 };