@maggioli-design-system/magma-react 2.5.0 → 2.5.1
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/AGENTS.md +1 -1
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/agents/conventions.md +7 -0
- package/package.json +3 -2
package/AGENTS.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
-->
|
|
6
6
|
# @maggioli-design-system/magma-react - agent install guide
|
|
7
7
|
|
|
8
|
-
> Version 2.5.
|
|
8
|
+
> Version 2.5.1. You (the agent) are installing Magma into THIS project. Do not
|
|
9
9
|
> assume the setup - detect it from the project, then ask the user only for what you
|
|
10
10
|
> cannot infer. The detailed steps live in [`agents/install.md`](agents/install.md)
|
|
11
11
|
> (this target) and [`agents/assets.md`](agents/assets.md) (shared styles, fonts,
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ package.
|
|
|
7
7
|
It is released together with `magma`, at the same version: the sections are the
|
|
8
8
|
releases of `magma`.
|
|
9
9
|
|
|
10
|
+
## [magma@2.5.1] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- *(mds-stepper-bar-item)* Show the status of the step in its badge
|
|
15
|
+
- *(mds-input-range)* Draw a light thumb in dark, apart from the progress
|
|
16
|
+
- *(mds-input-range)* Keep the disabled colours in dark
|
|
17
|
+
- *(mds-input)* Show the validation messages in the language of the page
|
|
18
|
+
- *(mds-input-select)* Emit no change on load, before any selection
|
|
19
|
+
- *(mds-status-bar)* Keep the bar inside its area at 480px and less
|
|
20
|
+
- *(mds-keyboard)* Start the test with Enter without failing it at once
|
|
21
|
+
- *(mds-input)* Wait for the first blur to validate a required field
|
|
22
|
+
- *(mds-emoji)* Draw the emoji in Firefox, keep the inner svg flat
|
|
23
|
+
- *(mds-input)* Report maxlength and minlength under their own error keys
|
|
24
|
+
- *(stencil)* Give a page language with a region the texts of its base language
|
|
25
|
+
|
|
10
26
|
## [magma@2.5.0] - 2026-10-21
|
|
11
27
|
|
|
12
28
|
### Bug Fixes
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020-2026 Maggioli S.p.A.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/agents/conventions.md
CHANGED
|
@@ -173,6 +173,13 @@ Maggioli):
|
|
|
173
173
|
- Use the preference components / classes for high contrast and reduced motion - do not
|
|
174
174
|
hard-code those styles (see [`theming.md`](theming.md)).
|
|
175
175
|
|
|
176
|
+
## Language
|
|
177
|
+
|
|
178
|
+
- The texts of the components (labels, tooltips, validation messages) follow the language of
|
|
179
|
+
the page, `<html lang>`: Magma has them in `el`, `en`, `es` and `it`. A language with a
|
|
180
|
+
region gets the texts of its base language (`it-IT` and `it-CH` get `it`), and any other
|
|
181
|
+
language gets English. To let the user choose, add `mds-pref-language`.
|
|
182
|
+
|
|
176
183
|
## Styling components from outside
|
|
177
184
|
|
|
178
185
|
A component's styling API is what its `AGENTS.md` documents:
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/magma-react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"main": "dist/components.js",
|
|
5
6
|
"module": "dist/components.js",
|
|
6
7
|
"types": "dist/types/components.d.ts",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"access": "public"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@maggioli-design-system/magma": "2.5.
|
|
38
|
+
"@maggioli-design-system/magma": "2.5.1",
|
|
38
39
|
"@stencil/react-output-target": "1.6.5"
|
|
39
40
|
},
|
|
40
41
|
"repository": {
|