@opentripplanner/trip-details 7.0.0 → 8.0.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.
Files changed (68) hide show
  1. package/esm/components/departure-date.js +42 -0
  2. package/esm/components/departure-date.js.map +1 -0
  3. package/esm/components/emissions.js +68 -0
  4. package/esm/components/emissions.js.map +1 -0
  5. package/esm/{fare-table.js → components/fare-table.js} +6 -6
  6. package/esm/components/fare-table.js.map +1 -0
  7. package/esm/components/fares.js +151 -0
  8. package/esm/components/fares.js.map +1 -0
  9. package/esm/components/flex-booking-info.js +51 -0
  10. package/esm/components/flex-booking-info.js.map +1 -0
  11. package/esm/components/time-active.js +69 -0
  12. package/esm/components/time-active.js.map +1 -0
  13. package/esm/index.js +40 -289
  14. package/esm/index.js.map +1 -1
  15. package/esm/trip-detail.js +4 -2
  16. package/esm/trip-detail.js.map +1 -1
  17. package/esm/types.js.map +1 -1
  18. package/lib/components/departure-date.d.ts +10 -0
  19. package/lib/components/departure-date.d.ts.map +1 -0
  20. package/lib/components/departure-date.js +51 -0
  21. package/lib/components/departure-date.js.map +1 -0
  22. package/lib/components/emissions.d.ts +8 -0
  23. package/lib/components/emissions.d.ts.map +1 -0
  24. package/lib/components/emissions.js +75 -0
  25. package/lib/components/emissions.js.map +1 -0
  26. package/lib/{fare-table.d.ts → components/fare-table.d.ts} +1 -1
  27. package/lib/components/fare-table.d.ts.map +1 -0
  28. package/lib/{fare-table.js → components/fare-table.js} +6 -6
  29. package/lib/components/fare-table.js.map +1 -0
  30. package/lib/components/fares.d.ts +10 -0
  31. package/lib/components/fares.d.ts.map +1 -0
  32. package/lib/components/fares.js +162 -0
  33. package/lib/components/fares.js.map +1 -0
  34. package/lib/components/flex-booking-info.d.ts +6 -0
  35. package/lib/components/flex-booking-info.d.ts.map +1 -0
  36. package/lib/components/flex-booking-info.js +47 -0
  37. package/lib/components/flex-booking-info.js.map +1 -0
  38. package/lib/components/time-active.d.ts +14 -0
  39. package/lib/components/time-active.d.ts.map +1 -0
  40. package/lib/components/time-active.js +79 -0
  41. package/lib/components/time-active.js.map +1 -0
  42. package/lib/index.d.ts +2 -2
  43. package/lib/index.d.ts.map +1 -1
  44. package/lib/index.js +27 -262
  45. package/lib/index.js.map +1 -1
  46. package/lib/trip-detail.d.ts +2 -1
  47. package/lib/trip-detail.d.ts.map +1 -1
  48. package/lib/trip-detail.js +4 -2
  49. package/lib/trip-detail.js.map +1 -1
  50. package/lib/types.d.ts +20 -19
  51. package/lib/types.d.ts.map +1 -1
  52. package/lib/types.js.map +1 -1
  53. package/package.json +3 -3
  54. package/src/TripDetails.story.tsx +26 -28
  55. package/src/__snapshots__/TripDetails.story.tsx.snap +108 -108
  56. package/src/components/departure-date.tsx +53 -0
  57. package/src/components/emissions.tsx +97 -0
  58. package/src/{fare-table.tsx → components/fare-table.tsx} +4 -4
  59. package/src/components/fares.tsx +205 -0
  60. package/src/components/flex-booking-info.tsx +57 -0
  61. package/src/components/time-active.tsx +90 -0
  62. package/src/index.tsx +28 -365
  63. package/src/trip-detail.tsx +8 -2
  64. package/src/types.ts +18 -17
  65. package/tsconfig.tsbuildinfo +1 -1
  66. package/esm/fare-table.js.map +0 -1
  67. package/lib/fare-table.d.ts.map +0 -1
  68. package/lib/fare-table.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
4
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
4
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
5
5
  <h2 id="trip-details-header"
6
6
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
7
7
  >
@@ -9,7 +9,7 @@ exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
9
9
  </h2>
10
10
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
11
11
  <div role="group"
12
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
12
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
13
13
  >
14
14
  <div role="presentation"
15
15
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -73,7 +73,7 @@ exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
73
73
  </div>
74
74
  </div>
75
75
  <div role="group"
76
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
76
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
77
77
  >
78
78
  <div role="presentation"
79
79
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -162,7 +162,7 @@ exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
162
162
  </div>
163
163
  </div>
164
164
  <div role="group"
165
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
165
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
166
166
  >
167
167
  <div role="presentation"
168
168
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -256,7 +256,7 @@ exports[`TripDetails ApproximatePrefixItinerary smoke-test 1`] = `
256
256
  `;
257
257
 
258
258
  exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
259
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
259
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
260
260
  <h2 id="trip-details-header"
261
261
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
262
262
  >
@@ -264,7 +264,7 @@ exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
264
264
  </h2>
265
265
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
266
266
  <div role="group"
267
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
267
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
268
268
  >
269
269
  <div role="presentation"
270
270
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -328,7 +328,7 @@ exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
328
328
  </div>
329
329
  </div>
330
330
  <div role="group"
331
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
331
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
332
332
  >
333
333
  <div role="presentation"
334
334
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -417,7 +417,7 @@ exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
417
417
  </div>
418
418
  </div>
419
419
  <div role="group"
420
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
420
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
421
421
  >
422
422
  <div role="presentation"
423
423
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -512,8 +512,8 @@ exports[`TripDetails BikeOnlyItinerary smoke-test 1`] = `
512
512
 
513
513
  exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
514
514
  <div>
515
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
516
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
515
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
516
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
517
517
  <th class="main"
518
518
  scope="col"
519
519
  >
@@ -598,7 +598,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
598
598
  focusable="false"
599
599
  fill="currentColor"
600
600
  xmlns="http://www.w3.org/2000/svg"
601
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
601
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
602
602
  >
603
603
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
604
604
  </path>
@@ -613,7 +613,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
613
613
  focusable="false"
614
614
  fill="currentColor"
615
615
  xmlns="http://www.w3.org/2000/svg"
616
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
616
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
617
617
  >
618
618
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
619
619
  </path>
@@ -636,7 +636,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
636
636
  focusable="false"
637
637
  fill="currentColor"
638
638
  xmlns="http://www.w3.org/2000/svg"
639
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
639
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
640
640
  >
641
641
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
642
642
  </path>
@@ -651,7 +651,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
651
651
  focusable="false"
652
652
  fill="currentColor"
653
653
  xmlns="http://www.w3.org/2000/svg"
654
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
654
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
655
655
  >
656
656
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
657
657
  </path>
@@ -660,8 +660,8 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
660
660
  </td>
661
661
  </tr>
662
662
  </table>
663
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
664
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
663
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
664
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
665
665
  <th class="main"
666
666
  scope="col"
667
667
  >
@@ -735,8 +735,8 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
735
735
  </td>
736
736
  </tr>
737
737
  </table>
738
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
739
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
738
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
739
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
740
740
  <th class="main"
741
741
  scope="col"
742
742
  >
@@ -802,7 +802,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
802
802
  focusable="false"
803
803
  fill="currentColor"
804
804
  xmlns="http://www.w3.org/2000/svg"
805
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
805
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
806
806
  >
807
807
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
808
808
  </path>
@@ -825,7 +825,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
825
825
  focusable="false"
826
826
  fill="currentColor"
827
827
  xmlns="http://www.w3.org/2000/svg"
828
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
828
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
829
829
  >
830
830
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
831
831
  </path>
@@ -838,7 +838,7 @@ exports[`TripDetails FareLegTableStoryLegProducts smoke-test 1`] = `
838
838
  `;
839
839
 
840
840
  exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
841
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
841
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
842
842
  <h2 id="trip-details-header"
843
843
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
844
844
  >
@@ -846,7 +846,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
846
846
  </h2>
847
847
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
848
848
  <div role="group"
849
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
849
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
850
850
  >
851
851
  <div role="presentation"
852
852
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -910,7 +910,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
910
910
  </div>
911
911
  </div>
912
912
  <div role="group"
913
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
913
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH fares"
914
914
  >
915
915
  <div role="presentation"
916
916
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -940,8 +940,8 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
940
940
  </strong>
941
941
  </summary>
942
942
  <div>
943
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
944
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
943
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
944
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
945
945
  <th class="main"
946
946
  scope="col"
947
947
  >
@@ -1026,7 +1026,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1026
1026
  focusable="false"
1027
1027
  fill="currentColor"
1028
1028
  xmlns="http://www.w3.org/2000/svg"
1029
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1029
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1030
1030
  >
1031
1031
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1032
1032
  </path>
@@ -1041,7 +1041,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1041
1041
  focusable="false"
1042
1042
  fill="currentColor"
1043
1043
  xmlns="http://www.w3.org/2000/svg"
1044
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1044
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1045
1045
  >
1046
1046
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1047
1047
  </path>
@@ -1064,7 +1064,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1064
1064
  focusable="false"
1065
1065
  fill="currentColor"
1066
1066
  xmlns="http://www.w3.org/2000/svg"
1067
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1067
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1068
1068
  >
1069
1069
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1070
1070
  </path>
@@ -1079,7 +1079,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1079
1079
  focusable="false"
1080
1080
  fill="currentColor"
1081
1081
  xmlns="http://www.w3.org/2000/svg"
1082
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1082
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1083
1083
  >
1084
1084
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1085
1085
  </path>
@@ -1088,8 +1088,8 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1088
1088
  </td>
1089
1089
  </tr>
1090
1090
  </table>
1091
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
1092
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
1091
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
1092
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
1093
1093
  <th class="main"
1094
1094
  scope="col"
1095
1095
  >
@@ -1163,8 +1163,8 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1163
1163
  </td>
1164
1164
  </tr>
1165
1165
  </table>
1166
- <table class="fare-table__Table-sc-i0o2oh-1 gFgkQX">
1167
- <thead class="fare-table__TableHeader-sc-i0o2oh-0 hMPTXo">
1166
+ <table class="fare-table__Table-sc-1ntg4ma-1 dzCbEM">
1167
+ <thead class="fare-table__TableHeader-sc-1ntg4ma-0 eztBAT">
1168
1168
  <th class="main"
1169
1169
  scope="col"
1170
1170
  >
@@ -1230,7 +1230,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1230
1230
  focusable="false"
1231
1231
  fill="currentColor"
1232
1232
  xmlns="http://www.w3.org/2000/svg"
1233
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1233
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1234
1234
  >
1235
1235
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1236
1236
  </path>
@@ -1253,7 +1253,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1253
1253
  focusable="false"
1254
1254
  fill="currentColor"
1255
1255
  xmlns="http://www.w3.org/2000/svg"
1256
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-i0o2oh-2 eLyko"
1256
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL fare-table__TransferIcon-sc-1ntg4ma-2 fwDhcP"
1257
1257
  >
1258
1258
  <path d="m15 12 5-4-5-4v2.999H2v2h13zm7 3H9v-3l-5 4 5 4v-3h13z">
1259
1259
  </path>
@@ -1298,7 +1298,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1298
1298
  </div>
1299
1299
  </div>
1300
1300
  <div role="group"
1301
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1301
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
1302
1302
  >
1303
1303
  <div role="presentation"
1304
1304
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1387,7 +1387,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1387
1387
  </div>
1388
1388
  </div>
1389
1389
  <div role="group"
1390
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1390
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
1391
1391
  >
1392
1392
  <div role="presentation"
1393
1393
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1481,7 +1481,7 @@ exports[`TripDetails LegFareProductsItinerary smoke-test 1`] = `
1481
1481
  `;
1482
1482
 
1483
1483
  exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
1484
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
1484
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
1485
1485
  <h2 id="trip-details-header"
1486
1486
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
1487
1487
  >
@@ -1489,7 +1489,7 @@ exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
1489
1489
  </h2>
1490
1490
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
1491
1491
  <div role="group"
1492
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1492
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
1493
1493
  >
1494
1494
  <div role="presentation"
1495
1495
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1553,7 +1553,7 @@ exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
1553
1553
  </div>
1554
1554
  </div>
1555
1555
  <div role="group"
1556
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1556
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
1557
1557
  >
1558
1558
  <div role="presentation"
1559
1559
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1642,7 +1642,7 @@ exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
1642
1642
  </div>
1643
1643
  </div>
1644
1644
  <div role="group"
1645
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1645
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
1646
1646
  >
1647
1647
  <div role="presentation"
1648
1648
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1736,7 +1736,7 @@ exports[`TripDetails OTP2EScooterRentalTransitItinerary smoke-test 1`] = `
1736
1736
  `;
1737
1737
 
1738
1738
  exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1739
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
1739
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
1740
1740
  <h2 id="trip-details-header"
1741
1741
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
1742
1742
  >
@@ -1744,7 +1744,7 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1744
1744
  </h2>
1745
1745
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
1746
1746
  <div role="group"
1747
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1747
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
1748
1748
  >
1749
1749
  <div role="presentation"
1750
1750
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1808,7 +1808,7 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1808
1808
  </div>
1809
1809
  </div>
1810
1810
  <div role="group"
1811
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1811
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
1812
1812
  >
1813
1813
  <div role="presentation"
1814
1814
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1897,7 +1897,7 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1897
1897
  </div>
1898
1898
  </div>
1899
1899
  <div role="group"
1900
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1900
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH flex-booking-info"
1901
1901
  >
1902
1902
  <div role="presentation"
1903
1903
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -1912,40 +1912,15 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1912
1912
  class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
1913
1913
  >
1914
1914
  <path fill="currentColor"
1915
- d="M272 96c-78.6 0-145.1 51.5-167.7 122.5 33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16h-88c-16.6 0-32.7 1.9-48.3 5.4-25.9 5.9-49.9 16.4-71.4 30.7C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24v-16c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448h1c132.1-.7 239-130.9 239-291.4 0-42.6-7.5-83.1-21.1-119.6-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96H272z"
1915
+ d="M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96h-96c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96 0-53-43-96-96-96S0 299 0 352c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4.7-.8 1.1-1.2 3.3-3.5 7.1-7.8 11.4-12.8l.6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"
1916
1916
  >
1917
1917
  </path>
1918
1918
  </svg>
1919
1919
  </div>
1920
1920
  <div class="styled__TripDetailSummary-sc-6q2ok2-19 dNvENw">
1921
- <span class="styled__CO2Summary-sc-6q2ok2-3 cocvGF">
1922
- CO₂ Emitted:
1923
- <strong>
1924
- 4,682g
1925
- </strong>
1921
+ <span class="styled__FlexSummary-sc-6q2ok2-12 gBOBbY">
1922
+ This trip includes flexible routes. This is the first pickup booking info message. This is the first dropoff booking info message.
1926
1923
  </span>
1927
- <button aria-label="Show details"
1928
- aria-controls="mocked_id"
1929
- aria-expanded="false"
1930
- id="expand-button"
1931
- tabindex="0"
1932
- class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 keYRmF eoXTmF"
1933
- >
1934
- <svg viewbox="0 0 512 512"
1935
- height="0.92em"
1936
- width="0.92em"
1937
- aria-hidden="true"
1938
- focusable="false"
1939
- fill="currentColor"
1940
- xmlns="http://www.w3.org/2000/svg"
1941
- class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
1942
- >
1943
- <path fill="currentColor"
1944
- d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0 0 114.6 0 256s114.6 256 256 256zm-86.2-346.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1 0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6-13.3 0-24-10.7-24-24v-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1 0-8.4-6.8-15.1-15.1-15.1h-58.3c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32z"
1945
- >
1946
- </path>
1947
- </svg>
1948
- </button>
1949
1924
  </div>
1950
1925
  <div aria-hidden="true"
1951
1926
  class="rah-static rah-static--height-zero "
@@ -1974,20 +1949,12 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
1974
1949
  </path>
1975
1950
  </svg>
1976
1951
  </button>
1977
- CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
1978
- <a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
1979
- rel="noopener noreferrer"
1980
- target="_blank"
1981
- >
1982
- this spreadsheet
1983
- </a>
1984
- .
1985
1952
  </div>
1986
1953
  </div>
1987
1954
  </div>
1988
1955
  </div>
1989
1956
  <div role="group"
1990
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
1957
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
1991
1958
  >
1992
1959
  <div role="presentation"
1993
1960
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2002,15 +1969,40 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
2002
1969
  class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
2003
1970
  >
2004
1971
  <path fill="currentColor"
2005
- d="M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96h-96c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96 0-53-43-96-96-96S0 299 0 352c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4.7-.8 1.1-1.2 3.3-3.5 7.1-7.8 11.4-12.8l.6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"
1972
+ d="M272 96c-78.6 0-145.1 51.5-167.7 122.5 33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16h-88c-16.6 0-32.7 1.9-48.3 5.4-25.9 5.9-49.9 16.4-71.4 30.7C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24v-16c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448h1c132.1-.7 239-130.9 239-291.4 0-42.6-7.5-83.1-21.1-119.6-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96H272z"
2006
1973
  >
2007
1974
  </path>
2008
1975
  </svg>
2009
1976
  </div>
2010
1977
  <div class="styled__TripDetailSummary-sc-6q2ok2-19 dNvENw">
2011
- <span class="styled__FlexSummary-sc-6q2ok2-12 gBOBbY">
2012
- This trip includes flexible routes. This is the first pickup booking info message. This is the first dropoff booking info message.
1978
+ <span class="styled__CO2Summary-sc-6q2ok2-3 cocvGF">
1979
+ CO₂ Emitted:
1980
+ <strong>
1981
+ 4,682g
1982
+ </strong>
2013
1983
  </span>
1984
+ <button aria-label="Show details"
1985
+ aria-controls="mocked_id"
1986
+ aria-expanded="false"
1987
+ id="expand-button"
1988
+ tabindex="0"
1989
+ class="styled__BaseButton-sc-6q2ok2-1 styled__ExpandButton-sc-6q2ok2-4 keYRmF eoXTmF"
1990
+ >
1991
+ <svg viewbox="0 0 512 512"
1992
+ height="0.92em"
1993
+ width="0.92em"
1994
+ aria-hidden="true"
1995
+ focusable="false"
1996
+ fill="currentColor"
1997
+ xmlns="http://www.w3.org/2000/svg"
1998
+ class="StyledIconBase-sc-ea9ulj-0 ebjPRL"
1999
+ >
2000
+ <path fill="currentColor"
2001
+ d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0 0 114.6 0 256s114.6 256 256 256zm-86.2-346.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1 0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6-13.3 0-24-10.7-24-24v-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1 0-8.4-6.8-15.1-15.1-15.1h-58.3c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32z"
2002
+ >
2003
+ </path>
2004
+ </svg>
2005
+ </button>
2014
2006
  </div>
2015
2007
  <div aria-hidden="true"
2016
2008
  class="rah-static rah-static--height-zero "
@@ -2039,6 +2031,14 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
2039
2031
  </path>
2040
2032
  </svg>
2041
2033
  </button>
2034
+ CO₂ intensity is calculated by multiplying the distance of each leg of a trip by the CO₂ intensity of each mode. CO₂ intensity of each mode is derived from
2035
+ <a href="https://www.itf-oecd.org/sites/default/files/life-cycle-assessment-calculations-2020.xlsx"
2036
+ rel="noopener noreferrer"
2037
+ target="_blank"
2038
+ >
2039
+ this spreadsheet
2040
+ </a>
2041
+ .
2042
2042
  </div>
2043
2043
  </div>
2044
2044
  </div>
@@ -2048,7 +2048,7 @@ exports[`TripDetails OTP2FlexItinerary smoke-test 1`] = `
2048
2048
  `;
2049
2049
 
2050
2050
  exports[`TripDetails StyledItinerary smoke-test 1`] = `
2051
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 jpZLG">
2051
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 jpZLG trip-details">
2052
2052
  <h2 id="trip-details-header"
2053
2053
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
2054
2054
  >
@@ -2056,7 +2056,7 @@ exports[`TripDetails StyledItinerary smoke-test 1`] = `
2056
2056
  </h2>
2057
2057
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
2058
2058
  <div role="group"
2059
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2059
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
2060
2060
  >
2061
2061
  <div role="presentation"
2062
2062
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2120,7 +2120,7 @@ exports[`TripDetails StyledItinerary smoke-test 1`] = `
2120
2120
  </div>
2121
2121
  </div>
2122
2122
  <div role="group"
2123
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2123
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
2124
2124
  >
2125
2125
  <div role="presentation"
2126
2126
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2209,7 +2209,7 @@ exports[`TripDetails StyledItinerary smoke-test 1`] = `
2209
2209
  </div>
2210
2210
  </div>
2211
2211
  <div role="group"
2212
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2212
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
2213
2213
  >
2214
2214
  <div role="presentation"
2215
2215
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2303,7 +2303,7 @@ exports[`TripDetails StyledItinerary smoke-test 1`] = `
2303
2303
  `;
2304
2304
 
2305
2305
  exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2306
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
2306
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
2307
2307
  <h2 id="trip-details-header"
2308
2308
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
2309
2309
  >
@@ -2311,7 +2311,7 @@ exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2311
2311
  </h2>
2312
2312
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
2313
2313
  <div role="group"
2314
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2314
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
2315
2315
  >
2316
2316
  <div role="presentation"
2317
2317
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2375,7 +2375,7 @@ exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2375
2375
  </div>
2376
2376
  </div>
2377
2377
  <div role="group"
2378
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2378
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH tnc-fare"
2379
2379
  >
2380
2380
  <div role="presentation"
2381
2381
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2457,13 +2457,13 @@ exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2457
2457
  </path>
2458
2458
  </svg>
2459
2459
  </button>
2460
- Custom details about fares (transitFares: ) (cents), can be constructed dynamically using any markup.
2460
+ Custom details about fares (legs: [{"rentedBike":false,"interlineWithPreviousLeg":false,"departureDelay":0,"arrivalDelay":0,"distance":643.65,"duration":144,"endTime":1684864860000,"mode":"CAR","rideHailingEstimate":{"provider":{"id":"uber"},"arrival":"PT4M","minPrice":{"currency":{"code":"USD"},"amount":17},"maxPrice":{"currency":{"code":"USD"},"amount":19}},"realTime":false,"realtimeState":null,"startTime":1684864716000,"transitLeg":false,"trip":null,"agency":null,"legGeometry":{"length":33,"points":"{lztG|pxkVrAALA?QCcD?O?EJ?pBCN??Q?e@AqAAg@?W?C?OAqCDM?WASEOAeCFS?G?QAoB?Q?oC?i@Ae@?gBAQ"},"intermediateStops":null,"route":null,"from":{"lat":45.5241494,"lon":-122.68303,"name":"128 NW 12th Ave, Portland","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"to":{"lat":45.5230001,"lon":-122.6766363,"name":"West Burnside Street","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"steps":[{"distance":54.68,"lat":45.5241463,"lon":-122.6831887,"relativeDirection":"DEPART","absoluteDirection":"SOUTH","stayOn":false,"streetName":"Northwest 12th Avenue","area":false,"alerts":[],"elevationProfile":[]},{"distance":79.48,"lat":45.5236547,"lon":-122.6831692,"relativeDirection":"LEFT","absoluteDirection":"EAST","stayOn":false,"streetName":"Northwest Couch Street","area":false,"alerts":[],"elevationProfile":[]},{"distance":79.25,"lat":45.5236734,"lon":-122.6821493,"relativeDirection":"RIGHT","absoluteDirection":"SOUTH","stayOn":false,"streetName":"Northwest 11th Avenue","area":false,"alerts":[],"elevationProfile":[]},{"distance":430.23,"lat":45.5229609,"lon":-122.6821228,"relativeDirection":"LEFT","absoluteDirection":"EAST","stayOn":false,"streetName":"West Burnside Street","area":false,"alerts":[],"elevationProfile":[]}]},{"rentedBike":false,"interlineWithPreviousLeg":false,"departureDelay":0,"arrivalDelay":0,"distance":0,"duration":60,"endTime":1684864920000,"mode":"WALK","rideHailingEstimate":null,"realTime":false,"realtimeState":null,"startTime":1684864860000,"transitLeg":false,"trip":null,"agency":null,"legGeometry":{"length":2,"points":"weztG~gwkVJ?"},"intermediateStops":null,"route":null,"from":{"lat":45.5230001,"lon":-122.6766363,"name":"West Burnside Street","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"to":{"lat":45.522948,"lon":-122.676635,"name":"W Burnside &amp; SW 6th","vertexType":"TRANSIT","rentalVehicle":null,"stop":{"id":"U3RvcDp0cmltZXQ6Nzky","code":"792","gtfsId":"trimet:792","alerts":[]}},"steps":[]},{"rentedBike":null,"interlineWithPreviousLeg":false,"departureDelay":0,"arrivalDelay":0,"distance":1780.82,"duration":360,"endTime":1684865280000,"mode":"BUS","rideHailingEstimate":null,"realTime":false,"realtimeState":null,"startTime":1684864920000,"transitLeg":true,"trip":{"id":"VHJpcDp0cmltZXQ6MTIzNDA1MTc","gtfsId":"trimet:12340517","tripHeadsign":null},"agency":{"name":"TriMet","id":"QWdlbmN5OnRyaW1ldDpUUklNRVQ","timezone":"America/Los_Angeles","url":"https://trimet.org/","alerts":[]},"legGeometry":{"length":53,"points":"weztG~gwkV?]?C?k@AeBA}@?GA{@AiCAY?e@CiCCiD???_@?[@kBIS@}A@iC@aAFaL@yA@{AF{LDiHBkCFUA}@?iAAO?K?qE?K?_@?kA?e@@m@?aB?gB?gA?A?}A???a@?aC?iA@aC?gA?U?uD@U?iC"},"intermediateStops":[{"lat":45.523009,"lon":-122.672529,"name":"W Burnside &amp; SW 2nd","stopCode":"9526","stopId":"U3RvcDp0cmltZXQ6OTUyNg","locationType":"STOP"},{"lat":45.522847,"lon":-122.657843,"name":"E Burnside &amp; SE 8th","stopCode":"820","stopId":"U3RvcDp0cmltZXQ6ODIw","locationType":"STOP"}],"route":{"shortName":"20","longName":"Burnside/Stark","color":null,"textColor":null,"id":"Um91dGU6dHJpbWV0OjIw","type":3,"alerts":[]},"from":{"lat":45.522948,"lon":-122.676635,"name":"W Burnside &amp; SW 6th","vertexType":"TRANSIT","rentalVehicle":null,"stop":{"id":"U3RvcDp0cmltZXQ6Nzky","code":"792","gtfsId":"trimet:792","alerts":[]}},"to":{"lat":45.522823,"lon":-122.653824,"name":"E Burnside &amp; SE 12th","vertexType":"TRANSIT","rentalVehicle":null,"stop":{"id":"U3RvcDp0cmltZXQ6MTMzMjc","code":"13327","gtfsId":"trimet:13327","alerts":[]}},"steps":[]},{"rentedBike":false,"interlineWithPreviousLeg":false,"departureDelay":0,"arrivalDelay":0,"distance":0,"duration":60,"endTime":1684865340000,"mode":"WALK","rideHailingEstimate":null,"realTime":false,"realtimeState":null,"startTime":1684865280000,"transitLeg":false,"trip":null,"agency":null,"legGeometry":{"length":2,"points":"sdztGlyrkVO?"},"intermediateStops":null,"route":null,"from":{"lat":45.522823,"lon":-122.653824,"name":"E Burnside &amp; SE 12th","vertexType":"TRANSIT","rentalVehicle":null,"stop":{"id":"U3RvcDp0cmltZXQ6MTMzMjc","code":"13327","gtfsId":"trimet:13327","alerts":[]}},"to":{"lat":45.522907,"lon":-122.653824,"name":"East Burnside Street","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"steps":[]},{"rentedBike":false,"interlineWithPreviousLeg":false,"departureDelay":0,"arrivalDelay":0,"distance":334.71,"duration":66,"endTime":1684865406000,"mode":"CAR","rideHailingEstimate":{"provider":{"id":"uber"},"arrival":"PT2M","minPrice":{"currency":{"code":"USD"},"amount":17},"maxPrice":{"currency":{"code":"USD"},"amount":18}},"realTime":false,"realtimeState":null,"startTime":1684865340000,"transitLeg":false,"trip":null,"agency":null,"legGeometry":{"length":17,"points":"ceztGlyrkV?I?_@U?c@?A?]?A?c@?M?O?oBAO?Q?uDAuA?A?"},"intermediateStops":null,"route":null,"from":{"lat":45.522907,"lon":-122.653824,"name":"East Burnside Street","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"to":{"lat":45.525773,"lon":-122.6535042,"name":"407 NE 12th Ave, Portland","vertexType":"NORMAL","rentalVehicle":null,"stop":null},"steps":[{"distance":16.06,"lat":45.522907,"lon":-122.653824,"relativeDirection":"DEPART","absoluteDirection":"EAST","stayOn":false,"streetName":"East Burnside Street","area":false,"alerts":[],"elevationProfile":[]},{"distance":318.65,"lat":45.5229076,"lon":-122.6536179,"relativeDirection":"LEFT","absoluteDirection":"NORTH","stayOn":false,"streetName":"Northeast 12th Avenue","area":false,"alerts":[],"elevationProfile":[]}]}], maxTNCFare: 37, minTNCFare: 34) (cents), can be constructed dynamically using any markup.
2461
2461
  </div>
2462
2462
  </div>
2463
2463
  </div>
2464
2464
  </div>
2465
2465
  <div role="group"
2466
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2466
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
2467
2467
  >
2468
2468
  <div role="presentation"
2469
2469
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2552,7 +2552,7 @@ exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2552
2552
  </div>
2553
2553
  </div>
2554
2554
  <div role="group"
2555
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2555
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
2556
2556
  >
2557
2557
  <div role="presentation"
2558
2558
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2646,7 +2646,7 @@ exports[`TripDetails TncTransitItinerary smoke-test 1`] = `
2646
2646
  `;
2647
2647
 
2648
2648
  exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2649
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 jpZLG">
2649
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk TripDetailsstory__StyledTripDetails-sc-1xhb9yd-0 jpZLG trip-details">
2650
2650
  <h2 id="trip-details-header"
2651
2651
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
2652
2652
  >
@@ -2654,7 +2654,7 @@ exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2654
2654
  </h2>
2655
2655
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
2656
2656
  <div role="group"
2657
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2657
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
2658
2658
  >
2659
2659
  <div role="presentation"
2660
2660
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2744,7 +2744,7 @@ exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2744
2744
  </div>
2745
2745
  </div>
2746
2746
  <div role="group"
2747
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2747
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH tnc-fare"
2748
2748
  >
2749
2749
  <div role="presentation"
2750
2750
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2810,7 +2810,7 @@ exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2810
2810
  </div>
2811
2811
  </div>
2812
2812
  <div role="group"
2813
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2813
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
2814
2814
  >
2815
2815
  <div role="presentation"
2816
2816
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2891,7 +2891,7 @@ exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2891
2891
  </div>
2892
2892
  </div>
2893
2893
  <div role="group"
2894
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2894
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
2895
2895
  >
2896
2896
  <div role="presentation"
2897
2897
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -2985,7 +2985,7 @@ exports[`TripDetails TncTransitItineraryWithCustomMessages smoke-test 1`] = `
2985
2985
  `;
2986
2986
 
2987
2987
  exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
2988
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
2988
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
2989
2989
  <h2 id="trip-details-header"
2990
2990
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
2991
2991
  >
@@ -2993,7 +2993,7 @@ exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
2993
2993
  </h2>
2994
2994
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
2995
2995
  <div role="group"
2996
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
2996
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
2997
2997
  >
2998
2998
  <div role="presentation"
2999
2999
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -3057,7 +3057,7 @@ exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
3057
3057
  </div>
3058
3058
  </div>
3059
3059
  <div role="group"
3060
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
3060
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
3061
3061
  >
3062
3062
  <div role="presentation"
3063
3063
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -3146,7 +3146,7 @@ exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
3146
3146
  </div>
3147
3147
  </div>
3148
3148
  <div role="group"
3149
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
3149
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
3150
3150
  >
3151
3151
  <div role="presentation"
3152
3152
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -3240,7 +3240,7 @@ exports[`TripDetails WalkOnlyItinerary smoke-test 1`] = `
3240
3240
  `;
3241
3241
 
3242
3242
  exports[`TripDetails WalkTransitWalkItinerary smoke-test 1`] = `
