@projectcaluma/ember-form 11.0.0-beta.22 → 11.0.0-beta.23
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,11 @@
|
|
|
1
|
+
# [@projectcaluma/ember-form-v11.0.0-beta.23](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.22...@projectcaluma/ember-form-v11.0.0-beta.23) (2022-08-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **files:** disable delete button when field is disabled ([#2086](https://github.com/projectcaluma/ember-caluma/issues/2086)) ([2055c53](https://github.com/projectcaluma/ember-caluma/commit/2055c53cbcfe07fbdcfa46e6042a763b4b643d65))
|
|
7
|
+
* **form:** allow deselecting disabled multiple choice options ([0dd663e](https://github.com/projectcaluma/ember-caluma/commit/0dd663e467b66f0f8742d667630c28255e03e161))
|
|
8
|
+
|
|
1
9
|
# [@projectcaluma/ember-form-v11.0.0-beta.22](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-form-v11.0.0-beta.21...@projectcaluma/ember-form-v11.0.0-beta.22) (2022-08-05)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -23,12 +23,15 @@
|
|
|
23
23
|
>
|
|
24
24
|
{{file.name}}
|
|
25
25
|
</UkButton>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
{{#unless @disabled}}
|
|
27
|
+
<UkIcon
|
|
28
|
+
data-test-delete={{file.id}}
|
|
29
|
+
class="uk-icon-button uk-margin-small-left"
|
|
30
|
+
role="button"
|
|
31
|
+
@icon="trash"
|
|
32
|
+
{{on "click" (fn this.delete file.id)}}
|
|
33
|
+
/>
|
|
34
|
+
{{/unless}}
|
|
32
35
|
</li>
|
|
33
36
|
{{/each}}
|
|
34
37
|
</ul>
|
|
@@ -43,6 +43,8 @@ export default class CalumaStoreService extends Service {
|
|
|
43
43
|
clear() {
|
|
44
44
|
this._store.forEach((obj) => obj.destroy());
|
|
45
45
|
|
|
46
|
+
// `this._store` is not an ember array but a native map
|
|
47
|
+
// eslint-disable-next-line ember/no-array-prototype-extensions
|
|
46
48
|
this._store.clear();
|
|
47
49
|
}
|
|
48
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectcaluma/ember-form",
|
|
3
|
-
"version": "11.0.0-beta.
|
|
3
|
+
"version": "11.0.0-beta.23",
|
|
4
4
|
"description": "Ember addon for rendering Caluma forms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"ember-intl": "^5.7.2",
|
|
34
34
|
"ember-math-helpers": "^2.18.2",
|
|
35
35
|
"ember-pikaday": "^4.0.0",
|
|
36
|
-
"ember-power-select": "^
|
|
37
|
-
"ember-resources": "^5.
|
|
36
|
+
"ember-power-select": "^6.0.0",
|
|
37
|
+
"ember-resources": "^5.2.1",
|
|
38
38
|
"ember-uikit": "^5.1.3",
|
|
39
39
|
"ember-validators": "^4.1.2",
|
|
40
40
|
"graphql": "^15.8.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@ember/optional-features": "2.0.0",
|
|
48
48
|
"@ember/test-helpers": "2.8.1",
|
|
49
49
|
"@embroider/test-setup": "1.8.3",
|
|
50
|
-
"@faker-js/faker": "7.
|
|
51
|
-
"@projectcaluma/ember-testing": "11.0.0-beta.
|
|
50
|
+
"@faker-js/faker": "7.4.0",
|
|
51
|
+
"@projectcaluma/ember-testing": "11.0.0-beta.11",
|
|
52
52
|
"@projectcaluma/ember-workflow": "^11.0.0-beta.7",
|
|
53
53
|
"broccoli-asset-rev": "3.0.0",
|
|
54
54
|
"ember-cli": "3.28.5",
|