react-restyle-components 0.1.24 → 0.1.28

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 (118) hide show
  1. package/README.md +1 -19
  2. package/lib/cjs/core-components/atoms/buttons/button.stories.js +19 -0
  3. package/lib/cjs/core-components/atoms/buttons/button.stories.js.map +1 -0
  4. package/lib/cjs/core-components/atoms/buttons/buttons.component.js +12 -0
  5. package/lib/cjs/core-components/atoms/buttons/buttons.component.js.map +1 -0
  6. package/lib/cjs/core-components/atoms/buttons/buttons.component.test.js +14 -0
  7. package/lib/cjs/core-components/atoms/buttons/buttons.component.test.js.map +1 -0
  8. package/lib/cjs/core-components/atoms/check-box/checkBox.component.js +18 -0
  9. package/lib/cjs/core-components/atoms/check-box/checkBox.component.js.map +1 -0
  10. package/lib/cjs/core-components/atoms/check-box/checkBox.component.test.js +14 -0
  11. package/lib/cjs/core-components/atoms/check-box/checkBox.component.test.js.map +1 -0
  12. package/lib/cjs/core-components/atoms/check-box/checkBox.stories.js +19 -0
  13. package/lib/cjs/core-components/atoms/check-box/checkBox.stories.js.map +1 -0
  14. package/lib/cjs/core-components/atoms/date-picker/date-picker.component.js +51 -0
  15. package/lib/cjs/core-components/atoms/date-picker/date-picker.component.js.map +1 -0
  16. package/lib/cjs/core-components/atoms/date-picker/date-picker.component.test.js +15 -0
  17. package/lib/cjs/core-components/atoms/date-picker/date-picker.component.test.js.map +1 -0
  18. package/lib/cjs/core-components/atoms/date-picker/date-picker.stories.js +19 -0
  19. package/lib/cjs/core-components/atoms/date-picker/date-picker.stories.js.map +1 -0
  20. package/lib/cjs/core-components/atoms/input/input-otp.component.js +89 -0
  21. package/lib/cjs/core-components/atoms/input/input-otp.component.js.map +1 -0
  22. package/lib/cjs/core-components/atoms/input/input-pin.component.js +106 -0
  23. package/lib/cjs/core-components/atoms/input/input-pin.component.js.map +1 -0
  24. package/lib/cjs/core-components/atoms/input/input-pin.component.test.js +18 -0
  25. package/lib/cjs/core-components/atoms/input/input-pin.component.test.js.map +1 -0
  26. package/lib/cjs/core-components/atoms/input/input-pin.stories.js +20 -0
  27. package/lib/cjs/core-components/atoms/input/input-pin.stories.js.map +1 -0
  28. package/lib/cjs/core-components/atoms/input/input.component.js +21 -0
  29. package/lib/cjs/core-components/atoms/input/input.component.js.map +1 -0
  30. package/lib/cjs/core-components/atoms/input/input.component.test.js +18 -0
  31. package/lib/cjs/core-components/atoms/input/input.component.test.js.map +1 -0
  32. package/lib/cjs/core-components/atoms/input/input.stories.js +17 -0
  33. package/lib/cjs/core-components/atoms/input/input.stories.js.map +1 -0
  34. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.component.js +68 -0
  35. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.component.js.map +1 -0
  36. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.component.test.js +14 -0
  37. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.component.test.js.map +1 -0
  38. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.stories.js +17 -0
  39. package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.stories.js.map +1 -0
  40. package/lib/cjs/core-components/atoms/loader/loader.component.js +61 -0
  41. package/lib/cjs/core-components/atoms/loader/loader.component.js.map +1 -0
  42. package/lib/cjs/core-components/atoms/loader/loader.component.test.js +14 -0
  43. package/lib/cjs/core-components/atoms/loader/loader.component.test.js.map +1 -0
  44. package/lib/cjs/core-components/atoms/loader/loader.stories.js +18 -0
  45. package/lib/cjs/core-components/atoms/loader/loader.stories.js.map +1 -0
  46. package/lib/cjs/core-components/atoms/radio/radio.component.js +15 -0
  47. package/lib/cjs/core-components/atoms/radio/radio.component.js.map +1 -0
  48. package/lib/cjs/core-components/atoms/radio/radio.component.test.js +14 -0
  49. package/lib/cjs/core-components/atoms/radio/radio.component.test.js.map +1 -0
  50. package/lib/cjs/core-components/atoms/radio/radio.stories.js +20 -0
  51. package/lib/cjs/core-components/atoms/radio/radio.stories.js.map +1 -0
  52. package/lib/cjs/core-components/atoms/stepper/stepper.stories.js +0 -4
  53. package/lib/cjs/core-components/atoms/stepper/stepper.stories.js.map +1 -1
  54. package/lib/cjs/core-components/atoms/timer/timer.component.js +106 -0
  55. package/lib/cjs/core-components/atoms/timer/timer.component.js.map +1 -0
  56. package/lib/cjs/core-components/atoms/timer/timer.component.test.js +20 -0
  57. package/lib/cjs/core-components/atoms/timer/timer.component.test.js.map +1 -0
  58. package/lib/cjs/core-components/index.js +10 -0
  59. package/lib/cjs/core-components/index.js.map +1 -1
  60. package/lib/esm/core-components/atoms/buttons/button.stories.js +11 -0
  61. package/lib/esm/core-components/atoms/buttons/button.stories.js.map +1 -0
  62. package/lib/esm/core-components/atoms/buttons/buttons.component.js +5 -0
  63. package/lib/esm/core-components/atoms/buttons/buttons.component.js.map +1 -0
  64. package/lib/esm/core-components/atoms/buttons/buttons.component.test.js +9 -0
  65. package/lib/esm/core-components/atoms/buttons/buttons.component.test.js.map +1 -0
  66. package/lib/esm/core-components/atoms/check-box/checkBox.component.js +11 -0
  67. package/lib/esm/core-components/atoms/check-box/checkBox.component.js.map +1 -0
  68. package/lib/esm/core-components/atoms/check-box/checkBox.component.test.js +9 -0
  69. package/lib/esm/core-components/atoms/check-box/checkBox.component.test.js.map +1 -0
  70. package/lib/esm/core-components/atoms/check-box/checkBox.stories.js +12 -0
  71. package/lib/esm/core-components/atoms/check-box/checkBox.stories.js.map +1 -0
  72. package/lib/esm/core-components/atoms/date-picker/date-picker.component.js +21 -0
  73. package/lib/esm/core-components/atoms/date-picker/date-picker.component.js.map +1 -0
  74. package/lib/esm/core-components/atoms/date-picker/date-picker.component.test.js +10 -0
  75. package/lib/esm/core-components/atoms/date-picker/date-picker.component.test.js.map +1 -0
  76. package/lib/esm/core-components/atoms/date-picker/date-picker.stories.js +12 -0
  77. package/lib/esm/core-components/atoms/date-picker/date-picker.stories.js.map +1 -0
  78. package/lib/esm/core-components/atoms/input/input-otp.component.js +62 -0
  79. package/lib/esm/core-components/atoms/input/input-otp.component.js.map +1 -0
  80. package/lib/esm/core-components/atoms/input/input-pin.component.js +79 -0
  81. package/lib/esm/core-components/atoms/input/input-pin.component.js.map +1 -0
  82. package/lib/esm/core-components/atoms/input/input-pin.component.test.js +13 -0
  83. package/lib/esm/core-components/atoms/input/input-pin.component.test.js.map +1 -0
  84. package/lib/esm/core-components/atoms/input/input-pin.stories.js +13 -0
  85. package/lib/esm/core-components/atoms/input/input-pin.stories.js.map +1 -0
  86. package/lib/esm/core-components/atoms/input/input.component.js +14 -0
  87. package/lib/esm/core-components/atoms/input/input.component.js.map +1 -0
  88. package/lib/esm/core-components/atoms/input/input.component.test.js +13 -0
  89. package/lib/esm/core-components/atoms/input/input.component.test.js.map +1 -0
  90. package/lib/esm/core-components/atoms/input/input.stories.js +10 -0
  91. package/lib/esm/core-components/atoms/input/input.stories.js.map +1 -0
  92. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.component.js +38 -0
  93. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.component.js.map +1 -0
  94. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.component.test.js +9 -0
  95. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.component.test.js.map +1 -0
  96. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.stories.js +10 -0
  97. package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.stories.js.map +1 -0
  98. package/lib/esm/core-components/atoms/loader/loader.component.js +53 -0
  99. package/lib/esm/core-components/atoms/loader/loader.component.js.map +1 -0
  100. package/lib/esm/core-components/atoms/loader/loader.component.test.js +9 -0
  101. package/lib/esm/core-components/atoms/loader/loader.component.test.js.map +1 -0
  102. package/lib/esm/core-components/atoms/loader/loader.stories.js +11 -0
  103. package/lib/esm/core-components/atoms/loader/loader.stories.js.map +1 -0
  104. package/lib/esm/core-components/atoms/radio/radio.component.js +8 -0
  105. package/lib/esm/core-components/atoms/radio/radio.component.js.map +1 -0
  106. package/lib/esm/core-components/atoms/radio/radio.component.test.js +9 -0
  107. package/lib/esm/core-components/atoms/radio/radio.component.test.js.map +1 -0
  108. package/lib/esm/core-components/atoms/radio/radio.stories.js +13 -0
  109. package/lib/esm/core-components/atoms/radio/radio.stories.js.map +1 -0
  110. package/lib/esm/core-components/atoms/stepper/stepper.stories.js +0 -4
  111. package/lib/esm/core-components/atoms/stepper/stepper.stories.js.map +1 -1
  112. package/lib/esm/core-components/atoms/timer/timer.component.js +80 -0
  113. package/lib/esm/core-components/atoms/timer/timer.component.js.map +1 -0
  114. package/lib/esm/core-components/atoms/timer/timer.component.test.js +15 -0
  115. package/lib/esm/core-components/atoms/timer/timer.component.test.js.map +1 -0
  116. package/lib/esm/core-components/index.js +10 -0
  117. package/lib/esm/core-components/index.js.map +1 -1
  118. package/package.json +6 -2
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.InputDropdown = void 0;
30
+ const react_1 = __importStar(require("react"));
31
+ const UpArrow_svg_1 = __importDefault(require("../../../library/assets/svg/UpArrow.svg"));
32
+ const DownArrow_svg_1 = __importDefault(require("../../../library/assets/svg/DownArrow.svg"));
33
+ const InputDropdown = ({ items, className, hasError, title, onChange, }) => {
34
+ const [isOpen, setIsOpen] = (0, react_1.useState)(false);
35
+ const [value, setValue] = (0, react_1.useState)('');
36
+ const useOutsideAlerter = (ref) => {
37
+ (0, react_1.useEffect)(() => {
38
+ function handleClickOutside(event) {
39
+ if (ref.current &&
40
+ !ref.current.contains(event.target) &&
41
+ isOpen &&
42
+ isOpen)
43
+ setIsOpen(!isOpen);
44
+ }
45
+ document.addEventListener('mousedown', handleClickOutside);
46
+ return () => {
47
+ document.removeEventListener('mousedown', handleClickOutside);
48
+ };
49
+ }, [ref]);
50
+ };
51
+ const wrapperRef = (0, react_1.useRef)(null);
52
+ useOutsideAlerter(wrapperRef);
53
+ return (react_1.default.createElement("div", { className: `${className} relative` },
54
+ react_1.default.createElement("div", { className: "flex flex-row items-center " },
55
+ react_1.default.createElement("input", { type: "text", name: "name", placeholder: title, value: value, className: " text-gray-dark-secondary pt-3 pb-2 w-full px-0 mt-0 bg-transparent border-gray-secondary border-0 border-b appearance-none focus:outline-none focus:ring-0 font-nunitoSansRegular text-md", onClick: () => {
56
+ setIsOpen(!isOpen);
57
+ }, onChange: (event) => onChange && onChange(event.target.value) }),
58
+ !isOpen && react_1.default.createElement("img", { src: UpArrow_svg_1.default, className: "absolute h-4 w-4 right-0" }),
59
+ isOpen && react_1.default.createElement("img", { src: DownArrow_svg_1.default, className: "absolute h-4 w-4 right-0" })),
60
+ isOpen && (react_1.default.createElement("div", { className: "z-10 w-full absolute text-base list-none bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700", ref: wrapperRef },
61
+ react_1.default.createElement("ul", { className: "py-1" }, items.map((item, index) => (react_1.default.createElement("li", { key: index, className: "block py-2 px-4 text-md hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 font-nunitoSansRegular", onClick: () => {
62
+ setValue(item);
63
+ setIsOpen(!isOpen);
64
+ } }, item)))))),
65
+ hasError && (react_1.default.createElement("span", { className: "text-primaryCharcoal text-4xs", id: "error" }, `${title} is required`))));
66
+ };
67
+ exports.InputDropdown = InputDropdown;
68
+ //# sourceMappingURL=input-dropdown.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-dropdown.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/input-dropdown/input-dropdown.component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAyD;AACzD,0FAA8D;AAC9D,8FAAkE;AAS3D,MAAM,aAAa,GAAG,CAAC,EAC5B,KAAK,EACL,SAAS,EACT,QAAQ,EACR,KAAK,EACL,QAAQ,GACW,EAAE,EAAE;IACvB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IACrD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAS,EAAE,CAAC,CAAC;IAE/C,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,EAAE;QAChC,IAAA,iBAAS,EAAC,GAAG,EAAE;YACb,SAAS,kBAAkB,CAAC,KAAK;gBAC/B,IACE,GAAG,CAAC,OAAO;oBACX,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC;oBACnC,MAAM;oBACN,MAAM;oBAEN,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;YACvB,CAAC;YACD,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;YAC3D,OAAO,GAAG,EAAE;gBACV,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;YAChE,CAAC,CAAC;QACJ,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACZ,CAAC,CAAC;IAEF,MAAM,UAAU,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IAChC,iBAAiB,CAAC,UAAU,CAAC,CAAC;IAC9B,OAAO,CACL,uCAAK,SAAS,EAAE,GAAG,SAAS,WAAW;QACrC,uCAAK,SAAS,EAAC,6BAA6B;YAC1C,yCACE,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,MAAM,EACX,WAAW,EAAE,KAAK,EAClB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAC,6LAA6L,EACvM,OAAO,EAAE,GAAG,EAAE;oBACZ,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;gBACrB,CAAC,EACD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAC7D;YACD,CAAC,MAAM,IAAI,uCAAK,GAAG,EAAE,qBAAO,EAAE,SAAS,EAAC,0BAA0B,GAAG;YACrE,MAAM,IAAI,uCAAK,GAAG,EAAE,uBAAS,EAAE,SAAS,EAAC,0BAA0B,GAAG,CACnE;QACL,MAAM,IAAI,CACT,uCACE,SAAS,EAAC,6GAA6G,EACvH,GAAG,EAAE,UAAU;YAEf,sCAAI,SAAS,EAAC,MAAM,IACjB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,sCACE,GAAG,EAAE,KAAK,EACV,SAAS,EAAC,+GAA+G,EACzH,OAAO,EAAE,GAAG,EAAE;oBACZ,QAAQ,CAAC,IAAI,CAAC,CAAC;oBACf,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;gBACrB,CAAC,IAEA,IAAI,CACF,CACN,CAAC,CACC,CACD,CACP;QAEA,QAAQ,IAAI,CACX,wCAAM,SAAS,EAAC,+BAA+B,EAAC,EAAE,EAAC,OAAO,IACvD,GAAG,KAAK,cAAc,CAClB,CACR,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AA5EW,QAAA,aAAa,iBA4ExB"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable testing-library/render-result-naming-convention */
7
+ const react_1 = __importDefault(require("react"));
8
+ const _core_utils_1 = require("@core-utils");
9
+ const input_dropdown_component_1 = require("./input-dropdown.component");
10
+ it('render InputDropdown correctly', () => {
11
+ const inputDropDown = (0, _core_utils_1.render)(react_1.default.createElement(input_dropdown_component_1.InputDropdown, { title: "Source of funds", items: ['Bank account', 'UPI', 'Credit Card'], hasError: true, onChange: () => jest.fn() }));
12
+ expect(inputDropDown).toMatchSnapshot();
13
+ });
14
+ //# sourceMappingURL=input-dropdown.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-dropdown.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/input-dropdown/input-dropdown.component.test.tsx"],"names":[],"mappings":";;;;;AAAA,oEAAoE;AACpE,kDAA0B;AAC1B,6CAAmC;AACnC,yEAAyD;AAEzD,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;IACxC,MAAM,aAAa,GAAG,IAAA,oBAAM,EAC1B,8BAAC,wCAAa,IACZ,KAAK,EAAC,iBAAiB,EACvB,KAAK,EAAE,CAAC,cAAc,EAAE,KAAK,EAAE,aAAa,CAAC,EAC7C,QAAQ,EAAE,IAAI,EACd,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,GACzB,CACH,CAAC;IACF,MAAM,CAAC,aAAa,CAAC,CAAC,eAAe,EAAE,CAAC;AAC1C,CAAC,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Primary = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const input_dropdown_component_1 = require("./input-dropdown.component");
9
+ // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ exports.default = {
11
+ title: 'Atoms/InputDropdown',
12
+ component: input_dropdown_component_1.InputDropdown,
13
+ };
14
+ // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
15
+ const Primary = () => (react_1.default.createElement(input_dropdown_component_1.InputDropdown, { title: "Source of funds", items: ['Bank account', 'UPI', 'Credit Card'], hasError: true }));
16
+ exports.Primary = Primary;
17
+ //# sourceMappingURL=input-dropdown.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-dropdown.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/input-dropdown/input-dropdown.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yEAAyD;AAEzD,0GAA0G;AAC1G,kBAAe;IACb,KAAK,EAAE,qBAAqB;IAC5B,SAAS,EAAE,wCAAa;CACc,CAAC;AAEzC,2GAA2G;AACpG,MAAM,OAAO,GAAyC,GAAG,EAAE,CAAC,CACjE,8BAAC,wCAAa,IACZ,KAAK,EAAC,iBAAiB,EACvB,KAAK,EAAE,CAAC,cAAc,EAAE,KAAK,EAAE,aAAa,CAAC,EAC7C,QAAQ,EAAE,IAAI,GACd,CACH,CAAC;AANW,QAAA,OAAO,WAMlB"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ModalLoader = exports.Loader = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const reactstrap_1 = require("reactstrap");
9
+ const Loader = () => (react_1.default.createElement(reactstrap_1.Container, { fluid: true, className: "vh-50 d-flex" },
10
+ react_1.default.createElement(reactstrap_1.Row, { className: "justify-content-center align-self-center w-100 text-center" },
11
+ react_1.default.createElement(reactstrap_1.Spinner, { color: "primary" }))));
12
+ exports.Loader = Loader;
13
+ const ModalLoader = () => {
14
+ return (react_1.default.createElement(react_1.default.Fragment, null,
15
+ react_1.default.createElement(react_1.default.Fragment, null,
16
+ react_1.default.createElement("div", { className: "justify-center items-center flex overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none" },
17
+ react_1.default.createElement("div", { className: "relative mx-auto " },
18
+ react_1.default.createElement("div", { className: "border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none" },
19
+ react_1.default.createElement("div", { className: "relative p-2 flex-auto flex flex-col items-center" },
20
+ react_1.default.createElement("style", null, `
21
+ .spinner .background {
22
+ fill: #555;
23
+ }
24
+ .spinner .line {
25
+ animation: PacMan 5s infinite;
26
+ fill: none;
27
+ stroke: #d26188;
28
+ stroke-width: 25;
29
+ }
30
+ .spinner .spinner {
31
+ animation: Spin 2s infinite linear;
32
+ }
33
+ @keyframes PacMan {
34
+ 0% {
35
+ stroke-dasharray: 79px 79;
36
+ }
37
+ 50% {
38
+ stroke-dasharray: 1px 79;
39
+ }
40
+ 100% {
41
+ stroke-dasharray: 79px 79;
42
+ }
43
+ }
44
+ @keyframes Spin {
45
+ 0% {
46
+ transform: rotate(0deg);
47
+ }
48
+ 100% {
49
+ transform: rotate(360deg);
50
+ }
51
+ }
52
+ `),
53
+ react_1.default.createElement("svg", { className: "spinner", width: "100", height: "100", viewBox: "0 0 100 100" },
54
+ react_1.default.createElement("circle", { className: "background", cx: "0", cy: "0" }),
55
+ react_1.default.createElement("path", { className: "line", d: "M 37.5,50 C 37.5,43.096441 43.096441,37.5 50,37.5 C 56.903559,37.5 62.5,43.096441 62.5,50 C 62.5,56.903559 56.903559,62.5 50,62.5 C 43.096441,62.5 37.5,56.903559 37.5,50" })),
56
+ ' ',
57
+ react_1.default.createElement("span", { style: { marginTop: -15 } }, "loading ..."))))),
58
+ react_1.default.createElement("div", { className: "opacity-25 fixed inset-0 z-40 bg-black" }))));
59
+ };
60
+ exports.ModalLoader = ModalLoader;
61
+ //# sourceMappingURL=loader.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/loader/loader.component.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,2CAAmD;AAE5C,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,CAC1B,8BAAC,sBAAS,IAAC,KAAK,QAAC,SAAS,EAAC,cAAc;IACvC,8BAAC,gBAAG,IAAC,SAAS,EAAC,4DAA4D;QACzE,8BAAC,oBAAO,IAAC,KAAK,EAAC,SAAS,GAAG,CACvB,CACI,CACb,CAAC;AANW,QAAA,MAAM,UAMjB;AAEK,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,OAAO,CACL;QACE;YACE,uCAAK,SAAS,EAAC,uHAAuH;gBACpI,uCAAK,SAAS,EAAC,oBAAoB;oBAEjC,uCAAK,SAAS,EAAC,sGAAsG;wBAEnH,uCAAK,SAAS,EAAC,mDAAmD;4BAChE,6CACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgCd,CACmB;4BACR,uCACE,SAAS,EAAC,SAAS,EACnB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,aAAa;gCAErB,0CAAQ,SAAS,EAAC,YAAY,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,GAAU;gCACtD,wCACE,SAAS,EAAC,MAAM,EAChB,CAAC,EAAC,2KAA2K,GACvK,CACJ;4BAAC,GAAG;4BACV,wCAAM,KAAK,EAAE,EAAC,SAAS,EAAE,CAAC,EAAE,EAAC,kBAAoB,CAC7C,CACF,CACF,CACF;YACN,uCAAK,SAAS,EAAC,wCAAwC,GAAO,CAC7D,CACF,CACJ,CAAC;AACJ,CAAC,CAAC;AAlEW,QAAA,WAAW,eAkEtB"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable testing-library/render-result-naming-convention */
7
+ const react_1 = __importDefault(require("react"));
8
+ const _core_utils_1 = require("@core-utils");
9
+ const loader_component_1 = require("./loader.component");
10
+ it('render XB_Loader correctly', () => {
11
+ const loader = (0, _core_utils_1.render)(react_1.default.createElement(loader_component_1.Loader, null));
12
+ expect(loader).toMatchSnapshot();
13
+ });
14
+ //# sourceMappingURL=loader.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/loader/loader.component.test.tsx"],"names":[],"mappings":";;;;;AAAA,oEAAoE;AACpE,kDAA0B;AAC1B,6CAAmC;AACnC,yDAA0C;AAE1C,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACpC,MAAM,MAAM,GAAG,IAAA,oBAAM,EAAC,8BAAC,yBAAM,OAAG,CAAC,CAAC;IAClC,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,EAAE,CAAC;AACnC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Primary = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const loader_component_1 = require("./loader.component");
9
+ // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ exports.default = {
11
+ title: 'Atoms/Loader',
12
+ component: loader_component_1.Loader,
13
+ };
14
+ // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
15
+ const Primary = () => (react_1.default.createElement("div", { className: "flex flex-row" },
16
+ react_1.default.createElement(loader_component_1.Loader, null)));
17
+ exports.Primary = Primary;
18
+ //# sourceMappingURL=loader.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/loader/loader.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yDAA0C;AAE1C,0GAA0G;AAC1G,kBAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,yBAAM;CACc,CAAC;AAElC,2GAA2G;AACpG,MAAM,OAAO,GAAkC,GAAG,EAAE,CAAC,CAC1D,uCAAK,SAAS,EAAC,eAAe;IAC5B,8BAAC,yBAAM,OAAG,CACN,CACP,CAAC;AAJW,QAAA,OAAO,WAIlB"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Radio = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const checkedRadio_svg_1 = require("../../../library/assets/svg/checkedRadio.svg");
9
+ const uncheckRadio_svg_1 = require("../../../library/assets/svg/uncheckRadio.svg");
10
+ const Radio = ({ className, checked, onChange }) => {
11
+ const width = 20;
12
+ return (react_1.default.createElement("div", { className: `${className} flex flex-row mr-2`, onClick: onChange }, checked ? (react_1.default.createElement(checkedRadio_svg_1.ReactComponent, { width: width, height: width })) : (react_1.default.createElement(uncheckRadio_svg_1.ReactComponent, { width: width, height: width }))));
13
+ };
14
+ exports.Radio = Radio;
15
+ //# sourceMappingURL=radio.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/radio/radio.component.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,mFAA4F;AAC5F,mFAA4F;AAQrF,MAAM,KAAK,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAa,EAAE,EAAE;IAClE,MAAM,KAAK,GAAG,EAAE,CAAC;IACjB,OAAO,CACL,uCAAK,SAAS,EAAE,GAAG,SAAS,qBAAqB,EAAE,OAAO,EAAE,QAAQ,IACjE,OAAO,CAAC,CAAC,CAAC,CACT,8BAAC,iCAAY,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAI,CAC9C,CAAC,CAAC,CAAC,CACF,8BAAC,iCAAY,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAI,CAC9C,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,KAAK,SAWhB"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable testing-library/render-result-naming-convention */
7
+ const react_1 = __importDefault(require("react"));
8
+ const _core_utils_1 = require("@core-utils");
9
+ const radio_component_1 = require("./radio.component");
10
+ it('render XB_Radio correctly', () => {
11
+ const radio = (0, _core_utils_1.render)(react_1.default.createElement(radio_component_1.Radio, { checked: true, onChange: () => jest.fn() }));
12
+ expect(radio).toMatchSnapshot();
13
+ });
14
+ //# sourceMappingURL=radio.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/radio/radio.component.test.tsx"],"names":[],"mappings":";;;;;AAAA,oEAAoE;AACpE,kDAA0B;AAC1B,6CAAmC;AACnC,uDAAwC;AAExC,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACnC,MAAM,KAAK,GAAG,IAAA,oBAAM,EAAC,8BAAC,uBAAK,IAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,GAAI,CAAC,CAAC;IAC1E,MAAM,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AAClC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Primary = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const radio_component_1 = require("./radio.component");
9
+ // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ exports.default = {
11
+ title: 'Atoms/Radio',
12
+ component: radio_component_1.Radio,
13
+ };
14
+ // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
15
+ const Primary = () => (react_1.default.createElement(react_1.default.Fragment, null,
16
+ react_1.default.createElement("div", { className: "flex flex-row" },
17
+ react_1.default.createElement(radio_component_1.Radio, { checked: true, onChange: () => { } }),
18
+ react_1.default.createElement("span", null, "Married"))));
19
+ exports.Primary = Primary;
20
+ //# sourceMappingURL=radio.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/radio/radio.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,uDAAwC;AAExC,0GAA0G;AAC1G,kBAAe;IACb,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,uBAAK;CACc,CAAC;AAEjC,2GAA2G;AACpG,MAAM,OAAO,GAAiC,GAAG,EAAE,CAAC,CACzD;IACE,uCAAK,SAAS,EAAC,eAAe;QAC5B,8BAAC,uBAAK,IAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI;QAC5C,sDAAoB,CAChB,CACL,CACJ,CAAC;AAPW,QAAA,OAAO,WAOlB"}
@@ -12,10 +12,6 @@ const stepper_component_1 = require("./stepper.component");
12
12
  exports.default = {
13
13
  title: 'Atoms/Stepper',
14
14
  component: stepper_component_1.Stepper,
15
- // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
16
- argTypes: {
17
- backgroundColor: { control: 'color' },
18
- },
19
15
  };
20
16
  // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
21
17
  const Primary = () => (react_1.default.createElement(stepper_component_1.Stepper, { steps: ['1', '2', '3', '4'], currentStep: 2, onStepClick: (currentStep, step) => { }, className: "mt-4" }));
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/stepper/stepper.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,sDAAsD;AACtD,2CAA2C;AAC3C,kDAA0B;AAE1B,2DAA4C;AAE5C,0GAA0G;AAC1G,kBAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,2BAAO;IAClB,qEAAqE;IACrE,QAAQ,EAAE;QACR,eAAe,EAAE,EAAC,OAAO,EAAE,OAAO,EAAC;KACpC;CAC+B,CAAC;AAEnC,2GAA2G;AACpG,MAAM,OAAO,GAAmC,GAAG,EAAE,CAAC,CAC3D,8BAAC,2BAAO,IACN,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAC3B,WAAW,EAAE,CAAC,EACd,WAAW,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,EAAE,GAAE,CAAC,EACtC,SAAS,EAAC,MAAM,GAChB,CACH,CAAC;AAPW,QAAA,OAAO,WAOlB"}
1
+ {"version":3,"file":"stepper.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/stepper/stepper.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,sDAAsD;AACtD,2CAA2C;AAC3C,kDAA0B;AAE1B,2DAA4C;AAE5C,0GAA0G;AAC1G,kBAAe;IACb,KAAK,EAAE,eAAe;IACtB,SAAS,EAAE,2BAAO;CACc,CAAC;AAEnC,2GAA2G;AACpG,MAAM,OAAO,GAAmC,GAAG,EAAE,CAAC,CAC3D,8BAAC,2BAAO,IACN,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAC3B,WAAW,EAAE,CAAC,EACd,WAAW,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,EAAE,GAAE,CAAC,EACtC,SAAS,EAAC,MAAM,GAChB,CACH,CAAC;AAPW,QAAA,OAAO,WAOlB"}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Timer = void 0;
27
+ /* eslint-disable react/prop-types */
28
+ /* eslint-disable @typescript-eslint/no-unused-expressions */
29
+ const react_1 = __importStar(require("react"));
30
+ const timer_svg_1 = require("../../../library/assets/svg/timer.svg");
31
+ // eslint-disable-next-line react/display-name
32
+ exports.Timer = react_1.default.forwardRef(({ onClear }, ref) => {
33
+ const width = 15;
34
+ const [minute, setMinute] = (0, react_1.useState)('00');
35
+ const [second, setSecond] = (0, react_1.useState)('10');
36
+ (0, react_1.useEffect)(() => {
37
+ const sec = parseInt(second);
38
+ const min = parseInt(minute);
39
+ const countDown = setInterval(() => {
40
+ if (min === 0 && sec === 0) {
41
+ setMinute('00');
42
+ setSecond('00');
43
+ clearInterval(countDown);
44
+ onClear && onClear();
45
+ }
46
+ else {
47
+ let secondstTmp = (sec - 1).toString();
48
+ if (secondstTmp.length === 1) {
49
+ secondstTmp = '0'.concat(secondstTmp);
50
+ }
51
+ setSecond(secondstTmp);
52
+ if (sec === 0) {
53
+ setSecond('59');
54
+ const m = (min - 1).toString();
55
+ setMinute('0' + m);
56
+ }
57
+ }
58
+ }, 1000);
59
+ return () => {
60
+ clearInterval(countDown);
61
+ };
62
+ });
63
+ (0, react_1.useImperativeHandle)(ref, () => ({
64
+ updateState() {
65
+ setMinute('02');
66
+ setSecond('00');
67
+ },
68
+ resetTimer() {
69
+ // eslint-disable-next-line no-console
70
+ const sec = parseInt(second);
71
+ const min = parseInt(minute === '00' ? '02' : minute);
72
+ const countDown = setInterval(() => {
73
+ // eslint-disable-next-line no-console
74
+ if (min === 0 && sec === 0) {
75
+ setMinute('00');
76
+ setSecond('00');
77
+ clearInterval(countDown);
78
+ onClear && onClear();
79
+ }
80
+ else {
81
+ let secondstTmp = (sec - 1).toString();
82
+ if (secondstTmp.length === 1) {
83
+ secondstTmp = '0'.concat(secondstTmp);
84
+ }
85
+ setSecond(secondstTmp);
86
+ if (sec === 0) {
87
+ setSecond('59');
88
+ const m = (min - 1).toString();
89
+ setMinute('0' + m);
90
+ }
91
+ }
92
+ }, 1000);
93
+ return () => {
94
+ clearInterval(countDown);
95
+ };
96
+ },
97
+ }));
98
+ return (react_1.default.createElement("div", { className: "flex flex-row items-center" },
99
+ react_1.default.createElement(timer_svg_1.ReactComponent, { width: width, height: width, fill: "#E7503D" }),
100
+ react_1.default.createElement("div", { className: "ml-2 flex flex-row" },
101
+ react_1.default.createElement("span", null,
102
+ minute,
103
+ ":"),
104
+ react_1.default.createElement("span", null, second))));
105
+ });
106
+ //# sourceMappingURL=timer.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timer.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/timer/timer.component.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable testing-library/await-async-query */
7
+ /* eslint-disable testing-library/prefer-screen-queries */
8
+ /* eslint-disable testing-library/render-result-naming-convention */
9
+ const react_1 = __importDefault(require("react"));
10
+ const _core_utils_1 = require("@core-utils");
11
+ const timer_component_1 = require("./timer.component");
12
+ it('render Timer correctly', () => {
13
+ const time = (0, _core_utils_1.render)(react_1.default.createElement(timer_component_1.Timer, { onClear: () => { } }));
14
+ expect(time).toMatchSnapshot();
15
+ });
16
+ it('render Timer with minute correctly', () => {
17
+ const time = (0, _core_utils_1.render)(react_1.default.createElement(timer_component_1.Timer, { onClear: () => { } }));
18
+ expect(time.findByText('minute')).toBeTruthy();
19
+ });
20
+ //# sourceMappingURL=timer.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timer.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/timer/timer.component.test.tsx"],"names":[],"mappings":";;;;;AAAA,sDAAsD;AACtD,0DAA0D;AAC1D,oEAAoE;AACpE,kDAA0B;AAC1B,6CAAmC;AACnC,uDAAqD;AAErD,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;IAChC,MAAM,IAAI,GAAG,IAAA,oBAAM,EAAC,8BAAC,uBAAS,IAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI,CAAC,CAAC;IACtD,MAAM,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;AACjC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;IAC5C,MAAM,IAAI,GAAG,IAAA,oBAAM,EAAC,8BAAC,uBAAS,IAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI,CAAC,CAAC;IACtD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;AACjD,CAAC,CAAC,CAAC"}
@@ -14,5 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./atoms/buttons/buttons.component"), exports);
18
+ __exportStar(require("./atoms/check-box/checkBox.component"), exports);
19
+ __exportStar(require("./atoms/date-picker/date-picker.component"), exports);
20
+ __exportStar(require("./atoms/input/input-otp.component"), exports);
21
+ __exportStar(require("./atoms/input/input-pin.component"), exports);
22
+ __exportStar(require("./atoms/input/input.component"), exports);
23
+ __exportStar(require("./atoms/input-dropdown/input-dropdown.component"), exports);
24
+ __exportStar(require("./atoms/loader/loader.component"), exports);
25
+ __exportStar(require("./atoms/radio/radio.component"), exports);
17
26
  __exportStar(require("./atoms/stepper/stepper.component"), exports);
