Skip to content

Commit

Permalink
Remove floating UI (#26)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: removes mode subsettings panel

Co-authored-by: Daniel Heppner <[email protected]>
Co-authored-by: Amy Corson <[email protected]>
  • Loading branch information
3 people authored Jul 17, 2024
1 parent 796bf0c commit 7426879
Show file tree
Hide file tree
Showing 27 changed files with 444 additions and 826 deletions.
909 changes: 384 additions & 525 deletions __snapshots__/storybook.test.ts.snap

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/base-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"mapbox-gl": "npm:[email protected]",
"maplibre-gl": "^2.1.9",
"react-map-gl": "^7.0.15",
"@opentripplanner/map-popup": "^3.1.0"
"@opentripplanner/map-popup": "^3.1.1"
},
"peerDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"react": "^16.14.0",
"styled-components": "^5.3.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/building-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"module": "esm/index.js",
"private": false,
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/core-utils": "^11.4.0"
"@opentripplanner/types": "^6.5.1",
"@opentripplanner/core-utils": "^11.4.2"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@conveyal/lonlat": "^1.4.1",
"@mapbox/polyline": "^1.1.0",
"@opentripplanner/geocoder": "^3.0.0",
"@opentripplanner/geocoder": "^3.0.1",
"@styled-icons/foundation": "^10.34.0",
"@turf/along": "^6.0.1",
"chroma-js": "^2.4.2",
Expand All @@ -30,7 +30,7 @@
"tsc": "tsc"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"@types/chroma-js": "^2.1.4"
}
}
8 changes: 4 additions & 4 deletions packages/endpoints-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"dependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/location-icon": "^1.4.1",
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"flat": "^5.0.2",
"@styled-icons/fa-solid": "^10.34.0",
"@opentripplanner/map-popup": "^3.1.0"
"@opentripplanner/map-popup": "^3.1.1"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"@types/flat": "^5.0.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/from-to-location-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"flat": "^5.0.2"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/types": "^6.5.1"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"prop-types": "^15.7.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/itinerary-body/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/humanize-distance": "^1.2.0",
"@opentripplanner/icons": "^2.0.10",
"@opentripplanner/location-icon": "^1.4.1",
Expand All @@ -24,7 +24,7 @@
"string-similarity": "^4.0.4"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"@types/flat": "^5.0.2"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/location-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"private": false,
"dependencies": {
"@conveyal/geocoder-arcgis-geojson": "^0.0.3",
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/geocoder": "^3.0.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/geocoder": "^3.0.1",
"@opentripplanner/humanize-distance": "^1.2.0",
"@opentripplanner/location-icon": "^1.4.1",
"@styled-icons/fa-solid": "^10.34.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/map-popup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/from-to-location-picker": "^2.1.12",
"flat": "^5.0.2"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/types": "^6.5.1"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/otp2-tile-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"react-map-gl": "^7.0.15"
},
"dependencies": {
"@opentripplanner/map-popup": "^3.1.0"
"@opentripplanner/map-popup": "^3.1.1"
},
"devDependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/types": "^6.5.1"
}
}
2 changes: 1 addition & 1 deletion packages/park-and-ride-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"dependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/from-to-location-picker": "^2.1.12"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/printable-itinerary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/itinerary-body": "^5.3.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/route-viewer-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"dependencies": {
"@mapbox/polyline": "^1.1.0",
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/core-utils": "^11.4.2",
"point-in-polygon": "^1.1.0"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"point-in-polygon": "^1.1.0"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/stop-viewer-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"dependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/core-utils": "^11.4.0"
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/core-utils": "^11.4.2"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/types": "^6.5.1"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/stops-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"url": "https://github.com/opentripplanner/otp-ui/issues"
},
"dependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/from-to-location-picker": "^2.1.12",
"@opentripplanner/map-popup": "^3.1.0",
"@opentripplanner/map-popup": "^3.1.1",
"flat": "^5.0.2"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"styled-icons": "^10.34.0"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/transit-vehicle-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"module": "esm/index.js",
"private": false,
"dependencies": {
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/icons": "^2.0.10",
"flat": "^5.0.2"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/types": "^6.5.1"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/transitive-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"dependencies": {
"@mapbox/polyline": "^1.1.1",
"@opentripplanner/base-map": "^3.1.0",
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/base-map": "^3.2.0",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/itinerary-body": "^5.3.0",
"@turf/bbox": "^6.5.0",
"@turf/bearing": "^6.5.0",
Expand All @@ -32,8 +32,8 @@
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
"@opentripplanner/endpoints-overlay": "^2.0.12",
"@opentripplanner/types": "^6.5.0"
"@opentripplanner/endpoints-overlay": "^2.1.0",
"@opentripplanner/types": "^6.5.1"
},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/trip-details/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"license": "MIT",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@opentripplanner/core-utils": "^11.4.2",
"@styled-icons/fa-solid": "^10.34.0",
"flat": "^5.0.2",
"react-animate-height": "^3.0.4"
},
"devDependencies": {
"@opentripplanner/types": "^6.5.0",
"@opentripplanner/types": "^6.5.1",
"@types/flat": "^5.0.2"
},
"peerDependencies": {
Expand Down
7 changes: 3 additions & 4 deletions packages/trip-form/i18n/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ otpUi:
walkTolerance-labelHigh: More Walking
walkTolerance-labelLow: Less Walking
wheelchair-label: Accessible Routing
settingsLabel: "{mode} settings"
TripOptions:
transitOnly: Go by Transit
openApp: Open app
SettingsSelectorPanel:
bikeOnly: Bike Only
escooterOnly: E-scooter Only
Expand All @@ -42,6 +38,9 @@ otpUi:
use: Use
useCompanies: Use companies
walkOnly: Walk Only
TripOptions:
openApp: Open app
transitOnly: Go by Transit
queryParameters:
bikeSpeed: Bicycle Speed
distanceInMiles: |
Expand Down
3 changes: 1 addition & 2 deletions packages/trip-form/i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ otpUi:
walkTolerance-labelHigh: Plus de marche
walkTolerance-labelLow: Moins de marche
wheelchair-label: Accès avec mobilité réduite
settingsLabel: "Paramètres pour : {mode}"
SettingsSelectorPanel:
bikeOnly: Vélo uniquement
escooterOnly: Trottinette uniquement
Expand All @@ -40,8 +39,8 @@ otpUi:
useCompanies: Prestataires
walkOnly: À pied uniquement
TripOptions:
transitOnly: En transports publics
openApp: Ouvrir l'application
transitOnly: En transports publics
queryParameters:
bikeSpeed: Vitesse à vélo
distanceInMiles: "{miles, number, :: unit/mile unit-width-full-name}"
Expand Down
8 changes: 4 additions & 4 deletions packages/trip-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"types": "lib/index.d.ts",
"private": false,
"dependencies": {
"@opentripplanner/core-utils": "^11.4.0",
"@floating-ui/react": "^0.19.2",
"@opentripplanner/core-utils": "^11.4.2",
"@opentripplanner/building-blocks": "^1.0.3",
"@styled-icons/bootstrap": "^10.34.0",
"@styled-icons/boxicons-regular": "^10.38.0",
Expand All @@ -24,8 +23,9 @@
"react-inlinesvg": "^2.3.0"
},
"devDependencies": {
"@opentripplanner/types": "6.5.0",
"@types/flat": "^5.0.2"
"@types/flat": "^5.0.2",
"@opentripplanner/types": "6.5.1"

},
"peerDependencies": {
"react": "^16.14.0",
Expand Down
Loading

0 comments on commit 7426879

Please sign in to comment.