Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Modal Dialogs #1646

Closed
wants to merge 76 commits into from

Commits on Aug 12, 2020

  1. Basic Modal support

    This adds Modals without animation, presentation style,
    or orientation management.
    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    6ab1f0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d480a39 View commit details
    Browse the repository at this point in the history
  3. add accessibility role and aria-modal flag

    this replaces setting aria-hidden on everything else
    per https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    e9a2ae0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    472ce71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    13807b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b21903d View commit details
    Browse the repository at this point in the history
  7. trap focus in the modal

    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    8218161 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e264f2d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    900fb2e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    44d1c91 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6b10b8d View commit details
    Browse the repository at this point in the history
  12. linting of the modal

    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    a11b679 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b04fdfa View commit details
    Browse the repository at this point in the history
  14. types & linting

    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    397c551 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6b2fc42 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    79c0543 View commit details
    Browse the repository at this point in the history
  17. remove spurious $

    imnotjames committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    7df4442 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    04ea623 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. add flow types

    imnotjames committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    c8d7674 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b724ff8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f6e5f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. Configuration menu
    Copy the full SHA
    d49bee3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7551680 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b714ce5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23b9ae5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93502a8 View commit details
    Browse the repository at this point in the history
  6. add a bit of wiggle to modalception example

    this makes it clearer that the example has multiple open modals at once
    imnotjames committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    4f6be74 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6bf04a0 View commit details
    Browse the repository at this point in the history
  8. clean up flow types for modals

    move internal flow types into their respective internal modules
    create a flow type for ModalFocusTrap
    imnotjames committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    3454f37 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2bbedc2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e366a4c View commit details
    Browse the repository at this point in the history
  11. drop deprecated animated prop

    this was dropped in 0.63 and now react-native-web doesn't support
    anything lower than 0.63
    imnotjames committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    ae868d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2020

  1. use long-form outline

    imnotjames committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    ef9c1c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    604d0a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7491592 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56db03e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a81651 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b22dda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c06fa6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    819382e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    328d307 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2020

  1. Configuration menu
    Copy the full SHA
    605d72c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    123bb43 View commit details
    Browse the repository at this point in the history
  3. use a listener instead of passing functions around for active

    this allows us to set the "active" status of each modal as other
    modals are being placed over top of them to keep track
    imnotjames committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    346fdd8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a38e76c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d75ca25 View commit details
    Browse the repository at this point in the history
  6. add test for modal

    imnotjames committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    274da42 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    954d0d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e5f23a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7a42b56 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2d7f83f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c546dc3 View commit details
    Browse the repository at this point in the history
  12. update snapshot

    imnotjames committed Aug 16, 2020
    Configuration menu
    Copy the full SHA
    a15826f View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Configuration menu
    Copy the full SHA
    0987b1e View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. fix linting error

    imnotjames committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    769f919 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. Configuration menu
    Copy the full SHA
    7457653 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    8dcc5e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee377bb View commit details
    Browse the repository at this point in the history
  3. combine if blocks

    imnotjames committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    e63c617 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdb9f85 View commit details
    Browse the repository at this point in the history
  5. clean up Modal docs

    imnotjames committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    40549e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5dd2bc5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a0bbafe View commit details
    Browse the repository at this point in the history
  8. fix example exports

    imnotjames committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    c5ebf2d View commit details
    Browse the repository at this point in the history
  9. move effect into canUseDOM

    imnotjames committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    dfc4783 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. bring back isRendering flag on ModalAnimation with hidden style

    instead of completely unmounting when not rendering, instead
    just set `display: none` on the modal
    imnotjames committed Sep 1, 2020
    Configuration menu
    Copy the full SHA
    d515c5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb54c6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e311e3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09e49ef View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Modal visible by default

    imnotjames committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    5b3251a View commit details
    Browse the repository at this point in the history
  2. unmount modal children when !visible & !rendering

    this is to improve integration support with react-native-modal
    while still umounting contents when we've been hidden
    imnotjames committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    e2146e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Configuration menu
    Copy the full SHA
    af6d7b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Configuration menu
    Copy the full SHA
    283f686 View commit details
    Browse the repository at this point in the history
  2. updates per review

    imnotjames committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    0d4445e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2685972 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Configuration menu
    Copy the full SHA
    a51ace3 View commit details
    Browse the repository at this point in the history