60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# react-transition-group [![npm][npm-badge]][npm]
|
|
|
|
> **ATTENTION!** To address many issues that have come up over the years, the API in v2 and above is not backwards compatible with the original [`React addon (v1-stable)`](https://github.com/reactjs/react-transition-group/tree/v1-stable).
|
|
>
|
|
> **For a drop-in replacement for `react-addons-transition-group` and `react-addons-css-transition-group`, use the v1 release. Documentation and code for that release are available on the [`v1-stable`](https://github.com/reactjs/react-transition-group/tree/v1-stable) branch.**
|
|
>
|
|
> We are no longer updating the v1 codebase, please upgrade to the latest version when possible
|
|
|
|
A set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.
|
|
|
|
## Documentation
|
|
|
|
- [**Main documentation**](https://reactcommunity.org/react-transition-group/)
|
|
- [Migration guide from v1](/Migration.md)
|
|
|
|
## TypeScript
|
|
TypeScript definitions are published via [**DefinitelyTyped**](https://github.com/DefinitelyTyped/DefinitelyTyped) and can be installed via the following command:
|
|
|
|
```
|
|
npm install @types/react-transition-group
|
|
```
|
|
|
|
## Examples
|
|
|
|
Clone the repo first:
|
|
|
|
```
|
|
git@github.com:reactjs/react-transition-group.git
|
|
```
|
|
|
|
Then run `npm install` (or `yarn`), and finally `npm run storybook` to start a storybook instance that you can navigate to in your browser to see the examples.
|
|
|
|
[npm-badge]: https://img.shields.io/npm/v/react-transition-group.svg
|
|
[npm]: https://www.npmjs.org/package/react-transition-group
|