react-asc 25.5.6 → 25.7.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 (210) hide show
  1. package/index.d.ts +772 -770
  2. package/index.es.js +4292 -4223
  3. package/index.js +4291 -4222
  4. package/lib/components/Alert/Alert.d.ts +12 -12
  5. package/lib/components/Alert/index.d.ts +1 -1
  6. package/lib/components/AppBar/AppBar.d.ts +11 -11
  7. package/lib/components/AppBar/AppBarTitle.d.ts +6 -6
  8. package/lib/components/AppBar/index.d.ts +2 -2
  9. package/lib/components/AutoComplete/AutoComplete.d.ts +18 -18
  10. package/lib/components/AutoComplete/index.d.ts +1 -1
  11. package/lib/components/Backdrop/Backdrop.d.ts +6 -6
  12. package/lib/components/Backdrop/index.d.ts +1 -1
  13. package/lib/components/Badge/Badge.d.ts +9 -7
  14. package/lib/components/Badge/index.d.ts +1 -1
  15. package/lib/components/Breadcrumb/Breadcrumb.d.ts +6 -6
  16. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -6
  17. package/lib/components/Breadcrumb/index.d.ts +2 -2
  18. package/lib/components/Button/Button.d.ts +13 -13
  19. package/lib/components/Button/ButtonContext.d.ts +7 -7
  20. package/lib/components/Button/index.d.ts +2 -2
  21. package/lib/components/ButtonGroup/ButtonGroup.d.ts +6 -6
  22. package/lib/components/ButtonGroup/index.d.ts +1 -1
  23. package/lib/components/Card/Card.d.ts +6 -6
  24. package/lib/components/Card/CardBody.d.ts +2 -2
  25. package/lib/components/Card/CardFooter.d.ts +2 -2
  26. package/lib/components/Card/CardImage.d.ts +2 -2
  27. package/lib/components/Card/CardSubtitle.d.ts +2 -2
  28. package/lib/components/Card/CardText.d.ts +2 -2
  29. package/lib/components/Card/CardTitle.d.ts +6 -6
  30. package/lib/components/Card/index.d.ts +7 -7
  31. package/lib/components/Checkbox/Checkbox.d.ts +7 -7
  32. package/lib/components/Checkbox/index.d.ts +1 -1
  33. package/lib/components/Chip/Chip.d.ts +11 -11
  34. package/lib/components/Chip/index.d.ts +1 -1
  35. package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -8
  36. package/lib/components/ConditionalWrapper/index.d.ts +1 -1
  37. package/lib/components/CssTransition/CssTransition.d.ts +8 -8
  38. package/lib/components/CssTransition/index.d.ts +1 -1
  39. package/lib/components/DatePicker/DatePicker.d.ts +10 -10
  40. package/lib/components/DatePicker/index.d.ts +1 -1
  41. package/lib/components/DateSelect/DateSelect.d.ts +17 -17
  42. package/lib/components/DateSelect/DaySelect.d.ts +12 -12
  43. package/lib/components/DateSelect/MonthSelect.d.ts +10 -10
  44. package/lib/components/DateSelect/YearSelect.d.ts +12 -12
  45. package/lib/components/DateSelect/index.d.ts +4 -4
  46. package/lib/components/Drawer/Drawer.d.ts +9 -9
  47. package/lib/components/Drawer/index.d.ts +1 -1
  48. package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +10 -10
  49. package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -5
  50. package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +8 -8
  51. package/lib/components/ExpansionPanel/index.d.ts +3 -3
  52. package/lib/components/FileInput/FileInput.d.ts +5 -5
  53. package/lib/components/FileInput/index.d.ts +1 -1
  54. package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +13 -13
  55. package/lib/components/FloatingActionButton/index.d.ts +1 -1
  56. package/lib/components/Form/Form.d.ts +40 -40
  57. package/lib/components/Form/FormError.d.ts +8 -8
  58. package/lib/components/Form/FormGroup.d.ts +7 -7
  59. package/lib/components/Form/FormHint/FormHint.d.ts +2 -2
  60. package/lib/components/Form/FormHint/index.d.ts +1 -1
  61. package/lib/components/Form/FormInput/FormInput.d.ts +29 -29
  62. package/lib/components/Form/FormInput/index.d.ts +1 -1
  63. package/lib/components/Form/FormLabel/FormLabel.d.ts +2 -2
  64. package/lib/components/Form/FormLabel/index.d.ts +1 -1
  65. package/lib/components/Form/form.interfaces.d.ts +40 -40
  66. package/lib/components/Form/form.models.d.ts +12 -12
  67. package/lib/components/Form/form.types.d.ts +2 -2
  68. package/lib/components/Form/index.d.ts +10 -10
  69. package/lib/components/Form/validators/EmailValidtor.d.ts +1 -1
  70. package/lib/components/Form/validators/IsEmptyValidator.d.ts +1 -1
  71. package/lib/components/Form/validators/IsEqualValidator.d.ts +1 -1
  72. package/lib/components/Form/validators/MaxValidator.d.ts +1 -1
  73. package/lib/components/Form/validators/MinValidator.d.ts +1 -1
  74. package/lib/components/Form/validators/index.d.ts +5 -5
  75. package/lib/components/Grid/Column/Column.d.ts +10 -10
  76. package/lib/components/Grid/Column/index.d.ts +1 -1
  77. package/lib/components/Grid/Row/Row.d.ts +5 -5
  78. package/lib/components/Grid/Row/index.d.ts +1 -1
  79. package/lib/components/Grid/index.d.ts +2 -2
  80. package/lib/components/Icon/Icon.d.ts +8 -8
  81. package/lib/components/Icon/index.d.ts +1 -1
  82. package/lib/components/IconButton/IconButton.d.ts +11 -11
  83. package/lib/components/IconButton/index.d.ts +1 -1
  84. package/lib/components/Link/Link.d.ts +2 -2
  85. package/lib/components/Link/Link.test.d.ts +1 -1
  86. package/lib/components/Link/index.d.ts +1 -1
  87. package/lib/components/List/List.d.ts +5 -5
  88. package/lib/components/List/ListItem.d.ts +9 -9
  89. package/lib/components/List/ListItemAction.d.ts +2 -2
  90. package/lib/components/List/ListItemAvatar.d.ts +6 -6
  91. package/lib/components/List/ListItemIcon.d.ts +6 -6
  92. package/lib/components/List/ListItemText.d.ts +8 -8
  93. package/lib/components/List/index.d.ts +6 -6
  94. package/lib/components/List/list.models.d.ts +8 -8
  95. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +2 -2
  96. package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +6 -6
  97. package/lib/components/LoadingIndicator/index.d.ts +3 -3
  98. package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +12 -12
  99. package/lib/components/Menu/Menu.d.ts +12 -12
  100. package/lib/components/Menu/MenuBody.d.ts +13 -13
  101. package/lib/components/Menu/MenuContext.d.ts +6 -6
  102. package/lib/components/Menu/MenuDivider.d.ts +2 -2
  103. package/lib/components/Menu/MenuItem.d.ts +3 -3
  104. package/lib/components/Menu/MenuToggle.d.ts +6 -6
  105. package/lib/components/Menu/index.d.ts +6 -6
  106. package/lib/components/Menu/menu.types.d.ts +1 -1
  107. package/lib/components/Modal/GlobalModal.d.ts +21 -21
  108. package/lib/components/Modal/Modal.d.ts +15 -15
  109. package/lib/components/Modal/ModalBody.d.ts +6 -6
  110. package/lib/components/Modal/ModalFooter.d.ts +6 -6
  111. package/lib/components/Modal/ModalHeader.d.ts +8 -8
  112. package/lib/components/Modal/index.d.ts +8 -8
  113. package/lib/components/Modal/modal.enum.d.ts +10 -10
  114. package/lib/components/Modal/modal.interfaces.d.ts +12 -12
  115. package/lib/components/Modal/modal.service.d.ts +22 -22
  116. package/lib/components/NumberSelect/NumberSelect.d.ts +12 -12
  117. package/lib/components/NumberSelect/index.d.ts +1 -1
  118. package/lib/components/Portal/Portal.d.ts +7 -7
  119. package/lib/components/Portal/index.d.ts +1 -1
  120. package/lib/components/ProgressBar/ProgressBar.d.ts +9 -9
  121. package/lib/components/ProgressBar/index.d.ts +1 -1
  122. package/lib/components/Select/Select.d.ts +16 -16
  123. package/lib/components/Select/index.d.ts +1 -1
  124. package/lib/components/Sidebar/Sidebar.d.ts +9 -9
  125. package/lib/components/Sidebar/index.d.ts +2 -2
  126. package/lib/components/Sidebar/sidebar.interfaces.d.ts +9 -9
  127. package/lib/components/Sidebar/sidebar.models.d.ts +11 -11
  128. package/lib/components/Skeleton/SkeletonAvatar.d.ts +5 -5
  129. package/lib/components/Skeleton/SkeletonFooter.d.ts +5 -5
  130. package/lib/components/Skeleton/SkeletonImage.d.ts +5 -5
  131. package/lib/components/Skeleton/SkeletonText.d.ts +5 -5
  132. package/lib/components/Skeleton/index.d.ts +4 -4
  133. package/lib/components/Snackbar/Snackbar.d.ts +9 -9
  134. package/lib/components/Snackbar/index.d.ts +2 -2
  135. package/lib/components/Snackbar/snackbar.service.d.ts +20 -20
  136. package/lib/components/SpeedDial/SpeedDial.d.ts +7 -7
  137. package/lib/components/SpeedDial/SpeedDialAction.d.ts +9 -9
  138. package/lib/components/SpeedDial/SpeedDialActions.d.ts +2 -2
  139. package/lib/components/SpeedDial/SpeedDialIcon.d.ts +6 -6
  140. package/lib/components/SpeedDial/index.d.ts +3 -3
  141. package/lib/components/Stepper/Dot/Dot.d.ts +7 -7
  142. package/lib/components/Stepper/Dot/index.d.ts +1 -1
  143. package/lib/components/Stepper/Step/Step.d.ts +20 -20
  144. package/lib/components/Stepper/Step/index.d.ts +1 -1
  145. package/lib/components/Stepper/StepConnector/StepConnector.d.ts +6 -6
  146. package/lib/components/Stepper/StepPanel/StepPanel.d.ts +5 -5
  147. package/lib/components/Stepper/Stepper.d.ts +20 -20
  148. package/lib/components/Stepper/StepperActions/StepperActions.d.ts +14 -14
  149. package/lib/components/Stepper/StepperActions/index.d.ts +1 -1
  150. package/lib/components/Stepper/index.d.ts +4 -4
  151. package/lib/components/Table/Table.d.ts +8 -8
  152. package/lib/components/Table/TableBody.d.ts +2 -2
  153. package/lib/components/Table/TableCell.d.ts +5 -5
  154. package/lib/components/Table/TableContext.d.ts +6 -6
  155. package/lib/components/Table/TableHead.d.ts +2 -2
  156. package/lib/components/Table/TableRow.d.ts +2 -2
  157. package/lib/components/Table/index.d.ts +5 -5
  158. package/lib/components/Tabs/Tab.d.ts +13 -13
  159. package/lib/components/Tabs/TabContext.d.ts +8 -8
  160. package/lib/components/Tabs/TabIndicator.d.ts +10 -10
  161. package/lib/components/Tabs/TabPanel.d.ts +6 -6
  162. package/lib/components/Tabs/Tabs.d.ts +13 -13
  163. package/lib/components/Tabs/index.d.ts +3 -3
  164. package/lib/components/Textarea/Textarea.d.ts +5 -5
  165. package/lib/components/Textarea/index.d.ts +1 -1
  166. package/lib/components/TimeSelect/HourSelect.d.ts +10 -10
  167. package/lib/components/TimeSelect/MilliSecondSelect.d.ts +11 -11
  168. package/lib/components/TimeSelect/MinuteSelect.d.ts +10 -10
  169. package/lib/components/TimeSelect/SecondSelect.d.ts +10 -10
  170. package/lib/components/TimeSelect/TimeSelect.d.ts +20 -20
  171. package/lib/components/TimeSelect/index.d.ts +5 -5
  172. package/lib/components/Tooltip/Tooltip.d.ts +10 -10
  173. package/lib/components/Tooltip/index.d.ts +2 -1
  174. package/lib/components/Tooltip/tooltip.enums.d.ts +6 -6
  175. package/lib/components/TreeView/TreeItem.d.ts +14 -14
  176. package/lib/components/TreeView/TreeView.d.ts +2 -2
  177. package/lib/components/TreeView/index.d.ts +2 -2
  178. package/lib/components/Typography/Typography.d.ts +12 -12
  179. package/lib/components/Typography/index.d.ts +1 -1
  180. package/lib/components/component.enums.d.ts +26 -26
  181. package/lib/components/component.interfaces.d.ts +18 -18
  182. package/lib/components/index.d.ts +46 -46
  183. package/lib/hooks/index.d.ts +7 -7
  184. package/lib/hooks/useConstructor.d.ts +1 -1
  185. package/lib/hooks/useCssClasses.d.ts +1 -1
  186. package/lib/hooks/useDebounce.d.ts +2 -2
  187. package/lib/hooks/useHover.d.ts +2 -2
  188. package/lib/hooks/useMobileDetect.d.ts +3 -3
  189. package/lib/hooks/useOnDestroy.d.ts +1 -1
  190. package/lib/hooks/useWindowSize.d.ts +5 -5
  191. package/lib/icons/CaretDownSolidIcon.d.ts +2 -2
  192. package/lib/icons/CheckSolidIcon.d.ts +2 -2
  193. package/lib/icons/CheckSquareRegularIcon.d.ts +2 -2
  194. package/lib/icons/ChevronDownSolidIcon.d.ts +2 -2
  195. package/lib/icons/ChevronLeftSolidIcon.d.ts +2 -2
  196. package/lib/icons/ChevronRightSolidIcon.d.ts +2 -2
  197. package/lib/icons/ChevronUpSolidIcon.d.ts +2 -2
  198. package/lib/icons/CircleSolidIcon.d.ts +2 -2
  199. package/lib/icons/HomeSolidIcon.d.ts +2 -2
  200. package/lib/icons/PlusSolidIcon.d.ts +2 -2
  201. package/lib/icons/SpinnerSolidIcon.d.ts +2 -2
  202. package/lib/icons/SquareRegularIcon.d.ts +2 -2
  203. package/lib/icons/TimesCircleSolidIcon.d.ts +2 -2
  204. package/lib/icons/TimesSolidIcon.d.ts +2 -2
  205. package/lib/icons/index.d.ts +14 -14
  206. package/lib/index.d.ts +4 -4
  207. package/lib/interfaces/index.d.ts +1 -1
  208. package/lib/interfaces/interfaces.d.ts +3 -3
  209. package/package.json +5 -5
  210. package/vite.config.d.ts +2 -2
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
- export interface IMinuteProps {
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 MinuteSelect: (props: IMinuteProps) => JSX.Element;
1
+ /// <reference types="react" />
2
+ export interface IMinuteProps {
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 MinuteSelect: (props: IMinuteProps) => JSX.Element;
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
- export interface ISecondProps {
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 SecondSelect: (props: ISecondProps) => JSX.Element;
1
+ /// <reference types="react" />
2
+ export interface ISecondProps {
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 SecondSelect: (props: ISecondProps) => JSX.Element;
@@ -1,20 +1,20 @@
1
- /// <reference types="react" />
2
- export declare enum TIMEMODE {
3
- HOUR = 0,
4
- MINUTE = 1,
5
- SECONDS = 2,
6
- MILLISECONDS = 3
7
- }
8
- export interface ITimeSelectProps {
9
- value?: Date;
10
- className?: string;
11
- id?: string;
12
- name?: string;
13
- showHours?: boolean;
14
- showMinutes?: boolean;
15
- showSeconds?: boolean;
16
- showMilliSeconds?: boolean;
17
- disabled?: boolean;
18
- onChange?: (val: Date) => void;
19
- }
20
- export declare const TimeSelect: (props: ITimeSelectProps) => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare enum TIMEMODE {
3
+ HOUR = 0,
4
+ MINUTE = 1,
5
+ SECONDS = 2,
6
+ MILLISECONDS = 3
7
+ }
8
+ export interface ITimeSelectProps {
9
+ value?: Date;
10
+ className?: string;
11
+ id?: string;
12
+ name?: string;
13
+ showHours?: boolean;
14
+ showMinutes?: boolean;
15
+ showSeconds?: boolean;
16
+ showMilliSeconds?: boolean;
17
+ disabled?: boolean;
18
+ onChange?: (val: Date) => void;
19
+ }
20
+ export declare const TimeSelect: (props: ITimeSelectProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
- export * from './TimeSelect';
2
- export * from './HourSelect';
3
- export * from './MinuteSelect';
4
- export * from './SecondSelect';
5
- export * from './MilliSecondSelect';
1
+ export * from './TimeSelect';
2
+ export * from './HourSelect';
3
+ export * from './MinuteSelect';
4
+ export * from './SecondSelect';
5
+ export * from './MilliSecondSelect';
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { TooltipPlacement } from './tooltip.enums';
3
- export interface ITooltipProps extends React.ComponentProps<'div'> {
4
- placement?: TooltipPlacement;
5
- text?: string;
6
- delay?: number;
7
- isOpen?: boolean;
8
- isShowClose?: boolean;
9
- }
10
- export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
1
+ import React from 'react';
2
+ import { TooltipPlacement } from './tooltip.enums';
3
+ export interface ITooltipProps extends React.ComponentProps<'div'> {
4
+ placement?: TooltipPlacement;
5
+ text?: string;
6
+ delay?: number;
7
+ isOpen?: boolean;
8
+ isShowClose?: boolean;
9
+ }
10
+ export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
@@ -1 +1,2 @@
1
- export * from './Tooltip';
1
+ export * from './Tooltip';
2
+ export * from './tooltip.enums';
@@ -1,6 +1,6 @@
1
- export declare enum TooltipPlacement {
2
- top = "top",
3
- bottom = "bottom",
4
- right = "right",
5
- left = "left"
6
- }
1
+ export declare enum TooltipPlacement {
2
+ top = "top",
3
+ bottom = "bottom",
4
+ right = "right",
5
+ left = "left"
6
+ }
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- export interface ITreeItemProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
3
- nodeId?: string;
4
- label?: string;
5
- isExpanded?: boolean;
6
- isSelected?: boolean;
7
- isSelectable?: boolean;
8
- onToggleExpand?: (id: string) => void;
9
- onItemSelect?: (e: {
10
- id: string;
11
- isSelected: boolean;
12
- }) => void;
13
- }
14
- export declare const TreeItem: (props: ITreeItemProps) => JSX.Element;
1
+ import React from 'react';
2
+ export interface ITreeItemProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
3
+ nodeId?: string;
4
+ label?: string;
5
+ isExpanded?: boolean;
6
+ isSelected?: boolean;
7
+ isSelectable?: boolean;
8
+ onToggleExpand?: (id: string) => void;
9
+ onItemSelect?: (e: {
10
+ id: string;
11
+ isSelected: boolean;
12
+ }) => void;
13
+ }
14
+ export declare const TreeItem: (props: ITreeItemProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
2
- export declare const TreeView: (props: React.ComponentProps<'ul'>) => JSX.Element;
1
+ import React from 'react';
2
+ export declare const TreeView: (props: React.ComponentProps<'ul'>) => JSX.Element;
@@ -1,2 +1,2 @@
1
- export * from './TreeView';
2
- export * from './TreeItem';
1
+ export * from './TreeView';
2
+ export * from './TreeItem';
@@ -1,12 +1,12 @@
1
- import React from 'react';
2
- export interface IWrapperProps {
3
- as?: string;
4
- children: React.ReactNode;
5
- className?: string;
6
- wrap?: boolean;
7
- }
8
- export interface ITypographyProps extends React.ComponentProps<'span'> {
9
- as?: string;
10
- wrap?: boolean;
11
- }
12
- export declare const Typography: ({ children, as, wrap, ...rest }: ITypographyProps) => JSX.Element;
1
+ import React from 'react';
2
+ export interface IWrapperProps {
3
+ as?: string;
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ wrap?: boolean;
7
+ }
8
+ export interface ITypographyProps extends React.ComponentProps<'span'> {
9
+ as?: string;
10
+ wrap?: boolean;
11
+ }
12
+ export declare const Typography: ({ children, as, wrap, ...rest }: ITypographyProps) => JSX.Element;
@@ -1 +1 @@
1
- export * from './Typography';
1
+ export * from './Typography';
@@ -1,26 +1,26 @@
1
- export declare enum COLOR {
2
- primary = "primary",
3
- accent = "accent",
4
- secondary = "secondary",
5
- danger = "danger",
6
- light = "light",
7
- dark = "dark"
8
- }
9
- export declare enum VARIANT {
10
- contained = "contained",
11
- outline = "outline",
12
- text = "text"
13
- }
14
- export declare enum SIZE {
15
- sm = "sm",
16
- md = "md",
17
- lg = "lg"
18
- }
19
- export declare enum POSITION {
20
- right = "right",
21
- left = "left"
22
- }
23
- export declare enum STATUS {
24
- HOVERED = "hovered",
25
- NORMAL = "normal"
26
- }
1
+ export declare enum COLOR {
2
+ primary = "primary",
3
+ accent = "accent",
4
+ secondary = "secondary",
5
+ danger = "danger",
6
+ light = "light",
7
+ dark = "dark"
8
+ }
9
+ export declare enum VARIANT {
10
+ contained = "contained",
11
+ outline = "outline",
12
+ text = "text"
13
+ }
14
+ export declare enum SIZE {
15
+ sm = "sm",
16
+ md = "md",
17
+ lg = "lg"
18
+ }
19
+ export declare enum POSITION {
20
+ right = "right",
21
+ left = "left"
22
+ }
23
+ export declare enum STATUS {
24
+ HOVERED = "hovered",
25
+ NORMAL = "normal"
26
+ }
@@ -1,18 +1,18 @@
1
- /// <reference types="react" />
2
- export interface HtmlBaseProps {
3
- className?: string;
4
- id?: string;
5
- name?: string;
6
- autoFocus?: boolean;
7
- readOnly?: boolean;
8
- disabled?: boolean;
9
- }
10
- export interface HtmlInputProps extends HtmlBaseProps {
11
- onBlur?: (val: React.FocusEvent<HTMLInputElement>) => void;
12
- onChange?: (val: React.FocusEvent<HTMLInputElement>) => void;
13
- placeholder?: string;
14
- }
15
- export interface ISelectOption {
16
- value: string;
17
- label?: React.ReactNode;
18
- }
1
+ /// <reference types="react" />
2
+ export interface HtmlBaseProps {
3
+ className?: string;
4
+ id?: string;
5
+ name?: string;
6
+ autoFocus?: boolean;
7
+ readOnly?: boolean;
8
+ disabled?: boolean;
9
+ }
10
+ export interface HtmlInputProps extends HtmlBaseProps {
11
+ onBlur?: (val: React.FocusEvent<HTMLInputElement>) => void;
12
+ onChange?: (val: React.FocusEvent<HTMLInputElement>) => void;
13
+ placeholder?: string;
14
+ }
15
+ export interface ISelectOption {
16
+ value: string;
17
+ label?: React.ReactNode;
18
+ }
@@ -1,46 +1,46 @@
1
- export * from './Alert';
2
- export * from './AppBar';
3
- export * from './AutoComplete';
4
- export * from './Backdrop';
5
- export * from './Badge';
6
- export * from './Breadcrumb';
7
- export * from './Button';
8
- export * from './ButtonGroup';
9
- export * from './Card';
10
- export * from './Checkbox';
11
- export * from './Chip';
12
- export * from './component.enums';
13
- export * from './component.interfaces';
14
- export * from './ConditionalWrapper';
15
- export * from './CssTransition';
16
- export * from './DatePicker';
17
- export * from './DateSelect';
18
- export * from './Drawer';
19
- export * from './ExpansionPanel';
20
- export * from './FileInput';
21
- export * from './FloatingActionButton';
22
- export * from './Form';
23
- export * from './Grid';
24
- export * from './Icon';
25
- export * from './IconButton';
26
- export * from './Link';
27
- export * from './List';
28
- export * from './LoadingIndicator';
29
- export * from './Menu';
30
- export * from './Modal';
31
- export * from './NumberSelect';
32
- export * from './Portal';
33
- export * from './ProgressBar';
34
- export * from './Select';
35
- export * from './Sidebar';
36
- export * from './Skeleton';
37
- export * from './Snackbar';
38
- export * from './SpeedDial';
39
- export * from './Stepper';
40
- export * from './Table';
41
- export * from './Tabs';
42
- export * from './Textarea';
43
- export * from './TimeSelect';
44
- export * from './Tooltip';
45
- export * from './TreeView';
46
- export * from './Typography';
1
+ export * from './Alert';
2
+ export * from './AppBar';
3
+ export * from './AutoComplete';
4
+ export * from './Backdrop';
5
+ export * from './Badge';
6
+ export * from './Breadcrumb';
7
+ export * from './Button';
8
+ export * from './ButtonGroup';
9
+ export * from './Card';
10
+ export * from './Checkbox';
11
+ export * from './Chip';
12
+ export * from './component.enums';
13
+ export * from './component.interfaces';
14
+ export * from './ConditionalWrapper';
15
+ export * from './CssTransition';
16
+ export * from './DatePicker';
17
+ export * from './DateSelect';
18
+ export * from './Drawer';
19
+ export * from './ExpansionPanel';
20
+ export * from './FileInput';
21
+ export * from './FloatingActionButton';
22
+ export * from './Form';
23
+ export * from './Grid';
24
+ export * from './Icon';
25
+ export * from './IconButton';
26
+ export * from './Link';
27
+ export * from './List';
28
+ export * from './LoadingIndicator';
29
+ export * from './Menu';
30
+ export * from './Modal';
31
+ export * from './NumberSelect';
32
+ export * from './Portal';
33
+ export * from './ProgressBar';
34
+ export * from './Select';
35
+ export * from './Sidebar';
36
+ export * from './Skeleton';
37
+ export * from './Snackbar';
38
+ export * from './SpeedDial';
39
+ export * from './Stepper';
40
+ export * from './Table';
41
+ export * from './Tabs';
42
+ export * from './Textarea';
43
+ export * from './TimeSelect';
44
+ export * from './Tooltip';
45
+ export * from './TreeView';
46
+ export * from './Typography';
@@ -1,7 +1,7 @@
1
- export * from './useConstructor';
2
- export * from './useCssClasses';
3
- export * from './useDebounce';
4
- export * from './useHover';
5
- export * from './useMobileDetect';
6
- export * from './useOnDestroy';
7
- export * from './useWindowSize';
1
+ export * from './useConstructor';
2
+ export * from './useCssClasses';
3
+ export * from './useDebounce';
4
+ export * from './useHover';
5
+ export * from './useMobileDetect';
6
+ export * from './useOnDestroy';
7
+ export * from './useWindowSize';
@@ -1 +1 @@
1
- export declare const useConstructor: (callBack: () => void) => void;
1
+ export declare const useConstructor: (callBack: () => void) => void;
@@ -1 +1 @@
1
- export declare function useCssClasses(cssClasses: string[]): string[];
1
+ export declare function useCssClasses(cssClasses: string[]): string[];
@@ -1,2 +1,2 @@
1
- import type React from 'react';
2
- export declare function useDebounce(callback: () => void, timeout: number, deps: React.DependencyList): void;
1
+ import type React from 'react';
2
+ export declare function useDebounce(callback: () => void, timeout: number, deps: React.DependencyList): void;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function useHover(): (boolean | React.MutableRefObject<null>)[];
1
+ /// <reference types="react" />
2
+ export declare function useHover(): (boolean | React.MutableRefObject<null>)[];
@@ -1,3 +1,3 @@
1
- export declare function useMobileDetect(): {
2
- isMobile: boolean;
3
- };
1
+ export declare function useMobileDetect(): {
2
+ isMobile: boolean;
3
+ };
@@ -1 +1 @@
1
- export declare const useOnDestroy: (callBack: () => void) => void;
1
+ export declare const useOnDestroy: (callBack: () => void) => void;
@@ -1,5 +1,5 @@
1
- export interface IUseWindowSize {
2
- width: number;
3
- height: number;
4
- }
5
- export declare function useWindowSize(): IUseWindowSize;
1
+ export interface IUseWindowSize {
2
+ width: number;
3
+ height: number;
4
+ }
5
+ export declare function useWindowSize(): IUseWindowSize;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const CaretDownSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const CaretDownSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const CheckSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const CheckSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const CheckSquareRegularIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const CheckSquareRegularIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ChevronDownSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const ChevronDownSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ChevronLeftSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const ChevronLeftSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ChevronRightSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const ChevronRightSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ChevronUpSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const ChevronUpSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const CircleSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const CircleSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const HomeSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const HomeSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const PlusSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const PlusSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const SpinnerSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const SpinnerSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const SquareRegularIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const SquareRegularIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const TimesCircleSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const TimesCircleSolidIcon: () => JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const TimesSolidIcon: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const TimesSolidIcon: () => JSX.Element;
@@ -1,14 +1,14 @@
1
- export * from './CaretDownSolidIcon';
2
- export * from './CheckSolidIcon';
3
- export * from './CheckSquareRegularIcon';
4
- export * from './ChevronDownSolidIcon';
5
- export * from './ChevronLeftSolidIcon';
6
- export * from './ChevronRightSolidIcon';
7
- export * from './ChevronUpSolidIcon';
8
- export * from './CircleSolidIcon';
9
- export * from './HomeSolidIcon';
10
- export * from './PlusSolidIcon';
11
- export * from './SpinnerSolidIcon';
12
- export * from './SquareRegularIcon';
13
- export * from './TimesCircleSolidIcon';
14
- export * from './TimesSolidIcon';
1
+ export * from './CaretDownSolidIcon';
2
+ export * from './CheckSolidIcon';
3
+ export * from './CheckSquareRegularIcon';
4
+ export * from './ChevronDownSolidIcon';
5
+ export * from './ChevronLeftSolidIcon';
6
+ export * from './ChevronRightSolidIcon';
7
+ export * from './ChevronUpSolidIcon';
8
+ export * from './CircleSolidIcon';
9
+ export * from './HomeSolidIcon';
10
+ export * from './PlusSolidIcon';
11
+ export * from './SpinnerSolidIcon';
12
+ export * from './SquareRegularIcon';
13
+ export * from './TimesCircleSolidIcon';
14
+ export * from './TimesSolidIcon';
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './components';
2
- export * from './hooks';
3
- export * from './icons';
4
- export * from './interfaces';
1
+ export * from './components';
2
+ export * from './hooks';
3
+ export * from './icons';
4
+ export * from './interfaces';
@@ -1 +1 @@
1
- export * from './interfaces';
1
+ export * from './interfaces';
@@ -1,3 +1,3 @@
1
- export interface IDictionary<T> {
2
- [key: string]: T;
3
- }
1
+ export interface IDictionary<T> {
2
+ [key: string]: T;
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "25.5.6",
3
+ "version": "25.7.0",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
@@ -9,14 +9,14 @@
9
9
  "homepage": "https://react-asc.netlify.app",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@popperjs/core": "2.11.5",
12
+ "@popperjs/core": "2.11.8",
13
13
  "react": "18.2.0",
14
14
  "react-dom": "18.2.0",
15
- "modern-normalize": "1.1.0",
16
- "react-calendar": "^3.9.0"
15
+ "modern-normalize": "2.0.0",
16
+ "react-calendar": "4.2.1"
17
17
  },
18
18
  "scripts": {
19
19
  "pub": "npm publish --access public"
20
20
  },
21
- "keywords": ["react", "component library", "ui library", "components", "library", "material"]
21
+ "keywords": ["react", "component library", "ui library", "components", "library", "material", "bootstrap"]
22
22
  }
package/vite.config.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: import("vite").UserConfigExport;
2
- export default _default;
1
+ declare const _default: import("vite").UserConfigExport;
2
+ export default _default;