ariadne_view_components 0.0.27-x86_64-linux → 0.0.29-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/app/components/ariadne/comment_component/comment_component.html.erb +3 -0
- data/app/components/ariadne/comment_component.rb +3 -1
- data/app/components/ariadne/rich_text_area_component/rich_text_area_component.html.erb +1 -1
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc6ed83f9a44753fd90b2b8a9ae677aa82b6e9499572f8f29ac48064e0a39eb0
|
4
|
+
data.tar.gz: bc09ad181c28aa2c03d33e10b79a6128ba5883a3d606be3d128b08bcd39302ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b18dfa530b1627078c14cbe3e1c8e7294c17defc81389ed421045eb861b7515bdfb2a27e1967d7ce6f316ead815b984bc54e8c9d54893752574a1aae20c4aa0a
|
7
|
+
data.tar.gz: 86436e686524a383c11f2769a29eac1479aac084621c54ebb08ad0ae52cf9803764d009b8d19417c450f2240729081c6aab34cef078349f9bbad92eec9c7ecd0
|
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 %>
|
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.
|
4
|
+
version: 0.0.29
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|