gd-design-library 0.0.2 → 0.0.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 (148) hide show
  1. package/README.md +4 -4
  2. package/assets/icons/account_circle.d.ts +7 -0
  3. package/assets/icons/arrow-down.d.ts +6 -0
  4. package/assets/icons/arrow-forward.d.ts +2 -1
  5. package/assets/icons/check.d.ts +2 -1
  6. package/assets/icons/chevron-right.d.ts +2 -1
  7. package/assets/icons/cross.d.ts +2 -1
  8. package/assets/icons/dot.d.ts +2 -1
  9. package/assets/icons/error_outline.d.ts +6 -0
  10. package/assets/icons/favorite.d.ts +7 -0
  11. package/assets/icons/home.d.ts +2 -1
  12. package/assets/icons/local_shipping.d.ts +7 -0
  13. package/assets/icons/mobile_menu_button.d.ts +7 -0
  14. package/assets/icons/shopping_bag.d.ts +7 -0
  15. package/assets/icons/slash.d.ts +2 -1
  16. package/assets/icons/star.d.ts +3 -1
  17. package/assets/icons/starOutlined.d.ts +6 -0
  18. package/assets/icons/toast_error.d.ts +2 -1
  19. package/assets/icons/toast_info.d.ts +2 -1
  20. package/assets/icons/toast_success.d.ts +2 -1
  21. package/assets/icons/toast_warning.d.ts +2 -1
  22. package/assets/index.d.ts +11 -83
  23. package/components/core/Dropdown/Dropdown.d.ts +4 -0
  24. package/components/core/Dropdown/Dropdown.types.d.ts +12 -0
  25. package/components/core/Dropdown/StyledDropdown.d.ts +2 -0
  26. package/components/core/Dropdown/constants.d.ts +1 -0
  27. package/components/core/Dropdown/hooks/index.d.ts +1 -0
  28. package/components/core/Dropdown/hooks/useDropdown.d.ts +3 -0
  29. package/components/core/Dropdown/index.d.ts +2 -0
  30. package/components/core/DropdownItem/DropdownItem.d.ts +4 -0
  31. package/components/core/DropdownItem/DropdownItem.types.d.ts +15 -0
  32. package/components/core/DropdownItem/StyledDropdownItem.d.ts +2 -0
  33. package/components/core/DropdownItem/constants.d.ts +1 -0
  34. package/components/core/DropdownItem/index.d.ts +2 -0
  35. package/components/core/Form/Form.d.ts +1 -1
  36. package/components/core/Form/utils.d.ts +1 -1
  37. package/components/core/Icon/Icon.d.ts +1 -4
  38. package/components/core/Icon/Icon.types.d.ts +1 -2
  39. package/components/core/Icon/constants.d.ts +74 -0
  40. package/components/core/Image/Image.d.ts +3 -0
  41. package/components/core/Image/Image.types.d.ts +27 -0
  42. package/components/core/Image/StyledImage.d.ts +5 -0
  43. package/components/core/Image/constants.d.ts +1 -0
  44. package/components/core/Image/index.d.ts +2 -0
  45. package/components/core/Input/Input.d.ts +1 -1
  46. package/components/core/Input/Input.types.d.ts +2 -1
  47. package/components/core/Input/StyledInput.d.ts +1 -1
  48. package/components/core/Label/Label.d.ts +1 -1
  49. package/components/core/Label/StyledLabel.d.ts +1 -1
  50. package/components/core/Link/Link.types.d.ts +1 -0
  51. package/components/core/List/StyledList.d.ts +1 -1
  52. package/components/core/Loader/StyledLoader.d.ts +1 -1
  53. package/components/core/Portal/Portal.d.ts +4 -3
  54. package/components/core/Select/Select.d.ts +5 -0
  55. package/components/core/Select/Select.types.d.ts +45 -0
  56. package/components/core/Select/StyledSelect.d.ts +24 -0
  57. package/components/core/Select/constants.d.ts +1 -0
  58. package/components/core/Select/hooks/index.d.ts +1 -0
  59. package/components/core/Select/hooks/useSelectContext.d.ts +3 -0
  60. package/components/core/Select/index.d.ts +2 -0
  61. package/components/core/Skeleton/StyledSkeleton.d.ts +1 -1
  62. package/components/core/Snackbar/Snackbar.d.ts +1 -1
  63. package/components/core/Switch/StyledSwitch.d.ts +1 -1
  64. package/components/core/Switch/Switch.d.ts +2 -2
  65. package/components/core/Switch/{types.d.ts → Switch.types.d.ts} +2 -2
  66. package/components/core/Switch/index.d.ts +1 -1
  67. package/components/core/Textarea/Textarea.d.ts +0 -1
  68. package/components/core/Tooltip/StyledTooltip.d.ts +1 -1
  69. package/components/core/Tooltip/Tooltip.d.ts +1 -1
  70. package/components/core/Tooltip/Tooltip.types.d.ts +1 -0
  71. package/components/core/Typography/Typography.d.ts +3 -2
  72. package/components/core/Typography/Typography.types.d.ts +2 -1
  73. package/components/core/Typography/utils.d.ts +1 -1
  74. package/components/core/Wrapper/StyledWrapper.d.ts +1 -1
  75. package/components/core/Wrapper/Wrapper.d.ts +1 -1
  76. package/components/core/index.d.ts +4 -0
  77. package/components/core/types/events.types.d.ts +6 -0
  78. package/components/domainSpecific/Header/Header.d.ts +4 -0
  79. package/components/domainSpecific/Header/Header.types.d.ts +23 -0
  80. package/components/domainSpecific/Header/StyledHeader.d.ts +123 -0
  81. package/components/domainSpecific/Header/constants.d.ts +1 -0
  82. package/components/domainSpecific/Header/index.d.ts +2 -0
  83. package/components/domainSpecific/Price/Price.d.ts +5 -0
  84. package/components/domainSpecific/Price/Price.types.d.ts +11 -0
  85. package/components/domainSpecific/Price/StyledPrice.d.ts +9 -0
  86. package/components/domainSpecific/Price/constants.d.ts +1 -0
  87. package/components/domainSpecific/Price/index.d.ts +1 -0
  88. package/components/domainSpecific/Rating/Rating.d.ts +2 -0
  89. package/components/domainSpecific/Rating/Rating.types.d.ts +19 -0
  90. package/components/domainSpecific/Rating/StyledRating.d.ts +5 -0
  91. package/components/domainSpecific/Rating/constants.d.ts +6 -0
  92. package/components/domainSpecific/Rating/index.d.ts +2 -0
  93. package/components/domainSpecific/Search/Search.d.ts +4 -0
  94. package/components/domainSpecific/Search/Search.types.d.ts +24 -0
  95. package/components/domainSpecific/Search/StyledSearch.d.ts +29 -0
  96. package/components/domainSpecific/Search/constants.d.ts +6 -0
  97. package/components/domainSpecific/Search/index.d.ts +2 -0
  98. package/components/domainSpecific/Search/renderers.d.ts +4 -0
  99. package/components/domainSpecific/Tabs/StyledTabs.d.ts +14 -0
  100. package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/SkeletonSearch.d.ts +4 -0
  101. package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/SkeletonSearch.types.d.ts +5 -0
  102. package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/StyledSkeletonSearch.d.ts +82 -0
  103. package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/constants.d.ts +2 -0
  104. package/components/domainSpecific/Templates/Cards/Skeleton/SkeletonSearch/index.d.ts +2 -0
  105. package/components/domainSpecific/Templates/Cards/Skeleton/index.d.ts +1 -0
  106. package/components/domainSpecific/Templates/Cards/index.d.ts +1 -0
  107. package/components/domainSpecific/Templates/index.d.ts +1 -0
  108. package/components/domainSpecific/index.d.ts +5 -0
  109. package/components/layout/FlexContainer/FlexContainer.types.d.ts +4 -1
  110. package/components/layout/index.types.d.ts +6 -0
  111. package/constants/events.d.ts +5 -0
  112. package/constants/index.d.ts +1 -0
  113. package/constants/keyboard.d.ts +3 -0
  114. package/hooks/index.d.ts +3 -0
  115. package/hooks/useClickOutside/index.d.ts +1 -0
  116. package/hooks/useClickOutside/useClickOutside.d.ts +1 -0
  117. package/hooks/useMediaQuery/index.d.ts +1 -0
  118. package/hooks/useMediaQuery/useMediaQuery.d.ts +1 -0
  119. package/hooks/useTheme/useTheme.d.ts +1 -1
  120. package/index.mjs +6168 -4909
  121. package/package.json +10 -3
  122. package/tokens/borders.d.ts +2 -2
  123. package/tokens/button.d.ts +6 -3
  124. package/tokens/defaultTheme.d.ts +463 -12
  125. package/tokens/flexContainer.d.ts +1 -0
  126. package/tokens/header.d.ts +108 -0
  127. package/tokens/image.d.ts +32 -0
  128. package/tokens/index.d.ts +405 -12
  129. package/tokens/input.d.ts +9 -1
  130. package/tokens/label.d.ts +4 -0
  131. package/tokens/link.d.ts +16 -0
  132. package/tokens/list.d.ts +10 -0
  133. package/tokens/modal.d.ts +6 -1
  134. package/tokens/price.d.ts +19 -0
  135. package/tokens/rating.d.ts +57 -0
  136. package/tokens/search.d.ts +37 -0
  137. package/tokens/select.d.ts +53 -0
  138. package/tokens/shadow.d.ts +4 -0
  139. package/tokens/skeleton.d.ts +44 -0
  140. package/tokens/snackbar.d.ts +20 -6
  141. package/tokens/stepper.d.ts +32 -0
  142. package/tokens/tabs.d.ts +4 -0
  143. package/tokens/tooltip.d.ts +4 -0
  144. package/tokens/utils.d.ts +2 -2
  145. package/tokens/values.d.ts +4 -1
  146. package/utils/index.d.ts +1 -0
  147. package/utils/math.d.ts +6 -0
  148. package/index.js +0 -124
@@ -0,0 +1,4 @@
1
+ import { SkeletonSearchProps } from './SkeletonSearch.types';
2
+ export declare const SkeletonSearch: import('react').ForwardRefExoticComponent<SkeletonSearchProps & {
3
+ children?: import('react').ReactNode | undefined;
4
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import { LayoutSize } from '../../../../../../tokens';
2
+ export interface SkeletonSearchProps {
3
+ maxWidth?: LayoutSize;
4
+ isResponsive?: boolean;
5
+ }
@@ -0,0 +1,82 @@
1
+ import { Theme } from '../../../../../../hooks/useTheme';
2
+ export declare const StyledSkeletonSearch: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
+ theme: Theme;
4
+ }>> & string;
5
+ export declare const StyledSkeletonSearchContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('../../../../../layout').FlexContainerProps & {
6
+ children?: import('react').ReactNode | undefined;
7
+ } & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
9
+ }, {
10
+ theme: Theme;
11
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../layout').FlexContainerProps & {
12
+ children?: import('react').ReactNode | undefined;
13
+ } & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
14
+ export declare const StyledSkeletonSearchHeaderRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('../../../../../layout/Row/Row.types').RowProps & {
15
+ children?: import('react').ReactNode | undefined;
16
+ } & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
17
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
18
+ }, {
19
+ theme: Theme;
20
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../layout/Row/Row.types').RowProps & {
21
+ children?: import('react').ReactNode | undefined;
22
+ } & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
23
+ export declare const StyledSkeletonSearchRow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('../../../../../layout/Row/Row.types').RowProps & {
24
+ children?: import('react').ReactNode | undefined;
25
+ } & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
26
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
27
+ }, {
28
+ theme: Theme;
29
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../layout/Row/Row.types').RowProps & {
30
+ children?: import('react').ReactNode | undefined;
31
+ } & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
32
+ export declare const StyledSkeletonSearchColumnImageBase: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('../../../../../layout/Column/Column.types').ColumnProps & {
33
+ children?: import('react').ReactNode | undefined;
34
+ } & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
35
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
36
+ }, {
37
+ theme: Theme;
38
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../layout/Column/Column.types').ColumnProps & {
39
+ children?: import('react').ReactNode | undefined;
40
+ } & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
41
+ export declare const StyledSkeletonSearchColumnImage: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../../../../core/Skeleton').SkeletonProps & {
42
+ children?: import('react').ReactNode | undefined;
43
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
44
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
45
+ }, Omit<import('../../../../../core/Skeleton').SkeletonProps & {
46
+ children?: import('react').ReactNode | undefined;
47
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
48
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
49
+ }>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../core/Skeleton').SkeletonProps & {
50
+ children?: import('react').ReactNode | undefined;
51
+ } & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
52
+ export declare const StyledSkeletonSearchColumnTextBase: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('../../../../../layout/Column/Column.types').ColumnProps & {
53
+ children?: import('react').ReactNode | undefined;
54
+ } & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
55
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
56
+ }, {
57
+ theme: Theme;
58
+ }>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../layout/Column/Column.types').ColumnProps & {
59
+ children?: import('react').ReactNode | undefined;
60
+ } & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
61
+ export declare const StyledSkeletonSearchColumnText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../../../../core/Skeleton').SkeletonProps & {
62
+ children?: import('react').ReactNode | undefined;
63
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
64
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
65
+ }, Omit<import('../../../../../core/Skeleton').SkeletonProps & {
66
+ children?: import('react').ReactNode | undefined;
67
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
68
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
69
+ }>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../core/Skeleton').SkeletonProps & {
70
+ children?: import('react').ReactNode | undefined;
71
+ } & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
72
+ export declare const StyledSkeletonSearchColumnPrice: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('styled-components/dist/types').Substitute<Omit<import('../../../../../core/Skeleton').SkeletonProps & {
73
+ children?: import('react').ReactNode | undefined;
74
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
75
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
76
+ }, Omit<import('../../../../../core/Skeleton').SkeletonProps & {
77
+ children?: import('react').ReactNode | undefined;
78
+ } & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
79
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
80
+ }>, never>, never>> & string & Omit<import('react').ForwardRefExoticComponent<import('../../../../../core/Skeleton').SkeletonProps & {
81
+ children?: import('react').ReactNode | undefined;
82
+ } & import('react').RefAttributes<HTMLSpanElement>>, keyof import('react').Component<any, {}, any>>;
@@ -0,0 +1,2 @@
1
+ export declare const COMPONENT_NAME = "SkeletonSearch";
2
+ export declare const SKELETON_CARDS_AMOUNT = 3;
@@ -0,0 +1,2 @@
1
+ export * from './SkeletonSearch';
2
+ export * from './SkeletonSearch.types';
@@ -0,0 +1 @@
1
+ export * from './SkeletonSearch';
@@ -0,0 +1 @@
1
+ export * from './Skeleton';
@@ -0,0 +1 @@
1
+ export * from './Cards';
@@ -1,2 +1,7 @@
1
+ export * from './Header';
1
2
  export * from './Tabs';
