@arquimedes.co/eureka-forms 3.0.1-refactor → 3.0.2-refactor

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 (83) hide show
  1. package/dist/FormSteps/AYFStepMapper.js +2 -12
  2. package/dist/FormSteps/CBRStepMapper.js +1 -7
  3. package/dist/Icons/@ErkIcon.d.ts +14 -0
  4. package/dist/Icons/@ErkIcon.js +10 -0
  5. package/dist/Icons/ArrowLeftIcon.d.ts +2 -2
  6. package/dist/Icons/ArrowLeftIcon.js +4 -3
  7. package/dist/Icons/ArrowRightIcon.d.ts +2 -2
  8. package/dist/Icons/ArrowRightIcon.js +4 -3
  9. package/dist/Icons/CalendarIcon.d.ts +2 -2
  10. package/dist/Icons/CalendarIcon.js +4 -3
  11. package/dist/Icons/CheckCircleIcon.d.ts +2 -2
  12. package/dist/Icons/CheckCircleIcon.js +4 -3
  13. package/dist/Icons/CheckboxCheckedIcon.d.ts +2 -2
  14. package/dist/Icons/CheckboxCheckedIcon.js +4 -3
  15. package/dist/Icons/CheckboxUncheckedIcon.d.ts +2 -2
  16. package/dist/Icons/CheckboxUncheckedIcon.js +4 -3
  17. package/dist/Icons/ClockIcon.d.ts +2 -2
  18. package/dist/Icons/ClockIcon.js +4 -3
  19. package/dist/Icons/CloseIcon.d.ts +2 -2
  20. package/dist/Icons/CloseIcon.js +4 -3
  21. package/dist/Icons/Construction/LeakIcon.d.ts +2 -2
  22. package/dist/Icons/Construction/LeakIcon.js +4 -3
  23. package/dist/Icons/Construction/ProjectIcon.d.ts +2 -2
  24. package/dist/Icons/Construction/ProjectIcon.js +4 -3
  25. package/dist/Icons/Construction/PropertyIcon.d.ts +2 -2
  26. package/dist/Icons/Construction/PropertyIcon.js +5 -4
  27. package/dist/Icons/Construction/SpaceIcon.d.ts +2 -2
  28. package/dist/Icons/Construction/SpaceIcon.js +4 -3
  29. package/dist/Icons/DeleteIcon.d.ts +2 -2
  30. package/dist/Icons/DeleteIcon.js +4 -3
  31. package/dist/Icons/DocumentIcon.d.ts +2 -2
  32. package/dist/Icons/DocumentIcon.js +4 -3
  33. package/dist/Icons/Entities/CheckListIcon.d.ts +2 -2
  34. package/dist/Icons/Entities/CheckListIcon.js +4 -3
  35. package/dist/Icons/Entities/GenericEntityIcon.d.ts +2 -2
  36. package/dist/Icons/Entities/GenericEntityIcon.js +4 -3
  37. package/dist/Icons/Entities/HandshakeIcon.d.ts +2 -2
  38. package/dist/Icons/Entities/HandshakeIcon.js +4 -3
  39. package/dist/Icons/Entities/SupplierIcon.d.ts +2 -2
  40. package/dist/Icons/Entities/SupplierIcon.js +4 -3
  41. package/dist/Icons/ErrorIcon.d.ts +2 -2
  42. package/dist/Icons/ErrorIcon.js +4 -3
  43. package/dist/Icons/ExpandLessIcon.d.ts +2 -2
  44. package/dist/Icons/ExpandLessIcon.js +4 -3
  45. package/dist/Icons/ExpandMoreIcon.d.ts +2 -2
  46. package/dist/Icons/ExpandMoreIcon.js +4 -3
  47. package/dist/Icons/FileIcon.d.ts +2 -2
  48. package/dist/Icons/FileIcon.js +4 -3
  49. package/dist/Icons/InfoIcon.d.ts +2 -2
  50. package/dist/Icons/InfoIcon.js +4 -3
  51. package/dist/Icons/LocationIcon.d.ts +2 -2
  52. package/dist/Icons/LocationIcon.js +4 -3
  53. package/dist/Icons/PersonIcon.d.ts +2 -2
  54. package/dist/Icons/PersonIcon.js +5 -4
  55. package/dist/Icons/Ratings/DislikeIcon.d.ts +2 -2
  56. package/dist/Icons/Ratings/DislikeIcon.js +4 -3
  57. package/dist/Icons/Ratings/DissatisfiedIcon.d.ts +2 -2
  58. package/dist/Icons/Ratings/DissatisfiedIcon.js +4 -3
  59. package/dist/Icons/Ratings/LikeIcon.d.ts +2 -2
  60. package/dist/Icons/Ratings/LikeIcon.js +4 -3
  61. package/dist/Icons/Ratings/SatisfiedIcon.d.ts +2 -2
  62. package/dist/Icons/Ratings/SatisfiedIcon.js +4 -3
  63. package/dist/Icons/Ratings/StarIcon.d.ts +2 -2
  64. package/dist/Icons/Ratings/StarIcon.js +4 -3
  65. package/dist/Icons/Ratings/VeryDissatisfiedIcon.d.ts +2 -2
  66. package/dist/Icons/Ratings/VeryDissatisfiedIcon.js +4 -3
  67. package/dist/Icons/Ratings/VerySatisfiedIcon.d.ts +2 -2
  68. package/dist/Icons/Ratings/VerySatisfiedIcon.js +4 -3
  69. package/dist/Icons/WarningIcon.d.ts +2 -2
  70. package/dist/Icons/WarningIcon.js +4 -3
  71. package/dist/Shared/ErkDatePicker/ErkDatePicker.js +3 -9
  72. package/dist/Shared/ErkTextField/ErkTextField.js +1 -0
  73. package/dist/Shared/InputIcon/InputIcon.js +2 -10
  74. package/dist/Utils/MaterialProviders.d.ts +0 -1
  75. package/dist/Utils/MaterialProviders.js +0 -1
  76. package/dist/Widget.d.ts +1 -1
  77. package/dist/Widget.js +1 -0
  78. package/dist/main.d.ts +1 -0
  79. package/dist/main.js +1 -0
  80. package/package.json +26 -26
  81. package/dist/Icons/@IconTypes.d.ts +0 -6
  82. package/dist/Icons/@IconTypes.js +0 -1
  83. package/dist/Icons/{ErkIcon.module.css → @ErkIcon.css} +1 -1
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function ExpandMoreIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.88 9.29L12 13.17 8.12 9.29a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z" }) }));
2
+ import { useIconProps } from './@ErkIcon';
3
+ function ExpandMoreIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M15.88 9.29L12 13.17 8.12 9.29a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z" }) }));
5
6
  }
