@groupeactual/ui-kit 1.7.0 → 1.7.1-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { BoxProps } from '@mui/system';
2
+ import { BoxProps } from '@mui/material';
3
3
  interface Props extends BoxProps {
4
4
  variant: 'warning' | 'error' | 'success' | 'infos';
5
5
  title: string;
package/package.json CHANGED
@@ -1,63 +1,39 @@
1
1
  {
2
2
  "name": "@groupeactual/ui-kit",
3
- "version": "1.7.0",
3
+ "version": "1.7.1-beta.1",
4
4
  "type": "module",
5
5
  "description": "A simple template for a custom React component library",
6
- "devDependencies": {
7
- "@babel/core": "^7.26.0",
8
- "@babel/preset-env": "^7.26.0",
9
- "@babel/preset-react": "^7.25.9",
10
- "@babel/preset-typescript": "^7.26.0",
11
- "@groupeactual/code-quality-front": "^1.3.0",
12
- "@mdx-js/react": "^3.1.0",
13
- "@types/google.picker": "^0.0.46",
14
- "@types/lodash": "^4.17.13",
15
- "@types/react": "^18.3.12",
16
- "@types/styled-components": "^5.1.34",
17
- "babel-loader": "^9.2.1",
18
- "clsx": "^2.1.1",
19
- "css-loader": "^7.1.2",
20
- "framer-motion": "^11.11.17",
21
- "identity-obj-proxy": "^3.0.0",
22
- "lodash": "^4.17.21",
23
- "postcss": "^8.4.49",
24
- "prettier": "^3.3.3",
25
- "prop-types": "^15.8.1",
26
- "sass": "^1.81.0",
27
- "sass-loader": "^16.0.3",
28
- "style-loader": "^4.0.0",
29
- "styled-components": "^6.1.13",
30
- "tslib": "^2.8.1",
31
- "typescript": "^5.6.3"
32
- },
33
6
  "main": "dist/cjs/index.js",
34
7
  "module": "dist/es/index.js",
8
+ "types": "dist/es/index.d.ts",
35
9
  "files": [
36
10
  "dist",
37
11
  "src"
38
12
  ],
39
- "types": "dist/es/index.d.ts",
13
+ "devDependencies": {
14
+ "@types/google.picker": "^0.0.46",
15
+ "@types/styled-components": "^5.1.34",
16
+ "framer-motion": "^11.12.0",
17
+ "eslint": "^9.15.0",
18
+ "eslint-config-prettier": "^9.1.0",
19
+ "eslint-plugin-import": "^2.31.0",
20
+ "eslint-plugin-jest": "^28.9.0",
21
+ "eslint-plugin-jsx-a11y": "^6.10.2",
22
+ "eslint-plugin-n": "^17.14.0",
23
+ "eslint-plugin-prettier": "^5.2.1",
24
+ "eslint-plugin-promise": "^7.2.1",
25
+ "eslint-plugin-react": "^7.37.2",
26
+ "eslint-plugin-react-hooks": "^5.0.0",
27
+ "prettier": "^3.4.1"
28
+ },
40
29
  "dependencies": {
41
- "@emotion/is-prop-valid": "^1.3.1",
42
- "@emotion/react": "^11.13.3",
43
- "@emotion/serialize": "^1.3.2",
44
- "@emotion/styled": "^11.13.0",
45
- "@fortawesome/fontawesome-svg-core": "6.6.0",
46
- "@fortawesome/free-brands-svg-icons": "6.6.0",
47
- "@fortawesome/pro-regular-svg-icons": "git+https://github.com/actualtysoft/pro-regular-svg-icons.git#6.4.2",
48
- "@fortawesome/pro-solid-svg-icons": "git+https://github.com/actualtysoft/pro-solid-svg-icons.git#6.4.2",
49
- "@mui/material": "^5.16.7",
50
- "@mui/system": "^5.16.7",
51
- "@mui/x-date-pickers": "^7.15.0",
52
- "@mui/x-date-pickers-pro": "^7.15.0",
53
- "@react-oauth/google": "^0.12.1",
54
- "dayjs": "^1.11.13",
55
- "notistack": "^3.0.1",
56
- "react": "^18.3.1",
57
- "react-dom": "^18.3.1",
58
- "react-google-picker": "^0.1.0",
59
- "react-dropzone": "^14.3.5",
60
- "@groupeactual/design-tokens": "1.7.0"
30
+ "@mui/material": "5.16.7",
31
+ "@mui/system": "5.16.7",
32
+ "@mui/styled-engine": "5.16.6",
33
+ "@mui/x-date-pickers": "7.15.0",
34
+ "@mui/x-date-pickers-pro": "7.15.0",
35
+ "styled-components": "^6.1.13",
36
+ "@groupeactual/design-tokens": "1.7.1-beta.1"
61
37
  },
62
38
  "scripts": {
63
39
  "build": "rollup -c",
@@ -7,8 +7,7 @@ import {
7
7
  faCircleInfo,
8
8
  faCircleXmark,
9
9
  } from '@fortawesome/pro-solid-svg-icons';
10
- import { Box } from '@mui/material';
11
- import { BoxProps } from '@mui/system';
10
+ import { Box, BoxProps } from '@mui/material';
12
11
 
13
12
  import Text from '@/components//Text';
14
13
  import Icon from '@/components/IconProvider';
@@ -133,7 +133,6 @@ const TimePicker = ({
133
133
  {...props}
134
134
  ref={textFieldRef}
135
135
  data-testid="select-hour"
136
- fullWidth
137
136
  error={customError || error}
138
137
  label={label}
139
138
  helperText={customError ?? helperText}