@opentripplanner/trip-details 5.0.13 → 5.0.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentripplanner/trip-details",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.14",
|
|
4
4
|
"description": "A component for displaying details about a trip planning itinerary",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"private": false,
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@opentripplanner/core-utils": "^11.4.
|
|
14
|
+
"@opentripplanner/core-utils": "^11.4.3",
|
|
15
15
|
"@styled-icons/fa-solid": "^10.34.0",
|
|
16
16
|
"flat": "^5.0.2",
|
|
17
17
|
"react-animate-height": "^3.0.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@opentripplanner/types": "^6.5.
|
|
20
|
+
"@opentripplanner/types": "^6.5.2",
|
|
21
21
|
"@types/flat": "^5.0.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"react": "^
|
|
24
|
+
"react": "^18.2.0",
|
|
25
25
|
"react-intl": "^5.24.6",
|
|
26
26
|
"styled-components": "^5.3.0"
|
|
27
27
|
},
|
|
@@ -2,8 +2,8 @@ import flatten from "flat";
|
|
|
2
2
|
import React, { ReactElement } from "react";
|
|
3
3
|
import { FormattedDate } from "react-intl";
|
|
4
4
|
import {
|
|
5
|
-
ComponentMeta,
|
|
6
5
|
ComponentStory,
|
|
6
|
+
Meta,
|
|
7
7
|
Parameters,
|
|
8
8
|
StoryContext
|
|
9
9
|
} from "@storybook/react";
|
|
@@ -239,6 +239,7 @@ export default {
|
|
|
239
239
|
},
|
|
240
240
|
component: TripDetails,
|
|
241
241
|
parameters: {
|
|
242
|
+
date: new Date("March 10, 2021 10:00:00"),
|
|
242
243
|
// Hide all controls
|
|
243
244
|
// (there are no args that the user can interactively change for this component).
|
|
244
245
|
controls: {
|
|
@@ -247,7 +248,7 @@ export default {
|
|
|
247
248
|
}
|
|
248
249
|
},
|
|
249
250
|
title: "TripDetails"
|
|
250
|
-
} as
|
|
251
|
+
} as Meta;
|
|
251
252
|
|
|
252
253
|
export const WalkOnlyItinerary = makeStory({
|
|
253
254
|
itinerary: walkOnlyItinerary
|