undercase 0.2.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +70 -0
  3. data/Rakefile +21 -0
  4. data/app/assets/fonts/FontAwesome/FontAwesome.otf +0 -0
  5. data/app/assets/fonts/FontAwesome/fontawesome-webfont.eot +0 -0
  6. data/app/assets/fonts/FontAwesome/fontawesome-webfont.svg +414 -0
  7. data/app/assets/fonts/FontAwesome/fontawesome-webfont.ttf +0 -0
  8. data/app/assets/fonts/FontAwesome/fontawesome-webfont.woff +0 -0
  9. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.eot +0 -0
  10. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.svg +914 -0
  11. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.ttf +0 -0
  12. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.woff +0 -0
  13. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.eot +0 -0
  14. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.svg +812 -0
  15. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.ttf +0 -0
  16. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.woff +0 -0
  17. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.eot +0 -0
  18. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.svg +955 -0
  19. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.ttf +0 -0
  20. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.woff +0 -0
  21. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.eot +0 -0
  22. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.svg +831 -0
  23. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.ttf +0 -0
  24. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.woff +0 -0
  25. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.eot +0 -0
  26. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.svg +905 -0
  27. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.ttf +0 -0
  28. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.woff +0 -0
  29. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.eot +0 -0
  30. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.svg +828 -0
  31. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.ttf +0 -0
  32. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.woff +0 -0
  33. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.eot +0 -0
  34. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.svg +843 -0
  35. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.ttf +0 -0
  36. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.woff +0 -0
  37. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  38. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +904 -0
  39. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  40. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  41. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.eot +0 -0
  42. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.svg +830 -0
  43. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.ttf +0 -0
  44. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.woff +0 -0
  45. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  46. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +978 -0
  47. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  48. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  49. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.eot +0 -0
  50. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.svg +968 -0
  51. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.ttf +0 -0
  52. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.woff +0 -0
  53. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.eot +0 -0
  54. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.svg +838 -0
  55. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.ttf +0 -0
  56. data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.woff +0 -0
  57. data/app/assets/fonts/Undercase-Icons/Undercase-Icons.eot +0 -0
  58. data/app/assets/fonts/Undercase-Icons/Undercase-Icons.svg +72 -0
  59. data/app/assets/fonts/Undercase-Icons/Undercase-Icons.ttf +0 -0
  60. data/app/assets/fonts/Undercase-Icons/Undercase-Icons.woff +0 -0
  61. data/app/assets/images/avatar_male_small.png +0 -0
  62. data/app/assets/images/backgrounds/checkerboard_tile.png +0 -0
  63. data/app/assets/images/icons/calendar_datepicker.svg +18 -0
  64. data/app/assets/images/icons/checkbox-selected.svg +17 -0
  65. data/app/assets/images/icons/checkbox-unselected.svg +12 -0
  66. data/app/assets/images/icons/double-arrow-left.svg +13 -0
  67. data/app/assets/images/icons/double-arrow-right.svg +13 -0
  68. data/app/assets/images/icons/focus-child.svg +14 -0
  69. data/app/assets/images/icons/master-profile.svg +11 -0
  70. data/app/assets/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  71. data/app/assets/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  72. data/app/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  73. data/app/assets/images/ui-bg_flat_100_b8b8b8_40x100.png +0 -0
  74. data/app/assets/images/ui-bg_flat_10_000000_40x100.png +0 -0
  75. data/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  76. data/app/assets/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  77. data/app/assets/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  78. data/app/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  79. data/app/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  80. data/app/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  81. data/app/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  82. data/app/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  83. data/app/assets/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  84. data/app/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  85. data/app/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  86. data/app/assets/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  87. data/app/assets/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  88. data/app/assets/images/ui-icons_222222_256x240.png +0 -0
  89. data/app/assets/images/ui-icons_228ef1_256x240.png +0 -0
  90. data/app/assets/images/ui-icons_2e83ff_256x240.png +0 -0
  91. data/app/assets/images/ui-icons_454545_256x240.png +0 -0
  92. data/app/assets/images/ui-icons_888888_256x240.png +0 -0
  93. data/app/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
  94. data/app/assets/images/ui-icons_ef8c08_256x240.png +0 -0
  95. data/app/assets/images/ui-icons_ffd27a_256x240.png +0 -0
  96. data/app/assets/images/ui-icons_ffffff_256x240.png +0 -0
  97. data/app/assets/images/undercase/undercase_gem_logo.png +0 -0
  98. data/app/assets/javascripts/undercase/index.js +19 -0
  99. data/app/assets/javascripts/undercase/lib/BreakpointTell.js +9 -0
  100. data/app/assets/javascripts/undercase/lib/timezone.js +28 -0
  101. data/app/assets/javascripts/undercase/patterns/Filter.js +75 -0
  102. data/app/assets/javascripts/undercase/patterns/FlexibleSearchMenu.js +64 -0
  103. data/app/assets/javascripts/undercase/patterns/ToggleNavigationSearch.js +60 -0
  104. data/app/assets/javascripts/undercase/patterns/datepicker.js +36 -0
  105. data/app/assets/javascripts/undercase/patterns/expando.js +39 -0
  106. data/app/assets/javascripts/undercase/patterns/modal.js +60 -0
  107. data/app/assets/javascripts/undercase/patterns/tabs.js +26 -0
  108. data/app/assets/javascripts/undercase/patterns/timepicker.js +5 -0
  109. data/app/assets/javascripts/undercase/popover.js +26 -0
  110. data/app/assets/javascripts/undercase/presenter.js +55 -0
  111. data/app/assets/javascripts/undercase/show_code.js +35 -0
  112. data/app/assets/javascripts/undercase/vendor/date.js +879 -0
  113. data/app/assets/javascripts/undercase/vendor/jquery-extensions/jquery.calendrical.js +517 -0
  114. data/app/assets/javascripts/undercase/vendor/jquery-ui-1.10.3.js +14972 -0
  115. data/app/assets/javascripts/undercase/vendor/modernizr.custom.14960.js +764 -0
  116. data/app/assets/javascripts/undercase/vendor/underscore.js +1189 -0
  117. data/app/assets/stylesheets/undercase/libraries/_all.scss +38 -0
  118. data/app/assets/stylesheets/undercase/libraries/_borders.scss +20 -0
  119. data/app/assets/stylesheets/undercase/libraries/_colors.scss +41 -0
  120. data/app/assets/stylesheets/undercase/libraries/_constants.scss +76 -0
  121. data/app/assets/stylesheets/undercase/libraries/_groundwork_settings.scss +351 -0
  122. data/app/assets/stylesheets/undercase/libraries/_icon_codes.scss +369 -0
  123. data/app/assets/stylesheets/undercase/libraries/_mixins.scss +49 -0
  124. data/app/assets/stylesheets/undercase/libraries/mixins/_button.scss +124 -0
  125. data/app/assets/stylesheets/undercase/libraries/mixins/_forms.scss +33 -0
  126. data/app/assets/stylesheets/undercase/libraries/mixins/_layout.scss +23 -0
  127. data/app/assets/stylesheets/undercase/libraries/mixins/_typography.scss +99 -0
  128. data/app/assets/stylesheets/undercase/patterns/_all.scss +32 -0
  129. data/app/assets/stylesheets/undercase/patterns/_borders.scss +89 -0
  130. data/app/assets/stylesheets/undercase/patterns/_box_helpers.scss +39 -0
  131. data/app/assets/stylesheets/undercase/patterns/_buttons.scss +110 -0
  132. data/app/assets/stylesheets/undercase/patterns/_cards.scss +36 -0
  133. data/app/assets/stylesheets/undercase/patterns/_chevrons.scss +98 -0
  134. data/app/assets/stylesheets/undercase/patterns/_colors.scss +34 -0
  135. data/app/assets/stylesheets/undercase/patterns/_content_with_toolbar.scss +23 -0
  136. data/app/assets/stylesheets/undercase/patterns/_dropdowns.scss +49 -0
  137. data/app/assets/stylesheets/undercase/patterns/_filters.scss +121 -0
  138. data/app/assets/stylesheets/undercase/patterns/_font_faces.scss +32 -0
  139. data/app/assets/stylesheets/undercase/patterns/_forms.scss +617 -0
  140. data/app/assets/stylesheets/undercase/patterns/_horizontal_rules.scss +5 -0
  141. data/app/assets/stylesheets/undercase/patterns/_icons.scss +4 -0
  142. data/app/assets/stylesheets/undercase/patterns/_inline_message.scss +36 -0
  143. data/app/assets/stylesheets/undercase/patterns/_layout.scss +57 -0
  144. data/app/assets/stylesheets/undercase/patterns/_length_of_time.scss +10 -0
  145. data/app/assets/stylesheets/undercase/patterns/_links.scss +96 -0
  146. data/app/assets/stylesheets/undercase/patterns/_lists.scss +84 -0
  147. data/app/assets/stylesheets/undercase/patterns/_media.scss +15 -0
  148. data/app/assets/stylesheets/undercase/patterns/_modals.scss +114 -0
  149. data/app/assets/stylesheets/undercase/patterns/_navigation.scss +224 -0
  150. data/app/assets/stylesheets/undercase/patterns/_pagination.scss +33 -0
  151. data/app/assets/stylesheets/undercase/patterns/_person_placard.scss +52 -0
  152. data/app/assets/stylesheets/undercase/patterns/_popovers.scss +12 -0
  153. data/app/assets/stylesheets/undercase/patterns/_quiz.scss +67 -0
  154. data/app/assets/stylesheets/undercase/patterns/_site.scss +95 -0
  155. data/app/assets/stylesheets/undercase/patterns/_spinners.scss +23 -0
  156. data/app/assets/stylesheets/undercase/patterns/_tables.scss +111 -0
  157. data/app/assets/stylesheets/undercase/patterns/_tabs.scss +56 -0
  158. data/app/assets/stylesheets/undercase/patterns/_typography.scss +231 -0
  159. data/app/assets/stylesheets/undercase/patterns/undercase_icons/glyphs.scss +28 -0
  160. data/app/assets/stylesheets/undercase/patterns_new_front_end/_all.scss +6 -0
  161. data/app/assets/stylesheets/undercase/patterns_new_front_end/_cards.scss +248 -0
  162. data/app/assets/stylesheets/undercase/patterns_new_front_end/_links.scss +10 -0
  163. data/app/assets/stylesheets/undercase/patterns_new_front_end/_warnings.scss +32 -0
  164. data/app/assets/stylesheets/undercase/vendor_static/_all.scss +12 -0
  165. data/app/assets/stylesheets/undercase/vendor_static/_calendrical.scss +105 -0
  166. data/app/assets/stylesheets/undercase/vendor_static/_icons.scss +422 -0
  167. data/app/assets/stylesheets/undercase/vendor_static/_jquery-ui-1.8.13.custom.scss +615 -0
  168. data/app/assets/stylesheets/undercase_frame/_dummy_site.scss +307 -0
  169. data/app/assets/stylesheets/undercase_frame/vendor/coderay.css +118 -0
  170. data/app/assets/stylesheets/undercase_frame_application.css.scss +18 -0
  171. data/app/assets/stylesheets/undercase_frame_vendor_static.scss +4 -0
  172. data/app/controllers/undercase/application_controller.rb +4 -0
  173. data/app/controllers/undercase/patterns_controller.rb +13 -0
  174. data/app/helpers/undercase/application_helper.rb +86 -0
  175. data/app/helpers/undercase/pattern_helper.rb +7 -0
  176. data/app/inputs/currency_input.rb +20 -0
  177. data/app/inputs/date_picker_input.rb +77 -0
  178. data/app/inputs/date_time_picker_input.rb +141 -0
  179. data/app/inputs/radio_as_accessible_input.rb +33 -0
  180. data/app/inputs/radio_with_clear_input.rb +41 -0
  181. data/app/models/dummy_form_object.rb +24 -0
  182. data/app/views/layouts/undercase/application.html.haml +49 -0
  183. data/app/views/undercase/patterns/_blue_dotted_link_caps.html.haml +2 -0
  184. data/app/views/undercase/patterns/_blue_link.html.haml +2 -0
  185. data/app/views/undercase/patterns/_blue_link_clean.html.haml +2 -0
  186. data/app/views/undercase/patterns/_cc_button_auto.html.haml +8 -0
  187. data/app/views/undercase/patterns/_cc_button_flat_blue.html.haml +2 -0
  188. data/app/views/undercase/patterns/_cc_button_flat_gray.html.haml +7 -0
  189. data/app/views/undercase/patterns/_cc_button_flat_gray_split.html.haml +4 -0
  190. data/app/views/undercase/patterns/_cc_button_flat_green.html.haml +2 -0
  191. data/app/views/undercase/patterns/_cc_button_gray.html.haml +1 -0
  192. data/app/views/undercase/patterns/_cc_button_icon.html.haml +2 -0
  193. data/app/views/undercase/patterns/_cc_button_wire_auto.html.haml +8 -0
  194. data/app/views/undercase/patterns/_cc_link_smartbar.html.haml +2 -0
  195. data/app/views/undercase/patterns/_chevrons.html.haml +38 -0
  196. data/app/views/undercase/patterns/_colors.html.haml +12 -0
  197. data/app/views/undercase/patterns/_content_with_toolbar.html.haml +6 -0
  198. data/app/views/undercase/patterns/_dropdown.html.haml +21 -0
  199. data/app/views/undercase/patterns/_filters.html.haml +210 -0
  200. data/app/views/undercase/patterns/_filters_show_only.html.haml +77 -0
  201. data/app/views/undercase/patterns/_gray_link.html.haml +2 -0
  202. data/app/views/undercase/patterns/_grid.html.haml +0 -0
  203. data/app/views/undercase/patterns/_icon_classes.html.haml +8 -0
  204. data/app/views/undercase/patterns/_icon_custom.html.haml +12 -0
  205. data/app/views/undercase/patterns/_inline_message.html.haml +5 -0
  206. data/app/views/undercase/patterns/_length_of_time.html.haml +12 -0
  207. data/app/views/undercase/patterns/_list_circle.html.haml +4 -0
  208. data/app/views/undercase/patterns/_list_disc.html.haml +4 -0
  209. data/app/views/undercase/patterns/_navigation.html.haml +40 -0
  210. data/app/views/undercase/patterns/_pagination.html.haml +17 -0
  211. data/app/views/undercase/patterns/_pattern.html.haml +27 -0
  212. data/app/views/undercase/patterns/_person_placard.html.haml +103 -0
  213. data/app/views/undercase/patterns/_popover.html.haml +9 -0
  214. data/app/views/undercase/patterns/_tables_mobile.html.haml +23 -0
  215. data/app/views/undercase/patterns/_tables_not_desktop.html.haml +21 -0
  216. data/app/views/undercase/patterns/_tables_small_mobile.html.haml +23 -0
  217. data/app/views/undercase/patterns/_tables_small_tablet.html.haml +25 -0
  218. data/app/views/undercase/patterns/_typography.html.haml +16 -0
  219. data/app/views/undercase/patterns/_typography_body_em.html.haml +1 -0
  220. data/app/views/undercase/patterns/_typography_body_p.html.haml +1 -0
  221. data/app/views/undercase/patterns/_typography_body_strong.html.haml +1 -0
  222. data/app/views/undercase/patterns/_typography_body_thin.html.haml +1 -0
  223. data/app/views/undercase/patterns/_typography_body_underline.html.haml +1 -0
  224. data/app/views/undercase/patterns/_typography_body_uppercase.html.haml +1 -0
  225. data/app/views/undercase/patterns/_typography_heading_1.html.haml +1 -0
  226. data/app/views/undercase/patterns/_typography_heading_2.html.haml +1 -0
  227. data/app/views/undercase/patterns/_typography_heading_3.html.haml +1 -0
  228. data/app/views/undercase/patterns/_typography_heading_4.html.haml +1 -0
  229. data/app/views/undercase/patterns/_typography_heading_thin.html.haml +1 -0
  230. data/app/views/undercase/patterns/_typography_links_general.html.haml +2 -0
  231. data/app/views/undercase/patterns/_typography_links_navigation.html.haml +2 -0
  232. data/app/views/undercase/patterns/_typography_links_page_banner.html.haml +2 -0
  233. data/app/views/undercase/patterns/_uc_borders_blue.html.haml +2 -0
  234. data/app/views/undercase/patterns/_uc_borders_gray.html.haml +2 -0
  235. data/app/views/undercase/patterns/_uc_borders_hover_blue.html.haml +3 -0
  236. data/app/views/undercase/patterns/_uc_borders_left.html.haml +4 -0
  237. data/app/views/undercase/patterns/_uc_borders_lighter_gray.html.haml +3 -0
  238. data/app/views/undercase/patterns/_uc_borders_middle_blue_2.html.haml +1 -0
  239. data/app/views/undercase/patterns/_uc_borders_middle_gray.html.haml +2 -0
  240. data/app/views/undercase/patterns/_uc_borders_yellow.html.haml +1 -0
  241. data/app/views/undercase/patterns/_uc_card.html.haml +40 -0
  242. data/app/views/undercase/patterns/_uc_dialog_loading.html.haml +2 -0
  243. data/app/views/undercase/patterns/_uc_errors.html.haml +1 -0
  244. data/app/views/undercase/patterns/_uc_forms_check_boxes.html.haml +7 -0
  245. data/app/views/undercase/patterns/_uc_forms_check_boxes_boolean.html.haml +20 -0
  246. data/app/views/undercase/patterns/_uc_forms_checkbutton.html.haml +14 -0
  247. data/app/views/undercase/patterns/_uc_forms_conditionally_required.html.haml +19 -0
  248. data/app/views/undercase/patterns/_uc_forms_currency_input.html.haml +7 -0
  249. data/app/views/undercase/patterns/_uc_forms_date_picker.html.haml +9 -0
  250. data/app/views/undercase/patterns/_uc_forms_date_time_picker.html.haml +9 -0
  251. data/app/views/undercase/patterns/_uc_forms_disabled_field.html.haml +8 -0
  252. data/app/views/undercase/patterns/_uc_forms_dropdown.html.haml +10 -0
  253. data/app/views/undercase/patterns/_uc_forms_dropdown_with_optgroups.html.haml +10 -0
  254. data/app/views/undercase/patterns/_uc_forms_full_name.html.haml +32 -0
  255. data/app/views/undercase/patterns/_uc_forms_grouped_inputs.html.haml +17 -0
  256. data/app/views/undercase/patterns/_uc_forms_large_field.html.haml +8 -0
  257. data/app/views/undercase/patterns/_uc_forms_medium_field.html.haml +8 -0
  258. data/app/views/undercase/patterns/_uc_forms_phone.html.haml +26 -0
  259. data/app/views/undercase/patterns/_uc_forms_radio_button_clear_link.html.haml +7 -0
  260. data/app/views/undercase/patterns/_uc_forms_radio_buttons.html.haml +7 -0
  261. data/app/views/undercase/patterns/_uc_forms_radio_buttons_breathe.html.haml +11 -0
  262. data/app/views/undercase/patterns/_uc_forms_radio_buttons_horizontal.html.haml +11 -0
  263. data/app/views/undercase/patterns/_uc_forms_search.html.haml +23 -0
  264. data/app/views/undercase/patterns/_uc_forms_short_name.html.haml +20 -0
  265. data/app/views/undercase/patterns/_uc_forms_small_field.html.haml +8 -0
  266. data/app/views/undercase/patterns/_uc_forms_textarea.html.haml +9 -0
  267. data/app/views/undercase/patterns/_uc_forms_tiny_field.html.haml +8 -0
  268. data/app/views/undercase/patterns/_uc_list_comma.html.haml +4 -0
  269. data/app/views/undercase/patterns/_uc_list_ordered_alpha.html.haml +12 -0
  270. data/app/views/undercase/patterns/_uc_list_ordered_decimal.html.haml +12 -0
  271. data/app/views/undercase/patterns/_uc_list_pipe.html.haml +4 -0
  272. data/app/views/undercase/patterns/_uc_media.html.haml +6 -0
  273. data/app/views/undercase/patterns/_uc_modal_basic.html.haml +28 -0
  274. data/app/views/undercase/patterns/_uc_modal_exception.html.haml +34 -0
  275. data/app/views/undercase/patterns/_uc_modal_with_linked.html.haml +37 -0
  276. data/app/views/undercase/patterns/_uc_quiz_questions.html.haml +12 -0
  277. data/app/views/undercase/patterns/_uc_tabs.html.haml +16 -0
  278. data/app/views/undercase/patterns/index.html.haml +48 -0
  279. data/app/views/undercase/patterns/show.html.haml +7 -0
  280. data/app/views/undercase/popups/_dropdown.html.haml +5 -0
  281. data/config/initializers/dotiw.rb +1 -0
  282. data/config/initializers/simple_form.rb +147 -0
  283. data/config/routes.rb +4 -0
  284. data/config/tddium.yml +17 -0
  285. data/config/undercase-icons-regular.yml +41 -0
  286. data/lib/tasks/undercase.rake +51 -0
  287. data/lib/undercase.rb +15 -0
  288. data/lib/undercase/categories.yml +12 -0
  289. data/lib/undercase/category.rb +20 -0
  290. data/lib/undercase/engine.rb +13 -0
  291. data/lib/undercase/pattern.rb +68 -0
  292. data/lib/undercase/patterns/blue_dotted_link_caps.yml +4 -0
  293. data/lib/undercase/patterns/blue_link.yml +4 -0
  294. data/lib/undercase/patterns/blue_link_clean.yml +4 -0
  295. data/lib/undercase/patterns/cc_button_auto.yml +4 -0
  296. data/lib/undercase/patterns/cc_button_flat_blue.yml +4 -0
  297. data/lib/undercase/patterns/cc_button_flat_gray.yml +4 -0
  298. data/lib/undercase/patterns/cc_button_flat_gray_split.yml +9 -0
  299. data/lib/undercase/patterns/cc_button_flat_green.yml +27 -0
  300. data/lib/undercase/patterns/cc_button_gray.yml +4 -0
  301. data/lib/undercase/patterns/cc_button_icon.yml +4 -0
  302. data/lib/undercase/patterns/cc_button_wire_auto.yml +5 -0
  303. data/lib/undercase/patterns/cc_link_smartbar.yml +4 -0
  304. data/lib/undercase/patterns/chevrons.yml +4 -0
  305. data/lib/undercase/patterns/colors.yml +5 -0
  306. data/lib/undercase/patterns/content_with_toolbar.yml +4 -0
  307. data/lib/undercase/patterns/dropdown.yml +4 -0
  308. data/lib/undercase/patterns/filters.yml +5 -0
  309. data/lib/undercase/patterns/filters_show_only.yml +5 -0
  310. data/lib/undercase/patterns/gray_link.yml +4 -0
  311. data/lib/undercase/patterns/grid.yml +4 -0
  312. data/lib/undercase/patterns/icon_classes.yml +5 -0
  313. data/lib/undercase/patterns/icon_custom.yml +4 -0
  314. data/lib/undercase/patterns/inline_message.yml +4 -0
  315. data/lib/undercase/patterns/length_of_time.yml +4 -0
  316. data/lib/undercase/patterns/list_circle.yml +4 -0
  317. data/lib/undercase/patterns/list_disc.yml +4 -0
  318. data/lib/undercase/patterns/navigation.yml +4 -0
  319. data/lib/undercase/patterns/pagination.yml +4 -0
  320. data/lib/undercase/patterns/person_placard.yml +4 -0
  321. data/lib/undercase/patterns/popover.yml +4 -0
  322. data/lib/undercase/patterns/tables_mobile.yml +4 -0
  323. data/lib/undercase/patterns/tables_not_desktop.yml +4 -0
  324. data/lib/undercase/patterns/tables_small_tablet.yml +4 -0
  325. data/lib/undercase/patterns/typography.yml +4 -0
  326. data/lib/undercase/patterns/typography_body_em.yml +4 -0
  327. data/lib/undercase/patterns/typography_body_p.yml +4 -0
  328. data/lib/undercase/patterns/typography_body_strong.yml +4 -0
  329. data/lib/undercase/patterns/typography_body_thin.yml +4 -0
  330. data/lib/undercase/patterns/typography_body_underline.yml +4 -0
  331. data/lib/undercase/patterns/typography_body_uppercase.yml +4 -0
  332. data/lib/undercase/patterns/typography_heading_1.yml +4 -0
  333. data/lib/undercase/patterns/typography_heading_2.yml +4 -0
  334. data/lib/undercase/patterns/typography_heading_3.yml +4 -0
  335. data/lib/undercase/patterns/typography_heading_4.yml +4 -0
  336. data/lib/undercase/patterns/typography_heading_thin.yml +4 -0
  337. data/lib/undercase/patterns/typography_links_general.yml +4 -0
  338. data/lib/undercase/patterns/typography_links_navigation.yml +4 -0
  339. data/lib/undercase/patterns/typography_links_page_banner.yml +4 -0
  340. data/lib/undercase/patterns/uc_borders_blue.yml +4 -0
  341. data/lib/undercase/patterns/uc_borders_gray.yml +4 -0
  342. data/lib/undercase/patterns/uc_borders_hover_blue.yml +4 -0
  343. data/lib/undercase/patterns/uc_borders_left.yml +4 -0
  344. data/lib/undercase/patterns/uc_borders_lighter_gray.yml +4 -0
  345. data/lib/undercase/patterns/uc_borders_middle_blue_2.yml +4 -0
  346. data/lib/undercase/patterns/uc_borders_middle_gray.yml +4 -0
  347. data/lib/undercase/patterns/uc_borders_yellow.yml +4 -0
  348. data/lib/undercase/patterns/uc_card.yml +5 -0
  349. data/lib/undercase/patterns/uc_dialog_loading.yml +4 -0
  350. data/lib/undercase/patterns/uc_errors.yml +5 -0
  351. data/lib/undercase/patterns/uc_forms_check_boxes.yml +4 -0
  352. data/lib/undercase/patterns/uc_forms_check_boxes_boolean.yml +4 -0
  353. data/lib/undercase/patterns/uc_forms_checkbutton.yml +4 -0
  354. data/lib/undercase/patterns/uc_forms_conditionally_required.yml +4 -0
  355. data/lib/undercase/patterns/uc_forms_currency_input.yml +4 -0
  356. data/lib/undercase/patterns/uc_forms_date_picker.yml +4 -0
  357. data/lib/undercase/patterns/uc_forms_date_time_picker.yml +4 -0
  358. data/lib/undercase/patterns/uc_forms_disabled_field.yml +4 -0
  359. data/lib/undercase/patterns/uc_forms_dropdown.yml +4 -0
  360. data/lib/undercase/patterns/uc_forms_dropdown_with_optgroups.yml +4 -0
  361. data/lib/undercase/patterns/uc_forms_full_name.yml +4 -0
  362. data/lib/undercase/patterns/uc_forms_grouped_inputs.yml +4 -0
  363. data/lib/undercase/patterns/uc_forms_large_field.yml +4 -0
  364. data/lib/undercase/patterns/uc_forms_medium_field.yml +4 -0
  365. data/lib/undercase/patterns/uc_forms_phone.yml +4 -0
  366. data/lib/undercase/patterns/uc_forms_radio_button_clear_link.yml +4 -0
  367. data/lib/undercase/patterns/uc_forms_radio_buttons.yml +4 -0
  368. data/lib/undercase/patterns/uc_forms_radio_buttons_breathe.yml +4 -0
  369. data/lib/undercase/patterns/uc_forms_radio_buttons_horizontal.yml +4 -0
  370. data/lib/undercase/patterns/uc_forms_search.yml +4 -0
  371. data/lib/undercase/patterns/uc_forms_short_name.yml +4 -0
  372. data/lib/undercase/patterns/uc_forms_small_field.yml +4 -0
  373. data/lib/undercase/patterns/uc_forms_textarea.yml +4 -0
  374. data/lib/undercase/patterns/uc_forms_tiny_field.yml +4 -0
  375. data/lib/undercase/patterns/uc_list_comma.yml +4 -0
  376. data/lib/undercase/patterns/uc_list_ordered_alpha.yml +4 -0
  377. data/lib/undercase/patterns/uc_list_ordered_decimal.yml +4 -0
  378. data/lib/undercase/patterns/uc_list_pipe.yml +4 -0
  379. data/lib/undercase/patterns/uc_media.yml +4 -0
  380. data/lib/undercase/patterns/uc_modal_basic.yml +4 -0
  381. data/lib/undercase/patterns/uc_modal_exception.yml +4 -0
  382. data/lib/undercase/patterns/uc_modal_with_linked.yml +4 -0
  383. data/lib/undercase/patterns/uc_quiz_questions.yml +4 -0
  384. data/lib/undercase/patterns/uc_tabs.yml +4 -0
  385. data/lib/undercase/templates/fontcustom/glyphs.scss +6 -0
  386. data/lib/undercase/version.rb +3 -0
  387. data/public/timezones/Makefile +523 -0
  388. data/public/timezones/africa +1194 -0
  389. data/public/timezones/antarctica +411 -0
  390. data/public/timezones/asia +2751 -0
  391. data/public/timezones/australasia +1726 -0
  392. data/public/timezones/backward +117 -0
  393. data/public/timezones/etcetera +81 -0
  394. data/public/timezones/europe +2973 -0
  395. data/public/timezones/factory +10 -0
  396. data/public/timezones/iso3166.tab +276 -0
  397. data/public/timezones/leapseconds +100 -0
  398. data/public/timezones/northamerica +3254 -0
  399. data/public/timezones/pacificnew +28 -0
  400. data/public/timezones/solar87 +390 -0
  401. data/public/timezones/solar88 +390 -0
  402. data/public/timezones/solar89 +395 -0
  403. data/public/timezones/southamerica +1718 -0
  404. data/public/timezones/systemv +38 -0
  405. data/public/timezones/yearistype.sh +38 -0
  406. data/public/timezones/zone.tab +444 -0
  407. metadata +789 -0
@@ -0,0 +1 @@
1
+ .uc-border-bottom-solid-middle-blue-2 Border Below
@@ -0,0 +1,2 @@
1
+ .uc-border-bottom-middle-gray Border Below (solid)
2
+ .uc-border-bottom-middle-gray-dotted Border Below (dotted)
@@ -0,0 +1 @@
1
+ .uc-border-top-yellow-dotted Border Above (dotted)
@@ -0,0 +1,40 @@
1
+ .edit
2
+ %section.uc-card
3
+ %header.uc-card__header
4
+ %h2 Edit card
5
+ .padded
6
+ .uc-tabs
7
+ .uc-tabs--blue__tab.current
8
+ .uc-tabs--blue__tab__link Here
9
+ .uc-tabs--blue__tab
10
+ .uc-tabs--blue__tab__link There
11
+ %p.gap-bottom Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
12
+ .uc-card__subheading
13
+ %h4 Subheading
14
+ %ul.uc-mini-tabs
15
+ %li.uc-mini-tabs__tab.current
16
+ %a.uc-mini-tabs__tab__link{href: '#'} Edit
17
+ %li.uc-mini-tabs__tab
18
+ %a.uc-mini-tabs__tab__link{href: '#'} New
19
+ .uc-card__nested-form.gap-bottom
20
+ %h3.uc-bordered-heading Identity Info
21
+ .uc-card__nested-form--white.gap-bottom
22
+ %h3.uc-bordered-heading Health Info
23
+ .uc-card__nested-form.gap-bottom
24
+ %a.gap-bottom.uc-add-new-button.blue-link{href: '#'} Add Thingy
25
+ .uc-expando
26
+ %header.uc-expando-header List of things
27
+ .uc-expando-contents Things
28
+ .uc-expando.open
29
+ %header.uc-expando-header List of things Expanded
30
+ .uc-expando-contents All the things
31
+ .show
32
+ %section.uc-card
33
+ %header.uc-card__header
34
+ %h2 Show card
35
+ .padded
36
+ .uc-emphasized-box--blue.row
37
+ .uc-emphasized-box__label.two.tenths
38
+ Label
39
+ .eight.tenths
40
+ %p Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -0,0 +1,2 @@
1
+ .uc-dialog--loading
2
+ Loading content
@@ -0,0 +1 @@
1
+ .uc-warning This is a warning. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -0,0 +1,7 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :check_boxes, as: :check_boxes, collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']], wrapper: :accessible_collection
@@ -0,0 +1,20 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ %fieldset.uc-form-fieldset-checkbox-list
8
+ %legend.uc-form-legend Lone Boolean checkboxes
9
+ = f.input :lone_checkbox_1,
10
+ as: :boolean,
11
+ label: 'Will you check this box?',
12
+ wrapper_html: {class: 'uc-form-field--boolean'}
13
+ = f.input :lone_checkbox_2,
14
+ as: :boolean,
15
+ label: 'Will you check this box?',
16
+ wrapper_html: {class: 'uc-form-field--boolean'}
17
+ = f.input :lone_checkbox_3,
18
+ as: :boolean,
19
+ label: 'Will you check this box?',
20
+ wrapper_html: {class: 'uc-form-field--boolean'}
@@ -0,0 +1,14 @@
1
+
2
+ - @object = DummyFormObject.new(has_errors: false)
3
+
4
+ .row.double-gap-top
5
+ %form.uc-form
6
+ = simple_fields_for @object do |f|
7
+ .row
8
+ .uc-form-field.show.align-right
9
+ %label.uc-form-field-checkbutton
10
+ Checkbutton
11
+ %input{type: 'checkbox'}
12
+ %label.uc-form-field-checkbutton.current
13
+ Checkbutton
14
+ %input{type: 'checkbox', checked: 'checked'}
@@ -0,0 +1,19 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ %fieldset.uc-form__fieldset--with-nested-collection
8
+ %legend.uc-form-legend Conditionally required fields
9
+ = f.input :conditional_radio_buttons,
10
+ as: :radio_buttons,
11
+ collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']],
12
+ label_text: false,
13
+ wrapper: :accessible_collection
14
+ .uc-form-field--nested
15
+ = f.input :conditional_check_boxes,
16
+ as: :check_boxes,
17
+ collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']],
18
+ label_text: false,
19
+ wrapper: :accessible_collection
@@ -0,0 +1,7 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :currency, as: :currency
@@ -0,0 +1,9 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :date_picker,
8
+ as: :date,
9
+ wrapper_html: {class: 'inline-block'}
@@ -0,0 +1,9 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :date_time_picker,
8
+ as: :datetime,
9
+ wrapper_html: {class: 'inline-block'}
@@ -0,0 +1,8 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :disabled_field,
8
+ input_html: { disabled: true, placeholder: 'value' }
@@ -0,0 +1,10 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :input_without_optgroups,
8
+ as: :select,
9
+ collection: ['Dog', 'Cat', 'Hamster', 'Guinea Pig'],
10
+ :group_method => :last
@@ -0,0 +1,10 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :input_with_optgroups,
8
+ as: :grouped_select,
9
+ collection: [['Asia', ['China', 'Japan']], ['Africa', ['Egypt', 'Morocco']]],
10
+ :group_method => :last
@@ -0,0 +1,32 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ %fieldset
7
+ %legend.uc-form-legend Full Name
8
+ .row
9
+ = f.input :prefix,
10
+ as: :select,
11
+ collection: [['Mr.'], ['Mrs.'], ['Ms.']],
12
+ label: false,
13
+ input_html: { :'aria-label' => 'Prefix' },
14
+ wrapper_html: {class: 'two twelfths small-tablet'}
15
+ = f.input :first_name,
16
+ label: false,
17
+ input_html: { :'aria-label' => 'First', placeholder: 'First' },
18
+ wrapper_html: {class: 'three twelfths small-tablet pad-left no-pad-mobile'}
19
+ = f.input :middle_name,
20
+ label: false,
21
+ input_html: { :'aria-label' => 'Middle', placeholder: 'Middle' },
22
+ wrapper_html: {class: 'two twelfths small-tablet pad-left no-pad-mobile'}
23
+ = f.input :last_name,
24
+ label: false,
25
+ input_html: { :'aria-label' => 'Last', placeholder: 'Last' },
26
+ wrapper_html: {class: 'three twelfths small-tablet pad-left no-pad-mobile'}
27
+ = f.input :suffix,
28
+ as: :select,
29
+ collection: [['Jr.'], ['Sr.']],
30
+ label: false,
31
+ input_html: { :'aria-label' => 'Suffix' },
32
+ wrapper_html: {class: 'two twelfths small-tablet pad-left no-pad-mobile'}
@@ -0,0 +1,17 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ %fieldset.uc-form__fieldset--grouped
8
+ %legend.uc-form-legend
9
+ Grouped Inputs
10
+ = f.input :first_input,
11
+ as: :select,
12
+ collection: [['Mr.'], ['Mrs.'], ['Ms.']],
13
+ label_html: { class: 'uc-form-label--secondary' }
14
+ = f.input :second_input,
15
+ as: :select,
16
+ collection: [['Mr.'], ['Mrs.'], ['Ms.']],
17
+ label_html: { class: 'uc-form-label--secondary' }
@@ -0,0 +1,8 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :large_field_1,
8
+ wrapper_html: {class: 'six twelfths small-tablet pad-left no-pad-mobile'}
@@ -0,0 +1,8 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :medium_field,
8
+ wrapper_html: {class: 'four twelfths small-tablet pad-left no-pad-mobile'}
@@ -0,0 +1,26 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ .one.half
8
+ = simple_fields_for @object do |f|
9
+ %fieldset.uc-form__inline
10
+ %legend.uc-form-legend Phone
11
+ .uc-form__inline__fields--with-prefix
12
+ = f.input :phone_number_type,
13
+ collection: ['Home', 'Cell', 'Work'],
14
+ include_blank: false,
15
+ required: false,
16
+ label: false,
17
+ 'aria-label' => 'Phone Number Type',
18
+ wrapper_html: {class: 'uc-form__inline__fields__prefix'},
19
+ input_html: {class: 'uc-form__inline__fields__prefix__select'}
20
+ = f.input :number,
21
+ label: false,
22
+ required: false,
23
+ type: :tel,
24
+ wrapper_html: { class: 'uc-form__inline__fields__fill' },
25
+ input_html: { 'aria-label' => 'Phone Number', "aria-describedby" => "phone_number_error" },
26
+ error_html: { id: 'phone_number_error'}
@@ -0,0 +1,7 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :radio_buttons_with_clear_link, as: :radio_with_clear, collection: [['Yes', true], ['No', false]], label: "Radio Button With Clear Link?"
@@ -0,0 +1,7 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :radio_buttons, as: :radio_buttons, collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']], wrapper: :accessible_collection
@@ -0,0 +1,11 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :radio_buttons_breathe,
8
+ as: :radio_buttons,
9
+ collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']],
10
+ wrapper: :accessible_collection,
11
+ wrapper_html: {class: 'uc-form-fieldset-collection--breathe'}
@@ -0,0 +1,11 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :radio_buttons_horizontal,
8
+ as: :radio_buttons,
9
+ collection: [['First Option', '1'], ['Second Option', '2'], ['Third Option', '3'], ['Fourth Option', '4']],
10
+ wrapper: :accessible_collection,
11
+ wrapper_html: {class: 'uc-form-fieldset-collection--horizontal'}
@@ -0,0 +1,23 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ .one.half
8
+ = simple_fields_for @object do |f|
9
+ %fieldset
10
+ %legend.uc-form-legend Search
11
+ .uc-form__inline__fields--with-prefix-and-suffix
12
+ = f.input :type,
13
+ collection: ['All', 'Some', 'Most'],
14
+ label: false,
15
+ include_blank: false,
16
+ 'aria-label' => 'Value Type',
17
+ wrapper_html: {class: 'uc-form__inline__fields__prefix'},
18
+ input_html: {class: 'uc-form__inline__fields__prefix__select'}
19
+ = f.input :value,
20
+ label: false,
21
+ wrapper_html: { class: 'uc-form__inline__fields__fill' },
22
+ input_html: { 'aria-label' => 'Phone Number', "aria-describedby" => "phone_number_error" }
23
+ %button.uc-form__inline__fields__suffix.uc-icon-search{:'aria-label' => 'Go'}
@@ -0,0 +1,20 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ %fieldset
7
+ %legend.uc-form-legend Short Name
8
+ .row
9
+ = f.input :first_name,
10
+ label: false,
11
+ input_html: { :'aria-label' => 'First', placeholder: 'First' },
12
+ wrapper_html: {class: 'four twelfths small-tablet no-pad-mobile'}
13
+ = f.input :middle_name,
14
+ label: false,
15
+ input_html: { :'aria-label' => 'Middle', placeholder: 'Middle' },
16
+ wrapper_html: {class: 'four twelfths small-tablet pad-left no-pad-mobile'}
17
+ = f.input :last_name,
18
+ label: false,
19
+ input_html: { :'aria-label' => 'Last', placeholder: 'Last' },
20
+ wrapper_html: {class: 'four twelfths small-tablet pad-left no-pad-mobile'}
@@ -0,0 +1,8 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :small_field,
8
+ wrapper_html: {class: 'three twelfths small-tablet'}
@@ -0,0 +1,9 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :text_area, as: :text
8
+ .row
9
+ = f.input :full_width_text_area, as: :text, input_html: {class: "uc-form__input--full-width"}
@@ -0,0 +1,8 @@
1
+ - @object = DummyFormObject.new(has_errors: false)
2
+
3
+ .row.double-gap-top
4
+ %form.uc-form
5
+ = simple_fields_for @object do |f|
6
+ .row
7
+ = f.input :tiny_field,
8
+ wrapper_html: {class: 'two twelfths small-tablet'}
@@ -0,0 +1,4 @@
1
+ %ul.uc-list-comma
2
+ %li Huey
3
+ %li Dewey
4
+ %li Louie
@@ -0,0 +1,12 @@
1
+ .gap-bottom
2
+ %strong Inside list
3
+ %ol.uc-list-alpha--inside
4
+ %li Lorem ipsum dolor sit amet, sea utinam nominavi dignissim id, illud nostro sed te, vix eruditi imperdiet tincidunt ea. Vis choro labores admodum cu, ea congue utamur graecis est. Ad quo velit assueverit disputando, quo deleniti atomorum te. Vix nullam phaedrum incorrupte eu. At doctus scribentur qui, prima graecis id nec. Cu pri invidunt cotidieque.
5
+ %li Facer nullam corrumpit no vis. Mel denique assentior deseruisse an. Solet inimicus constituto quo no. Quo modo latine deserunt ut, duo ei commune facilisis. An stet inani vim, ignota phaedrum sed ad, nihil labitur perfecto vix ad.
6
+ %li Has te ubique offendit prodesset, eos nobis principes aliquando ex. Elitr nusquam vituperata ne cum, ei sea idque perpetua maluisset, pri ad sonet laudem. Id civibus voluptua usu. Vix id ignota praesent. Duo ea justo maluisset appellantur, ut expetendis voluptatibus per, no vis eros regione oblique. Ea everti eleifend per, laudem essent his eu, verterem persequeris ne nec.
7
+
8
+ %strong Outside list
9
+ %ol.uc-list-alpha--outside
10
+ %li Lorem ipsum dolor sit amet, sea utinam nominavi dignissim id, illud nostro sed te, vix eruditi imperdiet tincidunt ea. Vis choro labores admodum cu, ea congue utamur graecis est. Ad quo velit assueverit disputando, quo deleniti atomorum te. Vix nullam phaedrum incorrupte eu. At doctus scribentur qui, prima graecis id nec. Cu pri invidunt cotidieque.
11
+ %li Facer nullam corrumpit no vis. Mel denique assentior deseruisse an. Solet inimicus constituto quo no. Quo modo latine deserunt ut, duo ei commune facilisis. An stet inani vim, ignota phaedrum sed ad, nihil labitur perfecto vix ad.
12
+ %li Has te ubique offendit prodesset, eos nobis principes aliquando ex. Elitr nusquam vituperata ne cum, ei sea idque perpetua maluisset, pri ad sonet laudem. Id civibus voluptua usu. Vix id ignota praesent. Duo ea justo maluisset appellantur, ut expetendis voluptatibus per, no vis eros regione oblique. Ea everti eleifend per, laudem essent his eu, verterem persequeris ne nec.
@@ -0,0 +1,12 @@
1
+ .gap-bottom
2
+ %strong Inside list
3
+ %ol.uc-list-decimal--inside
4
+ %li Lorem ipsum dolor sit amet, sea utinam nominavi dignissim id, illud nostro sed te, vix eruditi imperdiet tincidunt ea. Vis choro labores admodum cu, ea congue utamur graecis est. Ad quo velit assueverit disputando, quo deleniti atomorum te. Vix nullam phaedrum incorrupte eu. At doctus scribentur qui, prima graecis id nec. Cu pri invidunt cotidieque.
5
+ %li Facer nullam corrumpit no vis. Mel denique assentior deseruisse an. Solet inimicus constituto quo no. Quo modo latine deserunt ut, duo ei commune facilisis. An stet inani vim, ignota phaedrum sed ad, nihil labitur perfecto vix ad.
6
+ %li Has te ubique offendit prodesset, eos nobis principes aliquando ex. Elitr nusquam vituperata ne cum, ei sea idque perpetua maluisset, pri ad sonet laudem. Id civibus voluptua usu. Vix id ignota praesent. Duo ea justo maluisset appellantur, ut expetendis voluptatibus per, no vis eros regione oblique. Ea everti eleifend per, laudem essent his eu, verterem persequeris ne nec.
7
+
8
+ %strong Outside list
9
+ %ol.uc-list-decimal--outside
10
+ %li Lorem ipsum dolor sit amet, sea utinam nominavi dignissim id, illud nostro sed te, vix eruditi imperdiet tincidunt ea. Vis choro labores admodum cu, ea congue utamur graecis est. Ad quo velit assueverit disputando, quo deleniti atomorum te. Vix nullam phaedrum incorrupte eu. At doctus scribentur qui, prima graecis id nec. Cu pri invidunt cotidieque.
11
+ %li Facer nullam corrumpit no vis. Mel denique assentior deseruisse an. Solet inimicus constituto quo no. Quo modo latine deserunt ut, duo ei commune facilisis. An stet inani vim, ignota phaedrum sed ad, nihil labitur perfecto vix ad.
12
+ %li Has te ubique offendit prodesset, eos nobis principes aliquando ex. Elitr nusquam vituperata ne cum, ei sea idque perpetua maluisset, pri ad sonet laudem. Id civibus voluptua usu. Vix id ignota praesent. Duo ea justo maluisset appellantur, ut expetendis voluptatibus per, no vis eros regione oblique. Ea everti eleifend per, laudem essent his eu, verterem persequeris ne nec.
@@ -0,0 +1,4 @@
1
+ %ul.uc-list-pipe
2
+ %li Friends
3
+ %li Romans
4
+ %li Countrymen