newspack-components 3.0.0 → 4.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 (197) hide show
  1. package/colors/colors.module.scss +277 -0
  2. package/copy-styles.js +8 -1
  3. package/dist/cjs/action-card/action-card.d.js +5 -0
  4. package/dist/cjs/action-card/index.js +282 -186
  5. package/dist/cjs/action-card/style.scss +142 -44
  6. package/dist/cjs/autocomplete-tokenfield/index.js +6 -2
  7. package/dist/cjs/box-contrast/index.js +49 -0
  8. package/dist/cjs/button/index.js +1 -1
  9. package/dist/cjs/button-props/button-props.js +41 -0
  10. package/dist/cjs/button-props/index.js +13 -0
  11. package/dist/cjs/color-picker/index.js +11 -0
  12. package/dist/cjs/custom-select-control/style.scss +7 -12
  13. package/dist/cjs/footer/index.js +17 -24
  14. package/dist/cjs/footer/style.scss +0 -36
  15. package/dist/cjs/handoff-message/index.js +0 -3
  16. package/dist/cjs/hooks/useObjectState.js +9 -0
  17. package/dist/cjs/hooks/useObjectState.test.js +6 -6
  18. package/dist/cjs/image-upload/index.test.js +2 -2
  19. package/dist/cjs/index.js +7 -21
  20. package/dist/cjs/modal/index.js +16 -18
  21. package/dist/cjs/modal/style.scss +18 -7
  22. package/dist/cjs/newspack-icon/index.js +2 -2
  23. package/dist/cjs/newspack-icon/style.scss +3 -5
  24. package/dist/cjs/notice/index.js +1 -2
  25. package/dist/cjs/notice/style.scss +11 -9
  26. package/dist/cjs/plugin-installer/index.js +3 -3
  27. package/dist/cjs/plugin-settings/SettingsSection.js +2 -0
  28. package/dist/cjs/plugin-settings/index.js +4 -1
  29. package/dist/cjs/plugin-toggle/index.js +2 -0
  30. package/dist/cjs/popover/style.scss +5 -6
  31. package/dist/cjs/progress-bar/index.test.js +8 -9
  32. package/dist/cjs/progress-bar/style.scss +1 -2
  33. package/dist/cjs/proxied-imports/router.js +1 -2
  34. package/dist/cjs/radio-control/style.scss +8 -11
  35. package/dist/cjs/section-header/index.js +21 -1
  36. package/dist/cjs/select-control/ButtonGroupControl.js +2 -0
  37. package/dist/cjs/settings/SettingsCard.js +2 -6
  38. package/dist/cjs/sortable-newsletter-list-control/index.js +7 -5
  39. package/dist/cjs/sortable-newsletter-list-control/style.scss +11 -1
  40. package/dist/cjs/steps-list/style.scss +0 -3
  41. package/dist/cjs/steps-list-item/style.scss +1 -2
  42. package/dist/cjs/style-card/index.js +1 -0
  43. package/dist/cjs/style-card/style.scss +4 -5
  44. package/dist/cjs/style.scss +15 -0
  45. package/dist/cjs/tabbed-navigation/index.js +17 -7
  46. package/dist/cjs/tabbed-navigation/style.scss +2 -6
  47. package/dist/cjs/utils/color.js +35 -0
  48. package/dist/cjs/web-preview/index.js +1 -1
  49. package/dist/cjs/web-preview/style.scss +11 -11
  50. package/dist/cjs/with-wizard/index.js +80 -3
  51. package/dist/cjs/with-wizard/style.scss +34 -13
  52. package/dist/cjs/with-wizard-screen/index.js +3 -3
  53. package/dist/cjs/with-wizard-screen/style.scss +9 -9
  54. package/dist/cjs/wizard/index.js +38 -13
  55. package/dist/cjs/wizard/store/index.js +13 -5
  56. package/dist/cjs/wizard/store/utils.js +3 -1
  57. package/dist/esm/action-card/action-card.d.js +1 -0
  58. package/dist/esm/action-card/index.js +286 -188
  59. package/dist/esm/action-card/style.scss +142 -44
  60. package/dist/esm/autocomplete-tokenfield/index.js +6 -2
  61. package/dist/esm/box-contrast/index.js +44 -0
  62. package/dist/esm/button/index.js +1 -1
  63. package/dist/esm/button-props/button-props.js +34 -0
  64. package/dist/esm/button-props/index.js +1 -0
  65. package/dist/esm/color-picker/index.js +11 -0
  66. package/dist/esm/custom-select-control/style.scss +7 -12
  67. package/dist/esm/footer/index.js +18 -25
  68. package/dist/esm/footer/style.scss +0 -36
  69. package/dist/esm/handoff-message/index.js +0 -3
  70. package/dist/esm/hooks/useObjectState.js +12 -2
  71. package/dist/esm/hooks/useObjectState.test.js +7 -7
  72. package/dist/esm/hooks/usePrompt.js +2 -2
  73. package/dist/esm/image-upload/index.test.js +2 -2
  74. package/dist/esm/index.js +1 -3
  75. package/dist/esm/modal/index.js +17 -19
  76. package/dist/esm/modal/style.scss +18 -7
  77. package/dist/esm/newspack-icon/index.js +2 -2
  78. package/dist/esm/newspack-icon/style.scss +3 -5
  79. package/dist/esm/notice/index.js +1 -2
  80. package/dist/esm/notice/style.scss +11 -9
  81. package/dist/esm/plugin-installer/index.js +3 -3
  82. package/dist/esm/plugin-settings/SettingsSection.js +2 -0
  83. package/dist/esm/plugin-settings/index.js +4 -1
  84. package/dist/esm/plugin-toggle/index.js +2 -0
  85. package/dist/esm/popover/style.scss +5 -6
  86. package/dist/esm/progress-bar/index.test.js +7 -7
  87. package/dist/esm/progress-bar/style.scss +1 -2
  88. package/dist/esm/radio-control/style.scss +8 -11
  89. package/dist/esm/section-header/index.js +22 -0
  90. package/dist/esm/select-control/ButtonGroupControl.js +2 -0
  91. package/dist/esm/settings/SettingsCard.js +2 -6
  92. package/dist/esm/sortable-newsletter-list-control/index.js +8 -6
  93. package/dist/esm/sortable-newsletter-list-control/style.scss +11 -1
  94. package/dist/esm/steps-list/style.scss +0 -3
  95. package/dist/esm/steps-list-item/style.scss +1 -2
  96. package/dist/esm/style-card/index.js +1 -0
  97. package/dist/esm/style-card/style.scss +4 -5
  98. package/dist/esm/style.scss +15 -0
  99. package/dist/esm/tabbed-navigation/index.js +17 -7
  100. package/dist/esm/tabbed-navigation/style.scss +2 -6
  101. package/dist/esm/utils/color.js +29 -0
  102. package/dist/esm/web-preview/index.js +1 -1
  103. package/dist/esm/web-preview/style.scss +11 -11
  104. package/dist/esm/with-wizard/index.js +81 -4
  105. package/dist/esm/with-wizard/style.scss +34 -13
  106. package/dist/esm/with-wizard-screen/index.js +1 -1
  107. package/dist/esm/with-wizard-screen/style.scss +9 -9
  108. package/dist/esm/wizard/index.js +39 -13
  109. package/dist/esm/wizard/store/index.js +14 -6
  110. package/dist/esm/wizard/store/utils.js +3 -1
  111. package/package.json +2 -2
  112. package/src/accordion/index.js +1 -3
  113. package/src/action-card/action-card.d.ts +40 -0
  114. package/src/action-card/index.js +284 -201
  115. package/src/action-card/style.scss +142 -44
  116. package/src/autocomplete-tokenfield/index.js +3 -2
  117. package/src/autocomplete-with-suggestions/index.js +52 -63
  118. package/src/box-contrast/index.tsx +44 -0
  119. package/src/button/index.tsx +1 -1
  120. package/src/button-card/index.js +1 -12
  121. package/src/card/index.js +1 -11
  122. package/src/category-autocomplete/index.js +4 -19
  123. package/src/color-picker/index.js +11 -7
  124. package/src/custom-select-control/style.scss +7 -12
  125. package/src/footer/index.js +6 -18
  126. package/src/footer/style.scss +0 -36
  127. package/src/form-token-field/index.js +1 -2
  128. package/src/grid/index.tsx +1 -8
  129. package/src/handoff/index.js +4 -11
  130. package/src/handoff-message/index.js +0 -3
  131. package/src/hooks/useObjectState.js +10 -2
  132. package/src/hooks/useObjectState.test.js +14 -14
  133. package/src/image-upload/index.js +3 -23
  134. package/src/index.js +1 -3
  135. package/src/modal/index.js +11 -17
  136. package/src/modal/style.scss +18 -7
  137. package/src/newspack-icon/index.js +3 -14
  138. package/src/newspack-icon/style.scss +3 -5
  139. package/src/notice/index.js +0 -2
  140. package/src/notice/style.scss +11 -9
  141. package/src/plugin-installer/index.js +8 -17
  142. package/src/plugin-settings/SettingsSection.js +3 -7
  143. package/src/plugin-settings/index.js +7 -14
  144. package/src/plugin-toggle/README.md +3 -3
  145. package/src/plugin-toggle/index.js +10 -13
  146. package/src/popover/index.js +1 -5
  147. package/src/popover/style.scss +5 -6
  148. package/src/position-control/index.js +65 -75
  149. package/src/progress-bar/index.js +2 -9
  150. package/src/progress-bar/index.test.js +4 -13
  151. package/src/progress-bar/style.scss +1 -2
  152. package/src/radio-control/style.scss +8 -11
  153. package/src/section-header/index.js +20 -0
  154. package/src/select-control/ButtonGroupControl.js +2 -9
  155. package/src/select-control/GroupedSelectControl.js +1 -9
  156. package/src/select-control/index.js +1 -5
  157. package/src/settings/MinMaxSetting.js +2 -14
  158. package/src/settings/SettingsCard.js +2 -11
  159. package/src/sortable-newsletter-list-control/index.js +10 -26
  160. package/src/sortable-newsletter-list-control/style.scss +11 -1
  161. package/src/steps-list/style.scss +0 -3
  162. package/src/steps-list-item/index.js +1 -4
  163. package/src/steps-list-item/style.scss +1 -2
  164. package/src/style-card/index.js +6 -21
  165. package/src/style-card/style.scss +4 -5
  166. package/src/style.scss +15 -0
  167. package/src/tabbed-navigation/index.js +19 -7
  168. package/src/tabbed-navigation/style.scss +2 -6
  169. package/src/text-control/index.tsx +2 -12
  170. package/src/utils/color.ts +32 -0
  171. package/src/web-preview/style.scss +11 -11
  172. package/src/with-wizard/index.js +67 -16
  173. package/src/with-wizard/style.scss +34 -13
  174. package/src/with-wizard-screen/index.js +1 -1
  175. package/src/with-wizard-screen/style.scss +9 -9
  176. package/src/wizard/components/WizardError.js +2 -7
  177. package/src/wizard/index.js +64 -62
  178. package/src/wizard/store/index.js +8 -10
  179. package/src/wizard/store/utils.js +3 -4
  180. package/dist/cjs/date-range-picker/index.js +0 -39
  181. package/dist/cjs/date-range-picker/style.scss +0 -148
  182. package/dist/cjs/newspack-logo/index.js +0 -54
  183. package/dist/cjs/newspack-logo/style.scss +0 -30
  184. package/dist/cjs/patrons-logo/index.js +0 -77
  185. package/dist/esm/date-range-picker/index.js +0 -31
  186. package/dist/esm/date-range-picker/style.scss +0 -148
  187. package/dist/esm/newspack-logo/index.js +0 -46
  188. package/dist/esm/newspack-logo/style.scss +0 -30
  189. package/dist/esm/patrons-logo/index.js +0 -70
  190. package/shared/scss/_colors.scss +0 -27
  191. package/src/date-range-picker/index.js +0 -31
  192. package/src/date-range-picker/style.scss +0 -148
  193. package/src/newspack-logo/index.js +0 -45
  194. package/src/newspack-logo/style.scss +0 -30
  195. package/src/patrons-logo/index.js +0 -76
  196. /package/{shared/js → src/button-props}/button-props.js +0 -0
  197. /package/{shared/js → src/button-props}/index.js +0 -0
@@ -0,0 +1,277 @@
1
+ /**
2
+ * Newspack Colors
3
+ * A collection of color tokens for Newspack projects
4
+ */
5
+
6
+ @use "sass:color";
7
+
8
+ @function to-rgb($color) {
9
+ @return color.red($color) + ", " + color.green($color) + ", " + color.blue($color);
10
+ }
11
+
12
+ // Primary: Hex
13
+ $primary-000: #dfe7f4;
14
+ $primary-050: #bfcfe9;
15
+ $primary-100: #9fb6dd;
16
+ $primary-200: #809ed2;
17
+ $primary-300: #6086c7;
18
+ $primary-400: #406ebc;
19
+ $primary-500: #2055b0;
20
+ $primary-600: #003da5;
21
+ $primary-700: #00296e;
22
+ $primary-800: #001f53;
23
+ $primary-900: #001437;
24
+ $primary-1000: #000a1c;
25
+
26
+ // Primary: RGB
27
+ $primary-000--rgb: to-rgb($primary-000);
28
+ $primary-050--rgb: to-rgb($primary-050);
29
+ $primary-100--rgb: to-rgb($primary-100);
30
+ $primary-200--rgb: to-rgb($primary-200);
31
+ $primary-300--rgb: to-rgb($primary-300);
32
+ $primary-400--rgb: to-rgb($primary-400);
33
+ $primary-500--rgb: to-rgb($primary-500);
34
+ $primary-600--rgb: to-rgb($primary-600);
35
+ $primary-700--rgb: to-rgb($primary-700);
36
+ $primary-800--rgb: to-rgb($primary-800);
37
+ $primary-900--rgb: to-rgb($primary-900);
38
+ $primary-1000--rgb: to-rgb($primary-1000);
39
+
40
+ // Secondary: Hex
41
+ $secondary-000: #eff9f2;
42
+ $secondary-050: #ddf3e3;
43
+ $secondary-100: #c8ecd4;
44
+ $secondary-200: #b1e6c3;
45
+ $secondary-300: #95dfaf;
46
+ $secondary-400: #6fd898;
47
+ $secondary-500: #26d07c;
48
+ $secondary-600: #1fb36a;
49
+ $secondary-700: #1ba25f;
50
+ $secondary-800: #178e53;
51
+ $secondary-900: #117644;
52
+ $secondary-1000: #09552f;
53
+
54
+ // Secondary: RGB
55
+ $secondary-000--rgb: to-rgb($secondary-000);
56
+ $secondary-050--rgb: to-rgb($secondary-050);
57
+ $secondary-100--rgb: to-rgb($secondary-100);
58
+ $secondary-200--rgb: to-rgb($secondary-200);
59
+ $secondary-300--rgb: to-rgb($secondary-300);
60
+ $secondary-400--rgb: to-rgb($secondary-400);
61
+ $secondary-500--rgb: to-rgb($secondary-500);
62
+ $secondary-600--rgb: to-rgb($secondary-600);
63
+ $secondary-700--rgb: to-rgb($secondary-700);
64
+ $secondary-800--rgb: to-rgb($secondary-800);
65
+ $secondary-900--rgb: to-rgb($secondary-900);
66
+ $secondary-1000--rgb: to-rgb($secondary-1000);
67
+
68
+ // Tertiary: Hex
69
+ $tertiary-000: #fff4f6;
70
+ $tertiary-050: #fee8ed;
71
+ $tertiary-100: #fedbe3;
72
+ $tertiary-200: #fcded8;
73
+ $tertiary-300: #fdbfcd;
74
+ $tertiary-400: #fcaec0;
75
+ $tertiary-500: #fc9bb3;
76
+ $tertiary-600: #d9859a;
77
+ $tertiary-700: #c5788b;
78
+ $tertiary-800: #ad697a;
79
+ $tertiary-900: #905665;
80
+ $tertiary-1000: #683d48;
81
+
82
+ // Tertiary: RGB
83
+ $tertiary-000--rgb: to-rgb($tertiary-000);
84
+ $tertiary-050--rgb: to-rgb($tertiary-050);
85
+ $tertiary-100--rgb: to-rgb($tertiary-100);
86
+ $tertiary-200--rgb: to-rgb($tertiary-200);
87
+ $tertiary-300--rgb: to-rgb($tertiary-300);
88
+ $tertiary-400--rgb: to-rgb($tertiary-400);
89
+ $tertiary-500--rgb: to-rgb($tertiary-500);
90
+ $tertiary-600--rgb: to-rgb($tertiary-600);
91
+ $tertiary-700--rgb: to-rgb($tertiary-700);
92
+ $tertiary-800--rgb: to-rgb($tertiary-800);
93
+ $tertiary-900--rgb: to-rgb($tertiary-900);
94
+ $tertiary-1000--rgb: to-rgb($tertiary-1000);
95
+
96
+ // Quaternary: Hex
97
+ $quaternary-000: #fff5ee;
98
+ $quaternary-050: #ffeadc;
99
+ $quaternary-100: #ffdec7;
100
+ $quaternary-200: #ffd1af;
101
+ $quaternary-300: #ffc392;
102
+ $quaternary-400: #ffb46a;
103
+ $quaternary-500: #ffa300;
104
+ $quaternary-600: #dc8c00;
105
+ $quaternary-700: #c77e00;
106
+ $quaternary-800: #af6e00;
107
+ $quaternary-900: #925b00;
108
+ $quaternary-1000: #6a4100;
109
+
110
+ // Quaternary: RGB
111
+ $quaternary-000--rgb: to-rgb($quaternary-000);
112
+ $quaternary-050--rgb: to-rgb($quaternary-050);
113
+ $quaternary-100--rgb: to-rgb($quaternary-100);
114
+ $quaternary-200--rgb: to-rgb($quaternary-200);
115
+ $quaternary-300--rgb: to-rgb($quaternary-300);
116
+ $quaternary-400--rgb: to-rgb($quaternary-400);
117
+ $quaternary-500--rgb: to-rgb($quaternary-500);
118
+ $quaternary-600--rgb: to-rgb($quaternary-600);
119
+ $quaternary-700--rgb: to-rgb($quaternary-700);
120
+ $quaternary-800--rgb: to-rgb($quaternary-800);
121
+ $quaternary-900--rgb: to-rgb($quaternary-900);
122
+ $quaternary-1000--rgb: to-rgb($quaternary-1000);
123
+
124
+ // Neutral: Hex
125
+ $neutral-000: #fff;
126
+ $neutral-050: #f7f7f7;
127
+ $neutral-100: #f0f0f0;
128
+ $neutral-200: #e0e0e0;
129
+ $neutral-300: #ddd;
130
+ $neutral-400: #ccc;
131
+ $neutral-500: #949494;
132
+ $neutral-600: #6c6c6c;
133
+ $neutral-700: #000000b3;
134
+ $neutral-800: #3e3e3e;
135
+ $neutral-900: #1e1e1e;
136
+ $neutral-1000: #000;
137
+
138
+ // Neutral: RGB
139
+ $neutral-000--rgb: to-rgb($neutral-000);
140
+ $neutral-050--rgb: to-rgb($neutral-050);
141
+ $neutral-100--rgb: to-rgb($neutral-100);
142
+ $neutral-200--rgb: to-rgb($neutral-200);
143
+ $neutral-300--rgb: to-rgb($neutral-300);
144
+ $neutral-400--rgb: to-rgb($neutral-400);
145
+ $neutral-500--rgb: to-rgb($neutral-500);
146
+ $neutral-600--rgb: to-rgb($neutral-600);
147
+ $neutral-700--rgb: to-rgb($neutral-700);
148
+ $neutral-800--rgb: to-rgb($neutral-800);
149
+ $neutral-900--rgb: to-rgb($neutral-900);
150
+ $neutral-1000--rgb: to-rgb($neutral-1000);
151
+
152
+ // Success: Hex
153
+ $success-000: #edfaef;
154
+ $success-050: #b8e6bf;
155
+ $success-500: #008a20;
156
+ $success-600: #007017;
157
+
158
+ // Success: RGB
159
+ $success-000--rgb: to-rgb($success-000);
160
+ $success-050--rgb: to-rgb($success-050);
161
+ $success-500--rgb: to-rgb($success-500);
162
+ $success-600--rgb: to-rgb($success-600);
163
+
164
+ // Error: Hex
165
+ $error-000: #fcf0f1;
166
+ $error-050: #facfd2;
167
+ $error-500: #d63638;
168
+ $error-600: #b32d2e;
169
+
170
+ // Error: RGB
171
+ $error-000--rgb: to-rgb($error-000);
172
+ $error-050--rgb: to-rgb($error-050);
173
+ $error-500--rgb: to-rgb($error-500);
174
+ $error-600--rgb: to-rgb($error-600);
175
+
176
+ // Warning: Hex
177
+ $warning-000: #fcf9e8;
178
+ $warning-050: #f5e6ab;
179
+ $warning-300: #dba617;
180
+ $warning-400: #bd8600;
181
+
182
+ // Warning: RGB
183
+ $warning-000--rgb: to-rgb($warning-000);
184
+ $warning-050--rgb: to-rgb($warning-050);
185
+ $warning-300--rgb: to-rgb($warning-300);
186
+ $warning-400--rgb: to-rgb($warning-400);
187
+
188
+ // Export for JavaScript/CSS Modules consumption
189
+ :export {
190
+ // Primary
191
+ primary-000: $primary-000;
192
+ primary-050: $primary-050;
193
+ primary-100: $primary-100;
194
+ primary-200: $primary-200;
195
+ primary-300: $primary-300;
196
+ primary-400: $primary-400;
197
+ primary-500: $primary-500;
198
+ primary-600: $primary-600;
199
+ primary-700: $primary-700;
200
+ primary-800: $primary-800;
201
+ primary-900: $primary-900;
202
+ primary-1000: $primary-1000;
203
+
204
+ // Secondary
205
+ secondary-000: $secondary-000;
206
+ secondary-050: $secondary-050;
207
+ secondary-100: $secondary-100;
208
+ secondary-200: $secondary-200;
209
+ secondary-300: $secondary-300;
210
+ secondary-400: $secondary-400;
211
+ secondary-500: $secondary-500;
212
+ secondary-600: $secondary-600;
213
+ secondary-700: $secondary-700;
214
+ secondary-800: $secondary-800;
215
+ secondary-900: $secondary-900;
216
+ secondary-1000: $secondary-1000;
217
+
218
+ // Tertiary
219
+ tertiary-000: $tertiary-000;
220
+ tertiary-050: $tertiary-050;
221
+ tertiary-100: $tertiary-100;
222
+ tertiary-200: $tertiary-200;
223
+ tertiary-300: $tertiary-300;
224
+ tertiary-400: $tertiary-400;
225
+ tertiary-500: $tertiary-500;
226
+ tertiary-600: $tertiary-600;
227
+ tertiary-700: $tertiary-700;
228
+ tertiary-800: $tertiary-800;
229
+ tertiary-900: $tertiary-900;
230
+ tertiary-1000: $tertiary-1000;
231
+
232
+ // Quaternary
233
+ quaternary-000: $quaternary-000;
234
+ quaternary-050: $quaternary-050;
235
+ quaternary-100: $quaternary-100;
236
+ quaternary-200: $quaternary-200;
237
+ quaternary-300: $quaternary-300;
238
+ quaternary-400: $quaternary-400;
239
+ quaternary-500: $quaternary-500;
240
+ quaternary-600: $quaternary-600;
241
+ quaternary-700: $quaternary-700;
242
+ quaternary-800: $quaternary-800;
243
+ quaternary-900: $quaternary-900;
244
+ quaternary-1000: $quaternary-1000;
245
+
246
+ // Neutral
247
+ neutral-000: $neutral-000;
248
+ neutral-050: $neutral-050;
249
+ neutral-100: $neutral-100;
250
+ neutral-200: $neutral-200;
251
+ neutral-300: $neutral-300;
252
+ neutral-400: $neutral-400;
253
+ neutral-500: $neutral-500;
254
+ neutral-600: $neutral-600;
255
+ neutral-700: $neutral-700;
256
+ neutral-800: $neutral-800;
257
+ neutral-900: $neutral-900;
258
+ neutral-1000: $neutral-1000;
259
+
260
+ // Success
261
+ success-000: $success-000;
262
+ success-050: $success-050;
263
+ success-500: $success-500;
264
+ success-600: $success-600;
265
+
266
+ // Error
267
+ error-000: $error-000;
268
+ error-050: $error-050;
269
+ error-500: $error-500;
270
+ error-600: $error-600;
271
+
272
+ // Warning
273
+ warning-000: $warning-000;
274
+ warning-050: $warning-050;
275
+ warning-300: $warning-300;
276
+ warning-400: $warning-400;
277
+ }
package/copy-styles.js CHANGED
@@ -35,10 +35,17 @@ rcopy( inputDir, outputDirCommon, copyOptions )
35
35
  .catch( err => {
36
36
  console.error( err );
37
37
  } );
38
- rcopy( path.join( dir, '..', 'shared' ), path.join( dir, 'shared' ) )
38
+ rcopy( path.join( dir, '../../src', 'shared' ), path.join( dir, 'shared' ) )
39
39
  .then( () => {
40
40
  console.log( 'Copied shared lib' );
41
41
  } )
42
42
  .catch( err => {
43
43
  console.error( err );
44
44
  } );
45
+ rcopy( path.join( dir, '../colors' ), path.join( dir, 'colors' ), copyOptions )
46
+ .then( () => {
47
+ console.log( 'Copied colors module' );
48
+ } )
49
+ .catch( err => {
50
+ console.error( err );
51
+ } );
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });