@digigov/react-experimental 2.0.0-rc.2 → 2.0.0-rc.20
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/FloatingButton/index.js +23 -23
- package/FloatingButton/index.js.map +7 -0
- package/Kitchensink/AllComponents/index.js +8 -9
- package/Kitchensink/AllComponents.js.map +7 -0
- package/Kitchensink/KitchensinkByCategory/index.js +47 -32
- package/Kitchensink/KitchensinkByCategory.js.map +7 -0
- package/Kitchensink/KitchensinkByLetter/index.js +26 -18
- package/Kitchensink/KitchensinkByLetter.js.map +7 -0
- package/Kitchensink/KitchensinkComponent/index.js +31 -44
- package/Kitchensink/KitchensinkComponent.js.map +7 -0
- package/Kitchensink/KitchensinkDashboard/index.js +43 -38
- package/Kitchensink/KitchensinkDashboard.js.map +7 -0
- package/Kitchensink/index.js +2 -1
- package/Kitchensink/index.js.map +7 -0
- package/OptionButtonBase/index.js +24 -23
- package/OptionButtonBase/index.js.map +7 -0
- package/OptionButtonSteps/index.js +34 -29
- package/OptionButtonSteps/index.js.map +7 -0
- package/cjs/FloatingButton/index.js +55 -29
- package/cjs/FloatingButton/index.js.map +7 -0
- package/cjs/Kitchensink/AllComponents/index.js +39 -14
- package/cjs/Kitchensink/AllComponents.js.map +7 -0
- package/cjs/Kitchensink/KitchensinkByCategory/index.js +75 -38
- package/cjs/Kitchensink/KitchensinkByCategory.js.map +7 -0
- package/cjs/Kitchensink/KitchensinkByLetter/index.js +58 -24
- package/cjs/Kitchensink/KitchensinkByLetter.js.map +7 -0
- package/cjs/Kitchensink/KitchensinkComponent/index.js +60 -53
- package/cjs/Kitchensink/KitchensinkComponent.js.map +7 -0
- package/cjs/Kitchensink/KitchensinkDashboard/index.js +75 -44
- package/cjs/Kitchensink/KitchensinkDashboard.js.map +7 -0
- package/cjs/Kitchensink/index.js +29 -59
- package/cjs/Kitchensink/index.js.map +7 -0
- package/cjs/OptionButtonBase/index.js +56 -29
- package/cjs/OptionButtonBase/index.js.map +7 -0
- package/cjs/OptionButtonSteps/index.js +66 -35
- package/cjs/OptionButtonSteps/index.js.map +7 -0
- package/cjs/index.js +27 -48
- package/cjs/index.js.map +7 -0
- package/index.js +6 -5
- package/index.js.map +7 -0
- package/libs/ui/src/api/APIErrors.d.ts +1 -0
- package/libs/ui/src/api/APIProvider.d.ts +1 -0
- package/libs/ui/src/api/fetchAPI.d.ts +1 -5
- package/libs/ui/src/api/index.d.ts +1 -2
- package/libs/ui/src/api/utils.d.ts +5 -1
- package/libs/ui/src/app/BannerContainer/BannerContainer.stories.d.ts +1 -1
- package/libs/ui/src/app/BannerContainer/__stories__/CookiesBanner.d.ts +2 -2
- package/libs/ui/src/app/Footer/Footer.stories.d.ts +8 -8
- package/libs/ui/src/app/Footer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/DefaultCopyright.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/FooterAllInclusive.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/FooterWithLink.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/FooterWithLogo.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/FooterWithText.d.ts +2 -2
- package/libs/ui/src/app/Footer/__stories__/YearCopyright.d.ts +2 -2
- package/libs/ui/src/app/Header/Header.stories.d.ts +5 -5
- package/libs/ui/src/app/Header/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Header/__stories__/WithHeaderNavigation.d.ts +2 -2
- package/libs/ui/src/app/Header/__stories__/WithNavigation.d.ts +2 -2
- package/libs/ui/src/app/Header/__stories__/WithServiceName.d.ts +2 -2
- package/libs/ui/src/app/Header/__stories__/WithServiceNameAndLogo.d.ts +2 -2
- package/libs/ui/src/app/Loader/Loader.stories.d.ts +2 -1
- package/libs/ui/src/app/Loader/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Loader/__stories__/FullPageLoader.d.ts +2 -0
- package/libs/ui/src/app/Masthead/Masthead.stories.d.ts +3 -3
- package/libs/ui/src/app/Masthead/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Masthead/__stories__/WithElements.d.ts +2 -2
- package/libs/ui/src/app/Masthead/__stories__/WithLogo.d.ts +2 -2
- package/libs/ui/src/app/Modal/Modal.stories.d.ts +6 -5
- package/libs/ui/src/app/Modal/__stories__/AlertDialog.d.ts +2 -2
- package/libs/ui/src/app/Modal/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/app/Modal/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Modal/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/app/Modal/__stories__/WithHooks.d.ts +2 -2
- package/libs/ui/src/app/Modal/__stories__/WithoutModalGaps.d.ts +3 -0
- package/libs/ui/src/app/Modal/auto.d.ts +4 -4
- package/libs/ui/src/app/Modal/index.d.ts +2 -8
- package/libs/ui/src/app/Modal/index.web.d.ts +8 -0
- package/libs/ui/src/app/NotFound/NotFound.stories.d.ts +1 -1
- package/libs/ui/src/app/NotFound/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/OutdatedBrowserBanner/index.d.ts +0 -1
- package/libs/ui/src/app/Panel/Panel.stories.d.ts +1 -1
- package/libs/ui/src/app/Panel/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +1 -1
- package/libs/ui/src/app/PhaseBannerHeader/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/PhaseBannerHeader/index.d.ts +1 -1
- package/libs/ui/src/app/QrCodeScanner/QrCodeScanner.stories.d.ts +1 -1
- package/libs/ui/src/app/QrCodeScanner/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/QrCodeScanner/index.d.ts +1 -0
- package/libs/ui/src/app/QrCodeViewer/QRCode.stories.d.ts +2 -2
- package/libs/ui/src/app/QrCodeViewer/__stories__/Custom.d.ts +2 -2
- package/libs/ui/src/app/QrCodeViewer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/app/Skeleton/Skeleton.stories.d.ts +17 -0
- package/libs/ui/src/app/Skeleton/__stories__/Button.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/Circular.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/Default.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/NoAnimation.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/Rectangular.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/TextSizes.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/UnderTypography.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/__stories__/WithChildren.d.ts +3 -0
- package/libs/ui/src/app/Skeleton/index.d.ts +3 -0
- package/libs/ui/src/app/ThemeOptions/index.d.ts +1 -1
- package/libs/ui/src/content/Accordion/Accordion.stories.d.ts +4 -4
- package/libs/ui/src/content/Accordion/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/content/Accordion/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Accordion/__stories__/WithHints.d.ts +2 -2
- package/libs/ui/src/content/Accordion/__stories__/WithHook.d.ts +2 -2
- package/libs/ui/src/content/Accordion/auto.d.ts +8 -7
- package/libs/ui/src/content/Accordion/hooks.d.ts +1 -1
- package/libs/ui/src/content/Accordion/index.d.ts +0 -1
- package/libs/ui/src/content/Blockquote/Blockquote.stories.d.ts +2 -2
- package/libs/ui/src/content/Blockquote/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Blockquote/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/content/Card/Card.stories.d.ts +11 -11
- package/libs/ui/src/content/Card/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithClickableContent.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithClickableLink.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithDarkBorder.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithDarkTopBorder.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithDivider.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithGrayBorder.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithGrayTopBorder.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithGroupButton.d.ts +2 -2
- package/libs/ui/src/content/Card/__stories__/WithLink.d.ts +2 -2
- package/libs/ui/src/content/Chip/Chip.stories.d.ts +5 -5
- package/libs/ui/src/content/Chip/__stories__/ClickableChip.d.ts +2 -2
- package/libs/ui/src/content/Chip/__stories__/ClickableDeletableChip.d.ts +2 -2
- package/libs/ui/src/content/Chip/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Chip/__stories__/DeletableChip.d.ts +2 -2
- package/libs/ui/src/content/Chip/__stories__/GroupOfChips.d.ts +2 -2
- package/libs/ui/src/content/Details/Details.stories.d.ts +1 -1
- package/libs/ui/src/content/Details/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/List/List.stories.d.ts +6 -6
- package/libs/ui/src/content/List/__stories__/BulletList.d.ts +2 -2
- package/libs/ui/src/content/List/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/List/__stories__/HorizontalList.d.ts +2 -2
- package/libs/ui/src/content/List/__stories__/NestedBulletList.d.ts +2 -2
- package/libs/ui/src/content/List/__stories__/NumberedList.d.ts +2 -2
- package/libs/ui/src/content/List/__stories__/WithExtraSpace.d.ts +2 -2
- package/libs/ui/src/content/Markdown/Markdown.stories.d.ts +9 -0
- package/libs/ui/src/content/Markdown/__stories__/Default.d.ts +3 -0
- package/libs/ui/src/content/Markdown/index.d.ts +5 -2
- package/libs/ui/src/content/SafeHTML/SafeHTML.stories.d.ts +9 -0
- package/libs/ui/src/content/SafeHTML/__stories__/Default.d.ts +3 -0
- package/libs/ui/src/content/SafeHTML/index.d.ts +1 -1
- package/libs/ui/src/content/StepNav/StepNav.stories.d.ts +5 -5
- package/libs/ui/src/content/StepNav/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/content/StepNav/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/StepNav/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/content/StepNav/__stories__/WithHints.d.ts +2 -2
- package/libs/ui/src/content/StepNav/__stories__/WithHook.d.ts +2 -2
- package/libs/ui/src/content/StepNav/auto.d.ts +7 -7
- package/libs/ui/src/content/StepNav/index.d.ts +0 -1
- package/libs/ui/src/content/SummaryList/SummaryList.stories.d.ts +15 -8
- package/libs/ui/src/content/SummaryList/__stories__/SummaryListExample.d.ts +14 -0
- package/libs/ui/src/content/Table/Table.stories.d.ts +18 -18
- package/libs/ui/src/content/Table/TableFloatingScroll.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/DarkVariant.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/DefinedWidth.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/Densed.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/Full.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/MultipleProps.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/NoData.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/NumericDataType.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/RowColors.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/Stacked.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/TableCaptions.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/VerticalBorders.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/VerticalHeaders.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/WithFloatingScroll.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/WithLoader.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/WithSortFilters.d.ts +2 -2
- package/libs/ui/src/content/Table/__stories__/ZebraProp.d.ts +2 -2
- package/libs/ui/src/content/Table/hooks/useSort.d.ts +1 -1
- package/libs/ui/src/content/Table/index.d.ts +2 -2
- package/libs/ui/src/content/TaskList/TaskList.stories.d.ts +2 -2
- package/libs/ui/src/content/TaskList/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/TaskList/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/content/Timeline/Timeline.stories.d.ts +2 -2
- package/libs/ui/src/content/Timeline/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/content/Timeline/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/feedback/CopyToClipboard/CopyToClipboard.stories.d.ts +3 -3
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Banner.d.ts +2 -2
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/feedback/CopyToClipboard/index.d.ts +1 -1
- package/libs/ui/src/feedback/ErrorSummary/ErrorSummary.stories.d.ts +6 -6
- package/libs/ui/src/feedback/ErrorSummary/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/feedback/ErrorSummary/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +2 -2
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToField.d.ts +2 -2
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToInput.d.ts +2 -2
- package/libs/ui/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -2
- package/libs/ui/src/feedback/NotificationBanner/NotificationBanner.stories.d.ts +3 -3
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Success.d.ts +2 -2
- package/libs/ui/src/feedback/PhaseBanner/PhaseBanner.stories.d.ts +2 -2
- package/libs/ui/src/feedback/PhaseBanner/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/feedback/PhaseBanner/__stories__/Underlined.d.ts +2 -2
- package/libs/ui/src/feedback/WarningText/WarningText.stories.d.ts +3 -3
- package/libs/ui/src/feedback/WarningText/__stories__/AssistiveText.d.ts +2 -2
- package/libs/ui/src/feedback/WarningText/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/feedback/WarningText/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/feedback/WarningText/index.d.ts +1 -0
- package/libs/ui/src/form/AutoComplete/AutoComplete.stories.d.ts +10 -7
- package/libs/ui/src/form/AutoComplete/Status/index.d.ts +4 -2
- package/libs/ui/src/form/AutoComplete/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/__stories__/Multiple.d.ts +3 -0
- package/libs/ui/src/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +3 -0
- package/libs/ui/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +3 -0
- package/libs/ui/src/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +3 -0
- package/libs/ui/src/form/AutoComplete/__stories__/WithAutoSelect.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/__stories__/WithDefaultValue.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/__stories__/WithMinLength.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/__stories__/WithPlaceHolder.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/__stories__/WithShowAllValues.d.ts +2 -2
- package/libs/ui/src/form/AutoComplete/index.d.ts +13 -20
- package/libs/ui/src/form/AutoComplete/utils.d.ts +1 -0
- package/libs/ui/src/form/Button/Button.stories.d.ts +12 -12
- package/libs/ui/src/form/Button/ThemeToggleButton.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Back.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/ButtonLinkButton.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/CallToActionButton.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Disabled.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/GroupingButtons.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Primary.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Secondary.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/ThemeToggle.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/Warning.d.ts +2 -2
- package/libs/ui/src/form/Button/__stories__/WithVariantLink.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/Checkbox.stories.d.ts +10 -10
- package/libs/ui/src/form/Checkbox/__stories__/ConditionalReveal.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/Inline.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/InlineWithDivider.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/MultipleQuestions.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/NoneAnswer.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/NoneAnswerWithError.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/__stories__/WithHint.d.ts +2 -2
- package/libs/ui/src/form/Checkbox/index.d.ts +1 -0
- package/libs/ui/src/form/DateInputContainer/DateInputContainer.stories.d.ts +5 -5
- package/libs/ui/src/form/DateInputContainer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/DateInputContainer/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/DateInputContainer/__stories__/MultipleQuestions.d.ts +2 -2
- package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.d.ts +2 -2
- package/libs/ui/src/form/ErrorMessage/ErrorMessage.stories.d.ts +3 -3
- package/libs/ui/src/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -2
- package/libs/ui/src/form/ErrorMessage/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -2
- package/libs/ui/src/form/FileUpload/FileUpload.stories.d.ts +2 -2
- package/libs/ui/src/form/FileUpload/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/FileUpload/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/RadioContainer.stories.d.ts +10 -10
- package/libs/ui/src/form/RadioContainer/__stories__/ConditionalReveal.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/Inline.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/InlineWithDivider.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/MultipleQuestions.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/NoneAnswer.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/WithHints.d.ts +2 -2
- package/libs/ui/src/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -2
- package/libs/ui/src/form/SelectContainer/SelectContainer.stories.d.ts +4 -4
- package/libs/ui/src/form/SelectContainer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/SelectContainer/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/SelectContainer/__stories__/DisabledInput.d.ts +2 -2
- package/libs/ui/src/form/SelectContainer/__stories__/WithHint.d.ts +2 -2
- package/libs/ui/src/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +4 -4
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithDefaultError.d.ts +2 -2
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.d.ts +2 -2
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.d.ts +2 -2
- package/libs/ui/src/form/TextArea/TextArea.stories.d.ts +8 -8
- package/libs/ui/src/form/TextArea/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/DisabledInput.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/LimitedCharacters.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/MultipleQuestions.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/WithDeclaredRows.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/TextArea/__stories__/WithHint.d.ts +2 -2
- package/libs/ui/src/form/TextInput/TextInput.stories.d.ts +10 -10
- package/libs/ui/src/form/TextInput/__stories__/AskingForNumbers.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/DisabledInput.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/DisabledInputWithValue.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/FixedWidths.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/FluidWidths.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/MultipleQuestions.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/WithErrorMessage.d.ts +2 -2
- package/libs/ui/src/form/TextInput/__stories__/WithHint.d.ts +2 -2
- package/libs/ui/src/govgr/Footer/Copyright.d.ts +1 -0
- package/libs/ui/src/i18n/I18nText.d.ts +1 -1
- package/libs/ui/src/icons/index.d.ts +1 -1
- package/libs/ui/src/layouts/Basic/Basic.stories.d.ts +4 -3
- package/libs/ui/src/layouts/Basic/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +2 -2
- package/libs/ui/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +2 -2
- package/libs/ui/src/layouts/Basic/__stories__/WithBasicLayout.d.ts +3 -0
- package/libs/ui/src/layouts/Grid/Grid.stories.d.ts +3 -3
- package/libs/ui/src/layouts/Grid/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/layouts/Grid/__stories__/Inline.d.ts +2 -2
- package/libs/ui/src/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +2 -2
- package/libs/ui/src/layouts/Screen/Screen.stories.d.ts +4 -4
- package/libs/ui/src/layouts/Screen/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/layouts/Screen/__stories__/ScreenDown.d.ts +2 -2
- package/libs/ui/src/layouts/Screen/__stories__/ScreenUp.d.ts +2 -2
- package/libs/ui/src/layouts/Screen/__stories__/SpecificScreenSize.d.ts +2 -2
- package/libs/ui/src/layouts/Screen/index.d.ts +3 -2
- package/libs/ui/src/layouts/Stack/Stack.stories.d.ts +6 -6
- package/libs/ui/src/layouts/Stack/__stories__/AlignItems.d.ts +2 -2
- package/libs/ui/src/layouts/Stack/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/layouts/Stack/__stories__/JustifyContent.d.ts +2 -2
- package/libs/ui/src/layouts/Stack/__stories__/NoWrap.d.ts +2 -2
- package/libs/ui/src/layouts/Stack/__stories__/Row.d.ts +2 -2
- package/libs/ui/src/layouts/Stack/__stories__/Spacing.d.ts +2 -2
- package/libs/ui/src/navigation/BackLink/BackLink.stories.d.ts +1 -1
- package/libs/ui/src/navigation/BackLink/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/BackToTopLink/BackToTopLink.stories.d.ts +2 -2
- package/libs/ui/src/navigation/BackToTopLink/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/BackToTopLink/__stories__/InMain.d.ts +2 -2
- package/libs/ui/src/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -1
- package/libs/ui/src/navigation/Breadcrumbs/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.d.ts +3 -0
- package/libs/ui/src/navigation/Drawer/Drawer.stories.d.ts +3 -3
- package/libs/ui/src/navigation/Drawer/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/navigation/Drawer/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Drawer/__stories__/WithHook.d.ts +2 -2
- package/libs/ui/src/navigation/Drawer/auto.d.ts +6 -6
- package/libs/ui/src/navigation/Drawer/index.d.ts +0 -1
- package/libs/ui/src/navigation/Dropdown/Dropdown.stories.d.ts +11 -10
- package/libs/ui/src/navigation/Dropdown/__stories__/AlignRight.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/ContentPosition.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/Disabled.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/PlacementTop.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/ScrollableContent.d.ts +3 -0
- package/libs/ui/src/navigation/Dropdown/__stories__/Secondary.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/VariantLink.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/Warning.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/__stories__/WithIcons.d.ts +2 -2
- package/libs/ui/src/navigation/Dropdown/index.d.ts +1 -1
- package/libs/ui/src/navigation/Link/Link.stories.d.ts +7 -6
- package/libs/ui/src/navigation/Link/__stories__/DarkBackground.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/ExternalLink.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/NoUnderline.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/OpensInNewTab.d.ts +2 -2
- package/libs/ui/src/navigation/Link/__stories__/WithProvider.d.ts +3 -0
- package/libs/ui/src/navigation/Link/index.d.ts +2 -3
- package/libs/ui/src/navigation/NavList/NavList.stories.d.ts +9 -8
- package/libs/ui/src/navigation/NavList/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithDrawer.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/NavListWithoutNav.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/UsingHeaderButton.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/UsingNavListAuto.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/Vertical.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/VerticalWithoutDrawer.d.ts +2 -2
- package/libs/ui/src/navigation/NavList/__stories__/WithBadge.d.ts +3 -0
- package/libs/ui/src/navigation/NavList/index.d.ts +2 -1
- package/libs/ui/src/navigation/NavList/types.d.ts +2 -3
- package/libs/ui/src/navigation/Pagination/Pagination.d.ts +39 -0
- package/libs/ui/src/navigation/Pagination/Pagination.stories.d.ts +7 -7
- package/libs/ui/src/navigation/Pagination/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/PaginationSmall.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/WithHook.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/WithInactiveValues.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/__stories__/WithResultsPerPage.d.ts +2 -2
- package/libs/ui/src/navigation/Pagination/auto.d.ts +11 -8
- package/libs/ui/src/navigation/Pagination/hooks.d.ts +1 -1
- package/libs/ui/src/navigation/Pagination/index.d.ts +3 -40
- package/libs/ui/src/navigation/SkipLink/SkipLink.stories.d.ts +1 -1
- package/libs/ui/src/navigation/SkipLink/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Tabs/Tabs.stories.d.ts +4 -3
- package/libs/ui/src/navigation/Tabs/__stories__/Auto.d.ts +2 -2
- package/libs/ui/src/navigation/Tabs/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/navigation/Tabs/__stories__/Dense.d.ts +2 -2
- package/libs/ui/src/navigation/Tabs/__stories__/UsingAccordion.d.ts +3 -0
- package/libs/ui/src/navigation/Tabs/auto.d.ts +6 -5
- package/libs/ui/src/navigation/Tabs/index.d.ts +0 -1
- package/libs/ui/src/registry.d.ts +12 -0
- package/libs/ui/src/typography/CodeBlock/CodeBlock.stories.d.ts +11 -0
- package/libs/ui/src/typography/CodeBlock/__stories__/Default.d.ts +3 -0
- package/libs/ui/src/typography/CodeBlock/__stories__/Highlighted.d.ts +3 -0
- package/libs/ui/src/typography/CodeBlock/__stories__/WithCopyToClipboard.d.ts +3 -0
- package/libs/ui/src/typography/CodeBlock/__stories__/WithPhaseBanner.d.ts +3 -0
- package/libs/ui/src/typography/CodeBlock/index.d.ts +14 -2
- package/libs/ui/src/typography/Heading/Heading.stories.d.ts +1 -1
- package/libs/ui/src/typography/Heading/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/typography/HeadingCaption/HeadingCaption.stories.d.ts +2 -2
- package/libs/ui/src/typography/HeadingCaption/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +2 -2
- package/libs/ui/src/typography/Hint/Hint.stories.d.ts +2 -2
- package/libs/ui/src/typography/Hint/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/typography/Hint/__stories__/FontSizes.d.ts +2 -2
- package/libs/ui/src/typography/NormalText/NormalText.stories.d.ts +4 -4
- package/libs/ui/src/typography/NormalText/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/typography/NormalText/__stories__/FontSizes.d.ts +2 -2
- package/libs/ui/src/typography/NormalText/__stories__/FontWeight.d.ts +2 -2
- package/libs/ui/src/typography/NormalText/__stories__/Variants.d.ts +2 -2
- package/libs/ui/src/typography/Paragraph/Paragraph.stories.d.ts +5 -5
- package/libs/ui/src/typography/Paragraph/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/typography/Paragraph/__stories__/FontSizes.d.ts +2 -2
- package/libs/ui/src/typography/Paragraph/__stories__/FontWeight.d.ts +2 -2
- package/libs/ui/src/typography/Paragraph/__stories__/LeadVariant.d.ts +2 -2
- package/libs/ui/src/typography/Paragraph/__stories__/SmallVariant.d.ts +2 -2
- package/libs/ui/src/utils/Base/index.d.ts +1 -0
- package/libs/ui/src/utils/TestVariant/index.d.ts +7 -0
- package/libs/ui/src/utils/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -1
- package/libs/ui/src/utils/VisuallyHidden/__stories__/Default.d.ts +2 -2
- package/libs/ui/src/utils/hooks/useDebounce.d.ts +1 -1
- package/libs/ui/src/utils/hooks/useKeypress.d.ts +1 -1
- package/libs/ui/src/utils/hooks/useScreen.d.ts +1 -1
- package/libs-ui/react-core/src/Accordion/index.d.ts +1 -1
- package/libs-ui/react-core/src/AccordionControls/index.d.ts +1 -1
- package/libs-ui/react-core/src/AccordionSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/AccordionSectionSummary/index.d.ts +1 -1
- package/libs-ui/react-core/src/AccordionSectionSummaryHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/AdminAside/index.d.ts +3 -3
- package/libs-ui/react-core/src/AdminContainer/index.d.ts +8 -1
- package/libs-ui/react-core/src/AdminHeader/index.d.ts +4 -4
- package/libs-ui/react-core/src/AdminHeaderContent/index.d.ts +3 -3
- package/libs-ui/react-core/src/AdminLayout/index.d.ts +3 -8
- package/libs-ui/react-core/src/AdminMain/index.d.ts +3 -3
- package/libs-ui/react-core/src/AdminTopSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/Aside/index.d.ts +1 -1
- package/libs-ui/react-core/src/AutoCompleteAssistiveHint/index.d.ts +1 -1
- package/libs-ui/react-core/src/AutoCompleteContainer/index.d.ts +22 -0
- package/libs-ui/react-core/src/AutoCompleteInput/index.d.ts +1 -9
- package/libs-ui/react-core/src/AutoCompleteInputTypeahead/index.d.ts +1 -1
- package/libs-ui/react-core/src/AutoCompleteMultipleInput/index.d.ts +9 -0
- package/libs-ui/react-core/src/AutoCompleteMultipleInputContainer/index.d.ts +12 -0
- package/libs-ui/react-core/src/AutoCompleteResultList/index.d.ts +1 -10
- package/libs-ui/react-core/src/AutoCompleteResultListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/AutoCompleteStatus/index.d.ts +2 -2
- package/libs-ui/react-core/src/AutoCompleteStatusContainer/index.d.ts +10 -0
- package/libs-ui/react-core/src/BackLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/BackToTopContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/BackToTopLimit/index.d.ts +1 -1
- package/libs-ui/react-core/src/BackToTopLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/BannerContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/Base/index.d.ts +2 -95
- package/libs-ui/react-core/src/Base/index.web.d.ts +104 -0
- package/libs-ui/react-core/src/Base/utils.d.ts +40 -0
- package/libs-ui/react-core/src/Blockquote/index.d.ts +1 -1
- package/libs-ui/react-core/src/Bottom/index.d.ts +1 -1
- package/libs-ui/react-core/src/BottomInfo/index.d.ts +1 -1
- package/libs-ui/react-core/src/BottomInfoContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/BottomInfoContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/Breadcrumbs/index.d.ts +1 -1
- package/libs-ui/react-core/src/BreadcrumbsList/index.d.ts +1 -1
- package/libs-ui/react-core/src/BreadcrumbsListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/Button/index.d.ts +1 -1
- package/libs-ui/react-core/src/ButtonGroup/index.d.ts +1 -1
- package/libs-ui/react-core/src/ButtonLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/CallToAction/index.d.ts +1 -1
- package/libs-ui/react-core/src/Card/index.d.ts +8 -1
- package/libs-ui/react-core/src/CardAction/index.d.ts +1 -1
- package/libs-ui/react-core/src/CardContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/CardHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/Checkbox/index.d.ts +1 -1
- package/libs-ui/react-core/src/CheckboxConditional/index.d.ts +1 -1
- package/libs-ui/react-core/src/CheckboxItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/CheckboxItemInput/index.d.ts +2 -0
- package/libs-ui/react-core/src/CheckboxItemInput/index.web.d.ts +10 -0
- package/libs-ui/react-core/src/Chip/index.d.ts +1 -1
- package/libs-ui/react-core/src/ChipContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/ChipHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/ChipKeyValue/index.d.ts +1 -1
- package/libs-ui/react-core/src/ChoiceDividerText/index.d.ts +1 -1
- package/libs-ui/react-core/src/CircularProgress/index.d.ts +1 -1
- package/libs-ui/react-core/src/CloseButton/index.d.ts +1 -1
- package/libs-ui/react-core/src/Code/index.d.ts +1 -1
- package/libs-ui/react-core/src/CodeBlockContainer/index.d.ts +10 -0
- package/libs-ui/react-core/src/CodeBlockContent/index.d.ts +10 -0
- package/libs-ui/react-core/src/CodeBlockHeader/index.d.ts +19 -0
- package/libs-ui/react-core/src/Container/index.d.ts +1 -1
- package/libs-ui/react-core/src/CopyToClipboardContainer/index.d.ts +2 -31
- package/libs-ui/react-core/src/CopyToClipboardContainer/index.web.d.ts +31 -0
- package/libs-ui/react-core/src/CopyToClipboardMessage/index.d.ts +2 -18
- package/libs-ui/react-core/src/CopyToClipboardMessage/index.web.d.ts +18 -0
- package/libs-ui/react-core/src/CopyrightContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/DateInputContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/DateInputItem/index.d.ts +2 -26
- package/libs-ui/react-core/src/DateInputItem/index.web.d.ts +26 -0
- package/libs-ui/react-core/src/Details/index.d.ts +2 -10
- package/libs-ui/react-core/src/Details/index.web.d.ts +10 -0
- package/libs-ui/react-core/src/DetailsContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/DetailsSummary/index.d.ts +1 -1
- package/libs-ui/react-core/src/Drawer/index.d.ts +1 -1
- package/libs-ui/react-core/src/DrawerHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/DropdownBase/index.d.ts +1 -1
- package/libs-ui/react-core/src/DropdownButton/index.d.ts +1 -1
- package/libs-ui/react-core/src/DropdownContent/index.d.ts +9 -1
- package/libs-ui/react-core/src/ErrorMessage/index.d.ts +1 -1
- package/libs-ui/react-core/src/ErrorSummary/index.d.ts +1 -1
- package/libs-ui/react-core/src/FieldContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/Fieldset/index.d.ts +1 -1
- package/libs-ui/react-core/src/FieldsetLegend/index.d.ts +1 -1
- package/libs-ui/react-core/src/FileUpload/index.d.ts +1 -1
- package/libs-ui/react-core/src/FileUploadContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/FillableText/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterHeadingContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterOptionsSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterSelectedHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/FilterSelectedSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/Footer/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterContentLogos/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterImage/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterInfo/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterInfoSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterList/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterNavigation/index.d.ts +1 -1
- package/libs-ui/react-core/src/FooterNavigationSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/Form/index.d.ts +1 -1
- package/libs-ui/react-core/src/FullPageBackground/index.d.ts +1 -1
- package/libs-ui/react-core/src/GovGRLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/Grid/index.d.ts +1 -1
- package/libs-ui/react-core/src/Header/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderNavMenuContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderSecondaryLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderSection/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeaderTitle/index.d.ts +1 -1
- package/libs-ui/react-core/src/Heading/index.d.ts +1 -1
- package/libs-ui/react-core/src/HeadingCaption/index.d.ts +1 -1
- package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/Hidden/index.d.ts +1 -1
- package/libs-ui/react-core/src/Hint/index.d.ts +1 -1
- package/libs-ui/react-core/src/ImageLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/ImageLogoSet/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkAllComponents/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkCard/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkCategory/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkContentInfo/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkContentTags/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/KitchenSinkLetterContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/LabelContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/LabelTitle/index.d.ts +1 -1
- package/libs-ui/react-core/src/LabeledText/index.d.ts +1 -1
- package/libs-ui/react-core/src/Layout/index.d.ts +1 -1
- package/libs-ui/react-core/src/LinkBase/index.d.ts +1 -1
- package/libs-ui/react-core/src/List/index.d.ts +1 -1
- package/libs-ui/react-core/src/ListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/LoaderContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/Main/index.d.ts +1 -1
- package/libs-ui/react-core/src/Masthead/index.d.ts +1 -1
- package/libs-ui/react-core/src/MastheadBody/index.d.ts +1 -1
- package/libs-ui/react-core/src/MastheadLogo/index.d.ts +1 -1
- package/libs-ui/react-core/src/ModalAction/index.d.ts +1 -1
- package/libs-ui/react-core/src/ModalContainer/index.d.ts +8 -1
- package/libs-ui/react-core/src/ModalContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/ModalHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/Nav/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavList/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavListItemAction/index.d.ts +13 -1
- package/libs-ui/react-core/src/NavListItemActionContainer/index.d.ts +2 -10
- package/libs-ui/react-core/src/NavListItemActionContainer/index.web.d.ts +10 -0
- package/libs-ui/react-core/src/NavListItemBadge/index.d.ts +15 -0
- package/libs-ui/react-core/src/NavListItemButton/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavListItemLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavMenuContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavMenuContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavMenuContentListBase/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavMenuContentListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/NavMenuTitle/index.d.ts +1 -1
- package/libs-ui/react-core/src/NormalText/index.d.ts +1 -1
- package/libs-ui/react-core/src/NotificationBannerContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +1 -1
- package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/NotificationBannerLink/index.d.ts +2 -11
- package/libs-ui/react-core/src/NotificationBannerLink/index.web.d.ts +11 -0
- package/libs-ui/react-core/src/PageTitleCaption/index.d.ts +1 -1
- package/libs-ui/react-core/src/PageTitleContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/PageTitleHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/Pagination/index.d.ts +1 -1
- package/libs-ui/react-core/src/PaginationLabelContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/PaginationList/index.d.ts +1 -1
- package/libs-ui/react-core/src/PaginationListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/Panel/index.d.ts +1 -1
- package/libs-ui/react-core/src/PanelBody/index.d.ts +1 -1
- package/libs-ui/react-core/src/PanelTitle/index.d.ts +1 -1
- package/libs-ui/react-core/src/Paragraph/index.d.ts +1 -1
- package/libs-ui/react-core/src/PhaseBanner/index.d.ts +1 -1
- package/libs-ui/react-core/src/PhaseBannerHeaderContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +2 -2
- package/libs-ui/react-core/src/PhaseBannerText/index.d.ts +1 -1
- package/libs-ui/react-core/src/RadioConditional/index.d.ts +1 -1
- package/libs-ui/react-core/src/RadioContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/RadioItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/ResultsActionBar/index.d.ts +1 -1
- package/libs-ui/react-core/src/ResultsHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/ResultsHeadingActions/index.d.ts +1 -1
- package/libs-ui/react-core/src/SearchButton/index.d.ts +1 -1
- package/libs-ui/react-core/src/SearchContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/Section/index.d.ts +1 -1
- package/libs-ui/react-core/src/SectionBreak/index.d.ts +1 -1
- package/libs-ui/react-core/src/SelectContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/SelectOption/index.d.ts +1 -1
- package/libs-ui/react-core/src/SingleCharacterInput/index.d.ts +1 -1
- package/libs-ui/react-core/src/SingleCharacterInputs/index.d.ts +1 -1
- package/libs-ui/react-core/src/Skeleton/index.d.ts +49 -0
- package/libs-ui/react-core/src/SkipLink/index.d.ts +1 -1
- package/libs-ui/react-core/src/Stack/index.d.ts +10 -2
- package/libs-ui/react-core/src/StepNav/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordion/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordionContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordionHeadingText/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordionHeadingTitle/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordionSummary/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavAccordionSummaryHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavCircleNumber/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavControls/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavList/index.d.ts +1 -1
- package/libs-ui/react-core/src/StepNavListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/SummaryList/index.d.ts +11 -2
- package/libs-ui/react-core/src/SummaryListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +1 -1
- package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +15 -1
- package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +1 -1
- package/libs-ui/react-core/src/SvgIcon/index.d.ts +1 -1
- package/libs-ui/react-core/src/Table/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableBody/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableCaption/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableDataCell/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableHead/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableHeadCell/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableLoaderBackground/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableNoDataRow/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableRow/index.d.ts +1 -1
- package/libs-ui/react-core/src/TableSortIconContainer/index.d.ts +1 -1
- package/libs-ui/react-core/src/Tabs/index.d.ts +1 -2
- package/libs-ui/react-core/src/TabsHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/TabsList/index.d.ts +1 -1
- package/libs-ui/react-core/src/TabsListItemBase/index.d.ts +1 -1
- package/libs-ui/react-core/src/TabsPanelBase/index.d.ts +1 -1
- package/libs-ui/react-core/src/TaskList/index.d.ts +1 -1
- package/libs-ui/react-core/src/TaskListItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/TaskListItemContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/TaskListItemHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/TaskListItemTag/index.d.ts +1 -1
- package/libs-ui/react-core/src/TextArea/index.d.ts +2 -24
- package/libs-ui/react-core/src/TextArea/index.web.d.ts +24 -0
- package/libs-ui/react-core/src/TextInput/index.d.ts +2 -46
- package/libs-ui/react-core/src/TextInput/index.web.d.ts +46 -0
- package/libs-ui/react-core/src/Timeline/index.d.ts +1 -1
- package/libs-ui/react-core/src/TimelineActions/index.d.ts +1 -1
- package/libs-ui/react-core/src/TimelineContent/index.d.ts +1 -1
- package/libs-ui/react-core/src/TimelineHeading/index.d.ts +1 -1
- package/libs-ui/react-core/src/TimelineItem/index.d.ts +1 -1
- package/libs-ui/react-core/src/Top/index.d.ts +1 -1
- package/libs-ui/react-core/src/Typography/index.d.ts +1 -1
- package/libs-ui/react-core/src/VisuallyHidden/index.d.ts +1 -1
- package/libs-ui/react-core/src/WarningText/index.d.ts +1 -1
- package/libs-ui/react-core/src/WarningTextAssistive/index.d.ts +15 -0
- package/libs-ui/react-experimental/src/FloatingButton/index.d.ts +1 -1
- package/libs-ui/react-experimental/src/Kitchensink/AllComponents.d.ts +2 -2
- package/libs-ui/react-experimental/src/Kitchensink/KitchensinkByCategory.d.ts +1 -1
- package/libs-ui/react-experimental/src/Kitchensink/KitchensinkByLetter.d.ts +2 -2
- package/libs-ui/react-experimental/src/Kitchensink/KitchensinkComponent.d.ts +1 -1
- package/libs-ui/react-experimental/src/Kitchensink/KitchensinkDashboard.d.ts +2 -2
- package/libs-ui/react-experimental/src/OptionButtonBase/index.d.ts +1 -1
- package/libs-ui/react-experimental/src/OptionButtonSteps/index.d.ts +1 -1
- package/libs-ui/react-icons/src/Base/index.d.ts +95 -0
- package/libs-ui/react-icons/src/Icon/index.d.ts +2 -2
- package/libs-ui/react-icons/src/SvgIcon/index.d.ts +37 -0
- package/package.json +7 -10
- package/src/FloatingButton/__snapshots__/index.test.tsx.snap +37 -0
- package/src/FloatingButton/index.test.tsx +4 -4
- package/src/OptionButtonBase/__snapshots__/index.test.tsx.snap +37 -0
- package/src/OptionButtonBase/index.test.tsx +4 -4
- package/src/OptionButtonSteps/__snapshots__/index.test.tsx.snap +84 -0
- package/src/OptionButtonSteps/index.test.tsx +6 -6
- package/FloatingButton/index.test/index.js +0 -19
- package/FloatingButton/index.test/package.json +0 -6
- package/OptionButtonBase/index.test/index.js +0 -19
- package/OptionButtonBase/index.test/package.json +0 -6
- package/OptionButtonSteps/index.test/index.js +0 -32
- package/OptionButtonSteps/index.test/package.json +0 -6
- package/cjs/FloatingButton/index.test/index.js +0 -22
- package/cjs/OptionButtonBase/index.test/index.js +0 -22
- package/cjs/OptionButtonSteps/index.test/index.js +0 -35
- package/libs/ui/src/content/SummaryList/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/SummaryList/__stories__/RowVariations.d.ts +0 -3
- package/libs/ui/src/content/SummaryList/__stories__/WithActions.d.ts +0 -3
- package/libs/ui/src/content/SummaryList/__stories__/WithKeyAndAction.d.ts +0 -3
- package/libs/ui/src/content/SummaryList/__stories__/WithoutActions.d.ts +0 -3
- package/libs/ui/src/content/SummaryList/__stories__/WithoutBorders.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
- package/libs-ui/react-core/src/AutoCompleteStatusWrapper/index.d.ts +0 -10
- package/libs-ui/react-core/src/AutoCompleteWrapper/index.d.ts +0 -22
- package/libs-ui/react-core/src/CodeBlock/index.d.ts +0 -10
|
@@ -1,46 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export interface TextInputProps extends BaseProps<'input'> {
|
|
4
|
-
/**
|
|
5
|
-
* maxWidth is optional.
|
|
6
|
-
* @value '2-char';
|
|
7
|
-
* @value '3-char';
|
|
8
|
-
* @value '4-char';
|
|
9
|
-
* @value '5-char';
|
|
10
|
-
* @value '10-char';
|
|
11
|
-
* @value '20-char';
|
|
12
|
-
*/
|
|
13
|
-
maxWidth?: '2-char' | '3-char' | '4-char' | '5-char' | '10-char' | '20-char';
|
|
14
|
-
/**
|
|
15
|
-
* width is optional.
|
|
16
|
-
* Use width prop to define a custom width in your component.
|
|
17
|
-
* @value '25%';
|
|
18
|
-
* @value '33.3%';
|
|
19
|
-
* @value '50%';
|
|
20
|
-
* @value '66.6%';
|
|
21
|
-
* @value '75%';
|
|
22
|
-
* @value '100%';
|
|
23
|
-
* @value 'full';
|
|
24
|
-
*/
|
|
25
|
-
width?: '25%' | '33.3%' | '50%' | '66.6%' | '75%' | '100%' | 'full';
|
|
26
|
-
/**
|
|
27
|
-
* error is optional. The default value is false.
|
|
28
|
-
* Use this prop when there is an error at the input.
|
|
29
|
-
* @value true
|
|
30
|
-
* @value false
|
|
31
|
-
*/
|
|
32
|
-
error?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* dense is optional.
|
|
35
|
-
* @value true TextInput will be dense.
|
|
36
|
-
* @value false
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
dense?: boolean;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* TextInput component when you need to let users enter text that’s no
|
|
43
|
-
* longer than a single line, such as their name or phone number.
|
|
44
|
-
*/
|
|
45
|
-
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps, "form" | "p" | "slot" | "style" | "title" | "pattern" | "as" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "name" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "m" | "mt" | "mb" | "ml" | "mr" | "mx" | "my" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "pt" | "pb" | "pl" | "pr" | "px" | "py" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "dense" | "error" | "maxWidth"> & React.RefAttributes<HTMLInputElement>>;
|
|
46
|
-
export default TextInput;
|
|
1
|
+
export * from '@digigov/react-core/TextInput/index.web';
|
|
2
|
+
export { default as default } from '@digigov/react-core/TextInput/index.web';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
|
+
export interface TextInputProps extends BaseProps<'input'> {
|
|
4
|
+
/**
|
|
5
|
+
* maxWidth is optional.
|
|
6
|
+
* @value '2-char';
|
|
7
|
+
* @value '3-char';
|
|
8
|
+
* @value '4-char';
|
|
9
|
+
* @value '5-char';
|
|
10
|
+
* @value '10-char';
|
|
11
|
+
* @value '20-char';
|
|
12
|
+
*/
|
|
13
|
+
maxWidth?: '2-char' | '3-char' | '4-char' | '5-char' | '10-char' | '20-char';
|
|
14
|
+
/**
|
|
15
|
+
* width is optional.
|
|
16
|
+
* Use width prop to define a custom width in your component.
|
|
17
|
+
* @value '25%';
|
|
18
|
+
* @value '33.3%';
|
|
19
|
+
* @value '50%';
|
|
20
|
+
* @value '66.6%';
|
|
21
|
+
* @value '75%';
|
|
22
|
+
* @value '100%';
|
|
23
|
+
* @value 'full';
|
|
24
|
+
*/
|
|
25
|
+
width?: '25%' | '33.3%' | '50%' | '66.6%' | '75%' | '100%' | 'full';
|
|
26
|
+
/**
|
|
27
|
+
* error is optional. The default value is false.
|
|
28
|
+
* Use this prop when there is an error at the input.
|
|
29
|
+
* @value true
|
|
30
|
+
* @value false
|
|
31
|
+
*/
|
|
32
|
+
error?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* dense is optional.
|
|
35
|
+
* @value true TextInput will be dense.
|
|
36
|
+
* @value false
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
dense?: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* TextInput component when you need to let users enter text that’s no
|
|
43
|
+
* longer than a single line, such as their name or phone number.
|
|
44
|
+
*/
|
|
45
|
+
export declare const TextInput: React.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
46
|
+
export default TextInput;
|
|
@@ -13,5 +13,5 @@ export interface TimelineProps extends BaseProps<'ol'> {
|
|
|
13
13
|
* Timeline component is used for listing items.
|
|
14
14
|
* This component must contain TimelineItem component.
|
|
15
15
|
*/
|
|
16
|
-
export declare const Timeline: React.ForwardRefExoticComponent<
|
|
16
|
+
export declare const Timeline: React.ForwardRefExoticComponent<Omit<TimelineProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
17
17
|
export default Timeline;
|
|
@@ -7,5 +7,5 @@ export interface TimelineActionsProps extends BaseProps<'div'> {
|
|
|
7
7
|
* We can use Links and Buttons.
|
|
8
8
|
* Use TimelineActions inside Timeline component, after TimelineContent.
|
|
9
9
|
*/
|
|
10
|
-
export declare const TimelineActions: React.ForwardRefExoticComponent<
|
|
10
|
+
export declare const TimelineActions: React.ForwardRefExoticComponent<Omit<TimelineActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
export default TimelineActions;
|
|
@@ -6,5 +6,5 @@ export interface TimelineContentProps extends BaseProps<'div'> {
|
|
|
6
6
|
* TimelineContent component is used as a content for Timeline component.
|
|
7
7
|
* TimelineContent component must be used inside Timeline component as child, after TimelineHeading.
|
|
8
8
|
*/
|
|
9
|
-
export declare const TimelineContent: React.ForwardRefExoticComponent<
|
|
9
|
+
export declare const TimelineContent: React.ForwardRefExoticComponent<Omit<TimelineContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default TimelineContent;
|
|
@@ -21,5 +21,5 @@ export interface TimelineHeadingProps extends BaseProps<'h2'> {
|
|
|
21
21
|
* TimelineHeading component is used to place a title in a Timeline component.
|
|
22
22
|
* TimelineHeading component must be wraped inside Timeline component.
|
|
23
23
|
*/
|
|
24
|
-
export declare const TimelineHeading: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const TimelineHeading: React.ForwardRefExoticComponent<Omit<TimelineHeadingProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
25
25
|
export default TimelineHeading;
|
|
@@ -5,5 +5,5 @@ export interface TimelineItemProps extends BaseProps<'li'> {
|
|
|
5
5
|
/**
|
|
6
6
|
* TimelineItem must be inside Timeline compoenent.
|
|
7
7
|
*/
|
|
8
|
-
export declare const TimelineItem: React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const TimelineItem: React.ForwardRefExoticComponent<Omit<TimelineItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
9
9
|
export default TimelineItem;
|
|
@@ -5,5 +5,5 @@ export interface TopProps extends BaseProps<'div'> {
|
|
|
5
5
|
/**
|
|
6
6
|
* Top is used inside the Layout component and it must be the first component in order.
|
|
7
7
|
*/
|
|
8
|
-
export declare const Top: React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const Top: React.ForwardRefExoticComponent<Omit<TopProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export default Top;
|
|
@@ -26,5 +26,5 @@ export interface TypographyProps extends BaseProps<'h1' | 'h2' | 'h3' | 'h4' | '
|
|
|
26
26
|
* Typography component is used as generic component for typography.
|
|
27
27
|
* Use Typography component to extend components such as Heading, NormalText Paragraph etc.
|
|
28
28
|
*/
|
|
29
|
-
export declare const Typography: React.ForwardRefExoticComponent<
|
|
29
|
+
export declare const Typography: React.ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
30
30
|
export default Typography;
|
|
@@ -6,5 +6,5 @@ export interface VisuallyHiddenProps extends BaseProps<'span'> {
|
|
|
6
6
|
* Details for the VisuallyHidden.
|
|
7
7
|
* VisuallyHidden component provides text for screen readers that is visually hidden.
|
|
8
8
|
*/
|
|
9
|
-
export declare const VisuallyHidden: React.ForwardRefExoticComponent<
|
|
9
|
+
export declare const VisuallyHidden: React.ForwardRefExoticComponent<Omit<VisuallyHiddenProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
10
10
|
export default VisuallyHidden;
|
|
@@ -20,5 +20,5 @@ export interface WarningTextProps extends BaseProps<'div'> {
|
|
|
20
20
|
* Use the WarningText component when you need to warn users about something important.
|
|
21
21
|
* The component is used with a text inside it.
|
|
22
22
|
*/
|
|
23
|
-
export declare const WarningText: React.ForwardRefExoticComponent<
|
|
23
|
+
export declare const WarningText: React.ForwardRefExoticComponent<Omit<WarningTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
24
|
export default WarningText;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BaseProps } from "@digigov/react-core/Base";
|
|
3
|
+
export interface WarningTextAssistiveProps extends BaseProps<"span"> {
|
|
4
|
+
/**
|
|
5
|
+
* assistiveText is optional.
|
|
6
|
+
* Default value is "Προσοχή".
|
|
7
|
+
* assistiveText is used to provide a textual warning for assistive technologies like screen readers.
|
|
8
|
+
*/
|
|
9
|
+
assistiveText?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Use the WarningTextAssistive component when you need to warn users about something important.
|
|
13
|
+
*/
|
|
14
|
+
export declare const WarningTextAssistive: React.ForwardRefExoticComponent<Omit<WarningTextAssistiveProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
export default WarningTextAssistive;
|
|
@@ -17,5 +17,5 @@ export interface FloatingButtonProps extends ButtonProps {
|
|
|
17
17
|
* Use it primary in mobile applications.
|
|
18
18
|
* Avoid using text in this type of button, use icons instead.
|
|
19
19
|
*/
|
|
20
|
-
export declare const FloatingButton: React.ForwardRefExoticComponent<
|
|
20
|
+
export declare const FloatingButton: React.ForwardRefExoticComponent<Omit<FloatingButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
21
21
|
export default FloatingButton;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const AllComponents: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const AllComponents: () => React.JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface KitchensinkByCategoryInterface {
|
|
|
3
3
|
category: string;
|
|
4
4
|
stories: React.ReactElement[];
|
|
5
5
|
}
|
|
6
|
-
export declare const KitchensinkByCategory: ({ category, stories, }: KitchensinkByCategoryInterface) => JSX.Element;
|
|
6
|
+
export declare const KitchensinkByCategory: ({ category, stories, }: KitchensinkByCategoryInterface) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface KitchensinkByLetterInterface {
|
|
3
3
|
letter: string;
|
|
4
4
|
stories: any;
|
|
5
5
|
}
|
|
6
|
-
export declare const KitchensinkByLetter: ({ letter, stories, }: KitchensinkByLetterInterface) => JSX.Element;
|
|
6
|
+
export declare const KitchensinkByLetter: ({ letter, stories, }: KitchensinkByLetterInterface) => React.JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface KitchensinkComponentInterface {
|
|
|
7
7
|
stories: React.ReactElement[];
|
|
8
8
|
width?: 'md' | 'lg';
|
|
9
9
|
}
|
|
10
|
-
export declare const KitchensinkComponent: ({ tags, title, description, link, stories, width, }: KitchensinkComponentInterface) => JSX.Element;
|
|
10
|
+
export declare const KitchensinkComponent: ({ tags, title, description, link, stories, width, }: KitchensinkComponentInterface) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface KitchenSinkDashboardInterface {
|
|
3
3
|
stories: any;
|
|
4
4
|
}
|
|
5
|
-
export declare const KitchenSinkDashboard: ({ stories, }: KitchenSinkDashboardInterface) => JSX.Element;
|
|
5
|
+
export declare const KitchenSinkDashboard: ({ stories, }: KitchenSinkDashboardInterface) => React.JSX.Element;
|
|
@@ -15,5 +15,5 @@ export interface OptionButtonBaseProps extends BaseProps<'button'> {
|
|
|
15
15
|
* OptionButtonBases can be used to represent small blocks of information.
|
|
16
16
|
* OptionButtonBase component must be inside OptionButtonBaseSection component.
|
|
17
17
|
*/
|
|
18
|
-
export declare const OptionButtonBase: React.ForwardRefExoticComponent<
|
|
18
|
+
export declare const OptionButtonBase: React.ForwardRefExoticComponent<Omit<OptionButtonBaseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
19
|
export default OptionButtonBase;
|
|
@@ -21,5 +21,5 @@ export type stepsProps = 0 | 1 | 2 | 3 | 4;
|
|
|
21
21
|
* OptionButtonSteps can be used to represent small blocks of information.
|
|
22
22
|
* OptionButtonSteps component must be inside OptionButtonStepsSection component.
|
|
23
23
|
*/
|
|
24
|
-
export declare const OptionButtonSteps: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const OptionButtonSteps: React.ForwardRefExoticComponent<Omit<OptionButtonStepsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
export default OptionButtonSteps;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type AsProp<C extends React.ElementType> = {
|
|
3
|
+
as?: C;
|
|
4
|
+
};
|
|
5
|
+
type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
|
|
6
|
+
type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
|
|
7
|
+
type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
|
|
8
|
+
ref?: any;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* This is the updated component props using PolymorphicComponentPropWithRef
|
|
12
|
+
*/
|
|
13
|
+
export type BaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
|
|
14
|
+
/** margin is optional. It has not a default value. */
|
|
15
|
+
margin?: spacingValues;
|
|
16
|
+
/** marginTop is optional. It has not a default value. */
|
|
17
|
+
marginTop?: spacingValues;
|
|
18
|
+
/** marginBottom is optional. It has not a default value. */
|
|
19
|
+
marginBottom?: spacingValues;
|
|
20
|
+
/** marginLeft is optional. It has not a default value. */
|
|
21
|
+
marginLeft?: spacingValues;
|
|
22
|
+
/** marginRight is optional. It has not a default value. */
|
|
23
|
+
marginRight?: spacingValues;
|
|
24
|
+
/** Alternative for margin. Margin is optional. It has not a default value. */
|
|
25
|
+
m?: spacingValues;
|
|
26
|
+
/** Alternative for marginTop. MarginTop is optional. It has not a default value. */
|
|
27
|
+
mt?: spacingValues;
|
|
28
|
+
/** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */
|
|
29
|
+
mb?: spacingValues;
|
|
30
|
+
/** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */
|
|
31
|
+
ml?: spacingValues;
|
|
32
|
+
/** Alternative for marginRight. MarginRight is optional. It has not a default value. */
|
|
33
|
+
mr?: spacingValues;
|
|
34
|
+
/** Alternative for marginX. MarginX is optional. It has not a default value. */
|
|
35
|
+
mx?: spacingValues;
|
|
36
|
+
/** Alternative for marginY. MarginY is optional. It has not a default value. */
|
|
37
|
+
my?: spacingValues;
|
|
38
|
+
/** padding is optional. It has not a default value. */
|
|
39
|
+
padding?: spacingValues;
|
|
40
|
+
/** paddingTop is optional. It has not a default value. */
|
|
41
|
+
paddingTop?: spacingValues;
|
|
42
|
+
/** paddingBottom is optional. It has not a default value. */
|
|
43
|
+
paddingBottom?: spacingValues;
|
|
44
|
+
/** paddingLeft is optional. It has not a default value. */
|
|
45
|
+
paddingLeft?: spacingValues;
|
|
46
|
+
/** paddingRight is optional. It has not a default value. */
|
|
47
|
+
paddingRight?: spacingValues;
|
|
48
|
+
/** Alternative for padding. Padding is optional. It has not a default value. */
|
|
49
|
+
p?: spacingValues;
|
|
50
|
+
/** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */
|
|
51
|
+
pt?: spacingValues;
|
|
52
|
+
/** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */
|
|
53
|
+
pb?: spacingValues;
|
|
54
|
+
/** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */
|
|
55
|
+
pl?: spacingValues;
|
|
56
|
+
/** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */
|
|
57
|
+
pr?: spacingValues;
|
|
58
|
+
/** Alternative for paddingX. PaddingX is optional. It has not a default value. */
|
|
59
|
+
px?: spacingValues;
|
|
60
|
+
/** Alternative for paddingY. PaddingY is optional. It has not a default value. */
|
|
61
|
+
py?: spacingValues;
|
|
62
|
+
/** printHidden is optional. Default value is false. When true, the component is hidden at print. */
|
|
63
|
+
printHidden?: boolean;
|
|
64
|
+
/** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
|
|
65
|
+
printVisible?: 'block' | 'inline';
|
|
66
|
+
/** Components will be hidden at all screen sizes. */
|
|
67
|
+
hidden?: boolean;
|
|
68
|
+
/** Components will be hidden from 'xs' screen size and up. */
|
|
69
|
+
xsUpHidden?: boolean;
|
|
70
|
+
/** Components will be hidden from 'sm' screen size and up. */
|
|
71
|
+
smUpHidden?: boolean;
|
|
72
|
+
/** Components will be hidden from 'md' screen size and up. */
|
|
73
|
+
mdUpHidden?: boolean;
|
|
74
|
+
/** Components will be hidden from 'lg' screen size and up. */
|
|
75
|
+
lgUpHidden?: boolean;
|
|
76
|
+
/** Components will be hidden from 'xl' screen size and up. */
|
|
77
|
+
xlUpHidden?: boolean;
|
|
78
|
+
/** Components will be hidden between xs and sm screen size. */
|
|
79
|
+
xsHidden?: boolean;
|
|
80
|
+
/** Components will be hidden between sm and md screen size. */
|
|
81
|
+
smHidden?: boolean;
|
|
82
|
+
/** Components will be hidden between md and lg screen size. */
|
|
83
|
+
mdHidden?: boolean;
|
|
84
|
+
/** Components will be hidden between lg and xl screen size. */
|
|
85
|
+
lgHidden?: boolean;
|
|
86
|
+
/** Components will be hidden between xl and 2xl screen size. */
|
|
87
|
+
xlHidden?: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
|
|
90
|
+
/**
|
|
91
|
+
* This is the type used in the type annotation for the component
|
|
92
|
+
*/
|
|
93
|
+
type BaseComponent = <C extends React.ElementType = 'span'>(props: BaseProps<C>) => React.ReactNode | null;
|
|
94
|
+
export declare const Base: BaseComponent;
|
|
95
|
+
export default Base;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SvgIconProps } from '@digigov/react-
|
|
2
|
+
import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
|
|
3
3
|
import type { IconTypes } from '@digigov/react-icons/icons';
|
|
4
4
|
export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] & {
|
|
5
5
|
/**
|
|
@@ -15,7 +15,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] &
|
|
|
15
15
|
*/
|
|
16
16
|
icon?: N;
|
|
17
17
|
};
|
|
18
|
-
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.
|
|
18
|
+
type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactNode | null;
|
|
19
19
|
export type IconNames = keyof IconTypes;
|
|
20
20
|
/**
|
|
21
21
|
* Icon is used whenever we need a GOV.GR icon.
|