@covalent/components 8.15.0-beta.8 → 8.15.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 +1 -1
- package/action-ribbon.mjs +3 -4
- package/alert.js +1 -1
- package/alert.mjs +3 -4
- package/app-shell/app-shell.d.ts +3 -0
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +6 -6
- package/app-shell.mjs +26 -25
- package/badge.js +1 -1
- package/badge.mjs +3 -4
- package/button.js +1 -1
- package/button.mjs +9 -10
- package/card/card-base.d.ts.map +1 -1
- package/card.js +7 -5
- package/card.mjs +9 -8
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -9
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -16
- package/{chip-fb0ea5c5.mjs → chip-2d0fd3f0.mjs} +1 -1
- package/{chip-c65a4549.js → chip-ebd0a88e.js} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +45 -46
- package/chip.js +1 -1
- package/chip.mjs +4 -5
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +4 -5
- package/class-map-4b94b017.mjs +62 -0
- package/class-map-b5efe8da.js +9 -0
- package/code-snippet.js +2 -2
- package/code-snippet.mjs +4 -5
- package/{dialog-86192b9a.js → dialog-82b03745.js} +1 -1
- package/{dialog-16aad066.mjs → dialog-c9dbe94d.mjs} +1 -1
- package/dialog.js +1 -1
- package/dialog.mjs +4 -5
- package/drawer.js +1 -1
- package/drawer.mjs +4 -5
- package/formfield.js +3 -3
- package/formfield.mjs +3 -4
- package/icon-button-toggle.js +1 -1
- package/icon-button-toggle.mjs +5 -6
- package/icon-button.js +1 -1
- package/icon-button.mjs +5 -6
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +6 -7
- package/icon-radio-toggle.js +3 -3
- package/icon-radio-toggle.mjs +6 -7
- package/index.d.ts +0 -3
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +118 -126
- package/linear-progress.js +1 -1
- package/linear-progress.mjs +4 -5
- package/{list-item-e628f363.mjs → list-item-24236190.mjs} +1 -1
- package/{list-item-e336fb0e.js → list-item-d72b2fff.js} +1 -1
- package/list-item.js +2 -2
- package/list-item.mjs +7 -8
- package/list.js +1 -1
- package/list.mjs +7 -8
- package/menu.js +5 -5
- package/menu.mjs +8 -9
- package/{mwc-checkbox-base-935d9566.js → mwc-checkbox-base-3d8c9549.js} +1 -1
- package/{mwc-checkbox-base-02b4eb91.mjs → mwc-checkbox-base-c40d16d2.mjs} +2 -2
- package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-798b11f8.js} +1 -1
- package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-9c77129c.mjs} +1 -1
- package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-a6b39a3c.js} +14 -14
- package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-f9dd7fe3.mjs} +5 -6
- package/{mwc-list-base-22616d0a.js → mwc-list-base-400b00e2.js} +1 -1
- package/{mwc-list-base-402e1d8e.mjs → mwc-list-base-495cbb3b.mjs} +1 -1
- package/{mwc-list-item-base-06d93e6e.js → mwc-list-item-base-297d86b0.js} +1 -1
- package/{mwc-list-item-base-3c6a3bfb.mjs → mwc-list-item-base-6449e812.mjs} +2 -2
- package/{mwc-menu-base-04586160.mjs → mwc-menu-base-9704207e.mjs} +3 -3
- package/{mwc-menu-base-08f54c38.js → mwc-menu-base-c75ca473.js} +1 -1
- package/{mwc-radio-base-768b4221.mjs → mwc-radio-base-4dbe9e38.mjs} +2 -2
- package/{mwc-radio-base-147cf999.js → mwc-radio-base-913e02e2.js} +1 -1
- package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-30c91236.mjs} +3 -3
- package/{mwc-slider.css-c5f99704.js → mwc-slider.css-c7107d94.js} +1 -1
- package/{mwc-tab-base-0814a3ef.mjs → mwc-tab-base-effde6e4.mjs} +2 -2
- package/{mwc-tab-base-f2269fd1.js → mwc-tab-base-f28722aa.js} +1 -1
- package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-28c4192d.mjs} +1 -1
- package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-aec60f27.js} +1 -1
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +7 -8
- package/package.json +1 -16
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -9
- package/radio.js +2 -2
- package/radio.mjs +6 -7
- package/{ripple-handlers-8883e893.mjs → ripple-handlers-0d9ad7c2.mjs} +2 -2
- package/{ripple-handlers-9fb4a31a.js → ripple-handlers-5d5b21db.js} +1 -1
- package/select.js +2 -2
- package/select.mjs +10 -11
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +2 -3
- package/slider-range.js +1 -1
- package/slider-range.mjs +6 -7
- package/slider.js +1 -1
- package/slider.mjs +11 -12
- package/snackbar.js +18 -14
- package/snackbar.mjs +159 -88
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +6 -7
- package/status-header.js +1 -1
- package/status-header.mjs +3 -4
- package/{style-map-a135c6ab.js → style-map-88d2563f.js} +2 -2
- package/{style-map-e7ec6d41.mjs → style-map-bc3ed3e0.mjs} +1 -1
- package/switch.js +1 -1
- package/switch.mjs +5 -6
- package/tab-bar.js +2 -2
- package/tab-bar.mjs +6 -7
- package/tab.js +1 -1
- package/tab.mjs +8 -9
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +3 -4
- package/textarea.js +1 -1
- package/textarea.mjs +5 -6
- package/{textfield-93cfcf3c.mjs → textfield-69844234.mjs} +8 -9
- package/{textfield-0645375b.js → textfield-a064a2b4.js} +16 -16
- package/textfield.js +1 -1
- package/textfield.mjs +5 -6
- package/toolbar.js +1 -1
- package/toolbar.mjs +4 -5
- package/top-app-bar-fixed.js +1 -1
- package/top-app-bar-fixed.mjs +4 -5
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +7 -8
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +3 -4
- package/async-directive-4a34f75e.js +0 -5
- package/async-directive-99a01ec7.mjs +0 -78
- package/cell/cell.d.ts +0 -65
- package/cell/cell.d.ts.map +0 -1
- package/cell.js +0 -29
- package/cell.mjs +0 -147
- package/class-map-0a4c6ca9.js +0 -5
- package/class-map-6e504a9a.mjs +0 -38
- package/code-editor/code-editor.d.ts +0 -73
- package/code-editor/code-editor.d.ts.map +0 -1
- package/code-editor-3a09cbf1.js +0 -732
- package/code-editor-ce557bd5.mjs +0 -61376
- package/code-editor.js +0 -1
- package/code-editor.mjs +0 -10
- package/cpp-642b10c4.mjs +0 -387
- package/cpp-7eec3311.js +0 -6
- package/csharp-32862cd2.js +0 -6
- package/csharp-d987ddad.mjs +0 -320
- package/css-5dd354ac.mjs +0 -186
- package/css-9be95551.js +0 -8
- package/dart-031264ea.js +0 -6
- package/dart-5d209f63.mjs +0 -270
- package/directive-1186bc23.js +0 -5
- package/directive-daf4e9b6.mjs +0 -27
- package/go-46e3b371.mjs +0 -208
- package/go-cdd943fd.js +0 -6
- package/html-4fffc46e.js +0 -6
- package/html-783f1e7c.mjs +0 -286
- package/java-32d7b433.js +0 -6
- package/java-cd017f60.mjs +0 -221
- package/javascript-4d09cd3c.mjs +0 -80
- package/javascript-90bb18e6.js +0 -6
- package/kotlin-4b9019e1.js +0 -6
- package/kotlin-c6e52a56.mjs +0 -245
- package/lua-b46719a9.js +0 -6
- package/lua-f159160b.mjs +0 -157
- package/markdown-9b448c46.mjs +0 -202
- package/markdown-eae8e3ba.js +0 -6
- package/monacoeditorwork/css.worker.bundle.js +0 -45885
- package/monacoeditorwork/editor.worker.bundle.js +0 -9103
- package/monacoeditorwork/html.worker.bundle.js +0 -25134
- package/monacoeditorwork/json.worker.bundle.js +0 -16363
- package/monacoeditorwork/ts.worker.bundle.js +0 -170782
- package/notebook/notebook.d.ts +0 -87
- package/notebook/notebook.d.ts.map +0 -1
- package/notebook.js +0 -121
- package/notebook.mjs +0 -3447
- package/php-987b9d87.mjs +0 -471
- package/php-a6dcde52.js +0 -6
- package/python-562f8e9b.mjs +0 -264
- package/python-af3aad7d.js +0 -6
- package/r-42c6f0aa.js +0 -6
- package/r-630f5d6b.mjs +0 -245
- package/rust-87887495.js +0 -6
- package/rust-97f8f6e1.mjs +0 -337
- package/scala-c68c650c.mjs +0 -353
- package/scala-e8b7bd42.js +0 -6
- package/shell-09452d42.mjs +0 -224
- package/shell-43cfbe7d.js +0 -6
- package/sql-63ec8e76.mjs +0 -818
- package/sql-faf05577.js +0 -6
- package/style.css +0 -1
- package/swift-724ff2a3.js +0 -8
- package/swift-abdf1835.mjs +0 -315
- package/typescript-76d039b3.js +0 -6
- package/typescript-a2a5d6b2.mjs +0 -332
- package/xml-89571455.mjs +0 -100
- package/xml-e66929d0.js +0 -6
- package/yaml-11a91e71.js +0 -6
- package/yaml-4eccd122.mjs +0 -189
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),
|
1
|
+
"use strict";const o=require("./tslib.es6-98719205.js"),c=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),p=require("./property-57f6f6fe.js"),h=require("./query-680f1868.js"),i=require("./class-map-b5efe8da.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
20
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
* THE SOFTWARE.
|
22
|
-
*/var
|
22
|
+
*/var b=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
23
23
|
* @license
|
24
24
|
* Copyright 2018 Google Inc.
|
25
25
|
*
|
@@ -40,7 +40,7 @@
|
|
40
40
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
41
41
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
42
42
|
* THE SOFTWARE.
|
43
|
-
*/var
|
43
|
+
*/var g={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},u={NOTCH_ELEMENT_PADDING:8},_={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};/**
|
44
44
|
* @license
|
45
45
|
* Copyright 2017 Google Inc.
|
46
46
|
*
|
@@ -61,11 +61,11 @@
|
|
61
61
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
62
62
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
63
63
|
* THE SOFTWARE.
|
64
|
-
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return
|
64
|
+
*/var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(n){var r=e.cssClasses.OUTLINE_NOTCHED;n>0&&(n+=u.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(n),this.adapter.addClass(r)},e.prototype.closeNotch=function(){var n=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(n),this.adapter.removeNotchWidthProperty()},e}(b);/**
|
65
65
|
* @license
|
66
66
|
* Copyright 2019 Google LLC
|
67
67
|
* SPDX-License-Identifier: Apache-2.0
|
68
|
-
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=
|
68
|
+
*/class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=i.o({"mdc-notched-outline--notched":this.open});return c.x`
|
69
69
|
<span class="mdc-notched-outline ${e}">
|
70
70
|
<span class="mdc-notched-outline__leading"></span>
|
71
71
|
<span class="mdc-notched-outline__notch">
|
@@ -76,11 +76,11 @@
|
|
76
76
|
* @license
|
77
77
|
* Copyright 2021 Google LLC
|
78
78
|
* SPDX-LIcense-Identifier: Apache-2.0
|
79
|
-
*/const
|
79
|
+
*/const v=c.i`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;/**
|
80
80
|
* @license
|
81
81
|
* Copyright 2019 Google LLC
|
82
82
|
* SPDX-License-Identifier: Apache-2.0
|
83
|
-
*/let l=class extends s{};l.styles=[
|
83
|
+
*/let l=class extends s{};l.styles=[v];l=o.__decorate([c.e("mwc-notched-outline")],l);/**
|
84
84
|
* @license
|
85
85
|
* Copyright 2016 Google Inc.
|
86
86
|
*
|
@@ -101,7 +101,7 @@
|
|
101
101
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
102
102
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
103
103
|
* THE SOFTWARE.
|
104
|
-
*/var
|
104
|
+
*/var y=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
105
105
|
* @license
|
106
106
|
* Copyright 2016 Google Inc.
|
107
107
|
*
|
@@ -122,7 +122,7 @@
|
|
122
122
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
123
123
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
124
124
|
* THE SOFTWARE.
|
125
|
-
*/var
|
125
|
+
*/var L={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};/**
|
126
126
|
* @license
|
127
127
|
* Copyright 2016 Google Inc.
|
128
128
|
*
|
@@ -143,11 +143,11 @@
|
|
143
143
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
144
144
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
145
145
|
* THE SOFTWARE.
|
146
|
-
*/var
|
146
|
+
*/var C=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(n){var r=e.cssClasses.LABEL_SHAKE;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.float=function(n){var r=e.cssClasses,d=r.LABEL_FLOAT_ABOVE,f=r.LABEL_SHAKE;n?this.adapter.addClass(d):(this.adapter.removeClass(d),this.adapter.removeClass(f))},e.prototype.setRequired=function(n){var r=e.cssClasses.LABEL_REQUIRED;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleShakeAnimationEnd=function(){var n=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(n)},e}(y);/**
|
147
147
|
* @license
|
148
148
|
* Copyright 2018 Google LLC
|
149
149
|
* SPDX-License-Identifier: Apache-2.0
|
150
|
-
*/const
|
150
|
+
*/const x=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,n)=>{t.addEventListener(e,n)},deregisterInteractionHandler:(e,n)=>{t.removeEventListener(e,n)}});class A extends i.i{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case i.t.ATTRIBUTE:case i.t.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[n]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-floating-label");const d=x(r);this.foundation=new C(d),this.foundation.init()}return this.render(n)}render(e){return this.foundation}}const P=i.e(A);/**
|
151
151
|
* @license
|
152
152
|
* Copyright 2016 Google Inc.
|
153
153
|
*
|
@@ -168,7 +168,7 @@
|
|
168
168
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
169
169
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
170
170
|
* THE SOFTWARE.
|
171
|
-
*/var
|
171
|
+
*/var O=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
|
172
172
|
* @license
|
173
173
|
* Copyright 2018 Google Inc.
|
174
174
|
*
|
@@ -210,8 +210,8 @@
|
|
210
210
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
211
211
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
212
212
|
* THE SOFTWARE.
|
213
|
-
*/var
|
213
|
+
*/var N=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(d){r.handleTransitionEnd(d)},r}return Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(a.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(n){this.adapter.setStyle("transform-origin",n+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(a.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(n){var r=this.adapter.hasClass(a.LINE_RIPPLE_DEACTIVATING);n.propertyName==="opacity"&&r&&(this.adapter.removeClass(a.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING))},e}(O);/**
|
214
214
|
* @license
|
215
215
|
* Copyright 2019 Google LLC
|
216
216
|
* SPDX-License-Identifier: Apache-2.0
|
217
|
-
*/const
|
217
|
+
*/const I=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,n)=>t.style.setProperty(e,n),registerEventHandler:(e,n)=>{t.addEventListener(e,n)},deregisterEventHandler:(e,n)=>{t.removeEventListener(e,n)}});class T extends i.i{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case i.t.ATTRIBUTE:case i.t.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,n){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-line-ripple");const d=I(r);this.foundation=new N(d),this.foundation.init()}return this.render()}render(){return this.foundation}}const D=i.e(T);exports.floatingLabel=P;exports.lineRipple=D;
|
@@ -3,8 +3,7 @@ import { x as _, i as v, e as E } from "./query-assigned-elements-4a39219d.mjs";
|
|
3
3
|
import { B as y } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as h } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as f } from "./query-d843aa92.mjs";
|
6
|
-
import { o as L } from "./class-map-
|
7
|
-
import { e as m, i as b, t as l } from "./directive-daf4e9b6.mjs";
|
6
|
+
import { o as L, e as m, i as b, t as l } from "./class-map-4b94b017.mjs";
|
8
7
|
/**
|
9
8
|
* @license
|
10
9
|
* Copyright 2016 Google Inc.
|
@@ -441,7 +440,7 @@ class H extends b {
|
|
441
440
|
return this.foundation;
|
442
441
|
}
|
443
442
|
}
|
444
|
-
const
|
443
|
+
const W = m(H);
|
445
444
|
/**
|
446
445
|
* @license
|
447
446
|
* Copyright 2016 Google Inc.
|
@@ -647,8 +646,8 @@ class F extends b {
|
|
647
646
|
return this.foundation;
|
648
647
|
}
|
649
648
|
}
|
650
|
-
const
|
649
|
+
const G = m(F);
|
651
650
|
export {
|
652
|
-
|
653
|
-
|
651
|
+
W as f,
|
652
|
+
G as l
|
654
653
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-
|
1
|
+
"use strict";const p=require("./tslib.es6-98719205.js"),O=require("./query-assigned-elements-f623705d.js"),B=require("./mwc-list-item-base-297d86b0.js"),H=require("./base-element-58a3f9ea.js"),L=require("./observer-a096ab43.js"),F=require("./utils-a8190a39.js"),I=require("./property-57f6f6fe.js"),K=require("./query-680f1868.js"),W=require("./query-assigned-nodes-99eae71d.js"),k=require("./if-defined-f1c45245.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { _ as p } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as z, e as B, x as P } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as H } from "./mwc-list-item-base-
|
3
|
+
import { L as H } from "./mwc-list-item-base-6449e812.mjs";
|
4
4
|
import { B as K } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as L } from "./observer-be7b92e2.mjs";
|
6
6
|
import { i as V, b as X, d as G } from "./utils-dc65fdc9.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),c=require("./ripple-handlers-5d5b21db.js"),l=require("./observer-a096ab43.js"),r=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),p=require("./query-680f1868.js"),h=require("./class-map-b5efe8da.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as c, R as d } from "./ripple-handlers-
|
2
|
+
import { e as c, R as d } from "./ripple-handlers-0d9ad7c2.mjs";
|
3
3
|
import { o as l } from "./observer-be7b92e2.mjs";
|
4
4
|
import { s as h, x as n } from "./query-assigned-elements-4a39219d.mjs";
|
5
5
|
import { n as r } from "./property-9b6ea53b.mjs";
|
6
6
|
import { t as p } from "./state-b5e865db.mjs";
|
7
7
|
import { i as u } from "./query-d843aa92.mjs";
|
8
|
-
import { o as m } from "./class-map-
|
8
|
+
import { o as m } from "./class-map-4b94b017.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2020 Google LLC
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { _ as o, a as U, b as B, c as q } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as V, e as K, x as F } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as Q } from "./mwc-list-base-
|
3
|
+
import { L as Q } from "./mwc-list-base-495cbb3b.mjs";
|
4
4
|
import { B as j } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as g } from "./observer-be7b92e2.mjs";
|
6
6
|
import { a as Y, b as Z, d as J } from "./utils-dc65fdc9.mjs";
|
7
7
|
import { n as a } from "./property-9b6ea53b.mjs";
|
8
8
|
import { t as b } from "./state-b5e865db.mjs";
|
9
9
|
import { i as D } from "./query-d843aa92.mjs";
|
10
|
-
import { o as P } from "./class-map-
|
11
|
-
import { o as tt } from "./style-map-
|
10
|
+
import { o as P } from "./class-map-4b94b017.mjs";
|
11
|
+
import { o as tt } from "./style-map-bc3ed3e0.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2021 Google LLC
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-
|
1
|
+
"use strict";const s=require("./tslib.es6-98719205.js"),A=require("./query-assigned-elements-f623705d.js"),K=require("./mwc-list-base-400b00e2.js"),U=require("./base-element-58a3f9ea.js"),E=require("./observer-a096ab43.js"),N=require("./utils-a8190a39.js"),a=require("./property-57f6f6fe.js"),v=require("./state-0974a8e5.js"),F=require("./query-680f1868.js"),P=require("./class-map-b5efe8da.js"),j=require("./style-map-88d2563f.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { a as v, b as c, _ as i } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as g, R as y } from "./ripple-handlers-
|
2
|
+
import { e as g, R as y } from "./ripple-handlers-0d9ad7c2.mjs";
|
3
3
|
import { a as f } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as R } from "./form-element-abadd335.mjs";
|
5
5
|
import { o as m } from "./observer-be7b92e2.mjs";
|
@@ -8,7 +8,7 @@ import { n as a } from "./property-9b6ea53b.mjs";
|
|
8
8
|
import { t as l } from "./state-b5e865db.mjs";
|
9
9
|
import { e as C } from "./event-options-78d6cf94.mjs";
|
10
10
|
import { i as b } from "./query-d843aa92.mjs";
|
11
|
-
import { o as E } from "./class-map-
|
11
|
+
import { o as E } from "./class-map-4b94b017.mjs";
|
12
12
|
import { l as h } from "./if-defined-c367f208.mjs";
|
13
13
|
import { a as k } from "./utils-dc65fdc9.mjs";
|
14
14
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-
|
1
|
+
"use strict";const r=require("./tslib.es6-98719205.js"),p=require("./ripple-handlers-5d5b21db.js"),f=require("./aria-property-849c8816.js"),v=require("./form-element-c553d6f5.js"),m=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),a=require("./property-57f6f6fe.js"),d=require("./state-0974a8e5.js"),g=require("./event-options-3f5eb195.js"),b=require("./query-680f1868.js"),_=require("./class-map-b5efe8da.js"),u=require("./if-defined-f1c45245.js"),y=require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { a as F, b as x, _ as o } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
-
import { e as H, R as O } from "./ripple-handlers-
|
2
|
+
import { e as H, R as O } from "./ripple-handlers-0d9ad7c2.mjs";
|
3
3
|
import { a as w } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { F as B } from "./form-element-abadd335.mjs";
|
5
5
|
import { x as _, A as g, i as $ } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as f } from "./property-9b6ea53b.mjs";
|
7
7
|
import { t as b } from "./state-b5e865db.mjs";
|
8
8
|
import { i as y } from "./query-d843aa92.mjs";
|
9
|
-
import { o as P } from "./class-map-
|
9
|
+
import { o as P } from "./class-map-4b94b017.mjs";
|
10
10
|
import { l as R } from "./if-defined-c367f208.mjs";
|
11
|
-
import { o as W } from "./style-map-
|
11
|
+
import { o as W } from "./style-map-bc3ed3e0.mjs";
|
12
12
|
/**
|
13
13
|
* @license
|
14
14
|
* Copyright 2020 Google Inc.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-
|
1
|
+
"use strict";const d=require("./tslib.es6-98719205.js"),V=require("./ripple-handlers-5d5b21db.js"),k=require("./aria-property-849c8816.js"),L=require("./form-element-c553d6f5.js"),m=require("./query-assigned-elements-f623705d.js"),b=require("./property-57f6f6fe.js"),f=require("./state-0974a8e5.js"),g=require("./query-680f1868.js"),x=require("./class-map-b5efe8da.js"),A=require("./if-defined-f1c45245.js"),U=require("./style-map-88d2563f.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google Inc.
|
4
4
|
*
|
@@ -3,9 +3,9 @@ import { x as c, i as R, e as A } from "./query-assigned-elements-4a39219d.mjs";
|
|
3
3
|
import { B as g } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as r } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as l } from "./query-d843aa92.mjs";
|
6
|
-
import { o as v } from "./class-map-
|
6
|
+
import { o as v } from "./class-map-4b94b017.mjs";
|
7
7
|
import { a as I } from "./utils-dc65fdc9.mjs";
|
8
|
-
import { e as T, R as E } from "./ripple-handlers-
|
8
|
+
import { e as T, R as E } from "./ripple-handlers-0d9ad7c2.mjs";
|
9
9
|
import { o as F } from "./observer-be7b92e2.mjs";
|
10
10
|
import { t as _ } from "./state-b5e865db.mjs";
|
11
11
|
import { e as O } from "./event-options-78d6cf94.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const n=require("./tslib.es6-98719205.js"),s=require("./query-assigned-elements-f623705d.js"),_=require("./base-element-58a3f9ea.js"),r=require("./property-57f6f6fe.js"),l=require("./query-680f1868.js"),m=require("./class-map-
|
1
|
+
"use strict";const n=require("./tslib.es6-98719205.js"),s=require("./query-assigned-elements-f623705d.js"),_=require("./base-element-58a3f9ea.js"),r=require("./property-57f6f6fe.js"),l=require("./query-680f1868.js"),m=require("./class-map-b5efe8da.js"),C=require("./utils-a8190a39.js"),y=require("./ripple-handlers-5d5b21db.js"),I=require("./observer-a096ab43.js"),g=require("./state-0974a8e5.js"),R=require("./event-options-3f5eb195.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -4,7 +4,7 @@ import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
|
4
4
|
import { B as _ } from "./base-element-acf30176.mjs";
|
5
5
|
import { a as A, s as S } from "./utils-dc65fdc9.mjs";
|
6
6
|
import { i as g } from "./query-d843aa92.mjs";
|
7
|
-
import { o as h } from "./class-map-
|
7
|
+
import { o as h } from "./class-map-4b94b017.mjs";
|
8
8
|
/**
|
9
9
|
* @license
|
10
10
|
* Copyright 2018 Google Inc.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const i=require("./tslib.es6-98719205.js"),p=require("./property-57f6f6fe.js"),l=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),g=require("./utils-a8190a39.js"),T=require("./query-680f1868.js"),f=require("./class-map-
|
1
|
+
"use strict";const i=require("./tslib.es6-98719205.js"),p=require("./property-57f6f6fe.js"),l=require("./query-assigned-elements-f623705d.js"),m=require("./base-element-58a3f9ea.js"),g=require("./utils-a8190a39.js"),T=require("./query-680f1868.js"),f=require("./class-map-b5efe8da.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google Inc.
|
4
4
|
*
|
package/nav-list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),l=require("./list-item-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),l=require("./list-item-d72b2fff.js");require("./mwc-list-item-base-297d86b0.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-5d5b21db.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");const p=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%);--mdc-list-item-graphic-margin: 4px}::slotted(*){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 48px}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([subnav]){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host([selected]) .mdc-deprecated-list-item__graphic.material-icons,:host([activated]) .mdc-deprecated-list-item__graphic.material-icons{font-variation-settings:"FILL" 1}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;margin-right:0;border-radius:0;height:48px;font-size:0;padding:0 0 0 15px}:host([hasChildren]){flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-primary)}.expansion-header{position:relative;height:48px;width:100%;border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden;display:flex;flex-shrink:0;align-items:center}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
|
2
2
|
`;var m=Object.defineProperty,g=Object.getOwnPropertyDescriptor,s=(n,e,t,i)=>{for(var r=i>1?void 0:i?g(e,t):e,o=n.length-1,d;o>=0;o--)(d=n[o])&&(r=(i?d(e,t,r):d(r))||r);return i&&r&&m(e,t,r),r};exports.CovalentNavRailListItem=class extends h.CovalentListItem{constructor(){super(...arguments),this.open=!1,this.hasChildren=!1,this.activated=!1,this.lastKeySelected=0}_toggleOpen(){this.open=!this.open}_handleKeydown(e){const t=this.expansionPanelElements[0],i=t?t==null?void 0:t.getFocusedItemIndex():0,r=(t==null?void 0:t.items.length)??0;if(this.hasChildren){if(e.code==="Enter"){e.preventDefault(),e.stopImmediatePropagation(),e.target.hasChildren?this._toggleOpen():this._deselectHeader(e);return}if(this.open){if(e.code==="ArrowUp"&&i===0&&this.lastKeySelected===0&&!e.target.hasChildren){e.preventDefault(),e.stopImmediatePropagation(),t.items[0].blur(),this.focus();return}e.code==="ArrowDown"&&i===-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(0),this.lastKeySelected=0),e.code==="ArrowUp"&&i!==-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i),(e.code==="ArrowDown"||e.code==="ArrowUp")&&i!==-1&&this.lastKeySelected<r-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i)}}}_handleRequestSelected(e){const t=e;this.hasChildren&&t.detail.selected===!1&&t.detail.source==="property"&&this._deselectChildren()}_deselectChildren(){this.expansionPanelElements.forEach(e=>{e.items.forEach(t=>t.selected=!1)})}_deselectHeader(e){e.preventDefault(),e.stopImmediatePropagation(),this.fireRequestSelected(!1,"interaction"),this.activated=!1}renderExpansionItem(){const e=this.renderText(),t=this.graphic?this.renderGraphic():a.A,i=this.renderMeta();return a.x`
|
3
3
|
<div
|
4
4
|
@mousedown=${this._toggleOpen}
|
package/nav-list-item.mjs
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
import { i as o, r as n, l as m, A as g, x as c, e as v } from "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import { n as h } from "./property-9b6ea53b.mjs";
|
3
3
|
import { CovalentListItem as f } from "./list-item.mjs";
|
4
|
-
import { s as u, a as x, c as y } from "./list-item-
|
5
|
-
import "./mwc-list-item-base-
|
4
|
+
import { s as u, a as x, c as y } from "./list-item-24236190.mjs";
|
5
|
+
import "./mwc-list-item-base-6449e812.mjs";
|
6
6
|
import "./tslib.es6-c4b0f3b1.mjs";
|
7
|
-
import "./ripple-handlers-
|
7
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
8
8
|
import "./base-element-acf30176.mjs";
|
9
9
|
import "./utils-dc65fdc9.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
12
|
-
import "./class-map-
|
13
|
-
import "./
|
14
|
-
import "./style-map-e7ec6d41.mjs";
|
12
|
+
import "./class-map-4b94b017.mjs";
|
13
|
+
import "./style-map-bc3ed3e0.mjs";
|
15
14
|
import "./observer-be7b92e2.mjs";
|
16
15
|
const w = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%);--mdc-list-item-graphic-margin: 4px}::slotted(*){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 48px}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([subnav]){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host([selected]) .mdc-deprecated-list-item__graphic.material-icons,:host([activated]) .mdc-deprecated-list-item__graphic.material-icons{font-variation-settings:"FILL" 1}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;margin-right:0;border-radius:0;height:48px;font-size:0;padding:0 0 0 15px}:host([hasChildren]){flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-primary)}.expansion-header{position:relative;height:48px;width:100%;border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden;display:flex;flex-shrink:0;align-items:center}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius, 100px);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
|
17
16
|
`;
|
@@ -114,8 +113,8 @@ d([
|
|
114
113
|
r = d([
|
115
114
|
v("cv-nav-list-item")
|
116
115
|
], r);
|
117
|
-
const
|
116
|
+
const q = r;
|
118
117
|
export {
|
119
118
|
r as CovalentNavRailListItem,
|
120
|
-
|
119
|
+
q as default
|
121
120
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "8.15.0
|
3
|
+
"version": "8.15.0",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
@@ -41,11 +41,6 @@
|
|
41
41
|
"import": "./button.mjs",
|
42
42
|
"require": "./button.js"
|
43
43
|
},
|
44
|
-
"./cell": {
|
45
|
-
"types": "./cell/cell.d.ts",
|
46
|
-
"import": "./cell.mjs",
|
47
|
-
"require": "./cell.js"
|
48
|
-
},
|
49
44
|
"./checkbox": {
|
50
45
|
"types": "./checkbox/checkbox.d.ts",
|
51
46
|
"import": "./checkbox.mjs",
|
@@ -71,11 +66,6 @@
|
|
71
66
|
"import": "./circular-progress.mjs",
|
72
67
|
"require": "./circular-progress.js"
|
73
68
|
},
|
74
|
-
"./code-editor": {
|
75
|
-
"types": "./code-editor/code-editor.d.ts",
|
76
|
-
"import": "./code-editor.mjs",
|
77
|
-
"require": "./code-editor.js"
|
78
|
-
},
|
79
69
|
"./code-snippet": {
|
80
70
|
"types": "./code-snippet/code-snippet.d.ts",
|
81
71
|
"import": "./code-snippet.mjs",
|
@@ -171,11 +161,6 @@
|
|
171
161
|
"import": "./menu.mjs",
|
172
162
|
"require": "./menu.js"
|
173
163
|
},
|
174
|
-
"./notebook": {
|
175
|
-
"types": "./notebook/notebook.d.ts",
|
176
|
-
"import": "./notebook.mjs",
|
177
|
-
"require": "./notebook.js"
|
178
|
-
},
|
179
164
|
"./radio": {
|
180
165
|
"types": "./radio/radio.d.ts",
|
181
166
|
"import": "./radio.mjs",
|
package/radio-list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./tslib.es6-98719205.js"),e=require("./query-assigned-elements-f623705d.js"),u=require("./mwc-radio-base-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./tslib.es6-98719205.js"),e=require("./query-assigned-elements-f623705d.js"),u=require("./mwc-radio-base-913e02e2.js"),_=require("./property-57f6f6fe.js"),b=require("./query-680f1868.js"),p=require("./class-map-b5efe8da.js"),g=require("./if-defined-f1c45245.js"),h=require("./mwc-list-item-base-297d86b0.js"),l=require("./list-item-d72b2fff.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./observer-a096ab43.js");require("./event-options-3f5eb195.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/radio-list-item.mjs
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
import { _ as e } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as _, e as b, x as s, r as h } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { R as g } from "./mwc-radio-base-
|
3
|
+
import { R as g } from "./mwc-radio-base-4dbe9e38.mjs";
|
4
4
|
import { n as p } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as u } from "./query-d843aa92.mjs";
|
6
|
-
import { o as f } from "./class-map-
|
6
|
+
import { o as f } from "./class-map-4b94b017.mjs";
|
7
7
|
import { l as k } from "./if-defined-c367f208.mjs";
|
8
|
-
import { L as v } from "./mwc-list-item-base-
|
9
|
-
import { s as x, a as y, c as w } from "./list-item-
|
10
|
-
import "./ripple-handlers-
|
8
|
+
import { L as v } from "./mwc-list-item-base-6449e812.mjs";
|
9
|
+
import { s as x, a as y, c as w } from "./list-item-24236190.mjs";
|
10
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
11
11
|
import "./base-element-acf30176.mjs";
|
12
12
|
import "./utils-dc65fdc9.mjs";
|
13
13
|
import "./state-b5e865db.mjs";
|
14
|
-
import "./style-map-
|
15
|
-
import "./directive-daf4e9b6.mjs";
|
14
|
+
import "./style-map-bc3ed3e0.mjs";
|
16
15
|
import "./aria-property-fa2717fe.mjs";
|
17
16
|
import "./form-element-abadd335.mjs";
|
18
17
|
import "./observer-be7b92e2.mjs";
|
@@ -101,8 +100,8 @@ n.styles = [
|
|
101
100
|
n = R([
|
102
101
|
b("cv-radio-list-item")
|
103
102
|
], n);
|
104
|
-
const
|
103
|
+
const Q = n;
|
105
104
|
export {
|
106
105
|
n as CovalentRadioListItem,
|
107
|
-
|
106
|
+
Q as default
|
108
107
|
};
|
package/radio.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var d=Object.defineProperty,q=Object.getOwnPropertyDescriptor,v=(
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./query-assigned-elements-f623705d.js"),n=require("./mwc-radio-base-913e02e2.js"),l=require("./mwc-radio.css-4e140252.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./observer-a096ab43.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const c=`:host{--mdc-radio-unchecked-color: var(--mdc-theme-text-icon-on-background)}
|
2
|
+
`;var d=Object.defineProperty,q=Object.getOwnPropertyDescriptor,v=(i,r,t,o)=>{for(var e=o>1?void 0:o?q(r,t):r,s=i.length-1,a;s>=0;s--)(a=i[s])&&(e=(o?a(r,t,e):a(e))||e);return o&&e&&d(r,t,e),e};exports.CovalentRadio=class extends n.RadioBase{};exports.CovalentRadio.styles=[l.styles,u.i`${u.r(c)}`];exports.CovalentRadio=v([u.e("cv-radio")],exports.CovalentRadio);const R=exports.CovalentRadio;exports.default=R;
|
package/radio.mjs
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
import { i as a, r as c, e as l } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { R as n } from "./mwc-radio-base-
|
2
|
+
import { R as n } from "./mwc-radio-base-4dbe9e38.mjs";
|
3
3
|
import { s as v } from "./mwc-radio.css-7454bb11.mjs";
|
4
4
|
import "./tslib.es6-c4b0f3b1.mjs";
|
5
|
-
import "./ripple-handlers-
|
5
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
6
6
|
import "./base-element-acf30176.mjs";
|
7
7
|
import "./utils-dc65fdc9.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./state-b5e865db.mjs";
|
10
10
|
import "./query-d843aa92.mjs";
|
11
|
-
import "./class-map-
|
12
|
-
import "./
|
13
|
-
import "./style-map-e7ec6d41.mjs";
|
11
|
+
import "./class-map-4b94b017.mjs";
|
12
|
+
import "./style-map-bc3ed3e0.mjs";
|
14
13
|
import "./aria-property-fa2717fe.mjs";
|
15
14
|
import "./form-element-abadd335.mjs";
|
16
15
|
import "./observer-be7b92e2.mjs";
|
@@ -29,8 +28,8 @@ e.styles = [v, a`${c(d)}`];
|
|
29
28
|
e = u([
|
30
29
|
l("cv-radio")
|
31
30
|
], e);
|
32
|
-
const
|
31
|
+
const E = e;
|
33
32
|
export {
|
34
33
|
e as CovalentRadio,
|
35
|
-
|
34
|
+
E as default
|
36
35
|
};
|
@@ -4,8 +4,8 @@ import { B } from "./base-element-acf30176.mjs";
|
|
4
4
|
import { n as u } from "./property-9b6ea53b.mjs";
|
5
5
|
import { t as l } from "./state-b5e865db.mjs";
|
6
6
|
import { i as M } from "./query-d843aa92.mjs";
|
7
|
-
import { o as U } from "./class-map-
|
8
|
-
import { o as G } from "./style-map-
|
7
|
+
import { o as U } from "./class-map-4b94b017.mjs";
|
8
|
+
import { o as G } from "./style-map-bc3ed3e0.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2017 Google LLC
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const h=require("./query-assigned-elements-f623705d.js"),o=require("./tslib.es6-98719205.js"),S=require("./base-element-58a3f9ea.js"),u=require("./property-57f6f6fe.js"),l=require("./state-0974a8e5.js"),H=require("./query-680f1868.js"),D=require("./class-map-
|
1
|
+
"use strict";const h=require("./query-assigned-elements-f623705d.js"),o=require("./tslib.es6-98719205.js"),S=require("./base-element-58a3f9ea.js"),u=require("./property-57f6f6fe.js"),l=require("./state-0974a8e5.js"),H=require("./query-680f1868.js"),D=require("./class-map-b5efe8da.js"),k=require("./style-map-88d2563f.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2017 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|