@ptlm-azulejo/themes 1.4.0-alpha.211 → 1.4.0-alpha.239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -4
- package/base.css +11 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
+
- ed67497: Add `AzToaster` (`@ptlm-azulejo/toaster`) aligned with Mozaic `MToaster`: a temporary overlay notification with `v-model:open`, required `description`, `status` (`info` / `success` / `warning` / `error`), `position` (`top` / `bottom` / `top-center` / `bottom-center`), optional close button, a **3000ms** default auto-dismiss timeout (override with `timeout`, or pass `0` to disable), a depleting timeout progress bar powered by `AzLinearProgressBar`, an `undoAction` prop with an Undo action button that defaults to the label **Undo**, an `actionLabel` prop for i18n overrides, an `action` slot for custom actions, `--toaster-z-index`, and a typed `:ui` escape hatch. Status glyphs come from `@ptlm-azulejo/icons`.
|
|
8
|
+
|
|
9
|
+
Also ships `AzToasterGroup` + `useToast()` for PrimeVue-style multi-toast stacks: **first in, last out** (newest on top), collapsed overlap in `stacked` mode, full list on hover/focus, timers paused while expanded, `limit`, `gap`, and `expanded` mode. Each toast keeps its own auto-dismiss clock from the moment it was added — adding another toast does not restart the others.
|
|
10
|
+
|
|
11
|
+
Themes gain inverse status tokens (`--color-status-inverse-background-*` and `--color-status-inverse-standalone-*`) so toasters follow the Mozaic dark overlay surfaces.
|
|
12
|
+
|
|
7
13
|
- 66c7a93: Add `--color-background-disabled` (`#d9d9d9`)(from Design System), the Mozaic disabled surface shared by form and action controls.
|
|
8
14
|
- 2d3e3ab: Add `AzTag` (`@ptlm-azulejo/tag`) aligned with Mozaic `MTag`: informative, interactive, contextualised, removable, and selectable types, with sizes, `v-model`, `remove-tag`, an `iconClass` prop for `@ptlm-azulejo/icons` glyphs, and a `:ui` escape hatch. Props are a discriminated union on `type`, so TypeScript requires `id` and `name` for selectable tags and `id` for removable tags.
|
|
9
15
|
|
|
10
16
|
Themes gain shared disabled tokens (`--color-background-disabled`, `--color-text-disabled`) and brand tag color tokens (`--color-tag-*`) so tags follow `.preset-lm` / `.preset-adeo` and light/dark at runtime.
|
|
11
17
|
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- 85ee58d: Add `AzNumberBadge` — a circular numeric indicator for notifications and counts, with `appearance`, `size` (`s`, `m`, `l`), and `:ui` props. Theme package now ships Mozaic number-badge color tokens in `base.css`.
|
|
15
|
-
|
|
16
18
|
## 1.3.2
|
|
17
19
|
|
|
18
20
|
### Patch Changes
|
package/base.css
CHANGED
|
@@ -90,17 +90,18 @@
|
|
|
90
90
|
--color-success-600: #188803;
|
|
91
91
|
--color-success-700: #006902;
|
|
92
92
|
|
|
93
|
+
/* Inverse status surfaces (dark overlays: toaster). Brand-agnostic
|
|
94
|
+
Mozaic values — the same on Leroy Merlin and Adeo. */
|
|
95
|
+
--color-status-inverse-background-info: #002a41;
|
|
96
|
+
--color-status-inverse-background-success: #023618;
|
|
97
|
+
--color-status-inverse-background-warning: #360e00;
|
|
98
|
+
--color-status-inverse-background-error: #2d0000;
|
|
99
|
+
--color-status-inverse-standalone-info: #3facd7;
|
|
100
|
+
--color-status-inverse-standalone-success: #78be20;
|
|
101
|
+
--color-status-inverse-standalone-warning: #ef934a;
|
|
102
|
+
--color-status-inverse-standalone-error: #ef5f5c;
|
|
103
|
+
|
|
93
104
|
/* ── Disabled (Mozaic semantic, brand-agnostic) ─────────────── */
|
|
94
105
|
--color-background-disabled: #d9d9d9;
|
|
95
106
|
--color-text-disabled: #737373;
|
|
96
|
-
|
|
97
|
-
/* ── Number badge (Mozaic semantic, brand-agnostic) ─────────── */
|
|
98
|
-
--number-badge-color-background-standard: #464e63;
|
|
99
|
-
--number-badge-color-background-accent: #117f03;
|
|
100
|
-
--number-badge-color-background-danger: #c61112;
|
|
101
|
-
--number-badge-color-background-inverse: #ffffff;
|
|
102
|
-
--number-badge-color-text-standard: #ffffff;
|
|
103
|
-
--number-badge-color-text-accent: #ffffff;
|
|
104
|
-
--number-badge-color-text-danger: #ffffff;
|
|
105
|
-
--number-badge-color-text-inverse: #464e63;
|
|
106
107
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ptlm-azulejo/themes",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.239",
|
|
4
4
|
"description": "Multi-brand theme tokens (Leroy Merlin, Adeo) for the @ptlm-azulejo components, aligned with the Mozaic Design System.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|