@@ -105,21 +105,33 @@ registerStyles('vaadin-combo-box', inputFieldShared, { moduleId: 'vaadin-combo-b
105105 * `--vaadin-combo-box-overlay-width` | Width of the overlay | `auto`
106106 * `--vaadin-combo-box-overlay-max-height` | Max height of the overlay | `65vh`
107107 *
108- * `<vaadin-combo-box>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
109- * See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
108+ * The following shadow DOM parts are available for styling:
110109 *
111- * In addition to `<vaadin-text-field>` parts, the following parts are available for theming:
110+ * Part name | Description
111+ * ---------------------|----------------
112+ * `label` | The label element
113+ * `input-field` | The element that wraps prefix, value and buttons
114+ * `clear-button` | The clear button
115+ * `error-message` | The error message element
116+ * `helper-text` | The helper text element wrapper
117+ * `required-indicator` | The `required` state indicator element
118+ * `toggle-button` | The toggle button
112119 *
113- * Part name | Description
114- * ----------------|----------------
115- * `toggle-button` | The toggle button
120+ * The following state attributes are available for styling:
116121 *
117- * In addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:
118- *
119- * Attribute | Description
120- * ----------|----------------------------------------
121- * `opened` | Set when the combo box dropdown is open
122- * `loading` | Set when new items are expected
122+ * Attribute | Description
123+ * ---------------------|---------------------------------
124+ * `disabled` | Set when the element is disabled
125+ * `has-value` | Set when the element has a value
126+ * `has-label` | Set when the element has a label
127+ * `has-helper` | Set when the element has helper text or slot
128+ * `has-error-message` | Set when the element has an error message
129+ * `invalid` | Set when the element is invalid
130+ * `focused` | Set when the element is focused
131+ * `focus-ring` | Set when the element is keyboard focused
132+ * `readonly` | Set when the element is readonly
133+ * `opened` | Set when the overlay is opened
134+ * `loading` | Set when loading items from the data provider
123135 *
124136 * If you want to replace the default `<input>` and its container with a custom implementation to get full control
125137 * over the input field, consider using the [`<vaadin-combo-box-light>`](#/elements/vaadin-combo-box-light) element.
0 commit comments