229 Commits

Author SHA1 Message Date
Joseph Garrone
9cb6b73607 Remove the usePrepareTemplate hook 2024-05-10 22:15:33 +02:00
Joseph Garrone
f8bf54835d Effort toward reconsiliating the server templating and the react world 2024-05-10 02:45:01 +02:00
Joseph Garrone
9e21b5cb93 New mechanism for dynamically loading css and js (checkpoint) 2024-05-09 18:04:31 +02:00
Joseph Garrone
a6f7f8ff49 Remove comment 2024-05-07 20:56:56 +02:00
Joseph Garrone
03e728fe04 Load scripts after component rendered #470 2024-05-07 20:04:27 +02:00
Joseph Garrone
879e376bd4 Actually use the doUseDefaultCss param in useClassName 2024-05-06 17:00:29 +02:00
Joseph Garrone
8d1c19bf1c Update prepare template for Keycloak 24 2024-04-13 01:26:41 +02:00
Joseph Garrone
6a7b472c0e #535 2024-04-10 03:19:46 +02:00
Joseph Garrone
6991d868be Set html lang property and page title in usePrepareTemplate 2024-04-10 01:38:59 +02:00
Joseph Garrone
d9c406800a Fix tests 2024-02-12 23:57:21 +01:00
Joseph Garrone
d80a583979 Better test for isStorybook 2024-02-12 23:42:31 +01:00
Joseph Garrone
05e5e4efec When is storybook, don't print mock related warning in console 2024-02-11 00:21:04 +01:00
Joseph Garrone
334ec1870a Throw if unrecognized bundler when getting BASE_URL for mocks 2024-02-10 20:40:41 +01:00
Joseph Garrone
bda76200d7 Base url that works everywhere in mocks 2024-02-10 19:51:24 +01:00
Joseph Garrone
1f79a8f7dc Deprecate keycloakJsAdapter 2024-02-09 17:52:03 +01:00
Joseph Garrone
36f404e17d Preserve css order 2023-10-09 00:49:35 +02:00
garronej
2b252c9abb npm install missing resources 2023-08-20 03:00:45 +02:00
garronej
cf1e595ba2 Clean up dynamically inserted assets when template is unmounted #274 2023-04-19 03:20:22 +02:00
garronej
c9e546a8fd Fix numerous bugs, improve structure 2023-03-21 05:27:31 +01:00
garronej
1ea0f4c339 Fix usePrepareTemplate 2023-03-21 03:01:49 +01:00
garronej
5b4aeca63c Done implementing the templates and the two first pages 2023-03-20 05:14:25 +01:00
garronej
41c0329822 Move everything under the login dir 2023-03-19 23:12:45 +01:00
garronej
cd70d90914 Refactor completed 2023-03-19 14:48:01 +01:00
garronej
0608adde89 Better naming convention for i18n API 2023-03-19 13:54:39 +01:00
garronej
16d18f23a1 Refactor of the main component and i18n 2023-03-18 18:54:33 +01:00
garronej
5631ae1b6c Better naming convention 2023-03-18 18:27:50 +01:00
garronej
43e4dd6bb6 Fix build for real 2023-03-18 16:17:33 +01:00
garronej
babffd1fe6 Make the project compile 2023-03-18 06:14:05 +01:00
garronej
4b89d15c1e progressing 2023-03-17 20:40:29 +01:00
garronej
0040464ca1 Move lib up one level 2023-03-16 22:43:09 +01:00
garronej
79997efbb6 First commit towars supporting account theme 2023-03-16 22:13:46 +01:00
garronej
1a0fee1aa2 Make things cleaner 2023-03-08 23:21:32 +01:00
garronej
dfe909606e Deprecate useFormValidationSlice 2023-03-08 22:24:51 +01:00
garronej
53c0079656 Use extract instead of subtype to ease copy paste into theme repo 2023-02-27 11:55:25 +01:00
garronej
b712ed0421 Avoid using tsafe utils to avoid forcing user to install tsafe 2023-02-27 11:32:00 +01:00
garronej
d13464df3d Get rid of the ReactComponent type, classes based component are no longer used 2023-02-27 11:29:05 +01:00
garronej
96c488880c Abstract away Template logic 2023-02-27 10:39:22 +01:00
garronej
2251c84171 Use the new syntax for importing as type 2023-02-26 16:37:06 +01:00
garronej
5cfe78dcd1 Update prettier config 2023-02-26 15:39:03 +01:00
garronej
6a48325132 Be more relax on the type safety to avoir headache 2023-02-26 15:37:52 +01:00
garronej
294be0a79a see prev commit 2023-02-26 15:36:52 +01:00
garronej
c94b264b44 Don't need a dir for a single file 2023-02-26 15:36:35 +01:00
garronej
7220c4e3e3 Fix deepAssign 2023-02-26 15:35:57 +01:00
garronej
5aadeba2ec fix clsx 2023-02-26 15:35:30 +01:00
garronej
0f47a5b6ba Small Template refactor 2023-02-25 20:11:55 +01:00
garronej
37073b42be Avoir introducing breaking changes for CSS only setup 2023-02-25 19:19:46 +01:00
garronej
837501c948 Refactor 2023-02-25 18:26:39 +01:00
garronej
b300966fa8 Refactor and get rid of unessesary dependencies 2023-02-25 18:11:23 +01:00
garronej
8702ec29a8 Drop dependency to @emotion/react 2022-10-16 00:49:49 +02:00
garronej
c71c2a8710 Fix breaking change of 6.8 2022-10-15 15:39:32 +02:00