@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
@@ -9,9 +9,9 @@ import { AddToShoppingCart } from "../shoppingcart/shoppingcart.functions";
9
9
  import { AddToCartButton, /* GoToCartButton */ ViewItemDetails } from "../shoppingcart/shoppingcart.components";
10
10
  import { getCloudinaryRemoteFetchURL as getImg } from "./cloudinary";
11
11
  // import { Loading, ToggleLoading } from "../general/pixelated.loading";
12
+ import { SmartImage } from "./cloudinary.image";
12
13
  import "../../css/pixelated.grid.scss";
13
14
  import "./contentful.items.css";
14
- import { SmartImage } from "./cloudinary.image";
15
15
  const debug = false;
16
16
  let ContentfulApiProps = {
17
17
  proxyURL: 'https://proxy.pixelated.tech/prod/proxy?url=',
@@ -98,12 +98,12 @@ export function ContentfulItems(props) {
98
98
  // ToggleLoading(false);
99
99
  }, []);
100
100
  if (items.length > 0) {
101
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: "contentfulItemsHeader", children: items.length === 1
101
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "contentful-items-header", children: items.length === 1
102
102
  ? _jsx(ContentfulItemHeader, { title: `${items.length} Featured Item` })
103
- : _jsx(ContentfulItemHeader, { title: `${items.length} Featured Items` }) }), _jsx("div", { id: "contentfulItems", className: "contentfulItems", children: paintItems({ items: items, assets: assets, cloudinaryProductEnv: props.cloudinaryProductEnv }) })] }));
103
+ : _jsx(ContentfulItemHeader, { title: `${items.length} Featured Items` }) }), _jsx("div", { id: "contentful-items", className: "contentful-items", children: paintItems({ items: items, assets: assets, cloudinaryProductEnv: props.cloudinaryProductEnv }) })] }));
104
104
  }
105
105
  else {
106
- return (_jsx("div", { id: "contentfulItems", className: "contentfulItems" }));
106
+ return (_jsx("div", { id: "contentful-items", className: "contentful-items" }));
107
107
  }
108
108
  }
109
109
  /* ========== CONTENTFUL LIST ITEM ========== */
