ariadne_view_components 0.0.27-aarch64-linux → 0.0.29-aarch64-linux

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: '09a25dab7d432e33bd4074078ea62e66e70c09194e9a17f997460a183968b962'
4
- data.tar.gz: 728bce6068107f8cb52ed5c268dd8b1bb36a55676dcc9746d472ae5929bca217
3
+ metadata.gz: 8f360469678a81323799a1a60d3380ee4971a3766657bae580afab0e5a68d0ba
4
+ data.tar.gz: 6877d08c9d10357da805aced2aae8f65884f0168713895a67d8300e8ce96bb08
5
5
  SHA512:
6
- metadata.gz: 72e02609d7be92484b70bbe3643a56f6b58568449c287ea47e1e45b6950e7d33e60d097e7182eba9506c33b59809b90136b6f65db720d361cf30c754833803fc
7
- data.tar.gz: b84411155873b37c3ba1af389bf3b42026df76d5fada2bbb500b3fa1edc6d564d75394e35689b3b9e6978a580169ee83c4f4bacfc7241ec4f8385f5f4340cbfa
6
+ metadata.gz: 364d2aed90449a956f0c4ee1e6e7a4e06546fe2a27dcb81ac5f804f3a74f687242b371b502151e2b7a98dadc36c069eacad2e91619b223deb23c91054529c7c8
7
+ data.tar.gz: ca1f0b3ab63d33ef9a4019b0eaaa11aeec72c1baea20f9677382ef0e9c4cb829cc3ef08b1731cd8b9b89b3a45c44ed62fbe05fa222e1bf98723851ede3016590
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: aarch64-linux
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