diff options
author | 2019-01-07 23:53:32 +0100 | |
---|---|---|
committer | 2019-01-07 23:53:32 +0100 | |
commit | 8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf (patch) | |
tree | 899a872633f8c87a7ebb067b40b1ff1369851527 /packages | |
parent | Merge (diff) | |
download | ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.gz ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.tar.zst ferdium-app-8fce9fb5ce8a91a0905730efcdbd61ad3fcad6bf.zip |
wip
Diffstat (limited to 'packages')
-rw-r--r-- | packages/forms/package-lock.json | 396 | ||||
-rw-r--r-- | packages/forms/package.json | 8 | ||||
-rw-r--r-- | packages/forms/src/index.ts | 6 | ||||
-rw-r--r-- | packages/forms/src/input/index.tsx | 4 | ||||
-rw-r--r-- | packages/forms/webpack.config.js | 41 | ||||
-rw-r--r-- | packages/theme/package.json | 7 | ||||
-rw-r--r-- | packages/theme/src/themes/dark/index.ts | 2 | ||||
-rw-r--r-- | packages/theme/src/themes/default/index.ts | 2 | ||||
-rw-r--r-- | packages/theme/webpack.config.js | 25 |
9 files changed, 83 insertions, 408 deletions
diff --git a/packages/forms/package-lock.json b/packages/forms/package-lock.json index f28619ff4..bf610fdfd 100644 --- a/packages/forms/package-lock.json +++ b/packages/forms/package-lock.json | |||
@@ -14,330 +14,11 @@ | |||
14 | "resolved": "https://registry.npmjs.org/@mdi/react/-/react-1.1.0.tgz", | 14 | "resolved": "https://registry.npmjs.org/@mdi/react/-/react-1.1.0.tgz", |
15 | "integrity": "sha512-c0+avMYEZ6i7Pg1ULLFs+p7k8bDPiie9rrgGYs8VWQhw2tUUYz7r0lIPVzD3bzMghWfyhfkArj88K5Of0WTMNw==" | 15 | "integrity": "sha512-c0+avMYEZ6i7Pg1ULLFs+p7k8bDPiie9rrgGYs8VWQhw2tUUYz7r0lIPVzD3bzMghWfyhfkArj88K5Of0WTMNw==" |
16 | }, | 16 | }, |
17 | "@meetfranz/theme": { | ||
18 | "version": "1.0.0", | ||
19 | "resolved": "https://registry.npmjs.org/@meetfranz/theme/-/theme-1.0.0.tgz", | ||
20 | "integrity": "sha512-oto6j5HR4DcwiW8/uDIvXnqmRsPKjQJXOfDeT0JAkEF1YNP/Rq8NWH/MRqzZTRdk3lXgXb9rBLmb/aHglfXy/Q==", | ||
21 | "requires": { | ||
22 | "color": "^3.1.0" | ||
23 | } | ||
24 | }, | ||
25 | "@types/classnames": { | ||
26 | "version": "2.2.6", | ||
27 | "resolved": "https://registry.npmjs.org/@types/classnames/-/classnames-2.2.6.tgz", | ||
28 | "integrity": "sha512-XHcYvVdbtAxVstjKxuULYqYaWIzHR15yr1pZj4fnGChuBVJlIAp9StJna0ZJNSgxPh4Nac2FL4JM3M11Tm6fqQ==", | ||
29 | "dev": true | ||
30 | }, | ||
31 | "@types/jss": { | ||
32 | "version": "9.5.7", | ||
33 | "resolved": "https://registry.npmjs.org/@types/jss/-/jss-9.5.7.tgz", | ||
34 | "integrity": "sha512-OZimStu2QdDMtZ0h72JXqvLVbWUjXd5ZLk8vxLmfuC/nM1AabRyyGoxSufnzixrbpEcVcyy/JV5qeQu2JnjVZw==", | ||
35 | "dev": true, | ||
36 | "requires": { | ||
37 | "csstype": "^2.0.0", | ||
38 | "indefinite-observable": "^1.0.1" | ||
39 | } | ||
40 | }, | ||
41 | "@types/lodash": { | ||
42 | "version": "4.14.119", | ||
43 | "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.119.tgz", | ||
44 | "integrity": "sha512-Z3TNyBL8Vd/M9D9Ms2S3LmFq2sSMzahodD6rCS9V2N44HUMINb75jNkSuwAx7eo2ufqTdfOdtGQpNbieUjPQmw==", | ||
45 | "dev": true | ||
46 | }, | ||
47 | "@types/prop-types": { | ||
48 | "version": "15.5.8", | ||
49 | "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.5.8.tgz", | ||
50 | "integrity": "sha512-3AQoUxQcQtLHsK25wtTWIoIpgYjH3vSDroZOUr7PpCHw/jLY1RB9z9E8dBT/OSmwStVgkRNvdh+ZHNiomRieaw==", | ||
51 | "dev": true | ||
52 | }, | ||
53 | "@types/react": { | ||
54 | "version": "16.7.18", | ||
55 | "resolved": "https://registry.npmjs.org/@types/react/-/react-16.7.18.tgz", | ||
56 | "integrity": "sha512-Tx4uu3ppK53/iHk6VpamMP3f3ahfDLEVt3ZQc8TFm30a1H3v9lMsCntBREswZIW/SKrvJjkb3Hq8UwO6GREBng==", | ||
57 | "dev": true, | ||
58 | "requires": { | ||
59 | "@types/prop-types": "*", | ||
60 | "csstype": "^2.2.0" | ||
61 | } | ||
62 | }, | ||
63 | "@types/react-jss": { | ||
64 | "version": "8.6.0", | ||
65 | "resolved": "https://registry.npmjs.org/@types/react-jss/-/react-jss-8.6.0.tgz", | ||
66 | "integrity": "sha512-kZvjHPPHJMKZqCgQWxNnYrBAsMquqj6J2ncIgG/Eq9AxNJobbPlCc0h2GtHe8Ap3aXi8Lgzj5JSWO9X5S2g8NQ==", | ||
67 | "dev": true, | ||
68 | "requires": { | ||
69 | "@types/jss": "*", | ||
70 | "@types/react": "*", | ||
71 | "@types/theming": "*", | ||
72 | "csstype": "^2.0.0" | ||
73 | } | ||
74 | }, | ||
75 | "@types/theming": { | ||
76 | "version": "1.3.2", | ||
77 | "resolved": "https://registry.npmjs.org/@types/theming/-/theming-1.3.2.tgz", | ||
78 | "integrity": "sha512-hglGgki3jUbSjl1UB6vc8rsOyELRfH+VVIMyymoHRlUizdgWmWiwteH2jdltsHCVlAtSCmAh0nB71t9G41vhxQ==", | ||
79 | "dev": true, | ||
80 | "requires": { | ||
81 | "@types/react": "*" | ||
82 | } | ||
83 | }, | ||
84 | "brcast": { | ||
85 | "version": "3.0.1", | ||
86 | "resolved": "https://registry.npmjs.org/brcast/-/brcast-3.0.1.tgz", | ||
87 | "integrity": "sha512-eI3yqf9YEqyGl9PCNTR46MGvDylGtaHjalcz6Q3fAPnP/PhpKkkve52vFdfGpwp4VUvK6LUr4TQN+2stCrEwTg==" | ||
88 | }, | ||
89 | "classnames": { | ||
90 | "version": "2.2.6", | ||
91 | "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", | ||
92 | "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" | ||
93 | }, | ||
94 | "color": { | ||
95 | "version": "3.1.0", | ||
96 | "resolved": "https://registry.npmjs.org/color/-/color-3.1.0.tgz", | ||
97 | "integrity": "sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg==", | ||
98 | "requires": { | ||
99 | "color-convert": "^1.9.1", | ||
100 | "color-string": "^1.5.2" | ||
101 | } | ||
102 | }, | ||
103 | "color-convert": { | ||
104 | "version": "1.9.3", | ||
105 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", | ||
106 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", | ||
107 | "requires": { | ||
108 | "color-name": "1.1.3" | ||
109 | } | ||
110 | }, | ||
111 | "color-name": { | ||
112 | "version": "1.1.3", | ||
113 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", | ||
114 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" | ||
115 | }, | ||
116 | "color-string": { | ||
117 | "version": "1.5.3", | ||
118 | "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", | ||
119 | "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", | ||
120 | "requires": { | ||
121 | "color-name": "^1.0.0", | ||
122 | "simple-swizzle": "^0.2.2" | ||
123 | } | ||
124 | }, | ||
125 | "css-vendor": { | ||
126 | "version": "0.3.8", | ||
127 | "resolved": "https://registry.npmjs.org/css-vendor/-/css-vendor-0.3.8.tgz", | ||
128 | "integrity": "sha1-ZCHP0wNM5mT+dnOXL9ARn8KJQfo=", | ||
129 | "requires": { | ||
130 | "is-in-browser": "^1.0.2" | ||
131 | } | ||
132 | }, | ||
133 | "csstype": { | ||
134 | "version": "2.6.0", | ||
135 | "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.0.tgz", | ||
136 | "integrity": "sha512-by8hi8BlLbowQq0qtkx54d9aN73R9oUW20HISpka5kmgsR9F7nnxgfsemuR2sdCKZh+CDNf5egW9UZMm4mgJRg==", | ||
137 | "dev": true | ||
138 | }, | ||
139 | "hoist-non-react-statics": { | ||
140 | "version": "3.2.1", | ||
141 | "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.2.1.tgz", | ||
142 | "integrity": "sha512-TFsu3TV3YLY+zFTZDrN8L2DTFanObwmBLpWvJs1qfUuEQ5bTAdFcwfx2T/bsCXfM9QHSLvjfP+nihEl0yvozxw==", | ||
143 | "requires": { | ||
144 | "react-is": "^16.3.2" | ||
145 | } | ||
146 | }, | ||
147 | "html-element-attributes": { | 17 | "html-element-attributes": { |
148 | "version": "1.3.1", | 18 | "version": "1.3.1", |
149 | "resolved": "https://registry.npmjs.org/html-element-attributes/-/html-element-attributes-1.3.1.tgz", | 19 | "resolved": "https://registry.npmjs.org/html-element-attributes/-/html-element-attributes-1.3.1.tgz", |
150 | "integrity": "sha512-UrRKgp5sQmRnDy4TEwAUsu14XBUlzKB8U3hjIYDjcZ3Hbp86Jtftzxfgrv6E/ii/h78tsaZwAnAE8HwnHr0dPA==" | 20 | "integrity": "sha512-UrRKgp5sQmRnDy4TEwAUsu14XBUlzKB8U3hjIYDjcZ3Hbp86Jtftzxfgrv6E/ii/h78tsaZwAnAE8HwnHr0dPA==" |
151 | }, | 21 | }, |
152 | "hyphenate-style-name": { | ||
153 | "version": "1.0.2", | ||
154 | "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz", | ||
155 | "integrity": "sha1-MRYKNpMK2vH8BMYHT360FGXU7Es=" | ||
156 | }, | ||
157 | "indefinite-observable": { | ||
158 | "version": "1.0.2", | ||
159 | "resolved": "https://registry.npmjs.org/indefinite-observable/-/indefinite-observable-1.0.2.tgz", | ||
160 | "integrity": "sha512-Mps0898zEduHyPhb7UCgNmfzlqNZknVmaFz5qzr0mm04YQ5FGLhAyK/dJ+NaRxGyR6juQXIxh5Ev0xx+qq0nYA==", | ||
161 | "dev": true, | ||
162 | "requires": { | ||
163 | "symbol-observable": "1.2.0" | ||
164 | } | ||
165 | }, | ||
166 | "is-function": { | ||
167 | "version": "1.0.1", | ||
168 | "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.1.tgz", | ||
169 | "integrity": "sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=" | ||
170 | }, | ||
171 | "is-in-browser": { | ||
172 | "version": "1.1.3", | ||
173 | "resolved": "https://registry.npmjs.org/is-in-browser/-/is-in-browser-1.1.3.tgz", | ||
174 | "integrity": "sha1-Vv9NtoOgeMYILrldrX3GLh0E+DU=" | ||
175 | }, | ||
176 | "is-plain-object": { | ||
177 | "version": "2.0.4", | ||
178 | "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", | ||
179 | "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", | ||
180 | "requires": { | ||
181 | "isobject": "^3.0.1" | ||
182 | } | ||
183 | }, | ||
184 | "isobject": { | ||
185 | "version": "3.0.1", | ||
186 | "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", | ||
187 | "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" | ||
188 | }, | ||
189 | "js-tokens": { | ||
190 | "version": "4.0.0", | ||
191 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", | ||
192 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" | ||
193 | }, | ||
194 | "jss": { | ||
195 | "version": "9.8.7", | ||
196 | "resolved": "https://registry.npmjs.org/jss/-/jss-9.8.7.tgz", | ||
197 | "integrity": "sha512-awj3XRZYxbrmmrx9LUSj5pXSUfm12m8xzi/VKeqI1ZwWBtQ0kVPTs3vYs32t4rFw83CgFDukA8wKzOE9sMQnoQ==", | ||
198 | "requires": { | ||
199 | "is-in-browser": "^1.1.3", | ||
200 | "symbol-observable": "^1.1.0", | ||
201 | "warning": "^3.0.0" | ||
202 | } | ||
203 | }, | ||
204 | "jss-camel-case": { | ||
205 | "version": "6.1.0", | ||
206 | "resolved": "https://registry.npmjs.org/jss-camel-case/-/jss-camel-case-6.1.0.tgz", | ||
207 | "integrity": "sha512-HPF2Q7wmNW1t79mCqSeU2vdd/vFFGpkazwvfHMOhPlMgXrJDzdj9viA2SaHk9ZbD5pfL63a8ylp4++irYbbzMQ==", | ||
208 | "requires": { | ||
209 | "hyphenate-style-name": "^1.0.2" | ||
210 | } | ||
211 | }, | ||
212 | "jss-compose": { | ||
213 | "version": "5.0.0", | ||
214 | "resolved": "https://registry.npmjs.org/jss-compose/-/jss-compose-5.0.0.tgz", | ||
215 | "integrity": "sha512-YofRYuiA0+VbeOw0VjgkyO380sA4+TWDrW52nSluD9n+1FWOlDzNbgpZ/Sb3Y46+DcAbOS21W5jo6SAqUEiuwA==", | ||
216 | "requires": { | ||
217 | "warning": "^3.0.0" | ||
218 | } | ||
219 | }, | ||
220 | "jss-default-unit": { | ||
221 | "version": "8.0.2", | ||
222 | "resolved": "https://registry.npmjs.org/jss-default-unit/-/jss-default-unit-8.0.2.tgz", | ||
223 | "integrity": "sha512-WxNHrF/18CdoAGw2H0FqOEvJdREXVXLazn7PQYU7V6/BWkCV0GkmWsppNiExdw8dP4TU1ma1dT9zBNJ95feLmg==" | ||
224 | }, | ||
225 | "jss-expand": { | ||
226 | "version": "5.3.0", | ||
227 | "resolved": "https://registry.npmjs.org/jss-expand/-/jss-expand-5.3.0.tgz", | ||
228 | "integrity": "sha512-NiM4TbDVE0ykXSAw6dfFmB1LIqXP/jdd0ZMnlvlGgEMkMt+weJIl8Ynq1DsuBY9WwkNyzWktdqcEW2VN0RAtQg==" | ||
229 | }, | ||
230 | "jss-extend": { | ||
231 | "version": "6.2.0", | ||
232 | "resolved": "https://registry.npmjs.org/jss-extend/-/jss-extend-6.2.0.tgz", | ||
233 | "integrity": "sha512-YszrmcB6o9HOsKPszK7NeDBNNjVyiW864jfoiHoMlgMIg2qlxKw70axZHqgczXHDcoyi/0/ikP1XaHDPRvYtEA==", | ||
234 | "requires": { | ||
235 | "warning": "^3.0.0" | ||
236 | } | ||
237 | }, | ||
238 | "jss-global": { | ||
239 | "version": "3.0.0", | ||
240 | "resolved": "https://registry.npmjs.org/jss-global/-/jss-global-3.0.0.tgz", | ||
241 | "integrity": "sha512-wxYn7vL+TImyQYGAfdplg7yaxnPQ9RaXY/cIA8hawaVnmmWxDHzBK32u1y+RAvWboa3lW83ya3nVZ/C+jyjZ5Q==" | ||
242 | }, | ||
243 | "jss-nested": { | ||
244 | "version": "6.0.1", | ||
245 | "resolved": "https://registry.npmjs.org/jss-nested/-/jss-nested-6.0.1.tgz", | ||
246 | "integrity": "sha512-rn964TralHOZxoyEgeq3hXY8hyuCElnvQoVrQwKHVmu55VRDd6IqExAx9be5HgK0yN/+hQdgAXQl/GUrBbbSTA==", | ||
247 | "requires": { | ||
248 | "warning": "^3.0.0" | ||
249 | } | ||
250 | }, | ||
251 | "jss-preset-default": { | ||
252 | "version": "4.5.0", | ||
253 | "resolved": "https://registry.npmjs.org/jss-preset-default/-/jss-preset-default-4.5.0.tgz", | ||
254 | "integrity": "sha512-qZbpRVtHT7hBPpZEBPFfafZKWmq3tA/An5RNqywDsZQGrlinIF/mGD9lmj6jGqu8GrED2SMHZ3pPKLmjCZoiaQ==", | ||
255 | "requires": { | ||
256 | "jss-camel-case": "^6.1.0", | ||
257 | "jss-compose": "^5.0.0", | ||
258 | "jss-default-unit": "^8.0.2", | ||
259 | "jss-expand": "^5.3.0", | ||
260 | "jss-extend": "^6.2.0", | ||
261 | "jss-global": "^3.0.0", | ||
262 | "jss-nested": "^6.0.1", | ||
263 | "jss-props-sort": "^6.0.0", | ||
264 | "jss-template": "^1.0.1", | ||
265 | "jss-vendor-prefixer": "^7.0.0" | ||
266 | } | ||
267 | }, | ||
268 | "jss-props-sort": { | ||
269 | "version": "6.0.0", | ||
270 | "resolved": "https://registry.npmjs.org/jss-props-sort/-/jss-props-sort-6.0.0.tgz", | ||
271 | "integrity": "sha512-E89UDcrphmI0LzmvYk25Hp4aE5ZBsXqMWlkFXS0EtPkunJkRr+WXdCNYbXbksIPnKlBenGB9OxzQY+mVc70S+g==" | ||
272 | }, | ||
273 | "jss-template": { | ||
274 | "version": "1.0.1", | ||
275 | "resolved": "https://registry.npmjs.org/jss-template/-/jss-template-1.0.1.tgz", | ||
276 | "integrity": "sha512-m5BqEWha17fmIVXm1z8xbJhY6GFJxNB9H68GVnCWPyGYfxiAgY9WTQyvDAVj+pYRgrXSOfN5V1T4+SzN1sJTeg==", | ||
277 | "requires": { | ||
278 | "warning": "^3.0.0" | ||
279 | } | ||
280 | }, | ||
281 | "jss-vendor-prefixer": { | ||
282 | "version": "7.0.0", | ||
283 | "resolved": "https://registry.npmjs.org/jss-vendor-prefixer/-/jss-vendor-prefixer-7.0.0.tgz", | ||
284 | "integrity": "sha512-Agd+FKmvsI0HLcYXkvy8GYOw3AAASBUpsmIRvVQheps+JWaN892uFOInTr0DRydwaD91vSSUCU4NssschvF7MA==", | ||
285 | "requires": { | ||
286 | "css-vendor": "^0.3.8" | ||
287 | } | ||
288 | }, | ||
289 | "lodash": { | ||
290 | "version": "4.17.11", | ||
291 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", | ||
292 | "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==" | ||
293 | }, | ||
294 | "loose-envify": { | ||
295 | "version": "1.4.0", | ||
296 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", | ||
297 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", | ||
298 | "requires": { | ||
299 | "js-tokens": "^3.0.0 || ^4.0.0" | ||
300 | } | ||
301 | }, | ||
302 | "mobx": { | ||
303 | "version": "5.8.0", | ||
304 | "resolved": "https://registry.npmjs.org/mobx/-/mobx-5.8.0.tgz", | ||
305 | "integrity": "sha512-NsZB+9bF5j+nv9Qwk6bNeE3np26a4TbTGkMpOLf6o1zXoM9BtHPQn/00px4uZ2AXJXtQML5P4MEWdMm6icMIfQ==" | ||
306 | }, | ||
307 | "mobx-react": { | ||
308 | "version": "5.4.3", | ||
309 | "resolved": "https://registry.npmjs.org/mobx-react/-/mobx-react-5.4.3.tgz", | ||
310 | "integrity": "sha512-WC8yFlwvJ91hy8j6CrydAuFteUafcuvdITFQeHl3LRIf5ayfT/4W3M/byhEYD2BcJWejeXr8y4Rh2H26RunCRQ==", | ||
311 | "requires": { | ||
312 | "hoist-non-react-statics": "^3.0.0", | ||
313 | "react-lifecycles-compat": "^3.0.2" | ||
314 | } | ||
315 | }, | ||
316 | "object-assign": { | ||
317 | "version": "4.1.1", | ||
318 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", | ||
319 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" | ||
320 | }, | ||
321 | "prop-types": { | ||
322 | "version": "15.6.2", | ||
323 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", | ||
324 | "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", | ||
325 | "requires": { | ||
326 | "loose-envify": "^1.3.1", | ||
327 | "object-assign": "^4.1.1" | ||
328 | } | ||
329 | }, | ||
330 | "react": { | ||
331 | "version": "16.7.0", | ||
332 | "resolved": "https://registry.npmjs.org/react/-/react-16.7.0.tgz", | ||
333 | "integrity": "sha512-StCz3QY8lxTb5cl2HJxjwLFOXPIFQp+p+hxQfc8WE0QiLfCtIlKj8/+5tjjKm8uSTlAW+fCPaavGFS06V9Ar3A==", | ||
334 | "requires": { | ||
335 | "loose-envify": "^1.1.0", | ||
336 | "object-assign": "^4.1.1", | ||
337 | "prop-types": "^15.6.2", | ||
338 | "scheduler": "^0.12.0" | ||
339 | } | ||
340 | }, | ||
341 | "react-html-attributes": { | 22 | "react-html-attributes": { |
342 | "version": "1.4.3", | 23 | "version": "1.4.3", |
343 | "resolved": "https://registry.npmjs.org/react-html-attributes/-/react-html-attributes-1.4.3.tgz", | 24 | "resolved": "https://registry.npmjs.org/react-html-attributes/-/react-html-attributes-1.4.3.tgz", |
@@ -345,83 +26,6 @@ | |||
345 | "requires": { | 26 | "requires": { |
346 | "html-element-attributes": "^1.0.0" | 27 | "html-element-attributes": "^1.0.0" |
347 | } | 28 | } |
348 | }, | ||
349 | "react-is": { | ||
350 | "version": "16.7.0", | ||
351 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.7.0.tgz", | ||
352 | "integrity": "sha512-Z0VRQdF4NPDoI0tsXVMLkJLiwEBa+RP66g0xDHxgxysxSoCUccSten4RTF/UFvZF1dZvZ9Zu1sx+MDXwcOR34g==" | ||
353 | }, | ||
354 | "react-jss": { | ||
355 | "version": "8.6.1", | ||
356 | "resolved": "https://registry.npmjs.org/react-jss/-/react-jss-8.6.1.tgz", | ||
357 | "integrity": "sha512-SH6XrJDJkAphp602J14JTy3puB2Zxz1FkM3bKVE8wON+va99jnUTKWnzGECb3NfIn9JPR5vHykge7K3/A747xQ==", | ||
358 | "requires": { | ||
359 | "hoist-non-react-statics": "^2.5.0", | ||
360 | "jss": "^9.7.0", | ||
361 | "jss-preset-default": "^4.3.0", | ||
362 | "prop-types": "^15.6.0", | ||
363 | "theming": "^1.3.0" | ||
364 | }, | ||
365 | "dependencies": { | ||
366 | "hoist-non-react-statics": { | ||
367 | "version": "2.5.5", | ||
368 | "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz", | ||
369 | "integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==" | ||
370 | } | ||
371 | } | ||
372 | }, | ||
373 | "react-lifecycles-compat": { | ||
374 | "version": "3.0.4", | ||
375 | "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", | ||
376 | "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" | ||
377 | }, | ||
378 | "scheduler": { | ||
379 | "version": "0.12.0", | ||
380 | "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.12.0.tgz", | ||
381 | "integrity": "sha512-t7MBR28Akcp4Jm+QoR63XgAi9YgCUmgvDHqf5otgAj4QvdoBE4ImCX0ffehefePPG+aitiYHp0g/mW6s4Tp+dw==", | ||
382 | "requires": { | ||
383 | "loose-envify": "^1.1.0", | ||
384 | "object-assign": "^4.1.1" | ||
385 | } | ||
386 | }, | ||
387 | "simple-swizzle": { | ||
388 | "version": "0.2.2", | ||
389 | "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", | ||
390 | "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", | ||
391 | "requires": { | ||
392 | "is-arrayish": "^0.3.1" | ||
393 | }, | ||
394 | "dependencies": { | ||
395 | "is-arrayish": { | ||
396 | "version": "0.3.2", | ||
397 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", | ||
398 | "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" | ||
399 | } | ||
400 | } | ||
401 | }, | ||
402 | "symbol-observable": { | ||
403 | "version": "1.2.0", | ||
404 | "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", | ||
405 | "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==" | ||
406 | }, | ||
407 | "theming": { | ||
408 | "version": "1.3.0", | ||
409 | "resolved": "https://registry.npmjs.org/theming/-/theming-1.3.0.tgz", | ||
410 | "integrity": "sha512-ya5Ef7XDGbTPBv5ENTwrwkPUexrlPeiAg/EI9kdlUAZhNlRbCdhMKRgjNX1IcmsmiPcqDQZE6BpSaH+cr31FKw==", | ||
411 | "requires": { | ||
412 | "brcast": "^3.0.1", | ||
413 | "is-function": "^1.0.1", | ||
414 | "is-plain-object": "^2.0.1", | ||
415 | "prop-types": "^15.5.8" | ||
416 | } | ||
417 | }, | ||
418 | "warning": { | ||
419 | "version": "3.0.0", | ||
420 | "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", | ||
421 | "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", | ||
422 | "requires": { | ||
423 | "loose-envify": "^1.0.0" | ||
424 | } | ||
425 | } | 29 | } |
426 | } | 30 | } |
427 | } | 31 | } |
diff --git a/packages/forms/package.json b/packages/forms/package.json index d7d88e7b6..68d500593 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json | |||
@@ -4,8 +4,8 @@ | |||
4 | "description": "React form components for Franz", | 4 | "description": "React form components for Franz", |
5 | "main": "lib/index.js", | 5 | "main": "lib/index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "dev": "tsc -w", | 7 | "dev": "NODE_ENV=development ../../node_modules/.bin/webpack -w", |
8 | "prepare": "tsc" | 8 | "prepare": "../../node_modules/.bin/webpack" |
9 | }, | 9 | }, |
10 | "publishConfig": { | 10 | "publishConfig": { |
11 | "access": "public" | 11 | "access": "public" |
@@ -25,13 +25,15 @@ | |||
25 | "dependencies": { | 25 | "dependencies": { |
26 | "@mdi/js": "^3.3.92", | 26 | "@mdi/js": "^3.3.92", |
27 | "@mdi/react": "^1.1.0", | 27 | "@mdi/react": "^1.1.0", |
28 | "react-html-attributes": "^1.4.3" | ||
29 | }, | ||
30 | "peerDependencies": { | ||
28 | "@meetfranz/theme": "file:../theme", | 31 | "@meetfranz/theme": "file:../theme", |
29 | "classnames": "^2.2.6", | 32 | "classnames": "^2.2.6", |
30 | "lodash": "^4.17.11", | 33 | "lodash": "^4.17.11", |
31 | "mobx": "^5.8.0", | 34 | "mobx": "^5.8.0", |
32 | "mobx-react": "^5.4.3", | 35 | "mobx-react": "^5.4.3", |
33 | "react": "^16.7.0", | 36 | "react": "^16.7.0", |
34 | "react-html-attributes": "^1.4.3", | ||
35 | "react-jss": "^8.6.1" | 37 | "react-jss": "^8.6.1" |
36 | }, | 38 | }, |
37 | "gitHead": "e9a48f96f8659dcd6ac07a8445f60f27d6ae698a" | 39 | "gitHead": "e9a48f96f8659dcd6ac07a8445f60f27d6ae698a" |
diff --git a/packages/forms/src/index.ts b/packages/forms/src/index.ts index 3f24ecaf7..fe6f09222 100644 --- a/packages/forms/src/index.ts +++ b/packages/forms/src/index.ts | |||
@@ -1 +1,7 @@ | |||
1 | export { default as Input } from './input'; | 1 | export { default as Input } from './input'; |
2 | |||
3 | // import InputComponent from './input'; | ||
4 | |||
5 | console.log('YOLOOOOO00OO', 'InputComponent'); | ||
6 | |||
7 | // export const Input = InputComponent; | ||
diff --git a/packages/forms/src/input/index.tsx b/packages/forms/src/input/index.tsx index 107335573..0e19e3368 100644 --- a/packages/forms/src/input/index.tsx +++ b/packages/forms/src/input/index.tsx | |||
@@ -3,7 +3,7 @@ import Icon from '@mdi/react'; | |||
3 | import classnames from 'classnames'; | 3 | import classnames from 'classnames'; |
4 | import pick from 'lodash/pick'; | 4 | import pick from 'lodash/pick'; |
5 | import { observer } from 'mobx-react'; | 5 | import { observer } from 'mobx-react'; |
6 | import React, { Component } from 'react'; | 6 | import React, { Component, createRef } from 'react'; |
7 | import htmlElementAttributes from 'react-html-attributes'; | 7 | import htmlElementAttributes from 'react-html-attributes'; |
8 | import injectSheet from 'react-jss'; | 8 | import injectSheet from 'react-jss'; |
9 | 9 | ||
@@ -48,7 +48,7 @@ class Input extends Component<IProps, IState> { | |||
48 | showPassword: false, | 48 | showPassword: false, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | private inputRef = React.createRef<HTMLInputElement>(); | 51 | private inputRef = createRef<HTMLInputElement>(); |
52 | 52 | ||
53 | componentDidMount() { | 53 | componentDidMount() { |
54 | const { focus } = this.props; | 54 | const { focus } = this.props; |
diff --git a/packages/forms/webpack.config.js b/packages/forms/webpack.config.js new file mode 100644 index 000000000..43deab722 --- /dev/null +++ b/packages/forms/webpack.config.js | |||
@@ -0,0 +1,41 @@ | |||
1 | const path = require('path'); | ||
2 | const TerserPlugin = require('terser-webpack-plugin'); | ||
3 | |||
4 | module.exports = { | ||
5 | entry: path.join(__dirname, '/src/index.ts'), | ||
6 | context: __dirname, | ||
7 | output: { | ||
8 | filename: 'index.js', | ||
9 | path: path.join(__dirname, 'lib'), | ||
10 | libraryTarget: 'commonjs2', | ||
11 | }, | ||
12 | module: { | ||
13 | rules: [{ | ||
14 | test: /\.tsx?$/, | ||
15 | loader: 'ts-loader', | ||
16 | exclude: /node_modules/, | ||
17 | }], | ||
18 | }, | ||
19 | resolve: { | ||
20 | extensions: ['.tsx', '.ts', '.js'], | ||
21 | }, | ||
22 | externals: { | ||
23 | '@meetfranz/theme': '@meetfranz/theme', | ||
24 | lodash: { | ||
25 | commonjs: 'lodash', | ||
26 | commonjs2: 'lodash', | ||
27 | amd: 'lodash', | ||
28 | root: '_', | ||
29 | }, | ||
30 | classnames: 'classnames', | ||
31 | mobx: 'mobx', | ||
32 | mobxReact: 'mobx-react', | ||
33 | react: 'react', | ||
34 | reactJss: 'react-jss', | ||
35 | }, | ||
36 | devtool: 'inline-source-map', | ||
37 | optimization: { | ||
38 | minimizer: [new TerserPlugin()], | ||
39 | }, | ||
40 | mode: process.env.NODE_ENV === 'development' ? 'development' : 'production', | ||
41 | }; | ||
diff --git a/packages/theme/package.json b/packages/theme/package.json index 0bc0423bf..8b4cb8ef6 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json | |||
@@ -6,9 +6,6 @@ | |||
6 | "homepage": "https://github.com/meetfranz/franz", | 6 | "homepage": "https://github.com/meetfranz/franz", |
7 | "license": "Apache-2.0", | 7 | "license": "Apache-2.0", |
8 | "main": "lib/index.js", | 8 | "main": "lib/index.js", |
9 | "files": [ | ||
10 | "lib/**/*" | ||
11 | ], | ||
12 | "publishConfig": { | 9 | "publishConfig": { |
13 | "access": "public" | 10 | "access": "public" |
14 | }, | 11 | }, |
@@ -17,8 +14,8 @@ | |||
17 | "url": "git+https://github.com/meetfranz/franz.git" | 14 | "url": "git+https://github.com/meetfranz/franz.git" |
18 | }, | 15 | }, |
19 | "scripts": { | 16 | "scripts": { |
20 | "dev": "tsc -w", | 17 | "dev": "NODE_ENV=development ../../node_modules/.bin/webpack -w", |
21 | "prepare": "tsc", | 18 | "prepare": "../../node_modules/.bin/webpack", |
22 | "preprepare": "npm run test", | 19 | "preprepare": "npm run test", |
23 | "test": "npx mocha" | 20 | "test": "npx mocha" |
24 | }, | 21 | }, |
diff --git a/packages/theme/src/themes/dark/index.ts b/packages/theme/src/themes/dark/index.ts index 7eac5a3c3..3c17d03ae 100644 --- a/packages/theme/src/themes/dark/index.ts +++ b/packages/theme/src/themes/dark/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import color from 'color'; | 1 | import * as color from 'color'; |
2 | 2 | ||
3 | import * as legacyStyles from '../legacy'; | 3 | import * as legacyStyles from '../legacy'; |
4 | 4 | ||
diff --git a/packages/theme/src/themes/default/index.ts b/packages/theme/src/themes/default/index.ts index b22730413..f7d58a375 100644 --- a/packages/theme/src/themes/default/index.ts +++ b/packages/theme/src/themes/default/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import color from 'color'; | 1 | import * as color from 'color'; |
2 | 2 | ||
3 | import * as legacyStyles from '../legacy'; | 3 | import * as legacyStyles from '../legacy'; |
4 | 4 | ||
diff --git a/packages/theme/webpack.config.js b/packages/theme/webpack.config.js new file mode 100644 index 000000000..f7311109d --- /dev/null +++ b/packages/theme/webpack.config.js | |||
@@ -0,0 +1,25 @@ | |||
1 | const path = require('path'); | ||
2 | |||
3 | console.log(__dirname); | ||
4 | |||
5 | module.exports = { | ||
6 | context: __dirname, | ||
7 | entry: path.join(__dirname, '/src/index.ts'), | ||
8 | output: { | ||
9 | filename: 'index.js', | ||
10 | path: path.join(__dirname, 'lib'), | ||
11 | libraryTarget: 'commonjs2', | ||
12 | }, | ||
13 | module: { | ||
14 | rules: [{ | ||
15 | test: /\.tsx?$/, | ||
16 | loader: 'ts-loader', | ||
17 | exclude: /node_modules/, | ||
18 | }], | ||
19 | }, | ||
20 | resolve: { | ||
21 | extensions: ['.tsx', '.ts', '.js'], | ||
22 | }, | ||
23 | devtool: 'inline-source-map', | ||
24 | mode: process.env.NODE_ENV === 'development' ? 'development' : 'production', | ||
25 | }; | ||