uikit_rails 0.1.1

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 (378) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +301 -0
  3. data/Rakefile +12 -0
  4. data/app/controllers/uikit_rails/styleguide_controller.rb +72 -0
  5. data/app/views/layouts/uikit_rails/application.html.erb +412 -0
  6. data/app/views/uikit_rails/styleguide/index.html.erb +27 -0
  7. data/app/views/uikit_rails/styleguide/show.html.erb +56 -0
  8. data/config/routes.rb +6 -0
  9. data/lib/uikit_rails/engine.rb +13 -0
  10. data/lib/uikit_rails/generators/add_generator.rb +110 -0
  11. data/lib/uikit_rails/generators/install_generator.rb +62 -0
  12. data/lib/uikit_rails/generators/templates/base_component.rb.tt +32 -0
  13. data/lib/uikit_rails/generators/templates/uikit_rails.css.tt +69 -0
  14. data/lib/uikit_rails/templates/components/accordion/USAGE +30 -0
  15. data/lib/uikit_rails/templates/components/accordion/accordion.css +74 -0
  16. data/lib/uikit_rails/templates/components/accordion/component.html.erb +13 -0
  17. data/lib/uikit_rails/templates/components/accordion/component.rb +35 -0
  18. data/lib/uikit_rails/templates/components/accordion/preview.yml +81 -0
  19. data/lib/uikit_rails/templates/components/alert/USAGE +25 -0
  20. data/lib/uikit_rails/templates/components/alert/alert.css +60 -0
  21. data/lib/uikit_rails/templates/components/alert/component.html.erb +9 -0
  22. data/lib/uikit_rails/templates/components/alert/component.rb +27 -0
  23. data/lib/uikit_rails/templates/components/alert/preview.yml +53 -0
  24. data/lib/uikit_rails/templates/components/alert_dialog/USAGE +38 -0
  25. data/lib/uikit_rails/templates/components/alert_dialog/alert_dialog.css +108 -0
  26. data/lib/uikit_rails/templates/components/alert_dialog/component.html.erb +27 -0
  27. data/lib/uikit_rails/templates/components/alert_dialog/component.rb +23 -0
  28. data/lib/uikit_rails/templates/components/alert_dialog/preview.yml +94 -0
  29. data/lib/uikit_rails/templates/components/avatar/USAGE +20 -0
  30. data/lib/uikit_rails/templates/components/avatar/avatar.css +53 -0
  31. data/lib/uikit_rails/templates/components/avatar/component.html.erb +7 -0
  32. data/lib/uikit_rails/templates/components/avatar/component.rb +31 -0
  33. data/lib/uikit_rails/templates/components/avatar/preview.yml +42 -0
  34. data/lib/uikit_rails/templates/components/badge/USAGE +13 -0
  35. data/lib/uikit_rails/templates/components/badge/badge.css +61 -0
  36. data/lib/uikit_rails/templates/components/badge/component.rb +28 -0
  37. data/lib/uikit_rails/templates/components/badge/preview.yml +38 -0
  38. data/lib/uikit_rails/templates/components/breadcrumb/USAGE +23 -0
  39. data/lib/uikit_rails/templates/components/breadcrumb/breadcrumb.css +55 -0
  40. data/lib/uikit_rails/templates/components/breadcrumb/component.html.erb +14 -0
  41. data/lib/uikit_rails/templates/components/breadcrumb/component.rb +40 -0
  42. data/lib/uikit_rails/templates/components/breadcrumb/preview.yml +42 -0
  43. data/lib/uikit_rails/templates/components/button/USAGE +21 -0
  44. data/lib/uikit_rails/templates/components/button/button.css +125 -0
  45. data/lib/uikit_rails/templates/components/button/component.rb +44 -0
  46. data/lib/uikit_rails/templates/components/button/preview.yml +106 -0
  47. data/lib/uikit_rails/templates/components/card/USAGE +33 -0
  48. data/lib/uikit_rails/templates/components/card/card.css +63 -0
  49. data/lib/uikit_rails/templates/components/card/component.html.erb +16 -0
  50. data/lib/uikit_rails/templates/components/card/component.rb +26 -0
  51. data/lib/uikit_rails/templates/components/card/preview.yml +57 -0
  52. data/lib/uikit_rails/templates/components/checkbox/USAGE +19 -0
  53. data/lib/uikit_rails/templates/components/checkbox/checkbox.css +67 -0
  54. data/lib/uikit_rails/templates/components/checkbox/component.html.erb +6 -0
  55. data/lib/uikit_rails/templates/components/checkbox/component.rb +26 -0
  56. data/lib/uikit_rails/templates/components/checkbox/preview.yml +43 -0
  57. data/lib/uikit_rails/templates/components/collapsible/USAGE +31 -0
  58. data/lib/uikit_rails/templates/components/collapsible/collapsible.css +55 -0
  59. data/lib/uikit_rails/templates/components/collapsible/component.html.erb +8 -0
  60. data/lib/uikit_rails/templates/components/collapsible/component.rb +18 -0
  61. data/lib/uikit_rails/templates/components/collapsible/preview.yml +65 -0
  62. data/lib/uikit_rails/templates/components/dialog/USAGE +41 -0
  63. data/lib/uikit_rails/templates/components/dialog/component.html.erb +23 -0
  64. data/lib/uikit_rails/templates/components/dialog/component.rb +20 -0
  65. data/lib/uikit_rails/templates/components/dialog/dialog.css +133 -0
  66. data/lib/uikit_rails/templates/components/dialog/preview.yml +77 -0
  67. data/lib/uikit_rails/templates/components/dropdown/USAGE +40 -0
  68. data/lib/uikit_rails/templates/components/dropdown/component.html.erb +14 -0
  69. data/lib/uikit_rails/templates/components/dropdown/component.rb +62 -0
  70. data/lib/uikit_rails/templates/components/dropdown/dropdown.css +104 -0
  71. data/lib/uikit_rails/templates/components/dropdown/preview.yml +75 -0
  72. data/lib/uikit_rails/templates/components/form/USAGE +51 -0
  73. data/lib/uikit_rails/templates/components/form/builder.rb +233 -0
  74. data/lib/uikit_rails/templates/components/form/form.css +48 -0
  75. data/lib/uikit_rails/templates/components/form/preview.yml +95 -0
  76. data/lib/uikit_rails/templates/components/input/USAGE +21 -0
  77. data/lib/uikit_rails/templates/components/input/component.rb +25 -0
  78. data/lib/uikit_rails/templates/components/input/input.css +43 -0
  79. data/lib/uikit_rails/templates/components/input/preview.yml +58 -0
  80. data/lib/uikit_rails/templates/components/label/USAGE +16 -0
  81. data/lib/uikit_rails/templates/components/label/component.rb +25 -0
  82. data/lib/uikit_rails/templates/components/label/label.css +25 -0
  83. data/lib/uikit_rails/templates/components/label/preview.yml +34 -0
  84. data/lib/uikit_rails/templates/components/pagination/USAGE +45 -0
  85. data/lib/uikit_rails/templates/components/pagination/component.html.erb +7 -0
  86. data/lib/uikit_rails/templates/components/pagination/component.rb +90 -0
  87. data/lib/uikit_rails/templates/components/pagination/pagination.css +89 -0
  88. data/lib/uikit_rails/templates/components/pagination/preview.yml +61 -0
  89. data/lib/uikit_rails/templates/components/popover/USAGE +44 -0
  90. data/lib/uikit_rails/templates/components/popover/component.html.erb +8 -0
  91. data/lib/uikit_rails/templates/components/popover/component.rb +19 -0
  92. data/lib/uikit_rails/templates/components/popover/popover.css +94 -0
  93. data/lib/uikit_rails/templates/components/popover/preview.yml +102 -0
  94. data/lib/uikit_rails/templates/components/progress/USAGE +15 -0
  95. data/lib/uikit_rails/templates/components/progress/component.html.erb +3 -0
  96. data/lib/uikit_rails/templates/components/progress/component.rb +38 -0
  97. data/lib/uikit_rails/templates/components/progress/preview.yml +44 -0
  98. data/lib/uikit_rails/templates/components/progress/progress.css +20 -0
  99. data/lib/uikit_rails/templates/components/select/USAGE +19 -0
  100. data/lib/uikit_rails/templates/components/select/component.rb +38 -0
  101. data/lib/uikit_rails/templates/components/select/preview.yml +61 -0
  102. data/lib/uikit_rails/templates/components/select/select.css +46 -0
  103. data/lib/uikit_rails/templates/components/separator/USAGE +15 -0
  104. data/lib/uikit_rails/templates/components/separator/component.rb +34 -0
  105. data/lib/uikit_rails/templates/components/separator/preview.yml +32 -0
  106. data/lib/uikit_rails/templates/components/separator/separator.css +21 -0
  107. data/lib/uikit_rails/templates/components/sheet/USAGE +44 -0
  108. data/lib/uikit_rails/templates/components/sheet/component.html.erb +23 -0
  109. data/lib/uikit_rails/templates/components/sheet/component.rb +23 -0
  110. data/lib/uikit_rails/templates/components/sheet/preview.yml +105 -0
  111. data/lib/uikit_rails/templates/components/sheet/sheet.css +193 -0
  112. data/lib/uikit_rails/templates/components/skeleton/USAGE +19 -0
  113. data/lib/uikit_rails/templates/components/skeleton/component.rb +38 -0
  114. data/lib/uikit_rails/templates/components/skeleton/preview.yml +44 -0
  115. data/lib/uikit_rails/templates/components/skeleton/skeleton.css +25 -0
  116. data/lib/uikit_rails/templates/components/switch/USAGE +19 -0
  117. data/lib/uikit_rails/templates/components/switch/component.html.erb +19 -0
  118. data/lib/uikit_rails/templates/components/switch/component.rb +23 -0
  119. data/lib/uikit_rails/templates/components/switch/preview.yml +43 -0
  120. data/lib/uikit_rails/templates/components/switch/switch.css +81 -0
  121. data/lib/uikit_rails/templates/components/table/USAGE +40 -0
  122. data/lib/uikit_rails/templates/components/table/component.html.erb +14 -0
  123. data/lib/uikit_rails/templates/components/table/component.rb +25 -0
  124. data/lib/uikit_rails/templates/components/table/preview.yml +109 -0
  125. data/lib/uikit_rails/templates/components/table/table.css +86 -0
  126. data/lib/uikit_rails/templates/components/tabs/USAGE +24 -0
  127. data/lib/uikit_rails/templates/components/tabs/component.html.erb +10 -0
  128. data/lib/uikit_rails/templates/components/tabs/component.rb +35 -0
  129. data/lib/uikit_rails/templates/components/tabs/preview.yml +60 -0
  130. data/lib/uikit_rails/templates/components/tabs/tabs.css +72 -0
  131. data/lib/uikit_rails/templates/components/textarea/USAGE +19 -0
  132. data/lib/uikit_rails/templates/components/textarea/component.rb +25 -0
  133. data/lib/uikit_rails/templates/components/textarea/preview.yml +47 -0
  134. data/lib/uikit_rails/templates/components/textarea/textarea.css +39 -0
  135. data/lib/uikit_rails/templates/components/toggle/USAGE +25 -0
  136. data/lib/uikit_rails/templates/components/toggle/component.rb +39 -0
  137. data/lib/uikit_rails/templates/components/toggle/preview.yml +81 -0
  138. data/lib/uikit_rails/templates/components/toggle/toggle.css +89 -0
  139. data/lib/uikit_rails/templates/components/tooltip/USAGE +23 -0
  140. data/lib/uikit_rails/templates/components/tooltip/component.html.erb +8 -0
  141. data/lib/uikit_rails/templates/components/tooltip/component.rb +19 -0
  142. data/lib/uikit_rails/templates/components/tooltip/preview.yml +52 -0
  143. data/lib/uikit_rails/templates/components/tooltip/tooltip.css +78 -0
  144. data/lib/uikit_rails/templates/stimulus/accordion_controller.js +19 -0
  145. data/lib/uikit_rails/templates/stimulus/alert_dialog_controller.js +25 -0
  146. data/lib/uikit_rails/templates/stimulus/collapsible_controller.js +9 -0
  147. data/lib/uikit_rails/templates/stimulus/dialog_controller.js +19 -0
  148. data/lib/uikit_rails/templates/stimulus/dropdown_controller.js +47 -0
  149. data/lib/uikit_rails/templates/stimulus/popover_controller.js +47 -0
  150. data/lib/uikit_rails/templates/stimulus/sheet_controller.js +19 -0
  151. data/lib/uikit_rails/templates/stimulus/tabs_controller.js +24 -0
  152. data/lib/uikit_rails/templates/stimulus/tooltip_controller.js +13 -0
  153. data/lib/uikit_rails/version.rb +5 -0
  154. data/lib/uikit_rails.rb +59 -0
  155. data/sig/uikit_rails.rbs +4 -0
  156. data/test_app/.dockerignore +51 -0
  157. data/test_app/.gitattributes +9 -0
  158. data/test_app/.github/dependabot.yml +12 -0
  159. data/test_app/.github/workflows/ci.yml +124 -0
  160. data/test_app/.gitignore +35 -0
  161. data/test_app/.kamal/hooks/docker-setup.sample +3 -0
  162. data/test_app/.kamal/hooks/post-app-boot.sample +3 -0
  163. data/test_app/.kamal/hooks/post-deploy.sample +14 -0
  164. data/test_app/.kamal/hooks/post-proxy-reboot.sample +3 -0
  165. data/test_app/.kamal/hooks/pre-app-boot.sample +3 -0
  166. data/test_app/.kamal/hooks/pre-build.sample +51 -0
  167. data/test_app/.kamal/hooks/pre-connect.sample +47 -0
  168. data/test_app/.kamal/hooks/pre-deploy.sample +122 -0
  169. data/test_app/.kamal/hooks/pre-proxy-reboot.sample +3 -0
  170. data/test_app/.kamal/secrets +20 -0
  171. data/test_app/.rubocop.yml +8 -0
  172. data/test_app/.ruby-version +1 -0
  173. data/test_app/Dockerfile +77 -0
  174. data/test_app/Gemfile +68 -0
  175. data/test_app/Gemfile.lock +587 -0
  176. data/test_app/README.md +24 -0
  177. data/test_app/Rakefile +6 -0
  178. data/test_app/app/assets/images/.keep +0 -0
  179. data/test_app/app/assets/stylesheets/application.css +10 -0
  180. data/test_app/app/assets/stylesheets/ui/accordion.css +74 -0
  181. data/test_app/app/assets/stylesheets/ui/alert.css +60 -0
  182. data/test_app/app/assets/stylesheets/ui/alert_dialog.css +108 -0
  183. data/test_app/app/assets/stylesheets/ui/avatar.css +53 -0
  184. data/test_app/app/assets/stylesheets/ui/badge.css +61 -0
  185. data/test_app/app/assets/stylesheets/ui/breadcrumb.css +55 -0
  186. data/test_app/app/assets/stylesheets/ui/button.css +125 -0
  187. data/test_app/app/assets/stylesheets/ui/card.css +63 -0
  188. data/test_app/app/assets/stylesheets/ui/checkbox.css +67 -0
  189. data/test_app/app/assets/stylesheets/ui/collapsible.css +55 -0
  190. data/test_app/app/assets/stylesheets/ui/dialog.css +133 -0
  191. data/test_app/app/assets/stylesheets/ui/dropdown.css +104 -0
  192. data/test_app/app/assets/stylesheets/ui/form.css +48 -0
  193. data/test_app/app/assets/stylesheets/ui/input.css +43 -0
  194. data/test_app/app/assets/stylesheets/ui/label.css +25 -0
  195. data/test_app/app/assets/stylesheets/ui/pagination.css +89 -0
  196. data/test_app/app/assets/stylesheets/ui/popover.css +94 -0
  197. data/test_app/app/assets/stylesheets/ui/progress.css +20 -0
  198. data/test_app/app/assets/stylesheets/ui/select.css +46 -0
  199. data/test_app/app/assets/stylesheets/ui/separator.css +21 -0
  200. data/test_app/app/assets/stylesheets/ui/sheet.css +193 -0
  201. data/test_app/app/assets/stylesheets/ui/skeleton.css +25 -0
  202. data/test_app/app/assets/stylesheets/ui/switch.css +81 -0
  203. data/test_app/app/assets/stylesheets/ui/table.css +86 -0
  204. data/test_app/app/assets/stylesheets/ui/tabs.css +72 -0
  205. data/test_app/app/assets/stylesheets/ui/textarea.css +39 -0
  206. data/test_app/app/assets/stylesheets/ui/toggle.css +89 -0
  207. data/test_app/app/assets/stylesheets/ui/tooltip.css +78 -0
  208. data/test_app/app/assets/stylesheets/uikit_rails.css +69 -0
  209. data/test_app/app/components/ui/accordion/component.html.erb +13 -0
  210. data/test_app/app/components/ui/accordion/component.rb +35 -0
  211. data/test_app/app/components/ui/accordion/preview.yml +81 -0
  212. data/test_app/app/components/ui/alert/component.html.erb +9 -0
  213. data/test_app/app/components/ui/alert/component.rb +27 -0
  214. data/test_app/app/components/ui/alert/preview.yml +53 -0
  215. data/test_app/app/components/ui/alert_dialog/component.html.erb +27 -0
  216. data/test_app/app/components/ui/alert_dialog/component.rb +23 -0
  217. data/test_app/app/components/ui/alert_dialog/preview.yml +94 -0
  218. data/test_app/app/components/ui/avatar/component.html.erb +7 -0
  219. data/test_app/app/components/ui/avatar/component.rb +31 -0
  220. data/test_app/app/components/ui/avatar/preview.yml +42 -0
  221. data/test_app/app/components/ui/badge/component.rb +28 -0
  222. data/test_app/app/components/ui/badge/preview.yml +38 -0
  223. data/test_app/app/components/ui/base_component.rb +32 -0
  224. data/test_app/app/components/ui/breadcrumb/component.html.erb +14 -0
  225. data/test_app/app/components/ui/breadcrumb/component.rb +40 -0
  226. data/test_app/app/components/ui/breadcrumb/preview.yml +42 -0
  227. data/test_app/app/components/ui/button/component.rb +44 -0
  228. data/test_app/app/components/ui/button/preview.yml +106 -0
  229. data/test_app/app/components/ui/card/component.html.erb +16 -0
  230. data/test_app/app/components/ui/card/component.rb +26 -0
  231. data/test_app/app/components/ui/card/preview.yml +57 -0
  232. data/test_app/app/components/ui/checkbox/component.html.erb +6 -0
  233. data/test_app/app/components/ui/checkbox/component.rb +26 -0
  234. data/test_app/app/components/ui/checkbox/preview.yml +43 -0
  235. data/test_app/app/components/ui/collapsible/component.html.erb +8 -0
  236. data/test_app/app/components/ui/collapsible/component.rb +18 -0
  237. data/test_app/app/components/ui/collapsible/preview.yml +65 -0
  238. data/test_app/app/components/ui/dialog/component.html.erb +23 -0
  239. data/test_app/app/components/ui/dialog/component.rb +20 -0
  240. data/test_app/app/components/ui/dialog/preview.yml +77 -0
  241. data/test_app/app/components/ui/dropdown/component.html.erb +14 -0
  242. data/test_app/app/components/ui/dropdown/component.rb +62 -0
  243. data/test_app/app/components/ui/dropdown/preview.yml +75 -0
  244. data/test_app/app/components/ui/form/USAGE +51 -0
  245. data/test_app/app/components/ui/form/builder.rb +233 -0
  246. data/test_app/app/components/ui/form/component.rb +258 -0
  247. data/test_app/app/components/ui/form/form.css +48 -0
  248. data/test_app/app/components/ui/form/preview.yml +95 -0
  249. data/test_app/app/components/ui/input/component.rb +25 -0
  250. data/test_app/app/components/ui/input/preview.yml +58 -0
  251. data/test_app/app/components/ui/label/component.rb +25 -0
  252. data/test_app/app/components/ui/label/preview.yml +34 -0
  253. data/test_app/app/components/ui/pagination/component.html.erb +7 -0
  254. data/test_app/app/components/ui/pagination/component.rb +90 -0
  255. data/test_app/app/components/ui/pagination/preview.yml +61 -0
  256. data/test_app/app/components/ui/popover/component.html.erb +8 -0
  257. data/test_app/app/components/ui/popover/component.rb +19 -0
  258. data/test_app/app/components/ui/popover/preview.yml +102 -0
  259. data/test_app/app/components/ui/progress/component.html.erb +3 -0
  260. data/test_app/app/components/ui/progress/component.rb +38 -0
  261. data/test_app/app/components/ui/progress/preview.yml +44 -0
  262. data/test_app/app/components/ui/select/component.rb +38 -0
  263. data/test_app/app/components/ui/select/preview.yml +61 -0
  264. data/test_app/app/components/ui/separator/component.rb +34 -0
  265. data/test_app/app/components/ui/separator/preview.yml +32 -0
  266. data/test_app/app/components/ui/sheet/component.html.erb +23 -0
  267. data/test_app/app/components/ui/sheet/component.rb +23 -0
  268. data/test_app/app/components/ui/sheet/preview.yml +105 -0
  269. data/test_app/app/components/ui/skeleton/component.rb +38 -0
  270. data/test_app/app/components/ui/skeleton/preview.yml +44 -0
  271. data/test_app/app/components/ui/switch/component.html.erb +19 -0
  272. data/test_app/app/components/ui/switch/component.rb +23 -0
  273. data/test_app/app/components/ui/switch/preview.yml +43 -0
  274. data/test_app/app/components/ui/table/component.html.erb +14 -0
  275. data/test_app/app/components/ui/table/component.rb +25 -0
  276. data/test_app/app/components/ui/table/preview.yml +109 -0
  277. data/test_app/app/components/ui/tabs/component.html.erb +10 -0
  278. data/test_app/app/components/ui/tabs/component.rb +35 -0
  279. data/test_app/app/components/ui/tabs/preview.yml +60 -0
  280. data/test_app/app/components/ui/textarea/component.rb +25 -0
  281. data/test_app/app/components/ui/textarea/preview.yml +47 -0
  282. data/test_app/app/components/ui/toggle/component.rb +39 -0
  283. data/test_app/app/components/ui/toggle/preview.yml +81 -0
  284. data/test_app/app/components/ui/tooltip/component.html.erb +8 -0
  285. data/test_app/app/components/ui/tooltip/component.rb +19 -0
  286. data/test_app/app/components/ui/tooltip/preview.yml +52 -0
  287. data/test_app/app/controllers/application_controller.rb +7 -0
  288. data/test_app/app/controllers/concerns/.keep +0 -0
  289. data/test_app/app/helpers/application_helper.rb +2 -0
  290. data/test_app/app/javascript/application.js +3 -0
  291. data/test_app/app/javascript/controllers/application.js +9 -0
  292. data/test_app/app/javascript/controllers/hello_controller.js +7 -0
  293. data/test_app/app/javascript/controllers/index.js +4 -0
  294. data/test_app/app/javascript/controllers/ui/accordion_controller.js +19 -0
  295. data/test_app/app/javascript/controllers/ui/alert_dialog_controller.js +25 -0
  296. data/test_app/app/javascript/controllers/ui/collapsible_controller.js +9 -0
  297. data/test_app/app/javascript/controllers/ui/dialog_controller.js +19 -0
  298. data/test_app/app/javascript/controllers/ui/dropdown_controller.js +47 -0
  299. data/test_app/app/javascript/controllers/ui/popover_controller.js +47 -0
  300. data/test_app/app/javascript/controllers/ui/sheet_controller.js +19 -0
  301. data/test_app/app/javascript/controllers/ui/tabs_controller.js +24 -0
  302. data/test_app/app/javascript/controllers/ui/tooltip_controller.js +13 -0
  303. data/test_app/app/jobs/application_job.rb +7 -0
  304. data/test_app/app/mailers/application_mailer.rb +4 -0
  305. data/test_app/app/models/application_record.rb +3 -0
  306. data/test_app/app/models/concerns/.keep +0 -0
  307. data/test_app/app/views/layouts/application.html.erb +29 -0
  308. data/test_app/app/views/layouts/mailer.html.erb +13 -0
  309. data/test_app/app/views/layouts/mailer.text.erb +1 -0
  310. data/test_app/app/views/pwa/manifest.json.erb +22 -0
  311. data/test_app/app/views/pwa/service-worker.js +26 -0
  312. data/test_app/bin/brakeman +7 -0
  313. data/test_app/bin/bundler-audit +6 -0
  314. data/test_app/bin/ci +6 -0
  315. data/test_app/bin/dev +2 -0
  316. data/test_app/bin/docker-entrypoint +8 -0
  317. data/test_app/bin/importmap +4 -0
  318. data/test_app/bin/jobs +6 -0
  319. data/test_app/bin/kamal +16 -0
  320. data/test_app/bin/rails +4 -0
  321. data/test_app/bin/rake +4 -0
  322. data/test_app/bin/rubocop +8 -0
  323. data/test_app/bin/setup +35 -0
  324. data/test_app/bin/thrust +5 -0
  325. data/test_app/config/application.rb +27 -0
  326. data/test_app/config/boot.rb +4 -0
  327. data/test_app/config/bundler-audit.yml +5 -0
  328. data/test_app/config/cable.yml +17 -0
  329. data/test_app/config/cache.yml +16 -0
  330. data/test_app/config/ci.rb +24 -0
  331. data/test_app/config/credentials.yml.enc +1 -0
  332. data/test_app/config/database.yml +40 -0
  333. data/test_app/config/deploy.yml +119 -0
  334. data/test_app/config/environment.rb +5 -0
  335. data/test_app/config/environments/development.rb +78 -0
  336. data/test_app/config/environments/production.rb +90 -0
  337. data/test_app/config/environments/test.rb +53 -0
  338. data/test_app/config/importmap.rb +7 -0
  339. data/test_app/config/initializers/assets.rb +7 -0
  340. data/test_app/config/initializers/content_security_policy.rb +29 -0
  341. data/test_app/config/initializers/filter_parameter_logging.rb +8 -0
  342. data/test_app/config/initializers/inflections.rb +16 -0
  343. data/test_app/config/locales/en.yml +31 -0
  344. data/test_app/config/puma.rb +42 -0
  345. data/test_app/config/queue.yml +18 -0
  346. data/test_app/config/recurring.yml +15 -0
  347. data/test_app/config/routes.rb +13 -0
  348. data/test_app/config/storage.yml +27 -0
  349. data/test_app/config.ru +6 -0
  350. data/test_app/db/cable_schema.rb +11 -0
  351. data/test_app/db/cache_schema.rb +12 -0
  352. data/test_app/db/queue_schema.rb +129 -0
  353. data/test_app/db/seeds.rb +9 -0
  354. data/test_app/lib/tasks/.keep +0 -0
  355. data/test_app/log/.keep +0 -0
  356. data/test_app/public/400.html +135 -0
  357. data/test_app/public/404.html +135 -0
  358. data/test_app/public/406-unsupported-browser.html +135 -0
  359. data/test_app/public/422.html +135 -0
  360. data/test_app/public/500.html +135 -0
  361. data/test_app/public/icon.png +0 -0
  362. data/test_app/public/icon.svg +3 -0
  363. data/test_app/public/robots.txt +1 -0
  364. data/test_app/script/.keep +0 -0
  365. data/test_app/storage/.keep +0 -0
  366. data/test_app/test/controllers/.keep +0 -0
  367. data/test_app/test/fixtures/files/.keep +0 -0
  368. data/test_app/test/helpers/.keep +0 -0
  369. data/test_app/test/integration/.keep +0 -0
  370. data/test_app/test/mailers/.keep +0 -0
  371. data/test_app/test/models/.keep +0 -0
  372. data/test_app/test/test_helper.rb +15 -0
  373. data/test_app/tmp/.keep +0 -0
  374. data/test_app/tmp/pids/.keep +0 -0
  375. data/test_app/tmp/storage/.keep +0 -0
  376. data/test_app/vendor/.keep +0 -0
  377. data/test_app/vendor/javascript/.keep +0 -0
  378. metadata +448 -0
@@ -0,0 +1,135 @@
1
+ <!doctype html>
2
+
3
+ <html lang="en">
4
+
5
+ <head>
6
+
7
+ <title>We're sorry, but something went wrong (500 Internal Server Error)</title>
8
+
9
+ <meta charset="utf-8">
10
+ <meta name="viewport" content="initial-scale=1, width=device-width">
11
+ <meta name="robots" content="noindex, nofollow">
12
+
13
+ <style>
14
+
15
+ *, *::before, *::after {
16
+ box-sizing: border-box;
17
+ }
18
+
19
+ * {
20
+ margin: 0;
21
+ }
22
+
23
+ html {
24
+ font-size: 16px;
25
+ }
26
+
27
+ body {
28
+ background: #FFF;
29
+ color: #261B23;
30
+ display: grid;
31
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
32
+ font-size: clamp(1rem, 2.5vw, 2rem);
33
+ -webkit-font-smoothing: antialiased;
34
+ font-style: normal;
35
+ font-weight: 400;
36
+ letter-spacing: -0.0025em;
37
+ line-height: 1.4;
38
+ min-height: 100dvh;
39
+ place-items: center;
40
+ text-rendering: optimizeLegibility;
41
+ -webkit-text-size-adjust: 100%;
42
+ }
43
+
44
+ #error-description {
45
+ fill: #d30001;
46
+ }
47
+
48
+ #error-id {
49
+ fill: #f0eff0;
50
+ }
51
+
52
+ @media (prefers-color-scheme: dark) {
53
+ body {
54
+ background: #101010;
55
+ color: #e0e0e0;
56
+ }
57
+
58
+ #error-description {
59
+ fill: #FF6161;
60
+ }
61
+
62
+ #error-id {
63
+ fill: #2c2c2c;
64
+ }
65
+ }
66
+
67
+ a {
68
+ color: inherit;
69
+ font-weight: 700;
70
+ text-decoration: underline;
71
+ text-underline-offset: 0.0925em;
72
+ }
73
+
74
+ b, strong {
75
+ font-weight: 700;
76
+ }
77
+
78
+ i, em {
79
+ font-style: italic;
80
+ }
81
+
82
+ main {
83
+ display: grid;
84
+ gap: 1em;
85
+ padding: 2em;
86
+ place-items: center;
87
+ text-align: center;
88
+ }
89
+
90
+ main header {
91
+ width: min(100%, 12em);
92
+ }
93
+
94
+ main header svg {
95
+ height: auto;
96
+ max-width: 100%;
97
+ width: 100%;
98
+ }
99
+
100
+ main article {
101
+ width: min(100%, 30em);
102
+ }
103
+
104
+ main article p {
105
+ font-size: 75%;
106
+ }
107
+
108
+ main article br {
109
+ display: none;
110
+
111
+ @media(min-width: 48em) {
112
+ display: inline;
113
+ }
114
+ }
115
+
116
+ </style>
117
+
118
+ </head>
119
+
120
+ <body>
121
+
122
+ <!-- This file lives in public/500.html -->
123
+
124
+ <main>
125
+ <header>
126
+ <svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m101.23 93.8427c-8.1103 0-15.4098 3.7849-19.7354 8.3813h-36.2269v-99.21891h103.8143v37.03791h-68.3984v24.8722c5.1366-2.7035 15.1396-5.9477 24.6014-5.9477 35.146 0 56.233 22.7094 56.233 55.4215 0 34.605-23.791 57.315-60.558 57.315-37.8492 0-61.64-22.169-63.8028-55.963h42.9857c1.0814 10.814 9.1919 19.195 21.6281 19.195 11.355 0 19.465-8.381 19.465-20.547 0-11.625-7.299-20.5463-20.006-20.5463zm138.833 77.8613c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z" id="error-id"/><path d="m23.1377 68.9967v34.0033h-8.9162v-34.0033zm4.3157 34.0033v-24.921h8.6947v2.1598c1.3845-1.5506 3.8212-2.7136 6.701-2.7136 5.538 0 8.8054 3.5997 8.8054 9.1377v16.3371h-8.6393v-14.2327c0-2.049-1.0522-3.5443-3.2674-3.5443-1.7168 0-3.1567.9969-3.5997 2.7136v15.0634zm29.9913-8.5839v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.5839v6.8671h5.2058v6.7564h-5.2058v8.307c0 1.9383.9415 2.769 2.6583 2.769.9414 0 1.9937-.2216 2.769-.5538v7.3654c-.9969.443-2.8798.775-4.8181.775-5.8703 0-9.1931-2.769-9.1931-9.0819zm32.3666-.1108h8.0301c-.8861 5.7597-5.2057 9.2487-11.6852 9.2487-7.6424 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.3165-13.0143 12.5159-13.0143 7.6424 0 11.9621 5.095 11.9621 12.5159v2.1598h-16.1156c.2769 2.9905 1.8275 4.5965 4.3196 4.5965 1.7722 0 3.1567-.7753 3.6551-2.4921zm-3.8212-10.0237c-2.0491 0-3.4336 1.2737-3.9874 3.5997h7.5317c-.1107-2.0491-1.3845-3.5997-3.5443-3.5997zm31.4299-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.599-.7753-2.382 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.381.443zm2.949 25.0318v-24.921h8.694v2.1598c1.385-1.5506 3.821-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.64v-14.2327c0-2.049-1.052-3.5443-3.267-3.5443-1.717 0-3.157.9969-3.6 2.7136v15.0634zm50.371 0h-8.363v-1.274c-.83.831-3.323 1.717-5.981 1.717-4.929 0-9.082-2.769-9.082-8.0301 0-4.818 4.153-7.9193 9.581-7.9193 2.049 0 4.485.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.046-2.9905-1.606 0-2.547.7199-2.935 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.433.7199-3.433 2.3813 0 1.7168 1.716 2.4367 3.433 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm20.742-29.0191v35.997h-8.694v-35.997zm13.036 25.9178h9.248c.72 2.326 2.714 3.489 5.483 3.489 2.713 0 4.596-1.163 4.596-3.2674 0-1.6061-1.052-2.326-3.212-2.8244l-6.534-1.3845c-4.985-1.1076-8.751-3.7105-8.751-9.47 0-6.6456 5.538-11.0206 13.07-11.0206 8.307 0 13.014 4.5411 13.956 10.4114h-8.695c-.72-1.8829-2.27-3.3228-5.205-3.3228-2.548 0-4.265 1.1076-4.265 2.9905 0 1.4953 1.052 2.326 2.825 2.7137l6.645 1.5506c5.815 1.3845 9.027 4.5412 9.027 9.8023 0 6.9778-5.87 10.9654-13.291 10.9654-8.141 0-13.679-3.9322-14.897-10.6332zm46.509 1.3845h8.031c-.887 5.7597-5.206 9.2487-11.686 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.317-13.0143 12.516-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.319 4.5965 1.773 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm31.431-6.3134v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.382.443zm18.288 25.0318h-7.809l-9.47-24.921h8.861l4.763 14.288 4.652-14.288h8.528zm25.614-8.6947h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.384-3.5997-3.544-3.5997zm31.43-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443zm13.703-8.9715h24.312v7.6424h-15.562v5.3165h14.232v7.4763h-14.232v5.8703h15.562v7.6978h-24.312zm44.667 8.9715v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm19.673 0v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm26.769 12.5713c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm28.082-12.5713v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443z" id="error-description"/></svg>
127
+ </header>
128
+ <article>
129
+ <p><strong>We're sorry, but something went wrong.</strong><br> If you're the application owner check the logs for more information.</p>
130
+ </article>
131
+ </main>
132
+
133
+ </body>
134
+
135
+ </html>
Binary file
@@ -0,0 +1,3 @@
1
+ <svg width="512" height="512" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="256" cy="256" r="256" fill="red"/>
3
+ </svg>
@@ -0,0 +1 @@
1
+ # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ require_relative "../config/environment"
3
+ require "rails/test_help"
4
+
5
+ module ActiveSupport
6
+ class TestCase
7
+ # Run tests in parallel with specified workers
8
+ parallelize(workers: :number_of_processors)
9
+
10
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
11
+ fixtures :all
12
+
13
+ # Add more helper methods to be used by all tests here...
14
+ end
15
+ end
File without changes
File without changes
File without changes
File without changes
File without changes
metadata ADDED
@@ -0,0 +1,448 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uikit_rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Manh Kha
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: railties
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '7.0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '7.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: view_component
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.0'
40
+ description: A collection of accessible, customizable UI components that you install
41
+ directly into your Rails app. You own the code. No Tailwind required.
42
+ email:
43
+ - manhkha.thai@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - README.md
49
+ - Rakefile
50
+ - app/controllers/uikit_rails/styleguide_controller.rb
51
+ - app/views/layouts/uikit_rails/application.html.erb
52
+ - app/views/uikit_rails/styleguide/index.html.erb
53
+ - app/views/uikit_rails/styleguide/show.html.erb
54
+ - config/routes.rb
55
+ - lib/uikit_rails.rb
56
+ - lib/uikit_rails/engine.rb
57
+ - lib/uikit_rails/generators/add_generator.rb
58
+ - lib/uikit_rails/generators/install_generator.rb
59
+ - lib/uikit_rails/generators/templates/base_component.rb.tt
60
+ - lib/uikit_rails/generators/templates/uikit_rails.css.tt
61
+ - lib/uikit_rails/templates/components/accordion/USAGE
62
+ - lib/uikit_rails/templates/components/accordion/accordion.css
63
+ - lib/uikit_rails/templates/components/accordion/component.html.erb
64
+ - lib/uikit_rails/templates/components/accordion/component.rb
65
+ - lib/uikit_rails/templates/components/accordion/preview.yml
66
+ - lib/uikit_rails/templates/components/alert/USAGE
67
+ - lib/uikit_rails/templates/components/alert/alert.css
68
+ - lib/uikit_rails/templates/components/alert/component.html.erb
69
+ - lib/uikit_rails/templates/components/alert/component.rb
70
+ - lib/uikit_rails/templates/components/alert/preview.yml
71
+ - lib/uikit_rails/templates/components/alert_dialog/USAGE
72
+ - lib/uikit_rails/templates/components/alert_dialog/alert_dialog.css
73
+ - lib/uikit_rails/templates/components/alert_dialog/component.html.erb
74
+ - lib/uikit_rails/templates/components/alert_dialog/component.rb
75
+ - lib/uikit_rails/templates/components/alert_dialog/preview.yml
76
+ - lib/uikit_rails/templates/components/avatar/USAGE
77
+ - lib/uikit_rails/templates/components/avatar/avatar.css
78
+ - lib/uikit_rails/templates/components/avatar/component.html.erb
79
+ - lib/uikit_rails/templates/components/avatar/component.rb
80
+ - lib/uikit_rails/templates/components/avatar/preview.yml
81
+ - lib/uikit_rails/templates/components/badge/USAGE
82
+ - lib/uikit_rails/templates/components/badge/badge.css
83
+ - lib/uikit_rails/templates/components/badge/component.rb
84
+ - lib/uikit_rails/templates/components/badge/preview.yml
85
+ - lib/uikit_rails/templates/components/breadcrumb/USAGE
86
+ - lib/uikit_rails/templates/components/breadcrumb/breadcrumb.css
87
+ - lib/uikit_rails/templates/components/breadcrumb/component.html.erb
88
+ - lib/uikit_rails/templates/components/breadcrumb/component.rb
89
+ - lib/uikit_rails/templates/components/breadcrumb/preview.yml
90
+ - lib/uikit_rails/templates/components/button/USAGE
91
+ - lib/uikit_rails/templates/components/button/button.css
92
+ - lib/uikit_rails/templates/components/button/component.rb
93
+ - lib/uikit_rails/templates/components/button/preview.yml
94
+ - lib/uikit_rails/templates/components/card/USAGE
95
+ - lib/uikit_rails/templates/components/card/card.css
96
+ - lib/uikit_rails/templates/components/card/component.html.erb
97
+ - lib/uikit_rails/templates/components/card/component.rb
98
+ - lib/uikit_rails/templates/components/card/preview.yml
99
+ - lib/uikit_rails/templates/components/checkbox/USAGE
100
+ - lib/uikit_rails/templates/components/checkbox/checkbox.css
101
+ - lib/uikit_rails/templates/components/checkbox/component.html.erb
102
+ - lib/uikit_rails/templates/components/checkbox/component.rb
103
+ - lib/uikit_rails/templates/components/checkbox/preview.yml
104
+ - lib/uikit_rails/templates/components/collapsible/USAGE
105
+ - lib/uikit_rails/templates/components/collapsible/collapsible.css
106
+ - lib/uikit_rails/templates/components/collapsible/component.html.erb
107
+ - lib/uikit_rails/templates/components/collapsible/component.rb
108
+ - lib/uikit_rails/templates/components/collapsible/preview.yml
109
+ - lib/uikit_rails/templates/components/dialog/USAGE
110
+ - lib/uikit_rails/templates/components/dialog/component.html.erb
111
+ - lib/uikit_rails/templates/components/dialog/component.rb
112
+ - lib/uikit_rails/templates/components/dialog/dialog.css
113
+ - lib/uikit_rails/templates/components/dialog/preview.yml
114
+ - lib/uikit_rails/templates/components/dropdown/USAGE
115
+ - lib/uikit_rails/templates/components/dropdown/component.html.erb
116
+ - lib/uikit_rails/templates/components/dropdown/component.rb
117
+ - lib/uikit_rails/templates/components/dropdown/dropdown.css
118
+ - lib/uikit_rails/templates/components/dropdown/preview.yml
119
+ - lib/uikit_rails/templates/components/form/USAGE
120
+ - lib/uikit_rails/templates/components/form/builder.rb
121
+ - lib/uikit_rails/templates/components/form/form.css
122
+ - lib/uikit_rails/templates/components/form/preview.yml
123
+ - lib/uikit_rails/templates/components/input/USAGE
124
+ - lib/uikit_rails/templates/components/input/component.rb
125
+ - lib/uikit_rails/templates/components/input/input.css
126
+ - lib/uikit_rails/templates/components/input/preview.yml
127
+ - lib/uikit_rails/templates/components/label/USAGE
128
+ - lib/uikit_rails/templates/components/label/component.rb
129
+ - lib/uikit_rails/templates/components/label/label.css
130
+ - lib/uikit_rails/templates/components/label/preview.yml
131
+ - lib/uikit_rails/templates/components/pagination/USAGE
132
+ - lib/uikit_rails/templates/components/pagination/component.html.erb
133
+ - lib/uikit_rails/templates/components/pagination/component.rb
134
+ - lib/uikit_rails/templates/components/pagination/pagination.css
135
+ - lib/uikit_rails/templates/components/pagination/preview.yml
136
+ - lib/uikit_rails/templates/components/popover/USAGE
137
+ - lib/uikit_rails/templates/components/popover/component.html.erb
138
+ - lib/uikit_rails/templates/components/popover/component.rb
139
+ - lib/uikit_rails/templates/components/popover/popover.css
140
+ - lib/uikit_rails/templates/components/popover/preview.yml
141
+ - lib/uikit_rails/templates/components/progress/USAGE
142
+ - lib/uikit_rails/templates/components/progress/component.html.erb
143
+ - lib/uikit_rails/templates/components/progress/component.rb
144
+ - lib/uikit_rails/templates/components/progress/preview.yml
145
+ - lib/uikit_rails/templates/components/progress/progress.css
146
+ - lib/uikit_rails/templates/components/select/USAGE
147
+ - lib/uikit_rails/templates/components/select/component.rb
148
+ - lib/uikit_rails/templates/components/select/preview.yml
149
+ - lib/uikit_rails/templates/components/select/select.css
150
+ - lib/uikit_rails/templates/components/separator/USAGE
151
+ - lib/uikit_rails/templates/components/separator/component.rb
152
+ - lib/uikit_rails/templates/components/separator/preview.yml
153
+ - lib/uikit_rails/templates/components/separator/separator.css
154
+ - lib/uikit_rails/templates/components/sheet/USAGE
155
+ - lib/uikit_rails/templates/components/sheet/component.html.erb
156
+ - lib/uikit_rails/templates/components/sheet/component.rb
157
+ - lib/uikit_rails/templates/components/sheet/preview.yml
158
+ - lib/uikit_rails/templates/components/sheet/sheet.css
159
+ - lib/uikit_rails/templates/components/skeleton/USAGE
160
+ - lib/uikit_rails/templates/components/skeleton/component.rb
161
+ - lib/uikit_rails/templates/components/skeleton/preview.yml
162
+ - lib/uikit_rails/templates/components/skeleton/skeleton.css
163
+ - lib/uikit_rails/templates/components/switch/USAGE
164
+ - lib/uikit_rails/templates/components/switch/component.html.erb
165
+ - lib/uikit_rails/templates/components/switch/component.rb
166
+ - lib/uikit_rails/templates/components/switch/preview.yml
167
+ - lib/uikit_rails/templates/components/switch/switch.css
168
+ - lib/uikit_rails/templates/components/table/USAGE
169
+ - lib/uikit_rails/templates/components/table/component.html.erb
170
+ - lib/uikit_rails/templates/components/table/component.rb
171
+ - lib/uikit_rails/templates/components/table/preview.yml
172
+ - lib/uikit_rails/templates/components/table/table.css
173
+ - lib/uikit_rails/templates/components/tabs/USAGE
174
+ - lib/uikit_rails/templates/components/tabs/component.html.erb
175
+ - lib/uikit_rails/templates/components/tabs/component.rb
176
+ - lib/uikit_rails/templates/components/tabs/preview.yml
177
+ - lib/uikit_rails/templates/components/tabs/tabs.css
178
+ - lib/uikit_rails/templates/components/textarea/USAGE
179
+ - lib/uikit_rails/templates/components/textarea/component.rb
180
+ - lib/uikit_rails/templates/components/textarea/preview.yml
181
+ - lib/uikit_rails/templates/components/textarea/textarea.css
182
+ - lib/uikit_rails/templates/components/toggle/USAGE
183
+ - lib/uikit_rails/templates/components/toggle/component.rb
184
+ - lib/uikit_rails/templates/components/toggle/preview.yml
185
+ - lib/uikit_rails/templates/components/toggle/toggle.css
186
+ - lib/uikit_rails/templates/components/tooltip/USAGE
187
+ - lib/uikit_rails/templates/components/tooltip/component.html.erb
188
+ - lib/uikit_rails/templates/components/tooltip/component.rb
189
+ - lib/uikit_rails/templates/components/tooltip/preview.yml
190
+ - lib/uikit_rails/templates/components/tooltip/tooltip.css
191
+ - lib/uikit_rails/templates/stimulus/accordion_controller.js
192
+ - lib/uikit_rails/templates/stimulus/alert_dialog_controller.js
193
+ - lib/uikit_rails/templates/stimulus/collapsible_controller.js
194
+ - lib/uikit_rails/templates/stimulus/dialog_controller.js
195
+ - lib/uikit_rails/templates/stimulus/dropdown_controller.js
196
+ - lib/uikit_rails/templates/stimulus/popover_controller.js
197
+ - lib/uikit_rails/templates/stimulus/sheet_controller.js
198
+ - lib/uikit_rails/templates/stimulus/tabs_controller.js
199
+ - lib/uikit_rails/templates/stimulus/tooltip_controller.js
200
+ - lib/uikit_rails/version.rb
201
+ - sig/uikit_rails.rbs
202
+ - test_app/.dockerignore
203
+ - test_app/.gitattributes
204
+ - test_app/.github/dependabot.yml
205
+ - test_app/.github/workflows/ci.yml
206
+ - test_app/.gitignore
207
+ - test_app/.kamal/hooks/docker-setup.sample
208
+ - test_app/.kamal/hooks/post-app-boot.sample
209
+ - test_app/.kamal/hooks/post-deploy.sample
210
+ - test_app/.kamal/hooks/post-proxy-reboot.sample
211
+ - test_app/.kamal/hooks/pre-app-boot.sample
212
+ - test_app/.kamal/hooks/pre-build.sample
213
+ - test_app/.kamal/hooks/pre-connect.sample
214
+ - test_app/.kamal/hooks/pre-deploy.sample
215
+ - test_app/.kamal/hooks/pre-proxy-reboot.sample
216
+ - test_app/.kamal/secrets
217
+ - test_app/.rubocop.yml
218
+ - test_app/.ruby-version
219
+ - test_app/Dockerfile
220
+ - test_app/Gemfile
221
+ - test_app/Gemfile.lock
222
+ - test_app/README.md
223
+ - test_app/Rakefile
224
+ - test_app/app/assets/images/.keep
225
+ - test_app/app/assets/stylesheets/application.css
226
+ - test_app/app/assets/stylesheets/ui/accordion.css
227
+ - test_app/app/assets/stylesheets/ui/alert.css
228
+ - test_app/app/assets/stylesheets/ui/alert_dialog.css
229
+ - test_app/app/assets/stylesheets/ui/avatar.css
230
+ - test_app/app/assets/stylesheets/ui/badge.css
231
+ - test_app/app/assets/stylesheets/ui/breadcrumb.css
232
+ - test_app/app/assets/stylesheets/ui/button.css
233
+ - test_app/app/assets/stylesheets/ui/card.css
234
+ - test_app/app/assets/stylesheets/ui/checkbox.css
235
+ - test_app/app/assets/stylesheets/ui/collapsible.css
236
+ - test_app/app/assets/stylesheets/ui/dialog.css
237
+ - test_app/app/assets/stylesheets/ui/dropdown.css
238
+ - test_app/app/assets/stylesheets/ui/form.css
239
+ - test_app/app/assets/stylesheets/ui/input.css
240
+ - test_app/app/assets/stylesheets/ui/label.css
241
+ - test_app/app/assets/stylesheets/ui/pagination.css
242
+ - test_app/app/assets/stylesheets/ui/popover.css
243
+ - test_app/app/assets/stylesheets/ui/progress.css
244
+ - test_app/app/assets/stylesheets/ui/select.css
245
+ - test_app/app/assets/stylesheets/ui/separator.css
246
+ - test_app/app/assets/stylesheets/ui/sheet.css
247
+ - test_app/app/assets/stylesheets/ui/skeleton.css
248
+ - test_app/app/assets/stylesheets/ui/switch.css
249
+ - test_app/app/assets/stylesheets/ui/table.css
250
+ - test_app/app/assets/stylesheets/ui/tabs.css
251
+ - test_app/app/assets/stylesheets/ui/textarea.css
252
+ - test_app/app/assets/stylesheets/ui/toggle.css
253
+ - test_app/app/assets/stylesheets/ui/tooltip.css
254
+ - test_app/app/assets/stylesheets/uikit_rails.css
255
+ - test_app/app/components/ui/accordion/component.html.erb
256
+ - test_app/app/components/ui/accordion/component.rb
257
+ - test_app/app/components/ui/accordion/preview.yml
258
+ - test_app/app/components/ui/alert/component.html.erb
259
+ - test_app/app/components/ui/alert/component.rb
260
+ - test_app/app/components/ui/alert/preview.yml
261
+ - test_app/app/components/ui/alert_dialog/component.html.erb
262
+ - test_app/app/components/ui/alert_dialog/component.rb
263
+ - test_app/app/components/ui/alert_dialog/preview.yml
264
+ - test_app/app/components/ui/avatar/component.html.erb
265
+ - test_app/app/components/ui/avatar/component.rb
266
+ - test_app/app/components/ui/avatar/preview.yml
267
+ - test_app/app/components/ui/badge/component.rb
268
+ - test_app/app/components/ui/badge/preview.yml
269
+ - test_app/app/components/ui/base_component.rb
270
+ - test_app/app/components/ui/breadcrumb/component.html.erb
271
+ - test_app/app/components/ui/breadcrumb/component.rb
272
+ - test_app/app/components/ui/breadcrumb/preview.yml
273
+ - test_app/app/components/ui/button/component.rb
274
+ - test_app/app/components/ui/button/preview.yml
275
+ - test_app/app/components/ui/card/component.html.erb
276
+ - test_app/app/components/ui/card/component.rb
277
+ - test_app/app/components/ui/card/preview.yml
278
+ - test_app/app/components/ui/checkbox/component.html.erb
279
+ - test_app/app/components/ui/checkbox/component.rb
280
+ - test_app/app/components/ui/checkbox/preview.yml
281
+ - test_app/app/components/ui/collapsible/component.html.erb
282
+ - test_app/app/components/ui/collapsible/component.rb
283
+ - test_app/app/components/ui/collapsible/preview.yml
284
+ - test_app/app/components/ui/dialog/component.html.erb
285
+ - test_app/app/components/ui/dialog/component.rb
286
+ - test_app/app/components/ui/dialog/preview.yml
287
+ - test_app/app/components/ui/dropdown/component.html.erb
288
+ - test_app/app/components/ui/dropdown/component.rb
289
+ - test_app/app/components/ui/dropdown/preview.yml
290
+ - test_app/app/components/ui/form/USAGE
291
+ - test_app/app/components/ui/form/builder.rb
292
+ - test_app/app/components/ui/form/component.rb
293
+ - test_app/app/components/ui/form/form.css
294
+ - test_app/app/components/ui/form/preview.yml
295
+ - test_app/app/components/ui/input/component.rb
296
+ - test_app/app/components/ui/input/preview.yml
297
+ - test_app/app/components/ui/label/component.rb
298
+ - test_app/app/components/ui/label/preview.yml
299
+ - test_app/app/components/ui/pagination/component.html.erb
300
+ - test_app/app/components/ui/pagination/component.rb
301
+ - test_app/app/components/ui/pagination/preview.yml
302
+ - test_app/app/components/ui/popover/component.html.erb
303
+ - test_app/app/components/ui/popover/component.rb
304
+ - test_app/app/components/ui/popover/preview.yml
305
+ - test_app/app/components/ui/progress/component.html.erb
306
+ - test_app/app/components/ui/progress/component.rb
307
+ - test_app/app/components/ui/progress/preview.yml
308
+ - test_app/app/components/ui/select/component.rb
309
+ - test_app/app/components/ui/select/preview.yml
310
+ - test_app/app/components/ui/separator/component.rb
311
+ - test_app/app/components/ui/separator/preview.yml
312
+ - test_app/app/components/ui/sheet/component.html.erb
313
+ - test_app/app/components/ui/sheet/component.rb
314
+ - test_app/app/components/ui/sheet/preview.yml
315
+ - test_app/app/components/ui/skeleton/component.rb
316
+ - test_app/app/components/ui/skeleton/preview.yml
317
+ - test_app/app/components/ui/switch/component.html.erb
318
+ - test_app/app/components/ui/switch/component.rb
319
+ - test_app/app/components/ui/switch/preview.yml
320
+ - test_app/app/components/ui/table/component.html.erb
321
+ - test_app/app/components/ui/table/component.rb
322
+ - test_app/app/components/ui/table/preview.yml
323
+ - test_app/app/components/ui/tabs/component.html.erb
324
+ - test_app/app/components/ui/tabs/component.rb
325
+ - test_app/app/components/ui/tabs/preview.yml
326
+ - test_app/app/components/ui/textarea/component.rb
327
+ - test_app/app/components/ui/textarea/preview.yml
328
+ - test_app/app/components/ui/toggle/component.rb
329
+ - test_app/app/components/ui/toggle/preview.yml
330
+ - test_app/app/components/ui/tooltip/component.html.erb
331
+ - test_app/app/components/ui/tooltip/component.rb
332
+ - test_app/app/components/ui/tooltip/preview.yml
333
+ - test_app/app/controllers/application_controller.rb
334
+ - test_app/app/controllers/concerns/.keep
335
+ - test_app/app/helpers/application_helper.rb
336
+ - test_app/app/javascript/application.js
337
+ - test_app/app/javascript/controllers/application.js
338
+ - test_app/app/javascript/controllers/hello_controller.js
339
+ - test_app/app/javascript/controllers/index.js
340
+ - test_app/app/javascript/controllers/ui/accordion_controller.js
341
+ - test_app/app/javascript/controllers/ui/alert_dialog_controller.js
342
+ - test_app/app/javascript/controllers/ui/collapsible_controller.js
343
+ - test_app/app/javascript/controllers/ui/dialog_controller.js
344
+ - test_app/app/javascript/controllers/ui/dropdown_controller.js
345
+ - test_app/app/javascript/controllers/ui/popover_controller.js
346
+ - test_app/app/javascript/controllers/ui/sheet_controller.js
347
+ - test_app/app/javascript/controllers/ui/tabs_controller.js
348
+ - test_app/app/javascript/controllers/ui/tooltip_controller.js
349
+ - test_app/app/jobs/application_job.rb
350
+ - test_app/app/mailers/application_mailer.rb
351
+ - test_app/app/models/application_record.rb
352
+ - test_app/app/models/concerns/.keep
353
+ - test_app/app/views/layouts/application.html.erb
354
+ - test_app/app/views/layouts/mailer.html.erb
355
+ - test_app/app/views/layouts/mailer.text.erb
356
+ - test_app/app/views/pwa/manifest.json.erb
357
+ - test_app/app/views/pwa/service-worker.js
358
+ - test_app/bin/brakeman
359
+ - test_app/bin/bundler-audit
360
+ - test_app/bin/ci
361
+ - test_app/bin/dev
362
+ - test_app/bin/docker-entrypoint
363
+ - test_app/bin/importmap
364
+ - test_app/bin/jobs
365
+ - test_app/bin/kamal
366
+ - test_app/bin/rails
367
+ - test_app/bin/rake
368
+ - test_app/bin/rubocop
369
+ - test_app/bin/setup
370
+ - test_app/bin/thrust
371
+ - test_app/config.ru
372
+ - test_app/config/application.rb
373
+ - test_app/config/boot.rb
374
+ - test_app/config/bundler-audit.yml
375
+ - test_app/config/cable.yml
376
+ - test_app/config/cache.yml
377
+ - test_app/config/ci.rb
378
+ - test_app/config/credentials.yml.enc
379
+ - test_app/config/database.yml
380
+ - test_app/config/deploy.yml
381
+ - test_app/config/environment.rb
382
+ - test_app/config/environments/development.rb
383
+ - test_app/config/environments/production.rb
384
+ - test_app/config/environments/test.rb
385
+ - test_app/config/importmap.rb
386
+ - test_app/config/initializers/assets.rb
387
+ - test_app/config/initializers/content_security_policy.rb
388
+ - test_app/config/initializers/filter_parameter_logging.rb
389
+ - test_app/config/initializers/inflections.rb
390
+ - test_app/config/locales/en.yml
391
+ - test_app/config/puma.rb
392
+ - test_app/config/queue.yml
393
+ - test_app/config/recurring.yml
394
+ - test_app/config/routes.rb
395
+ - test_app/config/storage.yml
396
+ - test_app/db/cable_schema.rb
397
+ - test_app/db/cache_schema.rb
398
+ - test_app/db/queue_schema.rb
399
+ - test_app/db/seeds.rb
400
+ - test_app/lib/tasks/.keep
401
+ - test_app/log/.keep
402
+ - test_app/public/400.html
403
+ - test_app/public/404.html
404
+ - test_app/public/406-unsupported-browser.html
405
+ - test_app/public/422.html
406
+ - test_app/public/500.html
407
+ - test_app/public/icon.png
408
+ - test_app/public/icon.svg
409
+ - test_app/public/robots.txt
410
+ - test_app/script/.keep
411
+ - test_app/storage/.keep
412
+ - test_app/test/controllers/.keep
413
+ - test_app/test/fixtures/files/.keep
414
+ - test_app/test/helpers/.keep
415
+ - test_app/test/integration/.keep
416
+ - test_app/test/mailers/.keep
417
+ - test_app/test/models/.keep
418
+ - test_app/test/test_helper.rb
419
+ - test_app/tmp/.keep
420
+ - test_app/tmp/pids/.keep
421
+ - test_app/tmp/storage/.keep
422
+ - test_app/vendor/.keep
423
+ - test_app/vendor/javascript/.keep
424
+ homepage: https://github.com/kha-wogi/uikit_rails
425
+ licenses:
426
+ - MIT
427
+ metadata:
428
+ homepage_uri: https://github.com/kha-wogi/uikit_rails
429
+ source_code_uri: https://github.com/kha-wogi/uikit_rails
430
+ rubygems_mfa_required: 'true'
431
+ rdoc_options: []
432
+ require_paths:
433
+ - lib
434
+ required_ruby_version: !ruby/object:Gem::Requirement
435
+ requirements:
436
+ - - ">="
437
+ - !ruby/object:Gem::Version
438
+ version: 3.2.0
439
+ required_rubygems_version: !ruby/object:Gem::Requirement
440
+ requirements:
441
+ - - ">="
442
+ - !ruby/object:Gem::Version
443
+ version: '0'
444
+ requirements: []
445
+ rubygems_version: 4.0.3
446
+ specification_version: 4
447
+ summary: Beautiful, copy-paste UI components for Rails. Like shadcn/ui, but for Rails.
448
+ test_files: []