@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
66 lines (65 loc) • 2.12 kB
JavaScript
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
v3.2.1 */
const CSS = {
actionsEnd: "actions-end",
actionsStart: "actions-start",
description: "description",
close: "close",
container: "container",
containerHover: "container--hover",
containerBorder: "container--border",
containerBorderSelected: "container--border-selected",
containerBorderUnselected: "container--border-unselected",
content: "content",
contentBottom: "content-bottom",
contentContainer: "content-container",
contentContainerHasCenterContent: "content-container--has-center-content",
contentContainerSelectable: "content-container--selectable",
contentContainerUnavailable: "content-container--unavailable",
contentContainerWrapper: "content-container-wrapper",
contentContainerWrapperBordered: "content-container-wrapper--bordered",
contentEnd: "content-end",
contentStart: "content-start",
customContent: "custom-content",
expandedContainer: "expanded-container",
dragContainer: "drag-container",
gridCell: "grid-cell",
icon: "icon",
nestedContainer: "nested-container",
nestedContainerExpanded: "nested-container--expanded",
label: "label",
row: "row",
selectionContainer: "selection-container",
selectionContainerSingle: "selection-container--single",
wrapper: "wrapper",
wrapperBordered: "wrapper--bordered"
};
const SLOTS = {
actionsStart: "actions-start",
contentStart: "content-start",
content: "content",
contentBottom: "content-bottom",
contentEnd: "content-end",
actionsEnd: "actions-end"
};
const MAX_COLUMNS = 0;
const ICONS = {
selectedMultiple: "check-square-f",
selectedSingle: "circle-inset-large",
unselectedMultiple: "square",
unselectedSingle: "circle",
collapsedLTR: "chevron-right",
collapsedRTL: "chevron-left",
open: "chevron-down",
blank: "blank",
close: "x"
};
const activeCellTestAttribute = "data-test-active";
export {
CSS as C,
ICONS as I,
MAX_COLUMNS as M,
SLOTS as S,
activeCellTestAttribute as a
};