@vaadin/crud
Advanced tools
Comparing version 23.0.0-beta2 to 23.0.0-beta3
{ | ||
"name": "@vaadin/crud", | ||
"version": "23.0.0-beta2", | ||
"version": "23.0.0-beta3", | ||
"publishConfig": { | ||
@@ -37,15 +37,14 @@ "access": "public" | ||
"@open-wc/dedupe-mixin": "^1.3.0", | ||
"@polymer/iron-media-query": "^3.0.0", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/button": "23.0.0-beta2", | ||
"@vaadin/component-base": "23.0.0-beta2", | ||
"@vaadin/confirm-dialog": "23.0.0-beta2", | ||
"@vaadin/dialog": "23.0.0-beta2", | ||
"@vaadin/form-layout": "23.0.0-beta2", | ||
"@vaadin/grid": "23.0.0-beta2", | ||
"@vaadin/text-field": "23.0.0-beta2", | ||
"@vaadin/button": "23.0.0-beta3", | ||
"@vaadin/component-base": "23.0.0-beta3", | ||
"@vaadin/confirm-dialog": "23.0.0-beta3", | ||
"@vaadin/dialog": "23.0.0-beta3", | ||
"@vaadin/form-layout": "23.0.0-beta3", | ||
"@vaadin/grid": "23.0.0-beta3", | ||
"@vaadin/text-field": "23.0.0-beta3", | ||
"@vaadin/vaadin-license-checker": "^2.1.0", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-beta2", | ||
"@vaadin/vaadin-material-styles": "23.0.0-beta2", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-beta2" | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-beta3", | ||
"@vaadin/vaadin-material-styles": "23.0.0-beta3", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-beta3" | ||
}, | ||
@@ -57,3 +56,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "a276f7a0fd00e5459b87267468e0dd0d4fb6f7f3" | ||
"gitHead": "4c87216666541f9eb58f56c475964727822aad53" | ||
} |
@@ -6,2 +6,3 @@ /** | ||
*/ | ||
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js'; | ||
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; | ||
@@ -241,3 +242,3 @@ import { GridFilterDefinition, GridSorterDefinition } from '@vaadin/grid/src/vaadin-grid.js'; | ||
*/ | ||
declare class Crud<Item> extends ElementMixin(ThemableMixin(HTMLElement)) { | ||
declare class Crud<Item> extends ControllerMixin(ElementMixin(ThemableMixin(HTMLElement))) { | ||
/** | ||
@@ -244,0 +245,0 @@ * A reference to all fields inside the [`_form`](#/elements/vaadin-crud#property-_form) element |
@@ -6,3 +6,2 @@ /** | ||
*/ | ||
import '@polymer/iron-media-query/iron-media-query.js'; | ||
import '@vaadin/button/src/vaadin-button.js'; | ||
@@ -18,3 +17,5 @@ import '@vaadin/dialog/src/vaadin-dialog.js'; | ||
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js'; | ||
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; | ||
import { MediaQueryController } from '@vaadin/component-base/src/media-query-controller.js'; | ||
import { SlotMixin } from '@vaadin/component-base/src/slot-mixin.js'; | ||
@@ -153,2 +154,3 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
* @extends HTMLElement | ||
* @mixes ControllerMixin | ||
* @mixes ElementMixin | ||
@@ -158,3 +160,3 @@ * @mixes SlotMixin | ||
*/ | ||
class Crud extends SlotMixin(ElementMixin(ThemableMixin(PolymerElement))) { | ||
class Crud extends SlotMixin(ControllerMixin(ElementMixin(ThemableMixin(PolymerElement)))) { | ||
static get template() { | ||
@@ -164,2 +166,4 @@ return html` | ||
:host { | ||
width: 100%; | ||
height: 400px; | ||
--vaadin-crud-editor-max-height: 40%; | ||
@@ -173,4 +177,2 @@ --vaadin-crud-editor-max-width: 40%; | ||
flex-direction: column; | ||
height: 400px; | ||
flex: 1 1 100%; | ||
align-self: stretch; | ||
@@ -182,2 +184,3 @@ position: relative; | ||
#main { | ||
flex: 1 1 100%; | ||
height: 100%; | ||
@@ -316,4 +319,2 @@ } | ||
></vaadin-confirm-dialog> | ||
<iron-media-query query="[[_fullscreenMediaQuery]]" query-matches="{{_fullscreen}}"></iron-media-query> | ||
`; | ||
@@ -696,2 +697,8 @@ } | ||
this.__propagateHostAttributes(); | ||
this.addController( | ||
new MediaQueryController(this._fullscreenMediaQuery, (matches) => { | ||
this._fullscreen = matches; | ||
}) | ||
); | ||
} | ||
@@ -698,0 +705,0 @@ |
100055
13
2547
+ Added@vaadin/button@23.0.0-beta3(transitive)
+ Added@vaadin/checkbox@23.0.0-beta3(transitive)
+ Added@vaadin/component-base@23.0.0-beta3(transitive)
+ Added@vaadin/confirm-dialog@23.0.0-beta3(transitive)
+ Added@vaadin/dialog@23.0.0-beta3(transitive)
+ Added@vaadin/field-base@23.0.0-beta3(transitive)
+ Added@vaadin/form-layout@23.0.0-beta3(transitive)
+ Added@vaadin/grid@23.0.0-beta3(transitive)
+ Added@vaadin/icon@23.0.0-beta3(transitive)
+ Added@vaadin/input-container@23.0.0-beta3(transitive)
+ Added@vaadin/text-field@23.0.0-beta3(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.0.0-beta3(transitive)
+ Added@vaadin/vaadin-material-styles@23.0.0-beta3(transitive)
+ Added@vaadin/vaadin-overlay@23.0.0-beta3(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.0.0-beta3(transitive)
- Removed@polymer/iron-media-query@^3.0.0
- Removed@polymer/iron-media-query@3.0.1(transitive)
- Removed@vaadin/button@23.0.0-beta2(transitive)
- Removed@vaadin/checkbox@23.0.0-beta2(transitive)
- Removed@vaadin/component-base@23.0.0-beta2(transitive)
- Removed@vaadin/confirm-dialog@23.0.0-beta2(transitive)
- Removed@vaadin/dialog@23.0.0-beta2(transitive)
- Removed@vaadin/field-base@23.0.0-beta2(transitive)
- Removed@vaadin/form-layout@23.0.0-beta2(transitive)
- Removed@vaadin/grid@23.0.0-beta2(transitive)
- Removed@vaadin/icon@23.0.0-beta2(transitive)
- Removed@vaadin/input-container@23.0.0-beta2(transitive)
- Removed@vaadin/text-field@23.0.0-beta2(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.0.0-beta2(transitive)
- Removed@vaadin/vaadin-material-styles@23.0.0-beta2(transitive)
- Removed@vaadin/vaadin-overlay@23.0.0-beta2(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.0.0-beta2(transitive)
Updated@vaadin/button@23.0.0-beta3
Updated@vaadin/dialog@23.0.0-beta3
Updated@vaadin/grid@23.0.0-beta3