@covalent/components 6.3.0 → 7.0.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.js +4 -4
- package/app-shell.mjs +10 -10
- 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-defdaa3b.js → list-05db7fed.js} +2 -2
- package/{list-d616957b.mjs → list-066f5de4.mjs} +3 -3
- package/list-expansion.js +4 -4
- package/list-expansion.mjs +25 -25
- package/{list-item-3fa66f09.js → list-item-8da7ba96.js} +3 -3
- package/{list-item-d5c05e10.mjs → list-item-ba77097d.mjs} +6 -6
- package/list-item.js +1 -1
- package/list-item.mjs +13 -13
- package/list.js +1 -1
- package/list.mjs +15 -15
- 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 +2 -2
- package/nav-list-item.mjs +13 -13
- package/package.json +1 -1
- 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/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 { C as
|
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);
|
@@ -1,5 +1,5 @@
|
|
1
|
-
"use strict";const c=require("./mwc-list-base-
|
1
|
+
"use strict";const c=require("./mwc-list-base-cb3500b4.js"),n=require("./query-assigned-elements-f623705d.js"),p=require("./property-57f6f6fe.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
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.
|
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;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { L as l } from "./mwc-list-base-
|
2
|
-
import { i as c, l as p, e as m } from "./query-assigned-elements-
|
3
|
-
import {
|
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
4
|
/**
|
5
5
|
* @license
|
6
6
|
* Copyright 2021 Google LLC
|
package/list-expansion.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./query-assigned-elements-
|
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.
|
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
3
|
<slot name="expansionHeader" @click=${this._toggleOpen}></slot>
|
4
|
-
${this.navOpen?super.render():s.
|
4
|
+
${this.navOpen?super.render():s.A}
|
5
5
|
`}};exports.CovalentExpansionList.styles=[s.i`
|
6
6
|
${s.r(u.styles)}
|
7
7
|
`,s.i`
|
8
8
|
${s.r(v)}
|
9
|
-
`];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};r([l.
|
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;
|
package/list-expansion.mjs
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
import { i as l, r as h, l as d,
|
2
|
-
import {
|
3
|
-
import { C as u, s as g } from "./list-
|
4
|
-
import "./mwc-list-base-
|
5
|
-
import "./tslib.es6-
|
6
|
-
import "./mwc-list-item-base-
|
7
|
-
import "./ripple-handlers-
|
8
|
-
import "./base-element-
|
9
|
-
import "./utils-
|
10
|
-
import "./state-
|
11
|
-
import "./query-
|
12
|
-
import "./class-map-
|
13
|
-
import "./style-map-
|
1
|
+
import { i as l, r as h, l as d, x as c, A as v, e as f } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { n as m } from "./property-9b6ea53b.mjs";
|
3
|
+
import { C as u, s as g } from "./list-066f5de4.mjs";
|
4
|
+
import "./mwc-list-base-32d4ac31.mjs";
|
5
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
6
|
+
import "./mwc-list-item-base-8654347d.mjs";
|
7
|
+
import "./ripple-handlers-321219b8.mjs";
|
8
|
+
import "./base-element-67ae173f.mjs";
|
9
|
+
import "./utils-2932417c.mjs";
|
10
|
+
import "./state-b5e865db.mjs";
|
11
|
+
import "./query-d843aa92.mjs";
|
12
|
+
import "./class-map-4b94b017.mjs";
|
13
|
+
import "./style-map-bc3ed3e0.mjs";
|
14
14
|
import "./observer-be7b92e2.mjs";
|
15
|
-
import "./query-assigned-nodes-
|
16
|
-
import "./if-defined-
|
15
|
+
import "./query-assigned-nodes-df691e78.mjs";
|
16
|
+
import "./if-defined-c367f208.mjs";
|
17
17
|
const x = `.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)}
|
18
18
|
`;
|
19
|
-
var O = Object.defineProperty,
|
20
|
-
for (var r = o > 1 ? void 0 : o ?
|
21
|
-
(a = e[p]) && (r = (o ? a(
|
22
|
-
return o && r && O(
|
19
|
+
var O = Object.defineProperty, C = Object.getOwnPropertyDescriptor, i = (e, n, t, o) => {
|
20
|
+
for (var r = o > 1 ? void 0 : o ? C(n, t) : n, p = e.length - 1, a; p >= 0; p--)
|
21
|
+
(a = e[p]) && (r = (o ? a(n, t, r) : a(r)) || r);
|
22
|
+
return o && r && O(n, t, r), r;
|
23
23
|
};
|
24
24
|
let s = class extends u {
|
25
25
|
constructor() {
|
@@ -30,8 +30,8 @@ let s = class extends u {
|
|
30
30
|
e.activated = this.open, e.selected = this.open;
|
31
31
|
});
|
32
32
|
}
|
33
|
-
attributeChangedCallback(e,
|
34
|
-
super.attributeChangedCallback(e,
|
33
|
+
attributeChangedCallback(e, n, t) {
|
34
|
+
super.attributeChangedCallback(e, n, t), e === "navopen" && this.expansionHeader.forEach((o) => {
|
35
35
|
t === "true" ? (o.navOpen = !!t, o.setAttribute("navopen", t)) : o.removeAttribute("navopen");
|
36
36
|
});
|
37
37
|
}
|
@@ -54,16 +54,16 @@ s.shadowRootOptions = {
|
|
54
54
|
mode: "open",
|
55
55
|
delegatesFocus: !0
|
56
56
|
};
|
57
|
-
|
57
|
+
i([
|
58
58
|
m({ type: Boolean, reflect: !0 })
|
59
59
|
], s.prototype, "open", 2);
|
60
|
-
|
60
|
+
i([
|
61
61
|
m({ type: Boolean, reflect: !0 })
|
62
62
|
], s.prototype, "navOpen", 2);
|
63
|
-
|
63
|
+
i([
|
64
64
|
d({ slot: "expansionHeader" })
|
65
65
|
], s.prototype, "expansionHeader", 2);
|
66
|
-
s =
|
66
|
+
s = i([
|
67
67
|
f("cv-expansion-list")
|
68
68
|
], s);
|
69
69
|
const z = s;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";const m=require("./mwc-list-item-base-
|
2
|
-
`;var d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=(c,s,i,r)=>{for(var e=r>1?void 0:r?v(s,i):s,n=c.length-1,o;n>=0;n--)(o=c[n])&&(e=(r?o(s,i,e):o(e))||e);return r&&e&&d(s,i,e),e};exports.CovalentListItem=class extends m.ListItemBase{constructor(){super(...arguments),this.hasChildren=!1}render(){const s=this.renderText(),i=this.graphic?this.renderGraphic():t.
|
1
|
+
"use strict";const m=require("./mwc-list-item-base-4a4d1e1b.js"),t=require("./query-assigned-elements-f623705d.js"),p=require("./property-57f6f6fe.js"),a=require("./mwc-list-item.css-25adc0c4.js"),l=`.expansion-icon{margin-left:-16px;margin-right:-8px;color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}:host([childItem]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
|
2
|
+
`;var d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=(c,s,i,r)=>{for(var e=r>1?void 0:r?v(s,i):s,n=c.length-1,o;n>=0;n--)(o=c[n])&&(e=(r?o(s,i,e):o(e))||e);return r&&e&&d(s,i,e),e};exports.CovalentListItem=class extends m.ListItemBase{constructor(){super(...arguments),this.hasChildren=!1}render(){const s=this.renderText(),i=this.graphic?this.renderGraphic():t.A,r=this.hasMeta?this.renderMeta():t.A,e=this.activated?"arrow_drop_down":"arrow_right",n=this.hasChildren?t.x`<cv-icon class="expansion-icon">${e}</cv-icon>`:t.A,o=this.hasChildren?t.x`<slot name="child"></slot>`:t.A;return t.x` ${this.renderRipple()} ${n} ${i} ${s} ${r}
|
3
3
|
${o}`}};exports.CovalentListItem.styles=[t.i`
|
4
4
|
${t.r(a.styles)}
|
5
5
|
`,t.i`
|
6
6
|
${t.r(a.styles$1)}
|
7
7
|
`,t.i`
|
8
8
|
${t.r(l)}
|
9
|
-
`];h([p.
|
9
|
+
`];h([p.n({type:Boolean,reflect:!0})],exports.CovalentListItem.prototype,"hasChildren",2);exports.CovalentListItem=h([t.e("cv-list-item")],exports.CovalentListItem);const u=exports.CovalentListItem;exports.CovalentListItem$1=u;exports.styles=l;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { L as d } from "./mwc-list-item-base-
|
2
|
-
import { i as h, r as l,
|
3
|
-
import {
|
4
|
-
import { s as f, a as
|
1
|
+
import { L as d } from "./mwc-list-item-base-8654347d.mjs";
|
2
|
+
import { i as h, r as l, A as a, x as p, e as v } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import { n as x } from "./property-9b6ea53b.mjs";
|
4
|
+
import { s as f, a as $ } from "./mwc-list-item.css-b0009fc7.mjs";
|
5
5
|
const g = `.expansion-icon{margin-left:-16px;margin-right:-8px;color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}:host([childItem]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
|
6
6
|
`;
|
7
7
|
var _ = Object.defineProperty, u = Object.getOwnPropertyDescriptor, m = (n, e, r, s) => {
|
@@ -24,14 +24,14 @@ i.styles = [
|
|
24
24
|
${l(f)}
|
25
25
|
`,
|
26
26
|
h`
|
27
|
-
${l(
|
27
|
+
${l($)}
|
28
28
|
`,
|
29
29
|
h`
|
30
30
|
${l(g)}
|
31
31
|
`
|
32
32
|
];
|
33
33
|
m([
|
34
|
-
|
34
|
+
x({ type: Boolean, reflect: !0 })
|
35
35
|
], i.prototype, "hasChildren", 2);
|
36
36
|
i = m([
|
37
37
|
v("cv-list-item")
|
package/list-item.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-4a4d1e1b.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./mwc-list-item.css-25adc0c4.js");const e=require("./list-item-8da7ba96.js");require("./tslib.es6-e6a11c8a.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");Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>e.CovalentListItem});exports.default=e.CovalentListItem$1;
|
package/list-item.mjs
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import "./mwc-list-item-base-
|
2
|
-
import "./query-assigned-elements-
|
3
|
-
import "./property-
|
4
|
-
import "./mwc-list-item.css-
|
5
|
-
import { C as v, a as x } from "./list-item-
|
6
|
-
import "./tslib.es6-
|
7
|
-
import "./ripple-handlers-
|
8
|
-
import "./base-element-
|
9
|
-
import "./utils-
|
10
|
-
import "./state-
|
11
|
-
import "./query-
|
12
|
-
import "./class-map-
|
13
|
-
import "./style-map-
|
1
|
+
import "./mwc-list-item-base-8654347d.mjs";
|
2
|
+
import "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import "./property-9b6ea53b.mjs";
|
4
|
+
import "./mwc-list-item.css-b0009fc7.mjs";
|
5
|
+
import { C as v, a as x } from "./list-item-ba77097d.mjs";
|
6
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
7
|
+
import "./ripple-handlers-321219b8.mjs";
|
8
|
+
import "./base-element-67ae173f.mjs";
|
9
|
+
import "./utils-2932417c.mjs";
|
10
|
+
import "./state-b5e865db.mjs";
|
11
|
+
import "./query-d843aa92.mjs";
|
12
|
+
import "./class-map-4b94b017.mjs";
|
13
|
+
import "./style-map-bc3ed3e0.mjs";
|
14
14
|
import "./observer-be7b92e2.mjs";
|
15
15
|
export {
|
16
16
|
v as CovalentListItem,
|
package/list.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-base-cb3500b4.js");const e=require("./list-05db7fed.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.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");Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>e.CovalentList});exports.default=e.CovalentList$1;
|