@ptlm-azulejo/loader 1.1.3 → 1.1.4-alpha.264

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/CHANGELOG.md +83 -0
  2. package/package.json +2 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,83 @@
1
+ # Change Log
2
+
3
+ ## 1.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 9b1ef57: Declare the MIT license in each package's `package.json` (matching the repo `LICENSE.md`).
8
+
9
+ ## 1.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 06a62d2: Keep publishing the stylesheet as `./style.css`. Vite 6 stopped hardcoding that name in library mode and started deriving it from the entry name, which would have moved the file to `index.css` and broken the documented import path. The entry points and type definitions are unchanged.
14
+ - 19ed560: Rebuild on Vite 8, which bundles with Rolldown and minifies CSS with Lightning CSS. The ESM, CJS and type entry points are unchanged, and `vue` stays external in both the ESM build and the UMD global. The published CSS is equivalent but slightly larger, because Lightning CSS expands shorthands to match the configured build target.
15
+
16
+ ## 1.1.2
17
+
18
+ ### Patch Changes
19
+
20
+ - fbbee70: Formatting-only release. The repository adopted Prettier as its single
21
+ formatting authority, and every shipped file was reformatted in one pass: the
22
+ theme and font stylesheets (published verbatim, so their bytes change), each
23
+ package's README, and the component sources behind `dist/`.
24
+
25
+ No public API, prop, slot, event, CSS variable, class name or rendered output
26
+ changed. Upgrading requires nothing, and skipping this version costs nothing.
27
+
28
+ One internal cleanup rides along in `AzSegmentedControl`: a dead `null`
29
+ initializer and the unreachable branch guarding it were removed from the
30
+ keyboard handler. Arrow / Home / End navigation behaves exactly as before.
31
+
32
+ ## 1.1.1
33
+
34
+ ### Patch Changes
35
+
36
+ - e5341cd: Documentation. Every package README now spells out both brands end to end instead
37
+ of showing one snippet with an "or" comment: which preset stylesheet to import,
38
+ which `.preset-*` class goes on `<html>` to select the theme at runtime,
39
+ `data-theme` for light/dark, and which font package the project needs (Leroy
40
+ Merlin → `@ptlm-azulejo/fonts-leroy-merlin`, Adeo → `@ptlm-azulejo/fonts-adeo`).
41
+
42
+ No component behaviour, prop or token changed. The patch bump exists because npm
43
+ ships `README.md` inside the tarball and renders it as the package page, so the
44
+ corrected instructions only reach consumers on a release.
45
+
46
+ ## 1.1.0
47
+
48
+ ### Minor Changes
49
+
50
+ - eb0b0f8: Make components follow the brand typeface, add the medium (500) font weight, and
51
+ expose stable `data-testid` hooks.
52
+
53
+ - Each preset now names its brand's typeface in `--font-family`
54
+ (`presets/leroy-merlin.css` → LeroyMerlin, `presets/adeo.css` → Roboto), with
55
+ `Arial, sans-serif` as the fallback stack.
56
+ - Components apply that typeface on their root, so they follow the active brand
57
+ instead of inheriting the host page's font. Opt out per component by setting
58
+ `--font-family: inherit` on it.
59
+ - `base.css` adds `--font-weight-medium: 500`, alongside the existing regular
60
+ (400), semi-bold (600) and bold (700) weights.
61
+ - Every component now exposes `data-testid` on its root and on meaningful
62
+ sub-parts (`button` / `button-spinner`, `loader` / `loader-text`,
63
+ `datepicker` / `datepicker-clear`, `segmented-control` /
64
+ `segmented-control-segment`), so tests can target them without depending on
65
+ CSS class names.
66
+
67
+ As with upstream Mozaic, the presets **name** the typeface but ship no
68
+ `@font-face` and no font binaries — loading the files stays the app's job, so you
69
+ keep control of hosting, subsetting and preload. Until you load them the fallback
70
+ stack renders and nothing breaks. Install the font package matching your brand
71
+ alongside the preset:
72
+
73
+ ```bash
74
+ # Leroy Merlin
75
+ yarn add @ptlm-azulejo/themes @ptlm-azulejo/fonts-leroy-merlin
76
+ # Adeo
77
+ yarn add @ptlm-azulejo/themes @ptlm-azulejo/fonts-adeo
78
+ ```
79
+
80
+ See the Fonts section of `packages/themes/README.md` for the full recipe.
81
+
82
+ All notable changes to this project will be documented in this file.
83
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@ptlm-azulejo/loader",
3
- "version": "1.1.3",
3
+ "version": "1.1.4-alpha.264",
4
+ "license": "MIT",
4
5
  "type": "module",
5
6
  "main": "./dist/index.umd.cjs",
6
7
  "module": "./dist/index.js",