6
7
  export default ExpandMoreIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from './@IconTypes';
2
- declare function FileIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from './@ErkIcon';
2
+ declare function FileIcon(props: IconProps): JSX.Element;
3
3
  export default FileIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function FileIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M14.59 2.59c-.38-.38-.89-.59-1.42-.59H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.41l-4.82-4.83zM15 18H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm-2-6V3.5L18.5 9H14c-.55 0-1-.45-1-1z" }) }));
2
+ import { useIconProps } from './@ErkIcon';
3
+ function FileIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M14.59 2.59c-.38-.38-.89-.59-1.42-.59H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.41l-4.82-4.83zM15 18H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1zm-2-6V3.5L18.5 9H14c-.55 0-1-.45-1-1z" }) }));
5
6
  }
6
7
  export default FileIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from './@IconTypes';
2
- declare function InfoIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from './@ErkIcon';
2
+ declare function InfoIcon(props: IconProps): JSX.Element;
3
3
  export default InfoIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function InfoIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z" }) }));
2
+ import { useIconProps } from './@ErkIcon';
3
+ function InfoIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1zm1-8h-2V7h2v2z" }) }));
5
6
  }
6
7
  export default InfoIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from './@IconTypes';
2
- declare function LocationIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from './@ErkIcon';
2
+ declare function LocationIcon(props: IconProps): JSX.Element;
3
3
  export default LocationIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function LocationIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 4.17 4.42 9.92 6.24 12.11.4.48 1.13.48 1.53 0C14.58 18.92 19 13.17 19 9c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" }) }));
