react-asc 25.18.0 → 25.19.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 (57) hide show
  1. package/index.d.ts +15 -16
  2. package/index.es.js +411 -2151
  3. package/index.js +396 -2136
  4. package/lib/components/AutoComplete/AutoComplete.d.ts +0 -1
  5. package/lib/components/Button/ButtonContext.d.ts +0 -1
  6. package/lib/components/Card/CardBody.d.ts +1 -1
  7. package/lib/components/Card/CardFooter.d.ts +1 -1
  8. package/lib/components/Card/CardImage.d.ts +1 -1
  9. package/lib/components/Card/CardSubtitle.d.ts +1 -1
  10. package/lib/components/Card/CardText.d.ts +1 -1
  11. package/lib/components/DatePicker/DatePicker.d.ts +0 -1
  12. package/lib/components/DateSelect/DateSelect.d.ts +0 -1
  13. package/lib/components/DateSelect/DaySelect.d.ts +0 -1
  14. package/lib/components/DateSelect/MonthSelect.d.ts +0 -1
  15. package/lib/components/DateSelect/YearSelect.d.ts +0 -1
  16. package/lib/components/Form/FormError.d.ts +0 -1
  17. package/lib/components/Form/FormHint/FormHint.d.ts +1 -1
  18. package/lib/components/Form/FormLabel/FormLabel.d.ts +1 -1
  19. package/lib/components/Form/form.interfaces.d.ts +0 -1
  20. package/lib/components/Form/form.models.d.ts +1 -1
  21. package/lib/components/Link/Link.d.ts +1 -1
  22. package/lib/components/List/ListItemAction.d.ts +1 -1
  23. package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  24. package/lib/components/Menu/MenuDivider.d.ts +0 -1
  25. package/lib/components/Menu/MenuItem.d.ts +0 -1
  26. package/lib/components/NumberSelect/NumberSelect.d.ts +0 -1
  27. package/lib/components/Portal/Portal.d.ts +0 -1
  28. package/lib/components/SpeedDial/SpeedDialActions.d.ts +1 -1
  29. package/lib/components/Stepper/StepConnector/StepConnector.d.ts +0 -1
  30. package/lib/components/Stepper/StepperActions/StepperActions.d.ts +0 -1
  31. package/lib/components/Table/TableBody.d.ts +1 -1
  32. package/lib/components/Table/TableHead.d.ts +1 -1
  33. package/lib/components/Table/TableRow.d.ts +1 -1
  34. package/lib/components/TimeSelect/HourSelect.d.ts +0 -1
  35. package/lib/components/TimeSelect/MilliSecondSelect.d.ts +0 -1
  36. package/lib/components/TimeSelect/MinuteSelect.d.ts +0 -1
  37. package/lib/components/TimeSelect/SecondSelect.d.ts +0 -1
  38. package/lib/components/TimeSelect/TimeSelect.d.ts +0 -1
  39. package/lib/components/TreeView/TreeView.d.ts +1 -1
  40. package/lib/components/component.interfaces.d.ts +0 -1
  41. package/lib/hooks/useHover.d.ts +0 -1
  42. package/lib/icons/CaretDownSolidIcon.d.ts +0 -1
  43. package/lib/icons/CheckSolidIcon.d.ts +0 -1
  44. package/lib/icons/CheckSquareRegularIcon.d.ts +0 -1
  45. package/lib/icons/ChevronDownSolidIcon.d.ts +0 -1
  46. package/lib/icons/ChevronLeftSolidIcon.d.ts +0 -1
  47. package/lib/icons/ChevronRightSolidIcon.d.ts +0 -1
  48. package/lib/icons/ChevronUpSolidIcon.d.ts +0 -1
  49. package/lib/icons/CircleSolidIcon.d.ts +0 -1
  50. package/lib/icons/HomeSolidIcon.d.ts +0 -1
  51. package/lib/icons/PlusSolidIcon.d.ts +0 -1
  52. package/lib/icons/SpinnerSolidIcon.d.ts +0 -1
  53. package/lib/icons/SquareRegularIcon.d.ts +0 -1
  54. package/lib/icons/TimesCircleSolidIcon.d.ts +0 -1
  55. package/lib/icons/TimesSolidIcon.d.ts +0 -1
  56. package/package.json +7 -7
  57. package/readme.md +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ISelectOption } from '../component.interfaces';
3
2
  export interface IAutoCompleteProps {
4
3
  id?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Color } from '../../enums';
3
2
  export interface IButtonContext {
4
3
  color: Color | null;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const CardBody: (props: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const CardBody: (props: React.ComponentProps<"div">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const CardFooter: (props: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const CardFooter: (props: React.ComponentProps<"div">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const CardImage: (props: React.ComponentProps<'img'>) => JSX.Element;
2
+ export declare const CardImage: (props: React.ComponentProps<"img">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const CardSubtitle: (props: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const CardSubtitle: (props: React.ComponentProps<"div">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const CardText: (props: React.ComponentProps<'p'>) => JSX.Element;
2
+ export declare const CardText: (props: React.ComponentProps<"p">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'react-calendar/dist/Calendar.css';
3
2
  export interface IDatePickerProps {
4
3
  value?: Date;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare enum DATEMODE {
3
2
  YEAR = 0,
4
3
  MONTH = 1,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IDaySelectProps {
3
2
  day?: number;
4
3
  month?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IMonthProps {
3
2
  value?: number;
4
3
  className?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IYearProps {
3
2
  from?: number;
4
3
  to?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { IFormInputError } from './form.interfaces';
3
2
  interface IFormErrorProps {
4
3
  className?: string;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const FormHint: (props: React.ComponentProps<'small'>) => JSX.Element;
2
+ export declare const FormHint: (props: React.ComponentProps<"small">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const FormLabel: ({ children, className, htmlFor, ...rest }: React.ComponentProps<'label'>) => JSX.Element;
2
+ export declare const FormLabel: ({ children, className, htmlFor, ...rest }: React.ComponentProps<"label">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { FormControl } from './form.models';
3
2
  export interface IControls {
4
3
  [key: string]: FormControl;
@@ -5,7 +5,7 @@ export declare class FormControl {
5
5
  validators: string[];
6
6
  type: IFormControlType;
7
7
  config: IFormControlConfig;
8
- constructor(value: any, validators: string[], type: IFormControlType, config: IFormControlConfig);
8
+ constructor(value: any, validators: string[] | undefined, type: IFormControlType, config: IFormControlConfig);
9
9
  errors: IFormInputError[];
10
10
  isValid: boolean;
11
11
  isDirty: boolean;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const Link: (props: React.ComponentProps<'a'>) => JSX.Element;
2
+ export declare const Link: (props: React.ComponentProps<"a">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const ListItemAction: ({ children, onClick, ...rest }: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const ListItemAction: ({ children, onClick, ...rest }: React.ComponentProps<"div">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const LoadingIndicator: ({ ...rest }: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const LoadingIndicator: ({ ...rest }: React.ComponentProps<"div">) => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const MenuDivider: () => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import type { IListItemProps } from '../List';
3
2
  export declare const MenuItem: (props: IListItemProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface INumberSelectProps {
3
2
  value?: number;
4
3
  from?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IPortalProps {
3
2
  children: React.ReactNode;
4
3
  target?: HTMLElement;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const SpeedDialActions: (props: React.ComponentProps<'div'>) => JSX.Element;
2
+ export declare const SpeedDialActions: (props: React.ComponentProps<"div">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IStepConnectorProps {
3
2
  isActive?: boolean;
4
3
  isHorizontal?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IStepperActionsProps {
3
2
  className?: string;
4
3
  showDoneButton?: boolean;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const TableBody: (props: React.ComponentProps<'tbody'>) => JSX.Element;
2
+ export declare const TableBody: (props: React.ComponentProps<"tbody">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const TableHead: (props: React.ComponentProps<'thead'>) => JSX.Element;
2
+ export declare const TableHead: (props: React.ComponentProps<"thead">) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const TableRow: (props: React.ComponentProps<'tr'>) => JSX.Element;
2
+ export declare const TableRow: (props: React.ComponentProps<"tr">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IHourProps {
3
2
  value?: number;
4
3
  className?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IMilliSecondProps {
3
2
  className?: string;
4
3
  value?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface IMinuteProps {
3
2
  value?: number;
4
3
  className?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ISecondProps {
3
2
  value?: number;
4
3
  className?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare enum TIMEMODE {
3
2
  HOUR = 0,
4
3
  MINUTE = 1,
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const TreeView: (props: React.ComponentProps<'ul'>) => JSX.Element;
2
+ export declare const TreeView: (props: React.ComponentProps<"ul">) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface HtmlBaseProps {
3
2
  className?: string;
4
3
  id?: string;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function useHover(): (boolean | React.MutableRefObject<null>)[];
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CaretDownSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CheckSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CheckSquareRegularIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ChevronDownSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ChevronLeftSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ChevronRightSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const ChevronUpSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const CircleSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const HomeSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const PlusSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const SpinnerSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const SquareRegularIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const TimesCircleSolidIcon: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const TimesSolidIcon: () => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "25.18.0",
3
+ "version": "25.19.0",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",
@@ -10,16 +10,16 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@popperjs/core": "^2.11.8",
13
- "react": "^18.2.0",
14
- "react-dom": "^18.2.0",
15
- "modern-normalize": "^2.0.0",
16
- "react-calendar": "^4.2.1"
13
+ "react": "^18.3.1",
14
+ "react-dom": "^18.3.1",
15
+ "modern-normalize": "3.0.1",
16
+ "react-calendar": "^5.1.0"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@types/file-saver": "^2.0.7",
20
- "@types/papaparse": "^5.3.14",
20
+ "@types/papaparse": "^5.3.15",
21
21
  "file-saver": "^2.0.5",
22
- "papaparse": "^5.4.1"
22
+ "papaparse": "^5.5.2"
23
23
  },
24
24
  "scripts": {
25
25
  "pub": "npm publish --access public"
package/readme.md CHANGED
@@ -24,8 +24,8 @@ react-asc interactive showcase with code snippets [link](https://react-asc.netli
24
24
  ### Include styles
25
25
 
26
26
  ```scss
27
- @import "modern-normalize";
28
- @import "react-asc/react-asc.scss";
27
+ @use "modern-normalize";
28
+ @use "react-asc/react-asc.scss";
29
29
  ```
30
30
 
31
31
  ### Usage