coveragebook_components 0.12.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/build/coco/app.css +6576 -5446
  3. data/app/assets/build/coco/app.js +3142 -3169
  4. data/app/assets/build/coco/book.css +5169 -2130
  5. data/app/assets/build/coco/book.js +3986 -1565
  6. data/app/assets/css/app.css +2 -8
  7. data/app/assets/css/base/config.css +1 -0
  8. data/app/assets/css/{base.css → base/setup.css} +7 -4
  9. data/app/assets/css/{shared → base}/tippy.css +18 -0
  10. data/app/assets/css/book.css +2 -4
  11. data/app/assets/js/app.js +25 -9
  12. data/app/assets/js/{libs → base}/alpine/directives/dropdown.js +1 -1
  13. data/app/assets/js/{libs → base}/alpine/directives/tooltip.js +1 -1
  14. data/app/assets/js/{libs → base}/alpine/index.js +7 -7
  15. data/app/assets/js/{libs → base}/alpine/utils/tippy_modifiers.js +1 -1
  16. data/app/assets/js/base/setup.js +8 -0
  17. data/app/assets/js/book.js +4 -4
  18. data/app/components/coco/app/{layouts/application/application.css → application_layout/application_layout.css} +2 -2
  19. data/app/components/coco/app/{layouts/application/application.js → application_layout/application_layout.js} +1 -1
  20. data/app/components/coco/app/application_layout/application_layout.rb +16 -0
  21. data/app/components/coco/app/contact_callout/contact_callout.rb +21 -0
  22. data/app/components/coco/app/faqs/faqs.rb +14 -0
  23. data/app/components/coco/app/{blocks/header → header}/header.js +1 -1
  24. data/app/components/coco/app/header/header.rb +33 -0
  25. data/app/components/coco/app/{blocks/nav_drawer → nav_drawer}/nav_drawer.css +1 -1
  26. data/app/components/coco/app/{blocks/nav_drawer → nav_drawer}/nav_drawer.js +1 -1
  27. data/app/components/coco/app/nav_drawer/nav_drawer.rb +32 -0
  28. data/app/components/coco/app/plan_card/plan_card.rb +39 -0
  29. data/app/components/coco/app/{blocks/plan_picker → plan_picker}/plan_picker.css +3 -3
  30. data/app/components/coco/app/{blocks/plan_picker → plan_picker}/plan_picker.js +1 -1
  31. data/app/components/coco/app/plan_picker/plan_picker.rb +25 -0
  32. data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/item/item.js +2 -2
  33. data/app/components/coco/app/sidebar_nav/item/item.rb +48 -0
  34. data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/menu/menu.js +1 -1
  35. data/app/components/coco/app/sidebar_nav/menu/menu.rb +46 -0
  36. data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/navbar/navbar.html.erb +1 -1
  37. data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/navbar/navbar.js +2 -2
  38. data/app/components/coco/app/sidebar_nav/navbar/navbar.rb +50 -0
  39. data/app/components/coco/app/{blocks/slide_editor → slide_editor}/slide_editor.js +2 -2
  40. data/app/components/coco/app/slide_editor/slide_editor.rb +114 -0
  41. data/app/components/coco/book/editable_slide/editable_slide.rb +72 -0
  42. data/app/components/coco/book/media_slide/media_slide.rb +12 -0
  43. data/app/components/coco/{shared → buttons}/button/button.js +1 -1
  44. data/app/components/coco/{shared → buttons}/button/button.rb +2 -2
  45. data/app/components/coco/{shared → buttons}/button/button_dropdown.js +1 -1
  46. data/app/components/coco/{shared → buttons}/button_group/button_group.js +2 -2
  47. data/app/components/coco/{shared → buttons}/button_to/button_to.rb +1 -1
  48. data/app/components/coco/{app/elements → buttons}/color_picker_button/color_picker_button.css +2 -2
  49. data/app/components/coco/{app/elements → buttons}/color_picker_button/color_picker_button.html.erb +1 -1
  50. data/app/components/coco/{app/elements → buttons}/color_picker_button/color_picker_button.js +2 -2
  51. data/app/components/coco/buttons/color_picker_button/color_picker_button.rb +53 -0
  52. data/app/components/coco/{app/elements → buttons}/confirm_panel/confirm_panel.css +1 -1
  53. data/app/components/coco/{app/elements → buttons}/confirm_panel/confirm_panel.html.erb +1 -1
  54. data/app/components/coco/{app/elements → buttons}/confirm_panel/confirm_panel.js +2 -2
  55. data/app/components/coco/buttons/confirm_panel/confirm_panel.rb +19 -0
  56. data/app/components/coco/{app/elements → buttons}/image_picker_button/image_picker_button.css +2 -2
  57. data/app/components/coco/{app/elements → buttons}/image_picker_button/image_picker_button.html.erb +1 -1
  58. data/app/components/coco/{app/elements → buttons}/image_picker_button/image_picker_button.js +2 -2
  59. data/app/components/coco/buttons/image_picker_button/image_picker_button.rb +44 -0
  60. data/app/components/coco/{app/elements → buttons}/layout_picker_button/layout_picker_button.css +11 -11
  61. data/app/components/coco/{app/elements → buttons}/layout_picker_button/layout_picker_button.html.erb +1 -1
  62. data/app/components/coco/{app/elements → buttons}/layout_picker_button/layout_picker_button.js +2 -2
  63. data/app/components/coco/buttons/layout_picker_button/layout_picker_button.rb +33 -0
  64. data/app/components/coco/{app/elements → buttons}/menu/menu.css +2 -4
  65. data/app/components/coco/buttons/menu/menu.rb +37 -0
  66. data/app/components/coco/{app/elements → buttons}/menu_button/menu_button.css +1 -1
  67. data/app/components/coco/{app/elements → buttons}/menu_button/menu_button.html.erb +1 -1
  68. data/app/components/coco/buttons/menu_button/menu_button.js +6 -0
  69. data/app/components/coco/buttons/menu_button/menu_button.rb +30 -0
  70. data/app/components/coco/{app/elements → buttons}/menu_items/user_profile/user_profile.css +1 -1
  71. data/app/components/coco/buttons/menu_items/user_profile/user_profile.rb +18 -0
  72. data/app/components/coco/{app/elements → buttons}/option_bar/option_bar.css +1 -1
  73. data/app/components/coco/buttons/option_bar/option_bar.rb +13 -0
  74. data/app/components/coco/{app/elements → buttons}/toolbar/toolbar.css +1 -1
  75. data/app/components/coco/{app/elements → buttons}/toolbar/toolbar.js +1 -1
  76. data/app/components/coco/buttons/toolbar/toolbar.rb +35 -0
  77. data/app/components/coco/component.rb +1 -1
  78. data/app/components/coco/concerns/acts_as_button_group.rb +4 -11
  79. data/app/components/coco/concerns/acts_as_field_with_html_options.rb +1 -1
  80. data/app/components/coco/concerns/acts_as_field_with_options.rb +2 -2
  81. data/app/components/coco/embeds/youtube_embed/youtube_embed.rb +16 -0
  82. data/app/components/coco/fields/button_component.rb +14 -0
  83. data/app/components/coco/fields/check_box_component.rb +7 -0
  84. data/app/components/coco/fields/collection_check_boxes_component.rb +7 -0
  85. data/app/components/coco/fields/collection_radio_buttons_component.rb +7 -0
  86. data/app/components/coco/fields/collection_select_component.rb +7 -0
  87. data/app/components/coco/fields/color_field_component.rb +7 -0
  88. data/app/components/coco/fields/date_field_component.rb +7 -0
  89. data/app/components/coco/fields/date_select_component.rb +7 -0
  90. data/app/components/coco/fields/datetime_local_field_component.rb +7 -0
  91. data/app/components/coco/fields/datetime_select_component.rb +7 -0
  92. data/app/components/coco/fields/email_field_component.rb +7 -0
  93. data/app/components/coco/fields/error_message_component.rb +7 -0
  94. data/app/components/coco/fields/file_field_component.rb +7 -0
  95. data/app/components/coco/fields/grouped_collection_select_component.rb +7 -0
  96. data/app/components/coco/fields/hint_component.rb +7 -0
  97. data/app/components/coco/fields/label_component.rb +7 -0
  98. data/app/components/coco/fields/month_field_component.rb +7 -0
  99. data/app/components/coco/fields/number_field_component.rb +7 -0
  100. data/app/components/coco/fields/password_field_component.rb +7 -0
  101. data/app/components/coco/fields/radio_button_component.rb +7 -0
  102. data/app/components/coco/fields/range_field_component.rb +7 -0
  103. data/app/components/coco/fields/search_field_component.rb +7 -0
  104. data/app/components/coco/fields/select_component.rb +7 -0
  105. data/app/components/coco/fields/submit_component.rb +14 -0
  106. data/app/components/coco/fields/telephone_field_component.rb +7 -0
  107. data/app/components/coco/fields/text_area_component.rb +7 -0
  108. data/app/components/coco/fields/text_field_component.rb +7 -0
  109. data/app/components/coco/fields/time_field_component.rb +7 -0
  110. data/app/components/coco/fields/time_select_component.rb +7 -0
  111. data/app/components/coco/fields/time_zone_select_component.rb +7 -0
  112. data/app/components/coco/fields/url_field_component.rb +7 -0
  113. data/app/components/coco/fields/week_field_component.rb +7 -0
  114. data/app/components/coco/fields/weekday_select_component.rb +7 -0
  115. data/app/components/coco/{shared → images}/icon/icon.js +1 -1
  116. data/app/components/coco/{shared → images}/image_uploader/image_uploader.js +1 -1
  117. data/app/components/coco/{app/elements → indicators}/stamp/stamp.css +1 -1
  118. data/app/components/coco/indicators/stamp/stamp.rb +25 -0
  119. data/app/components/coco/{app/layouts → layout}/page/page.css +5 -2
  120. data/app/components/coco/{app/layouts → layout}/page/page.js +1 -1
  121. data/app/components/coco/layout/page/page.rb +55 -0
  122. data/app/components/coco/{app/elements → messaging}/alert/alert.css +7 -7
  123. data/app/components/coco/{app/elements → messaging}/alert/alert.html.erb +1 -1
  124. data/app/components/coco/{app/elements → messaging}/alert/alert.js +2 -2
  125. data/app/components/coco/messaging/alert/alert.rb +75 -0
  126. data/app/components/coco/{app/elements → messaging}/notice/notice.css +1 -1
  127. data/app/components/coco/messaging/notice/notice.html.erb +5 -0
  128. data/app/components/coco/messaging/notice/notice.js +5 -0
  129. data/app/components/coco/messaging/notice/notice.rb +18 -0
  130. data/app/components/coco/{app/elements → messaging}/snackbar/snackbar.css +1 -1
  131. data/app/components/coco/{app/elements → messaging}/snackbar/snackbar.html.erb +1 -1
  132. data/app/components/coco/{app/elements → messaging}/snackbar/snackbar.js +2 -2
  133. data/app/components/coco/messaging/snackbar/snackbar.rb +34 -0
  134. data/app/components/coco/messaging/system_banner/system_banner.css +4 -0
  135. data/app/components/coco/messaging/system_banner/system_banner.html.erb +5 -0
  136. data/app/components/coco/{app/elements → messaging}/system_banner/system_banner.js +2 -2
  137. data/app/components/coco/messaging/system_banner/system_banner.rb +78 -0
  138. data/app/components/coco/{app/elements → messaging}/toast/toast.css +1 -1
  139. data/app/components/coco/{app/elements → messaging}/toast/toast.html.erb +1 -1
  140. data/app/components/coco/{app/elements → messaging}/toast/toast.js +2 -2
  141. data/app/components/coco/messaging/toast/toast.rb +19 -0
  142. data/app/components/coco/{shared → modals}/modal/modal.js +2 -2
  143. data/app/components/coco/{shared → modals}/modal/modal.rb +1 -0
  144. data/app/components/coco/{shared → modals}/modal_dialog/modal_dialog.js +1 -1
  145. data/app/components/coco/{shared → modals}/modal_lightbox/modal_lightbox.js +1 -1
  146. data/app/components/coco/{shared → navigation}/link/link.rb +1 -1
  147. data/app/components/coco/{shared/pager_link/pager_link.css → navigation/pager_button/pager_button.css} +1 -1
  148. data/app/components/coco/{shared/pager_link/pager_link.rb → navigation/pager_button/pager_button.rb} +1 -1
  149. data/app/components/coco/{app/elements → pickers}/color_picker/color_picker.css +11 -11
  150. data/app/components/coco/{app/elements → pickers}/color_picker/color_picker.html.erb +1 -1
  151. data/app/components/coco/{app/elements → pickers}/color_picker/color_picker.js +2 -2
  152. data/app/components/coco/pickers/color_picker/color_picker.rb +48 -0
  153. data/app/components/coco/{app/elements → pickers}/image_picker/image_picker.css +11 -11
  154. data/app/components/coco/{app/elements → pickers}/image_picker/image_picker.html.erb +1 -1
  155. data/app/components/coco/{app/elements → pickers}/image_picker/image_picker.js +2 -2
  156. data/app/components/coco/pickers/image_picker/image_picker.rb +20 -0
  157. data/app/components/coco/presented_component.rb +1 -1
  158. data/app/components/coco/{shared → utilities}/dropdown/dropdown.js +1 -1
  159. data/app/components/coco/{shared → utilities}/poll_controller/poll_controller.js +1 -1
  160. data/app/components/coco/{app/elements → utilities}/seamless_textarea/seamless_textarea.css +1 -1
  161. data/app/components/coco/{app/elements → utilities}/seamless_textarea/seamless_textarea.html.erb +1 -1
  162. data/app/components/coco/{app/elements → utilities}/seamless_textarea/seamless_textarea.js +2 -2
  163. data/app/components/coco/utilities/seamless_textarea/seamless_textarea.rb +25 -0
  164. data/app/helpers/coco/app_components_helper.rb +35 -0
  165. data/app/helpers/coco/book_components_helper.rb +11 -0
  166. data/app/helpers/coco/components_helper.rb +7 -0
  167. data/app/helpers/coco/core_components_helper.rb +257 -0
  168. data/app/helpers/coco/helpers.rb +2 -2
  169. data/app/helpers/coco/modal_helper.rb +22 -0
  170. data/config/locales/coco.en.yml +17 -18
  171. data/config/{tailwind.base.config.cjs → tailwind.config.cjs} +10 -0
  172. data/config/tokens.cjs +9 -23
  173. data/lib/coco/app_form_builder.rb +1 -1
  174. data/lib/coco/engine.rb +3 -3
  175. data/lib/coco.rb +1 -1
  176. metadata +251 -258
  177. data/app/assets/css/app/config.css +0 -1
  178. data/app/assets/css/app/tippy.css +0 -19
  179. data/app/assets/css/book/config.css +0 -1
  180. data/app/assets/js/app/components.js +0 -4
  181. data/app/assets/js/app/setup.js +0 -23
  182. data/app/assets/js/book/components.js +0 -4
  183. data/app/assets/js/shared/components.js +0 -4
  184. data/app/components/coco/app/blocks/contact_callout/contact_callout.rb +0 -23
  185. data/app/components/coco/app/blocks/faqs/faqs.rb +0 -16
  186. data/app/components/coco/app/blocks/header/header.rb +0 -35
  187. data/app/components/coco/app/blocks/nav_drawer/nav_drawer.rb +0 -34
  188. data/app/components/coco/app/blocks/plan_picker/plan_picker.rb +0 -27
  189. data/app/components/coco/app/blocks/sidebar_nav/item/item.rb +0 -50
  190. data/app/components/coco/app/blocks/sidebar_nav/menu/menu.rb +0 -48
  191. data/app/components/coco/app/blocks/sidebar_nav/navbar/navbar.rb +0 -50
  192. data/app/components/coco/app/blocks/slide_editor/slide_editor.rb +0 -116
  193. data/app/components/coco/app/elements/alert/alert.rb +0 -79
  194. data/app/components/coco/app/elements/color_picker/color_picker.rb +0 -53
  195. data/app/components/coco/app/elements/color_picker_button/color_picker_button.rb +0 -58
  196. data/app/components/coco/app/elements/confirm_panel/confirm_panel.rb +0 -23
  197. data/app/components/coco/app/elements/image_picker/image_picker.rb +0 -25
  198. data/app/components/coco/app/elements/image_picker_button/image_picker_button.rb +0 -49
  199. data/app/components/coco/app/elements/layout_picker_button/layout_picker_button.rb +0 -38
  200. data/app/components/coco/app/elements/menu/menu.rb +0 -41
  201. data/app/components/coco/app/elements/menu_button/menu_button.js +0 -6
  202. data/app/components/coco/app/elements/menu_button/menu_button.rb +0 -35
  203. data/app/components/coco/app/elements/menu_items/user_profile/user_profile.rb +0 -20
  204. data/app/components/coco/app/elements/notice/notice.html.erb +0 -5
  205. data/app/components/coco/app/elements/notice/notice.js +0 -5
  206. data/app/components/coco/app/elements/notice/notice.rb +0 -22
  207. data/app/components/coco/app/elements/option_bar/option_bar.rb +0 -17
  208. data/app/components/coco/app/elements/plan_card/plan_card.rb +0 -41
  209. data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.rb +0 -29
  210. data/app/components/coco/app/elements/snackbar/snackbar.rb +0 -38
  211. data/app/components/coco/app/elements/stamp/stamp.rb +0 -29
  212. data/app/components/coco/app/elements/system_banner/system_banner.css +0 -4
  213. data/app/components/coco/app/elements/system_banner/system_banner.html.erb +0 -5
  214. data/app/components/coco/app/elements/system_banner/system_banner.rb +0 -82
  215. data/app/components/coco/app/elements/toast/toast.rb +0 -23
  216. data/app/components/coco/app/elements/toolbar/toolbar.rb +0 -41
  217. data/app/components/coco/app/fields/button_component.rb +0 -16
  218. data/app/components/coco/app/fields/check_box_component.rb +0 -9
  219. data/app/components/coco/app/fields/collection_check_boxes_component.rb +0 -9
  220. data/app/components/coco/app/fields/collection_radio_buttons_component.rb +0 -9
  221. data/app/components/coco/app/fields/collection_select_component.rb +0 -9
  222. data/app/components/coco/app/fields/color_field_component.rb +0 -9
  223. data/app/components/coco/app/fields/date_field_component.rb +0 -9
  224. data/app/components/coco/app/fields/date_select_component.rb +0 -9
  225. data/app/components/coco/app/fields/datetime_local_field_component.rb +0 -9
  226. data/app/components/coco/app/fields/datetime_select_component.rb +0 -9
  227. data/app/components/coco/app/fields/email_field_component.rb +0 -9
  228. data/app/components/coco/app/fields/error_message_component.rb +0 -9
  229. data/app/components/coco/app/fields/file_field_component.rb +0 -9
  230. data/app/components/coco/app/fields/grouped_collection_select_component.rb +0 -9
  231. data/app/components/coco/app/fields/hint_component.rb +0 -9
  232. data/app/components/coco/app/fields/label_component.rb +0 -9
  233. data/app/components/coco/app/fields/month_field_component.rb +0 -9
  234. data/app/components/coco/app/fields/number_field_component.rb +0 -9
  235. data/app/components/coco/app/fields/password_field_component.rb +0 -9
  236. data/app/components/coco/app/fields/radio_button_component.rb +0 -9
  237. data/app/components/coco/app/fields/range_field_component.rb +0 -9
  238. data/app/components/coco/app/fields/search_field_component.rb +0 -9
  239. data/app/components/coco/app/fields/select_component.rb +0 -9
  240. data/app/components/coco/app/fields/submit_component.rb +0 -16
  241. data/app/components/coco/app/fields/telephone_field_component.rb +0 -9
  242. data/app/components/coco/app/fields/text_area_component.rb +0 -9
  243. data/app/components/coco/app/fields/text_field_component.rb +0 -9
  244. data/app/components/coco/app/fields/time_field_component.rb +0 -9
  245. data/app/components/coco/app/fields/time_select_component.rb +0 -9
  246. data/app/components/coco/app/fields/time_zone_select_component.rb +0 -9
  247. data/app/components/coco/app/fields/url_field_component.rb +0 -9
  248. data/app/components/coco/app/fields/week_field_component.rb +0 -9
  249. data/app/components/coco/app/fields/weekday_select_component.rb +0 -9
  250. data/app/components/coco/app/layouts/application/application.rb +0 -18
  251. data/app/components/coco/app/layouts/page/page.rb +0 -59
  252. data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.rb +0 -76
  253. data/app/components/coco/book/blocks/slides/media_slide/media_slide.rb +0 -16
  254. data/app/components/coco/shared/embeds/youtube/youtube.rb +0 -20
  255. data/app/helpers/coco/app_helper.rb +0 -141
  256. data/app/helpers/coco/book_helper.rb +0 -11
  257. data/app/helpers/coco/component_helper.rb +0 -15
  258. data/app/helpers/coco/shared_helper.rb +0 -111
  259. data/app/helpers/coco/url_helper.rb +0 -30
  260. data/config/tailwind.app.config.cjs +0 -21
  261. data/config/tailwind.book.config.cjs +0 -21
  262. /data/app/assets/css/{shared → base}/utils/colors.css +0 -0
  263. /data/app/assets/css/{shared → base}/utils/icons.css +0 -0
  264. /data/app/assets/css/{app/utils.css → base/utils/layout.css} +0 -0
  265. /data/app/assets/css/{shared → base}/utils/text.css +0 -0
  266. /data/app/assets/js/{libs → base}/alpine/directives/destroy.js +0 -0
  267. /data/app/assets/js/{libs → base}/alpine/directives/dimensions.js +0 -0
  268. /data/app/assets/js/{libs → base}/alpine/directives/notification.js +0 -0
  269. /data/app/assets/js/{libs → base}/alpine/directives/options.js +0 -0
  270. /data/app/assets/js/{libs → base}/alpine/directives/undo.js +0 -0
  271. /data/app/assets/js/{shared → base}/coco.js +0 -0
  272. /data/app/assets/js/{libs → base}/tippy/index.js +0 -0
  273. /data/app/assets/js/{libs → base}/tippy/plugins/hide_on_esc.js +0 -0
  274. /data/app/components/coco/app/{layouts/application/application.html.erb → application_layout/application_layout.html.erb} +0 -0
  275. /data/app/components/coco/app/{blocks/contact_callout → contact_callout}/contact_callout.css +0 -0
  276. /data/app/components/coco/app/{blocks/contact_callout → contact_callout}/contact_callout.html.erb +0 -0
  277. /data/app/components/coco/app/{blocks/faqs → faqs}/faqs.css +0 -0
  278. /data/app/components/coco/app/{blocks/faqs → faqs}/faqs.html.erb +0 -0
  279. /data/app/components/coco/app/{blocks/header → header}/header.css +0 -0
  280. /data/app/components/coco/app/{blocks/header → header}/header.html.erb +0 -0
  281. /data/app/components/coco/app/{blocks/nav_drawer → nav_drawer}/nav_drawer.html.erb +0 -0
  282. /data/app/components/coco/app/{elements/plan_card → plan_card}/plan_card.css +0 -0
  283. /data/app/components/coco/app/{elements/plan_card → plan_card}/plan_card.html.erb +0 -0
  284. /data/app/components/coco/app/{blocks/plan_picker → plan_picker}/plan_picker.html.erb +0 -0
  285. /data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/item/item.css +0 -0
  286. /data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/item/item.html.erb +0 -0
  287. /data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/menu/menu.css +0 -0
  288. /data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/menu/menu.html.erb +0 -0
  289. /data/app/components/coco/app/{blocks/sidebar_nav → sidebar_nav}/navbar/navbar.css +0 -0
  290. /data/app/components/coco/app/{blocks/slide_editor → slide_editor}/slide_editor.css +0 -0
  291. /data/app/components/coco/app/{blocks/slide_editor → slide_editor}/slide_editor.html.erb +0 -0
  292. /data/app/components/coco/book/{blocks/slides/editable_slide → editable_slide}/editable_slide.css +0 -0
  293. /data/app/components/coco/book/{blocks/slides/editable_slide → editable_slide}/editable_slide.html.erb +0 -0
  294. /data/app/components/coco/book/{blocks/slides/media_slide → media_slide}/media_slide.css +0 -0
  295. /data/app/components/coco/book/{blocks/slides/media_slide → media_slide}/media_slide.html.erb +0 -0
  296. /data/app/components/coco/{shared → buttons}/button/button.css +0 -0
  297. /data/app/components/coco/{shared → buttons}/button/button.html.erb +0 -0
  298. /data/app/components/coco/{shared → buttons}/button_group/button_group.css +0 -0
  299. /data/app/components/coco/{shared → buttons}/button_group/button_group.html.erb +0 -0
  300. /data/app/components/coco/{shared → buttons}/button_group/button_group.rb +0 -0
  301. /data/app/components/coco/{shared → buttons}/button_to/button_to.css +0 -0
  302. /data/app/components/coco/{shared → buttons}/button_to/button_to.html.erb +0 -0
  303. /data/app/components/coco/{app/elements → buttons}/menu/menu.html.erb +0 -0
  304. /data/app/components/coco/{app/elements → buttons}/menu_items/user_profile/user_profile.html.erb +0 -0
  305. /data/app/components/coco/{app/elements → buttons}/option_bar/option_bar.html.erb +0 -0
  306. /data/app/components/coco/{app/elements → buttons}/toolbar/toolbar.html.erb +0 -0
  307. /data/app/components/coco/{shared/embeds/youtube/youtube.css → embeds/youtube_embed/youtube_embed.css} +0 -0
  308. /data/app/components/coco/{shared/embeds/youtube/youtube.html.erb → embeds/youtube_embed/youtube_embed.html.erb} +0 -0
  309. /data/app/components/coco/{shared → images}/avatar/avatar.css +0 -0
  310. /data/app/components/coco/{shared → images}/avatar/avatar.rb +0 -0
  311. /data/app/components/coco/{shared → images}/icon/icon.css +0 -0
  312. /data/app/components/coco/{shared → images}/icon/icon.html.erb +0 -0
  313. /data/app/components/coco/{shared → images}/icon/icon.rb +0 -0
  314. /data/app/components/coco/{shared → images}/image/image.css +0 -0
  315. /data/app/components/coco/{shared → images}/image/image.rb +0 -0
  316. /data/app/components/coco/{shared → images}/image_uploader/image_uploader.css +0 -0
  317. /data/app/components/coco/{shared → images}/image_uploader/image_uploader.html.erb +0 -0
  318. /data/app/components/coco/{shared → images}/image_uploader/image_uploader.rb +0 -0
  319. /data/app/components/coco/{shared → images}/svg/svg.html.erb +0 -0
  320. /data/app/components/coco/{shared → images}/svg/svg.rb +0 -0
  321. /data/app/components/coco/{shared → indicators}/badge/badge.css +0 -0
  322. /data/app/components/coco/{shared → indicators}/badge/badge.html.erb +0 -0
  323. /data/app/components/coco/{shared → indicators}/badge/badge.rb +0 -0
  324. /data/app/components/coco/{app/elements → indicators}/stamp/stamp.html.erb +0 -0
  325. /data/app/components/coco/{app/layouts → layout}/page/page.html.erb +0 -0
  326. /data/app/components/coco/{shared → layout}/panel/panel.css +0 -0
  327. /data/app/components/coco/{shared → layout}/panel/panel.html.erb +0 -0
  328. /data/app/components/coco/{shared → layout}/panel/panel.rb +0 -0
  329. /data/app/components/coco/{shared → layout}/spacer/spacer.css +0 -0
  330. /data/app/components/coco/{shared → layout}/spacer/spacer.rb +0 -0
  331. /data/app/components/coco/{shared → layout}/stack/stack.css +0 -0
  332. /data/app/components/coco/{shared → layout}/stack/stack.html.erb +0 -0
  333. /data/app/components/coco/{shared → layout}/stack/stack.rb +0 -0
  334. /data/app/components/coco/{shared → modals}/modal/modal.css +0 -0
  335. /data/app/components/coco/{shared → modals}/modal/modal.html.erb +0 -0
  336. /data/app/components/coco/{shared → modals}/modal_dialog/modal_dialog.css +0 -0
  337. /data/app/components/coco/{shared → modals}/modal_dialog/modal_dialog.html.erb +0 -0
  338. /data/app/components/coco/{shared → modals}/modal_dialog/modal_dialog.rb +0 -0
  339. /data/app/components/coco/{shared → modals}/modal_lightbox/modal_lightbox.css +0 -0
  340. /data/app/components/coco/{shared → modals}/modal_lightbox/modal_lightbox.html.erb +0 -0
  341. /data/app/components/coco/{shared → modals}/modal_lightbox/modal_lightbox.rb +0 -0
  342. /data/app/components/coco/{shared → navigation}/link/link.css +0 -0
  343. /data/app/components/coco/{shared/pager_link/pager_link.html.erb → navigation/pager_button/pager_button.html.erb} +0 -0
  344. /data/app/components/coco/{shared → typography}/prose/prose.css +0 -0
  345. /data/app/components/coco/{shared → typography}/prose/prose.rb +0 -0
  346. /data/app/components/coco/{shared → utilities}/content/content.rb +0 -0
  347. /data/app/components/coco/{shared → utilities}/dropdown/dropdown.css +0 -0
  348. /data/app/components/coco/{shared → utilities}/dropdown/dropdown.html.erb +0 -0
  349. /data/app/components/coco/{shared → utilities}/dropdown/dropdown.rb +0 -0
  350. /data/app/components/coco/{shared → utilities}/placeholder/placeholder.css +0 -0
  351. /data/app/components/coco/{shared → utilities}/placeholder/placeholder.html.erb +0 -0
  352. /data/app/components/coco/{shared → utilities}/placeholder/placeholder.rb +0 -0
  353. /data/app/components/coco/{shared → utilities}/poll_controller/poll_controller.css +0 -0
  354. /data/app/components/coco/{shared → utilities}/poll_controller/poll_controller.html.erb +0 -0
  355. /data/app/components/coco/{shared → utilities}/poll_controller/poll_controller.rb +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coveragebook_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-21 00:00:00.000000000 Z
11
+ date: 2024-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -1422,16 +1422,14 @@ files:
1422
1422
  - app/assets/build/coco/img/test/slides/slide-foreground-portrait.jpg
1423
1423
  - app/assets/config/coco/manifest.js
1424
1424
  - app/assets/css/app.css
1425
- - app/assets/css/app/config.css
1426
- - app/assets/css/app/tippy.css
1427
- - app/assets/css/app/utils.css
1428
- - app/assets/css/base.css
1425
+ - app/assets/css/base/config.css
1426
+ - app/assets/css/base/setup.css
1427
+ - app/assets/css/base/tippy.css
1428
+ - app/assets/css/base/utils/colors.css
1429
+ - app/assets/css/base/utils/icons.css
1430
+ - app/assets/css/base/utils/layout.css
1431
+ - app/assets/css/base/utils/text.css
1429
1432
  - app/assets/css/book.css
1430
- - app/assets/css/book/config.css
1431
- - app/assets/css/shared/tippy.css
1432
- - app/assets/css/shared/utils/colors.css
1433
- - app/assets/css/shared/utils/icons.css
1434
- - app/assets/css/shared/utils/text.css
1435
1433
  - app/assets/custom_icons/other/eye-off-red.svg
1436
1434
  - app/assets/custom_icons/other/google-sso.svg
1437
1435
  - app/assets/custom_icons/other/layout-overlay.svg
@@ -1452,10 +1450,20 @@ files:
1452
1450
  - app/assets/img/test/slides/slide-foreground-landscape.jpg
1453
1451
  - app/assets/img/test/slides/slide-foreground-portrait.jpg
1454
1452
  - app/assets/js/app.js
1455
- - app/assets/js/app/components.js
1456
- - app/assets/js/app/setup.js
1453
+ - app/assets/js/base/alpine/directives/destroy.js
1454
+ - app/assets/js/base/alpine/directives/dimensions.js
1455
+ - app/assets/js/base/alpine/directives/dropdown.js
1456
+ - app/assets/js/base/alpine/directives/notification.js
1457
+ - app/assets/js/base/alpine/directives/options.js
1458
+ - app/assets/js/base/alpine/directives/tooltip.js
1459
+ - app/assets/js/base/alpine/directives/undo.js
1460
+ - app/assets/js/base/alpine/index.js
1461
+ - app/assets/js/base/alpine/utils/tippy_modifiers.js
1462
+ - app/assets/js/base/coco.js
1463
+ - app/assets/js/base/setup.js
1464
+ - app/assets/js/base/tippy/index.js
1465
+ - app/assets/js/base/tippy/plugins/hide_on_esc.js
1457
1466
  - app/assets/js/book.js
1458
- - app/assets/js/book/components.js
1459
1467
  - app/assets/js/helpers/alpine.js
1460
1468
  - app/assets/js/helpers/color.js
1461
1469
  - app/assets/js/helpers/dom.js
@@ -1465,171 +1473,98 @@ files:
1465
1473
  - app/assets/js/helpers/path.js
1466
1474
  - app/assets/js/helpers/screenshot.js
1467
1475
  - app/assets/js/helpers/turbo_events.js
1468
- - app/assets/js/libs/alpine/directives/destroy.js
1469
- - app/assets/js/libs/alpine/directives/dimensions.js
1470
- - app/assets/js/libs/alpine/directives/dropdown.js
1471
- - app/assets/js/libs/alpine/directives/notification.js
1472
- - app/assets/js/libs/alpine/directives/options.js
1473
- - app/assets/js/libs/alpine/directives/tooltip.js
1474
- - app/assets/js/libs/alpine/directives/undo.js
1475
- - app/assets/js/libs/alpine/index.js
1476
- - app/assets/js/libs/alpine/utils/tippy_modifiers.js
1477
- - app/assets/js/libs/tippy/index.js
1478
- - app/assets/js/libs/tippy/plugins/hide_on_esc.js
1479
- - app/assets/js/shared/coco.js
1480
- - app/assets/js/shared/components.js
1481
- - app/components/coco/app/blocks/contact_callout/contact_callout.css
1482
- - app/components/coco/app/blocks/contact_callout/contact_callout.html.erb
1483
- - app/components/coco/app/blocks/contact_callout/contact_callout.rb
1484
- - app/components/coco/app/blocks/faqs/faqs.css
1485
- - app/components/coco/app/blocks/faqs/faqs.html.erb
1486
- - app/components/coco/app/blocks/faqs/faqs.rb
1487
- - app/components/coco/app/blocks/header/header.css
1488
- - app/components/coco/app/blocks/header/header.html.erb
1489
- - app/components/coco/app/blocks/header/header.js
1490
- - app/components/coco/app/blocks/header/header.rb
1491
- - app/components/coco/app/blocks/nav_drawer/nav_drawer.css
1492
- - app/components/coco/app/blocks/nav_drawer/nav_drawer.html.erb
1493
- - app/components/coco/app/blocks/nav_drawer/nav_drawer.js
1494
- - app/components/coco/app/blocks/nav_drawer/nav_drawer.rb
1495
- - app/components/coco/app/blocks/plan_picker/plan_picker.css
1496
- - app/components/coco/app/blocks/plan_picker/plan_picker.html.erb
1497
- - app/components/coco/app/blocks/plan_picker/plan_picker.js
1498
- - app/components/coco/app/blocks/plan_picker/plan_picker.rb
1499
- - app/components/coco/app/blocks/sidebar_nav/item/item.css
1500
- - app/components/coco/app/blocks/sidebar_nav/item/item.html.erb
1501
- - app/components/coco/app/blocks/sidebar_nav/item/item.js
1502
- - app/components/coco/app/blocks/sidebar_nav/item/item.rb
1503
- - app/components/coco/app/blocks/sidebar_nav/menu/menu.css
1504
- - app/components/coco/app/blocks/sidebar_nav/menu/menu.html.erb
1505
- - app/components/coco/app/blocks/sidebar_nav/menu/menu.js
1506
- - app/components/coco/app/blocks/sidebar_nav/menu/menu.rb
1507
- - app/components/coco/app/blocks/sidebar_nav/navbar/navbar.css
1508
- - app/components/coco/app/blocks/sidebar_nav/navbar/navbar.html.erb
1509
- - app/components/coco/app/blocks/sidebar_nav/navbar/navbar.js
1510
- - app/components/coco/app/blocks/sidebar_nav/navbar/navbar.rb
1511
- - app/components/coco/app/blocks/slide_editor/slide_editor.css
1512
- - app/components/coco/app/blocks/slide_editor/slide_editor.html.erb
1513
- - app/components/coco/app/blocks/slide_editor/slide_editor.js
1514
- - app/components/coco/app/blocks/slide_editor/slide_editor.rb
1515
- - app/components/coco/app/elements/alert/alert.css
1516
- - app/components/coco/app/elements/alert/alert.html.erb
1517
- - app/components/coco/app/elements/alert/alert.js
1518
- - app/components/coco/app/elements/alert/alert.rb
1519
- - app/components/coco/app/elements/color_picker/color_picker.css
1520
- - app/components/coco/app/elements/color_picker/color_picker.html.erb
1521
- - app/components/coco/app/elements/color_picker/color_picker.js
1522
- - app/components/coco/app/elements/color_picker/color_picker.rb
1523
- - app/components/coco/app/elements/color_picker_button/color_picker_button.css
1524
- - app/components/coco/app/elements/color_picker_button/color_picker_button.html.erb
1525
- - app/components/coco/app/elements/color_picker_button/color_picker_button.js
1526
- - app/components/coco/app/elements/color_picker_button/color_picker_button.rb
1527
- - app/components/coco/app/elements/confirm_panel/confirm_panel.css
1528
- - app/components/coco/app/elements/confirm_panel/confirm_panel.html.erb
1529
- - app/components/coco/app/elements/confirm_panel/confirm_panel.js
1530
- - app/components/coco/app/elements/confirm_panel/confirm_panel.rb
1531
- - app/components/coco/app/elements/image_picker/image_picker.css
1532
- - app/components/coco/app/elements/image_picker/image_picker.html.erb
1533
- - app/components/coco/app/elements/image_picker/image_picker.js
1534
- - app/components/coco/app/elements/image_picker/image_picker.rb
1535
- - app/components/coco/app/elements/image_picker_button/image_picker_button.css
1536
- - app/components/coco/app/elements/image_picker_button/image_picker_button.html.erb
1537
- - app/components/coco/app/elements/image_picker_button/image_picker_button.js
1538
- - app/components/coco/app/elements/image_picker_button/image_picker_button.rb
1539
- - app/components/coco/app/elements/layout_picker_button/layout_picker_button.css
1540
- - app/components/coco/app/elements/layout_picker_button/layout_picker_button.html.erb
1541
- - app/components/coco/app/elements/layout_picker_button/layout_picker_button.js
1542
- - app/components/coco/app/elements/layout_picker_button/layout_picker_button.rb
1543
- - app/components/coco/app/elements/menu/menu.css
1544
- - app/components/coco/app/elements/menu/menu.html.erb
1545
- - app/components/coco/app/elements/menu/menu.rb
1546
- - app/components/coco/app/elements/menu_button/menu_button.css
1547
- - app/components/coco/app/elements/menu_button/menu_button.html.erb
1548
- - app/components/coco/app/elements/menu_button/menu_button.js
1549
- - app/components/coco/app/elements/menu_button/menu_button.rb
1550
- - app/components/coco/app/elements/menu_items/user_profile/user_profile.css
1551
- - app/components/coco/app/elements/menu_items/user_profile/user_profile.html.erb
1552
- - app/components/coco/app/elements/menu_items/user_profile/user_profile.rb
1553
- - app/components/coco/app/elements/notice/notice.css
1554
- - app/components/coco/app/elements/notice/notice.html.erb
1555
- - app/components/coco/app/elements/notice/notice.js
1556
- - app/components/coco/app/elements/notice/notice.rb
1557
- - app/components/coco/app/elements/option_bar/option_bar.css
1558
- - app/components/coco/app/elements/option_bar/option_bar.html.erb
1559
- - app/components/coco/app/elements/option_bar/option_bar.rb
1560
- - app/components/coco/app/elements/plan_card/plan_card.css
1561
- - app/components/coco/app/elements/plan_card/plan_card.html.erb
1562
- - app/components/coco/app/elements/plan_card/plan_card.rb
1563
- - app/components/coco/app/elements/seamless_textarea/seamless_textarea.css
1564
- - app/components/coco/app/elements/seamless_textarea/seamless_textarea.html.erb
1565
- - app/components/coco/app/elements/seamless_textarea/seamless_textarea.js
1566
- - app/components/coco/app/elements/seamless_textarea/seamless_textarea.rb
1567
- - app/components/coco/app/elements/snackbar/snackbar.css
1568
- - app/components/coco/app/elements/snackbar/snackbar.html.erb
1569
- - app/components/coco/app/elements/snackbar/snackbar.js
1570
- - app/components/coco/app/elements/snackbar/snackbar.rb
1571
- - app/components/coco/app/elements/stamp/stamp.css
1572
- - app/components/coco/app/elements/stamp/stamp.html.erb
1573
- - app/components/coco/app/elements/stamp/stamp.rb
1574
- - app/components/coco/app/elements/system_banner/system_banner.css
1575
- - app/components/coco/app/elements/system_banner/system_banner.html.erb
1576
- - app/components/coco/app/elements/system_banner/system_banner.js
1577
- - app/components/coco/app/elements/system_banner/system_banner.rb
1578
- - app/components/coco/app/elements/toast/toast.css
1579
- - app/components/coco/app/elements/toast/toast.html.erb
1580
- - app/components/coco/app/elements/toast/toast.js
1581
- - app/components/coco/app/elements/toast/toast.rb
1582
- - app/components/coco/app/elements/toolbar/toolbar.css
1583
- - app/components/coco/app/elements/toolbar/toolbar.html.erb
1584
- - app/components/coco/app/elements/toolbar/toolbar.js
1585
- - app/components/coco/app/elements/toolbar/toolbar.rb
1586
- - app/components/coco/app/fields/button_component.rb
1587
- - app/components/coco/app/fields/check_box_component.rb
1588
- - app/components/coco/app/fields/collection_check_boxes_component.rb
1589
- - app/components/coco/app/fields/collection_radio_buttons_component.rb
1590
- - app/components/coco/app/fields/collection_select_component.rb
1591
- - app/components/coco/app/fields/color_field_component.rb
1592
- - app/components/coco/app/fields/date_field_component.rb
1593
- - app/components/coco/app/fields/date_select_component.rb
1594
- - app/components/coco/app/fields/datetime_local_field_component.rb
1595
- - app/components/coco/app/fields/datetime_select_component.rb
1596
- - app/components/coco/app/fields/email_field_component.rb
1597
- - app/components/coco/app/fields/error_message_component.rb
1598
- - app/components/coco/app/fields/file_field_component.rb
1599
- - app/components/coco/app/fields/grouped_collection_select_component.rb
1600
- - app/components/coco/app/fields/hint_component.rb
1601
- - app/components/coco/app/fields/label_component.rb
1602
- - app/components/coco/app/fields/month_field_component.rb
1603
- - app/components/coco/app/fields/number_field_component.rb
1604
- - app/components/coco/app/fields/password_field_component.rb
1605
- - app/components/coco/app/fields/radio_button_component.rb
1606
- - app/components/coco/app/fields/range_field_component.rb
1607
- - app/components/coco/app/fields/search_field_component.rb
1608
- - app/components/coco/app/fields/select_component.rb
1609
- - app/components/coco/app/fields/submit_component.rb
1610
- - app/components/coco/app/fields/telephone_field_component.rb
1611
- - app/components/coco/app/fields/text_area_component.rb
1612
- - app/components/coco/app/fields/text_field_component.rb
1613
- - app/components/coco/app/fields/time_field_component.rb
1614
- - app/components/coco/app/fields/time_select_component.rb
1615
- - app/components/coco/app/fields/time_zone_select_component.rb
1616
- - app/components/coco/app/fields/url_field_component.rb
1617
- - app/components/coco/app/fields/week_field_component.rb
1618
- - app/components/coco/app/fields/weekday_select_component.rb
1619
- - app/components/coco/app/layouts/application/application.css
1620
- - app/components/coco/app/layouts/application/application.html.erb
1621
- - app/components/coco/app/layouts/application/application.js
1622
- - app/components/coco/app/layouts/application/application.rb
1623
- - app/components/coco/app/layouts/page/page.css
1624
- - app/components/coco/app/layouts/page/page.html.erb
1625
- - app/components/coco/app/layouts/page/page.js
1626
- - app/components/coco/app/layouts/page/page.rb
1627
- - app/components/coco/book/blocks/slides/editable_slide/editable_slide.css
1628
- - app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb
1629
- - app/components/coco/book/blocks/slides/editable_slide/editable_slide.rb
1630
- - app/components/coco/book/blocks/slides/media_slide/media_slide.css
1631
- - app/components/coco/book/blocks/slides/media_slide/media_slide.html.erb
1632
- - app/components/coco/book/blocks/slides/media_slide/media_slide.rb
1476
+ - app/components/coco/app/application_layout/application_layout.css
1477
+ - app/components/coco/app/application_layout/application_layout.html.erb
1478
+ - app/components/coco/app/application_layout/application_layout.js
1479
+ - app/components/coco/app/application_layout/application_layout.rb
1480
+ - app/components/coco/app/contact_callout/contact_callout.css
1481
+ - app/components/coco/app/contact_callout/contact_callout.html.erb
1482
+ - app/components/coco/app/contact_callout/contact_callout.rb
1483
+ - app/components/coco/app/faqs/faqs.css
1484
+ - app/components/coco/app/faqs/faqs.html.erb
1485
+ - app/components/coco/app/faqs/faqs.rb
1486
+ - app/components/coco/app/header/header.css
1487
+ - app/components/coco/app/header/header.html.erb
1488
+ - app/components/coco/app/header/header.js
1489
+ - app/components/coco/app/header/header.rb
1490
+ - app/components/coco/app/nav_drawer/nav_drawer.css
1491
+ - app/components/coco/app/nav_drawer/nav_drawer.html.erb
1492
+ - app/components/coco/app/nav_drawer/nav_drawer.js
1493
+ - app/components/coco/app/nav_drawer/nav_drawer.rb
1494
+ - app/components/coco/app/plan_card/plan_card.css
1495
+ - app/components/coco/app/plan_card/plan_card.html.erb
1496
+ - app/components/coco/app/plan_card/plan_card.rb
1497
+ - app/components/coco/app/plan_picker/plan_picker.css
1498
+ - app/components/coco/app/plan_picker/plan_picker.html.erb
1499
+ - app/components/coco/app/plan_picker/plan_picker.js
1500
+ - app/components/coco/app/plan_picker/plan_picker.rb
1501
+ - app/components/coco/app/sidebar_nav/item/item.css
1502
+ - app/components/coco/app/sidebar_nav/item/item.html.erb
1503
+ - app/components/coco/app/sidebar_nav/item/item.js
1504
+ - app/components/coco/app/sidebar_nav/item/item.rb
1505
+ - app/components/coco/app/sidebar_nav/menu/menu.css
1506
+ - app/components/coco/app/sidebar_nav/menu/menu.html.erb
1507
+ - app/components/coco/app/sidebar_nav/menu/menu.js
1508
+ - app/components/coco/app/sidebar_nav/menu/menu.rb
1509
+ - app/components/coco/app/sidebar_nav/navbar/navbar.css
1510
+ - app/components/coco/app/sidebar_nav/navbar/navbar.html.erb
1511
+ - app/components/coco/app/sidebar_nav/navbar/navbar.js
1512
+ - app/components/coco/app/sidebar_nav/navbar/navbar.rb
1513
+ - app/components/coco/app/slide_editor/slide_editor.css
1514
+ - app/components/coco/app/slide_editor/slide_editor.html.erb
1515
+ - app/components/coco/app/slide_editor/slide_editor.js
1516
+ - app/components/coco/app/slide_editor/slide_editor.rb
1517
+ - app/components/coco/book/editable_slide/editable_slide.css
1518
+ - app/components/coco/book/editable_slide/editable_slide.html.erb
1519
+ - app/components/coco/book/editable_slide/editable_slide.rb
1520
+ - app/components/coco/book/media_slide/media_slide.css
1521
+ - app/components/coco/book/media_slide/media_slide.html.erb
1522
+ - app/components/coco/book/media_slide/media_slide.rb
1523
+ - app/components/coco/buttons/button/button.css
1524
+ - app/components/coco/buttons/button/button.html.erb
1525
+ - app/components/coco/buttons/button/button.js
1526
+ - app/components/coco/buttons/button/button.rb
1527
+ - app/components/coco/buttons/button/button_dropdown.js
1528
+ - app/components/coco/buttons/button_group/button_group.css
1529
+ - app/components/coco/buttons/button_group/button_group.html.erb
1530
+ - app/components/coco/buttons/button_group/button_group.js
1531
+ - app/components/coco/buttons/button_group/button_group.rb
1532
+ - app/components/coco/buttons/button_to/button_to.css
1533
+ - app/components/coco/buttons/button_to/button_to.html.erb
1534
+ - app/components/coco/buttons/button_to/button_to.rb
1535
+ - app/components/coco/buttons/color_picker_button/color_picker_button.css
1536
+ - app/components/coco/buttons/color_picker_button/color_picker_button.html.erb
1537
+ - app/components/coco/buttons/color_picker_button/color_picker_button.js
1538
+ - app/components/coco/buttons/color_picker_button/color_picker_button.rb
1539
+ - app/components/coco/buttons/confirm_panel/confirm_panel.css
1540
+ - app/components/coco/buttons/confirm_panel/confirm_panel.html.erb
1541
+ - app/components/coco/buttons/confirm_panel/confirm_panel.js
1542
+ - app/components/coco/buttons/confirm_panel/confirm_panel.rb
1543
+ - app/components/coco/buttons/image_picker_button/image_picker_button.css
1544
+ - app/components/coco/buttons/image_picker_button/image_picker_button.html.erb
1545
+ - app/components/coco/buttons/image_picker_button/image_picker_button.js
1546
+ - app/components/coco/buttons/image_picker_button/image_picker_button.rb
1547
+ - app/components/coco/buttons/layout_picker_button/layout_picker_button.css
1548
+ - app/components/coco/buttons/layout_picker_button/layout_picker_button.html.erb
1549
+ - app/components/coco/buttons/layout_picker_button/layout_picker_button.js
1550
+ - app/components/coco/buttons/layout_picker_button/layout_picker_button.rb
1551
+ - app/components/coco/buttons/menu/menu.css
1552
+ - app/components/coco/buttons/menu/menu.html.erb
1553
+ - app/components/coco/buttons/menu/menu.rb
1554
+ - app/components/coco/buttons/menu_button/menu_button.css
1555
+ - app/components/coco/buttons/menu_button/menu_button.html.erb
1556
+ - app/components/coco/buttons/menu_button/menu_button.js
1557
+ - app/components/coco/buttons/menu_button/menu_button.rb
1558
+ - app/components/coco/buttons/menu_items/user_profile/user_profile.css
1559
+ - app/components/coco/buttons/menu_items/user_profile/user_profile.html.erb
1560
+ - app/components/coco/buttons/menu_items/user_profile/user_profile.rb
1561
+ - app/components/coco/buttons/option_bar/option_bar.css
1562
+ - app/components/coco/buttons/option_bar/option_bar.html.erb
1563
+ - app/components/coco/buttons/option_bar/option_bar.rb
1564
+ - app/components/coco/buttons/toolbar/toolbar.css
1565
+ - app/components/coco/buttons/toolbar/toolbar.html.erb
1566
+ - app/components/coco/buttons/toolbar/toolbar.js
1567
+ - app/components/coco/buttons/toolbar/toolbar.rb
1633
1568
  - app/components/coco/component.rb
1634
1569
  - app/components/coco/concerns/accepts_options.rb
1635
1570
  - app/components/coco/concerns/accepts_tag_attributes.rb
@@ -1647,94 +1582,152 @@ files:
1647
1582
  - app/components/coco/concerns/with_icon.rb
1648
1583
  - app/components/coco/concerns/with_tooltip.rb
1649
1584
  - app/components/coco/concerns/wraps_component.rb
1585
+ - app/components/coco/embeds/youtube_embed/youtube_embed.css
1586
+ - app/components/coco/embeds/youtube_embed/youtube_embed.html.erb
1587
+ - app/components/coco/embeds/youtube_embed/youtube_embed.rb
1588
+ - app/components/coco/fields/button_component.rb
1589
+ - app/components/coco/fields/check_box_component.rb
1590
+ - app/components/coco/fields/collection_check_boxes_component.rb
1591
+ - app/components/coco/fields/collection_radio_buttons_component.rb
1592
+ - app/components/coco/fields/collection_select_component.rb
1593
+ - app/components/coco/fields/color_field_component.rb
1594
+ - app/components/coco/fields/date_field_component.rb
1595
+ - app/components/coco/fields/date_select_component.rb
1596
+ - app/components/coco/fields/datetime_local_field_component.rb
1597
+ - app/components/coco/fields/datetime_select_component.rb
1598
+ - app/components/coco/fields/email_field_component.rb
1599
+ - app/components/coco/fields/error_message_component.rb
1600
+ - app/components/coco/fields/file_field_component.rb
1601
+ - app/components/coco/fields/grouped_collection_select_component.rb
1602
+ - app/components/coco/fields/hint_component.rb
1603
+ - app/components/coco/fields/label_component.rb
1604
+ - app/components/coco/fields/month_field_component.rb
1605
+ - app/components/coco/fields/number_field_component.rb
1606
+ - app/components/coco/fields/password_field_component.rb
1607
+ - app/components/coco/fields/radio_button_component.rb
1608
+ - app/components/coco/fields/range_field_component.rb
1609
+ - app/components/coco/fields/search_field_component.rb
1610
+ - app/components/coco/fields/select_component.rb
1611
+ - app/components/coco/fields/submit_component.rb
1612
+ - app/components/coco/fields/telephone_field_component.rb
1613
+ - app/components/coco/fields/text_area_component.rb
1614
+ - app/components/coco/fields/text_field_component.rb
1615
+ - app/components/coco/fields/time_field_component.rb
1616
+ - app/components/coco/fields/time_select_component.rb
1617
+ - app/components/coco/fields/time_zone_select_component.rb
1618
+ - app/components/coco/fields/url_field_component.rb
1619
+ - app/components/coco/fields/week_field_component.rb
1620
+ - app/components/coco/fields/weekday_select_component.rb
1621
+ - app/components/coco/images/avatar/avatar.css
1622
+ - app/components/coco/images/avatar/avatar.rb
1623
+ - app/components/coco/images/icon/icon.css
1624
+ - app/components/coco/images/icon/icon.html.erb
1625
+ - app/components/coco/images/icon/icon.js
1626
+ - app/components/coco/images/icon/icon.rb
1627
+ - app/components/coco/images/image/image.css
1628
+ - app/components/coco/images/image/image.rb
1629
+ - app/components/coco/images/image_uploader/image_uploader.css
1630
+ - app/components/coco/images/image_uploader/image_uploader.html.erb
1631
+ - app/components/coco/images/image_uploader/image_uploader.js
1632
+ - app/components/coco/images/image_uploader/image_uploader.rb
1633
+ - app/components/coco/images/svg/svg.html.erb
1634
+ - app/components/coco/images/svg/svg.rb
1635
+ - app/components/coco/indicators/badge/badge.css
1636
+ - app/components/coco/indicators/badge/badge.html.erb
1637
+ - app/components/coco/indicators/badge/badge.rb
1638
+ - app/components/coco/indicators/stamp/stamp.css
1639
+ - app/components/coco/indicators/stamp/stamp.html.erb
1640
+ - app/components/coco/indicators/stamp/stamp.rb
1641
+ - app/components/coco/layout/page/page.css
1642
+ - app/components/coco/layout/page/page.html.erb
1643
+ - app/components/coco/layout/page/page.js
1644
+ - app/components/coco/layout/page/page.rb
1645
+ - app/components/coco/layout/panel/panel.css
1646
+ - app/components/coco/layout/panel/panel.html.erb
1647
+ - app/components/coco/layout/panel/panel.rb
1648
+ - app/components/coco/layout/spacer/spacer.css
1649
+ - app/components/coco/layout/spacer/spacer.rb
1650
+ - app/components/coco/layout/stack/stack.css
1651
+ - app/components/coco/layout/stack/stack.html.erb
1652
+ - app/components/coco/layout/stack/stack.rb
1653
+ - app/components/coco/messaging/alert/alert.css
1654
+ - app/components/coco/messaging/alert/alert.html.erb
1655
+ - app/components/coco/messaging/alert/alert.js
1656
+ - app/components/coco/messaging/alert/alert.rb
1657
+ - app/components/coco/messaging/notice/notice.css
1658
+ - app/components/coco/messaging/notice/notice.html.erb
1659
+ - app/components/coco/messaging/notice/notice.js
1660
+ - app/components/coco/messaging/notice/notice.rb
1661
+ - app/components/coco/messaging/snackbar/snackbar.css
1662
+ - app/components/coco/messaging/snackbar/snackbar.html.erb
1663
+ - app/components/coco/messaging/snackbar/snackbar.js
1664
+ - app/components/coco/messaging/snackbar/snackbar.rb
1665
+ - app/components/coco/messaging/system_banner/system_banner.css
1666
+ - app/components/coco/messaging/system_banner/system_banner.html.erb
1667
+ - app/components/coco/messaging/system_banner/system_banner.js
1668
+ - app/components/coco/messaging/system_banner/system_banner.rb
1669
+ - app/components/coco/messaging/toast/toast.css
1670
+ - app/components/coco/messaging/toast/toast.html.erb
1671
+ - app/components/coco/messaging/toast/toast.js
1672
+ - app/components/coco/messaging/toast/toast.rb
1673
+ - app/components/coco/modals/modal/modal.css
1674
+ - app/components/coco/modals/modal/modal.html.erb
1675
+ - app/components/coco/modals/modal/modal.js
1676
+ - app/components/coco/modals/modal/modal.rb
1677
+ - app/components/coco/modals/modal_dialog/modal_dialog.css
1678
+ - app/components/coco/modals/modal_dialog/modal_dialog.html.erb
1679
+ - app/components/coco/modals/modal_dialog/modal_dialog.js
1680
+ - app/components/coco/modals/modal_dialog/modal_dialog.rb
1681
+ - app/components/coco/modals/modal_lightbox/modal_lightbox.css
1682
+ - app/components/coco/modals/modal_lightbox/modal_lightbox.html.erb
1683
+ - app/components/coco/modals/modal_lightbox/modal_lightbox.js
1684
+ - app/components/coco/modals/modal_lightbox/modal_lightbox.rb
1685
+ - app/components/coco/navigation/link/link.css
1686
+ - app/components/coco/navigation/link/link.rb
1687
+ - app/components/coco/navigation/pager_button/pager_button.css
1688
+ - app/components/coco/navigation/pager_button/pager_button.html.erb
1689
+ - app/components/coco/navigation/pager_button/pager_button.rb
1690
+ - app/components/coco/pickers/color_picker/color_picker.css
1691
+ - app/components/coco/pickers/color_picker/color_picker.html.erb
1692
+ - app/components/coco/pickers/color_picker/color_picker.js
1693
+ - app/components/coco/pickers/color_picker/color_picker.rb
1694
+ - app/components/coco/pickers/image_picker/image_picker.css
1695
+ - app/components/coco/pickers/image_picker/image_picker.html.erb
1696
+ - app/components/coco/pickers/image_picker/image_picker.js
1697
+ - app/components/coco/pickers/image_picker/image_picker.rb
1650
1698
  - app/components/coco/presented_component.rb
1651
- - app/components/coco/shared/avatar/avatar.css
1652
- - app/components/coco/shared/avatar/avatar.rb
1653
- - app/components/coco/shared/badge/badge.css
1654
- - app/components/coco/shared/badge/badge.html.erb
1655
- - app/components/coco/shared/badge/badge.rb
1656
- - app/components/coco/shared/button/button.css
1657
- - app/components/coco/shared/button/button.html.erb
1658
- - app/components/coco/shared/button/button.js
1659
- - app/components/coco/shared/button/button.rb
1660
- - app/components/coco/shared/button/button_dropdown.js
1661
- - app/components/coco/shared/button_group/button_group.css
1662
- - app/components/coco/shared/button_group/button_group.html.erb
1663
- - app/components/coco/shared/button_group/button_group.js
1664
- - app/components/coco/shared/button_group/button_group.rb
1665
- - app/components/coco/shared/button_to/button_to.css
1666
- - app/components/coco/shared/button_to/button_to.html.erb
1667
- - app/components/coco/shared/button_to/button_to.rb
1668
- - app/components/coco/shared/content/content.rb
1669
- - app/components/coco/shared/dropdown/dropdown.css
1670
- - app/components/coco/shared/dropdown/dropdown.html.erb
1671
- - app/components/coco/shared/dropdown/dropdown.js
1672
- - app/components/coco/shared/dropdown/dropdown.rb
1673
- - app/components/coco/shared/embeds/youtube/youtube.css
1674
- - app/components/coco/shared/embeds/youtube/youtube.html.erb
1675
- - app/components/coco/shared/embeds/youtube/youtube.rb
1676
- - app/components/coco/shared/icon/icon.css
1677
- - app/components/coco/shared/icon/icon.html.erb
1678
- - app/components/coco/shared/icon/icon.js
1679
- - app/components/coco/shared/icon/icon.rb
1680
- - app/components/coco/shared/image/image.css
1681
- - app/components/coco/shared/image/image.rb
1682
- - app/components/coco/shared/image_uploader/image_uploader.css
1683
- - app/components/coco/shared/image_uploader/image_uploader.html.erb
1684
- - app/components/coco/shared/image_uploader/image_uploader.js
1685
- - app/components/coco/shared/image_uploader/image_uploader.rb
1686
- - app/components/coco/shared/link/link.css
1687
- - app/components/coco/shared/link/link.rb
1688
- - app/components/coco/shared/modal/modal.css
1689
- - app/components/coco/shared/modal/modal.html.erb
1690
- - app/components/coco/shared/modal/modal.js
1691
- - app/components/coco/shared/modal/modal.rb
1692
- - app/components/coco/shared/modal_dialog/modal_dialog.css
1693
- - app/components/coco/shared/modal_dialog/modal_dialog.html.erb
1694
- - app/components/coco/shared/modal_dialog/modal_dialog.js
1695
- - app/components/coco/shared/modal_dialog/modal_dialog.rb
1696
- - app/components/coco/shared/modal_lightbox/modal_lightbox.css
1697
- - app/components/coco/shared/modal_lightbox/modal_lightbox.html.erb
1698
- - app/components/coco/shared/modal_lightbox/modal_lightbox.js
1699
- - app/components/coco/shared/modal_lightbox/modal_lightbox.rb
1700
- - app/components/coco/shared/pager_link/pager_link.css
1701
- - app/components/coco/shared/pager_link/pager_link.html.erb
1702
- - app/components/coco/shared/pager_link/pager_link.rb
1703
- - app/components/coco/shared/panel/panel.css
1704
- - app/components/coco/shared/panel/panel.html.erb
1705
- - app/components/coco/shared/panel/panel.rb
1706
- - app/components/coco/shared/placeholder/placeholder.css
1707
- - app/components/coco/shared/placeholder/placeholder.html.erb
1708
- - app/components/coco/shared/placeholder/placeholder.rb
1709
- - app/components/coco/shared/poll_controller/poll_controller.css
1710
- - app/components/coco/shared/poll_controller/poll_controller.html.erb
1711
- - app/components/coco/shared/poll_controller/poll_controller.js
1712
- - app/components/coco/shared/poll_controller/poll_controller.rb
1713
- - app/components/coco/shared/prose/prose.css
1714
- - app/components/coco/shared/prose/prose.rb
1715
- - app/components/coco/shared/spacer/spacer.css
1716
- - app/components/coco/shared/spacer/spacer.rb
1717
- - app/components/coco/shared/stack/stack.css
1718
- - app/components/coco/shared/stack/stack.html.erb
1719
- - app/components/coco/shared/stack/stack.rb
1720
- - app/components/coco/shared/svg/svg.html.erb
1721
- - app/components/coco/shared/svg/svg.rb
1722
1699
  - app/components/coco/tag.rb
