ember-ebau-gwr 6.4.1 → 7.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # [7.0.0](https://github.com/inosca/ember-ebau-gwr/compare/v6.4.1...v7.0.0) (2023-05-01)
2
+
3
+
4
+ ### chore
5
+
6
+ * **deps:** update dependencies ([c3035de](https://github.com/inosca/ember-ebau-gwr/commit/c3035de22b22edb112c2f0d35aac08dfedc08126))
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * **deps:** Drop support for Ember v3.
12
+
1
13
  ## [6.4.1](https://github.com/inosca/ember-ebau-gwr/compare/v6.4.0...v6.4.1) (2023-04-11)
2
14
 
3
15
 
package/README.md CHANGED
@@ -13,8 +13,8 @@ yarn start
13
13
 
14
14
  ## Compatibility
15
15
 
16
- - Ember.js v3.28 or above
17
- - Ember CLI v3.28 or above
16
+ - Ember.js v4.4 or above
17
+ - Ember CLI v4.4 or above
18
18
  - Node.js v14 or above
19
19
 
20
20
  ## Installation
@@ -33,17 +33,19 @@ this.mount("ember-ebau-gwr", { as: "gwr", path: "gwr/:id" });
33
33
  ```
34
34
 
35
35
  ### Enviroment configuration
36
+
36
37
  In your `config/environment.js` you need to define the following option for
37
38
  `changeset-validations`. We use this feature to generate translated errors:
39
+
38
40
  ```js
39
41
  "changeset-validations": { rawOutput: true },
40
42
  ```
41
43
 
42
44
  > **Important**
43
45
  > This currentlry has the limitation, that if your app uses
44
- `changeset-validations` itself, this option changes the behaviour in the whole
45
- app. Due to engine config restrictions, there is sadly currently no other way
46
- than maybe implementing something on build-pipeline level.
46
+ > `changeset-validations` itself, this option changes the behaviour in the whole
47
+ > app. Due to engine config restrictions, there is sadly currently no other way
48
+ > than maybe implementing something on build-pipeline level.
47
49
 
48
50
  ### Styling
49
51
 
@@ -84,7 +86,7 @@ The config service is used to pass config to the engine. The following propertie
84
86
  | `authToken` | `String` | The authentication toke from the host app. |
85
87
  | `camacGroup` | `String\|Number` | The current camac group of the user. |
86
88
  | `pageSize` | `Number` | The page size which the gwr api should return. |
87
- | `modalContainer` | `CSS Selector` | A CSS selector to render the modals in. |
89
+ | `modalContainer` | `CSS Selector` | A CSS selector to render the modals in. |
88
90
 
89
91
  All values should follow the officially used format.
90
92
 
@@ -10,7 +10,6 @@ export default class BuildingEditEntranceLinkStreetController extends Controller
10
10
  @service street;
11
11
  @service buildingEntrance;
12
12
  @service building;
13
- @service street;
14
13
  @service notification;
15
14
  @service intl;
16
15
  @service router;
@@ -9,6 +9,7 @@
9
9
  }
10
10
 
11
11
  $ember-ebau-gwr-required-color: $alert-danger-color !default;
12
+
12
13
  .required-indicator {
13
14
  color: $ember-ebau-gwr-required-color;
14
15
  }
@@ -38,12 +39,6 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
38
39
  height: 24.5px;
39
40
  }
40
41
 
41
- #ember-ebau-gwr-header-errors {
42
- li:last-child {
43
- padding-bottom: $padding-padding;
44
- }
45
- }
46
-
47
42
  .ember-ebau-gwr-label-color-danger {
48
43
  color: $alert-danger-color;
49
44
  border: 1px solid $alert-danger-color;
@@ -88,6 +83,7 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
88
83
 
89
84
  .ember-ebau-gwr-projects-header {
90
85
  @extend .uk-box-shadow-small, .uk-margin-large, .uk-background-muted;
86
+
91
87
  border: 1px solid #e5e5e5;
92
88
 
93
89
  table {
@@ -109,12 +105,19 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
109
105
  }
110
106
  }
111
107
 
108
+ #ember-ebau-gwr-header-errors {
109
+ li:last-child {
110
+ padding-bottom: $padding-padding;
111
+ }
112
+ }
113
+
112
114
  .ember-ebau-gwr-title-card {
113
115
  .title-card-content {
114
116
  margin-top: 100px;
115
117
 
116
118
  .title-card-text {
117
119
  @extend .uk-text-large, .uk-text-light;
120
+
118
121
  white-space: pre-line;
119
122
  line-height: 1.5;
120
123
  margin-top: 10px;
@@ -142,4 +145,4 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
142
145
 
143
146
  .margin-right-xs {
144
147
  margin-right: 5px;
145
- }
148
+ }
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- /* eslint-disable node/no-missing-require, node/no-unpublished-require, ember/avoid-leaking-state-in-ember-objects */
3
+ /* eslint-disable ember/avoid-leaking-state-in-ember-objects */
4
4
  const EngineAddon = require("ember-engines/lib/engine-addon");
5
5
 
6
6
  module.exports = EngineAddon.extend({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-ebau-gwr",
3
- "version": "6.4.1",
3
+ "version": "7.0.0",
4
4
  "description": "Ember engine to integrate ebau-gwr into an ember app.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -16,6 +16,8 @@
16
16
  "scripts": {
17
17
  "build": "ember build --environment=production",
18
18
  "lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
19
+ "lint:css": "stylelint \"**/*.scss\"",
20
+ "lint:css:fix": "concurrently \"npm:lint:css -- --fix\"",
19
21
  "lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
20
22
  "lint:hbs": "ember-template-lint .",
21
23
  "lint:hbs:fix": "ember-template-lint . --fix",
@@ -28,8 +30,8 @@
28
30
  "test:ember-compatibility": "ember try:each"
29
31
  },
30
32
  "peerDependencies": {
31
- "ember-engines": ">= 0.8",
32
- "ember-source": "^3.28.0 || ^4.0.0"
33
+ "ember-engines": "^0.9.0",
34
+ "ember-source": "^4.0.0"
33
35
  },
34
36
  "dependencies": {
35
37
  "@ember/legacy-built-in-components": "^0.4.2",
@@ -53,52 +55,58 @@
53
55
  "ember-power-select": "^7.0.0",
54
56
  "ember-resources": "^5.6.4",
55
57
  "ember-truth-helpers": "^3.1.1",
56
- "ember-uikit": "^7.0.1",
58
+ "ember-uikit": "^8.0.0",
57
59
  "ember-validated-form": "^6.2.0",
58
60
  "handlebars": "^4.7.7",
59
61
  "luxon": "^3.3.0"
60
62
  },
61
63
  "devDependencies": {
62
- "@adfinis-sygroup/eslint-config": "1.5.0",
63
- "@adfinis-sygroup/semantic-release-config": "3.4.0",
64
+ "@adfinis/eslint-config": "2.0.0",
65
+ "@adfinis/semantic-release-config": "4.0.0",
66
+ "@babel/eslint-parser": "7.21.3",
67
+ "@babel/plugin-proposal-decorators": "7.21.0",
64
68
  "@ember/optional-features": "2.0.0",
69
+ "@ember/string": "3.0.1",
65
70
  "@ember/test-helpers": "2.9.3",
66
71
  "@embroider/test-setup": "2.1.1",
67
- "babel-eslint": "10.1.0",
68
72
  "broccoli-asset-rev": "3.0.0",
69
73
  "concurrently": "8.0.1",
70
- "ember-cli": "4.10.0",
74
+ "ember-cli": "4.12.1",
71
75
  "ember-cli-dependency-checker": "3.3.1",
72
76
  "ember-cli-inject-live-reload": "2.1.0",
73
77
  "ember-cli-mirage": "3.0.0-alpha.3",
74
78
  "ember-cli-sass": "11.0.1",
75
79
  "ember-cli-sri": "2.1.1",
76
80
  "ember-cli-terser": "4.0.2",
77
- "ember-engines": "0.8.23",
81
+ "ember-engines": "0.9.0",
78
82
  "ember-load-initializers": "2.1.2",
79
83
  "ember-qunit": "6.2.0",
80
- "ember-resolver": "9.0.1",
84
+ "ember-resolver": "10.0.0",
81
85
  "ember-source": "4.12.0",
82
86
  "ember-source-channel-url": "3.0.0",
83
- "ember-template-lint": "5.7.2",
87
+ "ember-template-lint": "5.7.3",
84
88
  "ember-template-lint-plugin-prettier": "4.1.0",
85
89
  "ember-test-selectors": "6.0.0",
86
90
  "ember-try": "2.0.0",
87
- "eslint": "7.32.0",
91
+ "eslint": "8.39.0",
88
92
  "eslint-config-prettier": "8.8.0",
89
- "eslint-plugin-ember": "11.5.1",
93
+ "eslint-plugin-ember": "11.5.2",
90
94
  "eslint-plugin-import": "2.27.5",
91
- "eslint-plugin-node": "11.1.0",
95
+ "eslint-plugin-n": "15.7.0",
92
96
  "eslint-plugin-prettier": "4.2.1",
93
97
  "eslint-plugin-qunit": "7.3.4",
94
98
  "loader.js": "4.7.0",
95
99
  "local-cors-proxy": "1.1.0",
96
100
  "miragejs": "0.1.47",
97
- "prettier": "2.8.7",
101
+ "prettier": "2.8.8",
98
102
  "qunit": "2.19.4",
99
103
  "qunit-dom": "2.0.0",
100
- "sass": "1.61.0",
101
- "webpack": "5.78.0"
104
+ "sass": "1.62.1",
105
+ "stylelint": "15.6.0",
106
+ "stylelint-config-standard-scss": "9.0.0",
107
+ "stylelint-prettier": "3.0.0",
108
+ "stylelint-scss": "5.0.0",
109
+ "webpack": "5.81.0"
102
110
  },
103
111
  "engines": {
104
112
  "node": "14.* || 16.* || >= 18"
@@ -110,6 +118,6 @@
110
118
  "configPath": "tests/dummy/config"
111
119
  },
112
120
  "release": {
113
- "extends": "@adfinis-sygroup/semantic-release-config"
121
+ "extends": "@adfinis/semantic-release-config"
114
122
  }
115
123
  }