@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
32 lines (31 loc) • 1.19 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 */
import { c as customElement } from "../../chunks/runtime.js";
import { html } from "lit-html";
import { LitElement } from "@arcgis/lumina";
import { l as logger } from "../../chunks/logger.js";
import { css } from "@lit/reactive-element/css-tag.js";
const styles = css`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`;
class TipGroup extends LitElement {
static {
this.properties = { groupTitle: 1 };
}
static {
this.styles = styles;
}
load() {
logger.deprecated("component", {
name: "tip-group",
removalVersion: 4,
suggested: ["carousel", "carousel-item"]
});
}
render() {
return html`<slot></slot>`;
}
}
customElement("calcite-tip-group", TipGroup);
export {
TipGroup
};