@dile/crud 2.15.0 → 2.15.1

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.
@@ -107,6 +107,10 @@ export class DileCrudSingle extends DileI18nMixin(DileCrudMixin(LitElement)) {
107
107
  border-radius: var(--dile-crud-single-sidebar-actions-border-radius, 0.5rem);
108
108
  background-color: var(--dile-crud-single-sidebar-actions-background-color, var(--dile-primary-dark-color, #d7d353));
109
109
  --dile-button-width: 100%;
110
+ /* Inherited by every button in the column, including the dile-button-icon
111
+ rendered by dile-crud-list-options inside dile-crud-actions. */
112
+ --dile-button-justify-content: var(--dile-crud-single-group-action-justify-content, center);
113
+ --dile-button-text-align: var(--dile-crud-single-group-action-text-align, center);
110
114
  }
111
115
  aside.sidebar .action-controller {
112
116
  margin-left: 0;
@@ -154,6 +158,8 @@ export class DileCrudSingle extends DileI18nMixin(DileCrudMixin(LitElement)) {
154
158
  --dile-button-border-width: var(--dile-crud-single-group-action-border-width, 1px);
155
159
  --dile-button-padding-y: var(--dile-crud-single-group-action-padding-y, 0.6rem);
156
160
  --dile-button-padding-x: var(--dile-crud-single-group-action-padding-x, 0.8rem);
161
+ --dile-button-justify-content: var(--dile-crud-single-group-action-justify-content, center);
162
+ --dile-button-text-align: var(--dile-crud-single-group-action-text-align, center);
157
163
  }
158
164
  .group-action.variant-primary {
159
165
  --dile-button-background-color: var(--dile-crud-single-action-primary-background-color, var(--dile-primary-color, #7BB93D));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "2.15.0",
3
+ "version": "2.15.1",
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",
@@ -26,12 +26,12 @@
26
26
  "homepage": "https://dile-components.com/",
27
27
  "dependencies": {
28
28
  "@dile/image-cropper": "^0.1.1",
29
- "@dile/ui": "^3.21.1",
29
+ "@dile/ui": "^3.21.2",
30
30
  "axios": "^1.19.0",
31
31
  "lit": "^2.7.0 || ^3.0.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "31543c2e6ab7d62af911c5842f2dc61596f3c14e"
36
+ "gitHead": "ebf978a759d3fc8bdc28e891f5abf72c54282d0a"
37
37
  }