ariadne_view_components 0.0.46-x86_64-darwin → 0.0.48-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -25
- data/app/assets/javascripts/ariadne_view_components.js +2 -2
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/assets/javascripts/components/ariadne/accumulator_controller/accumulator_controller.d.ts +22 -0
- data/app/assets/javascripts/components/ariadne/dropdown/menu_component.d.ts +1 -0
- data/app/assets/javascripts/components/ariadne/options_controller/options_controller.d.ts +21 -0
- data/app/assets/javascripts/components/ariadne/toggleable_controller/toggleable_controller.d.ts +34 -0
- data/app/assets/stylesheets/ariadne_view_components.css +3 -3
- data/app/components/ariadne/accumulator_controller/accumulator_controller.d.ts +22 -0
- data/app/components/ariadne/accumulator_controller/accumulator_controller.js +39 -0
- data/app/components/ariadne/accumulator_controller/accumulator_controller.ts +48 -0
- data/app/components/ariadne/action_card_component.html.erb +11 -0
- data/app/components/ariadne/action_card_component.rb +45 -0
- data/app/components/ariadne/ariadne.js +6 -0
- data/app/components/ariadne/ariadne.ts +6 -0
- data/app/components/ariadne/bottom_tab_component.html.erb +4 -0
- data/app/components/ariadne/bottom_tab_component.rb +44 -0
- data/app/components/ariadne/bottom_tab_nav_component.html.erb +5 -0
- data/app/components/ariadne/bottom_tab_nav_component.rb +33 -0
- data/app/components/ariadne/breadcrumbs_component.html.erb +13 -0
- data/app/components/ariadne/breadcrumbs_component.rb +31 -0
- data/app/components/ariadne/checkbox_component.html.erb +5 -0
- data/app/components/ariadne/checkbox_component.rb +43 -0
- data/app/components/ariadne/close_button_component.html.erb +4 -0
- data/app/components/ariadne/close_button_component.rb +32 -0
- data/app/components/ariadne/dropdown/menu_component.d.ts +1 -0
- data/app/components/ariadne/dropdown/menu_component.js +1 -0
- data/app/components/ariadne/list_component/list_component.html.erb +0 -3
- data/app/components/ariadne/options_controller/options_controller.d.ts +21 -0
- data/app/components/ariadne/options_controller/options_controller.js +50 -0
- data/app/components/ariadne/options_controller/options_controller.ts +57 -0
- data/app/components/ariadne/popover_component.html.erb +11 -0
- data/app/components/ariadne/popover_component.rb +81 -0
- data/app/components/ariadne/progress_bar_component.html.erb +5 -0
- data/app/components/ariadne/progress_bar_component.rb +63 -0
- data/app/components/ariadne/relative_time_component.html.erb +3 -0
- data/app/components/ariadne/relative_time_component.rb +61 -0
- data/app/components/ariadne/show_more_button_component.html.erb +11 -0
- data/app/components/ariadne/show_more_button_component.rb +47 -0
- data/app/components/ariadne/spinner_component.html.erb +16 -0
- data/app/components/ariadne/spinner_component.rb +45 -0
- data/app/components/ariadne/subheader_component.html.erb +11 -0
- data/app/components/ariadne/subheader_component.rb +65 -0
- data/app/components/ariadne/toggle_component/toggle_component.html.erb +15 -0
- data/app/components/ariadne/toggle_component.rb +95 -0
- data/app/components/ariadne/toggleable_controller/toggleable_controller.d.ts +34 -0
- data/app/components/ariadne/toggleable_controller/toggleable_controller.js +74 -0
- data/app/components/ariadne/toggleable_controller/toggleable_controller.ts +87 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- data/static/arguments.yml +50 -0
- data/static/audited_at.json +14 -0
- data/static/classes.yml +209 -173
- data/static/constants.json +282 -0
- data/static/statuses.json +14 -0
- data/tailwind.config.js +7 -7
- metadata +53 -12
- /data/app/assets/javascripts/{ariadne-form.d.ts → components/ariadne/ariadne-form.d.ts} +0 -0
- /data/app/assets/javascripts/{ariadne.d.ts → components/ariadne/ariadne.d.ts} +0 -0
- /data/app/assets/javascripts/{clipboard_copy_component → components/ariadne/clipboard_copy_component}/clipboard-copy-component.d.ts +0 -0
- /data/app/assets/javascripts/{rich_text_area_component → components/ariadne/rich_text_area_component}/rich-text-area-component.d.ts +0 -0
- /data/app/assets/javascripts/{slideover_component → components/ariadne/slideover_component}/slideover-component.d.ts +0 -0
- /data/app/assets/javascripts/{tab_container_component → components/ariadne/tab_container_component}/tab-container-component.d.ts +0 -0
- /data/app/assets/javascripts/{tab_nav_component → components/ariadne/tab_nav_component}/tab-nav-component.d.ts +0 -0
- /data/app/assets/javascripts/{time_ago_component → components/ariadne/time_ago_component}/time-ago-component.d.ts +0 -0
- /data/app/assets/javascripts/{tooltip_component → components/ariadne/tooltip_component}/tooltip-component.d.ts +0 -0
data/static/constants.json
CHANGED
@@ -1,4 +1,18 @@
|
|
1
1
|
{
|
2
|
+
"Ariadne::ActionCardComponent": {
|
3
|
+
"DEFAULT_ATTRIBUTES": {
|
4
|
+
"wrapper": {
|
5
|
+
}
|
6
|
+
},
|
7
|
+
"DEFAULT_CLASSES": {
|
8
|
+
"wrapper": "ariadne-w-fit ariadne-flex ariadne-flex-col ariadne-items-center",
|
9
|
+
"actions_wrapper": "ariadne-flex"
|
10
|
+
},
|
11
|
+
"DEFAULT_TAG": "div",
|
12
|
+
"TAG_OPTIONS": [
|
13
|
+
"div"
|
14
|
+
]
|
15
|
+
},
|
2
16
|
"Ariadne::AvatarComponent": {
|
3
17
|
"DEFAULT_CLASSES": "ariadne-inline-block ariadne-rounded-full ariadne-ring-2 ariadne-ring-white",
|
4
18
|
"DEFAULT_SHAPE": "circle",
|
@@ -98,6 +112,44 @@
|
|
98
112
|
"Ariadne::BodyComponent": {
|
99
113
|
"DEFAULT_CLASSES": "ariadne-scroll-smooth ariadne-antialiased"
|
100
114
|
},
|
115
|
+
"Ariadne::BottomTabComponent": {
|
116
|
+
"DEFAULT_ATTRIBUTES": {
|
117
|
+
"data-action": "click->options#select",
|
118
|
+
"data-options-target": "option",
|
119
|
+
"role": "tab",
|
120
|
+
"tabindex": "0"
|
121
|
+
},
|
122
|
+
"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",
|
123
|
+
"DEFAULT_TAG": "a",
|
124
|
+
"TAB_BACKGROUND_COLOR_CLASSES": "aria-selected:ariadne-bg-gray-200",
|
125
|
+
"TAG_OPTIONS": [
|
126
|
+
"a"
|
127
|
+
]
|
128
|
+
},
|
129
|
+
"Ariadne::BottomTabNavComponent": {
|
130
|
+
"DEFAULT_ATTRIBUTES": {
|
131
|
+
"data-controller": "options",
|
132
|
+
"data-options-synced-attrs-value": "[\"aria-selected\"]",
|
133
|
+
"role": "tablist"
|
134
|
+
},
|
135
|
+
"DEFAULT_CLASSES": "ariadne-flex",
|
136
|
+
"DEFAULT_TAB_TAG": "a",
|
137
|
+
"DEFAULT_TAG": "nav",
|
138
|
+
"TAG_OPTIONS": [
|
139
|
+
"nav"
|
140
|
+
]
|
141
|
+
},
|
142
|
+
"Ariadne::BreadcrumbsComponent": {
|
143
|
+
"DEFAULT_CLASSES": {
|
144
|
+
"wrapper": "",
|
145
|
+
"item": "",
|
146
|
+
"active_item": "ariadne-underline"
|
147
|
+
},
|
148
|
+
"DEFAULT_TAG": "nav",
|
149
|
+
"TAG_OPTIONS": [
|
150
|
+
"nav"
|
151
|
+
]
|
152
|
+
},
|
101
153
|
"Ariadne::ButtonComponent": {
|
102
154
|
"DEFAULT_SCHEME": "default",
|
103
155
|
"LINK_SCHEME": "link",
|
@@ -120,6 +172,26 @@
|
|
120
172
|
"danger"
|
121
173
|
]
|
122
174
|
},
|
175
|
+
"Ariadne::CheckboxComponent": {
|
176
|
+
"DEFAULT_ATTRIBUTES": {
|
177
|
+
"input": {
|
178
|
+
"type": "checkbox",
|
179
|
+
"data-controller": "toggleable",
|
180
|
+
"data-toggleable-synced-attrs-value": "[\"checked\", \"aria-checked\"]",
|
181
|
+
"data-action": "click->toggleable#toggle"
|
182
|
+
},
|
183
|
+
"label": {
|
184
|
+
}
|
185
|
+
},
|
186
|
+
"DEFAULT_CLASSES": {
|
187
|
+
"input": "ariadne-mr-2",
|
188
|
+
"label": "ariadne-flex ariadne-items-center ariadne-cursor-pointer ariadne-w-fit"
|
189
|
+
},
|
190
|
+
"DEFAULT_TAG": "label",
|
191
|
+
"TAG_OPTIONS": [
|
192
|
+
"label"
|
193
|
+
]
|
194
|
+
},
|
123
195
|
"Ariadne::ClipboardCopyComponent": {
|
124
196
|
"DATA_ACTION": "click->clipboard-copy-component#copy",
|
125
197
|
"DATA_CONTROLLER": "clipboard-copy-component",
|
@@ -135,6 +207,13 @@
|
|
135
207
|
"DEFAULT_CLASSES": "ariadne-cursor-pointer ariadne-font-semibold ariadne-underline ariadne-decoration-double",
|
136
208
|
"DEFAULT_TAG": "clipboard-copy"
|
137
209
|
},
|
210
|
+
"Ariadne::CloseButtonComponent": {
|
211
|
+
"DEFAULT_CLASSES": "ariadne-border-none ariadne-bg-transparent ariadne-shadow-none hover:ariadne-bg-transparent",
|
212
|
+
"DEFAULT_TAG": "button",
|
213
|
+
"TAG_OPTIONS": [
|
214
|
+
"button"
|
215
|
+
]
|
216
|
+
},
|
138
217
|
"Ariadne::CommentComponent": {
|
139
218
|
"DEFAULT_CLASSES": "ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-py-5 ariadne-px-5 ariadne-rounded-md ",
|
140
219
|
"DEFAULT_TAG": "div",
|
@@ -145,6 +224,8 @@
|
|
145
224
|
"Ariadne::ContainerComponent": {
|
146
225
|
"DEFAULT_CLASSES": "ariadne-px-4 sm:ariadne-px-6 lg:ariadne-px-8"
|
147
226
|
},
|
227
|
+
"Ariadne::Content": {
|
228
|
+
},
|
148
229
|
"Ariadne::CounterComponent": {
|
149
230
|
"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"
|
150
231
|
},
|
@@ -458,10 +539,98 @@
|
|
458
539
|
"span"
|
459
540
|
]
|
460
541
|
},
|
542
|
+
"Ariadne::PopoverComponent": {
|
543
|
+
"DEFAULT_ATTRIBUTES": {
|
544
|
+
"data-controller": "toggleable",
|
545
|
+
"data-action": "click->toggleable#toggle",
|
546
|
+
"data-toggleable-synced-attrs-value": "[\"data-popover-visible\"]"
|
547
|
+
},
|
548
|
+
"DEFAULT_CLASSES": {
|
549
|
+
"wrapper": "ariadne-group ariadne-relative ariadne-w-fit",
|
550
|
+
"items": "ariadne-w-fit ariadne-absolute ariadne-shadow-lg ariadne-z-10 ariadne-p-2 ariadne-bg-white ariadne-rounded-md",
|
551
|
+
"base": "ariadne-inline-block"
|
552
|
+
},
|
553
|
+
"DEFAULT_TAG": "div",
|
554
|
+
"DIRECTIONS": [
|
555
|
+
"top",
|
556
|
+
"right",
|
557
|
+
"bottom",
|
558
|
+
"left"
|
559
|
+
],
|
560
|
+
"HORIZONTAL_ALIGNMENTS": [
|
561
|
+
"left",
|
562
|
+
"right",
|
563
|
+
"center"
|
564
|
+
],
|
565
|
+
"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",
|
566
|
+
"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",
|
567
|
+
"ITEMS_VISIBILITY_CLASSES": "group-data-[popover-visible=false]:ariadne-hidden",
|
568
|
+
"ROLES": [
|
569
|
+
"menu",
|
570
|
+
"dialog",
|
571
|
+
"listbox",
|
572
|
+
"tooltip"
|
573
|
+
],
|
574
|
+
"TAG_OPTIONS": [
|
575
|
+
"div"
|
576
|
+
]
|
577
|
+
},
|
578
|
+
"Ariadne::ProgressBarComponent": {
|
579
|
+
"BAR_SIZES": {
|
580
|
+
"sm": "ariadne-h-2",
|
581
|
+
"md": "ariadne-h-3",
|
582
|
+
"lg": "ariadne-h-4"
|
583
|
+
},
|
584
|
+
"DEFAULT_ATTRIBUTES": {
|
585
|
+
"wrapper": {
|
586
|
+
"role": "progressbar",
|
587
|
+
"data-controller": "accumulator",
|
588
|
+
"aria-valuenow": 0
|
589
|
+
},
|
590
|
+
"item": {
|
591
|
+
"data-accumulator-target": "sum"
|
592
|
+
}
|
593
|
+
},
|
594
|
+
"DEFAULT_CLASSES": {
|
595
|
+
"wrapper": "ariadne-flex ariadne-gap-1 ariadne-bg-slate-200 ariadne-rounded-md ariadne-overflow-hidden",
|
596
|
+
"item": ""
|
597
|
+
},
|
598
|
+
"DEFAULT_TAGS": {
|
599
|
+
"wrapper": "div",
|
600
|
+
"item": "div"
|
601
|
+
}
|
602
|
+
},
|
603
|
+
"Ariadne::RelativeTimeComponent": {
|
604
|
+
"DEFAULT_CLASSES": "",
|
605
|
+
"DEFAULT_DATE_FORMAT": "%b %-d, %Y",
|
606
|
+
"DEFAULT_DATE_FORMAT_SWITCH": 2592000,
|
607
|
+
"DEFAULT_TAG": "span",
|
608
|
+
"TAG_OPTIONS": [
|
609
|
+
"span"
|
610
|
+
]
|
611
|
+
},
|
461
612
|
"Ariadne::RichTextAreaComponent": {
|
462
613
|
"DEFAULT_CLASSES": "",
|
463
614
|
"DEFAULT_TAG": "div"
|
464
615
|
},
|
616
|
+
"Ariadne::ShowMoreButtonComponent": {
|
617
|
+
"DEFAULT_ATTRIBUTES": {
|
618
|
+
"wrapper": {
|
619
|
+
"data-controller": "toggleable"
|
620
|
+
},
|
621
|
+
"button": {
|
622
|
+
"data-action": "click->toggleable#toggle"
|
623
|
+
}
|
624
|
+
},
|
625
|
+
"DEFAULT_CLASSES": {
|
626
|
+
"wrapper": "ariadne-group",
|
627
|
+
"button": "ariadne-px-2 ariadne-py-0"
|
628
|
+
},
|
629
|
+
"DEFAULT_TAG": "div",
|
630
|
+
"TAG_OPTIONS": [
|
631
|
+
"div"
|
632
|
+
]
|
633
|
+
},
|
465
634
|
"Ariadne::SlideoverComponent": {
|
466
635
|
"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",
|
467
636
|
"DEFAULT_CLASSES": "ariadne-flex ariadne-flex-col",
|
@@ -476,6 +645,57 @@
|
|
476
645
|
"xl"
|
477
646
|
]
|
478
647
|
},
|
648
|
+
"Ariadne::SpinnerComponent": {
|
649
|
+
"DEFAULT_ATTRIBUTES": {
|
650
|
+
"fill": "none",
|
651
|
+
"viewBox": "0 0 16 16",
|
652
|
+
"role": "progressbar",
|
653
|
+
"aria-valuetext": "Loading...",
|
654
|
+
"aria-busy": true,
|
655
|
+
"aria-valuemin": "0",
|
656
|
+
"aria-valuemax": "100"
|
657
|
+
},
|
658
|
+
"DEFAULT_CLASSES": "ariadne-animate-spin ariadne-fill-none",
|
659
|
+
"DEFAULT_SIZE": "md",
|
660
|
+
"SIZE_CLASS_MAPPINGS": {
|
661
|
+
"xs": "ariadne-h-4 ariadne-w-4",
|
662
|
+
"sm": "ariadne-h-6 ariadne-w-6",
|
663
|
+
"md": "ariadne-h-8 ariadne-w-8",
|
664
|
+
"lg": "ariadne-h-10 ariadne-w-10",
|
665
|
+
"xl": "ariadne-h-12 ariadne-w-12"
|
666
|
+
},
|
667
|
+
"VALID_SIZES": [
|
668
|
+
"xs",
|
669
|
+
"sm",
|
670
|
+
"md",
|
671
|
+
"lg",
|
672
|
+
"xl"
|
673
|
+
]
|
674
|
+
},
|
675
|
+
"Ariadne::SubheaderComponent": {
|
676
|
+
"DEFAULT_ATTRIBUTES": {
|
677
|
+
"wrapper": {
|
678
|
+
},
|
679
|
+
"header": {
|
680
|
+
},
|
681
|
+
"description": {
|
682
|
+
},
|
683
|
+
"actions": {
|
684
|
+
}
|
685
|
+
},
|
686
|
+
"DEFAULT_CLASSES": {
|
687
|
+
"wrapper": "ariadne-border-b-2 ariadne-border-solid ariadne-border-black ariadne-border-opacity-20",
|
688
|
+
"header": "",
|
689
|
+
"actions": "",
|
690
|
+
"description": "ariadne-text-black/50"
|
691
|
+
},
|
692
|
+
"DEFAULT_TAGS": {
|
693
|
+
"wrapper": "div",
|
694
|
+
"actions": "div",
|
695
|
+
"header": "h2",
|
696
|
+
"description": "span"
|
697
|
+
}
|
698
|
+
},
|
479
699
|
"Ariadne::TabComponent": {
|
480
700
|
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
481
701
|
true,
|
@@ -569,6 +789,68 @@
|
|
569
789
|
"DEFAULT_CLASSES": "",
|
570
790
|
"DEFAULT_TAG": "div"
|
571
791
|
},
|
792
|
+
"Ariadne::ToggleComponent": {
|
793
|
+
"BUTTON_SIZE_MAPPINGS": {
|
794
|
+
"sm": "ariadne-h-3 ariadne-w-6",
|
795
|
+
"md": "ariadne-h-5 ariadne-w-10"
|
796
|
+
},
|
797
|
+
"DEFAULT_ATTRIBUTES": {
|
798
|
+
"wrapper": {
|
799
|
+
},
|
800
|
+
"button": {
|
801
|
+
"role": "switch",
|
802
|
+
"data-controller": "toggleable",
|
803
|
+
"data-toggleable-synced-attrs-value": "[\"aria-checked\"]",
|
804
|
+
"data-action": "click->toggleable#toggle"
|
805
|
+
}
|
806
|
+
},
|
807
|
+
"DEFAULT_CLASSES": {
|
808
|
+
"wrapper": "ariadne-group/wrapper data-[disabled=true]:ariadne-opacity-50 data-[disabled=true]:ariadne-cursor-auto",
|
809
|
+
"button": "ariadne-flex ariadne-justify-center ariadne-group/toggle ariadne-relative ariadne-inline-flex ariadne-flex-shrink-0 group-data-[disabled=false]/wrapper:ariadne-cursor-pointer ariadne-items-center ariadne-justify-center ariadne-rounded-full ariadne-focus:outline-none ariadne-focus:ring-2 ariadne-focus:ring-indigo-600 ariadne-focus:ring-offset-2 disabled:ariadne-cursor-auto"
|
810
|
+
},
|
811
|
+
"DEFAULT_SIZE": "md",
|
812
|
+
"DEFAULT_STATUS_LABEL_POSITION": "start",
|
813
|
+
"DEFAULT_TAG": "div",
|
814
|
+
"DEFAULT_TRACK_COLOR": "indigo",
|
815
|
+
"LABEL_SIZE_MAPPINGS": {
|
816
|
+
"sm": "ariadne-text-xs",
|
817
|
+
"md": "ariadne-text-lg"
|
818
|
+
},
|
819
|
+
"SIZE_OPTIONS": [
|
820
|
+
"sm",
|
821
|
+
"md"
|
822
|
+
],
|
823
|
+
"STATUS_LABEL_POSITION_MAPPINGS": {
|
824
|
+
"start": "ariadne-flex-row",
|
825
|
+
"end": "ariadne-flex-row-reverse"
|
826
|
+
},
|
827
|
+
"STATUS_LABEL_POSITION_OPTIONS": [
|
828
|
+
"start",
|
829
|
+
"end"
|
830
|
+
],
|
831
|
+
"THUMB_SIZE_MAPPINGS": {
|
832
|
+
"sm": "ariadne-translate-x-0 ariadne-h-3 ariadne-w-3 group-aria-checked/toggle:ariadne-translate-x-3",
|
833
|
+
"md": "ariadne-translate-x-0 ariadne-h-5 ariadne-w-5 group-aria-checked/toggle:ariadne-translate-x-5"
|
834
|
+
},
|
835
|
+
"TRACK_COLOR_MAPPINGS": {
|
836
|
+
"white": "group-aria-checked/toggle:ariadne-bg-white",
|
837
|
+
"green": "group-aria-checked/toggle:ariadne-bg-green-600",
|
838
|
+
"blue": "group-aria-checked/toggle:ariadne-bg-blue-600",
|
839
|
+
"billy_purple": "group-aria-checked/toggle:ariadne-bg-billy-purple",
|
840
|
+
"indigo": "group-aria-checked/toggle:ariadne-bg-indigo-600"
|
841
|
+
},
|
842
|
+
"TRACK_COLOR_OPTIONS": [
|
843
|
+
"white",
|
844
|
+
"green",
|
845
|
+
"blue",
|
846
|
+
"billy_purple",
|
847
|
+
"indigo"
|
848
|
+
],
|
849
|
+
"TRACK_SIZE_MAPPINGS": {
|
850
|
+
"sm": "ariadne-h-2 ariadne-w-4",
|
851
|
+
"md": "ariadne-h-4 ariadne-w-9"
|
852
|
+
}
|
853
|
+
},
|
572
854
|
"Ariadne::TooltipComponent": {
|
573
855
|
"DATA_ACTION": "mouseover->tooltip-component#show mouseout->tooltip-component#hide",
|
574
856
|
"DATA_CONTROLLER": "tooltip-component",
|
data/static/statuses.json
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
{
|
2
|
+
"Ariadne::ActionCardComponent": "stable",
|
2
3
|
"Ariadne::AvatarComponent": "stable",
|
3
4
|
"Ariadne::AvatarStackComponent": "stable",
|
4
5
|
"Ariadne::BaseButton": "stable",
|
5
6
|
"Ariadne::BaseComponent": "stable",
|
6
7
|
"Ariadne::BlankslateComponent": "stable",
|
7
8
|
"Ariadne::BodyComponent": "stable",
|
9
|
+
"Ariadne::BottomTabComponent": "stable",
|
10
|
+
"Ariadne::BottomTabNavComponent": "stable",
|
11
|
+
"Ariadne::BreadcrumbsComponent": "stable",
|
8
12
|
"Ariadne::ButtonComponent": "stable",
|
13
|
+
"Ariadne::CheckboxComponent": "stable",
|
9
14
|
"Ariadne::ClipboardCopyComponent": "stable",
|
15
|
+
"Ariadne::CloseButtonComponent": "stable",
|
10
16
|
"Ariadne::CommentComponent": "stable",
|
11
17
|
"Ariadne::ContainerComponent": "stable",
|
18
|
+
"Ariadne::Content": "stable",
|
12
19
|
"Ariadne::CounterComponent": "stable",
|
13
20
|
"Ariadne::DetailsComponent": "stable",
|
14
21
|
"Ariadne::Dropdown::MenuComponent": "stable",
|
@@ -31,8 +38,14 @@
|
|
31
38
|
"Ariadne::PanelBarComponent": "stable",
|
32
39
|
"Ariadne::PanelBarComponent::PanelItem": "stable",
|
33
40
|
"Ariadne::PillComponent": "stable",
|
41
|
+
"Ariadne::PopoverComponent": "stable",
|
42
|
+
"Ariadne::ProgressBarComponent": "stable",
|
43
|
+
"Ariadne::RelativeTimeComponent": "stable",
|
34
44
|
"Ariadne::RichTextAreaComponent": "stable",
|
45
|
+
"Ariadne::ShowMoreButtonComponent": "stable",
|
35
46
|
"Ariadne::SlideoverComponent": "stable",
|
47
|
+
"Ariadne::SpinnerComponent": "stable",
|
48
|
+
"Ariadne::SubheaderComponent": "stable",
|
36
49
|
"Ariadne::TabComponent": "stable",
|
37
50
|
"Ariadne::TabContainerComponent": "stable",
|
38
51
|
"Ariadne::TabNavComponent": "stable",
|
@@ -48,5 +61,6 @@
|
|
48
61
|
"Ariadne::Text": "stable",
|
49
62
|
"Ariadne::TimeAgoComponent": "stable",
|
50
63
|
"Ariadne::TimelineComponent": "stable",
|
64
|
+
"Ariadne::ToggleComponent": "stable",
|
51
65
|
"Ariadne::TooltipComponent": "stable"
|
52
66
|
}
|
data/tailwind.config.js
CHANGED
@@ -29,13 +29,13 @@ module.exports = {
|
|
29
29
|
rb: content => {
|
30
30
|
const matches = content.match(CLASS_RB_REGEX)
|
31
31
|
if (matches) {
|
32
|
-
|
33
|
-
.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
32
|
+
return matches[0].split(/\s+/).reduce((accumulator, m) => {
|
33
|
+
if (m.match(/ariadne/)) {
|
34
|
+
accumulator.push(m.replaceAll(/"/g, ''))
|
35
|
+
}
|
36
|
+
|
37
|
+
return accumulator
|
38
|
+
}, [])
|
39
39
|
}
|
40
40
|
return []
|
41
41
|
},
|
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.
|
4
|
+
version: 0.0.48
|
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: 2023-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|
@@ -111,21 +111,30 @@ files:
|
|
111
111
|
- CHANGELOG.md
|
112
112
|
- LICENSE.txt
|
113
113
|
- README.md
|
114
|
-
- app/assets/javascripts/ariadne-form.d.ts
|
115
|
-
- app/assets/javascripts/ariadne.d.ts
|
116
114
|
- app/assets/javascripts/ariadne_view_components.js
|
117
115
|
- app/assets/javascripts/ariadne_view_components.js.map
|
118
|
-
- app/assets/javascripts/
|
119
|
-
- app/assets/javascripts/
|
120
|
-
- app/assets/javascripts/
|
121
|
-
- app/assets/javascripts/
|
122
|
-
- app/assets/javascripts/
|
123
|
-
- app/assets/javascripts/
|
124
|
-
- app/assets/javascripts/
|
116
|
+
- app/assets/javascripts/components/ariadne/accumulator_controller/accumulator_controller.d.ts
|
117
|
+
- app/assets/javascripts/components/ariadne/ariadne-form.d.ts
|
118
|
+
- app/assets/javascripts/components/ariadne/ariadne.d.ts
|
119
|
+
- app/assets/javascripts/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts
|
120
|
+
- app/assets/javascripts/components/ariadne/dropdown/menu_component.d.ts
|
121
|
+
- app/assets/javascripts/components/ariadne/options_controller/options_controller.d.ts
|
122
|
+
- app/assets/javascripts/components/ariadne/rich_text_area_component/rich-text-area-component.d.ts
|
123
|
+
- app/assets/javascripts/components/ariadne/slideover_component/slideover-component.d.ts
|
124
|
+
- app/assets/javascripts/components/ariadne/tab_container_component/tab-container-component.d.ts
|
125
|
+
- app/assets/javascripts/components/ariadne/tab_nav_component/tab-nav-component.d.ts
|
126
|
+
- app/assets/javascripts/components/ariadne/time_ago_component/time-ago-component.d.ts
|
127
|
+
- app/assets/javascripts/components/ariadne/toggleable_controller/toggleable_controller.d.ts
|
128
|
+
- app/assets/javascripts/components/ariadne/tooltip_component/tooltip-component.d.ts
|
125
129
|
- app/assets/stylesheets/ariadne_view_components.css
|
126
130
|
- app/assets/stylesheets/dropdown.css
|
127
131
|
- app/assets/stylesheets/prosemirror.css
|
128
132
|
- app/assets/stylesheets/tooltip-component.css
|
133
|
+
- app/components/ariadne/accumulator_controller/accumulator_controller.d.ts
|
134
|
+
- app/components/ariadne/accumulator_controller/accumulator_controller.js
|
135
|
+
- app/components/ariadne/accumulator_controller/accumulator_controller.ts
|
136
|
+
- app/components/ariadne/action_card_component.html.erb
|
137
|
+
- app/components/ariadne/action_card_component.rb
|
129
138
|
- app/components/ariadne/ariadne-form.d.ts
|
130
139
|
- app/components/ariadne/ariadne-form.js
|
131
140
|
- app/components/ariadne/ariadne-form.ts
|
@@ -140,13 +149,23 @@ files:
|
|
140
149
|
- app/components/ariadne/blankslate_component.rb
|
141
150
|
- app/components/ariadne/blankslate_component/blankslate_component.html.erb
|
142
151
|
- app/components/ariadne/body_component.rb
|
152
|
+
- app/components/ariadne/bottom_tab_component.html.erb
|
153
|
+
- app/components/ariadne/bottom_tab_component.rb
|
154
|
+
- app/components/ariadne/bottom_tab_nav_component.html.erb
|
155
|
+
- app/components/ariadne/bottom_tab_nav_component.rb
|
156
|
+
- app/components/ariadne/breadcrumbs_component.html.erb
|
157
|
+
- app/components/ariadne/breadcrumbs_component.rb
|
143
158
|
- app/components/ariadne/button_component.rb
|
144
159
|
- app/components/ariadne/button_component/button_component.html.erb
|
160
|
+
- app/components/ariadne/checkbox_component.html.erb
|
161
|
+
- app/components/ariadne/checkbox_component.rb
|
145
162
|
- app/components/ariadne/clipboard_copy_component.rb
|
146
163
|
- app/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts
|
147
164
|
- app/components/ariadne/clipboard_copy_component/clipboard-copy-component.js
|
148
165
|
- app/components/ariadne/clipboard_copy_component/clipboard-copy-component.ts
|
149
166
|
- app/components/ariadne/clipboard_copy_component/clipboard_copy_component.html.erb
|
167
|
+
- app/components/ariadne/close_button_component.html.erb
|
168
|
+
- app/components/ariadne/close_button_component.rb
|
150
169
|
- app/components/ariadne/comment_component.rb
|
151
170
|
- app/components/ariadne/comment_component/comment_component.html.erb
|
152
171
|
- app/components/ariadne/component.rb
|
@@ -156,7 +175,9 @@ files:
|
|
156
175
|
- app/components/ariadne/counter_component.rb
|
157
176
|
- app/components/ariadne/details_component.rb
|
158
177
|
- app/components/ariadne/details_component/details_component.html.erb
|
178
|
+
- app/components/ariadne/dropdown/menu_component.d.ts
|
159
179
|
- app/components/ariadne/dropdown/menu_component.html.erb
|
180
|
+
- app/components/ariadne/dropdown/menu_component.js
|
160
181
|
- app/components/ariadne/dropdown/menu_component.rb
|
161
182
|
- app/components/ariadne/dropdown/menu_component.ts
|
162
183
|
- app/components/ariadne/dropdown_component.rb
|
@@ -182,20 +203,35 @@ files:
|
|
182
203
|
- app/components/ariadne/list_component/list_component.html.erb
|
183
204
|
- app/components/ariadne/narrow_container_component.rb
|
184
205
|
- app/components/ariadne/narrow_container_component/narrow_container_component.html.erb
|
206
|
+
- app/components/ariadne/options_controller/options_controller.d.ts
|
207
|
+
- app/components/ariadne/options_controller/options_controller.js
|
208
|
+
- app/components/ariadne/options_controller/options_controller.ts
|
185
209
|
- app/components/ariadne/panel_bar_component.rb
|
186
210
|
- app/components/ariadne/panel_bar_component/panel_bar_component.html.erb
|
187
211
|
- app/components/ariadne/pill_component.rb
|
188
212
|
- app/components/ariadne/pill_component/pill_component.html.erb
|
213
|
+
- app/components/ariadne/popover_component.html.erb
|
214
|
+
- app/components/ariadne/popover_component.rb
|
215
|
+
- app/components/ariadne/progress_bar_component.html.erb
|
216
|
+
- app/components/ariadne/progress_bar_component.rb
|
217
|
+
- app/components/ariadne/relative_time_component.html.erb
|
218
|
+
- app/components/ariadne/relative_time_component.rb
|
189
219
|
- app/components/ariadne/rich_text_area_component.rb
|
190
220
|
- app/components/ariadne/rich_text_area_component/rich-text-area-component.d.ts
|
191
221
|
- app/components/ariadne/rich_text_area_component/rich-text-area-component.js
|
192
222
|
- app/components/ariadne/rich_text_area_component/rich-text-area-component.ts
|
193
223
|
- app/components/ariadne/rich_text_area_component/rich_text_area_component.html.erb
|
224
|
+
- app/components/ariadne/show_more_button_component.html.erb
|
225
|
+
- app/components/ariadne/show_more_button_component.rb
|
194
226
|
- app/components/ariadne/slideover_component.rb
|
195
227
|
- app/components/ariadne/slideover_component/slideover-component.d.ts
|
196
228
|
- app/components/ariadne/slideover_component/slideover-component.js
|
197
229
|
- app/components/ariadne/slideover_component/slideover-component.ts
|
198
230
|
- app/components/ariadne/slideover_component/slideover_component.html.erb
|
231
|
+
- app/components/ariadne/spinner_component.html.erb
|
232
|
+
- app/components/ariadne/spinner_component.rb
|
233
|
+
- app/components/ariadne/subheader_component.html.erb
|
234
|
+
- app/components/ariadne/subheader_component.rb
|
199
235
|
- app/components/ariadne/tab_component.rb
|
200
236
|
- app/components/ariadne/tab_component/tab_component.html.erb
|
201
237
|
- app/components/ariadne/tab_container_component.erb
|
@@ -217,6 +253,11 @@ files:
|
|
217
253
|
- app/components/ariadne/time_ago_component/time-ago-component.ts
|
218
254
|
- app/components/ariadne/timeline_component.rb
|
219
255
|
- app/components/ariadne/timeline_component/timeline_component.html.erb
|
256
|
+
- app/components/ariadne/toggle_component.rb
|
257
|
+
- app/components/ariadne/toggle_component/toggle_component.html.erb
|
258
|
+
- app/components/ariadne/toggleable_controller/toggleable_controller.d.ts
|
259
|
+
- app/components/ariadne/toggleable_controller/toggleable_controller.js
|
260
|
+
- app/components/ariadne/toggleable_controller/toggleable_controller.ts
|
220
261
|
- app/components/ariadne/tooltip_component.rb
|
221
262
|
- app/components/ariadne/tooltip_component/tooltip-component.d.ts
|
222
263
|
- app/components/ariadne/tooltip_component/tooltip-component.js
|
@@ -278,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
319
|
- !ruby/object:Gem::Version
|
279
320
|
version: '0'
|
280
321
|
requirements: []
|
281
|
-
rubygems_version: 3.4.
|
322
|
+
rubygems_version: 3.4.14
|
282
323
|
signing_key:
|
283
324
|
specification_version: 4
|
284
325
|
summary: ViewComponents for the Ariadne Design System
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|