@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,10 @@
|
|
|
1
|
+
export type StepperColor = 'blue' | 'gray';
|
|
2
|
+
export type StepperSize = 'medium' | 'small';
|
|
3
|
+
export interface StepperProps {
|
|
4
|
+
totalSteps: number;
|
|
5
|
+
currentStep: number;
|
|
6
|
+
size: StepperSize;
|
|
7
|
+
color: StepperColor;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function Stepper({ totalSteps, currentStep, size, color, className, }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Stepper from './Stepper';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Stepper;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
totalSteps: number;
|
|
12
|
+
currentStep: number;
|
|
13
|
+
size: "medium";
|
|
14
|
+
color: "blue";
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
totalSteps: {
|
|
18
|
+
control: {
|
|
19
|
+
type: "number";
|
|
20
|
+
min: number;
|
|
21
|
+
};
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
currentStep: {
|
|
25
|
+
control: {
|
|
26
|
+
type: "number";
|
|
27
|
+
min: number;
|
|
28
|
+
};
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
control: "select";
|
|
33
|
+
options: string[];
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
control: "select";
|
|
38
|
+
options: string[];
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default meta;
|
|
44
|
+
type Story = StoryObj<typeof meta>;
|
|
45
|
+
export declare const Playground: Story;
|
|
46
|
+
export declare const Showcase: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type TabsProps as AriaTabsProps } from 'react-aria-components';
|
|
3
|
+
export interface TabItemBase {
|
|
4
|
+
id: string | number;
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface TabItemWithContent extends TabItemBase {
|
|
9
|
+
content: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface TabPropsWithPanel extends Omit<AriaTabsProps, 'children'> {
|
|
12
|
+
items: TabItemWithContent[];
|
|
13
|
+
withPanel?: true;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TabPropsWithoutPanel extends Omit<AriaTabsProps, 'children'> {
|
|
17
|
+
items: TabItemBase[];
|
|
18
|
+
withPanel: false;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export type TabProps = TabPropsWithPanel | TabPropsWithoutPanel;
|
|
22
|
+
export default function Tab({ items, withPanel, className, ...props }: TabProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Tab from './Tab';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Tab;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const WithDisabled: Story;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
+
state: {
|
|
3
|
+
default: {
|
|
4
|
+
borderColor: "#f1f2f6";
|
|
5
|
+
selectors: {
|
|
6
|
+
'&:hover:not(:focus-within)': {
|
|
7
|
+
'@media': {
|
|
8
|
+
'(hover: hover)': {
|
|
9
|
+
borderColor: "#cedff8";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
borderColor: "#f1bbbb";
|
|
17
|
+
selectors: {
|
|
18
|
+
'&:hover:not(:focus-within)': {
|
|
19
|
+
'@media': {
|
|
20
|
+
'(hover: hover)': {
|
|
21
|
+
borderColor: "#e98d8d";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
border: string;
|
|
30
|
+
};
|
|
31
|
+
filledDisabled: {
|
|
32
|
+
backgroundColor: string;
|
|
33
|
+
border: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare const contentWrapper: string;
|
|
38
|
+
export declare const label: string;
|
|
39
|
+
export declare const labelText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
40
|
+
state: {
|
|
41
|
+
default: {};
|
|
42
|
+
error: {};
|
|
43
|
+
disabled: {
|
|
44
|
+
color: "#c5c7d2";
|
|
45
|
+
};
|
|
46
|
+
filledDisabled: {
|
|
47
|
+
color: "#c5c7d2";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
51
|
+
export declare const required: string;
|
|
52
|
+
export declare const textarea: string;
|
|
53
|
+
export declare const textareaWithScroll: string;
|
|
54
|
+
export declare const limitWrapper: string;
|
|
55
|
+
export declare const limitCurrent: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
56
|
+
state: {
|
|
57
|
+
default: {};
|
|
58
|
+
error: {};
|
|
59
|
+
disabled: {
|
|
60
|
+
color: "#c5c7d2";
|
|
61
|
+
};
|
|
62
|
+
filledDisabled: {
|
|
63
|
+
color: "#c5c7d2";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}>;
|
|
67
|
+
export declare const limitSeparator: string;
|
|
68
|
+
export declare const limitMax: string;
|
|
69
|
+
export declare const guideTextContainer: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TextareaHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
|
|
3
|
+
label: string;
|
|
4
|
+
state?: 'default' | 'error';
|
|
5
|
+
required?: boolean;
|
|
6
|
+
guideText?: ReactNode;
|
|
7
|
+
maxLength?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const TextArea: import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
10
|
+
export default TextArea;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("./TextArea.tsx").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
args: {
|
|
10
|
+
label: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
rows: number;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
label: {
|
|
16
|
+
control: "text";
|
|
17
|
+
};
|
|
18
|
+
required: {
|
|
19
|
+
control: "boolean";
|
|
20
|
+
};
|
|
21
|
+
guideText: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
maxLength: {
|
|
25
|
+
control: "number";
|
|
26
|
+
};
|
|
27
|
+
rows: {
|
|
28
|
+
control: "number";
|
|
29
|
+
};
|
|
30
|
+
state: {
|
|
31
|
+
control: "select";
|
|
32
|
+
options: string[];
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
control: "boolean";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default meta;
|
|
40
|
+
type Story = StoryObj<typeof meta>;
|
|
41
|
+
export declare const Default: Story;
|
|
42
|
+
export declare const AllStates: Story;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const container: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
2
|
+
state: {
|
|
3
|
+
default: {
|
|
4
|
+
borderColor: "#f1f2f6";
|
|
5
|
+
selectors: {
|
|
6
|
+
'&:hover:not(:focus-within)': {
|
|
7
|
+
'@media': {
|
|
8
|
+
'(hover: hover)': {
|
|
9
|
+
borderColor: "#cedff8";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
borderColor: "#f1bbbb";
|
|
17
|
+
selectors: {
|
|
18
|
+
'&:hover:not(:focus-within)': {
|
|
19
|
+
'@media': {
|
|
20
|
+
'(hover: hover)': {
|
|
21
|
+
borderColor: "#e98d8d";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
readonly backgroundColor: "#f7f7fa";
|
|
29
|
+
readonly border: "none";
|
|
30
|
+
};
|
|
31
|
+
filledDisabled: {
|
|
32
|
+
readonly backgroundColor: "#f7f7fa";
|
|
33
|
+
readonly border: "none";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare const contentWrapper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
38
|
+
paddingVariant: {
|
|
39
|
+
default: {
|
|
40
|
+
padding: "0.5rem 0.75rem";
|
|
41
|
+
};
|
|
42
|
+
leftIcon: {
|
|
43
|
+
padding: "0.5rem 0.75rem 0.5rem 0";
|
|
44
|
+
};
|
|
45
|
+
rightIcon: {
|
|
46
|
+
padding: "0.5rem 0 0.5rem 0.75rem";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
50
|
+
export declare const label: string;
|
|
51
|
+
export declare const labelText: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
52
|
+
state: {
|
|
53
|
+
default: {};
|
|
54
|
+
error: {
|
|
55
|
+
color: "#989aa4";
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
color: "#c5c7d2";
|
|
59
|
+
};
|
|
60
|
+
filledDisabled: {
|
|
61
|
+
color: "#c5c7d2";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
65
|
+
export declare const required: string;
|
|
66
|
+
export declare const input: string;
|
|
67
|
+
export declare const iconWrapper: string;
|
|
68
|
+
export declare const limitWrapper: string;
|
|
69
|
+
export declare const limitCurrent: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
70
|
+
state: {
|
|
71
|
+
default: {};
|
|
72
|
+
error: {};
|
|
73
|
+
disabled: {
|
|
74
|
+
color: "#c5c7d2";
|
|
75
|
+
};
|
|
76
|
+
filledDisabled: {
|
|
77
|
+
color: "#c5c7d2";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
export declare const limitSeparator: string;
|
|
82
|
+
export declare const limitMax: string;
|
|
83
|
+
export declare const rightContentWrapper: string;
|
|
84
|
+
export declare const guideTextContainer: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
3
|
+
label: string;
|
|
4
|
+
state?: 'default' | 'error';
|
|
5
|
+
required?: boolean;
|
|
6
|
+
leftIcon?: ReactNode;
|
|
7
|
+
rightIcon?: ReactNode;
|
|
8
|
+
guideText?: ReactNode;
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const TextField: import("react").ForwardRefExoticComponent<TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export default TextField;
|
|
@@ -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("./TextField.tsx").TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
args: {
|
|
10
|
+
label: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
label: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
required: {
|
|
18
|
+
control: "boolean";
|
|
19
|
+
};
|
|
20
|
+
guideText: {
|
|
21
|
+
control: "text";
|
|
22
|
+
};
|
|
23
|
+
maxLength: {
|
|
24
|
+
control: "number";
|
|
25
|
+
};
|
|
26
|
+
state: {
|
|
27
|
+
control: "select";
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
control: "boolean";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default meta;
|
|
36
|
+
type Story = StoryObj<typeof meta>;
|
|
37
|
+
export declare const Default: Story;
|
|
38
|
+
export declare const AllStates: Story;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const base: string;
|
|
2
|
+
export declare const track: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
3
|
+
color: {
|
|
4
|
+
blue: {
|
|
5
|
+
selectors: {
|
|
6
|
+
'&[data-focus="true"]:not([data-disabled="true"])': {
|
|
7
|
+
outline: "0.125rem solid #85aeef";
|
|
8
|
+
outlineOffset: "0.12rem";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
green: {
|
|
13
|
+
selectors: {
|
|
14
|
+
'&[data-focus="true"]:not([data-disabled="true"])': {
|
|
15
|
+
outline: "0.125rem solid #80c79e";
|
|
16
|
+
outlineOffset: "0.12rem";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
checked: {
|
|
22
|
+
false: {
|
|
23
|
+
backgroundColor: "#dee0e7";
|
|
24
|
+
};
|
|
25
|
+
true: {};
|
|
26
|
+
};
|
|
27
|
+
}>;
|
|
28
|
+
export declare const thumb: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
29
|
+
checked: {
|
|
30
|
+
false: {
|
|
31
|
+
transform: "translateX(0)";
|
|
32
|
+
};
|
|
33
|
+
true: {
|
|
34
|
+
transform: "translateX(1.5rem)";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
export declare const textContainer: string;
|
|
39
|
+
export declare const text: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
40
|
+
color: {
|
|
41
|
+
blue: {};
|
|
42
|
+
green: {};
|
|
43
|
+
};
|
|
44
|
+
position: {
|
|
45
|
+
left: {};
|
|
46
|
+
right: {};
|
|
47
|
+
};
|
|
48
|
+
checked: {
|
|
49
|
+
true: {};
|
|
50
|
+
false: {};
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type SwitchProps as AriaSwitchProps } from 'react-aria-components';
|
|
2
|
+
export type ToggleColor = 'blue' | 'green';
|
|
3
|
+
export type ToggleText = 'text' | 'text_none';
|
|
4
|
+
export interface ToggleProps extends Omit<AriaSwitchProps, 'children'> {
|
|
5
|
+
color: ToggleColor;
|
|
6
|
+
text?: ToggleText;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export default function Toggle({ color, text, isDisabled, className, ...props }: ToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Toggle from './Toggle.tsx';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Toggle;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
color: "blue";
|
|
12
|
+
text: "text_none";
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
color: {
|
|
16
|
+
control: "select";
|
|
17
|
+
options: string[];
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
text: {
|
|
21
|
+
control: "select";
|
|
22
|
+
options: string[];
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
export declare const Default: Story;
|
|
30
|
+
export declare const WithText: Story;
|
|
31
|
+
export declare const AllVariants: Story;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ButtonProps as AriaButtonProps } from 'react-aria-components';
|
|
3
|
+
export type DropdownSize = 'sm' | 'md';
|
|
4
|
+
export type DropdownSubTextLayout = 'caption' | 'title';
|
|
5
|
+
export interface DropdownProps extends Omit<AriaButtonProps, 'children'> {
|
|
6
|
+
size: DropdownSize;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
isDisabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
subText?: string;
|
|
12
|
+
subTextLayout?: DropdownSubTextLayout;
|
|
13
|
+
menuItems: Array<{
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
subText?: string;
|
|
17
|
+
}>;
|
|
18
|
+
onSubItemClick?: (id: string) => void;
|
|
19
|
+
isDefaultExpanded?: boolean;
|
|
20
|
+
selectedMenuItemId?: string;
|
|
21
|
+
}
|
|
22
|
+
export default function Dropdown({ size, isSelected, isDisabled, className, children, subText, subTextLayout, menuItems, onSubItemClick, isDefaultExpanded, selectedMenuItemId, ...props }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import Dropdown from './Dropdown';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Dropdown;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
args: {
|
|
11
|
+
size: "md";
|
|
12
|
+
isSelected: false;
|
|
13
|
+
isDisabled: false;
|
|
14
|
+
children: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
size: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
isSelected: {
|
|
23
|
+
control: "boolean";
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
isDisabled: {
|
|
27
|
+
control: "boolean";
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
subText: {
|
|
31
|
+
control: "text";
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
subTextLayout: {
|
|
35
|
+
control: "select";
|
|
36
|
+
options: string[];
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
menuItems: {
|
|
40
|
+
control: "object";
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
onSubItemClick: {
|
|
44
|
+
action: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
isDefaultExpanded: {
|
|
48
|
+
control: "boolean";
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
selectedMenuItemId: {
|
|
52
|
+
control: "text";
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
children: {
|
|
56
|
+
control: "text";
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default meta;
|
|
62
|
+
type Story = StoryObj<typeof meta>;
|
|
63
|
+
/**
|
|
64
|
+
* 1. 가장 기본 형태
|
|
65
|
+
*/
|
|
66
|
+
export declare const Basic: Story;
|
|
67
|
+
/**
|
|
68
|
+
* 2. Caption 레이아웃 (하단 설명 텍스트)
|
|
69
|
+
*/
|
|
70
|
+
export declare const WithCaption: Story;
|
|
71
|
+
/**
|
|
72
|
+
* 3. Title 레이아웃 (상단 고정 타이틀)
|
|
73
|
+
*/
|
|
74
|
+
export declare const WithTitle: Story;
|
|
75
|
+
/**
|
|
76
|
+
* 4. Disabled 상태
|
|
77
|
+
*/
|
|
78
|
+
export declare const Disabled: Story;
|
|
79
|
+
/**
|
|
80
|
+
* 5. Size 비교 (sm / md)
|
|
81
|
+
*/
|
|
82
|
+
export declare const Sizes: Story;
|
|
83
|
+
/**
|
|
84
|
+
* 6. 메뉴 아이템에 SubText가 있는 경우
|
|
85
|
+
*/
|
|
86
|
+
export declare const MenuWithSubText: Story;
|
|
87
|
+
/**
|
|
88
|
+
* 7. Interactive (최대 케이스 / 실제 사용 예)
|
|
89
|
+
* - 선택 상태 관리
|
|
90
|
+
* - Title 레이아웃
|
|
91
|
+
* - 메뉴 + 체크 아이콘
|
|
92
|
+
*/
|
|
93
|
+
export declare const Interactive: Story;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const menuTextWrapper: string;
|
|
2
|
+
export declare const menuMainText: string;
|
|
3
|
+
export declare const menuSubText: string;
|
|
4
|
+
export declare const dropdown: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
5
|
+
selected: {
|
|
6
|
+
true: {};
|
|
7
|
+
false: {};
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
true: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
border: string;
|
|
13
|
+
};
|
|
14
|
+
false: {};
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
sm: (string | {
|
|
18
|
+
padding: "0.375rem 0.5rem";
|
|
19
|
+
})[];
|
|
20
|
+
md: (string | {
|
|
21
|
+
padding: "0.5rem 0.5rem";
|
|
22
|
+
})[];
|
|
23
|
+
};
|
|
24
|
+
subTextLayout: {
|
|
25
|
+
none: {};
|
|
26
|
+
caption: {};
|
|
27
|
+
title: {
|
|
28
|
+
alignItems: "center";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
export declare const menu: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
33
|
+
selected: {
|
|
34
|
+
true: {};
|
|
35
|
+
false: {};
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
true: {
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
border: string;
|
|
41
|
+
};
|
|
42
|
+
false: {};
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
sm: {};
|
|
46
|
+
md: {};
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
export declare const textWrapper: string;
|
|
50
|
+
export declare const textWrapperCaption: string;
|
|
51
|
+
export declare const textWrapperTitle: string;
|
|
52
|
+
export declare const mainText: string;
|
|
53
|
+
export declare const titleText: string;
|
|
54
|
+
export declare const bottomTitleText: string;
|
|
55
|
+
export declare const captionText: string;
|
|
56
|
+
export declare const arrowWrapper: string;
|
|
57
|
+
export declare const arrowExpanded: string;
|
|
58
|
+
export declare const checkWrapper: string;
|
|
59
|
+
export declare const disclosureRoot: string;
|
|
60
|
+
export declare const disclosurePanel: string;
|
|
61
|
+
export declare const disclosurePanelOpen: string;
|
|
62
|
+
export declare const subMenuInner: string;
|
|
63
|
+
export declare const subMenuList: string;
|