2
3
  export * from './Stepper';
4
+ export * from './Price';
5
+ export * from './Rating';
6
+ export * from './Search';
7
+ export * from './Templates';
@@ -1,9 +1,12 @@
1
- import { CommonComponentProps, CommonStyledComponentProps, LayoutSize } from '../..';
1
+ import { EnumOrPrimitive } from '../../../types';
2
+ import { CommonComponentProps, CommonStyledComponentProps, FlexDirection, LayoutSize } from '../..';
2
3
  export interface FlexContainerProps extends CommonComponentProps {
3
4
  maxWidth?: LayoutSize;
4
5
  isResponsive?: boolean;
6
+ flexDirection?: EnumOrPrimitive<FlexDirection>;
5
7
  }
6
8
  export interface StyledFlexContainerProps extends CommonStyledComponentProps {
7
9
  $maxWidth: LayoutSize;
8
10
  $isResponsive: boolean;
11
+ $flexDirection: EnumOrPrimitive<FlexDirection>;
9
12
  }
@@ -1 +1,7 @@
1
1
  export type LayoutSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
2
+ export declare const enum FlexDirection {
3
+ Row = "row",
4
+ RowReverse = "row-reverse",
5
+ Column = "column",
6
+ ColumnReverse = "column-reverse"
7
+ }
@@ -0,0 +1,5 @@
1
+ export declare const KEY_CODE: {
2
+ ENTER: string;
3
+ ESCAPE: string;
4
+ TAB: string;
5
+ };
@@ -1,2 +1,3 @@
1
1
  export * from './positioning';
