lesli_dashboard 1.1.4 → 1.1.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a7249ab6b9d099f3bb760861a6127072d59b7adc30ab00ba04c8091cc605108
4
- data.tar.gz: 79118f3971712e08b1ceeed57fa008ee48bd1608fe1bc62701c38c59e171b24b
3
+ metadata.gz: a4a1d43aab05d0600c2933ddbc0bccf74017b4fc0dabd1d519ed209aa4cbb0e0
4
+ data.tar.gz: 0c5f2291c6131fdcf113ec83f687253cdd96dc6863eb6777f310be08159f2990
5
5
  SHA512:
6
- metadata.gz: 40153f4f035f6cfcef77d3317b3caa6102fd0a6e0473462fd0bff9be0c143f4844e802f77f2f5784a9fa2f3df34319318098881371c7b9bf8da06be8861e1331
7
- data.tar.gz: cc2d24b9cd81d1bdc5c8db6d1fd9c476b36ab2455f3c9dcd11bc7a9b3ee7c5f2ec72f7299ff4fa9cd15648da8a0ce678d50e02beb0fb07a94cc89c95cdc16a03
6
+ metadata.gz: 65b8e046e72fa18506c9bc6c3b79becb2cdae689698d6ba235641421a3a54584ca304830121a0f160ed38dd45c19e17b7e98b59f38c75555728f764b21f75b13
7
+ data.tar.gz: 710b0f082deaf2517de4af29306c20857e57e7742307965facd2c605aa517989a7e85ce11ddb14fb839349f421c40d40fcd28ff08f6b5219cb0138c629bd6254
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
2
2
  /*!
3
3
 
4
4
  Lesli
@@ -30,161 +30,24 @@ Building a better future, one line of code at a time.
30
30
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
31
31
  // ·
32
32
  */
33
- @layer properties;
34
33
  @layer theme, utilities;
35
- @layer theme {
36
- :root, :host {
37
- --color-slate-50: oklch(98.4% 0.003 247.858);
38
- --color-slate-300: oklch(86.9% 0.022 252.894);
39
- --spacing: 0.25rem;
40
- --radius-2xl: 1rem;
41
- }
42
- }
43
34
  @layer utilities {
44
- .col-span-12 {
45
- grid-column: span 12 / span 12;
46
- }
47
- .mt-6 {
48
- margin-top: calc(var(--spacing) * 6);
49
- }
50
35
  .mb-6 {
51
- margin-bottom: calc(var(--spacing) * 6);
36
+ margin-bottom: calc(var(--spacing, 0.25rem) * 6);
52
37
  }
53
38
  .flex {
54
39
  display: flex;
55
40
  }
56
- .grid {
57
- display: grid;
58
- }
59
- .h-full {
60
- height: 100%;
61
- }
62
- .w-full {
63
- width: 100%;
64
- }
65
- .min-w-0 {
66
- min-width: 0px;
67
- }
68
- .grid-cols-12 {
69
- grid-template-columns: repeat(12, minmax(0, 1fr));
70
- }
71
41
  .flex-wrap {
72
42
  flex-wrap: wrap;
73
43
  }
74
44
  .items-center {
75
45
  align-items: center;
76
46
  }
77
- .items-stretch {
78
- align-items: stretch;
79
- }
80
- .justify-center {
81
- justify-content: center;
82
- }
83
47
  .gap-3 {
84
- gap: calc(var(--spacing) * 3);
48
+ gap: calc(var(--spacing, 0.25rem) * 3);
85
49
  }
86
50
  .gap-4 {
87
- gap: calc(var(--spacing) * 4);
88
- }
89
- .rounded-2xl {
90
- border-radius: var(--radius-2xl);
91
- }
92
- .border {
93
- border-style: var(--tw-border-style);
94
- border-width: 1px;
95
- }
96
- .border-dashed {
97
- --tw-border-style: dashed;
98
- border-style: dashed;
99
- }
100
- .border-slate-300 {
101
- border-color: var(--color-slate-300);
102
- }
103
- .bg-slate-50\/70 {
104
- background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);
105
- @supports (color: color-mix(in lab, red, red)) {
106
- background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);
107
- }
108
- }
109
- .px-6 {
110
- padding-inline: calc(var(--spacing) * 6);
111
- }
112
- .py-12 {
113
- padding-block: calc(var(--spacing) * 12);
114
- }
115
- @media (width >= 40rem) {
116
- .sm\:gap-5 {
117
- gap: calc(var(--spacing) * 5);
118
- }
119
- .sm\:py-16 {
120
- padding-block: calc(var(--spacing) * 16);
121
- }
122
- }
123
- @media (width >= 48rem) {
124
- .md\:col-span-6 {
125
- grid-column: span 6 / span 6;
126
- }
127
- .md\:col-span-12 {
128
- grid-column: span 12 / span 12;
129
- }
130
- }
131
- @media (width >= 64rem) {
132
- .lg\:col-span-1 {
133
- grid-column: span 1 / span 1;
134
- }
135
- .lg\:col-span-2 {
136
- grid-column: span 2 / span 2;
137
- }
138
- .lg\:col-span-3 {
139
- grid-column: span 3 / span 3;
140
- }
141
- .lg\:col-span-4 {
142
- grid-column: span 4 / span 4;
143
- }
144
- .lg\:col-span-5 {
145
- grid-column: span 5 / span 5;
146
- }
147
- .lg\:col-span-6 {
148
- grid-column: span 6 / span 6;
149
- }
150
- .lg\:col-span-7 {
151
- grid-column: span 7 / span 7;
152
- }
153
- .lg\:col-span-8 {
154
- grid-column: span 8 / span 8;
155
- }
156
- .lg\:col-span-9 {
157
- grid-column: span 9 / span 9;
158
- }
159
- .lg\:col-span-10 {
160
- grid-column: span 10 / span 10;
161
- }
162
- .lg\:col-span-11 {
163
- grid-column: span 11 / span 11;
164
- }
165
- .lg\:col-span-12 {
166
- grid-column: span 12 / span 12;
167
- }
168
- .lg\:gap-6 {
169
- gap: calc(var(--spacing) * 6);
170
- }
171
- }
172
- .\[\&_\.box\]\:h-full .box {
173
- height: 100%;
174
- }
175
- .\[\&\>\*\]\:h-full > * {
176
- height: 100%;
177
- }
178
- }
179
- @property --tw-border-style {
180
- syntax: "*";
181
- inherits: false;
182
- initial-value: solid;
183
- }
184
- @layer properties {
185
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
186
- *, ::before, ::after, ::backdrop {
187
- --tw-border-style: solid;
188
- }
51
+ gap: calc(var(--spacing, 0.25rem) * 4);
189
52
  }
190
53
  }
@@ -0,0 +1,176 @@
1
+ /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
2
+ /*!
3
+
4
+ Lesli
5
+
6
+ Copyright (c) 2026, Lesli Technologies, S. A.
7
+
8
+ This program is free software: you can redistribute it and/or modify
9
+ it under the terms of the GNU General Public License as published by
10
+ the Free Software Foundation, either version 3 of the License, or
11
+ (at your option) any later version.
12
+
13
+ This program is distributed in the hope that it will be useful,
14
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ GNU General Public License for more details.
17
+
18
+ You should have received a copy of the GNU General Public License
19
+ along with this program. If not, see http://www.gnu.org/licenses/.
20
+
21
+ Lesli · Ruby on Rails SaaS Development Framework.
22
+
23
+ Made with ♥ by LesliTech
24
+ Building a better future, one line of code at a time.
25
+
26
+ @contact hello@lesli.tech
27
+ @website https://www.lesli.tech
28
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
29
+
30
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
31
+ // ·
32
+ */
33
+ @layer properties;
34
+ @layer theme, utilities;
35
+ @layer utilities {
36
+ .col-span-12 {
37
+ grid-column: span 12 / span 12;
38
+ }
39
+ .mt-6 {
40
+ margin-top: calc(var(--spacing, 0.25rem) * 6);
41
+ }
42
+ .flex {
43
+ display: flex;
44
+ }
45
+ .grid {
46
+ display: grid;
47
+ }
48
+ .h-full {
49
+ height: 100%;
50
+ }
51
+ .w-full {
52
+ width: 100%;
53
+ }
54
+ .min-w-0 {
55
+ min-width: 0px;
56
+ }
57
+ .grid-cols-12 {
58
+ grid-template-columns: repeat(12, minmax(0, 1fr));
59
+ }
60
+ .flex-wrap {
61
+ flex-wrap: wrap;
62
+ }
63
+ .items-stretch {
64
+ align-items: stretch;
65
+ }
66
+ .justify-center {
67
+ justify-content: center;
68
+ }
69
+ .gap-3 {
70
+ gap: calc(var(--spacing, 0.25rem) * 3);
71
+ }
72
+ .gap-4 {
73
+ gap: calc(var(--spacing, 0.25rem) * 4);
74
+ }
75
+ .rounded-2xl {
76
+ border-radius: var(--radius-2xl, 1rem);
77
+ }
78
+ .border {
79
+ border-style: var(--tw-border-style);
80
+ border-width: 1px;
81
+ }
82
+ .border-dashed {
83
+ --tw-border-style: dashed;
84
+ border-style: dashed;
85
+ }
86
+ .border-neutral-300 {
87
+ border-color: var(--lesli-color-neutral-300);
88
+ }
89
+ .bg-neutral-50\/70 {
90
+ background-color: var(--lesli-color-neutral-50);
91
+ @supports (color: color-mix(in lab, red, red)) {
92
+ background-color: color-mix(in oklab, var(--lesli-color-neutral-50) 70%, transparent);
93
+ }
94
+ }
95
+ .px-6 {
96
+ padding-inline: calc(var(--spacing, 0.25rem) * 6);
97
+ }
98
+ .py-12 {
99
+ padding-block: calc(var(--spacing, 0.25rem) * 12);
100
+ }
101
+ @media (width >= 40rem) {
102
+ .sm\:gap-5 {
103
+ gap: calc(var(--spacing, 0.25rem) * 5);
104
+ }
105
+ .sm\:py-16 {
106
+ padding-block: calc(var(--spacing, 0.25rem) * 16);
107
+ }
108
+ }
109
+ @media (width >= 48rem) {
110
+ .md\:col-span-6 {
111
+ grid-column: span 6 / span 6;
112
+ }
113
+ .md\:col-span-12 {
114
+ grid-column: span 12 / span 12;
115
+ }
116
+ }
117
+ @media (width >= 64rem) {
118
+ .lg\:col-span-1 {
119
+ grid-column: span 1 / span 1;
120
+ }
121
+ .lg\:col-span-2 {
122
+ grid-column: span 2 / span 2;
123
+ }
124
+ .lg\:col-span-3 {
125
+ grid-column: span 3 / span 3;
126
+ }
127
+ .lg\:col-span-4 {
128
+ grid-column: span 4 / span 4;
129
+ }
130
+ .lg\:col-span-5 {
131
+ grid-column: span 5 / span 5;
132
+ }
133
+ .lg\:col-span-6 {
134
+ grid-column: span 6 / span 6;
135
+ }
136
+ .lg\:col-span-7 {
137
+ grid-column: span 7 / span 7;
138
+ }
139
+ .lg\:col-span-8 {
140
+ grid-column: span 8 / span 8;
141
+ }
142
+ .lg\:col-span-9 {
143
+ grid-column: span 9 / span 9;
144
+ }
145
+ .lg\:col-span-10 {
146
+ grid-column: span 10 / span 10;
147
+ }
148
+ .lg\:col-span-11 {
149
+ grid-column: span 11 / span 11;
150
+ }
151
+ .lg\:col-span-12 {
152
+ grid-column: span 12 / span 12;
153
+ }
154
+ .lg\:gap-6 {
155
+ gap: calc(var(--spacing, 0.25rem) * 6);
156
+ }
157
+ }
158
+ .\[\&_\.box\]\:h-full .box {
159
+ height: 100%;
160
+ }
161
+ .\[\&\>\*\]\:h-full > * {
162
+ height: 100%;
163
+ }
164
+ }
165
+ @property --tw-border-style {
166
+ syntax: "*";
167
+ inherits: false;
168
+ initial-value: solid;
169
+ }
170
+ @layer properties {
171
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
172
+ *, ::before, ::after, ::backdrop {
173
+ --tw-border-style: solid;
174
+ }
175
+ }
176
+ }
@@ -30,19 +30,20 @@ Building a better future, one line of code at a time.
30
30
  // ·
31
31
  %>
32
32
 
33
+ <%# The main layout already includes this stylesheet inside LesliDashboard. %>
33
34
  <% content_for :head do %>
34
- <%= stylesheet_link_tag "lesli_dashboard/application", media: "all" %>
35
+ <%= stylesheet_link_tag "lesli_dashboard/dashboard", media: "all", "data-turbo-track": "dynamic" %>
35
36
  <% end %>
36
37
 
37
38
  <%= render(LesliView::Layout::Container.new("dashboards-show", :dashboard => false)) do %>
38
39
 
39
- <%= render("lesli_dashboard/dashboards/shared/header") %>
40
+ <%= render("lesli_dashboard/shared/header") %>
40
41
 
41
- <%= render("lesli_dashboard/dashboards/shared/navigation") %>
42
+ <%= render("lesli_dashboard/shared/navigation") %>
42
43
 
43
44
  <% if @components.empty? %>
44
45
  <section
45
- class="mt-6 rounded-2xl border border-dashed border-slate-300 bg-slate-50/70 px-6 py-12 sm:py-16"
46
+ class="mt-6 rounded-2xl border border-dashed border-neutral-300 bg-neutral-50/70 px-6 py-12 sm:py-16"
46
47
  aria-label="<%= t("lesli_dashboard.dashboards.empty") %>">
47
48
  <%= render(LesliView::Elements::Empty.new(text: t("lesli_dashboard.dashboards.empty"))) %>
48
49
  <div class="mt-6 flex justify-center">
@@ -0,0 +1,11 @@
1
+ ---
2
+ en:
3
+ activerecord:
4
+ attributes:
5
+ lesli_dashboard/dashboard:
6
+ name: "Name"
7
+ engine: "Engine"
8
+ default: "Default"
9
+ lesli_dashboard/component:
10
+ component: "Widget"
11
+ size: "Width (columns)"
@@ -0,0 +1,11 @@
1
+ ---
2
+ es:
3
+ activerecord:
4
+ attributes:
5
+ lesli_dashboard/dashboard:
6
+ name: "Nombre"
7
+ engine: "Módulo"
8
+ default: "Predeterminado"
9
+ lesli_dashboard/component:
10
+ component: "Widget"
11
+ size: "Ancho (columnas)"
@@ -0,0 +1,11 @@
1
+ ---
2
+ fr:
3
+ activerecord:
4
+ attributes:
5
+ lesli_dashboard/dashboard:
6
+ name: "Nom"
7
+ engine: "Module"
8
+ default: "Par défaut"
9
+ lesli_dashboard/component:
10
+ component: "Widget"
11
+ size: "Largeur (colonnes)"
@@ -0,0 +1,11 @@
1
+ ---
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ lesli_dashboard/dashboard:
6
+ name: "Nome"
7
+ engine: "Modulo"
8
+ default: "Predefinita"
9
+ lesli_dashboard/component:
10
+ component: "Widget"
11
+ size: "Larghezza (colonne)"
@@ -0,0 +1,11 @@
1
+ ---
2
+ pt:
3
+ activerecord:
4
+ attributes:
5
+ lesli_dashboard/dashboard:
6
+ name: "Nome"
7
+ engine: "Módulo"
8
+ default: "Padrão"
9
+ lesli_dashboard/component:
10
+ component: "Widget"
11
+ size: "Largura (colunas)"
@@ -48,12 +48,3 @@ en:
48
48
  afternoon: "Good afternoon"
49
49
  evening: "Good evening"
50
50
  morning: "Good morning"
51
- activerecord:
52
- attributes:
53
- lesli_dashboard/dashboard:
54
- name: "Name"
55
- engine: "Engine"
56
- default: "Default"
57
- lesli_dashboard/component:
58
- component: "Widget"
59
- size: "Width (columns)"
@@ -52,12 +52,3 @@ es:
52
52
  items/discussions: {}
53
53
  items/tasks: {}
54
54
  shared: {}
55
- activerecord:
56
- attributes:
57
- lesli_dashboard/dashboard:
58
- name: "Nombre"
59
- engine: "Módulo"
60
- default: "Predeterminado"
61
- lesli_dashboard/component:
62
- component: "Widget"
63
- size: "Ancho (columnas)"
@@ -48,12 +48,3 @@ fr:
48
48
  afternoon: "Bon après-midi"
49
49
  evening: "Bonsoir"
50
50
  morning: "Bonjour"
51
- activerecord:
52
- attributes:
53
- lesli_dashboard/dashboard:
54
- name: "Nom"
55
- engine: "Module"
56
- default: "Par défaut"
57
- lesli_dashboard/component:
58
- component: "Widget"
59
- size: "Largeur (colonnes)"
@@ -48,12 +48,3 @@ it:
48
48
  afternoon: "Buon pomeriggio"
49
49
  evening: "Buonasera"
50
50
  morning: "Buongiorno"
51
- activerecord:
52
- attributes:
53
- lesli_dashboard/dashboard:
54
- name: "Nome"
55
- engine: "Modulo"
56
- default: "Predefinita"
57
- lesli_dashboard/component:
58
- component: "Widget"
59
- size: "Larghezza (colonne)"
@@ -48,12 +48,3 @@ pt:
48
48
  afternoon: "Boa tarde"
49
49
  evening: "Boa noite"
50
50
  morning: "Bom dia"
51
- activerecord:
52
- attributes:
53
- lesli_dashboard/dashboard:
54
- name: "Nome"
55
- engine: "Módulo"
56
- default: "Padrão"
57
- lesli_dashboard/component:
58
- component: "Widget"
59
- size: "Largura (colunas)"
@@ -1,4 +1,4 @@
1
1
  module LesliDashboard
2
- VERSION = "1.1.4"
3
- BUILD = "1794795981"
2
+ VERSION = "1.1.5"
3
+ BUILD = "1795132447"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-16 00:00:00.000000000 Z
11
+ date: 2026-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lesli
@@ -38,6 +38,7 @@ files:
38
38
  - app/assets/images/lesli_dashboard/dashboard-logo.svg
39
39
  - app/assets/javascripts/lesli_dashboard/application.js
40
40
  - app/assets/stylesheets/lesli_dashboard/application.css
41
+ - app/assets/stylesheets/lesli_dashboard/dashboard.css
41
42
  - app/controllers/lesli_dashboard/application_controller.rb
42
43
  - app/controllers/lesli_dashboard/components_controller.rb
43
44
  - app/controllers/lesli_dashboard/dashboards_controller.rb
@@ -71,10 +72,15 @@ files:
71
72
  - app/views/lesli_dashboard/dashboards/edit.html.erb
72
73
  - app/views/lesli_dashboard/dashboards/index.html.erb
73
74
  - app/views/lesli_dashboard/dashboards/new.html.erb
74
- - app/views/lesli_dashboard/dashboards/shared/_header.html.erb
75
- - app/views/lesli_dashboard/dashboards/shared/_navigation.html.erb
76
- - app/views/lesli_dashboard/dashboards/shared/show.html.erb
77
75
  - app/views/lesli_dashboard/dashboards/show.html.erb
76
+ - app/views/lesli_dashboard/shared/_header.html.erb
77
+ - app/views/lesli_dashboard/shared/_navigation.html.erb
78
+ - app/views/lesli_dashboard/shared/show.html.erb
79
+ - config/locales/activerecord.en.yml
80
+ - config/locales/activerecord.es.yml
81
+ - config/locales/activerecord.fr.yml
82
+ - config/locales/activerecord.it.yml
83
+ - config/locales/activerecord.pt.yml
78
84
  - config/locales/translations.en.yml
79
85
  - config/locales/translations.es.yml
80
86
  - config/locales/translations.fr.yml