@esri/calcite-components 1.0.0-next.362 → 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-26fd946c.entry.js +5 -0
- package/dist/calcite/{p-0b0ce9b2.system.entry.js → p-3280f0ac.system.entry.js} +1 -1
- package/dist/calcite/p-409d0a3f.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-7ed5b78e.system.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-9bfe6679.system.entry.js +5 -0
- package/dist/calcite/p-9f349c92.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-ba000c59.entry.js +5 -0
- package/dist/calcite/p-ba915998.entry.js +5 -0
- package/dist/calcite/p-cf2be87e.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-f4614b28.system.entry.js +5 -0
- package/dist/calcite/{p-8b145872.system.entry.js → p-f94619be.system.entry.js} +1 -1
- 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-alert.cjs.entry.js +15 -9
- 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-combobox_3.cjs.entry.js +22 -11
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input.cjs.entry.js +3 -0
- 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/calcite.cjs.js +1 -1
- package/dist/cjs/conditionalSlot-e874fbb0.js +43 -0
- package/dist/cjs/loader.cjs.js +1 -1
- 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-alert/calcite-alert.js +15 -9
- 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-combobox/calcite-combobox.js +42 -13
- package/dist/collection/components/calcite-combobox/resources.js +3 -0
- package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
- package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
- package/dist/collection/components/calcite-input/calcite-input.js +3 -0
- 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-slider/calcite-slider.css +1 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
- 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-alert.js +15 -9
- package/dist/components/calcite-block.js +13 -1
- package/dist/components/calcite-chip2.js +13 -1
- package/dist/components/calcite-combobox.js +21 -12
- package/dist/components/calcite-graph2.js +14 -9
- package/dist/components/calcite-inline-editable.js +5 -5
- package/dist/components/calcite-input2.js +3 -0
- 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-slider.js +2 -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/components/utils2.js +4 -1
- package/dist/custom-elements/index.js +306 -121
- 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-alert.entry.js +15 -9
- package/dist/esm/calcite-block_2.entry.js +14 -1
- package/dist/esm/calcite-chip.entry.js +14 -1
- package/dist/esm/calcite-combobox_3.entry.js +22 -11
- package/dist/esm/calcite-graph_2.entry.js +16 -9
- package/dist/esm/calcite-inline-editable.entry.js +5 -5
- package/dist/esm/calcite-input.entry.js +3 -0
- 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/calcite.js +1 -1
- package/dist/esm/conditionalSlot-0c4ea23a.js +40 -0
- package/dist/esm/loader.js +1 -1
- 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-alert.entry.js +1 -1
- 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-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- 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/calcite.js +1 -1
- package/dist/esm-es5/conditionalSlot-0c4ea23a.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/extras/docs-json.json +43 -36
- 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-alert/calcite-alert.d.ts +2 -0
- 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-combobox/calcite-combobox.d.ts +4 -0
- package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
- 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/dist/types/components.d.ts +18 -16
- package/dist/types/preact.d.ts +3 -3
- package/hydrate/index.js +305 -121
- package/package.json +11 -11
- package/dist/calcite/p-0af820bf.entry.js +0 -5
- package/dist/calcite/p-0cf878ed.system.entry.js +0 -5
- package/dist/calcite/p-1a5dae4a.entry.js +0 -5
- package/dist/calcite/p-1b3a66ec.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-28adfebc.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-325fcd0d.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-3b8f5ab8.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-85fb7bc0.entry.js +0 -5
- package/dist/calcite/p-8d36bc7c.entry.js +0 -5
- package/dist/calcite/p-8eafaf3f.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-e2ebc089.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 { 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 CalcitePickListItem {
|
|
8
|
+
export declare class CalcitePickListItem implements ConditionalSlotComponent {
|
|
8
9
|
/**
|
|
9
10
|
* An optional description for this item. This will appear below the label text.
|
|
10
11
|
*/
|
|
@@ -59,6 +60,8 @@ export declare class CalcitePickListItem {
|
|
|
59
60
|
el: HTMLCalcitePickListItemElement;
|
|
60
61
|
private focusEl;
|
|
61
62
|
shiftPressed: boolean;
|
|
63
|
+
connectedCallback(): void;
|
|
64
|
+
disconnectedCallback(): void;
|
|
62
65
|
/**
|
|
63
66
|
* Emitted whenever the item is selected or unselected.
|
|
64
67
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
2
3
|
/**
|
|
3
4
|
* @slot - A slot for adding content to the shell. This content will appear between any leading and trailing panels added to the shell. (eg. a map)
|
|
4
5
|
* @slot header - A slot for adding header content. This content will be positioned at the top of the shell.
|
|
@@ -7,12 +8,14 @@ import { VNode } from "../../stencil-public-runtime";
|
|
|
7
8
|
* @slot contextual-panel - A slot for adding the trailing `calcite-shell-panel`.
|
|
8
9
|
* @slot center-row - A slot for adding custom content in the center row.
|
|
9
10
|
*/
|
|
10
|
-
export declare class CalciteShell {
|
|
11
|
+
export declare class CalciteShell implements ConditionalSlotComponent {
|
|
11
12
|
/**
|
|
12
13
|
* Positions the center content behind any calcite-shell-panels.
|
|
13
14
|
*/
|
|
14
15
|
contentBehind: boolean;
|
|
15
16
|
el: HTMLCalciteShellElement;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
16
19
|
renderHeader(): VNode;
|
|
17
20
|
renderContent(): VNode[];
|
|
18
21
|
renderFooter(): VNode;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { 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 CalciteShellCenterRow {
|
|
8
|
+
export declare class CalciteShellCenterRow implements ConditionalSlotComponent {
|
|
8
9
|
/**
|
|
9
10
|
* This property makes the content area appear like a "floating" panel.
|
|
10
11
|
*/
|
|
@@ -18,5 +19,7 @@ export declare class CalciteShellCenterRow {
|
|
|
18
19
|
*/
|
|
19
20
|
position: Position;
|
|
20
21
|
el: HTMLCalciteShellCenterRowElement;
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
disconnectedCallback(): void;
|
|
21
24
|
render(): VNode;
|
|
22
25
|
}
|
|
@@ -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.
|
|
@@ -818,6 +818,11 @@ export namespace Components {
|
|
|
818
818
|
* Disable combobox input
|
|
819
819
|
*/
|
|
820
820
|
"disabled": boolean;
|
|
821
|
+
/**
|
|
822
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
823
|
+
* @default "Remove tag"
|
|
824
|
+
*/
|
|
825
|
+
"intlRemoveTag": string;
|
|
821
826
|
/**
|
|
822
827
|
* Aria label for combobox (required)
|
|
823
828
|
*/
|
|
@@ -1331,10 +1336,6 @@ export namespace Components {
|
|
|
1331
1336
|
* Array of tuples describing a single data point ([x, y]) These data points should be sorted by x-axis value
|
|
1332
1337
|
*/
|
|
1333
1338
|
"data": DataSeries;
|
|
1334
|
-
/**
|
|
1335
|
-
* Width of graph in pixels
|
|
1336
|
-
*/
|
|
1337
|
-
"height": number;
|
|
1338
1339
|
/**
|
|
1339
1340
|
* End of highlight color if highlighting range
|
|
1340
1341
|
*/
|
|
@@ -1351,10 +1352,6 @@ export namespace Components {
|
|
|
1351
1352
|
* Lowest point of the range
|
|
1352
1353
|
*/
|
|
1353
1354
|
"min": number;
|
|
1354
|
-
/**
|
|
1355
|
-
* Width of graph in pixels
|
|
1356
|
-
*/
|
|
1357
|
-
"width": number;
|
|
1358
1355
|
}
|
|
1359
1356
|
interface CalciteHandle {
|
|
1360
1357
|
"activated": boolean;
|
|
@@ -4890,6 +4887,11 @@ declare namespace LocalJSX {
|
|
|
4890
4887
|
* Disable combobox input
|
|
4891
4888
|
*/
|
|
4892
4889
|
"disabled"?: boolean;
|
|
4890
|
+
/**
|
|
4891
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
4892
|
+
* @default "Remove tag"
|
|
4893
|
+
*/
|
|
4894
|
+
"intlRemoveTag"?: string;
|
|
4893
4895
|
/**
|
|
4894
4896
|
* Aria label for combobox (required)
|
|
4895
4897
|
*/
|
|
@@ -5428,10 +5430,6 @@ declare namespace LocalJSX {
|
|
|
5428
5430
|
* Array of tuples describing a single data point ([x, y]) These data points should be sorted by x-axis value
|
|
5429
5431
|
*/
|
|
5430
5432
|
"data"?: DataSeries;
|
|
5431
|
-
/**
|
|
5432
|
-
* Width of graph in pixels
|
|
5433
|
-
*/
|
|
5434
|
-
"height"?: number;
|
|
5435
5433
|
/**
|
|
5436
5434
|
* End of highlight color if highlighting range
|
|
5437
5435
|
*/
|
|
@@ -5448,10 +5446,6 @@ declare namespace LocalJSX {
|
|
|
5448
5446
|
* Lowest point of the range
|
|
5449
5447
|
*/
|
|
5450
5448
|
"min": number;
|
|
5451
|
-
/**
|
|
5452
|
-
* Width of graph in pixels
|
|
5453
|
-
*/
|
|
5454
|
-
"width"?: number;
|
|
5455
5449
|
}
|
|
5456
5450
|
interface CalciteHandle {
|
|
5457
5451
|
/**
|
|
@@ -5517,6 +5511,14 @@ declare namespace LocalJSX {
|
|
|
5517
5511
|
* specify whether the confirm button should display a loading state, defaults to false
|
|
5518
5512
|
*/
|
|
5519
5513
|
"loading"?: boolean;
|
|
5514
|
+
/**
|
|
5515
|
+
* Emitted when the cancel button gets clicked.
|
|
5516
|
+
*/
|
|
5517
|
+
"onCalciteInlineEditableEditCancel"?: (event: CustomEvent<void>) => void;
|
|
5518
|
+
/**
|
|
5519
|
+
* Emitted when the check button gets clicked.
|
|
5520
|
+
*/
|
|
5521
|
+
"onCalciteInlineEditableEditConfirm"?: (event: CustomEvent<void>) => void;
|
|
5520
5522
|
/**
|
|
5521
5523
|
* specify the scale of the inline-editable component, defaults to the scale of the wrapped calcite-input or the scale of the closest wrapping component with a set scale
|
|
5522
5524
|
*/
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -147,9 +147,9 @@ declare module "preact/src/jsx" {
|
|
|
147
147
|
|
|
148
148
|
"calcite-icon": JSX.CalciteIcon & JSXInternal.HTMLAttributes<HTMLCalciteIconElement>
|
|
149
149
|
|
|
150
|
-
"calcite-inline-editable": Omit<JSX.CalciteInlineEditable, "
|
|
151
|
-
"
|
|
152
|
-
"
|
|
150
|
+
"calcite-inline-editable": Omit<JSX.CalciteInlineEditable, "onCalciteInlineEditableEditCancel" | "onCalciteInlineEditableEditConfirm" | "onCalciteInlineEditableEnableEditingChange"> & JSXInternal.HTMLAttributes<HTMLCalciteInlineEditableElement> & {
|
|
151
|
+
"oncalciteInlineEditableEditCancel"?: (event: CustomEvent<any>) => void;
|
|
152
|
+
"oncalciteInlineEditableEditConfirm"?: (event: CustomEvent<any>) => void;
|
|
153
153
|
"oncalciteInlineEditableEnableEditingChange"?: (event: CustomEvent<any>) => void;
|
|
154
154
|
}
|
|
155
155
|
|