mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
feat(portal): support portal
This commit is contained in:
parent
0ea3d9351e
commit
1ddd9ba1a5
14 changed files with 240 additions and 2 deletions
9
types/Portal/FloatingPortal.svelte.d.ts
vendored
Normal file
9
types/Portal/FloatingPortal.svelte.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export type FloatingPortalProps = {};
|
||||
|
||||
export default class FloatingPortal extends SvelteComponentTyped<
|
||||
FloatingPortalProps,
|
||||
Record<string, any>,
|
||||
{}
|
||||
> {}
|
9
types/Portal/Portal.svelte.d.ts
vendored
Normal file
9
types/Portal/Portal.svelte.d.ts
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
import type { SvelteComponentTyped } from "svelte";
|
||||
|
||||
export type PortalProps = {};
|
||||
|
||||
export default class Portal extends SvelteComponentTyped<
|
||||
PortalProps,
|
||||
Record<string, any>,
|
||||
{ default: {} }
|
||||
> {}
|
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
|
@ -95,6 +95,8 @@ export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte";
|
|||
export { default as ProgressIndicator } from "./ProgressIndicator/ProgressIndicator.svelte";
|
||||
export { default as ProgressIndicatorSkeleton } from "./ProgressIndicator/ProgressIndicatorSkeleton.svelte";
|
||||
export { default as ProgressStep } from "./ProgressIndicator/ProgressStep.svelte";
|
||||
export { default as Portal } from "./Portal/Portal.svelte";
|
||||
export { default as FloatingPortal } from "./Portal/FloatingPortal.svelte";
|
||||
export { default as RadioButton } from "./RadioButton/RadioButton.svelte";
|
||||
export { default as RadioButtonSkeleton } from "./RadioButton/RadioButtonSkeleton.svelte";
|
||||
export { default as RadioButtonGroup } from "./RadioButtonGroup/RadioButtonGroup.svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue