@vaadin/dialog 25.0.0-beta7 → 25.0.0-rc1

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/dialog",
3
- "version": "25.0.0-beta7",
3
+ "version": "25.0.0-rc1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,23 +36,23 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
- "@vaadin/component-base": "25.0.0-beta7",
40
- "@vaadin/lit-renderer": "25.0.0-beta7",
41
- "@vaadin/overlay": "25.0.0-beta7",
42
- "@vaadin/vaadin-themable-mixin": "25.0.0-beta7",
39
+ "@vaadin/component-base": "25.0.0-rc1",
40
+ "@vaadin/lit-renderer": "25.0.0-rc1",
41
+ "@vaadin/overlay": "25.0.0-rc1",
42
+ "@vaadin/vaadin-themable-mixin": "25.0.0-rc1",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/a11y-base": "25.0.0-beta7",
47
- "@vaadin/chai-plugins": "25.0.0-beta7",
48
- "@vaadin/test-runner-commands": "25.0.0-beta7",
46
+ "@vaadin/a11y-base": "25.0.0-rc1",
47
+ "@vaadin/chai-plugins": "25.0.0-rc1",
48
+ "@vaadin/test-runner-commands": "25.0.0-rc1",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.0.0-beta7",
50
+ "@vaadin/vaadin-lumo-styles": "25.0.0-rc1",
51
51
  "sinon": "^21.0.0"
52
52
  },
53
53
  "web-types": [
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "f12f14c37d2c0a72f708baff4a95230168d58dcc"
57
+ "gitHead": "cea5e86ad18824e5631b63c11150b4d7701869c5"
58
58
  }
@@ -132,19 +132,34 @@ const dialogResizableOverlay = css`
132
132
  [part='content'] {
133
133
  flex: 1;
134
134
  min-height: 0;
135
- }
136
-
137
- :host([overflow]) [part='content'] {
138
135
  overflow: auto;
139
136
  overscroll-behavior: contain;
137
+ clip-path: border-box;
138
+ }
139
+
140
+ [part='header'],
141
+ :host(:not([has-header])) [part='content'] {
142
+ border-top-left-radius: inherit;
143
+ border-top-right-radius: inherit;
144
+ }
145
+
146
+ [part='footer'],
147
+ :host(:not([has-footer])) [part='content'] {
148
+ border-bottom-left-radius: inherit;
149
+ border-bottom-right-radius: inherit;
140
150
  }
141
151
 
142
152
  .resizer-container {
143
153
  display: flex;
144
154
  flex-direction: column;
145
155
  flex-grow: 1;
146
- border-radius: inherit;
147
156
  max-width: 100%;
157
+ border-radius: calc(
158
+ var(--vaadin-dialog-border-radius, var(--vaadin-radius-l)) - var(
159
+ --vaadin-dialog-border-width,
160
+ var(--vaadin-overlay-border-width, 1px)
161
+ )
162
+ );
148
163
  }
149
164
 
150
165
  :host(:not([resizable])) .resizer {
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/dialog",
4
- "version": "25.0.0-beta7",
4
+ "version": "25.0.0-rc1",
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/dialog",
4
- "version": "25.0.0-beta7",
4
+ "version": "25.0.0-rc1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {