Commit Graph

4885 Commits

Author SHA1 Message Date
Elizabeth Mitchell
7cd657b83d fix(button): height increases when label wraps
PiperOrigin-RevId: 582478806
2023-11-14 16:41:20 -08:00
Material Web Team
bf8d3f6289 fix(menu): declare popover API types
Without it show/hide popover get renamed by closure.

PiperOrigin-RevId: 582471354
2023-11-14 16:12:59 -08:00
Copybara-Service
128abcb325 Merge pull request #5150 from scherler:icon_size
PiperOrigin-RevId: 582411939
2023-11-14 12:51:34 -08:00
Thorsten Scherler
b4c9b81eb3
[icon_size] fix code regarding feedback
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-14 13:27:55 +01:00
Copybara-Service
3e66c3ec4c Merge pull request #5184 from Staler2019:main
PiperOrigin-RevId: 582036076
2023-11-13 11:48:02 -08:00
Copybara-Service
709ac4afd9 Merge pull request #5187 from paleite:patch-1
PiperOrigin-RevId: 582032418
2023-11-13 11:37:15 -08:00
Patrick Eriksson
e1fb15bb35
Update text-field.md
Fix the URL to material-web.dev
2023-11-13 15:42:37 +01:00
Staler2019
257e9c6f6f
Fix #5182: dialog icon padding error 2023-11-11 18:59:52 +08:00
Elizabeth Mitchell
5d964adcf9 fix(button): labels not truncating, add support for multiline with text-wrap: wrap
There's currently a bug where wrapping buttons do not increase their height. That will come later to reduce the scope on this change.

PiperOrigin-RevId: 581383771
2023-11-10 15:17:14 -08:00
Elizabeth Mitchell
96481566ae refactor(button): move background content outside of inner button
Part of a series of changes to support text wrapping and host aria for button.

PiperOrigin-RevId: 581319862
2023-11-10 11:29:54 -08:00
Elliott Marquez
2adcb1479a docs: document events in jsdoc
PiperOrigin-RevId: 581041601
2023-11-09 15:25:21 -08:00
Elliott Marquez
5e0000a495 fix(docs): prepare docs generator for mixin version of lit analyzer
PiperOrigin-RevId: 581038415
2023-11-09 15:12:04 -08:00
Elizabeth Mitchell
710b87eb3a chore(button): remove lit static
Part of a chain of changes needed to support text wrapping and host aria

PiperOrigin-RevId: 581030820
2023-11-09 14:45:01 -08:00
Elliott Marquez
a2b32042bd fix(select): select menu render is over most stacking contexts with popover
Fixes #4812

This feature defaults to using the popover API for the underlying menu in select. If not available (FF and older versions of Safari and Chrome), defaults to using fixed.

PiperOrigin-RevId: 580666310
2023-11-08 14:50:19 -08:00
Elizabeth Mitchell
8dcb3f62c7 fix(button): don't show overflowing labels
PiperOrigin-RevId: 580659287
2023-11-08 14:29:00 -08:00
Elliott Marquez
7859b39afe feat(menu): add popover functionality
Uses popover API for browsers that support it. Falls back to fixed positioning on browsers that do not.

fixes #2023
fixes #5120

PiperOrigin-RevId: 580633646
2023-11-08 13:14:25 -08:00
Elizabeth Mitchell
5bb4a422de fix(button): allow overriding padding and gap
More customization and necessary prep to move styles to host for host aria and text wrapping customization.

PiperOrigin-RevId: 580565272
2023-11-08 09:55:35 -08:00
Elizabeth Mitchell
18522381d8 fix(button): allow overriding min-width and user-select
PiperOrigin-RevId: 580324948
2023-11-07 15:50:07 -08:00
Elliott Marquez
2b591ca759 feat(menu): add document-level positioning
related #5120

PiperOrigin-RevId: 580293404
2023-11-07 14:04:00 -08:00
Elizabeth Mitchell
f08ecce357 chore(button): remove unused styles
PiperOrigin-RevId: 580031279
2023-11-06 19:59:25 -08:00
Copybara-Service
bddf0314c4 Merge pull request #5158 from datvm:fix-circular-progress-size
PiperOrigin-RevId: 580015596
2023-11-06 18:11:02 -08:00
Elizabeth Mitchell
48d84f86ee chore(button): remove BEM css class name style
Why? We don't use https://getbem.com/ styles anymore now that we have shadow dom.

Just cleanup to help with child changes.

PiperOrigin-RevId: 579980984
2023-11-06 15:50:24 -08:00
Elizabeth Mitchell
798f5ae179 fix(button): allow overriding cursor using CSS
Prep to move some styles to the host, which allows for better host styling, like setting padding and text wrapping. It will also support host aria by not relying on `<button>` pseudo selectors.

PiperOrigin-RevId: 579977848
2023-11-06 15:38:50 -08:00
Copybara-Service
7d7858090e Merge pull request #5163 from scherler:fix_typo
PiperOrigin-RevId: 579928304
2023-11-06 12:44:23 -08:00
Thorsten Scherler
08673751be
[fix_typo] fix tag name
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-06 13:53:31 +01:00
Luke Vo
075119c98f fix: Circular progress isn't circular in flex column display 2023-11-03 12:50:37 -05:00
Thorsten Scherler
57cec62ea2
[icon_size] add note to the docu about the featuere
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-03 14:15:48 +01:00
Thorsten Scherler
65baa1af64
[icon_size] drop fixed height and width
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-03 12:11:02 +01:00
Thorsten Scherler
2d1afaa793
[icon_size] fix expression
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-03 10:19:21 +01:00
Thorsten Scherler
8467d40bf1
[icon_size] add size to tokens
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-02 20:43:40 +01:00
Elliott Marquez
6b5ab21332 fix(select,textfield): native form validation shows error state
PiperOrigin-RevId: 578632986
2023-11-01 13:59:55 -07:00
Elizabeth Mitchell
87dfee41af chore(field): reduce HCM styles and move from textfield/select to field
PiperOrigin-RevId: 578351982
2023-10-31 17:33:28 -07:00
Elizabeth Mitchell
1f55d4111f chore(behaviors): update form controls to use shared mixins
PiperOrigin-RevId: 578297611
2023-10-31 14:08:39 -07:00
Elizabeth Mitchell
e1077c7abc docs: update roadmap status
PiperOrigin-RevId: 578293962
2023-10-31 13:57:36 -07:00
Elizabeth Mitchell
dd005df780 fix(tabs): allow changing tab padding
PiperOrigin-RevId: 577030425
2023-10-26 17:19:54 -07:00
Elizabeth Mitchell
f5daadc307 chore: update components to use mixinFocusable
PiperOrigin-RevId: 576982507
2023-10-26 14:09:08 -07:00
Elizabeth Mitchell
f94de5d302 chore(aria): add separate setup function for polyfill and focusability
PiperOrigin-RevId: 576973090
2023-10-26 13:37:49 -07:00
Elizabeth Mitchell
e7bc633e18 chore(behaviors): add ElementInternals mixin
PiperOrigin-RevId: 576937116
2023-10-26 11:31:33 -07:00
Elizabeth Mitchell
0ebd7c786b chore(card): add styles and tests
PiperOrigin-RevId: 576660710
2023-10-25 15:19:48 -07:00
Elizabeth Mitchell
cbcb89115f chore(card): add basic demo page
PiperOrigin-RevId: 576657778
2023-10-25 15:10:01 -07:00
Elizabeth Mitchell
1b39ab74ce chore(card): add Sass theming apis
PiperOrigin-RevId: 576653714
2023-10-25 14:57:34 -07:00
Elizabeth Mitchell
dcfd35a7a3 chore(card): add boilerplate files
PiperOrigin-RevId: 576646068
2023-10-25 14:31:37 -07:00
Elizabeth Mitchell
2a06b29f91 chore(tokens): add card tokens
PiperOrigin-RevId: 576643924
2023-10-25 14:24:23 -07:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Copybara-Service
d09bdc47e6 Merge pull request #5114 from vdegenne:all-chip-set
PiperOrigin-RevId: 576587019
2023-10-25 11:14:27 -07:00
Copybara-Service
77514e19e0 Merge pull request #5122 from vdegenne:slider-typos
PiperOrigin-RevId: 576565911
2023-10-25 10:12:53 -07:00
vdegenne
e98be33557 chore(slider): fix internal typos 2023-10-25 14:28:59 +02:00
Valentin Degenne
f643991abf
sort common.ts alphabetically 2023-10-25 09:07:01 +02:00
Valentin Degenne
380d0092e6
sort all.ts alphabetically 2023-10-25 09:06:26 +02:00
Copybara-Service
aaf4de76b7 Merge pull request #5115 from material-components:auto-update-docs
PiperOrigin-RevId: 576339093
2023-10-24 17:39:33 -07:00