ariadne_view_components 0.0.27-x86_64-darwin → 0.0.29-x86_64-darwin

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: ce00aba1831386b11b70e1ea72ed7ad41cb8d4fafaff8e42faf61a3ae1634633
4
- data.tar.gz: d22785cc3881beafecc82f35d49dec07accdae25f2037b6ba8009f835c3bb61c
3
+ metadata.gz: 64c20457d41c35530bf3b347fa06a3bddc5b15074b1d95173c5dc0906484d690
4
+ data.tar.gz: 6538f903e68006c022baf7df469c7ee766875e24e88259d464aad35f0483bbcd
5
5
  SHA512:
6
- metadata.gz: faa3ce3c80b2630ddd3bcc3e1d060d8bcbbcfe89adfbe3e616e592d849b935c9908948034c176d73c979a1820468845517a27f0b5e1ed0a5cb2ad80d06ebc461
7
- data.tar.gz: 45554047bdf47bfa65ce81d88fa02a67d8d7dd8d6e0182b772e1924825024fe851a007b16f22126e2373e3b0e60b3454cd7cb464a3b7346b0495d8e76772769c
6
+ metadata.gz: ec381cad06b88cdf93b5b74f1a47da577af6b26dbb3b07c0401b4480fb375571d9f6b9e5d787ff3df2a118db85347271c318cf594699c313f9cd87ef6edb70ce
7
+ data.tar.gz: e4a7864ac8ac947fe9632bd5c1a81f91cf2c2d0055fd0b4adfdac4078563f33e281e1c3f1fbef91d6fd58a121ea1518baafac2b4b03133fde45b55d5fe204ded
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: x86_64-darwin
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