ariadne_view_components 0.0.10-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +49 -0
  3. data/README.md +73 -0
  4. data/app/assets/config/manifest.js +2 -0
  5. data/app/assets/javascripts/ariadne-form-with.d.ts +20 -0
  6. data/app/assets/javascripts/ariadne-form.d.ts +22 -0
  7. data/app/assets/javascripts/ariadne.d.ts +1 -0
  8. data/app/assets/javascripts/ariadne_view_components.js +8 -0
  9. data/app/assets/javascripts/ariadne_view_components.js.map +1 -0
  10. data/app/assets/javascripts/clipboard-copy-component.d.ts +4 -0
  11. data/app/assets/javascripts/comment-component.d.ts +13 -0
  12. data/app/assets/javascripts/rich-text-area-component.d.ts +4 -0
  13. data/app/assets/javascripts/slideover-component.d.ts +9 -0
  14. data/app/assets/javascripts/time-ago-component.d.ts +1 -0
  15. data/app/assets/javascripts/time_ago_component.d.ts +1 -0
  16. data/app/assets/javascripts/tooltip-component.d.ts +24 -0
  17. data/app/assets/stylesheets/ariadne_view_components.css +6 -0
  18. data/app/assets/stylesheets/prosemirror.css +323 -0
  19. data/app/assets/stylesheets/tooltip-component.css +37 -0
  20. data/app/components/ariadne/ariadne-form.ts +96 -0
  21. data/app/components/ariadne/ariadne.ts +20 -0
  22. data/app/components/ariadne/base_button.rb +61 -0
  23. data/app/components/ariadne/base_component.rb +37 -0
  24. data/app/components/ariadne/blankslate_component.html.erb +26 -0
  25. data/app/components/ariadne/blankslate_component.rb +146 -0
  26. data/app/components/ariadne/body_component.rb +30 -0
  27. data/app/components/ariadne/button_component.html.erb +4 -0
  28. data/app/components/ariadne/button_component.rb +157 -0
  29. data/app/components/ariadne/clipboard-copy-component.ts +19 -0
  30. data/app/components/ariadne/clipboard_copy_component.html.erb +9 -0
  31. data/app/components/ariadne/clipboard_copy_component.rb +90 -0
  32. data/app/components/ariadne/comment-component.ts +55 -0
  33. data/app/components/ariadne/comment_component.html.erb +22 -0
  34. data/app/components/ariadne/comment_component.rb +57 -0
  35. data/app/components/ariadne/component.rb +128 -0
  36. data/app/components/ariadne/container_component.html.erb +3 -0
  37. data/app/components/ariadne/container_component.rb +25 -0
  38. data/app/components/ariadne/content.rb +12 -0
  39. data/app/components/ariadne/counter_component.rb +100 -0
  40. data/app/components/ariadne/flash_component.html.erb +31 -0
  41. data/app/components/ariadne/flash_component.rb +125 -0
  42. data/app/components/ariadne/flex_component.rb +49 -0
  43. data/app/components/ariadne/footer_component.html.erb +7 -0
  44. data/app/components/ariadne/footer_component.rb +23 -0
  45. data/app/components/ariadne/grid_component.html.erb +26 -0
  46. data/app/components/ariadne/grid_component.rb +66 -0
  47. data/app/components/ariadne/header_component.html.erb +29 -0
  48. data/app/components/ariadne/header_component.rb +114 -0
  49. data/app/components/ariadne/heading_component.rb +49 -0
  50. data/app/components/ariadne/heroicon_component.html.erb +4 -0
  51. data/app/components/ariadne/heroicon_component.rb +129 -0
  52. data/app/components/ariadne/image_component.rb +53 -0
  53. data/app/components/ariadne/inline_flex_component.html.erb +5 -0
  54. data/app/components/ariadne/inline_flex_component.rb +65 -0
  55. data/app/components/ariadne/link_component.rb +65 -0
  56. data/app/components/ariadne/list_component.html.erb +15 -0
  57. data/app/components/ariadne/list_component.rb +68 -0
  58. data/app/components/ariadne/main_component.rb +32 -0
  59. data/app/components/ariadne/narrow_container_component.html.erb +3 -0
  60. data/app/components/ariadne/narrow_container_component.rb +30 -0
  61. data/app/components/ariadne/panel_bar_component.html.erb +20 -0
  62. data/app/components/ariadne/panel_bar_component.rb +79 -0
  63. data/app/components/ariadne/pill_component.html.erb +3 -0
  64. data/app/components/ariadne/pill_component.rb +30 -0
  65. data/app/components/ariadne/rich-text-area-component.ts +32 -0
  66. data/app/components/ariadne/rich_text_area_component.html.erb +6 -0
  67. data/app/components/ariadne/rich_text_area_component.rb +35 -0
  68. data/app/components/ariadne/slideover-component.ts +26 -0
  69. data/app/components/ariadne/slideover_component.html.erb +11 -0
  70. data/app/components/ariadne/slideover_component.rb +81 -0
  71. data/app/components/ariadne/tab_bar_component.html.erb +3 -0
  72. data/app/components/ariadne/tab_bar_component.rb +45 -0
  73. data/app/components/ariadne/tab_component.html.erb +7 -0
  74. data/app/components/ariadne/tab_component.rb +43 -0
  75. data/app/components/ariadne/text.rb +25 -0
  76. data/app/components/ariadne/time-ago-component.ts +1 -0
  77. data/app/components/ariadne/time_ago_component.rb +56 -0
  78. data/app/components/ariadne/timeline_component.html.erb +19 -0
  79. data/app/components/ariadne/timeline_component.rb +34 -0
  80. data/app/components/ariadne/tooltip-component.ts +57 -0
  81. data/app/components/ariadne/tooltip_component.html.erb +4 -0
  82. data/app/components/ariadne/tooltip_component.rb +108 -0
  83. data/app/lib/ariadne/action_view_extensions/form_helper.rb +26 -0
  84. data/app/lib/ariadne/audited/dsl.rb +32 -0
  85. data/app/lib/ariadne/class_name_helper.rb +22 -0
  86. data/app/lib/ariadne/fetch_or_fallback_helper.rb +102 -0
  87. data/app/lib/ariadne/form_builder.rb +71 -0
  88. data/app/lib/ariadne/icon_helper.rb +47 -0
  89. data/app/lib/ariadne/join_style_arguments_helper.rb +14 -0
  90. data/app/lib/ariadne/logger_helper.rb +23 -0
  91. data/app/lib/ariadne/status/dsl.rb +41 -0
  92. data/app/lib/ariadne/tab_nav_helper.rb +35 -0
  93. data/app/lib/ariadne/tabbed_component_helper.rb +39 -0
  94. data/app/lib/ariadne/test_selector_helper.rb +20 -0
  95. data/app/lib/ariadne/underline_nav_helper.rb +44 -0
  96. data/app/lib/ariadne/view_helper.rb +22 -0
  97. data/exe/arm64-darwin/tailwindcss +0 -0
  98. data/exe/tailwindcss +21 -0
  99. data/lib/ariadne/view_components/commands.rb +90 -0
  100. data/lib/ariadne/view_components/constants.rb +53 -0
  101. data/lib/ariadne/view_components/engine.rb +75 -0
  102. data/lib/ariadne/view_components/linters.rb +3 -0
  103. data/lib/ariadne/view_components/statuses.rb +14 -0
  104. data/lib/ariadne/view_components/upstream.rb +20 -0
  105. data/lib/ariadne/view_components/version.rb +7 -0
  106. data/lib/ariadne/view_components.rb +61 -0
  107. data/lib/rubocop/config/default.yml +8 -0
  108. data/lib/rubocop/cop/ariadne/base_cop.rb +26 -0
  109. data/lib/rubocop/cop/ariadne/no_tag_memoize.rb +44 -0
  110. data/lib/rubocop/cop/ariadne.rb +3 -0
  111. data/lib/tasks/ariadne_view_components.rake +48 -0
  112. data/lib/tasks/build.rake +30 -0
  113. data/lib/tasks/coverage.rake +19 -0
  114. data/lib/tasks/custom_utilities.yml +310 -0
  115. data/lib/tasks/docs.rake +524 -0
  116. data/lib/tasks/helpers/ast_processor.rb +44 -0
  117. data/lib/tasks/helpers/ast_traverser.rb +77 -0
  118. data/lib/tasks/static.rake +15 -0
  119. data/lib/yard/docs_helper.rb +83 -0
  120. data/lib/yard/renders_many_handler.rb +19 -0
  121. data/lib/yard/renders_one_handler.rb +19 -0
  122. data/static/arguments.yml +619 -0
  123. data/static/assets/view-components.svg +18 -0
  124. data/static/audited_at.json +38 -0
  125. data/static/classes.yml +291 -0
  126. data/static/constants.json +426 -0
  127. data/static/statuses.json +38 -0
  128. data/static/tailwindcss.yml +727 -0
  129. data/tailwind.config.js +65 -0
  130. metadata +264 -0
