Skip to content

Commit 4c28189

Browse files
committed
accepting defeat in the face of components.d.ts files
1 parent b0b9dfe commit 4c28189

File tree

2 files changed

+226
-1
lines changed

2 files changed

+226
-1
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ linkchecker.html
2020
/package-lock.json
2121
/null
2222
/.stencil
23-
/assets/stencil/components.d.ts

Diff for: assets/stencil/components.d.ts

+226
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
/* tslint:disable */
2+
/**
3+
* This is an autogenerated file created by the Stencil compiler.
4+
* It contains typing information for all components that exist in this project.
5+
*/
6+
7+
8+
import { HTMLStencilElement, JSXBase } from '@stencil/core/internal';
9+
10+
11+
export namespace Components {
12+
interface IconExternal {}
13+
interface IonicAppflowActivator {}
14+
interface IonicBarChart {
15+
'color': string;
16+
'data': string;
17+
}
18+
interface IonicButton {
19+
'color': string;
20+
'disabled': boolean;
21+
'type': string;
22+
}
23+
interface IonicNewsletterSignup {
24+
'arrowMode': boolean;
25+
'buttonText': string;
26+
'darkMode': boolean;
27+
'homepageMode': boolean;
28+
'kind': string;
29+
'lg': boolean;
30+
'placeholder': string;
31+
}
32+
interface IonicQuickSignup {
33+
'buttonColor': string;
34+
'showPricingNotice': boolean;
35+
'transparentInput': boolean;
36+
}
37+
interface IonicSearch {
38+
'mobile': boolean;
39+
}
40+
interface IonicSlider {}
41+
interface IonicSnapBar {}
42+
interface IonicSubHeader {
43+
'darkMode': boolean;
44+
}
45+
interface IonicToggle {}
46+
interface IonicToggleButton {
47+
'deselect': () => Promise<void>;
48+
'select': () => Promise<void>;
49+
'tab': string;
50+
'title': string;
51+
}
52+
interface IonicToggleTab {
53+
'hide': () => Promise<void>;
54+
'show': () => Promise<void>;
55+
'tab': string;
56+
}
57+
}
58+
59+
declare global {
60+
61+
62+
interface HTMLIconExternalElement extends Components.IconExternal, HTMLStencilElement {}
63+
var HTMLIconExternalElement: {
64+
prototype: HTMLIconExternalElement;
65+
new (): HTMLIconExternalElement;
66+
};
67+
68+
interface HTMLIonicAppflowActivatorElement extends Components.IonicAppflowActivator, HTMLStencilElement {}
69+
var HTMLIonicAppflowActivatorElement: {
70+
prototype: HTMLIonicAppflowActivatorElement;
71+
new (): HTMLIonicAppflowActivatorElement;
72+
};
73+
74+
interface HTMLIonicBarChartElement extends Components.IonicBarChart, HTMLStencilElement {}
75+
var HTMLIonicBarChartElement: {
76+
prototype: HTMLIonicBarChartElement;
77+
new (): HTMLIonicBarChartElement;
78+
};
79+
80+
interface HTMLIonicButtonElement extends Components.IonicButton, HTMLStencilElement {}
81+
var HTMLIonicButtonElement: {
82+
prototype: HTMLIonicButtonElement;
83+
new (): HTMLIonicButtonElement;
84+
};
85+
86+
interface HTMLIonicNewsletterSignupElement extends Components.IonicNewsletterSignup, HTMLStencilElement {}
87+
var HTMLIonicNewsletterSignupElement: {
88+
prototype: HTMLIonicNewsletterSignupElement;
89+
new (): HTMLIonicNewsletterSignupElement;
90+
};
91+
92+
interface HTMLIonicQuickSignupElement extends Components.IonicQuickSignup, HTMLStencilElement {}
93+
var HTMLIonicQuickSignupElement: {
94+
prototype: HTMLIonicQuickSignupElement;
95+
new (): HTMLIonicQuickSignupElement;
96+
};
97+
98+
interface HTMLIonicSearchElement extends Components.IonicSearch, HTMLStencilElement {}
99+
var HTMLIonicSearchElement: {
100+
prototype: HTMLIonicSearchElement;
101+
new (): HTMLIonicSearchElement;
102+
};
103+
104+
interface HTMLIonicSliderElement extends Components.IonicSlider, HTMLStencilElement {}
105+
var HTMLIonicSliderElement: {
106+
prototype: HTMLIonicSliderElement;
107+
new (): HTMLIonicSliderElement;
108+
};
109+
110+
interface HTMLIonicSnapBarElement extends Components.IonicSnapBar, HTMLStencilElement {}
111+
var HTMLIonicSnapBarElement: {
112+
prototype: HTMLIonicSnapBarElement;
113+
new (): HTMLIonicSnapBarElement;
114+
};
115+
116+
interface HTMLIonicSubHeaderElement extends Components.IonicSubHeader, HTMLStencilElement {}
117+
var HTMLIonicSubHeaderElement: {
118+
prototype: HTMLIonicSubHeaderElement;
119+
new (): HTMLIonicSubHeaderElement;
120+
};
121+
122+
interface HTMLIonicToggleElement extends Components.IonicToggle, HTMLStencilElement {}
123+
var HTMLIonicToggleElement: {
124+
prototype: HTMLIonicToggleElement;
125+
new (): HTMLIonicToggleElement;
126+
};
127+
128+
interface HTMLIonicToggleButtonElement extends Components.IonicToggleButton, HTMLStencilElement {}
129+
var HTMLIonicToggleButtonElement: {
130+
prototype: HTMLIonicToggleButtonElement;
131+
new (): HTMLIonicToggleButtonElement;
132+
};
133+
134+
interface HTMLIonicToggleTabElement extends Components.IonicToggleTab, HTMLStencilElement {}
135+
var HTMLIonicToggleTabElement: {
136+
prototype: HTMLIonicToggleTabElement;
137+
new (): HTMLIonicToggleTabElement;
138+
};
139+
interface HTMLElementTagNameMap {
140+
'icon-external': HTMLIconExternalElement;
141+
'ionic-appflow-activator': HTMLIonicAppflowActivatorElement;
142+
'ionic-bar-chart': HTMLIonicBarChartElement;
143+
'ionic-button': HTMLIonicButtonElement;
144+
'ionic-newsletter-signup': HTMLIonicNewsletterSignupElement;
145+
'ionic-quick-signup': HTMLIonicQuickSignupElement;
146+
'ionic-search': HTMLIonicSearchElement;
147+
'ionic-slider': HTMLIonicSliderElement;
148+
'ionic-snap-bar': HTMLIonicSnapBarElement;
149+
'ionic-sub-header': HTMLIonicSubHeaderElement;
150+
'ionic-toggle': HTMLIonicToggleElement;
151+
'ionic-toggle-button': HTMLIonicToggleButtonElement;
152+
'ionic-toggle-tab': HTMLIonicToggleTabElement;
153+
}
154+
}
155+
156+
declare namespace LocalJSX {
157+
interface IconExternal extends JSXBase.HTMLAttributes<HTMLIconExternalElement> {}
158+
interface IonicAppflowActivator extends JSXBase.HTMLAttributes<HTMLIonicAppflowActivatorElement> {}
159+
interface IonicBarChart extends JSXBase.HTMLAttributes<HTMLIonicBarChartElement> {
160+
'color'?: string;
161+
'data'?: string;
162+
}
163+
interface IonicButton extends JSXBase.HTMLAttributes<HTMLIonicButtonElement> {
164+
'color'?: string;
165+
'disabled'?: boolean;
166+
'type'?: string;
167+
}
168+
interface IonicNewsletterSignup extends JSXBase.HTMLAttributes<HTMLIonicNewsletterSignupElement> {
169+
'arrowMode'?: boolean;
170+
'buttonText'?: string;
171+
'darkMode'?: boolean;
172+
'homepageMode'?: boolean;
173+
'kind'?: string;
174+
'lg'?: boolean;
175+
'placeholder'?: string;
176+
}
177+
interface IonicQuickSignup extends JSXBase.HTMLAttributes<HTMLIonicQuickSignupElement> {
178+
'buttonColor'?: string;
179+
'showPricingNotice'?: boolean;
180+
'transparentInput'?: boolean;
181+
}
182+
interface IonicSearch extends JSXBase.HTMLAttributes<HTMLIonicSearchElement> {
183+
'mobile'?: boolean;
184+
}
185+
interface IonicSlider extends JSXBase.HTMLAttributes<HTMLIonicSliderElement> {}
186+
interface IonicSnapBar extends JSXBase.HTMLAttributes<HTMLIonicSnapBarElement> {}
187+
interface IonicSubHeader extends JSXBase.HTMLAttributes<HTMLIonicSubHeaderElement> {
188+
'darkMode'?: boolean;
189+
}
190+
interface IonicToggle extends JSXBase.HTMLAttributes<HTMLIonicToggleElement> {}
191+
interface IonicToggleButton extends JSXBase.HTMLAttributes<HTMLIonicToggleButtonElement> {
192+
'onToggleSelected'?: (event: CustomEvent<any>) => void;
193+
'tab'?: string;
194+
'title'?: string;
195+
}
196+
interface IonicToggleTab extends JSXBase.HTMLAttributes<HTMLIonicToggleTabElement> {
197+
'tab'?: string;
198+
}
199+
200+
interface IntrinsicElements {
201+
'icon-external': IconExternal;
202+
'ionic-appflow-activator': IonicAppflowActivator;
203+
'ionic-bar-chart': IonicBarChart;
204+
'ionic-button': IonicButton;
205+
'ionic-newsletter-signup': IonicNewsletterSignup;
206+
'ionic-quick-signup': IonicQuickSignup;
207+
'ionic-search': IonicSearch;
208+
'ionic-slider': IonicSlider;
209+
'ionic-snap-bar': IonicSnapBar;
210+
'ionic-sub-header': IonicSubHeader;
211+
'ionic-toggle': IonicToggle;
212+
'ionic-toggle-button': IonicToggleButton;
213+
'ionic-toggle-tab': IonicToggleTab;
214+
}
215+
}
216+
217+
export { LocalJSX as JSX };
218+
219+
220+
declare module "@stencil/core" {
221+
export namespace JSX {
222+
interface IntrinsicElements extends LocalJSX.IntrinsicElements {}
223+
}
224+
}
225+
226+

0 commit comments

Comments
 (0)