mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
feat!: change package requirements
- Configure as ES module - Add svelte as peerDependency - add Vite and vite-preprocess to inline imported SCSS
This commit is contained in:
parent
7e4fd91bd3
commit
e75508014c
288 changed files with 454 additions and 38 deletions
1
src/app.scss
Normal file
1
src/app.scss
Normal file
|
@ -0,0 +1 @@
|
|||
/* Write your global styles here, in SCSS syntax. Variables and mixins from the src/variables.scss file are available here without importing */
|
|
@ -12,7 +12,7 @@
|
|||
/** Set to `true` if the breadcrumb item represents the current page */
|
||||
export let isCurrentPage = false;
|
||||
|
||||
import Link from "../Link/Link.svelte";
|
||||
import Link from "../../Link/Link.svelte";
|
||||
|
||||
import { setContext } from "svelte";
|
||||
|
|
@ -181,3 +181,7 @@
|
|||
/>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
@use "@carbon/styles/scss/components/button";
|
||||
</style>
|
|
@ -95,9 +95,9 @@
|
|||
export let ref = null;
|
||||
|
||||
import { createEventDispatcher, tick, onMount } from "svelte";
|
||||
import ChevronDown from "../icons/ChevronDown.svelte";
|
||||
import ChevronDown from "../../icons/ChevronDown.svelte";
|
||||
import Button from "../Button/Button.svelte";
|
||||
import CopyButton from "../CopyButton/CopyButton.svelte";
|
||||
import CopyButton from "../../CopyButton/CopyButton.svelte";
|
||||
import CodeSnippetSkeleton from "./CodeSnippetSkeleton.svelte";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
|
@ -129,7 +129,7 @@
|
|||
import { createEventDispatcher, setContext } from "svelte";
|
||||
import { writable } from "svelte/store";
|
||||
import ChevronRight from "../icons/ChevronRight.svelte";
|
||||
import InlineCheckbox from "../Checkbox/InlineCheckbox.svelte";
|
||||
import InlineCheckbox from "../carbon-components-svelte/Checkbox/InlineCheckbox.svelte";
|
||||
import RadioButton from "../RadioButton/RadioButton.svelte";
|
||||
import Table from "./Table.svelte";
|
||||
import TableBody from "./TableBody.svelte";
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
import { onMount, createEventDispatcher } from "svelte";
|
||||
import { fade } from "svelte/transition";
|
||||
import AspectRatio from "../AspectRatio/AspectRatio.svelte";
|
||||
import AspectRatio from "../carbon-components-svelte/AspectRatio/AspectRatio.svelte";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue