Commit Graph

147 Commits

Author SHA1 Message Date
Elizabeth Mitchell
eedb7f5d3c chore: replace * selector with :host
PiperOrigin-RevId: 493992896
2022-12-08 14:15:19 -08:00
Alexander Marks
933cb14ac8 chore: Comment-out jasmine import statements for external compatibility
PiperOrigin-RevId: 491970248
2022-11-30 11:18:44 -08:00
Elizabeth Mitchell
491efc577f chore(text-field): update tokens
PiperOrigin-RevId: 491752389
2022-11-29 15:26:30 -08:00
Elizabeth Mitchell
bff01dadf7 chore(tokens): update to v0.144
PiperOrigin-RevId: 491464625
2022-11-28 15:53:25 -08:00
Elizabeth Mitchell
f20e612ed2 chore(field): merge static/theme-styles
PiperOrigin-RevId: 483769002
2022-10-25 13:59:54 -07:00
Elizabeth Mitchell
c6b557974a chore(text-field): merge static/theme-styles
PiperOrigin-RevId: 483761765
2022-10-25 13:32:31 -07:00
Elizabeth Mitchell
3ccf911217 chore(text-field): update to use local custom properties
PiperOrigin-RevId: 483692535
2022-10-25 09:14:41 -07:00
Elizabeth Mitchell
f2bf1a5c47 chore(text-field): flatten static/theme-styles
PiperOrigin-RevId: 483688630
2022-10-25 09:02:06 -07:00
Elizabeth Mitchell
73ca8ae0eb chore: use relative paths
PiperOrigin-RevId: 481941267
2022-10-18 09:28:59 -07:00
Elizabeth Mitchell
e9bff47acc chore(autocomplete): remove compat deps
PiperOrigin-RevId: 477257348
2022-09-27 13:17:57 -07:00
Elizabeth Mitchell
d40f70b2bd chore(text-field): make ID properties private
PiperOrigin-RevId: 474368908
2022-09-14 13:02:21 -07:00
Elizabeth Mitchell
973a98250b feat(text-field): announce error messages
PiperOrigin-RevId: 474291991
2022-09-14 08:01:59 -07:00
Elizabeth Mitchell
c757bfac45 feat(text-field): error/errorText will override reportValidity
PiperOrigin-RevId: 473098457
2022-09-08 15:22:42 -07:00
Elizabeth Mitchell
58ae98cbc8 fix(text-field): ensure value can overwrite defaultValue
PiperOrigin-RevId: 472984918
2022-09-08 07:36:28 -07:00
Elizabeth Mitchell
1cc64f543a feat(text-field): add character counter
PiperOrigin-RevId: 472518034
2022-09-06 11:48:06 -07:00
Elizabeth Mitchell
5241b76dca feat(text-field): add blur and jsdoc
PiperOrigin-RevId: 471815433
2022-09-02 09:08:51 -07:00
Elizabeth Mitchell
4e6f01d422 fix(text-field): rename readonly to readOnly
PiperOrigin-RevId: 471639592
2022-09-01 14:53:55 -07:00
Elizabeth Mitchell
d584c9042b chore(text-field): refactor templates for SSR
PiperOrigin-RevId: 471302411
2022-08-31 11:18:59 -07:00
Elizabeth Mitchell
4bab4b5874 feat(text-field): add textDirection
PiperOrigin-RevId: 471278968
2022-08-31 09:49:52 -07:00
Elizabeth Mitchell
8387a585a0 chore(field): refactor out :focus-within
PiperOrigin-RevId: 470267755
2022-08-26 09:45:44 -07:00
Elizabeth Mitchell
810a9a4101 feat(text-field): add pattern
PiperOrigin-RevId: 470069611
2022-08-25 13:30:55 -07:00
Elizabeth Mitchell
c73b59cea4 feat(text-field): add min, max, and step
PiperOrigin-RevId: 470006182
2022-08-25 09:19:26 -07:00
Alexander Marks
30c95aeee1 chore: add ".js" extensions to import statements.
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal).

PiperOrigin-RevId: 469772992
2022-08-24 11:01:21 -07:00
Elizabeth Mitchell
a722fe793c chore(text-field): add additional aria properties for autocomplete
PiperOrigin-RevId: 469739520
2022-08-24 09:01:32 -07:00
Elizabeth Mitchell
17d92f6b4b fix(text-field): label floating after type changes
PiperOrigin-RevId: 469319802
2022-08-22 16:59:45 -07:00
Elizabeth Mitchell
0c8a91fc8f feat(text-field): add minLength and maxLength
PiperOrigin-RevId: 468759213
2022-08-19 12:20:11 -07:00
Elizabeth Mitchell
3e2b20a401 chore(text-field): make fieldTag abstract
PiperOrigin-RevId: 468615547
2022-08-18 21:12:54 -07:00
Elizabeth Mitchell
468dc2b862 chore(text-field): clean up ternary operators
PiperOrigin-RevId: 468526140
2022-08-18 12:54:32 -07:00
Elizabeth Mitchell
e2e2c9d8a5 feat(text-field): add native validation APIs
PiperOrigin-RevId: 467226058
2022-08-12 09:27:20 -07:00
Elizabeth Mitchell
58848f61c9 feat(text-field): add error text
PiperOrigin-RevId: 467223935
2022-08-12 09:18:06 -07:00
Kevin Vizcarra
9542b71174 refactor: Stop passing unnecessary elevation tokens when building $dark-theme
PiperOrigin-RevId: 467035171
2022-08-11 13:29:01 -07:00
Elizabeth Mitchell
091a124eaf feat(text-field): add selection APIs
PiperOrigin-RevId: 466930001
2022-08-11 05:42:56 -07:00
Elizabeth Mitchell
606697de36 chore(text-field): update to use lit static
PiperOrigin-RevId: 466774176
2022-08-10 13:37:01 -07:00
Elizabeth Mitchell
7792ae1b09 feat(text-field): add valueAsNumber and valueAsDate
PiperOrigin-RevId: 466696270
2022-08-10 08:46:14 -07:00
Elizabeth Mitchell
246166c4e4 chore(text-field): synchronously render when accessing input
PiperOrigin-RevId: 466695986
2022-08-10 08:44:47 -07:00
Elizabeth Mitchell
77cc80e634 feat(text-field): add supporting text
PiperOrigin-RevId: 466241727
2022-08-08 21:45:52 -07:00
Elizabeth Mitchell
fe86936d91 chore(text-field): remove wrapper slot spans
PiperOrigin-RevId: 466112636
2022-08-08 12:15:47 -07:00
Elizabeth Mitchell
f8d950f3f6 chore(field): remove field ID property
PiperOrigin-RevId: 465328988
2022-08-04 09:12:02 -07:00
Elizabeth Mitchell
7285b3a2db fix(text-field): correctly resizes when setting width
PiperOrigin-RevId: 465164744
2022-08-03 15:33:02 -07:00
Elizabeth Mitchell
424596edce feat(text-field): add icons
PiperOrigin-RevId: 464165729
2022-07-29 15:04:12 -07:00
Elizabeth Mitchell
2a0d563338 feat(controller): add stringConverter for empty reflecting attributes
PiperOrigin-RevId: 464124340
2022-07-29 11:43:40 -07:00
Elizabeth Mitchell
6b25914f60 fix(text-field): container-shape not working for outlined variant
PiperOrigin-RevId: 463574366
2022-07-27 06:50:53 -07:00
Material Web Team
10a6d353fc refactor: mark disabled and checked as boolean values in lit templates.
PiperOrigin-RevId: 462716556
2022-07-22 15:27:12 -07:00
Material Web Team
40fdd8ed29 chore: disable tslint for ariaProperty and legacyAriaProperty
PiperOrigin-RevId: 462424828
2022-07-21 10:55:48 -07:00
Elizabeth Mitchell
e0386acda9 feat(text-field): add SSR ariaLabelledBy property
PiperOrigin-RevId: 460556448
2022-07-12 14:44:15 -07:00
Elizabeth Mitchell
b945f30e75 feat(text-field): add placeholder color tokens
PiperOrigin-RevId: 460233519
2022-07-11 09:38:39 -07:00
Elizabeth Mitchell
0f9a8216a2 chore(text-field): remove underscore
PiperOrigin-RevId: 459515801
2022-07-07 08:11:03 -07:00