plutonium 0.60.4 → 0.60.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 +4 -4
- data/.yarnrc.yml +7 -0
- data/CHANGELOG.md +9 -0
- data/lib/plutonium/ui/display/components/attachment.rb +2 -2
- data/lib/plutonium/ui/form/components/uppy.rb +2 -2
- data/lib/plutonium/version.rb +1 -1
- data/package.json +1 -1
- data/yarn.lock +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 004004c1342357f78b64e9ebc65c138438f3f84bad76c4f4af5c6875d7200821
|
|
4
|
+
data.tar.gz: 2e4fa5789c30c0bb39227b7ce9577f95eaf6166d116ec9670f23735a269c9a9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36909e8c72456b74db2d941331b8bfb54dba04925ab53365bf188978dad45a9d699aabb6c16892951dfe5000aa40cc97fd1df2102e8e07026456e65de0af2b3d
|
|
7
|
+
data.tar.gz: 1962eab914ff635d489a75f9bb7c06a69c0ac382128f79e6a5caeac368010d9af84b834a568e61597b1279297a7438ca79408f32f2116a09064b2f8b3a31a0dd
|
data/.yarnrc.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [0.60.5] - 2026-06-30
|
|
2
|
+
|
|
3
|
+
### 🐛 Bug Fixes
|
|
4
|
+
|
|
5
|
+
- *(ui)* Coerce ActiveStorage::Filename to String for HTML title attributes
|
|
6
|
+
|
|
7
|
+
### ⚙️ Miscellaneous Tasks
|
|
8
|
+
|
|
9
|
+
- Update yarn.lock and .yarnrc.yml after yarn install
|
|
1
10
|
## [0.60.4] - 2026-06-15
|
|
2
11
|
|
|
3
12
|
### 🚀 Features
|
|
@@ -14,7 +14,7 @@ module Plutonium
|
|
|
14
14
|
|
|
15
15
|
div(
|
|
16
16
|
class: "p-2 w-full",
|
|
17
|
-
title: attachment.filename,
|
|
17
|
+
title: attachment.filename.to_s,
|
|
18
18
|
data: {
|
|
19
19
|
controller: "attachment-preview",
|
|
20
20
|
attachment_preview_mime_type_value: attachment.content_type,
|
|
@@ -63,7 +63,7 @@ module Plutonium
|
|
|
63
63
|
return if attributes[:caption] == false
|
|
64
64
|
|
|
65
65
|
div(class: "w-full p-2 text-sm text-[var(--pu-text-muted)] truncate text-center") do
|
|
66
|
-
caption = attributes[:caption] || attachment.filename
|
|
66
|
+
caption = attributes[:caption] || attachment.filename.to_s
|
|
67
67
|
a(
|
|
68
68
|
href: attachment.url,
|
|
69
69
|
class: "hover:text-primary-600 dark:hover:text-primary-400 transition-colors duration-200",
|
|
@@ -75,7 +75,7 @@ module Plutonium
|
|
|
75
75
|
attachment_preview_thumbnail_url_value: attachment_thumbnail_url(attachment),
|
|
76
76
|
attachment_preview_target: "thumbnail"
|
|
77
77
|
},
|
|
78
|
-
title: attachment.filename
|
|
78
|
+
title: attachment.filename.to_s
|
|
79
79
|
) do
|
|
80
80
|
# Hidden field to preserve the uploaded file
|
|
81
81
|
input(type: :hidden, name: input_name, multiple: attributes[:multiple], value: attachment.signed_id, autocomplete: "off", hidden: true)
|
|
@@ -111,7 +111,7 @@ module Plutonium
|
|
|
111
111
|
def render_filename(attachment)
|
|
112
112
|
div(
|
|
113
113
|
class: "px-2 py-1.5 text-sm text-[var(--pu-text-muted)] border-t border-[var(--pu-border)] truncate text-center bg-[var(--pu-surface)]",
|
|
114
|
-
title: attachment.filename
|
|
114
|
+
title: attachment.filename.to_s
|
|
115
115
|
) do
|
|
116
116
|
plain attachment.filename.to_s
|
|
117
117
|
end
|
data/lib/plutonium/version.rb
CHANGED
data/package.json
CHANGED
data/yarn.lock
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plutonium
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.60.
|
|
4
|
+
version: 0.60.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stefan Froelich
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-06-
|
|
10
|
+
date: 2026-06-30 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: zeitwerk
|