@covalent/components 8.23.2 → 9.0.0-beta.2
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-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
- package/action-ribbon.js +5 -6
- package/action-ribbon.mjs +47 -51
- package/alert.js +5 -6
- package/alert.mjs +48 -52
- package/app-shell.js +1 -2
- package/app-shell.mjs +13 -30
- package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
- package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
- package/badge.js +1 -2
- package/badge.mjs +10 -12
- package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
- package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
- package/button.js +2 -3
- package/button.mjs +18 -23
- package/card.js +8 -9
- package/card.mjs +36 -38
- package/check-list-item.js +11 -15
- package/check-list-item.mjs +53 -70
- package/checkbox.js +1 -2
- package/checkbox.mjs +15 -31
- package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
- package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
- package/chip-set.js +5 -6
- package/chip-set.mjs +73 -83
- package/chip.js +1 -1
- package/chip.mjs +4 -13
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +9 -10
- package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
- package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
- package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
- package/code-editor-hT6MTCL6.js +660 -0
- package/code-editor.js +1 -1
- package/code-editor.mjs +3 -6
- package/code-snippet.js +5 -6
- package/code-snippet.mjs +235 -284
- package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
- package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
- package/dialog.js +1 -1
- package/dialog.mjs +4 -13
- package/directive-C7oCP5Bh.js +5 -0
- package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
- package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
- package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -3
- package/drawer.mjs +7 -17
- package/empty-state.js +2 -3
- package/empty-state.mjs +12 -15
- package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
- package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
- package/expansion-panel-item.js +1 -2
- package/expansion-panel-item.mjs +6 -9
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +2 -2
- package/focused-page.js +1 -2
- package/focused-page.mjs +13 -16
- package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
- package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
- package/formfield.js +6 -7
- package/formfield.mjs +19 -23
- package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
- package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
- package/full-screen-dialog.js +4 -5
- package/full-screen-dialog.mjs +13 -22
- package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
- package/html-BMgGKfr0.js +6 -0
- package/icon-button-toggle.js +11 -16
- package/icon-button-toggle.mjs +68 -78
- package/icon-button.js +6 -11
- package/icon-button.mjs +56 -66
- package/icon-check-toggle.js +6 -7
- package/icon-check-toggle.mjs +10 -23
- package/icon-radio-toggle.js +4 -5
- package/icon-radio-toggle.mjs +13 -29
- package/icon.js +1 -5
- package/icon.mjs +13 -20
- package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
- package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +110 -150
- package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
- package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
- package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
- package/linear-progress.js +2 -3
- package/linear-progress.mjs +12 -14
- package/list-item-BZVW1fmJ.js +5 -0
- package/list-item-DCzzLVZh.mjs +11 -0
- package/list-item.js +5 -5
- package/list-item.mjs +21 -32
- package/list.js +3 -8
- package/list.mjs +18 -38
- package/menu.js +3 -8
- package/menu.mjs +18 -39
- package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
- package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
- package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
- package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
- package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
- package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
- package/mwc-icon-button.css-BtgKBOl3.js +5 -0
- package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
- package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
- package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
- package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
- package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
- package/mwc-list.css-CaMJWsDp.js +111 -0
- package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
- package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
- package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
- package/mwc-radio.css-CVMtIq-L.js +105 -0
- package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
- package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
- package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
- package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
- package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
- package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
- package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
- package/nav-list-item.js +4 -5
- package/nav-list-item.mjs +12 -23
- package/notebook-cell.js +8 -9
- package/notebook-cell.mjs +14 -29
- package/package.json +1 -1
- package/python-B8sEpp0H.js +6 -0
- package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
- package/query-BBDQWsft.mjs +15 -0
- package/query-BxDs8ftQ.js +5 -0
- package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
- package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
- package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
- package/radio-list-item.js +9 -13
- package/radio-list-item.mjs +50 -66
- package/radio.js +1 -2
- package/radio.mjs +15 -32
- package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
- package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
- package/select.js +15 -20
- package/select.mjs +196 -213
- package/side-sheet.js +1 -2
- package/side-sheet.mjs +18 -27
- package/slider-range.js +1 -1
- package/slider-range.mjs +15 -19
- package/slider.js +1 -1
- package/slider.mjs +18 -26
- package/snackbar.js +9 -10
- package/snackbar.mjs +30 -33
- package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
- package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
- package/status-dialog/status-dialog.d.ts.map +1 -1
- package/status-dialog.js +15 -37
- package/status-dialog.mjs +47 -116
- package/status-header-item.js +1 -2
- package/status-header-item.mjs +7 -8
- package/status-header.js +4 -5
- package/status-header.mjs +22 -24
- package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
- package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
- package/style.css +1 -1
- package/switch.js +6 -7
- package/switch.mjs +20 -29
- package/tab-bar.js +18 -22
- package/tab-bar.mjs +192 -205
- package/tab.js +1 -6
- package/tab.mjs +13 -31
- package/text-lockup.js +1 -2
- package/text-lockup.mjs +14 -16
- package/textarea.js +15 -19
- package/textarea.mjs +53 -68
- package/textfield-BwmiygD8.js +136 -0
- package/textfield-C6sUZIeA.mjs +927 -0
- package/textfield.js +3 -7
- package/textfield.mjs +17 -37
- package/toolbar.js +1 -2
- package/toolbar.mjs +6 -13
- package/tooltip.js +3 -4
- package/tooltip.mjs +29 -40
- package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
- package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
- package/top-app-bar-fixed.js +6 -6
- package/top-app-bar-fixed.mjs +24 -32
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -25
- package/tree-list-item.js +1 -2
- package/tree-list-item.mjs +9 -13
- package/tree-list.js +1 -2
- package/tree-list.mjs +6 -7
- package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
- package/typescript-CqVUCaiQ.js +6 -0
- package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
- package/typography.js +1 -2
- package/typography.mjs +7 -8
- package/code-editor-b36fad77.js +0 -662
- package/directive-1186bc23.js +0 -5
- package/html-b2900c6a.js +0 -6
- package/mwc-checkbox-base-02b4eb91.mjs +0 -198
- package/mwc-checkbox-base-935d9566.js +0 -41
- package/mwc-list-base-22616d0a.js +0 -111
- package/mwc-list-item-base-06d93e6e.js +0 -28
- package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
- package/mwc-radio-base-147cf999.js +0 -101
- package/mwc-radio.css-4e140252.js +0 -5
- package/mwc-radio.css-7454bb11.mjs +0 -10
- package/python-6a1f2ad7.js +0 -6
- package/query-680f1868.js +0 -5
- package/query-d843aa92.mjs +0 -25
- package/textfield-83e78e56.js +0 -133
- package/textfield-853ebae5.mjs +0 -933
- package/typescript-98fbdb3d.js +0 -6
- /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
- /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
- /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
- /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
- /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
- /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
- /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
- /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
- /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
- /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
- /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
- /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
- /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
- /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
- /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
- /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
- /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
- /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
- /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
- /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
- /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
- /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
- /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
- /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
package/empty-state.mjs
CHANGED
@@ -1,16 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { n as h } from "./property-
|
1
|
+
import { s as p, x as o, i as g, r as f, e as l } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { n as h } from "./property-DJzm_oB9.mjs";
|
3
3
|
import "./icon.mjs";
|
4
|
-
import "./mwc-icon-5227aec3.mjs";
|
5
|
-
|
6
|
-
const c = `.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:6rem;font-size:var(--mdc-typography-headline1-font-size, 6rem);line-height:6rem;line-height:var(--mdc-typography-headline1-line-height, 6rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3.75rem;font-size:var(--mdc-typography-headline2-font-size, 3.75rem);line-height:3.75rem;line-height:var(--mdc-typography-headline2-line-height, 3.75rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3rem;font-size:var(--mdc-typography-headline3-font-size, 3rem);line-height:3.125rem;line-height:var(--mdc-typography-headline3-line-height, 3.125rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:2.125rem;font-size:var(--mdc-typography-headline4-font-size, 2.125rem);line-height:2.5rem;line-height:var(--mdc-typography-headline4-line-height, 2.5rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, .0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, .0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-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:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .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)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-button-font-size, .875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-overline-font-size, .75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, .1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)}:host{height:100%;display:flex;align-items:center;align-self:center}.content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:360px;margin:auto}.icon-background{display:flex;justify-content:center;align-items:center;width:96px;height:96px;border-radius:50%;background-color:color-mix(in srgb,var(--mdc-theme-on-surface) 4%,transparent);margin-left:auto;margin-right:auto}.covalent-icon{font-size:40px;color:var(--mdc-theme-text-secondary-on-background)}.mdc-typography--headline6{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height);color:var(--mdc-theme-text-secondary-on-background);margin:16px 0 8px}.mdc-typography--body2{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height);color:var(--mdc-theme-text-secondary-on-background);margin:0}.buttonContainer{display:flex;gap:0 20px;margin-top:16px}h6{margin:16px}
|
7
|
-
|
8
|
-
|
9
|
-
for (var e = n > 1 ? void 0 : n ? v(r, m) : r, y = a.length - 1, p; y >= 0; y--)
|
10
|
-
(p = a[y]) && (e = (n ? p(r, m, e) : p(e)) || e);
|
11
|
-
return n && e && d(r, m, e), e;
|
4
|
+
const c = ".mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-font-family, Roboto, sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:6rem;font-size:var(--mdc-typography-headline1-font-size, 6rem);line-height:6rem;line-height:var(--mdc-typography-headline1-line-height, 6rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight, 300);letter-spacing:-.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing, -.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform, inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3.75rem;font-size:var(--mdc-typography-headline2-font-size, 3.75rem);line-height:3.75rem;line-height:var(--mdc-typography-headline2-line-height, 3.75rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight, 300);letter-spacing:-.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing, -.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform, inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline3-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:3rem;font-size:var(--mdc-typography-headline3-font-size, 3rem);line-height:3.125rem;line-height:var(--mdc-typography-headline3-line-height, 3.125rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform, inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline4-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:2.125rem;font-size:var(--mdc-typography-headline4-font-size, 2.125rem);line-height:2.5rem;line-height:var(--mdc-typography-headline4-line-height, 2.5rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight, 400);letter-spacing:.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing, .0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform, inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size, 1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height, 2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight, 400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing, normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform, inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, .0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit)}.mdc-typography--subtitle1{-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:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .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)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, .03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-button-font-size, .875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform, uppercase)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-overline-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-overline-font-size, .75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight, 500);letter-spacing:.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing, .1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration, none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform, uppercase)}:host{height:100%;display:flex;align-items:center;align-self:center}.content{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:360px;margin:auto}.icon-background{display:flex;justify-content:center;align-items:center;width:96px;height:96px;border-radius:50%;background-color:color-mix(in srgb,var(--mdc-theme-on-surface) 4%,transparent);margin-left:auto;margin-right:auto}.covalent-icon{font-size:40px;color:var(--mdc-theme-text-secondary-on-background)}.mdc-typography--headline6{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height);color:var(--mdc-theme-text-secondary-on-background);margin:16px 0 8px}.mdc-typography--body2{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height);color:var(--mdc-theme-text-secondary-on-background);margin:0}.buttonContainer{display:flex;gap:0 20px;margin-top:16px}h6{margin:16px}";
|
5
|
+
var d = Object.defineProperty, v = Object.getOwnPropertyDescriptor, i = (a, r, y, n) => {
|
6
|
+
for (var e = n > 1 ? void 0 : n ? v(r, y) : r, m = a.length - 1, s; m >= 0; m--)
|
7
|
+
(s = a[m]) && (e = (n ? s(r, y, e) : s(e)) || e);
|
8
|
+
return n && e && d(r, y, e), e;
|
12
9
|
};
|
13
|
-
let t = class extends
|
10
|
+
let t = class extends p {
|
14
11
|
constructor() {
|
15
12
|
super(...arguments), this.headline = "", this.subtitle = "", this.icon = "", this.card = !1;
|
16
13
|
}
|
@@ -42,8 +39,8 @@ let t = class extends f {
|
|
42
39
|
}
|
43
40
|
};
|
44
41
|
t.styles = [
|
45
|
-
|
46
|
-
${
|
42
|
+
g`
|
43
|
+
${f(c)}
|
47
44
|
`
|
48
45
|
];
|
49
46
|
i([
|
@@ -61,8 +58,8 @@ i([
|
|
61
58
|
t = i([
|
62
59
|
l("cv-empty-state")
|
63
60
|
], t);
|
64
|
-
const
|
61
|
+
const u = t;
|
65
62
|
export {
|
66
63
|
t as CovalentEmptyState,
|
67
|
-
|
64
|
+
u as default
|
68
65
|
};
|
package/expansion-panel-item.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./query-assigned-elements-
|
2
|
-
`;var h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,e=(l,t,r,i)=>{for(var o=i>1?void 0:i?c(t,r):t,s=l.length-1,p;s>=0;s--)(p=l[s])&&(o=(i?p(t,r,o):p(o))||o);return i&&o&&h(t,r,o),o};exports.CovalentExpansionPanelItem=class extends a.s{constructor(){super(...arguments),this.index=0,this.open=!1,this.isTopPanel=!1,this.isInnerPanel=!1,this.isBottomPanel=!1,this.isSinglePanel=!1,this.belowOpenInnerPanel=!1,this.aboveOpenInnerPanel=!1,this.separateSinglePanel=!1,this.title="Title",this.contentPreview="",this.showFooter=!1,this.noSurface=!1}render(){return a.x`
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./query-assigned-elements-4CafVNR8.js"),n=require("./property-DYTC_2-m.js");require("./icon.js");const d=":host([isTopPanel]) .panel{border-radius:8px 8px 0 0}:host([isBottomPanel]) .panel{border-radius:0 0 8px 8px;border:none}:host([isSinglePanel]) .panel{border-radius:8px;border:none}:host([isInnerPanel]) .panel{border-radius:0}:host([open][isInnerPanel]) .panel{border-radius:8px;margin-top:16px;margin-bottom:16px;border-bottom:0}:host([open][isInnerPanel]) .header{min-height:64px;max-height:64px}:host([open][isInnerPanel]) .dropdown{grid-template-rows:1fr}:host([open][isInnerPanel]) .closedIcon{display:none}:host([open][isInnerPanel]) .openedIcon{display:inline-block}:host([open][isInnerPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isTopPanel]) .panel{border-radius:8px;margin-bottom:16px;border-bottom:0}:host([open][isTopPanel]) .header{min-height:64px;max-height:64px}:host([open][isTopPanel]) .dropdown{grid-template-rows:1fr}:host([open][isTopPanel]) .closedIcon{display:none}:host([open][isTopPanel]) .openedIcon{display:inline-block}:host([open][isTopPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isBottomPanel]) .panel{border-radius:8px;margin-top:16px;border-bottom:0}:host([open][isBottomPanel]) .header{min-height:64px;max-height:64px}:host([open][isBottomPanel]) .dropdown{grid-template-rows:1fr}:host([open][isBottomPanel]) .closedIcon{display:none}:host([open][isBottomPanel]) .openedIcon{display:inline-block}:host([open][isBottomPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isSinglePanel]) .header{min-height:64px;max-height:64px}:host([open][isSinglePanel]) .dropdown{grid-template-rows:1fr}:host([open][isSinglePanel]) .closedIcon{display:none}:host([open][isSinglePanel]) .openedIcon{display:inline-block}:host([open][isSinglePanel]) ::slotted([slot=content]){padding-bottom:16px}:host([belowOpenInnerPanel]) .panel{border-radius:8px 8px 0 0}:host([aboveOpenInnerPanel]) .panel{border-radius:0 0 8px 8px;border-bottom:none}:host([separateSinglePanel]) .panel{border-radius:8px;border-bottom:none}:host .panel{border-bottom:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12));background-color:var(--mdc-theme-surface, #ffffff);transition:margin-bottom .5s,margin-top .5s}:host .header{min-height:48px;max-height:48px;padding:0 24px;display:flex;align-items:center;transition:min-height .5s,max-height .5s}:host .title{width:var(--cv-expansion-panel-item-title-width, 200px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .contentPreview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:16px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host cv-icon{padding-left:16px;margin-left:auto}:host .dropdown{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .content{overflow-y:hidden}:host .content slot{display:block;padding:0 24px}:host .footer{overflow-y:hidden;padding:16px 24px;border-top:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12))}:host .openedIcon{display:none}";var h=Object.defineProperty,c=Object.getOwnPropertyDescriptor,e=(l,t,s,i)=>{for(var o=i>1?void 0:i?c(t,s):t,r=l.length-1,p;r>=0;r--)(p=l[r])&&(o=(i?p(t,s,o):p(o))||o);return i&&o&&h(t,s,o),o};exports.CovalentExpansionPanelItem=class extends a.s{constructor(){super(...arguments),this.index=0,this.open=!1,this.isTopPanel=!1,this.isInnerPanel=!1,this.isBottomPanel=!1,this.isSinglePanel=!1,this.belowOpenInnerPanel=!1,this.aboveOpenInnerPanel=!1,this.separateSinglePanel=!1,this.title="Title",this.contentPreview="",this.showFooter=!1,this.noSurface=!1}render(){return a.x`
|
3
2
|
<div class="panel">
|
4
3
|
<div class="header" @click=${this._toggleContent}>
|
5
4
|
<span class="title">${this.title}</span>
|
package/expansion-panel-item.mjs
CHANGED
@@ -1,16 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { n as t } from "./property-
|
1
|
+
import { s as h, x as d, i as c, r as m, e as g } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { n as t } from "./property-DJzm_oB9.mjs";
|
3
3
|
import "./icon.mjs";
|
4
|
-
|
5
|
-
import "./tslib.es6-c4b0f3b1.mjs";
|
6
|
-
const y = `:host([isTopPanel]) .panel{border-radius:8px 8px 0 0}:host([isBottomPanel]) .panel{border-radius:0 0 8px 8px;border:none}:host([isSinglePanel]) .panel{border-radius:8px;border:none}:host([isInnerPanel]) .panel{border-radius:0}:host([open][isInnerPanel]) .panel{border-radius:8px;margin-top:16px;margin-bottom:16px;border-bottom:0}:host([open][isInnerPanel]) .header{min-height:64px;max-height:64px}:host([open][isInnerPanel]) .dropdown{grid-template-rows:1fr}:host([open][isInnerPanel]) .closedIcon{display:none}:host([open][isInnerPanel]) .openedIcon{display:inline-block}:host([open][isInnerPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isTopPanel]) .panel{border-radius:8px;margin-bottom:16px;border-bottom:0}:host([open][isTopPanel]) .header{min-height:64px;max-height:64px}:host([open][isTopPanel]) .dropdown{grid-template-rows:1fr}:host([open][isTopPanel]) .closedIcon{display:none}:host([open][isTopPanel]) .openedIcon{display:inline-block}:host([open][isTopPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isBottomPanel]) .panel{border-radius:8px;margin-top:16px;border-bottom:0}:host([open][isBottomPanel]) .header{min-height:64px;max-height:64px}:host([open][isBottomPanel]) .dropdown{grid-template-rows:1fr}:host([open][isBottomPanel]) .closedIcon{display:none}:host([open][isBottomPanel]) .openedIcon{display:inline-block}:host([open][isBottomPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isSinglePanel]) .header{min-height:64px;max-height:64px}:host([open][isSinglePanel]) .dropdown{grid-template-rows:1fr}:host([open][isSinglePanel]) .closedIcon{display:none}:host([open][isSinglePanel]) .openedIcon{display:inline-block}:host([open][isSinglePanel]) ::slotted([slot=content]){padding-bottom:16px}:host([belowOpenInnerPanel]) .panel{border-radius:8px 8px 0 0}:host([aboveOpenInnerPanel]) .panel{border-radius:0 0 8px 8px;border-bottom:none}:host([separateSinglePanel]) .panel{border-radius:8px;border-bottom:none}:host .panel{border-bottom:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12));background-color:var(--mdc-theme-surface, #ffffff);transition:margin-bottom .5s,margin-top .5s}:host .header{min-height:48px;max-height:48px;padding:0 24px;display:flex;align-items:center;transition:min-height .5s,max-height .5s}:host .title{width:var(--cv-expansion-panel-item-title-width, 200px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .contentPreview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:16px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host cv-icon{padding-left:16px;margin-left:auto}:host .dropdown{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .content{overflow-y:hidden}:host .content slot{display:block;padding:0 24px}:host .footer{overflow-y:hidden;padding:16px 24px;border-top:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12))}:host .openedIcon{display:none}
|
7
|
-
`;
|
4
|
+
const y = ":host([isTopPanel]) .panel{border-radius:8px 8px 0 0}:host([isBottomPanel]) .panel{border-radius:0 0 8px 8px;border:none}:host([isSinglePanel]) .panel{border-radius:8px;border:none}:host([isInnerPanel]) .panel{border-radius:0}:host([open][isInnerPanel]) .panel{border-radius:8px;margin-top:16px;margin-bottom:16px;border-bottom:0}:host([open][isInnerPanel]) .header{min-height:64px;max-height:64px}:host([open][isInnerPanel]) .dropdown{grid-template-rows:1fr}:host([open][isInnerPanel]) .closedIcon{display:none}:host([open][isInnerPanel]) .openedIcon{display:inline-block}:host([open][isInnerPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isTopPanel]) .panel{border-radius:8px;margin-bottom:16px;border-bottom:0}:host([open][isTopPanel]) .header{min-height:64px;max-height:64px}:host([open][isTopPanel]) .dropdown{grid-template-rows:1fr}:host([open][isTopPanel]) .closedIcon{display:none}:host([open][isTopPanel]) .openedIcon{display:inline-block}:host([open][isTopPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isBottomPanel]) .panel{border-radius:8px;margin-top:16px;border-bottom:0}:host([open][isBottomPanel]) .header{min-height:64px;max-height:64px}:host([open][isBottomPanel]) .dropdown{grid-template-rows:1fr}:host([open][isBottomPanel]) .closedIcon{display:none}:host([open][isBottomPanel]) .openedIcon{display:inline-block}:host([open][isBottomPanel]) ::slotted([slot=content]){padding-bottom:16px}:host([open][isSinglePanel]) .header{min-height:64px;max-height:64px}:host([open][isSinglePanel]) .dropdown{grid-template-rows:1fr}:host([open][isSinglePanel]) .closedIcon{display:none}:host([open][isSinglePanel]) .openedIcon{display:inline-block}:host([open][isSinglePanel]) ::slotted([slot=content]){padding-bottom:16px}:host([belowOpenInnerPanel]) .panel{border-radius:8px 8px 0 0}:host([aboveOpenInnerPanel]) .panel{border-radius:0 0 8px 8px;border-bottom:none}:host([separateSinglePanel]) .panel{border-radius:8px;border-bottom:none}:host .panel{border-bottom:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12));background-color:var(--mdc-theme-surface, #ffffff);transition:margin-bottom .5s,margin-top .5s}:host .header{min-height:48px;max-height:48px;padding:0 24px;display:flex;align-items:center;transition:min-height .5s,max-height .5s}:host .title{width:var(--cv-expansion-panel-item-title-width, 200px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .contentPreview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:16px;color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, .54));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host cv-icon{padding-left:16px;margin-left:auto}:host .dropdown{display:grid;grid-template-rows:0fr;transition:grid-template-rows .5s;color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87));font-family:var(--mdc-typography-body1-font-family, Arial);font-size:var(--mdc-typography-body1-font-size, 14px);font-style:normal;font-weight:var(--mdc-typography-body1-font-weight, 400);line-height:var(--mdc-typography-body1-line-height, 20px);letter-spacing:.25px}:host .content{overflow-y:hidden}:host .content slot{display:block;padding:0 24px}:host .footer{overflow-y:hidden;padding:16px 24px;border-top:1px solid var(--mdc-theme-border, rgba(0, 0, 0, .12))}:host .openedIcon{display:none}";
|
8
5
|
var f = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (a, r, p, i) => {
|
9
6
|
for (var n = i > 1 ? void 0 : i ? b(r, p) : r, s = a.length - 1, l; s >= 0; s--)
|
10
7
|
(l = a[s]) && (n = (i ? l(r, p, n) : l(n)) || n);
|
11
8
|
return i && n && f(r, p, n), n;
|
12
9
|
};
|
13
|
-
let e = class extends
|
10
|
+
let e = class extends h {
|
14
11
|
constructor() {
|
15
12
|
super(...arguments), this.index = 0, this.open = !1, this.isTopPanel = !1, this.isInnerPanel = !1, this.isBottomPanel = !1, this.isSinglePanel = !1, this.belowOpenInnerPanel = !1, this.aboveOpenInnerPanel = !1, this.separateSinglePanel = !1, this.title = "Title", this.contentPreview = "", this.showFooter = !1, this.noSurface = !1;
|
16
13
|
}
|
@@ -56,8 +53,8 @@ let e = class extends m {
|
|
56
53
|
}
|
57
54
|
};
|
58
55
|
e.styles = [
|
59
|
-
|
60
|
-
${
|
56
|
+
c`
|
57
|
+
${m(y)}
|
61
58
|
`
|
62
59
|
];
|
63
60
|
o([
|
package/expansion-panel.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./query-assigned-elements-4CafVNR8.js"),p=require("./property-DYTC_2-m.js");var h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,i=(o,n,t,l)=>{for(var s=l>1?void 0:l?d(n,t):n,e=o.length-1,r;e>=0;e--)(r=o[e])&&(s=(l?r(n,t,s):r(s))||s);return l&&s&&h(n,t,s),s};exports.CovalentExpansionPanel=class extends a.s{constructor(){super(...arguments),this.noSurface=!1,this.titleWidth="150px",this._handleToggle=n=>{const t=n.detail.index,l=this.panelItems[t],s=l.open;this.panelItems.forEach(e=>{e.resetPanel()}),s&&(l.open=!0,this.panelItems.forEach(e=>{e.index==t-1?e.index==0?e.separateSinglePanel=!0:e.aboveOpenInnerPanel=!0:e.index==t+1&&(e.index==this.panelItems.length-1&&(e.separateSinglePanel=!0),e.belowOpenInnerPanel=!0)}))}}render(){return a.x`
|
2
2
|
<div class="container">
|
3
3
|
<div class="content">
|
4
4
|
<slot id="mainSlot"></slot>
|
package/expansion-panel.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { s as h, x as d, l as f, e as c } from "./query-assigned-elements-
|
2
|
-
import { n as p } from "./property-
|
1
|
+
import { s as h, x as d, l as f, e as c } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { n as p } from "./property-DJzm_oB9.mjs";
|
3
3
|
var u = Object.defineProperty, P = Object.getOwnPropertyDescriptor, a = (n, t, s, l) => {
|
4
4
|
for (var e = l > 1 ? void 0 : l ? P(t, s) : t, i = n.length - 1, o; i >= 0; i--)
|
5
5
|
(o = n[i]) && (e = (l ? o(t, s, e) : o(e)) || e);
|
package/focused-page.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-
|
2
|
-
`;var u=Object.defineProperty,g=Object.getOwnPropertyDescriptor,l=(a,e,s,i)=>{for(var t=i>1?void 0:i?g(e,s):e,o=a.length-1,r;o>=0;o--)(r=a[o])&&(t=(i?r(e,s,t):r(t))||t);return i&&t&&u(e,s,t),t};exports.CovalentFocusedPage=class extends n.s{constructor(){super(),this.helpOpen=!1,this.helpResizable=!1,this.hideTopBorder=!1,this._isResizing=!1,this._resizerMouseMove=this._resizerMouseMove.bind(this),this._resizerMouseUp=this._resizerMouseUp.bind(this),this._startResizing=this._startResizing.bind(this),this.resetHelpPanelWidth=this.resetHelpPanelWidth.bind(this)}firstUpdated(){this.openHelpPanel()}openHelpPanel(){const e=parseInt(localStorage.getItem("focusedPageHelpWidth")||"")||320;this.setHelpPanelWidth(this.helpOpen?`${e}px`:"0")}closeHelpPanel(){this.setHelpPanelWidth("0"),this.helpOpen=!1}resetHelpPanelWidth(){this.setHelpPanelWidth("320px"),localStorage.setItem("focusedPageHelpWidth","320")}setHelpPanelWidth(e){var s;(s=this.container)==null||s.style.setProperty("--cv-focused-page-help-width",e)}updated(e){super.updated(e),e.has("helpOpen")&&(this.helpOpen?this.openHelpPanel():this.closeHelpPanel())}_resizerMouseMove(e){if(!this.container||!this.helpPanel||!this._isResizing)return;const s=window.innerWidth,i=this.container.getBoundingClientRect();let t;s<960?t=this.helpPanel.getBoundingClientRect().right-e.clientX:t=i.right-e.clientX,s<960&&t>320&&t<s-40?(this.setHelpPanelWidth(`${t}px`),localStorage.setItem("focusedPageHelpWidth",`${t}`)):t>320&&t<i.width-600&&(this.setHelpPanelWidth(`${t}px`),localStorage.setItem("focusedPageHelpWidth",`${t}`))}_resizerMouseUp(){this._isResizing=!1,this.helpPanel.classList.remove("resizing"),this.helpPanel.style.transition="width 200ms",document.removeEventListener("mouseup",this._resizerMouseUp),document.removeEventListener("mousemove",this._resizerMouseMove)}_startResizing(e){e.target===this.resizeHandle&&(this._isResizing=!0,this.helpPanel.classList.add("resizing"),this.helpPanel.style.transition="none",document.addEventListener("mouseup",this._resizerMouseUp),document.addEventListener("mousemove",this._resizerMouseMove))}render(){const e={"fullscreen-container":!0,"help-open":this.helpOpen,"hide-border":this.hideTopBorder},s={"help-panel":!0,"help-resizable":this.helpResizable};return n.x`<div class="${d.o(e)}">
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-4CafVNR8.js"),h=require("./property-DYTC_2-m.js"),p=require("./query-BxDs8ftQ.js"),d=require("./class-map-C8G1ALWK.js"),c=':host{height:100%;left:0;position:fixed;top:0;width:100%}.action-items{padding:.5rem .75rem;text-align:right}.content{box-sizing:border-box;display:flex;flex:1;max-height:100vh;overflow:auto;transition:visibility .3s ease}.fullscreen-container{border-top:4px solid var(--cv-theme-tertiary);box-sizing:border-box;display:flex;height:100%;width:100%}.fullscreen-container:not(.help-open) .help-panel{width:0}.fullscreen-container:not(.help-open) .help-panel .resize-handle{display:none}.fullscreen-container.hide-border{border:none}.help{--mdc-theme-surface: var(--cv-theme-surface-container-low);box-sizing:border-box;flex:1;max-height:100vh;overflow-y:auto}.help-panel{background:var(--cv-theme-surface-container-low);box-sizing:border-box;display:flex;flex:0 0 auto;max-width:100%;position:relative;resize:none;transition:width .2s;width:var(--cv-focused-page-help-width, 320px);z-index:5}.help-panel .resize-handle{cursor:ew-resize;height:100%;opacity:0;position:absolute;transition:opacity .3s ease;-webkit-user-select:none;user-select:none;width:8px;z-index:9}.help-panel .resize-handle:before{background-color:var(--mdc-theme-primary);content:"";height:100%;left:0;position:absolute;top:0;transform:translate(-50%);width:2px}.help-panel .resize-handle:hover,.help-panel.resizing .resize-handle{opacity:1}.main{box-sizing:border-box;flex:1;height:100%}@media only screen and (max-width: 479.98px){.help-open .help-panel{width:100%;z-index:100}}@media only screen and (max-width: 959.98px){.help-open .help-panel{box-shadow:0 8px 12px 6px #00000026,0 4px 4px #0000004d;height:100%;position:absolute;right:0}}';var u=Object.defineProperty,g=Object.getOwnPropertyDescriptor,l=(a,e,s,i)=>{for(var t=i>1?void 0:i?g(e,s):e,o=a.length-1,r;o>=0;o--)(r=a[o])&&(t=(i?r(e,s,t):r(t))||t);return i&&t&&u(e,s,t),t};exports.CovalentFocusedPage=class extends n.s{constructor(){super(),this.helpOpen=!1,this.helpResizable=!1,this.hideTopBorder=!1,this._isResizing=!1,this._resizerMouseMove=this._resizerMouseMove.bind(this),this._resizerMouseUp=this._resizerMouseUp.bind(this),this._startResizing=this._startResizing.bind(this),this.resetHelpPanelWidth=this.resetHelpPanelWidth.bind(this)}firstUpdated(){this.openHelpPanel()}openHelpPanel(){const e=parseInt(localStorage.getItem("focusedPageHelpWidth")||"")||320;this.setHelpPanelWidth(this.helpOpen?`${e}px`:"0")}closeHelpPanel(){this.setHelpPanelWidth("0"),this.helpOpen=!1}resetHelpPanelWidth(){this.setHelpPanelWidth("320px"),localStorage.setItem("focusedPageHelpWidth","320")}setHelpPanelWidth(e){var s;(s=this.container)==null||s.style.setProperty("--cv-focused-page-help-width",e)}updated(e){super.updated(e),e.has("helpOpen")&&(this.helpOpen?this.openHelpPanel():this.closeHelpPanel())}_resizerMouseMove(e){if(!this.container||!this.helpPanel||!this._isResizing)return;const s=window.innerWidth,i=this.container.getBoundingClientRect();let t;s<960?t=this.helpPanel.getBoundingClientRect().right-e.clientX:t=i.right-e.clientX,s<960&&t>320&&t<s-40?(this.setHelpPanelWidth(`${t}px`),localStorage.setItem("focusedPageHelpWidth",`${t}`)):t>320&&t<i.width-600&&(this.setHelpPanelWidth(`${t}px`),localStorage.setItem("focusedPageHelpWidth",`${t}`))}_resizerMouseUp(){this._isResizing=!1,this.helpPanel.classList.remove("resizing"),this.helpPanel.style.transition="width 200ms",document.removeEventListener("mouseup",this._resizerMouseUp),document.removeEventListener("mousemove",this._resizerMouseMove)}_startResizing(e){e.target===this.resizeHandle&&(this._isResizing=!0,this.helpPanel.classList.add("resizing"),this.helpPanel.style.transition="none",document.addEventListener("mouseup",this._resizerMouseUp),document.addEventListener("mousemove",this._resizerMouseMove))}render(){const e={"fullscreen-container":!0,"help-open":this.helpOpen,"hide-border":this.hideTopBorder},s={"help-panel":!0,"help-resizable":this.helpResizable};return n.x`<div class="${d.o(e)}">
|
3
2
|
<div class="content">
|
4
3
|
<section class="main">
|
5
4
|
<slot></slot>
|
package/focused-page.mjs
CHANGED
@@ -1,16 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
import { n as h } from "./property-
|
3
|
-
import { i as p } from "./query-
|
4
|
-
import { o as c } from "./class-map-
|
5
|
-
|
6
|
-
const x = `:host{height:100%;left:0;position:fixed;top:0;width:100%}.action-items{padding:.5rem .75rem;text-align:right}.content{box-sizing:border-box;display:flex;flex:1;max-height:100vh;overflow:auto;transition:visibility .3s ease}.fullscreen-container{border-top:4px solid var(--cv-theme-tertiary);box-sizing:border-box;display:flex;height:100%;width:100%}.fullscreen-container:not(.help-open) .help-panel{width:0}.fullscreen-container:not(.help-open) .help-panel .resize-handle{display:none}.fullscreen-container.hide-border{border:none}.help{--mdc-theme-surface: var(--cv-theme-surface-container-low);box-sizing:border-box;flex:1;max-height:100vh;overflow-y:auto}.help-panel{background:var(--cv-theme-surface-container-low);box-sizing:border-box;display:flex;flex:0 0 auto;max-width:100%;position:relative;resize:none;transition:width .2s;width:var(--cv-focused-page-help-width, 320px);z-index:5}.help-panel .resize-handle{cursor:ew-resize;height:100%;opacity:0;position:absolute;transition:opacity .3s ease;-webkit-user-select:none;user-select:none;width:8px;z-index:9}.help-panel .resize-handle:before{background-color:var(--mdc-theme-primary);content:"";height:100%;left:0;position:absolute;top:0;transform:translate(-50%);width:2px}.help-panel .resize-handle:hover,.help-panel.resizing .resize-handle{opacity:1}.main{box-sizing:border-box;flex:1;height:100%}@media only screen and (max-width: 479.98px){.help-open .help-panel{width:100%;z-index:100}}@media only screen and (max-width: 959.98px){.help-open .help-panel{box-shadow:0 8px 12px 6px #00000026,0 4px 4px #0000004d;height:100%;position:absolute;right:0}}
|
7
|
-
`;
|
1
|
+
import { s as u, x as d, A as f, i as g, r as v, e as m } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { n as h } from "./property-DJzm_oB9.mjs";
|
3
|
+
import { i as p } from "./query-BBDQWsft.mjs";
|
4
|
+
import { o as c } from "./class-map-C1SJpero.mjs";
|
5
|
+
const x = ':host{height:100%;left:0;position:fixed;top:0;width:100%}.action-items{padding:.5rem .75rem;text-align:right}.content{box-sizing:border-box;display:flex;flex:1;max-height:100vh;overflow:auto;transition:visibility .3s ease}.fullscreen-container{border-top:4px solid var(--cv-theme-tertiary);box-sizing:border-box;display:flex;height:100%;width:100%}.fullscreen-container:not(.help-open) .help-panel{width:0}.fullscreen-container:not(.help-open) .help-panel .resize-handle{display:none}.fullscreen-container.hide-border{border:none}.help{--mdc-theme-surface: var(--cv-theme-surface-container-low);box-sizing:border-box;flex:1;max-height:100vh;overflow-y:auto}.help-panel{background:var(--cv-theme-surface-container-low);box-sizing:border-box;display:flex;flex:0 0 auto;max-width:100%;position:relative;resize:none;transition:width .2s;width:var(--cv-focused-page-help-width, 320px);z-index:5}.help-panel .resize-handle{cursor:ew-resize;height:100%;opacity:0;position:absolute;transition:opacity .3s ease;-webkit-user-select:none;user-select:none;width:8px;z-index:9}.help-panel .resize-handle:before{background-color:var(--mdc-theme-primary);content:"";height:100%;left:0;position:absolute;top:0;transform:translate(-50%);width:2px}.help-panel .resize-handle:hover,.help-panel.resizing .resize-handle{opacity:1}.main{box-sizing:border-box;flex:1;height:100%}@media only screen and (max-width: 479.98px){.help-open .help-panel{width:100%;z-index:100}}@media only screen and (max-width: 959.98px){.help-open .help-panel{box-shadow:0 8px 12px 6px #00000026,0 4px 4px #0000004d;height:100%;position:absolute;right:0}}';
|
8
6
|
var z = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (e, i, n, t) => {
|
9
7
|
for (var l = t > 1 ? void 0 : t ? b(i, n) : i, r = e.length - 1, a; r >= 0; r--)
|
10
8
|
(a = e[r]) && (l = (t ? a(i, n, l) : a(l)) || l);
|
11
9
|
return t && l && z(i, n, l), l;
|
12
10
|
};
|
13
|
-
let s = class extends
|
11
|
+
let s = class extends u {
|
14
12
|
constructor() {
|
15
13
|
super(), this.helpOpen = !1, this.helpResizable = !1, this.hideTopBorder = !1, this._isResizing = !1, this._resizerMouseMove = this._resizerMouseMove.bind(this), this._resizerMouseUp = this._resizerMouseUp.bind(this), this._startResizing = this._startResizing.bind(this), this.resetHelpPanelWidth = this.resetHelpPanelWidth.bind(this);
|
16
14
|
}
|
@@ -36,8 +34,7 @@ let s = class extends g {
|
|
36
34
|
}
|
37
35
|
// Called when the resize handler is dragged to resize the help panel
|
38
36
|
_resizerMouseMove(e) {
|
39
|
-
if (!this.container || !this.helpPanel || !this._isResizing)
|
40
|
-
return;
|
37
|
+
if (!this.container || !this.helpPanel || !this._isResizing) return;
|
41
38
|
const i = window.innerWidth, n = this.container.getBoundingClientRect();
|
42
39
|
let t;
|
43
40
|
i < 960 ? t = this.helpPanel.getBoundingClientRect().right - e.clientX : t = n.right - e.clientX, i < 960 && t > 320 && t < i - 40 ? (this.setHelpPanelWidth(`${t}px`), localStorage.setItem("focusedPageHelpWidth", `${t}`)) : t > 320 && t < n.width - 600 && (this.setHelpPanelWidth(`${t}px`), localStorage.setItem("focusedPageHelpWidth", `${t}`));
|
@@ -73,15 +70,15 @@ let s = class extends g {
|
|
73
70
|
${this.helpResizable ? d`<div
|
74
71
|
class="resize-handle"
|
75
72
|
@dblclick="${() => this.helpOpen && this.resetHelpPanelWidth()}"
|
76
|
-
></div>` :
|
73
|
+
></div>` : f}
|
77
74
|
<div class="help"><slot name="help"></slot></div>
|
78
75
|
</aside>
|
79
76
|
</div>`;
|
80
77
|
}
|
81
78
|
};
|
82
79
|
s.styles = [
|
83
|
-
|
84
|
-
${
|
80
|
+
g`
|
81
|
+
${v(x)}
|
85
82
|
`
|
86
83
|
];
|
87
84
|
o([
|
@@ -103,10 +100,10 @@ o([
|
|
103
100
|
p(".resize-handle")
|
104
101
|
], s.prototype, "resizeHandle", 2);
|
105
102
|
s = o([
|
106
|
-
|
103
|
+
m("cv-focused-page")
|
107
104
|
], s);
|
108
|
-
const
|
105
|
+
const H = s;
|
109
106
|
export {
|
110
107
|
s as CovalentFocusedPage,
|
111
|
-
|
108
|
+
H as default
|
112
109
|
};
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { _ as r } from "./tslib.es6-
|
2
|
-
import { n as a } from "./property-
|
3
|
-
import "./query-assigned-elements-
|
4
|
-
import { B as d } from "./base-element-
|
1
|
+
import { _ as r } from "./tslib.es6-pPsSiLLK.mjs";
|
2
|
+
import { n as a } from "./property-DJzm_oB9.mjs";
|
3
|
+
import "./query-assigned-elements-DCt2xozt.mjs";
|
4
|
+
import { B as d } from "./base-element-C-U4OfWx.mjs";
|
5
5
|
/**
|
6
6
|
* @license
|
7
7
|
* Copyright 2018 Google LLC
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-
|
1
|
+
"use strict";const r=require("./tslib.es6-CHeFCc6E.js"),a=require("./property-DYTC_2-m.js");require("./query-assigned-elements-4CafVNR8.js");const l=require("./base-element-aUDWLn36.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
package/formfield.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-4CafVNR8.js"),i=require("./tslib.es6-CHeFCc6E.js"),m=require("./base-element-aUDWLn36.js"),f=require("./form-element-DwqUbs65.js"),u=require("./observer-N9cgkDqh.js"),d=require("./property-DYTC_2-m.js"),p=require("./query-BxDs8ftQ.js"),g=require("./query-assigned-nodes-CckKHm2z.js"),h=require("./class-map-C8G1ALWK.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -61,11 +61,11 @@
|
|
61
61
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
62
62
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
63
63
|
* THE SOFTWARE.
|
64
|
-
*/var w=function(r){i.__extends(e,r);function e(t){var n=r.call(this,i.__assign(i.__assign({},e.defaultAdapter),t))||this;return n.click=function(){n.handleClick()},n}return Object.defineProperty(e,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame(function(){t.adapter.deactivateInputRipple()})},e}(y)
|
64
|
+
*/var w=function(r){i.__extends(e,r);function e(t){var n=r.call(this,i.__assign(i.__assign({},e.defaultAdapter),t))||this;return n.click=function(){n.handleClick()},n}return Object.defineProperty(e,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},e.prototype.handleClick=function(){var t=this;this.adapter.activateInputRipple(),requestAnimationFrame(function(){t.adapter.deactivateInputRipple()})},e}(y);/**
|
65
65
|
* @license
|
66
66
|
* Copyright 2018 Google LLC
|
67
67
|
* SPDX-License-Identifier: Apache-2.0
|
68
|
-
*/class o extends m.BaseElement{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=
|
68
|
+
*/class o extends m.BaseElement{constructor(){super(...arguments),this.alignEnd=!1,this.spaceBetween=!1,this.nowrap=!1,this.label="",this.mdcFoundationClass=w}createAdapter(){return{registerInteractionHandler:(e,t)=>{this.labelEl.addEventListener(e,t)},deregisterInteractionHandler:(e,t)=>{this.labelEl.removeEventListener(e,t)},activateInputRipple:async()=>{const e=this.input;if(e instanceof f.FormElement){const t=await e.ripple;t&&t.startPress()}},deactivateInputRipple:async()=>{const e=this.input;if(e instanceof f.FormElement){const t=await e.ripple;t&&t.endPress()}}}}get input(){var e,t;return(t=(e=this.slottedInputs)===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:null}render(){const e={"mdc-form-field--align-end":this.alignEnd,"mdc-form-field--space-between":this.spaceBetween,"mdc-form-field--nowrap":this.nowrap};return l.x`
|
69
69
|
<div class="mdc-form-field ${h.o(e)}">
|
70
70
|
<slot></slot>
|
71
71
|
<label class="mdc-label"
|
@@ -74,7 +74,6 @@
|
|
74
74
|
* @license
|
75
75
|
* Copyright 2021 Google LLC
|
76
76
|
* SPDX-LIcense-Identifier: Apache-2.0
|
77
|
-
*/const
|
78
|
-
|
79
|
-
|
80
|
-
`,x];exports.CovalentFormfield=q([l.e("cv-formfield")],exports.CovalentFormfield);const O=exports.CovalentFormfield;exports.default=O;
|
77
|
+
*/const _=l.i`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`,x="::slotted(cv-switch){margin-right:10px}[dir=rtl] ::slotted(cv-switch),::slotted(cv-switch[dir=rtl]){margin-left:10px}";var C=Object.defineProperty,F=Object.getOwnPropertyDescriptor,E=(r,e,t,n)=>{for(var a=n>1?void 0:n?F(e,t):e,s=r.length-1,c;s>=0;s--)(c=r[s])&&(a=(n?c(e,t,a):c(a))||a);return n&&a&&C(e,t,a),a};exports.CovalentFormfield=class extends o{};exports.CovalentFormfield.styles=[l.i`
|
78
|
+
${l.r(x)}
|
79
|
+
`,_];exports.CovalentFormfield=E([l.e("cv-formfield")],exports.CovalentFormfield);const O=exports.CovalentFormfield;exports.default=O;
|
package/formfield.mjs
CHANGED
@@ -1,14 +1,12 @@
|
|
1
|
-
import { x as u, i as m, r as h, e as y } from "./query-assigned-elements-
|
2
|
-
import { a as b, b as f, _ as a } from "./tslib.es6-
|
3
|
-
import { B as v } from "./base-element-
|
4
|
-
import { F as p } from "./form-element-
|
5
|
-
import { o as w } from "./observer-
|
6
|
-
import { n as d } from "./property-
|
7
|
-
import { i as g } from "./query-
|
8
|
-
import { o as x } from "./query-assigned-nodes-
|
9
|
-
import { o as _ } from "./class-map-
|
10
|
-
import "./utils-dc65fdc9.mjs";
|
11
|
-
import "./directive-daf4e9b6.mjs";
|
1
|
+
import { x as u, i as m, r as h, e as y } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { a as b, b as f, _ as a } from "./tslib.es6-pPsSiLLK.mjs";
|
3
|
+
import { B as v } from "./base-element-C-U4OfWx.mjs";
|
4
|
+
import { F as p } from "./form-element-CxSqbssX.mjs";
|
5
|
+
import { o as w } from "./observer-DQ8OfVDQ.mjs";
|
6
|
+
import { n as d } from "./property-DJzm_oB9.mjs";
|
7
|
+
import { i as g } from "./query-BBDQWsft.mjs";
|
8
|
+
import { o as x } from "./query-assigned-nodes-B9zBfkh6.mjs";
|
9
|
+
import { o as _ } from "./class-map-C1SJpero.mjs";
|
12
10
|
/**
|
13
11
|
* @license
|
14
12
|
* Copyright 2016 Google Inc.
|
@@ -164,7 +162,6 @@ var O = (
|
|
164
162
|
}, e;
|
165
163
|
}(C)
|
166
164
|
);
|
167
|
-
const E = O;
|
168
165
|
/**
|
169
166
|
* @license
|
170
167
|
* Copyright 2018 Google LLC
|
@@ -172,7 +169,7 @@ const E = O;
|
|
172
169
|
*/
|
173
170
|
class n extends v {
|
174
171
|
constructor() {
|
175
|
-
super(...arguments), this.alignEnd = !1, this.spaceBetween = !1, this.nowrap = !1, this.label = "", this.mdcFoundationClass =
|
172
|
+
super(...arguments), this.alignEnd = !1, this.spaceBetween = !1, this.nowrap = !1, this.label = "", this.mdcFoundationClass = O;
|
176
173
|
}
|
177
174
|
createAdapter() {
|
178
175
|
return {
|
@@ -253,26 +250,25 @@ a([
|
|
253
250
|
* Copyright 2021 Google LLC
|
254
251
|
* SPDX-LIcense-Identifier: Apache-2.0
|
255
252
|
*/
|
256
|
-
const
|
257
|
-
|
258
|
-
var
|
259
|
-
for (var o = i > 1 ? void 0 : i ? j(e, t) : e, s = r.length - 1, c; s >= 0; s--)
|
253
|
+
const E = m`.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`, P = "::slotted(cv-switch){margin-right:10px}[dir=rtl] ::slotted(cv-switch),::slotted(cv-switch[dir=rtl]){margin-left:10px}";
|
254
|
+
var R = Object.defineProperty, k = Object.getOwnPropertyDescriptor, j = (r, e, t, i) => {
|
255
|
+
for (var o = i > 1 ? void 0 : i ? k(e, t) : e, s = r.length - 1, c; s >= 0; s--)
|
260
256
|
(c = r[s]) && (o = (i ? c(e, t, o) : c(o)) || o);
|
261
|
-
return i && o &&
|
257
|
+
return i && o && R(e, t, o), o;
|
262
258
|
};
|
263
259
|
let l = class extends n {
|
264
260
|
};
|
265
261
|
l.styles = [
|
266
262
|
m`
|
267
|
-
${h(
|
263
|
+
${h(P)}
|
268
264
|
`,
|
269
|
-
|
265
|
+
E
|
270
266
|
];
|
271
|
-
l =
|
267
|
+
l = j([
|
272
268
|
y("cv-formfield")
|
273
269
|
], l);
|
274
|
-
const
|
270
|
+
const T = l;
|
275
271
|
export {
|
276
272
|
l as CovalentFormfield,
|
277
|
-
|
273
|
+
T as default
|
278
274
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-
|
1
|
+
"use strict";const r=require("./tslib.es6-CHeFCc6E.js"),f=require("./foundation-pgmPu2iJ.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google Inc.
|
4
4
|
*
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
20
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
* THE SOFTWARE.
|
22
|
-
*/var d={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},
|
22
|
+
*/var d={CLOSING:"mdc-banner--closing",OPEN:"mdc-banner--open",OPENING:"mdc-banner--opening"},u={BANNER_ANIMATION_CLOSE_TIME_MS:250,BANNER_ANIMATION_OPEN_TIME_MS:300},p={CLOSED:"MDCBanner:closed",CLOSING:"MDCBanner:closing",OPENED:"MDCBanner:opened",OPENING:"MDCBanner:opening",ACTION_CLICKED:"MDCBanner:actionClicked"},m={CONTENT:".mdc-banner__content",PRIMARY_ACTION:".mdc-banner__primary-action"};exports.CloseReason=void 0;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNSPECIFIED=2]="UNSPECIFIED"})(exports.CloseReason||(exports.CloseReason={}));var a;(function(e){e[e.PRIMARY=0]="PRIMARY",e[e.SECONDARY=1]="SECONDARY",e[e.UNKNOWN=2]="UNKNOWN"})(a||(a={}));/**
|
23
23
|
* @license
|
24
24
|
* Copyright 2020 Google Inc.
|
25
25
|
*
|
@@ -40,4 +40,4 @@
|
|
40
40
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
41
41
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
42
42
|
* THE SOFTWARE.
|
43
|
-
*/var o=d.OPENING,
|
43
|
+
*/var o=d.OPENING,c=d.OPEN,s=d.CLOSING,h=function(e){r.__extends(t,e);function t(n){var i=e.call(this,r.__assign(r.__assign({},t.defaultAdapter),n))||this;return i.isOpened=!1,i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getContentHeight:function(){return 0},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},notifyActionClicked:function(){},releaseFocus:function(){},removeClass:function(){},setStyleProperty:function(){},trapFocus:function(){}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0},t.prototype.open=function(){var n=this;this.isOpened=!0,this.adapter.removeClass(s),this.adapter.addClass(o),this.adapter.notifyOpening();var i=this.adapter.getContentHeight();this.animationFrame=requestAnimationFrame(function(){n.adapter.addClass(c),n.adapter.setStyleProperty("height",i+"px"),n.animationTimer=setTimeout(function(){n.handleAnimationTimerEnd(),n.adapter.trapFocus(),n.adapter.notifyOpened()},u.BANNER_ANIMATION_OPEN_TIME_MS)})},t.prototype.close=function(n){var i=this;this.isOpened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.isOpened=!1,this.adapter.notifyClosing(n),this.adapter.addClass(s),this.adapter.setStyleProperty("height","0"),this.adapter.removeClass(c),this.adapter.removeClass(o),clearTimeout(this.animationTimer),this.animationTimer=setTimeout(function(){i.adapter.releaseFocus(),i.handleAnimationTimerEnd(),i.adapter.notifyClosed(n)},u.BANNER_ANIMATION_CLOSE_TIME_MS))},t.prototype.isOpen=function(){return this.isOpened},t.prototype.handlePrimaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(a.PRIMARY):this.close(exports.CloseReason.PRIMARY)},t.prototype.handleSecondaryActionClick=function(n){n===void 0&&(n=!1),n?this.adapter.notifyActionClicked(a.SECONDARY):this.close(exports.CloseReason.SECONDARY)},t.prototype.layout=function(){var n=this.adapter.getContentHeight();this.adapter.setStyleProperty("height",n+"px")},t.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(o),this.adapter.removeClass(s)},t}(f.MDCFoundation);exports.MDCBannerFoundation=h;exports.events=p;exports.selectors=m;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { a as f, b as
|
2
|
-
import { M as m } from "./foundation-
|
1
|
+
import { a as f, b as u } from "./tslib.es6-pPsSiLLK.mjs";
|
2
|
+
import { M as m } from "./foundation-PL3XY-m_.mjs";
|
3
3
|
/**
|
4
4
|
* @license
|
5
5
|
* Copyright 2020 Google Inc.
|
@@ -26,20 +26,18 @@ var d = {
|
|
26
26
|
CLOSING: "mdc-banner--closing",
|
27
27
|
OPEN: "mdc-banner--open",
|
28
28
|
OPENING: "mdc-banner--opening"
|
29
|
-
},
|
29
|
+
}, c = {
|
30
30
|
BANNER_ANIMATION_CLOSE_TIME_MS: 250,
|
31
31
|
BANNER_ANIMATION_OPEN_TIME_MS: 300
|
32
|
-
},
|
32
|
+
}, l = {
|
33
33
|
CLOSED: "MDCBanner:closed",
|
34
34
|
CLOSING: "MDCBanner:closing",
|
35
35
|
OPENED: "MDCBanner:opened",
|
36
36
|
OPENING: "MDCBanner:opening",
|
37
37
|
ACTION_CLICKED: "MDCBanner:actionClicked"
|
38
|
-
},
|
38
|
+
}, C = {
|
39
39
|
CONTENT: ".mdc-banner__content",
|
40
|
-
PRIMARY_ACTION: ".mdc-banner__primary-action"
|
41
|
-
SECONDARY_ACTION: ".mdc-banner__secondary-action",
|
42
|
-
TEXT: ".mdc-banner__text"
|
40
|
+
PRIMARY_ACTION: ".mdc-banner__primary-action"
|
43
41
|
}, a;
|
44
42
|
(function(e) {
|
45
43
|
e[e.PRIMARY = 0] = "PRIMARY", e[e.SECONDARY = 1] = "SECONDARY", e[e.UNSPECIFIED = 2] = "UNSPECIFIED";
|
@@ -75,7 +73,7 @@ var o = d.OPENING, p = d.OPEN, s = d.CLOSING, O = (
|
|
75
73
|
function(e) {
|
76
74
|
f(t, e);
|
77
75
|
function t(n) {
|
78
|
-
var i = e.call(this,
|
76
|
+
var i = e.call(this, u(u({}, t.defaultAdapter), n)) || this;
|
79
77
|
return i.isOpened = !1, i.animationFrame = 0, i.animationTimer = 0, i;
|
80
78
|
}
|
81
79
|
return Object.defineProperty(t, "defaultAdapter", {
|
@@ -117,13 +115,13 @@ var o = d.OPENING, p = d.OPEN, s = d.CLOSING, O = (
|
|
117
115
|
this.animationFrame = requestAnimationFrame(function() {
|
118
116
|
n.adapter.addClass(p), n.adapter.setStyleProperty("height", i + "px"), n.animationTimer = setTimeout(function() {
|
119
117
|
n.handleAnimationTimerEnd(), n.adapter.trapFocus(), n.adapter.notifyOpened();
|
120
|
-
},
|
118
|
+
}, c.BANNER_ANIMATION_OPEN_TIME_MS);
|
121
119
|
});
|
122
120
|
}, t.prototype.close = function(n) {
|
123
121
|
var i = this;
|
124
122
|
this.isOpened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.isOpened = !1, this.adapter.notifyClosing(n), this.adapter.addClass(s), this.adapter.setStyleProperty("height", "0"), this.adapter.removeClass(p), this.adapter.removeClass(o), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
|
125
123
|
i.adapter.releaseFocus(), i.handleAnimationTimerEnd(), i.adapter.notifyClosed(n);
|
126
|
-
},
|
124
|
+
}, c.BANNER_ANIMATION_CLOSE_TIME_MS));
|
127
125
|
}, t.prototype.isOpen = function() {
|
128
126
|
return this.isOpened;
|
129
127
|
}, t.prototype.handlePrimaryActionClick = function(n) {
|
@@ -141,6 +139,6 @@ var o = d.OPENING, p = d.OPEN, s = d.CLOSING, O = (
|
|
141
139
|
export {
|
142
140
|
a as C,
|
143
141
|
O as M,
|
144
|
-
|
145
|
-
|
142
|
+
l as e,
|
143
|
+
C as s
|
146
144
|
};
|
package/full-screen-dialog.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,n=(a,l,r,o)=>{for(var e=o>1?void 0:o?v(l,r):l,i=a.length-1,s;i>=0;i--)(s=a[i])&&(e=(o?s(l,r,e):s(e))||e);return o&&e&&g(l,r,e),e};exports.CovalentFullscreenDialog=class extends d.CovalentDialog$1{constructor(){super(...arguments),this.helpOpen=!1,this.helpResizable=!1}getInitialFocusEl(){const l=`[${this.initialFocusAttribute}]`,r=this.querySelector(l);return r||this.renderRoot.querySelector("cv-focused-page")}render(){return t.x` <div
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-4CafVNR8.js"),c=require("./property-DYTC_2-m.js"),d=require("./dialog-LUOzoMeO.js");require("./focused-page.js");const g=":host{--cv-dialog-border-radius: 0;--cv-dialog-horizontal-padding: 0;--cv-dialog-vertical-padding: 0;--mdc-dialog-scrim-color: transparent;--mdc-dialog-min-width: 100vw;--mdc-dialog-max-width: 100vw;--mdc-dialog-min-height: 100vh;--mdc-dialog-max-height: 100vh}.mdc-dialog .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}.mdc-dialog--opening .mdc-dialog__container{transform:translate(100%)}.mdc-dialog--open .mdc-dialog__container{transform:translate(0);transition:transform .3s ease}.mdc-dialog--closing .mdc-dialog__container{opacity:1;transform:translate(100%);transition:transform .3s ease}";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,n=(i,l,o,t)=>{for(var e=t>1?void 0:t?v(l,o):l,r=i.length-1,s;r>=0;r--)(s=i[r])&&(e=(t?s(l,o,e):s(e))||e);return t&&e&&u(l,o,e),e};exports.CovalentFullscreenDialog=class extends d.CovalentDialog$1{constructor(){super(...arguments),this.helpOpen=!1,this.helpResizable=!1}getInitialFocusEl(){const l=`[${this.initialFocusAttribute}]`,o=this.querySelector(l);return o||this.renderRoot.querySelector("cv-focused-page")}render(){return a.x` <div
|
3
2
|
class="mdc-dialog"
|
4
3
|
role="alertdialog"
|
5
4
|
aria-modal="true"
|
@@ -21,6 +20,6 @@
|
|
21
20
|
</div>
|
22
21
|
</div>
|
23
22
|
<div class="mdc-dialog__scrim"></div>
|
24
|
-
</div>`}};exports.CovalentFullscreenDialog.styles=[
|
25
|
-
${
|
26
|
-
`];n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpOpen",2);n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpResizable",2);exports.CovalentFullscreenDialog=n([
|
23
|
+
</div>`}};exports.CovalentFullscreenDialog.styles=[a.i`
|
24
|
+
${a.r(d.CovalentDialog$1.styles)} ${a.r(g)}
|
25
|
+
`];n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpOpen",2);n([c.n({type:Boolean,reflect:!0})],exports.CovalentFullscreenDialog.prototype,"helpResizable",2);exports.CovalentFullscreenDialog=n([a.e("cv-full-screen-dialog")],exports.CovalentFullscreenDialog);const p=exports.CovalentFullscreenDialog;exports.default=p;
|