@nordmanai/nif 0.2.9 → 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 +12 -16
- 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-combobox/nm-combobox.tsx +0 -3
- 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/components/nm-select/nm-select.css +7 -3
- package/registry/ui/components/nm-select/nm-select.tsx +0 -3
- package/registry/ui/styles/tokens.css +4 -0
package/dist/index.js
CHANGED
|
@@ -25887,17 +25887,14 @@ function vM({ className: e, ...t }) {
|
|
|
25887
25887
|
});
|
|
25888
25888
|
}
|
|
25889
25889
|
function yM({ className: e, children: t, ...n }) {
|
|
25890
|
-
return /* @__PURE__ */
|
|
25890
|
+
return /* @__PURE__ */ b(Lc.Item, {
|
|
25891
25891
|
"data-slot": "combobox-item",
|
|
25892
25892
|
className: F("nm-menu__item nm-select__item", e),
|
|
25893
25893
|
...n,
|
|
25894
|
-
children:
|
|
25894
|
+
children: /* @__PURE__ */ b("span", {
|
|
25895
25895
|
className: "nm-select__text",
|
|
25896
25896
|
children: t
|
|
25897
|
-
})
|
|
25898
|
-
className: "nm-select__check",
|
|
25899
|
-
children: /* @__PURE__ */ b(G, { id: "check" })
|
|
25900
|
-
})]
|
|
25897
|
+
})
|
|
25901
25898
|
});
|
|
25902
25899
|
}
|
|
25903
25900
|
function bM({ className: e, ...t }) {
|
|
@@ -25970,17 +25967,14 @@ function DM({ className: e, children: t, anchor: n, ...r }) {
|
|
|
25970
25967
|
}) });
|
|
25971
25968
|
}
|
|
25972
25969
|
function OM({ className: e, children: t, ...n }) {
|
|
25973
|
-
return /* @__PURE__ */
|
|
25970
|
+
return /* @__PURE__ */ b(sp.Item, {
|
|
25974
25971
|
"data-slot": "select-item",
|
|
25975
25972
|
className: F("nm-menu__item nm-select__item", e),
|
|
25976
25973
|
...n,
|
|
25977
|
-
children:
|
|
25974
|
+
children: /* @__PURE__ */ b(sp.ItemText, {
|
|
25978
25975
|
className: "nm-select__text",
|
|
25979
25976
|
children: t
|
|
25980
|
-
})
|
|
25981
|
-
className: "nm-select__check",
|
|
25982
|
-
children: /* @__PURE__ */ b(G, { id: "check" })
|
|
25983
|
-
})]
|
|
25977
|
+
})
|
|
25984
25978
|
});
|
|
25985
25979
|
}
|
|
25986
25980
|
function kM(e) {
|
|
@@ -30709,22 +30703,24 @@ function jB({ className: e, variant: t = "legend", ...n }) {
|
|
|
30709
30703
|
...n
|
|
30710
30704
|
});
|
|
30711
30705
|
}
|
|
30712
|
-
function MB({ className: e,
|
|
30706
|
+
function MB({ className: e, columns: t = 1, ...n }) {
|
|
30713
30707
|
return /* @__PURE__ */ b("div", {
|
|
30714
30708
|
"data-slot": "field-group",
|
|
30709
|
+
"data-columns": t > 1 ? t : void 0,
|
|
30715
30710
|
className: F("nm-field-group", e),
|
|
30716
|
-
...
|
|
30711
|
+
...n
|
|
30717
30712
|
});
|
|
30718
30713
|
}
|
|
30719
|
-
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 }) {
|
|
30720
30715
|
return /* @__PURE__ */ b("div", {
|
|
30721
30716
|
"data-slot": "field",
|
|
30722
30717
|
role: "group",
|
|
30723
30718
|
"data-orientation": t,
|
|
30719
|
+
"data-span": i,
|
|
30724
30720
|
"data-invalid": n ? "" : void 0,
|
|
30725
30721
|
"data-disabled": r ? "" : void 0,
|
|
30726
30722
|
className: F("nm-form-field", e),
|
|
30727
|
-
...
|
|
30723
|
+
...a
|
|
30728
30724
|
});
|
|
30729
30725
|
}
|
|
30730
30726
|
function PB({ className: e, ...t }) {
|