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

Toasts #1

Open
wants to merge 168 commits into
base: master
Choose a base branch
from
Open

Toasts #1

wants to merge 168 commits into from

Conversation

hcharley
Copy link
Owner

@hcharley hcharley commented Jan 24, 2019

image

kvet and others added 30 commits April 23, 2018 16:39
…p#976)

Should have been written as `onExited` as `onExit` is not an event.
docs(Readme): Update dependency versions
Media will now more smartly determine the tag is no tag is provided. It will use other attirbutes to determine which tag makes sense.
having an href only makes sense on an anchor, so it will use an anchor tag when an href is present

Ref reactstrap#979
This adds .focus() directly on the component so a 'standard'  is good enough to call .focus() on
This makes it easier to use submit as if the component was a raw form (via 'standard' )
Allow addMultipleEventListeners to handle single values for element and events
This adds shows a tooltip on focus and hides it when out of focus. Also adds the ability to close tooltip using the escape key. Adds `role='tooltip'` to the tooltip. 

Fixes reactstrap#1012
kinke and others added 30 commits January 9, 2019 16:48
Via `<Popover trigger="manual" isInteractive />`.
Changed semantics for `trigger="manual"`: hide popover when clicking outside target element *and*, depending on the new `isInteractive` prop, outside the popover itself.

Closes reactstrap#1349
…eactstrap#1364)

adds propType `fade=true` to PopperContent used in Tooltip and Popover.
Default hide delay is changed from 250 to 0 to match bootstrap.
popperClassName, used for displaying the popper, is separated from classNames.

BREAKING CHANGE: Popover and Tooltip will now fade in and out (like bootstrap's default). To get the previous behavior use fade={false}

Closes reactstrap#363
* Fixes 'TypeError: t[(n - 1)] is undefined at [...].handleTab' JavaScript exception
The function `DOMElement` in `utils.js` throws a `ReferenceError` in non-DOM environments such as Node, due to the fact that it references `Element` on the right-hand side  of an `instanceof` check, which is (most probably) undefined in non-DOM environments.

This pull request adds a small shim for the `Element` object in order to prevent `DOMElement` from throwing an error if `Element` is not defined.
Boolean states should be set with the previous state to avoid async state change issues.
Add the fade prop to the props list for the Alert component docs.
…s… (reactstrap#1410)

Currently the `next` and `previous` props on the `PaginationLink` component have default carets that symbolize `first` and `last`. I added new props for `first` and `last` in order to have both features for navigating to any of these.

BREAKING CHANGE: Now the `next` and `previous` props are displaying single carets instead of double caret. To get the old style, use `first` and `last` props instead of `previous` and `next` respectfully and set `aria-label` to `Next` or `Previous`.
* Added htmlFor prop for CustomInput
* Added proptype, examples
…p#1423)

* Use callback in setState when referencing the previous state

* Use callback in setState when referencing the previous state
This PR adds a `scrollable` prop to `Modal` which applies the `modal-dialog-scrollable` class which was added in Bootstrap 4.3.0. [Here](https://getbootstrap.com/docs/4.3/components/modal/#scrolling-long-content) is the relevant section of the Bootstrap documentation for reference.
…eactstrap#1426)

For Popovers/Tooltips with trigger="click" or trigger="legacy", touches
on mobile were triggering touchstart and then click, which caused them
to open briefly and then immediately close. This removes the
touchstart event handling to fix behaviour on mobile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment