@universal-material/web 3.0.66 → 3.0.68

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.
@@ -609,9 +609,7 @@
609
609
  "name": "form",
610
610
  "type": {
611
611
  "text": "HTMLFormElement | null"
612
- },
613
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
614
- "attribute": "form"
612
+ }
615
613
  },
616
614
  {
617
615
  "kind": "field",
@@ -870,14 +868,6 @@
870
868
  "default": "''",
871
869
  "fieldName": "value"
872
870
  },
873
- {
874
- "name": "form",
875
- "type": {
876
- "text": "HTMLFormElement | null"
877
- },
878
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
879
- "fieldName": "form"
880
- },
881
871
  {
882
872
  "name": "disabled",
883
873
  "type": {
@@ -1197,8 +1187,6 @@
1197
1187
  "type": {
1198
1188
  "text": "HTMLFormElement | null"
1199
1189
  },
1200
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
1201
- "attribute": "form",
1202
1190
  "inheritedFrom": {
1203
1191
  "name": "UmButtonBase",
1204
1192
  "module": "src/button/button-base.ts"
@@ -1493,18 +1481,6 @@
1493
1481
  "module": "src/button/button-base.ts"
1494
1482
  }
1495
1483
  },
1496
- {
1497
- "name": "form",
1498
- "type": {
1499
- "text": "HTMLFormElement | null"
1500
- },
1501
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
1502
- "fieldName": "form",
1503
- "inheritedFrom": {
1504
- "name": "UmButtonBase",
1505
- "module": "src/button/button-base.ts"
1506
- }
1507
- },
1508
1484
  {
1509
1485
  "name": "disabled",
1510
1486
  "type": {
@@ -1724,8 +1700,6 @@
1724
1700
  "type": {
1725
1701
  "text": "HTMLFormElement | null"
1726
1702
  },
1727
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
1728
- "attribute": "form",
1729
1703
  "inheritedFrom": {
1730
1704
  "name": "UmButtonBase",
1731
1705
  "module": "src/button/button-base.ts"
@@ -2029,18 +2003,6 @@
2029
2003
  "module": "src/button/button-base.ts"
2030
2004
  }
2031
2005
  },
2032
- {
2033
- "name": "form",
2034
- "type": {
2035
- "text": "HTMLFormElement | null"
2036
- },
2037
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
2038
- "fieldName": "form",
2039
- "inheritedFrom": {
2040
- "name": "UmButtonBase",
2041
- "module": "src/button/button-base.ts"
2042
- }
2043
- },
2044
2006
  {
2045
2007
  "name": "disabled",
2046
2008
  "type": {
@@ -2307,8 +2269,6 @@
2307
2269
  "type": {
2308
2270
  "text": "HTMLFormElement | null"
2309
2271
  },
2310
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
2311
- "attribute": "form",
2312
2272
  "inheritedFrom": {
2313
2273
  "name": "UmButtonBase",
2314
2274
  "module": "src/button/button-base.ts"
@@ -2584,18 +2544,6 @@
2584
2544
  "module": "src/button/button-base.ts"
2585
2545
  }
2586
2546
  },
2587
- {
2588
- "name": "form",
2589
- "type": {
2590
- "text": "HTMLFormElement | null"
2591
- },
2592
- "description": "The `<form>` element to associate the button with (its form owner). The value of this attribute must be the id of a `<form>` in the same document. (If this attribute is not set, the button is associated with its ancestor `<form>` element, if any.)",
2593
- "fieldName": "form",
2594
- "inheritedFrom": {
2595
- "name": "UmButtonBase",
2596
- "module": "src/button/button-base.ts"
2597
- }
2598
- },
2599
2547
  {
2600
2548
  "name": "disabled",
2601
2549
  "type": {
@@ -4827,7 +4775,7 @@
4827
4775
  "privacy": "protected",
4828
4776
  "return": {
4829
4777
  "type": {
4830
- "text": "HTMLTemplateResult"
4778
+ "text": "TemplateResult"
4831
4779
  }
4832
4780
  },
4833
4781
  "inheritedFrom": {
@@ -6230,7 +6178,7 @@
6230
6178
  "privacy": "protected",
6231
6179
  "return": {
6232
6180
  "type": {
6233
- "text": "HTMLTemplateResult"
6181
+ "text": "TemplateResult"
6234
6182
  }
6235
6183
  }
6236
6184
  },
@@ -6240,7 +6188,7 @@
6240
6188
  "privacy": "protected",
6241
6189
  "return": {
6242
6190
  "type": {
6243
- "text": "HTMLTemplateResult"
6191
+ "text": "TemplateResult"
6244
6192
  }
6245
6193
  }
6246
6194
  },
@@ -6454,7 +6402,7 @@
6454
6402
  "privacy": "protected",
6455
6403
  "return": {
6456
6404
  "type": {
6457
- "text": "HTMLTemplateResult"
6405
+ "text": "TemplateResult"
6458
6406
  }
6459
6407
  },
6460
6408
  "inheritedFrom": {
@@ -6727,7 +6675,7 @@
6727
6675
  "privacy": "protected",
6728
6676
  "return": {
6729
6677
  "type": {
6730
- "text": "HTMLTemplateResult"
6678
+ "text": "TemplateResult"
6731
6679
  }
6732
6680
  },
6733
6681
  "inheritedFrom": {
@@ -9891,12 +9839,20 @@
9891
9839
  "members": [
9892
9840
  {
9893
9841
  "kind": "field",
9894
- "name": "#value",
9842
+ "name": "#nativeOption",
9895
9843
  "privacy": "private",
9896
9844
  "type": {
9897
- "text": "string"
9845
+ "text": "HTMLOptionElement"
9846
+ }
9847
+ },
9848
+ {
9849
+ "kind": "field",
9850
+ "name": "#mutationObserver",
9851
+ "privacy": "private",
9852
+ "type": {
9853
+ "text": "MutationObserver | null"
9898
9854
  },
9899
- "default": "''"
9855
+ "default": "null"
9900
9856
  },
9901
9857
  {
9902
9858
  "kind": "field",
@@ -9914,36 +9870,30 @@
9914
9870
  "text": "boolean"
9915
9871
  }
9916
9872
  },
9917
- {
9918
- "kind": "field",
9919
- "name": "#selectedAttribute",
9920
- "privacy": "private",
9921
- "type": {
9922
- "text": "boolean"
9923
- },
9924
- "default": "false"
9925
- },
9926
9873
  {
9927
9874
  "kind": "field",
9928
9875
  "name": "_selectedAttribute",
9929
9876
  "type": {
9930
9877
  "text": "boolean"
9931
9878
  },
9879
+ "privacy": "private",
9932
9880
  "attribute": "selected"
9933
9881
  },
9934
9882
  {
9935
9883
  "kind": "field",
9936
- "name": "_nativeOption",
9884
+ "name": "#select",
9885
+ "privacy": "private",
9937
9886
  "type": {
9938
- "text": "HTMLOptionElement | null"
9939
- },
9940
- "privacy": "private"
9887
+ "text": "UmSelect | null"
9888
+ }
9941
9889
  },
9942
9890
  {
9943
- "kind": "field",
9944
- "name": "select",
9945
- "type": {
9946
- "text": "UmSelect | null"
9891
+ "kind": "method",
9892
+ "name": "#attach",
9893
+ "return": {
9894
+ "type": {
9895
+ "text": "Promise<void>"
9896
+ }
9947
9897
  }
9948
9898
  },
9949
9899
  {
@@ -9960,19 +9910,16 @@
9960
9910
  },
9961
9911
  {
9962
9912
  "kind": "method",
9963
- "name": "#setSelected",
9964
- "parameters": [
9965
- {
9966
- "name": "selected",
9967
- "type": {
9968
- "text": "boolean"
9969
- }
9970
- }
9971
- ]
9913
+ "name": "#updateContent"
9972
9914
  },
9973
9915
  {
9974
9916
  "kind": "method",
9975
- "name": "#select"
9917
+ "name": "#setNativeOption",
9918
+ "return": {
9919
+ "type": {
9920
+ "text": "Promise<void>"
9921
+ }
9922
+ }
9976
9923
  },
9977
9924
  {
9978
9925
  "kind": "field",
@@ -10445,30 +10392,39 @@
10445
10392
  "members": [
10446
10393
  {
10447
10394
  "kind": "field",
10448
- "name": "value",
10395
+ "name": "nativeSelect",
10449
10396
  "type": {
10450
- "text": "string"
10397
+ "text": "HTMLSelectElement"
10451
10398
  }
10452
10399
  },
10453
10400
  {
10454
10401
  "kind": "field",
10455
- "name": "menu",
10402
+ "name": "#connected",
10403
+ "privacy": "private",
10456
10404
  "type": {
10457
- "text": "UmMenu"
10405
+ "text": "boolean"
10406
+ },
10407
+ "default": "false"
10408
+ },
10409
+ {
10410
+ "kind": "field",
10411
+ "name": "value",
10412
+ "type": {
10413
+ "text": "string"
10458
10414
  }
10459
10415
  },
10460
10416
  {
10461
10417
  "kind": "field",
10462
- "name": "nativeSelect",
10418
+ "name": "menu",
10463
10419
  "type": {
10464
- "text": "HTMLSelectElement"
10420
+ "text": "UmMenu"
10465
10421
  }
10466
10422
  },
10467
10423
  {
10468
10424
  "kind": "field",
10469
- "name": "nativeOptions",
10425
+ "name": "input",
10470
10426
  "type": {
10471
- "text": "HTMLOptionElement[]"
10427
+ "text": "HTMLElement"
10472
10428
  }
10473
10429
  },
10474
10430
  {
@@ -10507,7 +10463,7 @@
10507
10463
  "privacy": "protected",
10508
10464
  "return": {
10509
10465
  "type": {
10510
- "text": "HTMLTemplateResult"
10466
+ "text": "TemplateResult"
10511
10467
  }
10512
10468
  },
10513
10469
  "inheritedFrom": {
@@ -10521,7 +10477,7 @@
10521
10477
  "privacy": "protected",
10522
10478
  "return": {
10523
10479
  "type": {
10524
- "text": "HTMLTemplateResult"
10480
+ "text": "TemplateResult"
10525
10481
  }
10526
10482
  },
10527
10483
  "inheritedFrom": {
@@ -12765,7 +12721,7 @@
12765
12721
  "privacy": "protected",
12766
12722
  "return": {
12767
12723
  "type": {
12768
- "text": "HTMLTemplateResult"
12724
+ "text": "TemplateResult"
12769
12725
  }
12770
12726
  },
12771
12727
  "inheritedFrom": {
@@ -14296,12 +14252,61 @@
14296
14252
  },
14297
14253
  {
14298
14254
  "kind": "javascript-module",
14299
- "path": "src/shared/text-field-base/text-field-base.styles.ts",
14255
+ "path": "src/shared/selection-control/selection-control-list-item.ts",
14256
+ "declarations": [
14257
+ {
14258
+ "kind": "mixin",
14259
+ "description": "",
14260
+ "name": "mixinSelectionControlListItem",
14261
+ "members": [
14262
+ {
14263
+ "kind": "field",
14264
+ "name": "styles",
14265
+ "type": {
14266
+ "text": "array"
14267
+ },
14268
+ "static": true,
14269
+ "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]"
14270
+ },
14271
+ {
14272
+ "kind": "method",
14273
+ "name": "render",
14274
+ "return": {
14275
+ "type": {
14276
+ "text": "HTMLTemplateResult"
14277
+ }
14278
+ }
14279
+ }
14280
+ ],
14281
+ "parameters": [
14282
+ {
14283
+ "name": "base",
14284
+ "type": {
14285
+ "text": "T"
14286
+ }
14287
+ }
14288
+ ]
14289
+ }
14290
+ ],
14291
+ "exports": [
14292
+ {
14293
+ "kind": "js",
14294
+ "name": "mixinSelectionControlListItem",
14295
+ "declaration": {
14296
+ "name": "mixinSelectionControlListItem",
14297
+ "module": "src/shared/selection-control/selection-control-list-item.ts"
14298
+ }
14299
+ }
14300
+ ]
14301
+ },
14302
+ {
14303
+ "kind": "javascript-module",
14304
+ "path": "src/shared/selection-control/selection-control.styles.ts",
14300
14305
  "declarations": [
14301
14306
  {
14302
14307
  "kind": "variable",
14303
14308
  "name": "styles",
14304
- "default": "css `\n .container {\n cursor: text;\n }\n`"
14309
+ "default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
14305
14310
  }
14306
14311
  ],
14307
14312
  "exports": [
@@ -14310,19 +14315,19 @@
14310
14315
  "name": "styles",
14311
14316
  "declaration": {
14312
14317
  "name": "styles",
14313
- "module": "src/shared/text-field-base/text-field-base.styles.ts"
14318
+ "module": "src/shared/selection-control/selection-control.styles.ts"
14314
14319
  }
14315
14320
  }
14316
14321
  ]
14317
14322
  },
14318
14323
  {
14319
14324
  "kind": "javascript-module",
14320
- "path": "src/shared/text-field-base/text-field-base.ts",
14325
+ "path": "src/shared/selection-control/selection-control.ts",
14321
14326
  "declarations": [
14322
14327
  {
14323
14328
  "kind": "class",
14324
14329
  "description": "",
14325
- "name": "UmTextFieldBase",
14330
+ "name": "UmSelectionControl",
14326
14331
  "members": [
14327
14332
  {
14328
14333
  "kind": "field",
@@ -14335,36 +14340,38 @@
14335
14340
  },
14336
14341
  {
14337
14342
  "kind": "field",
14338
- "name": "shadowRootOptions",
14343
+ "name": "elementInternals",
14339
14344
  "type": {
14340
- "text": "ShadowRootInit"
14345
+ "text": "ElementInternals"
14341
14346
  },
14342
- "static": true,
14343
- "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
14347
+ "privacy": "protected"
14344
14348
  },
14345
14349
  {
14346
14350
  "kind": "field",
14347
- "name": "empty",
14351
+ "name": "name",
14348
14352
  "type": {
14349
- "text": "boolean"
14353
+ "text": "string | undefined"
14350
14354
  },
14351
- "default": "true",
14352
- "attribute": "empty",
14353
- "reflects": true,
14354
- "inheritedFrom": {
14355
- "name": "UmFieldBase",
14356
- "module": "src/field/field-base.ts"
14357
- }
14355
+ "default": "''",
14356
+ "attribute": "name"
14358
14357
  },
14359
14358
  {
14360
14359
  "kind": "field",
14361
- "name": "placeholder",
14360
+ "name": "disabled",
14362
14361
  "type": {
14363
- "text": "string | undefined"
14362
+ "text": "boolean"
14364
14363
  },
14365
- "attribute": "placeholder",
14364
+ "default": "false",
14365
+ "attribute": "disabled",
14366
14366
  "reflects": true
14367
14367
  },
14368
+ {
14369
+ "kind": "field",
14370
+ "name": "input",
14371
+ "type": {
14372
+ "text": "HTMLInputElement"
14373
+ }
14374
+ },
14368
14375
  {
14369
14376
  "kind": "field",
14370
14377
  "name": "form",
@@ -14374,40 +14381,246 @@
14374
14381
  },
14375
14382
  {
14376
14383
  "kind": "field",
14377
- "name": "elementInternals",
14384
+ "name": "#checked",
14385
+ "privacy": "private",
14378
14386
  "type": {
14379
- "text": "ElementInternals"
14387
+ "text": "boolean"
14380
14388
  },
14381
- "privacy": "protected"
14389
+ "default": "false"
14382
14390
  },
14383
14391
  {
14384
14392
  "kind": "field",
14385
- "name": "config",
14393
+ "name": "inputType",
14386
14394
  "type": {
14387
- "text": "UmFieldDefaults | undefined"
14395
+ "text": "'checkbox' | 'radio'"
14388
14396
  },
14389
- "privacy": "private",
14390
- "inheritedFrom": {
14391
- "name": "UmFieldBase",
14392
- "module": "src/field/field-base.ts"
14393
- }
14397
+ "privacy": "protected",
14398
+ "default": "'checkbox'"
14394
14399
  },
14395
14400
  {
14396
14401
  "kind": "field",
14397
- "name": "variant",
14402
+ "name": "renderRipple",
14398
14403
  "type": {
14399
- "text": "'filled' | 'outlined' | undefined"
14404
+ "text": "boolean"
14400
14405
  },
14401
- "default": "undefined",
14402
- "attribute": "variant",
14403
- "inheritedFrom": {
14404
- "name": "UmFieldBase",
14405
- "module": "src/field/field-base.ts"
14406
+ "privacy": "protected",
14407
+ "default": "true"
14408
+ },
14409
+ {
14410
+ "kind": "method",
14411
+ "name": "renderIndicator",
14412
+ "privacy": "protected",
14413
+ "return": {
14414
+ "type": {
14415
+ "text": "HTMLTemplateResult"
14416
+ }
14406
14417
  }
14407
14418
  },
14408
14419
  {
14409
14420
  "kind": "field",
14410
- "name": "label",
14421
+ "name": "value",
14422
+ "type": {
14423
+ "text": "string"
14424
+ },
14425
+ "default": "'on'",
14426
+ "description": "The element value to use in form submission when checked.",
14427
+ "attribute": "value"
14428
+ },
14429
+ {
14430
+ "kind": "field",
14431
+ "name": "checked",
14432
+ "attribute": "checked"
14433
+ },
14434
+ {
14435
+ "kind": "method",
14436
+ "name": "#handleClick",
14437
+ "parameters": [
14438
+ {
14439
+ "name": "e",
14440
+ "type": {
14441
+ "text": "Event"
14442
+ }
14443
+ }
14444
+ ]
14445
+ }
14446
+ ],
14447
+ "events": [
14448
+ {
14449
+ "name": "input",
14450
+ "type": {
14451
+ "text": "InputEvent"
14452
+ }
14453
+ },
14454
+ {
14455
+ "name": "change",
14456
+ "type": {
14457
+ "text": "Event"
14458
+ }
14459
+ }
14460
+ ],
14461
+ "attributes": [
14462
+ {
14463
+ "name": "name",
14464
+ "type": {
14465
+ "text": "string | undefined"
14466
+ },
14467
+ "default": "''",
14468
+ "fieldName": "name"
14469
+ },
14470
+ {
14471
+ "name": "disabled",
14472
+ "type": {
14473
+ "text": "boolean"
14474
+ },
14475
+ "default": "false",
14476
+ "fieldName": "disabled"
14477
+ },
14478
+ {
14479
+ "name": "value",
14480
+ "type": {
14481
+ "text": "string"
14482
+ },
14483
+ "default": "'on'",
14484
+ "description": "The element value to use in form submission when checked.",
14485
+ "fieldName": "value"
14486
+ },
14487
+ {
14488
+ "name": "checked",
14489
+ "fieldName": "checked"
14490
+ }
14491
+ ],
14492
+ "superclass": {
14493
+ "name": "LitElement",
14494
+ "package": "lit"
14495
+ },
14496
+ "customElement": true
14497
+ }
14498
+ ],
14499
+ "exports": [
14500
+ {
14501
+ "kind": "js",
14502
+ "name": "UmSelectionControl",
14503
+ "declaration": {
14504
+ "name": "UmSelectionControl",
14505
+ "module": "src/shared/selection-control/selection-control.ts"
14506
+ }
14507
+ }
14508
+ ]
14509
+ },
14510
+ {
14511
+ "kind": "javascript-module",
14512
+ "path": "src/shared/text-field-base/text-field-base.styles.ts",
14513
+ "declarations": [
14514
+ {
14515
+ "kind": "variable",
14516
+ "name": "styles",
14517
+ "default": "css `\n .container {\n cursor: text;\n }\n`"
14518
+ }
14519
+ ],
14520
+ "exports": [
14521
+ {
14522
+ "kind": "js",
14523
+ "name": "styles",
14524
+ "declaration": {
14525
+ "name": "styles",
14526
+ "module": "src/shared/text-field-base/text-field-base.styles.ts"
14527
+ }
14528
+ }
14529
+ ]
14530
+ },
14531
+ {
14532
+ "kind": "javascript-module",
14533
+ "path": "src/shared/text-field-base/text-field-base.ts",
14534
+ "declarations": [
14535
+ {
14536
+ "kind": "class",
14537
+ "description": "",
14538
+ "name": "UmTextFieldBase",
14539
+ "members": [
14540
+ {
14541
+ "kind": "field",
14542
+ "name": "formAssociated",
14543
+ "type": {
14544
+ "text": "boolean"
14545
+ },
14546
+ "static": true,
14547
+ "default": "true"
14548
+ },
14549
+ {
14550
+ "kind": "field",
14551
+ "name": "shadowRootOptions",
14552
+ "type": {
14553
+ "text": "ShadowRootInit"
14554
+ },
14555
+ "static": true,
14556
+ "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }"
14557
+ },
14558
+ {
14559
+ "kind": "field",
14560
+ "name": "empty",
14561
+ "type": {
14562
+ "text": "boolean"
14563
+ },
14564
+ "default": "true",
14565
+ "attribute": "empty",
14566
+ "reflects": true,
14567
+ "inheritedFrom": {
14568
+ "name": "UmFieldBase",
14569
+ "module": "src/field/field-base.ts"
14570
+ }
14571
+ },
14572
+ {
14573
+ "kind": "field",
14574
+ "name": "placeholder",
14575
+ "type": {
14576
+ "text": "string | undefined"
14577
+ },
14578
+ "attribute": "placeholder",
14579
+ "reflects": true
14580
+ },
14581
+ {
14582
+ "kind": "field",
14583
+ "name": "form",
14584
+ "type": {
14585
+ "text": "HTMLFormElement | null"
14586
+ }
14587
+ },
14588
+ {
14589
+ "kind": "field",
14590
+ "name": "elementInternals",
14591
+ "type": {
14592
+ "text": "ElementInternals"
14593
+ },
14594
+ "privacy": "protected"
14595
+ },
14596
+ {
14597
+ "kind": "field",
14598
+ "name": "config",
14599
+ "type": {
14600
+ "text": "UmFieldDefaults | undefined"
14601
+ },
14602
+ "privacy": "private",
14603
+ "inheritedFrom": {
14604
+ "name": "UmFieldBase",
14605
+ "module": "src/field/field-base.ts"
14606
+ }
14607
+ },
14608
+ {
14609
+ "kind": "field",
14610
+ "name": "variant",
14611
+ "type": {
14612
+ "text": "'filled' | 'outlined' | undefined"
14613
+ },
14614
+ "default": "undefined",
14615
+ "attribute": "variant",
14616
+ "inheritedFrom": {
14617
+ "name": "UmFieldBase",
14618
+ "module": "src/field/field-base.ts"
14619
+ }
14620
+ },
14621
+ {
14622
+ "kind": "field",
14623
+ "name": "label",
14411
14624
  "type": {
14412
14625
  "text": "string | undefined"
14413
14626
  },
@@ -14631,7 +14844,7 @@
14631
14844
  "privacy": "protected",
14632
14845
  "return": {
14633
14846
  "type": {
14634
- "text": "HTMLTemplateResult"
14847
+ "text": "TemplateResult"
14635
14848
  }
14636
14849
  },
14637
14850
  "inheritedFrom": {
@@ -14645,7 +14858,7 @@
14645
14858
  "privacy": "protected",
14646
14859
  "return": {
14647
14860
  "type": {
14648
- "text": "HTMLTemplateResult"
14861
+ "text": "TemplateResult"
14649
14862
  }
14650
14863
  },
14651
14864
  "inheritedFrom": {
@@ -14862,263 +15075,6 @@
14862
15075
  }
14863
15076
  }
14864
15077
  ]
14865
- },
14866
- {
14867
- "kind": "javascript-module",
14868
- "path": "src/shared/selection-control/selection-control-list-item.ts",
14869
- "declarations": [
14870
- {
14871
- "kind": "mixin",
14872
- "description": "",
14873
- "name": "mixinSelectionControlListItem",
14874
- "members": [
14875
- {
14876
- "kind": "field",
14877
- "name": "styles",
14878
- "type": {
14879
- "text": "array"
14880
- },
14881
- "static": true,
14882
- "default": "[\n (base as unknown as typeof LitElement).styles ?? [],\n css`:host {\n --u-list-item-block-padding: 0;\n display: block;\n }`\n ]"
14883
- },
14884
- {
14885
- "kind": "method",
14886
- "name": "render",
14887
- "return": {
14888
- "type": {
14889
- "text": "HTMLTemplateResult"
14890
- }
14891
- }
14892
- }
14893
- ],
14894
- "parameters": [
14895
- {
14896
- "name": "base",
14897
- "type": {
14898
- "text": "T"
14899
- }
14900
- }
14901
- ]
14902
- }
14903
- ],
14904
- "exports": [
14905
- {
14906
- "kind": "js",
14907
- "name": "mixinSelectionControlListItem",
14908
- "declaration": {
14909
- "name": "mixinSelectionControlListItem",
14910
- "module": "src/shared/selection-control/selection-control-list-item.ts"
14911
- }
14912
- }
14913
- ]
14914
- },
14915
- {
14916
- "kind": "javascript-module",
14917
- "path": "src/shared/selection-control/selection-control.styles.ts",
14918
- "declarations": [
14919
- {
14920
- "kind": "variable",
14921
- "name": "styles",
14922
- "default": "css `\n :host {\n --_state-layer-padding: var(--u--state-layer-padding, 4px);\n --_input-size: calc(var(--_width) - var(--_state-layer-padding) * 2);\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-on-surface-variant, rgb(73, 69, 79)));\n display: inline-block;\n vertical-align: middle;\n }\n\n .container {\n cursor: pointer;\n position: relative;\n width: var(--_width);\n height: var(--_height);\n padding: var(--_state-layer-padding);\n border-radius: var(--u-shape-corner-full, 9999px);\n }\n\n :host([hide-state-layer]) .container {\n width: var(--_indicator-size);\n height: var(--_indicator-size);\n padding: 0;\n }\n :host([hide-state-layer]) u-ripple {\n display: none;\n }\n\n input {\n cursor: pointer;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n border-radius: inherit;\n appearance: none;\n }\n\n u-ripple {\n padding: var(--_state-layer-padding);\n }\n\n .indicator-container {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n inset: 0;\n pointer-events: none;\n }\n\n input:checked ~ .indicator-container {\n --_indicator-color: var(--u--indicator-unselected-color, var(--u-color-primary, rgb(103, 80, 164)));\n }\n\n :host([disabled]) {\n opacity: var(--u--disabled-state-opacity, 0.38);\n }\n :host([disabled]) input,\n :host([disabled]) .container {\n cursor: default;\n }\n :host([disabled]) .indicator-container {\n --_indicator-color: var(--u--indicator-disabled-color, var(--u-color-on-surface, rgb(29, 27, 32)));\n }\n`"
14923
- }
14924
- ],
14925
- "exports": [
14926
- {
14927
- "kind": "js",
14928
- "name": "styles",
14929
- "declaration": {
14930
- "name": "styles",
14931
- "module": "src/shared/selection-control/selection-control.styles.ts"
14932
- }
14933
- }
14934
- ]
14935
- },
14936
- {
14937
- "kind": "javascript-module",
14938
- "path": "src/shared/selection-control/selection-control.ts",
14939
- "declarations": [
14940
- {
14941
- "kind": "class",
14942
- "description": "",
14943
- "name": "UmSelectionControl",
14944
- "members": [
14945
- {
14946
- "kind": "field",
14947
- "name": "formAssociated",
14948
- "type": {
14949
- "text": "boolean"
14950
- },
14951
- "static": true,
14952
- "default": "true"
14953
- },
14954
- {
14955
- "kind": "field",
14956
- "name": "elementInternals",
14957
- "type": {
14958
- "text": "ElementInternals"
14959
- },
14960
- "privacy": "protected"
14961
- },
14962
- {
14963
- "kind": "field",
14964
- "name": "name",
14965
- "type": {
14966
- "text": "string | undefined"
14967
- },
14968
- "default": "''",
14969
- "attribute": "name"
14970
- },
14971
- {
14972
- "kind": "field",
14973
- "name": "disabled",
14974
- "type": {
14975
- "text": "boolean"
14976
- },
14977
- "default": "false",
14978
- "attribute": "disabled",
14979
- "reflects": true
14980
- },
14981
- {
14982
- "kind": "field",
14983
- "name": "input",
14984
- "type": {
14985
- "text": "HTMLInputElement"
14986
- }
14987
- },
14988
- {
14989
- "kind": "field",
14990
- "name": "form",
14991
- "type": {
14992
- "text": "HTMLFormElement | null"
14993
- }
14994
- },
14995
- {
14996
- "kind": "field",
14997
- "name": "#checked",
14998
- "privacy": "private",
14999
- "type": {
15000
- "text": "boolean"
15001
- },
15002
- "default": "false"
15003
- },
15004
- {
15005
- "kind": "field",
15006
- "name": "inputType",
15007
- "type": {
15008
- "text": "'checkbox' | 'radio'"
15009
- },
15010
- "privacy": "protected",
15011
- "default": "'checkbox'"
15012
- },
15013
- {
15014
- "kind": "field",
15015
- "name": "renderRipple",
15016
- "type": {
15017
- "text": "boolean"
15018
- },
15019
- "privacy": "protected",
15020
- "default": "true"
15021
- },
15022
- {
15023
- "kind": "method",
15024
- "name": "renderIndicator",
15025
- "privacy": "protected",
15026
- "return": {
15027
- "type": {
15028
- "text": "HTMLTemplateResult"
15029
- }
15030
- }
15031
- },
15032
- {
15033
- "kind": "field",
15034
- "name": "value",
15035
- "type": {
15036
- "text": "string"
15037
- },
15038
- "default": "'on'",
15039
- "description": "The element value to use in form submission when checked.",
15040
- "attribute": "value"
15041
- },
15042
- {
15043
- "kind": "field",
15044
- "name": "checked",
15045
- "attribute": "checked"
15046
- },
15047
- {
15048
- "kind": "method",
15049
- "name": "#handleClick",
15050
- "parameters": [
15051
- {
15052
- "name": "e",
15053
- "type": {
15054
- "text": "Event"
15055
- }
15056
- }
15057
- ]
15058
- }
15059
- ],
15060
- "events": [
15061
- {
15062
- "name": "input",
15063
- "type": {
15064
- "text": "InputEvent"
15065
- }
15066
- },
15067
- {
15068
- "name": "change",
15069
- "type": {
15070
- "text": "Event"
15071
- }
15072
- }
15073
- ],
15074
- "attributes": [
15075
- {
15076
- "name": "name",
15077
- "type": {
15078
- "text": "string | undefined"
15079
- },
15080
- "default": "''",
15081
- "fieldName": "name"
15082
- },
15083
- {
15084
- "name": "disabled",
15085
- "type": {
15086
- "text": "boolean"
15087
- },
15088
- "default": "false",
15089
- "fieldName": "disabled"
15090
- },
15091
- {
15092
- "name": "value",
15093
- "type": {
15094
- "text": "string"
15095
- },
15096
- "default": "'on'",
15097
- "description": "The element value to use in form submission when checked.",
15098
- "fieldName": "value"
15099
- },
15100
- {
15101
- "name": "checked",
15102
- "fieldName": "checked"
15103
- }
15104
- ],
15105
- "superclass": {
15106
- "name": "LitElement",
15107
- "package": "lit"
15108
- },
15109
- "customElement": true
15110
- }
15111
- ],
15112
- "exports": [
15113
- {
15114
- "kind": "js",
15115
- "name": "UmSelectionControl",
15116
- "declaration": {
15117
- "name": "UmSelectionControl",
15118
- "module": "src/shared/selection-control/selection-control.ts"
15119
- }
15120
- }
15121
- ]
15122
15078
  }
15123
15079
  ]
15124
15080
  }