@yahoo/uds 3.115.0-beta.2 → 3.116.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/automated-config/dist/generated/autoVariants.cjs +10 -0
  2. package/dist/automated-config/dist/generated/autoVariants.d.cts +10 -0
  3. package/dist/automated-config/dist/generated/autoVariants.d.ts +10 -0
  4. package/dist/automated-config/dist/generated/autoVariants.js +10 -0
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +1842 -0
  6. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +194 -1
  7. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +194 -1
  8. package/dist/automated-config/dist/generated/generatedConfigs.js +1842 -1
  9. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +78 -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 +78 -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 +123 -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 +121 -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 +172 -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 +170 -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 +1 -1
  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 +1 -1
  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 +55 -119
  56. package/dist/components/client/Tooltip/TooltipContent.js +56 -120
  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 +79 -1
  86. package/dist/config/dist/index.js +79 -1
  87. package/dist/{components/client/Tooltip/useTooltipContent.cjs → hooks/useSvgFloatingContent.cjs} +81 -48
  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} +76 -43
  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 +41 -0
  100. package/dist/runtime/popoverConfig.d.cts +24 -0
  101. package/dist/runtime/popoverConfig.d.ts +24 -0
  102. package/dist/runtime/popoverConfig.js +40 -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 +11 -1
  108. package/dist/styles/styler.d.ts +11 -1
  109. package/dist/styles/variants.d.cts +30 -0
  110. package/dist/styles/variants.d.ts +30 -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 +939 -791
  130. package/dist/uds/generated/componentData.js +905 -793
  131. package/dist/uds/generated/tailwindPurge.cjs +52 -26
  132. package/dist/uds/generated/tailwindPurge.js +52 -26
  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 +1230 -1089
  142. package/generated/tailwindPurge.ts +50 -27
  143. package/package.json +1 -1
  144. package/dist/components/client/Tooltip/useTooltipContent.d.cts +0 -66
  145. package/dist/components/client/Tooltip/useTooltipContent.d.ts +0 -66
  146. package/dist/components/client/Tooltip/util.cjs +0 -248
  147. package/dist/components/client/Tooltip/util.js +0 -240
  148. package/dist/components/experimental/client/Popover.d.cts +0 -29
  149. package/dist/components/experimental/client/Popover.d.ts +0 -29
