49 Commits

Author SHA1 Message Date
2399046b1b fix(widgets): update gaufre CSS layout 2026-03-06 11:41:06 +00:00
Nathan Panchout
f1cafd2267 🐛(widgets) fix the show more apps button label
- Fixed the logic for the "show more" button text to correctly reflect
the current state.
- Updated button color for better visibility and adjusted styles by
removing the minimum width constraint.
2025-11-26 11:06:32 +01:00
Nathan Panchout
86392eb40b (widgets) update gaufre V2 ui/ux
- Header and footer are displayed by default in mobile mode, but never
in desktop mode.
- show only the first 6 services and add view_more button
2025-11-26 10:07:56 +01:00
Sylvain Zimmer
720ee9f4f0 (widgets) import widgets code from Messages and setup Docker workflow (#33)
This adds Gaufre v2 with source, documentation, examples and built artefacts.
Also includes the feedback widget from Messages.
2025-11-19 15:18:21 +01:00
Emmanuel Pelletier
e64d79aa76 integration v1.0.3 2025-04-17 17:50:08 +02:00
Emmanuel Pelletier
ef0d56f169 docs: explain how to publish a new integration package 2025-04-17 17:49:28 +02:00
Emmanuel Pelletier
1c09b66c58 integration package: fix build errors 2025-04-17 17:49:28 +02:00
Emmanuel Pelletier
6626989652 integration package: update logos to match the ones in la gaufre 2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
979ec77f34 new rdv logo with a red+blue color 2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
6acead848e gaufre: better visually mark button focus
don't know why I didn't do that earlier? Match DSFR styling when
keyboard-focusing the gaufre button
2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
e47ac65e80 gaufre: follow disclosure aria pattern
- add aria attributes on load with the gaufre api script so that people
already using la gaufre don't necessarely *have* to update their code
- add the aria patterns in given code examples/react components. In some
cases, our small page load JS code isn't enough: for example on SPAs
where gaufre buttons might be loaded after page load.

thanks @inseo
2025-04-17 17:27:58 +02:00
Emmanuel Pelletier
3f678131a8 gaufre: improve styling when gaufre is manually used in a popup
this is basically for tchap as of now, they are the only ones using this
2025-02-27 17:50:34 +01:00
Emmanuel Pelletier
39f1ba7fb2 rdv logo: make it the same size as others 2025-02-27 16:52:59 +01:00
Adrien Di Pasquale
cc9f1ac0b0 Mise à jour du logo de RDV Service Public 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
effa2c0ff1 update dependencies 2025-02-27 16:52:59 +01:00
Emmanuel Pelletier
df4096c4e5 integration v1.0.2 2024-06-28 11:17:59 +02:00
Emmanuel Pelletier
462d07bb3f integration: new grist logo 2024-06-28 11:17:34 +02:00
Emmanuel Pelletier
addcb4e41b integration v1.0.1 2024-05-16 15:27:26 +02:00
Emmanuel Pelletier
991e526f79 integration: fix france-transfert/tchap/webconf logos 2024-05-16 15:21:19 +02:00
Emmanuel Pelletier
18e900c2d0 integration v1.0.0 2024-05-16 10:48:07 +02:00
Emmanuel Pelletier
3740f45b70 integration: easily view all service homepages 2024-05-16 10:44:37 +02:00
Emmanuel Pelletier
a85907ee39 integration: new service logos 2024-05-16 10:38:37 +02:00
Emmanuel Pelletier
741cd35f13 integration: v1.0.8 2024-05-15 20:49:30 +02:00
Emmanuel Pelletier
4b64642837 gaufre: new variant props to impact sizing
this is done to integrate the button more easily in an app using the
DSFR heading
2024-05-15 20:47:31 +02:00
Emmanuel Pelletier
d741b0595b integration: new description prop to easily add content under tagline 2024-05-15 15:30:53 +02:00
Emmanuel Pelletier
a253bd76df integration v0.1.6 2024-05-15 10:08:56 +02:00
Emmanuel Pelletier
9e278d3499 gaufre: go back to "tertiary" DSFR style border
not found of the lesser border contrast color but the DSFR does it, and
we can argue the color of the icon itself is contrasted
enough/positioned correctly to understand it's clickable
2024-05-15 10:01:33 +02:00
Emmanuel Pelletier
dc4af950d1 gaufre: add a "button pressed" style 2024-05-15 09:59:19 +02:00
Emmanuel Pelletier
1618bb1d1b gaufre: hide it if the server is unavailable
use visiblity: hidden instead of display: none to prevent layout shifts.
2024-05-15 09:52:42 +02:00
Emmanuel Pelletier
bdf31c94a0 gaufre: handle DSFR dark theme 2024-05-15 09:49:31 +02:00
Emmanuel Pelletier
5399c75379 integration v0.1.5 (last published version had wrong env vars… oops) 2024-05-15 08:08:53 +02:00
Emmanuel Pelletier
3d230aa545 integration v0.1.4 2024-05-15 07:51:01 +02:00
Emmanuel Pelletier
84bcb5181a integration: homepage tagline breaklines are not shown on mobile
breaklines on small width devices made everything look weird, just hide
them by default
2024-05-15 07:47:21 +02:00
Emmanuel Pelletier
f2a0491c2e integration: remove an old padding on custom content example
this is not necessary anymore
2024-05-15 07:45:56 +02:00
Emmanuel Pelletier
32a70597f9 integration v0.1.3 2024-05-07 22:38:23 +02:00
Emmanuel Pelletier
63d34d2315 api/gaufre: make sure the popup is shown in the viewport
small test that anchors the popup to the left of the viewport, this
quickly fixes the popup going out of viewport if the Gaufre button is
used on the left of a header bar
2024-05-07 22:11:54 +02:00
Emmanuel Pelletier
b3500634dc integration/dev: adding a gaufre.css testing page
we now can quickly test the gaufre component in a DSFR env and in a
custom env
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
744e35f4db integration/chore: use a dev-specific folder:
- allows us to easily differentiate the exposed components of the npm
package vs the dev-only ones
- allows the postcss config to purgecss correctly for production build,
we do not include the classes seen in the dev components
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
adfe80f52a integration/buttons: fix spacing issue in proconnect button
- buttons are now back to their default display mode (the one from
.fr-btn), we just change a bit the proconnect style to match figma
design while fixing the spacing issue at the bottom of the button there
was
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
1385839f00 integration/homepage: use less spacing utility classes for clarity
utility classes are great but since these are meant to be reused easily
by copy/pasting the code I feel like having less clutter in the
classnames is better
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
07d335ac7c integration/homepage-background: fix image size
the API returns a 1900x1200 image, make sure we use the correct size
here
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
76a5bf289a integration/tagline: do not output a <br> at the end 2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
6f6d4ebf65 integration/homepage: better styling on homepagecontent:
- the tagline now has a wrapper in case we want to add other content
inside the white box
- we ditch the 50/50 column logic so that the tagline takes the space it
needs
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
25572b6f06 integration/header: apply red border on the header, not the container
this makes more sense as sometimes we'll want to use only the header
without the whole homepage
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
2a12f312c2 integration/styles: better style scopingwhen using embedded dsfr
- the CSS that included the DSFR excerpt we needed styled some base html
tags directly. It might collide with a service CSS already there. Now a
postcss plugin applies a CSS prefix to everything
- we output in the lib two DSFR file versions: one with prefixed
selectors, one raw.
2024-05-07 20:42:03 +02:00
Emmanuel Pelletier
e4c341d6d0 export more CSS to enable more precise usage of CSS imports 2024-05-02 13:27:43 +02:00
Emmanuel Pelletier
54c3a545b7 integration v0.1.1 2024-05-02 12:10:44 +02:00
Emmanuel Pelletier
ab7cf18638 adding services to the gaufre button
hiding audioconf for now as i dont have any logo
2024-05-02 12:07:25 +02:00
Emmanuel Pelletier
d9859f1564 first commit:
- we have a static astro website under /website. It has the
implementation docs of the homepage/gaufre templates, and it handles the
few API endpoints (the gaufre js, backgrounds, logos)
- we have a vite app under /packages/integration. It has the react
components generating the homepage and the gaufre button, and their css.
Its used to generate an npm package
2024-05-02 00:35:38 +02:00