@tomny-dev/uzi 0.2.4 → 0.2.6-pr.22.67.1.9e9e57c
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/components/auth-card/AuthCard.d.ts +24 -0
- package/dist/components/auth-card/AuthCard.d.ts.map +1 -0
- package/dist/components/auth-card/AuthCard.test.d.ts +2 -0
- package/dist/components/auth-card/AuthCard.test.d.ts.map +1 -0
- package/dist/index.cjs +68 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -1594
- package/dist/index10.cjs +26 -0
- package/dist/index10.cjs.map +1 -0
- package/dist/index10.js +19 -0
- package/dist/index10.js.map +1 -0
- package/dist/index11.cjs +22 -0
- package/dist/index11.cjs.map +1 -0
- package/dist/index11.js +22 -0
- package/dist/index11.js.map +1 -0
- package/dist/index12.cjs +22 -0
- package/dist/index12.cjs.map +1 -0
- package/dist/index12.js +41 -0
- package/dist/index12.js.map +1 -0
- package/dist/index13.cjs +56 -0
- package/dist/index13.cjs.map +1 -0
- package/dist/index13.js +84 -0
- package/dist/index13.js.map +1 -0
- package/dist/index14.cjs +87 -0
- package/dist/index14.cjs.map +1 -0
- package/dist/index14.js +17 -0
- package/dist/index14.js.map +1 -0
- package/dist/index15.cjs +22 -0
- package/dist/index15.cjs.map +1 -0
- package/dist/index15.js +16 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.cjs +16 -0
- package/dist/index16.cjs.map +1 -0
- package/dist/index16.js +45 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.cjs +64 -0
- package/dist/index17.cjs.map +1 -0
- package/dist/index17.js +435 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.cjs +438 -0
- package/dist/index18.cjs.map +1 -0
- package/dist/index18.js +7 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.cjs +8 -0
- package/dist/index19.cjs.map +1 -0
- package/dist/index19.js +18 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.cjs +23 -0
- package/dist/index20.cjs +20 -0
- package/dist/index20.cjs.map +1 -0
- package/dist/index20.js +7 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.cjs +8 -0
- package/dist/index21.cjs.map +1 -0
- package/dist/index21.js +15 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.cjs +17 -0
- package/dist/index22.cjs.map +1 -0
- package/dist/index22.js +7 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.cjs +8 -0
- package/dist/index23.cjs.map +1 -0
- package/dist/index23.js +18 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.cjs +20 -0
- package/dist/index24.cjs.map +1 -0
- package/dist/index24.js +41 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.cjs +58 -0
- package/dist/index25.cjs.map +1 -0
- package/dist/index25.js +123 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.cjs +126 -0
- package/dist/index26.cjs.map +1 -0
- package/dist/index26.js +29 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.cjs +40 -0
- package/dist/index27.cjs.map +1 -0
- package/dist/index27.js +110 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.cjs +113 -0
- package/dist/index28.cjs.map +1 -0
- package/dist/index28.js +26 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.cjs +28 -0
- package/dist/index29.cjs.map +1 -0
- package/dist/index29.js +29 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +8 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.cjs +40 -0
- package/dist/index30.cjs.map +1 -0
- package/dist/index30.js +118 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.cjs +134 -0
- package/dist/index31.cjs.map +1 -0
- package/dist/index31.js +20 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.cjs +23 -0
- package/dist/index32.cjs.map +1 -0
- package/dist/index32.js +114 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.cjs +115 -0
- package/dist/index33.cjs.map +1 -0
- package/dist/index33.js +7 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.cjs +8 -0
- package/dist/index34.cjs.map +1 -0
- package/dist/index34.js +66 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.cjs +66 -0
- package/dist/index35.cjs.map +1 -0
- package/dist/index35.js +25 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.cjs +34 -0
- package/dist/index36.cjs.map +1 -0
- package/dist/index36.js +55 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.cjs +55 -0
- package/dist/index37.cjs.map +1 -0
- package/dist/index37.js +35 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.cjs +49 -0
- package/dist/index38.cjs.map +1 -0
- package/dist/index38.js +150 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.cjs +150 -0
- package/dist/index39.cjs.map +1 -0
- package/dist/index39.js +43 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.cjs +8 -0
- package/dist/index4.cjs.map +1 -0
- package/dist/index4.js +29 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.cjs +61 -0
- package/dist/index40.cjs.map +1 -0
- package/dist/index40.js +173 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.cjs +173 -0
- package/dist/index41.cjs.map +1 -0
- package/dist/index41.js +14 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.cjs +15 -0
- package/dist/index42.cjs.map +1 -0
- package/dist/index42.js +21 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.cjs +21 -0
- package/dist/index43.cjs.map +1 -0
- package/dist/index43.js +15 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.cjs +17 -0
- package/dist/index44.cjs.map +1 -0
- package/dist/index44.js +24 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.cjs +24 -0
- package/dist/index45.cjs.map +1 -0
- package/dist/index45.js +13 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.cjs +16 -0
- package/dist/index46.cjs.map +1 -0
- package/dist/index46.js +96 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.cjs +98 -0
- package/dist/index47.cjs.map +1 -0
- package/dist/index47.js +25 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.cjs +34 -0
- package/dist/index48.cjs.map +1 -0
- package/dist/index48.js +50 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.cjs +52 -0
- package/dist/index49.cjs.map +1 -0
- package/dist/index5.cjs +40 -0
- package/dist/index5.cjs.map +1 -0
- package/dist/index5.js +45 -0
- package/dist/index5.js.map +1 -0
- package/dist/index6.cjs +47 -0
- package/dist/index6.cjs.map +1 -0
- package/dist/index6.js +17 -0
- package/dist/index6.js.map +1 -0
- package/dist/index7.cjs +20 -0
- package/dist/index7.cjs.map +1 -0
- package/dist/index7.js +30 -0
- package/dist/index7.js.map +1 -0
- package/dist/index8.cjs +35 -0
- package/dist/index8.cjs.map +1 -0
- package/dist/index8.js +18 -0
- package/dist/index8.js.map +1 -0
- package/dist/index9.cjs +20 -0
- package/dist/index9.cjs.map +1 -0
- package/dist/index9.js +26 -0
- package/dist/index9.js.map +1 -0
- package/dist/style.css +2109 -1
- package/package.json +1 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface AuthCardProps {
|
|
3
|
+
/** Title displayed at the top of the card. */
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
/** Subtitle displayed below the title. */
|
|
6
|
+
subtitle?: React.ReactNode;
|
|
7
|
+
/** Primary form content rendered in the card body. */
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/** Footer links rendered below the divider (e.g., "No account? Sign up"). */
|
|
10
|
+
footer?: React.ReactNode;
|
|
11
|
+
/** Optional brand/logo element rendered above the title. */
|
|
12
|
+
brand?: React.ReactNode;
|
|
13
|
+
/** Additional class name for the outer wrapper. */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* AuthCard — a centered card layout for auth pages.
|
|
18
|
+
*
|
|
19
|
+
* - Centered vertically and horizontally on screen
|
|
20
|
+
* - Brand → title → subtitle → form → divider → footer
|
|
21
|
+
* - No auth logic — just the visual template
|
|
22
|
+
*/
|
|
23
|
+
export declare const AuthCard: React.ForwardRefExoticComponent<AuthCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
//# sourceMappingURL=AuthCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthCard.d.ts","sourceRoot":"","sources":["../../../src/components/auth-card/AuthCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,sDAAsD;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6EAA6E;IAC7E,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,sFAqBpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthCard.test.d.ts","sourceRoot":"","sources":["../../../src/components/auth-card/AuthCard.test.tsx"],"names":[],"mappings":""}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,68 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require("react");c=s(c,1);let l=require("@radix-ui/react-slot"),u=require("react/jsx-runtime"),d=require("@radix-ui/react-avatar");d=s(d,1);let f=require("@radix-ui/react-dialog");f=s(f,1);let p=require("@radix-ui/react-toast");p=s(p,1);let m=require("@radix-ui/react-dropdown-menu");m=s(m,1);let h=require("@radix-ui/react-select");h=s(h,1);function g(...e){return e.filter(Boolean).join(` `)}var _={button:`uzi-button-module__button__5dzDN`,sizeSm:`uzi-button-module__sizeSm__jb544`,sizeMd:`uzi-button-module__sizeMd__lIo8M`,sizeLg:`uzi-button-module__sizeLg__QSSuW`,sizeIcon:`uzi-button-module__sizeIcon__Aa9tN`,variantPrimary:`uzi-button-module__variantPrimary__zp2Pg`,variantSecondary:`uzi-button-module__variantSecondary__oX5CB`,variantOutline:`uzi-button-module__variantOutline__uXfiP`,variantGhost:`uzi-button-module__variantGhost__-OEB8`,variantDestructive:`uzi-button-module__variantDestructive__5IeYA`,variantLink:`uzi-button-module__variantLink__Olx4I`},v={default:`variantPrimary`,primary:`variantPrimary`,secondary:`variantSecondary`,outline:`variantOutline`,ghost:`variantGhost`,destructive:`variantDestructive`,link:`variantLink`},y={default:`sizeMd`,sm:`sizeSm`,md:`sizeMd`,lg:`sizeLg`,icon:`sizeIcon`};function b({as:e,variant:t=`default`,size:n=`default`,className:r,children:i,asChild:a=!1,...o}){let s=g(_.button,_[v[t]],_[y[n]],r);return a?(0,u.jsx)(l.Slot,{className:s,...o,children:i}):e===`a`?(0,u.jsx)(`a`,{className:s,...o,children:i}):(0,u.jsx)(`button`,{type:`button`,className:s,...o,children:i})}var x={avatar:`uzi-avatar-module__avatar__yPIOs`,"size-sm":`uzi-avatar-module__size-sm__v5riJ`,"size-md":`uzi-avatar-module__size-md__g7IQS`,"size-lg":`uzi-avatar-module__size-lg__Ca4xk`,"size-xl":`uzi-avatar-module__size-xl__K0Dfk`,image:`uzi-avatar-module__image__Ngo7A`,fallback:`uzi-avatar-module__fallback__Tf3oZ`};function S({className:e,size:t=`md`,...n}){let r=t===`sm`?x[`size-sm`]:t===`lg`?x[`size-lg`]:t===`xl`?x[`size-xl`]:x[`size-md`];return(0,u.jsx)(d.Root,{className:g(x.avatar,r,e),...n})}function C({className:e,...t}){return(0,u.jsx)(d.Image,{className:g(x.image,e),...t})}function w({className:e,...t}){return(0,u.jsx)(d.Fallback,{className:g(x.fallback,e),...t})}var T={card:`uzi-card-module__card__ZPFTz`,"tone-default":`uzi-card-module__tone-default__7Ujf9`,"tone-muted":`uzi-card-module__tone-muted__RQy5B`,"tone-contrast":`uzi-card-module__tone-contrast__JpFxL`,interactive:`uzi-card-module__interactive__zlPML`,"padding-none":`uzi-card-module__padding-none__LXdx-`,"padding-sm":`uzi-card-module__padding-sm__-Ub1s`,"padding-md":`uzi-card-module__padding-md__kUf46`,"padding-lg":`uzi-card-module__padding-lg__a5mWP`};function E({as:e,tone:t=`default`,padding:n=`md`,interactive:r=!1,className:i,children:a,...o}){let s=e??`div`,c={default:null,muted:`tone-muted`,contrast:`tone-contrast`};return(0,u.jsx)(s,{className:g(T.card,c[t]?T[c[t]]:null,T[{none:`padding-none`,sm:`padding-sm`,md:`padding-md`,lg:`padding-lg`}[n]],r&&T.interactive,i),...o,children:a})}var D={pill:`uzi-pill-module__pill__uCKcP`,"size-sm":`uzi-pill-module__size-sm__JANOQ`,"size-md":`uzi-pill-module__size-md__fdsqR`,"tone-success":`uzi-pill-module__tone-success__kW2Kf`,"tone-warning":`uzi-pill-module__tone-warning__Rc5-s`,"tone-info":`uzi-pill-module__tone-info__0vQrj`,"tone-danger":`uzi-pill-module__tone-danger__gzNOa`,icon:`uzi-pill-module__icon__KQ8zg`,content:`uzi-pill-module__content__T7AG1`};function O({as:e,tone:t=`neutral`,size:n=`md`,icon:r,className:i,children:a,...o}){return(0,u.jsxs)(e??`span`,{className:g(D.pill,D[`tone-${t}`],D[`size-${n}`],i),...o,children:[r?(0,u.jsx)(`span`,{className:D.icon,"aria-hidden":`true`,children:r}):null,(0,u.jsx)(`span`,{className:D.content,children:a})]})}var k={portalLayer:`uzi-modal-module__portalLayer__t7blc`,backdrop:`uzi-modal-module__backdrop__IMd3b`,backdropFadeIn:`uzi-modal-module__backdropFadeIn__GNJdx`,backdropFadeOut:`uzi-modal-module__backdropFadeOut__R-3K5`,overlayContent:`uzi-modal-module__overlayContent__0DtbP`,modalContentIn:`uzi-modal-module__modalContentIn__fub8M`,modalContentOut:`uzi-modal-module__modalContentOut__elTJ3`,modal:`uzi-modal-module__modal__Mao59`,"size-sm":`uzi-modal-module__size-sm__Uu9je`,"size-md":`uzi-modal-module__size-md__TiiWy`,"size-lg":`uzi-modal-module__size-lg__BrTIO`,"size-xl":`uzi-modal-module__size-xl__sj0mh`,header:`uzi-modal-module__header__PmCaO`,titles:`uzi-modal-module__titles__IboyQ`,title:`uzi-modal-module__title__Zd7pL`,subtitle:`uzi-modal-module__subtitle__t-LRK`,closeButton:`uzi-modal-module__closeButton__GTiZr`,body:`uzi-modal-module__body__km6FQ`,footer:`uzi-modal-module__footer__jWLTv`};function A({open:e,onClose:t,className:n,children:r}){return(0,u.jsx)(f.Root,{open:e,onOpenChange:e=>{e||t()},children:(0,u.jsx)(f.Portal,{children:(0,u.jsxs)(`div`,{className:k.portalLayer,children:[(0,u.jsx)(f.Overlay,{className:g(k.backdrop,n)}),(0,u.jsx)(f.Content,{className:k.overlayContent,children:r})]})})})}function j({open:e,onClose:t,title:n,subtitle:r,size:i=`md`,children:a,footer:o}){return(0,u.jsx)(A,{open:e,onClose:t,children:(0,u.jsxs)(`div`,{className:g(k.modal,k[`size-${i}`]),children:[(0,u.jsxs)(`div`,{className:k.header,children:[(0,u.jsxs)(`div`,{className:k.titles,children:[(0,u.jsx)(f.Title,{className:k.title,children:n}),r?(0,u.jsx)(f.Description,{className:k.subtitle,children:r}):null]}),(0,u.jsx)(f.Close,{asChild:!0,children:(0,u.jsx)(`button`,{className:k.closeButton,"aria-label":`Close`,children:(0,u.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,u.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,u.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})})]}),(0,u.jsx)(`div`,{className:k.body,children:a}),o&&(0,u.jsx)(`div`,{className:k.footer,children:o})]})})}var M={alert:`uzi-alert-module__alert__7Bt6c`,success:`uzi-alert-module__success__apdFG`,error:`uzi-alert-module__error__KLgi1`,warning:`uzi-alert-module__warning__F4fpk`,info:`uzi-alert-module__info__1IKHt`};function N({tone:e,children:t,className:n}){return(0,u.jsx)(`div`,{className:g(M.alert,M[e],n),role:`alert`,children:t})}var P={stack:`uzi-toast-module__stack__SRrda`,topRight:`uzi-toast-module__topRight__WiZzM`,topLeft:`uzi-toast-module__topLeft__SzFS9`,topCenter:`uzi-toast-module__topCenter__X5W-x`,bottomRight:`uzi-toast-module__bottomRight__DMtoS`,bottomLeft:`uzi-toast-module__bottomLeft__ZZ7VF`,bottomCenter:`uzi-toast-module__bottomCenter__QNJrM`,toast:`uzi-toast-module__toast__HNUcj`,toastSlideIn:`uzi-toast-module__toastSlideIn__BTXfm`,toastSlideOut:`uzi-toast-module__toastSlideOut__mBX-G`,toastSwipeOut:`uzi-toast-module__toastSwipeOut__R-jk2`,icon:`uzi-toast-module__icon__LIAqr`,body:`uzi-toast-module__body__9vzs7`,message:`uzi-toast-module__message__TBY65`,actions:`uzi-toast-module__actions__Iykd9`,actionButton:`uzi-toast-module__actionButton__cvUr0`,controls:`uzi-toast-module__controls__LqA4Q`,iconButton:`uzi-toast-module__iconButton__FOsOp`,iconButtonError:`uzi-toast-module__iconButtonError__NJsLX`},F={position:`top-right`,maxToasts:5,defaultDuration:4e3,pauseOnHover:!0,pauseOnFocusLoss:!0},I=(0,c.createContext)(void 0),ee=0,te=()=>`toast-${++ee}-${Date.now()}`;function L({children:e,config:t}){let[n,r]=(0,c.useState)([]),[i,a]=(0,c.useState)(!1),o=(0,c.useMemo)(()=>({...F,...t}),[t]),s=(0,c.useCallback)((e,t={})=>{let n=te();return r(r=>{let i=[...r,{id:n,message:e,type:t.type??`info`,duration:t.duration??(t.type===`error`?6e3:o.defaultDuration),dismissible:t.dismissible??!0,copyable:t.copyable??!1,action:t.action}];return i.length>o.maxToasts&&i.shift(),i}),n},[o.defaultDuration,o.maxToasts]),l=(0,c.useCallback)((e,t)=>s(e,{...t,type:`success`}),[s]),d=(0,c.useCallback)((e,t)=>s(e,{copyable:!0,...t,type:`error`}),[s]),f=(0,c.useCallback)((e,t)=>s(e,{...t,type:`warning`}),[s]),m=(0,c.useCallback)((e,t)=>s(e,{...t,type:`info`}),[s]),h=(0,c.useCallback)(e=>{r(t=>t.filter(t=>t.id!==e))},[]),g=(0,c.useCallback)(()=>r([]),[]);(0,c.useEffect)(()=>{if(!o.pauseOnFocusLoss)return;let e=()=>a(document.visibilityState!==`visible`);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[o.pauseOnFocusLoss]);let _=(0,c.useMemo)(()=>({toasts:n,push:s,success:l,error:d,warning:f,info:m,dismiss:h,dismissAll:g}),[n,s,l,d,f,m,h,g]);return(0,u.jsx)(I.Provider,{value:_,children:(0,u.jsxs)(p.Provider,{swipeDirection:`right`,children:[e,(0,u.jsx)(re,{toasts:n,position:o.position,pauseOnHover:o.pauseOnHover,isPaused:i,onDismiss:h,onPauseChange:a})]})})}function ne(){let e=(0,c.useContext)(I);if(!e)throw Error(`useToast must be used within a ToastProvider`);return e}function re({toasts:e,position:t,pauseOnHover:n,isPaused:r,onDismiss:i,onPauseChange:a}){let o=(()=>{switch(t){case`top-left`:return`topLeft`;case`top-center`:return`topCenter`;case`bottom-right`:return`bottomRight`;case`bottom-left`:return`bottomLeft`;case`bottom-center`:return`bottomCenter`;default:return`topRight`}})();return(0,u.jsxs)(u.Fragment,{children:[e.map(e=>(0,u.jsx)(ie,{toast:e,isPaused:r,onDismiss:i},e.id)),(0,u.jsx)(p.Viewport,{className:g(P.stack,P[o]),label:`Notifications`,onMouseEnter:()=>n&&a(!0),onMouseLeave:()=>n&&a(!1)})]})}function ie({toast:e,isPaused:t,onDismiss:n}){let[r,i]=(0,c.useState)(!0),[a,o]=(0,c.useState)(`idle`),s=(0,c.useRef)(null),l=(0,c.useRef)(null),d=(0,c.useRef)(0),f=(0,c.useRef)(e.duration??0),m=(0,c.useRef)(!1),h=ae(e.type),_={"--toast-bg":h.background,"--toast-border":h.border,"--toast-accent":h.accent,"--toast-text":h.text,"--toast-action-bg":h.actionBg,"--toast-action-border":h.actionBorder},v=()=>{l.current&&=(window.clearTimeout(l.current),null)},y=(0,c.useCallback)(()=>{m.current||(m.current=!0,i(!1),v(),window.setTimeout(()=>n(e.id),160))},[n,e.id]),b=(0,c.useCallback)(e=>{if(!e||e<=0){y();return}d.current=performance.now(),v(),l.current=window.setTimeout(()=>y(),e)},[y]);(0,c.useEffect)(()=>{if(!(!e.duration||e.duration<=0))return b(e.duration),v},[b,e.duration]),(0,c.useEffect)(()=>{if(!(!e.duration||e.duration<=0))if(t){let e=performance.now()-d.current;f.current=Math.max(0,f.current-e),v()}else b(f.current)},[t,b,e.duration]),(0,c.useEffect)(()=>()=>{s.current&&window.clearTimeout(s.current)},[]);let x=(0,c.useCallback)(async()=>{s.current&&window.clearTimeout(s.current);try{if(!navigator.clipboard)throw Error(`Clipboard API unavailable`);await navigator.clipboard.writeText(e.message),o(`copied`)}catch{o(`failed`)}s.current=window.setTimeout(()=>o(`idle`),1800)},[e.message]),S=oe(e.type);return(0,u.jsxs)(p.Root,{open:r,onOpenChange:e=>{e||y()},duration:2147483647,className:P.toast,style:_,children:[(0,u.jsx)(`span`,{className:P.icon,"aria-hidden":!0,children:S}),(0,u.jsxs)(`div`,{className:P.body,children:[(0,u.jsx)(p.Description,{className:P.message,children:e.message}),e.action&&(0,u.jsx)(`div`,{className:P.actions,children:(0,u.jsx)(p.Action,{asChild:!0,altText:e.action.label,children:(0,u.jsx)(`button`,{type:`button`,className:P.actionButton,onClick:()=>{e.action?.onClick(),y()},children:e.action.label})})})]}),(0,u.jsxs)(`div`,{className:P.controls,children:[e.copyable&&(0,u.jsx)(`button`,{type:`button`,className:g(P.iconButton,a===`failed`&&P.iconButtonError),"aria-label":`Copy message`,onClick:x,children:a===`copied`?(0,u.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 13 13`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M2 6.5l3 3 6-6`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}):a===`failed`?(0,u.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 13 13`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M10 3L3 10M3 3l7 7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})}):(0,u.jsxs)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 13 13`,fill:`none`,"aria-hidden":!0,children:[(0,u.jsx)(`rect`,{x:`4.5`,y:`1.5`,width:`7`,height:`7`,rx:`1.5`,stroke:`currentColor`,strokeWidth:`1.25`}),(0,u.jsx)(`path`,{d:`M1.5 5.5v5a1.5 1.5 0 001.5 1.5h5`,stroke:`currentColor`,strokeWidth:`1.25`,strokeLinecap:`round`})]})}),e.dismissible!==!1&&(0,u.jsx)(p.Close,{asChild:!0,children:(0,u.jsx)(`button`,{type:`button`,className:P.iconButton,"aria-label":`Dismiss notification`,children:(0,u.jsx)(`svg`,{width:`13`,height:`13`,viewBox:`0 0 13 13`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M10 3L3 10M3 3l7 7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`})})})})]})]})}function ae(e){switch(e){case`success`:return{background:`color-mix(in srgb, var(--success) 12%, var(--popover))`,border:`color-mix(in srgb, var(--success) 30%, transparent)`,accent:`var(--success)`,text:`var(--popover-foreground)`,actionBg:`color-mix(in srgb, var(--success) 14%, transparent)`,actionBorder:`color-mix(in srgb, var(--success) 35%, transparent)`};case`error`:return{background:`color-mix(in srgb, var(--destructive) 12%, var(--popover))`,border:`color-mix(in srgb, var(--destructive) 30%, transparent)`,accent:`var(--destructive)`,text:`var(--popover-foreground)`,actionBg:`color-mix(in srgb, var(--destructive) 14%, transparent)`,actionBorder:`color-mix(in srgb, var(--destructive) 35%, transparent)`};case`warning`:return{background:`color-mix(in srgb, var(--warning) 12%, var(--popover))`,border:`color-mix(in srgb, var(--warning) 30%, transparent)`,accent:`var(--warning)`,text:`var(--popover-foreground)`,actionBg:`color-mix(in srgb, var(--warning) 14%, transparent)`,actionBorder:`color-mix(in srgb, var(--warning) 35%, transparent)`};default:return{background:`color-mix(in srgb, var(--primary) 12%, var(--popover))`,border:`color-mix(in srgb, var(--primary) 30%, transparent)`,accent:`var(--primary)`,text:`var(--popover-foreground)`,actionBg:`color-mix(in srgb, var(--primary) 14%, transparent)`,actionBorder:`color-mix(in srgb, var(--primary) 35%, transparent)`}}}function oe(e){switch(e){case`success`:return(0,u.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M3 8l3.5 3.5L13 4.5`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`,strokeLinejoin:`round`})});case`error`:return(0,u.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M4 4l8 8M12 4l-8 8`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`})});case`warning`:return(0,u.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M8 3v6M8 11.5v1`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`})});default:return(0,u.jsx)(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,"aria-hidden":!0,children:(0,u.jsx)(`path`,{d:`M8 7v5M8 4.5v.5`,stroke:`currentColor`,strokeWidth:`1.75`,strokeLinecap:`round`})})}}var se={input:`uzi-input-module__input__-ipHD`},R=c.forwardRef(({className:e,type:t,...n},r)=>(0,u.jsx)(`input`,{ref:r,type:t,className:g(se.input,e),...n}));R.displayName=`Input`;var ce={label:`uzi-label-module__label__gKflt`},z=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(`label`,{ref:n,className:g(ce.label,e),...t}));z.displayName=`Label`;var le={checkbox:`uzi-checkbox-module__checkbox__zAB1y`},B=c.forwardRef(({className:e,...t},n)=>(0,u.jsx)(`input`,{ref:n,type:`checkbox`,className:g(le.checkbox,e),...t}));B.displayName=`Checkbox`;var V={wrapper:`uzi-multi-select-module__wrapper__Izj2x`,wrapperFullWidth:`uzi-multi-select-module__wrapperFullWidth__eH8pf`,trigger:`uzi-multi-select-module__trigger__r3816`,value:`uzi-multi-select-module__value__PuUmG`,placeholder:`uzi-multi-select-module__placeholder__dJIU-`,chip:`uzi-multi-select-module__chip__46Ms-`,chipSummary:`uzi-multi-select-module__chipSummary__zLwi8`,chevron:`uzi-multi-select-module__chevron__SWK5l`,menu:`uzi-multi-select-module__menu__q8auA`,menuFadeIn:`uzi-multi-select-module__menuFadeIn__Plo7-`,option:`uzi-multi-select-module__option__-Ioqk`,optionDisabled:`uzi-multi-select-module__optionDisabled__qtCi8`,optionSelected:`uzi-multi-select-module__optionSelected__74IO8`,optionLabel:`uzi-multi-select-module__optionLabel__cVoN7`,indicator:`uzi-multi-select-module__indicator__NO-WE`,indicatorSelected:`uzi-multi-select-module__indicatorSelected__9sEAy`,indicatorDisabled:`uzi-multi-select-module__indicatorDisabled__vqdiH`},H=c.forwardRef(({options:e,value:t,onChange:n,placeholder:r=`Select options`,fullWidth:i=!0,maxVisibleValues:a=2,className:o,disabled:s=!1,name:l,"aria-label":d,"aria-labelledby":f},p)=>{let h=c.useMemo(()=>new Set(t),[t]),_=c.useMemo(()=>e.filter(e=>h.has(e.value)),[e,h]),v=c.useCallback(e=>{if(h.has(e)){n(t.filter(t=>t!==e));return}n([...t,e])},[n,h,t]),y=Math.max(1,a),b=_.slice(0,y),x=Math.max(0,_.length-b.length);return(0,u.jsx)(m.Root,{modal:!1,children:(0,u.jsxs)(`div`,{className:g(V.wrapper,i&&V.wrapperFullWidth,o),children:[(0,u.jsx)(m.Trigger,{asChild:!0,children:(0,u.jsxs)(`button`,{ref:p,type:`button`,className:V.trigger,"aria-label":d,"aria-labelledby":f,disabled:s,children:[(0,u.jsx)(`span`,{className:V.value,children:_.length===0?(0,u.jsx)(`span`,{className:V.placeholder,children:r}):(0,u.jsxs)(u.Fragment,{children:[b.map(e=>(0,u.jsx)(`span`,{className:V.chip,children:e.label},e.value)),x>0?(0,u.jsxs)(`span`,{className:g(V.chip,V.chipSummary),children:[`+`,x]}):null]})}),(0,u.jsx)(`span`,{className:V.chevron,"aria-hidden":`true`,children:(0,u.jsx)(`svg`,{viewBox:`0 0 10 10`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,width:`10`,height:`10`,children:(0,u.jsx)(`path`,{d:`M2 3.5L5 6.5L8 3.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]})}),l?t.map(e=>(0,u.jsx)(`input`,{type:`hidden`,name:l,value:e},e)):null,(0,u.jsx)(m.Portal,{children:(0,u.jsx)(m.Content,{className:V.menu,sideOffset:4,align:`start`,children:e.map(e=>{let t=h.has(e.value);return(0,u.jsxs)(m.CheckboxItem,{className:g(V.option,t&&V.optionSelected,e.disabled&&V.optionDisabled),checked:t,disabled:e.disabled,onCheckedChange:()=>v(e.value),onSelect:e=>e.preventDefault(),children:[(0,u.jsx)(`span`,{className:g(V.indicator,t&&V.indicatorSelected,e.disabled&&V.indicatorDisabled),"aria-hidden":`true`,children:(0,u.jsx)(m.ItemIndicator,{forceMount:!0,children:(0,u.jsx)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,u.jsx)(`path`,{d:`M3.5 8.5 6.5 11.5 12.5 4.5`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),(0,u.jsx)(`span`,{className:V.optionLabel,children:e.label})]},e.value)})})})]})})});H.displayName=`MultiSelect`;var U={wrapper:`uzi-select-module__wrapper__7szq0`,wrapperFullWidth:`uzi-select-module__wrapperFullWidth__IyOIG`,trigger:`uzi-select-module__trigger__ldh8w`,value:`uzi-select-module__value__FTUJh`,chevron:`uzi-select-module__chevron__U6HXS`,content:`uzi-select-module__content__pOWWy`,selectFadeIn:`uzi-select-module__selectFadeIn__Z-yKX`,viewport:`uzi-select-module__viewport__VGZM6`,item:`uzi-select-module__item__6uM6-`,indicator:`uzi-select-module__indicator__ZHcg5`,indicatorIcon:`uzi-select-module__indicatorIcon__kOV2G`},W=`__uzi_select_empty__`,G=c.forwardRef(({options:e,value:t,onChange:n,placeholder:r,allowEmptyOption:i=!1,fullWidth:a=!0,className:o,id:s,name:c,disabled:l,required:d,autoComplete:f,form:p,title:m,"aria-label":_,"aria-labelledby":v,onBlur:y,onFocus:b},x)=>(0,u.jsx)(`div`,{className:g(U.wrapper,a&&U.wrapperFullWidth,o),children:(0,u.jsxs)(h.Root,{value:t,onValueChange:e=>n(e===W?``:e),name:c,disabled:l,required:d,autoComplete:f,form:p,children:[(0,u.jsxs)(h.Trigger,{ref:x,id:s,className:U.trigger,title:m,"aria-label":_,"aria-labelledby":v,onBlur:y,onFocus:b,children:[(0,u.jsx)(h.Value,{className:U.value,placeholder:r}),(0,u.jsx)(h.Icon,{className:U.chevron,"aria-hidden":`true`,children:(0,u.jsx)(`svg`,{viewBox:`0 0 10 10`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,width:`10`,height:`10`,children:(0,u.jsx)(`path`,{d:`M2 3.5L5 6.5L8 3.5`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})})})]}),(0,u.jsx)(h.Portal,{children:(0,u.jsx)(h.Content,{className:U.content,position:`popper`,sideOffset:4,align:`start`,children:(0,u.jsxs)(h.Viewport,{className:U.viewport,children:[r&&i?(0,u.jsxs)(h.Item,{value:W,className:U.item,children:[(0,u.jsx)(`span`,{className:U.indicator,children:(0,u.jsx)(h.ItemIndicator,{children:(0,u.jsx)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,"aria-hidden":`true`,className:U.indicatorIcon,children:(0,u.jsx)(`path`,{d:`M3.5 8.5 6.5 11.5 12.5 4.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),(0,u.jsx)(h.ItemText,{children:r})]}):null,e.map(e=>(0,u.jsxs)(h.Item,{value:e.value,disabled:e.disabled,className:U.item,children:[(0,u.jsx)(`span`,{className:U.indicator,children:(0,u.jsx)(h.ItemIndicator,{children:(0,u.jsx)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,"aria-hidden":`true`,className:U.indicatorIcon,children:(0,u.jsx)(`path`,{d:`M3.5 8.5 6.5 11.5 12.5 4.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),(0,u.jsx)(h.ItemText,{children:e.label})]},e.value))]})})})]})}));G.displayName=`Select`;var K=c.forwardRef(({options:e,value:t,onChange:n,placeholder:r=`All`,allowClear:i=!0,...a},o)=>(0,u.jsx)(G,{ref:o,options:e,value:t,onChange:n,placeholder:r,allowEmptyOption:i,fullWidth:!1,...a}));K.displayName=`Dropdown`;var q={content:`uzi-dropdown-menu-module__content__n-ElH`,menuFadeIn:`uzi-dropdown-menu-module__menuFadeIn__ITxMo`,item:`uzi-dropdown-menu-module__item__tBNtW`,itemDestructive:`uzi-dropdown-menu-module__itemDestructive__oWmKd`,insetItem:`uzi-dropdown-menu-module__insetItem__g7ONJ`,indicator:`uzi-dropdown-menu-module__indicator__5qwFh`,indicatorIcon:`uzi-dropdown-menu-module__indicatorIcon__nhJMw`,radioDot:`uzi-dropdown-menu-module__radioDot__GWUVT`,label:`uzi-dropdown-menu-module__label__sFnNR`,separator:`uzi-dropdown-menu-module__separator__PgUob`,chevron:`uzi-dropdown-menu-module__chevron__kxfiF`};function ue(e){return(0,u.jsx)(m.Root,{...e})}function de(e){return(0,u.jsx)(m.Trigger,{...e})}function fe(e){return(0,u.jsx)(m.Group,{...e})}function pe(e){return(0,u.jsx)(m.Portal,{...e})}function me(e){return(0,u.jsx)(m.Sub,{...e})}function he(e){return(0,u.jsx)(m.RadioGroup,{...e})}function ge({className:e,sideOffset:t=4,...n}){return(0,u.jsx)(m.Portal,{children:(0,u.jsx)(m.Content,{sideOffset:t,className:g(q.content,e),...n})})}function _e({className:e,inset:t,variant:n=`default`,...r}){return(0,u.jsx)(m.Item,{"data-inset":t?`true`:void 0,className:g(q.item,n===`destructive`&&q.itemDestructive,e),...r})}function ve({className:e,children:t,...n}){return(0,u.jsxs)(m.CheckboxItem,{className:g(q.item,q.insetItem,e),...n,children:[(0,u.jsx)(`span`,{className:q.indicator,children:(0,u.jsx)(m.ItemIndicator,{children:(0,u.jsx)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,"aria-hidden":`true`,className:q.indicatorIcon,children:(0,u.jsx)(`path`,{d:`M3.5 8.5 6.5 11.5 12.5 4.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}),t]})}function ye({className:e,children:t,...n}){return(0,u.jsxs)(m.RadioItem,{className:g(q.item,q.insetItem,e),...n,children:[(0,u.jsx)(`span`,{className:q.indicator,children:(0,u.jsx)(m.ItemIndicator,{children:(0,u.jsx)(`span`,{className:q.radioDot})})}),t]})}function be({className:e,inset:t,...n}){return(0,u.jsx)(m.Label,{"data-inset":t?`true`:void 0,className:g(q.label,e),...n})}function xe({className:e,...t}){return(0,u.jsx)(m.Separator,{className:g(q.separator,e),...t})}function Se({className:e,inset:t,children:n,...r}){return(0,u.jsxs)(m.SubTrigger,{"data-inset":t?`true`:void 0,className:g(q.item,e),...r,children:[n,(0,u.jsx)(`svg`,{viewBox:`0 0 16 16`,width:`16`,height:`16`,"aria-hidden":`true`,className:q.chevron,children:(0,u.jsx)(`path`,{d:`M6 3.5 10.5 8 6 12.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`})})]})}function Ce({className:e,...t}){return(0,u.jsx)(m.SubContent,{className:g(q.content,e),...t})}var we=[`light`,`dark`,`system`],Te=[`blue`,`cyan`,`violet`,`emerald`,`amber`,`rose`],Ee=`uzi-theme`,De=`uzi-accent`,Oe=Ee,ke=De,Ae=`data-uzi-theme`,je=`data-uzi-accent`,J=(0,c.createContext)(void 0);function Me(e){return we.includes(e)}function Ne(e){return Te.includes(e)}function Pe(){return typeof window>`u`?`light`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function Fe({children:e,theme:t,defaultTheme:n=`system`,accent:r,defaultAccent:i=`blue`,onThemeChange:a,onAccentChange:o,storageKey:s=Oe,accentStorageKey:l=ke,disableStorage:d=!1,toastConfig:f}){let[p,m]=(0,c.useState)(n),[h,g]=(0,c.useState)(i),[_,v]=(0,c.useState)(`light`);(0,c.useEffect)(()=>{if(v(Pe()),!d){let e=window.localStorage.getItem(s);Me(e)&&m(e);let t=window.localStorage.getItem(l);Ne(t)&&g(t)}},[d,s,l]);let y=t!==void 0,b=r!==void 0,x=y?t:p,S=b?r:h,C=x===`system`?_:x;(0,c.useEffect)(()=>{if(typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`),t=()=>v(e.matches?`dark`:`light`);return t(),e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)},[]),(0,c.useEffect)(()=>{if(typeof document>`u`)return;let e=document.documentElement;e.setAttribute(Ae,C),e.setAttribute(je,S),e.style.colorScheme=C,e.classList.toggle(`dark`,C===`dark`)},[S,C]);let w=(0,c.useCallback)(e=>{y||m(e),!d&&typeof window<`u`&&window.localStorage.setItem(s,e),a?.(e)},[d,y,a,s]),T=(0,c.useCallback)(e=>{b||g(e),!d&&typeof window<`u`&&window.localStorage.setItem(l,e),o?.(e)},[l,d,b,o]),E=(0,c.useCallback)(()=>{w(C===`dark`?`light`:`dark`)},[C,w]),D=(0,c.useMemo)(()=>({theme:x,resolvedTheme:C,accent:S,setTheme:w,setAccent:T,toggleTheme:E}),[S,x,C,T,w,E]);return(0,u.jsx)(J.Provider,{value:D,children:(0,u.jsx)(L,{config:f,children:e})})}function Ie(){let e=(0,c.useContext)(J);if(!e)throw Error(`useTheme must be used within a ThemeProvider`);return e}var Le={withLabel:`uzi-theme-toggle-button-module__withLabel__KqtDj`};function Re(){return(0,u.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,width:`16`,height:`16`,fill:`none`,children:(0,u.jsx)(`path`,{d:`M20 15.2A8.5 8.5 0 0 1 8.8 4 9 9 0 1 0 20 15.2Z`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function ze(){return(0,u.jsxs)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,width:`16`,height:`16`,fill:`none`,children:[(0,u.jsx)(`circle`,{cx:`12`,cy:`12`,r:`4`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,u.jsx)(`path`,{d:`M12 2.75v2.5M12 18.75v2.5M21.25 12h-2.5M5.25 12h-2.5M18.54 5.46l-1.77 1.77M7.23 16.77l-1.77 1.77M18.54 18.54l-1.77-1.77M7.23 7.23 5.46 5.46`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`})]})}function Be({showLabel:e=!1,lightLabel:t=`Light mode`,darkLabel:n=`Dark mode`,className:r,onClick:i,...a}){let{resolvedTheme:o,toggleTheme:s}=Ie(),c=o===`dark`?t:n;return(0,u.jsxs)(b,{type:`button`,variant:`ghost`,size:e?`sm`:`icon`,className:g(e&&Le.withLabel,r),"aria-label":`Switch to ${c.toLowerCase()}`,title:`Switch to ${c.toLowerCase()}`,onClick:e=>{i?.(e),e.defaultPrevented||s()},...a,children:[o===`dark`?(0,u.jsx)(ze,{}):(0,u.jsx)(Re,{}),e&&(0,u.jsx)(`span`,{children:c})]})}var Y={topBar:`uzi-top-bar-module__topBar__MJ-7S`,topBarStatic:`uzi-top-bar-module__topBarStatic__JvEwt`,topBarInner:`uzi-top-bar-module__topBarInner__PBbi8`,topBarStart:`uzi-top-bar-module__topBarStart__DrdN2`,topBarBrand:`uzi-top-bar-module__topBarBrand__80VV3`,topBarBrandContent:`uzi-top-bar-module__topBarBrandContent__O4Uto`,topBarCenter:`uzi-top-bar-module__topBarCenter__Kwxg-`,topBarCenterGroup:`uzi-top-bar-module__topBarCenterGroup__7Ishp`,topBarActions:`uzi-top-bar-module__topBarActions__mgMd8`};function Ve({leading:e,brand:t,brandHref:n,brandingLocation:r=`left`,start:i,center:a,actions:o,showThemeToggle:s=!1,themeToggleProps:c,className:l,innerClassName:d,isSticky:f,sticky:p=!0,children:m,...h}){let _=f??p,v=t?n?(0,u.jsx)(`a`,{href:n,className:Y.topBarBrand,children:(0,u.jsx)(`span`,{className:Y.topBarBrandContent,children:t})}):(0,u.jsx)(`div`,{className:Y.topBarBrand,children:(0,u.jsx)(`span`,{className:Y.topBarBrandContent,children:t})}):null;return(0,u.jsx)(`header`,{className:g(Y.topBar,!_&&Y.topBarStatic,l),...h,children:(0,u.jsxs)(`div`,{className:g(Y.topBarInner,d),children:[(0,u.jsxs)(`div`,{className:Y.topBarStart,children:[e,r===`left`&&v,i]}),v&&r===`center`||a||m?(0,u.jsx)(`div`,{className:Y.topBarCenter,children:(0,u.jsxs)(`div`,{className:Y.topBarCenterGroup,children:[r===`center`&&v,a??m]})}):null,(0,u.jsxs)(`div`,{className:Y.topBarActions,children:[s&&(0,u.jsx)(Be,{...c}),o]})]})})}var X={appShell:`uzi-app-shell-module__appShell__S0cVI`,appShellAnimated:`uzi-app-shell-module__appShellAnimated__-CRIl`,appShellOpen:`uzi-app-shell-module__appShellOpen__1rZUl`,appShellCollapsed:`uzi-app-shell-module__appShellCollapsed__fSasN`,appShellTopbar:`uzi-app-shell-module__appShellTopbar__rgXsW`,appShellTopbarLeft:`uzi-app-shell-module__appShellTopbarLeft__-EVuB`,appShellTopbarStart:`uzi-app-shell-module__appShellTopbarStart__XXQpq`,appShellTopbarRight:`uzi-app-shell-module__appShellTopbarRight__l1G57`,appShellBrand:`uzi-app-shell-module__appShellBrand__TXwyN`,appShellHamburger:`uzi-app-shell-module__appShellHamburger__BciFA`,appShellSidebar:`uzi-app-shell-module__appShellSidebar__oY7uj`,appShellMain:`uzi-app-shell-module__appShellMain__eHP2r`,appShellBackdrop:`uzi-app-shell-module__appShellBackdrop__y31xs`,appShellSidebarOpen:`uzi-app-shell-module__appShellSidebarOpen__Z5AIo`},He=960;function Ue(){return typeof window>`u`?!1:window.innerWidth>=He}function We({children:e,sidebar:t,brand:n,brandHref:r,topbarStart:i,topbarEnd:a,showThemeToggle:o=!1,themeToggleProps:s,topBarBrandingLocation:l=`left`,className:d,sidebarClassName:f,topbarClassName:p,mainClassName:m,sidebarWidth:h,closeSidebarOnChangeKey:_,hamburgerLabel:v=`Toggle navigation`,onSidebarToggle:y}){let[b,x]=(0,c.useState)(!1),[S,C]=(0,c.useState)(!1),[w,T]=(0,c.useState)(!1),E=(0,c.useRef)(!1),D=(0,c.useRef)(_),O=(0,c.useRef)(null),k=(0,c.useRef)(null),A=(0,c.useRef)(null),j=(0,c.useId)();(0,c.useEffect)(()=>{let e=Ue();x(e),C(e),E.current=e;let t=window.requestAnimationFrame(()=>{T(!0)}),n=()=>{let e=Ue();x(e),e!==E.current&&(C(e),E.current=e)};return window.addEventListener(`resize`,n),()=>{window.cancelAnimationFrame(t),window.removeEventListener(`resize`,n)}},[]),(0,c.useEffect)(()=>{if(b||!S)return;let e=A.current,t=()=>C(!1),n=e=>{let n=e.target;n&&(O.current?.contains(n)||k.current?.contains(n)||t())},r=window.setTimeout(()=>{document.addEventListener(`pointerdown`,n),window.addEventListener(`scroll`,t,{passive:!0}),e?.addEventListener(`scroll`,t,{passive:!0}),document.addEventListener(`touchmove`,t,{passive:!0})},10);return()=>{window.clearTimeout(r),document.removeEventListener(`pointerdown`,n),window.removeEventListener(`scroll`,t),e?.removeEventListener(`scroll`,t),document.removeEventListener(`touchmove`,t)}},[S,b]),(0,c.useEffect)(()=>{!b&&D.current!==_&&C(!1),D.current=_},[_,b]),(0,c.useEffect)(()=>{y?.(S)},[S,y]);let M=()=>C(e=>!e),N=h===void 0?void 0:typeof h==`number`?`${h}px`:h,P=N?{"--app-shell-sidebar-width":N}:void 0,F=g(X.appShell,w&&X.appShellAnimated,S?X.appShellOpen:X.appShellCollapsed,d),I=g(X.appShellSidebar,S&&X.appShellSidebarOpen,f);return(0,u.jsxs)(`div`,{className:F,style:P,"data-app-shell":!0,"data-desktop":b?`true`:`false`,"data-sidebar-open":S?`true`:`false`,children:[(0,u.jsx)(Ve,{className:g(X.appShellTopbar,p),leading:(0,u.jsx)(`button`,{ref:k,type:`button`,className:X.appShellHamburger,onClick:M,"aria-label":v,"aria-expanded":S,"aria-controls":j,children:(0,u.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,u.jsx)(`path`,{d:`M3 6h18M3 12h18M3 18h18`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`})})}),brand:n,brandHref:r,brandingLocation:l,start:i,actions:a,showThemeToggle:o,themeToggleProps:s}),!b&&S&&(0,u.jsx)(`div`,{className:X.appShellBackdrop,onClick:()=>C(!1),onTouchStart:()=>C(!1),"aria-hidden":`true`}),(0,u.jsx)(`aside`,{ref:O,id:j,className:I,"aria-label":`Sidebar navigation`,children:t}),(0,u.jsx)(`main`,{ref:A,className:g(X.appShellMain,m),children:e})]})}var Z={sidebarNav:`uzi-sidebar-nav-module__sidebarNav__eUI5c`,sidebarNavCollapsed:`uzi-sidebar-nav-module__sidebarNavCollapsed__xTM9s`,header:`uzi-sidebar-nav-module__header__Y4NLy`,footer:`uzi-sidebar-nav-module__footer__GjWky`,sections:`uzi-sidebar-nav-module__sections__mXuGQ`,section:`uzi-sidebar-nav-module__section__yjtCY`,sectionItems:`uzi-sidebar-nav-module__sectionItems__tNcph`,sectionLabel:`uzi-sidebar-nav-module__sectionLabel__Wx94m`,item:`uzi-sidebar-nav-module__item__uMHkJ`,itemActive:`uzi-sidebar-nav-module__itemActive__wBbiS`,itemCollapsed:`uzi-sidebar-nav-module__itemCollapsed__jLJN-`,itemDisabled:`uzi-sidebar-nav-module__itemDisabled__Yf8Il`,icon:`uzi-sidebar-nav-module__icon__tyrUg`,itemBody:`uzi-sidebar-nav-module__itemBody__wI0iy`,labelRow:`uzi-sidebar-nav-module__labelRow__D8sEJ`,label:`uzi-sidebar-nav-module__label__A-nt6`,description:`uzi-sidebar-nav-module__description__Xf3Si`,badge:`uzi-sidebar-nav-module__badge__-hnFd`},Ge=(e,t)=>e.active===void 0?!e.href||!t?!1:e.href===`/`?t===`/`:t.startsWith(e.href):e.active,Ke=(e,t)=>{if(e.active!==void 0)return e.active;if(!e.href||!t)return!1;if(e.href===`/`)return t===`/`;let n=e.href.endsWith(`/`)?e.href.slice(0,-1):e.href;return n===t||t.startsWith(`${n}/`)},qe=(e,t)=>e===`/`?t===`/`:t.startsWith(e),Je=(e,t)=>e===`/`?t===`/`:(e.endsWith(`/`)?e.slice(0,-1):e)===t,Ye=e=>e.endsWith(`/`)?e.length-1:e.length,Xe=(e,t)=>{let n=new Set;if(!t)return n;let r=e.filter(e=>e.disabled||!e.href?!1:e.exact?Je(e.href,t):qe(e.href,t));if(r.length===0)return n;let i=0;for(let e of r){if(!e.href)continue;let t=Ye(e.href);t>i&&(i=t)}for(let e of r)e.href&&Ye(e.href)===i&&n.add(e.href);return n};function Ze({items:e=[],sections:t,currentPath:n,getIsActive:r,matchStrategy:i=`prefix`,onItemClick:a,header:o,footer:s,ariaLabel:l=`Sidebar navigation`,collapsed:d=!1,iconSize:f,className:p,itemClassName:m,sectionClassName:h}){let _=(0,c.useMemo)(()=>t?.length?t:[{id:`default`,items:e}],[t,e]),v=(0,c.useMemo)(()=>_.flatMap(e=>e.items),[_]),y=(0,c.useMemo)(()=>{if(i===`most-specific`){let e=Xe(v,n);return t=>t.active===void 0?t.href?e.has(t.href):!1:t.active}else return(e,t)=>e.active===void 0?e.exact?Ke(e,t):Ge(e,t):e.active},[i,v,n]),b=r??y,x=f===void 0?void 0:{"--sidebar-nav-icon-size":typeof f==`number`?`${f}px`:f};return(0,u.jsxs)(`nav`,{className:g(Z.sidebarNav,d&&Z.sidebarNavCollapsed,p),"aria-label":l,style:x,children:[o?(0,u.jsx)(`div`,{className:Z.header,children:o}):null,(0,u.jsx)(`div`,{className:Z.sections,children:_.map((e,t)=>(0,u.jsxs)(`div`,{className:g(Z.section,h),children:[e.label&&!d?(0,u.jsx)(`div`,{className:Z.sectionLabel,children:e.label}):null,(0,u.jsx)(`div`,{className:Z.sectionItems,children:e.items.map((r,i)=>(0,u.jsx)(Qe,{item:r,active:b(r,n),collapsed:d,itemClassName:m,onItemClick:a},`${e.id??t}-${r.href??r.title??i}`))})]},e.id??`section-${t}`))}),s?(0,u.jsx)(`div`,{className:Z.footer,children:s}):null]})}function Qe({item:e,active:t,collapsed:n,itemClassName:r,onItemClick:i}){let a=e.rel??(e.target===`_blank`?`noreferrer`:void 0),o=e.title??(typeof e.label==`string`?e.label:void 0),s=g(Z.item,t&&Z.itemActive,n&&Z.itemCollapsed,e.disabled&&Z.itemDisabled,r),c=(0,u.jsxs)(u.Fragment,{children:[e.icon&&(0,u.jsx)(`span`,{className:Z.icon,children:e.icon}),n?null:(0,u.jsxs)(`span`,{className:Z.itemBody,children:[(0,u.jsxs)(`span`,{className:Z.labelRow,children:[(0,u.jsx)(`span`,{className:Z.label,children:e.label}),e.badge&&(0,u.jsx)(`span`,{className:Z.badge,children:e.badge})]}),e.description?(0,u.jsx)(`span`,{className:Z.description,children:e.description}):null]})]}),l=()=>{e.disabled||(e.onClick?.(),i?.(e))};return e.href?e.disabled?(0,u.jsx)(`div`,{className:s,"aria-current":t?`page`:void 0,"aria-disabled":`true`,title:n?o:void 0,children:c}):(0,u.jsx)(`a`,{className:s,href:e.href,target:e.target,rel:a,"aria-current":t?`page`:void 0,title:n?o:void 0,onClick:l,children:c}):(0,u.jsx)(`button`,{type:`button`,className:s,"aria-current":t?`page`:void 0,"aria-disabled":e.disabled?`true`:void 0,disabled:e.disabled,title:n?o:void 0,onClick:l,children:c})}var $e={skeleton:`uzi-skeleton-module__skeleton__fula5`,"skeleton-pulse":`uzi-skeleton-module__skeleton-pulse__Yp45W`,"radius-sm":`uzi-skeleton-module__radius-sm__FdccD`,"radius-md":`uzi-skeleton-module__radius-md__zH3RE`,"radius-lg":`uzi-skeleton-module__radius-lg__YVrHw`,"radius-full":`uzi-skeleton-module__radius-full__5o2m0`};function et({width:e,height:t,radius:n=`md`,className:r,style:i,...a}){return(0,u.jsx)(`div`,{className:g($e.skeleton,$e[`radius-${n}`],r),style:{width:e,height:t,...i},"aria-hidden":`true`,...a})}var Q={track:`uzi-progress-module__track__gM0oV`,fill:`uzi-progress-module__fill__aLAbp`,"tone-default":`uzi-progress-module__tone-default__fhf7o`,"tone-success":`uzi-progress-module__tone-success__FsGHD`,"tone-warning":`uzi-progress-module__tone-warning__UAttL`,"tone-danger":`uzi-progress-module__tone-danger__-L-Ee`};function tt({value:e,tone:t=`default`,className:n,"aria-label":r,...i}){let a=Math.max(0,Math.min(100,e));return(0,u.jsx)(`div`,{className:g(Q.track,n),role:`progressbar`,"aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":r,...i,children:(0,u.jsx)(`div`,{className:g(Q.fill,Q[`tone-${t}`]),style:{width:`${a}%`}})})}var $={track:`uzi-segmented-toggle-module__track__M4fjm`,option:`uzi-segmented-toggle-module__option__7cEZJ`,label:`uzi-segmented-toggle-module__label__bDAIv`};function nt({options:e,value:t,onChange:n,"aria-label":r,"aria-labelledby":i,className:a}){let o=c.useRef([]),s=e.findIndex(e=>e.value===t),l=e.findIndex(e=>!e.disabled),d=-1;for(let t=e.length-1;t>=0;--t)if(!e[t]?.disabled){d=t;break}let f=s>=0&&!e[s]?.disabled?s:l,p=e=>{o.current[e]?.focus()},m=(t,n)=>{if(e.length===0)return-1;let r=t;for(let t=0;t<e.length;t+=1)if(r=(r+n+e.length)%e.length,!e[r]?.disabled)return r;return t},h=r=>{let i=e[r];!i||i.disabled||i.value===t||n(i.value)},_=(e,t)=>{switch(e.key){case`ArrowRight`:case`ArrowDown`:{e.preventDefault();let n=m(t,1);p(n),h(n);break}case`ArrowLeft`:case`ArrowUp`:{e.preventDefault();let n=m(t,-1);p(n),h(n);break}case`Home`:e.preventDefault(),p(l),l>=0&&h(l);break;case`End`:e.preventDefault(),d>=0&&(p(d),h(d));break;default:break}};return(0,u.jsx)(`div`,{className:g($.track,a),role:`radiogroup`,"aria-label":r,"aria-labelledby":i,children:e.map((e,r)=>(0,u.jsx)(`button`,{ref:e=>{o.current[r]=e},type:`button`,role:`radio`,"aria-checked":e.value===t,disabled:e.disabled,tabIndex:e.disabled?-1:r===f?0:-1,onClick:()=>{e.value!==t&&n(e.value)},onKeyDown:e=>_(e,r),className:g($.option),children:(0,u.jsx)(`span`,{className:$.label,children:e.label})},e.value))})}exports.Alert=N,exports.AppShell=We,exports.Avatar=S,exports.AvatarFallback=w,exports.AvatarImage=C,exports.Button=b,exports.Card=E,exports.Checkbox=B,exports.Dropdown=K,exports.DropdownMenu=ue,exports.DropdownMenuCheckboxItem=ve,exports.DropdownMenuContent=ge,exports.DropdownMenuGroup=fe,exports.DropdownMenuItem=_e,exports.DropdownMenuLabel=be,exports.DropdownMenuPortal=pe,exports.DropdownMenuRadioGroup=he,exports.DropdownMenuRadioItem=ye,exports.DropdownMenuSeparator=xe,exports.DropdownMenuSub=me,exports.DropdownMenuSubContent=Ce,exports.DropdownMenuSubTrigger=Se,exports.DropdownMenuTrigger=de,exports.Input=R,exports.Label=z,exports.Modal=j,exports.ModalOverlay=A,exports.MultiSelect=H,exports.Pill=O,exports.Progress=tt,exports.SegmentedToggle=nt,exports.Select=G,exports.SidebarNav=Ze,exports.Skeleton=et,exports.ThemeProvider=Fe,exports.ThemeToggleButton=Be,exports.ToastProvider=L,exports.TopBar=Ve,exports.cx=g,exports.useTheme=Ie,exports.useToast=ne;
|
|
2
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
;/* empty css */
|
|
3
|
+
const require_cx = require("./index4.cjs");
|
|
4
|
+
const require_Button = require("./index6.cjs");
|
|
5
|
+
const require_Avatar = require("./index8.cjs");
|
|
6
|
+
const require_Card = require("./index10.cjs");
|
|
7
|
+
const require_Pill = require("./index12.cjs");
|
|
8
|
+
const require_Modal = require("./index14.cjs");
|
|
9
|
+
const require_Alert = require("./index16.cjs");
|
|
10
|
+
const require_ToastContext = require("./index18.cjs");
|
|
11
|
+
const require_Input = require("./index20.cjs");
|
|
12
|
+
const require_Label = require("./index22.cjs");
|
|
13
|
+
const require_Checkbox = require("./index24.cjs");
|
|
14
|
+
const require_MultiSelect = require("./index26.cjs");
|
|
15
|
+
const require_Select = require("./index28.cjs");
|
|
16
|
+
const require_Dropdown = require("./index29.cjs");
|
|
17
|
+
const require_DropdownMenu = require("./index31.cjs");
|
|
18
|
+
const require_ThemeProvider = require("./index33.cjs");
|
|
19
|
+
const require_ThemeToggleButton = require("./index35.cjs");
|
|
20
|
+
const require_TopBar = require("./index37.cjs");
|
|
21
|
+
const require_AppShell = require("./index39.cjs");
|
|
22
|
+
const require_SidebarNav = require("./index41.cjs");
|
|
23
|
+
const require_Skeleton = require("./index43.cjs");
|
|
24
|
+
const require_Progress = require("./index45.cjs");
|
|
25
|
+
const require_SegmentedToggle = require("./index47.cjs");
|
|
26
|
+
const require_AuthCard = require("./index49.cjs");
|
|
27
|
+
exports.Alert = require_Alert.Alert;
|
|
28
|
+
exports.AppShell = require_AppShell.AppShell;
|
|
29
|
+
exports.AuthCard = require_AuthCard.AuthCard;
|
|
30
|
+
exports.Avatar = require_Avatar.Avatar;
|
|
31
|
+
exports.AvatarFallback = require_Avatar.AvatarFallback;
|
|
32
|
+
exports.AvatarImage = require_Avatar.AvatarImage;
|
|
33
|
+
exports.Button = require_Button.Button;
|
|
34
|
+
exports.Card = require_Card.Card;
|
|
35
|
+
exports.Checkbox = require_Checkbox.Checkbox;
|
|
36
|
+
exports.Dropdown = require_Dropdown.Dropdown;
|
|
37
|
+
exports.DropdownMenu = require_DropdownMenu.DropdownMenu;
|
|
38
|
+
exports.DropdownMenuCheckboxItem = require_DropdownMenu.DropdownMenuCheckboxItem;
|
|
39
|
+
exports.DropdownMenuContent = require_DropdownMenu.DropdownMenuContent;
|
|
40
|
+
exports.DropdownMenuGroup = require_DropdownMenu.DropdownMenuGroup;
|
|
41
|
+
exports.DropdownMenuItem = require_DropdownMenu.DropdownMenuItem;
|
|
42
|
+
exports.DropdownMenuLabel = require_DropdownMenu.DropdownMenuLabel;
|
|
43
|
+
exports.DropdownMenuPortal = require_DropdownMenu.DropdownMenuPortal;
|
|
44
|
+
exports.DropdownMenuRadioGroup = require_DropdownMenu.DropdownMenuRadioGroup;
|
|
45
|
+
exports.DropdownMenuRadioItem = require_DropdownMenu.DropdownMenuRadioItem;
|
|
46
|
+
exports.DropdownMenuSeparator = require_DropdownMenu.DropdownMenuSeparator;
|
|
47
|
+
exports.DropdownMenuSub = require_DropdownMenu.DropdownMenuSub;
|
|
48
|
+
exports.DropdownMenuSubContent = require_DropdownMenu.DropdownMenuSubContent;
|
|
49
|
+
exports.DropdownMenuSubTrigger = require_DropdownMenu.DropdownMenuSubTrigger;
|
|
50
|
+
exports.DropdownMenuTrigger = require_DropdownMenu.DropdownMenuTrigger;
|
|
51
|
+
exports.Input = require_Input.Input;
|
|
52
|
+
exports.Label = require_Label.Label;
|
|
53
|
+
exports.Modal = require_Modal.Modal;
|
|
54
|
+
exports.ModalOverlay = require_Modal.ModalOverlay;
|
|
55
|
+
exports.MultiSelect = require_MultiSelect.MultiSelect;
|
|
56
|
+
exports.Pill = require_Pill.Pill;
|
|
57
|
+
exports.Progress = require_Progress.Progress;
|
|
58
|
+
exports.SegmentedToggle = require_SegmentedToggle.SegmentedToggle;
|
|
59
|
+
exports.Select = require_Select.Select;
|
|
60
|
+
exports.SidebarNav = require_SidebarNav.SidebarNav;
|
|
61
|
+
exports.Skeleton = require_Skeleton.Skeleton;
|
|
62
|
+
exports.ThemeProvider = require_ThemeProvider.ThemeProvider;
|
|
63
|
+
exports.ThemeToggleButton = require_ThemeToggleButton.ThemeToggleButton;
|
|
64
|
+
exports.ToastProvider = require_ToastContext.ToastProvider;
|
|
65
|
+
exports.TopBar = require_TopBar.TopBar;
|
|
66
|
+
exports.cx = require_cx.cx;
|
|
67
|
+
exports.useTheme = require_ThemeProvider.useTheme;
|
|
68
|
+
exports.useToast = require_ToastContext.useToast;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,4 +43,6 @@ export type { SelectProps, SelectOption } from "./components/select/Select";
|
|
|
43
43
|
export { Select } from "./components/select/Select";
|
|
44
44
|
export type { SegmentedToggleProps, SegmentedToggleOption } from "./components/segmented-toggle/SegmentedToggle";
|
|
45
45
|
export { SegmentedToggle } from "./components/segmented-toggle/SegmentedToggle";
|
|
46
|
+
export type { AuthCardProps } from "./components/auth-card/AuthCard";
|
|
47
|
+
export { AuthCard } from "./components/auth-card/AuthCard";
|
|
46
48
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAG3B,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEjF,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACzF,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG/D,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC1E,YAAY,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,SAAS,GACV,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EAAE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