@exmg/exm-form 1.1.28 → 1.1.29

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.
@@ -18,9 +18,9 @@ export declare class ExmFormBase extends ExmFormBase_base {
18
18
  */
19
19
  hideCancelButton: boolean;
20
20
  /**
21
- * Hide reset button
21
+ * Show reset button
22
22
  */
23
- hideResetButton: boolean;
23
+ showResetButton: boolean;
24
24
  /**
25
25
  * Internall used to show button spinner.
26
26
  */
@@ -26,9 +26,9 @@ export class ExmFormBase extends ExmFormDirtyMixin(ExmFormValidateMixin(ExmgElem
26
26
  */
27
27
  this.hideCancelButton = false;
28
28
  /**
29
- * Hide reset button
29
+ * Show reset button
30
30
  */
31
- this.hideResetButton = false;
31
+ this.showResetButton = false;
32
32
  /**
33
33
  * Internall used to show button spinner.
34
34
  */
@@ -117,13 +117,13 @@ export class ExmFormBase extends ExmFormDirtyMixin(ExmFormValidateMixin(ExmgElem
117
117
  renderActions() {
118
118
  return html `
119
119
  <footer class="actions">
120
- ${this.hideResetButton
121
- ? nothing
122
- : html `
120
+ ${this.showResetButton
121
+ ? html `
123
122
  <md-icon-button ?disabled=${!this.dirty} @click=${this.reset}>
124
123
  <md-icon>restart_alt</md-icon>
125
124
  </md-icon-button>
126
- `}
125
+ `
126
+ : nothing}
127
127
  ${this.hideCancelButton
128
128
  ? nothing
129
129
  : html `
@@ -166,8 +166,8 @@ __decorate([
166
166
  property({ type: Boolean, attribute: 'hide-cancel-button' })
167
167
  ], ExmFormBase.prototype, "hideCancelButton", void 0);
168
168
  __decorate([
169
- property({ type: Boolean, attribute: 'hide-reset-button' })
170
- ], ExmFormBase.prototype, "hideResetButton", void 0);
169
+ property({ type: Boolean, attribute: 'show-reset-button' })
170
+ ], ExmFormBase.prototype, "showResetButton", void 0);
171
171
  __decorate([
172
172
  property({ type: Boolean })
173
173
  ], ExmFormBase.prototype, "submitting", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exmg/exm-form",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@exmg/exm-button": "^1.1.28"
34
+ "@exmg/exm-button": "^1.1.29"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "lit": "^3.2.1",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "c3d02f7e6fb8a3156b81c700e00ee9b28e3ba000"
44
+ "gitHead": "4f87060160e9545bc7190a0f5e1e47a311933e9c"
45
45
  }