ariadne_view_components 0.0.10-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +49 -0
- data/README.md +73 -0
- data/app/assets/config/manifest.js +2 -0
- data/app/assets/javascripts/ariadne-form-with.d.ts +20 -0
- data/app/assets/javascripts/ariadne-form.d.ts +22 -0
- data/app/assets/javascripts/ariadne.d.ts +1 -0
- data/app/assets/javascripts/ariadne_view_components.js +8 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -0
- data/app/assets/javascripts/clipboard-copy-component.d.ts +4 -0
- data/app/assets/javascripts/comment-component.d.ts +13 -0
- data/app/assets/javascripts/rich-text-area-component.d.ts +4 -0
- data/app/assets/javascripts/slideover-component.d.ts +9 -0
- data/app/assets/javascripts/time-ago-component.d.ts +1 -0
- data/app/assets/javascripts/time_ago_component.d.ts +1 -0
- data/app/assets/javascripts/tooltip-component.d.ts +24 -0
- data/app/assets/stylesheets/ariadne_view_components.css +6 -0
- data/app/assets/stylesheets/prosemirror.css +323 -0
- data/app/assets/stylesheets/tooltip-component.css +37 -0
- data/app/components/ariadne/ariadne-form.ts +96 -0
- data/app/components/ariadne/ariadne.ts +20 -0
- data/app/components/ariadne/base_button.rb +61 -0
- data/app/components/ariadne/base_component.rb +37 -0
- data/app/components/ariadne/blankslate_component.html.erb +26 -0
- data/app/components/ariadne/blankslate_component.rb +146 -0
- data/app/components/ariadne/body_component.rb +30 -0
- data/app/components/ariadne/button_component.html.erb +4 -0
- data/app/components/ariadne/button_component.rb +157 -0
- data/app/components/ariadne/clipboard-copy-component.ts +19 -0
- data/app/components/ariadne/clipboard_copy_component.html.erb +9 -0
- data/app/components/ariadne/clipboard_copy_component.rb +90 -0
- data/app/components/ariadne/comment-component.ts +55 -0
- data/app/components/ariadne/comment_component.html.erb +22 -0
- data/app/components/ariadne/comment_component.rb +57 -0
- data/app/components/ariadne/component.rb +128 -0
- data/app/components/ariadne/container_component.html.erb +3 -0
- data/app/components/ariadne/container_component.rb +25 -0
- data/app/components/ariadne/content.rb +12 -0
- data/app/components/ariadne/counter_component.rb +100 -0
- data/app/components/ariadne/flash_component.html.erb +31 -0
- data/app/components/ariadne/flash_component.rb +125 -0
- data/app/components/ariadne/flex_component.rb +49 -0
- data/app/components/ariadne/footer_component.html.erb +7 -0
- data/app/components/ariadne/footer_component.rb +23 -0
- data/app/components/ariadne/grid_component.html.erb +26 -0
- data/app/components/ariadne/grid_component.rb +66 -0
- data/app/components/ariadne/header_component.html.erb +29 -0
- data/app/components/ariadne/header_component.rb +114 -0
- data/app/components/ariadne/heading_component.rb +49 -0
- data/app/components/ariadne/heroicon_component.html.erb +4 -0
- data/app/components/ariadne/heroicon_component.rb +129 -0
- data/app/components/ariadne/image_component.rb +53 -0
- data/app/components/ariadne/inline_flex_component.html.erb +5 -0
- data/app/components/ariadne/inline_flex_component.rb +65 -0
- data/app/components/ariadne/link_component.rb +65 -0
- data/app/components/ariadne/list_component.html.erb +15 -0
- data/app/components/ariadne/list_component.rb +68 -0
- data/app/components/ariadne/main_component.rb +32 -0
- data/app/components/ariadne/narrow_container_component.html.erb +3 -0
- data/app/components/ariadne/narrow_container_component.rb +30 -0
- data/app/components/ariadne/panel_bar_component.html.erb +20 -0
- data/app/components/ariadne/panel_bar_component.rb +79 -0
- data/app/components/ariadne/pill_component.html.erb +3 -0
- data/app/components/ariadne/pill_component.rb +30 -0
- data/app/components/ariadne/rich-text-area-component.ts +32 -0
- data/app/components/ariadne/rich_text_area_component.html.erb +6 -0
- data/app/components/ariadne/rich_text_area_component.rb +35 -0
- data/app/components/ariadne/slideover-component.ts +26 -0
- data/app/components/ariadne/slideover_component.html.erb +11 -0
- data/app/components/ariadne/slideover_component.rb +81 -0
- data/app/components/ariadne/tab_bar_component.html.erb +3 -0
- data/app/components/ariadne/tab_bar_component.rb +45 -0
- data/app/components/ariadne/tab_component.html.erb +7 -0
- data/app/components/ariadne/tab_component.rb +43 -0
- data/app/components/ariadne/text.rb +25 -0
- data/app/components/ariadne/time-ago-component.ts +1 -0
- data/app/components/ariadne/time_ago_component.rb +56 -0
- data/app/components/ariadne/timeline_component.html.erb +19 -0
- data/app/components/ariadne/timeline_component.rb +34 -0
- data/app/components/ariadne/tooltip-component.ts +57 -0
- data/app/components/ariadne/tooltip_component.html.erb +4 -0
- data/app/components/ariadne/tooltip_component.rb +108 -0
- data/app/lib/ariadne/action_view_extensions/form_helper.rb +26 -0
- data/app/lib/ariadne/audited/dsl.rb +32 -0
- data/app/lib/ariadne/class_name_helper.rb +22 -0
- data/app/lib/ariadne/fetch_or_fallback_helper.rb +102 -0
- data/app/lib/ariadne/form_builder.rb +71 -0
- data/app/lib/ariadne/icon_helper.rb +47 -0
- data/app/lib/ariadne/join_style_arguments_helper.rb +14 -0
- data/app/lib/ariadne/logger_helper.rb +23 -0
- data/app/lib/ariadne/status/dsl.rb +41 -0
- data/app/lib/ariadne/tab_nav_helper.rb +35 -0
- data/app/lib/ariadne/tabbed_component_helper.rb +39 -0
- data/app/lib/ariadne/test_selector_helper.rb +20 -0
- data/app/lib/ariadne/underline_nav_helper.rb +44 -0
- data/app/lib/ariadne/view_helper.rb +22 -0
- data/exe/tailwindcss +21 -0
- data/exe/x64-mingw32/tailwindcss +0 -0
- data/lib/ariadne/view_components/commands.rb +90 -0
- data/lib/ariadne/view_components/constants.rb +53 -0
- data/lib/ariadne/view_components/engine.rb +75 -0
- data/lib/ariadne/view_components/linters.rb +3 -0
- data/lib/ariadne/view_components/statuses.rb +14 -0
- data/lib/ariadne/view_components/upstream.rb +20 -0
- data/lib/ariadne/view_components/version.rb +7 -0
- data/lib/ariadne/view_components.rb +61 -0
- data/lib/rubocop/config/default.yml +8 -0
- data/lib/rubocop/cop/ariadne/base_cop.rb +26 -0
- data/lib/rubocop/cop/ariadne/no_tag_memoize.rb +44 -0
- data/lib/rubocop/cop/ariadne.rb +3 -0
- data/lib/tasks/ariadne_view_components.rake +48 -0
- data/lib/tasks/build.rake +30 -0
- data/lib/tasks/coverage.rake +19 -0
- data/lib/tasks/custom_utilities.yml +310 -0
- data/lib/tasks/docs.rake +524 -0
- data/lib/tasks/helpers/ast_processor.rb +44 -0
- data/lib/tasks/helpers/ast_traverser.rb +77 -0
- data/lib/tasks/static.rake +15 -0
- data/lib/yard/docs_helper.rb +83 -0
- data/lib/yard/renders_many_handler.rb +19 -0
- data/lib/yard/renders_one_handler.rb +19 -0
- data/static/arguments.yml +619 -0
- data/static/assets/view-components.svg +18 -0
- data/static/audited_at.json +38 -0
- data/static/classes.yml +291 -0
- data/static/constants.json +426 -0
- data/static/statuses.json +38 -0
- data/static/tailwindcss.yml +727 -0
- data/tailwind.config.js +65 -0
- metadata +264 -0
@@ -0,0 +1,426 @@
|
|
1
|
+
{
|
2
|
+
"Ariadne::BaseButton": {
|
3
|
+
"DEFAULT_CLASSES": "ariadne-inline-flex ariadne-items-center ariadne-border ariadne-shadow-sm focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2",
|
4
|
+
"DEFAULT_SIZE": "md",
|
5
|
+
"DEFAULT_TAG": "button",
|
6
|
+
"DEFAULT_TYPE": "button",
|
7
|
+
"SIZE_CLASS_MAPPINGS": {
|
8
|
+
"xs": "ariadne-px-2.5 ariadne-py-1.5 ariadne-text-xs ariadne-font-medium ariadne-rounded",
|
9
|
+
"sm": "ariadne-px-3 ariadne-py-2 ariadne-text-sm ariadne-leading-4 ariadne-font-medium ariadne-rounded-m",
|
10
|
+
"md": "ariadne-px-4 ariadne-py-2 ariadne-text-sm ariadne-font-medium ariadne-rounded-md",
|
11
|
+
"lg": "ariadne-px-4 ariadne-py-2 ariadne-text-base ariadne-font-medium ariadne-rounded-md",
|
12
|
+
"xl": "ariadne-px-6 ariadne-py-3 ariadne-text-base ariadne-font-medium ariadne-rounded-md"
|
13
|
+
},
|
14
|
+
"TAG_OPTIONS": [
|
15
|
+
"button",
|
16
|
+
"a",
|
17
|
+
"summary"
|
18
|
+
],
|
19
|
+
"TYPE_OPTIONS": [
|
20
|
+
"button",
|
21
|
+
"reset",
|
22
|
+
"submit"
|
23
|
+
],
|
24
|
+
"TYPE_SUBMIT": "submit",
|
25
|
+
"VALID_SIZES": [
|
26
|
+
"xs",
|
27
|
+
"sm",
|
28
|
+
"md",
|
29
|
+
"lg",
|
30
|
+
"xl"
|
31
|
+
]
|
32
|
+
},
|
33
|
+
"Ariadne::BaseComponent": {
|
34
|
+
"SELF_CLOSING_TAGS": [
|
35
|
+
"area",
|
36
|
+
"base",
|
37
|
+
"br",
|
38
|
+
"col",
|
39
|
+
"embed",
|
40
|
+
"hr",
|
41
|
+
"img",
|
42
|
+
"input",
|
43
|
+
"link",
|
44
|
+
"meta",
|
45
|
+
"param",
|
46
|
+
"source",
|
47
|
+
"track",
|
48
|
+
"wbr"
|
49
|
+
]
|
50
|
+
},
|
51
|
+
"Ariadne::BlankslateComponent": {
|
52
|
+
"DEFAULT_CLASSES": "ariadne-text-center",
|
53
|
+
"DEFAULT_HEADING_CLASSES": "text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl",
|
54
|
+
"DEFAULT_IMAGE_SIZE": 56,
|
55
|
+
"DEFAULT_TAG": "div",
|
56
|
+
"TAG_OPTIONS": [
|
57
|
+
"div"
|
58
|
+
]
|
59
|
+
},
|
60
|
+
"Ariadne::BodyComponent": {
|
61
|
+
"DEFAULT_CLASSES": "ariadne-flex ariadne-flex-col ariadne-min-h-screen"
|
62
|
+
},
|
63
|
+
"Ariadne::ButtonComponent": {
|
64
|
+
"DEFAULT_SCHEME": "default",
|
65
|
+
"LINK_SCHEME": "link",
|
66
|
+
"SCHEME_CLASS_MAPPINGS": {
|
67
|
+
"none": "",
|
68
|
+
"default": "ariadne-text-purple-800 ariadne-bg-purple-50 hover:ariadne-bg-purple-100 ariadne-border-purple-300 focus:ariadne-ring-offset-purple-50 focus:ariadne-ring-purple-600",
|
69
|
+
"info": "ariadne-text-blue-800 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 ariadne-border-blue-300 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
70
|
+
"success": "ariadne-text-green-800 ariadne-bg-green-50 hover:ariadne-bg-green-100 ariadne-border-green-300 focus:ariadne-ring-offset-green-50 focus:ariadne-ring-green-600",
|
71
|
+
"warning": "ariadne-text-yellow-800 ariadne-bg-yellow-50 hover:ariadne-bg-yellow-100 ariadne-border-yellow-300 focus:ariadne-ring-offset-yellow-50 focus:ariadne-ring-yellow-600",
|
72
|
+
"danger": "ariadne-text-red-800 ariadne-bg-red-50 hover:ariadne-bg-red-100 ariadne-border-red-300 focus:ariadne-ring-offset-red-50 focus:ariadne-ring-red-600"
|
73
|
+
},
|
74
|
+
"VALID_SCHEMES": [
|
75
|
+
"none",
|
76
|
+
"default",
|
77
|
+
"info",
|
78
|
+
"success",
|
79
|
+
"warning",
|
80
|
+
"danger"
|
81
|
+
]
|
82
|
+
},
|
83
|
+
"Ariadne::ClipboardCopyComponent": {
|
84
|
+
"DATA_ACTION": "click->clipboard-copy-component#copy",
|
85
|
+
"DATA_CONTROLLER": "clipboard-copy-component",
|
86
|
+
"DATA_CONTROLLERS": {
|
87
|
+
"data-controller": "clipboard-copy-component",
|
88
|
+
"data-action": "click->clipboard-copy-component#copy"
|
89
|
+
},
|
90
|
+
"DATA_CONTROLLERS_WITH_TOOLTIPS": {
|
91
|
+
"data-controller": "clipboard-copy-component tooltip-component",
|
92
|
+
"data-action": "click->clipboard-copy-component#copy mouseover->tooltip-component#show mouseout->tooltip-component#hide",
|
93
|
+
"data-tooltip-component-target": "trigger"
|
94
|
+
},
|
95
|
+
"DEFAULT_CLASSES": " ariadne-cursor-pointer ariadne-underline ariadne-decoration-double ariadne-font-semibold hover:ariadne-text-button-text-color focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2 focus:ariadne-ring-purple-500",
|
96
|
+
"DEFAULT_TAG": "clipboard-copy"
|
97
|
+
},
|
98
|
+
"Ariadne::CommentComponent": {
|
99
|
+
"DEFAULT_CLASSES": "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-py-5 ariadne-px-5 ariadne-rounded-md ",
|
100
|
+
"DEFAULT_TAG": "div",
|
101
|
+
"TAG_OPTIONS": [
|
102
|
+
"div"
|
103
|
+
]
|
104
|
+
},
|
105
|
+
"Ariadne::ContainerComponent": {
|
106
|
+
"DEFAULT_CLASSES": "ariadne-px-4 sm:ariadne-px-6 lg:ariadne-px-8"
|
107
|
+
},
|
108
|
+
"Ariadne::Content": {
|
109
|
+
},
|
110
|
+
"Ariadne::CounterComponent": {
|
111
|
+
"DEFAULT_CLASSES": "ariadne-inline-flex ariadne-items-center ariadne-p-1 ariadne-border ariadne-border-transparent ariadne-rounded-full ariadne-shadow-sm focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2"
|
112
|
+
},
|
113
|
+
"Ariadne::FlashComponent": {
|
114
|
+
"BG_SCHEME_CLASS_MAPPINGS": {
|
115
|
+
"default": "ariadne-bg-blue-50",
|
116
|
+
"info": "ariadne-bg-blue-50",
|
117
|
+
"success": "ariadne-bg-green-50",
|
118
|
+
"warning": "ariadne-bg-yellow-50",
|
119
|
+
"danger": "ariadne-bg-red-50"
|
120
|
+
},
|
121
|
+
"CONTENT_SCHEME_CLASS_MAPPINGS": {
|
122
|
+
"default": "ariadne-text-blue-700",
|
123
|
+
"info": "ariadne-text-blue-700",
|
124
|
+
"success": "ariadne-text-green-700",
|
125
|
+
"warning": "ariadne-text-yellow-700",
|
126
|
+
"danger": "ariadne-text-red-700"
|
127
|
+
},
|
128
|
+
"DEFAULT_SCHEME": "default",
|
129
|
+
"DISMISSIBLE_SCHEME_CLASS_MAPPINGS": {
|
130
|
+
"default": "ariadne-text-blue-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
131
|
+
"info": "ariadne-text-blue-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
|
132
|
+
"success": "ariadne-text-green-500 ariadne-bg-green-50 hover:ariadne-bg-green-100 focus:ariadne-ring-offset-green-50 focus:ariadne-ring-green-600",
|
133
|
+
"warning": "ariadne-text-yellow-500 ariadne-bg-yellow-50 hover:ariadne-bg-yellow-100 focus:ariadne-ring-offset-yellow-50 focus:ariadne-ring-yellow-600",
|
134
|
+
"danger": "ariadne-text-red-500 ariadne-bg-red-50 hover:ariadne-bg-red-100 focus:ariadne-ring-offset-red-50 focus:ariadne-ring-red-600"
|
135
|
+
},
|
136
|
+
"VALID_BG_SCHEMES": [
|
137
|
+
"default",
|
138
|
+
"info",
|
139
|
+
"success",
|
140
|
+
"warning",
|
141
|
+
"danger"
|
142
|
+
],
|
143
|
+
"VALID_CONTENT_SCHEMES": [
|
144
|
+
"default",
|
145
|
+
"info",
|
146
|
+
"success",
|
147
|
+
"warning",
|
148
|
+
"danger"
|
149
|
+
],
|
150
|
+
"VALID_DISMISSIBLE_SCHEMES": [
|
151
|
+
"default",
|
152
|
+
"info",
|
153
|
+
"success",
|
154
|
+
"warning",
|
155
|
+
"danger"
|
156
|
+
]
|
157
|
+
},
|
158
|
+
"Ariadne::FlexComponent": {
|
159
|
+
"DEFAULT_CLASSES": "flex",
|
160
|
+
"DEFAULT_TAG": "div",
|
161
|
+
"TAG_OPTIONS": [
|
162
|
+
"div"
|
163
|
+
],
|
164
|
+
"VALID_TYPES": [
|
165
|
+
"row",
|
166
|
+
"column",
|
167
|
+
"row_reverse",
|
168
|
+
"column_reverse"
|
169
|
+
]
|
170
|
+
},
|
171
|
+
"Ariadne::FooterComponent": {
|
172
|
+
"DEFAULT_CLASSES": "ariadne-py-5"
|
173
|
+
},
|
174
|
+
"Ariadne::GridComponent": {
|
175
|
+
"DEFAULT_CLASSES": "ariadne-grid ariadne-gap-6 sm:ariadne-grid-cols-2 lg:ariadne-grid-cols-3",
|
176
|
+
"DEFAULT_LINK_COLOR_CLASSES": "ariadne-text-button-text-color ariadne-bg-button-bg-color focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2 focus:ariadne-ring-purple-500",
|
177
|
+
"GridItem": "Ariadne::GridComponent::GridItem"
|
178
|
+
},
|
179
|
+
"Ariadne::GridComponent::GridItem": {
|
180
|
+
"DEFAULT_ACTION_LINK_CLASSES": "text-button-text-color ariadne-relative ariadne--mr-px ariadne-w-0 ariadne-flex-1 ariadne-inline-flex ariadne-items-center ariadne-justify-center ariadne-py-4 ariadne-text-sm ariadne-font-medium ariadne-border ariadne-border-transparent ariadne-rounded-bl-lg ariadne-rounded-lg",
|
181
|
+
"DEFAULT_ENTRY_CLASSES": "group ariadne-flex-1 ariadne-flex ariadne-flex-col ariadne-p-8 hover:ariadne-bg-button-hover-color hover:ariadne-text-gray-500 ariadne-rounded-lg",
|
182
|
+
"DEFAULT_ITEM_CLASSES": "ariadne-flex ariadne-flex-col ariadne-text-center ariadne-rounded-lg ariadne-shadow ariadne-my-4 text-black-700 ariadne-border-black"
|
183
|
+
},
|
184
|
+
"Ariadne::HeaderComponent": {
|
185
|
+
"DEFAULT_CLASSES": "ariadne-sticky ariadne-top-0 ariadne-z-50 ariadne-px-4 ariadne-py-5 ariadne-bg-white ariadne-shadow-sm shadow-slate-900/5 ariadne-transition ariadne-duration-500",
|
186
|
+
"DEFAULT_IMAGE_LOGO_CLASSES": "ariadne-h-10 ariadne-w-auto",
|
187
|
+
"DEFAULT_NAV_LINK_CLASSES": "ariadne-inline-block ariadne-rounded-lg ariadne-py-1 ariadne-px-2 ariadne-text-sm text-slate-700 hover:bg-slate-100 hover:text-slate-900",
|
188
|
+
"DEFAULT_PROFILE_LINK_CLASSES": "group ariadne-inline-flex ariadne-items-center ariadne-justify-center ariadne-rounded-full ariadne-py-2 ariadne-px-4 ariadne-text-sm ariadne-font-semibold focus:ariadne-outline-none focus-visible:outline-2 focus-visible:outline-offset-2",
|
189
|
+
"DEFAULT_SIGNUP_LINK_CLASSES": "group ariadne-inline-flex ariadne-items-center ariadne-justify-center ariadne-rounded-full ariadne-py-2 ariadne-px-4 ariadne-text-sm ariadne-font-semibold focus:ariadne-outline-none focus-visible:outline-2 focus-visible:outline-offset-2",
|
190
|
+
"DEFAULT_TEXT_LOGO_CLASSES": "ariadne-flex ariadne-items-center ariadne-font-bold ariadne-text-xl",
|
191
|
+
"LINK_CLASSES": "ariadne-rounded-lg ariadne-py-1 ariadne-px-2 text-slate-700 hover:bg-slate-100 hover:text-slate-900"
|
192
|
+
},
|
193
|
+
"Ariadne::HeadingComponent": {
|
194
|
+
"TAG_OPTIONS": [
|
195
|
+
"h1",
|
196
|
+
"h2",
|
197
|
+
"h3",
|
198
|
+
"h4",
|
199
|
+
"h5",
|
200
|
+
"h6"
|
201
|
+
],
|
202
|
+
"TAG_TO_CLASSES": {
|
203
|
+
"h1": "ariadne-font-bold ariadne-leading-7 sm:ariadne-text-3xl",
|
204
|
+
"h2": "ariadne-text-3xl ariadne-font-extrabold",
|
205
|
+
"h3": "ariadne-text-2xl ariadne-font-extrabold"
|
206
|
+
}
|
207
|
+
},
|
208
|
+
"Ariadne::HeroiconComponent": {
|
209
|
+
"DEFAULT_TEXT_CLASSES": "ariadne-pl-2",
|
210
|
+
"PRELOADED_ICONS": [
|
211
|
+
{
|
212
|
+
"name": "bell",
|
213
|
+
"variant": "outline"
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"name": "check",
|
217
|
+
"variant": "outline"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"name": "chevron-down",
|
221
|
+
"variant": "outline"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"name": "clipboard",
|
225
|
+
"variant": "outline"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"name": "clock",
|
229
|
+
"variant": "outline"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"name": "information-circle",
|
233
|
+
"variant": "outline"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"name": "dots-horizontal",
|
237
|
+
"variant": "outline"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"name": "link",
|
241
|
+
"variant": "outline"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"name": "lock-closed",
|
245
|
+
"variant": "outline"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"name": "mail",
|
249
|
+
"variant": "outline"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"name": "menu",
|
253
|
+
"variant": "outline"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"name": "pencil",
|
257
|
+
"variant": "outline"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"name": "plus-sm",
|
261
|
+
"variant": "outline"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"name": "question-mark-circle",
|
265
|
+
"variant": "outline"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"name": "search",
|
269
|
+
"variant": "outline"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"name": "search",
|
273
|
+
"variant": "outline"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "trash",
|
277
|
+
"variant": "outline"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"name": "x-mark",
|
281
|
+
"variant": "outline"
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"SIZE_DEFAULT": "sm",
|
285
|
+
"SIZE_LARGE": "lg",
|
286
|
+
"SIZE_MAPPINGS": {
|
287
|
+
"sm": 16,
|
288
|
+
"md": 24,
|
289
|
+
"lg": 128
|
290
|
+
},
|
291
|
+
"SIZE_MEDIUM": "md",
|
292
|
+
"SIZE_OPTIONS": [
|
293
|
+
"sm",
|
294
|
+
"md",
|
295
|
+
"lg"
|
296
|
+
]
|
297
|
+
},
|
298
|
+
"Ariadne::ImageComponent": {
|
299
|
+
"DEFAULT_TAG": "img"
|
300
|
+
},
|
301
|
+
"Ariadne::InlineFlexComponent": {
|
302
|
+
"DEFAULT_CLASSES": "ariadne-inline-flex ariadne-items-baseline",
|
303
|
+
"DEFAULT_LABEL_CLASSES": "ariadne-pl-2 ariadne-text-sm ariadne-font-medium ariadne-text-gray-900",
|
304
|
+
"DEFAULT_TAG": "span",
|
305
|
+
"DEFAULT_TEXT_CLASSES": "ariadne-pl-2 ariadne-text-sm ariadne-font-medium ariadne-text-gray-900",
|
306
|
+
"DEFAULT_TEXT_CLOSED_CLASSES": "ariadne-text-state-closed",
|
307
|
+
"DEFAULT_TEXT_OPEN_CLASSES": "ariadne-text-state-open",
|
308
|
+
"STATE_CLOSED_SVG": "<svg viewBox=\"0 0 24 24\" width=\"12\" height=\"12\" class=\"ariadne-stroke-state-closed fill-state-closed \" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n</svg>\n",
|
309
|
+
"STATE_OPEN_SVG": "<svg viewBox=\"0 0 24 24\" width=\"12\" height=\"12\" class=\"ariadne-stroke-state-open\" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n</svg>\n",
|
310
|
+
"STATE_OPTIONS": [
|
311
|
+
"closed",
|
312
|
+
"open"
|
313
|
+
]
|
314
|
+
},
|
315
|
+
"Ariadne::LinkComponent": {
|
316
|
+
"DEFAULT_ACTIONABLE_CLASSES": " ariadne-cursor-pointer ariadne-underline ariadne-decoration-double ariadne-font-semibold hover:ariadne-text-button-text-color focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2 focus:ariadne-ring-purple-500",
|
317
|
+
"DEFAULT_CLASSES": "ariadne-cursor-pointer",
|
318
|
+
"DEFAULT_TAG": "a",
|
319
|
+
"TAG_OPTIONS": [
|
320
|
+
"a",
|
321
|
+
"span"
|
322
|
+
]
|
323
|
+
},
|
324
|
+
"Ariadne::ListComponent": {
|
325
|
+
"DEFAULT_TAG": "ul",
|
326
|
+
"DEFAULT_UL_CLASSES": "ariadne-divide-y ariadne-divide-gray-300",
|
327
|
+
"ListItem": "Ariadne::ListComponent::ListItem"
|
328
|
+
},
|
329
|
+
"Ariadne::ListComponent::ListItem": {
|
330
|
+
"DEFAULT_ITEM_CLASSES": "ariadne-relative ariadne-p-1.5 focus:ariadne-ring-2 focus:ariadne-ring-offset-2 focus:ariadne-ring-purple-500 hover:ariadne-bg-button-hover-color"
|
331
|
+
},
|
332
|
+
"Ariadne::MainComponent": {
|
333
|
+
"DEFAULT_CLASSES": "flex-auto"
|
334
|
+
},
|
335
|
+
"Ariadne::NarrowContainerComponent": {
|
336
|
+
"DEFAULT_CLASSES": "ariadne-max-w-7xl ariadne-mx-auto ariadne-py-12 ariadne-px-4 sm:ariadne-px-6 lg:ariadne-py-16 lg:ariadne-px-8",
|
337
|
+
"DEFAULT_TAG": "div",
|
338
|
+
"TAG_OPTIONS": [
|
339
|
+
"div"
|
340
|
+
]
|
341
|
+
},
|
342
|
+
"Ariadne::PanelBarComponent": {
|
343
|
+
"DEFAULT_CLASSES": "ariadne-border ariadne-border-gray-300 ariadne-rounded-md ariadne-divide-y ariadne-divide-gray-300 md:ariadne-flex md:ariadne-divide-y-0",
|
344
|
+
"DEFAULT_TAG": "ol",
|
345
|
+
"PanelItem": "Ariadne::PanelBarComponent::PanelItem",
|
346
|
+
"TAG_OPTIONS": [
|
347
|
+
"ol"
|
348
|
+
]
|
349
|
+
},
|
350
|
+
"Ariadne::PanelBarComponent::PanelItem": {
|
351
|
+
"DEFAULT_ITEM_CLASSES": "ariadne-relative md:ariadne-flex-1 md:ariadne-flex",
|
352
|
+
"DEFAULT_WRAPPER_CLASSES": "group ariadne-flex ariadne-items-center ariadne-w-full"
|
353
|
+
},
|
354
|
+
"Ariadne::PillComponent": {
|
355
|
+
"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",
|
356
|
+
"DEFAULT_TAG": "span",
|
357
|
+
"TAG_OPTIONS": [
|
358
|
+
"span"
|
359
|
+
]
|
360
|
+
},
|
361
|
+
"Ariadne::RichTextAreaComponent": {
|
362
|
+
"DEFAULT_CLASSES": "ariadne-block ariadne-w-full ariadne-border-0 ariadne-py-3 focus:ariadne-ring-0 sm:ariadne-text-sm",
|
363
|
+
"DEFAULT_TAG": "div"
|
364
|
+
},
|
365
|
+
"Ariadne::SlideoverComponent": {
|
366
|
+
"DEFAULT_BUTTON_CLASSES": "ariadne-inline-flex ariadne-items-center ariadne-shadow-sm ariadne-px-4 ariadne-py-1.5 ariadne-pb-2 ariadne-text-sm ariadne-leading-5 ariadne-font-medium ariadne-rounded-full ariadne-text-purple-800 ariadne-bg-purple-50 hover:ariadne-bg-purple-100 ariadne-border-purple-300 focus:ariadne-ring-offset-purple-50 focus:ariadne-ring-purple-600",
|
367
|
+
"DEFAULT_CLASSES": "",
|
368
|
+
"DEFAULT_TAG": "div",
|
369
|
+
"DIRECTION_X_LEFT": "xl",
|
370
|
+
"DIRECTION_Y_DOWN": "yd",
|
371
|
+
"TAG_OPTIONS": [
|
372
|
+
"div"
|
373
|
+
],
|
374
|
+
"VALID_DIRECTIONS": [
|
375
|
+
"yd",
|
376
|
+
"xl"
|
377
|
+
]
|
378
|
+
},
|
379
|
+
"Ariadne::TabBarComponent": {
|
380
|
+
"DEFAULT_CLASSES": "ariadne--mb-px ariadne-flex ariadne-space-x-8 ariadne-bg-transparent",
|
381
|
+
"DEFAULT_TAG": "nav",
|
382
|
+
"TAG_OPTIONS": [
|
383
|
+
"nav"
|
384
|
+
]
|
385
|
+
},
|
386
|
+
"Ariadne::TabComponent": {
|
387
|
+
"BASE_TAB_CLASSES": "ariadne-whitespace-nowrap ariadne-py-4 ariadne-px-1 ariadne-border-b-2 ariadne-font-medium ariadne-text-sm",
|
388
|
+
"DEFAULT_CLASSES": "ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-py-5 ariadne-px-5 ariadne-rounded-md",
|
389
|
+
"DEFAULT_TAG": "button",
|
390
|
+
"TAG_OPTIONS": [
|
391
|
+
"button"
|
392
|
+
]
|
393
|
+
},
|
394
|
+
"Ariadne::Text": {
|
395
|
+
"DEFAULT_TAG": "span"
|
396
|
+
},
|
397
|
+
"Ariadne::TimeAgoComponent": {
|
398
|
+
"DEFAULT_CLASSES": "ariadne-whitespace-nowrap",
|
399
|
+
"DEFAULT_TAG": "time-ago",
|
400
|
+
"TAG_OPTIONS": [
|
401
|
+
"time-ago"
|
402
|
+
]
|
403
|
+
},
|
404
|
+
"Ariadne::TimelineComponent": {
|
405
|
+
"DEFAULT_CLASSES": "",
|
406
|
+
"DEFAULT_TAG": "div"
|
407
|
+
},
|
408
|
+
"Ariadne::TooltipComponent": {
|
409
|
+
"DATA_ACTION": "mouseover->tooltip-component#show mouseout->tooltip-component#hide",
|
410
|
+
"DATA_CONTROLLER": "tooltip-component",
|
411
|
+
"DEFAULT_CLASSES": "ariadne-invisible ariadne-absolute ariadne-bg-slate-900 ariadne-text-white ariadne-font-semibold ariadne-max-w-xs ariadne-py-1 ariadne-px-2 ariadne-rounded z-max",
|
412
|
+
"DEFAULT_PLACEMENT": "top",
|
413
|
+
"DEFAULT_TAG": "tooltip",
|
414
|
+
"TYPE_DEFAULT": "description",
|
415
|
+
"TYPE_OPTIONS": [
|
416
|
+
"label",
|
417
|
+
"description"
|
418
|
+
],
|
419
|
+
"VALID_PLACEMENTS": [
|
420
|
+
"top",
|
421
|
+
"right",
|
422
|
+
"bottom",
|
423
|
+
"left"
|
424
|
+
]
|
425
|
+
}
|
426
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{
|
2
|
+
"Ariadne::BaseButton": "stable",
|
3
|
+
"Ariadne::BaseComponent": "stable",
|
4
|
+
"Ariadne::BlankslateComponent": "stable",
|
5
|
+
"Ariadne::BodyComponent": "stable",
|
6
|
+
"Ariadne::ButtonComponent": "stable",
|
7
|
+
"Ariadne::ClipboardCopyComponent": "stable",
|
8
|
+
"Ariadne::CommentComponent": "stable",
|
9
|
+
"Ariadne::ContainerComponent": "stable",
|
10
|
+
"Ariadne::Content": "stable",
|
11
|
+
"Ariadne::CounterComponent": "stable",
|
12
|
+
"Ariadne::FlashComponent": "stable",
|
13
|
+
"Ariadne::FlexComponent": "stable",
|
14
|
+
"Ariadne::FooterComponent": "stable",
|
15
|
+
"Ariadne::GridComponent": "stable",
|
16
|
+
"Ariadne::GridComponent::GridItem": "stable",
|
17
|
+
"Ariadne::HeaderComponent": "stable",
|
18
|
+
"Ariadne::HeadingComponent": "stable",
|
19
|
+
"Ariadne::HeroiconComponent": "stable",
|
20
|
+
"Ariadne::ImageComponent": "stable",
|
21
|
+
"Ariadne::InlineFlexComponent": "stable",
|
22
|
+
"Ariadne::LinkComponent": "stable",
|
23
|
+
"Ariadne::ListComponent": "stable",
|
24
|
+
"Ariadne::ListComponent::ListItem": "stable",
|
25
|
+
"Ariadne::MainComponent": "stable",
|
26
|
+
"Ariadne::NarrowContainerComponent": "stable",
|
27
|
+
"Ariadne::PanelBarComponent": "stable",
|
28
|
+
"Ariadne::PanelBarComponent::PanelItem": "stable",
|
29
|
+
"Ariadne::PillComponent": "stable",
|
30
|
+
"Ariadne::RichTextAreaComponent": "stable",
|
31
|
+
"Ariadne::SlideoverComponent": "stable",
|
32
|
+
"Ariadne::TabBarComponent": "stable",
|
33
|
+
"Ariadne::TabComponent": "stable",
|
34
|
+
"Ariadne::Text": "stable",
|
35
|
+
"Ariadne::TimeAgoComponent": "stable",
|
36
|
+
"Ariadne::TimelineComponent": "stable",
|
37
|
+
"Ariadne::TooltipComponent": "stable"
|
38
|
+
}
|