From a7bdc0ebe38a515b6e96bd7be0b790f14c1fd3a0 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Thu, 21 Sep 2023 07:44:01 +0300 Subject: [PATCH] chore: speed tram type is now 900 --- app/configurations/config.hsl.js | 2 +- app/constants.js | 2 +- .../package.json | 4 ++-- .../package.json | 4 ++-- .../package.json | 4 ++-- .../package.json | 2 +- .../src/index.js | 2 +- .../digitransit-component/package.json | 8 +++---- yarn.lock | 22 +++++++++---------- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/app/configurations/config.hsl.js b/app/configurations/config.hsl.js index 3cf69ec938..c8a43054d0 100644 --- a/app/configurations/config.hsl.js +++ b/app/configurations/config.hsl.js @@ -644,7 +644,7 @@ export default { }, }, { - showForRoute: route => route.type === 902, + showForRoute: route => route.type === 900, id: 'speedtramNotification', header: { fi: 'Mitä pikaratikka tarkoittaa?', diff --git a/app/constants.js b/app/constants.js index bb6314269c..517adfad3b 100644 --- a/app/constants.js +++ b/app/constants.js @@ -95,7 +95,7 @@ export const AlertEntityType = Object.freeze({ export const ExtendedRouteTypes = Object.freeze({ BusExpress: 702, BusLocal: 704, - TramLocal: 902, + TramLocal: 900, }); export const ParkTypes = { diff --git a/digitransit-component/packages/digitransit-component-autosuggest-panel/package.json b/digitransit-component/packages/digitransit-component-autosuggest-panel/package.json index 7e9bc8028d..2ac598f10f 100644 --- a/digitransit-component/packages/digitransit-component-autosuggest-panel/package.json +++ b/digitransit-component/packages/digitransit-component-autosuggest-panel/package.json @@ -1,6 +1,6 @@ { "name": "@digitransit-component/digitransit-component-autosuggest-panel", - "version": "2.0.7", + "version": "2.0.8", "description": "digitransit-component autosuggest-panel module", "main": "index.js", "files": [ @@ -28,7 +28,7 @@ "author": "Digitransit Authors", "license": "(AGPL-3.0 OR EUPL-1.2)", "peerDependencies": { - "@digitransit-component/digitransit-component-autosuggest": "^1.9.11", + "@digitransit-component/digitransit-component-autosuggest": "^1.9.12", "@digitransit-component/digitransit-component-icon": "^0.2.2", "@hsl-fi/sass": "^0.2.0", "classnames": "2.2.6", diff --git a/digitransit-component/packages/digitransit-component-autosuggest/package.json b/digitransit-component/packages/digitransit-component-autosuggest/package.json index ec797e881f..a89bf96057 100644 --- a/digitransit-component/packages/digitransit-component-autosuggest/package.json +++ b/digitransit-component/packages/digitransit-component-autosuggest/package.json @@ -1,6 +1,6 @@ { "name": "@digitransit-component/digitransit-component-autosuggest", - "version": "1.9.11", + "version": "1.9.12", "description": "digitransit-component autosuggest module", "main": "index.js", "files": [ @@ -37,7 +37,7 @@ "peerDependencies": { "@digitransit-component/digitransit-component-dialog-modal": "^0.3.4", "@digitransit-component/digitransit-component-icon": "^0.2.2", - "@digitransit-component/digitransit-component-suggestion-item": "^1.1.3", + "@digitransit-component/digitransit-component-suggestion-item": "^1.1.4", "@hsl-fi/sass": "^0.2.0", "classnames": "2.2.6", "i18next": "^19.3.3", diff --git a/digitransit-component/packages/digitransit-component-favourite-bar/package.json b/digitransit-component/packages/digitransit-component-favourite-bar/package.json index 9ef7dcb1b2..5d63b0294a 100644 --- a/digitransit-component/packages/digitransit-component-favourite-bar/package.json +++ b/digitransit-component/packages/digitransit-component-favourite-bar/package.json @@ -1,6 +1,6 @@ { "name": "@digitransit-component/digitransit-component-favourite-bar", - "version": "1.1.3", + "version": "1.1.4", "description": "digitransit-component favourite-bar module", "main": "index.js", "files": [ @@ -33,7 +33,7 @@ }, "peerDependencies": { "@digitransit-component/digitransit-component-icon": "^0.2.2", - "@digitransit-component/digitransit-component-suggestion-item": "^1.1.3", + "@digitransit-component/digitransit-component-suggestion-item": "^1.1.4", "@hsl-fi/sass": "^0.2.0", "@hsl-fi/shimmer": "0.1.2", "classnames": "2.2.6", diff --git a/digitransit-component/packages/digitransit-component-suggestion-item/package.json b/digitransit-component/packages/digitransit-component-suggestion-item/package.json index 1530cec033..b9407508a8 100644 --- a/digitransit-component/packages/digitransit-component-suggestion-item/package.json +++ b/digitransit-component/packages/digitransit-component-suggestion-item/package.json @@ -1,6 +1,6 @@ { "name": "@digitransit-component/digitransit-component-suggestion-item", - "version": "1.1.3", + "version": "1.1.4", "description": "digitransit-component suggestion-item module", "main": "index.js", "files": [ diff --git a/digitransit-component/packages/digitransit-component-suggestion-item/src/index.js b/digitransit-component/packages/digitransit-component-suggestion-item/src/index.js index e62fac3acb..0a468eae33 100644 --- a/digitransit-component/packages/digitransit-component-suggestion-item/src/index.js +++ b/digitransit-component/packages/digitransit-component-suggestion-item/src/index.js @@ -8,7 +8,7 @@ import styles from './helpers/styles.scss'; const BUS_EXPRESS = 702; const BUS_LOCAL = 704; -const TRAM_LOCAL = 902; +const TRAM_LOCAL = 900; const getRouteMode = props => { switch (props.type) { diff --git a/digitransit-component/packages/digitransit-component/package.json b/digitransit-component/packages/digitransit-component/package.json index f7e4bbc17e..f8c7715159 100644 --- a/digitransit-component/packages/digitransit-component/package.json +++ b/digitransit-component/packages/digitransit-component/package.json @@ -14,14 +14,14 @@ "docs": "node -r esm ../../scripts/generate-readmes" }, "dependencies": { - "@digitransit-component/digitransit-component-autosuggest": "^1.9.11", - "@digitransit-component/digitransit-component-autosuggest-panel": "^2.0.7", + "@digitransit-component/digitransit-component-autosuggest": "^1.9.12", + "@digitransit-component/digitransit-component-autosuggest-panel": "^2.0.8", "@digitransit-component/digitransit-component-control-panel": "^1.1.3", - "@digitransit-component/digitransit-component-favourite-bar": "1.1.3", + "@digitransit-component/digitransit-component-favourite-bar": "1.1.4", "@digitransit-component/digitransit-component-favourite-editing-modal": "^1.1.4", "@digitransit-component/digitransit-component-favourite-modal": "^1.0.2", "@digitransit-component/digitransit-component-icon": "^0.2.2", - "@digitransit-component/digitransit-component-suggestion-item": "^1.1.3", + "@digitransit-component/digitransit-component-suggestion-item": "^1.1.4", "@digitransit-component/digitransit-component-with-breakpoint": "^0.0.5" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index d1a3793781..17894527a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1822,11 +1822,11 @@ __metadata: languageName: unknown linkType: soft -"@digitransit-component/digitransit-component-autosuggest-panel@^2.0.7, @digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel": +"@digitransit-component/digitransit-component-autosuggest-panel@^2.0.8, @digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel": version: 0.0.0-use.local resolution: "@digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel" peerDependencies: - "@digitransit-component/digitransit-component-autosuggest": ^1.9.11 + "@digitransit-component/digitransit-component-autosuggest": ^1.9.12 "@digitransit-component/digitransit-component-icon": ^0.2.2 "@hsl-fi/sass": ^0.2.0 classnames: 2.2.6 @@ -1842,7 +1842,7 @@ __metadata: languageName: unknown linkType: soft -"@digitransit-component/digitransit-component-autosuggest@^1.9.11, @digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest": +"@digitransit-component/digitransit-component-autosuggest@^1.9.12, @digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest": version: 0.0.0-use.local resolution: "@digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest" dependencies: @@ -1853,7 +1853,7 @@ __metadata: peerDependencies: "@digitransit-component/digitransit-component-dialog-modal": ^0.3.4 "@digitransit-component/digitransit-component-icon": ^0.2.2 - "@digitransit-component/digitransit-component-suggestion-item": ^1.1.3 + "@digitransit-component/digitransit-component-suggestion-item": ^1.1.4 "@hsl-fi/sass": ^0.2.0 classnames: 2.2.6 i18next: ^19.3.3 @@ -1913,14 +1913,14 @@ __metadata: languageName: unknown linkType: soft -"@digitransit-component/digitransit-component-favourite-bar@1.1.3, @digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar": +"@digitransit-component/digitransit-component-favourite-bar@1.1.4, @digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar": version: 0.0.0-use.local resolution: "@digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar" dependencies: "@digitransit-search-util/digitransit-search-util-uniq-by-label": ^1.1.0 peerDependencies: "@digitransit-component/digitransit-component-icon": ^0.2.2 - "@digitransit-component/digitransit-component-suggestion-item": ^1.1.3 + "@digitransit-component/digitransit-component-suggestion-item": ^1.1.4 "@hsl-fi/sass": ^0.2.0 "@hsl-fi/shimmer": 0.1.2 classnames: 2.2.6 @@ -1976,7 +1976,7 @@ __metadata: languageName: unknown linkType: soft -"@digitransit-component/digitransit-component-suggestion-item@^1.1.3, @digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item": +"@digitransit-component/digitransit-component-suggestion-item@^1.1.4, @digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item": version: 0.0.0-use.local resolution: "@digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item" dependencies: @@ -2019,14 +2019,14 @@ __metadata: version: 0.0.0-use.local resolution: "@digitransit-component/digitransit-component@workspace:digitransit-component/packages/digitransit-component" dependencies: - "@digitransit-component/digitransit-component-autosuggest": ^1.9.11 - "@digitransit-component/digitransit-component-autosuggest-panel": ^2.0.7 + "@digitransit-component/digitransit-component-autosuggest": ^1.9.12 + "@digitransit-component/digitransit-component-autosuggest-panel": ^2.0.8 "@digitransit-component/digitransit-component-control-panel": ^1.1.3 - "@digitransit-component/digitransit-component-favourite-bar": 1.1.3 + "@digitransit-component/digitransit-component-favourite-bar": 1.1.4 "@digitransit-component/digitransit-component-favourite-editing-modal": ^1.1.4 "@digitransit-component/digitransit-component-favourite-modal": ^1.0.2 "@digitransit-component/digitransit-component-icon": ^0.2.2 - "@digitransit-component/digitransit-component-suggestion-item": ^1.1.3 + "@digitransit-component/digitransit-component-suggestion-item": ^1.1.4 "@digitransit-component/digitransit-component-with-breakpoint": ^0.0.5 peerDependencies: "@digitransit-component/digitransit-component-dialog-modal": ^0.3.4