@amsterdam/design-system-react 0.16.0 → 1.0.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/Accordion/Accordion.d.ts +3 -0
- package/dist/Accordion/Accordion.js +3 -0
- package/dist/Accordion/Accordion.test.d.ts +4 -0
- package/dist/Accordion/Accordion.test.js +4 -0
- package/dist/Accordion/AccordionSection.test.d.ts +4 -0
- package/dist/Accordion/AccordionSection.test.js +4 -0
- package/dist/Accordion/index.d.ts +4 -0
- package/dist/Accordion/index.js +4 -0
- package/dist/ActionGroup/ActionGroup.d.ts +3 -0
- package/dist/ActionGroup/ActionGroup.js +3 -0
- package/dist/ActionGroup/ActionGroup.test.d.ts +4 -0
- package/dist/ActionGroup/ActionGroup.test.js +4 -0
- package/dist/ActionGroup/index.d.ts +4 -0
- package/dist/ActionGroup/index.js +4 -0
- package/dist/Alert/Alert.d.ts +3 -0
- package/dist/Alert/Alert.js +8 -5
- package/dist/Alert/Alert.test.d.ts +4 -0
- package/dist/Alert/Alert.test.js +4 -0
- package/dist/Alert/index.d.ts +4 -0
- package/dist/Alert/index.js +4 -0
- package/dist/Avatar/Avatar.d.ts +3 -0
- package/dist/Avatar/Avatar.js +5 -2
- package/dist/Avatar/Avatar.test.d.ts +4 -0
- package/dist/Avatar/Avatar.test.js +4 -0
- package/dist/Avatar/index.d.ts +4 -0
- package/dist/Avatar/index.js +4 -0
- package/dist/Badge/Badge.d.ts +3 -0
- package/dist/Badge/Badge.js +3 -0
- package/dist/Badge/Badge.test.d.ts +4 -0
- package/dist/Badge/Badge.test.js +4 -0
- package/dist/Badge/index.d.ts +4 -0
- package/dist/Badge/index.js +4 -0
- package/dist/Blockquote/Blockquote.d.ts +3 -0
- package/dist/Blockquote/Blockquote.js +3 -0
- package/dist/Blockquote/Blockquote.test.d.ts +4 -0
- package/dist/Blockquote/Blockquote.test.js +4 -0
- package/dist/Blockquote/index.d.ts +4 -0
- package/dist/Blockquote/index.js +4 -0
- package/dist/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/Breadcrumb/Breadcrumb.js +3 -0
- package/dist/Breadcrumb/Breadcrumb.test.d.ts +4 -0
- package/dist/Breadcrumb/Breadcrumb.test.js +4 -0
- package/dist/Breadcrumb/BreadcrumbLink.test.d.ts +4 -0
- package/dist/Breadcrumb/BreadcrumbLink.test.js +4 -0
- package/dist/Breadcrumb/index.d.ts +4 -0
- package/dist/Breadcrumb/index.js +4 -0
- package/dist/Breakout/Breakout.d.ts +3 -0
- package/dist/Breakout/Breakout.js +3 -0
- package/dist/Breakout/Breakout.test.d.ts +4 -0
- package/dist/Breakout/Breakout.test.js +4 -0
- package/dist/Breakout/BreakoutCell.test.d.ts +4 -0
- package/dist/Breakout/BreakoutCell.test.js +4 -0
- package/dist/Breakout/index.d.ts +4 -0
- package/dist/Breakout/index.js +4 -0
- package/dist/Button/Button.d.ts +3 -0
- package/dist/Button/Button.js +3 -0
- package/dist/Button/Button.test.d.ts +4 -0
- package/dist/Button/Button.test.js +4 -0
- package/dist/Button/index.d.ts +4 -0
- package/dist/Button/index.js +4 -0
- package/dist/Card/Card.d.ts +3 -0
- package/dist/Card/Card.js +3 -0
- package/dist/Card/Card.test.d.ts +4 -0
- package/dist/Card/Card.test.js +4 -0
- package/dist/Card/CardHeading.test.d.ts +4 -0
- package/dist/Card/CardHeading.test.js +4 -0
- package/dist/Card/CardHeadingGroup.test.d.ts +4 -0
- package/dist/Card/CardHeadingGroup.test.js +4 -0
- package/dist/Card/CardImage.test.d.ts +4 -0
- package/dist/Card/CardImage.test.js +4 -0
- package/dist/Card/CardLink.test.d.ts +4 -0
- package/dist/Card/CardLink.test.js +4 -0
- package/dist/Card/index.d.ts +4 -0
- package/dist/Card/index.js +4 -0
- package/dist/CharacterCount/CharacterCount.d.ts +3 -0
- package/dist/CharacterCount/CharacterCount.js +3 -0
- package/dist/CharacterCount/CharacterCount.test.d.ts +4 -0
- package/dist/CharacterCount/CharacterCount.test.js +4 -0
- package/dist/CharacterCount/index.d.ts +4 -0
- package/dist/CharacterCount/index.js +4 -0
- package/dist/Checkbox/Checkbox.d.ts +9 -2
- package/dist/Checkbox/Checkbox.js +6 -2
- package/dist/Checkbox/Checkbox.test.d.ts +4 -0
- package/dist/Checkbox/Checkbox.test.js +10 -0
- package/dist/Checkbox/CheckboxIcon.d.ts +7 -0
- package/dist/Checkbox/CheckboxIcon.js +3 -0
- package/dist/Checkbox/index.d.ts +4 -0
- package/dist/Checkbox/index.js +4 -0
- package/dist/Column/Column.d.ts +3 -0
- package/dist/Column/Column.js +3 -0
- package/dist/Column/Column.test.d.ts +4 -0
- package/dist/Column/Column.test.js +4 -0
- package/dist/Column/index.d.ts +4 -0
- package/dist/Column/index.js +4 -0
- package/dist/DateInput/DateInput.d.ts +3 -0
- package/dist/DateInput/DateInput.js +3 -0
- package/dist/DateInput/DateInput.test.d.ts +4 -0
- package/dist/DateInput/DateInput.test.js +4 -0
- package/dist/DateInput/index.d.ts +4 -0
- package/dist/DateInput/index.js +4 -0
- package/dist/DescriptionList/DescriptionList.d.ts +3 -0
- package/dist/DescriptionList/DescriptionList.js +3 -0
- package/dist/DescriptionList/DescriptionList.test.d.ts +4 -0
- package/dist/DescriptionList/DescriptionList.test.js +4 -0
- package/dist/DescriptionList/DescriptionListDescription.test.d.ts +4 -0
- package/dist/DescriptionList/DescriptionListDescription.test.js +4 -0
- package/dist/DescriptionList/DescriptionListSection.test.d.ts +4 -0
- package/dist/DescriptionList/DescriptionListSection.test.js +4 -0
- package/dist/DescriptionList/DescriptionListTerm.test.d.ts +4 -0
- package/dist/DescriptionList/DescriptionListTerm.test.js +4 -0
- package/dist/DescriptionList/index.d.ts +4 -0
- package/dist/DescriptionList/index.js +4 -0
- package/dist/Dialog/Dialog.d.ts +3 -0
- package/dist/Dialog/Dialog.js +3 -0
- package/dist/Dialog/Dialog.test.d.ts +4 -0
- package/dist/Dialog/Dialog.test.js +4 -0
- package/dist/Dialog/index.d.ts +4 -0
- package/dist/Dialog/index.js +4 -0
- package/dist/ErrorMessage/ErrorMessage.d.ts +3 -0
- package/dist/ErrorMessage/ErrorMessage.js +5 -2
- package/dist/ErrorMessage/ErrorMessage.test.d.ts +4 -0
- package/dist/ErrorMessage/ErrorMessage.test.js +4 -0
- package/dist/ErrorMessage/index.d.ts +4 -0
- package/dist/ErrorMessage/index.js +4 -0
- package/dist/Field/Field.d.ts +3 -0
- package/dist/Field/Field.js +3 -0
- package/dist/Field/Field.test.d.ts +4 -0
- package/dist/Field/Field.test.js +4 -0
- package/dist/Field/index.d.ts +4 -0
- package/dist/Field/index.js +4 -0
- package/dist/FieldSet/FieldSet.d.ts +3 -0
- package/dist/FieldSet/FieldSet.js +3 -0
- package/dist/FieldSet/FieldSet.test.d.ts +4 -0
- package/dist/FieldSet/FieldSet.test.js +4 -0
- package/dist/FieldSet/index.d.ts +4 -0
- package/dist/FieldSet/index.js +4 -0
- package/dist/Figure/Figure.d.ts +3 -0
- package/dist/Figure/Figure.js +3 -0
- package/dist/Figure/Figure.test.d.ts +4 -0
- package/dist/Figure/Figure.test.js +4 -0
- package/dist/Figure/FigureCaption.test.d.ts +4 -0
- package/dist/Figure/FigureCaption.test.js +4 -0
- package/dist/Figure/index.d.ts +4 -0
- package/dist/Figure/index.js +4 -0
- package/dist/FileInput/FileInput.d.ts +3 -0
- package/dist/FileInput/FileInput.js +3 -0
- package/dist/FileInput/FileInput.test.d.ts +4 -0
- package/dist/FileInput/FileInput.test.js +4 -0
- package/dist/FileInput/index.d.ts +4 -0
- package/dist/FileInput/index.js +4 -0
- package/dist/FileList/FileList.d.ts +3 -0
- package/dist/FileList/FileList.js +3 -0
- package/dist/FileList/FileList.test.d.ts +4 -0
- package/dist/FileList/FileList.test.js +4 -0
- package/dist/FileList/FileListItem.test.d.ts +4 -0
- package/dist/FileList/FileListItem.test.js +4 -0
- package/dist/FileList/index.d.ts +4 -0
- package/dist/FileList/index.js +4 -0
- package/dist/Grid/Grid.d.ts +3 -0
- package/dist/Grid/Grid.js +3 -0
- package/dist/Grid/Grid.test.d.ts +4 -0
- package/dist/Grid/Grid.test.js +4 -0
- package/dist/Grid/GridCell.test.d.ts +4 -0
- package/dist/Grid/GridCell.test.js +4 -0
- package/dist/Grid/index.d.ts +4 -0
- package/dist/Grid/index.js +4 -0
- package/dist/Grid/paddingClasses.d.ts +4 -0
- package/dist/Grid/paddingClasses.js +4 -0
- package/dist/Heading/Heading.d.ts +3 -1
- package/dist/Heading/Heading.js +7 -0
- package/dist/Heading/Heading.test.d.ts +4 -0
- package/dist/Heading/Heading.test.js +4 -0
- package/dist/Heading/getHeadingTag.d.ts +4 -0
- package/dist/Heading/getHeadingTag.js +4 -0
- package/dist/Heading/index.d.ts +4 -0
- package/dist/Heading/index.js +4 -0
- package/dist/Hint/Hint.test.d.ts +4 -0
- package/dist/Hint/Hint.test.js +4 -0
- package/dist/Hint/index.d.ts +4 -0
- package/dist/Hint/index.js +4 -0
- package/dist/Icon/Icon.d.ts +4 -2
- package/dist/Icon/Icon.js +8 -0
- package/dist/Icon/Icon.test.d.ts +4 -0
- package/dist/Icon/Icon.test.js +13 -9
- package/dist/Icon/index.d.ts +4 -0
- package/dist/Icon/index.js +4 -0
- package/dist/IconButton/IconButton.d.ts +5 -2
- package/dist/IconButton/IconButton.js +3 -0
- package/dist/IconButton/IconButton.test.d.ts +4 -0
- package/dist/IconButton/IconButton.test.js +4 -0
- package/dist/IconButton/index.d.ts +4 -0
- package/dist/IconButton/index.js +4 -0
- package/dist/Image/Image.d.ts +3 -0
- package/dist/Image/Image.js +3 -0
- package/dist/Image/Image.test.d.ts +4 -0
- package/dist/Image/Image.test.js +4 -0
- package/dist/Image/generateAspectRatioClass.d.ts +4 -0
- package/dist/Image/generateAspectRatioClass.js +4 -0
- package/dist/Image/index.d.ts +4 -0
- package/dist/Image/index.js +4 -0
- package/dist/ImageSlider/ImageSlider.d.ts +3 -0
- package/dist/ImageSlider/ImageSlider.js +3 -0
- package/dist/ImageSlider/ImageSlider.test.d.ts +4 -0
- package/dist/ImageSlider/ImageSlider.test.js +4 -0
- package/dist/ImageSlider/ImageSliderControls.js +3 -3
- package/dist/ImageSlider/ImageSliderControls.test.d.ts +4 -0
- package/dist/ImageSlider/ImageSliderControls.test.js +4 -0
- package/dist/ImageSlider/ImageSliderItem.test.d.ts +4 -0
- package/dist/ImageSlider/ImageSliderItem.test.js +4 -0
- package/dist/ImageSlider/ImageSliderScroller.test.d.ts +4 -0
- package/dist/ImageSlider/ImageSliderScroller.test.js +4 -0
- package/dist/ImageSlider/ImageSliderThumbnails.test.d.ts +4 -0
- package/dist/ImageSlider/ImageSliderThumbnails.test.js +4 -0
- package/dist/ImageSlider/index.d.ts +4 -0
- package/dist/ImageSlider/index.js +4 -0
- package/dist/InvalidFormAlert/InvalidFormAlert.d.ts +3 -0
- package/dist/InvalidFormAlert/InvalidFormAlert.js +3 -0
- package/dist/InvalidFormAlert/InvalidFormAlert.test.d.ts +4 -0
- package/dist/InvalidFormAlert/InvalidFormAlert.test.js +4 -0
- package/dist/InvalidFormAlert/index.d.ts +4 -0
- package/dist/InvalidFormAlert/index.js +4 -0
- package/dist/InvalidFormAlert/useAddErrorCountToDocumentTitle.d.ts +4 -0
- package/dist/InvalidFormAlert/useAddErrorCountToDocumentTitle.js +4 -0
- package/dist/Label/Label.d.ts +3 -1
- package/dist/Label/Label.js +7 -0
- package/dist/Label/Label.test.d.ts +4 -0
- package/dist/Label/Label.test.js +4 -0
- package/dist/Label/index.d.ts +4 -0
- package/dist/Label/index.js +4 -0
- package/dist/Link/Link.d.ts +3 -0
- package/dist/Link/Link.js +3 -0
- package/dist/Link/Link.test.d.ts +4 -0
- package/dist/Link/Link.test.js +4 -0
- package/dist/Link/index.d.ts +4 -0
- package/dist/Link/index.js +4 -0
- package/dist/LinkList/LinkList.d.ts +3 -0
- package/dist/LinkList/LinkList.js +3 -0
- package/dist/LinkList/LinkList.test.d.ts +4 -0
- package/dist/LinkList/LinkList.test.js +4 -0
- package/dist/LinkList/LinkListLink.js +2 -2
- package/dist/LinkList/LinkListLink.test.d.ts +4 -0
- package/dist/LinkList/LinkListLink.test.js +4 -0
- package/dist/LinkList/index.d.ts +4 -0
- package/dist/LinkList/index.js +4 -0
- package/dist/Logo/Logo.d.ts +3 -0
- package/dist/Logo/Logo.js +3 -0
- package/dist/Logo/Logo.test.d.ts +4 -0
- package/dist/Logo/Logo.test.js +4 -0
- package/dist/Logo/brand/LogoAmsterdam.d.ts +4 -0
- package/dist/Logo/brand/LogoAmsterdam.js +4 -0
- package/dist/Logo/brand/LogoGgdAmsterdam.d.ts +4 -0
- package/dist/Logo/brand/LogoGgdAmsterdam.js +4 -0
- package/dist/Logo/brand/LogoMuseumWeesp.d.ts +4 -0
- package/dist/Logo/brand/LogoMuseumWeesp.js +4 -0
- package/dist/Logo/brand/LogoStadsarchief.d.ts +4 -0
- package/dist/Logo/brand/LogoStadsarchief.js +4 -0
- package/dist/Logo/brand/LogoStadsbankVanLening.d.ts +4 -0
- package/dist/Logo/brand/LogoStadsbankVanLening.js +4 -0
- package/dist/Logo/brand/LogoVgaVerzekeringen.d.ts +4 -0
- package/dist/Logo/brand/LogoVgaVerzekeringen.js +4 -0
- package/dist/Logo/brand/index.d.ts +4 -0
- package/dist/Logo/brand/index.js +4 -0
- package/dist/Logo/index.d.ts +4 -0
- package/dist/Logo/index.js +4 -0
- package/dist/Mark/Mark.d.ts +3 -0
- package/dist/Mark/Mark.js +3 -0
- package/dist/Mark/Mark.test.d.ts +4 -0
- package/dist/Mark/Mark.test.js +4 -0
- package/dist/Mark/index.d.ts +4 -0
- package/dist/Mark/index.js +4 -0
- package/dist/OrderedList/OrderedList.d.ts +3 -0
- package/dist/OrderedList/OrderedList.js +3 -0
- package/dist/OrderedList/OrderedList.test.d.ts +4 -0
- package/dist/OrderedList/OrderedList.test.js +4 -0
- package/dist/OrderedList/OrderedListItem.test.d.ts +4 -0
- package/dist/OrderedList/OrderedListItem.test.js +4 -0
- package/dist/OrderedList/index.d.ts +4 -0
- package/dist/OrderedList/index.js +4 -0
- package/dist/Overlap/Overlap.d.ts +3 -0
- package/dist/Overlap/Overlap.js +3 -0
- package/dist/Overlap/Overlap.test.d.ts +4 -0
- package/dist/Overlap/Overlap.test.js +4 -0
- package/dist/Overlap/index.d.ts +4 -0
- package/dist/Overlap/index.js +4 -0
- package/dist/Page/Page.d.ts +3 -0
- package/dist/Page/Page.js +3 -0
- package/dist/Page/Page.test.d.ts +4 -0
- package/dist/Page/Page.test.js +4 -0
- package/dist/Page/index.d.ts +4 -0
- package/dist/Page/index.js +4 -0
- package/dist/PageFooter/PageFooter.d.ts +3 -0
- package/dist/PageFooter/PageFooter.js +3 -0
- package/dist/PageFooter/PageFooter.test.d.ts +4 -0
- package/dist/PageFooter/PageFooter.test.js +4 -0
- package/dist/PageFooter/PageFooterMenu.test.d.ts +4 -0
- package/dist/PageFooter/PageFooterMenu.test.js +4 -0
- package/dist/PageFooter/PageFooterMenuLink.test.d.ts +4 -0
- package/dist/PageFooter/PageFooterMenuLink.test.js +4 -0
- package/dist/PageFooter/PageFooterSpotlight.test.d.ts +4 -0
- package/dist/PageFooter/PageFooterSpotlight.test.js +4 -0
- package/dist/PageFooter/index.d.ts +4 -0
- package/dist/PageFooter/index.js +4 -0
- package/dist/PageHeader/PageHeader.d.ts +9 -2
- package/dist/PageHeader/PageHeader.js +6 -2
- package/dist/PageHeader/PageHeader.test.d.ts +4 -0
- package/dist/PageHeader/PageHeader.test.js +10 -0
- package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.d.ts +4 -0
- package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.js +4 -0
- package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.test.d.ts +4 -0
- package/dist/PageHeader/PageHeaderGridCellNarrowWindowOnly.test.js +4 -0
- package/dist/PageHeader/PageHeaderMenuIcon.d.ts +4 -0
- package/dist/PageHeader/PageHeaderMenuLink.d.ts +4 -0
- package/dist/PageHeader/PageHeaderMenuLink.js +4 -0
- package/dist/PageHeader/PageHeaderMenuLink.test.d.ts +4 -0
- package/dist/PageHeader/PageHeaderMenuLink.test.js +4 -0
- package/dist/PageHeader/index.d.ts +4 -0
- package/dist/PageHeader/index.js +4 -0
- package/dist/PageHeader/matchMedia.mock.d.ts +4 -0
- package/dist/PageHeader/matchMedia.mock.js +4 -0
- package/dist/PageHeading/PageHeading.d.ts +3 -0
- package/dist/PageHeading/PageHeading.js +3 -0
- package/dist/PageHeading/PageHeading.test.d.ts +4 -0
- package/dist/PageHeading/PageHeading.test.js +4 -0
- package/dist/PageHeading/index.d.ts +4 -0
- package/dist/PageHeading/index.js +4 -0
- package/dist/Pagination/LinkItem.d.ts +4 -0
- package/dist/Pagination/Pagination.d.ts +3 -0
- package/dist/Pagination/Pagination.js +5 -2
- package/dist/Pagination/Pagination.test.d.ts +4 -0
- package/dist/Pagination/Pagination.test.js +4 -0
- package/dist/Pagination/Spacer.d.ts +4 -0
- package/dist/Pagination/Spacer.js +4 -0
- package/dist/Pagination/getRange.d.ts +4 -0
- package/dist/Pagination/getRange.js +4 -0
- package/dist/Pagination/index.d.ts +4 -0
- package/dist/Pagination/index.js +4 -0
- package/dist/Paragraph/Paragraph.d.ts +3 -1
- package/dist/Paragraph/Paragraph.js +7 -0
- package/dist/Paragraph/Paragraph.test.d.ts +4 -0
- package/dist/Paragraph/Paragraph.test.js +4 -0
- package/dist/Paragraph/index.d.ts +4 -0
- package/dist/Paragraph/index.js +4 -0
- package/dist/PasswordInput/PasswordInput.d.ts +3 -0
- package/dist/PasswordInput/PasswordInput.js +3 -0
- package/dist/PasswordInput/PasswordInput.test.d.ts +4 -0
- package/dist/PasswordInput/PasswordInput.test.js +4 -0
- package/dist/PasswordInput/index.d.ts +4 -0
- package/dist/PasswordInput/index.js +4 -0
- package/dist/Radio/Radio.d.ts +3 -0
- package/dist/Radio/Radio.js +3 -0
- package/dist/Radio/Radio.test.d.ts +4 -0
- package/dist/Radio/Radio.test.js +6 -2
- package/dist/Radio/RadioIcon.d.ts +4 -0
- package/dist/Radio/RadioIcon.js +1 -1
- package/dist/Radio/index.d.ts +4 -0
- package/dist/Radio/index.js +4 -0
- package/dist/Row/Row.d.ts +3 -0
- package/dist/Row/Row.js +3 -0
- package/dist/Row/Row.test.d.ts +4 -0
- package/dist/Row/Row.test.js +4 -0
- package/dist/Row/index.d.ts +4 -0
- package/dist/Row/index.js +4 -0
- package/dist/SearchField/SearchField.d.ts +3 -0
- package/dist/SearchField/SearchField.js +3 -0
- package/dist/SearchField/SearchField.test.d.ts +4 -0
- package/dist/SearchField/SearchField.test.js +4 -0
- package/dist/SearchField/SearchFieldInput.test.d.ts +4 -0
- package/dist/SearchField/SearchFieldInput.test.js +4 -0
- package/dist/SearchField/index.d.ts +4 -0
- package/dist/SearchField/index.js +4 -0
- package/dist/Select/Select.d.ts +3 -0
- package/dist/Select/Select.js +3 -0
- package/dist/Select/Select.test.d.ts +4 -0
- package/dist/Select/Select.test.js +4 -0
- package/dist/Select/SelectOption.test.d.ts +4 -0
- package/dist/Select/SelectOption.test.js +4 -0
- package/dist/Select/SelectOptionGroup.test.d.ts +4 -0
- package/dist/Select/SelectOptionGroup.test.js +4 -0
- package/dist/Select/index.d.ts +4 -0
- package/dist/Select/index.js +4 -0
- package/dist/SkipLink/SkipLink.d.ts +3 -0
- package/dist/SkipLink/SkipLink.js +3 -0
- package/dist/SkipLink/SkipLink.test.d.ts +4 -0
- package/dist/SkipLink/SkipLink.test.js +4 -0
- package/dist/SkipLink/index.d.ts +4 -0
- package/dist/SkipLink/index.js +4 -0
- package/dist/Spotlight/Spotlight.d.ts +3 -0
- package/dist/Spotlight/Spotlight.js +3 -0
- package/dist/Spotlight/Spotlight.test.d.ts +4 -0
- package/dist/Spotlight/Spotlight.test.js +4 -0
- package/dist/Spotlight/index.d.ts +4 -0
- package/dist/Spotlight/index.js +4 -0
- package/dist/StandaloneLink/StandaloneLink.d.ts +3 -0
- package/dist/StandaloneLink/StandaloneLink.js +3 -0
- package/dist/StandaloneLink/StandaloneLink.test.d.ts +4 -0
- package/dist/StandaloneLink/StandaloneLink.test.js +4 -0
- package/dist/StandaloneLink/index.d.ts +4 -0
- package/dist/StandaloneLink/index.js +4 -0
- package/dist/Switch/Switch.d.ts +3 -0
- package/dist/Switch/Switch.js +3 -0
- package/dist/Switch/Switch.test.d.ts +4 -0
- package/dist/Switch/Switch.test.js +4 -0
- package/dist/Switch/index.d.ts +4 -0
- package/dist/Switch/index.js +4 -0
- package/dist/Table/Table.d.ts +3 -0
- package/dist/Table/Table.js +3 -0
- package/dist/Table/Table.test.d.ts +4 -0
- package/dist/Table/Table.test.js +4 -0
- package/dist/Table/TableBody.test.d.ts +4 -0
- package/dist/Table/TableBody.test.js +4 -0
- package/dist/Table/TableCaption.d.ts +1 -2
- package/dist/Table/TableCaption.js +4 -0
- package/dist/Table/TableCaption.test.d.ts +4 -0
- package/dist/Table/TableCaption.test.js +4 -0
- package/dist/Table/TableCell.test.d.ts +4 -0
- package/dist/Table/TableCell.test.js +4 -0
- package/dist/Table/TableFooter.test.d.ts +4 -0
- package/dist/Table/TableFooter.test.js +4 -0
- package/dist/Table/TableHeader.test.d.ts +4 -0
- package/dist/Table/TableHeader.test.js +4 -0
- package/dist/Table/TableHeaderCell.test.d.ts +4 -0
- package/dist/Table/TableHeaderCell.test.js +4 -0
- package/dist/Table/TableRow.test.d.ts +4 -0
- package/dist/Table/TableRow.test.js +4 -0
- package/dist/Table/index.d.ts +4 -0
- package/dist/Table/index.js +4 -0
- package/dist/TableOfContents/TableOfContents.d.ts +3 -0
- package/dist/TableOfContents/TableOfContents.js +3 -0
- package/dist/TableOfContents/TableOfContents.test.d.ts +4 -0
- package/dist/TableOfContents/TableOfContents.test.js +4 -0
- package/dist/TableOfContents/TableOfContentsLink.test.d.ts +4 -0
- package/dist/TableOfContents/TableOfContentsLink.test.js +4 -0
- package/dist/TableOfContents/TableOfContentsList.test.d.ts +4 -0
- package/dist/TableOfContents/TableOfContentsList.test.js +4 -0
- package/dist/TableOfContents/index.d.ts +4 -0
- package/dist/TableOfContents/index.js +4 -0
- package/dist/Tabs/Tabs.d.ts +3 -0
- package/dist/Tabs/Tabs.js +5 -1
- package/dist/Tabs/Tabs.test.d.ts +4 -0
- package/dist/Tabs/Tabs.test.js +4 -0
- package/dist/Tabs/TabsButton.js +3 -0
- package/dist/Tabs/TabsButton.test.d.ts +4 -0
- package/dist/Tabs/TabsButton.test.js +14 -0
- package/dist/Tabs/TabsList.test.d.ts +4 -0
- package/dist/Tabs/TabsList.test.js +4 -0
- package/dist/Tabs/TabsPanel.test.d.ts +4 -0
- package/dist/Tabs/TabsPanel.test.js +4 -0
- package/dist/Tabs/index.d.ts +4 -0
- package/dist/Tabs/index.js +4 -0
- package/dist/TextArea/TextArea.d.ts +3 -0
- package/dist/TextArea/TextArea.js +3 -0
- package/dist/TextArea/TextArea.test.d.ts +4 -0
- package/dist/TextArea/TextArea.test.js +4 -0
- package/dist/TextArea/index.d.ts +4 -0
- package/dist/TextArea/index.js +4 -0
- package/dist/TextInput/TextInput.d.ts +3 -0
- package/dist/TextInput/TextInput.js +3 -0
- package/dist/TextInput/TextInput.test.d.ts +4 -0
- package/dist/TextInput/TextInput.test.js +4 -0
- package/dist/TextInput/index.d.ts +4 -0
- package/dist/TextInput/index.js +4 -0
- package/dist/TimeInput/TimeInput.d.ts +3 -0
- package/dist/TimeInput/TimeInput.js +3 -0
- package/dist/TimeInput/TimeInput.test.d.ts +4 -0
- package/dist/TimeInput/TimeInput.test.js +4 -0
- package/dist/TimeInput/index.d.ts +4 -0
- package/dist/TimeInput/index.js +4 -0
- package/dist/UnorderedList/UnorderedList.d.ts +3 -0
- package/dist/UnorderedList/UnorderedList.js +3 -0
- package/dist/UnorderedList/UnorderedList.test.d.ts +4 -0
- package/dist/UnorderedList/UnorderedList.test.js +4 -0
- package/dist/UnorderedList/UnorderedListItem.test.d.ts +4 -0
- package/dist/UnorderedList/UnorderedListItem.test.js +4 -0
- package/dist/UnorderedList/index.d.ts +4 -0
- package/dist/UnorderedList/index.js +4 -0
- package/dist/common/formatFileSize.test.d.ts +4 -0
- package/dist/common/formatFileSize.test.js +4 -0
- package/dist/common/formatFileType.test.d.ts +4 -0
- package/dist/common/formatFileType.test.js +4 -0
- package/dist/common/types.d.ts +4 -0
- package/dist/common/types.js +4 -0
- package/dist/common/useIsAfterBreakpoint.d.ts +4 -0
- package/dist/common/useIsAfterBreakpoint.js +4 -0
- package/dist/common/useKeyboardFocus.test.d.ts +4 -0
- package/dist/common/useKeyboardFocus.test.js +4 -0
- package/dist/index.cjs.js +350 -91
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +195 -4
- package/dist/index.esm.js +351 -92
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ type HeadingProps = {
|
|
|
9
9
|
/** Uses larger or smaller text without changing its position in the heading hierarchy. */
|
|
10
10
|
size?: 'level-1' | 'level-2' | 'level-3' | 'level-4' | 'level-5' | 'level-6';
|
|
11
11
|
} & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-heading--docs Heading docs at Amsterdam Design System}
|
|
14
|
+
*/
|
|
12
15
|
declare const Heading: react.ForwardRefExoticComponent<{
|
|
13
16
|
/** Changes the text colour for readability on a dark background. */
|
|
14
17
|
color?: "inverse";
|
|
@@ -30,6 +33,9 @@ type AccordionProps = {
|
|
|
30
33
|
/** The HTML element to use for each Accordion Section. */
|
|
31
34
|
sectionAs?: 'div' | 'section';
|
|
32
35
|
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
36
|
+
/**
|
|
37
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-accordion--docs Accordion docs at Amsterdam Design System}
|
|
38
|
+
*/
|
|
33
39
|
declare const Accordion: react.ForwardRefExoticComponent<{
|
|
34
40
|
/**
|
|
35
41
|
* The hierarchical level of this Accordion’s Section Headings within the document.
|
|
@@ -58,6 +64,9 @@ type AccordionSectionProps = {
|
|
|
58
64
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
59
65
|
|
|
60
66
|
type ActionGroupProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-action-group--docs Action Group docs at Amsterdam Design System}
|
|
69
|
+
*/
|
|
61
70
|
declare const ActionGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
62
71
|
children?: react.ReactNode | undefined;
|
|
63
72
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -81,6 +90,9 @@ type AlertProps = {
|
|
|
81
90
|
/** The significance of the message conveyed. */
|
|
82
91
|
severity?: Severity;
|
|
83
92
|
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-feedback-alert--docs Alert docs at Amsterdam Design System}
|
|
95
|
+
*/
|
|
84
96
|
declare const Alert: react.ForwardRefExoticComponent<{
|
|
85
97
|
/** Whether the user can dismiss the Alert. Adds a button to its top right. */
|
|
86
98
|
closeable?: boolean;
|
|
@@ -112,6 +124,9 @@ type AvatarProps = {
|
|
|
112
124
|
/** The text content. Should be the user’s initials. The first two characters will be displayed. */
|
|
113
125
|
label: string;
|
|
114
126
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-feedback-avatar--docs Avatar docs at Amsterdam Design System}
|
|
129
|
+
*/
|
|
115
130
|
declare const Avatar: react.ForwardRefExoticComponent<{
|
|
116
131
|
/** The background colour. */
|
|
117
132
|
color?: AvatarColor;
|
|
@@ -129,6 +144,9 @@ type BadgeProps = {
|
|
|
129
144
|
/** The text content. */
|
|
130
145
|
label: string | number;
|
|
131
146
|
} & HTMLAttributes<HTMLElement>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-feedback-badge--docs Badge docs at Amsterdam Design System}
|
|
149
|
+
*/
|
|
132
150
|
declare const Badge: react.ForwardRefExoticComponent<{
|
|
133
151
|
/** The background colour. */
|
|
134
152
|
color?: BadgeColor;
|
|
@@ -140,6 +158,9 @@ type BlockquoteProps = {
|
|
|
140
158
|
/** Changes the text colour for readability on a dark background. */
|
|
141
159
|
color?: 'inverse';
|
|
142
160
|
} & PropsWithChildren<BlockquoteHTMLAttributes<HTMLQuoteElement>>;
|
|
161
|
+
/**
|
|
162
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-blockquote--docs Blockquote docs at Amsterdam Design System}
|
|
163
|
+
*/
|
|
143
164
|
declare const Blockquote: react.ForwardRefExoticComponent<{
|
|
144
165
|
/** Changes the text colour for readability on a dark background. */
|
|
145
166
|
color?: "inverse";
|
|
@@ -150,6 +171,9 @@ declare const Blockquote: react.ForwardRefExoticComponent<{
|
|
|
150
171
|
type BreadcrumbLinkProps = AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
151
172
|
|
|
152
173
|
type BreadcrumbProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-breadcrumb--docs Breadcrumb docs at Amsterdam Design System}
|
|
176
|
+
*/
|
|
153
177
|
declare const Breadcrumb: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
154
178
|
children?: react.ReactNode | undefined;
|
|
155
179
|
} & react.RefAttributes<HTMLElement>> & {
|
|
@@ -205,6 +229,9 @@ type GridProps = {
|
|
|
205
229
|
/** The amount of space between rows. */
|
|
206
230
|
gapVertical?: GridGap;
|
|
207
231
|
} & (GridPaddingVerticalProp | GridPaddingTopAndBottomProps) & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-grid--docs Grid docs at Amsterdam Design System}
|
|
234
|
+
*/
|
|
208
235
|
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<any>> & {
|
|
209
236
|
Cell: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<unknown>>;
|
|
210
237
|
};
|
|
@@ -245,6 +272,9 @@ type BreakoutRowNumbers = {
|
|
|
245
272
|
wide: BreakoutRowNumber;
|
|
246
273
|
};
|
|
247
274
|
type BreakoutProps = GridProps;
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-breakout--docs Breakout docs at Amsterdam Design System}
|
|
277
|
+
*/
|
|
248
278
|
declare const Breakout: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
249
279
|
Cell: react.ForwardRefExoticComponent<BreakoutCellProps & react.RefAttributes<any>>;
|
|
250
280
|
};
|
|
@@ -261,6 +291,10 @@ type IconProps = {
|
|
|
261
291
|
/** The component rendering the icon’s markup. */
|
|
262
292
|
svg: Function | ReactNode;
|
|
263
293
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-media-icon--docs Icon docs at Amsterdam Design System}
|
|
296
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/brand-assets-icons--docs Icons overview at Amsterdam Design System}
|
|
297
|
+
*/
|
|
264
298
|
declare const Icon: react.ForwardRefExoticComponent<{
|
|
265
299
|
/** Changes the icon colour for readability on a dark background. */
|
|
266
300
|
color?: "inverse";
|
|
@@ -295,8 +329,15 @@ type ButtonProps = {
|
|
|
295
329
|
/** The level of prominence. Use a primary button only once per page or section. */
|
|
296
330
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
297
331
|
} & (IconButtonProps$1 | TextButtonProps) & PropsWithChildren<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
332
|
+
/**
|
|
333
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-buttons-button--docs Button docs at Amsterdam Design System}
|
|
334
|
+
*/
|
|
298
335
|
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
299
336
|
|
|
337
|
+
/**
|
|
338
|
+
* @license EUPL-1.2+
|
|
339
|
+
* Copyright Gemeente Amsterdam
|
|
340
|
+
*/
|
|
300
341
|
declare const aspectRatioOptions: readonly ["9:16", "3:4", "1:1", "4:3", "16:9", "16:5"];
|
|
301
342
|
type AspectRatioProps = {
|
|
302
343
|
/** The aspect ratio to display media content in. */
|
|
@@ -310,6 +351,9 @@ declare const mainAlignOptions: readonly ["center", "end", "between", "around",
|
|
|
310
351
|
type MainAlign = (typeof mainAlignOptions)[number];
|
|
311
352
|
|
|
312
353
|
type CardProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
354
|
+
/**
|
|
355
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-card--docs Card docs at Amsterdam Design System}
|
|
356
|
+
*/
|
|
313
357
|
declare const Card: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
314
358
|
children?: react.ReactNode | undefined;
|
|
315
359
|
} & react.RefAttributes<HTMLElement>> & {
|
|
@@ -346,6 +390,9 @@ type CharacterCountProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
346
390
|
/** The maximum length of the field’s value. */
|
|
347
391
|
maxLength: number;
|
|
348
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-character-count--docs Character Count docs at Amsterdam Design System}
|
|
395
|
+
*/
|
|
349
396
|
declare const CharacterCount: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
350
397
|
/** The current length of the field’s value. */
|
|
351
398
|
length: number;
|
|
@@ -354,18 +401,25 @@ declare const CharacterCount: react.ForwardRefExoticComponent<HTMLAttributes<HTM
|
|
|
354
401
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
355
402
|
|
|
356
403
|
type CheckboxProps = {
|
|
404
|
+
/** An icon to display instead of the default icon. */
|
|
405
|
+
icon?: ReactNode;
|
|
357
406
|
/** Allows being neither checked nor unchecked. */
|
|
358
407
|
indeterminate?: boolean;
|
|
359
408
|
/** Whether the value fails a validation rule. */
|
|
360
409
|
invalid?: boolean;
|
|
361
410
|
} & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-checkbox--docs Checkbox docs at Amsterdam Design System}
|
|
413
|
+
*/
|
|
362
414
|
declare const Checkbox: react.ForwardRefExoticComponent<{
|
|
415
|
+
/** An icon to display instead of the default icon. */
|
|
416
|
+
icon?: ReactNode;
|
|
363
417
|
/** Allows being neither checked nor unchecked. */
|
|
364
418
|
indeterminate?: boolean;
|
|
365
419
|
/** Whether the value fails a validation rule. */
|
|
366
420
|
invalid?: boolean;
|
|
367
421
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, "aria-invalid" | "type"> & {
|
|
368
|
-
children?:
|
|
422
|
+
children?: ReactNode | undefined;
|
|
369
423
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
370
424
|
|
|
371
425
|
declare const columnTags: readonly ["article", "div", "section"];
|
|
@@ -394,6 +448,9 @@ type ColumnProps = {
|
|
|
394
448
|
*/
|
|
395
449
|
gap?: ColumnGap;
|
|
396
450
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
451
|
+
/**
|
|
452
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-column--docs Column docs at Amsterdam Design System}
|
|
453
|
+
*/
|
|
397
454
|
declare const Column: react.ForwardRefExoticComponent<{
|
|
398
455
|
/**
|
|
399
456
|
* The vertical alignment of the items in the column.
|
|
@@ -427,6 +484,9 @@ type DateInputProps = {
|
|
|
427
484
|
/** The kind of data that the user should provide. */
|
|
428
485
|
type?: DateInputType;
|
|
429
486
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>;
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-date-input--docs Date Input docs at Amsterdam Design System}
|
|
489
|
+
*/
|
|
430
490
|
declare const DateInput: react.ForwardRefExoticComponent<{
|
|
431
491
|
/** Whether the value fails a validation rule. */
|
|
432
492
|
invalid?: boolean;
|
|
@@ -441,6 +501,9 @@ type DescriptionListProps = {
|
|
|
441
501
|
color?: 'inverse';
|
|
442
502
|
termsWidth?: DescriptionListTermsWidth;
|
|
443
503
|
} & PropsWithChildren<HTMLAttributes<HTMLDListElement>>;
|
|
504
|
+
/**
|
|
505
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-description-list--docs Description List docs at Amsterdam Design System}
|
|
506
|
+
*/
|
|
444
507
|
declare const DescriptionList: react.ForwardRefExoticComponent<{
|
|
445
508
|
/** Changes the text colour for readability on a dark background. */
|
|
446
509
|
color?: "inverse";
|
|
@@ -471,6 +534,9 @@ type DialogProps = {
|
|
|
471
534
|
/** The text for the Heading. */
|
|
472
535
|
heading: string;
|
|
473
536
|
} & PropsWithChildren<DialogHTMLAttributes<HTMLDialogElement>>;
|
|
537
|
+
/**
|
|
538
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-dialog--docs Dialog docs at Amsterdam Design System}
|
|
539
|
+
*/
|
|
474
540
|
declare const Dialog: react.ForwardRefExoticComponent<{
|
|
475
541
|
/** The label for the button that dismisses the Dialog. */
|
|
476
542
|
closeButtonLabel?: string;
|
|
@@ -491,6 +557,9 @@ type ErrorMessageProps = {
|
|
|
491
557
|
/** An accessible phrase that screen readers announce before the error message. Should translate to something like ‘input error’. */
|
|
492
558
|
prefix?: string;
|
|
493
559
|
} & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
|
|
560
|
+
/**
|
|
561
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-error-message--docs Error Message docs at Amsterdam Design System}
|
|
562
|
+
*/
|
|
494
563
|
declare const ErrorMessage: react.ForwardRefExoticComponent<{
|
|
495
564
|
/** An icon to display instead of the default icon. */
|
|
496
565
|
icon?: Function;
|
|
@@ -504,6 +573,9 @@ type FieldProps = {
|
|
|
504
573
|
/** Whether the field has an input with a validation error */
|
|
505
574
|
invalid?: boolean;
|
|
506
575
|
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
576
|
+
/**
|
|
577
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-field--docs Field docs at Amsterdam Design System}
|
|
578
|
+
*/
|
|
507
579
|
declare const Field: react.ForwardRefExoticComponent<{
|
|
508
580
|
/** Whether the field has an input with a validation error */
|
|
509
581
|
invalid?: boolean;
|
|
@@ -528,6 +600,9 @@ type FieldSetProps = PropsWithChildren<HTMLAttributes<HTMLFieldSetElement>> & {
|
|
|
528
600
|
/** The text for the caption. */
|
|
529
601
|
legend: string;
|
|
530
602
|
} & HintProps;
|
|
603
|
+
/**
|
|
604
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-field-set--docs Field Set docs at Amsterdam Design System}
|
|
605
|
+
*/
|
|
531
606
|
declare const FieldSet: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFieldSetElement> & {
|
|
532
607
|
children?: react.ReactNode | undefined;
|
|
533
608
|
} & {
|
|
@@ -541,6 +616,9 @@ declare const FieldSet: react.ForwardRefExoticComponent<HTMLAttributes<HTMLField
|
|
|
541
616
|
} & react.RefAttributes<HTMLFieldSetElement>>;
|
|
542
617
|
|
|
543
618
|
type FigureProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
619
|
+
/**
|
|
620
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-media-figure--docs Figure docs at Amsterdam Design System}
|
|
621
|
+
*/
|
|
544
622
|
declare const Figure: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
545
623
|
children?: react.ReactNode | undefined;
|
|
546
624
|
} & react.RefAttributes<HTMLElement>> & {
|
|
@@ -552,9 +630,15 @@ declare const Figure: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement
|
|
|
552
630
|
};
|
|
553
631
|
|
|
554
632
|
type FileInputProps = InputHTMLAttributes<HTMLInputElement>;
|
|
633
|
+
/**
|
|
634
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-file-input--docs File Input docs at Amsterdam Design System}
|
|
635
|
+
*/
|
|
555
636
|
declare const FileInput: react.ForwardRefExoticComponent<FileInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
556
637
|
|
|
557
638
|
type FileListProps = {} & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
639
|
+
/**
|
|
640
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-file-list--docs File List docs at Amsterdam Design System}
|
|
641
|
+
*/
|
|
558
642
|
declare const FileList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
559
643
|
children?: react.ReactNode | undefined;
|
|
560
644
|
} & react.RefAttributes<HTMLOListElement>> & {
|
|
@@ -569,17 +653,20 @@ type IconButtonProps = {
|
|
|
569
653
|
color?: 'contrast' | 'inverse';
|
|
570
654
|
/** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
|
|
571
655
|
label: string;
|
|
572
|
-
/** The size of the icon. */
|
|
656
|
+
/** The size of the icon. Match it to the text that the Icon Buttons aligns with. */
|
|
573
657
|
size?: IconProps['size'];
|
|
574
658
|
/** The component rendering the icon’s markup. */
|
|
575
659
|
svg?: IconProps['svg'];
|
|
576
660
|
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
661
|
+
/**
|
|
662
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-buttons-icon-button--docs Icon Button docs at Amsterdam Design System}
|
|
663
|
+
*/
|
|
577
664
|
declare const IconButton: react.ForwardRefExoticComponent<{
|
|
578
665
|
/** Changes the text colour for readability on a light or dark background. */
|
|
579
666
|
color?: "contrast" | "inverse";
|
|
580
667
|
/** The accessible text for the button. Will be announced by screen readers. Should describe the button’s action. */
|
|
581
668
|
label: string;
|
|
582
|
-
/** The size of the icon. */
|
|
669
|
+
/** The size of the icon. Match it to the text that the Icon Buttons aligns with. */
|
|
583
670
|
size?: IconProps["size"];
|
|
584
671
|
/** The component rendering the icon’s markup. */
|
|
585
672
|
svg?: IconProps["svg"];
|
|
@@ -589,11 +676,18 @@ type ImageProps = {
|
|
|
589
676
|
/** A textual description of the content of the image. */
|
|
590
677
|
alt: string;
|
|
591
678
|
} & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'children'>;
|
|
679
|
+
/**
|
|
680
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-media-image--docs Image docs at Amsterdam Design System}
|
|
681
|
+
*/
|
|
592
682
|
declare const Image: react.ForwardRefExoticComponent<{
|
|
593
683
|
/** A textual description of the content of the image. */
|
|
594
684
|
alt: string;
|
|
595
685
|
} & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, "children"> & react.RefAttributes<HTMLImageElement>>;
|
|
596
686
|
|
|
687
|
+
/**
|
|
688
|
+
* @license EUPL-1.2+
|
|
689
|
+
* Copyright Gemeente Amsterdam
|
|
690
|
+
*/
|
|
597
691
|
declare const generateAspectRatioClass: (aspectRatio?: string) => string | undefined;
|
|
598
692
|
|
|
599
693
|
type ImageSliderImageProps = ImageProps;
|
|
@@ -609,6 +703,9 @@ type ImageSliderProps = {
|
|
|
609
703
|
/** The label for the ‘previous’ button */
|
|
610
704
|
previousLabel?: string;
|
|
611
705
|
} & HTMLAttributes<HTMLDivElement>;
|
|
706
|
+
/**
|
|
707
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-media-image-slider--docs Image Slider docs at Amsterdam Design System}
|
|
708
|
+
*/
|
|
612
709
|
declare const ImageSlider: react.ForwardRefExoticComponent<{
|
|
613
710
|
/** Display buttons to navigate to the previous or next image. */
|
|
614
711
|
controls?: boolean;
|
|
@@ -666,6 +763,9 @@ type InvalidFormAlertProps = {
|
|
|
666
763
|
**/
|
|
667
764
|
headingLevel: HeadingProps['level'];
|
|
668
765
|
} & HTMLAttributes<HTMLDivElement>;
|
|
766
|
+
/**
|
|
767
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-invalid-form-alert--docs Invalid Form Alert docs at Amsterdam Design System}
|
|
768
|
+
*/
|
|
669
769
|
declare const InvalidFormAlert: react.ForwardRefExoticComponent<{
|
|
670
770
|
/**
|
|
671
771
|
* The text following the error count.
|
|
@@ -696,6 +796,9 @@ declare const InvalidFormAlert: react.ForwardRefExoticComponent<{
|
|
|
696
796
|
headingLevel: HeadingProps["level"];
|
|
697
797
|
} & HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
698
798
|
|
|
799
|
+
/**
|
|
800
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-label--docs Label docs at Amsterdam Design System}
|
|
801
|
+
*/
|
|
699
802
|
declare const Label: react.ForwardRefExoticComponent<LabelHTMLAttributes<HTMLLabelElement> & {
|
|
700
803
|
children?: react.ReactNode | undefined;
|
|
701
804
|
} & react.HTMLAttributes<HTMLElement> & {
|
|
@@ -707,12 +810,18 @@ type LinkProps = {
|
|
|
707
810
|
/** Changes the text colour for readability on a light or dark background. */
|
|
708
811
|
color?: 'contrast' | 'inverse';
|
|
709
812
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
|
|
813
|
+
/**
|
|
814
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-link--docs Link docs at Amsterdam Design System}
|
|
815
|
+
*/
|
|
710
816
|
declare const Link: react.ForwardRefExoticComponent<{
|
|
711
817
|
/** Changes the text colour for readability on a light or dark background. */
|
|
712
818
|
color?: "contrast" | "inverse";
|
|
713
819
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
714
820
|
|
|
715
821
|
type LinkListProps = PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
822
|
+
/**
|
|
823
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-link-list--docs Link List docs at Amsterdam Design System}
|
|
824
|
+
*/
|
|
716
825
|
declare const LinkList: react.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
717
826
|
children?: react.ReactNode | undefined;
|
|
718
827
|
} & react.RefAttributes<HTMLUListElement>> & {
|
|
@@ -744,9 +853,15 @@ type LogoProps = {
|
|
|
744
853
|
/** The name of the brand for which to display the logo. */
|
|
745
854
|
brand?: LogoBrand;
|
|
746
855
|
} & SVGProps<SVGSVGElement>;
|
|
856
|
+
/**
|
|
857
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-media-logo--docs Logo docs at Amsterdam Design System}
|
|
858
|
+
*/
|
|
747
859
|
declare const Logo: ForwardRefExoticComponent<Omit<LogoProps, "ref"> & RefAttributes<SVGSVGElement>>;
|
|
748
860
|
|
|
749
861
|
type MarkProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
862
|
+
/**
|
|
863
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-mark--docs Mark docs at Amsterdam Design System}
|
|
864
|
+
*/
|
|
750
865
|
declare const Mark: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
751
866
|
children?: react.ReactNode | undefined;
|
|
752
867
|
} & react.RefAttributes<HTMLElement>>;
|
|
@@ -759,6 +874,9 @@ type OrderedListProps = {
|
|
|
759
874
|
/** The size of the text. */
|
|
760
875
|
size?: 'small';
|
|
761
876
|
} & PropsWithChildren<OlHTMLAttributes<HTMLOListElement>>;
|
|
877
|
+
/**
|
|
878
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-ordered-list--docs Ordered List docs at Amsterdam Design System}
|
|
879
|
+
*/
|
|
762
880
|
declare const OrderedList: react.ForwardRefExoticComponent<{
|
|
763
881
|
/** Changes the text colour for readability on a dark background. */
|
|
764
882
|
color?: "inverse";
|
|
@@ -777,16 +895,25 @@ declare const OrderedList: react.ForwardRefExoticComponent<{
|
|
|
777
895
|
type OrderedListItemProps = PropsWithChildren<LiHTMLAttributes<HTMLLIElement>>;
|
|
778
896
|
|
|
779
897
|
type OverlapProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
898
|
+
/**
|
|
899
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-overlap--docs Overlap docs at Amsterdam Design System}
|
|
900
|
+
*/
|
|
780
901
|
declare const Overlap: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
781
902
|
children?: react.ReactNode | undefined;
|
|
782
903
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
783
904
|
|
|
784
905
|
type PageProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
906
|
+
/**
|
|
907
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-page--docs Page docs at Amsterdam Design System}
|
|
908
|
+
*/
|
|
785
909
|
declare const Page: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
786
910
|
children?: react.ReactNode | undefined;
|
|
787
911
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
788
912
|
|
|
789
913
|
type PageFooterProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
914
|
+
/**
|
|
915
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-page-footer--docs Page Footer docs at Amsterdam Design System}
|
|
916
|
+
*/
|
|
790
917
|
declare const PageFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
|
|
791
918
|
children?: react.ReactNode | undefined;
|
|
792
919
|
} & react.RefAttributes<HTMLElement>> & {
|
|
@@ -814,6 +941,8 @@ type PageHeaderProps = {
|
|
|
814
941
|
logoBrand?: LogoBrand;
|
|
815
942
|
/** The url for the link on the logo. */
|
|
816
943
|
logoLink?: string;
|
|
944
|
+
/** The React component to use for the logo link. */
|
|
945
|
+
logoLinkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
817
946
|
/** The accessible text for the link on the logo. */
|
|
818
947
|
logoLinkTitle?: string;
|
|
819
948
|
/** The text for the menu button. */
|
|
@@ -825,6 +954,9 @@ type PageHeaderProps = {
|
|
|
825
954
|
/** Whether the menu button is visible on wide screens. */
|
|
826
955
|
noMenuButtonOnWideWindow?: boolean;
|
|
827
956
|
} & HTMLAttributes<HTMLElement>;
|
|
957
|
+
/**
|
|
958
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-page-header--docs Page Header docs at Amsterdam Design System}
|
|
959
|
+
*/
|
|
828
960
|
declare const PageHeader: react.ForwardRefExoticComponent<{
|
|
829
961
|
/** The name of the application. */
|
|
830
962
|
brandName?: string;
|
|
@@ -832,6 +964,8 @@ declare const PageHeader: react.ForwardRefExoticComponent<{
|
|
|
832
964
|
logoBrand?: LogoBrand;
|
|
833
965
|
/** The url for the link on the logo. */
|
|
834
966
|
logoLink?: string;
|
|
967
|
+
/** The React component to use for the logo link. */
|
|
968
|
+
logoLinkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
835
969
|
/** The accessible text for the link on the logo. */
|
|
836
970
|
logoLinkTitle?: string;
|
|
837
971
|
/** The text for the menu button. */
|
|
@@ -846,7 +980,7 @@ declare const PageHeader: react.ForwardRefExoticComponent<{
|
|
|
846
980
|
GridCellNarrowWindowOnly: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<HTMLElement>>;
|
|
847
981
|
MenuLink: react.ForwardRefExoticComponent<{
|
|
848
982
|
fixed?: boolean;
|
|
849
|
-
} &
|
|
983
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
850
984
|
children?: ReactNode | undefined;
|
|
851
985
|
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
852
986
|
};
|
|
@@ -859,6 +993,9 @@ type PageHeadingProps = {
|
|
|
859
993
|
/** Changes the text colour for readability on a dark background. */
|
|
860
994
|
color?: 'inverse';
|
|
861
995
|
} & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
|
|
996
|
+
/**
|
|
997
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-page-heading--docs Page Heading docs at Amsterdam Design System}
|
|
998
|
+
*/
|
|
862
999
|
declare const PageHeading: react.ForwardRefExoticComponent<{
|
|
863
1000
|
/** Changes the text colour for readability on a dark background. */
|
|
864
1001
|
color?: "inverse";
|
|
@@ -893,6 +1030,9 @@ type PaginationProps = {
|
|
|
893
1030
|
*/
|
|
894
1031
|
visuallyHiddenLabelId?: string;
|
|
895
1032
|
} & HTMLAttributes<HTMLElement>;
|
|
1033
|
+
/**
|
|
1034
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-pagination--docs Pagination docs at Amsterdam Design System}
|
|
1035
|
+
*/
|
|
896
1036
|
declare const Pagination: react.ForwardRefExoticComponent<{
|
|
897
1037
|
/** The React component to use for the links. */
|
|
898
1038
|
linkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
@@ -927,6 +1067,9 @@ type ParagraphProps = {
|
|
|
927
1067
|
/** The size of the text. */
|
|
928
1068
|
size?: 'small' | 'large';
|
|
929
1069
|
} & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
|
|
1070
|
+
/**
|
|
1071
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-paragraph--docs Paragraph docs at Amsterdam Design System}
|
|
1072
|
+
*/
|
|
930
1073
|
declare const Paragraph: react.ForwardRefExoticComponent<{
|
|
931
1074
|
/** Changes the text colour for readability on a dark background. */
|
|
932
1075
|
color?: "inverse";
|
|
@@ -940,6 +1083,9 @@ type PasswordInputProps = {
|
|
|
940
1083
|
/** Whether the value fails a validation rule. */
|
|
941
1084
|
invalid?: boolean;
|
|
942
1085
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'autoCapitalize' | 'autoCorrect' | 'spellCheck' | 'type'>;
|
|
1086
|
+
/**
|
|
1087
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-password-input--docs Password Input docs at Amsterdam Design System}
|
|
1088
|
+
*/
|
|
943
1089
|
declare const PasswordInput: react.ForwardRefExoticComponent<{
|
|
944
1090
|
/** Whether the value fails a validation rule. */
|
|
945
1091
|
invalid?: boolean;
|
|
@@ -951,6 +1097,9 @@ type RadioProps = {
|
|
|
951
1097
|
/** Whether the value fails a validation rule. */
|
|
952
1098
|
invalid?: boolean;
|
|
953
1099
|
} & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
|
|
1100
|
+
/**
|
|
1101
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-radio--docs Radio docs at Amsterdam Design System}
|
|
1102
|
+
*/
|
|
954
1103
|
declare const Radio: react.ForwardRefExoticComponent<{
|
|
955
1104
|
/** An icon to display instead of the default icon. */
|
|
956
1105
|
icon?: ReactNode;
|
|
@@ -991,6 +1140,9 @@ type RowProps = {
|
|
|
991
1140
|
*/
|
|
992
1141
|
wrap?: boolean;
|
|
993
1142
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1143
|
+
/**
|
|
1144
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-row--docs Row docs at Amsterdam Design System}
|
|
1145
|
+
*/
|
|
994
1146
|
declare const Row: react.ForwardRefExoticComponent<{
|
|
995
1147
|
/**
|
|
996
1148
|
* The horizontal alignment of the items in the row.
|
|
@@ -1022,6 +1174,9 @@ declare const Row: react.ForwardRefExoticComponent<{
|
|
|
1022
1174
|
} & react.RefAttributes<unknown>>;
|
|
1023
1175
|
|
|
1024
1176
|
type SearchFieldProps = PropsWithChildren<HTMLAttributes<HTMLFormElement>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-search-field--docs Search Field docs at Amsterdam Design System}
|
|
1179
|
+
*/
|
|
1025
1180
|
declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFormElement> & {
|
|
1026
1181
|
children?: react.ReactNode | undefined;
|
|
1027
1182
|
} & react.RefAttributes<HTMLFormElement>> & {
|
|
@@ -1319,6 +1474,9 @@ type SelectProps = {
|
|
|
1319
1474
|
/** Whether the value fails a validation rule. */
|
|
1320
1475
|
invalid?: boolean;
|
|
1321
1476
|
} & PropsWithChildren<Omit<SelectHTMLAttributes<HTMLSelectElement>, 'aria-invalid'>>;
|
|
1477
|
+
/**
|
|
1478
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-select--docs Select docs at Amsterdam Design System}
|
|
1479
|
+
*/
|
|
1322
1480
|
declare const Select: react.ForwardRefExoticComponent<{
|
|
1323
1481
|
/** Whether the value fails a validation rule. */
|
|
1324
1482
|
invalid?: boolean;
|
|
@@ -1334,6 +1492,9 @@ declare const Select: react.ForwardRefExoticComponent<{
|
|
|
1334
1492
|
};
|
|
1335
1493
|
|
|
1336
1494
|
type SkipLinkProps = PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
1495
|
+
/**
|
|
1496
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-skip-link--docs Skip Link docs at Amsterdam Design System}
|
|
1497
|
+
*/
|
|
1337
1498
|
declare const SkipLink: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1338
1499
|
children?: react.ReactNode | undefined;
|
|
1339
1500
|
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1348,6 +1509,9 @@ type SpotlightProps = {
|
|
|
1348
1509
|
/** The background colour. */
|
|
1349
1510
|
color?: SpotlightColor;
|
|
1350
1511
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1512
|
+
/**
|
|
1513
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-spotlight--docs Spotlight docs at Amsterdam Design System}
|
|
1514
|
+
*/
|
|
1351
1515
|
declare const Spotlight: react.ForwardRefExoticComponent<{
|
|
1352
1516
|
/** The HTML element to use. */
|
|
1353
1517
|
as?: SpotlightTag;
|
|
@@ -1363,6 +1527,9 @@ type StandaloneLinkProps = {
|
|
|
1363
1527
|
/** Adds an icon to the link, showing it before the link text. */
|
|
1364
1528
|
icon?: Function;
|
|
1365
1529
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
|
|
1530
|
+
/**
|
|
1531
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-standalone-link--docs Standalone Link docs at Amsterdam Design System}
|
|
1532
|
+
*/
|
|
1366
1533
|
declare const StandaloneLink: react.ForwardRefExoticComponent<{
|
|
1367
1534
|
/** Changes the text colour for readability on a light or dark background. */
|
|
1368
1535
|
color?: "contrast" | "inverse";
|
|
@@ -1371,11 +1538,17 @@ declare const StandaloneLink: react.ForwardRefExoticComponent<{
|
|
|
1371
1538
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
1372
1539
|
|
|
1373
1540
|
type SwitchProps = PropsWithChildren<InputHTMLAttributes<HTMLInputElement>>;
|
|
1541
|
+
/**
|
|
1542
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-switch--docs Switch docs at Amsterdam Design System}
|
|
1543
|
+
*/
|
|
1374
1544
|
declare const Switch: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
1375
1545
|
children?: react.ReactNode | undefined;
|
|
1376
1546
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
1377
1547
|
|
|
1378
1548
|
type TableProps = PropsWithChildren<TableHTMLAttributes<HTMLTableElement>>;
|
|
1549
|
+
/**
|
|
1550
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-table--docs Table docs at Amsterdam Design System}
|
|
1551
|
+
*/
|
|
1379
1552
|
declare const Table: react.ForwardRefExoticComponent<TableHTMLAttributes<HTMLTableElement> & {
|
|
1380
1553
|
children?: react.ReactNode | undefined;
|
|
1381
1554
|
} & react.RefAttributes<HTMLTableElement>> & {
|
|
@@ -1411,6 +1584,9 @@ type TableOfContentsProps = {
|
|
|
1411
1584
|
*/
|
|
1412
1585
|
headingLevel?: HeadingProps['level'];
|
|
1413
1586
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1587
|
+
/**
|
|
1588
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-table-of-contents--docs Table Of Contents docs at Amsterdam Design System}
|
|
1589
|
+
*/
|
|
1414
1590
|
declare const TableOfContents: react.ForwardRefExoticComponent<{
|
|
1415
1591
|
/** The text for the Heading. */
|
|
1416
1592
|
heading?: string;
|
|
@@ -1442,6 +1618,9 @@ type TabsProps = {
|
|
|
1442
1618
|
activeTab?: string;
|
|
1443
1619
|
onTabChange?: (panelId: string) => void;
|
|
1444
1620
|
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
1621
|
+
/**
|
|
1622
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-tabs--docs Tabs docs at Amsterdam Design System}
|
|
1623
|
+
*/
|
|
1445
1624
|
declare const Tabs: react.ForwardRefExoticComponent<{
|
|
1446
1625
|
/** The identifier of the initially active Tab. Corresponds to its Panel `id` value. */
|
|
1447
1626
|
activeTab?: string;
|
|
@@ -1482,6 +1661,9 @@ type TextAreaProps = {
|
|
|
1482
1661
|
/** Allows the user to resize the text box. The default is resizing in both directions. */
|
|
1483
1662
|
resize?: 'none' | 'horizontal' | 'vertical';
|
|
1484
1663
|
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-invalid'>;
|
|
1664
|
+
/**
|
|
1665
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-area--docs Text Area docs at Amsterdam Design System}
|
|
1666
|
+
*/
|
|
1485
1667
|
declare const TextArea: react.ForwardRefExoticComponent<{
|
|
1486
1668
|
/** Whether the value fails a validation rule. */
|
|
1487
1669
|
invalid?: boolean;
|
|
@@ -1497,6 +1679,9 @@ type TextInputProps = {
|
|
|
1497
1679
|
/** The kind of data that the user should provide. */
|
|
1498
1680
|
type?: TextInputType;
|
|
1499
1681
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid'>;
|
|
1682
|
+
/**
|
|
1683
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-input--docs Text Input docs at Amsterdam Design System}
|
|
1684
|
+
*/
|
|
1500
1685
|
declare const TextInput: react.ForwardRefExoticComponent<{
|
|
1501
1686
|
/** Whether the value fails a validation rule. */
|
|
1502
1687
|
invalid?: boolean;
|
|
@@ -1508,6 +1693,9 @@ type TimeInputProps = {
|
|
|
1508
1693
|
/** Whether the value fails a validation rule. */
|
|
1509
1694
|
invalid?: boolean;
|
|
1510
1695
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>;
|
|
1696
|
+
/**
|
|
1697
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-time-input--docs Time Input docs at Amsterdam Design System}
|
|
1698
|
+
*/
|
|
1511
1699
|
declare const TimeInput: react.ForwardRefExoticComponent<{
|
|
1512
1700
|
/** Whether the value fails a validation rule. */
|
|
1513
1701
|
invalid?: boolean;
|
|
@@ -1521,6 +1709,9 @@ type UnorderedListProps = {
|
|
|
1521
1709
|
/** The size of the text. */
|
|
1522
1710
|
size?: 'small';
|
|
1523
1711
|
} & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
1712
|
+
/**
|
|
1713
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-unordered-list--docs Unordered List docs at Amsterdam Design System}
|
|
1714
|
+
*/
|
|
1524
1715
|
declare const UnorderedList: react.ForwardRefExoticComponent<{
|
|
1525
1716
|
/** Changes the text colour for readability on a dark background. */
|
|
1526
1717
|
color?: "inverse";
|