2
+ import { useIconProps } from './@ErkIcon';
3
+ function LocationIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 4.17 4.42 9.92 6.24 12.11.4.48 1.13.48 1.53 0C14.58 18.92 19 13.17 19 9c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" }) }));
5
6
  }
6
7
  export default LocationIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from './@IconTypes';
2
- declare function PersonIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from './@ErkIcon';
2
+ declare function PersonIcon(props: IconProps): JSX.Element;
3
3
  export default PersonIcon;
@@ -1,6 +1,7 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function PersonIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsxs("svg", { ...props, className: className, version: "1.1", viewBox: "-42 0 512 512", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "m210.351562 246.632812c33.882813 0 63.222657-12.152343 87.195313-36.128906 23.972656-23.972656 36.125-53.304687 36.125-87.191406 0-33.875-12.152344-63.210938-36.128906-87.191406-23.976563-23.96875-53.3125-36.121094-87.191407-36.121094-33.886718 0-63.21875 12.152344-87.191406 36.125s-36.128906 53.308594-36.128906 87.1875c0 33.886719 12.15625 63.222656 36.132812 87.195312 23.976563 23.96875 53.3125 36.125 87.1875 36.125zm0 0" }), _jsx("path", { d: "m426.128906 393.703125c-.691406-9.976563-2.089844-20.859375-4.148437-32.351563-2.078125-11.578124-4.753907-22.523437-7.957031-32.527343-3.308594-10.339844-7.808594-20.550781-13.371094-30.335938-5.773438-10.15625-12.554688-19-20.164063-26.277343-7.957031-7.613282-17.699219-13.734376-28.964843-18.199219-11.226563-4.441407-23.667969-6.691407-36.976563-6.691407-5.226563 0-10.28125 2.144532-20.042969 8.5-6.007812 3.917969-13.035156 8.449219-20.878906 13.460938-6.707031 4.273438-15.792969 8.277344-27.015625 11.902344-10.949219 3.542968-22.066406 5.339844-33.039063 5.339844-10.972656 0-22.085937-1.796876-33.046874-5.339844-11.210938-3.621094-20.296876-7.625-26.996094-11.898438-7.769532-4.964844-14.800782-9.496094-20.898438-13.46875-9.75-6.355468-14.808594-8.5-20.035156-8.5-13.3125 0-25.75 2.253906-36.972656 6.699219-11.257813 4.457031-21.003906 10.578125-28.96875 18.199219-7.605469 7.28125-14.390625 16.121094-20.15625 26.273437-5.558594 9.785157-10.058594 19.992188-13.371094 30.339844-3.199219 10.003906-5.875 20.945313-7.953125 32.523437-2.058594 11.476563-3.457031 22.363282-4.148437 32.363282-.679688 9.796875-1.023438 19.964844-1.023438 30.234375 0 26.726562 8.496094 48.363281 25.25 64.320312 16.546875 15.746094 38.441406 23.734375 65.066406 23.734375h246.53125c26.625 0 48.511719-7.984375 65.0625-23.734375 16.757813-15.945312 25.253906-37.585937 25.253906-64.324219-.003906-10.316406-.351562-20.492187-1.035156-30.242187zm0 0" })] }));
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { useIconProps } from './@ErkIcon';
3
+ function PersonIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "1 1 22 22", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v1c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-1c0-2.66-5.33-4-8-4z" }) }));
5
6
  }
6
7
  export default PersonIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function DislikeIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function DislikeIcon(props: IconProps): JSX.Element;
3
3
  export default DislikeIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function DislikeIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M10.88 21.94l5.53-5.54c.37-.37.58-.88.58-1.41V5c0-1.1-.9-2-2-2H6c-.8 0-1.52.48-1.83 1.21L.91 11.82C.06 13.8 1.51 16 3.66 16h5.65l-.95 4.58c-.1.5.05 1.01.41 1.37.59.58 1.53.58 2.11-.01zM21 3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2s2-.9 2-2V5c0-1.1-.9-2-2-2z" }) }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function DislikeIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M10.88 21.94l5.53-5.54c.37-.37.58-.88.58-1.41V5c0-1.1-.9-2-2-2H6c-.8 0-1.52.48-1.83 1.21L.91 11.82C.06 13.8 1.51 16 3.66 16h5.65l-.95 4.58c-.1.5.05 1.01.41 1.37.59.58 1.53.58 2.11-.01zM21 3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2s2-.9 2-2V5c0-1.1-.9-2-2-2z" }) }));
5
6
  }
6
7
  export default DislikeIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function DissatisfiedIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function DissatisfiedIcon(props: IconProps): JSX.Element;
3
3
  export default DissatisfiedIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function DissatisfiedIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsxs("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-3.5c.73 0 1.39.19 1.97.53.12-.14.86-.98 1.01-1.14-.85-.56-1.87-.89-2.98-.89-1.11 0-2.13.33-2.99.88.97 1.09.01.02 1.01 1.14.59-.33 1.25-.52 1.98-.52z" })] }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function DissatisfiedIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-3.5c.73 0 1.39.19 1.97.53.12-.14.86-.98 1.01-1.14-.85-.56-1.87-.89-2.98-.89-1.11 0-2.13.33-2.99.88.97 1.09.01.02 1.01 1.14.59-.33 1.25-.52 1.98-.52z" })] }));
5
6
  }
6
7
  export default DissatisfiedIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function LikeIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function LikeIcon(props: IconProps): JSX.Element;
3
3
  export default LikeIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function LikeIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M13.12 2.06L7.58 7.6c-.37.37-.58.88-.58 1.41V19c0 1.1.9 2 2 2h9c.8 0 1.52-.48 1.84-1.21l3.26-7.61C23.94 10.2 22.49 8 20.34 8h-5.65l.95-4.58c.1-.5-.05-1.01-.41-1.37-.59-.58-1.53-.58-2.11.01zM3 21c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2s-2 .9-2 2v8c0 1.1.9 2 2 2z" }) }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function LikeIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M13.12 2.06L7.58 7.6c-.37.37-.58.88-.58 1.41V19c0 1.1.9 2 2 2h9c.8 0 1.52-.48 1.84-1.21l3.26-7.61C23.94 10.2 22.49 8 20.34 8h-5.65l.95-4.58c.1-.5-.05-1.01-.41-1.37-.59-.58-1.53-.58-2.11.01zM3 21c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2s-2 .9-2 2v8c0 1.1.9 2 2 2z" }) }));
5
6
  }
6
7
  export default LikeIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function SatisfiedIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function SatisfiedIcon(props: IconProps): JSX.Element;
3
3
  export default SatisfiedIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function SatisfiedIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsxs("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M12 16c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2zm-.01-14C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })] }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function SatisfiedIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M12 16c-1.48 0-2.75-.81-3.45-2H6.88c.8 2.05 2.79 3.5 5.12 3.5s4.32-1.45 5.12-3.5h-1.67c-.69 1.19-1.97 2-3.45 2zm-.01-14C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })] }));
5
6
  }
6
7
  export default SatisfiedIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function StarIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function StarIcon(props: IconProps): JSX.Element;
3
3
  export default StarIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function StarIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 17.27l5.17 3.12c.38.23.85-.11.75-.54l-1.37-5.88 4.56-3.95c.33-.29.16-.84-.29-.88l-6.01-.51-2.35-5.54c-.17-.41-.75-.41-.92 0L9.19 8.63l-6.01.51c-.44.04-.62.59-.28.88l4.56 3.95-1.37 5.88c-.1.43.37.77.75.54L12 17.27z" }) }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function StarIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 17.27l5.17 3.12c.38.23.85-.11.75-.54l-1.37-5.88 4.56-3.95c.33-.29.16-.84-.29-.88l-6.01-.51-2.35-5.54c-.17-.41-.75-.41-.92 0L9.19 8.63l-6.01.51c-.44.04-.62.59-.28.88l4.56 3.95-1.37 5.88c-.1.43.37.77.75.54L12 17.27z" }) }));
5
6
  }
6
7
  export default StarIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function VeryDissatisfiedIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function VeryDissatisfiedIcon(props: IconProps): JSX.Element;
3
3
  export default VeryDissatisfiedIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function VeryDissatisfiedIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsxs("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5z" })] }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function VeryDissatisfiedIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm0-6c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3.5z" })] }));
5
6
  }
6
7
  export default VeryDissatisfiedIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from '../@IconTypes';
