alicia-design-system 1.35.3 → 1.35.4

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.
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { useEffect, useState } from 'react';
3
3
  import { Box, Text, Button, Image, Link, Modal, ModalOverlay, ModalContent, ModalHeader, ModalBody, ModalCloseButton, useDisclosure, } from "@chakra-ui/react";
4
4
  import { useDropzone, ErrorCode } from 'react-dropzone';
5
- import { DeleteIcon, PdfIcon } from 'icons';
6
- import { retreiveBorderSvg } from 'utils';
5
+ import { DeleteIcon, PdfIcon } from '../icons/index.js';
6
+ import { retreiveBorderSvg } from '../../../services/utils.js';
7
7
  const ONE_MB = 1048576;
8
8
  export const FileUpload = ({ title = "Upload your files", btnText = "Select files", files = [], setFiles, maxFileSize = 25, accept = {
9
9
  'image/*': ['.jpeg', '.jpg', '.png'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alicia-design-system",
3
- "version": "1.35.3",
3
+ "version": "1.35.4",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -10,8 +10,6 @@
10
10
  "license": "MIT",
11
11
  "private": false,
12
12
  "dependencies": {
13
- "react": "^18.2.0",
14
- "react-dom": "^18.2.0",
15
13
  "@emotion/styled": "^11.10.5",
16
14
  "@testing-library/jest-dom": "^5.16.5",
17
15
  "@testing-library/react": "^13.4.0",
@@ -29,7 +27,9 @@
29
27
  "lodash": "^4.17.21",
30
28
  "moment": "^2.29.4",
31
29
  "polished": "^4.2.2",
30
+ "react": "^18.2.0",
32
31
  "react-day-picker": "^8.3.6",
32
+ "react-dom": "^18.2.0",
33
33
  "react-dropzone": "^14.2.3",
34
34
  "react-hook-form": "^7.38.0",
35
35
  "react-router-dom": "^6.4.2",
@@ -48,8 +48,8 @@
48
48
  "deploy": "storybook-to-ghpages",
49
49
  "test": "react-scripts test --setupFiles ./setupFile.js",
50
50
  "build": "rm -rf dist/ && npm run build:esm && npm run build:cjs && cp -R src/assets dist/cjs/assets && cp -R src/assets dist/esm/assets",
51
- "build:esm": "tsc",
52
- "build:cjs": "tsc --module CommonJS --outDir dist/cjs"
51
+ "build:esm": "tsc && tsc-alias",
52
+ "build:cjs": "tsc --module CommonJS --outDir dist/cjs && tsc-alias"
53
53
  },
54
54
  "eslintConfig": {
55
55
  "extends": [
@@ -89,9 +89,9 @@
89
89
  ],
90
90
  "devDependencies": {
91
91
  "@babel/cli": "^7.21.0",
92
+ "@babel/preset-typescript": "^7.21.0",
92
93
  "@chakra-ui/icons": "^2.0.17",
93
94
  "@chakra-ui/react": "^2.4.9",
94
- "@babel/preset-typescript": "^7.21.0",
95
95
  "@chakra-ui/storybook-addon": "^4.0.16",
96
96
  "@storybook/addon-actions": "^6.5.13",
97
97
  "@storybook/addon-essentials": "^6.5.13",
@@ -124,13 +124,14 @@
124
124
  "prettier": "2.7.1",
125
125
  "prop-types": "^15.8.1",
126
126
  "semantic-release": "^20.1.1",
127
+ "tsc-alias": "^1.8.3",
127
128
  "typescript": "^4.9.3",
128
129
  "webpack": "^5.74.0"
129
130
  },
130
131
  "peerDependencies": {
131
- "react": "^18.2.0",
132
- "react-dom": "^18.2.0",
133
132
  "@chakra-ui/icons": "^2.0.17",
134
- "@chakra-ui/react": "^2.4.9"
133
+ "@chakra-ui/react": "^2.4.9",
134
+ "react": "^18.2.0",
135
+ "react-dom": "^18.2.0"
135
136
  }
136
137
  }