workarea-one_theme 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintignore +1 -0
  4. data/.eslintrc +25 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  6. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  8. data/.github/workflows/ci.yml +60 -0
  9. data/.gitignore +21 -0
  10. data/.rubocop.yml +3 -0
  11. data/.stylelintrc.json +8 -0
  12. data/CHANGELOG.md +267 -0
  13. data/CODE_OF_CONDUCT.md +3 -0
  14. data/CONTRIBUTING.md +3 -0
  15. data/Gemfile +20 -0
  16. data/LICENSE.md +3 -0
  17. data/README.md +173 -0
  18. data/Rakefile +63 -0
  19. data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff +0 -0
  20. data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff2 +0 -0
  21. data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff +0 -0
  22. data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff2 +0 -0
  23. data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff +0 -0
  24. data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff2 +0 -0
  25. data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff +0 -0
  26. data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff2 +0 -0
  27. data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff +0 -0
  28. data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff2 +0 -0
  29. data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff +0 -0
  30. data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff2 +0 -0
  31. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff +0 -0
  32. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff2 +0 -0
  33. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff +0 -0
  34. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff2 +0 -0
  35. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff +0 -0
  36. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff2 +0 -0
  37. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff +0 -0
  38. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff2 +0 -0
  39. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff +0 -0
  40. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff2 +0 -0
  41. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff +0 -0
  42. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff2 +0 -0
  43. data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff +0 -0
  44. data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff2 +0 -0
  45. data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff +0 -0
  46. data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff2 +0 -0
  47. data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff +0 -0
  48. data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff2 +0 -0
  49. data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff +0 -0
  50. data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff2 +0 -0
  51. data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff +0 -0
  52. data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff2 +0 -0
  53. data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff +0 -0
  54. data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff2 +0 -0
  55. data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff +0 -0
  56. data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff2 +0 -0
  57. data/app/assets/images/workarea/admin/content_block_types/hero_slider.svg +1 -0
  58. data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_category_summary.svg +1 -0
  59. data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_products.svg +1 -0
  60. data/app/assets/images/workarea/storefront/dialog_close.svg +1 -0
  61. data/app/assets/images/workarea/storefront/icons/account.svg +1 -0
  62. data/app/assets/images/workarea/storefront/icons/arrow_left.svg +1 -0
  63. data/app/assets/images/workarea/storefront/icons/arrow_right.svg +1 -0
  64. data/app/assets/images/workarea/storefront/icons/cart.svg +1 -0
  65. data/app/assets/images/workarea/storefront/icons/chevron_down.svg +1 -0
  66. data/app/assets/images/workarea/storefront/icons/chevron_right.svg +1 -0
  67. data/app/assets/images/workarea/storefront/icons/search.svg +1 -0
  68. data/app/assets/images/workarea/storefront/logo.png +0 -0
  69. data/app/assets/javascripts/workarea/storefront/application.js.erb +147 -0
  70. data/app/assets/javascripts/workarea/storefront/clothing/modules/product_details_color_buttons.js +86 -0
  71. data/app/assets/javascripts/workarea/storefront/dependencies/jquery.payment.js +655 -0
  72. data/app/assets/javascripts/workarea/storefront/modules/address_region_fields.js +93 -0
  73. data/app/assets/javascripts/workarea/storefront/modules/cart_indicator.js +35 -0
  74. data/app/assets/javascripts/workarea/storefront/modules/checkout_primary_payments.js +136 -0
  75. data/app/assets/javascripts/workarea/storefront/modules/header_search_ui.js +64 -0
  76. data/app/assets/javascripts/workarea/storefront/modules/mobile_filters.js +79 -0
  77. data/app/assets/javascripts/workarea/storefront/modules/mobile_nav_button.js +137 -0
  78. data/app/assets/javascripts/workarea/storefront/modules/quantity_control.js +56 -0
  79. data/app/assets/javascripts/workarea/storefront/modules/utility_nav_dropdown.js +43 -0
  80. data/app/assets/javascripts/workarea/storefront/one_theme/config.js +20 -0
  81. data/app/assets/javascripts/workarea/storefront/product_quickview/templates/quickview_button.jst.ejs +3 -0
  82. data/app/assets/javascripts/workarea/storefront/reviews/modules/product_reviews_sort_menus.js +82 -0
  83. data/app/assets/javascripts/workarea/storefront/reviews/templates/sort_by_property.jst.ejs +19 -0
  84. data/app/assets/javascripts/workarea/storefront/templates/log_out_link.jst.ejs +1 -0
  85. data/app/assets/javascripts/workarea/storefront/templates/saved_addresses_property.jst.ejs +23 -0
  86. data/app/assets/stylesheets/jquery_ui/storefront/_ui_autocomplete.scss +17 -0
  87. data/app/assets/stylesheets/jquery_ui/storefront/_ui_dialog.scss +150 -0
  88. data/app/assets/stylesheets/jquery_ui/storefront/_ui_menu.scss +42 -0
  89. data/app/assets/stylesheets/one_theme/.keep +0 -0
  90. data/app/assets/stylesheets/workarea/storefront/base/_forms.scss +197 -0
  91. data/app/assets/stylesheets/workarea/storefront/base/_tables.scss +32 -0
  92. data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry.scss +139 -0
  93. data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry_summary.scss +90 -0
  94. data/app/assets/stylesheets/workarea/storefront/clothing/components/_color_options.scss +57 -0
  95. data/app/assets/stylesheets/workarea/storefront/clothing/components/_size_options.scss +123 -0
  96. data/app/assets/stylesheets/workarea/storefront/components/_account_dashboard.scss +33 -0
  97. data/app/assets/stylesheets/workarea/storefront/components/_box.scss +45 -0
  98. data/app/assets/stylesheets/workarea/storefront/components/_breadcrumbs.scss +27 -0
  99. data/app/assets/stylesheets/workarea/storefront/components/_button.scss +72 -0
  100. data/app/assets/stylesheets/workarea/storefront/components/_button_property.scss +41 -0
  101. data/app/assets/stylesheets/workarea/storefront/components/_cart.scss +26 -0
  102. data/app/assets/stylesheets/workarea/storefront/components/_category_summary_content_block.scss +78 -0
  103. data/app/assets/stylesheets/workarea/storefront/components/_checkout_addresses.scss +21 -0
  104. data/app/assets/stylesheets/workarea/storefront/components/_checkout_payment.scss +58 -0
  105. data/app/assets/stylesheets/workarea/storefront/components/_checkout_progress.scss +47 -0
  106. data/app/assets/stylesheets/workarea/storefront/components/_checkout_shipping.scss +15 -0
  107. data/app/assets/stylesheets/workarea/storefront/components/_checkout_step_summary.scss +47 -0
  108. data/app/assets/stylesheets/workarea/storefront/components/_color_box.scss +48 -0
  109. data/app/assets/stylesheets/workarea/storefront/components/_data_card.scss +70 -0
  110. data/app/assets/stylesheets/workarea/storefront/components/_hamburger.scss +107 -0
  111. data/app/assets/stylesheets/workarea/storefront/components/_header.scss +31 -0
  112. data/app/assets/stylesheets/workarea/storefront/components/_hero_slider_content_block.scss +75 -0
  113. data/app/assets/stylesheets/workarea/storefront/components/_loading.scss +92 -0
  114. data/app/assets/stylesheets/workarea/storefront/components/_mobile_filters.scss +42 -0
  115. data/app/assets/stylesheets/workarea/storefront/components/_mobile_nav.scss +146 -0
  116. data/app/assets/stylesheets/workarea/storefront/components/_option_button.scss +45 -0
  117. data/app/assets/stylesheets/workarea/storefront/components/_order_help_menu.scss +33 -0
  118. data/app/assets/stylesheets/workarea/storefront/components/_order_summary.scss +19 -0
  119. data/app/assets/stylesheets/workarea/storefront/components/_page_container.scss +31 -0
  120. data/app/assets/stylesheets/workarea/storefront/components/_page_content.scss +30 -0
  121. data/app/assets/stylesheets/workarea/storefront/components/_page_footer.scss +96 -0
  122. data/app/assets/stylesheets/workarea/storefront/components/_page_header.scss +188 -0
  123. data/app/assets/stylesheets/workarea/storefront/components/_page_messages.scss +36 -0
  124. data/app/assets/stylesheets/workarea/storefront/components/_page_sub_footer.scss +39 -0
  125. data/app/assets/stylesheets/workarea/storefront/components/_pagination.scss +10 -0
  126. data/app/assets/stylesheets/workarea/storefront/components/_payment_icon.scss +29 -0
  127. data/app/assets/stylesheets/workarea/storefront/components/_primary_nav.scss +99 -0
  128. data/app/assets/stylesheets/workarea/storefront/components/_product_detail_container.scss +19 -0
  129. data/app/assets/stylesheets/workarea/storefront/components/_product_details.scss +94 -0
  130. data/app/assets/stylesheets/workarea/storefront/components/_product_list.scss +182 -0
  131. data/app/assets/stylesheets/workarea/storefront/components/_product_list_content_block.scss +20 -0
  132. data/app/assets/stylesheets/workarea/storefront/components/_product_media.scss +109 -0
  133. data/app/assets/stylesheets/workarea/storefront/components/_product_prices.scss +45 -0
  134. data/app/assets/stylesheets/workarea/storefront/components/_product_summary.scss +92 -0
  135. data/app/assets/stylesheets/workarea/storefront/components/_promo_code_accordion.scss +13 -0
  136. data/app/assets/stylesheets/workarea/storefront/components/_property.scss +68 -0
  137. data/app/assets/stylesheets/workarea/storefront/components/_quantity_control.scss +77 -0
  138. data/app/assets/stylesheets/workarea/storefront/components/_result_filters.scss +57 -0
  139. data/app/assets/stylesheets/workarea/storefront/components/_select_menu.scss +68 -0
  140. data/app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss +78 -0
  141. data/app/assets/stylesheets/workarea/storefront/components/_taxonomy_content_block.scss +173 -0
  142. data/app/assets/stylesheets/workarea/storefront/components/_text_box.scss +57 -0
  143. data/app/assets/stylesheets/workarea/storefront/components/_text_button.scss +19 -0
  144. data/app/assets/stylesheets/workarea/storefront/components/_utility_nav.scss +49 -0
  145. data/app/assets/stylesheets/workarea/storefront/components/_value.scss +51 -0
  146. data/app/assets/stylesheets/workarea/storefront/email/_settings.scss +23 -0
  147. data/app/assets/stylesheets/workarea/storefront/generic/_fonts.scss.erb +11 -0
  148. data/app/assets/stylesheets/workarea/storefront/objects/_content_wrapper.scss +23 -0
  149. data/app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss +33 -0
  150. data/app/assets/stylesheets/workarea/storefront/reviews/components/_reviews.scss +66 -0
  151. data/app/assets/stylesheets/workarea/storefront/reviews/components/_write_review.scss +71 -0
  152. data/app/assets/stylesheets/workarea/storefront/settings/_colors.scss.erb +21 -0
  153. data/app/assets/stylesheets/workarea/storefront/settings/_font_families.scss.erb +6 -0
  154. data/app/assets/stylesheets/workarea/storefront/settings/_global.scss +39 -0
  155. data/app/assets/stylesheets/workarea/storefront/settings/_typography.scss +8 -0
  156. data/app/assets/stylesheets/workarea/storefront/settings/_z_indexes.scss +43 -0
  157. data/app/assets/stylesheets/workarea/storefront/share/components/_share_buttons.scss +22 -0
  158. data/app/assets/stylesheets/workarea/storefront/slick_slider/components/_slick_slider.scss +171 -0
  159. data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_facet.scss +26 -0
  160. data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_options.scss +55 -0
  161. data/app/assets/stylesheets/workarea/storefront/theme_config/_midnight_color_scheme.scss +110 -0
  162. data/app/assets/stylesheets/workarea/storefront/theme_config/_one_color_scheme.scss +104 -0
  163. data/app/assets/stylesheets/workarea/storefront/theme_config/_workarea_color_scheme.scss +105 -0
  164. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_hind.scss +19 -0
  165. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_lora.scss +33 -0
  166. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_muli.scss +33 -0
  167. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_playfair_display.scss +33 -0
  168. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_roboto.scss +26 -0
  169. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_source_serif_pro.scss +19 -0
  170. data/app/assets/stylesheets/workarea/storefront/tools/_checkout_section.scss +12 -0
  171. data/app/assets/stylesheets/workarea/storefront/tools/_full_bleed_container.scss +15 -0
  172. data/app/assets/stylesheets/workarea/storefront/typography/_headings.scss +81 -0
  173. data/app/assets/stylesheets/workarea/storefront/typography/_links.scss +27 -0
  174. data/app/assets/stylesheets/workarea/storefront/typography/_text.scss +30 -0
  175. data/app/helpers/workarea/storefront/one_theme_helper.rb +71 -0
  176. data/app/seeds/workarea/browse_navigation_seeds.rb +35 -0
  177. data/app/seeds/workarea/content_block_page_seeds.rb +22 -0
  178. data/app/seeds/workarea/theme_home_page_seeds.rb +58 -0
  179. data/app/seeds/workarea/theme_layout_content_seeds.rb +41 -0
  180. data/app/view_models/workarea/storefront/content_blocks/category_summary_view_model.decorator +21 -0
  181. data/app/view_models/workarea/storefront/content_blocks/hero_slider_block_view_model.rb +44 -0
  182. data/app/view_models/workarea/storefront/content_blocks/product_list_view_model.decorator +50 -0
  183. data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_category_view_model.rb +49 -0
  184. data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_products_view_model.rb +21 -0
  185. data/app/view_models/workarea/storefront/product_view_model.decorator +11 -0
  186. data/app/views/layouts/workarea/storefront/_wish_lists_link.html.haml +4 -0
  187. data/app/views/layouts/workarea/storefront/application.html.haml +211 -0
  188. data/app/views/layouts/workarea/storefront/checkout.html.haml +97 -0
  189. data/app/views/workarea/storefront/blog_comments/index.html.haml +31 -0
  190. data/app/views/workarea/storefront/blog_entries/_summary.html.haml +26 -0
  191. data/app/views/workarea/storefront/blog_entries/show.html.haml +85 -0
  192. data/app/views/workarea/storefront/blogs/_blog_navigation.html.haml +7 -0
  193. data/app/views/workarea/storefront/blogs/index.html.haml +47 -0
  194. data/app/views/workarea/storefront/cart_items/create.html.haml +66 -0
  195. data/app/views/workarea/storefront/carts/show.html.haml +175 -0
  196. data/app/views/workarea/storefront/categories/show.html.haml +105 -0
  197. data/app/views/workarea/storefront/checkouts/_gift_card_payment.html.haml +38 -0
  198. data/app/views/workarea/storefront/checkouts/_summary.html.haml +102 -0
  199. data/app/views/workarea/storefront/checkouts/addresses.html.haml +56 -0
  200. data/app/views/workarea/storefront/checkouts/confirmation.html.haml +58 -0
  201. data/app/views/workarea/storefront/checkouts/payment.html.haml +186 -0
  202. data/app/views/workarea/storefront/checkouts/shipping.html.haml +38 -0
  203. data/app/views/workarea/storefront/content_blocks/_blog_entry.html.haml +19 -0
  204. data/app/views/workarea/storefront/content_blocks/_category_summary.html.haml +20 -0
  205. data/app/views/workarea/storefront/content_blocks/_hero_slider.html.haml +15 -0
  206. data/app/views/workarea/storefront/content_blocks/_product_list.html.haml +11 -0
  207. data/app/views/workarea/storefront/content_blocks/_social_networks.html.haml +17 -0
  208. data/app/views/workarea/storefront/content_blocks/_taxonomy_with_category_summary.html.haml +26 -0
  209. data/app/views/workarea/storefront/content_blocks/_taxonomy_with_products.html.haml +26 -0
  210. data/app/views/workarea/storefront/menus/index.html.haml +17 -0
  211. data/app/views/workarea/storefront/orders/_summary.html.haml +286 -0
  212. data/app/views/workarea/storefront/products/_media.html.haml +22 -0
  213. data/app/views/workarea/storefront/products/_media_carousel.html.haml +25 -0
  214. data/app/views/workarea/storefront/products/_pricing.html.haml +40 -0
  215. data/app/views/workarea/storefront/products/_reviews.html.haml +27 -0
  216. data/app/views/workarea/storefront/products/_subscription_fields.html.haml +15 -0
  217. data/app/views/workarea/storefront/products/_summary.html.haml +16 -0
  218. data/app/views/workarea/storefront/products/_swatch_summary.html.haml +17 -0
  219. data/app/views/workarea/storefront/products/package_show.html.haml +46 -0
  220. data/app/views/workarea/storefront/products/show.html.haml +53 -0
  221. data/app/views/workarea/storefront/products/templates/_generic.html.haml +61 -0
  222. data/app/views/workarea/storefront/products/templates/_gift_card.html.haml +68 -0
  223. data/app/views/workarea/storefront/products/templates/_option_selects.html.haml +61 -0
  224. data/app/views/workarea/storefront/products/templates/_option_thumbnails.html.haml +67 -0
  225. data/app/views/workarea/storefront/products/templates/_swatches.html.haml +78 -0
  226. data/app/views/workarea/storefront/reviews/new.html.haml +72 -0
  227. data/app/views/workarea/storefront/searches/content.html.haml +78 -0
  228. data/app/views/workarea/storefront/searches/show.html.haml +97 -0
  229. data/app/views/workarea/storefront/shared/_address_fields.html.haml +109 -0
  230. data/app/views/workarea/storefront/shares/_share_buttons.html.haml +17 -0
  231. data/app/views/workarea/storefront/style_guides/base/_forms.html.haml +91 -0
  232. data/app/views/workarea/storefront/style_guides/components/_breadcrumbs.html.haml +13 -0
  233. data/app/views/workarea/storefront/style_guides/components/_button.html.haml +69 -0
  234. data/app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml +54 -0
  235. data/app/views/workarea/storefront/style_guides/components/_header.html.haml +18 -0
  236. data/app/views/workarea/storefront/style_guides/components/_hero_slider_content_block.html.haml +46 -0
  237. data/app/views/workarea/storefront/style_guides/components/_mobile_filters.html.haml +17 -0
  238. data/app/views/workarea/storefront/style_guides/components/_product_list_content_block.html.haml +46 -0
  239. data/app/views/workarea/storefront/style_guides/components/_product_summary.html.haml +47 -0
  240. data/app/views/workarea/storefront/style_guides/components/_svg_icon.html.haml +63 -0
  241. data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_category_summary_content_block.html.haml +33 -0
  242. data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_products_content_block.html.haml +33 -0
  243. data/app/views/workarea/storefront/style_guides/components/_text_box.html.haml +63 -0
  244. data/app/views/workarea/storefront/style_guides/settings/_color_variables.html.haml +79 -0
  245. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_midnight_color_scheme.html.haml +7 -0
  246. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_one_color_scheme.html.haml +7 -0
  247. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_workarea_color_scheme.html.haml +8 -0
  248. data/app/views/workarea/storefront/style_guides/typography/_headings.html.haml +47 -0
  249. data/app/views/workarea/storefront/style_guides/typography/_links.html.haml +27 -0
  250. data/app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml +16 -0
  251. data/app/views/workarea/storefront/users/accounts/edit.html.haml +41 -0
  252. data/app/views/workarea/storefront/users/accounts/show.html.haml +118 -0
  253. data/app/views/workarea/storefront/users/credit_cards/edit.html.haml +74 -0
  254. data/app/views/workarea/storefront/users/credit_cards/new.html.haml +66 -0
  255. data/app/views/workarea/storefront/users/orders/index.html.haml +22 -0
  256. data/app/views/workarea/storefront/users/orders/show.html.haml +31 -0
  257. data/app/views/workarea/storefront/users/wish_lists/show.html.haml +136 -0
  258. data/app/views/workarea/storefront/wish_lists/show.html.haml +99 -0
  259. data/bin/rails +20 -0
  260. data/config/initializers/appends.rb +62 -0
  261. data/config/initializers/configuration.rb +9 -0
  262. data/config/initializers/content_block_types.rb +91 -0
  263. data/config/initializers/dragonfly.rb +50 -0
  264. data/config/initializers/seeds.rb +5 -0
  265. data/config/initializers/theme.rb +16 -0
  266. data/config/initializers/workarea.rb +3 -0
  267. data/config/locales/en.yml +26 -0
  268. data/config/routes.rb +2 -0
  269. data/lib/tasks/one_theme_tasks.rake +4 -0
  270. data/lib/workarea/one_theme.rb +24 -0
  271. data/lib/workarea/one_theme/engine.rb +13 -0
  272. data/lib/workarea/one_theme/version.rb +5 -0
  273. data/package.json +9 -0
  274. data/test/dummy/Rakefile +6 -0
  275. data/test/dummy/app/assets/config/manifest.js +4 -0
  276. data/test/dummy/app/assets/images/.keep +0 -0
  277. data/test/dummy/app/assets/javascripts/application.js +13 -0
  278. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  279. data/test/dummy/app/controllers/application_controller.rb +3 -0
  280. data/test/dummy/app/controllers/concerns/.keep +0 -0
  281. data/test/dummy/app/helpers/application_helper.rb +2 -0
  282. data/test/dummy/app/jobs/application_job.rb +2 -0
  283. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  284. data/test/dummy/app/models/concerns/.keep +0 -0
  285. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  286. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  287. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  288. data/test/dummy/bin/bundle +3 -0
  289. data/test/dummy/bin/rails +4 -0
  290. data/test/dummy/bin/rake +4 -0
  291. data/test/dummy/bin/setup +38 -0
  292. data/test/dummy/bin/update +29 -0
  293. data/test/dummy/bin/yarn +11 -0
  294. data/test/dummy/config.ru +5 -0
  295. data/test/dummy/config/application.rb +29 -0
  296. data/test/dummy/config/boot.rb +5 -0
  297. data/test/dummy/config/cable.yml +10 -0
  298. data/test/dummy/config/environment.rb +5 -0
  299. data/test/dummy/config/environments/development.rb +54 -0
  300. data/test/dummy/config/environments/production.rb +91 -0
  301. data/test/dummy/config/environments/test.rb +44 -0
  302. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  303. data/test/dummy/config/initializers/assets.rb +14 -0
  304. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  305. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  306. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  307. data/test/dummy/config/initializers/inflections.rb +16 -0
  308. data/test/dummy/config/initializers/mime_types.rb +4 -0
  309. data/test/dummy/config/initializers/workarea.rb +5 -0
  310. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  311. data/test/dummy/config/locales/en.yml +33 -0
  312. data/test/dummy/config/puma.rb +56 -0
  313. data/test/dummy/config/routes.rb +5 -0
  314. data/test/dummy/config/secrets.yml +32 -0
  315. data/test/dummy/config/spring.rb +6 -0
  316. data/test/dummy/db/seeds.rb +2 -0
  317. data/test/dummy/lib/assets/.keep +0 -0
  318. data/test/dummy/log/.keep +0 -0
  319. data/test/dummy/package.json +5 -0
  320. data/test/helpers/workarea/storefront/reviews_helper_test.decorator +11 -0
  321. data/test/integration/workarea/blog/wordpress_import_integration_test.decorator +27 -0
  322. data/test/integration/workarea/storefront/sharing_integration_test.decorator +40 -0
  323. data/test/integration/workarea/storefront/swatches_integration_test.decorator +28 -0
  324. data/test/system/workarea/admin/guest_browsing_system_test.decorator +40 -0
  325. data/test/system/workarea/storefront/analytics_system_test.decorator +51 -0
  326. data/test/system/workarea/storefront/browse_swatches_system_test.decorator +48 -0
  327. data/test/system/workarea/storefront/cart_items_system_test.decorator +98 -0
  328. data/test/system/workarea/storefront/categories_system_test.decorator +100 -0
  329. data/test/system/workarea/storefront/content_search_autocomplete_system_test.decorator +33 -0
  330. data/test/system/workarea/storefront/content_search_system_test.decorator +21 -0
  331. data/test/system/workarea/storefront/content_system_test.decorator +21 -0
  332. data/test/system/workarea/storefront/guest_checkout_system_test.decorator +37 -0
  333. data/test/system/workarea/storefront/logged_in_checkout_system_test.decorator +34 -0
  334. data/test/system/workarea/storefront/login_system_test.decorator +94 -0
  335. data/test/system/workarea/storefront/navigation_system_test.decorator +28 -0
  336. data/test/system/workarea/storefront/passwords_system_test.decorator +59 -0
  337. data/test/system/workarea/storefront/review_system_test.decorator +23 -0
  338. data/test/system/workarea/storefront/search_autocomplete_system_test.decorator +46 -0
  339. data/test/system/workarea/storefront/search_system_test.decorator +71 -0
  340. data/test/teaspoon_env.rb +6 -0
  341. data/test/test_helper.rb +10 -0
  342. data/test/view_models/workarea/storefront/taxonomy_with_category_view_model_test.rb +35 -0
  343. data/test/view_models/workarea/storefront/taxonomy_with_products_view_model_test.rb +28 -0
  344. data/workarea-one_theme.gemspec +33 -0
  345. data/yarn.lock +3290 -0
  346. metadata +582 -0
@@ -0,0 +1,3 @@
1
+ View this plugin's code of conduct here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CODE_OF_CONDUCT.md>
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,3 @@
1
+ View this plugin's contribution guidelines here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/CONTRIBUTING.md>
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ source "https://rubygems.org"
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ # Declare your gem's dependencies in one_theme.gemspec.
5
+ # Bundler will treat runtime dependencies like base dependencies, and
6
+ # development dependencies will be added by default to the :development group.
7
+ gemspec
8
+
9
+ # Declare any dependencies that are still in development here instead of in
10
+ # your gemspec. These might include edge Rails or gems from your path or
11
+ # Git. Remember to move these dependencies to your gemspec before releasing
12
+ # your gem to rubygems.org.
13
+
14
+ # To use a debugger
15
+ # gem 'byebug', group: [:development, :test]
16
+
17
+ gem 'workarea'
18
+
19
+ # TODO just a test
20
+ gem 'workarea-filter_dropdowns', github: 'workarea-commerce/workarea-filter-dropdowns'
data/LICENSE.md ADDED
@@ -0,0 +1,3 @@
1
+ View this plugin's license here:
2
+
3
+ <https://github.com/workarea-commerce/workarea/blob/master/LICENSE.md>
data/README.md ADDED
@@ -0,0 +1,173 @@
1
+ Workarea One Theme
2
+ ================================================================================
3
+
4
+ One Theme plugin for the Workarea platform. [Visit the One Theme demo site](https://one-theme.demo.workarea.com)
5
+
6
+
7
+ Browser Support
8
+ --------------------------------------------------------------------------------
9
+
10
+ Due to the occasional use of flexbox; OneTheme only supports IE 10+
11
+ If you need to support older versions of IE you will need to provide alternative styles
12
+ where flexbox is used.
13
+
14
+ Notable features
15
+ --------------------------------------------------------------------------------
16
+
17
+ * 2 additional Taxonomy content blocks which include products
18
+ * Retina support for PDP images using responsive images via dragonfly
19
+ * Hero Slider content block type with full bleed option
20
+ * Color scheme and font configuration
21
+ * Credit card formatting and validation in checkout.
22
+
23
+ Optimal Image Sizes
24
+ --------------------------------------------------------------------------------
25
+
26
+ | Image Type| Optimum size | Note |
27
+ |----------|--------|-------|
28
+ | Logo | 140 x 37px ||
29
+ | Product Images | 720px x 960px | This size does not account for use of image-zoom, it is recommended to *at least* double this size if your client is likely to want zoom functionality. |
30
+ | Blog thumbnails | 914px x 417px
31
+ | Category summary | 464 x 742px | Some cropping will occur depending on device size, Image height depends on product height at a diven device width. |
32
+ | Hero Slider | 1044 x 511px | An aspect ratio of 16:9 is recommended. Any height image could be used here, admin user should preview at different device sizes to ensure it scales well. |
33
+ | Hero Slider full bleed | 1682 x 823px ||
34
+
35
+ Out of the box plugin support
36
+ --------------------------------------------------------------------------------
37
+
38
+ The following workarea plugins are supported by OneTheme, and are dependencies of the plugin.
39
+
40
+ * Product Quickview
41
+ * Package Products
42
+ * Slick Slider
43
+ * Blog
44
+ * Content Search
45
+ * Gift Cards
46
+ * Share
47
+ * OMS
48
+ * Reviews
49
+ * Super Hero
50
+ * Wish Lists
51
+
52
+ Theme Configuration
53
+ --------------------------------------------------------------------------------
54
+
55
+ ### Recommended initializer configuration
56
+
57
+ While you are able to configure the Workarea OneTheme from any initializer it is recommended
58
+ that you create a new initializer called theme.rb using the following code
59
+
60
+ Workarea.configure do |config|
61
+ config.theme = config.theme.merge(
62
+ color_scheme: "one",
63
+ font_stacks: {
64
+ roboto: '"Roboto", "HelveticaNeue", "Helvetica Neue", sans-serif',
65
+ lora: '"Lora", "Times New Roman", "Georgia", serif',
66
+ hind: '"Hind", Helvetica, Arial, sans-serif',
67
+ source_serif_pro: '"Source Serif Pro", "Times New Roman", Georgia, serif',
68
+ muli: '"Muli", Helvetica, Arial, sans-serif',
69
+ playfair_display: '"Playfair Display", "Times New Roman", Georgia, serif'
70
+ },
71
+ primary_font_family: "roboto",
72
+ secondary_font_family: "lora"
73
+ )
74
+ end
75
+
76
+ This will set your application up with the default configuration options, but allow you to
77
+ change them easily.
78
+
79
+ ---
80
+
81
+ ### Color Schemes
82
+
83
+ OneTheme comes with 3 color schemes pre-defined for demo and learning purposes.
84
+
85
+ To change the color scheme in your application, set the color_scheme configuration
86
+ in your theme initializer to one of the following configurations:
87
+
88
+ Default:
89
+
90
+ Workarea.config.theme[:color_scheme] = "one"
91
+
92
+ Light:
93
+
94
+ Workarea.config.theme[:color_scheme] = "workarea"
95
+
96
+ Dark:
97
+
98
+ Workarea.config.theme[:color_scheme] = "midnight"
99
+
100
+ #### Creating a new color scheme
101
+
102
+ We will be creating a gem for theme infastructure in the near future that will make this process
103
+ more developer friendly. In the meantime you can create a new color scheme by:
104
+
105
+ 1. Copying one of the existing color scheme files into your application re-nameing the file,
106
+ 2. Update the color_scheme config to match the name of your new color scheme file.
107
+
108
+ __Example__
109
+ This will create a sass file called _custom_color_scheme.scss in your host application, please change [your-app-name]
110
+ From your ~/src directory, ensure you have workarea-one-theme pulled down
111
+
112
+ cp -i workarea-one-theme/app/assets/stylesheets/workarea/storefront/theme_config/_one_color_scheme.scss [your-app-name]/app/assets/stylesheets/workarea/storefront/theme_config/_custom_color_scheme.scss
113
+
114
+ ---
115
+
116
+ ### Font Stacks
117
+
118
+ OneTheme includes configurable font-stack functionality!
119
+
120
+ A developer is able to configure the primary and secondary font stacks using the theme
121
+ configuration initializer. To change the font stacks in your application set the
122
+ primary_font_family and secondary_font_family initializer values to one of the font_stacks
123
+ defined in workarea-one-theme/config/initializers/theme.rb
124
+
125
+ Note: If you are using the starter_store generator to install the theme your initializer
126
+ must specify the font_stacks hash. The names defined in your primary and secondary
127
+ font variables must match one of the keys in the font_stacks hash.
128
+
129
+ Example:
130
+
131
+ config.theme = config.theme.merge(
132
+ primary_font_family: "hind",
133
+ secondary_font_family: "source_serif_pro"
134
+ )
135
+
136
+ The primary_font_family is used for most text throughout the site, including body text, links,
137
+ buttons, prices, content blocks etc.
138
+ The secondary_font_family is used for headings, specifically H1, H2, and elements with the heading--fancy class.
139
+
140
+ #### Suggested font combinations
141
+
142
+ 1. Primary: roboto, Secondary: lora
143
+ 2. Primary: hind, Secondary: source_serif_pro
144
+ 3. Primary: muli, Secondary: playfair_display
145
+
146
+ #### Adding a new font
147
+
148
+ I recommend using google fonts where possible, the [googlefonts webfont helper](https://google-webfonts-helper.herokuapp.com) is a useful tool for downloading webfonts and easily generating @font-face CSS - give it a try!
149
+
150
+ 1. Create a new directory in app/assets/fonts/workarea/storefront/<your_font_name_here>
151
+ 2. Download woff and woff2 files for the font you want to use.
152
+ 3. Place your font files in the directory we created in step 1.
153
+ 4. Create a sass file for you @font-face declarations in /app/assets/stylesheets/workarea/storefront/theme_config/fonts/_<your_font_name_here>.scss
154
+ 5. Update your theme initializer, adding a new font_stack and setting either the primary_font_family or secondary_font_family
155
+
156
+ Example configuration for Calibri font stack used as secondary font family:
157
+
158
+ config.theme[:font_stacks] = config.theme.font_stacks.merge (
159
+ calibri: 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif',
160
+ )
161
+
162
+ config.theme = config.theme.merge(
163
+ secondary_font_family: "calibri"
164
+ )
165
+
166
+ Workarea Platform Documentation
167
+ --------------------------------------------------------------------------------
168
+
169
+ See [https://developer.workarea.com](https://developer.workarea.com) for Workarea platform documentation.
170
+
171
+ Copyright & Licensing
172
+ --------------------------------------------------------------------------------
173
+ Workarea Commerce Platform is released under the [Business Software License](https://github.com/workarea-commerce/workarea/blob/master/LICENSE)
data/Rakefile ADDED
@@ -0,0 +1,63 @@
1
+ begin
2
+ require "bundler/setup"
3
+ rescue LoadError
4
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
+ end
6
+
7
+ require "rdoc/task"
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = "rdoc"
11
+ rdoc.title = "One Theme"
12
+ rdoc.options << "--line-numbers"
13
+ rdoc.rdoc_files.include("README.md")
14
+ rdoc.rdoc_files.include("lib/**/*.rb")
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load "rails/tasks/engine.rake"
19
+ load "rails/tasks/statistics.rake"
20
+ load "workarea/changelog.rake"
21
+
22
+ require "rake/testtask"
23
+
24
+ Rake::TestTask.new(:test) do |t|
25
+ t.libs << "lib"
26
+ t.libs << "test"
27
+ t.pattern = "test/**/*_test.rb"
28
+ t.verbose = false
29
+ end
30
+
31
+ task default: :test
32
+
33
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
34
+ require "workarea/one_theme/version"
35
+
36
+ desc "Release version #{Workarea::OneTheme::VERSION} of the gem"
37
+ task :release do
38
+ host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
39
+
40
+ Rake::Task["workarea:changelog"].execute
41
+ system "git add CHANGELOG.md"
42
+ system "git commit -m 'Update CHANGELOG'"
43
+ system "git push origin HEAD"
44
+
45
+ system "git tag -a v#{Workarea::OneTheme::VERSION} -m 'Tagging #{Workarea::OneTheme::VERSION}'"
46
+ system "git push --tags"
47
+
48
+ system "gem build workarea-one_theme.gemspec"
49
+ system "gem push workarea-one_theme-#{Workarea::OneTheme::VERSION}.gem"
50
+ system "gem push workarea-one_theme-#{Workarea::OneTheme::VERSION}.gem --host #{host}"
51
+ system "rm workarea-one_theme-#{Workarea::OneTheme::VERSION}.gem"
52
+ end
53
+
54
+ desc "Run the JavaScript tests"
55
+ ENV["TEASPOON_RAILS_ENV"] = File.expand_path("../test/dummy/config/environment", __FILE__)
56
+ task teaspoon: "app:teaspoon"
57
+
58
+ desc "Start a server at http://localhost:3000/teaspoon for JavaScript tests"
59
+ task :teaspoon_server do
60
+ Dir.chdir("test/dummy")
61
+ teaspoon_env = File.expand_path("../test/teaspoon_env.rb", __FILE__)
62
+ system "RAILS_ENV=test TEASPOON_ENV=#{teaspoon_env} rails s"
63
+ end
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 40.9"><style>.st0{fill:none;stroke:#000;stroke-miterlimit:10}.st1,.st2{fill:#fff}.st2{stroke:#fff;stroke-miterlimit:10}</style><path class="st0" d="M259 150.7l-8.2 8.2M258.6 150.6l-8.2 8.3M258.9 151l-8.2 8.2"/><path d="M55.3 36.6c0 2.4-1.9 4.3-4.3 4.3H4.3C1.9 40.9 0 39 0 36.6V9.9c0-2.4 1.9-4.3 4.3-4.3H51c2.4 0 4.3 1.9 4.3 4.3v26.7z"/><path class="st1" d="M35.6 30.7l3.8 5.4 5.5-7.4 7.4 10H30l5.6-8zM9.5 20.8h16.4V23H9.5v-2.2zm0-4h16.4V19H9.5v-2.2zm0 8.3h11.9v2.2H9.5v-2.2z"/><path class="st2" d="M1.4 23.3l2-1.2L5.3 21v4.5l-1.9-1.1zM53.9 23.2L52 24.3l-2 1.2V21l2 1.1z"/><path class="st2" d="M57.9 36.3H13.3c-3.3 0-6-2.7-6-6V5.9c0-3.3 2.7-6 6-6h44.6c3.3 0 6 2.7 6 6v24.4c0 3.3-2.7 6-6 6z"/><g><path d="M64 31c0 2.4-1.9 4.3-4.3 4.3H13c-2.4 0-4.3-1.9-4.3-4.3V4.3C8.7 1.9 10.6 0 13 0h46.7C62.1 0 64 1.9 64 4.3V31z"/><path class="st1" d="M44.3 25.1l3.8 5.4 5.5-7.4 7.4 10H38.7l5.6-8zm-26.1-9.9h16.4v2.2H18.2v-2.2zm0-4h16.4v2.2H18.2v-2.2zm0 8.3H30v2.2H18.2v-2.2z"/><path class="st2" d="M10.1 17.7l2-1.1 1.9-1.2v4.5l-1.9-1.1zM62.6 17.6l-1.9 1.2-2 1.1v-4.5l2 1.1z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 40.93"><title>taxonomy with category summary content block type</title><path d="M59.75,35.93a5,5,0,0,1-5,5H11.25a5,5,0,0,1-5-5V5a5,5,0,0,1,5-5h43.5a5,5,0,0,1,5,5Z"/><path style="fill:#fff;" d="M21.47,24.37l-2.32,2.3a2.86,2.86,0,0,1-4,0L14.47,26a2.86,2.86,0,0,1,0-4l2.64-2.64a2.86,2.86,0,0,1,4,0l1,1a.68.68,0,0,0,1-1l-1-1a4.22,4.22,0,0,0-6,0L13.5,21a4.22,4.22,0,0,0,0,6l.64.64a4.22,4.22,0,0,0,6,0l2.32-2.32a.66.66,0,0,0,0-.94l0,0A.68.68,0,0,0,21.47,24.37Z"/><path style="fill:#fff;" d="M21.28,13.28l-2,2a.68.68,0,0,0,1,1l2-2a2.86,2.86,0,0,1,4,0l.64.64a2.86,2.86,0,0,1,0,4l-2.32,2.32a2.86,2.86,0,0,1-4,0l-.91-.95a.68.68,0,0,0-1,1l1,1a4.22,4.22,0,0,0,6,0l2.3-2.32a4.22,4.22,0,0,0,0-6l-.64-.64A4.22,4.22,0,0,0,21.28,13.28Z"/><path style="fill:#fff;" d="M52.84,24V13.45a1.76,1.76,0,0,0-1.75-1.75H40.55a1.76,1.76,0,0,0-1.75,1.75V24a1.76,1.76,0,0,0,1.75,1.75H51.08A1.76,1.76,0,0,0,52.84,24ZM35.29,15.2V27.48A1.76,1.76,0,0,0,37,29.24H49.33V27.48H37V15.2Z"/><path d="M49.5,20.05H44.64a.52.52,0,1,0-.12,1h5a.52.52,0,0,0,0-1m0-2.19H44.64a.52.52,0,0,0-.12,1h5a.52.52,0,0,0,0-1m0-2.2H44.64a.52.52,0,1,0-.12,1h5a.52.52,0,0,0,0-1"/><circle cx="43.01" cy="16.19" r="0.52"/><circle cx="43.01" cy="18.4" r="0.52"/><circle cx="43.01" cy="20.61" r="0.52"/></svg>
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 40.93"><title>taxonomy with products content block type</title><path d="M58.75 35.93a5 5 0 0 1-5 5h-43.5a5 5 0 0 1-5-5V5a5 5 0 0 1 5-5h43.5a5 5 0 0 1 5 5z"/><path style="fill:#fff;" d="M15.28 23.45l-1.77 1.76a2.18 2.18 0 0 1-3.09 0l-.49-.49a2.18 2.18 0 0 1 0-3.09l2-2a2.18 2.18 0 0 1 3.09 0l.73.73a.52.52 0 0 0 .73-.73l-.73-.73a3.23 3.23 0 0 0-4.56 0l-2 2a3.23 3.23 0 0 0 0 4.56l.49.49a3.23 3.23 0 0 0 4.56 0L16 24.17a.51.51 0 0 0 0-.72.52.52 0 0 0-.72 0z"/><path style="fill:#fff;" d="M15.14 15l-1.57 1.5a.52.52 0 0 0 .73.73l1.53-1.53a2.18 2.18 0 0 1 3.09 0l.49.49a2.18 2.18 0 0 1 0 3.09l-1.77 1.77a2.18 2.18 0 0 1-3.09 0l-.7-.73a.52.52 0 0 0-.73.73l.73.73a3.23 3.23 0 0 0 4.56 0L20.17 20a3.23 3.23 0 0 0 0-4.56l-.49-.44a3.23 3.23 0 0 0-4.54 0z"/><rect style="fill:#fff;" x="23.67" y="13.69" width="10.18" height="13.56" rx="3.46" ry="3.46"/><rect style="fill:#fff;" x="35.12" y="13.69" width="10.18" height="13.56" rx="3.46" ry="3.46"/><rect style="fill:#fff;" x="46.57" y="13.69" width="10.18" height="13.56" rx="3.46" ry="3.46"/><path d="M43 18.66l-2-.48a.19.19 0 0 0-.17 0 .48.48 0 0 1-1 0 .19.19 0 0 0-.17 0l-2 .48a.19.19 0 0 0-.15.22l.25 1.25a.19.19 0 0 0 .19.15h.69v2.27a.19.19 0 0 0 .19.19h2.94a.19.19 0 0 0 .19-.19v-2.28h.69a.19.19 0 0 0 .19-.15l.25-1.25a.19.19 0 0 0-.09-.21zm11.43 0l-2-.48a.19.19 0 0 0-.17 0 .48.48 0 1 1-1 0 .19.19 0 0 0-.17 0l-2 .48a.19.19 0 0 0-.15.22l.25 1.25a.19.19 0 0 0 .19.15h.69v2.27a.19.19 0 0 0 .19.19h2.94a.19.19 0 0 0 .19-.19v-2.28h.69a.19.19 0 0 0 .19-.15l.25-1.25a.19.19 0 0 0-.07-.21zm-23.21 0l-2-.48a.19.19 0 0 0-.17 0 .48.48 0 1 1-1 0 .19.19 0 0 0-.17 0l-2 .48a.19.19 0 0 0-.15.22l.27 1.26a.19.19 0 0 0 .19.15h.69v2.27a.19.19 0 0 0 .19.19h3a.19.19 0 0 0 .19-.19v-2.29h.69a.19.19 0 0 0 .19-.15l.25-1.25a.19.19 0 0 0-.15-.21z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#ffffff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 32"><title>Account</title><path d="M15.5 16.55A7.25 7.25 0 1 0 8.25 9.3a7.26 7.26 0 0 0 7.25 7.25zm0-12.2a5 5 0 1 1-4.95 5 4.94 4.94 0 0 1 4.95-5zM5.48 30v-.44A10.25 10.25 0 0 1 15.65 19.1a10.25 10.25 0 0 1 10.16 10.41V30h2.08v-1.24a12.21 12.21 0 0 0-12.39-12 12.21 12.21 0 0 0-12.39 12V30h2.37z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M19.5 27.7c-.1 0-.3-.1-.4-.2l-9-11.5 9-11.6c.2-.2.5-.3.7-.1.2.2.3.5.1.7l-8.6 11 8.6 10.9c.2.2.1.5-.1.7-.1.1-.2.1-.3.1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10.7 27.8c-.1 0-.2 0-.3-.1-.2-.2-.3-.5-.1-.7l8.6-11-8.6-10.9c-.2-.2-.1-.5.1-.7.2-.2.5-.1.7.1l9 11.5L11 27.6c0 .1-.2.2-.3.2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg aria-hidden="true" focusable="false" role="presentation" viewBox="0 0 31 32"><path d="M14.568 25.629c-1.222 0-2.111.889-2.111 2.111 0 1.111 1 2.111 2.111 2.111 1.222 0 2.111-.889 2.111-2.111s-.889-2.111-2.111-2.111zm10.22 0c-1.222 0-2.111.889-2.111 2.111 0 1.111 1 2.111 2.111 2.111 1.222 0 2.111-.889 2.111-2.111s-.889-2.111-2.111-2.111zm2.555-3.777H12.457L7.347 7.078c-.222-.333-.555-.667-1-.667H1.792c-.667 0-1.111.444-1.111 1s.444 1 1.111 1h3.777l5.11 14.885c.111.444.555.666 1 .666h15.663c.555 0 1.111-.444 1.111-1 0-.666-.555-1.111-1.111-1.111zm2.333-11.442l-18.44-1.555h-.111c-.555 0-.777.333-.667.889l3.222 9.22c.222.555.889 1 1.444 1h13.441c.555 0 1.111-.444 1.222-1l.778-7.443c.111-.555-.333-1.111-.889-1.111zm-2 7.443H15.568l-2.333-6.776 15.108 1.222-.666 5.554z"></path></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18l1-.8 10.4-8.9L21.5 6 12 14.1 2.5 6 .6 8.3 11 17.2"/></svg>
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>chevron right</title><path d="M18,12l-.8-1L8.3.6,6,2.5,14.1,12,6,21.5l2.3,1.9L17.2,13"/></svg>
@@ -0,0 +1 @@
1
+ <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 32"><title>Search</title><path d="M28.8,27.18,22,20.37a11.28,11.28,0,1,0-2.12,2.12l6.81,6.81a1.5,1.5,0,0,0,2.12-2.12ZM7.18,19.39a8.28,8.28,0,1,1,11.71,0A8.29,8.29,0,0,1,7.18,19.39Z"/></svg>
@@ -0,0 +1,147 @@
1
+ <%
2
+ # Service Worker Registrations
3
+ %w(
4
+ workarea/storefront/serviceworkers/register_pwa_cache
5
+ ).each do |asset|
6
+ require_asset asset unless Rails.env.development?
7
+ end
8
+ # Plugin Service Worker Registrations
9
+ append_javascripts('storefront.serviceworker_registrations')
10
+
11
+ # Library Dependencies
12
+ %w(
13
+ webcomponentsjs-rails/MutationObserver
14
+ i18n
15
+ i18n/translations
16
+ local_time
17
+ lodash
18
+ jquery3
19
+ jquery-ui/core
20
+ jquery-ui/widget
21
+ jquery-ui/position
22
+ jquery-ui/widgets/mouse
23
+ jquery-ui/widgets/draggable
24
+ jquery-ui/widgets/resizable
25
+ jquery-ui/widgets/button
26
+ jquery-ui/widgets/dialog
27
+ jquery-ui/widgets/menu
28
+ jquery.validate
29
+ jquery.validate.additional-methods
30
+ waypoints/noframework.waypoints
31
+ waypoints/shortcuts/sticky
32
+ jquery-unique-clone
33
+ jquery_ujs
34
+ ).each do |asset|
35
+ require_asset asset
36
+ end
37
+
38
+ # Plugin Library Dependencies
39
+ append_javascripts('storefront.dependencies')
40
+
41
+ # JST Templates
42
+ %w(
43
+ workarea/core/templates/lorem_ipsum_view
44
+ workarea/core/templates/reveal_password_button
45
+ workarea/storefront/templates/loading
46
+ workarea/storefront/templates/message
47
+ workarea/storefront/templates/message_dismiss_action
48
+ workarea/storefront/templates/button
49
+ workarea/storefront/templates/same_as_shipping_button_property
50
+ workarea/storefront/templates/saved_addresses_property
51
+ workarea/storefront/templates/log_out_link
52
+ workarea/storefront/templates/pagination_button
53
+ workarea/storefront/templates/back_to_top_button
54
+ workarea/storefront/templates/authenticity_token
55
+ workarea/storefront/templates/optional_field_prompt
56
+ ).each do |asset|
57
+ require_asset asset
58
+ end
59
+
60
+ # Plugin JST Templates
61
+ append_javascripts('storefront.templates')
62
+
63
+ # Plugin Library Extensions
64
+ append_javascripts('storefront.extensions')
65
+
66
+ # Workarea Module Controller
67
+ require_asset 'workarea/core/workarea'
68
+
69
+ # Configuration
70
+ %w(
71
+ workarea/core/config
72
+ workarea/storefront/config
73
+ ).each do |asset|
74
+ require_asset asset
75
+ end
76
+
77
+ # Plugin Configuration
78
+ append_javascripts('storefront.config')
79
+
80
+ # Routing
81
+ %w(
82
+ workarea/core/routes
83
+ workarea/storefront/routes
84
+ ).each do |asset|
85
+ require_asset asset
86
+ end
87
+
88
+ # Modules
89
+ %w(
90
+ workarea/core/modules/transition_events
91
+ workarea/core/modules/environment
92
+ workarea/core/modules/cookie
93
+ workarea/core/modules/string
94
+ workarea/core/modules/url
95
+ workarea/core/modules/image
96
+ workarea/core/modules/deletion_forms
97
+ workarea/core/modules/form_submitting_controls
98
+ workarea/core/modules/jquery
99
+ workarea/core/modules/style_guide_empty_links
100
+ workarea/core/modules/reveal_password
101
+ workarea/core/modules/local_time
102
+ workarea/storefront/modules/forms
103
+ workarea/storefront/modules/authenticity_token
104
+ workarea/storefront/modules/dialog
105
+ workarea/storefront/modules/dialog_buttons
106
+ workarea/storefront/modules/dialog_forms
107
+ workarea/storefront/modules/dialog_close_buttons
108
+ workarea/storefront/modules/loading
109
+ workarea/storefront/modules/messages
110
+ workarea/storefront/modules/pagination
111
+ workarea/storefront/modules/current_user
112
+ workarea/storefront/modules/break_points
113
+ workarea/storefront/modules/primary_nav_content
114
+ workarea/storefront/modules/product_details_sku_selects
115
+ workarea/storefront/modules/popup_buttons
116
+ workarea/storefront/modules/alternate_image_buttons
117
+ workarea/storefront/modules/scroll_to_buttons
118
+ workarea/storefront/modules/address_region_fields
119
+ workarea/storefront/modules/checkout_addresses_forms
120
+ workarea/storefront/modules/checkout_shipping_services
121
+ workarea/storefront/modules/checkout_primary_payments
122
+ workarea/storefront/modules/single_submit_forms
123
+ workarea/storefront/modules/log_out_link_placeholders
124
+ workarea/storefront/modules/admin_toolbar
125
+ workarea/storefront/modules/analytics
126
+ workarea/storefront/modules/recommendations_placeholders
127
+ workarea/storefront/modules/workarea_analytics
128
+ workarea/storefront/modules/mobile_nav_button
129
+ workarea/storefront/modules/back_to_top_button
130
+ workarea/storefront/modules/option_buttons
131
+ workarea/storefront/modules/optional_fields
132
+ workarea/storefront/modules/traffic_referrer
133
+ ).each do |asset|
134
+ require_asset asset
135
+ end
136
+
137
+ # Development Utilities
138
+ if Rails.env.test? || Rails.env.development?
139
+ require_asset 'workarea/core/modules/duplicate_id'
140
+ end
141
+
142
+ # Plugin Modules
143
+ append_javascripts('storefront.modules')
144
+ %>
145
+
146
+ // Initialize all modules
147
+ WORKAREA.initModules($(document));