@inntechcorp/it-design 2.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 (174) hide show
  1. package/README.md +37 -0
  2. package/dist/accordion/index.d.ts +14 -0
  3. package/dist/accordion/item/Item.d.ts +3 -0
  4. package/dist/accordion/item/styled.components.d.ts +7 -0
  5. package/dist/accordion/submenu/SubMenu.d.ts +2 -0
  6. package/dist/accordion/submenu/styled.components.d.ts +11 -0
  7. package/dist/alert/alert.style.error.d.ts +4 -0
  8. package/dist/alert/alert.style.info.d.ts +4 -0
  9. package/dist/alert/alert.style.success.d.ts +4 -0
  10. package/dist/alert/alert.style.warning.d.ts +4 -0
  11. package/dist/alert/index.d.ts +6 -0
  12. package/dist/alert/styled.d.ts +9 -0
  13. package/dist/alink/index.d.ts +2 -0
  14. package/dist/alink/styled.d.ts +5 -0
  15. package/dist/back-top/index.d.ts +1 -0
  16. package/dist/back-top/styled.components.d.ts +6 -0
  17. package/dist/button/button.style.SVG.d.ts +4 -0
  18. package/dist/button/button.style.circle.d.ts +4 -0
  19. package/dist/button/button.style.default.d.ts +4 -0
  20. package/dist/button/button.style.filled.d.ts +4 -0
  21. package/dist/button/button.style.ghost.d.ts +4 -0
  22. package/dist/button/button.style.icon.d.ts +5 -0
  23. package/dist/button/button.style.link.d.ts +4 -0
  24. package/dist/button/button.style.outline.d.ts +4 -0
  25. package/dist/button/button.style.size.d.ts +4 -0
  26. package/dist/button/button.style.solid.d.ts +4 -0
  27. package/dist/button/button.style.strecth.d.ts +4 -0
  28. package/dist/button/index.d.ts +3 -0
  29. package/dist/button/styled.components.d.ts +15 -0
  30. package/dist/checkbox/group/index.d.ts +4 -0
  31. package/dist/checkbox/group/styled.d.ts +3 -0
  32. package/dist/checkbox/index.d.ts +10 -0
  33. package/dist/checkbox/styled.d.ts +9 -0
  34. package/dist/context/ITDContext.d.ts +23 -0
  35. package/dist/enums/enum.d.ts +41 -0
  36. package/dist/form/context/FormContext.d.ts +32 -0
  37. package/dist/form/context/FormStore.d.ts +11 -0
  38. package/dist/form/control/Control.d.ts +6 -0
  39. package/dist/form/control/styled.d.ts +3 -0
  40. package/dist/form/group/Group.d.ts +16 -0
  41. package/dist/form/group/styled.components.d.ts +5 -0
  42. package/dist/form/index.d.ts +20 -0
  43. package/dist/form/item/Item.d.ts +18 -0
  44. package/dist/form/validation/TCIdentity.d.ts +1 -0
  45. package/dist/form/validation/Validator.d.ts +14 -0
  46. package/dist/form/wrapper/FormWrapper.d.ts +15 -0
  47. package/dist/helpers/array/ChunkArray.d.ts +7 -0
  48. package/dist/helpers/aspectratio/DetermineNewHeight.d.ts +1 -0
  49. package/dist/helpers/aspectratio/DetermineNewWidth.d.ts +1 -0
  50. package/dist/helpers/binary/FormatBytes.d.ts +1 -0
  51. package/dist/helpers/binary/GetTypeByFileType.d.ts +2 -0
  52. package/dist/helpers/checker/CheckFileURL.d.ts +1 -0
  53. package/dist/helpers/checker/FileChecker.d.ts +7 -0
  54. package/dist/helpers/country/GetCountryCodeByCurrencyCode.d.ts +1 -0
  55. package/dist/helpers/country/GetCountryCodeByLanguage.d.ts +1 -0
  56. package/dist/helpers/css/FindSelector.d.ts +1 -0
  57. package/dist/helpers/currency/ConvertCurrency.d.ts +1 -0
  58. package/dist/helpers/currency/GetByCurrency.d.ts +1 -0
  59. package/dist/helpers/currency/GetCurrencyFormat.d.ts +1 -0
  60. package/dist/helpers/currency/GetCurrencySymbol.d.ts +1 -0
  61. package/dist/helpers/currency/GetDecimalByCurrency.d.ts +1 -0
  62. package/dist/helpers/index.d.ts +22 -0
  63. package/dist/helpers/json/IsValidJSON.d.ts +1 -0
  64. package/dist/helpers/math/AddZero.d.ts +1 -0
  65. package/dist/helpers/promise/Wait.d.ts +1 -0
  66. package/dist/helpers/remover/RemoveUnits.d.ts +1 -0
  67. package/dist/helpers/string/UniUpperCase.d.ts +6 -0
  68. package/dist/helpers/theme/AddDefaultThemeStyle.d.ts +4 -0
  69. package/dist/helpers/theme/UpdateThemeStyle.d.ts +5 -0
  70. package/dist/helpers/url/ValidURL.d.ts +1 -0
  71. package/dist/hooks/index.d.ts +13 -0
  72. package/dist/hooks/useAddExternalCSS.d.ts +14 -0
  73. package/dist/hooks/useComponentSize.d.ts +6 -0
  74. package/dist/hooks/useConnectionStatus.d.ts +10 -0
  75. package/dist/hooks/useConstructor.d.ts +11 -0
  76. package/dist/hooks/useCoreFetch.d.ts +37 -0
  77. package/dist/hooks/useCreateDynamicStyle.d.ts +10 -0
  78. package/dist/hooks/useCreateStyledStyle.d.ts +13 -0
  79. package/dist/hooks/useMultiQuery.d.ts +7 -0
  80. package/dist/hooks/useOnClickOutside.d.ts +12 -0
  81. package/dist/hooks/useOnESCKeyDown.d.ts +10 -0
  82. package/dist/hooks/useOnResize.d.ts +10 -0
  83. package/dist/hooks/useReCaptcha.d.ts +7 -0
  84. package/dist/hooks/useSingleQuery.d.ts +3 -0
  85. package/dist/icons/Arrow.d.ts +6 -0
  86. package/dist/icons/BackToTop.d.ts +6 -0
  87. package/dist/icons/Checkmark.d.ts +6 -0
  88. package/dist/icons/InlineSelectArrow.d.ts +6 -0
  89. package/dist/icons/Lock.d.ts +6 -0
  90. package/dist/icons/Picture.d.ts +6 -0
  91. package/dist/icons/Trash.d.ts +6 -0
  92. package/dist/icons/Upload.d.ts +6 -0
  93. package/dist/icons/ZoomIn.d.ts +6 -0
  94. package/dist/icons/ZoomOut.d.ts +6 -0
  95. package/dist/icons/index.d.ts +10 -0
  96. package/dist/index.cjs.js +971 -0
  97. package/dist/index.d.mts +73 -0
  98. package/dist/index.d.ts +1120 -0
  99. package/dist/index.esm.js +971 -0
  100. package/dist/input/index.d.ts +9 -0
  101. package/dist/input/styled.components.d.ts +36 -0
  102. package/dist/modal/container/ModalContainer.d.ts +12 -0
  103. package/dist/modal/container/styled.components.d.ts +6 -0
  104. package/dist/modal/context/ModalContext.d.ts +64 -0
  105. package/dist/modal/index.d.ts +14 -0
  106. package/dist/modal/modal/Modal.d.ts +9 -0
  107. package/dist/modal/modal/styled.components.d.ts +24 -0
  108. package/dist/notification/context/NotificationsContext.d.ts +8 -0
  109. package/dist/notification/index.d.ts +14 -0
  110. package/dist/result/index.d.ts +15 -0
  111. package/dist/result/styled.components.d.ts +17 -0
  112. package/dist/select/index.d.ts +10 -0
  113. package/dist/select/menu/Menu.d.ts +13 -0
  114. package/dist/select/menu/styled.components.d.ts +12 -0
  115. package/dist/select/option/Option.d.ts +16 -0
  116. package/dist/select/option/styled.components.d.ts +6 -0
  117. package/dist/select/style.settings.d.ts +17 -0
  118. package/dist/select/styled.components.d.ts +5 -0
  119. package/dist/select/toggle/Toggle.d.ts +17 -0
  120. package/dist/select/toggle/label/floating/FloatingLabel.d.ts +9 -0
  121. package/dist/select/toggle/label/floating/styled.components.d.ts +9 -0
  122. package/dist/select/toggle/label/single/SingleLabel.d.ts +8 -0
  123. package/dist/select/toggle/label/single/styled.components.d.ts +7 -0
  124. package/dist/select/toggle/styled.components.d.ts +29 -0
  125. package/dist/spin/index.d.ts +8 -0
  126. package/dist/spin/styled.components.d.ts +10 -0
  127. package/dist/stories/Accordion.d.ts +6 -0
  128. package/dist/stories/Accordion.stories.d.ts +20 -0
  129. package/dist/stories/Alert.d.ts +2 -0
  130. package/dist/stories/Alert.stories.d.ts +21 -0
  131. package/dist/stories/Button.d.ts +3 -0
  132. package/dist/stories/Button.stories.d.ts +27 -0
  133. package/dist/stories/ButtonIcon.d.ts +2 -0
  134. package/dist/stories/Checkbox.d.ts +2 -0
  135. package/dist/stories/Checkbox.stories.d.ts +21 -0
  136. package/dist/stories/CheckboxGroup.d.ts +2 -0
  137. package/dist/stories/CheckboxGroup.stories.d.ts +21 -0
  138. package/dist/stories/Form.d.ts +2 -0
  139. package/dist/stories/Form.stories.d.ts +20 -0
  140. package/dist/stories/Header.d.ts +3 -0
  141. package/dist/stories/Header.stories.d.ts +19 -0
  142. package/dist/stories/Input.d.ts +3 -0
  143. package/dist/stories/Input.stories.d.ts +22 -0
  144. package/dist/stories/ModalManager.d.ts +3 -0
  145. package/dist/stories/ModalManager.stories.d.ts +21 -0
  146. package/dist/stories/Page.d.ts +3 -0
  147. package/dist/stories/Page.stories.d.ts +13 -0
  148. package/dist/stories/Upload.d.ts +2 -0
  149. package/dist/stories/Upload.stories.d.ts +20 -0
  150. package/dist/stories/root/index.d.ts +6 -0
  151. package/dist/switch/index.d.ts +4 -0
  152. package/dist/switch/styled.d.ts +6 -0
  153. package/dist/tinyscrollbar/index.d.ts +7 -0
  154. package/dist/tinyscrollbar/scroll.styled.d.ts +3 -0
  155. package/dist/tinyscrollbar/styled.components.d.ts +7 -0
  156. package/dist/types/AccordionItemProps.d.ts +8 -0
  157. package/dist/types/AccordionProps.d.ts +12 -0
  158. package/dist/types/AccordionSubMenuProps.d.ts +17 -0
  159. package/dist/types/AlertProps.d.ts +11 -0
  160. package/dist/types/ButtonProps.d.ts +41 -0
  161. package/dist/types/CheckboxProps.d.ts +38 -0
  162. package/dist/types/ChildrenProps.d.ts +1 -0
  163. package/dist/types/FormProps.d.ts +50 -0
  164. package/dist/types/ITDImperativeFuncProps.d.ts +10 -0
  165. package/dist/types/InputProps.d.ts +33 -0
  166. package/dist/types/ModalProps.d.ts +190 -0
  167. package/dist/types/NotificationsProps.d.ts +9 -0
  168. package/dist/types/SelectProps.d.ts +25 -0
  169. package/dist/types/SingleQueryProps.d.ts +6 -0
  170. package/dist/types/SwitchProps.d.ts +10 -0
  171. package/dist/types/UploadProps.d.ts +41 -0
  172. package/dist/upload/index.d.ts +14 -0
  173. package/dist/upload/styled.d.ts +40 -0
  174. package/package.json +183 -0
@@ -0,0 +1,10 @@
1
+ export type SwitchProps = {
2
+ id?: string;
3
+ label?: string;
4
+ checked?: boolean;
5
+ defaultChecked?: boolean;
6
+ loading?: boolean;
7
+ disabled?: boolean;
8
+ onChange?: ((value: any) => void) | null;
9
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
10
+ };
@@ -0,0 +1,41 @@
1
+ import { FileTypes } from "../index";
2
+ export type UploadProps = {
3
+ action?: string;
4
+ filePath?: string | null;
5
+ removeAction?: string;
6
+ removeExtraFormData?: {};
7
+ removeExtraQueryString?: {};
8
+ removeExtraHeader?: {};
9
+ binaryName?: string;
10
+ resultFileName?: string | null;
11
+ showDeleteIcon?: boolean;
12
+ showPreviewIcon?: boolean;
13
+ fileHeight?: number | string;
14
+ padding?: number;
15
+ previewFileWidth?: number | string;
16
+ previewFileHeight?: number | string;
17
+ previewFilePadding?: number | string;
18
+ fileTypes?: FileTypes[];
19
+ maxFileSize?: number;
20
+ requestMethod?: "put" | "post";
21
+ extraFormData?: {};
22
+ extraQueryString?: {};
23
+ extraHeader?: {};
24
+ disabled?: boolean;
25
+ onChange?: ((value: any) => void) | null;
26
+ onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
27
+ onUploadSuccess?: (path: string) => void;
28
+ onUploadFailed?: (message: string, code: number) => void;
29
+ onRemoveFileSuccess?: (data?: any) => void;
30
+ onRemoveFileFailed?: () => void;
31
+ };
32
+ export type UploadProgressProps = {
33
+ estimated: string;
34
+ progress: number;
35
+ bytes: string;
36
+ total: string;
37
+ };
38
+ export type UploadResultMessageProps = {
39
+ message: string;
40
+ status: "success" | "error" | "";
41
+ };
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { UploadProps, ITDImperativeFuncProps } from "../index";
3
+ /**
4
+ *
5
+ * UPLOAD
6
+ * --
7
+ *
8
+ *
9
+ *
10
+ * @returns
11
+ *
12
+ */
13
+ declare const Upload: import("react").ForwardRefExoticComponent<UploadProps & import("react").RefAttributes<ITDImperativeFuncProps>>;
14
+ export default Upload;
@@ -0,0 +1,40 @@
1
+ /// <reference types="react" />
2
+ declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ declare const FileContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $showBorder: boolean;
5
+ $hasError: boolean;
6
+ $disabled: boolean;
7
+ $padding: number;
8
+ }>> & string;
9
+ declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
10
+ $showFocus: boolean;
11
+ }>> & string;
12
+ declare const IconsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
+ declare const Icons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
+ declare const CenterContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
+ $width: number | string;
16
+ $height: number | string;
17
+ $padding: number | string;
18
+ }>> & string;
19
+ declare const OverlayContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
20
+ $isHover: boolean;
21
+ }>> & string;
22
+ declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
23
+ $isHover: boolean;
24
+ }>> & string;
25
+ declare const Uploading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
26
+ $isActive: boolean;
27
+ $complete: boolean;
28
+ $error: boolean;
29
+ }>> & string;
30
+ declare const UploadStatusBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
31
+ $progress: number;
32
+ $complete: boolean;
33
+ $error: boolean;
34
+ }>> & string;
35
+ declare const ErrorBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
+ declare const Failed: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
37
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
38
+ }, never>> & string;
39
+ declare const ErrorTooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
40
+ export { Wrapper, FileContent, IconsWrapper, Icons, Label, CenterContent, Overlay, OverlayContent, Uploading, UploadStatusBox, ErrorBorder, ErrorTooltip, Failed };
package/package.json ADDED
@@ -0,0 +1,183 @@
1
+ {
2
+ "name": "@inntechcorp/it-design",
3
+ "version": "2.0.0",
4
+ "description": "All in One Design library for desktop applications.",
5
+ "author": "Ali",
6
+ "license": "ISC",
7
+ "main": "dist/index.cjs.js",
8
+ "module": "dist/index.esm.js",
9
+ "types": "dist/index.d.ts",
10
+ "type": "module",
11
+ "files": [
12
+ "dist",
13
+ "src/typings"
14
+ ],
15
+ "scripts": {
16
+ "prepublish": "rollup -c --bundleConfigAsCjs",
17
+ "build-rollup": "[ -d ./dist ] || mkdir dist && rm -r ./dist && rollup -c --bundleConfigAsCjs",
18
+ "start-rollup": "rollup -c -w --bundleConfigAsCjs",
19
+ "npm-publish": "yarn run build-rollup && npm publish --access public",
20
+ "start": "vite --host",
21
+ "build": "[ -d ./build ] || mkdir build && rm -r ./build && tsc --p ./tsconfig-build.json && vite build",
22
+ "serve": "vite preview",
23
+ "storybook": "storybook dev -p 6006",
24
+ "build-storybook": "storybook build"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+ssh://git@github.com/inntechcorp/it-design-library.git"
29
+ },
30
+ "dependencies": {
31
+ "@mona-health/react-input-mask": "^3.0.3",
32
+ "autoprefixer": "10.4.19",
33
+ "axios": "1.7.1",
34
+ "core-js": "3.37.1",
35
+ "fast-deep-equal": "^3.1.3",
36
+ "i18next": "23.11.5",
37
+ "i18next-browser-languagedetector": "8.0.0",
38
+ "i18next-http-backend": "2.5.2",
39
+ "i18next-resources-to-backend": "^1.2.1",
40
+ "lodash-es": "^4.17.21",
41
+ "moment": "2.30.1",
42
+ "moment-timezone": "0.5.45",
43
+ "node-sass": "^9.0.0",
44
+ "overlayscrollbars": "2.0.3",
45
+ "overlayscrollbars-react": "0.5.0",
46
+ "postcss": "8.4.38",
47
+ "postcss-calc": "10.0.0",
48
+ "postcss-nested": "6.0.1",
49
+ "prop-types": "^15.8.1",
50
+ "query-string": "9.0.0",
51
+ "react": "18.3.1",
52
+ "react-dom": "18.3.1",
53
+ "react-i18next": "^14.1.1",
54
+ "react-nanny": "^2.15.0",
55
+ "react-number-format": "5.3.4",
56
+ "react-router-dom": "6.23.1",
57
+ "react-spring": "9.7.3",
58
+ "react-svg": "16.1.34",
59
+ "react-transition-group": "4.4.5",
60
+ "smoothscroll-polyfill": "^0.4.4",
61
+ "styled-components": "6.1.11",
62
+ "web-vitals": "4.0.0"
63
+ },
64
+ "devDependencies": {
65
+ "@babel/core": "7.24.5",
66
+ "@babel/plugin-transform-runtime": "7.24.3",
67
+ "@babel/preset-env": "7.24.5",
68
+ "@babel/preset-react": "7.24.1",
69
+ "@babel/preset-typescript": "7.24.1",
70
+ "@babel/runtime": "7.24.5",
71
+ "@chromatic-com/storybook": "1.4.0",
72
+ "@rollup/plugin-babel": "6.0.4",
73
+ "@rollup/plugin-commonjs": "25.0.7",
74
+ "@rollup/plugin-image": "^3.0.3",
75
+ "@rollup/plugin-json": "6.1.0",
76
+ "@rollup/plugin-node-resolve": "15.2.3",
77
+ "@storybook/addon-essentials": "8.1.1",
78
+ "@storybook/addon-interactions": "8.1.1",
79
+ "@storybook/addon-links": "8.1.1",
80
+ "@storybook/addon-mdx-gfm": "8.1.1",
81
+ "@storybook/addon-onboarding": "8.1.1",
82
+ "@storybook/blocks": "8.1.1",
83
+ "@storybook/node-logger": "8.1.1",
84
+ "@storybook/react": "8.1.1",
85
+ "@storybook/react-vite": "8.1.1",
86
+ "@storybook/test": "8.1.1",
87
+ "@testing-library/jest-dom": "6.4.5",
88
+ "@testing-library/react": "15.0.7",
89
+ "@testing-library/user-event": "14.5.2",
90
+ "@types/lodash-es": "^4.17.12",
91
+ "@types/node": "20.12.12",
92
+ "@types/react": "18.3.2",
93
+ "@types/react-dom": "18.3.0",
94
+ "@types/rollup-plugin-node-globals": "^1.4.4",
95
+ "@vitejs/plugin-react": "^4.0.0",
96
+ "babel-plugin-styled-components": "2.1.4",
97
+ "copy-webpack-plugin": "12.0.2",
98
+ "customize-cra": "^1.0.0",
99
+ "dts-bundle-generator": "^9.5.1",
100
+ "eslint-plugin-storybook": "0.8.0",
101
+ "esm": "^3.2.25",
102
+ "glob": "10.3.15",
103
+ "less-loader": "12.2.0",
104
+ "postcss-custom-properties": "13.3.10",
105
+ "postcss-import": "16.1.0",
106
+ "postcss-nesting": "12.1.4",
107
+ "postcss-normalize": "^10.0.1",
108
+ "postcss-preset-env": "9.5.13",
109
+ "react-app-rewired": "^2.2.1",
110
+ "rollup": "4.17.2",
111
+ "rollup-plugin-copy": "^3.5.0",
112
+ "rollup-plugin-dts": "6.1.1",
113
+ "rollup-plugin-local-resolve": "^1.0.7",
114
+ "rollup-plugin-node-builtins": "^2.1.2",
115
+ "rollup-plugin-node-globals": "^1.4.0",
116
+ "rollup-plugin-peer-deps-external": "^2.2.4",
117
+ "rollup-plugin-postcss": "^4.0.2",
118
+ "rollup-plugin-sourcemaps": "^0.6.3",
119
+ "rollup-plugin-styles": "4.0.0",
120
+ "rollup-plugin-terser": "^7.0.2",
121
+ "rollup-plugin-typescript2": "0.36.0",
122
+ "sass": "1.77.2",
123
+ "source-map-loader": "5.0.0",
124
+ "storybook": "8.1.1",
125
+ "tslib": "^2.5.0",
126
+ "typescript": "5.4.5",
127
+ "vite": "5.2.11",
128
+ "vite-plugin-dts": "^3.9.1",
129
+ "vite-plugin-lib-inject-css": "2.1.1",
130
+ "vite-plugin-node-polyfills": "0.22.0",
131
+ "vite-plugin-svgr": "4.2.0",
132
+ "vite-tsconfig-paths": "4.3.2"
133
+ },
134
+ "peerDependencies": {
135
+ "react": "^18.3.1",
136
+ "react-dom": "^18.3.1"
137
+ },
138
+ "bugs": {
139
+ "url": "https://github.com/inntechcorp/it-design-library/issues"
140
+ },
141
+ "keywords": [
142
+ "design",
143
+ "library",
144
+ "ui"
145
+ ],
146
+ "eslintConfig": {
147
+ "extends": [
148
+ "react-app",
149
+ "react-app/jest"
150
+ ]
151
+ },
152
+ "browserslist": {
153
+ "production": [
154
+ ">0.2%",
155
+ "not dead",
156
+ "not op_mini all"
157
+ ],
158
+ "development": [
159
+ "last 1 chrome version",
160
+ "last 1 firefox version",
161
+ "last 1 safari version"
162
+ ]
163
+ },
164
+ "resolutions": {
165
+ "jackspeak": "2.1.1"
166
+ },
167
+ "exports": {
168
+ ".": {
169
+ "import": {
170
+ "types": "./dist/index.d.mts",
171
+ "default": "./dist/index.esm.js"
172
+ },
173
+ "require": {
174
+ "types": "./dist/index.d.ts",
175
+ "default": "./dist/index.cjs.js"
176
+ }
177
+ }
178
+ },
179
+ "directories": {
180
+ "lib": "lib"
181
+ },
182
+ "homepage": "https://github.com/inntechcorp/it-design-library#readme"
183
+ }