@mond-design-system/react 4.7.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1449,6 +1449,66 @@ interface TabBarActionProps {
1449
1449
  it is a peer child, and the bar's flex layout leaves it its own width. */
1450
1450
  declare function TabBarAction({ label, icon, onClick }: TabBarActionProps): react.JSX.Element;
1451
1451
 
1452
+ interface SideNavProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
1453
+ /** Accessible name of the navigation landmark. There is more than one
1454
+ navigation on a page wide enough to show this one. */
1455
+ label: string;
1456
+ children: ReactNode;
1457
+ ref?: Ref<HTMLElement>;
1458
+ }
1459
+ /**
1460
+ * The standing column of destinations, from the width where it costs nothing.
1461
+ * TabBar is the same list on a phone; both are navigation landmarks whose
1462
+ * items stay in the natural tab order — roving focus is for composite
1463
+ * widgets, not for navigation.
1464
+ *
1465
+ * ```tsx
1466
+ * <SideNav label="Primary">
1467
+ * <SideNavItem label="Home" icon={<Icon name="home" />} href="/" active />
1468
+ * <Divider />
1469
+ * <SideNavGroup label="More">
1470
+ * <SideNavItem label="Settings" icon={<Icon name="settings" />} href="/settings" />
1471
+ * </SideNavGroup>
1472
+ * <Button fullWidth iconLeft={<Icon name="plus" />} onClick={compose}>New post</Button>
1473
+ * </SideNav>
1474
+ * ```
1475
+ *
1476
+ * The column's own placement is the host's — a sticky offset under a header,
1477
+ * a fixed rail, a plain block — so it takes a className and sets none of it.
1478
+ */
1479
+ declare function SideNav({ label, className, children, ref, ...rest }: SideNavProps): ReactElement;
1480
+ interface SideNavGroupProps extends HTMLAttributes<HTMLDivElement> {
1481
+ /** Heading over the run, which also names it to a screen reader. Without
1482
+ one the rows are still a run on screen and nothing to be told about, so
1483
+ the group takes no role. */
1484
+ label?: ReactNode;
1485
+ children: ReactNode;
1486
+ ref?: Ref<HTMLDivElement>;
1487
+ }
1488
+ /** A run of destinations under one heading, or none. */
1489
+ declare function SideNavGroup({ label, className, children, ref, ...rest }: SideNavGroupProps): ReactElement;
1490
+ interface SideNavItemProps {
1491
+ label: ReactNode;
1492
+ icon?: ReactNode;
1493
+ href?: string | undefined;
1494
+ onClick?: MouseEventHandler | undefined;
1495
+ /** The destination the reader is on. Lands as aria-current="page". */
1496
+ active?: boolean | undefined;
1497
+ /** How many are waiting, at the far end of the row. Nothing at zero: an
1498
+ absence needs no mark. */
1499
+ count?: number | undefined;
1500
+ /** What the count counts, in words — the badge is read as this, and a bare
1501
+ number is read as nothing. */
1502
+ countLabel?: string | undefined;
1503
+ /** The last number worth printing; above it the badge says `99+`, because
1504
+ the column's width is fixed and a fourth digit takes it from the word. */
1505
+ max?: number | undefined;
1506
+ /** Element override for the link, e.g. a router's Link. */
1507
+ as?: ElementType;
1508
+ }
1509
+ /** One destination. A link where it has one, a button where it does not. */
1510
+ declare function SideNavItem({ label, icon, href, onClick, active, count, countLabel, max, as, }: SideNavItemProps): ReactElement;
1511
+
1452
1512
  interface MediaPlaceholderProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1453
1513
  /** CSS aspect-ratio for the box, e.g. "4 / 5". Default 16 / 9. */
1454
1514
  aspect?: string;
@@ -1812,4 +1872,4 @@ interface RovingGroupOptions {
1812
1872
  */
1813
1873
  declare function useRovingGroup(ref: RefObject<HTMLElement | null>, { selector, orientation }: RovingGroupOptions): (event: KeyboardEvent<HTMLElement>) => void;
1814
1874
 
1815
- export { AppBar, type AppBarProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type CSSVars, Card, CardBody, CardFooter, CardHeader, type CardProps, type CardSectionProps, type CardVariant, type CarouselPager, type CarouselSlide, Checkbox, type CheckboxProps, Chip, ChipBar, type ChipBarGap, type ChipBarProps, ChipGroup, type ChipGroupGap, type ChipGroupProps, type ChipProps, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogTone, Container, type ContainerProps, type ContainerWidth, CountButton, type CountButtonProps, type CountButtonTone, type Crumb, type DataColumn, DataTable, type DataTableProps, type DataTableSelectionLabels, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Divider, type DividerProps, EmptyState, type EmptyStateProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingTone, Icon, type IconProps, IconProvider, type IconProviderProps, type IconRender, type IconRenderProps, type IconSize, ImageCarousel, type ImageCarouselLabels, type ImageCarouselProps, Inline, type InlineAlign, type InlineGap, type InlineJustify, type InlineProps, Input, type InputProps, type InputSize, Lightbox, type LightboxLabels, type LightboxProps, Link, type LinkProps, type LinkVariant, ListGroup, type ListGroupProps, ListItem, type ListItemProps, MediaPlaceholder, type MediaPlaceholderProps, Modal, ModalBody, ModalFooter, ModalHeader, type ModalProps, type OverlayHistory, OverlayHistoryContext, PasswordInput, type PasswordInputProps, type Presence, ProgressBar, type ProgressBarProps, Radio, type RadioProps, type RovingGroupOptions, Screen, ScreenContent, type ScreenContentProps, SearchField, type SearchFieldProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectProps, type SelectSize, Sheet, SheetBody, SheetFooter, SheetHeader, type SheetProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackGap, type StackProps, Switch, type SwitchProps, Tab, TabBar, TabBarAction, type TabBarActionProps, TabBarItem, type TabBarItemProps, type TabBarProps, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, type TagProps, type TagTone, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type ToastAction, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, UploadProgress, type UploadProgressLabels, type UploadProgressProps, type UploadStatus, type UseOverlayOptions, type VideoCaptions, type VideoChapter, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, VisuallyHidden, type VisuallyHiddenProps, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
1875
+ export { AppBar, type AppBarProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type CSSVars, Card, CardBody, CardFooter, CardHeader, type CardProps, type CardSectionProps, type CardVariant, type CarouselPager, type CarouselSlide, Checkbox, type CheckboxProps, Chip, ChipBar, type ChipBarGap, type ChipBarProps, ChipGroup, type ChipGroupGap, type ChipGroupProps, type ChipProps, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogTone, Container, type ContainerProps, type ContainerWidth, CountButton, type CountButtonProps, type CountButtonTone, type Crumb, type DataColumn, DataTable, type DataTableProps, type DataTableSelectionLabels, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Divider, type DividerProps, EmptyState, type EmptyStateProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingTone, Icon, type IconProps, IconProvider, type IconProviderProps, type IconRender, type IconRenderProps, type IconSize, ImageCarousel, type ImageCarouselLabels, type ImageCarouselProps, Inline, type InlineAlign, type InlineGap, type InlineJustify, type InlineProps, Input, type InputProps, type InputSize, Lightbox, type LightboxLabels, type LightboxProps, Link, type LinkProps, type LinkVariant, ListGroup, type ListGroupProps, ListItem, type ListItemProps, MediaPlaceholder, type MediaPlaceholderProps, Modal, ModalBody, ModalFooter, ModalHeader, type ModalProps, type OverlayHistory, OverlayHistoryContext, PasswordInput, type PasswordInputProps, type Presence, ProgressBar, type ProgressBarProps, Radio, type RadioProps, type RovingGroupOptions, Screen, ScreenContent, type ScreenContentProps, SearchField, type SearchFieldProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectProps, type SelectSize, Sheet, SheetBody, SheetFooter, SheetHeader, type SheetProps, SideNav, SideNavGroup, type SideNavGroupProps, SideNavItem, type SideNavItemProps, type SideNavProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackGap, type StackProps, Switch, type SwitchProps, Tab, TabBar, TabBarAction, type TabBarActionProps, TabBarItem, type TabBarItemProps, type TabBarProps, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, type TagProps, type TagTone, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type ToastAction, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, UploadProgress, type UploadProgressLabels, type UploadProgressProps, type UploadStatus, type UseOverlayOptions, type VideoCaptions, type VideoChapter, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, VisuallyHidden, type VisuallyHiddenProps, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
package/dist/index.d.ts CHANGED
@@ -1449,6 +1449,66 @@ interface TabBarActionProps {
1449
1449
  it is a peer child, and the bar's flex layout leaves it its own width. */
1450
1450
  declare function TabBarAction({ label, icon, onClick }: TabBarActionProps): react.JSX.Element;
1451
1451
 
1452
+ interface SideNavProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
1453
+ /** Accessible name of the navigation landmark. There is more than one
1454
+ navigation on a page wide enough to show this one. */
1455
+ label: string;
1456
+ children: ReactNode;
1457
+ ref?: Ref<HTMLElement>;
1458
+ }
1459
+ /**
1460
+ * The standing column of destinations, from the width where it costs nothing.
1461
+ * TabBar is the same list on a phone; both are navigation landmarks whose
1462
+ * items stay in the natural tab order — roving focus is for composite
1463
+ * widgets, not for navigation.
1464
+ *
1465
+ * ```tsx
1466
+ * <SideNav label="Primary">
1467
+ * <SideNavItem label="Home" icon={<Icon name="home" />} href="/" active />
1468
+ * <Divider />
1469
+ * <SideNavGroup label="More">
1470
+ * <SideNavItem label="Settings" icon={<Icon name="settings" />} href="/settings" />
1471
+ * </SideNavGroup>
1472
+ * <Button fullWidth iconLeft={<Icon name="plus" />} onClick={compose}>New post</Button>
1473
+ * </SideNav>
1474
+ * ```
1475
+ *
1476
+ * The column's own placement is the host's — a sticky offset under a header,
1477
+ * a fixed rail, a plain block — so it takes a className and sets none of it.
1478
+ */
1479
+ declare function SideNav({ label, className, children, ref, ...rest }: SideNavProps): ReactElement;
1480
+ interface SideNavGroupProps extends HTMLAttributes<HTMLDivElement> {
1481
+ /** Heading over the run, which also names it to a screen reader. Without
1482
+ one the rows are still a run on screen and nothing to be told about, so
1483
+ the group takes no role. */
1484
+ label?: ReactNode;
1485
+ children: ReactNode;
1486
+ ref?: Ref<HTMLDivElement>;
1487
+ }
1488
+ /** A run of destinations under one heading, or none. */
1489
+ declare function SideNavGroup({ label, className, children, ref, ...rest }: SideNavGroupProps): ReactElement;
1490
+ interface SideNavItemProps {
1491
+ label: ReactNode;
1492
+ icon?: ReactNode;
1493
+ href?: string | undefined;
1494
+ onClick?: MouseEventHandler | undefined;
1495
+ /** The destination the reader is on. Lands as aria-current="page". */
1496
+ active?: boolean | undefined;
1497
+ /** How many are waiting, at the far end of the row. Nothing at zero: an
1498
+ absence needs no mark. */
1499
+ count?: number | undefined;
1500
+ /** What the count counts, in words — the badge is read as this, and a bare
1501
+ number is read as nothing. */
1502
+ countLabel?: string | undefined;
1503
+ /** The last number worth printing; above it the badge says `99+`, because
1504
+ the column's width is fixed and a fourth digit takes it from the word. */
1505
+ max?: number | undefined;
1506
+ /** Element override for the link, e.g. a router's Link. */
1507
+ as?: ElementType;
1508
+ }
1509
+ /** One destination. A link where it has one, a button where it does not. */
1510
+ declare function SideNavItem({ label, icon, href, onClick, active, count, countLabel, max, as, }: SideNavItemProps): ReactElement;
1511
+
1452
1512
  interface MediaPlaceholderProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
1453
1513
  /** CSS aspect-ratio for the box, e.g. "4 / 5". Default 16 / 9. */
1454
1514
  aspect?: string;
@@ -1812,4 +1872,4 @@ interface RovingGroupOptions {
1812
1872
  */
1813
1873
  declare function useRovingGroup(ref: RefObject<HTMLElement | null>, { selector, orientation }: RovingGroupOptions): (event: KeyboardEvent<HTMLElement>) => void;
1814
1874
 
1815
- export { AppBar, type AppBarProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type CSSVars, Card, CardBody, CardFooter, CardHeader, type CardProps, type CardSectionProps, type CardVariant, type CarouselPager, type CarouselSlide, Checkbox, type CheckboxProps, Chip, ChipBar, type ChipBarGap, type ChipBarProps, ChipGroup, type ChipGroupGap, type ChipGroupProps, type ChipProps, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogTone, Container, type ContainerProps, type ContainerWidth, CountButton, type CountButtonProps, type CountButtonTone, type Crumb, type DataColumn, DataTable, type DataTableProps, type DataTableSelectionLabels, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Divider, type DividerProps, EmptyState, type EmptyStateProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingTone, Icon, type IconProps, IconProvider, type IconProviderProps, type IconRender, type IconRenderProps, type IconSize, ImageCarousel, type ImageCarouselLabels, type ImageCarouselProps, Inline, type InlineAlign, type InlineGap, type InlineJustify, type InlineProps, Input, type InputProps, type InputSize, Lightbox, type LightboxLabels, type LightboxProps, Link, type LinkProps, type LinkVariant, ListGroup, type ListGroupProps, ListItem, type ListItemProps, MediaPlaceholder, type MediaPlaceholderProps, Modal, ModalBody, ModalFooter, ModalHeader, type ModalProps, type OverlayHistory, OverlayHistoryContext, PasswordInput, type PasswordInputProps, type Presence, ProgressBar, type ProgressBarProps, Radio, type RadioProps, type RovingGroupOptions, Screen, ScreenContent, type ScreenContentProps, SearchField, type SearchFieldProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectProps, type SelectSize, Sheet, SheetBody, SheetFooter, SheetHeader, type SheetProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackGap, type StackProps, Switch, type SwitchProps, Tab, TabBar, TabBarAction, type TabBarActionProps, TabBarItem, type TabBarItemProps, type TabBarProps, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, type TagProps, type TagTone, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type ToastAction, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, UploadProgress, type UploadProgressLabels, type UploadProgressProps, type UploadStatus, type UseOverlayOptions, type VideoCaptions, type VideoChapter, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, VisuallyHidden, type VisuallyHiddenProps, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
1875
+ export { AppBar, type AppBarProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeTone, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type CSSVars, Card, CardBody, CardFooter, CardHeader, type CardProps, type CardSectionProps, type CardVariant, type CarouselPager, type CarouselSlide, Checkbox, type CheckboxProps, Chip, ChipBar, type ChipBarGap, type ChipBarProps, ChipGroup, type ChipGroupGap, type ChipGroupProps, type ChipProps, type ChipVariant, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogTone, Container, type ContainerProps, type ContainerWidth, CountButton, type CountButtonProps, type CountButtonTone, type Crumb, type DataColumn, DataTable, type DataTableProps, type DataTableSelectionLabels, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, Divider, type DividerProps, EmptyState, type EmptyStateProps, Field, type FieldContextValue, type FieldProps, Heading, type HeadingLevel, type HeadingProps, type HeadingTone, Icon, type IconProps, IconProvider, type IconProviderProps, type IconRender, type IconRenderProps, type IconSize, ImageCarousel, type ImageCarouselLabels, type ImageCarouselProps, Inline, type InlineAlign, type InlineGap, type InlineJustify, type InlineProps, Input, type InputProps, type InputSize, Lightbox, type LightboxLabels, type LightboxProps, Link, type LinkProps, type LinkVariant, ListGroup, type ListGroupProps, ListItem, type ListItemProps, MediaPlaceholder, type MediaPlaceholderProps, Modal, ModalBody, ModalFooter, ModalHeader, type ModalProps, type OverlayHistory, OverlayHistoryContext, PasswordInput, type PasswordInputProps, type Presence, ProgressBar, type ProgressBarProps, Radio, type RadioProps, type RovingGroupOptions, Screen, ScreenContent, type ScreenContentProps, SearchField, type SearchFieldProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, Select, type SelectProps, type SelectSize, Sheet, SheetBody, SheetFooter, SheetHeader, type SheetProps, SideNav, SideNavGroup, type SideNavGroupProps, SideNavItem, type SideNavItemProps, type SideNavProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackGap, type StackProps, Switch, type SwitchProps, Tab, TabBar, TabBarAction, type TabBarActionProps, TabBarItem, type TabBarItemProps, type TabBarProps, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, Tag, type TagProps, type TagTone, Text, type TextProps, type TextTone, type TextVariant, Textarea, type TextareaProps, type ToastAction, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastTone, UploadProgress, type UploadProgressLabels, type UploadProgressProps, type UploadStatus, type UseOverlayOptions, type VideoCaptions, type VideoChapter, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, VisuallyHidden, type VisuallyHiddenProps, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
package/dist/index.js CHANGED
@@ -1942,6 +1942,59 @@ function TabBarAction({ label, icon, onClick }) {
1942
1942
  return /* @__PURE__ */ jsx("button", { type: "button", "aria-label": label, className: TabBar_module_default.action, onClick, children: /* @__PURE__ */ jsx("span", { className: TabBar_module_default.icon, "aria-hidden": "true", children: icon }) });
1943
1943
  }
1944
1944
 
1945
+ // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/SideNav/SideNav.module.css?mds-scoped
1946
+ var SideNav_module_default = { "nav": "mds-SideNav__nav", "group": "mds-SideNav__group", "heading": "mds-SideNav__heading", "item": "mds-SideNav__item", "active": "mds-SideNav__active", "icon": "mds-SideNav__icon", "label": "mds-SideNav__label", "count": "mds-SideNav__count" };
1947
+ function SideNav({ label, className, children, ref, ...rest }) {
1948
+ return /* @__PURE__ */ jsx("nav", { ref, "aria-label": label, className: cx(SideNav_module_default.nav, className), ...rest, children });
1949
+ }
1950
+ function SideNavGroup({
1951
+ label,
1952
+ className,
1953
+ children,
1954
+ ref,
1955
+ ...rest
1956
+ }) {
1957
+ const headingId = useId();
1958
+ return /* @__PURE__ */ jsxs(
1959
+ "div",
1960
+ {
1961
+ ref,
1962
+ className: cx(SideNav_module_default.group, className),
1963
+ role: label != null ? "group" : void 0,
1964
+ "aria-labelledby": label != null ? headingId : void 0,
1965
+ ...rest,
1966
+ children: [
1967
+ label != null && /* @__PURE__ */ jsx("span", { className: SideNav_module_default.heading, id: headingId, children: label }),
1968
+ children
1969
+ ]
1970
+ }
1971
+ );
1972
+ }
1973
+ function SideNavItem({
1974
+ label,
1975
+ icon,
1976
+ href,
1977
+ onClick,
1978
+ active = false,
1979
+ count,
1980
+ countLabel,
1981
+ max = 99,
1982
+ as
1983
+ }) {
1984
+ const className = cx(SideNav_module_default.item, active && SideNav_module_default.active);
1985
+ const current = active ? "page" : void 0;
1986
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1987
+ icon != null && /* @__PURE__ */ jsx("span", { className: SideNav_module_default.icon, "aria-hidden": "true", children: icon }),
1988
+ /* @__PURE__ */ jsx("span", { className: SideNav_module_default.label, children: label }),
1989
+ count !== void 0 && count > 0 && /* @__PURE__ */ jsx(Badge, { tone: "accent", role: "status", "aria-label": countLabel, className: SideNav_module_default.count, children: count > max ? `${max}+` : count })
1990
+ ] });
1991
+ if (href !== void 0) {
1992
+ const Element = as ?? "a";
1993
+ return /* @__PURE__ */ jsx(Element, { href, className, "aria-current": current, onClick, children: content });
1994
+ }
1995
+ return /* @__PURE__ */ jsx("button", { type: "button", className, "aria-current": current, onClick, children: content });
1996
+ }
1997
+
1945
1998
  // mds-cssmod:/home/runner/work/mond-design-system/mond-design-system/packages/react/src/components/MediaPlaceholder/MediaPlaceholder.module.css?mds-scoped
1946
1999
  var MediaPlaceholder_module_default = { "media": "mds-MediaPlaceholder__media", "fill": "mds-MediaPlaceholder__fill", "image": "mds-MediaPlaceholder__image", "caption": "mds-MediaPlaceholder__caption", "cover": "mds-MediaPlaceholder__cover", "blurred": "mds-MediaPlaceholder__blurred" };
1947
2000
  function MediaPlaceholder({
@@ -2608,6 +2661,6 @@ function useRovingGroup(ref, { selector, orientation = "horizontal" }) {
2608
2661
  );
2609
2662
  }
2610
2663
 
2611
- export { AppBar, Avatar, AvatarGroup, Badge, Breadcrumb, Button, Card, CardBody, CardFooter, CardHeader, Checkbox, Chip, ChipBar, ChipGroup, ConfirmDialog, Container, CountButton, DataTable, DateTimePicker, Divider, EmptyState, Field, Heading, Icon, IconProvider, ImageCarousel, Inline, Input, Lightbox, Link, ListGroup, ListItem, MediaPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, OverlayHistoryContext, PasswordInput, ProgressBar, Radio, Screen, ScreenContent, SearchField, SegmentedControl, Select, Sheet, SheetBody, SheetFooter, SheetHeader, Skeleton, Spinner, Stack, Switch, Tab, TabBar, TabBarAction, TabBarItem, TabList, TabPanel, Tabs, Tag, Text, Textarea, ToastProvider, UploadProgress, VideoPlayer, VisuallyHidden, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
2664
+ export { AppBar, Avatar, AvatarGroup, Badge, Breadcrumb, Button, Card, CardBody, CardFooter, CardHeader, Checkbox, Chip, ChipBar, ChipGroup, ConfirmDialog, Container, CountButton, DataTable, DateTimePicker, Divider, EmptyState, Field, Heading, Icon, IconProvider, ImageCarousel, Inline, Input, Lightbox, Link, ListGroup, ListItem, MediaPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, OverlayHistoryContext, PasswordInput, ProgressBar, Radio, Screen, ScreenContent, SearchField, SegmentedControl, Select, Sheet, SheetBody, SheetFooter, SheetHeader, SideNav, SideNavGroup, SideNavItem, Skeleton, Spinner, Stack, Switch, Tab, TabBar, TabBarAction, TabBarItem, TabList, TabPanel, Tabs, Tag, Text, Textarea, ToastProvider, UploadProgress, VideoPlayer, VisuallyHidden, cx, useFieldContext, useOverlay, usePresence, useRovingGroup, useToast };
2612
2665
  //# sourceMappingURL=index.js.map
2613
2666
  //# sourceMappingURL=index.js.map