@ostack.tech/ui-kform 0.16.0 → 0.16.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostack.tech/ui-kform",
|
|
3
3
|
"description": "Integration of ostack/UI with ostack/KForm.",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.1",
|
|
5
5
|
"homepage": "https://ui.ostack.tech/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Opensoft",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@fortawesome/fontawesome-svg-core": "^6.2.0 || ^7.0.0",
|
|
50
50
|
"@fortawesome/free-regular-svg-icons": "^6.2.0 || ^7.0.0",
|
|
51
51
|
"@fortawesome/free-solid-svg-icons": "^6.2.0 || ^7.0.0",
|
|
52
|
-
"@ostack.tech/kform": "~1.0.0-rc.
|
|
53
|
-
"@ostack.tech/kform-react": "~1.0.0-rc.
|
|
54
|
-
"@ostack.tech/ui": "~0.16.
|
|
52
|
+
"@ostack.tech/kform": "~1.0.0-rc.1",
|
|
53
|
+
"@ostack.tech/kform-react": "~1.0.0-rc.1",
|
|
54
|
+
"@ostack.tech/ui": "~0.16.1",
|
|
55
55
|
"@types/react": "^19.0.0",
|
|
56
56
|
"@types/react-dom": "^19.0.0",
|
|
57
57
|
"date-fns": "^4.1.0",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/** Properties of the file control download addon. */
|
|
3
|
+
export interface FileControlDownloadAddonProps {
|
|
4
|
+
file: File;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/** Control addon used to download a file. */
|
|
8
|
+
export declare function FileControlDownloadAddon({ file, label, }: FileControlDownloadAddonProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
/** Properties of the file control view addon. */
|
|
3
|
+
export interface FileControlViewAddonProps {
|
|
4
|
+
file: File;
|
|
5
|
+
viewLabel: ReactNode;
|
|
6
|
+
downloadLabel: ReactNode;
|
|
7
|
+
fallbackText: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/** Control addon used to view a file. */
|
|
10
|
+
export declare function FileControlViewAddon({ file, viewLabel, downloadLabel, fallbackText, }: FileControlViewAddonProps): import("react").JSX.Element;
|