@yuno-payments/dashboard-design-system 0.0.8-beta.6 → 0.0.9
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 +296 -66
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/components/atoms/alert/alert.d.ts +10 -0
- package/dist/components/atoms/alert/index.d.ts +1 -0
- package/dist/components/atoms/avatar/avatar-group.d.ts +9 -0
- package/dist/components/atoms/avatar/avatar.d.ts +14 -0
- package/dist/components/atoms/avatar/avatar.js +76 -0
- package/dist/components/atoms/avatar/avatar.utils.d.ts +2 -0
- package/dist/components/atoms/avatar/avatar.utils.js +11 -0
- package/dist/components/atoms/avatar/index.d.ts +2 -13
- package/dist/components/atoms/badge/badge.d.ts +12 -0
- package/dist/components/atoms/badge/badge.js +15 -0
- package/dist/components/atoms/badge/index.d.ts +1 -0
- package/dist/components/atoms/button/button.d.ts +13 -0
- package/dist/components/atoms/button/button.js +19 -0
- package/dist/components/atoms/button/index.d.ts +1 -14
- package/dist/components/atoms/checkbox/checkbox.d.ts +8 -0
- package/dist/components/atoms/checkbox/checkbox.js +35 -0
- package/dist/components/atoms/checkbox/index.d.ts +1 -10
- package/dist/components/atoms/icon/icon-list.d.ts +194 -0
- package/dist/components/atoms/icon/icon-list.js +384 -0
- package/dist/components/atoms/icon/icon.d.ts +13 -0
- package/dist/components/atoms/icon/icon.js +38 -0
- package/dist/components/atoms/icon/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +6 -0
- package/dist/components/atoms/input/index.d.ts +1 -3
- package/dist/components/atoms/input/input.d.ts +14 -0
- package/dist/components/atoms/label/index.d.ts +1 -0
- package/dist/components/atoms/radio-group/index.d.ts +1 -0
- package/dist/components/atoms/radio-group/radio-group.d.ts +13 -0
- package/dist/components/atoms/separator/index.d.ts +1 -0
- package/dist/components/atoms/separator/separator.d.ts +14 -0
- package/dist/components/atoms/skeleton/index.d.ts +1 -14
- package/dist/components/atoms/switch/index.d.ts +1 -0
- package/dist/components/atoms/switch/switch.d.ts +10 -0
- package/dist/components/atoms/tabs/index.d.ts +1 -0
- package/dist/components/atoms/tooltip/index.d.ts +1 -0
- package/dist/components/atoms/tooltip/tooltip.d.ts +14 -0
- package/dist/components/atoms/tooltip/tooltip.js +23 -0
- package/dist/components/atoms/typography/index.d.ts +1 -11
- package/dist/components/atoms/typography/typography.d.ts +11 -0
- package/dist/components/index.d.ts +3 -19
- package/dist/components/molecules/breadcrumb/breadcrumb.d.ts +17 -0
- package/dist/components/molecules/breadcrumb/breadcrumb.js +47 -0
- package/dist/components/molecules/breadcrumb/index.d.ts +1 -0
- package/dist/components/molecules/index.d.ts +1 -0
- package/dist/components/organisms/dialog/dialog.d.ts +24 -0
- package/dist/components/organisms/dialog/dialog.js +137 -0
- package/dist/components/organisms/dialog/index.d.ts +1 -34
- package/dist/components/organisms/index.d.ts +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +19 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +527 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +208 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Archive.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowBendUpRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCircleUpLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowClockwise.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCounterClockwise.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowElbowDownRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowSquareIn.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUpRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsClockwise.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsDownUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsInSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsLeftRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsOutSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Bank.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BellRinging.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BellSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BellSimpleSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Binoculars.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BoundingBox.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsAngle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsCurly.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BracketsSquare.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/BugBeetle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Buildings.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Calendar.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CalendarBlank.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Camera.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Cards.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretCircleRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDoubleLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDoubleRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDown.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartBar.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartLine.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ChartPie.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Check.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckSquare.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckSquareOffset.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Circle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CircleNotch.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Clock.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ClockClockwise.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ClockCountdown.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CloudSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Code.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Columns.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Copy.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CopySimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CreditCard.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyCircleDollar.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Desktop.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Detective.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DeviceMobileCamera.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DeviceMobileSpeaker.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsNine.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsSixVertical.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThree.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeCircleVertical.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeVertical.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Download.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/DownloadSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Envelope.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Equals.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Eraser.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Export.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Eye.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/EyeClosed.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/EyeSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileArchive.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileArrowUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileCsv.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileDoc.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileMagnifyingGlass.es.js +9 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FilePdf.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileTxt.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FileZip.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Flag.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FlagBanner.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/FunnelSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Gear.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/GearFine.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/GearSix.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/GitBranch.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/GitFork.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Hash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Headset.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/IdentificationCard.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Image.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ImageSquare.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Info.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Intersect.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Key.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Lightbulb.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Lightning.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkBreak.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/LinkSimpleHorizontal.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/List.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ListBullets.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ListNumbers.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ListPlus.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Lock.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/MagicWand.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/MagnifyingGlass.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/MapPin.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/MinusCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Money.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Monitor.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Moon.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Network.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/NetworkSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Notepad.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Notification.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/NumberCircleOne.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Package.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Palette.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Password.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Pause.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PauseCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Pencil.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimpleLine.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Percent.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Phone.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Play.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PlayCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Plug.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Plugs.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Plus.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PlusCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Prohibit.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/PushPin.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Question.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Queue.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/RadioButton.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Repeat.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Rows.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/SelectionInverse.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ShareNetwork.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldCheck.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldSlash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ShieldWarning.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ShoppingCart.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/SignOut.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/SortAscending.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Sparkle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Square.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/SquaresFour.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Star.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Sun.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Swap.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Swatches.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TerminalWindow.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TextColumns.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TextT.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Textbox.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ThumbsDown.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ThumbsUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ToggleLeft.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/ToggleRight.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TrafficSignal.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Translate.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Trash.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TreeStructure.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TrendDown.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/TrendUp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Upload.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/UploadSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/User.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/UserCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/UserPlus.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/UserSwitch.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Vault.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Wallet.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Warning.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/WarningCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/X.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/XCircle.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Archive.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowBendUpLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowBendUpRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCircleUpLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowClockwise.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCounterClockwise.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowElbowDownRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowSquareIn.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUpRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsClockwise.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsDownUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsInSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsLeftRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsOutSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Bank.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BellRinging.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BellSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BellSimpleSlash.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Binoculars.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BoundingBox.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsAngle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsCurly.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BracketsSquare.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/BugBeetle.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Buildings.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Calendar.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CalendarBlank.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Camera.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Cards.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretCircleRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDoubleLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDoubleRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDown.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartBar.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartLine.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ChartPie.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Check.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckSquare.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckSquareOffset.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Circle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CircleNotch.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Clock.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ClockClockwise.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ClockCountdown.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CloudSlash.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Code.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Columns.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Copy.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CopySimple.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CreditCard.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyCircleDollar.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Desktop.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Detective.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DeviceMobileCamera.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DeviceMobileSpeaker.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsNine.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsSixVertical.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThree.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeCircleVertical.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeVertical.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Download.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/DownloadSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Envelope.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Equals.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Eraser.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Export.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Eye.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/EyeClosed.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/EyeSlash.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileArchive.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileArrowUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileCsv.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileDoc.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileMagnifyingGlass.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FilePdf.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileTxt.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FileZip.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Flag.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FlagBanner.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/FunnelSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Gear.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/GearFine.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/GearSix.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/GitBranch.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/GitFork.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Hash.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Headset.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/IdentificationCard.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Image.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ImageSquare.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Info.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Intersect.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Key.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Lightbulb.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Lightning.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkBreak.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/LinkSimpleHorizontal.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/List.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ListBullets.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ListNumbers.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ListPlus.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Lock.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/MagicWand.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/MagnifyingGlass.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/MapPin.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/MinusCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Money.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Monitor.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Moon.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Network.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/NetworkSlash.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Notepad.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Notification.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/NumberCircleOne.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Package.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Palette.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Password.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Pause.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PauseCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Pencil.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimpleLine.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Percent.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Phone.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Play.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PlayCircle.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Plug.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Plugs.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Plus.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PlusCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Prohibit.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/PushPin.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Question.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Queue.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/RadioButton.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Repeat.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Rows.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/SelectionInverse.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ShareNetwork.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldCheck.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldSlash.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ShieldWarning.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ShoppingCart.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/SignOut.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/SortAscending.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Sparkle.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Square.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/SquaresFour.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Star.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Sun.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Swap.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Swatches.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TerminalWindow.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TextColumns.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TextT.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Textbox.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ThumbsDown.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ThumbsUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ToggleLeft.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/ToggleRight.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TrafficSignal.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Translate.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Trash.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TreeStructure.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TrendDown.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/TrendUp.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Upload.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/UploadSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/User.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/UserCircle.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/UserPlus.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/UserSwitch.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Vault.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Wallet.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Warning.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/WarningCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/X.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/XCircle.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js +43 -0
- package/dist/node_modules/@phosphor-icons/react/dist/lib/context.es.js +10 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +76 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +252 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +10 -6
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +53 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +208 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.js +19 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +608 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +219 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +40 -34
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +338 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +10 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +15 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +8 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +27 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +32 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/{circle.js → check.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/{chevron-down.js → chevron-right.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/{circle-check-big.js → ellipsis.js} +5 -4
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +4 -4
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +31 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +68 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +5 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +71 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +7 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.js +11 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +15 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +30 -0
- package/dist/node_modules/tslib/tslib.es6.js +27 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +6 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +26 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +25 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.js +18 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
- package/dist/vendor/shadcn/avatar.js +54 -0
- package/dist/vendor/shadcn/badge.js +41 -0
- package/dist/vendor/shadcn/breadcrumb.js +105 -0
- package/dist/{components/atoms/button/index.js → vendor/shadcn/button.js} +25 -36
- package/dist/vendor/shadcn/checkbox.js +32 -0
- package/dist/vendor/shadcn/dropdown-menu.js +64 -0
- package/dist/vendor/shadcn/label.js +23 -0
- package/dist/vendor/shadcn/tooltip.js +26 -0
- package/package.json +40 -22
- package/dist/components/atoms/avatar/index.js +0 -89
- package/dist/components/atoms/box/index.d.ts +0 -21
- package/dist/components/atoms/box/index.js +0 -141
- package/dist/components/atoms/checkbox/index.js +0 -94
- package/dist/components/atoms/chip/index.d.ts +0 -12
- package/dist/components/atoms/chip/index.js +0 -86
- package/dist/components/atoms/divider/index.d.ts +0 -12
- package/dist/components/atoms/divider/index.js +0 -56
- package/dist/components/atoms/input/index.js +0 -22
- package/dist/components/atoms/link/index.d.ts +0 -15
- package/dist/components/atoms/link/index.js +0 -66
- package/dist/components/atoms/radiobutton/index.d.ts +0 -10
- package/dist/components/atoms/radiobutton/index.js +0 -94
- package/dist/components/atoms/skeleton/index.js +0 -65
- package/dist/components/atoms/tag/index.d.ts +0 -15
- package/dist/components/atoms/tag/index.js +0 -175
- package/dist/components/atoms/typography/index.js +0 -51
- package/dist/components/index.js +0 -40
- package/dist/components/molecules/announcement/index.d.ts +0 -20
- package/dist/components/molecules/announcement/index.js +0 -162
- package/dist/components/molecules/notification-alert/index.d.ts +0 -22
- package/dist/components/molecules/notification-alert/index.js +0 -190
- package/dist/components/molecules/popover/index.d.ts +0 -14
- package/dist/components/molecules/popover/index.js +0 -105
- package/dist/components/molecules/textfield/index.d.ts +0 -20
- package/dist/components/molecules/textfield/index.js +0 -113
- package/dist/components/molecules/tooltip/index.d.ts +0 -22
- package/dist/components/molecules/tooltip/index.js +0 -154
- package/dist/components/organisms/dialog/index.js +0 -166
- package/dist/components/organisms/dropdown/index.d.ts +0 -41
- package/dist/components/organisms/dropdown/index.js +0 -395
- package/dist/lib/color-utils.d.ts +0 -49
- package/dist/lib/string-avatar.d.ts +0 -1
- package/dist/lib/string-avatar.js +0 -11
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -12
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -16
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-dot.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -16
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +0 -15
- package/dist/node_modules/lucide-react/dist/esm/icons/square-check-big.js +0 -18
- package/dist/node_modules/lucide-react/dist/esm/icons/square.js +0 -14
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -22
- package/dist/vite.svg +0 -1
package/README.md
CHANGED
|
@@ -1,69 +1,299 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
# Dashboard Design System
|
|
2
|
+
|
|
3
|
+
A design component library for Yuno's dashboard, built with React, TypeScript, and based on the shadcn/ui design system.
|
|
4
|
+
|
|
5
|
+
## Project Description
|
|
6
|
+
|
|
7
|
+
This library provides a complete set of reusable components that follow Atomic Design principles and are aligned with Yuno's design system. All components are built on a solid foundation of shadcn/ui components and extended with specific functionalities for dashboard needs.
|
|
8
|
+
|
|
9
|
+
## Motivation and Objective
|
|
10
|
+
|
|
11
|
+
The primary **motivation** of this design system is to be perfectly aligned with our Figma design system to **facilitate AI-powered interface generation** and optimize our development workflow. By maintaining strict consistency between our component library and Figma designs, we enable:
|
|
12
|
+
|
|
13
|
+
- 🤖 **AI-assisted development**: Seamless code generation from Figma designs
|
|
14
|
+
- ⚡ **Accelerated development**: Faster prototyping and implementation
|
|
15
|
+
- 🎯 **Design-to-code consistency**: Perfect alignment between design and implementation
|
|
16
|
+
- 🔄 **Streamlined workflow**: Reduced friction between design and development teams
|
|
17
|
+
|
|
18
|
+
## Figma Design System
|
|
19
|
+
|
|
20
|
+
All components in this library must correspond exactly in **name and design** with the components defined in our Figma design system:
|
|
21
|
+
|
|
22
|
+
**🎨 [Figma Design System - shadcn UI Kit for Yuno](https://www.figma.com/design/fcHm3yuz9KiqdRHM7oWneG/shadcn-ui-kit-for-Figma---Pro-Blocks---August-2025--Yuno-)**
|
|
23
|
+
|
|
24
|
+
This Figma system is based on **[shadcndesign.com](https://www.shadcndesign.com/)**, ensuring industry-standard design patterns and AI compatibility.
|
|
25
|
+
|
|
26
|
+
⚠️ **IMPORTANT:** It is **mandatory** that any new component or modification follows exactly the design specifications, nomenclature, and behavior defined in Figma.
|
|
27
|
+
|
|
28
|
+
## Technology Foundation
|
|
29
|
+
|
|
30
|
+
### Shadcn/ui Base
|
|
31
|
+
This design system is primarily based on **[shadcn/ui](https://ui.shadcn.com/docs)**, a collection of beautifully designed components built using Radix UI and Tailwind CSS. Shadcn/ui provides:
|
|
32
|
+
|
|
33
|
+
- ✅ **Accessibility-first**: Full ARIA support and keyboard navigation
|
|
34
|
+
- ✅ **Customizable**: Built with CSS variables and utility classes
|
|
35
|
+
- ✅ **Copy & paste**: Simple integration without package dependencies
|
|
36
|
+
- ✅ **TypeScript**: Full type safety and IntelliSense support
|
|
37
|
+
|
|
38
|
+
**📚 [Shadcn/ui Documentation](https://ui.shadcn.com/docs)**
|
|
39
|
+
|
|
40
|
+
### Tailwind CSS Integration
|
|
41
|
+
All components use **Tailwind CSS** utility classes for styling. Developers must be familiar with Tailwind's utility-first approach:
|
|
42
|
+
|
|
43
|
+
- 🎨 **Utility-first**: Use utility classes for rapid UI development
|
|
44
|
+
- 📱 **Responsive design**: Built-in responsive design utilities
|
|
45
|
+
- 🌙 **Dark mode**: Native dark mode support
|
|
46
|
+
- ⚡ **Performance**: Optimized CSS output with purging
|
|
47
|
+
|
|
48
|
+
**📚 [Tailwind CSS Documentation](https://tailwindcss.com/docs/installation/using-vite)**
|
|
49
|
+
|
|
50
|
+
## Vendors Folder
|
|
51
|
+
|
|
52
|
+
The `src/vendor/` folder contains the **base components** that we use to create our custom components:
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
src/vendor/shadcn/
|
|
56
|
+
├── alert.tsx # Base alert component
|
|
57
|
+
├── avatar.tsx # Base avatar component
|
|
58
|
+
├── badge.tsx # Base badge component
|
|
59
|
+
├── breadcrumb.tsx # Base breadcrumb component
|
|
60
|
+
├── button.tsx # Base button component
|
|
61
|
+
├── checkbox.tsx # Base checkbox component
|
|
62
|
+
├── dropdown-menu.tsx # Base dropdown component
|
|
63
|
+
├── input.tsx # Base input component
|
|
64
|
+
├── label.tsx # Base label component
|
|
65
|
+
├── radio-group.tsx # Base radio group component
|
|
66
|
+
├── separator.tsx # Base separator component
|
|
67
|
+
├── skeleton.tsx # Base skeleton component
|
|
68
|
+
├── switch.tsx # Base switch component
|
|
69
|
+
├── tabs.tsx # Base tabs component
|
|
70
|
+
└── tooltip.tsx # Base tooltip component
|
|
40
71
|
```
|
|
41
72
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
files: ['**/*.{ts,tsx}'],
|
|
53
|
-
extends: [
|
|
54
|
-
// Other configs...
|
|
55
|
-
// Enable lint rules for React
|
|
56
|
-
reactX.configs['recommended-typescript'],
|
|
57
|
-
// Enable lint rules for React DOM
|
|
58
|
-
reactDom.configs.recommended,
|
|
59
|
-
],
|
|
60
|
-
languageOptions: {
|
|
61
|
-
parserOptions: {
|
|
62
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
-
tsconfigRootDir: import.meta.dirname,
|
|
64
|
-
},
|
|
65
|
-
// other options...
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
])
|
|
73
|
+
These shadcn/ui base components provide:
|
|
74
|
+
- ✅ Complete accessibility (ARIA, keyboard navigation)
|
|
75
|
+
- ✅ Base styles with Tailwind CSS
|
|
76
|
+
- ✅ Predefined variants and states
|
|
77
|
+
- ✅ Radix UI primitives compatibility
|
|
78
|
+
|
|
79
|
+
## Atomic Design Structure
|
|
80
|
+
|
|
81
|
+
The library strictly follows the **Atomic Design** methodology with the following structure:
|
|
82
|
+
|
|
69
83
|
```
|
|
84
|
+
src/components/
|
|
85
|
+
├── atoms/ # Basic and indivisible components
|
|
86
|
+
│ ├── alert/
|
|
87
|
+
│ ├── avatar/
|
|
88
|
+
│ ├── badge/
|
|
89
|
+
│ ├── button/
|
|
90
|
+
│ ├── checkbox/
|
|
91
|
+
│ ├── icon/
|
|
92
|
+
│ ├── input/
|
|
93
|
+
│ ├── label/
|
|
94
|
+
│ ├── radio-group/
|
|
95
|
+
│ ├── separator/
|
|
96
|
+
│ ├── skeleton/
|
|
97
|
+
│ ├── switch/
|
|
98
|
+
│ ├── tabs/
|
|
99
|
+
│ ├── tooltip/
|
|
100
|
+
│ └── typography/
|
|
101
|
+
├── molecules/ # Combinations of atoms
|
|
102
|
+
│ └── breadcrumb/
|
|
103
|
+
└── organisms/ # Complex components
|
|
104
|
+
└── dialog/
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Atomic Design Rules
|
|
108
|
+
|
|
109
|
+
1. **Atoms**: Basic components that cannot be divided further (Button, Input, Icon)
|
|
110
|
+
2. **Molecules**: Simple combinations of atoms that work together (Breadcrumb, SearchBox)
|
|
111
|
+
3. **Organisms**: Complex components that combine molecules and atoms (Dialog, DataTable, Navigation)
|
|
112
|
+
|
|
113
|
+
**⚠️ IMPORTANT**: All new components MUST follow this structure and be classified correctly according to their complexity.
|
|
114
|
+
|
|
115
|
+
## Project Rules
|
|
116
|
+
|
|
117
|
+
### 📋 Mandatory Requirements for Components
|
|
118
|
+
|
|
119
|
+
Every component added to the library **MUST** include:
|
|
120
|
+
|
|
121
|
+
1. **📄 Main file** (`component.tsx`)
|
|
122
|
+
2. **📖 Storybook story** (`component.stories.tsx`)
|
|
123
|
+
3. **🧪 Unit test** (`component.test.tsx`)
|
|
124
|
+
4. **📤 Export file** (`index.tsx`)
|
|
125
|
+
|
|
126
|
+
### 📁 Component Folder Structure
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
src/components/[atomic-level]/[component-name]/
|
|
130
|
+
├── index.tsx # Component exports
|
|
131
|
+
├── [component-name].tsx # Main implementation
|
|
132
|
+
├── [component-name].stories.tsx # Storybook documentation
|
|
133
|
+
└── [component-name].test.tsx # Unit tests
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 📖 Story Requirements
|
|
137
|
+
|
|
138
|
+
Each story must include:
|
|
139
|
+
- ✅ Complete documentation with description, when to use, best practices
|
|
140
|
+
- ✅ Examples of all variants and states
|
|
141
|
+
- ✅ Common use cases
|
|
142
|
+
- ✅ Accessibility examples
|
|
143
|
+
- ✅ Reference to Figma component
|
|
144
|
+
- ✅ Interactive controls for all props
|
|
145
|
+
|
|
146
|
+
### 🧪 Test Requirements
|
|
147
|
+
|
|
148
|
+
Each test must cover:
|
|
149
|
+
- ✅ Basic component rendering
|
|
150
|
+
- ✅ All variants and states
|
|
151
|
+
- ✅ User interactions
|
|
152
|
+
- ✅ Accessibility (ARIA roles, keyboard navigation)
|
|
153
|
+
- ✅ Props and callbacks
|
|
154
|
+
- ✅ Edge cases and error handling
|
|
155
|
+
|
|
156
|
+
## Best Practices
|
|
157
|
+
|
|
158
|
+
### 🎯 Component Development
|
|
159
|
+
|
|
160
|
+
1. **Extend base components**: Always start from components in `src/vendor/shadcn/`
|
|
161
|
+
2. **Follow naming conventions**: PascalCase for components, camelCase for props
|
|
162
|
+
3. **Use strict TypeScript**: Define clear interfaces for all props
|
|
163
|
+
4. **Implement forwardRef**: For components that need DOM access
|
|
164
|
+
5. **Use class-variance-authority**: To handle style variants
|
|
165
|
+
6. **Apply cn() utility**: To combine Tailwind CSS classes
|
|
166
|
+
|
|
167
|
+
### 🎨 Styling and Design
|
|
168
|
+
|
|
169
|
+
1. **Use design tokens**: CSS variables defined in the theme
|
|
170
|
+
2. **Maintain consistency**: Follow spacing and typography system
|
|
171
|
+
3. **Responsive design**: Consider all breakpoints
|
|
172
|
+
4. **Dark mode**: Support light and dark themes
|
|
173
|
+
5. **Accessibility**: Comply with WCAG 2.1 AA
|
|
174
|
+
|
|
175
|
+
### 📚 Documentation
|
|
176
|
+
|
|
177
|
+
1. **Complete JSDoc**: Document all props and methods
|
|
178
|
+
2. **Clear examples**: Show real use cases
|
|
179
|
+
3. **Best practices**: Explain when and how to use each component
|
|
180
|
+
4. **Accessibility**: Document accessibility features
|
|
181
|
+
|
|
182
|
+
## Important Scripts
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
# 🔨 Build and development
|
|
186
|
+
npm run build # Build library for production
|
|
187
|
+
npm run storybook # Run Storybook in development mode (port 6006)
|
|
188
|
+
npm run build-storybook # Build static Storybook
|
|
189
|
+
|
|
190
|
+
# 🧪 Testing and quality
|
|
191
|
+
npm run test # Run unit tests with Vitest
|
|
192
|
+
npm run lint # Run ESLint to verify code quality
|
|
193
|
+
|
|
194
|
+
# 📦 Publishing
|
|
195
|
+
npm run publish # Publish library to npm (public access)
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### 🔧 Development Scripts
|
|
199
|
+
|
|
200
|
+
- **`storybook`**: Starts Storybook development server to document and test components
|
|
201
|
+
- **`build`**: Uses Vite to build the library optimized for production
|
|
202
|
+
- **`test`**: Runs the test suite with Vitest in single-run mode
|
|
203
|
+
- **`lint`**: Verifies code with ESLint according to configured rules
|
|
204
|
+
|
|
205
|
+
## Component Dependencies
|
|
206
|
+
|
|
207
|
+
### 🔗 Dependency Hierarchy
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
Organisms
|
|
211
|
+
↓
|
|
212
|
+
Molecules
|
|
213
|
+
↓
|
|
214
|
+
Atoms
|
|
215
|
+
↓
|
|
216
|
+
Vendor (shadcn)
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### 📊 Specific Dependency Mapping
|
|
220
|
+
|
|
221
|
+
#### Atoms → Vendor + External Libraries
|
|
222
|
+
- **`Button`** → `@/vendor/shadcn/button` + `Icon` (atom) + `react`
|
|
223
|
+
- Uses specific icons: `CircleNotch` (loading), `startIcon`, `endIcon`
|
|
224
|
+
- **`Typography`** → `class-variance-authority` + `@/lib/utils` (cn)
|
|
225
|
+
- **`Icon`** → `@phosphor-icons/react` (100+ icons available)
|
|
226
|
+
- **`Tooltip`** → `@/vendor/shadcn/tooltip`
|
|
227
|
+
- **`Badge`** → `@/vendor/shadcn/badge`
|
|
228
|
+
- **`Avatar`** → `@/vendor/shadcn/avatar`
|
|
229
|
+
- **`Checkbox`** → `@/vendor/shadcn/checkbox`
|
|
230
|
+
- **`Input`** → `@/vendor/shadcn/input`
|
|
231
|
+
- **`Switch`** → `@/vendor/shadcn/switch`
|
|
232
|
+
- **`Alert`** → `@/vendor/shadcn/alert`
|
|
233
|
+
- **`Separator`** → `@/vendor/shadcn/separator`
|
|
234
|
+
|
|
235
|
+
#### Molecules → Atoms + Vendor
|
|
236
|
+
- **`Breadcrumb`** → Multiple dependencies:
|
|
237
|
+
- `Icon` (atom) - uses `CaretDown` for dropdowns
|
|
238
|
+
- `@/vendor/shadcn/breadcrumb` (6 base components)
|
|
239
|
+
- `@/vendor/shadcn/dropdown-menu` (4 components)
|
|
240
|
+
- `react` (Fragment, ReactNode, forwardRef)
|
|
241
|
+
|
|
242
|
+
#### Organisms → Atoms + Libraries
|
|
243
|
+
- **`Dialog`** → Complex dependencies:
|
|
244
|
+
- `Button` + `ButtonProps` (atom)
|
|
245
|
+
- `@/lib/utils` (cn utility)
|
|
246
|
+
- `class-variance-authority` (style variants)
|
|
247
|
+
- `lucide-react` (X, ArrowLeft icons)
|
|
248
|
+
- `react` (forwardRef, useState, useEffect)
|
|
249
|
+
|
|
250
|
+
### 🛠️ Shared Utilities
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
// src/lib/utils.ts
|
|
254
|
+
export function cn(...inputs: ClassValue[]) {
|
|
255
|
+
return twMerge(clsx(inputs))
|
|
256
|
+
}
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
This utility is fundamental and used in **all components** for:
|
|
260
|
+
- ✅ Combining Tailwind CSS classes
|
|
261
|
+
- ✅ Resolving style conflicts
|
|
262
|
+
- ✅ Applying conditional styles
|
|
263
|
+
|
|
264
|
+
## Project Structure
|
|
265
|
+
|
|
266
|
+
```
|
|
267
|
+
dashboard-design-system/
|
|
268
|
+
├── .storybook/ # Storybook configuration
|
|
269
|
+
├── src/
|
|
270
|
+
│ ├── components/ # Components organized by Atomic Design
|
|
271
|
+
│ │ ├── atoms/ # Basic components
|
|
272
|
+
│ │ ├── molecules/ # Combinations of atoms
|
|
273
|
+
│ │ └── organisms/ # Complex components
|
|
274
|
+
│ ├── lib/ # Utilities and helpers
|
|
275
|
+
│ ├── types/ # TypeScript type definitions
|
|
276
|
+
│ ├── vendor/ # Base components (shadcn)
|
|
277
|
+
│ ├── global.css # Global styles and CSS variables
|
|
278
|
+
│ └── index.ts # Main entry point
|
|
279
|
+
├── package.json # Dependencies and scripts
|
|
280
|
+
├── vite.config.ts # Vite configuration
|
|
281
|
+
├── vitest.config.ts # Test configuration
|
|
282
|
+
└── tsconfig.json # TypeScript configuration
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
## Contributing
|
|
286
|
+
|
|
287
|
+
To contribute to this library:
|
|
288
|
+
|
|
289
|
+
1. 🔍 **Review Figma**: Verify that the component exists in the design system
|
|
290
|
+
2. 🏗️ **Follow Atomic Design**: Classify the component correctly
|
|
291
|
+
3. 📝 **Create documentation**: Complete story with examples and best practices
|
|
292
|
+
4. 🧪 **Write tests**: Complete coverage of functionality and accessibility
|
|
293
|
+
5. ✅ **Verify quality**: Run lint and tests before commit
|
|
294
|
+
6. 📦 **Export correctly**: Update corresponding index.ts files
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
**Current version**: `0.0.8-beta.6`
|
|
299
|
+
**Maintained by**: Dashboard Frontend Team - Yuno Payments
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Alert as ShadcnAlert } from '../../../vendor/shadcn/alert';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { IconName } from '../icon';
|
|
4
|
+
interface AlertProps extends Omit<ComponentProps<typeof ShadcnAlert>, "children"> {
|
|
5
|
+
icon?: IconName;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Alert: import('react').ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { Alert, type AlertProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './alert';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AvatarProps } from './avatar';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
max?: number;
|
|
6
|
+
size?: AvatarProps["size"];
|
|
7
|
+
}
|
|
8
|
+
declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export { AvatarGroup };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { Avatar as ShadcnAvatar } from '../../../vendor/shadcn/avatar';
|
|
4
|
+
declare const avatarVariants: (props?: ({
|
|
5
|
+
size?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface AvatarProps extends ComponentProps<typeof ShadcnAvatar>, VariantProps<typeof avatarVariants> {
|
|
8
|
+
src?: string;
|
|
9
|
+
alt?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
fallback?: string | ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Avatar: import('react').ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export { Avatar };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { j as t } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
import { cva as r } from "../../../node_modules/class-variance-authority/dist/index.js";
|
|
4
|
+
import { cn as s } from "../../../lib/utils.js";
|
|
5
|
+
import { getNameInitials as u } from "./avatar.utils.js";
|
|
6
|
+
import { Avatar as c, AvatarImage as x, AvatarFallback as v } from "../../../vendor/shadcn/avatar.js";
|
|
7
|
+
import p from "../../../node_modules/lucide-react/dist/esm/icons/user.js";
|
|
8
|
+
const g = r(
|
|
9
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
10
|
+
{
|
|
11
|
+
variants: {
|
|
12
|
+
size: {
|
|
13
|
+
xs: "size-5",
|
|
14
|
+
sm: "size-6",
|
|
15
|
+
default: "size-8",
|
|
16
|
+
lg: "size-10",
|
|
17
|
+
xl: "size-12"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: {
|
|
21
|
+
size: "default"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
), z = r("aspect-square h-full w-full object-cover"), j = r(
|
|
25
|
+
"flex h-full w-full items-center justify-center rounded-full bg-muted text-muted-foreground font-medium uppercase",
|
|
26
|
+
{
|
|
27
|
+
variants: {
|
|
28
|
+
size: {
|
|
29
|
+
xs: "text-[10px]",
|
|
30
|
+
sm: "text-xs",
|
|
31
|
+
default: "text-sm",
|
|
32
|
+
lg: "text-base",
|
|
33
|
+
xl: "text-lg"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
size: "default"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
), b = n(
|
|
41
|
+
({ size: l, src: i, alt: f, name: e, ...m }, d) => {
|
|
42
|
+
const o = e ? u(e) : void 0;
|
|
43
|
+
let a;
|
|
44
|
+
return !a && o && (a = o), a || (a = /* @__PURE__ */ t.jsx(p, { className: "size-1/2" })), /* @__PURE__ */ t.jsxs(
|
|
45
|
+
c,
|
|
46
|
+
{
|
|
47
|
+
ref: d,
|
|
48
|
+
className: s(g({ size: l })),
|
|
49
|
+
...m,
|
|
50
|
+
children: [
|
|
51
|
+
i && /* @__PURE__ */ t.jsx(
|
|
52
|
+
x,
|
|
53
|
+
{
|
|
54
|
+
src: i,
|
|
55
|
+
alt: f || e || "Avatar",
|
|
56
|
+
className: s(z()),
|
|
57
|
+
"data-testid": "avatar-image"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ t.jsx(
|
|
61
|
+
v,
|
|
62
|
+
{
|
|
63
|
+
className: s(j({ size: l })),
|
|
64
|
+
"data-testid": "avatar-fallback",
|
|
65
|
+
children: a
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
b.displayName = "Avatar";
|
|
74
|
+
export {
|
|
75
|
+
b as Avatar
|
|
76
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const n = (r) => {
|
|
2
|
+
const t = r.replace(/[^\w\s]/gi, "").replace(/\d+/g, "").replace(/\s+/g, " ").trim();
|
|
3
|
+
if (!t)
|
|
4
|
+
return;
|
|
5
|
+
const e = t.split(" ").filter((i) => i.length > 0);
|
|
6
|
+
if (e.length !== 0)
|
|
7
|
+
return e.length === 1 ? e[0].charAt(0).toUpperCase() : (e[0].charAt(0) + e[e.length - 1].charAt(0)).toUpperCase();
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as getNameInitials
|
|
11
|
+
};
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const avatarVariants: (props?: ({
|
|
4
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarVariants> {
|
|
7
|
-
src?: string;
|
|
8
|
-
alt?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
fallback?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
export { Avatar };
|
|
1
|
+
export * from './avatar';
|
|
2
|
+
export * from './avatar-group';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Badge as ShadcnBadge } from '../../../vendor/shadcn/badge';
|
|
3
|
+
import { Icon, IconName } from '../icon';
|
|
4
|
+
interface BadgeProps extends ComponentProps<typeof ShadcnBadge> {
|
|
5
|
+
startIcon?: IconName;
|
|
6
|
+
endIcon?: IconName;
|
|
7
|
+
startIconProps?: ComponentProps<typeof Icon>;
|
|
8
|
+
endIconProps?: ComponentProps<typeof Icon>;
|
|
9
|
+
children?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Badge: import('react').ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
12
|
+
export { Badge, type BadgeProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { j as r } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { Badge as d } from "../../../vendor/shadcn/badge.js";
|
|
4
|
+
import { Icon as m } from "../icon/icon.js";
|
|
5
|
+
const f = t(
|
|
6
|
+
({ children: o, startIcon: e, endIcon: s, startIconProps: a, endIconProps: i, ...x }, p) => /* @__PURE__ */ r.jsxs(d, { ref: p, ...x, children: [
|
|
7
|
+
e && /* @__PURE__ */ r.jsx(m, { name: e, size: "xs", ...a }),
|
|
8
|
+
o,
|
|
9
|
+
s && /* @__PURE__ */ r.jsx(m, { name: s, size: "xs", ...i })
|
|
10
|
+
] })
|
|
11
|
+
);
|
|
12
|
+
f.displayName = "Badge";
|
|
13
|
+
export {
|
|
14
|
+
f as Badge
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Badge, type BadgeProps } from './badge';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Button as ShadcnButton } from '../../../vendor/shadcn/button';
|
|
3
|
+
import { Icon, IconName } from '../icon';
|
|
4
|
+
interface ButtonProps extends ComponentProps<typeof ShadcnButton> {
|
|
5
|
+
startIcon?: IconName;
|
|
6
|
+
endIcon?: IconName;
|
|
7
|
+
startIconProps?: ComponentProps<typeof Icon>;
|
|
8
|
+
endIconProps?: ComponentProps<typeof Icon>;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
children?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export { Button, type ButtonProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { j as m } from "../../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { forwardRef as x } from "react";
|
|
3
|
+
import { Button as j } from "../../../vendor/shadcn/button.js";
|
|
4
|
+
import { Icon as t } from "../icon/icon.js";
|
|
5
|
+
const u = x(
|
|
6
|
+
({ children: o, startIcon: e, endIcon: r, startIconProps: a, endIconProps: i, isLoading: s = !1, disabled: n, ...p }, f) => {
|
|
7
|
+
const l = n || s;
|
|
8
|
+
return /* @__PURE__ */ m.jsxs(j, { ref: f, disabled: l, ...p, children: [
|
|
9
|
+
s && /* @__PURE__ */ m.jsx(t, { name: "CircleNotch", size: "sm", className: "animate-spin" }),
|
|
10
|
+
e && !s && /* @__PURE__ */ m.jsx(t, { name: e, size: "sm", ...a }),
|
|
11
|
+
o,
|
|
12
|
+
r && !s && /* @__PURE__ */ m.jsx(t, { name: r, size: "sm", ...i })
|
|
13
|
+
] });
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
u.displayName = "Button";
|
|
17
|
+
export {
|
|
18
|
+
u as Button
|
|
19
|
+
};
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
label?: React.ReactNode;
|
|
10
|
-
startIcon?: React.ReactNode;
|
|
11
|
-
endIcon?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
export {};
|
|
1
|
+
export { Button, type ButtonProps } from './button';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { Checkbox as ShadcnCheckbox } from '../../../vendor/shadcn/checkbox';
|
|
3
|
+
export interface CheckboxProps extends Omit<ComponentProps<typeof ShadcnCheckbox>, "children"> {
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Checkbox: import('react').ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export { Checkbox };
|