@max-ts/svelte 0.1.1
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/README.md +161 -0
- package/lib/components/Accordion/Content/index.d.ts +1 -0
- package/lib/components/Accordion/Content/styles.css.d.ts +5 -0
- package/lib/components/Accordion/Item/index.d.ts +1 -0
- package/lib/components/Accordion/Item/styles.css.d.ts +4 -0
- package/lib/components/Accordion/Trigger/index.d.ts +1 -0
- package/lib/components/Accordion/Trigger/styles.css.d.ts +6 -0
- package/lib/components/Accordion/index.d.ts +7 -0
- package/lib/components/Button/index.d.ts +3 -0
- package/lib/components/Button/styles.css.d.ts +9 -0
- package/lib/components/Button/types.d.ts +12 -0
- package/lib/components/Calendar/Caption/index.d.ts +1 -0
- package/lib/components/Calendar/Cell/index.d.ts +1 -0
- package/lib/components/Calendar/Cell/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Day/index.d.ts +1 -0
- package/lib/components/Calendar/Day/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Grid/index.d.ts +1 -0
- package/lib/components/Calendar/Grid/styles.css.d.ts +4 -0
- package/lib/components/Calendar/GridBody/index.d.ts +1 -0
- package/lib/components/Calendar/GridHead/index.d.ts +1 -0
- package/lib/components/Calendar/GridRow/index.d.ts +1 -0
- package/lib/components/Calendar/GridRow/styles.css.d.ts +4 -0
- package/lib/components/Calendar/HeadCell/index.d.ts +1 -0
- package/lib/components/Calendar/HeadCell/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Header/index.d.ts +1 -0
- package/lib/components/Calendar/Header/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Heading/index.d.ts +1 -0
- package/lib/components/Calendar/Heading/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Month/index.d.ts +1 -0
- package/lib/components/Calendar/MonthSelect/index.d.ts +1 -0
- package/lib/components/Calendar/MonthSelect/styles.css.d.ts +6 -0
- package/lib/components/Calendar/Months/index.d.ts +1 -0
- package/lib/components/Calendar/Months/styles.css.d.ts +4 -0
- package/lib/components/Calendar/Nav/index.d.ts +1 -0
- package/lib/components/Calendar/Nav/styles.css.d.ts +4 -0
- package/lib/components/Calendar/NextButton/index.d.ts +1 -0
- package/lib/components/Calendar/NextButton/styles.css.d.ts +4 -0
- package/lib/components/Calendar/PrevButton/index.d.ts +1 -0
- package/lib/components/Calendar/PrevButton/styles.css.d.ts +4 -0
- package/lib/components/Calendar/YearSelect/index.d.ts +1 -0
- package/lib/components/Calendar/YearSelect/styles.css.d.ts +6 -0
- package/lib/components/Calendar/index.d.ts +1 -0
- package/lib/components/Calendar/styles.css.d.ts +6 -0
- package/lib/components/Checkbox/index.d.ts +2 -0
- package/lib/components/Checkbox/styles.css.d.ts +5 -0
- package/lib/components/CircularProgress/index.d.ts +3 -0
- package/lib/components/CircularProgress/styles.css.d.ts +9 -0
- package/lib/components/CircularProgress/types.d.ts +8 -0
- package/lib/components/DataGrid/Body/index.d.ts +3 -0
- package/lib/components/DataGrid/Body/styles.css.d.ts +4 -0
- package/lib/components/DataGrid/Body/types.d.ts +4 -0
- package/lib/components/DataGrid/Cell/index.d.ts +3 -0
- package/lib/components/DataGrid/Cell/styles.css.d.ts +5 -0
- package/lib/components/DataGrid/Cell/types.d.ts +7 -0
- package/lib/components/DataGrid/Footer/index.d.ts +2 -0
- package/lib/components/DataGrid/Footer/styles.css.d.ts +4 -0
- package/lib/components/DataGrid/Header/index.d.ts +3 -0
- package/lib/components/DataGrid/Header/styles.css.d.ts +4 -0
- package/lib/components/DataGrid/Header/types.d.ts +6 -0
- package/lib/components/DataGrid/HeaderCell/index.d.ts +3 -0
- package/lib/components/DataGrid/HeaderCell/styles.css.d.ts +4 -0
- package/lib/components/DataGrid/HeaderCell/types.d.ts +6 -0
- package/lib/components/DataGrid/Row/index.d.ts +3 -0
- package/lib/components/DataGrid/Row/styles.css.d.ts +5 -0
- package/lib/components/DataGrid/Row/types.d.ts +9 -0
- package/lib/components/DataGrid/State/index.d.ts +3 -0
- package/lib/components/DataGrid/State/styles.css.d.ts +5 -0
- package/lib/components/DataGrid/State/types.d.ts +10 -0
- package/lib/components/DataGrid/constants.d.ts +1 -0
- package/lib/components/DataGrid/index.d.ts +2 -0
- package/lib/components/DataGrid/styles.css.d.ts +9 -0
- package/lib/components/DataGrid/types.d.ts +45 -0
- package/lib/components/DataGridSortHeader/index.d.ts +2 -0
- package/lib/components/DataGridSortHeader/styles.css.d.ts +7 -0
- package/lib/components/DataGridSortHeader/types.d.ts +11 -0
- package/lib/components/DropdownMenu/CheckboxGroup/index.d.ts +1 -0
- package/lib/components/DropdownMenu/CheckboxItem/index.d.ts +1 -0
- package/lib/components/DropdownMenu/CheckboxItem/styles.css.d.ts +6 -0
- package/lib/components/DropdownMenu/Content/index.d.ts +1 -0
- package/lib/components/DropdownMenu/Content/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/Group/index.d.ts +1 -0
- package/lib/components/DropdownMenu/GroupHeading/index.d.ts +1 -0
- package/lib/components/DropdownMenu/GroupHeading/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/Item/index.d.ts +1 -0
- package/lib/components/DropdownMenu/Item/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/Label/index.d.ts +1 -0
- package/lib/components/DropdownMenu/Label/styles.css.d.ts +1 -0
- package/lib/components/DropdownMenu/Portal/index.d.ts +1 -0
- package/lib/components/DropdownMenu/RadioGroup/index.d.ts +1 -0
- package/lib/components/DropdownMenu/RadioItem/index.d.ts +1 -0
- package/lib/components/DropdownMenu/RadioItem/styles.css.d.ts +6 -0
- package/lib/components/DropdownMenu/Separator/index.d.ts +1 -0
- package/lib/components/DropdownMenu/Separator/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/Shortcut/index.d.ts +1 -0
- package/lib/components/DropdownMenu/Shortcut/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/Sub/index.d.ts +1 -0
- package/lib/components/DropdownMenu/SubContent/index.d.ts +1 -0
- package/lib/components/DropdownMenu/SubContent/styles.css.d.ts +4 -0
- package/lib/components/DropdownMenu/SubTrigger/index.d.ts +1 -0
- package/lib/components/DropdownMenu/SubTrigger/styles.css.d.ts +5 -0
- package/lib/components/DropdownMenu/Trigger/index.d.ts +1 -0
- package/lib/components/DropdownMenu/index.d.ts +20 -0
- package/lib/components/Field/Content/index.d.ts +1 -0
- package/lib/components/Field/Content/styles.css.d.ts +4 -0
- package/lib/components/Field/Description/index.d.ts +1 -0
- package/lib/components/Field/Description/styles.css.d.ts +4 -0
- package/lib/components/Field/FieldError/index.d.ts +1 -0
- package/lib/components/Field/FieldError/styles.css.d.ts +4 -0
- package/lib/components/Field/FieldSet/index.d.ts +1 -0
- package/lib/components/Field/FieldSet/styles.css.d.ts +4 -0
- package/lib/components/Field/Group/index.d.ts +1 -0
- package/lib/components/Field/Group/styles.css.d.ts +4 -0
- package/lib/components/Field/Label/index.d.ts +1 -0
- package/lib/components/Field/Label/styles.css.d.ts +4 -0
- package/lib/components/Field/Legend/index.d.ts +1 -0
- package/lib/components/Field/Legend/styles.css.d.ts +4 -0
- package/lib/components/Field/Separator/index.d.ts +1 -0
- package/lib/components/Field/Separator/styles.css.d.ts +6 -0
- package/lib/components/Field/Title/index.d.ts +1 -0
- package/lib/components/Field/Title/styles.css.d.ts +4 -0
- package/lib/components/Field/index.d.ts +14 -0
- package/lib/components/Field/styles.css.d.ts +5 -0
- package/lib/components/Field/types.d.ts +3 -0
- package/lib/components/Input/index.d.ts +2 -0
- package/lib/components/Input/styles.css.d.ts +6 -0
- package/lib/components/Input/types.d.ts +12 -0
- package/lib/components/Label/index.d.ts +2 -0
- package/lib/components/Label/styles.css.d.ts +4 -0
- package/lib/components/Placeholder/Image/index.d.ts +3 -0
- package/lib/components/Placeholder/Image/styles.css.d.ts +6 -0
- package/lib/components/Placeholder/Image/types.d.ts +9 -0
- package/lib/components/Placeholder/constants.d.ts +22 -0
- package/lib/components/Placeholder/index.d.ts +3 -0
- package/lib/components/Placeholder/styles.css.d.ts +9 -0
- package/lib/components/Placeholder/types.d.ts +18 -0
- package/lib/components/Select/Content/index.d.ts +1 -0
- package/lib/components/Select/Content/styles.css.d.ts +5 -0
- package/lib/components/Select/Group/index.d.ts +1 -0
- package/lib/components/Select/GroupHeading/index.d.ts +1 -0
- package/lib/components/Select/GroupHeading/styles.css.d.ts +4 -0
- package/lib/components/Select/Item/index.d.ts +1 -0
- package/lib/components/Select/Item/styles.css.d.ts +5 -0
- package/lib/components/Select/Label/index.d.ts +1 -0
- package/lib/components/Select/Label/styles.css.d.ts +4 -0
- package/lib/components/Select/Portal/index.d.ts +1 -0
- package/lib/components/Select/ScrollDownButton/index.d.ts +1 -0
- package/lib/components/Select/ScrollDownButton/styles.css.d.ts +4 -0
- package/lib/components/Select/ScrollUpButton/index.d.ts +1 -0
- package/lib/components/Select/ScrollUpButton/styles.css.d.ts +5 -0
- package/lib/components/Select/Separator/index.d.ts +1 -0
- package/lib/components/Select/Separator/styles.css.d.ts +4 -0
- package/lib/components/Select/Trigger/index.d.ts +1 -0
- package/lib/components/Select/Trigger/styles.css.d.ts +5 -0
- package/lib/components/Select/index.d.ts +14 -0
- package/lib/components/Separator/index.d.ts +2 -0
- package/lib/components/Separator/styles.css.d.ts +4 -0
- package/lib/components/Separator/types.d.ts +2 -0
- package/lib/components/Tooltip/Content/index.d.ts +1 -0
- package/lib/components/Tooltip/Content/styles.css.d.ts +5 -0
- package/lib/components/Tooltip/Portal/index.d.ts +2 -0
- package/lib/components/Tooltip/Provider/index.d.ts +2 -0
- package/lib/components/Tooltip/Trigger/index.d.ts +1 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/types.d.ts +11 -0
- package/lib/components/Typography/index.d.ts +4 -0
- package/lib/components/Typography/styles.css.d.ts +9 -0
- package/lib/components/Typography/types.d.ts +4 -0
- package/lib/components/index.d.ts +16 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/rslib-runtime.js +1 -0
- package/lib/styles/index.d.ts +5 -0
- package/lib/styles/reset.css.d.ts +1 -0
- package/lib/styles/theme.css.d.ts +85 -0
- package/lib/styles/types.d.ts +11 -0
- package/lib/styles/utils.d.ts +6 -0
- package/lib/styles.css +1 -0
- package/package.json +53 -0
- package/src/index.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CheckboxGroup } from './CheckboxGroup.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CheckboxItem } from './CheckboxItem.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Content } from './Content.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Group } from './Group.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GroupHeading } from './GroupHeading.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Item } from './Item.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const label: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Portal } from './Portal.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RadioGroup } from './RadioGroup.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RadioItem } from './RadioItem.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Shortcut } from './Shortcut.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Sub } from './Sub.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubContent } from './SubContent.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubTrigger } from './SubTrigger.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Trigger } from './Trigger.svelte';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const DropdownMenu: {
|
|
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
|
+
};
|
|
20
|
+
export { DropdownMenu };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Content } from './Content.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Description } from './Description.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FieldError } from './FieldError.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FieldSet } from './FieldSet.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Group } from './Group.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Legend } from './Legend.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Title } from './Title.svelte';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const Field: {
|
|
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
|
+
};
|
|
13
|
+
export { Field };
|
|
14
|
+
export * from './types';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from 'svelte/elements';
|
|
2
|
+
import type { WithElementRef } from '../../styles/index.ts';
|
|
3
|
+
export type InputType = Exclude<HTMLInputTypeAttribute, 'file'>;
|
|
4
|
+
export type InputProps = WithElementRef<Omit<HTMLInputAttributes, 'type' | 'size'> & ({
|
|
5
|
+
type: 'file';
|
|
6
|
+
files?: FileList;
|
|
7
|
+
} | {
|
|
8
|
+
type?: InputType;
|
|
9
|
+
files?: undefined;
|
|
10
|
+
})> & {
|
|
11
|
+
size?: 'small' | 'medium' | 'large';
|
|
12
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { PlaceholderSize } from './types';
|
|
2
|
+
export declare const SIZE: Record<PlaceholderSize, PlaceholderSize>;
|
|
3
|
+
export declare const IMAGE_WIDTH: {
|
|
4
|
+
[SIZE.small]: string;
|
|
5
|
+
[SIZE.medium]: string;
|
|
6
|
+
[SIZE.large]: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const IMAGE_HEIGHT: {
|
|
9
|
+
[SIZE.small]: string;
|
|
10
|
+
[SIZE.medium]: string;
|
|
11
|
+
[SIZE.large]: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const MAX_INNER_WIDTH: {
|
|
14
|
+
[SIZE.small]: string;
|
|
15
|
+
[SIZE.medium]: string;
|
|
16
|
+
[SIZE.large]: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const TITLE_HEADER_LEVEL: {
|
|
19
|
+
readonly [SIZE.small]: "subtitle1";
|
|
20
|
+
readonly [SIZE.medium]: "h6";
|
|
21
|
+
readonly [SIZE.large]: "h5";
|
|
22
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type PlaceholderSize = 'small' | 'medium' | 'large';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export type PlaceholderProps = {
|
|
4
|
+
/** Название класса, применяется к корневому компоненту */
|
|
5
|
+
class?: string;
|
|
6
|
+
/** Ссылка на изображение */
|
|
7
|
+
imgSrc?: string;
|
|
8
|
+
/** Описание изображения (атрибут alt) */
|
|
9
|
+
imgAlt?: string;
|
|
10
|
+
/** Заголовок */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Описание */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** Действия */
|
|
15
|
+
actions?: Snippet<[]>;
|
|
16
|
+
/** Задает общий размер компонента */
|
|
17
|
+
size?: PlaceholderSize;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Content } from './Content.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Group } from './Group.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GroupHeading } from './GroupHeading.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Item } from './Item.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Portal } from './Portal.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScrollDownButton } from './ScrollDownButton.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScrollUpButton } from './ScrollUpButton.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Trigger } from './Trigger.svelte';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const Select: {
|
|
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
|
+
};
|
|
14
|
+
export { Select };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Content } from './Content.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Trigger } from './Trigger.svelte';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Tooltip } from 'bits-ui';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export type TooltipProps = Tooltip.RootProps & {
|
|
4
|
+
content?: Snippet<[]> | string;
|
|
5
|
+
arrow?: boolean;
|
|
6
|
+
align?: Tooltip.ContentProps['align'];
|
|
7
|
+
sideOffset?: number;
|
|
8
|
+
alignOffset?: number;
|
|
9
|
+
side?: Tooltip.ContentProps['side'];
|
|
10
|
+
class?: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TypographyVariant } from './types';
|
|
2
|
+
export declare const variants: Record<TypographyVariant, string>;
|
|
3
|
+
export declare const colors: Record<"primary" | "secondary" | "warning" | "error" | "success" | "info" | "disabled" | "muted", string>;
|
|
4
|
+
export declare const alignments: Record<"left" | "right" | "center" | "justify", string>;
|
|
5
|
+
export declare const displays: Record<"block" | "inline", string>;
|
|
6
|
+
export declare const weights: Record<"bold" | "normal" | "medium" | "semibold", string>;
|
|
7
|
+
export declare const transforms: Record<"capitalize" | "lowercase" | "uppercase", string>;
|
|
8
|
+
export declare const decorations: Record<"none" | "underline" | "lineThrough", string>;
|
|
9
|
+
export declare const gutterBottomClass: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'overline';
|
|
2
|
+
export type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
|
|
3
|
+
export type ComponentVariant = 'div' | 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
+
export type TypographyColor = 'primary' | 'disabled' | 'info' | 'secondary' | 'success' | 'error' | 'muted' | 'warning';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './Accordion';
|
|
2
|
+
export * from './Button';
|
|
3
|
+
export * from './Calendar';
|
|
4
|
+
export * from './Checkbox';
|
|
5
|
+
export * from './CircularProgress';
|
|
6
|
+
export * from './DataGrid';
|
|
7
|
+
export * from './DataGridSortHeader';
|
|
8
|
+
export * from './DropdownMenu';
|
|
9
|
+
export * from './Field';
|
|
10
|
+
export * from './Input';
|
|
11
|
+
export * from './Label';
|
|
12
|
+
export * from './Placeholder';
|
|
13
|
+
export * from './Select';
|
|
14
|
+
export * from './Separator';
|
|
15
|
+
export * from './Tooltip';
|
|
16
|
+
export * from './Typography';
|
package/lib/index.d.ts
ADDED