27
+ __exportStar(require("./atoms/timer/timer.component"), exports);
18
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core-components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core-components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,uEAAqD;AACrD,4EAA0D;AAC1D,oEAAkD;AAClD,oEAAkD;AAClD,gEAA8C;AAC9C,kFAAgE;AAChE,kEAAgD;AAChD,gEAA8C;AAC9C,oEAAkD;AAClD,gEAA8C"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Button } from './buttons.component';
3
+ // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Atoms/Button',
6
+ component: Button,
7
+ };
8
+ // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
9
+ export const Disable = () => (React.createElement(Button, { className: "bg-gray-light w-40", onClick: () => { } }, "Next"));
10
+ export const Primary = () => (React.createElement(Button, { className: "bg-orange mt-4", onClick: () => { } }, "Permanent Address"));
11
+ //# sourceMappingURL=button.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/buttons/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,MAAM,EAAC,MAAM,qBAAqB,CAAC;AAE3C,0GAA0G;AAC1G,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;CACc,CAAC;AAElC,2GAA2G;AAC3G,MAAM,CAAC,MAAM,OAAO,GAAkC,GAAG,EAAE,CAAC,CAC1D,oBAAC,MAAM,IAAC,SAAS,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,WAE/C,CACV,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAkC,GAAG,EAAE,CAAC,CAC1D,oBAAC,MAAM,IAAC,SAAS,EAAC,gBAAgB,EAAC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,wBAE3C,CACV,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export const Button = ({ className, disable, onClick, children, }) => {
3
+ return (React.createElement("button", { "data-testid": "buttonElement", disabled: disable, className: `${className} rounded-100px px-3 py-1 text-text-base text-md pt-2 pb-2 font-nunitoSansRegular`, onClick: () => onClick() }, children));
4
+ };
5
+ //# sourceMappingURL=buttons.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttons.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/buttons/buttons.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,SAAS,EACT,OAAO,EACP,OAAO,EACP,QAAQ,GACI,EAAE,EAAE;IAChB,OAAO,CACL,+CACc,eAAe,EAC3B,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,GAAG,SAAS,kFAAkF,EACzG,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,IAEvB,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /* eslint-disable testing-library/render-result-naming-convention */
2
+ import React from 'react';
3
+ import { render } from '@core-utils';
4
+ import { Button } from './buttons.component';
5
+ it('render XB_Button correctly', () => {
6
+ const button = render(React.createElement(Button, { className: "bg-gray-light w-40", onClick: () => jest.fn() }, "Permanent Address"));
7
+ expect(button).toMatchSnapshot();
8
+ });
9
+ //# sourceMappingURL=buttons.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttons.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/buttons/buttons.component.test.tsx"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,MAAM,EAAC,MAAM,qBAAqB,CAAC;AAE3C,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;IACpC,MAAM,MAAM,GAAG,MAAM,CACnB,oBAAC,MAAM,IAAC,SAAS,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,wBAEtD,CACV,CAAC;IACF,MAAM,CAAC,MAAM,CAAC,CAAC,eAAe,EAAE,CAAC;AACnC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ReactComponent as UnCheckbox } from '../../../library/assets/svg/unCheckbox.svg';
3
+ import { ReactComponent as CheckedBox } from '../../../library/assets/svg/checkedBox.svg';
4
+ export const CheckBox = ({ className, checked, onChange }) => {
5
+ const width = 20;
6
+ const hanleClick = () => {
7
+ onChange();
8
+ };
9
+ return (React.createElement("div", { className: `${className} flex flex-row mr-2`, onClick: hanleClick }, checked ? (React.createElement(CheckedBox, { width: width, height: width, fill: "#E7503D", stroke: "E7503D" })) : (React.createElement(UnCheckbox, { width: width, height: width }))));
10
+ };
11
+ //# sourceMappingURL=checkBox.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkBox.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/check-box/checkBox.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,cAAc,IAAI,UAAU,EAAC,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAC,cAAc,IAAI,UAAU,EAAC,MAAM,4CAA4C,CAAC;AAQxF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAgB,EAAE,EAAE;IACxE,MAAM,KAAK,GAAG,EAAE,CAAC;IACjB,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,QAAQ,EAAE,CAAC;IACb,CAAC,CAAC;IACF,OAAO,CACL,6BAAK,SAAS,EAAE,GAAG,SAAS,sBAAsB,EAAE,OAAO,EAAE,UAAU,IACpE,OAAO,CAAC,CAAC,CAAC,CACT,oBAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,QAAQ,GACf,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,UAAU,IAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAI,CAC5C,CACG,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /* eslint-disable testing-library/render-result-naming-convention */
2
+ import React from 'react';
3
+ import { render } from '@core-utils';
4
+ import { CheckBox } from './checkBox.component';
5
+ it('render XB_CheckBox correctly', () => {
6
+ const checkbox = render(React.createElement(CheckBox, { checked: true, onChange: () => jest.fn() }));
7
+ expect(checkbox).toMatchSnapshot();
8
+ });
9
+ //# sourceMappingURL=checkBox.component.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkBox.component.test.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/check-box/checkBox.component.test.tsx"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;IACtC,MAAM,QAAQ,GAAG,MAAM,CACrB,oBAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,GAAI,CACvD,CAAC;IACF,MAAM,CAAC,QAAQ,CAAC,CAAC,eAAe,EAAE,CAAC;AACrC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { CheckBox } from './checkBox.component';
3
+ // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Atoms/CheckBox',
6
+ component: CheckBox,
7
+ };
8
+ // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
9
+ export const Primary = () => (React.createElement("div", { className: "flex flex-row" },
10
+ React.createElement(CheckBox, { checked: true, onChange: () => { } }),
11
+ React.createElement("span", null, "I agree and authorize MiMo to fetch my personal details from UIDAI. I confirm that I have not used the OTP-based Aadhar verification to open any other bank account. I have read and accepted all Terms & Conditions")));
12
+ //# sourceMappingURL=checkBox.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkBox.stories.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/check-box/checkBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,0GAA0G;AAC1G,eAAe;IACb,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,QAAQ;CACc,CAAC;AAEpC,2GAA2G;AAC3G,MAAM,CAAC,MAAM,OAAO,GAAoC,GAAG,EAAE,CAAC,CAC5D,6BAAK,SAAS,EAAC,eAAe;IAC5B,oBAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC,GAAI;IAC/C,yPAIO,CACH,CACP,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React, { useState, forwardRef } from 'react';
2
+ import DatePicker from 'react-datepicker';
3
+ import 'react-datepicker/dist/react-datepicker.css';
4
+ import { ReactComponent as DatePickerSvg } from '../../../library/assets/svg/datePicker.svg';
5
+ import dayjs from 'dayjs';
6
+ export const DatePickerComp = ({ className, disable, value, showFormat = 'yyyy-MM-dd', placeholder = 'Select Date', }) => {
7
+ const [pickedDate, setPickedDate] = useState(value && dayjs(value).toDate());
8
+ const CustomInput = forwardRef((props, ref) => {
9
+ return (React.createElement("div", { onClick: !disable && props.onClick, ref: ref, className: " border-gray-light place-items-center border rounded-md px-2 flex flex-wrap " },
10
+ React.createElement("label", { className: "mr-3 font-nunitoSansRegular text-primaryCharcoal text-lg" }, props.value || props.placeholder),
11
+ React.createElement(DatePickerSvg, { width: 15, height: 15 })));
12
+ });
13
+ CustomInput.displayName = 'CustomInput';
14
+ const handleChanges = (date) => {
15
+ setPickedDate(date);
16
+ };
17
+ return (React.createElement("div", { className: `${className} items-center flex justify-start ` },
18
+ React.createElement("div", { className: "flex-wrap" },
19
+ React.createElement(DatePicker, { selected: pickedDate || new Date(), dateFormat: showFormat, placeholder: placeholder, onChange: handleChanges, customInput: React.createElement(CustomInput, null) }))));
20
+ };
21
+ //# sourceMappingURL=date-picker.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-picker.component.js","sourceRoot":"","sources":["../../../../../src/core-components/atoms/date-picker/date-picker.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,QAAQ,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,4CAA4C,CAAC;AACpD,OAAO,EAAC,cAAc,IAAI,aAAa,EAAC,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,SAAS,EACT,OAAO,EACP,KAAK,EACL,UAAU,GAAG,YAAY,EACzB,WAAW,GAAG,aAAa,GACX,EAAE,EAAE;IACpB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAE7E,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,KAAU,EAAE,GAAQ,EAAE,EAAE;QACtD,OAAO,CACL,6BACE,OAAO,EAAE,CAAC,OAAO,IAAI,KAAK,CAAC,OAAO,EAClC,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,+EAA+E;YAEzF,+BAAO,SAAS,EAAC,0DAA0D,IACxE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,WAAW,CAC3B;YACR,oBAAC,aAAa,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,CACpC,CACP,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC;IAExC,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,EAAE;QAC7B,aAAa,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC,CAAC;IAEF,OAAO,CACL,6BAAK,SAAS,EAAE,GAAG,SAAS,qCAAqC;QAC/D,6BAAK,SAAS,EAAC,WAAW;YACxB,oBAAC,UAAU,IACT,QAAQ,EAAE,UAAU,IAAI,IAAI,IAAI,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,oBAAC,WAAW,OAAG,GAC5B,CACE,CAEF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /* eslint-disable testing-library/render-result-naming-convention */
2
+ import React from 'react';
3
+ import { render } from '@core-utils';
4
+ import { DatePickerComp } from './date-picker.component';
5
+ import dayjs from 'dayjs';
6
+ it('render XB_DatePicker correctly', () => {
7
+ const datepicker = render(React.createElement(DatePickerComp, { className: "mt-6", value: dayjs().format('YYYY-MM-DD'), showFormat: 'dd-MM-yyyy' }));
8
+ expect(datepicker).toMatchSnapshot();
9
+ });
10
+ //# sourceMappingURL=date-picker.component.test.js.map