@tesouro/embedded-components-react 0.5.11 → 0.5.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.
@@ -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.11", n = "378f94b86ee3573ee3d141fd9fe1c7cc7c3420b0", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.12", n = "9a6783fbd5a0eec701938c3d253c5f3aacdec8d6", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -16379,10 +16379,18 @@ function VA({ className: e, ...t }) {
16379
16379
  })]
16380
16380
  });
16381
16381
  }
16382
- function HA({ ...e }) {
16382
+ var HA = { closeToast: "Close notification" }, UA = {
16383
+ toast: "ttw:font-sans ttw:text-sm ttw:shadow-md",
16384
+ description: "ttw:text-sm",
16385
+ actionButton: "ttw:bg-primary ttw:text-primary-foreground ttw:rounded-md ttw:font-medium ttw:text-xs ttw:px-2.5 ttw:py-1",
16386
+ cancelButton: "ttw:bg-muted ttw:text-muted-foreground ttw:rounded-md ttw:text-xs ttw:px-2.5 ttw:py-1"
16387
+ };
16388
+ function WA({ toastOptions: e, ...t }) {
16383
16389
  return /* @__PURE__ */ g(S, {
16384
16390
  className: "toaster group",
16385
16391
  position: "bottom-right",
16392
+ duration: 5e3,
16393
+ closeButton: !0,
16386
16394
  style: {
16387
16395
  "--normal-bg": "var(--ttw-card)",
16388
16396
  "--normal-text": "var(--ttw-card-foreground)",
@@ -16411,16 +16419,18 @@ function HA({ ...e }) {
16411
16419
  className: "ttw:animate-spin ttw:text-muted-foreground"
16412
16420
  })
16413
16421
  },
16414
- toastOptions: { classNames: {
16415
- toast: "ttw:font-sans ttw:text-sm ttw:shadow-md",
16416
- description: "ttw:text-sm",
16417
- actionButton: "ttw:bg-primary ttw:text-primary-foreground ttw:rounded-md ttw:font-medium ttw:text-xs ttw:px-2.5 ttw:py-1",
16418
- cancelButton: "ttw:bg-muted ttw:text-muted-foreground ttw:rounded-md ttw:text-xs ttw:px-2.5 ttw:py-1"
16419
- } },
16420
- ...e
16422
+ ...t,
16423
+ toastOptions: {
16424
+ closeButtonAriaLabel: HA.closeToast,
16425
+ ...e,
16426
+ classNames: {
16427
+ ...UA,
16428
+ ...e?.classNames
16429
+ }
16430
+ }
16421
16431
  });
16422
16432
  }
16423
- function UA() {
16433
+ function GA() {
16424
16434
  let [e, t] = d(!1), [n, r] = d(null);
16425
16435
  return {
16426
16436
  isMenuOpen: e,
@@ -16439,4 +16449,4 @@ function UA() {
16439
16449
  };
16440
16450
  }
16441
16451
  //#endregion
16442
- export { RA as AMOUNT_FILTER_LABELS_EN, U_ as Accordion, K_ as AccordionContent, W_ as AccordionItem, G_ as AccordionTrigger, Z_ as Alert, $_ as AlertDescription, sv as AlertDialog, hv as AlertDialogAction, gv as AlertDialogCancel, uv as AlertDialogContent, mv as AlertDialogDescription, fv as AlertDialogFooter, dv as AlertDialogHeader, lv as AlertDialogOverlay, cv as AlertDialogPortal, pv as AlertDialogTitle, Q_ as AlertTitle, BA as AmountFilter, Cv as Avatar, wv as AvatarFallback, Ev as Badge, rv as Button, Dv as COMBOBOX_LABELS_EN, mD as Calendar, hD as CalendarDayButton, tC as Checkbox, _v as Collapsible, yv as CollapsibleContent, vv as CollapsibleTrigger, jv as Combobox, bA as Command, CA as CommandEmpty, wA as CommandGroup, xA as CommandInput, EA as CommandItem, SA as CommandList, TA as CommandSeparator, Nv as DATA_TABLE_LABELS_EN, FA as DATE_RANGE_PICKER_LABELS_EN, uy as DIALOG_LABELS_EN, oy as DataTable, ly as DataTableSortableHeader, PA as DatePicker, IA as DateRangePicker, dy as Dialog, py as DialogClose, hy as DialogContent, yy as DialogDescription, _y as DialogFooter, gy as DialogHeader, my as DialogOverlay, fy as DialogPortal, vy as DialogTitle, Pv as DropdownMenu, zv as DropdownMenuCheckboxItem, Iv as DropdownMenuContent, Lv as DropdownMenuGroup, Rv as DropdownMenuItem, Bv as DropdownMenuLabel, Vv as DropdownMenuSeparator, Fv as DropdownMenuTrigger, DA as FILTER_MENU_BUTTON_LABELS_EN, kA as FILTER_TAG_LABELS_EN, jA as FilterBar, OA as FilterMenuButton, AA as FilterTag, Sy as Input, Cy as InputGroup, Ty as InputGroupAddon, wy as InputGroupInput, Dy as InputTags, by as Label, LA as MultiSelectFilter, ZS as Popover, eC as PopoverAnchor, $S as PopoverContent, QS as PopoverTrigger, av as PortalContainerProvider, nC as RadioGroup, rC as RadioGroupItem, Oy as SHEET_LABELS_EN, ev as SPINNER_LABELS_EN, VA as SearchInput, Hv as Select, Kv as SelectContent, Uv as SelectGroup, Jv as SelectItem, qv as SelectLabel, Xv as SelectScrollDownButton, Yv as SelectScrollUpButton, Gv as SelectTrigger, Wv as SelectValue, xy as Separator, ky as Sheet, Ay as SheetClose, Ny as SheetContent, Ly as SheetDescription, Fy as SheetFooter, Py as SheetHeader, Iy as SheetTitle, Sv as Skeleton, tv as Spinner, Hy as Switch, Zv as Table, $v as TableBody, ny as TableCell, ty as TableHead, Qv as TableHeader, ey as TableRow, Uy as Tabs, qy as TabsContent, Gy as TabsList, Ky as TabsTrigger, Jy as Textarea, HA as Toaster, zy as Tooltip, Vy as TooltipContent, Ry as TooltipProvider, By as TooltipTrigger, XS as Typography, Tv as badgeVariants, nv as buttonVariants, q as cn, Mv as formatLabel, Wy as tabsListVariants, C as toast, JS as typographyVariants, UA as useFilterPanel, ov as usePortalContainer };
16452
+ export { RA as AMOUNT_FILTER_LABELS_EN, U_ as Accordion, K_ as AccordionContent, W_ as AccordionItem, G_ as AccordionTrigger, Z_ as Alert, $_ as AlertDescription, sv as AlertDialog, hv as AlertDialogAction, gv as AlertDialogCancel, uv as AlertDialogContent, mv as AlertDialogDescription, fv as AlertDialogFooter, dv as AlertDialogHeader, lv as AlertDialogOverlay, cv as AlertDialogPortal, pv as AlertDialogTitle, Q_ as AlertTitle, BA as AmountFilter, Cv as Avatar, wv as AvatarFallback, Ev as Badge, rv as Button, Dv as COMBOBOX_LABELS_EN, mD as Calendar, hD as CalendarDayButton, tC as Checkbox, _v as Collapsible, yv as CollapsibleContent, vv as CollapsibleTrigger, jv as Combobox, bA as Command, CA as CommandEmpty, wA as CommandGroup, xA as CommandInput, EA as CommandItem, SA as CommandList, TA as CommandSeparator, Nv as DATA_TABLE_LABELS_EN, FA as DATE_RANGE_PICKER_LABELS_EN, uy as DIALOG_LABELS_EN, oy as DataTable, ly as DataTableSortableHeader, PA as DatePicker, IA as DateRangePicker, dy as Dialog, py as DialogClose, hy as DialogContent, yy as DialogDescription, _y as DialogFooter, gy as DialogHeader, my as DialogOverlay, fy as DialogPortal, vy as DialogTitle, Pv as DropdownMenu, zv as DropdownMenuCheckboxItem, Iv as DropdownMenuContent, Lv as DropdownMenuGroup, Rv as DropdownMenuItem, Bv as DropdownMenuLabel, Vv as DropdownMenuSeparator, Fv as DropdownMenuTrigger, DA as FILTER_MENU_BUTTON_LABELS_EN, kA as FILTER_TAG_LABELS_EN, jA as FilterBar, OA as FilterMenuButton, AA as FilterTag, Sy as Input, Cy as InputGroup, Ty as InputGroupAddon, wy as InputGroupInput, Dy as InputTags, by as Label, LA as MultiSelectFilter, ZS as Popover, eC as PopoverAnchor, $S as PopoverContent, QS as PopoverTrigger, av as PortalContainerProvider, nC as RadioGroup, rC as RadioGroupItem, Oy as SHEET_LABELS_EN, HA as SONNER_LABELS_EN, ev as SPINNER_LABELS_EN, VA as SearchInput, Hv as Select, Kv as SelectContent, Uv as SelectGroup, Jv as SelectItem, qv as SelectLabel, Xv as SelectScrollDownButton, Yv as SelectScrollUpButton, Gv as SelectTrigger, Wv as SelectValue, xy as Separator, ky as Sheet, Ay as SheetClose, Ny as SheetContent, Ly as SheetDescription, Fy as SheetFooter, Py as SheetHeader, Iy as SheetTitle, Sv as Skeleton, tv as Spinner, Hy as Switch, Zv as Table, $v as TableBody, ny as TableCell, ty as TableHead, Qv as TableHeader, ey as TableRow, Uy as Tabs, qy as TabsContent, Gy as TabsList, Ky as TabsTrigger, Jy as Textarea, WA as Toaster, zy as Tooltip, Vy as TooltipContent, Ry as TooltipProvider, By as TooltipTrigger, XS as Typography, Tv as badgeVariants, nv as buttonVariants, q as cn, Mv as formatLabel, Wy as tabsListVariants, C as toast, JS as typographyVariants, GA as useFilterPanel, ov as usePortalContainer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {