@dxos/react-ui 0.3.11-main.d3a2438 → 0.3.11-main.d56f337
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.
|
@@ -1255,24 +1255,24 @@ var useSwipeToDismiss = (ref, {
|
|
|
1255
1255
|
/* side = 'inline-start' */
|
|
1256
1256
|
}) => {
|
|
1257
1257
|
const $root = ref.current;
|
|
1258
|
-
const [motionState, setMotionState] = useState3(
|
|
1258
|
+
const [motionState, setMotionState] = useState3(0);
|
|
1259
1259
|
const [gestureStartX, setGestureStartX] = useState3(0);
|
|
1260
1260
|
const setIdle = useCallback2(() => {
|
|
1261
|
-
setMotionState(
|
|
1261
|
+
setMotionState(0);
|
|
1262
1262
|
$root?.style.removeProperty("inset-inline-start");
|
|
1263
1263
|
$root?.style.setProperty("transition-duration", "200ms");
|
|
1264
1264
|
}, [
|
|
1265
1265
|
$root
|
|
1266
1266
|
]);
|
|
1267
1267
|
const setFollowing = useCallback2(() => {
|
|
1268
|
-
setMotionState(
|
|
1268
|
+
setMotionState(2);
|
|
1269
1269
|
$root?.style.setProperty("transition-duration", "0ms");
|
|
1270
1270
|
}, [
|
|
1271
1271
|
$root
|
|
1272
1272
|
]);
|
|
1273
1273
|
const handlePointerDown = useCallback2(({ screenX }) => {
|
|
1274
|
-
if (motionState ===
|
|
1275
|
-
setMotionState(
|
|
1274
|
+
if (motionState === 0) {
|
|
1275
|
+
setMotionState(1);
|
|
1276
1276
|
setGestureStartX(screenX);
|
|
1277
1277
|
}
|
|
1278
1278
|
}, [
|
|
@@ -1282,7 +1282,7 @@ var useSwipeToDismiss = (ref, {
|
|
|
1282
1282
|
if ($root) {
|
|
1283
1283
|
const delta = Math.min(screenX - gestureStartX, 0);
|
|
1284
1284
|
switch (motionState) {
|
|
1285
|
-
case
|
|
1285
|
+
case 2:
|
|
1286
1286
|
if (Math.abs(delta) > dismissThreshold) {
|
|
1287
1287
|
setIdle();
|
|
1288
1288
|
onDismiss?.();
|
|
@@ -1290,7 +1290,7 @@ var useSwipeToDismiss = (ref, {
|
|
|
1290
1290
|
$root.style.setProperty("inset-inline-start", `${offset + delta}px`);
|
|
1291
1291
|
}
|
|
1292
1292
|
break;
|
|
1293
|
-
case
|
|
1293
|
+
case 1:
|
|
1294
1294
|
if (Math.abs(delta) > debounceThreshold) {
|
|
1295
1295
|
setFollowing();
|
|
1296
1296
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/index.ts", "../../../src/components/AnchoredOverflow/AnchoredOverflow.tsx", "../../../src/hooks/useDensityContext.ts", "../../../src/hooks/useElevationContext.ts", "../../../src/hooks/useTranslationsContext.ts", "../../../src/components/ThemeProvider/TranslationsProvider.tsx", "../../../src/hooks/useThemeContext.ts", "../../../src/hooks/useVisualViewport.ts", "../../../src/components/Avatars/Avatar.tsx", "../../../src/components/Avatars/AvatarGroup.tsx", "../../../src/components/Breadcrumb/Breadcrumb.tsx", "../../../src/components/Link/Link.tsx", "../../../src/components/Buttons/Button.tsx", "../../../src/components/Buttons/Toggle.tsx", "../../../src/components/Buttons/ToggleGroup.tsx", "../../../src/components/Dialogs/Dialog.tsx", "../../../src/components/ElevationProvider/ElevationProvider.tsx", "../../../src/components/Dialogs/AlertDialog.tsx", "../../../src/components/Menus/ContextMenu.tsx", "../../../src/components/Menus/DropdownMenu.tsx", "../../../src/components/Input/Input.tsx", "../../../src/components/Lists/List.tsx", "../../../src/components/DensityProvider/DensityProvider.tsx", "../../../src/components/Lists/Tree.tsx", "../../../src/components/Main/Main.tsx", "../../../src/components/Main/useSwipeToDismiss.ts", "../../../src/components/Message/Message.tsx", "../../../src/components/Popover/Popover.tsx", "../../../src/components/Status/Status.tsx", "../../../src/components/ScrollArea/ScrollArea.tsx", "../../../src/components/Select/Select.tsx", "../../../src/components/Separator/Separator.tsx", "../../../src/components/Tag/Tag.tsx", "../../../src/components/Toast/Toast.tsx", "../../../src/components/Toolbar/Toolbar.tsx", "../../../src/components/Tooltip/Tooltip.tsx", "../../../src/components/ThemeProvider/ThemeProvider.tsx", "../../../src/util/hasIosKeyboard.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nexport type { TFunction } from 'i18next';\nexport { useTranslation, Trans } from 'react-i18next';\nexport * from '@dxos/react-ui-types';\nexport * from '@dxos/react-hooks';\n\nexport * from './components';\nexport * from './hooks';\nexport * from './util';\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype AnchoredOverflowRootProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n asChild?: boolean;\n};\n\nconst AnchoredOverflowRoot = forwardRef<HTMLDivElement, AnchoredOverflowRootProps>(\n ({ asChild, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root\n role='none'\n {...props}\n className={tx('anchoredOverflow.root', 'overflow-anchored', {}, classNames)}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\ntype AnchoredOverflowAnchorProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n asChild?: boolean;\n};\n\nconst AnchoredOverflowAnchor = forwardRef<HTMLDivElement, AnchoredOverflowAnchorProps>(\n ({ asChild, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root\n role='none'\n {...props}\n className={tx('anchoredOverflow.anchor', 'overflow-anchor', {}, classNames)}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\nexport const AnchoredOverflow = {\n Root: AnchoredOverflowRoot,\n Anchor: AnchoredOverflowAnchor,\n};\n\nexport type { AnchoredOverflowRootProps, AnchoredOverflowAnchorProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { type Density } from '@dxos/react-ui-types';\n\nimport { DensityContext } from '../components';\n\nexport const useDensityContext = (propsDensity?: Density) => {\n const { density } = useContext(DensityContext);\n return propsDensity ?? density;\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { type Elevation } from '@dxos/react-ui-types';\n\nimport { ElevationContext } from '../components';\n\nexport const useElevationContext = (propsElevation?: Elevation) => {\n const { elevation } = useContext(ElevationContext);\n return propsElevation ?? elevation;\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { TranslationsContext } from '../components/ThemeProvider/TranslationsProvider';\n\nexport const useTranslationsContext = () => useContext(TranslationsContext);\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport i18Next, { type Resource } from 'i18next';\nimport React, { type ReactNode, useEffect, createContext, useState, Suspense } from 'react';\nimport { initReactI18next } from 'react-i18next';\n\nconst initialLng = 'en-US';\nconst initialNs = 'dxos-common';\n\nexport const resources = {\n [initialLng]: {\n [initialNs]: {\n 'loading translations': 'Loading translations…',\n },\n },\n} as const;\n\nvoid i18Next.use(initReactI18next).init({\n resources,\n lng: initialLng,\n defaultNS: initialNs,\n interpolation: {\n escapeValue: false,\n },\n});\n\nexport interface TranslationsProviderProps {\n children?: ReactNode;\n fallback?: ReactNode;\n resourceExtensions?: Resource[];\n appNs?: string;\n}\n\nexport const TranslationsContext = createContext({\n appNs: initialNs,\n});\n\nexport const TranslationsProvider = ({ fallback, resourceExtensions, children, appNs }: TranslationsProviderProps) => {\n const [loaded, setLoaded] = useState(false);\n useEffect(() => {\n setLoaded(false);\n if (resourceExtensions && resourceExtensions.length) {\n resourceExtensions.forEach((resource) => {\n Object.keys(resource).forEach((language) => {\n Object.keys(resource[language]).forEach((ns) => {\n i18Next.addResourceBundle(language, ns, resource[language][ns]);\n });\n });\n });\n }\n setLoaded(true);\n }, [resourceExtensions]);\n\n // TODO(thure): This is not ideal, but i18next was causing `Suspense` to not render the fallback even when the child was asking for namespaces yet to be added.\n // TODO(burdon): Fallbacks should only appear after a short delay, and if the displayed then be visible for 500mx to avoid startup flickering.\n return (\n <TranslationsContext.Provider value={{ appNs: appNs ?? initialNs }}>\n <Suspense fallback={fallback}>{loaded ? children : fallback}</Suspense>\n </TranslationsContext.Provider>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { ThemeContext } from '../components';\n\nexport const useThemeContext = () => useContext(ThemeContext);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useEffect, useState } from 'react';\n\nexport const useVisualViewport = (deps?: Parameters<typeof useEffect>[1]) => {\n const [width, setWidth] = useState<number | null>(null);\n const [height, setHeight] = useState<number | null>(null);\n\n useEffect(() => {\n const handleResize = () => {\n if (window.visualViewport) {\n setWidth(window.visualViewport.width);\n setHeight(window.visualViewport.height);\n }\n };\n window.visualViewport?.addEventListener('resize', handleResize);\n handleResize();\n return () => window.visualViewport?.removeEventListener('resize', handleResize);\n }, deps ?? []);\n\n return { width, height };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Root as AvatarRootPrimitive,\n type AvatarProps as AvatarRootPrimitiveProps,\n type ImageLoadingStatus,\n Fallback as AvatarFallbackPrimitive,\n} from '@radix-ui/react-avatar';\nimport { createContext } from '@radix-ui/react-context';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport { toSvg } from 'jdenticon';\nimport React, { type ComponentPropsWithRef, forwardRef, type PropsWithChildren, useMemo } from 'react';\n\nimport { useId } from '@dxos/react-hooks';\nimport { type Size } from '@dxos/react-ui-types';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype AvatarVariant = 'square' | 'circle';\ntype AvatarStatus = 'active' | 'inactive' | 'current' | 'error' | 'warning';\ntype AvatarAnimation = 'pulse' | 'none';\n\nexport type AvatarRootProps = PropsWithChildren<Partial<AvatarContextValue>>;\n\ntype AvatarContextValue = {\n labelId: string;\n descriptionId: string;\n maskId: string;\n size: Size;\n variant: AvatarVariant;\n status?: AvatarStatus;\n animation?: AvatarAnimation;\n inGroup?: boolean;\n color?: string;\n};\nconst AVATAR_NAME = 'Avatar';\nconst [AvatarProvider, useAvatarContext] = createContext<AvatarContextValue>(AVATAR_NAME);\n\nconst AvatarRoot = ({\n size = 10,\n variant = 'circle',\n status,\n animation,\n children,\n labelId: propsLabelId,\n descriptionId: propsDescriptionId,\n maskId: propsMaskId,\n inGroup,\n color,\n}: AvatarRootProps) => {\n const labelId = useId('avatar__label', propsLabelId);\n const descriptionId = useId('avatar__description', propsDescriptionId);\n const maskId = useId('avatar__mask', propsMaskId);\n return (\n <AvatarProvider {...{ labelId, descriptionId, maskId, size, variant, status, animation, inGroup, color }}>\n {children}\n </AvatarProvider>\n );\n};\n\ntype AvatarFrameProps = ThemedClassName<AvatarRootPrimitiveProps>;\n\nconst rx = '0.25rem';\n\nconst AvatarFrame = forwardRef<HTMLSpanElement, AvatarFrameProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { size, variant, labelId, descriptionId, maskId, inGroup, status, animation, color } =\n useAvatarContext('AvatarFrame');\n\n const { tx } = useThemeContext();\n const numericSize = size === 'px' ? 1 : Number(size);\n const sizePx = numericSize * 4;\n const ringWidth = numericSize > 4 ? 2 : numericSize > 3 ? 1 : 1;\n const ringGap = numericSize > 12 ? 3 : numericSize > 4 ? 2 : numericSize > 3 ? 1 : 0;\n const r = sizePx / 2 - ringGap - ringWidth;\n return (\n <AvatarRootPrimitive\n role='img'\n {...props}\n className={tx('avatar.root', 'avatar', { size, variant, inGroup }, classNames)}\n ref={forwardedRef}\n {...(!inGroup && {\n 'aria-labelledby': labelId,\n 'aria-describedby': descriptionId,\n })}\n >\n <svg\n viewBox={`0 0 ${sizePx} ${sizePx}`}\n width={sizePx}\n height={sizePx}\n className={tx('avatar.frame', 'avatar__frame', { variant })}\n >\n <defs>\n <mask id={maskId}>\n {variant === 'circle' ? (\n <circle fill='white' cx='50%' cy='50%' r={r} />\n ) : (\n <rect\n fill='white'\n width={2 * r}\n height={2 * r}\n x={ringGap + ringWidth}\n y={ringGap + ringWidth}\n rx={rx}\n />\n )}\n </mask>\n </defs>\n {variant === 'circle' ? (\n <circle\n className={`avatarFrameFill${color ? '' : ' fill-[var(--surface-bg)]'}`}\n cx='50%'\n cy='50%'\n r={r}\n {...(color ? { fill: color } : {})}\n />\n ) : (\n <rect\n className='avatarFrameFill fill-[var(--surface-bg)]'\n x={ringGap + ringWidth}\n y={ringGap + ringWidth}\n width={2 * r}\n height={2 * r}\n rx={rx}\n />\n )}\n {children}\n {/* {variant === 'circle' ? (\n <circle\n className='avatarFrameStroke fill-transparent stroke-[var(--surface-text)]'\n strokeWidth={strokeWidth}\n fill='none'\n opacity={0.1}\n cx={'50%'}\n cy={'50%'}\n r={r - 0.5 * strokeWidth}\n />\n ) : (\n <rect\n className='avatarFrameStroke fill-transparent stroke-[var(--surface-text)]'\n strokeWidth={strokeWidth}\n opacity={0.1}\n fill='none'\n x={ringGap + ringWidth}\n y={ringGap + ringWidth}\n width={2 * r}\n height={2 * r}\n rx={rx}\n />\n )} */}\n </svg>\n <span\n role='none'\n className={tx('avatar.ring', 'avatar__ring', { size, variant, status, animation })}\n style={{ borderWidth: ringWidth + 'px' }}\n />\n </AvatarRootPrimitive>\n );\n },\n);\n\ntype AvatarLabelProps = ThemedClassName<Omit<ComponentPropsWithRef<typeof Primitive.span>, 'id'>> & {\n asChild?: boolean;\n srOnly?: boolean;\n};\n\nconst AvatarLabel = forwardRef<HTMLSpanElement, AvatarLabelProps>(\n ({ asChild, srOnly, classNames, ...props }, forwardedRef) => {\n const Root = asChild ? Slot : Primitive.span;\n const { tx } = useThemeContext();\n const { labelId } = useAvatarContext('AvatarLabel');\n return (\n <Root\n {...props}\n id={labelId}\n ref={forwardedRef}\n className={tx('avatar.label', 'avatar__label', { srOnly }, classNames)}\n />\n );\n },\n);\n\ntype AvatarDescriptionProps = ThemedClassName<Omit<ComponentPropsWithRef<typeof Primitive.span>, 'id'>> & {\n asChild?: boolean;\n srOnly?: boolean;\n};\n\nconst AvatarDescription = forwardRef<HTMLSpanElement, AvatarDescriptionProps>(\n ({ asChild, srOnly, classNames, ...props }, forwardedRef) => {\n const Root = asChild ? Slot : Primitive.span;\n const { tx } = useThemeContext();\n const { descriptionId } = useAvatarContext('AvatarDescription');\n return (\n <Root\n {...props}\n id={descriptionId}\n ref={forwardedRef}\n className={tx('avatar.description', 'avatar__description', { srOnly }, classNames)}\n />\n );\n },\n);\n\ntype AvatarMaskedImageProps = ComponentPropsWithRef<'image'>;\n\nconst AvatarMaskedImage = forwardRef<SVGImageElement, AvatarMaskedImageProps>((props, forwardedRef) => {\n const { maskId } = useAvatarContext('AvatarFallback');\n return (\n <image\n width='100%'\n height='100%'\n {...props}\n mask={`url(#${maskId})`}\n ref={forwardedRef}\n preserveAspectRatio='xMidYMid slice'\n />\n );\n});\n\ntype AvatarMaskedTextProps = PropsWithChildren<{ large?: boolean }>;\n\nconst AvatarMaskedText = (props: AvatarMaskedTextProps) => {\n const { maskId, size } = useAvatarContext('AvatarFallback');\n const { large } = props;\n const fontScale = (large ? 4 : 3) * (1 / 1.612);\n const { tx } = useThemeContext();\n return (\n <text\n x='50%'\n y='50%'\n className={tx('avatar.fallbackText', 'avatar__fallback-text')}\n textAnchor='middle'\n alignmentBaseline='central'\n fontSize={size === 'px' ? '200%' : size * fontScale}\n mask={`url(#${maskId})`}\n >\n {props.children}\n </text>\n );\n};\n\ntype AvatarImageProps = ComponentPropsWithRef<'image'> & {\n onLoadingStatusChange?: (status: ImageLoadingStatus) => void;\n};\n\nconst AvatarImage = forwardRef<SVGImageElement, AvatarImageProps>(\n ({ onLoadingStatusChange, ...props }, forwardedRef) => {\n const { size } = useAvatarContext('AvatarImage');\n const pxSize = size === 'px' ? 1 : size * 4;\n if (pxSize <= 20) {\n return null;\n }\n return (\n <AvatarFallbackPrimitive asChild>\n <AvatarMaskedImage {...props} ref={forwardedRef} />\n </AvatarFallbackPrimitive>\n );\n },\n);\n\ntype AvatarFallbackProps = ComponentPropsWithRef<'image'> & {\n delayMs?: number;\n text?: string;\n};\n\nconst AvatarFallback = forwardRef<SVGImageElement, AvatarFallbackProps>(({ delayMs, text, ...props }, forwardedRef) => {\n const isTextOnly = Boolean(text && /[0-9a-zA-Z]+/.test(text));\n const { size } = useAvatarContext('AvatarFallback');\n const numericSize = size === 'px' ? 1 : Number(size);\n return (\n <AvatarFallbackPrimitive delayMs={delayMs} asChild>\n <>\n {numericSize >= 6 && <AvatarMaskedImage {...props} ref={forwardedRef} />}\n {text && <AvatarMaskedText large={!isTextOnly}>{text.toLocaleUpperCase()}</AvatarMaskedText>}\n </>\n </AvatarFallbackPrimitive>\n );\n});\n\nconst getJdenticonHref = (value: string, size: Size) =>\n `data:image/svg+xml;utf8,${encodeURIComponent(toSvg(value, size === 'px' ? 1 : size * 4, { padding: 0 }))}`;\n\nconst useJdenticonHref = (value: string, size: Size) => {\n return useMemo(() => getJdenticonHref(value, size), [value]);\n};\n\nexport const Avatar = {\n Root: AvatarRoot,\n Frame: AvatarFrame,\n Image: AvatarImage,\n Fallback: AvatarFallback,\n Label: AvatarLabel,\n Description: AvatarDescription,\n};\n\nexport { useJdenticonHref, useAvatarContext, getJdenticonHref };\n\nexport type {\n AvatarStatus,\n AvatarVariant,\n AvatarAnimation,\n AvatarFrameProps,\n AvatarImageProps,\n AvatarFallbackProps,\n AvatarLabelProps,\n AvatarDescriptionProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useId } from '@dxos/react-hooks';\n\nimport { Avatar, type AvatarRootProps, useAvatarContext } from './Avatar';\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype AvatarGroupRootProps = Omit<AvatarRootProps, 'status' | 'maskId' | 'inGroup'> &\n ThemedClassName<ComponentPropsWithRef<'div'>>;\n\nconst AvatarGroupRoot = forwardRef<HTMLDivElement, AvatarGroupRootProps>(\n (\n {\n labelId: propsLabelId,\n descriptionId: propsDescriptionId,\n size,\n variant,\n children,\n classNames,\n }: AvatarGroupRootProps,\n forwardedRef,\n ) => {\n const { tx } = useThemeContext();\n const labelId = useId('avatar-group__label', propsLabelId);\n const descriptionId = useId('avatar-group__description', propsDescriptionId);\n return (\n <Avatar.Root {...{ labelId, descriptionId, size, variant, inGroup: true }}>\n <div\n role='group'\n className={tx('avatar.group', 'avatar-group', {}, classNames)}\n aria-labelledby={labelId}\n aria-describedby={descriptionId}\n ref={forwardedRef}\n >\n {children}\n </div>\n </Avatar.Root>\n );\n },\n);\n\ntype AvatarGroupItemRootProps = Omit<AvatarRootProps, 'labelId' | 'descriptionId' | 'inGroup'>;\n\nconst AvatarGroupItemRoot = ({ maskId, size, variant, status, children, ...rest }: AvatarGroupItemRootProps) => {\n const {\n labelId,\n descriptionId,\n size: contextSize,\n variant: contextVariant,\n } = useAvatarContext('AvatarGroupItemRoot');\n return (\n <Avatar.Root\n {...{\n labelId,\n descriptionId,\n maskId,\n status,\n size: size ?? contextSize,\n variant: variant ?? contextVariant,\n inGroup: true,\n ...rest,\n }}\n >\n {children}\n </Avatar.Root>\n );\n};\n\ntype AvatarGroupLabelProps = ThemedClassName<Omit<ComponentPropsWithRef<'span'>, 'id'>> & { srOnly?: boolean };\n\nconst AvatarGroupLabel = forwardRef<HTMLSpanElement, AvatarGroupLabelProps>(\n ({ srOnly, classNames, children, ...props }, forwardedRef) => {\n const { labelId, size } = useAvatarContext('AvatarGroupLabel');\n const { tx } = useThemeContext();\n return (\n <span\n {...props}\n id={labelId}\n className={tx('avatar.groupLabel', 'avatar-group__label', { srOnly, size }, classNames)}\n >\n {children}\n </span>\n );\n },\n);\n\ntype AvatarGroupDescriptionProps = ThemedClassName<Omit<ComponentPropsWithRef<'span'>, 'id'>> & { srOnly?: boolean };\n\nconst AvatarGroupDescription = forwardRef<HTMLSpanElement, AvatarGroupDescriptionProps>(\n ({ srOnly, classNames, children, ...props }, forwardedRef) => {\n const { descriptionId } = useAvatarContext('AvatarGroupDescription');\n const { tx } = useThemeContext();\n return (\n <span\n {...props}\n id={descriptionId}\n className={tx('avatar.groupDescription', 'avatar-group__description', { srOnly }, classNames)}\n >\n {children}\n </span>\n );\n },\n);\n\nexport const AvatarGroup = { Root: AvatarGroupRoot, Label: AvatarGroupLabel, Description: AvatarGroupDescription };\nexport const AvatarGroupItem = { Root: AvatarGroupItemRoot };\nexport type { AvatarGroupRootProps, AvatarGroupItemRootProps, AvatarGroupLabelProps, AvatarGroupDescriptionProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Dot } from '@phosphor-icons/react';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithoutRef, type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { Link, type LinkProps } from '../Link';\n\ntype BreadcrumbRootProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n 'aria-label': string;\n asChild?: boolean;\n};\n\nconst BreadcrumbRoot = forwardRef<HTMLDivElement, BreadcrumbRootProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root\n role='navigation'\n {...props}\n className={tx('breadcrumb.root', 'breadcrumb', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype BreadcrumbListProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.ol>> & { asChild?: boolean };\n\nconst BreadcrumbList = forwardRef<HTMLOListElement, BreadcrumbListProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.ol;\n return (\n <Root\n role='list'\n {...props}\n className={tx('breadcrumb.list', 'breadcrumb__list', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype BreadcrumbListItemProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.li>> & { asChild?: boolean };\n\nconst BreadcrumbListItem = forwardRef<HTMLLIElement, BreadcrumbListItemProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.li;\n return (\n <Root\n role='listitem'\n {...props}\n className={tx('breadcrumb.listItem', 'breadcrumb__list__item', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype BreadcrumbLinkProps = LinkProps;\n\nconst BreadcrumbLink = forwardRef<HTMLAnchorElement, BreadcrumbLinkProps>(({ asChild, ...props }, forwardedRef) => {\n const Root = asChild ? Slot : Link;\n return <Root {...props} ref={forwardedRef} />;\n});\n\ntype BreadcrumbCurrentProps = ThemedClassName<ComponentPropsWithRef<'h1'>> & { asChild?: boolean };\n\nconst BreadcrumbCurrent = forwardRef<HTMLHeadingElement, BreadcrumbCurrentProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : 'h1';\n return (\n <Root\n {...props}\n aria-current='page'\n className={tx('breadcrumb.current', 'breadcrumb__item__heading--current', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype BreadcrumbSeparatorProps = ThemedClassName<ComponentPropsWithoutRef<typeof Primitive.span>>;\n\nconst BreadcrumbSeparator = ({ children, classNames, ...props }: BreadcrumbSeparatorProps) => {\n const { tx } = useThemeContext();\n return (\n <Primitive.span\n role='separator'\n aria-hidden='true'\n {...props}\n className={tx('breadcrumb.separator', 'breadcrumb__separator', {}, classNames)}\n >\n {children ?? <Dot weight='bold' />}\n </Primitive.span>\n );\n};\n\nexport const Breadcrumb = {\n Root: BreadcrumbRoot,\n List: BreadcrumbList,\n ListItem: BreadcrumbListItem,\n Link: BreadcrumbLink,\n Current: BreadcrumbCurrent,\n Separator: BreadcrumbSeparator,\n};\n\nexport type {\n BreadcrumbRootProps,\n BreadcrumbListProps,\n BreadcrumbListItemProps,\n BreadcrumbLinkProps,\n BreadcrumbCurrentProps,\n BreadcrumbSeparatorProps,\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\nexport type LinkProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.a>> & {\n asChild?: boolean;\n};\n\nexport const Link = forwardRef<HTMLAnchorElement, LinkProps>(({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.a;\n return <Root {...props} className={tx('link.root', 'link', {}, classNames)} ref={forwardedRef} />;\n});\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { type Density, type Elevation } from '@dxos/react-ui-types';\n\nimport { useDensityContext, useElevationContext, useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ninterface ButtonProps extends ThemedClassName<ComponentPropsWithRef<typeof Primitive.button>> {\n variant?: 'default' | 'primary' | 'outline' | 'ghost';\n density?: Density;\n elevation?: Elevation;\n asChild?: boolean;\n}\n\ntype ButtonGroupContextValue = { inGroup?: boolean };\n\nconst BUTTON_GROUP_NAME = 'ButtonGroup';\nconst BUTTON_NAME = 'Button';\nconst [ButtonGroupProvider, useButtonGroupContext] = createContext<ButtonGroupContextValue>(BUTTON_GROUP_NAME, {\n inGroup: false,\n});\n\nconst Button = forwardRef<HTMLButtonElement, ButtonProps>(\n (\n { classNames, children, density: propsDensity, elevation: propsElevation, variant = 'default', asChild, ...props },\n ref,\n ) => {\n const { inGroup } = useButtonGroupContext(BUTTON_NAME);\n const { tx } = useThemeContext();\n const elevation = useElevationContext(propsElevation);\n const density = useDensityContext(propsDensity);\n const Root = asChild ? Slot : Primitive.button;\n return (\n <Root\n ref={ref}\n {...props}\n className={tx(\n 'button.root',\n 'button',\n {\n variant,\n inGroup,\n disabled: props.disabled,\n density,\n elevation,\n },\n classNames,\n )}\n {...(props.disabled && { disabled: true })}\n >\n {children}\n </Root>\n );\n },\n);\n\nButton.displayName = BUTTON_NAME;\n\ntype ButtonGroupProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n elevation?: Elevation;\n asChild?: boolean;\n};\n\nconst ButtonGroup = forwardRef<HTMLDivElement, ButtonGroupProps>(\n ({ children, elevation: propsElevation, classNames, asChild, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const elevation = useElevationContext(propsElevation);\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root\n role='none'\n {...props}\n className={tx('button.group', 'button-group', { elevation }, classNames)}\n ref={forwardedRef}\n >\n <ButtonGroupProvider inGroup>{children}</ButtonGroupProvider>\n </Root>\n );\n },\n);\n\nButtonGroup.displayName = BUTTON_GROUP_NAME;\n\nexport { Button, ButtonGroup, BUTTON_GROUP_NAME, useButtonGroupContext };\n\nexport type { ButtonProps, ButtonGroupProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Toggle as TogglePrimitive, type ToggleProps as TogglePrimitiveProps } from '@radix-ui/react-toggle';\nimport React, { forwardRef } from 'react';\n\nimport { Button, type ButtonProps } from './Button';\n\ntype ToggleProps = Omit<TogglePrimitiveProps, 'asChild'> & ButtonProps;\n\nconst Toggle = forwardRef<HTMLButtonElement, ToggleProps>(\n ({ defaultPressed, pressed, onPressedChange, ...props }, forwardedRef) => {\n return (\n <TogglePrimitive {...{ defaultPressed, pressed, onPressedChange }} asChild>\n <Button {...props} ref={forwardedRef} />\n </TogglePrimitive>\n );\n },\n);\n\nexport { Toggle };\nexport type { ToggleProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n ToggleGroup as ToggleGroupPrimitive,\n type ToggleGroupSingleProps,\n type ToggleGroupMultipleProps,\n type ToggleGroupItemProps as ToggleGroupItemPrimitiveProps,\n ToggleGroupItem as ToggleGroupItemPrimitive,\n} from '@radix-ui/react-toggle-group';\nimport React, { forwardRef } from 'react';\n\nimport { Button, ButtonGroup, type ButtonGroupProps, type ButtonProps } from './Button';\n\ntype ToggleGroupProps = Omit<ToggleGroupSingleProps, 'className'> | Omit<ToggleGroupMultipleProps, 'className'>;\n\nconst ToggleGroup = forwardRef<HTMLDivElement, ToggleGroupProps & ButtonGroupProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n return (\n <ToggleGroupPrimitive {...props} asChild>\n <ButtonGroup {...{ classNames, children }} ref={forwardedRef} />\n </ToggleGroupPrimitive>\n );\n },\n);\n\ntype ToggleGroupItemProps = Omit<ToggleGroupItemPrimitiveProps, 'className'> & ButtonProps;\n\nconst ToggleGroupItem = forwardRef<HTMLButtonElement, ToggleGroupItemProps>(\n ({ variant, elevation, density, classNames, children, ...props }, forwardedRef) => {\n return (\n <ToggleGroupItemPrimitive {...props} asChild>\n <Button {...{ variant, elevation, density, classNames, children }} ref={forwardedRef} />\n </ToggleGroupItemPrimitive>\n );\n },\n);\n\nexport { ToggleGroup, ToggleGroupItem };\nexport type { ToggleGroupProps, ToggleGroupItemProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport {\n type DialogProps as DialogRootPrimitiveProps,\n Root as DialogRootPrimitive,\n DialogTrigger as DialogTriggerPrimitive,\n type DialogTriggerProps as DialogTriggerPrimitiveProps,\n DialogPortal as DialogPortalPrimitive,\n type DialogPortalProps as DialogPortalPrimitiveProps,\n DialogOverlay as DialogOverlayPrimitive,\n type DialogOverlayProps as DialogOverlayPrimitiveProps,\n DialogTitle as DialogTitlePrimitive,\n type DialogTitleProps as DialogTitlePrimitiveProps,\n DialogDescription as DialogDescriptionPrimitive,\n type DialogDescriptionProps as DialogDescriptionPrimitiveProps,\n DialogClose as DialogClosePrimitive,\n type DialogCloseProps as DialogClosePrimitiveProps,\n DialogContent as DialogContentPrimitive,\n type DialogContentProps as DialogContentPrimitiveProps,\n} from '@radix-ui/react-dialog';\nimport React, { forwardRef, type ForwardRefExoticComponent, type FunctionComponent } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype DialogRootProps = DialogRootPrimitiveProps;\n\nconst DialogRoot: FunctionComponent<DialogRootProps> = DialogRootPrimitive;\n\ntype DialogTriggerProps = DialogTriggerPrimitiveProps;\n\nconst DialogTrigger: FunctionComponent<DialogTriggerProps> = DialogTriggerPrimitive;\n\ntype DialogPortalProps = DialogPortalPrimitiveProps;\n\nconst DialogPortal: FunctionComponent<DialogPortalProps> = DialogPortalPrimitive;\n\ntype DialogTitleProps = ThemedClassName<DialogTitlePrimitiveProps> & { srOnly?: boolean };\n\nconst DialogTitle: ForwardRefExoticComponent<DialogTitleProps> = forwardRef<HTMLHeadingElement, DialogTitleProps>(\n ({ classNames, srOnly, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DialogTitlePrimitive\n {...props}\n className={tx('dialog.title', 'dialog__title', { srOnly }, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype DialogDescriptionProps = ThemedClassName<DialogDescriptionPrimitiveProps> & { srOnly?: boolean };\n\nconst DialogDescription: ForwardRefExoticComponent<DialogTitleProps> = forwardRef<\n HTMLParagraphElement,\n DialogDescriptionProps\n>(({ classNames, srOnly, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DialogDescriptionPrimitive\n {...props}\n className={tx('dialog.description', 'dialog__description', { srOnly }, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype DialogCloseProps = DialogClosePrimitiveProps;\n\nconst DialogClose: FunctionComponent<DialogCloseProps> = DialogClosePrimitive;\n\ntype OverlayLayoutContextValue = { inOverlayLayout?: boolean };\nconst DIALOG_OVERLAY_NAME = 'DialogOverlay';\nconst DIALOG_CONTENT_NAME = 'DialogContent';\nconst [OverlayLayoutProvider, useOverlayLayoutContext] = createContext<OverlayLayoutContextValue>(DIALOG_OVERLAY_NAME, {\n inOverlayLayout: false,\n});\n\ntype DialogOverlayProps = ThemedClassName<DialogOverlayPrimitiveProps>;\n\nconst DialogOverlay: ForwardRefExoticComponent<DialogOverlayProps> = forwardRef<HTMLDivElement, DialogOverlayProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DialogOverlayPrimitive\n {...props}\n className={tx('dialog.overlay', 'dialog__overlay', {}, classNames)}\n ref={forwardedRef}\n >\n <OverlayLayoutProvider inOverlayLayout>{children}</OverlayLayoutProvider>\n </DialogOverlayPrimitive>\n );\n },\n);\n\nDialogOverlay.displayName = DIALOG_OVERLAY_NAME;\n\ntype DialogContentProps = ThemedClassName<DialogContentPrimitiveProps>;\n\nconst DialogContent: ForwardRefExoticComponent<DialogContentProps> = forwardRef<HTMLDivElement, DialogContentProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const { inOverlayLayout } = useOverlayLayoutContext(DIALOG_CONTENT_NAME);\n return (\n <DialogContentPrimitive\n {...props}\n className={tx('dialog.content', 'dialog', { inOverlayLayout }, classNames)}\n ref={forwardedRef}\n >\n <ElevationProvider elevation='chrome'>{children}</ElevationProvider>\n </DialogContentPrimitive>\n );\n },\n);\n\nDialogContent.displayName = DIALOG_CONTENT_NAME;\n\nexport const Dialog = {\n Root: DialogRoot,\n Trigger: DialogTrigger,\n Portal: DialogPortal,\n Overlay: DialogOverlay,\n Content: DialogContent,\n Title: DialogTitle,\n Description: DialogDescription,\n Close: DialogClose,\n};\n\nexport type {\n DialogRootProps,\n DialogTriggerProps,\n DialogPortalProps,\n DialogOverlayProps,\n DialogContentProps,\n DialogTitleProps,\n DialogDescriptionProps,\n DialogCloseProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { createContext, type PropsWithChildren } from 'react';\n\nimport { type Elevation } from '@dxos/react-ui-types';\n\nexport interface ElevationContextValue {\n elevation?: Elevation;\n}\n\nexport type ElevationProviderProps = PropsWithChildren<{\n elevation?: Elevation;\n}>;\n\nexport const ElevationContext = createContext<ElevationContextValue>({ elevation: 'base' });\n\nexport const ElevationProvider = ({ elevation, children }: ElevationProviderProps) => (\n <ElevationContext.Provider value={{ elevation }}>{children}</ElevationContext.Provider>\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n type AlertDialogProps as AlertDialogRootPrimitiveProps,\n Root as AlertDialogRootPrimitive,\n AlertDialogTrigger as AlertDialogTriggerPrimitive,\n type AlertDialogTriggerProps as AlertDialogTriggerPrimitiveProps,\n AlertDialogPortal as AlertDialogPortalPrimitive,\n type AlertDialogPortalProps as AlertDialogPortalPrimitiveProps,\n AlertDialogOverlay as AlertDialogOverlayPrimitive,\n type AlertDialogOverlayProps as AlertDialogOverlayPrimitiveProps,\n AlertDialogTitle as AlertDialogTitlePrimitive,\n type AlertDialogTitleProps as AlertDialogTitlePrimitiveProps,\n AlertDialogDescription as AlertDialogDescriptionPrimitive,\n type AlertDialogDescriptionProps as AlertDialogDescriptionPrimitiveProps,\n AlertDialogAction as AlertDialogActionPrimitive,\n type AlertDialogActionProps as AlertDialogActionPrimitiveProps,\n AlertDialogCancel as AlertDialogCancelPrimitive,\n type AlertDialogCancelProps as AlertDialogCancelPrimitiveProps,\n AlertDialogContent as AlertDialogContentPrimitive,\n type AlertDialogContentProps as AlertDialogContentPrimitiveProps,\n} from '@radix-ui/react-alert-dialog';\nimport { createContext } from '@radix-ui/react-context';\nimport React, { forwardRef, type ForwardRefExoticComponent, type FunctionComponent } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype AlertDialogRootProps = AlertDialogRootPrimitiveProps;\n\nconst AlertDialogRoot: FunctionComponent<AlertDialogRootProps> = AlertDialogRootPrimitive;\n\ntype AlertDialogTriggerProps = AlertDialogTriggerPrimitiveProps;\n\nconst AlertDialogTrigger: FunctionComponent<AlertDialogTriggerProps> = AlertDialogTriggerPrimitive;\n\ntype AlertDialogPortalProps = AlertDialogPortalPrimitiveProps;\n\nconst AlertDialogPortal: FunctionComponent<AlertDialogPortalProps> = AlertDialogPortalPrimitive;\n\ntype AlertDialogCancelProps = AlertDialogCancelPrimitiveProps;\n\nconst AlertDialogCancel: FunctionComponent<AlertDialogCancelProps> = AlertDialogCancelPrimitive;\n\ntype AlertDialogActionProps = AlertDialogActionPrimitiveProps;\n\nconst AlertDialogAction: FunctionComponent<AlertDialogActionProps> = AlertDialogActionPrimitive;\n\ntype AlertDialogTitleProps = ThemedClassName<AlertDialogTitlePrimitiveProps> & { srOnly?: boolean };\n\nconst AlertDialogTitle: ForwardRefExoticComponent<AlertDialogTitleProps> = forwardRef<\n HTMLHeadingElement,\n AlertDialogTitleProps\n>(({ classNames, srOnly, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <AlertDialogTitlePrimitive\n {...props}\n className={tx('dialog.title', 'dialog--alert__title', { srOnly }, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype AlertDialogDescriptionProps = ThemedClassName<AlertDialogDescriptionPrimitiveProps> & { srOnly?: boolean };\n\nconst AlertDialogDescription: ForwardRefExoticComponent<AlertDialogTitleProps> = forwardRef<\n HTMLParagraphElement,\n AlertDialogDescriptionProps\n>(({ classNames, srOnly, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <AlertDialogDescriptionPrimitive\n {...props}\n className={tx('dialog.description', 'dialog--alert__description', { srOnly }, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype OverlayLayoutContextValue = { inOverlayLayout?: boolean };\nconst ALERT_DIALOG_OVERLAY_NAME = 'AlertDialogOverlay';\nconst ALERT_DIALOG_CONTENT_NAME = 'AlertDialogContent';\nconst [OverlayLayoutProvider, useOverlayLayoutContext] = createContext<OverlayLayoutContextValue>(\n ALERT_DIALOG_OVERLAY_NAME,\n {\n inOverlayLayout: false,\n },\n);\n\ntype AlertDialogOverlayProps = ThemedClassName<AlertDialogOverlayPrimitiveProps>;\n\nconst AlertDialogOverlay: ForwardRefExoticComponent<AlertDialogOverlayProps> = forwardRef<\n HTMLDivElement,\n AlertDialogOverlayProps\n>(({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <AlertDialogOverlayPrimitive\n {...props}\n className={tx('dialog.overlay', 'dialog--alert__overlay', {}, classNames)}\n ref={forwardedRef}\n >\n <OverlayLayoutProvider inOverlayLayout>{children}</OverlayLayoutProvider>\n </AlertDialogOverlayPrimitive>\n );\n});\n\nAlertDialogOverlay.displayName = ALERT_DIALOG_OVERLAY_NAME;\n\ntype AlertDialogContentProps = ThemedClassName<AlertDialogContentPrimitiveProps>;\n\nconst AlertDialogContent: ForwardRefExoticComponent<AlertDialogContentProps> = forwardRef<\n HTMLDivElement,\n AlertDialogContentProps\n>(({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const { inOverlayLayout } = useOverlayLayoutContext(ALERT_DIALOG_CONTENT_NAME);\n return (\n <AlertDialogContentPrimitive\n {...props}\n className={tx('dialog.content', 'dialog--alert', { inOverlayLayout }, classNames)}\n ref={forwardedRef}\n >\n <ElevationProvider elevation='chrome'>{children}</ElevationProvider>\n </AlertDialogContentPrimitive>\n );\n});\n\nAlertDialogContent.displayName = ALERT_DIALOG_CONTENT_NAME;\n\nexport const AlertDialog = {\n Root: AlertDialogRoot,\n Trigger: AlertDialogTrigger,\n Portal: AlertDialogPortal,\n Overlay: AlertDialogOverlay,\n Content: AlertDialogContent,\n Title: AlertDialogTitle,\n Description: AlertDialogDescription,\n Cancel: AlertDialogCancel,\n Action: AlertDialogAction,\n};\n\nexport type {\n AlertDialogRootProps,\n AlertDialogTriggerProps,\n AlertDialogPortalProps,\n AlertDialogOverlayProps,\n AlertDialogContentProps,\n AlertDialogTitleProps,\n AlertDialogDescriptionProps,\n AlertDialogCancelProps,\n AlertDialogActionProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype ContextMenuRootProps = ContextMenuPrimitive.ContextMenuProps;\n\nconst ContextMenuRoot = ContextMenuPrimitive.ContextMenu;\n\ntype ContextMenuTriggerProps = ContextMenuPrimitive.ContextMenuTriggerProps;\n\nconst ContextMenuTrigger = ContextMenuPrimitive.Trigger;\n\ntype ContextMenuPortalProps = ContextMenuPrimitive.ContextMenuPortalProps;\n\nconst ContextMenuPortal = ContextMenuPrimitive.Portal;\n\ntype ContextMenuContentProps = ThemedClassName<ContextMenuPrimitive.ContextMenuContentProps> & {\n constrainBlockSize?: boolean;\n};\n\nconst ContextMenuContent = forwardRef<HTMLDivElement, ContextMenuContentProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.Content\n collisionPadding={8}\n {...props}\n className={tx('menu.content', 'menu', {}, classNames)}\n ref={forwardedRef}\n >\n <ElevationProvider elevation='chrome'>{children}</ElevationProvider>\n </ContextMenuPrimitive.Content>\n );\n },\n);\n\ntype ContextMenuViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n asChild?: boolean;\n};\n\nconst ContextMenuViewport = forwardRef<HTMLDivElement, ContextMenuViewportProps>(\n ({ classNames, asChild, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root {...props} className={tx('menu.viewport', 'menu__viewport', {}, classNames)} ref={forwardedRef}>\n {children}\n </Root>\n );\n },\n);\n\ntype ContextMenuArrowProps = ThemedClassName<ContextMenuPrimitive.ContextMenuArrowProps>;\n\nconst ContextMenuArrow = forwardRef<SVGSVGElement, ContextMenuArrowProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.Arrow\n {...props}\n className={tx('menu.arrow', 'menu__arrow', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype ContextMenuGroupProps = ContextMenuPrimitive.ContextMenuGroupProps;\n\nconst ContextMenuGroup = ContextMenuPrimitive.Group;\n\ntype ContextMenuItemIndicatorProps = ContextMenuPrimitive.ContextMenuItemIndicatorProps;\n\nconst ContextMenuItemIndicator = ContextMenuPrimitive.ItemIndicator;\n\ntype ContextMenuItemProps = ThemedClassName<ContextMenuPrimitive.ContextMenuItemProps>;\n\nconst ContextMenuItem = forwardRef<HTMLDivElement, ContextMenuItemProps>(\n ({ classNames, ...props }: ContextMenuItemProps, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.Item\n {...props}\n className={tx('menu.item', 'menu__item', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype ContextMenuCheckboxItemProps = ThemedClassName<ContextMenuPrimitive.ContextMenuCheckboxItemProps>;\n\nconst ContextMenuCheckboxItem = forwardRef<HTMLDivElement, ContextMenuCheckboxItemProps>(\n ({ classNames, ...props }: ContextMenuItemProps, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.CheckboxItem\n {...props}\n className={tx('menu.item', 'menu__item--checkbox', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype ContextMenuSeparatorProps = ThemedClassName<ContextMenuPrimitive.ContextMenuSeparatorProps>;\n\nconst ContextMenuSeparator = forwardRef<HTMLDivElement, ContextMenuSeparatorProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.Separator\n {...props}\n className={tx('menu.separator', 'menu__item', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype ContextMenuGroupLabelProps = ThemedClassName<ContextMenuPrimitive.ContextMenuLabelProps>;\n\nconst ContextMenuGroupLabel = forwardRef<HTMLDivElement, ContextMenuGroupLabelProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ContextMenuPrimitive.Label\n {...props}\n className={tx('menu.groupLabel', 'menu__group__label', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\nexport const ContextMenu = {\n Root: ContextMenuRoot,\n Trigger: ContextMenuTrigger,\n Portal: ContextMenuPortal,\n Content: ContextMenuContent,\n Viewport: ContextMenuViewport,\n Arrow: ContextMenuArrow,\n Group: ContextMenuGroup,\n Item: ContextMenuItem,\n CheckboxItem: ContextMenuCheckboxItem,\n ItemIndicator: ContextMenuItemIndicator,\n Separator: ContextMenuSeparator,\n GroupLabel: ContextMenuGroupLabel,\n};\n\nexport type {\n ContextMenuRootProps,\n ContextMenuTriggerProps,\n ContextMenuPortalProps,\n ContextMenuContentProps,\n ContextMenuViewportProps,\n ContextMenuArrowProps,\n ContextMenuGroupProps,\n ContextMenuItemProps,\n ContextMenuCheckboxItemProps,\n ContextMenuItemIndicatorProps,\n ContextMenuSeparatorProps,\n ContextMenuGroupLabelProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype DropdownMenuRootProps = DropdownMenuPrimitive.DropdownMenuProps;\n\nconst DropdownMenuRoot = DropdownMenuPrimitive.DropdownMenu;\n\ntype DropdownMenuTriggerProps = DropdownMenuPrimitive.DropdownMenuTriggerProps;\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;\n\ntype DropdownMenuPortalProps = DropdownMenuPrimitive.DropdownMenuPortalProps;\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal;\n\ntype DropdownMenuContentProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuContentProps> & {\n constrainBlockSize?: boolean;\n};\n\nconst DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuContentProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.Content\n sideOffset={4}\n collisionPadding={8}\n {...props}\n className={tx('menu.content', 'menu', {}, classNames)}\n ref={forwardedRef}\n >\n <ElevationProvider elevation='chrome'>{children}</ElevationProvider>\n </DropdownMenuPrimitive.Content>\n );\n },\n);\n\ntype DropdownMenuViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n asChild?: boolean;\n};\n\nconst DropdownMenuViewport = forwardRef<HTMLDivElement, DropdownMenuViewportProps>(\n ({ classNames, asChild, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root {...props} className={tx('menu.viewport', 'menu__viewport', {}, classNames)} ref={forwardedRef}>\n {children}\n </Root>\n );\n },\n);\n\ntype DropdownMenuArrowProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuArrowProps>;\n\nconst DropdownMenuArrow = forwardRef<SVGSVGElement, DropdownMenuArrowProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.Arrow\n {...props}\n className={tx('menu.arrow', 'menu__arrow', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype DropdownMenuGroupProps = DropdownMenuPrimitive.DropdownMenuGroupProps;\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group;\n\ntype DropdownMenuItemIndicatorProps = DropdownMenuPrimitive.DropdownMenuItemIndicatorProps;\n\nconst DropdownMenuItemIndicator = DropdownMenuPrimitive.ItemIndicator;\n\ntype DropdownMenuItemProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuItemProps>;\n\nconst DropdownMenuItem = forwardRef<HTMLDivElement, DropdownMenuItemProps>(\n ({ classNames, ...props }: DropdownMenuItemProps, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.Item\n {...props}\n className={tx('menu.item', 'menu__item', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype DropdownMenuCheckboxItemProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps>;\n\nconst DropdownMenuCheckboxItem = forwardRef<HTMLDivElement, DropdownMenuCheckboxItemProps>(\n ({ classNames, ...props }: DropdownMenuItemProps, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.CheckboxItem\n {...props}\n className={tx('menu.item', 'menu__item--checkbox', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype DropdownMenuSeparatorProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuSeparatorProps>;\n\nconst DropdownMenuSeparator = forwardRef<HTMLDivElement, DropdownMenuSeparatorProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.Separator\n {...props}\n className={tx('menu.separator', 'menu__item', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype DropdownMenuGroupLabelProps = ThemedClassName<DropdownMenuPrimitive.DropdownMenuLabelProps>;\n\nconst DropdownMenuGroupLabel = forwardRef<HTMLDivElement, DropdownMenuGroupLabelProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DropdownMenuPrimitive.Label\n {...props}\n className={tx('menu.groupLabel', 'menu__group__label', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\nexport const DropdownMenu = {\n Root: DropdownMenuRoot,\n Trigger: DropdownMenuTrigger,\n Portal: DropdownMenuPortal,\n Content: DropdownMenuContent,\n Viewport: DropdownMenuViewport,\n Arrow: DropdownMenuArrow,\n Group: DropdownMenuGroup,\n Item: DropdownMenuItem,\n CheckboxItem: DropdownMenuCheckboxItem,\n ItemIndicator: DropdownMenuItemIndicator,\n Separator: DropdownMenuSeparator,\n GroupLabel: DropdownMenuGroupLabel,\n};\n\nexport type {\n DropdownMenuRootProps,\n DropdownMenuTriggerProps,\n DropdownMenuPortalProps,\n DropdownMenuContentProps,\n DropdownMenuViewportProps,\n DropdownMenuArrowProps,\n DropdownMenuGroupProps,\n DropdownMenuItemProps,\n DropdownMenuCheckboxItemProps,\n DropdownMenuItemIndicatorProps,\n DropdownMenuSeparatorProps,\n DropdownMenuGroupLabelProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Check, type IconWeight, Minus } from '@phosphor-icons/react';\nimport {\n Root as CheckboxPrimitive,\n type CheckboxProps as CheckboxPrimitiveProps,\n Indicator as CheckboxIndicatorPrimitive,\n} from '@radix-ui/react-checkbox';\nimport {\n Root as SwitchPrimitive,\n Thumb as SwitchThumbPrimitive,\n type SwitchProps as SwitchPrimitiveProps,\n} from '@radix-ui/react-switch';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport React, { forwardRef, type ForwardRefExoticComponent, Fragment, useCallback } from 'react';\n\nimport {\n InputRoot,\n type InputRootProps,\n PinInput as PinInputPrimitive,\n type PinInputProps as PinInputPrimitiveProps,\n TextInput as TextInputPrimitive,\n type TextInputProps as TextInputPrimitiveProps,\n TextArea as TextAreaPrimitive,\n type TextAreaProps as TextAreaPrimitiveProps,\n useInputContext,\n INPUT_NAME,\n type InputScopedProps,\n Description as DescriptionPrimitive,\n DescriptionAndValidation as DescriptionAndValidationPrimitive,\n type DescriptionAndValidationProps as DescriptionAndValidationPrimitiveProps,\n type DescriptionProps as DescriptionPrimitiveProps,\n Label as LabelPrimitive,\n type LabelProps as LabelPrimitiveProps,\n Validation as ValidationPrimitive,\n type ValidationProps as ValidationPrimitiveProps,\n} from '@dxos/react-input';\nimport { type Density, type Elevation, type ClassNameValue, type Size } from '@dxos/react-ui-types';\n\nimport { useDensityContext, useElevationContext, useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype InputVariant = 'default' | 'subdued';\n\ntype InputSharedProps = Partial<{ density: Density; elevation: Elevation; variant: InputVariant }>;\n\ntype LabelProps = ThemedClassName<LabelPrimitiveProps> & { srOnly?: boolean };\n\nconst Label = forwardRef<HTMLLabelElement, LabelProps>(({ srOnly, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <LabelPrimitive {...props} className={tx('input.label', 'input__label', { srOnly }, classNames)} ref={forwardedRef}>\n {children}\n </LabelPrimitive>\n );\n});\n\ntype DescriptionProps = ThemedClassName<DescriptionPrimitiveProps> & { srOnly?: boolean };\n\nconst Description = forwardRef<HTMLSpanElement, DescriptionProps>(\n ({ srOnly, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DescriptionPrimitive\n {...props}\n className={tx('input.description', 'input__description', { srOnly }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </DescriptionPrimitive>\n );\n },\n);\n\ntype ValidationProps = ThemedClassName<ValidationPrimitiveProps> & { srOnly?: boolean };\n\nconst Validation = forwardRef<HTMLSpanElement, InputScopedProps<ValidationProps>>(\n ({ __inputScope, srOnly, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const { validationValence } = useInputContext(INPUT_NAME, __inputScope);\n return (\n <ValidationPrimitive\n {...props}\n className={tx(\n 'input.validation',\n `input__validation-message input__validation-message--${validationValence}`,\n { srOnly, validationValence },\n classNames,\n )}\n ref={forwardedRef}\n >\n {children}\n </ValidationPrimitive>\n );\n },\n);\n\ntype DescriptionAndValidationProps = ThemedClassName<DescriptionAndValidationPrimitiveProps> & { srOnly?: boolean };\n\nconst DescriptionAndValidation = forwardRef<HTMLParagraphElement, DescriptionAndValidationProps>(\n ({ srOnly, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <DescriptionAndValidationPrimitive\n {...props}\n className={tx('input.descriptionAndValidation', 'input__description-and-validation', { srOnly }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </DescriptionAndValidationPrimitive>\n );\n },\n);\n\ntype PinInputProps = InputSharedProps &\n Omit<PinInputPrimitiveProps, 'segmentClassName' | 'inputClassName'> & {\n segmentClassName?: ClassNameValue;\n inputClassName?: ClassNameValue;\n };\n\nconst PinInput = forwardRef<HTMLInputElement, PinInputProps>(\n (\n {\n density: propsDensity,\n elevation: propsElevation,\n segmentClassName: propsSegmentClassName,\n inputClassName,\n variant,\n ...props\n },\n forwardedRef,\n ) => {\n const { hasIosKeyboard } = useThemeContext();\n const { tx } = useThemeContext();\n const density = useDensityContext(propsDensity);\n const elevation = useElevationContext(propsElevation);\n\n const segmentClassName = useCallback(\n ({ focused, validationValence }: Parameters<Exclude<PinInputPrimitiveProps['segmentClassName'], undefined>>[0]) =>\n tx(\n 'input.input',\n 'input--pin-segment',\n {\n variant: 'static',\n focused,\n disabled: props.disabled,\n density,\n elevation,\n validationValence,\n },\n propsSegmentClassName,\n ),\n [tx, props.disabled, elevation, propsElevation, density],\n );\n return (\n <PinInputPrimitive\n {...{\n ...props,\n segmentClassName,\n ...(props.autoFocus && !hasIosKeyboard && { autoFocus: true }),\n }}\n inputClassName={tx('input.inputWithSegments', 'input input--pin', { disabled: props.disabled }, inputClassName)}\n ref={forwardedRef}\n />\n );\n },\n);\n\n// TODO(burdon): Implement inline icon within button: e.g., https://www.radix-ui.com/themes/playground#text-field\n\ntype TextInputProps = InputSharedProps & ThemedClassName<TextInputPrimitiveProps>;\n\nconst TextInput = forwardRef<HTMLInputElement, InputScopedProps<TextInputProps>>(\n ({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {\n const { hasIosKeyboard } = useThemeContext();\n const themeContextValue = useThemeContext();\n const density = useDensityContext(propsDensity);\n const elevation = useElevationContext(propsElevation);\n const { validationValence } = useInputContext(INPUT_NAME, __inputScope);\n\n const { tx } = themeContextValue;\n\n return (\n <TextInputPrimitive\n {...props}\n className={tx(\n 'input.input',\n 'input',\n {\n variant,\n disabled: props.disabled,\n density,\n elevation,\n validationValence,\n },\n classNames,\n )}\n {...(props.autoFocus && !hasIosKeyboard && { autoFocus: true })}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype TextAreaProps = InputSharedProps & ThemedClassName<TextAreaPrimitiveProps>;\n\nconst TextArea = forwardRef<HTMLTextAreaElement, InputScopedProps<TextAreaProps>>(\n ({ __inputScope, classNames, density: propsDensity, elevation: propsElevation, variant, ...props }, forwardedRef) => {\n const { hasIosKeyboard } = useThemeContext();\n const { tx } = useThemeContext();\n const density = useDensityContext(propsDensity);\n const elevation = useElevationContext(propsElevation);\n const { validationValence } = useInputContext(INPUT_NAME, __inputScope);\n\n return (\n <TextAreaPrimitive\n {...props}\n className={tx(\n 'input.input',\n 'input--text-area',\n {\n variant,\n disabled: props.disabled,\n density,\n elevation,\n validationValence,\n },\n classNames,\n )}\n {...(props.autoFocus && !hasIosKeyboard && { autoFocus: true })}\n ref={forwardedRef}\n />\n );\n },\n);\n\n// TODO(burdon): Provide inline checkbox label left/right.\n\ntype CheckboxProps = ThemedClassName<Omit<CheckboxPrimitiveProps, 'children'>> & { size?: Size; weight?: IconWeight };\n\nconst Checkbox: ForwardRefExoticComponent<CheckboxProps> = forwardRef<\n HTMLButtonElement,\n InputScopedProps<CheckboxProps>\n>(\n (\n {\n __inputScope,\n checked: propsChecked,\n defaultChecked: propsDefaultChecked,\n onCheckedChange: propsOnCheckedChange,\n size,\n weight = 'bold',\n classNames,\n ...props\n },\n forwardedRef,\n ) => {\n const [checked, onCheckedChange] = useControllableState({\n prop: propsChecked,\n defaultProp: propsDefaultChecked,\n onChange: propsOnCheckedChange,\n });\n const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);\n const { tx } = useThemeContext();\n const Icon = checked === 'indeterminate' ? Minus : checked ? Check : Fragment;\n return (\n <CheckboxPrimitive\n {...{\n ...props,\n checked,\n onCheckedChange,\n id,\n 'aria-describedby': descriptionId,\n ...(validationValence === 'error' && {\n 'aria-invalid': 'true' as const,\n 'aria-errormessage': errorMessageId,\n }),\n className: tx('input.checkbox', 'input--checkbox', { size }, 'shrink-0', classNames),\n }}\n ref={forwardedRef}\n >\n <CheckboxIndicatorPrimitive asChild>\n <Icon\n {...(checked && {\n weight,\n className: tx('input.checkboxIndicator', 'input--checkbox__indicator', { size }),\n })}\n />\n </CheckboxIndicatorPrimitive>\n </CheckboxPrimitive>\n );\n },\n);\n\ntype SwitchProps = ThemedClassName<Omit<SwitchPrimitiveProps, 'children'>> & { size?: Size };\n\nconst Switch: ForwardRefExoticComponent<SwitchProps> = forwardRef<HTMLButtonElement, InputScopedProps<SwitchProps>>(\n (\n {\n __inputScope,\n checked: propsChecked,\n defaultChecked: propsDefaultChecked,\n onCheckedChange: propsOnCheckedChange,\n size = 5,\n classNames,\n ...props\n },\n forwardedRef,\n ) => {\n const { tx } = useThemeContext();\n\n const [checked, onCheckedChange] = useControllableState({\n prop: propsChecked,\n defaultProp: propsDefaultChecked,\n onChange: propsOnCheckedChange,\n });\n\n const { id, validationValence, descriptionId, errorMessageId } = useInputContext(INPUT_NAME, __inputScope);\n return (\n <SwitchPrimitive\n {...{\n ...props,\n checked,\n onCheckedChange,\n id,\n 'aria-describedby': descriptionId,\n ...(validationValence === 'error' && {\n 'aria-invalid': 'true' as const,\n 'aria-errormessage': errorMessageId,\n }),\n className: tx('input.switch', 'input--switch', { size }, classNames),\n }}\n ref={forwardedRef}\n >\n {/* TODO(wittjosiah): Embed icons/text for on/off states.\n e.g., https://codepen.io/alvarotrigo/pen/oNoJePo (#13) */}\n <SwitchThumbPrimitive className={tx('input.switchThumb', 'input--switch__thumb', { size })} />\n </SwitchPrimitive>\n );\n },\n);\n\nexport const Input = {\n Root: InputRoot,\n PinInput,\n TextInput,\n TextArea,\n Checkbox,\n Switch,\n Label,\n Description,\n Validation,\n DescriptionAndValidation,\n};\n\nexport type {\n InputVariant,\n InputRootProps,\n PinInputProps,\n TextInputProps,\n TextAreaProps,\n CheckboxProps,\n SwitchProps,\n LabelProps,\n DescriptionProps,\n ValidationProps,\n DescriptionAndValidationProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { CaretDown, CaretRight } from '@phosphor-icons/react';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithoutRef, type FC, forwardRef, type ForwardRefExoticComponent } from 'react';\n\nimport {\n List as ListPrimitive,\n type ListProps as ListPrimitiveProps,\n type ListScopedProps,\n ListItemHeading as ListPrimitiveItemHeading,\n type ListItemHeadingProps as ListPrimitiveItemHeadingProps,\n ListItemOpenTrigger as ListPrimitiveItemOpenTrigger,\n type ListItemOpenTriggerProps as ListPrimitiveItemOpenTriggerProps,\n ListItemCollapsibleContent,\n type ListItemCollapsibleContentProps,\n ListItem as ListPrimitiveItem,\n type ListItemProps as ListPrimitiveItemProps,\n type ListItemScopedProps,\n LIST_NAME,\n LIST_ITEM_NAME,\n useListContext,\n useListItemContext,\n} from '@dxos/react-list';\nimport { type Density } from '@dxos/react-ui-types';\n\nimport { useDensityContext, useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { DensityProvider } from '../DensityProvider';\n\ntype ListProps = ThemedClassName<ListPrimitiveProps> & { density?: Density };\n\nconst List = forwardRef<HTMLOListElement, ListProps>(({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const density = useDensityContext(props.density);\n\n return (\n <DensityProvider density={density}>\n <ListPrimitive {...props} className={tx('list.root', 'list', {}, classNames)} ref={forwardedRef}>\n {children}\n </ListPrimitive>\n </DensityProvider>\n );\n});\n\ntype ListItemEndcapProps = ThemedClassName<ComponentPropsWithoutRef<'div'>> & { asChild?: boolean };\n\nconst ListItemEndcap = forwardRef<HTMLDivElement, ListItemEndcapProps>(\n ({ children, classNames, asChild, ...props }, forwardedRef) => {\n const Root = asChild ? Slot : 'div';\n const density = useDensityContext();\n const { tx } = useThemeContext();\n return (\n <Root\n {...(!asChild && { role: 'none' })}\n {...props}\n className={tx('list.item.endcap', 'list__listItem__endcap', { density }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\nconst MockListItemOpenTrigger = ({\n classNames,\n ...props\n}: ThemedClassName<Omit<ComponentPropsWithoutRef<'div'>, 'children'>>) => {\n const density = useDensityContext();\n const { tx } = useThemeContext();\n return (\n <div\n role='none'\n {...props}\n className={tx('list.item.openTrigger', 'list__listItem__openTrigger--mock', { density }, classNames)}\n />\n );\n};\n\ntype ListItemHeadingProps = ThemedClassName<ListPrimitiveItemHeadingProps>;\n\nconst ListItemHeading = forwardRef<HTMLParagraphElement, ListItemHeadingProps>(\n ({ children, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const density = useDensityContext();\n return (\n <ListPrimitiveItemHeading\n {...props}\n className={tx('list.item.heading', 'list__listItem__heading', { density }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </ListPrimitiveItemHeading>\n );\n },\n);\n\ntype ListItemOpenTriggerProps = ThemedClassName<ListPrimitiveItemOpenTriggerProps>;\n\nconst ListItemOpenTrigger = forwardRef<HTMLButtonElement, ListItemOpenTriggerProps>(\n ({ __listItemScope, classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const density = useDensityContext();\n const { open } = useListItemContext(LIST_ITEM_NAME, __listItemScope);\n const Icon = open ? CaretDown : CaretRight;\n return (\n <ListPrimitiveItemOpenTrigger\n {...props}\n className={tx('list.item.openTrigger', 'list__listItem__openTrigger', { density }, classNames)}\n ref={forwardedRef}\n >\n {children || (\n <Icon\n {...{\n weight: 'bold',\n className: tx('list.item.openTriggerIcon', 'list__listItem__openTrigger__icon', {}),\n }}\n />\n )}\n </ListPrimitiveItemOpenTrigger>\n );\n },\n);\n\ntype ListItemRootProps = ThemedClassName<ListPrimitiveItemProps>;\n\nconst ListItemRoot = forwardRef<HTMLLIElement, ListItemRootProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const density = useDensityContext();\n return (\n <ListPrimitiveItem\n {...props}\n className={tx('list.item.root', 'list__listItem', { density, collapsible: props.collapsible }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </ListPrimitiveItem>\n );\n },\n);\n\nexport const ListItem: {\n Root: ForwardRefExoticComponent<ListItemRootProps>;\n Endcap: ForwardRefExoticComponent<ListItemEndcapProps>;\n Heading: ForwardRefExoticComponent<ListItemHeadingProps>;\n OpenTrigger: ForwardRefExoticComponent<ListItemOpenTriggerProps>;\n CollapsibleContent: ForwardRefExoticComponent<ListItemCollapsibleContentProps>;\n MockOpenTrigger: FC<ThemedClassName<Omit<ComponentPropsWithoutRef<'div'>, 'children'>>>;\n} = {\n Root: ListItemRoot,\n Endcap: ListItemEndcap,\n Heading: ListItemHeading,\n OpenTrigger: ListItemOpenTrigger,\n CollapsibleContent: ListItemCollapsibleContent,\n MockOpenTrigger: MockListItemOpenTrigger,\n};\n\nexport { List, useListContext, useListItemContext, LIST_NAME, LIST_ITEM_NAME };\n\nexport type {\n ListProps,\n ListScopedProps,\n ListItemRootProps,\n ListItemScopedProps,\n ListItemEndcapProps,\n ListItemHeadingProps,\n ListItemOpenTriggerProps,\n ListItemCollapsibleContentProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { createContext, type PropsWithChildren } from 'react';\n\nimport { type Density } from '@dxos/react-ui-types';\n\nexport interface DensityContextValue {\n density?: Density;\n}\n\nexport type DensityProviderProps = PropsWithChildren<{\n density?: Density;\n}>;\n\nexport const DensityContext = createContext<DensityContextValue>({ density: 'coarse' });\n\nexport const DensityProvider = ({ density, children }: DensityProviderProps) => (\n <DensityContext.Provider value={{ density }}>{children}</DensityContext.Provider>\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type ComponentPropsWithoutRef, type FC, forwardRef, type ForwardRefExoticComponent } from 'react';\n\nimport {\n List,\n LIST_ITEM_NAME,\n ListItem,\n type ListItemCollapsibleContentProps,\n type ListItemHeadingProps,\n type ListItemOpenTriggerProps,\n type ListItemRootProps,\n type ListProps,\n type ListScopedProps,\n useListItemContext,\n} from './List';\nimport { type ThemedClassName } from '../../util';\n\ntype TreeRootProps = ListProps;\n\ntype TreeItemProps = ListItemRootProps;\n\nconst TreeRoot: ForwardRefExoticComponent<TreeRootProps> = forwardRef<HTMLOListElement, TreeRootProps>(\n (props, forwardedRef) => {\n return <List {...props} ref={forwardedRef} />;\n },\n);\n\ntype TreeBranchProps = TreeRootProps;\n\nconst TreeBranch: ForwardRefExoticComponent<TreeBranchProps> = forwardRef<\n HTMLOListElement,\n ListScopedProps<TreeBranchProps>\n>(({ __listScope, ...props }, forwardedRef) => {\n const { headingId } = useListItemContext(LIST_ITEM_NAME, __listScope);\n return <List {...props} aria-labelledby={headingId} ref={forwardedRef} />;\n});\n\nconst TreeItemRoot: ForwardRefExoticComponent<ListItemRootProps> = forwardRef<HTMLLIElement, ListItemRootProps>(\n (props, forwardedRef) => {\n return <ListItem.Root role='treeitem' {...props} ref={forwardedRef} />;\n },\n);\n\ntype TreeItemHeadingProps = ListItemHeadingProps;\n\nconst TreeItemHeading = ListItem.Heading;\n\ntype TreeItemOpenTriggerProps = ListItemOpenTriggerProps;\n\nconst TreeItemOpenTrigger = ListItem.OpenTrigger;\n\nconst MockTreeItemOpenTrigger = ListItem.MockOpenTrigger;\n\ntype TreeItemBodyProps = ListItemCollapsibleContentProps;\n\nconst TreeItemBody: ForwardRefExoticComponent<TreeItemBodyProps> = ListItem.CollapsibleContent;\n\nexport const Tree = { Root: TreeRoot, Branch: TreeBranch };\nexport const TreeItem: {\n Root: ForwardRefExoticComponent<TreeItemProps>;\n Heading: ForwardRefExoticComponent<TreeItemHeadingProps>;\n Body: ForwardRefExoticComponent<TreeItemBodyProps>;\n OpenTrigger: ForwardRefExoticComponent<TreeItemOpenTriggerProps>;\n MockOpenTrigger: FC<ThemedClassName<Omit<ComponentPropsWithoutRef<'div'>, 'children'>>>;\n} = {\n Root: TreeItemRoot,\n Heading: TreeItemHeading,\n Body: TreeItemBody,\n OpenTrigger: TreeItemOpenTrigger,\n MockOpenTrigger: MockTreeItemOpenTrigger,\n};\n\nexport type { TreeRootProps, TreeItemProps, TreeItemHeadingProps, TreeItemBodyProps, TreeItemOpenTriggerProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport { Root as DialogRoot, DialogContent } from '@radix-ui/react-dialog';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport React, {\n type ComponentPropsWithRef,\n type Dispatch,\n forwardRef,\n type PropsWithChildren,\n type SetStateAction,\n useCallback,\n useRef,\n} from 'react';\n\nimport { useMediaQuery, useForwardedRef } from '@dxos/react-hooks';\n\nimport { useSwipeToDismiss } from './useSwipeToDismiss';\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\nconst MAIN_ROOT_NAME = 'MainRoot';\nconst NAVIGATION_SIDEBAR_NAME = 'NavigationSidebar';\nconst COMPLEMENTARY_SIDEBAR_NAME = 'ComplementarySidebar';\nconst MAIN_NAME = 'Main';\nconst GENERIC_CONSUMER_NAME = 'GenericConsumer';\n\ntype MainContextValue = {\n navigationSidebarOpen: boolean;\n setNavigationSidebarOpen: Dispatch<SetStateAction<boolean | undefined>>;\n complementarySidebarOpen: boolean;\n setComplementarySidebarOpen: Dispatch<SetStateAction<boolean | undefined>>;\n};\n\nconst [MainProvider, useMainContext] = createContext<MainContextValue>(MAIN_NAME, {\n navigationSidebarOpen: false,\n setNavigationSidebarOpen: (nextOpen) => {\n // TODO(burdon): Standardize with other context missing errors using raise.\n console.warn('Attempt to set sidebar state without initializing `MainRoot`');\n },\n complementarySidebarOpen: false,\n setComplementarySidebarOpen: (nextOpen) => {\n // TODO(burdon): Standardize with other context missing errors using raise.\n console.warn('Attempt to set sidebar state without initializing `MainRoot`');\n },\n});\n\nconst useSidebars = (consumerName = GENERIC_CONSUMER_NAME) => {\n const { setNavigationSidebarOpen, navigationSidebarOpen, setComplementarySidebarOpen, complementarySidebarOpen } =\n useMainContext(consumerName);\n return {\n navigationSidebarOpen,\n setNavigationSidebarOpen,\n toggleNavigationSidebar: useCallback(\n () => setNavigationSidebarOpen(!navigationSidebarOpen),\n [navigationSidebarOpen, setNavigationSidebarOpen],\n ),\n openNavigationSidebar: useCallback(() => setNavigationSidebarOpen(true), [setNavigationSidebarOpen]),\n closeNavigationSidebar: useCallback(() => setNavigationSidebarOpen(false), [setNavigationSidebarOpen]),\n complementarySidebarOpen,\n setComplementarySidebarOpen,\n toggleComplementarySidebar: useCallback(\n () => setComplementarySidebarOpen(!complementarySidebarOpen),\n [complementarySidebarOpen, setComplementarySidebarOpen],\n ),\n openComplementarySidebar: useCallback(() => setComplementarySidebarOpen(true), [setComplementarySidebarOpen]),\n closeComplementarySidebar: useCallback(() => setComplementarySidebarOpen(false), [setComplementarySidebarOpen]),\n };\n};\n\ntype MainRootProps = PropsWithChildren<{\n navigationSidebarOpen?: boolean;\n defaultNavigationSidebarOpen?: boolean;\n onNavigationSidebarOpenChange?: (nextOpen: boolean) => void;\n complementarySidebarOpen?: boolean;\n defaultComplementarySidebarOpen?: boolean;\n onComplementarySidebarOpenChange?: (nextOpen: boolean) => void;\n}>;\n\nconst MainRoot = ({\n navigationSidebarOpen: propsNavigationSidebarOpen,\n defaultNavigationSidebarOpen,\n onNavigationSidebarOpenChange,\n complementarySidebarOpen: propsComplementarySidebarOpen,\n defaultComplementarySidebarOpen,\n onComplementarySidebarOpenChange,\n children,\n ...props\n}: MainRootProps) => {\n const [isLg] = useMediaQuery('lg', { ssr: false });\n const [navigationSidebarOpen = isLg, setNavigationSidebarOpen] = useControllableState<boolean>({\n prop: propsNavigationSidebarOpen,\n defaultProp: defaultNavigationSidebarOpen,\n onChange: onNavigationSidebarOpenChange,\n });\n const [complementarySidebarOpen = false, setComplementarySidebarOpen] = useControllableState<boolean>({\n prop: propsComplementarySidebarOpen,\n defaultProp: defaultComplementarySidebarOpen,\n onChange: onComplementarySidebarOpenChange,\n });\n return (\n <MainProvider\n {...props}\n {...{\n navigationSidebarOpen,\n setNavigationSidebarOpen,\n complementarySidebarOpen,\n setComplementarySidebarOpen,\n }}\n >\n {children}\n </MainProvider>\n );\n};\n\nMainRoot.displayName = MAIN_ROOT_NAME;\n\nconst handleOpenAutoFocus = (event: Event) => {\n !document.body.hasAttribute('data-is-keyboard') && event.preventDefault();\n};\n\ntype MainSidebarProps = ThemedClassName<ComponentPropsWithRef<typeof DialogContent>> & {\n swipeToDismiss?: boolean;\n open: boolean;\n setOpen: Dispatch<SetStateAction<boolean | undefined>>;\n side: 'inline-start' | 'inline-end';\n};\n\nconst MainSidebar = forwardRef<HTMLDivElement, MainSidebarProps>(\n ({ classNames, children, swipeToDismiss, onOpenAutoFocus, open, setOpen, side, ...props }, forwardedRef) => {\n const [isLg] = useMediaQuery('lg', { ssr: false });\n const { tx } = useThemeContext();\n const ref = useForwardedRef(forwardedRef);\n const noopRef = useRef(null);\n useSwipeToDismiss(swipeToDismiss ? ref : noopRef, {\n onDismiss: () => setOpen(false),\n });\n const Root = isLg ? Primitive.div : DialogContent;\n return (\n <DialogRoot open={open} modal={false}>\n <Root\n {...(!isLg && { forceMount: true, tabIndex: -1, onOpenAutoFocus: onOpenAutoFocus ?? handleOpenAutoFocus })}\n {...props}\n className={tx(\n 'main.sidebar',\n 'main__sidebar',\n { isLg, [side === 'inline-end' ? 'inlineEndSidebarOpen' : 'inlineStartSidebarOpen']: open, side },\n classNames,\n )}\n {...(!open && { inert: 'true' })}\n ref={ref}\n >\n <ElevationProvider elevation='group'>{children}</ElevationProvider>\n </Root>\n </DialogRoot>\n );\n },\n);\n\ntype MainNavigationSidebarProps = Omit<MainSidebarProps, 'open' | 'setOpen' | 'side'>;\n\nconst MainNavigationSidebar = forwardRef<HTMLDivElement, MainNavigationSidebarProps>((props, forwardedRef) => {\n const { navigationSidebarOpen, setNavigationSidebarOpen } = useMainContext(NAVIGATION_SIDEBAR_NAME);\n return (\n <MainSidebar\n {...props}\n open={navigationSidebarOpen}\n setOpen={setNavigationSidebarOpen}\n side='inline-start'\n ref={forwardedRef}\n />\n );\n});\n\nMainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;\n\ntype MainComplementarySidebarProps = Omit<MainSidebarProps, 'open' | 'setOpen' | 'side'>;\n\nconst MainComplementarySidebar = forwardRef<HTMLDivElement, MainComplementarySidebarProps>((props, forwardedRef) => {\n const { complementarySidebarOpen, setComplementarySidebarOpen } = useMainContext(COMPLEMENTARY_SIDEBAR_NAME);\n return (\n <MainSidebar\n {...props}\n open={complementarySidebarOpen}\n setOpen={setComplementarySidebarOpen}\n side='inline-end'\n ref={forwardedRef}\n />\n );\n});\n\nMainNavigationSidebar.displayName = NAVIGATION_SIDEBAR_NAME;\n\ntype MainProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & { asChild?: boolean; bounce?: boolean };\n\nconst MainContent = forwardRef<HTMLDivElement, MainProps>(\n ({ asChild, classNames, bounce, children, ...props }: MainProps, forwardedRef) => {\n const [isLg] = useMediaQuery('lg', { ssr: false });\n const { navigationSidebarOpen, complementarySidebarOpen } = useMainContext(MAIN_NAME);\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : 'main';\n\n return (\n <Root\n {...props}\n className={tx(\n 'main.content',\n 'main',\n {\n isLg,\n inlineStartSidebarOpen: navigationSidebarOpen,\n inlineEndSidebarOpen: complementarySidebarOpen,\n bounce,\n },\n classNames,\n )}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\nMainContent.displayName = MAIN_NAME;\n\ntype MainOverlayProps = ThemedClassName<Omit<ComponentPropsWithRef<typeof Primitive.div>, 'children'>>;\n\nconst MainOverlay = forwardRef<HTMLDivElement, MainOverlayProps>(({ classNames, ...props }, forwardedRef) => {\n const [isLg] = useMediaQuery('lg', { ssr: false });\n const { navigationSidebarOpen, setNavigationSidebarOpen, complementarySidebarOpen, setComplementarySidebarOpen } =\n useMainContext(MAIN_NAME);\n const { tx } = useThemeContext();\n return (\n <div\n onClick={() => {\n setNavigationSidebarOpen(false);\n setComplementarySidebarOpen(false);\n }}\n {...props}\n className={tx(\n 'main.overlay',\n 'main__overlay',\n { isLg, inlineStartSidebarOpen: navigationSidebarOpen, inlineEndSidebarOpen: complementarySidebarOpen },\n classNames,\n )}\n data-open={navigationSidebarOpen}\n aria-hidden='true'\n data-aria-hidden='true'\n ref={forwardedRef}\n />\n );\n});\n\nexport const Main = {\n Root: MainRoot,\n Content: MainContent,\n Overlay: MainOverlay,\n NavigationSidebar: MainNavigationSidebar,\n ComplementarySidebar: MainComplementarySidebar,\n};\n\nexport { useMainContext, useSidebars };\n\nexport type { MainRootProps, MainProps, MainOverlayProps, MainNavigationSidebarProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\n// This implementation is based upon https://github.com/hosembafer/react-swipe-to-dismiss, commit d88deafe910a6bd1400cf8fa90459a76cf4f71d3\n\nimport { type RefObject, useCallback, useEffect, useState } from 'react';\n\nenum MotionState {\n IDLE,\n DEBOUNCING,\n FOLLOWING,\n}\n\ntype Options = Partial<{\n onDismiss: () => void;\n dismissThreshold: number;\n debounceThreshold: number;\n side: 'inline-start' | 'inline-end';\n offset: number;\n}>;\n\nexport const useSwipeToDismiss = (\n ref: RefObject<HTMLElement | null>,\n { onDismiss, dismissThreshold = 64, debounceThreshold = 8, offset = 0 /* side = 'inline-start' */ }: Options,\n) => {\n const $root = ref.current;\n // todo(thure): Implement other sides.\n // const dK = direction === 'inline-start' ? 1 : -1;\n\n const [motionState, setMotionState] = useState<MotionState>(MotionState.IDLE);\n const [gestureStartX, setGestureStartX] = useState(0);\n\n const setIdle = useCallback(() => {\n setMotionState(MotionState.IDLE);\n $root?.style.removeProperty('inset-inline-start');\n $root?.style.setProperty('transition-duration', '200ms');\n }, [$root]);\n\n const setFollowing = useCallback(() => {\n setMotionState(MotionState.FOLLOWING);\n $root?.style.setProperty('transition-duration', '0ms');\n }, [$root]);\n\n const handlePointerDown = useCallback(\n ({ screenX }: PointerEvent) => {\n if (motionState === MotionState.IDLE) {\n setMotionState(MotionState.DEBOUNCING);\n setGestureStartX(screenX);\n }\n },\n [motionState],\n );\n\n const handlePointerMove = useCallback(\n ({ screenX }: PointerEvent) => {\n if ($root) {\n const delta = Math.min(screenX - gestureStartX, 0);\n switch (motionState) {\n case MotionState.FOLLOWING:\n if (Math.abs(delta) > dismissThreshold) {\n setIdle();\n onDismiss?.();\n } else {\n $root.style.setProperty('inset-inline-start', `${offset + delta}px`);\n }\n break;\n case MotionState.DEBOUNCING:\n if (Math.abs(delta) > debounceThreshold) {\n setFollowing();\n }\n break;\n }\n }\n },\n [$root, motionState, gestureStartX],\n );\n\n const handlePointerUp = useCallback(() => {\n setIdle();\n }, [setIdle]);\n\n useEffect(() => {\n $root?.addEventListener('pointerdown', handlePointerDown);\n return () => {\n $root?.removeEventListener('pointerdown', handlePointerDown);\n };\n }, [$root, handlePointerDown]);\n\n useEffect(() => {\n $root && document.documentElement.addEventListener('pointermove', handlePointerMove);\n return () => {\n document.documentElement.removeEventListener('pointermove', handlePointerMove);\n };\n }, [$root, handlePointerMove]);\n\n useEffect(() => {\n $root && document.documentElement.addEventListener('pointerup', handlePointerUp);\n return () => {\n document.documentElement.removeEventListener('pointerup', handlePointerUp);\n };\n }, [$root, handlePointerUp]);\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useId } from '@dxos/react-hooks';\nimport { type MessageValence, type Elevation } from '@dxos/react-ui-types';\n\nimport { useElevationContext, useThemeContext } from '../../hooks';\n\ntype MessageRootProps = ComponentPropsWithRef<typeof Primitive.div> & {\n valence?: MessageValence;\n elevation?: Elevation;\n asChild?: boolean;\n titleId?: string;\n descriptionId?: string;\n};\n\ntype MessageContextValue = { titleId?: string; descriptionId: string };\nconst MESSAGE_NAME = 'Message';\nconst [MessageProvider, useMessageContext] = createContext<MessageContextValue>(MESSAGE_NAME);\n\nconst MessageRoot = forwardRef<HTMLDivElement, MessageRootProps>(\n (\n {\n asChild,\n valence,\n elevation: propsElevation,\n className,\n titleId: propsTitleId,\n descriptionId: propsDescriptionId,\n children,\n ...props\n },\n forwardedRef,\n ) => {\n const { tx } = useThemeContext();\n const titleId = useId('message__title', propsTitleId);\n const descriptionId = useId('message__description', propsDescriptionId);\n const elevation = useElevationContext(propsElevation);\n const Root = asChild ? Slot : Primitive.div;\n return (\n <MessageProvider {...{ titleId, descriptionId }}>\n <Root\n {...props}\n className={tx('message.root', 'message', { valence, elevation }, className)}\n aria-labelledby={titleId}\n aria-describedby={descriptionId}\n ref={forwardedRef}\n >\n {children}\n </Root>\n </MessageProvider>\n );\n },\n);\n\nMessageRoot.displayName = MESSAGE_NAME;\n\ntype MessageTitleProps = Omit<ComponentPropsWithRef<typeof Primitive.h2>, 'id'> & { asChild?: boolean };\n\nconst MESSAGE_TITLE_NAME = 'MessageTitle';\n\nconst MessageTitle = forwardRef<HTMLHeadingElement, MessageTitleProps>(\n ({ asChild, className, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const { titleId } = useMessageContext(MESSAGE_TITLE_NAME);\n const Root = asChild ? Slot : Primitive.h2;\n return (\n <Root {...props} className={tx('message.title', 'message__title', {}, className)} id={titleId} ref={forwardedRef}>\n {children}\n </Root>\n );\n },\n);\n\nMessageTitle.displayName = MESSAGE_TITLE_NAME;\n\ntype MessageBodyProps = Omit<ComponentPropsWithRef<typeof Primitive.h2>, 'id'> & { asChild?: boolean };\n\nconst MESSAGE_BODY_NAME = 'MessageBody';\n\nconst MessageBody = forwardRef<HTMLParagraphElement, MessageBodyProps>(\n ({ asChild, className, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const { descriptionId } = useMessageContext(MESSAGE_BODY_NAME);\n const Root = asChild ? Slot : Primitive.p;\n return (\n <Root\n {...props}\n className={tx('message.body', 'message__body', {}, className)}\n id={descriptionId}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\nMessageBody.displayName = MESSAGE_BODY_NAME;\n\nexport const Message = { Root: MessageRoot, Title: MessageTitle, Body: MessageBody };\n\nexport type { MessageRootProps, MessageTitleProps, MessageBodyProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Root as PopoverRootPrimitive,\n type PopoverProps as PopoverRootPrimitiveProps,\n type PopoverContentProps as PopoverContentPrimitiveProps,\n PopoverContent as PopoverContentPrimitive,\n type PopoverTriggerProps as PopoverTriggerPrimitiveProps,\n PopoverTrigger as PopoverTriggerPrimitive,\n type PopoverAnchorProps as PopoverAnchorPrimitiveProps,\n PopoverAnchor as PopoverAnchorPrimitive,\n type PopoverPortalProps as PopoverPortalPrimitiveProps,\n PopoverPortal as PopoverPortalPrimitive,\n type PopoverArrowProps as PopoverArrowPrimitiveProps,\n PopoverArrow as PopoverArrowPrimitive,\n type PopoverCloseProps as PopoverClosePrimitiveProps,\n PopoverClose as PopoverClosePrimitive,\n} from '@radix-ui/react-popover';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef, type FunctionComponent } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype PopoverRootProps = PopoverRootPrimitiveProps;\n\nconst PopoverRoot: FunctionComponent<PopoverRootProps> = PopoverRootPrimitive;\n\ntype PopoverPortalProps = PopoverPortalPrimitiveProps;\n\nconst PopoverPortal = PopoverPortalPrimitive;\n\ntype PopoverTriggerProps = PopoverTriggerPrimitiveProps;\n\nconst PopoverTrigger = PopoverTriggerPrimitive;\n\ntype PopoverAnchorProps = PopoverAnchorPrimitiveProps;\n\nconst PopoverAnchor = PopoverAnchorPrimitive;\n\ntype PopoverCloseProps = PopoverClosePrimitiveProps;\n\nconst PopoverClose = PopoverClosePrimitive;\n\ntype PopoverArrowProps = ThemedClassName<PopoverArrowPrimitiveProps>;\n\nconst PopoverArrow = forwardRef<SVGSVGElement, PopoverArrowProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <PopoverArrowPrimitive\n {...props}\n className={tx('popover.arrow', 'popover__arrow', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype PopoverContentProps = ThemedClassName<PopoverContentPrimitiveProps>;\n\nconst PopoverContent = forwardRef<HTMLDivElement, PopoverContentProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <PopoverContentPrimitive\n sideOffset={4}\n collisionPadding={8}\n {...props}\n className={tx('popover.content', 'popover', {}, classNames)}\n ref={forwardedRef}\n >\n <ElevationProvider elevation='chrome'>{children}</ElevationProvider>\n </PopoverContentPrimitive>\n );\n },\n);\n\ntype PopoverViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {\n asChild?: boolean;\n constrainInline?: boolean;\n constrainBlock?: boolean;\n};\n\nconst PopoverViewport = forwardRef<HTMLDivElement, PopoverViewportProps>(\n ({ classNames, asChild, constrainInline = true, constrainBlock = true, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return (\n <Root\n {...props}\n className={tx('popover.viewport', 'popover__viewport', { constrainInline, constrainBlock }, classNames)}\n ref={forwardedRef}\n >\n {children}\n </Root>\n );\n },\n);\n\nexport const Popover = {\n Root: PopoverRoot,\n Portal: PopoverPortal,\n Trigger: PopoverTrigger,\n Anchor: PopoverAnchor,\n Arrow: PopoverArrow,\n Close: PopoverClose,\n Content: PopoverContent,\n Viewport: PopoverViewport,\n};\n\nexport type {\n PopoverRootProps,\n PopoverPortalProps,\n PopoverTriggerProps,\n PopoverAnchorProps,\n PopoverArrowProps,\n PopoverCloseProps,\n PopoverContentProps,\n PopoverViewportProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype StatusProps = ThemedClassName<ComponentPropsWithRef<'span'>> & {\n indeterminate?: boolean;\n progress?: number;\n};\n\nconst Status = forwardRef<HTMLSpanElement, StatusProps>(\n ({ classNames, children, progress = 0, indeterminate, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <span\n role='status'\n {...props}\n className={tx('status.root', 'status', { indeterminate }, classNames)}\n ref={forwardedRef}\n >\n <span\n role='none'\n className={tx('status.bar', 'status__bar', { indeterminate }, classNames)}\n {...(!indeterminate && { style: { width: `${Math.round(progress * 100)}%` } })}\n />\n {children}\n </span>\n );\n },\n);\n\nexport { Status };\n\nexport type { StatusProps };\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Root as ScrollAreaPrimitiveRoot,\n type ScrollAreaProps as ScrollAreaPrimitiveRootProps,\n Viewport as ScrollAreaPrimitiveViewport,\n type ScrollAreaViewportProps as ScrollAreaPrimitiveViewportProps,\n Scrollbar as ScrollAreaPrimitiveScrollbar,\n type ScrollAreaScrollbarProps as ScrollAreaPrimitiveScrollbarProps,\n Thumb as ScrollAreaPrimitiveThumb,\n type ScrollAreaThumbProps as ScrollAreaPrimitiveThumbProps,\n Corner as ScrollAreaPrimitiveCorner,\n type ScrollAreaCornerProps as ScrollAreaPrimitiveCornerProps,\n} from '@radix-ui/react-scroll-area';\nimport React, { forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype ScrollAreaRootProps = ThemedClassName<ScrollAreaPrimitiveRootProps>;\n\nconst ScrollAreaRoot = forwardRef<HTMLDivElement, ScrollAreaRootProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ScrollAreaPrimitiveRoot\n {...props}\n className={tx('scrollArea.root', 'scroll-area', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype ScrollAreaViewportProps = ThemedClassName<ScrollAreaPrimitiveViewportProps>;\n\nconst ScrollAreaViewport = forwardRef<HTMLDivElement, ScrollAreaViewportProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ScrollAreaPrimitiveViewport\n {...props}\n className={tx('scrollArea.viewport', 'scroll-area', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype ScrollAreaScrollbarProps = ThemedClassName<ScrollAreaPrimitiveScrollbarProps>;\n\nconst ScrollAreaScrollbar = forwardRef<HTMLDivElement, ScrollAreaScrollbarProps>(\n ({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ScrollAreaPrimitiveScrollbar\n {...props}\n className={tx('scrollArea.scrollbar', 'scroll-area__scrollbar', {}, classNames)}\n ref={forwardedRef}\n />\n );\n },\n);\n\ntype ScrollAreaThumbProps = ThemedClassName<ScrollAreaPrimitiveThumbProps>;\n\nconst ScrollAreaThumb = forwardRef<HTMLDivElement, ScrollAreaThumbProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ScrollAreaPrimitiveThumb\n {...props}\n className={tx('scrollArea.thumb', 'scroll-area__thumb', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype ScrollAreaCornerProps = ThemedClassName<ScrollAreaPrimitiveCornerProps>;\n\nconst ScrollAreaCorner = forwardRef<HTMLDivElement, ScrollAreaCornerProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ScrollAreaPrimitiveCorner\n {...props}\n className={tx('scrollArea.corner', 'scroll-area__corner', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\nexport const ScrollArea = {\n Root: ScrollAreaRoot,\n Viewport: ScrollAreaViewport,\n Scrollbar: ScrollAreaScrollbar,\n Thumb: ScrollAreaThumb,\n Corner: ScrollAreaCorner,\n};\n\nexport type {\n ScrollAreaRootProps,\n ScrollAreaViewportProps,\n ScrollAreaScrollbarProps,\n ScrollAreaThumbProps,\n ScrollAreaCornerProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { CaretDown, CaretUp, Check } from '@phosphor-icons/react';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport React, { forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { Button, type ButtonProps } from '../Buttons';\n\ntype SelectRootProps = SelectPrimitive.SelectProps;\n\nconst SelectRoot = SelectPrimitive.Root;\n\ntype SelectTriggerProps = SelectPrimitive.SelectTriggerProps;\n\nconst SelectTrigger = SelectPrimitive.Trigger;\n\ntype SelectValueProps = SelectPrimitive.SelectValueProps;\n\nconst SelectValue = SelectPrimitive.Value;\n\ntype SelectIconProps = SelectPrimitive.SelectIconProps;\n\nconst SelectIcon = SelectPrimitive.Icon;\n\ntype SelectPortalProps = SelectPrimitive.SelectPortalProps;\n\nconst SelectPortal = SelectPrimitive.Portal;\n\ntype SelectTriggerButtonProps = Omit<ButtonProps, 'children'> & Pick<SelectValueProps, 'placeholder'>;\n\nconst SelectTriggerButton = forwardRef<HTMLButtonElement, ButtonProps>(({ placeholder, ...props }, forwardedRef) => {\n return (\n <SelectPrimitive.Trigger asChild ref={forwardedRef}>\n <Button {...props}>\n <SelectPrimitive.Value placeholder={placeholder} />\n <SelectPrimitive.Icon className='pis-2'>\n <CaretDown weight='bold' />\n </SelectPrimitive.Icon>\n </Button>\n </SelectPrimitive.Trigger>\n );\n});\n\ntype SelectContentProps = ThemedClassName<SelectPrimitive.SelectContentProps>;\n\nconst SelectContent = forwardRef<HTMLDivElement, SelectContentProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <SelectPrimitive.Content\n {...props}\n className={tx('select.content', 'select__content', {}, classNames)}\n ref={forwardedRef}\n >\n {children}\n </SelectPrimitive.Content>\n );\n },\n);\n\ntype SelectScrollUpButtonProps = ThemedClassName<SelectPrimitive.SelectScrollUpButtonProps>;\n\nconst SelectScrollUpButton = forwardRef<HTMLDivElement, SelectScrollUpButtonProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <SelectPrimitive.SelectScrollUpButton\n {...props}\n className={tx('select.scrollButton', 'select__scroll-button--up', {}, classNames)}\n ref={forwardedRef}\n >\n {children ?? <CaretUp weight='bold' />}\n </SelectPrimitive.SelectScrollUpButton>\n );\n },\n);\n\ntype SelectScrollDownButtonProps = ThemedClassName<SelectPrimitive.SelectScrollDownButtonProps>;\n\nconst SelectScrollDownButton = forwardRef<HTMLDivElement, SelectScrollDownButtonProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <SelectPrimitive.SelectScrollDownButton\n {...props}\n className={tx('select.scrollButton', 'select__scroll-button--down', {}, classNames)}\n ref={forwardedRef}\n >\n {children ?? <CaretDown weight='bold' />}\n </SelectPrimitive.SelectScrollDownButton>\n );\n },\n);\n\ntype SelectViewportProps = SelectPrimitive.SelectViewportProps;\n\nconst SelectViewport = SelectPrimitive.Viewport;\n\ntype SelectItemProps = ThemedClassName<SelectPrimitive.SelectItemProps>;\n\nconst SelectItem = forwardRef<HTMLDivElement, SelectItemProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return <SelectPrimitive.Item {...props} className={tx('select.item', 'option', {}, classNames)} ref={forwardedRef} />;\n});\n\ntype SelectItemTextProps = SelectPrimitive.SelectItemTextProps;\n\nconst SelectItemText = SelectPrimitive.ItemText;\n\ntype SelectItemIndicatorProps = ThemedClassName<SelectPrimitive.SelectItemIndicatorProps>;\n\nconst SelectItemIndicator = forwardRef<HTMLDivElement, SelectItemIndicatorProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <SelectPrimitive.ItemIndicator\n {...props}\n className={tx('select.itemIndicator', 'option__indicator', {}, classNames)}\n ref={forwardedRef}\n >\n {children}\n </SelectPrimitive.ItemIndicator>\n );\n },\n);\n\ntype SelectOptionProps = SelectItemProps;\n\nconst SelectOption = forwardRef<HTMLDivElement, SelectItemProps>(({ children, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n\n return (\n <SelectPrimitive.Item {...props} className={tx('select.item', 'option', {}, classNames)} ref={forwardedRef}>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n <SelectPrimitive.ItemIndicator className={tx('select.itemIndicator', 'option__indicator', {})}>\n <Check weight='bold' />\n </SelectPrimitive.ItemIndicator>\n </SelectPrimitive.Item>\n );\n});\n\ntype SelectGroupProps = SelectPrimitive.SelectGroupProps;\n\nconst SelectGroup = SelectPrimitive.Group;\n\ntype SelectLabelProps = SelectPrimitive.SelectLabelProps;\n\nconst SelectLabel = SelectPrimitive.Label;\n\ntype SelectSeparatorProps = ThemedClassName<SelectPrimitive.SelectSeparatorProps>;\n\nconst SelectSeparator = forwardRef<HTMLDivElement, SelectSeparatorProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <SelectPrimitive.Separator\n {...props}\n className={tx('select.separator', 'select__separator', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype SelectArrowProps = ThemedClassName<SelectPrimitive.SelectArrowProps>;\n\nconst SelectArrow = forwardRef<SVGSVGElement, SelectArrowProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n\n return (\n <SelectPrimitive.Arrow\n {...props}\n className={tx('select.arrow', 'select__arrow', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\nexport const Select = {\n Root: SelectRoot,\n Trigger: SelectTrigger,\n TriggerButton: SelectTriggerButton,\n Value: SelectValue,\n Icon: SelectIcon,\n Portal: SelectPortal,\n Content: SelectContent,\n ScrollUpButton: SelectScrollUpButton,\n ScrollDownButton: SelectScrollDownButton,\n Viewport: SelectViewport,\n Item: SelectItem,\n ItemText: SelectItemText,\n ItemIndicator: SelectItemIndicator,\n Option: SelectOption,\n Group: SelectGroup,\n Label: SelectLabel,\n Separator: SelectSeparator,\n Arrow: SelectArrow,\n};\n\nexport type {\n SelectRootProps,\n SelectTriggerProps,\n SelectTriggerButtonProps,\n SelectValueProps,\n SelectIconProps,\n SelectPortalProps,\n SelectContentProps,\n SelectScrollUpButtonProps,\n SelectScrollDownButtonProps,\n SelectViewportProps,\n SelectItemProps,\n SelectItemTextProps,\n SelectItemIndicatorProps,\n SelectOptionProps,\n SelectGroupProps,\n SelectLabelProps,\n SelectSeparatorProps,\n SelectArrowProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\nimport {\n Separator as SeparatorPrimitive,\n type SeparatorProps as SeparatorPrimitiveProps,\n} from '@radix-ui/react-separator';\nimport React from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype SeparatorProps = ThemedClassName<SeparatorPrimitiveProps>;\n\nconst Separator = ({ classNames, orientation = 'horizontal', ...props }: SeparatorProps) => {\n const { tx } = useThemeContext();\n return (\n <SeparatorPrimitive\n orientation={orientation}\n {...props}\n className={tx('separator.root', 'separator', { orientation }, classNames)}\n />\n );\n};\n\nexport type { SeparatorProps };\n\nexport { Separator };\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport React, { type ComponentPropsWithRef, forwardRef } from 'react';\n\nimport { type ChromaticPalette, type MessageValence, type NeutralPalette } from '@dxos/react-ui-types';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\nexport type TagProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.span>> & {\n palette?: NeutralPalette | ChromaticPalette | MessageValence;\n asChild?: boolean;\n};\n\nexport const Tag = forwardRef<HTMLSpanElement, TagProps>(({ asChild, palette, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.span;\n return <Root {...props} className={tx('tag.root', 'tag', { palette }, classNames)} ref={forwardedRef} />;\n});\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Primitive } from '@radix-ui/react-primitive';\nimport { Slot } from '@radix-ui/react-slot';\nimport {\n ToastProvider as ToastProviderPrimitive,\n type ToastProviderProps as ToastProviderPrimitiveProps,\n ToastViewport as ToastViewportPrimitive,\n type ToastViewportProps as ToastViewportPrimitiveProps,\n Root as ToastRootPrimitive,\n type ToastProps as ToastRootPrimitiveProps,\n ToastTitle as ToastTitlePrimitive,\n type ToastTitleProps as ToastTitlePrimitiveProps,\n ToastDescription as ToastDescriptionPrimitive,\n type ToastDescriptionProps as ToastDescriptionPrimitiveProps,\n ToastAction as ToastActionPrimitive,\n type ToastActionProps as ToastActionPrimitiveProps,\n ToastClose as ToastClosePrimitive,\n type ToastCloseProps as ToastClosePrimitiveProps,\n} from '@radix-ui/react-toast';\nimport React, { type ComponentPropsWithRef, forwardRef, type FunctionComponent } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { DensityProvider } from '../DensityProvider';\nimport { ElevationProvider } from '../ElevationProvider';\n\ntype ToastProviderProps = ToastProviderPrimitiveProps;\n\nconst ToastProvider: FunctionComponent<ToastProviderProps> = ToastProviderPrimitive;\n\ntype ToastViewportProps = ThemedClassName<ToastViewportPrimitiveProps>;\n\nconst ToastViewport = forwardRef<HTMLOListElement, ToastViewportProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ToastViewportPrimitive className={tx('toast.viewport', 'toast-viewport', {}, classNames)} ref={forwardedRef} />\n );\n});\n\ntype ToastRootProps = ThemedClassName<ToastRootPrimitiveProps>;\n\nconst ToastRoot = forwardRef<HTMLLIElement, ToastRootProps>(({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ToastRootPrimitive {...props} className={tx('toast.root', 'toast', {}, classNames)} ref={forwardedRef}>\n <ElevationProvider elevation='chrome'>\n <DensityProvider density='fine'>{children}</DensityProvider>\n </ElevationProvider>\n </ToastRootPrimitive>\n );\n});\n\ntype ToastBodyProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>>;\n\nconst ToastBody = forwardRef<HTMLDivElement, ToastBodyProps>(({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return <Root {...props} className={tx('toast.body', 'toast__body', {}, classNames)} ref={forwardedRef} />;\n});\n\ntype ToastTitleProps = ThemedClassName<ToastTitlePrimitiveProps>;\n\nconst ToastTitle = forwardRef<HTMLHeadingElement, ToastTitleProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : ToastTitlePrimitive;\n return <Root {...props} className={tx('toast.title', 'toast__title', {}, classNames)} ref={forwardedRef} />;\n },\n);\n\ntype ToastDescriptionProps = ThemedClassName<ToastDescriptionPrimitiveProps>;\n\nconst ToastDescription = forwardRef<HTMLParagraphElement, ToastDescriptionProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : ToastDescriptionPrimitive;\n return (\n <Root {...props} className={tx('toast.description', 'toast__description', {}, classNames)} ref={forwardedRef} />\n );\n },\n);\n\ntype ToastActionsProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>>;\n\nconst ToastActions = forwardRef<HTMLDivElement, ToastActionsProps>(\n ({ asChild, classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n const Root = asChild ? Slot : Primitive.div;\n return <Root {...props} className={tx('toast.actions', 'toast__actions', {}, classNames)} ref={forwardedRef} />;\n },\n);\n\ntype ToastActionProps = ToastActionPrimitiveProps;\n\nconst ToastAction: FunctionComponent<ToastActionProps> = ToastActionPrimitive;\n\ntype ToastCloseProps = ToastClosePrimitiveProps;\n\nconst ToastClose: FunctionComponent<ToastCloseProps> = ToastClosePrimitive;\n\nexport const Toast = {\n Provider: ToastProvider,\n Viewport: ToastViewport,\n Root: ToastRoot,\n Body: ToastBody,\n Title: ToastTitle,\n Description: ToastDescription,\n Actions: ToastActions,\n Action: ToastAction,\n Close: ToastClose,\n};\n\nexport type {\n ToastProviderProps,\n ToastViewportProps,\n ToastRootProps,\n ToastBodyProps,\n ToastTitleProps,\n ToastDescriptionProps,\n ToastActionsProps,\n ToastActionProps,\n ToastCloseProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport * as ToolbarPrimitive from '@radix-ui/react-toolbar';\nimport React, { forwardRef } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\nimport { Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ToggleGroupItemProps } from '../Buttons';\nimport { Link, type LinkProps } from '../Link';\nimport { Separator, type SeparatorProps } from '../Separator';\n\ntype ToolbarRootProps = ThemedClassName<ToolbarPrimitive.ToolbarProps>;\n\nconst ToolbarRoot = forwardRef<HTMLDivElement, ToolbarRootProps>(({ classNames, children, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <ToolbarPrimitive.Root {...props} className={tx('toolbar.root', 'toolbar', {}, classNames)} ref={forwardedRef}>\n {children}\n </ToolbarPrimitive.Root>\n );\n});\n\ntype ToolbarButtonProps = ButtonProps;\n\nconst ToolbarButton = forwardRef<HTMLButtonElement, ToolbarButtonProps>((props, forwardedRef) => {\n return (\n <ToolbarPrimitive.Button asChild>\n <Button {...props} ref={forwardedRef} />\n </ToolbarPrimitive.Button>\n );\n});\n\ntype ToolbarLinkProps = LinkProps;\n\nconst ToolbarLink = forwardRef<HTMLAnchorElement, ToolbarLinkProps>((props, forwardedRef) => {\n return (\n <ToolbarPrimitive.Link asChild>\n <Link {...props} ref={forwardedRef} />\n </ToolbarPrimitive.Link>\n );\n});\n\ntype ToolbarToggleGroupProps = (\n | Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps, 'className'>\n | Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps, 'className'>\n) &\n ButtonGroupProps;\n\nconst ToolbarToggleGroup = forwardRef<HTMLDivElement, ToolbarToggleGroupProps>(\n ({ classNames, children, ...props }, forwardedRef) => {\n return (\n <ToolbarPrimitive.ToolbarToggleGroup {...props} asChild>\n <ButtonGroup {...{ classNames, children }} ref={forwardedRef} />\n </ToolbarPrimitive.ToolbarToggleGroup>\n );\n },\n);\n\ntype ToolbarToggleGroupItemProps = ToggleGroupItemProps;\n\nconst ToolbarToggleGroupItem = forwardRef<HTMLButtonElement, ToolbarToggleGroupItemProps>(\n ({ variant, density, elevation, classNames, children, ...props }, forwardedRef) => {\n return (\n <ToolbarPrimitive.ToolbarToggleItem {...props} asChild>\n <Button {...{ variant, density, elevation, classNames, children }} ref={forwardedRef} />\n </ToolbarPrimitive.ToolbarToggleItem>\n );\n },\n);\n\ntype ToolbarSeparatorProps = SeparatorProps;\n\nconst ToolbarSeparator = (props: SeparatorProps) => {\n return (\n <ToolbarPrimitive.Separator asChild>\n <Separator orientation='vertical' {...props} />\n </ToolbarPrimitive.Separator>\n );\n};\n\nexport const Toolbar = {\n Root: ToolbarRoot,\n Button: ToolbarButton,\n Link: ToolbarLink,\n ToggleGroup: ToolbarToggleGroup,\n ToggleGroupItem: ToolbarToggleGroupItem,\n Separator: ToolbarSeparator,\n};\n\nexport type {\n ToolbarRootProps,\n ToolbarButtonProps,\n ToolbarLinkProps,\n ToolbarToggleGroupProps,\n ToolbarToggleGroupItemProps,\n ToolbarSeparatorProps,\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Provider as TooltipProviderPrimitive,\n type TooltipProviderProps as TooltipProviderPrimitiveProps,\n Root as TooltipRootPrimitive,\n type TooltipProps as TooltipRootPrimitiveProps,\n type TooltipContentProps as TooltipContentPrimitiveProps,\n TooltipContent as TooltipContentPrimitive,\n type TooltipTriggerProps as TooltipTriggerPrimitiveProps,\n TooltipTrigger as TooltipTriggerPrimitive,\n type TooltipPortalProps as TooltipPortalPrimitiveProps,\n TooltipPortal as TooltipPortalPrimitive,\n type TooltipArrowProps as TooltipArrowPrimitiveProps,\n TooltipArrow as TooltipArrowPrimitive,\n} from '@radix-ui/react-tooltip';\nimport React, { forwardRef, type FunctionComponent } from 'react';\n\nimport { useThemeContext } from '../../hooks';\nimport { type ThemedClassName } from '../../util';\n\ntype TooltipProviderProps = TooltipProviderPrimitiveProps;\n\nconst TooltipProvider: FunctionComponent<TooltipProviderProps> = TooltipProviderPrimitive;\n\ntype TooltipRootProps = TooltipRootPrimitiveProps;\n\nconst TooltipRoot: FunctionComponent<TooltipRootProps> = TooltipRootPrimitive;\n\ntype TooltipPortalProps = TooltipPortalPrimitiveProps;\n\nconst TooltipPortal = TooltipPortalPrimitive;\n\ntype TooltipTriggerProps = TooltipTriggerPrimitiveProps;\n\nconst TooltipTrigger = TooltipTriggerPrimitive;\n\ntype TooltipArrowProps = ThemedClassName<TooltipArrowPrimitiveProps>;\n\nconst TooltipArrow = forwardRef<SVGSVGElement, TooltipArrowProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <TooltipArrowPrimitive\n {...props}\n className={tx('tooltip.arrow', 'tooltip__arrow', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\ntype TooltipContentProps = ThemedClassName<TooltipContentPrimitiveProps>;\n\nconst TooltipContent = forwardRef<HTMLDivElement, TooltipContentProps>(({ classNames, ...props }, forwardedRef) => {\n const { tx } = useThemeContext();\n return (\n <TooltipContentPrimitive\n sideOffset={4}\n collisionPadding={8}\n {...props}\n className={tx('tooltip.content', 'tooltip', {}, classNames)}\n ref={forwardedRef}\n />\n );\n});\n\nexport const Tooltip = {\n Provider: TooltipProvider,\n Root: TooltipRoot,\n Portal: TooltipPortal,\n Trigger: TooltipTrigger,\n Arrow: TooltipArrow,\n Content: TooltipContent,\n};\n\nexport type {\n TooltipProviderProps,\n TooltipRootProps,\n TooltipPortalProps,\n TooltipTriggerProps,\n TooltipArrowProps,\n TooltipContentProps,\n};\n", "//\n// Copyright 2022 DXOS.org\n//\n\nimport { createKeyborg } from 'keyborg';\nimport React, { createContext, type PropsWithChildren, useEffect } from 'react';\n\nimport { type Density, type Elevation, type ThemeFunction } from '@dxos/react-ui-types';\n\nimport { TranslationsProvider, type TranslationsProviderProps } from './TranslationsProvider';\nimport { hasIosKeyboard } from '../../util';\nimport { DensityProvider } from '../DensityProvider';\nimport { ElevationProvider } from '../ElevationProvider';\n\nexport type ThemeMode = 'light' | 'dark';\n\nexport interface ThemeContextValue {\n tx: ThemeFunction<any>;\n themeMode: ThemeMode;\n hasIosKeyboard: boolean;\n}\n\nexport type ThemeProviderProps = Omit<TranslationsProviderProps, 'children'> &\n Partial<ThemeContextValue> &\n PropsWithChildren<{\n rootElevation?: Elevation;\n rootDensity?: Density;\n }>;\n\nexport const ThemeContext = createContext<ThemeContextValue>({\n tx: (_path, defaultClassName, _styleProps, ..._options) => defaultClassName,\n themeMode: 'dark', // TODO(burdon): Reconsider default.\n hasIosKeyboard: false,\n});\n\nconst handleInputModalityChange = (isUsingKeyboard: boolean) => {\n if (isUsingKeyboard) {\n document.body.setAttribute('data-is-keyboard', 'true');\n } else {\n document.body.removeAttribute('data-is-keyboard');\n }\n};\n\nexport const ThemeProvider = ({\n children,\n fallback = null,\n resourceExtensions,\n appNs,\n tx = (_path, defaultClassName, _styleProps, ..._options) => defaultClassName,\n themeMode = 'dark',\n rootElevation = 'base',\n rootDensity = 'coarse',\n}: ThemeProviderProps) => {\n useEffect(() => {\n if (document.defaultView) {\n const kb = createKeyborg(document.defaultView);\n kb.subscribe(handleInputModalityChange);\n return () => kb.unsubscribe(handleInputModalityChange);\n }\n }, []);\n return (\n <ThemeContext.Provider value={{ tx, themeMode, hasIosKeyboard: hasIosKeyboard() }}>\n <TranslationsProvider\n {...{\n fallback,\n resourceExtensions,\n appNs,\n }}\n >\n <ElevationProvider elevation={rootElevation}>\n <DensityProvider density={rootDensity}>{children}</DensityProvider>\n </ElevationProvider>\n </TranslationsProvider>\n </ThemeContext.Provider>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nexport const hasIosKeyboard = () => {\n // TODO(thure): UA sniffing is never good, however I haven’t found a better way to query for whether the on-screen keyboard will appear on `focus` outside of a click handler.\n return !!navigator.userAgent.match(/iP(ad|od|hone).+Safari/);\n};\n"],
|
|
5
|
-
"mappings": ";AAKA,SAASA,gBAAgBC,aAAa;AACtC,cAAc;AACd,cAAc;;;ACHd,SAASC,iBAAiB;AAC1B,SAASC,YAAY;AACrB,OAAOC,UAAqCC,kBAAkB;;;ACF9D,SAASC,kBAAkB;AAMpB,IAAMC,oBAAoB,CAACC,iBAAAA;AAChC,QAAM,EAAEC,QAAO,IAAKC,WAAWC,cAAAA;AAC/B,SAAOH,gBAAgBC;AACzB;;;ACTA,SAASG,cAAAA,mBAAkB;AAMpB,IAAMC,sBAAsB,CAACC,mBAAAA;AAClC,QAAM,EAAEC,UAAS,IAAKC,YAAWC,gBAAAA;AACjC,SAAOH,kBAAkBC;AAC3B;;;ACTA,SAASG,cAAAA,mBAAkB;;;ACA3B,OAAOC,aAAgC;AACvC,OAAOC,SAAyBC,WAAWC,eAAeC,UAAUC,gBAAgB;AACpF,SAASC,wBAAwB;AAEjC,IAAMC,aAAa;AACnB,IAAMC,YAAY;AAEX,IAAMC,YAAY;EACvB,CAACF,UAAAA,GAAa;IACZ,CAACC,S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G,CAAA,CAAE;AACL,SACE,gBAAAmB,QAAA,cAAC5B,aAAa6B,UAAQ;IAACC,OAAO;MAAE5B;MAAIK;MAAWC,gBAAgBA,eAAAA;IAAiB;KAC9E,gBAAAoB,QAAA,cAACG,sBACK;IACFd;IACAC;IACAC;EACF,GAEA,gBAAAS,QAAA,cAACI,mBAAAA;IAAkBC,WAAWb;KAC5B,gBAAAQ,QAAA,cAACM,iBAAAA;IAAgBC,SAASd;KAAcL,QAAAA,CAAAA,CAAAA,CAAAA;AAKlD;",
|
|
6
|
-
"names": ["useTranslation", "Trans", "Primitive", "Slot", "React", "forwardRef", "useContext", "useDensityContext", "propsDensity", "density", "useContext", "DensityContext", "useContext", "useElevationContext", "propsElevation", "elevation", "useContext", "ElevationContext", "useContext", "i18Next", "React", "useEffect", "createContext", "useState", "Suspense", "initReactI18next", "initialLng", "initialNs", "resources", "i18Next", "use", "initReactI18next", "init", "lng", "defaultNS", "interpolation", "escapeValue", "TranslationsContext", "createContext", "appNs", "TranslationsProvider", "fallback", "resourceExtensions", "children", "loaded", "setLoaded", "useState", "useEffect", "length", "forEach", "resource", "Object", "keys", "language", "ns", "addResourceBundle", "Provider", "value", "Suspense", "useTranslationsContext", "useContext", "TranslationsContext", "useContext", "useThemeContext", "useContext", "ThemeContext", "useEffect", "useState", "useVisualViewport", "deps", "width", "setWidth", "useState", "height", "setHeight", "useEffect", "handleResize", "window", "visualViewport", "addEventListener", "removeEventListener", "AnchoredOverflowRoot", "forwardRef", "asChild", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "div", "React", "role", "className", "ref", "AnchoredOverflowAnchor", "AnchoredOverflow", "Anchor", "Root", "AvatarRootPrimitive", "Fallback", "AvatarFallbackPrimitive", "createContext", "Primitive", "Slot", "toSvg", "React", "forwardRef", "useMemo", "useId", "AVATAR_NAME", "AvatarProvider", "useAvatarContext", "createContext", "AvatarRoot", "size", "variant", "status", "animation", "children", "labelId", "propsLabelId", "descriptionId", "propsDescriptionId", "maskId", "propsMaskId", "inGroup", "color", "useId", "React", "rx", "AvatarFrame", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "numericSize", "Number", "sizePx", "ringWidth", "ringGap", "r", "AvatarRootPrimitive", "role", "className", "ref", "svg", "viewBox", "width", "height", "defs", "mask", "id", "circle", "fill", "cx", "cy", "rect", "x", "y", "span", "style", "borderWidth", "AvatarLabel", "asChild", "srOnly", "Root", "Slot", "Primitive", "AvatarDescription", "AvatarMaskedImage", "image", "preserveAspectRatio", "AvatarMaskedText", "large", "fontScale", "text", "textAnchor", "alignmentBaseline", "fontSize", "AvatarImage", "onLoadingStatusChange", "pxSize", "AvatarFallbackPrimitive", "AvatarFallback", "delayMs", "isTextOnly", "Boolean", "test", "toLocaleUpperCase", "getJdenticonHref", "value", "encodeURIComponent", "toSvg", "padding", "useJdenticonHref", "useMemo", "Avatar", "Frame", "Image", "Fallback", "Label", "Description", "React", "forwardRef", "useId", "AvatarGroupRoot", "forwardRef", "labelId", "propsLabelId", "descriptionId", "propsDescriptionId", "size", "variant", "children", "classNames", "forwardedRef", "tx", "useThemeContext", "useId", "React", "Avatar", "Root", "inGroup", "div", "role", "className", "aria-labelledby", "aria-describedby", "ref", "AvatarGroupItemRoot", "maskId", "status", "rest", "contextSize", "contextVariant", "useAvatarContext", "AvatarGroupLabel", "srOnly", "props", "span", "id", "AvatarGroupDescription", "AvatarGroup", "Label", "Description", "AvatarGroupItem", "Dot", "Primitive", "Slot", "React", "forwardRef", "Primitive", "Slot", "React", "forwardRef", "Link", "forwardRef", "asChild", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "a", "React", "className", "ref", "BreadcrumbRoot", "forwardRef", "asChild", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "div", "React", "role", "className", "ref", "BreadcrumbList", "ol", "BreadcrumbListItem", "li", "BreadcrumbLink", "Link", "BreadcrumbCurrent", "aria-current", "BreadcrumbSeparator", "children", "span", "aria-hidden", "Dot", "weight", "Breadcrumb", "List", "ListItem", "Current", "Separator", "createContext", "Primitive", "Slot", "React", "forwardRef", "BUTTON_GROUP_NAME", "BUTTON_NAME", "ButtonGroupProvider", "useButtonGroupContext", "createContext", "inGroup", "Button", "forwardRef", "classNames", "children", "density", "propsDensity", "elevation", "propsElevation", "variant", "asChild", "props", "ref", "tx", "useThemeContext", "useElevationContext", "useDensityContext", "Root", "Slot", "Primitive", "button", "React", "className", "disabled", "displayName", "ButtonGroup", "forwardedRef", "div", "role", "Toggle", "TogglePrimitive", "React", "forwardRef", "Toggle", "forwardRef", "defaultPressed", "pressed", "onPressedChange", "props", "forwardedRef", "React", "TogglePrimitive", "asChild", "Button", "ref", "ToggleGroup", "ToggleGroupPrimitive", "ToggleGroupItem", "ToggleGroupItemPrimitive", "React", "forwardRef", "ToggleGroup", "forwardRef", "classNames", "children", "props", "forwardedRef", "React", "ToggleGroupPrimitive", "asChild", "ButtonGroup", "ref", "ToggleGroupItem", "variant", "elevation", "density", "ToggleGroupItemPrimitive", "Button", "createContext", "Root", "DialogRootPrimitive", "DialogTrigger", "DialogTriggerPrimitive", "DialogPortal", "DialogPortalPrimitive", "DialogOverlay", "DialogOverlayPrimitive", "DialogTitle", "DialogTitlePrimitive", "DialogDescription", "DialogDescriptionPrimitive", "DialogClose", "DialogClosePrimitive", "DialogContent", "DialogContentPrimitive", "React", "forwardRef", "React", "createContext", "ElevationContext", "createContext", "elevation", "ElevationProvider", "children", "React", "Provider", "value", "DialogRoot", "DialogRootPrimitive", "DialogTrigger", "DialogTriggerPrimitive", "DialogPortal", "DialogPortalPrimitive", "DialogTitle", "forwardRef", "classNames", "srOnly", "props", "forwardedRef", "tx", "useThemeContext", "React", "DialogTitlePrimitive", "className", "ref", "DialogDescription", "DialogDescriptionPrimitive", "DialogClose", "DialogClosePrimitive", "DIALOG_OVERLAY_NAME", "DIALOG_CONTENT_NAME", "OverlayLayoutProvider", "useOverlayLayoutContext", "createContext", "inOverlayLayout", "DialogOverlay", "children", "DialogOverlayPrimitive", "displayName", "DialogContent", "DialogContentPrimitive", "ElevationProvider", "elevation", "Dialog", "Root", "Trigger", "Portal", "Overlay", "Content", "Title", "Description", "Close", "Root", "AlertDialogRootPrimitive", "AlertDialogTrigger", "AlertDialogTriggerPrimitive", "AlertDialogPortal", "AlertDialogPortalPrimitive", "AlertDialogOverlay", "AlertDialogOverlayPrimitive", "AlertDialogTitle", "AlertDialogTitlePrimitive", "AlertDialogDescription", "AlertDialogDescriptionPrimitive", "AlertDialogAction", "AlertDialogActionPrimitive", "AlertDialogCancel", "AlertDialogCancelPrimitive", "AlertDialogContent", "AlertDialogContentPrimitive", "createContext", "React", "forwardRef", "AlertDialogRoot", "AlertDialogRootPrimitive", "AlertDialogTrigger", "AlertDialogTriggerPrimitive", "AlertDialogPortal", "AlertDialogPortalPrimitive", "AlertDialogCancel", "AlertDialogCancelPrimitive", "AlertDialogAction", "AlertDialogActionPrimitive", "AlertDialogTitle", "forwardRef", "classNames", "srOnly", "props", "forwardedRef", "tx", "useThemeContext", "React", "AlertDialogTitlePrimitive", "className", "ref", "AlertDialogDescription", "AlertDialogDescriptionPrimitive", "ALERT_DIALOG_OVERLAY_NAME", "ALERT_DIALOG_CONTENT_NAME", "OverlayLayoutProvider", "useOverlayLayoutContext", "createContext", "inOverlayLayout", "AlertDialogOverlay", "children", "AlertDialogOverlayPrimitive", "displayName", "AlertDialogContent", "AlertDialogContentPrimitive", "ElevationProvider", "elevation", "AlertDialog", "Root", "Trigger", "Portal", "Overlay", "Content", "Title", "Description", "Cancel", "Action", "ContextMenuPrimitive", "Primitive", "Slot", "React", "forwardRef", "ContextMenuRoot", "ContextMenu", "ContextMenuTrigger", "Trigger", "ContextMenuPortal", "Portal", "ContextMenuContent", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Content", "collisionPadding", "className", "ref", "ElevationProvider", "elevation", "ContextMenuViewport", "asChild", "Root", "Slot", "Primitive", "div", "ContextMenuArrow", "Arrow", "ContextMenuGroup", "Group", "ContextMenuItemIndicator", "ItemIndicator", "ContextMenuItem", "Item", "ContextMenuCheckboxItem", "CheckboxItem", "ContextMenuSeparator", "Separator", "ContextMenuGroupLabel", "Label", "Viewport", "GroupLabel", "DropdownMenuPrimitive", "Primitive", "Slot", "React", "forwardRef", "DropdownMenuRoot", "DropdownMenu", "DropdownMenuTrigger", "Trigger", "DropdownMenuPortal", "Portal", "DropdownMenuContent", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Content", "sideOffset", "collisionPadding", "className", "ref", "ElevationProvider", "elevation", "DropdownMenuViewport", "asChild", "Root", "Slot", "Primitive", "div", "DropdownMenuArrow", "Arrow", "DropdownMenuGroup", "Group", "DropdownMenuItemIndicator", "ItemIndicator", "DropdownMenuItem", "Item", "DropdownMenuCheckboxItem", "CheckboxItem", "DropdownMenuSeparator", "Separator", "DropdownMenuGroupLabel", "Label", "Viewport", "GroupLabel", "Check", "Minus", "Root", "CheckboxPrimitive", "Indicator", "CheckboxIndicatorPrimitive", "SwitchPrimitive", "Thumb", "SwitchThumbPrimitive", "useControllableState", "React", "forwardRef", "Fragment", "useCallback", "InputRoot", "PinInput", "PinInputPrimitive", "TextInput", "TextInputPrimitive", "TextArea", "TextAreaPrimitive", "useInputContext", "INPUT_NAME", "Description", "DescriptionPrimitive", "DescriptionAndValidation", "DescriptionAndValidationPrimitive", "Label", "LabelPrimitive", "Validation", "ValidationPrimitive", "Label", "forwardRef", "srOnly", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "LabelPrimitive", "className", "ref", "Description", "DescriptionPrimitive", "Validation", "__inputScope", "validationValence", "useInputContext", "INPUT_NAME", "ValidationPrimitive", "DescriptionAndValidation", "DescriptionAndValidationPrimitive", "PinInput", "density", "propsDensity", "elevation", "propsElevation", "segmentClassName", "propsSegmentClassName", "inputClassName", "variant", "hasIosKeyboard", "useDensityContext", "useElevationContext", "useCallback", "focused", "disabled", "PinInputPrimitive", "autoFocus", "TextInput", "themeContextValue", "TextInputPrimitive", "TextArea", "TextAreaPrimitive", "Checkbox", "checked", "propsChecked", "defaultChecked", "propsDefaultChecked", "onCheckedChange", "propsOnCheckedChange", "size", "weight", "useControllableState", "prop", "defaultProp", "onChange", "id", "descriptionId", "errorMessageId", "Icon", "Minus", "Check", "Fragment", "CheckboxPrimitive", "CheckboxIndicatorPrimitive", "asChild", "Switch", "SwitchPrimitive", "SwitchThumbPrimitive", "Input", "Root", "InputRoot", "CaretDown", "CaretRight", "Slot", "React", "forwardRef", "List", "ListPrimitive", "ListItemHeading", "ListPrimitiveItemHeading", "ListItemOpenTrigger", "ListPrimitiveItemOpenTrigger", "ListItemCollapsibleContent", "ListItem", "ListPrimitiveItem", "LIST_NAME", "LIST_ITEM_NAME", "useListContext", "useListItemContext", "React", "createContext", "DensityContext", "createContext", "density", "DensityProvider", "children", "React", "Provider", "value", "List", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "density", "useDensityContext", "React", "DensityProvider", "ListPrimitive", "className", "ref", "ListItemEndcap", "asChild", "Root", "Slot", "role", "MockListItemOpenTrigger", "div", "ListItemHeading", "ListPrimitiveItemHeading", "ListItemOpenTrigger", "__listItemScope", "open", "useListItemContext", "LIST_ITEM_NAME", "Icon", "CaretDown", "CaretRight", "ListPrimitiveItemOpenTrigger", "weight", "ListItemRoot", "ListPrimitiveItem", "collapsible", "ListItem", "Endcap", "Heading", "OpenTrigger", "CollapsibleContent", "ListItemCollapsibleContent", "MockOpenTrigger", "React", "forwardRef", "TreeRoot", "forwardRef", "props", "forwardedRef", "React", "List", "ref", "TreeBranch", "__listScope", "headingId", "useListItemContext", "LIST_ITEM_NAME", "aria-labelledby", "TreeItemRoot", "ListItem", "Root", "role", "TreeItemHeading", "Heading", "TreeItemOpenTrigger", "OpenTrigger", "MockTreeItemOpenTrigger", "MockOpenTrigger", "TreeItemBody", "CollapsibleContent", "Tree", "Branch", "TreeItem", "Body", "createContext", "Root", "DialogRoot", "DialogContent", "Primitive", "Slot", "useControllableState", "React", "forwardRef", "useCallback", "useRef", "useMediaQuery", "useForwardedRef", "useCallback", "useEffect", "useState", "MotionState", "IDLE", "DEBOUNCING", "FOLLOWING", "useSwipeToDismiss", "ref", "onDismiss", "dismissThreshold", "debounceThreshold", "offset", "$root", "current", "motionState", "setMotionState", "useState", "gestureStartX", "setGestureStartX", "setIdle", "useCallback", "style", "removeProperty", "setProperty", "setFollowing", "handlePointerDown", "screenX", "handlePointerMove", "delta", "Math", "min", "abs", "handlePointerUp", "useEffect", "addEventListener", "removeEventListener", "document", "documentElement", "MAIN_ROOT_NAME", "NAVIGATION_SIDEBAR_NAME", "COMPLEMENTARY_SIDEBAR_NAME", "MAIN_NAME", "GENERIC_CONSUMER_NAME", "MainProvider", "useMainContext", "createContext", "navigationSidebarOpen", "setNavigationSidebarOpen", "nextOpen", "console", "warn", "complementarySidebarOpen", "setComplementarySidebarOpen", "useSidebars", "consumerName", "toggleNavigationSidebar", "useCallback", "openNavigationSidebar", "closeNavigationSidebar", "toggleComplementarySidebar", "openComplementarySidebar", "closeComplementarySidebar", "MainRoot", "propsNavigationSidebarOpen", "defaultNavigationSidebarOpen", "onNavigationSidebarOpenChange", "propsComplementarySidebarOpen", "defaultComplementarySidebarOpen", "onComplementarySidebarOpenChange", "children", "props", "isLg", "useMediaQuery", "ssr", "useControllableState", "prop", "defaultProp", "onChange", "React", "displayName", "handleOpenAutoFocus", "event", "document", "body", "hasAttribute", "preventDefault", "MainSidebar", "forwardRef", "classNames", "swipeToDismiss", "onOpenAutoFocus", "open", "setOpen", "side", "forwardedRef", "tx", "useThemeContext", "ref", "useForwardedRef", "noopRef", "useRef", "useSwipeToDismiss", "onDismiss", "Root", "Primitive", "div", "DialogContent", "DialogRoot", "modal", "forceMount", "tabIndex", "className", "inert", "ElevationProvider", "elevation", "MainNavigationSidebar", "MainComplementarySidebar", "MainContent", "asChild", "bounce", "Slot", "inlineStartSidebarOpen", "inlineEndSidebarOpen", "MainOverlay", "onClick", "data-open", "aria-hidden", "data-aria-hidden", "Main", "Content", "Overlay", "NavigationSidebar", "ComplementarySidebar", "createContext", "Primitive", "Slot", "React", "forwardRef", "useId", "MESSAGE_NAME", "MessageProvider", "useMessageContext", "createContext", "MessageRoot", "forwardRef", "asChild", "valence", "elevation", "propsElevation", "className", "titleId", "propsTitleId", "descriptionId", "propsDescriptionId", "children", "props", "forwardedRef", "tx", "useThemeContext", "useId", "useElevationContext", "Root", "Slot", "Primitive", "div", "React", "aria-labelledby", "aria-describedby", "ref", "displayName", "MESSAGE_TITLE_NAME", "MessageTitle", "h2", "id", "MESSAGE_BODY_NAME", "MessageBody", "p", "Message", "Title", "Body", "Root", "PopoverRootPrimitive", "PopoverContent", "PopoverContentPrimitive", "PopoverTrigger", "PopoverTriggerPrimitive", "PopoverAnchor", "PopoverAnchorPrimitive", "PopoverPortal", "PopoverPortalPrimitive", "PopoverArrow", "PopoverArrowPrimitive", "PopoverClose", "PopoverClosePrimitive", "Primitive", "Slot", "React", "forwardRef", "PopoverRoot", "PopoverRootPrimitive", "PopoverPortal", "PopoverPortalPrimitive", "PopoverTrigger", "PopoverTriggerPrimitive", "PopoverAnchor", "PopoverAnchorPrimitive", "PopoverClose", "PopoverClosePrimitive", "PopoverArrow", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "PopoverArrowPrimitive", "className", "ref", "PopoverContent", "children", "PopoverContentPrimitive", "sideOffset", "collisionPadding", "ElevationProvider", "elevation", "PopoverViewport", "asChild", "constrainInline", "constrainBlock", "Root", "Slot", "Primitive", "div", "Popover", "Portal", "Trigger", "Anchor", "Arrow", "Close", "Content", "Viewport", "React", "forwardRef", "Status", "forwardRef", "classNames", "children", "progress", "indeterminate", "props", "forwardedRef", "tx", "useThemeContext", "React", "span", "role", "className", "ref", "style", "width", "Math", "round", "Root", "ScrollAreaPrimitiveRoot", "Viewport", "ScrollAreaPrimitiveViewport", "Scrollbar", "ScrollAreaPrimitiveScrollbar", "Thumb", "ScrollAreaPrimitiveThumb", "Corner", "ScrollAreaPrimitiveCorner", "React", "forwardRef", "ScrollAreaRoot", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "ScrollAreaPrimitiveRoot", "className", "ref", "ScrollAreaViewport", "ScrollAreaPrimitiveViewport", "ScrollAreaScrollbar", "ScrollAreaPrimitiveScrollbar", "ScrollAreaThumb", "ScrollAreaPrimitiveThumb", "ScrollAreaCorner", "ScrollAreaPrimitiveCorner", "ScrollArea", "Root", "Viewport", "Scrollbar", "Thumb", "Corner", "CaretDown", "CaretUp", "Check", "SelectPrimitive", "React", "forwardRef", "SelectRoot", "Root", "SelectTrigger", "Trigger", "SelectValue", "Value", "SelectIcon", "Icon", "SelectPortal", "Portal", "SelectTriggerButton", "forwardRef", "placeholder", "props", "forwardedRef", "React", "asChild", "ref", "Button", "className", "CaretDown", "weight", "SelectContent", "classNames", "children", "tx", "useThemeContext", "Content", "SelectScrollUpButton", "CaretUp", "SelectScrollDownButton", "SelectViewport", "Viewport", "SelectItem", "Item", "SelectItemText", "ItemText", "SelectItemIndicator", "ItemIndicator", "SelectOption", "Check", "SelectGroup", "Group", "SelectLabel", "Label", "SelectSeparator", "Separator", "SelectArrow", "Arrow", "Select", "TriggerButton", "ScrollUpButton", "ScrollDownButton", "Option", "Separator", "SeparatorPrimitive", "React", "Separator", "classNames", "orientation", "props", "tx", "useThemeContext", "React", "SeparatorPrimitive", "className", "Primitive", "Slot", "React", "forwardRef", "Tag", "forwardRef", "asChild", "palette", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "span", "React", "className", "ref", "Primitive", "Slot", "ToastProvider", "ToastProviderPrimitive", "ToastViewport", "ToastViewportPrimitive", "Root", "ToastRootPrimitive", "ToastTitle", "ToastTitlePrimitive", "ToastDescription", "ToastDescriptionPrimitive", "ToastAction", "ToastActionPrimitive", "ToastClose", "ToastClosePrimitive", "React", "forwardRef", "ToastProvider", "ToastProviderPrimitive", "ToastViewport", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "ToastViewportPrimitive", "className", "ref", "ToastRoot", "children", "ToastRootPrimitive", "ElevationProvider", "elevation", "DensityProvider", "density", "ToastBody", "asChild", "Root", "Slot", "Primitive", "div", "ToastTitle", "ToastTitlePrimitive", "ToastDescription", "ToastDescriptionPrimitive", "ToastActions", "ToastAction", "ToastActionPrimitive", "ToastClose", "ToastClosePrimitive", "Toast", "Provider", "Viewport", "Body", "Title", "Description", "Actions", "Action", "Close", "ToolbarPrimitive", "React", "forwardRef", "ToolbarRoot", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Root", "className", "ref", "ToolbarButton", "Button", "asChild", "ToolbarLink", "Link", "ToolbarToggleGroup", "ButtonGroup", "ToolbarToggleGroupItem", "variant", "density", "elevation", "ToolbarToggleItem", "ToolbarSeparator", "Separator", "orientation", "Toolbar", "ToggleGroup", "ToggleGroupItem", "Provider", "TooltipProviderPrimitive", "Root", "TooltipRootPrimitive", "TooltipContent", "TooltipContentPrimitive", "TooltipTrigger", "TooltipTriggerPrimitive", "TooltipPortal", "TooltipPortalPrimitive", "TooltipArrow", "TooltipArrowPrimitive", "React", "forwardRef", "TooltipProvider", "TooltipProviderPrimitive", "TooltipRoot", "TooltipRootPrimitive", "TooltipPortal", "TooltipPortalPrimitive", "TooltipTrigger", "TooltipTriggerPrimitive", "TooltipArrow", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "TooltipArrowPrimitive", "className", "ref", "TooltipContent", "TooltipContentPrimitive", "sideOffset", "collisionPadding", "Tooltip", "Provider", "Root", "Portal", "Trigger", "Arrow", "Content", "createKeyborg", "React", "createContext", "useEffect", "hasIosKeyboard", "navigator", "userAgent", "match", "ThemeContext", "createContext", "tx", "_path", "defaultClassName", "_styleProps", "_options", "themeMode", "hasIosKeyboard", "handleInputModalityChange", "isUsingKeyboard", "document", "body", "setAttribute", "removeAttribute", "ThemeProvider", "children", "fallback", "resourceExtensions", "appNs", "rootElevation", "rootDensity", "useEffect", "defaultView", "kb", "createKeyborg", "subscribe", "unsubscribe", "React", "Provider", "value", "TranslationsProvider", "ElevationProvider", "elevation", "DensityProvider", "density"]
|
|
5
|
+
"mappings": ";AAKA,SAASA,gBAAgBC,aAAa;AACtC,cAAc;AACd,cAAc;;;ACHd,SAASC,iBAAiB;AAC1B,SAASC,YAAY;AACrB,OAAOC,UAAqCC,kBAAkB;;;ACF9D,SAASC,kBAAkB;AAMpB,IAAMC,oBAAoB,CAACC,iBAAAA;AAChC,QAAM,EAAEC,QAAO,IAAKC,WAAWC,cAAAA;AAC/B,SAAOH,gBAAgBC;AACzB;;;ACTA,SAASG,cAAAA,mBAAkB;AAMpB,IAAMC,sBAAsB,CAACC,mBAAAA;AAClC,QAAM,EAAEC,UAAS,IAAKC,YAAWC,gBAAAA;AACjC,SAAOH,kBAAkBC;AAC3B;;;ACTA,SAASG,cAAAA,mBAAkB;;;ACA3B,OAAOC,aAAgC;AACvC,OAAOC,SAAyBC,WAAWC,eAAeC,UAAUC,gBAAgB;AACpF,SAASC,wBAAwB;AAEjC,IAAMC,aAAa;AACnB,IAAMC,YAAY;AAEX,IAAMC,YAAY;EACvB,CAACF,UAAAA,GAAa;IACZ,CAACC,SAAAA,GAAY;MACX,wBAAwB;IAC1B;EACF;AACF;AAEA,KAAKE,QAAQC,IAAIC,gBAAAA,EAAkBC,KAAK;EACtCJ;EACAK,KAAKP;EACLQ,WAAWP;EACXQ,eAAe;IACbC,aAAa;EACf;AACF,CAAA;AASO,IAAMC,sBAAsBC,8BAAc;EAC/CC,OAAOZ;AACT,CAAA;AAEO,IAAMa,uBAAuB,CAAC,EAAEC,UAAUC,oBAAoBC,UAAUJ,MAAK,MAA6B;AAC/G,QAAM,CAACK,QAAQC,SAAAA,IAAaC,SAAS,KAAA;AACrCC,YAAU,MAAA;AACRF,cAAU,KAAA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,gBAAiC;EAC3DC,IAAI,CAACC,OAAOC,kBAAkBC,gBAAgBC,aAAaF;EAC3DG,WAAW;EACXC,gBAAgB;AAClB,CAAA;AAEA,IAAMC,4BAA4B,CAACC,oBAAAA;AACjC,MAAIA,iBAAiB;AACnBC,aAASC,KAAKC,aAAa,oBAAoB,MAAA;EACjD,OAAO;AACLF,aAASC,KAAKE,gBAAgB,kBAAA;EAChC;AACF;AAEO,IAAMC,gBAAgB,CAAC,EAC5BC,UACAC,WAAW,MACXC,oBACAC,OACAjB,KAAK,CAACC,OAAOC,kBAAkBC,gBAAgBC,aAAaF,kBAC5DG,YAAY,QACZa,gBAAgB,QAChBC,cAAc,SAAQ,MACH;AACnBC,EAAAA,WAAU,MAAA;AACR,QAAIX,SAASY,aAAa;AACxB,YAAMC,KAAKC,cAAcd,SAASY,WAAW;AAC7CC,SAAGE,UAAUjB,yBAAAA;AACb,aAAO,MAAMe,GAAGG,YAAYlB,yBAAAA;IAC9B;EACF,GAAG,CAAA,CAAE;AACL,SACE,gBAAAmB,QAAA,cAAC5B,aAAa6B,UAAQ;IAACC,OAAO;MAAE5B;MAAIK;MAAWC,gBAAgBA,eAAAA;IAAiB;KAC9E,gBAAAoB,QAAA,cAACG,sBACK;IACFd;IACAC;IACAC;EACF,GAEA,gBAAAS,QAAA,cAACI,mBAAAA;IAAkBC,WAAWb;KAC5B,gBAAAQ,QAAA,cAACM,iBAAAA;IAAgBC,SAASd;KAAcL,QAAAA,CAAAA,CAAAA,CAAAA;AAKlD;",
|
|
6
|
+
"names": ["useTranslation", "Trans", "Primitive", "Slot", "React", "forwardRef", "useContext", "useDensityContext", "propsDensity", "density", "useContext", "DensityContext", "useContext", "useElevationContext", "propsElevation", "elevation", "useContext", "ElevationContext", "useContext", "i18Next", "React", "useEffect", "createContext", "useState", "Suspense", "initReactI18next", "initialLng", "initialNs", "resources", "i18Next", "use", "initReactI18next", "init", "lng", "defaultNS", "interpolation", "escapeValue", "TranslationsContext", "createContext", "appNs", "TranslationsProvider", "fallback", "resourceExtensions", "children", "loaded", "setLoaded", "useState", "useEffect", "length", "forEach", "resource", "Object", "keys", "language", "ns", "addResourceBundle", "Provider", "value", "Suspense", "useTranslationsContext", "useContext", "TranslationsContext", "useContext", "useThemeContext", "useContext", "ThemeContext", "useEffect", "useState", "useVisualViewport", "deps", "width", "setWidth", "useState", "height", "setHeight", "useEffect", "handleResize", "window", "visualViewport", "addEventListener", "removeEventListener", "AnchoredOverflowRoot", "forwardRef", "asChild", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "div", "React", "role", "className", "ref", "AnchoredOverflowAnchor", "AnchoredOverflow", "Anchor", "Root", "AvatarRootPrimitive", "Fallback", "AvatarFallbackPrimitive", "createContext", "Primitive", "Slot", "toSvg", "React", "forwardRef", "useMemo", "useId", "AVATAR_NAME", "AvatarProvider", "useAvatarContext", "createContext", "AvatarRoot", "size", "variant", "status", "animation", "children", "labelId", "propsLabelId", "descriptionId", "propsDescriptionId", "maskId", "propsMaskId", "inGroup", "color", "useId", "React", "rx", "AvatarFrame", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "numericSize", "Number", "sizePx", "ringWidth", "ringGap", "r", "AvatarRootPrimitive", "role", "className", "ref", "svg", "viewBox", "width", "height", "defs", "mask", "id", "circle", "fill", "cx", "cy", "rect", "x", "y", "span", "style", "borderWidth", "AvatarLabel", "asChild", "srOnly", "Root", "Slot", "Primitive", "AvatarDescription", "AvatarMaskedImage", "image", "preserveAspectRatio", "AvatarMaskedText", "large", "fontScale", "text", "textAnchor", "alignmentBaseline", "fontSize", "AvatarImage", "onLoadingStatusChange", "pxSize", "AvatarFallbackPrimitive", "AvatarFallback", "delayMs", "isTextOnly", "Boolean", "test", "toLocaleUpperCase", "getJdenticonHref", "value", "encodeURIComponent", "toSvg", "padding", "useJdenticonHref", "useMemo", "Avatar", "Frame", "Image", "Fallback", "Label", "Description", "React", "forwardRef", "useId", "AvatarGroupRoot", "forwardRef", "labelId", "propsLabelId", "descriptionId", "propsDescriptionId", "size", "variant", "children", "classNames", "forwardedRef", "tx", "useThemeContext", "useId", "React", "Avatar", "Root", "inGroup", "div", "role", "className", "aria-labelledby", "aria-describedby", "ref", "AvatarGroupItemRoot", "maskId", "status", "rest", "contextSize", "contextVariant", "useAvatarContext", "AvatarGroupLabel", "srOnly", "props", "span", "id", "AvatarGroupDescription", "AvatarGroup", "Label", "Description", "AvatarGroupItem", "Dot", "Primitive", "Slot", "React", "forwardRef", "Primitive", "Slot", "React", "forwardRef", "Link", "forwardRef", "asChild", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "a", "React", "className", "ref", "BreadcrumbRoot", "forwardRef", "asChild", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "div", "React", "role", "className", "ref", "BreadcrumbList", "ol", "BreadcrumbListItem", "li", "BreadcrumbLink", "Link", "BreadcrumbCurrent", "aria-current", "BreadcrumbSeparator", "children", "span", "aria-hidden", "Dot", "weight", "Breadcrumb", "List", "ListItem", "Current", "Separator", "createContext", "Primitive", "Slot", "React", "forwardRef", "BUTTON_GROUP_NAME", "BUTTON_NAME", "ButtonGroupProvider", "useButtonGroupContext", "createContext", "inGroup", "Button", "forwardRef", "classNames", "children", "density", "propsDensity", "elevation", "propsElevation", "variant", "asChild", "props", "ref", "tx", "useThemeContext", "useElevationContext", "useDensityContext", "Root", "Slot", "Primitive", "button", "React", "className", "disabled", "displayName", "ButtonGroup", "forwardedRef", "div", "role", "Toggle", "TogglePrimitive", "React", "forwardRef", "Toggle", "forwardRef", "defaultPressed", "pressed", "onPressedChange", "props", "forwardedRef", "React", "TogglePrimitive", "asChild", "Button", "ref", "ToggleGroup", "ToggleGroupPrimitive", "ToggleGroupItem", "ToggleGroupItemPrimitive", "React", "forwardRef", "ToggleGroup", "forwardRef", "classNames", "children", "props", "forwardedRef", "React", "ToggleGroupPrimitive", "asChild", "ButtonGroup", "ref", "ToggleGroupItem", "variant", "elevation", "density", "ToggleGroupItemPrimitive", "Button", "createContext", "Root", "DialogRootPrimitive", "DialogTrigger", "DialogTriggerPrimitive", "DialogPortal", "DialogPortalPrimitive", "DialogOverlay", "DialogOverlayPrimitive", "DialogTitle", "DialogTitlePrimitive", "DialogDescription", "DialogDescriptionPrimitive", "DialogClose", "DialogClosePrimitive", "DialogContent", "DialogContentPrimitive", "React", "forwardRef", "React", "createContext", "ElevationContext", "createContext", "elevation", "ElevationProvider", "children", "React", "Provider", "value", "DialogRoot", "DialogRootPrimitive", "DialogTrigger", "DialogTriggerPrimitive", "DialogPortal", "DialogPortalPrimitive", "DialogTitle", "forwardRef", "classNames", "srOnly", "props", "forwardedRef", "tx", "useThemeContext", "React", "DialogTitlePrimitive", "className", "ref", "DialogDescription", "DialogDescriptionPrimitive", "DialogClose", "DialogClosePrimitive", "DIALOG_OVERLAY_NAME", "DIALOG_CONTENT_NAME", "OverlayLayoutProvider", "useOverlayLayoutContext", "createContext", "inOverlayLayout", "DialogOverlay", "children", "DialogOverlayPrimitive", "displayName", "DialogContent", "DialogContentPrimitive", "ElevationProvider", "elevation", "Dialog", "Root", "Trigger", "Portal", "Overlay", "Content", "Title", "Description", "Close", "Root", "AlertDialogRootPrimitive", "AlertDialogTrigger", "AlertDialogTriggerPrimitive", "AlertDialogPortal", "AlertDialogPortalPrimitive", "AlertDialogOverlay", "AlertDialogOverlayPrimitive", "AlertDialogTitle", "AlertDialogTitlePrimitive", "AlertDialogDescription", "AlertDialogDescriptionPrimitive", "AlertDialogAction", "AlertDialogActionPrimitive", "AlertDialogCancel", "AlertDialogCancelPrimitive", "AlertDialogContent", "AlertDialogContentPrimitive", "createContext", "React", "forwardRef", "AlertDialogRoot", "AlertDialogRootPrimitive", "AlertDialogTrigger", "AlertDialogTriggerPrimitive", "AlertDialogPortal", "AlertDialogPortalPrimitive", "AlertDialogCancel", "AlertDialogCancelPrimitive", "AlertDialogAction", "AlertDialogActionPrimitive", "AlertDialogTitle", "forwardRef", "classNames", "srOnly", "props", "forwardedRef", "tx", "useThemeContext", "React", "AlertDialogTitlePrimitive", "className", "ref", "AlertDialogDescription", "AlertDialogDescriptionPrimitive", "ALERT_DIALOG_OVERLAY_NAME", "ALERT_DIALOG_CONTENT_NAME", "OverlayLayoutProvider", "useOverlayLayoutContext", "createContext", "inOverlayLayout", "AlertDialogOverlay", "children", "AlertDialogOverlayPrimitive", "displayName", "AlertDialogContent", "AlertDialogContentPrimitive", "ElevationProvider", "elevation", "AlertDialog", "Root", "Trigger", "Portal", "Overlay", "Content", "Title", "Description", "Cancel", "Action", "ContextMenuPrimitive", "Primitive", "Slot", "React", "forwardRef", "ContextMenuRoot", "ContextMenu", "ContextMenuTrigger", "Trigger", "ContextMenuPortal", "Portal", "ContextMenuContent", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Content", "collisionPadding", "className", "ref", "ElevationProvider", "elevation", "ContextMenuViewport", "asChild", "Root", "Slot", "Primitive", "div", "ContextMenuArrow", "Arrow", "ContextMenuGroup", "Group", "ContextMenuItemIndicator", "ItemIndicator", "ContextMenuItem", "Item", "ContextMenuCheckboxItem", "CheckboxItem", "ContextMenuSeparator", "Separator", "ContextMenuGroupLabel", "Label", "Viewport", "GroupLabel", "DropdownMenuPrimitive", "Primitive", "Slot", "React", "forwardRef", "DropdownMenuRoot", "DropdownMenu", "DropdownMenuTrigger", "Trigger", "DropdownMenuPortal", "Portal", "DropdownMenuContent", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Content", "sideOffset", "collisionPadding", "className", "ref", "ElevationProvider", "elevation", "DropdownMenuViewport", "asChild", "Root", "Slot", "Primitive", "div", "DropdownMenuArrow", "Arrow", "DropdownMenuGroup", "Group", "DropdownMenuItemIndicator", "ItemIndicator", "DropdownMenuItem", "Item", "DropdownMenuCheckboxItem", "CheckboxItem", "DropdownMenuSeparator", "Separator", "DropdownMenuGroupLabel", "Label", "Viewport", "GroupLabel", "Check", "Minus", "Root", "CheckboxPrimitive", "Indicator", "CheckboxIndicatorPrimitive", "SwitchPrimitive", "Thumb", "SwitchThumbPrimitive", "useControllableState", "React", "forwardRef", "Fragment", "useCallback", "InputRoot", "PinInput", "PinInputPrimitive", "TextInput", "TextInputPrimitive", "TextArea", "TextAreaPrimitive", "useInputContext", "INPUT_NAME", "Description", "DescriptionPrimitive", "DescriptionAndValidation", "DescriptionAndValidationPrimitive", "Label", "LabelPrimitive", "Validation", "ValidationPrimitive", "Label", "forwardRef", "srOnly", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "LabelPrimitive", "className", "ref", "Description", "DescriptionPrimitive", "Validation", "__inputScope", "validationValence", "useInputContext", "INPUT_NAME", "ValidationPrimitive", "DescriptionAndValidation", "DescriptionAndValidationPrimitive", "PinInput", "density", "propsDensity", "elevation", "propsElevation", "segmentClassName", "propsSegmentClassName", "inputClassName", "variant", "hasIosKeyboard", "useDensityContext", "useElevationContext", "useCallback", "focused", "disabled", "PinInputPrimitive", "autoFocus", "TextInput", "themeContextValue", "TextInputPrimitive", "TextArea", "TextAreaPrimitive", "Checkbox", "checked", "propsChecked", "defaultChecked", "propsDefaultChecked", "onCheckedChange", "propsOnCheckedChange", "size", "weight", "useControllableState", "prop", "defaultProp", "onChange", "id", "descriptionId", "errorMessageId", "Icon", "Minus", "Check", "Fragment", "CheckboxPrimitive", "CheckboxIndicatorPrimitive", "asChild", "Switch", "SwitchPrimitive", "SwitchThumbPrimitive", "Input", "Root", "InputRoot", "CaretDown", "CaretRight", "Slot", "React", "forwardRef", "List", "ListPrimitive", "ListItemHeading", "ListPrimitiveItemHeading", "ListItemOpenTrigger", "ListPrimitiveItemOpenTrigger", "ListItemCollapsibleContent", "ListItem", "ListPrimitiveItem", "LIST_NAME", "LIST_ITEM_NAME", "useListContext", "useListItemContext", "React", "createContext", "DensityContext", "createContext", "density", "DensityProvider", "children", "React", "Provider", "value", "List", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "density", "useDensityContext", "React", "DensityProvider", "ListPrimitive", "className", "ref", "ListItemEndcap", "asChild", "Root", "Slot", "role", "MockListItemOpenTrigger", "div", "ListItemHeading", "ListPrimitiveItemHeading", "ListItemOpenTrigger", "__listItemScope", "open", "useListItemContext", "LIST_ITEM_NAME", "Icon", "CaretDown", "CaretRight", "ListPrimitiveItemOpenTrigger", "weight", "ListItemRoot", "ListPrimitiveItem", "collapsible", "ListItem", "Endcap", "Heading", "OpenTrigger", "CollapsibleContent", "ListItemCollapsibleContent", "MockOpenTrigger", "React", "forwardRef", "TreeRoot", "forwardRef", "props", "forwardedRef", "React", "List", "ref", "TreeBranch", "__listScope", "headingId", "useListItemContext", "LIST_ITEM_NAME", "aria-labelledby", "TreeItemRoot", "ListItem", "Root", "role", "TreeItemHeading", "Heading", "TreeItemOpenTrigger", "OpenTrigger", "MockTreeItemOpenTrigger", "MockOpenTrigger", "TreeItemBody", "CollapsibleContent", "Tree", "Branch", "TreeItem", "Body", "createContext", "Root", "DialogRoot", "DialogContent", "Primitive", "Slot", "useControllableState", "React", "forwardRef", "useCallback", "useRef", "useMediaQuery", "useForwardedRef", "useCallback", "useEffect", "useState", "MotionState", "useSwipeToDismiss", "ref", "onDismiss", "dismissThreshold", "debounceThreshold", "offset", "$root", "current", "motionState", "setMotionState", "useState", "gestureStartX", "setGestureStartX", "setIdle", "useCallback", "style", "removeProperty", "setProperty", "setFollowing", "handlePointerDown", "screenX", "handlePointerMove", "delta", "Math", "min", "abs", "handlePointerUp", "useEffect", "addEventListener", "removeEventListener", "document", "documentElement", "MAIN_ROOT_NAME", "NAVIGATION_SIDEBAR_NAME", "COMPLEMENTARY_SIDEBAR_NAME", "MAIN_NAME", "GENERIC_CONSUMER_NAME", "MainProvider", "useMainContext", "createContext", "navigationSidebarOpen", "setNavigationSidebarOpen", "nextOpen", "console", "warn", "complementarySidebarOpen", "setComplementarySidebarOpen", "useSidebars", "consumerName", "toggleNavigationSidebar", "useCallback", "openNavigationSidebar", "closeNavigationSidebar", "toggleComplementarySidebar", "openComplementarySidebar", "closeComplementarySidebar", "MainRoot", "propsNavigationSidebarOpen", "defaultNavigationSidebarOpen", "onNavigationSidebarOpenChange", "propsComplementarySidebarOpen", "defaultComplementarySidebarOpen", "onComplementarySidebarOpenChange", "children", "props", "isLg", "useMediaQuery", "ssr", "useControllableState", "prop", "defaultProp", "onChange", "React", "displayName", "handleOpenAutoFocus", "event", "document", "body", "hasAttribute", "preventDefault", "MainSidebar", "forwardRef", "classNames", "swipeToDismiss", "onOpenAutoFocus", "open", "setOpen", "side", "forwardedRef", "tx", "useThemeContext", "ref", "useForwardedRef", "noopRef", "useRef", "useSwipeToDismiss", "onDismiss", "Root", "Primitive", "div", "DialogContent", "DialogRoot", "modal", "forceMount", "tabIndex", "className", "inert", "ElevationProvider", "elevation", "MainNavigationSidebar", "MainComplementarySidebar", "MainContent", "asChild", "bounce", "Slot", "inlineStartSidebarOpen", "inlineEndSidebarOpen", "MainOverlay", "onClick", "data-open", "aria-hidden", "data-aria-hidden", "Main", "Content", "Overlay", "NavigationSidebar", "ComplementarySidebar", "createContext", "Primitive", "Slot", "React", "forwardRef", "useId", "MESSAGE_NAME", "MessageProvider", "useMessageContext", "createContext", "MessageRoot", "forwardRef", "asChild", "valence", "elevation", "propsElevation", "className", "titleId", "propsTitleId", "descriptionId", "propsDescriptionId", "children", "props", "forwardedRef", "tx", "useThemeContext", "useId", "useElevationContext", "Root", "Slot", "Primitive", "div", "React", "aria-labelledby", "aria-describedby", "ref", "displayName", "MESSAGE_TITLE_NAME", "MessageTitle", "h2", "id", "MESSAGE_BODY_NAME", "MessageBody", "p", "Message", "Title", "Body", "Root", "PopoverRootPrimitive", "PopoverContent", "PopoverContentPrimitive", "PopoverTrigger", "PopoverTriggerPrimitive", "PopoverAnchor", "PopoverAnchorPrimitive", "PopoverPortal", "PopoverPortalPrimitive", "PopoverArrow", "PopoverArrowPrimitive", "PopoverClose", "PopoverClosePrimitive", "Primitive", "Slot", "React", "forwardRef", "PopoverRoot", "PopoverRootPrimitive", "PopoverPortal", "PopoverPortalPrimitive", "PopoverTrigger", "PopoverTriggerPrimitive", "PopoverAnchor", "PopoverAnchorPrimitive", "PopoverClose", "PopoverClosePrimitive", "PopoverArrow", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "PopoverArrowPrimitive", "className", "ref", "PopoverContent", "children", "PopoverContentPrimitive", "sideOffset", "collisionPadding", "ElevationProvider", "elevation", "PopoverViewport", "asChild", "constrainInline", "constrainBlock", "Root", "Slot", "Primitive", "div", "Popover", "Portal", "Trigger", "Anchor", "Arrow", "Close", "Content", "Viewport", "React", "forwardRef", "Status", "forwardRef", "classNames", "children", "progress", "indeterminate", "props", "forwardedRef", "tx", "useThemeContext", "React", "span", "role", "className", "ref", "style", "width", "Math", "round", "Root", "ScrollAreaPrimitiveRoot", "Viewport", "ScrollAreaPrimitiveViewport", "Scrollbar", "ScrollAreaPrimitiveScrollbar", "Thumb", "ScrollAreaPrimitiveThumb", "Corner", "ScrollAreaPrimitiveCorner", "React", "forwardRef", "ScrollAreaRoot", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "ScrollAreaPrimitiveRoot", "className", "ref", "ScrollAreaViewport", "ScrollAreaPrimitiveViewport", "ScrollAreaScrollbar", "ScrollAreaPrimitiveScrollbar", "ScrollAreaThumb", "ScrollAreaPrimitiveThumb", "ScrollAreaCorner", "ScrollAreaPrimitiveCorner", "ScrollArea", "Root", "Viewport", "Scrollbar", "Thumb", "Corner", "CaretDown", "CaretUp", "Check", "SelectPrimitive", "React", "forwardRef", "SelectRoot", "Root", "SelectTrigger", "Trigger", "SelectValue", "Value", "SelectIcon", "Icon", "SelectPortal", "Portal", "SelectTriggerButton", "forwardRef", "placeholder", "props", "forwardedRef", "React", "asChild", "ref", "Button", "className", "CaretDown", "weight", "SelectContent", "classNames", "children", "tx", "useThemeContext", "Content", "SelectScrollUpButton", "CaretUp", "SelectScrollDownButton", "SelectViewport", "Viewport", "SelectItem", "Item", "SelectItemText", "ItemText", "SelectItemIndicator", "ItemIndicator", "SelectOption", "Check", "SelectGroup", "Group", "SelectLabel", "Label", "SelectSeparator", "Separator", "SelectArrow", "Arrow", "Select", "TriggerButton", "ScrollUpButton", "ScrollDownButton", "Option", "Separator", "SeparatorPrimitive", "React", "Separator", "classNames", "orientation", "props", "tx", "useThemeContext", "React", "SeparatorPrimitive", "className", "Primitive", "Slot", "React", "forwardRef", "Tag", "forwardRef", "asChild", "palette", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "Root", "Slot", "Primitive", "span", "React", "className", "ref", "Primitive", "Slot", "ToastProvider", "ToastProviderPrimitive", "ToastViewport", "ToastViewportPrimitive", "Root", "ToastRootPrimitive", "ToastTitle", "ToastTitlePrimitive", "ToastDescription", "ToastDescriptionPrimitive", "ToastAction", "ToastActionPrimitive", "ToastClose", "ToastClosePrimitive", "React", "forwardRef", "ToastProvider", "ToastProviderPrimitive", "ToastViewport", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "ToastViewportPrimitive", "className", "ref", "ToastRoot", "children", "ToastRootPrimitive", "ElevationProvider", "elevation", "DensityProvider", "density", "ToastBody", "asChild", "Root", "Slot", "Primitive", "div", "ToastTitle", "ToastTitlePrimitive", "ToastDescription", "ToastDescriptionPrimitive", "ToastActions", "ToastAction", "ToastActionPrimitive", "ToastClose", "ToastClosePrimitive", "Toast", "Provider", "Viewport", "Body", "Title", "Description", "Actions", "Action", "Close", "ToolbarPrimitive", "React", "forwardRef", "ToolbarRoot", "forwardRef", "classNames", "children", "props", "forwardedRef", "tx", "useThemeContext", "React", "Root", "className", "ref", "ToolbarButton", "Button", "asChild", "ToolbarLink", "Link", "ToolbarToggleGroup", "ButtonGroup", "ToolbarToggleGroupItem", "variant", "density", "elevation", "ToolbarToggleItem", "ToolbarSeparator", "Separator", "orientation", "Toolbar", "ToggleGroup", "ToggleGroupItem", "Provider", "TooltipProviderPrimitive", "Root", "TooltipRootPrimitive", "TooltipContent", "TooltipContentPrimitive", "TooltipTrigger", "TooltipTriggerPrimitive", "TooltipPortal", "TooltipPortalPrimitive", "TooltipArrow", "TooltipArrowPrimitive", "React", "forwardRef", "TooltipProvider", "TooltipProviderPrimitive", "TooltipRoot", "TooltipRootPrimitive", "TooltipPortal", "TooltipPortalPrimitive", "TooltipTrigger", "TooltipTriggerPrimitive", "TooltipArrow", "forwardRef", "classNames", "props", "forwardedRef", "tx", "useThemeContext", "React", "TooltipArrowPrimitive", "className", "ref", "TooltipContent", "TooltipContentPrimitive", "sideOffset", "collisionPadding", "Tooltip", "Provider", "Root", "Portal", "Trigger", "Arrow", "Content", "createKeyborg", "React", "createContext", "useEffect", "hasIosKeyboard", "navigator", "userAgent", "match", "ThemeContext", "createContext", "tx", "_path", "defaultClassName", "_styleProps", "_options", "themeMode", "hasIosKeyboard", "handleInputModalityChange", "isUsingKeyboard", "document", "body", "setAttribute", "removeAttribute", "ThemeProvider", "children", "fallback", "resourceExtensions", "appNs", "rootElevation", "rootDensity", "useEffect", "defaultView", "kb", "createKeyborg", "subscribe", "unsubscribe", "React", "Provider", "value", "TranslationsProvider", "ElevationProvider", "elevation", "DensityProvider", "density"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/ui/react-ui/src/hooks/useDensityContext.ts":{"bytes":1340,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useElevationContext.ts":{"bytes":1396,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx":{"bytes":6772,"imports":[{"path":"i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-i18next","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/hooks/useTranslationsContext.ts":{"bytes":1110,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx","kind":"import-statement","original":"../components/ThemeProvider/TranslationsProvider"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useThemeContext.ts":{"bytes":939,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useVisualViewport.ts":{"bytes":2806,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/hooks/index.ts":{"bytes":948,"imports":[{"path":"packages/ui/react-ui/src/hooks/useDensityContext.ts","kind":"import-statement","original":"./useDensityContext"},{"path":"packages/ui/react-ui/src/hooks/useElevationContext.ts","kind":"import-statement","original":"./useElevationContext"},{"path":"packages/ui/react-ui/src/hooks/useTranslationsContext.ts","kind":"import-statement","original":"./useTranslationsContext"},{"path":"packages/ui/react-ui/src/hooks/useThemeContext.ts","kind":"import-statement","original":"./useThemeContext"},{"path":"packages/ui/react-ui/src/hooks/useVisualViewport.ts","kind":"import-statement","original":"./useVisualViewport"}],"format":"esm"},"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx":{"bytes":5112,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts":{"bytes":512,"imports":[{"path":"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx","kind":"import-statement","original":"./AnchoredOverflow"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/Avatar.tsx":{"bytes":28073,"imports":[{"path":"@radix-ui/react-avatar","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"jdenticon","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx":{"bytes":10430,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Avatars/Avatar.tsx","kind":"import-statement","original":"./Avatar"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/index.ts":{"bytes":572,"imports":[{"path":"packages/ui/react-ui/src/components/Avatars/Avatar.tsx","kind":"import-statement","original":"./Avatar"},{"path":"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx","kind":"import-statement","original":"./AvatarGroup"}],"format":"esm"},"packages/ui/react-ui/src/components/Link/Link.tsx":{"bytes":2550,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Link/index.ts":{"bytes":468,"imports":[{"path":"packages/ui/react-ui/src/components/Link/Link.tsx","kind":"import-statement","original":"./Link"}],"format":"esm"},"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx":{"bytes":10999,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"../Link"}],"format":"esm"},"packages/ui/react-ui/src/components/Breadcrumb/index.ts":{"bytes":488,"imports":[{"path":"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx","kind":"import-statement","original":"./Breadcrumb"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/Button.tsx":{"bytes":8416,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/Toggle.tsx":{"bytes":2420,"imports":[{"path":"@radix-ui/react-toggle","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx":{"bytes":4374,"imports":[{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/index.ts":{"bytes":658,"imports":[{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"},{"path":"packages/ui/react-ui/src/components/Buttons/Toggle.tsx","kind":"import-statement","original":"./Toggle"},{"path":"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx","kind":"import-statement","original":"./ToggleGroup"}],"format":"esm"},"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx":{"bytes":1934,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/ElevationProvider/index.ts":{"bytes":514,"imports":[{"path":"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx","kind":"import-statement","original":"./ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx":{"bytes":13074,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx":{"bytes":14977,"imports":[{"path":"@radix-ui/react-alert-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/index.ts":{"bytes":572,"imports":[{"path":"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx","kind":"import-statement","original":"./Dialog"},{"path":"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx","kind":"import-statement","original":"./AlertDialog"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx":{"bytes":14932,"imports":[{"path":"@radix-ui/react-context-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx":{"bytes":15239,"imports":[{"path":"@radix-ui/react-dropdown-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/index.ts":{"bytes":588,"imports":[{"path":"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx","kind":"import-statement","original":"./ContextMenu"},{"path":"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx","kind":"import-statement","original":"./DropdownMenu"}],"format":"esm"},"packages/ui/react-ui/src/components/Input/Input.tsx":{"bytes":32009,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-checkbox","kind":"import-statement","external":true},{"path":"@radix-ui/react-switch","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-input","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Input/index.ts":{"bytes":470,"imports":[{"path":"packages/ui/react-ui/src/components/Input/Input.tsx","kind":"import-statement","original":"./Input"}],"format":"esm"},"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx":{"bytes":1868,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/DensityProvider/index.ts":{"bytes":506,"imports":[{"path":"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx","kind":"import-statement","original":"./DensityProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/List.tsx":{"bytes":15702,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/Tree.tsx":{"bytes":6481,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Lists/List.tsx","kind":"import-statement","original":"./List"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/index.ts":{"bytes":549,"imports":[{"path":"packages/ui/react-ui/src/components/Lists/List.tsx","kind":"import-statement","original":"./List"},{"path":"packages/ui/react-ui/src/components/Lists/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts":{"bytes":10806,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/Main/Main.tsx":{"bytes":28511,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts","kind":"import-statement","original":"./useSwipeToDismiss"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Main/index.ts":{"bytes":468,"imports":[{"path":"packages/ui/react-ui/src/components/Main/Main.tsx","kind":"import-statement","original":"./Main"}],"format":"esm"},"packages/ui/react-ui/src/components/Message/Message.tsx":{"bytes":10346,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Message/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Message/Message.tsx","kind":"import-statement","original":"./Message"}],"format":"esm"},"packages/ui/react-ui/src/components/Popover/Popover.tsx":{"bytes":10477,"imports":[{"path":"@radix-ui/react-popover","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Popover/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Popover/Popover.tsx","kind":"import-statement","original":"./Popover"}],"format":"esm"},"packages/ui/react-ui/src/components/Status/Status.tsx":{"bytes":3491,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Status/index.ts":{"bytes":476,"imports":[{"path":"packages/ui/react-ui/src/components/Status/Status.tsx","kind":"import-statement","original":"./Status"}],"format":"esm"},"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx":{"bytes":9150,"imports":[{"path":"@radix-ui/react-scroll-area","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/ScrollArea/index.ts":{"bytes":488,"imports":[{"path":"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx","kind":"import-statement","original":"./ScrollArea"}],"format":"esm"},"packages/ui/react-ui/src/components/Select/Select.tsx":{"bytes":19513,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-select","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"../Buttons"}],"format":"esm"},"packages/ui/react-ui/src/components/Select/index.ts":{"bytes":476,"imports":[{"path":"packages/ui/react-ui/src/components/Select/Select.tsx","kind":"import-statement","original":"./Select"}],"format":"esm"},"packages/ui/react-ui/src/components/Separator/Separator.tsx":{"bytes":2429,"imports":[{"path":"@radix-ui/react-separator","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Separator/index.ts":{"bytes":486,"imports":[{"path":"packages/ui/react-ui/src/components/Separator/Separator.tsx","kind":"import-statement","original":"./Separator"}],"format":"esm"},"packages/ui/react-ui/src/components/Tag/Tag.tsx":{"bytes":2874,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Tag/index.ts":{"bytes":466,"imports":[{"path":"packages/ui/react-ui/src/components/Tag/Tag.tsx","kind":"import-statement","original":"./Tag"}],"format":"esm"},"packages/ui/react-ui/src/components/Toast/Toast.tsx":{"bytes":13280,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-toast","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Toast/index.ts":{"bytes":470,"imports":[{"path":"packages/ui/react-ui/src/components/Toast/Toast.tsx","kind":"import-statement","original":"./Toast"}],"format":"esm"},"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx":{"bytes":9252,"imports":[{"path":"@radix-ui/react-toolbar","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"../Buttons"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"../Link"},{"path":"packages/ui/react-ui/src/components/Separator/index.ts","kind":"import-statement","original":"../Separator"}],"format":"esm"},"packages/ui/react-ui/src/components/Toolbar/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx","kind":"import-statement","original":"./Toolbar"}],"format":"esm"},"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx":{"bytes":6892,"imports":[{"path":"@radix-ui/react-tooltip","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Tooltip/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx","kind":"import-statement","original":"./Tooltip"}],"format":"esm"},"packages/ui/react-ui/src/util/hasIosKeyboard.ts":{"bytes":1264,"imports":[],"format":"esm"},"packages/ui/react-ui/src/util/ThemedClassName.ts":{"bytes":635,"imports":[],"format":"esm"},"packages/ui/react-ui/src/util/index.ts":{"bytes":590,"imports":[{"path":"packages/ui/react-ui/src/util/hasIosKeyboard.ts","kind":"import-statement","original":"./hasIosKeyboard"},{"path":"packages/ui/react-ui/src/util/ThemedClassName.ts","kind":"import-statement","original":"./ThemedClassName"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx":{"bytes":7219,"imports":[{"path":"keyborg","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx","kind":"import-statement","original":"./TranslationsProvider"},{"path":"packages/ui/react-ui/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/index.ts":{"bytes":502,"imports":[{"path":"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx","kind":"import-statement","original":"./ThemeProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/index.ts":{"bytes":2417,"imports":[{"path":"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts","kind":"import-statement","original":"./AnchoredOverflow"},{"path":"packages/ui/react-ui/src/components/Avatars/index.ts","kind":"import-statement","original":"./Avatars"},{"path":"packages/ui/react-ui/src/components/Breadcrumb/index.ts","kind":"import-statement","original":"./Breadcrumb"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"./Buttons"},{"path":"packages/ui/react-ui/src/components/Dialogs/index.ts","kind":"import-statement","original":"./Dialogs"},{"path":"packages/ui/react-ui/src/components/Menus/index.ts","kind":"import-statement","original":"./Menus"},{"path":"packages/ui/react-ui/src/components/Input/index.ts","kind":"import-statement","original":"./Input"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"./Link"},{"path":"packages/ui/react-ui/src/components/Lists/index.ts","kind":"import-statement","original":"./Lists"},{"path":"packages/ui/react-ui/src/components/Main/index.ts","kind":"import-statement","original":"./Main"},{"path":"packages/ui/react-ui/src/components/Message/index.ts","kind":"import-statement","original":"./Message"},{"path":"packages/ui/react-ui/src/components/Popover/index.ts","kind":"import-statement","original":"./Popover"},{"path":"packages/ui/react-ui/src/components/Status/index.ts","kind":"import-statement","original":"./Status"},{"path":"packages/ui/react-ui/src/components/ScrollArea/index.ts","kind":"import-statement","original":"./ScrollArea"},{"path":"packages/ui/react-ui/src/components/Select/index.ts","kind":"import-statement","original":"./Select"},{"path":"packages/ui/react-ui/src/components/Separator/index.ts","kind":"import-statement","original":"./Separator"},{"path":"packages/ui/react-ui/src/components/Tag/index.ts","kind":"import-statement","original":"./Tag"},{"path":"packages/ui/react-ui/src/components/Toast/index.ts","kind":"import-statement","original":"./Toast"},{"path":"packages/ui/react-ui/src/components/Toolbar/index.ts","kind":"import-statement","original":"./Toolbar"},{"path":"packages/ui/react-ui/src/components/Tooltip/index.ts","kind":"import-statement","original":"./Tooltip"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"./DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"./ElevationProvider"},{"path":"packages/ui/react-ui/src/components/ThemeProvider/index.ts","kind":"import-statement","original":"./ThemeProvider"}],"format":"esm"},"packages/ui/react-ui/src/index.ts":{"bytes":1123,"imports":[{"path":"react-i18next","kind":"import-statement","external":true},{"path":"@dxos/react-ui-types","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/ui/react-ui/src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/ui/react-ui/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":188994},"packages/ui/react-ui/dist/lib/browser/index.mjs":{"imports":[{"path":"react-i18next","kind":"import-statement","external":true},{"path":"@dxos/react-ui-types","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-avatar","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"jdenticon","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-alert-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-dropdown-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-checkbox","kind":"import-statement","external":true},{"path":"@radix-ui/react-switch","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-input","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@radix-ui/react-popover","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-scroll-area","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-select","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-separator","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-toast","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toolbar","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-tooltip","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"keyborg","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["AlertDialog","AnchoredOverflow","Avatar","AvatarGroup","AvatarGroupItem","BUTTON_GROUP_NAME","Breadcrumb","Button","ButtonGroup","ContextMenu","DensityContext","DensityProvider","Dialog","DropdownMenu","ElevationContext","ElevationProvider","Input","LIST_ITEM_NAME","LIST_NAME","Link","List","ListItem","Main","Message","Popover","ScrollArea","Select","Separator","Status","Tag","ThemeContext","ThemeProvider","Toast","Toggle","ToggleGroup","ToggleGroupItem","Toolbar","Tooltip","Trans","Tree","TreeItem","getJdenticonHref","hasIosKeyboard","useAvatarContext","useButtonGroupContext","useDensityContext","useElevationContext","useJdenticonHref","useListContext","useListItemContext","useMainContext","useSidebars","useThemeContext","useTranslation","useTranslationsContext","useVisualViewport"],"entryPoint":"packages/ui/react-ui/src/index.ts","inputs":{"packages/ui/react-ui/src/index.ts":{"bytesInOutput":128},"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx":{"bytesInOutput":1063},"packages/ui/react-ui/src/hooks/useDensityContext.ts":{"bytesInOutput":167},"packages/ui/react-ui/src/hooks/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/hooks/useElevationContext.ts":{"bytesInOutput":195},"packages/ui/react-ui/src/hooks/useTranslationsContext.ts":{"bytesInOutput":120},"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx":{"bytesInOutput":1376},"packages/ui/react-ui/src/hooks/useThemeContext.ts":{"bytesInOutput":106},"packages/ui/react-ui/src/hooks/useVisualViewport.ts":{"bytesInOutput":633},"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Avatars/Avatar.tsx":{"bytesInOutput":6763},"packages/ui/react-ui/src/components/Avatars/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx":{"bytesInOutput":2342},"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx":{"bytesInOutput":2627},"packages/ui/react-ui/src/components/Link/Link.tsx":{"bytesInOutput":517},"packages/ui/react-ui/src/components/Link/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Breadcrumb/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Buttons/Button.tsx":{"bytesInOutput":1826},"packages/ui/react-ui/src/components/Buttons/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Buttons/Toggle.tsx":{"bytesInOutput":480},"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx":{"bytesInOutput":909},"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx":{"bytesInOutput":2839},"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx":{"bytesInOutput":309},"packages/ui/react-ui/src/components/ElevationProvider/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Dialogs/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx":{"bytesInOutput":3274},"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx":{"bytesInOutput":3436},"packages/ui/react-ui/src/components/Menus/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx":{"bytesInOutput":3494},"packages/ui/react-ui/src/components/Input/Input.tsx":{"bytesInOutput":7724},"packages/ui/react-ui/src/components/Input/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/List.tsx":{"bytesInOutput":3531},"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx":{"bytesInOutput":299},"packages/ui/react-ui/src/components/DensityProvider/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/Tree.tsx":{"bytesInOutput":1159},"packages/ui/react-ui/src/components/Main/Main.tsx":{"bytesInOutput":7293},"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts":{"bytesInOutput":2759},"packages/ui/react-ui/src/components/Main/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Message/Message.tsx":{"bytesInOutput":2489},"packages/ui/react-ui/src/components/Message/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Popover/Popover.tsx":{"bytesInOutput":2214},"packages/ui/react-ui/src/components/Popover/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Status/Status.tsx":{"bytesInOutput":707},"packages/ui/react-ui/src/components/Status/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx":{"bytesInOutput":2128},"packages/ui/react-ui/src/components/ScrollArea/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Select/Select.tsx":{"bytesInOutput":4832},"packages/ui/react-ui/src/components/Select/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Separator/Separator.tsx":{"bytesInOutput":416},"packages/ui/react-ui/src/components/Separator/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Tag/Tag.tsx":{"bytesInOutput":553},"packages/ui/react-ui/src/components/Tag/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Toast/Toast.tsx":{"bytesInOutput":3105},"packages/ui/react-ui/src/components/Toast/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx":{"bytesInOutput":2183},"packages/ui/react-ui/src/components/Toolbar/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx":{"bytesInOutput":1364},"packages/ui/react-ui/src/components/Tooltip/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx":{"bytesInOutput":1463},"packages/ui/react-ui/src/util/hasIosKeyboard.ts":{"bytesInOutput":96},"packages/ui/react-ui/src/util/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ThemeProvider/index.ts":{"bytesInOutput":0}},"bytes":80620}}}
|
|
1
|
+
{"inputs":{"packages/ui/react-ui/src/hooks/useDensityContext.ts":{"bytes":1340,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useElevationContext.ts":{"bytes":1396,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx":{"bytes":6772,"imports":[{"path":"i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-i18next","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/hooks/useTranslationsContext.ts":{"bytes":1110,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx","kind":"import-statement","original":"../components/ThemeProvider/TranslationsProvider"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useThemeContext.ts":{"bytes":939,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"../components"}],"format":"esm"},"packages/ui/react-ui/src/hooks/useVisualViewport.ts":{"bytes":2806,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/hooks/index.ts":{"bytes":948,"imports":[{"path":"packages/ui/react-ui/src/hooks/useDensityContext.ts","kind":"import-statement","original":"./useDensityContext"},{"path":"packages/ui/react-ui/src/hooks/useElevationContext.ts","kind":"import-statement","original":"./useElevationContext"},{"path":"packages/ui/react-ui/src/hooks/useTranslationsContext.ts","kind":"import-statement","original":"./useTranslationsContext"},{"path":"packages/ui/react-ui/src/hooks/useThemeContext.ts","kind":"import-statement","original":"./useThemeContext"},{"path":"packages/ui/react-ui/src/hooks/useVisualViewport.ts","kind":"import-statement","original":"./useVisualViewport"}],"format":"esm"},"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx":{"bytes":5112,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts":{"bytes":512,"imports":[{"path":"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx","kind":"import-statement","original":"./AnchoredOverflow"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/Avatar.tsx":{"bytes":28073,"imports":[{"path":"@radix-ui/react-avatar","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"jdenticon","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx":{"bytes":10430,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Avatars/Avatar.tsx","kind":"import-statement","original":"./Avatar"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Avatars/index.ts":{"bytes":572,"imports":[{"path":"packages/ui/react-ui/src/components/Avatars/Avatar.tsx","kind":"import-statement","original":"./Avatar"},{"path":"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx","kind":"import-statement","original":"./AvatarGroup"}],"format":"esm"},"packages/ui/react-ui/src/components/Link/Link.tsx":{"bytes":2550,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Link/index.ts":{"bytes":468,"imports":[{"path":"packages/ui/react-ui/src/components/Link/Link.tsx","kind":"import-statement","original":"./Link"}],"format":"esm"},"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx":{"bytes":10999,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"../Link"}],"format":"esm"},"packages/ui/react-ui/src/components/Breadcrumb/index.ts":{"bytes":488,"imports":[{"path":"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx","kind":"import-statement","original":"./Breadcrumb"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/Button.tsx":{"bytes":8416,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/Toggle.tsx":{"bytes":2420,"imports":[{"path":"@radix-ui/react-toggle","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx":{"bytes":4374,"imports":[{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"}],"format":"esm"},"packages/ui/react-ui/src/components/Buttons/index.ts":{"bytes":658,"imports":[{"path":"packages/ui/react-ui/src/components/Buttons/Button.tsx","kind":"import-statement","original":"./Button"},{"path":"packages/ui/react-ui/src/components/Buttons/Toggle.tsx","kind":"import-statement","original":"./Toggle"},{"path":"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx","kind":"import-statement","original":"./ToggleGroup"}],"format":"esm"},"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx":{"bytes":1934,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/ElevationProvider/index.ts":{"bytes":514,"imports":[{"path":"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx","kind":"import-statement","original":"./ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx":{"bytes":13074,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx":{"bytes":14977,"imports":[{"path":"@radix-ui/react-alert-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Dialogs/index.ts":{"bytes":572,"imports":[{"path":"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx","kind":"import-statement","original":"./Dialog"},{"path":"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx","kind":"import-statement","original":"./AlertDialog"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx":{"bytes":14932,"imports":[{"path":"@radix-ui/react-context-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx":{"bytes":15239,"imports":[{"path":"@radix-ui/react-dropdown-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Menus/index.ts":{"bytes":588,"imports":[{"path":"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx","kind":"import-statement","original":"./ContextMenu"},{"path":"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx","kind":"import-statement","original":"./DropdownMenu"}],"format":"esm"},"packages/ui/react-ui/src/components/Input/Input.tsx":{"bytes":32009,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-checkbox","kind":"import-statement","external":true},{"path":"@radix-ui/react-switch","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-input","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Input/index.ts":{"bytes":470,"imports":[{"path":"packages/ui/react-ui/src/components/Input/Input.tsx","kind":"import-statement","original":"./Input"}],"format":"esm"},"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx":{"bytes":1868,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/DensityProvider/index.ts":{"bytes":506,"imports":[{"path":"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx","kind":"import-statement","original":"./DensityProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/List.tsx":{"bytes":15702,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/Tree.tsx":{"bytes":6481,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Lists/List.tsx","kind":"import-statement","original":"./List"}],"format":"esm"},"packages/ui/react-ui/src/components/Lists/index.ts":{"bytes":549,"imports":[{"path":"packages/ui/react-ui/src/components/Lists/List.tsx","kind":"import-statement","original":"./List"},{"path":"packages/ui/react-ui/src/components/Lists/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts":{"bytes":10327,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/ui/react-ui/src/components/Main/Main.tsx":{"bytes":28511,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts","kind":"import-statement","original":"./useSwipeToDismiss"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Main/index.ts":{"bytes":468,"imports":[{"path":"packages/ui/react-ui/src/components/Main/Main.tsx","kind":"import-statement","original":"./Main"}],"format":"esm"},"packages/ui/react-ui/src/components/Message/Message.tsx":{"bytes":10346,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Message/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Message/Message.tsx","kind":"import-statement","original":"./Message"}],"format":"esm"},"packages/ui/react-ui/src/components/Popover/Popover.tsx":{"bytes":10477,"imports":[{"path":"@radix-ui/react-popover","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Popover/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Popover/Popover.tsx","kind":"import-statement","original":"./Popover"}],"format":"esm"},"packages/ui/react-ui/src/components/Status/Status.tsx":{"bytes":3491,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Status/index.ts":{"bytes":476,"imports":[{"path":"packages/ui/react-ui/src/components/Status/Status.tsx","kind":"import-statement","original":"./Status"}],"format":"esm"},"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx":{"bytes":9150,"imports":[{"path":"@radix-ui/react-scroll-area","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/ScrollArea/index.ts":{"bytes":488,"imports":[{"path":"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx","kind":"import-statement","original":"./ScrollArea"}],"format":"esm"},"packages/ui/react-ui/src/components/Select/Select.tsx":{"bytes":19513,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-select","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"../Buttons"}],"format":"esm"},"packages/ui/react-ui/src/components/Select/index.ts":{"bytes":476,"imports":[{"path":"packages/ui/react-ui/src/components/Select/Select.tsx","kind":"import-statement","original":"./Select"}],"format":"esm"},"packages/ui/react-ui/src/components/Separator/Separator.tsx":{"bytes":2429,"imports":[{"path":"@radix-ui/react-separator","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Separator/index.ts":{"bytes":486,"imports":[{"path":"packages/ui/react-ui/src/components/Separator/Separator.tsx","kind":"import-statement","original":"./Separator"}],"format":"esm"},"packages/ui/react-ui/src/components/Tag/Tag.tsx":{"bytes":2874,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Tag/index.ts":{"bytes":466,"imports":[{"path":"packages/ui/react-ui/src/components/Tag/Tag.tsx","kind":"import-statement","original":"./Tag"}],"format":"esm"},"packages/ui/react-ui/src/components/Toast/Toast.tsx":{"bytes":13280,"imports":[{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-toast","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/Toast/index.ts":{"bytes":470,"imports":[{"path":"packages/ui/react-ui/src/components/Toast/Toast.tsx","kind":"import-statement","original":"./Toast"}],"format":"esm"},"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx":{"bytes":9252,"imports":[{"path":"@radix-ui/react-toolbar","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"../Buttons"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"../Link"},{"path":"packages/ui/react-ui/src/components/Separator/index.ts","kind":"import-statement","original":"../Separator"}],"format":"esm"},"packages/ui/react-ui/src/components/Toolbar/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx","kind":"import-statement","original":"./Toolbar"}],"format":"esm"},"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx":{"bytes":6892,"imports":[{"path":"@radix-ui/react-tooltip","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/ui/react-ui/src/components/Tooltip/index.ts":{"bytes":478,"imports":[{"path":"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx","kind":"import-statement","original":"./Tooltip"}],"format":"esm"},"packages/ui/react-ui/src/util/hasIosKeyboard.ts":{"bytes":1264,"imports":[],"format":"esm"},"packages/ui/react-ui/src/util/ThemedClassName.ts":{"bytes":635,"imports":[],"format":"esm"},"packages/ui/react-ui/src/util/index.ts":{"bytes":590,"imports":[{"path":"packages/ui/react-ui/src/util/hasIosKeyboard.ts","kind":"import-statement","original":"./hasIosKeyboard"},{"path":"packages/ui/react-ui/src/util/ThemedClassName.ts","kind":"import-statement","original":"./ThemedClassName"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx":{"bytes":7219,"imports":[{"path":"keyborg","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx","kind":"import-statement","original":"./TranslationsProvider"},{"path":"packages/ui/react-ui/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"../DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"../ElevationProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/ThemeProvider/index.ts":{"bytes":502,"imports":[{"path":"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx","kind":"import-statement","original":"./ThemeProvider"}],"format":"esm"},"packages/ui/react-ui/src/components/index.ts":{"bytes":2417,"imports":[{"path":"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts","kind":"import-statement","original":"./AnchoredOverflow"},{"path":"packages/ui/react-ui/src/components/Avatars/index.ts","kind":"import-statement","original":"./Avatars"},{"path":"packages/ui/react-ui/src/components/Breadcrumb/index.ts","kind":"import-statement","original":"./Breadcrumb"},{"path":"packages/ui/react-ui/src/components/Buttons/index.ts","kind":"import-statement","original":"./Buttons"},{"path":"packages/ui/react-ui/src/components/Dialogs/index.ts","kind":"import-statement","original":"./Dialogs"},{"path":"packages/ui/react-ui/src/components/Menus/index.ts","kind":"import-statement","original":"./Menus"},{"path":"packages/ui/react-ui/src/components/Input/index.ts","kind":"import-statement","original":"./Input"},{"path":"packages/ui/react-ui/src/components/Link/index.ts","kind":"import-statement","original":"./Link"},{"path":"packages/ui/react-ui/src/components/Lists/index.ts","kind":"import-statement","original":"./Lists"},{"path":"packages/ui/react-ui/src/components/Main/index.ts","kind":"import-statement","original":"./Main"},{"path":"packages/ui/react-ui/src/components/Message/index.ts","kind":"import-statement","original":"./Message"},{"path":"packages/ui/react-ui/src/components/Popover/index.ts","kind":"import-statement","original":"./Popover"},{"path":"packages/ui/react-ui/src/components/Status/index.ts","kind":"import-statement","original":"./Status"},{"path":"packages/ui/react-ui/src/components/ScrollArea/index.ts","kind":"import-statement","original":"./ScrollArea"},{"path":"packages/ui/react-ui/src/components/Select/index.ts","kind":"import-statement","original":"./Select"},{"path":"packages/ui/react-ui/src/components/Separator/index.ts","kind":"import-statement","original":"./Separator"},{"path":"packages/ui/react-ui/src/components/Tag/index.ts","kind":"import-statement","original":"./Tag"},{"path":"packages/ui/react-ui/src/components/Toast/index.ts","kind":"import-statement","original":"./Toast"},{"path":"packages/ui/react-ui/src/components/Toolbar/index.ts","kind":"import-statement","original":"./Toolbar"},{"path":"packages/ui/react-ui/src/components/Tooltip/index.ts","kind":"import-statement","original":"./Tooltip"},{"path":"packages/ui/react-ui/src/components/DensityProvider/index.ts","kind":"import-statement","original":"./DensityProvider"},{"path":"packages/ui/react-ui/src/components/ElevationProvider/index.ts","kind":"import-statement","original":"./ElevationProvider"},{"path":"packages/ui/react-ui/src/components/ThemeProvider/index.ts","kind":"import-statement","original":"./ThemeProvider"}],"format":"esm"},"packages/ui/react-ui/src/index.ts":{"bytes":1123,"imports":[{"path":"react-i18next","kind":"import-statement","external":true},{"path":"@dxos/react-ui-types","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/ui/react-ui/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/ui/react-ui/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/ui/react-ui/src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/ui/react-ui/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":188768},"packages/ui/react-ui/dist/lib/browser/index.mjs":{"imports":[{"path":"react-i18next","kind":"import-statement","external":true},{"path":"@dxos/react-ui-types","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-i18next","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-avatar","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"jdenticon","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toggle-group","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-alert-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-dropdown-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-checkbox","kind":"import-statement","external":true},{"path":"@radix-ui/react-switch","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-input","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-list","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-dialog","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@radix-ui/react-popover","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-scroll-area","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@radix-ui/react-select","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-separator","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-primitive","kind":"import-statement","external":true},{"path":"@radix-ui/react-slot","kind":"import-statement","external":true},{"path":"@radix-ui/react-toast","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-toolbar","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-tooltip","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"keyborg","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["AlertDialog","AnchoredOverflow","Avatar","AvatarGroup","AvatarGroupItem","BUTTON_GROUP_NAME","Breadcrumb","Button","ButtonGroup","ContextMenu","DensityContext","DensityProvider","Dialog","DropdownMenu","ElevationContext","ElevationProvider","Input","LIST_ITEM_NAME","LIST_NAME","Link","List","ListItem","Main","Message","Popover","ScrollArea","Select","Separator","Status","Tag","ThemeContext","ThemeProvider","Toast","Toggle","ToggleGroup","ToggleGroupItem","Toolbar","Tooltip","Trans","Tree","TreeItem","getJdenticonHref","hasIosKeyboard","useAvatarContext","useButtonGroupContext","useDensityContext","useElevationContext","useJdenticonHref","useListContext","useListItemContext","useMainContext","useSidebars","useThemeContext","useTranslation","useTranslationsContext","useVisualViewport"],"entryPoint":"packages/ui/react-ui/src/index.ts","inputs":{"packages/ui/react-ui/src/index.ts":{"bytesInOutput":128},"packages/ui/react-ui/src/components/AnchoredOverflow/AnchoredOverflow.tsx":{"bytesInOutput":1063},"packages/ui/react-ui/src/hooks/useDensityContext.ts":{"bytesInOutput":167},"packages/ui/react-ui/src/hooks/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/hooks/useElevationContext.ts":{"bytesInOutput":195},"packages/ui/react-ui/src/hooks/useTranslationsContext.ts":{"bytesInOutput":120},"packages/ui/react-ui/src/components/ThemeProvider/TranslationsProvider.tsx":{"bytesInOutput":1376},"packages/ui/react-ui/src/hooks/useThemeContext.ts":{"bytesInOutput":106},"packages/ui/react-ui/src/hooks/useVisualViewport.ts":{"bytesInOutput":633},"packages/ui/react-ui/src/components/AnchoredOverflow/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Avatars/Avatar.tsx":{"bytesInOutput":6763},"packages/ui/react-ui/src/components/Avatars/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Avatars/AvatarGroup.tsx":{"bytesInOutput":2342},"packages/ui/react-ui/src/components/Breadcrumb/Breadcrumb.tsx":{"bytesInOutput":2627},"packages/ui/react-ui/src/components/Link/Link.tsx":{"bytesInOutput":517},"packages/ui/react-ui/src/components/Link/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Breadcrumb/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Buttons/Button.tsx":{"bytesInOutput":1826},"packages/ui/react-ui/src/components/Buttons/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Buttons/Toggle.tsx":{"bytesInOutput":480},"packages/ui/react-ui/src/components/Buttons/ToggleGroup.tsx":{"bytesInOutput":909},"packages/ui/react-ui/src/components/Dialogs/Dialog.tsx":{"bytesInOutput":2839},"packages/ui/react-ui/src/components/ElevationProvider/ElevationProvider.tsx":{"bytesInOutput":309},"packages/ui/react-ui/src/components/ElevationProvider/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Dialogs/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Dialogs/AlertDialog.tsx":{"bytesInOutput":3274},"packages/ui/react-ui/src/components/Menus/ContextMenu.tsx":{"bytesInOutput":3436},"packages/ui/react-ui/src/components/Menus/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Menus/DropdownMenu.tsx":{"bytesInOutput":3494},"packages/ui/react-ui/src/components/Input/Input.tsx":{"bytesInOutput":7724},"packages/ui/react-ui/src/components/Input/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/List.tsx":{"bytesInOutput":3531},"packages/ui/react-ui/src/components/DensityProvider/DensityProvider.tsx":{"bytesInOutput":299},"packages/ui/react-ui/src/components/DensityProvider/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Lists/Tree.tsx":{"bytesInOutput":1159},"packages/ui/react-ui/src/components/Main/Main.tsx":{"bytesInOutput":7293},"packages/ui/react-ui/src/components/Main/useSwipeToDismiss.ts":{"bytesInOutput":2632},"packages/ui/react-ui/src/components/Main/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Message/Message.tsx":{"bytesInOutput":2489},"packages/ui/react-ui/src/components/Message/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Popover/Popover.tsx":{"bytesInOutput":2214},"packages/ui/react-ui/src/components/Popover/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Status/Status.tsx":{"bytesInOutput":707},"packages/ui/react-ui/src/components/Status/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ScrollArea/ScrollArea.tsx":{"bytesInOutput":2128},"packages/ui/react-ui/src/components/ScrollArea/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Select/Select.tsx":{"bytesInOutput":4832},"packages/ui/react-ui/src/components/Select/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Separator/Separator.tsx":{"bytesInOutput":416},"packages/ui/react-ui/src/components/Separator/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Tag/Tag.tsx":{"bytesInOutput":553},"packages/ui/react-ui/src/components/Tag/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Toast/Toast.tsx":{"bytesInOutput":3105},"packages/ui/react-ui/src/components/Toast/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Toolbar/Toolbar.tsx":{"bytesInOutput":2183},"packages/ui/react-ui/src/components/Toolbar/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/Tooltip/Tooltip.tsx":{"bytesInOutput":1364},"packages/ui/react-ui/src/components/Tooltip/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ThemeProvider/ThemeProvider.tsx":{"bytesInOutput":1463},"packages/ui/react-ui/src/util/hasIosKeyboard.ts":{"bytesInOutput":96},"packages/ui/react-ui/src/util/index.ts":{"bytesInOutput":0},"packages/ui/react-ui/src/components/ThemeProvider/index.ts":{"bytesInOutput":0}},"bytes":80493}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui",
|
|
3
|
-
"version": "0.3.11-main.
|
|
3
|
+
"version": "0.3.11-main.d56f337",
|
|
4
4
|
"description": "Low-level React components for DXOS, applying a theme to a core group of primitives",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
"jdenticon": "^3.2.0",
|
|
39
39
|
"keyborg": "^2.0.0",
|
|
40
40
|
"react-i18next": "^11.18.6",
|
|
41
|
-
"@dxos/react-hooks": "0.3.11-main.
|
|
42
|
-
"@dxos/react-
|
|
43
|
-
"@dxos/react-
|
|
44
|
-
"@dxos/react-ui-types": "0.3.11-main.
|
|
41
|
+
"@dxos/react-hooks": "0.3.11-main.d56f337",
|
|
42
|
+
"@dxos/react-list": "0.3.11-main.d56f337",
|
|
43
|
+
"@dxos/react-input": "0.3.11-main.d56f337",
|
|
44
|
+
"@dxos/react-ui-types": "0.3.11-main.d56f337"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@dnd-kit/core": "^6.0.5",
|
|
48
48
|
"@dnd-kit/sortable": "^7.0.1",
|
|
49
49
|
"@dnd-kit/utilities": "^3.2.0",
|
|
50
|
-
"@faker-js/faker": "^8.
|
|
50
|
+
"@faker-js/faker": "^8.3.1",
|
|
51
51
|
"@phosphor-icons/react": "^2.0.5",
|
|
52
52
|
"@types/react": "^18.0.21",
|
|
53
53
|
"@types/react-dom": "^18.0.6",
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
|
-
"vite": "^
|
|
56
|
+
"vite": "^5.0.11",
|
|
57
57
|
"vite-plugin-turbosnap": "^1.0.2",
|
|
58
|
-
"@dxos/react-ui-theme": "0.3.11-main.
|
|
58
|
+
"@dxos/react-ui-theme": "0.3.11-main.d56f337"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@phosphor-icons/react": "^2.0.5",
|