2
- declare function VerySatisfiedIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from '../@ErkIcon';
2
+ declare function VerySatisfiedIcon(props: IconProps): JSX.Element;
3
3
  export default VerySatisfiedIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from '../ErkIcon.module.css';
3
- function VerySatisfiedIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsxs("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-5-6c.78 2.34 2.72 4 5 4s4.22-1.66 5-4H7z" })] }));
2
+ import { useIconProps } from '../@ErkIcon';
3
+ function VerySatisfiedIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsxs("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "15.5", cy: "9.5", r: "1.5" }), _jsx("circle", { cx: "8.5", cy: "9.5", r: "1.5" }), _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-5-6c.78 2.34 2.72 4 5 4s4.22-1.66 5-4H7z" })] }));
5
6
  }
6
7
  export default VerySatisfiedIcon;
@@ -1,3 +1,3 @@
1
- import { IconProps } from './@IconTypes';
2
- declare function WarningIcon({ className, ...props }: IconProps): JSX.Element;
1
+ import { IconProps } from './@ErkIcon';
2
+ declare function WarningIcon(props: IconProps): JSX.Element;
3
3
  export default WarningIcon;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import styles from './ErkIcon.module.css';
3
- function WarningIcon({ className = styles.ErkIcon, ...props }) {
4
- return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z" }) }));
2
+ import { useIconProps } from './@ErkIcon';
3
+ function WarningIcon(props) {
4
+ const iconProps = useIconProps(props);
5
+ return (_jsx("svg", { ...iconProps, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z" }) }));
5
6
  }
6
7
  export default WarningIcon;
@@ -117,7 +117,7 @@ const StyledDay = styled(MuiPickerDay)(({ theme }) => ({
117
117
  }));
118
118
  function CustomDatePicker({ error, required, disabled, readOnly, helperText, pickTime = false, ...others }) {
119
119
  if (pickTime) {
120
- return (_jsx(StyledDateTimePicker, { ...others, disabled: disabled ?? readOnly, defaultValue: required ? new Date() : undefined, showDaysOutsideCurrentMonth: true, slotProps: {
120
+ return (_jsx(StyledDateTimePicker, { ampm: true, ...others, disabled: disabled ?? readOnly, defaultValue: required ? new Date() : undefined, showDaysOutsideCurrentMonth: true, slotProps: {
121
121
  actionBar: {
122
122
  actions: ['clear', 'accept'],
123
123
  },
@@ -144,10 +144,7 @@ function CustomDatePicker({ error, required, disabled, readOnly, helperText, pic
144
144
  placeholder: '',
145
145
  InputProps: {
146
146
  disabled: disabled ?? readOnly,
147
- endAdornment: (_jsx(CalendarIcon, { style: {
148
- width: 27,
149
- height: 27,
150
- } })),
147
+ endAdornment: _jsx(CalendarIcon, { fill: "#000000a0" }),
151
148
  },
152
149
  },
153
150
  }, slots: {
@@ -185,10 +182,7 @@ function CustomDatePicker({ error, required, disabled, readOnly, helperText, pic
185
182
  placeholder: '',
186
183
  InputProps: {
187
184
  disabled: disabled ?? readOnly,
188
- endAdornment: (_jsx(CalendarIcon, { style: {
189
- width: 27,
190
- height: 27,
191
- } })),
185
+ endAdornment: _jsx(CalendarIcon, { fill: "#000000a0" }),
192
186
  },
193
187
  },
194
188
  }, localeText: {}, slots: {
@@ -5,6 +5,7 @@ import { useAppSelector } from '../../hooks';
5
5
  export const StyledTextField = styled(MuiTextField)(({ theme, padding = '6px 12px', ...props }) => ({
6
6
  borderRadius: 10,
7
7
  opacity: props.disabled ? 0.5 : 1,
8
+ backgroundColor: theme.palette.stepBackgroundColor.default,
8
9
  '& input, textarea': {
9
10
  cursor: props.disabled || props.readOnly ? 'default' : 'text',
10
11
  padding,
@@ -33,11 +33,7 @@ function InputIcon({ icon, fill, ...others }) {
33
33
  width: 23,
34
34
  }, fill: fill, ...others }));
35
35
  case IconTypes.PERSON:
36
- return (_jsx(PersonIcon, { style: {
37
- display: 'flex',
38
- height: 23,
39
- width: 23,
40
- }, fill: fill, ...others }));
36
+ return _jsx(PersonIcon, { fill: fill, ...others });
41
37
  case IconTypes.LEAK:
42
38
  return (_jsx(LeakIcon, { style: {
43
39
  display: 'flex',
@@ -70,11 +66,7 @@ function InputIcon({ icon, fill, ...others }) {
70
66
  width: 24,
71
67
  }, fill: fill, ...others }));
72
68
  case IconTypes.CALENDAR:
73
- return (_jsx(CalendarIcon, { style: {
74
- display: 'flex',
75
- height: 23,
76
- width: 23,
77
- }, fill: fill, ...others }));
69
+ return _jsx(CalendarIcon, { fill: fill, ...others });
78
70
  case IconTypes.LOCATION:
79
71
  return (_jsx(LocationIcon, { style: {
80
72
  display: 'flex',
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import '../Utils/MuiClassnameSetup';
3
2
  import { FormStyle } from '../@Types/Form';
4
3
  import { Palette, PaletteColor } from '@mui/material/styles/createPalette';
5
4
  declare module '@mui/material/styles' {
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import '../Utils/MuiClassnameSetup';
3
2
  import { esES as DatePickersEs } from '@mui/x-date-pickers/locales';
4
3
  import { createTheme, ThemeProvider } from '@mui/material';
5
4
  import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
package/dist/Widget.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ import './Utils/MuiClassnameSetup';
package/dist/Widget.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import ReactDOM from 'react-dom';
3
3
  import App from './App/App';
4
+ import './Utils/MuiClassnameSetup';
4
5
  const WIDGET_ID = document.currentScript?.getAttribute('data-id') ?? 'widget:eureka';
5
6
  const element = document.getElementById(WIDGET_ID);
6
7
  const props = {};
package/dist/main.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import './Init.ts';
2
2
  import './index.css';
3
+ import './Utils/MuiClassnameSetup';
package/dist/main.js CHANGED
@@ -4,6 +4,7 @@ import ReactDOM from 'react-dom/client';
4
4
  import styles from './index.module.css';
5
5
  import App from './App/App';
6
6
  import './index.css';
7
+ import './Utils/MuiClassnameSetup';
7
8
  const urlParams = new URLSearchParams(window.location.search);
8
9
  const values = urlParams.get('data-values');
9
10
  let dataValues = undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"3.0.1-refactor",
4
+ "version":"3.0.2-refactor",
5
5
  "scripts": {
6
6
  "watch": "tsc --noEmit --watch --project tsconfig.app.json",
7
7
  "start": "vite",
@@ -16,24 +16,20 @@
16
16
  "cypress": "DISPLAY=:0 cypress open"
17
17
  },
18
18
  "dependencies": {
19
- "@emotion/react": "^11.13.3",
20
- "@emotion/styled": "^11.13.0",
21
- "@mui/material": "^6.1.3",
22
- "@mui/x-date-pickers": "^7.19.0",
23
- "@reduxjs/toolkit": "^2.2.8",
19
+ "@reduxjs/toolkit": "^2.4.0",
24
20
  "axios": "^1.7.7",
25
21
  "date-fns": "^4.1.0",
26
22
  "draft-js": "^0.11.7",
27
- "i18n-iso-countries": "^7.12.0",
28
- "libphonenumber-js": "^1.11.11",
23
+ "i18n-iso-countries": "^7.13.0",
24
+ "libphonenumber-js": "^1.11.14",
29
25
  "logrocket": "^9.0.0",
30
26
  "nanoid": "^5.0.7",
31
27
  "react-draft-wysiwyg": "^1.15.0",
32
28
  "react-google-recaptcha": "^3.1.0",
33
- "react-hook-form": "^7.53.0",
29
+ "react-hook-form": "^7.53.2",
34
30
  "react-international-phone": "^4.3.0",
35
31
  "react-redux": "^9.1.2",
36
- "typescript": "^5.6.2"
32
+ "typescript": "^5.7.2"
37
33
  },
38
34
  "eslintConfig": {},
39
35
  "browserslist": {
@@ -50,10 +46,10 @@
50
46
  },
51
47
  "devDependencies": {
52
48
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
53
- "@babel/preset-env": "^7.25.7",
54
- "@babel/preset-react": "^7.25.7",
55
- "@babel/preset-typescript": "^7.25.7",
56
- "@faker-js/faker": "^9.0.3",
49
+ "@babel/preset-env": "^7.26.0",
50
+ "@babel/preset-react": "^7.25.9",
51
+ "@babel/preset-typescript": "^7.26.0",
52
+ "@faker-js/faker": "^9.2.0",
57
53
  "@storybook/addon-coverage": "^1.0.4",
58
54
  "@storybook/addon-essentials": "^8.3.5",
59
55
  "@storybook/addon-interactions": "^8.3.5",
@@ -66,19 +62,19 @@
66
62
  "@storybook/test": "^8.3.5",
67
63
  "@storybook/testing-library": "^0.2.2",
68
64
  "@testing-library/dom": "^10.4.0",
69
- "@testing-library/jest-dom": "^6.4.8",
65
+ "@testing-library/jest-dom": "^6.6.3",
70
66
  "@testing-library/react": "^16.0.1",
71
67
  "@testing-library/user-event": "^14.5.2",
72
68
  "@types/draft-js": "^0.11.18",
73
- "@types/react": "^18.3.11",
74
- "@types/react-dom": "^18.3.0",
69
+ "@types/react": "^18.3.12",
70
+ "@types/react-dom": "^18.3.1",
75
71
  "@types/react-draft-wysiwyg": "^1.13.8",
76
72
  "@types/react-google-recaptcha": "^2.1.9",
77
73
  "@typescript-eslint/eslint-plugin": "^8.8.1",
78
74
  "@typescript-eslint/parser": "^8.8.1",
79
- "@vitejs/plugin-react-swc": "^3.7.1",
80
- "chromatic": "^11.12.5",
81
- "cypress": "^13.15.0",
75
+ "@vitejs/plugin-react-swc": "^3.7.2",
76
+ "chromatic": "^11.19.0",
77
+ "cypress": "^13.16.0",
82
78
  "dotenv-webpack": "^8.1.0",
83
79
  "eslint": "^8.57.1",
84
80
  "eslint-config-prettier": "^9.1.0",
@@ -88,18 +84,22 @@
88
84
  "eslint-plugin-storybook": "^0.9.0",
89
85
  "identity-obj-proxy": "^3.0.0",
90
86
  "jsdom": "^25.0.1",
91
- "prettier": "3.3.3",
87
+ "prettier": "3.4.1",
92
88
  "react-docgen-typescript": "^2.2.2",
93
89
  "react-refresh": "^0.14.2",
94
- "storybook": "^8.3.5",
90
+ "storybook": "^8.4.5",
95
91
  "storybook-mock-date-decorator": "^2.0.6",
96
- "vite": "^5.4.8",
97
- "vite-plugin-svgr": "^4.2.0",
98
- "vitest": "^2.1.2"
92
+ "vite": "^6.0.1",
93
+ "vite-plugin-svgr": "^4.3.0",
94
+ "vitest": "^2.1.6"
99
95
  },
100
96
  "peerDependencies": {
101
97
  "react": "^18.x.x",
102
- "react-dom": "^18.x.x"
98
+ "react-dom": "^18.x.x",
99
+ "@emotion/react": "^11.x.x",
100
+ "@emotion/styled": "^11.x.x",
101
+ "@mui/material": "^6.x.x",
102
+ "@mui/x-date-pickers": "^7.x.x"
103
103
  },
104
104
  "publishConfig": {
105
105
  "access": "public"
@@ -1,6 +0,0 @@
1
- export interface IconProps {
2
- fill?: string;
3
- contrast?: string;
4
- style?: React.CSSProperties;
5
- className?: string;
6
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +1,7 @@
1
1
  .ErkIcon {
2
- fill: currentColor;
3
2
  width: 1em;
4
3
  height: 1em;
4
+ fill: currentColor;
5
5
  display: inline-block;
6
6
  font-size: 1.5rem;
7
7
  flex-shrink: 0;