ariadne_view_components 0.0.41-x64-mingw-ucrt → 0.0.43-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.41"
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")
@@ -6,12 +6,10 @@ namespace :coverage do
6
6
  require "simplecov"
7
7
  require "simplecov-console"
8
8
 
9
- SimpleCov.minimum_coverage(100)
10
-
11
9
  SimpleCov.collate(Dir["coverage/.resultset.json"], "rails") do
12
10
  formatter SimpleCov::Formatter::Console
13
11
 
14
- minimum_coverage 90
12
+ minimum_coverage 100
15
13
  maximum_coverage_drop 2
16
14
 
17
15
  add_group "Ignored Code" do |src_file|
data/lib/tasks/docs.rake CHANGED
@@ -9,7 +9,7 @@ require "fileutils"
9
9
 
10
10
  namespace :docs do
11
11
  desc "Rebuilds docs on change; run via the Procfile"
12
- task :livereload do
12
+ task :watch do
13
13
  require "listen"
14
14
 
15
15
  Rake::Task["docs:build"].execute
@@ -305,7 +305,7 @@ namespace :docs do
305
305
  puts "Markdown compiled."
306
306
 
307
307
  if components_needing_docs.any?
308
- puts "\nThe following components need documentation. Could you add it to them? #{components_needing_docs.map(&:name).join(", ")}"
308
+ puts "\nThe following components need documentation. Could you add it to them? \n* #{components_needing_docs.map(&:name).join("\n* ")}"
309
309
  end
310
310
  end
311
311
 
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.41
4
+ version: 0.0.43
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-01 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge
@@ -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