@ukic/canary-docs 3.0.0-canary.2 → 3.0.0-canary.20
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/README.md +1 -1
- package/docs.d.ts +42 -0
- package/docs.json +2216 -1304
- package/package.json +3 -2
package/README.md
CHANGED
package/docs.d.ts
CHANGED
|
@@ -316,6 +316,14 @@ export interface JsonDocsProp {
|
|
|
316
316
|
* ```
|
|
317
317
|
*/
|
|
318
318
|
required: boolean;
|
|
319
|
+
/**
|
|
320
|
+
* `true` if the prop has a `get()`. `false` otherwise
|
|
321
|
+
*/
|
|
322
|
+
getter: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* `true` if the prop has a `set()`. `false` otherwise
|
|
325
|
+
*/
|
|
326
|
+
setter: boolean;
|
|
319
327
|
}
|
|
320
328
|
export interface JsonDocsMethod {
|
|
321
329
|
name: string;
|
|
@@ -347,10 +355,26 @@ export interface JsonDocsEvent {
|
|
|
347
355
|
deprecation?: string;
|
|
348
356
|
detail: string;
|
|
349
357
|
}
|
|
358
|
+
/**
|
|
359
|
+
* Type describing a CSS Style, as described by a JSDoc-style comment
|
|
360
|
+
*/
|
|
350
361
|
export interface JsonDocsStyle {
|
|
362
|
+
/**
|
|
363
|
+
* The name of the style
|
|
364
|
+
*/
|
|
351
365
|
name: string;
|
|
366
|
+
/**
|
|
367
|
+
* The type/description associated with the style
|
|
368
|
+
*/
|
|
352
369
|
docs: string;
|
|
370
|
+
/**
|
|
371
|
+
* The annotation used in the JSDoc of the style (e.g. `@prop`)
|
|
372
|
+
*/
|
|
353
373
|
annotation: string;
|
|
374
|
+
/**
|
|
375
|
+
* The mode associated with the style
|
|
376
|
+
*/
|
|
377
|
+
mode: string | undefined;
|
|
354
378
|
}
|
|
355
379
|
export interface JsonDocsListener {
|
|
356
380
|
event: string;
|
|
@@ -389,10 +413,28 @@ export interface JsonDocsPart {
|
|
|
389
413
|
*/
|
|
390
414
|
docs: string;
|
|
391
415
|
}
|
|
416
|
+
/**
|
|
417
|
+
* Represents a parsed block comment in a CSS, Sass, etc. file for a custom property.
|
|
418
|
+
*/
|
|
392
419
|
export interface StyleDoc {
|
|
420
|
+
/**
|
|
421
|
+
* The name of the CSS property
|
|
422
|
+
*/
|
|
393
423
|
name: string;
|
|
424
|
+
/**
|
|
425
|
+
* The user-defined description of the CSS property
|
|
426
|
+
*/
|
|
394
427
|
docs: string;
|
|
428
|
+
/**
|
|
429
|
+
* The JSDoc-style annotation (e.g. `@prop`) that was used in the block comment to detect the comment.
|
|
430
|
+
* Used to inform Stencil where the start of a new property's description starts (and where the previous description
|
|
431
|
+
* ends).
|
|
432
|
+
*/
|
|
395
433
|
annotation: "prop";
|
|
434
|
+
/**
|
|
435
|
+
* The Stencil style-mode that is associated with this property.
|
|
436
|
+
*/
|
|
437
|
+
mode: string | undefined;
|
|
396
438
|
}
|
|
397
439
|
|
|
398
440
|
export {};
|