@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.
Files changed (128) hide show
  1. package/lib/components/Accordion/index.d.ts +4 -4
  2. package/lib/components/Button/styles.css.d.ts +1 -1
  3. package/lib/components/Button/types.d.ts +1 -1
  4. package/lib/components/Checkbox/index.d.ts +1 -1
  5. package/lib/components/CircularProgress/index.d.ts +1 -1
  6. package/lib/components/DataGrid/Body/index.d.ts +1 -1
  7. package/lib/components/DataGrid/Body/types.d.ts +1 -1
  8. package/lib/components/DataGrid/Cell/index.d.ts +1 -1
  9. package/lib/components/DataGrid/Cell/types.d.ts +1 -1
  10. package/lib/components/DataGrid/Footer/index.d.ts +1 -1
  11. package/lib/components/DataGrid/Header/index.d.ts +1 -1
  12. package/lib/components/DataGrid/Header/types.d.ts +1 -1
  13. package/lib/components/DataGrid/HeaderCell/index.d.ts +1 -1
  14. package/lib/components/DataGrid/HeaderCell/types.d.ts +1 -1
  15. package/lib/components/DataGrid/Row/index.d.ts +1 -1
  16. package/lib/components/DataGrid/Row/types.d.ts +1 -1
  17. package/lib/components/DataGrid/State/index.d.ts +1 -1
  18. package/lib/components/DataGrid/State/types.d.ts +1 -1
  19. package/lib/components/DataGrid/types.d.ts +1 -1
  20. package/lib/components/DataGridSortHeader/types.d.ts +1 -1
  21. package/lib/components/DropdownMenu/index.d.ts +17 -17
  22. package/lib/components/Field/index.d.ts +10 -10
  23. package/lib/components/Field/styles.css.d.ts +2 -2
  24. package/lib/components/Field/types.d.ts +1 -1
  25. package/lib/components/Input/types.d.ts +2 -2
  26. package/lib/components/Label/index.d.ts +1 -2
  27. package/lib/components/Placeholder/Image/index.d.ts +2 -2
  28. package/lib/components/Placeholder/Image/styles.css.d.ts +1 -1
  29. package/lib/components/Placeholder/Image/types.d.ts +1 -1
  30. package/lib/components/Placeholder/constants.d.ts +1 -1
  31. package/lib/components/Placeholder/index.d.ts +1 -2
  32. package/lib/components/Placeholder/styles.css.d.ts +1 -1
  33. package/lib/components/Placeholder/types.d.ts +1 -1
  34. package/lib/components/Select/index.d.ts +11 -11
  35. package/lib/components/Separator/types.d.ts +1 -1
  36. package/lib/components/Tooltip/Portal/index.d.ts +1 -1
  37. package/lib/components/Tooltip/Provider/index.d.ts +1 -1
  38. package/lib/components/Tooltip/types.d.ts +2 -2
  39. package/lib/components/Typography/styles.css.d.ts +1 -1
  40. package/lib/components/index.d.ts +13 -13
  41. package/lib/index.js +1 -21697
  42. package/lib/rslib-runtime.js +1 -0
  43. package/lib/styles/utils.d.ts +1 -1
  44. package/lib/styles.css +1 -0
  45. package/package.json +11 -3
  46. package/lib/components/Accordion/Accordion.svelte.d.ts +0 -1
  47. package/lib/components/Accordion/Content/Content.svelte.d.ts +0 -1
  48. package/lib/components/Accordion/Item/Item.svelte.d.ts +0 -1
  49. package/lib/components/Accordion/Trigger/Trigger.svelte.d.ts +0 -1
  50. package/lib/components/Button/Button.svelte.d.ts +0 -1
  51. package/lib/components/Calendar/Calendar.svelte.d.ts +0 -1
  52. package/lib/components/Calendar/Caption/Caption.svelte.d.ts +0 -1
  53. package/lib/components/Calendar/Cell/Cell.svelte.d.ts +0 -1
  54. package/lib/components/Calendar/Day/Day.svelte.d.ts +0 -1
  55. package/lib/components/Calendar/Grid/Grid.svelte.d.ts +0 -1
  56. package/lib/components/Calendar/GridBody/GridBody.svelte.d.ts +0 -1
  57. package/lib/components/Calendar/GridHead/GridHead.svelte.d.ts +0 -1
  58. package/lib/components/Calendar/GridRow/GridRow.svelte.d.ts +0 -1
  59. package/lib/components/Calendar/HeadCell/HeadCell.svelte.d.ts +0 -1
  60. package/lib/components/Calendar/Header/Header.svelte.d.ts +0 -1
  61. package/lib/components/Calendar/Month/Month.svelte.d.ts +0 -1
  62. package/lib/components/Calendar/MonthSelect/MonthSelect.svelte.d.ts +0 -1
  63. package/lib/components/Calendar/Months/Months.svelte.d.ts +0 -1
  64. package/lib/components/Calendar/Nav/Nav.svelte.d.ts +0 -1
  65. package/lib/components/Calendar/NextButton/NextButton.svelte.d.ts +0 -1
  66. package/lib/components/Calendar/PrevButton/PrevButton.svelte.d.ts +0 -1
  67. package/lib/components/Calendar/YearSelect/YearSelect.svelte.d.ts +0 -1
  68. package/lib/components/Checkbox/Checkbox.svelte.d.ts +0 -1
  69. package/lib/components/CircularProgress/CircularProgress.svelte.d.ts +0 -1
  70. package/lib/components/DataGrid/Body/Body.svelte.d.ts +0 -1
  71. package/lib/components/DataGrid/Cell/Cell.svelte.d.ts +0 -1
  72. package/lib/components/DataGrid/DataGrid.svelte.d.ts +0 -1
  73. package/lib/components/DataGrid/Footer/Footer.svelte.d.ts +0 -1
  74. package/lib/components/DataGrid/Header/Header.svelte.d.ts +0 -1
  75. package/lib/components/DataGrid/HeaderCell/HeaderCell.svelte.d.ts +0 -1
  76. package/lib/components/DataGrid/Row/Row.svelte.d.ts +0 -1
  77. package/lib/components/DataGrid/State/State.svelte.d.ts +0 -1
  78. package/lib/components/DataGridSortHeader/DataGridSortHeader.svelte.d.ts +0 -1
  79. package/lib/components/DropdownMenu/CheckboxGroup/CheckboxGroup.svelte.d.ts +0 -1
  80. package/lib/components/DropdownMenu/CheckboxItem/CheckboxItem.svelte.d.ts +0 -1
  81. package/lib/components/DropdownMenu/Content/Content.svelte.d.ts +0 -1
  82. package/lib/components/DropdownMenu/DropdownMenu.svelte.d.ts +0 -1
  83. package/lib/components/DropdownMenu/Group/Group.svelte.d.ts +0 -1
  84. package/lib/components/DropdownMenu/GroupHeading/GroupHeading.svelte.d.ts +0 -1
  85. package/lib/components/DropdownMenu/Item/Item.svelte.d.ts +0 -1
  86. package/lib/components/DropdownMenu/Label/Label.svelte.d.ts +0 -1
  87. package/lib/components/DropdownMenu/Portal/Portal.svelte.d.ts +0 -1
  88. package/lib/components/DropdownMenu/RadioGroup/RadioGroup.svelte.d.ts +0 -1
  89. package/lib/components/DropdownMenu/RadioItem/RadioItem.svelte.d.ts +0 -1
  90. package/lib/components/DropdownMenu/Separator/Separator.svelte.d.ts +0 -1
  91. package/lib/components/DropdownMenu/Shortcut/Shortcut.svelte.d.ts +0 -1
  92. package/lib/components/DropdownMenu/Sub/Sub.svelte.d.ts +0 -1
  93. package/lib/components/DropdownMenu/SubContent/SubContent.svelte.d.ts +0 -1
  94. package/lib/components/DropdownMenu/SubTrigger/SubTrigger.svelte.d.ts +0 -1
  95. package/lib/components/DropdownMenu/Trigger/Trigger.svelte.d.ts +0 -1
  96. package/lib/components/Field/Content/Content.svelte.d.ts +0 -1
  97. package/lib/components/Field/Description/Description.svelte.d.ts +0 -1
  98. package/lib/components/Field/Field.svelte.d.ts +0 -1
  99. package/lib/components/Field/FieldError/FieldError.svelte.d.ts +0 -1
  100. package/lib/components/Field/FieldSet/FieldSet.svelte.d.ts +0 -1
  101. package/lib/components/Field/Group/Group.svelte.d.ts +0 -1
  102. package/lib/components/Field/Label/Label.svelte.d.ts +0 -1
  103. package/lib/components/Field/Legend/Legend.svelte.d.ts +0 -1
  104. package/lib/components/Field/Separator/Separator.svelte.d.ts +0 -1
  105. package/lib/components/Field/Title/Title.svelte.d.ts +0 -1
  106. package/lib/components/Input/Input.svelte.d.ts +0 -1
  107. package/lib/components/Label/Label.svelte.d.ts +0 -1
  108. package/lib/components/Placeholder/Image/Image.svelte.d.ts +0 -1
  109. package/lib/components/Placeholder/Placeholder.svelte.d.ts +0 -1
  110. package/lib/components/Select/Content/Content.svelte.d.ts +0 -1
  111. package/lib/components/Select/Group/Group.svelte.d.ts +0 -1
  112. package/lib/components/Select/GroupHeading/GroupHeading.svelte.d.ts +0 -1
  113. package/lib/components/Select/Item/Item.svelte.d.ts +0 -1
  114. package/lib/components/Select/Label/Label.svelte.d.ts +0 -1
  115. package/lib/components/Select/Portal/Portal.svelte.d.ts +0 -1
  116. package/lib/components/Select/ScrollDownButton/ScrollDownButton.svelte.d.ts +0 -1
  117. package/lib/components/Select/ScrollUpButton/ScrollUpButton.svelte.d.ts +0 -1
  118. package/lib/components/Select/Select.svelte.d.ts +0 -1
  119. package/lib/components/Select/Separator/Separator.svelte.d.ts +0 -1
  120. package/lib/components/Select/Trigger/Trigger.svelte.d.ts +0 -1
  121. package/lib/components/Separator/Separator.svelte.d.ts +0 -1
  122. package/lib/components/Tooltip/Content/Content.svelte.d.ts +0 -1
  123. package/lib/components/Tooltip/Portal/Portal.svelte.d.ts +0 -1
  124. package/lib/components/Tooltip/Provider/Provider.svelte.d.ts +0 -1
  125. package/lib/components/Tooltip/Tooltip.svelte.d.ts +0 -1
  126. package/lib/components/Tooltip/Trigger/Trigger.svelte.d.ts +0 -1
  127. package/lib/components/Typography/Typography.svelte.d.ts +0 -1
  128. package/lib/index.css +0 -1