@@ -0,0 +1,310 @@
1
+ :font_size:
2
+ "00":
3
+ - f00
4
+ 1:
5
+ - f1
6
+ 2:
7
+ - f2
8
+ 3:
9
+ - f3
10
+ 4:
11
+ - f4
12
+ 5:
13
+ - f5
14
+ 6:
15
+ - f6
16
+ :small:
17
+ - text-small
18
+ :normal:
19
+ - text-normal
20
+ :top:
21
+ 0:
22
+ - top-0
23
+ false:
24
+ - top-0
25
+ :bottom:
26
+ 0:
27
+ - bottom-0
28
+ false:
29
+ - bottom-0
30
+ :left:
31
+ 0:
32
+ - left-0
33
+ false:
34
+ - left-0
35
+ :right:
36
+ 0:
37
+ - right-0
38
+ false:
39
+ - right-0
40
+ :underline:
41
+ true:
42
+ - text-underline
43
+ false:
44
+ - no-underline
45
+ :font_family:
46
+ :mono:
47
+ - text-mono
48
+ :font_style:
49
+ :italic:
50
+ - text-italic
51
+ :text_transform:
52
+ :uppercase:
53
+ - text-uppercase
54
+ :text_align:
55
+ :right:
56
+ - text-right
57
+ - text-sm-right
58
+ - text-md-right
59
+ - text-lg-right
60
+ - text-xl-right
61
+ :left:
62
+ - text-left
63
+ - text-sm-left
64
+ - text-md-left
65
+ - text-lg-left
66
+ - text-xl-left
67
+ :center:
68
+ - text-center
69
+ - text-sm-center
70
+ - text-md-center
71
+ - text-lg-center
72
+ - text-xl-center
73
+ :font_weight:
74
+ :light:
75
+ - text-light
76
+ :normal:
77
+ - text-normal
78
+ :bold:
79
+ - text-bold
80
+ :semibold:
81
+ - text-semibold
82
+ :emphasized:
83
+ - text-emphasized
84
+ :box_shadow:
85
+ true:
86
+ - color-shadow-small
87
+ :small:
88
+ - color-shadow-small
89
+ :medium:
90
+ - color-shadow-medium
91
+ :large:
92
+ - color-shadow-large
93
+ :extra_large:
94
+ - color-shadow-extra-large
95
+ :none:
96
+ - box-shadow-none
97
+ false:
98
+ - box-shadow-none
99
+ :border:
100
+ :left:
101
+ - border-left
102
+ :top:
103
+ - border-top
104
+ :bottom:
105
+ - border-bottom
106
+ :right:
107
+ - border-right
108
+ :y:
109
+ - border-y
110
+ :x:
111
+ - border-x
112
+ true:
113
+ - border
114
+ 0:
115
+ - border-0
116
+ false:
117
+ - border-0
118
+ :dashed:
119
+ - border-dashed
120
+ :border_top:
121
+ 0:
122
+ - border-top-0
123
+ :border_bottom:
124
+ 0:
125
+ - border-bottom-0
126
+ :border_left:
127
+ 0:
128
+ - border-left-0
129
+ :border_right:
130
+ 0:
131
+ - border-right-0
132
+ :border_radius:
133
+ 0:
134
+ - rounded-0
135
+ 1:
136
+ - rounded-1
137
+ 2:
138
+ - rounded-2
139
+ 3:
140
+ - rounded-3
141
+ :justify_content:
142
+ :flex_start:
143
+ - flex-justify-start
144
+ - flex-sm-justify-start
145
+ - flex-md-justify-start
146
+ - flex-lg-justify-start
147
+ - flex-xl-justify-start
148
+ :flex_end:
149
+ - flex-justify-end
150
+ - flex-sm-justify-end
151
+ - flex-md-justify-end
152
+ - flex-lg-justify-end
153
+ - flex-xl-justify-end
154
+ :center:
155
+ - flex-justify-center
156
+ - flex-sm-justify-center
157
+ - flex-md-justify-center
158
+ - flex-lg-justify-center
159
+ - flex-xl-justify-center
160
+ :space_between:
161
+ - flex-justify-between
162
+ - flex-sm-justify-between
163
+ - flex-md-justify-between
164
+ - flex-lg-justify-between
165
+ - flex-xl-justify-between
166
+ :space_around:
167
+ - flex-justify-around
168
+ - flex-sm-justify-around
169
+ - flex-md-justify-around
170
+ - flex-lg-justify-around
171
+ - flex-xl-justify-around
172
+ :align_items:
173
+ :flex_start:
174
+ - flex-items-start
175
+ - flex-sm-items-start
176
+ - flex-md-items-start
177
+ - flex-lg-items-start
178
+ - flex-xl-items-start
179
+ :flex_end:
180
+ - flex-items-end
181
+ - flex-sm-items-end
182
+ - flex-md-items-end
183
+ - flex-lg-items-end
184
+ - flex-xl-items-end
185
+ :center:
186
+ - flex-items-center
187
+ - flex-sm-items-center
188
+ - flex-md-items-center
189
+ - flex-lg-items-center
190
+ - flex-xl-items-center
191
+ :baseline:
192
+ - flex-items-baseline
193
+ - flex-sm-items-baseline
194
+ - flex-md-items-baseline
195
+ - flex-lg-items-baseline
196
+ - flex-xl-items-baseline
197
+ :stretch:
198
+ - flex-items-stretch
199
+ - flex-sm-items-stretch
200
+ - flex-md-items-stretch
201
+ - flex-lg-items-stretch
202
+ - flex-xl-items-stretch
203
+ :flex_wrap:
204
+ :wrap:
205
+ - flex-wrap
206
+ - flex-sm-wrap
207
+ - flex-md-wrap
208
+ - flex-lg-wrap
209
+ - flex-xl-wrap
210
+ :nowrap:
211
+ - flex-nowrap
212
+ - flex-sm-nowrap
213
+ - flex-md-nowrap
214
+ - flex-lg-nowrap
215
+ - flex-xl-nowrap
216
+ :reverse:
217
+ - flex-wrap-reverse
218
+ - flex-sm-wrap-reverse
219
+ - flex-md-wrap-reverse
220
+ - flex-lg-wrap-reverse
221
+ - flex-xl-wrap-reverse
222
+ :direction:
223
+ :column:
224
+ - flex-column
225
+ - flex-sm-column
226
+ - flex-md-column
227
+ - flex-lg-column
228
+ - flex-xl-column
229
+ :column_reverse:
230
+ - flex-column-reverse
231
+ - flex-sm-column-reverse
232
+ - flex-md-column-reverse
233
+ - flex-lg-column-reverse
234
+ - flex-xl-column-reverse
235
+ :row:
236
+ - flex-row
237
+ - flex-sm-row
238
+ - flex-md-row
239
+ - flex-lg-row
240
+ - flex-xl-row
241
+ :row_reverse:
242
+ - flex-row-reverse
243
+ - flex-sm-row-reverse
244
+ - flex-md-row-reverse
245
+ - flex-lg-row-reverse
246
+ - flex-xl-row-reverse
247
+ :flex:
248
+ 1:
249
+ - flex-1
250
+ - flex-sm-1
251
+ - flex-md-1
252
+ - flex-lg-1
253
+ - flex-xl-1
254
+ :auto:
255
+ - flex-auto
256
+ - flex-sm-auto
257
+ - flex-md-auto
258
+ - flex-lg-auto
259
+ - flex-xl-auto
260
+ :align_self:
261
+ :auto:
262
+ - flex-self-auto
263
+ - flex-sm-self-auto
264
+ - flex-md-self-auto
265
+ - flex-lg-self-auto
266
+ - flex-xl-self-auto
267
+ :start:
268
+ - flex-self-start
269
+ - flex-sm-self-start
270
+ - flex-md-self-start
271
+ - flex-lg-self-start
272
+ - flex-xl-self-start
273
+ :end:
274
+ - flex-self-end
275
+ - flex-sm-self-end
276
+ - flex-md-self-end
277
+ - flex-lg-self-end
278
+ - flex-xl-self-end
279
+ :center:
280
+ - flex-self-center
281
+ - flex-sm-self-center
282
+ - flex-md-self-center
283
+ - flex-lg-self-center
284
+ - flex-xl-self-center
285
+ :baseline:
286
+ - flex-self-baseline
287
+ - flex-sm-self-baseline
288
+ - flex-md-self-baseline
289
+ - flex-lg-self-baseline
290
+ - flex-xl-self-baseline
291
+ :stretch:
292
+ - flex-self-stretch
293
+ - flex-sm-self-stretch
294
+ - flex-md-self-stretch
295
+ - flex-lg-self-stretch
296
+ - flex-xl-self-stretch
297
+ :flex_grow:
298
+ 0:
299
+ - flex-grow-0
300
+ - flex-sm-grow-0
301
+ - flex-md-grow-0
302
+ - flex-lg-grow-0
303
+ - flex-xl-grow-0
304
+ :flex_shrink:
305
+ 0:
306
+ - flex-shrink-0
307
+ - flex-sm-shrink-0
308
+ - flex-md-shrink-0
309
+ - flex-lg-shrink-0
310
+ - flex-xl-shrink-0