@grupo-elo-editorial/shared-ui-react 1.3.11 → 1.3.12

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
@@ -11,11 +11,11 @@ import * as R from "@radix-ui/react-radio-group";
11
11
  import * as q from "@radix-ui/react-switch";
12
12
  import { Slot as Ce } from "@radix-ui/react-slot";
13
13
  import * as A from "@radix-ui/react-accordion";
14
- import * as j from "@radix-ui/react-tooltip";
14
+ import * as D from "@radix-ui/react-tooltip";
15
15
  import { toast as na } from "sonner";
16
16
  import { Progress as la } from "@radix-ui/react-progress";
17
17
  import * as y from "@radix-ui/react-dialog";
18
- import * as D from "@radix-ui/react-navigation-menu";
18
+ import * as j from "@radix-ui/react-navigation-menu";
19
19
  function i(...a) {
20
20
  return J(Z(a));
21
21
  }
@@ -76,7 +76,7 @@ const Se = P(
76
76
  )
77
77
  );
78
78
  C.displayName = "Button";
79
- const De = w(
79
+ const je = w(
80
80
  ({ className: a, error: t, helperText: r, ...n }, l) => /* @__PURE__ */ o("div", { className: "w-full", children: [
81
81
  /* @__PURE__ */ e(
82
82
  "textarea",
@@ -106,8 +106,8 @@ const De = w(
106
106
  )
107
107
  ] })
108
108
  );
109
- De.displayName = "Textarea";
110
- const je = P(
109
+ je.displayName = "Textarea";
110
+ const De = P(
111
111
  "inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
112
112
  {
113
113
  variants: {
@@ -136,7 +136,7 @@ const je = P(
136
136
  "div",
137
137
  {
138
138
  ref: m,
139
- className: i(je({ variant: t, size: r }), a),
139
+ className: i(De({ variant: t, size: r }), a),
140
140
  ...d,
141
141
  children: [
142
142
  n && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: n }),
@@ -374,7 +374,7 @@ function St({
374
374
  }) {
375
375
  return /* @__PURE__ */ e(z.Value, { "data-slot": "select-value", ...a });
376
376
  }
377
- function Dt({
377
+ function jt({
378
378
  className: a,
379
379
  size: t = "default",
380
380
  children: r,
@@ -397,7 +397,7 @@ function Dt({
397
397
  }
398
398
  );
399
399
  }
400
- function jt({
400
+ function Dt({
401
401
  className: a,
402
402
  children: t,
403
403
  position: r = "popper",
@@ -1158,7 +1158,7 @@ function Ve({
1158
1158
  ...t
1159
1159
  }) {
1160
1160
  return /* @__PURE__ */ e(
1161
- j.Provider,
1161
+ D.Provider,
1162
1162
  {
1163
1163
  "data-slot": "tooltip-provider",
1164
1164
  delayDuration: a,
@@ -1169,12 +1169,12 @@ function Ve({
1169
1169
  function Ut({
1170
1170
  ...a
1171
1171
  }) {
1172
- return /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(j.Root, { "data-slot": "tooltip", ...a }) });
1172
+ return /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(D.Root, { "data-slot": "tooltip", ...a }) });
1173
1173
  }
1174
1174
  function Ht({
1175
1175
  ...a
1176
1176
  }) {
1177
- return /* @__PURE__ */ e(j.Trigger, { "data-slot": "tooltip-trigger", ...a });
1177
+ return /* @__PURE__ */ e(D.Trigger, { "data-slot": "tooltip-trigger", ...a });
1178
1178
  }
1179
1179
  function Qt({
1180
1180
  className: a,
@@ -1182,8 +1182,8 @@ function Qt({
1182
1182
  children: r,
1183
1183
  ...n
1184
1184
  }) {
1185
- return /* @__PURE__ */ e(j.Portal, { children: /* @__PURE__ */ o(
1186
- j.Content,
1185
+ return /* @__PURE__ */ e(D.Portal, { children: /* @__PURE__ */ o(
1186
+ D.Content,
1187
1187
  {
1188
1188
  "data-slot": "tooltip-content",
1189
1189
  sideOffset: t,
@@ -1194,7 +1194,7 @@ function Qt({
1194
1194
  ...n,
1195
1195
  children: [
1196
1196
  r,
1197
- /* @__PURE__ */ e(j.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
1197
+ /* @__PURE__ */ e(D.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
1198
1198
  ]
1199
1199
  }
1200
1200
  ) });
@@ -1992,7 +1992,7 @@ function rt({
1992
1992
  ...n
1993
1993
  }) {
1994
1994
  return /* @__PURE__ */ o(
1995
- D.Root,
1995
+ j.Root,
1996
1996
  {
1997
1997
  "data-slot": "navigation-menu",
1998
1998
  "data-viewport": r,
@@ -2013,7 +2013,7 @@ function it({
2013
2013
  ...t
2014
2014
  }) {
2015
2015
  return /* @__PURE__ */ e(
2016
- D.List,
2016
+ j.List,
2017
2017
  {
2018
2018
  "data-slot": "navigation-menu-list",
2019
2019
  className: i(
@@ -2029,7 +2029,7 @@ function U({
2029
2029
  ...t
2030
2030
  }) {
2031
2031
  return /* @__PURE__ */ e(
2032
- D.Item,
2032
+ j.Item,
2033
2033
  {
2034
2034
  "data-slot": "navigation-menu-item",
2035
2035
  className: i("relative", a),
@@ -2046,7 +2046,7 @@ function nt({
2046
2046
  ...r
2047
2047
  }) {
2048
2048
  return /* @__PURE__ */ o(
2049
- D.Trigger,
2049
+ j.Trigger,
2050
2050
  {
2051
2051
  "data-slot": "navigation-menu-trigger",
2052
2052
  className: i(ot(), "group", a),
@@ -2070,7 +2070,7 @@ function st({
2070
2070
  ...t
2071
2071
  }) {
2072
2072
  return /* @__PURE__ */ e(
2073
- D.Content,
2073
+ j.Content,
2074
2074
  {
2075
2075
  "data-slot": "navigation-menu-content",
2076
2076
  className: i(
@@ -2093,7 +2093,7 @@ function lt({
2093
2093
  "absolute top-full left-0 isolate z-50 flex justify-center"
2094
2094
  ),
2095
2095
  children: /* @__PURE__ */ e(
2096
- D.Viewport,
2096
+ j.Viewport,
2097
2097
  {
2098
2098
  "data-slot": "navigation-menu-viewport",
2099
2099
  className: i(
@@ -2111,7 +2111,7 @@ function I({
2111
2111
  ...t
2112
2112
  }) {
2113
2113
  return /* @__PURE__ */ e(
2114
- D.Link,
2114
+ j.Link,
2115
2115
  {
2116
2116
  "data-slot": "navigation-menu-link",
2117
2117
  className: i(
@@ -2453,7 +2453,7 @@ const pt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2453
2453
  alt: "Disponível no Google Play",
2454
2454
  width: 135,
2455
2455
  height: 40,
2456
- className: "h-10 w-auto"
2456
+ className: "h-10 w-[135px] object-contain"
2457
2457
  }
2458
2458
  )
2459
2459
  }
@@ -2473,7 +2473,7 @@ const pt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2473
2473
  alt: "Disponível na App Store",
2474
2474
  width: 135,
2475
2475
  height: 40,
2476
- className: "h-10 w-auto"
2476
+ className: "h-10 w-[135px] object-contain"
2477
2477
  }
2478
2478
  )
2479
2479
  }
@@ -2581,9 +2581,9 @@ export {
2581
2581
  T as Rating,
2582
2582
  Re as SearchBar,
2583
2583
  Ct as Select,
2584
- jt as SelectContent,
2584
+ Dt as SelectContent,
2585
2585
  Mt as SelectItem,
2586
- Dt as SelectTrigger,
2586
+ jt as SelectTrigger,
2587
2587
  St as SelectValue,
2588
2588
  Ye as SheetContent,
2589
2589
  ta as SheetDescription,
@@ -2592,7 +2592,7 @@ export {
2592
2592
  Je as SheetTitle,
2593
2593
  We as SheetTrigger,
2594
2594
  Le as Spinner,
2595
- De as Textarea,
2595
+ je as Textarea,
2596
2596
  _t as Toggle,
2597
2597
  Ut as Tooltip,
2598
2598
  Qt as TooltipContent,
@@ -2600,7 +2600,7 @@ export {
2600
2600
  Ht as TooltipTrigger,
2601
2601
  tt as TopAccessibilityBar,
2602
2602
  Me as avatarVariants,
2603
- je as badgeVariants,
2603
+ De as badgeVariants,
2604
2604
  Se as buttonVariants,
2605
2605
  i as cn,
2606
2606
  Pe as spinnerVariants,