ariadne_view_components 0.0.26-x64-mingw-ucrt → 0.0.27-x64-mingw-ucrt

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: dd86c5d2996688f155f8bb29cbe2349e993b70a7474607ea9f4da23620845dd8
4
- data.tar.gz: df6f4580da491ca2cc9873be68c681e55e633fd019a1a4818e722a25439f4c31
3
+ metadata.gz: 7b5277f6d5a74ceeb848fb952676eabba9f9a18067bcfa04e355ab2ccdd6f720
4
+ data.tar.gz: 62181785824c3a860b8e92d07f9a34fc31740f52426e7a2c50ef501a5b0b0c3d
5
5
  SHA512:
6
- metadata.gz: a930874348f979d8346b9032663ec02df467c0fbb9b301d5ead524da2fd907cd8973feab8a15833177b465205593a0368bc875f87aa1bf0d056a1bf0fd12d435
7
- data.tar.gz: 639f45e80c1a0d241a1b6be86a157c3a1e2fa1cf7b2e7772d3fa288e41c14676d0243066c4702fed26259133a19615be3f2ccf7104ab480b4f88ca0ccb1beefc
6
+ metadata.gz: c9d742066f22b0f8aa6a505e79f610d4add0ae86baf2f37f362c8b829f560810a753eb34619833004d705bdf8d3fa9bf17e8eb6f8221007f2a119535601d345e
7
+ data.tar.gz: a158b60863310d7a59b3edc4005a39a0f8e870c519ad5a7b015fad23813125d6a9cd438facea5e74decb883c4ad34b034ab3204e9994bd33f02dfcef0f8d8df7
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-mingw-ucrt
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