create-sitecore-jss 22.2.0-canary.83 → 22.3.0-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/dist/bin.js +35 -19
  2. package/dist/common/index.js +5 -3
  3. package/dist/common/processes/install.js +9 -2
  4. package/dist/common/processes/next.js +6 -3
  5. package/dist/common/processes/transform.js +18 -13
  6. package/dist/common/prompts/base.js +0 -25
  7. package/dist/common/prompts/proxy.js +35 -0
  8. package/dist/common/prompts/sxp.js +34 -0
  9. package/dist/common/utils/helpers.js +29 -19
  10. package/dist/init-runner.js +16 -11
  11. package/dist/initializers/angular/index.js +13 -0
  12. package/dist/initializers/angular/prompts.js +22 -1
  13. package/dist/initializers/angular-sxp/index.js +62 -0
  14. package/dist/initializers/angular-xmcloud/index.js +80 -0
  15. package/dist/initializers/nextjs/index.js +2 -2
  16. package/dist/initializers/nextjs/prompts.js +2 -0
  17. package/dist/initializers/nextjs/remove-dev-dependencies.js +2 -2
  18. package/dist/initializers/nextjs-multisite/index.js +1 -1
  19. package/dist/initializers/nextjs-styleguide/index.js +1 -1
  20. package/dist/initializers/nextjs-styleguide-tracking/index.js +1 -1
  21. package/dist/initializers/nextjs-sxa/index.js +1 -1
  22. package/dist/initializers/nextjs-xmcloud/index.js +1 -1
  23. package/dist/initializers/node-xmcloud-proxy/index.js +33 -0
  24. package/dist/initializers/react/index.js +3 -3
  25. package/dist/initializers/react/prompts.js +1 -1
  26. package/dist/initializers/react-native/prompts.js +1 -0
  27. package/dist/initializers/vue/prompts.js +1 -1
  28. package/dist/templates/angular/.env +4 -3
  29. package/dist/templates/angular/.eslintrc +1 -0
  30. package/dist/templates/angular/README.md +5 -45
  31. package/dist/templates/angular/angular.json +1 -6
  32. package/dist/templates/angular/gitignore +5 -0
  33. package/dist/templates/angular/package.json +11 -23
  34. package/dist/templates/angular/proxy.conf.js +5 -23
  35. package/dist/templates/angular/scripts/bootstrap.ts +5 -24
  36. package/dist/templates/angular/scripts/config/index.ts +28 -0
  37. package/dist/templates/angular/scripts/config/plugins/computed.ts +21 -0
  38. package/dist/templates/angular/scripts/config/plugins/fallback.ts +22 -0
  39. package/dist/templates/angular/scripts/config/plugins/package-json.ts +22 -0
  40. package/dist/templates/angular/scripts/config/plugins/scjssconfig.ts +29 -0
  41. package/dist/templates/angular/scripts/generate-component-factory/index.ts +45 -0
  42. package/dist/templates/angular/scripts/generate-component-factory/plugins/component-factory.ts +147 -0
  43. package/dist/templates/angular/scripts/generate-component-factory/plugins/components.ts +19 -0
  44. package/dist/templates/angular/scripts/generate-component-factory/plugins/packages.ts +29 -0
  45. package/dist/templates/angular/scripts/generate-component-factory/template.ts +46 -0
  46. package/dist/templates/angular/scripts/generate-config.ts +71 -72
  47. package/dist/templates/angular/scripts/generate-plugins.ts +33 -0
  48. package/dist/templates/angular/scripts/temp/gitignore +2 -0
  49. package/dist/templates/angular/scripts/update-graphql-fragment-data.ts +21 -28
  50. package/dist/templates/angular/server.bundle.ts +3 -5
  51. package/dist/templates/angular/server.exports.ts +13 -0
  52. package/dist/templates/angular/src/app/JssState.ts +2 -9
  53. package/dist/templates/angular/src/app/app.module.ts +5 -6
  54. package/dist/templates/angular/src/app/app.server.module.ts +9 -6
  55. package/dist/templates/angular/src/app/components/app-components.shared.module.ts +4 -19
  56. package/dist/templates/angular/src/app/components/gitignore +1 -1
  57. package/dist/templates/angular/src/app/i18n/jss-translation-client-loader.service.ts +15 -7
  58. package/dist/templates/angular/src/app/i18n/jss-translation-server-loader.service.ts +14 -2
  59. package/dist/templates/angular/src/app/jss-context.server-side.service.ts +4 -4
  60. package/dist/templates/angular/src/app/jss-context.service.ts +14 -11
  61. package/dist/templates/angular/src/app/jss-graphql.service.ts +7 -7
  62. package/dist/templates/angular/src/app/layout/jss-layout.service.ts +2 -2
  63. package/dist/templates/angular/src/app/lib/config.ts +16 -0
  64. package/dist/templates/angular/src/app/lib/dictionary-service-factory.ts +24 -13
  65. package/dist/templates/angular/src/app/lib/graphql-client-factory/config.ts +21 -0
  66. package/dist/templates/angular/src/app/lib/graphql-client-factory/index.ts +16 -0
  67. package/dist/templates/angular/src/app/lib/layout-service-factory.ts +20 -12
  68. package/dist/templates/angular/src/app/routing/layout/layout.component.html +1 -1
  69. package/dist/templates/angular/src/app/routing/layout/layout.component.ts +11 -11
  70. package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +5 -6
  71. package/dist/templates/angular/src/app/routing/navigation/navigation.component.ts +1 -2
  72. package/dist/templates/angular/src/app/routing/routing.module.ts +14 -21
  73. package/dist/templates/angular/src/app/routing/scripts/scripts.component.html +1 -0
  74. package/dist/templates/angular/src/app/routing/scripts/scripts.component.ts +7 -0
  75. package/dist/templates/angular/src/app/routing/scripts/scripts.module.ts +8 -0
  76. package/dist/templates/angular/src/environments/gitignore +2 -1
  77. package/dist/templates/angular/src/graphql-fragment-types.ts +0 -95
  78. package/dist/templates/angular/tsconfig.json +7 -2
  79. package/dist/templates/angular-sxp/.env +2 -0
  80. package/dist/templates/angular-sxp/package.json +12 -0
  81. package/dist/templates/angular-sxp/proxy.conf.js +43 -0
  82. package/dist/templates/angular-sxp/scripts/config/plugins/disconnected.ts +29 -0
  83. package/dist/templates/angular-sxp/src/app/components/app-components.shared.module.ts +35 -0
  84. package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-layout/graph-ql-layout.component.ts +1 -1
  85. package/dist/templates/{angular → angular-sxp}/src/app/jss-data-fetcher.service.ts +3 -1
  86. package/dist/templates/angular-sxp/src/app/routing/navigation/navigation.component.html +23 -0
  87. package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.component.html +3 -0
  88. package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.module.ts +9 -0
  89. package/dist/templates/{angular/src/app/routing → angular-sxp/src/app/routing/scripts}/visitor-identification/visitor-identification.component.ts +9 -3
  90. package/dist/templates/angular-sxp/src/graphql-fragment-types.ts +219 -0
  91. package/dist/templates/angular-xmcloud/.env +21 -0
  92. package/dist/templates/angular-xmcloud/angular.json +33 -0
  93. package/dist/templates/angular-xmcloud/package.json +17 -0
  94. package/dist/templates/angular-xmcloud/scripts/bootstrap.ts +28 -0
  95. package/dist/templates/angular-xmcloud/scripts/config/plugins/xmcloud.ts +39 -0
  96. package/dist/templates/angular-xmcloud/scripts/generate-component-factory/plugins/packages.ts +34 -0
  97. package/dist/templates/angular-xmcloud/scripts/generate-component-factory/template.ts +57 -0
  98. package/dist/templates/angular-xmcloud/scripts/generate-metadata.ts +25 -0
  99. package/dist/templates/angular-xmcloud/scripts/proxy-build.ts +15 -0
  100. package/dist/templates/angular-xmcloud/server.exports.ts +24 -0
  101. package/dist/templates/angular-xmcloud/src/app/components/app-components.shared.module.ts +21 -0
  102. package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.html +5 -0
  103. package/dist/templates/angular-xmcloud/src/app/components/column-splitter/column-splitter.component.ts +40 -0
  104. package/dist/templates/angular-xmcloud/src/app/components/container/container.component.html +14 -0
  105. package/dist/templates/angular-xmcloud/src/app/components/container/container.component.ts +30 -0
  106. package/dist/templates/angular-xmcloud/src/app/components/image/image.component.html +36 -0
  107. package/dist/templates/angular-xmcloud/src/app/components/image/image.component.ts +67 -0
  108. package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.html +15 -0
  109. package/dist/templates/angular-xmcloud/src/app/components/link-list/link-list.component.ts +41 -0
  110. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.html +23 -0
  111. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation-item.component.ts +65 -0
  112. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.html +21 -0
  113. package/dist/templates/angular-xmcloud/src/app/components/navigation/navigation.component.ts +49 -0
  114. package/dist/templates/angular-xmcloud/src/app/components/page-content/page-content.component.html +5 -0
  115. package/dist/templates/angular-xmcloud/src/app/components/page-content/page-content.component.ts +39 -0
  116. package/dist/templates/angular-xmcloud/src/app/components/partial-design-dynamic-placeholder/partial-design-dynamic-placeholder.component.html +1 -0
  117. package/dist/templates/angular-xmcloud/src/app/components/partial-design-dynamic-placeholder/partial-design-dynamic-placeholder.component.ts +15 -0
  118. package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.html +21 -0
  119. package/dist/templates/angular-xmcloud/src/app/components/promo/promo.component.ts +13 -0
  120. package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.html +8 -0
  121. package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.ts +21 -0
  122. package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.html +11 -0
  123. package/dist/templates/angular-xmcloud/src/app/components/row-splitter/row-splitter.component.ts +35 -0
  124. package/dist/templates/angular-xmcloud/src/app/components/sxa.component.ts +15 -0
  125. package/dist/templates/angular-xmcloud/src/app/components/title/title.component.html +10 -0
  126. package/dist/templates/angular-xmcloud/src/app/components/title/title.component.ts +56 -0
  127. package/dist/templates/angular-xmcloud/src/app/jss-link.service.ts +55 -0
  128. package/dist/templates/angular-xmcloud/src/app/lib/config.ts +17 -0
  129. package/dist/templates/angular-xmcloud/src/app/lib/graphql-client-factory/config.ts +58 -0
  130. package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.html +38 -0
  131. package/dist/templates/angular-xmcloud/src/app/routing/layout/layout.component.ts +104 -0
  132. package/dist/templates/angular-xmcloud/src/app/routing/scripts/cdp-page-view.component.ts +77 -0
  133. package/dist/templates/angular-xmcloud/src/app/routing/scripts/cloud-sdk-init.component.ts +48 -0
  134. package/dist/templates/angular-xmcloud/src/app/routing/scripts/scripts.component.html +5 -0
  135. package/dist/templates/angular-xmcloud/src/app/routing/scripts/scripts.module.ts +12 -0
  136. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_component.scss +48 -0
  137. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_container.scss +64 -0
  138. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_fonts.scss +3 -0
  139. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_footer.scss +31 -0
  140. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_header.scss +51 -0
  141. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_navigation.scss +150 -0
  142. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_promo.scss +58 -0
  143. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_rich-text.scss +11 -0
  144. package/dist/templates/angular-xmcloud/src/assets/styles/basic/_variables.scss +10 -0
  145. package/dist/templates/angular-xmcloud/src/assets/styles/basic/main.scss +8 -0
  146. package/dist/templates/angular-xmcloud/src/assets/styles/main.scss +14 -0
  147. package/dist/templates/angular-xmcloud/src/assets/styles/sass/_app.scss +103 -0
  148. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_functions.scss +8 -0
  149. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_mixins.scss +121 -0
  150. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_vars.scss +3 -0
  151. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_colors.scss +283 -0
  152. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_fontSizes.scss +16 -0
  153. package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_margins.scss +11 -0
  154. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/_fonts.scss +1 -0
  155. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/index.scss +1 -0
  156. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/index.scss +3 -0
  157. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/_link-button.scss +26 -0
  158. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/index.scss +1 -0
  159. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_inputs.scss +58 -0
  160. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_links.scss +14 -0
  161. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_ui-datepicker.scss +7 -0
  162. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext-files-icons.scss +86 -0
  163. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext.scss +101 -0
  164. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/index.scss +2 -0
  165. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/_typehead.scss +95 -0
  166. package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/index.scss +1 -0
  167. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-column-splitter.scss +14 -0
  168. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-container.scss +27 -0
  169. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss +18 -0
  170. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-navigation.scss +51 -0
  171. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-promo.scss +42 -0
  172. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-richtext-content.scss +19 -0
  173. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_alignment.scss +26 -0
  174. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_boxed.scss +16 -0
  175. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_clearfix.scss +11 -0
  176. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_highlighted.scss +63 -0
  177. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_link-button.scss +16 -0
  178. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_promoted-box.scss +3 -0
  179. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/index.scss +6 -0
  180. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_bordered.scss +24 -0
  181. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_title-row-box.scss +66 -0
  182. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/index.scss +1 -0
  183. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/_image-default-size.scss +6 -0
  184. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/index.scss +1 -0
  185. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-left.scss +3 -0
  186. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-right.scss +3 -0
  187. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/index.scss +17 -0
  188. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_acaindent.scss +5 -0
  189. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_background.scss +27 -0
  190. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/index.scss +1 -0
  191. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_component-link-list.scss +45 -0
  192. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_list-vertical.scss +20 -0
  193. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/index.scss +2 -0
  194. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-fat.scss +58 -0
  195. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-main-horizontal-vertical.scss +176 -0
  196. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-mobile.scss +85 -0
  197. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-sidebar.scss +29 -0
  198. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_sitemap-navigation.scss +20 -0
  199. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/index.scss +5 -0
  200. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_absolute-bottom-link.scss +8 -0
  201. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-hero.scss +40 -0
  202. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-shadow.scss +42 -0
  203. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/index.scss +3 -0
  204. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/_rich-text-lists.scss +63 -0
  205. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/index.scss +1 -0
  206. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_background-colors.scss +14 -0
  207. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_indent.scss +13 -0
  208. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/index.scss +2 -0
  209. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/_component-title.scss +30 -0
  210. package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/index.scss +1 -0
  211. package/dist/templates/angular-xmcloud/src/assets/styles/sass/main.scss +4 -0
  212. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/index.scss +6 -0
  213. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/link-list/index.scss +0 -0
  214. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/navigation/index.scss +0 -0
  215. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/page-content/index.scss +0 -0
  216. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/promo/index.scss +0 -0
  217. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/rich-text/index.scss +0 -0
  218. package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/title/index.scss +0 -0
  219. package/dist/templates/nextjs/package.json +4 -4
  220. package/dist/templates/nextjs/scripts/config/plugins/fallback.ts +0 -1
  221. package/dist/templates/nextjs/scripts/generate-config.ts +8 -1
  222. package/dist/templates/nextjs-styleguide/package.json +1 -1
  223. package/dist/templates/nextjs-styleguide/scripts/config/plugins/disconnected.ts +1 -0
  224. package/dist/templates/nextjs-sxa/src/assets/sass/components/common/_alignment.scss +34 -7
  225. package/dist/templates/node-headless-ssr-experience-edge/gitignore +19 -0
  226. package/dist/templates/node-headless-ssr-experience-edge/package.json +2 -2
  227. package/dist/templates/node-headless-ssr-proxy/gitignore +19 -0
  228. package/dist/templates/node-headless-ssr-proxy/package.json +3 -3
  229. package/dist/templates/node-headless-ssr-proxy/src/config.ts +3 -3
  230. package/dist/templates/node-headless-ssr-proxy/src/httpAgents.ts +2 -2
  231. package/dist/templates/node-headless-ssr-proxy/src/index.ts +9 -2
  232. package/dist/templates/node-xmcloud-proxy/.env +14 -0
  233. package/dist/templates/node-xmcloud-proxy/README.md +36 -0
  234. package/dist/templates/node-xmcloud-proxy/gitignore +33 -0
  235. package/dist/templates/node-xmcloud-proxy/package.json +26 -0
  236. package/dist/templates/node-xmcloud-proxy/src/config.ts +25 -0
  237. package/dist/templates/node-xmcloud-proxy/src/index.ts +210 -0
  238. package/dist/templates/node-xmcloud-proxy/src/types.ts +27 -0
  239. package/dist/templates/node-xmcloud-proxy/tsconfig.json +22 -0
  240. package/dist/templates/react/package.json +5 -5
  241. package/dist/templates/react/scripts/generate-config.js +10 -3
  242. package/dist/templates/react-native/package.json +4 -4
  243. package/dist/templates/vue/package.json +4 -4
  244. package/dist/templates/vue/scripts/generate-config.js +5 -0
  245. package/package.json +2 -2
  246. package/dist/templates/angular/scripts/generate-component-factory.ts +0 -166
  247. package/dist/templates/angular/src/app/lib/client-factory.ts +0 -28
  248. /package/dist/templates/{angular → angular-sxp}/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +0 -0
  249. /package/dist/templates/{angular → angular-sxp}/data/component-content/gitignore +0 -0
  250. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/ContentListField/Item1/en.yml +0 -0
  251. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/ContentListField/Item2/en.yml +0 -0
  252. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/EditFrameDemo/Item1/en.yml +0 -0
  253. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/EditFrameDemo/Item2/en.yml +0 -0
  254. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/ItemLinkField/Item1/en.yml +0 -0
  255. /package/dist/templates/{angular → angular-sxp}/data/content/Styleguide/ItemLinkField/Item2/en.yml +0 -0
  256. /package/dist/templates/{angular → angular-sxp}/data/content/gitignore +0 -0
  257. /package/dist/templates/{angular → angular-sxp}/data/dictionary/en.yml +0 -0
  258. /package/dist/templates/{angular → angular-sxp}/data/dictionary/{{language}}.yml +0 -0
  259. /package/dist/templates/{angular → angular-sxp}/data/media/files/jss.pdf +0 -0
  260. /package/dist/templates/{angular → angular-sxp}/data/media/img/jss_logo.png +0 -0
  261. /package/dist/templates/{angular → angular-sxp}/data/media/img/sc_logo.png +0 -0
  262. /package/dist/templates/{angular → angular-sxp}/data/routes/en.yml +0 -0
  263. /package/dist/templates/{angular → angular-sxp}/data/routes/graphql/en.yml +0 -0
  264. /package/dist/templates/{angular → angular-sxp}/data/routes/graphql/sample-1/en.yml +0 -0
  265. /package/dist/templates/{angular → angular-sxp}/data/routes/graphql/sample-2/en.yml +0 -0
  266. /package/dist/templates/{angular → angular-sxp}/data/routes/styleguide/custom-route-type/en.yml +0 -0
  267. /package/dist/templates/{angular → angular-sxp}/data/routes/styleguide/en.yml +0 -0
  268. /package/dist/templates/{angular → angular-sxp}/data/routes/styleguide/{{language}}.yml +0 -0
  269. /package/dist/templates/{angular → angular-sxp}/data/routes/{{language}}.yml +0 -0
  270. /package/dist/templates/{angular → angular-sxp}/scripts/disconnected-mode-proxy.ts +0 -0
  271. /package/dist/templates/{angular → angular-sxp}/scripts/lint-yml.ts +0 -0
  272. /package/dist/templates/{angular → angular-sxp}/sitecore/config/{{appName}}.config +0 -0
  273. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/component-content.sitecore.ts +0 -0
  274. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Layout-Reuse.sitecore.ts +0 -0
  275. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Layout-Tabs-Tab.sitecore.ts +0 -0
  276. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Layout-Tabs.sitecore.ts +0 -0
  277. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Layout.sitecore.ts +0 -0
  278. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Multilingual.sitecore.ts +0 -0
  279. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/Styleguide-Section.sitecore.ts +0 -0
  280. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/content-block.sitecore.ts +0 -0
  281. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/graph-ql-connected-demo.sitecore.ts +0 -0
  282. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +0 -0
  283. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.ts +0 -0
  284. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/graph-ql-layout.sitecore.ts +0 -0
  285. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-angular-lazy-loading.sitecore.ts +0 -0
  286. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-component-params.sitecore.ts +0 -0
  287. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-custom-route-type.sitecore.ts +0 -0
  288. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-edit-frame.sitecore.ts +0 -0
  289. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-checkbox.sitecore.ts +0 -0
  290. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-content-list.sitecore.ts +0 -0
  291. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-custom.sitecore.ts +0 -0
  292. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-date.sitecore.ts +0 -0
  293. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-file.sitecore.ts +0 -0
  294. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-image.sitecore.ts +0 -0
  295. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-item-link.sitecore.ts +0 -0
  296. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-link.sitecore.ts +0 -0
  297. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-number.sitecore.ts +0 -0
  298. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-rich-text.sitecore.ts +0 -0
  299. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-field-usage-text.sitecore.ts +0 -0
  300. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-route-fields.sitecore.ts +0 -0
  301. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-sitecore-context.sitecore.ts +0 -0
  302. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/components/styleguide-tracking.sitecore.ts +0 -0
  303. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/config.js +0 -0
  304. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/content.sitecore.ts +0 -0
  305. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/dictionary.sitecore.ts +0 -0
  306. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/placeholders.sitecore.ts +0 -0
  307. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/routes.sitecore.ts +0 -0
  308. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/templates/Styleguide-Explanatory-Component.sitecore.ts +0 -0
  309. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/templates/styleguide-content-list-template.sitecore.ts +0 -0
  310. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/templates/styleguide-edit-frame-list-item-template.sitecore.ts +0 -0
  311. /package/dist/templates/{angular → angular-sxp}/sitecore/definitions/templates/styleguide-item-link-template.sitecore.ts +0 -0
  312. /package/dist/templates/{angular → angular-sxp}/sitecore/gitignore +0 -0
  313. /package/dist/templates/{angular → angular-sxp}/sitecore/pipelines/example.patch.ts +0 -0
  314. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +0 -0
  315. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +0 -0
  316. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.ts +0 -0
  317. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +0 -0
  318. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.ts +0 -0
  319. /package/dist/templates/{angular → angular-sxp}/src/app/components/graph-ql-layout/graph-ql-layout.component.html +0 -0
  320. /package/dist/templates/{angular → angular-sxp}/src/app/components/shared/styleguide-specimen/styleguide-specimen.component.ts +0 -0
  321. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +0 -0
  322. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.ts +0 -0
  323. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.module.ts +0 -0
  324. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-component-params/styleguide-component-params.component.html +0 -0
  325. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-component-params/styleguide-component-params.component.ts +0 -0
  326. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +0 -0
  327. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.ts +0 -0
  328. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.html +0 -0
  329. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.ts +0 -0
  330. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +0 -0
  331. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.ts +0 -0
  332. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +0 -0
  333. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.ts +0 -0
  334. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +0 -0
  335. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.ts +0 -0
  336. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +0 -0
  337. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.ts +0 -0
  338. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +0 -0
  339. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.ts +0 -0
  340. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +0 -0
  341. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.ts +0 -0
  342. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +0 -0
  343. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.ts +0 -0
  344. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +0 -0
  345. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.ts +0 -0
  346. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +0 -0
  347. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.ts +0 -0
  348. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +0 -0
  349. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.ts +0 -0
  350. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +0 -0
  351. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.ts +0 -0
  352. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout/styleguide-layout.component.html +0 -0
  353. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout/styleguide-layout.component.ts +0 -0
  354. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +0 -0
  355. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.ts +0 -0
  356. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +0 -0
  357. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.ts +0 -0
  358. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +0 -0
  359. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.ts +0 -0
  360. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +0 -0
  361. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-multilingual/styleguide-multilingual.component.ts +0 -0
  362. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +0 -0
  363. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-route-fields/styleguide-route-fields.component.ts +0 -0
  364. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-section/styleguide-section.component.html +0 -0
  365. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-section/styleguide-section.component.ts +0 -0
  366. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +0 -0
  367. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.ts +0 -0
  368. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-tracking/styleguide-tracking.component.html +0 -0
  369. /package/dist/templates/{angular → angular-sxp}/src/app/components/styleguide-tracking/styleguide-tracking.component.ts +0 -0
@@ -0,0 +1,77 @@
1
+ import { Component, OnInit, OnDestroy } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ import { isServer, CdpHelper, LayoutServicePageState } from '@sitecore-jss/sitecore-jss-angular';
4
+ import { pageView, PageViewData } from '@sitecore-cloudsdk/events/browser';
5
+ import { JssContextService } from '../../jss-context.service';
6
+ import { JssState } from '../../JssState';
7
+ import { environment } from '../../../environments/environment';
8
+
9
+ /**
10
+ * This is the CDP page view component.
11
+ * It uses the Sitecore Cloud SDK to enable page view events on the client-side.
12
+ * See Sitecore Cloud SDK documentation for details.
13
+ * https://www.npmjs.com/package/@sitecore-cloudsdk/events
14
+ */
15
+ @Component({
16
+ selector: 'app-cdp-page-view',
17
+ template: '',
18
+ })
19
+ export class CdpPageViewComponent implements OnInit, OnDestroy {
20
+ private contextSubscription: Subscription;
21
+
22
+ constructor(private jssContext: JssContextService) {}
23
+
24
+ ngOnInit(): void {
25
+ if (!isServer()) {
26
+ this.contextSubscription = this.jssContext.state.subscribe((newState: JssState) => {
27
+ const {
28
+ route,
29
+ context: { pageState, language, variantId },
30
+ } = newState.sitecore;
31
+
32
+ // Do not create events in editing or preview mode or if missing route data
33
+ if (pageState !== LayoutServicePageState.Normal || !route?.itemId) {
34
+ return;
35
+ }
36
+
37
+ // Do not create events if disabled (e.g. we don't have consent)
38
+ if (this.disabled()) {
39
+ return;
40
+ }
41
+
42
+ const scope = process.env.PERSONALIZE_SCOPE;
43
+ const pageVariantId = CdpHelper.getPageVariantId(
44
+ route.itemId,
45
+ language || environment.defaultLanguage,
46
+ variantId as string,
47
+ scope
48
+ );
49
+
50
+ const pageViewData: PageViewData = {
51
+ channel: 'WEB',
52
+ currency: 'USD',
53
+ page: route.name,
54
+ pageVariantId,
55
+ language,
56
+ };
57
+
58
+ pageView(pageViewData).catch((err) => console.debug(err));
59
+ });
60
+ }
61
+ }
62
+
63
+ ngOnDestroy() {
64
+ if (this.contextSubscription) {
65
+ this.contextSubscription.unsubscribe();
66
+ }
67
+ }
68
+
69
+ /**
70
+ * Determines if the page view events should be turned off.
71
+ * IMPORTANT: You should implement based on your cookie consent management solution of choice.
72
+ * By default it is disabled if not in production mode
73
+ */
74
+ disabled = () => {
75
+ return !environment.production;
76
+ };
77
+ }
@@ -0,0 +1,48 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+ import { take } from 'rxjs/operators';
3
+ import { CloudSDK } from '@sitecore-cloudsdk/core/browser';
4
+ import '@sitecore-cloudsdk/events/browser';
5
+ import { isServer, LayoutServicePageState } from '@sitecore-jss/sitecore-jss-angular';
6
+ import { environment } from '../../../environments/environment';
7
+ import { JssContextService } from '../../jss-context.service';
8
+ import { JssState } from '../../JssState';
9
+
10
+ /**
11
+ * Component to init CloudSDK logic - to allow events throughout the site
12
+ */
13
+ @Component({
14
+ selector: 'app-cloud-sdk-init',
15
+ template: '',
16
+ })
17
+ export class CloudSdkInitComponent implements OnInit {
18
+ constructor(private jssContext: JssContextService) {}
19
+
20
+ ngOnInit(): void {
21
+ if (!isServer() && environment.production) {
22
+ // to ensure that CloudSDK initialization logic runs only once in the browser, take only the first emitted value of state
23
+ this.jssContext.state.pipe(take(1)).subscribe((newState: JssState) => {
24
+ const {
25
+ route,
26
+ context: { pageState },
27
+ } = newState.sitecore;
28
+
29
+ // Do not initialize CloudSDK in editing or preview mode or if missing route data
30
+ if (pageState !== LayoutServicePageState.Normal || !route?.itemId) {
31
+ return;
32
+ }
33
+
34
+ CloudSDK({
35
+ siteName: environment.sitecoreSiteName,
36
+ sitecoreEdgeUrl: environment.sitecoreEdgeUrl,
37
+ sitecoreEdgeContextId: environment.sitecoreEdgeContextId,
38
+ // Replace with the top level cookie domain of the website that is being integrated e.g ".example.com" and not "www.example.com"
39
+ cookieDomain: window.location.hostname.replace(/^www\./, ''),
40
+ // Cookie may be created in personalize middleware (server), but if not we should create it here
41
+ enableBrowserCookie: true,
42
+ })
43
+ .addEvents()
44
+ .initialize();
45
+ });
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,5 @@
1
+ <ng-container>
2
+ <sc-editing-scripts></sc-editing-scripts>
3
+ <app-cloud-sdk-init></app-cloud-sdk-init>
4
+ <app-cdp-page-view></app-cdp-page-view>
5
+ </ng-container>
@@ -0,0 +1,12 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { ScriptsComponent } from './scripts.component';
3
+ import { JssModule } from '@sitecore-jss/sitecore-jss-angular';
4
+ import { CloudSdkInitComponent } from './cloud-sdk-init.component';
5
+ import { CdpPageViewComponent } from './cdp-page-view.component';
6
+
7
+ @NgModule({
8
+ exports: [ScriptsComponent],
9
+ imports: [JssModule],
10
+ declarations: [ScriptsComponent, CloudSdkInitComponent, CdpPageViewComponent],
11
+ })
12
+ export class ScriptsModule {}
@@ -0,0 +1,48 @@
1
+ .component-content {
2
+ @include respond-to(mobile-large) {
3
+ .row {
4
+ padding: 0;
5
+ margin: 0;
6
+ }
7
+ }
8
+ }
9
+ @include respond-to(mobile-large) {
10
+ .row {
11
+ margin: 0;
12
+ padding: 0;
13
+ > * {
14
+ padding: 0;
15
+ margin: 0;
16
+ }
17
+ }
18
+ }
19
+
20
+ .hero-banner {
21
+ .component-content {
22
+ background-position: center;
23
+ background-repeat: no-repeat;
24
+ background-size: cover;
25
+ height: 800px;
26
+
27
+ @include respond-to(mobile-large) {
28
+ height: 300px;
29
+ }
30
+ }
31
+ .sc-image-wrapper {
32
+ opacity: 0;
33
+ }
34
+ &.scEnabledChrome {
35
+ &.hero-banner-empty {
36
+ .sc-image-wrapper {
37
+ display: block;
38
+ width: 100%;
39
+
40
+ .scEmptyImage {
41
+ max-height: 800px;
42
+ max-width: 100%;
43
+ width: 100%;
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,64 @@
1
+ @import "sass/abstracts/mixins";
2
+ @import "variables";
3
+
4
+ body {
5
+ font-family: Roboto;
6
+ color: $main-color;
7
+ }
8
+
9
+
10
+ @media (min-width: 1400px) {
11
+ .container {
12
+ max-width: 1250px;
13
+ }
14
+ }
15
+
16
+ main {
17
+ .main-header {
18
+ margin-top: 55px;
19
+ margin-bottom: 30px;
20
+
21
+ @include respond-to(mobile-large) {
22
+ margin-bottom: 0;
23
+ }
24
+
25
+ h4 {
26
+ font-size: $text-size-50;
27
+ font-weight: 500;
28
+ line-height: 70px;
29
+ }
30
+ }
31
+
32
+ .main-news-header {
33
+ margin-top: 60px;
34
+
35
+ h2 {
36
+ font-size: $text-size-36;
37
+ line-height: 43px;
38
+ }
39
+ }
40
+
41
+ @include respond-to(mobile-large) {
42
+ padding-top: 0;
43
+ margin-bottom: 0;
44
+
45
+ .main-header {
46
+ margin-top: 10px;
47
+
48
+ h4 {
49
+ font-size: $text-size-24;
50
+ line-height: 32px;
51
+ }
52
+ }
53
+
54
+ .main-news-header {
55
+ padding-bottom: 35px;
56
+
57
+ h2 {
58
+ margin-top: 0;
59
+ font-size: $text-size-18;
60
+ line-height: 22px;
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1,3 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
2
+ /* FontAwesome */
3
+ @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
@@ -0,0 +1,31 @@
1
+ @import "sass/abstracts/mixins";
2
+ @import "variables";
3
+
4
+ footer {
5
+ @include respond-to(mobile-large) {
6
+ padding-top: 0;
7
+ }
8
+ .container-dark-background {
9
+ background-color: #262626;
10
+ }
11
+
12
+ .contacts {
13
+ font-size: $text-size-14;
14
+
15
+ a {
16
+ color: $text-white;
17
+ }
18
+
19
+ p, span {
20
+ color: $text-white;
21
+ }
22
+ }
23
+
24
+ .indent-inner {
25
+ padding: 65px;
26
+
27
+ @include respond-to(mobile-large) {
28
+ padding: 40px 0;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,51 @@
1
+ @import "sass/abstracts/vars/colors";
2
+ @import "sass/abstracts/mixins";
3
+ @import "variables";
4
+
5
+ .prod-mode {
6
+ #header {
7
+ display: flex;
8
+
9
+ @include respond-to(mobile-large) {
10
+ padding-bottom: 0;
11
+ sc-placeholder {
12
+ flex-direction: column-reverse;
13
+ }
14
+ }
15
+ }
16
+ }
17
+
18
+ header {
19
+ #header {
20
+ .bs-title {
21
+ padding-left: 50px;
22
+
23
+ h1 {
24
+ font-size: $text-size-24;
25
+ font-weight: 600;
26
+ line-height: 18px;
27
+ padding-top: 40px;
28
+ margin: 0;
29
+ }
30
+ }
31
+
32
+ @include respond-to(mobile-large) {
33
+ padding-bottom: 0;
34
+ padding-top: 0;
35
+ flex-direction: column-reverse;
36
+
37
+ .bs-title {
38
+ padding-left: 0;
39
+ text-align: center;
40
+ margin-top: -5px;
41
+
42
+ h1 {
43
+ font-weight: 500;
44
+ line-height: 29px;
45
+ padding-top: 0;
46
+ margin-bottom: 10px;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,150 @@
1
+ @import "sass/abstracts/vars";
2
+ @import "variables";
3
+
4
+ $hamburger-width: 28px;
5
+ $hamburger-height: 18px;
6
+ $border-size: 6px;
7
+ $hamburger-margin: 18px;
8
+
9
+ .navigation {
10
+ .menu-mobile-navigate-wrapper {
11
+ width: 100%;
12
+ }
13
+ }
14
+
15
+ .navigation.navigation-horizontal {
16
+ width: 100%;
17
+ padding-right: 70px;
18
+ margin-top: -15px;
19
+
20
+ .menu-mobile-navigate {
21
+ display: none;
22
+ }
23
+
24
+ @include respond-to(mobile-large) {
25
+ padding-right: 0;
26
+ }
27
+
28
+ .component-content {
29
+ display: inline-block;
30
+
31
+ @include respond-to(mobile-large) {
32
+ display: none;
33
+ }
34
+
35
+ ul.clearfix {
36
+ list-style: none;
37
+ }
38
+ .level0 {
39
+ display: flex;
40
+ }
41
+
42
+ .level0, .level1 {
43
+ float: left;
44
+ margin-left: 30px;
45
+
46
+ >.navigation-title {
47
+ >a {
48
+ border-width: 0;
49
+ font-size: $text-size-14;
50
+ font-weight: 400;
51
+ }
52
+ }
53
+ }
54
+ }
55
+
56
+ @include respond-to(mobile-large) {
57
+ .component-content {
58
+ display: none;
59
+ position: fixed;
60
+ top: 0;
61
+ bottom: 0;
62
+ right: 0;
63
+ left: 0;
64
+ background-color: $bg-black-active;
65
+ z-index: 1;
66
+
67
+ * {
68
+ text-align: center !important;
69
+ }
70
+
71
+ nav {
72
+ padding-top: 110px;
73
+
74
+ .level0 {
75
+ display: block;
76
+ }
77
+ }
78
+
79
+ ul {
80
+ margin: 0;
81
+ padding: 0;
82
+ }
83
+
84
+ .level0, .level1 {
85
+ float: unset;
86
+ margin-left: 0;
87
+ >.navigation-title {
88
+ >a {
89
+ font-size: $text-size-30;
90
+ line-height: 90px;
91
+ >span {
92
+ color: $text-white;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ .menu-mobile-navigate-wrapper {
100
+ .menu-mobile-navigate {
101
+ display: inline-block;
102
+ z-index: 2;
103
+ position: absolute;
104
+ right: $hamburger-margin;
105
+ top: $hamburger-margin;
106
+ height: $hamburger-width;
107
+ width: $hamburger-width;
108
+ opacity: 0;
109
+
110
+ &:checked ~ {
111
+ .menu-humburger {
112
+ &::before {
113
+ content: "\00d7";
114
+ color: $text-basic-active;
115
+ font-size: $text-size-48;
116
+ position: fixed;
117
+ top: 0;
118
+ right: 0;
119
+ margin-top: calc($hamburger-margin + ($hamburger-margin / 2));
120
+ margin-right: $hamburger-margin;
121
+ line-height: 0;
122
+ border: 0;
123
+ }
124
+ }
125
+
126
+ .component-content {
127
+ position: fixed;
128
+ display: inline-block;
129
+ }
130
+ }
131
+ }
132
+
133
+ .menu-humburger {
134
+ &::before {
135
+ content: "";
136
+ width: $hamburger-width;
137
+ height: $hamburger-height;
138
+ margin-right: $hamburger-margin;
139
+ margin-top: calc($hamburger-margin + ($hamburger-margin / 2)) + 8px;
140
+ display: block;
141
+ border-top: 6px solid $bg-black;
142
+ border-bottom: 6px solid $bg-black;
143
+ float: right;
144
+ z-index: 99;
145
+ cursor: pointer;
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
@@ -0,0 +1,58 @@
1
+ @import "sass/abstracts/vars";
2
+ @import "sass/abstracts/mixins";
3
+ /**PROMO**/
4
+
5
+ .promo {
6
+ &.main-promo-no-border {
7
+ padding-left: 0;
8
+ padding-right: 0;
9
+ padding-bottom: 0;
10
+ margin-bottom: 80px;
11
+
12
+ @include respond-to(mobile-large) {
13
+ margin-bottom: 0;
14
+ }
15
+
16
+ >.component-content {
17
+ border: 0;
18
+ max-width: 583px;
19
+ margin-right: 50px;
20
+
21
+ > div {
22
+ padding-bottom: 0;
23
+ }
24
+
25
+ @include respond-to(mobile-large) {
26
+ max-width: 100%;
27
+ margin-right: 0;
28
+ }
29
+
30
+ .promo-text {
31
+ .field-promotext {
32
+ font-size: 14px;
33
+
34
+ h3 {
35
+ font-size: $text-size-18;
36
+ margin: 15px 0;
37
+
38
+ @include respond-to(mobile-large) {
39
+ margin: 10px 0;
40
+ }
41
+ }
42
+ p {
43
+ margin: 10px 0;
44
+ }
45
+ }
46
+ }
47
+ @include respond-to(mobile-large) {
48
+ > div {
49
+ padding: 0;
50
+ }
51
+
52
+ .promo-text {
53
+ padding: 15px 30px 5px 30px;
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,11 @@
1
+ @import "sass/abstracts/vars";
2
+ @import "variables";
3
+
4
+ .rich-text {
5
+ font-size: $text-size-16;
6
+
7
+ @include respond-to(mobile-large) {
8
+ padding: 0 30px 10px 30px;
9
+ font-size: $text-size-14;
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ $text-size-14: 14px;
2
+ $text-size-16: 16px;
3
+ $text-size-18: 18px;
4
+ $text-size-24: 24px;
5
+ $text-size-30: 30px;
6
+ $text-size-36: 36px;
7
+ $text-size-48: 48px;
8
+ $text-size-50: 50px;
9
+
10
+ $main-color: #27272A;
@@ -0,0 +1,8 @@
1
+ @import "fonts";
2
+ @import "container";
3
+ @import "header";
4
+ @import "promo";
5
+ @import "navigation";
6
+ @import "component";
7
+ @import "rich-text";
8
+ @import "footer";
@@ -0,0 +1,14 @@
1
+ @import "basic/fonts";
2
+ @import "bootstrap/scss/bootstrap";
3
+ @import "sass/main.scss";
4
+ @import "basic/main.scss";
5
+
6
+ sc-placeholder {
7
+ display: flex;
8
+ flex-direction: column;
9
+ flex-grow: 1;
10
+
11
+ &.row {
12
+ flex-direction: row;
13
+ }
14
+ }
@@ -0,0 +1,103 @@
1
+ html {
2
+ font-size: 62.5%;
3
+ -webkit-font-smoothing: antialiased;
4
+ -moz-osx-font-smoothing: grayscale;
5
+ margin-bottom: 0px;
6
+ height: auto !important;
7
+ }
8
+
9
+ body {
10
+ @include opensans-font-stack();
11
+ position: relative;
12
+ overflow: auto;
13
+ color: $text-basic;
14
+ font-size: 16px;
15
+ line-height: 1.5;
16
+ background: $page-bg;
17
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
18
+ height: auto !important;
19
+ &.on-page-editor {
20
+ background: $page-bg-editor !important;
21
+ }
22
+ }
23
+
24
+ a {
25
+ color: $text-basic;
26
+ cursor: pointer;
27
+ font-size: 0.85em;
28
+ &:hover {
29
+ color: $text-basic-active;
30
+ }
31
+ }
32
+
33
+ h1,
34
+ h2,
35
+ h3,
36
+ h4,
37
+ h5,
38
+ h6 {
39
+ font-weight: bold;
40
+ }
41
+
42
+ h1 {
43
+ font-size: 2em;
44
+ }
45
+
46
+ h2 {
47
+ font-size: 1.5em;
48
+ }
49
+
50
+ h3 {
51
+ font-size: 1.2em;
52
+ }
53
+
54
+ h4 {
55
+ font-size: 1em;
56
+ }
57
+
58
+ h5 {
59
+ font-size: 0.83em;
60
+ }
61
+
62
+ h6 {
63
+ font-size: 0.67em;
64
+ }
65
+
66
+ ul li {
67
+ list-style-type: none;
68
+ }
69
+
70
+ .xa-variable {
71
+ border: 0px;
72
+ padding: 1px;
73
+ margin: 0px;
74
+ background-color: #ebebe4;
75
+ color: #545454;
76
+ user-select: none;
77
+ pointer-events: none;
78
+ }
79
+
80
+ //Navigation Bar fix
81
+ #breadcrumbMenuSubcontrol_context_menu * {
82
+ box-sizing: initial;
83
+ }
84
+
85
+ //End navigation bar fix
86
+ .menu-mobile-navigate {
87
+ display: none;
88
+ }
89
+
90
+ #header, #content, #footer, .sc-jss-empty-placeholder {
91
+ width: 100%;
92
+ display: flex;
93
+ flex-wrap: wrap;
94
+ position: relative;
95
+ }
96
+
97
+ .sc-jss-placeholder-error {
98
+ background: #ff0000;
99
+ outline: 5px solid #e36565;
100
+ padding: 10px;
101
+ color:#fff;
102
+ max-width: 500px;
103
+ }