@dnanpm/styleguide 2.2.3 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/components/Accordion/Accordion.d.ts +2 -2
- package/build/cjs/components/Accordion/Accordion.js +29 -9
- package/build/cjs/components/{Accordion → AccordionItem}/AccordionItem.d.ts +15 -4
- package/build/cjs/components/AccordionItem/AccordionItem.js +85 -0
- package/build/cjs/components/AmountSelector/AmountSelector.d.ts +6 -6
- package/build/cjs/components/AmountSelector/AmountSelector.js +87 -35
- package/build/cjs/components/Box/Box.d.ts +65 -0
- package/build/cjs/components/Box/Box.js +51 -0
- package/build/cjs/components/Button/Button.d.ts +100 -0
- package/build/cjs/components/Button/Button.js +133 -0
- package/build/cjs/components/Button/ButtonClose.d.ts +12 -0
- package/build/cjs/components/Button/ButtonClose.js +32 -0
- package/build/cjs/components/Button/ButtonIcon.d.ts +21 -0
- package/build/cjs/components/Button/ButtonIcon.js +93 -0
- package/build/cjs/components/Button/ButtonPrimary.d.ts +5 -0
- package/build/cjs/components/Button/ButtonPrimary.js +58 -0
- package/build/cjs/components/Button/ButtonRound.d.ts +7 -0
- package/build/cjs/components/Button/ButtonRound.js +37 -0
- package/build/cjs/components/Button/ButtonSecondary.d.ts +5 -0
- package/build/cjs/components/Button/ButtonSecondary.js +58 -0
- package/build/cjs/components/Checkbox/Checkbox.d.ts +8 -4
- package/build/cjs/components/Checkbox/Checkbox.js +28 -29
- package/build/cjs/components/DnaLogo/DnaLogo.js +21 -22
- package/build/cjs/components/EmptyState/EmptyState.d.ts +26 -5
- package/build/cjs/components/EmptyState/EmptyState.js +14 -31
- package/build/cjs/components/Footer/Components/FooterComponents.d.ts +1 -1
- package/build/cjs/components/Footer/Components/FooterComponents.js +140 -133
- package/build/cjs/components/Footer/Footer.d.ts +2 -7
- package/build/cjs/components/Footer/Footer.js +36 -46
- package/build/cjs/components/Footer/context/FooterContext.d.ts +7 -2
- package/build/cjs/components/Footer/context/FooterContext.js +4 -3
- package/build/cjs/components/Helper/Helper.js +27 -7
- package/build/cjs/components/Icon/Icon.d.ts +1 -12
- package/build/cjs/components/Icon/Icon.js +10 -11
- package/build/cjs/components/Icons/Small/hlArrowBackSmall.d.ts +1 -9
- package/build/cjs/components/Icons/Small/hlArrowBackSmall.js +4 -14
- package/build/cjs/components/Icons/Small/hlArrowForwardSmall.d.ts +1 -9
- package/build/cjs/components/Icons/Small/hlArrowForwardSmall.js +4 -14
- package/build/cjs/components/Icons/Small/hlArrowUnderSmall.d.ts +1 -5
- package/build/cjs/components/Icons/Small/hlArrowUnderSmall.js +4 -9
- package/build/cjs/components/Icons/Small/hlCalendarSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlChevronDownSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlChevronLeftSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlChevronRightSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlChevronUpSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlClockSmall.js +4 -4
- package/build/cjs/components/Icons/Small/hlDownloadSmall.js +5 -5
- package/build/cjs/components/Icons/Small/hlExternalSmall.js +3 -3
- package/build/cjs/components/Icons/Small/hlUploadSmall.js +5 -5
- package/build/cjs/components/Icons/Social/facebook.js +3 -3
- package/build/cjs/components/Icons/Social/instagram.js +3 -3
- package/build/cjs/components/Icons/Social/linkedin.js +3 -3
- package/build/cjs/components/Icons/Social/tiktok.js +3 -3
- package/build/cjs/components/Icons/Social/twitter.js +3 -3
- package/build/cjs/components/Icons/Social/youtube.js +3 -3
- package/build/cjs/components/Icons/hl404.js +3 -3
- package/build/cjs/components/Icons/hl4gSim.js +3 -3
- package/build/cjs/components/Icons/hl5gSim.js +3 -3
- package/build/cjs/components/Icons/hlBattery.js +5 -5
- package/build/cjs/components/Icons/hlBell.js +3 -3
- package/build/cjs/components/Icons/hlCalendar.js +14 -14
- package/build/cjs/components/Icons/hlCall.js +3 -3
- package/build/cjs/components/Icons/hlCameraBack.js +5 -5
- package/build/cjs/components/Icons/hlCameraFront.js +4 -4
- package/build/cjs/components/Icons/hlCart.js +5 -5
- package/build/cjs/components/Icons/hlCartEmpty.js +5 -5
- package/build/cjs/components/Icons/hlChat.js +6 -6
- package/build/cjs/components/Icons/hlCheck.d.ts +4 -0
- package/build/cjs/components/Icons/hlCheck.js +9 -4
- package/build/cjs/components/Icons/hlChevronDown.js +3 -3
- package/build/cjs/components/Icons/hlChevronLeft.js +3 -3
- package/build/cjs/components/Icons/hlChevronRight.js +3 -3
- package/build/cjs/components/Icons/hlChevronUp.js +3 -3
- package/build/cjs/components/Icons/hlCompensation.js +3 -3
- package/build/cjs/components/Icons/hlCookie.js +3 -3
- package/build/cjs/components/Icons/hlCopy.js +4 -4
- package/build/cjs/components/Icons/hlCoupon.js +5 -5
- package/build/cjs/components/Icons/hlDelivery.js +3 -3
- package/build/cjs/components/Icons/hlDigiturva.js +3 -3
- package/build/cjs/components/Icons/hlDisplaySize.js +5 -5
- package/build/cjs/components/Icons/hlDocument.js +4 -4
- package/build/cjs/components/Icons/hlDownload.js +5 -5
- package/build/cjs/components/Icons/hlEnvelope.js +3 -3
- package/build/cjs/components/Icons/hlError.js +5 -5
- package/build/cjs/components/Icons/hlEuro.js +3 -3
- package/build/cjs/components/Icons/hlExclamationMark.js +3 -3
- package/build/cjs/components/Icons/hlExpand.js +3 -3
- package/build/cjs/components/Icons/hlExternal.js +3 -3
- package/build/cjs/components/Icons/hlEyeClosed.js +3 -3
- package/build/cjs/components/Icons/hlEyeOpen.js +4 -4
- package/build/cjs/components/Icons/hlFaceId.js +3 -3
- package/build/cjs/components/Icons/hlFastDelivery.js +3 -3
- package/build/cjs/components/Icons/hlFingerprint.js +7 -7
- package/build/cjs/components/Icons/hlGlobe.js +3 -3
- package/build/cjs/components/Icons/hlHeadphones.js +3 -3
- package/build/cjs/components/Icons/hlHeadset.js +5 -5
- package/build/cjs/components/Icons/hlHeart.js +3 -3
- package/build/cjs/components/Icons/hlHome.js +3 -3
- package/build/cjs/components/Icons/hlImage.js +3 -3
- package/build/cjs/components/Icons/hlInfo.js +5 -5
- package/build/cjs/components/Icons/hlInstallment.js +4 -4
- package/build/cjs/components/Icons/hlIotSim.js +4 -4
- package/build/cjs/components/Icons/hlLock.js +5 -5
- package/build/cjs/components/Icons/hlMagnifyingGlass.js +4 -4
- package/build/cjs/components/Icons/hlMarker.d.ts +1 -1
- package/build/cjs/components/Icons/hlMarker.js +4 -4
- package/build/cjs/components/Icons/hlMemory.js +4 -4
- package/build/cjs/components/Icons/hlMenu.js +3 -3
- package/build/cjs/components/Icons/hlMinimize.js +3 -3
- package/build/cjs/components/Icons/hlMinus.js +3 -3
- package/build/cjs/components/Icons/hlMobileData.js +3 -3
- package/build/cjs/components/Icons/hlMobilePayment.js +5 -5
- package/build/cjs/components/Icons/hlModem.js +7 -7
- package/build/cjs/components/Icons/hlMore.js +5 -5
- package/build/cjs/components/Icons/hlOs.js +4 -4
- package/build/cjs/components/Icons/hlPackage.js +3 -3
- package/build/cjs/components/Icons/hlPaperclip.js +3 -3
- package/build/cjs/components/Icons/hlPaytime.js +3 -3
- package/build/cjs/components/Icons/hlPen.js +3 -3
- package/build/cjs/components/Icons/hlPerson.js +3 -3
- package/build/cjs/components/Icons/hlPhone.js +4 -4
- package/build/cjs/components/Icons/hlPlus.js +4 -4
- package/build/cjs/components/Icons/hlPrepaid.js +3 -3
- package/build/cjs/components/Icons/hlProcessor.js +4 -4
- package/build/cjs/components/Icons/hlServices.js +3 -3
- package/build/cjs/components/Icons/hlSettings.js +3 -3
- package/build/cjs/components/Icons/hlShield.js +4 -4
- package/build/cjs/components/Icons/hlSim.js +4 -4
- package/build/cjs/components/Icons/hlSimSimple.js +5 -5
- package/build/cjs/components/Icons/hlSmile.js +6 -6
- package/build/cjs/components/Icons/hlSpeechBubble.js +4 -4
- package/build/cjs/components/Icons/hlSquaretrade.js +3 -3
- package/build/cjs/components/Icons/hlStar.js +3 -3
- package/build/cjs/components/Icons/hlStarFilled.js +3 -3
- package/build/cjs/components/Icons/hlTrash.js +4 -4
- package/build/cjs/components/Icons/hlTv.js +3 -3
- package/build/cjs/components/Icons/hlUnlock.js +4 -4
- package/build/cjs/components/Icons/hlUpload.js +5 -5
- package/build/cjs/components/Icons/hlWarning.js +5 -5
- package/build/cjs/components/Icons/hlWifi.js +5 -5
- package/build/cjs/components/Icons/hlWrench.d.ts +4 -0
- package/build/cjs/components/Icons/hlWrench.js +18 -0
- package/build/cjs/components/Icons/hlX.js +3 -3
- package/build/cjs/components/Icons/index.d.ts +20 -19
- package/build/cjs/components/Icons/index.js +123 -125
- package/build/cjs/components/Input/Input.d.ts +9 -10
- package/build/cjs/components/Input/Input.js +75 -62
- package/build/cjs/components/Label/Label.d.ts +9 -15
- package/build/cjs/components/Label/Label.js +19 -11
- package/build/cjs/components/LabelText/LabelText.d.ts +41 -101
- package/build/cjs/components/LabelText/LabelText.js +26 -7
- package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.d.ts +2 -1
- package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.js +20 -18
- package/build/cjs/components/MainNavigation/ChildComponents/DesktopMenu.js +85 -101
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +92 -29
- package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +45 -44
- package/build/cjs/components/MainNavigation/ChildComponents/LanguageSelector.js +20 -50
- package/build/cjs/components/MainNavigation/ChildComponents/LinkModifier.js +7 -7
- package/build/cjs/components/MainNavigation/ChildComponents/LoginTooltip.js +7 -7
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -12
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +31 -57
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +93 -30
- package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +9 -10
- package/build/cjs/components/MainNavigation/ChildComponents/MinicartTooltip.js +9 -19
- package/build/cjs/components/MainNavigation/ChildComponents/MobileMenu.js +57 -57
- package/build/cjs/components/MainNavigation/ChildComponents/PageSearch.js +7 -7
- package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.d.ts +1 -2
- package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.js +25 -25
- package/build/cjs/components/MainNavigation/MainNavigation.d.ts +1 -2
- package/build/cjs/components/MainNavigation/MainNavigation.js +31 -39
- package/build/cjs/components/MainNavigation/context/MobileMenuContext.js +2 -2
- package/build/cjs/components/MainNavigation/context/NavContext.js +2 -2
- package/build/cjs/components/MainNavigation/globalNavStyles.d.ts +368 -116
- package/build/cjs/components/MainNavigation/globalNavStyles.js +13 -12
- package/build/cjs/components/Modal/Modal.d.ts +63 -13
- package/build/cjs/components/Modal/Modal.js +56 -109
- package/build/cjs/components/Notification/Notification.d.ts +7 -18
- package/build/cjs/components/Notification/Notification.js +25 -32
- package/build/cjs/components/NotificationBadge/NotificationBadge.d.ts +39 -100
- package/build/cjs/components/NotificationBadge/NotificationBadge.js +26 -17
- package/build/cjs/components/Pill/Pill.d.ts +77 -0
- package/build/cjs/components/Pill/Pill.js +89 -0
- package/build/cjs/components/PixelLoader/PixelLoader.d.ts +2 -2
- package/build/cjs/components/PixelLoader/PixelLoader.js +14 -10
- package/build/cjs/components/ProgressIndicator/ProgressIndicator.d.ts +34 -18
- package/build/cjs/components/ProgressIndicator/ProgressIndicator.js +103 -160
- package/build/cjs/components/RadioButton/RadioButton.js +12 -11
- package/build/cjs/components/ReadMore/ReadMore.js +9 -9
- package/build/cjs/components/Search/Search.d.ts +28 -44
- package/build/cjs/components/Search/Search.js +42 -44
- package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.d.ts +49 -9
- package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.js +66 -80
- package/build/cjs/components/Selectbox/Selectbox.d.ts +7 -14
- package/build/cjs/components/Selectbox/Selectbox.js +86 -57
- package/build/cjs/components/Switch/Switch.d.ts +0 -7
- package/build/cjs/components/Switch/Switch.js +46 -38
- package/build/cjs/components/Tabs/Tab.d.ts +92 -29
- package/build/cjs/components/Tabs/Tab.js +24 -23
- package/build/cjs/components/Tabs/Tabs.d.ts +111 -44
- package/build/cjs/components/Tabs/Tabs.js +12 -11
- package/build/cjs/components/Textarea/Textarea.d.ts +68 -13
- package/build/cjs/components/Textarea/Textarea.js +48 -49
- package/build/cjs/components/Toaster/Toaster.d.ts +44 -0
- package/build/cjs/components/Toaster/Toaster.js +74 -0
- package/build/cjs/components/Tooltip/Tooltip.d.ts +92 -29
- package/build/cjs/components/Tooltip/Tooltip.js +7 -8
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +184 -58
- package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +3 -3
- package/build/cjs/components/TooltipMenu/TooltipMenu.js +21 -21
- package/build/cjs/components/index.d.ts +12 -8
- package/build/cjs/hooks/modifyBodyClass.js +1 -1
- package/build/cjs/hooks/useCloseOutsideOrElementClicked.js +1 -1
- package/build/cjs/hooks/useDebounceFunc.js +22 -2
- package/build/cjs/hooks/useDocHeight.js +22 -2
- package/build/cjs/hooks/useElementDimensions.js +1 -1
- package/build/cjs/hooks/useOutsideClick.js +1 -1
- package/build/cjs/hooks/useScrollPosition.js +3 -3
- package/build/cjs/hooks/useWindowSize.d.ts +4 -0
- package/build/cjs/hooks/useWindowSize.js +31 -0
- package/build/cjs/index.js +175 -402
- package/build/cjs/themes/globalStyles.d.ts +276 -87
- package/build/cjs/themes/globalStyles.js +81 -76
- package/build/cjs/themes/gridTheme.js +1 -1
- package/build/cjs/themes/styled.d.ts +644 -203
- package/build/cjs/themes/styled.js +2 -2
- package/build/cjs/themes/theme.d.ts +92 -29
- package/build/cjs/themes/theme.js +14 -14
- package/build/cjs/themes/themeComponents/base.js +1 -1
- package/build/cjs/themes/themeComponents/breakpoints.js +1 -1
- package/build/cjs/themes/themeComponents/color.d.ts +88 -0
- package/build/cjs/themes/themeComponents/color.js +89 -0
- package/build/cjs/themes/themeComponents/fontFamily.js +1 -1
- package/build/cjs/themes/themeComponents/fontSize.js +1 -1
- package/build/cjs/themes/themeComponents/fontWeight.d.ts +12 -0
- package/build/cjs/themes/themeComponents/fontWeight.js +13 -1
- package/build/cjs/themes/themeComponents/forms.js +1 -1
- package/build/cjs/themes/themeComponents/lineHeight.js +1 -1
- package/build/cjs/themes/themeComponents/navigation.d.ts +2 -2
- package/build/cjs/themes/themeComponents/navigation.js +3 -3
- package/build/cjs/themes/themeComponents/radius.d.ts +29 -0
- package/build/cjs/themes/themeComponents/radius.js +34 -0
- package/build/cjs/utils/createStyled.js +3 -5
- package/build/cjs/utils/styledUtils.js +2 -2
- package/build/es/components/Accordion/Accordion.d.ts +2 -2
- package/build/es/components/Accordion/Accordion.js +29 -10
- package/build/es/components/{Accordion → AccordionItem}/AccordionItem.d.ts +15 -4
- package/build/es/components/AccordionItem/AccordionItem.js +76 -0
- package/build/es/components/AmountSelector/AmountSelector.d.ts +6 -6
- package/build/es/components/AmountSelector/AmountSelector.js +83 -31
- package/build/es/components/Box/Box.d.ts +65 -0
- package/build/es/components/Box/Box.js +42 -0
- package/build/es/components/Button/Button.d.ts +100 -0
- package/build/es/components/Button/Button.js +123 -0
- package/build/es/components/Button/ButtonClose.d.ts +12 -0
- package/build/es/components/Button/ButtonClose.js +24 -0
- package/build/es/components/Button/ButtonIcon.d.ts +21 -0
- package/build/es/components/Button/ButtonIcon.js +84 -0
- package/build/es/components/Button/ButtonPrimary.d.ts +5 -0
- package/build/es/components/Button/ButtonPrimary.js +50 -0
- package/build/es/components/Button/ButtonRound.d.ts +7 -0
- package/build/es/components/Button/ButtonRound.js +28 -0
- package/build/es/components/Button/ButtonSecondary.d.ts +5 -0
- package/build/es/components/Button/ButtonSecondary.js +50 -0
- package/build/es/components/Checkbox/Checkbox.d.ts +8 -4
- package/build/es/components/Checkbox/Checkbox.js +25 -26
- package/build/es/components/DnaLogo/DnaLogo.js +21 -22
- package/build/es/components/EmptyState/EmptyState.d.ts +26 -5
- package/build/es/components/EmptyState/EmptyState.js +16 -33
- package/build/es/components/Footer/Components/FooterComponents.d.ts +1 -1
- package/build/es/components/Footer/Components/FooterComponents.js +130 -123
- package/build/es/components/Footer/Footer.d.ts +2 -7
- package/build/es/components/Footer/Footer.js +34 -43
- package/build/es/components/Footer/context/FooterContext.d.ts +7 -2
- package/build/es/components/Footer/context/FooterContext.js +5 -4
- package/build/es/components/Helper/Helper.js +6 -6
- package/build/es/components/Icon/Icon.d.ts +1 -12
- package/build/es/components/Icon/Icon.js +10 -11
- package/build/es/components/Icons/Small/hlArrowBackSmall.d.ts +1 -9
- package/build/es/components/Icons/Small/hlArrowBackSmall.js +5 -14
- package/build/es/components/Icons/Small/hlArrowForwardSmall.d.ts +1 -9
- package/build/es/components/Icons/Small/hlArrowForwardSmall.js +5 -14
- package/build/es/components/Icons/Small/hlArrowUnderSmall.d.ts +1 -5
- package/build/es/components/Icons/Small/hlArrowUnderSmall.js +5 -10
- package/build/es/components/Icons/Small/hlCalendarSmall.js +4 -4
- package/build/es/components/Icons/Small/hlChevronDownSmall.js +4 -4
- package/build/es/components/Icons/Small/hlChevronLeftSmall.js +4 -4
- package/build/es/components/Icons/Small/hlChevronRightSmall.js +4 -4
- package/build/es/components/Icons/Small/hlChevronUpSmall.js +4 -4
- package/build/es/components/Icons/Small/hlClockSmall.js +5 -5
- package/build/es/components/Icons/Small/hlDownloadSmall.js +6 -6
- package/build/es/components/Icons/Small/hlExternalSmall.js +4 -4
- package/build/es/components/Icons/Small/hlUploadSmall.js +6 -6
- package/build/es/components/Icons/Social/facebook.js +4 -4
- package/build/es/components/Icons/Social/instagram.js +4 -4
- package/build/es/components/Icons/Social/linkedin.js +4 -4
- package/build/es/components/Icons/Social/tiktok.js +4 -4
- package/build/es/components/Icons/Social/twitter.js +4 -4
- package/build/es/components/Icons/Social/youtube.js +4 -4
- package/build/es/components/Icons/hl404.js +4 -4
- package/build/es/components/Icons/hl4gSim.js +4 -4
- package/build/es/components/Icons/hl5gSim.js +4 -4
- package/build/es/components/Icons/hlBattery.js +6 -6
- package/build/es/components/Icons/hlBell.js +4 -4
- package/build/es/components/Icons/hlCalendar.js +15 -15
- package/build/es/components/Icons/hlCall.js +4 -4
- package/build/es/components/Icons/hlCameraBack.js +6 -6
- package/build/es/components/Icons/hlCameraFront.js +5 -5
- package/build/es/components/Icons/hlCart.js +6 -6
- package/build/es/components/Icons/hlCartEmpty.js +6 -6
- package/build/es/components/Icons/hlChat.js +7 -7
- package/build/es/components/Icons/hlCheck.d.ts +4 -0
- package/build/es/components/Icons/hlCheck.js +9 -5
- package/build/es/components/Icons/hlChevronDown.js +4 -4
- package/build/es/components/Icons/hlChevronLeft.js +4 -4
- package/build/es/components/Icons/hlChevronRight.js +4 -4
- package/build/es/components/Icons/hlChevronUp.js +4 -4
- package/build/es/components/Icons/hlCompensation.js +4 -4
- package/build/es/components/Icons/hlCookie.js +4 -4
- package/build/es/components/Icons/hlCopy.js +5 -5
- package/build/es/components/Icons/hlCoupon.js +6 -6
- package/build/es/components/Icons/hlDelivery.js +4 -4
- package/build/es/components/Icons/hlDigiturva.js +4 -4
- package/build/es/components/Icons/hlDisplaySize.js +6 -6
- package/build/es/components/Icons/hlDocument.js +5 -5
- package/build/es/components/Icons/hlDownload.js +6 -6
- package/build/es/components/Icons/hlEnvelope.js +4 -4
- package/build/es/components/Icons/hlError.js +6 -6
- package/build/es/components/Icons/hlEuro.js +4 -4
- package/build/es/components/Icons/hlExclamationMark.js +4 -4
- package/build/es/components/Icons/hlExpand.js +4 -4
- package/build/es/components/Icons/hlExternal.js +4 -4
- package/build/es/components/Icons/hlEyeClosed.js +4 -4
- package/build/es/components/Icons/hlEyeOpen.js +5 -5
- package/build/es/components/Icons/hlFaceId.js +4 -4
- package/build/es/components/Icons/hlFastDelivery.js +4 -4
- package/build/es/components/Icons/hlFingerprint.js +8 -8
- package/build/es/components/Icons/hlGlobe.js +4 -4
- package/build/es/components/Icons/hlHeadphones.js +4 -4
- package/build/es/components/Icons/hlHeadset.js +6 -6
- package/build/es/components/Icons/hlHeart.js +4 -4
- package/build/es/components/Icons/hlHome.js +4 -4
- package/build/es/components/Icons/hlImage.js +4 -4
- package/build/es/components/Icons/hlInfo.js +6 -6
- package/build/es/components/Icons/hlInstallment.js +5 -5
- package/build/es/components/Icons/hlIotSim.js +5 -5
- package/build/es/components/Icons/hlLock.js +6 -6
- package/build/es/components/Icons/hlMagnifyingGlass.js +5 -5
- package/build/es/components/Icons/hlMarker.d.ts +1 -1
- package/build/es/components/Icons/hlMarker.js +5 -5
- package/build/es/components/Icons/hlMemory.js +5 -5
- package/build/es/components/Icons/hlMenu.js +4 -4
- package/build/es/components/Icons/hlMinimize.js +4 -4
- package/build/es/components/Icons/hlMinus.js +4 -4
- package/build/es/components/Icons/hlMobileData.js +4 -4
- package/build/es/components/Icons/hlMobilePayment.js +6 -6
- package/build/es/components/Icons/hlModem.js +8 -8
- package/build/es/components/Icons/hlMore.js +6 -6
- package/build/es/components/Icons/hlOs.js +5 -5
- package/build/es/components/Icons/hlPackage.js +4 -4
- package/build/es/components/Icons/hlPaperclip.js +4 -4
- package/build/es/components/Icons/hlPaytime.js +4 -4
- package/build/es/components/Icons/hlPen.js +4 -4
- package/build/es/components/Icons/hlPerson.js +4 -4
- package/build/es/components/Icons/hlPhone.js +5 -5
- package/build/es/components/Icons/hlPlus.js +5 -5
- package/build/es/components/Icons/hlPrepaid.js +4 -4
- package/build/es/components/Icons/hlProcessor.js +5 -5
- package/build/es/components/Icons/hlServices.js +4 -4
- package/build/es/components/Icons/hlSettings.js +4 -4
- package/build/es/components/Icons/hlShield.js +5 -5
- package/build/es/components/Icons/hlSim.js +5 -5
- package/build/es/components/Icons/hlSimSimple.js +6 -6
- package/build/es/components/Icons/hlSmile.js +7 -7
- package/build/es/components/Icons/hlSpeechBubble.js +5 -5
- package/build/es/components/Icons/hlSquaretrade.js +4 -4
- package/build/es/components/Icons/hlStar.js +4 -4
- package/build/es/components/Icons/hlStarFilled.js +4 -4
- package/build/es/components/Icons/hlTrash.js +5 -5
- package/build/es/components/Icons/hlTv.js +4 -4
- package/build/es/components/Icons/hlUnlock.js +5 -5
- package/build/es/components/Icons/hlUpload.js +6 -6
- package/build/es/components/Icons/hlWarning.js +6 -6
- package/build/es/components/Icons/hlWifi.js +6 -6
- package/build/es/components/Icons/hlWrench.d.ts +4 -0
- package/build/es/components/Icons/hlWrench.js +10 -0
- package/build/es/components/Icons/hlX.js +4 -4
- package/build/es/components/Icons/index.d.ts +20 -19
- package/build/es/components/Icons/index.js +20 -19
- package/build/es/components/Input/Input.d.ts +9 -10
- package/build/es/components/Input/Input.js +74 -61
- package/build/es/components/Label/Label.d.ts +9 -15
- package/build/es/components/Label/Label.js +20 -12
- package/build/es/components/LabelText/LabelText.d.ts +41 -101
- package/build/es/components/LabelText/LabelText.js +22 -7
- package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.d.ts +2 -1
- package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.js +17 -15
- package/build/es/components/MainNavigation/ChildComponents/DesktopMenu.js +76 -92
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +92 -29
- package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +37 -37
- package/build/es/components/MainNavigation/ChildComponents/LanguageSelector.js +21 -51
- package/build/es/components/MainNavigation/ChildComponents/LinkModifier.js +7 -8
- package/build/es/components/MainNavigation/ChildComponents/LoginTooltip.js +8 -8
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenu.d.ts +2 -12
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenu.js +30 -56
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +93 -30
- package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +8 -9
- package/build/es/components/MainNavigation/ChildComponents/MinicartTooltip.js +11 -21
- package/build/es/components/MainNavigation/ChildComponents/MobileMenu.js +50 -50
- package/build/es/components/MainNavigation/ChildComponents/PageSearch.js +8 -8
- package/build/es/components/MainNavigation/ChildComponents/Ribbon.d.ts +1 -2
- package/build/es/components/MainNavigation/ChildComponents/Ribbon.js +23 -23
- package/build/es/components/MainNavigation/MainNavigation.d.ts +1 -2
- package/build/es/components/MainNavigation/MainNavigation.js +27 -34
- package/build/es/components/MainNavigation/context/MobileMenuContext.js +3 -3
- package/build/es/components/MainNavigation/context/NavContext.js +3 -3
- package/build/es/components/MainNavigation/globalNavStyles.d.ts +368 -116
- package/build/es/components/MainNavigation/globalNavStyles.js +9 -8
- package/build/es/components/Modal/Modal.d.ts +63 -13
- package/build/es/components/Modal/Modal.js +58 -111
- package/build/es/components/Notification/Notification.d.ts +7 -18
- package/build/es/components/Notification/Notification.js +22 -29
- package/build/es/components/NotificationBadge/NotificationBadge.d.ts +39 -100
- package/build/es/components/NotificationBadge/NotificationBadge.js +22 -17
- package/build/es/components/Pill/Pill.d.ts +77 -0
- package/build/es/components/Pill/Pill.js +80 -0
- package/build/es/components/PixelLoader/PixelLoader.d.ts +2 -2
- package/build/es/components/PixelLoader/PixelLoader.js +14 -10
- package/build/es/components/ProgressIndicator/ProgressIndicator.d.ts +34 -18
- package/build/es/components/ProgressIndicator/ProgressIndicator.js +100 -161
- package/build/es/components/RadioButton/RadioButton.js +11 -10
- package/build/es/components/ReadMore/ReadMore.js +7 -7
- package/build/es/components/Search/Search.d.ts +28 -44
- package/build/es/components/Search/Search.js +41 -43
- package/build/es/components/SecondaryNavigation/SecondaryNavigation.d.ts +49 -9
- package/build/es/components/SecondaryNavigation/SecondaryNavigation.js +59 -73
- package/build/es/components/Selectbox/Selectbox.d.ts +7 -14
- package/build/es/components/Selectbox/Selectbox.js +84 -55
- package/build/es/components/Switch/Switch.d.ts +0 -7
- package/build/es/components/Switch/Switch.js +23 -35
- package/build/es/components/Tabs/Tab.d.ts +92 -29
- package/build/es/components/Tabs/Tab.js +25 -25
- package/build/es/components/Tabs/Tabs.d.ts +111 -44
- package/build/es/components/Tabs/Tabs.js +11 -11
- package/build/es/components/Textarea/Textarea.d.ts +68 -13
- package/build/es/components/Textarea/Textarea.js +49 -50
- package/build/es/components/Toaster/Toaster.d.ts +44 -0
- package/build/es/components/Toaster/Toaster.js +65 -0
- package/build/es/components/Tooltip/Tooltip.d.ts +92 -29
- package/build/es/components/Tooltip/Tooltip.js +6 -7
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +184 -58
- package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.js +1 -1
- package/build/es/components/TooltipMenu/TooltipMenu.js +17 -17
- package/build/es/components/index.d.ts +12 -8
- package/build/es/hooks/modifyBodyClass.js +1 -1
- package/build/es/hooks/useCloseOutsideOrElementClicked.js +1 -1
- package/build/es/hooks/useDebounceFunc.js +3 -3
- package/build/es/hooks/useDocHeight.js +3 -3
- package/build/es/hooks/useElementDimensions.js +1 -1
- package/build/es/hooks/useOutsideClick.js +1 -1
- package/build/es/hooks/useScrollPosition.js +4 -4
- package/build/es/hooks/useWindowSize.d.ts +4 -0
- package/build/es/hooks/useWindowSize.js +27 -0
- package/build/es/index.js +31 -34
- package/build/es/themes/globalStyles.d.ts +276 -87
- package/build/es/themes/globalStyles.js +77 -72
- package/build/es/themes/gridTheme.js +1 -1
- package/build/es/themes/styled.d.ts +644 -203
- package/build/es/themes/styled.js +1 -2
- package/build/es/themes/theme.d.ts +92 -29
- package/build/es/themes/theme.js +6 -6
- package/build/es/themes/themeComponents/base.js +1 -1
- package/build/es/themes/themeComponents/breakpoints.js +1 -1
- package/build/es/themes/themeComponents/color.d.ts +88 -0
- package/build/es/themes/themeComponents/color.js +85 -0
- package/build/es/themes/themeComponents/fontFamily.js +1 -1
- package/build/es/themes/themeComponents/fontSize.js +1 -1
- package/build/es/themes/themeComponents/fontWeight.d.ts +12 -0
- package/build/es/themes/themeComponents/fontWeight.js +13 -1
- package/build/es/themes/themeComponents/forms.js +1 -1
- package/build/es/themes/themeComponents/lineHeight.js +1 -1
- package/build/es/themes/themeComponents/navigation.d.ts +2 -2
- package/build/es/themes/themeComponents/navigation.js +3 -4
- package/build/es/themes/themeComponents/radius.d.ts +29 -0
- package/build/es/themes/themeComponents/radius.js +30 -0
- package/build/es/utils/createStyled.js +1 -1
- package/package.json +7 -10
- package/build/cjs/components/Accordion/AccordionItem.js +0 -83
- package/build/cjs/components/Buttons/ButtonBasicStyles.d.ts +0 -109
- package/build/cjs/components/Buttons/ButtonBasicStyles.js +0 -71
- package/build/cjs/components/Buttons/ButtonDefault.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonDefault.js +0 -32
- package/build/cjs/components/Buttons/ButtonIcon.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonIcon.js +0 -33
- package/build/cjs/components/Buttons/ButtonIconPrimary.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonIconPrimary.js +0 -33
- package/build/cjs/components/Buttons/ButtonIconPrimaryStyles.d.ts +0 -103
- package/build/cjs/components/Buttons/ButtonIconPrimaryStyles.js +0 -21
- package/build/cjs/components/Buttons/ButtonIconStyles.d.ts +0 -103
- package/build/cjs/components/Buttons/ButtonIconStyles.js +0 -45
- package/build/cjs/components/Buttons/ButtonPrimary.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonPrimary.js +0 -31
- package/build/cjs/components/Buttons/ButtonPrimaryStyles.d.ts +0 -101
- package/build/cjs/components/Buttons/ButtonPrimaryStyles.js +0 -26
- package/build/cjs/components/Buttons/ButtonRound.d.ts +0 -27
- package/build/cjs/components/Buttons/ButtonRound.js +0 -19
- package/build/cjs/components/Buttons/ButtonRoundStyles.d.ts +0 -2
- package/build/cjs/components/Buttons/ButtonRoundStyles.js +0 -37
- package/build/cjs/components/Buttons/ButtonSecondary.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonSecondary.js +0 -31
- package/build/cjs/components/Buttons/ButtonSecondaryStyles.d.ts +0 -101
- package/build/cjs/components/Buttons/ButtonSecondaryStyles.js +0 -45
- package/build/cjs/components/Buttons/ButtonTertiary.d.ts +0 -6
- package/build/cjs/components/Buttons/ButtonTertiary.js +0 -31
- package/build/cjs/components/Buttons/ButtonTertiaryStyles.d.ts +0 -101
- package/build/cjs/components/Buttons/ButtonTertiaryStyles.js +0 -43
- package/build/cjs/components/Buttons/CloseButton.d.ts +0 -101
- package/build/cjs/components/Buttons/CloseButton.js +0 -16
- package/build/cjs/components/Buttons/index.d.ts +0 -8
- package/build/cjs/components/Card/Card.d.ts +0 -5
- package/build/cjs/components/Card/Card.js +0 -70
- package/build/cjs/components/Card/CardRow.d.ts +0 -5
- package/build/cjs/components/Card/CardRow.js +0 -63
- package/build/cjs/components/Card/index.d.ts +0 -2
- package/build/cjs/components/Icon/Icons.d.ts +0 -220
- package/build/cjs/components/Icon/Icons.js +0 -1384
- package/build/cjs/components/Image/Image.d.ts +0 -21
- package/build/cjs/components/Image/Image.js +0 -25
- package/build/cjs/components/Ribbon/Ribbon.d.ts +0 -57
- package/build/cjs/components/Ribbon/Ribbon.js +0 -82
- package/build/cjs/themes/themeComponents/buttons.d.ts +0 -4
- package/build/cjs/themes/themeComponents/buttons.js +0 -9
- package/build/cjs/themes/themeComponents/colors.d.ts +0 -29
- package/build/cjs/themes/themeComponents/colors.js +0 -34
- package/build/es/components/Accordion/AccordionItem.js +0 -74
- package/build/es/components/Buttons/ButtonBasicStyles.d.ts +0 -109
- package/build/es/components/Buttons/ButtonBasicStyles.js +0 -67
- package/build/es/components/Buttons/ButtonDefault.d.ts +0 -6
- package/build/es/components/Buttons/ButtonDefault.js +0 -24
- package/build/es/components/Buttons/ButtonIcon.d.ts +0 -6
- package/build/es/components/Buttons/ButtonIcon.js +0 -25
- package/build/es/components/Buttons/ButtonIconPrimary.d.ts +0 -6
- package/build/es/components/Buttons/ButtonIconPrimary.js +0 -25
- package/build/es/components/Buttons/ButtonIconPrimaryStyles.d.ts +0 -103
- package/build/es/components/Buttons/ButtonIconPrimaryStyles.js +0 -17
- package/build/es/components/Buttons/ButtonIconStyles.d.ts +0 -103
- package/build/es/components/Buttons/ButtonIconStyles.js +0 -41
- package/build/es/components/Buttons/ButtonPrimary.d.ts +0 -6
- package/build/es/components/Buttons/ButtonPrimary.js +0 -23
- package/build/es/components/Buttons/ButtonPrimaryStyles.d.ts +0 -101
- package/build/es/components/Buttons/ButtonPrimaryStyles.js +0 -22
- package/build/es/components/Buttons/ButtonRound.d.ts +0 -27
- package/build/es/components/Buttons/ButtonRound.js +0 -11
- package/build/es/components/Buttons/ButtonRoundStyles.d.ts +0 -2
- package/build/es/components/Buttons/ButtonRoundStyles.js +0 -29
- package/build/es/components/Buttons/ButtonSecondary.d.ts +0 -6
- package/build/es/components/Buttons/ButtonSecondary.js +0 -23
- package/build/es/components/Buttons/ButtonSecondaryStyles.d.ts +0 -101
- package/build/es/components/Buttons/ButtonSecondaryStyles.js +0 -41
- package/build/es/components/Buttons/ButtonTertiary.d.ts +0 -6
- package/build/es/components/Buttons/ButtonTertiary.js +0 -23
- package/build/es/components/Buttons/ButtonTertiaryStyles.d.ts +0 -101
- package/build/es/components/Buttons/ButtonTertiaryStyles.js +0 -39
- package/build/es/components/Buttons/CloseButton.d.ts +0 -101
- package/build/es/components/Buttons/CloseButton.js +0 -12
- package/build/es/components/Buttons/index.d.ts +0 -8
- package/build/es/components/Card/Card.d.ts +0 -5
- package/build/es/components/Card/Card.js +0 -62
- package/build/es/components/Card/CardRow.d.ts +0 -5
- package/build/es/components/Card/CardRow.js +0 -55
- package/build/es/components/Card/index.d.ts +0 -2
- package/build/es/components/Icon/Icons.d.ts +0 -220
- package/build/es/components/Icon/Icons.js +0 -1159
- package/build/es/components/Image/Image.d.ts +0 -21
- package/build/es/components/Image/Image.js +0 -16
- package/build/es/components/Ribbon/Ribbon.d.ts +0 -57
- package/build/es/components/Ribbon/Ribbon.js +0 -73
- package/build/es/themes/themeComponents/buttons.d.ts +0 -4
- package/build/es/themes/themeComponents/buttons.js +0 -5
- package/build/es/themes/themeComponents/colors.d.ts +0 -29
- package/build/es/themes/themeComponents/colors.js +0 -30
|
@@ -10,36 +10,92 @@ export declare const MenuItem: import("styled-components").StyledComponent<"li",
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
13
|
-
button: {
|
|
14
|
-
border: string;
|
|
15
|
-
};
|
|
16
13
|
color: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
14
|
+
default: {
|
|
15
|
+
pink: string;
|
|
16
|
+
plum: string;
|
|
17
|
+
white: string;
|
|
18
|
+
black: string;
|
|
19
|
+
};
|
|
20
|
+
accent: {
|
|
21
|
+
lemon: string;
|
|
22
|
+
sky: string;
|
|
23
|
+
orange: string;
|
|
24
|
+
};
|
|
25
|
+
hover: {
|
|
26
|
+
pink: string;
|
|
27
|
+
};
|
|
28
|
+
text: {
|
|
29
|
+
gray: string;
|
|
30
|
+
pink: string;
|
|
31
|
+
plum: string;
|
|
32
|
+
white: string;
|
|
33
|
+
black: string;
|
|
34
|
+
};
|
|
35
|
+
line: {
|
|
36
|
+
L01: string;
|
|
37
|
+
L02: string;
|
|
38
|
+
L03: string;
|
|
39
|
+
L04: string;
|
|
40
|
+
};
|
|
41
|
+
notification: {
|
|
42
|
+
info: string;
|
|
43
|
+
success: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
error: string;
|
|
46
|
+
};
|
|
47
|
+
background: {
|
|
48
|
+
sand: {
|
|
49
|
+
default: string;
|
|
50
|
+
E01: string;
|
|
51
|
+
E02: string;
|
|
52
|
+
};
|
|
53
|
+
pink: {
|
|
54
|
+
default: string;
|
|
55
|
+
E01: string;
|
|
56
|
+
E02: string;
|
|
57
|
+
};
|
|
58
|
+
plum: {
|
|
59
|
+
default: string;
|
|
60
|
+
E01: string;
|
|
61
|
+
E02: string;
|
|
62
|
+
};
|
|
63
|
+
lemon: {
|
|
64
|
+
default: string;
|
|
65
|
+
E01: string;
|
|
66
|
+
E02: string;
|
|
67
|
+
};
|
|
68
|
+
sky: {
|
|
69
|
+
default: string;
|
|
70
|
+
E01: string;
|
|
71
|
+
E02: string;
|
|
72
|
+
};
|
|
73
|
+
orange: {
|
|
74
|
+
default: string;
|
|
75
|
+
E01: string;
|
|
76
|
+
E02: string;
|
|
77
|
+
};
|
|
78
|
+
white: {
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
focus: {
|
|
83
|
+
dark: string;
|
|
84
|
+
light: string;
|
|
85
|
+
};
|
|
86
|
+
transparency: {
|
|
87
|
+
T0: string;
|
|
88
|
+
T10: string;
|
|
89
|
+
T20: string;
|
|
90
|
+
T30: string;
|
|
91
|
+
T40: string;
|
|
92
|
+
T50: string;
|
|
93
|
+
T60: string;
|
|
94
|
+
T70: string;
|
|
95
|
+
T80: string;
|
|
96
|
+
T90: string;
|
|
97
|
+
T100: string;
|
|
98
|
+
};
|
|
43
99
|
};
|
|
44
100
|
fontFamily: {
|
|
45
101
|
default: string;
|
|
@@ -97,6 +153,13 @@ export declare const MenuItem: import("styled-components").StyledComponent<"li",
|
|
|
97
153
|
h2: string;
|
|
98
154
|
};
|
|
99
155
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
156
|
+
radius: {
|
|
157
|
+
default: string;
|
|
158
|
+
s: string;
|
|
159
|
+
xs: string;
|
|
160
|
+
circle: string;
|
|
161
|
+
pill: string;
|
|
162
|
+
};
|
|
100
163
|
}, {
|
|
101
164
|
isActive?: boolean | undefined;
|
|
102
165
|
}, never>;
|
|
@@ -112,36 +175,92 @@ export declare const MenuLink: import("styled-components").StyledComponent<"a",
|
|
|
112
175
|
};
|
|
113
176
|
};
|
|
114
177
|
breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
115
|
-
button: {
|
|
116
|
-
border: string;
|
|
117
|
-
};
|
|
118
178
|
color: {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
179
|
+
default: {
|
|
180
|
+
pink: string;
|
|
181
|
+
plum: string;
|
|
182
|
+
white: string;
|
|
183
|
+
black: string;
|
|
184
|
+
};
|
|
185
|
+
accent: {
|
|
186
|
+
lemon: string;
|
|
187
|
+
sky: string;
|
|
188
|
+
orange: string;
|
|
189
|
+
};
|
|
190
|
+
hover: {
|
|
191
|
+
pink: string;
|
|
192
|
+
};
|
|
193
|
+
text: {
|
|
194
|
+
gray: string;
|
|
195
|
+
pink: string;
|
|
196
|
+
plum: string;
|
|
197
|
+
white: string;
|
|
198
|
+
black: string;
|
|
199
|
+
};
|
|
200
|
+
line: {
|
|
201
|
+
L01: string;
|
|
202
|
+
L02: string;
|
|
203
|
+
L03: string;
|
|
204
|
+
L04: string;
|
|
205
|
+
};
|
|
206
|
+
notification: {
|
|
207
|
+
info: string;
|
|
208
|
+
success: string;
|
|
209
|
+
warning: string;
|
|
210
|
+
error: string;
|
|
211
|
+
};
|
|
212
|
+
background: {
|
|
213
|
+
sand: {
|
|
214
|
+
default: string;
|
|
215
|
+
E01: string;
|
|
216
|
+
E02: string;
|
|
217
|
+
};
|
|
218
|
+
pink: {
|
|
219
|
+
default: string;
|
|
220
|
+
E01: string;
|
|
221
|
+
E02: string;
|
|
222
|
+
};
|
|
223
|
+
plum: {
|
|
224
|
+
default: string;
|
|
225
|
+
E01: string;
|
|
226
|
+
E02: string;
|
|
227
|
+
};
|
|
228
|
+
lemon: {
|
|
229
|
+
default: string;
|
|
230
|
+
E01: string;
|
|
231
|
+
E02: string;
|
|
232
|
+
};
|
|
233
|
+
sky: {
|
|
234
|
+
default: string;
|
|
235
|
+
E01: string;
|
|
236
|
+
E02: string;
|
|
237
|
+
};
|
|
238
|
+
orange: {
|
|
239
|
+
default: string;
|
|
240
|
+
E01: string;
|
|
241
|
+
E02: string;
|
|
242
|
+
};
|
|
243
|
+
white: {
|
|
244
|
+
default: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
focus: {
|
|
248
|
+
dark: string;
|
|
249
|
+
light: string;
|
|
250
|
+
};
|
|
251
|
+
transparency: {
|
|
252
|
+
T0: string;
|
|
253
|
+
T10: string;
|
|
254
|
+
T20: string;
|
|
255
|
+
T30: string;
|
|
256
|
+
T40: string;
|
|
257
|
+
T50: string;
|
|
258
|
+
T60: string;
|
|
259
|
+
T70: string;
|
|
260
|
+
T80: string;
|
|
261
|
+
T90: string;
|
|
262
|
+
T100: string;
|
|
263
|
+
};
|
|
145
264
|
};
|
|
146
265
|
fontFamily: {
|
|
147
266
|
default: string;
|
|
@@ -199,6 +318,13 @@ export declare const MenuLink: import("styled-components").StyledComponent<"a",
|
|
|
199
318
|
h2: string;
|
|
200
319
|
};
|
|
201
320
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
321
|
+
radius: {
|
|
322
|
+
default: string;
|
|
323
|
+
s: string;
|
|
324
|
+
xs: string;
|
|
325
|
+
circle: string;
|
|
326
|
+
pill: string;
|
|
327
|
+
};
|
|
202
328
|
}, {
|
|
203
329
|
isActive?: boolean | undefined;
|
|
204
330
|
}, never>;
|
|
@@ -214,36 +340,92 @@ export declare const MenuLinkWithChildren: import("styled-components").StyledCom
|
|
|
214
340
|
};
|
|
215
341
|
};
|
|
216
342
|
breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
217
|
-
button: {
|
|
218
|
-
border: string;
|
|
219
|
-
};
|
|
220
343
|
color: {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
344
|
+
default: {
|
|
345
|
+
pink: string;
|
|
346
|
+
plum: string;
|
|
347
|
+
white: string;
|
|
348
|
+
black: string;
|
|
349
|
+
};
|
|
350
|
+
accent: {
|
|
351
|
+
lemon: string;
|
|
352
|
+
sky: string;
|
|
353
|
+
orange: string;
|
|
354
|
+
};
|
|
355
|
+
hover: {
|
|
356
|
+
pink: string;
|
|
357
|
+
};
|
|
358
|
+
text: {
|
|
359
|
+
gray: string;
|
|
360
|
+
pink: string;
|
|
361
|
+
plum: string;
|
|
362
|
+
white: string;
|
|
363
|
+
black: string;
|
|
364
|
+
};
|
|
365
|
+
line: {
|
|
366
|
+
L01: string;
|
|
367
|
+
L02: string;
|
|
368
|
+
L03: string;
|
|
369
|
+
L04: string;
|
|
370
|
+
};
|
|
371
|
+
notification: {
|
|
372
|
+
info: string;
|
|
373
|
+
success: string;
|
|
374
|
+
warning: string;
|
|
375
|
+
error: string;
|
|
376
|
+
};
|
|
377
|
+
background: {
|
|
378
|
+
sand: {
|
|
379
|
+
default: string;
|
|
380
|
+
E01: string;
|
|
381
|
+
E02: string;
|
|
382
|
+
};
|
|
383
|
+
pink: {
|
|
384
|
+
default: string;
|
|
385
|
+
E01: string;
|
|
386
|
+
E02: string;
|
|
387
|
+
};
|
|
388
|
+
plum: {
|
|
389
|
+
default: string;
|
|
390
|
+
E01: string;
|
|
391
|
+
E02: string;
|
|
392
|
+
};
|
|
393
|
+
lemon: {
|
|
394
|
+
default: string;
|
|
395
|
+
E01: string;
|
|
396
|
+
E02: string;
|
|
397
|
+
};
|
|
398
|
+
sky: {
|
|
399
|
+
default: string;
|
|
400
|
+
E01: string;
|
|
401
|
+
E02: string;
|
|
402
|
+
};
|
|
403
|
+
orange: {
|
|
404
|
+
default: string;
|
|
405
|
+
E01: string;
|
|
406
|
+
E02: string;
|
|
407
|
+
};
|
|
408
|
+
white: {
|
|
409
|
+
default: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
focus: {
|
|
413
|
+
dark: string;
|
|
414
|
+
light: string;
|
|
415
|
+
};
|
|
416
|
+
transparency: {
|
|
417
|
+
T0: string;
|
|
418
|
+
T10: string;
|
|
419
|
+
T20: string;
|
|
420
|
+
T30: string;
|
|
421
|
+
T40: string;
|
|
422
|
+
T50: string;
|
|
423
|
+
T60: string;
|
|
424
|
+
T70: string;
|
|
425
|
+
T80: string;
|
|
426
|
+
T90: string;
|
|
427
|
+
T100: string;
|
|
428
|
+
};
|
|
247
429
|
};
|
|
248
430
|
fontFamily: {
|
|
249
431
|
default: string;
|
|
@@ -301,6 +483,13 @@ export declare const MenuLinkWithChildren: import("styled-components").StyledCom
|
|
|
301
483
|
h2: string;
|
|
302
484
|
};
|
|
303
485
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
486
|
+
radius: {
|
|
487
|
+
default: string;
|
|
488
|
+
s: string;
|
|
489
|
+
xs: string;
|
|
490
|
+
circle: string;
|
|
491
|
+
pill: string;
|
|
492
|
+
};
|
|
304
493
|
}, {
|
|
305
494
|
isActive?: boolean | undefined;
|
|
306
495
|
isHighlighted?: boolean | undefined;
|
|
@@ -317,36 +506,92 @@ export declare const MenuList: import("styled-components").StyledComponent<"ul",
|
|
|
317
506
|
};
|
|
318
507
|
};
|
|
319
508
|
breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
|
|
320
|
-
button: {
|
|
321
|
-
border: string;
|
|
322
|
-
};
|
|
323
509
|
color: {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
510
|
+
default: {
|
|
511
|
+
pink: string;
|
|
512
|
+
plum: string;
|
|
513
|
+
white: string;
|
|
514
|
+
black: string;
|
|
515
|
+
};
|
|
516
|
+
accent: {
|
|
517
|
+
lemon: string;
|
|
518
|
+
sky: string;
|
|
519
|
+
orange: string;
|
|
520
|
+
};
|
|
521
|
+
hover: {
|
|
522
|
+
pink: string;
|
|
523
|
+
};
|
|
524
|
+
text: {
|
|
525
|
+
gray: string;
|
|
526
|
+
pink: string;
|
|
527
|
+
plum: string;
|
|
528
|
+
white: string;
|
|
529
|
+
black: string;
|
|
530
|
+
};
|
|
531
|
+
line: {
|
|
532
|
+
L01: string;
|
|
533
|
+
L02: string;
|
|
534
|
+
L03: string;
|
|
535
|
+
L04: string;
|
|
536
|
+
};
|
|
537
|
+
notification: {
|
|
538
|
+
info: string;
|
|
539
|
+
success: string;
|
|
540
|
+
warning: string;
|
|
541
|
+
error: string;
|
|
542
|
+
};
|
|
543
|
+
background: {
|
|
544
|
+
sand: {
|
|
545
|
+
default: string;
|
|
546
|
+
E01: string;
|
|
547
|
+
E02: string;
|
|
548
|
+
};
|
|
549
|
+
pink: {
|
|
550
|
+
default: string;
|
|
551
|
+
E01: string;
|
|
552
|
+
E02: string;
|
|
553
|
+
};
|
|
554
|
+
plum: {
|
|
555
|
+
default: string;
|
|
556
|
+
E01: string;
|
|
557
|
+
E02: string;
|
|
558
|
+
};
|
|
559
|
+
lemon: {
|
|
560
|
+
default: string;
|
|
561
|
+
E01: string;
|
|
562
|
+
E02: string;
|
|
563
|
+
};
|
|
564
|
+
sky: {
|
|
565
|
+
default: string;
|
|
566
|
+
E01: string;
|
|
567
|
+
E02: string;
|
|
568
|
+
};
|
|
569
|
+
orange: {
|
|
570
|
+
default: string;
|
|
571
|
+
E01: string;
|
|
572
|
+
E02: string;
|
|
573
|
+
};
|
|
574
|
+
white: {
|
|
575
|
+
default: string;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
focus: {
|
|
579
|
+
dark: string;
|
|
580
|
+
light: string;
|
|
581
|
+
};
|
|
582
|
+
transparency: {
|
|
583
|
+
T0: string;
|
|
584
|
+
T10: string;
|
|
585
|
+
T20: string;
|
|
586
|
+
T30: string;
|
|
587
|
+
T40: string;
|
|
588
|
+
T50: string;
|
|
589
|
+
T60: string;
|
|
590
|
+
T70: string;
|
|
591
|
+
T80: string;
|
|
592
|
+
T90: string;
|
|
593
|
+
T100: string;
|
|
594
|
+
};
|
|
350
595
|
};
|
|
351
596
|
fontFamily: {
|
|
352
597
|
default: string;
|
|
@@ -404,6 +649,13 @@ export declare const MenuList: import("styled-components").StyledComponent<"ul",
|
|
|
404
649
|
h2: string;
|
|
405
650
|
};
|
|
406
651
|
media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
|
|
652
|
+
radius: {
|
|
653
|
+
default: string;
|
|
654
|
+
s: string;
|
|
655
|
+
xs: string;
|
|
656
|
+
circle: string;
|
|
657
|
+
pill: string;
|
|
658
|
+
};
|
|
407
659
|
}, {
|
|
408
660
|
isInView?: boolean | undefined;
|
|
409
661
|
}, never>;
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var styled = require('../../themes/styled.js');
|
|
6
|
+
var theme = require('../../themes/theme.js');
|
|
6
7
|
|
|
7
|
-
const MenuItem = styled[
|
|
8
|
+
const MenuItem = styled["default"].li `
|
|
8
9
|
position: relative;
|
|
9
10
|
padding: 0;
|
|
10
11
|
margin: 0;
|
|
11
12
|
height: 100%;
|
|
12
|
-
color: ${
|
|
13
|
+
color: ${theme["default"].color.text.black};
|
|
13
14
|
& > a {
|
|
14
|
-
color: ${p => (p.isActive ?
|
|
15
|
+
color: ${p => (p.isActive ? theme["default"].color.text.pink : theme["default"].color.text.black)};
|
|
15
16
|
}
|
|
16
17
|
`;
|
|
17
|
-
const MenuLink = styled[
|
|
18
|
+
const MenuLink = styled["default"].a `
|
|
18
19
|
border: none;
|
|
19
20
|
margin: 0;
|
|
20
21
|
padding: 0;
|
|
@@ -31,19 +32,19 @@ const MenuLink = styled['default'].a `
|
|
|
31
32
|
display: block;
|
|
32
33
|
text-decoration: none;
|
|
33
34
|
text-align: left;
|
|
34
|
-
color: ${p => (p
|
|
35
|
+
color: ${p => (p.isActive ? theme["default"].color.text.pink : theme["default"].color.text.black)};
|
|
35
36
|
padding: 0.5em 1em;
|
|
36
37
|
white-space: normal;
|
|
37
38
|
&:hover,
|
|
38
39
|
&:focus {
|
|
39
40
|
text-decoration: none;
|
|
40
|
-
color: ${
|
|
41
|
+
color: ${theme["default"].color.text.pink};
|
|
41
42
|
cursor: pointer;
|
|
42
43
|
outline: none;
|
|
43
44
|
border-bottom: none;
|
|
44
45
|
}
|
|
45
46
|
`;
|
|
46
|
-
const MenuLinkWithChildren = styled[
|
|
47
|
+
const MenuLinkWithChildren = styled["default"].button `
|
|
47
48
|
line-height: 1rem;
|
|
48
49
|
text-align: left;
|
|
49
50
|
display: block;
|
|
@@ -54,7 +55,7 @@ const MenuLinkWithChildren = styled['default'].button `
|
|
|
54
55
|
font-size: inherit;
|
|
55
56
|
font-family: inherit;
|
|
56
57
|
white-space: normal;
|
|
57
|
-
color: ${p => p && (p.isActive || p.isHighlighted) ?
|
|
58
|
+
color: ${p => p && (p.isActive || p.isHighlighted) ? theme["default"].color.text.pink : theme["default"].color.default.black};
|
|
58
59
|
padding: 0.5em 1em;
|
|
59
60
|
span {
|
|
60
61
|
position: relative;
|
|
@@ -65,18 +66,18 @@ const MenuLinkWithChildren = styled['default'].button `
|
|
|
65
66
|
bottom: -6px;
|
|
66
67
|
left: 0;
|
|
67
68
|
border-bottom: 1px solid
|
|
68
|
-
${p => (p
|
|
69
|
+
${p => (p.isHighlighted ? theme["default"].color.default.pink : 'transparent')};
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
&:hover,
|
|
72
73
|
&:focus {
|
|
73
74
|
text-decoration: none;
|
|
74
|
-
color: ${
|
|
75
|
+
color: ${theme["default"].color.text.pink};
|
|
75
76
|
cursor: pointer;
|
|
76
77
|
outline: none;
|
|
77
78
|
}
|
|
78
79
|
`;
|
|
79
|
-
const MenuList = styled[
|
|
80
|
+
const MenuList = styled["default"].ul `
|
|
80
81
|
display: inline-flex;
|
|
81
82
|
max-height: ${p => (typeof p.isInView !== 'boolean' || p.isInView ? 'auto' : '5px')};
|
|
82
83
|
overflow: ${p => (typeof p.isInView === 'boolean' ? 'hidden' : 'unset')};
|
|
@@ -85,7 +86,7 @@ const MenuList = styled['default'].ul `
|
|
|
85
86
|
list-style: none;
|
|
86
87
|
margin: 0;
|
|
87
88
|
padding: 0;
|
|
88
|
-
background-color: ${
|
|
89
|
+
background-color: ${theme["default"].color.default.white};
|
|
89
90
|
transition: all 300ms ease-in-out;
|
|
90
91
|
`;
|
|
91
92
|
|