@churchapps/apphelper 0.17.4 → 0.18.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 (140) hide show
  1. package/dist/components/ImageEditor.d.ts.map +1 -1
  2. package/dist/components/ImageEditor.js +4 -1
  3. package/dist/components/ImageEditor.js.map +1 -1
  4. package/dist/donations/components/MultiGatewayDonationForm.d.ts.map +1 -1
  5. package/dist/donations/components/MultiGatewayDonationForm.js +3 -1
  6. package/dist/donations/components/MultiGatewayDonationForm.js.map +1 -1
  7. package/dist/donations/components/RecurringDonations.d.ts.map +1 -1
  8. package/dist/donations/components/RecurringDonations.js +33 -3
  9. package/dist/donations/components/RecurringDonations.js.map +1 -1
  10. package/dist/donations/helpers/Locale.d.ts.map +1 -1
  11. package/dist/donations/helpers/Locale.js +8 -0
  12. package/dist/donations/helpers/Locale.js.map +1 -1
  13. package/dist/donations/providers/KingdomFundingProvider.js +1 -1
  14. package/dist/donations/providers/KingdomFundingProvider.js.map +1 -1
  15. package/dist/donations/providers/PayPalProvider.js +1 -1
  16. package/dist/donations/providers/PayPalProvider.js.map +1 -1
  17. package/dist/donations/providers/StripeProvider.js +1 -1
  18. package/dist/donations/providers/StripeProvider.js.map +1 -1
  19. package/dist/donations/providers/types.d.ts +1 -0
  20. package/dist/donations/providers/types.d.ts.map +1 -1
  21. package/dist/forms/components/ConversationalForm.d.ts +14 -0
  22. package/dist/forms/components/ConversationalForm.d.ts.map +1 -0
  23. package/dist/forms/components/ConversationalForm.js +60 -0
  24. package/dist/forms/components/ConversationalForm.js.map +1 -0
  25. package/dist/forms/components/FormSubmissionEdit.d.ts +3 -1
  26. package/dist/forms/components/FormSubmissionEdit.d.ts.map +1 -1
  27. package/dist/forms/components/FormSubmissionEdit.js +17 -8
  28. package/dist/forms/components/FormSubmissionEdit.js.map +1 -1
  29. package/dist/forms/components/index.d.ts +1 -0
  30. package/dist/forms/components/index.d.ts.map +1 -1
  31. package/dist/forms/components/index.js +1 -0
  32. package/dist/forms/components/index.js.map +1 -1
  33. package/dist/forms/helpers/Locale.d.ts.map +1 -1
  34. package/dist/forms/helpers/Locale.js +3 -0
  35. package/dist/forms/helpers/Locale.js.map +1 -1
  36. package/dist/helpers/Locale.d.ts.map +1 -1
  37. package/dist/helpers/Locale.js +52 -0
  38. package/dist/helpers/Locale.js.map +1 -1
  39. package/dist/public/locales/ar.json +337 -285
  40. package/dist/public/locales/cs.json +337 -285
  41. package/dist/public/locales/da.json +337 -285
  42. package/dist/public/locales/de.json +52 -0
  43. package/dist/public/locales/en.json +52 -0
  44. package/dist/public/locales/es.json +52 -0
  45. package/dist/public/locales/fi.json +337 -285
  46. package/dist/public/locales/fr.json +52 -0
  47. package/dist/public/locales/hi.json +52 -0
  48. package/dist/public/locales/hu.json +337 -285
  49. package/dist/public/locales/id.json +337 -285
  50. package/dist/public/locales/it.json +52 -0
  51. package/dist/public/locales/ja.json +337 -285
  52. package/dist/public/locales/ko.json +52 -0
  53. package/dist/public/locales/lt.json +331 -24
  54. package/dist/public/locales/nl.json +337 -285
  55. package/dist/public/locales/no.json +52 -0
  56. package/dist/public/locales/pl.json +337 -285
  57. package/dist/public/locales/pt.json +52 -0
  58. package/dist/public/locales/ro.json +337 -285
  59. package/dist/public/locales/ru.json +52 -0
  60. package/dist/public/locales/sk.json +337 -285
  61. package/dist/public/locales/sl.json +337 -285
  62. package/dist/public/locales/sr.json +337 -285
  63. package/dist/public/locales/sv.json +337 -285
  64. package/dist/public/locales/tl.json +52 -0
  65. package/dist/public/locales/tr.json +337 -285
  66. package/dist/public/locales/uk.json +337 -285
  67. package/dist/public/locales/vi.json +337 -285
  68. package/dist/public/locales/zh.json +52 -0
  69. package/dist/website/components/AnnouncementBanner.d.ts +17 -0
  70. package/dist/website/components/AnnouncementBanner.d.ts.map +1 -0
  71. package/dist/website/components/AnnouncementBanner.js +68 -0
  72. package/dist/website/components/AnnouncementBanner.js.map +1 -0
  73. package/dist/website/components/Element.d.ts.map +1 -1
  74. package/dist/website/components/Element.js +19 -1
  75. package/dist/website/components/Element.js.map +1 -1
  76. package/dist/website/components/Launcher.d.ts +17 -0
  77. package/dist/website/components/Launcher.d.ts.map +1 -0
  78. package/dist/website/components/Launcher.js +47 -0
  79. package/dist/website/components/Launcher.js.map +1 -0
  80. package/dist/website/components/SectionDivider.d.ts +13 -0
  81. package/dist/website/components/SectionDivider.d.ts.map +1 -0
  82. package/dist/website/components/SectionDivider.js +31 -0
  83. package/dist/website/components/SectionDivider.js.map +1 -0
  84. package/dist/website/components/elementTypes/CampaignProgressElement.d.ts +9 -0
  85. package/dist/website/components/elementTypes/CampaignProgressElement.d.ts.map +1 -0
  86. package/dist/website/components/elementTypes/CampaignProgressElement.js +42 -0
  87. package/dist/website/components/elementTypes/CampaignProgressElement.js.map +1 -0
  88. package/dist/website/components/elementTypes/CountdownElement.d.ts +8 -0
  89. package/dist/website/components/elementTypes/CountdownElement.d.ts.map +1 -0
  90. package/dist/website/components/elementTypes/CountdownElement.js +50 -0
  91. package/dist/website/components/elementTypes/CountdownElement.js.map +1 -0
  92. package/dist/website/components/elementTypes/FormElement.d.ts +1 -0
  93. package/dist/website/components/elementTypes/FormElement.d.ts.map +1 -1
  94. package/dist/website/components/elementTypes/FormElement.js +1 -1
  95. package/dist/website/components/elementTypes/FormElement.js.map +1 -1
  96. package/dist/website/components/elementTypes/GalleryElement.d.ts +9 -0
  97. package/dist/website/components/elementTypes/GalleryElement.d.ts.map +1 -0
  98. package/dist/website/components/elementTypes/GalleryElement.js +44 -0
  99. package/dist/website/components/elementTypes/GalleryElement.js.map +1 -0
  100. package/dist/website/components/elementTypes/IconFeatureElement.d.ts +8 -0
  101. package/dist/website/components/elementTypes/IconFeatureElement.d.ts.map +1 -0
  102. package/dist/website/components/elementTypes/IconFeatureElement.js +12 -0
  103. package/dist/website/components/elementTypes/IconFeatureElement.js.map +1 -0
  104. package/dist/website/components/elementTypes/SermonElement.d.ts +3 -1
  105. package/dist/website/components/elementTypes/SermonElement.d.ts.map +1 -1
  106. package/dist/website/components/elementTypes/SermonElement.js +43 -1
  107. package/dist/website/components/elementTypes/SermonElement.js.map +1 -1
  108. package/dist/website/components/elementTypes/ServiceTimesElement.d.ts +10 -0
  109. package/dist/website/components/elementTypes/ServiceTimesElement.d.ts.map +1 -0
  110. package/dist/website/components/elementTypes/ServiceTimesElement.js +69 -0
  111. package/dist/website/components/elementTypes/ServiceTimesElement.js.map +1 -0
  112. package/dist/website/components/elementTypes/SocialIconsElement.d.ts +9 -0
  113. package/dist/website/components/elementTypes/SocialIconsElement.d.ts.map +1 -0
  114. package/dist/website/components/elementTypes/SocialIconsElement.js +47 -0
  115. package/dist/website/components/elementTypes/SocialIconsElement.js.map +1 -0
  116. package/dist/website/components/elementTypes/StaffGridElement.d.ts +9 -0
  117. package/dist/website/components/elementTypes/StaffGridElement.d.ts.map +1 -0
  118. package/dist/website/components/elementTypes/StaffGridElement.js +27 -0
  119. package/dist/website/components/elementTypes/StaffGridElement.js.map +1 -0
  120. package/dist/website/components/elementTypes/StatsElement.d.ts +9 -0
  121. package/dist/website/components/elementTypes/StatsElement.d.ts.map +1 -0
  122. package/dist/website/components/elementTypes/StatsElement.js +62 -0
  123. package/dist/website/components/elementTypes/StatsElement.js.map +1 -0
  124. package/dist/website/components/elementTypes/TestimonialElement.d.ts +9 -0
  125. package/dist/website/components/elementTypes/TestimonialElement.d.ts.map +1 -0
  126. package/dist/website/components/elementTypes/TestimonialElement.js +36 -0
  127. package/dist/website/components/elementTypes/TestimonialElement.js.map +1 -0
  128. package/dist/website/components/elementTypes/index.d.ts +9 -0
  129. package/dist/website/components/elementTypes/index.d.ts.map +1 -1
  130. package/dist/website/components/elementTypes/index.js +9 -0
  131. package/dist/website/components/elementTypes/index.js.map +1 -1
  132. package/dist/website/components/eventCalendar/RRuleEditor.d.ts.map +1 -1
  133. package/dist/website/components/eventCalendar/RRuleEditor.js +32 -17
  134. package/dist/website/components/eventCalendar/RRuleEditor.js.map +1 -1
  135. package/dist/website/components/index.d.ts +3 -0
  136. package/dist/website/components/index.d.ts.map +1 -1
  137. package/dist/website/components/index.js +3 -0
  138. package/dist/website/components/index.js.map +1 -1
  139. package/dist/website/styles/pages.css +121 -0
  140. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestimonialElement.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/TestimonialElement.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAU3D,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC,kCAAkC,CAAC,CAAC,OAAO,CAAC;AAEpI,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAoB,EAAE,EAAE,CAAC,CACjD,sBAAY,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,aACjF,YAAG,SAAS,EAAC,kBAAkB,YAAE,KAAK,CAAC,IAAI,GAAK,EAChD,kBAAQ,SAAS,EAAC,oBAAoB,aACnC,KAAK,CAAC,QAAQ,IAAI,cAAK,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,CAAC,MAAM,IAAI,EAAE,EAAE,SAAS,EAAC,mBAAmB,EAAC,OAAO,EAAC,MAAM,EAAC,QAAQ,EAAC,OAAO,GAAG,EACtI,eAAM,SAAS,EAAC,kBAAkB,YAAE,KAAK,CAAC,MAAM,GAAQ,EACvD,KAAK,CAAC,IAAI,IAAI,eAAM,SAAS,EAAC,kBAAkB,YAAE,KAAK,CAAC,IAAI,GAAQ,IAC9D,IACE,CACd,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAS,EAAE,EAAE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AAC,QAAQ,CAAC,CAAC;IACvC,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IAE5B,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,IAAI,MAAM;YAAE,OAAO,cAAK,SAAS,EAAC,mBAAmB,uDAA6C,CAAC;QACnG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,CACL,cAAK,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,EAAE,EAAE,SAAS,EAAC,aAAa,YAClD,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,mBAAmB,EAAE,YACpE,KAAC,SAAS,IAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,GAAI,GAC/B,GACF,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,cAAK,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,EAAE,EAAE,SAAS,EAAC,aAAa,YACjD,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,SAAS,IAAS,KAAK,EAAE,KAAK,IAAf,CAAC,CAAkB,CAAC,GAC1D,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,13 +1,17 @@
1
1
  export * from "./BoxElement";
2
2
  export * from "./ButtonLink";
3
3
  export * from "./CalendarElement";
4
+ export * from "./CampaignProgressElement";
4
5
  export * from "./CardElement";
5
6
  export * from "./CarouselElement";
7
+ export * from "./CountdownElement";
6
8
  export * from "./DonateLinkElement";
7
9
  export * from "./ElementBlock";
8
10
  export * from "./FaqElement";
9
11
  export * from "./FormElement";
12
+ export * from "./GalleryElement";
10
13
  export * from "./GroupListElement";
14
+ export * from "./IconFeatureElement";
11
15
  export * from "./HtmlPreview";
12
16
  export * from "./IframeElement";
13
17
  export * from "./ImageElement";
@@ -16,8 +20,13 @@ export * from "./MapElement";
16
20
  export * from "./RawHTMLElement";
17
21
  export * from "./RowElement";
18
22
  export * from "./SermonElement";
23
+ export * from "./ServiceTimesElement";
24
+ export * from "./SocialIconsElement";
25
+ export * from "./StaffGridElement";
26
+ export * from "./StatsElement";
19
27
  export * from "./StreamElement";
20
28
  export * from "./TableElement";
29
+ export * from "./TestimonialElement";
21
30
  export * from "./TextOnly";
