@yahoo/uds 3.114.0-beta.3 → 3.115.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.
- package/dist/automated-config/dist/generated/autoVariants.cjs +3 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +3 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +3 -0
- package/dist/automated-config/dist/generated/autoVariants.js +3 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1883 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +175 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +175 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1882 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +84 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +3 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +3 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +84 -0
- package/dist/automated-config/dist/properties.cjs +57 -11
- package/dist/automated-config/dist/properties.d.cts +8 -0
- package/dist/automated-config/dist/properties.d.ts +8 -0
- package/dist/automated-config/dist/properties.js +57 -11
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/cli/commands/sync.cjs +4 -0
- package/dist/cli/commands/sync.js +4 -0
- package/dist/components/Scrim.cjs +28 -0
- package/dist/components/Scrim.d.cts +14 -0
- package/dist/components/Scrim.d.ts +14 -0
- package/dist/components/Scrim.js +26 -0
- package/dist/components/client/BottomSheet/BottomSheet.cjs +209 -0
- package/dist/components/client/BottomSheet/BottomSheet.d.cts +77 -0
- package/dist/components/client/BottomSheet/BottomSheet.d.ts +77 -0
- package/dist/components/client/BottomSheet/BottomSheet.js +207 -0
- package/dist/components/client/BottomSheet/BottomSheetContent.cjs +26 -0
- package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +15 -0
- package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +15 -0
- package/dist/components/client/BottomSheet/BottomSheetContent.js +24 -0
- package/dist/components/client/BottomSheet/BottomSheetDismiss.cjs +15 -0
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.cts +12 -0
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.ts +12 -0
- package/dist/components/client/BottomSheet/BottomSheetDismiss.js +13 -0
- package/dist/components/client/BottomSheet/BottomSheetHandle.cjs +30 -0
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +19 -0
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +19 -0
- package/dist/components/client/BottomSheet/BottomSheetHandle.js +28 -0
- package/dist/components/client/BottomSheet/BottomSheetHeader.cjs +42 -0
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +18 -0
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +18 -0
- package/dist/components/client/BottomSheet/BottomSheetHeader.js +40 -0
- package/dist/components/client/BottomSheet/BottomSheetProvider.cjs +21 -0
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +19 -0
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.ts +19 -0
- package/dist/components/client/BottomSheet/BottomSheetProvider.js +19 -0
- package/dist/components/client/BottomSheet/BottomSheetTrigger.cjs +15 -0
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.cts +12 -0
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.ts +12 -0
- package/dist/components/client/BottomSheet/BottomSheetTrigger.js +13 -0
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.cjs +32 -0
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +22 -0
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.ts +22 -0
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.js +29 -0
- package/dist/components/client/BottomSheet/index.cjs +22 -0
- package/dist/components/client/BottomSheet/index.d.cts +10 -0
- package/dist/components/client/BottomSheet/index.d.ts +10 -0
- package/dist/components/client/BottomSheet/index.js +12 -0
- package/dist/components/client/BottomSheet/useBottomSheetDrag.cjs +188 -0
- package/dist/components/client/BottomSheet/useBottomSheetDrag.d.cts +44 -0
- package/dist/components/client/BottomSheet/useBottomSheetDrag.d.ts +44 -0
- package/dist/components/client/BottomSheet/useBottomSheetDrag.js +185 -0
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.cjs +138 -0
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +46 -0
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +46 -0
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.js +135 -0
- package/dist/components/client/BottomSheet/useBottomSheetStore.cjs +34 -0
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +38 -0
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.ts +38 -0
- package/dist/components/client/BottomSheet/useBottomSheetStore.js +31 -0
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.cjs +17 -0
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.cts +13 -0
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.ts +13 -0
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.js +15 -0
- package/dist/components/client/BottomSheet/useExpansionMargins.cjs +89 -0
- package/dist/components/client/BottomSheet/useExpansionMargins.d.cts +34 -0
- package/dist/components/client/BottomSheet/useExpansionMargins.d.ts +34 -0
- package/dist/components/client/BottomSheet/useExpansionMargins.js +87 -0
- package/dist/components/client/BottomSheet/useViewportHeight.cjs +32 -0
- package/dist/components/client/BottomSheet/useViewportHeight.d.cts +9 -0
- package/dist/components/client/BottomSheet/useViewportHeight.d.ts +9 -0
- package/dist/components/client/BottomSheet/useViewportHeight.js +30 -0
- package/dist/components/client/BottomSheet/useVirtualKeyboard.cjs +48 -0
- package/dist/components/client/BottomSheet/useVirtualKeyboard.d.cts +10 -0
- package/dist/components/client/BottomSheet/useVirtualKeyboard.d.ts +10 -0
- package/dist/components/client/BottomSheet/useVirtualKeyboard.js +46 -0
- package/dist/components/client/BottomSheet/utils.cjs +128 -0
- package/dist/components/client/BottomSheet/utils.d.cts +61 -0
- package/dist/components/client/BottomSheet/utils.d.ts +61 -0
- package/dist/components/client/BottomSheet/utils.js +118 -0
- package/dist/components/client/Menu/Menu.Content.cjs +1 -1
- package/dist/components/client/Menu/Menu.Content.js +1 -1
- 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/Menu/Menu.index.d.cts +1 -1
- package/dist/components/client/index.cjs +16 -0
- package/dist/components/client/index.d.cts +10 -1
- package/dist/components/client/index.d.ts +10 -1
- package/dist/components/client/index.js +9 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +10 -6
- package/dist/components/client/providers/UDSConfigProvider.d.cts +1 -0
- package/dist/components/client/providers/UDSConfigProvider.d.ts +1 -0
- package/dist/components/client/providers/UDSConfigProvider.js +10 -6
- package/dist/components/index.cjs +24 -0
- package/dist/components/index.d.cts +9 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.js +17 -1
- package/dist/config/dist/index.cjs +110 -2
- package/dist/config/dist/index.js +110 -2
- package/dist/fixtures/dist/index.cjs +103 -0
- package/dist/fixtures/dist/index.d.cts +3 -2
- package/dist/fixtures/dist/index.d.ts +3 -2
- package/dist/fixtures/dist/index.js +103 -1
- package/dist/fixtures/index.cjs +1 -0
- package/dist/fixtures/index.d.cts +2 -2
- package/dist/fixtures/index.d.ts +2 -2
- package/dist/fixtures/index.js +2 -2
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +12 -3
- package/dist/index.d.ts +12 -3
- package/dist/index.js +11 -2
- package/dist/runtime/bottomSheetConfig.cjs +11 -0
- package/dist/runtime/bottomSheetConfig.d.cts +15 -0
- package/dist/runtime/bottomSheetConfig.d.ts +15 -0
- package/dist/runtime/bottomSheetConfig.js +9 -0
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/udsConfig.cjs +2 -0
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +2 -0
- package/dist/styles/styler.d.cts +47 -44
- package/dist/styles/styler.d.ts +51 -48
- package/dist/styles/variants.d.cts +9 -0
- package/dist/styles/variants.d.ts +9 -0
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +2 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +3 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tokens/automation/configs/index.cjs +2 -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 +2 -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 -0
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +2 -2
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +76 -1
- package/dist/types/dist/index.d.ts +76 -1
- package/dist/uds/generated/componentData.cjs +358 -117
- package/dist/uds/generated/componentData.js +305 -118
- package/dist/uds/generated/tailwindPurge.cjs +57 -29
- package/dist/uds/generated/tailwindPurge.js +57 -29
- package/generated/componentData.json +475 -209
- package/generated/tailwindPurge.ts +39 -8
- package/package.json +1 -1
|
@@ -7,6 +7,15 @@ import { AvatarImage, AvatarImageProps } from "./Avatar/AvatarImage.js";
|
|
|
7
7
|
import { Avatar, AvatarProps } from "./Avatar/Avatar.js";
|
|
8
8
|
import "./Avatar/index.js";
|
|
9
9
|
import { Badge, BadgeProps } from "./Badge.js";
|
|
10
|
+
import { BottomSheetController, useBottomSheetStore } from "./BottomSheet/useBottomSheetStore.js";
|
|
11
|
+
import { BottomSheet, BottomSheetProps } from "./BottomSheet/BottomSheet.js";
|
|
12
|
+
import { BottomSheetContent, BottomSheetContentProps } from "./BottomSheet/BottomSheetContent.js";
|
|
13
|
+
import { BottomSheetDismiss, BottomSheetDismissProps } from "./BottomSheet/BottomSheetDismiss.js";
|
|
14
|
+
import { BottomSheetHeader, BottomSheetHeaderProps } from "./BottomSheet/BottomSheetHeader.js";
|
|
15
|
+
import { BottomSheetProvider, BottomSheetProviderProps } from "./BottomSheet/BottomSheetProvider.js";
|
|
16
|
+
import { BottomSheetTrigger, BottomSheetTriggerProps } from "./BottomSheet/BottomSheetTrigger.js";
|
|
17
|
+
import { UDSBottomSheetConfigProvider, UDSBottomSheetConfigProviderProps } from "./BottomSheet/UDSBottomSheetConfigProvider.js";
|
|
18
|
+
import "./BottomSheet/index.js";
|
|
10
19
|
import { Button, ButtonProps } from "./Button.js";
|
|
11
20
|
import { Checkbox, CheckboxProps } from "./Checkbox.js";
|
|
12
21
|
import { Chip, ChipProps } from "./Chip/Chip.js";
|
|
@@ -45,4 +54,4 @@ import { UDSTooltipConfigProvider, UDSTooltipConfigProviderProps } from "./Toolt
|
|
|
45
54
|
import "./Tooltip/index.js";
|
|
46
55
|
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./providers/UDSBreakpointsConfigProvider.js";
|
|
47
56
|
import { UDSConfigProvider, UDSConfigProviderProps } from "./providers/UDSConfigProvider.js";
|
|
48
|
-
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, IconButton, type IconButtonProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, createToast, useBreakpointsConfig, useToastConfig };
|
|
57
|
+
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, BottomSheet, BottomSheetContent, type BottomSheetContentProps, type BottomSheetController, BottomSheetDismiss, type BottomSheetDismissProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, BottomSheetProvider, type BottomSheetProviderProps, BottomSheetTrigger, type BottomSheetTriggerProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, IconButton, type IconButtonProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBottomSheetConfigProvider, type UDSBottomSheetConfigProviderProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, createToast, useBottomSheetStore, useBreakpointsConfig, useToastConfig };
|
|
@@ -5,6 +5,14 @@ import { AvatarText } from "./Avatar/AvatarText.js";
|
|
|
5
5
|
import { AvatarImage } from "./Avatar/AvatarImage.js";
|
|
6
6
|
import { Avatar } from "./Avatar/Avatar.js";
|
|
7
7
|
import { Badge } from "./Badge.js";
|
|
8
|
+
import { UDSBottomSheetConfigProvider } from "./BottomSheet/UDSBottomSheetConfigProvider.js";
|
|
9
|
+
import { useBottomSheetStore } from "./BottomSheet/useBottomSheetStore.js";
|
|
10
|
+
import { BottomSheet } from "./BottomSheet/BottomSheet.js";
|
|
11
|
+
import { BottomSheetContent } from "./BottomSheet/BottomSheetContent.js";
|
|
12
|
+
import { BottomSheetDismiss } from "./BottomSheet/BottomSheetDismiss.js";
|
|
13
|
+
import { BottomSheetHeader } from "./BottomSheet/BottomSheetHeader.js";
|
|
14
|
+
import { BottomSheetProvider } from "./BottomSheet/BottomSheetProvider.js";
|
|
15
|
+
import { BottomSheetTrigger } from "./BottomSheet/BottomSheetTrigger.js";
|
|
8
16
|
import { SpringMotionConfig } from "./SpringMotionConfig.js";
|
|
9
17
|
import { Button } from "./Button.js";
|
|
10
18
|
import { Checkbox } from "./Checkbox.js";
|
|
@@ -33,4 +41,4 @@ import { Tooltip } from "./Tooltip/Tooltip.js";
|
|
|
33
41
|
import { TooltipContent } from "./Tooltip/TooltipContent.js";
|
|
34
42
|
import { TooltipTrigger } from "./Tooltip/TooltipTrigger.js";
|
|
35
43
|
|
|
36
|
-
export { Avatar, AvatarIcon, AvatarImage, AvatarText, Badge, Button, Checkbox, Chip, ChipButton, ChipDismissible, ChipLink, ChipToggle, IconButton, Input, InputHelpText, Menu_index_exports as Menu, Pressable, Radio, RadioGroupProvider, SpringMotionConfig, Switch, Toast, ToastContainer, ToastPortal, Tooltip, TooltipContent, TooltipTrigger, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, createToast, useBreakpointsConfig, useToastConfig };
|
|
44
|
+
export { Avatar, AvatarIcon, AvatarImage, AvatarText, Badge, BottomSheet, BottomSheetContent, BottomSheetDismiss, BottomSheetHeader, BottomSheetProvider, BottomSheetTrigger, Button, Checkbox, Chip, ChipButton, ChipDismissible, ChipLink, ChipToggle, IconButton, Input, InputHelpText, Menu_index_exports as Menu, Pressable, Radio, RadioGroupProvider, SpringMotionConfig, Switch, Toast, ToastContainer, ToastPortal, Tooltip, TooltipContent, TooltipTrigger, UDSBottomSheetConfigProvider, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, createToast, useBottomSheetStore, useBreakpointsConfig, useToastConfig };
|
|
@@ -2,20 +2,24 @@
|
|
|
2
2
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
5
|
+
const require_components_client_BottomSheet_UDSBottomSheetConfigProvider = require('../BottomSheet/UDSBottomSheetConfigProvider.cjs');
|
|
5
6
|
const require_components_client_providers_UDSBreakpointsConfigProvider = require('./UDSBreakpointsConfigProvider.cjs');
|
|
6
7
|
const require_components_client_Toast_UDSToastConfigProvider = require('../Toast/UDSToastConfigProvider.cjs');
|
|
7
8
|
const require_components_client_Tooltip_UDSTooltipConfigProvider = require('../Tooltip/UDSTooltipConfigProvider.cjs');
|
|
8
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
10
|
|
|
10
11
|
//#region src/components/client/providers/UDSConfigProvider.tsx
|
|
11
|
-
const UDSConfigProvider = ({ children, value: { breakpoints, toast, tooltip } }) => {
|
|
12
|
+
const UDSConfigProvider = ({ children, value: { bottomSheet, breakpoints, toast, tooltip } }) => {
|
|
12
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_providers_UDSBreakpointsConfigProvider.UDSBreakpointsConfigProvider, {
|
|
13
14
|
value: breakpoints,
|
|
14
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
15
|
-
value:
|
|
16
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
17
|
-
value:
|
|
18
|
-
children
|
|
15
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_BottomSheet_UDSBottomSheetConfigProvider.UDSBottomSheetConfigProvider, {
|
|
16
|
+
value: bottomSheet,
|
|
17
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Toast_UDSToastConfigProvider.UDSToastConfigProvider, {
|
|
18
|
+
value: toast,
|
|
19
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_Tooltip_UDSTooltipConfigProvider.UDSTooltipConfigProvider, {
|
|
20
|
+
value: tooltip,
|
|
21
|
+
children
|
|
22
|
+
})
|
|
19
23
|
})
|
|
20
24
|
})
|
|
21
25
|
});
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
3
|
+
import { UDSBottomSheetConfigProvider } from "../BottomSheet/UDSBottomSheetConfigProvider.js";
|
|
3
4
|
import { UDSBreakpointsConfigProvider } from "./UDSBreakpointsConfigProvider.js";
|
|
4
5
|
import { UDSToastConfigProvider } from "../Toast/UDSToastConfigProvider.js";
|
|
5
6
|
import { UDSTooltipConfigProvider } from "../Tooltip/UDSTooltipConfigProvider.js";
|
|
6
7
|
import { jsx } from "react/jsx-runtime";
|
|
7
8
|
|
|
8
9
|
//#region src/components/client/providers/UDSConfigProvider.tsx
|
|
9
|
-
const UDSConfigProvider = ({ children, value: { breakpoints, toast, tooltip } }) => {
|
|
10
|
+
const UDSConfigProvider = ({ children, value: { bottomSheet, breakpoints, toast, tooltip } }) => {
|
|
10
11
|
return /* @__PURE__ */ jsx(UDSBreakpointsConfigProvider, {
|
|
11
12
|
value: breakpoints,
|
|
12
|
-
children: /* @__PURE__ */ jsx(
|
|
13
|
-
value:
|
|
14
|
-
children: /* @__PURE__ */ jsx(
|
|
15
|
-
value:
|
|
16
|
-
children
|
|
13
|
+
children: /* @__PURE__ */ jsx(UDSBottomSheetConfigProvider, {
|
|
14
|
+
value: bottomSheet,
|
|
15
|
+
children: /* @__PURE__ */ jsx(UDSToastConfigProvider, {
|
|
16
|
+
value: toast,
|
|
17
|
+
children: /* @__PURE__ */ jsx(UDSTooltipConfigProvider, {
|
|
18
|
+
value: tooltip,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
17
21
|
})
|
|
18
22
|
})
|
|
19
23
|
});
|
|
@@ -10,11 +10,19 @@ const require_components_FormLabel = require('./FormLabel.cjs');
|
|
|
10
10
|
const require_components_Icon = require('./Icon.cjs');
|
|
11
11
|
const require_components_Image = require('./Image.cjs');
|
|
12
12
|
const require_components_Link = require('./Link.cjs');
|
|
13
|
+
const require_components_Scrim = require('./Scrim.cjs');
|
|
13
14
|
const require_components_client_Avatar_AvatarIcon = require('./client/Avatar/AvatarIcon.cjs');
|
|
14
15
|
const require_components_client_Avatar_AvatarText = require('./client/Avatar/AvatarText.cjs');
|
|
15
16
|
const require_components_client_Avatar_AvatarImage = require('./client/Avatar/AvatarImage.cjs');
|
|
16
17
|
const require_components_client_Avatar_Avatar = require('./client/Avatar/Avatar.cjs');
|
|
17
18
|
const require_components_client_Badge = require('./client/Badge.cjs');
|
|
19
|
+
const require_components_client_BottomSheet_useBottomSheetStore = require('./client/BottomSheet/useBottomSheetStore.cjs');
|
|
20
|
+
const require_components_client_BottomSheet_BottomSheet = require('./client/BottomSheet/BottomSheet.cjs');
|
|
21
|
+
const require_components_client_BottomSheet_BottomSheetContent = require('./client/BottomSheet/BottomSheetContent.cjs');
|
|
22
|
+
const require_components_client_BottomSheet_BottomSheetDismiss = require('./client/BottomSheet/BottomSheetDismiss.cjs');
|
|
23
|
+
const require_components_client_BottomSheet_BottomSheetHeader = require('./client/BottomSheet/BottomSheetHeader.cjs');
|
|
24
|
+
const require_components_client_BottomSheet_BottomSheetProvider = require('./client/BottomSheet/BottomSheetProvider.cjs');
|
|
25
|
+
const require_components_client_BottomSheet_BottomSheetTrigger = require('./client/BottomSheet/BottomSheetTrigger.cjs');
|
|
18
26
|
const require_components_client_SpringMotionConfig = require('./client/SpringMotionConfig.cjs');
|
|
19
27
|
const require_components_client_Button = require('./client/Button.cjs');
|
|
20
28
|
const require_components_client_Checkbox = require('./client/Checkbox.cjs');
|
|
@@ -50,6 +58,12 @@ var components_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
50
58
|
AvatarImage: () => require_components_client_Avatar_AvatarImage.AvatarImage,
|
|
51
59
|
AvatarText: () => require_components_client_Avatar_AvatarText.AvatarText,
|
|
52
60
|
Badge: () => require_components_client_Badge.Badge,
|
|
61
|
+
BottomSheet: () => require_components_client_BottomSheet_BottomSheet.BottomSheet,
|
|
62
|
+
BottomSheetContent: () => require_components_client_BottomSheet_BottomSheetContent.BottomSheetContent,
|
|
63
|
+
BottomSheetDismiss: () => require_components_client_BottomSheet_BottomSheetDismiss.BottomSheetDismiss,
|
|
64
|
+
BottomSheetHeader: () => require_components_client_BottomSheet_BottomSheetHeader.BottomSheetHeader,
|
|
65
|
+
BottomSheetProvider: () => require_components_client_BottomSheet_BottomSheetProvider.BottomSheetProvider,
|
|
66
|
+
BottomSheetTrigger: () => require_components_client_BottomSheet_BottomSheetTrigger.BottomSheetTrigger,
|
|
53
67
|
Box: () => require_components_Box.Box,
|
|
54
68
|
Button: () => require_components_client_Button.Button,
|
|
55
69
|
Checkbox: () => require_components_client_Checkbox.Checkbox,
|
|
@@ -71,6 +85,7 @@ var components_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
71
85
|
Pressable: () => require_components_client_Pressable.Pressable,
|
|
72
86
|
Radio: () => require_components_client_Radio_Radio.Radio,
|
|
73
87
|
RadioGroupProvider: () => require_components_client_Radio_RadioGroupProvider.RadioGroupProvider,
|
|
88
|
+
Scrim: () => require_components_Scrim.Scrim,
|
|
74
89
|
SpringMotionConfig: () => require_components_client_SpringMotionConfig.SpringMotionConfig,
|
|
75
90
|
Switch: () => require_components_client_Switch.Switch,
|
|
76
91
|
Text: () => require_components_Text.Text,
|
|
@@ -86,6 +101,7 @@ var components_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
|
86
101
|
UDSTooltipConfigProvider: () => require_components_client_Tooltip_UDSTooltipConfigProvider.UDSTooltipConfigProvider,
|
|
87
102
|
VStack: () => require_components_VStack.VStack,
|
|
88
103
|
createToast: () => require_components_client_Toast_createToast.createToast,
|
|
104
|
+
useBottomSheetStore: () => require_components_client_BottomSheet_useBottomSheetStore.useBottomSheetStore,
|
|
89
105
|
useBreakpointsConfig: () => require_components_client_providers_UDSBreakpointsConfigProvider.useBreakpointsConfig,
|
|
90
106
|
useToastConfig: () => require_components_client_Toast_UDSToastConfigProvider.useToastConfig
|
|
91
107
|
});
|
|
@@ -96,6 +112,12 @@ exports.AvatarIcon = require_components_client_Avatar_AvatarIcon.AvatarIcon;
|
|
|
96
112
|
exports.AvatarImage = require_components_client_Avatar_AvatarImage.AvatarImage;
|
|
97
113
|
exports.AvatarText = require_components_client_Avatar_AvatarText.AvatarText;
|
|
98
114
|
exports.Badge = require_components_client_Badge.Badge;
|
|
115
|
+
exports.BottomSheet = require_components_client_BottomSheet_BottomSheet.BottomSheet;
|
|
116
|
+
exports.BottomSheetContent = require_components_client_BottomSheet_BottomSheetContent.BottomSheetContent;
|
|
117
|
+
exports.BottomSheetDismiss = require_components_client_BottomSheet_BottomSheetDismiss.BottomSheetDismiss;
|
|
118
|
+
exports.BottomSheetHeader = require_components_client_BottomSheet_BottomSheetHeader.BottomSheetHeader;
|
|
119
|
+
exports.BottomSheetProvider = require_components_client_BottomSheet_BottomSheetProvider.BottomSheetProvider;
|
|
120
|
+
exports.BottomSheetTrigger = require_components_client_BottomSheet_BottomSheetTrigger.BottomSheetTrigger;
|
|
99
121
|
exports.Box = require_components_Box.Box;
|
|
100
122
|
exports.Button = require_components_client_Button.Button;
|
|
101
123
|
exports.Checkbox = require_components_client_Checkbox.Checkbox;
|
|
@@ -122,6 +144,7 @@ Object.defineProperty(exports, 'Menu', {
|
|
|
122
144
|
exports.Pressable = require_components_client_Pressable.Pressable;
|
|
123
145
|
exports.Radio = require_components_client_Radio_Radio.Radio;
|
|
124
146
|
exports.RadioGroupProvider = require_components_client_Radio_RadioGroupProvider.RadioGroupProvider;
|
|
147
|
+
exports.Scrim = require_components_Scrim.Scrim;
|
|
125
148
|
exports.SpringMotionConfig = require_components_client_SpringMotionConfig.SpringMotionConfig;
|
|
126
149
|
exports.Switch = require_components_client_Switch.Switch;
|
|
127
150
|
exports.Text = require_components_Text.Text;
|
|
@@ -143,5 +166,6 @@ Object.defineProperty(exports, 'components_exports', {
|
|
|
143
166
|
}
|
|
144
167
|
});
|
|
145
168
|
exports.createToast = require_components_client_Toast_createToast.createToast;
|
|
169
|
+
exports.useBottomSheetStore = require_components_client_BottomSheet_useBottomSheetStore.useBottomSheetStore;
|
|
146
170
|
exports.useBreakpointsConfig = require_components_client_providers_UDSBreakpointsConfigProvider.useBreakpointsConfig;
|
|
147
171
|
exports.useToastConfig = require_components_client_Toast_UDSToastConfigProvider.useToastConfig;
|
|
@@ -8,6 +8,7 @@ import { HStack, HStackProps } from "./HStack.cjs";
|
|
|
8
8
|
import { Icon, IconProps } from "./Icon.cjs";
|
|
9
9
|
import { Image, ImageProps } from "./Image.cjs";
|
|
10
10
|
import { Link, LinkProps } from "./Link.cjs";
|
|
11
|
+
import { Scrim, ScrimProps } from "./Scrim.cjs";
|
|
11
12
|
import { Text, TextProps } from "./Text.cjs";
|
|
12
13
|
import { VStack, VStackProps } from "./VStack.cjs";
|
|
13
14
|
import { SpringMotionConfig, SpringMotionConfigProps } from "./client/SpringMotionConfig.cjs";
|
|
@@ -16,6 +17,13 @@ import { AvatarText, AvatarTextProps } from "./client/Avatar/AvatarText.cjs";
|
|
|
16
17
|
import { AvatarImage, AvatarImageProps } from "./client/Avatar/AvatarImage.cjs";
|
|
17
18
|
import { Avatar, AvatarProps } from "./client/Avatar/Avatar.cjs";
|
|
18
19
|
import { Badge, BadgeProps } from "./client/Badge.cjs";
|
|
20
|
+
import { BottomSheetController, useBottomSheetStore } from "./client/BottomSheet/useBottomSheetStore.cjs";
|
|
21
|
+
import { BottomSheet, BottomSheetProps } from "./client/BottomSheet/BottomSheet.cjs";
|
|
22
|
+
import { BottomSheetContent, BottomSheetContentProps } from "./client/BottomSheet/BottomSheetContent.cjs";
|
|
23
|
+
import { BottomSheetDismiss, BottomSheetDismissProps } from "./client/BottomSheet/BottomSheetDismiss.cjs";
|
|
24
|
+
import { BottomSheetHeader, BottomSheetHeaderProps } from "./client/BottomSheet/BottomSheetHeader.cjs";
|
|
25
|
+
import { BottomSheetProvider, BottomSheetProviderProps } from "./client/BottomSheet/BottomSheetProvider.cjs";
|
|
26
|
+
import { BottomSheetTrigger, BottomSheetTriggerProps } from "./client/BottomSheet/BottomSheetTrigger.cjs";
|
|
19
27
|
import { Button, ButtonProps } from "./client/Button.cjs";
|
|
20
28
|
import { Checkbox, CheckboxProps } from "./client/Checkbox.cjs";
|
|
21
29
|
import { Chip, ChipProps } from "./client/Chip/Chip.cjs";
|
|
@@ -49,4 +57,4 @@ import { UDSTooltipConfigProvider, UDSTooltipConfigProviderProps } from "./clien
|
|
|
49
57
|
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./client/providers/UDSBreakpointsConfigProvider.cjs";
|
|
50
58
|
import { UDSConfigProvider, UDSConfigProviderProps } from "./client/providers/UDSConfigProvider.cjs";
|
|
51
59
|
import "./client/index.cjs";
|
|
52
|
-
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, Divider, type DividerProps, FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Link, type LinkProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Text, type TextProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, VStack, type VStackProps, createToast, useBreakpointsConfig, useToastConfig };
|
|
60
|
+
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, BottomSheet, BottomSheetContent, type BottomSheetContentProps, type BottomSheetController, BottomSheetDismiss, type BottomSheetDismissProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, BottomSheetProvider, type BottomSheetProviderProps, BottomSheetTrigger, type BottomSheetTriggerProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, Divider, type DividerProps, FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Link, type LinkProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, Scrim, type ScrimProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Text, type TextProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, VStack, type VStackProps, createToast, useBottomSheetStore, useBreakpointsConfig, useToastConfig };
|
|
@@ -8,6 +8,7 @@ import { HStack, HStackProps } from "./HStack.js";
|
|
|
8
8
|
import { Icon, IconProps } from "./Icon.js";
|
|
9
9
|
import { Image, ImageProps } from "./Image.js";
|
|
10
10
|
import { Link, LinkProps } from "./Link.js";
|
|
11
|
+
import { Scrim, ScrimProps } from "./Scrim.js";
|
|
11
12
|
import { Text, TextProps } from "./Text.js";
|
|
12
13
|
import { VStack, VStackProps } from "./VStack.js";
|
|
13
14
|
import { SpringMotionConfig, SpringMotionConfigProps } from "./client/SpringMotionConfig.js";
|
|
@@ -16,6 +17,13 @@ import { AvatarText, AvatarTextProps } from "./client/Avatar/AvatarText.js";
|
|
|
16
17
|
import { AvatarImage, AvatarImageProps } from "./client/Avatar/AvatarImage.js";
|
|
17
18
|
import { Avatar, AvatarProps } from "./client/Avatar/Avatar.js";
|
|
18
19
|
import { Badge, BadgeProps } from "./client/Badge.js";
|
|
20
|
+
import { BottomSheetController, useBottomSheetStore } from "./client/BottomSheet/useBottomSheetStore.js";
|
|
21
|
+
import { BottomSheet, BottomSheetProps } from "./client/BottomSheet/BottomSheet.js";
|
|
22
|
+
import { BottomSheetContent, BottomSheetContentProps } from "./client/BottomSheet/BottomSheetContent.js";
|
|
23
|
+
import { BottomSheetDismiss, BottomSheetDismissProps } from "./client/BottomSheet/BottomSheetDismiss.js";
|
|
24
|
+
import { BottomSheetHeader, BottomSheetHeaderProps } from "./client/BottomSheet/BottomSheetHeader.js";
|
|
25
|
+
import { BottomSheetProvider, BottomSheetProviderProps } from "./client/BottomSheet/BottomSheetProvider.js";
|
|
26
|
+
import { BottomSheetTrigger, BottomSheetTriggerProps } from "./client/BottomSheet/BottomSheetTrigger.js";
|
|
19
27
|
import { Button, ButtonProps } from "./client/Button.js";
|
|
20
28
|
import { Checkbox, CheckboxProps } from "./client/Checkbox.js";
|
|
21
29
|
import { Chip, ChipProps } from "./client/Chip/Chip.js";
|
|
@@ -49,4 +57,4 @@ import { UDSTooltipConfigProvider, UDSTooltipConfigProviderProps } from "./clien
|
|
|
49
57
|
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./client/providers/UDSBreakpointsConfigProvider.js";
|
|
50
58
|
import { UDSConfigProvider, UDSConfigProviderProps } from "./client/providers/UDSConfigProvider.js";
|
|
51
59
|
import "./client/index.js";
|
|
52
|
-
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, Divider, type DividerProps, FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Link, type LinkProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Text, type TextProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, VStack, type VStackProps, createToast, useBreakpointsConfig, useToastConfig };
|
|
60
|
+
export { Avatar, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarProps, AvatarText, type AvatarTextProps, Badge, type BadgeProps, BottomSheet, BottomSheetContent, type BottomSheetContentProps, type BottomSheetController, BottomSheetDismiss, type BottomSheetDismissProps, BottomSheetHeader, type BottomSheetHeaderProps, type BottomSheetProps, BottomSheetProvider, type BottomSheetProviderProps, BottomSheetTrigger, type BottomSheetTriggerProps, Box, type BoxProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, ChipButton, type ChipButtonProps, ChipDismissible, type ChipDismissibleProps, ChipLink, type ChipLinkProps, type ChipProps, ChipToggle, type ChipToggleProps, Divider, type DividerProps, FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Input, InputHelpText, type InputHelpTextProps, type InputProps, Link, type LinkProps, Menu_index_d_exports as Menu, type MenuContentProps, type MenuDividerProps, type MenuItemCheckboxProps, type MenuItemProps, type MenuPlacement, type MenuProviderProps, type MenuTriggerProps, Pressable, type PressableProps, Radio, RadioGroupProvider, type RadioGroupProviderProps, type RadioProps, Scrim, type ScrimProps, SpringMotionConfig, type SpringMotionConfigProps, Switch, type SwitchProps, Text, type TextProps, Toast, ToastContainer, type ToastContainerProps, type ToastLoadingPromise, ToastPortal, type ToastPortalProps, type ToastProps, Tooltip, TooltipContent, type UniversalTooltipContentProps as TooltipContentProps, type UniversalTooltipProps as TooltipProps, TooltipTrigger, type UniversalTooltipTriggerProps as TooltipTriggerProps, UDSBreakpointsConfigProvider, type UDSBreakpointsConfigProviderProps, UDSConfigProvider, type UDSConfigProviderProps, UDSToastConfigProvider, type UDSToastConfigProviderProps, UDSTooltipConfigProvider, type UDSTooltipConfigProviderProps, VStack, type VStackProps, createToast, useBottomSheetStore, useBreakpointsConfig, useToastConfig };
|
package/dist/components/index.js
CHANGED
|
@@ -9,11 +9,19 @@ import { FormLabel } from "./FormLabel.js";
|
|
|
9
9
|
import { Icon } from "./Icon.js";
|
|
10
10
|
import { Image } from "./Image.js";
|
|
11
11
|
import { Link } from "./Link.js";
|
|
12
|
+
import { Scrim } from "./Scrim.js";
|
|
12
13
|
import { AvatarIcon } from "./client/Avatar/AvatarIcon.js";
|
|
13
14
|
import { AvatarText } from "./client/Avatar/AvatarText.js";
|
|
14
15
|
import { AvatarImage } from "./client/Avatar/AvatarImage.js";
|
|
15
16
|
import { Avatar } from "./client/Avatar/Avatar.js";
|
|
16
17
|
import { Badge } from "./client/Badge.js";
|
|
18
|
+
import { useBottomSheetStore } from "./client/BottomSheet/useBottomSheetStore.js";
|
|
19
|
+
import { BottomSheet } from "./client/BottomSheet/BottomSheet.js";
|
|
20
|
+
import { BottomSheetContent } from "./client/BottomSheet/BottomSheetContent.js";
|
|
21
|
+
import { BottomSheetDismiss } from "./client/BottomSheet/BottomSheetDismiss.js";
|
|
22
|
+
import { BottomSheetHeader } from "./client/BottomSheet/BottomSheetHeader.js";
|
|
23
|
+
import { BottomSheetProvider } from "./client/BottomSheet/BottomSheetProvider.js";
|
|
24
|
+
import { BottomSheetTrigger } from "./client/BottomSheet/BottomSheetTrigger.js";
|
|
17
25
|
import { SpringMotionConfig } from "./client/SpringMotionConfig.js";
|
|
18
26
|
import { Button } from "./client/Button.js";
|
|
19
27
|
import { Checkbox } from "./client/Checkbox.js";
|
|
@@ -49,6 +57,12 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
49
57
|
AvatarImage: () => AvatarImage,
|
|
50
58
|
AvatarText: () => AvatarText,
|
|
51
59
|
Badge: () => Badge,
|
|
60
|
+
BottomSheet: () => BottomSheet,
|
|
61
|
+
BottomSheetContent: () => BottomSheetContent,
|
|
62
|
+
BottomSheetDismiss: () => BottomSheetDismiss,
|
|
63
|
+
BottomSheetHeader: () => BottomSheetHeader,
|
|
64
|
+
BottomSheetProvider: () => BottomSheetProvider,
|
|
65
|
+
BottomSheetTrigger: () => BottomSheetTrigger,
|
|
52
66
|
Box: () => Box,
|
|
53
67
|
Button: () => Button,
|
|
54
68
|
Checkbox: () => Checkbox,
|
|
@@ -70,6 +84,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
70
84
|
Pressable: () => Pressable,
|
|
71
85
|
Radio: () => Radio,
|
|
72
86
|
RadioGroupProvider: () => RadioGroupProvider,
|
|
87
|
+
Scrim: () => Scrim,
|
|
73
88
|
SpringMotionConfig: () => SpringMotionConfig,
|
|
74
89
|
Switch: () => Switch,
|
|
75
90
|
Text: () => Text,
|
|
@@ -85,9 +100,10 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
85
100
|
UDSTooltipConfigProvider: () => UDSTooltipConfigProvider,
|
|
86
101
|
VStack: () => VStack,
|
|
87
102
|
createToast: () => createToast,
|
|
103
|
+
useBottomSheetStore: () => useBottomSheetStore,
|
|
88
104
|
useBreakpointsConfig: () => useBreakpointsConfig,
|
|
89
105
|
useToastConfig: () => useToastConfig
|
|
90
106
|
});
|
|
91
107
|
|
|
92
108
|
//#endregion
|
|
93
|
-
export { Avatar, AvatarIcon, AvatarImage, AvatarText, Badge, Box, Button, Checkbox, Chip, ChipButton, ChipDismissible, ChipLink, ChipToggle, Divider, FormLabel, HStack, Icon, IconButton, Image, Input, InputHelpText, Link, Menu_index_exports as Menu, Pressable, Radio, RadioGroupProvider, SpringMotionConfig, Switch, Text, Toast, ToastContainer, ToastPortal, Tooltip, TooltipContent, TooltipTrigger, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, VStack, components_exports, createToast, useBreakpointsConfig, useToastConfig };
|
|
109
|
+
export { Avatar, AvatarIcon, AvatarImage, AvatarText, Badge, BottomSheet, BottomSheetContent, BottomSheetDismiss, BottomSheetHeader, BottomSheetProvider, BottomSheetTrigger, Box, Button, Checkbox, Chip, ChipButton, ChipDismissible, ChipLink, ChipToggle, Divider, FormLabel, HStack, Icon, IconButton, Image, Input, InputHelpText, Link, Menu_index_exports as Menu, Pressable, Radio, RadioGroupProvider, Scrim, SpringMotionConfig, Switch, Text, Toast, ToastContainer, ToastPortal, Tooltip, TooltipContent, TooltipTrigger, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, VStack, components_exports, createToast, useBottomSheetStore, useBreakpointsConfig, useToastConfig };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
//#region ../config/dist/index.js
|
|
4
4
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
5
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
5
|
+
const LATEST_MIGRATION_VERSION = "v0.85.0";
|
|
6
6
|
/**
|
|
7
7
|
* NOTE: If you're building a feature with a migration,
|
|
8
8
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -886,6 +886,70 @@ const defaultTokensConfig = {
|
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
888
|
},
|
|
889
|
+
bottomSheet: {
|
|
890
|
+
defaults: { variant: "default" },
|
|
891
|
+
variables: {
|
|
892
|
+
"variant/default/header": {
|
|
893
|
+
color: { rest: {
|
|
894
|
+
type: "foregroundPaletteColors",
|
|
895
|
+
value: "primary",
|
|
896
|
+
valueType: "alias"
|
|
897
|
+
} },
|
|
898
|
+
textVariant: { rest: {
|
|
899
|
+
type: "textVariants",
|
|
900
|
+
value: "headline1",
|
|
901
|
+
valueType: "alias"
|
|
902
|
+
} }
|
|
903
|
+
},
|
|
904
|
+
"variant/default/root": {
|
|
905
|
+
backgroundColor: { rest: {
|
|
906
|
+
type: "backgroundPaletteColors",
|
|
907
|
+
value: "primary",
|
|
908
|
+
valueType: "alias"
|
|
909
|
+
} },
|
|
910
|
+
borderColor: { rest: {
|
|
911
|
+
type: "spectrumColors",
|
|
912
|
+
value: "gray-3",
|
|
913
|
+
valueType: "alias"
|
|
914
|
+
} },
|
|
915
|
+
borderRadius: { rest: {
|
|
916
|
+
type: "borderRadii",
|
|
917
|
+
value: "lg",
|
|
918
|
+
valueType: "alias"
|
|
919
|
+
} },
|
|
920
|
+
borderWidth: { rest: {
|
|
921
|
+
type: "borderWidths",
|
|
922
|
+
value: "thin",
|
|
923
|
+
valueType: "alias"
|
|
924
|
+
} },
|
|
925
|
+
bottomMargin: { rest: {
|
|
926
|
+
type: "spacingAliases",
|
|
927
|
+
value: "2",
|
|
928
|
+
valueType: "alias"
|
|
929
|
+
} },
|
|
930
|
+
horizontalMargin: { rest: {
|
|
931
|
+
type: "spacingAliases",
|
|
932
|
+
value: "2",
|
|
933
|
+
valueType: "alias"
|
|
934
|
+
} },
|
|
935
|
+
shadow: { rest: {
|
|
936
|
+
type: "elevationAliases",
|
|
937
|
+
value: "elevation-2",
|
|
938
|
+
valueType: "alias"
|
|
939
|
+
} },
|
|
940
|
+
spacingHorizontal: { rest: {
|
|
941
|
+
type: "spacingAliases",
|
|
942
|
+
value: "2",
|
|
943
|
+
valueType: "alias"
|
|
944
|
+
} },
|
|
945
|
+
spacingVertical: { rest: {
|
|
946
|
+
type: "spacingAliases",
|
|
947
|
+
value: "2",
|
|
948
|
+
valueType: "alias"
|
|
949
|
+
} }
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
},
|
|
889
953
|
breakpoints: {
|
|
890
954
|
"2xl": {
|
|
891
955
|
type: "px",
|
|
@@ -14155,6 +14219,30 @@ const defaultTokensConfig = {
|
|
|
14155
14219
|
},
|
|
14156
14220
|
isAdvancedModeEnabled: false
|
|
14157
14221
|
},
|
|
14222
|
+
focusRing: {
|
|
14223
|
+
dark: {
|
|
14224
|
+
color: {
|
|
14225
|
+
type: "spectrum",
|
|
14226
|
+
value: {
|
|
14227
|
+
hue: "gray",
|
|
14228
|
+
step: "15"
|
|
14229
|
+
}
|
|
14230
|
+
},
|
|
14231
|
+
offset: 2,
|
|
14232
|
+
width: 2
|
|
14233
|
+
},
|
|
14234
|
+
light: {
|
|
14235
|
+
color: {
|
|
14236
|
+
type: "spectrum",
|
|
14237
|
+
value: {
|
|
14238
|
+
hue: "gray",
|
|
14239
|
+
step: "15"
|
|
14240
|
+
}
|
|
14241
|
+
},
|
|
14242
|
+
offset: 2,
|
|
14243
|
+
width: 2
|
|
14244
|
+
}
|
|
14245
|
+
},
|
|
14158
14246
|
font: {
|
|
14159
14247
|
mono: "roboto-mono",
|
|
14160
14248
|
sans: "yas",
|
|
@@ -17462,6 +17550,26 @@ const defaultTokensConfig = {
|
|
|
17462
17550
|
}
|
|
17463
17551
|
}
|
|
17464
17552
|
},
|
|
17553
|
+
scrim: {
|
|
17554
|
+
defaults: { variant: "default" },
|
|
17555
|
+
variables: { "variant/default/root": {
|
|
17556
|
+
backdropBlur: { rest: {
|
|
17557
|
+
type: "positiveIntegers",
|
|
17558
|
+
value: 0,
|
|
17559
|
+
valueType: "custom"
|
|
17560
|
+
} },
|
|
17561
|
+
backgroundColor: { rest: {
|
|
17562
|
+
type: "alwaysPaletteAliases",
|
|
17563
|
+
value: "always/black",
|
|
17564
|
+
valueType: "alias"
|
|
17565
|
+
} },
|
|
17566
|
+
opacity: { rest: {
|
|
17567
|
+
type: "opacitySteps",
|
|
17568
|
+
value: "20",
|
|
17569
|
+
valueType: "alias"
|
|
17570
|
+
} }
|
|
17571
|
+
} }
|
|
17572
|
+
},
|
|
17465
17573
|
shadow: {
|
|
17466
17574
|
drop: {
|
|
17467
17575
|
"2xl": [{
|
|
@@ -26858,7 +26966,7 @@ const defaultTokensConfig = {
|
|
|
26858
26966
|
}
|
|
26859
26967
|
}
|
|
26860
26968
|
},
|
|
26861
|
-
version: "v0.
|
|
26969
|
+
version: "v0.85.0",
|
|
26862
26970
|
version: LATEST_MIGRATION_VERSION
|
|
26863
26971
|
};
|
|
26864
26972
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
//#region ../config/dist/index.js
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
4
|
-
const LATEST_MIGRATION_VERSION = "v0.
|
|
4
|
+
const LATEST_MIGRATION_VERSION = "v0.85.0";
|
|
5
5
|
/**
|
|
6
6
|
* NOTE: If you're building a feature with a migration,
|
|
7
7
|
* this type will likely throw. You can regenerate yosConfig
|
|
@@ -885,6 +885,70 @@ const defaultTokensConfig = {
|
|
|
885
885
|
}
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
|
+
bottomSheet: {
|
|
889
|
+
defaults: { variant: "default" },
|
|
890
|
+
variables: {
|
|
891
|
+
"variant/default/header": {
|
|
892
|
+
color: { rest: {
|
|
893
|
+
type: "foregroundPaletteColors",
|
|
894
|
+
value: "primary",
|
|
895
|
+
valueType: "alias"
|
|
896
|
+
} },
|
|
897
|
+
textVariant: { rest: {
|
|
898
|
+
type: "textVariants",
|
|
899
|
+
value: "headline1",
|
|
900
|
+
valueType: "alias"
|
|
901
|
+
} }
|
|
902
|
+
},
|
|
903
|
+
"variant/default/root": {
|
|
904
|
+
backgroundColor: { rest: {
|
|
905
|
+
type: "backgroundPaletteColors",
|
|
906
|
+
value: "primary",
|
|
907
|
+
valueType: "alias"
|
|
908
|
+
} },
|
|
909
|
+
borderColor: { rest: {
|
|
910
|
+
type: "spectrumColors",
|
|
911
|
+
value: "gray-3",
|
|
912
|
+
valueType: "alias"
|
|
913
|
+
} },
|
|
914
|
+
borderRadius: { rest: {
|
|
915
|
+
type: "borderRadii",
|
|
916
|
+
value: "lg",
|
|
917
|
+
valueType: "alias"
|
|
918
|
+
} },
|
|
919
|
+
borderWidth: { rest: {
|
|
920
|
+
type: "borderWidths",
|
|
921
|
+
value: "thin",
|
|
922
|
+
valueType: "alias"
|
|
923
|
+
} },
|
|
924
|
+
bottomMargin: { rest: {
|
|
925
|
+
type: "spacingAliases",
|
|
926
|
+
value: "2",
|
|
927
|
+
valueType: "alias"
|
|
928
|
+
} },
|
|
929
|
+
horizontalMargin: { rest: {
|
|
930
|
+
type: "spacingAliases",
|
|
931
|
+
value: "2",
|
|
932
|
+
valueType: "alias"
|
|
933
|
+
} },
|
|
934
|
+
shadow: { rest: {
|
|
935
|
+
type: "elevationAliases",
|
|
936
|
+
value: "elevation-2",
|
|
937
|
+
valueType: "alias"
|
|
938
|
+
} },
|
|
939
|
+
spacingHorizontal: { rest: {
|
|
940
|
+
type: "spacingAliases",
|
|
941
|
+
value: "2",
|
|
942
|
+
valueType: "alias"
|
|
943
|
+
} },
|
|
944
|
+
spacingVertical: { rest: {
|
|
945
|
+
type: "spacingAliases",
|
|
946
|
+
value: "2",
|
|
947
|
+
valueType: "alias"
|
|
948
|
+
} }
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
},
|
|
888
952
|
breakpoints: {
|
|
889
953
|
"2xl": {
|
|
890
954
|
type: "px",
|
|
@@ -14154,6 +14218,30 @@ const defaultTokensConfig = {
|
|
|
14154
14218
|
},
|
|
14155
14219
|
isAdvancedModeEnabled: false
|
|
14156
14220
|
},
|
|
14221
|
+
focusRing: {
|
|
14222
|
+
dark: {
|
|
14223
|
+
color: {
|
|
14224
|
+
type: "spectrum",
|
|
14225
|
+
value: {
|
|
14226
|
+
hue: "gray",
|
|
14227
|
+
step: "15"
|
|
14228
|
+
}
|
|
14229
|
+
},
|
|
14230
|
+
offset: 2,
|
|
14231
|
+
width: 2
|
|
14232
|
+
},
|
|
14233
|
+
light: {
|
|
14234
|
+
color: {
|
|
14235
|
+
type: "spectrum",
|
|
14236
|
+
value: {
|
|
14237
|
+
hue: "gray",
|
|
14238
|
+
step: "15"
|
|
14239
|
+
}
|
|
14240
|
+
},
|
|
14241
|
+
offset: 2,
|
|
14242
|
+
width: 2
|
|
14243
|
+
}
|
|
14244
|
+
},
|
|
14157
14245
|
font: {
|
|
14158
14246
|
mono: "roboto-mono",
|
|
14159
14247
|
sans: "yas",
|
|
@@ -17461,6 +17549,26 @@ const defaultTokensConfig = {
|
|
|
17461
17549
|
}
|
|
17462
17550
|
}
|
|
17463
17551
|
},
|
|
17552
|
+
scrim: {
|
|
17553
|
+
defaults: { variant: "default" },
|
|
17554
|
+
variables: { "variant/default/root": {
|
|
17555
|
+
backdropBlur: { rest: {
|
|
17556
|
+
type: "positiveIntegers",
|
|
17557
|
+
value: 0,
|
|
17558
|
+
valueType: "custom"
|
|
17559
|
+
} },
|
|
17560
|
+
backgroundColor: { rest: {
|
|
17561
|
+
type: "alwaysPaletteAliases",
|
|
17562
|
+
value: "always/black",
|
|
17563
|
+
valueType: "alias"
|
|
17564
|
+
} },
|
|
17565
|
+
opacity: { rest: {
|
|
17566
|
+
type: "opacitySteps",
|
|
17567
|
+
value: "20",
|
|
17568
|
+
valueType: "alias"
|
|
17569
|
+
} }
|
|
17570
|
+
} }
|
|
17571
|
+
},
|
|
17464
17572
|
shadow: {
|
|
17465
17573
|
drop: {
|
|
17466
17574
|
"2xl": [{
|
|
@@ -26857,7 +26965,7 @@ const defaultTokensConfig = {
|
|
|
26857
26965
|
}
|
|
26858
26966
|
}
|
|
26859
26967
|
},
|
|
26860
|
-
version: "v0.
|
|
26968
|
+
version: "v0.85.0",
|
|
26861
26969
|
version: LATEST_MIGRATION_VERSION
|
|
26862
26970
|
};
|
|
26863
26971
|
|