@adam-milo/ui 1.0.134 β†’ 1.0.136

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.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/* empty css */const e=require("./index3.cjs"),r=require("./index4.cjs"),t=require("./index5.cjs"),o=require("./index6.cjs"),i=require("./index7.cjs"),s=require("./index8.cjs"),n=require("./index9.cjs"),p=require("./index10.cjs"),x=require("./index11.cjs"),l=require("./index12.cjs"),a=require("./index13.cjs"),d=require("./index14.cjs"),u=require("./index15.cjs"),c=require("./index16.cjs"),g=require("./index17.cjs"),j=require("./index18.cjs"),C=require("./index19.cjs"),q=require("./index20.cjs"),D=require("./index21.cjs"),S=require("./index22.cjs"),T=require("./index23.cjs"),P=require("./index24.cjs"),F=require("./index25.cjs"),m=require("./index26.cjs"),I=require("./index27.cjs"),h=require("./index28.cjs"),A=require("./index29.cjs"),R=require("./index30.cjs"),v=require("./index31.cjs"),b=require("./index32.cjs"),L=require("./index33.cjs"),w=require("./index34.cjs"),B=require("./index35.cjs"),O=require("./index36.cjs"),E=require("./index37.cjs"),k=require("./index38.cjs"),y=require("./index39.cjs"),N=require("./index40.cjs"),_=require("./index41.cjs"),f=require("./index42.cjs"),M=require("./index43.cjs"),H=require("./index44.cjs"),V=require("./index45.cjs"),W=require("./index46.cjs"),G=require("./index47.cjs"),U=require("./index48.cjs"),z=require("./index49.cjs"),J=require("./index50.cjs"),K=require("./index51.cjs"),Q=require("./index52.cjs"),X=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),$=require("./index56.cjs"),ee=require("./index57.cjs"),re=require("./index58.cjs"),te=require("./index59.cjs"),oe=require("./index60.cjs"),ie=require("./index61.cjs"),se=require("./index62.cjs"),ne=require("./index63.cjs"),pe=require("./index64.cjs"),xe=require("./index65.cjs"),le=require("./index66.cjs"),ae=require("./index67.cjs"),de=require("./index68.cjs"),ue=require("@adam-milo/icons"),ce=require("./index69.cjs"),ge=require("./index70.cjs");exports.Button=e.Button,exports.IconButton=r.IconButton,exports.MenuIconButton=t.MenuIconButton,exports.EmailInput=o.EmailInput,exports.EmailForm=i.EmailForm,exports.PasswordInput=s.PasswordInput,exports.DEFAULT_PASSWORD_LABELS=n.DEFAULT_PASSWORD_LABELS,exports.DEFAULT_PASSWORD_RULES=n.DEFAULT_PASSWORD_RULES,exports.PASSWORD_MIN_LENGTH=n.PASSWORD_MIN_LENGTH,exports.PASSWORD_RULES=n.PASSWORD_RULES,exports.PasswordChecklist=n.PasswordChecklist,exports.isPasswordValid=n.isPasswordValid,exports.NumericInput=p.NumericInput,exports.AlphanumericInput=x.AlphanumericInput,exports.Checkbox=l.Checkbox,exports.Radio=a.Radio,exports.Select=d.Select,exports.SelectContent=d.SelectContent,exports.SelectGroup=d.SelectGroup,exports.SelectItem=d.SelectItem,exports.SelectLabel=d.SelectLabel,exports.SelectSeparator=d.SelectSeparator,exports.SelectTrigger=d.SelectTrigger,exports.SelectValue=d.SelectValue,exports.PhoneInput=u.PhoneInput,exports.OTPInput=c.OTPInput,exports.Toggle=g.Toggle,exports.Slider=j.Slider,exports.Textarea=C.Textarea,exports.Autocomplete=q.Autocomplete,exports.Form=D.Form,exports.FormField=S.FormField,exports.ControlledEmailInput=T.ControlledEmailInput,exports.ControlledPasswordInput=P.ControlledPasswordInput,exports.ControlledCheckbox=F.ControlledCheckbox,exports.ControlledRadio=m.ControlledRadio,exports.ControlledToggle=I.ControlledToggle,exports.ControlledNumericInput=h.ControlledNumericInput,exports.ControlledAlphanumericInput=A.ControlledAlphanumericInput,exports.ControlledPhoneInput=R.ControlledPhoneInput,exports.ControlledOTPInput=v.ControlledOTPInput,exports.ControlledSelect=b.ControlledSelect,exports.ControlledAutocomplete=L.ControlledAutocomplete,exports.ControlledTextarea=w.ControlledTextarea,exports.Tabs=B.Tabs,exports.TabsContent=B.TabsContent,exports.TabsList=B.TabsList,exports.TabsTrigger=B.TabsTrigger,exports.Stepper=O.Stepper,exports.TopNav=E.TopNav,exports.Alert=k.Alert,exports.ToastProvider=y.ToastProvider,exports.useToast=y.useToast,exports.Card=N.Card,exports.CardContent=N.CardContent,exports.CardDescription=N.CardDescription,exports.CardFooter=N.CardFooter,exports.CardHeader=N.CardHeader,exports.CardTitle=N.CardTitle,exports.DataTable=_.DataTable,exports.RowAction=_.RowAction,exports.Chip=f.Chip,exports.ChipGroup=M.ChipGroup,exports.Badge=H.Badge,exports.SortButton=V.SortButton,exports.FilterButton=W.FilterButton,exports.Filter=G.Filter,exports.FilterApply=G.FilterApply,exports.FilterBody=G.FilterBody,exports.FilterContent=G.FilterContent,exports.FilterFooter=G.FilterFooter,exports.FilterReset=G.FilterReset,exports.FilterTitle=G.FilterTitle,exports.FilterTrigger=G.FilterTrigger,exports.useFilter=G.useFilter,exports.CheckFilter=U.CheckFilter,exports.NumericFilter=z.NumericFilter,exports.RangeFilter=J.RangeFilter,exports.DateFilter=K.DateFilter,exports.Dialog=Q.Dialog,exports.DialogClose=Q.DialogClose,exports.DialogCloseButton=Q.DialogCloseButton,exports.DialogContent=Q.DialogContent,exports.DialogDescription=Q.DialogDescription,exports.DialogFooter=Q.DialogFooter,exports.DialogHeader=Q.DialogHeader,exports.DialogIcon=Q.DialogIcon,exports.DialogOverlay=Q.DialogOverlay,exports.DialogPortal=Q.DialogPortal,exports.DialogTitle=Q.DialogTitle,exports.DialogTrigger=Q.DialogTrigger,exports.Popover=X.Popover,exports.PopoverAnchor=X.PopoverAnchor,exports.PopoverClose=X.PopoverClose,exports.PopoverContent=X.PopoverContent,exports.PopoverPortal=X.PopoverPortal,exports.PopoverTrigger=X.PopoverTrigger,exports.Drawer=Y.Drawer,exports.DrawerBody=Y.DrawerBody,exports.DrawerCloseButton=Y.DrawerCloseButton,exports.DrawerDescription=Y.DrawerDescription,exports.DrawerFooter=Y.DrawerFooter,exports.DrawerHeader=Y.DrawerHeader,exports.DrawerTitle=Y.DrawerTitle,exports.Stack=Z.Stack,exports.Container=$.Container,exports.Divider=ee.Divider,exports.AuthLayout=re.AuthLayout,exports.MainContent=te.MainContent,exports.SimpleHeader=oe.SimpleHeader,exports.Grid=ie.Grid,exports.Text=se.Text,exports.Heading=ne.Heading,exports.Link=pe.Link,exports.Spinner=xe.Spinner,exports.AiLoader=le.AiLoader,exports.cn=ae.cn,exports.generateId=ae.generateId,exports.defaultValidation=de.defaultValidation,exports.normalizeWhitespace=de.normalizeWhitespace,exports.textValidators=de.textValidators,Object.defineProperty(exports,"Icon",{enumerable:!0,get:()=>ue.Icon}),Object.defineProperty(exports,"availableIcons",{enumerable:!0,get:()=>ue.availableIcons}),Object.defineProperty(exports,"figmaIconMapping",{enumerable:!0,get:()=>ue.figmaIconMapping}),Object.defineProperty(exports,"getRadixIconName",{enumerable:!0,get:()=>ue.getRadixIconName}),exports.defaultPhoneMask=ce.defaultPhoneMask,exports.formatWithMask=ce.formatWithMask,exports.getPhoneDigits=ce.getPhoneDigits,exports.isValidPhoneLength=ce.isValidPhoneLength,exports.getResponsiveBase=ge.getResponsiveBase,exports.getResponsiveClasses=ge.getResponsiveClasses,exports.getResponsiveSizeClasses=ge.getResponsiveSizeClasses,exports.isResponsiveObject=ge.isResponsiveObject,exports.useResponsiveValue=ge.useResponsiveValue;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/* empty css */const e=require("./index3.cjs"),r=require("./index4.cjs"),t=require("./index5.cjs"),o=require("./index6.cjs"),i=require("./index7.cjs"),s=require("./index8.cjs"),n=require("./index9.cjs"),p=require("./index10.cjs"),x=require("./index11.cjs"),l=require("./index12.cjs"),a=require("./index13.cjs"),d=require("./index14.cjs"),u=require("./index15.cjs"),c=require("./index16.cjs"),g=require("./index17.cjs"),j=require("./index18.cjs"),C=require("./index19.cjs"),q=require("./index20.cjs"),D=require("./index21.cjs"),S=require("./index22.cjs"),T=require("./index23.cjs"),P=require("./index24.cjs"),I=require("./index25.cjs"),F=require("./index26.cjs"),m=require("./index27.cjs"),A=require("./index28.cjs"),h=require("./index29.cjs"),R=require("./index30.cjs"),v=require("./index31.cjs"),b=require("./index32.cjs"),L=require("./index33.cjs"),w=require("./index34.cjs"),B=require("./index35.cjs"),O=require("./index36.cjs"),E=require("./index37.cjs"),_=require("./index38.cjs"),N=require("./index39.cjs"),k=require("./index40.cjs"),y=require("./index41.cjs"),M=require("./index42.cjs"),f=require("./index43.cjs"),H=require("./index44.cjs"),V=require("./index45.cjs"),W=require("./index46.cjs"),G=require("./index47.cjs"),U=require("./index48.cjs"),z=require("./index49.cjs"),X=require("./index50.cjs"),J=require("./index51.cjs"),K=require("./index52.cjs"),Q=require("./index53.cjs"),Y=require("./index54.cjs"),Z=require("./index55.cjs"),$=require("./index56.cjs"),ee=require("./index57.cjs"),re=require("./index58.cjs"),te=require("./index59.cjs"),oe=require("./index60.cjs"),ie=require("./index61.cjs"),se=require("./index62.cjs"),ne=require("./index63.cjs"),pe=require("./index64.cjs"),xe=require("./index65.cjs"),le=require("./index66.cjs"),ae=require("./index67.cjs"),de=require("./index68.cjs"),ue=require("./index69.cjs"),ce=require("@adam-milo/icons"),ge=require("./index70.cjs");exports.Button=e.Button,exports.IconButton=r.IconButton,exports.MenuIconButton=t.MenuIconButton,exports.EmailInput=o.EmailInput,exports.EmailForm=i.EmailForm,exports.PasswordInput=s.PasswordInput,exports.DEFAULT_PASSWORD_LABELS=n.DEFAULT_PASSWORD_LABELS,exports.DEFAULT_PASSWORD_RULES=n.DEFAULT_PASSWORD_RULES,exports.PASSWORD_MIN_LENGTH=n.PASSWORD_MIN_LENGTH,exports.PASSWORD_RULES=n.PASSWORD_RULES,exports.PasswordChecklist=n.PasswordChecklist,exports.isPasswordValid=n.isPasswordValid,exports.NumericInput=p.NumericInput,exports.AlphanumericInput=x.AlphanumericInput,exports.Checkbox=l.Checkbox,exports.Radio=a.Radio,exports.Select=d.Select,exports.SelectContent=d.SelectContent,exports.SelectGroup=d.SelectGroup,exports.SelectItem=d.SelectItem,exports.SelectLabel=d.SelectLabel,exports.SelectSeparator=d.SelectSeparator,exports.SelectTrigger=d.SelectTrigger,exports.SelectValue=d.SelectValue,exports.PhoneInput=u.PhoneInput,exports.OTPInput=c.OTPInput,exports.Toggle=g.Toggle,exports.Slider=j.Slider,exports.Textarea=C.Textarea,exports.Autocomplete=q.Autocomplete,exports.Form=D.Form,exports.FormField=S.FormField,exports.ControlledEmailInput=T.ControlledEmailInput,exports.ControlledPasswordInput=P.ControlledPasswordInput,exports.ControlledCheckbox=I.ControlledCheckbox,exports.ControlledRadio=F.ControlledRadio,exports.ControlledToggle=m.ControlledToggle,exports.ControlledNumericInput=A.ControlledNumericInput,exports.ControlledAlphanumericInput=h.ControlledAlphanumericInput,exports.ControlledPhoneInput=R.ControlledPhoneInput,exports.ControlledOTPInput=v.ControlledOTPInput,exports.ControlledSelect=b.ControlledSelect,exports.ControlledAutocomplete=L.ControlledAutocomplete,exports.ControlledTextarea=w.ControlledTextarea,exports.Tabs=B.Tabs,exports.TabsContent=B.TabsContent,exports.TabsList=B.TabsList,exports.TabsTrigger=B.TabsTrigger,exports.Stepper=O.Stepper,exports.TopNav=E.TopNav,exports.Alert=_.Alert,exports.ToastProvider=N.ToastProvider,exports.useToast=N.useToast,exports.Card=k.Card,exports.CardContent=k.CardContent,exports.CardDescription=k.CardDescription,exports.CardFooter=k.CardFooter,exports.CardHeader=k.CardHeader,exports.CardTitle=k.CardTitle,exports.DataTable=y.DataTable,exports.RowAction=y.RowAction,exports.Chip=M.Chip,exports.ChipGroup=f.ChipGroup,exports.Badge=H.Badge,exports.SortButton=V.SortButton,exports.FilterButton=W.FilterButton,exports.Filter=G.Filter,exports.FilterApply=G.FilterApply,exports.FilterBody=G.FilterBody,exports.FilterContent=G.FilterContent,exports.FilterFooter=G.FilterFooter,exports.FilterReset=G.FilterReset,exports.FilterTitle=G.FilterTitle,exports.FilterTrigger=G.FilterTrigger,exports.useFilter=G.useFilter,exports.CheckFilter=U.CheckFilter,exports.NumericFilter=z.NumericFilter,exports.RangeFilter=X.RangeFilter,exports.DateFilter=J.DateFilter,exports.Dialog=K.Dialog,exports.DialogClose=K.DialogClose,exports.DialogCloseButton=K.DialogCloseButton,exports.DialogContent=K.DialogContent,exports.DialogDescription=K.DialogDescription,exports.DialogFooter=K.DialogFooter,exports.DialogHeader=K.DialogHeader,exports.DialogIcon=K.DialogIcon,exports.DialogOverlay=K.DialogOverlay,exports.DialogPortal=K.DialogPortal,exports.DialogTitle=K.DialogTitle,exports.DialogTrigger=K.DialogTrigger,exports.Popover=Q.Popover,exports.PopoverAnchor=Q.PopoverAnchor,exports.PopoverClose=Q.PopoverClose,exports.PopoverContent=Q.PopoverContent,exports.PopoverPortal=Q.PopoverPortal,exports.PopoverTrigger=Q.PopoverTrigger,exports.Drawer=Y.Drawer,exports.DrawerBody=Y.DrawerBody,exports.DrawerCloseButton=Y.DrawerCloseButton,exports.DrawerDescription=Y.DrawerDescription,exports.DrawerFooter=Y.DrawerFooter,exports.DrawerHeader=Y.DrawerHeader,exports.DrawerTitle=Y.DrawerTitle,exports.Stack=Z.Stack,exports.Container=$.Container,exports.Divider=ee.Divider,exports.AuthLayout=re.AuthLayout,exports.MainContent=te.MainContent,exports.SimpleHeader=oe.SimpleHeader,exports.Grid=ie.Grid,exports.Text=se.Text,exports.Heading=ne.Heading,exports.Link=pe.Link,exports.Spinner=xe.Spinner,exports.AiLoader=le.AiLoader,exports.cn=ae.cn,exports.generateId=ae.generateId,exports.defaultValidation=de.defaultValidation,exports.normalizeWhitespace=de.normalizeWhitespace,exports.textValidators=de.textValidators,exports.E164_MAX_NATIONAL_DIGITS=ue.E164_MAX_NATIONAL_DIGITS,exports.defaultPhoneMask=ue.defaultPhoneMask,exports.formatWithMask=ue.formatWithMask,exports.getPhoneDigits=ue.getPhoneDigits,exports.isValidPhoneLength=ue.isValidPhoneLength,Object.defineProperty(exports,"Icon",{enumerable:!0,get:()=>ce.Icon}),Object.defineProperty(exports,"availableIcons",{enumerable:!0,get:()=>ce.availableIcons}),Object.defineProperty(exports,"figmaIconMapping",{enumerable:!0,get:()=>ce.figmaIconMapping}),Object.defineProperty(exports,"getRadixIconName",{enumerable:!0,get:()=>ce.getRadixIconName}),exports.getResponsiveBase=ge.getResponsiveBase,exports.getResponsiveClasses=ge.getResponsiveClasses,exports.getResponsiveSizeClasses=ge.getResponsiveSizeClasses,exports.isResponsiveObject=ge.isResponsiveObject,exports.useResponsiveValue=ge.useResponsiveValue;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- /* empty css */import{Button as o}from"./index3.js";import{IconButton as i}from"./index4.js";import{MenuIconButton as m}from"./index5.js";import{EmailInput as r}from"./index6.js";import{EmailForm as p}from"./index7.js";import{PasswordInput as t}from"./index8.js";import{DEFAULT_PASSWORD_LABELS as d,DEFAULT_PASSWORD_RULES as e,PASSWORD_MIN_LENGTH as n,PASSWORD_RULES as s,PasswordChecklist as x,isPasswordValid as f}from"./index9.js";import{NumericInput as j}from"./index10.js";import{AlphanumericInput as a}from"./index11.js";import{Checkbox as c}from"./index12.js";import{Radio as l}from"./index13.js";import{Select as b,SelectContent as g,SelectGroup as h,SelectItem as k,SelectLabel as q,SelectSeparator as u,SelectTrigger as v,SelectValue as w}from"./index14.js";import{PhoneInput as y}from"./index15.js";import{OTPInput as z}from"./index16.js";import{Toggle as A}from"./index17.js";import{Slider as B}from"./index18.js";import{Textarea as C}from"./index19.js";import{Autocomplete as D}from"./index20.js";import{Form as E}from"./index21.js";import{FormField as F}from"./index22.js";import{ControlledEmailInput as G}from"./index23.js";import{ControlledPasswordInput as H}from"./index24.js";import{ControlledCheckbox as I}from"./index25.js";import{ControlledRadio as J}from"./index26.js";import{ControlledToggle as K}from"./index27.js";import{ControlledNumericInput as L}from"./index28.js";import{ControlledAlphanumericInput as M}from"./index29.js";import{ControlledPhoneInput as N}from"./index30.js";import{ControlledOTPInput as O}from"./index31.js";import{ControlledSelect as P}from"./index32.js";import{ControlledAutocomplete as Q}from"./index33.js";import{ControlledTextarea as R}from"./index34.js";import{Tabs as S,TabsContent as T,TabsList as U,TabsTrigger as V}from"./index35.js";import{Stepper as W}from"./index36.js";import{TopNav as X}from"./index37.js";import{Alert as Y}from"./index38.js";import{ToastProvider as Z,useToast as $}from"./index39.js";import{Card as _,CardContent as oo,CardDescription as io,CardFooter as mo,CardHeader as ro,CardTitle as po}from"./index40.js";import{DataTable as to,RowAction as eo}from"./index41.js";import{Chip as no}from"./index42.js";import{ChipGroup as so}from"./index43.js";import{Badge as xo}from"./index44.js";import{SortButton as fo}from"./index45.js";import{FilterButton as jo}from"./index46.js";import{Filter as ao,FilterApply as co,FilterBody as lo,FilterContent as bo,FilterFooter as go,FilterReset as ho,FilterTitle as ko,FilterTrigger as qo,useFilter as uo}from"./index47.js";import{CheckFilter as vo}from"./index48.js";import{NumericFilter as wo}from"./index49.js";import{RangeFilter as yo}from"./index50.js";import{DateFilter as zo}from"./index51.js";import{Dialog as Ao,DialogClose as Bo,DialogCloseButton as Co,DialogContent as Do,DialogDescription as Eo,DialogFooter as Fo,DialogHeader as Go,DialogIcon as Ho,DialogOverlay as Io,DialogPortal as Jo,DialogTitle as Ko,DialogTrigger as Lo}from"./index52.js";import{Popover as Mo,PopoverAnchor as No,PopoverClose as Oo,PopoverContent as Po,PopoverPortal as Qo,PopoverTrigger as Ro}from"./index53.js";import{Drawer as So,DrawerBody as To,DrawerCloseButton as Uo,DrawerDescription as Vo,DrawerFooter as Wo,DrawerHeader as Xo,DrawerTitle as Yo}from"./index54.js";import{Stack as Zo}from"./index55.js";import{Container as $o}from"./index56.js";import{Divider as _o}from"./index57.js";import{AuthLayout as oi}from"./index58.js";import{MainContent as ii}from"./index59.js";import{SimpleHeader as mi}from"./index60.js";import{Grid as ri}from"./index61.js";import{Text as pi}from"./index62.js";import{Heading as ti}from"./index63.js";import{Link as di}from"./index64.js";import{Spinner as ei}from"./index65.js";import{AiLoader as ni}from"./index66.js";import{cn as si,generateId as xi}from"./index67.js";import{defaultValidation as fi,normalizeWhitespace as ji,textValidators as ai}from"./index68.js";import{Icon as ci,availableIcons as li,figmaIconMapping as bi,getRadixIconName as gi}from"@adam-milo/icons";import{defaultPhoneMask as hi,formatWithMask as ki,getPhoneDigits as qi,isValidPhoneLength as ui}from"./index69.js";import{getResponsiveBase as vi,getResponsiveClasses as wi,getResponsiveSizeClasses as yi,isResponsiveObject as zi,useResponsiveValue as Ai}from"./index70.js";export{ni as AiLoader,Y as Alert,a as AlphanumericInput,oi as AuthLayout,D as Autocomplete,xo as Badge,o as Button,_ as Card,oo as CardContent,io as CardDescription,mo as CardFooter,ro as CardHeader,po as CardTitle,vo as CheckFilter,c as Checkbox,no as Chip,so as ChipGroup,$o as Container,M as ControlledAlphanumericInput,Q as ControlledAutocomplete,I as ControlledCheckbox,G as ControlledEmailInput,L as ControlledNumericInput,O as ControlledOTPInput,H as ControlledPasswordInput,N as ControlledPhoneInput,J as ControlledRadio,P as ControlledSelect,R as ControlledTextarea,K as ControlledToggle,d as DEFAULT_PASSWORD_LABELS,e as DEFAULT_PASSWORD_RULES,to as DataTable,zo as DateFilter,Ao as Dialog,Bo as DialogClose,Co as DialogCloseButton,Do as DialogContent,Eo as DialogDescription,Fo as DialogFooter,Go as DialogHeader,Ho as DialogIcon,Io as DialogOverlay,Jo as DialogPortal,Ko as DialogTitle,Lo as DialogTrigger,_o as Divider,So as Drawer,To as DrawerBody,Uo as DrawerCloseButton,Vo as DrawerDescription,Wo as DrawerFooter,Xo as DrawerHeader,Yo as DrawerTitle,p as EmailForm,r as EmailInput,ao as Filter,co as FilterApply,lo as FilterBody,jo as FilterButton,bo as FilterContent,go as FilterFooter,ho as FilterReset,ko as FilterTitle,qo as FilterTrigger,E as Form,F as FormField,ri as Grid,ti as Heading,ci as Icon,i as IconButton,di as Link,ii as MainContent,m as MenuIconButton,wo as NumericFilter,j as NumericInput,z as OTPInput,n as PASSWORD_MIN_LENGTH,s as PASSWORD_RULES,x as PasswordChecklist,t as PasswordInput,y as PhoneInput,Mo as Popover,No as PopoverAnchor,Oo as PopoverClose,Po as PopoverContent,Qo as PopoverPortal,Ro as PopoverTrigger,l as Radio,yo as RangeFilter,eo as RowAction,b as Select,g as SelectContent,h as SelectGroup,k as SelectItem,q as SelectLabel,u as SelectSeparator,v as SelectTrigger,w as SelectValue,mi as SimpleHeader,B as Slider,fo as SortButton,ei as Spinner,Zo as Stack,W as Stepper,S as Tabs,T as TabsContent,U as TabsList,V as TabsTrigger,pi as Text,C as Textarea,Z as ToastProvider,A as Toggle,X as TopNav,li as availableIcons,si as cn,hi as defaultPhoneMask,fi as defaultValidation,bi as figmaIconMapping,ki as formatWithMask,xi as generateId,qi as getPhoneDigits,gi as getRadixIconName,vi as getResponsiveBase,wi as getResponsiveClasses,yi as getResponsiveSizeClasses,f as isPasswordValid,zi as isResponsiveObject,ui as isValidPhoneLength,ji as normalizeWhitespace,ai as textValidators,uo as useFilter,Ai as useResponsiveValue,$ as useToast};
1
+ /* empty css */import{Button as o}from"./index3.js";import{IconButton as i}from"./index4.js";import{MenuIconButton as m}from"./index5.js";import{EmailInput as r}from"./index6.js";import{EmailForm as p}from"./index7.js";import{PasswordInput as t}from"./index8.js";import{DEFAULT_PASSWORD_LABELS as d,DEFAULT_PASSWORD_RULES as e,PASSWORD_MIN_LENGTH as n,PASSWORD_RULES as s,PasswordChecklist as x,isPasswordValid as f}from"./index9.js";import{NumericInput as j}from"./index10.js";import{AlphanumericInput as a}from"./index11.js";import{Checkbox as c}from"./index12.js";import{Radio as l}from"./index13.js";import{Select as b,SelectContent as g,SelectGroup as h,SelectItem as k,SelectLabel as q,SelectSeparator as u,SelectTrigger as v,SelectValue as w}from"./index14.js";import{PhoneInput as y}from"./index15.js";import{OTPInput as z}from"./index16.js";import{Toggle as A}from"./index17.js";import{Slider as B}from"./index18.js";import{Textarea as C}from"./index19.js";import{Autocomplete as D}from"./index20.js";import{Form as E}from"./index21.js";import{FormField as F}from"./index22.js";import{ControlledEmailInput as G}from"./index23.js";import{ControlledPasswordInput as H}from"./index24.js";import{ControlledCheckbox as I}from"./index25.js";import{ControlledRadio as J}from"./index26.js";import{ControlledToggle as K}from"./index27.js";import{ControlledNumericInput as L}from"./index28.js";import{ControlledAlphanumericInput as M}from"./index29.js";import{ControlledPhoneInput as N}from"./index30.js";import{ControlledOTPInput as O}from"./index31.js";import{ControlledSelect as P}from"./index32.js";import{ControlledAutocomplete as Q}from"./index33.js";import{ControlledTextarea as R}from"./index34.js";import{Tabs as S,TabsContent as T,TabsList as U,TabsTrigger as V}from"./index35.js";import{Stepper as W}from"./index36.js";import{TopNav as X}from"./index37.js";import{Alert as Y}from"./index38.js";import{ToastProvider as Z,useToast as $}from"./index39.js";import{Card as _,CardContent as oo,CardDescription as io,CardFooter as mo,CardHeader as ro,CardTitle as po}from"./index40.js";import{DataTable as to,RowAction as eo}from"./index41.js";import{Chip as no}from"./index42.js";import{ChipGroup as so}from"./index43.js";import{Badge as xo}from"./index44.js";import{SortButton as fo}from"./index45.js";import{FilterButton as jo}from"./index46.js";import{Filter as ao,FilterApply as co,FilterBody as lo,FilterContent as bo,FilterFooter as go,FilterReset as ho,FilterTitle as ko,FilterTrigger as qo,useFilter as uo}from"./index47.js";import{CheckFilter as vo}from"./index48.js";import{NumericFilter as wo}from"./index49.js";import{RangeFilter as yo}from"./index50.js";import{DateFilter as zo}from"./index51.js";import{Dialog as Ao,DialogClose as Bo,DialogCloseButton as Co,DialogContent as Do,DialogDescription as Eo,DialogFooter as Fo,DialogHeader as Go,DialogIcon as Ho,DialogOverlay as Io,DialogPortal as Jo,DialogTitle as Ko,DialogTrigger as Lo}from"./index52.js";import{Popover as Mo,PopoverAnchor as No,PopoverClose as Oo,PopoverContent as Po,PopoverPortal as Qo,PopoverTrigger as Ro}from"./index53.js";import{Drawer as So,DrawerBody as To,DrawerCloseButton as Uo,DrawerDescription as Vo,DrawerFooter as Wo,DrawerHeader as Xo,DrawerTitle as Yo}from"./index54.js";import{Stack as Zo}from"./index55.js";import{Container as $o}from"./index56.js";import{Divider as _o}from"./index57.js";import{AuthLayout as oi}from"./index58.js";import{MainContent as ii}from"./index59.js";import{SimpleHeader as mi}from"./index60.js";import{Grid as ri}from"./index61.js";import{Text as pi}from"./index62.js";import{Heading as ti}from"./index63.js";import{Link as di}from"./index64.js";import{Spinner as ei}from"./index65.js";import{AiLoader as ni}from"./index66.js";import{cn as si,generateId as xi}from"./index67.js";import{defaultValidation as fi,normalizeWhitespace as ji,textValidators as ai}from"./index68.js";import{E164_MAX_NATIONAL_DIGITS as ci,defaultPhoneMask as li,formatWithMask as bi,getPhoneDigits as gi,isValidPhoneLength as hi}from"./index69.js";import{Icon as ki,availableIcons as qi,figmaIconMapping as ui,getRadixIconName as vi}from"@adam-milo/icons";import{getResponsiveBase as wi,getResponsiveClasses as yi,getResponsiveSizeClasses as zi,isResponsiveObject as Ai,useResponsiveValue as Bi}from"./index70.js";export{ni as AiLoader,Y as Alert,a as AlphanumericInput,oi as AuthLayout,D as Autocomplete,xo as Badge,o as Button,_ as Card,oo as CardContent,io as CardDescription,mo as CardFooter,ro as CardHeader,po as CardTitle,vo as CheckFilter,c as Checkbox,no as Chip,so as ChipGroup,$o as Container,M as ControlledAlphanumericInput,Q as ControlledAutocomplete,I as ControlledCheckbox,G as ControlledEmailInput,L as ControlledNumericInput,O as ControlledOTPInput,H as ControlledPasswordInput,N as ControlledPhoneInput,J as ControlledRadio,P as ControlledSelect,R as ControlledTextarea,K as ControlledToggle,d as DEFAULT_PASSWORD_LABELS,e as DEFAULT_PASSWORD_RULES,to as DataTable,zo as DateFilter,Ao as Dialog,Bo as DialogClose,Co as DialogCloseButton,Do as DialogContent,Eo as DialogDescription,Fo as DialogFooter,Go as DialogHeader,Ho as DialogIcon,Io as DialogOverlay,Jo as DialogPortal,Ko as DialogTitle,Lo as DialogTrigger,_o as Divider,So as Drawer,To as DrawerBody,Uo as DrawerCloseButton,Vo as DrawerDescription,Wo as DrawerFooter,Xo as DrawerHeader,Yo as DrawerTitle,ci as E164_MAX_NATIONAL_DIGITS,p as EmailForm,r as EmailInput,ao as Filter,co as FilterApply,lo as FilterBody,jo as FilterButton,bo as FilterContent,go as FilterFooter,ho as FilterReset,ko as FilterTitle,qo as FilterTrigger,E as Form,F as FormField,ri as Grid,ti as Heading,ki as Icon,i as IconButton,di as Link,ii as MainContent,m as MenuIconButton,wo as NumericFilter,j as NumericInput,z as OTPInput,n as PASSWORD_MIN_LENGTH,s as PASSWORD_RULES,x as PasswordChecklist,t as PasswordInput,y as PhoneInput,Mo as Popover,No as PopoverAnchor,Oo as PopoverClose,Po as PopoverContent,Qo as PopoverPortal,Ro as PopoverTrigger,l as Radio,yo as RangeFilter,eo as RowAction,b as Select,g as SelectContent,h as SelectGroup,k as SelectItem,q as SelectLabel,u as SelectSeparator,v as SelectTrigger,w as SelectValue,mi as SimpleHeader,B as Slider,fo as SortButton,ei as Spinner,Zo as Stack,W as Stepper,S as Tabs,T as TabsContent,U as TabsList,V as TabsTrigger,pi as Text,C as Textarea,Z as ToastProvider,A as Toggle,X as TopNav,qi as availableIcons,si as cn,li as defaultPhoneMask,fi as defaultValidation,ui as figmaIconMapping,bi as formatWithMask,xi as generateId,gi as getPhoneDigits,vi as getRadixIconName,wi as getResponsiveBase,yi as getResponsiveClasses,zi as getResponsiveSizeClasses,f as isPasswordValid,Ai as isResponsiveObject,hi as isValidPhoneLength,ji as normalizeWhitespace,ai as textValidators,uo as useFilter,Bi as useResponsiveValue,$ as useToast};
package/dist/index15.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("react-dom"),r=require("./index67.cjs"),n=require("@adam-milo/icons"),o=require("./index69.cjs"),s=require("./index79.cjs"),i=require("./index81.cjs"),l={name:"United States",dialCode:"+1",flag:"πŸ‡ΊπŸ‡Έ",mask:o.defaultPhoneMask},d=t.forwardRef(({label:d,error:c,helperText:u,fullWidth:p=!0,value:h="",onChange:y,countryCode:f,initialCountryCode:m,onCountryChange:g,countries:x,enableFormatting:v=!0,onValidationChange:w,disabled:S,required:b,placeholder:$,id:C,"data-cy":k,"data-testid":j,className:D,onFocus:E,onBlur:L,...N},P)=>{const[M,q]=t.useState(!1),[F,I]=t.useState(!1),[W,R]=t.useState(0),[B,T]=t.useState({top:0,left:0,width:0}),[V,z]=t.useState(()=>f??m??"US"),A=f??V,K=t.useId(),U=C||K,H=`${U}-error`,O=`${U}-helper`,G=`${U}-listbox`,J=t.useRef(null),Q=t.useRef(null),X=t.useRef(null),Y=t.useRef(null),Z=k||"phone-input",_=j||"phone-input",ee=x.find(e=>e.code===A)||x[0]||l,te=ee.mask??o.defaultPhoneMask,ae=$??te.placeholder,re=d&&b&&!d.includes("*")?`${d}*`:d,ne=ee.dialCode.replace(/\D/g,"").length,oe=o.getPhoneDigits(h),se=h.startsWith("+")?oe.slice(ne):oe,ie=v?o.formatWithMask(se,te):se;t.useLayoutEffect(()=>{if(!M||!Q.current)return;const e=()=>{if(Q.current){const e=Q.current.getBoundingClientRect();T({top:e.bottom+8,left:e.left,width:Math.max(e.width,320)})}};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[M]),t.useEffect(()=>{const e=e=>{const t=e.target,a=J.current?.contains(t),r=X.current?.contains(t);a||r||q(!1)};return M&&document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[M]),t.useEffect(()=>{if(!M)return;const e=X.current;if(!e)return;const t=e=>e.stopPropagation(),a={passive:!1};return e.addEventListener("touchmove",t,a),e.addEventListener("wheel",t,a),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}},[M]);const le=t.useCallback(e=>{void 0===f&&z(e.code),g?.(e);const t=o.getPhoneDigits(h),a=ee.dialCode.replace(/\D/g,"").length,r=h.startsWith("+")?t.slice(a):t;y?.(`${e.dialCode}${r}`),q(!1),setTimeout(()=>{const e=J.current?.querySelector("input");e?.focus()},0)},[f,g,y,h,ee.dialCode]),de=t.useCallback(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),R(e=>Math.min(e+1,x.length-1));break;case"ArrowUp":e.preventDefault(),R(e=>Math.max(e-1,0));break;case"Enter":case" ":e.preventDefault(),le(x[W]);break;case"Escape":e.preventDefault(),q(!1),Y.current?.focus();break;case"Tab":q(!1)}},[x,W,le]),ce=S?"disabled":c?"error":F||M?"focus":"idle";return e.jsxs("div",{ref:J,className:r.cn(i.wrapperStyles,p&&i.wrapperFullWidthStyles),"data-cy":`${Z}-wrapper`,"data-testid":`${_}-wrapper`,children:[d&&e.jsx("label",{htmlFor:U,className:i.labelStyles,"data-cy":`${Z}-label`,"data-testid":`${_}-label`,children:re}),e.jsxs("div",{ref:Q,className:r.cn(i.containerBaseStyles,p&&i.containerFullWidthStyles,"focus"===ce&&i.containerFocusStyles,"error"===ce&&i.containerErrorStyles,"disabled"===ce&&i.containerDisabledStyles,"idle"===ce&&i.containerIdleStyles),"data-state":ce,"data-cy":`${Z}-container`,"data-testid":`${_}-container`,children:[e.jsxs("button",{ref:Y,type:"button",className:i.triggerStyles,onClick:()=>!S&&q(!M),onKeyDown:e=>{if("Enter"===e.key||" "===e.key||"ArrowDown"===e.key){e.preventDefault(),q(!0);const t=x.findIndex(e=>e.code===A);R(-1===t?0:t)}},disabled:S,"aria-haspopup":"listbox","aria-expanded":M,"aria-controls":G,"aria-label":`Select country. Current: ${ee.name}`,"data-cy":`${Z}-country-trigger`,"data-testid":`${_}-country-trigger`,children:[e.jsx(s.CountryFlag,{flag:ee.flag,className:i.flagStyles,"data-cy":`${Z}-flag`,"data-testid":`${_}-flag`}),e.jsx(n.Icon,{name:"ChevronDownIcon",size:"sm",color:F||M?"clickable":"text",decorative:!0,"data-cy":`${Z}-chevron`})]}),e.jsx("span",{className:i.dialCodeStyles,"data-cy":`${Z}-dial-code`,"data-testid":`${_}-dial-code`,children:ee.dialCode}),e.jsx("input",{ref:P,id:U,type:"tel",inputMode:"numeric",value:ie,onChange:e=>{const t=e.target.value;if(v){const e=o.getPhoneDigits(t).slice(0,te.maxLength);y?.(`${ee.dialCode}${e}`);const a=e.length===te.maxLength;w?.(a)}else{const e=t.replace(/[^0-9]/g,"");y?.(`${ee.dialCode}${e}`);const a=e.length===te.maxLength;w?.(a)}},onFocus:e=>{I(!0),E?.(e)},onBlur:e=>{I(!1),L?.(e)},placeholder:ae,disabled:S,required:b,className:r.cn(i.inputStyles,D),"aria-invalid":c?"true":"false","aria-required":b?"true":void 0,"aria-describedby":c?H:u?O:void 0,"data-cy":Z,"data-testid":_,...N})]}),M&&a.createPortal(e.jsx("div",{ref:X,id:G,role:"listbox","aria-label":"Select country",className:i.dropdownStyles,style:{top:B.top,left:B.left,width:B.width,minWidth:"20rem"},tabIndex:-1,onKeyDown:de,"data-cy":`${Z}-dropdown`,"data-testid":`${_}-dropdown`,children:e.jsx("div",{className:i.dropdownViewportStyles,children:x.map((t,a)=>e.jsxs("div",{role:"option","aria-selected":t.code===A,className:r.cn(i.optionBaseStyles,a===W&&i.optionHighlightedStyles,t.code===A&&i.optionSelectedStyles),onClick:()=>le(t),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),le(t))},onMouseEnter:()=>R(a),tabIndex:a===W?0:-1,"data-cy":`${Z}-option-${t.code.toLowerCase()}`,"data-testid":`${_}-option-${t.code.toLowerCase()}`,children:[e.jsx(s.CountryFlag,{flag:t.flag,className:i.optionFlagStyles}),e.jsx("span",{className:i.optionNameStyles,children:t.name}),e.jsx("span",{className:i.optionDialCodeStyles,children:t.dialCode})]},t.code))})}),document.body),c&&e.jsx("span",{id:H,className:i.errorStyles,role:"alert","data-cy":`${Z}-error`,"data-testid":`${_}-error`,children:c}),u&&!c&&e.jsx("span",{id:O,className:i.helperStyles,"data-cy":`${Z}-helper`,"data-testid":`${_}-helper`,children:u})]})});d.displayName="PhoneInput",exports.defaultPhoneMask=o.defaultPhoneMask,exports.formatWithMask=o.formatWithMask,exports.getPhoneDigits=o.getPhoneDigits,exports.isValidPhoneLength=o.isValidPhoneLength,exports.PhoneInput=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),a=require("react-dom"),r=require("./index67.cjs"),n=require("@adam-milo/icons"),o=require("./index69.cjs"),s=require("./index79.cjs"),i=require("./index81.cjs"),l={name:"United States",dialCode:"+1",flag:"πŸ‡ΊπŸ‡Έ",mask:o.defaultPhoneMask},d=t.forwardRef(({label:d,error:c,helperText:u,fullWidth:p=!0,value:h="",onChange:y,countryCode:f,initialCountryCode:m,onCountryChange:g,countries:v,enableFormatting:w=!0,onValidationChange:x,disabled:S,required:b,placeholder:$,id:C,"data-cy":k,"data-testid":D,className:N,onFocus:j,onBlur:E,...I},L)=>{const[M,P]=t.useState(!1),[q,A]=t.useState(!1),[F,T]=t.useState(0),[W,_]=t.useState({top:0,left:0,width:0}),[R,B]=t.useState(()=>f??m??"US"),O=f??R,V=t.useId(),z=C||V,G=`${z}-error`,K=`${z}-helper`,U=`${z}-listbox`,X=t.useRef(null),H=t.useRef(null),J=t.useRef(null),Q=t.useRef(null),Y=k||"phone-input",Z=D||"phone-input",ee=v.find(e=>e.code===O)||v[0]||l,te=ee.mask??o.defaultPhoneMask,ae=$??te.placeholder,re=d&&b&&!d.includes("*")?`${d}*`:d,ne=ee.dialCode.replace(/\D/g,"").length,oe=o.getPhoneDigits(h),se=h.startsWith("+")?oe.slice(ne):oe,ie=w?o.formatWithMask(se,te):se;t.useLayoutEffect(()=>{if(!M||!H.current)return;const e=()=>{if(H.current){const e=H.current.getBoundingClientRect();_({top:e.bottom+8,left:e.left,width:Math.max(e.width,320)})}};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[M]),t.useEffect(()=>{const e=e=>{const t=e.target,a=X.current?.contains(t),r=J.current?.contains(t);a||r||P(!1)};return M&&document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[M]),t.useEffect(()=>{if(!M)return;const e=J.current;if(!e)return;const t=e=>e.stopPropagation(),a={passive:!1};return e.addEventListener("touchmove",t,a),e.addEventListener("wheel",t,a),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}},[M]);const le=t.useCallback(e=>{void 0===f&&B(e.code),g?.(e);const t=o.getPhoneDigits(h),a=ee.dialCode.replace(/\D/g,"").length,r=h.startsWith("+")?t.slice(a):t;y?.(`${e.dialCode}${r}`),P(!1),setTimeout(()=>{const e=X.current?.querySelector("input");e?.focus()},0)},[f,g,y,h,ee.dialCode]),de=t.useCallback(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),T(e=>Math.min(e+1,v.length-1));break;case"ArrowUp":e.preventDefault(),T(e=>Math.max(e-1,0));break;case"Enter":case" ":e.preventDefault(),le(v[F]);break;case"Escape":e.preventDefault(),P(!1),Q.current?.focus();break;case"Tab":P(!1)}},[v,F,le]),ce=S?"disabled":c?"error":q||M?"focus":"idle";return e.jsxs("div",{ref:X,className:r.cn(i.wrapperStyles,p&&i.wrapperFullWidthStyles),"data-cy":`${Y}-wrapper`,"data-testid":`${Z}-wrapper`,children:[d&&e.jsx("label",{htmlFor:z,className:i.labelStyles,"data-cy":`${Y}-label`,"data-testid":`${Z}-label`,children:re}),e.jsxs("div",{ref:H,className:r.cn(i.containerBaseStyles,p&&i.containerFullWidthStyles,"focus"===ce&&i.containerFocusStyles,"error"===ce&&i.containerErrorStyles,"disabled"===ce&&i.containerDisabledStyles,"idle"===ce&&i.containerIdleStyles),"data-state":ce,"data-cy":`${Y}-container`,"data-testid":`${Z}-container`,children:[e.jsxs("button",{ref:Q,type:"button",className:i.triggerStyles,onClick:()=>!S&&P(!M),onKeyDown:e=>{if("Enter"===e.key||" "===e.key||"ArrowDown"===e.key){e.preventDefault(),P(!0);const t=v.findIndex(e=>e.code===O);T(-1===t?0:t)}},disabled:S,"aria-haspopup":"listbox","aria-expanded":M,"aria-controls":U,"aria-label":`Select country. Current: ${ee.name}`,"data-cy":`${Y}-country-trigger`,"data-testid":`${Z}-country-trigger`,children:[e.jsx(s.CountryFlag,{flag:ee.flag,className:i.flagStyles,"data-cy":`${Y}-flag`,"data-testid":`${Z}-flag`}),e.jsx(n.Icon,{name:"ChevronDownIcon",size:"sm",color:q||M?"clickable":"text",decorative:!0,"data-cy":`${Y}-chevron`})]}),e.jsx("span",{className:i.dialCodeStyles,"data-cy":`${Y}-dial-code`,"data-testid":`${Z}-dial-code`,children:ee.dialCode}),e.jsx("input",{ref:L,id:z,type:"tel",inputMode:"numeric",value:ie,onChange:e=>{const t=e.target.value,a=(w?o.getPhoneDigits(t):t.replace(/[^0-9]/g,"")).slice(0,o.E164_MAX_NATIONAL_DIGITS);y?.(`${ee.dialCode}${a}`),x?.(a.length>0)},onFocus:e=>{A(!0),j?.(e)},onBlur:e=>{A(!1),E?.(e)},placeholder:ae,disabled:S,required:b,className:r.cn(i.inputStyles,N),"aria-invalid":c?"true":"false","aria-required":b?"true":void 0,"aria-describedby":c?G:u?K:void 0,"data-cy":Y,"data-testid":Z,...I})]}),M&&a.createPortal(e.jsx("div",{ref:J,id:U,role:"listbox","aria-label":"Select country",className:i.dropdownStyles,style:{top:W.top,left:W.left,width:W.width,minWidth:"20rem"},tabIndex:-1,onKeyDown:de,"data-cy":`${Y}-dropdown`,"data-testid":`${Z}-dropdown`,children:e.jsx("div",{className:i.dropdownViewportStyles,children:v.map((t,a)=>e.jsxs("div",{role:"option","aria-selected":t.code===O,className:r.cn(i.optionBaseStyles,a===F&&i.optionHighlightedStyles,t.code===O&&i.optionSelectedStyles),onClick:()=>le(t),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),le(t))},onMouseEnter:()=>T(a),tabIndex:a===F?0:-1,"data-cy":`${Y}-option-${t.code.toLowerCase()}`,"data-testid":`${Z}-option-${t.code.toLowerCase()}`,children:[e.jsx(s.CountryFlag,{flag:t.flag,className:i.optionFlagStyles}),e.jsx("span",{className:i.optionNameStyles,children:t.name}),e.jsx("span",{className:i.optionDialCodeStyles,children:t.dialCode})]},t.code))})}),document.body),c&&e.jsx("span",{id:G,className:i.errorStyles,role:"alert","data-cy":`${Y}-error`,"data-testid":`${Z}-error`,children:c}),u&&!c&&e.jsx("span",{id:K,className:i.helperStyles,"data-cy":`${Y}-helper`,"data-testid":`${Z}-helper`,children:u})]})});d.displayName="PhoneInput",exports.E164_MAX_NATIONAL_DIGITS=o.E164_MAX_NATIONAL_DIGITS,exports.defaultPhoneMask=o.defaultPhoneMask,exports.formatWithMask=o.formatWithMask,exports.getPhoneDigits=o.getPhoneDigits,exports.isValidPhoneLength=o.isValidPhoneLength,exports.PhoneInput=d;
package/dist/index15.js CHANGED
@@ -1,12 +1,12 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as a,useState as r,useId as n,useRef as o,useLayoutEffect as d,useEffect as i,useCallback as l}from"react";import{createPortal as s}from"react-dom";import{cn as c}from"./index67.js";import{Icon as u}from"@adam-milo/icons";import{defaultPhoneMask as m,getPhoneDigits as p,formatWithMask as h}from"./index69.js";import{isValidPhoneLength as f}from"./index69.js";import{CountryFlag as v}from"./index79.js";import{labelStyles as y,triggerStyles as $,flagStyles as w,dialCodeStyles as g,dropdownStyles as b,dropdownViewportStyles as C,optionFlagStyles as x,optionNameStyles as N,optionDialCodeStyles as k,optionSelectedStyles as E,optionHighlightedStyles as L,optionBaseStyles as D,errorStyles as j,helperStyles as I,inputStyles as M,containerIdleStyles as S,containerDisabledStyles as q,containerErrorStyles as F,containerFocusStyles as W,containerFullWidthStyles as z,containerBaseStyles as A,wrapperFullWidthStyles as B,wrapperStyles as K}from"./index81.js";const T={name:"United States",dialCode:"+1",flag:"πŸ‡ΊπŸ‡Έ",mask:m},U=a(({label:a,error:f,helperText:U,fullWidth:P=!0,value:R="",onChange:V,countryCode:G,initialCountryCode:H,onCountryChange:J,countries:O,enableFormatting:Q=!0,onValidationChange:X,disabled:Y,required:Z,placeholder:_,id:ee,"data-cy":te,"data-testid":ae,className:re,onFocus:ne,onBlur:oe,...de},ie)=>{const[le,se]=r(!1),[ce,ue]=r(!1),[me,pe]=r(0),[he,fe]=r({top:0,left:0,width:0}),[ve,ye]=r(()=>G??H??"US"),$e=G??ve,we=n(),ge=ee||we,be=`${ge}-error`,Ce=`${ge}-helper`,xe=`${ge}-listbox`,Ne=o(null),ke=o(null),Ee=o(null),Le=o(null),De=te||"phone-input",je=ae||"phone-input",Ie=O.find(e=>e.code===$e)||O[0]||T,Me=Ie.mask??m,Se=_??Me.placeholder,qe=a&&Z&&!a.includes("*")?`${a}*`:a,Fe=Ie.dialCode.replace(/\D/g,"").length,We=p(R),ze=R.startsWith("+")?We.slice(Fe):We,Ae=Q?h(ze,Me):ze;d(()=>{if(!le||!ke.current)return;const e=()=>{if(ke.current){const e=ke.current.getBoundingClientRect();fe({top:e.bottom+8,left:e.left,width:Math.max(e.width,320)})}};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[le]),i(()=>{const e=e=>{const t=e.target,a=Ne.current?.contains(t),r=Ee.current?.contains(t);a||r||se(!1)};return le&&document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[le]),i(()=>{if(!le)return;const e=Ee.current;if(!e)return;const t=e=>e.stopPropagation(),a={passive:!1};return e.addEventListener("touchmove",t,a),e.addEventListener("wheel",t,a),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}},[le]);const Be=l(e=>{void 0===G&&ye(e.code),J?.(e);const t=p(R),a=Ie.dialCode.replace(/\D/g,"").length,r=R.startsWith("+")?t.slice(a):t;V?.(`${e.dialCode}${r}`),se(!1),setTimeout(()=>{const e=Ne.current?.querySelector("input");e?.focus()},0)},[G,J,V,R,Ie.dialCode]),Ke=l(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),pe(e=>Math.min(e+1,O.length-1));break;case"ArrowUp":e.preventDefault(),pe(e=>Math.max(e-1,0));break;case"Enter":case" ":e.preventDefault(),Be(O[me]);break;case"Escape":e.preventDefault(),se(!1),Le.current?.focus();break;case"Tab":se(!1)}},[O,me,Be]),Te=Y?"disabled":f?"error":ce||le?"focus":"idle";/* @__PURE__ */
2
- return e("div",{ref:Ne,className:c(K,P&&B),"data-cy":`${De}-wrapper`,"data-testid":`${je}-wrapper`,children:[a&&/* @__PURE__ */t("label",{htmlFor:ge,className:y,"data-cy":`${De}-label`,"data-testid":`${je}-label`,children:qe}),
3
- /* @__PURE__ */e("div",{ref:ke,className:c(A,P&&z,"focus"===Te&&W,"error"===Te&&F,"disabled"===Te&&q,"idle"===Te&&S),"data-state":Te,"data-cy":`${De}-container`,"data-testid":`${je}-container`,children:[
4
- /* @__PURE__ */e("button",{ref:Le,type:"button",className:$,onClick:()=>!Y&&se(!le),onKeyDown:e=>{if("Enter"===e.key||" "===e.key||"ArrowDown"===e.key){e.preventDefault(),se(!0);const t=O.findIndex(e=>e.code===$e);pe(-1===t?0:t)}},disabled:Y,"aria-haspopup":"listbox","aria-expanded":le,"aria-controls":xe,"aria-label":`Select country. Current: ${Ie.name}`,"data-cy":`${De}-country-trigger`,"data-testid":`${je}-country-trigger`,children:[
5
- /* @__PURE__ */t(v,{flag:Ie.flag,className:w,"data-cy":`${De}-flag`,"data-testid":`${je}-flag`}),
6
- /* @__PURE__ */t(u,{name:"ChevronDownIcon",size:"sm",color:ce||le?"clickable":"text",decorative:!0,"data-cy":`${De}-chevron`})]}),
7
- /* @__PURE__ */t("span",{className:g,"data-cy":`${De}-dial-code`,"data-testid":`${je}-dial-code`,children:Ie.dialCode}),
8
- /* @__PURE__ */t("input",{ref:ie,id:ge,type:"tel",inputMode:"numeric",value:Ae,onChange:e=>{const t=e.target.value;if(Q){const e=p(t).slice(0,Me.maxLength);V?.(`${Ie.dialCode}${e}`);const a=e.length===Me.maxLength;X?.(a)}else{const e=t.replace(/[^0-9]/g,"");V?.(`${Ie.dialCode}${e}`);const a=e.length===Me.maxLength;X?.(a)}},onFocus:e=>{ue(!0),ne?.(e)},onBlur:e=>{ue(!1),oe?.(e)},placeholder:Se,disabled:Y,required:Z,className:c(M,re),"aria-invalid":f?"true":"false","aria-required":Z?"true":void 0,"aria-describedby":f?be:U?Ce:void 0,"data-cy":De,"data-testid":je,...de})]}),le&&s(
9
- /* @__PURE__ */t("div",{ref:Ee,id:xe,role:"listbox","aria-label":"Select country",className:b,style:{top:he.top,left:he.left,width:he.width,minWidth:"20rem"},tabIndex:-1,onKeyDown:Ke,"data-cy":`${De}-dropdown`,"data-testid":`${je}-dropdown`,children:/* @__PURE__ */t("div",{className:C,children:O.map((a,r)=>/* @__PURE__ */e("div",{role:"option","aria-selected":a.code===$e,className:c(D,r===me&&L,a.code===$e&&E),onClick:()=>Be(a),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),Be(a))},onMouseEnter:()=>pe(r),tabIndex:r===me?0:-1,"data-cy":`${De}-option-${a.code.toLowerCase()}`,"data-testid":`${je}-option-${a.code.toLowerCase()}`,children:[
10
- /* @__PURE__ */t(v,{flag:a.flag,className:x}),
11
- /* @__PURE__ */t("span",{className:N,children:a.name}),
12
- /* @__PURE__ */t("span",{className:k,children:a.dialCode})]},a.code))})}),document.body),f&&/* @__PURE__ */t("span",{id:be,className:j,role:"alert","data-cy":`${De}-error`,"data-testid":`${je}-error`,children:f}),U&&!f&&/* @__PURE__ */t("span",{id:Ce,className:I,"data-cy":`${De}-helper`,"data-testid":`${je}-helper`,children:U})]})});U.displayName="PhoneInput";export{U as PhoneInput,m as defaultPhoneMask,h as formatWithMask,p as getPhoneDigits,f as isValidPhoneLength};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{forwardRef as a,useState as r,useId as n,useRef as o,useLayoutEffect as d,useEffect as i,useCallback as l}from"react";import{createPortal as s}from"react-dom";import{cn as c}from"./index67.js";import{Icon as u}from"@adam-milo/icons";import{defaultPhoneMask as m,getPhoneDigits as p,formatWithMask as h,E164_MAX_NATIONAL_DIGITS as f}from"./index69.js";import{isValidPhoneLength as v}from"./index69.js";import{CountryFlag as y}from"./index79.js";import{labelStyles as w,triggerStyles as $,flagStyles as b,dialCodeStyles as g,dropdownStyles as C,dropdownViewportStyles as x,optionFlagStyles as N,optionNameStyles as k,optionDialCodeStyles as E,optionSelectedStyles as D,optionHighlightedStyles as L,optionBaseStyles as j,errorStyles as I,helperStyles as M,inputStyles as S,containerIdleStyles as q,containerDisabledStyles as F,containerErrorStyles as W,containerFocusStyles as z,containerFullWidthStyles as A,containerBaseStyles as B,wrapperFullWidthStyles as K,wrapperStyles as T}from"./index81.js";const U={name:"United States",dialCode:"+1",flag:"πŸ‡ΊπŸ‡Έ",mask:m},P=a(({label:a,error:v,helperText:P,fullWidth:R=!0,value:V="",onChange:G,countryCode:H,initialCountryCode:J,onCountryChange:O,countries:Q,enableFormatting:X=!0,onValidationChange:Y,disabled:Z,required:_,placeholder:ee,id:te,"data-cy":ae,"data-testid":re,className:ne,onFocus:oe,onBlur:de,...ie},le)=>{const[se,ce]=r(!1),[ue,me]=r(!1),[pe,he]=r(0),[fe,ve]=r({top:0,left:0,width:0}),[ye,we]=r(()=>H??J??"US"),$e=H??ye,be=n(),ge=te||be,Ce=`${ge}-error`,xe=`${ge}-helper`,Ne=`${ge}-listbox`,ke=o(null),Ee=o(null),De=o(null),Le=o(null),je=ae||"phone-input",Ie=re||"phone-input",Me=Q.find(e=>e.code===$e)||Q[0]||U,Se=Me.mask??m,qe=ee??Se.placeholder,Fe=a&&_&&!a.includes("*")?`${a}*`:a,We=Me.dialCode.replace(/\D/g,"").length,ze=p(V),Ae=V.startsWith("+")?ze.slice(We):ze,Be=X?h(Ae,Se):Ae;d(()=>{if(!se||!Ee.current)return;const e=()=>{if(Ee.current){const e=Ee.current.getBoundingClientRect();ve({top:e.bottom+8,left:e.left,width:Math.max(e.width,320)})}};return e(),window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}},[se]),i(()=>{const e=e=>{const t=e.target,a=ke.current?.contains(t),r=De.current?.contains(t);a||r||ce(!1)};return se&&document.addEventListener("pointerdown",e),()=>{document.removeEventListener("pointerdown",e)}},[se]),i(()=>{if(!se)return;const e=De.current;if(!e)return;const t=e=>e.stopPropagation(),a={passive:!1};return e.addEventListener("touchmove",t,a),e.addEventListener("wheel",t,a),()=>{e.removeEventListener("touchmove",t),e.removeEventListener("wheel",t)}},[se]);const Ke=l(e=>{void 0===H&&we(e.code),O?.(e);const t=p(V),a=Me.dialCode.replace(/\D/g,"").length,r=V.startsWith("+")?t.slice(a):t;G?.(`${e.dialCode}${r}`),ce(!1),setTimeout(()=>{const e=ke.current?.querySelector("input");e?.focus()},0)},[H,O,G,V,Me.dialCode]),Te=l(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),he(e=>Math.min(e+1,Q.length-1));break;case"ArrowUp":e.preventDefault(),he(e=>Math.max(e-1,0));break;case"Enter":case" ":e.preventDefault(),Ke(Q[pe]);break;case"Escape":e.preventDefault(),ce(!1),Le.current?.focus();break;case"Tab":ce(!1)}},[Q,pe,Ke]),Ue=Z?"disabled":v?"error":ue||se?"focus":"idle";/* @__PURE__ */
2
+ return e("div",{ref:ke,className:c(T,R&&K),"data-cy":`${je}-wrapper`,"data-testid":`${Ie}-wrapper`,children:[a&&/* @__PURE__ */t("label",{htmlFor:ge,className:w,"data-cy":`${je}-label`,"data-testid":`${Ie}-label`,children:Fe}),
3
+ /* @__PURE__ */e("div",{ref:Ee,className:c(B,R&&A,"focus"===Ue&&z,"error"===Ue&&W,"disabled"===Ue&&F,"idle"===Ue&&q),"data-state":Ue,"data-cy":`${je}-container`,"data-testid":`${Ie}-container`,children:[
4
+ /* @__PURE__ */e("button",{ref:Le,type:"button",className:$,onClick:()=>!Z&&ce(!se),onKeyDown:e=>{if("Enter"===e.key||" "===e.key||"ArrowDown"===e.key){e.preventDefault(),ce(!0);const t=Q.findIndex(e=>e.code===$e);he(-1===t?0:t)}},disabled:Z,"aria-haspopup":"listbox","aria-expanded":se,"aria-controls":Ne,"aria-label":`Select country. Current: ${Me.name}`,"data-cy":`${je}-country-trigger`,"data-testid":`${Ie}-country-trigger`,children:[
5
+ /* @__PURE__ */t(y,{flag:Me.flag,className:b,"data-cy":`${je}-flag`,"data-testid":`${Ie}-flag`}),
6
+ /* @__PURE__ */t(u,{name:"ChevronDownIcon",size:"sm",color:ue||se?"clickable":"text",decorative:!0,"data-cy":`${je}-chevron`})]}),
7
+ /* @__PURE__ */t("span",{className:g,"data-cy":`${je}-dial-code`,"data-testid":`${Ie}-dial-code`,children:Me.dialCode}),
8
+ /* @__PURE__ */t("input",{ref:le,id:ge,type:"tel",inputMode:"numeric",value:Be,onChange:e=>{const t=e.target.value,a=(X?p(t):t.replace(/[^0-9]/g,"")).slice(0,f);G?.(`${Me.dialCode}${a}`),Y?.(a.length>0)},onFocus:e=>{me(!0),oe?.(e)},onBlur:e=>{me(!1),de?.(e)},placeholder:qe,disabled:Z,required:_,className:c(S,ne),"aria-invalid":v?"true":"false","aria-required":_?"true":void 0,"aria-describedby":v?Ce:P?xe:void 0,"data-cy":je,"data-testid":Ie,...ie})]}),se&&s(
9
+ /* @__PURE__ */t("div",{ref:De,id:Ne,role:"listbox","aria-label":"Select country",className:C,style:{top:fe.top,left:fe.left,width:fe.width,minWidth:"20rem"},tabIndex:-1,onKeyDown:Te,"data-cy":`${je}-dropdown`,"data-testid":`${Ie}-dropdown`,children:/* @__PURE__ */t("div",{className:x,children:Q.map((a,r)=>/* @__PURE__ */e("div",{role:"option","aria-selected":a.code===$e,className:c(j,r===pe&&L,a.code===$e&&D),onClick:()=>Ke(a),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),Ke(a))},onMouseEnter:()=>he(r),tabIndex:r===pe?0:-1,"data-cy":`${je}-option-${a.code.toLowerCase()}`,"data-testid":`${Ie}-option-${a.code.toLowerCase()}`,children:[
10
+ /* @__PURE__ */t(y,{flag:a.flag,className:N}),
11
+ /* @__PURE__ */t("span",{className:k,children:a.name}),
12
+ /* @__PURE__ */t("span",{className:E,children:a.dialCode})]},a.code))})}),document.body),v&&/* @__PURE__ */t("span",{id:Ce,className:I,role:"alert","data-cy":`${je}-error`,"data-testid":`${Ie}-error`,children:v}),P&&!v&&/* @__PURE__ */t("span",{id:xe,className:M,"data-cy":`${je}-helper`,"data-testid":`${Ie}-helper`,children:P})]})});P.displayName="PhoneInput";export{f as E164_MAX_NATIONAL_DIGITS,P as PhoneInput,m as defaultPhoneMask,h as formatWithMask,p as getPhoneDigits,v as isValidPhoneLength};
package/dist/index45.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),o=require("@adam-milo/icons"),r=require("./index67.cjs"),a=require("./index102.cjs"),n=["none","asc","desc"],s={none:"Not sorted",asc:"Sorted A to Z",desc:"Sorted Z to A"},i=t.forwardRef(({direction:i,defaultDirection:c="none",onDirectionChange:d,cycle:l=n,onClick:u,disabled:b,className:m,"aria-label":y,"data-testid":f,"data-cy":x,...S},j)=>{const p=void 0!==i,[g,h]=t.useState(c),q=p?i:g,v=f||`sort-button-${q}`,C=x||`sort-button-${q}`,N=t.useCallback(e=>{if(u?.(e),e.defaultPrevented)return;const t=l.length>0?l:n,o=t.indexOf(q),r=t[(o+1)%t.length];p||h(r),r!==q&&d?.(r)},[l,q,p,u,d]),k="desc"===q?"[transform:scaleY(-1)]":void 0;return e.jsx("button",{ref:j,type:"button",disabled:b,className:r.cn(a.baseStyles,a.directionStyles[q],m),onClick:N,"aria-label":y||s[q],"aria-pressed":"none"!==q,"data-direction":q,"data-testid":v,"data-cy":C,...S,children:e.jsx(o.Icon,{name:"CustomDownArrowIcon",size:"xs",color:"inherit",decorative:!0,className:k,"data-cy":`${C}-icon`})})});i.displayName="SortButton",exports.SortButton=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),o=require("@adam-milo/icons"),a=require("./index67.cjs"),r=require("./index102.cjs"),n=["none","desc","asc"],s={none:"Not sorted",asc:"Sorted A to Z",desc:"Sorted Z to A"},i=t.forwardRef(({direction:i,defaultDirection:c="none",onDirectionChange:d,cycle:l=n,onClick:u,disabled:b,className:m,"aria-label":y,"data-testid":f,"data-cy":x,...S},j)=>{const p=void 0!==i,[g,h]=t.useState(c),q=p?i:g,v=f||`sort-button-${q}`,C=x||`sort-button-${q}`,N=t.useCallback(e=>{if(u?.(e),e.defaultPrevented)return;const t=l.length>0?l:n,o=t.indexOf(q),a=t[(o+1)%t.length];p||h(a),a!==q&&d?.(a)},[l,q,p,u,d]),k="asc"===q?"[transform:scaleY(-1)]":void 0;return e.jsx("button",{ref:j,type:"button",disabled:b,className:a.cn(r.baseStyles,r.directionStyles[q],m),onClick:N,"aria-label":y||s[q],"aria-pressed":"none"!==q,"data-direction":q,"data-testid":v,"data-cy":C,...S,children:e.jsx(o.Icon,{name:"CustomDownArrowIcon",size:"xs",color:"inherit",decorative:!0,className:k,"data-cy":`${C}-icon`})})});i.displayName="SortButton",exports.SortButton=i;
package/dist/index45.js CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as t}from"react/jsx-runtime";import{forwardRef as e,useState as o,useCallback as a}from"react";import{Icon as r}from"@adam-milo/icons";import{cn as n}from"./index67.js";import{directionStyles as i,baseStyles as d}from"./index102.js";const s=["none","asc","desc"],c={none:"Not sorted",asc:"Sorted A to Z",desc:"Sorted Z to A"},l=e(({direction:e,defaultDirection:l="none",onDirectionChange:m,cycle:f=s,onClick:u,disabled:p,className:b,"aria-label":x,"data-testid":y,"data-cy":h,...N},v)=>{const C=void 0!==e,[g,j]=o(l),A=C?e:g,D=y||`sort-button-${A}`,S=h||`sort-button-${A}`,$=a(t=>{if(u?.(t),t.defaultPrevented)return;const e=f.length>0?f:s,o=e.indexOf(A),a=e[(o+1)%e.length];C||j(a),a!==A&&m?.(a)},[f,A,C,u,m]),k="desc"===A?"[transform:scaleY(-1)]":void 0;/* @__PURE__ */
2
- return t("button",{ref:v,type:"button",disabled:p,className:n(d,i[A],b),onClick:$,"aria-label":x||c[A],"aria-pressed":"none"!==A,"data-direction":A,"data-testid":D,"data-cy":S,...N,children:/* @__PURE__ */t(r,{name:"CustomDownArrowIcon",size:"xs",color:"inherit",decorative:!0,className:k,"data-cy":`${S}-icon`})})});l.displayName="SortButton";export{l as SortButton};
1
+ import{jsx as t}from"react/jsx-runtime";import{forwardRef as e,useState as o,useCallback as a}from"react";import{Icon as r}from"@adam-milo/icons";import{cn as n}from"./index67.js";import{directionStyles as i,baseStyles as s}from"./index102.js";const d=["none","desc","asc"],c={none:"Not sorted",asc:"Sorted A to Z",desc:"Sorted Z to A"},l=e(({direction:e,defaultDirection:l="none",onDirectionChange:m,cycle:f=d,onClick:u,disabled:p,className:b,"aria-label":x,"data-testid":y,"data-cy":h,...N},v)=>{const C=void 0!==e,[g,j]=o(l),A=C?e:g,D=y||`sort-button-${A}`,S=h||`sort-button-${A}`,$=a(t=>{if(u?.(t),t.defaultPrevented)return;const e=f.length>0?f:d,o=e.indexOf(A),a=e[(o+1)%e.length];C||j(a),a!==A&&m?.(a)},[f,A,C,u,m]),k="asc"===A?"[transform:scaleY(-1)]":void 0;/* @__PURE__ */
2
+ return t("button",{ref:v,type:"button",disabled:p,className:n(s,i[A],b),onClick:$,"aria-label":x||c[A],"aria-pressed":"none"!==A,"data-direction":A,"data-testid":D,"data-cy":S,...N,children:/* @__PURE__ */t(r,{name:"CustomDownArrowIcon",size:"xs",color:"inherit",decorative:!0,className:k,"data-cy":`${S}-icon`})})});l.displayName="SortButton";export{l as SortButton};
package/dist/index69.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.defaultPhoneMask={mask:"### ### ####",placeholder:"123 456 7890",maxLength:10},exports.formatWithMask=function(e,t){const n=e.replace(/\D/g,"").slice(0,t.maxLength);let r="",o=0;for(let a=0;a<t.mask.length&&o<n.length;a++)"#"===t.mask[a]?(r+=n[o],o++):r+=t.mask[a];return r},exports.getPhoneDigits=function(e){return e.replace(/\D/g,"")},exports.isValidPhoneLength=function(e,t){return e.replace(/\D/g,"").length===t.maxLength};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.E164_MAX_NATIONAL_DIGITS=15,exports.defaultPhoneMask={mask:"### ### ####",placeholder:"123 456 7890",maxLength:10},exports.formatWithMask=function(e,t){const n=e.replace(/\D/g,"").slice(0,15);let r="",o=0;for(let s=0;s<t.mask.length&&o<n.length;s++)"#"===t.mask[s]?(r+=n[o],o++):r+=t.mask[s];return o<n.length&&(r+=n.slice(o)),r},exports.getPhoneDigits=function(e){return e.replace(/\D/g,"")},exports.isValidPhoneLength=function(e,t){const n=e.replace(/\D/g,"");return n.length>0&&n.length<=15};
package/dist/index69.js CHANGED
@@ -1 +1 @@
1
- const e={mask:"### ### ####",placeholder:"123 456 7890",maxLength:10};function n(e,n){const t=e.replace(/\D/g,"").slice(0,n.maxLength);let r="",a=0;for(let l=0;l<n.mask.length&&a<t.length;l++)"#"===n.mask[l]?(r+=t[a],a++):r+=n.mask[l];return r}function t(e){return e.replace(/\D/g,"")}function r(e,n){return e.replace(/\D/g,"").length===n.maxLength}export{e as defaultPhoneMask,n as formatWithMask,t as getPhoneDigits,r as isValidPhoneLength};
1
+ const e=15,n={mask:"### ### ####",placeholder:"123 456 7890",maxLength:10};function t(e,n){const t=e.replace(/\D/g,"").slice(0,15);let l="",c=0;for(let r=0;r<n.mask.length&&c<t.length;r++)"#"===n.mask[r]?(l+=t[c],c++):l+=n.mask[r];return c<t.length&&(l+=t.slice(c)),l}function l(e){return e.replace(/\D/g,"")}function c(e,n){const t=e.replace(/\D/g,"");return t.length>0&&t.length<=15}export{e as E164_MAX_NATIONAL_DIGITS,n as defaultPhoneMask,t as formatWithMask,l as getPhoneDigits,c as isValidPhoneLength};
@@ -78,7 +78,7 @@ export interface DataTableProps extends TableHTMLAttributes<HTMLTableElement> {
78
78
  sortDirection?: SortDirection;
79
79
  /**
80
80
  * Called when a sortable column's sort control is toggled. Receives the
81
- * column key and its next direction (`none` β†’ `asc` β†’ `desc` β†’ `none`). The
81
+ * column key and its next direction (`none` β†’ `desc` β†’ `asc` β†’ `none`). The
82
82
  * table does not sort data itself β€” reorder `data` in response.
83
83
  */
84
84
  onSortChange?: (key: string, direction: SortDirection) => void;
@@ -2,9 +2,9 @@ import { ButtonHTMLAttributes } from 'react';
2
2
 
3
3
  /**
4
4
  * Logical state of a sort control.
5
- * - `none`: no sort applied (idle / "disabled" in the design)
6
- * - `asc`: A β†’ Z (ascending)
7
- * - `desc`: Z β†’ A (descending)
5
+ * - `none`: no sort applied (idle / "disabled" in the design) β€” down arrow, muted
6
+ * - `desc`: Z β†’ A (descending) β€” down arrow
7
+ * - `asc`: A β†’ Z (ascending) β€” up arrow (flipped)
8
8
  */
9
9
  export type SortDirection = 'none' | 'asc' | 'desc';
10
10
  export interface SortButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
@@ -16,7 +16,7 @@ export interface SortButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
16
16
  onDirectionChange?: (direction: SortDirection) => void;
17
17
  /**
18
18
  * Order to cycle through on each click.
19
- * Defaults to `['none', 'asc', 'desc']` (idle β†’ A-Z β†’ Z-A β†’ idle).
19
+ * Defaults to `['none', 'desc', 'asc']` (idle β†’ Z-A ↓ β†’ A-Z ↑ β†’ idle).
20
20
  */
21
21
  cycle?: readonly SortDirection[];
22
22
  /** Accessible label describing what's being sorted (e.g. "Sort by name"). */
@@ -1,7 +1,7 @@
1
1
  import { PhoneInputProps } from './PhoneInput.types';
2
2
 
3
3
  export type { Country, PhoneMask } from './countries';
4
- export { defaultPhoneMask, formatWithMask, getPhoneDigits, isValidPhoneLength } from './countries';
4
+ export { defaultPhoneMask, E164_MAX_NATIONAL_DIGITS, formatWithMask, getPhoneDigits, isValidPhoneLength, } from './countries';
5
5
  export declare const PhoneInput: import('react').ForwardRefExoticComponent<PhoneInputProps & import('react').RefAttributes<HTMLInputElement>>;
6
6
  export type { PhoneInputProps } from './PhoneInput.types';
7
7
  //# sourceMappingURL=PhoneInput.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneInput.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/PhoneInput.component.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA2B1D,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAUnG,eAAO,MAAM,UAAU,8GA8ZtB,CAAC;AAIF,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"PhoneInput.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/PhoneInput.component.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA2B1D,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,MAAM,aAAa,CAAC;AAUrB,eAAO,MAAM,UAAU,8GAyZtB,CAAC;AAIF,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
@@ -16,6 +16,10 @@ export interface PhoneInputProps extends Omit<InputHTMLAttributes<HTMLInputEleme
16
16
  /** Array of country objects for the selector. Each object: `{ code, name, dialCode, flag }`. */
17
17
  countries: Country[];
18
18
  enableFormatting?: boolean;
19
+ /**
20
+ * Soft signal when national digits are non-empty. Not mask-length or
21
+ * libphonenumber validity β€” prefer form-schema validation for that.
22
+ */
19
23
  onValidationChange?: (isValid: boolean) => void;
20
24
  'data-cy'?: string;
21
25
  'data-testid'?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneInput.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/PhoneInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,OAAO,GAAG,UAAU,CAC9B;IACC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,gGAAgG;IAChG,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"PhoneInput.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/PhoneInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,OAAO,GAAG,UAAU,CAC9B;IACC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,gGAAgG;IAChG,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,10 +1,22 @@
1
1
  import { PhoneMask } from './countries.types';
2
2
 
3
3
  export type { Country, PhoneMask } from './countries.types';
4
+ /** E.164 allows at most 15 digits in the national number (excluding country calling code). */
5
+ export declare const E164_MAX_NATIONAL_DIGITS = 15;
4
6
  /** Fallback mask when a country from props has no mask. */
5
7
  export declare const defaultPhoneMask: PhoneMask;
6
- /** Format digits using the given mask. */
8
+ /**
9
+ * Format digits using the given mask for display.
10
+ * Digits beyond the mask’s `#` slots are appended unformatted so longer valid
11
+ * numbers remain visible. Caps at {@link E164_MAX_NATIONAL_DIGITS}.
12
+ */
7
13
  export declare function formatWithMask(value: string, mask: PhoneMask): string;
8
14
  export declare function getPhoneDigits(formattedValue: string): string;
9
- export declare function isValidPhoneLength(value: string, mask: PhoneMask): boolean;
15
+ /**
16
+ * Soft length check only β€” not a substitute for real phone validation.
17
+ *
18
+ * @deprecated Prefer app-side validation (e.g. libphonenumber). `mask.maxLength`
19
+ * is display-only; this helper only checks non-empty within the E.164 national max.
20
+ */
21
+ export declare function isValidPhoneLength(value: string, _mask?: PhoneMask): boolean;
10
22
  //# sourceMappingURL=countries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/countries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE5D,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,EAAE,SAI9B,CAAC;AAEF,0CAA0C;AAC1C,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAiBrE;AAED,wBAAgB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAG1E"}
1
+ {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/countries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE5D,8FAA8F;AAC9F,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAE3C,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,EAAE,SAI9B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM,CAqBrE;AAED,wBAAgB,cAAc,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,CAG5E"}
@@ -1,14 +1,20 @@
1
1
  export interface PhoneMask {
2
+ /** Pattern of `#` digit slots and literal separators (display-only). */
2
3
  mask: string;
3
4
  placeholder: string;
4
- maxLength: number;
5
+ /**
6
+ * Optional formatting hint (e.g. expected digit count for the pattern).
7
+ * Not used for truncation or validity β€” real validation belongs in the app
8
+ * (e.g. libphonenumber).
9
+ */
10
+ maxLength?: number;
5
11
  }
6
12
  export interface Country {
7
13
  code: string;
8
14
  name: string;
9
15
  dialCode: string;
10
16
  flag: string;
11
- /** Optional mask for this country. When provided (via props), used for formatting/validation. */
17
+ /** Optional mask for this country. When provided (via props), used for display formatting only. */
12
18
  mask?: PhoneMask;
13
19
  }
14
20
  //# sourceMappingURL=countries.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"countries.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/countries.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,iGAAiG;IACjG,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB"}
1
+ {"version":3,"file":"countries.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/phone-input/countries.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,mGAAmG;IACnG,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB"}
@@ -25,7 +25,7 @@ export { Radio } from './components/forms/radio/Radio.component';
25
25
  export type { RadioProps } from './components/forms/radio/Radio.component';
26
26
  export { Select, SelectTrigger, SelectContent, SelectItem, SelectValue, SelectGroup, SelectLabel, SelectSeparator, } from './components/forms/select/Select.component';
27
27
  export type { SelectTriggerProps, SelectContentProps, SelectItemProps, SelectLabelProps, SelectSeparatorProps, } from './components/forms/select/Select.component';
28
- export { PhoneInput, defaultPhoneMask, formatWithMask, getPhoneDigits, isValidPhoneLength, } from './components/forms/phone-input/PhoneInput.component';
28
+ export { PhoneInput, defaultPhoneMask, E164_MAX_NATIONAL_DIGITS, formatWithMask, getPhoneDigits, isValidPhoneLength, } from './components/forms/phone-input/PhoneInput.component';
29
29
  export type { PhoneInputProps, Country, PhoneMask, } from './components/forms/phone-input/PhoneInput.component';
30
30
  export { OTPInput } from './components/forms/otp-input/OTPInput.component';
31
31
  export type { OTPInputProps, OTPInputRef, OTPInputSize, } from './components/forms/otp-input/OTPInput.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,YAAY,EAAE,WAAW,EA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CAA6C,CAAC;AACnE,YAAY,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,UAAU,GACX,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAC1E,YAAY,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,cAAc,GACf,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAC9E,YAAY,EACV,aAAa,EACb,YAAY,GACb,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,EAAE,EACF,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,OAAO,CAAC;AACf,YAAY,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5F,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adam-milo/ui",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "type": "module",
5
5
  "description": "Adam Milo Design System - UI Component Library",
6
6
  "keywords": [