reykit 1.0.120 → 1.0.122
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.css +1 -1
- package/dist/index.js +9544 -9961
- package/dist/src/image.d.ts +0 -20
- package/dist/src/index.d.ts +0 -2
- package/package.json +3 -1
package/dist/src/image.d.ts
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Time : 2026-06-01
|
|
3
|
-
* @Author : Rey
|
|
4
|
-
* @Contact : reyxbo@163.com
|
|
5
|
-
* @Explain : Image methods.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Browser download qrcode file from text.
|
|
9
|
-
*
|
|
10
|
-
* @param text - QRCode Text.
|
|
11
|
-
* @param fileName - File name.
|
|
12
|
-
*/
|
|
13
|
-
export declare function downloadQrcode(text: string, fileName?: string): Promise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* Set qrcode URL to element `src` attribute.
|
|
16
|
-
*
|
|
17
|
-
* @param text - QRCode Text.
|
|
18
|
-
* @param element - Element instance or id.
|
|
19
|
-
*/
|
|
20
|
-
export declare function setElementQrcode(text: string, element: HTMLElement | string): Promise<void>;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as component from './components';
|
|
2
2
|
import * as base from './base';
|
|
3
3
|
import * as data from './data';
|
|
4
|
-
import * as image from './image';
|
|
5
4
|
import * as net from './net';
|
|
6
5
|
import * as re from './re';
|
|
7
6
|
import * as react from './react';
|
|
@@ -11,7 +10,6 @@ declare const _default: {
|
|
|
11
10
|
component: typeof component;
|
|
12
11
|
base: typeof base;
|
|
13
12
|
data: typeof data;
|
|
14
|
-
image: typeof image;
|
|
15
13
|
net: typeof net;
|
|
16
14
|
re: typeof re;
|
|
17
15
|
react: typeof react;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reykit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.122",
|
|
4
4
|
"description": "Kit method set.",
|
|
5
5
|
"author": "reyxbo",
|
|
6
6
|
"keywords": [
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"input-otp": "^1.4.2",
|
|
50
50
|
"lucide-react": "^0.575.0",
|
|
51
51
|
"next-themes": "^0.4.6",
|
|
52
|
+
"qrcode": "^1.5.4",
|
|
52
53
|
"radix-ui": "^1.4.3",
|
|
53
54
|
"react": "19.2.4",
|
|
54
55
|
"react-day-picker": "^9.13.2",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
65
|
"@tailwindcss/vite": "^4.3.0",
|
|
66
|
+
"@types/qrcode": "^1.5.6",
|
|
65
67
|
"@types/react": "^19.2.15",
|
|
66
68
|
"@types/react-dom": "^19.2.3",
|
|
67
69
|
"@vitejs/plugin-react": "^6.0.2",
|