Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions packages/crud/src/vaadin-crud.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,27 @@ export * from './vaadin-crud-mixin.js';
* `footer` | The footer of the dialog
* `content` | The wrapper for the form
*
* The following custom properties are available:
*
* Custom Property | Description | Default
* ----------------|----------------
* --vaadin-crud-editor-max-height | max height of editor when opened on the bottom | 40%
* --vaadin-crud-editor-max-width | max width of editor when opened on the side | 40%
* The following custom CSS properties are available for styling:
*
* Custom CSS property |
* :--------------------------------------|
* | `--vaadin-crud-background` |
* | `--vaadin-crud-border-color` |
* | `--vaadin-crud-border-radius` |
* | `--vaadin-crud-border-width` |
* | `--vaadin-crud-editor-max-height` |
* | `--vaadin-crud-editor-max-width` |
* | `--vaadin-crud-footer-background` |
* | `--vaadin-crud-footer-gap` |
* | `--vaadin-crud-footer-padding` |
* | `--vaadin-crud-form-padding` |
* | `--vaadin-crud-header-color` |
* | `--vaadin-crud-header-font-size` |
* | `--vaadin-crud-header-font-weight` |
* | `--vaadin-crud-header-line-height` |
* | `--vaadin-crud-header-padding` |
* | `--vaadin-crud-toolbar-background` |
* | `--vaadin-crud-toolbar-padding` |
*
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
*
Expand Down
27 changes: 21 additions & 6 deletions packages/crud/src/vaadin-crud.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,27 @@ import { CrudMixin } from './vaadin-crud-mixin.js';
* `footer` | The footer of the dialog
* `content` | The wrapper for the form
*
* The following custom properties are available:
*
* Custom Property | Description | Default
* ----------------|----------------
* --vaadin-crud-editor-max-height | max height of editor when opened on the bottom | 40%
* --vaadin-crud-editor-max-width | max width of editor when opened on the side | 40%
* The following custom CSS properties are available for styling:
*
* Custom CSS property |
* :--------------------------------------|
* | `--vaadin-crud-background` |
* | `--vaadin-crud-border-color` |
* | `--vaadin-crud-border-radius` |
* | `--vaadin-crud-border-width` |
* | `--vaadin-crud-editor-max-height` |
* | `--vaadin-crud-editor-max-width` |
* | `--vaadin-crud-footer-background` |
* | `--vaadin-crud-footer-gap` |
* | `--vaadin-crud-footer-padding` |
* | `--vaadin-crud-form-padding` |
* | `--vaadin-crud-header-color` |
* | `--vaadin-crud-header-font-size` |
* | `--vaadin-crud-header-font-weight` |
* | `--vaadin-crud-header-line-height` |
* | `--vaadin-crud-header-padding` |
* | `--vaadin-crud-toolbar-background` |
* | `--vaadin-crud-toolbar-padding` |
*
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
*
Expand Down
Loading