@digigov/react-experimental 2.0.0-dcbd7ded → 2.0.0-e20fed09
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.d.ts +21 -0
- package/FloatingButton/index.js +23 -23
- package/FloatingButton/index.js.map +7 -0
- package/Kitchensink/AllComponents/index.js +8 -9
- package/Kitchensink/AllComponents.d.ts +2 -0
- package/Kitchensink/AllComponents.js.map +7 -0
- package/Kitchensink/KitchensinkByCategory/index.js +43 -32
- package/{libs-ui/react-experimental/src/Kitchensink → Kitchensink}/KitchensinkByCategory.d.ts +1 -1
- package/Kitchensink/KitchensinkByCategory.js.map +7 -0
- package/Kitchensink/KitchensinkByLetter/index.js +26 -18
- package/{libs-ui/react-experimental/src/Kitchensink → Kitchensink}/KitchensinkByLetter.d.ts +2 -2
- package/Kitchensink/KitchensinkByLetter.js.map +7 -0
- package/Kitchensink/KitchensinkComponent/index.js +31 -44
- package/{libs-ui/react-experimental/src/Kitchensink → Kitchensink}/KitchensinkComponent.d.ts +1 -1
- package/Kitchensink/KitchensinkComponent.js.map +7 -0
- package/Kitchensink/KitchensinkDashboard/index.js +43 -38
- package/{libs-ui/react-experimental/src/Kitchensink → Kitchensink}/KitchensinkDashboard.d.ts +2 -2
- package/Kitchensink/KitchensinkDashboard.js.map +7 -0
- package/Kitchensink/index.d.ts +5 -0
- package/Kitchensink/index.js +6 -5
- package/Kitchensink/index.js.map +7 -0
- package/OptionButtonBase/index.d.ts +19 -0
- package/OptionButtonBase/index.js +24 -23
- package/OptionButtonBase/index.js.map +7 -0
- package/OptionButtonSteps/index.d.ts +25 -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 -37
- package/cjs/index.js.map +7 -0
- package/{libs-ui/react-experimental/src/index.d.ts → index.d.ts} +1 -0
- package/index.js +6 -4
- package/index.js.map +7 -0
- package/package.json +7 -10
- package/src/FloatingButton/__snapshots__/index.test.tsx.snap +37 -0
- package/src/FloatingButton/index.test.tsx +11 -5
- package/src/FloatingButton/index.tsx +1 -1
- package/src/Kitchensink/AllComponents.tsx +2 -1
- package/src/Kitchensink/KitchensinkByCategory.tsx +2 -6
- package/src/Kitchensink/index.ts +5 -5
- package/src/OptionButtonBase/__snapshots__/index.test.tsx.snap +37 -0
- package/src/OptionButtonBase/index.test.tsx +11 -5
- package/src/OptionButtonBase/index.tsx +8 -9
- package/src/OptionButtonSteps/__snapshots__/index.test.tsx.snap +84 -0
- package/src/OptionButtonSteps/index.test.tsx +21 -7
- package/src/OptionButtonSteps/index.tsx +10 -11
- package/src/index.ts +1 -0
- 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/api/APIErrors.d.ts +0 -22
- package/libs/ui/src/api/APIProvider.d.ts +0 -15
- package/libs/ui/src/api/fetchAPI.d.ts +0 -18
- package/libs/ui/src/api/index.d.ts +0 -9
- package/libs/ui/src/api/useResource.d.ts +0 -11
- package/libs/ui/src/api/useResourceAction.d.ts +0 -2
- package/libs/ui/src/api/useResourceQuery.d.ts +0 -18
- package/libs/ui/src/api/utils.d.ts +0 -6
- package/libs/ui/src/app/App.d.ts +0 -7
- package/libs/ui/src/app/BannerContainer/BannerContainer.stories.d.ts +0 -10
- package/libs/ui/src/app/BannerContainer/__stories__/CookiesBanner.d.ts +0 -3
- package/libs/ui/src/app/BannerContainer/index.d.ts +0 -3
- package/libs/ui/src/app/BottomInfo/index.d.ts +0 -5
- package/libs/ui/src/app/CloseButton/index.d.ts +0 -3
- package/libs/ui/src/app/FilterContainer/index.d.ts +0 -11
- package/libs/ui/src/app/Footer/Footer.stories.d.ts +0 -18
- package/libs/ui/src/app/Footer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/DefaultCopyright.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/FooterAllInclusive.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/FooterWithLink.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/FooterWithLogo.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/FooterWithText.d.ts +0 -3
- package/libs/ui/src/app/Footer/__stories__/YearCopyright.d.ts +0 -3
- package/libs/ui/src/app/Footer/index.d.ts +0 -15
- package/libs/ui/src/app/Header/Header.stories.d.ts +0 -18
- package/libs/ui/src/app/Header/HeaderContent.d.ts +0 -3
- package/libs/ui/src/app/Header/HeaderLogo.d.ts +0 -3
- package/libs/ui/src/app/Header/HeaderNavMenuContent.d.ts +0 -3
- package/libs/ui/src/app/Header/HeaderSecondaryLogo.d.ts +0 -3
- package/libs/ui/src/app/Header/HeaderSection.d.ts +0 -3
- package/libs/ui/src/app/Header/HeaderTitle.d.ts +0 -3
- package/libs/ui/src/app/Header/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Header/__stories__/WithHeaderNavigation.d.ts +0 -3
- package/libs/ui/src/app/Header/__stories__/WithNavigation.d.ts +0 -3
- package/libs/ui/src/app/Header/__stories__/WithServiceName.d.ts +0 -3
- package/libs/ui/src/app/Header/__stories__/WithServiceNameAndLogo.d.ts +0 -3
- package/libs/ui/src/app/Header/index.d.ts +0 -9
- package/libs/ui/src/app/Loader/Loader.stories.d.ts +0 -8
- package/libs/ui/src/app/Loader/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Loader/index.d.ts +0 -5
- package/libs/ui/src/app/Masthead/Masthead.stories.d.ts +0 -13
- package/libs/ui/src/app/Masthead/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Masthead/__stories__/WithElements.d.ts +0 -3
- package/libs/ui/src/app/Masthead/__stories__/WithLogo.d.ts +0 -3
- package/libs/ui/src/app/Masthead/index.d.ts +0 -5
- package/libs/ui/src/app/Modal/Modal.stories.d.ts +0 -14
- package/libs/ui/src/app/Modal/__stories__/AlertDialog.d.ts +0 -3
- package/libs/ui/src/app/Modal/__stories__/Auto.d.ts +0 -3
- package/libs/ui/src/app/Modal/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Modal/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/app/Modal/__stories__/WithHooks.d.ts +0 -3
- package/libs/ui/src/app/Modal/auto.d.ts +0 -21
- package/libs/ui/src/app/Modal/hooks.d.ts +0 -26
- package/libs/ui/src/app/Modal/index.d.ts +0 -15
- package/libs/ui/src/app/NotFound/NotFound.stories.d.ts +0 -8
- package/libs/ui/src/app/NotFound/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/NotFound/index.d.ts +0 -3
- package/libs/ui/src/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.d.ts +0 -15
- package/libs/ui/src/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.d.ts +0 -2
- package/libs/ui/src/app/OutdatedBrowserBanner/index.d.ts +0 -3
- package/libs/ui/src/app/PageTitleContainer/index.d.ts +0 -5
- package/libs/ui/src/app/Panel/Panel.stories.d.ts +0 -10
- package/libs/ui/src/app/Panel/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/Panel/index.d.ts +0 -5
- package/libs/ui/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +0 -8
- package/libs/ui/src/app/PhaseBannerHeader/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/PhaseBannerHeader/index.d.ts +0 -8
- package/libs/ui/src/app/QrCodeScanner/QrCodeScanner.stories.d.ts +0 -8
- package/libs/ui/src/app/QrCodeScanner/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/QrCodeScanner/index.d.ts +0 -34
- package/libs/ui/src/app/QrCodeViewer/QRCode.stories.d.ts +0 -9
- package/libs/ui/src/app/QrCodeViewer/__stories__/Custom.d.ts +0 -3
- package/libs/ui/src/app/QrCodeViewer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/app/QrCodeViewer/index.d.ts +0 -6
- package/libs/ui/src/app/QrCodeViewer/qrcodegen.d.ts +0 -100
- package/libs/ui/src/app/QrCodeViewer/types.d.ts +0 -28
- package/libs/ui/src/app/QrCodeViewer/utils.d.ts +0 -11
- package/libs/ui/src/app/ThemeOptions/index.d.ts +0 -17
- package/libs/ui/src/app/hooks/useFontSize.d.ts +0 -6
- package/libs/ui/src/app/hooks/useHighlightLinks.d.ts +0 -8
- package/libs/ui/src/app/hooks/useLetterSpacing.d.ts +0 -6
- package/libs/ui/src/app/hooks/useLineHeight.d.ts +0 -6
- package/libs/ui/src/app/hooks/useTheme.d.ts +0 -8
- package/libs/ui/src/app/hooks/useVariantVars.d.ts +0 -8
- package/libs/ui/src/app/index.d.ts +0 -16
- package/libs/ui/src/content/Accordion/Accordion.stories.d.ts +0 -14
- package/libs/ui/src/content/Accordion/__stories__/Auto.d.ts +0 -3
- package/libs/ui/src/content/Accordion/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Accordion/__stories__/WithHints.d.ts +0 -3
- package/libs/ui/src/content/Accordion/__stories__/WithHook.d.ts +0 -3
- package/libs/ui/src/content/Accordion/auto.d.ts +0 -18
- package/libs/ui/src/content/Accordion/hooks.d.ts +0 -26
- package/libs/ui/src/content/Accordion/index.d.ts +0 -10
- package/libs/ui/src/content/Blockquote/Blockquote.stories.d.ts +0 -11
- package/libs/ui/src/content/Blockquote/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Blockquote/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/content/Blockquote/index.d.ts +0 -3
- package/libs/ui/src/content/Card/Card.stories.d.ts +0 -21
- package/libs/ui/src/content/Card/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithClickableContent.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithClickableLink.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithDarkBorder.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithDarkTopBorder.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithDivider.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithGrayBorder.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithGrayTopBorder.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithGroupButton.d.ts +0 -3
- package/libs/ui/src/content/Card/__stories__/WithLink.d.ts +0 -3
- package/libs/ui/src/content/Card/index.d.ts +0 -6
- package/libs/ui/src/content/Chip/Chip.stories.d.ts +0 -12
- package/libs/ui/src/content/Chip/__stories__/ClickableChip.d.ts +0 -3
- package/libs/ui/src/content/Chip/__stories__/ClickableDeletableChip.d.ts +0 -3
- package/libs/ui/src/content/Chip/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Chip/__stories__/DeletableChip.d.ts +0 -3
- package/libs/ui/src/content/Chip/__stories__/GroupOfChips.d.ts +0 -3
- package/libs/ui/src/content/Chip/index.d.ts +0 -6
- package/libs/ui/src/content/Details/Details.stories.d.ts +0 -10
- package/libs/ui/src/content/Details/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Details/index.d.ts +0 -5
- package/libs/ui/src/content/FillableText/index.d.ts +0 -4
- package/libs/ui/src/content/List/List.d.ts +0 -3
- package/libs/ui/src/content/List/List.stories.d.ts +0 -15
- package/libs/ui/src/content/List/ListItem.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/BulletList.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/HorizontalList.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/NestedBulletList.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/NumberedList.d.ts +0 -3
- package/libs/ui/src/content/List/__stories__/WithExtraSpace.d.ts +0 -3
- package/libs/ui/src/content/List/index.d.ts +0 -3
- package/libs/ui/src/content/Markdown/index.d.ts +0 -3
- package/libs/ui/src/content/Markdown/useMarkdownToHTML.d.ts +0 -6
- package/libs/ui/src/content/SafeHTML/index.d.ts +0 -10
- package/libs/ui/src/content/StepNav/StepNav.stories.d.ts +0 -13
- package/libs/ui/src/content/StepNav/__stories__/Auto.d.ts +0 -3
- package/libs/ui/src/content/StepNav/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/StepNav/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/content/StepNav/__stories__/WithHints.d.ts +0 -3
- package/libs/ui/src/content/StepNav/__stories__/WithHook.d.ts +0 -3
- package/libs/ui/src/content/StepNav/auto.d.ts +0 -19
- package/libs/ui/src/content/StepNav/index.d.ts +0 -16
- package/libs/ui/src/content/SummaryList/SummaryList.stories.d.ts +0 -15
- 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/content/SummaryList/index.d.ts +0 -7
- package/libs/ui/src/content/Table/Table.stories.d.ts +0 -27
- package/libs/ui/src/content/Table/TableFloatingScroll.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/DarkVariant.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/DefinedWidth.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/Densed.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/Full.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/MultipleProps.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/NoData.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/NumericDataType.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/RowColors.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/Stacked.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/TableCaptions.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/VerticalBorders.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/VerticalHeaders.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/WithFloatingScroll.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/WithLoader.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/WithSortFilters.d.ts +0 -3
- package/libs/ui/src/content/Table/__stories__/ZebraProp.d.ts +0 -3
- package/libs/ui/src/content/Table/hooks/useSort.d.ts +0 -9
- package/libs/ui/src/content/Table/index.d.ts +0 -28
- package/libs/ui/src/content/TaskList/TaskList.stories.d.ts +0 -10
- package/libs/ui/src/content/TaskList/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/TaskList/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/content/TaskList/index.d.ts +0 -7
- package/libs/ui/src/content/Timeline/Timeline.stories.d.ts +0 -10
- package/libs/ui/src/content/Timeline/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/content/Timeline/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/content/Timeline/index.d.ts +0 -7
- package/libs/ui/src/content/index.d.ts +0 -12
- package/libs/ui/src/feedback/CopyToClipboard/CopyToClipboard.stories.d.ts +0 -10
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Banner.d.ts +0 -3
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/feedback/CopyToClipboard/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/feedback/CopyToClipboard/index.d.ts +0 -12
- package/libs/ui/src/feedback/ErrorSummary/ErrorSummary.stories.d.ts +0 -15
- package/libs/ui/src/feedback/ErrorSummary/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToField.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToInput.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +0 -3
- package/libs/ui/src/feedback/ErrorSummary/index.d.ts +0 -3
- package/libs/ui/src/feedback/NotificationBanner/NotificationBanner.stories.d.ts +0 -13
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/feedback/NotificationBanner/__stories__/Success.d.ts +0 -3
- package/libs/ui/src/feedback/NotificationBanner/index.d.ts +0 -18
- package/libs/ui/src/feedback/PhaseBanner/PhaseBanner.stories.d.ts +0 -11
- package/libs/ui/src/feedback/PhaseBanner/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/feedback/PhaseBanner/__stories__/Underlined.d.ts +0 -3
- package/libs/ui/src/feedback/PhaseBanner/index.d.ts +0 -6
- package/libs/ui/src/feedback/WarningText/WarningText.stories.d.ts +0 -12
- package/libs/ui/src/feedback/WarningText/__stories__/AssistiveText.d.ts +0 -3
- package/libs/ui/src/feedback/WarningText/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/feedback/WarningText/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/feedback/WarningText/index.d.ts +0 -3
- package/libs/ui/src/feedback/index.d.ts +0 -5
- package/libs/ui/src/form/AutoComplete/AutoComplete.stories.d.ts +0 -14
- package/libs/ui/src/form/AutoComplete/Status/index.d.ts +0 -40
- package/libs/ui/src/form/AutoComplete/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithAutoSelect.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithDefaultValue.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithMinLength.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithPlaceHolder.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/__stories__/WithShowAllValues.d.ts +0 -3
- package/libs/ui/src/form/AutoComplete/index.d.ts +0 -117
- package/libs/ui/src/form/AutoComplete/utils.d.ts +0 -11
- package/libs/ui/src/form/Button/Button.stories.d.ts +0 -21
- package/libs/ui/src/form/Button/ButtonLink.d.ts +0 -3
- package/libs/ui/src/form/Button/CallToAction.d.ts +0 -3
- package/libs/ui/src/form/Button/ThemeToggleButton.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Back.d.ts +0 -4
- package/libs/ui/src/form/Button/__stories__/ButtonLinkButton.d.ts +0 -6
- package/libs/ui/src/form/Button/__stories__/CallToActionButton.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Disabled.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/GroupingButtons.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Primary.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Secondary.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/ThemeToggle.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/Warning.d.ts +0 -3
- package/libs/ui/src/form/Button/__stories__/WithVariantLink.d.ts +0 -3
- package/libs/ui/src/form/Button/index.d.ts +0 -13
- package/libs/ui/src/form/Checkbox/Checkbox.stories.d.ts +0 -19
- package/libs/ui/src/form/Checkbox/__stories__/ConditionalReveal.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/Inline.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/InlineWithDivider.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/MultipleQuestions.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/NoneAnswer.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/NoneAnswerWithError.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/__stories__/WithHint.d.ts +0 -3
- package/libs/ui/src/form/Checkbox/index.d.ts +0 -5
- package/libs/ui/src/form/DateInputContainer/DateInputContainer.stories.d.ts +0 -14
- package/libs/ui/src/form/DateInputContainer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/DateInputContainer/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/DateInputContainer/__stories__/MultipleQuestions.d.ts +0 -3
- package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.d.ts +0 -3
- package/libs/ui/src/form/DateInputContainer/index.d.ts +0 -4
- package/libs/ui/src/form/ErrorMessage/ErrorMessage.stories.d.ts +0 -12
- package/libs/ui/src/form/ErrorMessage/__stories__/DateInputError.d.ts +0 -3
- package/libs/ui/src/form/ErrorMessage/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +0 -3
- package/libs/ui/src/form/ErrorMessage/index.d.ts +0 -3
- package/libs/ui/src/form/FieldContainer/index.d.ts +0 -5
- package/libs/ui/src/form/FileUpload/FileUpload.stories.d.ts +0 -10
- package/libs/ui/src/form/FileUpload/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/FileUpload/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/FileUpload/index.d.ts +0 -4
- package/libs/ui/src/form/Form/index.d.ts +0 -3
- package/libs/ui/src/form/LabelContainer/index.d.ts +0 -4
- package/libs/ui/src/form/RadioContainer/RadioContainer.stories.d.ts +0 -19
- package/libs/ui/src/form/RadioContainer/__stories__/ConditionalReveal.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/Inline.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/InlineWithDivider.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/MultipleQuestions.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/NoneAnswer.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/WithHints.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/__stories__/WithMediumLegend.d.ts +0 -3
- package/libs/ui/src/form/RadioContainer/index.d.ts +0 -6
- package/libs/ui/src/form/SearchContainer/index.d.ts +0 -5
- package/libs/ui/src/form/SelectContainer/SelectContainer.stories.d.ts +0 -13
- package/libs/ui/src/form/SelectContainer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/SelectContainer/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/SelectContainer/__stories__/DisabledInput.d.ts +0 -3
- package/libs/ui/src/form/SelectContainer/__stories__/WithHint.d.ts +0 -3
- package/libs/ui/src/form/SelectContainer/index.d.ts +0 -4
- package/libs/ui/src/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +0 -13
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithDefaultError.d.ts +0 -3
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.d.ts +0 -3
- package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.d.ts +0 -3
- package/libs/ui/src/form/SingleCharacterInputs/index.d.ts +0 -4
- package/libs/ui/src/form/TextArea/TextArea.stories.d.ts +0 -17
- package/libs/ui/src/form/TextArea/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/DisabledInput.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/LimitedCharacters.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/MultipleQuestions.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/WithDeclaredRows.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/TextArea/__stories__/WithHint.d.ts +0 -3
- package/libs/ui/src/form/TextArea/index.d.ts +0 -3
- package/libs/ui/src/form/TextInput/TextInput.stories.d.ts +0 -18
- package/libs/ui/src/form/TextInput/__stories__/AskingForNumbers.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/DisabledInput.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/FixedWidths.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/FluidWidths.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/MultipleQuestions.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/WithErrorMessage.d.ts +0 -3
- package/libs/ui/src/form/TextInput/__stories__/WithHint.d.ts +0 -3
- package/libs/ui/src/form/TextInput/index.d.ts +0 -3
- package/libs/ui/src/form/index.d.ts +0 -15
- package/libs/ui/src/govgr/Footer/Copyright.d.ts +0 -11
- package/libs/ui/src/govgr/Footer/HellenicRepublicLogo.d.ts +0 -3
- package/libs/ui/src/govgr/Footer/LicenseCCSA.d.ts +0 -3
- package/libs/ui/src/govgr/Footer/index.d.ts +0 -13
- package/libs/ui/src/govgr/Footer/logo.d.ts +0 -2
- package/libs/ui/src/govgr/Footer/logos/logo-el.d.ts +0 -2
- package/libs/ui/src/govgr/Footer/logos/logo-en.d.ts +0 -2
- package/libs/ui/src/govgr/GovGRLogo/index.d.ts +0 -3
- package/libs/ui/src/govgr/GovGRLogo/logo.d.ts +0 -2
- package/libs/ui/src/govgr/images/govgr-logo-base64.d.ts +0 -2
- package/libs/ui/src/govgr/images/govgr-logo-blue-base64.d.ts +0 -2
- package/libs/ui/src/govgr/images/greek-government-base64.d.ts +0 -2
- package/libs/ui/src/govgr/images/grnet-logo-base64.d.ts +0 -2
- package/libs/ui/src/govgr/images/index.d.ts +0 -5
- package/libs/ui/src/govgr/images/minedu-logo-base64.d.ts +0 -2
- package/libs/ui/src/govgr/images/minedu-logo-black-base64.d.ts +0 -2
- package/libs/ui/src/govgr/index.d.ts +0 -5
- package/libs/ui/src/i18n/I18nText.d.ts +0 -10
- package/libs/ui/src/i18n/index.d.ts +0 -12
- package/libs/ui/src/i18n/locales/el.d.ts +0 -110
- package/libs/ui/src/i18n/locales/en.d.ts +0 -104
- package/libs/ui/src/icons/Icon/index.d.ts +0 -5
- package/libs/ui/src/icons/ImageLogo/index.d.ts +0 -3
- package/libs/ui/src/icons/ImageLogoSet/index.d.ts +0 -3
- package/libs/ui/src/icons/index.d.ts +0 -2
- package/libs/ui/src/index.d.ts +0 -11
- package/libs/ui/src/layouts/Admin/index.d.ts +0 -9
- package/libs/ui/src/layouts/Basic/Aside/index.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/Basic.stories.d.ts +0 -11
- package/libs/ui/src/layouts/Basic/Bottom/index.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/Container/index.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/Main/index.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/Masthead/index.d.ts +0 -5
- package/libs/ui/src/layouts/Basic/Top/index.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +0 -3
- package/libs/ui/src/layouts/Basic/index.d.ts +0 -9
- package/libs/ui/src/layouts/Grid/Grid.stories.d.ts +0 -10
- package/libs/ui/src/layouts/Grid/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/layouts/Grid/__stories__/Inline.d.ts +0 -3
- package/libs/ui/src/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +0 -3
- package/libs/ui/src/layouts/Grid/index.d.ts +0 -4
- package/libs/ui/src/layouts/Hidden/index.d.ts +0 -1
- package/libs/ui/src/layouts/Screen/Screen.stories.d.ts +0 -11
- package/libs/ui/src/layouts/Screen/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/layouts/Screen/__stories__/ScreenDown.d.ts +0 -3
- package/libs/ui/src/layouts/Screen/__stories__/ScreenUp.d.ts +0 -3
- package/libs/ui/src/layouts/Screen/__stories__/SpecificScreenSize.d.ts +0 -3
- package/libs/ui/src/layouts/Screen/index.d.ts +0 -6
- package/libs/ui/src/layouts/Section/index.d.ts +0 -3
- package/libs/ui/src/layouts/SectionBreak/index.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/Stack.stories.d.ts +0 -13
- package/libs/ui/src/layouts/Stack/__stories__/AlignItems.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/__stories__/JustifyContent.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/__stories__/NoWrap.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/__stories__/Row.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/__stories__/Spacing.d.ts +0 -3
- package/libs/ui/src/layouts/Stack/index.d.ts +0 -2
- package/libs/ui/src/layouts/index.d.ts +0 -11
- package/libs/ui/src/navigation/BackLink/BackLink.stories.d.ts +0 -8
- package/libs/ui/src/navigation/BackLink/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/BackLink/index.d.ts +0 -3
- package/libs/ui/src/navigation/BackToTopLink/BackToTopLink.stories.d.ts +0 -9
- package/libs/ui/src/navigation/BackToTopLink/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/BackToTopLink/__stories__/InMain.d.ts +0 -3
- package/libs/ui/src/navigation/BackToTopLink/index.d.ts +0 -12
- package/libs/ui/src/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -10
- package/libs/ui/src/navigation/Breadcrumbs/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Breadcrumbs/index.d.ts +0 -5
- package/libs/ui/src/navigation/Drawer/Drawer.stories.d.ts +0 -12
- package/libs/ui/src/navigation/Drawer/__stories__/Auto.d.ts +0 -2
- package/libs/ui/src/navigation/Drawer/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Drawer/__stories__/WithHook.d.ts +0 -2
- package/libs/ui/src/navigation/Drawer/auto.d.ts +0 -28
- package/libs/ui/src/navigation/Drawer/hooks.d.ts +0 -20
- package/libs/ui/src/navigation/Drawer/index.d.ts +0 -5
- package/libs/ui/src/navigation/Dropdown/Dropdown.stories.d.ts +0 -19
- package/libs/ui/src/navigation/Dropdown/__stories__/AlignRight.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/ContentPosition.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/Disabled.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/PlacementTop.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/Secondary.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/VariantLink.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/Warning.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/__stories__/WithIcons.d.ts +0 -3
- package/libs/ui/src/navigation/Dropdown/index.d.ts +0 -22
- package/libs/ui/src/navigation/Link/Link.stories.d.ts +0 -14
- package/libs/ui/src/navigation/Link/__stories__/DarkBackground.d.ts +0 -3
- package/libs/ui/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.d.ts +0 -3
- package/libs/ui/src/navigation/Link/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Link/__stories__/ExternalLink.d.ts +0 -3
- package/libs/ui/src/navigation/Link/__stories__/NoUnderline.d.ts +0 -3
- package/libs/ui/src/navigation/Link/__stories__/OpensInNewTab.d.ts +0 -3
- package/libs/ui/src/navigation/Link/index.d.ts +0 -13
- package/libs/ui/src/navigation/NavList/Nav.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/NavList.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/NavList.stories.d.ts +0 -17
- package/libs/ui/src/navigation/NavList/NavListAuto/index.d.ts +0 -4
- package/libs/ui/src/navigation/NavList/NavMenuContentList.d.ts +0 -5
- package/libs/ui/src/navigation/NavList/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithDrawer.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/NavListWithoutNav.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/UsingHeaderButton.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/UsingNavListAuto.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/Vertical.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/__stories__/VerticalWithoutDrawer.d.ts +0 -3
- package/libs/ui/src/navigation/NavList/hooks/useNavList.d.ts +0 -8
- package/libs/ui/src/navigation/NavList/hooks/useTogglableNav.d.ts +0 -26
- package/libs/ui/src/navigation/NavList/index.d.ts +0 -17
- package/libs/ui/src/navigation/NavList/types.d.ts +0 -53
- package/libs/ui/src/navigation/Pagination/Pagination.stories.d.ts +0 -16
- package/libs/ui/src/navigation/Pagination/__stories__/Auto.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/PaginationSmall.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/PaginationWithSmallFont.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/WithHook.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/WithInactiveValues.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/__stories__/WithResultsPerPage.d.ts +0 -3
- package/libs/ui/src/navigation/Pagination/auto.d.ts +0 -24
- package/libs/ui/src/navigation/Pagination/hooks.d.ts +0 -30
- package/libs/ui/src/navigation/Pagination/index.d.ts +0 -45
- package/libs/ui/src/navigation/SkipLink/SkipLink.stories.d.ts +0 -9
- package/libs/ui/src/navigation/SkipLink/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/SkipLink/index.d.ts +0 -3
- package/libs/ui/src/navigation/Tabs/Tabs.stories.d.ts +0 -13
- package/libs/ui/src/navigation/Tabs/__stories__/Auto.d.ts +0 -3
- package/libs/ui/src/navigation/Tabs/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/navigation/Tabs/__stories__/Dense.d.ts +0 -3
- package/libs/ui/src/navigation/Tabs/auto.d.ts +0 -18
- package/libs/ui/src/navigation/Tabs/hooks.d.ts +0 -28
- package/libs/ui/src/navigation/Tabs/index.d.ts +0 -9
- package/libs/ui/src/navigation/index.d.ts +0 -9
- package/libs/ui/src/registry.d.ts +0 -302
- package/libs/ui/src/typography/Code/index.d.ts +0 -3
- package/libs/ui/src/typography/CodeBlock/index.d.ts +0 -3
- package/libs/ui/src/typography/Heading/Heading.stories.d.ts +0 -8
- package/libs/ui/src/typography/Heading/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/typography/Heading/index.d.ts +0 -3
- package/libs/ui/src/typography/HeadingCaption/HeadingCaption.stories.d.ts +0 -9
- package/libs/ui/src/typography/HeadingCaption/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +0 -3
- package/libs/ui/src/typography/HeadingCaption/index.d.ts +0 -3
- package/libs/ui/src/typography/Hint/Hint.stories.d.ts +0 -9
- package/libs/ui/src/typography/Hint/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/typography/Hint/__stories__/FontSizes.d.ts +0 -3
- package/libs/ui/src/typography/Hint/index.d.ts +0 -3
- package/libs/ui/src/typography/NormalText/NormalText.stories.d.ts +0 -11
- package/libs/ui/src/typography/NormalText/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/typography/NormalText/__stories__/FontSizes.d.ts +0 -3
- package/libs/ui/src/typography/NormalText/__stories__/FontWeight.d.ts +0 -3
- package/libs/ui/src/typography/NormalText/__stories__/Variants.d.ts +0 -3
- package/libs/ui/src/typography/NormalText/index.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/Paragraph.stories.d.ts +0 -12
- package/libs/ui/src/typography/Paragraph/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/__stories__/FontSizes.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/__stories__/FontWeight.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/__stories__/LeadVariant.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/__stories__/SmallVariant.d.ts +0 -3
- package/libs/ui/src/typography/Paragraph/index.d.ts +0 -3
- package/libs/ui/src/typography/index.d.ts +0 -5
- package/libs/ui/src/utils/Base/index.d.ts +0 -3
- package/libs/ui/src/utils/SvgIcon/index.d.ts +0 -4
- package/libs/ui/src/utils/Typography/index.d.ts +0 -3
- package/libs/ui/src/utils/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -8
- package/libs/ui/src/utils/VisuallyHidden/__stories__/Default.d.ts +0 -3
- package/libs/ui/src/utils/VisuallyHidden/index.d.ts +0 -3
- package/libs/ui/src/utils/hooks/useDebounce.d.ts +0 -3
- package/libs/ui/src/utils/hooks/useKeypress.d.ts +0 -2
- package/libs/ui/src/utils/hooks/useLatest.d.ts +0 -3
- package/libs/ui/src/utils/hooks/useScreen.d.ts +0 -7
- package/libs/ui/src/utils/hooks/useSearch.d.ts +0 -4
- package/libs/ui/src/utils/hooks/useTogglableTab.d.ts +0 -21
- package/libs/ui/src/utils/index.d.ts +0 -3
- package/libs/ui/src/utils/withDeprecation.d.ts +0 -16
- package/libs-ui/react-core/src/Accordion/index.d.ts +0 -28
- package/libs-ui/react-core/src/AccordionControls/index.d.ts +0 -9
- package/libs-ui/react-core/src/AccordionSection/index.d.ts +0 -11
- package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/AccordionSectionSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/AccordionSectionSummaryHeading/index.d.ts +0 -9
- package/libs-ui/react-core/src/AdminAside/index.d.ts +0 -9
- package/libs-ui/react-core/src/AdminContainer/index.d.ts +0 -10
- package/libs-ui/react-core/src/AdminHeader/index.d.ts +0 -10
- package/libs-ui/react-core/src/AdminHeaderContent/index.d.ts +0 -9
- package/libs-ui/react-core/src/AdminLayout/index.d.ts +0 -14
- package/libs-ui/react-core/src/AdminMain/index.d.ts +0 -9
- package/libs-ui/react-core/src/AdminTopSection/index.d.ts +0 -25
- package/libs-ui/react-core/src/Aside/index.d.ts +0 -27
- package/libs-ui/react-core/src/AutoCompleteAssistiveHint/index.d.ts +0 -11
- package/libs-ui/react-core/src/AutoCompleteInput/index.d.ts +0 -25
- package/libs-ui/react-core/src/AutoCompleteInputTypeahead/index.d.ts +0 -11
- package/libs-ui/react-core/src/AutoCompleteResultList/index.d.ts +0 -29
- package/libs-ui/react-core/src/AutoCompleteResultListItem/index.d.ts +0 -47
- package/libs-ui/react-core/src/AutoCompleteStatus/index.d.ts +0 -10
- 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/BackLink/index.d.ts +0 -9
- package/libs-ui/react-core/src/BackToTopContainer/index.d.ts +0 -17
- package/libs-ui/react-core/src/BackToTopLimit/index.d.ts +0 -9
- package/libs-ui/react-core/src/BackToTopLink/index.d.ts +0 -9
- package/libs-ui/react-core/src/BannerContainer/index.d.ts +0 -6
- package/libs-ui/react-core/src/Base/index.d.ts +0 -66
- package/libs-ui/react-core/src/Blockquote/index.d.ts +0 -16
- package/libs-ui/react-core/src/Bottom/index.d.ts +0 -9
- package/libs-ui/react-core/src/BottomInfo/index.d.ts +0 -9
- package/libs-ui/react-core/src/BottomInfoContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/BottomInfoContent/index.d.ts +0 -9
- package/libs-ui/react-core/src/Breadcrumbs/index.d.ts +0 -10
- package/libs-ui/react-core/src/BreadcrumbsList/index.d.ts +0 -9
- package/libs-ui/react-core/src/BreadcrumbsListItem/index.d.ts +0 -15
- package/libs-ui/react-core/src/Button/index.d.ts +0 -35
- package/libs-ui/react-core/src/ButtonGroup/index.d.ts +0 -9
- package/libs-ui/react-core/src/ButtonLink/index.d.ts +0 -28
- package/libs-ui/react-core/src/CallToAction/index.d.ts +0 -9
- package/libs-ui/react-core/src/Card/index.d.ts +0 -43
- package/libs-ui/react-core/src/CardAction/index.d.ts +0 -11
- package/libs-ui/react-core/src/CardContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/CardHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/Checkbox/index.d.ts +0 -27
- package/libs-ui/react-core/src/CheckboxConditional/index.d.ts +0 -11
- package/libs-ui/react-core/src/CheckboxItem/index.d.ts +0 -17
- package/libs-ui/react-core/src/Chip/index.d.ts +0 -14
- package/libs-ui/react-core/src/ChipContainer/index.d.ts +0 -14
- package/libs-ui/react-core/src/ChipHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/ChipKeyValue/index.d.ts +0 -10
- package/libs-ui/react-core/src/ChoiceDividerText/index.d.ts +0 -10
- package/libs-ui/react-core/src/CircularProgress/index.d.ts +0 -27
- package/libs-ui/react-core/src/CloseButton/index.d.ts +0 -15
- package/libs-ui/react-core/src/Code/index.d.ts +0 -18
- package/libs-ui/react-core/src/CodeBlock/index.d.ts +0 -10
- package/libs-ui/react-core/src/Container/index.d.ts +0 -23
- package/libs-ui/react-core/src/CopyToClipboardContainer/index.d.ts +0 -31
- package/libs-ui/react-core/src/CopyToClipboardMessage/index.d.ts +0 -18
- package/libs-ui/react-core/src/CopyrightContainer/index.d.ts +0 -10
- package/libs-ui/react-core/src/DateInputContainer/index.d.ts +0 -19
- package/libs-ui/react-core/src/DateInputItem/index.d.ts +0 -26
- package/libs-ui/react-core/src/Details/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/DetailsSummary/index.d.ts +0 -10
- package/libs-ui/react-core/src/Drawer/index.d.ts +0 -44
- package/libs-ui/react-core/src/DrawerHeading/index.d.ts +0 -16
- package/libs-ui/react-core/src/DropdownBase/index.d.ts +0 -39
- package/libs-ui/react-core/src/DropdownButton/index.d.ts +0 -45
- package/libs-ui/react-core/src/DropdownContent/index.d.ts +0 -17
- package/libs-ui/react-core/src/ErrorMessage/index.d.ts +0 -11
- package/libs-ui/react-core/src/ErrorSummary/index.d.ts +0 -16
- package/libs-ui/react-core/src/FieldContainer/index.d.ts +0 -15
- package/libs-ui/react-core/src/Fieldset/index.d.ts +0 -10
- package/libs-ui/react-core/src/FieldsetLegend/index.d.ts +0 -27
- package/libs-ui/react-core/src/FileUpload/index.d.ts +0 -17
- package/libs-ui/react-core/src/FileUploadContainer/index.d.ts +0 -17
- package/libs-ui/react-core/src/FillableText/index.d.ts +0 -10
- package/libs-ui/react-core/src/FilterContainer/index.d.ts +0 -38
- package/libs-ui/react-core/src/FilterContent/index.d.ts +0 -9
- package/libs-ui/react-core/src/FilterHeadingContainer/index.d.ts +0 -12
- package/libs-ui/react-core/src/FilterOptionsSection/index.d.ts +0 -14
- package/libs-ui/react-core/src/FilterSelectedHeading/index.d.ts +0 -9
- package/libs-ui/react-core/src/FilterSelectedSection/index.d.ts +0 -9
- package/libs-ui/react-core/src/Footer/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/FooterContentLogos/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterHeading/index.d.ts +0 -18
- package/libs-ui/react-core/src/FooterImage/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterInfo/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterInfoSection/index.d.ts +0 -14
- package/libs-ui/react-core/src/FooterLink/index.d.ts +0 -9
- package/libs-ui/react-core/src/FooterList/index.d.ts +0 -23
- package/libs-ui/react-core/src/FooterListItem/index.d.ts +0 -10
- package/libs-ui/react-core/src/FooterNavigation/index.d.ts +0 -11
- package/libs-ui/react-core/src/FooterNavigationSection/index.d.ts +0 -11
- package/libs-ui/react-core/src/Form/index.d.ts +0 -16
- package/libs-ui/react-core/src/FullPageBackground/index.d.ts +0 -10
- package/libs-ui/react-core/src/GovGRLogo/govgr-logo-base64.d.ts +0 -2
- package/libs-ui/react-core/src/GovGRLogo/govgr-logo-blue-base64.d.ts +0 -2
- package/libs-ui/react-core/src/GovGRLogo/index.d.ts +0 -9
- package/libs-ui/react-core/src/Grid/index.d.ts +0 -89
- package/libs-ui/react-core/src/Header/index.d.ts +0 -10
- package/libs-ui/react-core/src/HeaderContent/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderLogo/index.d.ts +0 -19
- package/libs-ui/react-core/src/HeaderNavMenuContent/index.d.ts +0 -11
- package/libs-ui/react-core/src/HeaderSecondaryLogo/index.d.ts +0 -19
- package/libs-ui/react-core/src/HeaderSection/index.d.ts +0 -9
- package/libs-ui/react-core/src/HeaderTitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/Heading/index.d.ts +0 -31
- package/libs-ui/react-core/src/HeadingCaption/index.d.ts +0 -19
- package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +0 -17
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-el.d.ts +0 -2
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-en.d.ts +0 -2
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-inverted-el.d.ts +0 -2
- package/libs-ui/react-core/src/HellenicRepublicLogo/logo-inverted-en.d.ts +0 -2
- package/libs-ui/react-core/src/Hidden/index.d.ts +0 -71
- package/libs-ui/react-core/src/Hint/index.d.ts +0 -22
- package/libs-ui/react-core/src/ImageLogo/index.d.ts +0 -20
- package/libs-ui/react-core/src/ImageLogoSet/index.d.ts +0 -20
- package/libs-ui/react-core/src/KitchenSinkAllComponents/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkCard/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkCategory/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkContent/index.d.ts +0 -14
- package/libs-ui/react-core/src/KitchenSinkContentInfo/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkContentTags/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkHeading/index.d.ts +0 -5
- package/libs-ui/react-core/src/KitchenSinkLetterContent/index.d.ts +0 -5
- package/libs-ui/react-core/src/LabelContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/LabelTitle/index.d.ts +0 -26
- package/libs-ui/react-core/src/LabeledText/index.d.ts +0 -18
- package/libs-ui/react-core/src/Layout/index.d.ts +0 -15
- package/libs-ui/react-core/src/LinkBase/index.d.ts +0 -16
- package/libs-ui/react-core/src/List/index.d.ts +0 -33
- package/libs-ui/react-core/src/ListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/LoaderContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/Main/index.d.ts +0 -9
- package/libs-ui/react-core/src/Masthead/index.d.ts +0 -18
- package/libs-ui/react-core/src/MastheadBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/MastheadLogo/index.d.ts +0 -11
- package/libs-ui/react-core/src/ModalAction/index.d.ts +0 -11
- package/libs-ui/react-core/src/ModalContainer/index.d.ts +0 -24
- package/libs-ui/react-core/src/ModalContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/ModalHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/Nav/index.d.ts +0 -49
- package/libs-ui/react-core/src/NavList/index.d.ts +0 -31
- package/libs-ui/react-core/src/NavListItemAction/index.d.ts +0 -14
- package/libs-ui/react-core/src/NavListItemActionContainer/index.d.ts +0 -10
- package/libs-ui/react-core/src/NavListItemButton/index.d.ts +0 -27
- package/libs-ui/react-core/src/NavListItemLink/index.d.ts +0 -17
- package/libs-ui/react-core/src/NavMenuContainer/index.d.ts +0 -25
- package/libs-ui/react-core/src/NavMenuContent/index.d.ts +0 -11
- package/libs-ui/react-core/src/NavMenuContentListBase/index.d.ts +0 -10
- package/libs-ui/react-core/src/NavMenuContentListItem/index.d.ts +0 -10
- package/libs-ui/react-core/src/NavMenuTitle/index.d.ts +0 -11
- package/libs-ui/react-core/src/NormalText/index.d.ts +0 -18
- package/libs-ui/react-core/src/NotificationBannerContainer/index.d.ts +0 -29
- package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +0 -12
- package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +0 -11
- package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +0 -11
- package/libs-ui/react-core/src/NotificationBannerLink/index.d.ts +0 -11
- package/libs-ui/react-core/src/PageTitleCaption/index.d.ts +0 -9
- package/libs-ui/react-core/src/PageTitleContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/PageTitleHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/Pagination/index.d.ts +0 -17
- package/libs-ui/react-core/src/PaginationLabelContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/PaginationList/index.d.ts +0 -9
- package/libs-ui/react-core/src/PaginationListItem/index.d.ts +0 -29
- package/libs-ui/react-core/src/Panel/index.d.ts +0 -15
- package/libs-ui/react-core/src/PanelBody/index.d.ts +0 -9
- package/libs-ui/react-core/src/PanelTitle/index.d.ts +0 -9
- package/libs-ui/react-core/src/Paragraph/index.d.ts +0 -10
- package/libs-ui/react-core/src/PhaseBanner/index.d.ts +0 -18
- package/libs-ui/react-core/src/PhaseBannerHeaderContainer/index.d.ts +0 -6
- package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +0 -9
- package/libs-ui/react-core/src/PhaseBannerText/index.d.ts +0 -11
- package/libs-ui/react-core/src/RadioConditional/index.d.ts +0 -11
- package/libs-ui/react-core/src/RadioContainer/index.d.ts +0 -24
- package/libs-ui/react-core/src/RadioItem/index.d.ts +0 -16
- package/libs-ui/react-core/src/ResultsActionBar/index.d.ts +0 -9
- package/libs-ui/react-core/src/ResultsHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/ResultsHeadingActions/index.d.ts +0 -10
- package/libs-ui/react-core/src/SearchButton/index.d.ts +0 -10
- package/libs-ui/react-core/src/SearchContainer/index.d.ts +0 -9
- package/libs-ui/react-core/src/Section/index.d.ts +0 -10
- package/libs-ui/react-core/src/SectionBreak/index.d.ts +0 -26
- package/libs-ui/react-core/src/SelectContainer/index.d.ts +0 -17
- package/libs-ui/react-core/src/SelectOption/index.d.ts +0 -10
- package/libs-ui/react-core/src/SingleCharacterInput/index.d.ts +0 -18
- package/libs-ui/react-core/src/SingleCharacterInputs/index.d.ts +0 -11
- package/libs-ui/react-core/src/SkipLink/index.d.ts +0 -9
- package/libs-ui/react-core/src/Stack/index.d.ts +0 -33
- package/libs-ui/react-core/src/StepNav/index.d.ts +0 -17
- package/libs-ui/react-core/src/StepNavAccordion/index.d.ts +0 -11
- package/libs-ui/react-core/src/StepNavAccordionContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/StepNavAccordionHeadingText/index.d.ts +0 -22
- package/libs-ui/react-core/src/StepNavAccordionHeadingTitle/index.d.ts +0 -11
- package/libs-ui/react-core/src/StepNavAccordionSummary/index.d.ts +0 -9
- package/libs-ui/react-core/src/StepNavAccordionSummaryHeading/index.d.ts +0 -27
- package/libs-ui/react-core/src/StepNavCircleNumber/index.d.ts +0 -19
- package/libs-ui/react-core/src/StepNavControls/index.d.ts +0 -10
- package/libs-ui/react-core/src/StepNavList/index.d.ts +0 -10
- package/libs-ui/react-core/src/StepNavListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/SummaryList/index.d.ts +0 -19
- package/libs-ui/react-core/src/SummaryListItem/index.d.ts +0 -19
- package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +0 -10
- package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +0 -9
- package/libs-ui/react-core/src/SvgIcon/index.d.ts +0 -35
- package/libs-ui/react-core/src/Table/index.d.ts +0 -53
- package/libs-ui/react-core/src/TableBody/index.d.ts +0 -18
- package/libs-ui/react-core/src/TableCaption/index.d.ts +0 -20
- package/libs-ui/react-core/src/TableContainer/index.d.ts +0 -16
- package/libs-ui/react-core/src/TableDataCell/index.d.ts +0 -18
- package/libs-ui/react-core/src/TableHead/index.d.ts +0 -9
- package/libs-ui/react-core/src/TableHeadCell/index.d.ts +0 -30
- package/libs-ui/react-core/src/TableLoaderBackground/index.d.ts +0 -10
- package/libs-ui/react-core/src/TableNoDataRow/index.d.ts +0 -10
- package/libs-ui/react-core/src/TableRow/index.d.ts +0 -25
- package/libs-ui/react-core/src/TableSortIconContainer/index.d.ts +0 -11
- package/libs-ui/react-core/src/Tabs/index.d.ts +0 -18
- package/libs-ui/react-core/src/TabsHeading/index.d.ts +0 -18
- package/libs-ui/react-core/src/TabsList/index.d.ts +0 -10
- package/libs-ui/react-core/src/TabsListItemBase/index.d.ts +0 -17
- package/libs-ui/react-core/src/TabsPanelBase/index.d.ts +0 -18
- package/libs-ui/react-core/src/TaskList/index.d.ts +0 -17
- package/libs-ui/react-core/src/TaskListItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/TaskListItemContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/TaskListItemHeading/index.d.ts +0 -10
- package/libs-ui/react-core/src/TaskListItemTag/index.d.ts +0 -16
- package/libs-ui/react-core/src/TextArea/index.d.ts +0 -24
- package/libs-ui/react-core/src/TextInput/index.d.ts +0 -46
- package/libs-ui/react-core/src/Timeline/index.d.ts +0 -17
- package/libs-ui/react-core/src/TimelineActions/index.d.ts +0 -11
- package/libs-ui/react-core/src/TimelineContent/index.d.ts +0 -10
- package/libs-ui/react-core/src/TimelineHeading/index.d.ts +0 -25
- package/libs-ui/react-core/src/TimelineItem/index.d.ts +0 -9
- package/libs-ui/react-core/src/Top/index.d.ts +0 -9
- package/libs-ui/react-core/src/Typography/index.d.ts +0 -30
- package/libs-ui/react-core/src/VisuallyHidden/index.d.ts +0 -10
- package/libs-ui/react-core/src/WarningText/index.d.ts +0 -24
- package/libs-ui/react-experimental/src/FloatingButton/index.d.ts +0 -21
- package/libs-ui/react-experimental/src/Kitchensink/AllComponents.d.ts +0 -2
- package/libs-ui/react-experimental/src/Kitchensink/index.d.ts +0 -5
- package/libs-ui/react-experimental/src/OptionButtonBase/index.d.ts +0 -19
- package/libs-ui/react-experimental/src/OptionButtonSteps/index.d.ts +0 -25
- package/libs-ui/react-icons/src/AccessibilityIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/AccessibilityIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/ArrowIcon/config.d.ts +0 -13
- package/libs-ui/react-icons/src/ArrowIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/BurgerIcon/config.d.ts +0 -6
- package/libs-ui/react-icons/src/BurgerIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/CaretIcon/config.d.ts +0 -13
- package/libs-ui/react-icons/src/CaretIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/CheckIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/CheckIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/ChevronIcon/config.d.ts +0 -14
- package/libs-ui/react-icons/src/ChevronIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/CloseIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/CloseIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/GlobeIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/GlobeIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/Icon/index.d.ts +0 -25
- package/libs-ui/react-icons/src/MoreVertIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/MoreVertIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/SearchIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/SearchIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/UncheckIcon/config.d.ts +0 -8
- package/libs-ui/react-icons/src/UncheckIcon/index.d.ts +0 -4
- package/libs-ui/react-icons/src/icons.d.ts +0 -35
- package/libs-ui/react-icons/src/index.d.ts +0 -11
- /package/{libs-ui/react-experimental/src/FloatingButton → FloatingButton}/index.test.d.ts +0 -0
- /package/{libs-ui/react-experimental/src/OptionButtonBase → OptionButtonBase}/index.test.d.ts +0 -0
- /package/{libs-ui/react-experimental/src/OptionButtonSteps → OptionButtonSteps}/index.test.d.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseProps } from '@digigov/react-core/Base';
|
|
3
|
+
export interface OptionButtonStepsProps extends BaseProps<'div'> {
|
|
4
|
+
/**
|
|
5
|
+
* @value 0
|
|
6
|
+
* @value 1
|
|
7
|
+
* @value 2
|
|
8
|
+
* @value 3
|
|
9
|
+
* @value 4
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
steps?: stepsProps;
|
|
13
|
+
/**
|
|
14
|
+
* @default 0
|
|
15
|
+
*/
|
|
16
|
+
activeStep?: number;
|
|
17
|
+
}
|
|
18
|
+
export type stepsProps = 0 | 1 | 2 | 3 | 4;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* OptionButtonSteps can be used to represent small blocks of information.
|
|
22
|
+
* OptionButtonSteps component must be inside OptionButtonStepsSection component.
|
|
23
|
+
*/
|
|
24
|
+
export declare const OptionButtonSteps: React.ForwardRefExoticComponent<Omit<OptionButtonStepsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export default OptionButtonSteps;
|
|
@@ -1,31 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
* OptionButtonSteps can be used to represent small blocks of information.
|
|
10
|
-
* OptionButtonSteps component must be inside OptionButtonStepsSection component.
|
|
11
|
-
*/
|
|
12
|
-
export var OptionButtonSteps = /*#__PURE__*/React.forwardRef(function OptionButtonSteps(_ref, ref) {
|
|
13
|
-
var _ref$steps = _ref.steps,
|
|
14
|
-
steps = _ref$steps === void 0 ? 0 : _ref$steps,
|
|
15
|
-
_ref$activeStep = _ref.activeStep,
|
|
16
|
-
activeStep = _ref$activeStep === void 0 ? 0 : _ref$activeStep,
|
|
17
|
-
className = _ref.className,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
var renderStep = function renderStep(step) {
|
|
20
|
-
return /*#__PURE__*/React.createElement(Base, {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import Base from "@digigov/react-core/Base";
|
|
4
|
+
const OptionButtonSteps = React.forwardRef(function OptionButtonSteps2({ steps = 0, activeStep = 0, className, ...props }, ref) {
|
|
5
|
+
const renderStep = (step) => /* @__PURE__ */ React.createElement(
|
|
6
|
+
Base,
|
|
7
|
+
{
|
|
21
8
|
as: "div",
|
|
22
|
-
className: clsx(className,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
9
|
+
className: clsx(className, {
|
|
10
|
+
"ds-option-btn__step": true,
|
|
11
|
+
"ds-option-btn__step--active": activeStep >= step
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ React.createElement(
|
|
16
|
+
Base,
|
|
17
|
+
{
|
|
18
|
+
as: "div",
|
|
19
|
+
ref,
|
|
20
|
+
className: clsx(className, {
|
|
21
|
+
"ds-option-btn__steps": true
|
|
22
|
+
}),
|
|
23
|
+
...props
|
|
24
|
+
},
|
|
25
|
+
steps >= 1 && renderStep(1),
|
|
26
|
+
steps >= 2 && renderStep(2),
|
|
27
|
+
steps >= 3 && renderStep(3),
|
|
28
|
+
steps >= 4 && renderStep(4)
|
|
29
|
+
);
|
|
30
30
|
});
|
|
31
|
-
|
|
31
|
+
var OptionButtonSteps_default = OptionButtonSteps;
|
|
32
|
+
export {
|
|
33
|
+
OptionButtonSteps,
|
|
34
|
+
OptionButtonSteps_default as default
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/OptionButtonSteps/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Base, { BaseProps } from '@digigov/react-core/Base';\n\nexport interface OptionButtonStepsProps extends BaseProps<'div'> {\n /**\n * @value 0\n * @value 1\n * @value 2\n * @value 3\n * @value 4\n * @default 0\n */\n steps?: stepsProps;\n /**\n * @default 0\n */\n activeStep?: number;\n}\n\nexport type stepsProps = 0 | 1 | 2 | 3 | 4;\n/**\n *\n * OptionButtonSteps can be used to represent small blocks of information.\n * OptionButtonSteps component must be inside OptionButtonStepsSection component.\n */\nexport const OptionButtonSteps = React.forwardRef<\n HTMLDivElement,\n OptionButtonStepsProps\n>(function OptionButtonSteps(\n { steps = 0, activeStep = 0, className, ...props },\n ref\n) {\n const renderStep = (step: number) => (\n <Base\n as=\"div\"\n className={clsx(className, {\n 'ds-option-btn__step': true,\n 'ds-option-btn__step--active': activeStep >= step,\n })}\n ></Base>\n );\n\n return (\n <Base\n as=\"div\"\n ref={ref}\n className={clsx(className, {\n 'ds-option-btn__steps': true,\n })}\n {...props}\n >\n {steps >= 1 && renderStep(1)}\n {steps >= 2 && renderStep(2)}\n {steps >= 3 && renderStep(3)}\n {steps >= 4 && renderStep(4)}\n </Base>\n );\n});\n\nexport default OptionButtonSteps;\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,UAAyB;AAwBzB,MAAM,oBAAoB,MAAM,WAGrC,SAASA,mBACT,EAAE,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,MAAM,GACjD,KACA;AACA,QAAM,aAAa,CAAC,SAClB;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAW,KAAK,WAAW;AAAA,QACzB,uBAAuB;AAAA,QACvB,+BAA+B,cAAc;AAAA,MAC/C,CAAC;AAAA;AAAA,EACF;AAGH,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAG;AAAA,MACH;AAAA,MACA,WAAW,KAAK,WAAW;AAAA,QACzB,wBAAwB;AAAA,MAC1B,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH,SAAS,KAAK,WAAW,CAAC;AAAA,IAC1B,SAAS,KAAK,WAAW,CAAC;AAAA,IAC1B,SAAS,KAAK,WAAW,CAAC;AAAA,IAC1B,SAAS,KAAK,WAAW,CAAC;AAAA,EAC7B;AAEJ,CAAC;AAED,IAAO,4BAAQ;",
|
|
6
|
+
"names": ["OptionButtonSteps"]
|
|
7
|
+
}
|
|
@@ -1,31 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var FloatingButton_exports = {};
|
|
29
|
+
__export(FloatingButton_exports, {
|
|
30
|
+
FloatingButton: () => FloatingButton,
|
|
31
|
+
default: () => FloatingButton_default
|
|
6
32
|
});
|
|
7
|
-
exports
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
26
|
-
return /*#__PURE__*/_react["default"].createElement(_Button["default"], (0, _extends2["default"])({
|
|
27
|
-
ref: ref,
|
|
28
|
-
className: (0, _clsx["default"])(className, direction === 'right' && 'ds-floating-btn--right', direction === 'left' && 'ds-floating-btn--left', true && 'ds-floating-btn')
|
|
29
|
-
}, props), children);
|
|
33
|
+
module.exports = __toCommonJS(FloatingButton_exports);
|
|
34
|
+
var import_react = __toESM(require("react"));
|
|
35
|
+
var import_clsx = __toESM(require("clsx"));
|
|
36
|
+
var import_Button = __toESM(require("@digigov/react-core/Button"));
|
|
37
|
+
const FloatingButton = import_react.default.forwardRef(function FloatingButton2({ direction = "right", className, children, ...props }, ref) {
|
|
38
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
39
|
+
import_Button.default,
|
|
40
|
+
{
|
|
41
|
+
ref,
|
|
42
|
+
className: (0, import_clsx.default)(className, {
|
|
43
|
+
"ds-floating-btn": true,
|
|
44
|
+
"ds-floating-btn--right": direction === "right",
|
|
45
|
+
"ds-floating-btn--left": direction === "left"
|
|
46
|
+
}),
|
|
47
|
+
...props
|
|
48
|
+
},
|
|
49
|
+
children
|
|
50
|
+
);
|
|
30
51
|
});
|
|
31
|
-
var
|
|
52
|
+
var FloatingButton_default = FloatingButton;
|
|
53
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
54
|
+
0 && (module.exports = {
|
|
55
|
+
FloatingButton
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/FloatingButton/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport clsx from 'clsx';\nimport Button, { ButtonProps } from '@digigov/react-core/Button';\n\nexport interface FloatingButtonProps extends ButtonProps {\n /**\n * direction is optional.\n * direction sets the position of the button to either left or right side of the screen.\n * The default value is 'left'.\n * @value 'right'\n * @value 'left'\n * @default 'left'\n */\n direction?: 'right' | 'left';\n}\n/**\n *\n * A FloatingButton performs the primary, or most common, action on a screen.\n * Use it primary in mobile applications.\n * Avoid using text in this type of button, use icons instead.\n */\nexport const FloatingButton = React.forwardRef<\n HTMLButtonElement,\n FloatingButtonProps\n>(function FloatingButton(\n { direction = 'right', className, children, ...props },\n ref\n) {\n return (\n <Button\n ref={ref}\n className={clsx(className, {\n 'ds-floating-btn': true,\n 'ds-floating-btn--right': direction === 'right',\n 'ds-floating-btn--left': direction === 'left',\n })}\n {...props}\n >\n {children}\n </Button>\n );\n});\n\nexport default FloatingButton;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,kBAAiB;AACjB,oBAAoC;AAmB7B,MAAM,iBAAiB,aAAAA,QAAM,WAGlC,SAASC,gBACT,EAAE,YAAY,SAAS,WAAW,UAAU,GAAG,MAAM,GACrD,KACA;AACA,SACE,6BAAAD,QAAA;AAAA,IAAC,cAAAE;AAAA,IAAA;AAAA,MACC;AAAA,MACA,eAAW,YAAAC,SAAK,WAAW;AAAA,QACzB,mBAAmB;AAAA,QACnB,0BAA0B,cAAc;AAAA,QACxC,yBAAyB,cAAc;AAAA,MACzC,CAAC;AAAA,MACA,GAAG;AAAA;AAAA,IAEH;AAAA,EACH;AAEJ,CAAC;AAED,IAAO,yBAAQ;",
|
|
6
|
+
"names": ["React", "FloatingButton", "Button", "clsx"]
|
|
7
|
+
}
|
|
@@ -1,16 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var AllComponents_exports = {};
|
|
29
|
+
__export(AllComponents_exports, {
|
|
30
|
+
AllComponents: () => AllComponents
|
|
6
31
|
});
|
|
7
|
-
exports
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
32
|
+
module.exports = __toCommonJS(AllComponents_exports);
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_KitchensinkDashboard = require("@digigov/react-experimental/Kitchensink/KitchensinkDashboard");
|
|
35
|
+
var import_stories_registry = require("@digigov/ui/stories-registry");
|
|
36
|
+
const AllComponents = () => /* @__PURE__ */ import_react.default.createElement(import_KitchensinkDashboard.KitchenSinkDashboard, { stories: import_stories_registry.stories });
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
AllComponents
|
|
13
40
|
});
|
|
14
|
-
|
|
15
|
-
return _ref;
|
|
16
|
-
};
|
|
41
|
+
//# sourceMappingURL=AllComponents.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Kitchensink/AllComponents.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\n\nimport { KitchenSinkDashboard } from '@digigov/react-experimental/Kitchensink/KitchensinkDashboard';\n// @ts-expect-error Registry not included in src files\nimport { stories } from '@digigov/ui/stories-registry';\n\nexport const AllComponents = () => <KitchenSinkDashboard stories={stories} />;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAElB,kCAAqC;AAErC,8BAAwB;AAEjB,MAAM,gBAAgB,MAAM,6BAAAA,QAAA,cAAC,oDAAqB,SAAS,iCAAS;",
|
|
6
|
+
"names": ["React"]
|
|
7
|
+
}
|
|
@@ -1,40 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var KitchensinkByCategory_exports = {};
|
|
29
|
+
__export(KitchensinkByCategory_exports, {
|
|
30
|
+
KitchensinkByCategory: () => KitchensinkByCategory
|
|
6
31
|
});
|
|
7
|
-
exports
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
module.exports = __toCommonJS(KitchensinkByCategory_exports);
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_KitchenSinkCategory = require("@digigov/react-core/KitchenSinkCategory");
|
|
35
|
+
var import_KitchenSinkHeading = require("@digigov/react-core/KitchenSinkHeading");
|
|
36
|
+
var import_KitchensinkByLetter = require("@digigov/react-experimental/Kitchensink/KitchensinkByLetter");
|
|
37
|
+
const KitchensinkByCategory = ({
|
|
38
|
+
category,
|
|
39
|
+
stories
|
|
40
|
+
}) => {
|
|
41
|
+
const alphabeticalOrder = Object.keys(stories).reduce(
|
|
42
|
+
(abStories, componentStoriesKey) => {
|
|
43
|
+
const componentStories = stories[componentStoriesKey];
|
|
44
|
+
if (!componentStories.default.component) {
|
|
45
|
+
throw new Error(`no component was found in ${componentStoriesKey}`);
|
|
46
|
+
}
|
|
47
|
+
const name = componentStories.default.displayName;
|
|
48
|
+
console.log("componentStories", componentStories, "stories", stories);
|
|
49
|
+
if (!name) {
|
|
50
|
+
throw new Error(`no name was found for ${componentStoriesKey}`);
|
|
51
|
+
}
|
|
52
|
+
const letter = name[0];
|
|
53
|
+
if (abStories[letter]) {
|
|
54
|
+
abStories[letter].push(componentStories);
|
|
55
|
+
} else {
|
|
56
|
+
abStories[letter] = [componentStories];
|
|
57
|
+
}
|
|
58
|
+
return abStories;
|
|
59
|
+
},
|
|
60
|
+
{}
|
|
61
|
+
);
|
|
62
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkHeading.KitchenSinkHeading, null, category), /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkCategory.KitchenSinkCategory, null, Object.keys(alphabeticalOrder).sort().map((letter, index) => {
|
|
63
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
64
|
+
import_KitchensinkByLetter.KitchensinkByLetter,
|
|
65
|
+
{
|
|
66
|
+
letter,
|
|
67
|
+
stories: alphabeticalOrder[letter],
|
|
68
|
+
key: index
|
|
69
|
+
}
|
|
70
|
+
);
|
|
39
71
|
})));
|
|
40
|
-
};
|
|
72
|
+
};
|
|
73
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
74
|
+
0 && (module.exports = {
|
|
75
|
+
KitchensinkByCategory
|
|
76
|
+
});
|
|
77
|
+
//# sourceMappingURL=KitchensinkByCategory.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Kitchensink/KitchensinkByCategory.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { KitchenSinkCategory } from '@digigov/react-core/KitchenSinkCategory';\nimport { KitchenSinkHeading } from '@digigov/react-core/KitchenSinkHeading';\nimport { KitchensinkByLetter } from '@digigov/react-experimental/Kitchensink/KitchensinkByLetter';\n\nexport interface KitchensinkByCategoryInterface {\n category: string;\n stories: React.ReactElement[];\n}\n\nexport const KitchensinkByCategory = ({\n category,\n stories,\n}: KitchensinkByCategoryInterface) => {\n const alphabeticalOrder = Object.keys(stories).reduce(\n (abStories, componentStoriesKey) => {\n const componentStories = stories[componentStoriesKey];\n if (!componentStories.default.component) {\n throw new Error(`no component was found in ${componentStoriesKey}`);\n }\n const name = componentStories.default.displayName;\n console.log('componentStories', componentStories, 'stories', stories);\n if (!name) {\n throw new Error(`no name was found for ${componentStoriesKey}`);\n }\n const letter = name[0];\n if (abStories[letter]) {\n abStories[letter].push(componentStories);\n } else {\n abStories[letter] = [componentStories];\n }\n return abStories;\n },\n {}\n );\n return (\n <div>\n <KitchenSinkHeading>{category}</KitchenSinkHeading>\n <KitchenSinkCategory>\n {Object.keys(alphabeticalOrder)\n .sort()\n .map((letter, index) => {\n return (\n <KitchensinkByLetter\n letter={letter}\n stories={alphabeticalOrder[letter]}\n key={index}\n />\n );\n })}\n </KitchenSinkCategory>\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,iCAAoC;AACpC,gCAAmC;AACnC,iCAAoC;AAO7B,MAAM,wBAAwB,CAAC;AAAA,EACpC;AAAA,EACA;AACF,MAAsC;AACpC,QAAM,oBAAoB,OAAO,KAAK,OAAO,EAAE;AAAA,IAC7C,CAAC,WAAW,wBAAwB;AAClC,YAAM,mBAAmB,QAAQ,mBAAmB;AACpD,UAAI,CAAC,iBAAiB,QAAQ,WAAW;AACvC,cAAM,IAAI,MAAM,6BAA6B,mBAAmB,EAAE;AAAA,MACpE;AACA,YAAM,OAAO,iBAAiB,QAAQ;AACtC,cAAQ,IAAI,oBAAoB,kBAAkB,WAAW,OAAO;AACpE,UAAI,CAAC,MAAM;AACT,cAAM,IAAI,MAAM,yBAAyB,mBAAmB,EAAE;AAAA,MAChE;AACA,YAAM,SAAS,KAAK,CAAC;AACrB,UAAI,UAAU,MAAM,GAAG;AACrB,kBAAU,MAAM,EAAE,KAAK,gBAAgB;AAAA,MACzC,OAAO;AACL,kBAAU,MAAM,IAAI,CAAC,gBAAgB;AAAA,MACvC;AACA,aAAO;AAAA,IACT;AAAA,IACA,CAAC;AAAA,EACH;AACA,SACE,6BAAAA,QAAA,cAAC,aACC,6BAAAA,QAAA,cAAC,oDAAoB,QAAS,GAC9B,6BAAAA,QAAA,cAAC,sDACE,OAAO,KAAK,iBAAiB,EAC3B,KAAK,EACL,IAAI,CAAC,QAAQ,UAAU;AACtB,WACE,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,SAAS,kBAAkB,MAAM;AAAA,QACjC,KAAK;AAAA;AAAA,IACP;AAAA,EAEJ,CAAC,CACL,CACF;AAEJ;",
|
|
6
|
+
"names": ["React"]
|
|
7
|
+
}
|
|
@@ -1,26 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
Object.
|
|
5
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var KitchensinkByLetter_exports = {};
|
|
29
|
+
__export(KitchensinkByLetter_exports, {
|
|
30
|
+
KitchensinkByLetter: () => KitchensinkByLetter
|
|
6
31
|
});
|
|
7
|
-
exports
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
32
|
+
module.exports = __toCommonJS(KitchensinkByLetter_exports);
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_Heading = __toESM(require("@digigov/react-core/Heading"));
|
|
35
|
+
var import_KitchenSinkLetterContent = require("@digigov/react-core/KitchenSinkLetterContent");
|
|
36
|
+
var import_KitchensinkComponent = require("@digigov/react-experimental/Kitchensink/KitchensinkComponent");
|
|
37
|
+
const KitchensinkByLetter = ({
|
|
38
|
+
letter,
|
|
39
|
+
stories
|
|
40
|
+
}) => {
|
|
41
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_Heading.default, null, letter), /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkLetterContent.KitchenSinkLetterContent, null, stories.map((story, index) => {
|
|
42
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
43
|
+
import_KitchensinkComponent.KitchensinkComponent,
|
|
44
|
+
{
|
|
45
|
+
tags: story.default.tags,
|
|
46
|
+
title: story.default.displayName,
|
|
47
|
+
description: story.default.description,
|
|
48
|
+
link: story.default.link,
|
|
49
|
+
width: story.default.defaultWidth,
|
|
50
|
+
stories: story,
|
|
51
|
+
key: index
|
|
52
|
+
}
|
|
53
|
+
);
|
|
25
54
|
})));
|
|
26
|
-
};
|
|
55
|
+
};
|
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
+
0 && (module.exports = {
|
|
58
|
+
KitchensinkByLetter
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=KitchensinkByLetter.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/Kitchensink/KitchensinkByLetter.tsx"],
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport Heading from '@digigov/react-core/Heading';\nimport { KitchenSinkLetterContent } from '@digigov/react-core/KitchenSinkLetterContent';\nimport { KitchensinkComponent } from '@digigov/react-experimental/Kitchensink/KitchensinkComponent';\n\nexport interface KitchensinkByLetterInterface {\n letter: string;\n stories: any;\n}\n\nexport const KitchensinkByLetter = ({\n letter,\n stories,\n}: KitchensinkByLetterInterface) => {\n return (\n <div>\n <Heading>{letter}</Heading>\n <KitchenSinkLetterContent>\n {stories.map((story, index) => {\n return (\n <KitchensinkComponent\n tags={story.default.tags}\n title={story.default.displayName}\n description={story.default.description}\n link={story.default.link}\n width={story.default.defaultWidth}\n stories={story}\n key={index}\n />\n );\n })}\n </KitchenSinkLetterContent>\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,qBAAoB;AACpB,sCAAyC;AACzC,kCAAqC;AAO9B,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AACF,MAAoC;AAClC,SACE,6BAAAA,QAAA,cAAC,aACC,6BAAAA,QAAA,cAAC,eAAAC,SAAA,MAAS,MAAO,GACjB,6BAAAD,QAAA,cAAC,gEACE,QAAQ,IAAI,CAAC,OAAO,UAAU;AAC7B,WACE,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,MAAM,QAAQ;AAAA,QACpB,OAAO,MAAM,QAAQ;AAAA,QACrB,aAAa,MAAM,QAAQ;AAAA,QAC3B,MAAM,MAAM,QAAQ;AAAA,QACpB,OAAO,MAAM,QAAQ;AAAA,QACrB,SAAS;AAAA,QACT,KAAK;AAAA;AAAA,IACP;AAAA,EAEJ,CAAC,CACH,CACF;AAEJ;",
|
|
6
|
+
"names": ["React", "Heading"]
|
|
7
|
+
}
|
|
@@ -1,55 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
Object.
|
|
6
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var KitchensinkComponent_exports = {};
|
|
29
|
+
__export(KitchensinkComponent_exports, {
|
|
30
|
+
KitchensinkComponent: () => KitchensinkComponent
|
|
7
31
|
});
|
|
8
|
-
exports
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
stories = _ref.stories,
|
|
33
|
-
_ref$width = _ref.width,
|
|
34
|
-
width = _ref$width === void 0 ? 'md' : _ref$width;
|
|
35
|
-
return /*#__PURE__*/_react["default"].createElement(_KitchenSinkContent.KitchenSinkContent, {
|
|
36
|
-
wide: width === 'lg'
|
|
37
|
-
}, /*#__PURE__*/_react["default"].createElement(_KitchenSinkContentInfo.KitchenSinkContentInfo, null, /*#__PURE__*/_react["default"].createElement(_KitchenSinkContentTags.KitchenSinkContentTags, null, tags && tags.map(function (tag, index) {
|
|
38
|
-
return /*#__PURE__*/_react["default"].createElement(_PhaseBanner["default"], {
|
|
39
|
-
key: index
|
|
40
|
-
}, /*#__PURE__*/_react["default"].createElement(_PhaseBanner.PhaseBannerTag, null, tag), _ref2);
|
|
41
|
-
})), /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
42
|
-
size: "lg"
|
|
43
|
-
}, title), /*#__PURE__*/_react["default"].createElement(_typography.Paragraph, null, description), link && /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
44
|
-
href: link
|
|
45
|
-
}, "View on GOV.GR Design System"), _ref3), Object.keys(stories).filter(function (story) {
|
|
46
|
-
return story !== 'default';
|
|
47
|
-
}).map(function (story, index) {
|
|
48
|
-
var Component = stories[story];
|
|
49
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
-
key: index
|
|
51
|
-
}, _ref4, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
52
|
-
size: "sm"
|
|
53
|
-
}, story), /*#__PURE__*/_react["default"].createElement(_KitchenSinkCard.KitchenSinkCard, null, /*#__PURE__*/_react["default"].createElement(Component, null)));
|
|
32
|
+
module.exports = __toCommonJS(KitchensinkComponent_exports);
|
|
33
|
+
var import_react = __toESM(require("react"));
|
|
34
|
+
var import_KitchenSinkCard = require("@digigov/react-core/KitchenSinkCard");
|
|
35
|
+
var import_KitchenSinkContent = require("@digigov/react-core/KitchenSinkContent");
|
|
36
|
+
var import_KitchenSinkContentInfo = require("@digigov/react-core/KitchenSinkContentInfo");
|
|
37
|
+
var import_KitchenSinkContentTags = require("@digigov/react-core/KitchenSinkContentTags");
|
|
38
|
+
var import_PhaseBanner = __toESM(require("@digigov/ui/feedback/PhaseBanner"));
|
|
39
|
+
var import_SectionBreak = __toESM(require("@digigov/ui/layouts/SectionBreak"));
|
|
40
|
+
var import_Link = __toESM(require("@digigov/ui/navigation/Link"));
|
|
41
|
+
var import_typography = require("@digigov/ui/typography");
|
|
42
|
+
var import_Heading = __toESM(require("@digigov/ui/typography/Heading"));
|
|
43
|
+
const KitchensinkComponent = ({
|
|
44
|
+
tags = [],
|
|
45
|
+
title,
|
|
46
|
+
description,
|
|
47
|
+
link,
|
|
48
|
+
stories,
|
|
49
|
+
width = "md"
|
|
50
|
+
}) => {
|
|
51
|
+
return /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkContent.KitchenSinkContent, { wide: width === "lg" }, /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkContentInfo.KitchenSinkContentInfo, null, /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkContentTags.KitchenSinkContentTags, null, tags && tags.map((tag, index) => {
|
|
52
|
+
return /* @__PURE__ */ import_react.default.createElement(import_PhaseBanner.default, { key: index }, /* @__PURE__ */ import_react.default.createElement(import_PhaseBanner.PhaseBannerTag, null, tag), /* @__PURE__ */ import_react.default.createElement(import_PhaseBanner.PhaseBannerText, null, "\u0391\u03C5\u03C4\u03AE \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03AF\u03B1 \u03BD\u03AD\u03B1 \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1 \u2013 \u03C4\u03B1", " ", /* @__PURE__ */ import_react.default.createElement(import_Link.default, { href: "#feedback" }, "\u03C3\u03C7\u03CC\u03BB\u03B9\u03AC"), " \u03C3\u03B1\u03C2 \u03B8\u03B1 \u03BC\u03B1\u03C2 \u03B2\u03BF\u03B7\u03B8\u03AE\u03C3\u03BF\u03C5\u03BD \u03BD\u03B1 \u03C4\u03B7 \u03B2\u03B5\u03BB\u03C4\u03B9\u03CE\u03C3\u03BF\u03C5\u03BC\u03B5."));
|
|
53
|
+
})), /* @__PURE__ */ import_react.default.createElement(import_Heading.default, { size: "lg" }, title), /* @__PURE__ */ import_react.default.createElement(import_typography.Paragraph, null, description), link && /* @__PURE__ */ import_react.default.createElement(import_Link.default, { href: link }, "View on GOV.GR Design System"), /* @__PURE__ */ import_react.default.createElement(import_SectionBreak.default, null)), Object.keys(stories).filter((story) => story !== "default").map((story, index) => {
|
|
54
|
+
const Component = stories[story];
|
|
55
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { key: index }, /* @__PURE__ */ import_react.default.createElement(import_SectionBreak.default, null), /* @__PURE__ */ import_react.default.createElement(import_Heading.default, { size: "sm" }, story), /* @__PURE__ */ import_react.default.createElement(import_KitchenSinkCard.KitchenSinkCard, null, /* @__PURE__ */ import_react.default.createElement(Component, null)));
|
|
54
56
|
}));
|
|
55
|
-
};
|
|
57
|
+
};
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
KitchensinkComponent
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=KitchensinkComponent.js.map
|