Socket
Socket
Sign inDemoInstall

@esri/calcite-app-components

Package Overview
Dependencies
2
Maintainers
29
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha.2 to 1.0.0

dist/calcite-app/calcite-app.js

7

dist/calcite-app/calcite-app.esm.js

@@ -1,6 +0,1 @@

import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-8ebd34f9.js';
patchBrowser().then(options => {
globals();
return bootstrapLazy([["calcite-action-bar",[[1,"calcite-action-bar",{"expand":[516],"expanded":[516],"textExpand":[1,"text-expand"],"textCollapse":[1,"text-collapse"],"layout":[513],"theme":[513]}]]],["calcite-block-section",[[1,"calcite-block-section",{"open":[516],"text":[1],"textExpand":[1,"text-expand"],"textCollapse":[1,"text-collapse"]}]]],["calcite-flow-item",[[1,"calcite-flow-item",{"heading":[1],"menuOpen":[516,"menu-open"],"showBackButton":[4,"show-back-button"],"textBack":[1,"text-back"],"textClose":[1,"text-close"],"textOpen":[1,"text-open"],"theme":[513]}]]],["calcite-shell-floating-panel",[[1,"calcite-shell-floating-panel",{"placement":[513],"heading":[513],"positionElement":[16],"offsetTop":[32]}]]],["calcite-tip",[[1,"calcite-tip",{"storageId":[1,"storage-id"],"nonDismissible":[516,"non-dismissible"],"heading":[1],"textClose":[1,"text-close"],"textThumbnail":[1,"text-thumbnail"],"thumbnail":[1],"theme":[513],"dismissed":[32]}]]],["calcite-tip-manager",[[1,"calcite-tip-manager",{"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],"nextTip":[64],"previousTip":[64]}]]],["calcite-action-pad",[[1,"calcite-action-pad",{"placement":[513],"positionElement":[16],"theme":[513],"offsetTop":[32]}]]],["calcite-block",[[1,"calcite-block",{"collapsible":[4],"heading":[1],"open":[516],"summary":[1],"textExpand":[1,"text-expand"],"textCollapse":[1,"text-collapse"],"theme":[513]}]]],["calcite-demo-nav",[[1,"calcite-demo-nav",{"pageId":[1,"page-id"],"open":[32]}]]],["calcite-flow",[[1,"calcite-flow",{"theme":[513],"flowCount":[32],"flowDirection":[32],"flows":[32],"back":[64]}]]],["calcite-shell",[[1,"calcite-shell",{"theme":[513]}]]],["calcite-shell-panel",[[1,"calcite-shell-panel",{"collapsed":[516],"layout":[513]}]]],["calcite-tip-group",[[1,"calcite-tip-group",{"textGroupTitle":[513,"text-group-title"]}]]],["calcite-action-group",[[1,"calcite-action-group"]]],["calcite-action",[[1,"calcite-action",{"active":[516],"compact":[516],"disabled":[516],"indicator":[516],"label":[1],"text":[1],"textEnabled":[516,"text-enabled"],"theme":[513]}]]]], options);
});
import{p as e,b as t}from"./p-36c43020.js";e().then(e=>t([["p-9pjjjt2j",[[1,"calcite-tip",{storageId:[1,"storage-id"],nonDismissible:[516,"non-dismissible"],heading:[1],textClose:[1,"text-close"],textThumbnail:[1,"text-thumbnail"],thumbnail:[1],theme:[513],dismissed:[32]}],[1,"calcite-tip-manager",{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],nextTip:[64],previousTip:[64]}],[1,"calcite-tip-group",{textGroupTitle:[513,"text-group-title"]}]]],["p-rpypfhrx",[[1,"calcite-floating-panel",{placement:[513],heading:[513],positionElement:[16],offsetTop:[32]}],[1,"calcite-shell",{theme:[513]}],[1,"calcite-shell-panel",{collapsed:[516],layout:[513]}]]],["p-79rnaztd",[[1,"calcite-block-section",{open:[516],text:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"]}],[1,"calcite-block",{collapsible:[4],heading:[1],open:[516],summary:[1],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],theme:[513]}]]],["p-etdkgx8s",[[1,"calcite-flow-item",{heading:[1],menuOpen:[516,"menu-open"],showBackButton:[4,"show-back-button"],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]}]]],["p-zzbr1ctf",[[1,"calcite-alert",{dismiss:[4],duration:[513],color:[513],theme:[513],icon:[4],id:[1],currentAlert:[1,"current-alert"],queueLength:[2,"queue-length"],active:[32],closeCalciteAlert:[64],openCalciteAlert:[64]}]]],["p-8erwernj",[[1,"calcite-alerts",{id:[1],currentAlert:[32],active:[32],alertQueue:[32]},[[0,"calciteAlertOpen","updateQueueOnOpen"],[0,"calciteAlertClose","updateQueueOnClose"]]]]],["p-lcxo4cfj",[[1,"calcite-example",{property:[1],state:[32],doThing:[64]},[[0,"click","onClick"]]]]],["p-5j2tvdjj",[[1,"calcite-loader",{isActive:[4,"is-active"],text:[1]}]]],["p-39uqys7r",[[4,"calcite-progress",{type:[1],value:[2],text:[1],reversed:[4]}]]],["p-sjaupm2g",[[1,"calcite-switch",{switched:[516],name:[513],value:[513],color:[1]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-whse6lzz",[[1,"calcite-tab",{tab:[1537],isActive:[1540,"is-active"],labeledBy:[32],getTabIndex:[64],updateAriaInfo:[64]},[[16,"calciteTabChange","tabChangeHandler"]]]]],["p-4maghz17",[[1,"calcite-tab-nav",{storageId:[1,"storage-id"],syncId:[1,"sync-id"],selectedTab:[32]},[[0,"calciteTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteTabsFocusNext","focusNextTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[32,"calciteTabChange","globalTabChangeHandler"]]]]],["p-wwytrxru",[[1,"calcite-tab-title",{tab:[1537],isActive:[1540,"is-active"],controls:[32],getTabIndex:[64],getTabIdentifier:[64],updateAriaInfo:[64]},[[16,"calciteTabChange","tabChangeHandler"],[0,"click","onClick"],[0,"keydown","keyDownHandler"]]]]],["p-koeqgtth",[[1,"calcite-tabs",{theme:[513],layout:[513],titles:[32],tabs:[32]},[[0,"calciteTabTitleRegister","calciteTabTitleRegister"],[0,"calciteTabTitleUnregister","calciteTabTitleUnregister"],[0,"calciteTabRegister","calciteTabRegister"],[0,"calciteTabUnregister","calciteTabUnregister"]]]]],["p-ej7v3sdg",[[0,"context-consumer",{context:[16],renderer:[16],subscribe:[16],unsubscribe:[32]}]]],["p-si1bnnne",[[1,"calcite-action-bar",{expand:[516],expanded:[516],textExpand:[1,"text-expand"],textCollapse:[1,"text-collapse"],layout:[513],theme:[513]}],[1,"calcite-action-pad",{placement:[513],positionElement:[16],theme:[513],offsetTop:[32]}],[1,"calcite-action-group"],[1,"calcite-action",{active:[516],compact:[516],disabled:[516],indicator:[516],label:[1],text:[1],textEnabled:[516,"text-enabled"],theme:[513]}]]]],e));
import { Host, h } from "@stencil/core";
import { chevronsLeft16, chevronsRight16 } from "@esri/calcite-ui-icons";
import CalciteIcon from "../utils/CalciteIcon";
import { getElementDir } from "../utils/dom";
import { getElementDir } from "calcite-components/dist/collection/utils/dom";
import { CSS } from "./resources";

@@ -22,3 +22,3 @@ export class CalciteActionBar {

/**
* Updates the label of the expand icon when the component is not expanded.
* Updates the label of the expand icon when the component is collapsed.
*/

@@ -34,19 +34,7 @@ this.textExpand = "Expand";

}
expandedHandler(newValue) {
this.setTextEnabled(newValue);
this.calciteActionBarToggle.emit();
}
// --------------------------------------------------------------------------
//
// Lifecycle
// Component Methods
//
// --------------------------------------------------------------------------
componentWillLoad() {
this.setTextEnabled(this.expanded);
}
// --------------------------------------------------------------------------
//
// Private Methods
//
// --------------------------------------------------------------------------
getClosestShellLayout() {

@@ -59,12 +47,2 @@ const shellNode = this.el.closest("calcite-shell-panel");

}
setTextEnabled(expanded) {
this.el
.querySelectorAll("calcite-action")
.forEach((action) => expanded ? action.setAttribute("text-enabled", "") : action.removeAttribute("text-enabled"));
}
// --------------------------------------------------------------------------
//
// Render Methods
//
// --------------------------------------------------------------------------
renderExpandToggle() {

@@ -97,2 +75,12 @@ const { expanded, expand, textExpand, textCollapse, el, layout } = this;

}
// --------------------------------------------------------------------------
//
// Private Methods
//
// --------------------------------------------------------------------------
watchHandler(newValue) {
this.el
.querySelectorAll("calcite-action")
.forEach((action) => newValue ? action.setAttribute("text-enabled", "") : action.removeAttribute("text-enabled"));
}
static get is() { return "calcite-action-bar"; }

@@ -155,3 +143,3 @@ static get encapsulation() { return "shadow"; }

"tags": [],
"text": "Updates the label of the expand icon when the component is not expanded."
"text": "Updates the label of the expand icon when the component is collapsed."
},

@@ -225,23 +213,7 @@ "attribute": "text-expand",

}; }
static get events() { return [{
"method": "calciteActionBarToggle",
"name": "calciteActionBarToggle",
"bubbles": true,
"cancelable": true,
"composed": true,
"docs": {
"tags": [],
"text": "Emitted when expanded has been toggled."
},
"complexType": {
"original": "any",
"resolved": "any",
"references": {}
}
}]; }
static get elementRef() { return "el"; }
static get watchers() { return [{
"propName": "expanded",
"methodName": "expandedHandler"
"methodName": "watchHandler"
}]; }
}
import { Host, h } from "@stencil/core";
import { getOffsetTop } from "../utils/position";
import { CSS } from "./resources";
import classnames from "classnames";
import { getElementDir } from "../utils/dom";
import { CSS_UTILITY } from "../utils/resources";
export class CalciteActionPad {

@@ -17,16 +13,8 @@ constructor() {

render() {
const { el, offsetTop } = this;
const { offsetTop } = this;
const style = {
top: `${offsetTop}px`
};
const rtl = getElementDir(el) === "rtl";
const closest = el.closest("calcite-shell-panel");
const layout = (closest && closest.layout) || "leading";
return (h(Host, null,
h("div", { style: style, class: classnames(CSS.container, {
[CSS_UTILITY.rtl]: rtl,
[CSS.containerLeading]: layout === "leading",
[CSS.containerTrailing]: layout === "trailing"
}) },
h("slot", null))));
return (h(Host, { style: style },
h("slot", null)));
}

@@ -33,0 +21,0 @@ // --------------------------------------------------------------------------

@@ -5,3 +5,3 @@ import { Host, h } from "@stencil/core";

import { CSS_UTILITY } from "../utils/resources";
import { getElementDir } from "../utils/dom";
import { getElementDir } from "calcite-components/dist/collection/utils/dom";
export class CalciteAction {

@@ -8,0 +8,0 @@ constructor() {

import { Host, h } from "@stencil/core";
import { caretDown16F, caretLeft16F, caretRight16F } from "@esri/calcite-ui-icons";
import { getElementDir } from "../utils/dom";
import { getElementDir } from "calcite-components/dist/collection/utils/dom";
import { CSS, TEXT } from "./resources";

@@ -5,0 +5,0 @@ import CalciteIcon from "../utils/CalciteIcon";

import { Host, h } from "@stencil/core";
import { chevronLeft16, chevronRight16, ellipsis16 } from "@esri/calcite-ui-icons";
import { getElementDir } from "../utils/dom";
import { chevronLeft16, ellipsis16 } from "@esri/calcite-ui-icons";
import classnames from "classnames";
import { CSS, TEXT } from "./resources";
import CalciteIcon from "../utils/CalciteIcon";
import { CSS_UTILITY } from "../utils/resources";
export class CalciteFlowItem {

@@ -47,7 +45,6 @@ constructor() {

// --------------------------------------------------------------------------
renderBackButton(rtl) {
renderBackButton() {
const { showBackButton, textBack } = this;
const path = rtl ? chevronRight16 : chevronLeft16;
return showBackButton ? (h("calcite-action", { key: "back-button", "aria-label": textBack, text: textBack, class: CSS.backButton, onClick: this.backButtonClick },
h(CalciteIcon, { size: "16", path: path }))) : null;
h(CalciteIcon, { size: "16", path: chevronLeft16 }))) : null;
}

@@ -90,11 +87,9 @@ renderMenuButton() {

render() {
const { el, showBackButton, heading } = this;
const rtl = getElementDir(el) === "rtl";
const headingClasses = {
[CSS.heading]: true,
[CSS.headingFirst]: !showBackButton
[CSS.headingFirst]: !this.showBackButton
};
const headerNode = (h("header", { class: CSS.header },
this.renderBackButton(rtl),
h("h2", { class: classnames(headingClasses) }, heading),
this.renderBackButton(),
h("h2", { class: classnames(headingClasses) }, this.heading),
this.renderHeaderActions()));

@@ -104,5 +99,3 @@ const contentContainerNode = (h("section", { class: CSS.contentContainer },

return (h(Host, null,
h("article", { class: classnames(CSS.container, {
[CSS_UTILITY.rtl]: rtl
}) },
h("article", { class: CSS.container },
headerNode,

@@ -109,0 +102,0 @@ contentContainerNode,

@@ -19,5 +19,2 @@ import { Host, h } from "@stencil/core";

}
watchHandler() {
this.calciteShellPanelToggle.emit();
}
// --------------------------------------------------------------------------

@@ -39,3 +36,3 @@ //

mainNodes,
h("slot", { name: "shell-floating-panel" }),
h("slot", { name: "floating-panel" }),
h("slot", { name: "action-pad" })));

@@ -94,22 +91,2 @@ }

}; }
static get events() { return [{
"method": "calciteShellPanelToggle",
"name": "calciteShellPanelToggle",
"bubbles": true,
"cancelable": true,
"composed": true,
"docs": {
"tags": [],
"text": "Emitted when collapse has been toggled."
},
"complexType": {
"original": "any",
"resolved": "any",
"references": {}
}
}]; }
static get watchers() { return [{
"propName": "collapsed",
"methodName": "watchHandler"
}]; }
}

@@ -6,3 +6,2 @@ import { Host, h } from "@stencil/core";

import CalciteIcon from "../utils/CalciteIcon";
import { getElementDir } from "../utils/dom";
export class CalciteTipManager {

@@ -40,3 +39,2 @@ constructor() {

this.el.setAttribute("aria-hidden", "");
this.calciteTipManagerClose.emit();
};

@@ -90,8 +88,5 @@ this.previousClicked = () => {

const tips = Array.from(this.el.querySelectorAll("calcite-tip"));
this.total = tips.length;
if (this.total === 0) {
return;
}
const selectedTip = this.el.querySelector("calcite-tip[selected]");
this.tips = tips;
this.total = tips.length;
this.selectedIndex = selectedTip ? tips.indexOf(selectedTip) : 0;

@@ -121,13 +116,5 @@ tips.forEach((tip) => {

// --------------------------------------------------------------------------
renderPagination() {
const dir = getElementDir(this.el);
return this.tips.length > 1 ? (h("footer", { class: CSS.pagination },
h("calcite-action", { text: this.textPrevious, onClick: this.previousClicked, class: CSS.pagePrevious },
h(CalciteIcon, { size: "16", path: dir === "ltr" ? chevronLeft16 : chevronRight16 })),
h("span", { class: CSS.pagePosition }, `${this.textPaginationLabel} ${this.selectedIndex + 1}/${this.total}`),
h("calcite-action", { text: this.textNext, onClick: this.nextClicked, class: CSS.pageNext },
h(CalciteIcon, { size: "16", path: dir === "ltr" ? chevronRight16 : chevronLeft16 })))) : null;
}
render() {
if (this.total === 0) {
// TODO: Empty state
return h(Host, null);

@@ -142,3 +129,8 @@ }

h("slot", null)),
this.renderPagination()));
h("footer", { class: CSS.pagination },
h("calcite-action", { text: this.textPrevious, onClick: this.previousClicked, class: CSS.pagePrevious },
h(CalciteIcon, { size: "16", path: chevronLeft16 })),
h("span", { class: CSS.pagePosition }, `${this.textPaginationLabel} ${this.selectedIndex + 1}/${this.total}`),
h("calcite-action", { text: this.textNext, onClick: this.nextClicked, class: CSS.pageNext },
h(CalciteIcon, { size: "16", path: chevronRight16 })))));
}

@@ -273,18 +265,2 @@ static get is() { return "calcite-tip-manager"; }

}; }
static get events() { return [{
"method": "calciteTipManagerClose",
"name": "calciteTipManagerClose",
"bubbles": true,
"cancelable": true,
"composed": true,
"docs": {
"tags": [],
"text": "Emitted when the component has been closed."
},
"complexType": {
"original": "any",
"resolved": "any",
"references": {}
}
}]; }
static get methods() { return {

@@ -291,0 +267,0 @@ "nextTip": {

@@ -28,3 +28,2 @@ import { Host, h } from "@stencil/core";

}
this.calciteTipDismiss.emit();
};

@@ -190,19 +189,3 @@ }

}; }
static get events() { return [{
"method": "calciteTipDismiss",
"name": "calciteTipDismiss",
"bubbles": true,
"cancelable": true,
"composed": true,
"docs": {
"tags": [],
"text": "Emitted when the component has been dismissed."
},
"complexType": {
"original": "any",
"resolved": "any",
"references": {}
}
}]; }
static get elementRef() { return "el"; }
}
{
"entries": [
"calcite-action-group\\calcite-action-group.js",
"calcite-demo-nav\\calcite-demo-nav.js",
"calcite-tip-group\\calcite-tip-group.js",
"calcite-action-bar\\calcite-action-bar.js",

@@ -11,16 +9,39 @@ "calcite-action-pad\\calcite-action-pad.js",

"calcite-block\\calcite-block.js",
"calcite-floating-panel\\calcite-floating-panel.js",
"calcite-flow\\calcite-flow.js",
"calcite-flow-item\\calcite-flow-item.js",
"calcite-flow\\calcite-flow.js",
"calcite-shell-floating-panel\\calcite-shell-floating-panel.js",
"calcite-shell-panel\\calcite-shell-panel.js",
"calcite-shell\\calcite-shell.js",
"calcite-shell-panel\\calcite-shell-panel.js",
"calcite-tip\\calcite-tip.js",
"calcite-tip-manager\\calcite-tip-manager.js"
"calcite-tip-group\\calcite-tip-group.js",
"calcite-tip-manager\\calcite-tip-manager.js",
"calcite-tip\\calcite-tip.js"
],
"compiler": {
"name": "@stencil/core",
"version": "1.3.2",
"version": "1.2.5",
"typescriptVersion": "3.5.3"
},
"collections": [],
"collections": [
{
"name": "@stencil/state-tunnel",
"tags": [
"context-consumer"
]
},
{
"name": "calcite-components",
"tags": [
"calcite-alert",
"calcite-alerts",
"calcite-example",
"calcite-loader",
"calcite-progress",
"calcite-switch",
"calcite-tab",
"calcite-tab-nav",
"calcite-tab-title",
"calcite-tabs"
]
}
],
"bundles": [

@@ -41,4 +62,4 @@ {

"components": [
"calcite-floating-panel",
"calcite-shell",
"calcite-shell-floating-panel",
"calcite-shell-panel"

@@ -45,0 +66,0 @@ ]

@@ -1,2 +0,1 @@

import { EventEmitter } from "../stencil.core";
import { CalciteLayout, CalciteTheme } from "../interfaces";

@@ -12,5 +11,4 @@ export declare class CalciteActionBar {

expanded: boolean;
expandedHandler(newValue: boolean): void;
/**
* Updates the label of the expand icon when the component is not expanded.
* Updates the label of the expand icon when the component is collapsed.
*/

@@ -30,14 +28,9 @@ textExpand: string;

theme: CalciteTheme;
/**
* Emitted when expanded has been toggled.
*/
calciteActionBarToggle: EventEmitter;
el: HTMLElement;
componentWillLoad(): void;
getClosestShellLayout(): CalciteLayout;
setTextEnabled(expanded: boolean): void;
toggleExpand: () => void;
renderExpandToggle(): any;
renderBottomActionGroup(): any;
render(): any;
watchHandler(newValue: boolean): void;
toggleExpand: () => void;
}

@@ -18,3 +18,3 @@ import { CalcitePlacement, CalciteTheme } from "../interfaces";

theme: CalciteTheme;
el: HTMLCalciteShellFloatingPanelElement;
el: HTMLCalciteFloatingPanelElement;
offsetTop: number;

@@ -21,0 +21,0 @@ render(): any;

@@ -39,3 +39,3 @@ import { EventEmitter } from "../stencil.core";

backButtonClick: () => void;
renderBackButton(rtl: boolean): any;
renderBackButton(): any;
renderMenuButton(): any;

@@ -42,0 +42,0 @@ renderMenuActions(): any;

@@ -1,2 +0,1 @@

import { EventEmitter } from "../stencil.core";
import { CalciteLayout } from "../interfaces";

@@ -8,3 +7,2 @@ export declare class CalciteShellPanel {

collapsed: boolean;
watchHandler(): void;
/**

@@ -14,7 +12,3 @@ * Arrangement of the component.

layout: CalciteLayout;
/**
* Emitted when collapse has been toggled.
*/
calciteShellPanelToggle: EventEmitter;
render(): any;
}

@@ -1,2 +0,1 @@

import { EventEmitter } from "../stencil.core";
import { CalciteTheme } from "../interfaces";

@@ -41,6 +40,2 @@ export declare class CalciteTipManager {

previousTip(): Promise<void>;
/**
* Emitted when the component has been closed.
*/
calciteTipManagerClose: EventEmitter;
setUpTips(): void;

@@ -52,4 +47,3 @@ hideTipManager: () => void;

nextClicked: () => void;
renderPagination(): any;
render(): any;
}

@@ -1,2 +0,1 @@

import { EventEmitter } from "../stencil.core";
import { CalciteTheme } from "../interfaces";

@@ -34,8 +33,4 @@ export declare class CalciteTip {

dismissed: boolean;
/**
* Emitted when the component has been dismissed.
*/
calciteTipDismiss: EventEmitter;
hideTip: () => void;
render(): any;
}

@@ -68,3 +68,3 @@ /* tslint:disable */

/**
* Updates the label of the expand icon when the component is not expanded.
* Updates the label of the expand icon when the component is collapsed.
*/

@@ -140,4 +140,15 @@ 'textExpand': string;

}
interface CalciteDemoNav {
'pageId': string;
interface CalciteFloatingPanel {
/**
* Panel heading
*/
'heading': string;
/**
* Determines where the element will be displayed. side: dynamically left or right based on whether we're in a leading or trailing shell-panel. over: centered on top of trigger and covers trigger. anchor: dynamically above or below based on how close trigger is to top or bottom of window.
*/
'placement': CalcitePlacement;
/**
* HTMLElement used to position this element according to the placement.
*/
'positionElement': HTMLElement;
}

@@ -187,16 +198,2 @@ interface CalciteFlow {

}
interface CalciteShellFloatingPanel {
/**
* Panel heading
*/
'heading': string;
/**
* Determines where the element will be displayed. side: dynamically left or right based on whether we're in a leading or trailing shell-panel. over: centered on top of trigger and covers trigger. anchor: dynamically above or below based on how close trigger is to top or bottom of window.
*/
'placement': CalcitePlacement;
/**
* HTMLElement used to position this element according to the placement.
*/
'positionElement': HTMLElement;
}
interface CalciteShellPanel {

@@ -317,6 +314,6 @@ /**

interface HTMLCalciteDemoNavElement extends Components.CalciteDemoNav, HTMLStencilElement {}
var HTMLCalciteDemoNavElement: {
prototype: HTMLCalciteDemoNavElement;
new (): HTMLCalciteDemoNavElement;
interface HTMLCalciteFloatingPanelElement extends Components.CalciteFloatingPanel, HTMLStencilElement {}
var HTMLCalciteFloatingPanelElement: {
prototype: HTMLCalciteFloatingPanelElement;
new (): HTMLCalciteFloatingPanelElement;
};

@@ -342,8 +339,2 @@

interface HTMLCalciteShellFloatingPanelElement extends Components.CalciteShellFloatingPanel, HTMLStencilElement {}
var HTMLCalciteShellFloatingPanelElement: {
prototype: HTMLCalciteShellFloatingPanelElement;
new (): HTMLCalciteShellFloatingPanelElement;
};
interface HTMLCalciteShellPanelElement extends Components.CalciteShellPanel, HTMLStencilElement {}

@@ -379,7 +370,6 @@ var HTMLCalciteShellPanelElement: {

'calcite-block-section': HTMLCalciteBlockSectionElement;
'calcite-demo-nav': HTMLCalciteDemoNavElement;
'calcite-floating-panel': HTMLCalciteFloatingPanelElement;
'calcite-flow': HTMLCalciteFlowElement;
'calcite-flow-item': HTMLCalciteFlowItemElement;
'calcite-shell': HTMLCalciteShellElement;
'calcite-shell-floating-panel': HTMLCalciteShellFloatingPanelElement;
'calcite-shell-panel': HTMLCalciteShellPanelElement;

@@ -441,6 +431,2 @@ 'calcite-tip': HTMLCalciteTipElement;

/**
* Emitted when expanded has been toggled.
*/
'onCalciteActionBarToggle'?: (event: CustomEvent<any>) => void;
/**
* Updates the label of the collapse icon when the component is expanded.

@@ -450,3 +436,3 @@ */

/**
* Updates the label of the expand icon when the component is not expanded.
* Updates the label of the expand icon when the component is collapsed.
*/

@@ -530,4 +516,15 @@ 'textExpand'?: string;

}
interface CalciteDemoNav extends JSXBase.HTMLAttributes<HTMLCalciteDemoNavElement> {
'pageId'?: string;
interface CalciteFloatingPanel extends JSXBase.HTMLAttributes<HTMLCalciteFloatingPanelElement> {
/**
* Panel heading
*/
'heading'?: string;
/**
* Determines where the element will be displayed. side: dynamically left or right based on whether we're in a leading or trailing shell-panel. over: centered on top of trigger and covers trigger. anchor: dynamically above or below based on how close trigger is to top or bottom of window.
*/
'placement'?: CalcitePlacement;
/**
* HTMLElement used to position this element according to the placement.
*/
'positionElement'?: HTMLElement;
}

@@ -580,20 +577,2 @@ interface CalciteFlow extends JSXBase.HTMLAttributes<HTMLCalciteFlowElement> {

}
interface CalciteShellFloatingPanel extends JSXBase.HTMLAttributes<HTMLCalciteShellFloatingPanelElement> {
/**
* Panel heading
*/
'heading'?: string;
/**
* Emitted when the component has been closed.
*/
'onCalciteShellFloatingPanelClose'?: (event: CustomEvent<any>) => void;
/**
* Determines where the element will be displayed. side: dynamically left or right based on whether we're in a leading or trailing shell-panel. over: centered on top of trigger and covers trigger. anchor: dynamically above or below based on how close trigger is to top or bottom of window.
*/
'placement'?: CalcitePlacement;
/**
* HTMLElement used to position this element according to the placement.
*/
'positionElement'?: HTMLElement;
}
interface CalciteShellPanel extends JSXBase.HTMLAttributes<HTMLCalciteShellPanelElement> {

@@ -608,6 +587,2 @@ /**

'layout'?: CalciteLayout;
/**
* Emitted when collapse has been toggled.
*/
'onCalciteShellPanelToggle'?: (event: CustomEvent<any>) => void;
}

@@ -624,6 +599,2 @@ interface CalciteTip extends JSXBase.HTMLAttributes<HTMLCalciteTipElement> {

/**
* Emitted when the component has been dismissed.
*/
'onCalciteTipDismiss'?: (event: CustomEvent<any>) => void;
/**
* The local storage id used for an instance of a tip.

@@ -657,6 +628,2 @@ */

/**
* Emitted when the component has been closed.
*/
'onCalciteTipManagerClose'?: (event: CustomEvent<any>) => void;
/**
* Alternate text for closing the Tip Manager.

@@ -694,7 +661,6 @@ */

'calcite-block-section': CalciteBlockSection;
'calcite-demo-nav': CalciteDemoNav;
'calcite-floating-panel': CalciteFloatingPanel;
'calcite-flow': CalciteFlow;
'calcite-flow-item': CalciteFlowItem;
'calcite-shell': CalciteShell;
'calcite-shell-floating-panel': CalciteShellFloatingPanel;
'calcite-shell-panel': CalciteShellPanel;

@@ -701,0 +667,0 @@ 'calcite-tip': CalciteTip;

{
"name": "@esri/calcite-app-components",
"version": "0.0.1-alpha.2",
"description": "A collection of web components for building single-page mapping applications.",
"version": "1.0.0",
"description": "A collection of web components for building single-page applications.",
"main": "dist/index.js",

@@ -27,3 +27,2 @@ "module": "dist/index.mjs",

"postversion": "git push && git push --tags",
"prepublishOnly": "node ./support/prepublish.js",
"release:patch": "npm version patch && npm publish",

@@ -40,6 +39,7 @@ "release:minor": "npm version minor && npm publish",

"@esri/calcite-colors": "1.2.1",
"@esri/calcite-ui-icons": "2.0.1"
"@esri/calcite-ui-icons": "2.0.1",
"calcite-components": "github:Esri/calcite-components#v0.0.0-alpha.4"
},
"devDependencies": {
"@stencil/core": "1.3.2",
"@stencil/core": "1.2.5",
"@stencil/postcss": "1.0.1",

@@ -52,3 +52,2 @@ "@stencil/sass": "1.0.1",

"autoprefixer": "9.6.1",
"chalk": "2.4.2",
"classnames": "2.2.6",

@@ -55,0 +54,0 @@ "gh-release": "3.5.0",

@@ -15,3 +15,3 @@ # calcite-app-components

- [calcite-block](/src/components/calcite-block/readme.md)
- [calcite-shell-floating-panel](/src/components/calcite-shell-floating-panel/readme.md)
- [calcite-floating-panel](/src/components/calcite-floating-panel/readme.md)
- [calcite-flow](/src/components/calcite-flow/readme.md)

@@ -35,4 +35,4 @@ - [calcite-flow-item](/src/components/calcite-flow-item/readme.md)

```html
<script type="module" src="<path-to-calcite-app-components-package>/dist/calcite-app/calcite-app.esm.js"></script>
<script nomodule="" src="<path-to-calcite-app-components-package>/dist/calcite-app/calcite-app.js"></script>
<script type="module" src="<path-to-calcite-app-components-package>/dist/calcite/calcite.esm.js"></script>
<script nomodule="" src="<path-to-calcite-app-components-package>/dist/calcite/calcite.js"></script>
```

@@ -45,3 +45,6 @@

```html
<link rel="stylesheet" href="<path-to-calcite-app-components-package>/dist/calcite-app/calcite-app.css" />
<link
rel="stylesheet"
href="<path-to-calcite-app-components-package>/dist/calcite/calcite.esm.js/dist/calcite/calcite.css"
/>
```

@@ -77,3 +80,3 @@

```
import '@esri/calcite-app-components/dist/calcite-app.js';
import '@esri/calcite-app-components/dist/calcite.js';
```

@@ -80,0 +83,0 @@

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc