@domun/component-library 1.0.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 (148) hide show
  1. package/lib/assets/fonts/icomoon.eot +0 -0
  2. package/lib/assets/fonts/icomoon.svg +221 -0
  3. package/lib/assets/fonts/icomoon.ttf +0 -0
  4. package/lib/assets/fonts/icomoon.woff +0 -0
  5. package/lib/assets/img/icons/AndroidIcon.d.ts +3 -0
  6. package/lib/assets/img/icons/AppleIcon.d.ts +3 -0
  7. package/lib/assets/img/icons/Close.d.ts +3 -0
  8. package/lib/assets/img/icons/index.d.ts +2 -0
  9. package/lib/common/consts/events.d.ts +16 -0
  10. package/lib/common/index.d.ts +3 -0
  11. package/lib/common/localStorage.d.ts +1 -0
  12. package/lib/common/utils.d.ts +3 -0
  13. package/lib/components/DownloadAppButton/DownloadAppButton.d.ts +3 -0
  14. package/lib/components/DownloadAppButton/DownloadAppButton.stories.d.ts +9 -0
  15. package/lib/components/DropDown/DropDown.d.ts +4 -0
  16. package/lib/components/DropDown/index.d.ts +1 -0
  17. package/lib/components/DropDown/types.d.ts +15 -0
  18. package/lib/components/ErrorMessage/ErrorMessage.d.ts +6 -0
  19. package/lib/components/ErrorMessage/index.d.ts +1 -0
  20. package/lib/components/HelpLink/HelpLink.d.ts +5 -0
  21. package/lib/components/Inputs/Input.d.ts +4 -0
  22. package/lib/components/Inputs/InputCountry.d.ts +4 -0
  23. package/lib/components/Inputs/InputDocument.d.ts +7 -0
  24. package/lib/components/Inputs/InputEconomicSector.d.ts +4 -0
  25. package/lib/components/Inputs/InputEmail.d.ts +4 -0
  26. package/lib/components/Inputs/InputPassword.d.ts +4 -0
  27. package/lib/components/Inputs/InputPhone.d.ts +4 -0
  28. package/lib/components/Inputs/index.d.ts +7 -0
  29. package/lib/components/Inputs/types.d.ts +38 -0
  30. package/lib/components/Login/Login.d.ts +4 -0
  31. package/lib/components/Login/Login.stories.d.ts +9 -0
  32. package/lib/components/Login/components/CustomerProfile/CustomerProfile.d.ts +8 -0
  33. package/lib/components/Login/components/CustomerProfile/CustomerProfile.stories.d.ts +27 -0
  34. package/lib/components/Login/components/GetCode/GetCode.d.ts +11 -0
  35. package/lib/components/Login/components/GetCode/GetCode.stories.d.ts +24 -0
  36. package/lib/components/Login/components/GetCode/types.d.ts +9 -0
  37. package/lib/components/Login/components/GetCodeByEmail/GetCodeByEmail.d.ts +9 -0
  38. package/lib/components/Login/components/GetCodeByEmail/GetCodeByEmail.stories.d.ts +20 -0
  39. package/lib/components/Login/components/GetCodeByEmail/types.d.ts +9 -0
  40. package/lib/components/Login/components/LoginContainer/LoginContainer.d.ts +6 -0
  41. package/lib/components/Login/components/RegisterInApp/RegisterInApp.d.ts +3 -0
  42. package/lib/components/Login/components/RegisterInApp/RegisterInApp.stories.d.ts +19 -0
  43. package/lib/components/Login/components/RegisterMessage/RegisterMessage.d.ts +3 -0
  44. package/lib/components/Login/components/SmsValidation/SmsValidation.d.ts +10 -0
  45. package/lib/components/Login/components/SmsValidation/SmsValidation.stories.d.ts +21 -0
  46. package/lib/components/Login/components/UpdateUserData/UpdateUserData.d.ts +9 -0
  47. package/lib/components/Login/components/UpdateUserData/UpdateUserData.stories.d.ts +19 -0
  48. package/lib/components/Login/components/ValidateCode/ValidateCode.d.ts +12 -0
  49. package/lib/components/Login/fetcher.d.ts +1 -0
  50. package/lib/components/Login/icons/CheckCircle.d.ts +3 -0
  51. package/lib/components/Login/icons/Profile.d.ts +3 -0
  52. package/lib/components/Login/icons/SignOut.d.ts +3 -0
  53. package/lib/components/Login/index.d.ts +16 -0
  54. package/lib/components/Login/services.d.ts +42 -0
  55. package/lib/components/Login/types.d.ts +41 -0
  56. package/lib/components/Modal/Modal.d.ts +3 -0
  57. package/lib/components/Modal/Modal.stories.d.ts +13 -0
  58. package/lib/components/Modal/index.d.ts +1 -0
  59. package/lib/components/Modal/types.d.ts +36 -0
  60. package/lib/components/Pagination/Pagination.stories.d.ts +16 -0
  61. package/lib/components/Pagination/index.d.ts +1 -0
  62. package/lib/components/Pagination/pagination.d.ts +4 -0
  63. package/lib/components/Pagination/paginationProps.d.ts +10 -0
  64. package/lib/components/Pagination/usePagination.d.ts +2 -0
  65. package/lib/components/ProgressBar/ProgressBar.d.ts +5 -0
  66. package/lib/components/SelectLoginMethod/SelectLoginMethod.d.ts +11 -0
  67. package/lib/components/SelectLoginMethod/index.d.ts +1 -0
  68. package/lib/components/Slider/Slider.d.ts +4 -0
  69. package/lib/components/Slider/Slider.stories.d.ts +16 -0
  70. package/lib/components/Slider/Slider.type.d.ts +16 -0
  71. package/lib/components/Slider/index.d.ts +1 -0
  72. package/lib/components/index.d.ts +10 -0
  73. package/lib/constants/constants.d.ts +30 -0
  74. package/lib/constants/index.d.ts +1 -0
  75. package/lib/icons/ArrowDown.d.ts +3 -0
  76. package/lib/icons/ArrowTop.d.ts +3 -0
  77. package/lib/icons/Chat.d.ts +3 -0
  78. package/lib/icons/Information.d.ts +3 -0
  79. package/lib/icons/LightSupport.d.ts +3 -0
  80. package/lib/icons/Password.d.ts +3 -0
  81. package/lib/icons/Rocket.d.ts +3 -0
  82. package/lib/icons/WhatsAppFill.d.ts +3 -0
  83. package/lib/icons/index.d.ts +6 -0
  84. package/lib/index.css +24 -0
  85. package/lib/index.d.ts +7 -0
  86. package/lib/index.esm.css +24 -0
  87. package/lib/index.esm.js +1 -0
  88. package/lib/index.js +1 -0
  89. package/lib/providers/auth.provider.d.ts +13 -0
  90. package/lib/providers/copies.provider.d.ts +7 -0
  91. package/lib/providers/fallback.copies.d.ts +1 -0
  92. package/lib/providers/index.d.ts +1 -0
  93. package/lib/styles/icomoon-font.dev.css +12 -0
  94. package/lib/styles/icomoon-font.prod.css +12 -0
  95. package/lib/styles/icons.css +636 -0
  96. package/lib/ui/index.d.ts +13 -0
  97. package/lib/ui/ui-autocomplete/index.d.ts +2 -0
  98. package/lib/ui/ui-autocomplete/types.d.ts +11 -0
  99. package/lib/ui/ui-autocomplete/ui-autocomplete.d.ts +5 -0
  100. package/lib/ui/ui-autocomplete/ui-autocomplete.stories.d.ts +5 -0
  101. package/lib/ui/ui-button/index.d.ts +2 -0
  102. package/lib/ui/ui-button/types.d.ts +24 -0
  103. package/lib/ui/ui-button/ui-button.d.ts +4 -0
  104. package/lib/ui/ui-checkbox/index.d.ts +2 -0
  105. package/lib/ui/ui-checkbox/types.d.ts +6 -0
  106. package/lib/ui/ui-checkbox/ui-checkbox.d.ts +4 -0
  107. package/lib/ui/ui-checkbox/ui-checkbox.stories.d.ts +5 -0
  108. package/lib/ui/ui-dropdown/index.d.ts +2 -0
  109. package/lib/ui/ui-dropdown/types.d.ts +20 -0
  110. package/lib/ui/ui-dropdown/ui-dropdown.d.ts +4 -0
  111. package/lib/ui/ui-dropdown/ui-dropdown.stories.d.ts +5 -0
  112. package/lib/ui/ui-full-screen-loader/index.d.ts +2 -0
  113. package/lib/ui/ui-full-screen-loader/types.d.ts +3 -0
  114. package/lib/ui/ui-full-screen-loader/ui-full-screen-loader.d.ts +4 -0
  115. package/lib/ui/ui-full-screen-loader/ui-full-screen-loader.stories.d.ts +5 -0
  116. package/lib/ui/ui-icons/index.d.ts +2 -0
  117. package/lib/ui/ui-icons/ui-icons-dev.d.ts +4 -0
  118. package/lib/ui/ui-icons/ui-icons-prod.d.ts +4 -0
  119. package/lib/ui/ui-input/index.d.ts +2 -0
  120. package/lib/ui/ui-input/types.d.ts +25 -0
  121. package/lib/ui/ui-input/ui-input.d.ts +4 -0
  122. package/lib/ui/ui-landing-footer/index.d.ts +2 -0
  123. package/lib/ui/ui-landing-footer/types.d.ts +3 -0
  124. package/lib/ui/ui-landing-footer/ui-landing-footer.d.ts +4 -0
  125. package/lib/ui/ui-landing-footer/ui-landing-footer.stories.d.ts +5 -0
  126. package/lib/ui/ui-landing-header/index.d.ts +2 -0
  127. package/lib/ui/ui-landing-header/types.d.ts +22 -0
  128. package/lib/ui/ui-landing-header/ui-landing-header.d.ts +4 -0
  129. package/lib/ui/ui-landing-header/ui-landing-header.stories.d.ts +7 -0
  130. package/lib/ui/ui-loader/index.d.ts +2 -0
  131. package/lib/ui/ui-loader/types.d.ts +4 -0
  132. package/lib/ui/ui-loader/ui-loader.d.ts +4 -0
  133. package/lib/ui/ui-phone/index.d.ts +2 -0
  134. package/lib/ui/ui-phone/types.d.ts +24 -0
  135. package/lib/ui/ui-phone/ui-phone.d.ts +4 -0
  136. package/lib/ui/ui-phone/ui-phone.stories.d.ts +5 -0
  137. package/lib/ui/ui-radio/index.d.ts +2 -0
  138. package/lib/ui/ui-radio/types.d.ts +6 -0
  139. package/lib/ui/ui-radio/ui-input.stories.d.ts +5 -0
  140. package/lib/ui/ui-radio/ui-radio.d.ts +4 -0
  141. package/lib/ui/ui-timer/index.d.ts +2 -0
  142. package/lib/ui/ui-timer/types.d.ts +8 -0
  143. package/lib/ui/ui-timer/ui-input.stories.d.ts +5 -0
  144. package/lib/ui/ui-timer/ui-timer.d.ts +4 -0
  145. package/lib/utils/go-to-app.d.ts +1 -0
  146. package/lib/utils/index.d.ts +2 -0
  147. package/lib/utils/scroll-to.d.ts +1 -0
  148. package/package.json +86 -0
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiCheckboxProps } from "./types";
3
+ declare const UiCheckbox: FC<UiCheckboxProps>;
4
+ export default UiCheckbox;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiCheckboxProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiCheckboxProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiDropdown } from './ui-dropdown';
@@ -0,0 +1,20 @@
1
+ export declare type UiDropdownOption = {
2
+ label: string;
3
+ value: string;
4
+ flagUrl?: string;
5
+ };
6
+ export declare type UiDropdownProps = {
7
+ label?: string;
8
+ className?: string;
9
+ value?: string;
10
+ expandiblePosition?: 'top' | 'bottom';
11
+ options: UiDropdownOption[];
12
+ hasError?: boolean;
13
+ errorMessage?: string;
14
+ hint?: string;
15
+ dataTestId?: string;
16
+ placeholder?: string;
17
+ isFullWidth?: boolean;
18
+ onChange: (value: string) => void;
19
+ onBlur?: () => void;
20
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiDropdownProps } from "./types";
3
+ declare const UiDropdown: FC<UiDropdownProps>;
4
+ export default UiDropdown;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiDropdownProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiDropdownProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiFullScreenLoader } from './ui-full-screen-loader';
@@ -0,0 +1,3 @@
1
+ export declare type UiFullScreenLoaderProps = {
2
+ show: boolean;
3
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiFullScreenLoaderProps } from "./types";
3
+ declare const UiFullScreenLoader: FC<UiFullScreenLoaderProps>;
4
+ export default UiFullScreenLoader;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiFullScreenLoaderProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiFullScreenLoaderProps>>;
@@ -0,0 +1,2 @@
1
+ export { default as UiIconsDev } from './ui-icons-dev';
2
+ export { default as UiIconsProd } from './ui-icons-prod';
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '../../styles/icomoon-font.dev.css';
3
+ declare const UiIconsDev: () => JSX.Element;
4
+ export default UiIconsDev;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import '../../styles/icomoon-font.prod.css';
3
+ declare const UiIconsProd: () => JSX.Element;
4
+ export default UiIconsProd;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiInput } from './ui-input';
@@ -0,0 +1,25 @@
1
+ import { FormikHandlers } from "formik";
2
+ export declare type UiInputProps = {
3
+ className?: string;
4
+ autocomplete?: boolean;
5
+ hint?: string;
6
+ label?: string;
7
+ name?: string;
8
+ value?: string | number | any;
9
+ initialValue?: string | number | any;
10
+ style?: string;
11
+ type?: 'text' | 'number' | 'password' | 'email';
12
+ maxLength?: number;
13
+ minLength?: number;
14
+ disabled?: boolean;
15
+ prefix?: string;
16
+ placeholder?: string;
17
+ hasError?: boolean;
18
+ success?: boolean;
19
+ errorMessage?: string;
20
+ role?: string;
21
+ onBlur?: FormikHandlers["handleBlur"];
22
+ onChange: FormikHandlers["handleChange"];
23
+ onInput?: (event: any) => any;
24
+ onFocus?: (event: any) => any;
25
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiInputProps } from "./types";
3
+ declare const UiInput: FC<UiInputProps>;
4
+ export default UiInput;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiLandingFooter } from './ui-landing-footer';
@@ -0,0 +1,3 @@
1
+ export declare type UiLandingFooterProps = {
2
+ className?: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiLandingFooterProps } from "./types";
3
+ declare const UiLandingFooter: FC<UiLandingFooterProps>;
4
+ export default UiLandingFooter;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiLandingFooterProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiLandingFooterProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiLandingHeader } from './ui-landing-header';
@@ -0,0 +1,22 @@
1
+ export declare type UiLandingHeaderProps = {
2
+ showLogin?: boolean;
3
+ className?: string;
4
+ onLoginClick?: () => void;
5
+ } & UiLandingHeaderStyledProps;
6
+ export declare type UiLandingHeaderMenuSubItem = {
7
+ name: string;
8
+ description: string;
9
+ link: string;
10
+ icon?: string;
11
+ };
12
+ export declare type UiLandingHeaderMenuItem = {
13
+ icon: string;
14
+ title: string;
15
+ description: string;
16
+ link?: string;
17
+ subItems?: UiLandingHeaderMenuSubItem[];
18
+ };
19
+ export declare type UiLandingHeaderTheme = 'light' | 'dark';
20
+ export declare type UiLandingHeaderStyledProps = {
21
+ appearance?: UiLandingHeaderTheme;
22
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiLandingHeaderProps } from "./types";
3
+ declare const UiLandingHeader: FC<UiLandingHeaderProps>;
4
+ export default UiLandingHeader;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiLandingHeaderProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiLandingHeaderProps>>;
6
+ export declare const darkMode: ComponentStory<React.FC<import("./types").UiLandingHeaderProps>>;
7
+ export declare const lightMode: ComponentStory<React.FC<import("./types").UiLandingHeaderProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiLoader } from './ui-loader';
@@ -0,0 +1,4 @@
1
+ export declare type UiLoaderProps = {
2
+ className?: string;
3
+ size?: number;
4
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiLoaderProps } from "./types";
3
+ declare const UiLoader: FC<UiLoaderProps>;
4
+ export default UiLoader;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiPhone } from './ui-phone';
@@ -0,0 +1,24 @@
1
+ export interface UiPhoneOption {
2
+ label: string;
3
+ value: string;
4
+ flagUrl: string;
5
+ }
6
+ export declare type UiPhoneProps = {
7
+ options: UiPhoneOption[];
8
+ label?: string;
9
+ placeholder?: string;
10
+ hasError?: boolean;
11
+ className?: string;
12
+ errorMessage?: string;
13
+ expandiblePosition?: 'top' | 'bottom';
14
+ hint?: string;
15
+ prefixValue?: string;
16
+ phoneValue?: string;
17
+ maxLength?: number;
18
+ onBlur?: () => void;
19
+ onChange: (value: {
20
+ prefixPhone?: string;
21
+ phone?: string;
22
+ }) => void;
23
+ onFocusInput?: () => void;
24
+ };
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiPhoneProps } from "./types";
3
+ declare const UiPhone: FC<UiPhoneProps>;
4
+ export default UiPhone;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiPhoneProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiPhoneProps>>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiRadio } from './ui-radio';
@@ -0,0 +1,6 @@
1
+ export declare type UiRadioProps = {
2
+ className?: string;
3
+ active?: boolean;
4
+ isDisabled?: boolean;
5
+ onChange?: (value: boolean) => void;
6
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.FC<import("./types").UiRadioProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.FC<import("./types").UiRadioProps>>;
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { UiRadioProps } from "./types";
3
+ declare const UiRadio: FC<UiRadioProps>;
4
+ export default UiRadio;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { default as UiTimer } from './ui-timer';
@@ -0,0 +1,8 @@
1
+ export declare type UiTimerProps = {
2
+ initFromSeconds?: number;
3
+ showText?: boolean;
4
+ className?: string;
5
+ secText?: string;
6
+ minText?: string;
7
+ onTimerEnds: () => void;
8
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ComponentMeta, ComponentStory } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.NamedExoticComponent<import("./types").UiTimerProps>>;
4
+ export default _default;
5
+ export declare const Default: ComponentStory<React.NamedExoticComponent<import("./types").UiTimerProps>>;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { UiTimerProps } from "./types";
3
+ declare const _default: React.NamedExoticComponent<UiTimerProps>;
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const goToApp: (sendToStore?: boolean) => void;
@@ -0,0 +1,2 @@
1
+ export * from './go-to-app';
2
+ export * from './scroll-to';
@@ -0,0 +1 @@
1
+ export declare const scrollToY: (yPosition?: number) => void;
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@domun/component-library",
3
+ "version": "1.0.0",
4
+ "description": "Component library",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "scripts": {
9
+ "rollup": "rollup -c",
10
+ "storybook": "start-storybook -p 6006",
11
+ "storybook-ssh": "start-storybook -p 6006 --https --ssl-cert ~/server.crt --ssl-key ~/server.key",
12
+ "build-storybook": "build-storybook",
13
+ "patch": "npm run rollup && npm version patch && npm publish",
14
+ "minor": "npm run rollup && npm version minor && npm publish",
15
+ "major": "npm run rollup && npm version major && npm publish"
16
+ },
17
+ "author": "yamid@sumerlabs.com",
18
+ "license": "ISC",
19
+ "devDependencies": {
20
+ "@babel/core": "^7.17.5",
21
+ "@types/node": "^18.0.0",
22
+ "@react-theming/storybook-addon": "^1.1.10",
23
+ "@rollup/plugin-commonjs": "^21.0.2",
24
+ "@rollup/plugin-node-resolve": "^13.1.3",
25
+ "@rollup/plugin-terser": "^0.4.1",
26
+ "@rollup/plugin-typescript": "^8.3.1",
27
+ "@storybook/addon-actions": "^6.4.19",
28
+ "@storybook/addon-essentials": "^6.4.19",
29
+ "@storybook/addon-interactions": "^6.4.19",
30
+ "@storybook/addon-links": "^6.4.19",
31
+ "@storybook/addon-postcss": "^2.0.0",
32
+ "@storybook/preset-scss": "^1.0.3",
33
+ "@storybook/react": "^6.4.19",
34
+ "@storybook/testing-library": "^0.0.9",
35
+ "@types/humps": "^2.0.1",
36
+ "@types/react": "^18.0.10",
37
+ "@types/react-dom": "^18.0.10",
38
+ "babel-loader": "^8.2.3",
39
+ "css-loader": "5.2.7",
40
+ "react": "^18.2.0",
41
+ "react-dom": "^18.2.0",
42
+ "rollup": "^2.68.0",
43
+ "rollup-plugin-copy": "^3.4.0",
44
+ "rollup-plugin-dts": "^4.1.0",
45
+ "rollup-plugin-import-css": "^3.0.3",
46
+ "rollup-plugin-peer-deps-external": "^2.2.4",
47
+ "rollup-plugin-postcss": "^4.0.2",
48
+ "rollup-plugin-sass": "^1.12.18",
49
+ "rollup-plugin-terser": "^7.0.2",
50
+ "rollup-plugin-typescript2": "^0.31.2",
51
+ "sass-loader": "10.1.1",
52
+ "style-loader": "2.0.0",
53
+ "tsconfig-paths-webpack-plugin": "^3.5.2",
54
+ "typescript": "^4.5.5",
55
+ "typescript-plugin-css-modules": "^4.2.2"
56
+ },
57
+ "dependencies": {
58
+ "@greatsumini/react-facebook-login": "^3.2.1",
59
+ "@react-oauth/google": "^0.6.0",
60
+ "framer-motion": "^6.2.8",
61
+ "humps": "^2.0.1",
62
+ "sass": "^1.58.3",
63
+ "swr": "^1.2.2"
64
+ },
65
+ "peerDependencies": {
66
+ "formik": "^2.2.9",
67
+ "react": ">=17.0.2",
68
+ "react-dom": ">=17.0.2",
69
+ "react-i18next": ">=11.16.7",
70
+ "yup": "^0.32.11"
71
+ },
72
+ "main": "lib/index.js",
73
+ "module": "lib/index.esm.js",
74
+ "types": "lib/index.d.ts",
75
+ "files": [
76
+ "/lib"
77
+ ],
78
+ "repository": {
79
+ "type": "git",
80
+ "url": "git+https://bitbucket.org/sumerlabs/component-library.git"
81
+ },
82
+ "bugs": {
83
+ "url": "https://bitbucket.org/sumerlabs/component-library/jira"
84
+ },
85
+ "homepage": "https://bitbucket.org/sumerlabs/component-library#readme"
86
+ }