Skip to content

Commit d5b6b0a

Browse files
authored
docs: update state attributes docs to not list part names (#10000)
1 parent 1ada690 commit d5b6b0a

22 files changed

+154
-154
lines changed

packages/checkbox-group/src/vaadin-checkbox-group.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ export interface CheckboxGroupEventMap extends HTMLElementEventMap, CheckboxGrou
5858
*
5959
* The following state attributes are available for styling:
6060
*
61-
* Attribute | Description | Part name
62-
* --------------------|-------------------------------------------|------------
63-
* `disabled` | Set when the element is disabled | :host
64-
* `readonly` | Set when the element is readonly | :host
65-
* `invalid` | Set when the element is invalid | :host
66-
* `focused` | Set when the element is focused | :host
67-
* `has-label` | Set when the element has a label | :host
68-
* `has-value` | Set when the element has a value | :host
69-
* `has-helper` | Set when the element has helper text | :host
70-
* `has-error-message` | Set when the element has an error message | :host
61+
* Attribute | Description
62+
* --------------------|---------------------------------
63+
* `disabled` | Set when the element is disabled
64+
* `readonly` | Set when the element is readonly
65+
* `invalid` | Set when the element is invalid
66+
* `focused` | Set when the element is focused
67+
* `has-label` | Set when the element has a label
68+
* `has-value` | Set when the element has a value
69+
* `has-helper` | Set when the element has helper text
70+
* `has-error-message` | Set when the element has an error message
7171
*
7272
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
7373
*

packages/checkbox-group/src/vaadin-checkbox-group.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ import { CheckboxGroupMixin } from './vaadin-checkbox-group-mixin.js';
3939
*
4040
* The following state attributes are available for styling:
4141
*
42-
* Attribute | Description | Part name
43-
* --------------------|-------------------------------------------|------------
44-
* `disabled` | Set when the element is disabled | :host
45-
* `readonly` | Set when the element is readonly | :host
46-
* `invalid` | Set when the element is invalid | :host
47-
* `focused` | Set when the element is focused | :host
48-
* `has-label` | Set when the element has a label | :host
49-
* `has-value` | Set when the element has a value | :host
50-
* `has-helper` | Set when the element has helper text | :host
51-
* `has-error-message` | Set when the element has an error message | :host
42+
* Attribute | Description
43+
* --------------------|---------------------------------
44+
* `disabled` | Set when the element is disabled
45+
* `readonly` | Set when the element is readonly
46+
* `invalid` | Set when the element is invalid
47+
* `focused` | Set when the element is focused
48+
* `has-label` | Set when the element has a label
49+
* `has-value` | Set when the element has a value
50+
* `has-helper` | Set when the element has helper text
51+
* `has-error-message` | Set when the element has an error message
5252
*
5353
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
5454
*

packages/combo-box/src/vaadin-combo-box.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ export interface ComboBoxEventMap<TItem> extends HTMLElementEventMap {
189189
*
190190
* In addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:
191191
*
192-
* Attribute | Description | Part name
193-
* ----------|-------------|------------
194-
* `opened` | Set when the combo box dropdown is open | :host
195-
* `loading` | Set when new items are expected | :host
192+
* Attribute | Description
193+
* ----------|----------------------------------------
194+
* `opened` | Set when the combo box dropdown is open
195+
* `loading` | Set when new items are expected
196196
*
197197
* ### Internal components
198198
*

packages/combo-box/src/vaadin-combo-box.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ import { ComboBoxMixin } from './vaadin-combo-box-mixin.js';
121121
*
122122
* In addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:
123123
*
124-
* Attribute | Description | Part name
125-
* ----------|-------------|------------
126-
* `opened` | Set when the combo box dropdown is open | :host
127-
* `loading` | Set when new items are expected | :host
124+
* Attribute | Description
125+
* ----------|----------------------------------------
126+
* `opened` | Set when the combo box dropdown is open
127+
* `loading` | Set when new items are expected
128128
*
129129
* ### Internal components
130130
*

packages/custom-field/src/vaadin-custom-field.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ export interface CustomFieldEventMap extends HTMLElementEventMap, CustomFieldCus
6767
*
6868
* The following state attributes are available for styling:
6969
*
70-
* Attribute | Description | Part name
71-
* --------------------|-------------------------------------------|------------
72-
* `invalid` | Set when the element is invalid | :host
73-
* `focused` | Set when the element is focused | :host
74-
* `has-label` | Set when the element has a label | :host
75-
* `has-value` | Set when the element has a value | :host
76-
* `has-helper` | Set when the element has helper text | :host
77-
* `has-error-message` | Set when the element has an error message | :host
70+
* Attribute | Description
71+
* --------------------|--------------------------------
72+
* `invalid` | Set when the element is invalid
73+
* `focused` | Set when the element is focused
74+
* `has-label` | Set when the element has a label
75+
* `has-value` | Set when the element has a value
76+
* `has-helper` | Set when the element has helper text
77+
* `has-error-message` | Set when the element has an error message
7878
*
7979
* You may also manually set `disabled` or `readonly` attribute on this component to make the label
8080
* part look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.

packages/custom-field/src/vaadin-custom-field.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ import { CustomFieldMixin } from './vaadin-custom-field-mixin.js';
3636
*
3737
* The following state attributes are available for styling:
3838
*
39-
* Attribute | Description | Part name
40-
* --------------------|-------------------------------------------|------------
41-
* `invalid` | Set when the element is invalid | :host
42-
* `focused` | Set when the element is focused | :host
43-
* `has-label` | Set when the element has a label | :host
44-
* `has-value` | Set when the element has a value | :host
45-
* `has-helper` | Set when the element has helper text | :host
46-
* `has-error-message` | Set when the element has an error message | :host
39+
* Attribute | Description
40+
* --------------------|--------------------------------
41+
* `invalid` | Set when the element is invalid
42+
* `focused` | Set when the element is focused
43+
* `has-label` | Set when the element has a label
44+
* `has-value` | Set when the element has a value
45+
* `has-helper` | Set when the element has helper text
46+
* `has-error-message` | Set when the element has an error message
4747
*
4848
* You may also manually set `disabled` or `readonly` attribute on this component to make the label
4949
* part look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.

packages/date-time-picker/src/vaadin-date-time-picker.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@ export interface DateTimePickerEventMap extends DateTimePickerCustomEventMap, HT
6969
*
7070
* The following state attributes are available for styling:
7171
*
72-
* Attribute | Description | Part name
73-
* --------------------|-------------------------------------------|------------
74-
* `disabled` | Set when the element is disabled | :host
75-
* `focused` | Set when the element is focused | :host
76-
* `focus-ring` | Set when the element is keyboard focused | :host
77-
* `readonly` | Set when the element is readonly | :host
78-
* `invalid` | Set when the element is invalid | :host
79-
* `has-label` | Set when the element has a label | :host
80-
* `has-value` | Set when the element has a value | :host
81-
* `has-helper` | Set when the element has helper text | :host
82-
* `has-error-message` | Set when the element has an error message | :host
72+
* Attribute | Description
73+
* --------------------|---------------------------------
74+
* `disabled` | Set when the element is disabled
75+
* `focused` | Set when the element is focused
76+
* `focus-ring` | Set when the element is keyboard focused
77+
* `readonly` | Set when the element is readonly
78+
* `invalid` | Set when the element is invalid
79+
* `has-label` | Set when the element has a label
80+
* `has-value` | Set when the element has a value
81+
* `has-helper` | Set when the element has helper text
82+
* `has-error-message` | Set when the element has an error message
8383
*
8484
* ### Internal components
8585
*

packages/date-time-picker/src/vaadin-date-time-picker.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ import { DateTimePickerMixin } from './vaadin-date-time-picker-mixin.js';
4141
*
4242
* The following state attributes are available for styling:
4343
*
44-
* Attribute | Description | Part name
45-
* --------------------|-------------------------------------------|------------
46-
* `disabled` | Set when the element is disabled | :host
47-
* `focused` | Set when the element is focused | :host
48-
* `focus-ring` | Set when the element is keyboard focused | :host
49-
* `readonly` | Set when the element is readonly | :host
50-
* `invalid` | Set when the element is invalid | :host
51-
* `has-label` | Set when the element has a label | :host
52-
* `has-value` | Set when the element has a value | :host
53-
* `has-helper` | Set when the element has helper text | :host
54-
* `has-error-message` | Set when the element has an error message | :host
44+
* Attribute | Description
45+
* --------------------|---------------------------------
46+
* `disabled` | Set when the element is disabled
47+
* `focused` | Set when the element is focused
48+
* `focus-ring` | Set when the element is keyboard focused
49+
* `readonly` | Set when the element is readonly
50+
* `invalid` | Set when the element is invalid
51+
* `has-label` | Set when the element has a label
52+
* `has-value` | Set when the element has a value
53+
* `has-helper` | Set when the element has helper text
54+
* `has-error-message` | Set when the element has an error message
5555
*
5656
* ### Internal components
5757
*

packages/grid/src/vaadin-grid-sorter.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export * from './vaadin-grid-sorter-mixin.js';
4141
*
4242
* The following state attributes are available for styling:
4343
*
44-
* Attribute | Description | Part name
45-
* -------------|-------------|------------
46-
* `direction` | Sort direction of a sorter | :host
44+
* Attribute | Description
45+
* -------------|---------------------------
46+
* `direction` | Sort direction of a sorter
4747
*
4848
* @fires {CustomEvent} direction-changed - Fired when the `direction` property changes.
4949
* @fires {CustomEvent} sorter-changed - Fired when the `path` or `direction` property changes.

packages/grid/src/vaadin-grid-sorter.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ import { GridSorterMixin } from './vaadin-grid-sorter-mixin.js';
4444
*
4545
* The following state attributes are available for styling:
4646
*
47-
* Attribute | Description | Part name
48-
* -------------|-------------|------------
49-
* `direction` | Sort direction of a sorter | :host
47+
* Attribute | Description
48+
* -------------|---------------------------
49+
* `direction` | Sort direction of a sorter
5050
*
5151
* @fires {CustomEvent} direction-changed - Fired when the `direction` property changes.
5252
* @fires {CustomEvent} sorter-changed - Fired when the `path` or `direction` property changes.

0 commit comments

Comments
 (0)