Commit Graph

115 Commits

Author SHA1 Message Date
jbpenrath
a6681d19ed 📦(all) update packages namespace
Change packages namespace from `@openfun` to `@gouvfr-lasuite`.
2025-11-03 14:43:08 +01:00
jbpenrath
6097929593 🚚(global) update paths and urls after ownership transfer
This repository has been recently transfered from openfun to lasuitenumerique.
We need to fix some paths and urls especially to fix documentation and README
2025-11-03 14:43:08 +01:00
Nathan Vasse
a2aa9c2e14 🔖(release) version packages
Bump repo for new tokens architecture.
2025-09-23 17:13:00 +02:00
Nathan Vasse
6b610714e2 (tokens) fix tests
The last inline snapshot was not correct, maybe due to recent changes
and fixes after.
2025-09-23 15:58:43 +02:00
Nathan Vasse
759b1d5e53 ♻️(tokens) export appropriate types
The previous version was hard coding tokens.
2025-09-23 15:58:43 +02:00
Nathan Panchout
f93a83655c (demo) update demo app
Update the demo app to make it work with new tokens.
2025-09-23 15:58:43 +02:00
Nathan Panchout
afeddd5850 ♻️(tokens) refactor tokens architectures
Rework the way the object is structured.
2025-09-23 15:58:43 +02:00
Nathan Panchout
e24845b427 ♻️(tokens) improve tokens generation algo
This way the code is more readable, it makes easier the future
maintenability.
2025-09-23 15:58:43 +02:00
Nathan Panchout
bccdebd770 🎨(react) update theme tokens and structure
This commit introduces a comprehensive update to the theme tokens in the
Cunningham package. The previous color definitions have been replaced
with a new structure that includes global color tokens for branding and
contextual elements. Additionally, the SCSS and JS files have been
refactored to align with this new token architecture, enhancing
maintainability and ensuring a cohesive design system across the
application. The TypeScript configuration has also been updated to
support JSX syntax.
2025-09-23 15:58:43 +02:00
Nathan Panchout
146a8a20b3 ♻️(tokens) refactor tokens architectures
This commit introduces a significant refactor of the color and
typography tokens in the Cunningham package. The previous structure has
been replaced with a more comprehensive and organized format, including
new color definitions for branding, contextual backgrounds, and content.
Additionally, the font sizes, weights, and families have been updated to
align with the new design system. This change enhances the overall
maintainability and scalability of the token system.
2025-09-23 15:58:43 +02:00
renovate[bot]
cf6cf55bae ⬆️(dependencies) update js dependencies 2025-05-05 17:56:15 +02:00
renovate[bot]
186d163050 ⬆️(dependencies) update js dependencies 2025-03-31 11:31:24 +02:00
renovate[bot]
fee0ef4ea5 ⬆️(dependencies) update js dependencies 2025-03-18 10:44:16 +01:00
jbpenrath
0852403442 🔖(release) version packages
Bump to @openfun/cunningham-tokens 2.2.0
Bump to @openfun/cunningham-react 3.0.0
2025-01-08 11:21:35 +01:00
jbpenrath
1c1300b9ef ⬆️(tokens) migrate commander.js to 13.x from 12.x
Shortcut argument with several chars are no more accepted so we have to
rename `-cwd` option to `-w`.
2025-01-08 11:02:50 +01:00
renovate[bot]
5718c0b8d1 ⬆️(dependencies) update js dependencies 2025-01-08 11:02:50 +01:00
renovate[bot]
a3eadc50db ⬆️(dependencies) update js dependencies 2024-08-20 13:51:29 +02:00
jbpenrath
06d32d9af6 ⬆️(global) upgrade node to 20.x
We are currently using version 18 of node but some packages now requires
 at least node 20.x. As this the LTS version, we upgrade your codebase
 to this version.
2024-07-29 14:46:52 +02:00
renovate[bot]
537dbc7fdd ⬆️(dependencies) update js dependencies 2024-07-29 14:46:52 +02:00
renovate[bot]
b5ed0e957f ⬆️(dependencies) update js dependencies 2024-07-08 11:05:02 +02:00
renovate[bot]
a15b2fdef4 ⬆️(dependencies) update js dependencies 2024-07-01 14:52:26 +02:00
renovate[bot]
2c16f01168 ⬆️(dependencies) update js dependencies 2024-06-24 17:08:48 +02:00
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
c667d51a11 🔖(release) version packages
Bump @openfun/cunningham-tokens to 2.1.1
Bump @openfun/cunningham-react to 2.6.0
2024-03-04 15:50:15 +01:00
Nathan Vasse
4fbd75cdcf 🐛(tokens) fix invalid sass with comma
The generated sass from tokens containing commas, like font families was
not valid due to the way maps are made in sass. So we wrap those value
in quotes.
2024-02-28 17:19:32 +01:00
renovate[bot]
95a6d6dec7 ⬆️(dependencies) update js dependencies 2024-02-19 17:24:21 +01:00
Nathan Vasse
009714a89d ♻️(tokens) migrate to Commander 12.0.0
Commander changed the way they throw errors and our implementations was
causing issue with tests.
2024-02-12 11:37:18 +01:00
renovate[bot]
364a15596a ⬆️(dependencies) update js dependencies 2024-02-12 11:37:18 +01:00
renovate[bot]
a92ef3244b ⬆️(dependencies) update js dependencies 2024-01-29 16:34:31 +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
Nathan Vasse
3dd7b3ef8e 🔖(release) version packages
Bump @openfun/cunningham-react to 2.4.0
Bump @openfun/cunningham-tokens to 2.1.0
2023-12-12 11:39:32 +01:00
renovate[bot]
bdf17929ba ⬆️(dependencies) update js dependencies 2023-12-12 11:13:30 +01:00
Nathan Vasse
5e3deb2399 (tokens) add breakpoints tokens
We need those to be able to make components responsive.
2023-12-12 11:04:25 +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
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
cce8eccf5b (theme) add themes management
This is made in order to be able to handle natively multiple themes
for the future light/dark themes and also allow consumers to create
their own.
2023-10-04 15:18:00 +02:00
Nathan Vasse
f232ae1e44 🔨(tokens) add Figma to Cunningham script
This script converts Figma's Tokens Studio JSON exports to Cunningham
compatible format. This is just intended to be used by core devs.
2023-10-04 15:18:00 +02:00
renovate[bot]
6c3259a4ac ⬆️(dependencies) update js dependencies 2023-10-03 11:52:23 +02:00