@tk-kit/design-system 0.1.16

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 (141) hide show
  1. package/dist/components/base/alert/alert.d.ts +10 -0
  2. package/dist/components/base/alert/index.d.ts +1 -0
  3. package/dist/components/base/badge/badge.d.ts +7 -0
  4. package/dist/components/base/badge/badge.variants.d.ts +5 -0
  5. package/dist/components/base/badge/index.d.ts +3 -0
  6. package/dist/components/base/button/button.d.ts +10 -0
  7. package/dist/components/base/button/button.variants.d.ts +4 -0
  8. package/dist/components/base/button/index.d.ts +3 -0
  9. package/dist/components/base/calendar/calendar.d.ts +10 -0
  10. package/dist/components/base/calendar/index.d.ts +1 -0
  11. package/dist/components/base/card/card.d.ts +11 -0
  12. package/dist/components/base/card/index.d.ts +1 -0
  13. package/dist/components/base/command/command.d.ts +18 -0
  14. package/dist/components/base/command/index.d.ts +1 -0
  15. package/dist/components/base/dialog/dialog.d.ts +17 -0
  16. package/dist/components/base/dialog/index.d.ts +1 -0
  17. package/dist/components/base/input/index.d.ts +3 -0
  18. package/dist/components/base/input/input.d.ts +8 -0
  19. package/dist/components/base/input/input.variants.d.ts +4 -0
  20. package/dist/components/base/label/index.d.ts +1 -0
  21. package/dist/components/base/label/label.d.ts +4 -0
  22. package/dist/components/base/link/index.d.ts +2 -0
  23. package/dist/components/base/link/link.d.ts +32 -0
  24. package/dist/components/base/loading/index.d.ts +1 -0
  25. package/dist/components/base/loading/loading.d.ts +7 -0
  26. package/dist/components/base/popover/index.d.ts +1 -0
  27. package/dist/components/base/popover/popover.d.ts +12 -0
  28. package/dist/components/base/separator/index.d.ts +1 -0
  29. package/dist/components/base/separator/separator.d.ts +4 -0
  30. package/dist/components/base/status/index.d.ts +2 -0
  31. package/dist/components/base/status/status-order.d.ts +10 -0
  32. package/dist/components/base/status/status-order.variants.d.ts +5 -0
  33. package/dist/components/base/table/index.d.ts +4 -0
  34. package/dist/components/base/table/table-header.d.ts +5 -0
  35. package/dist/components/base/table/table-row.d.ts +8 -0
  36. package/dist/components/base/table/table-section.d.ts +10 -0
  37. package/dist/components/base/table/table.d.ts +4 -0
  38. package/dist/components/base/tabs/index.d.ts +1 -0
  39. package/dist/components/base/tabs/tabs.d.ts +14 -0
  40. package/dist/components/base/test/test.d.ts +1 -0
  41. package/dist/components/base/textarea/index.d.ts +1 -0
  42. package/dist/components/base/textarea/textarea.d.ts +8 -0
  43. package/dist/components/base/tooltip/index.d.ts +1 -0
  44. package/dist/components/base/tooltip/tooltip.d.ts +7 -0
  45. package/dist/components/form/checkbox/checkbox.d.ts +9 -0
  46. package/dist/components/form/checkbox/checkbox.variants.d.ts +6 -0
  47. package/dist/components/form/checkbox/index.d.ts +3 -0
  48. package/dist/components/form/date-range-picker/date-range-picker.d.ts +24 -0
  49. package/dist/components/form/date-range-picker/index.d.ts +2 -0
  50. package/dist/components/form/dropdown/dropdown.d.ts +24 -0
  51. package/dist/components/form/dropdown/index.d.ts +1 -0
  52. package/dist/components/form/file-upload-field/file-upload-base.d.ts +14 -0
  53. package/dist/components/form/file-upload-field/file-upload-field.d.ts +8 -0
  54. package/dist/components/form/file-upload-field/index.d.ts +3 -0
  55. package/dist/components/form/input-field/index.d.ts +1 -0
  56. package/dist/components/form/input-field/input-field.d.ts +10 -0
  57. package/dist/components/form/input-password/index.d.ts +1 -0
  58. package/dist/components/form/input-password/input-password.d.ts +9 -0
  59. package/dist/components/form/input-phone/index.d.ts +1 -0
  60. package/dist/components/form/input-phone/input-phone.d.ts +7 -0
  61. package/dist/components/form/input-search/index.d.ts +1 -0
  62. package/dist/components/form/input-search/input-search.d.ts +4 -0
  63. package/dist/components/form/radio-group/index.d.ts +5 -0
  64. package/dist/components/form/radio-group/radio-button.d.ts +10 -0
  65. package/dist/components/form/radio-group/radio-circle.d.ts +11 -0
  66. package/dist/components/form/radio-group/radio-circle.variants.d.ts +12 -0
  67. package/dist/components/form/radio-group/radio-group.context.d.ts +3 -0
  68. package/dist/components/form/radio-group/radio-group.d.ts +8 -0
  69. package/dist/components/form/radio-group/radio-item.d.ts +10 -0
  70. package/dist/components/form/radio-group/radio-segmented.d.ts +10 -0
  71. package/dist/components/form/switcher/index.d.ts +2 -0
  72. package/dist/components/form/switcher/switcher.d.ts +14 -0
  73. package/dist/components/form/switcher/switcher.variants.d.ts +10 -0
  74. package/dist/components/form/textarea-field/index.d.ts +1 -0
  75. package/dist/components/form/textarea-field/textarea-field.d.ts +10 -0
  76. package/dist/components/icons/arrow-down-icon.d.ts +2 -0
  77. package/dist/components/icons/arrow-icon.d.ts +2 -0
  78. package/dist/components/icons/arrow-left-icon.d.ts +2 -0
  79. package/dist/components/icons/attach-icon.d.ts +2 -0
  80. package/dist/components/icons/barcode-icon.d.ts +2 -0
  81. package/dist/components/icons/bell-icon.d.ts +2 -0
  82. package/dist/components/icons/calendar-icon.d.ts +2 -0
  83. package/dist/components/icons/card-refresh-icon.d.ts +2 -0
  84. package/dist/components/icons/cash-icon.d.ts +2 -0
  85. package/dist/components/icons/delivery-address-icon.d.ts +2 -0
  86. package/dist/components/icons/developer-icon.d.ts +2 -0
  87. package/dist/components/icons/doc-doc-icon.d.ts +2 -0
  88. package/dist/components/icons/doc-docx-icon.d.ts +2 -0
  89. package/dist/components/icons/doc-jpeg-icon.d.ts +2 -0
  90. package/dist/components/icons/doc-jpg-icon.d.ts +2 -0
  91. package/dist/components/icons/doc-pcx-icon.d.ts +2 -0
  92. package/dist/components/icons/doc-pdf-icon.d.ts +2 -0
  93. package/dist/components/icons/doc-png-icon.d.ts +2 -0
  94. package/dist/components/icons/doc-ppt-icon.d.ts +2 -0
  95. package/dist/components/icons/doc-pptx-icon.d.ts +2 -0
  96. package/dist/components/icons/doc-txt-icon.d.ts +2 -0
  97. package/dist/components/icons/doc-xls-icon.d.ts +2 -0
  98. package/dist/components/icons/exit-icon.d.ts +2 -0
  99. package/dist/components/icons/eye-icon.d.ts +2 -0
  100. package/dist/components/icons/eye-off-icon.d.ts +2 -0
  101. package/dist/components/icons/file-icon.d.ts +2 -0
  102. package/dist/components/icons/flag-ru-icon.d.ts +2 -0
  103. package/dist/components/icons/headphones-icon.d.ts +2 -0
  104. package/dist/components/icons/index.d.ts +47 -0
  105. package/dist/components/icons/info-icon.d.ts +2 -0
  106. package/dist/components/icons/location-icon.d.ts +2 -0
  107. package/dist/components/icons/lock-icon.d.ts +2 -0
  108. package/dist/components/icons/main-icon.d.ts +2 -0
  109. package/dist/components/icons/orders-icon.d.ts +2 -0
  110. package/dist/components/icons/pretension-icon.d.ts +2 -0
  111. package/dist/components/icons/printer-icon.d.ts +2 -0
  112. package/dist/components/icons/redirect-icon.d.ts +2 -0
  113. package/dist/components/icons/reload-icon.d.ts +2 -0
  114. package/dist/components/icons/sample-icon.d.ts +2 -0
  115. package/dist/components/icons/search-icon.d.ts +2 -0
  116. package/dist/components/icons/settings-icon.d.ts +2 -0
  117. package/dist/components/icons/sort-down-icon.d.ts +2 -0
  118. package/dist/components/icons/sort-up-icon.d.ts +2 -0
  119. package/dist/components/icons/spinner-icon.d.ts +2 -0
  120. package/dist/components/icons/stop-icon.d.ts +2 -0
  121. package/dist/components/icons/unlock-icon.d.ts +2 -0
  122. package/dist/components/icons/user-icon.d.ts +2 -0
  123. package/dist/components/icons/user-switch-icon.d.ts +2 -0
  124. package/dist/hooks/use-debounce.d.ts +1 -0
  125. package/dist/hooks/use-mobile.d.ts +1 -0
  126. package/dist/hooks/use-period.d.ts +13 -0
  127. package/dist/hooks/use-scroll-collapse.d.ts +5 -0
  128. package/dist/index.cjs +52 -0
  129. package/dist/index.d.ts +37 -0
  130. package/dist/index.js +20603 -0
  131. package/dist/lib/get-document-icon.d.ts +1 -0
  132. package/dist/lib/utils.d.ts +2 -0
  133. package/dist/lib/validations.d.ts +15 -0
  134. package/dist/logo.svg +3 -0
  135. package/dist/styles/_typography.css +422 -0
  136. package/dist/styles/_utilities.css +402 -0
  137. package/dist/styles/_variables.css +695 -0
  138. package/dist/styles/globals.css +306 -0
  139. package/dist/styles/tokens.css +303 -0
  140. package/dist/styles.css +1 -0
  141. package/package.json +107 -0
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ export declare function RadioSegmented({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ interface RadioSegmentedItemProps extends React.ComponentProps<typeof RadioGroupPrimitive.Item> {
5
+ children?: React.ReactNode;
6
+ label?: string;
7
+ size?: 'md' | 'sm';
8
+ }
9
+ export declare function RadioSegmentedItem({ value, children, label, size, className, ...props }: RadioSegmentedItemProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Switcher } from './switcher';
2
+ export { switcherVariants, labelVariants, thumbVariants } from './switcher.variants.ts';
@@ -0,0 +1,14 @@
1
+ type TooltipData = {
2
+ title?: string;
3
+ description?: string;
4
+ placement?: 'top' | 'bottom' | 'left' | 'right';
5
+ };
6
+ type Props = {
7
+ label: string;
8
+ checked?: boolean;
9
+ disabled?: boolean;
10
+ onChange?: (value: boolean) => void;
11
+ tooltip?: TooltipData;
12
+ };
13
+ export declare const Switcher: ({ label, checked: controlledChecked, disabled, onChange, tooltip, }: Props) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare const switcherVariants: (props?: ({
2
+ checked?: boolean | null | undefined;
3
+ disabled?: boolean | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export declare const thumbVariants: (props?: ({
6
+ checked?: boolean | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export declare const labelVariants: (props?: ({
9
+ disabled?: boolean | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1 @@
1
+ export * from './textarea-field';
@@ -0,0 +1,10 @@
1
+ import { Textarea } from '../../base/textarea';
2
+ import * as React from 'react';
3
+ export type TextareaFieldProps = React.ComponentProps<typeof Textarea> & {
4
+ label?: string;
5
+ errorMessage?: string;
6
+ variantSpecial?: string;
7
+ hideClearButton?: boolean;
8
+ showErrorMessage?: boolean;
9
+ };
10
+ export declare const TextareaField: React.ForwardRefExoticComponent<Omit<TextareaFieldProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ArrowDownIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ArrowIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ArrowLeftIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const AttachIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const BarcodeIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const BellIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const CalendarIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const CardRefreshIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const CashIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DeliveryAddressIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DeveloperIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocDocIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocDocxIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocJpegIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocJpgIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocPcxIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocPdfIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocPngIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocPptIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocPptxIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocTxtIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const DocXlsIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ExitIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const EyeIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const EyeOffIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const FileIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const FlagRuIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const HeadphonesIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,47 @@
1
+ export { ArrowDownIcon } from './arrow-down-icon';
2
+ export { ArrowIcon } from './arrow-icon';
3
+ export { ArrowLeftIcon } from './arrow-left-icon';
4
+ export { AttachIcon } from './attach-icon';
5
+ export { BarcodeIcon } from './barcode-icon';
6
+ export { BellIcon } from './bell-icon';
7
+ export { CalendarIcon } from './calendar-icon';
8
+ export { CardRefreshIcon } from './card-refresh-icon';
9
+ export { CashIcon } from './cash-icon';
10
+ export { DeliveryAddressIcon } from './delivery-address-icon';
11
+ export { DeveloperIcon } from './developer-icon';
12
+ export { DocDocIcon } from './doc-doc-icon';
13
+ export { DocDocxIcon } from './doc-docx-icon';
14
+ export { DocJpegIcon } from './doc-jpeg-icon';
15
+ export { DocJpgIcon } from './doc-jpg-icon';
16
+ export { DocPcxIcon } from './doc-pcx-icon';
17
+ export { DocPdfIcon } from './doc-pdf-icon';
18
+ export { DocPngIcon } from './doc-png-icon';
19
+ export { DocPptIcon } from './doc-ppt-icon';
20
+ export { DocPptxIcon } from './doc-pptx-icon';
21
+ export { DocTxtIcon } from './doc-txt-icon';
22
+ export { DocXlsIcon } from './doc-xls-icon';
23
+ export { ExitIcon } from './exit-icon';
24
+ export { EyeIcon } from './eye-icon';
25
+ export { EyeOffIcon } from './eye-off-icon';
26
+ export { FileIcon } from './file-icon';
27
+ export { FlagRuIcon } from './flag-ru-icon';
28
+ export { HeadphonesIcon } from './headphones-icon';
29
+ export { InfoIcon } from './info-icon';
30
+ export { LocationIcon } from './location-icon';
31
+ export { LockIcon } from './lock-icon';
32
+ export { MainIcon } from './main-icon';
33
+ export { OrdersIcon } from './orders-icon';
34
+ export { PretensionIcon } from './pretension-icon';
35
+ export { PrinterIcon } from './printer-icon';
36
+ export { RedirectIcon } from './redirect-icon';
37
+ export { ReloadIcon } from './reload-icon';
38
+ export { SampleIcon } from './sample-icon';
39
+ export { SearchIcon } from './search-icon';
40
+ export { SettingsIcon } from './settings-icon';
41
+ export { SortDownIcon } from './sort-down-icon';
42
+ export { SortUpIcon } from './sort-up-icon';
43
+ export { SpinnerIcon } from './spinner-icon';
44
+ export { StopIcon } from './stop-icon';
45
+ export { UnlockIcon } from './unlock-icon';
46
+ export { UserIcon } from './user-icon';
47
+ export { UserSwitchIcon } from './user-switch-icon';
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const InfoIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const LocationIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const LockIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const MainIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const OrdersIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const PretensionIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const PrinterIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const RedirectIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const ReloadIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SampleIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SearchIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SettingsIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SortDownIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SortUpIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const SpinnerIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const StopIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const UnlockIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const UserIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const UserSwitchIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const useDebounce: <T>(value: T, delay?: number) => T;
@@ -0,0 +1 @@
1
+ export declare function useIsMobile(): boolean;
@@ -0,0 +1,13 @@
1
+ type OrdersPeriod = 'today' | 'week' | 'month' | 'quarter' | 'year';
2
+ interface PeriodOption {
3
+ label: string;
4
+ value: OrdersPeriod;
5
+ from: Date;
6
+ to: Date;
7
+ }
8
+ export declare const usePeriodOptions: () => PeriodOption[];
9
+ export declare const usePeriod: (period: OrdersPeriod) => {
10
+ from: Date;
11
+ to: Date;
12
+ };
13
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const useScrollCollapse: (threshold?: number) => {
2
+ scrollRef: import('react').RefObject<HTMLDivElement | null>;
3
+ collapsed: boolean;
4
+ onScroll: () => void;
5
+ };