22
31
  export * from "./TextWithPhoto";
23
32
  export * from "./VideoElement";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1,13 +1,17 @@
1
1
  export * from "./BoxElement";
2
2
  export * from "./ButtonLink";
3
3
  export * from "./CalendarElement";
4
+ export * from "./CampaignProgressElement";
4
5
  export * from "./CardElement";
5
6
  export * from "./CarouselElement";
7
+ export * from "./CountdownElement";
6
8
  export * from "./DonateLinkElement";
7
9
  export * from "./ElementBlock";
8
10
  export * from "./FaqElement";
9
11
  export * from "./FormElement";
12
+ export * from "./GalleryElement";
10
13
  export * from "./GroupListElement";
14
+ export * from "./IconFeatureElement";
11
15
  export * from "./HtmlPreview";
12
16
  export * from "./IframeElement";
13
17
  export * from "./ImageElement";
@@ -16,8 +20,13 @@ export * from "./MapElement";
16
20
  export * from "./RawHTMLElement";
17
21
  export * from "./RowElement";
18
22
  export * from "./SermonElement";
23
+ export * from "./ServiceTimesElement";
24
+ export * from "./SocialIconsElement";
25
+ export * from "./StaffGridElement";
26
+ export * from "./StatsElement";
19
27
  export * from "./StreamElement";
20
28
  export * from "./TableElement";
