@pixelated-tech/components 3.1.6 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/components/callout/callout.js +10 -9
  2. package/dist/components/callout/callout.scss +43 -43
  3. package/dist/components/carousel/carousel.css +24 -22
  4. package/dist/components/carousel/carousel.drag.js +1 -1
  5. package/dist/components/carousel/carousel.js +10 -10
  6. package/dist/components/{tiles → carousel}/tiles.css +10 -10
  7. package/dist/components/{tiles → carousel}/tiles.js +3 -3
  8. package/dist/components/cms/contentful.items.components.js +12 -12
  9. package/dist/components/cms/contentful.items.css +24 -24
  10. package/dist/components/cms/gravatar.components.js +87 -5
  11. package/dist/components/cms/instagram.components.js +1 -1
  12. package/dist/components/cms/wordpress.components.js +3 -3
  13. package/dist/components/cms/wordpress.css +3 -3
  14. package/dist/components/general/microinteractions.css +7 -7
  15. package/dist/components/general/modal.css +5 -5
  16. package/dist/components/general/modal.js +1 -1
  17. package/dist/components/general/semantic.js +282 -0
  18. package/dist/components/general/semantic.scss +359 -0
  19. package/dist/components/menu/menu-accordion.css +27 -21
  20. package/dist/components/menu/menu-accordion.js +1 -1
  21. package/dist/components/menu/menu-simple.css +8 -8
  22. package/dist/components/menu/menu-simple.js +3 -3
  23. package/dist/components/nerdjoke/nerdjoke.js +85 -77
  24. package/dist/components/pagebuilder/components/PageBuilderUI.js +1 -1
  25. package/dist/components/pagebuilder/components/PageEngine.js +21 -14
  26. package/dist/components/pagebuilder/lib/componentMap.js +5 -5
  27. package/dist/components/pagebuilder/lib/componentMetadata.js +1 -1
  28. package/dist/components/seo/404.css +5 -5
  29. package/dist/components/seo/404.js +2 -2
  30. package/dist/components/seo/googlemap.js +2 -1
  31. package/dist/components/seo/googlesearch.css +11 -0
  32. package/dist/components/shoppingcart/ebay.css +5 -5
  33. package/dist/components/shoppingcart/shoppingcart.css +1 -1
  34. package/dist/components/{resume → structured}/resume.css +4 -0
  35. package/dist/components/{resume → structured}/resume.js +3 -3
  36. package/dist/components/{timeline → structured}/timeline.css +14 -14
  37. package/dist/components/{timeline → structured}/timeline.js +3 -3
  38. package/dist/css/pixelated.global.css +25 -164
  39. package/dist/index.js +11 -12
  40. package/dist/types/components/callout/callout.d.ts.map +1 -1
  41. package/dist/types/components/carousel/carousel.d.ts.map +1 -1
  42. package/dist/types/components/{tiles → carousel}/tiles.d.ts +1 -1
  43. package/dist/types/components/carousel/tiles.d.ts.map +1 -0
  44. package/dist/types/components/cms/contentful.items.components.d.ts.map +1 -1
  45. package/dist/types/components/cms/gravatar.components.d.ts +53 -24
  46. package/dist/types/components/cms/gravatar.components.d.ts.map +1 -1
  47. package/dist/types/components/cms/pixelated.linkedin.d.ts.map +1 -0
  48. package/dist/types/components/cms/pixelated.linkedin1.d.ts.map +1 -0
  49. package/dist/types/components/cms/pixelated.linkedin2.d.ts.map +1 -0
  50. package/dist/types/components/cms/yelp.d.ts.map +1 -0
  51. package/dist/types/components/general/semantic.d.ts +153 -0
  52. package/dist/types/components/general/semantic.d.ts.map +1 -0
  53. package/dist/types/components/general/sidepanel.d.ts.map +1 -0
  54. package/dist/types/components/nerdjoke/nerdjoke.d.ts +15 -20
  55. package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -1
  56. package/dist/types/components/pagebuilder/components/PageEngine.d.ts.map +1 -1
  57. package/dist/types/components/pagebuilder/lib/componentMap.d.ts +6 -6
  58. package/dist/types/components/pagebuilder/lib/componentMap.d.ts.map +1 -1
  59. package/dist/types/components/seo/404.d.ts.map +1 -1
  60. package/dist/types/components/seo/googlemap.d.ts +1 -0
  61. package/dist/types/components/seo/googlemap.d.ts.map +1 -1
  62. package/dist/types/components/{buzzwordbingo → structured}/buzzwordbingo.d.ts +1 -1
  63. package/dist/types/components/structured/buzzwordbingo.d.ts.map +1 -0
  64. package/dist/types/components/structured/markdown.d.ts.map +1 -0
  65. package/dist/types/components/structured/recipe.d.ts.map +1 -0
  66. package/dist/types/components/{resume → structured}/resume.d.ts +1 -1
  67. package/dist/types/components/structured/resume.d.ts.map +1 -0
  68. package/dist/types/components/{socialcard → structured}/socialcard.d.ts +1 -1
  69. package/dist/types/components/{socialcard → structured}/socialcard.d.ts.map +1 -1
  70. package/dist/types/components/{timeline → structured}/timeline.d.ts +1 -1
  71. package/dist/types/components/structured/timeline.d.ts.map +1 -0
  72. package/dist/types/index.d.ts +9 -10
  73. package/dist/types/stories/callout/callout.many.stories.d.ts.map +1 -0
  74. package/dist/types/stories/{callout.stories.d.ts → callout/callout.stories.d.ts} +1 -1
  75. package/dist/types/stories/callout/callout.stories.d.ts.map +1 -0
  76. package/dist/types/stories/{carousel-hero.stories.d.ts → carousel/carousel-hero.stories.d.ts} +1 -1
  77. package/dist/types/stories/carousel/carousel-hero.stories.d.ts.map +1 -0
  78. package/dist/types/stories/{carousel-reviews.stories.d.ts → carousel/carousel-reviews.stories.d.ts} +1 -1
  79. package/dist/types/stories/carousel/carousel-reviews.stories.d.ts.map +1 -0
  80. package/dist/types/stories/{carousel-workportfolio.stories.d.ts → carousel/carousel-workportfolio.stories.d.ts} +1 -1
  81. package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts.map +1 -0
  82. package/dist/types/stories/{carousel.stories.d.ts → carousel/carousel.stories.d.ts} +1 -1
  83. package/dist/types/stories/carousel/carousel.stories.d.ts.map +1 -0
  84. package/dist/types/stories/{tiles.stories.d.ts → carousel/tiles.stories.d.ts} +1 -1
  85. package/dist/types/stories/carousel/tiles.stories.d.ts.map +1 -0
  86. package/dist/types/stories/{cms.contentful.item.stories.d.ts → cms/contentful.item.stories.d.ts} +2 -2
  87. package/dist/types/stories/cms/contentful.item.stories.d.ts.map +1 -0
  88. package/dist/types/stories/{cms.contentful.items.stories.d.ts → cms/contentful.items.stories.d.ts} +2 -2
  89. package/dist/types/stories/cms/contentful.items.stories.d.ts.map +1 -0
  90. package/dist/types/stories/{cms.contentful.stories.d.ts → cms/contentful.stories.d.ts} +2 -2
  91. package/dist/types/stories/cms/contentful.stories.d.ts.map +1 -0
  92. package/dist/types/stories/{cms.google.reviews.stories.d.ts → cms/google.reviews.stories.d.ts} +2 -2
  93. package/dist/types/stories/cms/google.reviews.stories.d.ts.map +1 -0
  94. package/dist/types/stories/{cms.gravatar.stories.d.ts → cms/gravatar.stories.d.ts} +2 -2
  95. package/dist/types/stories/cms/gravatar.stories.d.ts.map +1 -0
  96. package/dist/types/stories/{cms.instagram.stories.d.ts → cms/instagram.stories.d.ts} +2 -2
  97. package/dist/types/stories/cms/instagram.stories.d.ts.map +1 -0
  98. package/dist/types/stories/cms/wordpress.stories.d.ts +9 -0
  99. package/dist/types/stories/cms/wordpress.stories.d.ts.map +1 -0
  100. package/dist/types/stories/{general.headers.stories.d.ts → general/headers.stories.d.ts} +5 -5
  101. package/dist/types/stories/general/headers.stories.d.ts.map +1 -0
  102. package/dist/types/stories/{layout.stories.d.ts → general/layout.stories.d.ts} +1 -1
  103. package/dist/types/stories/general/layout.stories.d.ts.map +1 -0
  104. package/dist/types/stories/{general.loading.stories.d.ts → general/loading.stories.d.ts} +2 -2
  105. package/dist/types/stories/general/loading.stories.d.ts.map +1 -0
  106. package/dist/types/stories/{general.microinteractions.stories.d.ts → general/microinteractions.stories.d.ts} +2 -2
  107. package/dist/types/stories/general/microinteractions.stories.d.ts.map +1 -0
  108. package/dist/types/stories/{general.modal.stories.d.ts → general/modal.stories.d.ts} +2 -2
  109. package/dist/types/stories/general/modal.stories.d.ts.map +1 -0
  110. package/dist/types/stories/{sidepanel.stories.d.ts → general/sidepanel.stories.d.ts} +1 -1
  111. package/dist/types/stories/general/sidepanel.stories.d.ts.map +1 -0
  112. package/dist/types/stories/{general.table.stories.d.ts → general/table.stories.d.ts} +3 -3
  113. package/dist/types/stories/general/table.stories.d.ts.map +1 -0
  114. package/dist/types/stories/{menu-accordion.stories.d.ts → menu/menu-accordion.stories.d.ts} +1 -1
  115. package/dist/types/stories/menu/menu-accordion.stories.d.ts.map +1 -0
  116. package/dist/types/stories/{menu-simple.stories.d.ts → menu/menu-simple.stories.d.ts} +1 -1
  117. package/dist/types/stories/menu/menu-simple.stories.d.ts.map +1 -0
  118. package/dist/types/stories/nerdjoke.stories.d.ts +1 -1
  119. package/dist/types/stories/nerdjoke.stories.d.ts.map +1 -1
  120. package/dist/types/stories/{pagebuilder.form-builder.stories.d.ts → pagebuilder/form-builder.stories.d.ts} +2 -2
  121. package/dist/types/stories/pagebuilder/form-builder.stories.d.ts.map +1 -0
  122. package/dist/types/stories/{pagebuilder.form-engine.stories.d.ts → pagebuilder/form-engine.stories.d.ts} +3 -3
  123. package/dist/types/stories/pagebuilder/form-engine.stories.d.ts.map +1 -0
  124. package/dist/types/stories/{pagebuilder.form-extractor.stories.d.ts → pagebuilder/form-extractor.stories.d.ts} +2 -2
  125. package/dist/types/stories/pagebuilder/form-extractor.stories.d.ts.map +1 -0
  126. package/dist/types/stories/{pagebuilder.stories.d.ts → pagebuilder/pagebuilder.stories.d.ts} +1 -1
  127. package/dist/types/stories/pagebuilder/pagebuilder.stories.d.ts.map +1 -0
  128. package/dist/types/stories/{pagebuilder.usageguide.stories.d.ts → pagebuilder/pagebuilder.usageguide.stories.d.ts} +1 -1
  129. package/dist/types/stories/pagebuilder/pagebuilder.usageguide.stories.d.ts.map +1 -0
  130. package/dist/types/stories/{pageengine.stories.d.ts → pagebuilder/pageengine.stories.d.ts} +1 -1
  131. package/dist/types/stories/pagebuilder/pageengine.stories.d.ts.map +1 -0
  132. package/dist/types/stories/{seo.404.stories.d.ts → seo/seo.404.stories.d.ts} +1 -1
  133. package/dist/types/stories/seo/seo.404.stories.d.ts.map +1 -0
  134. package/dist/types/stories/{seo.googleanalytics.stories.d.ts → seo/seo.googleanalytics.stories.d.ts} +1 -1
  135. package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts.map +1 -0
  136. package/dist/types/stories/{seo.googlesearch.stories.d.ts → seo/seo.googlesearch.stories.d.ts} +1 -1
  137. package/dist/types/stories/seo/seo.googlesearch.stories.d.ts.map +1 -0
  138. package/dist/types/stories/{seo.metadata.stories.d.ts → seo/seo.metadata.stories.d.ts} +2 -2
  139. package/dist/types/stories/seo/seo.metadata.stories.d.ts.map +1 -0
  140. package/dist/types/stories/{seo.sitemap.stories.d.ts → seo/seo.sitemap.stories.d.ts} +1 -1
  141. package/dist/types/stories/seo/seo.sitemap.stories.d.ts.map +1 -0
  142. package/dist/types/stories/{shoppingcart.ebay.item.stories.d.ts → shoppingcart/shoppingcart.ebay.item.stories.d.ts} +1 -1
  143. package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts.map +1 -0
  144. package/dist/types/stories/{shoppingcart.ebay.items.stories.d.ts → shoppingcart/shoppingcart.ebay.items.stories.d.ts} +1 -1
  145. package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts.map +1 -0
  146. package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts.map +1 -0
  147. package/dist/types/stories/{buzzword-bingo.stories.d.ts → structured/buzzword-bingo.stories.d.ts} +2 -2
  148. package/dist/types/stories/structured/buzzword-bingo.stories.d.ts.map +1 -0
  149. package/dist/types/stories/{markdown.stories.d.ts → structured/markdown.stories.d.ts} +1 -1
  150. package/dist/types/stories/structured/markdown.stories.d.ts.map +1 -0
  151. package/dist/types/stories/{recipe.stories.d.ts → structured/recipe.stories.d.ts} +2 -2
  152. package/dist/types/stories/structured/recipe.stories.d.ts.map +1 -0
  153. package/dist/types/stories/{resume.stories.d.ts → structured/resume.stories.d.ts} +1 -1
  154. package/dist/types/stories/{resume.stories.d.ts.map → structured/resume.stories.d.ts.map} +1 -1
  155. package/dist/types/stories/{socialcard.stories.d.ts → structured/socialcard.stories.d.ts} +1 -1
  156. package/dist/types/stories/structured/socialcard.stories.d.ts.map +1 -0
  157. package/dist/types/stories/{timeline.stories.d.ts → structured/timeline.stories.d.ts} +1 -1
  158. package/dist/types/stories/structured/timeline.stories.d.ts.map +1 -0
  159. package/package.json +9 -6
  160. package/dist/components/general/headers.css +0 -16
  161. package/dist/components/general/headers.js +0 -27
  162. package/dist/components/general/layout.js +0 -147
  163. package/dist/components/general/layout.scss +0 -47
  164. package/dist/types/components/buzzwordbingo/buzzwordbingo.d.ts.map +0 -1
  165. package/dist/types/components/general/headers.d.ts +0 -19
  166. package/dist/types/components/general/headers.d.ts.map +0 -1
  167. package/dist/types/components/general/layout.d.ts +0 -73
  168. package/dist/types/components/general/layout.d.ts.map +0 -1
  169. package/dist/types/components/linkedin/pixelated.linkedin.d.ts.map +0 -1
  170. package/dist/types/components/linkedin/pixelated.linkedin1.d.ts.map +0 -1
  171. package/dist/types/components/linkedin/pixelated.linkedin2.d.ts.map +0 -1
  172. package/dist/types/components/markdown/markdown.d.ts.map +0 -1
  173. package/dist/types/components/recipe/recipe.d.ts.map +0 -1
  174. package/dist/types/components/resume/resume.d.ts.map +0 -1
  175. package/dist/types/components/sidepanel/sidepanel.d.ts.map +0 -1
  176. package/dist/types/components/tiles/tiles.d.ts.map +0 -1
  177. package/dist/types/components/timeline/timeline.d.ts.map +0 -1
  178. package/dist/types/components/yelp/yelp.d.ts.map +0 -1
  179. package/dist/types/stories/buzzword-bingo.stories.d.ts.map +0 -1
  180. package/dist/types/stories/callout.many.stories.d.ts.map +0 -1
  181. package/dist/types/stories/callout.stories.d.ts.map +0 -1
  182. package/dist/types/stories/carousel-hero.stories.d.ts.map +0 -1
  183. package/dist/types/stories/carousel-reviews.stories.d.ts.map +0 -1
  184. package/dist/types/stories/carousel-workportfolio.stories.d.ts.map +0 -1
  185. package/dist/types/stories/carousel.stories.d.ts.map +0 -1
  186. package/dist/types/stories/cms.contentful.item.stories.d.ts.map +0 -1
  187. package/dist/types/stories/cms.contentful.items.stories.d.ts.map +0 -1
  188. package/dist/types/stories/cms.contentful.stories.d.ts.map +0 -1
  189. package/dist/types/stories/cms.google.reviews.stories.d.ts.map +0 -1
  190. package/dist/types/stories/cms.gravatar.stories.d.ts.map +0 -1
  191. package/dist/types/stories/cms.instagram.stories.d.ts.map +0 -1
  192. package/dist/types/stories/cms.wordpress.stories.d.ts +0 -26
  193. package/dist/types/stories/cms.wordpress.stories.d.ts.map +0 -1
  194. package/dist/types/stories/general.headers.stories.d.ts.map +0 -1
  195. package/dist/types/stories/general.loading.stories.d.ts.map +0 -1
  196. package/dist/types/stories/general.microinteractions.stories.d.ts.map +0 -1
  197. package/dist/types/stories/general.modal.stories.d.ts.map +0 -1
  198. package/dist/types/stories/general.table.stories.d.ts.map +0 -1
  199. package/dist/types/stories/layout.stories.d.ts.map +0 -1
  200. package/dist/types/stories/markdown.stories.d.ts.map +0 -1
  201. package/dist/types/stories/menu-accordion.stories.d.ts.map +0 -1
  202. package/dist/types/stories/menu-simple.stories.d.ts.map +0 -1
  203. package/dist/types/stories/pagebuilder.form-builder.stories.d.ts.map +0 -1
  204. package/dist/types/stories/pagebuilder.form-engine.stories.d.ts.map +0 -1
  205. package/dist/types/stories/pagebuilder.form-extractor.stories.d.ts.map +0 -1
  206. package/dist/types/stories/pagebuilder.stories.d.ts.map +0 -1
  207. package/dist/types/stories/pagebuilder.usageguide.stories.d.ts.map +0 -1
  208. package/dist/types/stories/pageengine.stories.d.ts.map +0 -1
  209. package/dist/types/stories/recipe.stories.d.ts.map +0 -1
  210. package/dist/types/stories/seo.404.stories.d.ts.map +0 -1
  211. package/dist/types/stories/seo.googleanalytics.stories.d.ts.map +0 -1
  212. package/dist/types/stories/seo.googlesearch.stories.d.ts.map +0 -1
  213. package/dist/types/stories/seo.metadata.stories.d.ts.map +0 -1
  214. package/dist/types/stories/seo.sitemap.stories.d.ts.map +0 -1
  215. package/dist/types/stories/shoppingcart.ebay.item.stories.d.ts.map +0 -1
  216. package/dist/types/stories/shoppingcart.ebay.items.stories.d.ts.map +0 -1
  217. package/dist/types/stories/shoppingcart.stories.d.ts.map +0 -1
  218. package/dist/types/stories/sidepanel.stories.d.ts.map +0 -1
  219. package/dist/types/stories/socialcard.stories.d.ts.map +0 -1
  220. package/dist/types/stories/tiles.stories.d.ts.map +0 -1
  221. package/dist/types/stories/timeline.stories.d.ts.map +0 -1
  222. package/dist/components/{linkedin → cms}/pixelated.linkedin.js +0 -0
  223. package/dist/components/{linkedin → cms}/pixelated.linkedin1.js +0 -0
  224. package/dist/components/{linkedin → cms}/pixelated.linkedin2.js +0 -0
  225. package/dist/components/{yelp → cms}/yelp.js +0 -0
  226. package/dist/components/{sidepanel → general}/sidepanel.css +0 -0
  227. package/dist/components/{sidepanel → general}/sidepanel.js +0 -0
  228. package/dist/components/{buzzwordbingo → structured}/buzzwordbingo.css +0 -0
  229. package/dist/components/{buzzwordbingo → structured}/buzzwordbingo.js +1 -1
  230. package/dist/components/{markdown → structured}/markdown.css +0 -0
  231. package/dist/components/{markdown → structured}/markdown.js +0 -0
  232. package/dist/components/{recipe → structured}/recipe.css +0 -0
  233. package/dist/components/{recipe → structured}/recipe.js +0 -0
  234. package/dist/components/{socialcard → structured}/socialcard.css +0 -0
  235. package/dist/components/{socialcard → structured}/socialcard.js +1 -1
  236. /package/dist/types/components/{linkedin → cms}/pixelated.linkedin.d.ts +0 -0
  237. /package/dist/types/components/{linkedin → cms}/pixelated.linkedin1.d.ts +0 -0
  238. /package/dist/types/components/{linkedin → cms}/pixelated.linkedin2.d.ts +0 -0
  239. /package/dist/types/components/{yelp → cms}/yelp.d.ts +0 -0
  240. /package/dist/types/components/{sidepanel → general}/sidepanel.d.ts +0 -0
  241. /package/dist/types/components/{markdown → structured}/markdown.d.ts +0 -0
  242. /package/dist/types/components/{recipe → structured}/recipe.d.ts +0 -0
  243. /package/dist/types/stories/{callout.many.stories.d.ts → callout/callout.many.stories.d.ts} +0 -0
  244. /package/dist/types/stories/{shoppingcart.stories.d.ts → shoppingcart/shoppingcart.stories.d.ts} +0 -0
