@s_mart/minha-conta 16.0.0 → 16.1.1

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.mjs CHANGED
@@ -10,7 +10,7 @@ import { createContext as me, memo as he, useCallback as P, useContext as ge, us
10
10
  import { jwtDecode as be } from "jwt-decode";
11
11
  import { create as xe, createStore as Se, useStore as Ce } from "zustand";
12
12
  import { colorPalette as L } from "@s_mart/tokens";
13
- import { CreatableV2 as we, DatePicker as Te, Form as Ee, SelectV2 as De, Switch as Oe, TextField as R } from "@s_mart/form";
13
+ import { Creatable as we, DatePicker as Te, Form as Ee, Select as De, Switch as Oe, TextField as R } from "@s_mart/form";
14
14
  import { lineCheckCircle as ke, lineChevronLeft as Ae, lineChevronRight as je, lineClock as Me, lineReceipt as Ne, lineTrashAlt as Pe, lineWhatsApp as Fe } from "@s_mart/regular-icons";
15
15
  import { FormProvider as Ie, useFieldArray as Le, useForm as Re, useFormContext as z, useWatch as ze } from "react-hook-form";
16
16
  import B from "dayjs";
@@ -401,11 +401,11 @@ function pt({ recurso: e }) {
401
401
  },
402
402
  children: [/* @__PURE__ */ D(g, {
403
403
  variant: "bodySM",
404
- color: L.neutral[100],
404
+ sx: { color: L.neutral[100] },
405
405
  children: e.nomeRecurso
406
406
  }), /* @__PURE__ */ D(g, {
407
407
  variant: "titleXS",
408
- color: L.neutral[100],
408
+ sx: { color: L.neutral[100] },
409
409
  children: C.format(e.valorRecurso ?? 0)
410
410
  })]
411
411
  }, e.codigoRecurso);
@@ -419,11 +419,11 @@ function mt({ meuPlano: e }) {
419
419
  },
420
420
  children: [/* @__PURE__ */ D(g, {
421
421
  variant: "bodySM",
422
- color: L.neutral[100],
422
+ sx: { color: L.neutral[100] },
423
423
  children: e?.nomePlano
424
424
  }), /* @__PURE__ */ D(g, {
425
425
  variant: "titleXS",
426
- color: L.neutral[100],
426
+ sx: { color: L.neutral[100] },
427
427
  children: C.format(e?.valor ?? 0)
428
428
  })]
429
429
  });
@@ -1062,12 +1062,12 @@ function Lt({ plano: e, id: t, reduceFont: n, onContratar: r, periodicidadePlano
1062
1062
  }),
1063
1063
  !!e.fraseDeEfeito && /* @__PURE__ */ D("div", { children: /* @__PURE__ */ D(g, {
1064
1064
  variant: "bodySM",
1065
- color: L.neutral[100],
1065
+ sx: { color: L.neutral[100] },
1066
1066
  children: e.fraseDeEfeito
1067
1067
  }) }),
1068
1068
  !o && /* @__PURE__ */ O(E, { children: [!!e.valorPeriodicoPromocional && /* @__PURE__ */ D("div", { children: /* @__PURE__ */ O(g, {
1069
1069
  variant: "bodySM",
1070
- color: L.red[300],
1070
+ sx: { color: L.red[300] },
1071
1071
  style: {
1072
1072
  textDecorationLine: "line-through",
1073
1073
  marginRight: "2rem"
@@ -2620,7 +2620,7 @@ function _n() {
2620
2620
  }
2621
2621
  }), /* @__PURE__ */ D(g, {
2622
2622
  variant: "bodySM",
2623
- color: a ? L.red[300] : void 0,
2623
+ sx: { color: a ? L.red[300] : void 0 },
2624
2624
  children: B(e.dataVencimento).format("DD/MM/YYYY")
2625
2625
  })]
2626
2626
  }),
@@ -2628,7 +2628,7 @@ function _n() {
2628
2628
  style: { margin: "0.75rem 0" },
2629
2629
  children: /* @__PURE__ */ D(g, {
2630
2630
  variant: "bodyXS",
2631
- color: a ? L.neutral[500] : L.neutral[100],
2631
+ sx: { color: a ? L.neutral[500] : L.neutral[100] },
2632
2632
  children: e.descricao
2633
2633
  })
2634
2634
  }),
@@ -2639,7 +2639,7 @@ function _n() {
2639
2639
  },
2640
2640
  children: [/* @__PURE__ */ D(g, {
2641
2641
  variant: "titleXS",
2642
- color: a ? L.red[300] : void 0,
2642
+ sx: { color: a ? L.red[300] : void 0 },
2643
2643
  children: C.format(e.valor)
2644
2644
  }), /* @__PURE__ */ D("div", {
2645
2645
  style: {
@@ -2649,13 +2649,15 @@ function _n() {
2649
2649
  },
2650
2650
  children: r.map((e) => e.variant === "text" ? /* @__PURE__ */ D(g, {
2651
2651
  variant: "bodySM",
2652
- color: a ? L.red[300] : void 0,
2653
2652
  style: {
2654
2653
  textDecorationLine: "underline",
2655
2654
  cursor: "pointer"
2656
2655
  },
2657
2656
  onClick: e.onClick,
2658
- sx: { fontWeight: a ? 700 : void 0 },
2657
+ sx: {
2658
+ color: a ? L.red[300] : void 0,
2659
+ fontWeight: a ? 700 : void 0
2660
+ },
2659
2661
  children: e.label
2660
2662
  }, e.label) : /* @__PURE__ */ D(i, {
2661
2663
  size: "small",
@@ -3302,7 +3304,7 @@ function An() {
3302
3304
  children: "Adicionar logo"
3303
3305
  }), /* @__PURE__ */ O(g, {
3304
3306
  variant: "bodyXXS",
3305
- color: L.neutral[100],
3307
+ sx: { color: L.neutral[100] },
3306
3308
  style: {
3307
3309
  display: "block",
3308
3310
  marginTop: "0.3rem"