@tesouro/embedded-components-react 0.5.285 → 0.5.286

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.css CHANGED
@@ -3793,6 +3793,9 @@
3793
3793
  .ttw\:text-destructive {
3794
3794
  color: var(--ttw-destructive);
3795
3795
  }
3796
+ .ttw\:text-destructive-foreground {
3797
+ color: var(--ttw-destructive-foreground);
3798
+ }
3796
3799
  .ttw\:text-emerald-600 {
3797
3800
  color: var(--ttw-color-emerald-600);
3798
3801
  }
@@ -6929,6 +6932,7 @@
6929
6932
  --ttw-accent: oklch(0.97 0 0);
6930
6933
  --ttw-accent-foreground: oklch(0.205 0 0);
6931
6934
  --ttw-destructive: #dc2626;
6935
+ --ttw-destructive-foreground: #fff;
6932
6936
  --ttw-border: oklch(0.922 0 0);
6933
6937
  --ttw-input: oklch(0.922 0 0);
6934
6938
  --ttw-ring: oklch(0.708 0 0);
@@ -6963,6 +6967,7 @@
6963
6967
  --ttw-accent: oklch(0.269 0 0);
6964
6968
  --ttw-accent-foreground: oklch(0.985 0 0);
6965
6969
  --ttw-destructive: #dc2626;
6970
+ --ttw-destructive-foreground: #fff;
6966
6971
  --ttw-border: oklch(1 0 0 / 10%);
6967
6972
  --ttw-input: oklch(1 0 0 / 15%);
6968
6973
  --ttw-ring: oklch(0.556 0 0);
@@ -47,7 +47,8 @@ function m({ open: m, labels: h, accountNumber: g, isSubmitting: _, isActionDisa
47
47
  className: "ttw:flex-1",
48
48
  children: h.cancelButton
49
49
  }), /* @__PURE__ */ u(t, {
50
- className: "ttw:flex-1 ttw:bg-destructive ttw:text-destructive-foreground ttw:hover:bg-destructive/90",
50
+ variant: "destructive",
51
+ className: "ttw:flex-1",
51
52
  disabled: v || _,
52
53
  onClick: (e) => {
53
54
  e.preventDefault(), x();
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.285", n = "6c57ba7c49f7b2708027f35c7b9568b9c81a80b7", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.286", n = "ff9e36b19a83b6e257eee8d7f5f9a046f204c441", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -8434,7 +8434,7 @@ var wv = _v("ttw:inline-flex ttw:cursor-pointer ttw:items-center ttw:justify-cen
8434
8434
  variants: {
8435
8435
  variant: {
8436
8436
  default: "ttw:bg-primary ttw:text-primary-foreground ttw:hover:bg-primary/90",
8437
- destructive: "ttw:bg-destructive ttw:text-white ttw:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
8437
+ destructive: "ttw:bg-destructive ttw:text-destructive-foreground ttw:hover:bg-destructive/90 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
8438
8438
  outline: "ttw:border ttw:border-border ttw:bg-background ttw:shadow-xs ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:dark:bg-input/30 ttw:dark:border-input ttw:dark:hover:bg-input/50",
8439
8439
  secondary: "ttw:bg-secondary ttw:text-secondary-foreground ttw:hover:bg-secondary/80",
8440
8440
  ghost: "ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:dark:hover:bg-accent/50",
@@ -8546,10 +8546,10 @@ function Iv({ className: e, ...t }) {
8546
8546
  ...t
8547
8547
  });
8548
8548
  }
8549
- function Lv({ className: e, ...t }) {
8549
+ function Lv({ variant: e, className: t, ...n }) {
8550
8550
  return /* @__PURE__ */ _(Ka, {
8551
- className: J(wv(), e),
8552
- ...t
8551
+ className: J(wv({ variant: e }), t),
8552
+ ...n
8553
8553
  });
8554
8554
  }
8555
8555
  function Rv({ className: e, ...t }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.285",
3
+ "version": "0.5.286",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {