ariadne_view_components 0.0.27-x64-mingw32 → 0.0.29-x64-mingw32

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: ece3c798e2a7016ff911a8578d2699cefc41a468e6d3a4876d1e1e7b41b98688
4
- data.tar.gz: 2084926838661c53e7ab9c385f453bf4ad5e1e7c52a50cf58e5ffc3afe99f936
3
+ metadata.gz: 41f9114b9567099280de2b26264c2b01fcf12ac9bc344a72917a1d61bb0584d9
4
+ data.tar.gz: 267aca8ede123eff7df225e606d2a2c2d459477b86a52c3c8d8d40f8480b0e63
5
5
  SHA512:
6
- metadata.gz: c1211b67105387f360f1524c96e4724a1a1b84b4e21c97066f5c97c1a877a1de8afd236365987b66bde77e3f17e3beb9075ab1a9d1ef51a9f531511dca6c25f2
7
- data.tar.gz: 687bc503da1f4d97decdf3ea70560cb31d5b91edce84d4737d7b41db716972a41c8c335b31b858ef5897e4e54e8aeadfc9738263c68fb086bb70898868ec1666
6
+ metadata.gz: 02e83f39153073031ccb7d98a9ea020dee883ef3b5d8c93c7bb16bb6a6ba7c80e1c66639e30da439e80dbbcba21f883b00bfc8e7a6982c29a280a57ec3332e13
7
+ data.tar.gz: 3785940bef0843108a5b890c066cca147cac816317d306103f26e48e64001e27c275b03be253274d1cb5cfd12ac61a320b8a6a685cd102791bcea6b02b50e3bf
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-mingw32
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