@opentripplanner/trip-details 9.0.5-alpha.2 → 9.0.6
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/README.md +2 -5
- package/lib/components/departure-date.js +41 -45
- package/lib/components/departure-date.js.map +1 -1
- package/lib/components/emissions.d.ts +0 -1
- package/lib/components/emissions.d.ts.map +1 -1
- package/lib/components/emissions.js +63 -57
- package/lib/components/emissions.js.map +1 -1
- package/lib/components/fares-v2-table.d.ts +0 -1
- package/lib/components/fares-v2-table.d.ts.map +1 -1
- package/lib/components/fares-v2-table.js +179 -146
- package/lib/components/fares-v2-table.js.map +1 -1
- package/lib/components/fares.js +123 -92
- package/lib/components/fares.js.map +1 -1
- package/lib/components/flex-booking-info.d.ts +0 -1
- package/lib/components/flex-booking-info.d.ts.map +1 -1
- package/lib/components/flex-booking-info.js +37 -55
- package/lib/components/flex-booking-info.js.map +1 -1
- package/lib/components/time-active.js +66 -40
- package/lib/components/time-active.js.map +1 -1
- package/lib/index.js +65 -53
- package/lib/index.js.map +1 -1
- package/lib/styled.js +92 -119
- package/lib/styled.js.map +1 -1
- package/lib/trip-detail.d.ts.map +1 -1
- package/lib/trip-detail.js +62 -64
- package/lib/trip-detail.js.map +1 -1
- package/lib/types.d.ts +0 -1
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +4 -1
- package/lib/types.js.map +1 -1
- package/lib/utils.js +23 -17
- package/lib/utils.js.map +1 -1
- package/package.json +3 -3
- package/src/__snapshots__/TripDetails.story.tsx.snap +187 -82
- package/tsconfig.tsbuildinfo +1 -1
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../src/types.ts"],"sourcesContent":["// Prettier does not recognize the import type syntax.\n// eslint-disable-next-line prettier/prettier\nimport type { \n FareProductSelector, \n Itinerary, \n Leg, \n MassUnitOption,\n Money\n } from \"@opentripplanner/types\";\n\nexport interface TimeActiveDetailsProps {\n bikeMinutes: number;\n minutesActive?: number;\n walkMinutes: number;\n}\n\nexport interface CO2ConfigType {\n carbonIntensity?: Record<string, number>;\n units?: MassUnitOption;\n enabled?: boolean;\n}\n\nexport interface DepartureDetailsProps {\n departureDate: Date;\n}\n\n\n// Total fare amount corresponding to a fare key\nexport type FareTotals = (FareProductSelector & { price: Money })[]\n\nexport interface FareDetailsProps {\n legs: Leg[];\n maxTNCFare: number;\n minTNCFare: number;\n}\n\nexport interface TripDetailsProps {\n /**\n * Used for additional styling with styled components for example.\n */\n className?: string;\n /**\n * Object containing the CO₂ config.\n */\n co2Config?: CO2ConfigType;\n /**\n * Determines which transit fare should be displayed by default, should there be multiple transit fare types.\n */\n defaultFareType?: FareProductSelector;\n /**\n * Slot for a custom component to render the expandable section for departure.\n */\n DepartureDetails?: React.ElementType<DepartureDetailsProps>;\n /**\n * Slot for a custom component to render the expandable section for fares.\n */\n FareDetails?: React.ElementType<FareDetailsProps>;\n /**\n * Itinerary that the user has selected to view, contains multiple legs.\n */\n itinerary: Itinerary;\n /**\n * show the '~' symbol in the trip details panel\n */\n showApproximateMinutesActive?: boolean;\n /**\n * Slot for a custom component to render the expandable section for time active.\n */\n TimeActiveDetails?: React.ElementType<TimeActiveDetailsProps>;\n}"],"mappings":"","ignoreList":[]}
|
package/lib/utils.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.boldText = boldText;
|
|
8
|
+
exports.renderFare = renderFare;
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
9
11
|
/**
|
|
10
12
|
* Format text bold (used with FormattedMessage).
|
|
11
13
|
*/
|
|
12
14
|
function boldText(contents) {
|
|
13
|
-
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("strong", null, contents);
|
|
14
16
|
}
|
|
15
|
-
|
|
17
|
+
|
|
16
18
|
/**
|
|
17
19
|
* Render formatted fare.
|
|
18
20
|
* @param currencyCode The ISO currency code to use (USD, GBP, EUR).
|
|
@@ -20,13 +22,17 @@ exports.boldText = boldText;
|
|
|
20
22
|
* @returns The formatted fare value according to the selected locale.
|
|
21
23
|
*/
|
|
22
24
|
function renderFare(currencyCode, fare) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedNumber, {
|
|
26
|
+
currency: currencyCode
|
|
27
|
+
// For dollars in locales such as 'fr',
|
|
28
|
+
// this will limit the display to just the dollar sign
|
|
29
|
+
// (otherwise it will render e.g. '2,50 $US' instead of '2,50 $').
|
|
30
|
+
,
|
|
31
|
+
currencyDisplay: "narrowSymbol",
|
|
32
|
+
value: fare
|
|
33
|
+
// eslint-disable-next-line react/style-prop-object
|
|
34
|
+
,
|
|
35
|
+
style: "currency"
|
|
36
|
+
});
|
|
30
37
|
}
|
|
31
|
-
exports.renderFare = renderFare;
|
|
32
38
|
//# sourceMappingURL=utils.js.map
|
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","
|
|
1
|
+
{"version":3,"file":"utils.js","names":["_react","_interopRequireDefault","require","_reactIntl","boldText","contents","default","createElement","renderFare","currencyCode","fare","FormattedNumber","currency","currencyDisplay","value","style"],"sources":["../src/utils.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode } from \"react\";\nimport { FormattedNumber } from \"react-intl\";\n\n/**\n * Format text bold (used with FormattedMessage).\n */\nexport function boldText(contents: ReactNode): ReactElement {\n return <strong>{contents}</strong>;\n}\n\n/**\n * Render formatted fare.\n * @param currencyCode The ISO currency code to use (USD, GBP, EUR).\n * @param fare The fare value, in currency units, to be shown.\n * @returns The formatted fare value according to the selected locale.\n */\nexport function renderFare(currencyCode: string, fare: number): ReactElement {\n return (\n <FormattedNumber\n currency={currencyCode}\n // For dollars in locales such as 'fr',\n // this will limit the display to just the dollar sign\n // (otherwise it will render e.g. '2,50 $US' instead of '2,50 $').\n currencyDisplay=\"narrowSymbol\"\n value={fare}\n // eslint-disable-next-line react/style-prop-object\n style=\"currency\"\n />\n );\n}\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACO,SAASE,QAAQA,CAACC,QAAmB,EAAgB;EAC1D,oBAAOL,MAAA,CAAAM,OAAA,CAAAC,aAAA,iBAASF,QAAiB,CAAC;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,SAASG,UAAUA,CAACC,YAAoB,EAAEC,IAAY,EAAgB;EAC3E,oBACEV,MAAA,CAAAM,OAAA,CAAAC,aAAA,CAACJ,UAAA,CAAAQ,eAAe;IACdC,QAAQ,EAAEH;IACV;IACA;IACA;IAAA;IACAI,eAAe,EAAC,cAAc;IAC9BC,KAAK,EAAEJ;IACP;IAAA;IACAK,KAAK,EAAC;EAAU,CACjB,CAAC;AAEN","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentripplanner/trip-details",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
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",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@styled-icons/fa-solid": "^10.34.0",
|
|
16
16
|
"flat": "^5.0.2",
|
|
17
17
|
"react-animate-height": "^3.0.4",
|
|
18
|
-
"@opentripplanner/core-utils": "
|
|
18
|
+
"@opentripplanner/core-utils": "14.3.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@opentripplanner/types": "
|
|
21
|
+
"@opentripplanner/types": "8.3.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.2.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
3
|
exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
|
|
4
4
|
<div class="styled__TripDetails-sc-6q2ok2-17 bkRgZI trip-details">
|
|
@@ -941,13 +941,10 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
941
941
|
</span>
|
|
942
942
|
</th>
|
|
943
943
|
<th scope="col">
|
|
944
|
-
|
|
944
|
+
MAX Yellow Line
|
|
945
945
|
</th>
|
|
946
946
|
<th scope="col">
|
|
947
|
-
|
|
948
|
-
</th>
|
|
949
|
-
<th scope="col">
|
|
950
|
-
120
|
|
947
|
+
MAX Blue Line
|
|
951
948
|
</th>
|
|
952
949
|
<th scope="col"
|
|
953
950
|
style="text-align: right;"
|
|
@@ -961,20 +958,31 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
961
958
|
<th scope="row"
|
|
962
959
|
style="text-align: left;"
|
|
963
960
|
>
|
|
964
|
-
|
|
961
|
+
Cash Adult
|
|
965
962
|
</th>
|
|
966
963
|
<td style="text-align: right;">
|
|
967
|
-
$
|
|
964
|
+
$2.80
|
|
968
965
|
</td>
|
|
969
|
-
<td
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
966
|
+
<td title="Transfer discount of $2.80 is applied"
|
|
967
|
+
style="text-align: right;"
|
|
968
|
+
>
|
|
969
|
+
<svg viewbox="0 0 24 24"
|
|
970
|
+
height="16"
|
|
971
|
+
width="16"
|
|
972
|
+
aria-hidden="true"
|
|
973
|
+
focusable="false"
|
|
974
|
+
fill="currentColor"
|
|
975
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
976
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
977
|
+
>
|
|
978
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
979
|
+
</path>
|
|
980
|
+
</svg>
|
|
981
|
+
$0.00
|
|
974
982
|
</td>
|
|
975
983
|
<td style="text-align: right;">
|
|
976
984
|
<em>
|
|
977
|
-
$
|
|
985
|
+
$2.80
|
|
978
986
|
</em>
|
|
979
987
|
</td>
|
|
980
988
|
</tr>
|
|
@@ -982,20 +990,31 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
982
990
|
<th scope="row"
|
|
983
991
|
style="text-align: left;"
|
|
984
992
|
>
|
|
985
|
-
|
|
993
|
+
Cash Honored Citizen
|
|
986
994
|
</th>
|
|
987
995
|
<td style="text-align: right;">
|
|
988
|
-
$1.
|
|
989
|
-
</td>
|
|
990
|
-
<td style="text-align: right;">
|
|
991
|
-
$1.00
|
|
996
|
+
$1.40
|
|
992
997
|
</td>
|
|
993
|
-
<td
|
|
994
|
-
|
|
998
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
999
|
+
style="text-align: right;"
|
|
1000
|
+
>
|
|
1001
|
+
<svg viewbox="0 0 24 24"
|
|
1002
|
+
height="16"
|
|
1003
|
+
width="16"
|
|
1004
|
+
aria-hidden="true"
|
|
1005
|
+
focusable="false"
|
|
1006
|
+
fill="currentColor"
|
|
1007
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1008
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
1009
|
+
>
|
|
1010
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1011
|
+
</path>
|
|
1012
|
+
</svg>
|
|
1013
|
+
$0.00
|
|
995
1014
|
</td>
|
|
996
1015
|
<td style="text-align: right;">
|
|
997
1016
|
<em>
|
|
998
|
-
$
|
|
1017
|
+
$1.40
|
|
999
1018
|
</em>
|
|
1000
1019
|
</td>
|
|
1001
1020
|
</tr>
|
|
@@ -1003,34 +1022,31 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1003
1022
|
<th scope="row"
|
|
1004
1023
|
style="text-align: left;"
|
|
1005
1024
|
>
|
|
1006
|
-
|
|
1025
|
+
Cash Youth
|
|
1007
1026
|
</th>
|
|
1008
|
-
<td style="text-align:
|
|
1009
|
-
|
|
1010
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1011
|
-
No fare information for this leg
|
|
1012
|
-
</span>
|
|
1013
|
-
</td>
|
|
1014
|
-
<td style="text-align: center;">
|
|
1015
|
-
-
|
|
1016
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1017
|
-
No fare information for this leg
|
|
1018
|
-
</span>
|
|
1019
|
-
</td>
|
|
1020
|
-
<td style="text-align: center;">
|
|
1021
|
-
-
|
|
1022
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1023
|
-
No fare information for this leg
|
|
1024
|
-
</span>
|
|
1027
|
+
<td style="text-align: right;">
|
|
1028
|
+
$1.40
|
|
1025
1029
|
</td>
|
|
1026
|
-
<td title="
|
|
1027
|
-
style="text-align:
|
|
1030
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1031
|
+
style="text-align: right;"
|
|
1028
1032
|
>
|
|
1033
|
+
<svg viewbox="0 0 24 24"
|
|
1034
|
+
height="16"
|
|
1035
|
+
width="16"
|
|
1036
|
+
aria-hidden="true"
|
|
1037
|
+
focusable="false"
|
|
1038
|
+
fill="currentColor"
|
|
1039
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1040
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
1041
|
+
>
|
|
1042
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1043
|
+
</path>
|
|
1044
|
+
</svg>
|
|
1045
|
+
$0.00
|
|
1046
|
+
</td>
|
|
1047
|
+
<td style="text-align: right;">
|
|
1029
1048
|
<em>
|
|
1030
|
-
|
|
1031
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1032
|
-
No fare information for this leg
|
|
1033
|
-
</span>
|
|
1049
|
+
$1.40
|
|
1034
1050
|
</em>
|
|
1035
1051
|
</td>
|
|
1036
1052
|
</tr>
|
|
@@ -1038,25 +1054,31 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1038
1054
|
<th scope="row"
|
|
1039
1055
|
style="text-align: left;"
|
|
1040
1056
|
>
|
|
1041
|
-
|
|
1057
|
+
HOP Fastpass Adult
|
|
1042
1058
|
</th>
|
|
1043
1059
|
<td style="text-align: right;">
|
|
1044
|
-
$
|
|
1060
|
+
$2.80
|
|
1045
1061
|
</td>
|
|
1046
|
-
<td
|
|
1062
|
+
<td title="Transfer discount of $2.80 is applied"
|
|
1063
|
+
style="text-align: right;"
|
|
1064
|
+
>
|
|
1065
|
+
<svg viewbox="0 0 24 24"
|
|
1066
|
+
height="16"
|
|
1067
|
+
width="16"
|
|
1068
|
+
aria-hidden="true"
|
|
1069
|
+
focusable="false"
|
|
1070
|
+
fill="currentColor"
|
|
1071
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1072
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
1073
|
+
>
|
|
1074
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1075
|
+
</path>
|
|
1076
|
+
</svg>
|
|
1047
1077
|
$0.00
|
|
1048
1078
|
</td>
|
|
1049
1079
|
<td style="text-align: right;">
|
|
1050
|
-
$0.00
|
|
1051
|
-
</td>
|
|
1052
|
-
<td title="No fare total available"
|
|
1053
|
-
style="text-align: center;"
|
|
1054
|
-
>
|
|
1055
1080
|
<em>
|
|
1056
|
-
|
|
1057
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1058
|
-
No fare information for this leg
|
|
1059
|
-
</span>
|
|
1081
|
+
$2.80
|
|
1060
1082
|
</em>
|
|
1061
1083
|
</td>
|
|
1062
1084
|
</tr>
|
|
@@ -1064,12 +1086,12 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1064
1086
|
<th scope="row"
|
|
1065
1087
|
style="text-align: left;"
|
|
1066
1088
|
>
|
|
1067
|
-
|
|
1089
|
+
HOP Fastpass Honored Citizen
|
|
1068
1090
|
</th>
|
|
1069
1091
|
<td style="text-align: right;">
|
|
1070
|
-
$
|
|
1092
|
+
$1.40
|
|
1071
1093
|
</td>
|
|
1072
|
-
<td title="Transfer discount of $
|
|
1094
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1073
1095
|
style="text-align: right;"
|
|
1074
1096
|
>
|
|
1075
1097
|
<svg viewbox="0 0 24 24"
|
|
@@ -1086,7 +1108,22 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1086
1108
|
</svg>
|
|
1087
1109
|
$0.00
|
|
1088
1110
|
</td>
|
|
1089
|
-
<td
|
|
1111
|
+
<td style="text-align: right;">
|
|
1112
|
+
<em>
|
|
1113
|
+
$1.40
|
|
1114
|
+
</em>
|
|
1115
|
+
</td>
|
|
1116
|
+
</tr>
|
|
1117
|
+
<tr>
|
|
1118
|
+
<th scope="row"
|
|
1119
|
+
style="text-align: left;"
|
|
1120
|
+
>
|
|
1121
|
+
HOP Fastpass Youth
|
|
1122
|
+
</th>
|
|
1123
|
+
<td style="text-align: right;">
|
|
1124
|
+
$1.40
|
|
1125
|
+
</td>
|
|
1126
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1090
1127
|
style="text-align: right;"
|
|
1091
1128
|
>
|
|
1092
1129
|
<svg viewbox="0 0 24 24"
|
|
@@ -1105,7 +1142,7 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1105
1142
|
</td>
|
|
1106
1143
|
<td style="text-align: right;">
|
|
1107
1144
|
<em>
|
|
1108
|
-
$
|
|
1145
|
+
$1.40
|
|
1109
1146
|
</em>
|
|
1110
1147
|
</td>
|
|
1111
1148
|
</tr>
|
|
@@ -1113,12 +1150,12 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1113
1150
|
<th scope="row"
|
|
1114
1151
|
style="text-align: left;"
|
|
1115
1152
|
>
|
|
1116
|
-
|
|
1153
|
+
Open Payment Adult
|
|
1117
1154
|
</th>
|
|
1118
1155
|
<td style="text-align: right;">
|
|
1119
|
-
$
|
|
1156
|
+
$2.80
|
|
1120
1157
|
</td>
|
|
1121
|
-
<td title="Transfer discount of $
|
|
1158
|
+
<td title="Transfer discount of $2.80 is applied"
|
|
1122
1159
|
style="text-align: right;"
|
|
1123
1160
|
>
|
|
1124
1161
|
<svg viewbox="0 0 24 24"
|
|
@@ -1135,7 +1172,22 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1135
1172
|
</svg>
|
|
1136
1173
|
$0.00
|
|
1137
1174
|
</td>
|
|
1138
|
-
<td
|
|
1175
|
+
<td style="text-align: right;">
|
|
1176
|
+
<em>
|
|
1177
|
+
$2.80
|
|
1178
|
+
</em>
|
|
1179
|
+
</td>
|
|
1180
|
+
</tr>
|
|
1181
|
+
<tr>
|
|
1182
|
+
<th scope="row"
|
|
1183
|
+
style="text-align: left;"
|
|
1184
|
+
>
|
|
1185
|
+
Open Payment Honored Citizen
|
|
1186
|
+
</th>
|
|
1187
|
+
<td style="text-align: right;">
|
|
1188
|
+
$1.40
|
|
1189
|
+
</td>
|
|
1190
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1139
1191
|
style="text-align: right;"
|
|
1140
1192
|
>
|
|
1141
1193
|
<svg viewbox="0 0 24 24"
|
|
@@ -1154,7 +1206,7 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1154
1206
|
</td>
|
|
1155
1207
|
<td style="text-align: right;">
|
|
1156
1208
|
<em>
|
|
1157
|
-
$1.
|
|
1209
|
+
$1.40
|
|
1158
1210
|
</em>
|
|
1159
1211
|
</td>
|
|
1160
1212
|
</tr>
|
|
@@ -1162,12 +1214,12 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1162
1214
|
<th scope="row"
|
|
1163
1215
|
style="text-align: left;"
|
|
1164
1216
|
>
|
|
1165
|
-
|
|
1217
|
+
Open Payment Youth
|
|
1166
1218
|
</th>
|
|
1167
1219
|
<td style="text-align: right;">
|
|
1168
|
-
$1.
|
|
1220
|
+
$1.40
|
|
1169
1221
|
</td>
|
|
1170
|
-
<td title="Transfer discount of $1.
|
|
1222
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1171
1223
|
style="text-align: right;"
|
|
1172
1224
|
>
|
|
1173
1225
|
<svg viewbox="0 0 24 24"
|
|
@@ -1184,7 +1236,22 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1184
1236
|
</svg>
|
|
1185
1237
|
$0.00
|
|
1186
1238
|
</td>
|
|
1187
|
-
<td
|
|
1239
|
+
<td style="text-align: right;">
|
|
1240
|
+
<em>
|
|
1241
|
+
$1.40
|
|
1242
|
+
</em>
|
|
1243
|
+
</td>
|
|
1244
|
+
</tr>
|
|
1245
|
+
<tr>
|
|
1246
|
+
<th scope="row"
|
|
1247
|
+
style="text-align: left;"
|
|
1248
|
+
>
|
|
1249
|
+
Virtual HOP Fastpass Adult
|
|
1250
|
+
</th>
|
|
1251
|
+
<td style="text-align: right;">
|
|
1252
|
+
$2.80
|
|
1253
|
+
</td>
|
|
1254
|
+
<td title="Transfer discount of $2.80 is applied"
|
|
1188
1255
|
style="text-align: right;"
|
|
1189
1256
|
>
|
|
1190
1257
|
<svg viewbox="0 0 24 24"
|
|
@@ -1203,7 +1270,7 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1203
1270
|
</td>
|
|
1204
1271
|
<td style="text-align: right;">
|
|
1205
1272
|
<em>
|
|
1206
|
-
$
|
|
1273
|
+
$2.80
|
|
1207
1274
|
</em>
|
|
1208
1275
|
</td>
|
|
1209
1276
|
</tr>
|
|
@@ -1211,25 +1278,63 @@ exports[`TripDetails FaresV2TableStory smoke-test 1`] = `
|
|
|
1211
1278
|
<th scope="row"
|
|
1212
1279
|
style="text-align: left;"
|
|
1213
1280
|
>
|
|
1214
|
-
|
|
1281
|
+
Virtual HOP Fastpass Honored Citizen
|
|
1215
1282
|
</th>
|
|
1216
1283
|
<td style="text-align: right;">
|
|
1284
|
+
$1.40
|
|
1285
|
+
</td>
|
|
1286
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1287
|
+
style="text-align: right;"
|
|
1288
|
+
>
|
|
1289
|
+
<svg viewbox="0 0 24 24"
|
|
1290
|
+
height="16"
|
|
1291
|
+
width="16"
|
|
1292
|
+
aria-hidden="true"
|
|
1293
|
+
focusable="false"
|
|
1294
|
+
fill="currentColor"
|
|
1295
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1296
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
1297
|
+
>
|
|
1298
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1299
|
+
</path>
|
|
1300
|
+
</svg>
|
|
1217
1301
|
$0.00
|
|
1218
1302
|
</td>
|
|
1219
1303
|
<td style="text-align: right;">
|
|
1220
|
-
|
|
1304
|
+
<em>
|
|
1305
|
+
$1.40
|
|
1306
|
+
</em>
|
|
1221
1307
|
</td>
|
|
1308
|
+
</tr>
|
|
1309
|
+
<tr>
|
|
1310
|
+
<th scope="row"
|
|
1311
|
+
style="text-align: left;"
|
|
1312
|
+
>
|
|
1313
|
+
Virtual HOP Fastpass Youth
|
|
1314
|
+
</th>
|
|
1222
1315
|
<td style="text-align: right;">
|
|
1223
|
-
$
|
|
1316
|
+
$1.40
|
|
1224
1317
|
</td>
|
|
1225
|
-
<td title="
|
|
1226
|
-
style="text-align:
|
|
1318
|
+
<td title="Transfer discount of $1.40 is applied"
|
|
1319
|
+
style="text-align: right;"
|
|
1227
1320
|
>
|
|
1321
|
+
<svg viewbox="0 0 24 24"
|
|
1322
|
+
height="16"
|
|
1323
|
+
width="16"
|
|
1324
|
+
aria-hidden="true"
|
|
1325
|
+
focusable="false"
|
|
1326
|
+
fill="currentColor"
|
|
1327
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1328
|
+
class="StyledIconBase-sc-ea9ulj-0 ebjPRL fares-v2-table__TransferIcon-sc-h3t2h2-0 jfEQzl"
|
|
1329
|
+
>
|
|
1330
|
+
<path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
|
|
1331
|
+
</path>
|
|
1332
|
+
</svg>
|
|
1333
|
+
$0.00
|
|
1334
|
+
</td>
|
|
1335
|
+
<td style="text-align: right;">
|
|
1228
1336
|
<em>
|
|
1229
|
-
|
|
1230
|
-
<span class="styled__InvisibleA11yLabel-sc-6q2ok2-0 elLeWK">
|
|
1231
|
-
No fare information for this leg
|
|
1232
|
-
</span>
|
|
1337
|
+
$1.40
|
|
1233
1338
|
</em>
|
|
1234
1339
|
</td>
|
|
1235
1340
|
</tr>
|