@sok-brand-sites/common-frontend-components 0.0.1-security → 1.643.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @sok-brand-sites/common-frontend-components might be problematic. Click here for more details.
- package/LICENSE +21 -0
- package/README.md +31 -3
- package/dist/_virtual/_tslib.js +234 -0
- package/dist/assets/icons/Icons.js +118 -0
- package/dist/assets/logos/logos.js +19 -0
- package/dist/components/Accordion/Accordion.js +36 -0
- package/dist/components/Accordion/Accordion.styles.js +75 -0
- package/dist/components/AnimationWrapper/AnimationWrapper.js +35 -0
- package/dist/components/AnimationWrapper/AnimationWrapper.styles.js +26 -0
- package/dist/components/BlockGenerator/BlockContent.js +139 -0
- package/dist/components/BlockGenerator/BlockGenerator.js +62 -0
- package/dist/components/BlockGenerator/BlockGenerator.styles.js +44 -0
- package/dist/components/Button/Button.js +49 -0
- package/dist/components/Button/Button.styles.js +46 -0
- package/dist/components/Card/Card.js +79 -0
- package/dist/components/Card/Card.styles.js +137 -0
- package/dist/components/Carousel/Carousel.js +153 -0
- package/dist/components/Carousel/Carousel.styles.js +261 -0
- package/dist/components/CarouselNarrow/CarouselNarrow.js +120 -0
- package/dist/components/CarouselNarrow/CarouselNarrow.styles.js +281 -0
- package/dist/components/Column/Column.js +31 -0
- package/dist/components/Column/Column.styles.js +34 -0
- package/dist/components/Columns/Columns.js +38 -0
- package/dist/components/Columns/Columns.styles.js +21 -0
- package/dist/components/Embed/Embed.js +54 -0
- package/dist/components/Embed/Embed.styles.js +12 -0
- package/dist/components/Footer/Footer.js +63 -0
- package/dist/components/Footer/Footer.styles.js +67 -0
- package/dist/components/FormBuilder/FormBuilder.js +364 -0
- package/dist/components/FormBuilder/FormBuilder.styles.js +224 -0
- package/dist/components/FormBuilder/FormBuilderCheckboxes.js +39 -0
- package/dist/components/FormBuilder/FormBuilderInput.js +29 -0
- package/dist/components/FormBuilder/FormBuilderParagraph.js +15 -0
- package/dist/components/FormBuilder/FormBuilderSelect.js +39 -0
- package/dist/components/FormBuilder/FormBuilderTextAreaInput.js +29 -0
- package/dist/components/FormBuilder/utiles.js +13 -0
- package/dist/components/FullBgHero/FullBgHero.js +93 -0
- package/dist/components/FullBgHero/FullBgHero.styles.js +180 -0
- package/dist/components/GlobalStyle/GlobalStyle.js +285 -0
- package/dist/components/Header/Header.js +290 -0
- package/dist/components/Header/Header.styles.js +314 -0
- package/dist/components/Heading/Heading.js +29 -0
- package/dist/components/Heading/Heading.styles.js +21 -0
- package/dist/components/Hero/Hero.js +76 -0
- package/dist/components/Hero/Hero.styles.js +128 -0
- package/dist/components/IconLinks/IconLinks.js +118 -0
- package/dist/components/IconLinks/IconLinks.styles.js +259 -0
- package/dist/components/ImageCarousel/ImageCarousel.js +102 -0
- package/dist/components/ImageCarousel/ImageCarousel.styles.js +96 -0
- package/dist/components/LanguageSelector/LanguageSelector.js +72 -0
- package/dist/components/LanguageSelector/LanguageSelector.styles.js +72 -0
- package/dist/components/Layout/Layout.js +15 -0
- package/dist/components/Layout/Layout.styles.js +8 -0
- package/dist/components/List/List.js +25 -0
- package/dist/components/List/List.styles.js +11 -0
- package/dist/components/MarginWrapper/MarginWrapper.js +17 -0
- package/dist/components/MarginWrapper/MarginWrapper.styles.js +38 -0
- package/dist/components/OverlayCards/OverlayCard/OverlayCard.js +132 -0
- package/dist/components/OverlayCards/OverlayCard/OverlayCard.styles.js +133 -0
- package/dist/components/OverlayCards/OverlayCards.js +46 -0
- package/dist/components/OverlayCards/OverlayCards.styles.js +14 -0
- package/dist/components/OverlayCards/OverlayCards.types.js +9 -0
- package/dist/components/Paragraph/Paragraph.js +29 -0
- package/dist/components/Paragraph/Paragraph.styles.js +14 -0
- package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.js +45 -0
- package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.styles.js +37 -0
- package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.js +16 -0
- package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.styles.js +44 -0
- package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.js +43 -0
- package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.styles.js +63 -0
- package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.js +77 -0
- package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.styles.js +68 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.js +125 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.styles.js +32 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.js +85 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.styles.js +134 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.js +142 -0
- package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.styles.js +43 -0
- package/dist/components/PlaceOfBusiness/Services/Services.js +30 -0
- package/dist/components/PlaceOfBusiness/Services/Services.styles.js +61 -0
- package/dist/components/PlaceOfBusiness/utils.js +177 -0
- package/dist/components/Promotion/Promotion.js +66 -0
- package/dist/components/Promotion/Promotion.styles.js +124 -0
- package/dist/components/RestrictedWidthContainer/RestrictedWidthContainer.js +63 -0
- package/dist/components/Seo/Seo.js +58 -0
- package/dist/components/SideBySide/SideBySide.js +81 -0
- package/dist/components/SideBySide/SideBySide.styles.js +179 -0
- package/dist/components/SocialMediaLinks/SocialMediaLinks.js +28 -0
- package/dist/components/SocialMediaLinks/SocialMediaLinks.styles.js +22 -0
- package/dist/components/SubHero/SubHero.js +22 -0
- package/dist/components/SubHero/SubHero.styles.js +52 -0
- package/dist/components/Table/Table.js +23 -0
- package/dist/components/Table/Table.styles.js +121 -0
- package/dist/components/Table/WpTable.styles.js +5 -0
- package/dist/components/constants.js +34 -0
- package/dist/components/utils.js +160 -0
- package/dist/fonts/Agrandir/Agrandir-Bold.woff.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Bold.woff2.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Light.woff.js +2 -0
- package/dist/fonts/Agrandir/Agrandir-Light.woff2.js +2 -0
- package/dist/fonts/Agrandir/index.js +16 -0
- package/dist/fonts/Brule/Brule-Bold.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Bold.woff2.js +2 -0
- package/dist/fonts/Brule/Brule-Medium.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Medium.woff2.js +2 -0
- package/dist/fonts/Brule/Brule-Regular.woff.js +2 -0
- package/dist/fonts/Brule/Brule-Regular.woff2.js +2 -0
- package/dist/fonts/Brule/index.js +18 -0
- package/dist/fonts/Domaine/Domaine-Text-Medium.woff.js +2 -0
- package/dist/fonts/Domaine/Domaine-Text-Medium.woff2.js +2 -0
- package/dist/fonts/Domaine/index.js +14 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff.js +2 -0
- package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff2.js +2 -0
- package/dist/fonts/FranklinGothic/index.js +18 -0
- package/dist/fonts/MinionPro/MinionPro-Regular.woff.js +2 -0
- package/dist/fonts/MinionPro/MinionPro-Regular.woff2.js +2 -0
- package/dist/fonts/MinionPro/index.js +14 -0
- package/dist/fonts/Montserrat/Montserrat-Bold.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Bold.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Italic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Italic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Light.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Light.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-LightItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-LightItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Medium.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Medium.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff2.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Regular.woff.js +2 -0
- package/dist/fonts/Montserrat/Montserrat-Regular.woff2.js +2 -0
- package/dist/fonts/Montserrat/index.js +90 -0
- package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-LightItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-LightItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Light.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Light.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff2.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff.js +2 -0
- package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff2.js +2 -0
- package/dist/fonts/SBonus/index.js +95 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff.js +2 -0
- package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff2.js +2 -0
- package/dist/fonts/SBonusDisplay/index.js +22 -0
- package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff.js +2 -0
- package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff2.js +2 -0
- package/dist/fonts/SuomiGrumpy/index.js +14 -0
- package/dist/fonts/utils.js +5 -0
- package/dist/hooks/useElementRect.js +65 -0
- package/dist/hooks/windowsize.js +31 -0
- package/dist/locales/constants.js +6 -0
- package/dist/locales/translations.json.js +153 -0
- package/dist/styles/media.js +40 -0
- package/dist/themes/neutral/breakpoints.js +11 -0
- package/dist/themes/neutral/colors.js +3 -0
- package/dist/themes/neutral/components.js +940 -0
- package/dist/themes/neutral/fonts.js +7 -0
- package/dist/themes/neutral/index.js +10 -0
- package/dist/themes/neutral/spacings.js +21 -0
- package/dist/themes/ravintolakonseptit/breakpoints.js +11 -0
- package/dist/themes/ravintolakonseptit/colors.js +17 -0
- package/dist/themes/ravintolakonseptit/components.js +936 -0
- package/dist/themes/ravintolakonseptit/fonts.js +5 -0
- package/dist/themes/ravintolakonseptit/index.js +10 -0
- package/dist/themes/ravintolakonseptit/spacings.js +21 -0
- package/dist/themes/sokos/breakpoints.js +11 -0
- package/dist/themes/sokos/colors.js +3 -0
- package/dist/themes/sokos/components.js +936 -0
- package/dist/themes/sokos/index.js +10 -0
- package/dist/themes/sokospalvelut/breakpoints.js +11 -0
- package/dist/themes/sokospalvelut/colors.js +3 -0
- package/dist/themes/sokospalvelut/components.js +936 -0
- package/dist/themes/sokospalvelut/fonts.js +11 -0
- package/dist/themes/sokospalvelut/index.js +10 -0
- package/dist/themes/theme.types.js +12 -0
- package/dist/themes/tykkimakiresort/colors.js +35 -0
- package/dist/themes/tykkimakiresort/components.js +936 -0
- package/dist/themes/tykkimakiresort/fonts.js +7 -0
- package/dist/themes/tykkimakiresort/index.js +10 -0
- package/package.json +33 -3
- package/scripts/build.js +132 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Domaine } from '../../fonts/Domaine/index.js';
|
2
|
+
import { FranklinGothic } from '../../fonts/FranklinGothic/index.js';
|
3
|
+
import { MinionPro } from '../../fonts/MinionPro/index.js';
|
4
|
+
import { SuomiGrumpy } from '../../fonts/SuomiGrumpy/index.js';
|
5
|
+
var fonts = {
|
6
|
+
Domaine: Domaine,
|
7
|
+
FranklinGothic: FranklinGothic,
|
8
|
+
MinionPro: MinionPro,
|
9
|
+
SuomiGrumpy: SuomiGrumpy
|
10
|
+
};
|
11
|
+
export { fonts };
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { __assign } from '../../_virtual/_tslib.js';
|
2
|
+
import * as breakpoints from './breakpoints.js';
|
3
|
+
import * as colors from './colors.js';
|
4
|
+
import * as spacings from './spacings.js';
|
5
|
+
import * as components from './components.js';
|
6
|
+
import * as fonts from './fonts.js';
|
7
|
+
|
8
|
+
var index = __assign(__assign(__assign(__assign(__assign({}, breakpoints), colors), spacings), components), fonts);
|
9
|
+
|
10
|
+
export { index as default };
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import 'styled-components';
|
2
|
+
var Themes;
|
3
|
+
|
4
|
+
(function (Themes) {
|
5
|
+
Themes["TYKKIMAKI_RESORT"] = "tykkimaki-resort";
|
6
|
+
Themes["NEUTRAL"] = "neutral";
|
7
|
+
Themes["SOKOS"] = "sokos";
|
8
|
+
Themes["SOKOS_PALVELUT"] = "sokos-palvelut";
|
9
|
+
Themes["RAVINTOLAKONSEPTIT"] = "ravintolakonseptit";
|
10
|
+
})(Themes || (Themes = {}));
|
11
|
+
|
12
|
+
export { Themes };
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { __assign } from '../../_virtual/_tslib.js';
|
2
|
+
import neutral from '../neutral/index.js';
|
3
|
+
var primary = {
|
4
|
+
primary: '#EFB31F',
|
5
|
+
primary900: '#EFB31F',
|
6
|
+
primary800: '#EFB31F',
|
7
|
+
primary700: '#EFB31F',
|
8
|
+
primary600: '#EFB31F',
|
9
|
+
primary500: '#EFB31F',
|
10
|
+
primary400: '#EFB31F',
|
11
|
+
primary300: '#EFB31F',
|
12
|
+
primary200: '#EFB31F',
|
13
|
+
primary100: '#EFB31F',
|
14
|
+
primary50: '#EFB31F'
|
15
|
+
};
|
16
|
+
var secondary = {
|
17
|
+
secondary: '#D7AF79',
|
18
|
+
secondary900: '#D7AF79',
|
19
|
+
secondary800: '#D7AF79',
|
20
|
+
secondary700: '#D7AF79',
|
21
|
+
secondary600: '#D7AF79',
|
22
|
+
secondary500: '#F5EBDD',
|
23
|
+
secondary400: '#F5EBDD',
|
24
|
+
secondary300: '#E5F2D3',
|
25
|
+
secondary200: '#E5F2D3',
|
26
|
+
secondary100: '#FAF3EB',
|
27
|
+
secondary50: '#FAF3EB'
|
28
|
+
};
|
29
|
+
var black = '#000000';
|
30
|
+
|
31
|
+
var colors = __assign(__assign(__assign(__assign({}, neutral.colors), primary), secondary), {
|
32
|
+
black: black
|
33
|
+
});
|
34
|
+
|
35
|
+
export { colors };
|