lesli_assets 1.0.3 → 1.0.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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/lesli_assets_manifest.js +4 -0
  3. data/app/assets/fonts/lesli_assets/MaterialDesign/symbols.woff +0 -0
  4. data/app/assets/javascripts/lesli_assets/application.js +19526 -1041
  5. data/app/assets/javascripts/lesli_assets/calendar.js +9749 -1
  6. data/app/assets/stylesheets/lesli_assets/templates/application.css +1 -1
  7. data/app/assets/stylesheets/lesli_assets/templates/public.css +1 -1
  8. data/app/assets/stylesheets/lesli_assets/templates/start.css +1 -1
  9. data/lib/lesli_assets/version.rb +2 -2
  10. data/lib/lesli_assets_js/calendar.js +88 -6
  11. data/lib/{lesli_assets_css → lesli_assets_styles}/fonts/families.scss +2 -2
  12. data/lib/lesli_assets_styles/fonts/mdsymbols.scss +65 -0
  13. data/lib/lesli_assets_styles/fonts/remixicons.scss +3082 -0
  14. data/lib/lesli_assets_styles/layouts/application-container.scss +52 -0
  15. data/lib/lesli_assets_styles/layouts/application-header.scss +74 -0
  16. data/lib/{lesli_assets_css/templates/dashboards.scss → lesli_assets_styles/layouts/application-navigation.scss} +28 -15
  17. data/lib/{lesli_assets_css → lesli_assets_styles}/settings/variables.scss +15 -14
  18. data/lib/{lesli_assets_css → lesli_assets_styles}/templates/application.scss +3 -2
  19. data/lib/{lesli_assets_css/layouts/application-container.scss → lesli_assets_styles/templates/dashboards.scss} +2 -7
  20. data/lib/{lesli_assets_css → lesli_assets_styles}/templates/public.scss +2 -1
  21. metadata +26 -25
  22. data/lib/lesli_assets_css/fonts/remixicons.scss +0 -3083
  23. data/lib/lesli_assets_css/layouts/application-engines.scss +0 -115
  24. data/lib/lesli_assets_css/layouts/application-header.scss +0 -104
  25. data/lib/lesli_assets_css/layouts/application-navigation.scss +0 -97
  26. /data/lib/{lesli_assets_css → lesli_assets_styles}/fonts/mdicons.scss +0 -0
  27. /data/lib/{lesli_assets_css → lesli_assets_styles}/helpers/display.scss +0 -0
  28. /data/lib/{lesli_assets_css → lesli_assets_styles}/helpers/tooltip.scss +0 -0
  29. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-app.scss +0 -0
  30. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-component.scss +0 -0
  31. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-notification.scss +0 -0
  32. /data/lib/{lesli_assets_css → lesli_assets_styles}/layouts/application-sidebar.scss +0 -0
  33. /data/lib/{lesli_assets_css → lesli_assets_styles}/pages/invites.scss +0 -0
  34. /data/lib/{lesli_assets_css → lesli_assets_styles}/shared/workflow-status-progress.scss +0 -0
  35. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/component.scss +0 -0
  36. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/empty.scss +0 -0
  37. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/pdf.scss +0 -0
  38. /data/lib/{lesli_assets_css → lesli_assets_styles}/templates/start.scss +0 -0
@@ -0,0 +1,52 @@
1
+ /*
2
+
3
+ Lesli
4
+
5
+ Copyright (c) 2023, Lesli Technologies, S. A.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see http://www.gnu.org/licenses/.
19
+
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
+
22
+ Made with ♥ by https://www.lesli.tech
23
+ Building a better future, one line of code at a time.
24
+
25
+ @contact hello@lesli.tech
26
+ @website https://www.lesli.tech
27
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
+
29
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // ·
31
+ */
32
+
33
+
34
+ // ·
35
+ @use "lesli-css" as lesli;
36
+
37
+
38
+ // ·
39
+ section.lesli-application-container,
40
+ turbo-frame.lesli-application-container {
41
+ padding: 1rem;
42
+ }
43
+
44
+
45
+ // ·
46
+ @include lesli.lesli-breakpoint-desktop {
47
+ section.lesli-application-container,
48
+ turbo-frame.lesli-application-container {
49
+ padding-left: 0rem;
50
+ padding-right: 0rem;
51
+ }
52
+ }
@@ -0,0 +1,74 @@
1
+ /*
2
+
3
+ Lesli
4
+
5
+ Copyright (c) 2025, Lesli Technologies, S. A.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see http://www.gnu.org/licenses/.
19
+
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
+
22
+ Made with ♥ by LesliTech
23
+ Building a better future, one line of code at a time.
24
+
25
+ @contact hello@lesli.tech
26
+ @website https://www.lesli.tech
27
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
+
29
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // ·
31
+ */
32
+
33
+
34
+ // ·
35
+ @use "lesli-css" as lesli;
36
+
37
+
38
+ // Override bulma navbar height
39
+ :root {
40
+ --bulma-navbar-height: var(--lesli-header-height)
41
+ }
42
+
43
+
44
+ // ·
45
+ header.lesli-application-header {
46
+ background-color: var(--lesli-header-color);
47
+ border-bottom: 1px solid rgba(172,179,194,.5);
48
+
49
+ // Fix the size of the main logo
50
+ .navbar-brand {
51
+ .navbar-item:hover {
52
+ background-color: transparent;
53
+ }
54
+ img {
55
+ height: 100px;
56
+ max-height: 50px;
57
+ }
58
+ }
59
+
60
+ // navigation icons
61
+ .navbar-item {
62
+ padding-left: 4px;
63
+ padding-right: 4px;
64
+ [class^="ri-"] {
65
+ font-size: 24px;
66
+ padding: 0 0.6rem;
67
+ color: lesli.lesli-color(slate, 900);
68
+ }
69
+
70
+ a:hover span {
71
+ color: var(--lesli-color-primary);
72
+ }
73
+ }
74
+ }
@@ -32,20 +32,33 @@ Building a better future, one line of code at a time.
32
32
 
33
33
 
34
34
  // ·
35
- // @import "lesli-css";
35
+ @use "lesli-css/sass/color";
36
36
 
37
37
 
38
- // // · Configuration & variables
39
- // @import "Lesli/scss/settings/variables";
40
-
41
-
42
- // // ·
43
- // aside.lesli-application-sidebar {
44
- // display: none !important;
45
- // }
46
-
47
-
48
- // // ·
49
- // .lesli-empty {
50
- // padding: 8rem 0;
51
- // }
38
+ // ·
39
+ nav.lesli-application-navigation {
40
+ background-color: var(--lesli-navbar-color);
41
+ border-bottom: 1px solid rgba(172,179,194,.5);
42
+
43
+ .navbar-item {
44
+ padding: 0;
45
+
46
+ a {
47
+ height: 100%;
48
+ display: flex;
49
+ align-items: center;
50
+ padding-left: 2rem;
51
+ padding-right: 2rem;
52
+ transition: all linear .2s;
53
+
54
+ &:hover {
55
+ color: color.lesli-color(slate, 700);
56
+ }
57
+ }
58
+
59
+ [class^="ri-"] {
60
+ font-size: 20px;
61
+ margin-right: 6px;
62
+ }
63
+ }
64
+ }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  Lesli
3
3
 
4
- Copyright (c) 2023, Lesli Technologies, S. A.
4
+ Copyright (c) 2025, Lesli Technologies, S. A.
5
5
 
6
6
  This program is free software: you can redistribute it and/or modify
7
7
  it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
18
18
 
19
19
  Lesli · Ruby on Rails SaaS Development Framework.
20
20
 
21
- Made with ♥ by https://www.lesli.tech
21
+ Made with ♥ by LesliTech
22
22
  Building a better future, one line of code at a time.
23
23
 
24
24
  @contact hello@lesli.tech
@@ -29,12 +29,14 @@ Building a better future, one line of code at a time.
29
29
  // ·
30
30
  */
31
31
 
32
- @use "lesli-css/sass/helpers/breakpoint";
32
+
33
+ // ·
34
+ @use "lesli-css" as lesli;
35
+
33
36
 
34
37
  // · Layout
35
38
  $lesli-font-size: 16px !default;
36
- $lesli-header-height: 70px !default;
37
- $lesli-navbar-height: 66px !default;
39
+ $lesli-header-height: 65px !default;
38
40
  $lesli-footer-height: 84px !default;
39
41
  $lesli-sidebar-width: 50px !default;
40
42
 
@@ -51,7 +53,7 @@ $lesli-color-background: #f8f4f4 !default;
51
53
 
52
54
 
53
55
  // · To understand more about customization go to:
54
- // · https://www.lesli.dev/documentation/design/20-theme
56
+ // · https://www.lesli.dev/engines/lesli/theming/
55
57
 
56
58
 
57
59
 
@@ -85,9 +87,6 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
85
87
 
