@covalent/components 8.23.1 → 9.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
- package/action-ribbon.js +5 -6
- package/action-ribbon.mjs +47 -51
- package/alert.js +5 -6
- package/alert.mjs +48 -52
- package/app-shell.js +1 -2
- package/app-shell.mjs +13 -30
- package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
- package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
- package/badge.js +1 -2
- package/badge.mjs +10 -12
- package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
- package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
- package/button.js +2 -3
- package/button.mjs +18 -23
- package/card.js +8 -9
- package/card.mjs +36 -38
- package/check-list-item.js +11 -15
- package/check-list-item.mjs +53 -70
- package/checkbox.js +1 -2
- package/checkbox.mjs +15 -31
- package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
- package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
- package/chip-set.js +5 -6
- package/chip-set.mjs +73 -83
- package/chip.js +1 -1
- package/chip.mjs +4 -13
- package/circular-progress.js +1 -1
- package/circular-progress.mjs +9 -10
- package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
- package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
- package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
- package/code-editor-hT6MTCL6.js +660 -0
- package/code-editor.js +1 -1
- package/code-editor.mjs +3 -6
- package/code-snippet.js +5 -6
- package/code-snippet.mjs +235 -284
- package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
- package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
- package/dialog.js +1 -1
- package/dialog.mjs +4 -13
- package/directive-C7oCP5Bh.js +5 -0
- package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
- package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
- package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -3
- package/drawer.mjs +7 -17
- package/empty-state.js +2 -3
- package/empty-state.mjs +12 -15
- package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
- package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
- package/expansion-panel-item.js +1 -2
- package/expansion-panel-item.mjs +6 -9
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +2 -2
- package/focused-page.js +1 -2
- package/focused-page.mjs +13 -16
- package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
- package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
- package/formfield.js +6 -7
- package/formfield.mjs +19 -23
- package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
- package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
- package/full-screen-dialog.js +4 -5
- package/full-screen-dialog.mjs +13 -22
- package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
- package/html-BMgGKfr0.js +6 -0
- package/icon-button-toggle.js +11 -16
- package/icon-button-toggle.mjs +68 -78
- package/icon-button.js +6 -11
- package/icon-button.mjs +56 -66
- package/icon-check-toggle.js +6 -7
- package/icon-check-toggle.mjs +10 -23
- package/icon-radio-toggle.js +4 -5
- package/icon-radio-toggle.mjs +13 -29
- package/icon.js +1 -5
- package/icon.mjs +13 -20
- package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
- package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
- package/index.js +1 -1
- package/index.mjs +110 -150
- package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
- package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
- package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
- package/linear-progress.js +2 -3
- package/linear-progress.mjs +12 -14
- package/list-item-BZVW1fmJ.js +5 -0
- package/list-item-DCzzLVZh.mjs +11 -0
- package/list-item.js +5 -5
- package/list-item.mjs +21 -32
- package/list.js +3 -8
- package/list.mjs +18 -38
- package/menu.js +3 -8
- package/menu.mjs +18 -39
- package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
- package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
- package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
- package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
- package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
- package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
- package/mwc-icon-button.css-BtgKBOl3.js +5 -0
- package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
- package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
- package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
- package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
- package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
- package/mwc-list.css-CaMJWsDp.js +111 -0
- package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
- package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
- package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
- package/mwc-radio.css-CVMtIq-L.js +105 -0
- package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
- package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
- package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
- package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
- package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
- package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
- package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
- package/nav-list-item.js +4 -5
- package/nav-list-item.mjs +12 -23
- package/notebook-cell.js +8 -9
- package/notebook-cell.mjs +14 -29
- package/package.json +1 -1
- package/python-B8sEpp0H.js +6 -0
- package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
- package/query-BBDQWsft.mjs +15 -0
- package/query-BxDs8ftQ.js +5 -0
- package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
- package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
- package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
- package/radio-list-item.js +9 -13
- package/radio-list-item.mjs +50 -66
- package/radio.js +1 -2
- package/radio.mjs +15 -32
- package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
- package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
- package/select.js +15 -20
- package/select.mjs +196 -213
- package/side-sheet.js +1 -2
- package/side-sheet.mjs +18 -27
- package/slider-range.js +1 -1
- package/slider-range.mjs +15 -19
- package/slider.js +1 -1
- package/slider.mjs +18 -26
- package/snackbar.js +9 -10
- package/snackbar.mjs +30 -33
- package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
- package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
- package/status-dialog/status-dialog.d.ts.map +1 -1
- package/status-dialog.js +15 -37
- package/status-dialog.mjs +47 -116
- package/status-header-item.js +1 -2
- package/status-header-item.mjs +7 -8
- package/status-header.js +4 -5
- package/status-header.mjs +22 -24
- package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
- package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
- package/style.css +1 -1
- package/switch.js +6 -7
- package/switch.mjs +20 -29
- package/tab-bar.js +18 -22
- package/tab-bar.mjs +192 -205
- package/tab.js +1 -6
- package/tab.mjs +13 -31
- package/text-lockup.js +1 -2
- package/text-lockup.mjs +14 -16
- package/textarea.js +15 -19
- package/textarea.mjs +53 -68
- package/textfield-BwmiygD8.js +136 -0
- package/textfield-C6sUZIeA.mjs +927 -0
- package/textfield.js +3 -7
- package/textfield.mjs +17 -37
- package/toolbar.js +1 -2
- package/toolbar.mjs +6 -13
- package/tooltip.js +3 -4
- package/tooltip.mjs +29 -40
- package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
- package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
- package/top-app-bar-fixed.js +6 -6
- package/top-app-bar-fixed.mjs +24 -32
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -25
- package/tree-list-item.js +1 -2
- package/tree-list-item.mjs +9 -13
- package/tree-list.js +1 -2
- package/tree-list.mjs +6 -7
- package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
- package/typescript-CqVUCaiQ.js +6 -0
- package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
- package/typography.js +1 -2
- package/typography.mjs +7 -8
- package/code-editor-b36fad77.js +0 -662
- package/directive-1186bc23.js +0 -5
- package/html-b2900c6a.js +0 -6
- package/mwc-checkbox-base-02b4eb91.mjs +0 -198
- package/mwc-checkbox-base-935d9566.js +0 -41
- package/mwc-list-base-22616d0a.js +0 -111
- package/mwc-list-item-base-06d93e6e.js +0 -28
- package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
- package/mwc-radio-base-147cf999.js +0 -101
- package/mwc-radio.css-4e140252.js +0 -5
- package/mwc-radio.css-7454bb11.mjs +0 -10
- package/python-6a1f2ad7.js +0 -6
- package/query-680f1868.js +0 -5
- package/query-d843aa92.mjs +0 -25
- package/textfield-83e78e56.js +0 -133
- package/textfield-853ebae5.mjs +0 -933
- package/typescript-98fbdb3d.js +0 -6
- /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
- /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
- /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
- /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
- /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
- /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
- /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
- /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
- /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
- /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
- /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
- /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
- /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
- /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
- /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
- /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
- /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
- /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
- /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
- /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
- /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
- /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
- /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
- /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
package/chip-set.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const I=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const I=require("./query-assigned-elements-4CafVNR8.js"),c=require("./chip-BsDYOEFW.js"),d=require("./tslib.es6-CHeFCc6E.js"),S=require("./foundation-pgmPu2iJ.js"),C=require("./keyboard-CZlaSOb1.js"),E=require("./property-DYTC_2-m.js"),N=require("./query-BxDs8ftQ.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2016 Google Inc.
|
4
4
|
*
|
@@ -61,7 +61,7 @@
|
|
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 b;(function(a){a.POLITE="polite",a.ASSERTIVE="assertive"})(b||(b={}));var M="data-mdc-dom-announce";function D(a,i){T.getInstance().say(a,i)}var T=function(){function a(){this.liveRegions=new Map}return a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.prototype.say=function(i,e){var t,r,n=(t=e==null?void 0:e.priority)!==null&&t!==void 0?t:b.POLITE,o=(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document,h=this.getLiveRegion(n,o);h.textContent="",setTimeout(function(){h.textContent=i,o.addEventListener("click",s)},1);function s(){h.textContent="",o.removeEventListener("click",s)}},a.prototype.getLiveRegion=function(i,e){var t=this.liveRegions.get(e);t||(t=new Map,this.liveRegions.set(e,t));var r=t.get(i);if(r&&e.body.contains(r))return r;var n=this.createLiveRegion(i,e);return t.set(i,n),n},a.prototype.createLiveRegion=function(i,e){var t=e.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.overflow="hidden",t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live",i),t.setAttribute(M,"true"),e.body.appendChild(t),t},a}(),O=Object.defineProperty,
|
64
|
+
*/var b;(function(a){a.POLITE="polite",a.ASSERTIVE="assertive"})(b||(b={}));var M="data-mdc-dom-announce";function D(a,i){T.getInstance().say(a,i)}var T=function(){function a(){this.liveRegions=new Map}return a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.prototype.say=function(i,e){var t,r,n=(t=e==null?void 0:e.priority)!==null&&t!==void 0?t:b.POLITE,o=(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document,h=this.getLiveRegion(n,o);h.textContent="",setTimeout(function(){h.textContent=i,o.addEventListener("click",s)},1);function s(){h.textContent="",o.removeEventListener("click",s)}},a.prototype.getLiveRegion=function(i,e){var t=this.liveRegions.get(e);t||(t=new Map,this.liveRegions.set(e,t));var r=t.get(i);if(r&&e.body.contains(r))return r;var n=this.createLiveRegion(i,e);return t.set(i,n),n},a.prototype.createLiveRegion=function(i,e){var t=e.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.overflow="hidden",t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live",i),t.setAttribute(M,"true"),e.body.appendChild(t),t},a}(),O=Object.defineProperty,g=(a,i,e,t)=>{for(var r=void 0,n=a.length-1,o;n>=0;n--)(o=a[n])&&(r=o(i,e,r)||r);return r&&O(i,e,r),r};class A extends I.s{constructor(){super(...arguments),this.selectable=!1,this.multi=!1,this.label="",this.activeIndex=0,this._previousActiveIndex=-1,this.chips=[]}render(){return I.x`<span
|
65
65
|
class="mdc-evolution-chip-set"
|
66
66
|
role="${this.selectable||this.multi?"listbox":"grid"}"
|
67
67
|
aria-label="${this.label}"
|
@@ -70,7 +70,6 @@
|
|
70
70
|
<span class="mdc-evolution-chip-set__chips" role="presentation">
|
71
71
|
<slot></slot>
|
72
72
|
</span>
|
73
|
-
</span>`}async updated(i){super.updated(i),await this.updateComplete,this.activeIndex!=this._previousActiveIndex&&this.mdcFoundation.setChipSelected(this.activeIndex,c.MDCChipActionType.PRIMARY,!0)}firstUpdated(i){var r;super.firstUpdated(i);const e=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"),t=(e==null?void 0:e.assignedElements().filter(n=>n instanceof c.CovalentChip))??[];for(let n=0;n<t.length;n++){const o=t[n];this.chips.push(o)}this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new R(this.createAdapter()),this.mdcFoundation.init()}connectedCallback(){super.connectedCallback(),this.addEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.addEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.addEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.removeEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.removeEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}createAdapter(){return{announceMessage:D,emitEvent:(i,e)=>this.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:e})),getAttribute:i=>this.mdcRoot.getAttribute(i),getChipActionsAtIndex:i=>this.chips[i].getActions(),getChipCount:()=>this.chips.length,getChipIdAtIndex:i=>this.chips[i].getElementID(),getChipIndexById:i=>this.chips.findIndex(e=>e.getElementID()===i),isChipFocusableAtIndex:(i,e)=>this.chips[i].isActionFocusable(e),isChipSelectableAtIndex:(i,e)=>this.chips[i].isActionSelectable(e),isChipSelectedAtIndex:(i,e)=>this.chips[i].isActionSelected(e),removeChipAtIndex:i=>this.chips[i].remove(),setChipFocusAtIndex:(i,e,t)=>this.chips[i].setActionFocus(e,t),setChipSelectedAtIndex:(i,e,t)=>this.chips[i].setActionSelected(e,t),startChipAnimationAtIndex:(i,e)=>this.chips[i].startAnimation(e)}}_handleChipAnimation(i){this.mdcFoundation.handleChipAnimation(i)}_handleChipInteraction(i){this.mdcFoundation.handleChipInteraction(i)}_handleChipNavigation(i){this.mdcFoundation.handleChipNavigation(i)}}g([N.i(".mdc-evolution-chip-set")],A.prototype,"mdcRoot"
|
74
|
-
|
75
|
-
|
76
|
-
`];exports.CovalentChipSet=P([I.e("cv-chip-set")],exports.CovalentChipSet);const q=exports.CovalentChipSet;exports.default=q;
|
73
|
+
</span>`}async updated(i){super.updated(i),await this.updateComplete,this.activeIndex!=this._previousActiveIndex&&this.mdcFoundation.setChipSelected(this.activeIndex,c.MDCChipActionType.PRIMARY,!0)}firstUpdated(i){var r;super.firstUpdated(i);const e=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"),t=(e==null?void 0:e.assignedElements().filter(n=>n instanceof c.CovalentChip))??[];for(let n=0;n<t.length;n++){const o=t[n];this.chips.push(o)}this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new R(this.createAdapter()),this.mdcFoundation.init()}connectedCallback(){super.connectedCallback(),this.addEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.addEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.addEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.removeEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.removeEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}createAdapter(){return{announceMessage:D,emitEvent:(i,e)=>this.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:e})),getAttribute:i=>this.mdcRoot.getAttribute(i),getChipActionsAtIndex:i=>this.chips[i].getActions(),getChipCount:()=>this.chips.length,getChipIdAtIndex:i=>this.chips[i].getElementID(),getChipIndexById:i=>this.chips.findIndex(e=>e.getElementID()===i),isChipFocusableAtIndex:(i,e)=>this.chips[i].isActionFocusable(e),isChipSelectableAtIndex:(i,e)=>this.chips[i].isActionSelectable(e),isChipSelectedAtIndex:(i,e)=>this.chips[i].isActionSelected(e),removeChipAtIndex:i=>this.chips[i].remove(),setChipFocusAtIndex:(i,e,t)=>this.chips[i].setActionFocus(e,t),setChipSelectedAtIndex:(i,e,t)=>this.chips[i].setActionSelected(e,t),startChipAnimationAtIndex:(i,e)=>this.chips[i].startAnimation(e)}}_handleChipAnimation(i){this.mdcFoundation.handleChipAnimation(i)}_handleChipInteraction(i){this.mdcFoundation.handleChipInteraction(i)}_handleChipNavigation(i){this.mdcFoundation.handleChipNavigation(i)}}g([N.i(".mdc-evolution-chip-set")],A.prototype,"mdcRoot");g([E.n({type:Boolean,reflect:!0})],A.prototype,"selectable");g([E.n({type:Boolean,reflect:!0})],A.prototype,"multi");g([E.n()],A.prototype,"label");g([E.n({type:Number})],A.prototype,"activeIndex");const L=".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:4px 0 4px 8px}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}";var _=Object.defineProperty,w=Object.getOwnPropertyDescriptor,B=(a,i,e,t)=>{for(var r=t>1?void 0:t?w(i,e):i,n=a.length-1,o;n>=0;n--)(o=a[n])&&(r=(t?o(i,e,r):o(r))||r);return t&&r&&_(i,e,r),r};exports.CovalentChipSet=class extends A{};exports.CovalentChipSet.styles=[I.i`
|
74
|
+
${I.r(L)}
|
75
|
+
`];exports.CovalentChipSet=B([I.e("cv-chip-set")],exports.CovalentChipSet);const P=exports.CovalentChipSet;exports.default=P;
|
package/chip-set.mjs
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
import { s as M, x as D, i as
|
2
|
-
import { M as E, a as A, b as T, C as w, c as v } from "./chip-
|
3
|
-
import { a as P, b as F, c as I } from "./tslib.es6-
|
4
|
-
import { M as B } from "./foundation-
|
5
|
-
import { K as l } from "./keyboard-
|
6
|
-
import { n as y } from "./property-
|
7
|
-
import { i as U } from "./query-
|
8
|
-
import "./utils-dc65fdc9.mjs";
|
9
|
-
import "./class-map-6e504a9a.mjs";
|
10
|
-
import "./directive-daf4e9b6.mjs";
|
11
|
-
import "./_commonjsHelpers-2f131a27.mjs";
|
1
|
+
import { s as M, x as D, i as L, r as O, e as _ } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { M as E, a as A, b as T, C as w, c as v } from "./chip-C8L37ovG.mjs";
|
3
|
+
import { a as P, b as F, c as I } from "./tslib.es6-pPsSiLLK.mjs";
|
4
|
+
import { M as B } from "./foundation-PL3XY-m_.mjs";
|
5
|
+
import { K as l } from "./keyboard-BLpVBEDM.mjs";
|
6
|
+
import { n as y } from "./property-DJzm_oB9.mjs";
|
7
|
+
import { i as U } from "./query-BBDQWsft.mjs";
|
12
8
|
/**
|
13
9
|
* @license
|
14
10
|
* Copyright 2016 Google Inc.
|
@@ -120,28 +116,28 @@ var $ = (
|
|
120
116
|
enumerable: !1,
|
121
117
|
configurable: !0
|
122
118
|
}), i.prototype.handleChipAnimation = function(t) {
|
123
|
-
var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete,
|
119
|
+
var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete, h = e.addedAnnouncement, s = e.removedAnnouncement, p = this.adapter.getChipIndexById(r);
|
124
120
|
if (n === E.EXIT && o) {
|
125
|
-
s && this.adapter.announceMessage(s), this.removeAfterAnimation(
|
121
|
+
s && this.adapter.announceMessage(s), this.removeAfterAnimation(p, r);
|
126
122
|
return;
|
127
123
|
}
|
128
|
-
if (n === E.ENTER && o &&
|
129
|
-
this.adapter.announceMessage(
|
124
|
+
if (n === E.ENTER && o && h) {
|
125
|
+
this.adapter.announceMessage(h);
|
130
126
|
return;
|
131
127
|
}
|
132
128
|
}, i.prototype.handleChipInteraction = function(t) {
|
133
|
-
var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable,
|
129
|
+
var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable, h = e.isSelected, s = e.shouldRemove, p = this.adapter.getChipIndexById(n);
|
134
130
|
if (s) {
|
135
|
-
this.removeChip(
|
131
|
+
this.removeChip(p);
|
136
132
|
return;
|
137
133
|
}
|
138
|
-
this.focusChip(
|
139
|
-
chipIndex:
|
134
|
+
this.focusChip(p, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
|
135
|
+
chipIndex: p,
|
140
136
|
chipID: n
|
141
|
-
}), o && this.setSelection(
|
137
|
+
}), o && this.setSelection(p, r, !h);
|
142
138
|
}, i.prototype.handleChipNavigation = function(t) {
|
143
|
-
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL,
|
144
|
-
if (
|
139
|
+
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, h = e.source, s = this.adapter.getChipIndexById(r), p = n === l.ARROW_RIGHT && !o || n === l.ARROW_LEFT && o;
|
140
|
+
if (p) {
|
145
141
|
this.focusNextChipFrom(s + 1);
|
146
142
|
return;
|
147
143
|
}
|
@@ -151,37 +147,36 @@ var $ = (
|
|
151
147
|
return;
|
152
148
|
}
|
153
149
|
if (n === l.ARROW_DOWN) {
|
154
|
-
this.focusNextChipFrom(s + 1,
|
150
|
+
this.focusNextChipFrom(s + 1, h);
|
155
151
|
return;
|
156
152
|
}
|
157
153
|
if (n === l.ARROW_UP) {
|
158
|
-
this.focusPrevChipFrom(s - 1,
|
154
|
+
this.focusPrevChipFrom(s - 1, h);
|
159
155
|
return;
|
160
156
|
}
|
161
157
|
if (n === l.HOME) {
|
162
|
-
this.focusNextChipFrom(0,
|
158
|
+
this.focusNextChipFrom(0, h);
|
163
159
|
return;
|
164
160
|
}
|
165
161
|
if (n === l.END) {
|
166
|
-
this.focusPrevChipFrom(this.adapter.getChipCount() - 1,
|
162
|
+
this.focusPrevChipFrom(this.adapter.getChipCount() - 1, h);
|
167
163
|
return;
|
168
164
|
}
|
169
165
|
}, i.prototype.getSelectedChipIndexes = function() {
|
170
166
|
for (var t, e, r = /* @__PURE__ */ new Set(), n = this.adapter.getChipCount(), o = 0; o < n; o++) {
|
171
|
-
var
|
167
|
+
var h = this.adapter.getChipActionsAtIndex(o);
|
172
168
|
try {
|
173
|
-
for (var s = (t = void 0, I(
|
174
|
-
var c =
|
169
|
+
for (var s = (t = void 0, I(h)), p = s.next(); !p.done; p = s.next()) {
|
170
|
+
var c = p.value;
|
175
171
|
this.adapter.isChipSelectedAtIndex(o, c) && r.add(o);
|
176
172
|
}
|
177
173
|
} catch (u) {
|
178
174
|
t = { error: u };
|
179
175
|
} finally {
|
180
176
|
try {
|
181
|
-
|
177
|
+
p && !p.done && (e = s.return) && e.call(s);
|
182
178
|
} finally {
|
183
|
-
if (t)
|
184
|
-
throw t.error;
|
179
|
+
if (t) throw t.error;
|
185
180
|
}
|
186
181
|
}
|
187
182
|
}
|
@@ -220,48 +215,46 @@ var $ = (
|
|
220
215
|
}, i.prototype.getFirstFocusableAction = function(t, e) {
|
221
216
|
var r, n;
|
222
217
|
try {
|
223
|
-
for (var o = I(e),
|
224
|
-
var s =
|
218
|
+
for (var o = I(e), h = o.next(); !h.done; h = o.next()) {
|
219
|
+
var s = h.value;
|
225
220
|
if (this.adapter.isChipFocusableAtIndex(t, s))
|
226
221
|
return s;
|
227
222
|
}
|
228
|
-
} catch (
|
229
|
-
r = { error:
|
223
|
+
} catch (p) {
|
224
|
+
r = { error: p };
|
230
225
|
} finally {
|
231
226
|
try {
|
232
|
-
|
227
|
+
h && !h.done && (n = o.return) && n.call(o);
|
233
228
|
} finally {
|
234
|
-
if (r)
|
235
|
-
throw r.error;
|
229
|
+
if (r) throw r.error;
|
236
230
|
}
|
237
231
|
}
|
238
232
|
return null;
|
239
233
|
}, i.prototype.getMatchingFocusableAction = function(t, e, r) {
|
240
|
-
var n, o,
|
234
|
+
var n, o, h = null;
|
241
235
|
try {
|
242
|
-
for (var s = I(e),
|
243
|
-
var c =
|
244
|
-
if (this.adapter.isChipFocusableAtIndex(t, c) && (
|
245
|
-
return
|
236
|
+
for (var s = I(e), p = s.next(); !p.done; p = s.next()) {
|
237
|
+
var c = p.value;
|
238
|
+
if (this.adapter.isChipFocusableAtIndex(t, c) && (h = c), h === r)
|
239
|
+
return h;
|
246
240
|
}
|
247
241
|
} catch (u) {
|
248
242
|
n = { error: u };
|
249
243
|
} finally {
|
250
244
|
try {
|
251
|
-
|
245
|
+
p && !p.done && (o = s.return) && o.call(s);
|
252
246
|
} finally {
|
253
|
-
if (n)
|
254
|
-
throw n.error;
|
247
|
+
if (n) throw n.error;
|
255
248
|
}
|
256
249
|
}
|
257
|
-
return
|
250
|
+
return h;
|
258
251
|
}, i.prototype.focusChip = function(t, e, r) {
|
259
252
|
var n, o;
|
260
253
|
this.adapter.setChipFocusAtIndex(t, e, r);
|
261
|
-
for (var
|
262
|
-
var
|
254
|
+
for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
|
255
|
+
var p = this.adapter.getChipActionsAtIndex(s);
|
263
256
|
try {
|
264
|
-
for (var c = (n = void 0, I(
|
257
|
+
for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
|
265
258
|
var m = u.value;
|
266
259
|
m === e && s === t || this.adapter.setChipFocusAtIndex(s, m, A.NOT_FOCUSABLE);
|
267
260
|
}
|
@@ -271,8 +264,7 @@ var $ = (
|
|
271
264
|
try {
|
272
265
|
u && !u.done && (o = c.return) && o.call(c);
|
273
266
|
} finally {
|
274
|
-
if (n)
|
275
|
-
throw n.error;
|
267
|
+
if (n) throw n.error;
|
276
268
|
}
|
277
269
|
}
|
278
270
|
}
|
@@ -285,10 +277,10 @@ var $ = (
|
|
285
277
|
chipIndex: t,
|
286
278
|
isSelected: r
|
287
279
|
}), !this.supportsMultiSelect())
|
288
|
-
for (var
|
289
|
-
var
|
280
|
+
for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
|
281
|
+
var p = this.adapter.getChipActionsAtIndex(s);
|
290
282
|
try {
|
291
|
-
for (var c = (n = void 0, I(
|
283
|
+
for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
|
292
284
|
var m = u.value;
|
293
285
|
m === e && s === t || this.adapter.setChipSelectedAtIndex(s, m, !1);
|
294
286
|
}
|
@@ -298,8 +290,7 @@ var $ = (
|
|
298
290
|
try {
|
299
291
|
u && !u.done && (o = c.return) && o.call(c);
|
300
292
|
} finally {
|
301
|
-
if (n)
|
302
|
-
throw n.error;
|
293
|
+
if (n) throw n.error;
|
303
294
|
}
|
304
295
|
}
|
305
296
|
}
|
@@ -365,9 +356,9 @@ var R;
|
|
365
356
|
})(R || (R = {}));
|
366
357
|
var W = "data-mdc-dom-announce";
|
367
358
|
function V(a, i) {
|
368
|
-
|
359
|
+
G.getInstance().say(a, i);
|
369
360
|
}
|
370
|
-
var
|
361
|
+
var G = (
|
371
362
|
/** @class */
|
372
363
|
function() {
|
373
364
|
function a() {
|
@@ -376,12 +367,12 @@ var j = (
|
|
376
367
|
return a.getInstance = function() {
|
377
368
|
return a.instance || (a.instance = new a()), a.instance;
|
378
369
|
}, a.prototype.say = function(i, t) {
|
379
|
-
var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document,
|
380
|
-
|
381
|
-
|
370
|
+
var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document, h = this.getLiveRegion(n, o);
|
371
|
+
h.textContent = "", setTimeout(function() {
|
372
|
+
h.textContent = i, o.addEventListener("click", s);
|
382
373
|
}, 1);
|
383
374
|
function s() {
|
384
|
-
|
375
|
+
h.textContent = "", o.removeEventListener("click", s);
|
385
376
|
}
|
386
377
|
}, a.prototype.getLiveRegion = function(i, t) {
|
387
378
|
var e = this.liveRegions.get(t);
|
@@ -396,10 +387,10 @@ var j = (
|
|
396
387
|
return e.style.position = "absolute", e.style.top = "-9999px", e.style.left = "-9999px", e.style.height = "1px", e.style.overflow = "hidden", e.setAttribute("aria-atomic", "true"), e.setAttribute("aria-live", i), e.setAttribute(W, "true"), t.body.appendChild(e), e;
|
397
388
|
}, a;
|
398
389
|
}()
|
399
|
-
),
|
400
|
-
for (var r =
|
401
|
-
(o = a[n]) && (r =
|
402
|
-
return
|
390
|
+
), j = Object.defineProperty, g = (a, i, t, e) => {
|
391
|
+
for (var r = void 0, n = a.length - 1, o; n >= 0; n--)
|
392
|
+
(o = a[n]) && (r = o(i, t, r) || r);
|
393
|
+
return r && j(i, t, r), r;
|
403
394
|
};
|
404
395
|
class C extends M {
|
405
396
|
constructor() {
|
@@ -498,38 +489,37 @@ class C extends M {
|
|
498
489
|
}
|
499
490
|
g([
|
500
491
|
U(".mdc-evolution-chip-set")
|
501
|
-
], C.prototype, "mdcRoot"
|
492
|
+
], C.prototype, "mdcRoot");
|
502
493
|
g([
|
503
494
|
y({ type: Boolean, reflect: !0 })
|
504
|
-
], C.prototype, "selectable"
|
495
|
+
], C.prototype, "selectable");
|
505
496
|
g([
|
506
497
|
y({ type: Boolean, reflect: !0 })
|
507
|
-
], C.prototype, "multi"
|
498
|
+
], C.prototype, "multi");
|
508
499
|
g([
|
509
500
|
y()
|
510
|
-
], C.prototype, "label"
|
501
|
+
], C.prototype, "label");
|
511
502
|
g([
|
512
503
|
y({ type: Number })
|
513
|
-
], C.prototype, "activeIndex"
|
514
|
-
const
|
515
|
-
|
516
|
-
var
|
517
|
-
for (var r = e > 1 ? void 0 : e ? Y(i, t) : i, n = a.length - 1, o; n >= 0; n--)
|
504
|
+
], C.prototype, "activeIndex");
|
505
|
+
const H = ".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:4px 0 4px 8px}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}";
|
506
|
+
var k = Object.defineProperty, K = Object.getOwnPropertyDescriptor, X = (a, i, t, e) => {
|
507
|
+
for (var r = e > 1 ? void 0 : e ? K(i, t) : i, n = a.length - 1, o; n >= 0; n--)
|
518
508
|
(o = a[n]) && (r = (e ? o(i, t, r) : o(r)) || r);
|
519
|
-
return e && r &&
|
509
|
+
return e && r && k(i, t, r), r;
|
520
510
|
};
|
521
511
|
let x = class extends C {
|
522
512
|
};
|
523
513
|
x.styles = [
|
524
|
-
|
525
|
-
${
|
514
|
+
L`
|
515
|
+
${O(H)}
|
526
516
|
`
|
527
517
|
];
|
528
|
-
x =
|
518
|
+
x = X([
|
529
519
|
_("cv-chip-set")
|
530
520
|
], x);
|
531
|
-
const
|
521
|
+
const et = x;
|
532
522
|
export {
|
533
523
|
x as CovalentChipSet,
|
534
|
-
|
524
|
+
et as default
|
535
525
|
};
|
package/chip.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-4CafVNR8.js");const e=require("./chip-BsDYOEFW.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
|
package/chip.mjs
CHANGED
@@ -1,15 +1,6 @@
|
|
1
|
-
import "./query-assigned-elements-
|
2
|
-
import { C as
|
3
|
-
import "./utils-dc65fdc9.mjs";
|
4
|
-
import "./tslib.es6-c4b0f3b1.mjs";
|
5
|
-
import "./keyboard-983b121c.mjs";
|
6
|
-
import "./foundation-2334d146.mjs";
|
7
|
-
import "./property-9b6ea53b.mjs";
|
8
|
-
import "./query-d843aa92.mjs";
|
9
|
-
import "./class-map-6e504a9a.mjs";
|
10
|
-
import "./directive-daf4e9b6.mjs";
|
11
|
-
import "./_commonjsHelpers-2f131a27.mjs";
|
1
|
+
import "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { C as e, d as p } from "./chip-C8L37ovG.mjs";
|
12
3
|
export {
|
13
|
-
|
14
|
-
|
4
|
+
e as CovalentChip,
|
5
|
+
p as default
|
15
6
|
};
|
package/circular-progress.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-CHeFCc6E.js"),m=require("./aria-property-Dl2ZKBbP.js"),a=require("./query-assigned-elements-4CafVNR8.js"),d=require("./property-DYTC_2-m.js"),g=require("./class-map-C8G1ALWK.js"),p=require("./if-defined-D8C6ewRn.js"),u=require("./style-map-BJBXlSqn.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2020 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
package/circular-progress.mjs
CHANGED
@@ -1,11 +1,10 @@
|
|
1
|
-
import { _ as o } from "./tslib.es6-
|
2
|
-
import { a as g } from "./aria-property-
|
3
|
-
import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-
|
4
|
-
import { n } from "./property-
|
5
|
-
import { o as _ } from "./class-map-
|
6
|
-
import { l as m } from "./if-defined-
|
7
|
-
import { o as y } from "./style-map-
|
8
|
-
import "./directive-daf4e9b6.mjs";
|
1
|
+
import { _ as o } from "./tslib.es6-pPsSiLLK.mjs";
|
2
|
+
import { a as g } from "./aria-property-6O5bK0tV.mjs";
|
3
|
+
import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-DCt2xozt.mjs";
|
4
|
+
import { n } from "./property-DJzm_oB9.mjs";
|
5
|
+
import { o as _ } from "./class-map-C1SJpero.mjs";
|
6
|
+
import { l as m } from "./if-defined-BsNkRMMG.mjs";
|
7
|
+
import { o as y } from "./style-map-CCsABR5m.mjs";
|
9
8
|
/**
|
10
9
|
* @license
|
11
10
|
* Copyright 2020 Google LLC
|
@@ -147,8 +146,8 @@ l.styles = [b];
|
|
147
146
|
l = k([
|
148
147
|
f("cv-circular-progress")
|
149
148
|
], l);
|
150
|
-
const
|
149
|
+
const D = l;
|
151
150
|
export {
|
152
151
|
l as CovalentCircularProgress,
|
153
|
-
|
152
|
+
D as default
|
154
153
|
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { T as a } from "./query-assigned-elements-
|
2
|
-
import { e as d, i as h, t as l } from "./directive-
|
1
|
+
import { T as a } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { e as d, i as h, t as l } from "./directive-oAbCiebi.mjs";
|
3
3
|
/**
|
4
4
|
* @license
|
5
5
|
* Copyright 2018 Google LLC
|
@@ -8,8 +8,7 @@ import { e as d, i as h, t as l } from "./directive-daf4e9b6.mjs";
|
|
8
8
|
const v = d(class extends h {
|
9
9
|
constructor(e) {
|
10
10
|
var i;
|
11
|
-
if (super(e), e.type !== l.ATTRIBUTE || e.name !== "class" || ((i = e.strings) === null || i === void 0 ? void 0 : i.length) > 2)
|
12
|
-
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
11
|
+
if (super(e), e.type !== l.ATTRIBUTE || e.name !== "class" || ((i = e.strings) === null || i === void 0 ? void 0 : i.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
13
12
|
}
|
14
13
|
render(e) {
|
15
14
|
return " " + Object.keys(e).filter((i) => e[i]).join(" ") + " ";
|
@@ -18,8 +17,7 @@ const v = d(class extends h {
|
|
18
17
|
var s, r;
|
19
18
|
if (this.it === void 0) {
|
20
19
|
this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((t) => t !== "")));
|
21
|
-
for (const t in i)
|
22
|
-
i[t] && !(!((s = this.nt) === null || s === void 0) && s.has(t)) && this.it.add(t);
|
20
|
+
for (const t in i) i[t] && !(!((s = this.nt) === null || s === void 0) && s.has(t)) && this.it.add(t);
|
23
21
|
return this.render(i);
|
24
22
|
}
|
25
23
|
const n = e.element.classList;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const a=require("./query-assigned-elements-
|
1
|
+
"use strict";const a=require("./query-assigned-elements-4CafVNR8.js"),o=require("./directive-C7oCP5Bh.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|