@@ -2,6 +2,36 @@ import { customElement } from "lit/decorators.js";
2
2
import { Pinwheel } from "./pinwheel" ;
3
3
import styles from "./pinwheel.style" ;
4
4
5
+ /**
6
+ * ### Example
7
+ *
8
+ * ```html
9
+ * <tap-pinwheel .items=${["item1", "item2"]}></tap-avatar>
10
+ * ```
11
+ *
12
+ * @summary A pinwheel component for selecting items by scrolling through a list.
13
+ *
14
+ * @prop {Array.<string> } items - An array of strings that contains pinwheel items.
15
+ *
16
+ * @csspart pinwheel - The container that wraps the pinwheel component.
17
+ * @csspart pinwheel-item - The item that rendered in pinwheel.
18
+ *
19
+ * @cssprop [--tap-pinwheel-spacing-0=--tap-sys-spacing-0]
20
+ * @cssprop [--tap-pinwheel-spacing-6=--tap-sys-spacing-6]
21
+ * @cssprop [--tap-pinwheel-spacing-11=--tap-sys-spacing-11]
22
+ *
23
+ * @cssprop [--tap-font-family=--tap-sys-font-family]
24
+ * @cssprop [--tap-pinwheel-typography-body-md-height=--tap-sys-typography-body-md-height]
25
+ * @cssprop [--tap-pinwheel-typography-body-md-size=--tap-sys-typography-body-md-size]
26
+ * @cssprop [--tap-pinwheel-typography-body-md-weight=--tap-sys-typography-body-md-weight]
27
+ * @cssprop [--tap-pinwheel-color-content-tertiary=--tap-sys-color-content-tertiary]
28
+ *
29
+ * @cssprop [--tap-pinwheel-typography-label-md-height=--tap-sys-typography-label-md-height]
30
+ * @cssprop [--tap-pinwheel-typography-label-md-size=--tap-sys-typography-label-md-size]
31
+ * @cssprop [--tap-pinwheel-typography-label-md-weight=--tap-sys-typography-label-md-weight]
32
+ * @cssprop [--tap-pinwheel-color-content-primary=--tap-sys-color-content-primary]
33
+ *
34
+ */
5
35
@customElement ( "tap-pinwheel" )
6
36
export class TapPinwheel extends Pinwheel {
7
37
static readonly styles = [ styles ] ;
0 commit comments