ariadne_view_components 0.0.34-aarch64-linux → 0.0.35-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -5
- data/README.md +2 -2
- data/app/components/ariadne/avatar_component.rb +1 -1
- data/app/components/ariadne/avatar_stack_component.rb +7 -7
- data/app/components/ariadne/base_button.rb +2 -2
- data/app/components/ariadne/base_component.rb +2 -2
- data/app/components/ariadne/blankslate_component.rb +9 -9
- data/app/components/ariadne/body_component.rb +1 -1
- data/app/components/ariadne/button_component.rb +8 -6
- data/app/components/ariadne/clipboard_copy_component.rb +1 -1
- data/app/components/ariadne/comment_component/comment_component.html.erb +6 -6
- data/app/components/ariadne/comment_component.rb +5 -5
- data/app/components/ariadne/component.rb +0 -1
- data/app/components/ariadne/container_component.rb +1 -1
- data/app/components/ariadne/counter_component.rb +1 -1
- data/app/components/ariadne/details_component.rb +10 -9
- data/app/components/ariadne/dropdown/menu_component.rb +3 -3
- data/app/components/ariadne/dropdown_component/dropdown_component.html.erb +2 -2
- data/app/components/ariadne/dropdown_component.rb +52 -52
- data/app/components/ariadne/flash_component.rb +5 -5
- data/app/components/ariadne/flex_component/flex_component.html.erb +5 -0
- data/app/components/ariadne/flex_component.rb +10 -3
- data/app/components/ariadne/footer_component.rb +2 -2
- data/app/components/ariadne/grid_component.rb +4 -8
- data/app/components/ariadne/header_component.rb +7 -7
- data/app/components/ariadne/heading_component.rb +1 -1
- data/app/components/ariadne/heroicon_component.rb +2 -2
- data/app/components/ariadne/inline_flex_component.rb +7 -7
- data/app/components/ariadne/link_component.rb +3 -3
- data/app/components/ariadne/list_component.rb +10 -4
- data/app/components/ariadne/narrow_container_component.rb +1 -1
- data/app/components/ariadne/panel_bar_component.rb +3 -3
- data/app/components/ariadne/pill_component.rb +1 -1
- data/app/components/ariadne/rich_text_area_component/rich-text-area-component.ts +4 -4
- data/app/components/ariadne/rich_text_area_component.rb +1 -1
- data/app/components/ariadne/slideover_component.rb +3 -3
- data/app/components/ariadne/tab_component.rb +1 -1
- data/app/components/ariadne/tab_container_component/tab-container-component.ts +1 -1
- data/app/components/ariadne/tab_container_component.rb +7 -7
- data/app/components/ariadne/tab_nav_component.rb +5 -5
- data/app/components/ariadne/table_nav_component.rb +42 -42
- data/app/components/ariadne/time_ago_component.rb +1 -1
- data/app/components/ariadne/timeline_component.rb +1 -1
- data/app/components/ariadne/tooltip_component/tooltip-component.ts +5 -5
- data/app/components/ariadne/tooltip_component.rb +1 -1
- data/app/lib/ariadne/action_view_extensions/form_helper.rb +1 -1
- data/app/lib/ariadne/class_name_helper.rb +1 -1
- data/app/lib/ariadne/form_builder.rb +10 -10
- data/lib/ariadne/view_components/linters/argument_mappers/conversion_error.rb +10 -0
- data/lib/ariadne/view_components/linters/autocorrectable.rb +32 -0
- data/lib/ariadne/view_components/linters/base_linter.rb +202 -0
- data/lib/ariadne/view_components/linters/tag_tree_helpers.rb +76 -0
- data/lib/ariadne/view_components/version.rb +2 -1
- data/lib/tasks/build.rake +6 -0
- data/lib/tasks/coverage.rake +4 -1
- data/lib/tasks/docs.rake +5 -1
- data/lib/tasks/test.rake +19 -0
- data/static/classes.yml +3 -1
- metadata +8 -16
- data/app/assets/javascripts/ariadne-form-with.d.ts +0 -20
- data/app/assets/javascripts/ariadne-form.d.ts +0 -22
- data/app/assets/javascripts/ariadne.d.ts +0 -2
- data/app/assets/javascripts/ariadne_view_components.js +0 -8
- data/app/assets/javascripts/ariadne_view_components.js.map +0 -1
- data/app/assets/javascripts/clipboard-copy-component.d.ts +0 -4
- data/app/assets/javascripts/comment-component.d.ts +0 -12
- data/app/assets/javascripts/rich-text-area-component.d.ts +0 -6
- data/app/assets/javascripts/slideover-component.d.ts +0 -9
- data/app/assets/javascripts/tab-container-component.d.ts +0 -1
- data/app/assets/javascripts/tab-nav-component.d.ts +0 -9
- data/app/assets/javascripts/time-ago-component.d.ts +0 -1
- data/app/assets/javascripts/time_ago_component.d.ts +0 -1
- data/app/assets/javascripts/tooltip-component.d.ts +0 -24
@@ -1,12 +0,0 @@
|
|
1
|
-
import { Controller } from '@hotwired/stimulus';
|
2
|
-
export default class CommentComponent extends Controller {
|
3
|
-
static targets: string[];
|
4
|
-
readonly commentComponentTarget: HTMLDivElement;
|
5
|
-
readonly tabBarComponentTarget: HTMLElement;
|
6
|
-
readonly tabTargets: [HTMLButtonElement];
|
7
|
-
SELECTED_TAB_CLASSES: string[];
|
8
|
-
PUBLIC_BACKGROUND_COLOR: string;
|
9
|
-
INTERNAL_BACKGROUND_COLOR: string;
|
10
|
-
toggleTab(): void;
|
11
|
-
toggleBackgrounds(tab: HTMLButtonElement, publicComment: boolean): void;
|
12
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Controller } from '@hotwired/stimulus';
|
2
|
-
export default class SlideoverComponent extends Controller {
|
3
|
-
static targets: string[];
|
4
|
-
readonly expandableTarget: HTMLDivElement;
|
5
|
-
readonly expandWrapperTarget: HTMLDivElement;
|
6
|
-
readonly slidePanelTargets: [HTMLDivElement];
|
7
|
-
readonly buttonWrapperTarget: HTMLDivElement;
|
8
|
-
toggle(): void;
|
9
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
import '@github/tab-container-element';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Controller } from '@hotwired/stimulus';
|
2
|
-
export default class TabNavComponent extends Controller {
|
3
|
-
static targets: string[];
|
4
|
-
readonly tabTargets: [HTMLAnchorElement];
|
5
|
-
SELECTED_CLASSES: string[];
|
6
|
-
UNSELECTED_CLASSES: string[];
|
7
|
-
connect(): void;
|
8
|
-
toggle(event: Event): void;
|
9
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
import '@github/time-elements';
|
@@ -1 +0,0 @@
|
|
1
|
-
import '@github/time-elements';
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { Controller } from '@hotwired/stimulus';
|
2
|
-
import type { Instance, Placement } from '@popperjs/core';
|
3
|
-
export default class TooltipComponent extends Controller {
|
4
|
-
static targets: string[];
|
5
|
-
readonly triggerTarget: HTMLElement;
|
6
|
-
readonly tooltipTarget: HTMLElement;
|
7
|
-
static values: {
|
8
|
-
placement: {
|
9
|
-
type: StringConstructor;
|
10
|
-
default: string;
|
11
|
-
};
|
12
|
-
offset: {
|
13
|
-
type: ArrayConstructor;
|
14
|
-
default: number[];
|
15
|
-
};
|
16
|
-
};
|
17
|
-
readonly placementValue: Placement;
|
18
|
-
readonly offsetValue: Array<number>;
|
19
|
-
popperInstance: Instance;
|
20
|
-
connect(): void;
|
21
|
-
disconnect(): void;
|
22
|
-
show(): void;
|
23
|
-
hide(): void;
|
24
|
-
}
|