@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.cjs CHANGED
@@ -4874,7 +4874,16 @@ function RegistrationForm({
4874
4874
  /* @__PURE__ */ jsxRuntime.jsx("dd", { className: "text-foreground font-medium text-right min-w-0 break-words", children: traveller.fullName })
4875
4875
  ] })
4876
4876
  ] }) }),
4877
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(readOnly && "cursor-not-allowed"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(readOnly && "pointer-events-none opacity-50 select-none"), children: [
4877
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(
4878
+ readOnly && [
4879
+ "opacity-50 select-none",
4880
+ "[&_input]:cursor-not-allowed",
4881
+ "[&_select]:cursor-not-allowed",
4882
+ "[&_textarea]:cursor-not-allowed",
4883
+ "[&_button]:cursor-not-allowed",
4884
+ "[&_label]:cursor-not-allowed"
4885
+ ].join(" ")
4886
+ ), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(readOnly && "pointer-events-none"), children: [
4878
4887
  /* @__PURE__ */ jsxRuntime.jsx(FormSection2, { title: L.detailsSectionTitle, children: sortedFields.map((field) => {
4879
4888
  var _a2;
4880
4889
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { id: `rf-${field.id}`, className: "flex flex-col gap-1.5", children: [