@projectcaluma/ember-form 11.0.0-beta.3 → 11.0.0-beta.4

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,10 @@
1
+ # [@projectcaluma/ember-form-v11.0.0-beta.4](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.3...@projectcaluma/ember-form-v11.0.0-beta.4) (2022-02-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **form:** fix closing of info modal ([b46095a](https://github.com/projectcaluma/ember-caluma/commit/b46095aa3b31bc1b2035a0818778edaa8fd9c745))
7
+
1
8
  # [@projectcaluma/ember-form-v11.0.0-beta.3](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.2...@projectcaluma/ember-form-v11.0.0-beta.3) (2022-01-24)
2
9
 
3
10
 
@@ -4,7 +4,7 @@
4
4
  class="uk-icon-button"
5
5
  uk-icon="info"
6
6
  title={{t "caluma.form.info"}}
7
- {{on "click" this.showModal}}
7
+ {{on "click" (fn (mut this.modalVisible) true)}}
8
8
  >
9
9
  <span class="uk-hidden">{{t "caluma.form.info"}}</span>
10
10
  </button>
@@ -12,7 +12,7 @@
12
12
  <UkModal
13
13
  @visible={{this.modalVisible}}
14
14
  @stack={{true}}
15
- @onHide={{this.hideModal}}
15
+ @onHide={{fn (mut this.modalVisible) false}}
16
16
  as |modal|
17
17
  >
18
18
  <modal.body>
@@ -1,21 +1,6 @@
1
- import { action } from "@ember/object";
2
1
  import Component from "@glimmer/component";
3
2
  import { tracked } from "@glimmer/tracking";
4
3
 
5
4
  export default class CfFieldInfoComponent extends Component {
6
5
  @tracked modalVisible = false;
7
-
8
- @action
9
- showModal(e) {
10
- e.preventDefault();
11
-
12
- this.modalVisible = true;
13
- }
14
-
15
- @action
16
- hideModal(e) {
17
- e.preventDefault();
18
-
19
- this.modalVisible = false;
20
- }
21
6
  }
@@ -58,7 +58,6 @@
58
58
  <td colspan={{add this.columns.length 1}} class="uk-text-center">
59
59
  <UkButton
60
60
  @size="small"
61
- @color="default"
62
61
  @onClick={{perform this.add}}
63
62
  data-test-add-row
64
63
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-form",
3
- "version": "11.0.0-beta.3",
3
+ "version": "11.0.0-beta.4",
4
4
  "description": "Ember addon for rendering Caluma forms.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -27,12 +27,12 @@
27
27
  "ember-fetch": "^8.1.1",
28
28
  "ember-in-viewport": "^4.0.0",
29
29
  "ember-intl": "^5.7.2",
30
- "ember-math-helpers": "^2.18.0",
30
+ "ember-math-helpers": "^2.18.1",
31
31
  "ember-pikaday": "^3.0.0",
32
32
  "ember-power-select": "^5.0.3",
33
- "ember-resources": "^4.1.3",
34
- "ember-uikit": "^5.0.0-beta.3",
35
- "ember-validators": "^4.0.1",
33
+ "ember-resources": "^4.2.0",
34
+ "ember-uikit": "^5.0.0-beta.9",
35
+ "ember-validators": "^4.1.0",
36
36
  "graphql": "^15.8.0",
37
37
  "jexl": "^2.3.0",
38
38
  "lodash.isequal": "^4.5.0",
@@ -43,9 +43,9 @@
43
43
  "@ember/optional-features": "2.0.0",
44
44
  "@ember/test-helpers": "2.6.0",
45
45
  "@embroider/test-setup": "1.0.0",
46
- "@faker-js/faker": "6.0.0-alpha.3",
46
+ "@faker-js/faker": "6.0.0-alpha.5",
47
47
  "@projectcaluma/ember-testing": "10.2.0-beta.2",
48
- "@projectcaluma/ember-workflow": "11.0.0-beta.1",
48
+ "@projectcaluma/ember-workflow": "11.0.0-beta.2",
49
49
  "broccoli-asset-rev": "3.0.0",
50
50
  "ember-cli": "3.28.5",
51
51
  "ember-cli-code-coverage": "1.0.3",
@@ -69,7 +69,7 @@
69
69
  "qunit": "2.17.2",
70
70
  "qunit-dom": "2.0.0",
71
71
  "uuid": "8.3.2",
72
- "webpack": "5.67.0"
72
+ "webpack": "5.68.0"
73
73
  },
74
74
  "engines": {
75
75
  "node": "12.* || 14.* || >= 16"