coveragebook_components 0.9.1 → 0.10.1.beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/build/coco/app.css +4433 -3098
  3. data/app/assets/build/coco/app.js +125 -109
  4. data/app/assets/build/coco/book.css +1492 -99
  5. data/app/assets/build/coco/book.js +279 -18
  6. data/app/assets/css/app/tippy.css +1 -1
  7. data/app/assets/css/app.css +3 -3
  8. data/app/assets/css/{base/base.css → base.css} +14 -6
  9. data/app/assets/css/book.css +2 -2
  10. data/app/assets/css/{libs → shared}/tippy.css +20 -1
  11. data/app/assets/css/shared/utils/text.css +143 -0
  12. data/app/assets/js/app.js +2 -2
  13. data/app/assets/js/book.js +2 -2
  14. data/app/assets/js/libs/alpine/directives/dropdown.js +1 -1
  15. data/app/assets/js/libs/alpine/directives/tooltip.js +1 -1
  16. data/app/assets/js/shared/components.js +4 -0
  17. data/app/components/coco/app/blocks/header/header.js +1 -1
  18. data/app/components/coco/app/blocks/header/header.rb +2 -2
  19. data/app/components/coco/app/blocks/nav_drawer/nav_drawer.css +4 -0
  20. data/app/components/coco/app/blocks/nav_drawer/nav_drawer.js +1 -1
  21. data/app/components/coco/app/blocks/sidebar_nav/item/item.css +3 -3
  22. data/app/components/coco/app/blocks/sidebar_nav/item/item.js +2 -2
  23. data/app/components/coco/app/blocks/sidebar_nav/menu/menu.css +3 -3
  24. data/app/components/coco/app/blocks/sidebar_nav/menu/menu.js +1 -1
  25. data/app/components/coco/app/blocks/sidebar_nav/navbar/navbar.js +1 -1
  26. data/app/components/coco/app/blocks/slide_editor/slide_editor.js +1 -1
  27. data/app/components/coco/app/elements/alert/alert.css +18 -50
  28. data/app/components/coco/app/elements/alert/alert.html.erb +2 -2
  29. data/app/components/coco/app/elements/alert/alert.js +1 -1
  30. data/app/components/coco/app/elements/alert/alert.rb +11 -16
  31. data/app/components/coco/app/elements/color_picker/color_picker.css +2 -2
  32. data/app/components/coco/app/elements/color_picker/color_picker.js +1 -1
  33. data/app/components/coco/app/elements/color_picker_button/color_picker_button.js +1 -1
  34. data/app/components/coco/app/elements/color_picker_button/color_picker_button.rb +3 -3
  35. data/app/components/coco/app/elements/confirm_panel/confirm_panel.css +1 -1
  36. data/app/components/coco/app/elements/confirm_panel/confirm_panel.js +1 -1
  37. data/app/components/coco/app/elements/image_picker/image_picker.css +4 -4
  38. data/app/components/coco/app/elements/image_picker/image_picker.js +1 -1
  39. data/app/components/coco/app/elements/image_picker_button/image_picker_button.js +1 -1
  40. data/app/components/coco/app/elements/image_picker_button/image_picker_button.rb +3 -3
  41. data/app/components/coco/app/elements/layout_picker_button/layout_picker_button.js +1 -1
  42. data/app/components/coco/app/elements/layout_picker_button/layout_picker_button.rb +3 -3
  43. data/app/components/coco/app/elements/link/link.rb +1 -1
  44. data/app/components/coco/app/elements/menu/menu.css +5 -5
  45. data/app/components/coco/app/elements/menu_button/menu_button.js +1 -1
  46. data/app/components/coco/app/elements/menu_button/menu_button.rb +3 -3
  47. data/app/components/coco/app/elements/menu_items/user_profile/user_profile.css +1 -1
  48. data/app/components/coco/app/elements/notice/notice.js +1 -1
  49. data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.js +1 -1
  50. data/app/components/coco/app/elements/snackbar/snackbar.css +1 -1
  51. data/app/components/coco/app/elements/snackbar/snackbar.js +1 -1
  52. data/app/components/coco/app/elements/stamp/stamp.css +103 -0
  53. data/app/components/coco/app/elements/stamp/stamp.html.erb +3 -0
  54. data/app/components/coco/app/elements/stamp/stamp.rb +29 -0
  55. data/app/components/coco/app/elements/system_banner/system_banner.js +1 -1
  56. data/app/components/coco/app/elements/toast/toast.js +1 -1
  57. data/app/components/coco/app/elements/toolbar/toolbar.js +1 -1
  58. data/app/components/coco/app/elements/toolbar/toolbar.rb +1 -1
  59. data/app/components/coco/app/fields/button_component.rb +1 -1
  60. data/app/components/coco/app/fields/submit_component.rb +1 -0
  61. data/app/components/coco/app/layouts/application/application.css +1 -1
  62. data/app/components/coco/app/layouts/application/application.js +1 -1
  63. data/app/components/coco/app/layouts/page/page.css +4 -0
  64. data/app/components/coco/app/layouts/page/page.html.erb +5 -0
  65. data/app/components/coco/app/layouts/page/page.js +1 -1
  66. data/app/components/coco/app/layouts/page/page.rb +4 -0
  67. data/app/components/coco/{app/elements → shared}/button/button.css +104 -32
  68. data/app/components/coco/shared/button/button.html.erb +83 -0
  69. data/app/components/coco/{base → shared}/button/button.js +2 -1
  70. data/app/components/coco/{base → shared}/button/button.rb +107 -42
  71. data/app/components/coco/{base → shared}/button/button_dropdown.js +11 -2
  72. data/app/components/coco/{app/elements → shared}/button_group/button_group.css +1 -1
  73. data/app/components/coco/{app/elements → shared}/button_group/button_group.js +12 -4
  74. data/app/components/coco/shared/button_group/button_group.rb +40 -0
  75. data/app/components/coco/{app/elements → shared}/button_to/button_to.css +1 -1
  76. data/app/components/coco/shared/button_to/button_to.rb +50 -0
  77. data/app/components/coco/{base → shared}/dropdown/dropdown.js +1 -1
  78. data/app/components/coco/{base → shared}/icon/icon.js +1 -1
  79. data/app/components/coco/{base → shared}/image_uploader/image_uploader.js +1 -1
  80. data/app/components/coco/{base → shared}/modal/modal.html.erb +2 -2
  81. data/app/components/coco/{base → shared}/modal/modal.js +3 -3
  82. data/app/components/coco/{base → shared}/modal/modal.rb +6 -4
  83. data/app/components/coco/{base → shared}/modal_dialog/modal_dialog.js +1 -1
  84. data/app/components/coco/{base → shared}/modal_lightbox/modal_lightbox.js +1 -1
  85. data/app/components/coco/{base → shared}/placeholder/placeholder.html.erb +1 -1
  86. data/app/components/coco/{base → shared}/placeholder/placeholder.rb +6 -0
  87. data/app/components/coco/{base → shared}/poll_controller/poll_controller.js +1 -1
  88. data/app/helpers/coco/app_helper.rb +17 -23
  89. data/app/helpers/coco/component_helper.rb +1 -1
  90. data/app/helpers/coco/{base_helper.rb → shared_helper.rb} +26 -3
  91. data/app/helpers/coco/url_helper.rb +1 -1
  92. data/config/tailwind.app.config.cjs +1 -1
  93. data/config/tailwind.book.config.cjs +1 -0
  94. data/config/tokens.cjs +9 -4
  95. data/lib/coco/engine.rb +6 -4
  96. data/lib/coco.rb +1 -1
  97. data/lib/generators/coco/coco_generator.rb +1 -1
  98. metadata +77 -80
  99. data/app/assets/css/base/components/coco.css +0 -14
  100. data/app/assets/css/base/components/dropdown.css +0 -7
  101. data/app/assets/css/base/components/tooltip.css +0 -19
  102. data/app/assets/js/base/components.js +0 -4
  103. data/app/components/coco/app/blocks/slat/slat.css +0 -9
  104. data/app/components/coco/app/blocks/slat/slat.rb +0 -13
  105. data/app/components/coco/app/elements/button/button.rb +0 -87
  106. data/app/components/coco/app/elements/button_group/button_group.rb +0 -42
  107. data/app/components/coco/app/elements/button_to/button_to.rb +0 -54
  108. data/app/components/coco/base/button/button.css +0 -75
  109. data/app/components/coco/base/button/button.html.erb +0 -71
  110. /data/app/assets/css/app/{utilities.css → utils.css} +0 -0
  111. /data/app/assets/css/{base → shared}/utils/colors.css +0 -0
  112. /data/app/assets/css/{base → shared}/utils/icons.css +0 -0
  113. /data/app/assets/js/{coco.js → shared/coco.js} +0 -0
  114. /data/app/components/coco/{base → shared}/avatar/avatar.css +0 -0
  115. /data/app/components/coco/{base → shared}/avatar/avatar.rb +0 -0
  116. /data/app/components/coco/{app/elements → shared}/button_group/button_group.html.erb +0 -0
  117. /data/app/components/coco/{app/elements → shared}/button_to/button_to.html.erb +0 -0
  118. /data/app/components/coco/{base → shared}/content/content.rb +0 -0
  119. /data/app/components/coco/{base → shared}/dropdown/dropdown.css +0 -0
  120. /data/app/components/coco/{base → shared}/dropdown/dropdown.html.erb +0 -0
  121. /data/app/components/coco/{base → shared}/dropdown/dropdown.rb +0 -0
  122. /data/app/components/coco/{base → shared}/embeds/youtube/youtube.css +0 -0
  123. /data/app/components/coco/{base → shared}/embeds/youtube/youtube.html.erb +0 -0
  124. /data/app/components/coco/{base → shared}/embeds/youtube/youtube.rb +0 -0
  125. /data/app/components/coco/{base → shared}/icon/icon.css +0 -0
  126. /data/app/components/coco/{base → shared}/icon/icon.html.erb +0 -0
  127. /data/app/components/coco/{base → shared}/icon/icon.rb +0 -0
  128. /data/app/components/coco/{base → shared}/image/image.css +0 -0
  129. /data/app/components/coco/{base → shared}/image/image.rb +0 -0
  130. /data/app/components/coco/{base → shared}/image_uploader/image_uploader.css +0 -0
  131. /data/app/components/coco/{base → shared}/image_uploader/image_uploader.html.erb +0 -0
  132. /data/app/components/coco/{base → shared}/image_uploader/image_uploader.rb +0 -0
  133. /data/app/components/coco/{base → shared}/link/link.css +0 -0
  134. /data/app/components/coco/{base → shared}/link/link.rb +0 -0
  135. /data/app/components/coco/{base → shared}/modal/modal.css +0 -0
  136. /data/app/components/coco/{base → shared}/modal_dialog/modal_dialog.css +0 -0
  137. /data/app/components/coco/{base → shared}/modal_dialog/modal_dialog.html.erb +0 -0
  138. /data/app/components/coco/{base → shared}/modal_dialog/modal_dialog.rb +0 -0
  139. /data/app/components/coco/{base → shared}/modal_lightbox/modal_lightbox.css +0 -0
  140. /data/app/components/coco/{base → shared}/modal_lightbox/modal_lightbox.html.erb +0 -0
  141. /data/app/components/coco/{base → shared}/modal_lightbox/modal_lightbox.rb +0 -0
  142. /data/app/components/coco/{base → shared}/pager_link/pager_link.css +0 -0
  143. /data/app/components/coco/{base → shared}/pager_link/pager_link.html.erb +0 -0
  144. /data/app/components/coco/{base → shared}/pager_link/pager_link.rb +0 -0
  145. /data/app/components/coco/{base → shared}/panel/panel.css +0 -0
  146. /data/app/components/coco/{base → shared}/panel/panel.html.erb +0 -0
  147. /data/app/components/coco/{base → shared}/panel/panel.rb +0 -0
  148. /data/app/components/coco/{base → shared}/placeholder/placeholder.css +0 -0
  149. /data/app/components/coco/{base → shared}/poll_controller/poll_controller.css +0 -0
  150. /data/app/components/coco/{base → shared}/poll_controller/poll_controller.html.erb +0 -0
  151. /data/app/components/coco/{base → shared}/poll_controller/poll_controller.rb +0 -0
  152. /data/app/components/coco/{base → shared}/svg/svg.html.erb +0 -0
  153. /data/app/components/coco/{base → shared}/svg/svg.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 201cc10a1c0aa8649d80c72ff1e37f7b73eb77785451cab30fc4b3f0bb666900
4
- data.tar.gz: e67c3da496a5b3a55feaf4750cda66f20ca825fb92aa8e94d47c313be7236fbd
3
+ metadata.gz: 25f353a76cd56fc04dd8e81a993ea5b0206eb0c8d64f2a386c5d9d747f7da225
4
+ data.tar.gz: 981c2f5d33f922bc418151c2d5fb48b2da69e73a03c1a562c3fc95d6333ef9af
5
5
  SHA512:
6
- metadata.gz: 1acd500aded11cd641e5478b788e2c8911cf2aea0e19b5d418eb3d6bc469d8f5876a09ad90a691e204892cc947b2b02aefda51809eb66ca5a6771d2d424fb559
7
- data.tar.gz: 4f2bafaf1a89da669543de3feab4e240c0a76d710d575a9322daf6257f9a78be61b3623ac5b9cf988c857eb75b0428e600efe5d77f04887cfc06af397000a5e4
6
+ metadata.gz: 55f3380f7adfcad212ddaa4e527a05a97b6ee2c34a8cb865931b161e513ddad6329abc93683246bbd31866f8e9c0ae2182a801f3dea9013b802e3cda1a6a9615
7
+ data.tar.gz: 52a69f79854345ac671f544af5b9ddde73d435a8a8719a5737b67972103b9d47ba522475473d81c4f1885d734d8bc5450ee9a72940b3035f6ac52f4278a2a508