ariadne_view_components 0.0.27-x64-mingw-ucrt → 0.0.29-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b5277f6d5a74ceeb848fb952676eabba9f9a18067bcfa04e355ab2ccdd6f720
4
- data.tar.gz: 62181785824c3a860b8e92d07f9a34fc31740f52426e7a2c50ef501a5b0b0c3d
3
+ metadata.gz: b4c8b30406df040864b69eab846a3b2ebaa30481188a2504f703504b6e1ff059
4
+ data.tar.gz: b4f02ed44014794ec746ea3504161ab7663ad29909f1e72c6ba4694f8201e31a
5
5
  SHA512:
6
- metadata.gz: c9d742066f22b0f8aa6a505e79f610d4add0ae86baf2f37f362c8b829f560810a753eb34619833004d705bdf8d3fa9bf17e8eb6f8221007f2a119535601d345e
7
- data.tar.gz: a158b60863310d7a59b3edc4005a39a0f8e870c519ad5a7b015fad23813125d6a9cd438facea5e74decb883c4ad34b034ab3204e9994bd33f02dfcef0f8d8df7
6
+ metadata.gz: 84f9b5bf6ec7f8f86b23a7b076c7b39bef382dfd93448d83ebe0cc4b838b8cff2e653a2b8074f28cc628b77ed1c243cf3b242744ed66c1c4a583ff808a000333
7
+ data.tar.gz: 210612f1eb387cee8273964ff30ca62c157ec01e6ae024d193c632316b20f8c1cf6ed59ae2d1e719b2e9abc8276aab8c2a8f348488c28699b03c9b2dccfe70f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.29](https://github.com/yettoapp/ariadne/tree/v0.0.29) (2023-02-21)
4
+
5
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.28...v0.0.29)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Add ability to add hidden tags to commentcomponent [\#152](https://github.com/yettoapp/ariadne/pull/152) ([gjtorikian](https://github.com/gjtorikian))
10
+ - Bump @tiptap/core from 2.0.0-beta.217 to 2.0.0-beta.218 [\#151](https://github.com/yettoapp/ariadne/pull/151) ([dependabot[bot]](https://github.com/apps/dependabot))
11
+ - Bump @tiptap/extension-history from 2.0.0-beta.217 to 2.0.0-beta.218 [\#150](https://github.com/yettoapp/ariadne/pull/150) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.217 to 2.0.0-beta.218 [\#149](https://github.com/yettoapp/ariadne/pull/149) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.217 to 2.0.0-beta.218 [\#148](https://github.com/yettoapp/ariadne/pull/148) ([dependabot[bot]](https://github.com/apps/dependabot))
14
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.217 to 2.0.0-beta.218 [\#147](https://github.com/yettoapp/ariadne/pull/147) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.217 to 2.0.0-beta.218 [\#146](https://github.com/yettoapp/ariadne/pull/146) ([dependabot[bot]](https://github.com/apps/dependabot))
16
+ - Bump @tiptap/extension-document from 2.0.0-beta.217 to 2.0.0-beta.218 [\#145](https://github.com/yettoapp/ariadne/pull/145) ([dependabot[bot]](https://github.com/apps/dependabot))
17
+ - Bump @tiptap/extension-text from 2.0.0-beta.217 to 2.0.0-beta.218 [\#144](https://github.com/yettoapp/ariadne/pull/144) ([dependabot[bot]](https://github.com/apps/dependabot))
18
+
19
+ ## [v0.0.28](https://github.com/yettoapp/ariadne/tree/v0.0.28) (2023-02-17)
20
+
21
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.27...v0.0.28)
22
+
23
+ **Merged pull requests:**
24
+
25
+ - Set name attribute [\#143](https://github.com/yettoapp/ariadne/pull/143) ([gjtorikian](https://github.com/gjtorikian))
26
+ - Bump stimulus-use from 0.51.3 to 0.52.0 [\#142](https://github.com/yettoapp/ariadne/pull/142) ([dependabot[bot]](https://github.com/apps/dependabot))
27
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.213 to 2.0.0-beta.217 [\#141](https://github.com/yettoapp/ariadne/pull/141) ([dependabot[bot]](https://github.com/apps/dependabot))
28
+ - Bump @tiptap/core from 2.0.0-beta.213 to 2.0.0-beta.217 [\#140](https://github.com/yettoapp/ariadne/pull/140) ([dependabot[bot]](https://github.com/apps/dependabot))
29
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.213 to 2.0.0-beta.217 [\#139](https://github.com/yettoapp/ariadne/pull/139) ([dependabot[bot]](https://github.com/apps/dependabot))
30
+ - Bump @tiptap/extension-document from 2.0.0-beta.213 to 2.0.0-beta.217 [\#138](https://github.com/yettoapp/ariadne/pull/138) ([dependabot[bot]](https://github.com/apps/dependabot))
31
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.213 to 2.0.0-beta.217 [\#137](https://github.com/yettoapp/ariadne/pull/137) ([dependabot[bot]](https://github.com/apps/dependabot))
32
+ - Bump @tiptap/extension-history from 2.0.0-beta.213 to 2.0.0-beta.217 [\#136](https://github.com/yettoapp/ariadne/pull/136) ([dependabot[bot]](https://github.com/apps/dependabot))
33
+ - Bump @tiptap/extension-text from 2.0.0-beta.213 to 2.0.0-beta.217 [\#135](https://github.com/yettoapp/ariadne/pull/135) ([dependabot[bot]](https://github.com/apps/dependabot))
34
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.213 to 2.0.0-beta.217 [\#134](https://github.com/yettoapp/ariadne/pull/134) ([dependabot[bot]](https://github.com/apps/dependabot))
35
+ - Bump @tiptap/extension-document from 2.0.0-beta.212 to 2.0.0-beta.213 [\#133](https://github.com/yettoapp/ariadne/pull/133) ([dependabot[bot]](https://github.com/apps/dependabot))
36
+ - Bump @tiptap/extension-history from 2.0.0-beta.212 to 2.0.0-beta.213 [\#132](https://github.com/yettoapp/ariadne/pull/132) ([dependabot[bot]](https://github.com/apps/dependabot))
37
+ - Bump @tiptap/core from 2.0.0-beta.212 to 2.0.0-beta.213 [\#131](https://github.com/yettoapp/ariadne/pull/131) ([dependabot[bot]](https://github.com/apps/dependabot))
38
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.212 to 2.0.0-beta.213 [\#130](https://github.com/yettoapp/ariadne/pull/130) ([dependabot[bot]](https://github.com/apps/dependabot))
39
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.212 to 2.0.0-beta.213 [\#129](https://github.com/yettoapp/ariadne/pull/129) ([dependabot[bot]](https://github.com/apps/dependabot))
40
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.212 to 2.0.0-beta.213 [\#128](https://github.com/yettoapp/ariadne/pull/128) ([dependabot[bot]](https://github.com/apps/dependabot))
41
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.212 to 2.0.0-beta.213 [\#127](https://github.com/yettoapp/ariadne/pull/127) ([dependabot[bot]](https://github.com/apps/dependabot))
42
+ - Bump @tiptap/extension-text from 2.0.0-beta.212 to 2.0.0-beta.213 [\#126](https://github.com/yettoapp/ariadne/pull/126) ([dependabot[bot]](https://github.com/apps/dependabot))
43
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.209 to 2.0.0-beta.212 [\#125](https://github.com/yettoapp/ariadne/pull/125) ([dependabot[bot]](https://github.com/apps/dependabot))
44
+ - Bump @tiptap/extension-document from 2.0.0-beta.209 to 2.0.0-beta.212 [\#124](https://github.com/yettoapp/ariadne/pull/124) ([dependabot[bot]](https://github.com/apps/dependabot))
45
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.209 to 2.0.0-beta.212 [\#123](https://github.com/yettoapp/ariadne/pull/123) ([dependabot[bot]](https://github.com/apps/dependabot))
46
+ - Bump @tiptap/extension-history from 2.0.0-beta.209 to 2.0.0-beta.212 [\#122](https://github.com/yettoapp/ariadne/pull/122) ([dependabot[bot]](https://github.com/apps/dependabot))
47
+ - Bump @tiptap/core from 2.0.0-beta.209 to 2.0.0-beta.212 [\#121](https://github.com/yettoapp/ariadne/pull/121) ([dependabot[bot]](https://github.com/apps/dependabot))
48
+ - Bump @tiptap/extension-text from 2.0.0-beta.209 to 2.0.0-beta.212 [\#120](https://github.com/yettoapp/ariadne/pull/120) ([dependabot[bot]](https://github.com/apps/dependabot))
49
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.209 to 2.0.0-beta.212 [\#119](https://github.com/yettoapp/ariadne/pull/119) ([dependabot[bot]](https://github.com/apps/dependabot))
50
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.209 to 2.0.0-beta.212 [\#118](https://github.com/yettoapp/ariadne/pull/118) ([dependabot[bot]](https://github.com/apps/dependabot))
51
+ - Bump stimulus-use from 0.51.2 to 0.51.3 [\#117](https://github.com/yettoapp/ariadne/pull/117) ([dependabot[bot]](https://github.com/apps/dependabot))
52
+ - Bump stimulus-use from 0.51.1 to 0.51.2 [\#116](https://github.com/yettoapp/ariadne/pull/116) ([dependabot[bot]](https://github.com/apps/dependabot))
53
+ - Bump lit-html from 2.6.0 to 2.6.1 [\#115](https://github.com/yettoapp/ariadne/pull/115) ([dependabot[bot]](https://github.com/apps/dependabot))
54
+ - Bump lit-html from 2.5.0 to 2.6.0 [\#114](https://github.com/yettoapp/ariadne/pull/114) ([dependabot[bot]](https://github.com/apps/dependabot))
55
+
3
56
  ## [v0.0.27](https://github.com/yettoapp/ariadne/tree/v0.0.27) (2022-12-22)
4
57
 
5
58
  [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.26...v0.0.27)
@@ -4,6 +4,9 @@
4
4
  <% tab.text { @public_tab_text } %>
5
5
  <% tab.panel(attributes: {:"data-public" => true}) do %>
6
6
  <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %>
7
+ <% @hidden_fields.each do |name, value| %>
8
+ <%= hidden_field_tag name, value %>
9
+ <% end %>
7
10
  <div class="ariadne-overflow-hidden ariadne-border ariadne-border-slate-300 ariadne-shadow-sm">
8
11
  <%= hidden_field_tag 'message_is_public', true %>
9
12
  <%= render(Ariadne::RichTextAreaComponent.new(name: :message_public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
@@ -50,9 +50,10 @@ module Ariadne
50
50
  # @param url [String] The URL to take action against.
51
51
  # @param method [String] The method to use when submitting the form.
52
52
  # @param sr_label [String] A label to introduce these tabs for screen readers.
53
+ # @param hidden_fields [[String]] An array of arrays of additional (hidden) fields to add to the form.
53
54
  # @param classes [String] <%= link_to_classes_docs %>
54
55
  # @param attributes [Hash] <%= link_to_attributes_docs %>
55
- def initialize(url:, method: :post, sr_label:, classes: "", attributes: {})
56
+ def initialize(url:, method: :post, sr_label:, hidden_fields: [], classes: "", attributes: {})
56
57
  @tag = DEFAULT_TAG
57
58
  @classes = class_names(
58
59
  DEFAULT_CLASSES,
@@ -63,6 +64,7 @@ module Ariadne
63
64
  @sr_label = sr_label
64
65
 
65
66
  @tab_idx = -1
67
+ @hidden_fields = hidden_fields
66
68
  @attributes = attributes
67
69
  end
68
70
  end
@@ -2,5 +2,5 @@
2
2
  <% if @has_form %>
3
3
  <input type="hidden" data-tiptap-value-container=true name="<%= @name %>" id="<%= @name %>">
4
4
  <% end %>
5
- <div class="tiptap-editor" data-rich-text-area-component-target="editor"></div>
5
+ <div class="tiptap-editor" name="rich-text-area" data-rich-text-area-component-target="editor"></div>
6
6
  <% end %>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.27"
5
+ VERSION = "0.0.29"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ariadne_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.29
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge