diff --git a/packages/calcite-components/src/components.d.ts b/packages/calcite-components/src/components.d.ts index ea63c18d459..5c4ca1522a9 100644 --- a/packages/calcite-components/src/components.d.ts +++ b/packages/calcite-components/src/components.d.ts @@ -3681,7 +3681,7 @@ export namespace Components { "setFocus": () => Promise; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickList { /** @@ -3737,7 +3737,7 @@ export namespace Components { "setFocus": (focusId?: ListFocusId) => Promise; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickListGroup { /** @@ -3750,7 +3750,7 @@ export namespace Components { "headingLevel": HeadingLevel; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickListItem { /** @@ -5304,6 +5304,9 @@ export namespace Components { SelectionMode >; } + /** + * @deprecated Use the `calcite-tile` component instead. + */ interface CalciteTileSelect { /** * When `true`, the component is checked. @@ -5358,6 +5361,9 @@ export namespace Components { */ "width": Extract<"auto" | "full", Width>; } + /** + * @deprecated Use the `calcite-tile-group` component instead. + */ interface CalciteTileSelectGroup { /** * When `true`, interaction is prevented and the component is displayed with lower opacity. @@ -5398,6 +5404,9 @@ export namespace Components { */ "value": string; } + /** + * @deprecated Use the `calcite-card`, `calcite-notice`, `calcite-panel`, or `calcite-tile` component instead. + */ interface CalciteTip { /** * When `true`, the close button is not present on the component. @@ -5428,12 +5437,18 @@ export namespace Components { */ "selected": boolean; } + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface CalciteTipGroup { /** * The component header text for all nested `calcite-tip`s. */ "groupTitle": string; } + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface CalciteTipManager { /** * When `true`, does not display or position the component. @@ -5555,7 +5570,7 @@ export namespace Components { "selectionMode": SelectionMode; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalciteValueList { /** @@ -5631,7 +5646,7 @@ export namespace Components { "setFocus": (focusId?: ListFocusId) => Promise; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalciteValueListItem { /** @@ -7026,7 +7041,7 @@ declare global { "calciteListFilter": void; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface HTMLCalcitePickListElement extends Components.CalcitePickList, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalcitePickListElement, ev: CalcitePickListCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; @@ -7043,7 +7058,7 @@ declare global { new (): HTMLCalcitePickListElement; }; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface HTMLCalcitePickListGroupElement extends Components.CalcitePickListGroup, HTMLStencilElement { } @@ -7066,7 +7081,7 @@ declare global { }; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface HTMLCalcitePickListItemElement extends Components.CalcitePickListItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalcitePickListItemElement, ev: CalcitePickListItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; @@ -7555,6 +7570,9 @@ declare global { interface HTMLCalciteTileSelectElementEventMap { "calciteTileSelectChange": void; } + /** + * @deprecated Use the `calcite-tile` component instead. + */ interface HTMLCalciteTileSelectElement extends Components.CalciteTileSelect, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalciteTileSelectElement, ev: CalciteTileSelectCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -7569,6 +7587,9 @@ declare global { prototype: HTMLCalciteTileSelectElement; new (): HTMLCalciteTileSelectElement; }; + /** + * @deprecated Use the `calcite-tile-group` component instead. + */ interface HTMLCalciteTileSelectGroupElement extends Components.CalciteTileSelectGroup, HTMLStencilElement { } var HTMLCalciteTileSelectGroupElement: { @@ -7597,6 +7618,9 @@ declare global { interface HTMLCalciteTipElementEventMap { "calciteTipDismiss": void; } + /** + * @deprecated Use the `calcite-card`, `calcite-notice`, `calcite-panel`, or `calcite-tile` component instead. + */ interface HTMLCalciteTipElement extends Components.CalciteTip, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalciteTipElement, ev: CalciteTipCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -7611,6 +7635,9 @@ declare global { prototype: HTMLCalciteTipElement; new (): HTMLCalciteTipElement; }; + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface HTMLCalciteTipGroupElement extends Components.CalciteTipGroup, HTMLStencilElement { } var HTMLCalciteTipGroupElement: { @@ -7620,6 +7647,9 @@ declare global { interface HTMLCalciteTipManagerElementEventMap { "calciteTipManagerClose": void; } + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface HTMLCalciteTipManagerElement extends Components.CalciteTipManager, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalciteTipManagerElement, ev: CalciteTipManagerCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; @@ -7694,7 +7724,7 @@ declare global { "calciteListFilter": void; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface HTMLCalciteValueListElement extends Components.CalciteValueList, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalciteValueListElement, ev: CalciteValueListCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; @@ -7721,7 +7751,7 @@ declare global { "calciteValueListItemDragHandleBlur": ListItemAndHandle; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface HTMLCalciteValueListItemElement extends Components.CalciteValueListItem, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLCalciteValueListItemElement, ev: CalciteValueListItemCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; @@ -11540,7 +11570,7 @@ declare namespace LocalJSX { "overlayPositioning"?: OverlayPositioning; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickList { /** @@ -11595,7 +11625,7 @@ declare namespace LocalJSX { "selectionFollowsFocus"?: boolean; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickListGroup { /** @@ -11608,7 +11638,7 @@ declare namespace LocalJSX { "headingLevel"?: HeadingLevel; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalcitePickListItem { /** @@ -13221,6 +13251,9 @@ declare namespace LocalJSX { SelectionMode >; } + /** + * @deprecated Use the `calcite-tile` component instead. + */ interface CalciteTileSelect { /** * When `true`, the component is checked. @@ -13275,6 +13308,9 @@ declare namespace LocalJSX { */ "width"?: Extract<"auto" | "full", Width>; } + /** + * @deprecated Use the `calcite-tile-group` component instead. + */ interface CalciteTileSelectGroup { /** * When `true`, interaction is prevented and the component is displayed with lower opacity. @@ -13314,6 +13350,9 @@ declare namespace LocalJSX { */ "value"?: string; } + /** + * @deprecated Use the `calcite-card`, `calcite-notice`, `calcite-panel`, or `calcite-tile` component instead. + */ interface CalciteTip { /** * When `true`, the close button is not present on the component. @@ -13348,12 +13387,18 @@ declare namespace LocalJSX { */ "selected"?: boolean; } + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface CalciteTipGroup { /** * The component header text for all nested `calcite-tip`s. */ "groupTitle"?: string; } + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ interface CalciteTipManager { /** * When `true`, does not display or position the component. @@ -13487,7 +13532,7 @@ declare namespace LocalJSX { "selectionMode"?: SelectionMode; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalciteValueList { /** @@ -13566,7 +13611,7 @@ declare namespace LocalJSX { "selectionFollowsFocus"?: boolean; } /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ interface CalciteValueListItem { /** @@ -13813,15 +13858,15 @@ declare module "@stencil/core" { "calcite-pagination": LocalJSX.CalcitePagination & JSXBase.HTMLAttributes; "calcite-panel": LocalJSX.CalcitePanel & JSXBase.HTMLAttributes; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ "calcite-pick-list": LocalJSX.CalcitePickList & JSXBase.HTMLAttributes; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ "calcite-pick-list-group": LocalJSX.CalcitePickListGroup & JSXBase.HTMLAttributes; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ "calcite-pick-list-item": LocalJSX.CalcitePickListItem & JSXBase.HTMLAttributes; "calcite-popover": LocalJSX.CalcitePopover & JSXBase.HTMLAttributes; @@ -13855,21 +13900,36 @@ declare module "@stencil/core" { "calcite-text-area": LocalJSX.CalciteTextArea & JSXBase.HTMLAttributes; "calcite-tile": LocalJSX.CalciteTile & JSXBase.HTMLAttributes; "calcite-tile-group": LocalJSX.CalciteTileGroup & JSXBase.HTMLAttributes; + /** + * @deprecated Use the `calcite-tile` component instead. + */ "calcite-tile-select": LocalJSX.CalciteTileSelect & JSXBase.HTMLAttributes; + /** + * @deprecated Use the `calcite-tile-group` component instead. + */ "calcite-tile-select-group": LocalJSX.CalciteTileSelectGroup & JSXBase.HTMLAttributes; "calcite-time-picker": LocalJSX.CalciteTimePicker & JSXBase.HTMLAttributes; + /** + * @deprecated Use the `calcite-card`, `calcite-notice`, `calcite-panel`, or `calcite-tile` component instead. + */ "calcite-tip": LocalJSX.CalciteTip & JSXBase.HTMLAttributes; + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ "calcite-tip-group": LocalJSX.CalciteTipGroup & JSXBase.HTMLAttributes; + /** + * @deprecated Use the `calcite-carousel` and `calcite-carousel-item` components instead. + */ "calcite-tip-manager": LocalJSX.CalciteTipManager & JSXBase.HTMLAttributes; "calcite-tooltip": LocalJSX.CalciteTooltip & JSXBase.HTMLAttributes; "calcite-tree": LocalJSX.CalciteTree & JSXBase.HTMLAttributes; "calcite-tree-item": LocalJSX.CalciteTreeItem & JSXBase.HTMLAttributes; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ "calcite-value-list": LocalJSX.CalciteValueList & JSXBase.HTMLAttributes; /** - * @deprecated Use the `list` component instead. + * @deprecated Use the `calcite-list` component instead. */ "calcite-value-list-item": LocalJSX.CalciteValueListItem & JSXBase.HTMLAttributes; } diff --git a/packages/calcite-components/src/components/block/block.scss b/packages/calcite-components/src/components/block/block.scss index f98e933fdc9..4de07e9741d 100644 --- a/packages/calcite-components/src/components/block/block.scss +++ b/packages/calcite-components/src/components/block/block.scss @@ -140,8 +140,8 @@ calcite-handle { .content { @apply animate-in flex-1 relative min-h-0; - padding-block: var(--calcite-block-padding, theme("spacing.2")); - padding-inline: var(--calcite-block-padding, theme("spacing[2.5]")); + padding-block: var(--calcite-block-padding, var(--calcite-spacing-sm)); + padding-inline: var(--calcite-block-padding, var(--calcite-spacing-md)); } .control-container {