ariadne_view_components 0.0.26-arm64-darwin → 0.0.27-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +57 -0
- data/app/components/ariadne/comment_component/comment_component.html.erb +4 -4
- data/app/components/ariadne/flash_component.rb +3 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/ariadne/view_components.rb +2 -2
- data/lib/tasks/docs.rake +1 -1
- data/static/constants.json +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f03f21b1787e3de326c17c0a4710689ed6d947f7113b64610642c3bac2ced05f
|
4
|
+
data.tar.gz: 6b7aedeb61ca75866f34690c38caa05d15e82f5a081864a9025127ad054a392e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dac5abe430064891f0da48f5141761c5a59da303512de720c28bf31ddd2477be4f60c9fc6ec3fc1dee8e2e0cc5cc68f8244434dbbf2e5993c2bdb9eb8080a09d
|
7
|
+
data.tar.gz: be5e08866e65989d5beccea4a01358a7135752c59bcb340ad91307f13569523ced8b896797053ea51f8e4ed10b6a9326b3c0edabc028b00ff299b33e2bb8ab1d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,62 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.0.27](https://github.com/yettoapp/ariadne/tree/v0.0.27) (2022-12-22)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.26...v0.0.27)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Change comment var names [\#113](https://github.com/yettoapp/ariadne/pull/113) ([gjtorikian](https://github.com/gjtorikian))
|
10
|
+
- Bump @tiptap/extension-paragraph from 2.0.0-beta.207 to 2.0.0-beta.209 [\#112](https://github.com/yettoapp/ariadne/pull/112) ([dependabot[bot]](https://github.com/apps/dependabot))
|
11
|
+
- Bump @tiptap/extension-text from 2.0.0-beta.207 to 2.0.0-beta.209 [\#111](https://github.com/yettoapp/ariadne/pull/111) ([dependabot[bot]](https://github.com/apps/dependabot))
|
12
|
+
- Bump @tiptap/extension-document from 2.0.0-beta.207 to 2.0.0-beta.209 [\#110](https://github.com/yettoapp/ariadne/pull/110) ([dependabot[bot]](https://github.com/apps/dependabot))
|
13
|
+
- Bump @rollup/plugin-replace from 5.0.1 to 5.0.2 [\#109](https://github.com/yettoapp/ariadne/pull/109) ([dependabot[bot]](https://github.com/apps/dependabot))
|
14
|
+
- Bump @tiptap/core from 2.0.0-beta.207 to 2.0.0-beta.209 [\#108](https://github.com/yettoapp/ariadne/pull/108) ([dependabot[bot]](https://github.com/apps/dependabot))
|
15
|
+
- Bump @tiptap/extension-history from 2.0.0-beta.207 to 2.0.0-beta.209 [\#107](https://github.com/yettoapp/ariadne/pull/107) ([dependabot[bot]](https://github.com/apps/dependabot))
|
16
|
+
- Bump @tiptap/extension-gapcursor from 2.0.0-beta.207 to 2.0.0-beta.209 [\#106](https://github.com/yettoapp/ariadne/pull/106) ([dependabot[bot]](https://github.com/apps/dependabot))
|
17
|
+
- Bump @tiptap/extension-hard-break from 2.0.0-beta.207 to 2.0.0-beta.209 [\#105](https://github.com/yettoapp/ariadne/pull/105) ([dependabot[bot]](https://github.com/apps/dependabot))
|
18
|
+
- Bump @tiptap/extension-dropcursor from 2.0.0-beta.207 to 2.0.0-beta.209 [\#104](https://github.com/yettoapp/ariadne/pull/104) ([dependabot[bot]](https://github.com/apps/dependabot))
|
19
|
+
- Bump lit-html from 2.4.0 to 2.5.0 [\#102](https://github.com/yettoapp/ariadne/pull/102) ([dependabot[bot]](https://github.com/apps/dependabot))
|
20
|
+
- Bump @tiptap/extension-history from 2.0.0-beta.205 to 2.0.0-beta.207 [\#101](https://github.com/yettoapp/ariadne/pull/101) ([dependabot[bot]](https://github.com/apps/dependabot))
|
21
|
+
- Bump @tiptap/extension-document from 2.0.0-beta.205 to 2.0.0-beta.207 [\#100](https://github.com/yettoapp/ariadne/pull/100) ([dependabot[bot]](https://github.com/apps/dependabot))
|
22
|
+
- Bump @tiptap/extension-dropcursor from 2.0.0-beta.205 to 2.0.0-beta.207 [\#99](https://github.com/yettoapp/ariadne/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
|
23
|
+
- Bump @tiptap/core from 2.0.0-beta.205 to 2.0.0-beta.207 [\#98](https://github.com/yettoapp/ariadne/pull/98) ([dependabot[bot]](https://github.com/apps/dependabot))
|
24
|
+
- Bump @tiptap/extension-text from 2.0.0-beta.205 to 2.0.0-beta.207 [\#97](https://github.com/yettoapp/ariadne/pull/97) ([dependabot[bot]](https://github.com/apps/dependabot))
|
25
|
+
- Bump @tiptap/extension-hard-break from 2.0.0-beta.205 to 2.0.0-beta.207 [\#96](https://github.com/yettoapp/ariadne/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
|
26
|
+
- Bump @tiptap/extension-gapcursor from 2.0.0-beta.205 to 2.0.0-beta.207 [\#95](https://github.com/yettoapp/ariadne/pull/95) ([dependabot[bot]](https://github.com/apps/dependabot))
|
27
|
+
- Bump @tiptap/extension-paragraph from 2.0.0-beta.205 to 2.0.0-beta.207 [\#94](https://github.com/yettoapp/ariadne/pull/94) ([dependabot[bot]](https://github.com/apps/dependabot))
|
28
|
+
- Bump @tiptap/extension-hard-break from 2.0.0-beta.204 to 2.0.0-beta.205 [\#93](https://github.com/yettoapp/ariadne/pull/93) ([dependabot[bot]](https://github.com/apps/dependabot))
|
29
|
+
- Bump @tiptap/extension-gapcursor from 2.0.0-beta.204 to 2.0.0-beta.205 [\#92](https://github.com/yettoapp/ariadne/pull/92) ([dependabot[bot]](https://github.com/apps/dependabot))
|
30
|
+
- Bump @tiptap/extension-history from 2.0.0-beta.204 to 2.0.0-beta.205 [\#91](https://github.com/yettoapp/ariadne/pull/91) ([dependabot[bot]](https://github.com/apps/dependabot))
|
31
|
+
- Bump @tiptap/extension-document from 2.0.0-beta.204 to 2.0.0-beta.205 [\#90](https://github.com/yettoapp/ariadne/pull/90) ([dependabot[bot]](https://github.com/apps/dependabot))
|
32
|
+
- Bump @tiptap/extension-text from 2.0.0-beta.204 to 2.0.0-beta.205 [\#89](https://github.com/yettoapp/ariadne/pull/89) ([dependabot[bot]](https://github.com/apps/dependabot))
|
33
|
+
- Bump @tiptap/extension-paragraph from 2.0.0-beta.204 to 2.0.0-beta.205 [\#88](https://github.com/yettoapp/ariadne/pull/88) ([dependabot[bot]](https://github.com/apps/dependabot))
|
34
|
+
- Bump @tiptap/extension-dropcursor from 2.0.0-beta.204 to 2.0.0-beta.205 [\#87](https://github.com/yettoapp/ariadne/pull/87) ([dependabot[bot]](https://github.com/apps/dependabot))
|
35
|
+
- Bump @tiptap/core from 2.0.0-beta.204 to 2.0.0-beta.205 [\#86](https://github.com/yettoapp/ariadne/pull/86) ([dependabot[bot]](https://github.com/apps/dependabot))
|
36
|
+
- Bump @hotwired/stimulus from 3.2.0 to 3.2.1 [\#85](https://github.com/yettoapp/ariadne/pull/85) ([dependabot[bot]](https://github.com/apps/dependabot))
|
37
|
+
- Bump @github/time-elements from 3.6.0 to 4.0.0 [\#84](https://github.com/yettoapp/ariadne/pull/84) ([dependabot[bot]](https://github.com/apps/dependabot))
|
38
|
+
- Apply mt-0 to flash banners [\#82](https://github.com/yettoapp/ariadne/pull/82) ([gjtorikian](https://github.com/gjtorikian))
|
39
|
+
- Bump @github/time-elements from 3.5.1 to 3.6.0 [\#81](https://github.com/yettoapp/ariadne/pull/81) ([dependabot[bot]](https://github.com/apps/dependabot))
|
40
|
+
- Bump @hotwired/stimulus from 3.1.1 to 3.2.0 [\#80](https://github.com/yettoapp/ariadne/pull/80) ([dependabot[bot]](https://github.com/apps/dependabot))
|
41
|
+
- Bump @tiptap/extension-history from 2.0.0-beta.203 to 2.0.0-beta.204 [\#79](https://github.com/yettoapp/ariadne/pull/79) ([dependabot[bot]](https://github.com/apps/dependabot))
|
42
|
+
- Bump @tiptap/extension-dropcursor from 2.0.0-beta.203 to 2.0.0-beta.204 [\#78](https://github.com/yettoapp/ariadne/pull/78) ([dependabot[bot]](https://github.com/apps/dependabot))
|
43
|
+
- Bump @tiptap/extension-paragraph from 2.0.0-beta.202 to 2.0.0-beta.204 [\#77](https://github.com/yettoapp/ariadne/pull/77) ([dependabot[bot]](https://github.com/apps/dependabot))
|
44
|
+
- Bump @tiptap/extension-hard-break from 2.0.0-beta.202 to 2.0.0-beta.204 [\#76](https://github.com/yettoapp/ariadne/pull/76) ([dependabot[bot]](https://github.com/apps/dependabot))
|
45
|
+
- Bump @tiptap/extension-document from 2.0.0-beta.202 to 2.0.0-beta.204 [\#75](https://github.com/yettoapp/ariadne/pull/75) ([dependabot[bot]](https://github.com/apps/dependabot))
|
46
|
+
- Bump @tiptap/extension-gapcursor from 2.0.0-beta.202 to 2.0.0-beta.204 [\#74](https://github.com/yettoapp/ariadne/pull/74) ([dependabot[bot]](https://github.com/apps/dependabot))
|
47
|
+
- Bump @tiptap/core from 2.0.0-beta.203 to 2.0.0-beta.204 [\#73](https://github.com/yettoapp/ariadne/pull/73) ([dependabot[bot]](https://github.com/apps/dependabot))
|
48
|
+
- Bump @tiptap/extension-text from 2.0.0-beta.203 to 2.0.0-beta.204 [\#72](https://github.com/yettoapp/ariadne/pull/72) ([dependabot[bot]](https://github.com/apps/dependabot))
|
49
|
+
- Bump @tiptap/extension-text from 2.0.0-beta.202 to 2.0.0-beta.203 [\#67](https://github.com/yettoapp/ariadne/pull/67) ([dependabot[bot]](https://github.com/apps/dependabot))
|
50
|
+
- Bump @tiptap/core from 2.0.0-beta.202 to 2.0.0-beta.203 [\#66](https://github.com/yettoapp/ariadne/pull/66) ([dependabot[bot]](https://github.com/apps/dependabot))
|
51
|
+
- Bump @tiptap/extension-history from 2.0.0-beta.202 to 2.0.0-beta.203 [\#65](https://github.com/yettoapp/ariadne/pull/65) ([dependabot[bot]](https://github.com/apps/dependabot))
|
52
|
+
- Bump @tiptap/extension-dropcursor from 2.0.0-beta.202 to 2.0.0-beta.203 [\#64](https://github.com/yettoapp/ariadne/pull/64) ([dependabot[bot]](https://github.com/apps/dependabot))
|
53
|
+
- Bump @github/time-elements from 3.4.1 to 3.5.1 [\#63](https://github.com/yettoapp/ariadne/pull/63) ([dependabot[bot]](https://github.com/apps/dependabot))
|
54
|
+
- Bump stimulus-use from 0.51.0 to 0.51.1 [\#62](https://github.com/yettoapp/ariadne/pull/62) ([dependabot[bot]](https://github.com/apps/dependabot))
|
55
|
+
- Bump @github/time-elements from 3.4.0 to 3.4.1 [\#61](https://github.com/yettoapp/ariadne/pull/61) ([dependabot[bot]](https://github.com/apps/dependabot))
|
56
|
+
- Bump @github/time-elements from 3.3.0 to 3.4.0 [\#60](https://github.com/yettoapp/ariadne/pull/60) ([dependabot[bot]](https://github.com/apps/dependabot))
|
57
|
+
- Bump @github/time-elements from 3.2.5 to 3.3.0 [\#59](https://github.com/yettoapp/ariadne/pull/59) ([dependabot[bot]](https://github.com/apps/dependabot))
|
58
|
+
- Bump @github/time-elements from 3.2.4 to 3.2.5 [\#58](https://github.com/yettoapp/ariadne/pull/58) ([dependabot[bot]](https://github.com/apps/dependabot))
|
59
|
+
|
3
60
|
## [v0.0.26](https://github.com/yettoapp/ariadne/tree/v0.0.26) (2022-11-14)
|
4
61
|
|
5
62
|
[Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.25...v0.0.26)
|
@@ -5,8 +5,8 @@
|
|
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
7
|
<div class="ariadne-overflow-hidden ariadne-border ariadne-border-slate-300 ariadne-shadow-sm">
|
8
|
-
<%= hidden_field_tag '
|
9
|
-
<%= render(Ariadne::RichTextAreaComponent.new(name: :
|
8
|
+
<%= hidden_field_tag 'message_is_public', true %>
|
9
|
+
<%= render(Ariadne::RichTextAreaComponent.new(name: :message_public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
|
10
10
|
<% comment_box.submit { @submit } %>
|
11
11
|
</div>
|
12
12
|
<div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
|
@@ -20,8 +20,8 @@
|
|
20
20
|
<% tab.panel do %>
|
21
21
|
<%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %>
|
22
22
|
<div class="ariadne-overflow-hidden ariadne-border ariadne-border-gray-300 ariadne-shadow-sm">
|
23
|
-
<%= hidden_field_tag '
|
24
|
-
<%= render(Ariadne::RichTextAreaComponent.new(name: :
|
23
|
+
<%= hidden_field_tag 'message_is_public', false %>
|
24
|
+
<%= render(Ariadne::RichTextAreaComponent.new(name: :message_internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
|
25
25
|
<% comment_box.submit { @submit } %>
|
26
26
|
</div>
|
27
27
|
<div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
|
@@ -7,6 +7,8 @@ module Ariadne
|
|
7
7
|
|
8
8
|
DEFAULT_SCHEME = :default
|
9
9
|
|
10
|
+
DEFAULT_CLASSES = "ariadne-mt-0"
|
11
|
+
|
10
12
|
DISMISSIBLE_SCHEME_CLASS_MAPPINGS = {
|
11
13
|
default: "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
12
14
|
info: "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
@@ -103,6 +105,7 @@ module Ariadne
|
|
103
105
|
@scheme = fetch_or_raise(VALID_CONTENT_SCHEMES, scheme)
|
104
106
|
|
105
107
|
@classes = class_names(
|
108
|
+
DEFAULT_CLASSES,
|
106
109
|
CONTENT_SCHEME_CLASS_MAPPINGS[@scheme],
|
107
110
|
classes,
|
108
111
|
)
|
@@ -36,8 +36,8 @@ module Ariadne
|
|
36
36
|
# all of its constants.
|
37
37
|
def generate_constants
|
38
38
|
Ariadne::Component.descendants.sort_by(&:name).each_with_object({}) do |component, mem|
|
39
|
-
mem[component.to_s] = component.constants(false).sort.
|
40
|
-
|
39
|
+
mem[component.to_s] = component.constants(false).sort.index_with do |constant|
|
40
|
+
component.const_get(constant)
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
data/lib/tasks/docs.rake
CHANGED
data/static/constants.json
CHANGED
@@ -225,6 +225,7 @@
|
|
225
225
|
"warning": "ariadne-text-yellow-700",
|
226
226
|
"danger": "ariadne-text-red-700"
|
227
227
|
},
|
228
|
+
"DEFAULT_CLASSES": "ariadne-mt-0",
|
228
229
|
"DEFAULT_SCHEME": "default",
|
229
230
|
"DISMISSIBLE_SCHEME_CLASS_MAPPINGS": {
|
230
231
|
"default": "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
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.27
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
|
-
rubygems_version: 3.3.
|
273
|
+
rubygems_version: 3.3.26
|
274
274
|
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: ViewComponents for the Ariadne Design System
|