@max-ts/svelte 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Trigger/Trigger.svelte.d.ts +1 -1
- package/dist/components/Alert/Alert.svelte.d.ts +2 -2
- package/dist/components/Alert/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Alert/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Alert/index.d.ts +5 -5
- package/dist/components/Alert/styles.css.d.ts +1 -1
- package/dist/components/Badge/Badge.svelte.d.ts +1 -1
- package/dist/components/Badge/index.d.ts +2 -2
- package/dist/components/Badge/styles.css.d.ts +1 -1
- package/dist/components/Badge/types.d.ts +1 -1
- package/dist/components/Button/Button.svelte.d.ts +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/styles.css.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.svelte.d.ts +1 -1
- package/dist/components/ButtonGroup/Separator/Separator.svelte.d.ts +1 -1
- package/dist/components/ButtonGroup/Text/Text.svelte.d.ts +1 -1
- package/dist/components/ButtonGroup/index.d.ts +2 -2
- package/dist/components/ButtonGroup/styles.css.d.ts +1 -1
- package/dist/components/ButtonGroup/types.d.ts +1 -1
- package/dist/components/Calendar/Calendar.svelte.d.ts +1 -1
- package/dist/components/Calendar/Caption/Caption.svelte.d.ts +2 -2
- package/dist/components/Calendar/Month/Month.svelte.d.ts +1 -1
- package/dist/components/Calendar/Months/Months.svelte.d.ts +1 -1
- package/dist/components/Calendar/Nav/Nav.svelte.d.ts +1 -1
- package/dist/components/Calendar/NextButton/NextButton.svelte.d.ts +1 -1
- package/dist/components/Calendar/PrevButton/PrevButton.svelte.d.ts +1 -1
- package/dist/components/Calendar/index.d.ts +1 -1
- package/dist/components/Calendar/types.d.ts +2 -2
- package/dist/components/Card/Action/Action.svelte.d.ts +1 -1
- package/dist/components/Card/Card.svelte.d.ts +1 -1
- package/dist/components/Card/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Card/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Card/Footer/Footer.svelte.d.ts +1 -1
- package/dist/components/Card/Header/Header.svelte.d.ts +1 -1
- package/dist/components/Card/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Card/index.d.ts +8 -8
- package/dist/components/Carousel/Carousel.svelte.d.ts +1 -1
- package/dist/components/Carousel/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Carousel/Item/Item.svelte.d.ts +1 -1
- package/dist/components/Carousel/context.d.ts +1 -1
- package/dist/components/Carousel/index.d.ts +4 -4
- package/dist/components/Carousel/types.d.ts +1 -1
- package/dist/components/CircularProgress/CircularProgress.svelte.d.ts +1 -1
- package/dist/components/CircularProgress/index.d.ts +1 -1
- package/dist/components/ContentState/ContentState.svelte.d.ts +1 -1
- package/dist/components/ContentState/index.d.ts +1 -1
- package/dist/components/ContentState/types.d.ts +1 -1
- package/dist/components/DataGrid/Body/Body.svelte.d.ts +1 -1
- package/dist/components/DataGrid/Body/index.d.ts +1 -1
- package/dist/components/DataGrid/Body/types.d.ts +1 -1
- package/dist/components/DataGrid/Cell/Cell.svelte.d.ts +1 -1
- package/dist/components/DataGrid/Cell/index.d.ts +1 -1
- package/dist/components/DataGrid/Cell/types.d.ts +1 -1
- package/dist/components/DataGrid/DataGrid.svelte.d.ts +1 -1
- package/dist/components/DataGrid/Header/Header.svelte.d.ts +1 -1
- package/dist/components/DataGrid/Header/index.d.ts +1 -1
- package/dist/components/DataGrid/Header/types.d.ts +1 -1
- package/dist/components/DataGrid/HeaderCell/HeaderCell.svelte.d.ts +1 -1
- package/dist/components/DataGrid/HeaderCell/index.d.ts +1 -1
- package/dist/components/DataGrid/HeaderCell/types.d.ts +1 -1
- package/dist/components/DataGrid/Row/Row.svelte.d.ts +1 -1
- package/dist/components/DataGrid/Row/index.d.ts +1 -1
- package/dist/components/DataGrid/Row/types.d.ts +1 -1
- package/dist/components/DataGrid/State/State.svelte.d.ts +1 -1
- package/dist/components/DataGrid/State/index.d.ts +1 -1
- package/dist/components/DataGrid/State/types.d.ts +1 -1
- package/dist/components/DataGrid/index.d.ts +1 -1
- package/dist/components/DataGridSortHeader/DataGridSortHeader.svelte.d.ts +1 -1
- package/dist/components/DataGridSortHeader/index.d.ts +1 -1
- package/dist/components/DataGridSortHeader/types.d.ts +1 -1
- package/dist/components/DropdownMenu/CheckboxItem/CheckboxItem.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/Content/Content.svelte.d.ts +2 -2
- package/dist/components/DropdownMenu/Label/Label.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/Shortcut/Shortcut.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/index.d.ts +17 -17
- package/dist/components/Empty/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Empty/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Empty/Empty.svelte.d.ts +1 -1
- package/dist/components/Empty/Header/Header.svelte.d.ts +1 -1
- package/dist/components/Empty/Media/Media.svelte.d.ts +1 -1
- package/dist/components/Empty/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Empty/index.d.ts +7 -7
- package/dist/components/Empty/styles.css.d.ts +1 -1
- package/dist/components/Empty/types.d.ts +1 -1
- package/dist/components/Field/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Field/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Field/Field.svelte.d.ts +2 -2
- package/dist/components/Field/FieldError/FieldError.svelte.d.ts +1 -1
- package/dist/components/Field/FieldSet/FieldSet.svelte.d.ts +1 -1
- package/dist/components/Field/Group/Group.svelte.d.ts +1 -1
- package/dist/components/Field/Label/Label.svelte.d.ts +1 -1
- package/dist/components/Field/Legend/Legend.svelte.d.ts +1 -1
- package/dist/components/Field/Separator/Separator.svelte.d.ts +2 -2
- package/dist/components/Field/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Field/index.d.ts +7 -7
- package/dist/components/Field/styles.css.d.ts +2 -2
- package/dist/components/Input/Input.svelte.d.ts +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/types.d.ts +1 -1
- package/dist/components/Item/Actions/Actions.svelte.d.ts +1 -1
- package/dist/components/Item/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Item/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Item/Footer/Footer.svelte.d.ts +1 -1
- package/dist/components/Item/Group/Group.svelte.d.ts +1 -1
- package/dist/components/Item/Header/Header.svelte.d.ts +1 -1
- package/dist/components/Item/Item.svelte.d.ts +1 -1
- package/dist/components/Item/Media/Media.svelte.d.ts +1 -1
- package/dist/components/Item/Separator/Separator.svelte.d.ts +1 -1
- package/dist/components/Item/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Item/index.d.ts +10 -10
- package/dist/components/Item/styles.css.d.ts +1 -1
- package/dist/components/Item/types.d.ts +1 -1
- package/dist/components/Placeholder/Image/Image.svelte.d.ts +1 -1
- package/dist/components/Placeholder/Image/index.d.ts +1 -1
- package/dist/components/Placeholder/Image/styles.css.d.ts +1 -1
- package/dist/components/Placeholder/Image/types.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Placeholder/Placeholder.svelte.d.ts +1 -1
- package/dist/components/Placeholder/constants.d.ts +1 -1
- package/dist/components/Placeholder/index.d.ts +1 -1
- package/dist/components/Placeholder/styles.css.d.ts +1 -1
- package/dist/components/Popover/Content/PopoverContent.svelte.d.ts +1 -1
- package/dist/components/Popover/index.d.ts +2 -2
- package/dist/components/Popover/types.d.ts +1 -1
- package/dist/components/RangeInput/RangeInput.svelte.d.ts +1 -1
- package/dist/components/RangeInput/index.d.ts +1 -1
- package/dist/components/RangeInput/types.d.ts +1 -1
- package/dist/components/Select/Content/Content.svelte.d.ts +2 -2
- package/dist/components/Select/Label/Label.svelte.d.ts +1 -1
- package/dist/components/Select/Separator/Separator.js +2 -1
- package/dist/components/Select/Separator/Separator.svelte.d.ts +1 -1
- package/dist/components/Select/Trigger/Trigger.svelte.d.ts +1 -1
- package/dist/components/Select/index.d.ts +3 -3
- package/dist/components/Separator/index.d.ts +1 -1
- package/dist/components/Slider/Slider.svelte.d.ts +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/styles.css.d.ts +1 -1
- package/dist/components/Slider/types.d.ts +1 -1
- package/dist/components/Spinner/Spinner.svelte.d.ts +1 -1
- package/dist/components/Spinner/index.d.ts +2 -2
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tooltip/Content/Content.svelte.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Typography/Typography.svelte.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/Typography/styles.css.d.ts +1 -1
- package/dist/components/index.d.ts +30 -30
- package/dist/components.d.ts +65 -0
- package/dist/components.js +33 -0
- package/dist/stories/Accordion.stories.svelte.d.ts +1 -1
- package/dist/stories/Alert.stories.svelte.d.ts +1 -1
- package/dist/stories/Badge.stories.svelte.d.ts +1 -1
- package/dist/stories/ButtonGroup.stories.svelte.d.ts +1 -1
- package/dist/stories/Calendar.stories.svelte.d.ts +1 -1
- package/dist/stories/Card.stories.svelte.d.ts +1 -1
- package/dist/stories/Carousel.stories.svelte.d.ts +1 -1
- package/dist/stories/CircularProgress.stories.svelte.d.ts +1 -1
- package/dist/stories/DataGrid.stories.svelte.d.ts +1 -1
- package/dist/stories/DropdownMenu.stories.svelte.d.ts +1 -1
- package/dist/stories/Empty.stories.svelte.d.ts +1 -1
- package/dist/stories/Field.stories.svelte.d.ts +1 -1
- package/dist/stories/Input.stories.svelte.d.ts +1 -1
- package/dist/stories/Item.stories.svelte.d.ts +1 -1
- package/dist/stories/Label.stories.svelte.d.ts +1 -1
- package/dist/stories/Popover.stories.svelte.d.ts +1 -1
- package/dist/stories/RangeInput.stories.svelte.d.ts +1 -1
- package/dist/stories/Select.stories.svelte.d.ts +1 -1
- package/dist/stories/Slider.stories.svelte.d.ts +1 -1
- package/dist/stories/Tabs.stories.svelte.d.ts +1 -1
- package/dist/stories/Tooltip.stories.svelte.d.ts +1 -1
- package/dist/stories/Typography.stories.svelte.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +6 -4
- package/dist/components/index.js +0 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accordion as AccordionPrimitive } from 'bits-ui';
|
|
2
|
-
import type { WithoutChild } from '
|
|
2
|
+
import type { WithoutChild } from '~/types';
|
|
3
3
|
type $$ComponentProps = WithoutChild<AccordionPrimitive.TriggerProps> & {
|
|
4
4
|
level?: AccordionPrimitive.HeaderProps['level'];
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
3
|
-
import type { AlertVariant } from './types
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
|
+
import type { AlertVariant } from './types';
|
|
4
4
|
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
5
5
|
variant?: AlertVariant;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Description: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Description = ReturnType<typeof Description>;
|
|
5
5
|
export default Description;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Title: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Title = ReturnType<typeof Title>;
|
|
5
5
|
export default Title;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { alertVariants } from './styles.css
|
|
1
|
+
import { alertVariants } from './styles.css';
|
|
2
2
|
declare const Alert: {
|
|
3
3
|
Root: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
ref?: HTMLElement | null | undefined;
|
|
5
5
|
} & {
|
|
6
|
-
variant?: import("./types
|
|
6
|
+
variant?: import("./types").AlertVariant;
|
|
7
7
|
}, {}, "ref">;
|
|
8
|
-
Title: import("svelte").Component<import("../../types
|
|
9
|
-
Description: import("svelte").Component<import("../../types
|
|
8
|
+
Title: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
9
|
+
Description: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
10
10
|
};
|
|
11
11
|
export { Alert, alertVariants };
|
|
12
|
-
export type * from './types
|
|
12
|
+
export type * from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AlertVariant } from './types
|
|
1
|
+
import type { AlertVariant } from './types';
|
|
2
2
|
export declare const alertVariants: Record<AlertVariant, string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Badge } from './Badge.svelte';
|
|
2
|
-
export { badgeVariants } from './styles.css
|
|
3
|
-
export type * from './types
|
|
2
|
+
export { badgeVariants } from './styles.css';
|
|
3
|
+
export type * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithElementRef } from '
|
|
1
|
+
import type { WithElementRef } from '~/types';
|
|
2
2
|
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
|
3
3
|
export type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline';
|
|
4
4
|
export interface BadgeProps extends WithElementRef<HTMLAnchorAttributes> {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as Button } from './Button.svelte';
|
|
2
|
-
export { buttonVariants } from './styles.css
|
|
3
|
-
export type { ButtonSize, ButtonVariant } from './types
|
|
2
|
+
export { buttonVariants } from './styles.css';
|
|
3
|
+
export type { ButtonSize, ButtonVariant } from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
|
-
import type { WithElementRef } from '
|
|
3
|
+
import type { WithElementRef } from '~/types';
|
|
4
4
|
type $$ComponentProps = WithElementRef<HTMLAttributes<HTMLDivElement>> & {
|
|
5
5
|
child?: Snippet<[{
|
|
6
6
|
props: Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ButtonGroup: {
|
|
2
|
-
Root: import("svelte").Component<import("./types
|
|
2
|
+
Root: import("svelte").Component<import("./types").ButtonGroupProps, {}, "ref">;
|
|
3
3
|
Separator: any;
|
|
4
4
|
Text: import("svelte").Component<import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
|
|
5
5
|
ref?: HTMLElement | null | undefined;
|
|
@@ -9,4 +9,4 @@ export declare const ButtonGroup: {
|
|
|
9
9
|
}]>;
|
|
10
10
|
}, {}, "ref">;
|
|
11
11
|
};
|
|
12
|
-
export type * from './types
|
|
12
|
+
export type * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithElementRef } from '
|
|
1
|
+
import type { WithElementRef } from '~/types';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
3
|
export type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
4
4
|
export interface ButtonGroupProps extends WithElementRef<HTMLAttributes<HTMLDivElement>> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CalendarProps } from './types
|
|
1
|
+
import type { CalendarProps } from './types';
|
|
2
2
|
declare const Calendar: import("svelte").Component<CalendarProps, {}, "value" | "placeholder" | "ref">;
|
|
3
3
|
type Calendar = ReturnType<typeof Calendar>;
|
|
4
4
|
export default Calendar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type DateValue } from '@internationalized/date';
|
|
2
2
|
import type { ComponentProps } from 'svelte';
|
|
3
3
|
import Calendar from '../Calendar.svelte';
|
|
4
|
-
import { MonthSelect } from '../MonthSelect
|
|
5
|
-
import { YearSelect } from '../YearSelect
|
|
4
|
+
import { MonthSelect } from '../MonthSelect';
|
|
5
|
+
import { YearSelect } from '../YearSelect';
|
|
6
6
|
type $$ComponentProps = {
|
|
7
7
|
captionLayout: ComponentProps<typeof Calendar>['captionLayout'];
|
|
8
8
|
months: ComponentProps<typeof MonthSelect>['months'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Month: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLElement>>, {}, "ref">;
|
|
4
4
|
type Month = ReturnType<typeof Month>;
|
|
5
5
|
export default Month;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Months: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Months = ReturnType<typeof Months>;
|
|
5
5
|
export default Months;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Nav: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLElement>>, {}, "ref">;
|
|
4
4
|
type Nav = ReturnType<typeof Nav>;
|
|
5
5
|
export default Nav;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Calendar } from './Calendar.svelte';
|
|
2
|
-
export * from './types
|
|
2
|
+
export * from './types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { DateValue } from '@internationalized/date';
|
|
2
2
|
import type { Calendar } from 'bits-ui';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
|
-
import type { WithoutChildrenOrChild } from '
|
|
5
|
-
import type { ButtonVariant } from '../Button/types
|
|
4
|
+
import type { WithoutChildrenOrChild } from '~/types';
|
|
5
|
+
import type { ButtonVariant } from '../Button/types';
|
|
6
6
|
export type CalendarProps = WithoutChildrenOrChild<Calendar.RootProps> & {
|
|
7
7
|
buttonVariant?: ButtonVariant;
|
|
8
8
|
captionLayout?: 'dropdown' | 'dropdown-months' | 'dropdown-years' | 'label';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Action: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Action = ReturnType<typeof Action>;
|
|
5
5
|
export default Action;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Card: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Card = ReturnType<typeof Card>;
|
|
5
5
|
export default Card;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Content: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Content = ReturnType<typeof Content>;
|
|
5
5
|
export default Content;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Description: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLParagraphElement>>, {}, "ref">;
|
|
4
4
|
type Description = ReturnType<typeof Description>;
|
|
5
5
|
export default Description;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Footer: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Footer = ReturnType<typeof Footer>;
|
|
5
5
|
export default Footer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Header: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Header = ReturnType<typeof Header>;
|
|
5
5
|
export default Header;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Title: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Title = ReturnType<typeof Title>;
|
|
5
5
|
export default Title;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const Card: {
|
|
2
|
-
Root: import("svelte").Component<import("../../types
|
|
3
|
-
Header: import("svelte").Component<import("../../types
|
|
4
|
-
Title: import("svelte").Component<import("../../types
|
|
5
|
-
Description: import("svelte").Component<import("../../types
|
|
6
|
-
Content: import("svelte").Component<import("../../types
|
|
7
|
-
Footer: import("svelte").Component<import("../../types
|
|
8
|
-
Action: import("svelte").Component<import("../../types
|
|
2
|
+
Root: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
3
|
+
Header: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
|
+
Title: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
5
|
+
Description: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLParagraphElement>>, {}, "ref">;
|
|
6
|
+
Content: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
7
|
+
Footer: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
8
|
+
Action: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
9
9
|
};
|
|
10
10
|
export { Card };
|
|
11
|
-
export type * from './types
|
|
11
|
+
export type * from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Content: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Content = ReturnType<typeof Content>;
|
|
5
5
|
export default Content;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { WithElementRef } from '
|
|
2
|
+
import type { WithElementRef } from '~/types';
|
|
3
3
|
declare const Item: import("svelte").Component<WithElementRef<HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
4
|
type Item = ReturnType<typeof Item>;
|
|
5
5
|
export default Item;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const Carousel: {
|
|
2
|
-
Root: import("svelte").Component<import("./types
|
|
3
|
-
Content: import("svelte").Component<import("../../types
|
|
4
|
-
Item: import("svelte").Component<import("../../types
|
|
2
|
+
Root: import("svelte").Component<import("./types").CarouselProps, {}, "ref">;
|
|
3
|
+
Content: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
4
|
+
Item: import("svelte").Component<import("../../types").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
|
|
5
5
|
Arrows: import("svelte").Component<Omit<import("svelte/elements").HTMLButtonAttributes, "children">, {}, "">;
|
|
6
6
|
Dots: import("svelte").Component<Omit<import("svelte/elements").HTMLAttributes<HTMLDivElement>, "children">, {}, "">;
|
|
7
7
|
};
|
|
8
|
-
export type * from './types
|
|
8
|
+
export type * from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EmblaCarouselSvelteType, default as emblaCarouselSvelte } from 'embla-carousel-svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
-
import type { WithElementRef } from '
|
|
3
|
+
import type { WithElementRef } from '~/types';
|
|
4
4
|
export type CarouselAPI = NonNullable<NonNullable<EmblaCarouselSvelteType['$$_attributes']>['onemblaInit']> extends (evt: CustomEvent<infer API>) => void ? API : any;
|
|
5
5
|
type EmblaCarouselConfig = NonNullable<Parameters<typeof emblaCarouselSvelte>[1]>;
|
|
6
6
|
export type CarouselOptions = EmblaCarouselConfig['options'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CircularProgressProps } from './types
|
|
1
|
+
import type { CircularProgressProps } from './types';
|
|
2
2
|
declare const CircularProgress: import("svelte").Component<CircularProgressProps, {}, "">;
|
|
3
3
|
type CircularProgress = ReturnType<typeof CircularProgress>;
|
|
4
4
|
export default CircularProgress;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContentStateProps } from './types
|
|
1
|
+
import type { ContentStateProps } from './types';
|
|
2
2
|
declare const ContentState: import("svelte").Component<ContentStateProps, {}, "">;
|
|
3
3
|
type ContentState = ReturnType<typeof ContentState>;
|
|
4
4
|
export default ContentState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as ContentState } from './ContentState.svelte';
|
|
2
|
-
export * from './types
|
|
2
|
+
export * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataGridProps } from '../types
|
|
1
|
+
import type { DataGridProps } from '../types';
|
|
2
2
|
export type BodyProps<TRow> = Pick<DataGridProps<TRow>, 'emptyState' | 'errorState' | 'isLoading' | 'isError' | 'columns' | 'rows' | 'onRowClick' | 'keyId' | 'onRetry'> & {
|
|
3
3
|
rowHeight: number;
|
|
4
4
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as DataGrid } from './DataGrid.svelte';
|
|
2
|
-
export type * from './types
|
|
2
|
+
export type * from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as DataGridSortHeader } from './DataGridSortHeader.svelte';
|
|
2
|
-
export type * from './types
|
|
2
|
+
export type * from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
|
|
2
2
|
import type { Snippet } from 'svelte';
|
|
3
|
-
import type { WithoutChildrenOrChild } from '
|
|
3
|
+
import type { WithoutChildrenOrChild } from '~/types';
|
|
4
4
|
type $$ComponentProps = WithoutChildrenOrChild<DropdownMenuPrimitive.CheckboxItemProps> & {
|
|
5
5
|
children?: Snippet;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DropdownMenu as DropdownMenuPrimitive } from 'bits-ui';
|
|
2
2
|
import type { ComponentProps } from 'svelte';
|
|
3
|
-
import type { WithoutChildrenOrChild } from '
|
|
4
|
-
import { Portal } from '../Portal
|
|
3
|
+
import type { WithoutChildrenOrChild } from '~/types';
|
|
4
|
+
import { Portal } from '../Portal';
|
|
5
5
|
type $$ComponentProps = DropdownMenuPrimitive.ContentProps & {
|
|
6
6
|
portalProps?: WithoutChildrenOrChild<ComponentProps<typeof Portal>>;
|
|
7
7
|
};
|