globalfy-design-system 0.110.0 → 0.111.0

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.
@@ -22079,7 +22079,7 @@ const PC = /* @__PURE__ */ Fb(SC), MD = Ie(
22079
22079
  }
22080
22080
  }
22081
22081
  }), v = be({
22082
- base: "absolute -bottom-6 left-4 font-inter text-xs font-normal leading-normal text-primary-grey-800",
22082
+ base: "mt-[5px] pl-3 font-inter text-xs font-normal leading-normal text-primary-grey-800",
22083
22083
  variants: {
22084
22084
  isInvalid: {
22085
22085
  true: "text-complementary-red-500"
@@ -22089,57 +22089,59 @@ const PC = /* @__PURE__ */ Fb(SC), MD = Ie(
22089
22089
  }
22090
22090
  }
22091
22091
  });
22092
- return /* @__PURE__ */ S.jsxs("div", { className: "relative mt-6 w-full", children: [
22093
- /* @__PURE__ */ S.jsx(
22094
- PC,
22095
- {
22096
- id: "inputMask",
22097
- ...f,
22098
- inputRef: p,
22099
- disabled: e,
22100
- value: d,
22101
- onChange: o,
22102
- mask: u,
22103
- maskChar: "",
22104
- className: Gt(
22105
- "peer focus:placeholder:text-primary-grey-800",
22106
- h({
22107
- className: r,
22108
- isInvalid: t,
22109
- isCompleted: n,
22110
- disabled: e
22111
- })
22112
- ),
22113
- placeholder: a
22114
- }
22115
- ),
22116
- s && /* @__PURE__ */ S.jsx("div", { className: "absolute right-4 top-3", children: typeof s == "string" ? /* @__PURE__ */ S.jsx(
22117
- lt,
22118
- {
22119
- onClick: c,
22120
- name: s,
22121
- className: m({
22122
- iconAction: !!c,
22092
+ return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
22093
+ /* @__PURE__ */ S.jsxs("div", { className: "relative mt-6 w-full", children: [
22094
+ /* @__PURE__ */ S.jsx(
22095
+ PC,
22096
+ {
22097
+ id: "inputMask",
22098
+ ...f,
22099
+ inputRef: p,
22123
22100
  disabled: e,
22124
- isCompleted: n
22125
- })
22126
- }
22127
- ) : s }),
22128
- /* @__PURE__ */ S.jsx(
22129
- "label",
22130
- {
22131
- className: Gt(
22132
- "peer-focus:-top-6 peer-focus:text-xs peer-focus:transition-all peer-focus:duration-200",
22133
- g({
22134
- hasValue: !!d,
22135
- isInvalid: t,
22101
+ value: d,
22102
+ onChange: o,
22103
+ mask: u,
22104
+ maskChar: "",
22105
+ className: Gt(
22106
+ "peer focus:placeholder:text-primary-grey-800",
22107
+ h({
22108
+ className: r,
22109
+ isInvalid: t,
22110
+ isCompleted: n,
22111
+ disabled: e
22112
+ })
22113
+ ),
22114
+ placeholder: a
22115
+ }
22116
+ ),
22117
+ s && /* @__PURE__ */ S.jsx("div", { className: "absolute right-4 top-3", children: typeof s == "string" ? /* @__PURE__ */ S.jsx(
22118
+ lt,
22119
+ {
22120
+ onClick: c,
22121
+ name: s,
22122
+ className: m({
22123
+ iconAction: !!c,
22124
+ disabled: e,
22136
22125
  isCompleted: n
22137
22126
  })
22138
- ),
22139
- children: i
22140
- }
22141
- ),
22142
- l && /* @__PURE__ */ S.jsx("span", { className: v({ isInvalid: t, isValid: n }), children: l })
22127
+ }
22128
+ ) : s }),
22129
+ /* @__PURE__ */ S.jsx(
22130
+ "label",
22131
+ {
22132
+ className: Gt(
22133
+ "peer-focus:-top-6 peer-focus:text-xs peer-focus:transition-all peer-focus:duration-200",
22134
+ g({
22135
+ hasValue: !!d,
22136
+ isInvalid: t,
22137
+ isCompleted: n
22138
+ })
22139
+ ),
22140
+ children: i
22141
+ }
22142
+ )
22143
+ ] }),
22144
+ t && l && /* @__PURE__ */ S.jsx("span", { className: v({ isInvalid: t, isValid: n }), children: l })
22143
22145
  ] });
22144
22146
  }
22145
22147
  ), SD = {
@@ -26284,7 +26286,7 @@ const TD = ({
26284
26286
  ]
26285
26287
  }
26286
26288
  ),
26287
- o && a && /* @__PURE__ */ S.jsx("span", { className: "mt-2 pl-6 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", children: a })
26289
+ o && a && /* @__PURE__ */ S.jsx("span", { className: "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", children: a })
26288
26290
  ] });
26289
26291
  };
26290
26292
  function ur(e) {
@@ -30675,8 +30677,8 @@ const DD = (e) => {
30675
30677
  return y && (N = {
30676
30678
  ...N,
30677
30679
  ValueContainer: y
30678
- }), /* @__PURE__ */ S.jsxs("div", { className: "h-[74px] w-full pt-[26px]", children: [
30679
- /* @__PURE__ */ S.jsx(
30680
+ }), /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
30681
+ /* @__PURE__ */ S.jsx("div", { className: "h-[74px] w-full pt-[26px]", children: /* @__PURE__ */ S.jsx(
30680
30682
  tD,
30681
30683
  {
30682
30684
  ...x,
@@ -30705,8 +30707,8 @@ const DD = (e) => {
30705
30707
  components: N,
30706
30708
  noOptionsMessage: () => c
30707
30709
  }
30708
- ),
30709
- o && u && /* @__PURE__ */ S.jsx("span", { className: "mt-2 pl-4 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", children: u })
30710
+ ) }),
30711
+ o && u && /* @__PURE__ */ S.jsx("span", { className: "mt-[5px] pl-3 font-satoshi text-xs font-normal leading-normal text-complementary-red-500", children: u })
30710
30712
  ] });
30711
30713
  };
30712
30714
  var qa = /* @__PURE__ */ ((e) => (e.Button = "button", e.Link = "link", e))(qa || {}), vc = /* @__PURE__ */ ((e) => (e.Alert = "alert", e.Banner = "banner", e))(vc || {});
@@ -30845,7 +30847,7 @@ const rD = ({
30845
30847
  }
30846
30848
  }
30847
30849
  }), g = be({
30848
- base: "absolute -bottom-5 left-4 font-inter text-xs font-normal leading-normal text-primary-grey-800",
30850
+ base: "mt-[5px] pl-3 font-inter text-xs font-normal leading-normal text-primary-grey-800",
30849
30851
  variants: {
30850
30852
  isInvalid: {
30851
30853
  true: "text-complementary-red-500"
@@ -30855,47 +30857,49 @@ const rD = ({
30855
30857
  }
30856
30858
  }
30857
30859
  });
30858
- return /* @__PURE__ */ S.jsxs("div", { className: f(), children: [
30859
- /* @__PURE__ */ S.jsx(
30860
- "textarea",
30861
- {
30862
- ...u,
30863
- placeholder: n,
30864
- rows: 4,
30865
- value: r,
30866
- onChange: o,
30867
- className: Gt(
30868
- "peer focus:placeholder:text-primary-grey-800",
30869
- m({
30870
- isInvalid: s,
30871
- isValid: l,
30872
- allowResize: c,
30873
- disabled: t
30874
- })
30875
- ),
30876
- id: u.id,
30877
- disabled: t,
30878
- ref: d,
30879
- maxLength: a
30880
- }
30881
- ),
30882
- /* @__PURE__ */ S.jsx(
30883
- "label",
30884
- {
30885
- htmlFor: u.id,
30886
- className: Gt(
30887
- "peer-focus:-top-6 peer-focus:text-xs peer-focus:transition-all peer-focus:duration-200",
30888
- p({
30889
- activeFloatLabel: !!n || !!r,
30890
- isInvalid: s,
30891
- isValid: l
30892
- })
30893
- ),
30894
- children: e
30895
- }
30896
- ),
30897
- a && /* @__PURE__ */ S.jsx("span", { className: h({ isInvalid: s, isValid: l }), children: `${(r == null ? void 0 : r.toString().length) ?? 0}/${a}` }),
30898
- i && /* @__PURE__ */ S.jsx("span", { className: g({ isInvalid: s, isValid: l }), children: i })
30860
+ return /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
30861
+ /* @__PURE__ */ S.jsxs("div", { className: f(), children: [
30862
+ /* @__PURE__ */ S.jsx(
30863
+ "textarea",
30864
+ {
30865
+ ...u,
30866
+ placeholder: n,
30867
+ rows: 4,
30868
+ value: r,
30869
+ onChange: o,
30870
+ className: Gt(
30871
+ "peer focus:placeholder:text-primary-grey-800",
30872
+ m({
30873
+ isInvalid: s,
30874
+ isValid: l,
30875
+ allowResize: c,
30876
+ disabled: t
30877
+ })
30878
+ ),
30879
+ id: u.id,
30880
+ disabled: t,
30881
+ ref: d,
30882
+ maxLength: a
30883
+ }
30884
+ ),
30885
+ /* @__PURE__ */ S.jsx(
30886
+ "label",
30887
+ {
30888
+ htmlFor: u.id,
30889
+ className: Gt(
30890
+ "peer-focus:-top-6 peer-focus:text-xs peer-focus:transition-all peer-focus:duration-200",
30891
+ p({
30892
+ activeFloatLabel: !!n || !!r,
30893
+ isInvalid: s,
30894
+ isValid: l
30895
+ })
30896
+ ),
30897
+ children: e
30898
+ }
30899
+ ),
30900
+ a && /* @__PURE__ */ S.jsx("span", { className: h({ isInvalid: s, isValid: l }), children: `${(r == null ? void 0 : r.toString().length) ?? 0}/${a}` })
30901
+ ] }),
30902
+ s && i && /* @__PURE__ */ S.jsx("span", { className: g({ isInvalid: s, isValid: l }), children: i })
30899
30903
  ] });
30900
30904
  }
30901
30905
  );