Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update time-picker custom CSS properties tables (#7727) (CP: 24.4) #7729

Merged
merged 1 commit into from
Aug 30, 2024
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
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
Loading