@dsn-starter-kit/components-react 4.0.0 → 4.1.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
@@ -3531,7 +3531,8 @@ interface ModalDialogProps extends Omit<React.HTMLAttributes<HTMLDialogElement>,
3531
3531
  isOpen: boolean;
3532
3532
  /**
3533
3533
  * Callback die wordt aangeroepen wanneer het dialoogvenster sluit
3534
- * (sluitknop, Escape-toets of klik buiten het venster).
3534
+ * (sluitknop of Escape-toets). Een klik op de backdrop sluit het venster
3535
+ * bewust niet.
3535
3536
  */
3536
3537
  onClose?: () => void;
3537
3538
  /**
@@ -3541,6 +3542,15 @@ interface ModalDialogProps extends Omit<React.HTMLAttributes<HTMLDialogElement>,
3541
3542
  * open staat.
3542
3543
  */
3543
3544
  triggerRef?: React.RefObject<HTMLElement | null>;
3545
+ /**
3546
+ * Markeert het venster als alertdialog: een dringende melding die een
3547
+ * reactie vraagt, zoals de bevestiging van een destructieve actie. Zet
3548
+ * `role="alertdialog"` op het `<dialog>` en koppelt de `ModalDialogBody`
3549
+ * via `aria-describedby`, zodat de boodschap bij openen wordt voorgelezen.
3550
+ * De focus komt net als anders op de heading.
3551
+ * @default false
3552
+ */
3553
+ alert?: boolean;
3544
3554
  /**
3545
3555
  * De subcomponenten van het dialoogvenster:
3546
3556
  * `ModalDialogHeader`, `ModalDialogBody`, `ModalDialogFooter`
@@ -3558,7 +3568,7 @@ interface ModalDialogProps extends Omit<React.HTMLAttributes<HTMLDialogElement>,
3558
3568
  *
3559
3569
  * @example
3560
3570
  * ```tsx
3561
- * <ModalDialog isOpen={isOpen} onClose={() => setIsOpen(false)}>
3571
+ * <ModalDialog alert isOpen={isOpen} onClose={() => setIsOpen(false)}>
3562
3572
  * <ModalDialogHeader>
3563
3573
  * <ModalDialogHeading>Bevestig verwijderen</ModalDialogHeading>
3564
3574
  * </ModalDialogHeader>
@@ -3567,7 +3577,7 @@ interface ModalDialogProps extends Omit<React.HTMLAttributes<HTMLDialogElement>,
3567
3577
  * </ModalDialogBody>
3568
3578
  * <ModalDialogFooter>
3569
3579
  * <ActionGroup>
3570
- * <Button variant="negative" onClick={() => setIsOpen(false)}>Verwijderen</Button>
3580
+ * <Button variant="strong-negative" onClick={() => setIsOpen(false)}>Verwijderen</Button>
3571
3581
  * <Button variant="default" onClick={() => setIsOpen(false)}>Annuleren</Button>
3572
3582
  * </ActionGroup>
3573
3583
  * </ModalDialogFooter>
@@ -3641,8 +3651,11 @@ interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDialogElement>, 'chi
3641
3651
  * Modaal of non-modaal gedrag.
3642
3652
  * - `true` (standaard): opent via `.showModal()` — achtergrond geblokkeerd,
3643
3653
  * focus blijft binnen het paneel, Escape sluit via `cancel`-event.
3644
- * - `false`: opent via `.show()` — achtergrond blijft interactief en de
3645
- * gebruiker kan er met Tab naartoe, Escape sluit via `keydown`-listener.
3654
+ * - `false`: `<dialog popover="manual">`, opent via `.showPopover()` —
3655
+ * achtergrond blijft interactief en de gebruiker kan er met Tab naartoe,
3656
+ * Escape sluit via `keydown`-listener. Het paneel staat in de top layer,
3657
+ * dus een sticky header of een voorouder met `transform` valt er niet
3658
+ * overheen.
3646
3659
  * @default true
3647
3660
  */
3648
3661
  modal?: boolean;
