@bit.rhplus/ui2.module-dropdown-list 0.1.107 → 0.1.109

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,7 +2,7 @@
2
2
  * Atom family pro uchovávání posledních vybraných položek pro každý typ modulu
3
3
  * Používá localStorage pro persistenci dat mezi reloady stránky
4
4
  */
5
- export const recentItemsAtomFamily: import("jotai/vanilla/utils/atomFamily").AtomFamily<any, import("jotai").WritableAtom<never[], [never[] | typeof import("jotai/utils").RESET | ((prev: never[]) => never[] | typeof import("jotai/utils").RESET)], void>>;
5
+ export const recentItemsAtomFamily: import("jotai/vanilla/utils/atomFamily").AtomFamily<any, import("jotai").WritableAtom<any[], [any[] | typeof import("jotai/utils").RESET | ((prev: any[]) => any[] | typeof import("jotai/utils").RESET)], void>>;
6
6
  export function clearRecentItems(moduleType: string, setAtom: Function): void;
7
7
  /**
8
8
  * Helper atom pro vývojářské účely - seznam všech typů modulů,
@@ -1,13 +1,13 @@
1
1
  export function useModuleDropdownList({ moduleDefinition, value, displayMode }: {
2
2
  moduleDefinition: any;
3
3
  value: any;
4
- displayMode?: string | undefined;
4
+ displayMode?: string;
5
5
  }): {
6
6
  moduleDefinition: any;
7
7
  modalOpen: boolean;
8
8
  searchQuery: string;
9
9
  dropdownSearchQuery: string;
10
- selectedItem: null;
10
+ selectedItem: any;
11
11
  rowData: any;
12
12
  fullListData: any;
13
13
  isLoading: false;
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@bit.rhplus/ui2.module-dropdown-list",
3
- "version": "0.1.107",
3
+ "version": "0.1.109",
4
4
  "homepage": "https://bit.cloud/remote-scope/ui2/module-dropdown-list",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "remote-scope",
8
8
  "name": "ui2/module-dropdown-list",
9
- "version": "0.1.107"
9
+ "version": "0.1.109"
10
10
  },
11
11
  "dependencies": {
12
12
  "@ant-design/icons": "^5.4.0",
13
13
  "antd": "^5.20.6",
14
14
  "jotai": "^2.11.1",
15
15
  "@tanstack/react-query": "^5.66.9",
16
- "@bit.rhplus/draggable-modal": "0.0.15",
17
- "@bit.rhplus/data": "0.0.85",
18
- "@bit.rhplus/ag-grid": "0.0.113"
16
+ "@bit.rhplus/ag-grid": "0.0.115",
17
+ "@bit.rhplus/draggable-modal": "0.0.16",
18
+ "@bit.rhplus/data": "0.0.87"
19
19
  },
20
20
  "devDependencies": {
21
- "@teambit/react.react-env": "1.3.1"
21
+ "@bitdev/react.react-env": "4.0.14"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0"
@@ -26,6 +26,7 @@
26
26
  "license": "SEE LICENSE IN UNLICENSED",
27
27
  "optionalDependencies": {},
28
28
  "peerDependenciesMeta": {},
29
+ "type": "module",
29
30
  "private": false,
30
31
  "publishConfig": {
31
32
  "scope": "@bit.rhplus",
package/types/env.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ export type ImportMetaEnv = Record<string, string>;
4
+
5
+ interface ImportMeta {
6
+ readonly env: ImportMetaEnv
7
+ }
8
+
9
+ declare global {
10
+ namespace NodeJS {
11
+ interface ProcessEnv {
12
+ [key: string]: string;
13
+ }
14
+ }
15
+ }