kithe 2.15.1 → 2.16.0

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: db54257ac9bfcbf8907af9fd6a859a528b8772b62316c4d124314c2ab4a5828d
4
- data.tar.gz: 655706b8554e5a001eec8e2b79b591c3ccf0f4e71b7c48a3d7701aa9861a9148
3
+ metadata.gz: ab5645f9d91b50b696549832f856cbf71513277a60061355fb8a0a222d60a3e9
4
+ data.tar.gz: ed4b468d9b54650893feec779c392aaaaaff68b39d85e204dc0586f63235d381
5
5
  SHA512:
6
- metadata.gz: 3f890a25210f673751a2d89f127a0b3b6d4bf1ca5d9aab184c4cdf4c51787eae157ccf6ab7a32bc92321b39c27a8c6666f6362e51a3f5440431619e518958ef6
7
- data.tar.gz: 4198d3dd5eed7f59e4c7a202c06ba365d90e9c3daefa73b55ca6347c7746406fd77dd69c2dd9b55cd173af04be77861deeff4798405803d7297d62af9fce2126
6
+ metadata.gz: 4735e34556bad2004975cfef891eb87f597d3a2b7b32c6b8b3a154b1b363ba1c54a353481691215542ecfb02e3b63b212ae3a648e230ef83a1dba56da269285c
7
+ data.tar.gz: 7b882426a155de5afb191af8accdfa36fa6194c768aff83759823e3d9ffb9d5d66c1a6974c575a91153f30e3797b6a8e9bec59500357a1fa3a460e00440be5c5
@@ -175,8 +175,11 @@ class Kithe::RepeatableInputGenerator
175
175
  # Wraps with the proper DOM for cocooon JS, along with the remove button.
176
176
  # @yield pass block with content to wrap
177
177
  def wrap_with_repeatable_ui
178
- # cocoon JS wants "nested-fields"
179
- template.content_tag(:div, class: "nested-fields form-row") do
178
+ # * cocoon JS wants "nested-fields"
179
+ # * 'row' and is for bootstrap 5 -- but doens't mess up bootstrap 4 because
180
+ # conveniently the 'form-row' ends up taking precedence.
181
+ # * form-row is for bootstrap 4. Doesn't exist in bootstrap 5.
182
+ template.content_tag(:div, class: "nested-fields form-row row") do
180
183
  template.content_tag(:div, class: "col") do
181
184
  yield
182
185
  end +
data/lib/kithe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kithe
2
- VERSION = '2.15.1'
2
+ VERSION = '2.16.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kithe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.1
4
+ version: 2.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-19 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '6.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8.0'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '6.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: attr_json
35
35
  requirement: !ruby/object:Gem::Requirement