@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.
Files changed (175) hide show
  1. package/dist/components/Accordion/Trigger/Trigger.svelte.d.ts +1 -1
  2. package/dist/components/Alert/Alert.svelte.d.ts +2 -2
  3. package/dist/components/Alert/Description/Description.svelte.d.ts +1 -1
  4. package/dist/components/Alert/Title/Title.svelte.d.ts +1 -1
  5. package/dist/components/Alert/index.d.ts +5 -5
  6. package/dist/components/Alert/styles.css.d.ts +1 -1
  7. package/dist/components/Badge/Badge.svelte.d.ts +1 -1
  8. package/dist/components/Badge/index.d.ts +2 -2
  9. package/dist/components/Badge/styles.css.d.ts +1 -1
  10. package/dist/components/Badge/types.d.ts +1 -1
  11. package/dist/components/Button/Button.svelte.d.ts +1 -1
  12. package/dist/components/Button/index.d.ts +2 -2
  13. package/dist/components/Button/styles.css.d.ts +1 -1
  14. package/dist/components/ButtonGroup/ButtonGroup.svelte.d.ts +1 -1
  15. package/dist/components/ButtonGroup/Separator/Separator.svelte.d.ts +1 -1
  16. package/dist/components/ButtonGroup/Text/Text.svelte.d.ts +1 -1
  17. package/dist/components/ButtonGroup/index.d.ts +2 -2
  18. package/dist/components/ButtonGroup/styles.css.d.ts +1 -1
  19. package/dist/components/ButtonGroup/types.d.ts +1 -1
  20. package/dist/components/Calendar/Calendar.svelte.d.ts +1 -1
  21. package/dist/components/Calendar/Caption/Caption.svelte.d.ts +2 -2
  22. package/dist/components/Calendar/Month/Month.svelte.d.ts +1 -1
  23. package/dist/components/Calendar/Months/Months.svelte.d.ts +1 -1
  24. package/dist/components/Calendar/Nav/Nav.svelte.d.ts +1 -1
  25. package/dist/components/Calendar/NextButton/NextButton.svelte.d.ts +1 -1
  26. package/dist/components/Calendar/PrevButton/PrevButton.svelte.d.ts +1 -1
  27. package/dist/components/Calendar/index.d.ts +1 -1
  28. package/dist/components/Calendar/types.d.ts +2 -2
  29. package/dist/components/Card/Action/Action.svelte.d.ts +1 -1
  30. package/dist/components/Card/Card.svelte.d.ts +1 -1
  31. package/dist/components/Card/Content/Content.svelte.d.ts +1 -1
  32. package/dist/components/Card/Description/Description.svelte.d.ts +1 -1
  33. package/dist/components/Card/Footer/Footer.svelte.d.ts +1 -1
  34. package/dist/components/Card/Header/Header.svelte.d.ts +1 -1
  35. package/dist/components/Card/Title/Title.svelte.d.ts +1 -1
  36. package/dist/components/Card/index.d.ts +8 -8
  37. package/dist/components/Carousel/Carousel.svelte.d.ts +1 -1
  38. package/dist/components/Carousel/Content/Content.svelte.d.ts +1 -1
  39. package/dist/components/Carousel/Item/Item.svelte.d.ts +1 -1
  40. package/dist/components/Carousel/context.d.ts +1 -1
  41. package/dist/components/Carousel/index.d.ts +4 -4
  42. package/dist/components/Carousel/types.d.ts +1 -1
  43. package/dist/components/CircularProgress/CircularProgress.svelte.d.ts +1 -1
  44. package/dist/components/CircularProgress/index.d.ts +1 -1
  45. package/dist/components/ContentState/ContentState.svelte.d.ts +1 -1
  46. package/dist/components/ContentState/index.d.ts +1 -1
  47. package/dist/components/ContentState/types.d.ts +1 -1
  48. package/dist/components/DataGrid/Body/Body.svelte.d.ts +1 -1
  49. package/dist/components/DataGrid/Body/index.d.ts +1 -1
  50. package/dist/components/DataGrid/Body/types.d.ts +1 -1
  51. package/dist/components/DataGrid/Cell/Cell.svelte.d.ts +1 -1
  52. package/dist/components/DataGrid/Cell/index.d.ts +1 -1
  53. package/dist/components/DataGrid/Cell/types.d.ts +1 -1
  54. package/dist/components/DataGrid/DataGrid.svelte.d.ts +1 -1
  55. package/dist/components/DataGrid/Header/Header.svelte.d.ts +1 -1
  56. package/dist/components/DataGrid/Header/index.d.ts +1 -1
  57. package/dist/components/DataGrid/Header/types.d.ts +1 -1
  58. package/dist/components/DataGrid/HeaderCell/HeaderCell.svelte.d.ts +1 -1
  59. package/dist/components/DataGrid/HeaderCell/index.d.ts +1 -1
  60. package/dist/components/DataGrid/HeaderCell/types.d.ts +1 -1
  61. package/dist/components/DataGrid/Row/Row.svelte.d.ts +1 -1
  62. package/dist/components/DataGrid/Row/index.d.ts +1 -1
  63. package/dist/components/DataGrid/Row/types.d.ts +1 -1
  64. package/dist/components/DataGrid/State/State.svelte.d.ts +1 -1
  65. package/dist/components/DataGrid/State/index.d.ts +1 -1
  66. package/dist/components/DataGrid/State/types.d.ts +1 -1
  67. package/dist/components/DataGrid/index.d.ts +1 -1
  68. package/dist/components/DataGridSortHeader/DataGridSortHeader.svelte.d.ts +1 -1
  69. package/dist/components/DataGridSortHeader/index.d.ts +1 -1
  70. package/dist/components/DataGridSortHeader/types.d.ts +1 -1
  71. package/dist/components/DropdownMenu/CheckboxItem/CheckboxItem.svelte.d.ts +1 -1
  72. package/dist/components/DropdownMenu/Content/Content.svelte.d.ts +2 -2
  73. package/dist/components/DropdownMenu/Label/Label.svelte.d.ts +1 -1
  74. package/dist/components/DropdownMenu/Shortcut/Shortcut.svelte.d.ts +1 -1
  75. package/dist/components/DropdownMenu/index.d.ts +17 -17
  76. package/dist/components/Empty/Content/Content.svelte.d.ts +1 -1
  77. package/dist/components/Empty/Description/Description.svelte.d.ts +1 -1
  78. package/dist/components/Empty/Empty.svelte.d.ts +1 -1
  79. package/dist/components/Empty/Header/Header.svelte.d.ts +1 -1
  80. package/dist/components/Empty/Media/Media.svelte.d.ts +1 -1
  81. package/dist/components/Empty/Title/Title.svelte.d.ts +1 -1
  82. package/dist/components/Empty/index.d.ts +7 -7
  83. package/dist/components/Empty/styles.css.d.ts +1 -1
  84. package/dist/components/Empty/types.d.ts +1 -1
  85. package/dist/components/Field/Content/Content.svelte.d.ts +1 -1
  86. package/dist/components/Field/Description/Description.svelte.d.ts +1 -1
  87. package/dist/components/Field/Field.svelte.d.ts +2 -2
  88. package/dist/components/Field/FieldError/FieldError.svelte.d.ts +1 -1
  89. package/dist/components/Field/FieldSet/FieldSet.svelte.d.ts +1 -1
  90. package/dist/components/Field/Group/Group.svelte.d.ts +1 -1
  91. package/dist/components/Field/Label/Label.svelte.d.ts +1 -1
  92. package/dist/components/Field/Legend/Legend.svelte.d.ts +1 -1
  93. package/dist/components/Field/Separator/Separator.svelte.d.ts +2 -2
  94. package/dist/components/Field/Title/Title.svelte.d.ts +1 -1
  95. package/dist/components/Field/index.d.ts +7 -7
  96. package/dist/components/Field/styles.css.d.ts +2 -2
  97. package/dist/components/Input/Input.svelte.d.ts +1 -1
  98. package/dist/components/Input/index.d.ts +1 -1
  99. package/dist/components/Input/types.d.ts +1 -1
  100. package/dist/components/Item/Actions/Actions.svelte.d.ts +1 -1
  101. package/dist/components/Item/Content/Content.svelte.d.ts +1 -1
  102. package/dist/components/Item/Description/Description.svelte.d.ts +1 -1
  103. package/dist/components/Item/Footer/Footer.svelte.d.ts +1 -1
  104. package/dist/components/Item/Group/Group.svelte.d.ts +1 -1
  105. package/dist/components/Item/Header/Header.svelte.d.ts +1 -1
  106. package/dist/components/Item/Item.svelte.d.ts +1 -1
  107. package/dist/components/Item/Media/Media.svelte.d.ts +1 -1
  108. package/dist/components/Item/Separator/Separator.svelte.d.ts +1 -1
  109. package/dist/components/Item/Title/Title.svelte.d.ts +1 -1
  110. package/dist/components/Item/index.d.ts +10 -10
  111. package/dist/components/Item/styles.css.d.ts +1 -1
  112. package/dist/components/Item/types.d.ts +1 -1
  113. package/dist/components/Placeholder/Image/Image.svelte.d.ts +1 -1
  114. package/dist/components/Placeholder/Image/index.d.ts +1 -1
  115. package/dist/components/Placeholder/Image/styles.css.d.ts +1 -1
  116. package/dist/components/Placeholder/Image/types.d.ts +1 -1
  117. package/dist/components/Placeholder/Placeholder.js +1 -1
  118. package/dist/components/Placeholder/Placeholder.svelte.d.ts +1 -1
  119. package/dist/components/Placeholder/constants.d.ts +1 -1
  120. package/dist/components/Placeholder/index.d.ts +1 -1
  121. package/dist/components/Placeholder/styles.css.d.ts +1 -1
  122. package/dist/components/Popover/Content/PopoverContent.svelte.d.ts +1 -1
  123. package/dist/components/Popover/index.d.ts +2 -2
  124. package/dist/components/Popover/types.d.ts +1 -1
  125. package/dist/components/RangeInput/RangeInput.svelte.d.ts +1 -1
  126. package/dist/components/RangeInput/index.d.ts +1 -1
  127. package/dist/components/RangeInput/types.d.ts +1 -1
  128. package/dist/components/Select/Content/Content.svelte.d.ts +2 -2
  129. package/dist/components/Select/Label/Label.svelte.d.ts +1 -1
  130. package/dist/components/Select/Separator/Separator.js +2 -1
  131. package/dist/components/Select/Separator/Separator.svelte.d.ts +1 -1
  132. package/dist/components/Select/Trigger/Trigger.svelte.d.ts +1 -1
  133. package/dist/components/Select/index.d.ts +3 -3
  134. package/dist/components/Separator/index.d.ts +1 -1
  135. package/dist/components/Slider/Slider.svelte.d.ts +1 -1
  136. package/dist/components/Slider/index.d.ts +1 -1
  137. package/dist/components/Slider/styles.css.d.ts +1 -1
  138. package/dist/components/Slider/types.d.ts +1 -1
  139. package/dist/components/Spinner/Spinner.svelte.d.ts +1 -1
  140. package/dist/components/Spinner/index.d.ts +2 -2
  141. package/dist/components/Tabs/index.d.ts +1 -1
  142. package/dist/components/Tooltip/Content/Content.svelte.d.ts +2 -2
  143. package/dist/components/Tooltip/Tooltip.svelte.d.ts +1 -1
  144. package/dist/components/Tooltip/index.d.ts +1 -1
  145. package/dist/components/Typography/Typography.svelte.d.ts +1 -1
  146. package/dist/components/Typography/index.d.ts +1 -1
  147. package/dist/components/Typography/styles.css.d.ts +1 -1
  148. package/dist/components/index.d.ts +30 -30
  149. package/dist/components.d.ts +65 -0
  150. package/dist/components.js +33 -0
  151. package/dist/stories/Accordion.stories.svelte.d.ts +1 -1
  152. package/dist/stories/Alert.stories.svelte.d.ts +1 -1
  153. package/dist/stories/Badge.stories.svelte.d.ts +1 -1
  154. package/dist/stories/ButtonGroup.stories.svelte.d.ts +1 -1
  155. package/dist/stories/Calendar.stories.svelte.d.ts +1 -1
  156. package/dist/stories/Card.stories.svelte.d.ts +1 -1
  157. package/dist/stories/Carousel.stories.svelte.d.ts +1 -1
  158. package/dist/stories/CircularProgress.stories.svelte.d.ts +1 -1
  159. package/dist/stories/DataGrid.stories.svelte.d.ts +1 -1
  160. package/dist/stories/DropdownMenu.stories.svelte.d.ts +1 -1
  161. package/dist/stories/Empty.stories.svelte.d.ts +1 -1
  162. package/dist/stories/Field.stories.svelte.d.ts +1 -1
  163. package/dist/stories/Input.stories.svelte.d.ts +1 -1
  164. package/dist/stories/Item.stories.svelte.d.ts +1 -1
  165. package/dist/stories/Label.stories.svelte.d.ts +1 -1
  166. package/dist/stories/Popover.stories.svelte.d.ts +1 -1
  167. package/dist/stories/RangeInput.stories.svelte.d.ts +1 -1
  168. package/dist/stories/Select.stories.svelte.d.ts +1 -1
  169. package/dist/stories/Slider.stories.svelte.d.ts +1 -1
  170. package/dist/stories/Tabs.stories.svelte.d.ts +1 -1
  171. package/dist/stories/Tooltip.stories.svelte.d.ts +1 -1
  172. package/dist/stories/Typography.stories.svelte.d.ts +1 -1
  173. package/dist/utils.d.ts +1 -1
  174. package/package.json +6 -4
  175. 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 '../../../types.js';
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 '../../types.js';
3
- import type { AlertVariant } from './types.js';
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 '../../../types.js';
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 '../../../types.js';
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.js';
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.js").AlertVariant;
6
+ variant?: import("./types").AlertVariant;
7
7
  }, {}, "ref">;
8
- Title: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
9
- Description: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
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.js';
12
+ export type * from './types';
@@ -1,2 +1,2 @@
1
- import type { AlertVariant } from './types.js';
1
+ import type { AlertVariant } from './types';
2
2
  export declare const alertVariants: Record<AlertVariant, string>;
@@ -1,4 +1,4 @@
1
- import type { BadgeProps } from './types.js';
1
+ import type { BadgeProps } from './types';
2
2
  declare const Badge: import("svelte").Component<BadgeProps, {}, "ref">;
3
3
  type Badge = ReturnType<typeof Badge>;
4
4
  export default Badge;
@@ -1,3 +1,3 @@
1
1
  export { default as Badge } from './Badge.svelte';
2
- export { badgeVariants } from './styles.css.js';
3
- export type * from './types.js';
2
+ export { badgeVariants } from './styles.css';
3
+ export type * from './types';
@@ -1,4 +1,4 @@
1
- import type { BadgeVariant } from './types.js';
1
+ import type { BadgeVariant } from './types';
2
2
  export declare const badge: string;
3
3
  export declare const badgeVariants: Record<BadgeVariant, string>;
4
4
  declare const _default: {
@@ -1,4 +1,4 @@
1
- import type { WithElementRef } from '../../types.js';
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,4 +1,4 @@
1
- import type { ButtonProps } from './types.js';
1
+ import type { ButtonProps } from './types';
2
2
  declare const Button: import("svelte").Component<ButtonProps, {}, "ref">;
3
3
  type Button = ReturnType<typeof Button>;
4
4
  export default Button;
@@ -1,3 +1,3 @@
1
1
  export { default as Button } from './Button.svelte';
2
- export { buttonVariants } from './styles.css.js';
3
- export type { ButtonSize, ButtonVariant } from './types.js';
2
+ export { buttonVariants } from './styles.css';
3
+ export type { ButtonSize, ButtonVariant } from './types';
@@ -1,4 +1,4 @@
1
- import type { ButtonSize, ButtonVariant } from './types.js';
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 type { ButtonGroupProps } from './types.js';
1
+ import type { ButtonGroupProps } from './types';
2
2
  declare const ButtonGroup: import("svelte").Component<ButtonGroupProps, {}, "ref">;
3
3
  type ButtonGroup = ReturnType<typeof ButtonGroup>;
4
4
  export default ButtonGroup;
@@ -1,4 +1,4 @@
1
- import { Separator } from '../../Separator/index.js';
1
+ import { Separator } from '../../Separator';
2
2
  declare const Separator: any;
3
3
  type Separator = ReturnType<typeof Separator>;
4
4
  export default Separator;
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes } from 'svelte/elements';
2
2
  import type { Snippet } from 'svelte';
3
- import type { WithElementRef } from '../../../types.js';
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.js").ButtonGroupProps, {}, "ref">;
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.js';
12
+ export type * from './types';
@@ -1,4 +1,4 @@
1
- import type { ButtonGroupOrientation } from './types.js';
1
+ import type { ButtonGroupOrientation } from './types';
2
2
  export declare const container: string;
3
3
  export declare const orientation: Record<ButtonGroupOrientation, string>;
4
4
  declare const _default: {
@@ -1,4 +1,4 @@
1
- import type { WithElementRef } from '../../types.js';
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.js';
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/index.js';
5
- import { YearSelect } from '../YearSelect/index.js';
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 '../../../types.js';
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 '../../../types.js';
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 '../../../types.js';
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,5 +1,5 @@
1
1
  import { Calendar as CalendarPrimitive } from 'bits-ui';
2
- import { type ButtonVariant } from '../../Button/index.js';
2
+ import { type ButtonVariant } from '../../Button';
3
3
  type $$ComponentProps = CalendarPrimitive.NextButtonProps & {
4
4
  variant?: ButtonVariant;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Calendar as CalendarPrimitive } from 'bits-ui';
2
- import { type ButtonVariant } from '../../Button/index.js';
2
+ import { type ButtonVariant } from '../../Button';
3
3
  type $$ComponentProps = CalendarPrimitive.PrevButtonProps & {
4
4
  variant?: ButtonVariant;
5
5
  };
@@ -1,2 +1,2 @@
1
1
  export { default as Calendar } from './Calendar.svelte';
2
- export * from './types.js';
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 '../../types.js';
5
- import type { ButtonVariant } from '../Button/types.js';
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 '../../../types.js';
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 '../../types.js';
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 '../../../types.js';
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 '../../../types.js';
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 '../../../types.js';
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 '../../../types.js';
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 '../../../types.js';
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.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
3
- Header: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
4
- Title: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
5
- Description: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLParagraphElement>>, {}, "ref">;
6
- Content: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
7
- Footer: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
8
- Action: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
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.js';
11
+ export type * from './types';
@@ -1,4 +1,4 @@
1
- import { type CarouselProps } from './types.js';
1
+ import { type CarouselProps } from './types';
2
2
  declare const Carousel: import("svelte").Component<CarouselProps, {}, "ref">;
3
3
  type Carousel = ReturnType<typeof Carousel>;
4
4
  export default Carousel;
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes } from 'svelte/elements';
2
- import type { WithElementRef } from '../../../types.js';
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 '../../../types.js';
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,3 +1,3 @@
1
- import type { EmblaContext } from './types.js';
1
+ import type { EmblaContext } from './types';
2
2
  export declare function setEmblaContext(config: EmblaContext): EmblaContext;
3
3
  export declare function getEmblaContext(name?: string): EmblaContext;
@@ -1,8 +1,8 @@
1
1
  export declare const Carousel: {
2
- Root: import("svelte").Component<import("./types.js").CarouselProps, {}, "ref">;
3
- Content: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
4
- Item: import("svelte").Component<import("../../types.js").WithElementRef<import("svelte/elements").HTMLAttributes<HTMLDivElement>>, {}, "ref">;
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.js';
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 '../../types.js';
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.js';
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,3 +1,3 @@
1
1
  import CircularProgress from './CircularProgress.svelte';
2
- export type { CircularProgressProps } from './types.js';
2
+ export type { CircularProgressProps } from './types';
3
3
  export { CircularProgress };
@@ -1,4 +1,4 @@
1
- import type { ContentStateProps } from './types.js';
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.js';
2
+ export * from './types';
@@ -1,5 +1,5 @@
1
1
  import type { Snippet } from 'svelte';
2
- import type { PlaceholderProps } from '../Placeholder/index.js';
2
+ import type { PlaceholderProps } from '../Placeholder';
3
3
  export type ContentStateProps = {
4
4
  /**
5
5
  * Флаг состояния загрузки
@@ -1,4 +1,4 @@
1
- import type { BodyProps } from './types.js';
1
+ import type { BodyProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: BodyProps<TRow>;
4
4
  exports: {};
@@ -1,3 +1,3 @@
1
1
  import Body from './Body.svelte';
2
- export type { BodyProps } from './types.js';
2
+ export type { BodyProps } from './types';
3
3
  export { Body };
@@ -1,4 +1,4 @@
1
- import type { DataGridProps } from '../types.js';
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,4 +1,4 @@
1
- import type { CellProps } from './types.js';
1
+ import type { CellProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: CellProps<TRow>;
4
4
  exports: {};
@@ -1,3 +1,3 @@
1
1
  import Cell from './Cell.svelte';
2
- export type { CellProps } from './types.js';
2
+ export type { CellProps } from './types';
3
3
  export { Cell };
@@ -1,4 +1,4 @@
1
- import type { DataGridColumn } from '../types.js';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type CellProps<TRow> = {
3
3
  row: TRow;
4
4
  column: DataGridColumn<TRow>;
@@ -1,4 +1,4 @@
1
- import type { DataGridProps } from './types.js';
1
+ import type { DataGridProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: DataGridProps<TRow>;
4
4
  exports: {};
@@ -1,4 +1,4 @@
1
- import type { HeaderProps } from './types.js';
1
+ import type { HeaderProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: HeaderProps<TRow>;
4
4
  exports: {};
@@ -1,3 +1,3 @@
1
1
  import Header from './Header.svelte';
2
2
  export { Header };
3
- export type { HeaderProps } from './types.js';
3
+ export type { HeaderProps } from './types';
@@ -1,4 +1,4 @@
1
- import type { DataGridColumn } from '../types.js';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type HeaderProps<TRow> = {
3
3
  columns: DataGridColumn<TRow>[];
4
4
  height: string | number;
@@ -1,4 +1,4 @@
1
- import type { HeaderCellProps } from './types.js';
1
+ import type { HeaderCellProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: HeaderCellProps<TRow>;
4
4
  exports: {};
@@ -1,3 +1,3 @@
1
1
  import HeaderCell from './HeaderCell.svelte';
2
- export type { HeaderCellProps } from './types.js';
2
+ export type { HeaderCellProps } from './types';
3
3
  export { HeaderCell };
@@ -1,4 +1,4 @@
1
- import type { DataGridColumn } from '../types.js';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type HeaderCellProps<T> = {
3
3
  column: DataGridColumn<T>;
4
4
  height?: string | number;
@@ -1,4 +1,4 @@
1
- import type { RowProps } from './types.js';
1
+ import type { RowProps } from './types';
2
2
  declare function $$render<TRow>(): {
3
3
  props: RowProps<TRow>;
4
4
  exports: {};
@@ -1,3 +1,3 @@
1
1
  import Row from './Row.svelte';
2
- export type { RowProps } from './types.js';
2
+ export type { RowProps } from './types';
3
3
  export { Row };
@@ -1,4 +1,4 @@
1
- import type { DataGridColumn } from '../types.js';
1
+ import type { DataGridColumn } from '../types';
2
2
  export type RowProps<TRow> = {
3
3
  row: TRow;
4
4
  columns: DataGridColumn<TRow>[];
@@ -1,4 +1,4 @@
1
- import type { StateProps } from './types.js';
1
+ import type { StateProps } from './types';
2
2
  declare const State: import("svelte").Component<StateProps, {}, "">;
3
3
  type State = ReturnType<typeof State>;
4
4
  export default State;
@@ -1,3 +1,3 @@
1
1
  import State from './State.svelte';
2
- export type { StateProps } from './types.js';
2
+ export type { StateProps } from './types';
3
3
  export { State };
@@ -1,4 +1,4 @@
1
- import type { DataGridState } from '../types.js';
1
+ import type { DataGridState } from '../types';
2
2
  export type StateProps = {
3
3
  isLoading?: boolean;
4
4
  isEmpty?: boolean;
@@ -1,2 +1,2 @@
1
1
  export { default as DataGrid } from './DataGrid.svelte';
2
- export type * from './types.js';
2
+ export type * from './types';
@@ -1,4 +1,4 @@
1
- import type { DataGridSortHeaderProps } from './types.js';
1
+ import type { DataGridSortHeaderProps } from './types';
2
2
  declare function $$render<TData>(): {
3
3
  props: DataGridSortHeaderProps<TData>;
4
4
  exports: {};
@@ -1,2 +1,2 @@
1
1
  export { default as DataGridSortHeader } from './DataGridSortHeader.svelte';
2
- export type * from './types.js';
2
+ export type * from './types';
@@ -1,4 +1,4 @@
1
- import type { DataGridColumn } from '../DataGrid/types.js';
1
+ import type { DataGridColumn } from '../DataGrid/types';
2
2
  export type DataGridSorting<TData> = {
3
3
  key: keyof TData;
4
4
  order: 'asc' | 'desc';
@@ -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 '../../../types.js';
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 '../../../types.js';
4
- import { Portal } from '../Portal/index.js';
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
  };