2
2
  export * from './timers';
3
+ export * from './events';
@@ -1,3 +1,6 @@
1
1
  export declare const KEYBOARD_KEYS: {
2
2
  ESCAPE: string;
3
+ ENTER: string;
4
+ ARROW_DOWN: string;
5
+ ARROW_UP: string;
3
6
  };
package/hooks/index.d.ts CHANGED
@@ -1 +1,4 @@
1
1
  export * from './useTheme';
2
+ export * from './useClickOutside';
3
+ export * from './useAutoFocus';
4
+ export * from './useMediaQuery';
@@ -0,0 +1 @@
1
+ export * from './useClickOutside';
@@ -0,0 +1 @@
1
+ export declare const useClickOutside: (ref: React.RefObject<HTMLElement>, callback: () => void) => void;
@@ -0,0 +1 @@
1
+ export * from './useMediaQuery';
@@ -0,0 +1 @@
1
+ export declare const useMediaQuery: (query: string) => boolean;
@@ -1,4 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
- import { ThemeProviderProps, ThemeContextProps } from '.';
2
+ import { ThemeProviderProps, ThemeContextProps } from './useTheme.types';
3
3
  export declare const ThemeProvider: (props: PropsWithChildren<ThemeProviderProps>) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const useTheme: () => ThemeContextProps;