@ptlm-azulejo/button 2.1.0-alpha.76 → 2.1.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/CHANGELOG.md +0 -114
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptlm-azulejo/button",
3
- "version": "2.1.0-alpha.76",
3
+ "version": "2.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
package/CHANGELOG.md DELETED
@@ -1,114 +0,0 @@
1
- # Change Log
2
-
3
- ## 2.1.0
4
-
5
- ### Minor Changes
6
-
7
- - eb0b0f8: Make components follow the brand typeface, add the medium (500) font weight, and
8
- expose stable `data-testid` hooks.
9
-
10
- - Each preset now names its brand's typeface in `--font-family`
11
- (`presets/leroy-merlin.css` → LeroyMerlin, `presets/adeo.css` → Roboto), with
12
- `Arial, sans-serif` as the fallback stack.
13
- - Components apply that typeface on their root, so they follow the active brand
14
- instead of inheriting the host page's font. Opt out per component by setting
15
- `--font-family: inherit` on it.
16
- - `base.css` adds `--font-weight-medium: 500`, alongside the existing regular
17
- (400), semi-bold (600) and bold (700) weights.
18
- - Every component now exposes `data-testid` on its root and on meaningful
19
- sub-parts (`button` / `button-spinner`, `loader` / `loader-text`,
20
- `datepicker` / `datepicker-clear`, `segmented-control` /
21
- `segmented-control-segment`), so tests can target them without depending on
22
- CSS class names.
23
-
24
- As with upstream Mozaic, the presets **name** the typeface but ship no
25
- `@font-face` and no font binaries — loading the files stays the app's job, so you
26
- keep control of hosting, subsetting and preload. Until you load them the fallback
27
- stack renders and nothing breaks. Install the font package matching your brand
28
- alongside the preset:
29
-
30
- ```bash
31
- # Leroy Merlin
32
- yarn add @ptlm-azulejo/themes @ptlm-azulejo/fonts-leroy-merlin
33
- # Adeo
34
- yarn add @ptlm-azulejo/themes @ptlm-azulejo/fonts-adeo
35
- ```
36
-
37
- See the Fonts section of `packages/themes/README.md` for the full recipe.
38
-
39
- ## 2.0.0
40
-
41
- ### Major Changes
42
-
43
- - 53000f7: Add Mozaic-aligned multi-brand theming support.
44
-
45
- - New `@ptlm-azulejo/themes` package with structural/status tokens in `base.css`
46
- and brand presets selected by a root class (`presets/leroy-merlin.css`,
47
- `presets/adeo.css`), via `.preset-lm` / `.preset-adeo` and `data-theme` for
48
- light/dark.
49
- - `AzButton` now consumes theme tokens through utilities mapped in
50
- `@theme inline`, working across both brands and in light/dark.
51
-
52
- **BREAKING:** components no longer bake brand colors. The consumer must now
53
- import `@ptlm-azulejo/themes/base.css` + a preset and apply the
54
- `.preset-lm`/`.preset-adeo` class (and optional `data-theme="dark"`) on the root
55
- element; otherwise components render uncolored. See the migration notes in
56
- `packages/themes/README.md`.
57
-
58
- All notable changes to this project will be documented in this file.
59
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
60
-
61
- ## [1.3.2](https://github.com/aplemes/library-components/compare/@ptlm-azulejo/button@1.3.1...@ptlm-azulejo/button@1.3.2) (2026-03-12)
62
-
63
- **Note:** Version bump only for package @ptlm-azulejo/button
64
-
65
- ## [1.3.1](https://github.com/aplemes/library-components/compare/@ptlm-azulejo/button@1.3.0...@ptlm-azulejo/button@1.3.1) (2026-03-12)
66
-
67
- **Note:** Version bump only for package @ptlm-azulejo/button
68
-
69
- # 1.3.0 (2026-03-12)
70
-
71
- ### Bug Fixes
72
-
73
- - [US-064] Button - align appearance prop and classObject with mozaic-vue ([152da0b](https://github.com/aplemes/library-components/commit/152da0bfcb05daec46a21cc35e361809d8d0d4fd))
74
- - revert Button default slot text to 'Button Label' ([2cbf624](https://github.com/aplemes/library-components/commit/2cbf624bf1a1f1ea79f7e294c4912a9c7d6247d5))
75
-
76
- ### Features
77
-
78
- - [US-002] - Align Button with mozaic-vue reference ([def8c29](https://github.com/aplemes/library-components/commit/def8c291c8eb9245181f667bcb40a0bacce2a63a))
79
- - [US-002] - Pacote de design tokens (@leroy-merlin-pt/tokens) ([2793d72](https://github.com/aplemes/library-components/commit/2793d72c8205c84ee428699b9d0679a6b791babb))
80
- - [US-003] - Migrar componente Button do Mozaic (@leroy-merlin-pt/button) ([e5fb1c5](https://github.com/aplemes/library-components/commit/e5fb1c5a66560920b8c64014e4e08ca147beb794))
81
- - [US-004] - Componente Input (@leroy-merlin-pt/input) ([a2a7894](https://github.com/aplemes/library-components/commit/a2a7894b057cab6b350a0b7e45cef7eea86e7a24))
82
- - add full documentation, unified Storybook and component generator ([02ec178](https://github.com/aplemes/library-components/commit/02ec178e5c5ce4f1cf75efdcbabe33d7fd9d20f9))
83
- - add README docs to all packages and align Button, IconButton, Input components ([a4df103](https://github.com/aplemes/library-components/commit/a4df103eef20c4c76f532125ae287b93223e1be4))
84
- - migrate org to [@ptlm-azulejo](https://github.com/azulejo-kit) and add Az component prefix ([c31ba38](https://github.com/aplemes/library-components/commit/c31ba38c12562e2f662b07444eca0fba1a4fe8bc))
85
- - test new release flow on Button ([b6014c0](https://github.com/aplemes/library-components/commit/b6014c028b3175a41d2ec5a737fd71b18138643b))
86
- - update Button default label and default color ([16ff665](https://github.com/aplemes/library-components/commit/16ff66512a078307efd656f21da9d913c40ff87a))
87
-
88
- # [1.2.0](https://github.com/aplemes/library-components/compare/@leroy-merlin-pt/button@1.1.3...@leroy-merlin-pt/button@1.2.0) (2026-03-12)
89
-
90
- ### Features
91
-
92
- - update Button default label and default color ([16ff665](https://github.com/aplemes/library-components/commit/16ff66512a078307efd656f21da9d913c40ff87a))
93
-
94
- ## [1.1.2](https://github.com/aplemes/library-components/compare/@leroy-merlin-pt/button@1.1.1...@leroy-merlin-pt/button@1.1.2) (2026-03-11)
95
-
96
- **Note:** Version bump only for package @leroy-merlin-pt/button
97
-
98
- ## [1.1.1](https://github.com/aplemes/library-components/compare/@leroy-merlin-pt/button@1.1.0...@leroy-merlin-pt/button@1.1.1) (2026-03-11)
99
-
100
- ### Bug Fixes
101
-
102
- - revert Button default slot text to 'Button Label' ([2cbf624](https://github.com/aplemes/library-components/commit/2cbf624bf1a1f1ea79f7e294c4912a9c7d6247d5))
103
-
104
- # [1.1.0](https://github.com/aplemes/library-components/compare/@leroy-merlin-pt/button@1.0.3...@leroy-merlin-pt/button@1.1.0) (2026-03-11)
105
-
106
- ### Features
107
-
108
- - test new release flow on Button ([b6014c0](https://github.com/aplemes/library-components/commit/b6014c028b3175a41d2ec5a737fd71b18138643b))
109
-
110
- ## [1.0.3](https://github.com/aplemes/library-components/compare/@leroy-merlin-pt/button@1.0.2...@leroy-merlin-pt/button@1.0.3) (2026-03-11)
111
-
112
- ### Bug Fixes
113
-
114
- - [US-064] Button - align appearance prop and classObject with mozaic-vue ([152da0b](https://github.com/aplemes/library-components/commit/152da0bfcb05daec46a21cc35e361809d8d0d4fd))