зеркало из
1
0
Форкнуть 0
Граф коммитов

132 Коммитов

Автор SHA1 Сообщение Дата
Kristján Oddsson 87b8ad820d
use babel-preset-github 2019-02-25 12:26:51 +00:00
David Graham a4044a1313
Update build toolchain to Babel 7.0 2019-02-13 14:36:08 -07:00
David Graham d7935213b5
Update development dependencies 2019-02-13 12:19:02 -07:00
Mu-An ✌️ Chiou 8df932be61
1.4.1 2018-12-20 14:31:44 -05:00
Mu-An Chiou bd11cf3723
Merge pull request #23 from github/hidden
Consider hidden parent element in focus management
2018-12-20 14:31:17 -05:00
Mu-An ✌️ Chiou f90f6c1277
Prevent error when nothing is focusable 2018-12-18 15:52:25 -05:00
Mu-An ✌️ Chiou 70f8c4d5ee
Consider hidden parent 2018-12-18 15:46:09 -05:00
Mu-An ✌️ Chiou 4403e7223e
Fix focus starting point 2018-12-18 15:44:06 -05:00
Mu-An ✌️ Chiou 52e19aedc0
Test focus management 2018-12-18 15:39:10 -05:00
Mu-An ✌️ Chiou 27084da9e7
1.4.0 2018-09-13 14:39:01 -04:00
Mu-An Chiou 1f7086a9d7
Merge pull request #22 from github/will-close-event
Add cancellable details-dialog:will-close event
2018-09-13 14:38:36 -04:00
Kevin Sawicki 6b0e0d8f4a outside the dialog -> <summary> 2018-09-13 11:35:10 -07:00
Kevin Sawicki 4f38af0924 Consistent quotes 2018-09-13 11:15:09 -07:00
Kevin Sawicki 1c1532724b Document details-dialog:will-close event 2018-09-13 11:13:49 -07:00
Kevin Sawicki 7d61d28d63 Add return type to onSummaryClick 2018-09-13 10:56:28 -07:00
Kevin Sawicki db32083ba3 🎨 2018-09-13 10:54:42 -07:00
Kevin Sawicki 457dbdd302 MouseEvent -> Event 2018-09-13 10:53:12 -07:00
Kevin Sawicki 0531442829 Fire will-close event when no summary is present 2018-09-13 10:51:46 -07:00
Kevin Sawicki 21d9f3254d 🎨 2018-09-13 09:54:15 -07:00
Kevin Sawicki 25ee596dcc Add details-dialog:will-close event 2018-09-13 09:49:54 -07:00
Kevin Sawicki 2d737b76a8 Set attribute to empty string 2018-09-13 09:34:23 -07:00
Mu-An ✌️ Chiou cf27b407bc
1.3.0 2018-09-13 11:50:43 -04:00
Mu-An Chiou 1b4f19db5d
Merge pull request #21 from github/click-summary-to-close
Click summary to close dialog so it can be canceled
2018-09-13 11:43:29 -04:00
Kevin Sawicki f4b0a51c89 Add toggle tests when no summary element is present 2018-09-12 15:36:08 -07:00
Kevin Sawicki ba6dbe721a Add more types 2018-09-12 15:29:22 -07:00
Kevin Sawicki 0e6c310525 Test that calling toggle on dialog can be canceled 2018-09-12 15:06:50 -07:00
Kevin Sawicki fa68e113c6 Toggle via clicking summary element 2018-09-12 14:57:12 -07:00
Kevin Sawicki 16c6d70652 Add failing test for canceling a close request 2018-09-12 14:55:17 -07:00
David Graham 1529d49af5
Link to web component support 2018-08-21 14:58:43 -06:00
David Graham 5f58e83beb
Update development dependencies 2018-08-17 10:31:23 -06:00
Mu-An ✌️ Chiou dd68c0cdbc
1.2.4 2018-08-17 08:58:35 -04:00
Mu-An Chiou 56a5b6abaa
Merge pull request #19 from github/flow
Set up Flow
2018-08-17 08:57:56 -04:00
Mu-An ✌️ Chiou e7be9cff65
Pull built file for pages demo and comment out local built file 2018-08-17 08:47:06 -04:00
Mu-An ✌️ Chiou 427e3bb5ef
Allow focus to be return to body if there wasn't focus to begin with 2018-08-17 08:36:55 -04:00
Mu-An ✌️ Chiou 5e33147381
Add findFocusElement() 2018-08-15 18:14:30 -04:00
Mu-An ✌️ Chiou 5e4b0427ef
Explicit return type 2018-08-15 16:37:45 -04:00
Mu-An ✌️ Chiou b55512e5da
Remove any type
details.open is changed to attribute changes because browsers without
native <details> support would fail at type checking for
HTMLDetailsElement
2018-08-15 16:34:47 -04:00
Mu-An ✌️ Chiou 1098248ce0
Set up Flow 2018-08-09 20:20:03 -04:00
Mu-An ✌️ Chiou faf2991d26
1.2.3 2018-08-09 17:23:59 -04:00
muan 8d42e56a98
Merge pull request #18 from github/esc
Escape event boundary + focus return to activeElement
2018-08-09 17:16:10 -04:00
Mu-An ✌️ Chiou 21ba2ebb40
Prioritize non-body element to focus on
In Safari https://bugs.webkit.org/show_bug.cgi?id=112968
Clicking on button resets activeElement. Instead of dropping focus to the
beginninng of the page, summary tag is preferred
2018-08-09 17:00:56 -04:00
Mu-An ✌️ Chiou 9f788ea1a3
Remove fallback to body
It's the default behavior
2018-08-09 13:25:56 -04:00
Mu-An ✌️ Chiou 614b453caa
Fallback to summary and then body 2018-08-09 13:03:10 -04:00
Mu-An Chiou 86a74ecd96
Return focus to activeElement 2018-08-06 17:33:09 -04:00
Mu-An Chiou a8f2cd44c7
Create escape key event boundary 2018-08-06 17:32:59 -04:00
Mu-An ✌️ Chiou 967b9394c3 1.2.2 2018-07-31 14:09:01 -04:00
Mu-An ✌️ Chiou 342595bb62 Set aria-haspopup on summary 2018-07-31 12:58:55 -04:00
muan 3130fdb940
Merge pull request #17 from github/fix-tab
Fix querying focusable elements
2018-07-31 12:57:09 -04:00
Mu-An ✌️ Chiou 80d9d99822 Fix querying focusable els. 'dialog' was 'details' 2018-07-31 10:46:49 -04:00
Mu-An ✌️ Chiou cce61e97ba 1.2.1 2018-07-23 14:00:43 -04:00