@@ -51,25 +51,26 @@ export function Callout({ variant = 'default', boxShape = "squircle", layout = "
51
51
  cloudinaryDomain,
52
52
  cloudinaryTransforms */ }) {
53
53
  const target = url && url.substring(0, 4).toLowerCase() === 'http' ? '_blank' : '_self';
54
- const body = _jsxs("div", { className: "calloutBody", children: [(title) ? _jsx(CalloutHeader, { title: title, url: url, target: target }) : null, (subtitle) ? _jsx("div", { className: "calloutSubtitle", children: _jsx("h3", { children: subtitle }) }) : null, content ? _jsx("div", { className: "calloutContent", children: _jsx(_Fragment, { children: content }) }) : null, url && buttonText
54
+ const friendlyTitle = title ? title.toLowerCase().replace(/\s+/g, '-') : undefined;
55
+ const body = _jsxs("div", { className: "callout-body", children: [(title) ? _jsx(CalloutHeader, { title: title, url: url, target: target }) : null, (subtitle) ? _jsx("div", { className: "callout-subtitle", children: _jsx("h3", { children: subtitle }) }) : null, content ? _jsx("div", { className: "callout-content", children: _jsx(_Fragment, { children: content }) }) : null, url && buttonText
55
56
  ? _jsx(CalloutButton, { title: buttonText, url: url, target: target })
56
57
  : url && title
57
58
  ? _jsx(CalloutButton, { title: title || "", url: url, target: target })
58
59
  : null] });
59
60
  const config = usePixelatedConfig();
60
61
  const image = (img) ?
61
- _jsx("div", { className: "calloutImage" + (imgShape ? " " + imgShape : ""), children: (url && !imgClick)
62
+ _jsx("div", { className: "callout-image" + (imgShape ? " " + imgShape : ""), children: (url && !imgClick)
62
63
  ? _jsx("a", { href: url, target: target, rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true }) })
63
64
  : (url && imgClick)
64
65
  ? _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", onClick: (event) => imgClick(event, url), aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true })
65
66
  /* <img src={img} title={title ?? imgAlt ?? undefined} alt={imgAlt ?? title ?? undefined} onClick={(event) => imgClick(event, url)} /> */
66
67
  : _jsx(SmartImage, { src: img, title: title ?? imgAlt ?? undefined, alt: imgAlt ?? title ?? "", aboveFold: aboveFold, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined, suppressHydrationWarning: true }) }) : null;
67
- return (_jsx("div", { className: "callout" +
68
+ return (_jsx("div", { id: friendlyTitle ? "callout-" + friendlyTitle : undefined, className: "callout" +
68
69
  (variant ? " " + variant : "") +
69
70
  ((variant === 'boxed' || variant === 'boxed grid') && boxShape ? " " + boxShape : "") +
70
71
  (layout && variant !== 'split' ? " " + layout : "") +
71
72
  (direction && layout !== 'vertical' ? " " + direction : "") +
72
- (variant && (variant === 'boxed grid' || variant === 'grid') && gridColumns ? ` calloutGrid-${gridColumns.left}-${gridColumns.right}` : ''), children: (direction === "right") ? _jsxs(_Fragment, { children: [body, image] }) : _jsxs(_Fragment, { children: [image, body] }) }));
73
+ (variant && (variant === 'boxed grid' || variant === 'grid') && gridColumns ? ` callout-grid-${gridColumns.left}-${gridColumns.right}` : ''), children: (direction === "right") ? _jsxs(_Fragment, { children: [body, image] }) : _jsxs(_Fragment, { children: [image, body] }) }));
73
74
  }
74
75
  /* ========== CALLOUT HEADER ========== */
75
76
  CalloutHeader.propTypes = {
@@ -78,9 +79,9 @@ CalloutHeader.propTypes = {
78
79
  target: PropTypes.string
79
80
  };
80
81
  export function CalloutHeader({ title, url, target }) {
81
- return (_jsx("div", { className: "calloutHeader", children: (url)
82
- ? _jsx("a", { href: url, target: target ? target : "", rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx("h2", { className: "calloutTitle", children: title }) })
83
- : _jsx("h2", { className: "calloutTitle", children: title }) }));
82
+ return (_jsx("div", { className: "callout-header", children: (url)
83
+ ? _jsx("a", { href: url, target: target ? target : "", rel: target == "_blank" ? "noopener noreferrer" : "", children: _jsx("h2", { className: "callout-title", children: title }) })
84
+ : _jsx("h2", { className: "callout-title", children: title }) }));
84
85
  }
85
86
  /* ========== CALLOUT BUTTON ========== */
86
87
  CalloutButton.propTypes = {
@@ -89,7 +90,7 @@ CalloutButton.propTypes = {
89
90
  target: PropTypes.string
90
91
  };
91
92
  export function CalloutButton({ title, url, target }) {
92
- return (_jsx("div", { className: "calloutButton", children: (url)
93
- ? _jsx("button", { type: "button", className: "calloutButton", children: _jsx("a", { href: url || "", target: target || "", rel: target == "_blank" ? "noopener noreferrer" : "", children: title }) })
93
+ return (_jsx("div", { className: "callout-button", children: (url)
94
+ ? _jsx("button", { type: "button", className: "callout-button", children: _jsx("a", { href: url || "", target: target || "", rel: target == "_blank" ? "noopener noreferrer" : "", children: title }) })
94
95
  : null }));
95
96
  }
@@ -22,7 +22,7 @@
22
22
  padding: 0;
23
23
  }
24
24
 
25
- .callout .calloutImage {
25
+ .callout .callout-image {
26
26
  overflow: hidden;
27
27
  width: 100%;
28
28
  background-color: white;
@@ -32,41 +32,41 @@
32
32
  /* aspect-ratio: 1/1; */
33
33
  }
34
34
 
35
- .callout.vertical .calloutImage {
35
+ .callout.vertical .callout-image {
36
36
  width: 70%;
37
37
  margin: 0 auto;
38
38
  aspect-ratio: 1;
39
39
  }
40
40
 
41
- .callout .calloutImage a,
42
- .callout .calloutImage img {
41
+ .callout .callout-image a,
42
+ .callout .callout-image img {
43
43
  width: 100%;
44
44
  height: 100%;
45
45
  object-fit: cover;
46
46
  object-position: top;
47
47
  }
48
48
 
49
- .callout .calloutImage.square {
49
+ .callout .callout-image.square {
50
50
  border-radius: 0%;
51
51
  }
52
52
 
53
- .callout .calloutImage.bevel {
53
+ .callout .callout-image.bevel {
54
54
  clip-path: rect(1% 98% 98% 1% round 5%);
55
55
  }
56
56
 
57
- .callout .calloutImage.squircle {
57
+ .callout .callout-image.squircle {
58
58
  clip-path: rect(1% 98% 98% 1% round 25%);
59
59
  }
60
60
 
61
- .callout .calloutImage.round {
61
+ .callout .callout-image.round {
62
62
  clip-path: rect(1% 98% 98% 1% round 100%);
63
63
  }
64
64
 
65
- .callout .calloutBody {
65
+ .callout .callout-body {
66
66
  flex-flow: column;
67
67
  }
68
68
 
69
- .callout .calloutBody > * {
69
+ .callout .callout-body > * {
70
70
  padding: 5px 20px;
71
71
  }
72
72
 
@@ -75,58 +75,58 @@
75
75
  float: unset !important; /* OVERRIDE pixelated.global.css */
76
76
  }
77
77
 
78
- .callout.left .calloutBody > * {
78
+ .callout.left .callout-body > * {
79
79
  text-align: left;
80
80
  margin-left: 0;
81
81
  margin-right: auto;
82
82
  }
83
83
 
84
- .callout.right .calloutBody > * {
84
+ .callout.right .callout-body > * {
85
85
  text-align: right;
86
86
  margin-right: 0;
87
87
  margin-left: auto;
88
88
  }
89
89
 
90
- .callout .calloutHeader {
90
+ .callout .callout-header {
91
91
  text-align: center;
92
92
  margin: 0 auto;
93
93
  }
94
94
 
95
- .callout .calloutHeader a {
95
+ .callout .callout-header a {
96
96
  --do-nothing: true;
97
97
  }
98
98
 
99
- .callout .calloutHeader h2 {
99
+ .callout .callout-header h2 {
100
100
  --do-nothing: true;
101
101
  }
102
102
 
103
- .callout .calloutTitle {
103
+ .callout .callout-title {
104
104
  text-align: center;
105
105
  }
106
106
 
107
- .callout .calloutSubtitle {
107
+ .callout .callout-subtitle {
108
108
  text-align: left;
109
109
  }
110
110
 
111
- .callout.vertical .calloutSubtitle {
111
+ .callout.vertical .callout-subtitle {
112
112
  text-align: center;
113
113
  margin: 0 auto;
114
114
  }
115
115
 
116
- .callout .calloutSubtitle h3 {
116
+ .callout .callout-subtitle h3 {
117
117
  padding: 0;
118
118
  --do-nothing: true;
119
119
  }
120
120
 
121
- .callout .calloutContent {
121
+ .callout .callout-content {
122
122
  --do-nothing: true;
123
123
  }
124
124
 
125
- .callout .calloutButton {
125
+ .callout .callout-button {
126
126
  --do-nothing: true;
127
127
  }
128
128
 
129
- .callout .calloutButton button {
129
+ .callout .callout-button button {
130
130
  display: inline-block;
131
131
  max-width: 250px;
132
132
  margin: 10px auto !important;
@@ -142,7 +142,7 @@
142
142
  /* cursor: pointer */
143
143
  }
144
144
 
145
- .callout .calloutButton a {
145
+ .callout .callout-button a {
146
146
  display: inline-block;
147
147
  }
148
148
 
@@ -174,19 +174,19 @@
174
174
  border-radius: 100%;
175
175
  }
176
176
 
177
- .callout.boxed .calloutImage {
177
+ .callout.boxed .callout-image {
178
178
  clip-path: none;
179
179
  aspect-ratio: 1/1;
180
180
  background-color: white;
181
181
  width: 100% !important;
182
182
  }
183
183
 
184
- .callout.boxed .calloutBody {
184
+ .callout.boxed .callout-body {
185
185
  --do-nothing: true;
186
186
  padding: 5px 20px;
187
187
  }
188
188
 
189
- .callout.boxed.vertical .calloutBody {
189
+ .callout.boxed.vertical .callout-body {
190
190
  --do-nothing: true;
191
191
  padding: 20px 0px;
192
192
  }
@@ -199,11 +199,11 @@
199
199
  padding: 0px;
200
200
  }
201
201
 
202
- .callout.full.vertical .calloutImage {
202
+ .callout.full.vertical .callout-image {
203
203
  width: 100%;
204
204
  }
205
205
 
206
- .callout.full .calloutBody > * {
206
+ .callout.full .callout-body > * {
207
207
  padding: 5px 5px;
208
208
  }
209
209
 
@@ -218,9 +218,9 @@
218
218
 
219
219
  @for $i from 1 through 11 {
220
220
  @for $k from 1 through 11 {
221
- .calloutGrid-#{$i}-#{$k} { grid-template-columns: #{$i}fr #{$k}fr; }
221
+ .callout-grid-#{$i}-#{$k} { grid-template-columns: #{$i}fr #{$k}fr; }
222
222
  @media screen and (max-width: 480px) {
223
- .calloutGrid-#{$i}-#{$k} { grid-template-columns: 1fr; }
223
+ .callout-grid-#{$i}-#{$k} { grid-template-columns: 1fr; }
224
224
  }
225
225
  }
226
226
  }
@@ -242,15 +242,15 @@
242
242
 
243
243
  }
244
244
 
245
- .callout.grid .calloutImage img {
246
- /* duplicate of .callout .calloutImage img */
245
+ .callout.grid .callout-image img {
246
+ /* duplicate of .callout .callout-image img */
247
247
  width: 100%;
248
248
  height: 100%;
249
249
  object-fit: cover;
250
250
  object-position: top;
251
251
  }
252
252
 
253
- .callout.grid .calloutBody {
253
+ .callout.grid .callout-body {
254
254
  grid-auto-rows: min-content;
255
255
  }
256
256
 
@@ -264,12 +264,12 @@
264
264
  overflow: hidden;
265
265
  }
266
266
 
267
- .callout.overlay .calloutImage {
267
+ .callout.overlay .callout-image {
268
268
  width: 100%;
269
269
  height: 100%;
270
270
  }
271
271
 
272
- .callout.overlay .calloutBody {
272
+ .callout.overlay .callout-body {
273
273
  position: absolute;
274
274
  top: 50%;
275
275
  left: 50%;
@@ -287,12 +287,12 @@
287
287
  padding: 0px;
288
288
  }
289
289
 
290
- .callout.split .calloutImage,
291
- .callout.split .calloutBody {
290
+ .callout.split .callout-image,
291
+ .callout.split .callout-body {
292
292
  flex: 1;
293
293
  }
294
294
 
295
- .callout.split .calloutBody > * {
295
+ .callout.split .callout-body > * {
296
296
  padding: 5px 20px;
297
297
  }
298
298
 
@@ -312,20 +312,20 @@
312
312
  .callout.grid {
313
313
  grid-template-columns: 1fr;
314
314
  }
315
- .callout .calloutImage {
315
+ .callout .callout-image {
316
316
  width: 70%;
317
317
  margin: 0 auto;
318
318
  }
319
- .callout.full .calloutImage,
320
- .callout.split .calloutImage {
319
+ .callout.full .callout-image,
320
+ .callout.split .callout-image {
321
321
  width: 100%;
322
322
  margin: 0 auto;
323
323
  }
324
- .callout .calloutBody > * {
324
+ .callout .callout-body > * {
325
325
  margin: 0 auto !important;
326
326
  text-align: center !important;
327
327
  }
328
- .callout .calloutContent {
328
+ .callout .callout-content {
329
329
  text-align: left !important;
330
330
  }
331
331
  }
@@ -2,26 +2,26 @@
2
2
  =============== CAROUSEL ===============
3
3
  ======================================== */
4
4
 
5
- .carouselContainer {
5
+ .carousel-container {
6
6
  height: 600px;
7
7
  background: #FFF;
8
8
  border: 1px solid #AAA;
9
9
  }
10
- .carouselCardsContainer {
10
+ .carousel-cards-container {
11
11
  height: 550px;
12
12
  position: relative;
13
13
  overflow: hidden;
14
14
  }
15
15
  @media screen and (max-width: 480px) {
16
- .carouselContainer {
16
+ .carousel-container {
17
17
  height: 350px;
18
18
  }
19
- .carouselCardsContainer {
19
+ .carousel-cards-container {
20
20
  height: 300px;
21
21
  }
22
22
  }
23
23
 
24
- #carouselCardsContainer {
24
+ #carousel-cards-container {
25
25
  --do-nothing: true;
26
26
  }
27
27
 
@@ -36,7 +36,7 @@
36
36
  user-select: none;
37
37
  } */
38
38
 
39
- .carouselCardWrapper {
39
+ .carousel-card-wrapper {
40
40
  display: inline-block;
41
41
  position: absolute;
42
42
  top: 0;
@@ -49,19 +49,19 @@
49
49
  overflow: hidden;
50
50
  }
51
51
 
52
- .carouselCard {
52
+ .carousel-card {
53
53
  width: 100%;
54
54
  margin: 0 auto;
55
55
 
56
56
  }
57
57
 
58
- /* .carouselCard {
58
+ /* .carousel-card {
59
59
  width: 100%;
60
60
  height: 100%;
61
61
  margin: 0 auto;
62
62
  } */
63
63
 
64
- .carouselCardHeader {
64
+ .carousel-card-header {
65
65
  font-size: 1.5em;
66
66
  font-weight: bold;
67
67
  text-align: center;
@@ -69,7 +69,7 @@
69
69
  width: 100%;
70
70
  }
71
71
 
72
- .carouselCardSubHeader {
72
+ .carousel-card-subheader {
73
73
  font-size: 1.1em;
74
74
  font-weight: bold;
75
75
  text-align: center;
@@ -77,12 +77,12 @@
77
77
  width: 100%;
78
78
  }
79
79
 
80
- .carouselCardBody {
80
+ .carousel-card-body {
81
81
  margin: 5px auto;
82
82
  width: 90%;
83
83
  }
84
84
 
85
- .carouselCardImage {
85
+ .carousel-card-image {
86
86
  margin: 0 auto;
87
87
  max-width: 100%;
88
88
  max-height: 100%;
@@ -93,7 +93,7 @@
93
93
  overflow: clip;
94
94
  }
95
95
 
96
- .carouselCardImage {
96
+ .carousel-card-image {
97
97
  img {
98
98
  /* max-height: auto;
99
99
  max-width: 100%;
@@ -131,22 +131,24 @@
131
131
 
132
132
  }
133
133
 
134
- .carouselButtons {
134
+ .carousel-buttons {
135
135
  width: 100%;
136
136
  height: 50px;
137
137
  text-align: center;
138
138
  }
139
139
 
140
- .carouselButton {
140
+ .carousel-button {
141
141
  font-size: 24px;
142
142
  z-index: 900;
143
143
  padding: 5px;
144
144
  display: inline-block;
145
+ border: none;
146
+ background-color: transparent;
145
147
  }
146
148
 
147
- .carouselArrow,
148
- .carouselArrowLeft,
149
- .carouselArrowRight {
149
+ .carousel-arrow,
150
+ .carousel-arrow-left,
151
+ .carousel-arrow-right {
150
152
  position: absolute;
151
153
  font-size: 24px;
152
154
  top: 50%;
@@ -155,15 +157,15 @@
155
157
  padding: 5px;
156
158
  }
157
159
 
158
- .carouselArrowLeft {
160
+ .carousel-arrow-left {
159
161
  left: 0;
160
162
  }
161
163
 
162
- .carouselArrowRight {
164
+ .carousel-arrow-right {
163
165
  right: 0;
164
166
  }
165
167
 
166
- .carouselDetails {
168
+ .carousel-details {
167
169
  position: absolute;
168
170
  bottom: 20px;
169
171
  z-index: 1000;
@@ -172,7 +174,7 @@
172
174
  text-align: center;
173
175
  }
174
176
 
175
- .carouselLoading {
177
+ .carousel-loading {
176
178
  column-span: all;
177
179
  text-align: center;
178
180
  }
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
3
3
  /*
4
4
  if (props.draggable && props.draggable === true) {
5
5
  if (debug) console.log('CarouselSimple: Dragging enabled');
6
- DragHandler(cardIndex, 'carouselCardWrapper', nextCard, previousCard);
6
+ DragHandler(cardIndex, 'carousel-card-wrapper', nextCard, previousCard);
7
7
  } else {
8
8
  if (debug) console.log('CarouselSimple: Dragging disabled');
9
9
  }
@@ -2,10 +2,10 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect, useRef } from 'react';
4
4
  import PropTypes /* , { InferProps } */ from 'prop-types';
5
- import { DragHandler } from './carousel.drag';
6
- import './carousel.css';
7
5
  import { SmartImage } from '../cms/cloudinary.image';
8
6
  import { usePixelatedConfig } from '../config/config.client';
7
+ import { DragHandler } from './carousel.drag';
8
+ import './carousel.css';
9
9
  function capitalize(str) {
10
10
  return str && String(str[0]).toUpperCase() + String(str).slice(1);
11
11
  }
@@ -64,7 +64,7 @@ export function Carousel(props) {
64
64
  console.log('CarouselSimple: Dragging enabled');
65
65
  DragHandler({
66
66
  activeIndex: cardIndex,
67
- targetDiv: 'carouselCardWrapper',
67
+ targetDiv: 'carousel-card-wrapper',
68
68
  nextImage: nextCard,
69
69
  previousImage: previousCard
70
70
  });
@@ -74,10 +74,10 @@ export function Carousel(props) {
74
74
  console.log('CarouselSimple: Dragging disabled');
75
75
  }
76
76
  if (props.cards && props.cards.length > 0) {
77
- return (_jsxs("div", { className: "carouselContainer", children: [_jsx("div", { className: "carouselCardsContainer", children: props.cards.map((card, i) => (_jsx(CarouselCard, { index: i, cardIndex: cardIndex, cardLength: props.cards.length, link: card.link, linkTarget: card.linkTarget || '_self', image: card.image, imageAlt: card.imageAlt, imgFit: props.imgFit ? props.imgFit : 'fill', headerText: card.headerText, subHeaderText: card.subHeaderText, bodyText: card.bodyText }, i))) }), _jsxs("div", { className: "carouselButtons", children: [_jsx(CarouselButton, { clickFunction: previousCard, glyph: '\u25C0' }), _jsx(CarouselButton, { clickFunction: stopTimer, glyph: '\u23F8' }), _jsx(CarouselButton, { clickFunction: nextCard, glyph: '\u25B6' })] })] }));
77
+ return (_jsxs("div", { className: "carousel-container", children: [_jsx("div", { className: "carousel-cards-container", children: props.cards.map((card, i) => (_jsx(CarouselCard, { index: i, cardIndex: cardIndex, cardLength: props.cards.length, link: card.link, linkTarget: card.linkTarget || '_self', image: card.image, imageAlt: card.imageAlt, imgFit: props.imgFit ? props.imgFit : 'fill', headerText: card.headerText, subHeaderText: card.subHeaderText, bodyText: card.bodyText }, i))) }), _jsxs("div", { className: "carousel-buttons", children: [_jsx(CarouselButton, { clickFunction: previousCard, glyph: '\u25C0' }), _jsx(CarouselButton, { clickFunction: stopTimer, glyph: '\u23F8' }), _jsx(CarouselButton, { clickFunction: nextCard, glyph: '\u25B6' })] })] }));
78
78
  }
79
79
  else {
80
- return (_jsx("div", { className: 'section-container', children: _jsx("div", { className: "carouselContainer", children: _jsx(CarouselLoading, {}) }) }));
80
+ return (_jsx("div", { className: 'section-container', children: _jsx("div", { className: "carousel-container", children: _jsx(CarouselLoading, {}) }) }));
81
81
  }
82
82
  }
83
83
  /* ========== CAROUSEL CARD ========== */
@@ -98,8 +98,8 @@ function CarouselCard(props) {
98
98
  }
99
99
  const imgFit = props.imgFit ? "img" + capitalize(props.imgFit) : 'imgFill';
100
100
  const config = usePixelatedConfig();
101
- const cardBody = (_jsxs("div", { draggable: 'false', children: [(props.link) ? _jsx("div", { draggable: 'false', className: "carouselCardLink" }) : null, (props.image) ? _jsx("div", { draggable: 'false', className: "carouselCardImage", children: _jsx(SmartImage, { draggable: false, src: props.image, title: props?.imageAlt, alt: props?.imageAlt || "", className: imgFit, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined }) }) : null, (props.headerText) ? _jsx("div", { draggable: 'false', className: "carouselCardHeader", children: _jsx("h3", { draggable: 'false', children: props.headerText }) }) : null, (props.subHeaderText) ? _jsx("div", { draggable: 'false', className: "carouselCardSubHeader", children: _jsx("h4", { draggable: 'false', children: props.subHeaderText }) }) : null, (props.bodyText) ? _jsx("div", { draggable: 'false', className: "carouselCardBody", children: props.bodyText }) : null] }));
102
- return (_jsx("div", { draggable: 'true', id: 'c-' + props.index, className: "carouselCardWrapper", style: styles, children: _jsx("div", { draggable: 'false', className: "carouselCard", children: (props.link) ? _jsx("a", { draggable: 'false', href: props.link, target: props.linkTarget, children: cardBody }) : cardBody }) }));
101
+ const cardBody = (_jsxs("div", { draggable: 'false', children: [(props.link) ? _jsx("div", { draggable: 'false', className: "carousel-card-link" }) : null, (props.image) ? _jsx("div", { draggable: 'false', className: "carousel-card-image", children: _jsx(SmartImage, { draggable: false, src: props.image, title: props?.imageAlt, alt: props?.imageAlt || "", className: imgFit, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined }) }) : null, (props.headerText) ? _jsx("div", { draggable: 'false', className: "carousel-card-header", children: _jsx("h3", { draggable: 'false', children: props.headerText }) }) : null, (props.subHeaderText) ? _jsx("div", { draggable: 'false', className: "carousel-card-subheader", children: _jsx("h4", { draggable: 'false', children: props.subHeaderText }) }) : null, (props.bodyText) ? _jsx("div", { draggable: 'false', className: "carousel-card-body", children: props.bodyText }) : null] }));
102
+ return (_jsx("div", { draggable: 'true', id: 'c-' + props.index, className: "carousel-card-wrapper", style: styles, children: _jsx("div", { draggable: 'false', className: "carousel-card", children: (props.link) ? _jsx("a", { draggable: 'false', href: props.link, target: props.linkTarget, children: cardBody }) : cardBody }) }));
103
103
  }
104
104
  // REMOVED PROPTYPE AS TYPESCRIPT TYPE COVERS THIS
105
105
  /* ========== CAROUSEL ARROW ========== */
@@ -108,7 +108,7 @@ CarouselButton.propTypes = {
108
108
  glyph: PropTypes.string.isRequired
109
109
  };
110
110
  function CarouselButton(props) {
111
- return (_jsx("div", { className: `carouselButton textOutline`, onClick: props.clickFunction, children: props.glyph }));
111
+ return (_jsx("button", { className: `carousel-button text-outline`, onClick: props.clickFunction, children: props.glyph }));
112
112
  }
113
113
  CarouselArrow.propTypes = {
114
114
  direction: PropTypes.string.isRequired,
@@ -116,9 +116,9 @@ CarouselArrow.propTypes = {
116
116
  glyph: PropTypes.string.isRequired
117
117
  };
118
118
  function CarouselArrow(props) {
119
- return (_jsx("div", { className: `carouselButton${capitalize(props.direction)} textOutline`, onClick: props.clickFunction, children: props.glyph }));
119
+ return (_jsx("button", { className: `carousel-button${capitalize(props.direction)} text-outline`, onClick: props.clickFunction, children: props.glyph }));
120
120
  }
121
121
  /* ========== CAROUSEL LOADING ========== */
122
122
  function CarouselLoading() {
123
- return (_jsx("div", { className: "carouselLoading horizontal-centered vertical-centered centered", children: _jsx("div", { children: "Loading..." }) }));
123
+ return (_jsx("div", { className: "carousel-loading horizontal-centered vertical-centered centered", children: _jsx("div", { children: "Loading..." }) }));
124
124
  }
@@ -1,8 +1,8 @@
1
- .tilesContainer {
1
+ .tiles-container {
2
2
  --do-nothing: true;
3
3
  }
4
4
 
5
- .tileContainer {
5
+ .tile-container {
6
6
  --do-nothing: true;
7
7
  }
8
8
 
@@ -10,7 +10,7 @@
10
10
  --do-nothing: true;
11
11
  }
12
12
 
13
- .tileImage {
13
+ .tile-image {
14
14
  position: relative;
15
15
  aspect-ratio: 1;
16
16
  border: 2px solid #CCC;
@@ -19,7 +19,7 @@
19
19
  margin: 10px;
20
20
  }
21
21
 
22
- .tileImage img {
22
+ .tile-image img {
23
23
  width: 100%;
24
24
  height: 100% !important;
25
25
  position: relative;
@@ -28,7 +28,7 @@
28
28
  object-fit: cover;
29
29
  }
30
30
 
31
- .tileImageOverlay {
31
+ .tile-image-overlay {
32
32
  visibility: hidden;
33
33
  position: absolute;
34
34
  width: 0%;
@@ -44,12 +44,12 @@
44
44
  }
45
45
  }
46
46
 
47
- .tileImage:hover .tileImageOverlay {
47
+ .tile-image:hover .tile-image-overlay {
48
48
  visibility: visible;
49
49
  width: 100% !important;
50
50
  }
51
51
 
52
- .tileImageOverlayText {
52
+ .tile-image-overlay-text {
53
53
  position: absolute;
54
54
  padding: 20px;
55
55
  left: 0;
@@ -62,16 +62,16 @@
62
62
  transition-delay: 0s;
63
63
  }
64
64
 
65
- .tileImage:hover .tileImageOverlayText {
65
+ .tile-image:hover .tile-image-overlay-text {
66
66
  visibility: visible;
67
67
  transition-delay: 0.25s;
68
68
  }
69
69
 
70
- .tileImageOverlayTitle{
70
+ .tile-image-overlay-title{
71
71
  margin-bottom: 10px;
72
72
  }
73
73
 
74
- .tileImageOverlayBody{
74
+ .tile-image-overlay-body{
75
75
  font-size: 16px;
76
76
  font-weight: initial;
77
77
  }
@@ -4,8 +4,8 @@ import PropTypes from "prop-types";
4
4
  import { Loading } from "../general/loading";
5
5
  import { SmartImage } from "../cms/cloudinary.image";
6
6
  import { usePixelatedConfig } from '../config/config.client';
7
- import "./tiles.css";
8
7
  import "../../css/pixelated.grid.scss";
8
+ import "./tiles.css";
9
9
  Tiles.propTypes = {
10
10
  cards: PropTypes.object.isRequired,
11
11
  rowCount: PropTypes.number,
@@ -13,7 +13,7 @@ Tiles.propTypes = {
13
13
  export function Tiles(props) {
14
14
  const rowCount = props.rowCount ?? 2;
15
15
  if (props.cards && props.cards.length > 0) {
16
- return (_jsx("div", { className: "tilesContainer", children: _jsx("div", { className: `tileContainer row-${rowCount}col`, children: props.cards.map((card, i) => (_jsx("div", { className: "gridItem", children: _jsx(Tile, { index: i, cardLength: props.cards.length, link: card.link, image: card.image, imageAlt: card.imageAlt, bodyText: card.bodyText }) }, i))) }) }));
16
+ return (_jsx("div", { className: "tiles-container", children: _jsx("div", { className: `tile-container row-${rowCount}col`, children: props.cards.map((card, i) => (_jsx("div", { className: "gridItem", children: _jsx(Tile, { index: i, cardLength: props.cards.length, link: card.link, image: card.image, imageAlt: card.imageAlt, bodyText: card.bodyText }) }, i))) }) }));
17
17
  }
18
18
  else {
19
19
  return (_jsx(Loading, {}));
@@ -30,7 +30,7 @@ Tile.propTypes = {
30
30
  };
31
31
  function Tile(props) {
32
32
  const config = usePixelatedConfig();
33
- const tileBody = _jsxs("div", { className: "tileImage", children: [_jsx(SmartImage, { src: props.image, title: props?.imageAlt ?? undefined, alt: props?.imageAlt ?? "", cloudinaryEnv: config?.cloudinary?.product_env ?? undefined }), _jsx("div", { className: "tileImageOverlay", children: _jsxs("div", { className: "tileImageOverlayText", children: [_jsx("div", { className: "tileImageOverlayTitle", children: props.imageAlt }), _jsx("div", { className: "tileImageOverlayBody", children: props.bodyText })] }) })] });
33
+ const tileBody = _jsxs("div", { className: "tile-image", children: [_jsx(SmartImage, { src: props.image, title: props?.imageAlt ?? undefined, alt: props?.imageAlt ?? "", cloudinaryEnv: config?.cloudinary?.product_env ?? undefined }), _jsx("div", { className: "tile-image-overlay", children: _jsxs("div", { className: "tile-image-overlay-text", children: [_jsx("div", { className: "tile-image-overlay-title", children: props.imageAlt }), _jsx("div", { className: "tile-image-overlay-body", children: props.bodyText })] }) })] });
34
34
  return (_jsx("div", { className: "tile", id: 'tile-' + props.index, children: props.link ?
35
35
  _jsx("a", { href: props.link, className: "tileLink", children: tileBody })
36
36
  :