29
+ export * from "./TestimonialElement";
21
30
  export * from "./TextOnly";
22
31
  export * from "./TextWithPhoto";
23
32
  export * from "./VideoElement";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/website/components/elementTypes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RRuleEditor.d.ts","sourceRoot":"","sources":["../../../../src/website/components/eventCalendar/RRuleEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,mDAAmD,CAAC;AAC3D,OAAO,KAA2C,MAAM,OAAO,CAAC;AAKhE,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,WAAW,EAAC,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,qBAwLvC"}
1
+ {"version":3,"file":"RRuleEditor.d.ts","sourceRoot":"","sources":["../../../../src/website/components/eventCalendar/RRuleEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,mDAAmD,CAAC;AAC3D,OAAO,KAA2C,MAAM,OAAO,CAAC;AAKhE,UAAU,KAAK;IACb,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,WAAW,EAAC,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,qBA8LvC"}
@@ -4,13 +4,13 @@ import "react-big-calendar/lib/css/react-big-calendar.css";
4
4
  import { useEffect, useState } from "react";
5
5
  import { Button, ButtonGroup, FormControl, Grid, InputLabel, MenuItem, Select, TextField } from "@mui/material";
6
6
  import { RRule, rrulestr } from "rrule";
7
- import { EventHelper, DateHelper } from "../../..";
7
+ import { EventHelper, DateHelper, Locale } from "../../..";
8
8
  export function RRuleEditor(props) {
9
9
  const initialOptions = (props.rRule?.length > 0) ? rrulestr(props.rRule).options : new RRule({ dtstart: props.start }).options;
10
10
  initialOptions.dtstart = props.start;
11
- initialOptions.byhour = [];
12
- initialOptions.byminute = [];
13
- initialOptions.bysecond = [];
11
+ initialOptions.byhour = undefined;
12
+ initialOptions.byminute = undefined;
13
+ initialOptions.bysecond = undefined;
14
14
  const [rRuleOptions, setRRuleOptions] = useState(initialOptions);
15
15
  const handleChange = (e) => {
16
16
  const options = { ...rRuleOptions };
@@ -61,7 +61,7 @@ export function RRuleEditor(props) {
61
61
  };
62
62
  const getDayButton = (value, label) => {
63
63
  const selected = rRuleOptions.byweekday?.includes(value.weekday);
64
- return _jsx(Button, { variant: selected ? "contained" : "outlined", onClick: () => { handleWeekDayClick(value); }, "data-testid": `weekday-${label.toLowerCase()}-button`, "aria-label": `Toggle ${value.toString()} for weekly recurrence`, children: label }, value.toString());
64
+ return _jsx(Button, { variant: selected ? "contained" : "outlined", onClick: () => { handleWeekDayClick(value); }, "data-testid": `weekday-${label.toLowerCase()}-button`, "aria-label": Locale.label("eventCalendar.recurring.toggleWeekday").replace("{}", value.toString()), children: label }, value.toString());
65
65
  };
66
66
  const handleMonthOptionChange = (mode, monthDay, nthWeekday, weekday) => {
67
67
  const options = { ...rRuleOptions };
@@ -84,14 +84,29 @@ export function RRuleEditor(props) {
84
84
  case RRule.WEEKLY.toString():
85
85
  result = (_jsx(_Fragment, { children: _jsxs(ButtonGroup, { size: "small", children: [getDayButton(RRule.SU, "S"), getDayButton(RRule.MO, "M"), getDayButton(RRule.TU, "T"), getDayButton(RRule.WE, "W"), getDayButton(RRule.TH, "T"), getDayButton(RRule.FR, "F"), getDayButton(RRule.SA, "S")] }) }));
86
86
  break;
87
- case RRule.MONTHLY.toString():
88
- const daysOfWeek = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
89
- const ordinals = ["first", "second", "third", "fourth", "last"];
87
+ case RRule.MONTHLY.toString(): {
88
+ const daysOfWeek = [
89
+ Locale.label("eventCalendar.recurring.day.sunday"),
90
+ Locale.label("eventCalendar.recurring.day.monday"),
91
+ Locale.label("eventCalendar.recurring.day.tuesday"),
92
+ Locale.label("eventCalendar.recurring.day.wednesday"),
93
+ Locale.label("eventCalendar.recurring.day.thursday"),
94
+ Locale.label("eventCalendar.recurring.day.friday"),
95
+ Locale.label("eventCalendar.recurring.day.saturday")
96
+ ];
97
+ const ordinals = [
98
+ Locale.label("eventCalendar.recurring.ordinal.first"),
99
+ Locale.label("eventCalendar.recurring.ordinal.second"),
100
+ Locale.label("eventCalendar.recurring.ordinal.third"),
101
+ Locale.label("eventCalendar.recurring.ordinal.fourth"),
102
+ Locale.label("eventCalendar.recurring.ordinal.last")
103
+ ];
90
104
  const dayOfMonth = props.start.getDate() || 1;
91
105
  const dayOfWeek = props.start.getDay() || 0;
92
106
  const ordinal = Math.floor((dayOfMonth - 1) / 7);
93
- result = (_jsxs(_Fragment, { children: [_jsx(InputLabel, { children: "On" }), _jsxs(Select, { name: "on", value: (rRuleOptions.bymonthday?.length > 0) ? "monthDay" : "nthWeekday", onChange: (e) => { handleMonthOptionChange(e.target.value, dayOfMonth, ordinal, dayOfWeek); }, label: "On", "data-testid": "monthly-option-select", "aria-label": "Select monthly recurrence option", children: [_jsxs(MenuItem, { value: "monthDay", children: ["Monthly on day ", dayOfMonth] }), _jsxs(MenuItem, { value: "nthWeekday", children: ["Monthly on the ", ordinals[ordinal], " ", daysOfWeek[dayOfWeek]] })] })] }));
107
+ result = (_jsxs(_Fragment, { children: [_jsx(InputLabel, { children: Locale.label("eventCalendar.recurring.on") }), _jsxs(Select, { name: "on", value: (rRuleOptions.bymonthday?.length > 0) ? "monthDay" : "nthWeekday", onChange: (e) => { handleMonthOptionChange(e.target.value, dayOfMonth, ordinal, dayOfWeek); }, label: Locale.label("eventCalendar.recurring.on"), "data-testid": "monthly-option-select", "aria-label": Locale.label("eventCalendar.recurring.monthlyOptionAria"), children: [_jsx(MenuItem, { value: "monthDay", children: Locale.label("eventCalendar.recurring.monthlyOnDay").replace("{}", dayOfMonth.toString()) }), _jsx(MenuItem, { value: "nthWeekday", children: Locale.label("eventCalendar.recurring.monthlyOnNth").replace("{ordinal}", ordinals[ordinal]).replace("{day}", daysOfWeek[dayOfWeek]) })] })] }));
94
108
  break;
109
+ }
95
110
  }
96
111
  return result;
97
112
  };
@@ -99,15 +114,15 @@ export function RRuleEditor(props) {
99
114
  const options = { ...rRuleOptions };
100
115
  switch (e.target.value) {
101
116
  case "never":
102
- options.count = null;
103
- options.until = null;
117
+ options.count = undefined;
118
+ options.until = undefined;
104
119
  break;
105
120
  case "count":
106
121
  options.count = 1;
107
- options.until = null;
122
+ options.until = undefined;
108
123
  break;
109
124
  case "until":
110
- options.count = null;
125
+ options.count = undefined;
111
126
  options.until = new Date();
112
127
  break;
113
128
  }
@@ -130,10 +145,10 @@ export function RRuleEditor(props) {
130
145
  let result = _jsx(_Fragment, {});
131
146
  switch (ends) {
132
147
  case "until":
133
- result = (_jsx(TextField, { name: "until", type: "date", value: rRuleOptions.until ? DateHelper.formatHtml5Date(rRuleOptions.until) : "", fullWidth: true, label: "End Date", onChange: handleEndFollowupChange, size: "small", "data-testid": "recurrence-end-date-input", "aria-label": "Recurrence end date" }));
148
+ result = (_jsx(TextField, { name: "until", type: "date", value: DateHelper.formatHtml5Date(rRuleOptions.until), fullWidth: true, label: Locale.label("eventCalendar.recurring.endDate"), onChange: handleEndFollowupChange, size: "small", "data-testid": "recurrence-end-date-input", "aria-label": Locale.label("eventCalendar.recurring.endDateAria") }));
134
149
  break;
135
150
  case "count":
136
- result = (_jsx(TextField, { name: "count", type: "number", value: rRuleOptions.count, fullWidth: true, label: "Occurances", onChange: handleEndFollowupChange, size: "small", "data-testid": "recurrence-count-input", "aria-label": "Number of recurrence occurrances" }));
151
+ result = (_jsx(TextField, { name: "count", type: "number", value: rRuleOptions.count, fullWidth: true, label: Locale.label("eventCalendar.recurring.occurrences"), onChange: handleEndFollowupChange, size: "small", "data-testid": "recurrence-count-input", "aria-label": Locale.label("eventCalendar.recurring.occurrencesAria") }));
137
152
  break;
138
153
  }
139
154
  return result;
@@ -141,7 +156,7 @@ export function RRuleEditor(props) {
141
156
  useEffect(() => {
142
157
  const result = EventHelper.getPartialRRuleString(rRuleOptions);
143
158
  props.onChange(result);
144
- }, [rRuleOptions]);
145
- return (_jsxs(_Fragment, { children: [_jsx(Grid, { size: { xs: 2 }, children: _jsx(TextField, { name: "interval", type: "number", value: rRuleOptions.interval, fullWidth: true, label: "Interval", onChange: handleChange, size: "small", "data-testid": "recurrence-interval-input", "aria-label": "Recurrence interval" }) }), _jsx(Grid, { size: { xs: 5 }, children: _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: "Frequency" }), _jsxs(Select, { name: "freq", value: rRuleOptions.freq.toString(), onChange: handleChange, label: "Frequency", "data-testid": "recurrence-frequency-select", "aria-label": "Select recurrence frequency", children: [_jsx(MenuItem, { value: RRule.DAILY.toString(), children: "Day" }), _jsx(MenuItem, { value: RRule.WEEKLY.toString(), children: "Week" }), _jsx(MenuItem, { value: RRule.MONTHLY.toString(), children: "Month" })] })] }) }), _jsx(Grid, { size: { xs: 5 }, children: _jsx(FormControl, { fullWidth: true, size: "small", children: getFreqFollowUp() }) }), _jsx(Grid, { size: { xs: 3 }, children: _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: "Ends" }), _jsxs(Select, { name: "ends", value: ends, onChange: handleEndsChange, label: "Frequency", "data-testid": "recurrence-ends-select", "aria-label": "Select when recurrence ends", children: [_jsx(MenuItem, { value: "never", children: "Never" }), _jsx(MenuItem, { value: "until", children: "On" }), _jsx(MenuItem, { value: "count", children: "After" })] })] }) }), _jsx(Grid, { size: { xs: 9 }, children: getEndsFollowUp() })] }));
159
+ }, [rRuleOptions, props.onChange]);
160
+ return (_jsxs(_Fragment, { children: [_jsx(Grid, { size: { xs: 2 }, children: _jsx(TextField, { name: "interval", type: "number", value: rRuleOptions.interval, fullWidth: true, label: Locale.label("eventCalendar.recurring.interval"), onChange: handleChange, size: "small", "data-testid": "recurrence-interval-input", "aria-label": Locale.label("eventCalendar.recurring.intervalAria") }) }), _jsx(Grid, { size: { xs: 5 }, children: _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: Locale.label("eventCalendar.recurring.frequency") }), _jsxs(Select, { name: "freq", value: rRuleOptions.freq.toString(), onChange: handleChange, label: Locale.label("eventCalendar.recurring.frequency"), "data-testid": "recurrence-frequency-select", "aria-label": Locale.label("eventCalendar.recurring.frequencyAria"), children: [_jsx(MenuItem, { value: RRule.DAILY.toString(), children: Locale.label("eventCalendar.recurring.freqDay") }), _jsx(MenuItem, { value: RRule.WEEKLY.toString(), children: Locale.label("eventCalendar.recurring.freqWeek") }), _jsx(MenuItem, { value: RRule.MONTHLY.toString(), children: Locale.label("eventCalendar.recurring.freqMonth") })] })] }) }), _jsx(Grid, { size: { xs: 5 }, children: _jsx(FormControl, { fullWidth: true, size: "small", children: getFreqFollowUp() }) }), _jsx(Grid, { size: { xs: 3 }, children: _jsxs(FormControl, { fullWidth: true, size: "small", children: [_jsx(InputLabel, { children: Locale.label("eventCalendar.recurring.ends") }), _jsxs(Select, { name: "ends", value: ends, onChange: handleEndsChange, label: Locale.label("eventCalendar.recurring.frequency"), "data-testid": "recurrence-ends-select", "aria-label": Locale.label("eventCalendar.recurring.endsAria"), children: [_jsx(MenuItem, { value: "never", children: Locale.label("eventCalendar.recurring.never") }), _jsx(MenuItem, { value: "until", children: Locale.label("eventCalendar.recurring.endsOn") }), _jsx(MenuItem, { value: "count", children: Locale.label("eventCalendar.recurring.endsAfter") })] })] }) }), _jsx(Grid, { size: { xs: 9 }, children: getEndsFollowUp() })] }));
146
161
  }