3243
- <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk">
3243
+ <div class="styled__TripDetails-sc-6q2ok2-16 bpnhOk trip-details">
3244
3244
  <h2 id="trip-details-header"
3245
3245
  class="styled__TripDetailsHeader-sc-6q2ok2-18 cSUgG"
3246
3246
  >
@@ -3248,7 +3248,7 @@ exports[`TripDetails WalkTransitWalkItinerary smoke-test 1`] = `
3248
3248
  </h2>
3249
3249
  <div class="styled__TripDetailsBody-sc-6q2ok2-17 lcDewn">
3250
3250
  <div role="group"
3251
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
3251
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH departure-date"
3252
3252
  >
3253
3253
  <div role="presentation"
3254
3254
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -3312,7 +3312,7 @@ exports[`TripDetails WalkTransitWalkItinerary smoke-test 1`] = `
3312
3312
  </div>
3313
3313
  </div>
3314
3314
  <div role="group"
3315
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
3315
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH time-active"
3316
3316
  >
3317
3317
  <div role="presentation"
3318
3318
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"
@@ -3401,7 +3401,7 @@ exports[`TripDetails WalkTransitWalkItinerary smoke-test 1`] = `
3401
3401
  </div>
3402
3402
  </div>
3403
3403
  <div role="group"
3404
- class="styled__TripDetail-sc-6q2ok2-13 gnLBrH"
3404
+ class="styled__TripDetail-sc-6q2ok2-13 gnLBrH emissions"
3405
3405
  >
3406
3406
  <div role="presentation"
3407
3407
  class="styled__TripDetailIcon-sc-6q2ok2-15 cIeekj"