react-asc 25.10.0 → 25.10.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 (301) hide show
  1. package/index.d.ts +1090 -0
  2. package/index.es.js +7211 -0
  3. package/index.js +7346 -0
  4. package/lib/components/Alert/Alert.d.ts +12 -0
  5. package/lib/components/Alert/index.d.ts +1 -0
  6. package/lib/components/AppBar/AppBar.d.ts +11 -0
  7. package/lib/components/AppBar/AppBarTitle.d.ts +6 -0
  8. package/lib/components/AppBar/index.d.ts +2 -0
  9. package/lib/components/AutoComplete/AutoComplete.d.ts +18 -0
  10. package/lib/components/AutoComplete/index.d.ts +1 -0
  11. package/lib/components/Backdrop/Backdrop.d.ts +6 -0
  12. package/lib/components/Backdrop/index.d.ts +1 -0
  13. package/lib/components/Badge/Badge.d.ts +9 -0
  14. package/lib/components/Badge/index.d.ts +1 -0
  15. package/lib/components/Breadcrumb/Breadcrumb.d.ts +6 -0
  16. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  17. package/lib/components/Breadcrumb/index.d.ts +2 -0
  18. package/lib/components/Button/Button.d.ts +14 -0
  19. package/lib/components/Button/ButtonContext.d.ts +7 -0
  20. package/lib/components/Button/index.d.ts +2 -0
  21. package/lib/components/ButtonGroup/ButtonGroup.d.ts +6 -0
  22. package/lib/components/ButtonGroup/index.d.ts +1 -0
  23. package/lib/components/Card/Card.d.ts +6 -0
  24. package/lib/components/Card/CardBody.d.ts +2 -0
  25. package/lib/components/Card/CardFooter.d.ts +2 -0
  26. package/lib/components/Card/CardImage.d.ts +2 -0
  27. package/lib/components/Card/CardSubtitle.d.ts +2 -0
  28. package/lib/components/Card/CardText.d.ts +2 -0
  29. package/lib/components/Card/CardTitle.d.ts +6 -0
  30. package/lib/components/Card/index.d.ts +7 -0
  31. package/lib/components/Checkbox/Checkbox.d.ts +7 -0
  32. package/lib/components/Checkbox/index.d.ts +1 -0
  33. package/lib/components/Chip/Chip.d.ts +11 -0
  34. package/lib/components/Chip/index.d.ts +1 -0
  35. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
  36. package/lib/components/ConditionalWrapper/index.d.ts +1 -0
  37. package/lib/components/CssTransition/CssTransition.d.ts +8 -0
  38. package/lib/components/CssTransition/index.d.ts +1 -0
  39. package/lib/components/DatePicker/DatePicker.d.ts +10 -0
  40. package/lib/components/DatePicker/index.d.ts +1 -0
  41. package/lib/components/DateSelect/DateSelect.d.ts +17 -0
  42. package/lib/components/DateSelect/DaySelect.d.ts +12 -0
  43. package/lib/components/DateSelect/MonthSelect.d.ts +10 -0
  44. package/lib/components/DateSelect/YearSelect.d.ts +12 -0
  45. package/lib/components/DateSelect/index.d.ts +4 -0
  46. package/lib/components/Drawer/Drawer.d.ts +9 -0
  47. package/lib/components/Drawer/index.d.ts +1 -0
  48. package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +10 -0
  49. package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -0
  50. package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +8 -0
  51. package/lib/components/ExpansionPanel/index.d.ts +3 -0
  52. package/lib/components/FileInput/FileInput.d.ts +5 -0
  53. package/lib/components/FileInput/index.d.ts +1 -0
  54. package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +13 -0
  55. package/lib/components/FloatingActionButton/index.d.ts +1 -0
  56. package/lib/components/Form/Form.d.ts +40 -0
  57. package/lib/components/Form/FormError.d.ts +8 -0
  58. package/lib/components/Form/FormGroup.d.ts +7 -0
  59. package/lib/components/Form/FormHint/FormHint.d.ts +2 -0
  60. package/lib/components/Form/FormHint/index.d.ts +1 -0
  61. package/lib/components/Form/FormInput/FormInput.d.ts +29 -0
  62. package/lib/components/Form/FormInput/index.d.ts +1 -0
  63. package/lib/components/Form/FormLabel/FormLabel.d.ts +2 -0
  64. package/lib/components/Form/FormLabel/index.d.ts +1 -0
  65. package/lib/components/Form/form.interfaces.d.ts +40 -0
  66. package/lib/components/Form/form.models.d.ts +12 -0
  67. package/lib/components/Form/form.types.d.ts +2 -0
  68. package/lib/components/Form/index.d.ts +10 -0
  69. package/lib/components/Form/validators/EmailValidtor.d.ts +1 -0
  70. package/lib/components/Form/validators/IsEmptyValidator.d.ts +1 -0
  71. package/lib/components/Form/validators/IsEqualValidator.d.ts +1 -0
  72. package/lib/components/Form/validators/MaxValidator.d.ts +1 -0
  73. package/lib/components/Form/validators/MinValidator.d.ts +1 -0
  74. package/lib/components/Form/validators/index.d.ts +5 -0
  75. package/lib/components/Grid/Column/Column.d.ts +10 -0
  76. package/lib/components/Grid/Column/index.d.ts +1 -0
  77. package/lib/components/Grid/Row/Row.d.ts +5 -0
  78. package/lib/components/Grid/Row/index.d.ts +1 -0
  79. package/lib/components/Grid/index.d.ts +2 -0
  80. package/lib/components/Icon/Icon.d.ts +8 -0
  81. package/lib/components/Icon/index.d.ts +1 -0
  82. package/lib/components/IconButton/IconButton.d.ts +12 -0
  83. package/lib/components/IconButton/index.d.ts +1 -0
  84. package/lib/components/Link/Link.d.ts +2 -0
  85. package/lib/components/Link/Link.test.d.ts +1 -0
  86. package/lib/components/Link/index.d.ts +1 -0
  87. package/lib/components/List/List.d.ts +5 -0
  88. package/lib/components/List/ListItem.d.ts +9 -0
  89. package/lib/components/List/ListItemAction.d.ts +2 -0
  90. package/lib/components/List/ListItemAvatar.d.ts +6 -0
  91. package/lib/components/List/ListItemIcon.d.ts +6 -0
  92. package/lib/components/List/ListItemText.d.ts +8 -0
  93. package/lib/components/List/index.d.ts +6 -0
  94. package/lib/components/List/list.models.d.ts +8 -0
  95. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +2 -0
  96. package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +6 -0
  97. package/lib/components/LoadingIndicator/index.d.ts +3 -0
  98. package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +12 -0
  99. package/lib/components/Menu/Menu.d.ts +12 -0
  100. package/lib/components/Menu/MenuBody.d.ts +13 -0
  101. package/lib/components/Menu/MenuContext.d.ts +6 -0
  102. package/lib/components/Menu/MenuDivider.d.ts +2 -0
  103. package/lib/components/Menu/MenuItem.d.ts +3 -0
  104. package/lib/components/Menu/MenuToggle.d.ts +6 -0
  105. package/lib/components/Menu/index.d.ts +6 -0
  106. package/lib/components/Menu/menu.types.d.ts +1 -0
  107. package/lib/components/Modal/GlobalModal.d.ts +21 -0
  108. package/lib/components/Modal/Modal.d.ts +15 -0
  109. package/lib/components/Modal/ModalBody.d.ts +6 -0
  110. package/lib/components/Modal/ModalFooter.d.ts +6 -0
  111. package/lib/components/Modal/ModalHeader.d.ts +8 -0
  112. package/lib/components/Modal/index.d.ts +8 -0
  113. package/lib/components/Modal/modal.enum.d.ts +10 -0
  114. package/lib/components/Modal/modal.interfaces.d.ts +12 -0
  115. package/lib/components/Modal/modal.service.d.ts +22 -0
  116. package/lib/components/NumberSelect/NumberSelect.d.ts +12 -0
  117. package/lib/components/NumberSelect/index.d.ts +1 -0
  118. package/lib/components/Portal/Portal.d.ts +7 -0
  119. package/lib/components/Portal/index.d.ts +1 -0
  120. package/lib/components/ProgressBar/ProgressBar.d.ts +9 -0
  121. package/lib/components/ProgressBar/index.d.ts +1 -0
  122. package/lib/components/Select/Select.d.ts +16 -0
  123. package/lib/components/Select/index.d.ts +1 -0
  124. package/lib/components/Sidebar/Sidebar.d.ts +9 -0
  125. package/lib/components/Sidebar/index.d.ts +2 -0
  126. package/lib/components/Sidebar/sidebar.interfaces.d.ts +9 -0
  127. package/lib/components/Sidebar/sidebar.models.d.ts +11 -0
  128. package/lib/components/Skeleton/SkeletonAvatar.d.ts +5 -0
  129. package/lib/components/Skeleton/SkeletonFooter.d.ts +5 -0
  130. package/lib/components/Skeleton/SkeletonImage.d.ts +5 -0
  131. package/lib/components/Skeleton/SkeletonText.d.ts +5 -0
  132. package/lib/components/Skeleton/index.d.ts +4 -0
  133. package/lib/components/Snackbar/Snackbar.d.ts +9 -0
  134. package/lib/components/Snackbar/index.d.ts +2 -0
  135. package/lib/components/Snackbar/snackbar.service.d.ts +20 -0
  136. package/lib/components/SpeedDial/SpeedDial.d.ts +7 -0
  137. package/lib/components/SpeedDial/SpeedDialAction.d.ts +9 -0
  138. package/lib/components/SpeedDial/SpeedDialActions.d.ts +2 -0
  139. package/lib/components/SpeedDial/SpeedDialIcon.d.ts +6 -0
  140. package/lib/components/SpeedDial/index.d.ts +3 -0
  141. package/lib/components/Stepper/Dot/Dot.d.ts +7 -0
  142. package/lib/components/Stepper/Dot/index.d.ts +1 -0
  143. package/lib/components/Stepper/Step/Step.d.ts +20 -0
  144. package/lib/components/Stepper/Step/index.d.ts +1 -0
  145. package/lib/components/Stepper/StepConnector/StepConnector.d.ts +6 -0
  146. package/lib/components/Stepper/StepPanel/StepPanel.d.ts +5 -0
  147. package/lib/components/Stepper/Stepper.d.ts +20 -0
  148. package/lib/components/Stepper/StepperActions/StepperActions.d.ts +14 -0
  149. package/lib/components/Stepper/StepperActions/index.d.ts +1 -0
  150. package/lib/components/Stepper/index.d.ts +4 -0
  151. package/lib/components/Table/Table.d.ts +8 -0
  152. package/lib/components/Table/TableBody.d.ts +2 -0
  153. package/lib/components/Table/TableCell.d.ts +5 -0
  154. package/lib/components/Table/TableContext.d.ts +6 -0
  155. package/lib/components/Table/TableHead.d.ts +2 -0
  156. package/lib/components/Table/TableRow.d.ts +2 -0
  157. package/lib/components/Table/index.d.ts +5 -0
  158. package/lib/components/Tabs/Tab.d.ts +13 -0
  159. package/lib/components/Tabs/TabContext.d.ts +8 -0
  160. package/lib/components/Tabs/TabIndicator.d.ts +10 -0
  161. package/lib/components/Tabs/TabPanel.d.ts +6 -0
  162. package/lib/components/Tabs/Tabs.d.ts +13 -0
  163. package/lib/components/Tabs/index.d.ts +3 -0
  164. package/lib/components/Textarea/Textarea.d.ts +5 -0
  165. package/lib/components/Textarea/index.d.ts +1 -0
  166. package/lib/components/TimeSelect/HourSelect.d.ts +10 -0
  167. package/lib/components/TimeSelect/MilliSecondSelect.d.ts +11 -0
  168. package/lib/components/TimeSelect/MinuteSelect.d.ts +10 -0
  169. package/lib/components/TimeSelect/SecondSelect.d.ts +10 -0
  170. package/lib/components/TimeSelect/TimeSelect.d.ts +20 -0
  171. package/lib/components/TimeSelect/index.d.ts +5 -0
  172. package/lib/components/Tooltip/Tooltip.d.ts +10 -0
  173. package/lib/components/Tooltip/index.d.ts +2 -0
  174. package/lib/components/Tooltip/tooltip.enums.d.ts +6 -0
  175. package/lib/components/TreeView/TreeItem.d.ts +14 -0
  176. package/lib/components/TreeView/TreeView.d.ts +2 -0
  177. package/lib/components/TreeView/index.d.ts +2 -0
  178. package/lib/components/Typography/Typography.d.ts +12 -0
  179. package/lib/components/Typography/index.d.ts +1 -0
  180. package/lib/components/component.enums.d.ts +26 -0
  181. package/lib/components/component.interfaces.d.ts +18 -0
  182. package/lib/components/index.d.ts +46 -0
  183. package/lib/hooks/index.d.ts +8 -0
  184. package/lib/hooks/useConstructor.d.ts +1 -0
  185. package/lib/hooks/useCssClasses.d.ts +1 -0
  186. package/lib/hooks/useDebounce.d.ts +2 -0
  187. package/lib/hooks/useHover.d.ts +2 -0
  188. package/lib/hooks/useMobileDetect.d.ts +3 -0
  189. package/lib/hooks/useOnDestroy.d.ts +1 -0
  190. package/lib/hooks/usePrevious.d.ts +1 -0
  191. package/lib/hooks/useWindowSize.d.ts +5 -0
  192. package/lib/icons/CaretDownSolidIcon.d.ts +2 -0
  193. package/lib/icons/CheckSolidIcon.d.ts +2 -0
  194. package/lib/icons/CheckSquareRegularIcon.d.ts +2 -0
  195. package/lib/icons/ChevronDownSolidIcon.d.ts +2 -0
  196. package/lib/icons/ChevronLeftSolidIcon.d.ts +2 -0
  197. package/lib/icons/ChevronRightSolidIcon.d.ts +2 -0
  198. package/lib/icons/ChevronUpSolidIcon.d.ts +2 -0
  199. package/lib/icons/CircleSolidIcon.d.ts +2 -0
  200. package/lib/icons/HomeSolidIcon.d.ts +2 -0
  201. package/lib/icons/PlusSolidIcon.d.ts +2 -0
  202. package/lib/icons/SpinnerSolidIcon.d.ts +2 -0
  203. package/lib/icons/SquareRegularIcon.d.ts +2 -0
  204. package/lib/icons/TimesCircleSolidIcon.d.ts +2 -0
  205. package/lib/icons/TimesSolidIcon.d.ts +2 -0
  206. package/lib/icons/index.d.ts +14 -0
  207. package/lib/index.d.ts +6 -0
  208. package/lib/interfaces/index.d.ts +1 -0
  209. package/lib/interfaces/interfaces.d.ts +3 -0
  210. package/lib/services/clipboard.service.d.ts +5 -0
  211. package/lib/services/file.service.d.ts +14 -0
  212. package/lib/services/index.d.ts +4 -0
  213. package/lib/services/local.service.d.ts +10 -0
  214. package/lib/services/logger.service.d.ts +25 -0
  215. package/lib/types/index.d.ts +1 -0
  216. package/lib/types/nullable.type.d.ts +1 -0
  217. package/package.json +1 -1
  218. package/vite.config.d.ts +2 -0
  219. package/apple-touch-icon.png +0 -0
  220. package/assets/index-5bb661b4.js +0 -100
  221. package/assets/index-b3809a2b.css +0 -1
  222. package/assets/workbox-window.prod.es5-a7b12eab.js +0 -2
  223. package/changelog.md +0 -1510
  224. package/favicon-16x16.png +0 -0
  225. package/favicon-32x32.png +0 -0
  226. package/favicon.ico +0 -0
  227. package/favicon.svg +0 -23
  228. package/index.html +0 -24
  229. package/manifest.webmanifest +0 -1
  230. package/pwa-192x192.png +0 -0
  231. package/pwa-512x512.png +0 -0
  232. package/robots.txt +0 -3
  233. package/showcase/alert.description.md +0 -1
  234. package/showcase/alert.md +0 -14
  235. package/showcase/appbar.description.md +0 -1
  236. package/showcase/appbar.md +0 -8
  237. package/showcase/autocomplete.description.md +0 -1
  238. package/showcase/autocomplete.md +0 -49
  239. package/showcase/backdrop.description.md +0 -1
  240. package/showcase/backdrop.md +0 -11
  241. package/showcase/badge.description.md +0 -1
  242. package/showcase/badge.md +0 -8
  243. package/showcase/breadcrumb.description.md +0 -1
  244. package/showcase/breadcrumb.md +0 -5
  245. package/showcase/button.description.md +0 -1
  246. package/showcase/button.md +0 -44
  247. package/showcase/buttongroup.description.md +0 -1
  248. package/showcase/buttongroup.md +0 -5
  249. package/showcase/card.description.md +0 -1
  250. package/showcase/card.md +0 -9
  251. package/showcase/checkbox.description.md +0 -1
  252. package/showcase/checkbox.md +0 -1
  253. package/showcase/chip.description.md +0 -1
  254. package/showcase/chip.md +0 -3
  255. package/showcase/csstransition.md +0 -38
  256. package/showcase/dateselect.md +0 -8
  257. package/showcase/drawer.md +0 -13
  258. package/showcase/expansionpanel.md +0 -40
  259. package/showcase/fileinput.md +0 -1
  260. package/showcase/floatingactionbutton.md +0 -4
  261. package/showcase/form.md +0 -6
  262. package/showcase/grid.md +0 -5
  263. package/showcase/hookuseconstructor.description.md +0 -1
  264. package/showcase/hookuseconstructor.md +0 -5
  265. package/showcase/hookusedebounce.description.md +0 -3
  266. package/showcase/hookusedebounce.md +0 -17
  267. package/showcase/hookusehover.md +0 -11
  268. package/showcase/hookusemobiledetect.description.md +0 -2
  269. package/showcase/hookusemobiledetect.md +0 -11
  270. package/showcase/hookuseondestroy.description.md +0 -1
  271. package/showcase/hookuseondestroy.md +0 -5
  272. package/showcase/hookuseprevious.description.md +0 -1
  273. package/showcase/hookuseprevious.md +0 -14
  274. package/showcase/hookusewindowsize.description.md +0 -2
  275. package/showcase/hookusewindowsize.md +0 -11
  276. package/showcase/icon.md +0 -3
  277. package/showcase/iconbutton.md +0 -5
  278. package/showcase/link.md +0 -1
  279. package/showcase/list.md +0 -98
  280. package/showcase/loadingindicator.md +0 -38
  281. package/showcase/menu.md +0 -17
  282. package/showcase/modal.md +0 -46
  283. package/showcase/numberselect.md +0 -20
  284. package/showcase/progressbar.description.md +0 -1
  285. package/showcase/progressbar.md +0 -3
  286. package/showcase/select.md +0 -20
  287. package/showcase/servicelogger.md +0 -9
  288. package/showcase/skeleton.description.md +0 -5
  289. package/showcase/skeleton.md +0 -5
  290. package/showcase/snackbar.md +0 -22
  291. package/showcase/speeddial.md +0 -43
  292. package/showcase/stepper.description.md +0 -1
  293. package/showcase/stepper.md +0 -40
  294. package/showcase/table.md +0 -30
  295. package/showcase/tabs.md +0 -35
  296. package/showcase/timeselect.md +0 -1
  297. package/showcase/tooltip.md +0 -6
  298. package/showcase/treeview.md +0 -12
  299. package/showcase/typography.md +0 -6
  300. package/sw.js +0 -1
  301. package/workbox-fa446783.js +0 -1
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IContainerProps extends React.ComponentProps<'div'> {
3
+ direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
4
+ }
5
+ export declare const Row: ({ children, direction, className, ...rest }: IContainerProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Row';
@@ -0,0 +1,2 @@
1
+ export * from './Column';
2
+ export * from './Row';
@@ -0,0 +1,8 @@
1
+ import type { ComponentProps } from 'react';
2
+ import React from 'react';
3
+ import type { COLOR } from '../component.enums';
4
+ export interface IIconProps extends ComponentProps<'div'> {
5
+ iconColor?: COLOR;
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Icon: (props: IIconProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Icon';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { COLOR, SIZE, VARIANT } from '../component.enums';
3
+ export interface IIconButtonProps extends React.ComponentProps<'button'> {
4
+ icon?: React.ReactNode;
5
+ color?: COLOR;
6
+ size?: SIZE;
7
+ isActive?: boolean;
8
+ variant?: VARIANT;
9
+ shadow?: boolean;
10
+ loading?: boolean;
11
+ }
12
+ export declare const IconButton: (props: IIconButtonProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './IconButton';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Link: (props: React.ComponentProps<'a'>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Link';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IListProps extends React.ComponentProps<'ul'> {
3
+ isFlush?: boolean;
4
+ }
5
+ export declare const List: (props: IListProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { COLOR } from '../component.enums';
3
+ export interface IListItemProps extends React.ComponentProps<'li'> {
4
+ color?: COLOR;
5
+ active?: boolean;
6
+ isHoverable?: boolean;
7
+ disabled?: boolean;
8
+ }
9
+ export declare const ListItem: (props: IListItemProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ListItemAction: ({ children, onClick, ...rest }: React.ComponentProps<'div'>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IListItemAvatarProps extends React.ComponentProps<'div'> {
3
+ avatar: React.ReactNode;
4
+ }
5
+ export declare const ListItemAvatar: ({ avatar, ...rest }: IListItemAvatarProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IListItemIconProps extends React.ComponentProps<'div'> {
3
+ icon: React.ReactNode;
4
+ }
5
+ export declare const ListItemIcon: ({ icon, ...rest }: IListItemIconProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ interface IListItemTextProps extends React.ComponentProps<'div'> {
4
+ primary: ReactNode;
5
+ secondary?: ReactNode;
6
+ }
7
+ export declare const ListItemText: ({ primary, secondary, ...rest }: IListItemTextProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from './List';
2
+ export * from './ListItem';
3
+ export * from './ListItemAvatar';
4
+ export * from './ListItemIcon';
5
+ export * from './ListItemAction';
6
+ export * from './ListItemText';
@@ -0,0 +1,8 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { IListItemProps } from './ListItem';
3
+ export declare class ListItemModel {
4
+ constructor(dto: ReactElement<IListItemProps>);
5
+ key: unknown;
6
+ props: IListItemProps | undefined;
7
+ type: unknown;
8
+ }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LoadingIndicator: ({ ...rest }: React.ComponentProps<'div'>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface ILoadingIndicatorContainerProps {
3
+ children: React.ReactNode;
4
+ isFixed?: boolean;
5
+ }
6
+ export declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './LoadingIndicator';
2
+ export * from './LoadingIndicatorContainer';
3
+ export * from './loading-indicator.service';
@@ -0,0 +1,12 @@
1
+ export interface ILoadingIndicatorService {
2
+ show(message: string): void;
3
+ }
4
+ declare class LoadingIndicatorService implements ILoadingIndicatorService {
5
+ private container;
6
+ private handler;
7
+ private root;
8
+ show(): void;
9
+ hide(): void;
10
+ }
11
+ export declare const loadingIndicatorService: LoadingIndicatorService;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { ReactElement } from 'react';
2
+ import React from 'react';
3
+ import type { MenuPosition } from './menu.types';
4
+ import type { IListItemProps } from '../List';
5
+ export interface IMenuProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
6
+ toggle?: ReactElement;
7
+ open?: boolean;
8
+ children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
9
+ menuPosition?: MenuPosition;
10
+ onClickBackdrop?: () => void;
11
+ }
12
+ export declare const Menu: (props: IMenuProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import type { ReactElement } from 'react';
2
+ import React from 'react';
3
+ import type { MenuPosition } from './menu.types';
4
+ import type { IListItemProps } from '../List';
5
+ export interface IMenuBodyProps {
6
+ children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
7
+ className?: string;
8
+ menuPosition?: MenuPosition;
9
+ parentRef: React.RefObject<HTMLDivElement>;
10
+ shadow?: boolean;
11
+ onClickBackdrop?: () => void;
12
+ }
13
+ export declare const MenuBody: (props: IMenuBodyProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Context, Dispatch } from 'react';
2
+ export interface IMenuContext {
3
+ isShow: boolean;
4
+ setIsShow: Dispatch<boolean>;
5
+ }
6
+ export declare const MenuContext: Context<IMenuContext>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const MenuDivider: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IListItemProps } from '../List';
3
+ export declare const MenuItem: (props: IListItemProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ interface IMenuToggleProps {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const MenuToggle: ({ children }: IMenuToggleProps) => ReactNode;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from './Menu';
2
+ export * from './MenuBody';
3
+ export * from './MenuItem';
4
+ export * from './MenuToggle';
5
+ export * from './MenuDivider';
6
+ export * from './menu.types';
@@ -0,0 +1 @@
1
+ export type MenuPosition = 'right' | 'left';
@@ -0,0 +1,21 @@
1
+ import type { ReactElement } from 'react';
2
+ import { SIZE } from '../component.enums';
3
+ import type { IControls } from '../Form';
4
+ import { MODALTYPE } from './modal.enum';
5
+ import type { IModalButton } from './modal.interfaces';
6
+ interface IModalProps {
7
+ title?: string;
8
+ description?: string | ReactElement;
9
+ formControls?: IControls;
10
+ modalType?: MODALTYPE;
11
+ onOk: <T>(values?: T) => void;
12
+ onChange?: <T>(values?: T) => void;
13
+ onCancel?: () => void;
14
+ onBackdropClick?: () => void;
15
+ isDismissable?: boolean;
16
+ buttons?: IModalButton[];
17
+ fullScreen?: boolean;
18
+ size?: SIZE;
19
+ }
20
+ export declare const GlobalModal: ({ title, description, formControls, onOk, onChange, onCancel, onBackdropClick, isDismissable, buttons, size, fullScreen }: IModalProps) => JSX.Element;
21
+ export {};
@@ -0,0 +1,15 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { SIZE } from '../component.enums';
3
+ export interface IModalProps {
4
+ target?: HTMLElement;
5
+ className?: string;
6
+ children?: ReactNode;
7
+ header?: string | ReactElement;
8
+ footer?: string | ReactElement;
9
+ onHeaderCloseClick?: () => void;
10
+ onBackdropClick?: () => void;
11
+ isDismissable?: boolean;
12
+ fullScreen?: boolean;
13
+ size?: SIZE;
14
+ }
15
+ export declare const Modal: (props: IModalProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ interface IModalBodyProps {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const ModalBody: ({ children }: IModalBodyProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IModalFooterProps extends React.ComponentProps<'div'> {
3
+ shadow?: boolean;
4
+ }
5
+ export declare const ModalFooter: (props: IModalFooterProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IModalHeaderProps extends React.ComponentProps<'div'> {
3
+ onClose?: () => void;
4
+ isDismissable?: boolean;
5
+ shadow?: boolean;
6
+ }
7
+ export declare const ModalHeader: (props: IModalHeaderProps) => JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ export * from './Modal';
2
+ export * from './ModalBody';
3
+ export * from './ModalFooter';
4
+ export * from './ModalHeader';
5
+ export * from './modal.service';
6
+ export * from './GlobalModal';
7
+ export * from './modal.enum';
8
+ export * from './modal.interfaces';
@@ -0,0 +1,10 @@
1
+ export declare enum MODALTYPE {
2
+ BASIC = "BASIC",
3
+ FORM = "FORM"
4
+ }
5
+ export declare enum MODALBUTTONTYPE {
6
+ OK = "OK",
7
+ CANCEL = "CANCEL",
8
+ RESET = "RESET",
9
+ DEFAULT = "DEFAULT"
10
+ }
@@ -0,0 +1,12 @@
1
+ import type { COLOR, VARIANT } from '../component.enums';
2
+ import type { MODALBUTTONTYPE } from './modal.enum';
3
+ export interface IModalButton {
4
+ label: string;
5
+ variant?: VARIANT;
6
+ color?: COLOR;
7
+ handler?: () => void;
8
+ autoFocus?: boolean;
9
+ type?: MODALBUTTONTYPE;
10
+ focus?: boolean;
11
+ shadow?: boolean;
12
+ }
@@ -0,0 +1,22 @@
1
+ import type { IControls } from '../Form';
2
+ import type { ReactElement } from 'react';
3
+ import type { IModalButton } from './modal.interfaces';
4
+ import type { SIZE } from '../component.enums';
5
+ export interface IModalService {
6
+ show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
7
+ }
8
+ export interface IModalOptions {
9
+ isDismissable?: boolean;
10
+ buttons?: IModalButton[];
11
+ fullScreen?: boolean;
12
+ size?: SIZE;
13
+ }
14
+ declare class ModalService implements IModalService {
15
+ private container;
16
+ private root;
17
+ show(title: string, description: string | ReactElement, options?: IModalOptions): Promise<void>;
18
+ showForm<T>(title: string, formControls: IControls, options?: IModalOptions): Promise<T>;
19
+ private hide;
20
+ }
21
+ export declare const modalService: ModalService;
22
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export interface INumberSelectProps {
3
+ value?: number;
4
+ from?: number;
5
+ to?: number;
6
+ className?: string;
7
+ id?: string;
8
+ name?: string;
9
+ disabled?: boolean;
10
+ onChange?: (val: number) => void;
11
+ }
12
+ export declare const NumberSelect: (props: INumberSelectProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './NumberSelect';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface IPortalProps {
3
+ children: React.ReactNode;
4
+ target?: HTMLElement;
5
+ className?: string;
6
+ }
7
+ export declare const Portal: ({ children, target, className }: IPortalProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Portal';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { COLOR } from '../component.enums';
3
+ export interface IProgressBarProps extends React.ComponentProps<'div'> {
4
+ className?: string;
5
+ color?: COLOR;
6
+ value?: number;
7
+ indeterminate?: boolean;
8
+ }
9
+ export declare const ProgressBar: (props: IProgressBarProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ProgressBar';
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { ISelectOption } from '../component.interfaces';
3
+ export interface ISelectProps {
4
+ id?: string;
5
+ name?: string;
6
+ className?: string;
7
+ options?: ISelectOption[];
8
+ value?: string | string[];
9
+ multiple?: boolean;
10
+ multipleMaxCountItems?: number;
11
+ disabled?: boolean;
12
+ readOnly?: boolean;
13
+ onChange?: (val: string | string[]) => void;
14
+ onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
15
+ }
16
+ export declare const Select: (props: ISelectProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Select';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { ISidebarItem } from './sidebar.interfaces';
3
+ interface ISidebarProps extends React.ComponentProps<'nav'> {
4
+ items: ISidebarItem[];
5
+ currentUrl: string;
6
+ onItemClicked: (path: string) => void;
7
+ }
8
+ export declare const Sidebar: (props: ISidebarProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './Sidebar';
2
+ export * from './sidebar.interfaces';
@@ -0,0 +1,9 @@
1
+ export interface ISidebarItem {
2
+ id: string;
3
+ path: string;
4
+ label: string;
5
+ icon?: string;
6
+ items?: ISidebarItem[];
7
+ isCollapsible?: boolean;
8
+ isCollapsed?: boolean;
9
+ }
@@ -0,0 +1,11 @@
1
+ export declare class SidebarItemModel {
2
+ id: string;
3
+ label: string;
4
+ path: string;
5
+ icon?: string | undefined;
6
+ isActive?: boolean | undefined;
7
+ items?: SidebarItemModel[] | undefined;
8
+ isCollapsible: boolean;
9
+ isCollapsed: boolean;
10
+ constructor(id: string, label: string, path: string, icon?: string | undefined, isActive?: boolean | undefined, items?: SidebarItemModel[] | undefined, isCollapsible?: boolean, isCollapsed?: boolean);
11
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ISkeletonAvatarProps extends React.ComponentProps<'div'> {
3
+ indeterminate?: boolean;
4
+ }
5
+ export declare const SkeletonAvatar: (props: ISkeletonAvatarProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ISkeletonFooterProps extends React.ComponentProps<'div'> {
3
+ indeterminate?: boolean;
4
+ }
5
+ export declare const SkeletonFooter: (props: ISkeletonFooterProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ISkeletonImageProps extends React.ComponentProps<'div'> {
3
+ indeterminate?: boolean;
4
+ }
5
+ export declare const SkeletonImage: (props: ISkeletonImageProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ISkeletonTextProps extends React.ComponentProps<'div'> {
3
+ indeterminate?: boolean;
4
+ }
5
+ export declare const SkeletonText: (props: ISkeletonTextProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export * from './SkeletonAvatar';
2
+ export * from './SkeletonText';
3
+ export * from './SkeletonFooter';
4
+ export * from './SkeletonImage';
@@ -0,0 +1,9 @@
1
+ import type { ComponentProps } from 'react';
2
+ import React from 'react';
3
+ import { COLOR } from '../component.enums';
4
+ export interface ISnackbarProps extends ComponentProps<'div'> {
5
+ color?: COLOR;
6
+ actionText?: string;
7
+ onOk?: (e: React.MouseEvent) => void;
8
+ }
9
+ export declare const Snackbar: (props: ISnackbarProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './Snackbar';
2
+ export * from './snackbar.service';
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { COLOR } from '../component.enums';
3
+ export interface ISnackbarService {
4
+ show(message: React.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
5
+ }
6
+ export interface ISnackbarOptions {
7
+ actionText?: string;
8
+ timeout?: number;
9
+ color?: COLOR;
10
+ target?: HTMLElement;
11
+ }
12
+ declare class SnackbarService implements ISnackbarService {
13
+ private container;
14
+ private handler;
15
+ private root;
16
+ show(message: React.ReactNode | string, options?: ISnackbarOptions): Promise<void>;
17
+ private hide;
18
+ }
19
+ export declare const snackbarService: SnackbarService;
20
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface ISpeedDialProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
3
+ onClose?: (e: React.MouseEvent) => void;
4
+ onOpen?: (e: React.MouseEvent) => void;
5
+ open?: boolean;
6
+ }
7
+ export declare const SpeedDial: (props: ISpeedDialProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { COLOR } from '../component.enums';
3
+ export interface ISpeedDialActionProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
4
+ icon: React.ReactNode;
5
+ tooltipTitle?: string;
6
+ color?: COLOR;
7
+ onClick?: (e: React.MouseEvent) => void;
8
+ }
9
+ export declare const SpeedDialAction: (props: ISpeedDialActionProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SpeedDialActions: (props: React.ComponentProps<'div'>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import React from 'react';
3
+ export interface ISpeedDialIconProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
4
+ openIcon?: ReactElement;
5
+ }
6
+ export declare const SpeedDialIcon: (props: ISpeedDialIconProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './SpeedDial';
2
+ export * from './SpeedDialAction';
3
+ export * from './SpeedDialIcon';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { COLOR } from '../../component.enums';
3
+ export interface IDot extends React.ComponentProps<'div'> {
4
+ color?: COLOR;
5
+ isActive?: boolean;
6
+ }
7
+ export declare const Dot: (props: IDot) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Dot';
@@ -0,0 +1,20 @@
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ export interface IStepProps {
4
+ value: string;
5
+ index?: number;
6
+ label?: ReactNode;
7
+ children?: ReactNode;
8
+ showLabel?: boolean;
9
+ isActive?: boolean;
10
+ isDone?: boolean;
11
+ isDisabled?: boolean;
12
+ isOptional?: boolean;
13
+ className?: string;
14
+ showProgressCheckIcon?: boolean;
15
+ onClick?: (e: {
16
+ event: React.MouseEvent;
17
+ value: string;
18
+ }) => void;
19
+ }
20
+ export declare const Step: (props: IStepProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './Step';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface IStepConnectorProps {
3
+ isActive?: boolean;
4
+ isHorizontal?: boolean;
5
+ }
6
+ export declare const StepConnector: (props: IStepConnectorProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface IStepPanelProps {
3
+ children?: ReactNode;
4
+ }
5
+ export declare const StepPanel: (props: IStepPanelProps) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { IStepProps } from './Step';
3
+ export interface IStepperProps {
4
+ children?: ReactElement<IStepProps> | ReactElement<IStepProps>[];
5
+ isLinear?: boolean;
6
+ isDisabled?: boolean;
7
+ showLabel?: boolean;
8
+ showProgressCheckIcon?: boolean;
9
+ isHorizontal?: boolean;
10
+ onChange?: (val: number) => void;
11
+ onFinish?: () => void;
12
+ alternativeLabel?: boolean;
13
+ value?: number;
14
+ isReadonly?: boolean;
15
+ showDoneButton?: boolean;
16
+ showResetButton?: boolean;
17
+ showSteps?: boolean;
18
+ showDots?: boolean;
19
+ }
20
+ export declare const Stepper: (props: IStepperProps) => JSX.Element;