Commit Graph

20 Commits

Author SHA1 Message Date
jbpenrath
c3934ce7f2 🔧(all) pin node to 16.15 for volta user
Volta.js is a tool to manage easily several versions of Node locally.
This tool is able to switch automatically to the right Node version by
parsing package.json of the project. So we run volta pin node@16.15 for
each of cunningham package.
2023-04-12 17:21:19 +02:00
Nathan Vasse
b0c6b88141 🔖(release) version packages
Bump @openfun/cunningham-react to 0.2.0
2023-03-30 14:20:38 +02:00
renovate[bot]
39352ed9f2 ⬆️(dependencies) update js dependencies 2023-03-29 17:40:25 +02:00
Nathan Vasse
1f0d890cb3 (fonts) allow async font loading
Vite automatically inline assets in CSS in lib mode and this is
hardcoded in it. After multiple approaches it seems that this one
is the most trivial and easy-to-maintain one.
2023-03-28 12:00:27 +02:00
Nathan Vasse
994d42578e (react) add DataGrid, SimpleDataGrid components
The DataGrid component can be considered as the core one, which provides
a full controlled component, but more complicated than SimpleDataGrid
which is based on DataGrid. SimpleDataGrid is intended to give a simple
ready-to-use data grid for client side data for example.
2023-03-28 12:00:27 +02:00
Nathan Vasse
980c80c784 (react) add material icons
We need some icons to implement the Pagination and the DataGrid.
2023-03-28 12:00:27 +02:00
jbpenrath
0274534234 (react) install storybook-a11y-addon
We need to ensure that our components are accessible. In order to ease
this task, we decide to install this package to display an a11y report
for each component into the storybook interface. In this way, developer
can check if the component it is developing violates or miss so a11y
rules.
2023-02-28 10:29:23 +01:00
Nathan Vasse
8ad95945a8 🔖(release) version packages
Bump cunningham-demo to 0.0.1
Bump @openfun/cunningham-react to 0.1.1
Bump @openfun/cunningham-tokens to 0.1.1
2023-02-21 18:32:04 +01:00
Nathan Vasse
cd88e46537 ♻️(react) split fonts in a seperate CSS file
Fonts were de-facto included in the bundled dist/style.css file which
wasn't convenient in situations were consumers wanted to import fonts
by themselves.
2023-02-21 09:29:24 +01:00
Nathan Vasse
89138e0a5a 🔖(release) version packages
Bump @openfun/cunningham-tokens to 0.1.0
Bump @openfun/cunningham-react to 0.1.0
2023-01-31 16:19:10 +01:00
Nathan Vasse
e2204a1234 👷(ci) add changeset to handle package releases and changelog
We needed a tool to automate the handling of monorepo's changelogs and
packages publishing. We want to make the CI responsible to automatically
publish bumped packages and create associated tags.
2023-01-30 17:47:34 +01:00
Nathan Vasse
c032e2e951 (react) publish storybook to github pages
In order to make the storybook visible to everyone. Some changes
had to be made to make index.scss compiled with the rest of the
codebase, it had to be imported from preview.js, not directly from
preview.html.
2023-01-20 17:26:06 +01:00
Nathan Vasse
54fd376e91 📝(doc) create docs for utility classes
In order to showcase the utility classes, we needed to create
beautiful tokens-based docs !
2023-01-20 17:00:31 +01:00
Nathan Vasse
8f5e546f04 ⬆️(react) upgrade package to use official tokens
... and install user-event library. Setting the stage for
the implementation of real tokens in the Button component.
2023-01-18 11:29:33 +01:00
Nathan Vasse
be1c9d000b (react) add tokens.ts files handling
These files will be used to define the custom design tokens per components.
They are automatically aggregated by the packages/react/cunningham.ts file,
this is why handling typescript config file was important.
2023-01-11 11:01:56 +01:00
renovate[bot]
8ff8aec39f ⬆️(dependencies) update js dependencies 2023-01-05 14:24:28 +01:00
Nathan Vasse
f47b1a721e 📌(dependencies) pin vitest to 0.25.7
Vitest 0.26.0 was causing crashes during tests. I posted an issue here
https://github.com/vitest-dev/vitest/issues/2531
2022-12-22 10:16:38 +01:00
renovate[bot]
b1b0037cad ⬆️(dependencies) update js dependencies 2022-12-22 10:16:38 +01:00
renovate[bot]
9aa8f89017 ⬆️(dependencies) update js dependencies 2022-12-13 10:44:28 +01:00
Nathan Vasse
75f2617726 (components) add react repo
This repo only contains a Button which is here only for demonstration purpose.
Its purpose is to contain all the future react-based components of the
design system.
2022-12-07 17:07:18 +01:00