ariadne_view_components 0.0.28-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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f360469678a81323799a1a60d3380ee4971a3766657bae580afab0e5a68d0ba
|
4
|
+
data.tar.gz: 6877d08c9d10357da805aced2aae8f65884f0168713895a67d8300e8ce96bb08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 364d2aed90449a956f0c4ee1e6e7a4e06546fe2a27dcb81ac5f804f3a74f687242b371b502151e2b7a98dadc36c069eacad2e91619b223deb23c91054529c7c8
|
7
|
+
data.tar.gz: ca1f0b3ab63d33ef9a4019b0eaaa11aeec72c1baea20f9677382ef0e9c4cb829cc3ef08b1731cd8b9b89b3a45c44ed62fbe05fa222e1bf98723851ede3016590
|
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: aarch64-linux
|
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
|