@yahoo/uds 3.115.0 → 3.116.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automated-config/dist/generated/autoVariants.cjs +10 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.js +10 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1842 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +194 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +194 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1842 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +78 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +78 -0
- package/dist/cli/commands/sync.cjs +6 -0
- package/dist/cli/commands/sync.js +6 -0
- package/dist/components/SvgFloatingOverlay.cjs +122 -0
- package/dist/components/SvgFloatingOverlay.d.cts +42 -0
- package/dist/components/SvgFloatingOverlay.d.ts +42 -0
- package/dist/components/SvgFloatingOverlay.js +120 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Popover/Popover.cjs +96 -0
- package/dist/components/client/Popover/Popover.d.cts +55 -0
- package/dist/components/client/Popover/Popover.d.ts +55 -0
- package/dist/components/client/Popover/Popover.js +94 -0
- package/dist/components/client/Popover/PopoverContent.cjs +171 -0
- package/dist/components/client/Popover/PopoverContent.d.cts +26 -0
- package/dist/components/client/Popover/PopoverContent.d.ts +26 -0
- package/dist/components/client/Popover/PopoverContent.js +169 -0
- package/dist/components/client/Popover/PopoverContext.cjs +11 -0
- package/dist/components/client/Popover/PopoverContext.d.cts +21 -0
- package/dist/components/client/Popover/PopoverContext.d.ts +21 -0
- package/dist/components/client/Popover/PopoverContext.js +9 -0
- package/dist/components/client/Popover/PopoverTrigger.cjs +26 -0
- package/dist/components/client/Popover/PopoverTrigger.d.cts +14 -0
- package/dist/components/client/Popover/PopoverTrigger.d.ts +14 -0
- package/dist/components/client/Popover/PopoverTrigger.js +24 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +40 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +28 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +28 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.js +37 -0
- package/dist/components/client/Popover/index.cjs +12 -0
- package/dist/components/client/Popover/index.d.cts +7 -0
- package/dist/components/client/Popover/index.d.ts +7 -0
- package/dist/components/client/Popover/index.js +8 -0
- package/dist/components/client/Toast/Toast.cjs +3 -3
- package/dist/components/client/Toast/Toast.d.cts +1 -1
- package/dist/components/client/Toast/Toast.d.ts +1 -1
- package/dist/components/client/Toast/Toast.js +3 -3
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/components/client/Toast/index.d.cts +1 -1
- package/dist/components/client/Toast/index.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.cjs +6 -6
- package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
- package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.js +6 -6
- package/dist/components/client/Tooltip/TooltipContent.cjs +55 -119
- package/dist/components/client/Tooltip/TooltipContent.js +56 -120
- package/dist/components/client/Tooltip/tooltipContext.cjs +0 -1
- package/dist/components/client/Tooltip/tooltipContext.d.cts +1 -2
- package/dist/components/client/Tooltip/tooltipContext.d.ts +1 -2
- package/dist/components/client/Tooltip/tooltipContext.js +0 -1
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +10 -5
- package/dist/components/client/index.d.ts +10 -5
- package/dist/components/client/index.js +5 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/experimental/client/{Popover.cjs → ExperimentalPopover.cjs} +10 -1
- package/dist/components/experimental/client/ExperimentalPopover.d.cts +40 -0
- package/dist/components/experimental/client/ExperimentalPopover.d.ts +40 -0
- package/dist/components/experimental/client/{Popover.js → ExperimentalPopover.js} +10 -1
- package/dist/components/experimental/client/index.cjs +10 -10
- package/dist/components/experimental/client/index.d.cts +2 -2
- package/dist/components/experimental/client/index.d.ts +2 -2
- package/dist/components/experimental/client/index.js +1 -1
- package/dist/components/experimental/index.cjs +19 -19
- package/dist/components/experimental/index.d.cts +2 -2
- package/dist/components/experimental/index.d.ts +2 -2
- package/dist/components/experimental/index.js +1 -1
- package/dist/components/index.cjs +12 -0
- package/dist/components/index.d.cts +9 -5
- package/dist/components/index.d.ts +9 -5
- package/dist/components/index.js +9 -1
- package/dist/config/dist/index.cjs +79 -1
- package/dist/config/dist/index.js +79 -1
- package/dist/{components/client/Tooltip/useTooltipContent.cjs → hooks/useSvgFloatingContent.cjs} +81 -48
- package/dist/hooks/useSvgFloatingContent.d.cts +74 -0
- package/dist/hooks/useSvgFloatingContent.d.ts +74 -0
- package/dist/{components/client/Tooltip/useTooltipContent.js → hooks/useSvgFloatingContent.js} +76 -43
- package/dist/index.cjs +21 -10
- package/dist/index.d.cts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.js +16 -11
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +3 -2
- package/dist/runtime/index.d.ts +3 -2
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/popoverConfig.cjs +41 -0
- package/dist/runtime/popoverConfig.d.cts +24 -0
- package/dist/runtime/popoverConfig.d.ts +24 -0
- package/dist/runtime/popoverConfig.js +40 -0
- package/dist/runtime/udsConfig.cjs +3 -1
- package/dist/runtime/udsConfig.d.cts +3 -1
- package/dist/runtime/udsConfig.d.ts +3 -1
- package/dist/runtime/udsConfig.js +3 -1
- package/dist/styles/styler.d.cts +90 -80
- package/dist/styles/styler.d.ts +90 -80
- package/dist/styles/variants.d.cts +30 -0
- package/dist/styles/variants.d.ts +30 -0
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +2 -1
- package/dist/tokens/automation/configs/index.cjs +1 -0
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +1 -0
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/index.cjs +2 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +51 -1
- package/dist/types/dist/index.d.ts +51 -1
- package/dist/uds/generated/componentData.cjs +298 -139
- package/dist/uds/generated/componentData.js +263 -140
- package/dist/uds/generated/tailwindPurge.cjs +52 -26
- package/dist/uds/generated/tailwindPurge.js +52 -26
- package/dist/utils/parseShadow.cjs +120 -0
- package/dist/utils/parseShadow.d.cts +33 -0
- package/dist/utils/parseShadow.d.ts +33 -0
- package/dist/utils/parseShadow.js +118 -0
- package/dist/utils/svgFloatingContentUtils.cjs +121 -0
- package/dist/{components/client/Tooltip/util.d.cts → utils/svgFloatingContentUtils.d.cts} +25 -62
- package/dist/{components/client/Tooltip/util.d.ts → utils/svgFloatingContentUtils.d.ts} +25 -62
- package/dist/utils/svgFloatingContentUtils.js +117 -0
- package/generated/componentData.json +337 -185
- package/generated/tailwindPurge.ts +50 -27
- package/package.json +1 -1
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +0 -66
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +0 -66
- package/dist/components/client/Tooltip/util.cjs +0 -248
- package/dist/components/client/Tooltip/util.js +0 -240
- package/dist/components/experimental/client/Popover.d.cts +0 -29
- 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,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
|
+
className: require_styles_styler.cx("z-[3]", "max-h-full", contentWrapperSlotProps?.className),
|
|
94
|
+
style: {
|
|
95
|
+
...childTransitionStyle,
|
|
96
|
+
borderRadius
|
|
97
|
+
},
|
|
98
|
+
...contentWrapperSlotProps,
|
|
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",
|
|
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
|
+
className: cx("z-[3]", "max-h-full", contentWrapperSlotProps?.className),
|
|
92
|
+
style: {
|
|
93
|
+
...childTransitionStyle,
|
|
94
|
+
borderRadius
|
|
95
|
+
},
|
|
96
|
+
...contentWrapperSlotProps,
|
|
97
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
98
|
+
overflow: "auto",
|
|
99
|
+
flexGrow: "1",
|
|
100
|
+
display: "block",
|
|
101
|
+
className: "max-h-full",
|
|
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" | "
|
|
91
|
+
declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & 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" | "
|
|
91
|
+
declare const MenuItemCheckbox: react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & react.RefAttributes<HTMLDivElement>>;
|
|
92
92
|
//#endregion
|
|
93
93
|
export { MenuItemCheckbox, type MenuItemCheckboxProps };
|