csedl-stimulus-dropdown 1.0.1 → 1.1.1
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/lib/csedl_stimulus_dropdown/view_helpers.rb +4 -2
- 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: a72c399de475ce3872092d4a3d4ac187c6e4107f947c4f306dbda192f8042ef5
|
4
|
+
data.tar.gz: e43f9b5a77b322a369b6da080af6d1e504c85a69b18a4fabcf401e8f2b22685f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163daa1c386fff5ea813f7db2610085bc77ecb498a2b43464c2365057ae23a72af8bb8dcac9f92808744bb0a0c7a14f6c943da5ca38fff9e53c7348f1a7f30aa
|
7
|
+
data.tar.gz: 32d66dd81f4116872d1d50276c5ce516064940e5247a3f33bd4cafa524b6a9c303b523ff5830732c5b1901fe3d653e5e15a483df1b737fdb55cc928e39261021
|
@@ -36,7 +36,8 @@ module CsedlStimulusDropdown
|
|
36
36
|
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
37
37
|
|
38
38
|
panel_options = options.dup
|
39
|
-
panel_options[:class] = [options[:class], 'dropdown-panel
|
39
|
+
panel_options[:class] = [options[:class], 'dropdown-panel'].compact.join(' ')
|
40
|
+
panel_options[:style] = "display: none;"
|
40
41
|
panel_options[:id] = id
|
41
42
|
panel_options['data-src'] = src if src
|
42
43
|
close_btn_proc = StimulusDropdown.close_button_proc
|
@@ -100,8 +101,9 @@ module CsedlStimulusDropdown
|
|
100
101
|
# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
101
102
|
|
102
103
|
panel_options = options.dup
|
103
|
-
panel_options[:class] = [options[:class], 'tooltip-panel
|
104
|
+
panel_options[:class] = [options[:class], 'tooltip-panel'].compact.join(' ')
|
104
105
|
panel_options[:id] = id
|
106
|
+
panel_options[:style] = 'display: none;'
|
105
107
|
panel_options['data-src'] = src if src
|
106
108
|
|
107
109
|
panel_element = if block_given? && cont.present?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csedl-stimulus-dropdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Sedlmair
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: christian@sedlmair.ch
|