@@ -11064,6 +11064,84 @@ 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/contentWrapper": {
11079
+ gap: { rest: {
11080
+ type: "spacingAliases",
11081
+ value: "3",
11082
+ valueType: "alias"
11083
+ } },
11084
+ spacingHorizontal: { rest: {
11085
+ type: "spacingAliases",
11086
+ value: "5",
11087
+ valueType: "alias"
11088
+ } },
11089
+ spacingVertical: { rest: {
11090
+ type: "spacingAliases",
11091
+ value: "5",
11092
+ valueType: "alias"
11093
+ } }
11094
+ },
11095
+ "size/default/root": { shadow: { rest: {
11096
+ type: "elevationAliases",
11097
+ value: "elevation-4",
11098
+ valueType: "alias"
11099
+ } } },
11100
+ "size/default/svgBase": { borderRadius: { rest: {
11101
+ type: "borderRadii",
11102
+ value: "lg",
11103
+ valueType: "alias"
11104
+ } } },
11105
+ "size/default/svgBorder": { strokeWidth: { rest: {
11106
+ type: "elevationAliases",
11107
+ value: "elevation-4",
11108
+ valueType: "alias"
11109
+ } } },
11110
+ "variant/default/blur": { backdropBlur: { rest: {
11111
+ type: "positiveIntegers",
11112
+ value: 0,
11113
+ valueType: "alias"
11114
+ } } },
11115
+ "variant/default/closeIcon": { color: { rest: {
11116
+ type: "foregroundPaletteColors",
11117
+ value: "primary",
11118
+ valueType: "alias"
11119
+ } } },
11120
+ "variant/default/root": {},
11121
+ "variant/default/svgBase": {
11122
+ backgroundColor: { rest: {
11123
+ type: "elevationAliases",
11124
+ value: "elevation-4",
11125
+ valueType: "alias"
11126
+ } },
11127
+ blurBackgroundColorFallback: { rest: {
11128
+ type: "elevationAliases",
11129
+ value: "elevation-4",
11130
+ valueType: "alias"
11131
+ } },
11132
+ fillOpacity: { rest: {
11133
+ type: "opacitySteps",
11134
+ value: "100",
11135
+ valueType: "alias"
11136
+ } }
11137
+ },
11138
+ "variant/default/svgBorder": { stroke: { rest: {
11139
+ type: "elevationAliases",
11140
+ value: "elevation-4",
11141
+ valueType: "alias"
11142
+ } } }
11143
+ }
11144
+ },
11067
11145
  radio: {
11068
11146
  defaults: {
11069
11147
  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,84 @@ 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/contentWrapper": {
11078
+ gap: { rest: {
11079
+ type: "spacingAliases",
11080
+ value: "3",
11081
+ valueType: "alias"
11082
+ } },
11083
+ spacingHorizontal: { rest: {
11084
+ type: "spacingAliases",
11085
+ value: "5",
11086
+ valueType: "alias"
11087
+ } },
11088
+ spacingVertical: { rest: {
11089
+ type: "spacingAliases",
11090
+ value: "5",
11091
+ valueType: "alias"
11092
+ } }
11093
+ },
11094
+ "size/default/root": { shadow: { rest: {
11095
+ type: "elevationAliases",
11096
+ value: "elevation-4",
11097
+ valueType: "alias"
11098
+ } } },
11099
+ "size/default/svgBase": { borderRadius: { rest: {
11100
+ type: "borderRadii",
11101
+ value: "lg",
11102
+ valueType: "alias"
11103
+ } } },
11104
+ "size/default/svgBorder": { strokeWidth: { rest: {
11105
+ type: "elevationAliases",
11106
+ value: "elevation-4",
11107
+ valueType: "alias"
11108
+ } } },
11109
+ "variant/default/blur": { backdropBlur: { rest: {
11110
+ type: "positiveIntegers",
11111
+ value: 0,
11112
+ valueType: "alias"
11113
+ } } },
11114
+ "variant/default/closeIcon": { color: { rest: {
11115
+ type: "foregroundPaletteColors",
11116
+ value: "primary",
11117
+ valueType: "alias"
11118
+ } } },
11119
+ "variant/default/root": {},
11120
+ "variant/default/svgBase": {
11121
+ backgroundColor: { rest: {
11122
+ type: "elevationAliases",
11123
+ value: "elevation-4",
11124
+ valueType: "alias"
11125
+ } },
11126
+ blurBackgroundColorFallback: { rest: {
11127
+ type: "elevationAliases",
11128
+ value: "elevation-4",
11129
+ valueType: "alias"
11130
+ } },
11131
+ fillOpacity: { rest: {
11132
+ type: "opacitySteps",
11133
+ value: "100",
11134
+ valueType: "alias"
11135
+ } }
11136
+ },
11137
+ "variant/default/svgBorder": { stroke: { rest: {
11138
+ type: "elevationAliases",
11139
+ value: "elevation-4",
11140
+ valueType: "alias"
11141
+ } } }
11142
+ }
11143
+ },
11066
11144
  radio: {
11067
11145
  defaults: {
11068
11146
  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,123 @@
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 sharedSvgClasses = "absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none";
12
+ const svgSharedProps = {
13
+ "aria-hidden": true,
14
+ style: childTransitionStyle,
15
+ viewBox: `0 0 ${dimensions.width} ${dimensions.height}`
16
+ };
17
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
18
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
19
+ className: blurClassName,
20
+ style: {
21
+ ...blurStyle,
22
+ ...childTransitionStyle
23
+ }
24
+ }),
25
+ svgPath && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
26
+ ...svgSharedProps,
27
+ className: require_styles_styler.cx(sharedSvgClasses, "z-[2]"),
28
+ children: [
29
+ shadows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("filter", {
30
+ id: shadowFilterId,
31
+ filterUnits: "userSpaceOnUse",
32
+ x: -(shadowPadding + arrowHeight),
33
+ y: -(shadowPadding + arrowHeight),
34
+ width: dimensions.width + 2 * (shadowPadding + arrowHeight),
35
+ height: dimensions.height + 2 * (shadowPadding + arrowHeight),
36
+ colorInterpolationFilters: "sRGB",
37
+ children: [
38
+ shadows.map((shadow, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react.Fragment, { children: [
39
+ shadow.spread !== 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMorphology", {
40
+ in: "SourceAlpha",
41
+ operator: shadow.spread > 0 ? "dilate" : "erode",
42
+ radius: Math.abs(shadow.spread),
43
+ result: `spread${i}`
44
+ }),
45
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feGaussianBlur", {
46
+ in: shadow.spread !== 0 ? `spread${i}` : "SourceAlpha",
47
+ stdDeviation: shadow.blur / 2,
48
+ result: `blurred${i}`
49
+ }),
50
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feOffset", {
51
+ in: `blurred${i}`,
52
+ dx: shadow.x,
53
+ dy: shadow.y,
54
+ result: `offset${i}`
55
+ }),
56
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feFlood", {
57
+ floodColor: shadow.color,
58
+ result: `color${i}`
59
+ }),
60
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feComposite", {
61
+ in: `color${i}`,
62
+ in2: `offset${i}`,
63
+ operator: "in",
64
+ result: `shadow${i}`
65
+ })
66
+ ] }, i)),
67
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMerge", {
68
+ result: "mergedShadows",
69
+ children: shadows.map((_, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feMergeNode", { in: `shadow${i}` }, i))
70
+ }),
71
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("feComposite", {
72
+ in: "mergedShadows",
73
+ in2: "SourceAlpha",
74
+ operator: "out"
75
+ })
76
+ ]
77
+ }) }),
78
+ shadows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
79
+ d: svgPath,
80
+ fill: "black",
81
+ filter: `url(#${shadowFilterId})`
82
+ }),
83
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
84
+ d: svgPath,
85
+ className: svgClassNames.base,
86
+ style: svgBaseStyle
87
+ })
88
+ ]
89
+ }),
90
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
91
+ position: "relative",
92
+ flexGrow: "1",
93
+ overflow: "hidden",
94
+ className: require_styles_styler.cx("z-[3]", "max-h-full", contentWrapperSlotProps?.className),
95
+ style: {
96
+ ...childTransitionStyle,
97
+ borderRadius
98
+ },
99
+ ...contentWrapperSlotProps,
100
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
101
+ overflow: "auto",
102
+ flexGrow: "1",
103
+ display: "block",
104
+ className: "max-h-full",
105
+ children
106
+ })
107
+ }),
108
+ svgPath && svgClassNames.border && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
109
+ ...svgSharedProps,
110
+ className: require_styles_styler.cx(sharedSvgClasses, "z-[3]"),
111
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
112
+ d: svgPath,
113
+ className: svgClassNames.border,
114
+ fill: "transparent",
115
+ style: svgBorderStyle
116
+ })
117
+ })
118
+ ] });
119
+ };
120
+ SvgFloatingOverlay.displayName = "SvgFloatingOverlay";
121
+
122
+ //#endregion
123
+ 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,121 @@
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 sharedSvgClasses = "absolute top-0 left-0 w-full h-full overflow-visible pointer-events-none";
10
+ const svgSharedProps = {
11
+ "aria-hidden": true,
12
+ style: childTransitionStyle,
13
+ viewBox: `0 0 ${dimensions.width} ${dimensions.height}`
14
+ };
15
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
16
+ /* @__PURE__ */ jsx(Box, {
17
+ className: blurClassName,
18
+ style: {
19
+ ...blurStyle,
20
+ ...childTransitionStyle
21
+ }
22
+ }),
23
+ svgPath && /* @__PURE__ */ jsxs("svg", {
24
+ ...svgSharedProps,
25
+ className: cx(sharedSvgClasses, "z-[2]"),
26
+ children: [
27
+ shadows.length > 0 && /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("filter", {
28
+ id: shadowFilterId,
29
+ filterUnits: "userSpaceOnUse",
30
+ x: -(shadowPadding + arrowHeight),
31
+ y: -(shadowPadding + arrowHeight),
32
+ width: dimensions.width + 2 * (shadowPadding + arrowHeight),
33
+ height: dimensions.height + 2 * (shadowPadding + arrowHeight),
34
+ colorInterpolationFilters: "sRGB",
35
+ children: [
36
+ shadows.map((shadow, i) => /* @__PURE__ */ jsxs(Fragment, { children: [
37
+ shadow.spread !== 0 && /* @__PURE__ */ jsx("feMorphology", {
38
+ in: "SourceAlpha",
39
+ operator: shadow.spread > 0 ? "dilate" : "erode",
40
+ radius: Math.abs(shadow.spread),
41
+ result: `spread${i}`
42
+ }),
43
+ /* @__PURE__ */ jsx("feGaussianBlur", {
44
+ in: shadow.spread !== 0 ? `spread${i}` : "SourceAlpha",
45
+ stdDeviation: shadow.blur / 2,
46
+ result: `blurred${i}`
47
+ }),
48
+ /* @__PURE__ */ jsx("feOffset", {
49
+ in: `blurred${i}`,
50
+ dx: shadow.x,
51
+ dy: shadow.y,
52
+ result: `offset${i}`
53
+ }),
54
+ /* @__PURE__ */ jsx("feFlood", {
55
+ floodColor: shadow.color,
56
+ result: `color${i}`
57
+ }),
58
+ /* @__PURE__ */ jsx("feComposite", {
59
+ in: `color${i}`,
60
+ in2: `offset${i}`,
61
+ operator: "in",
62
+ result: `shadow${i}`
63
+ })
64
+ ] }, i)),
65
+ /* @__PURE__ */ jsx("feMerge", {
66
+ result: "mergedShadows",
67
+ children: shadows.map((_, i) => /* @__PURE__ */ jsx("feMergeNode", { in: `shadow${i}` }, i))
68
+ }),
69
+ /* @__PURE__ */ jsx("feComposite", {
70
+ in: "mergedShadows",
71
+ in2: "SourceAlpha",
72
+ operator: "out"
73
+ })
74
+ ]
75
+ }) }),
76
+ shadows.length > 0 && /* @__PURE__ */ jsx("path", {
77
+ d: svgPath,
78
+ fill: "black",
79
+ filter: `url(#${shadowFilterId})`
80
+ }),
81
+ /* @__PURE__ */ jsx("path", {
82
+ d: svgPath,
83
+ className: svgClassNames.base,
84
+ style: svgBaseStyle
85
+ })
86
+ ]
87
+ }),
88
+ /* @__PURE__ */ jsx(Box, {
89
+ position: "relative",
90
+ flexGrow: "1",
91
+ overflow: "hidden",
92
+ className: cx("z-[3]", "max-h-full", contentWrapperSlotProps?.className),
93
+ style: {
94
+ ...childTransitionStyle,
95
+ borderRadius
96
+ },
97
+ ...contentWrapperSlotProps,
98
+ children: /* @__PURE__ */ jsx(Box, {
99
+ overflow: "auto",
100
+ flexGrow: "1",
101
+ display: "block",
102
+ className: "max-h-full",
103
+ children
104
+ })
105
+ }),
106
+ svgPath && svgClassNames.border && /* @__PURE__ */ jsx("svg", {
107
+ ...svgSharedProps,
108
+ className: cx(sharedSvgClasses, "z-[3]"),
109
+ children: /* @__PURE__ */ jsx("path", {
110
+ d: svgPath,
111
+ className: svgClassNames.border,
112
+ fill: "transparent",
113
+ style: svgBorderStyle
114
+ })
115
+ })
116
+ ] });
117
+ };
118
+ SvgFloatingOverlay.displayName = "SvgFloatingOverlay";
119
+
120
+ //#endregion
121
+ 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" | "rootProps" | "hideEndIcon"> & react.RefAttributes<HTMLDivElement>>;
91
+ declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "hideEndIcon" | "rootProps" | "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, "hideEndIcon" | "rootProps" | "active"> & react.RefAttributes<HTMLDivElement>>;
92
92
  //#endregion
93
93
  export { MenuItemCheckbox, type MenuItemCheckboxProps };