147
162
  //# sourceMappingURL=RRuleEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RRuleEditor.js","sourceRoot":"","sources":["../../../../src/website/components/eventCalendar/RRuleEditor.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,mDAAmD,CAAC;AAC3D,OAAc,EAAe,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAqB,SAAS,EAAE,MAAM,eAAe,CAAC;AACnI,OAAO,EAAE,KAAK,EAAW,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQnD,MAAM,UAAU,WAAW,CAAC,KAAY;IACtC,MAAM,cAAc,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC;IAC/H,cAAc,CAAC,OAAO,GAAG,KAAK,CAAC,KAAK,CAAC;IACrC,cAAc,CAAC,MAAM,GAAG,EAAS,CAAC;IAClC,cAAc,CAAC,QAAQ,GAAG,EAA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CAAC,GAAY,EACvG,KAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,YAAG,MAAM,CAAC,KAAK,CAAC,mCAAmC,CAAC,GAAY,IAClG,IACG,GACT,EACP,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,YACnB,KAAC,WAAW,IAAC,SAAS,QAAC,IAAI,EAAC,OAAO,YAChC,eAAe,EAAE,GACN,GACT,EACP,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,YACnB,MAAC,WAAW,IAAC,SAAS,QAAC,IAAI,EAAC,OAAO,aACjC,KAAC,UAAU,cAAE,MAAM,CAAC,KAAK,CAAC,8BAA8B,CAAC,GAAc,EACvE,MAAC,MAAM,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,mCAAmC,CAAC,iBAAc,wBAAwB,gBAAa,MAAM,CAAC,KAAK,CAAC,kCAAkC,CAAC,aACtN,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,GAAY,EAClF,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,CAAC,KAAK,CAAC,gCAAgC,CAAC,GAAY,EACnF,KAAC,QAAQ,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,CAAC,KAAK,CAAC,mCAAmC,CAAC,GAAY,IAC/E,IACG,GACT,EACP,KAAC,IAAI,IAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,YAClB,eAAe,EAAE,GACb,IAEN,CACJ,CAAC;AACJ,CAAC"}