@@ -3742,7 +3755,15 @@ interface DrawerFooterProps extends React.HTMLAttributes<HTMLDivElement> {
3742
3755
  */
3743
3756
  declare const DrawerFooter: React.ForwardRefExoticComponent<DrawerFooterProps & React.RefAttributes<HTMLDivElement>>;
3744
3757
  //#endregion
3745
- //#region src/Popover/Popover.d.ts
3758
+ //#region src/utils/popover.d.ts
3759
+ /**
3760
+ * Gedeeld gedrag voor componenten op basis van de HTML Popover API.
3761
+ *
3762
+ * `Popover` (niet-modale dialog) en `PopoverMenu` (lijst zonder rol) zien er
3763
+ * anders uit en hebben andere semantiek, maar openen, positioneren, sluiten en
3764
+ * de focus terugzetten gaat bij beide hetzelfde. Dat gedrag staat hier op één
3765
+ * plek. Deze module wordt niet geëxporteerd uit het package.
3766
+ */
3746
3767
  declare module 'react' {
3747
3768
  interface HTMLAttributes<T> {
3748
3769
  popover?: 'auto' | 'manual' | '' | undefined;
@@ -3756,7 +3777,9 @@ declare global {
3756
3777
  hidePopover(): void;
3757
3778
  }
3758
3779
  }
3759
- type Placement = 'top' | 'bottom' | 'start' | 'end';
3780
+ type PopoverPlacement = 'top' | 'bottom' | 'start' | 'end';
3781
+ //#endregion
3782
+ //#region src/Popover/Popover.d.ts
3760
3783
  interface PopoverProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
3761
3784
  /**
3762
3785
  * Bepaalt of de popover getoond wordt.
@@ -3774,10 +3797,10 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'child
3774
3797
  * Gewenste plaatsing relatief aan het triggerelement.
3775
3798
  * @default 'bottom'
3776
3799
  */
3777
- placement?: Placement;
3800
+ placement?: PopoverPlacement;
3778
3801
  /**
3779
- * Toegankelijke naam voor popovers zonder `PopoverHeader`/`PopoverHeading`.
3780
- * Gebruik `aria-labelledby` via context wanneer er wél een heading is.
3802
+ * Toegankelijke naam voor een popover zonder `PopoverHeader`/`PopoverHeading`.
3803
+ * Een zichtbare heading heeft de voorkeur; die koppelt via `aria-labelledby`.
3781
3804
  */
3782
3805
  label?: string;
3783
3806
  /**
@@ -3787,21 +3810,26 @@ interface PopoverProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'child
3787
3810
  }
3788
3811
  /**
3789
3812
  * Popover component
3790
- * Lichtgewicht, contextgebonden overlay verankerd aan een triggerelement.
3813
+ * Niet-modaal dialoogvenster verankerd aan een triggerelement
3814
+ * (`role="dialog"`, `aria-modal="false"`).
3791
3815
  *
3792
3816
  * Gebaseerd op de HTML Popover API (`popover="auto"`) voor ingebakken
3793
3817
  * light-dismiss en top-layer gedrag. Positionering via JavaScript.
3794
3818
  *
3819
+ * Voor een lijst met acties of links: gebruik `PopoverMenu`. Een lijst is
3820
+ * geen dialoogvenster.
3821
+ *
3795
3822
  * @example
3796
3823
  * ```tsx
3797
3824
  * const triggerRef = useRef<HTMLButtonElement>(null);
3798
3825
  * const [isOpen, setIsOpen] = useState(false);
3799
3826
  *
3800
- * <Button ref={triggerRef} onClick={() => setIsOpen(true)}>Opties</Button>
3801
- * <Popover isOpen={isOpen} onClose={() => setIsOpen(false)} triggerRef={triggerRef} label="Opties">
3802
- * <PopoverBody>
3803
- * <Menu>...</Menu>
3804
- * </PopoverBody>
3827
+ * <Button ref={triggerRef} onClick={() => setIsOpen((v) => !v)}>Filters</Button>
3828
+ * <Popover isOpen={isOpen} onClose={() => setIsOpen(false)} triggerRef={triggerRef}>
3829
+ * <PopoverHeader>
3830
+ * <PopoverHeading>Filters</PopoverHeading>
3831
+ * </PopoverHeader>
3832
+ * <PopoverBody>...</PopoverBody>
3805
3833
  * </Popover>
3806
3834
  * ```
3807
3835
  */
@@ -3832,6 +3860,7 @@ interface PopoverHeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
3832
3860
  /**
3833
3861
  * PopoverHeading
3834
3862
  * De heading van de popover. ID wordt automatisch gegenereerd voor aria-labelledby.
3863
+ * Krijgt `tabindex="-1"` zodat de Popover er bij openen de focus op kan zetten.
3835
3864
  */
3836
3865
  declare const PopoverHeading: React.ForwardRefExoticComponent<PopoverHeadingProps & React.RefAttributes<HTMLHeadingElement>>;
3837
3866
  interface PopoverBodyProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -3857,6 +3886,64 @@ interface PopoverFooterProps extends React.HTMLAttributes<HTMLDivElement> {
3857
3886
  */
3858
3887
  declare const PopoverFooter: React.ForwardRefExoticComponent<PopoverFooterProps & React.RefAttributes<HTMLDivElement>>;
3859
3888
  //#endregion
3889
+ //#region src/PopoverMenu/PopoverMenu.d.ts
3890
+ interface PopoverMenuProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
3891
+ /**
3892
+ * Bepaalt of het menu getoond wordt.
3893
+ */
3894
+ isOpen: boolean;
3895
+ /**
3896
+ * Callback bij sluiten: Escape, klik buiten het menu, of het activeren van
3897
+ * een `MenuButton` of `MenuLink`.
3898
+ */
3899
+ onClose?: () => void;
3900
+ /**
3901
+ * Referentie naar het triggerelement voor positionering, `aria-expanded`
3902
+ * en focusherstel.
3903
+ */
3904
+ triggerRef: React.RefObject<HTMLElement>;
3905
+ /**
3906
+ * Gewenste plaatsing relatief aan het triggerelement.
3907
+ * @default 'bottom'
3908
+ */
3909
+ placement?: PopoverPlacement;
3910
+ /**
3911
+ * Doorgegeven aan `Menu`: geeft aan dat de items een `iconStart` hebben.
3912
+ * @default false
3913
+ */
3914
+ iconStart?: boolean;
3915
+ /**
3916
+ * `MenuButton`- en/of `MenuLink`-items
3917
+ */
3918
+ children?: React.ReactNode;
3919
+ }
3920
+ /**
3921
+ * PopoverMenu component
3922
+ * Lijst met acties of links in een zwevend paneel, geopend vanuit een
3923
+ * triggerknop.
3924
+ *
3925
+ * Anders dan `Popover` is dit géén dialoogvenster: het paneel heeft geen rol,
3926
+ * de inhoud is een gewone lijst (`<ul role="list">`). Ook bewust geen
3927
+ * `role="menu"`: die rol belooft pijltjesnavigatie en zet screenreaders in
3928
+ * een applicatiemodus. De context komt uit het label van de trigger.
3929
+ *
3930
+ * Het menu sluit zichzelf zodra een item wordt geactiveerd, en zet de focus
3931
+ * dan terug op de trigger.
3932
+ *
3933
+ * @example
3934
+ * ```tsx
3935
+ * const triggerRef = useRef<HTMLButtonElement>(null);
3936
+ * const [isOpen, setIsOpen] = useState(false);
3937
+ *
3938
+ * <Button ref={triggerRef} onClick={() => setIsOpen((v) => !v)}>Acties</Button>
3939
+ * <PopoverMenu isOpen={isOpen} onClose={() => setIsOpen(false)} triggerRef={triggerRef}>
3940
+ * <MenuButton onClick={edit}>Bewerken</MenuButton>
3941
+ * <MenuButton onClick={duplicate}>Dupliceren</MenuButton>
3942
+ * </PopoverMenu>
3943
+ * ```
3944
+ */
3945
+ declare const PopoverMenu: React.ForwardRefExoticComponent<PopoverMenuProps & React.RefAttributes<HTMLDivElement>>;
3946
+ //#endregion
3860
3947
  //#region src/File/File.d.ts
3861
3948
  type FileStatus = 'default' | 'loading' | 'uploaded' | 'error';
3862
3949
  type FileCtaVariant = 'view' | 'download';
@@ -3978,5 +4065,5 @@ interface FileListProps extends React.HTMLAttributes<HTMLUListElement> {
3978
4065
  */
3979
4066
  declare const FileList: React.ForwardRefExoticComponent<FileListProps & React.RefAttributes<HTMLUListElement>>;
3980
4067
  //#endregion
3981
- export { ActionGroup, type ActionGroupProps, Alert, type AlertProps, type AlertVariant, Backdrop, type BackdropProps, Body, type BodyProps, BreadcrumbNavigation, BreadcrumbNavigationItem, BreadcrumbNavigationItemProps, BreadcrumbNavigationProps, BreakoutSection, type BreakoutSectionAs, type BreakoutSectionProps, Button, ButtonLink, type ButtonLinkProps, type ButtonLinkSize, type ButtonLinkVariant, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardAffordance, type CardAffordanceProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardHeading, type CardHeadingProps, CardLabel, type CardLabelProps, CardMeta, type CardMetaProps, CardPreHeader, type CardPreHeaderProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxOption, type CheckboxOptionProps, type CheckboxProps, Container, type ContainerAs, type ContainerProps, DateInput, DateInputGroup, type DateInputGroupProps, type DateInputGroupValue, type DateInputProps, Details, type DetailsProps, DotBadge, DotBadgeProps, DotBadgeVariant, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeading, type DrawerHeadingProps, type DrawerProps, EmailInput, type EmailInputProps, File, type FileCtaVariant, FileInput, type FileInputProps, FileList, type FileListProps, type FileMediaType, type FileProps, type FileStatus, FormField, FormFieldDescription, type FormFieldDescriptionProps, FormFieldErrorMessage, type FormFieldErrorMessageProps, FormFieldLabel, type FormFieldLabelProps, FormFieldLegend, FormFieldLegendProps, type FormFieldProps, FormFieldStatus, type FormFieldStatusProps, type FormFieldStatusVariant, FormFieldset, FormFieldsetProps, Grid, type GridColSpan, GridItem, type GridItemProps, type GridProps, Heading, type HeadingAppearance, HeadingGroup, type HeadingGroupProps, type HeadingLevel, type HeadingProps, Hero, type HeroAlign, type HeroProps, type HeroVariant, Icon, IconList, IconListItem, type IconListItemProps, type IconListProps, type IconName, type IconProps, type IconSize, Image, type ImageProps, Link, LinkButton, type LinkButtonProps, type LinkButtonSize, type LinkProps, type LinkSize, Logo, LogoProps, Menu, MenuButton, MenuButtonProps, MenuLink, MenuLinkLevel, MenuLinkProps, MenuOrientation, MenuProps, ModalDialog, ModalDialogBody, type ModalDialogBodyProps, ModalDialogFooter, type ModalDialogFooterProps, ModalDialogHeader, type ModalDialogHeaderProps, ModalDialogHeading, type ModalDialogHeadingProps, type ModalDialogProps, Note, type NoteAs, type NoteProps, type NoteVariant, NumberBadge, NumberBadgeProps, NumberBadgeVariant, NumberInput, type NumberInputProps, OptionLabel, type OptionLabelProps, OrderedList, type OrderedListProps, PageBody, PageBodyProps, PageFooter, PageFooterColorScheme, PageFooterProps, PageHeader, PageHeaderColorScheme, PageHeaderLayout, PageHeaderProps, PageHeaderSticky, PageLayout, PageLayoutProps, Paragraph, type ParagraphProps, type ParagraphVariant, type PasswordAutocomplete, PasswordInput, type PasswordInputProps, Popover, PopoverBody, type PopoverBodyProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverHeading, type PopoverHeadingProps, type PopoverProps, PreHeading, type PreHeadingProps, ProgressBar, ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioProps, SearchInput, type SearchInputProps, Select, type SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SpinnerSize, Stack, type StackProps, type StackSpace, StatusBadge, StatusBadgeProps, StatusBadgeVariant, SummaryList, SummaryListActions, type SummaryListActionsProps, SummaryListKey, type SummaryListKeyProps, type SummaryListProps, SummaryListRow, type SummaryListRowProps, SummaryListValue, type SummaryListValueProps, Table, TableOfContents, type TableOfContentsAppearance, type TableOfContentsItem, type TableOfContentsProps, type TableProps, TelephoneInput, type TelephoneInputProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, UnorderedList, type UnorderedListProps, iconMap };
4068
+ export { ActionGroup, type ActionGroupProps, Alert, type AlertProps, type AlertVariant, Backdrop, type BackdropProps, Body, type BodyProps, BreadcrumbNavigation, BreadcrumbNavigationItem, BreadcrumbNavigationItemProps, BreadcrumbNavigationProps, BreakoutSection, type BreakoutSectionAs, type BreakoutSectionProps, Button, ButtonLink, type ButtonLinkProps, type ButtonLinkSize, type ButtonLinkVariant, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardAffordance, type CardAffordanceProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardHeading, type CardHeadingProps, CardLabel, type CardLabelProps, CardMeta, type CardMetaProps, CardPreHeader, type CardPreHeaderProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxOption, type CheckboxOptionProps, type CheckboxProps, Container, type ContainerAs, type ContainerProps, DateInput, DateInputGroup, type DateInputGroupProps, type DateInputGroupValue, type DateInputProps, Details, type DetailsProps, DotBadge, DotBadgeProps, DotBadgeVariant, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeading, type DrawerHeadingProps, type DrawerProps, EmailInput, type EmailInputProps, File, type FileCtaVariant, FileInput, type FileInputProps, FileList, type FileListProps, type FileMediaType, type FileProps, type FileStatus, FormField, FormFieldDescription, type FormFieldDescriptionProps, FormFieldErrorMessage, type FormFieldErrorMessageProps, FormFieldLabel, type FormFieldLabelProps, FormFieldLegend, FormFieldLegendProps, type FormFieldProps, FormFieldStatus, type FormFieldStatusProps, type FormFieldStatusVariant, FormFieldset, FormFieldsetProps, Grid, type GridColSpan, GridItem, type GridItemProps, type GridProps, Heading, type HeadingAppearance, HeadingGroup, type HeadingGroupProps, type HeadingLevel, type HeadingProps, Hero, type HeroAlign, type HeroProps, type HeroVariant, Icon, IconList, IconListItem, type IconListItemProps, type IconListProps, type IconName, type IconProps, type IconSize, Image, type ImageProps, Link, LinkButton, type LinkButtonProps, type LinkButtonSize, type LinkProps, type LinkSize, Logo, LogoProps, Menu, MenuButton, MenuButtonProps, MenuLink, MenuLinkLevel, MenuLinkProps, MenuOrientation, MenuProps, ModalDialog, ModalDialogBody, type ModalDialogBodyProps, ModalDialogFooter, type ModalDialogFooterProps, ModalDialogHeader, type ModalDialogHeaderProps, ModalDialogHeading, type ModalDialogHeadingProps, type ModalDialogProps, Note, type NoteAs, type NoteProps, type NoteVariant, NumberBadge, NumberBadgeProps, NumberBadgeVariant, NumberInput, type NumberInputProps, OptionLabel, type OptionLabelProps, OrderedList, type OrderedListProps, PageBody, PageBodyProps, PageFooter, PageFooterColorScheme, PageFooterProps, PageHeader, PageHeaderColorScheme, PageHeaderLayout, PageHeaderProps, PageHeaderSticky, PageLayout, PageLayoutProps, Paragraph, type ParagraphProps, type ParagraphVariant, type PasswordAutocomplete, PasswordInput, type PasswordInputProps, Popover, PopoverBody, type PopoverBodyProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverHeading, type PopoverHeadingProps, PopoverMenu, type PopoverMenuProps, type PopoverProps, PreHeading, type PreHeadingProps, ProgressBar, ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioProps, SearchInput, type SearchInputProps, Select, type SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SpinnerSize, Stack, type StackProps, type StackSpace, StatusBadge, StatusBadgeProps, StatusBadgeVariant, SummaryList, SummaryListActions, type SummaryListActionsProps, SummaryListKey, type SummaryListKeyProps, type SummaryListProps, SummaryListRow, type SummaryListRowProps, SummaryListValue, type SummaryListValueProps, Table, TableOfContents, type TableOfContentsAppearance, type TableOfContentsItem, type TableOfContentsProps, type TableProps, TelephoneInput, type TelephoneInputProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, UnorderedList, type UnorderedListProps, iconMap };
3982
4069
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/ActionGroup/ActionGroup.tsx","../src/Body/Body.tsx","../src/BreakoutSection/BreakoutSection.tsx","../src/Container/Container.tsx","../src/Hero/Hero.tsx","../src/Grid/Grid.tsx","../src/Grid/GridItem.tsx","../src/Stack/Stack.tsx","../src/Heading/Heading.tsx","../src/HeadingGroup/HeadingGroup.tsx","../src/PreHeading/PreHeading.tsx","../src/Paragraph/Paragraph.tsx","../src/Link/Link.tsx","../src/UnorderedList/UnorderedList.tsx","../src/OrderedList/OrderedList.tsx","../src/Icon/icon-registry.generated.ts","../src/Icon/Icon.tsx","../src/IconList/IconList.tsx","../src/Button/Button.tsx","../src/ButtonLink/ButtonLink.tsx","../src/LinkButton/LinkButton.tsx","../src/TextInput/TextInput.tsx","../src/FileInput/FileInput.tsx","../src/EmailInput/EmailInput.tsx","../src/PasswordInput/PasswordInput.tsx","../src/NumberInput/NumberInput.tsx","../src/TelephoneInput/TelephoneInput.tsx","../src/SearchInput/SearchInput.tsx","../src/TimeInput/TimeInput.tsx","../src/DateInput/DateInput.tsx","../src/DateInputGroup/DateInputGroup.tsx","../src/Select/Select.tsx","../src/TextArea/TextArea.tsx","../src/Checkbox/Checkbox.tsx","../src/CheckboxGroup/CheckboxGroup.tsx","../src/CheckboxOption/CheckboxOption.tsx","../src/Radio/Radio.tsx","../src/RadioGroup/RadioGroup.tsx","../src/RadioOption/RadioOption.tsx","../src/OptionLabel/OptionLabel.tsx","../src/Backdrop/Backdrop.tsx","../src/DotBadge/DotBadge.tsx","../src/Spinner/Spinner.tsx","../src/ProgressBar/ProgressBar.tsx","../src/NumberBadge/NumberBadge.tsx","../src/StatusBadge/StatusBadge.tsx","../src/Alert/Alert.tsx","../src/Note/Note.tsx","../src/Table/Table.tsx","../src/Details/Details.tsx","../src/SummaryList/SummaryList.tsx","../src/Logo/Logo.tsx","../src/SkipLink/SkipLink.tsx","../src/BreadcrumbNavigation/BreadcrumbNavigation.tsx","../src/BreadcrumbNavigation/BreadcrumbNavigationItem.tsx","../src/Menu/Menu.tsx","../src/MenuButton/MenuButton.tsx","../src/MenuLink/MenuLink.tsx","../src/PageBody/PageBody.tsx","../src/PageFooter/PageFooter.tsx","../src/PageHeader/PageHeader.tsx","../src/PageLayout/PageLayout.tsx","../src/TableOfContents/TableOfContents.tsx","../src/FormFieldStatus/FormFieldStatus.tsx","../src/FormField/FormField.tsx","../src/FormFieldLabel/FormFieldLabel.tsx","../src/FormFieldDescription/FormFieldDescription.tsx","../src/FormFieldErrorMessage/FormFieldErrorMessage.tsx","../src/FormFieldset/FormFieldset.tsx","../src/FormFieldLegend/FormFieldLegend.tsx","../src/Image/Image.tsx","../src/Card/Card.tsx","../src/ModalDialog/ModalDialog.tsx","../src/Drawer/Drawer.tsx","../src/Popover/Popover.tsx","../src/File/File.tsx"],"mappings":";;;UAIiB,yBAAyB,MAAM,eAAe;;;;;EAK7D;;;;EAKA,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDN,aAAW,MAAA,0BAAA,mBAAA,MAAA,cAAA;;;UC5DP,kBAAkB,MAAM,eAAe;;;;EAItD,WAAW,MAAM;;;;;;;;;;;;;;;;;;;cAoBN,MAAI,MAAA,0BAAA,YAAA,MAAA,cAAA;;;KCxBL;UAEK,6BAA6B,MAAM,eAAe;;;;;EAKjE,KAAK;EAEL,WAAW,MAAM;;;;;;;;;;;;;;;;;;;cAoBN,iBAAe,MAAA,0BAAA,uBAAA,MAAA,cA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W,UAAQ,MAAA,0BAAA,gBAAA,MAAA,cAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/ActionGroup/ActionGroup.tsx","../src/Body/Body.tsx","../src/BreakoutSection/BreakoutSection.tsx","../src/Container/Container.tsx","../src/Hero/Hero.tsx","../src/Grid/Grid.tsx","../src/Grid/GridItem.tsx","../src/Stack/Stack.tsx","../src/Heading/Heading.tsx","../src/HeadingGroup/HeadingGroup.tsx","../src/PreHeading/PreHeading.tsx","../src/Paragraph/Paragraph.tsx","../src/Link/Link.tsx","../src/UnorderedList/UnorderedList.tsx","../src/OrderedList/OrderedList.tsx","../src/Icon/icon-registry.generated.ts","../src/Icon/Icon.tsx","../src/IconList/IconList.tsx","../src/Button/Button.tsx","../src/ButtonLink/ButtonLink.tsx","../src/LinkButton/LinkButton.tsx","../src/TextInput/TextInput.tsx","../src/FileInput/FileInput.tsx","../src/EmailInput/EmailInput.tsx","../src/PasswordInput/PasswordInput.tsx","../src/NumberInput/NumberInput.tsx","../src/TelephoneInput/TelephoneInput.tsx","../src/SearchInput/SearchInput.tsx","../src/TimeInput/TimeInput.tsx","../src/DateInput/DateInput.tsx","../src/DateInputGroup/DateInputGroup.tsx","../src/Select/Select.tsx","../src/TextArea/TextArea.tsx","../src/Checkbox/Checkbox.tsx","../src/CheckboxGroup/CheckboxGroup.tsx","../src/CheckboxOption/CheckboxOption.tsx","../src/Radio/Radio.tsx","../src/RadioGroup/RadioGroup.tsx","../src/RadioOption/RadioOption.tsx","../src/OptionLabel/OptionLabel.tsx","../src/Backdrop/Backdrop.tsx","../src/DotBadge/DotBadge.tsx","../src/Spinner/Spinner.tsx","../src/ProgressBar/ProgressBar.tsx","../src/NumberBadge/NumberBadge.tsx","../src/StatusBadge/StatusBadge.tsx","../src/Alert/Alert.tsx","../src/Note/Note.tsx","../src/Table/Table.tsx","../src/Details/Details.tsx","../src/SummaryList/SummaryList.tsx","../src/Logo/Logo.tsx","../src/SkipLink/SkipLink.tsx","../src/BreadcrumbNavigation/BreadcrumbNavigation.tsx","../src/BreadcrumbNavigation/BreadcrumbNavigationItem.tsx","../src/Menu/Menu.tsx","../src/MenuButton/MenuButton.tsx","../src/MenuLink/MenuLink.tsx","../src/PageBody/PageBody.tsx","../src/PageFooter/PageFooter.tsx","../src/PageHeader/PageHeader.tsx","../src/PageLayout/PageLayout.tsx","../src/TableOfContents/TableOfContents.tsx","../src/FormFieldStatus/FormFieldStatus.tsx","../src/FormField/FormField.tsx","../src/FormFieldLabel/FormFieldLabel.tsx","../src/FormFieldDescription/FormFieldDescription.tsx","../src/FormFieldErrorMessage/FormFieldErrorMessage.tsx","../src/FormFieldset/FormFieldset.tsx","../src/FormFieldLegend/FormFieldLegend.tsx","../src/Image/Image.tsx","../src/Card/Card.tsx","../src/ModalDialog/ModalDialog.tsx","../src/Drawer/Drawer.tsx","../src/utils/popover.ts","../src/Popover/Popover.tsx","../src/PopoverMenu/PopoverMenu.tsx","../src/File/File.tsx"],"mappings":";;;UAIiB,yBAAyB,MAAM,eAAe;;;;;EAK7D;;;;EAKA,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDN,aAAW,MAAA,0BAAA,mBAAA,MAAA,cAAA;;;UC5DP,kBAAkB,MAAM,eAAe;;;;EAItD,WAAW,MAAM;;;;;;;;;;;;;;;;;;;cAoBN,MAAI,MAAA,0BAAA,YAAA,MAAA,cAAA;;;KCxBL;UAEK,6BAA6B,MAAM,eAAe;;;;;EAKjE,KAAK;EAEL,WAAW,MAAM;;;;;;;;;;;;;;;;;;;cAoBN,iBAAe,MAAA,0BAAA,uBAAA,MAAA,cAAA;;;KC7BhB;UAEK,uBAAuB,MAAM,eAAe;;;;;EAK3D,KAAK;;;;;EAML;EAEA,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;cA0BN,WAAS,MAAA,0BAAA,iBAAA,MAAA,cAAA;;;KCzCV;KACA;UAEK,kBAAkB,MAAM,eAAe;;;;;EAKtD,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WAAW,MAAM;EACjB;;;;;;;;;;;;;;;cAgBW,UAAQ,MAAA,0BAAA,gBAAA,MAAA,cAAA"}
package/dist/index.d.mts CHANGED
@@ -145,6 +145,8 @@ import { Drawer, DrawerBody, DrawerBodyProps, DrawerFooter, DrawerFooterProps, D
145
145
  import "./Drawer/index.mjs";
146
146
  import { Popover, PopoverBody, PopoverBodyProps, PopoverFooter, PopoverFooterProps, PopoverHeader, PopoverHeaderProps, PopoverHeading, PopoverHeadingProps, PopoverProps } from "./Popover/Popover.mjs";
147
147
  import "./Popover/index.mjs";
148
+ import { PopoverMenu, PopoverMenuProps } from "./PopoverMenu/PopoverMenu.mjs";
149
+ import "./PopoverMenu/index.mjs";
148
150
  import { File, FileCtaVariant, FileList, FileListProps, FileMediaType, FileProps, FileStatus } from "./File/File.mjs";
149
151
  import "./File/index.mjs";
150
- export { ActionGroup, type ActionGroupProps, Alert, type AlertProps, type AlertVariant, Backdrop, type BackdropProps, Body, type BodyProps, BreadcrumbNavigation, BreadcrumbNavigationItem, BreadcrumbNavigationItemProps, BreadcrumbNavigationProps, BreakoutSection, type BreakoutSectionAs, type BreakoutSectionProps, Button, ButtonLink, type ButtonLinkProps, type ButtonLinkSize, type ButtonLinkVariant, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardAffordance, type CardAffordanceProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardHeading, type CardHeadingProps, CardLabel, type CardLabelProps, CardMeta, type CardMetaProps, CardPreHeader, type CardPreHeaderProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxOption, type CheckboxOptionProps, type CheckboxProps, Container, type ContainerAs, type ContainerProps, DateInput, DateInputGroup, type DateInputGroupProps, type DateInputGroupValue, type DateInputProps, Details, type DetailsProps, DotBadge, DotBadgeProps, DotBadgeVariant, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeading, type DrawerHeadingProps, type DrawerProps, EmailInput, type EmailInputProps, File, type FileCtaVariant, FileInput, type FileInputProps, FileList, type FileListProps, type FileMediaType, type FileProps, type FileStatus, FormField, FormFieldDescription, type FormFieldDescriptionProps, FormFieldErrorMessage, type FormFieldErrorMessageProps, FormFieldLabel, type FormFieldLabelProps, FormFieldLegend, FormFieldLegendProps, type FormFieldProps, FormFieldStatus, type FormFieldStatusProps, type FormFieldStatusVariant, FormFieldset, FormFieldsetProps, Grid, type GridColSpan, GridItem, type GridItemProps, type GridProps, Heading, type HeadingAppearance, HeadingGroup, type HeadingGroupProps, type HeadingLevel, type HeadingProps, Hero, type HeroAlign, type HeroProps, type HeroVariant, Icon, IconList, IconListItem, type IconListItemProps, type IconListProps, type IconName, type IconProps, type IconSize, Image, type ImageProps, Link, LinkButton, type LinkButtonProps, type LinkButtonSize, type LinkProps, type LinkSize, Logo, LogoProps, Menu, MenuButton, MenuButtonProps, MenuLink, MenuLinkLevel, MenuLinkProps, MenuOrientation, MenuProps, ModalDialog, ModalDialogBody, type ModalDialogBodyProps, ModalDialogFooter, type ModalDialogFooterProps, ModalDialogHeader, type ModalDialogHeaderProps, ModalDialogHeading, type ModalDialogHeadingProps, type ModalDialogProps, Note, type NoteAs, type NoteProps, type NoteVariant, NumberBadge, NumberBadgeProps, NumberBadgeVariant, NumberInput, type NumberInputProps, OptionLabel, type OptionLabelProps, OrderedList, type OrderedListProps, PageBody, PageBodyProps, PageFooter, PageFooterColorScheme, PageFooterProps, PageHeader, PageHeaderColorScheme, PageHeaderLayout, PageHeaderProps, PageHeaderSticky, PageLayout, PageLayoutProps, Paragraph, type ParagraphProps, type ParagraphVariant, type PasswordAutocomplete, PasswordInput, type PasswordInputProps, Popover, PopoverBody, type PopoverBodyProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverHeading, type PopoverHeadingProps, type PopoverProps, PreHeading, type PreHeadingProps, ProgressBar, ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioProps, SearchInput, type SearchInputProps, Select, type SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SpinnerSize, Stack, type StackProps, type StackSpace, StatusBadge, StatusBadgeProps, StatusBadgeVariant, SummaryList, SummaryListActions, type SummaryListActionsProps, SummaryListKey, type SummaryListKeyProps, type SummaryListProps, SummaryListRow, type SummaryListRowProps, SummaryListValue, type SummaryListValueProps, Table, TableOfContents, type TableOfContentsAppearance, type TableOfContentsItem, type TableOfContentsProps, type TableProps, TelephoneInput, type TelephoneInputProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, UnorderedList, type UnorderedListProps, iconMap };
152
+ export { ActionGroup, type ActionGroupProps, Alert, type AlertProps, type AlertVariant, Backdrop, type BackdropProps, Body, type BodyProps, BreadcrumbNavigation, BreadcrumbNavigationItem, BreadcrumbNavigationItemProps, BreadcrumbNavigationProps, BreakoutSection, type BreakoutSectionAs, type BreakoutSectionProps, Button, ButtonLink, type ButtonLinkProps, type ButtonLinkSize, type ButtonLinkVariant, type ButtonProps, type ButtonSize, type ButtonVariant, Card, CardAffordance, type CardAffordanceProps, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardGroup, type CardGroupProps, CardHeader, type CardHeaderProps, CardHeading, type CardHeadingProps, CardLabel, type CardLabelProps, CardMeta, type CardMetaProps, CardPreHeader, type CardPreHeaderProps, type CardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxOption, type CheckboxOptionProps, type CheckboxProps, Container, type ContainerAs, type ContainerProps, DateInput, DateInputGroup, type DateInputGroupProps, type DateInputGroupValue, type DateInputProps, Details, type DetailsProps, DotBadge, DotBadgeProps, DotBadgeVariant, Drawer, DrawerBody, type DrawerBodyProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerHeading, type DrawerHeadingProps, type DrawerProps, EmailInput, type EmailInputProps, File, type FileCtaVariant, FileInput, type FileInputProps, FileList, type FileListProps, type FileMediaType, type FileProps, type FileStatus, FormField, FormFieldDescription, type FormFieldDescriptionProps, FormFieldErrorMessage, type FormFieldErrorMessageProps, FormFieldLabel, type FormFieldLabelProps, FormFieldLegend, FormFieldLegendProps, type FormFieldProps, FormFieldStatus, type FormFieldStatusProps, type FormFieldStatusVariant, FormFieldset, FormFieldsetProps, Grid, type GridColSpan, GridItem, type GridItemProps, type GridProps, Heading, type HeadingAppearance, HeadingGroup, type HeadingGroupProps, type HeadingLevel, type HeadingProps, Hero, type HeroAlign, type HeroProps, type HeroVariant, Icon, IconList, IconListItem, type IconListItemProps, type IconListProps, type IconName, type IconProps, type IconSize, Image, type ImageProps, Link, LinkButton, type LinkButtonProps, type LinkButtonSize, type LinkProps, type LinkSize, Logo, LogoProps, Menu, MenuButton, MenuButtonProps, MenuLink, MenuLinkLevel, MenuLinkProps, MenuOrientation, MenuProps, ModalDialog, ModalDialogBody, type ModalDialogBodyProps, ModalDialogFooter, type ModalDialogFooterProps, ModalDialogHeader, type ModalDialogHeaderProps, ModalDialogHeading, type ModalDialogHeadingProps, type ModalDialogProps, Note, type NoteAs, type NoteProps, type NoteVariant, NumberBadge, NumberBadgeProps, NumberBadgeVariant, NumberInput, type NumberInputProps, OptionLabel, type OptionLabelProps, OrderedList, type OrderedListProps, PageBody, PageBodyProps, PageFooter, PageFooterColorScheme, PageFooterProps, PageHeader, PageHeaderColorScheme, PageHeaderLayout, PageHeaderProps, PageHeaderSticky, PageLayout, PageLayoutProps, Paragraph, type ParagraphProps, type ParagraphVariant, type PasswordAutocomplete, PasswordInput, type PasswordInputProps, Popover, PopoverBody, type PopoverBodyProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverHeading, type PopoverHeadingProps, PopoverMenu, type PopoverMenuProps, type PopoverProps, PreHeading, type PreHeadingProps, ProgressBar, ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioOption, type RadioOptionProps, type RadioProps, SearchInput, type SearchInputProps, Select, type SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SpinnerSize, Stack, type StackProps, type StackSpace, StatusBadge, StatusBadgeProps, StatusBadgeVariant, SummaryList, SummaryListActions, type SummaryListActionsProps, SummaryListKey, type SummaryListKeyProps, type SummaryListProps, SummaryListRow, type SummaryListRowProps, SummaryListValue, type SummaryListValueProps, Table, TableOfContents, type TableOfContentsAppearance, type TableOfContentsItem, type TableOfContentsProps, type TableProps, TelephoneInput, type TelephoneInputProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, TimeInput, type TimeInputProps, UnorderedList, type UnorderedListProps, iconMap };
package/dist/index.mjs CHANGED
@@ -73,5 +73,6 @@ import { Image } from "./Image/Image2.mjs";
73
73
  import { Card, CardAffordance, CardBody, CardDescription, CardFooter, CardGroup, CardHeader, CardHeading, CardLabel, CardMeta, CardPreHeader } from "./Card/Card2.mjs";
74
74
  import { ModalDialog, ModalDialogBody, ModalDialogFooter, ModalDialogHeader, ModalDialogHeading } from "./ModalDialog/ModalDialog2.mjs";
75
75
  import { Popover, PopoverBody, PopoverFooter, PopoverHeader, PopoverHeading } from "./Popover/Popover2.mjs";
76
+ import { PopoverMenu } from "./PopoverMenu/PopoverMenu2.mjs";
76
77
  import { File, FileList } from "./File/File2.mjs";
77
- export { ActionGroup, Alert, Backdrop, Body, BreadcrumbNavigation, BreadcrumbNavigationItem, BreakoutSection, Button, ButtonLink, Card, CardAffordance, CardBody, CardDescription, CardFooter, CardGroup, CardHeader, CardHeading, CardLabel, CardMeta, CardPreHeader, Checkbox, CheckboxGroup, CheckboxOption, Container, DateInput, DateInputGroup, Details, DotBadge, Drawer, DrawerBody, DrawerFooter, DrawerHeader, DrawerHeading, EmailInput, File, FileInput, FileList, FormField, FormFieldDescription, FormFieldErrorMessage, FormFieldLabel, FormFieldLegend, FormFieldStatus, FormFieldset, Grid, GridItem, Heading, HeadingGroup, Hero, Icon, IconList, IconListItem, Image, Link, LinkButton, Logo, Menu, MenuButton, MenuLink, ModalDialog, ModalDialogBody, ModalDialogFooter, ModalDialogHeader, ModalDialogHeading, Note, NumberBadge, NumberInput, OptionLabel, OrderedList, PageBody, PageFooter, PageHeader, PageLayout, Paragraph, PasswordInput, Popover, PopoverBody, PopoverFooter, PopoverHeader, PopoverHeading, PreHeading, ProgressBar, Radio, RadioGroup, RadioOption, SearchInput, Select, SkipLink, Spinner, Stack, StatusBadge, SummaryList, SummaryListActions, SummaryListKey, SummaryListRow, SummaryListValue, Table, TableOfContents, TelephoneInput, TextArea, TextInput, TimeInput, UnorderedList, iconMap };
78
+ export { ActionGroup, Alert, Backdrop, Body, BreadcrumbNavigation, BreadcrumbNavigationItem, BreakoutSection, Button, ButtonLink, Card, CardAffordance, CardBody, CardDescription, CardFooter, CardGroup, CardHeader, CardHeading, CardLabel, CardMeta, CardPreHeader, Checkbox, CheckboxGroup, CheckboxOption, Container, DateInput, DateInputGroup, Details, DotBadge, Drawer, DrawerBody, DrawerFooter, DrawerHeader, DrawerHeading, EmailInput, File, FileInput, FileList, FormField, FormFieldDescription, FormFieldErrorMessage, FormFieldLabel, FormFieldLegend, FormFieldStatus, FormFieldset, Grid, GridItem, Heading, HeadingGroup, Hero, Icon, IconList, IconListItem, Image, Link, LinkButton, Logo, Menu, MenuButton, MenuLink, ModalDialog, ModalDialogBody, ModalDialogFooter, ModalDialogHeader, ModalDialogHeading, Note, NumberBadge, NumberInput, OptionLabel, OrderedList, PageBody, PageFooter, PageHeader, PageLayout, Paragraph, PasswordInput, Popover, PopoverBody, PopoverFooter, PopoverHeader, PopoverHeading, PopoverMenu, PreHeading, ProgressBar, Radio, RadioGroup, RadioOption, SearchInput, Select, SkipLink, Spinner, Stack, StatusBadge, SummaryList, SummaryListActions, SummaryListKey, SummaryListRow, SummaryListValue, Table, TableOfContents, TelephoneInput, TextArea, TextInput, TimeInput, UnorderedList, iconMap };
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ //#region src/utils/popover.d.ts
3
+ /**
4
+ * Gedeeld gedrag voor componenten op basis van de HTML Popover API.
5
+ *
6
+ * `Popover` (niet-modale dialog) en `PopoverMenu` (lijst zonder rol) zien er
7
+ * anders uit en hebben andere semantiek, maar openen, positioneren, sluiten en
8
+ * de focus terugzetten gaat bij beide hetzelfde. Dat gedrag staat hier op één
9
+ * plek. Deze module wordt niet geëxporteerd uit het package.
10
+ */
11
+ declare module 'react' {
12
+ interface HTMLAttributes<T> {
13
+ popover?: 'auto' | 'manual' | '' | undefined;
14
+ popoverTarget?: string | undefined;
15
+ popoverTargetAction?: 'hide' | 'show' | 'toggle' | undefined;
16
+ }
17
+ }
18
+ declare global {
19
+ interface HTMLElement {
20
+ showPopover(): void;
21
+ hidePopover(): void;
22
+ }
23
+ }
24
+ type PopoverPlacement = 'top' | 'bottom' | 'start' | 'end';
25
+ //#endregion
26
+ export { PopoverPlacement };
27
+ //# sourceMappingURL=popover.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.mts","names":[],"sources":["../../src/utils/popover.ts"],"mappings":";;;;;;;;;;;YAiBY,eAAe;IACvB;IACA;IACA;;;QAQI;YACI;IACR;IACA;;;KAQQ"}
@@ -0,0 +1,142 @@
1
+ import React from "react";
2
+ //#region src/utils/popover.ts
3
+ const GAP = 4;
4
+ function positionPopover(popover, trigger, placement) {
5
+ const triggerRect = trigger.getBoundingClientRect();
6
+ const popoverRect = {
7
+ width: popover.offsetWidth,
8
+ height: popover.offsetHeight
9
+ };
10
+ const isRTL = document.documentElement.dir === "rtl" || getComputedStyle(trigger).direction === "rtl";
11
+ let top;
12
+ let left;
13
+ switch (placement) {
14
+ case "bottom":
15
+ top = triggerRect.bottom + GAP;
16
+ left = isRTL ? triggerRect.right - popoverRect.width : triggerRect.left;
17
+ break;
18
+ case "top":
19
+ top = triggerRect.top - popoverRect.height - GAP;
20
+ left = isRTL ? triggerRect.right - popoverRect.width : triggerRect.left;
21
+ break;
22
+ case "end":
23
+ top = triggerRect.top;
24
+ left = isRTL ? triggerRect.left - popoverRect.width - GAP : triggerRect.right + GAP;
25
+ break;
26
+ case "start":
27
+ top = triggerRect.top;
28
+ left = isRTL ? triggerRect.right + GAP : triggerRect.left - popoverRect.width - GAP;
29
+ break;
30
+ default:
31
+ top = triggerRect.bottom + GAP;
32
+ left = triggerRect.left;
33
+ }
34
+ const margin = 8;
35
+ left = Math.max(margin, Math.min(left, window.innerWidth - popoverRect.width - margin));
36
+ top = Math.max(margin, Math.min(top, window.innerHeight - popoverRect.height - margin));
37
+ popover.style.top = `${top}px`;
38
+ popover.style.left = `${left}px`;
39
+ popover.style.right = "auto";
40
+ popover.style.bottom = "auto";
41
+ }
42
+ function focusFirstInteractive(container) {
43
+ const selector = [
44
+ "button:not(:disabled)",
45
+ "a[href]",
46
+ "input:not(:disabled)",
47
+ "select:not(:disabled)",
48
+ "textarea:not(:disabled)",
49
+ "[tabindex]:not([tabindex=\"-1\"])"
50
+ ].join(", ");
51
+ const first = container.querySelector(selector);
52
+ if (first) first.focus();
53
+ else container.focus();
54
+ }
55
+ /**
56
+ * Opent en sluit een element met `popover="auto"` synchroon met `isOpen`,
57
+ * positioneert het bij de trigger en houdt `aria-expanded` op de trigger bij.
58
+ *
59
+ * Bij openen gaat de focus naar `initialFocusRef` (of de popover zelf als die
60
+ * ref leeg is), en anders naar het eerste interactieve element. Bij sluiten
61
+ * gaat de focus alleen terug naar de trigger wanneer dat zinvol is: als de
62
+ * focus op dat moment nog in de popover stond (Escape, een sluitknop, een
63
+ * actie in de popover). Klikt de gebruiker ergens anders, dan blijft de focus
64
+ * daar; terugspringen naar de trigger zou die klik tenietdoen.
65
+ */
66
+ function usePopover({ popoverRef, triggerRef, isOpen, onClose, placement, initialFocusRef }) {
67
+ const restoreFocusRef = React.useRef(false);
68
+ const dismissedByPointerRef = React.useRef(false);
69
+ const onCloseRef = React.useRef(onClose);
70
+ onCloseRef.current = onClose;
71
+ React.useEffect(() => {
72
+ const el = popoverRef.current;
73
+ if (!el) return;
74
+ if (isOpen) {
75
+ dismissedByPointerRef.current = false;
76
+ el.showPopover();
77
+ const trigger = triggerRef.current;
78
+ if (trigger) positionPopover(el, trigger, placement);
79
+ if (initialFocusRef) (initialFocusRef.current ?? el).focus();
80
+ else focusFirstInteractive(el);
81
+ } else try {
82
+ el.hidePopover();
83
+ } catch {}
84
+ }, [
85
+ isOpen,
86
+ placement,
87
+ triggerRef,
88
+ popoverRef,
89
+ initialFocusRef
90
+ ]);
91
+ React.useEffect(() => {
92
+ const trigger = triggerRef.current;
93
+ if (!trigger) return;
94
+ trigger.setAttribute("aria-expanded", isOpen ? "true" : "false");
95
+ return () => {
96
+ trigger.setAttribute("aria-expanded", "false");
97
+ };
98
+ }, [isOpen, triggerRef]);
99
+ React.useEffect(() => {
100
+ const el = popoverRef.current;
101
+ if (!el) return;
102
+ const handleBeforeToggle = (event) => {
103
+ if (event.newState === "closed") restoreFocusRef.current = !dismissedByPointerRef.current && el.contains(document.activeElement);
104
+ };
105
+ const handleToggle = (event) => {
106
+ if (event.newState === "closed") {
107
+ onCloseRef.current?.();
108
+ if (restoreFocusRef.current) triggerRef.current?.focus();
109
+ restoreFocusRef.current = false;
110
+ }
111
+ };
112
+ el.addEventListener("beforetoggle", handleBeforeToggle);
113
+ el.addEventListener("toggle", handleToggle);
114
+ return () => {
115
+ el.removeEventListener("beforetoggle", handleBeforeToggle);
116
+ el.removeEventListener("toggle", handleToggle);
117
+ };
118
+ }, [triggerRef, popoverRef]);
119
+ React.useEffect(() => {
120
+ if (!isOpen) return;
121
+ const el = popoverRef.current;
122
+ if (!el) return;
123
+ const handlePointerDown = (event) => {
124
+ const target = event.target;
125
+ if (el.contains(target) || triggerRef.current?.contains(target)) return;
126
+ dismissedByPointerRef.current = true;
127
+ onCloseRef.current?.();
128
+ };
129
+ document.addEventListener("pointerdown", handlePointerDown);
130
+ return () => {
131
+ document.removeEventListener("pointerdown", handlePointerDown);
132
+ };
133
+ }, [
134
+ isOpen,
135
+ triggerRef,
136
+ popoverRef
137
+ ]);
138
+ }
139
+ //#endregion
140
+ export { usePopover };
141
+
142
+ //# sourceMappingURL=popover.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.mjs","names":["toggleEvent"],"sources":["../../src/utils/popover.ts"],"sourcesContent":["import React from 'react';\n\n/**\n * Gedeeld gedrag voor componenten op basis van de HTML Popover API.\n *\n * `Popover` (niet-modale dialog) en `PopoverMenu` (lijst zonder rol) zien er\n * anders uit en hebben andere semantiek, maar openen, positioneren, sluiten en\n * de focus terugzetten gaat bij beide hetzelfde. Dat gedrag staat hier op één\n * plek. Deze module wordt niet geëxporteerd uit het package.\n */\n\n/*\n * React 18 ondersteunt het `popover`-attribuut en `onToggle` niet natively in de\n * JSX-types. Module-uitbreiding voegt de ontbrekende types toe.\n */\ndeclare module 'react' {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n interface HTMLAttributes<T> {\n popover?: 'auto' | 'manual' | '' | undefined;\n popoverTarget?: string | undefined;\n popoverTargetAction?: 'hide' | 'show' | 'toggle' | undefined;\n }\n}\n\n/*\n * HTMLElement.showPopover / hidePopover zijn nog niet in alle TypeScript DOM-libs.\n * Declaratie toegevoegd voor veilig gebruik.\n */\ndeclare global {\n interface HTMLElement {\n showPopover(): void;\n hidePopover(): void;\n }\n}\n\n// =============================================================================\n// Types\n// =============================================================================\n\nexport type PopoverPlacement = 'top' | 'bottom' | 'start' | 'end';\n\n// =============================================================================\n// Positioneringshelper\n// =============================================================================\n\nconst GAP = 4; // px afstand tussen trigger en popover\n\nfunction positionPopover(\n popover: HTMLElement,\n trigger: HTMLElement,\n placement: PopoverPlacement\n): void {\n const triggerRect = trigger.getBoundingClientRect();\n // offsetWidth/offsetHeight — onaangepast door CSS transforms (zoals @starting-style scale).\n // getBoundingClientRect geeft de getransformeerde afmetingen, wat leidt tot onjuiste clamping.\n const popoverWidth = popover.offsetWidth;\n const popoverHeight = popover.offsetHeight;\n const popoverRect = { width: popoverWidth, height: popoverHeight };\n const isRTL =\n document.documentElement.dir === 'rtl' ||\n getComputedStyle(trigger).direction === 'rtl';\n\n let top: number;\n let left: number;\n\n switch (placement) {\n case 'bottom':\n top = triggerRect.bottom + GAP;\n left = isRTL ? triggerRect.right - popoverRect.width : triggerRect.left;\n break;\n case 'top':\n top = triggerRect.top - popoverRect.height - GAP;\n left = isRTL ? triggerRect.right - popoverRect.width : triggerRect.left;\n break;\n case 'end':\n top = triggerRect.top;\n left = isRTL\n ? triggerRect.left - popoverRect.width - GAP\n : triggerRect.right + GAP;\n break;\n case 'start':\n top = triggerRect.top;\n left = isRTL\n ? triggerRect.right + GAP\n : triggerRect.left - popoverRect.width - GAP;\n break;\n default:\n top = triggerRect.bottom + GAP;\n left = triggerRect.left;\n }\n\n // Klamp binnen het viewport (8px marge)\n const margin = 8;\n left = Math.max(\n margin,\n Math.min(left, window.innerWidth - popoverRect.width - margin)\n );\n top = Math.max(\n margin,\n Math.min(top, window.innerHeight - popoverRect.height - margin)\n );\n\n popover.style.top = `${top}px`;\n popover.style.left = `${left}px`;\n popover.style.right = 'auto';\n popover.style.bottom = 'auto';\n}\n\n// Zet focus op het eerste interactieve element in de popover\nfunction focusFirstInteractive(container: HTMLElement): void {\n const selector = [\n 'button:not(:disabled)',\n 'a[href]',\n 'input:not(:disabled)',\n 'select:not(:disabled)',\n 'textarea:not(:disabled)',\n '[tabindex]:not([tabindex=\"-1\"])',\n ].join(', ');\n const first = container.querySelector<HTMLElement>(selector);\n if (first) {\n first.focus();\n } else {\n container.focus();\n }\n}\n\n// =============================================================================\n// Hook\n// =============================================================================\n\nexport interface UsePopoverOptions {\n /** Het element met het `popover`-attribuut. */\n popoverRef: React.RefObject<HTMLElement | null>;\n /** Het element dat de popover opent. */\n triggerRef: React.RefObject<HTMLElement | null>;\n /** Of de popover open staat. */\n isOpen: boolean;\n /** Wordt aangeroepen wanneer de popover sluit. */\n onClose?: () => void;\n /** Plaatsing ten opzichte van de trigger. */\n placement: PopoverPlacement;\n /**\n * Element dat bij openen de focus krijgt. Is de ref leeg, dan krijgt de\n * popover zelf de focus. Zonder deze optie gaat de focus naar het eerste\n * interactieve element.\n *\n * `Popover` geeft hier de heading mee, net als ModalDialog en Drawer: zie\n * docs/decisions/DR-2026-12-dialogs-focus-bij-openen-op-de-heading.md.\n * `PopoverMenu` laat hem weg: dat paneel heeft geen titel.\n */\n initialFocusRef?: React.RefObject<HTMLElement | null>;\n}\n\n/**\n * Opent en sluit een element met `popover=\"auto\"` synchroon met `isOpen`,\n * positioneert het bij de trigger en houdt `aria-expanded` op de trigger bij.\n *\n * Bij openen gaat de focus naar `initialFocusRef` (of de popover zelf als die\n * ref leeg is), en anders naar het eerste interactieve element. Bij sluiten\n * gaat de focus alleen terug naar de trigger wanneer dat zinvol is: als de\n * focus op dat moment nog in de popover stond (Escape, een sluitknop, een\n * actie in de popover). Klikt de gebruiker ergens anders, dan blijft de focus\n * daar; terugspringen naar de trigger zou die klik tenietdoen.\n */\nexport function usePopover({\n popoverRef,\n triggerRef,\n isOpen,\n onClose,\n placement,\n initialFocusRef,\n}: UsePopoverOptions): void {\n /*\n * `restoreFocusRef` wordt gezet in `beforetoggle`, dat synchroon vóór het\n * verbergen vuurt. In `toggle` is het te laat om het te meten: de popover\n * is dan al verborgen en de browser heeft de focus al verplaatst.\n */\n const restoreFocusRef = React.useRef(false);\n const dismissedByPointerRef = React.useRef(false);\n\n // Gebruik een ref voor onClose zodat de listeners stabiel blijven en nooit stale zijn.\n const onCloseRef = React.useRef(onClose);\n onCloseRef.current = onClose;\n\n // Toon/verberg de popover via de Popover API\n React.useEffect(() => {\n const el = popoverRef.current;\n if (!el) return;\n\n if (isOpen) {\n dismissedByPointerRef.current = false;\n el.showPopover();\n const trigger = triggerRef.current;\n if (trigger) {\n positionPopover(el, trigger, placement);\n }\n if (initialFocusRef) {\n (initialFocusRef.current ?? el).focus();\n } else {\n focusFirstInteractive(el);\n }\n } else {\n // hidePopover gooit een fout als de popover al gesloten is\n try {\n el.hidePopover();\n } catch {\n // popover was al gesloten — geen actie nodig\n }\n }\n }, [isOpen, placement, triggerRef, popoverRef, initialFocusRef]);\n\n // Synchroniseer aria-expanded op het triggerelement\n React.useEffect(() => {\n const trigger = triggerRef.current;\n if (!trigger) return;\n trigger.setAttribute('aria-expanded', isOpen ? 'true' : 'false');\n return () => {\n trigger.setAttribute('aria-expanded', 'false');\n };\n }, [isOpen, triggerRef]);\n\n // Verwerk de toggle-events van de Popover API (Escape / klik buiten binnen hetzelfde document).\n // onToggle is niet beschikbaar als JSX-prop op div in React 18 — gebruik addEventListener.\n React.useEffect(() => {\n const el = popoverRef.current;\n if (!el) return;\n\n const handleBeforeToggle = (event: Event) => {\n const toggleEvent = event as Event & { newState?: string };\n if (toggleEvent.newState === 'closed') {\n restoreFocusRef.current =\n !dismissedByPointerRef.current && el.contains(document.activeElement);\n }\n };\n\n const handleToggle = (event: Event) => {\n const toggleEvent = event as Event & { newState?: string };\n if (toggleEvent.newState === 'closed') {\n onCloseRef.current?.();\n if (restoreFocusRef.current) {\n triggerRef.current?.focus();\n }\n restoreFocusRef.current = false;\n }\n };\n\n el.addEventListener('beforetoggle', handleBeforeToggle);\n el.addEventListener('toggle', handleToggle);\n return () => {\n el.removeEventListener('beforetoggle', handleBeforeToggle);\n el.removeEventListener('toggle', handleToggle);\n };\n }, [triggerRef, popoverRef]);\n\n // Fallback light-dismiss via pointerdown — vangt klikken buiten de popover op\n // in contexten waar de Popover API's native light-dismiss niet bereikbaar is\n // (bijv. iframe-grenzen, of oudere browsers zonder Popover API).\n React.useEffect(() => {\n if (!isOpen) return;\n const el = popoverRef.current;\n if (!el) return;\n\n const handlePointerDown = (event: PointerEvent) => {\n const target = event.target as Node;\n // Sluit niet als er op de popover zelf of het triggerelement geklikt wordt\n if (el.contains(target) || triggerRef.current?.contains(target)) return;\n // Light dismiss: de focus volgt de klik, niet de trigger\n dismissedByPointerRef.current = true;\n onCloseRef.current?.();\n };\n\n document.addEventListener('pointerdown', handlePointerDown);\n return () => {\n document.removeEventListener('pointerdown', handlePointerDown);\n };\n }, [isOpen, triggerRef, popoverRef]);\n}\n"],"mappings":";;AA6CA,MAAM,MAAM;AAEZ,SAAS,gBACP,SACA,SACA,WACM;CACN,MAAM,cAAc,QAAQ,sBAAsB;CAKlD,MAAM,cAAc;EAAE,OAFD,QAAQ;EAEc,QADrB,QAAQ;CACmC;CACjE,MAAM,QACJ,SAAS,gBAAgB,QAAQ,SACjC,iBAAiB,OAAO,CAAC,CAAC,cAAc;CAE1C,IAAI;CACJ,IAAI;CAEJ,QAAQ,WAAR;EACE,KAAK;GACH,MAAM,YAAY,SAAS;GAC3B,OAAO,QAAQ,YAAY,QAAQ,YAAY,QAAQ,YAAY;GACnE;EACF,KAAK;GACH,MAAM,YAAY,MAAM,YAAY,SAAS;GAC7C,OAAO,QAAQ,YAAY,QAAQ,YAAY,QAAQ,YAAY;GACnE;EACF,KAAK;GACH,MAAM,YAAY;GAClB,OAAO,QACH,YAAY,OAAO,YAAY,QAAQ,MACvC,YAAY,QAAQ;GACxB;EACF,KAAK;GACH,MAAM,YAAY;GAClB,OAAO,QACH,YAAY,QAAQ,MACpB,YAAY,OAAO,YAAY,QAAQ;GAC3C;EACF;GACE,MAAM,YAAY,SAAS;GAC3B,OAAO,YAAY;CACvB;CAGA,MAAM,SAAS;CACf,OAAO,KAAK,IACV,QACA,KAAK,IAAI,MAAM,OAAO,aAAa,YAAY,QAAQ,MAAM,CAC/D;CACA,MAAM,KAAK,IACT,QACA,KAAK,IAAI,KAAK,OAAO,cAAc,YAAY,SAAS,MAAM,CAChE;CAEA,QAAQ,MAAM,MAAM,GAAG,IAAI;CAC3B,QAAQ,MAAM,OAAO,GAAG,KAAK;CAC7B,QAAQ,MAAM,QAAQ;CACtB,QAAQ,MAAM,SAAS;AACzB;AAGA,SAAS,sBAAsB,WAA8B;CAC3D,MAAM,WAAW;EACf;EACA;EACA;EACA;EACA;EACA;CACF,CAAC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BAAgB,UAAU;GAC5B;EACF;EAEA,GAAG,iBAAiB,gBAAgB,kBAAkB;EACtD,GAAG,iBAAiB,UAAU,YAAY;EAC1C,aAAa;GACX,GAAG,oBAAoB,gBAAgB,kBAAkB;GACzD,GAAG,oBAAoB,UAAU,YAAY;EAC/C;CACF,GAAG,CAAC,YAAY,UAAU,CAAC;CAK3B,MAAM,gBAAgB;EACpB,IAAI,CAAC,QAAQ;EACb,MAAM,KAAK,WAAW;EACtB,IAAI,CAAC,IAAI;EAET,MAAM,qBAAqB,UAAwB;GACjD,MAAM,SAAS,MAAM;GAErB,IAAI,GAAG,SAAS,MAAM,KAAK,WAAW,SAAS,SAAS,MAAM,GAAG;GAEjE,sBAAsB,UAAU;GAChC,WAAW,UAAU;EACvB;EAEA,SAAS,iBAAiB,eAAe,iBAAiB;EAC1D,aAAa;GACX,SAAS,oBAAoB,eAAe,iBAAiB;EAC/D;CACF,GAAG;EAAC;EAAQ;EAAY;CAAU,CAAC;AACrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsn-starter-kit/components-react",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "React components for the design system",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -41,8 +41,8 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@dsn-starter-kit/design-tokens": "4.0.0",
45
- "@dsn-starter-kit/core": "4.0.0"
44
+ "@dsn-starter-kit/core": "4.1.0",
45
+ "@dsn-starter-kit/design-tokens": "4.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=18.0.0",