@xivart/tangram 0.0.1-security → 2.712.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @xivart/tangram might be problematic. Click here for more details.
- package/LICENSE +21 -0
- package/README.md +37 -3
- package/components/A/A.js +8 -0
- package/components/A/RouterLink.js +10 -0
- package/components/A/index.js +9 -0
- package/components/A/styled/A.js +20 -0
- package/components/A/styled/index.js +9 -0
- package/components/Adaptive/Adaptive.js +32 -0
- package/components/Adaptive/index.js +11 -0
- package/components/AirlineLogo/AirlineLogo.js +22 -0
- package/components/AirlineLogo/constants.js +5 -0
- package/components/AirlineLogo/index.js +9 -0
- package/components/AirlineLogo/styled/AirlineLogo.js +14 -0
- package/components/AirlineLogo/styled/index.js +9 -0
- package/components/AirlineLogo/types.js +8 -0
- package/components/Alert/Alert.js +17 -0
- package/components/Alert/constants.js +16 -0
- package/components/Alert/index.js +9 -0
- package/components/Alert/styled/Alert.js +12 -0
- package/components/Alert/styled/index.js +6 -0
- package/components/ApplePayButton/ApplePayButton.js +12 -0
- package/components/ApplePayButton/index.js +9 -0
- package/components/ApplePayButton/styled/StyledApplePayButton.js +12 -0
- package/components/ApplePayButton/styled/StyledApplePayLogo.js +8 -0
- package/components/ApplePayButton/types.js +11 -0
- package/components/Asset/Asset.js +92 -0
- package/components/Asset/Provider.js +40 -0
- package/components/Asset/helpers/createAssetContext/createAssetContext.js +19 -0
- package/components/Asset/helpers/createAssetContext/index.js +9 -0
- package/components/Asset/helpers/fetch/fetch.js +6 -0
- package/components/Asset/helpers/fetch/index.js +9 -0
- package/components/Asset/helpers/request/index.js +9 -0
- package/components/Asset/helpers/request/request.js +28 -0
- package/components/Asset/helpers/svg/BaseSprite.js +55 -0
- package/components/Asset/helpers/svg/BaseSymbol.js +26 -0
- package/components/Asset/helpers/svg/BrowserSprite.js +84 -0
- package/components/Asset/helpers/svg/BrowserSymbol.js +49 -0
- package/components/Asset/helpers/svg/constants.js +8 -0
- package/components/Asset/helpers/svg/objectToAttrsString.js +12 -0
- package/components/Asset/helpers/svg/parse.js +12 -0
- package/components/Asset/helpers/svg/sprite.js +18 -0
- package/components/Asset/helpers/svg/symbol.js +20 -0
- package/components/Asset/helpers/svg/wrapInSVGString.js +13 -0
- package/components/Asset/index.js +13 -0
- package/components/Badge/Badge.js +13 -0
- package/components/Badge/index.js +6 -0
- package/components/Badge/styled/Badge.js +17 -0
- package/components/Badge/styled/BadgeWrapper.js +11 -0
- package/components/Badge/styled/Text.js +11 -0
- package/components/Badge/styled/index.js +10 -0
- package/components/BottomSheet/BottomSheet.js +30 -0
- package/components/BottomSheet/index.js +9 -0
- package/components/BottomSheet/styled/BottomSheetFooter.js +17 -0
- package/components/BottomSheet/styled/index.js +9 -0
- package/components/Breadcrumbs/BreadcrumbItem.js +14 -0
- package/components/Breadcrumbs/Breadcrumbs.js +16 -0
- package/components/Breadcrumbs/components/BreadcrumbDivider/BreadcrumbDivider.js +9 -0
- package/components/Breadcrumbs/components/BreadcrumbDivider/index.js +9 -0
- package/components/Breadcrumbs/index.js +11 -0
- package/components/Button/ChatbotButton.js +15 -0
- package/components/Button/PrimaryButton.js +21 -0
- package/components/Button/QuaternaryButton.js +19 -0
- package/components/Button/QuinaryButton.js +13 -0
- package/components/Button/SeatInteractionButton.js +12 -0
- package/components/Button/SecondaryButton.js +20 -0
- package/components/Button/TertiaryButton.js +21 -0
- package/components/Button/index.js +13 -0
- package/components/Button/styled/Button.js +25 -0
- package/components/Button/styled/ChatbotButton.js +16 -0
- package/components/Button/styled/IconContainer.js +14 -0
- package/components/Button/styled/Label.js +14 -0
- package/components/Button/styled/Primary.js +17 -0
- package/components/Button/styled/Quaternary.js +13 -0
- package/components/Button/styled/Quinary.js +13 -0
- package/components/Button/styled/SeatInteraction.js +16 -0
- package/components/Button/styled/Secondary.js +15 -0
- package/components/Button/styled/Tertiary.js +57 -0
- package/components/Button/styled/index.js +19 -0
- package/components/Calendar/Calendar.js +23 -0
- package/components/Calendar/components/Button/Button.js +17 -0
- package/components/Calendar/components/Button/constants.js +6 -0
- package/components/Calendar/components/Button/index.js +9 -0
- package/components/Calendar/components/Button/styled/ButtonContainer.js +11 -0
- package/components/Calendar/components/Button/styled/index.js +9 -0
- package/components/Calendar/components/DateCell/DateCell.js +26 -0
- package/components/Calendar/components/DateCell/constants.js +13 -0
- package/components/Calendar/components/DateCell/helper/updateElementsSize/index.js +6 -0
- package/components/Calendar/components/DateCell/helper/updateElementsSize/updateElementsSize.js +33 -0
- package/components/Calendar/components/DateCell/index.js +9 -0
- package/components/Calendar/components/DateCell/styled/Cell.js +8 -0
- package/components/Calendar/components/DateCell/styled/Container.js +8 -0
- package/components/Calendar/components/DateCell/styled/DateCellContainer.js +15 -0
- package/components/Calendar/components/DateCell/styled/HoverContainer.js +12 -0
- package/components/Calendar/components/DateCell/styled/SelectedContainer.js +12 -0
- package/components/Calendar/components/DateCell/styled/SelectedRangeContainer.js +12 -0
- package/components/Calendar/components/DateCell/styled/SelectedStartEndContainer.js +24 -0
- package/components/Calendar/components/DateCell/styled/TextContainer.js +8 -0
- package/components/Calendar/components/DateCell/styled/index.js +13 -0
- package/components/Calendar/components/Month/Month.js +39 -0
- package/components/Calendar/components/Month/index.js +9 -0
- package/components/Calendar/components/Month/styled/MonthNameContainer.js +12 -0
- package/components/Calendar/components/Month/styled/index.js +9 -0
- package/components/Calendar/components/Months/Months.js +54 -0
- package/components/Calendar/components/Months/constants.js +5 -0
- package/components/Calendar/components/Months/index.js +9 -0
- package/components/Calendar/components/Week/Week.js +90 -0
- package/components/Calendar/components/Week/index.js +9 -0
- package/components/Calendar/components/WeekDays/WeekDays.js +14 -0
- package/components/Calendar/components/WeekDays/index.js +9 -0
- package/components/Calendar/components/WeekDays/styled/WeekDaysContainer.js +12 -0
- package/components/Calendar/components/WeekDays/styled/index.js +9 -0
- package/components/Calendar/constants.js +36 -0
- package/components/Calendar/helpers/differenceBetweenMonths/differenceBetweenMonths.js +8 -0
- package/components/Calendar/helpers/differenceBetweenMonths/index.js +9 -0
- package/components/Calendar/helpers/getNumberOfDaysInMonth/getNumberOfDaysInMonth.js +7 -0
- package/components/Calendar/helpers/getNumberOfDaysInMonth/index.js +9 -0
- package/components/Calendar/helpers/getNumberOfDaysLeftInMonth/getNumberOfDaysLeftInMonth.js +10 -0
- package/components/Calendar/helpers/getNumberOfDaysLeftInMonth/index.js +9 -0
- package/components/Calendar/helpers/getNumberOfWeeksInMonth/getNumberOfWeeksInMonth.js +11 -0
- package/components/Calendar/helpers/getNumberOfWeeksInMonth/index.js +9 -0
- package/components/Calendar/helpers/index.js +25 -0
- package/components/Calendar/helpers/isDateInRange/index.js +9 -0
- package/components/Calendar/helpers/isDateInRange/isDateInRange.js +8 -0
- package/components/Calendar/helpers/isDateSelected/index.js +9 -0
- package/components/Calendar/helpers/isDateSelected/isDateSelected.js +9 -0
- package/components/Calendar/helpers/isDatesEqual/index.js +9 -0
- package/components/Calendar/helpers/isDatesEqual/isDatesEqual.js +6 -0
- package/components/Calendar/helpers/isRangeSelected/index.js +9 -0
- package/components/Calendar/helpers/isRangeSelected/isRangeSelected.js +6 -0
- package/components/Calendar/helpers/normalizeDate/index.js +9 -0
- package/components/Calendar/helpers/normalizeDate/normalizeDate.js +11 -0
- package/components/Calendar/index.js +11 -0
- package/components/Calendar/styled/CalendarContainer.js +12 -0
- package/components/Calendar/styled/index.js +9 -0
- package/components/Card/Card.js +26 -0
- package/components/Card/CardContent.js +11 -0
- package/components/Card/CardImage.js +11 -0
- package/components/Card/index.js +11 -0
- package/components/Card/styled/Card.js +64 -0
- package/components/Card/styled/CardContentWrapper.js +11 -0
- package/components/Card/styled/CardImage.js +12 -0
- package/components/Card/styled/CardScrim.js +8 -0
- package/components/Card/styled/index.js +15 -0
- package/components/Checkbox/Checkbox.js +51 -0
- package/components/Checkbox/index.js +9 -0
- package/components/Checkbox/styled/CheckIcon.js +17 -0
- package/components/Checkbox/styled/Checkbox.js +21 -0
- package/components/Checkbox/styled/CheckboxIcon.js +35 -0
- package/components/Checkbox/styled/CheckboxLabel.js +35 -0
- package/components/Checkbox/styled/Wrapper.js +8 -0
- package/components/Checkbox/styled/index.js +15 -0
- package/components/ChevronIcon/ChevronIcon.js +11 -0
- package/components/ChevronIcon/index.js +9 -0
- package/components/Chip/Chip.js +15 -0
- package/components/Chip/index.js +6 -0
- package/components/Chip/styled/Chip.js +14 -0
- package/components/Chip/styled/index.js +6 -0
- package/components/Circle/Circle.js +8 -0
- package/components/Circle/index.js +9 -0
- package/components/Circle/styled/Circle.js +15 -0
- package/components/Circle/styled/index.js +9 -0
- package/components/Collapse/Collapse.js +88 -0
- package/components/Collapse/CollapseItem.js +48 -0
- package/components/Collapse/constants.js +74 -0
- package/components/Collapse/index.js +9 -0
- package/components/Collapse/styled/CollapseItemContent.js +27 -0
- package/components/Collapse/styled/CollapseItemHeader.js +32 -0
- package/components/Collapse/styled/CollapseItemHeaderWrapper.js +8 -0
- package/components/Collapse/styled/index.js +13 -0
- package/components/Collapse/types.js +10 -0
- package/components/ComparisonTable/ComparisonTable.js +22 -0
- package/components/ComparisonTable/components/HeaderCell/HeaderCell.js +13 -0
- package/components/ComparisonTable/components/HeaderCell/index.js +9 -0
- package/components/ComparisonTable/components/HeaderCell/styled/HeaderCell.js +48 -0
- package/components/ComparisonTable/components/HeaderCell/styled/HeaderCellContainer.js +23 -0
- package/components/ComparisonTable/components/HeaderCell/styled/index.js +11 -0
- package/components/ComparisonTable/components/Row/Row.js +16 -0
- package/components/ComparisonTable/components/Row/index.js +9 -0
- package/components/ComparisonTable/components/Row/styled/Cell.js +35 -0
- package/components/ComparisonTable/components/Row/styled/Row.js +17 -0
- package/components/ComparisonTable/components/Row/styled/RowCellContainer.js +14 -0
- package/components/ComparisonTable/components/Row/styled/Title.js +22 -0
- package/components/ComparisonTable/components/Row/styled/index.js +15 -0
- package/components/ComparisonTable/index.js +9 -0
- package/components/ComparisonTable/styled/FooterCell.js +47 -0
- package/components/ComparisonTable/styled/FooterCellContainer.js +23 -0
- package/components/ComparisonTable/styled/Title.js +26 -0
- package/components/ComparisonTable/styled/index.js +13 -0
- package/components/Container/Container.js +11 -0
- package/components/Container/index.js +9 -0
- package/components/Container/styled/Container.js +24 -0
- package/components/Container/styled/index.js +5 -0
- package/components/CopyToClipboard/CopyToClipboard.js +57 -0
- package/components/CopyToClipboard/Notification.js +15 -0
- package/components/CopyToClipboard/index.js +9 -0
- package/components/CopyToClipboard/styled/CopyToClipboard.js +12 -0
- package/components/CopyToClipboard/styled/Notification.js +12 -0
- package/components/CopyToClipboard/styled/index.js +11 -0
- package/components/Corner/Corner.js +11 -0
- package/components/Corner/index.js +9 -0
- package/components/Corner/styled/Corner.js +31 -0
- package/components/Corner/styled/CornerIcon.js +15 -0
- package/components/Corner/styled/index.js +11 -0
- package/components/Counter/Counter.js +35 -0
- package/components/Counter/components/CounterButton/CounterButton.js +12 -0
- package/components/Counter/components/CounterButton/index.js +9 -0
- package/components/Counter/components/CounterButton/styled/CounterButton.js +18 -0
- package/components/Counter/components/CounterButton/styled/CounterIconContainer.js +8 -0
- package/components/Counter/components/CounterButton/styled/index.js +11 -0
- package/components/Counter/index.js +9 -0
- package/components/Counter/styled/Counter.js +18 -0
- package/components/Counter/styled/index.js +9 -0
- package/components/Divider/Divider.js +14 -0
- package/components/Divider/index.js +9 -0
- package/components/Divider/styled/Divider.js +40 -0
- package/components/Divider/styled/index.js +9 -0
- package/components/Dropdown/Dropdown.js +146 -0
- package/components/Dropdown/index.js +9 -0
- package/components/Dropdown/styled/Container.js +15 -0
- package/components/Dropdown/styled/IconContainer.js +12 -0
- package/components/Dropdown/styled/PrefixContent.js +14 -0
- package/components/Dropdown/styled/Select.js +25 -0
- package/components/Dropdown/styled/SubInfo.js +12 -0
- package/components/Dropdown/styled/index.js +13 -0
- package/components/DropdownButton/DropdownButton.js +31 -0
- package/components/DropdownButton/index.js +9 -0
- package/components/DropdownButton/styled/DropdownButton.js +11 -0
- package/components/DropdownButton/styled/DropdownPopup.js +16 -0
- package/components/DropdownButton/styled/index.js +11 -0
- package/components/Fade/Fade.js +11 -0
- package/components/Fade/index.js +9 -0
- package/components/Fade/styled/Fade.js +14 -0
- package/components/Fade/styled/index.js +6 -0
- package/components/Fieldset/Fieldset.js +11 -0
- package/components/Fieldset/index.js +9 -0
- package/components/Fieldset/styled/Fieldset.js +8 -0
- package/components/Fieldset/styled/index.js +9 -0
- package/components/Flex/Flex.js +12 -0
- package/components/Flex/index.js +9 -0
- package/components/Flex/styled/Flex.js +20 -0
- package/components/Flex/styled/index.js +9 -0
- package/components/FlightDateSelector/FlightDateSelector.js +16 -0
- package/components/FlightDateSelector/index.js +9 -0
- package/components/FlightDateSelector/styled/FlightDateSelector.js +19 -0
- package/components/FlightDateSelector/styled/index.js +9 -0
- package/components/FlightInfoBox/FlightInfoBox.js +20 -0
- package/components/FlightInfoBox/index.js +9 -0
- package/components/FlightInfoBox/styled/Content.js +11 -0
- package/components/FlightInfoBox/styled/FlightInfoBox.js +26 -0
- package/components/FlightInfoBox/styled/index.js +11 -0
- package/components/FlightInfoCard/FlightInfoCard.js +19 -0
- package/components/FlightInfoCard/index.js +9 -0
- package/components/FlightInfoCard/styled/FlightInfoCard.js +8 -0
- package/components/FlightInfoCard/styled/index.js +9 -0
- package/components/GlobalStyle/GlobalStyle.js +35 -0
- package/components/GlobalStyle/index.js +9 -0
- package/components/GooglePayButton/GooglePayButton.js +8 -0
- package/components/GooglePayButton/index.js +9 -0
- package/components/GooglePayButton/styled/GooglePayButton.js +8 -0
- package/components/GooglePayButton/styled/index.js +9 -0
- package/components/Grid/Grid.js +12 -0
- package/components/Grid/index.js +9 -0
- package/components/Grid/styled/StyledGrid.js +30 -0
- package/components/Grid/styled/helpers/getBoundaries/getBoundaries.js +22 -0
- package/components/Grid/styled/helpers/getBoundaries/index.js +6 -0
- package/components/Grid/styled/helpers/getTemplateAreas/getTemplateAreas.js +27 -0
- package/components/Grid/styled/helpers/getTemplateAreas/index.js +6 -0
- package/components/Grid/styled/helpers/getTemplateColumns/getTemplateColumns.js +10 -0
- package/components/Grid/styled/helpers/getTemplateColumns/index.js +6 -0
- package/components/Grid/styled/helpers/getTemplateGap/getTemplateGap.js +12 -0
- package/components/Grid/styled/helpers/getTemplateGap/index.js +6 -0
- package/components/Grid/styled/helpers/getTemplateRows/getTemplateRows.js +10 -0
- package/components/Grid/styled/helpers/getTemplateRows/index.js +6 -0
- package/components/Grid/styled/helpers/getTemplateTrack/getTemplateTrack.js +17 -0
- package/components/Grid/styled/helpers/getTemplateTrack/index.js +6 -0
- package/components/Grid/styled/index.js +9 -0
- package/components/H1/H1.js +8 -0
- package/components/H1/index.js +11 -0
- package/components/H1/styled/H1.js +23 -0
- package/components/H1/styled/index.js +10 -0
- package/components/H2/H2.js +8 -0
- package/components/H2/index.js +11 -0
- package/components/H2/styled/H2.js +14 -0
- package/components/H2/styled/index.js +10 -0
- package/components/H3/H3.js +8 -0
- package/components/H3/index.js +11 -0
- package/components/H3/styled/H3.js +22 -0
- package/components/H3/styled/index.js +10 -0
- package/components/H4/H4.js +8 -0
- package/components/H4/index.js +9 -0
- package/components/H4/styled/H4.js +20 -0
- package/components/H4/styled/index.js +9 -0
- package/components/H5/H5.js +8 -0
- package/components/H5/index.js +9 -0
- package/components/H5/styled/H5.js +20 -0
- package/components/H5/styled/index.js +9 -0
- package/components/HTMLContainer/HTMLContainer.js +15 -0
- package/components/HTMLContainer/index.js +9 -0
- package/components/HTMLContainer/styled/Content.js +19 -0
- package/components/HTMLContainer/styled/index.js +9 -0
- package/components/HTMLLabelWrapper/HTMLLabelWrapper.js +18 -0
- package/components/HTMLLabelWrapper/index.js +9 -0
- package/components/HTMLLabelWrapper/styled/Content.js +34 -0
- package/components/HTMLLabelWrapper/styled/index.js +9 -0
- package/components/Header/Header.js +12 -0
- package/components/Header/HeaderButton.js +11 -0
- package/components/Header/HeaderLogo.js +11 -0
- package/components/Header/index.js +13 -0
- package/components/Header/styled/Header.js +11 -0
- package/components/Header/styled/HeaderButton.js +38 -0
- package/components/Header/styled/HeaderLogo.js +15 -0
- package/components/Header/styled/HeaderWrapper.js +11 -0
- package/components/Header/styled/index.js +15 -0
- package/components/Icon/Icon.js +18 -0
- package/components/Icon/index.js +9 -0
- package/components/Icon/styled/Icon.js +35 -0
- package/components/Icon/styled/index.js +9 -0
- package/components/Iframe/Iframe.js +11 -0
- package/components/Iframe/index.js +9 -0
- package/components/Iframe/styled/Iframe.js +8 -0
- package/components/Iframe/styled/index.js +9 -0
- package/components/Image/Image.js +14 -0
- package/components/Image/index.js +9 -0
- package/components/Image/styled/Image.js +16 -0
- package/components/Image/styled/index.js +9 -0
- package/components/InfoBox/InfoBox.js +12 -0
- package/components/InfoBox/index.js +9 -0
- package/components/InfoBox/styled/InfoBox.js +21 -0
- package/components/InfoBox/styled/index.js +9 -0
- package/components/InfoBox/types.js +9 -0
- package/components/InfoButton/InfoButton.js +21 -0
- package/components/InfoButton/index.js +9 -0
- package/components/InfoButton/styled/InfoButton.js +21 -0
- package/components/InfoButton/styled/index.js +9 -0
- package/components/InfoTag/InfoTag.js +12 -0
- package/components/InfoTag/index.js +9 -0
- package/components/InfoTag/styled/InfoTag.js +22 -0
- package/components/InfoTag/styled/index.js +9 -0
- package/components/Input/Input.js +198 -0
- package/components/Input/constants.js +8 -0
- package/components/Input/index.js +12 -0
- package/components/Input/styled/ClearButton.js +15 -0
- package/components/Input/styled/Container.js +21 -0
- package/components/Input/styled/IconWrapper.js +8 -0
- package/components/Input/styled/InputBase.js +44 -0
- package/components/Input/styled/PasswordSwitcher.js +17 -0
- package/components/Input/styled/index.js +17 -0
- package/components/Input/types.js +17 -0
- package/components/Label/Label.js +7 -0
- package/components/Label/index.js +9 -0
- package/components/Label/styled/Label.js +13 -0
- package/components/Label/styled/index.js +9 -0
- package/components/Layout/Layout.js +12 -0
- package/components/Layout/constants.js +13 -0
- package/components/Layout/helpers/convertAspectRatio/convertAspectRatio.js +25 -0
- package/components/Layout/helpers/convertAspectRatio/index.js +9 -0
- package/components/Layout/index.js +9 -0
- package/components/Layout/styled/Layout.js +75 -0
- package/components/Layout/styled/index.js +9 -0
- package/components/Link/Primary.js +14 -0
- package/components/Link/PrimaryButton.js +14 -0
- package/components/Link/Secondary.js +14 -0
- package/components/Link/SecondaryButton.js +14 -0
- package/components/Link/constants.js +8 -0
- package/components/Link/defaultProps.js +15 -0
- package/components/Link/index.js +15 -0
- package/components/Link/styled/A.js +13 -0
- package/components/Link/styled/Link.js +37 -0
- package/components/Link/styled/LinkContainer.js +8 -0
- package/components/Link/styled/Primary.js +14 -0
- package/components/Link/styled/Secondary.js +14 -0
- package/components/Link/styled/getIconMargin.js +9 -0
- package/components/Link/styled/index.js +13 -0
- package/components/List/IconContainer.js +12 -0
- package/components/List/List.js +19 -0
- package/components/List/ListItem.js +17 -0
- package/components/List/constants.js +10 -0
- package/components/List/index.js +15 -0
- package/components/List/styled/IconContainer.js +8 -0
- package/components/List/styled/Item.js +22 -0
- package/components/List/styled/List.js +21 -0
- package/components/List/styled/ListItem.js +35 -0
- package/components/List/styled/PlaceHolder.js +8 -0
- package/components/List/styled/index.js +15 -0
- package/components/MaskedInput/MaskedInput.js +115 -0
- package/components/MaskedInput/constants.js +9 -0
- package/components/MaskedInput/index.js +9 -0
- package/components/MaskedInput/styled/BackgroundInput.js +19 -0
- package/components/MaskedInput/styled/Container.js +8 -0
- package/components/MaskedInput/styled/MaskedInput.js +12 -0
- package/components/MaskedInput/styled/index.js +13 -0
- package/components/Menu/Menu.js +15 -0
- package/components/Menu/index.js +9 -0
- package/components/Menu/styled/Content.js +11 -0
- package/components/Menu/styled/Menu.js +11 -0
- package/components/Menu/styled/index.js +11 -0
- package/components/MessageBox/MessageBox.js +11 -0
- package/components/MessageBox/index.js +9 -0
- package/components/MessageBox/styled/MessageBox.js +22 -0
- package/components/MessageBox/styled/index.js +9 -0
- package/components/MessageHelper/MessageHelper.js +18 -0
- package/components/MessageHelper/index.js +11 -0
- package/components/MessageHelper/styled/Arrow.js +12 -0
- package/components/MessageHelper/styled/MessageHelper.js +34 -0
- package/components/MessageHelper/styled/getArrowStyles.js +19 -0
- package/components/MessageHelper/styled/getBgColor.js +17 -0
- package/components/MessageHelper/styled/index.js +9 -0
- package/components/MessageHelper/types.js +11 -0
- package/components/Metroline/Metroline.js +14 -0
- package/components/Metroline/index.js +9 -0
- package/components/Metroline/styled/Metroline.js +23 -0
- package/components/Metroline/styled/index.js +9 -0
- package/components/MetrolineContainer/MetrolineContainer.js +8 -0
- package/components/MetrolineContainer/index.js +9 -0
- package/components/MetrolineContainer/styled/MetrolineContainer.js +14 -0
- package/components/MetrolineContainer/styled/index.js +9 -0
- package/components/MetrolineDivider/MetrolineDivider.js +12 -0
- package/components/MetrolineDivider/index.js +9 -0
- package/components/MetrolineDivider/styled/Metroline.js +12 -0
- package/components/MetrolineDivider/styled/MetrolineCircle.js +12 -0
- package/components/MetrolineDivider/styled/MetrolineDivider.js +8 -0
- package/components/MetrolineDivider/styled/index.js +13 -0
- package/components/Modal/Modal.js +25 -0
- package/components/Modal/ModalAction.js +23 -0
- package/components/Modal/ModalPopup.js +23 -0
- package/components/Modal/components/ModalActionContent/ModalActionContent.js +12 -0
- package/components/Modal/components/ModalActionContent/index.js +5 -0
- package/components/Modal/components/ModalActionContent/styled/ModalActionContentWrapper.js +16 -0
- package/components/Modal/components/ModalActionContent/styled/ModalActionScrollContainer.js +16 -0
- package/components/Modal/components/ModalActionContent/styled/index.js +6 -0
- package/components/Modal/components/ModalActionFooter/ModalActionFooter.js +14 -0
- package/components/Modal/components/ModalActionFooter/index.js +5 -0
- package/components/Modal/components/ModalActionFooter/styled/ModalActionFooter.js +20 -0
- package/components/Modal/components/ModalActionFooter/styled/index.js +5 -0
- package/components/Modal/components/ModalActionHeader/ModalActionHeader.js +14 -0
- package/components/Modal/components/ModalActionHeader/index.js +5 -0
- package/components/Modal/components/ModalActionHeader/styled/ModalActionHeader.js +17 -0
- package/components/Modal/components/ModalActionHeader/styled/ModalActionHeaderWrapper.js +24 -0
- package/components/Modal/components/ModalActionHeader/styled/index.js +6 -0
- package/components/Modal/components/ModalContent/ModalContent.js +13 -0
- package/components/Modal/components/ModalContent/index.js +5 -0
- package/components/Modal/components/ModalContent/styled/ModalContent.js +16 -0
- package/components/Modal/components/ModalContent/styled/index.js +5 -0
- package/components/Modal/components/ModalContentSection/ModalContentSection.js +12 -0
- package/components/Modal/components/ModalContentSection/index.js +5 -0
- package/components/Modal/components/ModalContentSection/styled/ModalContentSection.js +16 -0
- package/components/Modal/components/ModalContentSection/styled/index.js +5 -0
- package/components/Modal/components/ModalFooter/ModalFooter.js +14 -0
- package/components/Modal/components/ModalFooter/index.js +5 -0
- package/components/Modal/components/ModalFooter/styled/ModalFooter.js +16 -0
- package/components/Modal/components/ModalFooter/styled/index.js +5 -0
- package/components/Modal/components/ModalHeader/ModalHeader.js +12 -0
- package/components/Modal/components/ModalHeader/index.js +5 -0
- package/components/Modal/components/ModalPopupContent/ModalPopupContent.js +12 -0
- package/components/Modal/components/ModalPopupContent/index.js +5 -0
- package/components/Modal/components/ModalPopupContent/styled/ModalPopupContent.js +19 -0
- package/components/Modal/components/ModalPopupContent/styled/index.js +5 -0
- package/components/Modal/components/ModalPopupFooter/ModalPopupFooter.js +12 -0
- package/components/Modal/components/ModalPopupFooter/index.js +5 -0
- package/components/Modal/components/ModalPopupHeader/ModalPopupHeader.js +12 -0
- package/components/Modal/components/ModalPopupHeader/index.js +5 -0
- package/components/Modal/components/ModalSkeleton/ModalSkeleton.js +14 -0
- package/components/Modal/components/ModalSkeleton/index.js +5 -0
- package/components/Modal/constants.js +29 -0
- package/components/Modal/helpers/getModalGridForLargeMobile/getModalGridForLargeMobile.js +16 -0
- package/components/Modal/helpers/getModalGridForLargeMobile/index.js +6 -0
- package/components/Modal/helpers/getModalGridForSmallMobile/getModalGridForSmallMobile.js +16 -0
- package/components/Modal/helpers/getModalGridForSmallMobile/index.js +6 -0
- package/components/Modal/index.js +28 -0
- package/components/Modal/styled/ModalActionWrapper.js +14 -0
- package/components/Modal/styled/ModalPopupWrapper.js +18 -0
- package/components/Modal/styled/ModalWrapper.js +20 -0
- package/components/Modal/styled/index.js +7 -0
- package/components/NavigationHeader/NavigationHeader.js +17 -0
- package/components/NavigationHeader/constants.js +5 -0
- package/components/NavigationHeader/index.js +9 -0
- package/components/NavigationItem/CollapsibleNavigationItem.js +20 -0
- package/components/NavigationItem/NavigationItem.js +19 -0
- package/components/NavigationItem/components/NavigationArrowIcon/NavigationArrowIcon.js +11 -0
- package/components/NavigationItem/components/NavigationArrowIcon/index.js +9 -0
- package/components/NavigationItem/index.js +11 -0
- package/components/NavigationItem/types.js +10 -0
- package/components/Notification/Notification.js +31 -0
- package/components/Notification/constants.js +38 -0
- package/components/Notification/index.js +9 -0
- package/components/Notification/styled/Border.js +12 -0
- package/components/Notification/styled/Notification.js +14 -0
- package/components/Notification/styled/index.js +11 -0
- package/components/Notification/types.js +10 -0
- package/components/Overlay/Overlay.js +63 -0
- package/components/Overlay/helpers/scrollLocker/index.js +7 -0
- package/components/Overlay/helpers/scrollLocker/scrollLocker.js +49 -0
- package/components/Overlay/index.js +9 -0
- package/components/Overlay/styled/Overlay.js +11 -0
- package/components/Overlay/styled/Wrapper.js +13 -0
- package/components/Overlay/styled/index.js +11 -0
- package/components/PageGrid/PageGrid.js +20 -0
- package/components/PageGrid/constants.js +16 -0
- package/components/PageGrid/index.js +9 -0
- package/components/PayPalButton/PayPalButton.js +11 -0
- package/components/PayPalButton/index.js +9 -0
- package/components/PayPalButton/styled/PayPalButton.js +17 -0
- package/components/PayPalButton/styled/index.js +9 -0
- package/components/Price/Price.js +38 -0
- package/components/Price/PriceFormat.js +48 -0
- package/components/Price/SimplePrice.js +21 -0
- package/components/Price/constants.js +31 -0
- package/components/Price/helper.js +35 -0
- package/components/Price/index.js +15 -0
- package/components/Price/styled/Container.js +26 -0
- package/components/Price/styled/CurrentPrice.js +18 -0
- package/components/Price/styled/Item.js +43 -0
- package/components/Price/styled/Price.js +15 -0
- package/components/Price/styled/SimpleItem.js +24 -0
- package/components/Price/styled/index.js +17 -0
- package/components/RadioButton/RadioButton.js +22 -0
- package/components/RadioButton/index.js +10 -0
- package/components/RadioButton/skeletons/RadioButtonSkeleton.js +13 -0
- package/components/RadioButton/skeletons/styled/RadioButtonSkeleton.js +15 -0
- package/components/RadioButton/skeletons/styled/index.js +6 -0
- package/components/RadioButton/styled/Input.js +14 -0
- package/components/RadioButton/styled/InputIcon.js +36 -0
- package/components/RadioButton/styled/RadioLabel.js +16 -0
- package/components/RadioButton/styled/Wrapper.js +32 -0
- package/components/RadioButton/styled/index.js +15 -0
- package/components/RadioGroup/RadioContext.js +12 -0
- package/components/RadioGroup/RadioGroup.js +17 -0
- package/components/RadioGroup/index.js +9 -0
- package/components/RadioSelectButtons/RadioSelectButtons.js +44 -0
- package/components/RadioSelectButtons/RadioSelectItem.js +8 -0
- package/components/RadioSelectButtons/components/RadioSelectButton/RadioSelectButton.js +39 -0
- package/components/RadioSelectButtons/components/RadioSelectButton/index.js +9 -0
- package/components/RadioSelectButtons/components/RadioSelectButton/styled/RadioSelectButton.js +32 -0
- package/components/RadioSelectButtons/components/RadioSelectButton/styled/index.js +9 -0
- package/components/RadioSelectButtons/index.js +9 -0
- package/components/RadioSelectButtons/styled/RadioSelectButtons.js +12 -0
- package/components/RadioSelectButtons/styled/index.js +9 -0
- package/components/Rating/Rating.js +15 -0
- package/components/Rating/RatingItem.js +12 -0
- package/components/Rating/TrustpilotRating.js +11 -0
- package/components/Rating/index.js +11 -0
- package/components/Rating/styled/RatingIcon.js +9 -0
- package/components/Rating/styled/RatingItem.js +24 -0
- package/components/Rating/styled/RatingValueWrapper.js +15 -0
- package/components/Rating/styled/RatingWrapper.js +11 -0
- package/components/Rating/styled/Wrapper.js +8 -0
- package/components/Rating/styled/index.js +17 -0
- package/components/Ribbon/Ribbon.js +11 -0
- package/components/Ribbon/index.js +9 -0
- package/components/Ribbon/styled/Ribbon.js +78 -0
- package/components/Ribbon/styled/Text.js +20 -0
- package/components/Ribbon/styled/index.js +11 -0
- package/components/RoundLogo/BrandRoundLogo.js +9 -0
- package/components/RoundLogo/RoundLogo.js +11 -0
- package/components/RoundLogo/index.js +11 -0
- package/components/RoundLogo/styled/BrandRoundLogo.js +15 -0
- package/components/RoundLogo/styled/RoundLogo.js +12 -0
- package/components/RoundLogo/styled/index.js +11 -0
- package/components/Seatmap/Exit/Exit.js +12 -0
- package/components/Seatmap/Exit/index.js +9 -0
- package/components/Seatmap/Exit/styled/Exit.js +33 -0
- package/components/Seatmap/Exit/styled/index.js +9 -0
- package/components/Seatmap/Fuselage/Fuselage.js +11 -0
- package/components/Seatmap/Fuselage/index.js +9 -0
- package/components/Seatmap/Fuselage/styled/Fuselage.js +19 -0
- package/components/Seatmap/Fuselage/styled/index.js +9 -0
- package/components/Seatmap/Wing/Wing.js +11 -0
- package/components/Seatmap/Wing/index.js +9 -0
- package/components/Seatmap/Wing/styled/Wing.js +34 -0
- package/components/Seatmap/Wing/styled/index.js +9 -0
- package/components/Seatmap/index.js +13 -0
- package/components/SectionTitle/SectionTitle.js +15 -0
- package/components/SectionTitle/index.js +8 -0
- package/components/SectionTitle/skeletons/SectionTitleSkeleton.js +9 -0
- package/components/SelectInput/SelectInput.js +21 -0
- package/components/SelectInput/index.js +9 -0
- package/components/SelectInput/styled/SelectInput.js +38 -0
- package/components/SelectInput/styled/SelectInputContent.js +9 -0
- package/components/SelectInput/styled/index.js +11 -0
- package/components/Shape/Shape.js +17 -0
- package/components/Shape/helpers/withShape/index.js +6 -0
- package/components/Shape/helpers/withShape/withShape.js +28 -0
- package/components/Shape/index.js +6 -0
- package/components/SidePanel/Content.js +18 -0
- package/components/SidePanel/SidePanel.js +19 -0
- package/components/SidePanel/index.js +9 -0
- package/components/SidePanel/styled/Content.js +20 -0
- package/components/SidePanel/styled/Footer.js +22 -0
- package/components/SidePanel/styled/SidePanel.js +13 -0
- package/components/SidePanel/styled/index.js +13 -0
- package/components/Skeleton/Skeleton.js +11 -0
- package/components/Skeleton/index.js +9 -0
- package/components/Skeleton/styled/Skeleton.js +39 -0
- package/components/Skeleton/styled/index.js +9 -0
- package/components/Slogan/Slogan.js +11 -0
- package/components/Slogan/index.js +9 -0
- package/components/Slogan/styled/Slogan.js +22 -0
- package/components/Slogan/styled/index.js +9 -0
- package/components/SmallText/SmallText.js +11 -0
- package/components/SmallText/index.js +9 -0
- package/components/SnakeNavigation/NavigationStep.js +45 -0
- package/components/SnakeNavigation/SnakeNavigation.js +18 -0
- package/components/SnakeNavigation/index.js +11 -0
- package/components/SnakeNavigation/skeletons/SnakeNavigationSkeleton.js +27 -0
- package/components/SnakeNavigation/styled/NavigationContainer.js +11 -0
- package/components/SnakeNavigation/styled/NavigationSeparator.js +14 -0
- package/components/SnakeNavigation/styled/NavigationStepContainer.js +20 -0
- package/components/SnakeNavigation/styled/NavigationStepList.js +24 -0
- package/components/SnakeNavigation/styled/StepContainer.js +43 -0
- package/components/SnakeNavigation/styled/StepIcon.js +11 -0
- package/components/SnakeNavigation/styled/StepLabel.js +29 -0
- package/components/SnakeNavigation/styled/index.js +21 -0
- package/components/Spinner/Spinner.js +15 -0
- package/components/Spinner/index.js +9 -0
- package/components/Spinner/styled/Spinner.js +19 -0
- package/components/Spinner/styled/SpinnerAsset.js +13 -0
- package/components/Spinner/styled/index.js +11 -0
- package/components/Spotlight/Backdrop.js +26 -0
- package/components/Spotlight/Forefront.js +11 -0
- package/components/Spotlight/Spotlight.js +12 -0
- package/components/Spotlight/constants.js +5 -0
- package/components/Spotlight/index.js +11 -0
- package/components/Spotlight/styled/Backdrop.js +22 -0
- package/components/Spotlight/styled/Forefront.js +13 -0
- package/components/Spotlight/styled/index.js +11 -0
- package/components/Stack/Stack.js +14 -0
- package/components/Stack/index.js +9 -0
- package/components/Stack/styled/StyledStack.js +42 -0
- package/components/Stack/styled/index.js +9 -0
- package/components/StaticAsset/StaticAsset.js +19 -0
- package/components/StaticAsset/index.js +9 -0
- package/components/StaticAsset/styled/StaticAsset.js +8 -0
- package/components/StaticAsset/styled/index.js +6 -0
- package/components/StaticAssetGroup/StaticAssetGroup.js +21 -0
- package/components/StaticAssetGroup/StaticAssetItem.js +20 -0
- package/components/StaticAssetGroup/helpers/scrollParentToChild.js +18 -0
- package/components/StaticAssetGroup/index.js +9 -0
- package/components/StaticAssetGroup/styled/StaticAssetItem.js +11 -0
- package/components/StaticAssetGroup/styled/index.js +9 -0
- package/components/StatusBox/StatusBox.js +11 -0
- package/components/StatusBox/index.js +9 -0
- package/components/StatusBox/styled/StatusBox.js +17 -0
- package/components/StatusBox/styled/index.js +9 -0
- package/components/StepContainer/StepContainer.js +11 -0
- package/components/StepContainer/index.js +9 -0
- package/components/StepContainer/styled/StepContainer.js +36 -0
- package/components/StepContainer/styled/index.js +9 -0
- package/components/Steps/Step.js +20 -0
- package/components/Steps/Steps.js +15 -0
- package/components/Steps/index.js +11 -0
- package/components/Steps/styled/StepBorder.js +21 -0
- package/components/Steps/styled/StepChild.js +15 -0
- package/components/Steps/styled/StepCircleContainer.js +12 -0
- package/components/Steps/styled/StepTitle.js +26 -0
- package/components/Steps/styled/index.js +15 -0
- package/components/StepsTitle/StepsTitle.js +12 -0
- package/components/StepsTitle/index.js +9 -0
- package/components/StepsTitle/styled/StepsTitle.js +18 -0
- package/components/StepsTitle/styled/index.js +9 -0
- package/components/StickyComponent/StickyComponent.js +21 -0
- package/components/StickyComponent/index.js +9 -0
- package/components/StickyComponent/styled/StickyComponent.js +20 -0
- package/components/StickyComponent/styled/index.js +9 -0
- package/components/StopsLine/StopsLine.js +21 -0
- package/components/StopsLine/index.js +9 -0
- package/components/StopsLine/styled/StopsLineCircle.js +17 -0
- package/components/StopsLine/styled/StopsLineDivider.js +11 -0
- package/components/StopsLine/styled/index.js +9 -0
- package/components/Switch/Switch.js +13 -0
- package/components/Switch/index.js +6 -0
- package/components/Switch/styled/Checkbox.js +10 -0
- package/components/Switch/styled/Knob.js +19 -0
- package/components/Switch/styled/Wrapper.js +20 -0
- package/components/Switch/styled/index.js +10 -0
- package/components/Table/Table.js +8 -0
- package/components/Table/components/Cell/Cell.js +12 -0
- package/components/Table/components/Cell/index.js +9 -0
- package/components/Table/components/Cell/styled/Cell.js +21 -0
- package/components/Table/components/Cell/styled/index.js +9 -0
- package/components/Table/components/Row/Row.js +8 -0
- package/components/Table/components/Row/index.js +9 -0
- package/components/Table/components/Row/styled/Row.js +25 -0
- package/components/Table/components/Row/styled/index.js +9 -0
- package/components/Table/index.js +13 -0
- package/components/Tabs/Arrow.js +13 -0
- package/components/Tabs/Tab.js +8 -0
- package/components/Tabs/TabTitle.js +30 -0
- package/components/Tabs/Tabs.js +141 -0
- package/components/Tabs/constants.js +6 -0
- package/components/Tabs/index.js +9 -0
- package/components/Tabs/styled/ArrowWrapper.js +26 -0
- package/components/Tabs/styled/ScrollTape.js +11 -0
- package/components/Tabs/styled/TabTitleContainer.js +8 -0
- package/components/Tabs/styled/TabTitleWrapper.js +64 -0
- package/components/Tabs/styled/TabsNavigationBackground.js +24 -0
- package/components/Tabs/styled/TabsNavigationWrapper.js +27 -0
- package/components/Tabs/styled/index.js +15 -0
- package/components/Tabs/types.js +8 -0
- package/components/Tag/Tag.js +12 -0
- package/components/Tag/index.js +9 -0
- package/components/Tag/styled/Tag.js +20 -0
- package/components/Tag/styled/index.js +9 -0
- package/components/Text/Text.js +22 -0
- package/components/Text/index.js +9 -0
- package/components/Text/styled/Text.js +94 -0
- package/components/Text/styled/index.js +9 -0
- package/components/TextArea/TextArea.js +11 -0
- package/components/TextArea/index.js +9 -0
- package/components/TextArea/styled/TextArea.js +15 -0
- package/components/TextArea/styled/index.js +9 -0
- package/components/TextBlock/TextBlock.js +17 -0
- package/components/TextBlock/TextBlockContent.js +14 -0
- package/components/TextBlock/index.js +11 -0
- package/components/TextBlock/styled/TextBlock.js +12 -0
- package/components/TextBlock/styled/TextBlockContent.js +47 -0
- package/components/TextBlock/styled/index.js +11 -0
- package/components/TitleBar/BackButton.js +12 -0
- package/components/TitleBar/CloseButton.js +12 -0
- package/components/TitleBar/OpenButton.js +12 -0
- package/components/TitleBar/TitleBar.js +16 -0
- package/components/TitleBar/index.js +9 -0
- package/components/TitleBar/styled/BackButtonContainer.js +11 -0
- package/components/TitleBar/styled/CloseButtonContainer.js +8 -0
- package/components/TitleBar/styled/OpenButtonContainer.js +8 -0
- package/components/TitleBar/styled/Separator.js +8 -0
- package/components/TitleBar/styled/Title.js +14 -0
- package/components/TitleBar/styled/TitleBar.js +49 -0
- package/components/TitleBar/styled/index.js +17 -0
- package/components/Tooltip/Tooltip.js +98 -0
- package/components/Tooltip/TooltipContext.js +9 -0
- package/components/Tooltip/helpers/getTooltipPosition/constants.js +8 -0
- package/components/Tooltip/helpers/getTooltipPosition/getTooltipPosition.js +43 -0
- package/components/Tooltip/helpers/getTooltipPosition/index.js +9 -0
- package/components/Tooltip/helpers/isPositionChanged/index.js +9 -0
- package/components/Tooltip/helpers/isPositionChanged/isPositionChanged.js +15 -0
- package/components/Tooltip/index.js +9 -0
- package/components/Tooltip/styled/IconWrapper.js +17 -0
- package/components/Tooltip/styled/Tooltip.js +37 -0
- package/components/Tooltip/styled/Wrapper.js +8 -0
- package/components/Tooltip/styled/index.js +13 -0
- package/components/Touchable/Touchable.js +12 -0
- package/components/Touchable/index.js +9 -0
- package/components/Touchable/styled/Touchable.js +33 -0
- package/components/Touchable/styled/index.js +9 -0
- package/components/ValidationIcon/ValidationIcon.js +11 -0
- package/components/ValidationIcon/index.js +9 -0
- package/components/__deprecated__/Box/Box.js +27 -0
- package/components/__deprecated__/Box/index.js +9 -0
- package/components/__deprecated__/Box/styled/StyledBox.js +176 -0
- package/components/__deprecated__/Box/styled/index.js +9 -0
- package/components/__deprecated__/FlightCollapsedBox/FlightCollapsedBox.js +40 -0
- package/components/__deprecated__/FlightCollapsedBox/index.js +9 -0
- package/components/__deprecated__/FlightCollapsedBox/styled/FlightCollapseContent.js +11 -0
- package/components/__deprecated__/FlightCollapsedBox/styled/FlightCollapsedBox.js +11 -0
- package/components/__deprecated__/FlightCollapsedBox/styled/Wrapper.js +8 -0
- package/components/__deprecated__/FlightCollapsedBox/styled/index.js +13 -0
- package/components/__deprecated__/Header/Header.js +12 -0
- package/components/__deprecated__/Header/HeaderButton.js +11 -0
- package/components/__deprecated__/Header/HeaderLogo.js +11 -0
- package/components/__deprecated__/Header/index.js +13 -0
- package/components/__deprecated__/Header/styled/Header.js +11 -0
- package/components/__deprecated__/Header/styled/HeaderButton.js +40 -0
- package/components/__deprecated__/Header/styled/HeaderLogo.js +14 -0
- package/components/__deprecated__/Header/styled/HeaderWrapper.js +11 -0
- package/components/__deprecated__/Header/styled/index.js +15 -0
- package/components/__deprecated__/NegativeMarginWrapper/NegativeMarginWrapper.js +11 -0
- package/components/__deprecated__/NegativeMarginWrapper/index.js +9 -0
- package/components/__deprecated__/NegativeMarginWrapper/styled/NegativeMarginWrapper.js +11 -0
- package/components/__deprecated__/NegativeMarginWrapper/styled/index.js +9 -0
- package/hooks/useBreakpoints/index.js +9 -0
- package/hooks/useBreakpoints/useBreakpoints.js +16 -0
- package/hooks/useDesktop/index.js +9 -0
- package/hooks/useDesktop/useDesktop.js +7 -0
- package/hooks/useLazyLoadingImage/index.js +9 -0
- package/hooks/useLazyLoadingImage/useLazyLoadingImage.js +31 -0
- package/hooks/useMediaQuery/helpers/isSupported/index.js +9 -0
- package/hooks/useMediaQuery/helpers/isSupported/isSupported.js +7 -0
- package/hooks/useMediaQuery/index.js +9 -0
- package/hooks/useMediaQuery/useMediaQuery.js +22 -0
- package/hooks/useMounted/index.js +9 -0
- package/hooks/useMounted/useMounted.js +13 -0
- package/hooks/useViewportSize/index.js +6 -0
- package/hooks/useViewportSize/useViewportSize.js +33 -0
- package/package.json +28 -3
- package/scripts/build.js +132 -0
- package/themes/common/zIndexes.js +18 -0
- package/utils/hexToRgba/hexToRgba.js +10 -0
- package/utils/hexToRgba/index.js +9 -0
- package/utils/isSSR/index.js +9 -0
- package/utils/isSSR/isSSR.js +4 -0
- package/utils/media/index.js +9 -0
- package/utils/media/media.js +45 -0
- package/utils/omitAttrs/index.js +9 -0
- package/utils/omitAttrs/omitAttrs.js +15 -0
- package/utils/sanitizeTags/index.js +6 -0
- package/utils/sanitizeTags/sanitizeTags.js +54 -0
- package/utils/scroller/documentScrollPosition.js +17 -0
- package/utils/scroller/index.js +7 -0
- package/utils/scroller/scrollTickToPosition.js +31 -0
- package/utils/scroller/scrollTo.js +34 -0
- package/utils/themedStyledComponents/index.js +15 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.Wrapper = exports.RadioLabel = exports.InputIcon = exports.Input = void 0;
|
7
|
+
var Input_1 = require("./Input");
|
8
|
+
Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return __importDefault(Input_1).default; } });
|
9
|
+
var InputIcon_1 = require("./InputIcon");
|
10
|
+
Object.defineProperty(exports, "InputIcon", { enumerable: true, get: function () { return __importDefault(InputIcon_1).default; } });
|
11
|
+
var RadioLabel_1 = require("./RadioLabel");
|
12
|
+
Object.defineProperty(exports, "RadioLabel", { enumerable: true, get: function () { return __importDefault(RadioLabel_1).default; } });
|
13
|
+
var Wrapper_1 = require("./Wrapper");
|
14
|
+
Object.defineProperty(exports, "Wrapper", { enumerable: true, get: function () { return __importDefault(Wrapper_1).default; } });
|
15
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RadioContext = void 0;
|
4
|
+
var react_1 = require("react");
|
5
|
+
exports.RadioContext = react_1.createContext({
|
6
|
+
dataAttrs: {},
|
7
|
+
name: '',
|
8
|
+
onChange: function (_e) { },
|
9
|
+
selectedValue: '',
|
10
|
+
fullWidth: false,
|
11
|
+
});
|
12
|
+
//# sourceMappingURL=RadioContext.js.map
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var Stack_1 = tslib_1.__importDefault(require("../Stack"));
|
6
|
+
var RadioContext_1 = require("./RadioContext");
|
7
|
+
var RadioGroup = function (_a) {
|
8
|
+
var children = _a.children, _b = _a.direction, direction = _b === void 0 ? 'row' : _b, _c = _a.name, name = _c === void 0 ? '' : _c, _d = _a.onChange, onChange = _d === void 0 ? function () { } : _d, _e = _a.stretchItems, stretchItems = _e === void 0 ? false : _e, spaceBetween = _a.spaceBetween, selectedValue = _a.selectedValue;
|
9
|
+
return (jsx_runtime_1.jsx(Stack_1.default, tslib_1.__assign({ flexDirection: direction, flexGrow: 1, gap: spaceBetween }, { children: jsx_runtime_1.jsx(RadioContext_1.RadioContext.Provider, tslib_1.__assign({ value: {
|
10
|
+
name: name,
|
11
|
+
onChange: onChange,
|
12
|
+
selectedValue: selectedValue,
|
13
|
+
fullWidth: stretchItems && (direction === 'row' || direction === 'row-reverse'),
|
14
|
+
} }, { children: children }), void 0) }), void 0));
|
15
|
+
};
|
16
|
+
exports.default = RadioGroup;
|
17
|
+
//# sourceMappingURL=RadioGroup.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.default = void 0;
|
7
|
+
var RadioGroup_1 = require("./RadioGroup");
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(RadioGroup_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,44 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var react_1 = require("react");
|
6
|
+
var S = tslib_1.__importStar(require("./styled"));
|
7
|
+
var RadioSelectItem_1 = tslib_1.__importDefault(require("./RadioSelectItem"));
|
8
|
+
var RadioSelectButton_1 = require("./components/RadioSelectButton");
|
9
|
+
var RadioSelectButtons = (function (_super) {
|
10
|
+
tslib_1.__extends(RadioSelectButtons, _super);
|
11
|
+
function RadioSelectButtons() {
|
12
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
13
|
+
_this.handleButtonClick = function (index) {
|
14
|
+
var _a = _this.props, activeIndex = _a.activeIndex, onChange = _a.onChange;
|
15
|
+
if (index === activeIndex) {
|
16
|
+
return;
|
17
|
+
}
|
18
|
+
onChange(index);
|
19
|
+
};
|
20
|
+
return _this;
|
21
|
+
}
|
22
|
+
RadioSelectButtons.prototype.renderButtons = function () {
|
23
|
+
var _this = this;
|
24
|
+
var _a = this.props, activeIndex = _a.activeIndex, children = _a.children, _b = _a.variation, variation = _b === void 0 ? 'primary' : _b;
|
25
|
+
return react_1.Children.map(children, function (child, index) {
|
26
|
+
if (child.type.toString() !== RadioSelectItem_1.default.toString()) {
|
27
|
+
throw new Error('Only children of RadioSelectItem type are allowed in RadioSelectButtons component');
|
28
|
+
}
|
29
|
+
return (jsx_runtime_1.jsx(RadioSelectButton_1.RadioSelectButton, { activeIndex: activeIndex, dataAttrs: child.props.dataAttrs, index: index, onClick: _this.handleButtonClick, title: child.props.title, variation: variation }, void 0));
|
30
|
+
});
|
31
|
+
};
|
32
|
+
RadioSelectButtons.prototype.render = function () {
|
33
|
+
var variation = this.props.variation;
|
34
|
+
return (jsx_runtime_1.jsx(S.RadioSelectButtons, tslib_1.__assign({ variation: variation }, { children: this.renderButtons() }), void 0));
|
35
|
+
};
|
36
|
+
RadioSelectButtons.defaultProps = {
|
37
|
+
activeIndex: 0,
|
38
|
+
onChange: function () { },
|
39
|
+
};
|
40
|
+
RadioSelectButtons.RadioSelectItem = RadioSelectItem_1.default;
|
41
|
+
return RadioSelectButtons;
|
42
|
+
}(react_1.PureComponent));
|
43
|
+
exports.default = RadioSelectButtons;
|
44
|
+
//# sourceMappingURL=RadioSelectButtons.js.map
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var RadioSelectItem = function () {
|
4
|
+
throw new Error('The `RadioSelectItem` component is not meant to be rendered! ' +
|
5
|
+
"It's an abstract component that is only valid as a direct Child of the `RadioSelectButtons` Component.");
|
6
|
+
};
|
7
|
+
exports.default = RadioSelectItem;
|
8
|
+
//# sourceMappingURL=RadioSelectItem.js.map
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var react_1 = require("react");
|
6
|
+
var Text_1 = tslib_1.__importDefault(require("../../../Text"));
|
7
|
+
var S = tslib_1.__importStar(require("./styled"));
|
8
|
+
var RadioSelectButton = (function (_super) {
|
9
|
+
tslib_1.__extends(RadioSelectButton, _super);
|
10
|
+
function RadioSelectButton() {
|
11
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
12
|
+
_this.handleClick = function (e) {
|
13
|
+
var _a = _this.props, index = _a.index, onClick = _a.onClick;
|
14
|
+
onClick(index);
|
15
|
+
};
|
16
|
+
return _this;
|
17
|
+
}
|
18
|
+
RadioSelectButton.prototype.render = function () {
|
19
|
+
var _a = this.props, activeIndex = _a.activeIndex, dataAttrs = _a.dataAttrs, index = _a.index, title = _a.title, variation = _a.variation;
|
20
|
+
var active = activeIndex === index;
|
21
|
+
var textColor = 'CONTENT_BACKGROUND';
|
22
|
+
var fontWeight = 'fw500';
|
23
|
+
if (variation === 'primary') {
|
24
|
+
textColor = active ? 'CONTENT_BACKGROUND' : 'PRIMARY_LIGHT';
|
25
|
+
}
|
26
|
+
else {
|
27
|
+
textColor = active ? 'CONTENT_BACKGROUND' : 'SECONDARY_LIGHT';
|
28
|
+
fontWeight = active ? 'fw700' : 'fw400';
|
29
|
+
}
|
30
|
+
return (jsx_runtime_1.jsx(S.RadioSelectButton, tslib_1.__assign({}, dataAttrs, { activeIndex: activeIndex, index: index, onClick: this.handleClick, variation: variation }, { children: jsx_runtime_1.jsx(Text_1.default, tslib_1.__assign({ align: "center", color: textColor, dataAttrs: dataAttrs, fontSize: variation === 'primary' ? 'fs200' : 'fs300', fontWeight: fontWeight }, { children: title }), void 0) }), void 0));
|
31
|
+
};
|
32
|
+
RadioSelectButton.defaultProps = {
|
33
|
+
dataAttrs: {},
|
34
|
+
onClick: function () { },
|
35
|
+
};
|
36
|
+
return RadioSelectButton;
|
37
|
+
}(react_1.PureComponent));
|
38
|
+
exports.default = RadioSelectButton;
|
39
|
+
//# sourceMappingURL=RadioSelectButton.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.RadioSelectButton = void 0;
|
7
|
+
var RadioSelectButton_1 = require("./RadioSelectButton");
|
8
|
+
Object.defineProperty(exports, "RadioSelectButton", { enumerable: true, get: function () { return __importDefault(RadioSelectButton_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
package/components/RadioSelectButtons/components/RadioSelectButton/styled/RadioSelectButton.js
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importStar(require("../../../../../utils/themedStyledComponents"));
|
5
|
+
var styles = function (_a) {
|
6
|
+
var theme = _a.theme, variation = _a.variation;
|
7
|
+
var _b = theme.borders, br200 = _b.radius.br200, SOLID = _b.style.SOLID, bw100 = _b.width.bw100, _c = theme.colors, CONTENT_BACKGROUND = _c.CONTENT_BACKGROUND, SECONDARY = _c.SECONDARY, TERTIARY = _c.TERTIARY, PRIMARY_LIGHT = _c.PRIMARY_LIGHT;
|
8
|
+
var secondary = variation === 'secondary';
|
9
|
+
return themedStyledComponents_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n align-items: center;\n background: ", ";\n border: ", " ", " ", ";\n box-shadow: inset 0 -3px 0 0 ", ";\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n flex-basis: 100%;\n\n ", "\n\n justify-content: center;\n min-height: 32px;\n overflow: hidden;\n\n &:first-child {\n border-radius: ", " 0 0 ", ";\n }\n\n &:not(:first-child) {\n border-left: 0;\n }\n\n &:last-child {\n border-radius: 0 ", " ", " 0;\n }\n\n ", "\n "], ["\n align-items: center;\n background: ", ";\n border: ", " ", " ", ";\n box-shadow: inset 0 -3px 0 0 ", ";\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n flex-basis: 100%;\n\n ",
|
10
|
+
"\n\n justify-content: center;\n min-height: 32px;\n overflow: hidden;\n\n &:first-child {\n border-radius: ", " 0 0 ", ";\n }\n\n &:not(:first-child) {\n border-left: 0;\n }\n\n &:last-child {\n border-radius: 0 ", " ", " 0;\n }\n\n ",
|
11
|
+
"\n "])), CONTENT_BACKGROUND, bw100, SOLID, SECONDARY, TERTIARY, secondary &&
|
12
|
+
"\n background: " + PRIMARY_LIGHT + ";\n border: 0;\n box-shadow: none;\n flex-grow: 0;\n flex-basis: auto;\n ", br200, br200, br200, br200, secondary &&
|
13
|
+
"\n border-radius: " + br200 + ";\n padding: 4px 8px;\n margin-right: 8px;\n\n &:first-child {\n border-radius: " + br200 + ";\n }\n\n &:last-child {\n border-radius: " + br200 + ";\n margin-right: 0px;\n }\n ");
|
14
|
+
};
|
15
|
+
var active = function (_a) {
|
16
|
+
var activeIndex = _a.activeIndex, index = _a.index, theme = _a.theme, variation = _a.variation;
|
17
|
+
var _b = theme.colors, ACTIVE = _b.ACTIVE, PRIMARY_LIGHTER = _b.PRIMARY_LIGHTER;
|
18
|
+
var activeButton = activeIndex === index;
|
19
|
+
var secondary = variation === 'secondary';
|
20
|
+
return (activeButton && themedStyledComponents_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n background: ", ";\n border-color: ", ";\n box-shadow: inset 0 -3px 0 0 #009ee5;\n ", "\n cursor: default;\n "], ["\n background: ", ";\n border-color: ", ";\n box-shadow: inset 0 -3px 0 0 #009ee5;\n ",
|
21
|
+
"\n cursor: default;\n "])), ACTIVE, ACTIVE, secondary &&
|
22
|
+
"\n background: " + PRIMARY_LIGHTER + ";\n box-shadow: none;\n "));
|
23
|
+
};
|
24
|
+
var beforeActive = function (_a) {
|
25
|
+
var activeIndex = _a.activeIndex, index = _a.index;
|
26
|
+
return index === activeIndex - 1 &&
|
27
|
+
"\n border-right: 0;\n ";
|
28
|
+
};
|
29
|
+
var RadioSelectButtons = themedStyledComponents_1.default.div(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n ", "\n ", "\n ", "\n"], ["\n ", "\n ", "\n ", "\n"])), styles, active, beforeActive);
|
30
|
+
exports.default = RadioSelectButtons;
|
31
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
32
|
+
//# sourceMappingURL=RadioSelectButton.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.RadioSelectButton = void 0;
|
7
|
+
var RadioSelectButton_1 = require("./RadioSelectButton");
|
8
|
+
Object.defineProperty(exports, "RadioSelectButton", { enumerable: true, get: function () { return __importDefault(RadioSelectButton_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.default = void 0;
|
7
|
+
var RadioSelectButtons_1 = require("./RadioSelectButtons");
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(RadioSelectButtons_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var RadioSelectButtons = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n border-radius: 4px;\n display: flex;\n box-shadow: ", ";\n min-height: 32px;\n"], ["\n border-radius: 4px;\n display: flex;\n box-shadow: ",
|
6
|
+
";\n min-height: 32px;\n"])), function (_a) {
|
7
|
+
var variation = _a.variation;
|
8
|
+
return variation === 'secondary' ? undefined : '0 3px 3px 0 rgba(0, 0, 0, 0.15)}';
|
9
|
+
});
|
10
|
+
exports.default = RadioSelectButtons;
|
11
|
+
var templateObject_1;
|
12
|
+
//# sourceMappingURL=RadioSelectButtons.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.RadioSelectButtons = void 0;
|
7
|
+
var RadioSelectButtons_1 = require("./RadioSelectButtons");
|
8
|
+
Object.defineProperty(exports, "RadioSelectButtons", { enumerable: true, get: function () { return __importDefault(RadioSelectButtons_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var S = tslib_1.__importStar(require("./styled/index"));
|
6
|
+
var RatingItem_1 = tslib_1.__importDefault(require("./RatingItem"));
|
7
|
+
var Rating = function (props) {
|
8
|
+
var rate = props.rate, size = props.size;
|
9
|
+
var stars = Array.from(Array(size).keys());
|
10
|
+
var value = Math.ceil((rate / size) * 100);
|
11
|
+
return (jsx_runtime_1.jsxs(S.Wrapper, { children: [jsx_runtime_1.jsx(S.RatingWrapper, { children: stars.map(function (star) { return (jsx_runtime_1.jsx(RatingItem_1.default, tslib_1.__assign({}, props), star)); }) }, void 0),
|
12
|
+
jsx_runtime_1.jsx(S.RatingValueWrapper, tslib_1.__assign({ width: value }, { children: stars.map(function (star) { return (jsx_runtime_1.jsx(RatingItem_1.default, tslib_1.__assign({ isValue: true }, props), star)); }) }), void 0)] }, void 0));
|
13
|
+
};
|
14
|
+
exports.default = Rating;
|
15
|
+
//# sourceMappingURL=Rating.js.map
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var S = tslib_1.__importStar(require("./styled/index"));
|
6
|
+
var RatingItem = function (_a) {
|
7
|
+
var _b = _a.activeColor, activeColor = _b === void 0 ? 'ACCENT' : _b, _c = _a.backgroundColor, backgroundColor = _c === void 0 ? 'TERTIARY_DARK' : _c, _d = _a.height, height = _d === void 0 ? 20 : _d, _e = _a.iconColor, iconColor = _e === void 0 ? 'CONTENT_BACKGROUND' : _e, _f = _a.iconName, iconName = _f === void 0 ? 'rating' : _f, _g = _a.iconSize, iconSize = _g === void 0 ? 17 : _g, _h = _a.inversed, inversed = _h === void 0 ? false : _h, _j = _a.isValue, isValue = _j === void 0 ? false : _j, _k = _a.width, width = _k === void 0 ? 21 : _k;
|
8
|
+
var color = isValue ? activeColor : backgroundColor;
|
9
|
+
return (jsx_runtime_1.jsx(S.RatingItem, tslib_1.__assign({ activeColor: activeColor, backgroundColor: backgroundColor, height: height, inversed: inversed, isValue: isValue, width: width }, { children: jsx_runtime_1.jsx(S.RatingIcon, { color: inversed ? iconColor : color, height: iconSize, name: iconName, width: iconSize }, void 0) }), void 0));
|
10
|
+
};
|
11
|
+
exports.default = RatingItem;
|
12
|
+
//# sourceMappingURL=RatingItem.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var Rating_1 = tslib_1.__importDefault(require("./Rating"));
|
6
|
+
var TrustpilotRating = function (_a) {
|
7
|
+
var rate = _a.rate;
|
8
|
+
return (jsx_runtime_1.jsx(Rating_1.default, { activeColor: "TRUSTPILOT_ACTIVE_BACKGROUND", backgroundColor: "TRUSTPILOT_BACKGROUND", height: 16, iconName: "trustpilot-star", iconSize: 10, inversed: true, rate: rate, size: 5, width: 16 }, void 0));
|
9
|
+
};
|
10
|
+
exports.default = TrustpilotRating;
|
11
|
+
//# sourceMappingURL=TrustpilotRating.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.TrustpilotRating = exports.default = void 0;
|
7
|
+
var Rating_1 = require("./Rating");
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Rating_1).default; } });
|
9
|
+
var TrustpilotRating_1 = require("./TrustpilotRating");
|
10
|
+
Object.defineProperty(exports, "TrustpilotRating", { enumerable: true, get: function () { return __importDefault(TrustpilotRating_1).default; } });
|
11
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var Icon_1 = tslib_1.__importDefault(require("../../Icon"));
|
6
|
+
var RatingIcon = themedStyledComponents_1.default(Icon_1.default)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n position: absolute;\n margin: auto;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n"], ["\n position: absolute;\n margin: auto;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n"])));
|
7
|
+
exports.default = RatingIcon;
|
8
|
+
var templateObject_1;
|
9
|
+
//# sourceMappingURL=RatingIcon.js.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var omitAttrs_1 = tslib_1.__importDefault(require("../../../utils/omitAttrs"));
|
6
|
+
var RatingItem = themedStyledComponents_1.default.div.withConfig(omitAttrs_1.default('width', 'height'))(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n background: ", ";\n display: inline-block;\n margin-right: 2px;\n position: relative;\n white-space: nowrap;\n width: ", "px;\n height: ", "px;\n\n &:last-child {\n margin-right: 0;\n }\n"], ["\n background: ",
|
7
|
+
";\n display: inline-block;\n margin-right: 2px;\n position: relative;\n white-space: nowrap;\n width: ", "px;\n height: ", "px;\n\n &:last-child {\n margin-right: 0;\n }\n"])), function (_a) {
|
8
|
+
var isValue = _a.isValue, inversed = _a.inversed, activeColor = _a.activeColor, backgroundColor = _a.backgroundColor, theme = _a.theme;
|
9
|
+
if (inversed) {
|
10
|
+
return isValue
|
11
|
+
? theme.colors[activeColor]
|
12
|
+
: theme.colors[backgroundColor];
|
13
|
+
}
|
14
|
+
return 'transparent';
|
15
|
+
}, function (_a) {
|
16
|
+
var width = _a.width;
|
17
|
+
return width;
|
18
|
+
}, function (_a) {
|
19
|
+
var height = _a.height;
|
20
|
+
return height;
|
21
|
+
});
|
22
|
+
exports.default = RatingItem;
|
23
|
+
var templateObject_1;
|
24
|
+
//# sourceMappingURL=RatingItem.js.map
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var omitAttrs_1 = tslib_1.__importDefault(require("../../../utils/omitAttrs"));
|
6
|
+
var RatingValueWrapper = themedStyledComponents_1.default.div.withConfig(omitAttrs_1.default('width'))(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n color: ", ";\n overflow: hidden;\n position: absolute;\n top: 0;\n width: ", "%;\n"], ["\n color: ", ";\n overflow: hidden;\n position: absolute;\n top: 0;\n width: ", "%;\n"])), function (_a) {
|
7
|
+
var theme = _a.theme;
|
8
|
+
return theme.colors.PRIMARY;
|
9
|
+
}, function (_a) {
|
10
|
+
var width = _a.width;
|
11
|
+
return width;
|
12
|
+
});
|
13
|
+
exports.default = RatingValueWrapper;
|
14
|
+
var templateObject_1;
|
15
|
+
//# sourceMappingURL=RatingValueWrapper.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var RatingWrapper = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n color: ", ";\n display: inline-block;\n position: relative;\n white-space: nowrap;\n"], ["\n color: ", ";\n display: inline-block;\n position: relative;\n white-space: nowrap;\n"])), function (_a) {
|
6
|
+
var theme = _a.theme;
|
7
|
+
return theme.colors.PRIMARY;
|
8
|
+
});
|
9
|
+
exports.default = RatingWrapper;
|
10
|
+
var templateObject_1;
|
11
|
+
//# sourceMappingURL=RatingWrapper.js.map
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var Wrapper = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n line-height: 10px;\n position: relative;\n white-space: nowrap;\n"], ["\n display: inline-block;\n line-height: 10px;\n position: relative;\n white-space: nowrap;\n"])));
|
6
|
+
exports.default = Wrapper;
|
7
|
+
var templateObject_1;
|
8
|
+
//# sourceMappingURL=Wrapper.js.map
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.Wrapper = exports.RatingWrapper = exports.RatingValueWrapper = exports.RatingItem = exports.RatingIcon = void 0;
|
7
|
+
var RatingIcon_1 = require("./RatingIcon");
|
8
|
+
Object.defineProperty(exports, "RatingIcon", { enumerable: true, get: function () { return __importDefault(RatingIcon_1).default; } });
|
9
|
+
var RatingItem_1 = require("./RatingItem");
|
10
|
+
Object.defineProperty(exports, "RatingItem", { enumerable: true, get: function () { return __importDefault(RatingItem_1).default; } });
|
11
|
+
var RatingValueWrapper_1 = require("./RatingValueWrapper");
|
12
|
+
Object.defineProperty(exports, "RatingValueWrapper", { enumerable: true, get: function () { return __importDefault(RatingValueWrapper_1).default; } });
|
13
|
+
var RatingWrapper_1 = require("./RatingWrapper");
|
14
|
+
Object.defineProperty(exports, "RatingWrapper", { enumerable: true, get: function () { return __importDefault(RatingWrapper_1).default; } });
|
15
|
+
var Wrapper_1 = require("./Wrapper");
|
16
|
+
Object.defineProperty(exports, "Wrapper", { enumerable: true, get: function () { return __importDefault(Wrapper_1).default; } });
|
17
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var S = tslib_1.__importStar(require("./styled"));
|
6
|
+
var Ribbon = function (_a) {
|
7
|
+
var _b = _a.dataAttrs, dataAttrs = _b === void 0 ? {} : _b, _c = _a.children, children = _c === void 0 ? null : _c, _d = _a.maxWidth, maxWidth = _d === void 0 ? '90%' : _d, _e = _a.position, position = _e === void 0 ? 'start' : _e, offsetX = _a.offsetX, offsetY = _a.offsetY;
|
8
|
+
return (jsx_runtime_1.jsx(S.Ribbon, tslib_1.__assign({}, dataAttrs, { maxWidth: maxWidth, offsetX: offsetX, offsetY: offsetY, position: position }, { children: jsx_runtime_1.jsx(S.Text, { children: children }, void 0) }), void 0));
|
9
|
+
};
|
10
|
+
exports.default = Ribbon;
|
11
|
+
//# sourceMappingURL=Ribbon.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.default = void 0;
|
7
|
+
var Ribbon_1 = require("./Ribbon");
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(Ribbon_1).default; } });
|
9
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,78 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importStar(require("../../../utils/themedStyledComponents"));
|
5
|
+
var positionStyle = {
|
6
|
+
top: themedStyledComponents_1.css(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n border-top-right-radius: 0;\n margin-top: -4px;\n "], ["\n border-top-right-radius: 0;\n margin-top: -4px;\n "]))),
|
7
|
+
bottom: themedStyledComponents_1.css(templateObject_2 || (templateObject_2 = tslib_1.__makeTemplateObject(["\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: ", ";\n margin-bottom: -4px;\n top: ", ";\n bottom: ", ";\n "], ["\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: ", ";\n margin-bottom: -4px;\n top: ", ";\n bottom: ", ";\n "])), function (_a) {
|
8
|
+
var theme = _a.theme;
|
9
|
+
return theme.borders.radius.br200;
|
10
|
+
}, function (_a) {
|
11
|
+
var offsetY = _a.offsetY;
|
12
|
+
return offsetY && "auto";
|
13
|
+
}, function (_a) {
|
14
|
+
var offsetY = _a.offsetY;
|
15
|
+
return offsetY;
|
16
|
+
}),
|
17
|
+
start: themedStyledComponents_1.css(templateObject_3 || (templateObject_3 = tslib_1.__makeTemplateObject(["\n border-bottom-left-radius: 0;\n margin-left: -4px;\n "], ["\n border-bottom-left-radius: 0;\n margin-left: -4px;\n "]))),
|
18
|
+
end: themedStyledComponents_1.css(templateObject_4 || (templateObject_4 = tslib_1.__makeTemplateObject(["\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n border-top-left-radius: ", ";\n margin-right: -4px;\n left: ", ";\n right: ", ";\n "], ["\n border-bottom-right-radius: 0;\n border-top-right-radius: 0;\n border-top-left-radius: ", ";\n margin-right: -4px;\n left: ", ";\n right: ", ";\n "])), function (_a) {
|
19
|
+
var theme = _a.theme;
|
20
|
+
return theme.borders.radius.br200;
|
21
|
+
}, function (_a) {
|
22
|
+
var offsetX = _a.offsetX;
|
23
|
+
return offsetX && "auto";
|
24
|
+
}, function (_a) {
|
25
|
+
var offsetX = _a.offsetX;
|
26
|
+
return offsetX;
|
27
|
+
}),
|
28
|
+
};
|
29
|
+
var borderBefore = themedStyledComponents_1.css(templateObject_5 || (templateObject_5 = tslib_1.__makeTemplateObject(["\n ", "\n"], ["\n ",
|
30
|
+
"\n"])), function (_a) {
|
31
|
+
var theme = _a.theme;
|
32
|
+
return theme.borders.width.bw200 + " " + theme.borders.style.SOLID + " " + theme.colors.ACCENT_DARK;
|
33
|
+
});
|
34
|
+
var positionStyleBefore = {
|
35
|
+
top: themedStyledComponents_1.css(templateObject_6 || (templateObject_6 = tslib_1.__makeTemplateObject(["\n border-bottom: ", ";\n left: -4px;\n top: 0;\n "], ["\n border-bottom: ", ";\n left: -4px;\n top: 0;\n "])), borderBefore),
|
36
|
+
bottom: themedStyledComponents_1.css(templateObject_7 || (templateObject_7 = tslib_1.__makeTemplateObject(["\n border-top: ", ";\n left: -4px;\n bottom: 0;\n "], ["\n border-top: ", ";\n left: -4px;\n bottom: 0;\n "])), borderBefore),
|
37
|
+
start: themedStyledComponents_1.css(templateObject_8 || (templateObject_8 = tslib_1.__makeTemplateObject(["\n border-top: ", ";\n bottom: -4px;\n left: 0;\n "], ["\n border-top: ", ";\n bottom: -4px;\n left: 0;\n "])), borderBefore),
|
38
|
+
end: themedStyledComponents_1.css(templateObject_9 || (templateObject_9 = tslib_1.__makeTemplateObject(["\n border-left: ", ";\n border-right-color: transparent;\n border-top: ", ";\n bottom: -4px;\n right: 0;\n "], ["\n border-left: ", ";\n border-right-color: transparent;\n border-top: ", ";\n bottom: -4px;\n right: 0;\n "])), borderBefore, borderBefore),
|
39
|
+
};
|
40
|
+
var Ribbon = themedStyledComponents_1.default.div(templateObject_10 || (templateObject_10 = tslib_1.__makeTemplateObject(["\n background-color: ", ";\n border-radius: ", ";\n border-top-left-radius: 0;\n box-sizing: border-box;\n display: inline-block;\n max-width: ", ";\n position: absolute;\n z-index: ", ";\n padding: ", ";\n left: ", ";\n top: ", ";\n\n ", "\n\n &:before {\n border: ", ";\n border-right: ", ";\n content: '';\n position: absolute;\n\n ", "\n }\n"], ["\n background-color: ", ";\n border-radius: ", ";\n border-top-left-radius: 0;\n box-sizing: border-box;\n display: inline-block;\n max-width: ", ";\n position: absolute;\n z-index: ", ";\n padding: ", ";\n left: ", ";\n top: ", ";\n\n ", "\n\n &:before {\n border: ",
|
41
|
+
";\n border-right: ",
|
42
|
+
";\n content: '';\n position: absolute;\n\n ", "\n }\n"])), function (_a) {
|
43
|
+
var theme = _a.theme;
|
44
|
+
return theme.colors.ACCENT;
|
45
|
+
}, function (_a) {
|
46
|
+
var theme = _a.theme;
|
47
|
+
return theme.borders.radius.br200;
|
48
|
+
}, function (_a) {
|
49
|
+
var maxWidth = _a.maxWidth;
|
50
|
+
return maxWidth;
|
51
|
+
}, function (_a) {
|
52
|
+
var zIndexes = _a.theme.zIndexes;
|
53
|
+
return zIndexes.ribbon;
|
54
|
+
}, function (_a) {
|
55
|
+
var theme = _a.theme;
|
56
|
+
return theme.spacings.s100 + " " + theme.spacings.s300;
|
57
|
+
}, function (_a) {
|
58
|
+
var offsetX = _a.offsetX;
|
59
|
+
return offsetX;
|
60
|
+
}, function (_a) {
|
61
|
+
var offsetY = _a.offsetY;
|
62
|
+
return offsetY;
|
63
|
+
}, function (_a) {
|
64
|
+
var position = _a.position;
|
65
|
+
return position && positionStyle[position];
|
66
|
+
}, function (_a) {
|
67
|
+
var theme = _a.theme;
|
68
|
+
return theme.borders.width.bw200 + " " + theme.borders.style.SOLID + " transparent";
|
69
|
+
}, function (_a) {
|
70
|
+
var theme = _a.theme;
|
71
|
+
return theme.borders.width.bw200 + " " + theme.borders.style.SOLID + " " + theme.colors.ACCENT_DARK;
|
72
|
+
}, function (_a) {
|
73
|
+
var position = _a.position;
|
74
|
+
return position && positionStyleBefore[position];
|
75
|
+
});
|
76
|
+
exports.default = Ribbon;
|
77
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
|
78
|
+
//# sourceMappingURL=Ribbon.js.map
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var Text = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n display: inline-block;\n overflow: hidden;\n pointer-events: none;\n text-overflow: ellipsis;\n width: 100%;\n white-space: nowrap;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n letter-spacing: normal;\n line-height: 1;\n text-transform: uppercase;\n color: ", ";\n vertical-align: middle;\n"], ["\n display: inline-block;\n overflow: hidden;\n pointer-events: none;\n text-overflow: ellipsis;\n width: 100%;\n white-space: nowrap;\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n letter-spacing: normal;\n line-height: 1;\n text-transform: uppercase;\n color: ", ";\n vertical-align: middle;\n"])), function (_a) {
|
6
|
+
var theme = _a.theme;
|
7
|
+
return theme.fonts.secondary.fontFamily;
|
8
|
+
}, function (_a) {
|
9
|
+
var theme = _a.theme;
|
10
|
+
return theme.fonts.sizes.fs300;
|
11
|
+
}, function (_a) {
|
12
|
+
var theme = _a.theme;
|
13
|
+
return theme.fonts.secondary.weight.fw700;
|
14
|
+
}, function (_a) {
|
15
|
+
var theme = _a.theme;
|
16
|
+
return theme.colors[theme.ribbon.TEXT_COLOR];
|
17
|
+
});
|
18
|
+
exports.default = Text;
|
19
|
+
var templateObject_1;
|
20
|
+
//# sourceMappingURL=Text.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.Text = exports.Ribbon = void 0;
|
7
|
+
var Ribbon_1 = require("./Ribbon");
|
8
|
+
Object.defineProperty(exports, "Ribbon", { enumerable: true, get: function () { return __importDefault(Ribbon_1).default; } });
|
9
|
+
var Text_1 = require("./Text");
|
10
|
+
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return __importDefault(Text_1).default; } });
|
11
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var StaticAsset_1 = tslib_1.__importDefault(require("../StaticAsset"));
|
6
|
+
var S = tslib_1.__importStar(require("./styled"));
|
7
|
+
var BrandRoundLogo = function () { return (jsx_runtime_1.jsx(S.BrandRoundLogo, { children: jsx_runtime_1.jsx(StaticAsset_1.default, { name: "brand-small" }, void 0) }, void 0)); };
|
8
|
+
exports.default = BrandRoundLogo;
|
9
|
+
//# sourceMappingURL=BrandRoundLogo.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
5
|
+
var S = tslib_1.__importStar(require("./styled"));
|
6
|
+
var RoundLogo = function (_a) {
|
7
|
+
var background = _a.background, children = _a.children;
|
8
|
+
return (jsx_runtime_1.jsx(S.RoundLogo, tslib_1.__assign({ background: background }, { children: children }), void 0));
|
9
|
+
};
|
10
|
+
exports.default = RoundLogo;
|
11
|
+
//# sourceMappingURL=RoundLogo.js.map
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.BrandRoundLogo = exports.default = void 0;
|
7
|
+
var RoundLogo_1 = require("./RoundLogo");
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(RoundLogo_1).default; } });
|
9
|
+
var BrandRoundLogo_1 = require("./BrandRoundLogo");
|
10
|
+
Object.defineProperty(exports, "BrandRoundLogo", { enumerable: true, get: function () { return __importDefault(BrandRoundLogo_1).default; } });
|
11
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var styled_components_1 = tslib_1.__importDefault(require("styled-components"));
|
5
|
+
var RoundLogo_1 = tslib_1.__importDefault(require("./RoundLogo"));
|
6
|
+
var BrandRoundLogo = styled_components_1.default(RoundLogo_1.default)(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n background: ", ";\n padding: ", ";\n flex-direction: column;\n"], ["\n background: ", ";\n padding: ", ";\n flex-direction: column;\n"])), function (_a) {
|
7
|
+
var theme = _a.theme;
|
8
|
+
return theme.colors[theme.header.BACKGROUND_COLOR];
|
9
|
+
}, function (_a) {
|
10
|
+
var theme = _a.theme;
|
11
|
+
return theme.spacings.s800;
|
12
|
+
});
|
13
|
+
exports.default = BrandRoundLogo;
|
14
|
+
var templateObject_1;
|
15
|
+
//# sourceMappingURL=BrandRoundLogo.js.map
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var tslib_1 = require("tslib");
|
4
|
+
var themedStyledComponents_1 = tslib_1.__importDefault(require("../../../utils/themedStyledComponents"));
|
5
|
+
var RoundLogo = themedStyledComponents_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n height: 80px;\n width: 80px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n ", "\n"], ["\n height: 80px;\n width: 80px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n ",
|
6
|
+
"\n"])), function (_a) {
|
7
|
+
var _b = _a.theme, colors = _b.colors, borders = _b.borders, background = _a.background;
|
8
|
+
return "\n background: " + colors[background || 'CONTENT_BACKGROUND'] + ";\n box-shadow: 0 2px 3px 0 " + colors.SHADOW + ";\n border: " + borders.style.SOLID + " 4px " + colors.CONTENT_BACKGROUND + ";\n ";
|
9
|
+
});
|
10
|
+
exports.default = RoundLogo;
|
11
|
+
var templateObject_1;
|
12
|
+
//# sourceMappingURL=RoundLogo.js.map
|