-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dynamically collapse legs based on available space (#55)
* feat: dynamically collapse legs based on available space * refactor: use correct imports Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com> * refactor: use correct imports Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com> * style: fix color of footer border * fix: use useEffect instead of useLayoutEffect * fix: use other imports * fix: export explicitly * refactor: use function syntax * refactor: rework leg lines * fix: rename variable * docs: add comment * fix: remove abundant semi colon * fix: fix parsing of non transit trips --------- Co-authored-by: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com>
- Loading branch information
1 parent
1ef868f
commit 6ca8716
Showing
18 changed files
with
378 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
export * from './types'; | ||
export * from './utils'; | ||
export { | ||
parseTripQuery, | ||
createTripQuery, | ||
departureDateToDepartureMode, | ||
departureModeToDepartureDate, | ||
} from './utils'; | ||
export type { AssistantLayoutProps } from './layout'; | ||
export { default as AssistantLayout } from './layout'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-pattern-header/__tests__/trip.fixture.ts → ...pattern/__tests__/trip-pattern.fixture.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.