@shlinkio/shlink-frontend-kit 1.1.0 → 1.2.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.
- package/dist/index.d.ts +3 -2
- package/package.json +20 -17
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { HTMLProps } from 'react';
|
|
|
8
8
|
import { InputHTMLAttributes } from 'react';
|
|
9
9
|
import { JSX } from 'react/jsx-runtime';
|
|
10
10
|
import { LinkProps } from 'react-router';
|
|
11
|
+
import { MenuItemProps as MenuItemProps_2 } from './Menu';
|
|
11
12
|
import { Placement } from '@floating-ui/react';
|
|
12
13
|
import { Property } from 'csstype';
|
|
13
14
|
import { PropsWithChildren } from 'react';
|
|
@@ -185,7 +186,7 @@ export declare function determineOrder<Fields extends string = string>(orderDirC
|
|
|
185
186
|
export declare function determineOrderDir<Fields extends string = string>(orderDirChange: OrderDirChange<Fields>): OrderDir;
|
|
186
187
|
|
|
187
188
|
export declare const Dropdown: FC<DropdownProps> & {
|
|
188
|
-
Item: FC<
|
|
189
|
+
Item: FC<MenuItemProps_2>;
|
|
189
190
|
Separator: FC;
|
|
190
191
|
Title: FC<{
|
|
191
192
|
children?: ReactNode | undefined;
|
|
@@ -533,7 +534,7 @@ export declare type RevealablePasswordInputProps = Omit<InputProps, 'type'> & {
|
|
|
533
534
|
export declare const roundTen: (number: number) => number;
|
|
534
535
|
|
|
535
536
|
export declare const RowDropdown: FC<RowDropdownProps> & {
|
|
536
|
-
Item: FC<
|
|
537
|
+
Item: FC<MenuItemProps_2>;
|
|
537
538
|
Separator: FC;
|
|
538
539
|
Title: FC<{
|
|
539
540
|
children?: ReactNode | undefined;
|
package/package.json
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
"name": "@shlinkio/shlink-frontend-kit",
|
|
3
3
|
"description": "React components and utilities for Shlink frontend projects",
|
|
4
4
|
"private": false,
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/shlinkio/shlink-frontend-kit.git"
|
|
8
|
+
},
|
|
6
9
|
"license": "MIT",
|
|
7
10
|
"type": "module",
|
|
8
11
|
"main": "./dist/index.js",
|
|
@@ -31,7 +34,7 @@
|
|
|
31
34
|
"dev": "vite serve --host=0.0.0.0 --port 3001"
|
|
32
35
|
},
|
|
33
36
|
"dependencies": {
|
|
34
|
-
"@floating-ui/react": "^0.27.
|
|
37
|
+
"@floating-ui/react": "^0.27.16",
|
|
35
38
|
"clsx": "^2.1.1"
|
|
36
39
|
},
|
|
37
40
|
"peerDependencies": {
|
|
@@ -40,7 +43,7 @@
|
|
|
40
43
|
"@fortawesome/fontawesome-svg-core": "^7.0.0",
|
|
41
44
|
"@fortawesome/free-regular-svg-icons": "^7.0.0",
|
|
42
45
|
"@fortawesome/free-solid-svg-icons": "^7.0.0",
|
|
43
|
-
"@fortawesome/react-fontawesome": "^0.
|
|
46
|
+
"@fortawesome/react-fontawesome": "^3.0.0",
|
|
44
47
|
"react": "^19.1",
|
|
45
48
|
"react-dom": "^19.1",
|
|
46
49
|
"react-router": "^7.0.2",
|
|
@@ -52,31 +55,31 @@
|
|
|
52
55
|
}
|
|
53
56
|
},
|
|
54
57
|
"devDependencies": {
|
|
55
|
-
"@shlinkio/eslint-config-js-coding-standard": "~3.
|
|
56
|
-
"@stylistic/eslint-plugin": "^5.
|
|
57
|
-
"@tailwindcss/vite": "^4.1.
|
|
58
|
-
"@testing-library/jest-dom": "^6.
|
|
58
|
+
"@shlinkio/eslint-config-js-coding-standard": "~3.6.0",
|
|
59
|
+
"@stylistic/eslint-plugin": "^5.4.0",
|
|
60
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
61
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
59
62
|
"@testing-library/react": "^16.3.0",
|
|
60
63
|
"@testing-library/user-event": "^14.6.1",
|
|
61
64
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
62
|
-
"@types/react": "^19.
|
|
63
|
-
"@types/react-dom": "^19.
|
|
64
|
-
"@vitejs/plugin-react": "^
|
|
65
|
+
"@types/react": "^19.2.0",
|
|
66
|
+
"@types/react-dom": "^19.2.0",
|
|
67
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
65
68
|
"@vitest/browser": "^3.2.4",
|
|
66
69
|
"@vitest/coverage-v8": "^3.2.4",
|
|
67
70
|
"axe-core": "^4.10.3",
|
|
68
|
-
"eslint": "^9.
|
|
71
|
+
"eslint": "^9.37.0",
|
|
69
72
|
"eslint-plugin-import": "^2.32.0",
|
|
70
73
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
71
74
|
"eslint-plugin-react": "^7.37.5",
|
|
72
75
|
"eslint-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",
|
|
73
|
-
"eslint-plugin-react-hooks": "^
|
|
76
|
+
"eslint-plugin-react-hooks": "^6.1.1",
|
|
74
77
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
75
78
|
"history": "^5.3.0",
|
|
76
|
-
"playwright": "^1.
|
|
77
|
-
"typescript": "^5.
|
|
78
|
-
"typescript-eslint": "^8.
|
|
79
|
-
"vite": "^7.
|
|
79
|
+
"playwright": "^1.55.1",
|
|
80
|
+
"typescript": "^5.9.3",
|
|
81
|
+
"typescript-eslint": "^8.45.0",
|
|
82
|
+
"vite": "^7.1.9",
|
|
80
83
|
"vite-plugin-dts": "^4.5.4",
|
|
81
84
|
"vitest": "^3.0.2"
|
|
82
85
|
},
|
|
@@ -86,5 +89,5 @@
|
|
|
86
89
|
"not ie <= 11",
|
|
87
90
|
"not op_mini all"
|
|
88
91
|
],
|
|
89
|
-
"version": "1.1
|
|
92
|
+
"version": "1.2.1"
|
|
90
93
|
}
|