@@ -1,7 +1,7 @@
1
1
  declare const Accordion: {
2
- Trigger: import('svelte/legacy').LegacyComponentType;
3
- Item: import('svelte/legacy').LegacyComponentType;
4
- Content: import('svelte/legacy').LegacyComponentType;
5
- Root: import('svelte/legacy').LegacyComponentType;
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 { ButtonSize, ButtonVariant } from './types';
1
+ import type { ButtonSize, ButtonVariant } from './types';
2
2
  export declare const buttonVariants: Record<ButtonVariant, string>;
3
3
  declare const _default: {
4
4
  buttonSizes: Record<ButtonSize, string>;
@@ -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 { default as Root } from './Checkbox.svelte';
1
+ import Root from './Checkbox.svelte';
2
2
  export { Root as Checkbox, Root, };
@@ -1,3 +1,3 @@
1
- import { default as CircularProgress } from './CircularProgress.svelte';
1
+ import CircularProgress from './CircularProgress.svelte';
2
2
  export type { CircularProgressProps } from './types';
3
3
  export { CircularProgress };
@@ -1,3 +1,3 @@
1
- import { default as Body } from './Body.svelte';
1
+ import Body from './Body.svelte';
2
2
  export type { BodyProps } from './types';
3
3
  export { Body };
@@ -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,3 +1,3 @@
1
- import { default as Cell } from './Cell.svelte';
1
+ import Cell from './Cell.svelte';
2
2
  export type { CellProps } from './types';
3
3
  export { Cell };
@@ -1,4 +1,4 @@
1
- import { DataGridColumn } from '../types';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type CellProps<TRow> = {
3
3
  row: TRow;
4
4
  column: DataGridColumn<TRow>;
@@ -1,2 +1,2 @@
1
- import { default as Footer } from './Footer.svelte';
1
+ import Footer from './Footer.svelte';
2
2
  export { Footer };
@@ -1,3 +1,3 @@
1
- import { default as Header } from './Header.svelte';
1
+ import Header from './Header.svelte';
2
2
  export { Header };
3
3
  export type { HeaderProps } from './types';
@@ -1,4 +1,4 @@
1
- import { DataGridColumn } from '../types';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type HeaderProps<TRow> = {
3
3
  columns: DataGridColumn<TRow>[];
4
4
  height: string | number;
@@ -1,3 +1,3 @@
1
- import { default as HeaderCell } from './HeaderCell.svelte';
1
+ import HeaderCell from './HeaderCell.svelte';
2
2
  export type { HeaderCellProps } from './types';
3
3
  export { HeaderCell };
@@ -1,4 +1,4 @@
1
- import { DataGridColumn } from '../types';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type HeaderCellProps<T> = {
3
3
  column: DataGridColumn<T>;
4
4
  height?: string | number;
@@ -1,3 +1,3 @@
1
- import { default as Row } from './Row.svelte';
1
+ import Row from './Row.svelte';
2
2
  export type { RowProps } from './types';
3
3
  export { Row };
@@ -1,4 +1,4 @@
1
- import { DataGridColumn } from '../types';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type RowProps<TRow> = {
3
3
  row: TRow;
4
4
  columns: DataGridColumn<TRow>[];
@@ -1,3 +1,3 @@
1
- import { default as State } from './State.svelte';
1
+ import State from './State.svelte';
2
2
  export type { StateProps } from './types';
3
3
  export { State };
@@ -1,4 +1,4 @@
1
- import { DataGridState } from '../types';
1
+ import type { DataGridState } from '../types';
2
2
  export type StateProps = {
3
3
  isLoading?: boolean;
4
4
  isEmpty?: boolean;
@@ -1,4 +1,4 @@
1
- import { Snippet } from 'svelte';
1
+ import type { Snippet } from 'svelte';
2
2
  export type DataGridColumn<TRow> = {
3
3
  title: string;
4
4
  field?: keyof TRow;
@@ -1,4 +1,4 @@
1
- import { DataGridColumn } from '../DataGrid/types';
1
+ import type { DataGridColumn } from '../DataGrid/types';
2
2
  export type DataGridSorting<TData> = {
3
3
  key: keyof TData;
4
4
  order: 'asc' | 'desc';
@@ -1,20 +1,20 @@
1
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;
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('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;
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('./types').FieldOrientation, string>;
1
+ export declare const fieldVariants: Record<import("./types").FieldOrientation, string>;
2
2
  declare const _default: {
3
- fieldVariants: Record<import('./types').FieldOrientation, string>;
3
+ fieldVariants: Record<import("./types").FieldOrientation, string>;
4
4
  };
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
- import { ComplexStyleRule } from '../../styles';
1
+ import type { ComplexStyleRule } from '../../styles/index.ts';
2
2
  export type FieldOrientation = 'vertical' | 'horizontal' | 'responsive';
3
3
  export type FieldVariants = Record<FieldOrientation, ComplexStyleRule>;
@@ -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
- import { default as Label } from './Label.svelte';
2
- export { Label };
1
+ export { default as Label } from './Label.svelte';
@@ -1,3 +1,3 @@
1
- import { default as Image } from './Image.svelte';
2
- import { ImageProps } from './types';
1
+ import Image from './Image.svelte';
2
+ import type { ImageProps } from './types';
3
3
  export { Image, type ImageProps };
@@ -1,4 +1,4 @@
1
- import { PlaceholderSize } from '../types';
1
+ import type { PlaceholderSize } from '../types';
2
2
  declare const _default: {
3
3
  wrapper: string;
4
4
  sizes: Record<PlaceholderSize, string>;
@@ -1,4 +1,4 @@
1
- import { PlaceholderSize } from '../types';
1
+ import type { PlaceholderSize } from '../types';
2
2
  export type ImageProps = {
3
3
  class?: string;
4
4
  size?: PlaceholderSize;
@@ -1,4 +1,4 @@
1
- import { PlaceholderSize } from './types';
1
+ import type { PlaceholderSize } from './types';
2
2
  export declare const SIZE: Record<PlaceholderSize, PlaceholderSize>;
3
3
  export declare const IMAGE_WIDTH: {
4
4
  [SIZE.small]: string;
@@ -1,3 +1,2 @@
1
- import { default as Placeholder } from './Placeholder.svelte';
1
+ export { default as Placeholder } from './Placeholder.svelte';
2
2
  export type { PlaceholderProps, PlaceholderSize } from './types';
3
- export { Placeholder };
@@ -1,4 +1,4 @@
1
- import { PlaceholderSize } from './types';
1
+ import type { PlaceholderSize } from './types';
2
2
  declare const _default: {
3
3
  wrapper: string;
4
4
  sizes: Record<PlaceholderSize, string>;
@@ -1,5 +1,5 @@
1
- import { Snippet } from 'svelte';
2
1
  export type PlaceholderSize = 'small' | 'medium' | 'large';
2
+ import type { Snippet } from 'svelte';
3
3
  export type PlaceholderProps = {
4
4
  /** Название класса, применяется к корневому компоненту */
5
5
  class?: string;
@@ -1,14 +1,14 @@
1
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;
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 { default as Portal } from './Portal.svelte';
1
+ import Portal from './Portal.svelte';
2
2
  export { Portal };
@@ -1,2 +1,2 @@
1
- import { default as Provider } from './Provider.svelte';
1
+ import Provider from './Provider.svelte';
2
2
  export { Provider };
@@ -1,5 +1,5 @@
1
- import { Tooltip } from 'bits-ui';
2
- import { Snippet } from 'svelte';
1
+ import type { Tooltip } from 'bits-ui';
2
+ import type { Snippet } from 'svelte';
3
3
  export type TooltipProps = Tooltip.RootProps & {
4
4
  content?: Snippet<[]> | string;
5
5
  arrow?: boolean;
@@ -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 * from './Accordion';
2
- export * from './Button';
3
- export * from './Calendar';
4
- export * from './Checkbox';
5
- export * from './CircularProgress';
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 * 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';
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';