@redneckz/wildless-cms-uni-blocks 0.12.6 → 0.12.8
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/bin/migration-scripts/0.12.7.js +20 -0
- package/bin/migration-scripts/0.12.8.js +45 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +145 -111
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +4 -0
- package/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/bundle/components/Carousel/itemsGap.d.ts +1 -1
- package/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
- package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/bundle/components/Header/HeaderContent.d.ts +1 -13
- package/bundle/components/Header/HeaderTop.d.ts +1 -3
- package/bundle/components/Headline/HeadlineContent.d.ts +1 -2
- package/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/bundle/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/bundle/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/bundle/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/bundle/content-page-repository/transformDocument.d.ts +3 -0
- package/bundle/hooks/useRouter.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +2 -2
- package/bundle/model/Attachment.d.ts +4 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/bundle/ui-kit/Text/TextProps.d.ts +2 -2
- package/dist/components/ApplicationForm/Footnote.js +1 -1
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/InputControl.js +1 -1
- package/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/ApplicationForm/SelectControl.js +1 -1
- package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.mobile.js +8 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -1
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +2 -2
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/UnknownRate.js +1 -1
- package/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/dist/components/Calculator/renderFootnote.js +1 -1
- package/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -1
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +19 -7
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +4 -0
- package/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/dist/components/Carousel/itemsGap.d.ts +1 -1
- package/dist/components/Carousel/itemsGap.js +1 -1
- package/dist/components/Carousel/itemsGap.js.map +1 -1
- package/dist/components/Carousel/renderControlButtons.d.ts +11 -0
- package/dist/components/Carousel/renderControlButtons.js +13 -0
- package/dist/components/Carousel/renderControlButtons.js.map +1 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +9 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/Footer/Contacts.js +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -2
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +1 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/DropdownMenu.js +1 -1
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +2 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +1 -13
- package/dist/components/Header/HeaderTop.d.ts +1 -3
- package/dist/components/Header/HeaderTop.js +10 -5
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +1 -2
- package/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/dist/components/Headline/headlineVersionStyles.js +11 -5
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/dist/components/LinkDocs/LinkDocItem.js +20 -0
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocs.js +16 -4
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/dist/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/dist/components/LinkDocs/linkIconStyle.js +4 -0
- package/dist/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.js +4 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.js.map +1 -0
- package/dist/components/MobileAppTile/renderList.js +1 -1
- package/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.js +1 -1
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/renderFunctions.js +4 -3
- package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -1
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +15 -5
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformDocument.d.ts +3 -0
- package/{mobile/dist/content-page-repository/transformDocumentLink.js → dist/content-page-repository/transformDocument.js} +11 -11
- package/dist/content-page-repository/transformDocument.js.map +1 -0
- package/dist/hooks/useRouter.d.ts +1 -0
- package/dist/hooks/useRouter.js +3 -0
- package/dist/hooks/useRouter.js.map +1 -1
- package/dist/icons/IconName.d.ts +2 -2
- package/dist/icons/IconName.js +1 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/Attachment.d.ts +4 -0
- package/dist/model/Attachment.js +2 -0
- package/dist/model/Attachment.js.map +1 -0
- package/dist/setup-fixture.js +4 -1
- package/dist/setup-fixture.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.js +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js +2 -3
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/dist/ui-kit/Tags/Tags.js +1 -1
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +2 -2
- package/dist/ui-kit/TopItem/TopItem.js +2 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/Footnote.js +1 -1
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/InputControl.js +1 -1
- package/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/ApplicationForm/SelectControl.js +1 -1
- package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.mobile.js +8 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -1
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +2 -2
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/UnknownRate.js +1 -1
- package/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.js +1 -1
- package/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -1
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +7 -4
- package/lib/components/Carousel/Carousel.js +19 -7
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +4 -0
- package/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/lib/components/Carousel/itemsGap.d.ts +1 -1
- package/lib/components/Carousel/itemsGap.js +1 -1
- package/lib/components/Carousel/itemsGap.js.map +1 -1
- package/lib/components/Carousel/renderControlButtons.d.ts +10 -0
- package/lib/components/Carousel/renderControlButtons.js +10 -0
- package/lib/components/Carousel/renderControlButtons.js.map +1 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +7 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/Footer/Contacts.js +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -2
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/DropdownMenu.js +1 -1
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.fixture.mobile.d.ts +0 -2
- package/lib/components/Header/Header.mobile.js +2 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +1 -13
- package/lib/components/Header/HeaderTop.d.ts +1 -3
- package/lib/components/Header/HeaderTop.js +10 -5
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +1 -2
- package/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/lib/components/Headline/headlineVersionStyles.js +11 -5
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/{mobile/lib/components/LinkDocs/LinkDocsListItem.js → lib/components/LinkDocs/LinkDocItem.js} +2 -5
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocs.js +16 -4
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/lib/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/lib/components/LinkDocs/linkIconStyle.js +2 -0
- package/lib/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.js +2 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.js.map +1 -0
- package/lib/components/MobileAppTile/renderList.js +1 -1
- package/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.js +1 -1
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/renderFunctions.js +4 -3
- package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -1
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/content-page-repository/transformContentPage.js +15 -5
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformDocument.d.ts +3 -0
- package/{mobile/lib/content-page-repository/transformDocumentLink.js → lib/content-page-repository/transformDocument.js} +9 -9
- package/lib/content-page-repository/transformDocument.js.map +1 -0
- package/lib/hooks/useRouter.d.ts +1 -0
- package/lib/hooks/useRouter.js +3 -0
- package/lib/hooks/useRouter.js.map +1 -1
- package/lib/icons/IconName.d.ts +2 -2
- package/lib/icons/IconName.js +1 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/Attachment.d.ts +4 -0
- package/lib/model/Attachment.js +2 -0
- package/lib/model/Attachment.js.map +1 -0
- package/lib/setup-fixture.js +4 -1
- package/lib/setup-fixture.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.js +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js +2 -3
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/lib/ui-kit/Tags/Tags.js +1 -1
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +2 -2
- package/lib/ui-kit/TopItem/TopItem.js +2 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +146 -40
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/bundle/components/Header/HeaderContent.d.ts +1 -13
- package/mobile/bundle/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/bundle/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/bundle/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformDocument.d.ts +3 -0
- package/mobile/bundle/hooks/useRouter.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +2 -2
- package/mobile/bundle/model/Attachment.d.ts +4 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +8 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +2 -2
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.js +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -1
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +19 -7
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/dist/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/dist/components/Carousel/renderControlButtons.js +13 -0
- package/mobile/dist/components/Carousel/renderControlButtons.js.map +1 -0
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.js +2 -2
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -2
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +1 -13
- package/mobile/dist/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/dist/components/Header/HeaderTop.js +10 -5
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.js +11 -5
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/mobile/dist/components/LinkDocs/LinkDocItem.js +20 -0
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js +19 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/dist/components/LinkDocs/linkIconStyle.js +4 -0
- package/mobile/dist/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.js +4 -3
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +15 -5
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocument.d.ts +3 -0
- package/{dist/content-page-repository/transformDocumentLink.js → mobile/dist/content-page-repository/transformDocument.js} +11 -11
- package/mobile/dist/content-page-repository/transformDocument.js.map +1 -0
- package/mobile/dist/hooks/useRouter.d.ts +1 -0
- package/mobile/dist/hooks/useRouter.js +3 -0
- package/mobile/dist/hooks/useRouter.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +2 -2
- package/mobile/dist/icons/IconName.js +1 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/Attachment.d.ts +4 -0
- package/mobile/dist/model/Attachment.js +2 -0
- package/mobile/dist/model/Attachment.js.map +1 -0
- package/mobile/dist/setup-fixture.js +4 -1
- package/mobile/dist/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js +2 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +8 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +2 -2
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.js +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -1
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +19 -7
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/lib/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/lib/components/Carousel/renderControlButtons.js +10 -0
- package/mobile/lib/components/Carousel/renderControlButtons.js.map +1 -0
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.js +2 -2
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -2
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +2 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +1 -13
- package/mobile/lib/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/lib/components/Header/HeaderTop.js +10 -5
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.js +11 -5
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/{lib/components/LinkDocs/LinkDocsListItem.js → mobile/lib/components/LinkDocs/LinkDocItem.js} +2 -5
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js +19 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/lib/components/LinkDocs/linkIconStyle.js +2 -0
- package/mobile/lib/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.js +4 -3
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +15 -5
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocument.d.ts +3 -0
- package/{lib/content-page-repository/transformDocumentLink.js → mobile/lib/content-page-repository/transformDocument.js} +9 -9
- package/mobile/lib/content-page-repository/transformDocument.js.map +1 -0
- package/mobile/lib/hooks/useRouter.d.ts +1 -0
- package/mobile/lib/hooks/useRouter.js +3 -0
- package/mobile/lib/hooks/useRouter.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +2 -2
- package/mobile/lib/icons/IconName.js +1 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/Attachment.d.ts +4 -0
- package/mobile/lib/model/Attachment.js +2 -0
- package/mobile/lib/model/Attachment.js.map +1 -0
- package/mobile/lib/setup-fixture.js +4 -1
- package/mobile/lib/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js +2 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationForm/InputControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/mobile/src/components/ApplicationForm/SelectControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +8 -0
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +4 -1
- package/mobile/src/components/Calculator/Calculator.tsx +2 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/mobile/src/components/Calculator/Rate.tsx +1 -1
- package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
- package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
- package/mobile/src/components/Calculator/renderProposal.tsx +6 -1
- package/mobile/src/components/Carousel/Carousel.tsx +21 -29
- package/mobile/src/components/Carousel/CarouselContent.ts +4 -0
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/mobile/src/components/Carousel/renderControlButtons.tsx +24 -0
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +14 -76
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/mobile/src/components/Footer/Contacts.tsx +2 -2
- package/mobile/src/components/Footer/TextInformation.tsx +1 -2
- package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +1 -7
- package/mobile/src/components/Header/HeaderContent.ts +1 -15
- package/mobile/src/components/Header/HeaderTop.tsx +41 -50
- package/mobile/src/components/Headline/Headline.example.json +1 -11
- package/mobile/src/components/Headline/Headline.tsx +1 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -3
- package/mobile/src/components/Headline/headlineVersionStyles.ts +13 -6
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +44 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +65 -36
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +8 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +34 -6
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +20 -8
- package/mobile/src/components/LinkDocs/linkIconStyle.ts +1 -0
- package/mobile/src/components/MobileAppTile/renderList.tsx +2 -2
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +8 -7
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
- package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +5 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
- package/mobile/src/content-page-repository/transformContentPage.ts +17 -7
- package/{src/content-page-repository/transformDocumentLink.ts → mobile/src/content-page-repository/transformDocument.ts} +11 -11
- package/mobile/src/hooks/useRouter.ts +4 -0
- package/mobile/src/icons/ChevronLeft.svg +1 -1
- package/mobile/src/icons/IconName.ts +2 -2
- package/mobile/src/model/Attachment.ts +4 -0
- package/mobile/src/setup-fixture.ts +4 -1
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +3 -1
- package/mobile/src/ui-kit/Text/TextProps.ts +1 -13
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/src/components/ApplicationForm/InputControl.tsx +1 -1
- package/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
- package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/src/components/ApplicationForm/SelectControl.tsx +1 -1
- package/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +8 -0
- package/src/components/BusinessBlock/BusinessCard.tsx +4 -1
- package/src/components/Calculator/Calculator.tsx +2 -2
- package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/src/components/Calculator/Rate.tsx +1 -1
- package/src/components/Calculator/UnknownRate.tsx +2 -2
- package/src/components/Calculator/renderFootnote.tsx +1 -1
- package/src/components/Calculator/renderProposal.tsx +6 -1
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +173 -35
- package/src/components/Carousel/Carousel.fixture.tsx +6 -1
- package/src/components/Carousel/Carousel.tsx +21 -29
- package/src/components/Carousel/CarouselContent.ts +4 -0
- package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/src/components/Carousel/itemsGap.ts +1 -1
- package/src/components/Carousel/renderControlButtons.tsx +24 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.tsx +18 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +8 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +23 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +4 -3
- package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Footer/TextInformation.tsx +1 -2
- package/src/components/Footer/TextInformationLink.tsx +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/DropdownMenu.tsx +1 -1
- package/src/components/Header/Header.fixture.mobile.tsx +0 -5
- package/src/components/Header/Header.mobile.tsx +1 -7
- package/src/components/Header/HeaderContent.ts +1 -15
- package/src/components/Header/HeaderTop.tsx +41 -50
- package/src/components/Headline/Headline.example.json +1 -11
- package/src/components/Headline/Headline.tsx +1 -0
- package/src/components/Headline/HeadlineContent.ts +1 -3
- package/src/components/Headline/headlineVersionStyles.ts +13 -6
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +3 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/LinkDocs/LinkDocItem.tsx +44 -0
- package/src/components/LinkDocs/LinkDocs.example.json +4 -0
- package/src/components/LinkDocs/LinkDocs.tsx +58 -36
- package/src/components/LinkDocs/LinkDocs.ui.json +8 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +34 -6
- package/src/components/LinkDocs/linkDocsContentExample.ts +20 -8
- package/src/components/LinkDocs/linkIconStyle.mobile.ts +1 -0
- package/src/components/LinkDocs/linkIconStyle.ts +1 -0
- package/src/components/MobileAppTile/renderList.tsx +2 -2
- package/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/src/components/OfficeMap/renderFunctions.tsx +8 -7
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
- package/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
- package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -1
- package/src/components/TariffsTable/TableTileHeader.tsx +5 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +4 -4
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -3
- package/src/content-page-repository/transformContentPage.ts +17 -7
- package/{mobile/src/content-page-repository/transformDocumentLink.ts → src/content-page-repository/transformDocument.ts} +11 -11
- package/src/hooks/useRouter.ts +4 -0
- package/src/icons/ChevronLeft.svg +1 -1
- package/src/icons/IconName.ts +386 -6
- package/src/model/Attachment.ts +4 -0
- package/src/setup-fixture.ts +4 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/Logo/Logo.tsx +13 -14
- package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/Tags/Tags.tsx +3 -1
- package/src/ui-kit/Text/TextProps.ts +1 -13
- package/src/ui-kit/TopItem/TopItem.tsx +2 -1
- package/tailwind.config.cjs +1 -1
- package/bundle/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
- package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/bundle/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/dist/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/dist/components/Carousel/itemsGap.mobile.js +0 -4
- package/dist/components/Carousel/itemsGap.mobile.js.map +0 -1
- package/dist/components/Footer/textInformationTextSize.d.ts +0 -1
- package/dist/components/Footer/textInformationTextSize.js +0 -4
- package/dist/components/Footer/textInformationTextSize.js.map +0 -1
- package/dist/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/dist/components/Footer/textInformationTextSize.mobile.js +0 -4
- package/dist/components/Footer/textInformationTextSize.mobile.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/dist/components/LinkDocs/LinkDocs.mobile.js +0 -10
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/dist/components/LinkDocs/LinkDocsListItem.js +0 -23
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/dist/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/dist/content-page-repository/transformDocumentLink.js.map +0 -1
- package/lib/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/lib/components/Carousel/itemsGap.mobile.js +0 -2
- package/lib/components/Carousel/itemsGap.mobile.js.map +0 -1
- package/lib/components/Footer/textInformationTextSize.d.ts +0 -1
- package/lib/components/Footer/textInformationTextSize.js +0 -2
- package/lib/components/Footer/textInformationTextSize.js.map +0 -1
- package/lib/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/lib/components/Footer/textInformationTextSize.mobile.js +0 -2
- package/lib/components/Footer/textInformationTextSize.mobile.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/lib/components/LinkDocs/LinkDocs.mobile.js +0 -8
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/lib/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/lib/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/dist/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/dist/components/Footer/textInformationTextSize.js +0 -4
- package/mobile/dist/components/Footer/textInformationTextSize.js.map +0 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +0 -23
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/lib/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/lib/components/Footer/textInformationTextSize.js +0 -2
- package/mobile/lib/components/Footer/textInformationTextSize.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/src/components/Footer/textInformationTextSize.ts +0 -1
- package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +0 -49
- package/src/components/Carousel/itemsGap.mobile.ts +0 -1
- package/src/components/Footer/textInformationTextSize.mobile.ts +0 -1
- package/src/components/Footer/textInformationTextSize.ts +0 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -52
- package/src/components/LinkDocs/LinkDocsListItem.tsx +0 -49
package/src/ui-kit/Logo/Logo.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { LogoType } from '../../model/LogoType';
|
|
3
3
|
import { renderImage } from './renderImage';
|
|
4
4
|
import { renderTitle } from './renderTitle';
|
|
5
|
+
import { style } from '../../utils/style';
|
|
5
6
|
|
|
6
7
|
export interface LogoProps {
|
|
7
8
|
className: string;
|
|
@@ -15,23 +16,21 @@ export interface LogoProps {
|
|
|
15
16
|
export const Logo = JSX<Partial<LogoProps>>(
|
|
16
17
|
({
|
|
17
18
|
className = '',
|
|
18
|
-
href,
|
|
19
|
+
href = '/',
|
|
19
20
|
logo,
|
|
20
21
|
children = logo?.title,
|
|
21
22
|
targetBlank,
|
|
22
23
|
bgColor = 'bg-white',
|
|
23
24
|
showTitle = true,
|
|
24
|
-
}) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
);
|
|
36
|
-
},
|
|
25
|
+
}) => (
|
|
26
|
+
<a
|
|
27
|
+
className={style('inline-flex items-center font-sans no-underline', className)}
|
|
28
|
+
href={href}
|
|
29
|
+
target={targetBlank ? '_blank' : '_self'}
|
|
30
|
+
aria-label={logo?.title || 'Россельхозбанк'}
|
|
31
|
+
>
|
|
32
|
+
{renderImage(bgColor, logo?.image, { width: '40', height: '45' })}
|
|
33
|
+
{showTitle ? renderTitle(children || logo?.title, bgColor) : null}
|
|
34
|
+
</a>
|
|
35
|
+
),
|
|
37
36
|
);
|
|
@@ -56,7 +56,7 @@ const ColumnItem = JSX<ColumnItemProps>(({ text, index, basePath, ...rest }) =>
|
|
|
56
56
|
return (
|
|
57
57
|
<a
|
|
58
58
|
className={style(
|
|
59
|
-
'text-l-light text-secondary-text hover:text-primary-main no-underline',
|
|
59
|
+
'text-l font-light text-secondary-text hover:text-primary-main no-underline',
|
|
60
60
|
'overflow-x-hidden overflow-ellipsis whitespace-nowrap',
|
|
61
61
|
)}
|
|
62
62
|
href={href}
|
|
@@ -18,7 +18,7 @@ const dotStyle =
|
|
|
18
18
|
|
|
19
19
|
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
20
20
|
|
|
21
|
-
interface SwipeListControlDotsProps {
|
|
21
|
+
export interface SwipeListControlDotsProps {
|
|
22
22
|
containerRef?: { current: HTMLDivElement | null };
|
|
23
23
|
activeIndex?: number;
|
|
24
24
|
dotCount?: number;
|
package/src/ui-kit/Tags/Tags.tsx
CHANGED
|
@@ -3,18 +3,7 @@ import type { BlockVersionMolecule } from '../../model/BlockVersion';
|
|
|
3
3
|
/**
|
|
4
4
|
* @title Размер текста
|
|
5
5
|
*/
|
|
6
|
-
export type TextSize =
|
|
7
|
-
| ''
|
|
8
|
-
| 'text-xs'
|
|
9
|
-
| 'text-xs-light'
|
|
10
|
-
| 'text-s-light'
|
|
11
|
-
| 'text-s'
|
|
12
|
-
| 'text-m-light'
|
|
13
|
-
| 'text-m'
|
|
14
|
-
| 'text-l-light'
|
|
15
|
-
| 'text-l'
|
|
16
|
-
| 'text-xl-light'
|
|
17
|
-
| 'text-xl';
|
|
6
|
+
export type TextSize = '' | 'text-xs' | 'text-s' | 'text-m' | 'text-l' | 'text-xl';
|
|
18
7
|
|
|
19
8
|
/**
|
|
20
9
|
* @title Размер текста
|
|
@@ -23,7 +12,6 @@ export type TitleSize =
|
|
|
23
12
|
| ''
|
|
24
13
|
| 'text-h6'
|
|
25
14
|
| 'text-h5'
|
|
26
|
-
| 'text-h5-light'
|
|
27
15
|
| 'text-h4'
|
|
28
16
|
| 'text-h3'
|
|
29
17
|
| 'text-h2'
|
|
@@ -16,6 +16,7 @@ export interface TopItemProps extends TopItemContent {
|
|
|
16
16
|
|
|
17
17
|
export const TopItem = JSX<TopItemProps>(({ className = '', active, flat, children, ...rest }) => {
|
|
18
18
|
const link = useLink({ isRemote: true });
|
|
19
|
+
console.log('link', link);
|
|
19
20
|
const { href, target, text, onClick } = link(rest);
|
|
20
21
|
|
|
21
22
|
return (
|
|
@@ -43,7 +44,7 @@ const getLinkStyle = (active = false, flat = false) =>
|
|
|
43
44
|
|
|
44
45
|
const getTextStyle = (active = false, flat = false) =>
|
|
45
46
|
style(
|
|
46
|
-
'font-sans text-s-light',
|
|
47
|
+
'font-sans text-s font-light',
|
|
47
48
|
active
|
|
48
49
|
? 'text-primary-main'
|
|
49
50
|
: style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'),
|
package/tailwind.config.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ITEMS_GAP = 16;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-xs-light";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { LinkDocsContent } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const LinkDocs: import("@redneckz/uni-jsx").UNIComponent<LinkDocsProps, any, any>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ITEMS_GAP = 16;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemsGap.mobile.js","sourceRoot":"","sources":["../../../src/components/Carousel/itemsGap.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-xs-light";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.ts"],"names":[],"mappings":";;AAAa,QAAA,uBAAuB,GAAG,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,uBAAuB,GAAG,QAAQ,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { LinkDocsContent } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const LinkDocs: import("@redneckz/uni-jsx").UNIComponent<LinkDocsProps, any, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocs = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
|
-
const Headline_1 = require("../Headline/Headline");
|
|
8
|
-
const LinkDocsListItem_1 = require("./LinkDocsListItem");
|
|
9
|
-
exports.LinkDocs = (0, uni_jsx_1.JSX)(({ className = '', title, description, icon = { icon: 'DocDownloadIcon', iconVersion: 'black' }, documents, align, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { isPadding: false, title: title, description: description, align: align, headlineVersion: "M" }), documents?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5 flex flex-col gap-6", role: "list", children: documents.map((doc, i) => ((0, jsx_runtime_1.jsx)("div", { role: "listitem", children: (0, jsx_runtime_1.jsx)(LinkDocsListItem_1.LinkDocsListItem, { doc: doc, icon: icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
|
|
10
|
-
//# sourceMappingURL=LinkDocs.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AAEhD,yDAAsD;AAIzC,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,IAAI,GAAG,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EACxD,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,WAAW,KAAK,IAAI,aACrE,uBAAC,mBAAQ,IACP,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,GAAG,GACnB,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,MAAM,YAClD,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,gCAAqB,IAAI,EAAC,UAAU,YAClC,uBAAC,mCAAgB,IACf,GAAG,EAAE,GAAG,EACR,IAAI,EACF,IAAI,CAAC,CAAC,CAAC,CACL,uBAAC,SAAG,IACF,SAAS,EAAC,0DAA0D,EACpE,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,GAEV,IAbM,MAAM,CAAC,CAAC,CAAC,CAcb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsListItem = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ doc, icon }) => {
|
|
7
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? ((0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-l", font: "font-light", children: [text, (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
|
|
9
|
-
});
|
|
10
|
-
const formatSuffix = (ext, fileSize) => {
|
|
11
|
-
const prefix = ext || fileSize ? ',' : '';
|
|
12
|
-
const extension = ext ? ` ${ext}` : '';
|
|
13
|
-
const size = fileSize ? ` (${fileSize})` : '';
|
|
14
|
-
return prefix + extension + size;
|
|
15
|
-
};
|
|
16
|
-
const getExtFromHref = (href) => {
|
|
17
|
-
if (!href) {
|
|
18
|
-
return '';
|
|
19
|
-
}
|
|
20
|
-
const index = href.lastIndexOf('.');
|
|
21
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=LinkDocsListItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAQjC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,+BACE,SAAS,EAAC,qGAAqG,EAC/G,IAAI,EAAC,MAAM,KACP,SAAS,aAEZ,IAAI,EACJ,IAAI,CAAC,CAAC,CAAC,CACN,wBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,IAAI,EACL,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,YAC9B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformDocumentLink.js","sourceRoot":"","sources":["../../src/content-page-repository/transformDocumentLink.ts"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,gDAAwB;AAIxB,MAAM,QAAQ,GAAG,cAAI,CAAC,SAAS,CAAC,YAAE,CAAC,QAAQ,CAAC,CAAC;AAEtC,KAAK,UAAU,qBAAqB,CACzC,IAAe,EACf,QAAgB,EAChB,OAA8B;IAE9B,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC1C,MAAM,KAAK,GAAG,cAAI,CAAC,IAAI,CAAC,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,eAAe,GAAG,cAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErD,IAAI;QACF,MAAM,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KAC/B;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAEtE,OAAO,IAAI,CAAC;KACb;IAED,MAAM,IAAI,GAAG,cAAI,CAAC,IAAI,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAE7C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;KACL,CAAC;AACJ,CAAC;AA5BD,sDA4BC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ITEMS_GAP = 16;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"itemsGap.mobile.js","sourceRoot":"","sources":["../../../src/components/Carousel/itemsGap.mobile.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-xs-light";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.mobile.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { LinkDocsContent } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const LinkDocs: import("@redneckz/uni-jsx").UNIComponent<LinkDocsProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
import { Headline } from '../Headline/Headline.js';
|
|
6
|
-
import { LinkDocsListItem } from './LinkDocsListItem.js';
|
|
7
|
-
export const LinkDocs = JSX(({ className = '', title, description, icon = { icon: 'DocDownloadIcon', iconVersion: 'black' }, documents, align, ...rest }) => (_jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [_jsx(Headline, { isPadding: false, title: title, description: description, align: align, headlineVersion: "M" }), documents?.length ? (_jsx("div", { className: "mt-5 flex flex-col gap-6", role: "list", children: documents.map((doc, i) => (_jsx("div", { role: "listitem", children: _jsx(LinkDocsListItem, { doc: doc, icon: icon ? (_jsx(Img, { className: "min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
|
|
8
|
-
//# sourceMappingURL=LinkDocs.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,IAAI,GAAG,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EACxD,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,WAAW,KAAK,IAAI,aACrE,KAAC,QAAQ,IACP,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,GAAG,GACnB,EACD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,MAAM,YAClD,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACzB,cAAqB,IAAI,EAAC,UAAU,YAClC,KAAC,gBAAgB,IACf,GAAG,EAAE,GAAG,EACR,IAAI,EACF,IAAI,CAAC,CAAC,CAAC,CACL,KAAC,GAAG,IACF,SAAS,EAAC,0DAA0D,EACpE,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,GAEV,IAbM,MAAM,CAAC,CAAC,CAAC,CAcb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAQ9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,aACE,SAAS,EAAC,qGAAqG,EAC/G,IAAI,EAAC,MAAM,KACP,SAAS,aAEZ,IAAI,EACJ,IAAI,CAAC,CAAC,CAAC,CACN,MAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,IAAI,EACL,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,YAC9B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformDocumentLink.js","sourceRoot":"","sources":["../../src/content-page-repository/transformDocumentLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;AAE7C,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,IAAe,EACf,QAAgB,EAChB,OAA8B;IAE9B,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErD,IAAI;QACF,MAAM,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KAC/B;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAEtE,OAAO,IAAI,CAAC;KACb;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAE7C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.ts"],"names":[],"mappings":";;AAAa,QAAA,uBAAuB,GAAG,QAAQ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.LinkDocsListItem = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
exports.LinkDocsListItem = (0, uni_jsx_1.JSX)(({ doc, icon }) => {
|
|
7
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? ((0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-l", font: "font-light", children: [text, (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
|
|
9
|
-
});
|
|
10
|
-
const formatSuffix = (ext, fileSize) => {
|
|
11
|
-
const prefix = ext || fileSize ? ',' : '';
|
|
12
|
-
const extension = ext ? ` ${ext}` : '';
|
|
13
|
-
const size = fileSize ? ` (${fileSize})` : '';
|
|
14
|
-
return prefix + extension + size;
|
|
15
|
-
};
|
|
16
|
-
const getExtFromHref = (href) => {
|
|
17
|
-
if (!href) {
|
|
18
|
-
return '';
|
|
19
|
-
}
|
|
20
|
-
const index = href.lastIndexOf('.');
|
|
21
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=LinkDocsListItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAQjC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,+BACE,SAAS,EAAC,qGAAqG,EAC/G,IAAI,EAAC,MAAM,KACP,SAAS,aAEZ,IAAI,EACJ,IAAI,CAAC,CAAC,CAAC,CACN,wBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,IAAI,EACL,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,YAC9B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformDocumentLink.js","sourceRoot":"","sources":["../../src/content-page-repository/transformDocumentLink.ts"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,gDAAwB;AAIxB,MAAM,QAAQ,GAAG,cAAI,CAAC,SAAS,CAAC,YAAE,CAAC,QAAQ,CAAC,CAAC;AAEtC,KAAK,UAAU,qBAAqB,CACzC,IAAe,EACf,QAAgB,EAChB,OAA8B;IAE9B,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC1C,MAAM,KAAK,GAAG,cAAI,CAAC,IAAI,CAAC,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,eAAe,GAAG,cAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErD,IAAI;QACF,MAAM,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KAC/B;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAEtE,OAAO,IAAI,CAAC;KACb;IAED,MAAM,IAAI,GAAG,cAAI,CAAC,IAAI,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAE7C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;KACL,CAAC;AACJ,CAAC;AA5BD,sDA4BC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const textInformationTextSize = "text-s";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"textInformationTextSize.js","sourceRoot":"","sources":["../../../src/components/Footer/textInformationTextSize.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
3
|
-
export interface LinkDocsListItemProps {
|
|
4
|
-
doc: LinkDocsItem;
|
|
5
|
-
icon?: VNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsListItem.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAQ9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAwB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;IAE7C,OAAO,CACL,aACE,SAAS,EAAC,qGAAqG,EAC/G,IAAI,EAAC,MAAM,KACP,SAAS,aAEZ,IAAI,EACJ,IAAI,CAAC,CAAC,CAAC,CACN,MAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,IAAI,EACL,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,YAC9B,SAAS,EAAE,IAAI,IAAI,YAAY,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,GACrE,IACF,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,QAAiB,EAAE,EAAE;IACvD,MAAM,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IAE9C,OAAO,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,EAAE,CAAC;KACX;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAEpC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AACvD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformDocumentLink.js","sourceRoot":"","sources":["../../src/content-page-repository/transformDocumentLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AAIxB,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;AAE7C,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,IAAe,EACf,QAAgB,EAChB,OAA8B;IAE9B,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC;IAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC3D,MAAM,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACzD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErD,IAAI;QACF,MAAM,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KAC/B;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,IAAI,CAAC,OAAO,KAAK,gCAAgC,QAAQ,GAAG,CAAC,CAAC;QAEtE,OAAO,IAAI,CAAC;KACb;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAE7C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const textInformationTextSize = 'text-s';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { VNode } from '../../model/VNode';
|
|
3
|
-
import { Text } from '../../ui-kit/Text/Text';
|
|
4
|
-
import type { LinkDocsItem } from './LinkDocsContent';
|
|
5
|
-
|
|
6
|
-
export interface LinkDocsListItemProps {
|
|
7
|
-
doc: LinkDocsItem;
|
|
8
|
-
icon?: VNode;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export const LinkDocsListItem = JSX<LinkDocsListItemProps>(({ doc, icon }) => {
|
|
12
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<a
|
|
16
|
-
className="flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main"
|
|
17
|
-
role="link"
|
|
18
|
-
{...linkProps}
|
|
19
|
-
>
|
|
20
|
-
{icon}
|
|
21
|
-
{text ? (
|
|
22
|
-
<Text size="text-l" font="font-light">
|
|
23
|
-
{text}
|
|
24
|
-
<Text color="text-secondary-text">
|
|
25
|
-
{linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize)}
|
|
26
|
-
</Text>
|
|
27
|
-
</Text>
|
|
28
|
-
) : null}
|
|
29
|
-
</a>
|
|
30
|
-
);
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
const formatSuffix = (ext?: string, fileSize?: string) => {
|
|
34
|
-
const prefix = ext || fileSize ? ',' : '';
|
|
35
|
-
const extension = ext ? ` ${ext}` : '';
|
|
36
|
-
const size = fileSize ? ` (${fileSize})` : '';
|
|
37
|
-
|
|
38
|
-
return prefix + extension + size;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
const getExtFromHref = (href: string) => {
|
|
42
|
-
if (!href) {
|
|
43
|
-
return '';
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const index = href.lastIndexOf('.');
|
|
47
|
-
|
|
48
|
-
return index !== -1 ? href.substring(index + 1) : '';
|
|
49
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const ITEMS_GAP = 16;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const textInformationTextSize = 'text-s';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const textInformationTextSize = 'text-xs-light';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
-
import { Img } from '../../ui-kit/Img/Img';
|
|
5
|
-
import { Headline } from '../Headline/Headline';
|
|
6
|
-
import type { LinkDocsContent } from './LinkDocsContent';
|
|
7
|
-
import { LinkDocsListItem } from './LinkDocsListItem';
|
|
8
|
-
|
|
9
|
-
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {}
|
|
10
|
-
|
|
11
|
-
export const LinkDocs = JSX<LinkDocsProps>(
|
|
12
|
-
({
|
|
13
|
-
className = '',
|
|
14
|
-
title,
|
|
15
|
-
description,
|
|
16
|
-
icon = { icon: 'DocDownloadIcon', iconVersion: 'black' },
|
|
17
|
-
documents,
|
|
18
|
-
align,
|
|
19
|
-
...rest
|
|
20
|
-
}) => (
|
|
21
|
-
<BlockWrapper className={className} defaultPadding="p-default" {...rest}>
|
|
22
|
-
<Headline
|
|
23
|
-
isPadding={false}
|
|
24
|
-
title={title}
|
|
25
|
-
description={description}
|
|
26
|
-
align={align}
|
|
27
|
-
headlineVersion="M"
|
|
28
|
-
/>
|
|
29
|
-
{documents?.length ? (
|
|
30
|
-
<div className="mt-5 flex flex-col gap-6" role="list">
|
|
31
|
-
{documents.map((doc, i) => (
|
|
32
|
-
<div key={String(i)} role="listitem">
|
|
33
|
-
<LinkDocsListItem
|
|
34
|
-
doc={doc}
|
|
35
|
-
icon={
|
|
36
|
-
icon ? (
|
|
37
|
-
<Img
|
|
38
|
-
className="min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md"
|
|
39
|
-
image={icon}
|
|
40
|
-
width="24"
|
|
41
|
-
height="24"
|
|
42
|
-
/>
|
|
43
|
-
) : null
|
|
44
|
-
}
|
|
45
|
-
/>
|
|
46
|
-
</div>
|
|
47
|
-
))}
|
|
48
|
-
</div>
|
|
49
|
-
) : null}
|
|
50
|
-
</BlockWrapper>
|
|
51
|
-
),
|
|
52
|
-
);
|