@plaidlabs/ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/basic/avatar/Avatar.css.d.ts +53 -0
- package/dist/components/basic/avatar/Avatar.d.ts +13 -0
- package/dist/components/basic/avatar/Avatar.stories.d.ts +38 -0
- package/dist/components/basic/avatar/index.d.ts +2 -0
- package/dist/components/basic/bottom-tab/BottomTab.css.d.ts +33 -0
- package/dist/components/basic/bottom-tab/BottomTab.d.ts +14 -0
- package/dist/components/basic/bottom-tab/BottomTab.stories.d.ts +24 -0
- package/dist/components/basic/bottom-tab/index.d.ts +2 -0
- package/dist/components/basic/button/Button.css.d.ts +58 -0
- package/dist/components/basic/button/Button.d.ts +17 -0
- package/dist/components/basic/button/Button.stories.d.ts +45 -0
- package/dist/components/basic/button/index.d.ts +2 -0
- package/dist/components/basic/checkbox/Checkbox.css.d.ts +64 -0
- package/dist/components/basic/checkbox/Checkbox.d.ts +10 -0
- package/dist/components/basic/checkbox/Checkbox.stories.d.ts +45 -0
- package/dist/components/basic/checkbox/index.d.ts +2 -0
- package/dist/components/basic/chip/Chip.css.d.ts +46 -0
- package/dist/components/basic/chip/Chip.d.ts +16 -0
- package/dist/components/basic/chip/Chip.stories.d.ts +50 -0
- package/dist/components/basic/chip/index.d.ts +2 -0
- package/dist/components/basic/close/Close.css.d.ts +15 -0
- package/dist/components/basic/close/Close.d.ts +10 -0
- package/dist/components/basic/close/Close.stories.d.ts +39 -0
- package/dist/components/basic/close/index.d.ts +2 -0
- package/dist/components/basic/guide-text/GuideText.css.d.ts +17 -0
- package/dist/components/basic/guide-text/GuideText.d.ts +8 -0
- package/dist/components/basic/guide-text/GuideText.stories.d.ts +34 -0
- package/dist/components/basic/guide-text/index.d.ts +2 -0
- package/dist/components/basic/link/Link.css.d.ts +17 -0
- package/dist/components/basic/link/Link.d.ts +11 -0
- package/dist/components/basic/link/Link.stories.d.ts +44 -0
- package/dist/components/basic/link/index.d.ts +2 -0
- package/dist/components/basic/lnb-item/LnbItem.css.d.ts +54 -0
- package/dist/components/basic/lnb-item/LnbItem.d.ts +22 -0
- package/dist/components/basic/lnb-item/LnbItem.stories.d.ts +59 -0
- package/dist/components/basic/lnb-item/index.d.ts +2 -0
- package/dist/components/basic/loading/Loading.css.d.ts +70 -0
- package/dist/components/basic/loading/Loading.d.ts +9 -0
- package/dist/components/basic/loading/Loading.stories.d.ts +34 -0
- package/dist/components/basic/loading/index.d.ts +2 -0
- package/dist/components/basic/notice/Notice.css.d.ts +27 -0
- package/dist/components/basic/notice/Notice.d.ts +9 -0
- package/dist/components/basic/notice/Notice.stories.d.ts +38 -0
- package/dist/components/basic/notice/index.d.ts +2 -0
- package/dist/components/basic/page-header/PageHeader.css.d.ts +16 -0
- package/dist/components/basic/page-header/PageHeader.d.ts +12 -0
- package/dist/components/basic/page-header/PageHeader.stories.d.ts +47 -0
- package/dist/components/basic/page-header/index.d.ts +2 -0
- package/dist/components/basic/pagination/Pagination.css.d.ts +30 -0
- package/dist/components/basic/pagination/Pagination.d.ts +9 -0
- package/dist/components/basic/pagination/Pagination.stories.d.ts +52 -0
- package/dist/components/basic/pagination/index.d.ts +2 -0
- package/dist/components/basic/stepper/Stepper.css.d.ts +34 -0
- package/dist/components/basic/stepper/Stepper.d.ts +10 -0
- package/dist/components/basic/stepper/Stepper.stories.d.ts +46 -0
- package/dist/components/basic/stepper/index.d.ts +2 -0
- package/dist/components/basic/tab/Tab.css.d.ts +3 -0
- package/dist/components/basic/tab/Tab.d.ts +22 -0
- package/dist/components/basic/tab/Tab.stories.d.ts +14 -0
- package/dist/components/basic/tab/index.d.ts +2 -0
- package/dist/components/basic/text-area/TextArea.css.d.ts +69 -0
- package/dist/components/basic/text-area/TextArea.d.ts +10 -0
- package/dist/components/basic/text-area/TextArea.stories.d.ts +42 -0
- package/dist/components/basic/text-area/index.d.ts +2 -0
- package/dist/components/basic/text-field/TextField.css.d.ts +84 -0
- package/dist/components/basic/text-field/TextField.d.ts +12 -0
- package/dist/components/basic/text-field/TextField.stories.d.ts +38 -0
- package/dist/components/basic/text-field/index.d.ts +2 -0
- package/dist/components/basic/toggle/Toggle.css.d.ts +52 -0
- package/dist/components/basic/toggle/Toggle.d.ts +9 -0
- package/dist/components/basic/toggle/Toggle.stories.d.ts +31 -0
- package/dist/components/basic/toggle/index.d.ts +2 -0
- package/dist/components/complex/dropdown/Dropdown.d.ts +22 -0
- package/dist/components/complex/dropdown/Dropdown.stories.d.ts +93 -0
- package/dist/components/complex/dropdown/dropdown.css.d.ts +63 -0
- package/dist/components/complex/dropdown/index.d.ts +2 -0
- package/dist/components/complex/modal/Modal.css.d.ts +49 -0
- package/dist/components/complex/modal/Modal.d.ts +42 -0
- package/dist/components/complex/modal/Modal.stories.d.ts +24 -0
- package/dist/components/complex/modal/index.d.ts +2 -0
- package/dist/components/complex/popup/Popup.css.d.ts +40 -0
- package/dist/components/complex/popup/Popup.d.ts +42 -0
- package/dist/components/complex/popup/Popup.stories.d.ts +25 -0
- package/dist/components/complex/popup/index.d.ts +2 -0
- package/dist/components/index.d.ts +19 -0
- package/dist/icons/components/filled/IconOnline.d.ts +3 -0
- package/dist/icons/components/filled/IconUserProfile.d.ts +3 -0
- package/dist/icons/components/filled/index.d.ts +9 -0
- package/dist/icons/components/outline/IconActivity.d.ts +3 -0
- package/dist/icons/components/outline/IconAlertOctagon.d.ts +3 -0
- package/dist/icons/components/outline/IconAlignCenter.d.ts +3 -0
- package/dist/icons/components/outline/IconAlignJustify.d.ts +3 -0
- package/dist/icons/components/outline/IconAlignLeft.d.ts +3 -0
- package/dist/icons/components/outline/IconAlignRight.d.ts +3 -0
- package/dist/icons/components/outline/IconAnchor.d.ts +3 -0
- package/dist/icons/components/outline/IconArchive.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowCircleDown.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowCircleLeft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowCircleRight.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowCircleUp.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalDownleft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalDownleftSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalDownright.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalDownrightSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalUpleft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalUpleftSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalUpright.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDiagonalUprightSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDown.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDownSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDownleft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowDownright.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowLeft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowLeftSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowLeftdown.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowLeftup.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowRight.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowRightSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowRightdown.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowRightup.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowUp.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowUpSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowUpleft.d.ts +3 -0
- package/dist/icons/components/outline/IconArrowUpright.d.ts +3 -0
- package/dist/icons/components/outline/IconAward.d.ts +3 -0
- package/dist/icons/components/outline/IconBarChart1.d.ts +3 -0
- package/dist/icons/components/outline/IconBarChart2.d.ts +3 -0
- package/dist/icons/components/outline/IconBattery.d.ts +3 -0
- package/dist/icons/components/outline/IconBatteryCharging.d.ts +3 -0
- package/dist/icons/components/outline/IconBell.d.ts +3 -0
- package/dist/icons/components/outline/IconBellOff.d.ts +3 -0
- package/dist/icons/components/outline/IconBluetooth.d.ts +3 -0
- package/dist/icons/components/outline/IconBold.d.ts +3 -0
- package/dist/icons/components/outline/IconBook.d.ts +3 -0
- package/dist/icons/components/outline/IconBookOpen.d.ts +3 -0
- package/dist/icons/components/outline/IconBookmark.d.ts +3 -0
- package/dist/icons/components/outline/IconBox.d.ts +3 -0
- package/dist/icons/components/outline/IconBriefcase.d.ts +3 -0
- package/dist/icons/components/outline/IconCalendar.d.ts +3 -0
- package/dist/icons/components/outline/IconCall.d.ts +3 -0
- package/dist/icons/components/outline/IconCallCalling.d.ts +3 -0
- package/dist/icons/components/outline/IconCallForwarded.d.ts +3 -0
- package/dist/icons/components/outline/IconCallIn.d.ts +3 -0
- package/dist/icons/components/outline/IconCallMissed.d.ts +3 -0
- package/dist/icons/components/outline/IconCallOff.d.ts +3 -0
- package/dist/icons/components/outline/IconCallOut.d.ts +3 -0
- package/dist/icons/components/outline/IconCamera.d.ts +3 -0
- package/dist/icons/components/outline/IconCameraOff.d.ts +3 -0
- package/dist/icons/components/outline/IconCard.d.ts +3 -0
- package/dist/icons/components/outline/IconCast.d.ts +3 -0
- package/dist/icons/components/outline/IconCenter.d.ts +3 -0
- package/dist/icons/components/outline/IconChatCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconChatRectangle.d.ts +3 -0
- package/dist/icons/components/outline/IconCheck.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2Down.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2DownLight.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2Left.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2LeftLight.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2Right.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2RightLight.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2Up.d.ts +3 -0
- package/dist/icons/components/outline/IconChevron2UpLight.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronDown.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronDownSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronLeft.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronLeftSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronRight.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronRightSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronUp.d.ts +3 -0
- package/dist/icons/components/outline/IconChevronUpSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconClip.d.ts +3 -0
- package/dist/icons/components/outline/IconClipboard.d.ts +3 -0
- package/dist/icons/components/outline/IconClock.d.ts +3 -0
- package/dist/icons/components/outline/IconCloud.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudDownload.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudLighting.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudRain1.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudRain2.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudSnow.d.ts +3 -0
- package/dist/icons/components/outline/IconCloudUpload.d.ts +3 -0
- package/dist/icons/components/outline/IconCode.d.ts +3 -0
- package/dist/icons/components/outline/IconCoffee.d.ts +3 -0
- package/dist/icons/components/outline/IconCoin.d.ts +3 -0
- package/dist/icons/components/outline/IconColumn.d.ts +3 -0
- package/dist/icons/components/outline/IconCompass.d.ts +3 -0
- package/dist/icons/components/outline/IconCopy.d.ts +3 -0
- package/dist/icons/components/outline/IconCpu.d.ts +3 -0
- package/dist/icons/components/outline/IconCrop.d.ts +3 -0
- package/dist/icons/components/outline/IconCrosshair.d.ts +3 -0
- package/dist/icons/components/outline/IconDelete.d.ts +3 -0
- package/dist/icons/components/outline/IconDisc.d.ts +3 -0
- package/dist/icons/components/outline/IconDollar.d.ts +3 -0
- package/dist/icons/components/outline/IconDownload.d.ts +3 -0
- package/dist/icons/components/outline/IconDroplet.d.ts +3 -0
- package/dist/icons/components/outline/IconEdit1.d.ts +3 -0
- package/dist/icons/components/outline/IconEdit2.d.ts +3 -0
- package/dist/icons/components/outline/IconEdit3.d.ts +3 -0
- package/dist/icons/components/outline/IconEnergy.d.ts +3 -0
- package/dist/icons/components/outline/IconEnergyOff.d.ts +3 -0
- package/dist/icons/components/outline/IconExternalLink.d.ts +3 -0
- package/dist/icons/components/outline/IconEye.d.ts +3 -0
- package/dist/icons/components/outline/IconEyeOff.d.ts +3 -0
- package/dist/icons/components/outline/IconFastForward.d.ts +3 -0
- package/dist/icons/components/outline/IconFeather.d.ts +3 -0
- package/dist/icons/components/outline/IconFileMinus.d.ts +3 -0
- package/dist/icons/components/outline/IconFilePlus.d.ts +3 -0
- package/dist/icons/components/outline/IconFilm.d.ts +3 -0
- package/dist/icons/components/outline/IconFlag.d.ts +3 -0
- package/dist/icons/components/outline/IconFlter.d.ts +3 -0
- package/dist/icons/components/outline/IconFocus.d.ts +3 -0
- package/dist/icons/components/outline/IconFolder.d.ts +3 -0
- package/dist/icons/components/outline/IconFolderMinus.d.ts +3 -0
- package/dist/icons/components/outline/IconFolderPlus.d.ts +3 -0
- package/dist/icons/components/outline/IconFrame.d.ts +3 -0
- package/dist/icons/components/outline/IconFrown.d.ts +3 -0
- package/dist/icons/components/outline/IconGift.d.ts +3 -0
- package/dist/icons/components/outline/IconGlobe.d.ts +3 -0
- package/dist/icons/components/outline/IconGrid.d.ts +3 -0
- package/dist/icons/components/outline/IconHardDrive.d.ts +3 -0
- package/dist/icons/components/outline/IconHash.d.ts +3 -0
- package/dist/icons/components/outline/IconHeadphones.d.ts +3 -0
- package/dist/icons/components/outline/IconHeart.d.ts +3 -0
- package/dist/icons/components/outline/IconHelpCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconHelpCircleSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconHexagon.d.ts +3 -0
- package/dist/icons/components/outline/IconHome.d.ts +3 -0
- package/dist/icons/components/outline/IconImage.d.ts +3 -0
- package/dist/icons/components/outline/IconInbox.d.ts +3 -0
- package/dist/icons/components/outline/IconInfo.d.ts +3 -0
- package/dist/icons/components/outline/IconInfoSmall.d.ts +3 -0
- package/dist/icons/components/outline/IconItalic.d.ts +3 -0
- package/dist/icons/components/outline/IconKey.d.ts +3 -0
- package/dist/icons/components/outline/IconLayer.d.ts +3 -0
- package/dist/icons/components/outline/IconLayout.d.ts +3 -0
- package/dist/icons/components/outline/IconLifeBuoy.d.ts +3 -0
- package/dist/icons/components/outline/IconLinkDiagonal.d.ts +3 -0
- package/dist/icons/components/outline/IconLinkHorizontal.d.ts +3 -0
- package/dist/icons/components/outline/IconList.d.ts +3 -0
- package/dist/icons/components/outline/IconLoader.d.ts +3 -0
- package/dist/icons/components/outline/IconLock.d.ts +3 -0
- package/dist/icons/components/outline/IconLogin.d.ts +3 -0
- package/dist/icons/components/outline/IconLogout.d.ts +3 -0
- package/dist/icons/components/outline/IconMail.d.ts +3 -0
- package/dist/icons/components/outline/IconMap.d.ts +3 -0
- package/dist/icons/components/outline/IconMaximize.d.ts +3 -0
- package/dist/icons/components/outline/IconMenu.d.ts +3 -0
- package/dist/icons/components/outline/IconMic.d.ts +3 -0
- package/dist/icons/components/outline/IconMicOff.d.ts +3 -0
- package/dist/icons/components/outline/IconMinimize.d.ts +3 -0
- package/dist/icons/components/outline/IconMinus.d.ts +3 -0
- package/dist/icons/components/outline/IconMinusCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconMinusSquare.d.ts +3 -0
- package/dist/icons/components/outline/IconMonitor.d.ts +3 -0
- package/dist/icons/components/outline/IconMoon.d.ts +3 -0
- package/dist/icons/components/outline/IconMoreHorizontal.d.ts +3 -0
- package/dist/icons/components/outline/IconMoreVertical.d.ts +3 -0
- package/dist/icons/components/outline/IconMove.d.ts +3 -0
- package/dist/icons/components/outline/IconMusic.d.ts +3 -0
- package/dist/icons/components/outline/IconNavigation1.d.ts +3 -0
- package/dist/icons/components/outline/IconNavigation2.d.ts +3 -0
- package/dist/icons/components/outline/IconNeutral.d.ts +3 -0
- package/dist/icons/components/outline/IconOctagon.d.ts +3 -0
- package/dist/icons/components/outline/IconPackage.d.ts +3 -0
- package/dist/icons/components/outline/IconPause.d.ts +3 -0
- package/dist/icons/components/outline/IconPauseCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconPercent.d.ts +3 -0
- package/dist/icons/components/outline/IconPhone.d.ts +3 -0
- package/dist/icons/components/outline/IconPiechart.d.ts +3 -0
- package/dist/icons/components/outline/IconPin.d.ts +3 -0
- package/dist/icons/components/outline/IconPlay.d.ts +3 -0
- package/dist/icons/components/outline/IconPlayCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconPlus.d.ts +3 -0
- package/dist/icons/components/outline/IconPlusCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconPlusSquare.d.ts +3 -0
- package/dist/icons/components/outline/IconPocket.d.ts +3 -0
- package/dist/icons/components/outline/IconPower.d.ts +3 -0
- package/dist/icons/components/outline/IconPrinter.d.ts +3 -0
- package/dist/icons/components/outline/IconProhibition.d.ts +3 -0
- package/dist/icons/components/outline/IconRadio.d.ts +3 -0
- package/dist/icons/components/outline/IconRefresh1.d.ts +3 -0
- package/dist/icons/components/outline/IconRefresh2.d.ts +3 -0
- package/dist/icons/components/outline/IconRepeat.d.ts +3 -0
- package/dist/icons/components/outline/IconRewind.d.ts +3 -0
- package/dist/icons/components/outline/IconRollBack.d.ts +3 -0
- package/dist/icons/components/outline/IconRollForward.d.ts +3 -0
- package/dist/icons/components/outline/IconRss.d.ts +3 -0
- package/dist/icons/components/outline/IconSandbox.d.ts +3 -0
- package/dist/icons/components/outline/IconSave.d.ts +3 -0
- package/dist/icons/components/outline/IconScissors.d.ts +3 -0
- package/dist/icons/components/outline/IconSearch.d.ts +3 -0
- package/dist/icons/components/outline/IconSend.d.ts +3 -0
- package/dist/icons/components/outline/IconServer.d.ts +3 -0
- package/dist/icons/components/outline/IconSettings.d.ts +3 -0
- package/dist/icons/components/outline/IconShare1.d.ts +3 -0
- package/dist/icons/components/outline/IconShare2.d.ts +3 -0
- package/dist/icons/components/outline/IconShield.d.ts +3 -0
- package/dist/icons/components/outline/IconShieldOff.d.ts +3 -0
- package/dist/icons/components/outline/IconShoppingBag.d.ts +3 -0
- package/dist/icons/components/outline/IconShoppingCart.d.ts +3 -0
- package/dist/icons/components/outline/IconShuffle.d.ts +3 -0
- package/dist/icons/components/outline/IconSidebar.d.ts +3 -0
- package/dist/icons/components/outline/IconSkipBack.d.ts +3 -0
- package/dist/icons/components/outline/IconSkipForward.d.ts +3 -0
- package/dist/icons/components/outline/IconSliders.d.ts +3 -0
- package/dist/icons/components/outline/IconSmile.d.ts +3 -0
- package/dist/icons/components/outline/IconSpeaker.d.ts +3 -0
- package/dist/icons/components/outline/IconSquare.d.ts +3 -0
- package/dist/icons/components/outline/IconStar.d.ts +3 -0
- package/dist/icons/components/outline/IconStopCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconSun.d.ts +3 -0
- package/dist/icons/components/outline/IconSunrise.d.ts +3 -0
- package/dist/icons/components/outline/IconSunset.d.ts +3 -0
- package/dist/icons/components/outline/IconTablet.d.ts +3 -0
- package/dist/icons/components/outline/IconTag.d.ts +3 -0
- package/dist/icons/components/outline/IconTarget.d.ts +3 -0
- package/dist/icons/components/outline/IconTemperature.d.ts +3 -0
- package/dist/icons/components/outline/IconTextfile.d.ts +3 -0
- package/dist/icons/components/outline/IconThumbsDown.d.ts +3 -0
- package/dist/icons/components/outline/IconThumbsUp.d.ts +3 -0
- package/dist/icons/components/outline/IconTool.d.ts +3 -0
- package/dist/icons/components/outline/IconTrash1.d.ts +3 -0
- package/dist/icons/components/outline/IconTrash2.d.ts +3 -0
- package/dist/icons/components/outline/IconTrendingDown.d.ts +3 -0
- package/dist/icons/components/outline/IconTrendingUp.d.ts +3 -0
- package/dist/icons/components/outline/IconTriangle.d.ts +3 -0
- package/dist/icons/components/outline/IconTruck.d.ts +3 -0
- package/dist/icons/components/outline/IconTv.d.ts +3 -0
- package/dist/icons/components/outline/IconType.d.ts +3 -0
- package/dist/icons/components/outline/IconUmbrella.d.ts +3 -0
- package/dist/icons/components/outline/IconUnderline.d.ts +3 -0
- package/dist/icons/components/outline/IconUnlock.d.ts +3 -0
- package/dist/icons/components/outline/IconUpload.d.ts +3 -0
- package/dist/icons/components/outline/IconUser.d.ts +3 -0
- package/dist/icons/components/outline/IconUserCheck.d.ts +3 -0
- package/dist/icons/components/outline/IconUserMinus.d.ts +3 -0
- package/dist/icons/components/outline/IconUserPlus.d.ts +3 -0
- package/dist/icons/components/outline/IconUserX.d.ts +3 -0
- package/dist/icons/components/outline/IconUsers.d.ts +3 -0
- package/dist/icons/components/outline/IconVideo.d.ts +3 -0
- package/dist/icons/components/outline/IconVideoOff.d.ts +3 -0
- package/dist/icons/components/outline/IconVoicemail.d.ts +3 -0
- package/dist/icons/components/outline/IconVolume.d.ts +3 -0
- package/dist/icons/components/outline/IconVolume1.d.ts +3 -0
- package/dist/icons/components/outline/IconVolume2.d.ts +3 -0
- package/dist/icons/components/outline/IconVolumeX.d.ts +3 -0
- package/dist/icons/components/outline/IconWatch.d.ts +3 -0
- package/dist/icons/components/outline/IconWifi.d.ts +3 -0
- package/dist/icons/components/outline/IconWifiOff.d.ts +3 -0
- package/dist/icons/components/outline/IconWind.d.ts +3 -0
- package/dist/icons/components/outline/IconWireframe.d.ts +3 -0
- package/dist/icons/components/outline/IconX.d.ts +3 -0
- package/dist/icons/components/outline/IconXCircle.d.ts +3 -0
- package/dist/icons/components/outline/IconXOctagon.d.ts +3 -0
- package/dist/icons/components/outline/IconXSquare.d.ts +3 -0
- package/dist/icons/components/outline/IconZoomIn.d.ts +3 -0
- package/dist/icons/components/outline/IconZoomOut.d.ts +3 -0
- package/dist/icons/components/outline/index.d.ts +543 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/types.d.ts +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +17950 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/tokens/colors.css.d.ts +107 -0
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/typography.css.d.ts +7 -0
- package/package.json +32 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
+
type: {
|
|
3
|
+
default: {
|
|
4
|
+
backgroundColor: "#dee0e7";
|
|
5
|
+
};
|
|
6
|
+
photo: {
|
|
7
|
+
backgroundColor: "#c5c7d2";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
status: {
|
|
11
|
+
off: {};
|
|
12
|
+
on: {};
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
24: {
|
|
16
|
+
width: "1.5rem";
|
|
17
|
+
height: "1.5rem";
|
|
18
|
+
};
|
|
19
|
+
32: {
|
|
20
|
+
width: "2rem";
|
|
21
|
+
height: "2rem";
|
|
22
|
+
};
|
|
23
|
+
64: {
|
|
24
|
+
width: "4rem";
|
|
25
|
+
height: "4rem";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
}>;
|
|
29
|
+
export declare const image: string;
|
|
30
|
+
export declare const profileIcon: string;
|
|
31
|
+
export declare const statusIndicator: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
32
|
+
size: {
|
|
33
|
+
24: {
|
|
34
|
+
width: "0.375rem";
|
|
35
|
+
height: "0.375rem";
|
|
36
|
+
bottom: "-0.0625rem";
|
|
37
|
+
right: "-0.0625rem";
|
|
38
|
+
};
|
|
39
|
+
32: {
|
|
40
|
+
width: "0.375rem";
|
|
41
|
+
height: "0.375rem";
|
|
42
|
+
bottom: "-0.0625rem";
|
|
43
|
+
right: "-0.0625rem";
|
|
44
|
+
};
|
|
45
|
+
64: {
|
|
46
|
+
width: "0.75rem";
|
|
47
|
+
height: "0.75rem";
|
|
48
|
+
bottom: "0.0625rem";
|
|
49
|
+
right: "0.0625rem";
|
|
50
|
+
border: "0.13rem solid #ffffff";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImgHTMLAttributes } from 'react';
|
|
2
|
+
export type AvatarType = 'default' | 'photo';
|
|
3
|
+
export type AvatarStatus = 'off' | 'on';
|
|
4
|
+
export type AvatarSize = 24 | 32 | 64;
|
|
5
|
+
export interface AvatarProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'size' | 'src'> {
|
|
6
|
+
type: AvatarType;
|
|
7
|
+
status?: AvatarStatus;
|
|
8
|
+
size?: AvatarSize;
|
|
9
|
+
src?: string;
|
|
10
|
+
alt?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export default Avatar;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("./Avatar.tsx").AvatarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
args: {
|
|
10
|
+
type: "default";
|
|
11
|
+
status: "off";
|
|
12
|
+
size: 32;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
type: {
|
|
16
|
+
control: "select";
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
status: {
|
|
20
|
+
control: "select";
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
control: "select";
|
|
25
|
+
options: number[];
|
|
26
|
+
};
|
|
27
|
+
src: {
|
|
28
|
+
control: "text";
|
|
29
|
+
};
|
|
30
|
+
alt: {
|
|
31
|
+
control: "text";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default meta;
|
|
36
|
+
type Story = StoryObj<typeof meta>;
|
|
37
|
+
export declare const Default: Story;
|
|
38
|
+
export declare const AllVariants: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const labelStyle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
+
selected: {
|
|
3
|
+
true: {
|
|
4
|
+
color: "#0c5dde";
|
|
5
|
+
};
|
|
6
|
+
false: {
|
|
7
|
+
color: "#6e7078";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}>;
|
|
11
|
+
export declare const iconStyle: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
12
|
+
selected: {
|
|
13
|
+
true: {
|
|
14
|
+
color: "#0c5dde";
|
|
15
|
+
};
|
|
16
|
+
false: {
|
|
17
|
+
color: "#989aa4";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
export declare const bottomTabRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
22
|
+
[x: string]: {
|
|
23
|
+
[x: string]: string | import("@vanilla-extract/css").ComplexStyleRule;
|
|
24
|
+
};
|
|
25
|
+
}>;
|
|
26
|
+
export declare const tabItemRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
27
|
+
selected: {
|
|
28
|
+
true: {
|
|
29
|
+
backgroundColor: "#f3f7fd";
|
|
30
|
+
};
|
|
31
|
+
false: {};
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface BottomTabItem {
|
|
3
|
+
value: string;
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BottomTabProps {
|
|
9
|
+
items: BottomTabItem[];
|
|
10
|
+
selectedValue: string;
|
|
11
|
+
onChange: (value: string) => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export default function BottomTab({ items, selectedValue, onChange, className }: BottomTabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import BottomTab from './BottomTab';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof BottomTab;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
selectedValue: {
|
|
12
|
+
control: "text";
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
onChange: {
|
|
16
|
+
action: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<typeof meta>;
|
|
23
|
+
export declare const Default: Story;
|
|
24
|
+
export declare const WithLongLabel: Story;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const loadingWrapper: string;
|
|
2
|
+
export declare const buttonRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
|
+
size: {
|
|
4
|
+
xlarge: (string | {
|
|
5
|
+
borderRadius: "0.375rem";
|
|
6
|
+
gap: "0.5rem";
|
|
7
|
+
})[];
|
|
8
|
+
large: (string | {
|
|
9
|
+
borderRadius: "0.375rem";
|
|
10
|
+
gap: "0.5rem";
|
|
11
|
+
})[];
|
|
12
|
+
medium: (string | {
|
|
13
|
+
borderRadius: "0.25rem";
|
|
14
|
+
gap: "0.5rem";
|
|
15
|
+
})[];
|
|
16
|
+
small: (string | {
|
|
17
|
+
borderRadius: "0.25rem";
|
|
18
|
+
gap: "0.5rem";
|
|
19
|
+
})[];
|
|
20
|
+
xsmall: (string | {
|
|
21
|
+
borderRadius: "0.25rem";
|
|
22
|
+
gap: "0.25rem";
|
|
23
|
+
})[];
|
|
24
|
+
xxsmall: (string | {
|
|
25
|
+
borderRadius: "0.25rem";
|
|
26
|
+
gap: "0.25rem";
|
|
27
|
+
})[];
|
|
28
|
+
};
|
|
29
|
+
variant: {
|
|
30
|
+
filled: {
|
|
31
|
+
color: "#ffffff";
|
|
32
|
+
};
|
|
33
|
+
outline: {
|
|
34
|
+
backgroundColor: "#ffffff";
|
|
35
|
+
borderStyle: "solid";
|
|
36
|
+
borderWidth: "0.09375rem";
|
|
37
|
+
};
|
|
38
|
+
light: {
|
|
39
|
+
border: "none";
|
|
40
|
+
};
|
|
41
|
+
no_bg: {
|
|
42
|
+
backgroundColor: "transparent";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
color: {
|
|
46
|
+
blue: {};
|
|
47
|
+
green: {};
|
|
48
|
+
red: {};
|
|
49
|
+
gray: {};
|
|
50
|
+
};
|
|
51
|
+
iconPosition: {
|
|
52
|
+
none: {};
|
|
53
|
+
left: {};
|
|
54
|
+
right: {};
|
|
55
|
+
duo: {};
|
|
56
|
+
only: {};
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ButtonProps as AriaButtonProps } from 'react-aria-components';
|
|
3
|
+
export type ButtonVariant = 'filled' | 'outline' | 'light' | 'no_bg';
|
|
4
|
+
export type ButtonColor = 'blue' | 'green' | 'red' | 'gray';
|
|
5
|
+
export type ButtonSize = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
|
+
export type ButtonIconPosition = 'none' | 'left' | 'right' | 'duo' | 'only';
|
|
7
|
+
export interface ButtonProps extends Omit<AriaButtonProps, 'children'> {
|
|
8
|
+
variant: ButtonVariant;
|
|
9
|
+
color: ButtonColor;
|
|
10
|
+
size: ButtonSize;
|
|
11
|
+
icon?: React.ReactElement;
|
|
12
|
+
iconPosition?: ButtonIconPosition;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
type?: 'button' | 'submit' | 'reset';
|
|
16
|
+
}
|
|
17
|
+
export default function Button({ children, variant, color, size, icon, iconPosition, loading, isDisabled, type, 'aria-label': ariaLabel, className, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Button from './Button.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Button;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
variant: "filled";
|
|
12
|
+
color: "blue";
|
|
13
|
+
size: "medium";
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
variant: {
|
|
17
|
+
control: "select";
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: "select";
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
control: "select";
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
isDisabled: {
|
|
29
|
+
control: "boolean";
|
|
30
|
+
};
|
|
31
|
+
loading: {
|
|
32
|
+
control: "boolean";
|
|
33
|
+
};
|
|
34
|
+
iconPosition: {
|
|
35
|
+
control: "select";
|
|
36
|
+
options: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default meta;
|
|
41
|
+
type Story = StoryObj<typeof meta>;
|
|
42
|
+
export declare const FilledBlue: Story;
|
|
43
|
+
export declare const AllVariants: Story;
|
|
44
|
+
export declare const DesignSystemGrid: Story;
|
|
45
|
+
export declare const CompleteButtonGrid: Story;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const checkboxRoot: string;
|
|
2
|
+
export declare const checkboxBox: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
|
+
size: {
|
|
4
|
+
'20': {
|
|
5
|
+
width: "1rem";
|
|
6
|
+
height: "1rem";
|
|
7
|
+
borderRadius: "0.13rem";
|
|
8
|
+
};
|
|
9
|
+
'24': {
|
|
10
|
+
width: "1.25rem";
|
|
11
|
+
height: "1.25rem";
|
|
12
|
+
borderRadius: "0.25rem";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
blue_1000: {
|
|
17
|
+
selectors: {
|
|
18
|
+
':not([data-selected="true"]) &': {
|
|
19
|
+
borderColor: "#b6cef5";
|
|
20
|
+
};
|
|
21
|
+
'[data-selected="true"] &': {
|
|
22
|
+
backgroundColor: "#0c5dde";
|
|
23
|
+
borderColor: "#0c5dde";
|
|
24
|
+
};
|
|
25
|
+
'[data-hovered="true"]:not([data-disabled="true"]):not([data-selected="true"]):not([data-indeterminate="true"]) &': {
|
|
26
|
+
borderColor: "#558ee8";
|
|
27
|
+
boxShadow: "0 0 0 0.12rem #0c5dde33";
|
|
28
|
+
};
|
|
29
|
+
'[data-disabled="true"] &': {
|
|
30
|
+
borderColor: "#c5c7d2";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
gray_700: {
|
|
35
|
+
selectors: {
|
|
36
|
+
':not([data-selected="true"]) &': {
|
|
37
|
+
borderColor: "#6e7078";
|
|
38
|
+
};
|
|
39
|
+
'[data-selected="true"] &': {
|
|
40
|
+
backgroundColor: "#3e3f46";
|
|
41
|
+
borderColor: "#3e3f46";
|
|
42
|
+
};
|
|
43
|
+
'[data-hovered="true"]:not([data-disabled="true"]):not([data-selected="true"]):not([data-indeterminate="true"]) &': {
|
|
44
|
+
borderColor: "#3e3f46";
|
|
45
|
+
boxShadow: "0 0 0 0.12rem #dee0e7";
|
|
46
|
+
};
|
|
47
|
+
'[data-disabled="true"] &': {
|
|
48
|
+
borderColor: "#c5c7d2";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
export declare const checkboxIcon: string;
|
|
55
|
+
export declare const checkboxLabel: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
56
|
+
size: {
|
|
57
|
+
'20': (string | {
|
|
58
|
+
marginLeft: "0.38rem";
|
|
59
|
+
})[];
|
|
60
|
+
'24': (string | {
|
|
61
|
+
marginLeft: "0.5rem";
|
|
62
|
+
})[];
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type CheckboxProps as AriaCheckboxProps } from 'react-aria-components';
|
|
2
|
+
export type CheckboxColor = 'blue_1000' | 'gray_700';
|
|
3
|
+
export type CheckboxSize = '20' | '24';
|
|
4
|
+
export interface CheckboxProps extends Omit<AriaCheckboxProps, 'children'> {
|
|
5
|
+
size: CheckboxSize;
|
|
6
|
+
color: CheckboxColor;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function Checkbox({ size, color, isDisabled, children, className, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Checkbox from './Checkbox';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Checkbox;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
size: "20";
|
|
12
|
+
color: "blue_1000";
|
|
13
|
+
isIndeterminate: false;
|
|
14
|
+
isDisabled: false;
|
|
15
|
+
children: string;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
size: {
|
|
19
|
+
control: "select";
|
|
20
|
+
options: string[];
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
color: {
|
|
24
|
+
control: "select";
|
|
25
|
+
options: string[];
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
isIndeterminate: {
|
|
29
|
+
control: "boolean";
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
isDisabled: {
|
|
33
|
+
control: "boolean";
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
children: {
|
|
37
|
+
control: "text";
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default meta;
|
|
43
|
+
type Story = StoryObj<typeof meta>;
|
|
44
|
+
export declare const Playground: Story;
|
|
45
|
+
export declare const Showcase: Story;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
|
+
export declare const chipRecipe: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
|
+
variant: {
|
|
4
|
+
filled: {
|
|
5
|
+
color: "#ffffff";
|
|
6
|
+
};
|
|
7
|
+
outlined: {
|
|
8
|
+
border: "1px solid";
|
|
9
|
+
};
|
|
10
|
+
light: {};
|
|
11
|
+
};
|
|
12
|
+
shape: {
|
|
13
|
+
square: {
|
|
14
|
+
borderRadius: "0.25rem";
|
|
15
|
+
};
|
|
16
|
+
round: {
|
|
17
|
+
borderRadius: "2.5rem";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
size: {
|
|
21
|
+
large: (string | {
|
|
22
|
+
height: "1.75rem";
|
|
23
|
+
})[];
|
|
24
|
+
medium: (string | {
|
|
25
|
+
height: "1.5rem";
|
|
26
|
+
})[];
|
|
27
|
+
small: (string | {
|
|
28
|
+
height: "1.25rem";
|
|
29
|
+
})[];
|
|
30
|
+
};
|
|
31
|
+
color: {
|
|
32
|
+
blue: {};
|
|
33
|
+
green: {};
|
|
34
|
+
red: {};
|
|
35
|
+
yellow: {};
|
|
36
|
+
gray500: {};
|
|
37
|
+
gray800: {};
|
|
38
|
+
};
|
|
39
|
+
iconType: {
|
|
40
|
+
none: {};
|
|
41
|
+
left: {};
|
|
42
|
+
right: {};
|
|
43
|
+
only: {};
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
export type ChipVariants = RecipeVariants<typeof chipRecipe>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ChipVariants } from './Chip.css';
|
|
3
|
+
export type ChipVariant = NonNullable<ChipVariants>['variant'];
|
|
4
|
+
export type ChipColor = NonNullable<ChipVariants>['color'];
|
|
5
|
+
export type ChipSize = NonNullable<ChipVariants>['size'];
|
|
6
|
+
export type ChipShape = NonNullable<ChipVariants>['shape'];
|
|
7
|
+
export type ChipIconPosition = 'none' | 'left' | 'right' | 'only';
|
|
8
|
+
export interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
variant: ChipVariant;
|
|
10
|
+
color: ChipColor;
|
|
11
|
+
size: ChipSize;
|
|
12
|
+
shape: ChipShape;
|
|
13
|
+
icon?: React.ReactElement;
|
|
14
|
+
iconPosition?: ChipIconPosition;
|
|
15
|
+
}
|
|
16
|
+
export default function Chip({ children, variant, color, size, shape, icon, iconPosition, className, 'aria-label': ariaLabel, ...props }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Chip from './Chip';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Chip;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: "select";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
control: "select";
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
control: "select";
|
|
21
|
+
options: string[];
|
|
22
|
+
};
|
|
23
|
+
shape: {
|
|
24
|
+
control: "radio";
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
iconPosition: {
|
|
28
|
+
control: "radio";
|
|
29
|
+
options: string[];
|
|
30
|
+
};
|
|
31
|
+
icon: {
|
|
32
|
+
control: "boolean";
|
|
33
|
+
mapping: {
|
|
34
|
+
false: undefined;
|
|
35
|
+
true: import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
args: {
|
|
40
|
+
children: string;
|
|
41
|
+
variant: "filled";
|
|
42
|
+
color: "blue";
|
|
43
|
+
size: "medium";
|
|
44
|
+
shape: "round";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default meta;
|
|
48
|
+
type Story = StoryObj<typeof meta>;
|
|
49
|
+
export declare const Default: Story;
|
|
50
|
+
export declare const AllVariants: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type CloseColor = 'gray600' | 'gray100';
|
|
2
|
+
export type CloseSize = 16 | 20 | 24;
|
|
3
|
+
export interface CloseProps {
|
|
4
|
+
color?: CloseColor;
|
|
5
|
+
size?: CloseSize;
|
|
6
|
+
onPress?: () => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
'aria-label'?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function Close({ color, size, onPress, className, 'aria-label': ariaLabel, }: CloseProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Close from './Close';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Close;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
color: "gray600";
|
|
12
|
+
size: 24;
|
|
13
|
+
onPress: () => void;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
color: {
|
|
17
|
+
control: "select";
|
|
18
|
+
options: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: number[];
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
onPress: {
|
|
27
|
+
action: string;
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
'aria-label': {
|
|
31
|
+
control: "text";
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof meta>;
|
|
38
|
+
export declare const Default: Story;
|
|
39
|
+
export declare const AllVariants: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const guideText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
+
color: {
|
|
3
|
+
gray: {
|
|
4
|
+
color: "#989aa4";
|
|
5
|
+
};
|
|
6
|
+
red: {
|
|
7
|
+
color: "#d21b1b";
|
|
8
|
+
};
|
|
9
|
+
blue: {
|
|
10
|
+
color: "#0c5dde";
|
|
11
|
+
};
|
|
12
|
+
green: {
|
|
13
|
+
color: "#00903d";
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
17
|
+
export declare const guideTextIcon: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type GuideTextColor = 'gray' | 'red' | 'blue' | 'green';
|
|
2
|
+
export interface GuideTextProps {
|
|
3
|
+
color: GuideTextColor;
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export default function GuideText({ color, icon, children, className }: GuideTextProps): import("react/jsx-runtime").JSX.Element;
|