primer_view_components 0.0.107 → 0.0.108

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- export declare class SegmentedControlElement extends HTMLElement {
1
+ declare class SegmentedControlElement extends HTMLElement {
2
2
  #private;
3
3
  items: HTMLElement[];
4
4
  connectedCallback(): void;
@@ -9,3 +9,4 @@ declare global {
9
9
  SegmentedControlElement: typeof SegmentedControlElement;
10
10
  }
11
11
  }
12
+ export {};
@@ -41,7 +41,6 @@ __decorate([
41
41
  SegmentedControlElement = __decorate([
42
42
  controller
43
43
  ], SegmentedControlElement);
44
- export { SegmentedControlElement };
45
44
  if (!window.customElements.get('segmented-control')) {
46
45
  window.SegmentedControlElement = SegmentedControlElement;
47
46
  window.customElements.define('segmented-control', SegmentedControlElement);
@@ -1,7 +1,7 @@
1
1
  import {controller, targets} from '@github/catalyst'
2
2
 
3
3
  @controller
4
- export class SegmentedControlElement extends HTMLElement {
4
+ class SegmentedControlElement extends HTMLElement {
5
5
  @targets items: HTMLElement[]
6
6
 
7
7
  connectedCallback() {
@@ -1,4 +1,4 @@
1
- export declare class XBannerElement extends HTMLElement {
1
+ declare class XBannerElement extends HTMLElement {
2
2
  root: HTMLElement;
3
3
  titleText: HTMLElement;
4
4
  dismiss(): void;
@@ -9,3 +9,4 @@ declare global {
9
9
  XBannerElement: typeof XBannerElement;
10
10
  }
11
11
  }
12
+ export {};
@@ -32,7 +32,6 @@ __decorate([
32
32
  XBannerElement = __decorate([
33
33
  controller
34
34
  ], XBannerElement);
35
- export { XBannerElement };
36
35
  if (!window.customElements.get('x-banner')) {
37
36
  window.XBannerElement = XBannerElement;
38
37
  window.customElements.define('x-banner', XBannerElement);
@@ -1,7 +1,7 @@
1
1
  import {controller, target} from '@github/catalyst'
2
2
 
3
3
  @controller
4
- export class XBannerElement extends HTMLElement {
4
+ class XBannerElement extends HTMLElement {
5
5
  @target root: HTMLElement
6
6
  @target titleText: HTMLElement
7
7
 
@@ -6,7 +6,7 @@ module Primer
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 0
9
- PATCH = 107
9
+ PATCH = 108
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].join(".")
12
12
  end
data/lib/tasks/test.rake CHANGED
@@ -58,12 +58,6 @@ namespace :test do
58
58
  t.test_files = FileList["test/accessibility_test.rb"]
59
59
  end
60
60
 
61
- Rake::TestTask.new(:snapshots) do |t|
62
- t.warning = false
63
- t.libs << "test"
64
- t.test_files = FileList["test/snapshots_test.rb"]
65
- end
66
-
67
61
  task :coverage do
68
62
  require "simplecov"
69
63
 
@@ -79,9 +73,3 @@ task :test do
79
73
  Rake::Task["test:all"].invoke
80
74
  end
81
75
  end
82
-
83
- task "test:snapshots" => :clean_snapshots
84
- task :clean_snapshots do
85
- # Clear folder
86
- FileUtils.rm_rf("test/snapshots")
87
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.107
4
+ version: 0.0.108
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview