Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(list, list-item, list-item-group)!: Remove deprecated proper…
Browse files Browse the repository at this point in the history
…ties. #5798
driskull committed Nov 28, 2022
1 parent 85b8067 commit be5ee73
Showing 3 changed files with 0 additions and 23 deletions.
8 changes: 0 additions & 8 deletions src/components/list-item-group/list-item-group.tsx
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ import { Component, Prop, h, VNode, Host, Element, State } from "@stencil/core";
import { InteractiveComponent, updateHostInteraction } from "../../utils/interactive";
import { CSS } from "./resources";
import { MAX_COLUMNS } from "../list-item/resources";
import { HeadingLevel } from "../functional/Heading";
import { getDepth } from "../list-item/utils";
/**
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
@@ -30,13 +29,6 @@ export class ListItemGroup implements InteractiveComponent {
*/
@Prop({ reflect: true }) heading: string;

/**
* Specifies the number at which section headings should start.
*
* @deprecated no longer necessary.
*/
@Prop({ reflect: true }) headingLevel: HeadingLevel;

// --------------------------------------------------------------------------
//
// Lifecycle
7 changes: 0 additions & 7 deletions src/components/list-item/list-item.tsx
Original file line number Diff line number Diff line change
@@ -82,13 +82,6 @@ export class ListItem implements InteractiveComponent, LoadableComponent {
*/
@Prop() metadata?: Record<string, unknown>;

/**
* When `true`, prevents the content of the component from user interaction.
*
* @deprecated no longer necessary.
*/
@Prop({ reflect: true }) nonInteractive = false;

/**
* When true, item is open to show child components.
*/
8 changes: 0 additions & 8 deletions src/components/list/list.tsx
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ import { createObserver } from "../../utils/observers";
import { getListItemChildren, updateListItemChildren } from "../list-item/utils";
import { toAriaBoolean } from "../../utils/dom";
import { debounce } from "lodash-es";
import { HeadingLevel } from "../functional/Heading";
import { ItemData } from "../list-item/interfaces";
import { MAX_COLUMNS } from "../list-item/resources";

@@ -87,13 +86,6 @@ export class List implements InteractiveComponent, LoadableComponent {
*/
@Prop({ reflect: true, mutable: true }) filterText: string;

/**
* Specifies the number at which section headings should start.
*
* @deprecated no longer necessary.
*/
@Prop({ reflect: true }) headingLevel: HeadingLevel;

/**
* Specifies an accessible name for the component.
*/

0 comments on commit be5ee73

Please sign in to comment.