@inspirare/design-system 0.0.17 → 0.0.18

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.d.ts CHANGED
@@ -49,6 +49,7 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
49
49
  import { Slot } from '@radix-ui/react-slot';
50
50
  import { Switch as Switch_2 } from 'radix-ui';
51
51
  import * as TabsPrimitive from '@radix-ui/react-tabs';
52
+ import { toast } from 'sonner';
52
53
  import { ToasterProps } from 'sonner';
53
54
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
54
55
  import * as TogglePrimitive from '@radix-ui/react-toggle';
@@ -947,6 +948,8 @@ declare interface ThemeToggleProps {
947
948
  showLabel?: boolean;
948
949
  }
949
950
 
951
+ export { toast }
952
+
950
953
  export declare const Toaster: ({ ...props }: ToasterProps) => JSX_2.Element;
951
954
 
952
955
  export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): React_2.JSX.Element;
package/dist/index.js CHANGED
@@ -21363,8 +21363,7 @@ var SU = (e) => {
21363
21363
  ...t,
21364
21364
  id: n
21365
21365
  }), n;
21366
- }, PU = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number";
21367
- Object.assign(NU, {
21366
+ }, PU = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", FU = Object.assign(NU, {
21368
21367
  success: MU.success,
21369
21368
  info: MU.info,
21370
21369
  warning: MU.warning,
@@ -21377,20 +21376,21 @@ Object.assign(NU, {
21377
21376
  }, {
21378
21377
  getHistory: () => MU.toasts,
21379
21378
  getToasts: () => MU.getActiveToasts()
21380
- }), xU("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
21381
- function FU(e) {
21379
+ });
21380
+ xU("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
21381
+ function IU(e) {
21382
21382
  return e.label !== void 0;
21383
21383
  }
21384
- var IU = 3, LU = "24px", RU = "16px", zU = 4e3, BU = 356, VU = 14, HU = 45, UU = 200;
21385
- function WU(...e) {
21384
+ var LU = 3, RU = "24px", zU = "16px", BU = 4e3, VU = 356, HU = 14, UU = 45, WU = 200;
21385
+ function GU(...e) {
21386
21386
  return e.filter(Boolean).join(" ");
21387
21387
  }
21388
- function GU(e) {
21388
+ function KU(e) {
21389
21389
  let [t, n] = e.split("-"), r = [];
21390
21390
  return t && r.push(t), n && r.push(n), r;
21391
21391
  }
21392
- var KU = (e) => {
21393
- let { invert: n, toast: r, unstyled: i, interacting: a, setHeights: o, visibleToasts: s, heights: c, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = t.useState(null), [k, A] = t.useState(null), [j, M] = t.useState(!1), [N, P] = t.useState(!1), [F, I] = t.useState(!1), [L, R] = t.useState(!1), [z, B] = t.useState(!1), [V, ee] = t.useState(0), [te, ne] = t.useState(0), re = t.useRef(r.duration || b || zU), H = t.useRef(null), ie = t.useRef(null), ae = l === 0, U = l + 1 <= s, oe = r.type, se = r.dismissible !== !1, ce = r.className || "", le = r.descriptionClassName || "", ue = t.useMemo(() => c.findIndex((e) => e.toastId === r.id) || 0, [c, r.id]), de = t.useMemo(() => r.closeButton ?? m, [r.closeButton, m]), fe = t.useMemo(() => r.duration || b || zU, [r.duration, b]), W = t.useRef(0), pe = t.useRef(0), me = t.useRef(0), he = t.useRef(null), [ge, G] = x.split("-"), _e = t.useMemo(() => c.reduce((e, t, n) => n >= ue ? e : e + t.height, 0), [c, ue]), ve = AU(), ye = r.invert || n, K = oe === "loading";
21392
+ var qU = (e) => {
21393
+ let { invert: n, toast: r, unstyled: i, interacting: a, setHeights: o, visibleToasts: s, heights: c, index: l, toasts: u, expanded: d, removeToast: f, defaultRichColors: p, closeButton: m, style: h, cancelButtonStyle: g, actionButtonStyle: _, className: v = "", descriptionClassName: y = "", duration: b, position: x, gap: S, expandByDefault: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = t.useState(null), [k, A] = t.useState(null), [j, M] = t.useState(!1), [N, P] = t.useState(!1), [F, I] = t.useState(!1), [L, R] = t.useState(!1), [z, B] = t.useState(!1), [V, ee] = t.useState(0), [te, ne] = t.useState(0), re = t.useRef(r.duration || b || BU), H = t.useRef(null), ie = t.useRef(null), ae = l === 0, U = l + 1 <= s, oe = r.type, se = r.dismissible !== !1, ce = r.className || "", le = r.descriptionClassName || "", ue = t.useMemo(() => c.findIndex((e) => e.toastId === r.id) || 0, [c, r.id]), de = t.useMemo(() => r.closeButton ?? m, [r.closeButton, m]), fe = t.useMemo(() => r.duration || b || BU, [r.duration, b]), W = t.useRef(0), pe = t.useRef(0), me = t.useRef(0), he = t.useRef(null), [ge, G] = x.split("-"), _e = t.useMemo(() => c.reduce((e, t, n) => n >= ue ? e : e + t.height, 0), [c, ue]), ve = AU(), ye = r.invert || n, K = oe === "loading";
21394
21394
  pe.current = t.useMemo(() => ue * S + _e, [ue, _e]), t.useEffect(() => {
21395
21395
  re.current = fe;
21396
21396
  }, [fe]), t.useEffect(() => {
@@ -21431,7 +21431,7 @@ var KU = (e) => {
21431
21431
  let be = t.useCallback(() => {
21432
21432
  P(!0), ee(pe.current), o((e) => e.filter((e) => e.toastId !== r.id)), setTimeout(() => {
21433
21433
  f(r);
21434
- }, UU);
21434
+ }, WU);
21435
21435
  }, [
21436
21436
  r,
21437
21437
  f,
@@ -21462,10 +21462,10 @@ var KU = (e) => {
21462
21462
  }, [be, r.delete]);
21463
21463
  function xe() {
21464
21464
  return T?.loading ? /*#__PURE__*/ t.createElement("div", {
21465
- className: WU(w?.loader, r?.classNames?.loader, "sonner-loader"),
21465
+ className: GU(w?.loader, r?.classNames?.loader, "sonner-loader"),
21466
21466
  "data-visible": oe === "loading"
21467
21467
  }, T.loading) : /*#__PURE__*/ t.createElement(wU, {
21468
- className: WU(w?.loader, r?.classNames?.loader),
21468
+ className: GU(w?.loader, r?.classNames?.loader),
21469
21469
  visible: oe === "loading"
21470
21470
  });
21471
21471
  }
@@ -21473,7 +21473,7 @@ var KU = (e) => {
21473
21473
  return /*#__PURE__*/ t.createElement("li", {
21474
21474
  tabIndex: 0,
21475
21475
  ref: ie,
21476
- className: WU(v, ce, w?.toast, r?.classNames?.toast, w?.default, w?.[oe], r?.classNames?.[oe]),
21476
+ className: GU(v, ce, w?.toast, r?.classNames?.toast, w?.default, w?.[oe], r?.classNames?.[oe]),
21477
21477
  "data-sonner-toast": "",
21478
21478
  "data-rich-colors": r.richColors ?? p,
21479
21479
  "data-styled": !(r.jsx || r.unstyled || i),
@@ -21516,7 +21516,7 @@ var KU = (e) => {
21516
21516
  if (L || !se) return;
21517
21517
  he.current = null;
21518
21518
  let e = Number(ie.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ie.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), n = (/* @__PURE__ */ new Date()).getTime() - H.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / n;
21519
- if (Math.abs(i) >= HU || a > .11) {
21519
+ if (Math.abs(i) >= UU || a > .11) {
21520
21520
  ee(pe.current), r.onDismiss == null || r.onDismiss.call(r, r), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), be(), R(!0);
21521
21521
  return;
21522
21522
  } else {
@@ -21528,7 +21528,7 @@ var KU = (e) => {
21528
21528
  onPointerMove: (t) => {
21529
21529
  var n, r;
21530
21530
  if (!he.current || !se || window.getSelection()?.toString().length > 0) return;
21531
- let i = t.clientY - he.current.y, a = t.clientX - he.current.x, o = e.swipeDirections ?? GU(x);
21531
+ let i = t.clientY - he.current.y, a = t.clientX - he.current.x, o = e.swipeDirections ?? KU(x);
21532
21532
  !D && (Math.abs(a) > 1 || Math.abs(i) > 1) && O(Math.abs(a) > Math.abs(i) ? "x" : "y");
21533
21533
  let s = {
21534
21534
  x: 0,
@@ -21554,46 +21554,46 @@ var KU = (e) => {
21554
21554
  onClick: K || !se ? () => {} : () => {
21555
21555
  be(), r.onDismiss == null || r.onDismiss.call(r, r);
21556
21556
  },
21557
- className: WU(w?.closeButton, r?.classNames?.closeButton)
21557
+ className: GU(w?.closeButton, r?.classNames?.closeButton)
21558
21558
  }, T?.close ?? kU) : null, (oe || r.icon || r.promise) && r.icon !== null && (T?.[oe] !== null || r.icon) ? /*#__PURE__*/ t.createElement("div", {
21559
21559
  "data-icon": "",
21560
- className: WU(w?.icon, r?.classNames?.icon)
21560
+ className: GU(w?.icon, r?.classNames?.icon)
21561
21561
  }, r.promise || r.type === "loading" && !r.icon ? r.icon || xe() : null, r.type === "loading" ? null : Se) : null, /*#__PURE__*/ t.createElement("div", {
21562
21562
  "data-content": "",
21563
- className: WU(w?.content, r?.classNames?.content)
21563
+ className: GU(w?.content, r?.classNames?.content)
21564
21564
  }, /*#__PURE__*/ t.createElement("div", {
21565
21565
  "data-title": "",
21566
- className: WU(w?.title, r?.classNames?.title)
21566
+ className: GU(w?.title, r?.classNames?.title)
21567
21567
  }, r.jsx ? r.jsx : typeof r.title == "function" ? r.title() : r.title), r.description ? /*#__PURE__*/ t.createElement("div", {
21568
21568
  "data-description": "",
21569
- className: WU(y, le, w?.description, r?.classNames?.description)
21570
- }, typeof r.description == "function" ? r.description() : r.description) : null), /*#__PURE__*/ t.isValidElement(r.cancel) ? r.cancel : r.cancel && FU(r.cancel) ? /*#__PURE__*/ t.createElement("button", {
21569
+ className: GU(y, le, w?.description, r?.classNames?.description)
21570
+ }, typeof r.description == "function" ? r.description() : r.description) : null), /*#__PURE__*/ t.isValidElement(r.cancel) ? r.cancel : r.cancel && IU(r.cancel) ? /*#__PURE__*/ t.createElement("button", {
21571
21571
  "data-button": !0,
21572
21572
  "data-cancel": !0,
21573
21573
  style: r.cancelButtonStyle || g,
21574
21574
  onClick: (e) => {
21575
- FU(r.cancel) && se && (r.cancel.onClick == null || r.cancel.onClick.call(r.cancel, e), be());
21575
+ IU(r.cancel) && se && (r.cancel.onClick == null || r.cancel.onClick.call(r.cancel, e), be());
21576
21576
  },
21577
- className: WU(w?.cancelButton, r?.classNames?.cancelButton)
21578
- }, r.cancel.label) : null, /*#__PURE__*/ t.isValidElement(r.action) ? r.action : r.action && FU(r.action) ? /*#__PURE__*/ t.createElement("button", {
21577
+ className: GU(w?.cancelButton, r?.classNames?.cancelButton)
21578
+ }, r.cancel.label) : null, /*#__PURE__*/ t.isValidElement(r.action) ? r.action : r.action && IU(r.action) ? /*#__PURE__*/ t.createElement("button", {
21579
21579
  "data-button": !0,
21580
21580
  "data-action": !0,
21581
21581
  style: r.actionButtonStyle || _,
21582
21582
  onClick: (e) => {
21583
- FU(r.action) && (r.action.onClick == null || r.action.onClick.call(r.action, e), !e.defaultPrevented && be());
21583
+ IU(r.action) && (r.action.onClick == null || r.action.onClick.call(r.action, e), !e.defaultPrevented && be());
21584
21584
  },
21585
- className: WU(w?.actionButton, r?.classNames?.actionButton)
21585
+ className: GU(w?.actionButton, r?.classNames?.actionButton)
21586
21586
  }, r.action.label) : null);
21587
21587
  };
21588
- function qU() {
21588
+ function JU() {
21589
21589
  if (typeof window > "u" || typeof document > "u") return "ltr";
21590
21590
  let e = document.documentElement.getAttribute("dir");
21591
21591
  return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
21592
21592
  }
21593
- function JU(e, t) {
21593
+ function YU(e, t) {
21594
21594
  let n = {};
21595
21595
  return [e, t].forEach((e, t) => {
21596
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? RU : LU;
21596
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? zU : RU;
21597
21597
  function o(e) {
21598
21598
  [
21599
21599
  "top",
@@ -21614,8 +21614,8 @@ function JU(e, t) {
21614
21614
  }) : o(a);
21615
21615
  }), n;
21616
21616
  }
21617
- var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21618
- let { id: r, invert: i, position: a = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: s, closeButton: c, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: p, duration: m, style: h, visibleToasts: g = IU, toastOptions: _, dir: v = qU(), gap: y = VU, icons: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = t.useState([]), T = t.useMemo(() => r ? C.filter((e) => e.toasterId === r) : C.filter((e) => !e.toasterId), [C, r]), E = t.useMemo(() => Array.from(new Set([a].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, a]), [D, O] = t.useState([]), [k, A] = t.useState(!1), [j, M] = t.useState(!1), [N, P] = t.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), F = t.useRef(null), I = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), L = t.useRef(null), R = t.useRef(!1), z = t.useCallback((e) => {
21617
+ var XU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21618
+ let { id: r, invert: i, position: a = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: s, closeButton: c, className: l, offset: u, mobileOffset: d, theme: f = "light", richColors: p, duration: m, style: h, visibleToasts: g = LU, toastOptions: _, dir: v = JU(), gap: y = HU, icons: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = t.useState([]), T = t.useMemo(() => r ? C.filter((e) => e.toasterId === r) : C.filter((e) => !e.toasterId), [C, r]), E = t.useMemo(() => Array.from(new Set([a].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, a]), [D, O] = t.useState([]), [k, A] = t.useState(!1), [j, M] = t.useState(!1), [N, P] = t.useState(f === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : f), F = t.useRef(null), I = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), L = t.useRef(null), R = t.useRef(!1), z = t.useCallback((e) => {
21619
21619
  w((t) => (t.find((t) => t.id === e.id)?.delete || MU.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
21620
21620
  }, []);
21621
21621
  return t.useEffect(() => MU.subscribe((e) => {
@@ -21690,7 +21690,7 @@ var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21690
21690
  let [a, o] = n.split("-");
21691
21691
  return T.length ? /*#__PURE__*/ t.createElement("ol", {
21692
21692
  key: n,
21693
- dir: v === "auto" ? qU() : v,
21693
+ dir: v === "auto" ? JU() : v,
21694
21694
  tabIndex: -1,
21695
21695
  ref: F,
21696
21696
  className: l,
@@ -21700,10 +21700,10 @@ var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21700
21700
  "data-x-position": o,
21701
21701
  style: {
21702
21702
  "--front-toast-height": `${D[0]?.height || 0}px`,
21703
- "--width": `${BU}px`,
21703
+ "--width": `${VU}px`,
21704
21704
  "--gap": `${y}px`,
21705
21705
  ...h,
21706
- ...JU(u, d)
21706
+ ...YU(u, d)
21707
21707
  },
21708
21708
  onBlur: (e) => {
21709
21709
  R.current && !e.currentTarget.contains(e.relatedTarget) && (R.current = !1, L.current &&= (L.current.focus({ preventScroll: !0 }), null));
@@ -21721,7 +21721,7 @@ var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21721
21721
  e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
21722
21722
  },
21723
21723
  onPointerUp: () => M(!1)
21724
- }, T.filter((e) => !e.position && r === 0 || e.position === n).map((r, a) => /*#__PURE__*/ t.createElement(KU, {
21724
+ }, T.filter((e) => !e.position && r === 0 || e.position === n).map((r, a) => /*#__PURE__*/ t.createElement(qU, {
21725
21725
  key: r.id,
21726
21726
  icons: b,
21727
21727
  index: a,
@@ -21751,9 +21751,9 @@ var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21751
21751
  swipeDirections: e.swipeDirections
21752
21752
  }))) : null;
21753
21753
  }));
21754
- }), XU = ({ ...e }) => {
21754
+ }), ZU = ({ ...e }) => {
21755
21755
  let { theme: t = "system" } = oe();
21756
- return /* @__PURE__ */ y(YU, {
21756
+ return /* @__PURE__ */ y(XU, {
21757
21757
  theme: t,
21758
21758
  className: "toaster group",
21759
21759
  style: {
@@ -21766,7 +21766,7 @@ var YU = /*#__PURE__*/ t.forwardRef(function(e, n) {
21766
21766
  };
21767
21767
  //#endregion
21768
21768
  //#region src/components/ui/spinner.tsx
21769
- function ZU({ className: e, ...t }) {
21769
+ function QU({ className: e, ...t }) {
21770
21770
  return /* @__PURE__ */ y(z, {
21771
21771
  role: "status",
21772
21772
  "aria-label": "Loading",
@@ -21776,7 +21776,7 @@ function ZU({ className: e, ...t }) {
21776
21776
  }
21777
21777
  //#endregion
21778
21778
  //#region src/components/ui/switch.tsx
21779
- function QU({ className: e, size: t = "default", ...n }) {
21779
+ function $U({ className: e, size: t = "default", ...n }) {
21780
21780
  return /* @__PURE__ */ y(qM, {
21781
21781
  "data-slot": "switch",
21782
21782
  "data-size": t,
@@ -21790,7 +21790,7 @@ function QU({ className: e, size: t = "default", ...n }) {
21790
21790
  }
21791
21791
  //#endregion
21792
21792
  //#region src/components/ui/table.tsx
21793
- function $U({ className: e, ...t }) {
21793
+ function eW({ className: e, ...t }) {
21794
21794
  return /* @__PURE__ */ y("div", {
21795
21795
  "data-slot": "table-container",
21796
21796
  className: "relative w-full overflow-x-auto",
@@ -21801,49 +21801,49 @@ function $U({ className: e, ...t }) {
21801
21801
  })
21802
21802
  });
21803
21803
  }
21804
- function eW({ className: e, ...t }) {
21804
+ function tW({ className: e, ...t }) {
21805
21805
  return /* @__PURE__ */ y("thead", {
21806
21806
  "data-slot": "table-header",
21807
21807
  className: Y("[&_tr]:border-b", e),
21808
21808
  ...t
21809
21809
  });
21810
21810
  }
21811
- function tW({ className: e, ...t }) {
21811
+ function nW({ className: e, ...t }) {
21812
21812
  return /* @__PURE__ */ y("tbody", {
21813
21813
  "data-slot": "table-body",
21814
21814
  className: Y("[&_tr:last-child]:border-0", e),
21815
21815
  ...t
21816
21816
  });
21817
21817
  }
21818
- function nW({ className: e, ...t }) {
21818
+ function rW({ className: e, ...t }) {
21819
21819
  return /* @__PURE__ */ y("tfoot", {
21820
21820
  "data-slot": "table-footer",
21821
21821
  className: Y("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
21822
21822
  ...t
21823
21823
  });
21824
21824
  }
21825
- function rW({ className: e, ...t }) {
21825
+ function iW({ className: e, ...t }) {
21826
21826
  return /* @__PURE__ */ y("tr", {
21827
21827
  "data-slot": "table-row",
21828
21828
  className: Y("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
21829
21829
  ...t
21830
21830
  });
21831
21831
  }
21832
- function iW({ className: e, ...t }) {
21832
+ function aW({ className: e, ...t }) {
21833
21833
  return /* @__PURE__ */ y("th", {
21834
21834
  "data-slot": "table-head",
21835
21835
  className: Y("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
21836
21836
  ...t
21837
21837
  });
21838
21838
  }
21839
- function aW({ className: e, ...t }) {
21839
+ function oW({ className: e, ...t }) {
21840
21840
  return /* @__PURE__ */ y("td", {
21841
21841
  "data-slot": "table-cell",
21842
21842
  className: Y("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", e),
21843
21843
  ...t
21844
21844
  });
21845
21845
  }
21846
- function oW({ className: e, ...t }) {
21846
+ function sW({ className: e, ...t }) {
21847
21847
  return /* @__PURE__ */ y("caption", {
21848
21848
  "data-slot": "table-caption",
21849
21849
  className: Y("text-muted-foreground mt-4 text-sm", e),
@@ -21852,28 +21852,28 @@ function oW({ className: e, ...t }) {
21852
21852
  }
21853
21853
  //#endregion
21854
21854
  //#region src/components/ui/tabs.tsx
21855
- function sW({ className: e, ...t }) {
21855
+ function cW({ className: e, ...t }) {
21856
21856
  return /* @__PURE__ */ y(hN, {
21857
21857
  "data-slot": "tabs",
21858
21858
  className: Y("flex flex-col gap-2", e),
21859
21859
  ...t
21860
21860
  });
21861
21861
  }
21862
- function cW({ className: e, ...t }) {
21862
+ function lW({ className: e, ...t }) {
21863
21863
  return /* @__PURE__ */ y(gN, {
21864
21864
  "data-slot": "tabs-list",
21865
21865
  className: Y("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", e),
21866
21866
  ...t
21867
21867
  });
21868
21868
  }
21869
- function lW({ className: e, ...t }) {
21869
+ function uW({ className: e, ...t }) {
21870
21870
  return /* @__PURE__ */ y(_N, {
21871
21871
  "data-slot": "tabs-trigger",
21872
21872
  className: Y("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
21873
21873
  ...t
21874
21874
  });
21875
21875
  }
21876
- function uW({ className: e, ...t }) {
21876
+ function dW({ className: e, ...t }) {
21877
21877
  return /* @__PURE__ */ y(vN, {
21878
21878
  "data-slot": "tabs-content",
21879
21879
  className: Y("flex-1 outline-none", e),
@@ -21882,7 +21882,7 @@ function uW({ className: e, ...t }) {
21882
21882
  }
21883
21883
  //#endregion
21884
21884
  //#region src/components/ui/theme-toggle.tsx
21885
- var dW = s(function({ className: e, showLabel: t }) {
21885
+ var fW = s(function({ className: e, showLabel: t }) {
21886
21886
  let { theme: n, setTheme: r } = oe(), [i, a] = g(!1);
21887
21887
  return u(() => {
21888
21888
  a(!0);
@@ -21927,7 +21927,7 @@ var dW = s(function({ className: e, showLabel: t }) {
21927
21927
  })
21928
21928
  })
21929
21929
  });
21930
- }), fW = en("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium cursor-pointer hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
21930
+ }), pW = en("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium cursor-pointer hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap", {
21931
21931
  variants: {
21932
21932
  variant: {
21933
21933
  default: "bg-transparent",
@@ -21944,10 +21944,10 @@ var dW = s(function({ className: e, showLabel: t }) {
21944
21944
  size: "default"
21945
21945
  }
21946
21946
  });
21947
- function pW({ className: e, variant: t, size: n, ...r }) {
21947
+ function mW({ className: e, variant: t, size: n, ...r }) {
21948
21948
  return /* @__PURE__ */ y(xN, {
21949
21949
  "data-slot": "toggle",
21950
- className: Y(fW({
21950
+ className: Y(pW({
21951
21951
  variant: t,
21952
21952
  size: n,
21953
21953
  className: e
@@ -21957,18 +21957,18 @@ function pW({ className: e, variant: t, size: n, ...r }) {
21957
21957
  }
21958
21958
  //#endregion
21959
21959
  //#region src/components/ui/toggle-group.tsx
21960
- var mW = e.createContext({
21960
+ var hW = e.createContext({
21961
21961
  size: "default",
21962
21962
  variant: "default"
21963
21963
  });
21964
- function hW({ className: e, variant: t, size: n, children: r, ...i }) {
21964
+ function gW({ className: e, variant: t, size: n, children: r, ...i }) {
21965
21965
  return /* @__PURE__ */ y(LN, {
21966
21966
  "data-slot": "toggle-group",
21967
21967
  "data-variant": t,
21968
21968
  "data-size": n,
21969
21969
  className: Y("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs", e),
21970
21970
  ...i,
21971
- children: /* @__PURE__ */ y(mW.Provider, {
21971
+ children: /* @__PURE__ */ y(hW.Provider, {
21972
21972
  value: {
21973
21973
  variant: t,
21974
21974
  size: n
@@ -21977,13 +21977,13 @@ function hW({ className: e, variant: t, size: n, children: r, ...i }) {
21977
21977
  })
21978
21978
  });
21979
21979
  }
21980
- function gW({ className: t, children: n, variant: r, size: i, ...a }) {
21981
- let o = e.useContext(mW);
21980
+ function _W({ className: t, children: n, variant: r, size: i, ...a }) {
21981
+ let o = e.useContext(hW);
21982
21982
  return /* @__PURE__ */ y(RN, {
21983
21983
  "data-slot": "toggle-group-item",
21984
21984
  "data-variant": o.variant || r,
21985
21985
  "data-size": o.size || i,
21986
- className: Y(fW({
21986
+ className: Y(pW({
21987
21987
  variant: o.variant || r,
21988
21988
  size: o.size || i
21989
21989
  }), "min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l", t),
@@ -21993,7 +21993,7 @@ function gW({ className: t, children: n, variant: r, size: i, ...a }) {
21993
21993
  }
21994
21994
  //#endregion
21995
21995
  //#region src/components/ui/accessibility-improvements.tsx
21996
- function _W(e, t) {
21996
+ function vW(e, t) {
21997
21997
  u(() => {
21998
21998
  if (!e) return;
21999
21999
  let n = (e) => {
@@ -22006,7 +22006,7 @@ function _W(e, t) {
22006
22006
  };
22007
22007
  }, [e, t]);
22008
22008
  }
22009
- function vW(e, t, n) {
22009
+ function yW(e, t, n) {
22010
22010
  u(() => {
22011
22011
  let r = (r) => {
22012
22012
  if (r.target && r.target.getAttribute("role") === "tab") {
@@ -22036,7 +22036,7 @@ function vW(e, t, n) {
22036
22036
  n
22037
22037
  ]);
22038
22038
  }
22039
- function yW({ message: e, priority: t = "polite" }) {
22039
+ function bW({ message: e, priority: t = "polite" }) {
22040
22040
  return /* @__PURE__ */ y("div", {
22041
22041
  "aria-live": t,
22042
22042
  "aria-atomic": "true",
@@ -22044,8 +22044,8 @@ function yW({ message: e, priority: t = "polite" }) {
22044
22044
  children: e
22045
22045
  });
22046
22046
  }
22047
- function bW(e, t) {
22047
+ function xW(e, t) {
22048
22048
  return `${e.size} de ${t} seções obrigatórias completas`;
22049
22049
  }
22050
22050
  //#endregion
22051
- export { Jt as Accordion, Zt as AccordionContent, Yt as AccordionItem, Xt as AccordionTrigger, nn as Alert, an as AlertDescription, ja as AlertDialog, Ba as AlertDialogAction, Va as AlertDialogCancel, Fa as AlertDialogContent, za as AlertDialogDescription, La as AlertDialogFooter, Ia as AlertDialogHeader, Pa as AlertDialogOverlay, Na as AlertDialogPortal, Ra as AlertDialogTitle, Ma as AlertDialogTrigger, rn as AlertTitle, Wa as AspectRatio, po as Avatar, ho as AvatarFallback, mo as AvatarImage, _o as Badge, vo as Breadcrumb, wo as BreadcrumbEllipsis, bo as BreadcrumbItem, xo as BreadcrumbLink, yo as BreadcrumbList, So as BreadcrumbPage, Co as BreadcrumbSeparator, Aa as Button, No as ButtonGroup, Fo as ButtonGroupSeparator, Po as ButtonGroupText, Ku as Calendar, qu as CalendarDayButton, Ju as Card, Qu as CardAction, $u as CardContent, Zu as CardDescription, ed as CardFooter, Yu as CardHeader, Xu as CardTitle, lf as Carousel, uf as CarouselContent, df as CarouselItem, pf as CarouselNext, ff as CarouselPrevious, ry as ChartContainer, sy as ChartLegend, cy as ChartLegendContent, iy as ChartStyle, ay as ChartTooltip, oy as ChartTooltipContent, TP as Checkbox, EP as Collapsible, OP as CollapsibleContent, DP as CollapsibleTrigger, mF as ColorPicker, PF as Combobox, TF as Command, EF as CommandDialog, kF as CommandEmpty, AF as CommandGroup, DF as CommandInput, MF as CommandItem, OF as CommandList, jF as CommandSeparator, NF as CommandShortcut, FF as ContextMenu, GF as ContextMenuCheckboxItem, UF as ContextMenuContent, LF as ContextMenuGroup, WF as ContextMenuItem, qF as ContextMenuLabel, RF as ContextMenuPortal, BF as ContextMenuRadioGroup, KF as ContextMenuRadioItem, JF as ContextMenuSeparator, YF as ContextMenuShortcut, zF as ContextMenuSub, HF as ContextMenuSubContent, VF as ContextMenuSubTrigger, IF as ContextMenuTrigger, hF as Dialog, vF as DialogClose, bF as DialogContent, wF as DialogDescription, SF as DialogFooter, xF as DialogHeader, yF as DialogOverlay, _F as DialogPortal, CF as DialogTitle, gF as DialogTrigger, tL as Drawer, iL as DrawerClose, oL as DrawerContent, uL as DrawerDescription, cL as DrawerFooter, sL as DrawerHeader, aL as DrawerOverlay, rL as DrawerPortal, lL as DrawerTitle, nL as DrawerTrigger, dL as DropdownMenu, _L as DropdownMenuCheckboxItem, mL as DropdownMenuContent, hL as DropdownMenuGroup, gL as DropdownMenuItem, bL as DropdownMenuLabel, fL as DropdownMenuPortal, vL as DropdownMenuRadioGroup, yL as DropdownMenuRadioItem, xL as DropdownMenuSeparator, SL as DropdownMenuShortcut, CL as DropdownMenuSub, TL as DropdownMenuSubContent, wL as DropdownMenuSubTrigger, pL as DropdownMenuTrigger, EL as Empty, ML as EmptyContent, jL as EmptyDescription, DL as EmptyHeader, kL as EmptyMedia, AL as EmptyTitle, RL as Field, zL as FieldContent, HL as FieldDescription, WL as FieldError, IL as FieldGroup, BL as FieldLabel, FL as FieldLegend, UL as FieldSeparator, PL as FieldSet, VL as FieldTitle, ER as Form, NR as FormControl, PR as FormDescription, OR as FormField, jR as FormItem, MR as FormLabel, FR as FormMessage, IR as HoverCard, RR as HoverCardContent, LR as HoverCardTrigger, kP as Input, BR as InputGroup, HR as InputGroupAddon, WR as InputGroupButton, KR as InputGroupInput, GR as InputGroupText, qR as InputGroupTextarea, hz as InputOTP, gz as InputOTPGroup, vz as InputOTPSeparator, _z as InputOTPSlot, Sz as Item, Oz as ItemActions, Tz as ItemContent, Dz as ItemDescription, Az as ItemFooter, yz as ItemGroup, kz as ItemHeader, wz as ItemMedia, bz as ItemSeparator, Ez as ItemTitle, jz as Kbd, Mz as KbdGroup, NL as Label, Rz as Menubar, Wz as MenubarCheckboxItem, Hz as MenubarContent, Pz as MenubarGroup, Uz as MenubarItem, Kz as MenubarLabel, Nz as MenubarMenu, Fz as MenubarPortal, Iz as MenubarRadioGroup, Gz as MenubarRadioItem, qz as MenubarSeparator, Jz as MenubarShortcut, Lz as MenubarSub, Vz as MenubarSubContent, Bz as MenubarSubTrigger, zz as MenubarTrigger, Yz as NavigationMenu, eB as NavigationMenuContent, rB as NavigationMenuIndicator, Zz as NavigationMenuItem, tB as NavigationMenuLink, Xz as NavigationMenuList, $z as NavigationMenuTrigger, nB as NavigationMenuViewport, iB as Pagination, aB as PaginationContent, uB as PaginationEllipsis, oB as PaginationItem, sB as PaginationLink, lB as PaginationNext, cB as PaginationPrevious, AP as Popover, NP as PopoverAnchor, MP as PopoverContent, jP as PopoverTrigger, dB as Progress, fB as RadioGroup, pB as RadioGroupItem, cH as ResizableHandle, sH as ResizablePanel, oH as ResizablePanelGroup, yW as ScreenReaderAnnouncement, lH as ScrollArea, uH as ScrollBar, dH as Select, hH as SelectContent, fH as SelectGroup, _H as SelectItem, gH as SelectLabel, bH as SelectScrollDownButton, yH as SelectScrollUpButton, vH as SelectSeparator, mH as SelectTrigger, pH as SelectValue, jo as Separator, xH as Sheet, CH as SheetClose, EH as SheetContent, AH as SheetDescription, OH as SheetFooter, DH as SheetHeader, kH as SheetTitle, SH as SheetTrigger, ZH as Sidebar, aU as SidebarContent, rU as SidebarFooter, oU as SidebarGroup, cU as SidebarGroupAction, lU as SidebarGroupContent, sU as SidebarGroupLabel, nU as SidebarHeader, tU as SidebarInput, eU as SidebarInset, uU as SidebarMenu, mU as SidebarMenuAction, hU as SidebarMenuBadge, pU as SidebarMenuButton, dU as SidebarMenuItem, gU as SidebarMenuSkeleton, _U as SidebarMenuSub, yU as SidebarMenuSubButton, vU as SidebarMenuSubItem, XH as SidebarProvider, $H as SidebarRail, iU as SidebarSeparator, QH as SidebarTrigger, NH as Skeleton, FH as SkeletonAvatar, IH as SkeletonButton, LH as SkeletonCard, PH as SkeletonText, bU as Slider, ZU as Spinner, QU as Switch, $U as Table, tW as TableBody, oW as TableCaption, aW as TableCell, nW as TableFooter, iW as TableHead, eW as TableHeader, rW as TableRow, sW as Tabs, uW as TabsContent, cW as TabsList, lW as TabsTrigger, zR as Textarea, dW as ThemeToggle, XU as Toaster, pW as Toggle, hW as ToggleGroup, gW as ToggleGroupItem, zH as Tooltip, VH as TooltipContent, RH as TooltipProvider, BH as TooltipTrigger, go as badgeVariants, Mo as buttonGroupVariants, ka as buttonVariants, Y as cn, Qz as navigationMenuTriggerStyle, fW as toggleVariants, kR as useFormField, MH as useIsMobile, _W as useModalAccessibility, bW as useProgressAnnouncement, YH as useSidebar, vW as useTabKeyboardNavigation };
22051
+ export { Jt as Accordion, Zt as AccordionContent, Yt as AccordionItem, Xt as AccordionTrigger, nn as Alert, an as AlertDescription, ja as AlertDialog, Ba as AlertDialogAction, Va as AlertDialogCancel, Fa as AlertDialogContent, za as AlertDialogDescription, La as AlertDialogFooter, Ia as AlertDialogHeader, Pa as AlertDialogOverlay, Na as AlertDialogPortal, Ra as AlertDialogTitle, Ma as AlertDialogTrigger, rn as AlertTitle, Wa as AspectRatio, po as Avatar, ho as AvatarFallback, mo as AvatarImage, _o as Badge, vo as Breadcrumb, wo as BreadcrumbEllipsis, bo as BreadcrumbItem, xo as BreadcrumbLink, yo as BreadcrumbList, So as BreadcrumbPage, Co as BreadcrumbSeparator, Aa as Button, No as ButtonGroup, Fo as ButtonGroupSeparator, Po as ButtonGroupText, Ku as Calendar, qu as CalendarDayButton, Ju as Card, Qu as CardAction, $u as CardContent, Zu as CardDescription, ed as CardFooter, Yu as CardHeader, Xu as CardTitle, lf as Carousel, uf as CarouselContent, df as CarouselItem, pf as CarouselNext, ff as CarouselPrevious, ry as ChartContainer, sy as ChartLegend, cy as ChartLegendContent, iy as ChartStyle, ay as ChartTooltip, oy as ChartTooltipContent, TP as Checkbox, EP as Collapsible, OP as CollapsibleContent, DP as CollapsibleTrigger, mF as ColorPicker, PF as Combobox, TF as Command, EF as CommandDialog, kF as CommandEmpty, AF as CommandGroup, DF as CommandInput, MF as CommandItem, OF as CommandList, jF as CommandSeparator, NF as CommandShortcut, FF as ContextMenu, GF as ContextMenuCheckboxItem, UF as ContextMenuContent, LF as ContextMenuGroup, WF as ContextMenuItem, qF as ContextMenuLabel, RF as ContextMenuPortal, BF as ContextMenuRadioGroup, KF as ContextMenuRadioItem, JF as ContextMenuSeparator, YF as ContextMenuShortcut, zF as ContextMenuSub, HF as ContextMenuSubContent, VF as ContextMenuSubTrigger, IF as ContextMenuTrigger, hF as Dialog, vF as DialogClose, bF as DialogContent, wF as DialogDescription, SF as DialogFooter, xF as DialogHeader, yF as DialogOverlay, _F as DialogPortal, CF as DialogTitle, gF as DialogTrigger, tL as Drawer, iL as DrawerClose, oL as DrawerContent, uL as DrawerDescription, cL as DrawerFooter, sL as DrawerHeader, aL as DrawerOverlay, rL as DrawerPortal, lL as DrawerTitle, nL as DrawerTrigger, dL as DropdownMenu, _L as DropdownMenuCheckboxItem, mL as DropdownMenuContent, hL as DropdownMenuGroup, gL as DropdownMenuItem, bL as DropdownMenuLabel, fL as DropdownMenuPortal, vL as DropdownMenuRadioGroup, yL as DropdownMenuRadioItem, xL as DropdownMenuSeparator, SL as DropdownMenuShortcut, CL as DropdownMenuSub, TL as DropdownMenuSubContent, wL as DropdownMenuSubTrigger, pL as DropdownMenuTrigger, EL as Empty, ML as EmptyContent, jL as EmptyDescription, DL as EmptyHeader, kL as EmptyMedia, AL as EmptyTitle, RL as Field, zL as FieldContent, HL as FieldDescription, WL as FieldError, IL as FieldGroup, BL as FieldLabel, FL as FieldLegend, UL as FieldSeparator, PL as FieldSet, VL as FieldTitle, ER as Form, NR as FormControl, PR as FormDescription, OR as FormField, jR as FormItem, MR as FormLabel, FR as FormMessage, IR as HoverCard, RR as HoverCardContent, LR as HoverCardTrigger, kP as Input, BR as InputGroup, HR as InputGroupAddon, WR as InputGroupButton, KR as InputGroupInput, GR as InputGroupText, qR as InputGroupTextarea, hz as InputOTP, gz as InputOTPGroup, vz as InputOTPSeparator, _z as InputOTPSlot, Sz as Item, Oz as ItemActions, Tz as ItemContent, Dz as ItemDescription, Az as ItemFooter, yz as ItemGroup, kz as ItemHeader, wz as ItemMedia, bz as ItemSeparator, Ez as ItemTitle, jz as Kbd, Mz as KbdGroup, NL as Label, Rz as Menubar, Wz as MenubarCheckboxItem, Hz as MenubarContent, Pz as MenubarGroup, Uz as MenubarItem, Kz as MenubarLabel, Nz as MenubarMenu, Fz as MenubarPortal, Iz as MenubarRadioGroup, Gz as MenubarRadioItem, qz as MenubarSeparator, Jz as MenubarShortcut, Lz as MenubarSub, Vz as MenubarSubContent, Bz as MenubarSubTrigger, zz as MenubarTrigger, Yz as NavigationMenu, eB as NavigationMenuContent, rB as NavigationMenuIndicator, Zz as NavigationMenuItem, tB as NavigationMenuLink, Xz as NavigationMenuList, $z as NavigationMenuTrigger, nB as NavigationMenuViewport, iB as Pagination, aB as PaginationContent, uB as PaginationEllipsis, oB as PaginationItem, sB as PaginationLink, lB as PaginationNext, cB as PaginationPrevious, AP as Popover, NP as PopoverAnchor, MP as PopoverContent, jP as PopoverTrigger, dB as Progress, fB as RadioGroup, pB as RadioGroupItem, cH as ResizableHandle, sH as ResizablePanel, oH as ResizablePanelGroup, bW as ScreenReaderAnnouncement, lH as ScrollArea, uH as ScrollBar, dH as Select, hH as SelectContent, fH as SelectGroup, _H as SelectItem, gH as SelectLabel, bH as SelectScrollDownButton, yH as SelectScrollUpButton, vH as SelectSeparator, mH as SelectTrigger, pH as SelectValue, jo as Separator, xH as Sheet, CH as SheetClose, EH as SheetContent, AH as SheetDescription, OH as SheetFooter, DH as SheetHeader, kH as SheetTitle, SH as SheetTrigger, ZH as Sidebar, aU as SidebarContent, rU as SidebarFooter, oU as SidebarGroup, cU as SidebarGroupAction, lU as SidebarGroupContent, sU as SidebarGroupLabel, nU as SidebarHeader, tU as SidebarInput, eU as SidebarInset, uU as SidebarMenu, mU as SidebarMenuAction, hU as SidebarMenuBadge, pU as SidebarMenuButton, dU as SidebarMenuItem, gU as SidebarMenuSkeleton, _U as SidebarMenuSub, yU as SidebarMenuSubButton, vU as SidebarMenuSubItem, XH as SidebarProvider, $H as SidebarRail, iU as SidebarSeparator, QH as SidebarTrigger, NH as Skeleton, FH as SkeletonAvatar, IH as SkeletonButton, LH as SkeletonCard, PH as SkeletonText, bU as Slider, QU as Spinner, $U as Switch, eW as Table, nW as TableBody, sW as TableCaption, oW as TableCell, rW as TableFooter, aW as TableHead, tW as TableHeader, iW as TableRow, cW as Tabs, dW as TabsContent, lW as TabsList, uW as TabsTrigger, zR as Textarea, fW as ThemeToggle, ZU as Toaster, mW as Toggle, gW as ToggleGroup, _W as ToggleGroupItem, zH as Tooltip, VH as TooltipContent, RH as TooltipProvider, BH as TooltipTrigger, go as badgeVariants, Mo as buttonGroupVariants, ka as buttonVariants, Y as cn, Qz as navigationMenuTriggerStyle, FU as toast, pW as toggleVariants, kR as useFormField, MH as useIsMobile, vW as useModalAccessibility, xW as useProgressAnnouncement, YH as useSidebar, yW as useTabKeyboardNavigation };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inspirare/design-system",
3
3
  "private": false,
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
 
3
3
  import { useTheme } from "next-themes";
4
- import { Toaster as Sonner, type ToasterProps } from "sonner";
4
+ import { Toaster as Sonner, type ToasterProps, toast } from "sonner";
5
5
 
6
6
  const Toaster = ({ ...props }: ToasterProps) => {
7
7
  const { theme = "system" } = useTheme();
@@ -22,4 +22,4 @@ const Toaster = ({ ...props }: ToasterProps) => {
22
22
  );
23
23
  };
24
24
 
25
- export { Toaster };
25
+ export { Toaster, toast };