@klodd/ds 3.0.1 → 3.0.2

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/css/base/pwa.css +8 -0
  2. package/package.json +1 -1
package/css/base/pwa.css CHANGED
@@ -36,6 +36,14 @@ body {
36
36
  overscroll-behavior: contain; /* stoppar pull-to-refresh-konflikter */
37
37
  }
38
38
 
39
+ /* HTML5 hidden-attribut respekteras alltid - oavsett vilken display-property
40
+ en komponent satter sig sjalv. Default UA-stylesheet har display:none for
41
+ [hidden] men en mer specifik komponentregel (t.ex. .my-form { display: flex })
42
+ kan over-rida det. !important saker att hidden alltid vinner. */
43
+ [hidden] {
44
+ display: none !important;
45
+ }
46
+
39
47
  /* Globala fokusringar - alltid synliga vid keyboard-navigation, aldrig vid tap. */
40
48
  :focus-visible {
41
49
  outline: 2px solid var(--border-focus);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klodd/ds",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Klodd Design System - shared tokens, typography, components and JS for Jubb, Ekonom, and future apps. v2.0 inkluderar all komponentkod och delad JS - app-repona haller bara data och affarslogik.",
5
5
  "main": "css/index.css",
6
6
  "files": [