@amsterdam/design-system-react 0.16.0 → 1.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/README.md +0 -13
- 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 +31 -9
- 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 +5 -1
- package/dist/Logo/brand/LogoGgdAmsterdam.d.ts +4 -0
- package/dist/Logo/brand/LogoGgdAmsterdam.js +5 -1
- package/dist/Logo/brand/LogoMuseumWeesp.d.ts +4 -0
- package/dist/Logo/brand/LogoMuseumWeesp.js +5 -1
- package/dist/Logo/brand/LogoStadsarchief.d.ts +4 -0
- package/dist/Logo/brand/LogoStadsarchief.js +5 -1
- package/dist/Logo/brand/LogoStadsbankVanLening.d.ts +4 -0
- package/dist/Logo/brand/LogoStadsbankVanLening.js +5 -1
- package/dist/Logo/brand/LogoVgaVerzekeringen.d.ts +4 -0
- package/dist/Logo/brand/LogoVgaVerzekeringen.js +5 -1
- 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 +13 -2
- package/dist/PageHeader/PageHeader.js +7 -3
- package/dist/PageHeader/PageHeader.test.d.ts +4 -0
- package/dist/PageHeader/PageHeader.test.js +16 -1
- 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 +395 -111
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +199 -4
- package/dist/index.esm.js +396 -112
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
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>> & {
|
|
@@ -810,10 +937,14 @@ type PageFooterSpotlightProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>
|
|
|
810
937
|
type PageHeaderProps = {
|
|
811
938
|
/** The name of the application. */
|
|
812
939
|
brandName?: string;
|
|
940
|
+
/** The accessible name of the logo. */
|
|
941
|
+
logoAccessibleName?: string;
|
|
813
942
|
/** The name of the brand for which to display the logo. */
|
|
814
943
|
logoBrand?: LogoBrand;
|
|
815
944
|
/** The url for the link on the logo. */
|
|
816
945
|
logoLink?: string;
|
|
946
|
+
/** The React component to use for the logo link. */
|
|
947
|
+
logoLinkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
817
948
|
/** The accessible text for the link on the logo. */
|
|
818
949
|
logoLinkTitle?: string;
|
|
819
950
|
/** The text for the menu button. */
|
|
@@ -825,13 +956,20 @@ type PageHeaderProps = {
|
|
|
825
956
|
/** Whether the menu button is visible on wide screens. */
|
|
826
957
|
noMenuButtonOnWideWindow?: boolean;
|
|
827
958
|
} & HTMLAttributes<HTMLElement>;
|
|
959
|
+
/**
|
|
960
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-page-header--docs Page Header docs at Amsterdam Design System}
|
|
961
|
+
*/
|
|
828
962
|
declare const PageHeader: react.ForwardRefExoticComponent<{
|
|
829
963
|
/** The name of the application. */
|
|
830
964
|
brandName?: string;
|
|
965
|
+
/** The accessible name of the logo. */
|
|
966
|
+
logoAccessibleName?: string;
|
|
831
967
|
/** The name of the brand for which to display the logo. */
|
|
832
968
|
logoBrand?: LogoBrand;
|
|
833
969
|
/** The url for the link on the logo. */
|
|
834
970
|
logoLink?: string;
|
|
971
|
+
/** The React component to use for the logo link. */
|
|
972
|
+
logoLinkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
835
973
|
/** The accessible text for the link on the logo. */
|
|
836
974
|
logoLinkTitle?: string;
|
|
837
975
|
/** The text for the menu button. */
|
|
@@ -846,7 +984,7 @@ declare const PageHeader: react.ForwardRefExoticComponent<{
|
|
|
846
984
|
GridCellNarrowWindowOnly: react.ForwardRefExoticComponent<GridCellProps & react.RefAttributes<HTMLElement>>;
|
|
847
985
|
MenuLink: react.ForwardRefExoticComponent<{
|
|
848
986
|
fixed?: boolean;
|
|
849
|
-
} &
|
|
987
|
+
} & AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
850
988
|
children?: ReactNode | undefined;
|
|
851
989
|
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
852
990
|
};
|
|
@@ -859,6 +997,9 @@ type PageHeadingProps = {
|
|
|
859
997
|
/** Changes the text colour for readability on a dark background. */
|
|
860
998
|
color?: 'inverse';
|
|
861
999
|
} & PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>;
|
|
1000
|
+
/**
|
|
1001
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-page-heading--docs Page Heading docs at Amsterdam Design System}
|
|
1002
|
+
*/
|
|
862
1003
|
declare const PageHeading: react.ForwardRefExoticComponent<{
|
|
863
1004
|
/** Changes the text colour for readability on a dark background. */
|
|
864
1005
|
color?: "inverse";
|
|
@@ -893,6 +1034,9 @@ type PaginationProps = {
|
|
|
893
1034
|
*/
|
|
894
1035
|
visuallyHiddenLabelId?: string;
|
|
895
1036
|
} & HTMLAttributes<HTMLElement>;
|
|
1037
|
+
/**
|
|
1038
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-pagination--docs Pagination docs at Amsterdam Design System}
|
|
1039
|
+
*/
|
|
896
1040
|
declare const Pagination: react.ForwardRefExoticComponent<{
|
|
897
1041
|
/** The React component to use for the links. */
|
|
898
1042
|
linkComponent?: ComponentType<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
@@ -927,6 +1071,9 @@ type ParagraphProps = {
|
|
|
927
1071
|
/** The size of the text. */
|
|
928
1072
|
size?: 'small' | 'large';
|
|
929
1073
|
} & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
|
|
1074
|
+
/**
|
|
1075
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-paragraph--docs Paragraph docs at Amsterdam Design System}
|
|
1076
|
+
*/
|
|
930
1077
|
declare const Paragraph: react.ForwardRefExoticComponent<{
|
|
931
1078
|
/** Changes the text colour for readability on a dark background. */
|
|
932
1079
|
color?: "inverse";
|
|
@@ -940,6 +1087,9 @@ type PasswordInputProps = {
|
|
|
940
1087
|
/** Whether the value fails a validation rule. */
|
|
941
1088
|
invalid?: boolean;
|
|
942
1089
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'autoCapitalize' | 'autoCorrect' | 'spellCheck' | 'type'>;
|
|
1090
|
+
/**
|
|
1091
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-password-input--docs Password Input docs at Amsterdam Design System}
|
|
1092
|
+
*/
|
|
943
1093
|
declare const PasswordInput: react.ForwardRefExoticComponent<{
|
|
944
1094
|
/** Whether the value fails a validation rule. */
|
|
945
1095
|
invalid?: boolean;
|
|
@@ -951,6 +1101,9 @@ type RadioProps = {
|
|
|
951
1101
|
/** Whether the value fails a validation rule. */
|
|
952
1102
|
invalid?: boolean;
|
|
953
1103
|
} & PropsWithChildren<Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>>;
|
|
1104
|
+
/**
|
|
1105
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-radio--docs Radio docs at Amsterdam Design System}
|
|
1106
|
+
*/
|
|
954
1107
|
declare const Radio: react.ForwardRefExoticComponent<{
|
|
955
1108
|
/** An icon to display instead of the default icon. */
|
|
956
1109
|
icon?: ReactNode;
|
|
@@ -991,6 +1144,9 @@ type RowProps = {
|
|
|
991
1144
|
*/
|
|
992
1145
|
wrap?: boolean;
|
|
993
1146
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1147
|
+
/**
|
|
1148
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-layout-row--docs Row docs at Amsterdam Design System}
|
|
1149
|
+
*/
|
|
994
1150
|
declare const Row: react.ForwardRefExoticComponent<{
|
|
995
1151
|
/**
|
|
996
1152
|
* The horizontal alignment of the items in the row.
|
|
@@ -1022,6 +1178,9 @@ declare const Row: react.ForwardRefExoticComponent<{
|
|
|
1022
1178
|
} & react.RefAttributes<unknown>>;
|
|
1023
1179
|
|
|
1024
1180
|
type SearchFieldProps = PropsWithChildren<HTMLAttributes<HTMLFormElement>>;
|
|
1181
|
+
/**
|
|
1182
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-search-field--docs Search Field docs at Amsterdam Design System}
|
|
1183
|
+
*/
|
|
1025
1184
|
declare const SearchField: react.ForwardRefExoticComponent<HTMLAttributes<HTMLFormElement> & {
|
|
1026
1185
|
children?: react.ReactNode | undefined;
|
|
1027
1186
|
} & react.RefAttributes<HTMLFormElement>> & {
|
|
@@ -1319,6 +1478,9 @@ type SelectProps = {
|
|
|
1319
1478
|
/** Whether the value fails a validation rule. */
|
|
1320
1479
|
invalid?: boolean;
|
|
1321
1480
|
} & PropsWithChildren<Omit<SelectHTMLAttributes<HTMLSelectElement>, 'aria-invalid'>>;
|
|
1481
|
+
/**
|
|
1482
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-select--docs Select docs at Amsterdam Design System}
|
|
1483
|
+
*/
|
|
1322
1484
|
declare const Select: react.ForwardRefExoticComponent<{
|
|
1323
1485
|
/** Whether the value fails a validation rule. */
|
|
1324
1486
|
invalid?: boolean;
|
|
@@ -1334,6 +1496,9 @@ declare const Select: react.ForwardRefExoticComponent<{
|
|
|
1334
1496
|
};
|
|
1335
1497
|
|
|
1336
1498
|
type SkipLinkProps = PropsWithChildren<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
1499
|
+
/**
|
|
1500
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-skip-link--docs Skip Link docs at Amsterdam Design System}
|
|
1501
|
+
*/
|
|
1337
1502
|
declare const SkipLink: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1338
1503
|
children?: react.ReactNode | undefined;
|
|
1339
1504
|
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1348,6 +1513,9 @@ type SpotlightProps = {
|
|
|
1348
1513
|
/** The background colour. */
|
|
1349
1514
|
color?: SpotlightColor;
|
|
1350
1515
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1516
|
+
/**
|
|
1517
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-spotlight--docs Spotlight docs at Amsterdam Design System}
|
|
1518
|
+
*/
|
|
1351
1519
|
declare const Spotlight: react.ForwardRefExoticComponent<{
|
|
1352
1520
|
/** The HTML element to use. */
|
|
1353
1521
|
as?: SpotlightTag;
|
|
@@ -1363,6 +1531,9 @@ type StandaloneLinkProps = {
|
|
|
1363
1531
|
/** Adds an icon to the link, showing it before the link text. */
|
|
1364
1532
|
icon?: Function;
|
|
1365
1533
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'placeholder'>;
|
|
1534
|
+
/**
|
|
1535
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-standalone-link--docs Standalone Link docs at Amsterdam Design System}
|
|
1536
|
+
*/
|
|
1366
1537
|
declare const StandaloneLink: react.ForwardRefExoticComponent<{
|
|
1367
1538
|
/** Changes the text colour for readability on a light or dark background. */
|
|
1368
1539
|
color?: "contrast" | "inverse";
|
|
@@ -1371,11 +1542,17 @@ declare const StandaloneLink: react.ForwardRefExoticComponent<{
|
|
|
1371
1542
|
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "placeholder"> & react.RefAttributes<HTMLAnchorElement>>;
|
|
1372
1543
|
|
|
1373
1544
|
type SwitchProps = PropsWithChildren<InputHTMLAttributes<HTMLInputElement>>;
|
|
1545
|
+
/**
|
|
1546
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-switch--docs Switch docs at Amsterdam Design System}
|
|
1547
|
+
*/
|
|
1374
1548
|
declare const Switch: react.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
1375
1549
|
children?: react.ReactNode | undefined;
|
|
1376
1550
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
1377
1551
|
|
|
1378
1552
|
type TableProps = PropsWithChildren<TableHTMLAttributes<HTMLTableElement>>;
|
|
1553
|
+
/**
|
|
1554
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-table--docs Table docs at Amsterdam Design System}
|
|
1555
|
+
*/
|
|
1379
1556
|
declare const Table: react.ForwardRefExoticComponent<TableHTMLAttributes<HTMLTableElement> & {
|
|
1380
1557
|
children?: react.ReactNode | undefined;
|
|
1381
1558
|
} & react.RefAttributes<HTMLTableElement>> & {
|
|
@@ -1411,6 +1588,9 @@ type TableOfContentsProps = {
|
|
|
1411
1588
|
*/
|
|
1412
1589
|
headingLevel?: HeadingProps['level'];
|
|
1413
1590
|
} & PropsWithChildren<HTMLAttributes<HTMLElement>>;
|
|
1591
|
+
/**
|
|
1592
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-table-of-contents--docs Table Of Contents docs at Amsterdam Design System}
|
|
1593
|
+
*/
|
|
1414
1594
|
declare const TableOfContents: react.ForwardRefExoticComponent<{
|
|
1415
1595
|
/** The text for the Heading. */
|
|
1416
1596
|
heading?: string;
|
|
@@ -1442,6 +1622,9 @@ type TabsProps = {
|
|
|
1442
1622
|
activeTab?: string;
|
|
1443
1623
|
onTabChange?: (panelId: string) => void;
|
|
1444
1624
|
} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
|
|
1625
|
+
/**
|
|
1626
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-tabs--docs Tabs docs at Amsterdam Design System}
|
|
1627
|
+
*/
|
|
1445
1628
|
declare const Tabs: react.ForwardRefExoticComponent<{
|
|
1446
1629
|
/** The identifier of the initially active Tab. Corresponds to its Panel `id` value. */
|
|
1447
1630
|
activeTab?: string;
|
|
@@ -1482,6 +1665,9 @@ type TextAreaProps = {
|
|
|
1482
1665
|
/** Allows the user to resize the text box. The default is resizing in both directions. */
|
|
1483
1666
|
resize?: 'none' | 'horizontal' | 'vertical';
|
|
1484
1667
|
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-invalid'>;
|
|
1668
|
+
/**
|
|
1669
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-area--docs Text Area docs at Amsterdam Design System}
|
|
1670
|
+
*/
|
|
1485
1671
|
declare const TextArea: react.ForwardRefExoticComponent<{
|
|
1486
1672
|
/** Whether the value fails a validation rule. */
|
|
1487
1673
|
invalid?: boolean;
|
|
@@ -1497,6 +1683,9 @@ type TextInputProps = {
|
|
|
1497
1683
|
/** The kind of data that the user should provide. */
|
|
1498
1684
|
type?: TextInputType;
|
|
1499
1685
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid'>;
|
|
1686
|
+
/**
|
|
1687
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-text-input--docs Text Input docs at Amsterdam Design System}
|
|
1688
|
+
*/
|
|
1500
1689
|
declare const TextInput: react.ForwardRefExoticComponent<{
|
|
1501
1690
|
/** Whether the value fails a validation rule. */
|
|
1502
1691
|
invalid?: boolean;
|
|
@@ -1508,6 +1697,9 @@ type TimeInputProps = {
|
|
|
1508
1697
|
/** Whether the value fails a validation rule. */
|
|
1509
1698
|
invalid?: boolean;
|
|
1510
1699
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-invalid' | 'type'>;
|
|
1700
|
+
/**
|
|
1701
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-time-input--docs Time Input docs at Amsterdam Design System}
|
|
1702
|
+
*/
|
|
1511
1703
|
declare const TimeInput: react.ForwardRefExoticComponent<{
|
|
1512
1704
|
/** Whether the value fails a validation rule. */
|
|
1513
1705
|
invalid?: boolean;
|
|
@@ -1521,6 +1713,9 @@ type UnorderedListProps = {
|
|
|
1521
1713
|
/** The size of the text. */
|
|
1522
1714
|
size?: 'small';
|
|
1523
1715
|
} & PropsWithChildren<HTMLAttributes<HTMLUListElement>>;
|
|
1716
|
+
/**
|
|
1717
|
+
* @see {@link https://designsystem.amsterdam/?path=/docs/components-text-unordered-list--docs Unordered List docs at Amsterdam Design System}
|
|
1718
|
+
*/
|
|
1524
1719
|
declare const UnorderedList: react.ForwardRefExoticComponent<{
|
|
1525
1720
|
/** Changes the text colour for readability on a dark background. */
|
|
1526
1721
|
color?: "inverse";
|