@vaadin/master-detail-layout 24.8.0-alpha11 → 24.8.0-alpha12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/master-detail-layout",
3
- "version": "24.8.0-alpha11",
3
+ "version": "24.8.0-alpha12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/a11y-base": "24.8.0-alpha11",
38
- "@vaadin/component-base": "24.8.0-alpha11",
39
- "@vaadin/vaadin-lumo-styles": "24.8.0-alpha11",
40
- "@vaadin/vaadin-material-styles": "24.8.0-alpha11",
41
- "@vaadin/vaadin-themable-mixin": "24.8.0-alpha11",
37
+ "@vaadin/a11y-base": "24.8.0-alpha12",
38
+ "@vaadin/component-base": "24.8.0-alpha12",
39
+ "@vaadin/vaadin-lumo-styles": "24.8.0-alpha12",
40
+ "@vaadin/vaadin-material-styles": "24.8.0-alpha12",
41
+ "@vaadin/vaadin-themable-mixin": "24.8.0-alpha12",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/chai-plugins": "24.8.0-alpha11",
45
+ "@vaadin/chai-plugins": "24.8.0-alpha12",
46
46
  "@vaadin/testing-helpers": "^1.1.0",
47
47
  "sinon": "^18.0.0"
48
48
  },
@@ -50,5 +50,5 @@
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "be9c2d59f4b63ae58e85ccb3dfb78d5af2d2ac8a"
53
+ "gitHead": "60050031f788a34bfe2d7f595ada9cea6e60b09c"
54
54
  }
@@ -76,6 +76,10 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
76
76
  display: none;
77
77
  }
78
78
 
79
+ :host([orientation='horizontal']) [part='master'] {
80
+ max-width: 100%;
81
+ }
82
+
79
83
  /* Overlay mode */
80
84
  :host(:is([overlay], [stack])) {
81
85
  position: relative;
@@ -97,7 +101,7 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
97
101
  z-index: 1;
98
102
  }
99
103
 
100
- :host([overlay]) [part='detail'] {
104
+ :host(:is([overlay], [stack])) [part='detail'] {
101
105
  z-index: 1;
102
106
  }
103
107
 
@@ -112,10 +116,6 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
112
116
  inset-block-start: 0;
113
117
  }
114
118
 
115
- :host([overlay][orientation='horizontal']) [part='master'] {
116
- max-width: 100%;
117
- }
118
-
119
119
  /* No fixed size */
120
120
  :host(:not([has-master-size])) [part='master'],
121
121
  :host(:not([has-detail-size])) [part='detail'] {
@@ -148,7 +148,7 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
148
148
  }
149
149
 
150
150
  /* Min size */
151
- :host([has-master-min-size][orientation='horizontal']:not([overlay])) [part='master'] {
151
+ :host([has-master-min-size][has-detail][orientation='horizontal']:not([overlay]):not([stack])) [part='master'] {
152
152
  min-width: var(--_master-min-size);
153
153
  }
154
154
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "24.8.0-alpha11",
4
+ "version": "24.8.0-alpha12",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "24.8.0-alpha11",
4
+ "version": "24.8.0-alpha12",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {