@nordmanai/nif 0.2.10 → 0.2.11
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.js +6 -4
- package/dist/styles.css +1 -1
- package/dist/ui/components/nm-form-field/nm-form-field.d.ts +12 -2
- package/package.json +1 -1
- package/registry/index.json +1 -1
- package/registry/ui/components/nm-form-field/nm-form-field.css +22 -0
- package/registry/ui/components/nm-form-field/nm-form-field.tsx +28 -3
- package/registry/ui/styles/tokens.css +4 -0
package/dist/index.js
CHANGED
|
@@ -30703,22 +30703,24 @@ function jB({ className: e, variant: t = "legend", ...n }) {
|
|
|
30703
30703
|
...n
|
|
30704
30704
|
});
|
|
30705
30705
|
}
|
|
30706
|
-
function MB({ className: e,
|
|
30706
|
+
function MB({ className: e, columns: t = 1, ...n }) {
|
|
30707
30707
|
return /* @__PURE__ */ b("div", {
|
|
30708
30708
|
"data-slot": "field-group",
|
|
30709
|
+
"data-columns": t > 1 ? t : void 0,
|
|
30709
30710
|
className: F("nm-field-group", e),
|
|
30710
|
-
...
|
|
30711
|
+
...n
|
|
30711
30712
|
});
|
|
30712
30713
|
}
|
|
30713
|
-
function NB({ className: e, orientation: t = "vertical", invalid: n, disabled: r,
|
|
30714
|
+
function NB({ className: e, orientation: t = "vertical", invalid: n, disabled: r, span: i, ...a }) {
|
|
30714
30715
|
return /* @__PURE__ */ b("div", {
|
|
30715
30716
|
"data-slot": "field",
|
|
30716
30717
|
role: "group",
|
|
30717
30718
|
"data-orientation": t,
|
|
30719
|
+
"data-span": i,
|
|
30718
30720
|
"data-invalid": n ? "" : void 0,
|
|
30719
30721
|
"data-disabled": r ? "" : void 0,
|
|
30720
30722
|
className: F("nm-form-field", e),
|
|
30721
|
-
...
|
|
30723
|
+
...a
|
|
30722
30724
|
});
|
|
30723
30725
|
}
|
|
30724
30726
|
function PB({ className: e, ...t }) {
|