@ostack.tech/ui-kform 1.3.0-beta.2 → 1.3.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/LICENSE +202 -0
- package/README.md +14 -1
- package/dist/ostack-ui-kform.css +6 -3
- package/dist/ostack-ui-kform.js +565 -577
- package/dist/ostack-ui-kform.js.map +1 -1
- package/package.json +6 -11
- package/scss/components/Annexes/_Annexes-variables.scss +3 -0
- package/scss/components/Annexes/_Annexes.scss +4 -0
- package/scss/components/FileControl/_FileControl.scss +1 -1
- package/scss/components/TopBar/_TopBar.scss +1 -1
- package/types/utils/validationIssueKey.d.ts +7 -0
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostack.tech/ui-kform",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "Integration of ostack/UI
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "Integration of ostack/UI with ostack/KForm.",
|
|
5
5
|
"homepage": "https://ui.ostack.tech/",
|
|
6
|
+
"license": "Apache-2.0",
|
|
6
7
|
"author": {
|
|
7
8
|
"name": "Opensoft",
|
|
8
9
|
"url": "https://opensoft.pt/en/"
|
|
@@ -43,35 +44,29 @@
|
|
|
43
44
|
"./package.json": "./package.json"
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
47
|
+
"prepack": "cpy ../../LICENSE ./",
|
|
46
48
|
"build": "tsc -b && vite build && npm run copy:scss",
|
|
47
49
|
"copy:scss": "cpy 'src/**/*.scss' '!src/**/*.stories.scss' scss/",
|
|
48
50
|
"test": "vitest --run"
|
|
49
51
|
},
|
|
50
52
|
"dependencies": {
|
|
51
|
-
"browser-fs-access": "^0.
|
|
53
|
+
"browser-fs-access": "^0.39.0",
|
|
52
54
|
"esm-env": "^1.2.2"
|
|
53
55
|
},
|
|
54
56
|
"peerDependencies": {
|
|
55
|
-
"@fortawesome/fontawesome-svg-core": "^6.2.0 || ^7.0.0",
|
|
56
57
|
"@fortawesome/free-regular-svg-icons": "^6.2.0 || ^7.0.0",
|
|
57
58
|
"@fortawesome/free-solid-svg-icons": "^6.2.0 || ^7.0.0",
|
|
58
59
|
"@ostack.tech/kform": "^1.2.0",
|
|
59
60
|
"@ostack.tech/kform-react": "^1.2.0",
|
|
60
|
-
"@ostack.tech/ui": "~1.3.
|
|
61
|
+
"@ostack.tech/ui": "~1.3.1",
|
|
61
62
|
"@types/react": "^19.0.0",
|
|
62
|
-
"@types/react-dom": "^19.0.0",
|
|
63
63
|
"date-fns": "^4.1.0",
|
|
64
64
|
"react": "^19.0.0",
|
|
65
|
-
"react-dom": "^19.0.0",
|
|
66
|
-
"react-to-print": "^3.0.0",
|
|
67
65
|
"zustand": "^5.0.0"
|
|
68
66
|
},
|
|
69
67
|
"peerDependenciesMeta": {
|
|
70
68
|
"@types/react": {
|
|
71
69
|
"optional": true
|
|
72
|
-
},
|
|
73
|
-
"@types/react-dom": {
|
|
74
|
-
"optional": true
|
|
75
70
|
}
|
|
76
71
|
}
|
|
77
72
|
}
|
|
@@ -9,6 +9,9 @@ $annexes-menu-trigger-open-z-index: calc(
|
|
|
9
9
|
var(--#{o-ui.$prefix}layer-z-index, 0) + var(--#{o-ui.$prefix}z-index-dropdown) + 1
|
|
10
10
|
) !default;
|
|
11
11
|
|
|
12
|
+
// Menu trigger - Icon
|
|
13
|
+
$annexes-menu-trigger-icon-font-size: var(--#{o-ui.$prefix}font-size-xs);
|
|
14
|
+
|
|
12
15
|
// Tab issues
|
|
13
16
|
$annexes-tab-issues-popover-button-icon-border-width: 1px !default;
|
|
14
17
|
$annexes-tab-issues-popover-button-padding: calc(
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
border-bottom-right-radius: var(--#{o-ui.$prefix}border-radius-xs);
|
|
38
38
|
background-color: var(--#{o-ui.$prefix}background-color);
|
|
39
39
|
|
|
40
|
-
&:not([type^="image/"]
|
|
40
|
+
&:not([type^="image/"], [type^="video/"], [type^="audio/"]) {
|
|
41
41
|
width: 100vw;
|
|
42
42
|
height: $max-height;
|
|
43
43
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
margin-bottom: 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
& .#{$prefix}annexes__tab:focus-visible:not(:disabled
|
|
30
|
+
& .#{$prefix}annexes__tab:focus-visible:not(:disabled, [data-disabled]) {
|
|
31
31
|
box-shadow:
|
|
32
32
|
inset -1px 0 0 0 o-ui.$neutral-12,
|
|
33
33
|
inset 0 1px 0 0 o-ui.$neutral-12,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SealedValidationIssue } from "@ostack.tech/kform";
|
|
2
|
+
import type { Key } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Returns a React key uniquely identifying the provided validation issue, matching `equals`
|
|
5
|
+
* semantics.
|
|
6
|
+
*/
|
|
7
|
+
export declare function validationIssueKey(validationIssue: SealedValidationIssue): Key;
|