Skip to content

Commit

Permalink
docs: update time-picker custom CSS properties tables (#7727) (#7729)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
  • Loading branch information
vaadin-bot and web-padawan authored Aug 30, 2024
1 parent 5889e3c commit b2dae86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions packages/time-picker/src/vaadin-time-picker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,11 @@ export interface TimePickerEventMap extends HTMLElementEventMap, TimePickerCusto
*
* The following custom properties are available for styling:
*
* Custom property | Description | Default
* ----------------------------------------|----------------------------|---------
* `--vaadin-field-default-width` | Default width of the field | `12em`
* `--vaadin-combo-box-overlay-max-height` | Max height of the overlay | `65vh`
* Custom property | Description | Default
* -----------------------------------------|----------------------------|---------
* `--vaadin-field-default-width` | Default width of the field | `12em`
* `--vaadin-time-picker-overlay-width` | Width of the overlay | `auto`
* `--vaadin-time-picker-overlay-max-height`| Max height of the overlay | `65vh`
*
* `<vaadin-time-picker>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
Expand Down
9 changes: 5 additions & 4 deletions packages/time-picker/src/vaadin-time-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ registerStyles('vaadin-time-picker', inputFieldShared, { moduleId: 'vaadin-time-
*
* The following custom properties are available for styling:
*
* Custom property | Description | Default
* ----------------------------------------|----------------------------|---------
* `--vaadin-field-default-width` | Default width of the field | `12em`
* `--vaadin-combo-box-overlay-max-height` | Max height of the overlay | `65vh`
* Custom property | Description | Default
* -----------------------------------------|----------------------------|---------
* `--vaadin-field-default-width` | Default width of the field | `12em`
* `--vaadin-time-picker-overlay-width` | Width of the overlay | `auto`
* `--vaadin-time-picker-overlay-max-height`| Max height of the overlay | `65vh`
*
* `<vaadin-time-picker>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
* See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
Expand Down

0 comments on commit b2dae86

Please sign in to comment.