ariadne_view_components 0.0.28-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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64c20457d41c35530bf3b347fa06a3bddc5b15074b1d95173c5dc0906484d690
|
4
|
+
data.tar.gz: 6538f903e68006c022baf7df469c7ee766875e24e88259d464aad35f0483bbcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec381cad06b88cdf93b5b74f1a47da577af6b26dbb3b07c0401b4480fb375571d9f6b9e5d787ff3df2a118db85347271c318cf594699c313f9cd87ef6edb70ce
|
7
|
+
data.tar.gz: e4a7864ac8ac947fe9632bd5c1a81f91cf2c2d0055fd0b4adfdac4078563f33e281e1c3f1fbef91d6fd58a121ea1518baafac2b4b03133fde45b55d5fe204ded
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
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
|
+
|
3
19
|
## [v0.0.28](https://github.com/yettoapp/ariadne/tree/v0.0.28) (2023-02-17)
|
4
20
|
|
5
21
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.27...v0.0.28)
|
@@ -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
|
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-darwin
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|