kwant-ui 3.15.5-alpha.3 → 3.16.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 (183) hide show
  1. package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +19 -0
  2. package/dist/components/Button/Button.d.ts.map +1 -0
  3. package/dist/components/Button/Button.styled.d.ts.map +1 -0
  4. package/dist/components/Button/helper.d.ts.map +1 -0
  5. package/dist/components/Button/types.d.ts.map +1 -0
  6. package/dist/components/HoverCalender/HoverCalender.d.ts +3 -0
  7. package/dist/components/HoverCalender/HoverCalenderStyled.d.ts +1 -0
  8. package/dist/components/HoverCalender/types.d.ts +10 -0
  9. package/dist/components/MultiSelect/onOutsideClick.d.ts +3 -0
  10. package/dist/components/Slider/Slider.d.ts.map +1 -0
  11. package/dist/components/Slider/Slider.styled.d.ts.map +1 -0
  12. package/dist/components/Slider/index.d.ts.map +1 -0
  13. package/dist/components/Slider/types.d.ts.map +1 -0
  14. package/dist/components/StepperDrawer/StepperDrawer.d.ts +3 -0
  15. package/dist/components/StepperDrawer/StepperDrawer.types.d.ts +8 -0
  16. package/dist/components/StepperDrawer/StepperDrawer.utils.d.ts +1 -0
  17. package/dist/components/StepperDrawer/StepperDrawerStyled.d.ts +5 -0
  18. package/dist/components/StepperDrawer/index.d.ts +2 -0
  19. package/dist/components/Text/TextStyled.d.ts.map +1 -0
  20. package/dist/components/Text/index.d.ts.map +1 -0
  21. package/dist/components/Text/types.d.ts.map +1 -0
  22. package/dist/components/Text/typography.d.ts.map +1 -0
  23. package/dist/components/Text/utils.d.ts.map +1 -0
  24. package/dist/components/stepper/index.d.ts.map +1 -0
  25. package/dist/fonts/Poppins-Black.woff +0 -0
  26. package/dist/fonts/Poppins-Black.woff2 +0 -0
  27. package/dist/fonts/Poppins-Bold.woff +0 -0
  28. package/dist/fonts/Poppins-Bold.woff2 +0 -0
  29. package/dist/fonts/Poppins-Italic.woff +0 -0
  30. package/dist/fonts/Poppins-Italic.woff2 +0 -0
  31. package/dist/fonts/Poppins-Light.woff +0 -0
  32. package/dist/fonts/Poppins-Light.woff2 +0 -0
  33. package/dist/fonts/Poppins-Medium.woff +0 -0
  34. package/dist/fonts/Poppins-Medium.woff2 +0 -0
  35. package/dist/fonts/Poppins-Regular.woff +0 -0
  36. package/dist/fonts/Poppins-Regular.woff2 +0 -0
  37. package/dist/fonts/Poppins-SemiBold.woff +0 -0
  38. package/dist/fonts/Poppins-SemiBold.woff2 +0 -0
  39. package/dist/fonts/fonts.d.ts +2 -0
  40. package/dist/fonts/fonts.ts +95 -0
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/index.es.js +0 -3
  43. package/dist/index.js +0 -3
  44. package/dist/kwant-ui.es.js +4345 -0
  45. package/dist/kwant-ui.umd.js +507 -0
  46. package/dist/package.json +1 -1
  47. package/dist/public/assets/images/approve.svg +21 -0
  48. package/dist/public/assets/images/complete.svg +20 -0
  49. package/dist/public/assets/images/reject.svg +27 -0
  50. package/dist/public/assets/sprite.svg +9502 -0
  51. package/dist/stories/Alert.stories.d.ts +77 -0
  52. package/dist/stories/Avatar/index.d.ts +4 -0
  53. package/dist/stories/Avatar.stories.d.ts +100 -0
  54. package/dist/stories/AvatarGroup/index.d.ts +10 -0
  55. package/dist/stories/AvatarGroup.stories.d.ts +80 -0
  56. package/dist/stories/Badge/Badge.stories.d.ts +48 -0
  57. package/dist/stories/Badge/Badges.d.ts +2 -0
  58. package/dist/stories/BaseDrawer.stories.d.ts +56 -0
  59. package/dist/stories/BaseDropdown/BaseDropdownStory.d.ts +3 -0
  60. package/dist/stories/BaseDropdown.stories.d.ts +9 -0
  61. package/dist/stories/Battery/Battery.stories.d.ts +22 -0
  62. package/dist/stories/Battery/BatteryContainer.d.ts +2 -0
  63. package/dist/stories/Breadcrumb/index.d.ts +2 -0
  64. package/dist/stories/Breadcrumb.stories.d.ts +16 -0
  65. package/dist/stories/Button.stories.d.ts +42 -0
  66. package/dist/stories/Calendar.stories.d.ts +64 -0
  67. package/dist/stories/Checkbox/index.d.ts +3 -0
  68. package/dist/stories/Checkbox.stories.d.ts +48 -0
  69. package/dist/stories/ConfirmationScreen/ConfirmationScreen.stories.d.ts +57 -0
  70. package/dist/stories/ConfirmationScreen/ConfirmationScreenContainer.d.ts +2 -0
  71. package/dist/stories/ConfirmationScreen/ConfirmationScreenContainerStyled.d.ts +1 -0
  72. package/dist/stories/CountryCodeInput.stories.d.ts +58 -0
  73. package/dist/stories/CountryInput/CountryInput.d.ts +2 -0
  74. package/dist/stories/Datepicker.stories.d.ts +46 -0
  75. package/dist/stories/Design-system/Grid/index.d.ts +2 -0
  76. package/dist/stories/Design-system/Typography/index.d.ts +2 -0
  77. package/dist/stories/Design-system/colors/index.d.ts +2 -0
  78. package/dist/stories/Design-system/colors.stories.d.ts +9 -0
  79. package/dist/stories/Design-system/grid.stories.d.ts +12 -0
  80. package/dist/stories/Design-system/typography.stories.d.ts +11 -0
  81. package/dist/stories/Dialog/DialogStory.d.ts +3 -0
  82. package/dist/stories/Dialog/DialogStoryStyled.d.ts +2 -0
  83. package/dist/stories/Dialog/DialogStoryUtils.d.ts +3 -0
  84. package/dist/stories/Dialog.stories.d.ts +10 -0
  85. package/dist/stories/DocumentCard/DocumentCardContainer.d.ts +4 -0
  86. package/dist/stories/DocumentCard/DocumentCardContainer.stories.d.ts +47 -0
  87. package/dist/stories/DocumentCard/DocumentCardContainer.styled.d.ts +1 -0
  88. package/dist/stories/Drawer/BaseDrawerStory.d.ts +2 -0
  89. package/dist/stories/Drawer/DrawerStory.d.ts +2 -0
  90. package/dist/stories/Drawer/DrawerStory.styled.d.ts +3 -0
  91. package/dist/stories/Drawer/DrawerStoryUtils.d.ts +255 -0
  92. package/dist/stories/Drawer/StepperDrawerLayoutStory.d.ts +2 -0
  93. package/dist/stories/Drawer/StepperDrawerStory.d.ts +2 -0
  94. package/dist/stories/Drawer.stories.d.ts +89 -0
  95. package/dist/stories/Dropdown/DropdownStory.d.ts +3 -0
  96. package/dist/stories/Dropdown/DropdownStoryUtils.d.ts +105 -0
  97. package/dist/stories/Dropdown.stories.d.ts +104 -0
  98. package/dist/stories/DropdownCalendar/index.d.ts +3 -0
  99. package/dist/stories/DropdownCalendar.stories.d.ts +15 -0
  100. package/dist/stories/DropdownSelect/index.d.ts +3 -0
  101. package/dist/stories/DropdownSelect.stories.d.ts +109 -0
  102. package/dist/stories/FilterTag/FIlterTagContainerStyled.d.ts +1 -0
  103. package/dist/stories/FilterTag/FilterTagContainer.d.ts +2 -0
  104. package/dist/stories/FilterTag/FilterTagContainer.stories.d.ts +75 -0
  105. package/dist/stories/HorizontalStepper/HorizontalStepperContainer.d.ts +2 -0
  106. package/dist/stories/HorizontalStepper/HorizontalStepperContainer.styled.d.ts +1 -0
  107. package/dist/stories/HorizontalStepper/data.d.ts +10 -0
  108. package/dist/stories/HorizontalStepper.stories.d.ts +42 -0
  109. package/dist/stories/HoverCalender/HoverCalendarContainer.d.ts +2 -0
  110. package/dist/stories/HoverCalender/HoverCalendarContainer.stories.d.ts +75 -0
  111. package/dist/stories/HoverCalender/HoverCalendarContainerStyled.d.ts +1 -0
  112. package/dist/stories/HoverCalender/HoverCalenderContainer.d.ts +2 -0
  113. package/dist/stories/HoverCalender/HoverCalenderContainer.stories.d.ts +64 -0
  114. package/dist/stories/HoverCalender/HoverCalenderContainerStyled.d.ts +1 -0
  115. package/dist/stories/HoverInput/HoverInputContainer.d.ts +2 -0
  116. package/dist/stories/HoverInput/HoverInputContainer.stories.d.ts +56 -0
  117. package/dist/stories/HoverInput/HoverInputContainerStyled.d.ts +1 -0
  118. package/dist/stories/HoverSelect/HoverSelectContainer.d.ts +2 -0
  119. package/dist/stories/HoverSelect/HoverSelectContainer.stories.d.ts +56 -0
  120. package/dist/stories/HoverSelect/HoverSelectContainerStyled.d.ts +1 -0
  121. package/dist/stories/Icon.stories.d.ts +10 -0
  122. package/dist/stories/IconLabel/LabelIcon.d.ts +2 -0
  123. package/dist/stories/IconLabel/LabelIconStory.d.ts +2 -0
  124. package/dist/stories/IconLabel.stories.d.ts +19 -0
  125. package/dist/stories/Input.stories.d.ts +72 -0
  126. package/dist/stories/Loader/LoaderStory.d.ts +3 -0
  127. package/dist/stories/Loader.stories.d.ts +9 -0
  128. package/dist/stories/MultiSelect/MultiSelect.stories.d.ts +38 -0
  129. package/dist/stories/MultiSelect/MultiSelectContainer.d.ts +2 -0
  130. package/dist/stories/MultiSelect/MultiSelectContainerStyled.d.ts +1 -0
  131. package/dist/stories/Navigation/index.d.ts +3 -0
  132. package/dist/stories/Navigation.stories.d.ts +11 -0
  133. package/dist/stories/ONBCertificateCard/InfoAccordionContainer.d.ts +2 -0
  134. package/dist/stories/ONBCertificateCard/InfoAccordionContainer.stories.d.ts +26 -0
  135. package/dist/stories/ONBCertificateCard/InfoAccordionContainerStyled.d.ts +1 -0
  136. package/dist/stories/OTP/OTPInput.stories.d.ts +93 -0
  137. package/dist/stories/OTP/index.d.ts +1 -0
  138. package/dist/stories/Overlay/OverlayStoryStyled.d.ts +1 -0
  139. package/dist/stories/Overlay.stories.d.ts +9 -0
  140. package/dist/stories/Pagination.stories.d.ts +42 -0
  141. package/dist/stories/Radio/RadioStory.d.ts +3 -0
  142. package/dist/stories/Radio.stories.d.ts +36 -0
  143. package/dist/stories/Select.stories.d.ts +10 -0
  144. package/dist/stories/Selector/SelectorButton.d.ts +2 -0
  145. package/dist/stories/Selector/data.d.ts +6 -0
  146. package/dist/stories/SelectorButton.stories.d.ts +37 -0
  147. package/dist/stories/Skeleton/SkeletonComponent.d.ts +2 -0
  148. package/dist/stories/Skeleton/SkeletonComponent.styled.d.ts +1 -0
  149. package/dist/stories/Skeleton.stories.d.ts +30 -0
  150. package/dist/stories/Slider/Slider.stories.d.ts +49 -0
  151. package/dist/stories/Slider/index.d.ts +3 -0
  152. package/dist/stories/Spinner/LineSpinner.d.ts +2 -0
  153. package/dist/stories/Spinner/LineSpinner.stories.d.ts +23 -0
  154. package/dist/stories/Spinner/LineSpinner.styled.d.ts +1 -0
  155. package/dist/stories/Stepper/data.d.ts +17 -0
  156. package/dist/stories/Stepper/index.d.ts +3 -0
  157. package/dist/stories/Stepper.stories.d.ts +48 -0
  158. package/dist/stories/StepperDrawer.stories.d.ts +72 -0
  159. package/dist/stories/StepperDrawerLayout.stories.d.ts +102 -0
  160. package/dist/stories/Switch/Switch.stories.d.ts +55 -0
  161. package/dist/stories/Switch/SwitchContainer.d.ts +2 -0
  162. package/dist/stories/Switch/SwitchContainer.styled.d.ts +1 -0
  163. package/dist/stories/Tabs.stories.d.ts +45 -0
  164. package/dist/stories/Tag/Tag.stories.d.ts +103 -0
  165. package/dist/stories/Tag/Tag.styled.d.ts +1 -0
  166. package/dist/stories/Tag/TagContainer.d.ts +2 -0
  167. package/dist/stories/Text/index.d.ts +3 -0
  168. package/dist/stories/Toast/Toast.stories.d.ts +32 -0
  169. package/dist/stories/Toast/ToastStoriesStyled.d.ts +4 -0
  170. package/dist/stories/Toast/index.d.ts +3 -0
  171. package/dist/stories/Tooltip/TooltipData.d.ts +3 -0
  172. package/dist/stories/Tooltip/index.d.ts +2 -0
  173. package/dist/stories/UploadAvatar/UploadAvatar.stories.d.ts +66 -0
  174. package/dist/stories/UploadAvatar/UploadAvatarContainer.d.ts +2 -0
  175. package/dist/stories/UploadAvatar/UploadAvatarContainerStyled.d.ts +1 -0
  176. package/dist/stories/data.d.ts +8 -0
  177. package/dist/stories/text.stories.d.ts +29 -0
  178. package/dist/stories/tooltip.stories.d.ts +85 -0
  179. package/dist/themes/colors.d.ts.map +1 -0
  180. package/dist/themes/index.d.ts.map +1 -0
  181. package/dist/themes/types.d.ts.map +1 -0
  182. package/dist/types.d.ts +572 -0
  183. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ export declare const chevronDown: import("react/jsx-runtime").JSX.Element;
