aquasis-fe-components 1.10.0 → 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.
@@ -1,7 +1,7 @@
1
1
  import { ColorPickerProps, DatePickerProps, InputNumberProps, InputProps, RadioGroupProps, SegmentedProps, SelectProps, SwitchProps, TransferProps, TreeSelectProps } from 'antd';
2
2
  import { RangePickerProps } from 'antd/es/date-picker';
3
3
  import { FormItemProps, Rule } from 'antd/es/form';
4
- import { LabelTooltipType } from 'antd/es/form/FormItemLabel';
4
+ import { FormItemTooltipType } from 'antd/es/form/FormItemLabel';
5
5
  import { TextAreaProps } from 'antd/es/input';
6
6
  import { ColumnsType } from 'antd/es/table';
7
7
  import { TransferItem } from 'antd/es/transfer';
@@ -13,7 +13,7 @@ interface FormFieldProps {
13
13
  rules?: Rule[];
14
14
  className?: string;
15
15
  formItemStyles?: CSSProperties;
16
- tooltip?: LabelTooltipType;
16
+ tooltip?: FormItemTooltipType;
17
17
  block?: boolean;
18
18
  }
19
19
  export interface MultiTableItem {
@@ -3,6 +3,8 @@ import { FC } from 'react';
3
3
  export interface UserModalProps {
4
4
  isOpen: boolean;
5
5
  user: IUser;
6
+ /** Current application id from the host app (e.g. cookie); used to resolve the user's role for this app */
7
+ appId: string;
6
8
  isLoading?: boolean;
7
9
  onCancel: () => void;
8
10
  }
@@ -1,7 +1,7 @@
1
1
  export declare const store: import('@reduxjs/toolkit').EnhancedStore<{
2
2
  app: import('../types/store').AppState;
3
3
  }, import('redux').UnknownAction, import('@reduxjs/toolkit').Tuple<[import('redux').StoreEnhancer<{
4
- dispatch: import('redux-thunk').ThunkDispatch<{
4
+ dispatch: import('@reduxjs/toolkit').ThunkDispatch<{
5
5
  app: import('../types/store').AppState;
6
6
  }, undefined, import('redux').UnknownAction>;
7
7
  }>, import('redux').StoreEnhancer]>>;
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "aquasis-fe-components",
3
3
  "private": false,
4
- "version": "1.10.0",
4
+ "version": "2.0.0",
5
5
  "type": "module",
6
6
  "license": "ISC",
7
7
  "author": "Ewerton Souza",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
- "build": "yarn tsc && yarn vite build",
10
+ "build": "tsc && vite build",
11
11
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
12
12
  "preview": "vite preview",
13
- "upd-version": "npm version patch --no-git-tag-version",
14
- "prepublishOnly": "npm run build",
15
- "publish-beta": "npm publish --tag beta"
13
+ "upd-version": "pnpm version patch --no-git-tag-version",
14
+ "prepublishOnly": "pnpm run build",
15
+ "publish-beta": "pnpm publish --tag beta"
16
16
  },
17
17
  "peerDependencies": {
18
18
  "i18next": "^25.8.0",
19
- "react": "19.x",
20
- "react-dom": "19.x",
19
+ "react": "^19.0.0",
20
+ "react-dom": "^19.0.0",
21
21
  "react-i18next": "^16.5.4",
22
22
  "@tanstack/react-query": "^5.90.21"
23
23
  },
@@ -59,36 +59,33 @@
59
59
  "last 1 safari version"
60
60
  ]
61
61
  },
62
- "eslintConfig": {
63
- "env": {
64
- "browser": true,
65
- "node": true,
66
- "es2020": true
67
- },
68
- "extends": [
69
- "eslint:recommended",
70
- "plugin:react/recommended"
71
- ],
72
- "parserOptions": {
73
- "sourceType": "module"
62
+ "pnpm": {
63
+ "overrides": {
64
+ "@rc-component/trigger": "^3.9.0"
74
65
  }
75
66
  },
76
67
  "devDependencies": {
68
+ "@tanstack/react-query": "^5.90.21",
69
+ "@types/hoist-non-react-statics": "^3.3.7",
77
70
  "@types/lodash": "^4.17.23",
78
71
  "@types/node": "^25.1.0",
79
72
  "@types/react": "^19.2.10",
80
73
  "@types/react-dom": "^19.2.3",
81
- "@tanstack/react-query": "^5.90.21",
82
74
  "@typescript-eslint/eslint-plugin": "^8.54.0",
83
75
  "@typescript-eslint/parser": "^8.54.0",
84
76
  "@vitejs/plugin-react": "^5.1.2",
85
77
  "eslint": "^9.39.2",
86
78
  "eslint-plugin-react-hooks": "^7.0.1",
87
79
  "eslint-plugin-react-refresh": "^0.4.26",
88
- "json": "^11.0.0",
80
+ "i18next": "^25.8.0",
81
+ "react": "^19.2.4",
82
+ "react-dom": "^19.2.4",
83
+ "react-i18next": "^16.5.4",
89
84
  "sass": "^1.97.3",
90
85
  "typescript": "^5.9.3",
91
- "vite": "^7.3.1"
86
+ "vite": "^7.3.1",
87
+ "vite-plugin-dts": "^4.5.4",
88
+ "vite-plugin-lib-inject-css": "^2.2.2"
92
89
  },
93
90
  "dependencies": {
94
91
  "@ant-design/icons": "^6.1.0",
@@ -98,30 +95,19 @@
98
95
  "@fortawesome/react-fontawesome": "^3.1.1",
99
96
  "@rc-component/trigger": "^3.9.0",
100
97
  "@reduxjs/toolkit": "^2.11.2",
101
- "@types/hoist-non-react-statics": "^3.3.7",
102
98
  "@uidotdev/usehooks": "^2.4.1",
103
99
  "antd": "^6.2.2",
104
100
  "axios": "^1.13.4",
105
101
  "classnames": "^2.5.1",
106
102
  "dayjs": "^1.11.19",
107
103
  "hoist-non-react-statics": "^3.3.2",
108
- "i18next": "^25.8.0",
109
104
  "i18next-browser-languagedetector": "^8.2.0",
110
105
  "lodash": "^4.17.23",
111
106
  "rc-motion": "^2.9.5",
112
107
  "rc-resize-observer": "^1.4.3",
113
- "react": "19.2.4",
114
- "react-dom": "19.2.4",
115
- "react-i18next": "^16.5.4",
116
108
  "react-redux": "^9.1.2",
117
109
  "react-router-dom": "^7.13.0",
118
110
  "redux": "^5.0.1",
119
- "scss": "^0.2.4",
120
- "universal-cookie": "^8.0.1",
121
- "vite-plugin-dts": "^4.5.4",
122
- "vite-plugin-lib-inject-css": "^2.2.2"
123
- },
124
- "resolutions": {
125
- "@rc-component/trigger": "^3.9.0"
111
+ "universal-cookie": "^8.0.1"
126
112
  }
127
113
  }