86
88
  --lesli-header-color: var(--lesli-theme-header-color, #{$lesli-header-color});
87
89
  --lesli-header-height: var(--lesli-theme-header-height, #{$lesli-header-height});
88
-
89
- --lesli-navbar-color: var(--lesli-theme-navbar-color, #{$lesli-navbar-color});
90
- --lesli-navbar-height: var(--lesli-theme-navbar-height, #{$lesli-navbar-height});
91
90
 
92
91
  --lesli-footer-color: var(--lesli-theme-footer-color, #{$lesli-footer-color});
93
92
  --lesli-footer-height: var(--lesli-theme-footer-height, #{$lesli-footer-height});
@@ -95,6 +94,8 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
95
94
  --lesli-sidebar-color: var(--lesli-theme-sidebar-color, #{$lesli-sidebar-color});
96
95
  --lesli-sidebar-width: var(--lesli-theme-sidebar-width, #{$lesli-sidebar-width});
97
96
 
97
+ --lesli-navbar-color: var(--lesli-theme-navbar-color, #{$lesli-navbar-color});
98
+
98
99
  --lesli-logo-color: var(--lesli-theme-logo-color, #{$lesli-logo-color});
99
100
 
100
101
  --lesli-font-size: var(--lesli-theme-font-size, #{$lesli-font-size});
@@ -104,7 +105,7 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
104
105
 
105
106
 
106
107
  // Mobile Up to 768px
107
- @include breakpoint.lesli-breakpoint-mobile {
108
+ @include lesli.lesli-breakpoint-mobile {
108
109
  :root {
109
110
  --lesli-sidebar-width: 50px;
110
111
  }
@@ -112,7 +113,7 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
112
113
 
113
114
 
114
115
  // Tablet Between 769px and 1023px
115
- @include breakpoint.lesli-breakpoint-tablet {
116
+ @include lesli.lesli-breakpoint-tablet {
116
117
  :root {
117
118
  --lesli-sidebar-width: 100px;
118
119
  }
@@ -120,7 +121,7 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
120
121
 
121
122
 
122
123
  // Desktop Between 1024px and 1215px
123
- @include breakpoint.lesli-breakpoint-desktop {
124
+ @include lesli.lesli-breakpoint-desktop {
124
125
  :root {
125
126
  --lesli-sidebar-width: 200px;
126
127
  }
@@ -128,7 +129,7 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
128
129
 
129
130
 
130
131
  // Widescreen Between 1216px and 1407px
131
- @include breakpoint.lesli-breakpoint-widescreen {
132
+ @include lesli.lesli-breakpoint-widescreen {
132
133
  :root {
133
134
  --lesli-sidebar-width: 225px;
134
135
  }
@@ -136,7 +137,7 @@ $family-primary: "OpenSans", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", s
136
137
 
137
138
 
138
139
  // Widescreen Between 1216px and 1407px
139
- @include breakpoint.lesli-breakpoint-fullhd {
140
+ @include lesli.lesli-breakpoint-fullhd {
140
141
  :root {
141
142
  --lesli-sidebar-width: 328px;
142
143
  }
@@ -57,8 +57,10 @@ Building a better future, one line of code at a time.
57
57
 
58
58
  // · Font families and icons
59
59
  @use "../fonts/remixicons";
60
+ @use "../fonts/mdsymbols";
60
61
  @use "../fonts/families";
61
- @use "../fonts/mdicons";
62
+ //@use "../fonts/mdicons";
63
+
62
64
 
63
65
 
64
66
  // · Lesli application layout
@@ -66,7 +68,6 @@ Building a better future, one line of code at a time.
66
68
  @use "../layouts/application-navigation";
67
69
  @use "../layouts/application-component";
68
70
  @use "../layouts/application-container";
69
- @use "../layouts/application-engines";
70
71
  @use "../layouts/application-sidebar";
71
72
  @use "../layouts/application-header";
72
73
  @use "../layouts/application-app";
@@ -2,7 +2,7 @@
2
2
 
3
3
  Lesli
4
4
 
5
- Copyright (c) 2023, Lesli Technologies, S. A.
5
+ Copyright (c) 2025, Lesli Technologies, S. A.
6
6
 
7
7
  This program is free software: you can redistribute it and/or modify
8
8
  it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@ along with this program. If not, see http://www.gnu.org/licenses/.
19
19
 
20
20
  Lesli · Ruby on Rails SaaS Development Framework.
21
21
 
22
- Made with ♥ by https://www.lesli.tech
22
+ Made with ♥ by LesliTech
23
23
  Building a better future, one line of code at a time.
24
24
 
25
25
  @contact hello@lesli.tech
@@ -29,8 +29,3 @@ Building a better future, one line of code at a time.
29
29
  // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
30
  // ·
31
31
  */
32
-
33
- section.lesli-application-container,
34
- turbo-frame.lesli-application-container {
35
- padding: 1rem;
36
- }
@@ -46,7 +46,8 @@ Building a better future, one line of code at a time.
46
46
 
47
47
  // · Font families and icons
48
48
  @use "../fonts/families";
49
- @use "../fonts/mdicons";
49
+ @use "../fonts/mdsymbols";
50
+ //@use "../fonts/mdicons";
50
51
 
51
52
 
52
53
  // · Some home made helpers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.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: 2025-07-15 00:00:00.000000000 Z
11
+ date: 2025-08-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "LesliAssets provides shared frontend assets for the Lesli Framework,
14
14
  \nincluding stylesheets, JavaScript, images, icons, and reusable \nview partials.
@@ -25,6 +25,7 @@ files:
25
25
  - app/assets/fonts/lesli_assets/Domine/Domine-Variable.ttf
26
26
  - app/assets/fonts/lesli_assets/Domine/OFL.txt
27
27
  - app/assets/fonts/lesli_assets/MaterialDesign/icons.woff2
28
+ - app/assets/fonts/lesli_assets/MaterialDesign/symbols.woff
28
29
  - app/assets/fonts/lesli_assets/Montserrat/Montserrat-Variable.ttf
29
30
  - app/assets/fonts/lesli_assets/OpenSans/OpenSans-Variable.ttf
30
31
  - app/assets/fonts/lesli_assets/Remix/remixicon.eot
@@ -354,31 +355,31 @@ files:
354
355
  - lib/lesli_assets.rb
355
356
  - lib/lesli_assets/engine.rb
356
357
  - lib/lesli_assets/version.rb
357
- - lib/lesli_assets_css/fonts/families.scss
358
- - lib/lesli_assets_css/fonts/mdicons.scss
359
- - lib/lesli_assets_css/fonts/remixicons.scss
360
- - lib/lesli_assets_css/helpers/display.scss
361
- - lib/lesli_assets_css/helpers/tooltip.scss
362
- - lib/lesli_assets_css/layouts/application-app.scss
363
- - lib/lesli_assets_css/layouts/application-component.scss
364
- - lib/lesli_assets_css/layouts/application-container.scss
365
- - lib/lesli_assets_css/layouts/application-engines.scss
366
- - lib/lesli_assets_css/layouts/application-header.scss
367
- - lib/lesli_assets_css/layouts/application-navigation.scss
368
- - lib/lesli_assets_css/layouts/application-notification.scss
369
- - lib/lesli_assets_css/layouts/application-sidebar.scss
370
- - lib/lesli_assets_css/pages/invites.scss
371
- - lib/lesli_assets_css/settings/variables.scss
372
- - lib/lesli_assets_css/shared/workflow-status-progress.scss
373
- - lib/lesli_assets_css/templates/application.scss
374
- - lib/lesli_assets_css/templates/component.scss
375
- - lib/lesli_assets_css/templates/dashboards.scss
376
- - lib/lesli_assets_css/templates/empty.scss
377
- - lib/lesli_assets_css/templates/pdf.scss
378
- - lib/lesli_assets_css/templates/public.scss
379
- - lib/lesli_assets_css/templates/start.scss
380
358
  - lib/lesli_assets_js/application.js
381
359
  - lib/lesli_assets_js/calendar.js
360
+ - lib/lesli_assets_styles/fonts/families.scss
361
+ - lib/lesli_assets_styles/fonts/mdicons.scss
362
+ - lib/lesli_assets_styles/fonts/mdsymbols.scss
363
+ - lib/lesli_assets_styles/fonts/remixicons.scss
364
+ - lib/lesli_assets_styles/helpers/display.scss
365
+ - lib/lesli_assets_styles/helpers/tooltip.scss
366
+ - lib/lesli_assets_styles/layouts/application-app.scss
367
+ - lib/lesli_assets_styles/layouts/application-component.scss
368
+ - lib/lesli_assets_styles/layouts/application-container.scss
369
+ - lib/lesli_assets_styles/layouts/application-header.scss
370
+ - lib/lesli_assets_styles/layouts/application-navigation.scss
371
+ - lib/lesli_assets_styles/layouts/application-notification.scss
372
+ - lib/lesli_assets_styles/layouts/application-sidebar.scss
373
+ - lib/lesli_assets_styles/pages/invites.scss
374
+ - lib/lesli_assets_styles/settings/variables.scss
375
+ - lib/lesli_assets_styles/shared/workflow-status-progress.scss
376
+ - lib/lesli_assets_styles/templates/application.scss
377
+ - lib/lesli_assets_styles/templates/component.scss
378
+ - lib/lesli_assets_styles/templates/dashboards.scss
379
+ - lib/lesli_assets_styles/templates/empty.scss
380
+ - lib/lesli_assets_styles/templates/pdf.scss
381
+ - lib/lesli_assets_styles/templates/public.scss
382
+ - lib/lesli_assets_styles/templates/start.scss
382
383
  - lib/lesli_assets_tailwind/tailwind.app.css
383
384
  - lib/lesli_assets_tailwind/tailwind.config.js
384
385
  - lib/lesli_assets_tailwind/tailwind.test.html