@bi-digital/react 0.11.2 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/{alert-footer-CIn6xe4F.d.mts → alert-footer-Bpq_UTqE.d.mts} +3 -2
  2. package/dist/components/alert/alert-footer.d.mts +1 -1
  3. package/dist/components/alert/alert.d.mts +1 -1
  4. package/dist/components/alert/index.d.mts +1 -1
  5. package/dist/components/avatar/avatar.d.mts +1 -1
  6. package/dist/components/avatar/index.d.mts +1 -1
  7. package/dist/components/badge/badge.d.mts +1 -1
  8. package/dist/components/badge/index.d.mts +1 -1
  9. package/dist/components/button/button.d.mts +1 -1
  10. package/dist/components/button/index.d.mts +1 -1
  11. package/dist/components/card/card-action.d.mts +1 -1
  12. package/dist/components/card/card-actions.d.mts +1 -1
  13. package/dist/components/card/card-content.d.mts +1 -1
  14. package/dist/components/card/card-date.d.mts +1 -1
  15. package/dist/components/card/card-header.d.mts +1 -1
  16. package/dist/components/card/card-media.d.mts +1 -1
  17. package/dist/components/card/card.d.mts +1 -1
  18. package/dist/components/card/index.d.mts +1 -1
  19. package/dist/components/checkbox/checkbox-subsection.d.mts +1 -1
  20. package/dist/components/checkbox/checkbox.d.mts +1 -1
  21. package/dist/components/checkbox/index.d.mts +1 -1
  22. package/dist/components/chip/chip.d.mts +1 -1
  23. package/dist/components/chip/index.d.mts +1 -1
  24. package/dist/components/details/details-content.d.mts +1 -1
  25. package/dist/components/details/details-summary.d.mts +1 -1
  26. package/dist/components/details/details.d.mts +1 -1
  27. package/dist/components/details/index.d.mts +1 -1
  28. package/dist/components/dialog/dialog-close-button.d.mts +1 -1
  29. package/dist/components/dialog/dialog-close-button.mjs +5 -5
  30. package/dist/components/dialog/dialog-close-button.mjs.map +1 -1
  31. package/dist/components/dialog/dialog-content.d.mts +1 -1
  32. package/dist/components/dialog/dialog-footer.d.mts +1 -1
  33. package/dist/components/dialog/dialog-header.d.mts +1 -1
  34. package/dist/components/dialog/dialog-trigger.d.mts +1 -1
  35. package/dist/components/dialog/dialog-trigger.mjs +1 -1
  36. package/dist/components/dialog/dialog-trigger.mjs.map +1 -1
  37. package/dist/components/dialog/dialog.d.mts +1 -1
  38. package/dist/components/dialog/index.d.mts +1 -1
  39. package/dist/components/dropdown/dropdown-button.d.mts +1 -1
  40. package/dist/components/dropdown/dropdown-trigger-context.d.mts +1 -1
  41. package/dist/components/dropdown/dropdown-trigger.d.mts +1 -1
  42. package/dist/components/dropdown/dropdown.d.mts +1 -1
  43. package/dist/components/dropdown/index.d.mts +1 -1
  44. package/dist/components/field/field-affix.d.mts +1 -1
  45. package/dist/components/field/field-description.d.mts +1 -1
  46. package/dist/components/field/field.d.mts +1 -1
  47. package/dist/components/field/index.d.mts +1 -1
  48. package/dist/components/fieldset/fieldset-description.d.mts +1 -1
  49. package/dist/components/fieldset/fieldset-legend.d.mts +1 -1
  50. package/dist/components/fieldset/fieldset.d.mts +1 -1
  51. package/dist/components/fieldset/index.d.mts +1 -1
  52. package/dist/components/filter-group/filter-group.d.mts +1 -1
  53. package/dist/components/filter-group/index.d.mts +1 -1
  54. package/dist/components/footer/footer.d.mts +1 -1
  55. package/dist/components/footer/index.d.mts +1 -1
  56. package/dist/components/index.d.mts +1 -1
  57. package/dist/components/input/index.d.mts +1 -1
  58. package/dist/components/input/input.d.mts +1 -1
  59. package/dist/components/label/index.d.mts +1 -1
  60. package/dist/components/label/label.d.mts +1 -1
  61. package/dist/components/link/index.d.mts +1 -1
  62. package/dist/components/link/link.d.mts +1 -1
  63. package/dist/components/logo/index.d.mts +1 -1
  64. package/dist/components/logo/logo.d.mts +1 -1
  65. package/dist/components/navbar/index.d.mts +1 -1
  66. package/dist/components/navbar/navbar.d.mts +1 -1
  67. package/dist/components/navbar/sub-navbar.d.mts +1 -1
  68. package/dist/components/pagination/index.d.mts +1 -1
  69. package/dist/components/pagination/pagination-button.d.mts +1 -1
  70. package/dist/components/pagination/pagination.d.mts +1 -1
  71. package/dist/components/popover/index.d.mts +1 -1
  72. package/dist/components/popover/popover-trigger.d.mts +1 -1
  73. package/dist/components/popover/popover.d.mts +1 -1
  74. package/dist/components/radio/index.d.mts +1 -1
  75. package/dist/components/radio/radio.d.mts +1 -1
  76. package/dist/components/search/index.d.mts +1 -1
  77. package/dist/components/search/search.d.mts +1 -1
  78. package/dist/components/select/index.d.mts +1 -1
  79. package/dist/components/select/select-optgroup.d.mts +1 -1
  80. package/dist/components/select/select-option.d.mts +1 -1
  81. package/dist/components/select/select.d.mts +1 -1
  82. package/dist/components/selectfield/index.d.mts +1 -1
  83. package/dist/components/selectfield/selectfield.d.mts +1 -1
  84. package/dist/components/skip-link/index.d.mts +1 -1
  85. package/dist/components/skip-link/skip-link.d.mts +1 -1
  86. package/dist/components/spinner/index.d.mts +1 -1
  87. package/dist/components/spinner/spinner.d.mts +1 -1
  88. package/dist/components/switch/index.d.mts +1 -1
  89. package/dist/components/switch/switch.d.mts +1 -1
  90. package/dist/components/tabs/index.d.mts +1 -1
  91. package/dist/components/tabs/tab.d.mts +1 -1
  92. package/dist/components/tabs/tabs-list.d.mts +1 -1
  93. package/dist/components/tabs/tabs-panel.d.mts +1 -1
  94. package/dist/components/tabs/tabs.d.mts +1 -1
  95. package/dist/components/textarea/index.d.mts +1 -1
  96. package/dist/components/textarea/textarea.d.mts +1 -1
  97. package/dist/components/textfield/index.d.mts +1 -1
  98. package/dist/components/textfield/textfield.d.mts +1 -1
  99. package/dist/components/validation-message/index.d.mts +1 -1
  100. package/dist/components/validation-message/validation-message.d.mts +1 -1
  101. package/dist/main.d.mts +1 -1
  102. package/dist/utilities/hooks/index.d.mts +1 -1
  103. package/dist/utilities/hooks/usePagination/usePagination.d.mts +1 -1
  104. package/dist/utilities/index.d.mts +1 -1
  105. package/package.json +3 -3
@@ -668,11 +668,12 @@ declare const DialogTrigger: ({
668
668
  type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;
669
669
  /**
670
670
  * A button that can be used to close the dialog. Must be used inside a `Dialog` that is wrapped in a `DialogTriggerContext`.
671
- * If placed as the first direct child of the `Dialog`, it will be placed in the top right corner of the dialog, otherwise it will be placed where it is rendered.
671
+ * When placed as a direct child of `Dialog`, it will be positioned absolutely in the top right corner.
672
672
  */
673
673
  declare const DialogCloseButton: ({
674
674
  children,
675
675
  ref,
676
+ className,
676
677
  ...props
677
678
  }: DialogCloseButtonProps) => _$react_jsx_runtime0.JSX.Element;
678
679
  //#endregion
@@ -1626,4 +1627,4 @@ declare const AlertFooter: ({
1626
1627
  }: AlertFooterProps) => _$react_jsx_runtime0.JSX.Element;
1627
1628
  //#endregion
1628
1629
  export { FilterGroup as $, Input as $t, SelectOptgroupProps as A, DialogCloseButtonProps as At, PaginationButtonProps as B, DialogProps as Bt, Spinner as C, Dropdown as Ct, Selectfield as D, Popover as Dt, SkipLinkProps as E, PopoverTriggerProps as Et, Search as F, DialogHeader as Ft, Navbar as G, Details as Gt, PaginationProps as H, DetailsSummaryProps as Ht, SearchProps as I, DialogHeaderProps as It, LogoProps as J, ChipProps as Jt, NavbarProps as K, DetailsProps as Kt, Radio as L, DialogContent as Lt, SelectOptionProps as M, DialogTriggerProps as Mt, Select as N, DialogFooter as Nt, SelectfieldProps as O, PopoverProps as Ot, SelectProps as P, DialogFooterProps as Pt, FooterProps as Q, CheckboxProps as Qt, RadioProps as R, DialogContentProps as Rt, SwitchProps as S, AlertProps as Sn, DropdownButtonProps as St, SkipLink as T, PopoverTrigger as Tt, SubNavbar as U, DetailsContent as Ut, Pagination as V, DetailsSummary as Vt, SubNavbarProps as W, DetailsContentProps as Wt, LinkProps as X, CheckboxSubsectionProps as Xt, Link as Y, CheckboxSubsection as Yt, Footer as Z, Checkbox as Zt, Context as _, Badge as _n, DropdownTriggerContext as _t, ValidationMessage as a, CardHeader as an, FieldsetDescription as at, TabsProps as b, AvatarProps as bn, DropdownTriggerProps as bt, TextfieldProps as c, CardContentProps as cn, FieldsetProps as ct, TabsPanel as d, CardActions as dn, FieldAffixes as dt, InputProps as en, FilterGroupProps as et, TabsPanelProps as f, CardActionsProps as fn, FieldAffixesProps as ft, TabProps as g, ButtonProps as gn, FieldProps as gt, Tab as h, Button as hn, Field as ht, usePagination as i, CardMediaProps as in, LabelProps as it, SelectOption as j, DialogTrigger as jt, SelectOptgroup as k, DialogCloseButton as kt, Textarea as l, CardAction as ln, FieldAffix as lt, TabsListProps as m, CardProps as mn, FieldDescriptionProps as mt, AlertFooterProps as n, CardDateProps as nn, FieldsetLegendProps as nt, ValidationMessageProps as o, CardHeaderProps as on, FieldsetDescriptionProps as ot, TabsList as p, Card as pn, FieldDescription as pt, Logo as q, Chip as qt, UsePaginationProps as r, CardMedia as rn, Label as rt, Textfield as s, CardContent as sn, Fieldset as st, AlertFooter as t, CardDate as tn, FieldsetLegend as tt, TextareaProps as u, CardActionProps as un, FieldAffixProps as ut, Tabs as v, BadgeProps as vn, DropdownTriggerContextProps as vt, SpinnerProps as w, DropdownProps as wt, Switch as x, Alert as xn, DropdownButton as xt, TabsContext as y, Avatar as yn, DropdownTrigger as yt, PaginationButton as z, Dialog as zt };
1629
- //# sourceMappingURL=alert-footer-CIn6xe4F.d.mts.map
1630
+ //# sourceMappingURL=alert-footer-Bpq_UTqE.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as AlertFooterProps, t as AlertFooter } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { n as AlertFooterProps, t as AlertFooter } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { AlertFooter, AlertFooterProps };
@@ -1,2 +1,2 @@
1
- import { Sn as AlertProps, xn as Alert } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Sn as AlertProps, xn as Alert } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Alert, AlertProps };
@@ -1,2 +1,2 @@
1
- import { Sn as AlertProps, n as AlertFooterProps, t as AlertFooter, xn as Alert } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Sn as AlertProps, n as AlertFooterProps, t as AlertFooter, xn as Alert } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Alert, AlertFooter, AlertFooterProps, AlertProps };
@@ -1,2 +1,2 @@
1
- import { bn as AvatarProps, yn as Avatar } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { bn as AvatarProps, yn as Avatar } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Avatar, AvatarProps };
@@ -1,2 +1,2 @@
1
- import { bn as AvatarProps, yn as Avatar } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { bn as AvatarProps, yn as Avatar } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Avatar, AvatarProps };
@@ -1,2 +1,2 @@
1
- import { _n as Badge, vn as BadgeProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { _n as Badge, vn as BadgeProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Badge, BadgeProps };
@@ -1,2 +1,2 @@
1
- import { _n as Badge, vn as BadgeProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { _n as Badge, vn as BadgeProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Badge, BadgeProps };
@@ -1,2 +1,2 @@
1
- import { gn as ButtonProps, hn as Button } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { gn as ButtonProps, hn as Button } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Button, ButtonProps };
@@ -1,2 +1,2 @@
1
- import { gn as ButtonProps, hn as Button } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { gn as ButtonProps, hn as Button } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Button, ButtonProps };
@@ -1,2 +1,2 @@
1
- import { ln as CardAction, un as CardActionProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { ln as CardAction, un as CardActionProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardAction, CardActionProps };
@@ -1,2 +1,2 @@
1
- import { dn as CardActions, fn as CardActionsProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { dn as CardActions, fn as CardActionsProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardActions, CardActionsProps };
@@ -1,2 +1,2 @@
1
- import { cn as CardContentProps, sn as CardContent } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { cn as CardContentProps, sn as CardContent } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardContent, CardContentProps };
@@ -1,2 +1,2 @@
1
- import { nn as CardDateProps, tn as CardDate } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { nn as CardDateProps, tn as CardDate } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardDate, CardDateProps };
@@ -1,2 +1,2 @@
1
- import { an as CardHeader, on as CardHeaderProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { an as CardHeader, on as CardHeaderProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardHeader, CardHeaderProps };
@@ -1,2 +1,2 @@
1
- import { in as CardMediaProps, rn as CardMedia } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { in as CardMediaProps, rn as CardMedia } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CardMedia, CardMediaProps };
@@ -1,2 +1,2 @@
1
- import { mn as CardProps, pn as Card } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { mn as CardProps, pn as Card } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Card, CardProps };
@@ -1,2 +1,2 @@
1
- import { an as CardHeader, cn as CardContentProps, dn as CardActions, fn as CardActionsProps, in as CardMediaProps, ln as CardAction, mn as CardProps, nn as CardDateProps, on as CardHeaderProps, pn as Card, rn as CardMedia, sn as CardContent, tn as CardDate, un as CardActionProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { an as CardHeader, cn as CardContentProps, dn as CardActions, fn as CardActionsProps, in as CardMediaProps, ln as CardAction, mn as CardProps, nn as CardDateProps, on as CardHeaderProps, pn as Card, rn as CardMedia, sn as CardContent, tn as CardDate, un as CardActionProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps };
@@ -1,2 +1,2 @@
1
- import { Xt as CheckboxSubsectionProps, Yt as CheckboxSubsection } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Xt as CheckboxSubsectionProps, Yt as CheckboxSubsection } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { CheckboxSubsection, CheckboxSubsectionProps };
@@ -1,2 +1,2 @@
1
- import { Qt as CheckboxProps, Zt as Checkbox } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Qt as CheckboxProps, Zt as Checkbox } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Checkbox, CheckboxProps };
@@ -1,2 +1,2 @@
1
- import { Qt as CheckboxProps, Xt as CheckboxSubsectionProps, Yt as CheckboxSubsection, Zt as Checkbox } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Qt as CheckboxProps, Xt as CheckboxSubsectionProps, Yt as CheckboxSubsection, Zt as Checkbox } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps };
@@ -1,2 +1,2 @@
1
- import { Jt as ChipProps, qt as Chip } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Jt as ChipProps, qt as Chip } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Chip, ChipProps };
@@ -1,2 +1,2 @@
1
- import { Jt as ChipProps, qt as Chip } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Jt as ChipProps, qt as Chip } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Chip, ChipProps };
@@ -1,2 +1,2 @@
1
- import { Ut as DetailsContent, Wt as DetailsContentProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Ut as DetailsContent, Wt as DetailsContentProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DetailsContent, DetailsContentProps };
@@ -1,2 +1,2 @@
1
- import { Ht as DetailsSummaryProps, Vt as DetailsSummary } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Ht as DetailsSummaryProps, Vt as DetailsSummary } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DetailsSummary, DetailsSummaryProps };
@@ -1,2 +1,2 @@
1
- import { Gt as Details, Kt as DetailsProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Gt as Details, Kt as DetailsProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Details, DetailsProps };
@@ -1,2 +1,2 @@
1
- import { Gt as Details, Ht as DetailsSummaryProps, Kt as DetailsProps, Ut as DetailsContent, Vt as DetailsSummary, Wt as DetailsContentProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Gt as Details, Ht as DetailsSummaryProps, Kt as DetailsProps, Ut as DetailsContent, Vt as DetailsSummary, Wt as DetailsContentProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Details, DetailsContent, DetailsContentProps, DetailsProps, DetailsSummary, DetailsSummaryProps };
@@ -1,2 +1,2 @@
1
- import { At as DialogCloseButtonProps, kt as DialogCloseButton } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { At as DialogCloseButtonProps, kt as DialogCloseButton } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DialogCloseButton, DialogCloseButtonProps };
@@ -1,23 +1,23 @@
1
1
  import { Button } from "../button/button.mjs";
2
2
  import "../button/index.mjs";
3
3
  import { Context } from "./dialog-trigger-context.mjs";
4
+ import clsx from "clsx/lite";
4
5
  import { CrossSmallIcon } from "@bi-digital/icons";
5
6
  import { jsx } from "react/jsx-runtime";
6
7
  import { use } from "react";
7
8
  //#region src/components/dialog/dialog-close-button.tsx
8
9
  /**
9
10
  * A button that can be used to close the dialog. Must be used inside a `Dialog` that is wrapped in a `DialogTriggerContext`.
10
- * If placed as the first direct child of the `Dialog`, it will be placed in the top right corner of the dialog, otherwise it will be placed where it is rendered.
11
+ * When placed as a direct child of `Dialog`, it will be positioned absolutely in the top right corner.
11
12
  */
12
- const DialogCloseButton = ({ children, ref, ...props }) => {
13
+ const DialogCloseButton = ({ children, ref, className, ...props }) => {
13
14
  const { id } = use(Context);
14
15
  return /* @__PURE__ */ jsx(Button, {
15
16
  ref,
16
17
  icon: true,
17
- name: "close",
18
- type: "submit",
19
18
  variant: "text",
20
- command: "close",
19
+ className: clsx("bi-dialog--close", className),
20
+ command: id ? "close" : void 0,
21
21
  commandfor: id,
22
22
  ...props,
23
23
  children: children || /* @__PURE__ */ jsx(CrossSmallIcon, { "aria-hidden": "true" })
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-close-button.mjs","names":[],"sources":["../../../src/components/dialog/dialog-close-button.tsx"],"sourcesContent":["import { CrossSmallIcon } from '@bi-digital/icons';\nimport { Button, type ButtonProps } from '../button';\nimport { use } from 'react';\nimport { Context } from './dialog-trigger-context';\n\nexport type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;\n\n/**\n * A button that can be used to close the dialog. Must be used inside a `Dialog` that is wrapped in a `DialogTriggerContext`.\n * If placed as the first direct child of the `Dialog`, it will be placed in the top right corner of the dialog, otherwise it will be placed where it is rendered.\n */\nexport const DialogCloseButton = ({ children, ref, ...props }: DialogCloseButtonProps) => {\n const { id } = use(Context);\n return (\n <Button ref={ref} icon name='close' type='submit' variant='text' command='close' commandfor={id} {...props}>\n {children || <CrossSmallIcon aria-hidden='true' />}\n </Button>\n );\n};\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,qBAAqB,EAAE,UAAU,KAAK,GAAG,YAAoC;CACxF,MAAM,EAAE,OAAO,IAAI,QAAQ;AAC3B,QACE,oBAAC,QAAD;EAAa;EAAK,MAAA;EAAK,MAAK;EAAQ,MAAK;EAAS,SAAQ;EAAO,SAAQ;EAAQ,YAAY;EAAI,GAAI;YAClG,YAAY,oBAAC,gBAAD,EAAgB,eAAY,QAAS,CAAA;EAC3C,CAAA"}
1
+ {"version":3,"file":"dialog-close-button.mjs","names":[],"sources":["../../../src/components/dialog/dialog-close-button.tsx"],"sourcesContent":["import { CrossSmallIcon } from '@bi-digital/icons';\nimport { Button, type ButtonProps } from '../button';\nimport { use } from 'react';\nimport { Context } from './dialog-trigger-context';\nimport clsx from 'clsx/lite';\n\nexport type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;\n\n/**\n * A button that can be used to close the dialog. Must be used inside a `Dialog` that is wrapped in a `DialogTriggerContext`.\n * When placed as a direct child of `Dialog`, it will be positioned absolutely in the top right corner.\n */\nexport const DialogCloseButton = ({ children, ref, className, ...props }: DialogCloseButtonProps) => {\n const { id } = use(Context);\n return (\n <Button\n ref={ref}\n icon\n variant='text'\n className={clsx('bi-dialog--close', className)}\n command={id ? 'close' : undefined}\n commandfor={id}\n {...props}\n >\n {children || <CrossSmallIcon aria-hidden='true' />}\n </Button>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,qBAAqB,EAAE,UAAU,KAAK,WAAW,GAAG,YAAoC;CACnG,MAAM,EAAE,OAAO,IAAI,QAAQ;AAC3B,QACE,oBAAC,QAAD;EACO;EACL,MAAA;EACA,SAAQ;EACR,WAAW,KAAK,oBAAoB,UAAU;EAC9C,SAAS,KAAK,UAAU,KAAA;EACxB,YAAY;EACZ,GAAI;YAEH,YAAY,oBAAC,gBAAD,EAAgB,eAAY,QAAS,CAAA;EAC3C,CAAA"}
@@ -1,2 +1,2 @@
1
- import { Lt as DialogContent, Rt as DialogContentProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Lt as DialogContent, Rt as DialogContentProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DialogContent, DialogContentProps };
@@ -1,2 +1,2 @@
1
- import { Nt as DialogFooter, Pt as DialogFooterProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Nt as DialogFooter, Pt as DialogFooterProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DialogFooter, DialogFooterProps };
@@ -1,2 +1,2 @@
1
- import { Ft as DialogHeader, It as DialogHeaderProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Ft as DialogHeader, It as DialogHeaderProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DialogHeader, DialogHeaderProps };
@@ -1,2 +1,2 @@
1
- import { Mt as DialogTriggerProps, jt as DialogTrigger } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Mt as DialogTriggerProps, jt as DialogTrigger } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DialogTrigger, DialogTriggerProps };
@@ -9,7 +9,7 @@ const DialogTrigger = ({ asChild, ref, ...rest }) => {
9
9
  const { id } = use(Context);
10
10
  return /* @__PURE__ */ jsx(asChild ? Slot : Button, {
11
11
  suppressHydrationWarning: true,
12
- command: "show-modal",
12
+ command: id ? "show-modal" : void 0,
13
13
  commandfor: id,
14
14
  ref,
15
15
  ...rest
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-trigger.mjs","names":[],"sources":["../../../src/components/dialog/dialog-trigger.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { use } from 'react';\n\nimport { Button, type ButtonProps } from '../button';\nimport { Context } from './dialog-trigger-context';\n\nexport type DialogTriggerProps = ButtonProps;\n\nexport const DialogTrigger = ({ asChild, ref, ...rest }: DialogTriggerProps) => {\n const { id } = use(Context);\n const Component = asChild ? Slot : Button;\n\n return (\n <Component\n suppressHydrationWarning // Might get augmented through designsystemet-web with aria-haspopup\n command='show-modal'\n commandfor={id}\n ref={ref}\n {...rest}\n />\n );\n};\n"],"mappings":";;;;;;;AAQA,MAAa,iBAAiB,EAAE,SAAS,KAAK,GAAG,WAA+B;CAC9E,MAAM,EAAE,OAAO,IAAI,QAAQ;AAG3B,QACE,oBAHgB,UAAU,OAAO,QAGjC;EACE,0BAAA;EACA,SAAQ;EACR,YAAY;EACP;EACL,GAAI;EACJ,CAAA"}
1
+ {"version":3,"file":"dialog-trigger.mjs","names":[],"sources":["../../../src/components/dialog/dialog-trigger.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { use } from 'react';\n\nimport { Button, type ButtonProps } from '../button';\nimport { Context } from './dialog-trigger-context';\n\nexport type DialogTriggerProps = ButtonProps;\n\nexport const DialogTrigger = ({ asChild, ref, ...rest }: DialogTriggerProps) => {\n const { id } = use(Context);\n const Component = asChild ? Slot : Button;\n\n return (\n <Component\n suppressHydrationWarning // Might get augmented through designsystemet-web with aria-haspopup\n command={id ? 'show-modal' : undefined}\n commandfor={id}\n ref={ref}\n {...rest}\n />\n );\n};\n"],"mappings":";;;;;;;AAQA,MAAa,iBAAiB,EAAE,SAAS,KAAK,GAAG,WAA+B;CAC9E,MAAM,EAAE,OAAO,IAAI,QAAQ;AAG3B,QACE,oBAHgB,UAAU,OAAO,QAGjC;EACE,0BAAA;EACA,SAAS,KAAK,eAAe,KAAA;EAC7B,YAAY;EACP;EACL,GAAI;EACJ,CAAA"}
@@ -1,2 +1,2 @@
1
- import { Bt as DialogProps, zt as Dialog } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Bt as DialogProps, zt as Dialog } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Dialog, DialogProps };
@@ -1,3 +1,3 @@
1
- import { At as DialogCloseButtonProps, Bt as DialogProps, Ft as DialogHeader, It as DialogHeaderProps, Lt as DialogContent, Mt as DialogTriggerProps, Nt as DialogFooter, Pt as DialogFooterProps, Rt as DialogContentProps, jt as DialogTrigger, kt as DialogCloseButton, zt as Dialog } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { At as DialogCloseButtonProps, Bt as DialogProps, Ft as DialogHeader, It as DialogHeaderProps, Lt as DialogContent, Mt as DialogTriggerProps, Nt as DialogFooter, Pt as DialogFooterProps, Rt as DialogContentProps, jt as DialogTrigger, kt as DialogCloseButton, zt as Dialog } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "../../dialog-trigger-context-DbUhxoNL.mjs";
3
3
  export { Context, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerContext, DialogTriggerContextProps, DialogTriggerProps };
@@ -1,2 +1,2 @@
1
- import { St as DropdownButtonProps, xt as DropdownButton } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { St as DropdownButtonProps, xt as DropdownButton } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DropdownButton, DropdownButtonProps };
@@ -1,2 +1,2 @@
1
- import { _t as DropdownTriggerContext, vt as DropdownTriggerContextProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { _t as DropdownTriggerContext, vt as DropdownTriggerContextProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DropdownTriggerContext, DropdownTriggerContextProps };
@@ -1,2 +1,2 @@
1
- import { bt as DropdownTriggerProps, yt as DropdownTrigger } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { bt as DropdownTriggerProps, yt as DropdownTrigger } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { DropdownTrigger, DropdownTriggerProps };
@@ -1,2 +1,2 @@
1
- import { Ct as Dropdown, wt as DropdownProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Ct as Dropdown, wt as DropdownProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Dropdown, DropdownProps };
@@ -1,4 +1,4 @@
1
- import { Ct as Dropdown, St as DropdownButtonProps, _t as DropdownTriggerContext, bt as DropdownTriggerProps, vt as DropdownTriggerContextProps, wt as DropdownProps, xt as DropdownButton, yt as DropdownTrigger } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Ct as Dropdown, St as DropdownButtonProps, _t as DropdownTriggerContext, bt as DropdownTriggerProps, vt as DropdownTriggerContextProps, wt as DropdownProps, xt as DropdownButton, yt as DropdownTrigger } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as DropdownItemProps, t as DropdownItem } from "../../dropdown-item-bA64wFOZ.mjs";
3
3
  import { n as DropdownListProps, t as DropdownList } from "../../dropdown-list-CaYz-O1j.mjs";
4
4
  export { Dropdown, DropdownButton, DropdownButtonProps, DropdownItem, DropdownItemProps, DropdownList, DropdownListProps, DropdownProps, DropdownTrigger, DropdownTriggerContext, DropdownTriggerContextProps, DropdownTriggerProps };
@@ -1,2 +1,2 @@
1
- import { dt as FieldAffixes, ft as FieldAffixesProps, lt as FieldAffix, ut as FieldAffixProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { dt as FieldAffixes, ft as FieldAffixesProps, lt as FieldAffix, ut as FieldAffixProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps };
@@ -1,2 +1,2 @@
1
- import { mt as FieldDescriptionProps, pt as FieldDescription } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { mt as FieldDescriptionProps, pt as FieldDescription } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FieldDescription, FieldDescriptionProps };
@@ -1,2 +1,2 @@
1
- import { gt as FieldProps, ht as Field } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { gt as FieldProps, ht as Field } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Field, FieldProps };
@@ -1,2 +1,2 @@
1
- import { dt as FieldAffixes, ft as FieldAffixesProps, gt as FieldProps, ht as Field, lt as FieldAffix, mt as FieldDescriptionProps, pt as FieldDescription, ut as FieldAffixProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { dt as FieldAffixes, ft as FieldAffixesProps, gt as FieldProps, ht as Field, lt as FieldAffix, mt as FieldDescriptionProps, pt as FieldDescription, ut as FieldAffixProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps };
@@ -1,2 +1,2 @@
1
- import { at as FieldsetDescription, ot as FieldsetDescriptionProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { at as FieldsetDescription, ot as FieldsetDescriptionProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FieldsetDescription, FieldsetDescriptionProps };
@@ -1,2 +1,2 @@
1
- import { nt as FieldsetLegendProps, tt as FieldsetLegend } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { nt as FieldsetLegendProps, tt as FieldsetLegend } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FieldsetLegend, FieldsetLegendProps };
@@ -1,2 +1,2 @@
1
- import { ct as FieldsetProps, st as Fieldset } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { ct as FieldsetProps, st as Fieldset } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Fieldset, FieldsetProps };
@@ -1,2 +1,2 @@
1
- import { at as FieldsetDescription, ct as FieldsetProps, nt as FieldsetLegendProps, ot as FieldsetDescriptionProps, st as Fieldset, tt as FieldsetLegend } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { at as FieldsetDescription, ct as FieldsetProps, nt as FieldsetLegendProps, ot as FieldsetDescriptionProps, st as Fieldset, tt as FieldsetLegend } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps };
@@ -1,2 +1,2 @@
1
- import { $ as FilterGroup, et as FilterGroupProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { $ as FilterGroup, et as FilterGroupProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FilterGroup, FilterGroupProps };
@@ -1,2 +1,2 @@
1
- import { $ as FilterGroup, et as FilterGroupProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { $ as FilterGroup, et as FilterGroupProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { FilterGroup, FilterGroupProps };
@@ -1,2 +1,2 @@
1
- import { Q as FooterProps, Z as Footer } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Q as FooterProps, Z as Footer } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Footer, FooterProps };
@@ -1,3 +1,3 @@
1
- import { Q as FooterProps, Z as Footer } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Q as FooterProps, Z as Footer } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as FooterLinksProps, t as FooterLinks } from "../../footer-links-DwBghNrz.mjs";
3
3
  export { Footer, FooterLinks, FooterLinksProps, FooterProps };
@@ -1,4 +1,4 @@
1
- import { $ as FilterGroup, $t as Input, A as SelectOptgroupProps, At as DialogCloseButtonProps, B as PaginationButtonProps, Bt as DialogProps, C as Spinner, Ct as Dropdown, D as Selectfield, Dt as Popover, E as SkipLinkProps, Et as PopoverTriggerProps, F as Search, Ft as DialogHeader, G as Navbar, Gt as Details, H as PaginationProps, Ht as DetailsSummaryProps, I as SearchProps, It as DialogHeaderProps, J as LogoProps, Jt as ChipProps, K as NavbarProps, Kt as DetailsProps, L as Radio, Lt as DialogContent, M as SelectOptionProps, Mt as DialogTriggerProps, N as Select, Nt as DialogFooter, O as SelectfieldProps, Ot as PopoverProps, P as SelectProps, Pt as DialogFooterProps, Q as FooterProps, Qt as CheckboxProps, R as RadioProps, Rt as DialogContentProps, S as SwitchProps, Sn as AlertProps, St as DropdownButtonProps, T as SkipLink, Tt as PopoverTrigger, U as SubNavbar, Ut as DetailsContent, V as Pagination, Vt as DetailsSummary, W as SubNavbarProps, Wt as DetailsContentProps, X as LinkProps, Xt as CheckboxSubsectionProps, Y as Link, Yt as CheckboxSubsection, Z as Footer, Zt as Checkbox, _n as Badge, _t as DropdownTriggerContext, a as ValidationMessage, an as CardHeader, at as FieldsetDescription, b as TabsProps, bn as AvatarProps, bt as DropdownTriggerProps, c as TextfieldProps, cn as CardContentProps, ct as FieldsetProps, d as TabsPanel, dn as CardActions, dt as FieldAffixes, en as InputProps, et as FilterGroupProps, f as TabsPanelProps, fn as CardActionsProps, ft as FieldAffixesProps, g as TabProps, gn as ButtonProps, gt as FieldProps, h as Tab, hn as Button, ht as Field, in as CardMediaProps, it as LabelProps, j as SelectOption, jt as DialogTrigger, k as SelectOptgroup, kt as DialogCloseButton, l as Textarea, ln as CardAction, lt as FieldAffix, m as TabsListProps, mn as CardProps, mt as FieldDescriptionProps, n as AlertFooterProps, nn as CardDateProps, nt as FieldsetLegendProps, o as ValidationMessageProps, on as CardHeaderProps, ot as FieldsetDescriptionProps, p as TabsList, pn as Card, pt as FieldDescription, q as Logo, qt as Chip, rn as CardMedia, rt as Label, s as Textfield, sn as CardContent, st as Fieldset, t as AlertFooter, tn as CardDate, tt as FieldsetLegend, u as TextareaProps, un as CardActionProps, ut as FieldAffixProps, v as Tabs, vn as BadgeProps, vt as DropdownTriggerContextProps, w as SpinnerProps, wt as DropdownProps, x as Switch, xn as Alert, xt as DropdownButton, y as TabsContext, yn as Avatar, yt as DropdownTrigger, z as PaginationButton, zt as Dialog } from "../alert-footer-CIn6xe4F.mjs";
1
+ import { $ as FilterGroup, $t as Input, A as SelectOptgroupProps, At as DialogCloseButtonProps, B as PaginationButtonProps, Bt as DialogProps, C as Spinner, Ct as Dropdown, D as Selectfield, Dt as Popover, E as SkipLinkProps, Et as PopoverTriggerProps, F as Search, Ft as DialogHeader, G as Navbar, Gt as Details, H as PaginationProps, Ht as DetailsSummaryProps, I as SearchProps, It as DialogHeaderProps, J as LogoProps, Jt as ChipProps, K as NavbarProps, Kt as DetailsProps, L as Radio, Lt as DialogContent, M as SelectOptionProps, Mt as DialogTriggerProps, N as Select, Nt as DialogFooter, O as SelectfieldProps, Ot as PopoverProps, P as SelectProps, Pt as DialogFooterProps, Q as FooterProps, Qt as CheckboxProps, R as RadioProps, Rt as DialogContentProps, S as SwitchProps, Sn as AlertProps, St as DropdownButtonProps, T as SkipLink, Tt as PopoverTrigger, U as SubNavbar, Ut as DetailsContent, V as Pagination, Vt as DetailsSummary, W as SubNavbarProps, Wt as DetailsContentProps, X as LinkProps, Xt as CheckboxSubsectionProps, Y as Link, Yt as CheckboxSubsection, Z as Footer, Zt as Checkbox, _n as Badge, _t as DropdownTriggerContext, a as ValidationMessage, an as CardHeader, at as FieldsetDescription, b as TabsProps, bn as AvatarProps, bt as DropdownTriggerProps, c as TextfieldProps, cn as CardContentProps, ct as FieldsetProps, d as TabsPanel, dn as CardActions, dt as FieldAffixes, en as InputProps, et as FilterGroupProps, f as TabsPanelProps, fn as CardActionsProps, ft as FieldAffixesProps, g as TabProps, gn as ButtonProps, gt as FieldProps, h as Tab, hn as Button, ht as Field, in as CardMediaProps, it as LabelProps, j as SelectOption, jt as DialogTrigger, k as SelectOptgroup, kt as DialogCloseButton, l as Textarea, ln as CardAction, lt as FieldAffix, m as TabsListProps, mn as CardProps, mt as FieldDescriptionProps, n as AlertFooterProps, nn as CardDateProps, nt as FieldsetLegendProps, o as ValidationMessageProps, on as CardHeaderProps, ot as FieldsetDescriptionProps, p as TabsList, pn as Card, pt as FieldDescription, q as Logo, qt as Chip, rn as CardMedia, rt as Label, s as Textfield, sn as CardContent, st as Fieldset, t as AlertFooter, tn as CardDate, tt as FieldsetLegend, u as TextareaProps, un as CardActionProps, ut as FieldAffixProps, v as Tabs, vn as BadgeProps, vt as DropdownTriggerContextProps, w as SpinnerProps, wt as DropdownProps, x as Switch, xn as Alert, xt as DropdownButton, y as TabsContext, yn as Avatar, yt as DropdownTrigger, z as PaginationButton, zt as Dialog } from "../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "../dialog-trigger-context-DbUhxoNL.mjs";
3
3
  import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../popover-trigger-context-BLjAozBn.mjs";
4
4
  import { n as DropdownItemProps, t as DropdownItem } from "../dropdown-item-bA64wFOZ.mjs";
@@ -1,2 +1,2 @@
1
- import { $t as Input, en as InputProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { $t as Input, en as InputProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Input, InputProps };
@@ -1,2 +1,2 @@
1
- import { $t as Input, en as InputProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { $t as Input, en as InputProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Input, InputProps };
@@ -1,2 +1,2 @@
1
- import { it as LabelProps, rt as Label } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { it as LabelProps, rt as Label } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Label, LabelProps };
@@ -1,2 +1,2 @@
1
- import { it as LabelProps, rt as Label } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { it as LabelProps, rt as Label } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Label, LabelProps };
@@ -1,2 +1,2 @@
1
- import { X as LinkProps, Y as Link } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { X as LinkProps, Y as Link } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Link, LinkProps };
@@ -1,2 +1,2 @@
1
- import { X as LinkProps, Y as Link } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { X as LinkProps, Y as Link } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Link, LinkProps };
@@ -1,2 +1,2 @@
1
- import { J as LogoProps, q as Logo } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { J as LogoProps, q as Logo } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Logo, LogoProps };
@@ -1,2 +1,2 @@
1
- import { J as LogoProps, q as Logo } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { J as LogoProps, q as Logo } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Logo, LogoProps };
@@ -1,2 +1,2 @@
1
- import { G as Navbar, K as NavbarProps, U as SubNavbar, W as SubNavbarProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { G as Navbar, K as NavbarProps, U as SubNavbar, W as SubNavbarProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Navbar, NavbarProps, SubNavbar, SubNavbarProps };
@@ -1,2 +1,2 @@
1
- import { G as Navbar, K as NavbarProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { G as Navbar, K as NavbarProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Navbar, NavbarProps };
@@ -1,2 +1,2 @@
1
- import { U as SubNavbar, W as SubNavbarProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { U as SubNavbar, W as SubNavbarProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { SubNavbar, SubNavbarProps };
@@ -1,3 +1,3 @@
1
- import { B as PaginationButtonProps, H as PaginationProps, V as Pagination, z as PaginationButton } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { B as PaginationButtonProps, H as PaginationProps, V as Pagination, z as PaginationButton } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as PaginationItemProps, t as PaginationItem } from "../../pagination-item-DJicBrIN.mjs";
3
3
  export { Pagination, PaginationButton, PaginationButtonProps, PaginationItem, PaginationItemProps, PaginationProps };
@@ -1,2 +1,2 @@
1
- import { B as PaginationButtonProps, z as PaginationButton } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { B as PaginationButtonProps, z as PaginationButton } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { PaginationButton, PaginationButtonProps };
@@ -1,2 +1,2 @@
1
- import { H as PaginationProps, V as Pagination } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { H as PaginationProps, V as Pagination } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Pagination, PaginationProps };
@@ -1,3 +1,3 @@
1
- import { Dt as Popover, Et as PopoverTriggerProps, Ot as PopoverProps, Tt as PopoverTrigger } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Dt as Popover, Et as PopoverTriggerProps, Ot as PopoverProps, Tt as PopoverTrigger } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../../popover-trigger-context-BLjAozBn.mjs";
3
3
  export { Popover, PopoverProps, PopoverTrigger, PopoverTriggerContext, PopoverTriggerContextProps, PopoverTriggerProps };
@@ -1,2 +1,2 @@
1
- import { Et as PopoverTriggerProps, Tt as PopoverTrigger } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Et as PopoverTriggerProps, Tt as PopoverTrigger } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { PopoverTrigger, PopoverTriggerProps };
@@ -1,2 +1,2 @@
1
- import { Dt as Popover, Ot as PopoverProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { Dt as Popover, Ot as PopoverProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Popover, PopoverProps };
@@ -1,2 +1,2 @@
1
- import { L as Radio, R as RadioProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { L as Radio, R as RadioProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Radio, RadioProps };
@@ -1,2 +1,2 @@
1
- import { L as Radio, R as RadioProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { L as Radio, R as RadioProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Radio, RadioProps };
@@ -1,2 +1,2 @@
1
- import { F as Search, I as SearchProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { F as Search, I as SearchProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Search, SearchProps };
@@ -1,2 +1,2 @@
1
- import { F as Search, I as SearchProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { F as Search, I as SearchProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Search, SearchProps };
@@ -1,2 +1,2 @@
1
- import { A as SelectOptgroupProps, M as SelectOptionProps, N as Select, P as SelectProps, j as SelectOption, k as SelectOptgroup } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { A as SelectOptgroupProps, M as SelectOptionProps, N as Select, P as SelectProps, j as SelectOption, k as SelectOptgroup } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps };
@@ -1,2 +1,2 @@
1
- import { A as SelectOptgroupProps, k as SelectOptgroup } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { A as SelectOptgroupProps, k as SelectOptgroup } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { SelectOptgroup, SelectOptgroupProps };
@@ -1,2 +1,2 @@
1
- import { M as SelectOptionProps, j as SelectOption } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { M as SelectOptionProps, j as SelectOption } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { SelectOption, SelectOptionProps };
@@ -1,2 +1,2 @@
1
- import { N as Select, P as SelectProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { N as Select, P as SelectProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Select, SelectProps };
@@ -1,2 +1,2 @@
1
- import { D as Selectfield, O as SelectfieldProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { D as Selectfield, O as SelectfieldProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Selectfield, SelectfieldProps };
@@ -1,2 +1,2 @@
1
- import { D as Selectfield, O as SelectfieldProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { D as Selectfield, O as SelectfieldProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Selectfield, SelectfieldProps };
@@ -1,2 +1,2 @@
1
- import { E as SkipLinkProps, T as SkipLink } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { E as SkipLinkProps, T as SkipLink } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { SkipLink, SkipLinkProps };
@@ -1,2 +1,2 @@
1
- import { E as SkipLinkProps, T as SkipLink } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { E as SkipLinkProps, T as SkipLink } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { SkipLink, SkipLinkProps };
@@ -1,2 +1,2 @@
1
- import { C as Spinner, w as SpinnerProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { C as Spinner, w as SpinnerProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Spinner, SpinnerProps };
@@ -1,2 +1,2 @@
1
- import { C as Spinner, w as SpinnerProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { C as Spinner, w as SpinnerProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Spinner, SpinnerProps };
@@ -1,2 +1,2 @@
1
- import { S as SwitchProps, x as Switch } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { S as SwitchProps, x as Switch } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Switch, SwitchProps };
@@ -1,2 +1,2 @@
1
- import { S as SwitchProps, x as Switch } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { S as SwitchProps, x as Switch } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Switch, SwitchProps };
@@ -1,2 +1,2 @@
1
- import { b as TabsProps, d as TabsPanel, f as TabsPanelProps, g as TabProps, h as Tab, m as TabsListProps, p as TabsList, v as Tabs, y as TabsContext } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { b as TabsProps, d as TabsPanel, f as TabsPanelProps, g as TabProps, h as Tab, m as TabsListProps, p as TabsList, v as Tabs, y as TabsContext } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Tab, TabProps, Tabs, TabsContext, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps };
@@ -1,2 +1,2 @@
1
- import { g as TabProps, h as Tab } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { g as TabProps, h as Tab } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Tab, TabProps };
@@ -1,2 +1,2 @@
1
- import { m as TabsListProps, p as TabsList } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { m as TabsListProps, p as TabsList } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { TabsList, TabsListProps };
@@ -1,2 +1,2 @@
1
- import { d as TabsPanel, f as TabsPanelProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { d as TabsPanel, f as TabsPanelProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { TabsPanel, TabsPanelProps };
@@ -1,2 +1,2 @@
1
- import { _ as Context, b as TabsProps, v as Tabs, y as TabsContext } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { _ as Context, b as TabsProps, v as Tabs, y as TabsContext } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Context, Tabs, TabsContext, TabsProps };
@@ -1,2 +1,2 @@
1
- import { l as Textarea, u as TextareaProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { l as Textarea, u as TextareaProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Textarea, TextareaProps };
@@ -1,2 +1,2 @@
1
- import { l as Textarea, u as TextareaProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { l as Textarea, u as TextareaProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Textarea, TextareaProps };
@@ -1,2 +1,2 @@
1
- import { c as TextfieldProps, s as Textfield } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { c as TextfieldProps, s as Textfield } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Textfield, TextfieldProps };
@@ -1,2 +1,2 @@
1
- import { c as TextfieldProps, s as Textfield } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { c as TextfieldProps, s as Textfield } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { Textfield, TextfieldProps };
@@ -1,2 +1,2 @@
1
- import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { ValidationMessage, ValidationMessageProps };
@@ -1,2 +1,2 @@
1
- import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-CIn6xe4F.mjs";
1
+ import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { ValidationMessage, ValidationMessageProps };
package/dist/main.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "./useCheckboxGroup-Boc_tLJ3.mjs";
2
2
  import { t as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-DXCY5AxR.mjs";
3
- import { $ as FilterGroup, $t as Input, A as SelectOptgroupProps, At as DialogCloseButtonProps, B as PaginationButtonProps, Bt as DialogProps, C as Spinner, Ct as Dropdown, D as Selectfield, Dt as Popover, E as SkipLinkProps, Et as PopoverTriggerProps, F as Search, Ft as DialogHeader, G as Navbar, Gt as Details, H as PaginationProps, Ht as DetailsSummaryProps, I as SearchProps, It as DialogHeaderProps, J as LogoProps, Jt as ChipProps, K as NavbarProps, Kt as DetailsProps, L as Radio, Lt as DialogContent, M as SelectOptionProps, Mt as DialogTriggerProps, N as Select, Nt as DialogFooter, O as SelectfieldProps, Ot as PopoverProps, P as SelectProps, Pt as DialogFooterProps, Q as FooterProps, Qt as CheckboxProps, R as RadioProps, Rt as DialogContentProps, S as SwitchProps, Sn as AlertProps, St as DropdownButtonProps, T as SkipLink, Tt as PopoverTrigger, U as SubNavbar, Ut as DetailsContent, V as Pagination, Vt as DetailsSummary, W as SubNavbarProps, Wt as DetailsContentProps, X as LinkProps, Xt as CheckboxSubsectionProps, Y as Link, Yt as CheckboxSubsection, Z as Footer, Zt as Checkbox, _n as Badge, _t as DropdownTriggerContext, a as ValidationMessage, an as CardHeader, at as FieldsetDescription, b as TabsProps, bn as AvatarProps, bt as DropdownTriggerProps, c as TextfieldProps, cn as CardContentProps, ct as FieldsetProps, d as TabsPanel, dn as CardActions, dt as FieldAffixes, en as InputProps, et as FilterGroupProps, f as TabsPanelProps, fn as CardActionsProps, ft as FieldAffixesProps, g as TabProps, gn as ButtonProps, gt as FieldProps, h as Tab, hn as Button, ht as Field, i as usePagination, in as CardMediaProps, it as LabelProps, j as SelectOption, jt as DialogTrigger, k as SelectOptgroup, kt as DialogCloseButton, l as Textarea, ln as CardAction, lt as FieldAffix, m as TabsListProps, mn as CardProps, mt as FieldDescriptionProps, n as AlertFooterProps, nn as CardDateProps, nt as FieldsetLegendProps, o as ValidationMessageProps, on as CardHeaderProps, ot as FieldsetDescriptionProps, p as TabsList, pn as Card, pt as FieldDescription, q as Logo, qt as Chip, r as UsePaginationProps, rn as CardMedia, rt as Label, s as Textfield, sn as CardContent, st as Fieldset, t as AlertFooter, tn as CardDate, tt as FieldsetLegend, u as TextareaProps, un as CardActionProps, ut as FieldAffixProps, v as Tabs, vn as BadgeProps, vt as DropdownTriggerContextProps, w as SpinnerProps, wt as DropdownProps, x as Switch, xn as Alert, xt as DropdownButton, y as TabsContext, yn as Avatar, yt as DropdownTrigger, z as PaginationButton, zt as Dialog } from "./alert-footer-CIn6xe4F.mjs";
3
+ import { $ as FilterGroup, $t as Input, A as SelectOptgroupProps, At as DialogCloseButtonProps, B as PaginationButtonProps, Bt as DialogProps, C as Spinner, Ct as Dropdown, D as Selectfield, Dt as Popover, E as SkipLinkProps, Et as PopoverTriggerProps, F as Search, Ft as DialogHeader, G as Navbar, Gt as Details, H as PaginationProps, Ht as DetailsSummaryProps, I as SearchProps, It as DialogHeaderProps, J as LogoProps, Jt as ChipProps, K as NavbarProps, Kt as DetailsProps, L as Radio, Lt as DialogContent, M as SelectOptionProps, Mt as DialogTriggerProps, N as Select, Nt as DialogFooter, O as SelectfieldProps, Ot as PopoverProps, P as SelectProps, Pt as DialogFooterProps, Q as FooterProps, Qt as CheckboxProps, R as RadioProps, Rt as DialogContentProps, S as SwitchProps, Sn as AlertProps, St as DropdownButtonProps, T as SkipLink, Tt as PopoverTrigger, U as SubNavbar, Ut as DetailsContent, V as Pagination, Vt as DetailsSummary, W as SubNavbarProps, Wt as DetailsContentProps, X as LinkProps, Xt as CheckboxSubsectionProps, Y as Link, Yt as CheckboxSubsection, Z as Footer, Zt as Checkbox, _n as Badge, _t as DropdownTriggerContext, a as ValidationMessage, an as CardHeader, at as FieldsetDescription, b as TabsProps, bn as AvatarProps, bt as DropdownTriggerProps, c as TextfieldProps, cn as CardContentProps, ct as FieldsetProps, d as TabsPanel, dn as CardActions, dt as FieldAffixes, en as InputProps, et as FilterGroupProps, f as TabsPanelProps, fn as CardActionsProps, ft as FieldAffixesProps, g as TabProps, gn as ButtonProps, gt as FieldProps, h as Tab, hn as Button, ht as Field, i as usePagination, in as CardMediaProps, it as LabelProps, j as SelectOption, jt as DialogTrigger, k as SelectOptgroup, kt as DialogCloseButton, l as Textarea, ln as CardAction, lt as FieldAffix, m as TabsListProps, mn as CardProps, mt as FieldDescriptionProps, n as AlertFooterProps, nn as CardDateProps, nt as FieldsetLegendProps, o as ValidationMessageProps, on as CardHeaderProps, ot as FieldsetDescriptionProps, p as TabsList, pn as Card, pt as FieldDescription, q as Logo, qt as Chip, r as UsePaginationProps, rn as CardMedia, rt as Label, s as Textfield, sn as CardContent, st as Fieldset, t as AlertFooter, tn as CardDate, tt as FieldsetLegend, u as TextareaProps, un as CardActionProps, ut as FieldAffixProps, v as Tabs, vn as BadgeProps, vt as DropdownTriggerContextProps, w as SpinnerProps, wt as DropdownProps, x as Switch, xn as Alert, xt as DropdownButton, y as TabsContext, yn as Avatar, yt as DropdownTrigger, z as PaginationButton, zt as Dialog } from "./alert-footer-Bpq_UTqE.mjs";
4
4
  import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "./dialog-trigger-context-DbUhxoNL.mjs";
5
5
  import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "./popover-trigger-context-BLjAozBn.mjs";
6
6
  import { n as DropdownItemProps, t as DropdownItem } from "./dropdown-item-bA64wFOZ.mjs";
@@ -1,6 +1,6 @@
1
1
  import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../../useCheckboxGroup-Boc_tLJ3.mjs";
2
2
  import { t as useIsomorphicLayoutEffect } from "../../useIsomorphicLayoutEffect-DXCY5AxR.mjs";
3
- import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-CIn6xe4F.mjs";
3
+ import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-Bpq_UTqE.mjs";
4
4
  import { t as useIsElementAboveViewport } from "../../useIsElementAboveViewport-DmYCeDwm.mjs";
5
5
  import { t as useScrollDirection } from "../../useScrollDirection-CepdY5lA.mjs";
6
6
  import { n as useMediaQuery, t as UseMediaQueryOptions } from "../../useMediaQuery-Cz0DvE8S.mjs";
@@ -1,2 +1,2 @@
1
- import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-CIn6xe4F.mjs";
1
+ import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-Bpq_UTqE.mjs";
2
2
  export { UsePaginationProps, usePagination };
@@ -1,6 +1,6 @@
1
1
  import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../useCheckboxGroup-Boc_tLJ3.mjs";
2
2
  import { t as useIsomorphicLayoutEffect } from "../useIsomorphicLayoutEffect-DXCY5AxR.mjs";
3
- import { i as usePagination, r as UsePaginationProps } from "../alert-footer-CIn6xe4F.mjs";
3
+ import { i as usePagination, r as UsePaginationProps } from "../alert-footer-Bpq_UTqE.mjs";
4
4
  import { t as useIsElementAboveViewport } from "../useIsElementAboveViewport-DmYCeDwm.mjs";
5
5
  import { t as useScrollDirection } from "../useScrollDirection-CepdY5lA.mjs";
6
6
  import { n as useMediaQuery, t as UseMediaQueryOptions } from "../useMediaQuery-Cz0DvE8S.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bi-digital/react",
3
3
  "type": "module",
4
- "version": "0.11.2",
4
+ "version": "0.11.3",
5
5
  "description": "React components from BI Digital",
6
6
  "author": "BI Digital",
7
7
  "homepage": "https://designsystem.bi.no/",
@@ -38,7 +38,7 @@
38
38
  "@radix-ui/react-slot": "^1.2.4",
39
39
  "@radix-ui/react-use-controllable-state": "^1.2.2",
40
40
  "clsx": "^2.1.1",
41
- "@bi-digital/icons": "0.11.2"
41
+ "@bi-digital/icons": "0.11.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "^19.2.14",
@@ -56,7 +56,7 @@
56
56
  "peerDependencies": {
57
57
  "react": "^19",
58
58
  "react-dom": "^19",
59
- "@bi-digital/css": "0.11.2"
59
+ "@bi-digital/css": "0.11.3"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown",