GRI-2168: 0.2.0 - shared buttons, layout, notifications and components #1

Merged
vivy merged 1 commit from feature/GRI-2168-shared-components into dev 2026-11-17 07:25:46 +00:00
Owner

Moves the design pieces that signage had added locally into the package, and releases them as 0.2.0 (MINOR: nothing existing changes colour or name).

  • gx-btn--neutral (new) for every non-destructive action. gx-btn--danger (new) for destructive ones; gx-btn--secondary stays as the old name of the same red.
  • Generic layout and feedback styles from signage: gx-field, gx-progress, gx-actions, gx-list*, gx-app-*, gx-section*, gx-note--dismissible, gx-notification*.
  • @grimoirix/design/components: NotificationsProvider, useNotifications, DismissibleError, SectionNav, SectionLayout. Labels are props with English defaults, so a translated project passes its own words.
  • The example page used the red style on "See the colors"; now neutral.
  • README: a shared look is changed in this template first, never only in a project (GRI-2168).

npm run check passes (generated files current, prettier, tsc).

Moves the design pieces that signage had added locally into the package, and releases them as **0.2.0** (MINOR: nothing existing changes colour or name). - `gx-btn--neutral` (new) for every non-destructive action. `gx-btn--danger` (new) for destructive ones; `gx-btn--secondary` stays as the old name of the same red. - Generic layout and feedback styles from signage: `gx-field`, `gx-progress`, `gx-actions`, `gx-list*`, `gx-app-*`, `gx-section*`, `gx-note--dismissible`, `gx-notification*`. - `@grimoirix/design/components`: `NotificationsProvider`, `useNotifications`, `DismissibleError`, `SectionNav`, `SectionLayout`. Labels are props with English defaults, so a translated project passes its own words. - The example page used the red style on "See the colors"; now neutral. - README: a shared look is changed in this template first, never only in a project (GRI-2168). `npm run check` passes (generated files current, prettier, tsc).
Signage had these only in its own stylesheet and components. They now live
in the package so every project uses the same ones:

- gx-btn--neutral for every non-destructive action; gx-btn--danger for
  destructive ones, with gx-btn--secondary kept as its old name
- gx-field, gx-progress, gx-actions, gx-list*, gx-app-*, gx-section*,
  gx-note--dismissible, gx-notification*
- ts/components.tsx: NotificationsProvider, useNotifications,
  DismissibleError, SectionNav, SectionLayout, with translatable labels
- README: shared look changes go into this template first
vivy merged commit 9868a7f2ad into dev 2026-11-17 07:25:46 +00:00
vivy deleted branch feature/GRI-2168-shared-components 2026-11-17 07:25:46 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoirix-frontend-template!1
No description provided.