grav-svelte 0.0.26 → 0.0.28

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.
@@ -32,6 +32,8 @@
32
32
  .filters-title {
33
33
  font-weight: 700;
34
34
  font-size: 1.5rem;
35
+ white-space: nowrap;
36
+ max-width: 100%;
35
37
  }
36
38
 
37
39
  .filters-actions {
@@ -21,6 +21,7 @@
21
21
  export let Filtros: FiltrosI[];
22
22
  export let showAddButton: boolean = true;
23
23
  export let showImportButton: boolean = true;
24
+ export let Titulo_Crud: string;
24
25
 
25
26
  // Convert string to number and ensure it's never 0
26
27
  $: {
@@ -87,7 +88,7 @@
87
88
  <!--------------------------------------------------------------------->
88
89
  <div class="filters-core">
89
90
  <div class="filters-header">
90
- <h1 class="filters-title">Transacciones</h1>
91
+ <h1 class="filters-title">{Titulo_Crud}</h1>
91
92
  <div class="filters-actions">
92
93
  {#if showAddButton}
93
94
  <div>
@@ -7,6 +7,7 @@ declare const __propDef: {
7
7
  Filtros: FiltrosI[];
8
8
  showAddButton?: boolean;
9
9
  showImportButton?: boolean;
10
+ Titulo_Crud: string;
10
11
  };
11
12
  events: {
12
13
  add: CustomEvent<any>;
@@ -16,6 +16,7 @@
16
16
  export let loading: boolean = false;
17
17
  export let showAddButton: boolean = true;
18
18
  export let showImportButton: boolean = true;
19
+ export let Titulo_Crud: string;
19
20
 
20
21
  // Event handlers from parent
21
22
  export let onFilter: (filters: FiltrosI[]) => void;
@@ -73,6 +74,7 @@
73
74
  on:add={handleAdd}
74
75
  {showAddButton}
75
76
  {showImportButton}
77
+ {Titulo_Crud}
76
78
  />
77
79
  <CrudTable
78
80
  tableHeaders={tableH}
@@ -13,6 +13,7 @@ declare const __propDef: {
13
13
  loading?: boolean;
14
14
  showAddButton?: boolean;
15
15
  showImportButton?: boolean;
16
+ Titulo_Crud: string;
16
17
  onFilter: (filters: FiltrosI[]) => void;
17
18
  onAdd: () => void;
18
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grav-svelte",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "A collection of Svelte components",
5
5
  "license": "MIT",
6
6
  "scripts": {