@@ -129,13 +129,13 @@ export function ContentfulListItem(props) {
129
129
  const config = usePixelatedConfig();
130
130
  const imgComponent = _jsx(SmartImage, { src: itemImage, title: thisItem.fields.title, alt: thisItem.fields.title, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined });
131
131
  // <img src={itemImage} title={thisItem.fields.title} alt={thisItem.fields.title} />
132
- return (_jsxs("div", { className: "contentfulItem row-12col", children: [_jsx("div", { className: "contentfulItemPhoto grid-s1-e5", children: itemURL
132
+ return (_jsxs("div", { className: "contentful-item row-12col", children: [_jsx("div", { className: "contentful-item-photo grid-s1-e5", children: itemURL
133
133
  ? _jsx("a", { href: itemURL, target: itemURLTarget, rel: "noopener noreferrer", children: imgComponent })
134
- : (imgComponent) }), _jsxs("div", { className: "contentfulItemBody grid-s5-e13", children: [_jsx("div", { className: "contentfulItemHeader", children: itemURL
134
+ : (imgComponent) }), _jsxs("div", { className: "contentful-item-body grid-s5-e13", children: [_jsx("div", { className: "contentful-item-header", children: itemURL
135
135
  ? _jsx(ContentfulItemHeader, { url: itemURL, target: itemURLTarget, title: thisItem.fields.title })
136
- : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsxs("div", { className: "contentfulItemDetails grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] })] }), _jsx("div", { className: "contentfulItemPrice", children: itemURL
136
+ : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsxs("div", { className: "contentful-item-details grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] })] }), _jsx("div", { className: "contentful-item-price", children: itemURL
137
137
  ? _jsxs("a", { href: itemURL, target: itemURLTarget, rel: "noreferrer", children: ["$", thisItem.fields.price, " USD"] })
138
- : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsxs("div", { className: "contentfulItemAddToCart", children: [_jsx(ViewItemDetails, { href: "/store", itemID: thisItem.sys.id }), _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id })] })] })] }));
138
+ : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsxs("div", { className: "contentful-itemAddToCart", children: [_jsx(ViewItemDetails, { href: "/store", itemID: thisItem.sys.id }), _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id })] })] })] }));
139
139
  }
140
140
  /* ========== CONTENTFUL ITEM HEADER ========== */
141
141
  ContentfulItemHeader.propTypes = {
@@ -231,13 +231,13 @@ export function ContentfulItemDetail(props) {
231
231
  itemCost: thisItem.fields.price,
232
232
  };
233
233
  shoppingCartItem.itemURL = itemURL;
234
- return (_jsx(_Fragment, { children: _jsxs("div", { className: "contentfulItem row-12col", children: [_jsx("div", { className: "contentfulItemHeader grid-s1-e13", children: itemURL
234
+ return (_jsx(_Fragment, { children: _jsxs("div", { className: "contentful-item row-12col", children: [_jsx("div", { className: "contentful-item-header grid-s1-e13", children: itemURL
235
235
  ? _jsx(ContentfulItemHeader, { url: itemURL, title: thisItem.fields.title })
236
- : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsx("br", {}), _jsx("div", { className: "contentfulItemPhotoCarousel grid-s1-e7", children: _jsx(Carousel, { cards: cards, draggable: true, imgFit: "contain" }) }), _jsxs("div", { className: "grid-s7-e13", children: [_jsx("div", { className: "contentfulItemDetails grid12", children: _jsx("div", { dangerouslySetInnerHTML: { __html: thisItem.fields.description.replace(/(<br\s*\/?>\s*){2,}/gi, '') } }) }), _jsx("br", {}), _jsxs("div", { className: "contentfulItemDetails grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] }), _jsx("br", {})] }), _jsx("div", { className: "contentfulItemPrice", children: itemURL
236
+ : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsx("br", {}), _jsx("div", { className: "contentful-item-photo-carousel grid-s1-e7", children: _jsx(Carousel, { cards: cards, draggable: true, imgFit: "contain" }) }), _jsxs("div", { className: "grid-s7-e13", children: [_jsx("div", { className: "contentful-item-details grid12", children: _jsx("div", { dangerouslySetInnerHTML: { __html: thisItem.fields.description.replace(/(<br\s*\/?>\s*){2,}/gi, '') } }) }), _jsx("br", {}), _jsxs("div", { className: "contentful-item-details grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] }), _jsx("br", {})] }), _jsx("div", { className: "contentful-item-price", children: itemURL
237
237
  ? _jsxs("a", { href: itemURL, target: itemURLTarget, rel: "noreferrer", children: ["$", thisItem.fields.price, " USD"] })
238
- : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsx("div", { className: "contentfulItemAddToCart", children: _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id }) })] })] }) }));
238
+ : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsx("div", { className: "contentful-itemAddToCart", children: _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id }) })] })] }) }));
239
239
  }
240
240
  else {
241
- return (_jsx(_Fragment, { children: _jsx("div", { id: "contentfulItems", className: "contentfulItems", children: _jsx("div", { className: "centered", children: "Loading..." }) }) }));
241
+ return (_jsx(_Fragment, { children: _jsx("div", { id: "contentful-items", className: "contentful-items", children: _jsx("div", { className: "centered", children: "Loading..." }) }) }));
242
242
  }
243
243
  }
@@ -2,29 +2,29 @@
2
2
  ========= CONTENTFUL ITEMS =========
3
3
  ======================================== */
4
4
 
5
- .contentfulItems {
5
+ .contentful-items {
6
6
  text-align: center;
7
7
  }
8
8
 
9
9
  @media screen and (max-width: 480px) {
10
- .contentfulItems {
10
+ .contentful-items {
11
11
  padding: 20px;
12
12
  }
13
13
  }
14
14
 
15
- .contentfulItemsHeader {
15
+ .contentful-items-header {
16
16
  font-size: 1.25em;
17
17
  font-weight: bold;
18
18
  text-align: center;
19
19
  }
20
20
 
21
- #contentfulItemsFilter {
21
+ #contentful-items-filter {
22
22
  font-size: 0.8em;
23
23
  margin: 20px auto;
24
24
  }
25
25
 
26
26
  @media screen and (max-width: 480px) {
27
- #contentfulItemsFilter {
27
+ #contentful-items-filter {
28
28
  text-align: left;
29
29
  }
30
30
  .filterInput {
@@ -32,90 +32,90 @@
32
32
  }
33
33
  }
34
34
 
35
- .contentfulItem {
35
+ .contentful-item {
36
36
  border: 1px solid #DDD;
37
37
  text-align: left;
38
38
  padding: 20px 5px !important;
39
39
  }
40
40
 
41
41
  @media screen and (max-width: 480px) {
42
- .contentfulItem {
42
+ .contentful-item {
43
43
  text-align: center;
44
44
  }
45
45
  }
46
46
 
47
- .contentfulItemBody {
47
+ .contentful-item-body {
48
48
  grid-auto-rows: min-content;
49
49
  margin: 10px 0;
50
50
  }
51
51
 
52
- .contentfulItemHeader {
52
+ .contentful-item-header {
53
53
  margin: 0 auto;
54
54
  }
55
55
 
56
- .contentfulItemHeader h2 {
56
+ .contentful-item-header h2 {
57
57
  font-size: 1.25em;
58
58
  font-weight: bold;
59
59
  }
60
60
 
61
61
  /* ===== PHOTO CAROUSEL ON CONTENTFUL ITEM DETAIL PAGE ===== */
62
- .contentfulItemPhotoCarousel {
62
+ .contentful-item-photo-carousel {
63
63
  width: 100%;
64
64
  height: 400px;
65
65
  }
66
66
 
67
- .contentfulItemPhotoCarousel {
67
+ .contentful-item-photo-carousel {
68
68
 
69
- .carouselContainer {
69
+ .carousel-container {
70
70
  background: none;
71
71
  border: none;
72
72
  height: 400px;
73
73
  }
74
74
 
75
- .carouselCardsContainer {
75
+ .carousel-cards-container {
76
76
  height: 100%;
77
77
  }
78
78
 
79
- .carouselButtons,
80
- .carouselButton {
79
+ .carousel-buttons,
80
+ .carousel-button {
81
81
  display: inline-block;
82
82
  }
83
83
 
84
84
  }
85
85
 
86
86
  @media screen and (max-width: 480px) {
87
- .contentfulItemPhotoCarousel {
87
+ .contentful-item-photo-carousel {
88
88
  height: 350px;
89
89
  }
90
- .contentfulItemPhotoCarousel .carouselContainer {
90
+ .contentful-item-photo-carousel .carousel-container {
91
91
  height: 300px;
92
92
  }
93
93
  }
94
94
 
95
- .contentfulItemPhoto {
95
+ .contentful-item-photo {
96
96
  overflow: hidden;
97
97
  }
98
98
 
99
- .contentfulItemPhoto img {
99
+ .contentful-item-photo img {
100
100
  padding: 10px 0;
101
101
  width: 100%;
102
102
  }
103
103
 
104
- .contentfulItems .contentfulItemDetails {
104
+ .contentful-items .contentful-item-details {
105
105
  display: none;
106
106
  }
107
107
 
108
- .contentfulItemDetails {
108
+ .contentful-item-details {
109
109
  padding-bottom: 10px;
110
110
  }
111
111
 
112
112
  @media screen and (max-width: 480px) {
113
- .contentfulItemDetails {
113
+ .contentful-item-details {
114
114
  text-align: left;
115
115
  }
116
116
  }
117
117
 
118
- .contentfulItemPrice{
118
+ .contentful-item-price {
119
119
  font-size: 1.5em;
120
120
  font-weight: bold;
121
121
  /* background-image: url(/images/pix/pix-bg-sm-bw.gif); */
@@ -1,7 +1,89 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import PropTypes from 'prop-types';
4
+ // import { type GravatarProfile } from './gravatar.functions';
3
5
  import { SmartImage } from './cloudinary.image';
4
6
  import { usePixelatedConfig } from '../config/config.client';
7
+ /* export type GravatarCardProps = {
8
+ // Gravatar profile data (fetched server-side)
9
+ profile?: GravatarProfile | null;
10
+ // Field overrides (if provided, these override profile data)
11
+ displayName?: string;
12
+ thumbnailUrl?: string;
13
+ aboutMe?: string;
14
+ currentLocation?: string;
15
+ job_title?: string;
16
+ company?: string;
17
+ pronouns?: string;
18
+ profileUrl?: string;
19
+ // Additional custom fields not in Gravatar
20
+ customRole?: string; // Alternative to job_title
21
+ socialLinks?: {
22
+ github?: string;
23
+ linkedin?: string;
24
+ twitter?: string;
25
+ instagram?: string;
26
+ website?: string;
27
+ };
28
+ // Layout options
29
+ layout?: 'horizontal' | 'vertical';
30
+ direction?: 'left' | 'right'; // photo position (for horizontal layout)
31
+ avatarSize?: number; // in pixels
32
+ compact?: boolean; // compact variant
33
+ }; */
34
+ GravatarCard.propTypes = {
35
+ // Gravatar profile data (fetched server-side)
36
+ profile: PropTypes.shape({
37
+ hash: PropTypes.string,
38
+ requestHash: PropTypes.string,
39
+ profileUrl: PropTypes.string,
40
+ preferredUsername: PropTypes.string,
41
+ thumbnailUrl: PropTypes.string,
42
+ displayName: PropTypes.string,
43
+ pronouns: PropTypes.string,
44
+ aboutMe: PropTypes.string,
45
+ currentLocation: PropTypes.string,
46
+ job_title: PropTypes.string,
47
+ company: PropTypes.string,
48
+ accounts: PropTypes.arrayOf(PropTypes.shape({
49
+ domain: PropTypes.string,
50
+ display: PropTypes.string,
51
+ url: PropTypes.string,
52
+ iconUrl: PropTypes.string,
53
+ username: PropTypes.string,
54
+ verified: PropTypes.bool,
55
+ name: PropTypes.string,
56
+ shortname: PropTypes.string,
57
+ })),
58
+ emails: PropTypes.arrayOf(PropTypes.shape({
59
+ primary: PropTypes.string,
60
+ value: PropTypes.string,
61
+ })),
62
+ }),
63
+ // Field overrides (if provided, these override profile data)
64
+ displayName: PropTypes.string,
65
+ thumbnailUrl: PropTypes.string,
66
+ aboutMe: PropTypes.string,
67
+ currentLocation: PropTypes.string,
68
+ job_title: PropTypes.string,
69
+ company: PropTypes.string,
70
+ pronouns: PropTypes.string,
71
+ profileUrl: PropTypes.string,
72
+ // Additional custom fields not in Gravatar
73
+ customRole: PropTypes.string, // Alternative to job_title
74
+ socialLinks: PropTypes.shape({
75
+ github: PropTypes.string,
76
+ linkedin: PropTypes.string,
77
+ twitter: PropTypes.string,
78
+ instagram: PropTypes.string,
79
+ website: PropTypes.string,
80
+ }),
81
+ // Layout options
82
+ layout: PropTypes.oneOf(['horizontal', 'vertical']),
83
+ direction: PropTypes.oneOf(['left', 'right']), // photo position (for horizontal layout)
84
+ avatarSize: PropTypes.number, // in pixels
85
+ compact: PropTypes.bool, // compact variant
86
+ };
5
87
  export function GravatarCard(props) {
6
88
  const { profile, layout = 'horizontal', direction = 'left', avatarSize = 120, compact = false, } = props;
7
89
  // Merge: prop overrides take precedence over Gravatar data
@@ -14,15 +96,15 @@ export function GravatarCard(props) {
14
96
  const pronouns = props.pronouns ?? profile?.pronouns;
15
97
  const profileLink = props.profileUrl ?? profile?.profileUrl;
16
98
  // Social links: props override, fallback to Gravatar accounts
17
- const githubUrl = props.socialLinks?.github ?? profile?.accounts?.find((a) => a.shortname === 'github')?.url;
18
- const linkedinUrl = props.socialLinks?.linkedin ?? profile?.accounts?.find((a) => a.shortname === 'linkedin')?.url;
19
- const twitterUrl = props.socialLinks?.twitter ?? profile?.accounts?.find((a) => a.shortname === 'twitter')?.url;
20
- const instagramUrl = props.socialLinks?.instagram ?? profile?.accounts?.find((a) => a.shortname === 'instagram')?.url;
99
+ const githubUrl = props.socialLinks?.github ?? profile?.accounts?.find((a) => a && a.shortname === 'github')?.url;
100
+ const linkedinUrl = props.socialLinks?.linkedin ?? profile?.accounts?.find((a) => a && a.shortname === 'linkedin')?.url;
101
+ const twitterUrl = props.socialLinks?.twitter ?? profile?.accounts?.find((a) => a && a.shortname === 'twitter')?.url;
102
+ const instagramUrl = props.socialLinks?.instagram ?? profile?.accounts?.find((a) => a && a.shortname === 'instagram')?.url;
21
103
  const websiteUrl = props.socialLinks?.website;
22
104
  const isHorizontal = layout === 'horizontal';
23
105
  const photoOnRight = direction === 'right';
24
106
  const config = usePixelatedConfig();
25
- const avatarElement = (_jsx("div", { style: { flexShrink: 0 }, children: _jsx(SmartImage, { src: avatarUrl, alt: displayName, title: displayName, width: avatarSize, height: avatarSize, style: {
107
+ const avatarElement = (_jsx("div", { style: { flexShrink: 0 }, children: _jsx(SmartImage, { src: avatarUrl, alt: displayName, title: displayName, width: avatarSize ?? 120, height: avatarSize ?? 120, style: {
26
108
  borderRadius: '50%',
27
109
  objectFit: 'cover',
28
110
  display: 'block',
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect } from 'react';
4
4
  import { getInstagramTiles } from './instagram.functions';
5
- import { Tiles } from '../tiles/tiles';
5
+ import { Tiles } from '../carousel/tiles';
6
6
  export function InstagramTiles(props) {
7
7
  const [tiles, setTiles] = useState([]);
8
8
  const [loading, setLoading] = useState(true);
@@ -2,7 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { useEffect, useState } from 'react';
3
3
  import { usePixelatedConfig } from "../config/config.client";
4
4
  import { SmartImage } from './cloudinary.image';
5
- import { GridItem } from '../general/layout';
5
+ import { PageGridItem } from '../general/semantic';
6
6
  import { getWordPressItems } from './wordpress.functions';
7
7
  import { Loading, ToggleLoading } from '../general/loading';
8
8
  import "./wordpress.css";
@@ -26,13 +26,13 @@ export function BlogPostList(props) {
26
26
  ToggleLoading({ show: false });
27
27
  })();
28
28
  }, [site, count]);
29
- return (_jsxs(_Fragment, { children: [_jsx(Loading, {}), posts.map((post) => (_jsx(GridItem, { children: _jsx(BlogPostSummary, { ID: post.ID, title: post.title, date: post.date, excerpt: post.excerpt, URL: post.URL, categories: post.categories, featured_image: post.featured_image }) }, post.ID)))] }));
29
+ return (_jsxs(_Fragment, { children: [_jsx(Loading, {}), posts.map((post) => (_jsx(PageGridItem, { children: _jsx(BlogPostSummary, { ID: post.ID, title: post.title, date: post.date, excerpt: post.excerpt, URL: post.URL, categories: post.categories, featured_image: post.featured_image }) }, post.ID)))] }));
30
30
  }
31
31
  export function BlogPostSummary(props) {
32
32
  const myCategoryImages = Object.entries(props.categories).map(([category, index]) => [category.trim().toLowerCase().replace(/[ /]+/g, '-'), index]).sort();
33
33
  const config = usePixelatedConfig();
34
34
  const myExcerpt = decodeString(props.excerpt).replace(/\[…\]/g, '<a href="' + props.URL + '" target="_blank" rel="noopener noreferrer">[…]</a>');
35
- return (_jsx("div", { className: "blogPostSummary", children: _jsxs("article", { className: "h-entry", children: [_jsx("h2", { className: "p-name", children: _jsx("a", { className: "u-url blog-post-url", href: props.URL, target: "_blank", rel: "noopener noreferrer", children: decodeString(props.title) }) }), _jsxs("div", { className: "dt-published", children: ["Published: ", new Date(props.date).toLocaleDateString()] }), props.featured_image ? (_jsxs("div", { className: "article-body row-12col", children: [_jsx("div", { className: "article-featured-image grid-s1-e4", children: _jsx(SmartImage, { className: "u-photo", src: props.featured_image, alt: decodeString(props.title), title: decodeString(props.title), style: { borderRadius: '20px' }, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined }) }), _jsx("div", { className: "article-excerpt grid-s4-e13", children: _jsx("div", { className: "p-summary", dangerouslySetInnerHTML: { __html: myExcerpt } }) })] })) :
35
+ return (_jsx("div", { className: "blog-post-summary", children: _jsxs("article", { className: "h-entry", children: [_jsx("h2", { className: "p-name", children: _jsx("a", { className: "u-url blog-post-url", href: props.URL, target: "_blank", rel: "noopener noreferrer", children: decodeString(props.title) }) }), _jsxs("div", { className: "dt-published", children: ["Published: ", new Date(props.date).toLocaleDateString()] }), props.featured_image ? (_jsxs("div", { className: "article-body row-12col", children: [_jsx("div", { className: "article-featured-image grid-s1-e4", children: _jsx(SmartImage, { className: "u-photo", src: props.featured_image, alt: decodeString(props.title), title: decodeString(props.title), style: { borderRadius: '20px' }, cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined }) }), _jsx("div", { className: "article-excerpt grid-s4-e13", children: _jsx("div", { className: "p-summary", dangerouslySetInnerHTML: { __html: myExcerpt } }) })] })) :
36
36
  _jsx("div", { className: "article-excerpt grid-s1-e13", children: _jsx("div", { className: "p-summary", dangerouslySetInnerHTML: { __html: myExcerpt } }) }), _jsxs("div", { children: ["Categories:", myCategoryImages.map(([categoryImg, index]) => (_jsx("span", { className: "p-category", children: _jsx(SmartImage, { src: `/images/icons/${categoryImg}.png`, title: String(categoryImg), alt: String(categoryImg), cloudinaryEnv: config?.cloudinary?.product_env ?? undefined, cloudinaryDomain: config?.cloudinary?.baseUrl ?? undefined, cloudinaryTransforms: config?.cloudinary?.transforms ?? undefined }) }, categoryImg + "-" + index)))] })] }) }, props.ID));
37
37
  }
38
38
  export function BlogPostCategories(props) {
@@ -2,7 +2,7 @@
2
2
  /* https://microformats.org/wiki/h-entry */
3
3
 
4
4
 
5
- .blogPostSummary {
5
+ .blog-post-summary {
6
6
  border: 1px solid #ccc;
7
7
  margin: 10px;
8
8
  padding: 20px;
@@ -16,7 +16,7 @@
16
16
  border-radius: 25px;
17
17
  }
18
18
 
19
- .blogPostSummary {
19
+ .blog-post-summary {
20
20
 
21
21
  article {
22
22
  .p-name { --do-nothing: true; }
@@ -46,7 +46,7 @@
46
46
 
47
47
  }
48
48
 
49
- .blogPostSummary .p-category img,
49
+ .blog-post-summary .p-category img,
50
50
  .blogPostCategories .p-category img {
51
51
  width: 30px;
52
52
  height: 30px;
@@ -10,7 +10,7 @@
10
10
  body.buttonring {
11
11
  button,
12
12
  .button,
13
- .centeredbutton {
13
+ .centered-button {
14
14
  /* ALSO USE CLASS = BUTTON */
15
15
  outline: 0px solid transparent !important; /* Initial transparent outline */
16
16
  outline-offset: 3px; /* Optional: Adjusts the distance of the outline from the border */
@@ -19,7 +19,7 @@ body.buttonring {
19
19
  }
20
20
  button:hover,
21
21
  .button:hover,
22
- .centeredbutton:hover {
22
+ .centered-button:hover {
23
23
  outline-width: 5px !important; /* Outline animates out 5px */
24
24
  outline-color: #369 !important; /* Or a different color for the outline */
25
25
  }
@@ -146,7 +146,7 @@ body.imgtwist {
146
146
 
147
147
  /*
148
148
  /* ========== SIMPLE MENU BUTTON LEFT FILL HOVER ==========
149
- .menuItem a:before {
149
+ .menu-item a:before {
150
150
  position: absolute;
151
151
  content: "";
152
152
  top: 0;
@@ -157,12 +157,12 @@ body.imgtwist {
157
157
  transition: all .25s;
158
158
  z-index: -1;
159
159
  }
160
- .menuItem a:hover {
160
+ .menu-item a:hover {
161
161
  border-left: 0px solid transparent !important;
162
162
  text-indent: 0px !important;
163
163
  color: #fff;
164
164
  }
165
- .menuItem a:hover:before {
165
+ .menu-item a:hover:before {
166
166
  width: 100%;
167
167
  }
168
168
  */
@@ -171,10 +171,10 @@ body.imgtwist {
171
171
 
172
172
 
173
173
  /* ========== SIMPLE MENU BUTTON CENTER FILL HOVER ========== */
174
- body.simplemenubutton .menu .menuItem {
174
+ body.simplemenubutton .menu .menu-item {
175
175
  --do-nothing: true;
176
176
  }
177
- body.simplemenubutton .menu .menuItem {
177
+ body.simplemenubutton .menu .menu-item {
178
178
  a {
179
179
  text-align: center;
180
180
  position: relative;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  /* Modal Content/Box */
17
- .modalContent {
17
+ .modal-content {
18
18
  background-color: #fefefe;
19
19
  margin: 15% auto; /* 15% from the top and centered */
20
20
  padding: 20px;
@@ -24,12 +24,12 @@
24
24
  position: relative;
25
25
  }
26
26
 
27
- .modalContent img {
27
+ .modal-content img {
28
28
  border: 2px solid #aaa;
29
29
  }
30
30
 
31
31
  /* The Close Button */
32
- .modalClose {
32
+ .modal-close {
33
33
  color: #aaa;
34
34
  font-size: 28px;
35
35
  line-height: 26px;
@@ -49,8 +49,8 @@
49
49
  z-index: 10;
50
50
  }
51
51
 
52
- .modalClose:hover,
53
- .modalClose:focus {
52
+ .modal-close:hover,
53
+ .modal-close:focus {
54
54
  color: black;
55
55
  text-decoration: none;
56
56
  cursor: pointer;
@@ -39,7 +39,7 @@ export function Modal(props) {
39
39
  ;
40
40
  };
41
41
  }, []);
42
- return (_jsx("div", { id: myModalID, className: "modal", style: { display: 'none' }, children: _jsxs("div", { className: "modalContent", children: [_jsx("span", { id: myModalCloseID, className: "modalClose", "aria-hidden": "true", children: "\u00D7" }), props.modalContent] }) }));
42
+ return (_jsx("div", { id: myModalID, className: "modal", style: { display: 'none' }, children: _jsxs("div", { className: "modal-content", children: [_jsx("span", { id: myModalCloseID, className: "modal-close", "aria-hidden": "true", children: "\u00D7" }), props.modalContent] }) }));
43
43
  }
44
44
  export const handleModalOpen = (event, modalID) => {
45
45
  const myModalID = "myModal" + (modalID ?? '');