diff --git a/__tests__/components/viewers/__snapshots__/stop-viewer.js.snap b/__tests__/components/viewers/__snapshots__/stop-viewer.js.snap index b4051bdf3..d79961eb0 100644 --- a/__tests__/components/viewers/__snapshots__/stop-viewer.js.snap +++ b/__tests__/components/viewers/__snapshots__/stop-viewer.js.snap @@ -392,7 +392,7 @@ exports[`components > viewers > stop viewer should render countdown times after > viewers > stop viewer should render countdown times after } > viewers > stop viewer should render countdown times after > viewers > stop viewer should render countdown times after size="0.9em" > viewers > stop viewer should render countdown times after size="0.9em" > viewers > stop viewer should render countdown times after >
viewers > stop viewer should render countdown times after title="20" > viewers > stop viewer should render countdown times after title="components.StopTimeCell.scheduled" > viewers > stop viewer should render countdown times after title="components.StopTimeCell.scheduled" > viewers > stop viewer should render countdown times after > viewers > stop viewer should render countdown times after title="components.StopTimeCell.scheduled" > viewers > stop viewer should render countdown times after > viewers > stop viewer should render countdown times after margin={0.25} > viewers > stop viewer should render countdown times after spin={true} > viewers > stop viewer should render countdown times after >
P
@@ -3005,7 +3005,7 @@ exports[`components > viewers > stop viewer should render countdown times for st > viewers > stop viewer should render countdown times for st } > viewers > stop viewer should render countdown times for st > viewers > stop viewer should render countdown times for st size="0.9em" > viewers > stop viewer should render countdown times for st size="0.9em" > viewers > stop viewer should render countdown times for st >
viewers > stop viewer should render countdown times for st title="20" > viewers > stop viewer should render countdown times for st title="components.StopTimeCell.scheduled" > viewers > stop viewer should render countdown times for st margin={0.25} > viewers > stop viewer should render countdown times for st spin={true} > viewers > stop viewer should render countdown times for st >
P
@@ -4815,7 +4815,7 @@ exports[`components > viewers > stop viewer should render times after midnight w > viewers > stop viewer should render times after midnight w } > viewers > stop viewer should render times after midnight w > viewers > stop viewer should render times after midnight w size="0.9em" > viewers > stop viewer should render times after midnight w size="0.9em" > viewers > stop viewer should render times after midnight w >
viewers > stop viewer should render times after midnight w title="20" > viewers > stop viewer should render times after midnight w title="components.StopTimeCell.scheduled" > viewers > stop viewer should render times after midnight w > viewers > stop viewer should render times after midnight w title="components.StopTimeCell.scheduled" > viewers > stop viewer should render times after midnight w > viewers > stop viewer should render times after midnight w title="components.StopTimeCell.scheduled" > viewers > stop viewer should render times after midnight w > viewers > stop viewer should render times after midnight w margin={0.25} > viewers > stop viewer should render times after midnight w spin={true} > viewers > stop viewer should render times after midnight w >
P
@@ -7828,7 +7828,7 @@ exports[`components > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index } > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index size="0.9em" > viewers > stop viewer should render with OTP transit index size="0.9em" > viewers > stop viewer should render with OTP transit index >
viewers > stop viewer should render with OTP transit index title="20" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="94" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="94" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="36" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="94" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="36" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index title="94" > viewers > stop viewer should render with OTP transit index title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with OTP transit index > viewers > stop viewer should render with OTP transit index margin={0.25} > viewers > stop viewer should render with OTP transit index spin={true} > viewers > stop viewer should render with OTP transit index >
P
@@ -14479,7 +14479,7 @@ exports[`components > viewers > stop viewer should render with TriMet transit in > viewers > stop viewer should render with TriMet transit in } > viewers > stop viewer should render with TriMet transit in > viewers > stop viewer should render with TriMet transit in size="0.9em" > viewers > stop viewer should render with TriMet transit in size="0.9em" > viewers > stop viewer should render with TriMet transit in >
viewers > stop viewer should render with TriMet transit in title="20" > viewers > stop viewer should render with TriMet transit in title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with TriMet transit in > viewers > stop viewer should render with TriMet transit in title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with TriMet transit in > viewers > stop viewer should render with TriMet transit in title="components.StopTimeCell.scheduled" > viewers > stop viewer should render with TriMet transit in > viewers > stop viewer should render with TriMet transit in margin={0.25} > viewers > stop viewer should render with TriMet transit in spin={true} > viewers > stop viewer should render with TriMet transit in >
P
@@ -18587,7 +18587,7 @@ exports[`components > viewers > stop viewer should render with initial stop id a > ` position: absolute; ${(props) => (props.static ? 'width: 100%;' : '')} } - ${MenuItemA} { + ${MenuItemLi} { + overflow: hidden; + ${(props) => + props.static ? 'padding-left: 10px; padding-right: 5px; width: 100%' : ''} + &:focus, &:hover { color: inherit; - text-decoration: none; } } - ${MenuItemA}, ${MenuItemLi} { - overflow: hidden; - ${(props) => - props.static ? 'padding-left: 10px; padding-right: 5px; width: 100%' : ''} - } ` /** diff --git a/package.json b/package.json index 874db6aa9..a57707877 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "@opentripplanner/geocoder": "^1.4.2", "@opentripplanner/humanize-distance": "^1.2.0", "@opentripplanner/icons": "^2.0.6", - "@opentripplanner/itinerary-body": "^5.0.9", - "@opentripplanner/location-field": "^2.0.10", + "@opentripplanner/itinerary-body": "^5.1.0", + "@opentripplanner/location-field": "^2.0.11", "@opentripplanner/location-icon": "^1.4.1", "@opentripplanner/map-popup": "^2.0.6", "@opentripplanner/otp2-tile-overlay": "^1.0.6", @@ -58,7 +58,7 @@ "@opentripplanner/transit-vehicle-overlay": "^4.0.6", "@opentripplanner/transitive-overlay": "^3.0.16", "@opentripplanner/trip-details": "^5.0.4", - "@opentripplanner/trip-form": "^3.3.2", + "@opentripplanner/trip-form": "^3.3.3", "@opentripplanner/trip-viewer-overlay": "^2.0.7", "@opentripplanner/vehicle-rental-overlay": "^2.1.3", "@styled-icons/fa-regular": "^10.34.0", diff --git a/yarn.lock b/yarn.lock index 04b7013a0..2f581aacf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2413,10 +2413,10 @@ "@opentripplanner/core-utils" "^11.0.2" prop-types "^15.7.2" -"@opentripplanner/itinerary-body@^5.0.2", "@opentripplanner/itinerary-body@^5.0.7", "@opentripplanner/itinerary-body@^5.0.9": - version "5.0.9" - resolved "https://registry.yarnpkg.com/@opentripplanner/itinerary-body/-/itinerary-body-5.0.9.tgz#c625cdf23e234aa0c66c813edc19d6053c040ed8" - integrity sha512-SfO8kgB08m7jp+/A+/MzludEh7gt0Qm+eWVMBRm955rxSeSPaSD4wg19z45ql3/eCYhWi9j4LTDo1NBQFpDT3A== +"@opentripplanner/itinerary-body@^5.0.2", "@opentripplanner/itinerary-body@^5.0.7", "@opentripplanner/itinerary-body@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@opentripplanner/itinerary-body/-/itinerary-body-5.1.0.tgz#29bba91db379bb4f63d13ec95c1cb058248d0683" + integrity sha512-DTS4KlbqokS/ZA+gL0QCuPFORoPq/GVcHlRv0s9YqKmr0aS5eBBLg4f4mOuv1CcNeHKyZc6lNb/Ro3epjshd5A== dependencies: "@opentripplanner/core-utils" "^11.0.2" "@opentripplanner/humanize-distance" "^1.2.0" @@ -2431,10 +2431,10 @@ react-resize-detector "^4.2.1" string-similarity "^4.0.4" -"@opentripplanner/location-field@^2.0.10": - version "2.0.10" - resolved "https://registry.yarnpkg.com/@opentripplanner/location-field/-/location-field-2.0.10.tgz#4563e3c680de2e3cf5468860eac9bfcc312496f3" - integrity sha512-s/eoEvjZOudG+BYJrdpNI3LTcpH5DZtEK8i+LHwIgyx4xXbHoUbGX4VF3IF7uP9GzNoQDms7G1q2JrA/bduMdw== +"@opentripplanner/location-field@^2.0.11": + version "2.0.11" + resolved "https://registry.yarnpkg.com/@opentripplanner/location-field/-/location-field-2.0.11.tgz#06a31ec2e62cf5b542d3392281bc28b9dd1ea416" + integrity sha512-viyC1vInANBwsd9w3KtE6Y4qYh/yuJAWDStlIx9Ce9z2TraoBHxYKlVhx6w+JxIgiBziEdvZ2staMjo0KKn13A== dependencies: "@conveyal/geocoder-arcgis-geojson" "^0.0.3" "@opentripplanner/core-utils" "^11.0.2" @@ -2561,10 +2561,10 @@ flat "^5.0.2" react-animate-height "^3.0.4" -"@opentripplanner/trip-form@^3.3.2": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@opentripplanner/trip-form/-/trip-form-3.3.2.tgz#4dba0137a21e5e945274d4d67a0decd0a8519055" - integrity sha512-BiH1UOqsKSlBuT3fUQEn30FnP+82j5X5Kb5cAAR789wPVu1IehMU4Z+v2kpjW7jRC+uh5MG6d3YWsPX5pWG0Ag== +"@opentripplanner/trip-form@^3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@opentripplanner/trip-form/-/trip-form-3.3.3.tgz#a7975eb219c7e23876e603132145365eedbb2638" + integrity sha512-frS1pdaOicVaGMenf25H12/Ne9KATHJ71ojLqvpSj1qA2MDHYXko07iymhgZ5kJw6wjdkRcIPQxc+rES9OZ3Sw== dependencies: "@floating-ui/react" "^0.19.2" "@opentripplanner/core-utils" "^11.0.2"