@klodd/ds 3.0.0 → 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.
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);
@@ -48,6 +48,13 @@
48
48
  margin: 0;
49
49
  }
50
50
 
51
+ /* HTML5 hidden-attribut ska respekteras - default UA-stylesheet ger
52
+ display:none men paketets display:inline-flex kan over-rida det.
53
+ Explicit regel saker att hidden alltid vinner. */
54
+ .inline-edit__form[hidden] {
55
+ display: none;
56
+ }
57
+
51
58
  .inline-edit__input {
52
59
  display: inline-block;
53
60
  height: 32px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klodd/ds",
3
- "version": "3.0.0",
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": [