Skip to content

Commit

Permalink
chore(deps-dev): upgrade to Svelte 5 (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym authored Oct 21, 2024
1 parent a6ec421 commit 0364640
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
Binary file modified docs/bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"astro": "latest",
"carbon-components-svelte": "latest",
"fuzzy": "latest",
"svelte-focus-key": "latest",
"svelte": "latest"
"svelte": "^5.0.3",
"svelte-focus-key": "latest"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@carbon/icons": "11.51.0",
"@carbon/icons-11.31": "npm:@carbon/icons@~11.31.0",
"@types/bun": "latest",
"svelte": "latest",
"svelte": "^5.0.3",
"typescript": "latest"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion tests/Icons.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
} from "carbon-icons-svelte";
import type { CarbonIconProps } from "carbon-icons-svelte";
import Icon from "carbon-icons-svelte/lib/Accessibility.svelte";
import { mount } from "svelte";
const props: CarbonIconProps = {
size: 32,
fill: "red",
};
const icon = new Icon({ target: document.body, props });
const icon = mount(Icon, { target: document.body, props });
$: console.log(icon.$$prop_def);
$: console.log(typeof Assembly);
Expand Down

0 comments on commit 0364640

Please sign in to comment.