@max-ts/svelte 0.1.2 → 0.1.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/lib/components/Accordion/index.d.ts +4 -4
- package/lib/components/Button/styles.css.d.ts +1 -1
- package/lib/components/Button/types.d.ts +1 -1
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/CircularProgress/index.d.ts +1 -1
- package/lib/components/DataGrid/Body/index.d.ts +1 -1
- package/lib/components/DataGrid/Body/types.d.ts +1 -1
- package/lib/components/DataGrid/Cell/index.d.ts +1 -1
- package/lib/components/DataGrid/Cell/types.d.ts +1 -1
- package/lib/components/DataGrid/Footer/index.d.ts +1 -1
- package/lib/components/DataGrid/Header/index.d.ts +1 -1
- package/lib/components/DataGrid/Header/types.d.ts +1 -1
- package/lib/components/DataGrid/HeaderCell/index.d.ts +1 -1
- package/lib/components/DataGrid/HeaderCell/types.d.ts +1 -1
- package/lib/components/DataGrid/Row/index.d.ts +1 -1
- package/lib/components/DataGrid/Row/types.d.ts +1 -1
- package/lib/components/DataGrid/State/index.d.ts +1 -1
- package/lib/components/DataGrid/State/types.d.ts +1 -1
- package/lib/components/DataGrid/types.d.ts +1 -1
- package/lib/components/DataGridSortHeader/types.d.ts +1 -1
- package/lib/components/DropdownMenu/index.d.ts +17 -17
- package/lib/components/Field/index.d.ts +10 -10
- package/lib/components/Field/styles.css.d.ts +2 -2
- package/lib/components/Field/types.d.ts +1 -1
- package/lib/components/Input/types.d.ts +2 -2
- package/lib/components/Label/index.d.ts +1 -2
- package/lib/components/Placeholder/Image/index.d.ts +2 -2
- package/lib/components/Placeholder/Image/styles.css.d.ts +1 -1
- package/lib/components/Placeholder/Image/types.d.ts +1 -1
- package/lib/components/Placeholder/constants.d.ts +1 -1
- package/lib/components/Placeholder/index.d.ts +1 -2
- package/lib/components/Placeholder/styles.css.d.ts +1 -1
- package/lib/components/Placeholder/types.d.ts +1 -1
- package/lib/components/Select/index.d.ts +11 -11
- package/lib/components/Separator/types.d.ts +1 -1
- package/lib/components/Tooltip/Portal/index.d.ts +1 -1
- package/lib/components/Tooltip/Provider/index.d.ts +1 -1
- package/lib/components/Tooltip/types.d.ts +2 -2
- package/lib/components/Typography/styles.css.d.ts +1 -1
- package/lib/components/index.d.ts +13 -13
- package/lib/index.js +1 -21697
- package/lib/rslib-runtime.js +1 -0
- package/lib/styles/utils.d.ts +1 -1
- package/lib/styles.css +1 -0
- package/package.json +11 -3
- package/lib/components/Accordion/Accordion.svelte.d.ts +0 -1
- package/lib/components/Accordion/Content/Content.svelte.d.ts +0 -1
- package/lib/components/Accordion/Item/Item.svelte.d.ts +0 -1
- package/lib/components/Accordion/Trigger/Trigger.svelte.d.ts +0 -1
- package/lib/components/Button/Button.svelte.d.ts +0 -1
- package/lib/components/Calendar/Calendar.svelte.d.ts +0 -1
- package/lib/components/Calendar/Caption/Caption.svelte.d.ts +0 -1
- package/lib/components/Calendar/Cell/Cell.svelte.d.ts +0 -1
- package/lib/components/Calendar/Day/Day.svelte.d.ts +0 -1
- package/lib/components/Calendar/Grid/Grid.svelte.d.ts +0 -1
- package/lib/components/Calendar/GridBody/GridBody.svelte.d.ts +0 -1
- package/lib/components/Calendar/GridHead/GridHead.svelte.d.ts +0 -1
- package/lib/components/Calendar/GridRow/GridRow.svelte.d.ts +0 -1
- package/lib/components/Calendar/HeadCell/HeadCell.svelte.d.ts +0 -1
- package/lib/components/Calendar/Header/Header.svelte.d.ts +0 -1
- package/lib/components/Calendar/Month/Month.svelte.d.ts +0 -1
- package/lib/components/Calendar/MonthSelect/MonthSelect.svelte.d.ts +0 -1
- package/lib/components/Calendar/Months/Months.svelte.d.ts +0 -1
- package/lib/components/Calendar/Nav/Nav.svelte.d.ts +0 -1
- package/lib/components/Calendar/NextButton/NextButton.svelte.d.ts +0 -1
- package/lib/components/Calendar/PrevButton/PrevButton.svelte.d.ts +0 -1
- package/lib/components/Calendar/YearSelect/YearSelect.svelte.d.ts +0 -1
- package/lib/components/Checkbox/Checkbox.svelte.d.ts +0 -1
- package/lib/components/CircularProgress/CircularProgress.svelte.d.ts +0 -1
- package/lib/components/DataGrid/Body/Body.svelte.d.ts +0 -1
- package/lib/components/DataGrid/Cell/Cell.svelte.d.ts +0 -1
- package/lib/components/DataGrid/DataGrid.svelte.d.ts +0 -1
- package/lib/components/DataGrid/Footer/Footer.svelte.d.ts +0 -1
- package/lib/components/DataGrid/Header/Header.svelte.d.ts +0 -1
- package/lib/components/DataGrid/HeaderCell/HeaderCell.svelte.d.ts +0 -1
- package/lib/components/DataGrid/Row/Row.svelte.d.ts +0 -1
- package/lib/components/DataGrid/State/State.svelte.d.ts +0 -1
- package/lib/components/DataGridSortHeader/DataGridSortHeader.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/CheckboxGroup/CheckboxGroup.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/CheckboxItem/CheckboxItem.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Content/Content.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/DropdownMenu.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Group/Group.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/GroupHeading/GroupHeading.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Item/Item.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Label/Label.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Portal/Portal.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/RadioGroup/RadioGroup.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/RadioItem/RadioItem.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Separator/Separator.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Shortcut/Shortcut.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Sub/Sub.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/SubContent/SubContent.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/SubTrigger/SubTrigger.svelte.d.ts +0 -1
- package/lib/components/DropdownMenu/Trigger/Trigger.svelte.d.ts +0 -1
- package/lib/components/Field/Content/Content.svelte.d.ts +0 -1
- package/lib/components/Field/Description/Description.svelte.d.ts +0 -1
- package/lib/components/Field/Field.svelte.d.ts +0 -1
- package/lib/components/Field/FieldError/FieldError.svelte.d.ts +0 -1
- package/lib/components/Field/FieldSet/FieldSet.svelte.d.ts +0 -1
- package/lib/components/Field/Group/Group.svelte.d.ts +0 -1
- package/lib/components/Field/Label/Label.svelte.d.ts +0 -1
- package/lib/components/Field/Legend/Legend.svelte.d.ts +0 -1
- package/lib/components/Field/Separator/Separator.svelte.d.ts +0 -1
- package/lib/components/Field/Title/Title.svelte.d.ts +0 -1
- package/lib/components/Input/Input.svelte.d.ts +0 -1
- package/lib/components/Label/Label.svelte.d.ts +0 -1
- package/lib/components/Placeholder/Image/Image.svelte.d.ts +0 -1
- package/lib/components/Placeholder/Placeholder.svelte.d.ts +0 -1
- package/lib/components/Select/Content/Content.svelte.d.ts +0 -1
- package/lib/components/Select/Group/Group.svelte.d.ts +0 -1
- package/lib/components/Select/GroupHeading/GroupHeading.svelte.d.ts +0 -1
- package/lib/components/Select/Item/Item.svelte.d.ts +0 -1
- package/lib/components/Select/Label/Label.svelte.d.ts +0 -1
- package/lib/components/Select/Portal/Portal.svelte.d.ts +0 -1
- package/lib/components/Select/ScrollDownButton/ScrollDownButton.svelte.d.ts +0 -1
- package/lib/components/Select/ScrollUpButton/ScrollUpButton.svelte.d.ts +0 -1
- package/lib/components/Select/Select.svelte.d.ts +0 -1
- package/lib/components/Select/Separator/Separator.svelte.d.ts +0 -1
- package/lib/components/Select/Trigger/Trigger.svelte.d.ts +0 -1
- package/lib/components/Separator/Separator.svelte.d.ts +0 -1
- package/lib/components/Tooltip/Content/Content.svelte.d.ts +0 -1
- package/lib/components/Tooltip/Portal/Portal.svelte.d.ts +0 -1
- package/lib/components/Tooltip/Provider/Provider.svelte.d.ts +0 -1
- package/lib/components/Tooltip/Tooltip.svelte.d.ts +0 -1
- package/lib/components/Tooltip/Trigger/Trigger.svelte.d.ts +0 -1
- package/lib/components/Typography/Typography.svelte.d.ts +0 -1
- package/lib/index.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const Accordion: {
|
|
2
|
-
Trigger: import(
|
|
3
|
-
Item: import(
|
|
4
|
-
Content: import(
|
|
5
|
-
Root: import(
|
|
2
|
+
Trigger: import("svelte/legacy").LegacyComponentType;
|
|
3
|
+
Item: import("svelte/legacy").LegacyComponentType;
|
|
4
|
+
Content: import("svelte/legacy").LegacyComponentType;
|
|
5
|
+
Root: import("svelte/legacy").LegacyComponentType;
|
|
6
6
|
};
|
|
7
7
|
export { Accordion };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLButtonAttributes } from 'svelte/elements';
|
|
1
|
+
import type { HTMLButtonAttributes } from 'svelte/elements';
|
|
2
2
|
export type ButtonVariant = 'default' | 'destructive' | 'outline' | 'ghost' | 'link';
|
|
3
3
|
export type ButtonSize = 'medium' | 'small' | 'large' | 'icon' | 'iconSmall';
|
|
4
4
|
export type ButtonProps = HTMLButtonAttributes & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Root from './Checkbox.svelte';
|
|
2
2
|
export { Root as Checkbox, Root, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { 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
|
-
import
|
|
1
|
+
import Footer from './Footer.svelte';
|
|
2
2
|
export { Footer };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
declare const DropdownMenu: {
|
|
2
|
-
Root: import(
|
|
3
|
-
CheckboxGroup: import(
|
|
4
|
-
CheckboxItem: import(
|
|
5
|
-
Content: import(
|
|
6
|
-
Group: import(
|
|
7
|
-
GroupHeading: import(
|
|
8
|
-
Item: import(
|
|
9
|
-
Label: import(
|
|
10
|
-
Portal: import(
|
|
11
|
-
RadioGroup: import(
|
|
12
|
-
RadioItem: import(
|
|
13
|
-
Separator: import(
|
|
14
|
-
Shortcut: import(
|
|
15
|
-
Sub: import(
|
|
16
|
-
SubContent: import(
|
|
17
|
-
SubTrigger: import(
|
|
18
|
-
Trigger: import(
|
|
2
|
+
Root: import("svelte/legacy").LegacyComponentType;
|
|
3
|
+
CheckboxGroup: import("svelte/legacy").LegacyComponentType;
|
|
4
|
+
CheckboxItem: import("svelte/legacy").LegacyComponentType;
|
|
5
|
+
Content: import("svelte/legacy").LegacyComponentType;
|
|
6
|
+
Group: import("svelte/legacy").LegacyComponentType;
|
|
7
|
+
GroupHeading: import("svelte/legacy").LegacyComponentType;
|
|
8
|
+
Item: import("svelte/legacy").LegacyComponentType;
|
|
9
|
+
Label: import("svelte/legacy").LegacyComponentType;
|
|
10
|
+
Portal: import("svelte/legacy").LegacyComponentType;
|
|
11
|
+
RadioGroup: import("svelte/legacy").LegacyComponentType;
|
|
12
|
+
RadioItem: import("svelte/legacy").LegacyComponentType;
|
|
13
|
+
Separator: import("svelte/legacy").LegacyComponentType;
|
|
14
|
+
Shortcut: import("svelte/legacy").LegacyComponentType;
|
|
15
|
+
Sub: import("svelte/legacy").LegacyComponentType;
|
|
16
|
+
SubContent: import("svelte/legacy").LegacyComponentType;
|
|
17
|
+
SubTrigger: import("svelte/legacy").LegacyComponentType;
|
|
18
|
+
Trigger: import("svelte/legacy").LegacyComponentType;
|
|
19
19
|
};
|
|
20
20
|
export { DropdownMenu };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const Field: {
|
|
2
|
-
Item: import(
|
|
3
|
-
Content: import(
|
|
4
|
-
Description: import(
|
|
5
|
-
Error: import(
|
|
6
|
-
Group: import(
|
|
7
|
-
Label: import(
|
|
8
|
-
Legend: import(
|
|
9
|
-
Separator: import(
|
|
10
|
-
Set: import(
|
|
11
|
-
Title: import(
|
|
2
|
+
Item: import("svelte/legacy").LegacyComponentType;
|
|
3
|
+
Content: import("svelte/legacy").LegacyComponentType;
|
|
4
|
+
Description: import("svelte/legacy").LegacyComponentType;
|
|
5
|
+
Error: import("svelte/legacy").LegacyComponentType;
|
|
6
|
+
Group: import("svelte/legacy").LegacyComponentType;
|
|
7
|
+
Label: import("svelte/legacy").LegacyComponentType;
|
|
8
|
+
Legend: import("svelte/legacy").LegacyComponentType;
|
|
9
|
+
Separator: import("svelte/legacy").LegacyComponentType;
|
|
10
|
+
Set: import("svelte/legacy").LegacyComponentType;
|
|
11
|
+
Title: import("svelte/legacy").LegacyComponentType;
|
|
12
12
|
};
|
|
13
13
|
export { Field };
|
|
14
14
|
export * from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const fieldVariants: Record<import(
|
|
1
|
+
export declare const fieldVariants: Record<import("./types").FieldOrientation, string>;
|
|
2
2
|
declare const _default: {
|
|
3
|
-
fieldVariants: Record<import(
|
|
3
|
+
fieldVariants: Record<import("./types").FieldOrientation, string>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTMLInputAttributes, HTMLInputTypeAttribute } from 'svelte/elements';
|
|
2
|
-
import { WithElementRef } from '../../styles';
|
|
1
|
+
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from 'svelte/elements';
|
|
2
|
+
import type { WithElementRef } from '../../styles/index.ts';
|
|
3
3
|
export type InputType = Exclude<HTMLInputTypeAttribute, 'file'>;
|
|
4
4
|
export type InputProps = WithElementRef<Omit<HTMLInputAttributes, 'type' | 'size'> & ({
|
|
5
5
|
type: 'file';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Label };
|
|
1
|
+
export { default as Label } from './Label.svelte';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ImageProps } from './types';
|
|
1
|
+
import Image from './Image.svelte';
|
|
2
|
+
import type { ImageProps } from './types';
|
|
3
3
|
export { Image, type ImageProps };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const Select: {
|
|
2
|
-
Root: import(
|
|
3
|
-
Trigger: import(
|
|
4
|
-
Label: import(
|
|
5
|
-
Portal: import(
|
|
6
|
-
ScrollUpButton: import(
|
|
7
|
-
ScrollDownButton: import(
|
|
8
|
-
Item: import(
|
|
9
|
-
Group: import(
|
|
10
|
-
Separator: import(
|
|
11
|
-
GroupHeading: import(
|
|
12
|
-
Content: import(
|
|
2
|
+
Root: import("svelte/legacy").LegacyComponentType;
|
|
3
|
+
Trigger: import("svelte/legacy").LegacyComponentType;
|
|
4
|
+
Label: import("svelte/legacy").LegacyComponentType;
|
|
5
|
+
Portal: import("svelte/legacy").LegacyComponentType;
|
|
6
|
+
ScrollUpButton: import("svelte/legacy").LegacyComponentType;
|
|
7
|
+
ScrollDownButton: import("svelte/legacy").LegacyComponentType;
|
|
8
|
+
Item: import("svelte/legacy").LegacyComponentType;
|
|
9
|
+
Group: import("svelte/legacy").LegacyComponentType;
|
|
10
|
+
Separator: import("svelte/legacy").LegacyComponentType;
|
|
11
|
+
GroupHeading: import("svelte/legacy").LegacyComponentType;
|
|
12
|
+
Content: import("svelte/legacy").LegacyComponentType;
|
|
13
13
|
};
|
|
14
14
|
export { Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Separator as SeparatorPrimitive } from 'bits-ui';
|
|
1
|
+
import type { Separator as SeparatorPrimitive } from 'bits-ui';
|
|
2
2
|
export type SeparatorProps = SeparatorPrimitive.RootProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Portal from './Portal.svelte';
|
|
2
2
|
export { Portal };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Provider from './Provider.svelte';
|
|
2
2
|
export { Provider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TypographyVariant } from './types';
|
|
1
|
+
import type { TypographyVariant } from './types';
|
|
2
2
|
export declare const variants: Record<TypographyVariant, string>;
|
|
3
3
|
export declare const colors: Record<"primary" | "secondary" | "warning" | "error" | "success" | "info" | "disabled" | "muted", string>;
|
|
4
4
|
export declare const alignments: Record<"left" | "right" | "center" | "justify", string>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export { Accordion } from './Accordion';
|
|
2
|
+
export { Button, buttonVariants, type ButtonSize, type ButtonVariant, } from './Button';
|
|
3
|
+
export { Calendar } from './Calendar';
|
|
4
|
+
export { Checkbox } from './Checkbox';
|
|
5
|
+
export { CircularProgress, type CircularProgressProps, } from './CircularProgress';
|
|
6
6
|
export * from './DataGrid';
|
|
7
7
|
export * from './DataGridSortHeader';
|
|
8
8
|
export * from './DropdownMenu';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
9
|
+
export { Field, type FieldOrientation, type FieldVariants } from './Field';
|
|
10
|
+
export { Input, type InputProps, type InputType } from './Input';
|
|
11
|
+
export { Label } from './Label';
|
|
12
|
+
export { Placeholder, type PlaceholderProps, type PlaceholderSize, } from './Placeholder';
|
|
13
|
+
export { Select } from './Select';
|
|
14
|
+
export { Separator } from './Separator';
|
|
15
|
+
export { Tooltip, type TooltipProps } from './Tooltip';
|
|
16
|
+
export { Typography, type TypographyAlign, type TypographyColor, type TypographyVariant, } from './Typography';
|