mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
chore: stick to bx
instead of cds
class prefix
This commit is contained in:
parent
8d5bf359a9
commit
f4ac33c93a
55 changed files with 190 additions and 192 deletions
|
@ -39,7 +39,7 @@
|
|||
);
|
||||
</script>
|
||||
|
||||
<p style="margin-bottom: var(--cds-layout-02)">
|
||||
<p style="margin-bottom: var(--bx-layout-02)">
|
||||
Source code:
|
||||
<OutboundLink size="lg" inline href="{source}">
|
||||
{component.filePath}
|
||||
|
@ -68,7 +68,7 @@
|
|||
<InlineSnippet code="{prop.name}" />
|
||||
{#if prop.reactive}
|
||||
<div
|
||||
style="white-space: nowrap; margin-top: var(--cds-spacing-03); margin-bottom: var(--cds-spacing-{prop.isRequired
|
||||
style="white-space: nowrap; margin-top: var(--bx-spacing-03); margin-bottom: var(--bx-spacing-{prop.isRequired
|
||||
? '01'
|
||||
: '03'})"
|
||||
>
|
||||
|
@ -134,7 +134,7 @@
|
|||
|
||||
{#if component.typedefs.length > 0}
|
||||
<CodeSnippet
|
||||
style="margin-top: var(--cds-spacing-08)"
|
||||
style="margin-top: var(--bx-spacing-08)"
|
||||
class="my-layout-01-03"
|
||||
type="multi"
|
||||
code="{component.typedefs.map((t) => t.ts).join(';\n\n')};"
|
||||
|
@ -216,14 +216,14 @@
|
|||
|
||||
<style>
|
||||
.description {
|
||||
margin-bottom: var(--cds-spacing-04);
|
||||
margin-bottom: var(--bx-spacing-04);
|
||||
}
|
||||
|
||||
.cell {
|
||||
position: relative;
|
||||
z-index: 9;
|
||||
min-height: 1.25rem;
|
||||
margin-bottom: var(--cds-spacing-02);
|
||||
margin-bottom: var(--bx-spacing-02);
|
||||
}
|
||||
|
||||
.overflow {
|
||||
|
@ -231,13 +231,13 @@
|
|||
}
|
||||
|
||||
:global(.my-layout-01-03) {
|
||||
margin-top: var(--cds-layout-01);
|
||||
margin-bottom: var(--cds-layout-03);
|
||||
margin-top: var(--bx-layout-01);
|
||||
margin-bottom: var(--bx-layout-03);
|
||||
}
|
||||
|
||||
:global(.overflow .bx--structured-list) {
|
||||
margin-top: var(--cds-layout-01);
|
||||
margin-bottom: var(--cds-layout-04);
|
||||
margin-top: var(--bx-layout-01);
|
||||
margin-bottom: var(--bx-layout-04);
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue