ariadne_view_components 0.0.59 → 0.0.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +70 -0
- data/LICENSE.txt +661 -49
- data/README.md +52 -4
- data/app/assets/javascripts/ariadne_view_components.js +98 -7
- data/app/assets/javascripts/ariadne_view_components.js.br +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.gz +0 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/assets/stylesheets/ariadne_view_components.css +1 -7
- data/app/assets/stylesheets/ariadne_view_components.css.br +0 -0
- data/app/assets/stylesheets/ariadne_view_components.css.gz +0 -0
- data/app/components/ariadne/base_component.rb +79 -27
- data/app/components/ariadne/behaviors/tooltipable.rb +120 -0
- data/app/components/ariadne/conditional_wrapper.rb +21 -0
- data/app/components/ariadne/form/base_component.rb +74 -0
- data/app/components/ariadne/form/base_input_component.rb +60 -0
- data/app/components/ariadne/form/caption/component.html.erb +10 -0
- data/app/components/ariadne/form/caption/component.rb +29 -0
- data/app/components/ariadne/form/form_control/component.html.erb +19 -0
- data/app/components/ariadne/form/form_control/component.rb +27 -0
- data/app/components/ariadne/form/form_reference/component.html.erb +1 -0
- data/app/components/ariadne/form/form_reference/component.rb +18 -0
- data/app/components/ariadne/form/group/component.html.erb +5 -0
- data/app/components/ariadne/form/group/component.rb +27 -0
- data/app/components/ariadne/form/hidden_field/component.html.erb +1 -0
- data/app/components/ariadne/form/hidden_field/component.rb +15 -0
- data/app/components/ariadne/form/separator/component.html.erb +1 -0
- data/app/components/ariadne/form/separator/component.rb +8 -0
- data/app/components/ariadne/form/spacing_wrapper/component.html.erb +3 -0
- data/app/components/ariadne/form/spacing_wrapper/component.rb +8 -0
- data/app/components/ariadne/form/text_field/component.html.erb +25 -0
- data/app/components/ariadne/form/text_field/component.rb +132 -0
- data/app/components/ariadne/form/validation_message/component.html.erb +5 -0
- data/app/components/ariadne/form/validation_message/component.rb +14 -0
- data/app/components/ariadne/layout/narrow/component.html.erb +10 -0
- data/app/components/ariadne/layout/narrow/component.rb +24 -0
- data/app/components/ariadne/layout/nav_bar/component.css +0 -0
- data/app/components/ariadne/layout/nav_bar/component.html.erb +123 -0
- data/app/components/ariadne/layout/nav_bar/component.rb +77 -0
- data/app/components/ariadne/ui/button/component.html.erb +5 -0
- data/app/components/ariadne/ui/button/component.rb +184 -0
- data/app/components/ariadne/ui/clipboard_copy/component.html.erb +8 -0
- data/app/components/ariadne/ui/clipboard_copy/component.rb +102 -0
- data/app/components/ariadne/ui/clipboard_copy/component.ts +54 -0
- data/app/components/ariadne/ui/combobox/component.html.erb +32 -0
- data/app/components/ariadne/ui/combobox/component.rb +83 -0
- data/app/components/ariadne/ui/combobox/component.ts +119 -0
- data/app/components/ariadne/ui/combobox/menu_item/component.html.erb +9 -0
- data/app/components/ariadne/ui/combobox/menu_item/component.rb +53 -0
- data/app/components/ariadne/ui/combobox/option/component.html.erb +11 -0
- data/app/components/ariadne/ui/combobox/option/component.rb +45 -0
- data/app/components/ariadne/ui/heroicon/component.html.erb +3 -0
- data/app/components/ariadne/ui/heroicon/component.rb +141 -0
- data/app/components/ariadne/ui/image/component.rb +69 -0
- data/app/components/ariadne/ui/link/component.html.erb +3 -0
- data/app/components/ariadne/ui/link/component.rb +56 -0
- data/app/components/ariadne/ui/typography/component.html.erb +3 -0
- data/app/components/ariadne/ui/typography/component.rb +41 -0
- data/app/frontend/ariadne/index.ts +14 -0
- data/app/frontend/ariadne/stimulus_app.ts +53 -0
- data/app/frontend/ariadne/theme.ts +8 -0
- data/app/frontend/controllers/tooltip.ts +75 -0
- data/app/frontend/entrypoints/application.ts +1 -0
- data/app/frontend/stylesheets/ariadne_view_components.css +18 -0
- data/app/frontend/stylesheets/scrollbar.css +28 -0
- data/app/frontend/stylesheets/tippy.js/themes/tomato.css +4 -0
- data/app/frontend/stylesheets/typography.css +117 -0
- data/app/frontend/utils/createController.ts +95 -0
- data/app/helpers/ariadne/form_helper.rb +31 -0
- data/app/lib/ariadne/attributes_helper.rb +119 -0
- data/app/lib/ariadne/fetch_or_fallback_helper.rb +1 -1
- data/app/lib/ariadne/form.rb +16 -0
- data/app/lib/ariadne/view_helper.rb +2 -5
- data/app/lib/view_components_contrib/html_attrs.rb +64 -0
- data/app/lib/view_components_contrib/style_variants.rb +14 -0
- data/lib/ariadne/forms/acts_as_component.rb +125 -0
- data/lib/ariadne/forms/base.html.erb +8 -0
- data/lib/ariadne/forms/base.rb +132 -0
- data/lib/ariadne/forms/buffer_rewriter.rb +51 -0
- data/lib/ariadne/forms/builder.rb +88 -0
- data/lib/ariadne/forms/dsl/button_input.rb +33 -0
- data/lib/ariadne/forms/dsl/form_object.rb +26 -0
- data/lib/ariadne/forms/dsl/input.rb +322 -0
- data/lib/ariadne/forms/dsl/input_group.rb +34 -0
- data/lib/ariadne/forms/dsl/input_methods.rb +157 -0
- data/lib/ariadne/forms/dsl/submit_button_input.rb +36 -0
- data/lib/ariadne/forms/dsl/text_field_input.rb +73 -0
- data/lib/ariadne/forms/utils.rb +34 -0
- data/lib/ariadne/generate.rb +11 -0
- data/lib/ariadne/view_components/engine.rb +24 -7
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/ariadne/view_components.rb +1 -1
- data/lib/ariadne/yard/backend.rb +24 -0
- data/lib/ariadne/yard/component_manifest.rb +148 -0
- data/lib/ariadne/yard/component_ref.rb +49 -0
- data/lib/ariadne/yard/docs_helper.rb +98 -0
- data/lib/ariadne/yard/info_arch_docs_helper.rb +31 -0
- data/lib/ariadne/yard/lookbook_docs_helper.rb +32 -0
- data/lib/ariadne/yard/lookbook_pages_backend.rb +235 -0
- data/lib/ariadne/yard/registry.rb +136 -0
- data/lib/ariadne/yard/renders_many_handler.rb +23 -0
- data/lib/ariadne/yard/renders_one_handler.rb +23 -0
- data/lib/ariadne/yard.rb +19 -0
- data/static/arguments.yml +141 -48
- data/static/audited_at.json +0 -9
- data/static/classes.yml +210 -209
- data/static/constants.json +2 -209
- data/static/statuses.json +0 -9
- metadata +140 -210
- data/app/assets/builds/ariadne_view_components.css +0 -2202
- data/app/assets/javascripts/components/ariadne/accumulator_controller/accumulator_controller.d.ts +0 -22
- data/app/assets/javascripts/components/ariadne/ariadne-form.d.ts +0 -22
- data/app/assets/javascripts/components/ariadne/ariadne.d.ts +0 -2
- data/app/assets/javascripts/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts +0 -4
- data/app/assets/javascripts/components/ariadne/dropdown/menu_component.d.ts +0 -1
- data/app/assets/javascripts/components/ariadne/events_controller/events_controller.d.ts +0 -4
- data/app/assets/javascripts/components/ariadne/options_controller/options_controller.d.ts +0 -39
- data/app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts +0 -42
- data/app/assets/javascripts/components/ariadne/slideover_component/slideover-component.d.ts +0 -9
- data/app/assets/javascripts/components/ariadne/string_match_controller/string_match_controller.d.ts +0 -27
- data/app/assets/javascripts/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts +0 -48
- data/app/assets/javascripts/components/ariadne/tab_container_component/tab-container-component.d.ts +0 -1
- data/app/assets/javascripts/components/ariadne/tab_nav_component/tab-nav-component.d.ts +0 -9
- data/app/assets/javascripts/components/ariadne/time_ago_component/time-ago-component.d.ts +0 -1
- data/app/assets/javascripts/components/ariadne/toggleable_controller/toggleable_controller.d.ts +0 -34
- data/app/assets/javascripts/components/ariadne/tooltip_component/tooltip-component.d.ts +0 -24
- data/app/assets/stylesheets/dropdown.css +0 -46
- data/app/assets/stylesheets/prosemirror.css +0 -323
- data/app/assets/stylesheets/tooltip-component.css +0 -37
- data/app/components/ariadne/accumulator_controller/accumulator_controller.d.ts +0 -22
- data/app/components/ariadne/accumulator_controller/accumulator_controller.js +0 -39
- data/app/components/ariadne/accumulator_controller/accumulator_controller.ts +0 -48
- data/app/components/ariadne/action_card_component.html.erb +0 -13
- data/app/components/ariadne/action_card_component.rb +0 -88
- data/app/components/ariadne/ariadne-form.d.ts +0 -22
- data/app/components/ariadne/ariadne-form.js +0 -85
- data/app/components/ariadne/ariadne.d.ts +0 -2
- data/app/components/ariadne/ariadne.js +0 -24
- data/app/components/ariadne/ariadne.ts +0 -29
- data/app/components/ariadne/avatar_component.rb +0 -81
- data/app/components/ariadne/avatar_stack_component/avatar_stack_component.html.erb +0 -12
- data/app/components/ariadne/avatar_stack_component.rb +0 -75
- data/app/components/ariadne/base_button.rb +0 -70
- data/app/components/ariadne/blankslate_component/blankslate_component.html.erb +0 -26
- data/app/components/ariadne/blankslate_component.rb +0 -148
- data/app/components/ariadne/body_component.rb +0 -30
- data/app/components/ariadne/bottom_tab_component.html.erb +0 -4
- data/app/components/ariadne/bottom_tab_component.rb +0 -44
- data/app/components/ariadne/bottom_tab_nav_component.html.erb +0 -5
- data/app/components/ariadne/bottom_tab_nav_component.rb +0 -33
- data/app/components/ariadne/breadcrumbs_component.html.erb +0 -13
- data/app/components/ariadne/breadcrumbs_component.rb +0 -31
- data/app/components/ariadne/button_component/button_component.html.erb +0 -4
- data/app/components/ariadne/button_component.rb +0 -165
- data/app/components/ariadne/checkbox_component.html.erb +0 -5
- data/app/components/ariadne/checkbox_component.rb +0 -43
- data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts +0 -4
- data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.js +0 -18
- data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.ts +0 -19
- data/app/components/ariadne/clipboard_copy_component/clipboard_copy_component.html.erb +0 -9
- data/app/components/ariadne/clipboard_copy_component.rb +0 -90
- data/app/components/ariadne/close_button_component.html.erb +0 -4
- data/app/components/ariadne/close_button_component.rb +0 -33
- data/app/components/ariadne/combobox_component.html.erb +0 -14
- data/app/components/ariadne/combobox_component.rb +0 -76
- data/app/components/ariadne/component.rb +0 -127
- data/app/components/ariadne/container_component/container_component.html.erb +0 -3
- data/app/components/ariadne/container_component.rb +0 -25
- data/app/components/ariadne/content.rb +0 -12
- data/app/components/ariadne/counter_component.rb +0 -100
- data/app/components/ariadne/details_component/details_component.html.erb +0 -4
- data/app/components/ariadne/details_component.rb +0 -81
- data/app/components/ariadne/dropdown/menu_component.d.ts +0 -1
- data/app/components/ariadne/dropdown/menu_component.html.erb +0 -20
- data/app/components/ariadne/dropdown/menu_component.js +0 -1
- data/app/components/ariadne/dropdown/menu_component.rb +0 -101
- data/app/components/ariadne/dropdown/menu_component.ts +0 -1
- data/app/components/ariadne/dropdown_component/dropdown_component.html.erb +0 -8
- data/app/components/ariadne/dropdown_component.rb +0 -172
- data/app/components/ariadne/events_controller/events_controller.d.ts +0 -4
- data/app/components/ariadne/events_controller/events_controller.js +0 -6
- data/app/components/ariadne/events_controller/events_controller.ts +0 -7
- data/app/components/ariadne/flash_component/flash_component.html.erb +0 -31
- data/app/components/ariadne/flash_component.rb +0 -128
- data/app/components/ariadne/flex_component/flex_component.html.erb +0 -5
- data/app/components/ariadne/flex_component.rb +0 -56
- data/app/components/ariadne/footer_component/footer_component.html.erb +0 -7
- data/app/components/ariadne/footer_component.rb +0 -23
- data/app/components/ariadne/grid_component/grid_component.html.erb +0 -26
- data/app/components/ariadne/grid_component.rb +0 -67
- data/app/components/ariadne/header_component/header_component.html.erb +0 -29
- data/app/components/ariadne/header_component.rb +0 -111
- data/app/components/ariadne/heading_component.rb +0 -49
- data/app/components/ariadne/heroicon_component/heroicon_component.html.erb +0 -4
- data/app/components/ariadne/heroicon_component.rb +0 -166
- data/app/components/ariadne/image_component.rb +0 -53
- data/app/components/ariadne/inline_flex_component/inline_flex_component.html.erb +0 -6
- data/app/components/ariadne/inline_flex_component.rb +0 -72
- data/app/components/ariadne/layout_component.html.erb +0 -21
- data/app/components/ariadne/layout_component.rb +0 -69
- data/app/components/ariadne/link_component.rb +0 -65
- data/app/components/ariadne/list_component/list_component.html.erb +0 -3
- data/app/components/ariadne/list_component.rb +0 -70
- data/app/components/ariadne/modal_component.html.erb +0 -11
- data/app/components/ariadne/modal_component.rb +0 -88
- data/app/components/ariadne/narrow_container_component/narrow_container_component.html.erb +0 -3
- data/app/components/ariadne/narrow_container_component.rb +0 -30
- data/app/components/ariadne/options_controller/options_controller.d.ts +0 -39
- data/app/components/ariadne/options_controller/options_controller.js +0 -89
- data/app/components/ariadne/options_controller/options_controller.ts +0 -122
- data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts +0 -42
- data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.js +0 -237
- data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.ts +0 -278
- data/app/components/ariadne/panel_bar_component/panel_bar_component.html.erb +0 -20
- data/app/components/ariadne/panel_bar_component.rb +0 -80
- data/app/components/ariadne/pill_component/pill_component.html.erb +0 -3
- data/app/components/ariadne/pill_component.rb +0 -44
- data/app/components/ariadne/popover_component.html.erb +0 -10
- data/app/components/ariadne/popover_component.rb +0 -81
- data/app/components/ariadne/progress_bar_component.html.erb +0 -5
- data/app/components/ariadne/progress_bar_component.rb +0 -63
- data/app/components/ariadne/relative_time_component.html.erb +0 -3
- data/app/components/ariadne/relative_time_component.rb +0 -61
- data/app/components/ariadne/show_more_button_component.html.erb +0 -11
- data/app/components/ariadne/show_more_button_component.rb +0 -47
- data/app/components/ariadne/slideover_component/slideover-component.d.ts +0 -9
- data/app/components/ariadne/slideover_component/slideover-component.js +0 -11
- data/app/components/ariadne/slideover_component/slideover-component.ts +0 -17
- data/app/components/ariadne/slideover_component/slideover_component.html.erb +0 -9
- data/app/components/ariadne/slideover_component.rb +0 -66
- data/app/components/ariadne/spinner_component.html.erb +0 -16
- data/app/components/ariadne/spinner_component.rb +0 -45
- data/app/components/ariadne/string_match_controller/string_match_controller.d.ts +0 -27
- data/app/components/ariadne/string_match_controller/string_match_controller.js +0 -51
- data/app/components/ariadne/string_match_controller/string_match_controller.ts +0 -65
- data/app/components/ariadne/subheader_component.html.erb +0 -11
- data/app/components/ariadne/subheader_component.rb +0 -65
- data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts +0 -48
- data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.js +0 -207
- data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.ts +0 -256
- data/app/components/ariadne/tab_component/tab_component.html.erb +0 -3
- data/app/components/ariadne/tab_component.rb +0 -98
- data/app/components/ariadne/tab_container_component/tab-container-component.d.ts +0 -1
- data/app/components/ariadne/tab_container_component/tab-container-component.js +0 -23
- data/app/components/ariadne/tab_container_component/tab-container-component.ts +0 -24
- data/app/components/ariadne/tab_container_component.erb +0 -10
- data/app/components/ariadne/tab_container_component.rb +0 -68
- data/app/components/ariadne/tab_nav_component/tab-nav-component.d.ts +0 -9
- data/app/components/ariadne/tab_nav_component/tab-nav-component.js +0 -33
- data/app/components/ariadne/tab_nav_component/tab-nav-component.ts +0 -34
- data/app/components/ariadne/tab_nav_component/tab_nav_component.html.erb +0 -7
- data/app/components/ariadne/tab_nav_component.rb +0 -72
- data/app/components/ariadne/table_nav_component/table_nav_component.html.erb +0 -52
- data/app/components/ariadne/table_nav_component.rb +0 -338
- data/app/components/ariadne/text.rb +0 -25
- data/app/components/ariadne/time_ago_component/time-ago-component.d.ts +0 -1
- data/app/components/ariadne/time_ago_component/time-ago-component.js +0 -1
- data/app/components/ariadne/time_ago_component/time-ago-component.ts +0 -1
- data/app/components/ariadne/time_ago_component.rb +0 -56
- data/app/components/ariadne/timeline_component/timeline_component.html.erb +0 -19
- data/app/components/ariadne/timeline_component.rb +0 -34
- data/app/components/ariadne/toggle_component/toggle_component.html.erb +0 -15
- data/app/components/ariadne/toggle_component.rb +0 -95
- data/app/components/ariadne/toggleable_controller/toggleable_controller.d.ts +0 -34
- data/app/components/ariadne/toggleable_controller/toggleable_controller.js +0 -54
- data/app/components/ariadne/toggleable_controller/toggleable_controller.ts +0 -77
- data/app/components/ariadne/tooltip_component/tooltip-component.d.ts +0 -24
- data/app/components/ariadne/tooltip_component/tooltip-component.js +0 -43
- data/app/components/ariadne/tooltip_component/tooltip-component.ts +0 -57
- data/app/components/ariadne/tooltip_component/tooltip_component.html.erb +0 -4
- data/app/components/ariadne/tooltip_component.rb +0 -108
- data/app/lib/ariadne/action_view_extensions/form_helper.rb +0 -30
- data/app/lib/ariadne/audited/dsl.rb +0 -32
- data/app/lib/ariadne/form_builder.rb +0 -80
- data/app/lib/ariadne/status/dsl.rb +0 -41
- data/config/importmap.rb +0 -3
- data/exe/tailwindcss +0 -21
- data/lib/rubocop/cop/ariadne/base_cop.rb +0 -26
- data/tailwind.config.js +0 -70
data/static/constants.json
CHANGED
@@ -1,33 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"Ariadne::ActionCardComponent": {
|
3
|
-
"DEFAULT_ACTION_TAG": "a",
|
4
|
-
"DEFAULT_ATTRIBUTES": {
|
5
|
-
"wrapper": {
|
6
|
-
},
|
7
|
-
"link": {
|
8
|
-
},
|
9
|
-
"icon": {
|
10
|
-
},
|
11
|
-
"title": {
|
12
|
-
},
|
13
|
-
"action": {
|
14
|
-
}
|
15
|
-
},
|
16
|
-
"DEFAULT_CLASSES": {
|
17
|
-
"wrapper": "ariadne-overflow-hidden ariadne-w-96 ariadne-rounded-lg ariadne-mr-4 [&:last]:ariadne-mr-0",
|
18
|
-
"actions_wrapper": "ariadne-flex ariadne-w-full",
|
19
|
-
"icon": "",
|
20
|
-
"link": "ariadne-flex ariadne-flex-col ariadne-items-center",
|
21
|
-
"title": "ariadne-text-center ariadne-mb-4 ariadne-text-xl ariadne-font-bold",
|
22
|
-
"action": "ariadne-w-full ariadne-flex ariadne-items-center ariadne-justify-center ariadne-py-6 ariadne-text-sm"
|
23
|
-
},
|
24
|
-
"DEFAULT_ICON_TAG": "svg",
|
25
|
-
"DEFAULT_TAG": "div",
|
26
|
-
"DEFAULT_TITLE_TAG": "h3",
|
27
|
-
"TAG_OPTIONS": [
|
28
|
-
"div"
|
29
|
-
]
|
30
|
-
},
|
31
2
|
"Ariadne::AvatarComponent": {
|
32
3
|
"DEFAULT_CLASSES": "ariadne-inline-block ariadne-rounded-full ariadne-ring-2 ariadne-ring-white",
|
33
4
|
"DEFAULT_SHAPE": "circle",
|
@@ -127,33 +98,6 @@
|
|
127
98
|
"Ariadne::BodyComponent": {
|
128
99
|
"DEFAULT_CLASSES": "ariadne-scroll-smooth ariadne-antialiased"
|
129
100
|
},
|
130
|
-
"Ariadne::BottomTabComponent": {
|
131
|
-
"DEFAULT_ATTRIBUTES": {
|
132
|
-
"data-action": "click->options#select",
|
133
|
-
"data-options-target": "option",
|
134
|
-
"role": "tab",
|
135
|
-
"tabindex": "0"
|
136
|
-
},
|
137
|
-
"DEFAULT_CLASSES": "ariadne-w-full ariadne-py-4 ariadne-flex ariadne-flex-col ariadne-justify-center ariadne-items-center ariadne-cursor-pointer [&>span]:ariadne-p-0 ariadne-border-y-2 ariadne-border-r-2 first:ariadne-border-l-2 ariadne-border-solid ariadne-border-black",
|
138
|
-
"DEFAULT_TAG": "a",
|
139
|
-
"TAB_BACKGROUND_COLOR_CLASSES": "aria-selected:ariadne-bg-gray-200",
|
140
|
-
"TAG_OPTIONS": [
|
141
|
-
"a"
|
142
|
-
]
|
143
|
-
},
|
144
|
-
"Ariadne::BottomTabNavComponent": {
|
145
|
-
"DEFAULT_ATTRIBUTES": {
|
146
|
-
"data-controller": "options",
|
147
|
-
"data-options-synced-attrs-value": "[\"aria-selected\"]",
|
148
|
-
"role": "tablist"
|
149
|
-
},
|
150
|
-
"DEFAULT_CLASSES": "ariadne-flex",
|
151
|
-
"DEFAULT_TAB_TAG": "a",
|
152
|
-
"DEFAULT_TAG": "nav",
|
153
|
-
"TAG_OPTIONS": [
|
154
|
-
"nav"
|
155
|
-
]
|
156
|
-
},
|
157
101
|
"Ariadne::BreadcrumbsComponent": {
|
158
102
|
"DEFAULT_CLASSES": {
|
159
103
|
"wrapper": "",
|
@@ -229,30 +173,6 @@
|
|
229
173
|
"button"
|
230
174
|
]
|
231
175
|
},
|
232
|
-
"Ariadne::ComboboxComponent": {
|
233
|
-
"DEFAULT_ATTRIBUTES": {
|
234
|
-
"wrapper": {
|
235
|
-
"data-controller": "options toggleable string-match"
|
236
|
-
},
|
237
|
-
"options_wrapper": {
|
238
|
-
},
|
239
|
-
"input": {
|
240
|
-
"type": "text",
|
241
|
-
"autocomplete": "off",
|
242
|
-
"data-action": "input->string-match#change focusin->toggleable#on"
|
243
|
-
}
|
244
|
-
},
|
245
|
-
"DEFAULT_CLASSES": {
|
246
|
-
"wrapper": "ariadne-group ariadne-w-fit ariadne-relative",
|
247
|
-
"options_wrapper": "group-data-[toggleable-state-value=false]:ariadne-hidden ariadne-absolute ariadne-w-full ariadne-z-10",
|
248
|
-
"input": ""
|
249
|
-
},
|
250
|
-
"DEFAULT_OPTIONS_WRAPPER_TAG": "div",
|
251
|
-
"DEFAULT_TAG": "div",
|
252
|
-
"TAG_OPTIONS": [
|
253
|
-
"div"
|
254
|
-
]
|
255
|
-
},
|
256
176
|
"Ariadne::ContainerComponent": {
|
257
177
|
"DEFAULT_CLASSES": "ariadne-px-4 sm:ariadne-px-6 lg:ariadne-px-8"
|
258
178
|
},
|
@@ -269,7 +189,8 @@
|
|
269
189
|
"NO_OVERLAY": "none",
|
270
190
|
"OVERLAY_MAPPINGS": {
|
271
191
|
"none": "",
|
272
|
-
"default": ""
|
192
|
+
"default": "ariadne-details-overlay",
|
193
|
+
"dark": "ariadne-details-overlay ariadne-details-overlay-dark"
|
273
194
|
},
|
274
195
|
"VALID_BODY_TAGS": [
|
275
196
|
"ul",
|
@@ -528,28 +449,6 @@
|
|
528
449
|
"open"
|
529
450
|
]
|
530
451
|
},
|
531
|
-
"Ariadne::LayoutComponent": {
|
532
|
-
"DEFAULT_ASIDE_TAG": "div",
|
533
|
-
"DEFAULT_ATTRIBUTES": {
|
534
|
-
"wrapper": {
|
535
|
-
},
|
536
|
-
"sidecar": {
|
537
|
-
},
|
538
|
-
"main": {
|
539
|
-
},
|
540
|
-
"aside": {
|
541
|
-
}
|
542
|
-
},
|
543
|
-
"DEFAULT_CLASSES": {
|
544
|
-
"wrapper": "ariadne-group ariadne-flex ariadne-gap-2 ariadne-flex-col md:ariadne-flex-row",
|
545
|
-
"sidecar": "ariadne-w-full md:ariadne-w-1/6",
|
546
|
-
"main": "ariadne-grow",
|
547
|
-
"aside": "ariadne-w-full md:ariadne-w-1/6"
|
548
|
-
},
|
549
|
-
"DEFAULT_MAIN_TAG": "div",
|
550
|
-
"DEFAULT_SIDECAR_TAG": "div",
|
551
|
-
"DEFAULT_TAG": "div"
|
552
|
-
},
|
553
452
|
"Ariadne::LinkComponent": {
|
554
453
|
"DEFAULT_ACTIONABLE_CLASSES": "ariadne-cursor-pointer ariadne-font-semibold ariadne-underline ariadne-decoration-double",
|
555
454
|
"DEFAULT_CLASSES": "ariadne-cursor-pointer hover:ariadne-text-button-text-color focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2 focus:ariadne-ring-purple-500",
|
@@ -567,34 +466,6 @@
|
|
567
466
|
"Ariadne::ListComponent::ListItem": {
|
568
467
|
"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"
|
569
468
|
},
|
570
|
-
"Ariadne::ModalComponent": {
|
571
|
-
"DEFAULT_ATTRIBUTES": {
|
572
|
-
"wrapper": {
|
573
|
-
"data-controller": "toggleable",
|
574
|
-
"data-action": "click->toggleable#toggle",
|
575
|
-
"data-toggleable-anti-attrs-value": "[\"aria-hidden\"]"
|
576
|
-
},
|
577
|
-
"shadow": {
|
578
|
-
},
|
579
|
-
"content": {
|
580
|
-
"role": "dialog"
|
581
|
-
},
|
582
|
-
"close_button": {
|
583
|
-
}
|
584
|
-
},
|
585
|
-
"DEFAULT_CLASSES": {
|
586
|
-
"wrapper": "ariadne-group",
|
587
|
-
"shadow": "ariadne-w-screen ariadne-h-screen ariadne-bg-black/20 ariadne-fixed ariadne-top-0 ariadne-left-0 ariadne-flex ariadne-justify-center ariadne-items-center data-[close-on-click=true]:ariadne-cursor-pointer",
|
588
|
-
"content": "ariadne-bg-white ariadne-p-2 ariadne-relative ariadne-cursor-default",
|
589
|
-
"close_button": "ariadne-absolute ariadne-right-2 ariadne-pt-1 ariadne-pb-1 ariadne-pl-1 ariadne-pr-1"
|
590
|
-
},
|
591
|
-
"DEFAULT_SHADOW_TAG": "div",
|
592
|
-
"DEFAULT_TAG": "div",
|
593
|
-
"SHADOW_VISIBILITY_CLASSES": "group-aria-hidden:ariadne-hidden",
|
594
|
-
"TAG_OPTIONS": [
|
595
|
-
"div"
|
596
|
-
]
|
597
|
-
},
|
598
469
|
"Ariadne::NarrowContainerComponent": {
|
599
470
|
"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",
|
600
471
|
"DEFAULT_TAG": "div",
|
@@ -621,42 +492,6 @@
|
|
621
492
|
"span"
|
622
493
|
]
|
623
494
|
},
|
624
|
-
"Ariadne::PopoverComponent": {
|
625
|
-
"DEFAULT_ATTRIBUTES": {
|
626
|
-
"data-controller": "toggleable",
|
627
|
-
"data-action": "click->toggleable#toggle",
|
628
|
-
"data-toggleable-synced-attrs-value": "[\"data-popover-visible\"]"
|
629
|
-
},
|
630
|
-
"DEFAULT_CLASSES": {
|
631
|
-
"wrapper": "ariadne-group ariadne-relative ariadne-w-fit",
|
632
|
-
"items": "ariadne-w-fit ariadne-absolute ariadne-shadow-lg ariadne-z-10 ariadne-p-2 ariadne-bg-white ariadne-rounded-md",
|
633
|
-
"base": "ariadne-inline-block"
|
634
|
-
},
|
635
|
-
"DEFAULT_TAG": "div",
|
636
|
-
"DIRECTIONS": [
|
637
|
-
"top",
|
638
|
-
"right",
|
639
|
-
"bottom",
|
640
|
-
"left"
|
641
|
-
],
|
642
|
-
"HORIZONTAL_ALIGNMENTS": [
|
643
|
-
"left",
|
644
|
-
"right",
|
645
|
-
"center"
|
646
|
-
],
|
647
|
-
"ITEMS_DIRECITON_CLASSES": "group-data-[popover-direction=top]:ariadne-bottom-full group-data-[popover-direction=top]:-ariadne-translate-y-2 group-data-[popover-direction=bottom]:ariadne-top-full group-data-[popover-direction=bottom]:ariadne-translate-y-2",
|
648
|
-
"ITEMS_HORIZONTAL_ALIGNMENT_CLASSES": "group-data-[popover-horizontal-alignment=left]:ariadne-left-0 group-data-[popover-horizontal-alignment=right]:ariadne-right-0 group-data-[popover-horizontal-alignment=center]:ariadne-left-1/2 group-data-[popover-horizontal-alignment=center]:-ariadne-translate-x-1/2",
|
649
|
-
"ITEMS_VISIBILITY_CLASSES": "group-data-[popover-visible=false]:ariadne-hidden",
|
650
|
-
"ROLES": [
|
651
|
-
"menu",
|
652
|
-
"dialog",
|
653
|
-
"listbox",
|
654
|
-
"tooltip"
|
655
|
-
],
|
656
|
-
"TAG_OPTIONS": [
|
657
|
-
"div"
|
658
|
-
]
|
659
|
-
},
|
660
495
|
"Ariadne::ProgressBarComponent": {
|
661
496
|
"BAR_SIZES": {
|
662
497
|
"sm": "ariadne-h-2",
|
@@ -691,24 +526,6 @@
|
|
691
526
|
"span"
|
692
527
|
]
|
693
528
|
},
|
694
|
-
"Ariadne::ShowMoreButtonComponent": {
|
695
|
-
"DEFAULT_ATTRIBUTES": {
|
696
|
-
"wrapper": {
|
697
|
-
"data-controller": "toggleable"
|
698
|
-
},
|
699
|
-
"button": {
|
700
|
-
"data-action": "click->toggleable#toggle"
|
701
|
-
}
|
702
|
-
},
|
703
|
-
"DEFAULT_CLASSES": {
|
704
|
-
"wrapper": "ariadne-group",
|
705
|
-
"button": "ariadne-px-2 ariadne-py-0"
|
706
|
-
},
|
707
|
-
"DEFAULT_TAG": "div",
|
708
|
-
"TAG_OPTIONS": [
|
709
|
-
"div"
|
710
|
-
]
|
711
|
-
},
|
712
529
|
"Ariadne::SlideoverComponent": {
|
713
530
|
"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-slate-800 ariadne-bg-slate-50 hover:ariadne-bg-slate-100 ariadne-border-slate-300 focus:ariadne-ring-offset-slate-50 focus:ariadne-ring-slate-600",
|
714
531
|
"DEFAULT_CLASSES": "ariadne-flex ariadne-flex-col",
|
@@ -750,30 +567,6 @@
|
|
750
567
|
"xl"
|
751
568
|
]
|
752
569
|
},
|
753
|
-
"Ariadne::SubheaderComponent": {
|
754
|
-
"DEFAULT_ATTRIBUTES": {
|
755
|
-
"wrapper": {
|
756
|
-
},
|
757
|
-
"header": {
|
758
|
-
},
|
759
|
-
"description": {
|
760
|
-
},
|
761
|
-
"actions": {
|
762
|
-
}
|
763
|
-
},
|
764
|
-
"DEFAULT_CLASSES": {
|
765
|
-
"wrapper": "ariadne-border-b-2 ariadne-border-solid ariadne-border-black ariadne-border-opacity-20",
|
766
|
-
"header": "",
|
767
|
-
"actions": "",
|
768
|
-
"description": "ariadne-text-black/50"
|
769
|
-
},
|
770
|
-
"DEFAULT_TAGS": {
|
771
|
-
"wrapper": "div",
|
772
|
-
"actions": "div",
|
773
|
-
"header": "h2",
|
774
|
-
"description": "span"
|
775
|
-
}
|
776
|
-
},
|
777
570
|
"Ariadne::TabComponent": {
|
778
571
|
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
779
572
|
true,
|
data/static/statuses.json
CHANGED
@@ -1,19 +1,15 @@
|
|
1
1
|
{
|
2
|
-
"Ariadne::ActionCardComponent": "stable",
|
3
2
|
"Ariadne::AvatarComponent": "stable",
|
4
3
|
"Ariadne::AvatarStackComponent": "stable",
|
5
4
|
"Ariadne::BaseButton": "stable",
|
6
5
|
"Ariadne::BaseComponent": "stable",
|
7
6
|
"Ariadne::BlankslateComponent": "stable",
|
8
7
|
"Ariadne::BodyComponent": "stable",
|
9
|
-
"Ariadne::BottomTabComponent": "stable",
|
10
|
-
"Ariadne::BottomTabNavComponent": "stable",
|
11
8
|
"Ariadne::BreadcrumbsComponent": "stable",
|
12
9
|
"Ariadne::ButtonComponent": "stable",
|
13
10
|
"Ariadne::CheckboxComponent": "stable",
|
14
11
|
"Ariadne::ClipboardCopyComponent": "stable",
|
15
12
|
"Ariadne::CloseButtonComponent": "stable",
|
16
|
-
"Ariadne::ComboboxComponent": "stable",
|
17
13
|
"Ariadne::ContainerComponent": "stable",
|
18
14
|
"Ariadne::Content": "stable",
|
19
15
|
"Ariadne::CounterComponent": "stable",
|
@@ -31,22 +27,17 @@
|
|
31
27
|
"Ariadne::HeroiconComponent": "stable",
|
32
28
|
"Ariadne::ImageComponent": "stable",
|
33
29
|
"Ariadne::InlineFlexComponent": "stable",
|
34
|
-
"Ariadne::LayoutComponent": "stable",
|
35
30
|
"Ariadne::LinkComponent": "stable",
|
36
31
|
"Ariadne::ListComponent": "stable",
|
37
32
|
"Ariadne::ListComponent::ListItem": "stable",
|
38
|
-
"Ariadne::ModalComponent": "stable",
|
39
33
|
"Ariadne::NarrowContainerComponent": "stable",
|
40
34
|
"Ariadne::PanelBarComponent": "stable",
|
41
35
|
"Ariadne::PanelBarComponent::PanelItem": "stable",
|
42
36
|
"Ariadne::PillComponent": "stable",
|
43
|
-
"Ariadne::PopoverComponent": "stable",
|
44
37
|
"Ariadne::ProgressBarComponent": "stable",
|
45
38
|
"Ariadne::RelativeTimeComponent": "stable",
|
46
|
-
"Ariadne::ShowMoreButtonComponent": "stable",
|
47
39
|
"Ariadne::SlideoverComponent": "stable",
|
48
40
|
"Ariadne::SpinnerComponent": "stable",
|
49
|
-
"Ariadne::SubheaderComponent": "stable",
|
50
41
|
"Ariadne::TabComponent": "stable",
|
51
42
|
"Ariadne::TabContainerComponent": "stable",
|
52
43
|
"Ariadne::TabNavComponent": "stable",
|