@covalent/components 6.3.0-beta.4 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-ribbon.js +6 -6
- package/action-ribbon.mjs +23 -24
- package/alert.js +4 -4
- package/alert.mjs +27 -28
- package/app-shell/app-shell.d.ts +0 -13
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +12 -20
- package/app-shell.mjs +54 -85
- package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
- package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
- package/button.js +4 -4
- package/button.mjs +13 -13
- package/card.js +8 -8
- package/card.mjs +4 -4
- package/check-list-item.js +3 -3
- package/check-list-item.mjs +16 -16
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/circular-progress.js +7 -7
- package/circular-progress.mjs +6 -6
- package/class-map-4b94b017.mjs +62 -0
- package/class-map-b5efe8da.js +9 -0
- package/code-snippet.js +9 -9
- package/code-snippet.mjs +1276 -1213
- package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
- package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
- package/dialog.js +1 -1
- package/dialog.mjs +8 -8
- package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
- package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
- package/drawer.js +1 -1
- package/drawer.mjs +8 -8
- package/empty-state.js +7 -7
- package/empty-state.mjs +4 -4
- package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
- package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
- package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
- package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
- package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
- package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
- package/icon-button.js +5 -5
- package/icon-button.mjs +12 -12
- package/icon-check-toggle.js +5 -5
- package/icon-check-toggle.mjs +15 -15
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +15 -15
- package/icon.js +1 -1
- package/icon.mjs +3 -3
- package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
- package/if-defined-f1c45245.js +5 -0
- package/index.js +1 -1
- package/index.mjs +120 -121
- package/linear-progress.js +6 -6
- package/linear-progress.mjs +13 -13
- package/list/list-expansion.d.ts +4 -1
- package/list/list-expansion.d.ts.map +1 -1
- package/list/list-item.d.ts +2 -0
- package/list/list-item.d.ts.map +1 -1
- package/list/list.d.ts +5 -0
- package/list/list.d.ts.map +1 -1
- package/list/nav-list-item.d.ts +1 -0
- package/list/nav-list-item.d.ts.map +1 -1
- package/list-05db7fed.js +5 -0
- package/list-066f5de4.mjs +45 -0
- package/list-expansion.js +9 -11
- package/list-expansion.mjs +53 -47
- package/list-item-8da7ba96.js +9 -0
- package/list-item-ba77097d.mjs +44 -0
- package/list-item.js +1 -1
- package/list-item.mjs +13 -13
- package/list.js +1 -6
- package/list.mjs +17 -38
- package/menu.js +1 -1
- package/menu.mjs +15 -15
- package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
- package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
- package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
- package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
- package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
- package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
- package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
- package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
- package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
- package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
- package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
- package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
- package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
- package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
- package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
- package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
- package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
- package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
- package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
- package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
- package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
- package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
- package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
- package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
- package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
- package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
- package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
- package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +31 -28
- package/package.json +1 -2
- package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
- package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
- package/{query-2ba749b7.js → query-680f1868.js} +1 -1
- package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
- package/query-assigned-elements-f623705d.js +31 -0
- package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
- package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
- package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
- package/radio-list-item.js +3 -3
- package/radio-list-item.mjs +18 -18
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
- package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
- package/select.js +10 -10
- package/select.mjs +20 -20
- package/side-sheet.js +2 -2
- package/side-sheet.mjs +21 -21
- package/slider-range.js +7 -7
- package/slider-range.mjs +13 -13
- package/slider.js +3 -3
- package/slider.mjs +15 -15
- package/snackbar.js +6 -6
- package/snackbar.mjs +12 -12
- package/state-0974a8e5.js +5 -0
- package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
- package/status-header-item.js +3 -3
- package/status-header-item.mjs +15 -15
- package/status-header.js +2 -2
- package/status-header.mjs +3 -3
- package/style-map-88d2563f.js +5 -0
- package/style-map-bc3ed3e0.mjs +44 -0
- package/style.css +1 -1
- package/switch.js +8 -8
- package/switch.mjs +13 -13
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +16 -16
- package/tab.js +1 -1
- package/tab.mjs +12 -12
- package/text-lockup.js +4 -4
- package/text-lockup.mjs +7 -7
- package/textarea.js +4 -4
- package/textarea.mjs +26 -26
- package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
- package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
- package/textfield.js +1 -1
- package/textfield.mjs +14 -14
- package/toolbar.js +1 -1
- package/toolbar.mjs +8 -8
- package/tooltip/tooltip.d.ts.map +1 -1
- package/tooltip.js +32 -11
- package/tooltip.mjs +611 -516
- package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
- package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
- package/top-app-bar-fixed.js +89 -5
- package/top-app-bar-fixed.mjs +279 -37
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +7 -7
- package/tree-list-item.mjs +6 -6
- package/tree-list.js +2 -2
- package/tree-list.mjs +1 -1
- package/tslib.es6-e6a11c8a.js +1 -0
- package/tslib.es6-f1eaf65c.mjs +82 -0
- package/typography.js +3 -3
- package/typography.mjs +2 -2
- package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
- package/class-map-08c84aeb.mjs +0 -62
- package/class-map-50b8edb4.js +0 -9
- package/foundation-2334d146.mjs +0 -60
- package/foundation-e830bd94.js +0 -22
- package/if-defined-cb12d481.js +0 -5
- package/list-item-1c65e4db.mjs +0 -32
- package/list-item-ee331821.js +0 -8
- package/query-assigned-elements-07e38f46.js +0 -33
- package/state-949232e6.js +0 -5
- package/style-map-2cb0fb63.mjs +0 -40
- package/style-map-3056a771.js +0 -5
- package/tslib.es6-6b53b818.js +0 -1
- package/tslib.es6-b5e819a6.mjs +0 -82
package/index.mjs
CHANGED
@@ -1,126 +1,125 @@
|
|
1
|
-
import { CovalentActionRibbon as
|
2
|
-
import { CovalentAlert as
|
3
|
-
import { CovalentAppShell as
|
4
|
-
import { CovalentButton as
|
5
|
-
import { CovalentCheckbox as
|
6
|
-
import { CovalentCard as
|
7
|
-
import { CovalentCircularProgress as
|
8
|
-
import { CovalentCodeSnippet as
|
9
|
-
import { C as
|
10
|
-
import { CovalentDrawer as
|
11
|
-
import { CovalentEmptyState as
|
12
|
-
import { CovalentIcon as
|
13
|
-
import { CovalentIconButton as
|
14
|
-
import { CovalentIconCheckToggle as
|
15
|
-
import { CovalentIconRadioToggle as
|
16
|
-
import { CovalentLinearProgress as
|
17
|
-
import { CovalentCheckListItem as
|
18
|
-
import {
|
19
|
-
import { CovalentExpansionList as
|
20
|
-
import { C as
|
21
|
-
import { CovalentNavRailListItem as
|
22
|
-
import { CovalentRadioListItem as
|
23
|
-
import { CovalentMenu as
|
24
|
-
import { CovalentRadio as
|
25
|
-
import { CovalentSelect as
|
26
|
-
import { CovalentSideSheet as
|
27
|
-
import { CovalentSlider as
|
28
|
-
import { CovalentSliderRange as
|
29
|
-
import { CovalentSnackbar as
|
30
|
-
import { CovalentStatusHeader as
|
31
|
-
import { CovalentStatusHeaderItem as
|
32
|
-
import { CovalentSwitch as
|
33
|
-
import { CovalentTab as
|
34
|
-
import { CovalentTabBar as
|
35
|
-
import { CovalentTextArea as
|
36
|
-
import { CovalentTextField as
|
37
|
-
import { CovalentTextLockup as
|
38
|
-
import { CovalentToolbar as
|
39
|
-
import { CovalentTooltip as
|
40
|
-
import { CovalentTopAppBar as
|
41
|
-
import { CovalentTopAppBarFixed as
|
42
|
-
import { CovalentTreeList as
|
43
|
-
import { CovalentTreeListItem as
|
44
|
-
import { CovalentTypography as
|
45
|
-
import "./query-assigned-elements-
|
46
|
-
import "./utils-
|
1
|
+
import { CovalentActionRibbon as N } from "./action-ribbon.mjs";
|
2
|
+
import { CovalentAlert as q } from "./alert.mjs";
|
3
|
+
import { CovalentAppShell as G } from "./app-shell.mjs";
|
4
|
+
import { CovalentButton as K } from "./button.mjs";
|
5
|
+
import { CovalentCheckbox as Q } from "./checkbox.mjs";
|
6
|
+
import { CovalentCard as V } from "./card.mjs";
|
7
|
+
import { CovalentCircularProgress as X } from "./circular-progress.mjs";
|
8
|
+
import { CovalentCodeSnippet as Z } from "./code-snippet.mjs";
|
9
|
+
import { C as $ } from "./dialog-9ac44447.mjs";
|
10
|
+
import { CovalentDrawer as to } from "./drawer.mjs";
|
11
|
+
import { CovalentEmptyState as eo } from "./empty-state.mjs";
|
12
|
+
import { CovalentIcon as mo } from "./icon.mjs";
|
13
|
+
import { CovalentIconButton as io } from "./icon-button.mjs";
|
14
|
+
import { CovalentIconCheckToggle as lo } from "./icon-check-toggle.mjs";
|
15
|
+
import { CovalentIconRadioToggle as xo } from "./icon-radio-toggle.mjs";
|
16
|
+
import { CovalentLinearProgress as fo } from "./linear-progress.mjs";
|
17
|
+
import { CovalentCheckListItem as co } from "./check-list-item.mjs";
|
18
|
+
import { C as So } from "./list-066f5de4.mjs";
|
19
|
+
import { CovalentExpansionList as Lo } from "./list-expansion.mjs";
|
20
|
+
import { C as ho } from "./list-item-ba77097d.mjs";
|
21
|
+
import { CovalentNavRailListItem as uo } from "./nav-list-item.mjs";
|
22
|
+
import { CovalentRadioListItem as Ro } from "./radio-list-item.mjs";
|
23
|
+
import { CovalentMenu as Bo } from "./menu.mjs";
|
24
|
+
import { CovalentRadio as wo } from "./radio.mjs";
|
25
|
+
import { CovalentSelect as Eo } from "./select.mjs";
|
26
|
+
import { CovalentSideSheet as Ho } from "./side-sheet.mjs";
|
27
|
+
import { CovalentSlider as Mo } from "./slider.mjs";
|
28
|
+
import { CovalentSliderRange as jo } from "./slider-range.mjs";
|
29
|
+
import { CovalentSnackbar as zo } from "./snackbar.mjs";
|
30
|
+
import { CovalentStatusHeader as Jo } from "./status-header.mjs";
|
31
|
+
import { CovalentStatusHeaderItem as Oo } from "./status-header-item.mjs";
|
32
|
+
import { CovalentSwitch as Uo } from "./switch.mjs";
|
33
|
+
import { CovalentTab as Wo } from "./tab.mjs";
|
34
|
+
import { CovalentTabBar as Yo } from "./tab-bar.mjs";
|
35
|
+
import { CovalentTextArea as _o } from "./textarea.mjs";
|
36
|
+
import { CovalentTextField as ot } from "./textfield.mjs";
|
37
|
+
import { CovalentTextLockup as rt } from "./text-lockup.mjs";
|
38
|
+
import { CovalentToolbar as pt } from "./toolbar.mjs";
|
39
|
+
import { CovalentTooltip as at } from "./tooltip.mjs";
|
40
|
+
import { CovalentTopAppBar as nt } from "./top-app-bar.mjs";
|
41
|
+
import { CovalentTopAppBarFixed as Ct } from "./top-app-bar-fixed.mjs";
|
42
|
+
import { CovalentTreeList as vt } from "./tree-list.mjs";
|
43
|
+
import { CovalentTreeListItem as st } from "./tree-list-item.mjs";
|
44
|
+
import { CovalentTypography as Tt } from "./typography.mjs";
|
45
|
+
import "./query-assigned-elements-4a39219d.mjs";
|
46
|
+
import "./utils-2932417c.mjs";
|
47
47
|
import "./observer-be7b92e2.mjs";
|
48
|
-
import "./foundation-
|
49
|
-
import "./tslib.es6-
|
50
|
-
import "./
|
51
|
-
import "./
|
52
|
-
import "./
|
53
|
-
import "./
|
54
|
-
import "./mwc-drawer-base-b2b772c3.mjs";
|
48
|
+
import "./foundation-3f556da7.mjs";
|
49
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
50
|
+
import "./class-map-4b94b017.mjs";
|
51
|
+
import "./property-9b6ea53b.mjs";
|
52
|
+
import "./query-d843aa92.mjs";
|
53
|
+
import "./mwc-drawer-base-fe660bdf.mjs";
|
55
54
|
import "./inert.esm-359d4581.mjs";
|
56
|
-
import "./base-element-
|
57
|
-
import "./mwc-icon-
|
58
|
-
import "./ripple-handlers-
|
59
|
-
import "./state-
|
60
|
-
import "./style-map-
|
55
|
+
import "./base-element-67ae173f.mjs";
|
56
|
+
import "./mwc-icon-ba18383d.mjs";
|
57
|
+
import "./ripple-handlers-321219b8.mjs";
|
58
|
+
import "./state-b5e865db.mjs";
|
59
|
+
import "./style-map-bc3ed3e0.mjs";
|
61
60
|
import "./aria-property-fa2717fe.mjs";
|
62
|
-
import "./event-options-
|
63
|
-
import "./if-defined-
|
64
|
-
import "./mwc-checkbox-base-
|
65
|
-
import "./form-element-
|
66
|
-
import "./mwc-checkbox.css-
|
67
|
-
import "./query-assigned-nodes-
|
68
|
-
import "./mwc-radio-base-
|
69
|
-
import "./mwc-radio.css-
|
70
|
-
import "./mwc-list-item-base-
|
71
|
-
import "./mwc-list-item.css-
|
72
|
-
import "./mwc-list-base-
|
73
|
-
import "./mwc-menu-base-
|
74
|
-
import "./mwc-line-ripple-directive-
|
75
|
-
import "./mwc-slider.css-
|
76
|
-
import "./directive-helpers-
|
77
|
-
import "./mwc-tab-base-
|
78
|
-
import "./textfield-
|
79
|
-
import "./mwc-top-app-bar-base-
|
80
|
-
import "./top-app-bar-
|
61
|
+
import "./event-options-78d6cf94.mjs";
|
62
|
+
import "./if-defined-c367f208.mjs";
|
63
|
+
import "./mwc-checkbox-base-3da36456.mjs";
|
64
|
+
import "./form-element-bd973124.mjs";
|
65
|
+
import "./mwc-checkbox.css-8f4f1a9b.mjs";
|
66
|
+
import "./query-assigned-nodes-df691e78.mjs";
|
67
|
+
import "./mwc-radio-base-9446d39b.mjs";
|
68
|
+
import "./mwc-radio.css-7454bb11.mjs";
|
69
|
+
import "./mwc-list-item-base-8654347d.mjs";
|
70
|
+
import "./mwc-list-item.css-b0009fc7.mjs";
|
71
|
+
import "./mwc-list-base-32d4ac31.mjs";
|
72
|
+
import "./mwc-menu-base-572a76b9.mjs";
|
73
|
+
import "./mwc-line-ripple-directive-ffce2cff.mjs";
|
74
|
+
import "./mwc-slider.css-10adbaf8.mjs";
|
75
|
+
import "./directive-helpers-e3ea6592.mjs";
|
76
|
+
import "./mwc-tab-base-4ba47acc.mjs";
|
77
|
+
import "./textfield-2cee5a1a.mjs";
|
78
|
+
import "./mwc-top-app-bar-base-adc4168a.mjs";
|
79
|
+
import "./top-app-bar-f83386e0.mjs";
|
81
80
|
export {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
81
|
+
N as CovalentActionRibbon,
|
82
|
+
q as CovalentAlert,
|
83
|
+
G as CovalentAppShell,
|
84
|
+
K as CovalentButton,
|
85
|
+
V as CovalentCard,
|
86
|
+
co as CovalentCheckListItem,
|
87
|
+
Q as CovalentCheckbox,
|
88
|
+
X as CovalentCircularProgress,
|
89
|
+
Z as CovalentCodeSnippet,
|
90
|
+
$ as CovalentDialog,
|
91
|
+
to as CovalentDrawer,
|
92
|
+
eo as CovalentEmptyState,
|
93
|
+
Lo as CovalentExpansionList,
|
94
|
+
mo as CovalentIcon,
|
95
|
+
io as CovalentIconButton,
|
96
|
+
lo as CovalentIconCheckToggle,
|
97
|
+
xo as CovalentIconRadioToggle,
|
98
|
+
fo as CovalentLinearProgress,
|
99
|
+
So as CovalentList,
|
100
|
+
ho as CovalentListItem,
|
101
|
+
Bo as CovalentMenu,
|
102
|
+
uo as CovalentNavRailListItem,
|
103
|
+
wo as CovalentRadio,
|
104
|
+
Ro as CovalentRadioListItem,
|
105
|
+
Eo as CovalentSelect,
|
106
|
+
Ho as CovalentSideSheet,
|
107
|
+
Mo as CovalentSlider,
|
108
|
+
jo as CovalentSliderRange,
|
109
|
+
zo as CovalentSnackbar,
|
110
|
+
Jo as CovalentStatusHeader,
|
111
|
+
Oo as CovalentStatusHeaderItem,
|
112
|
+
Uo as CovalentSwitch,
|
113
|
+
Wo as CovalentTab,
|
114
|
+
Yo as CovalentTabBar,
|
115
|
+
_o as CovalentTextArea,
|
116
|
+
ot as CovalentTextField,
|
117
|
+
rt as CovalentTextLockup,
|
118
|
+
pt as CovalentToolbar,
|
119
|
+
at as CovalentTooltip,
|
120
|
+
nt as CovalentTopAppBar,
|
121
|
+
Ct as CovalentTopAppBarFixed,
|
122
|
+
vt as CovalentTreeList,
|
123
|
+
st as CovalentTreeListItem,
|
124
|
+
Tt as CovalentTypography
|
126
125
|
};
|
package/linear-progress.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-f623705d.js"),a=require("./tslib.es6-e6a11c8a.js"),f=require("./aria-property-849c8816.js"),l=require("./property-57f6f6fe.js"),t=require("./state-0974a8e5.js"),y=require("./query-680f1868.js"),u=require("./class-map-b5efe8da.js"),p=require("./if-defined-f1c45245.js"),g=require("./style-map-88d2563f.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/class e extends o.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const r={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return o.
|
5
|
+
*/class e extends o.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const r={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return o.x`
|
6
6
|
<div
|
7
7
|
role="progressbar"
|
8
8
|
class="mdc-linear-progress ${u.o(r)}"
|
9
|
-
style="${g.
|
9
|
+
style="${g.o(i)}"
|
10
10
|
dir="${p.l(this.reverse?"rtl":void 0)}"
|
11
11
|
aria-label="${p.l(this.ariaLabel)}"
|
12
12
|
aria-valuemin="0"
|
@@ -16,19 +16,19 @@
|
|
16
16
|
<div class="mdc-linear-progress__buffer">
|
17
17
|
<div
|
18
18
|
class="mdc-linear-progress__buffer-bar"
|
19
|
-
style=${g.
|
19
|
+
style=${g.o(n)}>
|
20
20
|
</div>
|
21
21
|
<div class="mdc-linear-progress__buffer-dots"></div>
|
22
22
|
</div>
|
23
23
|
<div
|
24
24
|
class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"
|
25
|
-
style=${g.
|
25
|
+
style=${g.o(s)}>
|
26
26
|
<span class="mdc-linear-progress__bar-inner"></span>
|
27
27
|
</div>
|
28
28
|
<div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
|
29
29
|
<span class="mdc-linear-progress__bar-inner"></span>
|
30
30
|
</div>
|
31
|
-
</div>`}update(r){r.has("closed")&&(!this.closed||r.get("closed")===void 0)&&this.syncClosedState(),super.update(r)}async firstUpdated(r){super.firstUpdated(r),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(r){!r.has("indeterminate")&&r.has("reverse")&&this.indeterminate&&this.restartAnimation(),r.has("indeterminate")&&r.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(r)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(r=>{if(this.indeterminate){for(const i of r)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(r){const i=r*.8367142,n=r*2.00611057,s=r*.37651913,c=r*.84386165,d=r*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${c}px`,this.styleSecondaryFull=`${d}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}a.__decorate([y.i(".mdc-linear-progress")],e.prototype,"rootEl",void 0);a.__decorate([l.
|
31
|
+
</div>`}update(r){r.has("closed")&&(!this.closed||r.get("closed")===void 0)&&this.syncClosedState(),super.update(r)}async firstUpdated(r){super.firstUpdated(r),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(r){!r.has("indeterminate")&&r.has("reverse")&&this.indeterminate&&this.restartAnimation(),r.has("indeterminate")&&r.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(r)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(r=>{if(this.indeterminate){for(const i of r)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(r){const i=r*.8367142,n=r*2.00611057,s=r*.37651913,c=r*.84386165,d=r*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${c}px`,this.styleSecondaryFull=`${d}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}a.__decorate([y.i(".mdc-linear-progress")],e.prototype,"rootEl",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"indeterminate",void 0);a.__decorate([l.n({type:Number})],e.prototype,"progress",void 0);a.__decorate([l.n({type:Number})],e.prototype,"buffer",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"reverse",void 0);a.__decorate([l.n({type:Boolean,reflect:!0})],e.prototype,"closed",void 0);a.__decorate([f.ariaProperty,l.n({attribute:"aria-label"})],e.prototype,"ariaLabel",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryHalf",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryFull",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryQuarter",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryHalf",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryFull",void 0);a.__decorate([t.t()],e.prototype,"animationReady",void 0);a.__decorate([t.t()],e.prototype,"closedAnimationOff",void 0);/**
|
32
32
|
* @license
|
33
33
|
* Copyright 2021 Google LLC
|
34
34
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/linear-progress.mjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { s as y,
|
2
|
-
import {
|
3
|
-
import { a as
|
4
|
-
import {
|
5
|
-
import { t } from "./state-
|
6
|
-
import { i as
|
7
|
-
import { o as x } from "./class-map-
|
8
|
-
import { l as p } from "./if-defined-
|
9
|
-
import {
|
1
|
+
import { s as y, x as b, i as g, r as u, e as h } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { b as a } from "./tslib.es6-f1eaf65c.mjs";
|
3
|
+
import { a as v } from "./aria-property-fa2717fe.mjs";
|
4
|
+
import { n as o } from "./property-9b6ea53b.mjs";
|
5
|
+
import { t } from "./state-b5e865db.mjs";
|
6
|
+
import { i as _ } from "./query-d843aa92.mjs";
|
7
|
+
import { o as x } from "./class-map-4b94b017.mjs";
|
8
|
+
import { l as p } from "./if-defined-c367f208.mjs";
|
9
|
+
import { o as f } from "./style-map-bc3ed3e0.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2018 Google LLC
|
@@ -45,7 +45,7 @@ class e extends y {
|
|
45
45
|
}, s = {
|
46
46
|
transform: this.indeterminate ? "scaleX(1)" : `scaleX(${this.progress})`
|
47
47
|
};
|
48
|
-
return
|
48
|
+
return b`
|
49
49
|
<div
|
50
50
|
role="progressbar"
|
51
51
|
class="mdc-linear-progress ${x(r)}"
|
@@ -118,7 +118,7 @@ class e extends y {
|
|
118
118
|
}
|
119
119
|
}
|
120
120
|
a([
|
121
|
-
|
121
|
+
_(".mdc-linear-progress")
|
122
122
|
], e.prototype, "rootEl", void 0);
|
123
123
|
a([
|
124
124
|
o({ type: Boolean, reflect: !0 })
|
@@ -136,7 +136,7 @@ a([
|
|
136
136
|
o({ type: Boolean, reflect: !0 })
|
137
137
|
], e.prototype, "closed", void 0);
|
138
138
|
a([
|
139
|
-
|
139
|
+
v,
|
140
140
|
o({ attribute: "aria-label" })
|
141
141
|
], e.prototype, "ariaLabel", void 0);
|
142
142
|
a([
|
@@ -174,7 +174,7 @@ var z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, S = (c, r, i
|
|
174
174
|
};
|
175
175
|
let d = class extends e {
|
176
176
|
};
|
177
|
-
d.styles = [w, g`${
|
177
|
+
d.styles = [w, g`${u(X)}`];
|
178
178
|
d = S([
|
179
179
|
h("cv-linear-progress")
|
180
180
|
], d);
|
package/list/list-expansion.d.ts
CHANGED
@@ -1,16 +1,19 @@
|
|
1
|
+
import { CovalentList } from './list';
|
1
2
|
import CovalentNavRailListItem from './nav-list-item';
|
2
3
|
declare global {
|
3
4
|
interface HTMLElementTagNameMap {
|
4
5
|
'cv-expansion-list': CovalentExpansionList;
|
5
6
|
}
|
6
7
|
}
|
7
|
-
export declare class CovalentExpansionList extends
|
8
|
+
export declare class CovalentExpansionList extends CovalentList {
|
8
9
|
static styles: import("lit").CSSResult[];
|
9
10
|
static shadowRootOptions: ShadowRootInit;
|
10
11
|
open: boolean;
|
12
|
+
navOpen: boolean;
|
11
13
|
expansionHeader: CovalentNavRailListItem[];
|
12
14
|
constructor();
|
13
15
|
private _toggleOpen;
|
16
|
+
attributeChangedCallback(name: string, _old: string, value: string): void;
|
14
17
|
render(): import("lit-html").TemplateResult<1>;
|
15
18
|
}
|
16
19
|
export default CovalentExpansionList;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,
|
1
|
+
{"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,YAAY;IACrD,OAAgB,MAAM,4BAOpB;IACF,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAGF,IAAI,UAAS;IAGb,OAAO,UAAS;IAGhB,eAAe,EAAG,uBAAuB,EAAE,CAAC;;IAM5C,OAAO,CAAC,WAAW;IASV,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAelE,MAAM;CAMhB;AAED,eAAe,qBAAqB,CAAC"}
|
package/list/list-item.d.ts
CHANGED
@@ -6,6 +6,8 @@ declare global {
|
|
6
6
|
}
|
7
7
|
export declare class CovalentListItem extends ListItemBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
|
+
hasChildren: boolean;
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
11
|
}
|
10
12
|
export default CovalentListItem;
|
11
13
|
//# sourceMappingURL=list-item.d.ts.map
|
package/list/list-item.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;IAE0C,WAAW,UAAS;IAEvD,MAAM;CAehB;AAED,eAAe,gBAAgB,CAAC"}
|
package/list/list.d.ts
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
import { ListBase } from '@material/mwc-list/mwc-list-base';
|
2
|
+
import CovalentNavRailListItem from './nav-list-item';
|
2
3
|
declare global {
|
3
4
|
interface HTMLElementTagNameMap {
|
4
5
|
'cv-list': CovalentList;
|
5
6
|
}
|
6
7
|
}
|
7
8
|
export declare class CovalentList extends ListBase {
|
9
|
+
slotElements: CovalentNavRailListItem[];
|
10
|
+
navOpen: boolean;
|
8
11
|
static styles: import("lit").CSSResult[];
|
12
|
+
getUpdateComplete(): Promise<boolean>;
|
13
|
+
attributeChangedCallback(name: string, _old: string, value: string): void;
|
9
14
|
}
|
10
15
|
export default CovalentList;
|
11
16
|
//# sourceMappingURL=list.d.ts.map
|
package/list/list.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAO5D,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAED,qBACa,YAAa,SAAQ,QAAQ;IAExC,YAAY,EAAG,uBAAuB,EAAE,CAAC;IAGzC,OAAO,UAAS;IAEhB,OAAgB,MAAM,4BAAY;IAEnB,iBAAiB;IAQvB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAa5E;AAED,eAAe,YAAY,CAAC"}
|
package/list/nav-list-item.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"nav-list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/nav-list-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAM/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,uBAAuB,CAAC;KAC7C;CACF;AAED,qBACa,uBAAwB,SAAQ,gBAAgB;IAC3D,OAAgB,MAAM,4BAapB;;
|
1
|
+
{"version":3,"file":"nav-list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/nav-list-item.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAM/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,uBAAuB,CAAC;KAC7C;CACF;AAED,qBACa,uBAAwB,SAAQ,gBAAgB;IAC3D,OAAgB,MAAM,4BAapB;IAGF,OAAO,UAAS;;CAKjB;AAED,eAAe,uBAAuB,CAAC"}
|
package/list-05db7fed.js
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";const c=require("./mwc-list-base-cb3500b4.js"),n=require("./query-assigned-elements-f623705d.js"),p=require("./property-57f6f6fe.js");/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2021 Google LLC
|
4
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
5
|
+
*/const l=n.i`@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}`;var m=Object.defineProperty,g=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var t=i>1?void 0:i?g(e,r):e,s=a.length-1,d;s>=0;s--)(d=a[s])&&(t=(i?d(e,r,t):d(t))||t);return i&&t&&m(e,r,t),t};exports.CovalentList=class extends c.ListBase{constructor(){super(...arguments),this.navOpen=!1}async getUpdateComplete(){return this.slotElements.forEach(e=>{e.setAttribute("navopen",this.navOpen.toString())}),await super.getUpdateComplete()}attributeChangedCallback(e,r,i){super.attributeChangedCallback(e,r,i),e==="navopen"&&this.slotElements.forEach(t=>{i==="true"?t.setAttribute("navopen",i):t.removeAttribute("navopen")})}};exports.CovalentList.styles=[l];o([n.l({flatten:!0})],exports.CovalentList.prototype,"slotElements",2);o([p.n({type:Boolean,reflect:!0})],exports.CovalentList.prototype,"navOpen",2);exports.CovalentList=o([n.e("cv-list")],exports.CovalentList);const h=exports.CovalentList;exports.CovalentList$1=h;exports.styles=l;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { L as l } from "./mwc-list-base-32d4ac31.mjs";
|
2
|
+
import { i as c, l as p, e as m } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import { n as g } from "./property-9b6ea53b.mjs";
|
4
|
+
/**
|
5
|
+
* @license
|
6
|
+
* Copyright 2021 Google LLC
|
7
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
8
|
+
*/
|
9
|
+
const f = c`@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}`;
|
10
|
+
var h = Object.defineProperty, v = Object.getOwnPropertyDescriptor, o = (t, a, e, i) => {
|
11
|
+
for (var r = i > 1 ? void 0 : i ? v(a, e) : a, s = t.length - 1, n; s >= 0; s--)
|
12
|
+
(n = t[s]) && (r = (i ? n(a, e, r) : n(r)) || r);
|
13
|
+
return i && r && h(a, e, r), r;
|
14
|
+
};
|
15
|
+
let d = class extends l {
|
16
|
+
constructor() {
|
17
|
+
super(...arguments), this.navOpen = !1;
|
18
|
+
}
|
19
|
+
async getUpdateComplete() {
|
20
|
+
return this.slotElements.forEach((t) => {
|
21
|
+
t.setAttribute("navopen", this.navOpen.toString());
|
22
|
+
}), await super.getUpdateComplete();
|
23
|
+
}
|
24
|
+
attributeChangedCallback(t, a, e) {
|
25
|
+
super.attributeChangedCallback(t, a, e), t === "navopen" && this.slotElements.forEach((i) => {
|
26
|
+
e === "true" ? i.setAttribute("navopen", e) : i.removeAttribute("navopen");
|
27
|
+
});
|
28
|
+
}
|
29
|
+
};
|
30
|
+
d.styles = [f];
|
31
|
+
o([
|
32
|
+
p({ flatten: !0 })
|
33
|
+
], d.prototype, "slotElements", 2);
|
34
|
+
o([
|
35
|
+
g({ type: Boolean, reflect: !0 })
|
36
|
+
], d.prototype, "navOpen", 2);
|
37
|
+
d = o([
|
38
|
+
m("cv-list")
|
39
|
+
], d);
|
40
|
+
const u = d;
|
41
|
+
export {
|
42
|
+
d as C,
|
43
|
+
u as a,
|
44
|
+
f as s
|
45
|
+
};
|
package/list-expansion.js
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
`}};exports.CovalentExpansionList.
|
10
|
-
${i.r(d)},
|
11
|
-
`,...g(exports.CovalentExpansionList,exports.CovalentExpansionList,"styles")];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};p([l.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);p([i.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=p([i.e("cv-expansion-list")],exports.CovalentExpansionList);const m=exports.CovalentExpansionList;exports.default=m;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),u=require("./list-05db7fed.js");require("./mwc-list-base-cb3500b4.js");require("./tslib.es6-e6a11c8a.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");const v=`.mdc-deprecated-list{--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden;height:var(--cv-list-menu-height, 0)}.mdc-deprecated-list slot::slotted(*){height:32px}:host([open]) ul{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
|
2
|
+
`;var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,r=(o,t,i,n)=>{for(var e=n>1?void 0:n?d(t,i):t,a=o.length-1,p;a>=0;a--)(p=o[a])&&(e=(n?p(t,i,e):p(e))||e);return n&&e&&c(t,i,e),e};exports.CovalentExpansionList=class extends u.CovalentList{constructor(){super(),this.open=!1,this.navOpen=!1}_toggleOpen(){this.open=!this.open,this.expansionHeader.forEach(t=>{t.activated=this.open,t.selected=this.open})}attributeChangedCallback(t,i,n){super.attributeChangedCallback(t,i,n),t==="navopen"&&this.expansionHeader.forEach(e=>{n==="true"?(e.navOpen=!!n,e.setAttribute("navopen",n)):e.removeAttribute("navopen")})}render(){return s.x`
|
3
|
+
<slot name="expansionHeader" @click=${this._toggleOpen}></slot>
|
4
|
+
${this.navOpen?super.render():s.A}
|
5
|
+
`}};exports.CovalentExpansionList.styles=[s.i`
|
6
|
+
${s.r(u.styles)}
|
7
|
+
`,s.i`
|
8
|
+
${s.r(v)}
|
9
|
+
`];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};r([l.n({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);r([l.n({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"navOpen",2);r([s.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=r([s.e("cv-expansion-list")],exports.CovalentExpansionList);const h=exports.CovalentExpansionList;exports.default=h;
|