@dile/crud 2.5.1 → 2.5.3

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.
@@ -210,7 +210,8 @@ export class DileCrudActions extends DileI18nMixin(LitElement) {
210
210
  bubbles: true,
211
211
  composed: true,
212
212
  detail: {
213
- msg:this.responseAdapter.getActionResponseValidationErrorMessage(),
213
+ msg: this.responseAdapter.getActionResponseValidationErrorMessage(),
214
+ errors: this.responseAdapter.getValidationErrors(),
214
215
  }
215
216
  }));
216
217
  }
@@ -36,6 +36,17 @@ export class DileCrudSingle extends DileI18nMixin(DileCrudMixin(LitElement)) {
36
36
  .action-controller {
37
37
  margin-left: 0.5rem;
38
38
  }
39
+ dile-button.action-controller {
40
+ --dile-button-background-color: var(--dile-crud-direct-action-background-color, var(--dile-button-background-color, var(--dile-primary-color, #7BB93D)));
41
+ --dile-button-text-color: var(--dile-crud-direct-action-text-color, var(--dile-button-text-color, var(--dile-on-primary-color, #fff)));
42
+ --dile-button-border-color: var(--dile-crud-direct-action-border-color, var(--dile-button-border-color, var(--dile-primary-dark-color, #12354d)));
43
+ --dile-button-hover-background-color: var(--dile-crud-direct-action-hover-background-color, var(--dile-button-hover-background-color, var(--dile-primary-light-color, #f3f3ae)));
44
+ --dile-button-hover-text-color: var(--dile-crud-direct-action-hover-text-color, var(--dile-button-hover-text-color, var(--dile-on-primary-light-color, #303030)));
45
+ --dile-button-hover-border-color: var(--dile-crud-direct-action-hover-border-color, var(--dile-button-hover-border-color, var(--dile-primary-color, #666666)));
46
+ --dile-button-font-size: var(--dile-crud-direct-action-font-size, var(--dile-button-font-size, 1rem));
47
+ --dile-button-text-transform: var(--dile-crud-direct-action-text-transform, var(--dile-button-text-transform, none));
48
+ --dile-button-font-weight: var(--dile-crud-direct-action-font-weight, var(--dile-button-font-weight, bold));
49
+ }
39
50
  .statscontainer {
40
51
  margin: 0 1rem;
41
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "description": "Components to create a generic crud system based on Web Components and Lit",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "6e81c1423870da7d209a2cc421c96fd63008bdb8"
35
+ "gitHead": "f7eb4bd1d478971068e9fe17a39658b4d7cb424f"
36
36
  }