From 0ac628db5b2b8f417a3428ffa9b863470072baf3 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 14 Mar 2022 07:43:12 -0700 Subject: [PATCH] Run "yarn build:docs" --- COMPONENT_INDEX.md | 26 +---------------- docs/src/COMPONENT_API.json | 56 +------------------------------------ types/index.d.ts | 1 - 3 files changed, 2 insertions(+), 81 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 427030f6..976262e3 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1,6 +1,6 @@ # Component Index -> 172 components exported from carbon-components-svelte@0.61.1. +> 171 components exported from carbon-components-svelte@0.61.1. ## Components @@ -30,7 +30,6 @@ - [`ContextMenuGroup`](#contextmenugroup) - [`ContextMenuOption`](#contextmenuoption) - [`ContextMenuRadioGroup`](#contextmenuradiogroup) -- [`Copy`](#copy) - [`CopyButton`](#copybutton) - [`DataTable`](#datatable) - [`DataTableSkeleton`](#datatableskeleton) @@ -895,29 +894,6 @@ None. None. -## `Copy` - -### Props - -| Prop name | Kind | Reactive | Type | Default value | Description | -| :-------------- | :--------------- | :------- | :----------------------------------------- | ---------------------- | ------------------------------------------------------ | -| ref | let | Yes | null | HTMLButtonElement | null | Obtain a reference to the button HTML element | -| feedback | let | No | string | "Copied!" | Set the feedback text shown after clicking the button | -| feedbackTimeout | let | No | number | 2000 | Set the timeout duration (ms) to display feedback text | - -### Slots - -| Slot name | Default | Props | Fallback | -| :-------- | :------ | :---- | :--------------------------------------------------------------------------------- | -| -- | Yes | -- | {#if animation}{feedback || $$restProps["aria-label"]}{/if} | - -### Events - -| Event name | Type | Detail | -| :----------- | :-------- | :----- | -| click | forwarded | -- | -| animationend | forwarded | -- | - ## `CopyButton` ### Props diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index eb5eda97..0b728868 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -1,5 +1,5 @@ { - "total": 172, + "total": 171, "components": [ { "moduleName": "Accordion", @@ -2135,60 +2135,6 @@ "events": [], "typedefs": [] }, - { - "moduleName": "Copy", - "filePath": "src/Copy/Copy.svelte", - "props": [ - { - "name": "feedback", - "kind": "let", - "description": "Set the feedback text shown after clicking the button", - "type": "string", - "value": "\"Copied!\"", - "isFunction": false, - "isFunctionDeclaration": false, - "constant": false, - "reactive": false - }, - { - "name": "feedbackTimeout", - "kind": "let", - "description": "Set the timeout duration (ms) to display feedback text", - "type": "number", - "value": "2000", - "isFunction": false, - "isFunctionDeclaration": false, - "constant": false, - "reactive": false - }, - { - "name": "ref", - "kind": "let", - "description": "Obtain a reference to the button HTML element", - "type": "null | HTMLButtonElement", - "value": "null", - "isFunction": false, - "isFunctionDeclaration": false, - "constant": false, - "reactive": true - } - ], - "moduleExports": [], - "slots": [ - { - "name": "__default__", - "default": true, - "fallback": "{#if animation}{feedback || $$restProps[\"aria-label\"]}{/if}", - "slot_props": "{}" - } - ], - "events": [ - { "type": "forwarded", "name": "click", "element": "button" }, - { "type": "forwarded", "name": "animationend", "element": "button" } - ], - "typedefs": [], - "rest_props": { "type": "Element", "name": "button" } - }, { "moduleName": "CopyButton", "filePath": "src/CopyButton/CopyButton.svelte", diff --git a/types/index.d.ts b/types/index.d.ts index 2aed619a..2958b98a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -18,7 +18,6 @@ export { default as ContextMenuDivider } from "./ContextMenu/ContextMenuDivider. export { default as ContextMenuGroup } from "./ContextMenu/ContextMenuGroup.svelte"; export { default as ContextMenuOption } from "./ContextMenu/ContextMenuOption.svelte"; export { default as ContextMenuRadioGroup } from "./ContextMenu/ContextMenuRadioGroup.svelte"; -export { default as Copy } from "./Copy/Copy.svelte"; export { default as CopyButton } from "./CopyButton/CopyButton.svelte"; export { default as ComboBox } from "./ComboBox/ComboBox.svelte"; export { default as ComposedModal } from "./ComposedModal/ComposedModal.svelte";