@yahoo/uds 0.1.6 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/uds +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +526 -97
- package/dist/index.d.ts +526 -97
- package/dist/index.js +1 -1
- package/dist/styles/fonts.css +1 -1
- package/dist/styles/globals.css +1 -0
- package/dist/styles/globals.d.cts +2 -0
- package/dist/styles/globals.d.ts +2 -0
- package/dist/tailwindPlugin.cjs +1 -0
- package/dist/tailwindPlugin.d.cts +15 -0
- package/dist/tailwindPlugin.d.ts +15 -0
- package/dist/tailwindPlugin.js +1 -0
- package/package.json +34 -11
- package/dist/chunk-RK4NHJLQ.js +0 -1
- package/dist/fixtures.cjs +0 -1
- package/dist/fixtures.d.cts +0 -44
- package/dist/fixtures.d.ts +0 -44
- package/dist/fixtures.js +0 -1
- package/dist/types-7giMTpNx.d.cts +0 -542
- package/dist/types-7giMTpNx.d.ts +0 -542
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{n as Ne,o as Oe,p as De,r as Xe,s as je,v as Ge,w as qe,y as Ke}from"./chunk-RK4NHJLQ.js";import Mt from"clsx";import{extendTailwindMerge as zt}from"tailwind-merge";function _e(r){return typeof r=="boolean"?`${r}`:r===0?"0":r}var Rt=zt({cacheSize:0,override:{classGroups:{"text-color":[{text:Oe}],"border-color":[{border:De}],"border-w":[{border:Ge}],"bg-color":[{bg:Ne}],rounded:[{rounded:Ke}],"font-family":[{font:Xe}],"font-weight":[{font:je}],shadow:[{shadow:qe}]},conflictingClassGroups:{}}}),Se=(...r)=>{let e=Mt(r);return Rt(e)},Ye=r=>e=>{if(!r?.variants)return Se(r?.base,e?.className);let{variants:t,defaultVariants:o}=r,n=Object.keys(t).map(i=>{let c=e?.[i],l=o?.[i],d=_e(c)||_e(l);return t[i][d]}),a={...o,...e&&Object.entries(e).reduce((i,[c,l])=>typeof l>"u"?i:{...i,[c]:l},{})},s=r?.compoundVariants?.reduce((i,{className:c,...l})=>Object.entries(l).every(([d,p])=>a[d]===p)?Se(i,c):i,"");return Se(r?.base,n,s,e?.className)},b=Ye({variants:{color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display"},fontSize:{display1:"text-display1",display2:"text-display2",title1:"text-title1",title2:"text-title2",title3:"text-title3",title4:"text-title4",headline1:"text-headline1",body1:"text-body1",label1:"text-label1",label2:"text-label2",caption1:"text-caption1",caption2:"text-caption2",legal1:"text-legal1"},fontWeight:{thin:"font-thin",extralight:"font-extralight",light:"font-light",regular:"font-regular",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black",display1:"font-display1",display2:"font-display2",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"uppercase",display2:"uppercase",title1:"normal-case",title2:"normal-case",title3:"normal-case",title4:"normal-case",headline1:"normal-case",body1:"normal-case",label1:"normal-case",label2:"normal-case",caption1:"normal-case",caption2:"normal-case",legal1:"normal-case"},spacing:{0:"p-0",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{0:"px-0",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{0:"py-0",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{0:"pb-0",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{0:"pe-0",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{0:"ps-0",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{0:"pt-0",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{0:"-m-0",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{0:"-my-0",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{0:"-mx-0",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{0:"-mb-0",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{0:"-me-0",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{0:"-ms-0",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{0:"-mt-0",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{0:"gap-x-0",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{0:"gap-y-0",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-none"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit"},maxWidth:{none:"max-w-none",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s",m:"iconSize-m",l:"iconSize-l"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-1",1:"grow"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},objectFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"}}});var Ze={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"black",objectFit:"cover"},He={base:{display:"inline-flex",alignItems:"center",justifyContent:"flex-start",borderRadius:"circle",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0}},size:{s:{fontSize:"label1",spacingHorizontal:"7",spacingVertical:"4",columnGap:"4"},m:{fontSize:"body1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{fontSize:"body1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Je({variant:r,size:e}){let{color:t,...o}=He.variant[r],{fontSize:n,...a}=He.size[e];return{pressable:{...He.base,...o,...a},text:{color:t,fontSize:n}}}import{jsx as Ht}from"react/jsx-runtime";function _t({size:r,shape:e,src:t,alt:o,...n}){let a=b({...Ze,avatarSize:r,borderRadius:e});return Ht("img",{src:t,alt:o,className:a,...n})}import{Slot as Ft}from"@radix-ui/react-slot";import{forwardRef as Lt}from"react";import{jsx as Wt}from"react/jsx-runtime";var u=Lt(({asChild:r,className:e,elevation:t,backgroundColor:o=t?`elevation-${t}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:a,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:l,borderedBottom:d,borderedStart:p,borderedEnd:m,borderedHorizontal:g,borderedVertical:y,borderRadius:x,borderTopStartRadius:v,borderTopEndRadius:w,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:S,borderColorOnActive:T,borderColorOnFocus:P,borderColorOnChecked:M,borderColorOnHover:z,borderStartColor:R,borderEndColor:_,borderTopColor:H,borderBottomColor:F,borderWidth:L,borderVerticalWidth:W,borderHorizontalWidth:A,borderStartWidth:E,borderEndWidth:B,borderTopWidth:V,borderBottomWidth:I,alignContent:U,alignItems:$,alignSelf:N,flex:O,flexDirection:D,flexGrow:X,flexShrink:j,flexWrap:G,justifyContent:q,flexBasis:K,display:Y="flex",zIndex:Z,overflow:J,overflowX:Q,overflowY:ee,position:te,spacing:re,spacingHorizontal:oe,spacingVertical:ae,spacingBottom:ne,spacingEnd:ie,spacingStart:se,spacingTop:le,offset:ce,offsetVertical:de,offsetHorizontal:pe,offsetBottom:be,offsetEnd:me,offsetStart:ge,offsetTop:fe,columnGap:ue,rowGap:he,height:ye,minHeight:xe,maxHeight:ve,width:we,minWidth:ke,maxWidth:Ce,...Me},ze)=>{let Re=b({elevation:t,backgroundColor:o,backgroundColorOnActive:n,backgroundColorOnHover:a,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:l,borderedBottom:d,borderedStart:p,borderedEnd:m,borderedHorizontal:g,borderedVertical:y,borderRadius:x,borderTopStartRadius:v,borderTopEndRadius:w,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:S,borderColorOnActive:T,borderColorOnFocus:P,borderColorOnChecked:M,borderColorOnHover:z,borderStartColor:R,borderEndColor:_,borderTopColor:H,borderBottomColor:F,borderWidth:L,borderVerticalWidth:W,borderHorizontalWidth:A,borderStartWidth:E,borderEndWidth:B,borderTopWidth:V,borderBottomWidth:I,alignContent:U,alignItems:$,alignSelf:N,flex:O,flexDirection:D,flexGrow:X,flexShrink:j,flexWrap:G,justifyContent:q,flexBasis:K,display:Y,zIndex:Z,overflow:J,overflowX:Q,overflowY:ee,position:te,spacing:re,spacingHorizontal:oe,spacingVertical:ae,spacingBottom:ne,spacingEnd:ie,spacingStart:se,spacingTop:le,offset:ce,offsetVertical:de,offsetHorizontal:pe,offsetBottom:be,offsetEnd:me,offsetStart:ge,offsetTop:fe,columnGap:ue,rowGap:he,height:ye,minHeight:xe,maxHeight:ve,width:we,minWidth:ke,maxWidth:Ce,className:e});return Wt(r?Ft:"div",{className:Re,ref:ze,...Me})});u.displayName="Box";import{forwardRef as $t}from"react";import{Slot as At}from"@radix-ui/react-slot";import{forwardRef as Et}from"react";import{jsx as Bt}from"react/jsx-runtime";var Fe=Et(function({className:e,asChild:t,backgroundColor:o,backgroundColorOnActive:n,backgroundColorOnHover:a,backgroundColorOnChecked:s,elevation:i,opacity:c,bordered:l,borderedTop:d,borderedBottom:p,borderedStart:m,borderedEnd:g,borderedHorizontal:y,borderedVertical:x,borderRadius:v,borderTopStartRadius:w,borderTopEndRadius:k,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:T,borderColorOnActive:P,borderColorOnFocus:M,borderColorOnChecked:z,borderColorOnHover:R,borderStartColor:_,borderEndColor:H,borderTopColor:F,borderBottomColor:L,borderWidth:W,borderVerticalWidth:A,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:V,borderTopWidth:I,borderBottomWidth:U,alignContent:$,alignItems:N,alignSelf:O,flex:D,flexDirection:X,flexGrow:j,flexShrink:G,flexWrap:q,justifyContent:K,flexBasis:Y,display:Z,zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:re,spacing:oe,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:ce,offset:de,offsetVertical:pe,offsetHorizontal:be,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:ue,columnGap:he,rowGap:ye,height:xe,minHeight:ve,maxHeight:we,width:ke,minWidth:Ce,maxWidth:Me,...ze},Re){let $e=b({backgroundColor:o,backgroundColorOnActive:n,backgroundColorOnHover:a,backgroundColorOnChecked:s,elevation:i,opacity:c,bordered:l,borderedTop:d,borderedBottom:p,borderedStart:m,borderedEnd:g,borderedHorizontal:y,borderedVertical:x,borderRadius:v,borderTopStartRadius:w,borderTopEndRadius:k,borderBottomStartRadius:C,borderBottomEndRadius:S,borderColor:T,borderColorOnActive:P,borderColorOnFocus:M,borderColorOnChecked:z,borderColorOnHover:R,borderStartColor:_,borderEndColor:H,borderTopColor:F,borderBottomColor:L,borderWidth:W,borderVerticalWidth:A,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:V,borderTopWidth:I,borderBottomWidth:U,alignContent:$,alignItems:N,alignSelf:O,flex:D,flexDirection:X,flexGrow:j,flexShrink:G,flexWrap:q,justifyContent:K,flexBasis:Y,display:Z,zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:re,spacing:oe,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:ce,offset:de,offsetVertical:pe,offsetHorizontal:be,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:ue,columnGap:he,rowGap:ye,height:xe,minHeight:ve,maxHeight:we,width:ke,minWidth:Ce,maxWidth:Me,className:e});return Bt(t?At:"button",{className:$e,ref:Re,...ze})});import{Slot as Vt}from"@radix-ui/react-slot";import{forwardRef as It}from"react";import{jsx as Ut}from"react/jsx-runtime";var Le=It(function({className:e,asChild:t,color:o="primary",colorChecked:n,opacity:a,fontFamily:s,fontSize:i,fontWeight:c=i,lineHeight:l=i,textAlign:d,textTransform:p=i,spacing:m,spacingBottom:g,spacingEnd:y,spacingHorizontal:x,spacingStart:v,spacingTop:w,spacingVertical:k,offset:C,offsetBottom:S,offsetEnd:T,offsetHorizontal:P,offsetStart:M,offsetTop:z,offsetVertical:R,height:_,minHeight:H,maxHeight:F,width:L,minWidth:W,maxWidth:A,alignContent:E,alignItems:B,alignSelf:V,flex:I,flexDirection:U,flexGrow:$,flexShrink:N,flexWrap:O,justifyContent:D,flexBasis:X,bordered:j,borderedTop:G,borderedBottom:q,borderedStart:K,borderedEnd:Y,borderedHorizontal:Z,borderedVertical:J,borderRadius:Q,borderTopStartRadius:ee,borderTopEndRadius:te,borderBottomStartRadius:re,borderBottomEndRadius:oe,borderColor:ae,borderColorOnActive:ne,borderColorOnFocus:ie,borderColorOnChecked:se,borderColorOnHover:le,borderStartColor:ce,borderEndColor:de,borderTopColor:pe,borderBottomColor:be,borderWidth:me,borderVerticalWidth:ge,borderHorizontalWidth:fe,borderStartWidth:ue,borderEndWidth:he,borderTopWidth:ye,borderBottomWidth:xe,...ve},we){let ke=t?Vt:"p",Ce=b({className:e,color:o,colorChecked:n,opacity:a,fontFamily:s,fontSize:i,fontWeight:c,lineHeight:l,textAlign:d,textTransform:p,spacing:m,spacingBottom:g,spacingEnd:y,spacingHorizontal:x,spacingStart:v,spacingTop:w,spacingVertical:k,offset:C,offsetBottom:S,offsetEnd:T,offsetHorizontal:P,offsetStart:M,offsetTop:z,offsetVertical:R,height:_,minHeight:H,maxHeight:F,width:L,minWidth:W,maxWidth:A,alignContent:E,alignItems:B,alignSelf:V,flex:I,flexDirection:U,flexGrow:$,flexShrink:N,flexWrap:O,justifyContent:D,flexBasis:X,bordered:j,borderedTop:G,borderedBottom:q,borderedStart:K,borderedEnd:Y,borderedHorizontal:Z,borderedVertical:J,borderRadius:Q,borderTopStartRadius:ee,borderTopEndRadius:te,borderBottomStartRadius:re,borderBottomEndRadius:oe,borderColor:ae,borderColorOnActive:ne,borderColorOnFocus:ie,borderColorOnChecked:se,borderColorOnHover:le,borderStartColor:ce,borderEndColor:de,borderTopColor:pe,borderBottomColor:be,borderWidth:me,borderVerticalWidth:ge,borderHorizontalWidth:fe,borderStartWidth:ue,borderEndWidth:he,borderTopWidth:ye,borderBottomWidth:xe});return Ut(ke,{ref:we,className:Ce,...ve})});import{jsx as Qe}from"react/jsx-runtime";var Nt=$t(function({variant:e="accent",size:t,children:o,...n},a){let s=Je({variant:e,size:t});return Qe(Fe,{...s.pressable,ref:a,...n,children:Qe(Le,{...s.text,children:o})})});import{forwardRef as Ot}from"react";import{jsx as Xt}from"react/jsx-runtime";var Dt=Ot(function({gap:e,...t},o){return Xt(u,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{forwardRef as jt}from"react";import{jsx as qt}from"react/jsx-runtime";var Gt=jt(function({gap:e,...t},o){return qt(u,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...t})});import br from"tailwindcss/plugin";var et={core:{brand:{hue:"purple",step:"10"},accent:{hue:"blue",step:"10"},alert:{hue:"red",step:"10"},positive:{hue:"green",step:"10"},warning:{hue:"orange",step:"10"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"},"elevation-1":{hue:"gray",step:"1"},"elevation-2":{hue:"gray",step:"1"},"elevation-3":{hue:"gray",step:"1"},"elevation-3-inverse":{hue:"gray",step:"13"},overlay:{hue:"gray",step:"10",opacity:"0.6"}},backgroundWash:{"alert-wash":{hue:"red",step:"2"},"brand-wash":{hue:"purple",step:"2"},"accent-wash":{hue:"blue",step:"2"},"positive-wash":{hue:"green",step:"2"},"warning-wash":{hue:"orange",step:"2"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"10"},muted:{hue:"gray",step:"9"},"on-color":{hue:"gray",step:"1"}},line:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"10"},tertiary:{hue:"gray",step:"8"},muted:{hue:"gray",step:"4"}}},tt={core:{brand:{hue:"purple",step:"10"},accent:{hue:"blue",step:"10"},alert:{hue:"red",step:"10"},positive:{hue:"green",step:"10"},warning:{hue:"orange",step:"10"}},background:{primary:{hue:"gray",step:"2"},secondary:{hue:"gray",step:"4"},"elevation-1":{hue:"gray",step:"3"},"elevation-2":{hue:"gray",step:"4"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"13"},overlay:{hue:"gray",step:"10",opacity:"0.6"}},backgroundWash:{"brand-wash":{hue:"purple",step:"2"},"accent-wash":{hue:"blue",step:"2"},"alert-wash":{hue:"red",step:"2"},"positive-wash":{hue:"green",step:"2"},"warning-wash":{hue:"orange",step:"2"}},foreground:{primary:{hue:"gray",step:"15"},secondary:{hue:"gray",step:"14"},tertiary:{hue:"gray",step:"10"},muted:{hue:"gray",step:"9"},"on-color":{hue:"gray",step:"1"}},line:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"10"},tertiary:{hue:"gray",step:"8"},muted:{hue:"gray",step:"4"}}},rt={white:"#ffffff",black:"#000000",transparent:"transparent"};function f(r){return Object.entries(r)}function Te(r,e){return Object.keys(r).reduce((t,o,n)=>(t[o]=e(r[o],o,n),t),{})}var ot={0:0,1:1,2:2,4:4,8:8};var at={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var We=["Helvetica Neue","Helvetica","Arial","sans-serif"],nt=["Georgia","Times","Times New Roman","serif"],it={icons:{fallbacks:We},sans:{fallbacks:We},"sans-condensed":{fallbacks:We},"serif-text":{fallbacks:nt},"serif-display":{fallbacks:nt}};var Ae={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},Ee={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"};var st={auto:"auto",square:"1 / 1",video:"16 / 9"},lt={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var ct={fontSize:{display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14,caption1:12,caption2:12,legal1:11},lineHeight:{display1:44,title1:40,title2:36,title3:32,title4:24,headline1:20,body1:20,label1:20,label2:20,caption1:16,caption2:16,legal1:16}};var dt={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{display1:44,title1:40,title2:36,title3:32,title4:24,headline1:20,body1:20,label1:16,label2:16,caption1:16,caption2:16,legal1:16}};var pt={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{display1:44,title1:40,title2:32,title3:28,title4:24,headline1:20,body1:20,label1:16,label2:16,caption1:16,caption2:16,legal1:16}};var bt={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:18,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{display1:44,title1:44,title2:36,title3:32,title4:24,headline1:24,body1:24,label1:20,label2:20,caption1:20,caption2:20,legal1:16}};var mt={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}};var gt={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{display1:44,title1:44,title2:40,title3:36,title4:32,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15}};var ft={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{display1:44,title1:48,title2:44,title3:36,title4:32,headline1:28,body1:28,label1:28,label2:28,caption1:24,caption2:24,legal1:20}};var ut={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},ht={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var Be={s:16,m:24,l:32},yt=Be,Ve={s:16,m:24,l:32},xt=Ve;var vt={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},wt={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var kt={blue:{1:"242 250 255",2:"223 242 255",3:"202 234 255",4:"162 218 255",5:"125 203 255",6:"89 189 255",7:"18 169 255",8:"24 143 255",9:"15 105 255",10:"0 99 235",11:"0 89 222",12:"0 72 196",13:"0 55 164",14:"0 39 126",15:"0 23 83",16:"0 10 38"},purple:{16:"16 0 38",15:"29 0 71",14:"43 0 103",13:"57 0 125",12:"80 21 176",11:"96 1 210",10:"126 31 255",9:"129 56 255",8:"124 73 252",7:"122 93 252",6:"149 126 252",5:"176 159 252",4:"202 194 255",3:"225 217 255",2:"235 229 255",1:"248 244 255"},pink:{16:"38 0 16",15:"76 0 33",14:"116 0 52",13:"156 0 72",12:"195 0 94",11:"227 0 113",10:"255 0 128",9:"255 54 161",8:"255 79 176",7:"255 121 200",6:"255 155 219",5:"255 183 233",4:"255 204 242",3:"255 220 248",2:"255 235 249",1:"255 247 252"},red:{16:"38 3 0",15:"68 4 0",14:"98 3 0",13:"127 0 0",12:"157 0 4",11:"187 0 10",10:"211 13 46",9:"245 44 57",8:"255 77 82",7:"253 106 116",6:"255 152 159",5:"255 187 192",4:"255 214 218",3:"255 231 232",2:"255 240 241",1:"255 250 250"},yellow:{16:"38 30 0",15:"49 38 0",14:"64 50 0",13:"83 65 0",12:"108 85 0",11:"138 109 4",10:"160 127 8",9:"181 144 12",8:"229 185 23",7:"255 211 51",6:"255 224 46",5:"255 233 87",4:"255 242 125",3:"255 246 161",2:"255 250 209",1:"255 253 238"},green:{16:"3 33 21",15:"4 43 27",14:"4 51 31",13:"4 59 35",12:"4 77 44",11:"4 94 52",10:"0 108 59",9:"10 122 68",8:"0 135 81",7:"48 161 89",6:"86 196 112",5:"126 228 135",4:"162 242 162",3:"202 250 197",2:"225 253 220",1:"246 255 244"},teal:{16:"0 38 38",15:"0 44 44",14:"0 54 53",13:"0 69 67",12:"0 89 86",11:"0 110 107",10:"0 122 122",9:"0 160 160",8:"0 189 184",7:"17 211 205",6:"78 232 220",5:"133 247 233",4:"177 255 243",3:"207 255 248",2:"224 255 248",1:"242 255 251"},gray:{16:"0 0 0",15:"16 21 24",14:"29 34 40",13:"35 42 49",12:"44 54 63",11:"70 78 86",10:"91 99 106",9:"110 119 128",8:"130 138 147",7:"151 158 168",6:"176 185 193",5:"199 205 210",4:"224 228 233",3:"240 243 245",2:"245 248 250",1:"255 255 255"},orange:{1:"255 249 242",2:"255 239 222",3:"255 229 202",5:"252 182 111",6:"255 158 66",7:"255 137 21",8:"240 114 5",9:"217 94 18",10:"191 73 0",11:"166 64 0",12:"145 56 0",4:"249 208 167",13:"115 44 0",14:"94 37 1",15:"68 26 0",16:"38 15 0"},rose:{1:"255 247 250",2:"255 235 243",3:"255 224 239",4:"255 209 226",5:"255 193 213",6:"250 162 187",7:"233 126 157",8:"211 89 124",9:"189 57 95",10:"167 52 85",11:"144 47 75",12:"113 35 57",13:"87 27 44",14:"66 22 35",15:"50 18 27",16:"38 15 22"},sunset:{1:"255 240 238",2:"251 221 218",3:"247 203 199",4:"234 170 163",5:"221 140 130",6:"209 113 99",7:"196 89 71",8:"184 68 46",9:"171 51 24",10:"158 44 18",11:"145 38 12",12:"124 26 1",13:"102 22 0",14:"81 18 0",15:"60 13 0",16:"38 8 0"},brown:{1:"255 253 250",2:"255 246 224",3:"255 236 209",4:"251 221 191",5:"237 199 159",6:"217 170 118",7:"185 136 79",8:"151 104 47",9:"134 90 35",10:"117 76 25",11:"91 56 11",12:"71 42 4",13:"55 33 1",14:"45 27 0",15:"38 23 0",16:"26 16 0"},citron:{1:"253 255 230",2:"249 253 193",3:"245 252 158",4:"235 244 87",5:"222 231 23",6:"205 212 0",7:"184 188 0",8:"158 159 0",9:"128 128 0",10:"115 113 0",11:"101 99 0",12:"78 76 0",13:"61 58 0",14:"49 46 0",15:"42 39 0",16:"38 35 0"},lime:{1:"249 255 245",2:"237 255 224",3:"230 255 209",4:"217 250 190",5:"202 239 168",6:"172 222 122",7:"137 199 70",8:"101 169 21",9:"77 137 0",10:"70 122 0",11:"62 107 0",12:"50 83 0",13:"40 65 0",14:"33 51 0",15:"28 43 0",16:"26 38 0"},mint:{1:"245 255 249",2:"231 252 240",3:"218 248 232",4:"201 239 219",5:"174 224 199",6:"133 203 172",7:"88 179 142",8:"45 151 113",9:"12 122 88",10:"1 109 78",11:"1 96 71",12:"0 74 57",13:"0 58 46",14:"0 47 38",15:"0 41 33",16:"0 28 23"},cyan:{1:"245 255 255",2:"223 255 255",3:"201 255 255",4:"161 245 251",5:"121 229 240",6:"85 205 223",7:"54 177 201",8:"29 146 174",9:"20 114 142",10:"19 100 126",11:"17 86 111",12:"13 64 86",13:"10 48 67",14:"9 37 53",15:"8 29 44",16:"4 18 28"},indigo:{1:"242 244 255",2:"226 230 255",3:"209 213 255",4:"184 188 255",5:"156 160 255",6:"130 130 255",7:"93 94 255",8:"64 64 227",9:"47 41 204",10:"32 21 194",11:"26 13 171",12:"22 9 144",13:"18 5 118",14:"15 3 91",15:"11 1 65",16:"6 0 38"},magenta:{1:"244 235 255",2:"236 217 251",3:"229 199 247",4:"223 182 243",5:"220 166 240",6:"212 136 227",7:"207 109 214",8:"201 84 199",9:"188 61 177",10:"164 46 151",11:"140 32 126",12:"116 22 103",13:"92 13 81",14:"68 6 60",15:"44 2 39",16:"20 0 18"},nude:{1:"255 245 245",2:"251 222 221",3:"248 203 196",4:"235 185 172",5:"222 169 149",6:"202 155 136",7:"182 139 122",8:"162 122 106",9:"142 104 89",10:"131 93 80",11:"120 83 71",12:"100 61 48",13:"80 34 19",14:"60 14 0",15:"40 9 0",16:"20 4 0"}},Ct={blue:{16:"240 247 252",15:"213 237 252",14:"182 224 252",13:"150 210 250",12:"125 203 255",11:"99 192 255",10:"18 169 255",9:"17 148 236",8:"0 116 210",7:"0 87 183",6:"0 63 156",5:"0 44 129",4:"0 29 102",3:"0 19 75",2:"0 14 57",1:"0 10 38"},purple:{16:"248 244 255",15:"235 232 254",14:"225 219 252",13:"209 201 251",12:"187 174 249",11:"165 149 248",10:"144 124 255",9:"119 89 255",8:"108 36 242",7:"96 1 210",6:"80 21 176",5:"57 0 125",4:"51 0 102",3:"42 0 75",2:"34 0 57",1:"25 0 38"},pink:{16:"255 229 247",15:"255 212 240",14:"255 186 228",13:"255 150 211",12:"255 101 186",11:"255 54 161",10:"255 0 128",9:"233 0 107",8:"194 0 81",7:"157 0 67",6:"123 0 54",5:"96 0 43",4:"75 0 34",3:"58 0 27",2:"48 0 23",1:"38 0 19"},red:{16:"255 240 241",15:"254 210 214",14:"255 183 188",13:"255 155 161",12:"255 135 141",11:"255 105 109",10:"255 77 82",9:"232 58 62",8:"210 46 47",7:"183 28 27",6:"156 15 12",5:"129 5 0",4:"102 1 0",3:"75 3 0",2:"57 3 0",1:"38 3 0"},yellow:{16:"255 253 238",15:"255 251 197",14:"255 249 163",13:"255 243 138",12:"255 232 102",11:"255 220 79",10:"255 204 0",9:"233 171 0",8:"194 136 0",7:"157 112 0",6:"123 91 0",5:"96 73 0",4:"75 60 0",3:"58 49 0",2:"48 42 0",1:"38 35 0"},green:{16:"247 255 245",15:"213 255 208",14:"169 251 169",13:"128 242 143",12:"91 235 126",11:"55 219 115",10:"26 197 103",9:"29 181 97",8:"23 149 83",7:"18 118 68",6:"14 91 55",5:"11 70 44",4:"8 55 36",3:"8 48 32",2:"7 43 29",1:"7 33 23"},teal:{16:"242 255 254",15:"216 255 252",14:"185 255 251",13:"145 249 243",12:"99 237 231",11:"52 227 222",10:"17 211 205",9:"15 194 190",8:"1 160 159",7:"0 126 127",6:"0 97 99",5:"0 73 76",4:"0 56 60",3:"0 45 49",2:"0 40 43",1:"0 35 38"},gray:{16:"255 255 255",15:"245 248 250",14:"240 243 245",13:"224 228 233",12:"199 205 210",11:"176 185 193",10:"151 158 168",9:"130 138 147",8:"110 119 128",7:"91 99 106",6:"70 78 86",5:"44 54 63",4:"35 42 49",3:"29 34 40",2:"16 21 24",1:"0 0 0"},orange:{16:"255 246 240",15:"255 224 204",14:"255 192 153",13:"255 161 102",1:"38 15 0",2:"46 17 0",3:"54 19 0",5:"86 28 0",4:"67 23 0",6:"111 34 0",7:"142 41 0",8:"177 54 0",9:"229 80 0",10:"253 97 0",11:"255 123 41",12:"255 145 77"},rose:{1:"28 4 11",2:"38 5 15",3:"50 18 27",4:"66 22 35",5:"87 27 44",6:"113 35 57",7:"158 49 80",8:"191 58 96",9:"214 87 124",10:"221 108 141",11:"228 131 159",12:"245 164 188",13:"255 193 211",14:"255 214 226",15:"255 233 240",16:"255 251 252"},sunset:{1:"38 8 0",2:"54 11 0",3:"69 15 0",4:"100 20 0",5:"130 26 0",6:"156 40 12",7:"178 58 31",8:"197 79 53",9:"213 101 78",10:"219 112 90",11:"225 124 104",12:"235 147 131",13:"243 171 158",14:"249 194 185",15:"253 218 212",16:"255 241 238"},brown:{1:"38 23 0",2:"52 31 1",3:"66 40 2",4:"95 58 5",5:"123 75 10",6:"148 92 19",7:"168 108 31",8:"186 123 46",9:"200 138 66",10:"209 150 80",11:"219 165 103",12:"224 176 122",13:"229 190 148",14:"239 210 180",15:"248 230 212",16:"255 249 242"},citron:{1:"38 35 0",2:"42 39 0",3:"49 46 0",4:"61 58 0",5:"78 76 0",6:"101 99 0",7:"128 125 0",8:"153 153 0",9:"184 188 0",10:"205 212 0",11:"222 231 23",12:"235 244 87",13:"237 243 116",14:"243 249 158",15:"249 253 193",16:"254 255 238"},lime:{1:"20 38 0",2:"34 51 0",3:"41 63 0",4:"53 83 0",5:"65 104 2",6:"79 125 11",7:"94 145 24",8:"110 166 40",9:"127 187 60",10:"137 199 70",11:"151 209 90",12:"168 224 121",13:"184 237 148",14:"209 247 186",15:"226 255 211",16:"244 255 240"},mint:{1:"0 31 25",2:"0 41 34",3:"0 49 41",4:"0 62 52",5:"0 81 64",6:"0 106 77",7:"29 130 89",8:"33 150 104",9:"39 171 116",10:"72 194 129",11:"106 212 153",12:"149 222 182",13:"181 232 204",14:"209 244 224",15:"227 252 237",16:"242 255 248"},cyan:{1:"0 22 38",2:"0 32 54",3:"1 42 69",4:"3 65 100",5:"8 89 130",6:"15 114 156",7:"26 138 178",8:"41 161 197",9:"60 182 213",10:"72 192 219",11:"100 210 232",12:"124 227 242",13:"145 239 250",14:"179 244 249",15:"212 251 253",16:"242 255 255"},indigo:{1:"8 2 38",2:"13 4 65",3:"17 5 91",4:"20 7 117",5:"22 9 144",6:"26 13 171",7:"39 32 187",8:"60 63 219",9:"93 94 255",10:"112 117 242",11:"135 146 242",12:"163 175 251",13:"189 198 255",14:"211 214 255",15:"232 233 255",16:"252 253 255"},magenta:{1:"46 5 44",2:"63 6 58",3:"80 8 72",4:"96 11 86",5:"113 13 99",6:"138 23 122",7:"163 38 148",8:"188 61 177",9:"195 87 196",10:"194 116 205",11:"198 145 213",12:"206 172 222",14:"228 215 238",15:"239 231 247",16:"249 244 255",13:"217 195 230"},nude:{1:"20 0 0",2:"33 0 0",3:"46 0 0",4:"67 0 0",5:"89 20 18",6:"110 46 42",7:"132 73 66",8:"154 99 90",9:"175 124 112",10:"188 136 121",11:"200 147 131",12:"222 169 149",13:"230 189 170",14:"239 208 191",15:"247 224 210",16:"255 240 229"}};var Ie={fontWeight:Ae,textTransform:Ee,avatarSizes:Be,iconSizes:Ve,shapes:ut,spacing:vt},Pe={fontWeight:Ae,textTransform:Ee,avatarSizes:yt,iconSizes:xt,shapes:ht,spacing:wt},St={colorMode:{light:{palette:et,spectrum:kt},dark:{palette:tt,spectrum:Ct}},scaleMode:{xSmall:{...Ie,...mt},small:{...Ie,...pt},medium:{...Ie,...dt},large:{...Pe,...ct},xLarge:{...Pe,...bt},xxLarge:{...Pe,...gt},xxxLarge:{...Pe,...ft}},aspectRatio:st,borderWidth:ot,elevation:at,fontFamily:it,zIndex:lt};var Tt="spectrum-color",Kt="font",Yt="icon-size",Zt="avatar-size",Jt="shape",Qt="spacing",er="font-size",tr="line-height",rr="font-weight",or="text-transform";function Pt(r){let{palette:e,spectrum:t}=r,o={},n={spectrum:{},palette:{}};for(let[a,s]of f(t))for(let[i,c]of f(s)){let l=`${a}-${i}`,d=`--${Tt}-${l}`;n.spectrum[a]||(n.spectrum[a]={}),n.spectrum[a][i]=`rgb(var(${d}))`,o[d]=c}return f(e).forEach(([a,s])=>{for(let[i,{hue:c,step:l,opacity:d}]of Object.entries(s)){a in n.palette||(n.palette[a]={});let p=`--${a}-color-${i}`;o[p]=`var(--${Tt}-${c}-${l})`,n.palette[a][i]=d?`rgb(var(${p}) / ${d})`:`rgb(var(${p}))`}}),{_vars:o,_raw:r,tailwindConfig:n}}function ar(r){let e={},t={};for(let[o,n="regular"]of f(r)){let a=`--${rr}-${o}`,s={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"}[n];e[a]=s,t[o]=`var(${a})`}return{_vars:e,_raw:r,tailwindConfig:t}}function nr(r,e){let t={},o={};for(let[n,a]of f(e)){let s=`--${r}-${n}`,i=a;t[s]=i,o[n]=`var(${s})`}return{_vars:t,_raw:e,tailwindConfig:o}}function h(r,e){let t={},o={};for(let[n,a]of f(e)){let s=`--${r}-${n}`,i=`${a}px`;t[s]=i,o[n]=`var(${s})`}return{_vars:t,_raw:e,tailwindConfig:o}}function ir(r){let e={};for(let[t,o]of f(r)){let n=o.map(({color:a,offsetX:s,offsetY:i,blurRadius:c,spreadRadius:l})=>`${s}px ${i}px ${c}px ${l}px ${a}`).join(", ");e[t]=n}return e}function sr(r){return Te(r,(e,t)=>{let{fallbacks:o=[]}=e??{};return[`var(--${Kt}-${t})`,...o]})}function lr(r){return`${r}px`}function cr(r){return Te(r,lr)}var dr=cr;function pr(r){let{colorMode:e,scaleMode:t,elevation:o,fontFamily:n,borderWidth:a}=r;return{...r,colorMode:{light:Pt(e.light),dark:Pt(e.dark)},scaleMode:Te(t,({shapes:s,spacing:i,fontSize:c,lineHeight:l,fontWeight:d,textTransform:p,avatarSizes:m,iconSizes:g})=>({fontSize:h(er,c),fontWeight:ar(d),lineHeight:h(tr,l),textTransform:nr(or,p),shapes:h(Jt,s),spacing:h(Qt,i),avatarSizes:h(Zt,m),iconSizes:h(Yt,g)})),borderWidth:dr(a),elevation:ir(o),fontFamily:sr(n)}}var Ue=r=>pr(r||St);var mr=br.withOptions(function({config:r}){let e=Ue(r);return function({addBase:t,matchUtilities:o,theme:n}){t({":root":{...e.colorMode.light._vars,...e.scaleMode.large.shapes._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars},".color-mode-dark":{...e.colorMode.dark._vars}}),t({".scale-mode-xSmall":{...e.scaleMode.xSmall.shapes._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},".scale-mode-small":{...e.scaleMode.small.shapes._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},".scale-mode-medium":{...e.scaleMode.medium.shapes._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},".scale-mode-xLarge":{...e.scaleMode.xLarge.shapes._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},".scale-mode-xxLarge":{...e.scaleMode.xxLarge.shapes._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},".scale-mode-xxxLarge":{...e.scaleMode.xxxLarge.shapes._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),o({iconSize:a=>({width:a,height:a,fontSize:a,lineHeight:a})},{values:n("iconSize")}),o({avatarSize:a=>({width:a,height:a})},{values:n("avatarSize")})}},function({config:r}){let e=Ue(r);return{darkMode:["class","color-mode-dark"],theme:{aspectRatio:e.aspectRatio,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionTiming:{linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},zIndex:e.zIndex,avatarSize:e.scaleMode.large.avatarSizes.tailwindConfig,iconSize:e.scaleMode.large.iconSizes.tailwindConfig,borderRadius:e.scaleMode.large.shapes.tailwindConfig,borderWidth:e.borderWidth,outlineWidth:({theme:t})=>t("borderWidth"),boxShadow:e.elevation,dropShadow:({theme:t})=>t("boxShadow"),fontFamily:e.fontFamily,fontWeight:e.scaleMode.large.fontWeight.tailwindConfig,fontSize:e.scaleMode.large.fontSize.tailwindConfig,lineHeight:e.scaleMode.large.lineHeight.tailwindConfig,spacing:e.scaleMode.large.spacing.tailwindConfig,gap:({theme:t})=>t("spacing"),margin:({theme:t})=>t("spacing"),padding:({theme:t})=>t("spacing"),space:({theme:t})=>t("spacing"),colors:{...rt,...e.colorMode.light.tailwindConfig.spectrum,...e.colorMode.light.tailwindConfig.palette.core},backgroundColor:({theme:t})=>({...t("colors"),...e.colorMode.light.tailwindConfig.palette.background,...e.colorMode.light.tailwindConfig.palette.backgroundWash,DEFAULT:e.colorMode.light.tailwindConfig.palette.background.primary}),textColor:({theme:t})=>({...t("colors"),...e.colorMode.light.tailwindConfig.palette.foreground,DEFAULT:e.colorMode.light.tailwindConfig.palette.foreground.primary}),borderColor:({theme:t})=>({...t("colors"),...e.colorMode.light.tailwindConfig.palette.line,DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),accentColor:({theme:t})=>({...t("colors"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),fill:({theme:t})=>t("backgroundColor"),boxShadowColor:{},caretColor:({theme:t})=>t("textColor"),placeholderColor:({theme:t})=>t("textColor"),textDecorationColor:({theme:t})=>({...t("textColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),divideColor:({theme:t})=>({...t("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),outlineColor:({theme:t})=>({...t("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringColor:({theme:t})=>({...t("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringOffsetColor:({theme:t})=>({...t("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),stroke:({theme:t})=>t("borderColor")}}});export{_t as Avatar,u as Box,Nt as Button,Dt as HStack,Fe as Pressable,Le as Text,Gt as VStack,Ye as cva,Se as cx,b as getStyles,mr as tailwindPlugin};
|
1
|
+
import{forwardRef as Or}from"react";import{backgroundColors as Hr,borderWidths as Br,elevations as Rr,foregroundColors as zr,lineColors as Nr,shapes as Ar,textVariants as nr}from"@yahoo/uds-fixtures";import Mr from"clsx";import{extendTailwindMerge as Vr}from"tailwind-merge";function je(r){return typeof r=="boolean"?`${r}`:r===0?"0":r}var Lr=Vr({cacheSize:0,override:{classGroups:{"text-color":[{text:zr}],"border-color":[{border:Nr}],"border-w":[{border:Br}],"bg-color":[{bg:Hr}],rounded:[{rounded:Ar}],"font-family":[{font:["icons",...nr]}],leading:[{leading:nr}],shadow:[{shadow:Rr}]},conflictingClassGroups:{}}}),g=(...r)=>{let e=Mr(r);return Lr(e)},sr=r=>e=>{if(!r?.variants)return g(r?.base,e?.className);let{variants:o,defaultVariants:t}=r,n=Object.keys(o).map(s=>{let i=e?.[s],c=t?.[s],d=je(i)||je(c);return o[s][d]}),a={...t,...e&&Object.entries(e).reduce((s,[i,c])=>typeof c>"u"?s:{...s,[i]:c},{})},p=r?.compoundVariants?.reduce((s,{className:i,...c})=>Object.entries(c).every(([d,m])=>a[d]===m)?g(s,i):s,"");return g(r?.base,n,p,e?.className)},l=sr({variants:{color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{0:"px-0",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{0:"py-0",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{0:"pb-0",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{0:"pe-0",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{0:"ps-0",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{0:"pt-0",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{0:"-m-0",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{0:"-my-0",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{0:"-mx-0",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{0:"-mb-0",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{0:"-me-0",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{0:"-ms-0",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{0:"-mt-0",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{0:"gap-x-0",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{0:"gap-y-0",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{square:"rounded-square",xs:"rounded-xs",s:"rounded-s",m:"rounded-m",l:"rounded-l",xl:"rounded-xl",xxl:"rounded-xxl",circle:"rounded-circle"},borderTopStartRadius:{square:"rounded-ss-square",xs:"rounded-ss-xs",s:"rounded-ss-s",m:"rounded-ss-m",l:"rounded-ss-l",xl:"rounded-ss-xl",xxl:"rounded-ss-xxl",circle:"rounded-ss-circle"},borderTopEndRadius:{square:"rounded-se-square",xs:"rounded-se-xs",s:"rounded-se-s",m:"rounded-se-m",l:"rounded-se-l",xl:"rounded-se-xl",xxl:"rounded-se-xxl",circle:"rounded-se-circle"},borderBottomStartRadius:{square:"rounded-es-square",xs:"rounded-es-xs",s:"rounded-es-s",m:"rounded-es-m",l:"rounded-es-l",xl:"rounded-es-xl",xxl:"rounded-es-xxl",circle:"rounded-es-circle"},borderBottomEndRadius:{square:"rounded-ee-square",xs:"rounded-ee-xs",s:"rounded-ee-s",m:"rounded-ee-m",l:"rounded-ee-l",xl:"rounded-ee-xl",xxl:"rounded-ee-xxl",circle:"rounded-ee-circle"},bordered:{true:"border-1 border-solid"},borderWidth:{0:"border-0",1:"border-1",2:"border-2",4:"border-4",8:"border-8"},borderVerticalWidth:{0:"border-y-0",1:"border-y-1",2:"border-y-2",4:"border-y-4",8:"border-y-8"},borderHorizontalWidth:{0:"border-x-0",1:"border-x-1",2:"border-x-2",4:"border-x-4",8:"border-x-8"},borderStartWidth:{0:"border-s-0",1:"border-s-1",2:"border-s-2",4:"border-s-4",8:"border-s-8"},borderEndWidth:{0:"border-e-0",1:"border-e-1",2:"border-e-2",4:"border-e-4",8:"border-e-8"},borderTopWidth:{0:"border-t-0",1:"border-t-1",2:"border-t-2",4:"border-t-4",8:"border-t-8"},borderBottomWidth:{0:"border-b-0",1:"border-b-1",2:"border-b-2",4:"border-b-4",8:"border-b-8"},borderedVertical:{true:"border-y-1"},borderedTop:{true:"border-t-1"},borderedBottom:{true:"border-b-1"},borderedHorizontal:{true:"border-x-1"},borderedEnd:{true:"border-e-1"},borderedStart:{true:"border-s-1"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-none"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-none",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"}}});import{Children as Ve,cloneElement as lr,forwardRef as pr,isValidElement as We}from"react";function Er(r,e){typeof r=="function"?r(e):r!=null&&(r.current=e)}function ir(...r){return e=>r.forEach(o=>Er(o,e))}import{jsx as cr}from"react/jsx-runtime";function v(){let r=pr((a,p)=>{let{children:s,...i}=a,c=Ve.toArray(s),d=c.find(t);if(d){let m=d.props.children,u=c.map(h=>h===d?Ve.count(m)>1?Ve.only(null):We(m)?m.props.children:null:h);return cr(e,{...i,ref:p,children:We(m)?lr(m,void 0,u):null})}return cr(e,{...i,ref:p,children:s})});r.displayName="Slot";let e=pr((a,p)=>{let{children:s,...i}=a;return We(s)?lr(s,{...n(i,s.props),ref:p?ir(p,s.ref):s.ref}):Ve.count(s)>1?Ve.only(null):null});e.displayName="SlotClone";let o=({children:a})=>a;function t(a){return We(a)&&a.type===o}function n(a,p){let s={...p};for(let i in p){let c=a[i],d=p[i];/^on[A-Z]/.test(i)?c&&d?s[i]=(...u)=>{d(...u),c(...u)}:c&&(s[i]=c):i==="style"&&(s[i]={...c,...d})}return{...a,...s}}return r}import{jsx as Wr}from"react/jsx-runtime";var Ur=v(),f=Or(function({className:e,asChild:o=!1,size:t="l",color:n="primary",name:a,colorChecked:p,opacity:s,textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,...Me},Ue){let qe=o?Ur:"span",Fe=l({iconSize:t,color:n,colorChecked:p,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:c,backgroundColorOnActive:d,backgroundColorOnHover:m,backgroundColorOnChecked:u,bordered:h,borderedTop:w,borderedBottom:P,borderedStart:k,borderedEnd:C,borderedHorizontal:T,borderedVertical:S,borderRadius:I,borderTopStartRadius:D,borderTopEndRadius:H,borderBottomStartRadius:B,borderBottomEndRadius:R,borderColor:z,borderColorOnActive:N,borderColorOnFocus:A,borderColorOnChecked:M,borderColorOnHover:V,borderStartColor:L,borderEndColor:E,borderTopColor:O,borderBottomColor:U,borderWidth:W,borderVerticalWidth:G,borderHorizontalWidth:q,borderStartWidth:F,borderEndWidth:j,borderTopWidth:X,borderBottomWidth:Z,alignContent:_,alignItems:$,alignSelf:J,flex:K,flexDirection:Y,flexGrow:Q,flexShrink:ee,flexWrap:re,justifyContent:oe,flexBasis:te,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:ve,offsetBottom:xe,offsetEnd:we,offsetStart:Pe,offsetTop:ke,columnGap:Ce,rowGap:Te,height:Se,minHeight:Ie,maxHeight:De,width:He,minWidth:Re,maxWidth:Ne,className:e});return Wr(qe,{className:Fe,ref:Ue,...Me,children:a})});import{forwardRef as Gr}from"react";import{jsx as Fr}from"react/jsx-runtime";var qr=v(),y=Gr(function({className:e,asChild:o,onPress:t,onClick:n=t,backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,...Re},Ne){let Me=l({backgroundColor:a,backgroundColorOnActive:p,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,height:Ce,minHeight:Te,maxHeight:Se,width:Ie,minWidth:De,maxWidth:He,className:e});return Fr(o?qr:"button",{className:Me,ref:Ne,onClick:n,...Re})});import{forwardRef as jr}from"react";import{jsx as _r}from"react/jsx-runtime";var Xr=v(),Zr={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},b=jr(function({className:e,asChild:o,color:t="primary",colorChecked:n,variant:a="body1",as:p=Zr[a],fontSize:s=a,fontFamily:i=a,fontWeight:c=a,lineHeight:d=a,textTransform:m=a,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr,...Sr},Ir){let Dr=l({className:e,color:t,colorChecked:n,fontFamily:i,fontSize:s,fontWeight:c,lineHeight:d,textTransform:m,textAlign:u,backgroundColor:h,backgroundColorOnActive:w,backgroundColorOnHover:P,backgroundColorOnChecked:k,opacity:C,bordered:T,borderedTop:S,borderedBottom:I,borderedStart:D,borderedEnd:H,borderedHorizontal:B,borderedVertical:R,borderRadius:z,borderTopStartRadius:N,borderTopEndRadius:A,borderBottomStartRadius:M,borderBottomEndRadius:V,borderColor:L,borderColorOnActive:E,borderColorOnFocus:O,borderColorOnChecked:U,borderColorOnHover:W,borderStartColor:G,borderEndColor:q,borderTopColor:F,borderBottomColor:j,borderWidth:X,borderVerticalWidth:Z,borderHorizontalWidth:_,borderStartWidth:$,borderEndWidth:J,borderTopWidth:K,borderBottomWidth:Y,alignContent:Q,alignItems:ee,alignSelf:re,flex:oe,flexDirection:te,flexGrow:ae,flexShrink:ne,flexWrap:se,justifyContent:ie,flexBasis:le,display:pe,zIndex:ce,overflow:de,overflowX:be,overflowY:me,position:fe,spacing:ue,spacingHorizontal:ge,spacingVertical:ye,spacingBottom:he,spacingEnd:ve,spacingStart:xe,spacingTop:we,offset:Pe,offsetVertical:ke,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:Ie,offsetTop:De,columnGap:He,rowGap:Re,height:Ne,minHeight:Me,maxHeight:Ue,width:qe,minWidth:Fe,maxWidth:Tr});return _r(o?Xr:p,{className:Dr,ref:Ir,...Sr})});import{forwardRef as Yr}from"react";import{forwardRef as $r}from"react";import{jsx as Kr}from"react/jsx-runtime";var Jr=v(),Le=$r(function({asChild:e,className:o,elevation:t,backgroundColor:n=t?`elevation-${t}`:void 0,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee="flex",zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,...De},He){let Re=l({elevation:t,backgroundColor:n,backgroundColorOnActive:a,backgroundColorOnHover:p,backgroundColorOnChecked:s,opacity:i,bordered:c,borderedTop:d,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:w,borderedVertical:P,borderRadius:k,borderTopStartRadius:C,borderTopEndRadius:T,borderBottomStartRadius:S,borderBottomEndRadius:I,borderColor:D,borderColorOnActive:H,borderColorOnFocus:B,borderColorOnChecked:R,borderColorOnHover:z,borderStartColor:N,borderEndColor:A,borderTopColor:M,borderBottomColor:V,borderWidth:L,borderVerticalWidth:E,borderHorizontalWidth:O,borderStartWidth:U,borderEndWidth:W,borderTopWidth:G,borderBottomWidth:q,alignContent:F,alignItems:j,alignSelf:X,flex:Z,flexDirection:_,flexGrow:$,flexShrink:J,flexWrap:K,justifyContent:Y,flexBasis:Q,display:ee,zIndex:re,overflow:oe,overflowX:te,overflowY:ae,position:ne,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:be,offset:me,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:ye,offsetStart:he,offsetTop:ve,columnGap:xe,rowGap:we,height:Pe,minHeight:ke,maxHeight:Ce,width:Te,minWidth:Se,maxWidth:Ie,className:o});return Kr(e?Jr:"div",{className:Re,ref:He,...De})});import{jsx as Qr}from"react/jsx-runtime";var x=Yr(function({gap:e,...o},t){return Qr(Le,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...o})});import{Fragment as ro,jsx as Xe,jsxs as dr}from"react/jsx-runtime";function eo({label:r,children:e,onClick:o,open:t}){return dr(ro,{children:[dr(y,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:"8",width:"full",onClick:o,children:[Xe(b,{variant:"title4",children:r}),Xe(f,{name:t?"chevronDown":"chevronUp",size:"s"})]}),Xe(x,{spacingHorizontal:"8",children:t&&e})]})}var br={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Ze={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ae({variant:r="accent",size:e="s"}){let{color:o,...t}=Ze.variant[r],{variant:n,...a}=Ze.size[e];return{pressable:{...Ze.base,...t,...a},text:{color:o,variant:n,textAlign:"center"},icon:{color:o,size:"s"}}}import{jsx as to}from"react/jsx-runtime";function oo({size:r,shape:e,src:o,alt:t,...n}){let a=l({...br,avatarSize:r,borderRadius:e});return to("img",{src:o,alt:t,className:a,...n})}import{forwardRef as ao}from"react";import{jsx as _e,jsxs as no}from"react/jsx-runtime";var $e=ao(function({variant:e="accent",size:o,startIcon:t,endIcon:n,children:a,...p},s){let i=Ae({variant:e,size:o}),c=t?_e(f,{name:t,...i.icon}):null,d=n?_e(f,{name:n,...i.icon}):null;return no(y,{...i.pressable,ref:s,...p,children:[c,_e(b,{...i.text,children:a}),d]})});import{jsx as Je,jsxs as lo}from"react/jsx-runtime";var mr={accent:"on-color",secondary:"primary"},so={accent:"on-color",secondary:"tertiary"};function io({children:r,variant:e,startIcon:o,startContent:t=o?Je(f,{name:o,size:"s",color:mr[e]}):null,endIcon:n,endContent:a=n?Je(f,{name:n,size:"s",color:mr[e]}):null}){return lo(y,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"circle",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,Je(b,{variant:"label2",color:so[e],children:r}),a]})}import{forwardRef as ur,useCallback as Io}from"react";import{Popover as bo,PopoverAnchor as mo,PopoverArrow as fo,PopoverDescription as uo,PopoverDisclosure as go,PopoverDisclosureArrow as yo,PopoverDismiss as ho,PopoverHeading as vo,PopoverProvider as xo,usePopoverStore as Ke}from"@ariakit/react";import{forwardRef as po}from"react";import{jsx as co}from"react/jsx-runtime";var Ee=po(function({gap:e,...o},t){return co(Le,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...o})});import{jsx as fr,jsxs as So}from"react/jsx-runtime";function wo({children:r,leading:e,trailing:o}){return So(Ee,{children:[e,fr(b,{variant:"headline1",asChild:!0,children:fr(vo,{children:r})}),o]})}var Ye=bo,Qe=fo,Po=mo,ko=uo,Co=ho,er=xo,rr=go,To=yo;import{jsx as Be,jsxs as or}from"react/jsx-runtime";var Do=ur(function({children:e,className:o,overflow:t="scroll",...n},a){return Be(x,{borderRadius:"l",elevation:"3",className:g("min-w-[220px] max-h-[312px]",o),overflow:t,spacingVertical:"4",asChild:!0,children:or(Ye,{preventBodyScroll:!0,...n,ref:a,children:[Be(Qe,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})}),gr=ur(function({children:e,onClick:o,...t},n){let a=Ke(),p=Io(s=>{s.preventDefault(),o?.(()=>a.setOpen(!1))},[o,a]);return Be(y,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?p:void 0,ref:n,...t,children:e})});function Ho({title:r,description:e,_title:o,_description:t,startIcon:n,endIcon:a,...p}){return or(gr,{...p,children:[n&&Be(f,{name:n,size:"s"}),or(x,{gap:"3",alignItems:"flex-start",children:[r&&Be(b,{variant:"headline1",...o,children:r}),e&&Be(b,{variant:"label2",color:"muted",...t,children:e})]}),a&&Be(f,{name:a,size:"s"})]})}function Bo({children:r,variant:e,size:o,...t}){let n=Ae({variant:e,size:o}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Be(y,{...a,...t,asChild:!0,children:Be(rr,{children:r})})}var Ro=er;import{forwardRef as zo}from"react";import{jsx as yr}from"react/jsx-runtime";var No={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},tr=zo(function({variant:e="accent",size:o="s",name:t,className:n,color:a,...p},s){let i=Ae({variant:e,size:o});return yr(y,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:g("leading-[0px]",No[o],n),...p,children:yr(f,{name:t,...i.icon,color:a})})});import{jsx as Mo}from"react/jsx-runtime";function Ao({width:r,height:e,src:o,alt:t,contentFit:n="cover",elevation:a,backgroundColor:p=a?`elevation-${a}`:"primary",backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y="0",flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe="flex",zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie,...De}){let He=l({contentFit:n,elevation:a,backgroundColor:p,backgroundColorOnActive:s,backgroundColorOnHover:i,backgroundColorOnChecked:c,opacity:d,bordered:m,borderedTop:u,borderedBottom:h,borderedStart:w,borderedEnd:P,borderedHorizontal:k,borderedVertical:C,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:I,borderBottomStartRadius:D,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:R,borderColorOnFocus:z,borderColorOnChecked:N,borderColorOnHover:A,borderStartColor:M,borderEndColor:V,borderTopColor:L,borderBottomColor:E,borderWidth:O,borderVerticalWidth:U,borderHorizontalWidth:W,borderStartWidth:G,borderEndWidth:q,borderTopWidth:F,borderBottomWidth:j,alignContent:X,alignItems:Z,alignSelf:_,flex:$,flexDirection:J,flexGrow:K,flexShrink:Y,flexWrap:Q,justifyContent:ee,flexBasis:re,display:oe,zIndex:te,overflow:ae,overflowX:ne,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:be,spacingStart:me,spacingTop:fe,offset:ue,offsetVertical:ge,offsetHorizontal:ye,offsetBottom:he,offsetEnd:ve,offsetStart:xe,offsetTop:we,columnGap:Pe,rowGap:ke,minHeight:Ce,maxHeight:Te,minWidth:Se,maxWidth:Ie});return Mo("img",{src:o,alt:t,className:He,style:{objectPosition:"left",width:r,height:e},...De})}import{Dialog as Vo,DialogDismiss as Lo,useDialogStore as Eo}from"@ariakit/react";import{jsx as Oe,jsxs as qo}from"react/jsx-runtime";function Oo(r){return Eo({animated:!0,...r})}function Uo({children:r,handleClose:e}){return qo(Ee,{alignItems:"center",justifyContent:"space-between",children:[Oe(b,{variant:"headline1",children:r}),Oe($e,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Wo({className:r,...e}){return Oe(x,{borderRadius:"m",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:g("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 transition-all data-[enter]:opacity-100 duration-200 data-[enter]:scale-100",r),spacing:"8",asChild:!0,children:Oe(Vo,{backdrop:Oe("div",{className:"bg-overlay transition-opacity duration-200 data-[enter]:opacity-100"}),...e})})}var Go=Lo;import{jsx as ar,jsxs as hr}from"react/jsx-runtime";function Fo({className:r,...e}){return hr("div",{role:"status",className:`self-center ${r}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[hr("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ar("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),ar("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),ar("span",{className:"sr-only",children:"Loading..."})]})}import{Tab as jo,TabList as Xo,TabPanel as Zo,TabProvider as _o,useTabContext as vr}from"@ariakit/react";import{forwardRef as xr}from"react";import{jsx as ze,jsxs as et}from"react/jsx-runtime";var $o=v();function Jo(r){return ze(_o,{...r})}var Ko=xr(function({className:e,...o},t){let n=l({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ze(Xo,{ref:t,...o,className:n})}),Yo=function({asChild:e,label:o,value:t,startIcon:n}){let a=e?$o:"a",p=l({}),s=vr();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,c=i?"accent":"primary";return ze(jo,{id:t,className:p,render:ze(a,{children:et(y,{borderColor:i?"accent":"transparent",borderBottomWidth:"4",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[n?ze(f,{name:n,color:c,size:"m"}):null,ze(b,{color:c,variant:"headline1",children:o})]})})})},Qo=xr(function(e,o){let t=vr();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return ze(Zo,{ref:o,tabId:n,...e})});import{jsx as Ge,jsxs as kr}from"react/jsx-runtime";function wr({children:r,required:e}){return kr(b,{variant:"caption2",children:[r,e&&Ge(b,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}function Pr({className:r,disabled:e,...o}){return Ge("input",{type:"text","data-1p-ignore":!0,className:g(l({backgroundColor:e?"secondary":"primary",borderColor:"tertiary",bordered:!0,borderRadius:"m",spacingVertical:"5",spacingHorizontal:"6",className:"placeholder:text-tertiary font-sans",width:"full",fontSize:"body1",fontWeight:"body1",lineHeight:"body1",color:"primary"}),r),disabled:e,...o})}function rt({label:r,required:e,...o}){return kr(x,{gap:"4",width:"full",children:[Ge(wr,{required:e,children:r}),Ge(Pr,{required:e,...o})]})}import{Slide as ot,toast as tt,ToastContainer as at}from"react-toastify";import{jsx as Cr}from"react/jsx-runtime";var nt=l({elevation:"3",borderRadius:"m",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),st=l({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),it=l({backgroundColor:"positive"}),lt=l({backgroundColor:"alert"}),pt=l({backgroundColor:"accent"}),ct=l({backgroundColor:"warning"}),dt=l({backgroundColor:"elevation-3-inverse"}),bt=l({backgroundColor:"elevation-3-inverse"}),mt=l({backgroundColor:"positive-wash",color:"positive"}),ft=l({backgroundColor:"alert-wash",color:"alert"}),ut=l({backgroundColor:"accent-wash",color:"accent"}),gt=l({backgroundColor:"warning-wash",color:"warning"}),yt=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),ht=l({backgroundColor:"elevation-3-inverse",color:"on-color"}),vt=r=>{let{type:e="default"}=r??{},o={success:mt,error:ft,info:ut,warning:gt,default:yt,dark:ht}[e];return g(nt,o)};function xt(r){let{type:e="default",defaultClassName:o=""}=r??{},t={success:it,error:lt,info:pt,warning:ct,default:dt,dark:bt}[e],n=o.replace(/Toastify__progress-bar-theme--light/,"");return g(n,t)}function wt({closeToast:r,type:e}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Cr(tr,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:r})}function Pt(r){return Cr(at,{toastClassName:vt,bodyClassName:st,progressClassName:xt,transition:ot,closeButton:wt,...r})}export*from"@yahoo/uds-tokens";export{eo as Accordion,oo as Avatar,Le as Box,$e as Button,io as Chip,Ro as Dropdown,Ho as DropdownItem,gr as DropdownItemPressable,Do as DropdownItems,Bo as DropdownTrigger,Ee as HStack,f as Icon,tr as IconButton,Ao as Image,Wo as Modal,Go as ModalDismiss,Uo as ModalHeader,Ye as Popover,Po as PopoverAnchor,Qe as PopoverArrow,ko as PopoverDescription,rr as PopoverDisclosure,To as PopoverDisclosureArrow,Co as PopoverDismiss,wo as PopoverHeading,er as PopoverProvider,y as Pressable,Fo as Spinner,Yo as Tab,Ko as TabList,Qo as TabPanel,Jo as Tabs,b as Text,Pr as TextInput,rt as TextInputGroup,wr as TextInputLabel,Pt as ToastContainer,x as VStack,sr as cva,g as cx,l as getStyles,tt as toast,Oo as useModalStore,Ke as usePopoverStore};
|
package/dist/styles/fonts.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
@font-face{font-family:Yahoo Sans;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2) format("woff2")}@font-face{font-family:Yahoo Sans Cond;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:300;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:800;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:900;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:800;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2) format("woff2")}:root{--font-sans: "Yahoo Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--font-sans-condensed: "Yahoo Sans Cond", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--font-serif-display: "Yahoo Serif Display", "Georgia", "Times", "Times New Roman", "serif";--
|
1
|
+
@font-face{font-family:Yahoo Icons;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-icons.ttf) format("woff2")}@font-face{font-family:Yahoo Sans;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2) format("woff2")}@font-face{font-family:Yahoo Sans Cond;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:300;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:800;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Display";font-weight:900;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:400;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:700;font-style:normal;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2) format("woff2")}@font-face{font-family:"Yahoo Serif Text";font-weight:800;font-style:italic;font-display:swap;src:url(https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2) format("woff2")}:root{--uds-font-icons: "Yahoo Icons", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-sans: "Yahoo Sans", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-sans-condensed: "Yahoo Sans Cond", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";--uds-font-serif-display: "Yahoo Serif Display", "Georgia", "Times", "Times New Roman", "serif";--uds-serif-text: "Yahoo Serif Text", "Georgia", "Times", "Times New Roman", "serif";line-height:1.5;font-family:var(--uds-font-sans);font-feature-settings:normal;font-variation-settings:normal}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import"react-toastify/ReactToastify.css";
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var c=Object.create;var s=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var _=(r,e)=>{for(var a in e)s(r,a,{get:e[a],enumerable:!0})},n=(r,e,a,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of M(e))!v.call(r,i)&&i!==a&&s(r,i,{get:()=>e[i],enumerable:!(l=g(e,i))||l.enumerable});return r};var x=(r,e,a)=>(a=r!=null?c(f(r)):{},n(e||!r||!r.__esModule?s(a,"default",{value:r,enumerable:!0}):a,r)),m=r=>n(s({},"__esModule",{value:!0}),r);var u={};_(u,{tailwindPlugin:()=>p});module.exports=m(u);var o=require("@yahoo/uds-tokens"),t=require("@yahoo/uds-tokens/parseTokens"),d=x(require("tailwindcss/plugin"),1),p=d.default.withOptions(function({config:r=o.defaultTokensConfig}){let e=(0,t.parseTokens)(r);return function({addBase:a,matchUtilities:l}){a({":root":{...e.colorMode.light._vars,...e.scaleMode.large.shapes._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars},[`.${o.DARK_COLOR_MODE_CLASSNAME}`]:{...e.colorMode.dark._vars},[`.${o.XSMALL_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.xSmall.shapes._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${o.SMALL_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.small.shapes._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${o.MEDIUM_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.medium.shapes._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${o.XLARGE_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.xLarge.shapes._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${o.XXLARGE_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.xxLarge.shapes._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${o.XXXLARGE_SCALE_MODE_CLASSNAME}`]:{...e.scaleMode.xxxLarge.shapes._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),l({iconSize:i=>({width:i,height:i,fontSize:i,lineHeight:i})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),l({avatarSize:i=>({width:i,height:i})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),l({case:i=>({"text-transform":i})},{values:e.scaleMode.large.textTransform.tailwindConfig}),l({"font-weight":i=>({"font-weight":i})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),l({"font-size":i=>({"font-size":i})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:r=o.defaultTokensConfig}){let e=(0,t.parseTokens)(r);return{darkMode:["class",o.DARK_COLOR_MODE_CLASSNAME],safelist:[o.DARK_COLOR_MODE_CLASSNAME],theme:{aspectRatio:e.aspectRatio,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionTiming:{linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},zIndex:e.zIndex,borderRadius:e.scaleMode.large.shapes.tailwindConfig,borderWidth:e.borderWidth,outlineWidth:({theme:a})=>a("borderWidth"),boxShadow:e.elevation,dropShadow:({theme:a})=>a("boxShadow"),fontFamily:{...e.fontFamily,...e.scaleMode.large.fontFamily.tailwindConfig},fontSize:{},fontWeight:{},lineHeight:e.scaleMode.large.lineHeight.tailwindConfig,spacing:e.scaleMode.large.spacing.tailwindConfig,gap:({theme:a})=>a("spacing"),padding:({theme:a})=>a("spacing"),space:({theme:a})=>a("spacing"),colors:{...o.alwaysPalette,...e.colorMode.light.tailwindConfig.spectrum,...e.colorMode.light.tailwindConfig.palette.core},backgroundColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.background,...e.colorMode.light.tailwindConfig.palette.backgroundWash,...e.colorMode.light.tailwindConfig.palette.elevation,DEFAULT:e.colorMode.light.tailwindConfig.palette.background.primary}),textColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.foreground,DEFAULT:e.colorMode.light.tailwindConfig.palette.foreground.primary}),borderColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.line,DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),accentColor:({theme:a})=>({...a("colors"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),fill:({theme:a})=>a("backgroundColor"),boxShadowColor:{},caretColor:({theme:a})=>a("textColor"),placeholderColor:({theme:a})=>a("textColor"),textDecorationColor:({theme:a})=>({...a("textColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),divideColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),outlineColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringOffsetColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),stroke:({theme:a})=>a("borderColor")}}});0&&(module.exports={tailwindPlugin});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
+
import { UniversalTokensConfig } from '@yahoo/uds-tokens';
|
3
|
+
|
4
|
+
interface TailwindPluginOptions {
|
5
|
+
config?: UniversalTokensConfig;
|
6
|
+
}
|
7
|
+
declare const tailwindPlugin: {
|
8
|
+
(options: TailwindPluginOptions): {
|
9
|
+
handler: tailwindcss_types_config.PluginCreator;
|
10
|
+
config?: Partial<tailwindcss_types_config.Config> | undefined;
|
11
|
+
};
|
12
|
+
__isOptionsFunction: true;
|
13
|
+
};
|
14
|
+
|
15
|
+
export { tailwindPlugin };
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
+
import { UniversalTokensConfig } from '@yahoo/uds-tokens';
|
3
|
+
|
4
|
+
interface TailwindPluginOptions {
|
5
|
+
config?: UniversalTokensConfig;
|
6
|
+
}
|
7
|
+
declare const tailwindPlugin: {
|
8
|
+
(options: TailwindPluginOptions): {
|
9
|
+
handler: tailwindcss_types_config.PluginCreator;
|
10
|
+
config?: Partial<tailwindcss_types_config.Config> | undefined;
|
11
|
+
};
|
12
|
+
__isOptionsFunction: true;
|
13
|
+
};
|
14
|
+
|
15
|
+
export { tailwindPlugin };
|
@@ -0,0 +1 @@
|
|
1
|
+
import{alwaysPalette as n,DARK_COLOR_MODE_CLASSNAME as l,defaultTokensConfig as s,MEDIUM_SCALE_MODE_CLASSNAME as d,SMALL_SCALE_MODE_CLASSNAME as c,XLARGE_SCALE_MODE_CLASSNAME as g,XSMALL_SCALE_MODE_CLASSNAME as M,XXLARGE_SCALE_MODE_CLASSNAME as f,XXXLARGE_SCALE_MODE_CLASSNAME as v}from"@yahoo/uds-tokens";import{parseTokens as t}from"@yahoo/uds-tokens/parseTokens";import _ from"tailwindcss/plugin";var u=_.withOptions(function({config:r=s}){let e=t(r);return function({addBase:a,matchUtilities:i}){a({":root":{...e.colorMode.light._vars,...e.scaleMode.large.shapes._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars},[`.${l}`]:{...e.colorMode.dark._vars},[`.${M}`]:{...e.scaleMode.xSmall.shapes._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${c}`]:{...e.scaleMode.small.shapes._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${d}`]:{...e.scaleMode.medium.shapes._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${g}`]:{...e.scaleMode.xLarge.shapes._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${f}`]:{...e.scaleMode.xxLarge.shapes._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${v}`]:{...e.scaleMode.xxxLarge.shapes._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),i({iconSize:o=>({width:o,height:o,fontSize:o,lineHeight:o})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),i({avatarSize:o=>({width:o,height:o})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),i({case:o=>({"text-transform":o})},{values:e.scaleMode.large.textTransform.tailwindConfig}),i({"font-weight":o=>({"font-weight":o})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),i({"font-size":o=>({"font-size":o})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:r=s}){let e=t(r);return{darkMode:["class",l],safelist:[l],theme:{aspectRatio:e.aspectRatio,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionTiming:{linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},zIndex:e.zIndex,borderRadius:e.scaleMode.large.shapes.tailwindConfig,borderWidth:e.borderWidth,outlineWidth:({theme:a})=>a("borderWidth"),boxShadow:e.elevation,dropShadow:({theme:a})=>a("boxShadow"),fontFamily:{...e.fontFamily,...e.scaleMode.large.fontFamily.tailwindConfig},fontSize:{},fontWeight:{},lineHeight:e.scaleMode.large.lineHeight.tailwindConfig,spacing:e.scaleMode.large.spacing.tailwindConfig,gap:({theme:a})=>a("spacing"),padding:({theme:a})=>a("spacing"),space:({theme:a})=>a("spacing"),colors:{...n,...e.colorMode.light.tailwindConfig.spectrum,...e.colorMode.light.tailwindConfig.palette.core},backgroundColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.background,...e.colorMode.light.tailwindConfig.palette.backgroundWash,...e.colorMode.light.tailwindConfig.palette.elevation,DEFAULT:e.colorMode.light.tailwindConfig.palette.background.primary}),textColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.foreground,DEFAULT:e.colorMode.light.tailwindConfig.palette.foreground.primary}),borderColor:({theme:a})=>({...a("colors"),...e.colorMode.light.tailwindConfig.palette.line,DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),accentColor:({theme:a})=>({...a("colors"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),fill:({theme:a})=>a("backgroundColor"),boxShadowColor:{},caretColor:({theme:a})=>a("textColor"),placeholderColor:({theme:a})=>a("textColor"),textDecorationColor:({theme:a})=>({...a("textColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),divideColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.line.primary}),outlineColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),ringOffsetColor:({theme:a})=>({...a("borderColor"),DEFAULT:e.colorMode.light.tailwindConfig.palette.core.accent}),stroke:({theme:a})=>a("borderColor")}}});export{u as tailwindPlugin};
|
package/package.json
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yahoo/uds",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.9",
|
4
4
|
"description": "Yahoo Universal System",
|
5
5
|
"type": "module",
|
6
6
|
"main": "./dist/index.cjs",
|
7
7
|
"module": "./dist/index.js",
|
8
8
|
"types": "./dist/index.d.ts",
|
9
9
|
"sideEffects": false,
|
10
|
+
"bin": {
|
11
|
+
"uds": "./bin/uds"
|
12
|
+
},
|
10
13
|
"exports": {
|
11
14
|
".": {
|
12
15
|
"types": "./dist/index.d.ts",
|
@@ -14,51 +17,71 @@
|
|
14
17
|
"module": "./dist/index.js",
|
15
18
|
"require": "./dist/index.cjs"
|
16
19
|
},
|
17
|
-
"./
|
18
|
-
"types": "./dist/
|
19
|
-
"import": "./dist/
|
20
|
-
"module": "./dist/
|
21
|
-
"require": "./dist/
|
20
|
+
"./tailwindPlugin": {
|
21
|
+
"types": "./dist/tailwindPlugin.d.ts",
|
22
|
+
"import": "./dist/tailwindPlugin.js",
|
23
|
+
"module": "./dist/tailwindPlugin.js",
|
24
|
+
"require": "./dist/tailwindPlugin.cjs"
|
22
25
|
},
|
23
26
|
"./styles/*": "./dist/styles/*",
|
24
27
|
"./package.json": "./package.json"
|
25
28
|
},
|
26
29
|
"files": [
|
30
|
+
"bin/**",
|
27
31
|
"dist/**",
|
28
32
|
"package.json"
|
29
33
|
],
|
30
34
|
"devDependencies": {
|
31
35
|
"@types/react": "^18.2.42",
|
32
36
|
"@types/react-dom": "^18.2.17",
|
37
|
+
"bluebun": "0.0.34",
|
33
38
|
"concurrently": "^8.2.2",
|
34
39
|
"react": "^18.2.0",
|
35
40
|
"react-dom": "^18.2.0",
|
36
41
|
"tsup": "^8.0.1",
|
37
42
|
"tsx": "^4.6.2",
|
38
43
|
"typescript": "^5.3.3",
|
39
|
-
"
|
44
|
+
"zx": "^7.2.3",
|
45
|
+
"database": "0.0.2",
|
46
|
+
"eslint-config-custom": "0.0.7",
|
47
|
+
"shared": "0.0.3",
|
40
48
|
"tsconfig": "0.0.1"
|
41
49
|
},
|
42
50
|
"dependencies": {
|
43
|
-
"@
|
51
|
+
"@ariakit/react": "^0.3.5",
|
44
52
|
"clsx": "^2.0.0",
|
53
|
+
"react-toastify": "^9.1.3",
|
45
54
|
"tailwind-merge": "^2.1.0",
|
46
55
|
"tailwindcss": "^3.3.6",
|
47
|
-
"
|
56
|
+
"@yahoo/uds-fixtures": "0.0.2",
|
57
|
+
"@yahoo/uds-tokens": "0.0.2"
|
58
|
+
},
|
59
|
+
"peerDependencies": {
|
60
|
+
"@gorhom/bottom-sheet": "4.5.1",
|
61
|
+
"expo-constants": "~14.4.2",
|
62
|
+
"expo-image": "~1.3.4",
|
63
|
+
"expo-status-bar": "~1.6.0",
|
64
|
+
"react-native": "^0.72.6",
|
65
|
+
"react-native-safe-area-context": "4.6.3"
|
48
66
|
},
|
49
67
|
"scripts": {
|
50
68
|
"build": "pnpm build:fontcss && tsup",
|
51
69
|
"build:fontcss": "tsx ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
70
|
+
"build:css": "tailwindcss --input ./src/tailwind/uds.css --output ./generated/uds.css --config ./src/tailwind/tailwind.config.ts",
|
71
|
+
"build:cli": "bun run ./scripts/buildCli.ts",
|
52
72
|
"dev": "concurrently pnpm:dev:*",
|
53
73
|
"dev:ts": "tsup --watch",
|
54
74
|
"dev:fontcss": "tsx watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
|
55
|
-
"
|
75
|
+
"dev:cli": "bun run ./scripts/buildCli.ts --watch",
|
56
76
|
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
|
57
77
|
"test": "vitest run",
|
58
78
|
"test:watch": "vitest",
|
59
79
|
"test:coverage": "vitest run --coverage",
|
60
80
|
"test:ui": "vitest --ui --coverage",
|
61
|
-
"typecheck": "
|
81
|
+
"typecheck": "concurrently pnpm:typecheck:*",
|
82
|
+
"typecheck:uds": "tsc -p . --noEmit",
|
83
|
+
"typecheck:cli": "tsc -p ./cli --noEmit",
|
84
|
+
"typecheck:scripts": "tsc -p ./scripts --noEmit",
|
62
85
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
63
86
|
}
|
64
87
|
}
|
package/dist/chunk-RK4NHJLQ.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var r=["light","dark"],i=["medium","xSmall","small","large","xLarge","xxLarge","xxxLarge"],s="light",g="medium",c=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta"],u=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],d=["gray-1","gray-2","gray-3","gray-4","gray-5","gray-6","gray-7","gray-8","gray-9","gray-10","gray-11","gray-12","gray-13","gray-14","gray-15","gray-16","purple-1","purple-2","purple-3","purple-4","purple-5","purple-6","purple-7","purple-8","purple-9","purple-10","purple-11","purple-12","purple-13","purple-14","purple-15","purple-16","indigo-1","indigo-2","indigo-3","indigo-4","indigo-5","indigo-6","indigo-7","indigo-8","indigo-9","indigo-10","indigo-11","indigo-12","indigo-13","indigo-14","indigo-15","indigo-16","blue-1","blue-2","blue-3","blue-4","blue-5","blue-6","blue-7","blue-8","blue-9","blue-10","blue-11","blue-12","blue-13","blue-14","blue-15","blue-16","cyan-1","cyan-2","cyan-3","cyan-4","cyan-5","cyan-6","cyan-7","cyan-8","cyan-9","cyan-10","cyan-11","cyan-12","cyan-13","cyan-14","cyan-15","cyan-16","teal-1","teal-2","teal-3","teal-4","teal-5","teal-6","teal-7","teal-8","teal-9","teal-10","teal-11","teal-12","teal-13","teal-14","teal-15","teal-16","mint-1","mint-2","mint-3","mint-4","mint-5","mint-6","mint-7","mint-8","mint-9","mint-10","mint-11","mint-12","mint-13","mint-14","mint-15","mint-16","green-1","green-2","green-3","green-4","green-5","green-6","green-7","green-8","green-9","green-10","green-11","green-12","green-13","green-14","green-15","green-16","lime-1","lime-2","lime-3","lime-4","lime-5","lime-6","lime-7","lime-8","lime-9","lime-10","lime-11","lime-12","lime-13","lime-14","lime-15","lime-16","citron-1","citron-2","citron-3","citron-4","citron-5","citron-6","citron-7","citron-8","citron-9","citron-10","citron-11","citron-12","citron-13","citron-14","citron-15","citron-16","yellow-1","yellow-2","yellow-3","yellow-4","yellow-5","yellow-6","yellow-7","yellow-8","yellow-9","yellow-10","yellow-11","yellow-12","yellow-13","yellow-14","yellow-15","yellow-16","brown-1","brown-2","brown-3","brown-4","brown-5","brown-6","brown-7","brown-8","brown-9","brown-10","brown-11","brown-12","brown-13","brown-14","brown-15","brown-16","nude-1","nude-2","nude-3","nude-4","nude-5","nude-6","nude-7","nude-8","nude-9","nude-10","nude-11","nude-12","nude-13","nude-14","nude-15","nude-16","orange-1","orange-2","orange-3","orange-4","orange-5","orange-6","orange-7","orange-8","orange-9","orange-10","orange-11","orange-12","orange-13","orange-14","orange-15","orange-16","sunset-1","sunset-2","sunset-3","sunset-4","sunset-5","sunset-6","sunset-7","sunset-8","sunset-9","sunset-10","sunset-11","sunset-12","sunset-13","sunset-14","sunset-15","sunset-16","red-1","red-2","red-3","red-4","red-5","red-6","red-7","red-8","red-9","red-10","red-11","red-12","red-13","red-14","red-15","red-16","rose-1","rose-2","rose-3","rose-4","rose-5","rose-6","rose-7","rose-8","rose-9","rose-10","rose-11","rose-12","rose-13","rose-14","rose-15","rose-16","pink-1","pink-2","pink-3","pink-4","pink-5","pink-6","pink-7","pink-8","pink-9","pink-10","pink-11","pink-12","pink-13","pink-14","pink-15","pink-16","magenta-1","magenta-2","magenta-3","magenta-4","magenta-5","magenta-6","magenta-7","magenta-8","magenta-9","magenta-10","magenta-11","magenta-12","magenta-13","magenta-14","magenta-15","magenta-16"],e=["accent","alert","brand","positive","warning"],a=["primary","secondary","elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],t=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],l=["primary","secondary","tertiary","muted","on-color"],o=["primary","secondary","tertiary","muted"],n=["transparent","white","black"],p=[...e,...a,...t,...n],m=[...e,...l,...n],y=[...e,...o,...n],b={core:e,background:a,backgroundWash:t,foreground:l,line:o},w=["icons","sans","sans-condensed","serif-text","serif-display"],A=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],h=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],k=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],S=["0","1","2","4","8"],x=["1","2","3"],v=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],C=["square","xs","s","m","l","xl","xxl","circle"],P=["s","m","l"],f=["accent","alert","brand","positive","warning","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],F=["s","m","l"];export{r as a,i as b,s as c,g as d,c as e,u as f,d as g,e as h,a as i,t as j,l as k,o as l,n as m,p as n,m as o,y as p,b as q,w as r,A as s,h as t,k as u,S as v,x as w,v as x,C as y,P as z,f as A,F as B};
|
package/dist/fixtures.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var y=(n,e)=>{for(var l in e)r(n,l,{get:e[l],enumerable:!0})},b=(n,e,l,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!m.call(n,a)&&a!==l&&r(n,a,{get:()=>e[a],enumerable:!(u=d(e,a))||u.enumerable});return n};var w=n=>b(r({},"__esModule",{value:!0}),n);var U={};y(U,{DEFAULT_COLOR_MODE:()=>k,DEFAULT_SCALE_MODE:()=>S,alwaysPaletteAliases:()=>o,avatarSizes:()=>H,backgroundColors:()=>P,backgroundPaletteColors:()=>i,backgroundWashPaletteColors:()=>s,borderWidthAliases:()=>E,buttonSizes:()=>_,buttonVariants:()=>O,colorModes:()=>A,corePaletteColors:()=>t,elevations:()=>z,fontFamilyAliases:()=>M,fontWeightAliases:()=>W,foregroundColors:()=>f,foregroundPaletteColors:()=>g,hueSteps:()=>v,hues:()=>x,lineColors:()=>F,linePaletteColors:()=>c,palette:()=>B,scaleModes:()=>h,shapes:()=>D,spacingAliases:()=>V,spectrumColors:()=>C,textTransformAliases:()=>T,textVariants:()=>L});module.exports=w(U);var A=["light","dark"],h=["medium","xSmall","small","large","xLarge","xxLarge","xxxLarge"],k="light",S="medium",x=["gray","purple","indigo","blue","cyan","teal","mint","green","lime","citron","yellow","brown","nude","orange","sunset","red","rose","pink","magenta"],v=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"],C=["gray-1","gray-2","gray-3","gray-4","gray-5","gray-6","gray-7","gray-8","gray-9","gray-10","gray-11","gray-12","gray-13","gray-14","gray-15","gray-16","purple-1","purple-2","purple-3","purple-4","purple-5","purple-6","purple-7","purple-8","purple-9","purple-10","purple-11","purple-12","purple-13","purple-14","purple-15","purple-16","indigo-1","indigo-2","indigo-3","indigo-4","indigo-5","indigo-6","indigo-7","indigo-8","indigo-9","indigo-10","indigo-11","indigo-12","indigo-13","indigo-14","indigo-15","indigo-16","blue-1","blue-2","blue-3","blue-4","blue-5","blue-6","blue-7","blue-8","blue-9","blue-10","blue-11","blue-12","blue-13","blue-14","blue-15","blue-16","cyan-1","cyan-2","cyan-3","cyan-4","cyan-5","cyan-6","cyan-7","cyan-8","cyan-9","cyan-10","cyan-11","cyan-12","cyan-13","cyan-14","cyan-15","cyan-16","teal-1","teal-2","teal-3","teal-4","teal-5","teal-6","teal-7","teal-8","teal-9","teal-10","teal-11","teal-12","teal-13","teal-14","teal-15","teal-16","mint-1","mint-2","mint-3","mint-4","mint-5","mint-6","mint-7","mint-8","mint-9","mint-10","mint-11","mint-12","mint-13","mint-14","mint-15","mint-16","green-1","green-2","green-3","green-4","green-5","green-6","green-7","green-8","green-9","green-10","green-11","green-12","green-13","green-14","green-15","green-16","lime-1","lime-2","lime-3","lime-4","lime-5","lime-6","lime-7","lime-8","lime-9","lime-10","lime-11","lime-12","lime-13","lime-14","lime-15","lime-16","citron-1","citron-2","citron-3","citron-4","citron-5","citron-6","citron-7","citron-8","citron-9","citron-10","citron-11","citron-12","citron-13","citron-14","citron-15","citron-16","yellow-1","yellow-2","yellow-3","yellow-4","yellow-5","yellow-6","yellow-7","yellow-8","yellow-9","yellow-10","yellow-11","yellow-12","yellow-13","yellow-14","yellow-15","yellow-16","brown-1","brown-2","brown-3","brown-4","brown-5","brown-6","brown-7","brown-8","brown-9","brown-10","brown-11","brown-12","brown-13","brown-14","brown-15","brown-16","nude-1","nude-2","nude-3","nude-4","nude-5","nude-6","nude-7","nude-8","nude-9","nude-10","nude-11","nude-12","nude-13","nude-14","nude-15","nude-16","orange-1","orange-2","orange-3","orange-4","orange-5","orange-6","orange-7","orange-8","orange-9","orange-10","orange-11","orange-12","orange-13","orange-14","orange-15","orange-16","sunset-1","sunset-2","sunset-3","sunset-4","sunset-5","sunset-6","sunset-7","sunset-8","sunset-9","sunset-10","sunset-11","sunset-12","sunset-13","sunset-14","sunset-15","sunset-16","red-1","red-2","red-3","red-4","red-5","red-6","red-7","red-8","red-9","red-10","red-11","red-12","red-13","red-14","red-15","red-16","rose-1","rose-2","rose-3","rose-4","rose-5","rose-6","rose-7","rose-8","rose-9","rose-10","rose-11","rose-12","rose-13","rose-14","rose-15","rose-16","pink-1","pink-2","pink-3","pink-4","pink-5","pink-6","pink-7","pink-8","pink-9","pink-10","pink-11","pink-12","pink-13","pink-14","pink-15","pink-16","magenta-1","magenta-2","magenta-3","magenta-4","magenta-5","magenta-6","magenta-7","magenta-8","magenta-9","magenta-10","magenta-11","magenta-12","magenta-13","magenta-14","magenta-15","magenta-16"],t=["accent","alert","brand","positive","warning"],i=["primary","secondary","elevation-1","elevation-2","elevation-3","elevation-3-inverse","overlay"],s=["accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],g=["primary","secondary","tertiary","muted","on-color"],c=["primary","secondary","tertiary","muted"],o=["transparent","white","black"],P=[...t,...i,...s,...o],f=[...t,...g,...o],F=[...t,...c,...o],B={core:t,background:i,backgroundWash:s,foreground:g,line:c},M=["icons","sans","sans-condensed","serif-text","serif-display"],W=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],L=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],T=["display1","title1","title2","title3","title4","headline1","body1","label1","label2","caption1","caption2","legal1"],E=["0","1","2","4","8"],z=["1","2","3"],V=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14"],D=["square","xs","s","m","l","xl","xxl","circle"],H=["s","m","l"],O=["accent","alert","brand","positive","warning","accent-outline","alert-outline","brand-outline","positive-outline","warning-outline","accent-ghost","alert-ghost","brand-ghost","positive-ghost","warning-ghost","accent-wash","alert-wash","brand-wash","positive-wash","warning-wash"],_=["s","m","l"];0&&(module.exports={DEFAULT_COLOR_MODE,DEFAULT_SCALE_MODE,alwaysPaletteAliases,avatarSizes,backgroundColors,backgroundPaletteColors,backgroundWashPaletteColors,borderWidthAliases,buttonSizes,buttonVariants,colorModes,corePaletteColors,elevations,fontFamilyAliases,fontWeightAliases,foregroundColors,foregroundPaletteColors,hueSteps,hues,lineColors,linePaletteColors,palette,scaleModes,shapes,spacingAliases,spectrumColors,textTransformAliases,textVariants});
|