@@ -1,5 +1,8 @@
1
+ export * from "./AnnouncementBanner";
1
2
  export * from "./Element";
2
3
  export * from "./ElementRegistry";
4
+ export * from "./Launcher";
5
+ export * from "./SectionDivider";
3
6
  export * from "./elementTypes";
4
7
  export * from "./eventCalendar";
5
8
  export * from "./admin";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/website/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/website/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
@@ -1,5 +1,8 @@
1
+ export * from "./AnnouncementBanner";
1
2
  export * from "./Element";
2
3
  export * from "./ElementRegistry";
4
+ export * from "./Launcher";
5
+ export * from "./SectionDivider";
3
6
  export * from "./elementTypes";
4
7
  export * from "./eventCalendar";
5
8
  export * from "./admin";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/website/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/website/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC"}
@@ -825,3 +825,124 @@ code {
825
825
  @media (max-width: 767px) {
826
826
  .hiddenOnMobile { display: none !important; }
827
827
  }
828
+
829
+ /* iconFeature */
830
+ .iconFeature h3 { margin-top: 8px; }
831
+
832
+ /* gallery */
833
+ .gallery-caption { font-size: 0.85rem; padding: 4px 2px; opacity: 0.85; }
834
+ .gallery-empty,
835
+ .testimonial-empty,
836
+ .social-icons-empty,
837
+ .stats-empty,
838
+ .campaign-empty,
839
+ .staff-empty,
840
+ .service-times-empty {
841
+ padding: 24px;
842
+ border: 1px dashed #bbb;
843
+ border-radius: 4px;
844
+ text-align: center;
845
+ color: #888;
846
+ }
847
+ .gallery-lightbox { position: relative; display: flex; flex-direction: column; align-items: center; }
848
+ .gallery-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
849
+ .gallery-lightbox__caption { color: #fff; margin-top: 12px; text-align: center; }
850
+ .gallery-lightbox__close { position: absolute !important; top: -48px; right: 0; }
851
+ .gallery-lightbox__prev { position: absolute !important; left: -56px; top: 50%; transform: translateY(-50%); }
852
+ .gallery-lightbox__next { position: absolute !important; right: -56px; top: 50%; transform: translateY(-50%); }
853
+ @media (max-width: 767px) {
854
+ .gallery-lightbox__prev { left: 0; }
855
+ .gallery-lightbox__next { right: 0; }
856
+ }
857
+
858
+ /* testimonial */
859
+ .testimonial-quote { padding: 16px 24px; }
860
+ .testimonial-text { font-size: 1.25rem; font-style: italic; line-height: 1.5; }
861
+ .testimonial-author { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; }
862
+ .testimonial-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
863
+ .testimonial-name { font-weight: 600; font-style: normal; }
864
+ .testimonial-role { font-size: 0.85rem; opacity: 0.75; }
865
+
866
+ /* countdown */
867
+ .countdown { text-align: center; }
868
+ .countdown-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }
869
+ .countdown-tiles { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
870
+ .countdown-tile { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 12px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.06); }
871
+ .countdown-value { font-size: 2rem; font-weight: 700; line-height: 1; }
872
+ .countdown-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin-top: 4px; }
873
+ .countdown-complete { font-size: 1.5rem; font-weight: 700; }
874
+
875
+ /* stats */
876
+ .stats { text-align: center; }
877
+ .stat-value { font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
878
+ .stat-label { font-size: 0.9rem; opacity: 0.75; margin-top: 4px; }
879
+
880
+ /* section dividers */
881
+ .sectionWithDivider { position: relative; overflow: hidden; }
882
+ .sectionDivider { position: absolute; left: 0; width: 100%; line-height: 0; pointer-events: none; overflow: hidden; z-index: 1; }
883
+ .sectionDivider svg { display: block; width: 100%; height: 100%; }
884
+
885
+ /* sermons layouts (grid / list / featuredLatest) */
886
+ .sermonGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding: 20px 0; }
887
+ .sermonList { display: flex; flex-direction: column; gap: 16px; padding: 20px 0; }
888
+ .sermonListItem { display: flex; gap: 16px; align-items: center; cursor: pointer; }
889
+ .sermonCard { cursor: pointer; }
890
+ .sermonFeatured { cursor: pointer; max-width: 960px; margin: 20px auto; }
891
+ .sermonThumb { position: relative; overflow: hidden; }
892
+ .sermonThumb img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center; }
893
+ .sermonThumbList { width: 220px; flex-shrink: 0; }
894
+ .sermonThumbList img { height: 124px; }
895
+ .sermonThumbFeatured img { height: 420px; }
896
+ .sermonPlayIcon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; opacity: 0.9; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
897
+ .sermonListBody { flex: 1; min-width: 0; }
898
+ .sermonCardTitle { font-size: 20px; font-weight: 500; margin: 8px 0 2px; color: #333; }
899
+ .sermonFeaturedTitle { font-size: 32px; font-weight: 600; margin: 12px 0 4px; color: #333; }
900
+ .sermonCardDate { font-size: 0.85rem; opacity: 0.7; }
901
+ .sermonListDesc { font-size: 0.9rem; opacity: 0.8; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
902
+
903
+ /* campaignProgress */
904
+ .campaignProgress { max-width: 720px; }
905
+ .campaign-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
906
+ .campaign-bar { height: 20px; border-radius: 10px; background: rgba(0, 0, 0, 0.1); overflow: hidden; }
907
+ .campaign-bar-fill { height: 100%; border-radius: 10px; background: var(--accent, #1565c0); transition: width 1.2s ease; }
908
+ .campaign-percent { font-size: 1.5rem; font-weight: 700; margin-top: 8px; }
909
+ .campaign-amounts { opacity: 0.85; }
910
+ .campaign-count { font-size: 0.85rem; opacity: 0.7; margin-top: 2px; }
911
+ .campaign-give { display: inline-block; margin-top: 12px; padding: 8px 20px; border-radius: 4px; background: var(--accent, #1565c0); color: #fff; text-decoration: none; }
912
+
913
+ /* staffGrid */
914
+ .staff-card { text-align: center; }
915
+ .staff-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; }
916
+ .staff-photo--placeholder { background: rgba(0, 0, 0, 0.08); }
917
+ .staff-name { font-weight: 600; margin-top: 10px; }
918
+ .staff-role { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; background: rgba(0, 0, 0, 0.08); }
919
+
920
+ /* serviceTimes */
921
+ .service-times-title { margin: 0 0 12px; }
922
+ .service-group { margin-bottom: 16px; }
923
+ .service-name { font-weight: 600; font-size: 1.1rem; }
924
+ .service-campus { font-size: 0.85rem; opacity: 0.7; }
925
+ .service-time-list { list-style: none; padding: 0; margin: 6px 0 0; }
926
+ .service-time { padding: 2px 0; opacity: 0.9; }
927
+
928
+ /* announcement banner */
929
+ .announcement-banner { position: sticky; top: 0; z-index: 1250; width: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 48px; text-align: center; box-sizing: border-box; }
930
+ .announcement-banner__text { font-weight: 500; }
931
+ .announcement-banner__link { text-decoration: underline; font-weight: 600; white-space: nowrap; }
932
+ .announcement-banner__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; opacity: 0.85; }
933
+ .announcement-banner__close:hover { opacity: 1; }
934
+
935
+ /* launcher (floating action hub) */
936
+ .launcher { position: fixed; bottom: 24px; z-index: 1300; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
937
+ .launcher--bottomRight { right: 24px; align-items: flex-end; }
938
+ .launcher--bottomLeft { left: 24px; align-items: flex-start; }
939
+ .launcher-actions { display: flex; flex-direction: column; gap: 10px; }
940
+ .launcher--bottomLeft .launcher-actions { align-items: flex-start; }
941
+ .launcher--bottomRight .launcher-actions { align-items: flex-end; }
942
+ .launcher-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 22px; background: #fff; color: #333; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
943
+ .launcher[data-open="true"] .launcher-action { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
944
+ .launcher-action-label { font-weight: 500; white-space: nowrap; }
945
+ .launcher-fab { width: 56px; height: 56px; border-radius: 50%; border: none; color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; align-self: flex-end; }
946
+ .launcher--bottomLeft .launcher-fab { align-self: flex-start; }
947
+ .launcher-fab-icon { transition: transform 0.25s ease; }
948
+ .launcher[data-open="true"] .launcher-fab-icon { transform: rotate(135deg); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@churchapps/apphelper",
3
- "version": "0.17.4",
3
+ "version": "0.18.0",
4
4
  "description": "Library of helper functions, components, and feature modules (donations/forms/login/markdown/website) for React and NextJS ChurchApps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -138,7 +138,7 @@
138
138
  "slug": "^11.0.0"
139
139
  },
140
140
  "devDependencies": {
141
- "@churchapps/helpers": "^1.8.2",
141
+ "@churchapps/helpers": "^1.9.0",
142
142
  "@eslint/js": "^10.0.1",
143
143
  "@stripe/react-stripe-js": "^3.10.0",
144
144
  "@stripe/stripe-js": "^7.9.0",