@opentripplanner/trip-details 2.1.3-alpha.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/fare-table.js +3 -3
- package/esm/index.js +57 -9
- package/esm/index.js.map +1 -1
- package/esm/styled.js +24 -16
- package/esm/styled.js.map +1 -1
- package/esm/trip-detail.js +5 -9
- package/esm/trip-detail.js.map +1 -1
- package/esm/types.js.map +1 -1
- package/i18n/en-US.yml +4 -0
- package/i18n/fr.yml +4 -0
- package/lib/fare-table.d.ts +1 -0
- package/lib/fare-table.d.ts.map +1 -1
- package/lib/fare-table.js +3 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +53 -7
- package/lib/index.js.map +1 -1
- package/lib/styled.d.ts +2 -0
- package/lib/styled.d.ts.map +1 -1
- package/lib/styled.js +31 -17
- package/lib/styled.js.map +1 -1
- package/lib/trip-detail.d.ts.map +1 -1
- package/lib/trip-detail.js +7 -9
- package/lib/trip-detail.js.map +1 -1
- package/lib/types.d.ts +11 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +5 -4
- package/src/TripDetails.story.tsx +8 -2
- package/src/index.tsx +74 -9
- package/src/styled.ts +4 -0
- package/src/trip-detail.tsx +9 -14
- package/src/types.ts +10 -0
- package/tsconfig.tsbuildinfo +1 -4633
- package/src/__unpublished__/external-types.d.ts +0 -22
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Type declarations for dependencies that don't export types.
|
|
2
|
-
|
|
3
|
-
// Package velocity-react does not export types
|
|
4
|
-
// and does not exist in the @types repository.
|
|
5
|
-
declare module "velocity-react" {
|
|
6
|
-
// Important! imports must be within modules.
|
|
7
|
-
import { ReactElement } from "react";
|
|
8
|
-
|
|
9
|
-
interface TransitionInfo {
|
|
10
|
-
animation: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface VelocityTransitionGroupProps {
|
|
14
|
-
enter?: TransitionInfo;
|
|
15
|
-
leave?: TransitionInfo;
|
|
16
|
-
children?: ReactElement;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export declare function VelocityTransitionGroup(
|
|
20
|
-
props: VelocityTransitionGroupProps
|
|
21
|
-
): ReactElement;
|
|
22
|
-
}
|