Jeff Verkoeyen
a8e4831fd0
Flattening all unit tests into single directories as per convention.
...
PiperOrigin-RevId: 367426300
2021-04-08 07:33:29 -07:00
Andrew Overton
2a31a3162f
[TextControls] Disable label animation when label is truncated
...
PiperOrigin-RevId: 367256976
2021-04-07 11:12:32 -07:00
Alyssa Weiss
924c49e43b
Remove all iOS 10 availability checks from material_components_ios now that only iOS 10+ is supported.
...
PiperOrigin-RevId: 366437050
2021-04-02 06:33:16 -07:00
Andrew Overton
4e245ac6dc
[Multiple components] Miscellaneous doc updates
...
This PR closes out all current doc change requests.
Closes https://github.com/material-components/material-components-ios/pull/10181
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10181 from andrewoverton:dev-docs-03-15-cherry-pick 00414a4f89e39dfc8d47623ee95e0311db1c7ae7
PiperOrigin-RevId: 363178361
2021-03-16 07:30:36 -07:00
Jeff Verkoeyen
b64b0ec231
Internal change
...
PiperOrigin-RevId: 360230236
2021-03-01 11:04:51 -08:00
Jeff Verkoeyen
25c9049d5a
Optimizing imports
...
PiperOrigin-RevId: 356791916
2021-02-10 12:00:57 -08:00
Andrew Overton
73e404888d
[TextControls] Expose density on text fields and text areas
...
PiperOrigin-RevId: 355204832
2021-02-02 11:00:01 -08:00
Andrew Overton
ee7f2fce52
[TextControls] Fix imports for clang tidy
...
PiperOrigin-RevId: 354994728
2021-02-01 12:06:15 -08:00
Andrew Overton
48808bfe67
[TextControls] Add placeholderColor property
...
PiperOrigin-RevId: 351648295
2021-01-13 13:03:49 -08:00
Andrew Overton
08ca10b078
[Multiple components] Ensure swift snippets always come before objc
...
Closes https://github.com/material-components/material-components-ios/pull/10145
It looks like the diff is pretty easy to comprehend, except for in the LIST file :/ All I'm doing is moving Swift snippets to be in front of Objective-C snippets.
COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-components-ios/pull/10145 from andrewoverton:material-io-bugs 291c5ea23ccb24c3698b67d09896637a3d1130fe
PiperOrigin-RevId: 347868718
2020-12-16 12:05:38 -08:00
Andrew Overton
178fee91ff
[TextControls] Rethink sizing behavior with sizing delegate method
...
PiperOrigin-RevId: 346404233
2020-12-08 13:59:52 -08:00
Andrew Overton
fb4d874f62
[Multiple components] Change component README ToCs to bold paragraph style
...
PiperOrigin-RevId: 346365613
2020-12-08 11:09:33 -08:00
Andrew Overton
62ccb5c72f
[Multiple components] Audit recent docs changes, part 2
...
Closes https://github.com/material-components/material-components-ios/pull/10135
PiperOrigin-RevId: 345473101
2020-12-03 09:54:14 -08:00
Andrew Overton
8d8763ef71
[Multiple components] Audit recent docs changes, part 1
...
Closes https://github.com/material-components/material-components-ios/pull/10132
PiperOrigin-RevId: 345256835
2020-12-02 10:10:55 -08:00
Andrew Overton
0c7a12b0c7
[Multiple components] Miscellaneous doc fixes
...
PiperOrigin-RevId: 345013092
2020-12-01 07:11:52 -08:00
Andrew Overton
16359d718a
[TextControls] Expose inter item spacing
...
PiperOrigin-RevId: 344252502
2020-11-25 07:53:57 -08:00
Andrew Overton
732e39b160
[TextControls] Expose preferredContainerHeight on MDCBaseTextArea
...
PiperOrigin-RevId: 344161205
2020-11-24 17:34:22 -08:00
Andrew Overton
a349540e26
[TextControls] Add text areas leading/trailing views
...
PiperOrigin-RevId: 344113091
2020-11-24 12:45:27 -08:00
Andrew Overton
77c77dc0f8
[TextControl] Fix RTL placeholder behavior
...
PiperOrigin-RevId: 343916453
2020-11-23 13:26:40 -08:00
Andrew Overton
a4d2f5ac0a
[TextControls] Modify automatic scrolling behavior
...
PiperOrigin-RevId: 343850694
2020-11-23 07:55:29 -08:00
Andrew Overton
09d8ea6bf6
[TextControls] Fix Cocoapods build error
...
PiperOrigin-RevId: 342302593
2020-11-13 11:31:56 -08:00
Andrew Overton
52e9d15a2b
[TextControls] Add placeholder to text area
...
PiperOrigin-RevId: 341453573
2020-11-09 11:53:48 -08:00
Andrew Overton
a180642678
[TextControls] Add text area snapshot tests
...
PiperOrigin-RevId: 341414643
2020-11-09 08:53:54 -08:00
Andrew Overton
d729b5c464
[TextControls] Use custom leadingView/trailingView instead of UITextField's leftView/rightView
...
PiperOrigin-RevId: 341104274
2020-11-06 13:09:58 -08:00
Nobody
0b7be00f85
[TextControls] Call -[MDCBaseTextAreaDelegate baseTextArea:shouldChangeSize:] when setting assistive label text (if needed).
...
Since setting the assistive label text causes the text area's size to change, we should call the -[MDCBaseTextAreaDelegate baseTextArea:shouldChangeSize:] method when it happens.
PiperOrigin-RevId: 341068027
2020-11-06 09:59:28 -08:00
Andrew Overton
9e8c6cc75c
[TextControls] add RTL snapshot tests
...
PiperOrigin-RevId: 340513079
2020-11-03 13:31:54 -08:00
Andrew Overton
6d0e614618
[TextControls] Add -baseTextField:shouldPerformAction:withSender:canPerformAction:
...
PiperOrigin-RevId: 337143514
2020-10-14 12:14:43 -07:00
Andrew Overton
b8d8690259
[TextControls] consider floating label min Y in - accessibilityPath
...
PiperOrigin-RevId: 337120665
2020-10-14 10:38:49 -07:00
Andrew Overton
364b062a50
[TextControls] Add shouldDeleteBackward delegate method
...
PiperOrigin-RevId: 336951807
2020-10-13 14:12:32 -07:00
Andrew Overton
ea59fefa1c
[TextControls] Translate frame to window coordinates in accessibilityPath
...
PiperOrigin-RevId: 333289355
2020-09-23 07:40:03 -07:00
Andrew Overton
873c0b78d8
[TextControls] Override accessibilityPath in MDCBaseTextField
...
PiperOrigin-RevId: 332544566
2020-09-18 16:01:10 -07:00
Jeff Verkoeyen
fbb1f20aa2
Internal change
...
PiperOrigin-RevId: 332151481
2020-09-16 21:01:21 -07:00
Andrew Overton
0907c19623
[TextControls] Add containerRadius support to filled text field
...
PiperOrigin-RevId: 331211129
2020-09-11 13:26:29 -07:00
Andrew Overton
3aace45a83
[TextControls] Add containerRadius to filled style object and base text area
...
PiperOrigin-RevId: 330771085
2020-09-09 12:12:44 -07:00
Andrew Overton
58ae5f8139
[TextControls] Refactor sizing behavior + expose sizing delegate method
...
PiperOrigin-RevId: 330753801
2020-09-09 10:50:07 -07:00
Andrew Overton
d303da4db4
[TextControls] Add containerRadius to MDCBaseTextField
...
PiperOrigin-RevId: 330576959
2020-09-08 13:41:24 -07:00
Andrew Overton
9d12dc1f98
[TextControls] Improve TextControls test coverage
...
PiperOrigin-RevId: 329912259
2020-09-03 07:09:37 -07:00
Andrew Overton
6e52d049a6
[TextControls] Add KVO for assistive labels
...
This change makes it so that clients will not have to explicitly trigger a layout pass and resize text fields or text areas when they set assistive label text in Auto Layout.
For Manual Layout, they will not have to trigger a layout pass, but they will still have to resize the view.
PiperOrigin-RevId: 324873963
2020-08-04 13:08:08 -07:00
Nobody
36ee03d99d
[TextControls] Add MDCBaseTextFieldDelegate
...
PiperOrigin-RevId: 324075961
2020-07-30 13:55:14 -07:00
Andrew Overton
9b6db6fb44
[TextControls] Add typical use example
...
PiperOrigin-RevId: 323996387
2020-07-30 07:17:01 -07:00
Andrew Overton
0950ece8f3
[TextControls] Allow setting underline thickness regardless of state
...
PiperOrigin-RevId: 323002391
2020-07-24 08:43:22 -07:00
Andrew Overton
e360f3c1c4
[TextControls] Expose preferredContainerHeight on MDCBaseTextField
...
PiperOrigin-RevId: 322999254
2020-07-24 08:23:22 -07:00
Andrew Overton
49b441e849
[TextControls] Prepare to expose preferredContainerHeight on text controls
...
PiperOrigin-RevId: 322856550
2020-07-23 13:43:55 -07:00
Andrew Overton
93fb883645
[TextControls] Add debug stuff to text controls examples
...
PiperOrigin-RevId: 322601224
2020-07-22 10:28:08 -07:00
Andrew Overton
66497f7837
[TextControls] Fix jumpiness in text areas
...
PiperOrigin-RevId: 322590189
2020-07-22 09:30:07 -07:00
Andrew Overton
b18a9191cc
[TextControls] Fix secureTextEntry layout pass infinite loop
...
Closes #10041 .
PiperOrigin-RevId: 322408226
2020-07-21 11:51:22 -07:00
Andrew Overton
9480bf4c88
[TextControls] Make text fields without floating labels shorter
...
PiperOrigin-RevId: 320432378
2020-07-09 11:06:27 -07:00
Andrew Overton
b919fad3a2
[TextControls] Fix line counting mechanism in text areas
...
PiperOrigin-RevId: 319816916
2020-07-06 11:19:15 -07:00
Andrew Overton
2675070cd5
[TextControls] Make text areas respond to width changes
...
PiperOrigin-RevId: 319245208
2020-07-01 10:04:24 -07:00
Andrew Overton
cfd9b3ff56
[TextControls] Make text areas shorter when there is no floating label
...
PiperOrigin-RevId: 319228270
2020-07-01 08:22:48 -07:00