Commit Graph

80 Commits

Author SHA1 Message Date
renovate[bot]
a97e0babae ⬆️(dependencies) update js dependencies 2024-06-17 07:25:11 +02:00
renovate[bot]
3ef2d8b0d0 ⬆️(dependencies) update js dependencies 2024-06-10 18:04:48 +02:00
renovate[bot]
69cc847b62 ⬆️(dependencies) update js dependencies 2024-06-03 11:10:24 +02:00
renovate[bot]
79df983d0c ⬆️(dependencies) update js dependencies 2024-05-27 12:36:44 +02:00
renovate[bot]
0e98dfa1b7 ⬆️(dependencies) update js dependencies 2024-05-21 15:00:12 +02:00
renovate[bot]
737c8f4b4d ⬆️(dependencies) update js dependencies 2024-04-29 15:38:22 +02:00
renovate[bot]
91a7b2369f ⬆️(dependencies) update js dependencies 2024-03-11 16:29:45 +01:00
Nathan Vasse
1707ad0b66 📱(demo) make demo responsive
The responsive version of the demo app was buggy, so we need to
make it shiny!

Fixes #275
2024-02-28 17:19:32 +01:00
Nathan Vasse
ea39ea09fd 🔖(release) version packages
Bump @openfun/cunningham-react to 2.5.0
Bump cunningham-demo to 2.0.0
2024-02-21 16:43:45 +01:00
Nathan Vasse
3ef7744083 ♻️(demo) refactor Onboarding modal display
Here is a shorter way to achieve the same result as before.
2024-02-21 14:54:52 +01:00
Nathan Vasse
e9956829d1 ♻️(demo) remove ready flag
This workaround was used as a workaround because default opened modals
were causing a crash. See #269
2024-02-20 17:21:32 +01:00
renovate[bot]
95a6d6dec7 ⬆️(dependencies) update js dependencies 2024-02-19 17:24:21 +01:00
Nathan Vasse
10c9abf1d2 (demo) add delete confirmation modal
We want to showcase pre built modals in the demo.
2024-02-19 16:48:39 +01:00
jbpenrath
1adff4a165 💄(demo) fix layout issue
The previous fix introduces a new layout issue. Let's fix that properly.
..
2024-02-15 18:04:48 +01:00
jbpenrath
ea74307b9b 💄(demo) fix asset path and layout issue
Asset paths were wrong so once built the application contained broken
links. Then fix a layout issue.
2024-02-15 17:23:40 +01:00
jbpenrath
ec4fbb082c 💄(demo) improve some default style
Improve typography responsive and customize card design tokens for the
dark theme
2024-02-15 17:05:06 +01:00
jbpenrath
d119b79c3f (demo) add a footer
Add a footer to display some useful links
2024-02-15 17:05:06 +01:00
jbpenrath
bacd9446b4 (demo) add onboarding modal
On first visit, display an onboarding modal to explain the purpose of
this demo.
2024-02-15 17:05:06 +01:00
jbpenrath
86138df8fe (demo) use modal to show create form
Now that we have a modal component, let's use it to display our creation
 form.
2024-02-15 17:05:06 +01:00
jbpenrath
7913075faf 🍱(demo) change favicon application
Change favicon and title
2024-02-15 17:05:06 +01:00
jbpenrath
ca56ab32c7 💄(demo) add blueney theme
Add a dark theme inspired by another famous streaming platform with blue
 tint.
2024-02-15 17:05:06 +01:00
jbpenrath
270357bc7e 💄(demo) add reflux theme
Add a dark theme inspired by a famous streaming platform
with red tint.
2024-02-15 17:05:06 +01:00
jbpenrath
cd476ae82b (demo) improve create form submit
Take in account more fields. Use a form instead a ref to retrieve values
 easily.
2024-02-15 17:05:06 +01:00
jbpenrath
7320671589 💬(demo) transform gender form into sex
To stick to civil information we rename gender field to sex.
2024-02-15 17:05:06 +01:00
jbpenrath
0ade12251e (demo) add theme selector
As we aims to create several themes for this demo app, we add a select
to easily switch between all existing themes.
2024-02-15 17:05:06 +01:00
Nathan Vasse
a044367d41 👷(ci) deploy demo app on gh-pages
We want to provide a public access to our demo app.
2024-02-15 14:44:17 +01:00
renovate[bot]
364a15596a ⬆️(dependencies) update js dependencies 2024-02-12 11:37:18 +01:00
Nathan Vasse
1445f4a222 (react) add Modal
Here it is! Our really wanted Modal component, based on Figma sketches.
2024-02-05 15:23:03 +01:00
renovate[bot]
a92ef3244b ⬆️(dependencies) update js dependencies 2024-01-29 16:34:31 +01:00
Nathan Vasse
3616c72673 (demo) new demo
This new demo aims to take advantage of all the new Cunningham's
components. The old demo was kind of a draft, this new one gives
a better overview of what Cunningham is capable of.
2024-01-25 15:58:33 +01:00
renovate[bot]
b870fbb760 ⬆️(dependencies) update js dependencies 2024-01-22 17:29:30 +01:00
renovate[bot]
894bf5c155 ⬆️(dependencies) update js dependencies 2024-01-18 17:47:47 +01:00
renovate[bot]
08b5f75b38 ⬆️(dependencies) update js dependencies 2024-01-08 16:34:43 +01:00
renovate[bot]
bdf17929ba ⬆️(dependencies) update js dependencies 2023-12-12 11:13:30 +01:00
Nathan Vasse
66e55e9647 ⬇️(deps) downgrade Typescript to 5.2.2
This new Typescript version introduced a crash when executing ts-node
in order to run cunningham.ts file. We need to wait for ts-node
to update their package too. Please see the related issue:
https://github.com/microsoft/TypeScript/issues/56492
2023-11-27 12:34:30 +01:00
renovate[bot]
516cb4e8cb ⬆️(dependencies) update js dependencies 2023-11-27 12:34:30 +01:00
Nathan Vasse
b2866c1d2b 📌(deps) pin node to version 18
We force node to version 18 otherwise renovate will keep updating it
to version 20.
2023-11-21 17:00:07 +01:00
renovate[bot]
35d0821287 ⬆️(dependencies) update js dependencies 2023-11-21 17:00:07 +01:00
Nathan Vasse
b340272207 🔖(release) version packages
Bump @openfun/cunningham-react to 2.1.0
Bump cunningham-demo to 1.0.1
2023-11-03 11:19:31 +01:00
Lebaud Antoine
36eedc61c0 🩹(demo) update stylesheet to use modern SASS
Replaced deprecated '@import' with '@use' to align with best practices.
2023-10-24 20:32:42 +02:00
renovate[bot]
611eebf0a4 ⬆️(dependencies) update js dependencies 2023-10-18 15:19:12 +02:00
Nathan Vasse
c8c8a04832 🔖(release) version packages
Bump @openfun/cunningham-tokens to 2.0.0
Bump @openfun/cunningham-react to 2.0.0
Bump cunningham-demo to 1.0.0
2023-10-06 15:23:47 +02:00
Nathan Vasse
8b1dbd2f25 (demo) add themes handling
We now can switch theme directly inside the demo app.
2023-10-04 15:18:00 +02:00
renovate[bot]
6c3259a4ac ⬆️(dependencies) update js dependencies 2023-10-03 11:52:23 +02:00
Nathan Vasse
3e2d5994f3 ⬇️(deps) downgrade @types/react to 18.2.21
It was causing compilation issue when using React.StrictMode, see this
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/66841
2023-09-28 11:05:51 +02:00
renovate[bot]
f82aeee9ac ⬆️(dependencies) update js dependencies 2023-09-28 11:05:51 +02:00
renovate[bot]
be5559d9fe ⬆️(dependencies) update js dependencies 2023-09-12 15:28:58 +02:00
renovate[bot]
25b8f696ed ⬆️(dependencies) update js dependencies 2023-08-21 15:33:50 +02:00
Anthony Le Courric
6ea8544fed 🔨(project) add json, cjs and js extensions to prettier config
Prettier had some missing extensions in the config, this commit
added them, we then prettified the whole project. We
ignore the `cunningham-tokens` files.
2023-08-21 12:32:14 +02:00
Nathan Vasse
d85f9edac8 🚨(lint) update file for prettier 3.0.0
Prettier 3.0.0 comes with new standards so we need to upgrade our files
to comply with it.
2023-07-18 16:59:39 +02:00