@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.

Files changed (211) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +31 -3
  3. package/dist/_virtual/_tslib.js +234 -0
  4. package/dist/assets/icons/Icons.js +118 -0
  5. package/dist/assets/logos/logos.js +19 -0
  6. package/dist/components/Accordion/Accordion.js +36 -0
  7. package/dist/components/Accordion/Accordion.styles.js +75 -0
  8. package/dist/components/AnimationWrapper/AnimationWrapper.js +35 -0
  9. package/dist/components/AnimationWrapper/AnimationWrapper.styles.js +26 -0
  10. package/dist/components/BlockGenerator/BlockContent.js +139 -0
  11. package/dist/components/BlockGenerator/BlockGenerator.js +62 -0
  12. package/dist/components/BlockGenerator/BlockGenerator.styles.js +44 -0
  13. package/dist/components/Button/Button.js +49 -0
  14. package/dist/components/Button/Button.styles.js +46 -0
  15. package/dist/components/Card/Card.js +79 -0
  16. package/dist/components/Card/Card.styles.js +137 -0
  17. package/dist/components/Carousel/Carousel.js +153 -0
  18. package/dist/components/Carousel/Carousel.styles.js +261 -0
  19. package/dist/components/CarouselNarrow/CarouselNarrow.js +120 -0
  20. package/dist/components/CarouselNarrow/CarouselNarrow.styles.js +281 -0
  21. package/dist/components/Column/Column.js +31 -0
  22. package/dist/components/Column/Column.styles.js +34 -0
  23. package/dist/components/Columns/Columns.js +38 -0
  24. package/dist/components/Columns/Columns.styles.js +21 -0
  25. package/dist/components/Embed/Embed.js +54 -0
  26. package/dist/components/Embed/Embed.styles.js +12 -0
  27. package/dist/components/Footer/Footer.js +63 -0
  28. package/dist/components/Footer/Footer.styles.js +67 -0
  29. package/dist/components/FormBuilder/FormBuilder.js +364 -0
  30. package/dist/components/FormBuilder/FormBuilder.styles.js +224 -0
  31. package/dist/components/FormBuilder/FormBuilderCheckboxes.js +39 -0
  32. package/dist/components/FormBuilder/FormBuilderInput.js +29 -0
  33. package/dist/components/FormBuilder/FormBuilderParagraph.js +15 -0
  34. package/dist/components/FormBuilder/FormBuilderSelect.js +39 -0
  35. package/dist/components/FormBuilder/FormBuilderTextAreaInput.js +29 -0
  36. package/dist/components/FormBuilder/utiles.js +13 -0
  37. package/dist/components/FullBgHero/FullBgHero.js +93 -0
  38. package/dist/components/FullBgHero/FullBgHero.styles.js +180 -0
  39. package/dist/components/GlobalStyle/GlobalStyle.js +285 -0
  40. package/dist/components/Header/Header.js +290 -0
  41. package/dist/components/Header/Header.styles.js +314 -0
  42. package/dist/components/Heading/Heading.js +29 -0
  43. package/dist/components/Heading/Heading.styles.js +21 -0
  44. package/dist/components/Hero/Hero.js +76 -0
  45. package/dist/components/Hero/Hero.styles.js +128 -0
  46. package/dist/components/IconLinks/IconLinks.js +118 -0
  47. package/dist/components/IconLinks/IconLinks.styles.js +259 -0
  48. package/dist/components/ImageCarousel/ImageCarousel.js +102 -0
  49. package/dist/components/ImageCarousel/ImageCarousel.styles.js +96 -0
  50. package/dist/components/LanguageSelector/LanguageSelector.js +72 -0
  51. package/dist/components/LanguageSelector/LanguageSelector.styles.js +72 -0
  52. package/dist/components/Layout/Layout.js +15 -0
  53. package/dist/components/Layout/Layout.styles.js +8 -0
  54. package/dist/components/List/List.js +25 -0
  55. package/dist/components/List/List.styles.js +11 -0
  56. package/dist/components/MarginWrapper/MarginWrapper.js +17 -0
  57. package/dist/components/MarginWrapper/MarginWrapper.styles.js +38 -0
  58. package/dist/components/OverlayCards/OverlayCard/OverlayCard.js +132 -0
  59. package/dist/components/OverlayCards/OverlayCard/OverlayCard.styles.js +133 -0
  60. package/dist/components/OverlayCards/OverlayCards.js +46 -0
  61. package/dist/components/OverlayCards/OverlayCards.styles.js +14 -0
  62. package/dist/components/OverlayCards/OverlayCards.types.js +9 -0
  63. package/dist/components/Paragraph/Paragraph.js +29 -0
  64. package/dist/components/Paragraph/Paragraph.styles.js +14 -0
  65. package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.js +45 -0
  66. package/dist/components/PlaceOfBusiness/ContactInformation/ContactInformation.styles.js +37 -0
  67. package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.js +16 -0
  68. package/dist/components/PlaceOfBusiness/LogoTitle/LogoTitle.styles.js +44 -0
  69. package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.js +43 -0
  70. package/dist/components/PlaceOfBusiness/OpenToday/OpenToday.styles.js +63 -0
  71. package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.js +77 -0
  72. package/dist/components/PlaceOfBusiness/OpeningHours/OpeningHours.styles.js +68 -0
  73. package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.js +125 -0
  74. package/dist/components/PlaceOfBusiness/PlaceOfBusinessInfo/PlaceOfBusinessInfo.styles.js +32 -0
  75. package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.js +85 -0
  76. package/dist/components/PlaceOfBusiness/PlaceOfBusinessListItem/PlaceOfBusinessListItem.styles.js +134 -0
  77. package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.js +142 -0
  78. package/dist/components/PlaceOfBusiness/PlaceOfBusinessSearch/PlaceOfBusinessSearch.styles.js +43 -0
  79. package/dist/components/PlaceOfBusiness/Services/Services.js +30 -0
  80. package/dist/components/PlaceOfBusiness/Services/Services.styles.js +61 -0
  81. package/dist/components/PlaceOfBusiness/utils.js +177 -0
  82. package/dist/components/Promotion/Promotion.js +66 -0
  83. package/dist/components/Promotion/Promotion.styles.js +124 -0
  84. package/dist/components/RestrictedWidthContainer/RestrictedWidthContainer.js +63 -0
  85. package/dist/components/Seo/Seo.js +58 -0
  86. package/dist/components/SideBySide/SideBySide.js +81 -0
  87. package/dist/components/SideBySide/SideBySide.styles.js +179 -0
  88. package/dist/components/SocialMediaLinks/SocialMediaLinks.js +28 -0
  89. package/dist/components/SocialMediaLinks/SocialMediaLinks.styles.js +22 -0
  90. package/dist/components/SubHero/SubHero.js +22 -0
  91. package/dist/components/SubHero/SubHero.styles.js +52 -0
  92. package/dist/components/Table/Table.js +23 -0
  93. package/dist/components/Table/Table.styles.js +121 -0
  94. package/dist/components/Table/WpTable.styles.js +5 -0
  95. package/dist/components/constants.js +34 -0
  96. package/dist/components/utils.js +160 -0
  97. package/dist/fonts/Agrandir/Agrandir-Bold.woff.js +2 -0
  98. package/dist/fonts/Agrandir/Agrandir-Bold.woff2.js +2 -0
  99. package/dist/fonts/Agrandir/Agrandir-Light.woff.js +2 -0
  100. package/dist/fonts/Agrandir/Agrandir-Light.woff2.js +2 -0
  101. package/dist/fonts/Agrandir/index.js +16 -0
  102. package/dist/fonts/Brule/Brule-Bold.woff.js +2 -0
  103. package/dist/fonts/Brule/Brule-Bold.woff2.js +2 -0
  104. package/dist/fonts/Brule/Brule-Medium.woff.js +2 -0
  105. package/dist/fonts/Brule/Brule-Medium.woff2.js +2 -0
  106. package/dist/fonts/Brule/Brule-Regular.woff.js +2 -0
  107. package/dist/fonts/Brule/Brule-Regular.woff2.js +2 -0
  108. package/dist/fonts/Brule/index.js +18 -0
  109. package/dist/fonts/Domaine/Domaine-Text-Medium.woff.js +2 -0
  110. package/dist/fonts/Domaine/Domaine-Text-Medium.woff2.js +2 -0
  111. package/dist/fonts/Domaine/index.js +14 -0
  112. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff.js +2 -0
  113. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-Bk.woff2.js +2 -0
  114. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff.js +2 -0
  115. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-DmCn.woff2.js +2 -0
  116. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff.js +2 -0
  117. package/dist/fonts/FranklinGothic/FranklinGothic-LT-Com-MdCn.woff2.js +2 -0
  118. package/dist/fonts/FranklinGothic/index.js +18 -0
  119. package/dist/fonts/MinionPro/MinionPro-Regular.woff.js +2 -0
  120. package/dist/fonts/MinionPro/MinionPro-Regular.woff2.js +2 -0
  121. package/dist/fonts/MinionPro/index.js +14 -0
  122. package/dist/fonts/Montserrat/Montserrat-Bold.woff.js +2 -0
  123. package/dist/fonts/Montserrat/Montserrat-Bold.woff2.js +2 -0
  124. package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff.js +2 -0
  125. package/dist/fonts/Montserrat/Montserrat-BoldItalic.woff2.js +2 -0
  126. package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff.js +2 -0
  127. package/dist/fonts/Montserrat/Montserrat-ExtraBold.woff2.js +2 -0
  128. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff.js +2 -0
  129. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.woff2.js +2 -0
  130. package/dist/fonts/Montserrat/Montserrat-Italic.woff.js +2 -0
  131. package/dist/fonts/Montserrat/Montserrat-Italic.woff2.js +2 -0
  132. package/dist/fonts/Montserrat/Montserrat-Light.woff.js +2 -0
  133. package/dist/fonts/Montserrat/Montserrat-Light.woff2.js +2 -0
  134. package/dist/fonts/Montserrat/Montserrat-LightItalic.woff.js +2 -0
  135. package/dist/fonts/Montserrat/Montserrat-LightItalic.woff2.js +2 -0
  136. package/dist/fonts/Montserrat/Montserrat-Medium.woff.js +2 -0
  137. package/dist/fonts/Montserrat/Montserrat-Medium.woff2.js +2 -0
  138. package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff.js +2 -0
  139. package/dist/fonts/Montserrat/Montserrat-MediumItalic.woff2.js +2 -0
  140. package/dist/fonts/Montserrat/Montserrat-Regular.woff.js +2 -0
  141. package/dist/fonts/Montserrat/Montserrat-Regular.woff2.js +2 -0
  142. package/dist/fonts/Montserrat/index.js +90 -0
  143. package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff.js +2 -0
  144. package/dist/fonts/SBonus/SBonusUX-BoldItalic.woff2.js +2 -0
  145. package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff.js +2 -0
  146. package/dist/fonts/SBonus/SBonusUX-ExtraboldItalic.woff2.js +2 -0
  147. package/dist/fonts/SBonus/SBonusUX-LightItalic.woff.js +2 -0
  148. package/dist/fonts/SBonus/SBonusUX-LightItalic.woff2.js +2 -0
  149. package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff.js +2 -0
  150. package/dist/fonts/SBonus/SBonusUX-MediumItalic.woff2.js +2 -0
  151. package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff.js +2 -0
  152. package/dist/fonts/SBonus/SBonusUX-RegularItalic.woff2.js +2 -0
  153. package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff.js +2 -0
  154. package/dist/fonts/SBonus/SBonusUXWEB-Bold.woff2.js +2 -0
  155. package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff.js +2 -0
  156. package/dist/fonts/SBonus/SBonusUXWEB-Extrabold.woff2.js +2 -0
  157. package/dist/fonts/SBonus/SBonusUXWEB-Light.woff.js +2 -0
  158. package/dist/fonts/SBonus/SBonusUXWEB-Light.woff2.js +2 -0
  159. package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff.js +2 -0
  160. package/dist/fonts/SBonus/SBonusUXWEB-Medium.woff2.js +2 -0
  161. package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff.js +2 -0
  162. package/dist/fonts/SBonus/SBonusUXWEB-Regular.woff2.js +2 -0
  163. package/dist/fonts/SBonus/index.js +95 -0
  164. package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff.js +2 -0
  165. package/dist/fonts/SBonusDisplay/SBonusDisplay-Bold.woff2.js +2 -0
  166. package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff.js +2 -0
  167. package/dist/fonts/SBonusDisplay/SBonusDisplay-Light.woff2.js +2 -0
  168. package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff.js +2 -0
  169. package/dist/fonts/SBonusDisplay/SBonusDisplay-Medium.woff2.js +2 -0
  170. package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff.js +2 -0
  171. package/dist/fonts/SBonusDisplay/SBonusDisplay-Regular.woff2.js +2 -0
  172. package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff.js +2 -0
  173. package/dist/fonts/SBonusDisplay/SBonusDisplay-SemiBold.woff2.js +2 -0
  174. package/dist/fonts/SBonusDisplay/index.js +22 -0
  175. package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff.js +2 -0
  176. package/dist/fonts/SuomiGrumpy/SuomiGrumpy-Black.woff2.js +2 -0
  177. package/dist/fonts/SuomiGrumpy/index.js +14 -0
  178. package/dist/fonts/utils.js +5 -0
  179. package/dist/hooks/useElementRect.js +65 -0
  180. package/dist/hooks/windowsize.js +31 -0
  181. package/dist/locales/constants.js +6 -0
  182. package/dist/locales/translations.json.js +153 -0
  183. package/dist/styles/media.js +40 -0
  184. package/dist/themes/neutral/breakpoints.js +11 -0
  185. package/dist/themes/neutral/colors.js +3 -0
  186. package/dist/themes/neutral/components.js +940 -0
  187. package/dist/themes/neutral/fonts.js +7 -0
  188. package/dist/themes/neutral/index.js +10 -0
  189. package/dist/themes/neutral/spacings.js +21 -0
  190. package/dist/themes/ravintolakonseptit/breakpoints.js +11 -0
  191. package/dist/themes/ravintolakonseptit/colors.js +17 -0
  192. package/dist/themes/ravintolakonseptit/components.js +936 -0
  193. package/dist/themes/ravintolakonseptit/fonts.js +5 -0
  194. package/dist/themes/ravintolakonseptit/index.js +10 -0
  195. package/dist/themes/ravintolakonseptit/spacings.js +21 -0
  196. package/dist/themes/sokos/breakpoints.js +11 -0
  197. package/dist/themes/sokos/colors.js +3 -0
  198. package/dist/themes/sokos/components.js +936 -0
  199. package/dist/themes/sokos/index.js +10 -0
  200. package/dist/themes/sokospalvelut/breakpoints.js +11 -0
  201. package/dist/themes/sokospalvelut/colors.js +3 -0
  202. package/dist/themes/sokospalvelut/components.js +936 -0
  203. package/dist/themes/sokospalvelut/fonts.js +11 -0
  204. package/dist/themes/sokospalvelut/index.js +10 -0
  205. package/dist/themes/theme.types.js +12 -0
  206. package/dist/themes/tykkimakiresort/colors.js +35 -0
  207. package/dist/themes/tykkimakiresort/components.js +936 -0
  208. package/dist/themes/tykkimakiresort/fonts.js +7 -0
  209. package/dist/themes/tykkimakiresort/index.js +10 -0
  210. package/package.json +33 -3
  211. package/scripts/build.js +132 -0
@@ -0,0 +1,81 @@
1
+ import { __rest, __assign } from '../../_virtual/_tslib.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { useTheme } from 'styled-components';
5
+ import { SideBySideContainer, MediaContainer, DynamicImage, StaticImage, Video, TextContainer, CategoryContainer, Category, Logo, Title, Description } from './SideBySide.styles.js';
6
+ import { parseHtmlContent } from '../utils.js';
7
+ import Button from '../Button/Button.js';
8
+ var SideBySide = forwardRef(function (_a, ref) {
9
+ var _b, _c, _d, _e, _f, _g;
10
+
11
+ var button = _a.button,
12
+ category = _a.category,
13
+ logo = _a.logo,
14
+ title = _a.title,
15
+ description = _a.description,
16
+ media = _a.media,
17
+ mediaPosition = _a.mediaPosition,
18
+ anchor = _a.anchor,
19
+ rest = __rest(_a, ["button", "category", "logo", "title", "description", "media", "mediaPosition", "anchor"]);
20
+
21
+ var theme = useTheme();
22
+ var separator = theme.components.sideBySide.separator;
23
+ var renderCategorySeparator = !!((category || (logo === null || logo === void 0 ? void 0 : logo.mediaItemUrl)) && separator);
24
+ return jsxs(SideBySideContainer, __assign({}, rest, {
25
+ ref: ref,
26
+ id: anchor
27
+ }, {
28
+ children: [jsxs(MediaContainer, __assign({
29
+ mediaPosition: mediaPosition
30
+ }, {
31
+ children: [((_b = media === null || media === void 0 ? void 0 : media.mimeType) === null || _b === void 0 ? void 0 : _b.includes('image')) && ((_c = media === null || media === void 0 ? void 0 : media.localFile) === null || _c === void 0 ? void 0 : _c.childImageSharp) && jsx(DynamicImage, {
32
+ image: (_d = media.localFile.childImageSharp) === null || _d === void 0 ? void 0 : _d.gatsbyImageData,
33
+ alt: ""
34
+ }, void 0), ((_e = media === null || media === void 0 ? void 0 : media.mimeType) === null || _e === void 0 ? void 0 : _e.includes('image')) && !((_f = media === null || media === void 0 ? void 0 : media.localFile) === null || _f === void 0 ? void 0 : _f.childImageSharp) && jsx(StaticImage, {
35
+ src: media.mediaItemUrl || '',
36
+ alt: ""
37
+ }, void 0), (media === null || media === void 0 ? void 0 : media.mediaItemUrl) && ((_g = media === null || media === void 0 ? void 0 : media.mimeType) === null || _g === void 0 ? void 0 : _g.includes('video')) && jsx(Video, __assign({
38
+ muted: true,
39
+ loop: true,
40
+ playsInline: true,
41
+ autoPlay: true
42
+ }, {
43
+ children: jsx("source", {
44
+ type: media.mimeType,
45
+ src: media.mediaItemUrl
46
+ }, void 0)
47
+ }), void 0)]
48
+ }), void 0), jsxs(TextContainer, __assign({
49
+ mediaPosition: mediaPosition,
50
+ renderCategorySeparator: renderCategorySeparator
51
+ }, {
52
+ children: [jsxs(CategoryContainer, __assign({
53
+ renderCategorySeparator: renderCategorySeparator
54
+ }, {
55
+ children: [jsx(Category, __assign({
56
+ renderCategorySeparator: renderCategorySeparator
57
+ }, {
58
+ children: category
59
+ }), void 0), logo && jsx(Logo, {
60
+ src: logo.mediaItemUrl || ''
61
+ }, void 0)]
62
+ }), void 0), jsx(Title, {
63
+ dangerouslySetInnerHTML: {
64
+ __html: title || ''
65
+ }
66
+ }, void 0), jsx(Description, {
67
+ dangerouslySetInnerHTML: {
68
+ __html: parseHtmlContent(description || '')
69
+ }
70
+ }, void 0), jsx(Button, {
71
+ linkToPage: button === null || button === void 0 ? void 0 : button.linkToPage,
72
+ fill: theme.components.sideBySide.buttonfill,
73
+ externalLink: button === null || button === void 0 ? void 0 : button.externalLink,
74
+ openWithNewTab: button === null || button === void 0 ? void 0 : button.openWithNewTab,
75
+ buttonText: button === null || button === void 0 ? void 0 : button.buttonText,
76
+ htmlAnchorTarget: button === null || button === void 0 ? void 0 : button.htmlAnchorTarget
77
+ }, void 0)]
78
+ }), void 0)]
79
+ }), void 0);
80
+ });
81
+ export { SideBySide, SideBySide as default };
@@ -0,0 +1,179 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled, { css } from 'styled-components';
3
+ import { GatsbyImage } from 'gatsby-plugin-image';
4
+ import media from '../../styles/media.js';
5
+ var SideBySideContainer = styled.div.withConfig({
6
+ displayName: "SideBySidestyles__SideBySideContainer",
7
+ componentId: "sc-1yv76ux-0"
8
+ })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n width: 100%;\n position: relative;\n background-color: ", ";\n\n display: flex;\n flex-direction: column;\n row-gap: ", ";\n\n ", "\n"], ["\n width: 100%;\n position: relative;\n background-color: ", ";\n\n display: flex;\n flex-direction: column;\n row-gap: ", ";\n\n ", "\n"])), function (_a) {
9
+ var theme = _a.theme;
10
+ return theme.components.sideBySide.backgroundColor;
11
+ }, function (_a) {
12
+ var theme = _a.theme;
13
+ return theme.components.sideBySide.backgroundColor === 'transparent' && theme.spacings.spacing32;
14
+ }, media.desktop(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n flex-direction:row;\n column-gap: ", ";\n "], ["\n flex-direction:row;\n column-gap: ", ";\n "])), function (_a) {
15
+ var theme = _a.theme;
16
+ return theme.components.sideBySide.backgroundColor === 'transparent' && theme.spacings.spacing32;
17
+ }));
18
+ var MediaContainer = styled.div.withConfig({
19
+ displayName: "SideBySidestyles__MediaContainer",
20
+ componentId: "sc-1yv76ux-1"
21
+ })(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), media.desktop(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n position: relative;\n order: ", ";\n "], ["\n width: 100%;\n position: relative;\n order: ", ";\n "])), function (_a) {
22
+ var mediaPosition = _a.mediaPosition;
23
+ return mediaPosition === 'left' ? 0 : 1;
24
+ }));
25
+ var Video = styled.video.withConfig({
26
+ displayName: "SideBySidestyles__Video",
27
+ componentId: "sc-1yv76ux-2"
28
+ })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 100%;\n object-fit: cover;\n\n ", "\n"], ["\n width: 100%;\n object-fit: cover;\n\n ", "\n"])), media.desktop(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 100%;\n "], ["\n height: 100%;\n "]))));
29
+ var ImageCSS = css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n width: 100%;\n object-fit: cover;\n max-height: 22rem;\n\n ", "\n\n ", "\n"], ["\n width: 100%;\n object-fit: cover;\n max-height: 22rem;\n\n ", "\n\n ", "\n"])), media.tablet(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n height: 100%;\n max-height: 36rem;\n "], ["\n height: 100%;\n max-height: 36rem;\n "]))), media.desktop(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n max-height: unset;\n position: absolute !important;\n "], ["\n height: 100%;\n width: 100%;\n max-height: unset;\n position: absolute !important;\n "]))));
30
+ var DynamicImage = styled(GatsbyImage).withConfig({
31
+ displayName: "SideBySidestyles__DynamicImage",
32
+ componentId: "sc-1yv76ux-3"
33
+ })(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
34
+ var StaticImage = styled.img.withConfig({
35
+ displayName: "SideBySidestyles__StaticImage",
36
+ componentId: "sc-1yv76ux-4"
37
+ })(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), ImageCSS);
38
+ var ColoredContainerPadding = css(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n padding: ", ";\n\n ", "\n"], ["\n padding: ", ";\n\n ", "\n"])), function (_a) {
39
+ var theme = _a.theme;
40
+ return theme.spacings.spacing32;
41
+ }, media.tablet(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n padding: ", ";\n "], ["\n padding: ", ";\n "])), function (_a) {
42
+ var theme = _a.theme;
43
+ return theme.spacings.spacing48;
44
+ }));
45
+ var TextContainer = styled.div.withConfig({
46
+ displayName: "SideBySidestyles__TextContainer",
47
+ componentId: "sc-1yv76ux-5"
48
+ })(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n box-sizing: border-box;\n width: 100%;\n ", "\n\n ", "\n\n padding-top: ", ";\n\n ", "\n"], ["\n box-sizing: border-box;\n width: 100%;\n ", "\n\n ", "\n\n padding-top: ", ";\n\n ", "\n"])), function (_a) {
49
+ var theme = _a.theme;
50
+ return theme.components.sideBySide.backgroundColor !== 'transparent' && ColoredContainerPadding;
51
+ }, media.desktop(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n "], ["\n padding-top: ", ";\n padding-bottom: ", ";\n "])), function (_a) {
52
+ var theme = _a.theme;
53
+ return theme.spacings.spacing96;
54
+ }, function (_a) {
55
+ var theme = _a.theme;
56
+ return theme.spacings.spacing96;
57
+ }), function (_a) {
58
+ var theme = _a.theme;
59
+ return theme.spacings.spacing20 + " !important";
60
+ }, function (_a) {
61
+ var renderCategorySeparator = _a.renderCategorySeparator;
62
+ return renderCategorySeparator && css(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n padding-top: ", ";\n "], ["\n padding-top: ", ";\n "])), function (_a) {
63
+ var theme = _a.theme;
64
+ return theme.spacings.spacing20 + " !important";
65
+ });
66
+ });
67
+ var Category = styled.div.withConfig({
68
+ displayName: "SideBySidestyles__Category",
69
+ componentId: "sc-1yv76ux-6"
70
+ })(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n\n ", "\n\n ", "\n\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n word-wrap: break-word;\n\n ", "\n\n ", "\n\n"])), function (_a) {
71
+ var theme = _a.theme;
72
+ return theme.components.sideBySide.category.fontFamily;
73
+ }, function (_a) {
74
+ var theme = _a.theme;
75
+ return theme.components.sideBySide.category.fontWeight;
76
+ }, function (_a) {
77
+ var theme = _a.theme;
78
+ return theme.components.sideBySide.category.fontSizes.mobile.fontSize;
79
+ }, function (_a) {
80
+ var theme = _a.theme;
81
+ return theme.components.sideBySide.category.fontSizes.mobile.lineHeight;
82
+ }, function (_a) {
83
+ var theme = _a.theme;
84
+ return theme.components.sideBySide.category.color;
85
+ }, function (_a) {
86
+ var theme = _a.theme;
87
+ return theme.components.sideBySide.category.textTransform;
88
+ }, media.tablet(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
89
+ var theme = _a.theme;
90
+ return theme.components.sideBySide.category.fontSizes.tablet.fontSize;
91
+ }, function (_a) {
92
+ var theme = _a.theme;
93
+ return theme.components.sideBySide.category.fontSizes.tablet.lineHeight;
94
+ }), media.desktop(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
95
+ var theme = _a.theme;
96
+ return theme.components.sideBySide.category.fontSizes.desktop.fontSize;
97
+ }, function (_a) {
98
+ var theme = _a.theme;
99
+ return theme.components.sideBySide.category.fontSizes.desktop.lineHeight;
100
+ }));
101
+ var CategoryContainer = styled.div.withConfig({
102
+ displayName: "SideBySidestyles__CategoryContainer",
103
+ componentId: "sc-1yv76ux-7"
104
+ })(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n border-bottom: ", ";\n margin-bottom: ", ";\n"], ["\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: space-between;\n width: 100%;\n border-bottom: ", ";\n margin-bottom: ", ";\n"])), function (_a) {
105
+ var theme = _a.theme,
106
+ renderCategorySeparator = _a.renderCategorySeparator;
107
+ return renderCategorySeparator ? "2px solid " + theme.components.sideBySide.category.color : 'none';
108
+ }, function (_a) {
109
+ var theme = _a.theme;
110
+ return theme.spacings.spacing48;
111
+ });
112
+ var Logo = styled.img.withConfig({
113
+ displayName: "SideBySidestyles__Logo",
114
+ componentId: "sc-1yv76ux-8"
115
+ })(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n max-width: ", ";\n max-height: ", ";\n margin-left: ", ";\n margin-bottom: 6px; //to align with category text\n\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n max-width: ", ";\n max-height: ", ";\n margin-left: ", ";\n margin-bottom: 6px; //to align with category text\n\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
116
+ var theme = _a.theme;
117
+ return theme.components.sideBySide.logoSize + " !important";
118
+ }, function (_a) {
119
+ var theme = _a.theme;
120
+ return theme.components.sideBySide.logoSize + " !important";
121
+ }, function (_a) {
122
+ var theme = _a.theme;
123
+ return theme.spacings.spacing4;
124
+ });
125
+ var Title = styled.div.withConfig({
126
+ displayName: "SideBySidestyles__Title",
127
+ componentId: "sc-1yv76ux-9"
128
+ })(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n margin-bottom: ", ";\n word-wrap: break-word;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n margin-bottom: ", ";\n word-wrap: break-word;\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
129
+ var theme = _a.theme;
130
+ return theme.components.sideBySide.title.fontFamily;
131
+ }, function (_a) {
132
+ var theme = _a.theme;
133
+ return theme.components.sideBySide.title.fontWeight;
134
+ }, function (_a) {
135
+ var theme = _a.theme;
136
+ return theme.components.sideBySide.title.fontSizes.mobile.fontSize;
137
+ }, function (_a) {
138
+ var theme = _a.theme;
139
+ return theme.components.sideBySide.title.fontSizes.mobile.lineHeight;
140
+ }, function (_a) {
141
+ var theme = _a.theme;
142
+ return theme.components.sideBySide.title.color.primary;
143
+ }, function (_a) {
144
+ var theme = _a.theme;
145
+ return theme.components.sideBySide.title.textTransform;
146
+ }, function (_a) {
147
+ var theme = _a.theme;
148
+ return theme.spacings.spacing24;
149
+ }, function (_a) {
150
+ var theme = _a.theme;
151
+ return theme.components.sideBySide.title.color.secondary;
152
+ }, media.tablet(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
153
+ var theme = _a.theme;
154
+ return theme.spacings.spacing32;
155
+ }, function (_a) {
156
+ var theme = _a.theme;
157
+ return theme.components.sideBySide.title.fontSizes.tablet.fontSize;
158
+ }, function (_a) {
159
+ var theme = _a.theme;
160
+ return theme.components.sideBySide.title.fontSizes.tablet.lineHeight;
161
+ }), media.desktop(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n margin-bottom: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
162
+ var theme = _a.theme;
163
+ return theme.spacings.spacing32;
164
+ }, function (_a) {
165
+ var theme = _a.theme;
166
+ return theme.components.sideBySide.title.fontSizes.desktop.fontSize;
167
+ }, function (_a) {
168
+ var theme = _a.theme;
169
+ return theme.components.sideBySide.title.fontSizes.desktop.lineHeight;
170
+ }));
171
+ var Description = styled.div.withConfig({
172
+ displayName: "SideBySidestyles__Description",
173
+ componentId: "sc-1yv76ux-10"
174
+ })(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n margin-bottom: ", ";\n word-wrap: break-word;\n\n p,\n ul,\n ol {\n margin: revert;\n }\n"], ["\n margin-bottom: ", ";\n word-wrap: break-word;\n\n p,\n ul,\n ol {\n margin: revert;\n }\n"])), function (_a) {
175
+ var theme = _a.theme;
176
+ return theme.spacings.spacing32;
177
+ });
178
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25;
179
+ export { Category, CategoryContainer, Description, DynamicImage, Logo, MediaContainer, SideBySideContainer, StaticImage, TextContainer, Title, Video };
@@ -0,0 +1,28 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { SocialLinksContainer, SocialLink } from './SocialMediaLinks.styles.js';
3
+ import { getTheme, getCurrentThemeName } from '../utils.js';
4
+
5
+ var SocialMediaLinks = function SocialMediaLinks(_a) {
6
+ var socialMediaLinks = _a.socialMediaLinks,
7
+ defaultColors = _a.defaultColors;
8
+ var theme = getTheme(getCurrentThemeName());
9
+ var validLinks = Object.values(socialMediaLinks).filter(function (value) {
10
+ return value !== null;
11
+ });
12
+
13
+ if (validLinks.length === 0) {
14
+ return null;
15
+ }
16
+
17
+ return jsx(SocialLinksContainer, {
18
+ children: validLinks.map(function (link, i) {
19
+ return link && jsx(SocialLink, {
20
+ url: link,
21
+ fgColor: defaultColors ? undefined : theme.components.socialMediaLinks.foregroundColor,
22
+ bgColor: defaultColors ? undefined : theme.components.socialMediaLinks.backgroundColor
23
+ }, i);
24
+ })
25
+ }, void 0);
26
+ };
27
+
28
+ export { SocialMediaLinks, SocialMediaLinks as default };
@@ -0,0 +1,22 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+ import { SocialIcon } from 'react-social-icons';
4
+ var SocialLinksContainer = styled.div.withConfig({
5
+ displayName: "SocialMediaLinksstyles__SocialLinksContainer",
6
+ componentId: "sc-10ntq03-0"
7
+ })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n column-gap: ", ";\n"], ["\n display: flex;\n column-gap: ", ";\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.spacings.spacing8;
10
+ });
11
+ var SocialLink = styled(SocialIcon).withConfig({
12
+ displayName: "SocialMediaLinksstyles__SocialLink",
13
+ componentId: "sc-10ntq03-1"
14
+ })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", " !important;\n width: ", " !important;\n"], ["\n height: ", " !important;\n width: ", " !important;\n"])), function (_a) {
15
+ var theme = _a.theme;
16
+ return theme.components.socialMediaLinks.size;
17
+ }, function (_a) {
18
+ var theme = _a.theme;
19
+ return theme.components.socialMediaLinks.size;
20
+ });
21
+ var templateObject_1, templateObject_2;
22
+ export { SocialLink, SocialLinksContainer };
@@ -0,0 +1,22 @@
1
+ import { __rest, __assign } from '../../_virtual/_tslib.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { SubHeroContainer, Title } from './SubHero.styles.js';
5
+ var SubHero = forwardRef(function (_a, ref) {
6
+ var title = _a.title,
7
+ anchor = _a.anchor,
8
+ rest = __rest(_a, ["title", "anchor"]);
9
+
10
+ return jsx(SubHeroContainer, __assign({
11
+ id: anchor
12
+ }, rest, {
13
+ ref: ref
14
+ }, {
15
+ children: jsx(Title, {
16
+ dangerouslySetInnerHTML: {
17
+ __html: title
18
+ }
19
+ }, void 0)
20
+ }), void 0);
21
+ });
22
+ export { SubHero, SubHero as default };
@@ -0,0 +1,52 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+ import media from '../../styles/media.js';
4
+ var SubHeroContainer = styled.div.withConfig({
5
+ displayName: "SubHerostyles__SubHeroContainer",
6
+ componentId: "sc-17uboxn-0"
7
+ })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding-top: ", ";\n padding-bottom: ", ";\n\n ", "\n\n ", "\n"], ["\n padding-top: ", ";\n padding-bottom: ", ";\n\n ", "\n\n ", "\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.spacings.spacing64;
10
+ }, function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.spacings.spacing28;
13
+ }, media.tablet(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding-bottom: unset;\n "], ["\n padding-bottom: unset;\n "]))), media.desktop(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-bottom: unset;\n "], ["\n padding-bottom: unset;\n "]))));
14
+ var Title = styled.div.withConfig({
15
+ displayName: "SubHerostyles__Title",
16
+ componentId: "sc-17uboxn-1"
17
+ })(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"], ["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-transform: ", ";\n\n b {\n color: ", ";\n font-weight: inherit;\n }\n\n ", "\n\n ", "\n"])), function (_a) {
18
+ var theme = _a.theme;
19
+ return theme.components.subHero.title.fontFamily;
20
+ }, function (_a) {
21
+ var theme = _a.theme;
22
+ return theme.components.subHero.title.fontWeight;
23
+ }, function (_a) {
24
+ var theme = _a.theme;
25
+ return theme.components.subHero.title.fontSizes.mobile.fontSize;
26
+ }, function (_a) {
27
+ var theme = _a.theme;
28
+ return theme.components.subHero.title.fontSizes.mobile.lineHeight;
29
+ }, function (_a) {
30
+ var theme = _a.theme;
31
+ return theme.components.subHero.title.color.primary;
32
+ }, function (_a) {
33
+ var theme = _a.theme;
34
+ return theme.components.subHero.title.textTransform;
35
+ }, function (_a) {
36
+ var theme = _a.theme;
37
+ return theme.components.subHero.title.color.secondary;
38
+ }, media.tablet(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
39
+ var theme = _a.theme;
40
+ return theme.components.subHero.title.fontSizes.tablet.fontSize;
41
+ }, function (_a) {
42
+ var theme = _a.theme;
43
+ return theme.components.subHero.title.fontSizes.tablet.lineHeight;
44
+ }), media.desktop(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), function (_a) {
45
+ var theme = _a.theme;
46
+ return theme.components.subHero.title.fontSizes.desktop.fontSize;
47
+ }, function (_a) {
48
+ var theme = _a.theme;
49
+ return theme.components.subHero.title.fontSizes.desktop.lineHeight;
50
+ }));
51
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
52
+ export { SubHeroContainer, Title };
@@ -0,0 +1,23 @@
1
+ import { __rest, __assign } from '../../_virtual/_tslib.js';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { MainContainer } from './Table.styles.js';
5
+ import { parseHtmlContent } from '../utils.js';
6
+ var Table = forwardRef(function (_a, ref) {
7
+ var block = _a.block,
8
+ anchor = _a.anchor,
9
+ rest = __rest(_a, ["block", "anchor"]);
10
+
11
+ return jsx(MainContainer, __assign({
12
+ id: anchor
13
+ }, rest, {
14
+ ref: ref
15
+ }, {
16
+ children: jsx("div", {
17
+ dangerouslySetInnerHTML: {
18
+ __html: parseHtmlContent(block === null || block === void 0 ? void 0 : block.saveContent)
19
+ }
20
+ }, void 0)
21
+ }), void 0);
22
+ });
23
+ export { Table, Table as default };
@@ -0,0 +1,121 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import styled from 'styled-components';
3
+ import media from '../../styles/media.js';
4
+ import { WpTableCSS } from './WpTable.styles.js';
5
+ var MainContainer = styled.div.withConfig({
6
+ displayName: "Tablestyles__MainContainer",
7
+ componentId: "sc-oawr6n-0"
8
+ })(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n figcaption {\n font-family: ", ";\n margin-top: ", ";\n margin-left: ", ";\n padding-bottom: ", ";\n }\n\n th {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n text-transform: ", ";\n padding: ", " ", ";\n color: ", ";\n background-color: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n text-transform: ", ";\n line-height: ", ";\n background-color: ", ";\n }\n\n tr:nth-child(even) {\n td {\n background-color: ", ";\n }\n }\n\n ", "\n\n ", "\n"], ["\n ", "\n figcaption {\n font-family: ", ";\n margin-top: ", ";\n margin-left: ", ";\n padding-bottom: ", ";\n }\n\n th {\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n text-transform: ", ";\n padding: ", " ", ";\n color: ", ";\n background-color: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n text-transform: ", ";\n line-height: ", ";\n background-color: ", ";\n }\n\n tr:nth-child(even) {\n td {\n background-color: ", ";\n }\n }\n\n ", "\n\n ", "\n"])), WpTableCSS, function (_a) {
9
+ var theme = _a.theme;
10
+ return theme.components.table.figcaption.fontFamily;
11
+ }, function (_a) {
12
+ var theme = _a.theme;
13
+ return theme.spacings.spacing32;
14
+ }, function (_a) {
15
+ var theme = _a.theme;
16
+ return theme.spacings.spacing16;
17
+ }, function (_a) {
18
+ var theme = _a.theme;
19
+ return theme.spacings.spacing16;
20
+ }, function (_a) {
21
+ var theme = _a.theme;
22
+ return theme.components.table.th.fontFamily;
23
+ }, function (_a) {
24
+ var theme = _a.theme;
25
+ return theme.components.table.th.fontWeight;
26
+ }, function (_a) {
27
+ var theme = _a.theme;
28
+ return theme.components.table.th.fontSizes.mobile.fontSize;
29
+ }, function (_a) {
30
+ var theme = _a.theme;
31
+ return theme.components.table.th.fontSizes.mobile.lineHeight;
32
+ }, function (_a) {
33
+ var theme = _a.theme;
34
+ return theme.components.table.th.textTransform;
35
+ }, function (_a) {
36
+ var theme = _a.theme;
37
+ return theme.spacings.spacing16;
38
+ }, function (_a) {
39
+ var theme = _a.theme;
40
+ return theme.spacings.spacing16;
41
+ }, function (_a) {
42
+ var theme = _a.theme;
43
+ return theme.components.table.th.color;
44
+ }, function (_a) {
45
+ var theme = _a.theme;
46
+ return theme.components.table.th.backgroundColor;
47
+ }, function (_a) {
48
+ var theme = _a.theme;
49
+ return theme.spacings.spacing48;
50
+ }, function (_a) {
51
+ var theme = _a.theme;
52
+ return theme.spacings.spacing16;
53
+ }, function (_a) {
54
+ var theme = _a.theme;
55
+ return theme.spacings.spacing16;
56
+ }, function (_a) {
57
+ var theme = _a.theme;
58
+ return theme.components.table.td.fontFamily;
59
+ }, function (_a) {
60
+ var theme = _a.theme;
61
+ return theme.components.table.td.fontWeight;
62
+ }, function (_a) {
63
+ var theme = _a.theme;
64
+ return theme.components.table.td.fontSize;
65
+ }, function (_a) {
66
+ var theme = _a.theme;
67
+ return theme.components.table.td.textTransform;
68
+ }, function (_a) {
69
+ var theme = _a.theme;
70
+ return theme.components.table.td.fontSize.lineHeight;
71
+ }, function (_a) {
72
+ var theme = _a.theme;
73
+ return theme.components.table.td.backgroundColor;
74
+ }, function (_a) {
75
+ var theme = _a.theme;
76
+ return theme.components.table.td.evenBackgroundColor;
77
+ }, media.tablet(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n th {\n padding: ", " ", ";\n font-size: ", ";\n line-height: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n }\n "], ["\n th {\n padding: ", " ", ";\n font-size: ", ";\n line-height: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n }\n "])), function (_a) {
78
+ var theme = _a.theme;
79
+ return theme.spacings.spacing16;
80
+ }, function (_a) {
81
+ var theme = _a.theme;
82
+ return theme.spacings.spacing16;
83
+ }, function (_a) {
84
+ var theme = _a.theme;
85
+ return theme.components.table.th.fontSizes.tablet.fontSize;
86
+ }, function (_a) {
87
+ var theme = _a.theme;
88
+ return theme.components.table.th.fontSizes.tablet.lineHeight;
89
+ }, function (_a) {
90
+ var theme = _a.theme;
91
+ return theme.spacings.spacing64;
92
+ }, function (_a) {
93
+ var theme = _a.theme;
94
+ return theme.spacings.spacing32;
95
+ }, function (_a) {
96
+ var theme = _a.theme;
97
+ return theme.spacings.spacing16;
98
+ }), media.desktop(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n th {\n padding: ", " ", ";\n font-size: ", ";\n line-height: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n }\n "], ["\n th {\n padding: ", " ", ";\n font-size: ", ";\n line-height: ", ";\n min-width: ", ";\n }\n\n td {\n padding: ", " ", ";\n }\n "])), function (_a) {
99
+ var theme = _a.theme;
100
+ return theme.spacings.spacing32;
101
+ }, function (_a) {
102
+ var theme = _a.theme;
103
+ return theme.spacings.spacing16;
104
+ }, function (_a) {
105
+ var theme = _a.theme;
106
+ return theme.components.table.th.fontSizes.desktop.fontSize;
107
+ }, function (_a) {
108
+ var theme = _a.theme;
109
+ return theme.components.table.th.fontSizes.desktop.lineHeight;
110
+ }, function (_a) {
111
+ var theme = _a.theme;
112
+ return theme.spacings.spacing80;
113
+ }, function (_a) {
114
+ var theme = _a.theme;
115
+ return theme.spacings.spacing32;
116
+ }, function (_a) {
117
+ var theme = _a.theme;
118
+ return theme.spacings.spacing16;
119
+ }));
120
+ var templateObject_1, templateObject_2, templateObject_3;
121
+ export { MainContainer };
@@ -0,0 +1,5 @@
1
+ import { __makeTemplateObject } from '../../_virtual/_tslib.js';
2
+ import { css } from 'styled-components';
3
+ var WpTableCSS = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .wp-block-table {\n margin: 0 0 1em 0;\n overflow-x: auto;\n }\n .wp-block-table table {\n border-collapse: collapse;\n width: 100%;\n }\n .wp-block-table .has-fixed-layout {\n table-layout: fixed;\n width: 100%;\n }\n .wp-block-table .has-fixed-layout td,\n .wp-block-table .has-fixed-layout th {\n word-break: break-word;\n }\n .wp-block-table.alignleft,\n .wp-block-table.aligncenter,\n .wp-block-table.alignright {\n display: table;\n width: auto;\n }\n .wp-block-table.alignleft td,\n .wp-block-table.alignleft th,\n .wp-block-table.aligncenter td,\n .wp-block-table.aligncenter th,\n .wp-block-table.alignright td,\n .wp-block-table.alignright th {\n word-break: break-word;\n }\n .wp-block-table .has-subtle-light-gray-background-color {\n background-color: #f3f4f5;\n }\n .wp-block-table .has-subtle-pale-green-background-color {\n background-color: #e9fbe5;\n }\n .wp-block-table .has-subtle-pale-blue-background-color {\n background-color: #e7f5fe;\n }\n .wp-block-table .has-subtle-pale-pink-background-color {\n background-color: #fcf0ef;\n }\n .wp-block-table.is-style-stripes {\n border-spacing: 0;\n border-collapse: inherit;\n background-color: transparent;\n border-bottom: 1px solid #f0f0f0;\n }\n .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {\n background-color: #f0f0f0;\n }\n .wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd) {\n background-color: #f3f4f5;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd) {\n background-color: #e9fbe5;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd) {\n background-color: #e7f5fe;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd) {\n background-color: #fcf0ef;\n }\n .wp-block-table.is-style-stripes th,\n .wp-block-table.is-style-stripes td {\n border-color: transparent;\n }\n .wp-block-table .has-border-color > *,\n .wp-block-table .has-border-color tr,\n .wp-block-table .has-border-color th,\n .wp-block-table .has-border-color td {\n border-color: inherit;\n }\n .wp-block-table table[style*='border-style'] > *,\n .wp-block-table table[style*='border-style'] tr,\n .wp-block-table table[style*='border-style'] th,\n .wp-block-table table[style*='border-style'] td {\n border-style: inherit;\n }\n .wp-block-table table[style*='border-width'] > *,\n .wp-block-table table[style*='border-width'] tr,\n .wp-block-table table[style*='border-width'] th,\n .wp-block-table table[style*='border-width'] td {\n border-width: inherit;\n }\n\n .has-text-align-center {\n text-align: center;\n }\n\n .has-text-align-left {\n /*rtl:ignore*/\n text-align: left;\n }\n\n .has-text-align-right {\n /*rtl:ignore*/\n text-align: right;\n }\n"], ["\n .wp-block-table {\n margin: 0 0 1em 0;\n overflow-x: auto;\n }\n .wp-block-table table {\n border-collapse: collapse;\n width: 100%;\n }\n .wp-block-table .has-fixed-layout {\n table-layout: fixed;\n width: 100%;\n }\n .wp-block-table .has-fixed-layout td,\n .wp-block-table .has-fixed-layout th {\n word-break: break-word;\n }\n .wp-block-table.alignleft,\n .wp-block-table.aligncenter,\n .wp-block-table.alignright {\n display: table;\n width: auto;\n }\n .wp-block-table.alignleft td,\n .wp-block-table.alignleft th,\n .wp-block-table.aligncenter td,\n .wp-block-table.aligncenter th,\n .wp-block-table.alignright td,\n .wp-block-table.alignright th {\n word-break: break-word;\n }\n .wp-block-table .has-subtle-light-gray-background-color {\n background-color: #f3f4f5;\n }\n .wp-block-table .has-subtle-pale-green-background-color {\n background-color: #e9fbe5;\n }\n .wp-block-table .has-subtle-pale-blue-background-color {\n background-color: #e7f5fe;\n }\n .wp-block-table .has-subtle-pale-pink-background-color {\n background-color: #fcf0ef;\n }\n .wp-block-table.is-style-stripes {\n border-spacing: 0;\n border-collapse: inherit;\n background-color: transparent;\n border-bottom: 1px solid #f0f0f0;\n }\n .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {\n background-color: #f0f0f0;\n }\n .wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd) {\n background-color: #f3f4f5;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd) {\n background-color: #e9fbe5;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd) {\n background-color: #e7f5fe;\n }\n .wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd) {\n background-color: #fcf0ef;\n }\n .wp-block-table.is-style-stripes th,\n .wp-block-table.is-style-stripes td {\n border-color: transparent;\n }\n .wp-block-table .has-border-color > *,\n .wp-block-table .has-border-color tr,\n .wp-block-table .has-border-color th,\n .wp-block-table .has-border-color td {\n border-color: inherit;\n }\n .wp-block-table table[style*='border-style'] > *,\n .wp-block-table table[style*='border-style'] tr,\n .wp-block-table table[style*='border-style'] th,\n .wp-block-table table[style*='border-style'] td {\n border-style: inherit;\n }\n .wp-block-table table[style*='border-width'] > *,\n .wp-block-table table[style*='border-width'] tr,\n .wp-block-table table[style*='border-width'] th,\n .wp-block-table table[style*='border-width'] td {\n border-width: inherit;\n }\n\n .has-text-align-center {\n text-align: center;\n }\n\n .has-text-align-left {\n /*rtl:ignore*/\n text-align: left;\n }\n\n .has-text-align-right {\n /*rtl:ignore*/\n text-align: right;\n }\n"])));
4
+ var templateObject_1;
5
+ export { WpTableCSS };
@@ -0,0 +1,34 @@
1
+ import { __spreadArray, __read } from '../_virtual/_tslib.js';
2
+ var components = {
3
+ COLUMNS: 'core/columns',
4
+ PARAGRAPH: 'core/paragraph',
5
+ HEADING: 'core/heading',
6
+ TABLE: 'core/table',
7
+ LIST: 'core/list',
8
+ EMBED: 'core/embed',
9
+ BUTTON: 'acf/button',
10
+ HERO: 'acf/hero',
11
+ FULL_BG_HERO: 'acf/full-bg-hero',
12
+ SUB_HERO: 'acf/sub-hero',
13
+ CARD: 'acf/card',
14
+ SIDE_BY_SIDE: 'acf/side-by-side',
15
+ ACCORDION: 'acf/accordion',
16
+ PROMOTION: 'acf/promotion',
17
+ CAROUSEL: 'acf/carousel',
18
+ CAROUSEL_NARROW: 'acf/carousel-narrow',
19
+ FORM_BUILDER: 'acf/form-builder',
20
+ ICON_LINKS: 'acf/icon-links',
21
+ IMAGE_CAROUSEL: 'acf/image-carousel',
22
+ PLACE_OF_BUSINESS_SEARCH: 'acf/place-of-business-search',
23
+ OVERLAY_CARDS: 'acf/overlay-cards'
24
+ };
25
+ var fullWidthComponents = [components.PROMOTION, components.FULL_BG_HERO, components.PROMOTION, components.CAROUSEL, components.IMAGE_CAROUSEL]; // To fix RestrictedWidthContainer left and right margins when used with CarouselNarrow
26
+
27
+ var hideOverflowComponents = [components.CAROUSEL_NARROW]; // Margin is not applied when these components are subsequent to each other
28
+
29
+ var conditionallyNoMarginComponents = [components.PROMOTION, components.HERO, components.FULL_BG_HERO];
30
+ var textComponents = [components.PARAGRAPH, components.LIST, components.BUTTON]; // Columns are not animated to avoid flickering since their contents are also animated
31
+
32
+ var noAnimationComponents = __spreadArray(__spreadArray([], __read(textComponents), false), [components.COLUMNS]);
33
+
34
+ export { components, conditionallyNoMarginComponents, fullWidthComponents, hideOverflowComponents, noAnimationComponents, textComponents };