@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.
Files changed (179) hide show
  1. package/README.md +161 -0
  2. package/lib/components/Accordion/Content/index.d.ts +1 -0
  3. package/lib/components/Accordion/Content/styles.css.d.ts +5 -0
  4. package/lib/components/Accordion/Item/index.d.ts +1 -0
  5. package/lib/components/Accordion/Item/styles.css.d.ts +4 -0
  6. package/lib/components/Accordion/Trigger/index.d.ts +1 -0
  7. package/lib/components/Accordion/Trigger/styles.css.d.ts +6 -0
  8. package/lib/components/Accordion/index.d.ts +7 -0
  9. package/lib/components/Button/index.d.ts +3 -0
  10. package/lib/components/Button/styles.css.d.ts +9 -0
  11. package/lib/components/Button/types.d.ts +12 -0
  12. package/lib/components/Calendar/Caption/index.d.ts +1 -0
  13. package/lib/components/Calendar/Cell/index.d.ts +1 -0
  14. package/lib/components/Calendar/Cell/styles.css.d.ts +4 -0
  15. package/lib/components/Calendar/Day/index.d.ts +1 -0
  16. package/lib/components/Calendar/Day/styles.css.d.ts +4 -0
  17. package/lib/components/Calendar/Grid/index.d.ts +1 -0
  18. package/lib/components/Calendar/Grid/styles.css.d.ts +4 -0
  19. package/lib/components/Calendar/GridBody/index.d.ts +1 -0
  20. package/lib/components/Calendar/GridHead/index.d.ts +1 -0
  21. package/lib/components/Calendar/GridRow/index.d.ts +1 -0
  22. package/lib/components/Calendar/GridRow/styles.css.d.ts +4 -0
  23. package/lib/components/Calendar/HeadCell/index.d.ts +1 -0
  24. package/lib/components/Calendar/HeadCell/styles.css.d.ts +4 -0
  25. package/lib/components/Calendar/Header/index.d.ts +1 -0
  26. package/lib/components/Calendar/Header/styles.css.d.ts +4 -0
  27. package/lib/components/Calendar/Heading/index.d.ts +1 -0
  28. package/lib/components/Calendar/Heading/styles.css.d.ts +4 -0
  29. package/lib/components/Calendar/Month/index.d.ts +1 -0
  30. package/lib/components/Calendar/MonthSelect/index.d.ts +1 -0
  31. package/lib/components/Calendar/MonthSelect/styles.css.d.ts +6 -0
  32. package/lib/components/Calendar/Months/index.d.ts +1 -0
  33. package/lib/components/Calendar/Months/styles.css.d.ts +4 -0
  34. package/lib/components/Calendar/Nav/index.d.ts +1 -0
  35. package/lib/components/Calendar/Nav/styles.css.d.ts +4 -0
  36. package/lib/components/Calendar/NextButton/index.d.ts +1 -0
  37. package/lib/components/Calendar/NextButton/styles.css.d.ts +4 -0
  38. package/lib/components/Calendar/PrevButton/index.d.ts +1 -0
  39. package/lib/components/Calendar/PrevButton/styles.css.d.ts +4 -0
  40. package/lib/components/Calendar/YearSelect/index.d.ts +1 -0
  41. package/lib/components/Calendar/YearSelect/styles.css.d.ts +6 -0
  42. package/lib/components/Calendar/index.d.ts +1 -0
  43. package/lib/components/Calendar/styles.css.d.ts +6 -0
  44. package/lib/components/Checkbox/index.d.ts +2 -0
  45. package/lib/components/Checkbox/styles.css.d.ts +5 -0
  46. package/lib/components/CircularProgress/index.d.ts +3 -0
  47. package/lib/components/CircularProgress/styles.css.d.ts +9 -0
  48. package/lib/components/CircularProgress/types.d.ts +8 -0
  49. package/lib/components/DataGrid/Body/index.d.ts +3 -0
  50. package/lib/components/DataGrid/Body/styles.css.d.ts +4 -0
  51. package/lib/components/DataGrid/Body/types.d.ts +4 -0
  52. package/lib/components/DataGrid/Cell/index.d.ts +3 -0
  53. package/lib/components/DataGrid/Cell/styles.css.d.ts +5 -0
  54. package/lib/components/DataGrid/Cell/types.d.ts +7 -0
  55. package/lib/components/DataGrid/Footer/index.d.ts +2 -0
  56. package/lib/components/DataGrid/Footer/styles.css.d.ts +4 -0
  57. package/lib/components/DataGrid/Header/index.d.ts +3 -0
  58. package/lib/components/DataGrid/Header/styles.css.d.ts +4 -0
  59. package/lib/components/DataGrid/Header/types.d.ts +6 -0
  60. package/lib/components/DataGrid/HeaderCell/index.d.ts +3 -0
  61. package/lib/components/DataGrid/HeaderCell/styles.css.d.ts +4 -0
  62. package/lib/components/DataGrid/HeaderCell/types.d.ts +6 -0
  63. package/lib/components/DataGrid/Row/index.d.ts +3 -0
  64. package/lib/components/DataGrid/Row/styles.css.d.ts +5 -0
  65. package/lib/components/DataGrid/Row/types.d.ts +9 -0
  66. package/lib/components/DataGrid/State/index.d.ts +3 -0
  67. package/lib/components/DataGrid/State/styles.css.d.ts +5 -0
  68. package/lib/components/DataGrid/State/types.d.ts +10 -0
  69. package/lib/components/DataGrid/constants.d.ts +1 -0
  70. package/lib/components/DataGrid/index.d.ts +2 -0
  71. package/lib/components/DataGrid/styles.css.d.ts +9 -0
  72. package/lib/components/DataGrid/types.d.ts +45 -0
  73. package/lib/components/DataGridSortHeader/index.d.ts +2 -0
  74. package/lib/components/DataGridSortHeader/styles.css.d.ts +7 -0
  75. package/lib/components/DataGridSortHeader/types.d.ts +11 -0
  76. package/lib/components/DropdownMenu/CheckboxGroup/index.d.ts +1 -0
  77. package/lib/components/DropdownMenu/CheckboxItem/index.d.ts +1 -0
  78. package/lib/components/DropdownMenu/CheckboxItem/styles.css.d.ts +6 -0
  79. package/lib/components/DropdownMenu/Content/index.d.ts +1 -0
  80. package/lib/components/DropdownMenu/Content/styles.css.d.ts +4 -0
  81. package/lib/components/DropdownMenu/Group/index.d.ts +1 -0
  82. package/lib/components/DropdownMenu/GroupHeading/index.d.ts +1 -0
  83. package/lib/components/DropdownMenu/GroupHeading/styles.css.d.ts +4 -0
  84. package/lib/components/DropdownMenu/Item/index.d.ts +1 -0
  85. package/lib/components/DropdownMenu/Item/styles.css.d.ts +4 -0
  86. package/lib/components/DropdownMenu/Label/index.d.ts +1 -0
  87. package/lib/components/DropdownMenu/Label/styles.css.d.ts +1 -0
  88. package/lib/components/DropdownMenu/Portal/index.d.ts +1 -0
  89. package/lib/components/DropdownMenu/RadioGroup/index.d.ts +1 -0
  90. package/lib/components/DropdownMenu/RadioItem/index.d.ts +1 -0
  91. package/lib/components/DropdownMenu/RadioItem/styles.css.d.ts +6 -0
  92. package/lib/components/DropdownMenu/Separator/index.d.ts +1 -0
  93. package/lib/components/DropdownMenu/Separator/styles.css.d.ts +4 -0
  94. package/lib/components/DropdownMenu/Shortcut/index.d.ts +1 -0
  95. package/lib/components/DropdownMenu/Shortcut/styles.css.d.ts +4 -0
  96. package/lib/components/DropdownMenu/Sub/index.d.ts +1 -0
  97. package/lib/components/DropdownMenu/SubContent/index.d.ts +1 -0
  98. package/lib/components/DropdownMenu/SubContent/styles.css.d.ts +4 -0
  99. package/lib/components/DropdownMenu/SubTrigger/index.d.ts +1 -0
  100. package/lib/components/DropdownMenu/SubTrigger/styles.css.d.ts +5 -0
  101. package/lib/components/DropdownMenu/Trigger/index.d.ts +1 -0
  102. package/lib/components/DropdownMenu/index.d.ts +20 -0
  103. package/lib/components/Field/Content/index.d.ts +1 -0
  104. package/lib/components/Field/Content/styles.css.d.ts +4 -0
  105. package/lib/components/Field/Description/index.d.ts +1 -0
  106. package/lib/components/Field/Description/styles.css.d.ts +4 -0
  107. package/lib/components/Field/FieldError/index.d.ts +1 -0
  108. package/lib/components/Field/FieldError/styles.css.d.ts +4 -0
  109. package/lib/components/Field/FieldSet/index.d.ts +1 -0
  110. package/lib/components/Field/FieldSet/styles.css.d.ts +4 -0
  111. package/lib/components/Field/Group/index.d.ts +1 -0
  112. package/lib/components/Field/Group/styles.css.d.ts +4 -0
  113. package/lib/components/Field/Label/index.d.ts +1 -0
  114. package/lib/components/Field/Label/styles.css.d.ts +4 -0
  115. package/lib/components/Field/Legend/index.d.ts +1 -0
  116. package/lib/components/Field/Legend/styles.css.d.ts +4 -0
  117. package/lib/components/Field/Separator/index.d.ts +1 -0
  118. package/lib/components/Field/Separator/styles.css.d.ts +6 -0
  119. package/lib/components/Field/Title/index.d.ts +1 -0
  120. package/lib/components/Field/Title/styles.css.d.ts +4 -0
  121. package/lib/components/Field/index.d.ts +14 -0
  122. package/lib/components/Field/styles.css.d.ts +5 -0
  123. package/lib/components/Field/types.d.ts +3 -0
  124. package/lib/components/Input/index.d.ts +2 -0
  125. package/lib/components/Input/styles.css.d.ts +6 -0
  126. package/lib/components/Input/types.d.ts +12 -0
  127. package/lib/components/Label/index.d.ts +2 -0
  128. package/lib/components/Label/styles.css.d.ts +4 -0
  129. package/lib/components/Placeholder/Image/index.d.ts +3 -0
  130. package/lib/components/Placeholder/Image/styles.css.d.ts +6 -0
  131. package/lib/components/Placeholder/Image/types.d.ts +9 -0
  132. package/lib/components/Placeholder/constants.d.ts +22 -0
  133. package/lib/components/Placeholder/index.d.ts +3 -0
  134. package/lib/components/Placeholder/styles.css.d.ts +9 -0
  135. package/lib/components/Placeholder/types.d.ts +18 -0
  136. package/lib/components/Select/Content/index.d.ts +1 -0
  137. package/lib/components/Select/Content/styles.css.d.ts +5 -0
  138. package/lib/components/Select/Group/index.d.ts +1 -0
  139. package/lib/components/Select/GroupHeading/index.d.ts +1 -0
  140. package/lib/components/Select/GroupHeading/styles.css.d.ts +4 -0
  141. package/lib/components/Select/Item/index.d.ts +1 -0
  142. package/lib/components/Select/Item/styles.css.d.ts +5 -0
  143. package/lib/components/Select/Label/index.d.ts +1 -0
  144. package/lib/components/Select/Label/styles.css.d.ts +4 -0
  145. package/lib/components/Select/Portal/index.d.ts +1 -0
  146. package/lib/components/Select/ScrollDownButton/index.d.ts +1 -0
  147. package/lib/components/Select/ScrollDownButton/styles.css.d.ts +4 -0
  148. package/lib/components/Select/ScrollUpButton/index.d.ts +1 -0
  149. package/lib/components/Select/ScrollUpButton/styles.css.d.ts +5 -0
  150. package/lib/components/Select/Separator/index.d.ts +1 -0
  151. package/lib/components/Select/Separator/styles.css.d.ts +4 -0
  152. package/lib/components/Select/Trigger/index.d.ts +1 -0
  153. package/lib/components/Select/Trigger/styles.css.d.ts +5 -0
  154. package/lib/components/Select/index.d.ts +14 -0
  155. package/lib/components/Separator/index.d.ts +2 -0
  156. package/lib/components/Separator/styles.css.d.ts +4 -0
  157. package/lib/components/Separator/types.d.ts +2 -0
  158. package/lib/components/Tooltip/Content/index.d.ts +1 -0
  159. package/lib/components/Tooltip/Content/styles.css.d.ts +5 -0
  160. package/lib/components/Tooltip/Portal/index.d.ts +2 -0
  161. package/lib/components/Tooltip/Provider/index.d.ts +2 -0
  162. package/lib/components/Tooltip/Trigger/index.d.ts +1 -0
  163. package/lib/components/Tooltip/index.d.ts +2 -0
  164. package/lib/components/Tooltip/types.d.ts +11 -0
  165. package/lib/components/Typography/index.d.ts +4 -0
  166. package/lib/components/Typography/styles.css.d.ts +9 -0
  167. package/lib/components/Typography/types.d.ts +4 -0
  168. package/lib/components/index.d.ts +16 -0
  169. package/lib/index.d.ts +2 -0
  170. package/lib/index.js +1 -0
  171. package/lib/rslib-runtime.js +1 -0
  172. package/lib/styles/index.d.ts +5 -0
  173. package/lib/styles/reset.css.d.ts +1 -0
  174. package/lib/styles/theme.css.d.ts +85 -0
  175. package/lib/styles/types.d.ts +11 -0
  176. package/lib/styles/utils.d.ts +6 -0
  177. package/lib/styles.css +1 -0
  178. package/package.json +53 -0
  179. 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,6 @@
1
+ declare const _default: {
2
+ root: string;
3
+ iconWrapper: string;
4
+ unchecked: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Content } from './Content.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ content: string;
3
+ };
4
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Item } from './Item.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -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,6 @@
1
+ declare const _default: {
2
+ item: string;
3
+ indicator: string;
4
+ icon: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Separator } from './Separator.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ separator: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Shortcut } from './Shortcut.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ shortcut: string;
3
+ };
4
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: {
2
+ subContent: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as SubTrigger } from './SubTrigger.svelte';
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ subTrigger: string;
3
+ icon: string;
4
+ };
5
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: {
2
+ content: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Description } from './Description.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as FieldError } from './FieldError.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as FieldSet } from './FieldSet.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Group } from './Group.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Label } from './Label.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Legend } from './Legend.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Separator } from './Separator.svelte';
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ root: string;
3
+ separator: string;
4
+ content: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Title } from './Title.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ root: string;
3
+ };
4
+ export default _default;
@@ -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,5 @@
1
+ export declare const fieldVariants: Record<import("./types").FieldOrientation, string>;
2
+ declare const _default: {
3
+ fieldVariants: Record<import("./types").FieldOrientation, string>;
4
+ };
5
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import type { ComplexStyleRule } from '../../styles/index.ts';
2
+ export type FieldOrientation = 'vertical' | 'horizontal' | 'responsive';
3
+ export type FieldVariants = Record<FieldOrientation, ComplexStyleRule>;
@@ -0,0 +1,2 @@
1
+ export { default as Input } from './Input.svelte';
2
+ export type * from './types';
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ inputBase: string;
3
+ sizes: Record<"small" | "medium" | "large", string>;
4
+ fileInput: string;
5
+ };
6
+ export default _default;
@@ -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,2 @@
1
+ import Label from './Label.svelte';
2
+ export { Label };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ labelBase: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import Image from './Image.svelte';
2
+ import type { ImageProps } from './types';
3
+ export { Image, type ImageProps };
@@ -0,0 +1,6 @@
1
+ import type { PlaceholderSize } from '../types';
2
+ declare const _default: {
3
+ wrapper: string;
4
+ sizes: Record<PlaceholderSize, string>;
5
+ };
6
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import type { PlaceholderSize } from '../types';
2
+ export type ImageProps = {
3
+ class?: string;
4
+ size?: PlaceholderSize;
5
+ src?: string;
6
+ alt?: string;
7
+ width?: string;
8
+ height?: string;
9
+ };
@@ -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,3 @@
1
+ import Placeholder from './Placeholder.svelte';
2
+ export type { PlaceholderProps, PlaceholderSize } from './types';
3
+ export { Placeholder };
@@ -0,0 +1,9 @@
1
+ import type { PlaceholderSize } from './types';
2
+ declare const _default: {
3
+ wrapper: string;
4
+ sizes: Record<PlaceholderSize, string>;
5
+ innerContainer: string;
6
+ descriptionClass: string;
7
+ footerClass: string;
8
+ };
9
+ export default _default;
@@ -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,5 @@
1
+ declare const _default: {
2
+ content: string;
3
+ viewport: string;
4
+ };
5
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: {
2
+ groupHeading: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Item } from './Item.svelte';
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ item: string;
3
+ checkSpan: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Label } from './Label.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ label: string;
3
+ };
4
+ export default _default;
@@ -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,4 @@
1
+ declare const _default: {
2
+ scrollDownButton: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ScrollUpButton } from './ScrollUpButton.svelte';
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ scrollUpButton: string;
3
+ icon: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Separator } from './Separator.svelte';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ separator: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Trigger } from './Trigger.svelte';
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ trigger: string;
3
+ chevronIcon: string;
4
+ };
5
+ export default _default;
@@ -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,2 @@
1
+ export { default as Separator } from './Separator.svelte';
2
+ export type * from './types';
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ separator: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Separator as SeparatorPrimitive } from 'bits-ui';
2
+ export type SeparatorProps = SeparatorPrimitive.RootProps;
@@ -0,0 +1 @@
1
+ export { default as Content } from './Content.svelte';
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ content: string;
3
+ arrow: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import Portal from './Portal.svelte';
2
+ export { Portal };
@@ -0,0 +1,2 @@
1
+ import Provider from './Provider.svelte';
2
+ export { Provider };
@@ -0,0 +1 @@
1
+ export { default as Trigger } from './Trigger.svelte';
@@ -0,0 +1,2 @@
1
+ export { default as Tooltip } from './Tooltip.svelte';
2
+ export type { TooltipProps } from './types';
@@ -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,4 @@
1
+ import Typography from './Typography.svelte';
2
+ export { alignments, colors, decorations, displays, transforms, variants, weights, } from './styles.css';
3
+ export type { TypographyAlign, TypographyColor, TypographyVariant, } from './types';
4
+ export { Typography };
@@ -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
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './styles';