@ramme-io/ui 5.0.3 → 5.2.0
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 +2 -1
- package/dist/component-registry.js +264 -260
- package/dist/components/forms/FontSelect.d.ts +26 -0
- package/dist/components/forms/FontSelect.js +33 -0
- package/dist/components/forms/MultiSelect.js +9 -6
- package/dist/components/forms/Select.d.ts +3 -0
- package/dist/components/forms/Select.js +38 -33
- package/dist/components/forms/fieldFontSize.d.ts +10 -0
- package/dist/components/forms/fieldFontSize.js +4 -0
- package/dist/components/layout/UserNav.d.ts +4 -0
- package/dist/components/layout/UserNav.js +28 -27
- package/dist/components/theme/FineTuningControls.js +30 -66
- package/dist/components/ui/Badge.d.ts +4 -4
- package/dist/components/ui/Badge.js +8 -5
- package/dist/components/ui/icon-loader.d.ts +1 -1
- package/dist/contexts/ThemeContext.d.ts +1 -1
- package/dist/contexts/ThemeContext.js +49 -41
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +191 -189
- package/dist/lib/theme/fontSearch.d.ts +10 -0
- package/dist/lib/theme/fontSearch.js +16 -0
- package/dist/lib/theme/googleFonts.d.ts +6 -0
- package/dist/lib/theme/googleFonts.js +1840 -0
- package/dist/markets-theme.test.d.ts +1 -0
- package/dist/wizardManifest.js +67 -7
- package/package.json +3 -2
- package/src/wizardManifest.ts +67 -7
- package/tailwind.preset.js +12 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { icons } from 'lucide-react';
|
|
2
2
|
export type IconName = keyof typeof icons;
|
|
3
|
-
export declare const dynamicIconImports: Record<"Badge" | "Menu" | "ArrowRight" | "ArrowLeft" | "Option" | "Group" | "Settings" | "Sheet" | "Loader" | "Table" | "Radio" | "List" | "Navigation" | "Blocks" | "Ship" | "Component" | "Info" | "History" | "Sunset" | "AArrowDown" | "AArrowUp" | "ALargeSmall" | "Accessibility" | "Activity" | "AirVent" | "Airplay" | "AlarmClock" | "AlarmClockCheck" | "AlarmClockMinus" | "AlarmClockOff" | "AlarmClockPlus" | "AlarmSmoke" | "Album" | "AlignCenter" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignHorizontalDistributeCenter" | "AlignHorizontalDistributeEnd" | "AlignHorizontalDistributeStart" | "AlignHorizontalJustifyCenter" | "AlignHorizontalJustifyEnd" | "AlignHorizontalJustifyStart" | "AlignHorizontalSpaceAround" | "AlignHorizontalSpaceBetween" | "AlignJustify" | "AlignLeft" | "AlignRight" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignVerticalDistributeCenter" | "AlignVerticalDistributeEnd" | "AlignVerticalDistributeStart" | "AlignVerticalJustifyCenter" | "AlignVerticalJustifyEnd" | "AlignVerticalJustifyStart" | "AlignVerticalSpaceAround" | "AlignVerticalSpaceBetween" | "Ambulance" | "Ampersand" | "Ampersands" | "Amphora" | "Anchor" | "Angry" | "Annoyed" | "Antenna" | "Anvil" | "Aperture" | "AppWindow" | "AppWindowMac" | "Apple" | "Archive" | "ArchiveRestore" | "ArchiveX" | "Armchair" | "ArrowBigDown" | "ArrowBigDownDash" | "ArrowBigLeft" | "ArrowBigLeftDash" | "ArrowBigRight" | "ArrowBigRightDash" | "ArrowBigUp" | "ArrowBigUpDash" | "ArrowDown" | "ArrowDown01" | "ArrowDown10" | "ArrowDownAZ" | "ArrowDownFromLine" | "ArrowDownLeft" | "ArrowDownNarrowWide" | "ArrowDownRight" | "ArrowDownToDot" | "ArrowDownToLine" | "ArrowDownUp" | "ArrowDownWideNarrow" | "ArrowDownZA" | "ArrowLeftFromLine" | "ArrowLeftRight" | "ArrowLeftToLine" | "ArrowRightFromLine" | "ArrowRightLeft" | "ArrowRightToLine" | "ArrowUp" | "ArrowUp01" | "ArrowUp10" | "ArrowUpAZ" | "ArrowUpDown" | "ArrowUpFromDot" | "ArrowUpFromLine" | "ArrowUpLeft" | "ArrowUpNarrowWide" | "ArrowUpRight" | "ArrowUpToLine" | "ArrowUpWideNarrow" | "ArrowUpZA" | "ArrowsUpFromLine" | "Asterisk" | "AtSign" | "Atom" | "AudioLines" | "AudioWaveform" | "Award" | "Axe" | "Axis3d" | "Baby" | "Backpack" | "BadgeAlert" | "BadgeCent" | "BadgeCheck" | "BadgeDollarSign" | "BadgeEuro" | "BadgeIndianRupee" | "BadgeInfo" | "BadgeJapaneseYen" | "BadgeMinus" | "BadgePercent" | "BadgePlus" | "BadgePoundSterling" | "BadgeQuestionMark" | "BadgeRussianRuble" | "BadgeSwissFranc" | "BadgeTurkishLira" | "BadgeX" | "BaggageClaim" | "Ban" | "Banana" | "Bandage" | "Banknote" | "BanknoteArrowDown" | "BanknoteArrowUp" | "BanknoteX" | "Barcode" | "Barrel" | "Baseline" | "Bath" | "Battery" | "BatteryCharging" | "BatteryFull" | "BatteryLow" | "BatteryMedium" | "BatteryPlus" | "BatteryWarning" | "Beaker" | "Bean" | "BeanOff" | "Bed" | "BedDouble" | "BedSingle" | "Beef" | "Beer" | "BeerOff" | "Bell" | "BellDot" | "BellElectric" | "BellMinus" | "BellOff" | "BellPlus" | "BellRing" | "BetweenHorizontalEnd" | "BetweenHorizontalStart" | "BetweenVerticalEnd" | "BetweenVerticalStart" | "BicepsFlexed" | "Bike" | "Binary" | "Binoculars" | "Biohazard" | "Bird" | "Bitcoin" | "Blend" | "Blinds" | "Bluetooth" | "BluetoothConnected" | "BluetoothOff" | "BluetoothSearching" | "Bold" | "Bolt" | "Bomb" | "Bone" | "Book" | "BookA" | "BookAlert" | "BookAudio" | "BookCheck" | "BookCopy" | "BookDashed" | "BookDown" | "BookHeadphones" | "BookHeart" | "BookImage" | "BookKey" | "BookLock" | "BookMarked" | "BookMinus" | "BookOpen" | "BookOpenCheck" | "BookOpenText" | "BookPlus" | "BookText" | "BookType" | "BookUp" | "BookUp2" | "BookUser" | "BookX" | "Bookmark" | "BookmarkCheck" | "BookmarkMinus" | "BookmarkPlus" | "BookmarkX" | "BoomBox" | "Bot" | "BotMessageSquare" | "BotOff" | "BottleWine" | "BowArrow" | "Box" | "Boxes" | "Braces" | "Brackets" | "Brain" | "BrainCircuit" | "BrainCog" | "BrickWall" | "BrickWallFire" | "Briefcase" | "BriefcaseBusiness" | "BriefcaseConveyorBelt" | "BriefcaseMedical" | "BringToFront" | "Brush" | "BrushCleaning" | "Bubbles" | "Bug" | "BugOff" | "BugPlay" | "Building" | "Building2" | "Bus" | "BusFront" | "Cable" | "CableCar" | "Cake" | "CakeSlice" | "Calculator" | "Calendar" | "Calendar1" | "CalendarArrowDown" | "CalendarArrowUp" | "CalendarCheck" | "CalendarCheck2" | "CalendarClock" | "CalendarCog" | "CalendarDays" | "CalendarFold" | "CalendarHeart" | "CalendarMinus" | "CalendarMinus2" | "CalendarOff" | "CalendarPlus" | "CalendarPlus2" | "CalendarRange" | "CalendarSearch" | "CalendarSync" | "CalendarX" | "CalendarX2" | "Camera" | "CameraOff" | "Candy" | "CandyCane" | "CandyOff" | "Cannabis" | "Captions" | "CaptionsOff" | "Car" | "CarFront" | "CarTaxiFront" | "Caravan" | "CardSim" | "Carrot" | "CaseLower" | "CaseSensitive" | "CaseUpper" | "CassetteTape" | "Cast" | "Castle" | "Cat" | "Cctv" | "ChartArea" | "ChartBar" | "ChartBarBig" | "ChartBarDecreasing" | "ChartBarIncreasing" | "ChartBarStacked" | "ChartCandlestick" | "ChartColumn" | "ChartColumnBig" | "ChartColumnDecreasing" | "ChartColumnIncreasing" | "ChartColumnStacked" | "ChartGantt" | "ChartLine" | "ChartNetwork" | "ChartNoAxesColumn" | "ChartNoAxesColumnDecreasing" | "ChartNoAxesColumnIncreasing" | "ChartNoAxesCombined" | "ChartNoAxesGantt" | "ChartPie" | "ChartScatter" | "ChartSpline" | "Check" | "CheckCheck" | "CheckLine" | "ChefHat" | "Cherry" | "ChevronDown" | "ChevronFirst" | "ChevronLast" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronsDown" | "ChevronsDownUp" | "ChevronsLeft" | "ChevronsLeftRight" | "ChevronsLeftRightEllipsis" | "ChevronsRight" | "ChevronsRightLeft" | "ChevronsUp" | "ChevronsUpDown" | "Chrome" | "Church" | "Cigarette" | "CigaretteOff" | "Circle" | "CircleAlert" | "CircleArrowDown" | "CircleArrowLeft" | "CircleArrowOutDownLeft" | "CircleArrowOutDownRight" | "CircleArrowOutUpLeft" | "CircleArrowOutUpRight" | "CircleArrowRight" | "CircleArrowUp" | "CircleCheck" | "CircleCheckBig" | "CircleChevronDown" | "CircleChevronLeft" | "CircleChevronRight" | "CircleChevronUp" | "CircleDashed" | "CircleDivide" | "CircleDollarSign" | "CircleDot" | "CircleDotDashed" | "CircleEllipsis" | "CircleEqual" | "CircleFadingArrowUp" | "CircleFadingPlus" | "CircleGauge" | "CircleMinus" | "CircleOff" | "CircleParking" | "CircleParkingOff" | "CirclePause" | "CirclePercent" | "CirclePlay" | "CirclePlus" | "CirclePoundSterling" | "CirclePower" | "CircleQuestionMark" | "CircleSlash" | "CircleSlash2" | "CircleSmall" | "CircleStar" | "CircleStop" | "CircleUser" | "CircleUserRound" | "CircleX" | "CircuitBoard" | "Citrus" | "Clapperboard" | "Clipboard" | "ClipboardCheck" | "ClipboardClock" | "ClipboardCopy" | "ClipboardList" | "ClipboardMinus" | "ClipboardPaste" | "ClipboardPen" | "ClipboardPenLine" | "ClipboardPlus" | "ClipboardType" | "ClipboardX" | "Clock" | "Clock1" | "Clock10" | "Clock11" | "Clock12" | "Clock2" | "Clock3" | "Clock4" | "Clock5" | "Clock6" | "Clock7" | "Clock8" | "Clock9" | "ClockAlert" | "ClockArrowDown" | "ClockArrowUp" | "ClockFading" | "ClockPlus" | "ClosedCaption" | "Cloud" | "CloudAlert" | "CloudCheck" | "CloudCog" | "CloudDownload" | "CloudDrizzle" | "CloudFog" | "CloudHail" | "CloudLightning" | "CloudMoon" | "CloudMoonRain" | "CloudOff" | "CloudRain" | "CloudRainWind" | "CloudSnow" | "CloudSun" | "CloudSunRain" | "CloudUpload" | "Cloudy" | "Clover" | "Club" | "Code" | "CodeXml" | "Codepen" | "Codesandbox" | "Coffee" | "Cog" | "Coins" | "Columns2" | "Columns3" | "Columns3Cog" | "Columns4" | "Combine" | "Command" | "Compass" | "Computer" | "ConciergeBell" | "Cone" | "Construction" | "Contact" | "ContactRound" | "Container" | "Contrast" | "Cookie" | "CookingPot" | "Copy" | "CopyCheck" | "CopyMinus" | "CopyPlus" | "CopySlash" | "CopyX" | "Copyleft" | "Copyright" | "CornerDownLeft" | "CornerDownRight" | "CornerLeftDown" | "CornerLeftUp" | "CornerRightDown" | "CornerRightUp" | "CornerUpLeft" | "CornerUpRight" | "Cpu" | "CreativeCommons" | "CreditCard" | "Croissant" | "Crop" | "Cross" | "Crosshair" | "Crown" | "Cuboid" | "CupSoda" | "Currency" | "Cylinder" | "Dam" | "Database" | "DatabaseBackup" | "DatabaseZap" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "Delete" | "Dessert" | "Diameter" | "Diamond" | "DiamondMinus" | "DiamondPercent" | "DiamondPlus" | "Dice1" | "Dice2" | "Dice3" | "Dice4" | "Dice5" | "Dice6" | "Dices" | "Diff" | "Disc" | "Disc2" | "Disc3" | "DiscAlbum" | "Divide" | "Dna" | "DnaOff" | "Dock" | "Dog" | "DollarSign" | "Donut" | "DoorClosed" | "DoorClosedLocked" | "DoorOpen" | "Dot" | "Download" | "DraftingCompass" | "Drama" | "Dribbble" | "Drill" | "Drone" | "Droplet" | "DropletOff" | "Droplets" | "Drum" | "Drumstick" | "Dumbbell" | "Ear" | "EarOff" | "Earth" | "EarthLock" | "Eclipse" | "Egg" | "EggFried" | "EggOff" | "Ellipsis" | "EllipsisVertical" | "Equal" | "EqualApproximately" | "EqualNot" | "Eraser" | "EthernetPort" | "Euro" | "Expand" | "ExternalLink" | "Eye" | "EyeClosed" | "EyeOff" | "Facebook" | "Factory" | "Fan" | "FastForward" | "Feather" | "Fence" | "FerrisWheel" | "Figma" | "File" | "FileArchive" | "FileAudio" | "FileAudio2" | "FileAxis3d" | "FileBadge" | "FileBadge2" | "FileBox" | "FileChartColumn" | "FileChartColumnIncreasing" | "FileChartLine" | "FileChartPie" | "FileCheck" | "FileCheck2" | "FileClock" | "FileCode" | "FileCode2" | "FileCog" | "FileDiff" | "FileDigit" | "FileDown" | "FileHeart" | "FileImage" | "FileInput" | "FileJson" | "FileJson2" | "FileKey" | "FileKey2" | "FileLock" | "FileLock2" | "FileMinus" | "FileMinus2" | "FileMusic" | "FileOutput" | "FilePen" | "FilePenLine" | "FilePlay" | "FilePlus" | "FilePlus2" | "FileQuestionMark" | "FileScan" | "FileSearch" | "FileSearch2" | "FileSliders" | "FileSpreadsheet" | "FileStack" | "FileSymlink" | "FileTerminal" | "FileText" | "FileType" | "FileType2" | "FileUp" | "FileUser" | "FileVideoCamera" | "FileVolume" | "FileVolume2" | "FileWarning" | "FileX" | "FileX2" | "Files" | "Film" | "Fingerprint" | "FireExtinguisher" | "Fish" | "FishOff" | "FishSymbol" | "Flag" | "FlagOff" | "FlagTriangleLeft" | "FlagTriangleRight" | "Flame" | "FlameKindling" | "Flashlight" | "FlashlightOff" | "FlaskConical" | "FlaskConicalOff" | "FlaskRound" | "FlipHorizontal" | "FlipHorizontal2" | "FlipVertical" | "FlipVertical2" | "Flower" | "Flower2" | "Focus" | "FoldHorizontal" | "FoldVertical" | "Folder" | "FolderArchive" | "FolderCheck" | "FolderClock" | "FolderClosed" | "FolderCode" | "FolderCog" | "FolderDot" | "FolderDown" | "FolderGit" | "FolderGit2" | "FolderHeart" | "FolderInput" | "FolderKanban" | "FolderKey" | "FolderLock" | "FolderMinus" | "FolderOpen" | "FolderOpenDot" | "FolderOutput" | "FolderPen" | "FolderPlus" | "FolderRoot" | "FolderSearch" | "FolderSearch2" | "FolderSymlink" | "FolderSync" | "FolderTree" | "FolderUp" | "FolderX" | "Folders" | "Footprints" | "Forklift" | "Forward" | "Frame" | "Framer" | "Frown" | "Fuel" | "Fullscreen" | "Funnel" | "FunnelPlus" | "FunnelX" | "GalleryHorizontal" | "GalleryHorizontalEnd" | "GalleryThumbnails" | "GalleryVertical" | "GalleryVerticalEnd" | "Gamepad" | "Gamepad2" | "Gauge" | "Gavel" | "Gem" | "GeorgianLari" | "Ghost" | "Gift" | "GitBranch" | "GitBranchPlus" | "GitCommitHorizontal" | "GitCommitVertical" | "GitCompare" | "GitCompareArrows" | "GitFork" | "GitGraph" | "GitMerge" | "GitPullRequest" | "GitPullRequestArrow" | "GitPullRequestClosed" | "GitPullRequestCreate" | "GitPullRequestCreateArrow" | "GitPullRequestDraft" | "Github" | "Gitlab" | "GlassWater" | "Glasses" | "Globe" | "GlobeLock" | "Goal" | "Gpu" | "GraduationCap" | "Grape" | "Grid2x2" | "Grid2x2Check" | "Grid2x2Plus" | "Grid2x2X" | "Grid3x2" | "Grid3x3" | "Grip" | "GripHorizontal" | "GripVertical" | "Guitar" | "Ham" | "Hamburger" | "Hammer" | "Hand" | "HandCoins" | "HandFist" | "HandGrab" | "HandHeart" | "HandHelping" | "HandMetal" | "HandPlatter" | "Handbag" | "Handshake" | "HardDrive" | "HardDriveDownload" | "HardDriveUpload" | "HardHat" | "Hash" | "HatGlasses" | "Haze" | "HdmiPort" | "Heading" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "HeadphoneOff" | "Headphones" | "Headset" | "Heart" | "HeartCrack" | "HeartHandshake" | "HeartMinus" | "HeartOff" | "HeartPlus" | "HeartPulse" | "Heater" | "Hexagon" | "Highlighter" | "Hop" | "HopOff" | "Hospital" | "Hotel" | "Hourglass" | "House" | "HousePlug" | "HousePlus" | "HouseWifi" | "IceCreamBowl" | "IceCreamCone" | "IdCard" | "IdCardLanyard" | "Image" | "ImageDown" | "ImageMinus" | "ImageOff" | "ImagePlay" | "ImagePlus" | "ImageUp" | "ImageUpscale" | "Images" | "Import" | "Inbox" | "IndentDecrease" | "IndentIncrease" | "IndianRupee" | "Infinity" | "InspectionPanel" | "Instagram" | "Italic" | "IterationCcw" | "IterationCw" | "JapaneseYen" | "Joystick" | "Kanban" | "Key" | "KeyRound" | "KeySquare" | "Keyboard" | "KeyboardMusic" | "KeyboardOff" | "Lamp" | "LampCeiling" | "LampDesk" | "LampFloor" | "LampWallDown" | "LampWallUp" | "LandPlot" | "Landmark" | "Languages" | "Laptop" | "LaptopMinimal" | "LaptopMinimalCheck" | "Lasso" | "LassoSelect" | "Laugh" | "Layers" | "Layers2" | "LayoutDashboard" | "LayoutGrid" | "LayoutList" | "LayoutPanelLeft" | "LayoutPanelTop" | "LayoutTemplate" | "Leaf" | "LeafyGreen" | "Lectern" | "LetterText" | "Library" | "LibraryBig" | "LifeBuoy" | "Ligature" | "Lightbulb" | "LightbulbOff" | "LineSquiggle" | "Link" | "Link2" | "Link2Off" | "Linkedin" | "ListCheck" | "ListChecks" | "ListCollapse" | "ListEnd" | "ListFilter" | "ListFilterPlus" | "ListMinus" | "ListMusic" | "ListOrdered" | "ListPlus" | "ListRestart" | "ListStart" | "ListTodo" | "ListTree" | "ListVideo" | "ListX" | "LoaderCircle" | "LoaderPinwheel" | "Locate" | "LocateFixed" | "LocateOff" | "Lock" | "LockKeyhole" | "LockKeyholeOpen" | "LockOpen" | "LogIn" | "LogOut" | "Logs" | "Lollipop" | "Luggage" | "Magnet" | "Mail" | "MailCheck" | "MailMinus" | "MailOpen" | "MailPlus" | "MailQuestionMark" | "MailSearch" | "MailWarning" | "MailX" | "Mailbox" | "Mails" | "Map" | "MapMinus" | "MapPin" | "MapPinCheck" | "MapPinCheckInside" | "MapPinHouse" | "MapPinMinus" | "MapPinMinusInside" | "MapPinOff" | "MapPinPen" | "MapPinPlus" | "MapPinPlusInside" | "MapPinX" | "MapPinXInside" | "MapPinned" | "MapPlus" | "Mars" | "MarsStroke" | "Martini" | "Maximize" | "Maximize2" | "Medal" | "Megaphone" | "MegaphoneOff" | "Meh" | "MemoryStick" | "Merge" | "MessageCircle" | "MessageCircleCode" | "MessageCircleDashed" | "MessageCircleHeart" | "MessageCircleMore" | "MessageCircleOff" | "MessageCirclePlus" | "MessageCircleQuestionMark" | "MessageCircleReply" | "MessageCircleWarning" | "MessageCircleX" | "MessageSquare" | "MessageSquareCode" | "MessageSquareDashed" | "MessageSquareDiff" | "MessageSquareDot" | "MessageSquareHeart" | "MessageSquareLock" | "MessageSquareMore" | "MessageSquareOff" | "MessageSquarePlus" | "MessageSquareQuote" | "MessageSquareReply" | "MessageSquareShare" | "MessageSquareText" | "MessageSquareWarning" | "MessageSquareX" | "MessagesSquare" | "Mic" | "MicOff" | "MicVocal" | "Microchip" | "Microscope" | "Microwave" | "Milestone" | "Milk" | "MilkOff" | "Minimize" | "Minimize2" | "Minus" | "Monitor" | "MonitorCheck" | "MonitorCog" | "MonitorDot" | "MonitorDown" | "MonitorOff" | "MonitorPause" | "MonitorPlay" | "MonitorSmartphone" | "MonitorSpeaker" | "MonitorStop" | "MonitorUp" | "MonitorX" | "Moon" | "MoonStar" | "Mountain" | "MountainSnow" | "Mouse" | "MouseOff" | "MousePointer" | "MousePointer2" | "MousePointerBan" | "MousePointerClick" | "Move" | "Move3d" | "MoveDiagonal" | "MoveDiagonal2" | "MoveDown" | "MoveDownLeft" | "MoveDownRight" | "MoveHorizontal" | "MoveLeft" | "MoveRight" | "MoveUp" | "MoveUpLeft" | "MoveUpRight" | "MoveVertical" | "Music" | "Music2" | "Music3" | "Music4" | "Navigation2" | "Navigation2Off" | "NavigationOff" | "Network" | "Newspaper" | "Nfc" | "NonBinary" | "Notebook" | "NotebookPen" | "NotebookTabs" | "NotebookText" | "NotepadText" | "NotepadTextDashed" | "Nut" | "NutOff" | "Octagon" | "OctagonAlert" | "OctagonMinus" | "OctagonPause" | "OctagonX" | "Omega" | "Orbit" | "Origami" | "Package" | "Package2" | "PackageCheck" | "PackageMinus" | "PackageOpen" | "PackagePlus" | "PackageSearch" | "PackageX" | "PaintBucket" | "PaintRoller" | "Paintbrush" | "PaintbrushVertical" | "Palette" | "Panda" | "PanelBottom" | "PanelBottomClose" | "PanelBottomDashed" | "PanelBottomOpen" | "PanelLeft" | "PanelLeftClose" | "PanelLeftDashed" | "PanelLeftOpen" | "PanelRight" | "PanelRightClose" | "PanelRightDashed" | "PanelRightOpen" | "PanelTop" | "PanelTopClose" | "PanelTopDashed" | "PanelTopOpen" | "PanelsLeftBottom" | "PanelsRightBottom" | "PanelsTopLeft" | "Paperclip" | "Parentheses" | "ParkingMeter" | "PartyPopper" | "Pause" | "PawPrint" | "PcCase" | "Pen" | "PenLine" | "PenOff" | "PenTool" | "Pencil" | "PencilLine" | "PencilOff" | "PencilRuler" | "Pentagon" | "Percent" | "PersonStanding" | "PhilippinePeso" | "Phone" | "PhoneCall" | "PhoneForwarded" | "PhoneIncoming" | "PhoneMissed" | "PhoneOff" | "PhoneOutgoing" | "Pi" | "Piano" | "Pickaxe" | "PictureInPicture" | "PictureInPicture2" | "PiggyBank" | "Pilcrow" | "PilcrowLeft" | "PilcrowRight" | "Pill" | "PillBottle" | "Pin" | "PinOff" | "Pipette" | "Pizza" | "Plane" | "PlaneLanding" | "PlaneTakeoff" | "Play" | "Plug" | "Plug2" | "PlugZap" | "Plus" | "Pocket" | "PocketKnife" | "Podcast" | "Pointer" | "PointerOff" | "Popcorn" | "Popsicle" | "PoundSterling" | "Power" | "PowerOff" | "Presentation" | "Printer" | "PrinterCheck" | "Projector" | "Proportions" | "Puzzle" | "Pyramid" | "QrCode" | "Quote" | "Rabbit" | "Radar" | "Radiation" | "Radical" | "RadioReceiver" | "RadioTower" | "Radius" | "RailSymbol" | "Rainbow" | "Rat" | "Ratio" | "Receipt" | "ReceiptCent" | "ReceiptEuro" | "ReceiptIndianRupee" | "ReceiptJapaneseYen" | "ReceiptPoundSterling" | "ReceiptRussianRuble" | "ReceiptSwissFranc" | "ReceiptText" | "ReceiptTurkishLira" | "RectangleCircle" | "RectangleEllipsis" | "RectangleGoggles" | "RectangleHorizontal" | "RectangleVertical" | "Recycle" | "Redo" | "Redo2" | "RedoDot" | "RefreshCcw" | "RefreshCcwDot" | "RefreshCw" | "RefreshCwOff" | "Refrigerator" | "Regex" | "RemoveFormatting" | "Repeat" | "Repeat1" | "Repeat2" | "Replace" | "ReplaceAll" | "Reply" | "ReplyAll" | "Rewind" | "Ribbon" | "Rocket" | "RockingChair" | "RollerCoaster" | "Rotate3d" | "RotateCcw" | "RotateCcwKey" | "RotateCcwSquare" | "RotateCw" | "RotateCwSquare" | "Route" | "RouteOff" | "Router" | "Rows2" | "Rows3" | "Rows4" | "Rss" | "Ruler" | "RulerDimensionLine" | "RussianRuble" | "Sailboat" | "Salad" | "Sandwich" | "Satellite" | "SatelliteDish" | "SaudiRiyal" | "Save" | "SaveAll" | "SaveOff" | "Scale" | "Scale3d" | "Scaling" | "Scan" | "ScanBarcode" | "ScanEye" | "ScanFace" | "ScanHeart" | "ScanLine" | "ScanQrCode" | "ScanSearch" | "ScanText" | "School" | "Scissors" | "ScissorsLineDashed" | "ScreenShare" | "ScreenShareOff" | "Scroll" | "ScrollText" | "Search" | "SearchCheck" | "SearchCode" | "SearchSlash" | "SearchX" | "Section" | "Send" | "SendHorizontal" | "SendToBack" | "SeparatorHorizontal" | "SeparatorVertical" | "Server" | "ServerCog" | "ServerCrash" | "ServerOff" | "Settings2" | "Shapes" | "Share" | "Share2" | "Shell" | "Shield" | "ShieldAlert" | "ShieldBan" | "ShieldCheck" | "ShieldEllipsis" | "ShieldHalf" | "ShieldMinus" | "ShieldOff" | "ShieldPlus" | "ShieldQuestionMark" | "ShieldUser" | "ShieldX" | "ShipWheel" | "Shirt" | "ShoppingBag" | "ShoppingBasket" | "ShoppingCart" | "Shovel" | "ShowerHead" | "Shredder" | "Shrimp" | "Shrink" | "Shrub" | "Shuffle" | "Sigma" | "Signal" | "SignalHigh" | "SignalLow" | "SignalMedium" | "SignalZero" | "Signature" | "Signpost" | "SignpostBig" | "Siren" | "SkipBack" | "SkipForward" | "Skull" | "Slack" | "Slash" | "Slice" | "SlidersHorizontal" | "SlidersVertical" | "Smartphone" | "SmartphoneCharging" | "SmartphoneNfc" | "Smile" | "SmilePlus" | "Snail" | "Snowflake" | "SoapDispenserDroplet" | "Sofa" | "Soup" | "Space" | "Spade" | "Sparkle" | "Sparkles" | "Speaker" | "Speech" | "SpellCheck" | "SpellCheck2" | "Spline" | "SplinePointer" | "Split" | "Spool" | "Spotlight" | "SprayCan" | "Sprout" | "Square" | "SquareActivity" | "SquareArrowDown" | "SquareArrowDownLeft" | "SquareArrowDownRight" | "SquareArrowLeft" | "SquareArrowOutDownLeft" | "SquareArrowOutDownRight" | "SquareArrowOutUpLeft" | "SquareArrowOutUpRight" | "SquareArrowRight" | "SquareArrowUp" | "SquareArrowUpLeft" | "SquareArrowUpRight" | "SquareAsterisk" | "SquareBottomDashedScissors" | "SquareChartGantt" | "SquareCheck" | "SquareCheckBig" | "SquareChevronDown" | "SquareChevronLeft" | "SquareChevronRight" | "SquareChevronUp" | "SquareCode" | "SquareDashed" | "SquareDashedBottom" | "SquareDashedBottomCode" | "SquareDashedKanban" | "SquareDashedMousePointer" | "SquareDashedTopSolid" | "SquareDivide" | "SquareDot" | "SquareEqual" | "SquareFunction" | "SquareKanban" | "SquareLibrary" | "SquareM" | "SquareMenu" | "SquareMinus" | "SquareMousePointer" | "SquareParking" | "SquareParkingOff" | "SquarePause" | "SquarePen" | "SquarePercent" | "SquarePi" | "SquarePilcrow" | "SquarePlay" | "SquarePlus" | "SquarePower" | "SquareRadical" | "SquareRoundCorner" | "SquareScissors" | "SquareSigma" | "SquareSlash" | "SquareSplitHorizontal" | "SquareSplitVertical" | "SquareSquare" | "SquareStack" | "SquareStar" | "SquareStop" | "SquareTerminal" | "SquareUser" | "SquareUserRound" | "SquareX" | "SquaresExclude" | "SquaresIntersect" | "SquaresSubtract" | "SquaresUnite" | "Squircle" | "SquircleDashed" | "Squirrel" | "Stamp" | "Star" | "StarHalf" | "StarOff" | "StepBack" | "StepForward" | "Stethoscope" | "Sticker" | "StickyNote" | "Store" | "StretchHorizontal" | "StretchVertical" | "Strikethrough" | "Subscript" | "Sun" | "SunDim" | "SunMedium" | "SunMoon" | "SunSnow" | "Sunrise" | "Superscript" | "SwatchBook" | "SwissFranc" | "SwitchCamera" | "Sword" | "Swords" | "Syringe" | "Table2" | "TableCellsMerge" | "TableCellsSplit" | "TableColumnsSplit" | "TableOfContents" | "TableProperties" | "TableRowsSplit" | "Tablet" | "TabletSmartphone" | "Tablets" | "Tag" | "Tags" | "Tally1" | "Tally2" | "Tally3" | "Tally4" | "Tally5" | "Tangent" | "Target" | "Telescope" | "Tent" | "TentTree" | "Terminal" | "TestTube" | "TestTubeDiagonal" | "TestTubes" | "Text" | "TextCursor" | "TextCursorInput" | "TextQuote" | "TextSearch" | "TextSelect" | "Theater" | "Thermometer" | "ThermometerSnowflake" | "ThermometerSun" | "ThumbsDown" | "ThumbsUp" | "Ticket" | "TicketCheck" | "TicketMinus" | "TicketPercent" | "TicketPlus" | "TicketSlash" | "TicketX" | "Tickets" | "TicketsPlane" | "Timer" | "TimerOff" | "TimerReset" | "ToggleLeft" | "ToggleRight" | "Toilet" | "ToolCase" | "Tornado" | "Torus" | "Touchpad" | "TouchpadOff" | "TowerControl" | "ToyBrick" | "Tractor" | "TrafficCone" | "TrainFront" | "TrainFrontTunnel" | "TrainTrack" | "TramFront" | "Transgender" | "Trash" | "Trash2" | "TreeDeciduous" | "TreePalm" | "TreePine" | "Trees" | "Trello" | "TrendingDown" | "TrendingUp" | "TrendingUpDown" | "Triangle" | "TriangleAlert" | "TriangleDashed" | "TriangleRight" | "Trophy" | "Truck" | "TruckElectric" | "TurkishLira" | "Turntable" | "Turtle" | "Tv" | "TvMinimal" | "TvMinimalPlay" | "Twitch" | "Twitter" | "Type" | "TypeOutline" | "Umbrella" | "UmbrellaOff" | "Underline" | "Undo" | "Undo2" | "UndoDot" | "UnfoldHorizontal" | "UnfoldVertical" | "Ungroup" | "University" | "Unlink" | "Unlink2" | "Unplug" | "Upload" | "Usb" | "User" | "UserCheck" | "UserCog" | "UserLock" | "UserMinus" | "UserPen" | "UserPlus" | "UserRound" | "UserRoundCheck" | "UserRoundCog" | "UserRoundMinus" | "UserRoundPen" | "UserRoundPlus" | "UserRoundSearch" | "UserRoundX" | "UserSearch" | "UserStar" | "UserX" | "Users" | "UsersRound" | "Utensils" | "UtensilsCrossed" | "UtilityPole" | "Variable" | "Vault" | "VectorSquare" | "Vegan" | "VenetianMask" | "Venus" | "VenusAndMars" | "Vibrate" | "VibrateOff" | "Video" | "VideoOff" | "Videotape" | "View" | "Voicemail" | "Volleyball" | "Volume" | "Volume1" | "Volume2" | "VolumeOff" | "VolumeX" | "Vote" | "Wallet" | "WalletCards" | "WalletMinimal" | "Wallpaper" | "Wand" | "WandSparkles" | "Warehouse" | "WashingMachine" | "Watch" | "Waves" | "WavesLadder" | "Waypoints" | "Webcam" | "Webhook" | "WebhookOff" | "Weight" | "Wheat" | "WheatOff" | "WholeWord" | "Wifi" | "WifiCog" | "WifiHigh" | "WifiLow" | "WifiOff" | "WifiPen" | "WifiSync" | "WifiZero" | "Wind" | "WindArrowDown" | "Wine" | "WineOff" | "Workflow" | "Worm" | "WrapText" | "Wrench" | "X" | "Youtube" | "Zap" | "ZapOff" | "ZoomIn" | "ZoomOut", () => Promise<any>>;
|
|
3
|
+
export declare const dynamicIconImports: Record<"Badge" | "Menu" | "ArrowRight" | "ArrowLeft" | "Option" | "Group" | "Orbit" | "Play" | "Cookie" | "Share" | "Settings" | "Sheet" | "Loader" | "Table" | "Radio" | "List" | "Navigation" | "Blocks" | "Ship" | "Component" | "Info" | "History" | "Sunset" | "AArrowDown" | "AArrowUp" | "ALargeSmall" | "Accessibility" | "Activity" | "AirVent" | "Airplay" | "AlarmClock" | "AlarmClockCheck" | "AlarmClockMinus" | "AlarmClockOff" | "AlarmClockPlus" | "AlarmSmoke" | "Album" | "AlignCenter" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignHorizontalDistributeCenter" | "AlignHorizontalDistributeEnd" | "AlignHorizontalDistributeStart" | "AlignHorizontalJustifyCenter" | "AlignHorizontalJustifyEnd" | "AlignHorizontalJustifyStart" | "AlignHorizontalSpaceAround" | "AlignHorizontalSpaceBetween" | "AlignJustify" | "AlignLeft" | "AlignRight" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignVerticalDistributeCenter" | "AlignVerticalDistributeEnd" | "AlignVerticalDistributeStart" | "AlignVerticalJustifyCenter" | "AlignVerticalJustifyEnd" | "AlignVerticalJustifyStart" | "AlignVerticalSpaceAround" | "AlignVerticalSpaceBetween" | "Ambulance" | "Ampersand" | "Ampersands" | "Amphora" | "Anchor" | "Angry" | "Annoyed" | "Antenna" | "Anvil" | "Aperture" | "AppWindow" | "AppWindowMac" | "Apple" | "Archive" | "ArchiveRestore" | "ArchiveX" | "Armchair" | "ArrowBigDown" | "ArrowBigDownDash" | "ArrowBigLeft" | "ArrowBigLeftDash" | "ArrowBigRight" | "ArrowBigRightDash" | "ArrowBigUp" | "ArrowBigUpDash" | "ArrowDown" | "ArrowDown01" | "ArrowDown10" | "ArrowDownAZ" | "ArrowDownFromLine" | "ArrowDownLeft" | "ArrowDownNarrowWide" | "ArrowDownRight" | "ArrowDownToDot" | "ArrowDownToLine" | "ArrowDownUp" | "ArrowDownWideNarrow" | "ArrowDownZA" | "ArrowLeftFromLine" | "ArrowLeftRight" | "ArrowLeftToLine" | "ArrowRightFromLine" | "ArrowRightLeft" | "ArrowRightToLine" | "ArrowUp" | "ArrowUp01" | "ArrowUp10" | "ArrowUpAZ" | "ArrowUpDown" | "ArrowUpFromDot" | "ArrowUpFromLine" | "ArrowUpLeft" | "ArrowUpNarrowWide" | "ArrowUpRight" | "ArrowUpToLine" | "ArrowUpWideNarrow" | "ArrowUpZA" | "ArrowsUpFromLine" | "Asterisk" | "AtSign" | "Atom" | "AudioLines" | "AudioWaveform" | "Award" | "Axe" | "Axis3d" | "Baby" | "Backpack" | "BadgeAlert" | "BadgeCent" | "BadgeCheck" | "BadgeDollarSign" | "BadgeEuro" | "BadgeIndianRupee" | "BadgeInfo" | "BadgeJapaneseYen" | "BadgeMinus" | "BadgePercent" | "BadgePlus" | "BadgePoundSterling" | "BadgeQuestionMark" | "BadgeRussianRuble" | "BadgeSwissFranc" | "BadgeTurkishLira" | "BadgeX" | "BaggageClaim" | "Ban" | "Banana" | "Bandage" | "Banknote" | "BanknoteArrowDown" | "BanknoteArrowUp" | "BanknoteX" | "Barcode" | "Barrel" | "Baseline" | "Bath" | "Battery" | "BatteryCharging" | "BatteryFull" | "BatteryLow" | "BatteryMedium" | "BatteryPlus" | "BatteryWarning" | "Beaker" | "Bean" | "BeanOff" | "Bed" | "BedDouble" | "BedSingle" | "Beef" | "Beer" | "BeerOff" | "Bell" | "BellDot" | "BellElectric" | "BellMinus" | "BellOff" | "BellPlus" | "BellRing" | "BetweenHorizontalEnd" | "BetweenHorizontalStart" | "BetweenVerticalEnd" | "BetweenVerticalStart" | "BicepsFlexed" | "Bike" | "Binary" | "Binoculars" | "Biohazard" | "Bird" | "Bitcoin" | "Blend" | "Blinds" | "Bluetooth" | "BluetoothConnected" | "BluetoothOff" | "BluetoothSearching" | "Bold" | "Bolt" | "Bomb" | "Bone" | "Book" | "BookA" | "BookAlert" | "BookAudio" | "BookCheck" | "BookCopy" | "BookDashed" | "BookDown" | "BookHeadphones" | "BookHeart" | "BookImage" | "BookKey" | "BookLock" | "BookMarked" | "BookMinus" | "BookOpen" | "BookOpenCheck" | "BookOpenText" | "BookPlus" | "BookText" | "BookType" | "BookUp" | "BookUp2" | "BookUser" | "BookX" | "Bookmark" | "BookmarkCheck" | "BookmarkMinus" | "BookmarkPlus" | "BookmarkX" | "BoomBox" | "Bot" | "BotMessageSquare" | "BotOff" | "BottleWine" | "BowArrow" | "Box" | "Boxes" | "Braces" | "Brackets" | "Brain" | "BrainCircuit" | "BrainCog" | "BrickWall" | "BrickWallFire" | "Briefcase" | "BriefcaseBusiness" | "BriefcaseConveyorBelt" | "BriefcaseMedical" | "BringToFront" | "Brush" | "BrushCleaning" | "Bubbles" | "Bug" | "BugOff" | "BugPlay" | "Building" | "Building2" | "Bus" | "BusFront" | "Cable" | "CableCar" | "Cake" | "CakeSlice" | "Calculator" | "Calendar" | "Calendar1" | "CalendarArrowDown" | "CalendarArrowUp" | "CalendarCheck" | "CalendarCheck2" | "CalendarClock" | "CalendarCog" | "CalendarDays" | "CalendarFold" | "CalendarHeart" | "CalendarMinus" | "CalendarMinus2" | "CalendarOff" | "CalendarPlus" | "CalendarPlus2" | "CalendarRange" | "CalendarSearch" | "CalendarSync" | "CalendarX" | "CalendarX2" | "Camera" | "CameraOff" | "Candy" | "CandyCane" | "CandyOff" | "Cannabis" | "Captions" | "CaptionsOff" | "Car" | "CarFront" | "CarTaxiFront" | "Caravan" | "CardSim" | "Carrot" | "CaseLower" | "CaseSensitive" | "CaseUpper" | "CassetteTape" | "Cast" | "Castle" | "Cat" | "Cctv" | "ChartArea" | "ChartBar" | "ChartBarBig" | "ChartBarDecreasing" | "ChartBarIncreasing" | "ChartBarStacked" | "ChartCandlestick" | "ChartColumn" | "ChartColumnBig" | "ChartColumnDecreasing" | "ChartColumnIncreasing" | "ChartColumnStacked" | "ChartGantt" | "ChartLine" | "ChartNetwork" | "ChartNoAxesColumn" | "ChartNoAxesColumnDecreasing" | "ChartNoAxesColumnIncreasing" | "ChartNoAxesCombined" | "ChartNoAxesGantt" | "ChartPie" | "ChartScatter" | "ChartSpline" | "Check" | "CheckCheck" | "CheckLine" | "ChefHat" | "Cherry" | "ChevronDown" | "ChevronFirst" | "ChevronLast" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronsDown" | "ChevronsDownUp" | "ChevronsLeft" | "ChevronsLeftRight" | "ChevronsLeftRightEllipsis" | "ChevronsRight" | "ChevronsRightLeft" | "ChevronsUp" | "ChevronsUpDown" | "Chrome" | "Church" | "Cigarette" | "CigaretteOff" | "Circle" | "CircleAlert" | "CircleArrowDown" | "CircleArrowLeft" | "CircleArrowOutDownLeft" | "CircleArrowOutDownRight" | "CircleArrowOutUpLeft" | "CircleArrowOutUpRight" | "CircleArrowRight" | "CircleArrowUp" | "CircleCheck" | "CircleCheckBig" | "CircleChevronDown" | "CircleChevronLeft" | "CircleChevronRight" | "CircleChevronUp" | "CircleDashed" | "CircleDivide" | "CircleDollarSign" | "CircleDot" | "CircleDotDashed" | "CircleEllipsis" | "CircleEqual" | "CircleFadingArrowUp" | "CircleFadingPlus" | "CircleGauge" | "CircleMinus" | "CircleOff" | "CircleParking" | "CircleParkingOff" | "CirclePause" | "CirclePercent" | "CirclePlay" | "CirclePlus" | "CirclePoundSterling" | "CirclePower" | "CircleQuestionMark" | "CircleSlash" | "CircleSlash2" | "CircleSmall" | "CircleStar" | "CircleStop" | "CircleUser" | "CircleUserRound" | "CircleX" | "CircuitBoard" | "Citrus" | "Clapperboard" | "Clipboard" | "ClipboardCheck" | "ClipboardClock" | "ClipboardCopy" | "ClipboardList" | "ClipboardMinus" | "ClipboardPaste" | "ClipboardPen" | "ClipboardPenLine" | "ClipboardPlus" | "ClipboardType" | "ClipboardX" | "Clock" | "Clock1" | "Clock10" | "Clock11" | "Clock12" | "Clock2" | "Clock3" | "Clock4" | "Clock5" | "Clock6" | "Clock7" | "Clock8" | "Clock9" | "ClockAlert" | "ClockArrowDown" | "ClockArrowUp" | "ClockFading" | "ClockPlus" | "ClosedCaption" | "Cloud" | "CloudAlert" | "CloudCheck" | "CloudCog" | "CloudDownload" | "CloudDrizzle" | "CloudFog" | "CloudHail" | "CloudLightning" | "CloudMoon" | "CloudMoonRain" | "CloudOff" | "CloudRain" | "CloudRainWind" | "CloudSnow" | "CloudSun" | "CloudSunRain" | "CloudUpload" | "Cloudy" | "Clover" | "Club" | "Code" | "CodeXml" | "Codepen" | "Codesandbox" | "Coffee" | "Cog" | "Coins" | "Columns2" | "Columns3" | "Columns3Cog" | "Columns4" | "Combine" | "Command" | "Compass" | "Computer" | "ConciergeBell" | "Cone" | "Construction" | "Contact" | "ContactRound" | "Container" | "Contrast" | "CookingPot" | "Copy" | "CopyCheck" | "CopyMinus" | "CopyPlus" | "CopySlash" | "CopyX" | "Copyleft" | "Copyright" | "CornerDownLeft" | "CornerDownRight" | "CornerLeftDown" | "CornerLeftUp" | "CornerRightDown" | "CornerRightUp" | "CornerUpLeft" | "CornerUpRight" | "Cpu" | "CreativeCommons" | "CreditCard" | "Croissant" | "Crop" | "Cross" | "Crosshair" | "Crown" | "Cuboid" | "CupSoda" | "Currency" | "Cylinder" | "Dam" | "Database" | "DatabaseBackup" | "DatabaseZap" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "Delete" | "Dessert" | "Diameter" | "Diamond" | "DiamondMinus" | "DiamondPercent" | "DiamondPlus" | "Dice1" | "Dice2" | "Dice3" | "Dice4" | "Dice5" | "Dice6" | "Dices" | "Diff" | "Disc" | "Disc2" | "Disc3" | "DiscAlbum" | "Divide" | "Dna" | "DnaOff" | "Dock" | "Dog" | "DollarSign" | "Donut" | "DoorClosed" | "DoorClosedLocked" | "DoorOpen" | "Dot" | "Download" | "DraftingCompass" | "Drama" | "Dribbble" | "Drill" | "Drone" | "Droplet" | "DropletOff" | "Droplets" | "Drum" | "Drumstick" | "Dumbbell" | "Ear" | "EarOff" | "Earth" | "EarthLock" | "Eclipse" | "Egg" | "EggFried" | "EggOff" | "Ellipsis" | "EllipsisVertical" | "Equal" | "EqualApproximately" | "EqualNot" | "Eraser" | "EthernetPort" | "Euro" | "Expand" | "ExternalLink" | "Eye" | "EyeClosed" | "EyeOff" | "Facebook" | "Factory" | "Fan" | "FastForward" | "Feather" | "Fence" | "FerrisWheel" | "Figma" | "File" | "FileArchive" | "FileAudio" | "FileAudio2" | "FileAxis3d" | "FileBadge" | "FileBadge2" | "FileBox" | "FileChartColumn" | "FileChartColumnIncreasing" | "FileChartLine" | "FileChartPie" | "FileCheck" | "FileCheck2" | "FileClock" | "FileCode" | "FileCode2" | "FileCog" | "FileDiff" | "FileDigit" | "FileDown" | "FileHeart" | "FileImage" | "FileInput" | "FileJson" | "FileJson2" | "FileKey" | "FileKey2" | "FileLock" | "FileLock2" | "FileMinus" | "FileMinus2" | "FileMusic" | "FileOutput" | "FilePen" | "FilePenLine" | "FilePlay" | "FilePlus" | "FilePlus2" | "FileQuestionMark" | "FileScan" | "FileSearch" | "FileSearch2" | "FileSliders" | "FileSpreadsheet" | "FileStack" | "FileSymlink" | "FileTerminal" | "FileText" | "FileType" | "FileType2" | "FileUp" | "FileUser" | "FileVideoCamera" | "FileVolume" | "FileVolume2" | "FileWarning" | "FileX" | "FileX2" | "Files" | "Film" | "Fingerprint" | "FireExtinguisher" | "Fish" | "FishOff" | "FishSymbol" | "Flag" | "FlagOff" | "FlagTriangleLeft" | "FlagTriangleRight" | "Flame" | "FlameKindling" | "Flashlight" | "FlashlightOff" | "FlaskConical" | "FlaskConicalOff" | "FlaskRound" | "FlipHorizontal" | "FlipHorizontal2" | "FlipVertical" | "FlipVertical2" | "Flower" | "Flower2" | "Focus" | "FoldHorizontal" | "FoldVertical" | "Folder" | "FolderArchive" | "FolderCheck" | "FolderClock" | "FolderClosed" | "FolderCode" | "FolderCog" | "FolderDot" | "FolderDown" | "FolderGit" | "FolderGit2" | "FolderHeart" | "FolderInput" | "FolderKanban" | "FolderKey" | "FolderLock" | "FolderMinus" | "FolderOpen" | "FolderOpenDot" | "FolderOutput" | "FolderPen" | "FolderPlus" | "FolderRoot" | "FolderSearch" | "FolderSearch2" | "FolderSymlink" | "FolderSync" | "FolderTree" | "FolderUp" | "FolderX" | "Folders" | "Footprints" | "Forklift" | "Forward" | "Frame" | "Framer" | "Frown" | "Fuel" | "Fullscreen" | "Funnel" | "FunnelPlus" | "FunnelX" | "GalleryHorizontal" | "GalleryHorizontalEnd" | "GalleryThumbnails" | "GalleryVertical" | "GalleryVerticalEnd" | "Gamepad" | "Gamepad2" | "Gauge" | "Gavel" | "Gem" | "GeorgianLari" | "Ghost" | "Gift" | "GitBranch" | "GitBranchPlus" | "GitCommitHorizontal" | "GitCommitVertical" | "GitCompare" | "GitCompareArrows" | "GitFork" | "GitGraph" | "GitMerge" | "GitPullRequest" | "GitPullRequestArrow" | "GitPullRequestClosed" | "GitPullRequestCreate" | "GitPullRequestCreateArrow" | "GitPullRequestDraft" | "Github" | "Gitlab" | "GlassWater" | "Glasses" | "Globe" | "GlobeLock" | "Goal" | "Gpu" | "GraduationCap" | "Grape" | "Grid2x2" | "Grid2x2Check" | "Grid2x2Plus" | "Grid2x2X" | "Grid3x2" | "Grid3x3" | "Grip" | "GripHorizontal" | "GripVertical" | "Guitar" | "Ham" | "Hamburger" | "Hammer" | "Hand" | "HandCoins" | "HandFist" | "HandGrab" | "HandHeart" | "HandHelping" | "HandMetal" | "HandPlatter" | "Handbag" | "Handshake" | "HardDrive" | "HardDriveDownload" | "HardDriveUpload" | "HardHat" | "Hash" | "HatGlasses" | "Haze" | "HdmiPort" | "Heading" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "HeadphoneOff" | "Headphones" | "Headset" | "Heart" | "HeartCrack" | "HeartHandshake" | "HeartMinus" | "HeartOff" | "HeartPlus" | "HeartPulse" | "Heater" | "Hexagon" | "Highlighter" | "Hop" | "HopOff" | "Hospital" | "Hotel" | "Hourglass" | "House" | "HousePlug" | "HousePlus" | "HouseWifi" | "IceCreamBowl" | "IceCreamCone" | "IdCard" | "IdCardLanyard" | "Image" | "ImageDown" | "ImageMinus" | "ImageOff" | "ImagePlay" | "ImagePlus" | "ImageUp" | "ImageUpscale" | "Images" | "Import" | "Inbox" | "IndentDecrease" | "IndentIncrease" | "IndianRupee" | "Infinity" | "InspectionPanel" | "Instagram" | "Italic" | "IterationCcw" | "IterationCw" | "JapaneseYen" | "Joystick" | "Kanban" | "Key" | "KeyRound" | "KeySquare" | "Keyboard" | "KeyboardMusic" | "KeyboardOff" | "Lamp" | "LampCeiling" | "LampDesk" | "LampFloor" | "LampWallDown" | "LampWallUp" | "LandPlot" | "Landmark" | "Languages" | "Laptop" | "LaptopMinimal" | "LaptopMinimalCheck" | "Lasso" | "LassoSelect" | "Laugh" | "Layers" | "Layers2" | "LayoutDashboard" | "LayoutGrid" | "LayoutList" | "LayoutPanelLeft" | "LayoutPanelTop" | "LayoutTemplate" | "Leaf" | "LeafyGreen" | "Lectern" | "LetterText" | "Library" | "LibraryBig" | "LifeBuoy" | "Ligature" | "Lightbulb" | "LightbulbOff" | "LineSquiggle" | "Link" | "Link2" | "Link2Off" | "Linkedin" | "ListCheck" | "ListChecks" | "ListCollapse" | "ListEnd" | "ListFilter" | "ListFilterPlus" | "ListMinus" | "ListMusic" | "ListOrdered" | "ListPlus" | "ListRestart" | "ListStart" | "ListTodo" | "ListTree" | "ListVideo" | "ListX" | "LoaderCircle" | "LoaderPinwheel" | "Locate" | "LocateFixed" | "LocateOff" | "Lock" | "LockKeyhole" | "LockKeyholeOpen" | "LockOpen" | "LogIn" | "LogOut" | "Logs" | "Lollipop" | "Luggage" | "Magnet" | "Mail" | "MailCheck" | "MailMinus" | "MailOpen" | "MailPlus" | "MailQuestionMark" | "MailSearch" | "MailWarning" | "MailX" | "Mailbox" | "Mails" | "Map" | "MapMinus" | "MapPin" | "MapPinCheck" | "MapPinCheckInside" | "MapPinHouse" | "MapPinMinus" | "MapPinMinusInside" | "MapPinOff" | "MapPinPen" | "MapPinPlus" | "MapPinPlusInside" | "MapPinX" | "MapPinXInside" | "MapPinned" | "MapPlus" | "Mars" | "MarsStroke" | "Martini" | "Maximize" | "Maximize2" | "Medal" | "Megaphone" | "MegaphoneOff" | "Meh" | "MemoryStick" | "Merge" | "MessageCircle" | "MessageCircleCode" | "MessageCircleDashed" | "MessageCircleHeart" | "MessageCircleMore" | "MessageCircleOff" | "MessageCirclePlus" | "MessageCircleQuestionMark" | "MessageCircleReply" | "MessageCircleWarning" | "MessageCircleX" | "MessageSquare" | "MessageSquareCode" | "MessageSquareDashed" | "MessageSquareDiff" | "MessageSquareDot" | "MessageSquareHeart" | "MessageSquareLock" | "MessageSquareMore" | "MessageSquareOff" | "MessageSquarePlus" | "MessageSquareQuote" | "MessageSquareReply" | "MessageSquareShare" | "MessageSquareText" | "MessageSquareWarning" | "MessageSquareX" | "MessagesSquare" | "Mic" | "MicOff" | "MicVocal" | "Microchip" | "Microscope" | "Microwave" | "Milestone" | "Milk" | "MilkOff" | "Minimize" | "Minimize2" | "Minus" | "Monitor" | "MonitorCheck" | "MonitorCog" | "MonitorDot" | "MonitorDown" | "MonitorOff" | "MonitorPause" | "MonitorPlay" | "MonitorSmartphone" | "MonitorSpeaker" | "MonitorStop" | "MonitorUp" | "MonitorX" | "Moon" | "MoonStar" | "Mountain" | "MountainSnow" | "Mouse" | "MouseOff" | "MousePointer" | "MousePointer2" | "MousePointerBan" | "MousePointerClick" | "Move" | "Move3d" | "MoveDiagonal" | "MoveDiagonal2" | "MoveDown" | "MoveDownLeft" | "MoveDownRight" | "MoveHorizontal" | "MoveLeft" | "MoveRight" | "MoveUp" | "MoveUpLeft" | "MoveUpRight" | "MoveVertical" | "Music" | "Music2" | "Music3" | "Music4" | "Navigation2" | "Navigation2Off" | "NavigationOff" | "Network" | "Newspaper" | "Nfc" | "NonBinary" | "Notebook" | "NotebookPen" | "NotebookTabs" | "NotebookText" | "NotepadText" | "NotepadTextDashed" | "Nut" | "NutOff" | "Octagon" | "OctagonAlert" | "OctagonMinus" | "OctagonPause" | "OctagonX" | "Omega" | "Origami" | "Package" | "Package2" | "PackageCheck" | "PackageMinus" | "PackageOpen" | "PackagePlus" | "PackageSearch" | "PackageX" | "PaintBucket" | "PaintRoller" | "Paintbrush" | "PaintbrushVertical" | "Palette" | "Panda" | "PanelBottom" | "PanelBottomClose" | "PanelBottomDashed" | "PanelBottomOpen" | "PanelLeft" | "PanelLeftClose" | "PanelLeftDashed" | "PanelLeftOpen" | "PanelRight" | "PanelRightClose" | "PanelRightDashed" | "PanelRightOpen" | "PanelTop" | "PanelTopClose" | "PanelTopDashed" | "PanelTopOpen" | "PanelsLeftBottom" | "PanelsRightBottom" | "PanelsTopLeft" | "Paperclip" | "Parentheses" | "ParkingMeter" | "PartyPopper" | "Pause" | "PawPrint" | "PcCase" | "Pen" | "PenLine" | "PenOff" | "PenTool" | "Pencil" | "PencilLine" | "PencilOff" | "PencilRuler" | "Pentagon" | "Percent" | "PersonStanding" | "PhilippinePeso" | "Phone" | "PhoneCall" | "PhoneForwarded" | "PhoneIncoming" | "PhoneMissed" | "PhoneOff" | "PhoneOutgoing" | "Pi" | "Piano" | "Pickaxe" | "PictureInPicture" | "PictureInPicture2" | "PiggyBank" | "Pilcrow" | "PilcrowLeft" | "PilcrowRight" | "Pill" | "PillBottle" | "Pin" | "PinOff" | "Pipette" | "Pizza" | "Plane" | "PlaneLanding" | "PlaneTakeoff" | "Plug" | "Plug2" | "PlugZap" | "Plus" | "Pocket" | "PocketKnife" | "Podcast" | "Pointer" | "PointerOff" | "Popcorn" | "Popsicle" | "PoundSterling" | "Power" | "PowerOff" | "Presentation" | "Printer" | "PrinterCheck" | "Projector" | "Proportions" | "Puzzle" | "Pyramid" | "QrCode" | "Quote" | "Rabbit" | "Radar" | "Radiation" | "Radical" | "RadioReceiver" | "RadioTower" | "Radius" | "RailSymbol" | "Rainbow" | "Rat" | "Ratio" | "Receipt" | "ReceiptCent" | "ReceiptEuro" | "ReceiptIndianRupee" | "ReceiptJapaneseYen" | "ReceiptPoundSterling" | "ReceiptRussianRuble" | "ReceiptSwissFranc" | "ReceiptText" | "ReceiptTurkishLira" | "RectangleCircle" | "RectangleEllipsis" | "RectangleGoggles" | "RectangleHorizontal" | "RectangleVertical" | "Recycle" | "Redo" | "Redo2" | "RedoDot" | "RefreshCcw" | "RefreshCcwDot" | "RefreshCw" | "RefreshCwOff" | "Refrigerator" | "Regex" | "RemoveFormatting" | "Repeat" | "Repeat1" | "Repeat2" | "Replace" | "ReplaceAll" | "Reply" | "ReplyAll" | "Rewind" | "Ribbon" | "Rocket" | "RockingChair" | "RollerCoaster" | "Rotate3d" | "RotateCcw" | "RotateCcwKey" | "RotateCcwSquare" | "RotateCw" | "RotateCwSquare" | "Route" | "RouteOff" | "Router" | "Rows2" | "Rows3" | "Rows4" | "Rss" | "Ruler" | "RulerDimensionLine" | "RussianRuble" | "Sailboat" | "Salad" | "Sandwich" | "Satellite" | "SatelliteDish" | "SaudiRiyal" | "Save" | "SaveAll" | "SaveOff" | "Scale" | "Scale3d" | "Scaling" | "Scan" | "ScanBarcode" | "ScanEye" | "ScanFace" | "ScanHeart" | "ScanLine" | "ScanQrCode" | "ScanSearch" | "ScanText" | "School" | "Scissors" | "ScissorsLineDashed" | "ScreenShare" | "ScreenShareOff" | "Scroll" | "ScrollText" | "Search" | "SearchCheck" | "SearchCode" | "SearchSlash" | "SearchX" | "Section" | "Send" | "SendHorizontal" | "SendToBack" | "SeparatorHorizontal" | "SeparatorVertical" | "Server" | "ServerCog" | "ServerCrash" | "ServerOff" | "Settings2" | "Shapes" | "Share2" | "Shell" | "Shield" | "ShieldAlert" | "ShieldBan" | "ShieldCheck" | "ShieldEllipsis" | "ShieldHalf" | "ShieldMinus" | "ShieldOff" | "ShieldPlus" | "ShieldQuestionMark" | "ShieldUser" | "ShieldX" | "ShipWheel" | "Shirt" | "ShoppingBag" | "ShoppingBasket" | "ShoppingCart" | "Shovel" | "ShowerHead" | "Shredder" | "Shrimp" | "Shrink" | "Shrub" | "Shuffle" | "Sigma" | "Signal" | "SignalHigh" | "SignalLow" | "SignalMedium" | "SignalZero" | "Signature" | "Signpost" | "SignpostBig" | "Siren" | "SkipBack" | "SkipForward" | "Skull" | "Slack" | "Slash" | "Slice" | "SlidersHorizontal" | "SlidersVertical" | "Smartphone" | "SmartphoneCharging" | "SmartphoneNfc" | "Smile" | "SmilePlus" | "Snail" | "Snowflake" | "SoapDispenserDroplet" | "Sofa" | "Soup" | "Space" | "Spade" | "Sparkle" | "Sparkles" | "Speaker" | "Speech" | "SpellCheck" | "SpellCheck2" | "Spline" | "SplinePointer" | "Split" | "Spool" | "Spotlight" | "SprayCan" | "Sprout" | "Square" | "SquareActivity" | "SquareArrowDown" | "SquareArrowDownLeft" | "SquareArrowDownRight" | "SquareArrowLeft" | "SquareArrowOutDownLeft" | "SquareArrowOutDownRight" | "SquareArrowOutUpLeft" | "SquareArrowOutUpRight" | "SquareArrowRight" | "SquareArrowUp" | "SquareArrowUpLeft" | "SquareArrowUpRight" | "SquareAsterisk" | "SquareBottomDashedScissors" | "SquareChartGantt" | "SquareCheck" | "SquareCheckBig" | "SquareChevronDown" | "SquareChevronLeft" | "SquareChevronRight" | "SquareChevronUp" | "SquareCode" | "SquareDashed" | "SquareDashedBottom" | "SquareDashedBottomCode" | "SquareDashedKanban" | "SquareDashedMousePointer" | "SquareDashedTopSolid" | "SquareDivide" | "SquareDot" | "SquareEqual" | "SquareFunction" | "SquareKanban" | "SquareLibrary" | "SquareM" | "SquareMenu" | "SquareMinus" | "SquareMousePointer" | "SquareParking" | "SquareParkingOff" | "SquarePause" | "SquarePen" | "SquarePercent" | "SquarePi" | "SquarePilcrow" | "SquarePlay" | "SquarePlus" | "SquarePower" | "SquareRadical" | "SquareRoundCorner" | "SquareScissors" | "SquareSigma" | "SquareSlash" | "SquareSplitHorizontal" | "SquareSplitVertical" | "SquareSquare" | "SquareStack" | "SquareStar" | "SquareStop" | "SquareTerminal" | "SquareUser" | "SquareUserRound" | "SquareX" | "SquaresExclude" | "SquaresIntersect" | "SquaresSubtract" | "SquaresUnite" | "Squircle" | "SquircleDashed" | "Squirrel" | "Stamp" | "Star" | "StarHalf" | "StarOff" | "StepBack" | "StepForward" | "Stethoscope" | "Sticker" | "StickyNote" | "Store" | "StretchHorizontal" | "StretchVertical" | "Strikethrough" | "Subscript" | "Sun" | "SunDim" | "SunMedium" | "SunMoon" | "SunSnow" | "Sunrise" | "Superscript" | "SwatchBook" | "SwissFranc" | "SwitchCamera" | "Sword" | "Swords" | "Syringe" | "Table2" | "TableCellsMerge" | "TableCellsSplit" | "TableColumnsSplit" | "TableOfContents" | "TableProperties" | "TableRowsSplit" | "Tablet" | "TabletSmartphone" | "Tablets" | "Tag" | "Tags" | "Tally1" | "Tally2" | "Tally3" | "Tally4" | "Tally5" | "Tangent" | "Target" | "Telescope" | "Tent" | "TentTree" | "Terminal" | "TestTube" | "TestTubeDiagonal" | "TestTubes" | "Text" | "TextCursor" | "TextCursorInput" | "TextQuote" | "TextSearch" | "TextSelect" | "Theater" | "Thermometer" | "ThermometerSnowflake" | "ThermometerSun" | "ThumbsDown" | "ThumbsUp" | "Ticket" | "TicketCheck" | "TicketMinus" | "TicketPercent" | "TicketPlus" | "TicketSlash" | "TicketX" | "Tickets" | "TicketsPlane" | "Timer" | "TimerOff" | "TimerReset" | "ToggleLeft" | "ToggleRight" | "Toilet" | "ToolCase" | "Tornado" | "Torus" | "Touchpad" | "TouchpadOff" | "TowerControl" | "ToyBrick" | "Tractor" | "TrafficCone" | "TrainFront" | "TrainFrontTunnel" | "TrainTrack" | "TramFront" | "Transgender" | "Trash" | "Trash2" | "TreeDeciduous" | "TreePalm" | "TreePine" | "Trees" | "Trello" | "TrendingDown" | "TrendingUp" | "TrendingUpDown" | "Triangle" | "TriangleAlert" | "TriangleDashed" | "TriangleRight" | "Trophy" | "Truck" | "TruckElectric" | "TurkishLira" | "Turntable" | "Turtle" | "Tv" | "TvMinimal" | "TvMinimalPlay" | "Twitch" | "Twitter" | "Type" | "TypeOutline" | "Umbrella" | "UmbrellaOff" | "Underline" | "Undo" | "Undo2" | "UndoDot" | "UnfoldHorizontal" | "UnfoldVertical" | "Ungroup" | "University" | "Unlink" | "Unlink2" | "Unplug" | "Upload" | "Usb" | "User" | "UserCheck" | "UserCog" | "UserLock" | "UserMinus" | "UserPen" | "UserPlus" | "UserRound" | "UserRoundCheck" | "UserRoundCog" | "UserRoundMinus" | "UserRoundPen" | "UserRoundPlus" | "UserRoundSearch" | "UserRoundX" | "UserSearch" | "UserStar" | "UserX" | "Users" | "UsersRound" | "Utensils" | "UtensilsCrossed" | "UtilityPole" | "Variable" | "Vault" | "VectorSquare" | "Vegan" | "VenetianMask" | "Venus" | "VenusAndMars" | "Vibrate" | "VibrateOff" | "Video" | "VideoOff" | "Videotape" | "View" | "Voicemail" | "Volleyball" | "Volume" | "Volume1" | "Volume2" | "VolumeOff" | "VolumeX" | "Vote" | "Wallet" | "WalletCards" | "WalletMinimal" | "Wallpaper" | "Wand" | "WandSparkles" | "Warehouse" | "WashingMachine" | "Watch" | "Waves" | "WavesLadder" | "Waypoints" | "Webcam" | "Webhook" | "WebhookOff" | "Weight" | "Wheat" | "WheatOff" | "WholeWord" | "Wifi" | "WifiCog" | "WifiHigh" | "WifiLow" | "WifiOff" | "WifiPen" | "WifiSync" | "WifiZero" | "Wind" | "WindArrowDown" | "Wine" | "WineOff" | "Workflow" | "Worm" | "WrapText" | "Wrench" | "X" | "Youtube" | "Zap" | "ZapOff" | "ZoomIn" | "ZoomOut", () => Promise<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export type ThemeMode = 'light' | 'dark' | 'system' | 'corporate' | 'midnight' | 'blueprint';
|
|
2
|
+
export type ThemeMode = 'light' | 'dark' | 'system' | 'corporate' | 'midnight' | 'blueprint' | 'markets';
|
|
3
3
|
export declare const availableThemes: ThemeMode[];
|
|
4
4
|
export interface ThemeColors {
|
|
5
5
|
primary: string;
|
|
@@ -1,42 +1,50 @@
|
|
|
1
1
|
import { jsx as W } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
const
|
|
2
|
+
import { useState as h, useEffect as M, useCallback as S, useMemo as X, createContext as Z, useContext as ee } from "react";
|
|
3
|
+
const E = [
|
|
4
4
|
"light",
|
|
5
5
|
"dark",
|
|
6
6
|
"system",
|
|
7
7
|
"corporate",
|
|
8
8
|
"midnight",
|
|
9
|
-
"blueprint"
|
|
10
|
-
|
|
9
|
+
"blueprint",
|
|
10
|
+
"markets"
|
|
11
|
+
], p = 'ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace', K = {
|
|
11
12
|
light: {
|
|
12
13
|
sans: '"Inter", system-ui, sans-serif',
|
|
13
14
|
serif: "Georgia, serif",
|
|
14
|
-
mono: `"Menlo", ${
|
|
15
|
+
mono: `"Menlo", ${p}`
|
|
15
16
|
},
|
|
16
17
|
dark: {
|
|
17
18
|
sans: '"Inter", system-ui, sans-serif',
|
|
18
19
|
serif: "Georgia, serif",
|
|
19
|
-
mono: `"Menlo", ${
|
|
20
|
+
mono: `"Menlo", ${p}`
|
|
20
21
|
},
|
|
21
22
|
system: {
|
|
22
23
|
sans: '"Inter", system-ui, sans-serif',
|
|
23
24
|
serif: "Georgia, serif",
|
|
24
|
-
mono: `"Menlo", ${
|
|
25
|
+
mono: `"Menlo", ${p}`
|
|
25
26
|
},
|
|
26
27
|
corporate: {
|
|
27
28
|
sans: '"Lato", sans-serif',
|
|
28
29
|
serif: '"Merriweather", serif',
|
|
29
|
-
mono: `"Menlo", ${
|
|
30
|
+
mono: `"Menlo", ${p}`
|
|
30
31
|
},
|
|
31
32
|
midnight: {
|
|
32
33
|
sans: '"Roboto Mono", monospace',
|
|
33
34
|
serif: "Georgia, serif",
|
|
34
|
-
mono: `"Roboto Mono", ${
|
|
35
|
+
mono: `"Roboto Mono", ${p}`
|
|
35
36
|
},
|
|
36
37
|
blueprint: {
|
|
37
38
|
sans: '"Courier New", monospace',
|
|
38
39
|
serif: "Georgia, serif",
|
|
39
|
-
mono: `"Courier New", ${
|
|
40
|
+
mono: `"Courier New", ${p}`
|
|
41
|
+
},
|
|
42
|
+
// Inter, as the quote screens it is modelled on use a plain grotesque; the
|
|
43
|
+
// figures line up because index.css sets tabular-nums under .markets.
|
|
44
|
+
markets: {
|
|
45
|
+
sans: '"Inter", system-ui, sans-serif',
|
|
46
|
+
serif: "Georgia, serif",
|
|
47
|
+
mono: `"Menlo", ${p}`
|
|
40
48
|
}
|
|
41
49
|
}, oe = 550, re = 100, V = {
|
|
42
50
|
name: "TAY Dreamboat",
|
|
@@ -54,7 +62,7 @@ const L = [
|
|
|
54
62
|
// /fonts/Tay.woff2, which does not exist anywhere in the repo — a 404 in
|
|
55
63
|
// the fallback slot of the hero font.
|
|
56
64
|
serif: '"TAY Dreamboat", "TAY Dreamboat Fallback", serif',
|
|
57
|
-
mono: `"Menlo", ${
|
|
65
|
+
mono: `"Menlo", ${p}`
|
|
58
66
|
},
|
|
59
67
|
lightColors: {
|
|
60
68
|
background: "253 251 247",
|
|
@@ -97,20 +105,20 @@ const L = [
|
|
|
97
105
|
}, J = Z(void 0), q = {
|
|
98
106
|
[V.name]: V
|
|
99
107
|
}, se = ({
|
|
100
|
-
children:
|
|
108
|
+
children: T,
|
|
101
109
|
defaultTheme: l,
|
|
102
110
|
defaultCustomTheme: i,
|
|
103
|
-
appId:
|
|
111
|
+
appId: L,
|
|
104
112
|
instanceConfig: c
|
|
105
113
|
}) => {
|
|
106
114
|
var O, z, G;
|
|
107
|
-
const v = (O = c == null ? void 0 : c.fonts) == null ? void 0 : O.sans, F = (z = c == null ? void 0 : c.fonts) == null ? void 0 : z.serif, R = (G = c == null ? void 0 : c.fonts) == null ? void 0 : G.mono, t =
|
|
115
|
+
const v = (O = c == null ? void 0 : c.fonts) == null ? void 0 : O.sans, F = (z = c == null ? void 0 : c.fonts) == null ? void 0 : z.serif, R = (G = c == null ? void 0 : c.fonts) == null ? void 0 : G.mono, t = L ? `ramme:theme:${L}` : "ramme:theme:global", [f, $] = h(() => {
|
|
108
116
|
if (typeof window < "u") {
|
|
109
117
|
const o = localStorage.getItem(`${t}:mode`);
|
|
110
|
-
return i && !o ? l || "system" : o &&
|
|
118
|
+
return i && !o ? l || "system" : o && E.includes(o) ? o : l || "system";
|
|
111
119
|
}
|
|
112
120
|
return l || "system";
|
|
113
|
-
}), [x, _] =
|
|
121
|
+
}), [x, _] = h("light"), [u, k] = h("0.5rem"), [w, I] = h("1rem"), [a, b] = h(() => {
|
|
114
122
|
if (typeof window < "u") {
|
|
115
123
|
const o = localStorage.getItem(`${t}:custom`);
|
|
116
124
|
if (o)
|
|
@@ -133,19 +141,19 @@ const L = [
|
|
|
133
141
|
};
|
|
134
142
|
o.addEventListener("change", e);
|
|
135
143
|
const d = localStorage.getItem(`${t}:borderRadius`), A = localStorage.getItem(`${t}:fontSize`);
|
|
136
|
-
return d &&
|
|
144
|
+
return d && k(d), A && I(A), () => o.removeEventListener("change", e);
|
|
137
145
|
}
|
|
138
146
|
}, [i, t]);
|
|
139
|
-
const B =
|
|
140
|
-
localStorage.removeItem(`${t}:mode`), localStorage.removeItem(`${t}:custom`), localStorage.removeItem(`${t}:borderRadius`), localStorage.removeItem(`${t}:fontSize`),
|
|
141
|
-
}, [l, i, t]), N =
|
|
142
|
-
|
|
143
|
-
}, [t]), Y =
|
|
147
|
+
const B = S(() => {
|
|
148
|
+
localStorage.removeItem(`${t}:mode`), localStorage.removeItem(`${t}:custom`), localStorage.removeItem(`${t}:borderRadius`), localStorage.removeItem(`${t}:fontSize`), k("0.5rem"), I("1rem"), i ? ($("system"), b(i)) : l ? ($(l), b(null)) : ($("system"), b(null));
|
|
149
|
+
}, [l, i, t]), N = S((o) => {
|
|
150
|
+
$(o), localStorage.setItem(`${t}:mode`, o), ["light", "dark", "system"].includes(o) || (b(null), localStorage.removeItem(`${t}:custom`));
|
|
151
|
+
}, [t]), Y = S((o) => {
|
|
144
152
|
b(o), o ? localStorage.setItem(`${t}:custom`, JSON.stringify(o)) : localStorage.removeItem(`${t}:custom`);
|
|
145
|
-
}, [t]), D =
|
|
146
|
-
|
|
147
|
-
}, [t]), P =
|
|
148
|
-
|
|
153
|
+
}, [t]), D = S((o) => {
|
|
154
|
+
k(o), localStorage.setItem(`${t}:borderRadius`, o);
|
|
155
|
+
}, [t]), P = S((o) => {
|
|
156
|
+
I(o), localStorage.setItem(`${t}:fontSize`, o);
|
|
149
157
|
}, [t]);
|
|
150
158
|
M(() => {
|
|
151
159
|
const o = document.documentElement;
|
|
@@ -158,7 +166,7 @@ const L = [
|
|
|
158
166
|
};
|
|
159
167
|
}, []), M(() => {
|
|
160
168
|
const o = document.documentElement;
|
|
161
|
-
|
|
169
|
+
E.forEach((s) => o.classList.remove(s)), o.classList.remove("custom-theme");
|
|
162
170
|
const e = (s, n) => o.style.setProperty(s, n), d = (s) => o.style.removeProperty(s), A = [
|
|
163
171
|
"system-ui",
|
|
164
172
|
"Inter",
|
|
@@ -178,15 +186,15 @@ const L = [
|
|
|
178
186
|
"TAYKula"
|
|
179
187
|
], g = (s) => {
|
|
180
188
|
const n = s.split(",")[0].replace(/['"]*/g, "").trim();
|
|
181
|
-
if (A.some((
|
|
189
|
+
if (A.some((m) => n.toLowerCase() === m.toLowerCase())) return;
|
|
182
190
|
const r = n.replace(/\s+/g, "+").toLowerCase();
|
|
183
191
|
if (Array.from(
|
|
184
192
|
document.querySelectorAll('link[rel="stylesheet"]')
|
|
185
|
-
).some((
|
|
193
|
+
).some((m) => new RegExp(`family=${r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}(?=[:&]|$)`).test(m.href.toLowerCase()))) return;
|
|
186
194
|
const C = `google-font-${n.replace(/\s+/g, "-")}`;
|
|
187
195
|
if (!document.getElementById(C)) {
|
|
188
|
-
const
|
|
189
|
-
|
|
196
|
+
const m = document.createElement("link");
|
|
197
|
+
m.id = C, m.rel = "stylesheet", m.href = `https://fonts.googleapis.com/css2?family=${n.replace(/\s+/g, "+")}:wght@400;500;600;700&display=swap`, document.head.appendChild(m);
|
|
190
198
|
}
|
|
191
199
|
}, j = [
|
|
192
200
|
"--app-primary-color",
|
|
@@ -219,10 +227,10 @@ const L = [
|
|
|
219
227
|
"--app-border-radius-sm",
|
|
220
228
|
"--app-border-radius-md",
|
|
221
229
|
"--app-border-radius-lg"
|
|
222
|
-
],
|
|
230
|
+
], y = f === "system" ? x : f;
|
|
223
231
|
if (a) {
|
|
224
232
|
o.classList.add("custom-theme");
|
|
225
|
-
const s =
|
|
233
|
+
const s = y === "dark" || y === "midnight" || y === "markets";
|
|
226
234
|
s && o.classList.add("dark");
|
|
227
235
|
const n = a.colors, r = s ? a.darkColors || n : a.lightColors || n;
|
|
228
236
|
if (!r) {
|
|
@@ -231,8 +239,8 @@ const L = [
|
|
|
231
239
|
}
|
|
232
240
|
e("--app-primary-color", r.primary), e("--app-primary-foreground-color", r.primaryForeground), e("--app-secondary-color", r.secondary), e("--app-secondary-foreground-color", r.secondaryForeground), e("--app-accent-color", r.accent), e("--app-accent-foreground-color", r.accentForeground), e("--app-danger-color", r.danger), e("--app-danger-foreground-color", r.dangerForeground), r.success ? e("--app-success-color", r.success) : d("--app-success-color"), r.warning ? e("--app-warning-color", r.warning) : d("--app-warning-color"), e("--app-bg-color", r.background), e("--app-card-bg-color", r.card), e("--app-text-color", r.text), e("--app-border-color", r.border), e("--app-muted-bg", r.muted), e("--app-muted-text", r.mutedForeground), e("--app-input-bg-color", r.input), e("--app-input-border-color", r.inputBorder), e("--app-input-focus-ring-color", r.ring), e("--app-table-header-bg", r.muted), e("--app-table-header-text", r.text), e("--app-table-row-hover-bg", r.muted), e("--app-table-grid-line-color", r.border), a.fonts && (g(a.fonts.sans), a.fonts.serif && g(a.fonts.serif), e("--app-font-serif", a.fonts.serif), e("--app-font-sans", a.fonts.sans), e("--app-font-mono", a.fonts.mono)), document.body.style.backgroundColor = `rgb(${r.background})`, document.body.style.color = `rgb(${r.text})`, e("--app-border-radius-md", a.borderRadius), e("--app-border-radius-sm", `calc(${a.borderRadius} - 0.25rem)`), e("--app-border-radius-lg", `calc(${a.borderRadius} + 0.25rem)`);
|
|
233
241
|
} else {
|
|
234
|
-
o.classList.add(
|
|
235
|
-
const s = K[
|
|
242
|
+
o.classList.add(y), j.forEach(d);
|
|
243
|
+
const s = K[y] || K.light, n = v || s.sans, r = F || s.serif, H = R || s.mono;
|
|
236
244
|
v || g(n), F || g(r), e("--app-font-sans", n), e("--app-font-serif", r), e("--app-font-mono", H), document.body.style.backgroundColor = "", document.body.style.color = "", e("--app-border-radius-md", u), e("--app-border-radius-sm", `calc(${u} - 0.25rem)`), e("--app-border-radius-lg", `calc(${u} + 0.25rem)`);
|
|
237
245
|
}
|
|
238
246
|
if (e("--app-font-size-base", w), !o.hasAttribute("data-theme-ready")) return;
|
|
@@ -246,7 +254,7 @@ const L = [
|
|
|
246
254
|
const U = X(
|
|
247
255
|
() => ({
|
|
248
256
|
theme: f,
|
|
249
|
-
availableThemes:
|
|
257
|
+
availableThemes: E,
|
|
250
258
|
setTheme: N,
|
|
251
259
|
resetTheme: B,
|
|
252
260
|
borderRadius: u,
|
|
@@ -258,16 +266,16 @@ const L = [
|
|
|
258
266
|
}),
|
|
259
267
|
[f, N, B, u, D, w, P, a, Y]
|
|
260
268
|
);
|
|
261
|
-
return /* @__PURE__ */ W(J.Provider, { value: U, children:
|
|
269
|
+
return /* @__PURE__ */ W(J.Provider, { value: U, children: T });
|
|
262
270
|
}, ne = () => {
|
|
263
|
-
const
|
|
264
|
-
if (
|
|
271
|
+
const T = ee(J);
|
|
272
|
+
if (T === void 0)
|
|
265
273
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
266
|
-
return
|
|
274
|
+
return T;
|
|
267
275
|
};
|
|
268
276
|
export {
|
|
269
277
|
V as TAY_DREAMBOAT_THEME,
|
|
270
278
|
se as ThemeProvider,
|
|
271
|
-
|
|
279
|
+
E as availableThemes,
|
|
272
280
|
ne as useTheme
|
|
273
281
|
};
|