diff --git a/packages/calcite-components/src/custom-theme.stories.ts b/packages/calcite-components/src/custom-theme.stories.ts index b2d8dd74ac2..a98ea872f05 100644 --- a/packages/calcite-components/src/custom-theme.stories.ts +++ b/packages/calcite-components/src/custom-theme.stories.ts @@ -55,6 +55,7 @@ import { tileTokens, tile } from "./custom-theme/tile"; import { navigationTokens, navigation } from "./custom-theme/navigation"; import { menuItem, menuItemTokens } from "./custom-theme/menu-item"; import { panel, panelTokens } from "./custom-theme/panel"; +import { shellPanel, shellPanelTokens } from "./custom-theme/shell-panel"; const globalTokens = { calciteColorBrand: "#007ac2", @@ -147,7 +148,7 @@ const kitchenSink = (args: Record, useTestValues = false) => ${avatarThumbnail} ${progress} ${handle} ${graph} ${textArea} ${popover} ${tile} ${tooltip} ${comboboxItem}
- ${navigation} ${navigationLogos} ${navigationUsers} ${blockSection} ${block} ${rating} ${panel} + ${navigation} ${navigationLogos} ${navigationUsers} ${blockSection} ${block} ${rating} ${panel} ${shellPanel}
${alert}
${menuItem}
@@ -206,6 +207,7 @@ const componentTokens = { ...tileTokens, ...tooltipTokens, ...menuItemTokens, + ...shellPanelTokens, }; export default { diff --git a/packages/calcite-components/src/custom-theme/calcite-shell-panel.ts b/packages/calcite-components/src/custom-theme/calcite-shell-panel.ts deleted file mode 100644 index ebd9526db4d..00000000000 --- a/packages/calcite-components/src/custom-theme/calcite-shell-panel.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { html } from "../../support/formatting"; - -export const sliderTokens = { - calciteSliderTextColor: "", - calciteSliderTrackColor: "", - calciteSliderTrackFillColor: "", - calciteSliderHandleFillColor: "", - calciteSliderHandleExtensionColor: "", - calciteSliderAccentColor: "", - calciteSliderTickColor: "", - calciteSliderTickBorderColor: "", - calciteSliderTickSelectedColor: "", - calciteSliderGraphColor: "", -}; - -export const slider = html``; diff --git a/packages/calcite-components/src/custom-theme/shell-panel.ts b/packages/calcite-components/src/custom-theme/shell-panel.ts new file mode 100644 index 00000000000..faa1a23191d --- /dev/null +++ b/packages/calcite-components/src/custom-theme/shell-panel.ts @@ -0,0 +1,31 @@ +import { html } from "../../support/formatting"; + +export const shellPanelTokens = { + calciteShellPanelWidth: "", + calciteShellPanelMaxWidth: "", + calciteShellPanelMinWidth: "", + calciteShellPanelHeight: "", + calciteShellPanelMaxHeight: "", + calciteShellPanelMinHeight: "", + calciteShellPanelZIndex: "", + calciteShellPanelBorderColor: "", + calciteShellPanelCornerRadius: "", + calciteShellPanelShadow: "", +}; + +export const shellPanel = html` + + + +
Content at the top
+ + Agree to terms + +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante + dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. +

+ Done +
+
`;