@ionic/docs 8.7.17-dev.11772075102.1b6d5227 → 8.7.17-dev.11772568074.1d7a4aea
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.
- package/core.d.ts +37 -0
- package/core.json +835 -381
- package/package.json +1 -1
package/core.d.ts
CHANGED
|
@@ -38,6 +38,17 @@ interface ComponentCompilerTypeReference {
|
|
|
38
38
|
* An ID for this type which is unique within a Stencil project.
|
|
39
39
|
*/
|
|
40
40
|
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether this type was imported as a default import (e.g., `import MyEnum from './my-enum'`)
|
|
43
|
+
* vs a named import (e.g., `import { MyType } from './my-type'`)
|
|
44
|
+
*/
|
|
45
|
+
isDefault?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The name used in the import statement (before any user-defined alias).
|
|
48
|
+
* For `import { XAxisOption as moo }`, this would be "XAxisOption".
|
|
49
|
+
* This is the name exported by the source module.
|
|
50
|
+
*/
|
|
51
|
+
referenceLocation?: string;
|
|
41
52
|
}
|
|
42
53
|
interface ComponentCompilerReferencedType {
|
|
43
54
|
/**
|
|
@@ -196,6 +207,10 @@ export interface JsonDocsComponent {
|
|
|
196
207
|
* Array of component Parts information, generate from `@part` tags
|
|
197
208
|
*/
|
|
198
209
|
parts: JsonDocsPart[];
|
|
210
|
+
/**
|
|
211
|
+
* Array of custom states defined via @AttachInternals({ states: {...} })
|
|
212
|
+
*/
|
|
213
|
+
customStates: JsonDocsCustomState[];
|
|
199
214
|
/**
|
|
200
215
|
* Array of metadata describing where the current component is used
|
|
201
216
|
*/
|
|
@@ -413,6 +428,28 @@ export interface JsonDocsPart {
|
|
|
413
428
|
*/
|
|
414
429
|
docs: string;
|
|
415
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* A descriptor for a Custom State defined via @AttachInternals({ states: {...} })
|
|
433
|
+
*
|
|
434
|
+
* Custom states are exposed via the ElementInternals.states CustomStateSet
|
|
435
|
+
* and can be targeted with the CSS `:state()` pseudo-class.
|
|
436
|
+
*
|
|
437
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/CustomStateSet
|
|
438
|
+
*/
|
|
439
|
+
export interface JsonDocsCustomState {
|
|
440
|
+
/**
|
|
441
|
+
* The name of the custom state (without dashes)
|
|
442
|
+
*/
|
|
443
|
+
name: string;
|
|
444
|
+
/**
|
|
445
|
+
* The initial/default value of the state
|
|
446
|
+
*/
|
|
447
|
+
initialValue: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* A textual description of the custom state
|
|
450
|
+
*/
|
|
451
|
+
docs: string;
|
|
452
|
+
}
|
|
416
453
|
/**
|
|
417
454
|
* Represents a parsed block comment in a CSS, Sass, etc. file for a custom property.
|
|
418
455
|
*/
|