generator-white-label 3.2.0 → 5.0.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 (253) hide show
  1. package/README.md +140 -81
  2. package/app/README.md +19 -0
  3. package/app/assets/font/opensans/stylesheet.css +20 -60
  4. package/app/assets/image/demo/fallback.avif +0 -0
  5. package/app/assets/image/demo/fallback.jpg +0 -0
  6. package/app/assets/image/demo/fallback.webp +0 -0
  7. package/app/assets/image/demo/large.avif +0 -0
  8. package/app/assets/image/demo/large.webp +0 -0
  9. package/app/assets/image/demo/small.avif +0 -0
  10. package/app/assets/image/demo/small.webp +0 -0
  11. package/app/assets/markup/element/iframe.hbs +4 -1
  12. package/app/assets/markup/element/img.hbs +16 -1
  13. package/app/assets/markup/element/picture.hbs +30 -0
  14. package/app/assets/markup/modal/modal-example-1.handlebars +1 -1
  15. package/app/assets/script/api/{facebook.js → facebook.ts} +17 -12
  16. package/app/assets/script/api/youtube.ts +22 -0
  17. package/app/assets/script/index.ts +2 -0
  18. package/app/assets/script/mediator/global.ts +4 -0
  19. package/app/assets/script/model/singletons/countries.ts +5 -0
  20. package/app/assets/script/model/singletons/global.ts +5 -0
  21. package/app/assets/script/model/singletons/states.ts +5 -0
  22. package/app/assets/script/model/user.ts +4 -0
  23. package/app/assets/script/toolkit.ts +11 -0
  24. package/app/assets/script/types.d.ts +16 -0
  25. package/app/assets/script/utility/ajax.ts +15 -0
  26. package/app/assets/script/utility/form.ts +119 -0
  27. package/app/assets/script/utility/{regex.js → regex.ts} +15 -6
  28. package/app/assets/script/utility/share.ts +77 -0
  29. package/app/assets/script/utility/string.ts +148 -0
  30. package/app/assets/script/view/default.tsx +14 -0
  31. package/app/assets/script/view/toolkit/youtube-player-1.ts +31 -0
  32. package/app/assets/style/base/_toolkit.scss +25 -25
  33. package/app/assets/style/base/components/_modal-1.scss +8 -3
  34. package/app/assets/style/base/components/_tabpanel-1.scss +21 -16
  35. package/app/assets/style/base/components/_tabpanel-2.scss +11 -6
  36. package/app/assets/style/base/components/_youtube-player-1.scss +3 -2
  37. package/app/assets/style/base/elements/_anchors.scss +2 -0
  38. package/app/assets/style/base/elements/_buttons.scss +7 -3
  39. package/app/assets/style/base/elements/_fieldsets.scss +2 -0
  40. package/app/assets/style/base/elements/_inputs.scss +6 -2
  41. package/app/assets/style/base/elements/_labels.scss +2 -0
  42. package/app/assets/style/base/elements/_legends.scss +2 -0
  43. package/app/assets/style/base/elements/_lists.scss +2 -0
  44. package/app/assets/style/base/elements/_tables.scss +10 -6
  45. package/app/assets/style/base/layouts/_staggered-1.scss +4 -1
  46. package/app/assets/style/base/type/_fonts.scss +4 -1
  47. package/app/assets/style/base/type/_headings.scss +3 -0
  48. package/app/assets/style/base/type/_text.scss +2 -0
  49. package/app/assets/style/base/utilities/_accessibility.scss +5 -2
  50. package/app/assets/style/base/utilities/_functions.scss +62 -9
  51. package/app/assets/style/global.scss +4 -11
  52. package/app/assets/style/print.scss +1 -4
  53. package/app/assets/style/toolkit.scss +37 -37
  54. package/app/package.json +1 -0
  55. package/app/toolkit/colors.hbs +11 -11
  56. package/app/toolkit/components.hbs +16 -16
  57. package/app/toolkit/elements.hbs +52 -43
  58. package/app/toolkit/grids.hbs +111 -111
  59. package/app/toolkit/icons.hbs +2 -2
  60. package/app/toolkit/index.hbs +6 -6
  61. package/app/toolkit/type.hbs +4 -4
  62. package/dist/app/assets/data/coutries.json +992 -0
  63. package/dist/app/assets/data/states.json +204 -0
  64. package/dist/app/assets/script/api/facebook.d.ts +8 -0
  65. package/dist/app/assets/script/api/facebook.js +42 -0
  66. package/dist/app/assets/script/api/facebook.js.map +1 -0
  67. package/dist/app/assets/script/api/youtube.d.ts +8 -0
  68. package/dist/app/assets/script/api/youtube.js +22 -0
  69. package/dist/app/assets/script/api/youtube.js.map +1 -0
  70. package/dist/app/assets/script/index.d.ts +2 -0
  71. package/dist/app/assets/script/index.js +2 -0
  72. package/dist/app/assets/script/index.js.map +1 -0
  73. package/dist/app/assets/script/mediator/global.d.ts +4 -0
  74. package/dist/app/assets/script/mediator/global.js +4 -0
  75. package/dist/app/assets/script/mediator/global.js.map +1 -0
  76. package/dist/app/assets/script/model/singletons/countries.d.ts +20 -0
  77. package/dist/app/assets/script/model/singletons/countries.js +5 -0
  78. package/dist/app/assets/script/model/singletons/countries.js.map +1 -0
  79. package/dist/app/assets/script/model/singletons/global.d.ts +20 -0
  80. package/dist/app/assets/script/model/singletons/global.js +5 -0
  81. package/dist/app/assets/script/model/singletons/global.js.map +1 -0
  82. package/dist/app/assets/script/model/singletons/states.d.ts +20 -0
  83. package/dist/app/assets/script/model/singletons/states.js +5 -0
  84. package/dist/app/assets/script/model/singletons/states.js.map +1 -0
  85. package/dist/app/assets/script/model/user.d.ts +4 -0
  86. package/dist/app/assets/script/model/user.js +6 -0
  87. package/dist/app/assets/script/model/user.js.map +1 -0
  88. package/dist/app/assets/script/toolkit.d.ts +1 -0
  89. package/dist/app/assets/script/toolkit.js +7 -0
  90. package/dist/app/assets/script/toolkit.js.map +1 -0
  91. package/dist/app/assets/script/utility/ajax.d.ts +8 -0
  92. package/dist/app/assets/script/utility/ajax.js +17 -0
  93. package/dist/app/assets/script/utility/ajax.js.map +1 -0
  94. package/dist/app/assets/script/utility/form.d.ts +64 -0
  95. package/dist/app/assets/script/utility/form.js +111 -0
  96. package/dist/app/assets/script/utility/form.js.map +1 -0
  97. package/dist/app/assets/script/utility/regex.d.ts +14 -0
  98. package/dist/app/assets/script/utility/regex.js +27 -0
  99. package/dist/app/assets/script/utility/regex.js.map +1 -0
  100. package/dist/app/assets/script/utility/share.d.ts +68 -0
  101. package/dist/app/assets/script/utility/share.js +81 -0
  102. package/dist/app/assets/script/utility/share.js.map +1 -0
  103. package/dist/app/assets/script/utility/string.d.ts +64 -0
  104. package/dist/app/assets/script/utility/string.js +135 -0
  105. package/dist/app/assets/script/utility/string.js.map +1 -0
  106. package/dist/app/assets/script/view/default.d.ts +11 -0
  107. package/dist/app/assets/script/view/default.js +15 -0
  108. package/dist/app/assets/script/view/default.js.map +1 -0
  109. package/dist/app/assets/script/view/toolkit/youtube-player-1.d.ts +23 -0
  110. package/dist/app/assets/script/view/toolkit/youtube-player-1.js +32 -0
  111. package/dist/app/assets/script/view/toolkit/youtube-player-1.js.map +1 -0
  112. package/dist/generators/app/index.d.ts +18 -0
  113. package/dist/generators/app/index.js +59 -0
  114. package/dist/generators/app/index.js.map +1 -0
  115. package/dist/scripts/build.d.ts +22 -0
  116. package/dist/scripts/build.js +158 -0
  117. package/dist/scripts/build.js.map +1 -0
  118. package/generators/app/index.js +2 -43
  119. package/generators/app/index.ts +61 -0
  120. package/package.json +79 -129
  121. package/scripts/build.ts +175 -0
  122. package/tsconfig.site.json +26 -0
  123. package/.babelrc +0 -14
  124. package/.editorconfig +0 -13
  125. package/.eslintrc +0 -64
  126. package/.htmllintrc +0 -6
  127. package/.sass-lint.yml +0 -16
  128. package/.travis.yml +0 -18
  129. package/app/assets/font/opensans/generator_config.txt +0 -5
  130. package/app/assets/font/opensans/opensans-bold-webfont.eot +0 -0
  131. package/app/assets/font/opensans/opensans-bold-webfont.svg +0 -1824
  132. package/app/assets/font/opensans/opensans-bold-webfont.ttf +0 -0
  133. package/app/assets/font/opensans/opensans-bold-webfont.woff +0 -0
  134. package/app/assets/font/opensans/opensans-bolditalic-webfont.eot +0 -0
  135. package/app/assets/font/opensans/opensans-bolditalic-webfont.svg +0 -1824
  136. package/app/assets/font/opensans/opensans-bolditalic-webfont.ttf +0 -0
  137. package/app/assets/font/opensans/opensans-bolditalic-webfont.woff +0 -0
  138. package/app/assets/font/opensans/opensans-extrabold-webfont.eot +0 -0
  139. package/app/assets/font/opensans/opensans-extrabold-webfont.svg +0 -1824
  140. package/app/assets/font/opensans/opensans-extrabold-webfont.ttf +0 -0
  141. package/app/assets/font/opensans/opensans-extrabold-webfont.woff +0 -0
  142. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.eot +0 -0
  143. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.svg +0 -1824
  144. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.ttf +0 -0
  145. package/app/assets/font/opensans/opensans-extrabolditalic-webfont.woff +0 -0
  146. package/app/assets/font/opensans/opensans-italic-webfont.eot +0 -0
  147. package/app/assets/font/opensans/opensans-italic-webfont.svg +0 -1824
  148. package/app/assets/font/opensans/opensans-italic-webfont.ttf +0 -0
  149. package/app/assets/font/opensans/opensans-italic-webfont.woff +0 -0
  150. package/app/assets/font/opensans/opensans-light-webfont.eot +0 -0
  151. package/app/assets/font/opensans/opensans-light-webfont.svg +0 -1824
  152. package/app/assets/font/opensans/opensans-light-webfont.ttf +0 -0
  153. package/app/assets/font/opensans/opensans-light-webfont.woff +0 -0
  154. package/app/assets/font/opensans/opensans-lightitalic-webfont.eot +0 -0
  155. package/app/assets/font/opensans/opensans-lightitalic-webfont.svg +0 -1824
  156. package/app/assets/font/opensans/opensans-lightitalic-webfont.ttf +0 -0
  157. package/app/assets/font/opensans/opensans-lightitalic-webfont.woff +0 -0
  158. package/app/assets/font/opensans/opensans-regular-webfont.eot +0 -0
  159. package/app/assets/font/opensans/opensans-regular-webfont.svg +0 -1824
  160. package/app/assets/font/opensans/opensans-regular-webfont.ttf +0 -0
  161. package/app/assets/font/opensans/opensans-regular-webfont.woff +0 -0
  162. package/app/assets/font/opensans/opensans-semibold-webfont.eot +0 -0
  163. package/app/assets/font/opensans/opensans-semibold-webfont.svg +0 -1824
  164. package/app/assets/font/opensans/opensans-semibold-webfont.ttf +0 -0
  165. package/app/assets/font/opensans/opensans-semibold-webfont.woff +0 -0
  166. package/app/assets/font/opensans/opensans-semibolditalic-webfont.eot +0 -0
  167. package/app/assets/font/opensans/opensans-semibolditalic-webfont.svg +0 -1824
  168. package/app/assets/font/opensans/opensans-semibolditalic-webfont.ttf +0 -0
  169. package/app/assets/font/opensans/opensans-semibolditalic-webfont.woff +0 -0
  170. package/app/assets/font/opensans/specimen_files/grid_12-825-55-15.css +0 -129
  171. package/app/assets/font/opensans/specimen_files/specimen_stylesheet.css +0 -396
  172. package/app/assets/image/demo/large.jpg +0 -0
  173. package/app/assets/image/demo/medium.jpg +0 -0
  174. package/app/assets/image/demo/small.jpg +0 -0
  175. package/app/assets/image/demo/xlarge.jpg +0 -0
  176. package/app/assets/image/demo/xxlarge.jpg +0 -0
  177. package/app/assets/script/api/youtube.js +0 -18
  178. package/app/assets/script/index.js +0 -6
  179. package/app/assets/script/mediator/global.js +0 -5
  180. package/app/assets/script/model/singletons/countries.js +0 -6
  181. package/app/assets/script/model/singletons/global.js +0 -6
  182. package/app/assets/script/model/singletons/states.js +0 -6
  183. package/app/assets/script/model/user.js +0 -5
  184. package/app/assets/script/toolkit.js +0 -12
  185. package/app/assets/script/utility/ajax.js +0 -11
  186. package/app/assets/script/utility/form.js +0 -86
  187. package/app/assets/script/utility/share.js +0 -52
  188. package/app/assets/script/utility/string.js +0 -70
  189. package/app/assets/script/view/default.js +0 -11
  190. package/app/assets/script/view/toolkit/youtube-player-1.js +0 -17
  191. package/app/assets/style/base/vendor/_foundation.scss +0 -2
  192. package/app/assets/test/spec/shareSpec.js +0 -137
  193. package/app/index.html +0 -40
  194. package/app/report/istanbul/base.css +0 -213
  195. package/app/report/istanbul/prettify.css +0 -1
  196. package/app/report/istanbul/prettify.js +0 -1
  197. package/app/report/istanbul/sort-arrow-sprite.png +0 -0
  198. package/app/report/istanbul/sorter.js +0 -158
  199. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.eot +0 -0
  200. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.svg +0 -288
  201. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.ttf +0 -0
  202. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff +0 -0
  203. package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
  204. package/app/report/jsdoc/img/glyphicons-halflings-white.png +0 -0
  205. package/app/report/jsdoc/img/glyphicons-halflings.png +0 -0
  206. package/app/report/jsdoc/scripts/docstrap.lib.js +0 -11
  207. package/app/report/jsdoc/scripts/fulltext-search-ui.js +0 -89
  208. package/app/report/jsdoc/scripts/fulltext-search.js +0 -36
  209. package/app/report/jsdoc/scripts/lunr.min.js +0 -6
  210. package/app/report/jsdoc/scripts/prettify/Apache-License-2.0.txt +0 -202
  211. package/app/report/jsdoc/scripts/prettify/jquery.min.js +0 -6
  212. package/app/report/jsdoc/scripts/prettify/lang-css.js +0 -21
  213. package/app/report/jsdoc/scripts/prettify/prettify.js +0 -496
  214. package/app/report/jsdoc/scripts/sunlight.js +0 -1157
  215. package/app/report/jsdoc/scripts/toc.js +0 -203
  216. package/app/report/jsdoc/styles/darkstrap.css +0 -960
  217. package/app/report/jsdoc/styles/prettify-tomorrow.css +0 -132
  218. package/app/report/jsdoc/styles/site.cerulean.css +0 -7008
  219. package/app/report/jsdoc/styles/site.cosmo.css +0 -7061
  220. package/app/report/jsdoc/styles/site.cyborg.css +0 -7048
  221. package/app/report/jsdoc/styles/site.darkly.css +0 -7171
  222. package/app/report/jsdoc/styles/site.darkstrap.css +0 -5638
  223. package/app/report/jsdoc/styles/site.dibs-bootstrap.css +0 -5899
  224. package/app/report/jsdoc/styles/site.flatly.css +0 -7147
  225. package/app/report/jsdoc/styles/site.journal.css +0 -6973
  226. package/app/report/jsdoc/styles/site.lumen.css +0 -7298
  227. package/app/report/jsdoc/styles/site.paper.css +0 -7623
  228. package/app/report/jsdoc/styles/site.readable.css +0 -6997
  229. package/app/report/jsdoc/styles/site.sandstone.css +0 -7035
  230. package/app/report/jsdoc/styles/site.simplex.css +0 -7023
  231. package/app/report/jsdoc/styles/site.slate.css +0 -7343
  232. package/app/report/jsdoc/styles/site.spacelab.css +0 -7055
  233. package/app/report/jsdoc/styles/site.superhero.css +0 -7131
  234. package/app/report/jsdoc/styles/site.united.css +0 -6895
  235. package/app/report/jsdoc/styles/site.yeti.css +0 -7195
  236. package/app/report/jsdoc/styles/sunlight.dark.css +0 -345
  237. package/app/report/jsdoc/styles/sunlight.default.css +0 -344
  238. package/gulp/config.js +0 -224
  239. package/gulp/tasks/accessibility.js +0 -34
  240. package/gulp/tasks/build.js +0 -19
  241. package/gulp/tasks/clean.js +0 -34
  242. package/gulp/tasks/data.js +0 -22
  243. package/gulp/tasks/default.js +0 -9
  244. package/gulp/tasks/deploy.js +0 -225
  245. package/gulp/tasks/documentation.js +0 -25
  246. package/gulp/tasks/markup.js +0 -121
  247. package/gulp/tasks/script.js +0 -92
  248. package/gulp/tasks/style.js +0 -42
  249. package/gulp/tasks/unit.js +0 -38
  250. package/gulp/tasks/watch.js +0 -83
  251. package/gulpfile.js +0 -8
  252. package/jsdoc.json +0 -23
  253. package/karma.conf.js +0 -58
@@ -1,3 +1,8 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+ @use 'tabpanel-base-1' as *;
4
+ @use '../type/text' as *;
5
+
1
6
  // ## tabpanel-1
2
7
 
3
8
  %tabpanel-1 {
@@ -18,12 +23,12 @@
18
23
 
19
24
  @extend %text-1;
20
25
 
21
- background-color: $white-1;
22
- border-bottom: rem-calc(1) solid $white-1;
23
- border-left: rem-calc(1) solid $black-1;
24
- border-right: rem-calc(1) solid $black-1;
25
- border-top: rem-calc(1) solid $black-1;
26
- color: $black-1;
26
+ background-color: colors.$white-1;
27
+ border-bottom: rem-calc(1) solid colors.$white-1;
28
+ border-left: rem-calc(1) solid colors.$black-1;
29
+ border-right: rem-calc(1) solid colors.$black-1;
30
+ border-top: rem-calc(1) solid colors.$black-1;
31
+ color: colors.$black-1;
27
32
  display: block;
28
33
  float: left;
29
34
  list-style: none;
@@ -32,9 +37,9 @@
32
37
  text-decoration: none;
33
38
 
34
39
  &[aria-selected='false'] {
35
- background-color: $black-1;
36
- border-bottom-color: $black-1;
37
- color: $white-1;
40
+ background-color: colors.$black-1;
41
+ border-bottom-color: colors.$black-1;
42
+ color: colors.$white-1;
38
43
  }
39
44
 
40
45
  }
@@ -42,7 +47,7 @@
42
47
  }
43
48
 
44
49
  > [role='tabpanel'] {
45
- border: rem-calc(1) solid $black-1;
50
+ border: rem-calc(1) solid colors.$black-1;
46
51
  margin-top: rem-calc(-1);
47
52
  padding: rem-calc(10);
48
53
  }
@@ -62,7 +67,7 @@
62
67
 
63
68
  @include clearfix;
64
69
 
65
- border: rem-calc(1) solid $black-1;
70
+ border: rem-calc(1) solid colors.$black-1;
66
71
  margin: 0;
67
72
  padding: 0;
68
73
 
@@ -70,9 +75,9 @@
70
75
 
71
76
  @extend %text-1;
72
77
 
73
- background-color: $grey-5;
74
- border-bottom: rem-calc(1) solid $black-1;
75
- color: $black-1;
78
+ background-color: colors.$grey-5;
79
+ border-bottom: rem-calc(1) solid colors.$black-1;
80
+ color: colors.$black-1;
76
81
  display: block;
77
82
  list-style: none;
78
83
  margin: 0 rem-calc(1) 0 0;
@@ -81,9 +86,9 @@
81
86
  width: 100%;
82
87
 
83
88
  &[aria-selected='false'] {
84
- background-color: $black-1;
89
+ background-color: colors.$black-1;
85
90
  border: 0;
86
- color: $white-1;
91
+ color: colors.$white-1;
87
92
  }
88
93
 
89
94
  }
@@ -1,3 +1,8 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+ @use 'tabpanel-base-1' as *;
4
+ @use '../type/text' as *;
5
+
1
6
  // ## tabpanel-2
2
7
 
3
8
  %tabpanel-2 {
@@ -11,7 +16,7 @@
11
16
 
12
17
  @include clearfix;
13
18
 
14
- border: rem-calc(1) solid $black-1;
19
+ border: rem-calc(1) solid colors.$black-1;
15
20
  margin: 0;
16
21
  padding: 0;
17
22
 
@@ -19,9 +24,9 @@
19
24
 
20
25
  @extend %text-1;
21
26
 
22
- background-color: $grey-5;
23
- border-bottom: rem-calc(1) solid $black-1;
24
- color: $black-1;
27
+ background-color: colors.$grey-5;
28
+ border-bottom: rem-calc(1) solid colors.$black-1;
29
+ color: colors.$black-1;
25
30
  display: block;
26
31
  list-style: none;
27
32
  margin: 0 rem-calc(1) 0 0;
@@ -30,9 +35,9 @@
30
35
  width: 100%;
31
36
 
32
37
  &[aria-selected='false'] {
33
- background-color: $black-1;
38
+ background-color: colors.$black-1;
34
39
  border: 0;
35
- color: $white-1;
40
+ color: colors.$white-1;
36
41
  }
37
42
 
38
43
  }
@@ -1,9 +1,10 @@
1
+ @use '../utilities/functions' as *;
2
+
1
3
  // ### youtube-video-1
2
4
 
3
5
  %youtube-player-1 {
4
6
 
5
- //include from foundation
6
- //http://foundation.zurb.com/sites/docs/flex-video.html
7
+ // Keep embedded videos responsive without depending on framework Sass mixins.
7
8
  @include responsive-embed;
8
9
 
9
10
  margin: 0;
@@ -1,3 +1,5 @@
1
+ @use '../type/text' as *;
2
+
1
3
  %anchor-base-1 {
2
4
 
3
5
  @extend %text-1;
@@ -1,3 +1,7 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+ @use '../type/text' as *;
4
+
1
5
  %button-base-1 {
2
6
 
3
7
  @extend %text-1;
@@ -13,9 +17,9 @@
13
17
 
14
18
  @extend %button-base-1;
15
19
 
16
- background-color: $black-1;
17
- border: rem-calc(1) solid $black-1;
18
- color: $white-1;
20
+ background-color: colors.$black-1;
21
+ border: rem-calc(1) solid colors.$black-1;
22
+ color: colors.$white-1;
19
23
  padding: 0 rem-calc(13.5);
20
24
 
21
25
  }
@@ -1,3 +1,5 @@
1
+ @use '../type/text' as *;
2
+
1
3
  %fieldset-1 {
2
4
 
3
5
  @extend %text-1;
@@ -1,3 +1,7 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+ @use '../type/text' as *;
4
+
1
5
  %input-base-1 {
2
6
 
3
7
  @extend %text-1;
@@ -19,8 +23,8 @@
19
23
 
20
24
  @extend %input-base-1;
21
25
 
22
- background-color: $red-1;
23
- color: $white-1;
26
+ background-color: colors.$red-1;
27
+ color: colors.$white-1;
24
28
  font-weight: 700;
25
29
  margin-top: rem-calc(5);
26
30
  padding: rem-calc(10);
@@ -1,3 +1,5 @@
1
+ @use '../type/text' as *;
2
+
1
3
  %label-base-1 {
2
4
 
3
5
  @extend %text-1;
@@ -1,3 +1,5 @@
1
+ @use '../type/headings' as *;
2
+
1
3
  // ## labels
2
4
 
3
5
  %legend-1 {
@@ -1,3 +1,5 @@
1
+ @use '../type/text' as *;
2
+
1
3
  %list-base-1 {
2
4
 
3
5
  @extend %text-1;
@@ -1,3 +1,7 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+ @use '../type/text' as *;
4
+
1
5
  %table-base-1 {
2
6
 
3
7
  @extend %text-1;
@@ -13,22 +17,22 @@
13
17
 
14
18
  @extend %table-base-1;
15
19
 
16
- border: rem-calc(1) solid $black-1;
20
+ border: rem-calc(1) solid colors.$black-1;
17
21
  width: 80%;
18
22
 
19
23
  thead {
20
- background-color: $black-1;
21
- color: $white-1;
24
+ background-color: colors.$black-1;
25
+ color: colors.$white-1;
22
26
  }
23
27
 
24
28
  tfoot {
25
- background-color: $grey-5;
26
- color: $black-1;
29
+ background-color: colors.$grey-5;
30
+ color: colors.$black-1;
27
31
  }
28
32
 
29
33
  td,
30
34
  th {
31
- border: rem-calc(1) solid $black-1;
35
+ border: rem-calc(1) solid colors.$black-1;
32
36
  padding: rem-calc(10);
33
37
  }
34
38
 
@@ -1,3 +1,6 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+
1
4
  %staggered-1 {
2
5
 
3
6
  > div {
@@ -6,7 +9,7 @@
6
9
  column-gap: 0;
7
10
 
8
11
  > div {
9
- border: rem-calc(2) solid $black-1;
12
+ border: rem-calc(2) solid colors.$black-1;
10
13
  break-inside: avoid;
11
14
  display: inline-block;
12
15
  padding: rem-calc(10);
@@ -1,5 +1,8 @@
1
+ @use "../colors/colors";
2
+ @use '../utilities/functions' as *;
3
+
1
4
  %font-base-1 {
2
- color: $black-1;
5
+ color: colors.$black-1;
3
6
  font-size: rem-calc(16);
4
7
  // sass-lint:disable no-misspelled-properties
5
8
  font-smoothing: antialiased;
@@ -1,3 +1,6 @@
1
+ @use '../utilities/functions' as *;
2
+ @use 'fonts' as *;
3
+
1
4
  %heading-base-1 {
2
5
 
3
6
  @extend %open-sans-bold;
@@ -1,3 +1,5 @@
1
+ @use 'fonts' as *;
2
+
1
3
  %text-base-1 {
2
4
  @extend %open-sans-regular;
3
5
  }
@@ -1,3 +1,6 @@
1
+ @use "../colors/colors";
2
+ @use 'functions' as *;
3
+
1
4
  // ## accessibility hidden text
2
5
  // hide text off screen for sighted users and leave accessible for screen readers
3
6
 
@@ -38,8 +41,8 @@
38
41
 
39
42
  @extend %accessibility-focus-1;
40
43
 
41
- background-color: $white-1;
42
- color: $black-1;
44
+ background-color: colors.$white-1;
45
+ color: colors.$black-1;
43
46
  display: block;
44
47
  padding: rem-calc(10);
45
48
  text-align: center;
@@ -1,31 +1,84 @@
1
+ @use "sass:list";
2
+ @use "sass:math";
3
+ @use "sass:meta";
1
4
  /// Remove the unit of a length
2
5
  /// @param {Number} $number - Number to remove unit from
3
6
  /// @return {Number} - Unitless number
4
7
 
5
8
  $rem-base: 16px;
9
+ $responsive-embed-margin-bottom: 1rem;
10
+
11
+ /// Contain floated children.
12
+ @mixin clearfix {
13
+ &::before,
14
+ &::after {
15
+ content: ' ';
16
+ display: table;
17
+ flex-basis: 0;
18
+ order: 1;
19
+ }
20
+
21
+ &::after {
22
+ clear: both;
23
+ }
24
+ }
25
+
26
+ /// Create a responsive 4:3 media container.
27
+ @mixin responsive-embed {
28
+ height: 0;
29
+ margin-bottom: $responsive-embed-margin-bottom;
30
+ overflow: hidden;
31
+ padding-bottom: 75%;
32
+ position: relative;
33
+
34
+ iframe,
35
+ object,
36
+ embed,
37
+ video {
38
+ height: 100%;
39
+ left: 0;
40
+ position: absolute;
41
+ top: 0;
42
+ width: 100%;
43
+ }
44
+ }
45
+
46
+ /// Apply content at the Bootstrap breakpoints used by the project templates.
47
+ /// @param {String} $query - Supported query: small only, medium up, or large up
48
+ @mixin breakpoint($query) {
49
+ @if $query == (small only) {
50
+ @media print, screen and (max-width: 47.99875em) { @content; }
51
+ } @else if $query == (medium up) {
52
+ @media print, screen and (min-width: 48em) { @content; }
53
+ } @else if $query == (large up) {
54
+ @media print, screen and (min-width: 62em) { @content; }
55
+ } @else {
56
+ @error 'Unsupported breakpoint: #{$query}';
57
+ }
58
+ }
6
59
 
7
60
  @function strip-unit($number) {
8
- @if type-of($number) == 'number' and not unitless($number) {
9
- @return $number / ($number * 0 + 1);
61
+ @if meta.type-of($number) == 'number' and not math.is-unitless($number) {
62
+ @return math.div($number, $number * 0 + 1);
10
63
  }
11
64
 
12
65
  @return $number;
13
66
  }
14
67
 
15
68
  @function convert-to-rem($value, $base-value: $rem-base) {
16
- $value: strip-unit($value) / strip-unit($base-value) * 1rem;
69
+ $value: math.div(strip-unit($value), strip-unit($base-value)) * 1rem;
17
70
  //@if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
18
71
  @return $value;
19
72
  }
20
73
 
21
74
  @function rem-calc($values, $base-value: $rem-base) {
22
- $max: length($values);
75
+ $max: list.length($values);
23
76
 
24
- @if $max == 1 { @return convert-to-rem(nth($values, 1), $base-value); }
77
+ @if $max == 1 { @return convert-to-rem(list.nth($values, 1), $base-value); }
25
78
 
26
79
  $rem-values: ();
27
80
  @for $i from 1 through $max {
28
- $rem-values: append($rem-values, convert-to-rem(nth($values, $i), $base-value));
81
+ $rem-values: list.append($rem-values, convert-to-rem(list.nth($values, $i), $base-value));
29
82
  }
30
83
  @return $rem-values;
31
84
  }
@@ -33,13 +86,13 @@ $rem-base: 16px;
33
86
  @function em-calc($values) {
34
87
  $rem-values: rem-calc($values);
35
88
 
36
- $max: length($rem-values);
89
+ $max: list.length($rem-values);
37
90
 
38
- @if $max == 1 { @return strip-unit(nth($rem-values, 1)) * 1em; }
91
+ @if $max == 1 { @return strip-unit(list.nth($rem-values, 1)) * 1em; }
39
92
 
40
93
  $em-values: ();
41
94
  @for $i from 1 through $max {
42
- $em-values: append($em-values, strip-unit(nth($rem-values, $i)) * 1em);
95
+ $em-values: list.append($em-values, strip-unit(list.nth($rem-values, $i)) * 1em);
43
96
  }
44
97
  @return $em-values;
45
98
  }
@@ -1,19 +1,12 @@
1
1
  @charset 'UTF-8';
2
2
 
3
+ // ## toolkit
4
+ @use 'base/toolkit' as *;
5
+
3
6
  // ## Vendors
4
7
 
5
- // ## foundation
6
- $grid-row-width: 100%;
7
- $breakpoint-classes: (small medium large xlarge);
8
- @import '../../../node_modules/foundation-sites/scss/foundation';
9
- @include foundation-global-styles;
10
- @include foundation-flex-grid;
11
- @include foundation-xy-grid-classes;
12
8
  // ## Define Fonts
13
- @import '../font/opensans/stylesheet';
14
-
15
- // ## toolkit
16
- @import 'base/toolkit';
9
+ @import '../font/opensans/stylesheet.css';
17
10
 
18
11
  //STYLES
19
12
 
@@ -2,8 +2,5 @@
2
2
 
3
3
  // ## Vendors
4
4
 
5
- // ## foundation
6
- @import '../../../node_modules/foundation-sites/scss/foundation';
7
-
8
5
  // ## toolkit
9
- @import 'base/toolkit';
6
+ @use 'base/toolkit' as *;
@@ -1,12 +1,12 @@
1
+ @use "base/colors/colors";
2
+
1
3
  @charset 'UTF-8';
2
4
 
3
5
  // ## Vendors
4
6
 
5
- // ## foundation
6
- @import '../../../node_modules/foundation-sites/scss/foundation';
7
-
8
7
  // ## toolkit
9
- @import 'base/toolkit';
8
+ @use 'base/toolkit' as *;
9
+ @use 'base/utilities/functions' as *;
10
10
 
11
11
  .toolkit {
12
12
 
@@ -76,8 +76,8 @@
76
76
 
77
77
  &-heading-1 {
78
78
 
79
- background-color: $grey-2;
80
- color: $white-1;
79
+ background-color: colors.$grey-2;
80
+ color: colors.$white-1;
81
81
  font-size: rem-calc(22);
82
82
  margin: 0 0 rem-calc(60);
83
83
  padding: rem-calc(87) 0 rem-calc(40);
@@ -102,7 +102,7 @@
102
102
  margin-top: rem-calc(60);
103
103
 
104
104
  span {
105
- color: $grey-3;
105
+ color: colors.$grey-3;
106
106
  }
107
107
 
108
108
  }
@@ -118,14 +118,14 @@
118
118
 
119
119
  &-header-1 {
120
120
 
121
- background-color: $black-1;
121
+ background-color: colors.$black-1;
122
122
  position: fixed;
123
123
  top: 0;
124
124
  width: 100%;
125
125
  z-index: 5;
126
126
 
127
127
  @include breakpoint(medium up) {
128
- background-color: $white-1;
128
+ background-color: colors.$white-1;
129
129
  position: static;
130
130
  }
131
131
 
@@ -136,7 +136,7 @@
136
136
  &:active,
137
137
  &:focus,
138
138
  &:hover {
139
- background-color: $grey-2;
139
+ background-color: colors.$grey-2;
140
140
  }
141
141
 
142
142
  @include breakpoint(medium up) {
@@ -146,7 +146,7 @@
146
146
  }
147
147
 
148
148
  a {
149
- color: $white-1;
149
+ color: colors.$white-1;
150
150
  display: block;
151
151
  font-size: rem-calc(18);
152
152
  font-weight: 700;
@@ -157,18 +157,18 @@
157
157
 
158
158
  &:hover,
159
159
  &:focus {
160
- color: $grey-5;
160
+ color: colors.$grey-5;
161
161
  }
162
162
 
163
163
  @include breakpoint(medium up) {
164
- color: $black-1;
164
+ color: colors.$black-1;
165
165
  font-size: rem-calc(30);
166
166
  line-height: rem-calc(30);
167
167
  margin: rem-calc(52) 0;
168
168
 
169
169
  &:hover,
170
170
  &:focus {
171
- color: $grey-2;
171
+ color: colors.$grey-2;
172
172
  }
173
173
 
174
174
  }
@@ -179,10 +179,10 @@
179
179
 
180
180
  &-nav-1 {
181
181
 
182
- background-color: $black-1;
183
- border-bottom: rem-calc(1) solid $black-1;
184
- border-top: rem-calc(1) solid $black-1;
185
- color: $white-1;
182
+ background-color: colors.$black-1;
183
+ border-bottom: rem-calc(1) solid colors.$black-1;
184
+ border-top: rem-calc(1) solid colors.$black-1;
185
+ color: colors.$white-1;
186
186
  display: none;
187
187
  height: 100%;
188
188
  position: fixed;
@@ -210,8 +210,8 @@
210
210
 
211
211
  a {
212
212
 
213
- background-color: $black-1;
214
- color: $white-1;
213
+ background-color: colors.$black-1;
214
+ color: colors.$white-1;
215
215
  display: inline-block;
216
216
  line-height: rem-calc(45);
217
217
  padding: 0 rem-calc(15);
@@ -222,8 +222,8 @@
222
222
  &.selected,
223
223
  &:hover,
224
224
  &:focus {
225
- background-color: $white-1;
226
- color: $black-1;
225
+ background-color: colors.$white-1;
226
+ color: colors.$black-1;
227
227
  }
228
228
 
229
229
  @include breakpoint(medium up) {
@@ -239,8 +239,8 @@
239
239
  }
240
240
 
241
241
  &[aria-selected='true'] {
242
- background-color: $white-1;
243
- color: $black-1;
242
+ background-color: colors.$white-1;
243
+ color: colors.$black-1;
244
244
  }
245
245
 
246
246
  }
@@ -257,39 +257,39 @@
257
257
  height: rem-calc(125);
258
258
 
259
259
  &.black-1 {
260
- background-color: $black-1;
260
+ background-color: colors.$black-1;
261
261
  }
262
262
 
263
263
  &.grey-1 {
264
- background-color: $grey-1;
264
+ background-color: colors.$grey-1;
265
265
  }
266
266
 
267
267
  &.grey-2 {
268
- background-color: $grey-2;
268
+ background-color: colors.$grey-2;
269
269
  }
270
270
 
271
271
  &.grey-3 {
272
- background-color: $grey-3;
272
+ background-color: colors.$grey-3;
273
273
  }
274
274
 
275
275
  &.grey-4 {
276
- background-color: $grey-4;
276
+ background-color: colors.$grey-4;
277
277
  }
278
278
 
279
279
  &.grey-5 {
280
- background-color: $grey-5;
280
+ background-color: colors.$grey-5;
281
281
  }
282
282
 
283
283
  &.grey-6 {
284
- background-color: $grey-6;
284
+ background-color: colors.$grey-6;
285
285
  }
286
286
 
287
287
  &.white-1 {
288
- background-color: $white-1;
288
+ background-color: colors.$white-1;
289
289
  }
290
290
 
291
291
  &.red-1 {
292
- background-color: $red-1;
292
+ background-color: colors.$red-1;
293
293
  }
294
294
 
295
295
  }
@@ -299,11 +299,11 @@
299
299
  overflow: auto;
300
300
 
301
301
  .row {
302
- background-color: $grey-6;
302
+ background-color: colors.$grey-6;
303
303
  }
304
304
 
305
- .columns {
306
- border: rem-calc(2) $black-1 solid;
305
+ [class*='col-'] {
306
+ border: rem-calc(2) colors.$black-1 solid;
307
307
  padding: rem-calc(10);
308
308
  }
309
309
 
@@ -325,7 +325,7 @@
325
325
 
326
326
  > .panel-content {
327
327
 
328
- color: $white-1;
328
+ color: colors.$white-1;
329
329
  padding-top: 50vh;
330
330
  text-align: center;
331
331
  text-transform: uppercase;
@@ -0,0 +1 @@
1
+ {"private":true,"type":"module"}