2
+ export declare const tabs: {
3
+ id: string;
4
+ title: string;
5
+ leftIcon: import("react/jsx-runtime").JSX.Element;
6
+ rightIcon: import("react/jsx-runtime").JSX.Element;
7
+ unreadCount: number;
8
+ }[];
@@ -0,0 +1,29 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: (props: import("../components/Text/types").TextComponent.Props) => import("react/jsx-runtime").JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ weight: {
8
+ options: string[];
9
+ description: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ category: {
15
+ options: string[];
16
+ description: string;
17
+ control: {
18
+ type: string;
19
+ };
20
+ };
21
+ };
22
+ };
23
+ export default meta;
24
+ type Story = StoryObj<typeof meta>;
25
+ export declare const Subtitle: Story;
26
+ export declare const Subtitle2: Story;
27
+ export declare const Body: Story;
28
+ export declare const Caption: Story;
29
+ export declare const CustomColor: Story;
@@ -0,0 +1,85 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import TooltipStory from './Tooltip';
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof TooltipStory;
6
+ tags: string[];
7
+ argTypes: {
8
+ enabled: {
9
+ description: string;
10
+ control: string;
11
+ defaultValue: {
12
+ summary: boolean;
13
+ };
14
+ };
15
+ position: {
16
+ description: string;
17
+ control: string;
18
+ options: string[];
19
+ };
20
+ tooltipType: {
21
+ description: string;
22
+ control: string;
23
+ options: string[];
24
+ };
25
+ borderRadius: {
26
+ description: string;
27
+ control: string;
28
+ };
29
+ tooltipWidth: {
30
+ description: string;
31
+ control: string;
32
+ defaultValue: {
33
+ summary: string;
34
+ };
35
+ };
36
+ tooltipHeight: {
37
+ description: string;
38
+ control: string;
39
+ defaultValue: {
40
+ summary: string;
41
+ };
42
+ };
43
+ noTextWrap: {
44
+ description: string;
45
+ control: string;
46
+ };
47
+ offset: {
48
+ description: string;
49
+ control: string;
50
+ };
51
+ };
52
+ };
53
+ export default meta;
54
+ type Story = StoryObj<typeof meta>;
55
+ export declare const TopCenter: Story;
56
+ export declare const BottomCenter: Story;
57
+ export declare const LeftCenter: Story;
58
+ export declare const RightCenter: Story;
59
+ export declare const BottomLeft: Story;
60
+ export declare const TopLeft: Story;
61
+ export declare const TopRight: Story;
62
+ export declare const BottomRight: Story;
63
+ export declare const ControlledTooltip: {
64
+ args: {
65
+ position: string;
66
+ tooltipType: string;
67
+ backgroundColor: string;
68
+ textColor: string;
69
+ showTooltip: boolean;
70
+ };
71
+ };
72
+ export declare const CustomArrowPosition: {
73
+ args: {
74
+ position: string;
75
+ tooltipType: string;
76
+ backgroundColor: string;
77
+ textColor: string;
78
+ arrowPosition: {
79
+ top: string;
80
+ left: string;
81
+ transform: string;
82
+ marginLeft: string;
83
+ };
84
+ };
85
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/themes/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,MAAM,EAAE,KAwHb,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/themes/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,KAAK,EAAE,KAEZ,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/themes/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,IAA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,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,572 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as React$1 from 'react';
3
+ import React__default, { ReactNode, InputHTMLAttributes, FC } from 'react';
4
+
5
+ interface Color {
6
+ primary: Primary;
7
+ secondary: Secondary;
8
+ tertiary: Tertiary;
9
+ accent: Accent;
10
+ link: Link;
11
+ error: Error;
12
+ success: Success;
13
+ black: Black;
14
+ white: White;
15
+ grey: Grey;
16
+ warning: Warning;
17
+ disabled: Disabled;
18
+ text: Text$1;
19
+ input: Input$1;
20
+ green: Green;
21
+ blue: Blue;
22
+ red: Red;
23
+ scrollbar: Scrollbar;
24
+ [key: string]: any;
25
+ }
26
+ interface Accent {
27
+ accent500: string;
28
+ accent100: string;
29
+ accent75: string;
30
+ accent50: string;
31
+ accent15: string;
32
+ }
33
+ interface Black {
34
+ blackHigh: string;
35
+ blackMedium: string;
36
+ blackLow: string;
37
+ black: string;
38
+ }
39
+ interface Disabled {
40
+ disabledHigh: string;
41
+ disabledMedium: string;
42
+ disabledLow: string;
43
+ }
44
+ interface Error {
45
+ errorHigh: string;
46
+ errorMedium: string;
47
+ errorLow: string;
48
+ errorLower: string;
49
+ }
50
+ interface Grey {
51
+ greyHigh: string;
52
+ greyMedium: string;
53
+ greyLow: string;
54
+ grey90: string;
55
+ grey30: string;
56
+ grey20: string;
57
+ grey5: string;
58
+ grey500: string;
59
+ }
60
+ interface Link {
61
+ linkHigh: string;
62
+ linkMedium: string;
63
+ linkLow: string;
64
+ }
65
+ interface Primary {
66
+ primary100: string;
67
+ primary90: string;
68
+ primary80: string;
69
+ primary70: string;
70
+ primary60: string;
71
+ primary50: string;
72
+ primary40: string;
73
+ primary30: string;
74
+ primary20: string;
75
+ primary10: string;
76
+ primary5: string;
77
+ }
78
+ interface Secondary {
79
+ secondary100: string;
80
+ secondary90: string;
81
+ secondary80: string;
82
+ secondary70: string;
83
+ secondary60: string;
84
+ secondary50: string;
85
+ secondary40: string;
86
+ secondary30: string;
87
+ secondary20: string;
88
+ secondary10: string;
89
+ secondary5: string;
90
+ }
91
+ interface Success {
92
+ successDark: string;
93
+ successMedium: string;
94
+ successLow: string;
95
+ }
96
+ interface Tertiary {
97
+ tertiary100: string;
98
+ tertiary90: string;
99
+ tertiary80: string;
100
+ tertiary70: string;
101
+ tertiary60: string;
102
+ tertiary50: string;
103
+ tertiary40: string;
104
+ tertiary30: string;
105
+ tertiary20: string;
106
+ tertiary10: string;
107
+ tertiary5: string;
108
+ }
109
+ interface Warning {
110
+ warningHigh: string;
111
+ warningMedium: string;
112
+ warningLow: string;
113
+ }
114
+ interface White {
115
+ white: string;
116
+ }
117
+ interface Text$1 {
118
+ primary: string;
119
+ }
120
+ interface Input$1 {
121
+ focused: string;
122
+ focusedShadow: string;
123
+ focusedShadowError: string;
124
+ }
125
+ interface Green {
126
+ green40: string;
127
+ green10: string;
128
+ green5: string;
129
+ }
130
+ interface Blue {
131
+ blue5: string;
132
+ }
133
+ interface Red {
134
+ red050: string;
135
+ }
136
+ interface Scrollbar {
137
+ track: string;
138
+ thumb: string;
139
+ }
140
+
141
+ declare namespace ButtonComponent {
142
+ export type Props = {
143
+ label?: string;
144
+ buttontype?: ButtonType;
145
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
146
+ width?: number;
147
+ disabled?: boolean;
148
+ icon?: React.ReactNode;
149
+ variant?: ButtonVariant;
150
+ cursor?: string;
151
+ };
152
+ export enum Variant {
153
+ outline = "outline",
154
+ filled = "filled",
155
+ light = "light",
156
+ subtle = "subtle"
157
+ }
158
+ type ButtonVariant = keyof typeof Variant;
159
+ export type ButtonWrapper = {
160
+ buttontype: ButtonType;
161
+ disabled?: boolean;
162
+ cursor?: string;
163
+ variant: ButtonVariant;
164
+ width?: number;
165
+ };
166
+ export enum ButtonEnum {
167
+ primary = 0,
168
+ secondary = 1,
169
+ error = 2,
170
+ success = 3,
171
+ warning = 4,
172
+ tertiary = 5
173
+ }
174
+ export type ButtonColors = {
175
+ primary: string;
176
+ secondary: string;
177
+ error: string;
178
+ success: string;
179
+ warning: string;
180
+ tertiary: string;
181
+ };
182
+ export type ButtonType = keyof typeof ButtonEnum;
183
+ export type SwitchButtonStyles = {
184
+ disabled?: boolean;
185
+ theme: Color;
186
+ buttontype: ButtonType;
187
+ variant: ButtonVariant;
188
+ };
189
+ export {};
190
+ }
191
+
192
+ declare const Button: (props: ButtonComponent.Props) => react_jsx_runtime.JSX.Element;
193
+
194
+ type Options = {
195
+ id: number;
196
+ icon: ReactNode;
197
+ title: string;
198
+ };
199
+ type StepperProps = {
200
+ options: Options[];
201
+ activeStep: number;
202
+ onStepChange: (step: number) => void;
203
+ direction: 'row' | 'column';
204
+ hasBottom: boolean;
205
+ bottomOptions: Options[];
206
+ };
207
+ declare function Stepper({ options, activeStep, onStepChange, direction, hasBottom, bottomOptions }: StepperProps): react_jsx_runtime.JSX.Element;
208
+
209
+ declare namespace TextComponent {
210
+ type Props = ParagraphTypes & {
211
+ onClick?: (event: React.MouseEvent<HTMLParagraphElement, MouseEvent>) => void;
212
+ children?: React.ReactNode;
213
+ type?: Type;
214
+ };
215
+ type Category = "subtitle" | "subtitle2" | "body" | "bodyEm" | "bodySm" | "button" | "prefix" | "caption" | "link" | "title";
216
+ type Type = "error" | "success";
217
+ type ParagraphTypes = {
218
+ category?: Category;
219
+ color?: string;
220
+ type?: Type;
221
+ };
222
+ }
223
+
224
+ declare const Text: (props: TextComponent.Props) => react_jsx_runtime.JSX.Element;
225
+
226
+ type DataProps = {
227
+ titleText: string;
228
+ description: string;
229
+ };
230
+ type SliderProps = {
231
+ autoPlay: boolean;
232
+ content?: DataProps[];
233
+ interval: number;
234
+ contentWidth?: number;
235
+ dotsAlignment?: string;
236
+ dotsActiveColor?: string;
237
+ dotsBackgroundColor?: string;
238
+ };
239
+ declare const Slider: (props: SliderProps) => react_jsx_runtime.JSX.Element;
240
+
241
+ declare namespace Checkbox$1 {
242
+ type Props = {
243
+ name?: string;
244
+ label?: React.ReactNode | string;
245
+ onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
246
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
247
+ color?: string;
248
+ disabled?: boolean;
249
+ defaultChecked?: boolean;
250
+ checked?: boolean;
251
+ variant?: CheckboxVariant;
252
+ };
253
+ enum Variant {
254
+ default = "default",
255
+ line = "line"
256
+ }
257
+ type CheckboxVariant = keyof typeof Variant;
258
+ type CheckboxContainer = {
259
+ label?: string;
260
+ disabled?: boolean;
261
+ color: string;
262
+ };
263
+ }
264
+
265
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Checkbox$1.Props & React$1.RefAttributes<HTMLInputElement>>;
266
+
267
+ type ContainerWidth = "fit-content" | string | "full";
268
+ type FeedbackSectionAlignment = "left" | "center" | "right";
269
+ type ContentAlignment = "left" | "center" | "right";
270
+
271
+ interface OTPChangeHandler<T> {
272
+ (otp: string, event: T): void;
273
+ }
274
+
275
+ type OTPInputProps = {
276
+ value?: string;
277
+ length?: number;
278
+ type?: "number" | "text";
279
+ autofocus?: boolean;
280
+ onChange?: OTPChangeHandler<
281
+ React.ChangeEvent | React.KeyboardEvent | React.ClipboardEvent
282
+ >;
283
+ onOTPComplete?: (otp: string) => void;
284
+ hasError?: boolean;
285
+ inputWidth?: string | number;
286
+ inputHeight?: string | number;
287
+ feedbackSectionAlignment?: FeedbackSectionAlignment;
288
+ containerWidth?: ContainerWidth;
289
+ contentAlignment?: ContentAlignment;
290
+ feedbackSection?: React.ReactNode;
291
+ };
292
+
293
+ type OTPObj = {
294
+ [key: string | number]: string;
295
+ };
296
+
297
+ declare namespace InputComponent {
298
+ type Props = InputHTMLAttributes<HTMLInputElement> & {
299
+ onClick?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
300
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
301
+ disabled?: boolean;
302
+ value?: string | number | null;
303
+ name?: string;
304
+ type?: string;
305
+ required?: boolean;
306
+ readOnly?: boolean;
307
+ label?: string;
308
+ errorMessage?: string;
309
+ error?: boolean;
310
+ id?: string;
311
+ helperText?: string;
312
+ onBlur?: () => void;
313
+ onFocus?: () => void;
314
+ rightSection?: React.ReactNode;
315
+ leftSection?: React.ReactNode;
316
+ };
317
+ type Astrik = {
318
+ disabled: boolean;
319
+ };
320
+ type InputWrapper = {
321
+ isFocused?: boolean;
322
+ error?: boolean;
323
+ disabled?: boolean;
324
+ };
325
+ type SwitchInputWrapperStyles = InputComponent.InputWrapper & {
326
+ theme: Color;
327
+ };
328
+ type SwitchInputStyles = {
329
+ theme: Color;
330
+ disabled?: boolean;
331
+ };
332
+ type InputSection = {
333
+ paddingRight?: number;
334
+ paddingLeft?: number;
335
+ };
336
+ }
337
+
338
+ declare const Input: FC<InputComponent.Props>;
339
+
340
+ declare namespace RowComponent {
341
+ type Props = RowTypes & {
342
+ children?: React.ReactNode;
343
+ };
344
+ type RowTypes = {};
345
+ }
346
+ declare namespace ColComponent {
347
+ type Props = ColTypes & {
348
+ children?: React.ReactNode;
349
+ style?: any;
350
+ };
351
+ type ColTypes = {
352
+ xxsm?: number;
353
+ xsm?: number;
354
+ sm?: number;
355
+ md?: number;
356
+ lg?: number;
357
+ xl?: number;
358
+ xxl?: number;
359
+ };
360
+ }
361
+
362
+ declare function Row(props: RowComponent.Props): react_jsx_runtime.JSX.Element;
363
+
364
+ declare function Col({ xxsm, xsm, sm, md, lg, xl, xxl, ...props }: ColComponent.Props): react_jsx_runtime.JSX.Element;
365
+
366
+ type XAlign = "left" | "center" | "right";
367
+ type YAlign = "top" | "bottom";
368
+
369
+ type ToastPosition = `${YAlign}-${XAlign}`;
370
+
371
+ type IToastProviderConfig = {
372
+ timeout?: number;
373
+ position?: ToastPosition;
374
+ children: React.ReactNode;
375
+ offsetX?: number;
376
+ offsetY?: number;
377
+ };
378
+
379
+ declare const ToastProvider: ({ children, position, timeout, offsetX, offsetY }: IToastProviderConfig) => react_jsx_runtime.JSX.Element;
380
+
381
+ declare const useToast: (hookConfig?: Omit<IToastProviderConfig, 'children'>) => {
382
+ [key: string]: (message: string, config?: {
383
+ timeout?: number;
384
+ }) => void;
385
+ };
386
+
387
+ declare const useOutsideClick: (callback: any) => React__default.MutableRefObject<HTMLDivElement>;
388
+
389
+ declare function useDebouncedValue(value: string | number, timeout?: number): string | number;
390
+
391
+ declare const useToggle: (defaultIsActive?: boolean) => {
392
+ isActive: boolean;
393
+ toggle: () => void;
394
+ close: () => void;
395
+ open: () => void;
396
+ };
397
+
398
+ declare namespace CountryCodeInputComponent {
399
+ export type Props = CountryCodeInputTypes & {
400
+ children?: React.ReactNode;
401
+ };
402
+ type SelectedCountryType = {
403
+ dial_code?: string;
404
+ code?: string;
405
+ };
406
+ type InputType = 'normal' | 'error';
407
+ export type CountryCodeInputTypes = {
408
+ label?: string;
409
+ value?: number;
410
+ selectedCountry?: SelectedCountryType;
411
+ type?: InputType;
412
+ message?: string;
413
+ setSelectedCountry?: any;
414
+ setValue?: any;
415
+ showCountryCode?: boolean;
416
+ };
417
+ export {};
418
+ }
419
+
420
+ declare const CountryCodeInput: ({ label, value, setValue, selectedCountry, setSelectedCountry, type, message, showCountryCode, }: CountryCodeInputComponent.Props) => react_jsx_runtime.JSX.Element;
421
+
422
+ declare namespace TooltipComponent {
423
+ type Props = TooltipTypes & {
424
+ children?: React.ReactNode;
425
+ };
426
+ type Position = 'top-center' | 'bottom-center' | 'left-center' | 'right-center' | 'bottom-left' | 'top-left' | 'top-right' | 'bottom-right';
427
+ type ToolType = 'text' | 'content';
428
+ type TooltipTypes = {
429
+ position?: Position;
430
+ backgroundColor?: string;
431
+ tooltipType?: ToolType;
432
+ textColor?: string;
433
+ tooltipContent?: any;
434
+ top?: string;
435
+ left?: string;
436
+ width?: string;
437
+ height?: string;
438
+ showTooltip?: boolean;
439
+ borderRadius?: string;
440
+ };
441
+ }
442
+
443
+ declare const Tooltip: (props: TooltipComponent.Props) => react_jsx_runtime.JSX.Element;
444
+
445
+ type Option = {
446
+ label: string;
447
+ value: string | null;
448
+ [key: string]: any;
449
+ };
450
+ type Props = {
451
+ maxHeight?: number;
452
+ width?: number | string;
453
+ children?: React__default.ReactNode;
454
+ offsetTop?: string;
455
+ offsetLeft?: string;
456
+ offsetRight?: string;
457
+ opened?: boolean;
458
+ onChange?: React__default.Dispatch<React__default.SetStateAction<boolean>>;
459
+ onDropdownVisibilityChange?: () => void;
460
+ data?: Option[];
461
+ onSelect?: (option: Option, index: number) => void;
462
+ itemComponent?: React__default.FunctionComponent<Option & {
463
+ index: number;
464
+ }>;
465
+ showSeparator?: boolean;
466
+ collapseOnSelect?: boolean;
467
+ toggleOnTargetClick?: boolean;
468
+ inputLeftSection?: React__default.ReactNode;
469
+ inputRightSection?: React__default.ReactNode;
470
+ searchPlaceholder?: string;
471
+ searchable?: boolean;
472
+ showScrollbar?: boolean;
473
+ };
474
+ declare const DropdownSelect: (props: Props) => react_jsx_runtime.JSX.Element;
475
+
476
+ declare namespace IconLabelComponent {
477
+ type Props = IconLabelTypes & {
478
+ children?: React.ReactNode;
479
+ };
480
+ type IconLabelTypes = {
481
+ icon?: any;
482
+ label?: string;
483
+ };
484
+ }
485
+
486
+ declare function IconLabel(props: IconLabelComponent.Props): react_jsx_runtime.JSX.Element;
487
+
488
+ interface ICrumb {
489
+ name: string;
490
+ path: string;
491
+ }
492
+ declare const Breadcrumb: ({ crumbs, showFavoriteButton, onCrumbClick, onFavoriteClick, }: {
493
+ crumbs: ICrumb[];
494
+ showFavoriteButton?: boolean;
495
+ onCrumbClick?: (crumb: ICrumb) => void;
496
+ onFavoriteClick?: (crumb: ICrumb) => void;
497
+ }) => react_jsx_runtime.JSX.Element;
498
+
499
+ declare namespace AvatarDeclarations {
500
+ type Size = number | string | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
501
+ interface SizesObj {
502
+ [key: Size]: {
503
+ avatarSize: number;
504
+ fontSize: number;
505
+ };
506
+ }
507
+ interface Props {
508
+ src?: string;
509
+ alt?: string;
510
+ backgroundColor?: 'random' | string;
511
+ size?: Size;
512
+ fontSize?: string | number;
513
+ fontColor?: string;
514
+ objectFit?: 'cover' | 'contain';
515
+ avatarButton?: React.ReactNode;
516
+ onClick?: (params: Props) => void;
517
+ avatarButtonRightOffset?: number;
518
+ avatarButtonBottomOffset?: number;
519
+ [key: string]: any;
520
+ }
521
+ type Image = HTMLImageElement | null;
522
+ interface StyledAvatarContainer {
523
+ background: string;
524
+ size: Size;
525
+ }
526
+ interface StyledAvatarImage {
527
+ objectFit: 'cover' | 'contain';
528
+ }
529
+ interface StyledAvatarPlaceholder {
530
+ fontSize: string;
531
+ fontColor: string;
532
+ }
533
+ interface StyledAvatarButton {
534
+ rightOffset: string;
535
+ bottomOffset: string;
536
+ }
537
+ }
538
+
539
+ declare const Avatar: (props: AvatarDeclarations.Props) => react_jsx_runtime.JSX.Element;
540
+
541
+ declare namespace AvatarGroupDelcarations {
542
+ interface Props {
543
+ borderWidth?: number;
544
+ borderColor?: string;
545
+ boxShadow?: string;
546
+ avatars?: AvatarDeclarations.Props[];
547
+ size?: AvatarDeclarations.Size;
548
+ }
549
+ interface StyledAvatarContainer {
550
+ height: string;
551
+ }
552
+ interface StyledAvatarItem {
553
+ borderWidth?: string;
554
+ borderColor?: string;
555
+ boxShadow?: string;
556
+ index?: number;
557
+ }
558
+ }
559
+
560
+ declare const AvatarGroup: (props: AvatarGroupDelcarations.Props) => react_jsx_runtime.JSX.Element;
561
+
562
+ declare namespace SelectorComponent {
563
+ type Props = {
564
+ content: any;
565
+ activeKey?: string;
566
+ onClick?: any;
567
+ };
568
+ }
569
+
570
+ declare const Selector: ({ content, activeKey, onClick }: SelectorComponent.Props) => react_jsx_runtime.JSX.Element;
571
+
572
+ export { Avatar, AvatarGroup, Breadcrumb, Button, Checkbox, Col, ContainerWidth, ContentAlignment, CountryCodeInput, DataProps, DropdownSelect, FeedbackSectionAlignment, IconLabel, Input, OTPChangeHandler, OTPInputProps, OTPObj, Row, Selector, Slider, SliderProps, Stepper, StepperProps, Text, ToastProvider, Tooltip, useDebouncedValue, useOutsideClick, useToast, useToggle };