@esri/calcite-components 1.0.0-next.365 → 1.0.0-next.366
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/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-0282fd8b.system.entry.js +5 -0
- package/dist/calcite/p-050ff462.entry.js +5 -0
- package/dist/calcite/p-05b03971.system.entry.js +5 -0
- package/dist/calcite/p-08847812.entry.js +5 -0
- package/dist/calcite/p-1bcce6c9.entry.js +5 -0
- package/dist/calcite/p-1ef9235e.system.entry.js +5 -0
- package/dist/calcite/p-25ed6059.entry.js +5 -0
- package/dist/calcite/p-40cbbd20.entry.js +5 -0
- package/dist/calcite/p-4347fde9.system.entry.js +5 -0
- package/dist/calcite/p-43cd4b9b.entry.js +5 -0
- package/dist/calcite/p-55e2658e.entry.js +5 -0
- package/dist/calcite/p-5682a918.entry.js +5 -0
- package/dist/calcite/p-597b782e.system.entry.js +5 -0
- package/dist/calcite/p-60e4f404.entry.js +5 -0
- package/dist/calcite/p-660c8077.js +5 -0
- package/dist/calcite/p-7279ccf9.entry.js +5 -0
- package/dist/calcite/p-832d7f68.system.entry.js +5 -0
- package/dist/calcite/p-888a152c.system.entry.js +5 -0
- package/dist/calcite/p-946c3bed.system.entry.js +5 -0
- package/dist/calcite/p-94717214.entry.js +5 -0
- package/dist/calcite/p-953259af.entry.js +5 -0
- package/dist/calcite/p-99d32fc3.system.js +1 -1
- package/dist/calcite/p-9b723fdd.system.entry.js +5 -0
- package/dist/calcite/p-9fe77a88.system.entry.js +5 -0
- package/dist/calcite/p-a52288cd.system.entry.js +5 -0
- package/dist/calcite/p-a71d17b4.entry.js +5 -0
- package/dist/calcite/p-aea7c650.system.entry.js +5 -0
- package/dist/calcite/p-af7ed41f.system.entry.js +5 -0
- package/dist/calcite/p-b14e0be5.system.entry.js +5 -0
- package/dist/calcite/p-b53b28e3.system.js +5 -0
- package/dist/calcite/p-b88d7391.entry.js +5 -0
- package/dist/calcite/p-ba915998.entry.js +5 -0
- package/dist/calcite/p-dd4457cd.entry.js +5 -0
- package/dist/calcite/p-eff2fb8c.system.entry.js +5 -0
- package/dist/calcite/p-fd57beb5.system.entry.js +5 -0
- package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -24
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -0
- package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +8 -0
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -0
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -0
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -12
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +23 -0
- package/dist/cjs/calcite-shell_3.cjs.entry.js +35 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +13 -0
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -1
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -0
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -0
- package/dist/cjs/conditionalSlot-e874fbb0.js +43 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
- package/dist/collection/components/calcite-block/calcite-block.js +13 -1
- package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
- package/dist/collection/components/calcite-modal/calcite-modal.js +5 -2
- package/dist/collection/components/calcite-notice/calcite-notice.js +7 -0
- package/dist/collection/components/calcite-panel/calcite-panel.js +19 -14
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
- package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
- package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +5 -0
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
- package/dist/collection/utils/conditionalSlot.js +22 -11
- package/dist/components/calcite-action-bar.js +2 -23
- package/dist/components/calcite-action-group2.js +12 -0
- package/dist/components/calcite-action-menu2.js +3 -0
- package/dist/components/calcite-action-pad.js +7 -0
- package/dist/components/calcite-block.js +13 -1
- package/dist/components/calcite-chip2.js +13 -1
- package/dist/components/calcite-list-item.js +12 -0
- package/dist/components/calcite-modal.js +5 -2
- package/dist/components/calcite-notice.js +7 -0
- package/dist/components/calcite-panel.js +17 -12
- package/dist/components/calcite-pick-list-group.js +12 -0
- package/dist/components/calcite-pick-list-item2.js +12 -0
- package/dist/components/calcite-shell-center-row.js +13 -1
- package/dist/components/calcite-shell-panel.js +9 -4
- package/dist/components/calcite-shell.js +14 -2
- package/dist/components/calcite-tile2.js +12 -0
- package/dist/components/calcite-tip.js +13 -1
- package/dist/components/calcite-tree-item.js +5 -0
- package/dist/components/calcite-value-list-item.js +12 -0
- package/dist/components/conditionalSlot.js +40 -0
- package/dist/custom-elements/index.js +194 -35
- package/dist/esm/calcite-action-bar.entry.js +2 -23
- package/dist/esm/calcite-action-group.entry.js +13 -0
- package/dist/esm/calcite-action-menu.entry.js +3 -0
- package/dist/esm/calcite-action-pad.entry.js +8 -0
- package/dist/esm/calcite-block_2.entry.js +14 -1
- package/dist/esm/calcite-chip.entry.js +14 -1
- package/dist/esm/calcite-list_3.entry.js +13 -0
- package/dist/esm/calcite-modal.entry.js +5 -2
- package/dist/esm/calcite-notice.entry.js +8 -0
- package/dist/esm/calcite-panel.entry.js +18 -12
- package/dist/esm/calcite-pick-list_3.entry.js +23 -0
- package/dist/esm/calcite-shell_3.entry.js +35 -7
- package/dist/esm/calcite-tile.entry.js +13 -0
- package/dist/esm/calcite-tip_3.entry.js +13 -1
- package/dist/esm/calcite-tree_2.entry.js +6 -0
- package/dist/esm/calcite-value-list_2.entry.js +12 -0
- package/dist/esm/conditionalSlot-0c4ea23a.js +40 -0
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/conditionalSlot-0c4ea23a.js +5 -0
- package/dist/extras/docs-json.json +1 -1
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
- package/dist/types/components/calcite-block/calcite-block.d.ts +4 -1
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +5 -6
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
- package/hydrate/index.js +194 -35
- package/package.json +1 -1
- package/dist/calcite/p-0af820bf.entry.js +0 -5
- package/dist/calcite/p-0cf878ed.system.entry.js +0 -5
- package/dist/calcite/p-1d7a9909.system.entry.js +0 -5
- package/dist/calcite/p-253efee4.entry.js +0 -5
- package/dist/calcite/p-2618de8a.entry.js +0 -5
- package/dist/calcite/p-273cd5ab.entry.js +0 -5
- package/dist/calcite/p-2a8938c7.system.entry.js +0 -5
- package/dist/calcite/p-2c954eaa.system.entry.js +0 -5
- package/dist/calcite/p-37bddb73.system.entry.js +0 -5
- package/dist/calcite/p-3ab992ff.system.entry.js +0 -5
- package/dist/calcite/p-3b73b785.system.entry.js +0 -5
- package/dist/calcite/p-4659df78.entry.js +0 -5
- package/dist/calcite/p-54e271c9.system.entry.js +0 -5
- package/dist/calcite/p-5df1936f.entry.js +0 -5
- package/dist/calcite/p-698167ac.entry.js +0 -5
- package/dist/calcite/p-7d355abe.system.entry.js +0 -5
- package/dist/calcite/p-8d36bc7c.entry.js +0 -5
- package/dist/calcite/p-9d81d229.entry.js +0 -5
- package/dist/calcite/p-a0043c61.entry.js +0 -5
- package/dist/calcite/p-a1f65f6e.entry.js +0 -5
- package/dist/calcite/p-a4dec1f6.system.entry.js +0 -5
- package/dist/calcite/p-a9c50960.system.entry.js +0 -5
- package/dist/calcite/p-aaed1677.entry.js +0 -5
- package/dist/calcite/p-ac778725.system.entry.js +0 -5
- package/dist/calcite/p-ac8cf248.entry.js +0 -5
- package/dist/calcite/p-b4d3f1c1.entry.js +0 -5
- package/dist/calcite/p-c0ed9eff.entry.js +0 -5
- package/dist/calcite/p-cb9cd28c.system.entry.js +0 -5
- package/dist/calcite/p-d578e568.system.entry.js +0 -5
- package/dist/calcite/p-e564004a.system.entry.js +0 -5
- package/dist/calcite/p-f6fc151d.system.entry.js +0 -5
- package/dist/calcite/p-f73124d0.entry.js +0 -5
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { Position, Scale } from "../interfaces";
|
|
3
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding content to the shell panel.
|
|
5
6
|
* @slot action-bar - A slot for adding a `calcite-action-bar` to the panel.
|
|
6
7
|
*/
|
|
7
|
-
export declare class CalciteShellPanel {
|
|
8
|
+
export declare class CalciteShellPanel implements ConditionalSlotComponent {
|
|
8
9
|
/**
|
|
9
10
|
* Hide the content panel.
|
|
10
11
|
*/
|
|
@@ -35,6 +36,7 @@ export declare class CalciteShellPanel {
|
|
|
35
36
|
* This property makes the content area resizable if the calcite-shell-panel is not 'detached'.
|
|
36
37
|
*/
|
|
37
38
|
resizable: boolean;
|
|
39
|
+
connectedCallback(): void;
|
|
38
40
|
disconnectedCallback(): void;
|
|
39
41
|
componentDidLoad(): void;
|
|
40
42
|
el: HTMLCalciteShellPanelElement;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
2
3
|
/**
|
|
3
4
|
* @slot content-start - A slot for adding non-actionable elements before the tile content.
|
|
4
5
|
* @slot content-end - A slot for adding non-actionable elements after the tile content.
|
|
5
6
|
*/
|
|
6
|
-
export declare class CalciteTile {
|
|
7
|
+
export declare class CalciteTile implements ConditionalSlotComponent {
|
|
7
8
|
el: HTMLCalciteTileElement;
|
|
8
9
|
/** The active state of the tile. */
|
|
9
10
|
active: boolean;
|
|
@@ -28,6 +29,8 @@ export declare class CalciteTile {
|
|
|
28
29
|
href?: string;
|
|
29
30
|
/** The icon that appears at the top of the tile. */
|
|
30
31
|
icon?: string;
|
|
32
|
+
connectedCallback(): void;
|
|
33
|
+
disconnectedCallback(): void;
|
|
31
34
|
renderTile(): VNode;
|
|
32
35
|
render(): VNode;
|
|
33
36
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { HeadingLevel } from "../functional/CalciteHeading";
|
|
3
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
3
4
|
/**
|
|
4
5
|
* @slot - A slot for adding text and a hyperlink.
|
|
5
6
|
* @slot thumbnail - A slot for adding an HTML image element to the tip.
|
|
6
7
|
*/
|
|
7
|
-
export declare class CalciteTip {
|
|
8
|
+
export declare class CalciteTip implements ConditionalSlotComponent {
|
|
8
9
|
/**
|
|
9
10
|
* No longer displays the tip.
|
|
10
11
|
*/
|
|
@@ -30,6 +31,8 @@ export declare class CalciteTip {
|
|
|
30
31
|
*/
|
|
31
32
|
intlClose?: string;
|
|
32
33
|
el: HTMLCalciteTipElement;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
disconnectedCallback(): void;
|
|
33
36
|
/**
|
|
34
37
|
* Emitted when the component has been dismissed.
|
|
35
38
|
*/
|
|
@@ -2,11 +2,12 @@ import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { TreeItemSelectDetail } from "./interfaces";
|
|
3
3
|
import { TreeSelectionMode } from "../calcite-tree/interfaces";
|
|
4
4
|
import { Scale } from "../interfaces";
|
|
5
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
5
6
|
/**
|
|
6
7
|
* @slot - A slot for adding content to the item.
|
|
7
8
|
* @slot children - A slot for adding nested `calcite-tree` elements.
|
|
8
9
|
*/
|
|
9
|
-
export declare class CalciteTreeItem {
|
|
10
|
+
export declare class CalciteTreeItem implements ConditionalSlotComponent {
|
|
10
11
|
el: HTMLCalciteTreeItemElement;
|
|
11
12
|
/** Is the item currently selected */
|
|
12
13
|
selected: boolean;
|
|
@@ -37,6 +38,7 @@ export declare class CalciteTreeItem {
|
|
|
37
38
|
/** @internal Tree selection-mode (set on parent) */
|
|
38
39
|
selectionMode: TreeSelectionMode;
|
|
39
40
|
connectedCallback(): void;
|
|
41
|
+
disconnectedCallback(): void;
|
|
40
42
|
componentWillRender(): void;
|
|
41
43
|
componentDidLoad(): void;
|
|
42
44
|
render(): VNode;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { ICON_TYPES } from "../calcite-pick-list/resources";
|
|
3
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
3
4
|
/**
|
|
4
5
|
* @slot actions-end - A slot for adding actions or content to the end side of the item.
|
|
5
6
|
* @slot actions-start - A slot for adding actions or content to the start side of the item.
|
|
6
7
|
*/
|
|
7
|
-
export declare class CalciteValueListItem {
|
|
8
|
+
export declare class CalciteValueListItem implements ConditionalSlotComponent {
|
|
8
9
|
/**
|
|
9
10
|
* An optional description for this item. Will appear below the label text.
|
|
10
11
|
*/
|
|
@@ -53,6 +54,8 @@ export declare class CalciteValueListItem {
|
|
|
53
54
|
el: HTMLCalciteValueListItemElement;
|
|
54
55
|
pickListItem: HTMLCalcitePickListItemElement;
|
|
55
56
|
guid: string;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
disconnectedCallback(): void;
|
|
56
59
|
/**
|
|
57
60
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
58
61
|
* The first argument allows the value to be coerced, rather than swapping values.
|
package/hydrate/index.js
CHANGED
|
@@ -7537,26 +7537,36 @@ function throttle$1(func, wait, options) {
|
|
|
7537
7537
|
});
|
|
7538
7538
|
}
|
|
7539
7539
|
|
|
7540
|
-
const
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
}
|
|
7544
|
-
const eventType = "slotchange";
|
|
7540
|
+
const observed = new Set();
|
|
7541
|
+
let mutationObserver;
|
|
7542
|
+
const observerOptions = { childList: true };
|
|
7545
7543
|
/**
|
|
7546
7544
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
7547
7545
|
*/
|
|
7548
7546
|
function connectConditionalSlotComponent(component) {
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7547
|
+
if (!mutationObserver) {
|
|
7548
|
+
mutationObserver = createObserver();
|
|
7549
|
+
}
|
|
7550
|
+
mutationObserver.observe(component.el, observerOptions);
|
|
7552
7551
|
}
|
|
7553
7552
|
/**
|
|
7554
7553
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
7555
7554
|
*/
|
|
7556
7555
|
function disconnectConditionalSlotComponent(component) {
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7556
|
+
observed.delete(component.el);
|
|
7557
|
+
// we explicitly process queued mutations and disconnect and reconnect
|
|
7558
|
+
// the observer until MutationObserver gets an `unobserve` method
|
|
7559
|
+
// see https://github.com/whatwg/dom/issues/126
|
|
7560
|
+
processMutations(mutationObserver.takeRecords());
|
|
7561
|
+
mutationObserver.disconnect();
|
|
7562
|
+
for (const [element] of observed.entries()) {
|
|
7563
|
+
mutationObserver.observe(element, observerOptions);
|
|
7564
|
+
}
|
|
7565
|
+
}
|
|
7566
|
+
function processMutations(mutations) {
|
|
7567
|
+
mutations.forEach(({ target }) => {
|
|
7568
|
+
forceUpdate$1(target);
|
|
7569
|
+
});
|
|
7560
7570
|
}
|
|
7561
7571
|
|
|
7562
7572
|
const calciteActionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-action-bar:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-action-bar{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:host*/.sc-calcite-action-bar-h{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}/*!@:host([overflow-actions-disabled])*/[overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([expanded])*/[expanded].sc-calcite-action-bar-h{max-width:20vw}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-bottom-width:0px}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";
|
|
@@ -7795,6 +7805,17 @@ class CalciteActionGroup {
|
|
|
7795
7805
|
}
|
|
7796
7806
|
// --------------------------------------------------------------------------
|
|
7797
7807
|
//
|
|
7808
|
+
// Lifecycle
|
|
7809
|
+
//
|
|
7810
|
+
// --------------------------------------------------------------------------
|
|
7811
|
+
connectedCallback() {
|
|
7812
|
+
connectConditionalSlotComponent(this);
|
|
7813
|
+
}
|
|
7814
|
+
disconnectedCallback() {
|
|
7815
|
+
disconnectConditionalSlotComponent(this);
|
|
7816
|
+
}
|
|
7817
|
+
// --------------------------------------------------------------------------
|
|
7818
|
+
//
|
|
7798
7819
|
// Component Methods
|
|
7799
7820
|
//
|
|
7800
7821
|
// --------------------------------------------------------------------------
|
|
@@ -8052,11 +8073,13 @@ class CalciteActionMenu {
|
|
|
8052
8073
|
var _a;
|
|
8053
8074
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
8054
8075
|
this.getActions();
|
|
8076
|
+
connectConditionalSlotComponent(this);
|
|
8055
8077
|
}
|
|
8056
8078
|
disconnectedCallback() {
|
|
8057
8079
|
var _a;
|
|
8058
8080
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
8059
8081
|
this.disconnectMenuButtonEl();
|
|
8082
|
+
disconnectConditionalSlotComponent(this);
|
|
8060
8083
|
}
|
|
8061
8084
|
expandedHandler() {
|
|
8062
8085
|
this.open = false;
|
|
@@ -8214,6 +8237,12 @@ class CalciteActionPad {
|
|
|
8214
8237
|
// Lifecycle
|
|
8215
8238
|
//
|
|
8216
8239
|
// --------------------------------------------------------------------------
|
|
8240
|
+
connectedCallback() {
|
|
8241
|
+
connectConditionalSlotComponent(this);
|
|
8242
|
+
}
|
|
8243
|
+
disconnectedCallback() {
|
|
8244
|
+
disconnectConditionalSlotComponent(this);
|
|
8245
|
+
}
|
|
8217
8246
|
componentWillLoad() {
|
|
8218
8247
|
const { el, expandDisabled, expanded } = this;
|
|
8219
8248
|
if (!expandDisabled) {
|
|
@@ -8870,6 +8899,17 @@ class CalciteBlock {
|
|
|
8870
8899
|
}
|
|
8871
8900
|
// --------------------------------------------------------------------------
|
|
8872
8901
|
//
|
|
8902
|
+
// Lifecycle
|
|
8903
|
+
//
|
|
8904
|
+
// --------------------------------------------------------------------------
|
|
8905
|
+
connectedCallback() {
|
|
8906
|
+
connectConditionalSlotComponent(this);
|
|
8907
|
+
}
|
|
8908
|
+
disconnectedCallback() {
|
|
8909
|
+
disconnectConditionalSlotComponent(this);
|
|
8910
|
+
}
|
|
8911
|
+
// --------------------------------------------------------------------------
|
|
8912
|
+
//
|
|
8873
8913
|
// Render Methods
|
|
8874
8914
|
//
|
|
8875
8915
|
// --------------------------------------------------------------------------
|
|
@@ -8883,7 +8923,7 @@ class CalciteBlock {
|
|
|
8883
8923
|
const showingLoadingStatus = this.loading && !this.open;
|
|
8884
8924
|
const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
|
|
8885
8925
|
const hasIcon = getSlotted(el, SLOTS$k.icon) || statusIcon;
|
|
8886
|
-
const iconEl = !statusIcon ? (hAsync("slot", { name: SLOTS$k.icon })) : (hAsync("calcite-icon", { class: {
|
|
8926
|
+
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$k.icon })) : (hAsync("calcite-icon", { class: {
|
|
8887
8927
|
[CSS$L.statusIcon]: true,
|
|
8888
8928
|
[CSS$L.valid]: status == "valid",
|
|
8889
8929
|
[CSS$L.invalid]: status == "invalid",
|
|
@@ -9837,6 +9877,17 @@ class CalciteChip {
|
|
|
9837
9877
|
};
|
|
9838
9878
|
this.guid = guid();
|
|
9839
9879
|
}
|
|
9880
|
+
// --------------------------------------------------------------------------
|
|
9881
|
+
//
|
|
9882
|
+
// Lifecycle
|
|
9883
|
+
//
|
|
9884
|
+
// --------------------------------------------------------------------------
|
|
9885
|
+
connectedCallback() {
|
|
9886
|
+
connectConditionalSlotComponent(this);
|
|
9887
|
+
}
|
|
9888
|
+
disconnectedCallback() {
|
|
9889
|
+
disconnectConditionalSlotComponent(this);
|
|
9890
|
+
}
|
|
9840
9891
|
//--------------------------------------------------------------------------
|
|
9841
9892
|
//
|
|
9842
9893
|
// Public Methods
|
|
@@ -9855,7 +9906,7 @@ class CalciteChip {
|
|
|
9855
9906
|
renderChipImage() {
|
|
9856
9907
|
const { el } = this;
|
|
9857
9908
|
const hasChipImage = getSlotted(el, SLOTS$i.image);
|
|
9858
|
-
return hasChipImage ? (hAsync("div", { class: CSS$H.chipImageContainer }, hAsync("slot", { name: SLOTS$i.image }))) : null;
|
|
9909
|
+
return hasChipImage ? (hAsync("div", { class: CSS$H.chipImageContainer, key: "image" }, hAsync("slot", { name: SLOTS$i.image }))) : null;
|
|
9859
9910
|
}
|
|
9860
9911
|
render() {
|
|
9861
9912
|
const iconEl = (hAsync("calcite-icon", { class: CSS$H.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
@@ -20625,6 +20676,17 @@ class CalciteListItem {
|
|
|
20625
20676
|
}
|
|
20626
20677
|
// --------------------------------------------------------------------------
|
|
20627
20678
|
//
|
|
20679
|
+
// Lifecycle
|
|
20680
|
+
//
|
|
20681
|
+
// --------------------------------------------------------------------------
|
|
20682
|
+
connectedCallback() {
|
|
20683
|
+
connectConditionalSlotComponent(this);
|
|
20684
|
+
}
|
|
20685
|
+
disconnectedCallback() {
|
|
20686
|
+
disconnectConditionalSlotComponent(this);
|
|
20687
|
+
}
|
|
20688
|
+
// --------------------------------------------------------------------------
|
|
20689
|
+
//
|
|
20628
20690
|
// Public Methods
|
|
20629
20691
|
//
|
|
20630
20692
|
// --------------------------------------------------------------------------
|
|
@@ -21060,11 +21122,13 @@ class CalciteModal {
|
|
|
21060
21122
|
var _a;
|
|
21061
21123
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
21062
21124
|
this.updateFooterVisibility();
|
|
21125
|
+
connectConditionalSlotComponent(this);
|
|
21063
21126
|
}
|
|
21064
21127
|
disconnectedCallback() {
|
|
21065
21128
|
var _a;
|
|
21066
21129
|
this.removeOverflowHiddenClass();
|
|
21067
21130
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
21131
|
+
disconnectConditionalSlotComponent(this);
|
|
21068
21132
|
}
|
|
21069
21133
|
render() {
|
|
21070
21134
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("calcite-scrim", { class: CSS$n.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: "modal", onTransitionEnd: this.transitionEnd }, hAsync("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), hAsync("div", { class: CSS$n.header }, this.renderCloseButton(), hAsync("header", { class: CSS$n.title }, hAsync("slot", { name: CSS$n.header }))), hAsync("div", { class: {
|
|
@@ -21074,10 +21138,10 @@ class CalciteModal {
|
|
|
21074
21138
|
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$e.content })), this.renderFooter(), hAsync("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
21075
21139
|
}
|
|
21076
21140
|
renderFooter() {
|
|
21077
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$n.footer }, hAsync("span", { class: CSS$n.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$n.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$n.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
|
|
21141
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$n.footer, key: "footer" }, hAsync("span", { class: CSS$n.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$n.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$n.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
|
|
21078
21142
|
}
|
|
21079
21143
|
renderCloseButton() {
|
|
21080
|
-
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$n.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
21144
|
+
return !this.disableCloseButton ? (hAsync("button", { "aria-label": this.intlClose, class: CSS$n.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, hAsync("calcite-icon", { icon: ICONS$6.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
21081
21145
|
}
|
|
21082
21146
|
renderStyle() {
|
|
21083
21147
|
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
@@ -21278,6 +21342,12 @@ class CalciteNotice {
|
|
|
21278
21342
|
// Lifecycle
|
|
21279
21343
|
//
|
|
21280
21344
|
//--------------------------------------------------------------------------
|
|
21345
|
+
connectedCallback() {
|
|
21346
|
+
connectConditionalSlotComponent(this);
|
|
21347
|
+
}
|
|
21348
|
+
disconnectedCallback() {
|
|
21349
|
+
disconnectConditionalSlotComponent(this);
|
|
21350
|
+
}
|
|
21281
21351
|
componentWillLoad() {
|
|
21282
21352
|
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
21283
21353
|
}
|
|
@@ -21776,6 +21846,17 @@ class CalcitePanel {
|
|
|
21776
21846
|
}
|
|
21777
21847
|
// --------------------------------------------------------------------------
|
|
21778
21848
|
//
|
|
21849
|
+
// Lifecycle
|
|
21850
|
+
//
|
|
21851
|
+
// --------------------------------------------------------------------------
|
|
21852
|
+
connectedCallback() {
|
|
21853
|
+
connectConditionalSlotComponent(this);
|
|
21854
|
+
}
|
|
21855
|
+
disconnectedCallback() {
|
|
21856
|
+
disconnectConditionalSlotComponent(this);
|
|
21857
|
+
}
|
|
21858
|
+
// --------------------------------------------------------------------------
|
|
21859
|
+
//
|
|
21779
21860
|
// Methods
|
|
21780
21861
|
//
|
|
21781
21862
|
// --------------------------------------------------------------------------
|
|
@@ -21815,7 +21896,7 @@ class CalcitePanel {
|
|
|
21815
21896
|
* Allows user to override the entire header-content node.
|
|
21816
21897
|
*/
|
|
21817
21898
|
renderHeaderSlottedContent() {
|
|
21818
|
-
return (hAsync("div", { class: CSS$k.headerContent, key: "header-content" }, hAsync("slot", { name: SLOTS$c.headerContent })));
|
|
21899
|
+
return (hAsync("div", { class: CSS$k.headerContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$c.headerContent })));
|
|
21819
21900
|
}
|
|
21820
21901
|
renderHeaderStartActions() {
|
|
21821
21902
|
const { el } = this;
|
|
@@ -21833,7 +21914,7 @@ class CalcitePanel {
|
|
|
21833
21914
|
renderMenu() {
|
|
21834
21915
|
const { el, intlOptions, menuOpen } = this;
|
|
21835
21916
|
const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
|
|
21836
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
21917
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
21837
21918
|
}
|
|
21838
21919
|
renderHeaderNode() {
|
|
21839
21920
|
const { el, showBackButton } = this;
|
|
@@ -21851,18 +21932,11 @@ class CalcitePanel {
|
|
|
21851
21932
|
headerMenuNode ||
|
|
21852
21933
|
showBackButton ? (hAsync("header", { class: CSS$k.header }, backButtonNode, actionsNodeStart, headerContentNode, actionsNodeEnd, headerMenuNode)) : null;
|
|
21853
21934
|
}
|
|
21854
|
-
|
|
21855
|
-
* Allows user to override the entire footer node.
|
|
21856
|
-
*/
|
|
21857
|
-
renderFooterSlottedContent() {
|
|
21935
|
+
renderFooterNode() {
|
|
21858
21936
|
const { el } = this;
|
|
21859
21937
|
const hasFooterSlottedContent = getSlotted(el, SLOTS$c.footer);
|
|
21860
|
-
return hasFooterSlottedContent ? (hAsync("footer", { class: CSS$k.footer }, hAsync("slot", { name: SLOTS$c.footer }))) : null;
|
|
21861
|
-
}
|
|
21862
|
-
renderFooterActions() {
|
|
21863
|
-
const { el } = this;
|
|
21864
21938
|
const hasFooterActions = getSlotted(el, SLOTS$c.footerActions);
|
|
21865
|
-
return hasFooterActions ? (hAsync("footer", { class: CSS$k.footer }, hAsync("slot", { name: SLOTS$c.footerActions }))) : null;
|
|
21939
|
+
return hasFooterSlottedContent || hasFooterActions ? (hAsync("footer", { class: CSS$k.footer, key: "footer" }, hasFooterSlottedContent ? hAsync("slot", { key: "footer-slot", name: SLOTS$c.footer }) : null, hasFooterActions ? hAsync("slot", { key: "footer-actions-slot", name: SLOTS$c.footerActions }) : null)) : null;
|
|
21866
21940
|
}
|
|
21867
21941
|
renderContent() {
|
|
21868
21942
|
const { el } = this;
|
|
@@ -21874,7 +21948,7 @@ class CalcitePanel {
|
|
|
21874
21948
|
}
|
|
21875
21949
|
render() {
|
|
21876
21950
|
const { dismissed, disabled, dismissible, loading, panelKeyDownHandler } = this;
|
|
21877
|
-
const panelNode = (hAsync("article", { "aria-busy": loading.toString(), class: CSS$k.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.
|
|
21951
|
+
const panelNode = (hAsync("article", { "aria-busy": loading.toString(), class: CSS$k.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
21878
21952
|
return (hAsync(Fragment, null, loading || disabled ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
21879
21953
|
}
|
|
21880
21954
|
get el() { return getElement(this); }
|
|
@@ -22374,6 +22448,17 @@ class CalcitePickListGroup {
|
|
|
22374
22448
|
}
|
|
22375
22449
|
// --------------------------------------------------------------------------
|
|
22376
22450
|
//
|
|
22451
|
+
// Lifecycle
|
|
22452
|
+
//
|
|
22453
|
+
// --------------------------------------------------------------------------
|
|
22454
|
+
connectedCallback() {
|
|
22455
|
+
connectConditionalSlotComponent(this);
|
|
22456
|
+
}
|
|
22457
|
+
disconnectedCallback() {
|
|
22458
|
+
disconnectConditionalSlotComponent(this);
|
|
22459
|
+
}
|
|
22460
|
+
// --------------------------------------------------------------------------
|
|
22461
|
+
//
|
|
22377
22462
|
// Render Methods
|
|
22378
22463
|
//
|
|
22379
22464
|
// --------------------------------------------------------------------------
|
|
@@ -22524,6 +22609,17 @@ class CalcitePickListItem {
|
|
|
22524
22609
|
}
|
|
22525
22610
|
// --------------------------------------------------------------------------
|
|
22526
22611
|
//
|
|
22612
|
+
// Lifecycle
|
|
22613
|
+
//
|
|
22614
|
+
// --------------------------------------------------------------------------
|
|
22615
|
+
connectedCallback() {
|
|
22616
|
+
connectConditionalSlotComponent(this);
|
|
22617
|
+
}
|
|
22618
|
+
disconnectedCallback() {
|
|
22619
|
+
disconnectConditionalSlotComponent(this);
|
|
22620
|
+
}
|
|
22621
|
+
// --------------------------------------------------------------------------
|
|
22622
|
+
//
|
|
22527
22623
|
// Public Methods
|
|
22528
22624
|
//
|
|
22529
22625
|
// --------------------------------------------------------------------------
|
|
@@ -24155,12 +24251,23 @@ class CalciteShell {
|
|
|
24155
24251
|
}
|
|
24156
24252
|
// --------------------------------------------------------------------------
|
|
24157
24253
|
//
|
|
24254
|
+
// Lifecycle
|
|
24255
|
+
//
|
|
24256
|
+
// --------------------------------------------------------------------------
|
|
24257
|
+
connectedCallback() {
|
|
24258
|
+
connectConditionalSlotComponent(this);
|
|
24259
|
+
}
|
|
24260
|
+
disconnectedCallback() {
|
|
24261
|
+
disconnectConditionalSlotComponent(this);
|
|
24262
|
+
}
|
|
24263
|
+
// --------------------------------------------------------------------------
|
|
24264
|
+
//
|
|
24158
24265
|
// Render Methods
|
|
24159
24266
|
//
|
|
24160
24267
|
// --------------------------------------------------------------------------
|
|
24161
24268
|
renderHeader() {
|
|
24162
24269
|
const hasHeader = !!getSlotted(this.el, SLOTS$7.header);
|
|
24163
|
-
return hasHeader ? hAsync("slot", { name: SLOTS$7.header }) : null;
|
|
24270
|
+
return hasHeader ? hAsync("slot", { key: "header", name: SLOTS$7.header }) : null;
|
|
24164
24271
|
}
|
|
24165
24272
|
renderContent() {
|
|
24166
24273
|
const content = !!this.contentBehind
|
|
@@ -24178,7 +24285,7 @@ class CalciteShell {
|
|
|
24178
24285
|
}
|
|
24179
24286
|
renderFooter() {
|
|
24180
24287
|
const hasFooter = !!getSlotted(this.el, SLOTS$7.footer);
|
|
24181
|
-
return hasFooter ? (hAsync("div", { class: CSS$b.footer }, hAsync("slot", { name: SLOTS$7.footer }))) : null;
|
|
24288
|
+
return hasFooter ? (hAsync("div", { class: CSS$b.footer, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer }))) : null;
|
|
24182
24289
|
}
|
|
24183
24290
|
renderMain() {
|
|
24184
24291
|
const primaryPanel = getSlotted(this.el, SLOTS$7.primaryPanel);
|
|
@@ -24242,6 +24349,17 @@ class CalciteShellCenterRow {
|
|
|
24242
24349
|
}
|
|
24243
24350
|
// --------------------------------------------------------------------------
|
|
24244
24351
|
//
|
|
24352
|
+
// Lifecycle
|
|
24353
|
+
//
|
|
24354
|
+
// --------------------------------------------------------------------------
|
|
24355
|
+
connectedCallback() {
|
|
24356
|
+
connectConditionalSlotComponent(this);
|
|
24357
|
+
}
|
|
24358
|
+
disconnectedCallback() {
|
|
24359
|
+
disconnectConditionalSlotComponent(this);
|
|
24360
|
+
}
|
|
24361
|
+
// --------------------------------------------------------------------------
|
|
24362
|
+
//
|
|
24245
24363
|
// Render Methods
|
|
24246
24364
|
//
|
|
24247
24365
|
// --------------------------------------------------------------------------
|
|
@@ -24249,7 +24367,7 @@ class CalciteShellCenterRow {
|
|
|
24249
24367
|
const { el } = this;
|
|
24250
24368
|
const contentNode = (hAsync("div", { class: CSS$a.content }, hAsync("slot", null)));
|
|
24251
24369
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
24252
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$a.actionBarContainer }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
24370
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$a.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
24253
24371
|
const children = [actionBarNode, contentNode];
|
|
24254
24372
|
if ((actionBar === null || actionBar === void 0 ? void 0 : actionBar.position) === "end") {
|
|
24255
24373
|
children.reverse();
|
|
@@ -24437,7 +24555,11 @@ class CalciteShellPanel {
|
|
|
24437
24555
|
// Lifecycle
|
|
24438
24556
|
//
|
|
24439
24557
|
//--------------------------------------------------------------------------
|
|
24558
|
+
connectedCallback() {
|
|
24559
|
+
connectConditionalSlotComponent(this);
|
|
24560
|
+
}
|
|
24440
24561
|
disconnectedCallback() {
|
|
24562
|
+
disconnectConditionalSlotComponent(this);
|
|
24441
24563
|
this.disconnectSeparator();
|
|
24442
24564
|
}
|
|
24443
24565
|
componentDidLoad() {
|
|
@@ -24451,14 +24573,14 @@ class CalciteShellPanel {
|
|
|
24451
24573
|
renderHeader() {
|
|
24452
24574
|
const { el } = this;
|
|
24453
24575
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
24454
|
-
return hasHeader ? (hAsync("div", { class: CSS$9.contentHeader }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
24576
|
+
return hasHeader ? (hAsync("div", { class: CSS$9.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
24455
24577
|
}
|
|
24456
24578
|
render() {
|
|
24457
24579
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
|
|
24458
24580
|
const allowResizing = !detached && resizable;
|
|
24459
|
-
const contentNode = (hAsync("div", { class: { [CSS$9.content]: true, [CSS$9.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), hAsync("div", { class: CSS$9.contentBody }, hAsync("slot", null))));
|
|
24460
|
-
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$9.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
24461
|
-
const actionBarNode = hAsync("slot", { name: SLOTS$5.actionBar });
|
|
24581
|
+
const contentNode = (hAsync("div", { class: { [CSS$9.content]: true, [CSS$9.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), hAsync("div", { class: CSS$9.contentBody }, hAsync("slot", null))));
|
|
24582
|
+
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$9.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
24583
|
+
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
24462
24584
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
24463
24585
|
if (position === "end") {
|
|
24464
24586
|
mainNodes.reverse();
|
|
@@ -29793,6 +29915,17 @@ class CalciteTile {
|
|
|
29793
29915
|
}
|
|
29794
29916
|
// --------------------------------------------------------------------------
|
|
29795
29917
|
//
|
|
29918
|
+
// Lifecycle
|
|
29919
|
+
//
|
|
29920
|
+
// --------------------------------------------------------------------------
|
|
29921
|
+
connectedCallback() {
|
|
29922
|
+
connectConditionalSlotComponent(this);
|
|
29923
|
+
}
|
|
29924
|
+
disconnectedCallback() {
|
|
29925
|
+
disconnectConditionalSlotComponent(this);
|
|
29926
|
+
}
|
|
29927
|
+
// --------------------------------------------------------------------------
|
|
29928
|
+
//
|
|
29796
29929
|
// Render Methods
|
|
29797
29930
|
//
|
|
29798
29931
|
// --------------------------------------------------------------------------
|
|
@@ -30823,6 +30956,17 @@ class CalciteTip {
|
|
|
30823
30956
|
}
|
|
30824
30957
|
// --------------------------------------------------------------------------
|
|
30825
30958
|
//
|
|
30959
|
+
// Lifecycle
|
|
30960
|
+
//
|
|
30961
|
+
// --------------------------------------------------------------------------
|
|
30962
|
+
connectedCallback() {
|
|
30963
|
+
connectConditionalSlotComponent(this);
|
|
30964
|
+
}
|
|
30965
|
+
disconnectedCallback() {
|
|
30966
|
+
disconnectConditionalSlotComponent(this);
|
|
30967
|
+
}
|
|
30968
|
+
// --------------------------------------------------------------------------
|
|
30969
|
+
//
|
|
30826
30970
|
// Render Methods
|
|
30827
30971
|
//
|
|
30828
30972
|
// --------------------------------------------------------------------------
|
|
@@ -30841,7 +30985,7 @@ class CalciteTip {
|
|
|
30841
30985
|
}
|
|
30842
30986
|
renderImageFrame() {
|
|
30843
30987
|
const { el } = this;
|
|
30844
|
-
return getSlotted(el, SLOTS$2.thumbnail) ? (hAsync("div", { class: CSS$3.imageFrame }, hAsync("slot", { name: SLOTS$2.thumbnail }))) : null;
|
|
30988
|
+
return getSlotted(el, SLOTS$2.thumbnail) ? (hAsync("div", { class: CSS$3.imageFrame, key: "thumbnail" }, hAsync("slot", { name: SLOTS$2.thumbnail }))) : null;
|
|
30845
30989
|
}
|
|
30846
30990
|
renderInfoNode() {
|
|
30847
30991
|
return (hAsync("div", { class: CSS$3.info }, hAsync("slot", null)));
|
|
@@ -31752,6 +31896,10 @@ class CalciteTreeItem {
|
|
|
31752
31896
|
const { expanded } = this.parentTreeItem;
|
|
31753
31897
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
31754
31898
|
}
|
|
31899
|
+
connectConditionalSlotComponent(this);
|
|
31900
|
+
}
|
|
31901
|
+
disconnectedCallback() {
|
|
31902
|
+
disconnectConditionalSlotComponent(this);
|
|
31755
31903
|
}
|
|
31756
31904
|
componentWillRender() {
|
|
31757
31905
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -32236,6 +32384,17 @@ class CalciteValueListItem {
|
|
|
32236
32384
|
}
|
|
32237
32385
|
// --------------------------------------------------------------------------
|
|
32238
32386
|
//
|
|
32387
|
+
// Lifecycle
|
|
32388
|
+
//
|
|
32389
|
+
// --------------------------------------------------------------------------
|
|
32390
|
+
connectedCallback() {
|
|
32391
|
+
connectConditionalSlotComponent(this);
|
|
32392
|
+
}
|
|
32393
|
+
disconnectedCallback() {
|
|
32394
|
+
disconnectConditionalSlotComponent(this);
|
|
32395
|
+
}
|
|
32396
|
+
// --------------------------------------------------------------------------
|
|
32397
|
+
//
|
|
32239
32398
|
// Public Methods
|
|
32240
32399
|
//
|
|
32241
32400
|
// --------------------------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,h as a,F as i,g as n}from"./p-2e29554c.js";import{S as e,I as o,T as r}from"./p-f243b615.js";import{g as c}from"./p-9b05c3fd.js";import{S as s}from"./p-26508b91.js";import"./p-8a63221d.js";let l=class{constructor(a){t(this,a),this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.setMenuOpen=t=>{this.menuOpen=!!t.detail}}expandedHandler(){this.menuOpen=!1}renderTooltip(){const{el:t}=this;return c(t,e.menuTooltip)?a("slot",{name:e.menuTooltip,slot:s.tooltip}):null}renderMenu(){const{el:t,expanded:i,intlMore:n,menuOpen:l,scale:m}=this;return c(t,e.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:n||r.more,onCalciteActionMenuOpenChange:this.setMenuOpen,open:l,placement:"leading-start",scale:m},a("calcite-action",{icon:o.menu,scale:m,slot:s.trigger,text:n||r.more,textEnabled:i}),a("slot",{name:e.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"]}}};l.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{l as calcite_action_group}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
*/
|
|
5
|
-
System.register(["./p-288bc438.system.js","./p-3a20f93d.system.js","./p-34e5baa7.system.js","./p-e020662f.system.js"],(function(t){"use strict";var e,i,a,n,r,o,l,c;return{setters:[function(t){e=t.r;i=t.c;a=t.h;n=t.H;r=t.g},function(t){o=t.g;l=t.a},function(t){c=t.C},function(){}],execute:function(){var s={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var m={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var d={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var g={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var p=4;var u='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.summary{margin-top:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-top:0.75rem;margin-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}';var f=t("calcite_block",function(){function t(t){var a=this;e(this,t);this.calciteBlockToggle=i(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=m.loading;this.intlOptions=m.options;this.loading=false;this.open=false;this.onHeaderClick=function(){a.open=!a.open;a.calciteBlockToggle.emit()}}t.prototype.renderScrim=function(){var t=this,e=t.disabled,i=t.loading;var n=a("slot",null);return[i||e?a("calcite-scrim",{loading:i}):null,n]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,n=e.status;var r=this.loading&&!this.open;var l=r?g.refresh:g[n];var c=o(i,d.icon)||l;var m=!l?a("slot",{name:d.icon}):a("calcite-icon",{class:(t={},t[s.statusIcon]=true,t[s.valid]=n=="valid",t[s.invalid]=n=="invalid",t[s.loading]=r,t),icon:l,scale:"m"});return c?a("div",{class:s.icon},m):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,n=t.summary;return e||n?a("div",{class:s.title},a(c,{class:s.heading,level:i||p},e),n?a("div",{class:s.summary},n):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,r=e.disabled,l=e.el,c=e.intlCollapse,p=e.intlExpand,u=e.loading,f=e.open,h=e.intlLoading;var b=f?c||m.collapse:p||m.expand;var v=a("header",{class:s.header},this.renderIcon(),this.renderTitle());var w=!!o(l,d.control);var x=!!o(l,d.headerMenuActions);var k=f?g.opened:g.closed;var y=a("div",{class:s.headerContainer},this.dragHandle?a("calcite-handle",null):null,i?a("button",{"aria-expanded":i?f.toString():null,"aria-label":b,class:s.toggle,onClick:this.onHeaderClick,title:b},v,!w&&!x?a("calcite-icon",{"aria-hidden":"true",class:s.toggleIcon,icon:k,scale:"s"}):null):v,u?a("calcite-loader",{inline:true,"is-active":true,label:h}):w?a("div",{class:s.controlContainer},a("slot",{name:d.control})):null,x?a("calcite-action-menu",{label:this.intlOptions||m.options},a("slot",{name:d.headerMenuActions})):null);return a(n,{tabIndex:r?-1:null},a("article",{"aria-busy":u.toString(),class:(t={},t[s.article]=true,t)},y,a("div",{class:s.content,hidden:!f},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());f.style=u;var h={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var b={collapse:"Collapse",expand:"Expand"};var v={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var w="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-bottom-width:1px;border-style:solid;border-bottom-color:var(--calcite-ui-border-3)}:host(:last-child){border-bottom-width:0px}.toggle{width:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-left:0px;margin-right:0px;margin-top:0.25rem;margin-bottom:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-left:0.75rem;margin-right:0.75rem;margin-top:0px;margin-bottom:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var x=t("calcite_block_section",function(){function t(t){var a=this;e(this,t);this.calciteBlockSectionToggle=i(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){a.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){a.open=!a.open;a.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var n=(e=v[i])!==null&&e!==void 0?e:false;var r=(t={},t[h.statusIcon]=true,t[h.valid]=i=="valid",t[h.invalid]=i=="invalid",t);return!!n?a("calcite-icon",{class:r,icon:n,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,n=i.el,r=i.intlCollapse,o=i.intlExpand,c=i.open,s=i.text,m=i.toggleDisplay;var d=l(n);var g=c?v.menuOpen:d==="rtl"?v.menuClosedLeft:v.menuClosedRight;var p=c?r||b.collapse:o||b.expand;var u=m==="switch"?a("div",{"aria-label":p,class:(t={},t[h.toggle]=true,t[h.toggleSwitch]=true,t),onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:p},a("div",{class:h.toggleSwitchContent},a("span",{class:h.toggleSwitchText},s)),a("calcite-switch",{checked:c,label:p,scale:"s",tabIndex:-1}),this.renderStatusIcon()):a("button",{"aria-label":p,class:(e={},e[h.sectionHeader]=true,e[h.toggle]=true,e),name:p,onClick:this.toggleSection},a("calcite-icon",{icon:g,scale:"s"}),a("span",{class:h.sectionHeaderText},s),this.renderStatusIcon());return a("section",{"aria-expanded":c.toString()},u,a("div",{class:h.content,hidden:!c},a("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());x.style=w}}}));
|