diff --git a/docs/src/pages/components/CodeSnippet.svx b/docs/src/pages/components/CodeSnippet.svx index c0880fa5..f29d59b1 100644 --- a/docs/src/pages/components/CodeSnippet.svx +++ b/docs/src/pages/components/CodeSnippet.svx @@ -36,7 +36,7 @@ You can override the default copy functionality with your own implementation. Se ## Default (single-line) - + ## Overriding copy functionality @@ -50,7 +50,7 @@ In this example, we use the open source module [clipboard-copy](https://github.c To prevent text from being copied entirely, pass a no-op function to the `copy` prop. - {}} /> + {}} /> ## Inline @@ -104,7 +104,7 @@ Use the `showMoreText` and `showLessText` props to override the default "Show mo The `disabled` prop applies only to the `"single"` and `"multi"` code snippet types. - +
diff --git a/docs/src/pages/framed/CodeSnippet/CodeSnippetOverride.svelte b/docs/src/pages/framed/CodeSnippet/CodeSnippetOverride.svelte index f447cb04..64ccab08 100644 --- a/docs/src/pages/framed/CodeSnippet/CodeSnippetOverride.svelte +++ b/docs/src/pages/framed/CodeSnippet/CodeSnippetOverride.svelte @@ -4,6 +4,6 @@ diff --git a/docs/src/pages/index.svelte b/docs/src/pages/index.svelte index c9877951..22260573 100644 --- a/docs/src/pages/index.svelte +++ b/docs/src/pages/index.svelte @@ -21,9 +21,9 @@ metatags.description = "The Svelte implementation of the Carbon Design System featuring UI components, icons, pictograms, and charts."; - const installYarn = "yarn add carbon-components-svelte"; const installNpm = "npm i carbon-components-svelte"; const installPnpm = "pnpm i carbon-components-svelte"; + const installYarn = "yarn add carbon-components-svelte"; const themes = { white: "White", g10: "Gray 10", @@ -85,19 +85,19 @@ - +
- - - + + +
diff --git a/tests/CopyableCodeSnippet.test.svelte b/tests/CopyableCodeSnippet.test.svelte index 8c3087b5..4afad91d 100644 --- a/tests/CopyableCodeSnippet.test.svelte +++ b/tests/CopyableCodeSnippet.test.svelte @@ -1,6 +1,6 @@