diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index a2b50c50..ced3fbc4 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 9db9e5b6..eb7625f3 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/preprocess/api.json b/preprocess/api.json
index b1602bb9..27d7eaa1 100644
--- a/preprocess/api.json
+++ b/preprocess/api.json
@@ -85,9 +85,6 @@
"ContextMenuRadioGroup": {
"path": "carbon-components-svelte/src/ContextMenu/ContextMenuRadioGroup.svelte"
},
- "Copy": {
- "path": "carbon-components-svelte/src/Copy/Copy.svelte"
- },
"CopyButton": {
"path": "carbon-components-svelte/src/CopyButton/CopyButton.svelte"
},
diff --git a/src/Copy/Copy.svelte b/src/Copy/Copy.svelte
deleted file mode 100644
index ca176d1e..00000000
--- a/src/Copy/Copy.svelte
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
diff --git a/src/Copy/index.js b/src/Copy/index.js
deleted file mode 100644
index 4caff0e6..00000000
--- a/src/Copy/index.js
+++ /dev/null
@@ -1 +0,0 @@
-export { default as Copy } from "./Copy.svelte";
diff --git a/src/index.js b/src/index.js
index 0b8733d3..d6f040b3 100644
--- a/src/index.js
+++ b/src/index.js
@@ -12,7 +12,6 @@ export {
ContextMenuOption,
ContextMenuRadioGroup,
} from "./ContextMenu";
-export { Copy } from "./Copy";
export { CopyButton } from "./CopyButton";
export { ComboBox } from "./ComboBox";
export {
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";