You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make InputGroup buttons square because @NateBaldwinDesign said so
fix: remove double border between input and button in focused InputGroup, related to #224
docs: should not be able to focus on FieldButton in InputGroup examples
BREAKING CHANGE: migrated to next Textfield markup
BREAKING CHANGE: .spectrum-InputGroup-textfield is now required on Textfields inside of InputGroup
BREAKING CHANGE: InputGroup must have .is-keyboardFocused and .is-focused when focused
BREAKING CHANGE: .spectrum-Datepicker--rangeDash renamed to .spectrum-Datepicker-rangeDash
BREAKING CHANGE: removed .spectrum-Datepicker-focusRing
InputGroup now uses the new Textfield markup. See the [Textfield migration guide](textfield.html#migrationguide) for more information.
8
+
9
+
### Additional clases
10
+
The following classes must be added:
11
+
12
+
* `.spectrum-InputGroup-textfield` is now required on the Textfield outer element (`.spectrum-Textfield`)
13
+
* `.spectrum-InputGroup-input` is now required on the `<input>` element inside of Textfields (`.spectrum-Textfield-input`)
14
+
* `.spectrum-InputGroup-button` is now required on the FieldButton (`.spectrum-FieldButton`)
15
+
16
+
### Renamed classes
17
+
18
+
* `.spectrum-Datepicker--rangeDash` renamed to `.spectrum-Datepicker-rangeDash`
19
+
20
+
### Removed elements
21
+
22
+
* `.spectrum-Datepicker-focusRing` is no longer required and should be removed
23
+
24
+
### Indicating validity and focus
25
+
Validity and focus must be bubbled up to the parent so descendants siblings can be styled.
26
+
27
+
Thus, implementations must add the following classes in the following situations:
28
+
29
+
* `.spectrum-InputGroup.is-focused` - when the input or button is focused with the mouse
30
+
* `.spectrum-InputGroup.is-keyboardFocused` - when the input or button is focused with the keyboard
31
+
* `.spectrum-InputGroup.is-valid` - when the input has an explicit valid state
32
+
* `.spectrum-InputGroup.is-invalid` - when the input has an explicit invalid state
33
+
* `.spectrum-InputGroup.is-disabled` - when the control is disabled. You must also add `.is-disabled` to the `.spectrum-InputGroup-textfield` and `[disabled]` to the `.spectrum-InputGroup-button`.
0 commit comments