ariadne_view_components 0.0.42-x86_64-darwin → 0.0.43-x86_64-darwin

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.
@@ -0,0 +1,4 @@
1
+ import { Controller } from '@hotwired/stimulus';
2
+ export default class ClipboardCopyComponent extends Controller {
3
+ copy(): void;
4
+ }
@@ -0,0 +1,6 @@
1
+ import { Controller } from '@hotwired/stimulus';
2
+ export default class RichTextArea extends Controller {
3
+ static targets: string[];
4
+ readonly editorTargets: [HTMLDivElement];
5
+ connect(): void;
6
+ }
@@ -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
+ }
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.42"
6
+ VERSION = "0.0.43"
7
7
  end
8
8
  end
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.42
4
+ version: 0.0.43
5
5
  platform: x86_64-darwin
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