@yuktishaalaa/yuktai 5.3.3 → 5.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -3
- package/dist/chunk-7BGINZ5U.mjs +1 -0
- package/dist/icons.d.mts +94 -1
- package/dist/icons.d.ts +94 -1
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +1 -1
- package/dist/index.d.mts +65 -3
- package/dist/index.d.ts +65 -3
- package/dist/index.js +56 -56
- package/dist/index.mjs +26 -26
- package/package.json +6 -1
- package/vanilla/README.md +1 -0
- package/vanilla/index.js +453 -16
- package/vanilla/index.min.js +34 -34
- package/dist/chunk-VA6D6ILU.mjs +0 -1
package/dist/icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var C=Object.defineProperty;var ut=Object.getOwnPropertyDescriptor;var xt=Object.getOwnPropertyNames;var Mt=Object.prototype.hasOwnProperty;var ft=(o,e)=>{for(var c in e)C(o,c,{get:e[c],enumerable:!0})},gt=(o,e,c,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of xt(e))!Mt.call(o,r)&&r!==c&&C(o,r,{get:()=>e[r],enumerable:!(a=ut(e,r))||a.enumerable});return o};var yt=o=>gt(C({},"__esModule",{value:!0}),o);var vt={};ft(vt,{AbcIcon:()=>Ln,AccessibilityIcon:()=>K,AlertIcon:()=>vo,AlignCenterIcon:()=>vn,AlignJustifyIcon:()=>wn,AlignLeftIcon:()=>Pn,AlignRightIcon:()=>bn,ApiIcon:()=>Kn,ArchitectureIcon:()=>pt,ArrowDownIcon:()=>mt,ArrowLeftIcon:()=>jo,ArrowRightIcon:()=>Ko,ArrowUpIcon:()=>Jo,BoldIcon:()=>fn,BookIcon:()=>zo,BookmarkIcon:()=>rt,BrainIcon:()=>it,BulbIcon:()=>pn,CalendarIcon:()=>Ho,CardsIcon:()=>ho,ChatIcon:()=>Io,CheckIcon:()=>J,ChevronLeftIcon:()=>q,ChevronRightIcon:()=>Y,ChevronsIcon:()=>io,ClockIcon:()=>Vo,CloseIcon:()=>j,CloudIcon:()=>ot,CodeIcon:()=>xn,ComputerIcon:()=>Zn,ContrastIcon:()=>Q,CopyIcon:()=>Mo,DataObjectIcon:()=>Qn,DeleteIcon:()=>hn,DownloadIcon:()=>xo,ExternalIcon:()=>Yo,EyeIcon:()=>Co,EyeOffIcon:()=>ct,FileIcon:()=>qo,FilterIcon:()=>fo,FirstIcon:()=>go,FontIcon:()=>An,FormIcon:()=>wo,FullscreenExitIcon:()=>Fn,FullscreenIcon:()=>$n,GavelIcon:()=>st,GiftIcon:()=>Uo,GlobeIcon:()=>To,GridIcon:()=>lo,HeadphonesIcon:()=>Qo,HeartFilledIcon:()=>mn,HeartIcon:()=>dn,HelpIcon:()=>cn,HomeIcon:()=>Bo,HubIcon:()=>un,ICON_MIN_CONTRAST:()=>S,ICON_NAMES:()=>$,ICON_PATHS:()=>m,IconBase:()=>s,ImageIcon:()=>Wo,InfoIcon:()=>bo,InstallIcon:()=>en,ItalicIcon:()=>gn,JoinIcon:()=>Dn,KeyIcon:()=>Vn,LampIcon:()=>$o,LastIcon:()=>yo,LayoutIcon:()=>ko,LinkIcon:()=>Bn,LockIcon:()=>zn,MapIcon:()=>on,MeditateIcon:()=>an,MenuIcon:()=>Oo,MergeIcon:()=>Gn,MicIcon:()=>mo,MinusIcon:()=>ao,MoonIcon:()=>Z,MotionIcon:()=>X,MovieIcon:()=>Yn,MusicIcon:()=>Zo,MusicOffIcon:()=>Wn,MusicVideoIcon:()=>qn,PageBreakIcon:()=>Rn,PaletteIcon:()=>eo,PauseIcon:()=>Go,PenIcon:()=>nn,PersonIcon:()=>No,PhoneIcon:()=>Xn,PinIcon:()=>Xo,PlayIcon:()=>Fo,PlugIcon:()=>Ro,PlusIcon:()=>ro,QuoteIcon:()=>Cn,RadioCheckedIcon:()=>It,RadioIcon:()=>ht,ReadingIcon:()=>oo,RedoIcon:()=>Nn,ResetIcon:()=>so,RobotIcon:()=>In,SchoolIcon:()=>at,SearchIcon:()=>_,SearchOffIcon:()=>et,SendIcon:()=>Do,ShareIcon:()=>_o,ShuffleIcon:()=>Tn,SkipIcon:()=>co,SlideshowIcon:()=>Jn,SortDownIcon:()=>W,SortIcon:()=>po,SortUpIcon:()=>U,SparkIcon:()=>Po,SpeakerIcon:()=>to,SpellcheckIcon:()=>Sn,StopIcon:()=>uo,StorageIcon:()=>jn,StyleIcon:()=>On,SunIcon:()=>ln,SwapIcon:()=>En,TargetIcon:()=>no,TempleIcon:()=>rn,TextIcon:()=>Mn,TitleIcon:()=>kn,ToolsIcon:()=>Lo,TouchIcon:()=>_n,TrophyIcon:()=>sn,UnderlineIcon:()=>yn,UndoIcon:()=>So,UnlockIcon:()=>Hn,UploadIcon:()=>dt,UsersIcon:()=>Eo,VolumeOffIcon:()=>Un,VolunteerIcon:()=>lt,WalletIcon:()=>tn,WandIcon:()=>Ao,WifiIcon:()=>nt,WifiOffIcon:()=>tt,YuktaiIcon:()=>t,iconContrast:()=>f,iconSvg:()=>D,pickGlyphColor:()=>L,resolveIconColours:()=>g});module.exports=yt(vt);function k(o){if(!o)return null;let e=o.trim().toLowerCase();if(e==="transparent")return{r:0,g:0,b:0,a:0};let c=e.match(/^rgba?\(([^)]+)\)$/);if(c){let r=c[1].split(/[\s,/]+/).filter(Boolean),[p,h,I]=r.slice(0,3).map(Number),x=r[3],M=x===void 0?1:x.endsWith("%")?Number(x.slice(0,-1))/100:Number(x);return[p,h,I,M].some(l=>!Number.isFinite(l))?null:{r:p,g:h,b:I,a:M}}let a=e.match(/^#([0-9a-f]{3,8})$/);if(a){let r=a[1];return(r.length===3||r.length===4)&&(r=r.split("").map(p=>p+p).join("")),r.length!==6&&r.length!==8?null:{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16),a:r.length===8?parseInt(r.slice(6,8),16)/255:1}}return null}function N(o,e){let c=o.a+e.a*(1-o.a);if(c===0)return{r:0,g:0,b:0,a:0};let a=(r,p)=>(r*o.a+p*e.a*(1-o.a))/c;return{r:a(o.r,e.r),g:a(o.g,e.g),b:a(o.b,e.b),a:c}}function E(o){let e=c=>{let a=c/255;return a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)};return .2126*e(o.r)+.7152*e(o.g)+.0722*e(o.b)}function T(o,e){let c=e.a<1?N(e,{r:255,g:255,b:255,a:1}):e,a=o.a<1?N(o,c):o,r=E(a),p=E(c),[h,I]=r>p?[r,p]:[p,r];return Math.round((h+.05)/(I+.05)*100)/100}var m={accessibility:'<circle cx="12" cy="4" r="2"/><path d="M4 8l8-1 8 1M12 7v5m-5 9 5-8 5 8M7 12l-2 5m12-5 2 5"/>',contrast:'<circle cx="12" cy="12" r="9"/><path d="M12 3a9 9 0 0 0 0 18z"/>',moon:'<path d="M20 14.5A8.5 8.5 0 0 1 9.5 4 8.5 8.5 0 1 0 20 14.5z"/>',motion:'<path d="M4 12h12m-5-5 5 5-5 5M20 5v14"/>',reading:'<path d="M4 5h16M4 10h12M4 15h16M4 20h10"/>',target:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4"/>',speaker:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"/>',palette:'<circle cx="12" cy="12" r="9"/><circle cx="8" cy="10" r="1.3"/><circle cx="12" cy="7.5" r="1.3"/><circle cx="16" cy="10" r="1.3"/><path d="M12 21a3 3 0 0 1 0-6h2"/>',skip:'<path d="M5 5l7 7-7 7M13 5l7 7-7 7"/>',close:'<path d="m18 6-12 12M6 6l12 12"/>',plus:'<path d="M12 5v14M5 12h14"/>',minus:'<path d="M5 12h14"/>',reset:'<path d="M3 12a9 9 0 1 0 3-6.7L3 8"/><path d="M3 3v5h5"/>',search:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5"/>',sort:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',sortUp:'<path d="m6 15 6-6 6 6"/>',sortDown:'<path d="m6 9 6 6 6-6"/>',chevrons:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',grid:'<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/>',cards:'<rect x="3" y="4" width="18" height="7" rx="1.5"/><rect x="3" y="13" width="18" height="7" rx="1.5"/>',chat:'<path d="M21 11.5a8.5 8.5 0 0 1-8.5 8.5 9 9 0 0 1-4-.9L3 21l1.9-5.5a9 9 0 0 1-.9-4A8.5 8.5 0 0 1 12.5 3H13a8.5 8.5 0 0 1 8 8z"/>',mic:'<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10a7 7 0 0 0 14 0M12 17v5m-4 0h8"/>',stop:'<rect x="6" y="6" width="12" height="12" rx="2"/>',download:'<path d="M12 3v12m-5-5 5 5 5-5M4 21h16"/>',copy:'<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/>',filter:'<path d="M4 5h16l-6 7v6l-4 2v-8z"/>',check:'<path d="m5 12 4 4L19 6"/>',left:'<path d="m15 18-6-6 6-6"/>',right:'<path d="m9 18 6-6-6-6"/>',first:'<path d="m11 18-6-6 6-6M19 18l-6-6 6-6"/>',last:'<path d="m13 18 6-6-6-6M5 18l6-6-6-6"/>',spark:'<path d="m12 3 1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2zM19 14l1.2 2.8L23 18l-2.8 1.2L19 22l-1.2-2.8L15 18l2.8-1.2z"/>',alert:'<path d="m12 3 10 18H2L12 3z"/><path d="M12 9v5m0 3h.01"/>',info:'<circle cx="12" cy="12" r="9"/><path d="M12 11v6m0-9h.01"/>',form:'<rect x="5" y="3" width="14" height="18" rx="2"/><path d="M9 8h6M9 12h6M9 16h3"/>',eye:'<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/>',layout:'<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/>',wand:'<path d="m15 4 5 5L9 20H4v-5z"/><path d="m13 6 5 5"/>',undo:'<path d="M9 14 4 9l5-5"/><path d="M4 9h10a6 6 0 0 1 0 12h-3"/>',tools:'<path d="M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z"/>',plug:'<path d="M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4"/>',home:'<path d="M3 11 12 4l9 7"/><path d="M5 10v10h5v-6h4v6h5V10"/>',menu:'<path d="M4 6h16M4 12h16M4 18h16"/>',book:'<path d="M12 6c-2-1.5-5-2-8-2v14c3 0 6 .5 8 2 2-1.5 5-2 8-2V4c-3 0-6 .5-8 2zM12 6v14"/>',calendar:'<rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4M7.5 14h2M14.5 14h2M7.5 17.5h2"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',person:'<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>',users:'<circle cx="9" cy="8" r="3.5"/><path d="M2 20a7 7 0 0 1 14 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 13.5a7 7 0 0 1 4 6.5"/>',globe:'<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/>',lamp:'<path d="M12 3c2 2.6 3 4.3 3 6a3 3 0 0 1-6 0c0-1.7 1-3.4 3-6z"/><path d="M3 14h18c0 3.5-4 6-9 6s-9-2.5-9-6z"/><path d="M12 12v2"/>',play:'<circle cx="12" cy="12" r="9"/><path d="M10 8.5v7l6-3.5z"/>',pause:'<circle cx="12" cy="12" r="9"/><path d="M10 9v6M14 9v6"/>',send:'<path d="M21 3 3 10.5l7 3 3 7.5z"/><path d="m10 13.5 4.5-4.5"/>',share:'<circle cx="18" cy="5" r="2.5"/><circle cx="6" cy="12" r="2.5"/><circle cx="18" cy="19" r="2.5"/><path d="m8.2 10.8 7.6-4.6M8.2 13.2l7.6 4.6"/>',gift:'<rect x="3" y="8" width="18" height="4" rx="1"/><path d="M5 12v9h14v-9M12 8v13M12 8C10.5 5 7 4 7 6.5S10 8 12 8zm0 0c1.5-3 5-4 5-1.5S14 8 12 8z"/>',image:'<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="m21 15-5-5-10 10"/>',file:'<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5M9 13h6M9 17h6"/>',external:'<path d="M14 4h6v6M20 4l-9 9"/><path d="M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>',arrowUp:'<path d="M12 19V5m-6 6 6-6 6 6"/>',arrowLeft:'<path d="M19 12H5m6-6-6 6 6 6"/>',arrowRight:'<path d="M5 12h14m-6-6 6 6-6 6"/>',headphones:'<path d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect x="3" y="14" width="4" height="7" rx="1.5"/><rect x="17" y="14" width="4" height="7" rx="1.5"/>',music:'<path d="M9 18V5l11-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="17" cy="16" r="3"/>',pin:'<path d="M12 21s7-6.2 7-11.5a7 7 0 0 0-14 0C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/>',map:'<path d="M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z"/><path d="M9 3v15M15 6v15"/>',pen:'<path d="M12 3 6 9l1.5 8h9L18 9z"/><path d="M12 3v7.5"/><circle cx="12" cy="12" r="1.5"/><path d="M8 21h8"/>',wallet:'<rect x="3" y="7" width="18" height="13" rx="2"/><path d="M16 13.5h2M6 7l9-4 2 4"/>',install:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M12 6v8m-3-3 3 3 3-3M10 18h4"/>',help:'<circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/>',temple:'<path d="M12 2v2M10 4h4l1 3H9zM8 7h8l1.5 4h-11zM6.5 11h11L19 15H5zM4 15h16v6H4z"/><path d="M10 21v-3a2 2 0 0 1 4 0v3"/>',meditate:'<circle cx="12" cy="4.5" r="2.2"/><path d="M12 8c-2.2 0-3.3 1.3-3.7 3.2L7.5 16M12 8c2.2 0 3.3 1.3 3.7 3.2l.8 4.8"/><path d="M4 18c3 2 5.5 2.4 8 1.2 2.5 1.2 5 .8 8-1.2"/><path d="M7.5 16c1.4 1.4 3 2 4.5 2s3.1-.6 4.5-2"/>',trophy:'<path d="M8 4h8v5a4 4 0 0 1-8 0z"/><path d="M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 21h8M9 17h6"/>',bulb:'<path d="M9 18h6M10 21h4"/><path d="M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z"/>',sun:'<circle cx="12" cy="12" r="4"/><path d="M12 2v2.5M12 19.5V22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2 12h2.5M19.5 12H22M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8"/>',delete:'<path d="M4 7h16M10 11v6M14 11v6M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13M9 7V4h6v3"/>',robot:'<rect x="4" y="8" width="16" height="12" rx="3"/><path d="M12 8V4M9.5 4h5M2 13v3M22 13v3"/><circle cx="9" cy="14" r="1.3"/><circle cx="15" cy="14" r="1.3"/>',heart:'<path d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',heartFilled:'<path fill="currentColor" d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',hub:'<circle cx="12" cy="12" r="3"/><circle cx="5" cy="5" r="2"/><circle cx="19" cy="5" r="2"/><circle cx="5" cy="19" r="2"/><circle cx="19" cy="19" r="2"/><path d="m6.5 6.5 3.4 3.4M17.5 6.5l-3.4 3.4M6.5 17.5l3.4-3.4M17.5 17.5l-3.4-3.4"/>',code:'<path d="m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16"/>',text:'<path d="M3 7V5h11v2M8.5 5v14M6.5 19h4M14 12v-1.5h7V12M17.5 10.5V19M16 19h3"/>',bold:'<path d="M7 4h6a4 4 0 0 1 0 8H7zM7 12h7a4 4 0 0 1 0 8H7z"/>',italic:'<path d="M10 4h9M5 20h9M15 4 9 20"/>',underline:'<path d="M7 4v7a5 5 0 0 0 10 0V4M5 21h14"/>',alignLeft:'<path d="M4 5h16M4 9.5h9M4 14h16M4 18.5h9"/>',alignCenter:'<path d="M4 5h16M7.5 9.5h9M4 14h16M7.5 18.5h9"/>',alignRight:'<path d="M4 5h16M11 9.5h9M4 14h16M11 18.5h9"/>',alignJustify:'<path d="M4 5h16M4 9.5h16M4 14h16M4 18.5h16"/>',quote:'<path d="M4 18v-6.5A6.5 6.5 0 0 1 10.5 5M4 12h5.5v6H4zM13.5 18v-6.5A6.5 6.5 0 0 1 20 5M13.5 12H19v6h-5.5z"/>',title:'<path d="M5 6V4h14v2M12 4v16M9 20h6"/>',font:'<rect x="3" y="3" width="18" height="18" rx="3"/><path d="m8 17 4-10 4 10M9.4 13.5h5.2"/>',spellcheck:'<path d="m3 14 4-10 4 10M4.6 10.5h4.8M11 17l3 3 7-7"/>',abc:'<path d="m2 16 2.5-8L7 16M3 13.5h3M9.5 8v8h2.5a2 2 0 0 0 0-4H9.5h2a2 2 0 0 0 0-4H9.5M21 9.4a3.1 3.1 0 1 0 0 5.2"/>',pageBreak:'<path d="M6 3v5h12V3M6 21v-5h12v5M3 12h3M9 12h6M18 12h3"/>',link:'<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>',style:'<rect x="3" y="3" width="7" height="18" rx="2"/><path d="m10 7.5 4.4-2.6a2 2 0 0 1 2.7.7l3.2 5.6a2 2 0 0 1-.7 2.7L10 19"/><circle cx="6.5" cy="17" r="1"/>',lock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3M12 15v2"/>',unlock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 7.6-1.8M12 15v2"/>',key:'<circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M17 6l3 3M14.5 8.5l2 2"/>',redo:'<path d="m15 14 5-5-5-5"/><path d="M20 9H10a6 6 0 0 0 0 12h3"/>',swap:'<path d="M7 4 3 8l4 4M3 8h14M17 12l4 4-4 4M21 16H7"/>',shuffle:'<path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>',fullscreen:'<path d="M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5"/>',fullscreenExit:'<path d="M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5"/>',merge:'<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="12" r="2"/><path d="M6 7v10M6 7c0 4 4 5 10 5"/>',join:'<circle cx="9" cy="12" r="6"/><circle cx="15" cy="12" r="6"/>',touch:'<path d="M9 11V5a1.5 1.5 0 0 1 3 0v6M12 10a1.5 1.5 0 0 1 3 0v1M15 11a1.5 1.5 0 0 1 3 0v3c0 4-2.5 7-6 7-2.5 0-4-1-5.5-3.5L4.6 14a1.5 1.5 0 0 1 2.5-1.6L9 15"/>',volumeOff:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="m16.5 9.5 5 5M21.5 9.5l-5 5"/>',musicOff:'<path d="M9 13v5M9 7V5l11-2v9"/><circle cx="6" cy="18" r="3"/><path d="M3 3l18 18"/>',musicVideo:'<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M10.5 15V8.5l5-1V13"/><circle cx="9" cy="15" r="1.5"/><circle cx="14" cy="13" r="1.5"/>',movie:'<rect x="3" y="9" width="18" height="11" rx="2"/><path d="m3.5 9-.6-3 16.6-3.4.6 3L3.5 9zM8.5 4.8l1.8 2.9M13.8 3.7l1.8 2.9"/>',slideshow:'<rect x="3" y="4" width="18" height="13" rx="2"/><path d="M10 8v5l4-2.5zM8 21h8M12 17v4"/>',storage:'<ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/>',api:'<path d="M3 17v-6a2.5 2.5 0 0 1 5 0v6M3 14h5M11 17V7h2.5a2.5 2.5 0 0 1 0 5H11M18 7h3M19.5 7v10M18 17h3"/>',dataObject:'<path d="M8 4H7a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-1"/>',computer:'<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>',phone:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10.5 18.5h3"/>',cloud:'<path d="M7 19a5 5 0 0 1-.6-10A6.5 6.5 0 0 1 18.6 9.5 4.8 4.8 0 0 1 17.5 19z"/>',wifi:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01"/>',wifiOff:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01M3 3l18 18"/>',searchOff:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8.7 8.7l4.6 4.6M13.3 8.7l-4.6 4.6"/>',eyeOff:'<path d="M10.6 5.1A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-2.2 3.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7a9.7 9.7 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18"/>',bookmark:'<path d="M6 3h12v18l-6-4-6 4z"/>',school:'<path d="m2 9 10-5 10 5-10 5z"/><path d="M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5M22 9v6"/>',gavel:'<path d="m13 3.5 7.5 7.5M10 6.5l7.5 7.5M11.5 5l7 7-3 3-7-7zM10 11.5 3.5 18a1.4 1.4 0 0 0 2 2L12 13.5M13 21h8"/>',architecture:'<circle cx="12" cy="5" r="2"/><path d="M12 3V2M11 7 5.5 21M13 7l5.5 14M8 15h8"/>',brain:'<path d="M11 5.5A3 3 0 0 0 5.6 7 3 3 0 0 0 4 12a3 3 0 0 0 1.6 5A3 3 0 0 0 11 18.5zM13 5.5A3 3 0 0 1 18.4 7 3 3 0 0 1 20 12a3 3 0 0 1-1.6 5 3 3 0 0 1-5.4 1.5z"/><path d="M8 10h3M13 14h3"/>',volunteer:'<path d="M12 11s-3.5-2.2-3.5-4.6a1.8 1.8 0 0 1 3.5-.7 1.8 1.8 0 0 1 3.5.7C15.5 8.8 12 11 12 11z"/><path d="M2 15h3l3.5 1.5H13a1.5 1.5 0 0 1 0 3H9.5M5 21l1.5-1.5H14l5.5-4a1.6 1.6 0 0 0-2-2.4L14 15.6"/>',radio:'<circle cx="12" cy="12" r="9"/>',radioChecked:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4" fill="currentColor"/>',upload:'<path d="M12 15V3m-5 5 5-5 5 5M4 21h16"/>',arrowDown:'<path d="M12 5v14m-6-6 6 6 6-6"/>'},$=Object.keys(m);var S=3,A="#ffffff",F="#111827";function f(o,e){let c=k(o),a=k(e);return c&&a?T(c,a):null}function L(o){let e=f(A,o),c=f(F,o);return e===null||c===null||e>=c?A:F}var G=new Set;function Pt(o,e){G.has(o)||(G.add(o),typeof console<"u"&&console.warn(`[yuktai icons] ${e}`))}function g(o={}){let e=o.variant==="filled"?"filled":"outline",c=o.color||"currentColor";if(e==="outline")return{variant:e,color:c,glyph:c,contrast:null};let a=o.glyphColor||L(c),r=f(a,c);return r!==null&&r<S&&Pt(`${a}|${c}`,`glyph ${a} on ${c} is ${r}:1. WCAG 1.4.11 needs at least 3:1 for icons.`),{variant:e,color:c,glyph:a,contrast:r}}var R="translate(3.6 3.6) scale(0.7)",B="@media (forced-colors: active){.yi-bg{fill:CanvasText}.yi-glyph{stroke:Canvas;color:Canvas}}",u=o=>String(o).replace(/[&<>"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e]);function D(o,e={}){let c=m[o]??m.spark,a=e.size??20,{variant:r,color:p,glyph:h}=g(e),I=e.strokeWidth??(r==="filled"?2.4:1.9),M=`<svg xmlns="http://www.w3.org/2000/svg" ${e.label?`role="img" aria-label="${u(e.label)}"`:'aria-hidden="true"'} focusable="false" width="${u(a)}" height="${u(a)}" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round" data-variant="${r}">`;if(r==="outline")return`${M}<g stroke="${u(p)}" stroke-width="${I}">${c}</g></svg>`;let l=e.shape==="circle"?`<circle class="yi-bg" cx="12" cy="12" r="12" fill="${u(p)}"/>`:`<rect class="yi-bg" width="24" height="24" rx="6" fill="${u(p)}"/>`;return`${M}<style>${B}</style>${l}<g class="yi-glyph" color="${u(h)}" stroke="${u(h)}" stroke-width="${I}" transform="${R}">${c}</g></svg>`}var d=require("react/jsx-runtime");function s({size:o=20,color:e,strokeWidth:c,label:a,variant:r,glyphColor:p,shape:h,children:I,...x}){let M=!a,l=g({variant:r,color:e,glyphColor:p,shape:h}),w=l.variant==="filled",V=c??(w?2.6:2.5);return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:w?void 0:l.color,strokeWidth:w?void 0:V,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":M?"true":void 0,"aria-label":a,role:a?"img":void 0,focusable:"false","data-variant":l.variant,...x,children:w?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{children:B}),h==="circle"?(0,d.jsx)("circle",{className:"yi-bg",cx:"12",cy:"12",r:"12",fill:l.color}):(0,d.jsx)("rect",{className:"yi-bg",width:"24",height:"24",rx:"6",fill:l.color}),(0,d.jsx)("g",{className:"yi-glyph",color:l.glyph,stroke:l.glyph,strokeWidth:V,transform:R,children:I})]}):I})}var y=require("react/jsx-runtime");function _(o){return(0,y.jsxs)(s,{...o,children:[(0,y.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,y.jsx)("path",{d:"m20 20-4-4"})]})}var P=require("react/jsx-runtime");function U(o){return(0,P.jsxs)(s,{...o,children:[(0,P.jsx)("path",{d:"M12 19V5"}),(0,P.jsx)("path",{d:"m5 12 7-7 7 7"})]})}var v=require("react/jsx-runtime");function W(o){return(0,v.jsxs)(s,{...o,children:[(0,v.jsx)("path",{d:"M12 5v14"}),(0,v.jsx)("path",{d:"m5 12 7 7 7-7"})]})}var O=require("react/jsx-runtime");function q(o){return(0,O.jsx)(s,{...o,children:(0,O.jsx)("path",{d:"m15 18-6-6 6-6"})})}var z=require("react/jsx-runtime");function Y(o){return(0,z.jsx)(s,{...o,children:(0,z.jsx)("path",{d:"m9 18 6-6-6-6"})})}var H=require("react/jsx-runtime");function J(o){return(0,H.jsx)(s,{...o,children:(0,H.jsx)("path",{d:"M5 12.5 10 17.5 19.5 7"})})}var b=require("react/jsx-runtime");function j(o){return(0,b.jsxs)(s,{...o,children:[(0,b.jsx)("path",{d:"M18 6 6 18"}),(0,b.jsx)("path",{d:"m6 6 12 12"})]})}var n=require("react/jsx-runtime");function t({name:o,...e}){let c=m[o]??m.spark;return(0,n.jsx)(s,{...e,children:(0,n.jsx)("g",{dangerouslySetInnerHTML:{__html:c}})})}var K=o=>(0,n.jsx)(t,{...o,name:"accessibility"}),Q=o=>(0,n.jsx)(t,{...o,name:"contrast"}),Z=o=>(0,n.jsx)(t,{...o,name:"moon"}),X=o=>(0,n.jsx)(t,{...o,name:"motion"}),oo=o=>(0,n.jsx)(t,{...o,name:"reading"}),no=o=>(0,n.jsx)(t,{...o,name:"target"}),to=o=>(0,n.jsx)(t,{...o,name:"speaker"}),eo=o=>(0,n.jsx)(t,{...o,name:"palette"}),co=o=>(0,n.jsx)(t,{...o,name:"skip"}),ro=o=>(0,n.jsx)(t,{...o,name:"plus"}),ao=o=>(0,n.jsx)(t,{...o,name:"minus"}),so=o=>(0,n.jsx)(t,{...o,name:"reset"}),po=o=>(0,n.jsx)(t,{...o,name:"sort"}),io=o=>(0,n.jsx)(t,{...o,name:"chevrons"}),lo=o=>(0,n.jsx)(t,{...o,name:"grid"}),ho=o=>(0,n.jsx)(t,{...o,name:"cards"}),Io=o=>(0,n.jsx)(t,{...o,name:"chat"}),mo=o=>(0,n.jsx)(t,{...o,name:"mic"}),uo=o=>(0,n.jsx)(t,{...o,name:"stop"}),xo=o=>(0,n.jsx)(t,{...o,name:"download"}),Mo=o=>(0,n.jsx)(t,{...o,name:"copy"}),fo=o=>(0,n.jsx)(t,{...o,name:"filter"}),go=o=>(0,n.jsx)(t,{...o,name:"first"}),yo=o=>(0,n.jsx)(t,{...o,name:"last"}),Po=o=>(0,n.jsx)(t,{...o,name:"spark"}),vo=o=>(0,n.jsx)(t,{...o,name:"alert"}),bo=o=>(0,n.jsx)(t,{...o,name:"info"}),wo=o=>(0,n.jsx)(t,{...o,name:"form"}),Co=o=>(0,n.jsx)(t,{...o,name:"eye"}),ko=o=>(0,n.jsx)(t,{...o,name:"layout"}),Ao=o=>(0,n.jsx)(t,{...o,name:"wand"}),So=o=>(0,n.jsx)(t,{...o,name:"undo"}),Lo=o=>(0,n.jsx)(t,{...o,name:"tools"}),Ro=o=>(0,n.jsx)(t,{...o,name:"plug"}),Bo=o=>(0,n.jsx)(t,{...o,name:"home"}),Oo=o=>(0,n.jsx)(t,{...o,name:"menu"}),zo=o=>(0,n.jsx)(t,{...o,name:"book"}),Ho=o=>(0,n.jsx)(t,{...o,name:"calendar"}),Vo=o=>(0,n.jsx)(t,{...o,name:"clock"}),No=o=>(0,n.jsx)(t,{...o,name:"person"}),Eo=o=>(0,n.jsx)(t,{...o,name:"users"}),To=o=>(0,n.jsx)(t,{...o,name:"globe"}),$o=o=>(0,n.jsx)(t,{...o,name:"lamp"}),Fo=o=>(0,n.jsx)(t,{...o,name:"play"}),Go=o=>(0,n.jsx)(t,{...o,name:"pause"}),Do=o=>(0,n.jsx)(t,{...o,name:"send"}),_o=o=>(0,n.jsx)(t,{...o,name:"share"}),Uo=o=>(0,n.jsx)(t,{...o,name:"gift"}),Wo=o=>(0,n.jsx)(t,{...o,name:"image"}),qo=o=>(0,n.jsx)(t,{...o,name:"file"}),Yo=o=>(0,n.jsx)(t,{...o,name:"external"}),Jo=o=>(0,n.jsx)(t,{...o,name:"arrowUp"}),jo=o=>(0,n.jsx)(t,{...o,name:"arrowLeft"}),Ko=o=>(0,n.jsx)(t,{...o,name:"arrowRight"}),Qo=o=>(0,n.jsx)(t,{...o,name:"headphones"}),Zo=o=>(0,n.jsx)(t,{...o,name:"music"}),Xo=o=>(0,n.jsx)(t,{...o,name:"pin"}),on=o=>(0,n.jsx)(t,{...o,name:"map"}),nn=o=>(0,n.jsx)(t,{...o,name:"pen"}),tn=o=>(0,n.jsx)(t,{...o,name:"wallet"}),en=o=>(0,n.jsx)(t,{...o,name:"install"}),cn=o=>(0,n.jsx)(t,{...o,name:"help"}),rn=o=>(0,n.jsx)(t,{...o,name:"temple"}),an=o=>(0,n.jsx)(t,{...o,name:"meditate"}),sn=o=>(0,n.jsx)(t,{...o,name:"trophy"}),pn=o=>(0,n.jsx)(t,{...o,name:"bulb"}),ln=o=>(0,n.jsx)(t,{...o,name:"sun"}),hn=o=>(0,n.jsx)(t,{...o,name:"delete"}),In=o=>(0,n.jsx)(t,{...o,name:"robot"}),dn=o=>(0,n.jsx)(t,{...o,name:"heart"}),mn=o=>(0,n.jsx)(t,{...o,name:"heartFilled"}),un=o=>(0,n.jsx)(t,{...o,name:"hub"}),xn=o=>(0,n.jsx)(t,{...o,name:"code"}),Mn=o=>(0,n.jsx)(t,{...o,name:"text"}),fn=o=>(0,n.jsx)(t,{...o,name:"bold"}),gn=o=>(0,n.jsx)(t,{...o,name:"italic"}),yn=o=>(0,n.jsx)(t,{...o,name:"underline"}),Pn=o=>(0,n.jsx)(t,{...o,name:"alignLeft"}),vn=o=>(0,n.jsx)(t,{...o,name:"alignCenter"}),bn=o=>(0,n.jsx)(t,{...o,name:"alignRight"}),wn=o=>(0,n.jsx)(t,{...o,name:"alignJustify"}),Cn=o=>(0,n.jsx)(t,{...o,name:"quote"}),kn=o=>(0,n.jsx)(t,{...o,name:"title"}),An=o=>(0,n.jsx)(t,{...o,name:"font"}),Sn=o=>(0,n.jsx)(t,{...o,name:"spellcheck"}),Ln=o=>(0,n.jsx)(t,{...o,name:"abc"}),Rn=o=>(0,n.jsx)(t,{...o,name:"pageBreak"}),Bn=o=>(0,n.jsx)(t,{...o,name:"link"}),On=o=>(0,n.jsx)(t,{...o,name:"style"}),zn=o=>(0,n.jsx)(t,{...o,name:"lock"}),Hn=o=>(0,n.jsx)(t,{...o,name:"unlock"}),Vn=o=>(0,n.jsx)(t,{...o,name:"key"}),Nn=o=>(0,n.jsx)(t,{...o,name:"redo"}),En=o=>(0,n.jsx)(t,{...o,name:"swap"}),Tn=o=>(0,n.jsx)(t,{...o,name:"shuffle"}),$n=o=>(0,n.jsx)(t,{...o,name:"fullscreen"}),Fn=o=>(0,n.jsx)(t,{...o,name:"fullscreenExit"}),Gn=o=>(0,n.jsx)(t,{...o,name:"merge"}),Dn=o=>(0,n.jsx)(t,{...o,name:"join"}),_n=o=>(0,n.jsx)(t,{...o,name:"touch"}),Un=o=>(0,n.jsx)(t,{...o,name:"volumeOff"}),Wn=o=>(0,n.jsx)(t,{...o,name:"musicOff"}),qn=o=>(0,n.jsx)(t,{...o,name:"musicVideo"}),Yn=o=>(0,n.jsx)(t,{...o,name:"movie"}),Jn=o=>(0,n.jsx)(t,{...o,name:"slideshow"}),jn=o=>(0,n.jsx)(t,{...o,name:"storage"}),Kn=o=>(0,n.jsx)(t,{...o,name:"api"}),Qn=o=>(0,n.jsx)(t,{...o,name:"dataObject"}),Zn=o=>(0,n.jsx)(t,{...o,name:"computer"}),Xn=o=>(0,n.jsx)(t,{...o,name:"phone"}),ot=o=>(0,n.jsx)(t,{...o,name:"cloud"}),nt=o=>(0,n.jsx)(t,{...o,name:"wifi"}),tt=o=>(0,n.jsx)(t,{...o,name:"wifiOff"}),et=o=>(0,n.jsx)(t,{...o,name:"searchOff"}),ct=o=>(0,n.jsx)(t,{...o,name:"eyeOff"}),rt=o=>(0,n.jsx)(t,{...o,name:"bookmark"}),at=o=>(0,n.jsx)(t,{...o,name:"school"}),st=o=>(0,n.jsx)(t,{...o,name:"gavel"}),pt=o=>(0,n.jsx)(t,{...o,name:"architecture"}),it=o=>(0,n.jsx)(t,{...o,name:"brain"}),lt=o=>(0,n.jsx)(t,{...o,name:"volunteer"}),ht=o=>(0,n.jsx)(t,{...o,name:"radio"}),It=o=>(0,n.jsx)(t,{...o,name:"radioChecked"}),dt=o=>(0,n.jsx)(t,{...o,name:"upload"}),mt=o=>(0,n.jsx)(t,{...o,name:"arrowDown"});
|
|
1
|
+
"use strict";var k=Object.defineProperty;var qt=Object.getOwnPropertyDescriptor;var Yt=Object.getOwnPropertyNames;var Jt=Object.prototype.hasOwnProperty;var Kt=(o,e)=>{for(var c in e)k(o,c,{get:e[c],enumerable:!0})},jt=(o,e,c,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of Yt(e))!Jt.call(o,r)&&r!==c&&k(o,r,{get:()=>e[r],enumerable:!(a=qt(e,r))||a.enumerable});return o};var Zt=o=>jt(k({},"__esModule",{value:!0}),o);var Xt={};Kt(Xt,{AbcIcon:()=>Ln,AccessibilityIcon:()=>j,AdminIcon:()=>Rt,AlertIcon:()=>vo,AlignCenterIcon:()=>vn,AlignJustifyIcon:()=>wn,AlignLeftIcon:()=>Pn,AlignRightIcon:()=>bn,ApiIcon:()=>jn,ArchitectureIcon:()=>st,ArrowDownIcon:()=>mt,ArrowLeftIcon:()=>Ko,ArrowRightIcon:()=>jo,ArrowUpIcon:()=>Jo,BarChartIcon:()=>zt,BoldIcon:()=>gn,BookIcon:()=>Vo,BookmarkIcon:()=>rt,BrainIcon:()=>it,BugReportIcon:()=>Vt,BulbIcon:()=>sn,CakeIcon:()=>Ht,CalendarIcon:()=>Bo,CardsIcon:()=>lo,ChatIcon:()=>Io,CheckIcon:()=>J,ChevronLeftIcon:()=>q,ChevronRightIcon:()=>Y,ChevronsIcon:()=>io,CleaningIcon:()=>ft,ClockIcon:()=>Oo,CloseIcon:()=>K,CloudIcon:()=>ot,CodeIcon:()=>xn,ComputerIcon:()=>Qn,ContrastIcon:()=>Z,CopyIcon:()=>uo,DashboardIcon:()=>gt,DataObjectIcon:()=>Zn,DeleteIcon:()=>ln,DocumentScannerIcon:()=>ut,DownloadIcon:()=>xo,DragHandleIcon:()=>yt,ExploreIcon:()=>wt,ExternalIcon:()=>Yo,EyeIcon:()=>ko,EyeOffIcon:()=>ct,FactCheckIcon:()=>Mt,FileIcon:()=>qo,FilterIcon:()=>go,FirstIcon:()=>fo,FontIcon:()=>Sn,FormIcon:()=>wo,FullscreenExitIcon:()=>Dn,FullscreenIcon:()=>$n,GavelIcon:()=>pt,GiftIcon:()=>_o,GlobeIcon:()=>Eo,GridIcon:()=>ho,HeadphonesIcon:()=>Zo,HeartFilledIcon:()=>mn,HeartIcon:()=>dn,HelpIcon:()=>cn,HomeIcon:()=>zo,HubIcon:()=>Mn,ICON_MIN_CONTRAST:()=>A,ICON_NAMES:()=>$,ICON_PATHS:()=>m,IconBase:()=>p,ImageIcon:()=>Wo,ImageSearchIcon:()=>xt,InfoIcon:()=>bo,InsightsIcon:()=>bt,InstallIcon:()=>en,IntegrationIcon:()=>Ot,ItalicIcon:()=>fn,JoinIcon:()=>Gn,KeyIcon:()=>On,KeyboardIcon:()=>St,LabelIcon:()=>Ct,LampIcon:()=>$o,LastIcon:()=>yo,LayoutIcon:()=>Co,LinkIcon:()=>zn,LoaderIcon:()=>Ut,LockIcon:()=>Vn,LoginIcon:()=>$t,LogoutIcon:()=>Dt,MapIcon:()=>on,MeditateIcon:()=>an,MenuIcon:()=>Ro,MergeIcon:()=>Fn,MicIcon:()=>mo,MinusIcon:()=>ao,MoonIcon:()=>Q,MotionIcon:()=>X,MovieIcon:()=>Yn,MusicIcon:()=>Qo,MusicOffIcon:()=>Wn,MusicVideoIcon:()=>qn,NamaskarIcon:()=>Nt,PageBreakIcon:()=>Hn,PaletteIcon:()=>eo,PauseIcon:()=>Fo,PenIcon:()=>nn,PersonIcon:()=>No,PhoneIcon:()=>Xn,PinIcon:()=>Xo,PlayIcon:()=>Do,PlugIcon:()=>Ho,PlusIcon:()=>ro,QuoteIcon:()=>kn,RadioCheckedIcon:()=>It,RadioIcon:()=>lt,ReadingIcon:()=>oo,RedoIcon:()=>Nn,RepeatIcon:()=>Gt,ResetIcon:()=>po,RobotIcon:()=>In,SaveIcon:()=>kt,SchoolIcon:()=>at,SearchIcon:()=>U,SearchOffIcon:()=>et,SendIcon:()=>Go,SentimentSadIcon:()=>Bt,ShareIcon:()=>Uo,ShieldCheckIcon:()=>Wt,ShuffleIcon:()=>En,SkipIcon:()=>co,SlideshowIcon:()=>Jn,SortDownIcon:()=>W,SortIcon:()=>so,SortUpIcon:()=>_,SparkIcon:()=>Po,SpeakerIcon:()=>to,SpeedIcon:()=>Ft,SpellcheckIcon:()=>An,StarIcon:()=>_t,StopIcon:()=>Mo,StorageIcon:()=>Kn,StyleIcon:()=>Rn,SunIcon:()=>hn,SunriseIcon:()=>Tt,SunsetIcon:()=>Et,SwapIcon:()=>Tn,TargetIcon:()=>no,TempleIcon:()=>rn,TextIcon:()=>un,TitleIcon:()=>Cn,ToolsIcon:()=>Lo,TouchIcon:()=>Un,TrendingDownIcon:()=>Lt,TrendingUpIcon:()=>At,TrophyIcon:()=>pn,UnderlineIcon:()=>yn,UndoIcon:()=>Ao,UnlockIcon:()=>Bn,UploadIcon:()=>dt,UsersIcon:()=>To,VolumeOffIcon:()=>_n,VolunteerIcon:()=>ht,WalletIcon:()=>tn,WandIcon:()=>So,WifiIcon:()=>nt,WifiOffIcon:()=>tt,YuktaiIcon:()=>t,ZoomInIcon:()=>Pt,ZoomOutIcon:()=>vt,iconContrast:()=>g,iconSvg:()=>G,pickGlyphColor:()=>L,resolveIconColours:()=>f});module.exports=Zt(Xt);function C(o){if(!o)return null;let e=o.trim().toLowerCase();if(e==="transparent")return{r:0,g:0,b:0,a:0};let c=e.match(/^rgba?\(([^)]+)\)$/);if(c){let r=c[1].split(/[\s,/]+/).filter(Boolean),[s,l,I]=r.slice(0,3).map(Number),x=r[3],u=x===void 0?1:x.endsWith("%")?Number(x.slice(0,-1))/100:Number(x);return[s,l,I,u].some(h=>!Number.isFinite(h))?null:{r:s,g:l,b:I,a:u}}let a=e.match(/^#([0-9a-f]{3,8})$/);if(a){let r=a[1];return(r.length===3||r.length===4)&&(r=r.split("").map(s=>s+s).join("")),r.length!==6&&r.length!==8?null:{r:parseInt(r.slice(0,2),16),g:parseInt(r.slice(2,4),16),b:parseInt(r.slice(4,6),16),a:r.length===8?parseInt(r.slice(6,8),16)/255:1}}return null}function N(o,e){let c=o.a+e.a*(1-o.a);if(c===0)return{r:0,g:0,b:0,a:0};let a=(r,s)=>(r*o.a+s*e.a*(1-o.a))/c;return{r:a(o.r,e.r),g:a(o.g,e.g),b:a(o.b,e.b),a:c}}function T(o){let e=c=>{let a=c/255;return a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)};return .2126*e(o.r)+.7152*e(o.g)+.0722*e(o.b)}function E(o,e){let c=e.a<1?N(e,{r:255,g:255,b:255,a:1}):e,a=o.a<1?N(o,c):o,r=T(a),s=T(c),[l,I]=r>s?[r,s]:[s,r];return Math.round((l+.05)/(I+.05)*100)/100}var m={accessibility:'<circle cx="12" cy="4" r="2"/><path d="M4 8l8-1 8 1M12 7v5m-5 9 5-8 5 8M7 12l-2 5m12-5 2 5"/>',contrast:'<circle cx="12" cy="12" r="9"/><path d="M12 3a9 9 0 0 0 0 18z"/>',moon:'<path d="M20 14.5A8.5 8.5 0 0 1 9.5 4 8.5 8.5 0 1 0 20 14.5z"/>',motion:'<path d="M4 12h12m-5-5 5 5-5 5M20 5v14"/>',reading:'<path d="M4 5h16M4 10h12M4 15h16M4 20h10"/>',target:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4"/>',speaker:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="M16 9a4 4 0 0 1 0 6M18.5 6.5a8 8 0 0 1 0 11"/>',palette:'<circle cx="12" cy="12" r="9"/><circle cx="8" cy="10" r="1.3"/><circle cx="12" cy="7.5" r="1.3"/><circle cx="16" cy="10" r="1.3"/><path d="M12 21a3 3 0 0 1 0-6h2"/>',skip:'<path d="M5 5l7 7-7 7M13 5l7 7-7 7"/>',close:'<path d="m18 6-12 12M6 6l12 12"/>',plus:'<path d="M12 5v14M5 12h14"/>',minus:'<path d="M5 12h14"/>',reset:'<path d="M3 12a9 9 0 1 0 3-6.7L3 8"/><path d="M3 3v5h5"/>',search:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5"/>',sort:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',sortUp:'<path d="m6 15 6-6 6 6"/>',sortDown:'<path d="m6 9 6 6 6-6"/>',chevrons:'<path d="m8 9 4-4 4 4m-8 6 4 4 4-4"/>',grid:'<rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/>',cards:'<rect x="3" y="4" width="18" height="7" rx="1.5"/><rect x="3" y="13" width="18" height="7" rx="1.5"/>',chat:'<path d="M21 11.5a8.5 8.5 0 0 1-8.5 8.5 9 9 0 0 1-4-.9L3 21l1.9-5.5a9 9 0 0 1-.9-4A8.5 8.5 0 0 1 12.5 3H13a8.5 8.5 0 0 1 8 8z"/>',mic:'<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10a7 7 0 0 0 14 0M12 17v5m-4 0h8"/>',stop:'<rect x="6" y="6" width="12" height="12" rx="2"/>',download:'<path d="M12 3v12m-5-5 5 5 5-5M4 21h16"/>',copy:'<rect x="9" y="9" width="11" height="11" rx="2"/><path d="M5 15V5a2 2 0 0 1 2-2h10"/>',filter:'<path d="M4 5h16l-6 7v6l-4 2v-8z"/>',check:'<path d="m5 12 4 4L19 6"/>',left:'<path d="m15 18-6-6 6-6"/>',right:'<path d="m9 18 6-6-6-6"/>',first:'<path d="m11 18-6-6 6-6M19 18l-6-6 6-6"/>',last:'<path d="m13 18 6-6-6-6M5 18l6-6-6-6"/>',spark:'<path d="m12 3 1.9 5.8L20 11l-6.1 2.2L12 19l-1.9-5.8L4 11l6.1-2.2zM19 14l1.2 2.8L23 18l-2.8 1.2L19 22l-1.2-2.8L15 18l2.8-1.2z"/>',alert:'<path d="m12 3 10 18H2L12 3z"/><path d="M12 9v5m0 3h.01"/>',info:'<circle cx="12" cy="12" r="9"/><path d="M12 11v6m0-9h.01"/>',form:'<rect x="5" y="3" width="14" height="18" rx="2"/><path d="M9 8h6M9 12h6M9 16h3"/>',eye:'<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/>',layout:'<rect x="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M9 21V9"/>',wand:'<path d="m15 4 5 5L9 20H4v-5z"/><path d="m13 6 5 5"/>',undo:'<path d="M9 14 4 9l5-5"/><path d="M4 9h10a6 6 0 0 1 0 12h-3"/>',tools:'<path d="M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z"/>',plug:'<path d="M9 2v6M15 2v6M6 8h12v4a6 6 0 0 1-12 0zM12 18v4"/>',home:'<path d="M3 11 12 4l9 7"/><path d="M5 10v10h5v-6h4v6h5V10"/>',menu:'<path d="M4 6h16M4 12h16M4 18h16"/>',book:'<path d="M12 6c-2-1.5-5-2-8-2v14c3 0 6 .5 8 2 2-1.5 5-2 8-2V4c-3 0-6 .5-8 2zM12 6v14"/>',calendar:'<rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4M7.5 14h2M14.5 14h2M7.5 17.5h2"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',person:'<circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/>',users:'<circle cx="9" cy="8" r="3.5"/><path d="M2 20a7 7 0 0 1 14 0"/><path d="M16 4.5a3.5 3.5 0 0 1 0 7M18 13.5a7 7 0 0 1 4 6.5"/>',globe:'<circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18"/>',lamp:'<path d="M12 3c2 2.6 3 4.3 3 6a3 3 0 0 1-6 0c0-1.7 1-3.4 3-6z"/><path d="M3 14h18c0 3.5-4 6-9 6s-9-2.5-9-6z"/><path d="M12 12v2"/>',play:'<circle cx="12" cy="12" r="9"/><path d="M10 8.5v7l6-3.5z"/>',pause:'<circle cx="12" cy="12" r="9"/><path d="M10 9v6M14 9v6"/>',send:'<path d="M21 3 3 10.5l7 3 3 7.5z"/><path d="m10 13.5 4.5-4.5"/>',share:'<circle cx="18" cy="5" r="2.5"/><circle cx="6" cy="12" r="2.5"/><circle cx="18" cy="19" r="2.5"/><path d="m8.2 10.8 7.6-4.6M8.2 13.2l7.6 4.6"/>',gift:'<rect x="3" y="8" width="18" height="4" rx="1"/><path d="M5 12v9h14v-9M12 8v13M12 8C10.5 5 7 4 7 6.5S10 8 12 8zm0 0c1.5-3 5-4 5-1.5S14 8 12 8z"/>',image:'<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="m21 15-5-5-10 10"/>',file:'<path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5M9 13h6M9 17h6"/>',external:'<path d="M14 4h6v6M20 4l-9 9"/><path d="M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>',arrowUp:'<path d="M12 19V5m-6 6 6-6 6 6"/>',arrowLeft:'<path d="M19 12H5m6-6-6 6 6 6"/>',arrowRight:'<path d="M5 12h14m-6-6 6 6-6 6"/>',headphones:'<path d="M4 15v-3a8 8 0 0 1 16 0v3"/><rect x="3" y="14" width="4" height="7" rx="1.5"/><rect x="17" y="14" width="4" height="7" rx="1.5"/>',music:'<path d="M9 18V5l11-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="17" cy="16" r="3"/>',pin:'<path d="M12 21s7-6.2 7-11.5a7 7 0 0 0-14 0C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/>',map:'<path d="M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z"/><path d="M9 3v15M15 6v15"/>',pen:'<path d="M12 3 6 9l1.5 8h9L18 9z"/><path d="M12 3v7.5"/><circle cx="12" cy="12" r="1.5"/><path d="M8 21h8"/>',wallet:'<rect x="3" y="7" width="18" height="13" rx="2"/><path d="M16 13.5h2M6 7l9-4 2 4"/>',install:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M12 6v8m-3-3 3 3 3-3M10 18h4"/>',help:'<circle cx="12" cy="12" r="9"/><path d="M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01"/>',temple:'<path d="M12 2v2M10 4h4l1 3H9zM8 7h8l1.5 4h-11zM6.5 11h11L19 15H5zM4 15h16v6H4z"/><path d="M10 21v-3a2 2 0 0 1 4 0v3"/>',meditate:'<circle cx="12" cy="4.5" r="2.2"/><path d="M12 8c-2.2 0-3.3 1.3-3.7 3.2L7.5 16M12 8c2.2 0 3.3 1.3 3.7 3.2l.8 4.8"/><path d="M4 18c3 2 5.5 2.4 8 1.2 2.5 1.2 5 .8 8-1.2"/><path d="M7.5 16c1.4 1.4 3 2 4.5 2s3.1-.6 4.5-2"/>',trophy:'<path d="M8 4h8v5a4 4 0 0 1-8 0z"/><path d="M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8 21h8M9 17h6"/>',bulb:'<path d="M9 18h6M10 21h4"/><path d="M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z"/>',sun:'<circle cx="12" cy="12" r="4"/><path d="M12 2v2.5M12 19.5V22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M2 12h2.5M19.5 12H22M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8"/>',delete:'<path d="M4 7h16M10 11v6M14 11v6M6 7l1 13a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l1-13M9 7V4h6v3"/>',robot:'<rect x="4" y="8" width="16" height="12" rx="3"/><path d="M12 8V4M9.5 4h5M2 13v3M22 13v3"/><circle cx="9" cy="14" r="1.3"/><circle cx="15" cy="14" r="1.3"/>',heart:'<path d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',heartFilled:'<path fill="currentColor" d="M12 20s-7.5-4.6-9.2-9.3A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 4.1C19.5 15.4 12 20 12 20z"/>',hub:'<circle cx="12" cy="12" r="3"/><circle cx="5" cy="5" r="2"/><circle cx="19" cy="5" r="2"/><circle cx="5" cy="19" r="2"/><circle cx="19" cy="19" r="2"/><path d="m6.5 6.5 3.4 3.4M17.5 6.5l-3.4 3.4M6.5 17.5l3.4-3.4M17.5 17.5l-3.4-3.4"/>',code:'<path d="m8 7-5 5 5 5M16 7l5 5-5 5M14 4l-4 16"/>',text:'<path d="M3 7V5h11v2M8.5 5v14M6.5 19h4M14 12v-1.5h7V12M17.5 10.5V19M16 19h3"/>',bold:'<path d="M7 4h6a4 4 0 0 1 0 8H7zM7 12h7a4 4 0 0 1 0 8H7z"/>',italic:'<path d="M10 4h9M5 20h9M15 4 9 20"/>',underline:'<path d="M7 4v7a5 5 0 0 0 10 0V4M5 21h14"/>',alignLeft:'<path d="M4 5h16M4 9.5h9M4 14h16M4 18.5h9"/>',alignCenter:'<path d="M4 5h16M7.5 9.5h9M4 14h16M7.5 18.5h9"/>',alignRight:'<path d="M4 5h16M11 9.5h9M4 14h16M11 18.5h9"/>',alignJustify:'<path d="M4 5h16M4 9.5h16M4 14h16M4 18.5h16"/>',quote:'<path d="M4 18v-6.5A6.5 6.5 0 0 1 10.5 5M4 12h5.5v6H4zM13.5 18v-6.5A6.5 6.5 0 0 1 20 5M13.5 12H19v6h-5.5z"/>',title:'<path d="M5 6V4h14v2M12 4v16M9 20h6"/>',font:'<rect x="3" y="3" width="18" height="18" rx="3"/><path d="m8 17 4-10 4 10M9.4 13.5h5.2"/>',spellcheck:'<path d="m3 14 4-10 4 10M4.6 10.5h4.8M11 17l3 3 7-7"/>',abc:'<path d="m2 16 2.5-8L7 16M3 13.5h3M9.5 8v8h2.5a2 2 0 0 0 0-4H9.5h2a2 2 0 0 0 0-4H9.5M21 9.4a3.1 3.1 0 1 0 0 5.2"/>',pageBreak:'<path d="M6 3v5h12V3M6 21v-5h12v5M3 12h3M9 12h6M18 12h3"/>',link:'<path d="M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1"/><path d="M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1"/>',style:'<rect x="3" y="3" width="7" height="18" rx="2"/><path d="m10 7.5 4.4-2.6a2 2 0 0 1 2.7.7l3.2 5.6a2 2 0 0 1-.7 2.7L10 19"/><circle cx="6.5" cy="17" r="1"/>',lock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3M12 15v2"/>',unlock:'<rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V8a4 4 0 0 1 7.6-1.8M12 15v2"/>',key:'<circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M17 6l3 3M14.5 8.5l2 2"/>',redo:'<path d="m15 14 5-5-5-5"/><path d="M20 9H10a6 6 0 0 0 0 12h3"/>',swap:'<path d="M7 4 3 8l4 4M3 8h14M17 12l4 4-4 4M21 16H7"/>',shuffle:'<path d="M16 3h5v5M4 20 21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/>',fullscreen:'<path d="M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5"/>',fullscreenExit:'<path d="M9 4v5H4M20 9h-5V4M15 20v-5h5M4 15h5v5"/>',merge:'<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="12" r="2"/><path d="M6 7v10M6 7c0 4 4 5 10 5"/>',join:'<circle cx="9" cy="12" r="6"/><circle cx="15" cy="12" r="6"/>',touch:'<path d="M9 11V5a1.5 1.5 0 0 1 3 0v6M12 10a1.5 1.5 0 0 1 3 0v1M15 11a1.5 1.5 0 0 1 3 0v3c0 4-2.5 7-6 7-2.5 0-4-1-5.5-3.5L4.6 14a1.5 1.5 0 0 1 2.5-1.6L9 15"/>',volumeOff:'<path d="M4 9v6h4l5 4V5L8 9H4z"/><path d="m16.5 9.5 5 5M21.5 9.5l-5 5"/>',musicOff:'<path d="M9 13v5M9 7V5l11-2v9"/><circle cx="6" cy="18" r="3"/><path d="M3 3l18 18"/>',musicVideo:'<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M10.5 15V8.5l5-1V13"/><circle cx="9" cy="15" r="1.5"/><circle cx="14" cy="13" r="1.5"/>',movie:'<rect x="3" y="9" width="18" height="11" rx="2"/><path d="m3.5 9-.6-3 16.6-3.4.6 3L3.5 9zM8.5 4.8l1.8 2.9M13.8 3.7l1.8 2.9"/>',slideshow:'<rect x="3" y="4" width="18" height="13" rx="2"/><path d="M10 8v5l4-2.5zM8 21h8M12 17v4"/>',storage:'<ellipse cx="12" cy="5" rx="8" ry="3"/><path d="M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3"/>',api:'<path d="M3 17v-6a2.5 2.5 0 0 1 5 0v6M3 14h5M11 17V7h2.5a2.5 2.5 0 0 1 0 5H11M18 7h3M19.5 7v10M18 17h3"/>',dataObject:'<path d="M8 4H7a2 2 0 0 0-2 2v4l-2 2 2 2v4a2 2 0 0 0 2 2h1M16 4h1a2 2 0 0 1 2 2v4l2 2-2 2v4a2 2 0 0 1-2 2h-1"/>',computer:'<rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/>',phone:'<rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10.5 18.5h3"/>',cloud:'<path d="M7 19a5 5 0 0 1-.6-10A6.5 6.5 0 0 1 18.6 9.5 4.8 4.8 0 0 1 17.5 19z"/>',wifi:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01"/>',wifiOff:'<path d="M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0M12 19.5h.01M3 3l18 18"/>',searchOff:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8.7 8.7l4.6 4.6M13.3 8.7l-4.6 4.6"/>',eyeOff:'<path d="M10.6 5.1A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-2.2 3.2M6.6 6.6C3.8 8.4 2 12 2 12s3.5 7 10 7a9.7 9.7 0 0 0 5.4-1.6M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18"/>',bookmark:'<path d="M6 3h12v18l-6-4-6 4z"/>',school:'<path d="m2 9 10-5 10 5-10 5z"/><path d="M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5M22 9v6"/>',gavel:'<path d="m13 3.5 7.5 7.5M10 6.5l7.5 7.5M11.5 5l7 7-3 3-7-7zM10 11.5 3.5 18a1.4 1.4 0 0 0 2 2L12 13.5M13 21h8"/>',architecture:'<circle cx="12" cy="5" r="2"/><path d="M12 3V2M11 7 5.5 21M13 7l5.5 14M8 15h8"/>',brain:'<path d="M11 5.5A3 3 0 0 0 5.6 7 3 3 0 0 0 4 12a3 3 0 0 0 1.6 5A3 3 0 0 0 11 18.5zM13 5.5A3 3 0 0 1 18.4 7 3 3 0 0 1 20 12a3 3 0 0 1-1.6 5 3 3 0 0 1-5.4 1.5z"/><path d="M8 10h3M13 14h3"/>',volunteer:'<path d="M12 11s-3.5-2.2-3.5-4.6a1.8 1.8 0 0 1 3.5-.7 1.8 1.8 0 0 1 3.5.7C15.5 8.8 12 11 12 11z"/><path d="M2 15h3l3.5 1.5H13a1.5 1.5 0 0 1 0 3H9.5M5 21l1.5-1.5H14l5.5-4a1.6 1.6 0 0 0-2-2.4L14 15.6"/>',radio:'<circle cx="12" cy="12" r="9"/>',radioChecked:'<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="4" fill="currentColor"/>',upload:'<path d="M12 15V3m-5 5 5-5 5 5M4 21h16"/>',arrowDown:'<path d="M12 5v14m-6-6 6 6 6-6"/>',factCheck:'<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 9h4M7 13h4M7 17h2M13.5 13l2 2 3.5-3.5"/>',imageSearch:'<path d="M13 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4"/><path d="m3 17 5-5 4 4"/><circle cx="17" cy="7" r="3"/><path d="m19.2 9.2 2.3 2.3"/>',documentScanner:'<path d="M3 7V4a1 1 0 0 1 1-1h3M17 3h3a1 1 0 0 1 1 1v3M21 17v3a1 1 0 0 1-1 1h-3M7 21H4a1 1 0 0 1-1-1v-3"/><path d="M7 8h10M7 12h10M7 16h6"/>',dashboard:'<rect x="3" y="3" width="8" height="10" rx="1.5"/><rect x="13" y="3" width="8" height="6" rx="1.5"/><rect x="3" y="15" width="8" height="6" rx="1.5"/><path d="M17 13v8M13 17h8"/>',cleaning:'<path d="m20 3-7.5 7.5"/><path d="M12.5 10.5c-2.5-1.6-6-1-7.4 1.7L3 20.5c3.2 1 7.2.4 10.2-1.6l.7-5.3c-.1-1.3-.6-2.3-1.4-3.1z"/><path d="M7.5 15.5 6 20.5M10.5 15l-1 5"/>',dragHandle:'<path d="M5 9h14M5 15h14"/>',zoomIn:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8 11h6M11 8v6"/>',zoomOut:'<circle cx="11" cy="11" r="6.5"/><path d="m16 16 5 5M8 11h6"/>',insights:'<path d="m3 18 5-5 4 3 6-7"/><path d="M15 9h3v3"/><path d="m19 2.5.7 1.8 1.8.7-1.8.7-.7 1.8-.7-1.8-1.8-.7 1.8-.7z"/>',explore:'<circle cx="12" cy="12" r="9"/><path d="m15.5 8.5-2 5-5 2 2-5z"/>',save:'<path d="M5 3h11l5 5v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"/><path d="M7 3v5h8V3M7 21v-7h10v7"/>',label:'<path d="M4 6h11l5 6-5 6H4z"/>',keyboard:'<rect x="2" y="6" width="20" height="12" rx="2"/><path d="M6 10h.01M10 10h.01M14 10h.01M18 10h.01M6 14h.01M18 14h.01M9 14h6"/>',trendingUp:'<path d="m3 17 6-6 4 4 8-8"/><path d="M15 7h6v6"/>',trendingDown:'<path d="m3 7 6 6 4-4 8 8"/><path d="M15 17h6v-6"/>',cake:'<path d="M4 21h16M5 21v-7a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v7M5 16.5c1.5 1 2.5 1 3.5 0s2.5-1 3.5 0 2.5 1 3.5 0 2.5-1 3.5 0M12 12V8.5M12 6c-.9-.9-.9-2 0-3.3.9 1.3.9 2.4 0 3.3z"/>',barChart:'<path d="M4 20h16M7 20v-6M12 20V5M17 20V10"/>',admin:'<path d="M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z"/><circle cx="12" cy="10" r="2.5"/><path d="M8 16.5c1-1.8 2.4-2.5 4-2.5s3 .7 4 2.5"/>',bugReport:'<rect x="7" y="8" width="10" height="12" rx="5"/><path d="M9 8.5a3 3 0 0 1 6 0M12 12v8M7 13H3M21 13h-4M7 17l-3 1.5M17 17l3 1.5M7.5 10 5 8M16.5 10 19 8"/>',sentimentSad:'<circle cx="12" cy="12" r="9"/><path d="M8 16.5c1-1.4 2.4-2 4-2s3 .6 4 2M9 9.5h.01M15 9.5h.01"/>',integration:'<rect x="5" y="4" width="14" height="17" rx="2"/><path d="M9 4V3h6v1M10 11l-2 2 2 2M14 11l2 2-2 2"/>',namaskar:'<path d="M12 5.5V15M12 5.5c-.6-1.7-2.4-2.2-3.1-.9L7.2 11.5 4.5 14.5l3 5H10l2-3.5M12 5.5c.6-1.7 2.4-2.2 3.1-.9l1.7 6.9 2.7 3-3 5H14l-2-3.5"/>',sunrise:'<path d="M3 19h18M7 19a5 5 0 0 1 10 0M12 3v6M9.5 5.5 12 3l2.5 2.5M4.9 11.9l1.4 1.4M19.1 11.9l-1.4 1.4M2 16h2M20 16h2"/>',sunset:'<path d="M3 19h18M7 19a5 5 0 0 1 10 0M12 3v6M9.5 6.5 12 9l2.5-2.5M4.9 11.9l1.4 1.4M19.1 11.9l-1.4 1.4M2 16h2M20 16h2"/>',login:'<path d="M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M10 16l4-4-4-4M14 12H3"/>',logout:'<path d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4M16 16l4-4-4-4M20 12H9"/>',speed:'<path d="M4.5 18a9 9 0 1 1 15 0"/><path d="m12 14 4-5"/><circle cx="12" cy="14" r="1.2"/>',repeat:'<path d="m17 2 3 3-3 3M4 11V9a4 4 0 0 1 4-4h12M7 22l-3-3 3-3M20 13v2a4 4 0 0 1-4 4H4"/>',loader:'<path d="M12 3v3M12 18v3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M3 12h3M18 12h3M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/>',star:'<path d="m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9z"/>',shieldCheck:'<path d="M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6z"/><path d="m8.5 12 2.5 2.5 4.5-4.5"/>'},$=Object.keys(m);var A=3,S="#ffffff",D="#111827";function g(o,e){let c=C(o),a=C(e);return c&&a?E(c,a):null}function L(o){let e=g(S,o),c=g(D,o);return e===null||c===null||e>=c?S:D}var F=new Set;function Qt(o,e){F.has(o)||(F.add(o),typeof console<"u"&&console.warn(`[yuktai icons] ${e}`))}function f(o={}){let e=o.variant==="filled"?"filled":"outline",c=o.color||"currentColor";if(e==="outline")return{variant:e,color:c,glyph:c,contrast:null};let a=o.glyphColor||L(c),r=g(a,c);return r!==null&&r<A&&Qt(`${a}|${c}`,`glyph ${a} on ${c} is ${r}:1. WCAG 1.4.11 needs at least 3:1 for icons.`),{variant:e,color:c,glyph:a,contrast:r}}var H="translate(3.6 3.6) scale(0.7)",z="@media (forced-colors: active){.yi-bg{fill:CanvasText}.yi-glyph{stroke:Canvas;color:Canvas}}",M=o=>String(o).replace(/[&<>"']/g,e=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[e]);function G(o,e={}){let c=m[o]??m.spark,a=e.size??20,{variant:r,color:s,glyph:l}=f(e),I=e.strokeWidth??(r==="filled"?2.4:1.9),u=`<svg xmlns="http://www.w3.org/2000/svg" ${e.label?`role="img" aria-label="${M(e.label)}"`:'aria-hidden="true"'} focusable="false" width="${M(a)}" height="${M(a)}" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round" data-variant="${r}">`;if(r==="outline")return`${u}<g stroke="${M(s)}" stroke-width="${I}">${c}</g></svg>`;let h=e.shape==="circle"?`<circle class="yi-bg" cx="12" cy="12" r="12" fill="${M(s)}"/>`:`<rect class="yi-bg" width="24" height="24" rx="6" fill="${M(s)}"/>`;return`${u}<style>${z}</style>${h}<g class="yi-glyph" color="${M(l)}" stroke="${M(l)}" stroke-width="${I}" transform="${H}">${c}</g></svg>`}var d=require("react/jsx-runtime");function p({size:o=20,color:e,strokeWidth:c,label:a,variant:r,glyphColor:s,shape:l,children:I,...x}){let u=!a,h=f({variant:r,color:e,glyphColor:s,shape:l}),w=h.variant==="filled",O=c??(w?2.6:2.5);return(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:w?void 0:h.color,strokeWidth:w?void 0:O,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":u?"true":void 0,"aria-label":a,role:a?"img":void 0,focusable:"false","data-variant":h.variant,...x,children:w?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{children:z}),l==="circle"?(0,d.jsx)("circle",{className:"yi-bg",cx:"12",cy:"12",r:"12",fill:h.color}):(0,d.jsx)("rect",{className:"yi-bg",width:"24",height:"24",rx:"6",fill:h.color}),(0,d.jsx)("g",{className:"yi-glyph",color:h.glyph,stroke:h.glyph,strokeWidth:O,transform:H,children:I})]}):I})}var y=require("react/jsx-runtime");function U(o){return(0,y.jsxs)(p,{...o,children:[(0,y.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,y.jsx)("path",{d:"m20 20-4-4"})]})}var P=require("react/jsx-runtime");function _(o){return(0,P.jsxs)(p,{...o,children:[(0,P.jsx)("path",{d:"M12 19V5"}),(0,P.jsx)("path",{d:"m5 12 7-7 7 7"})]})}var v=require("react/jsx-runtime");function W(o){return(0,v.jsxs)(p,{...o,children:[(0,v.jsx)("path",{d:"M12 5v14"}),(0,v.jsx)("path",{d:"m5 12 7 7 7-7"})]})}var R=require("react/jsx-runtime");function q(o){return(0,R.jsx)(p,{...o,children:(0,R.jsx)("path",{d:"m15 18-6-6 6-6"})})}var V=require("react/jsx-runtime");function Y(o){return(0,V.jsx)(p,{...o,children:(0,V.jsx)("path",{d:"m9 18 6-6-6-6"})})}var B=require("react/jsx-runtime");function J(o){return(0,B.jsx)(p,{...o,children:(0,B.jsx)("path",{d:"M5 12.5 10 17.5 19.5 7"})})}var b=require("react/jsx-runtime");function K(o){return(0,b.jsxs)(p,{...o,children:[(0,b.jsx)("path",{d:"M18 6 6 18"}),(0,b.jsx)("path",{d:"m6 6 12 12"})]})}var n=require("react/jsx-runtime");function t({name:o,...e}){let c=m[o]??m.spark;return(0,n.jsx)(p,{...e,children:(0,n.jsx)("g",{dangerouslySetInnerHTML:{__html:c}})})}var j=o=>(0,n.jsx)(t,{...o,name:"accessibility"}),Z=o=>(0,n.jsx)(t,{...o,name:"contrast"}),Q=o=>(0,n.jsx)(t,{...o,name:"moon"}),X=o=>(0,n.jsx)(t,{...o,name:"motion"}),oo=o=>(0,n.jsx)(t,{...o,name:"reading"}),no=o=>(0,n.jsx)(t,{...o,name:"target"}),to=o=>(0,n.jsx)(t,{...o,name:"speaker"}),eo=o=>(0,n.jsx)(t,{...o,name:"palette"}),co=o=>(0,n.jsx)(t,{...o,name:"skip"}),ro=o=>(0,n.jsx)(t,{...o,name:"plus"}),ao=o=>(0,n.jsx)(t,{...o,name:"minus"}),po=o=>(0,n.jsx)(t,{...o,name:"reset"}),so=o=>(0,n.jsx)(t,{...o,name:"sort"}),io=o=>(0,n.jsx)(t,{...o,name:"chevrons"}),ho=o=>(0,n.jsx)(t,{...o,name:"grid"}),lo=o=>(0,n.jsx)(t,{...o,name:"cards"}),Io=o=>(0,n.jsx)(t,{...o,name:"chat"}),mo=o=>(0,n.jsx)(t,{...o,name:"mic"}),Mo=o=>(0,n.jsx)(t,{...o,name:"stop"}),xo=o=>(0,n.jsx)(t,{...o,name:"download"}),uo=o=>(0,n.jsx)(t,{...o,name:"copy"}),go=o=>(0,n.jsx)(t,{...o,name:"filter"}),fo=o=>(0,n.jsx)(t,{...o,name:"first"}),yo=o=>(0,n.jsx)(t,{...o,name:"last"}),Po=o=>(0,n.jsx)(t,{...o,name:"spark"}),vo=o=>(0,n.jsx)(t,{...o,name:"alert"}),bo=o=>(0,n.jsx)(t,{...o,name:"info"}),wo=o=>(0,n.jsx)(t,{...o,name:"form"}),ko=o=>(0,n.jsx)(t,{...o,name:"eye"}),Co=o=>(0,n.jsx)(t,{...o,name:"layout"}),So=o=>(0,n.jsx)(t,{...o,name:"wand"}),Ao=o=>(0,n.jsx)(t,{...o,name:"undo"}),Lo=o=>(0,n.jsx)(t,{...o,name:"tools"}),Ho=o=>(0,n.jsx)(t,{...o,name:"plug"}),zo=o=>(0,n.jsx)(t,{...o,name:"home"}),Ro=o=>(0,n.jsx)(t,{...o,name:"menu"}),Vo=o=>(0,n.jsx)(t,{...o,name:"book"}),Bo=o=>(0,n.jsx)(t,{...o,name:"calendar"}),Oo=o=>(0,n.jsx)(t,{...o,name:"clock"}),No=o=>(0,n.jsx)(t,{...o,name:"person"}),To=o=>(0,n.jsx)(t,{...o,name:"users"}),Eo=o=>(0,n.jsx)(t,{...o,name:"globe"}),$o=o=>(0,n.jsx)(t,{...o,name:"lamp"}),Do=o=>(0,n.jsx)(t,{...o,name:"play"}),Fo=o=>(0,n.jsx)(t,{...o,name:"pause"}),Go=o=>(0,n.jsx)(t,{...o,name:"send"}),Uo=o=>(0,n.jsx)(t,{...o,name:"share"}),_o=o=>(0,n.jsx)(t,{...o,name:"gift"}),Wo=o=>(0,n.jsx)(t,{...o,name:"image"}),qo=o=>(0,n.jsx)(t,{...o,name:"file"}),Yo=o=>(0,n.jsx)(t,{...o,name:"external"}),Jo=o=>(0,n.jsx)(t,{...o,name:"arrowUp"}),Ko=o=>(0,n.jsx)(t,{...o,name:"arrowLeft"}),jo=o=>(0,n.jsx)(t,{...o,name:"arrowRight"}),Zo=o=>(0,n.jsx)(t,{...o,name:"headphones"}),Qo=o=>(0,n.jsx)(t,{...o,name:"music"}),Xo=o=>(0,n.jsx)(t,{...o,name:"pin"}),on=o=>(0,n.jsx)(t,{...o,name:"map"}),nn=o=>(0,n.jsx)(t,{...o,name:"pen"}),tn=o=>(0,n.jsx)(t,{...o,name:"wallet"}),en=o=>(0,n.jsx)(t,{...o,name:"install"}),cn=o=>(0,n.jsx)(t,{...o,name:"help"}),rn=o=>(0,n.jsx)(t,{...o,name:"temple"}),an=o=>(0,n.jsx)(t,{...o,name:"meditate"}),pn=o=>(0,n.jsx)(t,{...o,name:"trophy"}),sn=o=>(0,n.jsx)(t,{...o,name:"bulb"}),hn=o=>(0,n.jsx)(t,{...o,name:"sun"}),ln=o=>(0,n.jsx)(t,{...o,name:"delete"}),In=o=>(0,n.jsx)(t,{...o,name:"robot"}),dn=o=>(0,n.jsx)(t,{...o,name:"heart"}),mn=o=>(0,n.jsx)(t,{...o,name:"heartFilled"}),Mn=o=>(0,n.jsx)(t,{...o,name:"hub"}),xn=o=>(0,n.jsx)(t,{...o,name:"code"}),un=o=>(0,n.jsx)(t,{...o,name:"text"}),gn=o=>(0,n.jsx)(t,{...o,name:"bold"}),fn=o=>(0,n.jsx)(t,{...o,name:"italic"}),yn=o=>(0,n.jsx)(t,{...o,name:"underline"}),Pn=o=>(0,n.jsx)(t,{...o,name:"alignLeft"}),vn=o=>(0,n.jsx)(t,{...o,name:"alignCenter"}),bn=o=>(0,n.jsx)(t,{...o,name:"alignRight"}),wn=o=>(0,n.jsx)(t,{...o,name:"alignJustify"}),kn=o=>(0,n.jsx)(t,{...o,name:"quote"}),Cn=o=>(0,n.jsx)(t,{...o,name:"title"}),Sn=o=>(0,n.jsx)(t,{...o,name:"font"}),An=o=>(0,n.jsx)(t,{...o,name:"spellcheck"}),Ln=o=>(0,n.jsx)(t,{...o,name:"abc"}),Hn=o=>(0,n.jsx)(t,{...o,name:"pageBreak"}),zn=o=>(0,n.jsx)(t,{...o,name:"link"}),Rn=o=>(0,n.jsx)(t,{...o,name:"style"}),Vn=o=>(0,n.jsx)(t,{...o,name:"lock"}),Bn=o=>(0,n.jsx)(t,{...o,name:"unlock"}),On=o=>(0,n.jsx)(t,{...o,name:"key"}),Nn=o=>(0,n.jsx)(t,{...o,name:"redo"}),Tn=o=>(0,n.jsx)(t,{...o,name:"swap"}),En=o=>(0,n.jsx)(t,{...o,name:"shuffle"}),$n=o=>(0,n.jsx)(t,{...o,name:"fullscreen"}),Dn=o=>(0,n.jsx)(t,{...o,name:"fullscreenExit"}),Fn=o=>(0,n.jsx)(t,{...o,name:"merge"}),Gn=o=>(0,n.jsx)(t,{...o,name:"join"}),Un=o=>(0,n.jsx)(t,{...o,name:"touch"}),_n=o=>(0,n.jsx)(t,{...o,name:"volumeOff"}),Wn=o=>(0,n.jsx)(t,{...o,name:"musicOff"}),qn=o=>(0,n.jsx)(t,{...o,name:"musicVideo"}),Yn=o=>(0,n.jsx)(t,{...o,name:"movie"}),Jn=o=>(0,n.jsx)(t,{...o,name:"slideshow"}),Kn=o=>(0,n.jsx)(t,{...o,name:"storage"}),jn=o=>(0,n.jsx)(t,{...o,name:"api"}),Zn=o=>(0,n.jsx)(t,{...o,name:"dataObject"}),Qn=o=>(0,n.jsx)(t,{...o,name:"computer"}),Xn=o=>(0,n.jsx)(t,{...o,name:"phone"}),ot=o=>(0,n.jsx)(t,{...o,name:"cloud"}),nt=o=>(0,n.jsx)(t,{...o,name:"wifi"}),tt=o=>(0,n.jsx)(t,{...o,name:"wifiOff"}),et=o=>(0,n.jsx)(t,{...o,name:"searchOff"}),ct=o=>(0,n.jsx)(t,{...o,name:"eyeOff"}),rt=o=>(0,n.jsx)(t,{...o,name:"bookmark"}),at=o=>(0,n.jsx)(t,{...o,name:"school"}),pt=o=>(0,n.jsx)(t,{...o,name:"gavel"}),st=o=>(0,n.jsx)(t,{...o,name:"architecture"}),it=o=>(0,n.jsx)(t,{...o,name:"brain"}),ht=o=>(0,n.jsx)(t,{...o,name:"volunteer"}),lt=o=>(0,n.jsx)(t,{...o,name:"radio"}),It=o=>(0,n.jsx)(t,{...o,name:"radioChecked"}),dt=o=>(0,n.jsx)(t,{...o,name:"upload"}),mt=o=>(0,n.jsx)(t,{...o,name:"arrowDown"}),Mt=o=>(0,n.jsx)(t,{...o,name:"factCheck"}),xt=o=>(0,n.jsx)(t,{...o,name:"imageSearch"}),ut=o=>(0,n.jsx)(t,{...o,name:"documentScanner"}),gt=o=>(0,n.jsx)(t,{...o,name:"dashboard"}),ft=o=>(0,n.jsx)(t,{...o,name:"cleaning"}),yt=o=>(0,n.jsx)(t,{...o,name:"dragHandle"}),Pt=o=>(0,n.jsx)(t,{...o,name:"zoomIn"}),vt=o=>(0,n.jsx)(t,{...o,name:"zoomOut"}),bt=o=>(0,n.jsx)(t,{...o,name:"insights"}),wt=o=>(0,n.jsx)(t,{...o,name:"explore"}),kt=o=>(0,n.jsx)(t,{...o,name:"save"}),Ct=o=>(0,n.jsx)(t,{...o,name:"label"}),St=o=>(0,n.jsx)(t,{...o,name:"keyboard"}),At=o=>(0,n.jsx)(t,{...o,name:"trendingUp"}),Lt=o=>(0,n.jsx)(t,{...o,name:"trendingDown"}),Ht=o=>(0,n.jsx)(t,{...o,name:"cake"}),zt=o=>(0,n.jsx)(t,{...o,name:"barChart"}),Rt=o=>(0,n.jsx)(t,{...o,name:"admin"}),Vt=o=>(0,n.jsx)(t,{...o,name:"bugReport"}),Bt=o=>(0,n.jsx)(t,{...o,name:"sentimentSad"}),Ot=o=>(0,n.jsx)(t,{...o,name:"integration"}),Nt=o=>(0,n.jsx)(t,{...o,name:"namaskar"}),Tt=o=>(0,n.jsx)(t,{...o,name:"sunrise"}),Et=o=>(0,n.jsx)(t,{...o,name:"sunset"}),$t=o=>(0,n.jsx)(t,{...o,name:"login"}),Dt=o=>(0,n.jsx)(t,{...o,name:"logout"}),Ft=o=>(0,n.jsx)(t,{...o,name:"speed"}),Gt=o=>(0,n.jsx)(t,{...o,name:"repeat"}),Ut=o=>(0,n.jsx)(t,{...o,name:"loader"}),_t=o=>(0,n.jsx)(t,{...o,name:"star"}),Wt=o=>(0,n.jsx)(t,{...o,name:"shieldCheck"});
|
package/dist/icons.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as L,$a as La,A as k,Aa as ka,Ab as kb,B as l,Ba as la,Bb as lb,C as m,Ca as ma,Cb as mb,D as n,Da as na,Db as nb,E as o,Ea as oa,Eb as ob,F as p,Fa as pa,Fb as pb,G as q,Ga as qa,Gb as qb,H as r,Ha as ra,Hb as rb,I as s,Ia as sa,Ib as sb,J as t,Ja as ta,Jb as tb,K as u,Ka as ua,Kb as ub,L as v,La as va,Lb as vb,M as w,Ma as wa,Mb as wb,N as x,Na as xa,Nb as xb,O as y,Oa as ya,Ob as yb,P as z,Pa as za,Pb as zb,Q as A,Qa as Aa,Qb as Ab,R as B,Ra as Ba,Rb as Bb,S as C,Sa as Ca,Sb as Cb,T as D,Ta as Da,Tb as Db,U as E,Ua as Ea,Ub as Eb,V as F,Va as Fa,Vb as Fb,W as G,Wa as Ga,Wb as Gb,X as H,Xa as Ha,Y as I,Ya as Ia,Z as J,Za as Ja,_ as K,_a as Ka,aa as M,ab as Ma,ba as N,bb as Na,ca as O,cb as Oa,da as P,db as Pa,ea as Q,eb as Qa,fa as R,fb as Ra,ga as S,gb as Sa,ha as T,hb as Ta,ia as U,ib as Ua,ja as V,jb as Va,ka as W,kb as Wa,la as X,lb as Xa,ma as Y,mb as Ya,na as Z,nb as Za,oa as _,ob as _a,pa as $,pb as $a,q as a,qa as aa,qb as ab,r as b,ra as ba,rb as bb,s as c,sa as ca,sb as cb,t as d,ta as da,tb as db,u as e,ua as ea,ub as eb,v as f,va as fa,vb as fb,w as g,wa as ga,wb as gb,x as h,xa as ha,xb as hb,y as i,ya as ia,yb as ib,z as j,za as ja,zb as jb}from"./chunk-
|
|
1
|
+
import{$ as L,$a as La,$b as Lb,A as k,Aa as ka,Ab as kb,B as l,Ba as la,Bb as lb,C as m,Ca as ma,Cb as mb,D as n,Da as na,Db as nb,E as o,Ea as oa,Eb as ob,F as p,Fa as pa,Fb as pb,G as q,Ga as qa,Gb as qb,H as r,Ha as ra,Hb as rb,I as s,Ia as sa,Ib as sb,J as t,Ja as ta,Jb as tb,K as u,Ka as ua,Kb as ub,L as v,La as va,Lb as vb,M as w,Ma as wa,Mb as wb,N as x,Na as xa,Nb as xb,O as y,Oa as ya,Ob as yb,P as z,Pa as za,Pb as zb,Q as A,Qa as Aa,Qb as Ab,R as B,Ra as Ba,Rb as Bb,S as C,Sa as Ca,Sb as Cb,T as D,Ta as Da,Tb as Db,U as E,Ua as Ea,Ub as Eb,V as F,Va as Fa,Vb as Fb,W as G,Wa as Ga,Wb as Gb,X as H,Xa as Ha,Xb as Hb,Y as I,Ya as Ia,Yb as Ib,Z as J,Za as Ja,Zb as Jb,_ as K,_a as Ka,_b as Kb,aa as M,ab as Ma,ac as Mb,ba as N,bb as Na,bc as Nb,ca as O,cb as Oa,cc as Ob,da as P,db as Pa,dc as Pb,ea as Q,eb as Qa,ec as Qb,fa as R,fb as Ra,fc as Rb,ga as S,gb as Sa,gc as Sb,ha as T,hb as Ta,hc as Tb,ia as U,ib as Ua,ic as Ub,ja as V,jb as Va,jc as Vb,ka as W,kb as Wa,kc as Wb,la as X,lb as Xa,lc as Xb,ma as Y,mb as Ya,mc as Yb,na as Z,nb as Za,nc as Zb,oa as _,ob as _a,oc as _b,pa as $,pb as $a,pc as $b,q as a,qa as aa,qb as ab,qc as ac,r as b,ra as ba,rb as bb,rc as bc,s as c,sa as ca,sb as cb,sc as cc,t as d,ta as da,tb as db,tc as dc,u as e,ua as ea,ub as eb,uc as ec,v as f,va as fa,vb as fb,vc as fc,w as g,wa as ga,wb as gb,wc as gc,x as h,xa as ha,xb as hb,xc as hc,y as i,ya as ia,yb as ib,yc as ic,z as j,za as ja,zb as jb,zc as jc}from"./chunk-7BGINZ5U.mjs";export{Va as AbcIcon,q as AccessibilityIcon,Yb as AdminIcon,P as AlertIcon,Oa as AlignCenterIcon,Qa as AlignJustifyIcon,Na as AlignLeftIcon,Pa as AlignRightIcon,ob as ApiIcon,Ab as ArchitectureIcon,Gb as ArrowDownIcon,oa as ArrowLeftIcon,pa as ArrowRightIcon,na as ArrowUpIcon,Xb as BarChartIcon,Ka as BoldIcon,_ as BookIcon,xb as BookmarkIcon,Bb as BrainIcon,Zb as BugReportIcon,Ba as BulbIcon,Wb as CakeIcon,$ as CalendarIcon,F as CardsIcon,G as ChatIcon,n as CheckIcon,l as ChevronLeftIcon,m as ChevronRightIcon,D as ChevronsIcon,Lb as CleaningIcon,aa as ClockIcon,o as CloseIcon,sb as CloudIcon,Ia as CodeIcon,qb as ComputerIcon,r as ContrastIcon,K as CopyIcon,Kb as DashboardIcon,pb as DataObjectIcon,Da as DeleteIcon,Jb as DocumentScannerIcon,J as DownloadIcon,Mb as DragHandleIcon,Qb as ExploreIcon,ma as ExternalIcon,S as EyeIcon,wb as EyeOffIcon,Hb as FactCheckIcon,la as FileIcon,L as FilterIcon,M as FirstIcon,Ta as FontIcon,R as FormIcon,eb as FullscreenExitIcon,db as FullscreenIcon,zb as GavelIcon,ja as GiftIcon,da as GlobeIcon,E as GridIcon,qa as HeadphonesIcon,Ga as HeartFilledIcon,Fa as HeartIcon,xa as HelpIcon,Y as HomeIcon,Ha as HubIcon,c as ICON_MIN_CONTRAST,b as ICON_NAMES,a as ICON_PATHS,h as IconBase,ka as ImageIcon,Ib as ImageSearchIcon,Q as InfoIcon,Pb as InsightsIcon,wa as InstallIcon,$b as IntegrationIcon,La as ItalicIcon,gb as JoinIcon,$a as KeyIcon,Tb as KeyboardIcon,Sb as LabelIcon,ea as LampIcon,N as LastIcon,T as LayoutIcon,Xa as LinkIcon,hc as LoaderIcon,Za as LockIcon,dc as LoginIcon,ec as LogoutIcon,ta as MapIcon,za as MeditateIcon,Z as MenuIcon,fb as MergeIcon,H as MicIcon,A as MinusIcon,s as MoonIcon,t as MotionIcon,lb as MovieIcon,ra as MusicIcon,jb as MusicOffIcon,kb as MusicVideoIcon,ac as NamaskarIcon,Wa as PageBreakIcon,x as PaletteIcon,ga as PauseIcon,ua as PenIcon,ba as PersonIcon,rb as PhoneIcon,sa as PinIcon,fa as PlayIcon,X as PlugIcon,z as PlusIcon,Ra as QuoteIcon,Eb as RadioCheckedIcon,Db as RadioIcon,u as ReadingIcon,ab as RedoIcon,gc as RepeatIcon,B as ResetIcon,Ea as RobotIcon,Rb as SaveIcon,yb as SchoolIcon,i as SearchIcon,vb as SearchOffIcon,ha as SendIcon,_b as SentimentSadIcon,ia as ShareIcon,jc as ShieldCheckIcon,cb as ShuffleIcon,y as SkipIcon,mb as SlideshowIcon,k as SortDownIcon,C as SortIcon,j as SortUpIcon,O as SparkIcon,w as SpeakerIcon,fc as SpeedIcon,Ua as SpellcheckIcon,ic as StarIcon,I as StopIcon,nb as StorageIcon,Ya as StyleIcon,Ca as SunIcon,bc as SunriseIcon,cc as SunsetIcon,bb as SwapIcon,v as TargetIcon,ya as TempleIcon,Ja as TextIcon,Sa as TitleIcon,W as ToolsIcon,hb as TouchIcon,Vb as TrendingDownIcon,Ub as TrendingUpIcon,Aa as TrophyIcon,Ma as UnderlineIcon,V as UndoIcon,_a as UnlockIcon,Fb as UploadIcon,ca as UsersIcon,ib as VolumeOffIcon,Cb as VolunteerIcon,va as WalletIcon,U as WandIcon,tb as WifiIcon,ub as WifiOffIcon,p as YuktaiIcon,Nb as ZoomInIcon,Ob as ZoomOutIcon,d as iconContrast,g as iconSvg,e as pickGlyphColor,f as resolveIconColours};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { AbcIcon, AccessibilityIcon, AlertIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, ApiIcon, ArchitectureIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BoldIcon, BookIcon, BookmarkIcon, BrainIcon, BulbIcon, CalendarIcon, CardsIcon, ChatIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsIcon, ClockIcon, CloseIcon, CloudIcon, CodeIcon, ComputerIcon, ContrastIcon, CopyIcon, DataObjectIcon, DeleteIcon, DownloadIcon, ExternalIcon, EyeIcon, EyeOffIcon, FileIcon, FilterIcon, FirstIcon, FontIcon, FormIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GiftIcon, GlobeIcon, GridIcon, HeadphonesIcon, HeartFilledIcon, HeartIcon, HelpIcon, HomeIcon, HubIcon, ICON_MIN_CONTRAST, ICON_NAMES, ICON_PATHS, IconBase, IconName, IconProps, IconShape, IconSvgOptions, IconVariant, ImageIcon, InfoIcon, InstallIcon, ItalicIcon, JoinIcon, KeyIcon, LampIcon, LastIcon, LayoutIcon, LinkIcon, LockIcon, MapIcon, MeditateIcon, MenuIcon, MergeIcon, MicIcon, MinusIcon, MoonIcon, MotionIcon, MovieIcon, MusicIcon, MusicOffIcon, MusicVideoIcon, PageBreakIcon, PaletteIcon, PauseIcon, PenIcon, PersonIcon, PhoneIcon, PinIcon, PlayIcon, PlugIcon, PlusIcon, QuoteIcon, RadioCheckedIcon, RadioIcon, ReadingIcon, RedoIcon, ResetIcon, RobotIcon, SchoolIcon, SearchIcon, SearchOffIcon, SendIcon, ShareIcon, ShuffleIcon, SkipIcon, SlideshowIcon, SortDownIcon, SortIcon, SortUpIcon, SparkIcon, SpeakerIcon, SpellcheckIcon, StopIcon, StorageIcon, StyleIcon, SunIcon, SwapIcon, TargetIcon, TempleIcon, TextIcon, TitleIcon, ToolsIcon, TouchIcon, TrophyIcon, UnderlineIcon, UndoIcon, UnlockIcon, UploadIcon, UsersIcon, VolumeOffIcon, VolunteerIcon, WalletIcon, WandIcon, WifiIcon, WifiOffIcon, YuktaiIcon, YuktaiIconProps, iconContrast, iconSvg, pickGlyphColor } from './icons.mjs';
|
|
3
|
+
export { AbcIcon, AccessibilityIcon, AdminIcon, AlertIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, ApiIcon, ArchitectureIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BarChartIcon, BoldIcon, BookIcon, BookmarkIcon, BrainIcon, BugReportIcon, BulbIcon, CakeIcon, CalendarIcon, CardsIcon, ChatIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsIcon, CleaningIcon, ClockIcon, CloseIcon, CloudIcon, CodeIcon, ComputerIcon, ContrastIcon, CopyIcon, DashboardIcon, DataObjectIcon, DeleteIcon, DocumentScannerIcon, DownloadIcon, DragHandleIcon, ExploreIcon, ExternalIcon, EyeIcon, EyeOffIcon, FactCheckIcon, FileIcon, FilterIcon, FirstIcon, FontIcon, FormIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GiftIcon, GlobeIcon, GridIcon, HeadphonesIcon, HeartFilledIcon, HeartIcon, HelpIcon, HomeIcon, HubIcon, ICON_MIN_CONTRAST, ICON_NAMES, ICON_PATHS, IconBase, IconName, IconProps, IconShape, IconSvgOptions, IconVariant, ImageIcon, ImageSearchIcon, InfoIcon, InsightsIcon, InstallIcon, IntegrationIcon, ItalicIcon, JoinIcon, KeyIcon, KeyboardIcon, LabelIcon, LampIcon, LastIcon, LayoutIcon, LinkIcon, LoaderIcon, LockIcon, LoginIcon, LogoutIcon, MapIcon, MeditateIcon, MenuIcon, MergeIcon, MicIcon, MinusIcon, MoonIcon, MotionIcon, MovieIcon, MusicIcon, MusicOffIcon, MusicVideoIcon, NamaskarIcon, PageBreakIcon, PaletteIcon, PauseIcon, PenIcon, PersonIcon, PhoneIcon, PinIcon, PlayIcon, PlugIcon, PlusIcon, QuoteIcon, RadioCheckedIcon, RadioIcon, ReadingIcon, RedoIcon, RepeatIcon, ResetIcon, RobotIcon, SaveIcon, SchoolIcon, SearchIcon, SearchOffIcon, SendIcon, SentimentSadIcon, ShareIcon, ShieldCheckIcon, ShuffleIcon, SkipIcon, SlideshowIcon, SortDownIcon, SortIcon, SortUpIcon, SparkIcon, SpeakerIcon, SpeedIcon, SpellcheckIcon, StarIcon, StopIcon, StorageIcon, StyleIcon, SunIcon, SunriseIcon, SunsetIcon, SwapIcon, TargetIcon, TempleIcon, TextIcon, TitleIcon, ToolsIcon, TouchIcon, TrendingDownIcon, TrendingUpIcon, TrophyIcon, UnderlineIcon, UndoIcon, UnlockIcon, UploadIcon, UsersIcon, VolumeOffIcon, VolunteerIcon, WalletIcon, WandIcon, WifiIcon, WifiOffIcon, YuktaiIcon, YuktaiIconProps, ZoomInIcon, ZoomOutIcon, iconContrast, iconSvg, pickGlyphColor } from './icons.mjs';
|
|
4
4
|
|
|
5
5
|
interface Plugin {
|
|
6
6
|
name: string;
|
|
@@ -112,6 +112,52 @@ declare const voicePlugin: {
|
|
|
112
112
|
execute(input: string): Promise<string>;
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
+
/** Which engine sorts and searches the grid. */
|
|
116
|
+
type GridEngine = "ts" | "rust" | "auto";
|
|
117
|
+
/** `engine: "auto"` switches to Rust from this many rows. */
|
|
118
|
+
declare const RUST_AUTO_MIN_ROWS = 10000;
|
|
119
|
+
declare function wantsRustEngine(engine: GridEngine | undefined, rowCount: number): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Compiles the Rust engine once per page. Resolves `null` when WebAssembly is
|
|
122
|
+
* not available; the grid then simply keeps using TypeScript.
|
|
123
|
+
*/
|
|
124
|
+
declare function loadGridCore(): Promise<WebAssembly.Module | null>;
|
|
125
|
+
/**
|
|
126
|
+
* One engine per grid. Holds that grid's search text inside the WebAssembly
|
|
127
|
+
* memory, so each keystroke only sends the query.
|
|
128
|
+
*/
|
|
129
|
+
declare class GridCore {
|
|
130
|
+
private readonly x;
|
|
131
|
+
private readonly base;
|
|
132
|
+
private readonly encoder;
|
|
133
|
+
private offsetsPtr;
|
|
134
|
+
private textPtr;
|
|
135
|
+
private textLen;
|
|
136
|
+
private rows;
|
|
137
|
+
private hasIndex;
|
|
138
|
+
private freePtr;
|
|
139
|
+
private constructor();
|
|
140
|
+
/** Creates an engine from a compiled module (default: the one already loaded). */
|
|
141
|
+
static create(mod?: WebAssembly.Module | null): GridCore | null;
|
|
142
|
+
private ensure;
|
|
143
|
+
/**
|
|
144
|
+
* Stores one search text per row (the grid joins its columns with
|
|
145
|
+
* SEARCH_SEPARATOR). Returns false when Rust can't match TypeScript
|
|
146
|
+
* exactly for this data; the grid then searches in TypeScript.
|
|
147
|
+
*/
|
|
148
|
+
setSearchTexts(texts: string[]): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Positions (in the array given to setSearchTexts) of the rows whose text
|
|
151
|
+
* contains `query`, in original order. Null means "use TypeScript".
|
|
152
|
+
*/
|
|
153
|
+
search(query: string): Uint32Array | null;
|
|
154
|
+
/**
|
|
155
|
+
* Row positions sorted by `keys` (NaN = empty, always last; equal keys keep
|
|
156
|
+
* their order). Null means "use TypeScript".
|
|
157
|
+
*/
|
|
158
|
+
sortByKeys(keys: Float64Array, desc: boolean): Uint32Array | null;
|
|
159
|
+
}
|
|
160
|
+
|
|
115
161
|
interface GridColumn<T = Record<string, unknown>> {
|
|
116
162
|
key: keyof T & string;
|
|
117
163
|
label: string;
|
|
@@ -316,6 +362,17 @@ interface YuktaiGridProps<T = Record<string, unknown>> {
|
|
|
316
362
|
* ]}
|
|
317
363
|
*/
|
|
318
364
|
customRules?: YuktaiGridRule<T>[];
|
|
365
|
+
/**
|
|
366
|
+
* Search and sort engine.
|
|
367
|
+
*
|
|
368
|
+
* - "ts" (default): TypeScript, as before
|
|
369
|
+
* - "rust": the Rust (WebAssembly) engine, about 13 KB, embedded
|
|
370
|
+
* - "auto": Rust from 10,000 rows, TypeScript below
|
|
371
|
+
*
|
|
372
|
+
* Results are identical. Rust handles search and number/date sorting;
|
|
373
|
+
* text sorting always uses TypeScript (browser locale rules for Telugu).
|
|
374
|
+
*/
|
|
375
|
+
engine?: GridEngine;
|
|
319
376
|
/**
|
|
320
377
|
* Every result from the Agent.
|
|
321
378
|
*/
|
|
@@ -326,7 +383,7 @@ interface YuktaiGridProps<T = Record<string, unknown>> {
|
|
|
326
383
|
}) => void;
|
|
327
384
|
}
|
|
328
385
|
|
|
329
|
-
declare function YuktaiGrid<T extends Record<string, unknown>>({ data, columns, rowKey, view, mobileBreakpoint, theme, locale, ai, search, selectable, selectedKeys, onSelectionChange, pagination, loading, highlightIds, highlightColor, autoScrollToHighlight, onRowClick, onSortChange, empty, className, inputLanguage, toolName, toolDescriptions, webmcp, onWebMCPStatusChange, onAgentResult, customRules, }: YuktaiGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
386
|
+
declare function YuktaiGrid<T extends Record<string, unknown>>({ data, columns, rowKey, view, mobileBreakpoint, theme, locale, ai, search, selectable, selectedKeys, onSelectionChange, pagination, loading, highlightIds, highlightColor, autoScrollToHighlight, onRowClick, onSortChange, empty, className, inputLanguage, toolName, toolDescriptions, webmcp, onWebMCPStatusChange, onAgentResult, customRules, engine, }: YuktaiGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
330
387
|
|
|
331
388
|
/**
|
|
332
389
|
* gridTools — the ONE place where YuktaiGrid tools are defined.
|
|
@@ -449,6 +506,11 @@ interface UseGridOptions<T> {
|
|
|
449
506
|
locale?: string;
|
|
450
507
|
/** Starting filters (optional) */
|
|
451
508
|
initialFilters?: GridToolFilter[];
|
|
509
|
+
/**
|
|
510
|
+
* Search and sort engine: "ts" (default), "rust" (always) or "auto" (Rust
|
|
511
|
+
* from 10,000 rows). Same results either way; Rust is faster on big data.
|
|
512
|
+
*/
|
|
513
|
+
engine?: GridEngine;
|
|
452
514
|
}
|
|
453
515
|
interface UseGridReturn<T> {
|
|
454
516
|
displayedData: T[];
|
|
@@ -1227,4 +1289,4 @@ declare const YuktAI: {
|
|
|
1227
1289
|
scan(): A11yReport;
|
|
1228
1290
|
};
|
|
1229
1291
|
|
|
1230
|
-
export { type A11yConfig, type A11yCopilot, type A11yCopilotOptions, type A11yFix, type A11yReport, type AIFeatures, AUDIT_RULES, type AgenticAnswerKind, AgenticGridBar, AgenticPanel, type AgenticPanelProps, type Aggregation, type AuditCheck, type AuditIssue, type AuditOptions, type AuditReport, type AuditRoot, type AuditRuleId, type AuditSeverity, type ColorBlindMode, type ComparePeriodsOptions, type ContextAnswer, type ContextHit, type ContextIndexOptions, type ContextPassage, type CopilotFixResult, type CopilotState, type CreateGridToolsOptions, DEFAULT_A11Y_SETTINGS, type DesignCategory, type DesignFinding, type DesignReview, type DesignReviewOptions, FONT_MAX, FONT_MIN, FONT_STEP, type FilterConfig, type FilterOperator, type FormField, type FormFinding, type FormFindingLevel, type FormReview, type FormReviewOptions, type GridAgentErrorCode, type GridAgentResult, type GridAgentStep, type GridAgentTool, type GridAnomaly, type GridAnswer, type GridColumn, type GridInputLanguage, type GridIntent, type GridIntentContext, type GridLocale, type GridNavAction, type GridQueryResult, type GridTheme, type GridTool, type GridToolColumn, type GridToolContext, type GridToolErrorCode, type GridToolFilter, type GridToolFilterOperator, type GridToolId, type GridToolLocale, type GridToolResult, type GridToolSort, type GridTranslations, type GroupResult, type IndicLanguageLocale, type InsightAnswer, type PageAnswer, type PageIntent, type PageOutline, type PaginationConfig, type ParseOptions, type ParsedGridQuery, type Period, type PeriodChange, type PeriodComparison, type PlannedStep, type RGBA, type RunTasksOptions, Runtime, type Severity, type SortConfig, type SortDirection, type StepResult, type TaskAction, type TaskRunResult, type UseAgenticGridOptions, type UseGridOptions, type UseGridReturn, type ViewMode, type VoiceA11yCommand, type VoiceA11yControllerOptions, type VoiceFeatures, type WebMCPState, type WebMCPStatus, YuktAI, YuktAIWrapper, type YuktAIWrapperProps, YuktaiGrid, YuktaiGridAI, type YuktaiGridAIProps, useYuktaiGridAgent as YuktaiGridAgent, type YuktaiGridAgentProps, type YuktaiGridProps, type YuktaiGridRule, type YuktaiGridRuleContext, YuktaiGridWebMCP, type YuktaiGridWebMCPProps, accessibleName, addPeriods, aggregate, aiPlugin, analyzePage, answerGridQuestion, applyGridFilters, askAboutPage, askInsight, auditToJSON, auditToMarkdown, clearFilters, clearSort, comparePeriods, contrastRatio, countGrid, createA11yCopilot, createContextIndex, createGridTools, createVoiceA11yController, YuktAIWrapper as default, detectAnomalies, detectPageIntent, executeGridQuery, filterGrid, findMentionedColumn, getColumns, getRow, getRowId, gridPassages, groupBy, highlightRows, moveGridRowFocus, openRow, pagePassages, parseAmount, parseColor, parseGridIntent, parseGridQuery, parseVoiceA11yCommand, planTasks, readFormFields, relativeLuminance, reviewDesign, reviewForm, reviewForms, runGridQuery, runQaAudit, runTasks, searchGrid, selectRow, sortGrid, startOfPeriod, summarizeRows, toGridToolColumns, tokenize, trend, useAgenticGrid, useGrid, useYuktaiGridAgent, voicePlugin, wcagPlugin as wcag, wcagPlugin };
|
|
1292
|
+
export { type A11yConfig, type A11yCopilot, type A11yCopilotOptions, type A11yFix, type A11yReport, type AIFeatures, AUDIT_RULES, type AgenticAnswerKind, AgenticGridBar, AgenticPanel, type AgenticPanelProps, type Aggregation, type AuditCheck, type AuditIssue, type AuditOptions, type AuditReport, type AuditRoot, type AuditRuleId, type AuditSeverity, type ColorBlindMode, type ComparePeriodsOptions, type ContextAnswer, type ContextHit, type ContextIndexOptions, type ContextPassage, type CopilotFixResult, type CopilotState, type CreateGridToolsOptions, DEFAULT_A11Y_SETTINGS, type DesignCategory, type DesignFinding, type DesignReview, type DesignReviewOptions, FONT_MAX, FONT_MIN, FONT_STEP, type FilterConfig, type FilterOperator, type FormField, type FormFinding, type FormFindingLevel, type FormReview, type FormReviewOptions, type GridAgentErrorCode, type GridAgentResult, type GridAgentStep, type GridAgentTool, type GridAnomaly, type GridAnswer, type GridColumn, GridCore, type GridEngine, type GridInputLanguage, type GridIntent, type GridIntentContext, type GridLocale, type GridNavAction, type GridQueryResult, type GridTheme, type GridTool, type GridToolColumn, type GridToolContext, type GridToolErrorCode, type GridToolFilter, type GridToolFilterOperator, type GridToolId, type GridToolLocale, type GridToolResult, type GridToolSort, type GridTranslations, type GroupResult, type IndicLanguageLocale, type InsightAnswer, type PageAnswer, type PageIntent, type PageOutline, type PaginationConfig, type ParseOptions, type ParsedGridQuery, type Period, type PeriodChange, type PeriodComparison, type PlannedStep, type RGBA, RUST_AUTO_MIN_ROWS, type RunTasksOptions, Runtime, type Severity, type SortConfig, type SortDirection, type StepResult, type TaskAction, type TaskRunResult, type UseAgenticGridOptions, type UseGridOptions, type UseGridReturn, type ViewMode, type VoiceA11yCommand, type VoiceA11yControllerOptions, type VoiceFeatures, type WebMCPState, type WebMCPStatus, YuktAI, YuktAIWrapper, type YuktAIWrapperProps, YuktaiGrid, YuktaiGridAI, type YuktaiGridAIProps, useYuktaiGridAgent as YuktaiGridAgent, type YuktaiGridAgentProps, type YuktaiGridProps, type YuktaiGridRule, type YuktaiGridRuleContext, YuktaiGridWebMCP, type YuktaiGridWebMCPProps, accessibleName, addPeriods, aggregate, aiPlugin, analyzePage, answerGridQuestion, applyGridFilters, askAboutPage, askInsight, auditToJSON, auditToMarkdown, clearFilters, clearSort, comparePeriods, contrastRatio, countGrid, createA11yCopilot, createContextIndex, createGridTools, createVoiceA11yController, YuktAIWrapper as default, detectAnomalies, detectPageIntent, executeGridQuery, filterGrid, findMentionedColumn, getColumns, getRow, getRowId, gridPassages, groupBy, highlightRows, loadGridCore, moveGridRowFocus, openRow, pagePassages, parseAmount, parseColor, parseGridIntent, parseGridQuery, parseVoiceA11yCommand, planTasks, readFormFields, relativeLuminance, reviewDesign, reviewForm, reviewForms, runGridQuery, runQaAudit, runTasks, searchGrid, selectRow, sortGrid, startOfPeriod, summarizeRows, toGridToolColumns, tokenize, trend, useAgenticGrid, useGrid, useYuktaiGridAgent, voicePlugin, wantsRustEngine, wcagPlugin as wcag, wcagPlugin };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
export { AbcIcon, AccessibilityIcon, AlertIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, ApiIcon, ArchitectureIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BoldIcon, BookIcon, BookmarkIcon, BrainIcon, BulbIcon, CalendarIcon, CardsIcon, ChatIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsIcon, ClockIcon, CloseIcon, CloudIcon, CodeIcon, ComputerIcon, ContrastIcon, CopyIcon, DataObjectIcon, DeleteIcon, DownloadIcon, ExternalIcon, EyeIcon, EyeOffIcon, FileIcon, FilterIcon, FirstIcon, FontIcon, FormIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GiftIcon, GlobeIcon, GridIcon, HeadphonesIcon, HeartFilledIcon, HeartIcon, HelpIcon, HomeIcon, HubIcon, ICON_MIN_CONTRAST, ICON_NAMES, ICON_PATHS, IconBase, IconName, IconProps, IconShape, IconSvgOptions, IconVariant, ImageIcon, InfoIcon, InstallIcon, ItalicIcon, JoinIcon, KeyIcon, LampIcon, LastIcon, LayoutIcon, LinkIcon, LockIcon, MapIcon, MeditateIcon, MenuIcon, MergeIcon, MicIcon, MinusIcon, MoonIcon, MotionIcon, MovieIcon, MusicIcon, MusicOffIcon, MusicVideoIcon, PageBreakIcon, PaletteIcon, PauseIcon, PenIcon, PersonIcon, PhoneIcon, PinIcon, PlayIcon, PlugIcon, PlusIcon, QuoteIcon, RadioCheckedIcon, RadioIcon, ReadingIcon, RedoIcon, ResetIcon, RobotIcon, SchoolIcon, SearchIcon, SearchOffIcon, SendIcon, ShareIcon, ShuffleIcon, SkipIcon, SlideshowIcon, SortDownIcon, SortIcon, SortUpIcon, SparkIcon, SpeakerIcon, SpellcheckIcon, StopIcon, StorageIcon, StyleIcon, SunIcon, SwapIcon, TargetIcon, TempleIcon, TextIcon, TitleIcon, ToolsIcon, TouchIcon, TrophyIcon, UnderlineIcon, UndoIcon, UnlockIcon, UploadIcon, UsersIcon, VolumeOffIcon, VolunteerIcon, WalletIcon, WandIcon, WifiIcon, WifiOffIcon, YuktaiIcon, YuktaiIconProps, iconContrast, iconSvg, pickGlyphColor } from './icons.js';
|
|
3
|
+
export { AbcIcon, AccessibilityIcon, AdminIcon, AlertIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, ApiIcon, ArchitectureIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BarChartIcon, BoldIcon, BookIcon, BookmarkIcon, BrainIcon, BugReportIcon, BulbIcon, CakeIcon, CalendarIcon, CardsIcon, ChatIcon, CheckIcon, ChevronLeftIcon, ChevronRightIcon, ChevronsIcon, CleaningIcon, ClockIcon, CloseIcon, CloudIcon, CodeIcon, ComputerIcon, ContrastIcon, CopyIcon, DashboardIcon, DataObjectIcon, DeleteIcon, DocumentScannerIcon, DownloadIcon, DragHandleIcon, ExploreIcon, ExternalIcon, EyeIcon, EyeOffIcon, FactCheckIcon, FileIcon, FilterIcon, FirstIcon, FontIcon, FormIcon, FullscreenExitIcon, FullscreenIcon, GavelIcon, GiftIcon, GlobeIcon, GridIcon, HeadphonesIcon, HeartFilledIcon, HeartIcon, HelpIcon, HomeIcon, HubIcon, ICON_MIN_CONTRAST, ICON_NAMES, ICON_PATHS, IconBase, IconName, IconProps, IconShape, IconSvgOptions, IconVariant, ImageIcon, ImageSearchIcon, InfoIcon, InsightsIcon, InstallIcon, IntegrationIcon, ItalicIcon, JoinIcon, KeyIcon, KeyboardIcon, LabelIcon, LampIcon, LastIcon, LayoutIcon, LinkIcon, LoaderIcon, LockIcon, LoginIcon, LogoutIcon, MapIcon, MeditateIcon, MenuIcon, MergeIcon, MicIcon, MinusIcon, MoonIcon, MotionIcon, MovieIcon, MusicIcon, MusicOffIcon, MusicVideoIcon, NamaskarIcon, PageBreakIcon, PaletteIcon, PauseIcon, PenIcon, PersonIcon, PhoneIcon, PinIcon, PlayIcon, PlugIcon, PlusIcon, QuoteIcon, RadioCheckedIcon, RadioIcon, ReadingIcon, RedoIcon, RepeatIcon, ResetIcon, RobotIcon, SaveIcon, SchoolIcon, SearchIcon, SearchOffIcon, SendIcon, SentimentSadIcon, ShareIcon, ShieldCheckIcon, ShuffleIcon, SkipIcon, SlideshowIcon, SortDownIcon, SortIcon, SortUpIcon, SparkIcon, SpeakerIcon, SpeedIcon, SpellcheckIcon, StarIcon, StopIcon, StorageIcon, StyleIcon, SunIcon, SunriseIcon, SunsetIcon, SwapIcon, TargetIcon, TempleIcon, TextIcon, TitleIcon, ToolsIcon, TouchIcon, TrendingDownIcon, TrendingUpIcon, TrophyIcon, UnderlineIcon, UndoIcon, UnlockIcon, UploadIcon, UsersIcon, VolumeOffIcon, VolunteerIcon, WalletIcon, WandIcon, WifiIcon, WifiOffIcon, YuktaiIcon, YuktaiIconProps, ZoomInIcon, ZoomOutIcon, iconContrast, iconSvg, pickGlyphColor } from './icons.js';
|
|
4
4
|
|
|
5
5
|
interface Plugin {
|
|
6
6
|
name: string;
|
|
@@ -112,6 +112,52 @@ declare const voicePlugin: {
|
|
|
112
112
|
execute(input: string): Promise<string>;
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
+
/** Which engine sorts and searches the grid. */
|
|
116
|
+
type GridEngine = "ts" | "rust" | "auto";
|
|
117
|
+
/** `engine: "auto"` switches to Rust from this many rows. */
|
|
118
|
+
declare const RUST_AUTO_MIN_ROWS = 10000;
|
|
119
|
+
declare function wantsRustEngine(engine: GridEngine | undefined, rowCount: number): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Compiles the Rust engine once per page. Resolves `null` when WebAssembly is
|
|
122
|
+
* not available; the grid then simply keeps using TypeScript.
|
|
123
|
+
*/
|
|
124
|
+
declare function loadGridCore(): Promise<WebAssembly.Module | null>;
|
|
125
|
+
/**
|
|
126
|
+
* One engine per grid. Holds that grid's search text inside the WebAssembly
|
|
127
|
+
* memory, so each keystroke only sends the query.
|
|
128
|
+
*/
|
|
129
|
+
declare class GridCore {
|
|
130
|
+
private readonly x;
|
|
131
|
+
private readonly base;
|
|
132
|
+
private readonly encoder;
|
|
133
|
+
private offsetsPtr;
|
|
134
|
+
private textPtr;
|
|
135
|
+
private textLen;
|
|
136
|
+
private rows;
|
|
137
|
+
private hasIndex;
|
|
138
|
+
private freePtr;
|
|
139
|
+
private constructor();
|
|
140
|
+
/** Creates an engine from a compiled module (default: the one already loaded). */
|
|
141
|
+
static create(mod?: WebAssembly.Module | null): GridCore | null;
|
|
142
|
+
private ensure;
|
|
143
|
+
/**
|
|
144
|
+
* Stores one search text per row (the grid joins its columns with
|
|
145
|
+
* SEARCH_SEPARATOR). Returns false when Rust can't match TypeScript
|
|
146
|
+
* exactly for this data; the grid then searches in TypeScript.
|
|
147
|
+
*/
|
|
148
|
+
setSearchTexts(texts: string[]): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Positions (in the array given to setSearchTexts) of the rows whose text
|
|
151
|
+
* contains `query`, in original order. Null means "use TypeScript".
|
|
152
|
+
*/
|
|
153
|
+
search(query: string): Uint32Array | null;
|
|
154
|
+
/**
|
|
155
|
+
* Row positions sorted by `keys` (NaN = empty, always last; equal keys keep
|
|
156
|
+
* their order). Null means "use TypeScript".
|
|
157
|
+
*/
|
|
158
|
+
sortByKeys(keys: Float64Array, desc: boolean): Uint32Array | null;
|
|
159
|
+
}
|
|
160
|
+
|
|
115
161
|
interface GridColumn<T = Record<string, unknown>> {
|
|
116
162
|
key: keyof T & string;
|
|
117
163
|
label: string;
|
|
@@ -316,6 +362,17 @@ interface YuktaiGridProps<T = Record<string, unknown>> {
|
|
|
316
362
|
* ]}
|
|
317
363
|
*/
|
|
318
364
|
customRules?: YuktaiGridRule<T>[];
|
|
365
|
+
/**
|
|
366
|
+
* Search and sort engine.
|
|
367
|
+
*
|
|
368
|
+
* - "ts" (default): TypeScript, as before
|
|
369
|
+
* - "rust": the Rust (WebAssembly) engine, about 13 KB, embedded
|
|
370
|
+
* - "auto": Rust from 10,000 rows, TypeScript below
|
|
371
|
+
*
|
|
372
|
+
* Results are identical. Rust handles search and number/date sorting;
|
|
373
|
+
* text sorting always uses TypeScript (browser locale rules for Telugu).
|
|
374
|
+
*/
|
|
375
|
+
engine?: GridEngine;
|
|
319
376
|
/**
|
|
320
377
|
* Every result from the Agent.
|
|
321
378
|
*/
|
|
@@ -326,7 +383,7 @@ interface YuktaiGridProps<T = Record<string, unknown>> {
|
|
|
326
383
|
}) => void;
|
|
327
384
|
}
|
|
328
385
|
|
|
329
|
-
declare function YuktaiGrid<T extends Record<string, unknown>>({ data, columns, rowKey, view, mobileBreakpoint, theme, locale, ai, search, selectable, selectedKeys, onSelectionChange, pagination, loading, highlightIds, highlightColor, autoScrollToHighlight, onRowClick, onSortChange, empty, className, inputLanguage, toolName, toolDescriptions, webmcp, onWebMCPStatusChange, onAgentResult, customRules, }: YuktaiGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
386
|
+
declare function YuktaiGrid<T extends Record<string, unknown>>({ data, columns, rowKey, view, mobileBreakpoint, theme, locale, ai, search, selectable, selectedKeys, onSelectionChange, pagination, loading, highlightIds, highlightColor, autoScrollToHighlight, onRowClick, onSortChange, empty, className, inputLanguage, toolName, toolDescriptions, webmcp, onWebMCPStatusChange, onAgentResult, customRules, engine, }: YuktaiGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
330
387
|
|
|
331
388
|
/**
|
|
332
389
|
* gridTools — the ONE place where YuktaiGrid tools are defined.
|
|
@@ -449,6 +506,11 @@ interface UseGridOptions<T> {
|
|
|
449
506
|
locale?: string;
|
|
450
507
|
/** Starting filters (optional) */
|
|
451
508
|
initialFilters?: GridToolFilter[];
|
|
509
|
+
/**
|
|
510
|
+
* Search and sort engine: "ts" (default), "rust" (always) or "auto" (Rust
|
|
511
|
+
* from 10,000 rows). Same results either way; Rust is faster on big data.
|
|
512
|
+
*/
|
|
513
|
+
engine?: GridEngine;
|
|
452
514
|
}
|
|
453
515
|
interface UseGridReturn<T> {
|
|
454
516
|
displayedData: T[];
|
|
@@ -1227,4 +1289,4 @@ declare const YuktAI: {
|
|
|
1227
1289
|
scan(): A11yReport;
|
|
1228
1290
|
};
|
|
1229
1291
|
|
|
1230
|
-
export { type A11yConfig, type A11yCopilot, type A11yCopilotOptions, type A11yFix, type A11yReport, type AIFeatures, AUDIT_RULES, type AgenticAnswerKind, AgenticGridBar, AgenticPanel, type AgenticPanelProps, type Aggregation, type AuditCheck, type AuditIssue, type AuditOptions, type AuditReport, type AuditRoot, type AuditRuleId, type AuditSeverity, type ColorBlindMode, type ComparePeriodsOptions, type ContextAnswer, type ContextHit, type ContextIndexOptions, type ContextPassage, type CopilotFixResult, type CopilotState, type CreateGridToolsOptions, DEFAULT_A11Y_SETTINGS, type DesignCategory, type DesignFinding, type DesignReview, type DesignReviewOptions, FONT_MAX, FONT_MIN, FONT_STEP, type FilterConfig, type FilterOperator, type FormField, type FormFinding, type FormFindingLevel, type FormReview, type FormReviewOptions, type GridAgentErrorCode, type GridAgentResult, type GridAgentStep, type GridAgentTool, type GridAnomaly, type GridAnswer, type GridColumn, type GridInputLanguage, type GridIntent, type GridIntentContext, type GridLocale, type GridNavAction, type GridQueryResult, type GridTheme, type GridTool, type GridToolColumn, type GridToolContext, type GridToolErrorCode, type GridToolFilter, type GridToolFilterOperator, type GridToolId, type GridToolLocale, type GridToolResult, type GridToolSort, type GridTranslations, type GroupResult, type IndicLanguageLocale, type InsightAnswer, type PageAnswer, type PageIntent, type PageOutline, type PaginationConfig, type ParseOptions, type ParsedGridQuery, type Period, type PeriodChange, type PeriodComparison, type PlannedStep, type RGBA, type RunTasksOptions, Runtime, type Severity, type SortConfig, type SortDirection, type StepResult, type TaskAction, type TaskRunResult, type UseAgenticGridOptions, type UseGridOptions, type UseGridReturn, type ViewMode, type VoiceA11yCommand, type VoiceA11yControllerOptions, type VoiceFeatures, type WebMCPState, type WebMCPStatus, YuktAI, YuktAIWrapper, type YuktAIWrapperProps, YuktaiGrid, YuktaiGridAI, type YuktaiGridAIProps, useYuktaiGridAgent as YuktaiGridAgent, type YuktaiGridAgentProps, type YuktaiGridProps, type YuktaiGridRule, type YuktaiGridRuleContext, YuktaiGridWebMCP, type YuktaiGridWebMCPProps, accessibleName, addPeriods, aggregate, aiPlugin, analyzePage, answerGridQuestion, applyGridFilters, askAboutPage, askInsight, auditToJSON, auditToMarkdown, clearFilters, clearSort, comparePeriods, contrastRatio, countGrid, createA11yCopilot, createContextIndex, createGridTools, createVoiceA11yController, YuktAIWrapper as default, detectAnomalies, detectPageIntent, executeGridQuery, filterGrid, findMentionedColumn, getColumns, getRow, getRowId, gridPassages, groupBy, highlightRows, moveGridRowFocus, openRow, pagePassages, parseAmount, parseColor, parseGridIntent, parseGridQuery, parseVoiceA11yCommand, planTasks, readFormFields, relativeLuminance, reviewDesign, reviewForm, reviewForms, runGridQuery, runQaAudit, runTasks, searchGrid, selectRow, sortGrid, startOfPeriod, summarizeRows, toGridToolColumns, tokenize, trend, useAgenticGrid, useGrid, useYuktaiGridAgent, voicePlugin, wcagPlugin as wcag, wcagPlugin };
|
|
1292
|
+
export { type A11yConfig, type A11yCopilot, type A11yCopilotOptions, type A11yFix, type A11yReport, type AIFeatures, AUDIT_RULES, type AgenticAnswerKind, AgenticGridBar, AgenticPanel, type AgenticPanelProps, type Aggregation, type AuditCheck, type AuditIssue, type AuditOptions, type AuditReport, type AuditRoot, type AuditRuleId, type AuditSeverity, type ColorBlindMode, type ComparePeriodsOptions, type ContextAnswer, type ContextHit, type ContextIndexOptions, type ContextPassage, type CopilotFixResult, type CopilotState, type CreateGridToolsOptions, DEFAULT_A11Y_SETTINGS, type DesignCategory, type DesignFinding, type DesignReview, type DesignReviewOptions, FONT_MAX, FONT_MIN, FONT_STEP, type FilterConfig, type FilterOperator, type FormField, type FormFinding, type FormFindingLevel, type FormReview, type FormReviewOptions, type GridAgentErrorCode, type GridAgentResult, type GridAgentStep, type GridAgentTool, type GridAnomaly, type GridAnswer, type GridColumn, GridCore, type GridEngine, type GridInputLanguage, type GridIntent, type GridIntentContext, type GridLocale, type GridNavAction, type GridQueryResult, type GridTheme, type GridTool, type GridToolColumn, type GridToolContext, type GridToolErrorCode, type GridToolFilter, type GridToolFilterOperator, type GridToolId, type GridToolLocale, type GridToolResult, type GridToolSort, type GridTranslations, type GroupResult, type IndicLanguageLocale, type InsightAnswer, type PageAnswer, type PageIntent, type PageOutline, type PaginationConfig, type ParseOptions, type ParsedGridQuery, type Period, type PeriodChange, type PeriodComparison, type PlannedStep, type RGBA, RUST_AUTO_MIN_ROWS, type RunTasksOptions, Runtime, type Severity, type SortConfig, type SortDirection, type StepResult, type TaskAction, type TaskRunResult, type UseAgenticGridOptions, type UseGridOptions, type UseGridReturn, type ViewMode, type VoiceA11yCommand, type VoiceA11yControllerOptions, type VoiceFeatures, type WebMCPState, type WebMCPStatus, YuktAI, YuktAIWrapper, type YuktAIWrapperProps, YuktaiGrid, YuktaiGridAI, type YuktaiGridAIProps, useYuktaiGridAgent as YuktaiGridAgent, type YuktaiGridAgentProps, type YuktaiGridProps, type YuktaiGridRule, type YuktaiGridRuleContext, YuktaiGridWebMCP, type YuktaiGridWebMCPProps, accessibleName, addPeriods, aggregate, aiPlugin, analyzePage, answerGridQuestion, applyGridFilters, askAboutPage, askInsight, auditToJSON, auditToMarkdown, clearFilters, clearSort, comparePeriods, contrastRatio, countGrid, createA11yCopilot, createContextIndex, createGridTools, createVoiceA11yController, YuktAIWrapper as default, detectAnomalies, detectPageIntent, executeGridQuery, filterGrid, findMentionedColumn, getColumns, getRow, getRowId, gridPassages, groupBy, highlightRows, loadGridCore, moveGridRowFocus, openRow, pagePassages, parseAmount, parseColor, parseGridIntent, parseGridQuery, parseVoiceA11yCommand, planTasks, readFormFields, relativeLuminance, reviewDesign, reviewForm, reviewForms, runGridQuery, runQaAudit, runTasks, searchGrid, selectRow, sortGrid, startOfPeriod, summarizeRows, toGridToolColumns, tokenize, trend, useAgenticGrid, useGrid, useYuktaiGridAgent, voicePlugin, wantsRustEngine, wcagPlugin as wcag, wcagPlugin };
|