Skip to content

Commit 843764b

Browse files
authored
docs: remove part name from remaining state attributes JSDoc (#10065)
1 parent d5579d6 commit 843764b

File tree

8 files changed

+40
-40
lines changed

8 files changed

+40
-40
lines changed

packages/overlay/src/vaadin-overlay.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ export type OverlayEventMap = HTMLElementEventMap & OverlayCustomEventMap;
9898
*
9999
* The following state attributes are available for styling:
100100
*
101-
* Attribute | Description | Part
102-
* ---|---|---
103-
* `opening` | Applied just after the overlay is attached to the DOM. You can apply a CSS @keyframe animation for this state. | `:host`
104-
* `closing` | Applied just before the overlay is detached from the DOM. You can apply a CSS @keyframe animation for this state. | `:host`
101+
* Attribute | Description
102+
* ----------|------------
103+
* `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
104+
* `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
105105
*
106106
* The following custom CSS properties are available for styling:
107107
*

packages/overlay/src/vaadin-overlay.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ import { OverlayMixin } from './vaadin-overlay-mixin.js';
5050
*
5151
* The following state attributes are available for styling:
5252
*
53-
* Attribute | Description | Part
54-
* ---|---|---
55-
* `opening` | Applied just after the overlay is attached to the DOM. You can apply a CSS @keyframe animation for this state. | `:host`
56-
* `closing` | Applied just before the overlay is detached from the DOM. You can apply a CSS @keyframe animation for this state. | `:host`
53+
* Attribute | Description
54+
* ----------|------------
55+
* `opening` | Applied just after the overlay is opened. You can apply a CSS animation for this state.
56+
* `closing` | Applied just before the overlay is closed. You can apply a CSS animation for this state.
5757
*
5858
* The following custom CSS properties are available for styling:
5959
*

packages/radio-group/src/vaadin-radio-button.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ export * from './vaadin-radio-button-mixin.js';
3131
*
3232
* The following state attributes are available for styling:
3333
*
34-
* Attribute | Description | Part name
35-
* -------------|-------------|------------
36-
* `active` | Set when the radio button is pressed down, either with a pointer or the keyboard. | `:host`
37-
* `disabled` | Set when the radio button is disabled. | `:host`
38-
* `focus-ring` | Set when the radio button is focused using the keyboard. | `:host`
39-
* `focused` | Set when the radio button is focused. | `:host`
40-
* `checked` | Set when the radio button is checked. | `:host`
41-
* `has-label` | Set when the radio button has a label. | `:host`
34+
* Attribute | Description
35+
* -------------|--------------------------
36+
* `active` | Set when the radio button is pressed, either with a pointer or the keyboard.
37+
* `disabled` | Set when the radio button is disabled.
38+
* `focus-ring` | Set when the radio button is focused using the keyboard.
39+
* `focused` | Set when the radio button is focused.
40+
* `checked` | Set when the radio button is checked.
41+
* `has-label` | Set when the radio button has a label.
4242
*
4343
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
4444
*

packages/radio-group/src/vaadin-radio-button.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ import { RadioButtonMixin } from './vaadin-radio-button-mixin.js';
3434
*
3535
* The following state attributes are available for styling:
3636
*
37-
* Attribute | Description | Part name
38-
* -------------|-------------|------------
39-
* `active` | Set when the radio button is pressed down, either with a pointer or the keyboard. | `:host`
40-
* `disabled` | Set when the radio button is disabled. | `:host`
41-
* `focus-ring` | Set when the radio button is focused using the keyboard. | `:host`
42-
* `focused` | Set when the radio button is focused. | `:host`
43-
* `checked` | Set when the radio button is checked. | `:host`
44-
* `has-label` | Set when the radio button has a label. | `:host`
37+
* Attribute | Description
38+
* -------------|--------------------------
39+
* `active` | Set when the radio button is pressed, either with a pointer or the keyboard.
40+
* `disabled` | Set when the radio button is disabled.
41+
* `focus-ring` | Set when the radio button is focused using the keyboard.
42+
* `focused` | Set when the radio button is focused.
43+
* `checked` | Set when the radio button is checked.
44+
* `has-label` | Set when the radio button has a label.
4545
*
4646
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
4747
*

packages/tabs/src/vaadin-tab.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
1616
*
1717
* The following state attributes are available for styling:
1818
*
19-
* Attribute | Description | Part name
19+
* Attribute | Description
2020
* ---------------|---------------------------------
2121
* `disabled` | Set when the element is disabled
2222
* `focused` | Set when the element is focused

packages/tabs/src/vaadin-tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { tabStyles } from './styles/vaadin-tab-base-styles.js';
2222
*
2323
* The following state attributes are available for styling:
2424
*
25-
* Attribute | Description | Part name
25+
* Attribute | Description
2626
* ---------------|---------------------------------
2727
* `disabled` | Set when the element is disabled
2828
* `focused` | Set when the element is focused

packages/upload/src/vaadin-upload.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ export interface UploadEventMap extends HTMLElementEventMap, UploadCustomEventMa
133133
*
134134
* The following state attributes are available for styling:
135135
*
136-
* Attribute | Description | Part name
137-
* ---|---|---
138-
* `disabled` | Set when the element is disabled | `:host`
139-
* `nodrop` | Set when drag and drop is disabled (e. g., on touch devices) | `:host`
140-
* `dragover` | A file is being dragged over the element | `:host`
141-
* `dragover-valid` | A dragged file is valid with `maxFiles` and `accept` criteria | `:host`
142-
* `max-files-reached` | The maximum number of files that the user is allowed to add to the upload has been reached | `:host`
136+
* Attribute | Description
137+
* ---------------------|---------------------------------
138+
* `disabled` | Set when the element is disabled
139+
* `nodrop` | Set when drag and drop is disabled (e.g., on touch devices)
140+
* `dragover` | Set when the file is being dragged over the element
141+
* `dragover-valid` | Set when the dragged file is valid with `maxFiles` and `accept` criteria
142+
* `max-files-reached` | Set when maximum number of files that the user is allowed to add has been reached
143143
*
144144
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
145145
*

packages/upload/src/vaadin-upload.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ import { UploadMixin } from './vaadin-upload-mixin.js';
3737
*
3838
* The following state attributes are available for styling:
3939
*
40-
* Attribute | Description | Part name
41-
* ---|---|---
42-
* `disabled` | Set when the element is disabled | `:host`
43-
* `nodrop` | Set when drag and drop is disabled (e. g., on touch devices) | `:host`
44-
* `dragover` | A file is being dragged over the element | `:host`
45-
* `dragover-valid` | A dragged file is valid with `maxFiles` and `accept` criteria | `:host`
46-
* `max-files-reached` | The maximum number of files that the user is allowed to add to the upload has been reached | `:host`
40+
* Attribute | Description
41+
* ---------------------|---------------------------------
42+
* `disabled` | Set when the element is disabled
43+
* `nodrop` | Set when drag and drop is disabled (e.g., on touch devices)
44+
* `dragover` | Set when the file is being dragged over the element
45+
* `dragover-valid` | Set when the dragged file is valid with `maxFiles` and `accept` criteria
46+
* `max-files-reached` | Set when maximum number of files that the user is allowed to add has been reached
4747
*
4848
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
4949
*

0 commit comments

Comments
 (0)