@planetaexo/design-system 0.5.1 → 0.5.2

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 CHANGED
@@ -4853,7 +4853,16 @@ function RegistrationForm({
4853
4853
  /* @__PURE__ */ jsx("dd", { className: "text-foreground font-medium text-right min-w-0 break-words", children: traveller.fullName })
4854
4854
  ] })
4855
4855
  ] }) }),
4856
- /* @__PURE__ */ jsx("div", { className: cn(readOnly && "cursor-not-allowed"), children: /* @__PURE__ */ jsxs("div", { className: cn(readOnly && "pointer-events-none opacity-50 select-none"), children: [
4856
+ /* @__PURE__ */ jsx("div", { className: cn(
4857
+ readOnly && [
4858
+ "opacity-50 select-none",
4859
+ "[&_input]:cursor-not-allowed",
4860
+ "[&_select]:cursor-not-allowed",
4861
+ "[&_textarea]:cursor-not-allowed",
4862
+ "[&_button]:cursor-not-allowed",
4863
+ "[&_label]:cursor-not-allowed"
4864
+ ].join(" ")
4865
+ ), children: /* @__PURE__ */ jsxs("div", { className: cn(readOnly && "pointer-events-none"), children: [
4857
4866
  /* @__PURE__ */ jsx(FormSection2, { title: L.detailsSectionTitle, children: sortedFields.map((field) => {
4858
4867
  var _a2;
4859
4868
  return /* @__PURE__ */ jsxs("div", { id: `rf-${field.id}`, className: "flex flex-col gap-1.5", children: [