@covalent/components 10.4.0-beta.2 → 11.0.0-beta.1
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/_commonjsHelpers-DGT2Y9Xa.js +1 -0
- package/{_commonjsHelpers-HP5nalso.mjs → _commonjsHelpers-MdHo5S7N.mjs} +1 -1
- package/action-ribbon/action-ribbon-base.d.ts +0 -1
- package/action-ribbon/action-ribbon.d.ts +0 -1
- package/action-ribbon.js +5 -5
- package/action-ribbon.mjs +33 -33
- package/alert/alert-base.d.ts +0 -1
- package/alert/alert.d.ts +0 -1
- package/alert.js +5 -5
- package/alert.mjs +48 -48
- package/app-shell/app-shell.d.ts +0 -1
- package/app-shell.js +1 -1
- package/app-shell.mjs +7 -7
- package/async-directive-JqUnzsgG.mjs +66 -0
- package/async-directive-X7VhNdG3.js +5 -0
- package/badge/badge.d.ts +0 -1
- package/badge.js +1 -1
- package/badge.mjs +4 -4
- package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
- package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
- package/button/button.d.ts +0 -1
- package/button.js +2 -2
- package/button.mjs +26 -26
- package/card/card-base.d.ts +0 -1
- package/card/card.d.ts +0 -1
- package/card.js +8 -8
- package/card.mjs +39 -39
- package/check-list-item.js +8 -8
- package/check-list-item.mjs +34 -34
- package/checkbox/checkbox.d.ts +0 -1
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/{chip-DmwMNZYy.js → chip-BjFvUMom.js} +44 -44
- package/{chip-tQfbvpbh.mjs → chip-Dc7_8pVI.mjs} +412 -408
- package/chip-set.js +5 -5
- package/chip-set.mjs +125 -125
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/chips/chip-base.d.ts +0 -1
- package/chips/chip-set-base.d.ts +0 -1
- package/chips/chip-set.d.ts +0 -1
- package/chips/chip.d.ts +0 -1
- package/circular-progress/circular-progress.d.ts +0 -1
- package/circular-progress.js +15 -15
- package/circular-progress.mjs +25 -25
- package/class-map-DPUylGZM.mjs +36 -0
- package/class-map-DTzB8z-1.js +5 -0
- package/code-editor/code-editor.d.ts +0 -1
- package/code-editor/code-editor.theme.d.ts +0 -1
- package/{code-editor-CryBkPGy.js → code-editor-Bu3qtyEg.js} +110 -110
- package/{code-editor-XU5DhFbC.mjs → code-editor-CPpojoPe.mjs} +5423 -5477
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet/code-snippet.d.ts +0 -1
- package/code-snippet.js +11 -11
- package/code-snippet.mjs +2611 -2641
- package/dialog/dialog.d.ts +0 -1
- package/{dialog-DMqDMT_N.js → dialog-BShWbhKq.js} +9 -9
- package/{dialog-BodJc4rc.mjs → dialog-CGLRIM8z.mjs} +186 -186
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/directive-C7oCP5Bh.js +5 -0
- package/directive-helpers-C-un5pST.js +5 -0
- package/directive-helpers-DS-VuBZD.mjs +11 -0
- package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer/drawer.d.ts +0 -1
- package/drawer.js +2 -2
- package/drawer.mjs +14 -14
- package/empty-state/empty-state.d.ts +0 -1
- package/empty-state.js +1 -1
- package/empty-state.mjs +6 -6
- package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
- package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
- package/expansion-panel/expansion-panel-item.d.ts +0 -1
- package/expansion-panel/expansion-panel.d.ts +0 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +3 -3
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +5 -5
- package/focused-page/focused-page.d.ts +0 -1
- package/focused-page.js +1 -1
- package/focused-page.mjs +7 -7
- package/form-element-BOhYShN_.mjs +50 -0
- package/form-element-BSAsNxWv.js +5 -0
- package/formfield/formfield.d.ts +0 -1
- package/formfield.js +7 -7
- package/formfield.mjs +45 -45
- package/{foundation-BYhAXCW_.mjs → foundation-CZtT3AWn.mjs} +15 -17
- package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
- package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
- package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
- package/full-screen-dialog/full-screen-dialog.d.ts +0 -1
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +10 -10
- package/{html-DW6Y8eLM.mjs → html-DC72jQvb.mjs} +1 -1
- package/{html-CEiNqoVv.js → html-wWghN8cA.js} +1 -1
- package/icon/_icon-list.d.ts +0 -1
- package/icon/icon-demo.d.ts +0 -1
- package/icon/icon.d.ts +0 -1
- package/icon-button/icon-button.d.ts +0 -1
- package/icon-button-toggle/icon-button-toggle.d.ts +0 -1
- package/icon-button-toggle.js +6 -6
- package/icon-button-toggle.mjs +32 -32
- package/icon-button.js +5 -5
- package/icon-button.mjs +36 -36
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -7
- package/icon-checkbox/icon-check-toggle.d.ts +0 -1
- package/icon-lockup/icon-lockup.d.ts +0 -1
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +4 -4
- package/icon-radio/icon-radio-toggle.d.ts +0 -1
- package/icon-radio-toggle.js +1 -1
- package/icon-radio-toggle.mjs +13 -13
- package/icon.js +1 -1
- package/icon.mjs +13 -13
- package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
- package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
- package/index.d.ts +0 -1
- package/index.js +7 -7
- package/index.mjs +121 -121
- package/inert.esm-CknhJysw.mjs +645 -0
- package/inert.esm-D2PJKL9E.js +28 -0
- package/{javascript-DzJ0FiwJ.mjs → javascript-C_a5TwhW.mjs} +1 -1
- package/{javascript-vVCDG6Rm.js → javascript-cY8cX08V.js} +1 -1
- package/linear-progress/linear-progress.d.ts +0 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +32 -32
- package/list/check-list-item.d.ts +0 -1
- package/list/list-item.d.ts +0 -1
- package/list/list.d.ts +0 -1
- package/list/nav-list-item.d.ts +0 -1
- package/list/radio-list-item.d.ts +0 -1
- package/{list-item-BIuZJQpK.mjs → list-item-CK66f3gK.mjs} +1 -1
- package/{list-item-V8RaZO6L.js → list-item-LcvIn8Xz.js} +1 -1
- package/list-item.js +7 -7
- package/list-item.mjs +21 -21
- package/list.js +3 -3
- package/list.mjs +16 -16
- package/menu/menu.d.ts +0 -1
- package/menu.js +3 -3
- package/menu.mjs +16 -16
- package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-BrjbMwch.mjs} +28 -28
- package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
- package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-C2YS_KZk.js} +3 -3
- package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-_d7xArWM.mjs} +11 -11
- package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
- package/{mwc-icon-DTCUplqR.mjs → mwc-icon-U80igLyY.mjs} +2 -2
- package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
- package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
- package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
- package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-at_ngzOj.mjs} +35 -34
- package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
- package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BtGzAhUF.mjs} +10 -10
- package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-BBbQixrF.mjs} +100 -100
- package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
- package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-BUjxqJjM.mjs} +303 -303
- package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
- package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
- package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-DPbyzNg_.mjs} +8 -8
- package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-CBNgYCJf.mjs} +277 -288
- package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
- package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
- package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DJHVL7wZ.mjs} +31 -31
- package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
- package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-N3OLLWe5.mjs} +21 -21
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +13 -13
- package/notebook-cell/notebook-cell.d.ts +0 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +23 -23
- package/package.json +3 -3
- package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
- package/{python-CddQNZH2.mjs → python-3XbrQbry.mjs} +1 -1
- package/{python-DnfGbG5q.js → python-C-jtMxm_.js} +1 -1
- package/query-CDOd1Kwm.mjs +15 -0
- package/query-Dv2F3m_t.js +5 -0
- package/query-assigned-elements-8EurZY45.js +31 -0
- package/query-assigned-elements-D930kELM.mjs +591 -0
- package/query-assigned-nodes-BAfLwxmx.js +5 -0
- package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
- package/radio/radio.d.ts +0 -1
- package/radio-list-item.js +9 -9
- package/radio-list-item.mjs +28 -28
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
- package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-_gEIkKpx.mjs} +71 -71
- package/select/select.d.ts +0 -1
- package/select.js +15 -15
- package/select.mjs +166 -167
- package/side-sheet/side-sheet.d.ts +0 -1
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider/slider-range.d.ts +0 -1
- package/slider/slider.d.ts +0 -1
- package/slider-range.js +5 -5
- package/slider-range.mjs +43 -43
- package/slider.js +2 -2
- package/slider.mjs +19 -19
- package/snackbar/snackbar.d.ts +0 -1
- package/snackbar.js +11 -11
- package/snackbar.mjs +54 -54
- package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
- package/status-dialog/status-dialog.d.ts +0 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +6 -6
- package/status-header/status-header-base.d.ts +0 -1
- package/status-header/status-header-item.d.ts +0 -1
- package/status-header/status-header.d.ts +0 -1
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +17 -17
- package/status-header.js +5 -5
- package/status-header.mjs +34 -34
- package/style-map-D2TR7M-D.mjs +42 -0
- package/style-map-DOMuf9Fg.js +5 -0
- package/switch/switch.d.ts +0 -1
- package/switch.js +5 -5
- package/switch.mjs +42 -42
- package/tab/tab-bar.d.ts +0 -1
- package/tab/tab.d.ts +0 -1
- package/tab-bar.js +11 -11
- package/tab-bar.mjs +98 -98
- package/tab.js +1 -1
- package/tab.mjs +13 -13
- package/text-lockup/text-lockup.d.ts +0 -1
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +9 -9
- package/textarea/textarea.d.ts +0 -1
- package/textarea.js +6 -6
- package/textarea.mjs +29 -29
- package/textfield/textfield.d.ts +0 -1
- package/{textfield-bHWjhOOq.js → textfield-Byf2gP_G.js} +31 -31
- package/{textfield-i_Whj47J.mjs → textfield-RbQ6Kwq7.mjs} +102 -102
- package/textfield.js +3 -3
- package/textfield.mjs +17 -17
- package/theme/prebuilt/dark-theme.css +1 -1
- package/theme/prebuilt/light-theme.css +1 -1
- package/toolbar/toolbar.d.ts +0 -1
- package/toolbar.js +1 -1
- package/toolbar.mjs +4 -4
- package/tooltip/tooltip.d.ts +0 -1
- package/tooltip.js +3 -3
- package/tooltip.mjs +54 -55
- package/top-app-bar/top-app-bar-fixed.d.ts +0 -1
- package/top-app-bar/top-app-bar.d.ts +0 -1
- package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BQ88Rom5.mjs} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +40 -40
- package/{top-app-bar-UVbXY1md.js → top-app-bar-lbNkmJbQ.js} +1 -1
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -18
- package/tree-list/tree-list-item.d.ts +0 -1
- package/tree-list/tree-list.d.ts +0 -1
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -4
- package/tree-list.js +4 -4
- package/tree-list.mjs +22 -22
- package/tslib.es6-CJ7TUrOc.mjs +75 -0
- package/{typescript-BRw9OFm1.js → typescript-CNfpftAV.js} +1 -1
- package/{typescript-CdlgcZ3y.mjs → typescript-Dj6mne2e.mjs} +1 -1
- package/typography/typography.d.ts +0 -1
- package/typography.js +1 -1
- package/typography.mjs +3 -3
- package/_commonjsHelpers-6jR-N8xe.js +0 -1
- package/action-ribbon/action-ribbon-base.d.ts.map +0 -1
- package/action-ribbon/action-ribbon.d.ts.map +0 -1
- package/alert/alert-base.d.ts.map +0 -1
- package/alert/alert.d.ts.map +0 -1
- package/app-shell/app-shell.d.ts.map +0 -1
- package/async-directive-2AOdKBUW.mjs +0 -66
- package/async-directive-DZ3MjSIj.js +0 -5
- package/badge/badge.d.ts.map +0 -1
- package/button/button.d.ts.map +0 -1
- package/card/card-base.d.ts.map +0 -1
- package/card/card.d.ts.map +0 -1
- package/checkbox/checkbox.d.ts.map +0 -1
- package/chips/chip-base.d.ts.map +0 -1
- package/chips/chip-set-base.d.ts.map +0 -1
- package/chips/chip-set.d.ts.map +0 -1
- package/chips/chip.d.ts.map +0 -1
- package/circular-progress/circular-progress.d.ts.map +0 -1
- package/class-map-BHl5MHd7.mjs +0 -36
- package/class-map-PsUYVqvf.js +0 -5
- package/code-editor/code-editor.d.ts.map +0 -1
- package/code-editor/code-editor.theme.d.ts.map +0 -1
- package/code-snippet/code-snippet.d.ts.map +0 -1
- package/dialog/dialog.d.ts.map +0 -1
- package/directive-C_VV3qwo.js +0 -5
- package/directive-helpers-6HCt_-zj.mjs +0 -11
- package/directive-helpers-BnUMbYHh.js +0 -5
- package/drawer/drawer.d.ts.map +0 -1
- package/empty-state/empty-state.d.ts.map +0 -1
- package/expansion-panel/expansion-panel-item.d.ts.map +0 -1
- package/expansion-panel/expansion-panel.d.ts.map +0 -1
- package/focused-page/focused-page.d.ts.map +0 -1
- package/form-element--PS8uSRI.js +0 -5
- package/form-element-Dn0Lerng.mjs +0 -50
- package/formfield/formfield.d.ts.map +0 -1
- package/full-screen-dialog/full-screen-dialog.d.ts.map +0 -1
- package/icon/_icon-list.d.ts.map +0 -1
- package/icon/icon-demo.d.ts.map +0 -1
- package/icon/icon.d.ts.map +0 -1
- package/icon-button/icon-button.d.ts.map +0 -1
- package/icon-button-toggle/icon-button-toggle.d.ts.map +0 -1
- package/icon-checkbox/icon-check-toggle.d.ts.map +0 -1
- package/icon-lockup/icon-lockup.d.ts.map +0 -1
- package/icon-radio/icon-radio-toggle.d.ts.map +0 -1
- package/index.d.ts.map +0 -1
- package/inert.esm-C8R-X3j4.mjs +0 -639
- package/inert.esm-t-228rpY.js +0 -28
- package/linear-progress/linear-progress.d.ts.map +0 -1
- package/list/check-list-item.d.ts.map +0 -1
- package/list/list-item.d.ts.map +0 -1
- package/list/list.d.ts.map +0 -1
- package/list/nav-list-item.d.ts.map +0 -1
- package/list/radio-list-item.d.ts.map +0 -1
- package/menu/menu.d.ts.map +0 -1
- package/notebook-cell/notebook-cell.d.ts.map +0 -1
- package/query-BvlE-gMJ.js +0 -5
- package/query-DSO61t36.mjs +0 -15
- package/query-assigned-elements-BQszEgac.js +0 -31
- package/query-assigned-elements-DhyCP_2z.mjs +0 -591
- package/query-assigned-nodes-9DFnkxV8.js +0 -5
- package/query-assigned-nodes-B-jCihdA.mjs +0 -17
- package/radio/radio.d.ts.map +0 -1
- package/select/select.d.ts.map +0 -1
- package/side-sheet/side-sheet.d.ts.map +0 -1
- package/slider/slider-range.d.ts.map +0 -1
- package/slider/slider.d.ts.map +0 -1
- package/snackbar/snackbar.d.ts.map +0 -1
- package/status-dialog/status-dialog.d.ts.map +0 -1
- package/status-header/status-header-base.d.ts.map +0 -1
- package/status-header/status-header-item.d.ts.map +0 -1
- package/status-header/status-header.d.ts.map +0 -1
- package/style-map-3QfsA_1O.js +0 -5
- package/style-map-QxIETvrs.mjs +0 -42
- package/switch/switch.d.ts.map +0 -1
- package/tab/tab-bar.d.ts.map +0 -1
- package/tab/tab.d.ts.map +0 -1
- package/text-lockup/text-lockup.d.ts.map +0 -1
- package/textarea/textarea.d.ts.map +0 -1
- package/textfield/textfield.d.ts.map +0 -1
- package/theme/prebuilt/dark-theme.css.map +0 -1
- package/theme/prebuilt/light-theme.css.map +0 -1
- package/toolbar/toolbar.d.ts.map +0 -1
- package/tooltip/tooltip.d.ts.map +0 -1
- package/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
- package/top-app-bar/top-app-bar.d.ts.map +0 -1
- package/tree-list/tree-list-item.d.ts.map +0 -1
- package/tree-list/tree-list.d.ts.map +0 -1
- package/tslib.es6-CISSdiiH.mjs +0 -75
- package/typography/typography.d.ts.map +0 -1
- /package/{style.css → covalent.css} +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
import { b as
|
2
|
-
import { e as k, x as P, i as H } from "./query-assigned-elements-
|
3
|
-
import { s as K, L as V } from "./mwc-list-item.css-
|
4
|
-
import { B as X } from "./base-element-
|
1
|
+
import { b as h } from "./tslib.es6-CJ7TUrOc.mjs";
|
2
|
+
import { e as k, x as P, i as H } from "./query-assigned-elements-D930kELM.mjs";
|
3
|
+
import { s as K, L as V } from "./mwc-list-item.css-BtGzAhUF.mjs";
|
4
|
+
import { B as X } from "./base-element-DUJkJh_y.mjs";
|
5
5
|
import { o as y } from "./observer-DQ8OfVDQ.mjs";
|
6
6
|
import { i as G, b as z, d as $ } from "./utils-Dr5MegQq.mjs";
|
7
7
|
import { n as A } from "./property-DJzm_oB9.mjs";
|
8
|
-
import { i as j } from "./query-
|
9
|
-
import { o as W } from "./query-assigned-nodes-
|
10
|
-
import { l as U } from "./if-defined-
|
8
|
+
import { i as j } from "./query-CDOd1Kwm.mjs";
|
9
|
+
import { o as W } from "./query-assigned-nodes-Dof2CSLU.mjs";
|
10
|
+
import { l as U } from "./if-defined-DGrxuPYz.mjs";
|
11
11
|
/**
|
12
12
|
* @license
|
13
13
|
* Copyright 2020 Google LLC
|
@@ -16,7 +16,7 @@ import { l as U } from "./if-defined-DN7whKwy.mjs";
|
|
16
16
|
let D = class extends V {
|
17
17
|
};
|
18
18
|
D.styles = [K];
|
19
|
-
D =
|
19
|
+
D = h([
|
20
20
|
k("mwc-list-item")
|
21
21
|
], D);
|
22
22
|
/**
|
@@ -129,7 +129,7 @@ l.add(d.ARROW_DOWN);
|
|
129
129
|
l.add(d.DELETE);
|
130
130
|
l.add(d.ESCAPE);
|
131
131
|
l.add(d.TAB);
|
132
|
-
var
|
132
|
+
var u = {
|
133
133
|
BACKSPACE: 8,
|
134
134
|
ENTER: 13,
|
135
135
|
SPACEBAR: 32,
|
@@ -145,20 +145,20 @@ var m = {
|
|
145
145
|
ESCAPE: 27,
|
146
146
|
TAB: 9
|
147
147
|
}, c = /* @__PURE__ */ new Map();
|
148
|
-
c.set(
|
149
|
-
c.set(
|
150
|
-
c.set(
|
151
|
-
c.set(
|
152
|
-
c.set(
|
153
|
-
c.set(
|
154
|
-
c.set(
|
155
|
-
c.set(
|
156
|
-
c.set(
|
157
|
-
c.set(
|
158
|
-
c.set(
|
159
|
-
c.set(
|
160
|
-
c.set(
|
161
|
-
c.set(
|
148
|
+
c.set(u.BACKSPACE, d.BACKSPACE);
|
149
|
+
c.set(u.ENTER, d.ENTER);
|
150
|
+
c.set(u.SPACEBAR, d.SPACEBAR);
|
151
|
+
c.set(u.PAGE_UP, d.PAGE_UP);
|
152
|
+
c.set(u.PAGE_DOWN, d.PAGE_DOWN);
|
153
|
+
c.set(u.END, d.END);
|
154
|
+
c.set(u.HOME, d.HOME);
|
155
|
+
c.set(u.ARROW_LEFT, d.ARROW_LEFT);
|
156
|
+
c.set(u.ARROW_UP, d.ARROW_UP);
|
157
|
+
c.set(u.ARROW_RIGHT, d.ARROW_RIGHT);
|
158
|
+
c.set(u.ARROW_DOWN, d.ARROW_DOWN);
|
159
|
+
c.set(u.DELETE, d.DELETE);
|
160
|
+
c.set(u.ESCAPE, d.ESCAPE);
|
161
|
+
c.set(u.TAB, d.TAB);
|
162
162
|
var g = /* @__PURE__ */ new Set();
|
163
163
|
g.add(d.PAGE_UP);
|
164
164
|
g.add(d.PAGE_DOWN);
|
@@ -207,7 +207,7 @@ var T, _, r = {
|
|
207
207
|
ROOT: "mdc-list"
|
208
208
|
};
|
209
209
|
T = {}, T["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-list-item--activated", T["" + r.LIST_ITEM_CLASS] = "mdc-list-item", T["" + r.LIST_ITEM_DISABLED_CLASS] = "mdc-list-item--disabled", T["" + r.LIST_ITEM_SELECTED_CLASS] = "mdc-list-item--selected", T["" + r.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-list-item__primary-text", T["" + r.ROOT] = "mdc-list";
|
210
|
-
var L = (_ = {}, _["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", _["" + r.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", _["" + r.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", _["" + r.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", _["" + r.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", _["" + r.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", _["" + r.ROOT] = "mdc-deprecated-list", _),
|
210
|
+
var L = (_ = {}, _["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item--activated", _["" + r.LIST_ITEM_CLASS] = "mdc-deprecated-list-item", _["" + r.LIST_ITEM_DISABLED_CLASS] = "mdc-deprecated-list-item--disabled", _["" + r.LIST_ITEM_SELECTED_CLASS] = "mdc-deprecated-list-item--selected", _["" + r.LIST_ITEM_TEXT_CLASS] = "mdc-deprecated-list-item__text", _["" + r.LIST_ITEM_PRIMARY_TEXT_CLASS] = "mdc-deprecated-list-item__primary-text", _["" + r.ROOT] = "mdc-deprecated-list", _), v = {
|
211
211
|
ACTION_EVENT: "MDCList:action",
|
212
212
|
SELECTION_CHANGE_EVENT: "MDCList:selectionChange",
|
213
213
|
ARIA_CHECKED: "aria-checked",
|
@@ -242,7 +242,7 @@ var L = (_ = {}, _["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item
|
|
242
242
|
`,
|
243
243
|
RADIO_SELECTOR: 'input[type="radio"]',
|
244
244
|
SELECTED_ITEM_SELECTOR: '[aria-selected="true"], [aria-current="true"]'
|
245
|
-
},
|
245
|
+
}, m = {
|
246
246
|
UNSET_INDEX: -1,
|
247
247
|
TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS: 300
|
248
248
|
};
|
@@ -252,10 +252,10 @@ var L = (_ = {}, _["" + r.LIST_ITEM_ACTIVATED_CLASS] = "mdc-deprecated-list-item
|
|
252
252
|
* SPDX-License-Identifier: Apache-2.0
|
253
253
|
*/
|
254
254
|
const N = (n, e) => n - e, q = (n, e) => {
|
255
|
-
const t = Array.from(n), i = Array.from(e), s = { added: [], removed: [] },
|
255
|
+
const t = Array.from(n), i = Array.from(e), s = { added: [], removed: [] }, o = t.sort(N), a = i.sort(N);
|
256
256
|
let E = 0, x = 0;
|
257
|
-
for (; E <
|
258
|
-
const p =
|
257
|
+
for (; E < o.length || x < a.length; ) {
|
258
|
+
const p = o[E], I = a[x];
|
259
259
|
if (p === I) {
|
260
260
|
E++, x++;
|
261
261
|
continue;
|
@@ -274,19 +274,19 @@ const N = (n, e) => n - e, q = (n, e) => {
|
|
274
274
|
function C(n) {
|
275
275
|
return n instanceof Set;
|
276
276
|
}
|
277
|
-
const
|
278
|
-
const e = n ===
|
277
|
+
const F = (n) => {
|
278
|
+
const e = n === m.UNSET_INDEX ? /* @__PURE__ */ new Set() : n;
|
279
279
|
return C(e) ? new Set(e) : /* @__PURE__ */ new Set([e]);
|
280
280
|
};
|
281
281
|
class w extends Y {
|
282
282
|
constructor(e) {
|
283
|
-
super(Object.assign(Object.assign({}, w.defaultAdapter), e)), this.isMulti_ = !1, this.wrapFocus_ = !1, this.isVertical_ = !0, this.selectedIndex_ =
|
283
|
+
super(Object.assign(Object.assign({}, w.defaultAdapter), e)), this.isMulti_ = !1, this.wrapFocus_ = !1, this.isVertical_ = !0, this.selectedIndex_ = m.UNSET_INDEX, this.focusedItemIndex_ = m.UNSET_INDEX, this.useActivatedClass_ = !1, this.ariaCurrentAttrValue_ = null;
|
284
284
|
}
|
285
285
|
static get strings() {
|
286
|
-
return
|
286
|
+
return v;
|
287
287
|
}
|
288
288
|
static get numbers() {
|
289
|
-
return
|
289
|
+
return m;
|
290
290
|
}
|
291
291
|
static get defaultAdapter() {
|
292
292
|
return {
|
@@ -329,7 +329,7 @@ class w extends Y {
|
|
329
329
|
const t = this.selectedIndex_;
|
330
330
|
if (e) {
|
331
331
|
if (!C(t)) {
|
332
|
-
const i = t ===
|
332
|
+
const i = t === m.UNSET_INDEX;
|
333
333
|
this.selectedIndex_ = i ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([t]);
|
334
334
|
}
|
335
335
|
} else if (C(t))
|
@@ -337,7 +337,7 @@ class w extends Y {
|
|
337
337
|
const i = Array.from(t).sort(N);
|
338
338
|
this.selectedIndex_ = i[0];
|
339
339
|
} else
|
340
|
-
this.selectedIndex_ =
|
340
|
+
this.selectedIndex_ = m.UNSET_INDEX;
|
341
341
|
}
|
342
342
|
/**
|
343
343
|
* Sets the isVertical_ private variable.
|
@@ -355,7 +355,7 @@ class w extends Y {
|
|
355
355
|
return this.selectedIndex_;
|
356
356
|
}
|
357
357
|
setSelectedIndex(e) {
|
358
|
-
this.isIndexValid_(e) && (this.isMulti_ ? this.setMultiSelectionAtIndex_(
|
358
|
+
this.isIndexValid_(e) && (this.isMulti_ ? this.setMultiSelectionAtIndex_(F(e)) : this.setSingleSelectionAtIndex_(e));
|
359
359
|
}
|
360
360
|
/**
|
361
361
|
* Focus in handler for the list items.
|
@@ -375,18 +375,18 @@ class w extends Y {
|
|
375
375
|
* Key handler for the list.
|
376
376
|
*/
|
377
377
|
handleKeydown(e, t, i) {
|
378
|
-
const s = S(e) === "ArrowLeft",
|
378
|
+
const s = S(e) === "ArrowLeft", o = S(e) === "ArrowUp", a = S(e) === "ArrowRight", E = S(e) === "ArrowDown", x = S(e) === "Home", p = S(e) === "End", I = S(e) === "Enter", B = S(e) === "Spacebar";
|
379
379
|
if (this.adapter.isRootFocused()) {
|
380
|
-
|
380
|
+
o || p ? (e.preventDefault(), this.focusLastElement()) : (E || x) && (e.preventDefault(), this.focusFirstElement());
|
381
381
|
return;
|
382
382
|
}
|
383
383
|
let b = this.adapter.getFocusedElementIndex();
|
384
384
|
if (b === -1 && (b = i, b < 0))
|
385
385
|
return;
|
386
386
|
let R;
|
387
|
-
if (this.isVertical_ && E || !this.isVertical_ &&
|
387
|
+
if (this.isVertical_ && E || !this.isVertical_ && a)
|
388
388
|
this.preventDefaultEvent(e), R = this.focusNextElement(b);
|
389
|
-
else if (this.isVertical_ &&
|
389
|
+
else if (this.isVertical_ && o || !this.isVertical_ && s)
|
390
390
|
this.preventDefaultEvent(e), R = this.focusPrevElement(b);
|
391
391
|
else if (x)
|
392
392
|
this.preventDefaultEvent(e), R = this.focusFirstElement();
|
@@ -404,7 +404,7 @@ class w extends Y {
|
|
404
404
|
* Click handler for the list.
|
405
405
|
*/
|
406
406
|
handleSingleSelection(e, t, i) {
|
407
|
-
e !==
|
407
|
+
e !== m.UNSET_INDEX && (this.setSelectedIndexOnAction_(e, t, i), this.setTabindexAtIndex_(e), this.focusedItemIndex_ = e);
|
408
408
|
}
|
409
409
|
/**
|
410
410
|
* Focuses the next element on the list.
|
@@ -454,15 +454,15 @@ class w extends Y {
|
|
454
454
|
Z.indexOf(i) === -1 && e.preventDefault();
|
455
455
|
}
|
456
456
|
setSingleSelectionAtIndex_(e, t = !0) {
|
457
|
-
this.selectedIndex_ !== e && (this.selectedIndex_ !==
|
457
|
+
this.selectedIndex_ !== e && (this.selectedIndex_ !== m.UNSET_INDEX && (this.adapter.setSelectedStateForElementIndex(this.selectedIndex_, !1), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(this.selectedIndex_, !1)), t && this.adapter.setSelectedStateForElementIndex(e, !0), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(e, !0), this.setAriaForSingleSelectionAtIndex_(e), this.selectedIndex_ = e, this.adapter.notifySelected(e));
|
458
458
|
}
|
459
459
|
setMultiSelectionAtIndex_(e, t = !0) {
|
460
|
-
const i =
|
460
|
+
const i = F(this.selectedIndex_), s = q(i, e);
|
461
461
|
if (!(!s.removed.length && !s.added.length)) {
|
462
|
-
for (const
|
463
|
-
t && this.adapter.setSelectedStateForElementIndex(
|
464
|
-
for (const
|
465
|
-
t && this.adapter.setSelectedStateForElementIndex(
|
462
|
+
for (const o of s.removed)
|
463
|
+
t && this.adapter.setSelectedStateForElementIndex(o, !1), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(o, !1);
|
464
|
+
for (const o of s.added)
|
465
|
+
t && this.adapter.setSelectedStateForElementIndex(o, !0), this.useActivatedClass_ && this.adapter.setActivatedStateForElementIndex(o, !0);
|
466
466
|
this.selectedIndex_ = e, this.adapter.notifySelected(e, s);
|
467
467
|
}
|
468
468
|
}
|
@@ -470,18 +470,18 @@ class w extends Y {
|
|
470
470
|
* Sets aria attribute for single selection at given index.
|
471
471
|
*/
|
472
472
|
setAriaForSingleSelectionAtIndex_(e) {
|
473
|
-
this.selectedIndex_ ===
|
474
|
-
const t = this.ariaCurrentAttrValue_ !== null, i = t ?
|
475
|
-
this.selectedIndex_ !==
|
473
|
+
this.selectedIndex_ === m.UNSET_INDEX && (this.ariaCurrentAttrValue_ = this.adapter.getAttributeForElementIndex(e, v.ARIA_CURRENT));
|
474
|
+
const t = this.ariaCurrentAttrValue_ !== null, i = t ? v.ARIA_CURRENT : v.ARIA_SELECTED;
|
475
|
+
this.selectedIndex_ !== m.UNSET_INDEX && this.adapter.setAttributeForElementIndex(this.selectedIndex_, i, "false");
|
476
476
|
const s = t ? this.ariaCurrentAttrValue_ : "true";
|
477
477
|
this.adapter.setAttributeForElementIndex(e, i, s);
|
478
478
|
}
|
479
479
|
setTabindexAtIndex_(e) {
|
480
|
-
this.focusedItemIndex_ ===
|
480
|
+
this.focusedItemIndex_ === m.UNSET_INDEX && e !== 0 ? this.adapter.setTabIndexForElementIndex(0, -1) : this.focusedItemIndex_ >= 0 && this.focusedItemIndex_ !== e && this.adapter.setTabIndexForElementIndex(this.focusedItemIndex_, -1), this.adapter.setTabIndexForElementIndex(e, 0);
|
481
481
|
}
|
482
482
|
setTabindexToFirstSelectedItem_() {
|
483
483
|
let e = 0;
|
484
|
-
typeof this.selectedIndex_ == "number" && this.selectedIndex_ !==
|
484
|
+
typeof this.selectedIndex_ == "number" && this.selectedIndex_ !== m.UNSET_INDEX ? e = this.selectedIndex_ : C(this.selectedIndex_) && this.selectedIndex_.size > 0 && (e = Math.min(...this.selectedIndex_)), this.setTabindexAtIndex_(e);
|
485
485
|
}
|
486
486
|
isIndexValid_(e) {
|
487
487
|
if (e instanceof Set) {
|
@@ -499,7 +499,7 @@ class w extends Y {
|
|
499
499
|
} else if (typeof e == "number") {
|
500
500
|
if (this.isMulti_)
|
501
501
|
throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: " + e);
|
502
|
-
return e ===
|
502
|
+
return e === m.UNSET_INDEX || this.isIndexInRange_(e);
|
503
503
|
} else
|
504
504
|
return !1;
|
505
505
|
}
|
@@ -516,13 +516,13 @@ class w extends Y {
|
|
516
516
|
if (this.adapter.getDisabledStateForElementIndex(e))
|
517
517
|
return;
|
518
518
|
let s = e;
|
519
|
-
this.isMulti_ && (s = /* @__PURE__ */ new Set([e])), this.isIndexValid_(s) && (this.isMulti_ ? this.toggleMultiAtIndex(e, i, t) : t || i ? this.setSingleSelectionAtIndex_(e, t) : this.selectedIndex_ === e && this.setSingleSelectionAtIndex_(
|
519
|
+
this.isMulti_ && (s = /* @__PURE__ */ new Set([e])), this.isIndexValid_(s) && (this.isMulti_ ? this.toggleMultiAtIndex(e, i, t) : t || i ? this.setSingleSelectionAtIndex_(e, t) : this.selectedIndex_ === e && this.setSingleSelectionAtIndex_(m.UNSET_INDEX), t && this.adapter.notifyAction(e));
|
520
520
|
}
|
521
521
|
toggleMultiAtIndex(e, t, i = !0) {
|
522
522
|
let s = !1;
|
523
523
|
t === void 0 ? s = !this.adapter.getSelectedStateForElementIndex(e) : s = t;
|
524
|
-
const
|
525
|
-
s ?
|
524
|
+
const o = F(this.selectedIndex_);
|
525
|
+
s ? o.add(e) : o.delete(e), this.setMultiSelectionAtIndex_(o, i);
|
526
526
|
}
|
527
527
|
}
|
528
528
|
/**
|
@@ -538,12 +538,12 @@ function J(n, e = 50) {
|
|
538
538
|
}, e);
|
539
539
|
};
|
540
540
|
}
|
541
|
-
const
|
541
|
+
const O = (n) => n.hasAttribute("mwc-list-item");
|
542
542
|
function Q() {
|
543
543
|
const n = this.itemsReadyResolver;
|
544
544
|
this.itemsReady = new Promise((e) => this.itemsReadyResolver = e), n();
|
545
545
|
}
|
546
|
-
class
|
546
|
+
class f extends X {
|
547
547
|
constructor() {
|
548
548
|
super(), this.mdcAdapter = null, this.mdcFoundationClass = w, this.activatable = !1, this.multi = !1, this.wrapFocus = !1, this.itemRoles = null, this.innerRole = null, this.innerAriaLabel = null, this.rootTabbable = !1, this.previousTabindex = null, this.noninteractive = !1, this.itemsReadyResolver = () => {
|
549
549
|
}, this.itemsReady = Promise.resolve([]), this.items_ = [];
|
@@ -563,20 +563,20 @@ class h extends X {
|
|
563
563
|
updateItems() {
|
564
564
|
var e;
|
565
565
|
const t = (e = this.assignedElements) !== null && e !== void 0 ? e : [], i = [];
|
566
|
-
for (const
|
567
|
-
|
566
|
+
for (const a of t)
|
567
|
+
O(a) && (i.push(a), a._managingList = this), a.hasAttribute("divider") && !a.hasAttribute("role") && a.setAttribute("role", "separator");
|
568
568
|
this.items_ = i;
|
569
569
|
const s = /* @__PURE__ */ new Set();
|
570
|
-
if (this.items_.forEach((
|
571
|
-
this.itemRoles ?
|
570
|
+
if (this.items_.forEach((a, E) => {
|
571
|
+
this.itemRoles ? a.setAttribute("role", this.itemRoles) : a.removeAttribute("role"), a.selected && s.add(E);
|
572
572
|
}), this.multi)
|
573
573
|
this.select(s);
|
574
574
|
else {
|
575
|
-
const
|
576
|
-
this.select(
|
575
|
+
const a = s.size ? s.entries().next().value[1] : -1;
|
576
|
+
this.select(a);
|
577
577
|
}
|
578
|
-
const
|
579
|
-
this.dispatchEvent(
|
578
|
+
const o = new Event("items-updated", { bubbles: !0, composed: !0 });
|
579
|
+
this.dispatchEvent(o);
|
580
580
|
}
|
581
581
|
get selected() {
|
582
582
|
const e = this.index;
|
@@ -633,7 +633,7 @@ class h extends X {
|
|
633
633
|
}
|
634
634
|
onKeydown(e) {
|
635
635
|
if (this.mdcFoundation && this.mdcRoot) {
|
636
|
-
const t = this.getIndexOfTarget(e), i = e.target, s =
|
636
|
+
const t = this.getIndexOfTarget(e), i = e.target, s = O(i);
|
637
637
|
this.mdcFoundation.handleKeydown(e, s, t);
|
638
638
|
}
|
639
639
|
}
|
@@ -642,16 +642,16 @@ class h extends X {
|
|
642
642
|
let t = this.getIndexOfTarget(e);
|
643
643
|
if (t === -1 && (this.layout(), t = this.getIndexOfTarget(e), t === -1) || this.items[t].disabled)
|
644
644
|
return;
|
645
|
-
const s = e.detail.selected,
|
646
|
-
this.mdcFoundation.handleSingleSelection(t,
|
645
|
+
const s = e.detail.selected, o = e.detail.source;
|
646
|
+
this.mdcFoundation.handleSingleSelection(t, o === "interaction", s), e.stopPropagation();
|
647
647
|
}
|
648
648
|
}
|
649
649
|
getIndexOfTarget(e) {
|
650
650
|
const t = this.items, i = e.composedPath();
|
651
651
|
for (const s of i) {
|
652
|
-
let
|
653
|
-
if (G(s) &&
|
654
|
-
return
|
652
|
+
let o = -1;
|
653
|
+
if (G(s) && O(s) && (o = t.indexOf(s)), o !== -1)
|
654
|
+
return o;
|
655
655
|
}
|
656
656
|
return -1;
|
657
657
|
}
|
@@ -751,7 +751,7 @@ class h extends X {
|
|
751
751
|
return -1;
|
752
752
|
for (let t = e.length - 1; t >= 0; t--) {
|
753
753
|
const i = e[t];
|
754
|
-
if (
|
754
|
+
if (O(i))
|
755
755
|
return this.items.indexOf(i);
|
756
756
|
}
|
757
757
|
return -1;
|
@@ -773,52 +773,52 @@ class h extends X {
|
|
773
773
|
e && e.blur();
|
774
774
|
}
|
775
775
|
}
|
776
|
-
|
776
|
+
h([
|
777
777
|
A({ type: String })
|
778
|
-
],
|
779
|
-
|
778
|
+
], f.prototype, "emptyMessage", void 0);
|
779
|
+
h([
|
780
780
|
j(".mdc-deprecated-list")
|
781
|
-
],
|
782
|
-
|
781
|
+
], f.prototype, "mdcRoot", void 0);
|
782
|
+
h([
|
783
783
|
W("", !0, "*")
|
784
|
-
],
|
785
|
-
|
784
|
+
], f.prototype, "assignedElements", void 0);
|
785
|
+
h([
|
786
786
|
W("", !0, '[tabindex="0"]')
|
787
|
-
],
|
788
|
-
|
787
|
+
], f.prototype, "tabbableElements", void 0);
|
788
|
+
h([
|
789
789
|
A({ type: Boolean }),
|
790
790
|
y(function(n) {
|
791
791
|
this.mdcFoundation && this.mdcFoundation.setUseActivatedClass(n);
|
792
792
|
})
|
793
|
-
],
|
794
|
-
|
793
|
+
], f.prototype, "activatable", void 0);
|
794
|
+
h([
|
795
795
|
A({ type: Boolean }),
|
796
796
|
y(function(n, e) {
|
797
797
|
this.mdcFoundation && this.mdcFoundation.setMulti(n), e !== void 0 && this.layout();
|
798
798
|
})
|
799
|
-
],
|
800
|
-
|
799
|
+
], f.prototype, "multi", void 0);
|
800
|
+
h([
|
801
801
|
A({ type: Boolean }),
|
802
802
|
y(function(n) {
|
803
803
|
this.mdcFoundation && this.mdcFoundation.setWrapFocus(n);
|
804
804
|
})
|
805
|
-
],
|
806
|
-
|
805
|
+
], f.prototype, "wrapFocus", void 0);
|
806
|
+
h([
|
807
807
|
A({ type: String }),
|
808
808
|
y(function(n, e) {
|
809
809
|
e !== void 0 && this.updateItems();
|
810
810
|
})
|
811
|
-
],
|
812
|
-
|
811
|
+
], f.prototype, "itemRoles", void 0);
|
812
|
+
h([
|
813
813
|
A({ type: String })
|
814
|
-
],
|
815
|
-
|
814
|
+
], f.prototype, "innerRole", void 0);
|
815
|
+
h([
|
816
816
|
A({ type: String })
|
817
|
-
],
|
818
|
-
|
817
|
+
], f.prototype, "innerAriaLabel", void 0);
|
818
|
+
h([
|
819
819
|
A({ type: Boolean })
|
820
|
-
],
|
821
|
-
|
820
|
+
], f.prototype, "rootTabbable", void 0);
|
821
|
+
h([
|
822
822
|
A({ type: Boolean, reflect: !0 }),
|
823
823
|
y(function(n) {
|
824
824
|
var e, t;
|
@@ -827,14 +827,14 @@ f([
|
|
827
827
|
this.previousTabindex = i, i && i.setAttribute("tabindex", "-1");
|
828
828
|
} else !n && this.previousTabindex && (this.previousTabindex.setAttribute("tabindex", "0"), this.previousTabindex = null);
|
829
829
|
})
|
830
|
-
],
|
830
|
+
], f.prototype, "noninteractive", void 0);
|
831
831
|
/**
|
832
832
|
* @license
|
833
833
|
* Copyright 2021 Google LLC
|
834
834
|
* SPDX-LIcense-Identifier: Apache-2.0
|
835
835
|
*/
|
836
|
-
const
|
836
|
+
const me = H`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;
|
837
837
|
export {
|
838
|
-
|
839
|
-
|
838
|
+
f as L,
|
839
|
+
me as s
|
840
840
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const h=require("./tslib.es6-CHeFCc6E.js"),F=require("./query-assigned-elements-
|
1
|
+
"use strict";const h=require("./tslib.es6-CHeFCc6E.js"),F=require("./query-assigned-elements-8EurZY45.js"),B=require("./mwc-list-item.css-Bib8TVz5.js"),K=require("./base-element-DP9GZic2.js"),C=require("./observer-N9cgkDqh.js"),D=require("./utils-wMBJ9n_n.js"),A=require("./property-DYTC_2-m.js"),V=require("./query-Dv2F3m_t.js"),k=require("./query-assigned-nodes-BAfLwxmx.js"),W=require("./if-defined-CZCqOAYs.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|