@maggioli-design-system/magma-react 2.7.0 → 2.9.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.
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.7.0. You (the agent) are installing Magma into THIS project. Do not
8
+ > Version 2.9.0. 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,51 @@ 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.9.0] - 2026-10-27
11
+
12
+ ### Bug Fixes
13
+
14
+ - *(mds-book)* Keep the publisher of a drawn cover inside its bottom edge
15
+
16
+ ### Documentation
17
+
18
+ - *(magma)* The CI of a commit on main is its merge-group run
19
+ - *(mds-book)* Show the spine by its depth and the four ways of the publisher
20
+
21
+ ### Features
22
+
23
+ - *(mds-book)* Print the author under the title where the spine has room
24
+ - *(mds-book)* Print the mark of the publisher with publisher-logo
25
+
26
+ ### Styling
27
+
28
+ - *(mds-book)* Set the title of the book in the face of the titles
29
+
30
+ ## [magma@2.8.0] - 2026-10-26
31
+
32
+ ### Bug Fixes
33
+
34
+ - *(mds-emoji)* Give every part its transform origin once, so a blink leaves no offset
35
+ - *(mds-filter)* Leave the gap of a field under the label of a filter
36
+ - *(magma)* One full stop after a deprecation in the props of AGENTS.md
37
+ - *(mds-input-range)* In dark the thumb takes the ink of the progress, as a switch that is on
38
+ - *(mds-calendar-cell)* A weekend day inside a range takes the text of the selection
39
+ - *(mds-modal)* On a narrow screen a full window leaves a strip of backdrop with the close button
40
+ - *(mds-modal)* The built-in close button shows at every position, in a strip of backdrop
41
+
42
+ ### Documentation
43
+
44
+ - *(mds-header)* A header without a menu slot needs no menu="none"
45
+ - *(stencil)* Open four Pattern files with the form that shows the component
46
+
47
+ ### Features
48
+
49
+ - *(mds-table-row)* The background of the actions box as a public read-only property
50
+ - *(mds-toast,mds-banner)* Dismissible, with deletable as a deprecated name
51
+ - *(lint)* No-deprecated reports a deprecated prop, with what to use instead
52
+ - *(magma)* Say where each component is in the published Storybook
53
+ - *(mds-push-notification-item)* Dismissible, with deletable as a deprecated name
54
+
10
55
  ## [magma@2.7.0] - 2026-10-24
11
56
 
12
57
  ### Bug Fixes
package/agents/lint.md CHANGED
@@ -101,8 +101,8 @@ npx stylelint "src/**/*.{css,scss}"
101
101
  ```
102
102
 
103
103
  An error is something broken or not accessible; a warning of `recommended` is a colour that
104
- does not follow the mode, the named theme and the contrast preference, or a custom property a
105
- component may change in any release. When a rule is wrong about Magma itself, report it
104
+ does not follow the mode, the named theme and the contrast preference, a custom property a
105
+ component may change in any release, or a prop the next major removes. When a rule is wrong about Magma itself, report it
106
106
  ([`reporting.md`](reporting.md)) instead of disabling it.
107
107
 
108
108
  ## Rules
@@ -112,6 +112,7 @@ component may change in any release. When a rule is wrong about Magma itself, re
112
112
  | [`valid-attribute-values`](#valid-attribute-values) | ESLint | error | error |
113
113
  | [`no-false-boolean`](#no-false-boolean) | ESLint | error | error |
114
114
  | [`accessible-name`](#accessible-name) | ESLint | error | error |
115
+ | [`no-deprecated`](#no-deprecated) | ESLint | warn | error |
115
116
  | [`no-raw-palette-classes`](#no-raw-palette-classes) | ESLint, Stylelint | warn | error |
116
117
  | [`no-color-scheme-override`](#no-color-scheme-override) | Stylelint | error | error |
117
118
  | [`no-raw-color`](#no-raw-color) | Stylelint | warning | error |
@@ -175,6 +176,23 @@ Left alone, because one element does not show its name: an element with an `id`
175
176
  `mds-tooltip` with `relation="label"`, or an `aria-labelledby` elsewhere, may name it) and
176
177
  one that spreads its props (`{...props}`).
177
178
 
179
+ ### no-deprecated
180
+
181
+ A deprecated prop still works, and the next major removes it. The message quotes its
182
+ `@deprecated` text, which says what to use instead; the component's `AGENTS.md` marks the
183
+ same props as **Deprecated**.
184
+
185
+ ```html
186
+ <!-- INCORRECT: deletable is the old name of dismissible -->
187
+ <mds-toast visible deletable duration="0">Invio non riuscito</mds-toast>
188
+
189
+ <!-- CORRECT -->
190
+ <mds-toast visible dismissible duration="0">Invio non riuscito</mds-toast>
191
+ ```
192
+
193
+ A prop set by a binding is reported too (`[deletable]="true"`, `deletable={true}`): the name is
194
+ deprecated, whatever its value.
195
+
178
196
  ### no-raw-palette-classes
179
197
 
180
198
  A colour class names a role ([`color.md`](color.md)), never Tailwind's palette (`bg-white`,
@@ -9,6 +9,7 @@ export const MdsBanner = /*@__PURE__*/ createComponent({
9
9
  variant: 'variant',
10
10
  tone: 'tone',
11
11
  hideCockade: 'hide-cockade',
12
+ dismissible: 'dismissible',
12
13
  deletable: 'deletable',
13
14
  headline: 'headline',
14
15
  icon: 'icon'
@@ -15,6 +15,7 @@ export const MdsBook = /*@__PURE__*/ createComponent({
15
15
  pages: 'pages',
16
16
  pose: 'pose',
17
17
  publisher: 'publisher',
18
+ publisherLogo: 'publisher-logo',
18
19
  src: 'src'
19
20
  },
20
21
  hydrateModule: typeof window === 'undefined' ? import('@maggioli-design-system/magma/hydrate') : undefined,
@@ -8,6 +8,7 @@ export const MdsPushNotificationItem = /*@__PURE__*/ createComponent({
8
8
  properties: {
9
9
  datetime: 'datetime',
10
10
  dateFormat: 'date-format',
11
+ dismissible: 'dismissible',
11
12
  deletable: 'deletable',
12
13
  icon: 'icon',
13
14
  initials: 'initials',
@@ -11,6 +11,7 @@ export const MdsToast = /*@__PURE__*/ createComponent({
11
11
  variant: 'variant',
12
12
  tone: 'tone',
13
13
  position: 'position',
14
+ dismissible: 'dismissible',
14
15
  deletable: 'deletable'
15
16
  },
16
17
  hydrateModule: typeof window === 'undefined' ? import('@maggioli-design-system/magma/hydrate') : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/magma-react",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/components.js",
6
6
  "module": "dist/components.js",
@@ -35,7 +35,7 @@
35
35
  "access": "public"
36
36
  },
37
37
  "dependencies": {
38
- "@maggioli-design-system/magma": "2.7.0",
38
+ "@maggioli-design-system/magma": "2.9.0",
39
39
  "@stencil/react-output-target": "1.6.5"
40
40
  },
41
41
  "repository": {