Skip to content

Commit f637844

Browse files
docs: add split-layout base style properties to JSDoc (#10657) (#10664)
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
1 parent 20350e6 commit f637844

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

packages/split-layout/src/vaadin-split-layout.d.ts

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,20 @@ export interface SplitLayoutEventMap extends HTMLElementEventMap, SplitLayoutCus
142142
*
143143
* The following shadow DOM parts are available for styling:
144144
*
145-
* Part name | Description | Theme for Element
146-
* ----------------|----------------|----------------
147-
* `splitter` | Split element | vaadin-split-layout
148-
* `handle` | The handle of the splitter | vaadin-split-layout
145+
* Part name | Description
146+
* -----------|--------------
147+
* `splitter` | Split element
148+
* `handle` | The handle of the splitter
149+
*
150+
* The following custom CSS properties are available for styling:
151+
*
152+
* Custom CSS property |
153+
* :----------------------------------------------|
154+
* | `--vaadin-split-layout-handle-size` |
155+
* | `--vaadin-split-layout-handle-target-size` |
156+
* | `--vaadin-split-layout-splitter-background` |
157+
* | `--vaadin-split-layout-splitter-size` |
158+
* | `--vaadin-split-layout-splitter-target-size` |
149159
*
150160
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
151161
*

packages/split-layout/src/vaadin-split-layout.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,20 @@ import { SplitLayoutMixin } from './vaadin-split-layout-mixin.js';
141141
*
142142
* The following shadow DOM parts are available for styling:
143143
*
144-
* Part name | Description | Theme for Element
145-
* ----------------|----------------|----------------
146-
* `splitter` | Split element | vaadin-split-layout
147-
* `handle` | The handle of the splitter | vaadin-split-layout
144+
* Part name | Description
145+
* -----------|--------------
146+
* `splitter` | Split element
147+
* `handle` | The handle of the splitter
148+
*
149+
* The following custom CSS properties are available for styling:
150+
*
151+
* Custom CSS property |
152+
* :----------------------------------------------|
153+
* | `--vaadin-split-layout-handle-size` |
154+
* | `--vaadin-split-layout-handle-target-size` |
155+
* | `--vaadin-split-layout-splitter-background` |
156+
* | `--vaadin-split-layout-splitter-size` |
157+
* | `--vaadin-split-layout-splitter-target-size` |
148158
*
149159
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
150160
*

0 commit comments

Comments
 (0)