diff --git a/.changeset/tall-dots-learn.md b/.changeset/tall-dots-learn.md new file mode 100644 index 0000000..8786a65 --- /dev/null +++ b/.changeset/tall-dots-learn.md @@ -0,0 +1,9 @@ +--- +'@api-viewer/common': patch +'@api-viewer/docs': patch +'@api-viewer/demo': patch +'@api-viewer/tabs': patch +'api-viewer-element': patch +--- + +Support deprecated components, props, slots, events, methods and css diff --git a/docs/docs/api/styling.md b/docs/docs/api/styling.md index 5aaa223..952bd89 100644 --- a/docs/docs/api/styling.md +++ b/docs/docs/api/styling.md @@ -4,29 +4,30 @@ The following custom CSS properties are available: -| Property | Description | -| -------------------------------- | ----------------------------------------------- | -| `--ave-accent-color` | Accent color, used for property / method names | -| `--ave-border-color` | Color used for borders and dividers | -| `--ave-border-radius` | Border radius used for the outer border | -| `--ave-button-active-background` | Color of the `:focus` and `:hover` button | -| `--ave-button-background` | Background of the button (code snippet, events) | -| `--ave-button-color` | Color of the button (code snippet, events) | -| `--ave-header-background` | Background of the header used for tag name | -| `--ave-header-color` | Header text color used for tag name | -| `--ave-item-color` | API items content color (main text) | -| `--ave-label-color` | API items labels color | -| `--ave-link-color` | API description links default color | -| `--ave-link-hover-color` | API description links hover color | -| `--ave-monospace-font` | Monospace font stack for the API items | -| `--ave-primary-color` | Primary color, used for header and active tab | -| `--ave-secondary-color` | Color used for method types in API docs | -| `--ave-tab-color` | Inactive tabs color | -| `--ave-tab-selected-color` | Selected tab color | -| `--ave-tab-indicator-size` | Size of the selected tab indicator | -| `--ave-tag-background-color` | Background color of tags (e.g., `static`) | -| `--ave-tag-border-color` | Color of tag borders | -| `--ave-tag-color` | Color of tags | +| Property | Description | +| ----------------------------------- | ----------------------------------------------- | +| `--ave-accent-color` | Accent color, used for property / method names | +| `--ave-border-color` | Color used for borders and dividers | +| `--ave-border-radius` | Border radius used for the outer border | +| `--ave-button-active-background` | Color of the `:focus` and `:hover` button | +| `--ave-button-background` | Background of the button (code snippet, events) | +| `--ave-button-color` | Color of the button (code snippet, events) | +| `--ave-header-background` | Background of the header used for tag name | +| `--ave-header-color` | Header text color used for tag name | +| `--ave-item-color` | API items content color (main text) | +| `--ave-deprecated-background-color` | API items deprecated background color | +| `--ave-label-color` | API items labels color | +| `--ave-link-color` | API description links default color | +| `--ave-link-hover-color` | API description links hover color | +| `--ave-monospace-font` | Monospace font stack for the API items | +| `--ave-primary-color` | Primary color, used for header and active tab | +| `--ave-secondary-color` | Color used for method types in API docs | +| `--ave-tab-color` | Inactive tabs color | +| `--ave-tab-selected-color` | Selected tab color | +| `--ave-tab-indicator-size` | Size of the selected tab indicator | +| `--ave-tag-background-color` | Background color of tags (e.g., `static`) | +| `--ave-tag-border-color` | Color of tag borders | +| `--ave-tag-color` | Color of tags | ## CSS shadow parts @@ -44,39 +45,41 @@ The following CSS shadow parts are available: ### API docs -| Part | Description | -| -------------------------| --------------------------------------------------------| -| `docs-description` | Custom element description placed under the header | -| `docs-container` | The wrapper element placed under the description | -| `docs-column` | Column, child of a `docs-row` part | -| `docs-item` | Item representing a single entry (property, event etc) | -| `docs-label` | Label (name, attribute, type, description) | -| `docs-markdown` | Item description with parsed markdown content | -| `docs-method` | Method name with its params and return type | -| `docs-method-params` | Comma-separated list of method params their types | -| `docs-method-type` | Return type of a method, or "void" if not specified | -| `docs-param-name` | Name of a method parameter | -| `docs-param-type` | Type of a method parameter | -| `docs-row` | Row containing columns. Child of a `docs-item` part | -| `docs-value` | Sibling of a `docs-label` part (name, attribute, type) | -| `docs-value` | Sibling of a `docs-label` part (name, attribute, type) | -| `md-h1` | Markdown `

` elements | -| `md-h2` | Markdown `

` elements | -| `md-h3` | Markdown `

` elements | -| `md-h4` | Markdown `

` elements | -| `md-h5` | Markdown `

` elements | -| `md-h6` | Markdown `
` elements | -| `md-a` | Markdown `` elements | -| `md-p` | Markdown `

` elements | -| `md-ul` | Markdown `