220 Commits

Author SHA1 Message Date
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
garronej
688455d0aa #191: Enable to only customize the Template 2022-10-13 11:58:31 +02:00
Joseph Garrone
5e1c5b510b
Merge pull request #185 from Mstrodl/feature/mstrodl/webauthn-authenticate
Add support for `webauthn-authenticate.ftl`
2022-10-06 20:41:31 +02:00
Mary Strodl
9e63183f4b
WebauthnAuthenticate: refactor authentication flow
Lots of weird syntax here, and we were using `useCallback` rather than
`useConstCallback`.
2022-10-06 14:25:04 -04:00
garronej
ce4ea55438 Add a big red warning when kcContext mock is enabled 2022-10-06 01:08:07 +02:00
garronej
8807743daf Ignore mock when in Keycloak: https://github.com/InseeFrLab/keycloakify/discussions/186#discussioncomment-3809320 2022-10-06 00:36:46 +02:00
Mary Strodl
4b3ae58ea7
Add support for webauthn-authenticate.ftl
Wow! This one sucks. Certainly more in need of review compared to
`login-username.ftl` and `login-password.ftl`...
2022-10-05 02:54:03 -04:00
Mary Strodl
6a0a170b17
Add support for login-password.ftl 2022-10-04 15:01:08 -04:00
Mary Strodl
e3a0639a0c
Add login-username support
Shown for the "Username Form" login step.

I would also like to work on:
- `login-password.ftl`
- `webauthn-authenticate.ftl`

But first want to see opinions on this!
2022-10-04 11:22:03 -04:00
garronej
ff16e66275 #177: Provide a simple way to disable fetching of default resources 2022-09-27 21:30:33 +02:00