@deviceinsight/ng-ui-components 7.15.0 → 7.17.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.
package/dist/style.css CHANGED
@@ -1081,6 +1081,18 @@ a .di.label:active {background-color:rgba(0,0,0,.1);}
1081
1081
  cursor: -webkit-grabbing;
1082
1082
  cursor: grabbing;
1083
1083
  }
1084
+ .rc-slider-handle-disabled {
1085
+ background-color: #fff;
1086
+ border-color: #ccc;
1087
+ box-shadow: none;
1088
+ cursor: not-allowed;
1089
+ }
1090
+ .rc-slider-handle-disabled:hover,
1091
+ .rc-slider-handle-disabled:active {
1092
+ border-color: #ccc;
1093
+ box-shadow: none;
1094
+ cursor: not-allowed;
1095
+ }
1084
1096
  .rc-slider-mark {
1085
1097
  position: absolute;
1086
1098
  top: 18px;
@@ -2613,6 +2625,7 @@ h2.react-datepicker__current-month {
2613
2625
  .react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
2614
2626
  .react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
2615
2627
  background-color: rgb(28.75, 93.2196969697, 143.75);
2628
+ color: #fff;
2616
2629
  }
2617
2630
  .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
2618
2631
  .react-datepicker__month-text--in-range,
@@ -3423,3 +3436,4 @@ h2.react-datepicker__current-month {
3423
3436
  font-weight: bold;
3424
3437
  border-top: 1px solid #ddd;
3425
3438
  }
3439
+ /*$vite$:1*/
@@ -1,13 +1,14 @@
1
- import { ComponentProps, ComponentType } from 'react';
2
- declare const _default: {
3
- withTranslation: () => (Component: ComponentType<any>) => (props: any) => import("react").JSX.Element;
4
- Trans: ({ i18nKey, children }: ComponentProps<any>) => any;
1
+ import { ComponentProps, ComponentType, ReactElement } from 'react';
2
+ import { Mock } from 'vitest';
3
+ declare const i18nMock: {
4
+ withTranslation: () => (Component: ComponentType<any>) => (props: any) => ReactElement;
5
+ Trans: (props: ComponentProps<any>) => any;
5
6
  useTranslation: () => {
6
7
  t: (key: string) => string;
7
8
  i18n: {
8
- exists: import("vitest").Mock<(...args: any[]) => any>;
9
+ exists: Mock;
9
10
  };
10
11
  };
11
12
  };
12
- export default _default;
13
+ export default i18nMock;
13
14
  //# sourceMappingURL=i18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/__mocks__/i18n.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,OAAO,CAAC;;4BAI3B,WAAW,aAAa,CAAC,GAAG,CAAC,MAC5C,OAAO,GAAG;mCAEU,cAAc,CAAC,GAAG,CAAC;;iBAEtC,MAAM;;;;;;AANjB,wBAWE"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/__mocks__/i18n.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,aAAa,EAAE,YAAY,EAAC,MAAM,OAAO,CAAC;AAClE,OAAO,EAAK,IAAI,EAAC,MAAM,QAAQ,CAAC;AAEhC,QAAA,MAAM,QAAQ,EAAE;IACf,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,KAAK,YAAY,CAAC;IACvF,KAAK,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC;IAC3C,cAAc,EAAE,MAAM;QAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;QAAC,IAAI,EAAE;YAAC,MAAM,EAAE,IAAI,CAAA;SAAC,CAAA;KAAC,CAAC;CAYzE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -5,7 +5,7 @@ declare const meta: {
5
5
  component: typeof GridColorPicker;
6
6
  render: (args: import("./GridColorPicker").Props) => import("react").JSX.Element;
7
7
  args: {
8
- onPick: import("storybook/test").Mock<(...args: any[]) => any>;
8
+ onPick: import("@vitest/spy").Mock<(...args: any[]) => any>;
9
9
  colors: string[];
10
10
  onOpenStateChange: undefined;
11
11
  };
@@ -4,8 +4,8 @@ declare const meta: Meta<typeof FileUpload>;
4
4
  export default meta;
5
5
  export declare const BasicUpload: {
6
6
  args: {
7
- onRemoveFile: import("storybook/test").Mock<(...args: any[]) => any>;
8
- onSelectFile: import("storybook/test").Mock<(...args: any[]) => any>;
7
+ onRemoveFile: import("@vitest/spy").Mock<(...args: any[]) => any>;
8
+ onSelectFile: import("@vitest/spy").Mock<(...args: any[]) => any>;
9
9
  previewComponent: ({ file, onRemoveFile }: import("./FileUpload").PreviewComponentProps) => import("react").JSX.Element;
10
10
  };
11
11
  };
@@ -19,7 +19,7 @@ export declare const UploadAndDownload: {
19
19
  export declare const MultipleUploadAndDownload: {
20
20
  args: {
21
21
  multiple: true;
22
- onChange: import("storybook/test").Mock<(...args: any[]) => any>;
22
+ onChange: import("@vitest/spy").Mock<(...args: any[]) => any>;
23
23
  previewComponent: ({ file, onRemoveFile, onDownloadFile }: import("./FileUpload").PreviewComponentProps) => import("react").JSX.Element;
24
24
  };
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deviceinsight/ng-ui-components",
3
- "version": "7.15.0",
3
+ "version": "7.17.0",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "files": ["dist/"],
26
26
  "scripts": {
27
- "scan": "npx --registry=https://registry.npmjs.org audit-ci@^6 --low true --skip-dev --config scan-config.json5",
27
+ "scan": "npx --registry=https://registry.npmjs.org audit-ci@latest --low true --skip-dev --config scan-config.json5",
28
28
  "clean": "rimraf dist",
29
29
  "build": "npm run clean && vite build && tsc -p tsconfig.types.json",
30
30
  "test": "vitest",
@@ -38,28 +38,28 @@
38
38
  "build-storybook": "storybook build"
39
39
  },
40
40
  "dependencies": {
41
- "@deviceinsight/ng-ui-api-client": "10.48.0",
42
- "@deviceinsight/ng-ui-basic-components": "7.8.0",
43
- "@dnd-kit/core": "6.3.1",
44
- "@dnd-kit/modifiers": "9.0.0",
45
- "@dnd-kit/sortable": "10.0.0",
46
- "@rc-component/slider": "1.0.0",
47
- "@rc-component/tooltip": "1.4.0",
48
- "@svgdotjs/svg.js": "3.2.5",
49
- "classnames": "2.5.1",
50
- "date-fns": "4.1.0",
51
- "dayjs": "1.11.20",
52
- "highcharts": "12.4.0",
53
- "highcharts-react-official": "3.2.3",
54
- "lodash": "4.18.1",
55
- "nanoid": "5.1.6",
56
- "pure-color": "1.3.0",
57
- "react-colorful": "5.7.0",
58
- "react-datepicker": "8.8.0",
59
- "react-dropzone": "14.4.1",
60
- "react-select": "5.10.2",
61
- "react-select-async-paginate": "0.7.11",
62
- "react-toastify": "11.1.0"
41
+ "@deviceinsight/ng-ui-api-client": "^10.50.0",
42
+ "@deviceinsight/ng-ui-basic-components": "^7.13.0",
43
+ "@dnd-kit/core": "^6.3.1",
44
+ "@dnd-kit/modifiers": "^9.0.0",
45
+ "@dnd-kit/sortable": "^10.0.0",
46
+ "@rc-component/slider": "^1.1.1",
47
+ "@rc-component/tooltip": "^1.4.0",
48
+ "@svgdotjs/svg.js": "^3.2.5",
49
+ "classnames": "^2.5.1",
50
+ "date-fns": "^4.4.0",
51
+ "dayjs": "^1.11.21",
52
+ "highcharts": "^12.6.0",
53
+ "highcharts-react-official": "^3.2.3",
54
+ "lodash": "^4.18.1",
55
+ "nanoid": "^5.1.16",
56
+ "pure-color": "^1.3.0",
57
+ "react-colorful": "^5.7.0",
58
+ "react-datepicker": "^8.10.0",
59
+ "react-dropzone": "^14.4.1",
60
+ "react-select": "^5.10.2",
61
+ "react-select-async-paginate": "^0.7.11",
62
+ "react-toastify": "^11.1.0"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "i18next": "^25.10.10",
@@ -70,46 +70,46 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@eslint/js": "10.0.1",
73
- "@storybook/react-vite": "10.4.4",
73
+ "@storybook/react-vite": "10.4.6",
74
74
  "@testing-library/dom": "10.4.1",
75
75
  "@testing-library/jest-dom": "6.9.1",
76
- "@testing-library/react": "16.3.0",
76
+ "@testing-library/react": "16.3.2",
77
77
  "@testing-library/user-event": "14.6.1",
78
78
  "@types/lodash": "4.17.24",
79
- "@types/node": "22.13.13",
79
+ "@types/node": "24.13.2",
80
80
  "@types/react": "19.2.17",
81
81
  "@types/react-dom": "19.2.3",
82
82
  "@types/react-router-dom": "5.3.3",
83
- "@typescript-eslint/eslint-plugin": "8.60.1",
84
- "@typescript-eslint/parser": "8.60.1",
85
- "@vitejs/plugin-react": "5.1.0",
86
- "eslint": "10.5.0",
83
+ "@typescript-eslint/eslint-plugin": "8.62.1",
84
+ "@typescript-eslint/parser": "8.62.1",
85
+ "@vitejs/plugin-react": "5.2.0",
86
+ "eslint": "10.6.0",
87
87
  "eslint-plugin-react-hooks": "7.1.1",
88
- "happy-dom": "20.9.0",
88
+ "happy-dom": "20.10.6",
89
89
  "husky": "9.1.7",
90
90
  "i18next": "25.10.10",
91
- "lint-staged": "16.4.0",
92
- "prettier": "3.6.2",
91
+ "lint-staged": "17.0.8",
92
+ "prettier": "3.9.4",
93
93
  "prop-types": "15.8.1",
94
94
  "react": "19.2.7",
95
95
  "react-dom": "19.2.7",
96
96
  "react-i18next": "16.6.6",
97
97
  "react-router-dom": "5.3.4",
98
- "rimraf": "6.1.0",
99
- "storybook": "10.4.4",
100
- "tsc-watch": "7.2.0",
98
+ "rimraf": "6.1.3",
99
+ "storybook": "10.4.6",
100
+ "tsc-watch": "7.2.1",
101
101
  "typescript": "5.9.3",
102
- "vitest": "4.0.5",
103
- "eslint-plugin-storybook": "10.4.4"
102
+ "vitest": "4.1.9",
103
+ "eslint-plugin-storybook": "10.4.6"
104
104
  },
105
105
  "overrides": {
106
- "follow-redirects": "1.16.0",
107
- "uuid": "11.1.1",
106
+ "follow-redirects": "^1.16.0",
107
+ "uuid": "^11.1.1",
108
108
  "ux4iot-admin-node": {
109
- "form-data": "2.5.6"
109
+ "form-data": "^2.5.6"
110
110
  },
111
- "ws": "8.21.0",
112
- "yaml": "2.9.0"
111
+ "ws": "^8.21.0",
112
+ "yaml": "^2.9.0"
113
113
  },
114
114
  "lint-staged": {
115
115
  "{src/**/*.{ts,tsx},package.json,package-lock.json}": ["prettier --write"]
@@ -118,7 +118,7 @@
118
118
  "extends": ["plugin:storybook/recommended"]
119
119
  },
120
120
  "engines": {
121
- "node": "^24.15.0",
122
- "npm": "^11.12.1"
121
+ "node": "^24.18.0",
122
+ "npm": "^11.16.0"
123
123
  }
124
124
  }