mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
refactor: use icons from carbon-icons-svelte@11
(#1227)
* chore: update ignore rules, remove unused files * refactor(icons): use icons from carbon-icons-svelte@11 * docs(time-picker): fix default value * chore: upgrade carbon-icons-svelte to v11 * docs: update examples to use icons from carbon-icons-svelte@11 * docs: update number of icons [ci skip]
This commit is contained in:
parent
755a8aa5bc
commit
ba58ba8f00
176 changed files with 1410 additions and 2487 deletions
8
types/UIShell/Header.svelte.d.ts
vendored
8
types/UIShell/Header.svelte.d.ts
vendored
|
@ -65,15 +65,15 @@ export interface HeaderProps
|
|||
ref?: null | HTMLAnchorElement;
|
||||
|
||||
/**
|
||||
* Specify the icon to render for the closed state
|
||||
* Defaults to `Menu20`
|
||||
* Specify the icon to render for the closed state.
|
||||
* Defaults to `<Menu size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
iconMenu?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
/**
|
||||
* Specify the icon to render for the opened state
|
||||
* Defaults to `Close20`
|
||||
* Specify the icon to render for the opened state.
|
||||
* Defaults to `<Close size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
iconClose?: typeof import("svelte").SvelteComponent;
|
||||
|
|
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -10,13 +10,15 @@ export interface HeaderActionProps
|
|||
isOpen?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* Specify the icon to render when the action panel is closed.
|
||||
* Defaults to `<Switcher size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
/**
|
||||
* Specify the icon to render when the action panel is open
|
||||
* Specify the icon to render when the action panel is open.
|
||||
* Defaults to `<Close size={20} />`
|
||||
* @default undefined
|
||||
*/
|
||||
closeIcon?: typeof import("svelte").SvelteComponent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue