@dile/crud 2.8.0 → 2.8.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.
|
@@ -74,11 +74,14 @@ export class DileCrud extends DileI18nMixin(DileCrudMixin(LitElement)) {
|
|
|
74
74
|
}
|
|
75
75
|
.view-switch dile-button-icon {
|
|
76
76
|
display: none;
|
|
77
|
+
--dile-button-background-color: var(--dile-crud-view-switch-background-color, var(--dile-primary-color, #7BB93D));
|
|
78
|
+
--dile-button-text-color: var(--dile-crud-view-switch-text-color, var(--dile-on-primary-color, #fff));
|
|
79
|
+
--dile-button-border-color: var(--dile-crud-view-switch-border-color, var(--dile-primary-dark-color, #12354d));
|
|
77
80
|
}
|
|
78
81
|
.view-switch dile-icon {
|
|
79
82
|
cursor: pointer;
|
|
80
|
-
--dile-icon-color: var(--dile-on-crud-action-color, #fff);
|
|
81
|
-
--dile-icon-rounded-background-color: var(--dile-crud-action-color, #888);
|
|
83
|
+
--dile-icon-color: var(--dile-crud-view-switch-text-color, var(--dile-on-crud-action-color, #fff));
|
|
84
|
+
--dile-icon-rounded-background-color: var(--dile-crud-view-switch-background-color, var(--dile-crud-action-color, #888));
|
|
82
85
|
}
|
|
83
86
|
.view-switch dile-icon:focus-visible {
|
|
84
87
|
outline: 2px solid var(--dile-crud-action-focus-color, #12354d);
|
package/lib/i18n/es.js
CHANGED
|
@@ -72,6 +72,6 @@ export const translations = {
|
|
|
72
72
|
select_relation_placeholder: "Selecciona...",
|
|
73
73
|
list_load_error: "Error al cargar la lista. Por favor, intenta de nuevo.",
|
|
74
74
|
retry_label: "Reintentar",
|
|
75
|
-
list_view_label: "
|
|
76
|
-
grid_view_label: "
|
|
75
|
+
list_view_label: "Lista",
|
|
76
|
+
grid_view_label: "Rejilla",
|
|
77
77
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/crud",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.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",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "a6cf598429db0f791f20a77f64ae14f10d42cf56"
|
|
36
36
|
}
|