@maia-insurance/ui 1.0.2-c.69-canary.7 → 1.0.2-c.69-canary.8

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
@@ -18853,7 +18853,8 @@ function qP(e) {
18853
18853
  }
18854
18854
  var yc = "puhu920", fi = pt({ defaultClassName: "puhu921", variantClassNames: { intent: { selected: "puhu922", notSelected: "puhu923" } }, defaultVariants: { intent: "notSelected" }, compoundVariants: [] }), hi = "puhu924";
18855
18855
  function GP(e) {
18856
- const { submitOnChange: t, isDisabled: n, isLoading: r = !1, ...i } = e;
18856
+ var s, l;
18857
+ const { submitOnChange: t, isDisabled: n, isLoading: r = !1, ...i } = e, a = (s = i.options) == null ? void 0 : s.find((u) => u.value === "J"), o = (l = i.options) == null ? void 0 : l.find((u) => u.value === "N");
18857
18858
  return t ? /* @__PURE__ */ G(
18858
18859
  "ul",
18859
18860
  {
@@ -18870,7 +18871,7 @@ function GP(e) {
18870
18871
  onPress: () => t("J"),
18871
18872
  isDisabled: n || r,
18872
18873
  children: /* @__PURE__ */ G("span", { className: hi, children: [
18873
- /* @__PURE__ */ x("span", { children: "Ja" }),
18874
+ /* @__PURE__ */ x("span", { children: (a == null ? void 0 : a.label) ?? "Ja" }),
18874
18875
  /* @__PURE__ */ x(
18875
18876
  yr,
18876
18877
  {
@@ -18891,7 +18892,7 @@ function GP(e) {
18891
18892
  onPress: () => t("N"),
18892
18893
  isDisabled: n || r,
18893
18894
  children: /* @__PURE__ */ G("span", { className: hi, children: [
18894
- /* @__PURE__ */ x("span", { children: "Nee" }),
18895
+ /* @__PURE__ */ x("span", { children: (o == null ? void 0 : o.label) ?? "Nee" }),
18895
18896
  /* @__PURE__ */ x(
18896
18897
  yr,
18897
18898
  {
@@ -18914,7 +18915,7 @@ function GP(e) {
18914
18915
  value: "J",
18915
18916
  isDisabled: n || r,
18916
18917
  children: /* @__PURE__ */ G("span", { className: hi, children: [
18917
- /* @__PURE__ */ x("span", { children: "Ja" }),
18918
+ /* @__PURE__ */ x("span", { children: (a == null ? void 0 : a.label) ?? "Ja" }),
18918
18919
  /* @__PURE__ */ x(
18919
18920
  yr,
18920
18921
  {
@@ -18934,7 +18935,7 @@ function GP(e) {
18934
18935
  value: "N",
18935
18936
  isDisabled: n || r,
18936
18937
  children: /* @__PURE__ */ G("span", { className: hi, children: [
18937
- /* @__PURE__ */ x("span", { children: "Nee" }),
18938
+ /* @__PURE__ */ x("span", { children: (o == null ? void 0 : o.label) ?? "Nee" }),
18938
18939
  /* @__PURE__ */ x(
18939
18940
  yr,
18940
18941
  {
@@ -1 +1 @@
1
- {"version":3,"file":"yes-no.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/yes-no/yes-no.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,oBAAoB,GAAG,cAAc,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/E,wBAAgB,UAAU,CAAC,KAAK,EAAE,oBAAoB,2CA2FrD"}
1
+ {"version":3,"file":"yes-no.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/yes-no/yes-no.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,oBAAoB,GAAG,cAAc,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/E,wBAAgB,UAAU,CAAC,KAAK,EAAE,oBAAoB,2CA8FrD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maia-insurance/ui",
3
- "version": "1.0.2-c.69-canary.7",
3
+ "version": "1.0.2-c.69-canary.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",