nectiasw 0.0.59 → 0.0.61

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.
package/README.md CHANGED
@@ -1,30 +1,30 @@
1
- # React + TypeScript + Vite
2
-
3
- This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
-
5
- Currently, two official plugins are available:
6
-
7
- - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
- - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
-
10
- ## Expanding the ESLint configuration
11
-
12
- If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13
-
14
- - Configure the top-level `parserOptions` property like this:
15
-
16
- ```js
17
- export default {
18
- // other rules...
19
- parserOptions: {
20
- ecmaVersion: 'latest',
21
- sourceType: 'module',
22
- project: ['./tsconfig.json', './tsconfig.node.json', './tsconfig.app.json'],
23
- tsconfigRootDir: __dirname,
24
- },
25
- }
26
- ```
27
-
28
- - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
29
- - Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
30
- - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9
+
10
+ ## Expanding the ESLint configuration
11
+
12
+ If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13
+
14
+ - Configure the top-level `parserOptions` property like this:
15
+
16
+ ```js
17
+ export default {
18
+ // other rules...
19
+ parserOptions: {
20
+ ecmaVersion: 'latest',
21
+ sourceType: 'module',
22
+ project: ['./tsconfig.json', './tsconfig.node.json', './tsconfig.app.json'],
23
+ tsconfigRootDir: __dirname,
24
+ },
25
+ }
26
+ ```
27
+
28
+ - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
29
+ - Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
30
+ - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
@@ -1,7 +1,7 @@
1
1
  export type DragareaProps = {
2
2
  color?: string;
3
- width?: number | string;
4
- height?: number | string;
3
+ width?: number;
4
+ height?: number;
5
5
  filename?: string;
6
6
  message?: string;
7
7
  status?: DropStatus;
@@ -22,7 +22,6 @@ export type DragareaProps = {
22
22
  statusColors?: Partial<Record<DropStatus, string>>;
23
23
  statusBorder?: Partial<Record<DropStatus, string>>;
24
24
  renderContent?: JSX.Element;
25
- renderBelowFilename?: JSX.Element;
26
25
  statusIcons?: Partial<Record<DropStatus, React.ComponentType<any>>>;
27
26
  };
28
27
  export declare enum DropStatus {
package/dist/index.d.ts CHANGED
@@ -84,7 +84,7 @@ export { createRef, initialState, resetAllStores, useSessionStore, } from './pro
84
84
  export { Permissions } from './providers/permissions';
85
85
  export type { PermissionsProps, AuthorizationProps, AuthorizationFilterArgs, AuthorizationSystemFlag, } from './providers/permissions/types';
86
86
  export { checkSystems, authorization } from './providers/permissions/utils';
87
- export { SP_Permission, IN_Permission } from './providers/permissions/types';
87
+ export { SP_Permission as SP_Grants, IN_Permission as IN_Grants } from './providers/permissions/types';
88
88
  export { MicrofrontHost } from './providers/microfront';
89
89
  export type { Wrapper, UIArguments, MicrofrontProps, WrappedComponentProps, SignalLayoutConnection, CommonSignalConnection as CommonSignal, } from './providers/microfront/types';
90
90
  export { Color } from './theme';
@@ -111,5 +111,4 @@ export type { DetailProps, SectionProps } from './components/Detail';
111
111
  export { Timeline } from './components/Timeline';
112
112
  export type { TimelineProps, TimelineDashedProps, } from './components/Timeline/types';
113
113
  export { Dragarea } from './components/Dragarea';
114
- export { DropStatus } from './constants';
115
114
  export type { DragareaProps } from './components/Dragarea/types';