@ostack.tech/ui-kform 0.12.1 → 0.12.3
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/ostack-ui-kform.css +1 -0
- package/dist/ostack-ui-kform.js +21 -21
- package/dist/ostack-ui-kform.js.map +1 -1
- package/dist/types/components/FormApp/FormApp.d.ts +0 -10
- package/dist/types/components/PathLink/PathLink.d.ts +8 -11
- package/package.json +2 -2
- package/scss/components/FormPages/_FormPages.scss +1 -0
package/dist/ostack-ui-kform.css
CHANGED
|
@@ -374,6 +374,7 @@
|
|
|
374
374
|
top: calc(var(--o-ui-kform-form-app-base-sticky-top, 0px) + var(--o-ui-kform-top-bar-height));
|
|
375
375
|
max-height: calc(100dvh - var(--o-ui-kform-top-bar-height));
|
|
376
376
|
overflow: auto;
|
|
377
|
+
scrollbar-width: thin;
|
|
377
378
|
}
|
|
378
379
|
.o-ui-kform-form-pages__sidebar-item-content {
|
|
379
380
|
display: flex;
|
package/dist/ostack-ui-kform.js
CHANGED
|
@@ -784,7 +784,6 @@ const FormApp = forwardRef(function FormApp2({
|
|
|
784
784
|
issueMessages,
|
|
785
785
|
issuesDisplayMode = "inline",
|
|
786
786
|
displayIssueCodes = false,
|
|
787
|
-
// activePathSearchParam,
|
|
788
787
|
defaultActivePath,
|
|
789
788
|
activePath,
|
|
790
789
|
onActivePathChange,
|
|
@@ -6127,26 +6126,27 @@ const NumericControl = forwardRef(function NumericControl2({
|
|
|
6127
6126
|
inlineIssues
|
|
6128
6127
|
] });
|
|
6129
6128
|
});
|
|
6130
|
-
const
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
}
|
|
6129
|
+
const PathLink = forwardRef(
|
|
6130
|
+
function PathLink2({ as = "button", to, onClick, ...otherProps }, forwardedRef) {
|
|
6131
|
+
const focus = useFocus();
|
|
6132
|
+
const path = useResolvedPath(to);
|
|
6133
|
+
const handleClick = (evt) => {
|
|
6134
|
+
evt.preventDefault();
|
|
6135
|
+
focus(path);
|
|
6136
|
+
};
|
|
6137
|
+
return /* @__PURE__ */ jsx(
|
|
6138
|
+
Link,
|
|
6139
|
+
{
|
|
6140
|
+
as,
|
|
6141
|
+
...otherProps,
|
|
6142
|
+
onClick: combineEventHandlers(onClick, handleClick, {
|
|
6143
|
+
checkDefaultPrevented: true
|
|
6144
|
+
}),
|
|
6145
|
+
ref: forwardedRef
|
|
6146
|
+
}
|
|
6147
|
+
);
|
|
6148
|
+
}
|
|
6149
|
+
);
|
|
6150
6150
|
const DEFAULT_PRINT_KEYBINDS = "$mod+P";
|
|
6151
6151
|
function PrintAction({
|
|
6152
6152
|
label,
|