@ostack.tech/ui-kform 0.12.2 → 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.
@@ -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;
@@ -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 DEFAULT_HREF_BUILDER = (path) => path.toString();
6131
- const PathLink = forwardRef(function PathLink2({ to, buildHref = DEFAULT_HREF_BUILDER, onClick, ...otherProps }, forwardedRef) {
6132
- const focus = useFocus();
6133
- const path = useResolvedPath(to);
6134
- const handleClick = (evt) => {
6135
- evt.preventDefault();
6136
- focus(path);
6137
- };
6138
- return /* @__PURE__ */ jsx(
6139
- Link,
6140
- {
6141
- href: buildHref(path),
6142
- ...otherProps,
6143
- onClick: combineEventHandlers(onClick, handleClick, {
6144
- checkDefaultPrevented: true
6145
- }),
6146
- ref: forwardedRef
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,