@inchurch/matcha-theme 22.13.0 → 22.14.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.
@@ -210,8 +210,12 @@
210
210
  flex: 1;
211
211
  min-width: 0;
212
212
 
213
- // Body inteiro some se nenhum slot interno tem conteúdo.
214
- &:not(:has(.matcha-notification__title > *, .matcha-notification__description > *)) {
213
+ // Body inteiro some se nenhum slot interno tem conteúdo. Checa `:not(:empty)`
214
+ // (não `> *`) porque description é o slot default sem `select` — texto puro
215
+ // interpolado é o uso documentado (ver page-matcha-notification), sem elemento
216
+ // wrapper. `> *` só capturava conteúdo em elemento, escondendo o body inteiro
217
+ // quando a description era só texto (ex.: `<matcha-notification>{{ msg }}</matcha-notification>`).
218
+ &:not(:has(.matcha-notification__title:not(:empty), .matcha-notification__description:not(:empty))) {
215
219
  display: none;
216
220
  }
217
221
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inchurch/matcha-theme",
3
- "version": "22.13.0",
3
+ "version": "22.14.1",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {