ariadne_view_components 0.0.26-x64-mingw32 → 0.0.27-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: 68690f6f0809d0919157f63de02356a81eae9f1bbcbcb21f5da1b558e6b23274
4
- data.tar.gz: c6b881edf43f8551fdbf8b42c993e5eadcb965df0a9aee36fa7ee3d423a80caf
3
+ metadata.gz: ece3c798e2a7016ff911a8578d2699cefc41a468e6d3a4876d1e1e7b41b98688
4
+ data.tar.gz: 2084926838661c53e7ab9c385f453bf4ad5e1e7c52a50cf58e5ffc3afe99f936
5
5
  SHA512:
6
- metadata.gz: f1ff1f4602fad81980d19bae7013b0a3e6c64a740cc48fe4c8f480b6e34c6e42ab04aafb37fcbf9f100e42a0a2fd9b640f623c6df5b7f57a4fba42740e5ccccd
7
- data.tar.gz: 2bdfb25ad5c5d64e10e545ff43c2c3329f5a762631ed5a63d91c9c586a4c1b71987d43876869a3a61a8192b03a283146fb860289a6559858202bf60fa0223c27
6
+ metadata.gz: c1211b67105387f360f1524c96e4724a1a1b84b4e21c97066f5c97c1a877a1de8afd236365987b66bde77e3f17e3beb9075ab1a9d1ef51a9f531511dca6c25f2
7
+ data.tar.gz: 687bc503da1f4d97decdf3ea70560cb31d5b91edce84d4737d7b41db716972a41c8c335b31b858ef5897e4e54e8aeadfc9738263c68fb086bb70898868ec1666
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 'message_public', true %>
9
- <%= render(Ariadne::RichTextAreaComponent.new(name: :public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
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 'message_public', false %>
24
- <%= render(Ariadne::RichTextAreaComponent.new(name: :internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
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
  )
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.26"
5
+ VERSION = "0.0.27"
6
6
  end
7
7
  end
@@ -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.each_with_object({}) do |constant, h|
40
- h[constant] = component.const_get(constant)
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
@@ -458,5 +458,5 @@ def require_js_path(component)
458
458
  end
459
459
 
460
460
  def status_module?(component)
461
- (["Alpha", "Beta"] & component.name.split("::")).any?
461
+ ["Alpha", "Beta"].intersect?(component.name.split("::"))
462
462
  end
@@ -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.26
4
+ version: 0.0.27
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-11-14 00:00:00.000000000 Z
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.7
273
+ rubygems_version: 3.3.26
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: ViewComponents for the Ariadne Design System