lesli_view 1.1.5 → 1.1.7

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -0
  3. data/app/assets/stylesheets/lesli_view/{view.tailwind.css → view.css} +303 -1522
  4. data/lib/lesli_view/components/header.html.erb +2 -2
  5. data/lib/lesli_view/components/panel.html.erb +44 -26
  6. data/lib/lesli_view/components/timeline.html.erb +38 -25
  7. data/lib/lesli_view/components/timeline.rb +18 -5
  8. data/lib/lesli_view/components/toolbar.css +12 -8
  9. data/lib/lesli_view/components/toolbar.html.erb +3 -1
  10. data/lib/lesli_view/elements/button.html.erb +2 -0
  11. data/lib/lesli_view/elements/button.rb +4 -0
  12. data/lib/lesli_view/forms/builder_horizontal.rb +4 -0
  13. data/lib/lesli_view/forms/fields.rb +14 -0
  14. data/lib/lesli_view/items/activities.html.erb +5 -1
  15. data/lib/lesli_view/items/activities.rb +111 -11
  16. data/lib/lesli_view/items/attachment.html.erb +45 -0
  17. data/lib/lesli_view/items/attachment.rb +63 -0
  18. data/lib/lesli_view/items/attachments.html.erb +69 -34
  19. data/lib/lesli_view/items/attachments.rb +38 -2
  20. data/lib/lesli_view/items/discussion.html.erb +7 -5
  21. data/lib/lesli_view/items/discussion.rb +26 -0
  22. data/lib/lesli_view/items/discussions.html.erb +32 -17
  23. data/lib/lesli_view/items/discussions.rb +27 -5
  24. data/lib/lesli_view/items/task.html.erb +15 -6
  25. data/lib/lesli_view/items/task.rb +14 -0
  26. data/lib/lesli_view/items/tasks.html.erb +28 -15
  27. data/lib/lesli_view/items/tasks.rb +27 -2
  28. data/lib/lesli_view/layout/navigation_sidebar.css +19 -0
  29. data/lib/lesli_view/layout/navigation_sidebar.html.erb +52 -0
  30. data/lib/lesli_view/layout/navigation_sidebar.rb +24 -0
  31. data/lib/lesli_view/version.rb +2 -2
  32. data/lib/lesli_view.rb +2 -0
  33. data/readme.md +5 -3
  34. metadata +15 -8
  35. data/lib/lesli_view/components/panel.scss +0 -37
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli_view
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-20 00:00:00.000000000 Z
11
+ date: 2026-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: view_component
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.15.0
19
+ version: 4.24.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.15.0
26
+ version: 4.24.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: lexxy
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,7 +48,7 @@ extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - Rakefile
51
- - app/assets/stylesheets/lesli_view/view.tailwind.css
51
+ - app/assets/stylesheets/lesli_view/view.css
52
52
  - lib/lesli_view.rb
53
53
  - lib/lesli_view/charts/bar.rb
54
54
  - lib/lesli_view/charts/general.html.erb
@@ -58,7 +58,6 @@ files:
58
58
  - lib/lesli_view/components/header.rb
59
59
  - lib/lesli_view/components/panel.html.erb
60
60
  - lib/lesli_view/components/panel.rb
61
- - lib/lesli_view/components/panel.scss
62
61
  - lib/lesli_view/components/tabs.html.erb
63
62
  - lib/lesli_view/components/tabs.rb
64
63
  - lib/lesli_view/components/timeline.html.erb
@@ -89,6 +88,8 @@ files:
89
88
  - lib/lesli_view/items/actions.rb
90
89
  - lib/lesli_view/items/activities.html.erb
91
90
  - lib/lesli_view/items/activities.rb
91
+ - lib/lesli_view/items/attachment.html.erb
92
+ - lib/lesli_view/items/attachment.rb
92
93
  - lib/lesli_view/items/attachments.html.erb
93
94
  - lib/lesli_view/items/attachments.rb
94
95
  - lib/lesli_view/items/discussion.html.erb
@@ -101,6 +102,9 @@ files:
101
102
  - lib/lesli_view/items/tasks.rb
102
103
  - lib/lesli_view/layout/container.html.erb
103
104
  - lib/lesli_view/layout/container.rb
105
+ - lib/lesli_view/layout/navigation_sidebar.css
106
+ - lib/lesli_view/layout/navigation_sidebar.html.erb
107
+ - lib/lesli_view/layout/navigation_sidebar.rb
104
108
  - lib/lesli_view/partials/engine_spec.html.erb
105
109
  - lib/lesli_view/partials/engine_spec.rb
106
110
  - lib/lesli_view/version.rb
@@ -118,7 +122,7 @@ files:
118
122
  - readme.md
119
123
  homepage: https://www.lesli.dev/
120
124
  licenses:
121
- - GPL-3.0
125
+ - GPL-3.0-or-later
122
126
  metadata:
123
127
  homepage_uri: https://www.lesli.dev/
124
128
  changelog_uri: https://github.com/LesliTech/LesliView/releases
@@ -133,7 +137,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
133
137
  requirements:
134
138
  - - ">="
135
139
  - !ruby/object:Gem::Version
136
- version: '0'
140
+ version: '3.3'
141
+ - - "<"
142
+ - !ruby/object:Gem::Version
143
+ version: '4.0'
137
144
  required_rubygems_version: !ruby/object:Gem::Requirement
138
145
  requirements:
139
146
  - - ">="
@@ -1,37 +0,0 @@
1
-
2
- @use "lesli-css/sass/color";
3
- @use "lesli-css/sass/layout/scrollbar";
4
-
5
-
6
- section.lesli-panel {
7
-
8
- div.lesli-panel-background {
9
- position: fixed;
10
- z-index: 38;
11
- height: 100%;
12
- width: 100%;
13
- top: 0;
14
- left: 0;
15
- &.overlay {
16
- background: rgba(230, 230, 230, .5);
17
- }
18
- }
19
-
20
- div.lesli-panel-container {
21
- background-color: white;
22
- position: fixed;
23
- z-index: 40;
24
- right: 0;
25
- top: 0;
26
- width: 600px;
27
- height: 100%;
28
- overflow-y: scroll;
29
-
30
- @include scrollbar.lesli-scrollbar(hide);
31
-
32
- .lesli-panel-header {
33
- padding: 1rem 1rem .6rem;
34
- border-bottom: 1px solid color.lesli-color(slate);
35
- }
36
- }
37
- }