Elliott Marquez
63b01425e7
refactor(menu,select)!: rename fixed
to positioning
...
This will enable forwards compatibility for `positioning="top-layer"` with popover.
BREAKING CHANGE: refactor `fixed` property to `positioning="fixed"` in Menu and `menuFixed` to `menuPositioning="fixed"`
PiperOrigin-RevId: 567723646
2023-09-22 14:54:57 -07:00
Elizabeth Mitchell
375b7664ef
fix(dialog): not delegating focus in closure
...
PiperOrigin-RevId: 567363579
2023-09-21 11:17:12 -07:00
Elizabeth Mitchell
8613fe6a58
fix(dialog)!: change content margin to padding
...
BREAKING CHANGE: if overriding margin on a dialog's content, swap it to padding. If a dialog's slotted first or last child has built-in margin (such as `<h3>` or `<p>`), remove the top/bottom margin as needed (since margin swapped to padding, there's no more margin collapsing).
PiperOrigin-RevId: 564509429
2023-09-11 14:53:52 -07:00
Elizabeth Mitchell
81e11e09fa
fix(dialogs): remove font shorthand tokens
...
BREAKING CHANGE: replace `headline-text-type` and `supporting-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563160825
2023-09-06 11:17:05 -07:00
Elliott Marquez
d6aa6b22c7
fix(dialog, select): allow fixed selects to render correctly in dialogs
...
PiperOrigin-RevId: 561788530
2023-08-31 16:14:44 -07:00
Elizabeth Mitchell
9b7647bd3d
fix(dialog): content not displaying on Safari
...
Fixes #4728
PiperOrigin-RevId: 559224134
2023-08-22 14:25:32 -07:00
Elizabeth Mitchell
d25c5e9eca
fix(dialog): not showing if opened before connected
...
Fixes #4728
PiperOrigin-RevId: 559157443
2023-08-22 10:43:19 -07:00
Elizabeth Mitchell
7d415394cd
chore(dialog): fix demo a11y
...
PiperOrigin-RevId: 555706529
2023-08-10 16:45:18 -07:00
Elizabeth Mitchell
2996a8b826
refactor(dialog)!: match native <dialog>
and fix spacing
...
Fixes #4647
Fixes #4285
BREAKING CHANGE: See https://github.com/material-components/material-web/discussions/4675 for more details.
Dialogs use the native `<dialog>` interface, which uses a `<form method="dialog">` to set up dialog actions.
```html
<md-dialog>
<div slot="headline">A simple dialog</div>
<form id="form" method="dialog" slot="content">
This is a dialog with text content.
</form>
<div slot="actions">
<md-text-button form="form" value="close">Close</md-text-button>
<md-text-button form="form" value="ok">OK</md-text-button>
</div>
</md-dialog>
```
PiperOrigin-RevId: 555702952
2023-08-10 16:35:08 -07:00
Elizabeth Mitchell
7c461cad75
feat(radio)!: add touch target configurations
...
BREAKING CHANGE: Radio's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size.
PiperOrigin-RevId: 555539884
2023-08-10 10:06:15 -07:00
Elizabeth Mitchell
39ae5a6947
fix(dialog)!: remove fullscreen temporarily
...
BREAKING CHANGE: Fullscreen dialogs weren't matching spec, so we're removing them for now to avoid future breaking changes. They will be re-added later.
PiperOrigin-RevId: 554583471
2023-08-07 13:56:06 -07:00
Elizabeth Mitchell
50fd2f3fe0
fix(dialog)!: use autofocus
attribute instead of dialog-focus
...
PiperOrigin-RevId: 553630275
2023-08-03 16:54:55 -07:00
Elizabeth Mitchell
b992b154de
fix(dialog)!: remove toggleShow()
...
BREAKING CHANGE: Use dialog.open, dialog.show(), and dialog.close() instead.
PiperOrigin-RevId: 553622255
2023-08-03 16:23:53 -07:00
Elizabeth Mitchell
500472bbdf
fix(dialog)!: remove stacked
...
BREAKING CHANGE: dialog actions can set their own layout with a container element.
PiperOrigin-RevId: 553606019
2023-08-03 15:22:48 -07:00
Elizabeth Mitchell
d8ac9ce29e
fix(dialog)!: remove modeless
...
BREAKING CHANGE: Material dialogs are always modal.
PiperOrigin-RevId: 553603172
2023-08-03 15:12:22 -07:00
Elizabeth Mitchell
fa103cbc78
fix(dialog): misspelled transition
...
Fixes #4638
PiperOrigin-RevId: 552618010
2023-07-31 16:04:33 -07:00
Elizabeth Mitchell
cc26ef6c02
fix(button)!: rename <md-tonal-button>
to <md-filled-tonal-button>
...
BREAKING CHANGE: Rename "md-tonal-button" elements, imports, and tokens to "md-filled-tonal-button"
PiperOrigin-RevId: 552600206
2023-07-31 14:57:34 -07:00
Elizabeth Mitchell
a117b06b7b
fix(iconbutton)!: rename <md-standard-icon-button> to <md-icon-button>
...
PiperOrigin-RevId: 552545415
2023-07-31 11:37:56 -07:00
Elizabeth Mitchell
2d1c58022e
fix(dialog)!: remove transitions
...
PiperOrigin-RevId: 552539713
2023-07-31 11:20:07 -07:00
Elizabeth Mitchell
5adbf730d3
fix(dialog)!: remove content and divider tokens
...
PiperOrigin-RevId: 552538437
2023-07-31 11:16:38 -07:00
Elizabeth Mitchell
e581142d67
fix(dialog)!: remove transition and scrim tokens
...
PiperOrigin-RevId: 552535303
2023-07-31 11:07:02 -07:00
Elizabeth Mitchell
2568d4fbac
fix(dialog)!: remove draggable
...
PiperOrigin-RevId: 551978266
2023-07-28 16:27:50 -07:00
Elizabeth Mitchell
8b896e0e63
fix(dialog)!: remove fullscreen tokens
...
PiperOrigin-RevId: 551964075
2023-07-28 15:22:17 -07:00
Copybara-Service
62fd5b99ee
Merge pull request #4617 from material-components:gcloud
...
PiperOrigin-RevId: 551579741
2023-07-27 10:53:18 -07:00
Elizabeth Mitchell
a71411eff0
chore(dialog): remove decorator tslint comment
...
PiperOrigin-RevId: 551576491
2023-07-27 10:43:35 -07:00
Elliott Marquez
86ccec3e7e
build: use firebase for hosting and remove url prefixes
2023-07-27 09:17:27 -07:00
Andrew Jakubowicz
aaa672b868
fix(dialog)!: rename "lib" directory to "internal"
...
BREAKING CHANGE: Rename `@material/web/dialog/lib` to `@material/web/dialog/internal`. Prefer not using internal files.
PiperOrigin-RevId: 550034550
2023-07-21 13:27:02 -07:00
Andrew Jakubowicz
45f42f03ce
chore: use inline sass comments
...
PiperOrigin-RevId: 549344985
2023-07-19 09:51:35 -07:00
Andrew Jakubowicz
10f60d23e0
chore: rename e
to event
...
PiperOrigin-RevId: 549039407
2023-07-18 10:16:37 -07:00
Andrew Jakubowicz
1893e08f54
fix(dialog)!: remove with-icon prefix from with-icon-icon-color and with-icon-icon-size
...
PiperOrigin-RevId: 546360441
2023-07-07 12:59:14 -07:00
Andrew Jakubowicz
dc0ac971ac
fix(dialog): fix two close icons in demo
...
PiperOrigin-RevId: 544759614
2023-06-30 15:07:53 -07:00
Andrew Jakubowicz
332836cacb
fix(dialog): use dialog-action and dialog-focus in demo
...
PiperOrigin-RevId: 544700581
2023-06-30 11:02:32 -07:00
Elliott Marquez
826262fb72
feat(dialog): redispatch the native cancel event
...
fixes #1583
PiperOrigin-RevId: 543884462
2023-06-27 16:32:42 -07:00
Elliott Marquez
61e5e87106
fix(dialog): focus before animation to fix a11y
...
PiperOrigin-RevId: 543557352
2023-06-26 15:26:01 -07:00
Andrew Jakubowicz
82d17ca172
fix(dialog)!: change compound attribute names to kebab-case
...
BREAKING_CHANGE: Attributes `fullscreenbreakpoint`, `footerhidden`, `defaultaction`, `actionattribute`, `focusattribute`, `scrimclickaction`, and `escapekeyaction` have been renamed to `fullscreen-breakpoint`, `footer-hidden`, `default-action`, `action-attribute`, `focus-attribute`, `scrim-click-action`, and `escape-key-action`. The defaults `dialogAction` and `dialogFocus` have been changed to `dialog-action` and `dialog-focus`.
PiperOrigin-RevId: 542653599
2023-06-22 13:35:09 -07:00
vdegenne
e0b35f5068
go back to nested version.
2023-06-01 00:26:33 +02:00
Valentin Degenne
25b55d875f
move conditional block one level up.
2023-05-31 20:26:19 +02:00
Valentin Degenne
1f28f812df
expand tabs
2023-05-31 16:13:25 +02:00
vdegenne
a785f6b927
prevent dialog from closing on escape
2023-05-31 15:50:30 +02:00
Elizabeth Mitchell
a2bb8458d2
chore(sass): move to internal
...
PiperOrigin-RevId: 536458468
2023-05-30 11:23:00 -07:00
Elizabeth Mitchell
ed00d30b1d
chore(motion): move to internal
...
PiperOrigin-RevId: 536448206
2023-05-30 10:50:00 -07:00
Elizabeth Mitchell
a2a6ff442c
chore: fix typos
...
PiperOrigin-RevId: 536443522
2023-05-30 10:34:25 -07:00
Elizabeth Mitchell
c7eb01d1e4
chore(sass): remove color and assert APIs
...
Fixes #4092
PiperOrigin-RevId: 531349037
2023-05-11 17:22:05 -07:00
Elliott Marquez
dc49e0b518
docs: update playground urls to match new base-URI
...
PiperOrigin-RevId: 531322264
2023-05-11 15:24:11 -07:00
Elliott Marquez
5f80c096e0
refactor: remove extraneous file extensions
...
PiperOrigin-RevId: 531005525
2023-05-10 14:26:01 -07:00
Elliott Marquez
1cade43ccf
refactor: remove extraneous file extensions
...
PiperOrigin-RevId: 530993820
2023-05-10 14:04:53 -07:00
Elizabeth Mitchell
c32cf1fcab
chore(sass): remove shape API
...
PiperOrigin-RevId: 528868375
2023-05-02 13:12:20 -07:00
Elizabeth Mitchell
db8ee4d1df
chore: use private instead of protected
...
PiperOrigin-RevId: 527010546
2023-04-25 10:40:48 -07:00
Material Web Team
b3a6dacb0e
fix(dialog): fixes #4080 : corrects dialog fullscreen height
...
PiperOrigin-RevId: 524174840
2023-04-13 20:25:42 -07:00
Daniel Freedman
9ce10bc100
chore(all): remove unnecessary property typing for strings
...
PiperOrigin-RevId: 523201301
2023-04-10 13:43:10 -07:00