react-asc 25.8.2 → 25.10.0

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 (293) hide show
  1. package/apple-touch-icon.png +0 -0
  2. package/assets/index-5bb661b4.js +100 -0
  3. package/assets/index-b3809a2b.css +1 -0
  4. package/assets/workbox-window.prod.es5-a7b12eab.js +2 -0
  5. package/changelog.md +1510 -0
  6. package/favicon-16x16.png +0 -0
  7. package/favicon-32x32.png +0 -0
  8. package/favicon.ico +0 -0
  9. package/favicon.svg +23 -0
  10. package/index.html +24 -0
  11. package/manifest.webmanifest +1 -0
  12. package/package.json +7 -1
  13. package/pwa-192x192.png +0 -0
  14. package/pwa-512x512.png +0 -0
  15. package/robots.txt +3 -0
  16. package/showcase/alert.description.md +1 -0
  17. package/showcase/alert.md +14 -0
  18. package/showcase/appbar.description.md +1 -0
  19. package/showcase/appbar.md +8 -0
  20. package/showcase/autocomplete.description.md +1 -0
  21. package/showcase/autocomplete.md +49 -0
  22. package/showcase/backdrop.description.md +1 -0
  23. package/showcase/backdrop.md +11 -0
  24. package/showcase/badge.description.md +1 -0
  25. package/showcase/badge.md +8 -0
  26. package/showcase/breadcrumb.description.md +1 -0
  27. package/showcase/breadcrumb.md +5 -0
  28. package/showcase/button.description.md +1 -0
  29. package/showcase/button.md +44 -0
  30. package/showcase/buttongroup.description.md +1 -0
  31. package/showcase/buttongroup.md +5 -0
  32. package/showcase/card.description.md +1 -0
  33. package/showcase/card.md +9 -0
  34. package/showcase/checkbox.description.md +1 -0
  35. package/showcase/checkbox.md +1 -0
  36. package/showcase/chip.description.md +1 -0
  37. package/showcase/chip.md +3 -0
  38. package/showcase/csstransition.md +38 -0
  39. package/showcase/dateselect.md +8 -0
  40. package/showcase/drawer.md +13 -0
  41. package/showcase/expansionpanel.md +40 -0
  42. package/showcase/fileinput.md +1 -0
  43. package/showcase/floatingactionbutton.md +4 -0
  44. package/showcase/form.md +6 -0
  45. package/showcase/grid.md +5 -0
  46. package/showcase/hookuseconstructor.description.md +1 -0
  47. package/showcase/hookuseconstructor.md +5 -0
  48. package/showcase/hookusedebounce.description.md +3 -0
  49. package/showcase/hookusedebounce.md +17 -0
  50. package/showcase/hookusehover.md +11 -0
  51. package/showcase/hookusemobiledetect.description.md +2 -0
  52. package/showcase/hookusemobiledetect.md +11 -0
  53. package/showcase/hookuseondestroy.description.md +1 -0
  54. package/showcase/hookuseondestroy.md +5 -0
  55. package/showcase/hookuseprevious.description.md +1 -0
  56. package/showcase/hookuseprevious.md +14 -0
  57. package/showcase/hookusewindowsize.description.md +2 -0
  58. package/showcase/hookusewindowsize.md +11 -0
  59. package/showcase/icon.md +3 -0
  60. package/showcase/iconbutton.md +5 -0
  61. package/showcase/link.md +1 -0
  62. package/showcase/list.md +98 -0
  63. package/showcase/loadingindicator.md +38 -0
  64. package/showcase/menu.md +17 -0
  65. package/showcase/modal.md +46 -0
  66. package/showcase/numberselect.md +20 -0
  67. package/showcase/progressbar.description.md +1 -0
  68. package/showcase/progressbar.md +3 -0
  69. package/showcase/select.md +20 -0
  70. package/showcase/servicelogger.md +9 -0
  71. package/showcase/skeleton.description.md +5 -0
  72. package/showcase/skeleton.md +5 -0
  73. package/showcase/snackbar.md +22 -0
  74. package/showcase/speeddial.md +43 -0
  75. package/showcase/stepper.description.md +1 -0
  76. package/showcase/stepper.md +40 -0
  77. package/showcase/table.md +30 -0
  78. package/showcase/tabs.md +35 -0
  79. package/showcase/timeselect.md +1 -0
  80. package/showcase/tooltip.md +6 -0
  81. package/showcase/treeview.md +12 -0
  82. package/showcase/typography.md +6 -0
  83. package/sw.js +1 -0
  84. package/workbox-fa446783.js +1 -0
  85. package/index.d.ts +0 -1032
  86. package/index.es.js +0 -7069
  87. package/index.js +0 -7198
  88. package/lib/components/Alert/Alert.d.ts +0 -12
  89. package/lib/components/Alert/index.d.ts +0 -1
  90. package/lib/components/AppBar/AppBar.d.ts +0 -11
  91. package/lib/components/AppBar/AppBarTitle.d.ts +0 -6
  92. package/lib/components/AppBar/index.d.ts +0 -2
  93. package/lib/components/AutoComplete/AutoComplete.d.ts +0 -18
  94. package/lib/components/AutoComplete/index.d.ts +0 -1
  95. package/lib/components/Backdrop/Backdrop.d.ts +0 -6
  96. package/lib/components/Backdrop/index.d.ts +0 -1
  97. package/lib/components/Badge/Badge.d.ts +0 -9
  98. package/lib/components/Badge/index.d.ts +0 -1
  99. package/lib/components/Breadcrumb/Breadcrumb.d.ts +0 -6
  100. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +0 -6
  101. package/lib/components/Breadcrumb/index.d.ts +0 -2
  102. package/lib/components/Button/Button.d.ts +0 -14
  103. package/lib/components/Button/ButtonContext.d.ts +0 -7
  104. package/lib/components/Button/index.d.ts +0 -2
  105. package/lib/components/ButtonGroup/ButtonGroup.d.ts +0 -6
  106. package/lib/components/ButtonGroup/index.d.ts +0 -1
  107. package/lib/components/Card/Card.d.ts +0 -6
  108. package/lib/components/Card/CardBody.d.ts +0 -2
  109. package/lib/components/Card/CardFooter.d.ts +0 -2
  110. package/lib/components/Card/CardImage.d.ts +0 -2
  111. package/lib/components/Card/CardSubtitle.d.ts +0 -2
  112. package/lib/components/Card/CardText.d.ts +0 -2
  113. package/lib/components/Card/CardTitle.d.ts +0 -6
  114. package/lib/components/Card/index.d.ts +0 -7
  115. package/lib/components/Checkbox/Checkbox.d.ts +0 -7
  116. package/lib/components/Checkbox/index.d.ts +0 -1
  117. package/lib/components/Chip/Chip.d.ts +0 -11
  118. package/lib/components/Chip/index.d.ts +0 -1
  119. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
  120. package/lib/components/ConditionalWrapper/index.d.ts +0 -1
  121. package/lib/components/CssTransition/CssTransition.d.ts +0 -8
  122. package/lib/components/CssTransition/index.d.ts +0 -1
  123. package/lib/components/DatePicker/DatePicker.d.ts +0 -10
  124. package/lib/components/DatePicker/index.d.ts +0 -1
  125. package/lib/components/DateSelect/DateSelect.d.ts +0 -17
  126. package/lib/components/DateSelect/DaySelect.d.ts +0 -12
  127. package/lib/components/DateSelect/MonthSelect.d.ts +0 -10
  128. package/lib/components/DateSelect/YearSelect.d.ts +0 -12
  129. package/lib/components/DateSelect/index.d.ts +0 -4
  130. package/lib/components/Drawer/Drawer.d.ts +0 -9
  131. package/lib/components/Drawer/index.d.ts +0 -1
  132. package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +0 -10
  133. package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +0 -5
  134. package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +0 -8
  135. package/lib/components/ExpansionPanel/index.d.ts +0 -3
  136. package/lib/components/FileInput/FileInput.d.ts +0 -5
  137. package/lib/components/FileInput/index.d.ts +0 -1
  138. package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +0 -13
  139. package/lib/components/FloatingActionButton/index.d.ts +0 -1
  140. package/lib/components/Form/Form.d.ts +0 -40
  141. package/lib/components/Form/FormError.d.ts +0 -8
  142. package/lib/components/Form/FormGroup.d.ts +0 -7
  143. package/lib/components/Form/FormHint/FormHint.d.ts +0 -2
  144. package/lib/components/Form/FormHint/index.d.ts +0 -1
  145. package/lib/components/Form/FormInput/FormInput.d.ts +0 -29
  146. package/lib/components/Form/FormInput/index.d.ts +0 -1
  147. package/lib/components/Form/FormLabel/FormLabel.d.ts +0 -2
  148. package/lib/components/Form/FormLabel/index.d.ts +0 -1
  149. package/lib/components/Form/form.interfaces.d.ts +0 -40
  150. package/lib/components/Form/form.models.d.ts +0 -12
  151. package/lib/components/Form/form.types.d.ts +0 -2
  152. package/lib/components/Form/index.d.ts +0 -10
  153. package/lib/components/Form/validators/EmailValidtor.d.ts +0 -1
  154. package/lib/components/Form/validators/IsEmptyValidator.d.ts +0 -1
  155. package/lib/components/Form/validators/IsEqualValidator.d.ts +0 -1
  156. package/lib/components/Form/validators/MaxValidator.d.ts +0 -1
  157. package/lib/components/Form/validators/MinValidator.d.ts +0 -1
  158. package/lib/components/Form/validators/index.d.ts +0 -5
  159. package/lib/components/Grid/Column/Column.d.ts +0 -10
  160. package/lib/components/Grid/Column/index.d.ts +0 -1
  161. package/lib/components/Grid/Row/Row.d.ts +0 -5
  162. package/lib/components/Grid/Row/index.d.ts +0 -1
  163. package/lib/components/Grid/index.d.ts +0 -2
  164. package/lib/components/Icon/Icon.d.ts +0 -8
  165. package/lib/components/Icon/index.d.ts +0 -1
  166. package/lib/components/IconButton/IconButton.d.ts +0 -12
  167. package/lib/components/IconButton/index.d.ts +0 -1
  168. package/lib/components/Link/Link.d.ts +0 -2
  169. package/lib/components/Link/Link.test.d.ts +0 -1
  170. package/lib/components/Link/index.d.ts +0 -1
  171. package/lib/components/List/List.d.ts +0 -5
  172. package/lib/components/List/ListItem.d.ts +0 -9
  173. package/lib/components/List/ListItemAction.d.ts +0 -2
  174. package/lib/components/List/ListItemAvatar.d.ts +0 -6
  175. package/lib/components/List/ListItemIcon.d.ts +0 -6
  176. package/lib/components/List/ListItemText.d.ts +0 -8
  177. package/lib/components/List/index.d.ts +0 -6
  178. package/lib/components/List/list.models.d.ts +0 -8
  179. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +0 -2
  180. package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +0 -6
  181. package/lib/components/LoadingIndicator/index.d.ts +0 -3
  182. package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +0 -12
  183. package/lib/components/Menu/Menu.d.ts +0 -12
  184. package/lib/components/Menu/MenuBody.d.ts +0 -13
  185. package/lib/components/Menu/MenuContext.d.ts +0 -6
  186. package/lib/components/Menu/MenuDivider.d.ts +0 -2
  187. package/lib/components/Menu/MenuItem.d.ts +0 -3
  188. package/lib/components/Menu/MenuToggle.d.ts +0 -6
  189. package/lib/components/Menu/index.d.ts +0 -6
  190. package/lib/components/Menu/menu.types.d.ts +0 -1
  191. package/lib/components/Modal/GlobalModal.d.ts +0 -21
  192. package/lib/components/Modal/Modal.d.ts +0 -15
  193. package/lib/components/Modal/ModalBody.d.ts +0 -6
  194. package/lib/components/Modal/ModalFooter.d.ts +0 -6
  195. package/lib/components/Modal/ModalHeader.d.ts +0 -8
  196. package/lib/components/Modal/index.d.ts +0 -8
  197. package/lib/components/Modal/modal.enum.d.ts +0 -10
  198. package/lib/components/Modal/modal.interfaces.d.ts +0 -12
  199. package/lib/components/Modal/modal.service.d.ts +0 -22
  200. package/lib/components/NumberSelect/NumberSelect.d.ts +0 -12
  201. package/lib/components/NumberSelect/index.d.ts +0 -1
  202. package/lib/components/Portal/Portal.d.ts +0 -7
  203. package/lib/components/Portal/index.d.ts +0 -1
  204. package/lib/components/ProgressBar/ProgressBar.d.ts +0 -9
  205. package/lib/components/ProgressBar/index.d.ts +0 -1
  206. package/lib/components/Select/Select.d.ts +0 -16
  207. package/lib/components/Select/index.d.ts +0 -1
  208. package/lib/components/Sidebar/Sidebar.d.ts +0 -9
  209. package/lib/components/Sidebar/index.d.ts +0 -2
  210. package/lib/components/Sidebar/sidebar.interfaces.d.ts +0 -9
  211. package/lib/components/Sidebar/sidebar.models.d.ts +0 -11
  212. package/lib/components/Skeleton/SkeletonAvatar.d.ts +0 -5
  213. package/lib/components/Skeleton/SkeletonFooter.d.ts +0 -5
  214. package/lib/components/Skeleton/SkeletonImage.d.ts +0 -5
  215. package/lib/components/Skeleton/SkeletonText.d.ts +0 -5
  216. package/lib/components/Skeleton/index.d.ts +0 -4
  217. package/lib/components/Snackbar/Snackbar.d.ts +0 -9
  218. package/lib/components/Snackbar/index.d.ts +0 -2
  219. package/lib/components/Snackbar/snackbar.service.d.ts +0 -20
  220. package/lib/components/SpeedDial/SpeedDial.d.ts +0 -7
  221. package/lib/components/SpeedDial/SpeedDialAction.d.ts +0 -9
  222. package/lib/components/SpeedDial/SpeedDialActions.d.ts +0 -2
  223. package/lib/components/SpeedDial/SpeedDialIcon.d.ts +0 -6
  224. package/lib/components/SpeedDial/index.d.ts +0 -3
  225. package/lib/components/Stepper/Dot/Dot.d.ts +0 -7
  226. package/lib/components/Stepper/Dot/index.d.ts +0 -1
  227. package/lib/components/Stepper/Step/Step.d.ts +0 -20
  228. package/lib/components/Stepper/Step/index.d.ts +0 -1
  229. package/lib/components/Stepper/StepConnector/StepConnector.d.ts +0 -6
  230. package/lib/components/Stepper/StepPanel/StepPanel.d.ts +0 -5
  231. package/lib/components/Stepper/Stepper.d.ts +0 -20
  232. package/lib/components/Stepper/StepperActions/StepperActions.d.ts +0 -14
  233. package/lib/components/Stepper/StepperActions/index.d.ts +0 -1
  234. package/lib/components/Stepper/index.d.ts +0 -4
  235. package/lib/components/Table/Table.d.ts +0 -8
  236. package/lib/components/Table/TableBody.d.ts +0 -2
  237. package/lib/components/Table/TableCell.d.ts +0 -5
  238. package/lib/components/Table/TableContext.d.ts +0 -6
  239. package/lib/components/Table/TableHead.d.ts +0 -2
  240. package/lib/components/Table/TableRow.d.ts +0 -2
  241. package/lib/components/Table/index.d.ts +0 -5
  242. package/lib/components/Tabs/Tab.d.ts +0 -13
  243. package/lib/components/Tabs/TabContext.d.ts +0 -8
  244. package/lib/components/Tabs/TabIndicator.d.ts +0 -10
  245. package/lib/components/Tabs/TabPanel.d.ts +0 -6
  246. package/lib/components/Tabs/Tabs.d.ts +0 -13
  247. package/lib/components/Tabs/index.d.ts +0 -3
  248. package/lib/components/Textarea/Textarea.d.ts +0 -5
  249. package/lib/components/Textarea/index.d.ts +0 -1
  250. package/lib/components/TimeSelect/HourSelect.d.ts +0 -10
  251. package/lib/components/TimeSelect/MilliSecondSelect.d.ts +0 -11
  252. package/lib/components/TimeSelect/MinuteSelect.d.ts +0 -10
  253. package/lib/components/TimeSelect/SecondSelect.d.ts +0 -10
  254. package/lib/components/TimeSelect/TimeSelect.d.ts +0 -20
  255. package/lib/components/TimeSelect/index.d.ts +0 -5
  256. package/lib/components/Tooltip/Tooltip.d.ts +0 -10
  257. package/lib/components/Tooltip/index.d.ts +0 -2
  258. package/lib/components/Tooltip/tooltip.enums.d.ts +0 -6
  259. package/lib/components/TreeView/TreeItem.d.ts +0 -14
  260. package/lib/components/TreeView/TreeView.d.ts +0 -2
  261. package/lib/components/TreeView/index.d.ts +0 -2
  262. package/lib/components/Typography/Typography.d.ts +0 -12
  263. package/lib/components/Typography/index.d.ts +0 -1
  264. package/lib/components/component.enums.d.ts +0 -26
  265. package/lib/components/component.interfaces.d.ts +0 -18
  266. package/lib/components/index.d.ts +0 -46
  267. package/lib/hooks/index.d.ts +0 -7
  268. package/lib/hooks/useConstructor.d.ts +0 -1
  269. package/lib/hooks/useCssClasses.d.ts +0 -1
  270. package/lib/hooks/useDebounce.d.ts +0 -2
  271. package/lib/hooks/useHover.d.ts +0 -2
  272. package/lib/hooks/useMobileDetect.d.ts +0 -3
  273. package/lib/hooks/useOnDestroy.d.ts +0 -1
  274. package/lib/hooks/useWindowSize.d.ts +0 -5
  275. package/lib/icons/CaretDownSolidIcon.d.ts +0 -2
  276. package/lib/icons/CheckSolidIcon.d.ts +0 -2
  277. package/lib/icons/CheckSquareRegularIcon.d.ts +0 -2
  278. package/lib/icons/ChevronDownSolidIcon.d.ts +0 -2
  279. package/lib/icons/ChevronLeftSolidIcon.d.ts +0 -2
  280. package/lib/icons/ChevronRightSolidIcon.d.ts +0 -2
  281. package/lib/icons/ChevronUpSolidIcon.d.ts +0 -2
  282. package/lib/icons/CircleSolidIcon.d.ts +0 -2
  283. package/lib/icons/HomeSolidIcon.d.ts +0 -2
  284. package/lib/icons/PlusSolidIcon.d.ts +0 -2
  285. package/lib/icons/SpinnerSolidIcon.d.ts +0 -2
  286. package/lib/icons/SquareRegularIcon.d.ts +0 -2
  287. package/lib/icons/TimesCircleSolidIcon.d.ts +0 -2
  288. package/lib/icons/TimesSolidIcon.d.ts +0 -2
  289. package/lib/icons/index.d.ts +0 -14
  290. package/lib/index.d.ts +0 -4
  291. package/lib/interfaces/index.d.ts +0 -1
  292. package/lib/interfaces/interfaces.d.ts +0 -3
  293. package/vite.config.d.ts +0 -2
@@ -1,12 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- import type { SIZE } from '../component.enums';
4
- import { COLOR, VARIANT } from '../component.enums';
5
- export interface IAlertProps extends React.ComponentProps<'div'> {
6
- children?: ReactNode;
7
- className?: string;
8
- variant?: VARIANT;
9
- color?: COLOR;
10
- shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
11
- }
12
- export declare const Alert: (props: IAlertProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Alert';
@@ -1,11 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- import type { SIZE } from '../component.enums';
4
- import { COLOR } from '../component.enums';
5
- export interface IAppBarProps extends React.ComponentProps<'nav'> {
6
- children?: ReactNode;
7
- className?: string;
8
- color?: COLOR;
9
- shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
10
- }
11
- export declare const AppBar: (props: IAppBarProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- export interface IAppBarTitleProps extends React.ComponentProps<'div'> {
4
- children?: ReactNode;
5
- }
6
- export declare const AppBarTitle: (props: IAppBarTitleProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './AppBar';
2
- export * from './AppBarTitle';
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ISelectOption } from '../component.interfaces';
3
- export interface IAutoCompleteProps {
4
- id?: string;
5
- name?: string;
6
- className?: string;
7
- options?: ISelectOption[];
8
- value?: string;
9
- openOnFocus?: boolean;
10
- disabled?: boolean;
11
- placeholder?: string;
12
- readOnly?: boolean;
13
- debounce?: number;
14
- showClearButton?: boolean;
15
- onSelect?: (val: ISelectOption) => void;
16
- onChange?: (val: string | undefined) => void;
17
- }
18
- export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './AutoComplete';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface IBackdropProps extends React.ComponentProps<'div'> {
3
- target?: HTMLElement;
4
- isTransparent?: boolean;
5
- }
6
- export declare const Backdrop: (props: IBackdropProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Backdrop';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { COLOR } from '../component.enums';
3
- export interface IBadgeProps {
4
- color?: COLOR;
5
- content?: React.ReactNode;
6
- className?: string;
7
- children?: React.ReactNode;
8
- }
9
- export declare const Badge: (props: IBadgeProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Badge';
@@ -1,6 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- export interface IBreadcrumbProps extends React.ComponentProps<'nav'> {
4
- children?: ReactNode;
5
- }
6
- export declare const Breadcrumb: (props: IBreadcrumbProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface IBreadcrumbItemProps extends React.ComponentProps<'li'> {
3
- isActive?: boolean;
4
- path?: string;
5
- }
6
- export declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './Breadcrumb';
2
- export * from './BreadcrumbItem';
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { COLOR, VARIANT } from '../component.enums';
3
- export interface IButtonProps extends React.ComponentProps<'button'> {
4
- color?: COLOR;
5
- isActive?: boolean;
6
- isRounded?: boolean;
7
- variant?: VARIANT;
8
- startIcon?: React.ReactNode;
9
- endIcon?: React.ReactNode;
10
- shadow?: boolean;
11
- block?: boolean;
12
- loading?: boolean;
13
- }
14
- export declare const Button: React.FunctionComponent<IButtonProps>;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import type { COLOR } from '../component.enums';
3
- export interface IButtonContext {
4
- color: COLOR | null;
5
- }
6
- export declare const ButtonContext: React.Context<IButtonContext>;
7
- export declare const useButtonContext: () => IButtonContext;
@@ -1,2 +0,0 @@
1
- export * from './Button';
2
- export * from './ButtonContext';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { COLOR } from '../component.enums';
3
- export interface IButtonGroupProps extends React.ComponentProps<'div'> {
4
- color?: COLOR;
5
- }
6
- export declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './ButtonGroup';
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface ICardProps extends React.ComponentProps<'div'> {
3
- shadow?: boolean;
4
- }
5
- export declare const Card: (props: ICardProps) => JSX.Element;
6
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CardBody: (props: React.ComponentProps<'div'>) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CardFooter: (props: React.ComponentProps<'div'>) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CardImage: (props: React.ComponentProps<'img'>) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CardSubtitle: (props: React.ComponentProps<'div'>) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const CardText: (props: React.ComponentProps<'p'>) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface ICardTitleProps extends React.ComponentProps<'div'> {
3
- as?: any;
4
- }
5
- export declare const CardTitle: (props: ICardTitleProps) => JSX.Element;
6
- export {};
@@ -1,7 +0,0 @@
1
- export * from './Card';
2
- export * from './CardBody';
3
- export * from './CardFooter';
4
- export * from './CardSubtitle';
5
- export * from './CardText';
6
- export * from './CardTitle';
7
- export * from './CardImage';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface ICheckboxProps extends React.ComponentProps<'input'> {
3
- label?: string;
4
- value?: string;
5
- onKeyDown?: (event: React.KeyboardEvent) => void;
6
- }
7
- export declare const Checkbox: (props: ICheckboxProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Checkbox';
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { COLOR } from '../component.enums';
3
- export interface IChipProps extends React.ComponentProps<'div'> {
4
- color?: COLOR;
5
- shadow?: boolean;
6
- onClick?: (e: React.MouseEvent<Element>) => void;
7
- isDeletable?: boolean;
8
- onDelete?: (e: React.MouseEvent<Element>) => void;
9
- deleteIcon?: JSX.Element;
10
- }
11
- export declare const Chip: (props: IChipProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Chip';
@@ -1,8 +0,0 @@
1
- import type React from 'react';
2
- interface IConditionalWrapperProps {
3
- condition: boolean;
4
- wrapper: (children: React.ReactNode) => JSX.Element;
5
- children: any;
6
- }
7
- export declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => JSX.Element;
8
- export {};
@@ -1 +0,0 @@
1
- export * from './ConditionalWrapper';
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface ICssTransitionProps {
3
- className: string;
4
- children: React.ReactNode;
5
- show: boolean;
6
- }
7
- export declare const CssTransition: (props: ICssTransitionProps) => JSX.Element;
8
- export {};
@@ -1 +0,0 @@
1
- export * from './CssTransition';
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import 'react-calendar/dist/Calendar.css';
3
- export interface IDatePickerProps {
4
- value?: Date;
5
- selectRange?: boolean;
6
- minDate?: Date;
7
- maxDate?: Date;
8
- onChange?: (val: Date) => void;
9
- }
10
- export declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './DatePicker';
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- export declare enum DATEMODE {
3
- YEAR = 0,
4
- MONTH = 1,
5
- DAY = 2
6
- }
7
- export interface IDateSelectProps {
8
- value?: Date;
9
- className?: string;
10
- disabled?: boolean;
11
- yearConfig?: {
12
- from?: number;
13
- to?: number;
14
- };
15
- onChange?: (val: Date) => void;
16
- }
17
- export declare const DateSelect: (props: IDateSelectProps) => JSX.Element;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface IDaySelectProps {
3
- day?: number;
4
- month?: number;
5
- year?: number;
6
- className?: string;
7
- id?: string;
8
- name?: string;
9
- disabled?: boolean;
10
- onChange?: (val: number) => void;
11
- }
12
- export declare const DaySelect: (props: IDaySelectProps) => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export interface IMonthProps {
3
- value?: number;
4
- className?: string;
5
- id?: string;
6
- name?: string;
7
- disabled?: boolean;
8
- onChange?: (val: number) => void;
9
- }
10
- export declare const MonthSelect: (props: IMonthProps) => JSX.Element;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface IYearProps {
3
- from?: number;
4
- to?: number;
5
- value?: number;
6
- className?: string;
7
- id?: string;
8
- name?: string;
9
- disabled?: boolean;
10
- onChange?: (val: number) => void;
11
- }
12
- export declare const YearSelect: (props: IYearProps) => JSX.Element;
@@ -1,4 +0,0 @@
1
- export * from './DateSelect';
2
- export * from './YearSelect';
3
- export * from './DaySelect';
4
- export * from './MonthSelect';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface IDrawerProps extends React.ComponentProps<'div'> {
3
- position?: 'left' | 'right';
4
- shadow?: boolean;
5
- onClickBackdrop?: () => void;
6
- permanent?: boolean;
7
- target?: HTMLElement;
8
- }
9
- export declare const Drawer: (props: IDrawerProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Drawer';
@@ -1,10 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- export interface IExpansionPanelProps extends React.ComponentProps<'div'> {
4
- header: ReactNode;
5
- children: ReactNode;
6
- isExpanded?: boolean;
7
- shadow?: boolean;
8
- onToggle?: (event: React.MouseEvent, isExpanded: boolean) => void;
9
- }
10
- export declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
@@ -1,5 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- export interface IExpansionPanelContentProps {
3
- children?: ReactNode;
4
- }
5
- export declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- export interface IExpansionPanelHeaderProps {
4
- onClick?: (event: React.MouseEvent) => void;
5
- children?: ReactNode;
6
- isExpanded: boolean;
7
- }
8
- export declare const ExpansionPanelHeader: (props: IExpansionPanelHeaderProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from './ExpansionPanel';
2
- export * from './ExpansionPanelHeader';
3
- export * from './ExpansionPanelContent';
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface IFileInputProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
3
- deletable?: boolean;
4
- }
5
- export declare const FileInput: (props: IFileInputProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FileInput';
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { COLOR, SIZE } from '../component.enums';
3
- export interface IFloatingActionButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
4
- icon?: React.ReactNode;
5
- color?: COLOR;
6
- size?: SIZE;
7
- fixed?: boolean;
8
- isActive?: boolean;
9
- disabled?: boolean;
10
- position?: 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
11
- onClick?: (e: React.MouseEvent) => void;
12
- }
13
- export declare const FloatingActionButton: (props: IFloatingActionButtonProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FloatingActionButton';
@@ -1,40 +0,0 @@
1
- import React, { Component } from 'react';
2
- import type { IControls } from './form.interfaces';
3
- import type { FormControl } from './form.models';
4
- export interface IFormProps {
5
- className?: string;
6
- controls: IControls;
7
- validateOnBlur?: boolean;
8
- onSubmit?: (values: any) => void;
9
- onChange?: (values: any) => void;
10
- submitOnEnter?: boolean;
11
- }
12
- export interface IFormState {
13
- controls: IControls | undefined;
14
- isValid: boolean;
15
- isSubmitted: boolean;
16
- isChanged: boolean;
17
- submitOnEnter?: boolean;
18
- }
19
- export declare class Form extends Component<IFormProps, IFormState> {
20
- constructor(props: IFormProps);
21
- getCssClasses(): string;
22
- static getDerivedStateFromProps(nextProps: IFormProps, state: IFormState): {
23
- controls: IControls;
24
- } | null;
25
- myForm: React.RefObject<HTMLFormElement>;
26
- handleChange(): void;
27
- private validateField;
28
- private handleInputChange;
29
- private handleOnBlur;
30
- private isRequired;
31
- private isInvalid;
32
- getControl(name: string): FormControl;
33
- private renderLabel;
34
- handleFormSubmit(): void;
35
- handleFormReset(): void;
36
- handleOnKeyDown(e: React.KeyboardEvent<HTMLInputElement | undefined>): void;
37
- destroy(): void;
38
- getFormGroupCssClass(fieldKey: string): string | undefined;
39
- render(): JSX.Element;
40
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import type { IFormInputError } from './form.interfaces';
3
- interface IFormErrorProps {
4
- className?: string;
5
- errors?: IFormInputError[];
6
- }
7
- export declare const FormError: (props: IFormErrorProps) => JSX.Element;
8
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface IFormGroupProps {
3
- children?: React.ReactNode;
4
- className?: string;
5
- }
6
- export declare const FormGroup: (props: IFormGroupProps) => JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const FormHint: (props: React.ComponentProps<'small'>) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FormHint';
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import type { IFormAutoCompleteOptions, IFormInputOptions, IFormSelectOptions, IFormTextAreaOptions } from '../form.interfaces';
3
- import type { IFormControlType } from '../form.types';
4
- export interface IFormInputEvent {
5
- value: any;
6
- type?: string;
7
- name?: string;
8
- }
9
- export interface IFormInputProps {
10
- value: any;
11
- name: string;
12
- type: IFormControlType;
13
- placeholder?: string;
14
- className?: string;
15
- disabled?: boolean;
16
- readonly?: boolean;
17
- isValid?: boolean;
18
- autoFocus?: boolean;
19
- options?: IFormInputOptions[];
20
- textareaOptions?: IFormTextAreaOptions;
21
- selectOptions?: IFormSelectOptions;
22
- autoCompleteOptions?: IFormAutoCompleteOptions;
23
- label?: string;
24
- onInput?: (e: IFormInputEvent) => void;
25
- onChange?: (e: IFormInputEvent) => void;
26
- onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
27
- onKeyDown?: React.KeyboardEventHandler<HTMLInputElement | undefined>;
28
- }
29
- export declare const FormInput: (props: IFormInputProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FormInput';
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const FormLabel: ({ children, className, htmlFor, ...rest }: React.ComponentProps<'label'>) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './FormLabel';
@@ -1,40 +0,0 @@
1
- /// <reference types="react" />
2
- import type { FormControl } from './form.models';
3
- export interface IControls {
4
- [key: string]: FormControl;
5
- }
6
- export interface IFormTextAreaOptions {
7
- rows?: number;
8
- resize?: boolean;
9
- }
10
- export interface IFormSelectOptions {
11
- multiple?: boolean;
12
- }
13
- export interface IFormAutoCompleteOptions {
14
- openOnFocus?: boolean;
15
- }
16
- export interface IFormInputError {
17
- validator: string;
18
- message: string;
19
- }
20
- export interface IFormInputOptions {
21
- id?: string;
22
- value: string;
23
- label?: React.ReactNode;
24
- }
25
- export interface IFormControlConfig {
26
- label: string;
27
- placeholder?: string;
28
- formControlClassName?: string;
29
- formGroupClassName?: string;
30
- labelClassName?: string;
31
- labelPosition?: string;
32
- autoFocus?: boolean;
33
- hint?: string;
34
- disabled?: boolean;
35
- readonly?: boolean;
36
- options?: IFormInputOptions[];
37
- textareaOptions?: IFormTextAreaOptions;
38
- selectOptions?: IFormSelectOptions;
39
- autoCompleteOptions?: IFormAutoCompleteOptions;
40
- }
@@ -1,12 +0,0 @@
1
- import type { IFormControlConfig, IFormInputError } from './form.interfaces';
2
- import type { IFormControlType } from './form.types';
3
- export declare class FormControl {
4
- value: any;
5
- validators: string[];
6
- type: IFormControlType;
7
- config: IFormControlConfig;
8
- constructor(value: any, validators: string[], type: IFormControlType, config: IFormControlConfig);
9
- errors: IFormInputError[];
10
- isValid: boolean;
11
- isDirty: boolean;
12
- }
@@ -1,2 +0,0 @@
1
- export type IFormControlType = 'text' | 'textarea' | 'email' | 'number' | 'checkbox' | 'checkboxgroup' | 'radio' | 'select' | 'password' | 'color' | 'time' | 'file' | 'date' | 'datetime-local' | 'autocomplete';
2
- export type IFormValidatorType = 'required' | 'email' | 'match';
@@ -1,10 +0,0 @@
1
- export * from './Form';
2
- export * from './FormError';
3
- export * from './FormGroup';
4
- export * from './FormHint';
5
- export * from './FormInput';
6
- export * from './FormLabel';
7
- export * from './form.models';
8
- export * from './form.interfaces';
9
- export * from './form.types';
10
- export * from './validators';
@@ -1 +0,0 @@
1
- export declare const EmailValidator: (value: string) => boolean;
@@ -1 +0,0 @@
1
- export declare const IsEmptyValidator: (value: string) => boolean;
@@ -1 +0,0 @@
1
- export declare const IsEqualValidator: (valueA: unknown, valueB: unknown) => boolean;
@@ -1 +0,0 @@
1
- export declare const MaxValidator: (val: string, valueB: number) => boolean;
@@ -1 +0,0 @@
1
- export declare const MinValidator: (val: string, minLength: number) => boolean;
@@ -1,5 +0,0 @@
1
- export * from './EmailValidtor';
2
- export * from './IsEmptyValidator';
3
- export * from './IsEqualValidator';
4
- export * from './MaxValidator';
5
- export * from './MinValidator';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface IColProps extends React.ComponentProps<'div'> {
3
- xs?: number;
4
- sm?: number;
5
- md?: number;
6
- lg?: number;
7
- xl?: number;
8
- }
9
- export declare const Column: (props: IColProps) => JSX.Element;
10
- export {};
@@ -1 +0,0 @@
1
- export * from './Column';