ariadne_view_components 0.0.42-aarch64-linux → 0.0.43-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 +8 -0
- data/app/assets/javascripts/ariadne-form.d.ts +22 -0
- data/app/assets/javascripts/ariadne.d.ts +2 -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/clipboard-copy-component.d.ts +4 -0
- data/app/assets/javascripts/rich_text_area_component/rich-text-area-component.d.ts +6 -0
- data/app/assets/javascripts/slideover_component/slideover-component.d.ts +9 -0
- data/app/assets/javascripts/tab_container_component/tab-container-component.d.ts +1 -0
- data/app/assets/javascripts/tab_nav_component/tab-nav-component.d.ts +9 -0
- data/app/assets/javascripts/time_ago_component/time-ago-component.d.ts +1 -0
- data/app/assets/javascripts/tooltip_component/tooltip-component.d.ts +24 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/tasks/build.rake +0 -6
- metadata +12 -1
@@ -0,0 +1,9 @@
|
|
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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
import '@github/tab-container-element';
|
@@ -0,0 +1,9 @@
|
|
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
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
import '@github/time-elements';
|
@@ -0,0 +1,24 @@
|
|
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
|
+
}
|
data/lib/tasks/build.rake
CHANGED
@@ -19,12 +19,6 @@ namespace :ariadne_view_components do
|
|
19
19
|
puts command.inspect
|
20
20
|
system(*command)
|
21
21
|
end
|
22
|
-
|
23
|
-
desc "Prepares the project for release"
|
24
|
-
task :prepare do |_, _args|
|
25
|
-
FileUtils.rm_rf("app/assets/javascripts")
|
26
|
-
system("script/prepare")
|
27
|
-
end
|
28
22
|
end
|
29
23
|
|
30
24
|
Rake::Task["assets:precompile"].enhance(["ariadne_view_components:build"]) if Rake::Task.task_defined?("assets:precompile")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.43
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
@@ -111,6 +111,17 @@ 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
|
+
- app/assets/javascripts/ariadne_view_components.js
|
117
|
+
- app/assets/javascripts/ariadne_view_components.js.map
|
118
|
+
- app/assets/javascripts/clipboard_copy_component/clipboard-copy-component.d.ts
|
119
|
+
- app/assets/javascripts/rich_text_area_component/rich-text-area-component.d.ts
|
120
|
+
- app/assets/javascripts/slideover_component/slideover-component.d.ts
|
121
|
+
- app/assets/javascripts/tab_container_component/tab-container-component.d.ts
|
122
|
+
- app/assets/javascripts/tab_nav_component/tab-nav-component.d.ts
|
123
|
+
- app/assets/javascripts/time_ago_component/time-ago-component.d.ts
|
124
|
+
- app/assets/javascripts/tooltip_component/tooltip-component.d.ts
|
114
125
|
- app/assets/stylesheets/ariadne_view_components.css
|
115
126
|
- app/assets/stylesheets/dropdown.css
|
116
127
|
- app/assets/stylesheets/prosemirror.css
|