1700
+ - app/components/coco/typography/prose/prose.css
1701
+ - app/components/coco/typography/prose/prose.rb
1702
+ - app/components/coco/utilities/content/content.rb
1703
+ - app/components/coco/utilities/dropdown/dropdown.css
1704
+ - app/components/coco/utilities/dropdown/dropdown.html.erb
1705
+ - app/components/coco/utilities/dropdown/dropdown.js
1706
+ - app/components/coco/utilities/dropdown/dropdown.rb
1707
+ - app/components/coco/utilities/placeholder/placeholder.css
1708
+ - app/components/coco/utilities/placeholder/placeholder.html.erb
1709
+ - app/components/coco/utilities/placeholder/placeholder.rb
1710
+ - app/components/coco/utilities/poll_controller/poll_controller.css
1711
+ - app/components/coco/utilities/poll_controller/poll_controller.html.erb
1712
+ - app/components/coco/utilities/poll_controller/poll_controller.js
1713
+ - app/components/coco/utilities/poll_controller/poll_controller.rb
1714
+ - app/components/coco/utilities/seamless_textarea/seamless_textarea.css
1715
+ - app/components/coco/utilities/seamless_textarea/seamless_textarea.html.erb
1716
+ - app/components/coco/utilities/seamless_textarea/seamless_textarea.js
1717
+ - app/components/coco/utilities/seamless_textarea/seamless_textarea.rb
1723
1718
  - app/helpers/coco/alpine_helper.rb
1724
- - app/helpers/coco/app_helper.rb
1725
- - app/helpers/coco/book_helper.rb
1726
- - app/helpers/coco/component_helper.rb
1719
+ - app/helpers/coco/app_components_helper.rb
1720
+ - app/helpers/coco/book_components_helper.rb
1721
+ - app/helpers/coco/components_helper.rb
1722
+ - app/helpers/coco/core_components_helper.rb
1727
1723
  - app/helpers/coco/format_helper.rb
1728
1724
  - app/helpers/coco/helpers.rb
1729
1725
  - app/helpers/coco/integration_helper.rb
1730
- - app/helpers/coco/shared_helper.rb
1726
+ - app/helpers/coco/modal_helper.rb
1731
1727
  - app/helpers/coco/tag_helper.rb
1732
- - app/helpers/coco/url_helper.rb
1733
1728
  - config/icons.json
1734
1729
  - config/locales/coco.en.yml
1735
- - config/tailwind.app.config.cjs
1736
- - config/tailwind.base.config.cjs
1737
- - config/tailwind.book.config.cjs
1730
+ - config/tailwind.config.cjs
1738
1731
  - config/tokens.cjs
1739
1732
  - config/utils.cjs
1740
1733
  - lib/coco.rb
@@ -1 +0,0 @@
1
- @config "../../../../config/tailwind.app.config.cjs";
@@ -1,19 +0,0 @@
1
- @layer utilities {
2
- .tippy-dropdown-box {
3
- @apply bg-background-light-2 text-gray-900 label-sm border border-solid border-gray-blend-100 shadow-xl rounded-lg;
4
- }
5
- }
6
-
7
- @layer components {
8
- /*
9
- * Tippy dropdown theme
10
- */
11
- .tippy-box[data-theme~="coco-app-dropdown"],
12
- .tippy-box[data-theme~="coco-app-menu"] {
13
- @apply tippy-dropdown-box;
14
- }
15
-
16
- .tippy-box[data-theme~="coco-naked-dropdown"] {
17
- width: min-content;
18
- }
19
- }
@@ -1 +0,0 @@
1
- @config "../../../../config/tailwind.book.config.cjs";
@@ -1,4 +0,0 @@
1
- import { registerComponents } from "@helpers/alpine";
2
- import appComponents from "@appComponents/**/*.js";
3
-
4
- export default registerComponents(appComponents);