@material/web 2.5.1-nightly.b4de401.0 → 2.5.1-nightly.efaa189.0
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/custom-elements.json +2220 -838
- package/labs/gb/components/appbar/_app-bar-tokens.scss +136 -0
- package/labs/gb/components/appbar/app-bar-element.d.ts +53 -0
- package/labs/gb/components/appbar/app-bar-element.js +144 -0
- package/labs/gb/components/appbar/app-bar-element.js.map +1 -0
- package/labs/gb/components/appbar/app-bar.css +4 -0
- package/labs/gb/components/appbar/app-bar.css.map +1 -0
- package/labs/gb/components/appbar/app-bar.cssresult.d.ts +3 -0
- package/labs/gb/components/appbar/app-bar.cssresult.js +14 -0
- package/labs/gb/components/appbar/app-bar.cssresult.js.map +1 -0
- package/labs/gb/components/appbar/app-bar.d.ts +71 -0
- package/labs/gb/components/appbar/app-bar.js +96 -0
- package/labs/gb/components/appbar/app-bar.js.map +1 -0
- package/labs/gb/components/appbar/app-bar.scss +167 -0
- package/labs/gb/components/appbar/md-gb-app-bar.d.ts +12 -0
- package/labs/gb/components/appbar/md-gb-app-bar.js +8 -0
- package/labs/gb/components/appbar/md-gb-app-bar.js.map +1 -0
- package/labs/gb/components/chip/_chip-tokens.scss +167 -0
- package/labs/gb/components/chip/chip-element.d.ts +73 -0
- package/labs/gb/components/chip/chip-element.js +233 -0
- package/labs/gb/components/chip/chip-element.js.map +1 -0
- package/labs/gb/components/chip/chip.css +4 -0
- package/labs/gb/components/chip/chip.css.map +1 -0
- package/labs/gb/components/chip/chip.cssresult.d.ts +3 -0
- package/labs/gb/components/chip/chip.cssresult.js +14 -0
- package/labs/gb/components/chip/chip.cssresult.js.map +1 -0
- package/labs/gb/components/chip/chip.d.ts +77 -0
- package/labs/gb/components/chip/chip.js +99 -0
- package/labs/gb/components/chip/chip.js.map +1 -0
- package/labs/gb/components/chip/chip.scss +97 -0
- package/labs/gb/components/chip/md-gb-chip.d.ts +13 -0
- package/labs/gb/components/chip/md-gb-chip.js +9 -0
- package/labs/gb/components/chip/md-gb-chip.js.map +1 -0
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -36221,12 +36221,12 @@
|
|
|
36221
36221
|
},
|
|
36222
36222
|
{
|
|
36223
36223
|
"kind": "javascript-module",
|
|
36224
|
-
"path": "labs/gb/components/
|
|
36224
|
+
"path": "labs/gb/components/appbar/app-bar-element.js",
|
|
36225
36225
|
"declarations": [
|
|
36226
36226
|
{
|
|
36227
36227
|
"kind": "class",
|
|
36228
|
-
"name": "
|
|
36229
|
-
"description": "A Material Design
|
|
36228
|
+
"name": "AppBarElement",
|
|
36229
|
+
"description": "A Material Design Expressive App Bar component (`md-gb-app-bar`).",
|
|
36230
36230
|
"superclass": {
|
|
36231
36231
|
"name": "LitElement",
|
|
36232
36232
|
"package": "lit"
|
|
@@ -36234,7 +36234,61 @@
|
|
|
36234
36234
|
"members": [
|
|
36235
36235
|
{
|
|
36236
36236
|
"kind": "field",
|
|
36237
|
-
"name": "
|
|
36237
|
+
"name": "size",
|
|
36238
|
+
"description": "The size of the app bar (`sm`, `md`, `lg`). Defaults to `sm`.",
|
|
36239
|
+
"privacy": "public",
|
|
36240
|
+
"type": {
|
|
36241
|
+
"text": "AppBarSize",
|
|
36242
|
+
"references": [
|
|
36243
|
+
{
|
|
36244
|
+
"name": "AppBarSize",
|
|
36245
|
+
"package": "@material/web",
|
|
36246
|
+
"module": "labs/gb/components/appbar/app-bar.js",
|
|
36247
|
+
"start": 0,
|
|
36248
|
+
"end": 10
|
|
36249
|
+
}
|
|
36250
|
+
]
|
|
36251
|
+
},
|
|
36252
|
+
"default": "'sm'",
|
|
36253
|
+
"attribute": "size",
|
|
36254
|
+
"reflects": true
|
|
36255
|
+
},
|
|
36256
|
+
{
|
|
36257
|
+
"kind": "field",
|
|
36258
|
+
"name": "variant",
|
|
36259
|
+
"description": "The behavioral variant of the app bar (`standard` or `search`). Defaults to `standard`.",
|
|
36260
|
+
"privacy": "public",
|
|
36261
|
+
"type": {
|
|
36262
|
+
"text": "AppBarVariant",
|
|
36263
|
+
"references": [
|
|
36264
|
+
{
|
|
36265
|
+
"name": "AppBarVariant",
|
|
36266
|
+
"package": "@material/web",
|
|
36267
|
+
"module": "labs/gb/components/appbar/app-bar.js",
|
|
36268
|
+
"start": 0,
|
|
36269
|
+
"end": 13
|
|
36270
|
+
}
|
|
36271
|
+
]
|
|
36272
|
+
},
|
|
36273
|
+
"default": "'standard'",
|
|
36274
|
+
"attribute": "variant",
|
|
36275
|
+
"reflects": true
|
|
36276
|
+
},
|
|
36277
|
+
{
|
|
36278
|
+
"kind": "field",
|
|
36279
|
+
"name": "scrolled",
|
|
36280
|
+
"description": "Whether the app bar is in its scrolled state. Defaults to `false`.",
|
|
36281
|
+
"privacy": "public",
|
|
36282
|
+
"type": {
|
|
36283
|
+
"text": "boolean"
|
|
36284
|
+
},
|
|
36285
|
+
"default": "false",
|
|
36286
|
+
"attribute": "scrolled",
|
|
36287
|
+
"reflects": true
|
|
36288
|
+
},
|
|
36289
|
+
{
|
|
36290
|
+
"kind": "field",
|
|
36291
|
+
"name": "hasSubtitle",
|
|
36238
36292
|
"privacy": "private",
|
|
36239
36293
|
"type": {
|
|
36240
36294
|
"text": "boolean"
|
|
@@ -36257,7 +36311,7 @@
|
|
|
36257
36311
|
}
|
|
36258
36312
|
]
|
|
36259
36313
|
},
|
|
36260
|
-
"default": "[\n
|
|
36314
|
+
"default": "[\n appBarStyles,\n css`\n :host {\n display: flex;\n width: 100%;\n position: relative;\n }\n `,\n ]"
|
|
36261
36315
|
},
|
|
36262
36316
|
{
|
|
36263
36317
|
"kind": "method",
|
|
@@ -36280,11 +36334,11 @@
|
|
|
36280
36334
|
},
|
|
36281
36335
|
{
|
|
36282
36336
|
"kind": "method",
|
|
36283
|
-
"name": "
|
|
36337
|
+
"name": "handleSubtitleSlotChange",
|
|
36284
36338
|
"privacy": "private",
|
|
36285
36339
|
"parameters": [
|
|
36286
36340
|
{
|
|
36287
|
-
"name": "
|
|
36341
|
+
"name": "event",
|
|
36288
36342
|
"type": {
|
|
36289
36343
|
"text": "Event",
|
|
36290
36344
|
"references": [
|
|
@@ -36305,22 +36359,161 @@
|
|
|
36305
36359
|
}
|
|
36306
36360
|
}
|
|
36307
36361
|
],
|
|
36308
|
-
"customElement": true
|
|
36362
|
+
"customElement": true,
|
|
36363
|
+
"attributes": [
|
|
36364
|
+
{
|
|
36365
|
+
"name": "size",
|
|
36366
|
+
"type": {
|
|
36367
|
+
"text": "string"
|
|
36368
|
+
},
|
|
36369
|
+
"fieldName": "size"
|
|
36370
|
+
},
|
|
36371
|
+
{
|
|
36372
|
+
"name": "variant",
|
|
36373
|
+
"type": {
|
|
36374
|
+
"text": "string"
|
|
36375
|
+
},
|
|
36376
|
+
"fieldName": "variant"
|
|
36377
|
+
},
|
|
36378
|
+
{
|
|
36379
|
+
"name": "scrolled",
|
|
36380
|
+
"type": {
|
|
36381
|
+
"text": "boolean"
|
|
36382
|
+
},
|
|
36383
|
+
"fieldName": "scrolled"
|
|
36384
|
+
}
|
|
36385
|
+
],
|
|
36386
|
+
"events": [
|
|
36387
|
+
{
|
|
36388
|
+
"name": "scrollstatechange",
|
|
36389
|
+
"type": {
|
|
36390
|
+
"text": "CustomEvent<{scrolled: boolean}>",
|
|
36391
|
+
"references": [
|
|
36392
|
+
{
|
|
36393
|
+
"name": "CustomEvent",
|
|
36394
|
+
"package": "global:",
|
|
36395
|
+
"start": 0,
|
|
36396
|
+
"end": 11
|
|
36397
|
+
}
|
|
36398
|
+
]
|
|
36399
|
+
},
|
|
36400
|
+
"description": "Fired when the scrolled state changes. --bubbles --composed"
|
|
36401
|
+
}
|
|
36402
|
+
],
|
|
36403
|
+
"slots": [
|
|
36404
|
+
{
|
|
36405
|
+
"name": "-",
|
|
36406
|
+
"description": "Used to display the primary title text of the app bar."
|
|
36407
|
+
},
|
|
36408
|
+
{
|
|
36409
|
+
"name": "subtitle",
|
|
36410
|
+
"description": "Used to display an optional subtitle below the title in medium/large bars."
|
|
36411
|
+
},
|
|
36412
|
+
{
|
|
36413
|
+
"name": "leading",
|
|
36414
|
+
"description": "Used to display the leading navigation icon button (e.g. menu or back)."
|
|
36415
|
+
},
|
|
36416
|
+
{
|
|
36417
|
+
"name": "trailing",
|
|
36418
|
+
"description": "Used to display trailing action buttons and/or user avatar."
|
|
36419
|
+
},
|
|
36420
|
+
{
|
|
36421
|
+
"name": "search",
|
|
36422
|
+
"description": "Used to display search bar input or controls when `variant=\"search\"`."
|
|
36423
|
+
}
|
|
36424
|
+
],
|
|
36425
|
+
"cssParts": [
|
|
36426
|
+
{
|
|
36427
|
+
"name": "app-bar",
|
|
36428
|
+
"description": "The root container element."
|
|
36429
|
+
}
|
|
36430
|
+
],
|
|
36431
|
+
"cssProperties": [
|
|
36432
|
+
{
|
|
36433
|
+
"name": "--avatar-size"
|
|
36434
|
+
},
|
|
36435
|
+
{
|
|
36436
|
+
"name": "--container-color"
|
|
36437
|
+
},
|
|
36438
|
+
{
|
|
36439
|
+
"name": "--container-elevation"
|
|
36440
|
+
},
|
|
36441
|
+
{
|
|
36442
|
+
"name": "--container-height"
|
|
36443
|
+
},
|
|
36444
|
+
{
|
|
36445
|
+
"name": "--container-shape"
|
|
36446
|
+
},
|
|
36447
|
+
{
|
|
36448
|
+
"name": "--icon-button-space"
|
|
36449
|
+
},
|
|
36450
|
+
{
|
|
36451
|
+
"name": "--icon-size"
|
|
36452
|
+
},
|
|
36453
|
+
{
|
|
36454
|
+
"name": "--label-text"
|
|
36455
|
+
},
|
|
36456
|
+
{
|
|
36457
|
+
"name": "--label-text-axes"
|
|
36458
|
+
},
|
|
36459
|
+
{
|
|
36460
|
+
"name": "--label-text-tracking"
|
|
36461
|
+
},
|
|
36462
|
+
{
|
|
36463
|
+
"name": "--label-color"
|
|
36464
|
+
},
|
|
36465
|
+
{
|
|
36466
|
+
"name": "--leading-icon-color"
|
|
36467
|
+
},
|
|
36468
|
+
{
|
|
36469
|
+
"name": "--leading-space"
|
|
36470
|
+
},
|
|
36471
|
+
{
|
|
36472
|
+
"name": "--subtitle"
|
|
36473
|
+
},
|
|
36474
|
+
{
|
|
36475
|
+
"name": "--subtitle-axes"
|
|
36476
|
+
},
|
|
36477
|
+
{
|
|
36478
|
+
"name": "--subtitle-color"
|
|
36479
|
+
},
|
|
36480
|
+
{
|
|
36481
|
+
"name": "--subtitle-tracking"
|
|
36482
|
+
},
|
|
36483
|
+
{
|
|
36484
|
+
"name": "--title"
|
|
36485
|
+
},
|
|
36486
|
+
{
|
|
36487
|
+
"name": "--title-axes"
|
|
36488
|
+
},
|
|
36489
|
+
{
|
|
36490
|
+
"name": "--title-color"
|
|
36491
|
+
},
|
|
36492
|
+
{
|
|
36493
|
+
"name": "--title-tracking"
|
|
36494
|
+
},
|
|
36495
|
+
{
|
|
36496
|
+
"name": "--trailing-icon-color"
|
|
36497
|
+
},
|
|
36498
|
+
{
|
|
36499
|
+
"name": "--trailing-space"
|
|
36500
|
+
}
|
|
36501
|
+
]
|
|
36309
36502
|
}
|
|
36310
36503
|
],
|
|
36311
36504
|
"exports": [
|
|
36312
36505
|
{
|
|
36313
36506
|
"kind": "js",
|
|
36314
|
-
"name": "
|
|
36507
|
+
"name": "AppBarElement",
|
|
36315
36508
|
"declaration": {
|
|
36316
|
-
"name": "
|
|
36509
|
+
"name": "AppBarElement"
|
|
36317
36510
|
}
|
|
36318
36511
|
}
|
|
36319
36512
|
]
|
|
36320
36513
|
},
|
|
36321
36514
|
{
|
|
36322
36515
|
"kind": "javascript-module",
|
|
36323
|
-
"path": "labs/gb/components/
|
|
36516
|
+
"path": "labs/gb/components/appbar/app-bar.cssresult.js",
|
|
36324
36517
|
"declarations": [
|
|
36325
36518
|
{
|
|
36326
36519
|
"kind": "variable",
|
|
@@ -36373,33 +36566,49 @@
|
|
|
36373
36566
|
},
|
|
36374
36567
|
{
|
|
36375
36568
|
"kind": "javascript-module",
|
|
36376
|
-
"path": "labs/gb/components/
|
|
36569
|
+
"path": "labs/gb/components/appbar/app-bar.js",
|
|
36377
36570
|
"declarations": [
|
|
36378
36571
|
{
|
|
36379
36572
|
"kind": "variable",
|
|
36380
|
-
"name": "
|
|
36381
|
-
"description": "
|
|
36573
|
+
"name": "APP_BAR_SIZES",
|
|
36574
|
+
"description": "App Bar size configurations.",
|
|
36382
36575
|
"type": {
|
|
36383
|
-
"text": "{ readonly
|
|
36576
|
+
"text": "{ readonly sm: \"sm\"; readonly md: \"md\"; readonly lg: \"lg\"; }"
|
|
36577
|
+
}
|
|
36578
|
+
},
|
|
36579
|
+
{
|
|
36580
|
+
"kind": "variable",
|
|
36581
|
+
"name": "APP_BAR_VARIANTS",
|
|
36582
|
+
"description": "App Bar variant configurations.",
|
|
36583
|
+
"type": {
|
|
36584
|
+
"text": "{ readonly standard: \"standard\"; readonly search: \"search\"; }"
|
|
36585
|
+
}
|
|
36586
|
+
},
|
|
36587
|
+
{
|
|
36588
|
+
"kind": "variable",
|
|
36589
|
+
"name": "APP_BAR_CLASSES",
|
|
36590
|
+
"description": "App Bar classes.",
|
|
36591
|
+
"type": {
|
|
36592
|
+
"text": "{ readonly appBar: \"app-bar\"; readonly appBarSm: \"app-bar-sm\"; readonly appBarMd: \"app-bar-md\"; readonly appBarLg: \"app-bar-lg\"; readonly appBarWithSubtitle: \"app-bar-with-subtitle\"; readonly appBarSearch: \"app-bar-search\"; readonly appBarScrolled: \"app-bar-scrolled\"; }"
|
|
36384
36593
|
}
|
|
36385
36594
|
},
|
|
36386
36595
|
{
|
|
36387
36596
|
"kind": "function",
|
|
36388
|
-
"name": "
|
|
36389
|
-
"description": "Returns the
|
|
36597
|
+
"name": "appBarClasses",
|
|
36598
|
+
"description": "Returns the app bar classes to apply to an element based on the given state.",
|
|
36390
36599
|
"parameters": [
|
|
36391
36600
|
{
|
|
36392
|
-
"name": "{\n
|
|
36393
|
-
"description": "The state of the
|
|
36601
|
+
"name": "{\n size = 'sm',\n withSubtitle = false,\n variant = 'standard',\n scrolled = false,\n}",
|
|
36602
|
+
"description": "The state of the app bar.",
|
|
36394
36603
|
"type": {
|
|
36395
|
-
"text": "
|
|
36604
|
+
"text": "AppBarClassesState",
|
|
36396
36605
|
"references": [
|
|
36397
36606
|
{
|
|
36398
|
-
"name": "
|
|
36607
|
+
"name": "AppBarClassesState",
|
|
36399
36608
|
"package": "@material/web",
|
|
36400
|
-
"module": "labs/gb/components/
|
|
36609
|
+
"module": "labs/gb/components/appbar/app-bar.js",
|
|
36401
36610
|
"start": 0,
|
|
36402
|
-
"end":
|
|
36611
|
+
"end": 18
|
|
36403
36612
|
}
|
|
36404
36613
|
]
|
|
36405
36614
|
},
|
|
@@ -36423,33 +36632,88 @@
|
|
|
36423
36632
|
"description": "An object of class names and truthy values if they apply."
|
|
36424
36633
|
}
|
|
36425
36634
|
},
|
|
36635
|
+
{
|
|
36636
|
+
"kind": "function",
|
|
36637
|
+
"name": "setupAppBar",
|
|
36638
|
+
"description": "Sets up optional scroll target tracking for the given app bar element when an explicit `scrollTarget` is provided.",
|
|
36639
|
+
"parameters": [
|
|
36640
|
+
{
|
|
36641
|
+
"name": "appBar",
|
|
36642
|
+
"description": "The element on which to set up app bar functionality.",
|
|
36643
|
+
"type": {
|
|
36644
|
+
"text": "HTMLElement",
|
|
36645
|
+
"references": [
|
|
36646
|
+
{
|
|
36647
|
+
"name": "HTMLElement",
|
|
36648
|
+
"package": "global:",
|
|
36649
|
+
"start": 0,
|
|
36650
|
+
"end": 11
|
|
36651
|
+
}
|
|
36652
|
+
]
|
|
36653
|
+
}
|
|
36654
|
+
},
|
|
36655
|
+
{
|
|
36656
|
+
"name": "opts",
|
|
36657
|
+
"description": "Setup options, containing an explicit `scrollTarget` and optional cleanup `signal`.",
|
|
36658
|
+
"type": {
|
|
36659
|
+
"text": "{ signal?: AbortSignal; scrollTarget?: HTMLElement | Window; }",
|
|
36660
|
+
"references": [
|
|
36661
|
+
{
|
|
36662
|
+
"name": "AbortSignal",
|
|
36663
|
+
"package": "global:",
|
|
36664
|
+
"start": 11,
|
|
36665
|
+
"end": 22
|
|
36666
|
+
},
|
|
36667
|
+
{
|
|
36668
|
+
"name": "HTMLElement",
|
|
36669
|
+
"package": "global:",
|
|
36670
|
+
"start": 39,
|
|
36671
|
+
"end": 50
|
|
36672
|
+
},
|
|
36673
|
+
{
|
|
36674
|
+
"name": "Window",
|
|
36675
|
+
"package": "global:",
|
|
36676
|
+
"start": 53,
|
|
36677
|
+
"end": 59
|
|
36678
|
+
}
|
|
36679
|
+
]
|
|
36680
|
+
},
|
|
36681
|
+
"optional": true
|
|
36682
|
+
}
|
|
36683
|
+
],
|
|
36684
|
+
"return": {
|
|
36685
|
+
"type": {
|
|
36686
|
+
"text": "void"
|
|
36687
|
+
}
|
|
36688
|
+
}
|
|
36689
|
+
},
|
|
36426
36690
|
{
|
|
36427
36691
|
"kind": "variable",
|
|
36428
|
-
"name": "
|
|
36429
|
-
"description": "A Lit directive that adds
|
|
36692
|
+
"name": "appBar",
|
|
36693
|
+
"description": "A Lit directive that adds app bar styling and optional scroll tracking functionality to its element.",
|
|
36430
36694
|
"type": {
|
|
36431
|
-
"text": "(state?:
|
|
36695
|
+
"text": "(state?: AppBarClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
36432
36696
|
"references": [
|
|
36433
36697
|
{
|
|
36434
|
-
"name": "
|
|
36698
|
+
"name": "AppBarClassesState",
|
|
36435
36699
|
"package": "@material/web",
|
|
36436
|
-
"module": "labs/gb/components/
|
|
36700
|
+
"module": "labs/gb/components/appbar/app-bar.js",
|
|
36437
36701
|
"start": 9,
|
|
36438
|
-
"end":
|
|
36702
|
+
"end": 27
|
|
36439
36703
|
},
|
|
36440
36704
|
{
|
|
36441
36705
|
"name": "AdditionalClasses",
|
|
36442
36706
|
"package": "@material/web",
|
|
36443
36707
|
"module": "labs/gb/components/shared/directives.js",
|
|
36444
|
-
"start":
|
|
36445
|
-
"end":
|
|
36708
|
+
"start": 30,
|
|
36709
|
+
"end": 47
|
|
36446
36710
|
},
|
|
36447
36711
|
{
|
|
36448
36712
|
"name": "DirectiveResult",
|
|
36449
36713
|
"package": "lit-html",
|
|
36450
36714
|
"module": "development/directive.js",
|
|
36451
|
-
"start":
|
|
36452
|
-
"end":
|
|
36715
|
+
"start": 52,
|
|
36716
|
+
"end": 67
|
|
36453
36717
|
}
|
|
36454
36718
|
]
|
|
36455
36719
|
}
|
|
@@ -36458,101 +36722,1143 @@
|
|
|
36458
36722
|
"exports": [
|
|
36459
36723
|
{
|
|
36460
36724
|
"kind": "js",
|
|
36461
|
-
"name": "
|
|
36725
|
+
"name": "APP_BAR_SIZES",
|
|
36462
36726
|
"declaration": {
|
|
36463
|
-
"name": "
|
|
36727
|
+
"name": "APP_BAR_SIZES"
|
|
36464
36728
|
}
|
|
36465
36729
|
},
|
|
36466
36730
|
{
|
|
36467
36731
|
"kind": "js",
|
|
36468
|
-
"name": "
|
|
36732
|
+
"name": "APP_BAR_VARIANTS",
|
|
36469
36733
|
"declaration": {
|
|
36470
|
-
"name": "
|
|
36734
|
+
"name": "APP_BAR_VARIANTS"
|
|
36471
36735
|
}
|
|
36472
36736
|
},
|
|
36473
36737
|
{
|
|
36474
36738
|
"kind": "js",
|
|
36475
|
-
"name": "
|
|
36739
|
+
"name": "APP_BAR_CLASSES",
|
|
36476
36740
|
"declaration": {
|
|
36477
|
-
"name": "
|
|
36741
|
+
"name": "APP_BAR_CLASSES"
|
|
36742
|
+
}
|
|
36743
|
+
},
|
|
36744
|
+
{
|
|
36745
|
+
"kind": "js",
|
|
36746
|
+
"name": "appBarClasses",
|
|
36747
|
+
"declaration": {
|
|
36748
|
+
"name": "appBarClasses"
|
|
36749
|
+
}
|
|
36750
|
+
},
|
|
36751
|
+
{
|
|
36752
|
+
"kind": "js",
|
|
36753
|
+
"name": "setupAppBar",
|
|
36754
|
+
"declaration": {
|
|
36755
|
+
"name": "setupAppBar"
|
|
36756
|
+
}
|
|
36757
|
+
},
|
|
36758
|
+
{
|
|
36759
|
+
"kind": "js",
|
|
36760
|
+
"name": "appBar",
|
|
36761
|
+
"declaration": {
|
|
36762
|
+
"name": "appBar"
|
|
36478
36763
|
}
|
|
36479
36764
|
}
|
|
36480
36765
|
]
|
|
36481
36766
|
},
|
|
36482
36767
|
{
|
|
36483
36768
|
"kind": "javascript-module",
|
|
36484
|
-
"path": "labs/gb/components/
|
|
36769
|
+
"path": "labs/gb/components/appbar/md-gb-app-bar.js"
|
|
36485
36770
|
},
|
|
36486
36771
|
{
|
|
36487
36772
|
"kind": "javascript-module",
|
|
36488
|
-
"path": "labs/gb/components/
|
|
36773
|
+
"path": "labs/gb/components/badge/badge-element.js",
|
|
36774
|
+
"declarations": [
|
|
36775
|
+
{
|
|
36776
|
+
"kind": "class",
|
|
36777
|
+
"name": "BadgeElement",
|
|
36778
|
+
"description": "A Material Design badge component.",
|
|
36779
|
+
"superclass": {
|
|
36780
|
+
"name": "LitElement",
|
|
36781
|
+
"package": "lit"
|
|
36782
|
+
},
|
|
36783
|
+
"members": [
|
|
36784
|
+
{
|
|
36785
|
+
"kind": "field",
|
|
36786
|
+
"name": "hasContent",
|
|
36787
|
+
"privacy": "private",
|
|
36788
|
+
"type": {
|
|
36789
|
+
"text": "boolean"
|
|
36790
|
+
},
|
|
36791
|
+
"default": "false"
|
|
36792
|
+
},
|
|
36793
|
+
{
|
|
36794
|
+
"kind": "field",
|
|
36795
|
+
"name": "styles",
|
|
36796
|
+
"static": true,
|
|
36797
|
+
"privacy": "public",
|
|
36798
|
+
"type": {
|
|
36799
|
+
"text": "CSSResultOrNative[]",
|
|
36800
|
+
"references": [
|
|
36801
|
+
{
|
|
36802
|
+
"name": "CSSResultOrNative",
|
|
36803
|
+
"package": "lit",
|
|
36804
|
+
"start": 0,
|
|
36805
|
+
"end": 17
|
|
36806
|
+
}
|
|
36807
|
+
]
|
|
36808
|
+
},
|
|
36809
|
+
"default": "[\n badgeStyles,\n css`\n :host {\n display: inline-flex;\n }\n .badge {\n flex: 1;\n }\n `,\n ]"
|
|
36810
|
+
},
|
|
36811
|
+
{
|
|
36812
|
+
"kind": "method",
|
|
36813
|
+
"name": "render",
|
|
36814
|
+
"privacy": "protected",
|
|
36815
|
+
"return": {
|
|
36816
|
+
"type": {
|
|
36817
|
+
"text": "TemplateResult<1>",
|
|
36818
|
+
"references": [
|
|
36819
|
+
{
|
|
36820
|
+
"name": "TemplateResult",
|
|
36821
|
+
"package": "lit-html",
|
|
36822
|
+
"module": "development/lit-html.js",
|
|
36823
|
+
"start": 0,
|
|
36824
|
+
"end": 14
|
|
36825
|
+
}
|
|
36826
|
+
]
|
|
36827
|
+
}
|
|
36828
|
+
}
|
|
36829
|
+
},
|
|
36830
|
+
{
|
|
36831
|
+
"kind": "method",
|
|
36832
|
+
"name": "handleSlotChange",
|
|
36833
|
+
"privacy": "private",
|
|
36834
|
+
"parameters": [
|
|
36835
|
+
{
|
|
36836
|
+
"name": "e",
|
|
36837
|
+
"type": {
|
|
36838
|
+
"text": "Event",
|
|
36839
|
+
"references": [
|
|
36840
|
+
{
|
|
36841
|
+
"name": "Event",
|
|
36842
|
+
"package": "global:",
|
|
36843
|
+
"start": 0,
|
|
36844
|
+
"end": 5
|
|
36845
|
+
}
|
|
36846
|
+
]
|
|
36847
|
+
}
|
|
36848
|
+
}
|
|
36849
|
+
],
|
|
36850
|
+
"return": {
|
|
36851
|
+
"type": {
|
|
36852
|
+
"text": "void"
|
|
36853
|
+
}
|
|
36854
|
+
}
|
|
36855
|
+
}
|
|
36856
|
+
],
|
|
36857
|
+
"customElement": true
|
|
36858
|
+
}
|
|
36859
|
+
],
|
|
36860
|
+
"exports": [
|
|
36861
|
+
{
|
|
36862
|
+
"kind": "js",
|
|
36863
|
+
"name": "BadgeElement",
|
|
36864
|
+
"declaration": {
|
|
36865
|
+
"name": "BadgeElement"
|
|
36866
|
+
}
|
|
36867
|
+
}
|
|
36868
|
+
]
|
|
36869
|
+
},
|
|
36870
|
+
{
|
|
36871
|
+
"kind": "javascript-module",
|
|
36872
|
+
"path": "labs/gb/components/badge/badge.cssresult.js",
|
|
36489
36873
|
"declarations": [
|
|
36490
36874
|
{
|
|
36491
36875
|
"kind": "variable",
|
|
36492
|
-
"name": "
|
|
36876
|
+
"name": "styles",
|
|
36493
36877
|
"type": {
|
|
36494
|
-
"text": "
|
|
36878
|
+
"text": "CSSResult",
|
|
36495
36879
|
"references": [
|
|
36496
36880
|
{
|
|
36497
|
-
"name": "
|
|
36498
|
-
"package": "
|
|
36499
|
-
"module": "
|
|
36881
|
+
"name": "CSSResult",
|
|
36882
|
+
"package": "lit",
|
|
36883
|
+
"module": "development/index.js",
|
|
36500
36884
|
"start": 0,
|
|
36501
|
-
"end":
|
|
36885
|
+
"end": 9
|
|
36886
|
+
}
|
|
36887
|
+
]
|
|
36888
|
+
}
|
|
36889
|
+
},
|
|
36890
|
+
{
|
|
36891
|
+
"kind": "variable",
|
|
36892
|
+
"name": "default",
|
|
36893
|
+
"type": {
|
|
36894
|
+
"text": "CSSStyleSheet",
|
|
36895
|
+
"references": [
|
|
36896
|
+
{
|
|
36897
|
+
"name": "CSSStyleSheet",
|
|
36898
|
+
"package": "global:",
|
|
36899
|
+
"start": 0,
|
|
36900
|
+
"end": 13
|
|
36901
|
+
}
|
|
36902
|
+
]
|
|
36903
|
+
}
|
|
36904
|
+
}
|
|
36905
|
+
],
|
|
36906
|
+
"exports": [
|
|
36907
|
+
{
|
|
36908
|
+
"kind": "js",
|
|
36909
|
+
"name": "styles",
|
|
36910
|
+
"declaration": {
|
|
36911
|
+
"name": "styles"
|
|
36912
|
+
}
|
|
36913
|
+
},
|
|
36914
|
+
{
|
|
36915
|
+
"kind": "js",
|
|
36916
|
+
"name": "default",
|
|
36917
|
+
"declaration": {
|
|
36918
|
+
"name": "default"
|
|
36919
|
+
}
|
|
36920
|
+
}
|
|
36921
|
+
]
|
|
36922
|
+
},
|
|
36923
|
+
{
|
|
36924
|
+
"kind": "javascript-module",
|
|
36925
|
+
"path": "labs/gb/components/badge/badge.js",
|
|
36926
|
+
"declarations": [
|
|
36927
|
+
{
|
|
36928
|
+
"kind": "variable",
|
|
36929
|
+
"name": "BADGE_CLASSES",
|
|
36930
|
+
"description": "Badge classes.",
|
|
36931
|
+
"type": {
|
|
36932
|
+
"text": "{ readonly badge: \"badge\"; readonly badgeLarge: \"badge-large\"; }"
|
|
36933
|
+
}
|
|
36934
|
+
},
|
|
36935
|
+
{
|
|
36936
|
+
"kind": "function",
|
|
36937
|
+
"name": "badgeClasses",
|
|
36938
|
+
"description": "Returns the badge classes to apply to an element.",
|
|
36939
|
+
"parameters": [
|
|
36940
|
+
{
|
|
36941
|
+
"name": "{\n large = false,\n}",
|
|
36942
|
+
"description": "The state of the badge.",
|
|
36943
|
+
"type": {
|
|
36944
|
+
"text": "BadgeClassesState",
|
|
36945
|
+
"references": [
|
|
36946
|
+
{
|
|
36947
|
+
"name": "BadgeClassesState",
|
|
36948
|
+
"package": "@material/web",
|
|
36949
|
+
"module": "labs/gb/components/badge/badge.js",
|
|
36950
|
+
"start": 0,
|
|
36951
|
+
"end": 17
|
|
36952
|
+
}
|
|
36953
|
+
]
|
|
36954
|
+
},
|
|
36955
|
+
"default": "{}",
|
|
36956
|
+
"optional": true
|
|
36957
|
+
}
|
|
36958
|
+
],
|
|
36959
|
+
"return": {
|
|
36960
|
+
"type": {
|
|
36961
|
+
"text": "ClassInfo",
|
|
36962
|
+
"references": [
|
|
36963
|
+
{
|
|
36964
|
+
"name": "ClassInfo",
|
|
36965
|
+
"package": "lit",
|
|
36966
|
+
"module": "directives/class-map.js",
|
|
36967
|
+
"start": 0,
|
|
36968
|
+
"end": 9
|
|
36969
|
+
}
|
|
36970
|
+
]
|
|
36971
|
+
},
|
|
36972
|
+
"description": "An object of class names and truthy values if they apply."
|
|
36973
|
+
}
|
|
36974
|
+
},
|
|
36975
|
+
{
|
|
36976
|
+
"kind": "variable",
|
|
36977
|
+
"name": "badge",
|
|
36978
|
+
"description": "A Lit directive that adds badge styling to its element.",
|
|
36979
|
+
"type": {
|
|
36980
|
+
"text": "(state?: BadgeClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
36981
|
+
"references": [
|
|
36982
|
+
{
|
|
36983
|
+
"name": "BadgeClassesState",
|
|
36984
|
+
"package": "@material/web",
|
|
36985
|
+
"module": "labs/gb/components/badge/badge.js",
|
|
36986
|
+
"start": 9,
|
|
36987
|
+
"end": 26
|
|
36502
36988
|
},
|
|
36503
36989
|
{
|
|
36504
|
-
"name": "
|
|
36990
|
+
"name": "AdditionalClasses",
|
|
36505
36991
|
"package": "@material/web",
|
|
36506
|
-
"module": "labs/
|
|
36507
|
-
"start":
|
|
36508
|
-
"end":
|
|
36992
|
+
"module": "labs/gb/components/shared/directives.js",
|
|
36993
|
+
"start": 29,
|
|
36994
|
+
"end": 46
|
|
36509
36995
|
},
|
|
36996
|
+
{
|
|
36997
|
+
"name": "DirectiveResult",
|
|
36998
|
+
"package": "lit-html",
|
|
36999
|
+
"module": "development/directive.js",
|
|
37000
|
+
"start": 51,
|
|
37001
|
+
"end": 66
|
|
37002
|
+
}
|
|
37003
|
+
]
|
|
37004
|
+
}
|
|
37005
|
+
}
|
|
37006
|
+
],
|
|
37007
|
+
"exports": [
|
|
37008
|
+
{
|
|
37009
|
+
"kind": "js",
|
|
37010
|
+
"name": "BADGE_CLASSES",
|
|
37011
|
+
"declaration": {
|
|
37012
|
+
"name": "BADGE_CLASSES"
|
|
37013
|
+
}
|
|
37014
|
+
},
|
|
37015
|
+
{
|
|
37016
|
+
"kind": "js",
|
|
37017
|
+
"name": "badgeClasses",
|
|
37018
|
+
"declaration": {
|
|
37019
|
+
"name": "badgeClasses"
|
|
37020
|
+
}
|
|
37021
|
+
},
|
|
37022
|
+
{
|
|
37023
|
+
"kind": "js",
|
|
37024
|
+
"name": "badge",
|
|
37025
|
+
"declaration": {
|
|
37026
|
+
"name": "badge"
|
|
37027
|
+
}
|
|
37028
|
+
}
|
|
37029
|
+
]
|
|
37030
|
+
},
|
|
37031
|
+
{
|
|
37032
|
+
"kind": "javascript-module",
|
|
37033
|
+
"path": "labs/gb/components/badge/md-gb-badge.js"
|
|
37034
|
+
},
|
|
37035
|
+
{
|
|
37036
|
+
"kind": "javascript-module",
|
|
37037
|
+
"path": "labs/gb/components/button/button-element.js",
|
|
37038
|
+
"declarations": [
|
|
37039
|
+
{
|
|
37040
|
+
"kind": "variable",
|
|
37041
|
+
"name": "baseClass",
|
|
37042
|
+
"type": {
|
|
37043
|
+
"text": "MixinReturn<MixinReturn<MixinReturn<(abstract new (...args: any[]) => WithElementInternals) & typeof LitElement & FormAssociatedConstructor, FormAssociated>, FormSubmitter>>",
|
|
37044
|
+
"references": [
|
|
37045
|
+
{
|
|
37046
|
+
"name": "MixinReturn",
|
|
37047
|
+
"package": "@material/web",
|
|
37048
|
+
"module": "labs/behaviors/mixin.js",
|
|
37049
|
+
"start": 0,
|
|
37050
|
+
"end": 11
|
|
37051
|
+
},
|
|
37052
|
+
{
|
|
37053
|
+
"name": "MixinReturn",
|
|
37054
|
+
"package": "@material/web",
|
|
37055
|
+
"module": "labs/behaviors/mixin.js",
|
|
37056
|
+
"start": 12,
|
|
37057
|
+
"end": 23
|
|
37058
|
+
},
|
|
37059
|
+
{
|
|
37060
|
+
"name": "MixinReturn",
|
|
37061
|
+
"package": "@material/web",
|
|
37062
|
+
"module": "labs/behaviors/mixin.js",
|
|
37063
|
+
"start": 24,
|
|
37064
|
+
"end": 35
|
|
37065
|
+
},
|
|
37066
|
+
{
|
|
37067
|
+
"name": "WithElementInternals",
|
|
37068
|
+
"package": "@material/web",
|
|
37069
|
+
"module": "labs/behaviors/element-internals.js",
|
|
37070
|
+
"start": 70,
|
|
37071
|
+
"end": 90
|
|
37072
|
+
},
|
|
37073
|
+
{
|
|
37074
|
+
"name": "FormAssociatedConstructor",
|
|
37075
|
+
"package": "@material/web",
|
|
37076
|
+
"module": "labs/behaviors/form-associated.js",
|
|
37077
|
+
"start": 114,
|
|
37078
|
+
"end": 139
|
|
37079
|
+
},
|
|
37080
|
+
{
|
|
37081
|
+
"name": "FormAssociated",
|
|
37082
|
+
"package": "@material/web",
|
|
37083
|
+
"module": "labs/behaviors/form-associated.js",
|
|
37084
|
+
"start": 141,
|
|
37085
|
+
"end": 155
|
|
37086
|
+
},
|
|
37087
|
+
{
|
|
37088
|
+
"name": "FormSubmitter",
|
|
37089
|
+
"package": "@material/web",
|
|
37090
|
+
"module": "labs/behaviors/form-submitter.js",
|
|
37091
|
+
"start": 158,
|
|
37092
|
+
"end": 171
|
|
37093
|
+
}
|
|
37094
|
+
]
|
|
37095
|
+
}
|
|
37096
|
+
},
|
|
37097
|
+
{
|
|
37098
|
+
"kind": "class",
|
|
37099
|
+
"name": "ButtonElement",
|
|
37100
|
+
"description": "A Material Design button.",
|
|
37101
|
+
"superclass": {
|
|
37102
|
+
"name": "baseClass",
|
|
37103
|
+
"package": "@material/web",
|
|
37104
|
+
"module": "labs/gb/components/button/button-element.js"
|
|
37105
|
+
},
|
|
37106
|
+
"members": [
|
|
37107
|
+
{
|
|
37108
|
+
"kind": "field",
|
|
37109
|
+
"name": "hideOutline",
|
|
37110
|
+
"privacy": "private",
|
|
37111
|
+
"type": {
|
|
37112
|
+
"text": "boolean"
|
|
37113
|
+
},
|
|
37114
|
+
"default": "false"
|
|
37115
|
+
},
|
|
37116
|
+
{
|
|
37117
|
+
"kind": "field",
|
|
37118
|
+
"name": "color",
|
|
37119
|
+
"description": "The color of the button.",
|
|
37120
|
+
"privacy": "public",
|
|
37121
|
+
"type": {
|
|
37122
|
+
"text": "\"filled\" | \"elevated\" | \"tonal\" | \"outlined\" | \"text\""
|
|
37123
|
+
},
|
|
37124
|
+
"default": "'text'",
|
|
37125
|
+
"attribute": "color"
|
|
37126
|
+
},
|
|
37127
|
+
{
|
|
37128
|
+
"kind": "field",
|
|
37129
|
+
"name": "size",
|
|
37130
|
+
"description": "The size of the button.",
|
|
37131
|
+
"privacy": "public",
|
|
37132
|
+
"type": {
|
|
37133
|
+
"text": "\"sm\" | \"md\" | \"lg\" | \"xs\" | \"xl\""
|
|
37134
|
+
},
|
|
37135
|
+
"default": "'sm'",
|
|
37136
|
+
"attribute": "size"
|
|
37137
|
+
},
|
|
37138
|
+
{
|
|
37139
|
+
"kind": "field",
|
|
37140
|
+
"name": "square",
|
|
37141
|
+
"description": "Changes the shape of the button to be square.",
|
|
37142
|
+
"privacy": "public",
|
|
37143
|
+
"type": {
|
|
37144
|
+
"text": "boolean"
|
|
37145
|
+
},
|
|
37146
|
+
"default": "false",
|
|
37147
|
+
"attribute": "square"
|
|
37148
|
+
},
|
|
37149
|
+
{
|
|
37150
|
+
"kind": "field",
|
|
37151
|
+
"name": "softDisabled",
|
|
37152
|
+
"description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.",
|
|
37153
|
+
"privacy": "public",
|
|
37154
|
+
"type": {
|
|
37155
|
+
"text": "boolean"
|
|
37156
|
+
},
|
|
37157
|
+
"default": "false",
|
|
37158
|
+
"attribute": "soft-disabled",
|
|
37159
|
+
"reflects": true
|
|
37160
|
+
},
|
|
37161
|
+
{
|
|
37162
|
+
"kind": "field",
|
|
37163
|
+
"name": "selected",
|
|
37164
|
+
"description": "Whether or not the button is selected, when `type=\"toggle\"`.",
|
|
37165
|
+
"privacy": "public",
|
|
37166
|
+
"type": {
|
|
37167
|
+
"text": "boolean"
|
|
37168
|
+
},
|
|
37169
|
+
"default": "false",
|
|
37170
|
+
"attribute": "selected"
|
|
37171
|
+
},
|
|
37172
|
+
{
|
|
37173
|
+
"kind": "field",
|
|
37174
|
+
"name": "href",
|
|
37175
|
+
"description": "The URL that the link button points to.",
|
|
37176
|
+
"privacy": "public",
|
|
37177
|
+
"type": {
|
|
37178
|
+
"text": "string"
|
|
37179
|
+
},
|
|
37180
|
+
"default": "''",
|
|
37181
|
+
"attribute": "href"
|
|
37182
|
+
},
|
|
37183
|
+
{
|
|
37184
|
+
"kind": "field",
|
|
37185
|
+
"name": "download",
|
|
37186
|
+
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
37187
|
+
"privacy": "public",
|
|
37188
|
+
"type": {
|
|
37189
|
+
"text": "string"
|
|
37190
|
+
},
|
|
37191
|
+
"default": "''",
|
|
37192
|
+
"attribute": "download"
|
|
37193
|
+
},
|
|
37194
|
+
{
|
|
37195
|
+
"kind": "field",
|
|
37196
|
+
"name": "target",
|
|
37197
|
+
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
37198
|
+
"privacy": "public",
|
|
37199
|
+
"type": {
|
|
37200
|
+
"text": "\"\" | \"_blank\" | \"_parent\" | \"_self\" | \"_top\""
|
|
37201
|
+
},
|
|
37202
|
+
"default": "''",
|
|
37203
|
+
"attribute": "target"
|
|
37204
|
+
},
|
|
37205
|
+
{
|
|
37206
|
+
"kind": "field",
|
|
37207
|
+
"name": "lastFiredEnabledState",
|
|
37208
|
+
"privacy": "private",
|
|
37209
|
+
"type": {
|
|
37210
|
+
"text": "boolean"
|
|
37211
|
+
}
|
|
37212
|
+
},
|
|
37213
|
+
{
|
|
37214
|
+
"kind": "field",
|
|
37215
|
+
"name": "handleSetShowOutline",
|
|
37216
|
+
"privacy": "private",
|
|
37217
|
+
"type": {
|
|
37218
|
+
"text": "(event: Event) => void",
|
|
37219
|
+
"references": [
|
|
37220
|
+
{
|
|
37221
|
+
"name": "Event",
|
|
37222
|
+
"package": "global:",
|
|
37223
|
+
"start": 8,
|
|
37224
|
+
"end": 13
|
|
37225
|
+
}
|
|
37226
|
+
]
|
|
37227
|
+
},
|
|
37228
|
+
"default": "(event: Event) => {\n const customEvent = event as CustomEvent<{shown: boolean}>;\n this.hideOutline = !customEvent.detail.shown;\n }"
|
|
37229
|
+
},
|
|
37230
|
+
{
|
|
37231
|
+
"kind": "field",
|
|
37232
|
+
"name": "type",
|
|
37233
|
+
"privacy": "public",
|
|
37234
|
+
"type": {
|
|
37235
|
+
"text": "string"
|
|
37236
|
+
},
|
|
37237
|
+
"attribute": "type"
|
|
37238
|
+
},
|
|
37239
|
+
{
|
|
37240
|
+
"kind": "field",
|
|
37241
|
+
"name": "shadowRootOptions",
|
|
37242
|
+
"static": true,
|
|
37243
|
+
"privacy": "public",
|
|
37244
|
+
"type": {
|
|
37245
|
+
"text": "ShadowRootInit",
|
|
37246
|
+
"references": [
|
|
37247
|
+
{
|
|
37248
|
+
"name": "ShadowRootInit",
|
|
37249
|
+
"package": "global:",
|
|
37250
|
+
"start": 0,
|
|
37251
|
+
"end": 14
|
|
37252
|
+
}
|
|
37253
|
+
]
|
|
37254
|
+
},
|
|
37255
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n }"
|
|
37256
|
+
},
|
|
37257
|
+
{
|
|
37258
|
+
"kind": "field",
|
|
37259
|
+
"name": "styles",
|
|
37260
|
+
"static": true,
|
|
37261
|
+
"privacy": "public",
|
|
37262
|
+
"type": {
|
|
37263
|
+
"text": "CSSResultOrNative[]",
|
|
37264
|
+
"references": [
|
|
37265
|
+
{
|
|
37266
|
+
"name": "CSSResultOrNative",
|
|
37267
|
+
"package": "lit",
|
|
37268
|
+
"start": 0,
|
|
37269
|
+
"end": 17
|
|
37270
|
+
}
|
|
37271
|
+
]
|
|
37272
|
+
},
|
|
37273
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n buttonStyles,\n css`\n :host {\n display: inline-flex;\n isolation: isolate;\n }\n .btn {\n flex: 1;\n position: relative;\n }\n .btn:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n .btn.btn-hide-outline {\n --outline-color: transparent;\n --container-elevation: var(--md-sys-elevation-shadow-0);\n }\n slot[name='container'] {\n display: block;\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n --color: var(--container-color);\n z-index: -1;\n transition: inherit;\n }\n slot[name='container']::slotted(*) {\n width: 100%;\n height: 100%;\n }\n `,\n ]"
|
|
37274
|
+
},
|
|
37275
|
+
{
|
|
37276
|
+
"kind": "method",
|
|
37277
|
+
"name": "connectedCallback",
|
|
37278
|
+
"privacy": "public",
|
|
37279
|
+
"return": {
|
|
37280
|
+
"type": {
|
|
37281
|
+
"text": "void"
|
|
37282
|
+
}
|
|
37283
|
+
}
|
|
37284
|
+
},
|
|
37285
|
+
{
|
|
37286
|
+
"kind": "method",
|
|
37287
|
+
"name": "disconnectedCallback",
|
|
37288
|
+
"privacy": "public",
|
|
37289
|
+
"return": {
|
|
37290
|
+
"type": {
|
|
37291
|
+
"text": "void"
|
|
37292
|
+
}
|
|
37293
|
+
}
|
|
37294
|
+
},
|
|
37295
|
+
{
|
|
37296
|
+
"kind": "method",
|
|
37297
|
+
"name": "updated",
|
|
37298
|
+
"privacy": "protected",
|
|
37299
|
+
"parameters": [
|
|
37300
|
+
{
|
|
37301
|
+
"name": "changedProperties",
|
|
37302
|
+
"type": {
|
|
37303
|
+
"text": "PropertyValueMap<any> | Map<PropertyKey, unknown>",
|
|
37304
|
+
"references": [
|
|
37305
|
+
{
|
|
37306
|
+
"name": "PropertyValueMap",
|
|
37307
|
+
"package": "lit",
|
|
37308
|
+
"module": "development/index.js",
|
|
37309
|
+
"start": 0,
|
|
37310
|
+
"end": 16
|
|
37311
|
+
},
|
|
37312
|
+
{
|
|
37313
|
+
"name": "Map",
|
|
37314
|
+
"package": "global:",
|
|
37315
|
+
"start": 24,
|
|
37316
|
+
"end": 27
|
|
37317
|
+
},
|
|
37318
|
+
{
|
|
37319
|
+
"name": "PropertyKey",
|
|
37320
|
+
"package": "global:",
|
|
37321
|
+
"start": 28,
|
|
37322
|
+
"end": 39
|
|
37323
|
+
}
|
|
37324
|
+
]
|
|
37325
|
+
}
|
|
37326
|
+
}
|
|
37327
|
+
],
|
|
37328
|
+
"return": {
|
|
37329
|
+
"type": {
|
|
37330
|
+
"text": "void"
|
|
37331
|
+
}
|
|
37332
|
+
}
|
|
37333
|
+
},
|
|
37334
|
+
{
|
|
37335
|
+
"kind": "method",
|
|
37336
|
+
"name": "dispatchSetEnabledEvent",
|
|
37337
|
+
"privacy": "private",
|
|
37338
|
+
"return": {
|
|
37339
|
+
"type": {
|
|
37340
|
+
"text": "void"
|
|
37341
|
+
}
|
|
37342
|
+
}
|
|
37343
|
+
},
|
|
37344
|
+
{
|
|
37345
|
+
"kind": "method",
|
|
37346
|
+
"name": "render",
|
|
37347
|
+
"privacy": "protected",
|
|
37348
|
+
"return": {
|
|
37349
|
+
"type": {
|
|
37350
|
+
"text": "TemplateResult<1>",
|
|
37351
|
+
"references": [
|
|
37352
|
+
{
|
|
37353
|
+
"name": "TemplateResult",
|
|
37354
|
+
"package": "lit-html",
|
|
37355
|
+
"module": "development/lit-html.js",
|
|
37356
|
+
"start": 0,
|
|
37357
|
+
"end": 14
|
|
37358
|
+
}
|
|
37359
|
+
]
|
|
37360
|
+
}
|
|
37361
|
+
}
|
|
37362
|
+
},
|
|
37363
|
+
{
|
|
37364
|
+
"kind": "method",
|
|
37365
|
+
"name": "handleContainerSlotChange",
|
|
37366
|
+
"privacy": "private",
|
|
37367
|
+
"parameters": [
|
|
37368
|
+
{
|
|
37369
|
+
"name": "event",
|
|
37370
|
+
"type": {
|
|
37371
|
+
"text": "Event",
|
|
37372
|
+
"references": [
|
|
37373
|
+
{
|
|
37374
|
+
"name": "Event",
|
|
37375
|
+
"package": "global:",
|
|
37376
|
+
"start": 0,
|
|
37377
|
+
"end": 5
|
|
37378
|
+
}
|
|
37379
|
+
]
|
|
37380
|
+
}
|
|
37381
|
+
}
|
|
37382
|
+
],
|
|
37383
|
+
"return": {
|
|
37384
|
+
"type": {
|
|
37385
|
+
"text": "void"
|
|
37386
|
+
}
|
|
37387
|
+
}
|
|
37388
|
+
},
|
|
37389
|
+
{
|
|
37390
|
+
"kind": "method",
|
|
37391
|
+
"name": "handleChange",
|
|
37392
|
+
"privacy": "private",
|
|
37393
|
+
"parameters": [
|
|
37394
|
+
{
|
|
37395
|
+
"name": "event",
|
|
37396
|
+
"type": {
|
|
37397
|
+
"text": "Event",
|
|
37398
|
+
"references": [
|
|
37399
|
+
{
|
|
37400
|
+
"name": "Event",
|
|
37401
|
+
"package": "global:",
|
|
37402
|
+
"start": 0,
|
|
37403
|
+
"end": 5
|
|
37404
|
+
}
|
|
37405
|
+
]
|
|
37406
|
+
}
|
|
37407
|
+
}
|
|
37408
|
+
],
|
|
37409
|
+
"return": {
|
|
37410
|
+
"type": {
|
|
37411
|
+
"text": "void"
|
|
37412
|
+
}
|
|
37413
|
+
}
|
|
37414
|
+
}
|
|
37415
|
+
],
|
|
37416
|
+
"customElement": true,
|
|
37417
|
+
"attributes": [
|
|
37418
|
+
{
|
|
37419
|
+
"name": "color",
|
|
37420
|
+
"type": {
|
|
37421
|
+
"text": "string"
|
|
37422
|
+
},
|
|
37423
|
+
"fieldName": "color"
|
|
37424
|
+
},
|
|
37425
|
+
{
|
|
37426
|
+
"name": "size",
|
|
37427
|
+
"type": {
|
|
37428
|
+
"text": "string"
|
|
37429
|
+
},
|
|
37430
|
+
"fieldName": "size"
|
|
37431
|
+
},
|
|
37432
|
+
{
|
|
37433
|
+
"name": "square",
|
|
37434
|
+
"type": {
|
|
37435
|
+
"text": "boolean"
|
|
37436
|
+
},
|
|
37437
|
+
"fieldName": "square"
|
|
37438
|
+
},
|
|
37439
|
+
{
|
|
37440
|
+
"name": "type",
|
|
37441
|
+
"type": {
|
|
37442
|
+
"text": "string"
|
|
37443
|
+
},
|
|
37444
|
+
"fieldName": "type"
|
|
37445
|
+
},
|
|
37446
|
+
{
|
|
37447
|
+
"name": "soft-disabled",
|
|
37448
|
+
"type": {
|
|
37449
|
+
"text": "boolean"
|
|
37450
|
+
},
|
|
37451
|
+
"fieldName": "softDisabled"
|
|
37452
|
+
},
|
|
37453
|
+
{
|
|
37454
|
+
"name": "selected",
|
|
37455
|
+
"type": {
|
|
37456
|
+
"text": "boolean"
|
|
37457
|
+
},
|
|
37458
|
+
"fieldName": "selected"
|
|
37459
|
+
},
|
|
37460
|
+
{
|
|
37461
|
+
"name": "href",
|
|
37462
|
+
"type": {
|
|
37463
|
+
"text": "string"
|
|
37464
|
+
},
|
|
37465
|
+
"fieldName": "href"
|
|
37466
|
+
},
|
|
37467
|
+
{
|
|
37468
|
+
"name": "download",
|
|
37469
|
+
"type": {
|
|
37470
|
+
"text": "string"
|
|
37471
|
+
},
|
|
37472
|
+
"fieldName": "download"
|
|
37473
|
+
},
|
|
37474
|
+
{
|
|
37475
|
+
"name": "target",
|
|
37476
|
+
"type": {
|
|
37477
|
+
"text": "string"
|
|
37478
|
+
},
|
|
37479
|
+
"fieldName": "target"
|
|
37480
|
+
}
|
|
37481
|
+
],
|
|
37482
|
+
"events": [
|
|
37483
|
+
{
|
|
37484
|
+
"name": "input",
|
|
37485
|
+
"type": {
|
|
37486
|
+
"text": "InputEvent",
|
|
37487
|
+
"references": [
|
|
37488
|
+
{
|
|
37489
|
+
"name": "InputEvent",
|
|
37490
|
+
"package": "global:",
|
|
37491
|
+
"start": 0,
|
|
37492
|
+
"end": 10
|
|
37493
|
+
}
|
|
37494
|
+
]
|
|
37495
|
+
},
|
|
37496
|
+
"description": "Fired when a toggle button is selected or unselected. --bubbles --composed"
|
|
37497
|
+
},
|
|
37498
|
+
{
|
|
37499
|
+
"name": "change",
|
|
37500
|
+
"type": {
|
|
37501
|
+
"text": "Event",
|
|
37502
|
+
"references": [
|
|
37503
|
+
{
|
|
37504
|
+
"name": "Event",
|
|
37505
|
+
"package": "global:",
|
|
37506
|
+
"start": 0,
|
|
37507
|
+
"end": 5
|
|
37508
|
+
}
|
|
37509
|
+
]
|
|
37510
|
+
},
|
|
37511
|
+
"description": "Fired when a toggle button is selected or unselected. --bubbles"
|
|
37512
|
+
}
|
|
37513
|
+
],
|
|
37514
|
+
"slots": [
|
|
37515
|
+
{
|
|
37516
|
+
"name": "-",
|
|
37517
|
+
"description": "Used to display a label and optional icon."
|
|
37518
|
+
},
|
|
37519
|
+
{
|
|
37520
|
+
"name": "container",
|
|
37521
|
+
"description": "Used to set a custom background container for the button."
|
|
37522
|
+
}
|
|
37523
|
+
],
|
|
37524
|
+
"cssParts": [
|
|
37525
|
+
{
|
|
37526
|
+
"name": "btn",
|
|
37527
|
+
"description": "The button's root element."
|
|
37528
|
+
}
|
|
37529
|
+
],
|
|
37530
|
+
"cssProperties": [
|
|
37531
|
+
{
|
|
37532
|
+
"name": "--container-color"
|
|
37533
|
+
},
|
|
37534
|
+
{
|
|
37535
|
+
"name": "--container-height"
|
|
37536
|
+
},
|
|
37537
|
+
{
|
|
37538
|
+
"name": "--container-elevation"
|
|
37539
|
+
},
|
|
37540
|
+
{
|
|
37541
|
+
"name": "--container-shape"
|
|
37542
|
+
},
|
|
37543
|
+
{
|
|
37544
|
+
"name": "--outline-width"
|
|
37545
|
+
},
|
|
37546
|
+
{
|
|
37547
|
+
"name": "--outline-color"
|
|
37548
|
+
},
|
|
37549
|
+
{
|
|
37550
|
+
"name": "--icon-label-space"
|
|
37551
|
+
},
|
|
37552
|
+
{
|
|
37553
|
+
"name": "--icon-color"
|
|
37554
|
+
},
|
|
37555
|
+
{
|
|
37556
|
+
"name": "--icon-size"
|
|
37557
|
+
},
|
|
37558
|
+
{
|
|
37559
|
+
"name": "--label-text"
|
|
37560
|
+
},
|
|
37561
|
+
{
|
|
37562
|
+
"name": "--label-text-tracking"
|
|
37563
|
+
},
|
|
37564
|
+
{
|
|
37565
|
+
"name": "--label-text-color"
|
|
37566
|
+
},
|
|
37567
|
+
{
|
|
37568
|
+
"name": "--leading-space"
|
|
37569
|
+
},
|
|
37570
|
+
{
|
|
37571
|
+
"name": "--state-layer-color"
|
|
37572
|
+
},
|
|
37573
|
+
{
|
|
37574
|
+
"name": "--trailing-space"
|
|
37575
|
+
}
|
|
37576
|
+
]
|
|
37577
|
+
}
|
|
37578
|
+
],
|
|
37579
|
+
"exports": [
|
|
37580
|
+
{
|
|
37581
|
+
"kind": "js",
|
|
37582
|
+
"name": "ButtonElement",
|
|
37583
|
+
"declaration": {
|
|
37584
|
+
"name": "ButtonElement"
|
|
37585
|
+
}
|
|
37586
|
+
}
|
|
37587
|
+
]
|
|
37588
|
+
},
|
|
37589
|
+
{
|
|
37590
|
+
"kind": "javascript-module",
|
|
37591
|
+
"path": "labs/gb/components/button/button.cssresult.js",
|
|
37592
|
+
"declarations": [
|
|
37593
|
+
{
|
|
37594
|
+
"kind": "variable",
|
|
37595
|
+
"name": "styles",
|
|
37596
|
+
"type": {
|
|
37597
|
+
"text": "CSSResult",
|
|
37598
|
+
"references": [
|
|
37599
|
+
{
|
|
37600
|
+
"name": "CSSResult",
|
|
37601
|
+
"package": "lit",
|
|
37602
|
+
"module": "development/index.js",
|
|
37603
|
+
"start": 0,
|
|
37604
|
+
"end": 9
|
|
37605
|
+
}
|
|
37606
|
+
]
|
|
37607
|
+
}
|
|
37608
|
+
},
|
|
37609
|
+
{
|
|
37610
|
+
"kind": "variable",
|
|
37611
|
+
"name": "default",
|
|
37612
|
+
"type": {
|
|
37613
|
+
"text": "CSSStyleSheet",
|
|
37614
|
+
"references": [
|
|
37615
|
+
{
|
|
37616
|
+
"name": "CSSStyleSheet",
|
|
37617
|
+
"package": "global:",
|
|
37618
|
+
"start": 0,
|
|
37619
|
+
"end": 13
|
|
37620
|
+
}
|
|
37621
|
+
]
|
|
37622
|
+
}
|
|
37623
|
+
}
|
|
37624
|
+
],
|
|
37625
|
+
"exports": [
|
|
37626
|
+
{
|
|
37627
|
+
"kind": "js",
|
|
37628
|
+
"name": "styles",
|
|
37629
|
+
"declaration": {
|
|
37630
|
+
"name": "styles"
|
|
37631
|
+
}
|
|
37632
|
+
},
|
|
37633
|
+
{
|
|
37634
|
+
"kind": "js",
|
|
37635
|
+
"name": "default",
|
|
37636
|
+
"declaration": {
|
|
37637
|
+
"name": "default"
|
|
37638
|
+
}
|
|
37639
|
+
}
|
|
37640
|
+
]
|
|
37641
|
+
},
|
|
37642
|
+
{
|
|
37643
|
+
"kind": "javascript-module",
|
|
37644
|
+
"path": "labs/gb/components/button/button.js",
|
|
37645
|
+
"declarations": [
|
|
37646
|
+
{
|
|
37647
|
+
"kind": "variable",
|
|
37648
|
+
"name": "BUTTON_COLORS",
|
|
37649
|
+
"description": "Button color configurations.",
|
|
37650
|
+
"type": {
|
|
37651
|
+
"text": "{ readonly filled: \"filled\"; readonly elevated: \"elevated\"; readonly tonal: \"tonal\"; readonly outlined: \"outlined\"; readonly text: \"text\"; }"
|
|
37652
|
+
}
|
|
37653
|
+
},
|
|
37654
|
+
{
|
|
37655
|
+
"kind": "variable",
|
|
37656
|
+
"name": "BUTTON_SIZES",
|
|
37657
|
+
"description": "Button size configurations.",
|
|
37658
|
+
"type": {
|
|
37659
|
+
"text": "{ readonly xs: \"xs\"; readonly sm: \"sm\"; readonly md: \"md\"; readonly lg: \"lg\"; readonly xl: \"xl\"; }"
|
|
37660
|
+
}
|
|
37661
|
+
},
|
|
37662
|
+
{
|
|
37663
|
+
"kind": "variable",
|
|
37664
|
+
"name": "BUTTON_CLASSES",
|
|
37665
|
+
"description": "Button classes.",
|
|
37666
|
+
"type": {
|
|
37667
|
+
"text": "{ btn: string; btnFilled: string; btnElevated: string; btnTonal: string; btnOutlined: string; btnText: string; btnXs: string; btnSm: string; btnMd: string; btnLg: string; btnXl: string; btnSquare: string; btnUnselected: string; btnSelected: string; active: string; disabled: string; }"
|
|
37668
|
+
}
|
|
37669
|
+
},
|
|
37670
|
+
{
|
|
37671
|
+
"kind": "function",
|
|
37672
|
+
"name": "buttonClasses",
|
|
37673
|
+
"description": "Returns the button classes to apply to an element based on the given state.",
|
|
37674
|
+
"parameters": [
|
|
37675
|
+
{
|
|
37676
|
+
"name": "{\n color,\n size,\n square = false,\n selected,\n active = false,\n disabled = false,\n}",
|
|
37677
|
+
"description": "The state of the button.",
|
|
37678
|
+
"type": {
|
|
37679
|
+
"text": "ButtonClassesState",
|
|
37680
|
+
"references": [
|
|
37681
|
+
{
|
|
37682
|
+
"name": "ButtonClassesState",
|
|
37683
|
+
"package": "@material/web",
|
|
37684
|
+
"module": "labs/gb/components/button/button.js",
|
|
37685
|
+
"start": 0,
|
|
37686
|
+
"end": 18
|
|
37687
|
+
}
|
|
37688
|
+
]
|
|
37689
|
+
},
|
|
37690
|
+
"default": "{}",
|
|
37691
|
+
"optional": true
|
|
37692
|
+
}
|
|
37693
|
+
],
|
|
37694
|
+
"return": {
|
|
37695
|
+
"type": {
|
|
37696
|
+
"text": "ClassInfo",
|
|
37697
|
+
"references": [
|
|
37698
|
+
{
|
|
37699
|
+
"name": "ClassInfo",
|
|
37700
|
+
"package": "lit",
|
|
37701
|
+
"module": "directives/class-map.js",
|
|
37702
|
+
"start": 0,
|
|
37703
|
+
"end": 9
|
|
37704
|
+
}
|
|
37705
|
+
]
|
|
37706
|
+
},
|
|
37707
|
+
"description": "An object of class names and truthy values if they apply."
|
|
37708
|
+
}
|
|
37709
|
+
},
|
|
37710
|
+
{
|
|
37711
|
+
"kind": "function",
|
|
37712
|
+
"name": "setupButton",
|
|
37713
|
+
"description": "Sets up button functionality for the given element.",
|
|
37714
|
+
"parameters": [
|
|
37715
|
+
{
|
|
37716
|
+
"name": "button",
|
|
37717
|
+
"description": "The element on which to set up button functionality.",
|
|
37718
|
+
"type": {
|
|
37719
|
+
"text": "HTMLElement",
|
|
37720
|
+
"references": [
|
|
37721
|
+
{
|
|
37722
|
+
"name": "HTMLElement",
|
|
37723
|
+
"package": "global:",
|
|
37724
|
+
"start": 0,
|
|
37725
|
+
"end": 11
|
|
37726
|
+
}
|
|
37727
|
+
]
|
|
37728
|
+
}
|
|
37729
|
+
},
|
|
37730
|
+
{
|
|
37731
|
+
"name": "opts",
|
|
37732
|
+
"description": "Setup options, supports a cleanup `signal`.",
|
|
37733
|
+
"type": {
|
|
37734
|
+
"text": "{ signal?: AbortSignal; }",
|
|
37735
|
+
"references": [
|
|
37736
|
+
{
|
|
37737
|
+
"name": "AbortSignal",
|
|
37738
|
+
"package": "global:",
|
|
37739
|
+
"start": 11,
|
|
37740
|
+
"end": 22
|
|
37741
|
+
}
|
|
37742
|
+
]
|
|
37743
|
+
},
|
|
37744
|
+
"optional": true
|
|
37745
|
+
}
|
|
37746
|
+
],
|
|
37747
|
+
"return": {
|
|
37748
|
+
"type": {
|
|
37749
|
+
"text": "void"
|
|
37750
|
+
}
|
|
37751
|
+
}
|
|
37752
|
+
},
|
|
37753
|
+
{
|
|
37754
|
+
"kind": "variable",
|
|
37755
|
+
"name": "button",
|
|
37756
|
+
"description": "A Lit directive that adds button styling and functionality to its element.",
|
|
37757
|
+
"type": {
|
|
37758
|
+
"text": "(state?: ButtonClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
37759
|
+
"references": [
|
|
37760
|
+
{
|
|
37761
|
+
"name": "ButtonClassesState",
|
|
37762
|
+
"package": "@material/web",
|
|
37763
|
+
"module": "labs/gb/components/button/button.js",
|
|
37764
|
+
"start": 9,
|
|
37765
|
+
"end": 27
|
|
37766
|
+
},
|
|
37767
|
+
{
|
|
37768
|
+
"name": "AdditionalClasses",
|
|
37769
|
+
"package": "@material/web",
|
|
37770
|
+
"module": "labs/gb/components/shared/directives.js",
|
|
37771
|
+
"start": 30,
|
|
37772
|
+
"end": 47
|
|
37773
|
+
},
|
|
37774
|
+
{
|
|
37775
|
+
"name": "DirectiveResult",
|
|
37776
|
+
"package": "lit-html",
|
|
37777
|
+
"module": "development/directive.js",
|
|
37778
|
+
"start": 52,
|
|
37779
|
+
"end": 67
|
|
37780
|
+
}
|
|
37781
|
+
]
|
|
37782
|
+
}
|
|
37783
|
+
}
|
|
37784
|
+
],
|
|
37785
|
+
"exports": [
|
|
37786
|
+
{
|
|
37787
|
+
"kind": "js",
|
|
37788
|
+
"name": "BUTTON_COLORS",
|
|
37789
|
+
"declaration": {
|
|
37790
|
+
"name": "BUTTON_COLORS"
|
|
37791
|
+
}
|
|
37792
|
+
},
|
|
37793
|
+
{
|
|
37794
|
+
"kind": "js",
|
|
37795
|
+
"name": "BUTTON_SIZES",
|
|
37796
|
+
"declaration": {
|
|
37797
|
+
"name": "BUTTON_SIZES"
|
|
37798
|
+
}
|
|
37799
|
+
},
|
|
37800
|
+
{
|
|
37801
|
+
"kind": "js",
|
|
37802
|
+
"name": "BUTTON_CLASSES",
|
|
37803
|
+
"declaration": {
|
|
37804
|
+
"name": "BUTTON_CLASSES"
|
|
37805
|
+
}
|
|
37806
|
+
},
|
|
37807
|
+
{
|
|
37808
|
+
"kind": "js",
|
|
37809
|
+
"name": "buttonClasses",
|
|
37810
|
+
"declaration": {
|
|
37811
|
+
"name": "buttonClasses"
|
|
37812
|
+
}
|
|
37813
|
+
},
|
|
37814
|
+
{
|
|
37815
|
+
"kind": "js",
|
|
37816
|
+
"name": "setupButton",
|
|
37817
|
+
"declaration": {
|
|
37818
|
+
"name": "setupButton"
|
|
37819
|
+
}
|
|
37820
|
+
},
|
|
37821
|
+
{
|
|
37822
|
+
"kind": "js",
|
|
37823
|
+
"name": "button",
|
|
37824
|
+
"declaration": {
|
|
37825
|
+
"name": "button"
|
|
37826
|
+
}
|
|
37827
|
+
}
|
|
37828
|
+
]
|
|
37829
|
+
},
|
|
37830
|
+
{
|
|
37831
|
+
"kind": "javascript-module",
|
|
37832
|
+
"path": "labs/gb/components/button/md-gb-button.js"
|
|
37833
|
+
},
|
|
37834
|
+
{
|
|
37835
|
+
"kind": "javascript-module",
|
|
37836
|
+
"path": "labs/gb/components/card/card-element.js",
|
|
37837
|
+
"declarations": [
|
|
37838
|
+
{
|
|
37839
|
+
"kind": "variable",
|
|
37840
|
+
"name": "baseClass",
|
|
37841
|
+
"type": {
|
|
37842
|
+
"text": "MixinReturn<typeof LitElement>",
|
|
37843
|
+
"references": [
|
|
36510
37844
|
{
|
|
36511
37845
|
"name": "MixinReturn",
|
|
36512
37846
|
"package": "@material/web",
|
|
36513
37847
|
"module": "labs/behaviors/mixin.js",
|
|
36514
|
-
"start":
|
|
36515
|
-
"end":
|
|
36516
|
-
},
|
|
36517
|
-
{
|
|
36518
|
-
"name": "WithElementInternals",
|
|
36519
|
-
"package": "@material/web",
|
|
36520
|
-
"module": "labs/behaviors/element-internals.js",
|
|
36521
|
-
"start": 70,
|
|
36522
|
-
"end": 90
|
|
36523
|
-
},
|
|
36524
|
-
{
|
|
36525
|
-
"name": "FormAssociatedConstructor",
|
|
36526
|
-
"package": "@material/web",
|
|
36527
|
-
"module": "labs/behaviors/form-associated.js",
|
|
36528
|
-
"start": 114,
|
|
36529
|
-
"end": 139
|
|
36530
|
-
},
|
|
36531
|
-
{
|
|
36532
|
-
"name": "FormAssociated",
|
|
36533
|
-
"package": "@material/web",
|
|
36534
|
-
"module": "labs/behaviors/form-associated.js",
|
|
36535
|
-
"start": 141,
|
|
36536
|
-
"end": 155
|
|
36537
|
-
},
|
|
36538
|
-
{
|
|
36539
|
-
"name": "FormSubmitter",
|
|
36540
|
-
"package": "@material/web",
|
|
36541
|
-
"module": "labs/behaviors/form-submitter.js",
|
|
36542
|
-
"start": 158,
|
|
36543
|
-
"end": 171
|
|
37848
|
+
"start": 0,
|
|
37849
|
+
"end": 11
|
|
36544
37850
|
}
|
|
36545
37851
|
]
|
|
36546
37852
|
}
|
|
36547
37853
|
},
|
|
36548
37854
|
{
|
|
36549
37855
|
"kind": "class",
|
|
36550
|
-
"name": "
|
|
36551
|
-
"description": "A Material Design
|
|
37856
|
+
"name": "CardElement",
|
|
37857
|
+
"description": "A Material Design card.",
|
|
36552
37858
|
"superclass": {
|
|
36553
37859
|
"name": "baseClass",
|
|
36554
37860
|
"package": "@material/web",
|
|
36555
|
-
"module": "labs/gb/components/
|
|
37861
|
+
"module": "labs/gb/components/card/card-element.js"
|
|
36556
37862
|
},
|
|
36557
37863
|
"members": [
|
|
36558
37864
|
{
|
|
@@ -36566,100 +37872,53 @@
|
|
|
36566
37872
|
},
|
|
36567
37873
|
{
|
|
36568
37874
|
"kind": "field",
|
|
36569
|
-
"name": "
|
|
36570
|
-
"
|
|
36571
|
-
"privacy": "public",
|
|
36572
|
-
"type": {
|
|
36573
|
-
"text": "\"filled\" | \"elevated\" | \"tonal\" | \"outlined\" | \"text\""
|
|
36574
|
-
},
|
|
36575
|
-
"default": "'text'",
|
|
36576
|
-
"attribute": "color"
|
|
36577
|
-
},
|
|
36578
|
-
{
|
|
36579
|
-
"kind": "field",
|
|
36580
|
-
"name": "size",
|
|
36581
|
-
"description": "The size of the button.",
|
|
36582
|
-
"privacy": "public",
|
|
37875
|
+
"name": "lastFiredEnabledState",
|
|
37876
|
+
"privacy": "private",
|
|
36583
37877
|
"type": {
|
|
36584
|
-
"text": "
|
|
36585
|
-
}
|
|
36586
|
-
"default": "'sm'",
|
|
36587
|
-
"attribute": "size"
|
|
37878
|
+
"text": "boolean"
|
|
37879
|
+
}
|
|
36588
37880
|
},
|
|
36589
37881
|
{
|
|
36590
37882
|
"kind": "field",
|
|
36591
|
-
"name": "
|
|
36592
|
-
"description": "
|
|
37883
|
+
"name": "color",
|
|
37884
|
+
"description": "The color of the card.",
|
|
36593
37885
|
"privacy": "public",
|
|
36594
37886
|
"type": {
|
|
36595
|
-
"text": "
|
|
37887
|
+
"text": "CardColor",
|
|
37888
|
+
"references": [
|
|
37889
|
+
{
|
|
37890
|
+
"name": "CardColor",
|
|
37891
|
+
"package": "@material/web",
|
|
37892
|
+
"module": "labs/gb/components/card/card.js",
|
|
37893
|
+
"start": 0,
|
|
37894
|
+
"end": 9
|
|
37895
|
+
}
|
|
37896
|
+
]
|
|
36596
37897
|
},
|
|
36597
|
-
"default": "
|
|
36598
|
-
"attribute": "
|
|
37898
|
+
"default": "'outlined'",
|
|
37899
|
+
"attribute": "color"
|
|
36599
37900
|
},
|
|
36600
37901
|
{
|
|
36601
37902
|
"kind": "field",
|
|
36602
|
-
"name": "
|
|
36603
|
-
"description": "Whether
|
|
37903
|
+
"name": "disabled",
|
|
37904
|
+
"description": "Whether the card is disabled.",
|
|
36604
37905
|
"privacy": "public",
|
|
36605
37906
|
"type": {
|
|
36606
37907
|
"text": "boolean"
|
|
36607
37908
|
},
|
|
36608
37909
|
"default": "false",
|
|
36609
|
-
"attribute": "
|
|
36610
|
-
"reflects": true
|
|
37910
|
+
"attribute": "disabled"
|
|
36611
37911
|
},
|
|
36612
37912
|
{
|
|
36613
37913
|
"kind": "field",
|
|
36614
|
-
"name": "
|
|
36615
|
-
"description": "Whether
|
|
37914
|
+
"name": "interactive",
|
|
37915
|
+
"description": "Whether the card is interactive.",
|
|
36616
37916
|
"privacy": "public",
|
|
36617
37917
|
"type": {
|
|
36618
37918
|
"text": "boolean"
|
|
36619
37919
|
},
|
|
36620
37920
|
"default": "false",
|
|
36621
|
-
"attribute": "
|
|
36622
|
-
},
|
|
36623
|
-
{
|
|
36624
|
-
"kind": "field",
|
|
36625
|
-
"name": "href",
|
|
36626
|
-
"description": "The URL that the link button points to.",
|
|
36627
|
-
"privacy": "public",
|
|
36628
|
-
"type": {
|
|
36629
|
-
"text": "string"
|
|
36630
|
-
},
|
|
36631
|
-
"default": "''",
|
|
36632
|
-
"attribute": "href"
|
|
36633
|
-
},
|
|
36634
|
-
{
|
|
36635
|
-
"kind": "field",
|
|
36636
|
-
"name": "download",
|
|
36637
|
-
"description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).",
|
|
36638
|
-
"privacy": "public",
|
|
36639
|
-
"type": {
|
|
36640
|
-
"text": "string"
|
|
36641
|
-
},
|
|
36642
|
-
"default": "''",
|
|
36643
|
-
"attribute": "download"
|
|
36644
|
-
},
|
|
36645
|
-
{
|
|
36646
|
-
"kind": "field",
|
|
36647
|
-
"name": "target",
|
|
36648
|
-
"description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.",
|
|
36649
|
-
"privacy": "public",
|
|
36650
|
-
"type": {
|
|
36651
|
-
"text": "\"\" | \"_blank\" | \"_parent\" | \"_self\" | \"_top\""
|
|
36652
|
-
},
|
|
36653
|
-
"default": "''",
|
|
36654
|
-
"attribute": "target"
|
|
36655
|
-
},
|
|
36656
|
-
{
|
|
36657
|
-
"kind": "field",
|
|
36658
|
-
"name": "lastFiredEnabledState",
|
|
36659
|
-
"privacy": "private",
|
|
36660
|
-
"type": {
|
|
36661
|
-
"text": "boolean"
|
|
36662
|
-
}
|
|
37921
|
+
"attribute": "interactive"
|
|
36663
37922
|
},
|
|
36664
37923
|
{
|
|
36665
37924
|
"kind": "field",
|
|
@@ -36678,15 +37937,6 @@
|
|
|
36678
37937
|
},
|
|
36679
37938
|
"default": "(event: Event) => {\n const customEvent = event as CustomEvent<{shown: boolean}>;\n this.hideOutline = !customEvent.detail.shown;\n }"
|
|
36680
37939
|
},
|
|
36681
|
-
{
|
|
36682
|
-
"kind": "field",
|
|
36683
|
-
"name": "type",
|
|
36684
|
-
"privacy": "public",
|
|
36685
|
-
"type": {
|
|
36686
|
-
"text": "string"
|
|
36687
|
-
},
|
|
36688
|
-
"attribute": "type"
|
|
36689
|
-
},
|
|
36690
37940
|
{
|
|
36691
37941
|
"kind": "field",
|
|
36692
37942
|
"name": "shadowRootOptions",
|
|
@@ -36721,7 +37971,7 @@
|
|
|
36721
37971
|
}
|
|
36722
37972
|
]
|
|
36723
37973
|
},
|
|
36724
|
-
"default": "[\n focusRingStyles,\n rippleStyles,\n
|
|
37974
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n cardStyles,\n css`\n :host {\n display: inline-flex;\n isolation: isolate;\n }\n .card {\n flex: 1;\n position: relative;\n }\n .card:has([name='container'].has-slotted) {\n background-color: transparent;\n }\n .card.card-hide-outline {\n --outline-color: transparent;\n --container-elevation: var(--md-sys-elevation-shadow-0);\n }\n slot[name='container'] {\n display: block;\n position: absolute;\n inset: 0;\n border-radius: inherit;\n pointer-events: none;\n --color: var(--container-color);\n z-index: -1;\n transition: inherit;\n }\n slot[name='container']::slotted(*) {\n width: 100%;\n height: 100%;\n }\n `,\n ]"
|
|
36725
37975
|
},
|
|
36726
37976
|
{
|
|
36727
37977
|
"kind": "method",
|
|
@@ -36836,32 +38086,6 @@
|
|
|
36836
38086
|
"text": "void"
|
|
36837
38087
|
}
|
|
36838
38088
|
}
|
|
36839
|
-
},
|
|
36840
|
-
{
|
|
36841
|
-
"kind": "method",
|
|
36842
|
-
"name": "handleChange",
|
|
36843
|
-
"privacy": "private",
|
|
36844
|
-
"parameters": [
|
|
36845
|
-
{
|
|
36846
|
-
"name": "event",
|
|
36847
|
-
"type": {
|
|
36848
|
-
"text": "Event",
|
|
36849
|
-
"references": [
|
|
36850
|
-
{
|
|
36851
|
-
"name": "Event",
|
|
36852
|
-
"package": "global:",
|
|
36853
|
-
"start": 0,
|
|
36854
|
-
"end": 5
|
|
36855
|
-
}
|
|
36856
|
-
]
|
|
36857
|
-
}
|
|
36858
|
-
}
|
|
36859
|
-
],
|
|
36860
|
-
"return": {
|
|
36861
|
-
"type": {
|
|
36862
|
-
"text": "void"
|
|
36863
|
-
}
|
|
36864
|
-
}
|
|
36865
38089
|
}
|
|
36866
38090
|
],
|
|
36867
38091
|
"customElement": true,
|
|
@@ -36874,155 +38098,58 @@
|
|
|
36874
38098
|
"fieldName": "color"
|
|
36875
38099
|
},
|
|
36876
38100
|
{
|
|
36877
|
-
"name": "
|
|
36878
|
-
"type": {
|
|
36879
|
-
"text": "string"
|
|
36880
|
-
},
|
|
36881
|
-
"fieldName": "size"
|
|
36882
|
-
},
|
|
36883
|
-
{
|
|
36884
|
-
"name": "square",
|
|
36885
|
-
"type": {
|
|
36886
|
-
"text": "boolean"
|
|
36887
|
-
},
|
|
36888
|
-
"fieldName": "square"
|
|
36889
|
-
},
|
|
36890
|
-
{
|
|
36891
|
-
"name": "type",
|
|
36892
|
-
"type": {
|
|
36893
|
-
"text": "string"
|
|
36894
|
-
},
|
|
36895
|
-
"fieldName": "type"
|
|
36896
|
-
},
|
|
36897
|
-
{
|
|
36898
|
-
"name": "soft-disabled",
|
|
36899
|
-
"type": {
|
|
36900
|
-
"text": "boolean"
|
|
36901
|
-
},
|
|
36902
|
-
"fieldName": "softDisabled"
|
|
36903
|
-
},
|
|
36904
|
-
{
|
|
36905
|
-
"name": "selected",
|
|
38101
|
+
"name": "disabled",
|
|
36906
38102
|
"type": {
|
|
36907
38103
|
"text": "boolean"
|
|
36908
38104
|
},
|
|
36909
|
-
"fieldName": "
|
|
36910
|
-
},
|
|
36911
|
-
{
|
|
36912
|
-
"name": "
|
|
36913
|
-
"type": {
|
|
36914
|
-
"text": "
|
|
36915
|
-
},
|
|
36916
|
-
"fieldName": "href"
|
|
36917
|
-
},
|
|
36918
|
-
{
|
|
36919
|
-
"name": "download",
|
|
36920
|
-
"type": {
|
|
36921
|
-
"text": "string"
|
|
36922
|
-
},
|
|
36923
|
-
"fieldName": "download"
|
|
36924
|
-
},
|
|
36925
|
-
{
|
|
36926
|
-
"name": "target",
|
|
36927
|
-
"type": {
|
|
36928
|
-
"text": "string"
|
|
36929
|
-
},
|
|
36930
|
-
"fieldName": "target"
|
|
36931
|
-
}
|
|
36932
|
-
],
|
|
36933
|
-
"events": [
|
|
36934
|
-
{
|
|
36935
|
-
"name": "input",
|
|
36936
|
-
"type": {
|
|
36937
|
-
"text": "InputEvent",
|
|
36938
|
-
"references": [
|
|
36939
|
-
{
|
|
36940
|
-
"name": "InputEvent",
|
|
36941
|
-
"package": "global:",
|
|
36942
|
-
"start": 0,
|
|
36943
|
-
"end": 10
|
|
36944
|
-
}
|
|
36945
|
-
]
|
|
36946
|
-
},
|
|
36947
|
-
"description": "Fired when a toggle button is selected or unselected. --bubbles --composed"
|
|
36948
|
-
},
|
|
36949
|
-
{
|
|
36950
|
-
"name": "change",
|
|
36951
|
-
"type": {
|
|
36952
|
-
"text": "Event",
|
|
36953
|
-
"references": [
|
|
36954
|
-
{
|
|
36955
|
-
"name": "Event",
|
|
36956
|
-
"package": "global:",
|
|
36957
|
-
"start": 0,
|
|
36958
|
-
"end": 5
|
|
36959
|
-
}
|
|
36960
|
-
]
|
|
38105
|
+
"fieldName": "disabled"
|
|
38106
|
+
},
|
|
38107
|
+
{
|
|
38108
|
+
"name": "interactive",
|
|
38109
|
+
"type": {
|
|
38110
|
+
"text": "boolean"
|
|
36961
38111
|
},
|
|
36962
|
-
"
|
|
38112
|
+
"fieldName": "interactive"
|
|
36963
38113
|
}
|
|
36964
38114
|
],
|
|
36965
38115
|
"slots": [
|
|
36966
38116
|
{
|
|
36967
38117
|
"name": "-",
|
|
36968
|
-
"description": "Used to display
|
|
38118
|
+
"description": "Used to display the card's content. Note: add padding to content, not the host <md-gb-card> element."
|
|
36969
38119
|
},
|
|
36970
38120
|
{
|
|
36971
38121
|
"name": "container",
|
|
36972
|
-
"description": "Used to set a custom background container for the
|
|
38122
|
+
"description": "Used to set a custom background container for the card."
|
|
36973
38123
|
}
|
|
36974
38124
|
],
|
|
36975
38125
|
"cssParts": [
|
|
36976
38126
|
{
|
|
36977
|
-
"name": "
|
|
36978
|
-
"description": "The
|
|
38127
|
+
"name": "card",
|
|
38128
|
+
"description": "The card's root element."
|
|
38129
|
+
},
|
|
38130
|
+
{
|
|
38131
|
+
"name": "card-btn",
|
|
38132
|
+
"description": "The card's main action button, when interactive."
|
|
36979
38133
|
}
|
|
36980
38134
|
],
|
|
36981
38135
|
"cssProperties": [
|
|
36982
38136
|
{
|
|
36983
38137
|
"name": "--container-color"
|
|
36984
38138
|
},
|
|
36985
|
-
{
|
|
36986
|
-
"name": "--container-height"
|
|
36987
|
-
},
|
|
36988
38139
|
{
|
|
36989
38140
|
"name": "--container-elevation"
|
|
36990
38141
|
},
|
|
36991
38142
|
{
|
|
36992
38143
|
"name": "--container-shape"
|
|
36993
38144
|
},
|
|
36994
|
-
{
|
|
36995
|
-
"name": "--outline-width"
|
|
36996
|
-
},
|
|
36997
38145
|
{
|
|
36998
38146
|
"name": "--outline-color"
|
|
36999
38147
|
},
|
|
37000
38148
|
{
|
|
37001
|
-
"name": "--
|
|
37002
|
-
},
|
|
37003
|
-
{
|
|
37004
|
-
"name": "--icon-color"
|
|
37005
|
-
},
|
|
37006
|
-
{
|
|
37007
|
-
"name": "--icon-size"
|
|
37008
|
-
},
|
|
37009
|
-
{
|
|
37010
|
-
"name": "--label-text"
|
|
37011
|
-
},
|
|
37012
|
-
{
|
|
37013
|
-
"name": "--label-text-tracking"
|
|
37014
|
-
},
|
|
37015
|
-
{
|
|
37016
|
-
"name": "--label-text-color"
|
|
37017
|
-
},
|
|
37018
|
-
{
|
|
37019
|
-
"name": "--leading-space"
|
|
38149
|
+
"name": "--outline-width"
|
|
37020
38150
|
},
|
|
37021
38151
|
{
|
|
37022
38152
|
"name": "--state-layer-color"
|
|
37023
|
-
},
|
|
37024
|
-
{
|
|
37025
|
-
"name": "--trailing-space"
|
|
37026
38153
|
}
|
|
37027
38154
|
]
|
|
37028
38155
|
}
|
|
@@ -37030,16 +38157,16 @@
|
|
|
37030
38157
|
"exports": [
|
|
37031
38158
|
{
|
|
37032
38159
|
"kind": "js",
|
|
37033
|
-
"name": "
|
|
38160
|
+
"name": "CardElement",
|
|
37034
38161
|
"declaration": {
|
|
37035
|
-
"name": "
|
|
38162
|
+
"name": "CardElement"
|
|
37036
38163
|
}
|
|
37037
38164
|
}
|
|
37038
38165
|
]
|
|
37039
38166
|
},
|
|
37040
38167
|
{
|
|
37041
38168
|
"kind": "javascript-module",
|
|
37042
|
-
"path": "labs/gb/components/
|
|
38169
|
+
"path": "labs/gb/components/card/card.cssresult.js",
|
|
37043
38170
|
"declarations": [
|
|
37044
38171
|
{
|
|
37045
38172
|
"kind": "variable",
|
|
@@ -37092,49 +38219,41 @@
|
|
|
37092
38219
|
},
|
|
37093
38220
|
{
|
|
37094
38221
|
"kind": "javascript-module",
|
|
37095
|
-
"path": "labs/gb/components/
|
|
38222
|
+
"path": "labs/gb/components/card/card.js",
|
|
37096
38223
|
"declarations": [
|
|
37097
38224
|
{
|
|
37098
38225
|
"kind": "variable",
|
|
37099
|
-
"name": "
|
|
37100
|
-
"description": "
|
|
37101
|
-
"type": {
|
|
37102
|
-
"text": "{ readonly filled: \"filled\"; readonly elevated: \"elevated\"; readonly tonal: \"tonal\"; readonly outlined: \"outlined\"; readonly text: \"text\"; }"
|
|
37103
|
-
}
|
|
37104
|
-
},
|
|
37105
|
-
{
|
|
37106
|
-
"kind": "variable",
|
|
37107
|
-
"name": "BUTTON_SIZES",
|
|
37108
|
-
"description": "Button size configurations.",
|
|
38226
|
+
"name": "CARD_COLORS",
|
|
38227
|
+
"description": "Card color configurations.",
|
|
37109
38228
|
"type": {
|
|
37110
|
-
"text": "{ readonly
|
|
38229
|
+
"text": "{ readonly elevated: \"elevated\"; readonly filled: \"filled\"; readonly outlined: \"outlined\"; }"
|
|
37111
38230
|
}
|
|
37112
38231
|
},
|
|
37113
38232
|
{
|
|
37114
38233
|
"kind": "variable",
|
|
37115
|
-
"name": "
|
|
37116
|
-
"description": "
|
|
38234
|
+
"name": "CARD_CLASSES",
|
|
38235
|
+
"description": "Card classes.",
|
|
37117
38236
|
"type": {
|
|
37118
|
-
"text": "{
|
|
38237
|
+
"text": "{ readonly card: \"card\"; readonly cardElevated: \"card-elevated\"; readonly cardFilled: \"card-filled\"; readonly cardOutlined: \"card-outlined\"; readonly hover: string; readonly focus: string; readonly disabled: string; }"
|
|
37119
38238
|
}
|
|
37120
38239
|
},
|
|
37121
38240
|
{
|
|
37122
38241
|
"kind": "function",
|
|
37123
|
-
"name": "
|
|
37124
|
-
"description": "Returns the
|
|
38242
|
+
"name": "cardClasses",
|
|
38243
|
+
"description": "Returns the card classes to apply to an element based on the given state.",
|
|
37125
38244
|
"parameters": [
|
|
37126
38245
|
{
|
|
37127
|
-
"name": "{\n color,\n
|
|
37128
|
-
"description": "The state of the
|
|
38246
|
+
"name": "{\n color,\n interactive = false,\n hover = false,\n focus = false,\n disabled = false,\n}",
|
|
38247
|
+
"description": "The state of the card.",
|
|
37129
38248
|
"type": {
|
|
37130
|
-
"text": "
|
|
38249
|
+
"text": "CardClassesState",
|
|
37131
38250
|
"references": [
|
|
37132
38251
|
{
|
|
37133
|
-
"name": "
|
|
38252
|
+
"name": "CardClassesState",
|
|
37134
38253
|
"package": "@material/web",
|
|
37135
|
-
"module": "labs/gb/components/
|
|
38254
|
+
"module": "labs/gb/components/card/card.js",
|
|
37136
38255
|
"start": 0,
|
|
37137
|
-
"end":
|
|
38256
|
+
"end": 16
|
|
37138
38257
|
}
|
|
37139
38258
|
]
|
|
37140
38259
|
},
|
|
@@ -37158,76 +38277,33 @@
|
|
|
37158
38277
|
"description": "An object of class names and truthy values if they apply."
|
|
37159
38278
|
}
|
|
37160
38279
|
},
|
|
37161
|
-
{
|
|
37162
|
-
"kind": "function",
|
|
37163
|
-
"name": "setupButton",
|
|
37164
|
-
"description": "Sets up button functionality for the given element.",
|
|
37165
|
-
"parameters": [
|
|
37166
|
-
{
|
|
37167
|
-
"name": "button",
|
|
37168
|
-
"description": "The element on which to set up button functionality.",
|
|
37169
|
-
"type": {
|
|
37170
|
-
"text": "HTMLElement",
|
|
37171
|
-
"references": [
|
|
37172
|
-
{
|
|
37173
|
-
"name": "HTMLElement",
|
|
37174
|
-
"package": "global:",
|
|
37175
|
-
"start": 0,
|
|
37176
|
-
"end": 11
|
|
37177
|
-
}
|
|
37178
|
-
]
|
|
37179
|
-
}
|
|
37180
|
-
},
|
|
37181
|
-
{
|
|
37182
|
-
"name": "opts",
|
|
37183
|
-
"description": "Setup options, supports a cleanup `signal`.",
|
|
37184
|
-
"type": {
|
|
37185
|
-
"text": "{ signal?: AbortSignal; }",
|
|
37186
|
-
"references": [
|
|
37187
|
-
{
|
|
37188
|
-
"name": "AbortSignal",
|
|
37189
|
-
"package": "global:",
|
|
37190
|
-
"start": 11,
|
|
37191
|
-
"end": 22
|
|
37192
|
-
}
|
|
37193
|
-
]
|
|
37194
|
-
},
|
|
37195
|
-
"optional": true
|
|
37196
|
-
}
|
|
37197
|
-
],
|
|
37198
|
-
"return": {
|
|
37199
|
-
"type": {
|
|
37200
|
-
"text": "void"
|
|
37201
|
-
}
|
|
37202
|
-
}
|
|
37203
|
-
},
|
|
37204
38280
|
{
|
|
37205
38281
|
"kind": "variable",
|
|
37206
|
-
"name": "
|
|
37207
|
-
"description": "A Lit directive that adds
|
|
38282
|
+
"name": "card",
|
|
38283
|
+
"description": "A Lit directive that adds card styling and functionality to its element.",
|
|
37208
38284
|
"type": {
|
|
37209
|
-
"text": "(state?:
|
|
38285
|
+
"text": "(state?: CardClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
37210
38286
|
"references": [
|
|
37211
38287
|
{
|
|
37212
|
-
"name": "
|
|
38288
|
+
"name": "CardClassesState",
|
|
37213
38289
|
"package": "@material/web",
|
|
37214
|
-
"module": "labs/gb/components/
|
|
38290
|
+
"module": "labs/gb/components/card/card.js",
|
|
37215
38291
|
"start": 9,
|
|
37216
|
-
"end":
|
|
38292
|
+
"end": 25
|
|
37217
38293
|
},
|
|
37218
38294
|
{
|
|
37219
38295
|
"name": "AdditionalClasses",
|
|
37220
38296
|
"package": "@material/web",
|
|
37221
38297
|
"module": "labs/gb/components/shared/directives.js",
|
|
37222
|
-
"start":
|
|
37223
|
-
"end":
|
|
38298
|
+
"start": 28,
|
|
38299
|
+
"end": 45
|
|
37224
38300
|
},
|
|
37225
38301
|
{
|
|
37226
38302
|
"name": "DirectiveResult",
|
|
37227
38303
|
"package": "lit-html",
|
|
37228
38304
|
"module": "development/directive.js",
|
|
37229
|
-
"start":
|
|
37230
|
-
"end":
|
|
38305
|
+
"start": 50,
|
|
38306
|
+
"end": 65
|
|
37231
38307
|
}
|
|
37232
38308
|
]
|
|
37233
38309
|
}
|
|
@@ -37236,61 +38312,47 @@
|
|
|
37236
38312
|
"exports": [
|
|
37237
38313
|
{
|
|
37238
38314
|
"kind": "js",
|
|
37239
|
-
"name": "
|
|
37240
|
-
"declaration": {
|
|
37241
|
-
"name": "BUTTON_COLORS"
|
|
37242
|
-
}
|
|
37243
|
-
},
|
|
37244
|
-
{
|
|
37245
|
-
"kind": "js",
|
|
37246
|
-
"name": "BUTTON_SIZES",
|
|
37247
|
-
"declaration": {
|
|
37248
|
-
"name": "BUTTON_SIZES"
|
|
37249
|
-
}
|
|
37250
|
-
},
|
|
37251
|
-
{
|
|
37252
|
-
"kind": "js",
|
|
37253
|
-
"name": "BUTTON_CLASSES",
|
|
38315
|
+
"name": "CARD_COLORS",
|
|
37254
38316
|
"declaration": {
|
|
37255
|
-
"name": "
|
|
38317
|
+
"name": "CARD_COLORS"
|
|
37256
38318
|
}
|
|
37257
38319
|
},
|
|
37258
38320
|
{
|
|
37259
38321
|
"kind": "js",
|
|
37260
|
-
"name": "
|
|
38322
|
+
"name": "CARD_CLASSES",
|
|
37261
38323
|
"declaration": {
|
|
37262
|
-
"name": "
|
|
38324
|
+
"name": "CARD_CLASSES"
|
|
37263
38325
|
}
|
|
37264
38326
|
},
|
|
37265
38327
|
{
|
|
37266
38328
|
"kind": "js",
|
|
37267
|
-
"name": "
|
|
38329
|
+
"name": "cardClasses",
|
|
37268
38330
|
"declaration": {
|
|
37269
|
-
"name": "
|
|
38331
|
+
"name": "cardClasses"
|
|
37270
38332
|
}
|
|
37271
38333
|
},
|
|
37272
38334
|
{
|
|
37273
38335
|
"kind": "js",
|
|
37274
|
-
"name": "
|
|
38336
|
+
"name": "card",
|
|
37275
38337
|
"declaration": {
|
|
37276
|
-
"name": "
|
|
38338
|
+
"name": "card"
|
|
37277
38339
|
}
|
|
37278
38340
|
}
|
|
37279
38341
|
]
|
|
37280
38342
|
},
|
|
37281
38343
|
{
|
|
37282
38344
|
"kind": "javascript-module",
|
|
37283
|
-
"path": "labs/gb/components/
|
|
38345
|
+
"path": "labs/gb/components/card/md-gb-card.js"
|
|
37284
38346
|
},
|
|
37285
38347
|
{
|
|
37286
38348
|
"kind": "javascript-module",
|
|
37287
|
-
"path": "labs/gb/components/
|
|
38349
|
+
"path": "labs/gb/components/checkbox/checkbox-element.js",
|
|
37288
38350
|
"declarations": [
|
|
37289
38351
|
{
|
|
37290
38352
|
"kind": "variable",
|
|
37291
38353
|
"name": "baseClass",
|
|
37292
38354
|
"type": {
|
|
37293
|
-
"text": "MixinReturn<typeof LitElement
|
|
38355
|
+
"text": "MixinReturn<MixinReturn<MixinReturn<(abstract new (...args: any[]) => WithElementInternals) & typeof LitElement & FormAssociatedConstructor, FormAssociated>, ConstraintValidation>>",
|
|
37294
38356
|
"references": [
|
|
37295
38357
|
{
|
|
37296
38358
|
"name": "MixinReturn",
|
|
@@ -37298,95 +38360,150 @@
|
|
|
37298
38360
|
"module": "labs/behaviors/mixin.js",
|
|
37299
38361
|
"start": 0,
|
|
37300
38362
|
"end": 11
|
|
38363
|
+
},
|
|
38364
|
+
{
|
|
38365
|
+
"name": "MixinReturn",
|
|
38366
|
+
"package": "@material/web",
|
|
38367
|
+
"module": "labs/behaviors/mixin.js",
|
|
38368
|
+
"start": 12,
|
|
38369
|
+
"end": 23
|
|
38370
|
+
},
|
|
38371
|
+
{
|
|
38372
|
+
"name": "MixinReturn",
|
|
38373
|
+
"package": "@material/web",
|
|
38374
|
+
"module": "labs/behaviors/mixin.js",
|
|
38375
|
+
"start": 24,
|
|
38376
|
+
"end": 35
|
|
38377
|
+
},
|
|
38378
|
+
{
|
|
38379
|
+
"name": "WithElementInternals",
|
|
38380
|
+
"package": "@material/web",
|
|
38381
|
+
"module": "labs/behaviors/element-internals.js",
|
|
38382
|
+
"start": 70,
|
|
38383
|
+
"end": 90
|
|
38384
|
+
},
|
|
38385
|
+
{
|
|
38386
|
+
"name": "FormAssociatedConstructor",
|
|
38387
|
+
"package": "@material/web",
|
|
38388
|
+
"module": "labs/behaviors/form-associated.js",
|
|
38389
|
+
"start": 114,
|
|
38390
|
+
"end": 139
|
|
38391
|
+
},
|
|
38392
|
+
{
|
|
38393
|
+
"name": "FormAssociated",
|
|
38394
|
+
"package": "@material/web",
|
|
38395
|
+
"module": "labs/behaviors/form-associated.js",
|
|
38396
|
+
"start": 141,
|
|
38397
|
+
"end": 155
|
|
38398
|
+
},
|
|
38399
|
+
{
|
|
38400
|
+
"name": "ConstraintValidation",
|
|
38401
|
+
"package": "@material/web",
|
|
38402
|
+
"module": "labs/behaviors/constraint-validation.js",
|
|
38403
|
+
"start": 158,
|
|
38404
|
+
"end": 178
|
|
37301
38405
|
}
|
|
37302
38406
|
]
|
|
37303
38407
|
}
|
|
37304
38408
|
},
|
|
37305
38409
|
{
|
|
37306
38410
|
"kind": "class",
|
|
37307
|
-
"name": "
|
|
37308
|
-
"description": "A Material Design
|
|
38411
|
+
"name": "CheckboxElement",
|
|
38412
|
+
"description": "A Material Design checkbox component.",
|
|
37309
38413
|
"superclass": {
|
|
37310
38414
|
"name": "baseClass",
|
|
37311
38415
|
"package": "@material/web",
|
|
37312
|
-
"module": "labs/gb/components/
|
|
38416
|
+
"module": "labs/gb/components/checkbox/checkbox-element.js"
|
|
37313
38417
|
},
|
|
37314
38418
|
"members": [
|
|
37315
38419
|
{
|
|
37316
38420
|
"kind": "field",
|
|
37317
|
-
"name": "
|
|
37318
|
-
"
|
|
38421
|
+
"name": "error",
|
|
38422
|
+
"description": "Whether or not the checkbox is invalid.",
|
|
38423
|
+
"privacy": "public",
|
|
37319
38424
|
"type": {
|
|
37320
38425
|
"text": "boolean"
|
|
37321
38426
|
},
|
|
37322
|
-
"default": "false"
|
|
38427
|
+
"default": "false",
|
|
38428
|
+
"attribute": "error"
|
|
37323
38429
|
},
|
|
37324
38430
|
{
|
|
37325
38431
|
"kind": "field",
|
|
37326
|
-
"name": "
|
|
37327
|
-
"
|
|
38432
|
+
"name": "checked",
|
|
38433
|
+
"description": "Whether or not the checkbox is selected.",
|
|
38434
|
+
"privacy": "public",
|
|
37328
38435
|
"type": {
|
|
37329
38436
|
"text": "boolean"
|
|
37330
|
-
}
|
|
38437
|
+
},
|
|
38438
|
+
"default": "false",
|
|
38439
|
+
"attribute": "checked"
|
|
37331
38440
|
},
|
|
37332
38441
|
{
|
|
37333
38442
|
"kind": "field",
|
|
37334
|
-
"name": "
|
|
37335
|
-
"description": "
|
|
38443
|
+
"name": "indeterminate",
|
|
38444
|
+
"description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes",
|
|
37336
38445
|
"privacy": "public",
|
|
37337
38446
|
"type": {
|
|
37338
|
-
"text": "
|
|
37339
|
-
"references": [
|
|
37340
|
-
{
|
|
37341
|
-
"name": "CardColor",
|
|
37342
|
-
"package": "@material/web",
|
|
37343
|
-
"module": "labs/gb/components/card/card.js",
|
|
37344
|
-
"start": 0,
|
|
37345
|
-
"end": 9
|
|
37346
|
-
}
|
|
37347
|
-
]
|
|
38447
|
+
"text": "boolean"
|
|
37348
38448
|
},
|
|
37349
|
-
"default": "
|
|
37350
|
-
"attribute": "
|
|
38449
|
+
"default": "false",
|
|
38450
|
+
"attribute": "indeterminate"
|
|
37351
38451
|
},
|
|
37352
38452
|
{
|
|
37353
38453
|
"kind": "field",
|
|
37354
|
-
"name": "
|
|
37355
|
-
"description": "
|
|
38454
|
+
"name": "required",
|
|
38455
|
+
"description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation",
|
|
37356
38456
|
"privacy": "public",
|
|
37357
38457
|
"type": {
|
|
37358
38458
|
"text": "boolean"
|
|
37359
38459
|
},
|
|
37360
38460
|
"default": "false",
|
|
37361
|
-
"attribute": "
|
|
38461
|
+
"attribute": "required"
|
|
37362
38462
|
},
|
|
37363
38463
|
{
|
|
37364
38464
|
"kind": "field",
|
|
37365
|
-
"name": "
|
|
37366
|
-
"description": "
|
|
38465
|
+
"name": "value",
|
|
38466
|
+
"description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value",
|
|
37367
38467
|
"privacy": "public",
|
|
37368
38468
|
"type": {
|
|
37369
|
-
"text": "
|
|
38469
|
+
"text": "string"
|
|
37370
38470
|
},
|
|
37371
|
-
"default": "
|
|
37372
|
-
"attribute": "
|
|
38471
|
+
"default": "'on'",
|
|
38472
|
+
"attribute": "value"
|
|
37373
38473
|
},
|
|
37374
38474
|
{
|
|
37375
38475
|
"kind": "field",
|
|
37376
|
-
"name": "
|
|
38476
|
+
"name": "input",
|
|
37377
38477
|
"privacy": "private",
|
|
37378
38478
|
"type": {
|
|
37379
|
-
"text": "
|
|
38479
|
+
"text": "HTMLInputElement",
|
|
37380
38480
|
"references": [
|
|
37381
38481
|
{
|
|
37382
|
-
"name": "
|
|
38482
|
+
"name": "HTMLInputElement",
|
|
37383
38483
|
"package": "global:",
|
|
37384
|
-
"start":
|
|
37385
|
-
"end":
|
|
38484
|
+
"start": 0,
|
|
38485
|
+
"end": 16
|
|
37386
38486
|
}
|
|
37387
38487
|
]
|
|
38488
|
+
}
|
|
38489
|
+
},
|
|
38490
|
+
{
|
|
38491
|
+
"kind": "field",
|
|
38492
|
+
"name": "dirtyCheckedness",
|
|
38493
|
+
"description": "Mimics the behavior of <input> dirty checkedness, where the `checked`\nattribute only updates the checked state if the checkbox has not been\ninteracted with.",
|
|
38494
|
+
"privacy": "private",
|
|
38495
|
+
"type": {
|
|
38496
|
+
"text": "boolean"
|
|
37388
38497
|
},
|
|
37389
|
-
"default": "
|
|
38498
|
+
"default": "false"
|
|
38499
|
+
},
|
|
38500
|
+
{
|
|
38501
|
+
"kind": "field",
|
|
38502
|
+
"name": "defaultChecked",
|
|
38503
|
+
"privacy": "public",
|
|
38504
|
+
"type": {
|
|
38505
|
+
"text": "boolean"
|
|
38506
|
+
}
|
|
37390
38507
|
},
|
|
37391
38508
|
{
|
|
37392
38509
|
"kind": "field",
|
|
@@ -37422,22 +38539,47 @@
|
|
|
37422
38539
|
}
|
|
37423
38540
|
]
|
|
37424
38541
|
},
|
|
37425
|
-
"default": "[\n focusRingStyles,\n rippleStyles,\n
|
|
38542
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n checkboxStyles,\n css`\n :host {\n display: inline-flex;\n }\n .checkbox {\n flex: 1;\n }\n `,\n ]"
|
|
37426
38543
|
},
|
|
37427
38544
|
{
|
|
37428
38545
|
"kind": "method",
|
|
37429
|
-
"name": "
|
|
37430
|
-
"privacy": "
|
|
38546
|
+
"name": "render",
|
|
38547
|
+
"privacy": "protected",
|
|
37431
38548
|
"return": {
|
|
37432
38549
|
"type": {
|
|
37433
|
-
"text": "
|
|
38550
|
+
"text": "TemplateResult<1>",
|
|
38551
|
+
"references": [
|
|
38552
|
+
{
|
|
38553
|
+
"name": "TemplateResult",
|
|
38554
|
+
"package": "lit-html",
|
|
38555
|
+
"module": "development/lit-html.js",
|
|
38556
|
+
"start": 0,
|
|
38557
|
+
"end": 14
|
|
38558
|
+
}
|
|
38559
|
+
]
|
|
37434
38560
|
}
|
|
37435
38561
|
}
|
|
37436
38562
|
},
|
|
37437
38563
|
{
|
|
37438
38564
|
"kind": "method",
|
|
37439
|
-
"name": "
|
|
37440
|
-
"privacy": "
|
|
38565
|
+
"name": "handleInput",
|
|
38566
|
+
"privacy": "private",
|
|
38567
|
+
"parameters": [
|
|
38568
|
+
{
|
|
38569
|
+
"name": "event",
|
|
38570
|
+
"type": {
|
|
38571
|
+
"text": "Event",
|
|
38572
|
+
"references": [
|
|
38573
|
+
{
|
|
38574
|
+
"name": "Event",
|
|
38575
|
+
"package": "global:",
|
|
38576
|
+
"start": 0,
|
|
38577
|
+
"end": 5
|
|
38578
|
+
}
|
|
38579
|
+
]
|
|
38580
|
+
}
|
|
38581
|
+
}
|
|
38582
|
+
],
|
|
37441
38583
|
"return": {
|
|
37442
38584
|
"type": {
|
|
37443
38585
|
"text": "void"
|
|
@@ -37446,32 +38588,19 @@
|
|
|
37446
38588
|
},
|
|
37447
38589
|
{
|
|
37448
38590
|
"kind": "method",
|
|
37449
|
-
"name": "
|
|
37450
|
-
"privacy": "
|
|
38591
|
+
"name": "handleChange",
|
|
38592
|
+
"privacy": "private",
|
|
37451
38593
|
"parameters": [
|
|
37452
38594
|
{
|
|
37453
|
-
"name": "
|
|
38595
|
+
"name": "event",
|
|
37454
38596
|
"type": {
|
|
37455
|
-
"text": "
|
|
38597
|
+
"text": "Event",
|
|
37456
38598
|
"references": [
|
|
37457
38599
|
{
|
|
37458
|
-
"name": "
|
|
37459
|
-
"package": "lit",
|
|
37460
|
-
"module": "development/index.js",
|
|
37461
|
-
"start": 0,
|
|
37462
|
-
"end": 16
|
|
37463
|
-
},
|
|
37464
|
-
{
|
|
37465
|
-
"name": "Map",
|
|
37466
|
-
"package": "global:",
|
|
37467
|
-
"start": 24,
|
|
37468
|
-
"end": 27
|
|
37469
|
-
},
|
|
37470
|
-
{
|
|
37471
|
-
"name": "PropertyKey",
|
|
38600
|
+
"name": "Event",
|
|
37472
38601
|
"package": "global:",
|
|
37473
|
-
"start":
|
|
37474
|
-
"end":
|
|
38602
|
+
"start": 0,
|
|
38603
|
+
"end": 5
|
|
37475
38604
|
}
|
|
37476
38605
|
]
|
|
37477
38606
|
}
|
|
@@ -37485,8 +38614,28 @@
|
|
|
37485
38614
|
},
|
|
37486
38615
|
{
|
|
37487
38616
|
"kind": "method",
|
|
37488
|
-
"name": "
|
|
37489
|
-
"privacy": "
|
|
38617
|
+
"name": "attributeChangedCallback",
|
|
38618
|
+
"privacy": "public",
|
|
38619
|
+
"parameters": [
|
|
38620
|
+
{
|
|
38621
|
+
"name": "name",
|
|
38622
|
+
"type": {
|
|
38623
|
+
"text": "string"
|
|
38624
|
+
}
|
|
38625
|
+
},
|
|
38626
|
+
{
|
|
38627
|
+
"name": "oldValue",
|
|
38628
|
+
"type": {
|
|
38629
|
+
"text": "string"
|
|
38630
|
+
}
|
|
38631
|
+
},
|
|
38632
|
+
{
|
|
38633
|
+
"name": "newValue",
|
|
38634
|
+
"type": {
|
|
38635
|
+
"text": "string"
|
|
38636
|
+
}
|
|
38637
|
+
}
|
|
38638
|
+
],
|
|
37490
38639
|
"return": {
|
|
37491
38640
|
"type": {
|
|
37492
38641
|
"text": "void"
|
|
@@ -37495,40 +38644,43 @@
|
|
|
37495
38644
|
},
|
|
37496
38645
|
{
|
|
37497
38646
|
"kind": "method",
|
|
37498
|
-
"name": "
|
|
37499
|
-
"privacy": "
|
|
38647
|
+
"name": "[getFormValue]",
|
|
38648
|
+
"privacy": "public",
|
|
37500
38649
|
"return": {
|
|
37501
38650
|
"type": {
|
|
37502
|
-
"text": "
|
|
37503
|
-
"references": [
|
|
37504
|
-
{
|
|
37505
|
-
"name": "TemplateResult",
|
|
37506
|
-
"package": "lit-html",
|
|
37507
|
-
"module": "development/lit-html.js",
|
|
37508
|
-
"start": 0,
|
|
37509
|
-
"end": 14
|
|
37510
|
-
}
|
|
37511
|
-
]
|
|
38651
|
+
"text": "string"
|
|
37512
38652
|
}
|
|
37513
38653
|
}
|
|
37514
38654
|
},
|
|
37515
38655
|
{
|
|
37516
38656
|
"kind": "method",
|
|
37517
|
-
"name": "
|
|
37518
|
-
"privacy": "
|
|
38657
|
+
"name": "[getFormState]",
|
|
38658
|
+
"privacy": "public",
|
|
38659
|
+
"return": {
|
|
38660
|
+
"type": {
|
|
38661
|
+
"text": "string"
|
|
38662
|
+
}
|
|
38663
|
+
}
|
|
38664
|
+
},
|
|
38665
|
+
{
|
|
38666
|
+
"kind": "method",
|
|
38667
|
+
"name": "formResetCallback",
|
|
38668
|
+
"privacy": "public",
|
|
38669
|
+
"return": {
|
|
38670
|
+
"type": {
|
|
38671
|
+
"text": "void"
|
|
38672
|
+
}
|
|
38673
|
+
}
|
|
38674
|
+
},
|
|
38675
|
+
{
|
|
38676
|
+
"kind": "method",
|
|
38677
|
+
"name": "formStateRestoreCallback",
|
|
38678
|
+
"privacy": "public",
|
|
37519
38679
|
"parameters": [
|
|
37520
38680
|
{
|
|
37521
|
-
"name": "
|
|
38681
|
+
"name": "state",
|
|
37522
38682
|
"type": {
|
|
37523
|
-
"text": "
|
|
37524
|
-
"references": [
|
|
37525
|
-
{
|
|
37526
|
-
"name": "Event",
|
|
37527
|
-
"package": "global:",
|
|
37528
|
-
"start": 0,
|
|
37529
|
-
"end": 5
|
|
37530
|
-
}
|
|
37531
|
-
]
|
|
38683
|
+
"text": "string"
|
|
37532
38684
|
}
|
|
37533
38685
|
}
|
|
37534
38686
|
],
|
|
@@ -37537,50 +38689,119 @@
|
|
|
37537
38689
|
"text": "void"
|
|
37538
38690
|
}
|
|
37539
38691
|
}
|
|
38692
|
+
},
|
|
38693
|
+
{
|
|
38694
|
+
"kind": "method",
|
|
38695
|
+
"name": "[createValidator]",
|
|
38696
|
+
"privacy": "public",
|
|
38697
|
+
"return": {
|
|
38698
|
+
"type": {
|
|
38699
|
+
"text": "CheckboxValidator",
|
|
38700
|
+
"references": [
|
|
38701
|
+
{
|
|
38702
|
+
"name": "CheckboxValidator",
|
|
38703
|
+
"package": "@material/web",
|
|
38704
|
+
"module": "labs/behaviors/validators/checkbox-validator.js",
|
|
38705
|
+
"start": 0,
|
|
38706
|
+
"end": 17
|
|
38707
|
+
}
|
|
38708
|
+
]
|
|
38709
|
+
}
|
|
38710
|
+
}
|
|
38711
|
+
},
|
|
38712
|
+
{
|
|
38713
|
+
"kind": "method",
|
|
38714
|
+
"name": "[getValidityAnchor]",
|
|
38715
|
+
"privacy": "public",
|
|
38716
|
+
"return": {
|
|
38717
|
+
"type": {
|
|
38718
|
+
"text": "HTMLInputElement",
|
|
38719
|
+
"references": [
|
|
38720
|
+
{
|
|
38721
|
+
"name": "HTMLInputElement",
|
|
38722
|
+
"package": "global:",
|
|
38723
|
+
"start": 0,
|
|
38724
|
+
"end": 16
|
|
38725
|
+
}
|
|
38726
|
+
]
|
|
38727
|
+
}
|
|
38728
|
+
}
|
|
37540
38729
|
}
|
|
37541
38730
|
],
|
|
37542
38731
|
"customElement": true,
|
|
37543
38732
|
"attributes": [
|
|
37544
38733
|
{
|
|
37545
|
-
"name": "
|
|
38734
|
+
"name": "error",
|
|
38735
|
+
"type": {
|
|
38736
|
+
"text": "boolean"
|
|
38737
|
+
},
|
|
38738
|
+
"fieldName": "error"
|
|
38739
|
+
},
|
|
38740
|
+
{
|
|
38741
|
+
"name": "checked",
|
|
38742
|
+
"type": {
|
|
38743
|
+
"text": "boolean"
|
|
38744
|
+
},
|
|
38745
|
+
"fieldName": "checked"
|
|
38746
|
+
},
|
|
38747
|
+
{
|
|
38748
|
+
"name": "indeterminate",
|
|
37546
38749
|
"type": {
|
|
37547
|
-
"text": "
|
|
38750
|
+
"text": "boolean"
|
|
37548
38751
|
},
|
|
37549
|
-
"fieldName": "
|
|
38752
|
+
"fieldName": "indeterminate"
|
|
37550
38753
|
},
|
|
37551
38754
|
{
|
|
37552
|
-
"name": "
|
|
38755
|
+
"name": "required",
|
|
37553
38756
|
"type": {
|
|
37554
38757
|
"text": "boolean"
|
|
37555
38758
|
},
|
|
37556
|
-
"fieldName": "
|
|
38759
|
+
"fieldName": "required"
|
|
37557
38760
|
},
|
|
37558
38761
|
{
|
|
37559
|
-
"name": "
|
|
38762
|
+
"name": "value",
|
|
37560
38763
|
"type": {
|
|
37561
|
-
"text": "
|
|
38764
|
+
"text": "string"
|
|
37562
38765
|
},
|
|
37563
|
-
"fieldName": "
|
|
38766
|
+
"fieldName": "value"
|
|
37564
38767
|
}
|
|
37565
38768
|
],
|
|
37566
|
-
"
|
|
38769
|
+
"events": [
|
|
37567
38770
|
{
|
|
37568
|
-
"name": "
|
|
37569
|
-
"
|
|
38771
|
+
"name": "input",
|
|
38772
|
+
"type": {
|
|
38773
|
+
"text": "InputEvent",
|
|
38774
|
+
"references": [
|
|
38775
|
+
{
|
|
38776
|
+
"name": "InputEvent",
|
|
38777
|
+
"package": "global:",
|
|
38778
|
+
"start": 0,
|
|
38779
|
+
"end": 10
|
|
38780
|
+
}
|
|
38781
|
+
]
|
|
38782
|
+
},
|
|
38783
|
+
"description": "Fired when the checkbox is checked or unchecked. --bubbles --composed"
|
|
37570
38784
|
},
|
|
37571
38785
|
{
|
|
37572
|
-
"name": "
|
|
37573
|
-
"
|
|
38786
|
+
"name": "change",
|
|
38787
|
+
"type": {
|
|
38788
|
+
"text": "Event",
|
|
38789
|
+
"references": [
|
|
38790
|
+
{
|
|
38791
|
+
"name": "Event",
|
|
38792
|
+
"package": "global:",
|
|
38793
|
+
"start": 0,
|
|
38794
|
+
"end": 5
|
|
38795
|
+
}
|
|
38796
|
+
]
|
|
38797
|
+
},
|
|
38798
|
+
"description": "Fired when the checkbox is checked or unchecked. --bubbles"
|
|
37574
38799
|
}
|
|
37575
38800
|
],
|
|
37576
38801
|
"cssParts": [
|
|
37577
38802
|
{
|
|
37578
|
-
"name": "
|
|
37579
|
-
"description": "The
|
|
37580
|
-
},
|
|
37581
|
-
{
|
|
37582
|
-
"name": "card-btn",
|
|
37583
|
-
"description": "The card's main action button, when interactive."
|
|
38803
|
+
"name": "checkbox",
|
|
38804
|
+
"description": "The checkbox's root element."
|
|
37584
38805
|
}
|
|
37585
38806
|
],
|
|
37586
38807
|
"cssProperties": [
|
|
@@ -37588,10 +38809,16 @@
|
|
|
37588
38809
|
"name": "--container-color"
|
|
37589
38810
|
},
|
|
37590
38811
|
{
|
|
37591
|
-
"name": "--container-
|
|
38812
|
+
"name": "--container-shape"
|
|
37592
38813
|
},
|
|
37593
38814
|
{
|
|
37594
|
-
"name": "--container-
|
|
38815
|
+
"name": "--container-size"
|
|
38816
|
+
},
|
|
38817
|
+
{
|
|
38818
|
+
"name": "--icon-color"
|
|
38819
|
+
},
|
|
38820
|
+
{
|
|
38821
|
+
"name": "--icon-size"
|
|
37595
38822
|
},
|
|
37596
38823
|
{
|
|
37597
38824
|
"name": "--outline-color"
|
|
@@ -37601,6 +38828,12 @@
|
|
|
37601
38828
|
},
|
|
37602
38829
|
{
|
|
37603
38830
|
"name": "--state-layer-color"
|
|
38831
|
+
},
|
|
38832
|
+
{
|
|
38833
|
+
"name": "--state-layer-shape"
|
|
38834
|
+
},
|
|
38835
|
+
{
|
|
38836
|
+
"name": "--state-layer-size"
|
|
37604
38837
|
}
|
|
37605
38838
|
]
|
|
37606
38839
|
}
|
|
@@ -37608,16 +38841,16 @@
|
|
|
37608
38841
|
"exports": [
|
|
37609
38842
|
{
|
|
37610
38843
|
"kind": "js",
|
|
37611
|
-
"name": "
|
|
38844
|
+
"name": "CheckboxElement",
|
|
37612
38845
|
"declaration": {
|
|
37613
|
-
"name": "
|
|
38846
|
+
"name": "CheckboxElement"
|
|
37614
38847
|
}
|
|
37615
38848
|
}
|
|
37616
38849
|
]
|
|
37617
38850
|
},
|
|
37618
38851
|
{
|
|
37619
38852
|
"kind": "javascript-module",
|
|
37620
|
-
"path": "labs/gb/components/
|
|
38853
|
+
"path": "labs/gb/components/checkbox/checkbox.cssresult.js",
|
|
37621
38854
|
"declarations": [
|
|
37622
38855
|
{
|
|
37623
38856
|
"kind": "variable",
|
|
@@ -37670,41 +38903,33 @@
|
|
|
37670
38903
|
},
|
|
37671
38904
|
{
|
|
37672
38905
|
"kind": "javascript-module",
|
|
37673
|
-
"path": "labs/gb/components/
|
|
38906
|
+
"path": "labs/gb/components/checkbox/checkbox.js",
|
|
37674
38907
|
"declarations": [
|
|
37675
38908
|
{
|
|
37676
38909
|
"kind": "variable",
|
|
37677
|
-
"name": "
|
|
37678
|
-
"description": "
|
|
37679
|
-
"type": {
|
|
37680
|
-
"text": "{ readonly elevated: \"elevated\"; readonly filled: \"filled\"; readonly outlined: \"outlined\"; }"
|
|
37681
|
-
}
|
|
37682
|
-
},
|
|
37683
|
-
{
|
|
37684
|
-
"kind": "variable",
|
|
37685
|
-
"name": "CARD_CLASSES",
|
|
37686
|
-
"description": "Card classes.",
|
|
38910
|
+
"name": "CHECKBOX_CLASSES",
|
|
38911
|
+
"description": "Checkbox classes.",
|
|
37687
38912
|
"type": {
|
|
37688
|
-
"text": "{ readonly
|
|
38913
|
+
"text": "{ readonly checkbox: \"checkbox\"; readonly invalid: string; readonly hover: string; readonly focus: string; readonly active: string; readonly checked: string; readonly indeterminate: string; readonly disabled: string; }"
|
|
37689
38914
|
}
|
|
37690
38915
|
},
|
|
37691
38916
|
{
|
|
37692
38917
|
"kind": "function",
|
|
37693
|
-
"name": "
|
|
37694
|
-
"description": "Returns the
|
|
38918
|
+
"name": "checkboxClasses",
|
|
38919
|
+
"description": "Returns the checkbox classes to apply to an element based on the given state.",
|
|
37695
38920
|
"parameters": [
|
|
37696
38921
|
{
|
|
37697
|
-
"name": "{\n
|
|
37698
|
-
"description": "The state of the
|
|
38922
|
+
"name": "{\n invalid = false,\n hover = false,\n focus = false,\n active = false,\n checked = false,\n indeterminate = false,\n disabled = false,\n}",
|
|
38923
|
+
"description": "The state of the checkbox.",
|
|
37699
38924
|
"type": {
|
|
37700
|
-
"text": "
|
|
38925
|
+
"text": "CheckboxClassesState",
|
|
37701
38926
|
"references": [
|
|
37702
38927
|
{
|
|
37703
|
-
"name": "
|
|
38928
|
+
"name": "CheckboxClassesState",
|
|
37704
38929
|
"package": "@material/web",
|
|
37705
|
-
"module": "labs/gb/components/
|
|
38930
|
+
"module": "labs/gb/components/checkbox/checkbox.js",
|
|
37706
38931
|
"start": 0,
|
|
37707
|
-
"end":
|
|
38932
|
+
"end": 20
|
|
37708
38933
|
}
|
|
37709
38934
|
]
|
|
37710
38935
|
},
|
|
@@ -37728,33 +38953,76 @@
|
|
|
37728
38953
|
"description": "An object of class names and truthy values if they apply."
|
|
37729
38954
|
}
|
|
37730
38955
|
},
|
|
38956
|
+
{
|
|
38957
|
+
"kind": "function",
|
|
38958
|
+
"name": "setupCheckbox",
|
|
38959
|
+
"description": "Sets up checkbox functionality for the given element.",
|
|
38960
|
+
"parameters": [
|
|
38961
|
+
{
|
|
38962
|
+
"name": "checkbox",
|
|
38963
|
+
"description": "The element on which to set up checkbox functionality.",
|
|
38964
|
+
"type": {
|
|
38965
|
+
"text": "HTMLElement",
|
|
38966
|
+
"references": [
|
|
38967
|
+
{
|
|
38968
|
+
"name": "HTMLElement",
|
|
38969
|
+
"package": "global:",
|
|
38970
|
+
"start": 0,
|
|
38971
|
+
"end": 11
|
|
38972
|
+
}
|
|
38973
|
+
]
|
|
38974
|
+
}
|
|
38975
|
+
},
|
|
38976
|
+
{
|
|
38977
|
+
"name": "opts",
|
|
38978
|
+
"description": "Setup options, supports a cleanup `signal`.",
|
|
38979
|
+
"type": {
|
|
38980
|
+
"text": "{ signal?: AbortSignal; }",
|
|
38981
|
+
"references": [
|
|
38982
|
+
{
|
|
38983
|
+
"name": "AbortSignal",
|
|
38984
|
+
"package": "global:",
|
|
38985
|
+
"start": 11,
|
|
38986
|
+
"end": 22
|
|
38987
|
+
}
|
|
38988
|
+
]
|
|
38989
|
+
},
|
|
38990
|
+
"optional": true
|
|
38991
|
+
}
|
|
38992
|
+
],
|
|
38993
|
+
"return": {
|
|
38994
|
+
"type": {
|
|
38995
|
+
"text": "void"
|
|
38996
|
+
}
|
|
38997
|
+
}
|
|
38998
|
+
},
|
|
37731
38999
|
{
|
|
37732
39000
|
"kind": "variable",
|
|
37733
|
-
"name": "
|
|
37734
|
-
"description": "A Lit directive that adds
|
|
39001
|
+
"name": "checkbox",
|
|
39002
|
+
"description": "A Lit directive that adds checkbox styling and functionality to its element.",
|
|
37735
39003
|
"type": {
|
|
37736
|
-
"text": "(state?:
|
|
39004
|
+
"text": "(state?: CheckboxClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
37737
39005
|
"references": [
|
|
37738
39006
|
{
|
|
37739
|
-
"name": "
|
|
39007
|
+
"name": "CheckboxClassesState",
|
|
37740
39008
|
"package": "@material/web",
|
|
37741
|
-
"module": "labs/gb/components/
|
|
39009
|
+
"module": "labs/gb/components/checkbox/checkbox.js",
|
|
37742
39010
|
"start": 9,
|
|
37743
|
-
"end":
|
|
39011
|
+
"end": 29
|
|
37744
39012
|
},
|
|
37745
39013
|
{
|
|
37746
39014
|
"name": "AdditionalClasses",
|
|
37747
39015
|
"package": "@material/web",
|
|
37748
39016
|
"module": "labs/gb/components/shared/directives.js",
|
|
37749
|
-
"start":
|
|
37750
|
-
"end":
|
|
39017
|
+
"start": 32,
|
|
39018
|
+
"end": 49
|
|
37751
39019
|
},
|
|
37752
39020
|
{
|
|
37753
39021
|
"name": "DirectiveResult",
|
|
37754
39022
|
"package": "lit-html",
|
|
37755
39023
|
"module": "development/directive.js",
|
|
37756
|
-
"start":
|
|
37757
|
-
"end":
|
|
39024
|
+
"start": 54,
|
|
39025
|
+
"end": 69
|
|
37758
39026
|
}
|
|
37759
39027
|
]
|
|
37760
39028
|
}
|
|
@@ -37763,185 +39031,164 @@
|
|
|
37763
39031
|
"exports": [
|
|
37764
39032
|
{
|
|
37765
39033
|
"kind": "js",
|
|
37766
|
-
"name": "
|
|
39034
|
+
"name": "CHECKBOX_CLASSES",
|
|
37767
39035
|
"declaration": {
|
|
37768
|
-
"name": "
|
|
39036
|
+
"name": "CHECKBOX_CLASSES"
|
|
37769
39037
|
}
|
|
37770
39038
|
},
|
|
37771
39039
|
{
|
|
37772
39040
|
"kind": "js",
|
|
37773
|
-
"name": "
|
|
39041
|
+
"name": "checkboxClasses",
|
|
37774
39042
|
"declaration": {
|
|
37775
|
-
"name": "
|
|
39043
|
+
"name": "checkboxClasses"
|
|
37776
39044
|
}
|
|
37777
39045
|
},
|
|
37778
39046
|
{
|
|
37779
39047
|
"kind": "js",
|
|
37780
|
-
"name": "
|
|
39048
|
+
"name": "setupCheckbox",
|
|
37781
39049
|
"declaration": {
|
|
37782
|
-
"name": "
|
|
39050
|
+
"name": "setupCheckbox"
|
|
37783
39051
|
}
|
|
37784
39052
|
},
|
|
37785
39053
|
{
|
|
37786
39054
|
"kind": "js",
|
|
37787
|
-
"name": "
|
|
37788
|
-
"declaration": {
|
|
37789
|
-
"name": "
|
|
37790
|
-
}
|
|
37791
|
-
}
|
|
37792
|
-
]
|
|
37793
|
-
},
|
|
37794
|
-
{
|
|
37795
|
-
"kind": "javascript-module",
|
|
37796
|
-
"path": "labs/gb/components/card/md-gb-card.js"
|
|
37797
|
-
},
|
|
37798
|
-
{
|
|
37799
|
-
"kind": "javascript-module",
|
|
37800
|
-
"path": "labs/gb/components/checkbox/checkbox-element.js",
|
|
37801
|
-
"declarations": [
|
|
37802
|
-
{
|
|
37803
|
-
"kind": "variable",
|
|
37804
|
-
"name": "baseClass",
|
|
37805
|
-
"type": {
|
|
37806
|
-
"text": "MixinReturn<MixinReturn<MixinReturn<(abstract new (...args: any[]) => WithElementInternals) & typeof LitElement & FormAssociatedConstructor, FormAssociated>, ConstraintValidation>>",
|
|
37807
|
-
"references": [
|
|
37808
|
-
{
|
|
37809
|
-
"name": "MixinReturn",
|
|
37810
|
-
"package": "@material/web",
|
|
37811
|
-
"module": "labs/behaviors/mixin.js",
|
|
37812
|
-
"start": 0,
|
|
37813
|
-
"end": 11
|
|
37814
|
-
},
|
|
37815
|
-
{
|
|
37816
|
-
"name": "MixinReturn",
|
|
37817
|
-
"package": "@material/web",
|
|
37818
|
-
"module": "labs/behaviors/mixin.js",
|
|
37819
|
-
"start": 12,
|
|
37820
|
-
"end": 23
|
|
37821
|
-
},
|
|
37822
|
-
{
|
|
37823
|
-
"name": "MixinReturn",
|
|
37824
|
-
"package": "@material/web",
|
|
37825
|
-
"module": "labs/behaviors/mixin.js",
|
|
37826
|
-
"start": 24,
|
|
37827
|
-
"end": 35
|
|
37828
|
-
},
|
|
37829
|
-
{
|
|
37830
|
-
"name": "WithElementInternals",
|
|
37831
|
-
"package": "@material/web",
|
|
37832
|
-
"module": "labs/behaviors/element-internals.js",
|
|
37833
|
-
"start": 70,
|
|
37834
|
-
"end": 90
|
|
37835
|
-
},
|
|
37836
|
-
{
|
|
37837
|
-
"name": "FormAssociatedConstructor",
|
|
37838
|
-
"package": "@material/web",
|
|
37839
|
-
"module": "labs/behaviors/form-associated.js",
|
|
37840
|
-
"start": 114,
|
|
37841
|
-
"end": 139
|
|
37842
|
-
},
|
|
37843
|
-
{
|
|
37844
|
-
"name": "FormAssociated",
|
|
37845
|
-
"package": "@material/web",
|
|
37846
|
-
"module": "labs/behaviors/form-associated.js",
|
|
37847
|
-
"start": 141,
|
|
37848
|
-
"end": 155
|
|
37849
|
-
},
|
|
37850
|
-
{
|
|
37851
|
-
"name": "ConstraintValidation",
|
|
37852
|
-
"package": "@material/web",
|
|
37853
|
-
"module": "labs/behaviors/constraint-validation.js",
|
|
37854
|
-
"start": 158,
|
|
37855
|
-
"end": 178
|
|
37856
|
-
}
|
|
37857
|
-
]
|
|
39055
|
+
"name": "checkbox",
|
|
39056
|
+
"declaration": {
|
|
39057
|
+
"name": "checkbox"
|
|
37858
39058
|
}
|
|
37859
|
-
}
|
|
39059
|
+
}
|
|
39060
|
+
]
|
|
39061
|
+
},
|
|
39062
|
+
{
|
|
39063
|
+
"kind": "javascript-module",
|
|
39064
|
+
"path": "labs/gb/components/checkbox/md-gb-checkbox.js"
|
|
39065
|
+
},
|
|
39066
|
+
{
|
|
39067
|
+
"kind": "javascript-module",
|
|
39068
|
+
"path": "labs/gb/components/chip/chip-element.js",
|
|
39069
|
+
"declarations": [
|
|
37860
39070
|
{
|
|
37861
39071
|
"kind": "class",
|
|
37862
|
-
"name": "
|
|
37863
|
-
"description": "A Material Design
|
|
39072
|
+
"name": "ChipElement",
|
|
39073
|
+
"description": "A Material Design Expressive Chip component (`md-gb-chip`).",
|
|
37864
39074
|
"superclass": {
|
|
37865
|
-
"name": "
|
|
37866
|
-
"package": "
|
|
37867
|
-
"module": "labs/gb/components/checkbox/checkbox-element.js"
|
|
39075
|
+
"name": "LitElement",
|
|
39076
|
+
"package": "lit"
|
|
37868
39077
|
},
|
|
37869
39078
|
"members": [
|
|
37870
39079
|
{
|
|
37871
39080
|
"kind": "field",
|
|
37872
|
-
"name": "
|
|
37873
|
-
"description": "
|
|
39081
|
+
"name": "color",
|
|
39082
|
+
"description": "The color emphasis of the chip. Defaults to `outlined`.",
|
|
39083
|
+
"privacy": "public",
|
|
39084
|
+
"type": {
|
|
39085
|
+
"text": "ChipColor",
|
|
39086
|
+
"references": [
|
|
39087
|
+
{
|
|
39088
|
+
"name": "ChipColor",
|
|
39089
|
+
"package": "@material/web",
|
|
39090
|
+
"module": "labs/gb/components/chip/chip.js",
|
|
39091
|
+
"start": 0,
|
|
39092
|
+
"end": 9
|
|
39093
|
+
}
|
|
39094
|
+
]
|
|
39095
|
+
},
|
|
39096
|
+
"default": "'outlined'",
|
|
39097
|
+
"attribute": "color"
|
|
39098
|
+
},
|
|
39099
|
+
{
|
|
39100
|
+
"kind": "field",
|
|
39101
|
+
"name": "type",
|
|
39102
|
+
"description": "The functional behavior type of the chip (`action`, `filter`, `toggle`, `link`).",
|
|
39103
|
+
"privacy": "public",
|
|
39104
|
+
"type": {
|
|
39105
|
+
"text": "ChipType",
|
|
39106
|
+
"references": [
|
|
39107
|
+
{
|
|
39108
|
+
"name": "ChipType",
|
|
39109
|
+
"package": "@material/web",
|
|
39110
|
+
"module": "labs/gb/components/chip/chip.js",
|
|
39111
|
+
"start": 0,
|
|
39112
|
+
"end": 8
|
|
39113
|
+
}
|
|
39114
|
+
]
|
|
39115
|
+
},
|
|
39116
|
+
"default": "'action'",
|
|
39117
|
+
"attribute": "type"
|
|
39118
|
+
},
|
|
39119
|
+
{
|
|
39120
|
+
"kind": "field",
|
|
39121
|
+
"name": "selected",
|
|
39122
|
+
"description": "Whether the filter or toggle chip is selected.",
|
|
37874
39123
|
"privacy": "public",
|
|
37875
39124
|
"type": {
|
|
37876
39125
|
"text": "boolean"
|
|
37877
39126
|
},
|
|
37878
39127
|
"default": "false",
|
|
37879
|
-
"attribute": "
|
|
39128
|
+
"attribute": "selected",
|
|
39129
|
+
"reflects": true
|
|
37880
39130
|
},
|
|
37881
39131
|
{
|
|
37882
39132
|
"kind": "field",
|
|
37883
|
-
"name": "
|
|
37884
|
-
"description": "Whether
|
|
39133
|
+
"name": "removable",
|
|
39134
|
+
"description": "Whether the chip is removable.",
|
|
37885
39135
|
"privacy": "public",
|
|
37886
39136
|
"type": {
|
|
37887
39137
|
"text": "boolean"
|
|
37888
39138
|
},
|
|
37889
39139
|
"default": "false",
|
|
37890
|
-
"attribute": "
|
|
39140
|
+
"attribute": "removable",
|
|
39141
|
+
"reflects": true
|
|
37891
39142
|
},
|
|
37892
39143
|
{
|
|
37893
39144
|
"kind": "field",
|
|
37894
|
-
"name": "
|
|
37895
|
-
"description": "Whether
|
|
39145
|
+
"name": "disabled",
|
|
39146
|
+
"description": "Whether the chip is disabled.",
|
|
37896
39147
|
"privacy": "public",
|
|
37897
39148
|
"type": {
|
|
37898
39149
|
"text": "boolean"
|
|
37899
39150
|
},
|
|
37900
39151
|
"default": "false",
|
|
37901
|
-
"attribute": "
|
|
39152
|
+
"attribute": "disabled",
|
|
39153
|
+
"reflects": true
|
|
37902
39154
|
},
|
|
37903
39155
|
{
|
|
37904
39156
|
"kind": "field",
|
|
37905
|
-
"name": "
|
|
37906
|
-
"description": "
|
|
39157
|
+
"name": "softDisabled",
|
|
39158
|
+
"description": "Whether the chip is soft-disabled (`aria-disabled=\"true\"` while preserving focusability).",
|
|
37907
39159
|
"privacy": "public",
|
|
37908
39160
|
"type": {
|
|
37909
39161
|
"text": "boolean"
|
|
37910
39162
|
},
|
|
37911
39163
|
"default": "false",
|
|
37912
|
-
"attribute": "
|
|
39164
|
+
"attribute": "soft-disabled",
|
|
39165
|
+
"reflects": true
|
|
37913
39166
|
},
|
|
37914
39167
|
{
|
|
37915
39168
|
"kind": "field",
|
|
37916
|
-
"name": "
|
|
37917
|
-
"description": "The
|
|
39169
|
+
"name": "href",
|
|
39170
|
+
"description": "The URL destination if `type=\"link\"` or if `href` is set.",
|
|
37918
39171
|
"privacy": "public",
|
|
37919
39172
|
"type": {
|
|
37920
39173
|
"text": "string"
|
|
37921
39174
|
},
|
|
37922
|
-
"default": "'
|
|
37923
|
-
"attribute": "
|
|
39175
|
+
"default": "''",
|
|
39176
|
+
"attribute": "href"
|
|
37924
39177
|
},
|
|
37925
39178
|
{
|
|
37926
39179
|
"kind": "field",
|
|
37927
|
-
"name": "
|
|
37928
|
-
"
|
|
39180
|
+
"name": "target",
|
|
39181
|
+
"description": "Where to display the linked `href` URL for a link chip.",
|
|
39182
|
+
"privacy": "public",
|
|
37929
39183
|
"type": {
|
|
37930
|
-
"text": "
|
|
37931
|
-
|
|
37932
|
-
|
|
37933
|
-
|
|
37934
|
-
"package": "global:",
|
|
37935
|
-
"start": 0,
|
|
37936
|
-
"end": 16
|
|
37937
|
-
}
|
|
37938
|
-
]
|
|
37939
|
-
}
|
|
39184
|
+
"text": "\"\" | \"_blank\" | \"_parent\" | \"_self\" | \"_top\""
|
|
39185
|
+
},
|
|
39186
|
+
"default": "''",
|
|
39187
|
+
"attribute": "target"
|
|
37940
39188
|
},
|
|
37941
39189
|
{
|
|
37942
39190
|
"kind": "field",
|
|
37943
|
-
"name": "
|
|
37944
|
-
"description": "Mimics the behavior of <input> dirty checkedness, where the `checked`\nattribute only updates the checked state if the checkbox has not been\ninteracted with.",
|
|
39191
|
+
"name": "hasLeadingIcon",
|
|
37945
39192
|
"privacy": "private",
|
|
37946
39193
|
"type": {
|
|
37947
39194
|
"text": "boolean"
|
|
@@ -37950,29 +39197,21 @@
|
|
|
37950
39197
|
},
|
|
37951
39198
|
{
|
|
37952
39199
|
"kind": "field",
|
|
37953
|
-
"name": "
|
|
37954
|
-
"privacy": "
|
|
39200
|
+
"name": "hasAvatar",
|
|
39201
|
+
"privacy": "private",
|
|
37955
39202
|
"type": {
|
|
37956
39203
|
"text": "boolean"
|
|
37957
|
-
}
|
|
39204
|
+
},
|
|
39205
|
+
"default": "false"
|
|
37958
39206
|
},
|
|
37959
39207
|
{
|
|
37960
39208
|
"kind": "field",
|
|
37961
|
-
"name": "
|
|
37962
|
-
"
|
|
37963
|
-
"privacy": "public",
|
|
39209
|
+
"name": "hasRemoveIcon",
|
|
39210
|
+
"privacy": "private",
|
|
37964
39211
|
"type": {
|
|
37965
|
-
"text": "
|
|
37966
|
-
"references": [
|
|
37967
|
-
{
|
|
37968
|
-
"name": "ShadowRootInit",
|
|
37969
|
-
"package": "global:",
|
|
37970
|
-
"start": 0,
|
|
37971
|
-
"end": 14
|
|
37972
|
-
}
|
|
37973
|
-
]
|
|
39212
|
+
"text": "boolean"
|
|
37974
39213
|
},
|
|
37975
|
-
"default": "
|
|
39214
|
+
"default": "false"
|
|
37976
39215
|
},
|
|
37977
39216
|
{
|
|
37978
39217
|
"kind": "field",
|
|
@@ -37990,7 +39229,7 @@
|
|
|
37990
39229
|
}
|
|
37991
39230
|
]
|
|
37992
39231
|
},
|
|
37993
|
-
"default": "[\n focusRingStyles,\n rippleStyles,\n
|
|
39232
|
+
"default": "[\n focusRingStyles,\n rippleStyles,\n chipStyles,\n css`\n :host {\n display: inline-flex;\n vertical-align: middle;\n }\n .chip {\n flex: 1;\n }\n .chip-icon {\n display: inline-flex;\n align-items: center;\n }\n `,\n ]"
|
|
37994
39233
|
},
|
|
37995
39234
|
{
|
|
37996
39235
|
"kind": "method",
|
|
@@ -38013,110 +39252,135 @@
|
|
|
38013
39252
|
},
|
|
38014
39253
|
{
|
|
38015
39254
|
"kind": "method",
|
|
38016
|
-
"name": "
|
|
39255
|
+
"name": "renderContent",
|
|
38017
39256
|
"privacy": "private",
|
|
38018
39257
|
"parameters": [
|
|
38019
39258
|
{
|
|
38020
|
-
"name": "
|
|
39259
|
+
"name": "withLeadingIcon",
|
|
38021
39260
|
"type": {
|
|
38022
|
-
"text": "
|
|
38023
|
-
"references": [
|
|
38024
|
-
{
|
|
38025
|
-
"name": "Event",
|
|
38026
|
-
"package": "global:",
|
|
38027
|
-
"start": 0,
|
|
38028
|
-
"end": 5
|
|
38029
|
-
}
|
|
38030
|
-
]
|
|
39261
|
+
"text": "boolean"
|
|
38031
39262
|
}
|
|
38032
|
-
}
|
|
38033
|
-
],
|
|
38034
|
-
"return": {
|
|
38035
|
-
"type": {
|
|
38036
|
-
"text": "void"
|
|
38037
|
-
}
|
|
38038
|
-
}
|
|
38039
|
-
},
|
|
38040
|
-
{
|
|
38041
|
-
"kind": "method",
|
|
38042
|
-
"name": "handleChange",
|
|
38043
|
-
"privacy": "private",
|
|
38044
|
-
"parameters": [
|
|
39263
|
+
},
|
|
38045
39264
|
{
|
|
38046
|
-
"name": "
|
|
39265
|
+
"name": "isFilterSelected",
|
|
38047
39266
|
"type": {
|
|
38048
|
-
"text": "
|
|
38049
|
-
"references": [
|
|
38050
|
-
{
|
|
38051
|
-
"name": "Event",
|
|
38052
|
-
"package": "global:",
|
|
38053
|
-
"start": 0,
|
|
38054
|
-
"end": 5
|
|
38055
|
-
}
|
|
38056
|
-
]
|
|
39267
|
+
"text": "boolean"
|
|
38057
39268
|
}
|
|
38058
39269
|
}
|
|
38059
39270
|
],
|
|
38060
39271
|
"return": {
|
|
38061
39272
|
"type": {
|
|
38062
|
-
"text": "
|
|
39273
|
+
"text": "TemplateResult<1>",
|
|
39274
|
+
"references": [
|
|
39275
|
+
{
|
|
39276
|
+
"name": "TemplateResult",
|
|
39277
|
+
"package": "lit-html",
|
|
39278
|
+
"module": "development/lit-html.js",
|
|
39279
|
+
"start": 0,
|
|
39280
|
+
"end": 14
|
|
39281
|
+
}
|
|
39282
|
+
]
|
|
38063
39283
|
}
|
|
38064
39284
|
}
|
|
38065
39285
|
},
|
|
38066
39286
|
{
|
|
38067
39287
|
"kind": "method",
|
|
38068
|
-
"name": "
|
|
38069
|
-
"privacy": "
|
|
39288
|
+
"name": "renderLeadingIcon",
|
|
39289
|
+
"privacy": "private",
|
|
38070
39290
|
"parameters": [
|
|
38071
39291
|
{
|
|
38072
|
-
"name": "
|
|
38073
|
-
"type": {
|
|
38074
|
-
"text": "string"
|
|
38075
|
-
}
|
|
38076
|
-
},
|
|
38077
|
-
{
|
|
38078
|
-
"name": "oldValue",
|
|
39292
|
+
"name": "withLeadingIcon",
|
|
38079
39293
|
"type": {
|
|
38080
|
-
"text": "
|
|
39294
|
+
"text": "boolean"
|
|
38081
39295
|
}
|
|
38082
39296
|
},
|
|
38083
39297
|
{
|
|
38084
|
-
"name": "
|
|
39298
|
+
"name": "isFilterSelected",
|
|
38085
39299
|
"type": {
|
|
38086
|
-
"text": "
|
|
39300
|
+
"text": "boolean"
|
|
38087
39301
|
}
|
|
38088
39302
|
}
|
|
38089
39303
|
],
|
|
38090
39304
|
"return": {
|
|
38091
39305
|
"type": {
|
|
38092
|
-
"text": "
|
|
39306
|
+
"text": "TemplateResult<1>",
|
|
39307
|
+
"references": [
|
|
39308
|
+
{
|
|
39309
|
+
"name": "TemplateResult",
|
|
39310
|
+
"package": "lit-html",
|
|
39311
|
+
"module": "development/lit-html.js",
|
|
39312
|
+
"start": 0,
|
|
39313
|
+
"end": 14
|
|
39314
|
+
}
|
|
39315
|
+
]
|
|
38093
39316
|
}
|
|
38094
39317
|
}
|
|
38095
39318
|
},
|
|
38096
39319
|
{
|
|
38097
39320
|
"kind": "method",
|
|
38098
|
-
"name": "
|
|
38099
|
-
"privacy": "
|
|
39321
|
+
"name": "renderRemoveButton",
|
|
39322
|
+
"privacy": "private",
|
|
38100
39323
|
"return": {
|
|
38101
39324
|
"type": {
|
|
38102
|
-
"text": "
|
|
39325
|
+
"text": "TemplateResult<1>",
|
|
39326
|
+
"references": [
|
|
39327
|
+
{
|
|
39328
|
+
"name": "TemplateResult",
|
|
39329
|
+
"package": "lit-html",
|
|
39330
|
+
"module": "development/lit-html.js",
|
|
39331
|
+
"start": 0,
|
|
39332
|
+
"end": 14
|
|
39333
|
+
}
|
|
39334
|
+
]
|
|
38103
39335
|
}
|
|
38104
39336
|
}
|
|
38105
39337
|
},
|
|
38106
39338
|
{
|
|
38107
39339
|
"kind": "method",
|
|
38108
|
-
"name": "
|
|
38109
|
-
"privacy": "
|
|
39340
|
+
"name": "handleIconSlotChange",
|
|
39341
|
+
"privacy": "private",
|
|
39342
|
+
"parameters": [
|
|
39343
|
+
{
|
|
39344
|
+
"name": "event",
|
|
39345
|
+
"type": {
|
|
39346
|
+
"text": "Event",
|
|
39347
|
+
"references": [
|
|
39348
|
+
{
|
|
39349
|
+
"name": "Event",
|
|
39350
|
+
"package": "global:",
|
|
39351
|
+
"start": 0,
|
|
39352
|
+
"end": 5
|
|
39353
|
+
}
|
|
39354
|
+
]
|
|
39355
|
+
}
|
|
39356
|
+
}
|
|
39357
|
+
],
|
|
38110
39358
|
"return": {
|
|
38111
39359
|
"type": {
|
|
38112
|
-
"text": "
|
|
39360
|
+
"text": "void"
|
|
39361
|
+
}
|
|
39362
|
+
}
|
|
39363
|
+
},
|
|
39364
|
+
{
|
|
39365
|
+
"kind": "method",
|
|
39366
|
+
"name": "handleRemoveIconSlotChange",
|
|
39367
|
+
"privacy": "private",
|
|
39368
|
+
"parameters": [
|
|
39369
|
+
{
|
|
39370
|
+
"name": "event",
|
|
39371
|
+
"type": {
|
|
39372
|
+
"text": "Event",
|
|
39373
|
+
"references": [
|
|
39374
|
+
{
|
|
39375
|
+
"name": "Event",
|
|
39376
|
+
"package": "global:",
|
|
39377
|
+
"start": 0,
|
|
39378
|
+
"end": 5
|
|
39379
|
+
}
|
|
39380
|
+
]
|
|
39381
|
+
}
|
|
38113
39382
|
}
|
|
38114
|
-
|
|
38115
|
-
},
|
|
38116
|
-
{
|
|
38117
|
-
"kind": "method",
|
|
38118
|
-
"name": "formResetCallback",
|
|
38119
|
-
"privacy": "public",
|
|
39383
|
+
],
|
|
38120
39384
|
"return": {
|
|
38121
39385
|
"type": {
|
|
38122
39386
|
"text": "void"
|
|
@@ -38125,13 +39389,21 @@
|
|
|
38125
39389
|
},
|
|
38126
39390
|
{
|
|
38127
39391
|
"kind": "method",
|
|
38128
|
-
"name": "
|
|
38129
|
-
"privacy": "
|
|
39392
|
+
"name": "handleChange",
|
|
39393
|
+
"privacy": "private",
|
|
38130
39394
|
"parameters": [
|
|
38131
39395
|
{
|
|
38132
|
-
"name": "
|
|
39396
|
+
"name": "event",
|
|
38133
39397
|
"type": {
|
|
38134
|
-
"text": "
|
|
39398
|
+
"text": "Event",
|
|
39399
|
+
"references": [
|
|
39400
|
+
{
|
|
39401
|
+
"name": "Event",
|
|
39402
|
+
"package": "global:",
|
|
39403
|
+
"start": 0,
|
|
39404
|
+
"end": 5
|
|
39405
|
+
}
|
|
39406
|
+
]
|
|
38135
39407
|
}
|
|
38136
39408
|
}
|
|
38137
39409
|
],
|
|
@@ -38143,38 +39415,27 @@
|
|
|
38143
39415
|
},
|
|
38144
39416
|
{
|
|
38145
39417
|
"kind": "method",
|
|
38146
|
-
"name": "
|
|
38147
|
-
"privacy": "
|
|
38148
|
-
"
|
|
38149
|
-
|
|
38150
|
-
"
|
|
38151
|
-
"
|
|
38152
|
-
|
|
38153
|
-
|
|
38154
|
-
|
|
38155
|
-
|
|
38156
|
-
|
|
38157
|
-
|
|
38158
|
-
|
|
38159
|
-
|
|
39418
|
+
"name": "handleRemove",
|
|
39419
|
+
"privacy": "private",
|
|
39420
|
+
"parameters": [
|
|
39421
|
+
{
|
|
39422
|
+
"name": "event",
|
|
39423
|
+
"type": {
|
|
39424
|
+
"text": "Event",
|
|
39425
|
+
"references": [
|
|
39426
|
+
{
|
|
39427
|
+
"name": "Event",
|
|
39428
|
+
"package": "global:",
|
|
39429
|
+
"start": 0,
|
|
39430
|
+
"end": 5
|
|
39431
|
+
}
|
|
39432
|
+
]
|
|
39433
|
+
}
|
|
38160
39434
|
}
|
|
38161
|
-
|
|
38162
|
-
},
|
|
38163
|
-
{
|
|
38164
|
-
"kind": "method",
|
|
38165
|
-
"name": "[getValidityAnchor]",
|
|
38166
|
-
"privacy": "public",
|
|
39435
|
+
],
|
|
38167
39436
|
"return": {
|
|
38168
39437
|
"type": {
|
|
38169
|
-
"text": "
|
|
38170
|
-
"references": [
|
|
38171
|
-
{
|
|
38172
|
-
"name": "HTMLInputElement",
|
|
38173
|
-
"package": "global:",
|
|
38174
|
-
"start": 0,
|
|
38175
|
-
"end": 16
|
|
38176
|
-
}
|
|
38177
|
-
]
|
|
39438
|
+
"text": "void"
|
|
38178
39439
|
}
|
|
38179
39440
|
}
|
|
38180
39441
|
}
|
|
@@ -38182,56 +39443,77 @@
|
|
|
38182
39443
|
"customElement": true,
|
|
38183
39444
|
"attributes": [
|
|
38184
39445
|
{
|
|
38185
|
-
"name": "
|
|
39446
|
+
"name": "color",
|
|
39447
|
+
"type": {
|
|
39448
|
+
"text": "string"
|
|
39449
|
+
},
|
|
39450
|
+
"fieldName": "color"
|
|
39451
|
+
},
|
|
39452
|
+
{
|
|
39453
|
+
"name": "type",
|
|
39454
|
+
"type": {
|
|
39455
|
+
"text": "string"
|
|
39456
|
+
},
|
|
39457
|
+
"fieldName": "type"
|
|
39458
|
+
},
|
|
39459
|
+
{
|
|
39460
|
+
"name": "selected",
|
|
38186
39461
|
"type": {
|
|
38187
39462
|
"text": "boolean"
|
|
38188
39463
|
},
|
|
38189
|
-
"fieldName": "
|
|
39464
|
+
"fieldName": "selected"
|
|
38190
39465
|
},
|
|
38191
39466
|
{
|
|
38192
|
-
"name": "
|
|
39467
|
+
"name": "removable",
|
|
38193
39468
|
"type": {
|
|
38194
39469
|
"text": "boolean"
|
|
38195
39470
|
},
|
|
38196
|
-
"fieldName": "
|
|
39471
|
+
"fieldName": "removable"
|
|
38197
39472
|
},
|
|
38198
39473
|
{
|
|
38199
|
-
"name": "
|
|
39474
|
+
"name": "disabled",
|
|
38200
39475
|
"type": {
|
|
38201
39476
|
"text": "boolean"
|
|
38202
39477
|
},
|
|
38203
|
-
"fieldName": "
|
|
39478
|
+
"fieldName": "disabled"
|
|
38204
39479
|
},
|
|
38205
39480
|
{
|
|
38206
|
-
"name": "
|
|
39481
|
+
"name": "soft-disabled",
|
|
38207
39482
|
"type": {
|
|
38208
39483
|
"text": "boolean"
|
|
38209
39484
|
},
|
|
38210
|
-
"fieldName": "
|
|
39485
|
+
"fieldName": "softDisabled"
|
|
38211
39486
|
},
|
|
38212
39487
|
{
|
|
38213
|
-
"name": "
|
|
39488
|
+
"name": "href",
|
|
38214
39489
|
"type": {
|
|
38215
39490
|
"text": "string"
|
|
38216
39491
|
},
|
|
38217
|
-
"fieldName": "
|
|
39492
|
+
"fieldName": "href"
|
|
39493
|
+
},
|
|
39494
|
+
{
|
|
39495
|
+
"name": "target",
|
|
39496
|
+
"type": {
|
|
39497
|
+
"text": "string"
|
|
39498
|
+
},
|
|
39499
|
+
"fieldName": "target"
|
|
38218
39500
|
}
|
|
38219
39501
|
],
|
|
38220
39502
|
"events": [
|
|
38221
39503
|
{
|
|
38222
|
-
"name": "
|
|
39504
|
+
"name": "remove",
|
|
38223
39505
|
"type": {
|
|
38224
|
-
"text": "
|
|
39506
|
+
"text": "Event",
|
|
38225
39507
|
"references": [
|
|
38226
39508
|
{
|
|
38227
|
-
"name": "
|
|
39509
|
+
"name": "Event",
|
|
38228
39510
|
"package": "global:",
|
|
38229
39511
|
"start": 0,
|
|
38230
|
-
"end":
|
|
39512
|
+
"end": 5
|
|
38231
39513
|
}
|
|
38232
39514
|
]
|
|
38233
39515
|
},
|
|
38234
|
-
"description": "Fired when the
|
|
39516
|
+
"description": "Fired when the remove action is triggered on a removable chip. --bubbles --composed"
|
|
38235
39517
|
},
|
|
38236
39518
|
{
|
|
38237
39519
|
"name": "change",
|
|
@@ -38246,45 +39528,119 @@
|
|
|
38246
39528
|
}
|
|
38247
39529
|
]
|
|
38248
39530
|
},
|
|
38249
|
-
"description": "Fired when
|
|
39531
|
+
"description": "Fired when a filter/toggle chip's selection state changes. --bubbles"
|
|
39532
|
+
},
|
|
39533
|
+
{
|
|
39534
|
+
"name": "input",
|
|
39535
|
+
"type": {
|
|
39536
|
+
"text": "InputEvent",
|
|
39537
|
+
"references": [
|
|
39538
|
+
{
|
|
39539
|
+
"name": "InputEvent",
|
|
39540
|
+
"package": "global:",
|
|
39541
|
+
"start": 0,
|
|
39542
|
+
"end": 10
|
|
39543
|
+
}
|
|
39544
|
+
]
|
|
39545
|
+
},
|
|
39546
|
+
"description": "Fired when a filter/toggle chip's selection state changes. --bubbles --composed"
|
|
39547
|
+
}
|
|
39548
|
+
],
|
|
39549
|
+
"slots": [
|
|
39550
|
+
{
|
|
39551
|
+
"name": "-",
|
|
39552
|
+
"description": "Used to display the chip label text."
|
|
39553
|
+
},
|
|
39554
|
+
{
|
|
39555
|
+
"name": "icon",
|
|
39556
|
+
"description": "Used to display an optional leading icon, checkmark, or avatar."
|
|
39557
|
+
},
|
|
39558
|
+
{
|
|
39559
|
+
"name": "remove-icon",
|
|
39560
|
+
"description": "Used to display the trailing remove button icon when `removable=\"true\"`."
|
|
38250
39561
|
}
|
|
38251
39562
|
],
|
|
38252
39563
|
"cssParts": [
|
|
38253
39564
|
{
|
|
38254
|
-
"name": "
|
|
38255
|
-
"description": "The
|
|
39565
|
+
"name": "chip",
|
|
39566
|
+
"description": "The root container element."
|
|
38256
39567
|
}
|
|
38257
39568
|
],
|
|
38258
39569
|
"cssProperties": [
|
|
39570
|
+
{
|
|
39571
|
+
"name": "--avatar-opacity"
|
|
39572
|
+
},
|
|
39573
|
+
{
|
|
39574
|
+
"name": "--avatar-shape"
|
|
39575
|
+
},
|
|
39576
|
+
{
|
|
39577
|
+
"name": "--avatar-size"
|
|
39578
|
+
},
|
|
38259
39579
|
{
|
|
38260
39580
|
"name": "--container-color"
|
|
38261
39581
|
},
|
|
38262
39582
|
{
|
|
38263
|
-
"name": "--container-
|
|
39583
|
+
"name": "--container-elevation"
|
|
38264
39584
|
},
|
|
38265
39585
|
{
|
|
38266
|
-
"name": "--container-
|
|
39586
|
+
"name": "--container-opacity"
|
|
38267
39587
|
},
|
|
38268
39588
|
{
|
|
38269
|
-
"name": "--
|
|
39589
|
+
"name": "--gap-horizontal"
|
|
38270
39590
|
},
|
|
38271
39591
|
{
|
|
38272
|
-
"name": "--
|
|
39592
|
+
"name": "--height"
|
|
39593
|
+
},
|
|
39594
|
+
{
|
|
39595
|
+
"name": "--label-text"
|
|
39596
|
+
},
|
|
39597
|
+
{
|
|
39598
|
+
"name": "--label-text-color"
|
|
39599
|
+
},
|
|
39600
|
+
{
|
|
39601
|
+
"name": "--label-text-opacity"
|
|
39602
|
+
},
|
|
39603
|
+
{
|
|
39604
|
+
"name": "--leading-icon-color"
|
|
39605
|
+
},
|
|
39606
|
+
{
|
|
39607
|
+
"name": "--leading-icon-opacity"
|
|
39608
|
+
},
|
|
39609
|
+
{
|
|
39610
|
+
"name": "--leading-icon-size"
|
|
38273
39611
|
},
|
|
38274
39612
|
{
|
|
38275
39613
|
"name": "--outline-color"
|
|
38276
39614
|
},
|
|
39615
|
+
{
|
|
39616
|
+
"name": "--outline-opacity"
|
|
39617
|
+
},
|
|
38277
39618
|
{
|
|
38278
39619
|
"name": "--outline-width"
|
|
38279
39620
|
},
|
|
38280
39621
|
{
|
|
38281
|
-
"name": "--
|
|
39622
|
+
"name": "--padding-bottom"
|
|
38282
39623
|
},
|
|
38283
39624
|
{
|
|
38284
|
-
"name": "--
|
|
39625
|
+
"name": "--padding-leading"
|
|
38285
39626
|
},
|
|
38286
39627
|
{
|
|
38287
|
-
"name": "--
|
|
39628
|
+
"name": "--padding-top"
|
|
39629
|
+
},
|
|
39630
|
+
{
|
|
39631
|
+
"name": "--padding-trailing"
|
|
39632
|
+
},
|
|
39633
|
+
{
|
|
39634
|
+
"name": "--shape"
|
|
39635
|
+
},
|
|
39636
|
+
{
|
|
39637
|
+
"name": "--trailing-icon-color"
|
|
39638
|
+
},
|
|
39639
|
+
{
|
|
39640
|
+
"name": "--trailing-icon-opacity"
|
|
39641
|
+
},
|
|
39642
|
+
{
|
|
39643
|
+
"name": "--trailing-icon-size"
|
|
38288
39644
|
}
|
|
38289
39645
|
]
|
|
38290
39646
|
}
|
|
@@ -38292,16 +39648,16 @@
|
|
|
38292
39648
|
"exports": [
|
|
38293
39649
|
{
|
|
38294
39650
|
"kind": "js",
|
|
38295
|
-
"name": "
|
|
39651
|
+
"name": "ChipElement",
|
|
38296
39652
|
"declaration": {
|
|
38297
|
-
"name": "
|
|
39653
|
+
"name": "ChipElement"
|
|
38298
39654
|
}
|
|
38299
39655
|
}
|
|
38300
39656
|
]
|
|
38301
39657
|
},
|
|
38302
39658
|
{
|
|
38303
39659
|
"kind": "javascript-module",
|
|
38304
|
-
"path": "labs/gb/components/
|
|
39660
|
+
"path": "labs/gb/components/chip/chip.cssresult.js",
|
|
38305
39661
|
"declarations": [
|
|
38306
39662
|
{
|
|
38307
39663
|
"kind": "variable",
|
|
@@ -38354,33 +39710,41 @@
|
|
|
38354
39710
|
},
|
|
38355
39711
|
{
|
|
38356
39712
|
"kind": "javascript-module",
|
|
38357
|
-
"path": "labs/gb/components/
|
|
39713
|
+
"path": "labs/gb/components/chip/chip.js",
|
|
38358
39714
|
"declarations": [
|
|
38359
39715
|
{
|
|
38360
39716
|
"kind": "variable",
|
|
38361
|
-
"name": "
|
|
38362
|
-
"description": "
|
|
39717
|
+
"name": "CHIP_COLORS",
|
|
39718
|
+
"description": "Chip color configurations.",
|
|
38363
39719
|
"type": {
|
|
38364
|
-
"text": "{ readonly
|
|
39720
|
+
"text": "{ readonly elevated: \"elevated\"; readonly filled: \"filled\"; readonly outlined: \"outlined\"; readonly tonal: \"tonal\"; }"
|
|
39721
|
+
}
|
|
39722
|
+
},
|
|
39723
|
+
{
|
|
39724
|
+
"kind": "variable",
|
|
39725
|
+
"name": "CHIP_CLASSES",
|
|
39726
|
+
"description": "Chip classes.",
|
|
39727
|
+
"type": {
|
|
39728
|
+
"text": "{ readonly chip: \"chip\"; readonly chipElevated: \"chip-elevated\"; readonly chipFilled: \"chip-filled\"; readonly chipOutlined: \"chip-outlined\"; readonly chipTonal: \"chip-tonal\"; readonly chipSelected: \"chip-selected\"; ... 6 more ...; readonly disabled: string; }"
|
|
38365
39729
|
}
|
|
38366
39730
|
},
|
|
38367
39731
|
{
|
|
38368
39732
|
"kind": "function",
|
|
38369
|
-
"name": "
|
|
38370
|
-
"description": "Returns the
|
|
39733
|
+
"name": "chipClasses",
|
|
39734
|
+
"description": "Returns the chip classes to apply to an element based on the given state.",
|
|
38371
39735
|
"parameters": [
|
|
38372
39736
|
{
|
|
38373
|
-
"name": "{\n
|
|
38374
|
-
"description": "The state of the
|
|
39737
|
+
"name": "{\n color = 'outlined',\n type = 'action',\n selected = false,\n removable = false,\n withLeadingIcon = false,\n withTrailingIcon = false,\n withAvatar = false,\n disabled = false,\n}",
|
|
39738
|
+
"description": "The state of the chip.",
|
|
38375
39739
|
"type": {
|
|
38376
|
-
"text": "
|
|
39740
|
+
"text": "ChipClassesState",
|
|
38377
39741
|
"references": [
|
|
38378
39742
|
{
|
|
38379
|
-
"name": "
|
|
39743
|
+
"name": "ChipClassesState",
|
|
38380
39744
|
"package": "@material/web",
|
|
38381
|
-
"module": "labs/gb/components/
|
|
39745
|
+
"module": "labs/gb/components/chip/chip.js",
|
|
38382
39746
|
"start": 0,
|
|
38383
|
-
"end":
|
|
39747
|
+
"end": 16
|
|
38384
39748
|
}
|
|
38385
39749
|
]
|
|
38386
39750
|
},
|
|
@@ -38406,12 +39770,12 @@
|
|
|
38406
39770
|
},
|
|
38407
39771
|
{
|
|
38408
39772
|
"kind": "function",
|
|
38409
|
-
"name": "
|
|
38410
|
-
"description": "Sets up
|
|
39773
|
+
"name": "setupChip",
|
|
39774
|
+
"description": "Sets up chip functionality for the given element.",
|
|
38411
39775
|
"parameters": [
|
|
38412
39776
|
{
|
|
38413
|
-
"name": "
|
|
38414
|
-
"description": "The element on which to set up
|
|
39777
|
+
"name": "chip",
|
|
39778
|
+
"description": "The element on which to set up chip functionality.",
|
|
38415
39779
|
"type": {
|
|
38416
39780
|
"text": "HTMLElement",
|
|
38417
39781
|
"references": [
|
|
@@ -38449,31 +39813,31 @@
|
|
|
38449
39813
|
},
|
|
38450
39814
|
{
|
|
38451
39815
|
"kind": "variable",
|
|
38452
|
-
"name": "
|
|
38453
|
-
"description": "A Lit directive that adds
|
|
39816
|
+
"name": "chip",
|
|
39817
|
+
"description": "A Lit directive that adds chip styling and functionality to its element.",
|
|
38454
39818
|
"type": {
|
|
38455
|
-
"text": "(state?:
|
|
39819
|
+
"text": "(state?: ChipClassesState & AdditionalClasses) => DirectiveResult<DirectiveClass>",
|
|
38456
39820
|
"references": [
|
|
38457
39821
|
{
|
|
38458
|
-
"name": "
|
|
39822
|
+
"name": "ChipClassesState",
|
|
38459
39823
|
"package": "@material/web",
|
|
38460
|
-
"module": "labs/gb/components/
|
|
39824
|
+
"module": "labs/gb/components/chip/chip.js",
|
|
38461
39825
|
"start": 9,
|
|
38462
|
-
"end":
|
|
39826
|
+
"end": 25
|
|
38463
39827
|
},
|
|
38464
39828
|
{
|
|
38465
39829
|
"name": "AdditionalClasses",
|
|
38466
39830
|
"package": "@material/web",
|
|
38467
39831
|
"module": "labs/gb/components/shared/directives.js",
|
|
38468
|
-
"start":
|
|
38469
|
-
"end":
|
|
39832
|
+
"start": 28,
|
|
39833
|
+
"end": 45
|
|
38470
39834
|
},
|
|
38471
39835
|
{
|
|
38472
39836
|
"name": "DirectiveResult",
|
|
38473
39837
|
"package": "lit-html",
|
|
38474
39838
|
"module": "development/directive.js",
|
|
38475
|
-
"start":
|
|
38476
|
-
"end":
|
|
39839
|
+
"start": 50,
|
|
39840
|
+
"end": 65
|
|
38477
39841
|
}
|
|
38478
39842
|
]
|
|
38479
39843
|
}
|
|
@@ -38482,37 +39846,55 @@
|
|
|
38482
39846
|
"exports": [
|
|
38483
39847
|
{
|
|
38484
39848
|
"kind": "js",
|
|
38485
|
-
"name": "
|
|
39849
|
+
"name": "CHIP_COLORS",
|
|
38486
39850
|
"declaration": {
|
|
38487
|
-
"name": "
|
|
39851
|
+
"name": "CHIP_COLORS"
|
|
38488
39852
|
}
|
|
38489
39853
|
},
|
|
38490
39854
|
{
|
|
38491
39855
|
"kind": "js",
|
|
38492
|
-
"name": "
|
|
39856
|
+
"name": "CHIP_CLASSES",
|
|
38493
39857
|
"declaration": {
|
|
38494
|
-
"name": "
|
|
39858
|
+
"name": "CHIP_CLASSES"
|
|
38495
39859
|
}
|
|
38496
39860
|
},
|
|
38497
39861
|
{
|
|
38498
39862
|
"kind": "js",
|
|
38499
|
-
"name": "
|
|
39863
|
+
"name": "chipClasses",
|
|
38500
39864
|
"declaration": {
|
|
38501
|
-
"name": "
|
|
39865
|
+
"name": "chipClasses"
|
|
38502
39866
|
}
|
|
38503
39867
|
},
|
|
38504
39868
|
{
|
|
38505
39869
|
"kind": "js",
|
|
38506
|
-
"name": "
|
|
39870
|
+
"name": "setupChip",
|
|
38507
39871
|
"declaration": {
|
|
38508
|
-
"name": "
|
|
39872
|
+
"name": "setupChip"
|
|
39873
|
+
}
|
|
39874
|
+
},
|
|
39875
|
+
{
|
|
39876
|
+
"kind": "js",
|
|
39877
|
+
"name": "chip",
|
|
39878
|
+
"declaration": {
|
|
39879
|
+
"name": "chip"
|
|
38509
39880
|
}
|
|
38510
39881
|
}
|
|
38511
39882
|
]
|
|
38512
39883
|
},
|
|
38513
39884
|
{
|
|
38514
39885
|
"kind": "javascript-module",
|
|
38515
|
-
"path": "labs/gb/components/
|
|
39886
|
+
"path": "labs/gb/components/chip/md-gb-chip.js",
|
|
39887
|
+
"exports": [
|
|
39888
|
+
{
|
|
39889
|
+
"kind": "js",
|
|
39890
|
+
"name": "ChipElement",
|
|
39891
|
+
"declaration": {
|
|
39892
|
+
"name": "ChipElement",
|
|
39893
|
+
"package": "@material/web",
|
|
39894
|
+
"module": "labs/gb/components/chip/chip-element.js"
|
|
39895
|
+
}
|
|
39896
|
+
}
|
|
39897
|
+
]
|
|
38516
39898
|
},
|
|
38517
39899
|
{
|
|
38518
39900
|
"kind": "javascript-module",
|