ariadne_view_components 0.0.21-x86_64-darwin → 0.0.22-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@
9
9
  <%= render(Ariadne::RichTextAreaComponent.new(name: :public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
10
10
  <% comment_box.submit { @submit } %>
11
11
  </div>
12
- <div class="ariadne-mt-2 ariadne-flex ariadne-justify-end">
12
+ <div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
13
13
  <%= public_submit %>
14
14
  </div>
15
15
  <% end %>
@@ -24,7 +24,7 @@
24
24
  <%= render(Ariadne::RichTextAreaComponent.new(name: :internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
25
25
  <% comment_box.submit { @submit } %>
26
26
  </div>
27
- <div class="ariadne-mt-2 ariadne-flex ariadne-justify-end">
27
+ <div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
28
28
  <%= internal_submit %>
29
29
  </div>
30
30
  <% end %>
@@ -12,7 +12,7 @@ module Ariadne
12
12
  DEFAULT_TAG = :div
13
13
  TAG_OPTIONS = [DEFAULT_TAG].freeze
14
14
 
15
- DEFAULT_CLASSES = "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-py-5 ariadne-px-5 ariadne-rounded-md "
15
+ DEFAULT_CLASSES = "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-px-5 ariadne-rounded-md "
16
16
 
17
17
  renders_one :public_tab, lambda { |selected: false, text:, classes: "", attributes: {}|
18
18
  attributes[:"data-public"] = true
@@ -6,7 +6,7 @@ module Ariadne
6
6
  DEFAULT_TAG = :span
7
7
  TAG_OPTIONS = [DEFAULT_TAG].freeze
8
8
 
9
- DEFAULT_CLASSES = "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-0.5 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap"
9
+ DEFAULT_CLASSES = "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-1 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap"
10
10
 
11
11
  # @example Default
12
12
  #
@@ -24,7 +24,7 @@ export default class RichTextArea extends Controller {
24
24
  element: editorElement,
25
25
  editorProps: {
26
26
  attributes: {
27
- class: 'ariadne-p-3'
27
+ class: 'ariadne-h-28 ariadne-max-h-48 ariadne-p-2 ariadne-rounded-lg ariadne-overflow-y-auto focus:ariadne-outline-none'
28
28
  }
29
29
  },
30
30
  parseOptions: {
@@ -6,7 +6,7 @@ module Ariadne
6
6
  # @accessibility Add any accessibility considerations
7
7
  class RichTextAreaComponent < Ariadne::Component
8
8
  DEFAULT_TAG = :div
9
- DEFAULT_CLASSES = "ariadne-block"
9
+ DEFAULT_CLASSES = ""
10
10
 
11
11
  # @example Default
12
12
  #
@@ -1,5 +1,5 @@
1
1
  <%= render(Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes)) do |component| %>
2
- <div role="tablist" class="ariadne-bg-neutral-50">
2
+ <div role="tablist">
3
3
  <% tabs.each do |tab| %>
4
4
  <%= tab %>
5
5
  <% end %>
@@ -9,7 +9,7 @@ module Ariadne
9
9
 
10
10
  DEFAULT_CLASSES = ""
11
11
 
12
- DEFAULT_SELECTED_CLASSES = "ariadne-bg-white ariadne-border-indigo-500 ariadne-text-indigo-600"
12
+ DEFAULT_SELECTED_CLASSES = "ariadne-border-indigo-500 ariadne-text-indigo-600"
13
13
  DEFAULT_UNSELECTED_CLASSES = "ariadne-text-gray-500 hover:ariadne-text-gray-700 hover:ariadne-border-gray-300"
14
14
 
15
15
  # Tabs and panels to be rendered.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.21"
5
+ VERSION = "0.0.22"
6
6
  end
7
7
  end
data/static/classes.yml CHANGED
@@ -97,9 +97,7 @@
97
97
  - ".ariadne-text-green-600"
98
98
  - ".ariadne-border-gray-300"
99
99
  - ".ariadne-shadow"
100
- - ".ariadne-py-5"
101
100
  - ".ariadne-px-5"
102
- - ".ariadne-bg-neutral-50"
103
101
  - ".ariadne-text-gray-500"
104
102
  - ".hover:ariadne-text-gray-700"
105
103
  - ".hover:ariadne-border-gray-300"
@@ -112,9 +110,9 @@
112
110
  - ".ariadne-space-y-8"
113
111
  - ".sm:ariadne-space-y-5"
114
112
  - ".tiptap-editor"
115
- - ".ariadne-mt-2"
116
113
  - ".ariadne-justify-end"
117
114
  - ".ariadne__details-reset"
115
+ - ".ariadne-mt-2"
118
116
  - ".ariadne-w-56"
119
117
  - ".ariadne-divide-y"
120
118
  - ".ariadne-divide-gray-100"
@@ -141,6 +139,7 @@
141
139
  - ".ariadne-pt-5"
142
140
  - ".ariadne--mx-2"
143
141
  - ".ariadne-flex-col"
142
+ - ".ariadne-py-5"
144
143
  - ".ariadne-mt-6"
145
144
  - ".ariadne-text-slate-500"
146
145
  - ".sm:ariadne-mt-0"
@@ -162,7 +161,6 @@
162
161
  - ".hover:ariadne-bg-button-hover-color"
163
162
  - ".md:ariadne-flex"
164
163
  - ".md:ariadne-divide-y-0"
165
- - ".ariadne-py-0.5"
166
164
  - ".ariadne-text-black"
167
165
  - ".ariadne-hidden"
168
166
  - ".ariadne-list-none"
@@ -136,7 +136,7 @@
136
136
  "DEFAULT_TAG": "clipboard-copy"
137
137
  },
138
138
  "Ariadne::CommentComponent": {
139
- "DEFAULT_CLASSES": "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-py-5 ariadne-px-5 ariadne-rounded-md ",
139
+ "DEFAULT_CLASSES": "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-px-5 ariadne-rounded-md ",
140
140
  "DEFAULT_TAG": "div",
141
141
  "TAG_OPTIONS": [
142
142
  "div"
@@ -453,14 +453,14 @@
453
453
  "DEFAULT_WRAPPER_CLASSES": "group ariadne-flex ariadne-items-center ariadne-w-full"
454
454
  },
455
455
  "Ariadne::PillComponent": {
456
- "DEFAULT_CLASSES": "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-0.5 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap",
456
+ "DEFAULT_CLASSES": "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-1 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap",
457
457
  "DEFAULT_TAG": "span",
458
458
  "TAG_OPTIONS": [
459
459
  "span"
460
460
  ]
461
461
  },
462
462
  "Ariadne::RichTextAreaComponent": {
463
- "DEFAULT_CLASSES": "ariadne-block",
463
+ "DEFAULT_CLASSES": "",
464
464
  "DEFAULT_TAG": "div"
465
465
  },
466
466
  "Ariadne::SlideoverComponent": {
@@ -487,7 +487,7 @@
487
487
  },
488
488
  "Ariadne::TabContainerComponent": {
489
489
  "DEFAULT_CLASSES": "",
490
- "DEFAULT_SELECTED_CLASSES": "ariadne-bg-white ariadne-border-indigo-500 ariadne-text-indigo-600",
490
+ "DEFAULT_SELECTED_CLASSES": "ariadne-border-indigo-500 ariadne-text-indigo-600",
491
491
  "DEFAULT_TAG": "tab-container",
492
492
  "DEFAULT_UNSELECTED_CLASSES": "ariadne-text-gray-500 hover:ariadne-text-gray-700 hover:ariadne-border-gray-300"
493
493
  },
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.21
4
+ version: 0.0.22
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: 2022-10-12 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge