@esri/calcite-app-components
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -6,2 +6,8 @@ # Changelog | ||
### [5.1.1](https://github.com/Esri/calcite-app-components/compare/v5.1.0...v5.1.1) (2020-01-28) | ||
### Bug Fixes | ||
- **block:** fix block toggling in Edge. ([#785](https://github.com/Esri/calcite-app-components/issues/785)) ([6e9ad73](https://github.com/Esri/calcite-app-components/commit/6e9ad730bb4beb97adc4290617b8e3a31852d6f1)), closes [#763](https://github.com/Esri/calcite-app-components/issues/763) | ||
## [5.1.0](https://github.com/Esri/calcite-app-components/compare/v5.0.0...v5.1.0) (2020-01-21) | ||
@@ -8,0 +14,0 @@ |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as t}from"./p-b2d52e2a.js";e().then(e=>t([["p-zyd4vq3b",[[1,"calcite-tip",{dismissed:[1028],nonDismissible:[516,"non-dismissible"],heading:[1],selected:[516],textClose:[1,"text-close"],theme:[513]}],[1,"calcite-tip-manager",{closed:[516],textClose:[1,"text-close"],textDefaultTitle:[513,"text-default-title"],textNext:[1,"text-next"],textPaginationLabel:[513,"text-pagination-label"],textPrevious:[1,"text-previous"],theme:[513],selectedIndex:[32],tips:[32],total:[32],direction:[32],groupTitle:[32],nextTip:[64],previousTip:[64]}],[1,"calcite-tip-group",{textGroupTitle:[513,"text-group-title"]}]]],["p-eltgzwqw",[[1,"calcite-block-section",{open:[516],text:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],toggleDisplay:[513,"toggle-display"]}],[1,"calcite-block",{collapsible:[4],disabled:[516],heading:[1],open:[516],loading:[516],summary:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],theme:[513]}]]],["p-g5uyutzr",[[1,"calcite-pick-list",{compact:[516],disabled:[516],filterEnabled:[516,"filter-enabled"],loading:[516],multiple:[516],textFilterPlaceholder:[513,"text-filter-placeholder"],selectedValues:[32],dataForFilter:[32],getSelectedItems:[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsUpdated","calciteListItemPropsUpdatedHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]]]],["p-ddgfjcxh",[[1,"calcite-value-list",{compact:[516],disabled:[516],dragEnabled:[516,"drag-enabled"],filterEnabled:[516,"filter-enabled"],loading:[516],multiple:[516],textFilterPlaceholder:[513,"text-filter-placeholder"],selectedValues:[32],dataForFilter:[32],getSelectedItems:[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsUpdated","calciteListItemPropsUpdatedHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]]]],["p-shkvqrdk",[[1,"calcite-pick-list-item",{compact:[516],disabled:[516],disableDeselect:[4,"disable-deselect"],icon:[513],metadata:[16],selected:[1540],textDescription:[513,"text-description"],textLabel:[513,"text-label"],value:[513],toggleSelected:[64]}]]],["p-kjfnrhzs",[[1,"calcite-value-list-item",{compact:[516],disabled:[516],disableDeselect:[4,"disable-deselect"],handleActivated:[1028,"handle-activated"],icon:[513],metadata:[16],selected:[1540],textLabel:[513,"text-label"],textDescription:[513,"text-description"],value:[513],toggleSelected:[64]}]]],["p-5cy2prs0",[[1,"calcite-shell",{theme:[513]}],[1,"calcite-shell-panel",{collapsed:[516],detached:[516],detachedScale:[1,"detached-scale"],layout:[513]}]]],["p-loduz6ue",[[1,"calcite-pick-list-group",{textGroupTitle:[513,"text-group-title"]}]]],["p-yh6khk0x",[[1,"calcite-filter",{data:[16],textLabel:[1,"text-label"],textPlaceholder:[1,"text-placeholder"],empty:[32]}]]],["p-cspuuvy5",[[1,"calcite-action-bar",{expand:[516],expanded:[516],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],layout:[513],theme:[513]}],[1,"calcite-action-pad",{expand:[516],expanded:[516],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],layout:[513],theme:[513]}],[1,"calcite-action-group"],[1,"calcite-action",{appearance:[513],active:[516],compact:[516],disabled:[516],indicator:[516],label:[1],loading:[516],text:[1],textEnabled:[516,"text-enabled"],theme:[513],setFocus:[64]}]]],["p-ihb2brlv",[[1,"calcite-flow-item",{beforeBack:[16],disabled:[516],heightScale:[513,"height-scale"],heading:[1],loading:[516],menuOpen:[516,"menu-open"],showBackButton:[4,"show-back-button"],summary:[1],textBack:[1,"text-back"],textClose:[1,"text-close"],textOpen:[1,"text-open"],theme:[513]}],[1,"calcite-flow",{theme:[513],flowCount:[32],flowDirection:[32],flows:[32],back:[64]},[[0,"calciteFlowItemBackClick","handleCalciteFlowItemBackClick"]]],[1,"calcite-panel",{dismissed:[1540],disabled:[516],dismissible:[516],heightScale:[513,"height-scale"],loading:[516],textClose:[1,"text-close"],theme:[513],setFocus:[64]}]]]],e)); | ||
import{p as e,b as t}from"./p-24078e83.js";e().then(e=>t([["p-w0hmxyyk",[[1,"calcite-tip",{dismissed:[1028],nonDismissible:[516,"non-dismissible"],heading:[1],selected:[516],textClose:[1,"text-close"],theme:[513]}],[1,"calcite-tip-manager",{closed:[516],textClose:[1,"text-close"],textDefaultTitle:[513,"text-default-title"],textNext:[1,"text-next"],textPaginationLabel:[513,"text-pagination-label"],textPrevious:[1,"text-previous"],theme:[513],selectedIndex:[32],tips:[32],total:[32],direction:[32],groupTitle:[32],nextTip:[64],previousTip:[64]}],[1,"calcite-tip-group",{textGroupTitle:[513,"text-group-title"]}]]],["p-lb4owsc0",[[1,"calcite-block-section",{open:[516],text:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],toggleDisplay:[513,"toggle-display"]}],[1,"calcite-block",{collapsible:[4],disabled:[516],heading:[1],open:[516],loading:[516],summary:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],theme:[513]}]]],["p-afcdvj4t",[[1,"calcite-pick-list",{compact:[516],disabled:[516],filterEnabled:[516,"filter-enabled"],loading:[516],multiple:[516],textFilterPlaceholder:[513,"text-filter-placeholder"],selectedValues:[32],dataForFilter:[32],getSelectedItems:[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsUpdated","calciteListItemPropsUpdatedHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]]]],["p-md5upvmx",[[1,"calcite-value-list",{compact:[516],disabled:[516],dragEnabled:[516,"drag-enabled"],filterEnabled:[516,"filter-enabled"],loading:[516],multiple:[516],textFilterPlaceholder:[513,"text-filter-placeholder"],selectedValues:[32],dataForFilter:[32],getSelectedItems:[64]},[[0,"calciteListItemChange","calciteListItemChangeHandler"],[0,"calciteListItemPropsUpdated","calciteListItemPropsUpdatedHandler"],[0,"calciteListItemValueChange","calciteListItemValueChangeHandler"]]]]],["p-xnfq7t4i",[[1,"calcite-pick-list-item",{compact:[516],disabled:[516],disableDeselect:[4,"disable-deselect"],icon:[513],metadata:[16],selected:[1540],textDescription:[513,"text-description"],textLabel:[513,"text-label"],value:[513],toggleSelected:[64]}]]],["p-5tz72iac",[[1,"calcite-value-list-item",{compact:[516],disabled:[516],disableDeselect:[4,"disable-deselect"],handleActivated:[1028,"handle-activated"],icon:[513],metadata:[16],selected:[1540],textLabel:[513,"text-label"],textDescription:[513,"text-description"],value:[513],toggleSelected:[64]}]]],["p-deugelv9",[[1,"calcite-shell",{theme:[513]}],[1,"calcite-shell-panel",{collapsed:[516],detached:[516],detachedScale:[1,"detached-scale"],layout:[513]}]]],["p-uxcqacai",[[1,"calcite-pick-list-group",{textGroupTitle:[513,"text-group-title"]}]]],["p-bwqiz0t6",[[1,"calcite-filter",{data:[16],textLabel:[1,"text-label"],textPlaceholder:[1,"text-placeholder"],empty:[32]}]]],["p-ytep1l6u",[[1,"calcite-action-bar",{expand:[516],expanded:[516],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],layout:[513],theme:[513]}],[1,"calcite-action-pad",{expand:[516],expanded:[516],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],layout:[513],theme:[513]}],[1,"calcite-action-group"],[1,"calcite-action",{appearance:[513],active:[516],compact:[516],disabled:[516],indicator:[516],label:[1],loading:[516],text:[1],textEnabled:[516,"text-enabled"],theme:[513],setFocus:[64]}]]],["p-ptm7eddm",[[1,"calcite-flow-item",{beforeBack:[16],disabled:[516],heightScale:[513,"height-scale"],heading:[1],loading:[516],menuOpen:[516,"menu-open"],showBackButton:[4,"show-back-button"],summary:[1],textBack:[1,"text-back"],textClose:[1,"text-close"],textOpen:[1,"text-open"],theme:[513]}],[1,"calcite-flow",{theme:[513],flowCount:[32],flowDirection:[32],flows:[32],back:[64]},[[0,"calciteFlowItemBackClick","handleCalciteFlowItemBackClick"]]],[1,"calcite-panel",{dismissed:[1540],disabled:[516],dismissible:[516],heightScale:[513,"height-scale"],loading:[516],textClose:[1,"text-close"],theme:[513],setFocus:[64]}]]]],e)); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
const dom = require('./dom-2c0777cc.js'); | ||
@@ -8,0 +8,0 @@ const index$1 = require('./index-4c407188.js'); |
'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
@@ -5,0 +5,0 @@ index.patchBrowser().then(options => { |
@@ -5,4 +5,4 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const CalciteScrim = require('./CalciteScrim-c9471e8a.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
const CalciteScrim = require('./CalciteScrim-3e6fc0be.js'); | ||
const dom = require('./dom-2c0777cc.js'); | ||
@@ -88,8 +88,7 @@ const guid = require('./guid-d8484e41.js'); | ||
const slottedControl = el.querySelector(`[slot=${"control" /* control */}]`); | ||
const hasContent = el.children.length > (slottedControl ? 1 : 0); | ||
const headerNode = (index.h("div", { class: CSS.headerContainer }, collapsible ? (index.h("button", { "aria-label": toggleLabel, class: CSS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, slottedControl ? null : (index.h("calcite-icon", { scale: "s", icon: open ? ICONS.close : ICONS.open })))) : (headerContent), loading ? (index.h("calcite-loader", { inline: true, "is-active": true })) : (index.h("slot", { name: "control" /* control */ })))); | ||
return (index.h(index.Host, { tabIndex: disabled ? -1 : null }, index.h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, index.h("div", { class: CSS.content, hidden: !hasContent || !open }, index.h(CalciteScrim.CalciteScrim, { loading: loading, disabled: disabled }, index.h("slot", null)))))); | ||
return (index.h(index.Host, { tabIndex: disabled ? -1 : null }, index.h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, index.h("div", { class: CSS.content, hidden: !open }, index.h(CalciteScrim.CalciteScrim, { loading: loading, disabled: disabled }, index.h("slot", null)))))); | ||
} | ||
get el() { return index.getElement(this); } | ||
static get style() { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half);position:relative}::slotted([slot=control]){position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; } | ||
static get style() { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{position:relative}::slotted(*){padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half)}::slotted([slot=control]){padding:unset;position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; } | ||
}; | ||
@@ -96,0 +95,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index$1 = require('./index-fb8f7d12.js'); | ||
const index$1 = require('./index-4dcdb570.js'); | ||
const lodash = require('./lodash-ec33c868.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,4 +5,4 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const CalciteScrim = require('./CalciteScrim-c9471e8a.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
const CalciteScrim = require('./CalciteScrim-3e6fc0be.js'); | ||
const dom = require('./dom-2c0777cc.js'); | ||
@@ -9,0 +9,0 @@ const index$1 = require('./index-4c407188.js'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
@@ -8,0 +8,0 @@ const CSS = { |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index$1 = require('./index-fb8f7d12.js'); | ||
const index$1 = require('./index-4dcdb570.js'); | ||
const resources = require('./resources-7abf05d3.js'); | ||
@@ -8,0 +8,0 @@ const resources$1 = require('./resources-538dbf5c.js'); |
@@ -5,7 +5,7 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
require('./CalciteScrim-c9471e8a.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
require('./CalciteScrim-3e6fc0be.js'); | ||
const resources = require('./resources-7abf05d3.js'); | ||
require('./lodash-ec33c868.js'); | ||
const sharedListRender = require('./shared-list-render-3982399f.js'); | ||
const sharedListRender = require('./shared-list-render-f8d8f375.js'); | ||
@@ -12,0 +12,0 @@ const { mutationObserverCallback, initialize, initializeObserver, cleanUpObserver, calciteListItemChangeHandler, calciteListItemValueChangeHandler, setUpItems, deselectSiblingItems, selectSiblings, handleFilter, getItemData } = sharedListRender.sharedListMethods; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
const index$1 = require('./index-4c407188.js'); | ||
@@ -8,0 +8,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
const dom = require('./dom-2c0777cc.js'); | ||
@@ -8,0 +8,0 @@ const index$1 = require('./index-4c407188.js'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index$1 = require('./index-fb8f7d12.js'); | ||
const index$1 = require('./index-4dcdb570.js'); | ||
const guid = require('./guid-d8484e41.js'); | ||
@@ -8,0 +8,0 @@ const resources = require('./resources-7abf05d3.js'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-fb8f7d12.js'); | ||
const index = require('./index-4dcdb570.js'); | ||
@@ -8,0 +8,0 @@ const defineCustomElements = (win, options) => { |
@@ -66,3 +66,2 @@ import { Host, h } from "@stencil/core"; | ||
const slottedControl = el.querySelector(`[slot=${"control" /* control */}]`); | ||
const hasContent = el.children.length > (slottedControl ? 1 : 0); | ||
const headerNode = (h("div", { class: CSS.headerContainer }, | ||
@@ -76,3 +75,3 @@ collapsible ? (h("button", { "aria-label": toggleLabel, class: CSS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, | ||
headerNode, | ||
h("div", { class: CSS.content, hidden: !hasContent || !open }, | ||
h("div", { class: CSS.content, hidden: !open }, | ||
h(CalciteScrim, { loading: loading, disabled: disabled }, | ||
@@ -79,0 +78,0 @@ h("slot", null)))))); |
{ | ||
"entries": [ | ||
"calcite-action-group/calcite-action-group.js", | ||
"calcite-action-bar/calcite-action-bar.js", | ||
"calcite-action-pad/calcite-action-pad.js", | ||
"calcite-action-group/calcite-action-group.js", | ||
"calcite-action/calcite-action.js", | ||
"calcite-block-section/calcite-block-section.js", | ||
"calcite-action-bar/calcite-action-bar.js", | ||
"calcite-block/calcite-block.js", | ||
"calcite-filter/calcite-filter.js", | ||
"calcite-action/calcite-action.js", | ||
"calcite-flow-item/calcite-flow-item.js", | ||
"calcite-flow/calcite-flow.js", | ||
"calcite-flow-item/calcite-flow-item.js", | ||
"calcite-panel/calcite-panel.js", | ||
"calcite-pick-list-group/calcite-pick-list-group.js", | ||
"calcite-pick-list-item/calcite-pick-list-item.js", | ||
"calcite-pick-list-group/calcite-pick-list-group.js", | ||
"calcite-pick-list/calcite-pick-list.js", | ||
"calcite-shell-panel/calcite-shell-panel.js", | ||
"calcite-shell/calcite-shell.js", | ||
"calcite-shell-panel/calcite-shell-panel.js", | ||
"calcite-tip-group/calcite-tip-group.js", | ||
"calcite-tip-manager/calcite-tip-manager.js", | ||
"calcite-tip-group/calcite-tip-group.js", | ||
"calcite-value-list/calcite-value-list.js", | ||
"calcite-tip/calcite-tip.js", | ||
"calcite-value-list-item/calcite-value-list-item.js", | ||
"calcite-tip/calcite-tip.js" | ||
"calcite-value-list/calcite-value-list.js" | ||
], | ||
"compiler": { | ||
"name": "@stencil/core", | ||
"version": "1.9.0-12", | ||
"version": "1.9.0-13", | ||
"typescriptVersion": "3.7.4" | ||
@@ -28,0 +28,0 @@ }, |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -40,0 +40,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -1,3 +0,3 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-0c86549a.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -82,5 +82,4 @@ import { g as guid } from './guid-715b8407.js'; | ||
var slottedControl = el.querySelector("[slot=" + "control" /* control */ + "]"); | ||
var hasContent = el.children.length > (slottedControl ? 1 : 0); | ||
var headerNode = (h("div", { class: CSS.headerContainer }, collapsible ? (h("button", { "aria-label": toggleLabel, class: CSS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, slottedControl ? null : (h("calcite-icon", { scale: "s", icon: open ? ICONS.close : ICONS.open })))) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true })) : (h("slot", { name: "control" /* control */ })))); | ||
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, h("div", { class: CSS.content, hidden: !hasContent || !open }, h(CalciteScrim, { loading: loading, disabled: disabled }, h("slot", null)))))); | ||
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, h("div", { class: CSS.content, hidden: !open }, h(CalciteScrim, { loading: loading, disabled: disabled }, h("slot", null)))))); | ||
}; | ||
@@ -93,3 +92,3 @@ Object.defineProperty(CalciteBlock.prototype, "el", { | ||
Object.defineProperty(CalciteBlock, "style", { | ||
get: function () { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half);position:relative}::slotted([slot=control]){position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; }, | ||
get: function () { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{position:relative}::slotted(*){padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half)}::slotted([slot=control]){padding:unset;position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; }, | ||
enumerable: true, | ||
@@ -96,0 +95,0 @@ configurable: true |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { d as debounce, f as forIn } from './lodash-7109ef43.js'; | ||
@@ -3,0 +3,0 @@ var CSS = { |
@@ -37,4 +37,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-0c86549a.js'; | ||
import { f as focusElement, g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -41,0 +41,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host } from './index-464d2b7e.js'; | ||
var CSS = { | ||
@@ -3,0 +3,0 @@ heading: "heading", |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { I as ICON_TYPES } from './resources-1839192e.js'; | ||
@@ -40,0 +40,0 @@ import { C as CSS, I as ICONS } from './resources-eb3a8342.js'; |
@@ -37,7 +37,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-e40da8eb.js'; | ||
import './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-464d2b7e.js'; | ||
import './CalciteScrim-0c86549a.js'; | ||
import { T as TEXT, I as ICON_TYPES } from './resources-1839192e.js'; | ||
import './lodash-7109ef43.js'; | ||
import { s as sharedListMethods, L as List } from './shared-list-render-03c056d4.js'; | ||
import { s as sharedListMethods, L as List } from './shared-list-render-626d9a99.js'; | ||
var mutationObserverCallback = sharedListMethods.mutationObserverCallback, initialize = sharedListMethods.initialize, initializeObserver = sharedListMethods.initializeObserver, cleanUpObserver = sharedListMethods.cleanUpObserver, calciteListItemChangeHandler = sharedListMethods.calciteListItemChangeHandler, calciteListItemValueChangeHandler = sharedListMethods.calciteListItemValueChangeHandler, setUpItems = sharedListMethods.setUpItems, deselectSiblingItems = sharedListMethods.deselectSiblingItems, selectSiblings = sharedListMethods.selectSiblings, handleFilter = sharedListMethods.handleFilter, getItemData = sharedListMethods.getItemData; | ||
@@ -44,0 +44,0 @@ var CalcitePickList = /** @class */ (function () { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { c as classnames } from './index-e3cf212a.js'; | ||
@@ -3,0 +3,0 @@ var CSS = { |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -40,0 +40,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { a as guid } from './guid-715b8407.js'; | ||
@@ -40,0 +40,0 @@ import { I as ICON_TYPES } from './resources-1839192e.js'; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -3,0 +3,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -1,3 +0,3 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-0c86549a.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -83,8 +83,7 @@ import { g as guid } from './guid-715b8407.js'; | ||
const slottedControl = el.querySelector(`[slot=${"control" /* control */}]`); | ||
const hasContent = el.children.length > (slottedControl ? 1 : 0); | ||
const headerNode = (h("div", { class: CSS.headerContainer }, collapsible ? (h("button", { "aria-label": toggleLabel, class: CSS.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, slottedControl ? null : (h("calcite-icon", { scale: "s", icon: open ? ICONS.close : ICONS.open })))) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true })) : (h("slot", { name: "control" /* control */ })))); | ||
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, h("div", { class: CSS.content, hidden: !hasContent || !open }, h(CalciteScrim, { loading: loading, disabled: disabled }, h("slot", null)))))); | ||
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-expanded": collapsible ? open.toString() : null, "aria-busy": loading }, headerNode, h("div", { class: CSS.content, hidden: !open }, h(CalciteScrim, { loading: loading, disabled: disabled }, h("slot", null)))))); | ||
} | ||
get el() { return getElement(this); } | ||
static get style() { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half);position:relative}::slotted([slot=control]){position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; } | ||
static get style() { return ":host{-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-app-foreground);font-family:var(--calcite-app-font-family);font-size:var(--calcite-app-font-size-0);line-height:var(--calcite-app-line-height);background-color:var(--calcite-app-background)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-direction:column;flex-direction:column;border-radius:var(--calcite-app-border-radius);margin:var(--calcite-app-cap-spacing-quarter) var(--calcite-app-side-spacing-quarter) 0;-webkit-box-shadow:0 1px 0 var(--calcite-app-border) inset;box-shadow:0 1px 0 var(--calcite-app-border) inset}:host([hidden]){display:none}:host([theme=dark]){--calcite-app-background:#404040;--calcite-app-foreground:#dfdfdf;--calcite-app-background-hover:#2b2b2b;--calcite-app-foreground-hover:#f3f3f3;--calcite-app-background-active:#151515;--calcite-app-foreground-active:#59d6ff;--calcite-app-foreground-subtle:#eaeaea;--calcite-app-background-content:#2b2b2b;--calcite-app-border:#2b2b2b;--calcite-app-border-hover:#2b2b2b;--calcite-app-border-subtle:#2b2b2b;--calcite-app-scrim:rgba(64, 64, 64, 0.8)}:host([theme=light]){--calcite-app-background:#ffffff;--calcite-app-foreground:#404040;--calcite-app-background-hover:#eaeaea;--calcite-app-foreground-hover:#2b2b2b;--calcite-app-background-active:#c7eaff;--calcite-app-foreground-active:#00619b;--calcite-app-foreground-subtle:#757575;--calcite-app-foreground-link:#007ac2;--calcite-app-background-content:#f3f3f3;--calcite-app-background-clear:transparent;--calcite-app-border:#eaeaea;--calcite-app-border-hover:#dfdfdf;--calcite-app-border-subtle:#f3f3f3;--calcite-app-border-active:#007ac2;--calcite-app-disabled-opacity:0.25;--calcite-app-scrim:rgba(255, 255, 255, 0.8)}.header{margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;color:var(--calcite-app-foreground);fill:var(--calcite-app-foreground)}.heading{padding:0;margin:0;font-weight:var(--calcite-app-font-weight-demi)}.header .heading{-ms-flex:1 0 auto;flex:1 0 auto;padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-half)}h1.heading{font-size:var(--calcite-app-font-size-3)}h2.heading{font-size:var(--calcite-app-font-size-2)}h3.heading{font-size:var(--calcite-app-font-size-1)}h4.heading,h5.heading{font-size:var(--calcite-app-font-size-0)}.header{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:start;justify-content:flex-start}.header-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header-container>.header{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:var(--calcite-app-disabled-opacity)}calcite-loader[inline]{color:var(--calcite-app-foreground-subtle)}.title{margin:0}.header .title .heading{padding:0 0 var(--calcite-app-cap-spacing-quarter)}.summary{font-size:var(--calcite-app-font-size--1);padding:0 0 var(--calcite-app-cap-spacing-quarter)}.toggle{padding:var(--calcite-app-cap-spacing-half) var(--calcite-app-side-spacing-three-quarters);background-color:transparent;border:none;cursor:pointer;display:-ms-flexbox;display:flex;font-family:var(--calcite-app-font-family);-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0;text-align:unset;width:100%;color:var(--calcite-app-foreground)}.toggle:focus{outline-offset:var(--calcite-app-outline-inset)}.icon{margin-right:var(--calcite-app-side-spacing-third)}.toggle-icon{fill:currentColor;-ms-flex:0 0 var(--calcite-app-icon-size);flex:0 0 var(--calcite-app-icon-size);margin:0 var(--calcite-app-side-spacing-half)}.content{position:relative}::slotted(*){padding:0 var(--calcite-app-side-spacing-three-quarters) var(--calcite-app-cap-spacing-half)}::slotted([slot=control]){padding:unset;position:absolute;margin:auto;right:var(--calcite-app-side-spacing-three-quarters)}.calcite--rtl ::slotted([slot=control]){left:var(--calcite-app-side-spacing-three-quarters);right:unset}"; } | ||
}; | ||
@@ -91,0 +90,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { d as debounce, f as forIn } from './lodash-7109ef43.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { C as CalciteScrim } from './CalciteScrim-0c86549a.js'; | ||
import { f as focusElement, g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -4,0 +4,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host } from './index-464d2b7e.js'; | ||
@@ -3,0 +3,0 @@ const CSS = { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { I as ICON_TYPES } from './resources-1839192e.js'; | ||
@@ -3,0 +3,0 @@ import { C as CSS, I as ICONS } from './resources-eb3a8342.js'; |
@@ -1,6 +0,6 @@ | ||
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-e40da8eb.js'; | ||
import './CalciteScrim-fb9f5099.js'; | ||
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-464d2b7e.js'; | ||
import './CalciteScrim-0c86549a.js'; | ||
import { T as TEXT, I as ICON_TYPES } from './resources-1839192e.js'; | ||
import './lodash-7109ef43.js'; | ||
import { s as sharedListMethods, L as List } from './shared-list-render-03c056d4.js'; | ||
import { s as sharedListMethods, L as List } from './shared-list-render-626d9a99.js'; | ||
@@ -7,0 +7,0 @@ const { mutationObserverCallback, initialize, initializeObserver, cleanUpObserver, calciteListItemChangeHandler, calciteListItemValueChangeHandler, setUpItems, deselectSiblingItems, selectSiblings, handleFilter, getItemData } = sharedListMethods; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-464d2b7e.js'; | ||
import { c as classnames } from './index-e3cf212a.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { g as getElementDir } from './dom-b61712d1.js'; | ||
@@ -3,0 +3,0 @@ import { c as classnames } from './index-e3cf212a.js'; |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-e40da8eb.js'; | ||
import { r as registerInstance, h, H as Host, g as getElement } from './index-464d2b7e.js'; | ||
import { a as guid } from './guid-715b8407.js'; | ||
@@ -3,0 +3,0 @@ import { I as ICON_TYPES } from './resources-1839192e.js'; |
@@ -480,8 +480,10 @@ /* | ||
function startWatcher(doc, globalScopes) { | ||
var mutation = new MutationObserver(function () { | ||
if (loadDocumentStyles(doc, globalScopes)) { | ||
updateGlobalScopes(globalScopes); | ||
} | ||
}); | ||
mutation.observe(document.head, { childList: true }); | ||
if (typeof MutationObserver !== 'undefined') { | ||
var mutation = new MutationObserver(function () { | ||
if (loadDocumentStyles(doc, globalScopes)) { | ||
updateGlobalScopes(globalScopes); | ||
} | ||
}); | ||
mutation.observe(document.head, { childList: true }); | ||
} | ||
} | ||
@@ -488,0 +490,0 @@ function loadDocumentLinks(doc, globalScopes) { |
@@ -7,3 +7,3 @@ export function applyPolyfills() { | ||
if (!win.customElements || (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove))) { | ||
promises.push(import('./dom.js')); | ||
promises.push(import(/* webpackChunkName: "stencil-polyfills-dom" */ './dom.js')); | ||
} | ||
@@ -30,3 +30,3 @@ | ||
) { | ||
promises.push(import('./core-js.js')); | ||
promises.push(import(/* webpackChunkName: "stencil-polyfills-core-js" */ './core-js.js')); | ||
} | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "@esri/calcite-app-components", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "A collection of web components for building single-page applications.", | ||
@@ -31,2 +31,3 @@ "main": "dist/index.js", | ||
"preversion": "npm ci && npm test", | ||
"previewChangelog": "standard-version --no-skip.bump --silent && cat CHANGELOG.md && git reset --hard --quiet", | ||
"release": "git push --follow-tags && npm publish && ts-node ./support/githubReleaseFromChangelog.ts", | ||
@@ -51,13 +52,13 @@ "start": "concurrently --kill-others --raw \"npm run demoPageSync\" \"tsc --project ./tsconfig-demos.json --watch\" \"stencil build --dev --watch --serve\"", | ||
"devDependencies": { | ||
"@esri/calcite-components": "1.0.0-beta.16", | ||
"@stencil/core": "1.9.0-12", | ||
"@esri/calcite-components": "1.0.0-beta.17", | ||
"@stencil/core": "1.9.0-13", | ||
"@stencil/postcss": "1.0.1", | ||
"@stencil/sass": "1.1.1", | ||
"@stencil/state-tunnel": "1.0.1", | ||
"@storybook/addon-backgrounds": "5.3.3", | ||
"@storybook/addon-centered": "5.3.3", | ||
"@storybook/addon-docs": "5.3.3", | ||
"@storybook/addon-knobs": "5.3.3", | ||
"@storybook/addon-notes": "5.3.3", | ||
"@storybook/html": "5.3.3", | ||
"@storybook/addon-backgrounds": "5.3.9", | ||
"@storybook/addon-centered": "5.3.9", | ||
"@storybook/addon-docs": "5.3.9", | ||
"@storybook/addon-knobs": "5.3.9", | ||
"@storybook/addon-notes": "5.3.9", | ||
"@storybook/html": "5.3.9", | ||
"@types/autoprefixer": "9.6.1", | ||
@@ -71,3 +72,3 @@ "@types/dedent": "0.7.0", | ||
"@types/sortablejs": "1.10.2", | ||
"@types/webpack": "4.41.2", | ||
"@types/webpack": "4.41.3", | ||
"autoprefixer": "9.7.4", | ||
@@ -84,8 +85,8 @@ "awesome-typescript-loader": "5.2.1", | ||
"github-release-from-cc-changelog": "2.2.0", | ||
"husky": "4.0.10", | ||
"husky": "4.2.1", | ||
"jest": "24.9.0", | ||
"jest-axe": "3.2.0", | ||
"jest-axe": "3.3.0", | ||
"jest-cli": "24.9.0", | ||
"jest-runner": "24.9.0", | ||
"lint-staged": "9.5.0", | ||
"lint-staged": "10.0.2", | ||
"package": "1.0.1", | ||
@@ -95,9 +96,9 @@ "prettier": "1.19.1", | ||
"rimraf": "3.0.0", | ||
"standard-version": "7.0.1", | ||
"standard-version": "7.1.0", | ||
"stylelint": "13.0.0", | ||
"stylelint-config-recommended-scss": "4.1.0", | ||
"stylelint-scss": "3.13.0", | ||
"ts-jest": "24.3.0", | ||
"ts-jest": "25.0.0", | ||
"ts-node": "8.6.2", | ||
"tslint": "5.20.1", | ||
"tslint": "6.0.0", | ||
"tslint-config-prettier": "1.18.0", | ||
@@ -104,0 +105,0 @@ "tslint-ionic-rules": "0.0.21", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2420787
41972