Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

feat(dialog): Initial prototype #3413

Merged
merged 264 commits into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
e4e628c
WIP: Split `baseline.html` into separate pages for Alert, Confirmatio…
acdvorak Aug 23, 2018
5f4a9ad
WIP: Add screenshots to `golden.json` (except 1 in IE)
acdvorak Aug 23, 2018
3bc56d6
WIP:Update flaky IE 11 golden images
acdvorak Aug 23, 2018
387f341
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 23, 2018
03c79a7
WIP: Rename CSS classes to match spec
acdvorak Aug 23, 2018
25b7010
WIP: Add yes/no/cancel buttons and fix unit tests!
acdvorak Aug 23, 2018
36e8896
WIP: Auto-focus first focusable element in dialog instead of "Yes" bu…
acdvorak Aug 23, 2018
fe5c18e
WIP: Add `[autofocus]` CSS selector in focus trap
acdvorak Aug 23, 2018
04854f1
WIP: Fix IE 11 bug detection on `overflow-accessible-font-size.html`
acdvorak Aug 24, 2018
a62f743
WIP: Prioritize `autofocus` elements
acdvorak Aug 24, 2018
9a89f1e
WIP: Fix IE bug
acdvorak Aug 24, 2018
2afd100
WIP: Fix unit test failures
acdvorak Aug 24, 2018
dbf8775
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 24, 2018
688867f
WIP: Fix linter error
acdvorak Aug 24, 2018
c7c327a
WIP: Fix failing Closure rewrite test
acdvorak Aug 24, 2018
e2205a6
WIP: Fix flaky Edge / IE 11 screenshot tests
acdvorak Aug 24, 2018
06d0492
WIP: Update flaky Edge screenshot
acdvorak Aug 24, 2018
5239abc
WIP: Update comment
acdvorak Aug 24, 2018
fc67f0c
WIP: Update copyright notices from Apache 2 to MIT
acdvorak Aug 24, 2018
b168531
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 24, 2018
13b72af
WIP: Update flaky Edge screenshots
acdvorak Aug 24, 2018
9c49243
WIP: Retry flaky screenshots up to 6 times in Edge and IE 11
acdvorak Aug 24, 2018
74dbe52
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 24, 2018
912c50a
WIP: Fix Edge flakiness by using monospace font instead of Roboto
acdvorak Aug 25, 2018
baa87e4
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 25, 2018
102b04d
WIP: Delete unnecessary `package-lock.json` files
acdvorak Aug 25, 2018
3c73149
WIP: Add debugging info to failing unit test
acdvorak Aug 25, 2018
9ecd5a8
WIP: Debug
acdvorak Aug 25, 2018
d73bb85
WIP: Update `karma.conf.js` from iOS 10 to iOS 11
acdvorak Aug 25, 2018
cfc3527
WIP: Debugging
acdvorak Aug 25, 2018
c687b6b
WIP: Refactor `feature-detection.js` from a class to a module and add…
acdvorak Aug 27, 2018
0b310f7
chore(base): Add ponyfills and feature detection
acdvorak Aug 27, 2018
80546dc
WIP: Make unit tests pass
acdvorak Aug 28, 2018
ac395de
WIP: Fix failing unit tests
acdvorak Aug 28, 2018
25e407e
WIP: Increase unit test coverage to 100%
acdvorak Aug 28, 2018
053cb29
Merge branch 'chore/base/ponyfills' into feat/dialog--prototype
acdvorak Aug 28, 2018
3322333
WIP: Delete old files
acdvorak Aug 28, 2018
f3ccc23
WIP: Rename events
acdvorak Aug 28, 2018
c869450
WIP: Refactor code into foundation/adapter pattern
acdvorak Aug 28, 2018
35ae31b
WIP: Fix failing unit tests
acdvorak Aug 28, 2018
1309410
WIP: Fix failing unit test in IE 11
acdvorak Aug 28, 2018
d5a1c08
WIP: Fix failing unit test in IE 11 v2
acdvorak Aug 28, 2018
34ffed2
WIP: Debug failing test in IE 11
acdvorak Aug 28, 2018
049d998
WIP: Undo last few commits (didn't work)
acdvorak Aug 28, 2018
089f74f
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 28, 2018
c49b13c
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 28, 2018
97c1e7b
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 28, 2018
36235bb
WIP: Revert debugging changes to mdc-ripple
acdvorak Aug 28, 2018
66f58a2
WIP: Revert changes to mdc-drawer's package-lock.json
acdvorak Aug 28, 2018
238f905
WIP: Revert changes to `packages/mdc-base/index.js`
acdvorak Aug 28, 2018
e0f9d60
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Aug 28, 2018
ad79bce
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 28, 2018
dd2b6a2
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 28, 2018
b0fbf2e
WIP: Revert changes to unrelated files (created separate PRs for them)
acdvorak Aug 28, 2018
914c48a
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 28, 2018
40827ad
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 28, 2018
1256ef9
WIP: Update flaky Edge screenshots
acdvorak Aug 28, 2018
64391cb
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 29, 2018
de4fde5
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 29, 2018
0db7981
WIP: Update flaky Edge screenshot
acdvorak Aug 29, 2018
3f600ce
WIP: Tweak knobs to reduce flakiness in `diffing.json`
acdvorak Aug 29, 2018
b9321fb
WIP: Hide `git fetch` output on Travis CI
acdvorak Aug 29, 2018
aed97b8
WIP: Fix JSON syntax error
acdvorak Aug 29, 2018
4e67ea2
WIP: Work around rendering bug in IE/Edge
acdvorak Aug 29, 2018
fd5d8a8
WIP: Hide button text in Edge to prevent flaky diffs
acdvorak Aug 29, 2018
97e61b4
WIP: Remove unneeded config from `diffing.json`
acdvorak Aug 29, 2018
7eb84d6
WIP: Hide the correct output in `travis.sh`
acdvorak Aug 29, 2018
51bb047
WIP: Hide all `git fetch` output?
acdvorak Aug 29, 2018
718439b
WIP: Or not
acdvorak Aug 29, 2018
eda592d
WIP: Better IE fix. Delete the now-unused `MDCSupport` class.
acdvorak Aug 29, 2018
129e7f2
WIP: Revert earlier debugging change and add comments
acdvorak Aug 29, 2018
f5bbdc9
WIP: Refactor default adapter out into `adapter.js` file
acdvorak Aug 29, 2018
0296992
WIP: Add missing `__scrim` sub-element to test pages
acdvorak Aug 29, 2018
be9a77c
chore(infrastructure): More descriptive unit test error message
acdvorak Aug 29, 2018
f27f36e
chore(infrastructure): Add grid pattern to fullscreen test page bg
acdvorak Aug 29, 2018
44c65c2
WIP: Update golden.json
acdvorak Aug 29, 2018
17da547
WIP: Always update golden HTML file URL
acdvorak Aug 29, 2018
a925416
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 29, 2018
8f511bd
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 29, 2018
087f7ea
WIP: Update golden.json
acdvorak Aug 29, 2018
4c81859
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 29, 2018
90f6a72
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 29, 2018
53cc437
WIP: Uncomment Travis jobs
acdvorak Aug 29, 2018
b0755d9
WIP: Fix broken tests?
acdvorak Aug 29, 2018
e31c0bd
WIP: Remove unused `isDialog()` adapter method
acdvorak Aug 29, 2018
ea64e8e
WIP: Delete old dialog demos
acdvorak Aug 29, 2018
26bc222
WIP: Revert botched merge
acdvorak Aug 29, 2018
9b44e4b
WIP: Remove unnecessary ponyfills
acdvorak Aug 29, 2018
c7fb329
WIP: Revert accidental changes to `mdc-drawer` screenshots
acdvorak Aug 29, 2018
7c4bfb2
WIP: Fix linter error
acdvorak Aug 29, 2018
97f2a2a
WIP: Add "Open" button to test pages
acdvorak Aug 29, 2018
023dae9
WIP: Fix `ReferenceError: 'Symbol' is undefined` error in IE
acdvorak Aug 29, 2018
f795647
WIP: Remove line-clamp and __header subelement
acdvorak Aug 30, 2018
8df1c0f
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Aug 30, 2018
0dfbd1d
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Aug 30, 2018
77f4e8d
WIP: Remove yes/no/cancel. IE 11 OVERFLOW IS WORSE!
acdvorak Aug 31, 2018
a4e5c72
WIP: Fix IE 11 without JS
acdvorak Aug 31, 2018
533b15a
WIP: Delete unused code and rename CSS class
acdvorak Aug 31, 2018
ffe745e
WIP: JK... we do still need a little bit of JS to fix IE (but not as …
acdvorak Aug 31, 2018
090e3ae
WIP: Refactor stuff out into `util.js`
acdvorak Aug 31, 2018
5da4389
WIP: Refactor
acdvorak Aug 31, 2018
f238ca7
Revert "WIP: Refactor"
acdvorak Aug 31, 2018
d2efdfe
WIP: Remove unused CSS classes
acdvorak Aug 31, 2018
8519aba
WIP: Add feature detection. Only run fix in IE 11.
acdvorak Aug 31, 2018
35dcf2e
WIP: Improve testability
acdvorak Aug 31, 2018
2b87472
WIP: Don't disable focus trap when clicking on the scrim
acdvorak Aug 31, 2018
24bb7e7
WIP: Reorder methods in file
acdvorak Aug 31, 2018
73e5ab1
WIP: Add mixins for min-width, max-width, and max-height
acdvorak Aug 31, 2018
2a9c3be
WIP: English instead of Latin. Rename/retitle pages. Better scroll-bo…
acdvorak Aug 31, 2018
01c72b7
WIP: Make "Open Dialog" font larger and more readable
acdvorak Aug 31, 2018
29b6f48
WIP: Add top-level mixins for all Material params
acdvorak Sep 1, 2018
bfc2b63
WIP: Refactor
acdvorak Sep 1, 2018
783b70f
WIP: Refactor for simplicity
acdvorak Sep 1, 2018
7838d86
WIP: Minor unit test cleanup
acdvorak Sep 1, 2018
f52bb5a
WIP: Add unit tests for `util.areTopsMisaligned()`
acdvorak Sep 1, 2018
77837c8
WIP: Unit tests for util.js
acdvorak Sep 2, 2018
98e4d7f
WIP: Improve code coverage
acdvorak Sep 2, 2018
a47fc8a
WIP: Add foundation tests
acdvorak Sep 2, 2018
cb844cc
WIP: Revert accidental renames in tab-bar-scroller
acdvorak Sep 2, 2018
5783ab1
WIP: Improve test coverage
acdvorak Sep 2, 2018
7e7337a
WIP: 100% code coverage in util.js
acdvorak Sep 2, 2018
493e3b1
WIP: Improve code coverage in all components!
acdvorak Sep 2, 2018
91d3cf6
WIP: 100% code coverage!
acdvorak Sep 2, 2018
6ff1bd6
WIP: Update Chrome screenshots
acdvorak Sep 2, 2018
58727b3
WIP: Add brief delay to dialog tests to avoid animation issues
acdvorak Sep 2, 2018
258f299
WIP: Try to get test to pass in Mobile Safari 11.0.0 (iOS 11.0.1)
acdvorak Sep 2, 2018
2d4f025
WIP: Fix test that was failing in Mobile Safari
acdvorak Sep 2, 2018
c59be91
WIP: Increase retries from 0 to 2 for dialog pages to combat animatio…
acdvorak Sep 2, 2018
3aedbfc
WIP: Word
acdvorak Sep 2, 2018
133b5a5
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 3, 2018
2085f9e
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 3, 2018
4cf0c66
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 4, 2018
f1b730f
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 4, 2018
ac999fd
WIP: Add screenshot tests for mixins
acdvorak Sep 4, 2018
41ffb3b
WIP: Use `100vh` instead of `100%`. Update golden.json and fix linter…
acdvorak Sep 4, 2018
894934e
WIP: Dummy commit
acdvorak Sep 4, 2018
b2f05d4
Revert "WIP: Dummy commit"
acdvorak Sep 4, 2018
598e5e4
WIP: Dummy commit
acdvorak Sep 4, 2018
ddd36f8
Revert "WIP: Dummy commit"
acdvorak Sep 4, 2018
c2c0c12
WIP: Dummy commit
acdvorak Sep 4, 2018
602cc4d
Revert "WIP: Dummy commit"
acdvorak Sep 4, 2018
529d806
WIP: Rename IDs and remove whitespace from title
acdvorak Sep 4, 2018
35bef1d
WIP: Add horizontal redlines to screenshot test pages
acdvorak Sep 4, 2018
c35cde6
WIP: Remove unnecessary JS to fix IE flexbox bug (fixed with CSS)
acdvorak Sep 4, 2018
204e544
WIP: Reduce flakiness in Firefox by increasing font size
acdvorak Sep 4, 2018
d076fb2
WIP: Rename CSS class
acdvorak Sep 4, 2018
9c4273b
WIP: Revert changes to common `flaky_test_config` in `diffing.json`
acdvorak Sep 4, 2018
ffd7a82
WIP: Reduce redline font size from 11px to 8px to reduce flakiness in…
acdvorak Sep 4, 2018
22fa28a
WIP: Tweak positioning of small redline labels
acdvorak Sep 4, 2018
7830ab7
WIP: Refactor unit test helpers
acdvorak Sep 4, 2018
ad4ea12
WIP: Refactor
acdvorak Sep 4, 2018
537125c
WIP: Add horizontal redlines
acdvorak Sep 4, 2018
3330e18
WIP: Fix redlines in IE 11
acdvorak Sep 5, 2018
cae34ca
WIP: Redraw redlines when page is resized
acdvorak Sep 5, 2018
a8f2a2e
WIP: Re-layout on `orientationchange` event
acdvorak Sep 5, 2018
39698c6
WIP: Hide redlines when dialog closes
acdvorak Sep 5, 2018
1b32213
WIP: Rename variables
acdvorak Sep 5, 2018
4089c66
WIP: Remove `--scrollable` class before testing for scrollable content
acdvorak Sep 5, 2018
4f9aa62
WIP: Always draw 1px transparent border
acdvorak Sep 5, 2018
e44d5e9
WIP: Add redlines
acdvorak Sep 5, 2018
b35c542
WIP: Hide invalid redline
acdvorak Sep 5, 2018
cf7b891
WIP: Remove invalid redline
acdvorak Sep 5, 2018
fb25d19
WIP: Update `golden.json`
acdvorak Sep 5, 2018
d443fbc
WIP: Fix Edge flakiness by setting `letter-spacing: 0` on `__title` a…
acdvorak Sep 5, 2018
f52d5b9
WIP: Reduce Edge flakiness by removing heading text
acdvorak Sep 5, 2018
9715c1f
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 5, 2018
07e0d81
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 5, 2018
0614f47
WIP: Time for the big hammer. Redact flaky text in Edge. Black text, …
acdvorak Sep 5, 2018
c1dda79
WIP: Redact all dialog buttons and widen min-width from 100px to 200px
acdvorak Sep 5, 2018
7614386
WIP: Add more redlines for content
acdvorak Sep 5, 2018
b327b93
WIP: Fix invalid markup
acdvorak Sep 5, 2018
8a50bb9
WIP: Update flaky Edge screenshot
acdvorak Sep 5, 2018
ffc50e7
WIP: Reposition redlines and add `title` attributes
acdvorak Sep 5, 2018
69a3109
WIP: Minor refactor
acdvorak Sep 5, 2018
38b91ee
WIP: Refactor Sass mixin
acdvorak Sep 5, 2018
a22574f
WIP: Remove old ponyfill (the next commit will add a new `mdc-dom` pa…
acdvorak Sep 5, 2018
9ad4bba
feat(dom): Create `mdc-dom` package with `Element.matches()` ponyfill
acdvorak Sep 5, 2018
5faeba3
WIP: Switch to mdc-dom
acdvorak Sep 5, 2018
e04730f
feat(dom): Create `mdc-dom` package with `Element.matches()` ponyfill
acdvorak Sep 5, 2018
1083dac
WIP: Dummy commit
acdvorak Sep 5, 2018
e80912a
Revert "WIP: Dummy commit"
acdvorak Sep 5, 2018
3b06e4c
WIP: Dummy commit
acdvorak Sep 5, 2018
91a61c1
Revert "WIP: Dummy commit"
acdvorak Sep 5, 2018
f42cb7a
WIP: Remove magic "viewport" value
acdvorak Sep 5, 2018
5d86203
WIP: Use private fields instead of getters
acdvorak Sep 5, 2018
7f8a46e
WIP: Remove outdated comment
acdvorak Sep 5, 2018
4f29969
WIP: Remove stale TODO
acdvorak Sep 5, 2018
877b3e8
WIP: Grammar
acdvorak Sep 5, 2018
c039f22
WIP: Remove unnecessary `-1`
acdvorak Sep 5, 2018
52406df
WIP: Fix broken screenshots: Replace "viewport" with "null"
acdvorak Sep 5, 2018
af5fc11
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 5, 2018
0bc3f34
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 5, 2018
b4c9249
Merge remote-tracking branch 'origin/master' into feat/dom/new-package
acdvorak Sep 5, 2018
c6d89a7
WIP: Revert `toPlainObject()`
acdvorak Sep 5, 2018
5a1b2db
WIP: Update copyright year
acdvorak Sep 5, 2018
06dd7d6
WIP Update readme
Sep 5, 2018
6406bc5
WIP Updates for test:dependency to pass
Sep 5, 2018
1c397cf
Merge branch 'feat/dom/new-package' of github.com:material-components…
acdvorak Sep 5, 2018
02ba603
Merge branch 'feat/dom/new-package' into feat/dialog--prototype
acdvorak Sep 5, 2018
21a9046
WIP: PR feedback
acdvorak Sep 5, 2018
6e082a2
WIP: Rename CSS class to match PR #3520
acdvorak Sep 5, 2018
7707302
WIP: Better way to get full code coverage (thanks Ken!)
acdvorak Sep 5, 2018
921c19d
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Sep 5, 2018
2eb49df
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 5, 2018
62c1df5
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 5, 2018
70a3fb6
WIP Add to closureWhitelist and fix errors
Sep 5, 2018
cf85ab9
WIP deduplicate common styles
Sep 5, 2018
7b08273
WIP: Remove obsolete TODO
acdvorak Sep 5, 2018
27b9225
WIP: Update README
acdvorak Sep 5, 2018
ef7f5be
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Sep 5, 2018
47bb069
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
acdvorak Sep 5, 2018
bad01a4
Merge remote-tracking branch 'origin/master' into feat/dialog
acdvorak Sep 5, 2018
455b197
Merge branch 'feat/dialog' into feat/dialog--prototype
acdvorak Sep 5, 2018
4f07a26
WIP Fix open animation by forcing redraw
Sep 5, 2018
dc06521
WIP: Update comment
acdvorak Sep 6, 2018
65b86a0
WIP: Increase min pixel diff threshold (15 to 25) and # of retries (2…
acdvorak Sep 6, 2018
0f6c353
WIP: Update golden.json for flaky screenshots
acdvorak Sep 6, 2018
bb51946
WIP: Revert changes to unrelated `test/unit/` JS files
acdvorak Sep 6, 2018
303dba3
WIP: Remove stale TODOs
acdvorak Sep 6, 2018
822e7cb
WIP Update defaultAdapter format to be consistent with other adapters
Sep 6, 2018
341e6bd
WIP Update to match new motion spec
Sep 5, 2018
dbaaaf2
WIP Refine / clean up APIs and improve tests
Sep 6, 2018
25532a5
WIP Move event registrations to component; other cleanup
Sep 7, 2018
afff9fa
WIP Update README
Sep 7, 2018
6c7d1e9
WIP Standardize escape key and scrim click actions and add docs
Sep 7, 2018
436914d
WIP Hey now let's not pick on anybody, please
Sep 7, 2018
caa5efc
WIP Move keydown handler back to document to cover no-focus cases
Sep 7, 2018
fc38099
WIP Refine close API and fix test coverage
Sep 7, 2018
4cdb479
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
Sep 7, 2018
5bbf06e
WIP Lint fixes
Sep 7, 2018
cfece8d
WIP Remove stale TODO
Sep 7, 2018
8e829ef
WIP Add Sass variables and make opacity optional
Sep 7, 2018
8c014bd
WIP Better align component/foundation APIs
Sep 7, 2018
4b01eeb
WIP README cleanup
Sep 7, 2018
a9ed1f8
WIP Update show -> open in screenshot tests, oops
Sep 8, 2018
7b0b5c2
WIP Restore .travis.yml since we're merging to master
Sep 8, 2018
d185bad
WIP Clean up constants
Sep 8, 2018
75c0b76
WIP Fix test skips, oops
Sep 10, 2018
d853e9b
WIP Remove redlines for the time being to stabilize screenshots
Sep 10, 2018
40c6ed5
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
Sep 11, 2018
5988170
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
Sep 12, 2018
af06498
WIP Simplify notifyClos* API signatures since we always pass a string
Sep 12, 2018
fd79dee
WIP Update goldens
Sep 12, 2018
39e487a
WIP Convert util from class to just functions
Sep 13, 2018
6c54f1d
WIP Absorb repeated IE flakes
Sep 13, 2018
3f5b4b7
Merge remote-tracking branch 'origin/master' into feat/dialog--prototype
Sep 13, 2018
4ca1d96
WIP Fix lint
Sep 13, 2018
c80af86
WIP Absorb another IE flake that seems...consistent?
Sep 13, 2018
8fd320c
WIP Give up on IE for most dialog tests due to baffling flakes
Sep 13, 2018
eb0bbe0
Merge branch 'master' into feat/dialog--prototype
williamernest Sep 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
284 changes: 0 additions & 284 deletions demos/dialog.html

This file was deleted.

7 changes: 0 additions & 7 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@
<span class="mdc-list-item__secondary-text">Chips for actions, selection, and input </span>
</span>
</a>
<a href="dialog.html" role="listitem" class="mdc-list-item">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="/images/ic_dialog_24px.svg" /></span>
<span class="mdc-list-item__text">
<span class="mdc-list-item__primary-text">Dialog</span>
<span class="mdc-list-item__secondary-text">Implements a modal dialog window</span>
</span>
</a>
<a href="drawer/index.html" role="listitem" class="mdc-list-item">
<span class="demo-catalog-list-icon mdc-list-item__graphic"><img src="/images/ic_side_navigation_24px.svg" /></span>
<span class="mdc-list-item__text">
Expand Down
4 changes: 1 addition & 3 deletions demos/ponyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ export function objectEntries(obj) {
export function matches(elem, selector) {
const nativeMatches = elem.matches
|| elem.webkitMatchesSelector
|| elem.mozMatchesSelector
|| elem.msMatchesSelector
|| elem.oMatchesSelector;
|| elem.msMatchesSelector;
return nativeMatches.call(elem, selector);
}

Expand Down
25 changes: 0 additions & 25 deletions demos/theme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -437,31 +437,6 @@ <h3 class="mdc-typography--headline5 demo-component-section__heading">
</div>
</section>

<section class="demo-component-section">
<i id="dialog" class="demo-anchor-with-toolbar-offset"></i>
<h3 class="mdc-typography--headline5 demo-component-section__heading">
Dialog
<a href="#dialog" class="demo-component-section__permalink" title="Permalink to the theme demo for the dialog component">#</a>
</h3>

<aside class="mdc-dialog mdc-dialog--open demo-dialog">
<div class="mdc-dialog__surface">
<header class="mdc-dialog__header">
<h3 id="mdc-dialog-default-label" class="mdc-dialog__header__title">
Fire photon torpedoes?
</h3>
</header>
<section id="mdc-dialog-default-description" class="mdc-dialog__body">
Shields at 60% and falling, captain.
</section>
<footer class="mdc-dialog__footer">
<button type="button" class="mdc-button mdc-dialog__footer__button mdc-dialog__footer__button--cancel">Belay that order</button>
<button type="button" class="mdc-button mdc-dialog__footer__button mdc-dialog__footer__button--accept">Make it so!</button>
</footer>
</div>
</aside>
</section>

<section class="demo-component-section">
<i id="drawer" class="demo-anchor-with-toolbar-offset"></i>
<h3 class="mdc-typography--headline5 demo-component-section__heading">
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
"mdc-base",
"mdc-checkbox",
"mdc-chips",
"mdc-dialog",
"mdc-dom",
"mdc-drawer",
"mdc-floating-label",
Expand Down
Loading