@wishket/design-system 1.17.3 → 1.17.4
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 +1 -1
- package/dist/Components/Base/Layouts/FullBleed/FullBleed.js +1 -1
- package/dist/Components/Base/Layouts/FullBleed/FullBleed.utils.js +1 -1
- package/dist/Components/Base/TextWithIcons/TextWithIcons.d.ts +1 -1
- package/dist/Components/Base/TextWithIcons/TextWithIcons.js +2 -2
- package/dist/Components/Base/Typography/Typography.d.ts +1 -1
- package/dist/Components/Base/Typography/Typography.js +3 -3
- package/dist/Components/Base/Typography/Typography.types.d.ts +13 -12
- package/dist/Components/DataDisplays/Accordion/Accordion.js +8 -8
- package/dist/Components/DataDisplays/Avatar/Avatar.d.ts +2 -1
- package/dist/Components/DataDisplays/Avatar/Avatar.js +5 -4
- package/dist/Components/DataDisplays/Divider/Divider.d.ts +3 -20
- package/dist/Components/DataDisplays/Divider/Divider.js +10 -6
- package/dist/Components/DataDisplays/Label/Label.js +1 -1
- package/dist/Components/DataDisplays/Li/Li.d.ts +5 -68
- package/dist/Components/DataDisplays/Li/Li.js +7 -7
- package/dist/Components/DataDisplays/ProductIcon/Icons/Achieve.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Bookmark.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/BubbleStar.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/BubbleStars.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Building.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Calendar.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/CardConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/CardWrite.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Congrats.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/ContractPen.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Credit.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Database.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Design.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Discount.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/DocumentCloud.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/DocumentSuccess.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Email.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/HandShake.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/HandThumb.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Idea.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Lock.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Logout.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/MemoWrite.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/MobileConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Package.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperCertify.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperClip.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperClipClock.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperClock.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperContract.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperHold.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperOverlap.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperPen.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperProject.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PaperSecurity.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PersonFreelancer.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PersonOffice.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/PersonSmile.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Public.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Receipt.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Repair.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Search.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/SearchConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/ShieldConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/ShieldWon.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Shopping.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WebDevelopment.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WebDomain.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WebPayment.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WebSecurity.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WidePaperConfirm.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WidePaperPayment.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WidePaperPlan.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/WidePaperStructure.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/Icons/Won.d.ts +1 -1
- package/dist/Components/DataDisplays/ProductIcon/ProductIcon.constants.d.ts +9 -5
- package/dist/Components/DataDisplays/ProductIcon/ProductIcon.js +5 -8
- package/dist/Components/DataDisplays/ProductIcon/ProductIcon.part.types.d.ts +5 -0
- package/dist/Components/DataDisplays/ProductIcon/ProductIcon.types.d.ts +4 -11
- package/dist/Components/DataDisplays/SkillLabel/SkillLabel.parts.js +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeAccountSetting.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeAnswer.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeArrowDown.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeArrowLeft.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeArrowRight.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeArrowUp.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeBell.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeBubble.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeCollection.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeCollectionAdd.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeDelete.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeDrawer.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeFilter.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeHeart.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeHome.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeLike.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeLink.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargePlus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeQuestion.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeReset.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeScrap.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeSearch.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeSend.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeService.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeShare.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeStar.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeTop.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeUserImageAvatar.d.ts +1 -2
- package/dist/Components/DataDisplays/SystemIcon/Icons/Large/LargeUserImageAvatar.js +4 -4
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumAi.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumAnswer.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumArrowDown.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumArrowLeft.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumArrowRight.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumArrowUp.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumBell.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumBubble.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCalendar.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCaution.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCautionTriangle.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCheck.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumClip.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCollection.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumCompass.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumDelete.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumEdit.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumError.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumEye.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumEyeSlash.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumFilter.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumFire.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumGlassesMinus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumGlassesPlus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumHashTag.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumHeart.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumHighlight.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumInformation.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumLink.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumList.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumMagic.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumMenuDown.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumMenuUp.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumMinus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumMoreOptions.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPersonAdd.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPin.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPlus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPopular.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPrivate.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumPublic.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumQuestion.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumQuestionNew.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumRename.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumReply.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumReset.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumScrap.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumSearch.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumSend.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumShare.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumStar.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumSuccess.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumTrash.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumUpload.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Medium/MediumWait.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallArrowDown.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallArrowLeft.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallArrowRight.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallArrowUp.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallBell.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallCamera.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallCat.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallCheck.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallCollection.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallDelete.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallEdit.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallEye.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallHeart.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallIndeterminate.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallInformation.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallLike.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallLink.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallList.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallMoreOptions.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallPlay.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallPlus.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallPrivate.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallPublic.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallRadioDot.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallResizer.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallScrap.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallShare.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallSlash.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallStar.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallStop.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallTrash.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Small/SmallWait.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/SocialFacebook.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/SocialGoogle.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/SocialLinkedIn.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/SocialNaver.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/SocialX.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/WishketBlog.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/WishketFacebook.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/Icons/Social/WishketNaverBlog.d.ts +1 -1
- package/dist/Components/DataDisplays/SystemIcon/SystemIcon.constants.d.ts +6 -1
- package/dist/Components/DataDisplays/SystemIcon/SystemIcon.part.types.d.ts +6 -0
- package/dist/Components/DataDisplays/SystemIcon/SystemIcon.types.d.ts +4 -12
- package/dist/Components/Feedbacks/DialogBox/DialogBox.js +2 -2
- package/dist/Components/Feedbacks/GlobalLoadingIndicator/GlobalLoadingIndicator.d.ts +18 -10
- package/dist/Components/Feedbacks/GlobalLoadingIndicator/GlobalLoadingIndicator.js +16 -7
- package/dist/Components/Feedbacks/LoadingIndicator/LoadingIndicator.d.ts +2 -21
- package/dist/Components/Feedbacks/LoadingIndicator/LoadingIndicator.js +9 -6
- package/dist/Components/Feedbacks/LoadingIndicator/LoadingIndicator.types.d.ts +2 -0
- package/dist/Components/Feedbacks/MessageBar/MessageBar.js +5 -5
- package/dist/Components/Feedbacks/MessageBox/MessageBox.js +6 -6
- package/dist/Components/Feedbacks/MessageBox/MessageBox.parts.js +3 -3
- package/dist/Components/Feedbacks/SnackBar/SnackBar.d.ts +1 -1
- package/dist/Components/Feedbacks/SnackBar/SnackBar.js +5 -11
- package/dist/Components/Feedbacks/SnackBar/SnackBar.types.d.ts +1 -0
- package/dist/Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.d.ts +30 -0
- package/dist/Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.js +31 -0
- package/dist/Components/Feedbacks/{PlainTooltip → Tooltip/PlainTooltip}/PlainTooltip.parts.d.ts +1 -1
- package/dist/Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.parts.js +1 -0
- package/dist/Components/Feedbacks/Tooltip/PlainTooltip/index.d.ts +1 -0
- package/dist/Components/Feedbacks/Tooltip/RichTooltip/RichTooltip.d.ts +33 -0
- package/dist/Components/Feedbacks/Tooltip/RichTooltip/RichTooltip.js +32 -0
- package/dist/Components/Feedbacks/Tooltip/RichTooltip/index.d.ts +1 -0
- package/dist/Components/Feedbacks/Tooltip/Tooltip.d.ts +24 -0
- package/dist/Components/Feedbacks/Tooltip/Tooltip.js +25 -0
- package/dist/Components/Feedbacks/Tooltip/Tooltip.types.d.ts +19 -0
- package/dist/Components/Feedbacks/Tooltip/index.d.ts +4 -0
- package/dist/Components/Feedbacks/index.d.ts +1 -2
- package/dist/Components/Inputs/AutoCompleteList/AutoCompleteList.js +4 -4
- package/dist/Components/Inputs/AutoCompleteList/AutoCompleteList.parts.js +4 -4
- package/dist/Components/Inputs/Button/Button.d.ts +7 -13
- package/dist/Components/Inputs/Button/Button.js +2 -51
- package/dist/Components/Inputs/Button/Button.types.d.ts +3 -10
- package/dist/Components/Inputs/Calendar/Calendar.js +8 -8
- package/dist/Components/Inputs/Calendar/Calendar.parts.js +7 -7
- package/dist/Components/Inputs/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.js +1 -1
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.parts.js +3 -3
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.types.d.ts +1 -1
- package/dist/Components/Inputs/CheckboxListItem/CheckboxListItem.d.ts +1 -1
- package/dist/Components/Inputs/CheckboxListItem/CheckboxListItem.js +3 -3
- package/dist/Components/Inputs/ChoiceChip/ChoiceChip.js +6 -6
- package/dist/Components/Inputs/CommentArea/CommentArea.js +9 -9
- package/dist/Components/Inputs/FileUploader/FileUploader.d.ts +45 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.hooks.d.ts +20 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.hooks.js +1 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.js +48 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.parts.d.ts +10 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.parts.js +11 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.types.d.ts +19 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.utils.d.ts +4 -0
- package/dist/Components/Inputs/FileUploader/FileUploader.utils.js +1 -0
- package/dist/Components/Inputs/FileUploader/index.d.ts +2 -0
- package/dist/Components/Inputs/FilterChip/FilterChip.js +5 -5
- package/dist/Components/Inputs/FilterList/FilterList.js +16 -14
- package/dist/Components/Inputs/IconButton/IconButton.d.ts +6 -4
- package/dist/Components/Inputs/IconButton/IconButton.js +7 -8
- package/dist/Components/Inputs/IconButtonDropdown/IconButtonDropdown.js +4 -4
- package/dist/Components/Inputs/Input/Input.js +1 -1
- package/dist/Components/Inputs/Input/LabelInput.js +3 -3
- package/dist/Components/Inputs/Input/PasswordInput.js +4 -4
- package/dist/Components/Inputs/InputChip/InputChip.js +3 -3
- package/dist/Components/Inputs/List/List.js +4 -4
- package/dist/Components/Inputs/MultiColumnList/MultiColumnList.parts.js +2 -2
- package/dist/Components/Inputs/RadioCard/RadioCard.js +1 -1
- package/dist/Components/Inputs/RadioCard/RadioCard.parts.js +4 -4
- package/dist/Components/Inputs/RadioList/RadioList.js +2 -2
- package/dist/Components/Inputs/RadioList/parts/index.d.ts +0 -1
- package/dist/Components/Inputs/RadioListItem/RadioListItem.d.ts +10 -0
- package/dist/Components/Inputs/RadioListItem/RadioListItem.js +5 -0
- package/dist/Components/Inputs/RadioListItem/index.d.ts +1 -0
- package/dist/Components/Inputs/RangeSlider/RangeSlider.js +2 -2
- package/dist/Components/Inputs/SearchField/SearchField.js +3 -3
- package/dist/Components/Inputs/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/Components/Inputs/SupportTextContainer/SupportTextContainer.d.ts +3 -2
- package/dist/Components/Inputs/SupportTextContainer/SupportTextContainer.js +3 -3
- package/dist/Components/Inputs/TextButton/TextButton.d.ts +5 -2
- package/dist/Components/Inputs/TextButton/TextButton.js +7 -4
- package/dist/Components/Inputs/TextButton/TextButton.types.d.ts +2 -0
- package/dist/Components/Inputs/TextButtonDropdown/TextButtonDropdown.js +4 -4
- package/dist/Components/Inputs/TextButtonDropdown/TextButtonDropdown.parts.js +4 -4
- package/dist/Components/Inputs/TextField/TextField.d.ts +5 -8
- package/dist/Components/Inputs/TextField/TextField.js +6 -8
- package/dist/Components/Inputs/TextFieldContainer/TextFieldContainer.js +1 -1
- package/dist/Components/Inputs/TextFieldDropdown/TextFieldDropdown.js +3 -3
- package/dist/Components/Inputs/TextFieldDropdown/TextFieldDropdown.parts.js +3 -3
- package/dist/Components/Inputs/Textarea/Textarea.js +5 -5
- package/dist/Components/Inputs/index.d.ts +2 -0
- package/dist/Components/Layouts/Card/Card.d.ts +42 -0
- package/dist/Components/Layouts/Card/index.d.ts +1 -0
- package/dist/Components/Layouts/Fieldset/Fieldset.d.ts +38 -0
- package/dist/Components/Layouts/Fieldset/index.d.ts +1 -0
- package/dist/Components/Layouts/index.d.ts +2 -0
- package/dist/Components/Navigations/BoxTab/BoxTab.parts.js +1 -1
- package/dist/Components/Navigations/Drawer/Drawer.d.ts +2 -7
- package/dist/Components/Navigations/Drawer/Drawer.styles.d.ts +1 -1
- package/dist/Components/Navigations/Drawer/Drawer.types.d.ts +7 -0
- package/dist/Components/Navigations/GNBList/GNBList.d.ts +30 -30
- package/dist/Components/Navigations/GNBList/GNBList.js +27 -27
- package/dist/Components/Navigations/GNBList/GNBList.parts.d.ts +114 -20
- package/dist/Components/Navigations/GNBList/GNBList.parts.js +64 -16
- package/dist/Components/Navigations/GNBList/GNBList.types.d.ts +4 -4
- package/dist/Components/Navigations/Menu/Menu.js +3 -3
- package/dist/Components/Navigations/Pagination/Pagination.parts.js +2 -2
- package/dist/Components/Navigations/TableOfContents/TableOfContents.js +1 -1
- package/dist/Components/Navigations/TextTab/TextTab.parts.js +4 -4
- package/dist/Components/Wrappers/WithBadge/WithBadge.js +2 -2
- package/dist/Components/Wrappers/WithSnackBar/WithSnackBar.js +3 -3
- package/dist/Components/Wrappers/index.d.ts +0 -1
- package/dist/cjs/Components/Base/Layouts/FullBleed/FullBleed.js +1 -1
- package/dist/cjs/Components/Base/Layouts/FullBleed/FullBleed.utils.js +1 -1
- package/dist/cjs/Components/Base/TextWithIcons/TextWithIcons.js +2 -2
- package/dist/cjs/Components/Base/Typography/Typography.js +3 -3
- package/dist/cjs/Components/DataDisplays/Accordion/Accordion.js +8 -8
- package/dist/cjs/Components/DataDisplays/Avatar/Avatar.js +5 -4
- package/dist/cjs/Components/DataDisplays/Divider/Divider.js +24 -1
- package/dist/cjs/Components/DataDisplays/Label/Label.js +1 -1
- package/dist/cjs/Components/DataDisplays/Li/Li.js +7 -8
- package/dist/cjs/Components/DataDisplays/ProductIcon/ProductIcon.js +2 -8
- package/dist/cjs/Components/DataDisplays/SkillLabel/SkillLabel.parts.js +1 -1
- package/dist/cjs/Components/DataDisplays/SystemIcon/Icons/Large/LargeUserImageAvatar.js +4 -4
- package/dist/cjs/Components/Feedbacks/DialogBox/DialogBox.js +2 -2
- package/dist/cjs/Components/Feedbacks/LoadingIndicator/LoadingIndicator.js +28 -5
- package/dist/cjs/Components/Feedbacks/MessageBar/MessageBar.js +3 -3
- package/dist/cjs/Components/Feedbacks/MessageBox/MessageBox.js +5 -5
- package/dist/cjs/Components/Feedbacks/MessageBox/MessageBox.parts.js +3 -3
- package/dist/cjs/Components/Feedbacks/SnackBar/SnackBar.js +6 -11
- package/dist/cjs/Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.js +31 -0
- package/dist/cjs/Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.parts.js +1 -0
- package/dist/cjs/Components/Feedbacks/Tooltip/RichTooltip/RichTooltip.js +32 -0
- package/dist/cjs/Components/Feedbacks/Tooltip/Tooltip.js +26 -0
- package/dist/cjs/Components/Inputs/AutoCompleteList/AutoCompleteList.js +4 -4
- package/dist/cjs/Components/Inputs/AutoCompleteList/AutoCompleteList.parts.js +4 -4
- package/dist/cjs/Components/Inputs/Button/Button.js +2 -51
- package/dist/cjs/Components/Inputs/Calendar/Calendar.js +6 -6
- package/dist/cjs/Components/Inputs/Calendar/Calendar.parts.js +7 -7
- package/dist/cjs/Components/Inputs/CheckboxCard/CheckboxCard.js +1 -1
- package/dist/cjs/Components/Inputs/CheckboxCard/CheckboxCard.parts.js +2 -2
- package/dist/cjs/Components/Inputs/CheckboxListItem/CheckboxListItem.js +3 -3
- package/dist/cjs/Components/Inputs/ChoiceChip/ChoiceChip.js +5 -5
- package/dist/cjs/Components/Inputs/CommentArea/CommentArea.js +9 -9
- package/dist/cjs/Components/Inputs/FileUploader/FileUploader.hooks.js +1 -0
- package/dist/cjs/Components/Inputs/FileUploader/FileUploader.js +6 -0
- package/dist/cjs/Components/Inputs/FileUploader/FileUploader.parts.js +11 -0
- package/dist/cjs/Components/Inputs/FileUploader/FileUploader.utils.js +1 -0
- package/dist/cjs/Components/Inputs/FilterChip/FilterChip.js +4 -4
- package/dist/cjs/Components/Inputs/FilterList/FilterList.js +15 -13
- package/dist/cjs/Components/Inputs/IconButton/IconButton.js +6 -7
- package/dist/cjs/Components/Inputs/IconButtonDropdown/IconButtonDropdown.js +3 -3
- package/dist/cjs/Components/Inputs/Input/Input.js +1 -1
- package/dist/cjs/Components/Inputs/Input/LabelInput.js +3 -3
- package/dist/cjs/Components/Inputs/Input/PasswordInput.js +4 -4
- package/dist/cjs/Components/Inputs/InputChip/InputChip.js +2 -2
- package/dist/cjs/Components/Inputs/List/List.js +4 -4
- package/dist/cjs/Components/Inputs/MultiColumnList/MultiColumnList.parts.js +2 -2
- package/dist/cjs/Components/Inputs/RadioCard/RadioCard.js +1 -1
- package/dist/cjs/Components/Inputs/RadioCard/RadioCard.parts.js +4 -4
- package/dist/cjs/Components/Inputs/RadioList/RadioList.js +1 -1
- package/dist/cjs/Components/Inputs/RadioListItem/RadioListItem.js +5 -0
- package/dist/cjs/Components/Inputs/RangeSlider/RangeSlider.js +5 -5
- package/dist/cjs/Components/Inputs/SearchField/SearchField.js +5 -5
- package/dist/cjs/Components/Inputs/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/cjs/Components/Inputs/SupportTextContainer/SupportTextContainer.js +3 -3
- package/dist/cjs/Components/Inputs/TextButton/TextButton.js +6 -3
- package/dist/cjs/Components/Inputs/TextButtonDropdown/TextButtonDropdown.js +1 -1
- package/dist/cjs/Components/Inputs/TextButtonDropdown/TextButtonDropdown.parts.js +4 -4
- package/dist/cjs/Components/Inputs/TextField/TextField.js +6 -8
- package/dist/cjs/Components/Inputs/TextFieldContainer/TextFieldContainer.js +1 -1
- package/dist/cjs/Components/Inputs/TextFieldDropdown/TextFieldDropdown.js +3 -3
- package/dist/cjs/Components/Inputs/TextFieldDropdown/TextFieldDropdown.parts.js +2 -2
- package/dist/cjs/Components/Inputs/Textarea/Textarea.js +4 -4
- package/dist/cjs/Components/Navigations/BoxTab/BoxTab.parts.js +1 -1
- package/dist/cjs/Components/Navigations/GNBList/GNBList.js +27 -27
- package/dist/cjs/Components/Navigations/GNBList/GNBList.parts.js +40 -16
- package/dist/cjs/Components/Navigations/Menu/Menu.js +2 -2
- package/dist/cjs/Components/Navigations/Pagination/Pagination.parts.js +2 -2
- package/dist/cjs/Components/Navigations/TableOfContents/TableOfContents.js +1 -1
- package/dist/cjs/Components/Navigations/TextTab/TextTab.parts.js +5 -5
- package/dist/cjs/Components/Wrappers/WithBadge/WithBadge.js +1 -1
- package/dist/cjs/Components/Wrappers/WithSnackBar/WithSnackBar.js +2 -2
- package/dist/cjs/constants/colors/colors.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/config/config.css +215 -0
- package/dist/config/tailwind.config.js +1 -64
- package/dist/config/tailwindcss-grid-areas.js +155 -0
- package/dist/constants/colors/colors.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +21 -5
- package/dist/Components/Feedbacks/PlainTooltip/PlainTooltip.d.ts +0 -44
- package/dist/Components/Feedbacks/PlainTooltip/PlainTooltip.js +0 -37
- package/dist/Components/Feedbacks/PlainTooltip/PlainTooltip.parts.js +0 -1
- package/dist/Components/Feedbacks/PlainTooltip/index.d.ts +0 -2
- package/dist/Components/Feedbacks/RichTooltip/RichTooltip.d.ts +0 -34
- package/dist/Components/Feedbacks/RichTooltip/RichTooltip.js +0 -27
- package/dist/Components/Feedbacks/RichTooltip/index.d.ts +0 -2
- package/dist/Components/Inputs/Button/Button.parts.d.ts +0 -2
- package/dist/Components/Inputs/Button/Button.parts.js +0 -2
- package/dist/Components/Inputs/RadioList/parts/RadioListItem.d.ts +0 -10
- package/dist/Components/Inputs/RadioList/parts/RadioListItem.js +0 -4
- package/dist/Components/Wrappers/WithRichTooltip/WithRichTooltip.d.ts +0 -39
- package/dist/Components/Wrappers/WithRichTooltip/WithRichTooltip.js +0 -32
- package/dist/Components/Wrappers/WithRichTooltip/index.d.ts +0 -1
- package/dist/cjs/Components/Feedbacks/PlainTooltip/PlainTooltip.js +0 -37
- package/dist/cjs/Components/Feedbacks/PlainTooltip/PlainTooltip.parts.js +0 -1
- package/dist/cjs/Components/Feedbacks/RichTooltip/RichTooltip.js +0 -1
- package/dist/cjs/Components/Inputs/Button/Button.parts.js +0 -2
- package/dist/cjs/Components/Inputs/RadioList/parts/RadioListItem.js +0 -4
- package/dist/cjs/Components/Wrappers/WithRichTooltip/WithRichTooltip.js +0 -3
- package/dist/config/tailwind-plugins.js +0 -90
- package/dist/types.d.ts +0 -32
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export interface RichTooltipProps extends PropsWithChildren {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* 제목과 설명을 포함할 수 있는 리치 툴팁 컴포넌트입니다. UI만 제공하고 실제 사용은 WithRichTooltip 컴포넌트를 사용하는 것이 더 간편합니다.
|
|
9
|
-
*
|
|
10
|
-
* @component
|
|
11
|
-
* @param {object} props - 컴포넌트 프로퍼티
|
|
12
|
-
* @param {string} [props.title] - 툴팁의 제목
|
|
13
|
-
* @param {string} [props.description] - 툴팁의 상세 설명
|
|
14
|
-
* @param {string} [props.className] - 추가적인 CSS 클래스
|
|
15
|
-
* @param {React.ReactNode} [props.children] - 자식 컴포넌트
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // 기본 사용법
|
|
19
|
-
* <RichTooltip
|
|
20
|
-
* title="알림"
|
|
21
|
-
* description="새로운 메시지가 도착했습니다."
|
|
22
|
-
* >
|
|
23
|
-
* <button>확인</button>
|
|
24
|
-
* </RichTooltip>
|
|
25
|
-
*
|
|
26
|
-
* // 커스텀 스타일 적용
|
|
27
|
-
* <RichTooltip
|
|
28
|
-
* title="경고"
|
|
29
|
-
* description="저장되지 않은 변경사항이 있습니다."
|
|
30
|
-
* className="absolute top-0 left-0"
|
|
31
|
-
* />
|
|
32
|
-
*/
|
|
33
|
-
declare const RichTooltip: ({ title, description, className, children, }: RichTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export { RichTooltip };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{twMerge as a}from"tailwind-merge";import{Typography as l}from"../../Base/Typography/Typography.js";import{Box as r}from"../../Base/Layouts/Box/Box.js";import"../../Base/Layouts/FullBleed/FullBleed.js";
|
|
2
|
-
/**
|
|
3
|
-
* 제목과 설명을 포함할 수 있는 리치 툴팁 컴포넌트입니다. UI만 제공하고 실제 사용은 WithRichTooltip 컴포넌트를 사용하는 것이 더 간편합니다.
|
|
4
|
-
*
|
|
5
|
-
* @component
|
|
6
|
-
* @param {object} props - 컴포넌트 프로퍼티
|
|
7
|
-
* @param {string} [props.title] - 툴팁의 제목
|
|
8
|
-
* @param {string} [props.description] - 툴팁의 상세 설명
|
|
9
|
-
* @param {string} [props.className] - 추가적인 CSS 클래스
|
|
10
|
-
* @param {React.ReactNode} [props.children] - 자식 컴포넌트
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // 기본 사용법
|
|
14
|
-
* <RichTooltip
|
|
15
|
-
* title="알림"
|
|
16
|
-
* description="새로운 메시지가 도착했습니다."
|
|
17
|
-
* >
|
|
18
|
-
* <button>확인</button>
|
|
19
|
-
* </RichTooltip>
|
|
20
|
-
*
|
|
21
|
-
* // 커스텀 스타일 적용
|
|
22
|
-
* <RichTooltip
|
|
23
|
-
* title="경고"
|
|
24
|
-
* description="저장되지 않은 변경사항이 있습니다."
|
|
25
|
-
* className="absolute top-0 left-0"
|
|
26
|
-
* />
|
|
27
|
-
*/const s=({title:s,description:i,className:o,children:m})=>/*#__PURE__*/e(r,{className:a("flex w-full flex-col gap-1 rounded-xl bg-white px-6 py-5 shadow-graymedium tablet:w-80",o),"data-testid":"design-system-rich-tooltip",children:[s&&/*#__PURE__*/t(r,{className:"flex w-full items-start justify-between gap-4",children:/*#__PURE__*/t(l,{variant:"body2",className:"font-medium text-w-gray-900",children:s})}),i&&/*#__PURE__*/t(l,{variant:"body3",className:"text-w-gray-400",children:i}),m]});export{s as RichTooltip};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from './Button.types';
|
|
2
|
-
export declare const ButtonContainer: ({ rounded, size, type, variant, color, children, leadingIcon, isLeadingIconSolid, trailingIcon, isTrailingIconSolid, badgeNumber, className, disabled, onClick, ...rest }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{jsxs as r,jsx as e}from"react/jsx-runtime";import{twMerge as t}from"tailwind-merge";import"react";import{SystemIcon as o}from"../../DataDisplays/SystemIcon/SystemIcon.js";import"../../DataDisplays/SystemIcon/SystemIcon.constants.js";import"../../Base/Layouts/Box/Box.js";import"../../Base/Layouts/FullBleed/FullBleed.js";import{CountBadge as i}from"../../DataDisplays/CountBadge/CountBadge.js";import"../../DataDisplays/Accordion/Accordion.js";function n(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function a(r,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):function(r){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e.push.apply(e,t)}return e}(Object(e)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})),r}function l(r,e){if(null==r)return{};var t,o,i=function(r,e){if(null==r)return{};var t,o,i={},n=Object.keys(r);for(o=0;o<n.length;o++)t=n[o],e.indexOf(t)>=0||(i[t]=r[t]);return i}(r,e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);for(o=0;o<n.length;o++)t=n[o],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(r,t)&&(i[t]=r[t])}return i}const s=s=>{var{rounded:p,size:c,type:d,variant:y,color:b,children:m,leadingIcon:u,isLeadingIconSolid:g=!1,trailingIcon:f,isTrailingIconSolid:x=!1,badgeNumber:w="",className:O,disabled:h,onClick:j}=s,v=l(s,["rounded","size","type","variant","color","children","leadingIcon","isLeadingIconSolid","trailingIcon","isTrailingIconSolid","badgeNumber","className","disabled","onClick"]);const I=()=>{if(h){if("solid"===y)return"text-w-white";if("outline_filled"===y)return"text-primary-100";if("primary"===b)return"text-primary-100";if("gray"===b)return"text-w-gray-300"}return"solid"===y?"text-w-white":"outline_filled"===y||"primary"===b?"text-primary-500":"text-w-gray-600"};/*#__PURE__*/
|
|
2
|
-
return r("button",a(function(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})))),o.forEach((function(e){n(r,e,t[e])}))}return r}({className:t("box-border flex w-fit cursor-pointer items-center justify-center border","outlined"===y&&p?"rounded-full":"rounded-xl","sm"===c?"h-[36px] typo-body2 gap-x-1":"lg"===c?"h-[60px] typo-subTitle1 gap-x-2":"h-[50px] typo-body1 gap-x-1.5",(()=>{const r="solid"===y;return"sm"===c?r?"px-3":"px-[11px]":"lg"===c?r?"px-6":"px-[23px]":r?"px-4":"px-[15px]"})(),I(),"solid"===y?"bg-primary-500 border-0 hover:bg-primary-700":"outline_filled"===y?"bg-primary-10 border-primary-200 hover:border-primary-500":"primary"===b?"bg-w-white border-w-gray-200 hover:border-primary-500":"bg-w-white border-w-gray-200 hover:border-w-gray-400",h&&"cursor-not-allowed",h&&("solid"===y?"bg-primary-100 border-0 hover:bg-primary-100 hover:border-primary-100":"outline_filled"===y?"bg-primary-10 border-primary-200 hover:border-primary-200":"bg-w-white border-w-gray-200 hover:border-w-gray-200"),O),onClick:j,disabled:h,type:d},v),{children:[u&&/*#__PURE__*/e(o,{name:u,solid:g,testId:"design-system-button--leading-icon",className:t("flex-shrink-0","sm"===c?"size-[14px]":"size-4",I())}),m,f&&/*#__PURE__*/e(o,{name:f,solid:x,testId:"design-system-button--trailing-icon",className:t("flex-shrink-0","sm"===c?"size-[14px]":"size-4",I())}),w&&/*#__PURE__*/e(i,{text:w,className:"relative flex-shrink-0"})]}))};export{s as ButtonContainer};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RadioProps } from '../../Radio/types';
|
|
2
|
-
interface RadioListProps extends RadioProps {
|
|
3
|
-
key?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
RadioClassName?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const RadioListItem: ({ name, value, label, description, checked, disabled, isError, className, RadioClassName, onChange, }: RadioListProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { RadioListItem };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";import{jsxs as e,jsx as r}from"react/jsx-runtime";import{twMerge as t}from"tailwind-merge";import{Typography as i}from"../../../Base/Typography/Typography.js";import{Box as a}from"../../../Base/Layouts/Box/Box.js";import"../../../Base/Layouts/FullBleed/FullBleed.js";import{Radio as n}from"../../Radio/Radio.js";function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function s(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})),e}function l(e,r){if(null==e)return{};var t,i,a=function(e,r){if(null==e)return{};var t,i,a={},n=Object.keys(e);for(i=0;i<n.length;i++)t=n[i],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)t=n[i],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}const c=e=>{var{children:i,disabled:a,className:n,hasDescription:c}=e,d=l(e,["children","disabled","className","hasDescription"]);/*#__PURE__*/
|
|
2
|
-
return r("label",s(function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(r){o(e,r,t[r])}))}return e}({className:t("grid h-min grid-cols-radio-list-item-container grid-rows-radio-list-item-container gap-x-3 grid-areas-radio-list-item-container",a?"cursor-not-allowed":"cursor-pointer",c?"gap-y-0.5":"gap-y-0",n)},d),{children:i}))},d=({name:o,value:s,label:l,description:d,checked:p,disabled:m=!1,isError:u=!1,className:y,RadioClassName:b,onChange:f})=>/*#__PURE__*/e(c,{"data-testid":"design-system-radioList--item",disabled:m,hasDescription:!!d,className:t("group",y),children:[
|
|
3
|
-
/*#__PURE__*/r(a,{className:"flex cursor-pointer pt-1 grid-in-radio",children:/*#__PURE__*/r(n,{name:o,value:s,checked:p,isError:u,disabled:m,onChange:f,className:b})}),
|
|
4
|
-
/*#__PURE__*/r(a,{className:"flex w-full items-center grid-in-label",children:/*#__PURE__*/r(i,{variant:"body1",className:t("w-full whitespace-normal break-words",m?"text-w-gray-300":"text-w-gray-900"),"data-testid":"design-system-radioList--item-label",children:l})}),d&&/*#__PURE__*/r(a,{className:"flex items-center grid-in-description",children:/*#__PURE__*/r(i,{variant:"body2",className:m?"text-w-gray-300":"text-w-gray-600","data-testid":"design-system-radioList--item-description",children:d})})]});export{d as RadioListItem};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export interface WithRichTooltipProps extends PropsWithChildren {
|
|
3
|
-
size?: 'sm' | 'md';
|
|
4
|
-
variant?: 'right' | 'down';
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* 정보 아이콘과 함께 리치 툴팁을 표시하는 래퍼 컴포넌트입니다.
|
|
11
|
-
*
|
|
12
|
-
* @component
|
|
13
|
-
* @param {Object} props - 컴포넌트 프로퍼티
|
|
14
|
-
* @param {'sm' | 'md'} [props.size='md'] - 정보 아이콘의 크기 (sm, md)
|
|
15
|
-
* @param {'right' | 'down'} [props.variant='right'] - 툴팁이 표시될 방향 (right, down)
|
|
16
|
-
* @param {string} [props.title] - 툴팁의 제목
|
|
17
|
-
* @param {string} [props.description] - 툴팁의 설명 텍스트
|
|
18
|
-
* @param {React.ReactNode} [props.children] - 툴팁 내부에 표시될 컨텐츠
|
|
19
|
-
* @param {string} [props.className] - 툴팁 컨테이너에 적용될 추가 클래스
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 기본 사용법
|
|
23
|
-
* <WithRichTooltip
|
|
24
|
-
* title="결제 정보"
|
|
25
|
-
* description="신용카드 또는 계좌이체로 결제가 가능합니다."
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* // 크기와 방향 지정
|
|
29
|
-
* <WithRichTooltip
|
|
30
|
-
* size="sm"
|
|
31
|
-
* variant="down"
|
|
32
|
-
* title="배송 안내"
|
|
33
|
-
* description="주문 후 1-3일 내 배송됩니다."
|
|
34
|
-
* >
|
|
35
|
-
* <p>추가 배송 정보는 여기에 표시됩니다.</p>
|
|
36
|
-
* </WithRichTooltip>
|
|
37
|
-
*/
|
|
38
|
-
declare const WithRichTooltip: ({ size, variant, title, description, children, className, }: WithRichTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export { WithRichTooltip };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use client";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{twMerge as e}from"tailwind-merge";import{useState as o}from"react";import{SystemIcon as s}from"../../DataDisplays/SystemIcon/SystemIcon.js";import"../../DataDisplays/SystemIcon/SystemIcon.constants.js";import{Box as r}from"../../Base/Layouts/Box/Box.js";import"../../Base/Layouts/FullBleed/FullBleed.js";import"../../DataDisplays/Accordion/Accordion.js";import"@wishket/yogokit";import"react-dom";import{RichTooltip as a}from"../../Feedbacks/RichTooltip/RichTooltip.js";import"../../Feedbacks/GlobalLoadingIndicator/GlobalLoadingIndicator.js";
|
|
2
|
-
/**
|
|
3
|
-
* 정보 아이콘과 함께 리치 툴팁을 표시하는 래퍼 컴포넌트입니다.
|
|
4
|
-
*
|
|
5
|
-
* @component
|
|
6
|
-
* @param {Object} props - 컴포넌트 프로퍼티
|
|
7
|
-
* @param {'sm' | 'md'} [props.size='md'] - 정보 아이콘의 크기 (sm, md)
|
|
8
|
-
* @param {'right' | 'down'} [props.variant='right'] - 툴팁이 표시될 방향 (right, down)
|
|
9
|
-
* @param {string} [props.title] - 툴팁의 제목
|
|
10
|
-
* @param {string} [props.description] - 툴팁의 설명 텍스트
|
|
11
|
-
* @param {React.ReactNode} [props.children] - 툴팁 내부에 표시될 컨텐츠
|
|
12
|
-
* @param {string} [props.className] - 툴팁 컨테이너에 적용될 추가 클래스
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* // 기본 사용법
|
|
16
|
-
* <WithRichTooltip
|
|
17
|
-
* title="결제 정보"
|
|
18
|
-
* description="신용카드 또는 계좌이체로 결제가 가능합니다."
|
|
19
|
-
* />
|
|
20
|
-
*
|
|
21
|
-
* // 크기와 방향 지정
|
|
22
|
-
* <WithRichTooltip
|
|
23
|
-
* size="sm"
|
|
24
|
-
* variant="down"
|
|
25
|
-
* title="배송 안내"
|
|
26
|
-
* description="주문 후 1-3일 내 배송됩니다."
|
|
27
|
-
* >
|
|
28
|
-
* <p>추가 배송 정보는 여기에 표시됩니다.</p>
|
|
29
|
-
* </WithRichTooltip>
|
|
30
|
-
*/const m=({size:m="md",variant:c="right",title:n,description:l,children:d,className:p})=>{const h="md"===m?"medium_information":"small_information",g="right"===c,f="down"===c,[y,u]=o(!1);/*#__PURE__*/
|
|
31
|
-
return t(r,{className:"relative h-fit w-fit","data-testid":"design-system-withRichTooltip",children:[
|
|
32
|
-
/*#__PURE__*/i(r,{"data-testid":"design-system-withRichTooltip--trigger",className:"flex h-fit w-fit shrink-0 items-center justify-center",onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),onClick:()=>u((t=>!t)),children:/*#__PURE__*/i(s,{name:h,className:"text-w-gray-400",testId:"md"===m?"design-system-withRichTooltip--trigger-icon-md":"design-system-withRichTooltip--trigger-icon-sm"})}),y&&/*#__PURE__*/i(a,{title:n,description:l,className:e("absolute",g&&"left-[calc(100%_+_12px)] top-0",f&&"left-0 top-[calc(100%_+_12px)]",p),children:d})]})};export{m as WithRichTooltip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WithRichTooltip } from './WithRichTooltip';
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("tailwind-merge"),a=require("../../Base/Typography/Typography.js"),r=require("../../Base/Layouts/Box/Box.js");require("../../Base/Layouts/FullBleed/FullBleed.js");var l=require("./PlainTooltip.parts.js");
|
|
2
|
-
/**
|
|
3
|
-
* 마우스 호버 시 툴팁을 표시하는 컴포넌트입니다.
|
|
4
|
-
*
|
|
5
|
-
* @component
|
|
6
|
-
* @param {Object} props
|
|
7
|
-
* @param {'up' | 'down' | 'left' | 'right'} [props.variant='up'] - 툴팁이 표시될 방향
|
|
8
|
-
* @param {string} [props.text] - 툴팁에 표시될 텍스트
|
|
9
|
-
* @param {ReactNode} [props.children] - 툴팁을 표시할 대상 요소
|
|
10
|
-
* @param {string} [props.className] - 최상위 컨테이너에 적용할 추가 클래스
|
|
11
|
-
* @param {boolean} [props.disabled=false] - 툴팁 비활성화 여부
|
|
12
|
-
* @param {string} [props.tooltipClassName] - 툴팁 컨테이너에 적용할 추가 클래스
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* // 기본 사용법
|
|
16
|
-
* <PlainTooltip text="도움말 내용">
|
|
17
|
-
* <button>마우스를 올려보세요</button>
|
|
18
|
-
* </PlainTooltip>
|
|
19
|
-
*
|
|
20
|
-
* // 방향 지정
|
|
21
|
-
* <PlainTooltip
|
|
22
|
-
* variant="right"
|
|
23
|
-
* text="오른쪽에 표시되는 툴팁"
|
|
24
|
-
* >
|
|
25
|
-
* <span>도움말</span>
|
|
26
|
-
* </PlainTooltip>
|
|
27
|
-
*
|
|
28
|
-
* // 비활성화
|
|
29
|
-
* <PlainTooltip
|
|
30
|
-
* text="이 툴팁은 표시되지 않습니다"
|
|
31
|
-
* disabled={true}
|
|
32
|
-
* >
|
|
33
|
-
* <div>비활성화된 툴팁</div>
|
|
34
|
-
* </PlainTooltip>
|
|
35
|
-
*/exports.PlainTooltip=({variant:s="up",text:o,children:i,className:n,disabled:p=!1,tooltipClassName:u})=>/*#__PURE__*/e.jsx(r.Box,{"data-testid":"design-system-plain-toolTip",className:t.twMerge("inline-block",n),children:/*#__PURE__*/e.jsxs(r.Box,{"data-testid":"design-system-plain-toolTip--child",className:"group relative",children:[i,!p&&/*#__PURE__*/e.jsxs(r.Box,{className:t.twMerge("pointer-events-none absolute z-10 w-max select-none opacity-0 transition-all duration-500 ease-in-out","group-hover:pointer-events-auto group-hover:opacity-100","up"===s&&"bottom-full left-1/2 -translate-x-1/2 group-hover:-translate-y-3","down"===s&&"left-1/2 top-full -translate-x-1/2 group-hover:translate-y-3","left"===s&&"right-full top-1/2 -translate-y-1/2 group-hover:-translate-x-3","right"===s&&"left-full top-1/2 -translate-y-1/2 group-hover:translate-x-3",u),"data-testid":"design-system-plain-toolTip--container",children:[
|
|
36
|
-
/*#__PURE__*/e.jsx(l.Arrow,{testId:"design-system-plain-toolTip--arrow",className:t.twMerge("absolute z-10","up"===s&&"-bottom-[7px] left-1/2 -translate-x-1/2 -rotate-90","down"===s&&"-top-[7px] left-1/2 -translate-x-1/2 rotate-90","left"===s&&"-right-[5px] top-1/2 -translate-y-1/2 rotate-180","right"===s&&"-left-[5px] top-1/2 -translate-y-1/2 rotate-0")}),
|
|
37
|
-
/*#__PURE__*/e.jsx(r.Box,{className:"z-0 flex h-auto min-h-[28px] w-full items-center justify-center rounded-lg bg-w-black px-3 py-1 text-center",children:/*#__PURE__*/e.jsx(a.Typography,{variant:"body3",className:"whitespace-pre text-wrap break-all font-medium text-w-white opacity-100",children:o})})]})]})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime");require("react");exports.Arrow=({testId:t,className:s})=>/*#__PURE__*/e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"5",height:"10",viewBox:"0 0 5 10",fill:"none","data-testid":t,className:s,children:/*#__PURE__*/e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.96244e-08 5L5 -1.10263e-07L5 10L5.96244e-08 5Z",fill:"black"})});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),a=require("tailwind-merge"),s=require("../../Base/Typography/Typography.js"),r=require("../../Base/Layouts/Box/Box.js");require("../../Base/Layouts/FullBleed/FullBleed.js");exports.RichTooltip=({title:t,description:i,className:l,children:o})=>/*#__PURE__*/e.jsxs(r.Box,{className:a.twMerge("flex w-full flex-col gap-1 rounded-xl bg-white px-6 py-5 shadow-graymedium tablet:w-80",l),"data-testid":"design-system-rich-tooltip",children:[t&&/*#__PURE__*/e.jsx(r.Box,{className:"flex w-full items-start justify-between gap-4",children:/*#__PURE__*/e.jsx(s.Typography,{variant:"body2",className:"font-medium text-w-gray-900",children:t})}),i&&/*#__PURE__*/e.jsx(s.Typography,{variant:"body3",className:"text-w-gray-400",children:i}),o]});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("tailwind-merge");require("react");var t=require("../../DataDisplays/SystemIcon/SystemIcon.js");require("../../DataDisplays/SystemIcon/SystemIcon.constants.js"),require("../../Base/Layouts/Box/Box.js"),require("../../Base/Layouts/FullBleed/FullBleed.js");var i=require("../../DataDisplays/CountBadge/CountBadge.js");function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})),e}function a(e,r){if(null==e)return{};var t,i,o=function(e,r){if(null==e)return{};var t,i,o={},n=Object.keys(e);for(i=0;i<n.length;i++)t=n[i],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i<n.length;i++)t=n[i],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}require("../../DataDisplays/Accordion/Accordion.js");exports.ButtonContainer=s=>{var{rounded:l,size:c,type:d,variant:u,color:y,children:p,leadingIcon:b,isLeadingIconSolid:g=!1,trailingIcon:m,isTrailingIconSolid:f=!1,badgeNumber:x="",className:w,disabled:j,onClick:O}=s,h=a(s,["rounded","size","type","variant","color","children","leadingIcon","isLeadingIconSolid","trailingIcon","isTrailingIconSolid","badgeNumber","className","disabled","onClick"]);const v=()=>{if(j){if("solid"===u)return"text-w-white";if("outline_filled"===u)return"text-primary-100";if("primary"===y)return"text-primary-100";if("gray"===y)return"text-w-gray-300"}return"solid"===u?"text-w-white":"outline_filled"===u||"primary"===y?"text-primary-500":"text-w-gray-600"};/*#__PURE__*/
|
|
2
|
-
return e.jsxs("button",n(function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(r){o(e,r,t[r])}))}return e}({className:r.twMerge("box-border flex w-fit cursor-pointer items-center justify-center border","outlined"===u&&l?"rounded-full":"rounded-xl","sm"===c?"h-[36px] typo-body2 gap-x-1":"lg"===c?"h-[60px] typo-subTitle1 gap-x-2":"h-[50px] typo-body1 gap-x-1.5",(()=>{const e="solid"===u;return"sm"===c?e?"px-3":"px-[11px]":"lg"===c?e?"px-6":"px-[23px]":e?"px-4":"px-[15px]"})(),v(),"solid"===u?"bg-primary-500 border-0 hover:bg-primary-700":"outline_filled"===u?"bg-primary-10 border-primary-200 hover:border-primary-500":"primary"===y?"bg-w-white border-w-gray-200 hover:border-primary-500":"bg-w-white border-w-gray-200 hover:border-w-gray-400",j&&"cursor-not-allowed",j&&("solid"===u?"bg-primary-100 border-0 hover:bg-primary-100 hover:border-primary-100":"outline_filled"===u?"bg-primary-10 border-primary-200 hover:border-primary-200":"bg-w-white border-w-gray-200 hover:border-w-gray-200"),w),onClick:O,disabled:j,type:d},h),{children:[b&&/*#__PURE__*/e.jsx(t.SystemIcon,{name:b,solid:g,testId:"design-system-button--leading-icon",className:r.twMerge("flex-shrink-0","sm"===c?"size-[14px]":"size-4",v())}),p,m&&/*#__PURE__*/e.jsx(t.SystemIcon,{name:m,solid:f,testId:"design-system-button--trailing-icon",className:r.twMerge("flex-shrink-0","sm"===c?"size-[14px]":"size-4",v())}),x&&/*#__PURE__*/e.jsx(i.CountBadge,{text:x,className:"relative flex-shrink-0"})]}))};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";var e=require("react/jsx-runtime"),r=require("tailwind-merge"),t=require("../../../Base/Typography/Typography.js"),i=require("../../../Base/Layouts/Box/Box.js");require("../../../Base/Layouts/FullBleed/FullBleed.js");var a=require("../../Radio/Radio.js");function s(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){return r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})),e}function o(e,r){if(null==e)return{};var t,i,a=function(e,r){if(null==e)return{};var t,i,a={},s=Object.keys(e);for(i=0;i<s.length;i++)t=s[i],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)t=s[i],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}const l=t=>{var{children:i,disabled:a,className:l,hasDescription:c}=t,d=o(t,["children","disabled","className","hasDescription"]);/*#__PURE__*/
|
|
2
|
-
return e.jsx("label",n(function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(r){s(e,r,t[r])}))}return e}({className:r.twMerge("grid h-min grid-cols-radio-list-item-container grid-rows-radio-list-item-container gap-x-3 grid-areas-radio-list-item-container",a?"cursor-not-allowed":"cursor-pointer",c?"gap-y-0.5":"gap-y-0",l)},d),{children:i}))};exports.RadioListItem=({name:s,value:n,label:o,description:c,checked:d,disabled:u=!1,isError:p=!1,className:y,RadioClassName:g,onChange:b})=>/*#__PURE__*/e.jsxs(l,{"data-testid":"design-system-radioList--item",disabled:u,hasDescription:!!c,className:r.twMerge("group",y),children:[
|
|
3
|
-
/*#__PURE__*/e.jsx(i.Box,{className:"flex cursor-pointer pt-1 grid-in-radio",children:/*#__PURE__*/e.jsx(a.Radio,{name:s,value:n,checked:d,isError:p,disabled:u,onChange:b,className:g})}),
|
|
4
|
-
/*#__PURE__*/e.jsx(i.Box,{className:"flex w-full items-center grid-in-label",children:/*#__PURE__*/e.jsx(t.Typography,{variant:"body1",className:r.twMerge("w-full whitespace-normal break-words",u?"text-w-gray-300":"text-w-gray-900"),"data-testid":"design-system-radioList--item-label",children:o})}),c&&/*#__PURE__*/e.jsx(i.Box,{className:"flex items-center grid-in-description",children:/*#__PURE__*/e.jsx(t.Typography,{variant:"body2",className:u?"text-w-gray-300":"text-w-gray-600","data-testid":"design-system-radioList--item-description",children:c})})]});
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";var e=require("react/jsx-runtime"),i=require("tailwind-merge"),t=require("react"),s=require("../../DataDisplays/SystemIcon/SystemIcon.js");require("../../DataDisplays/SystemIcon/SystemIcon.constants.js");var r=require("../../Base/Layouts/Box/Box.js");require("../../Base/Layouts/FullBleed/FullBleed.js"),require("../../DataDisplays/Accordion/Accordion.js"),require("@wishket/yogokit"),require("react-dom");var o=require("../../Feedbacks/RichTooltip/RichTooltip.js");require("../../Feedbacks/GlobalLoadingIndicator/GlobalLoadingIndicator.js");exports.WithRichTooltip=({size:a="md",variant:c="right",title:l,description:n,children:d,className:m})=>{const u="md"===a?"medium_information":"small_information",h="right"===c,g="down"===c,[p,y]=t.useState(!1);/*#__PURE__*/
|
|
2
|
-
return e.jsxs(r.Box,{className:"relative h-fit w-fit","data-testid":"design-system-withRichTooltip",children:[
|
|
3
|
-
/*#__PURE__*/e.jsx(r.Box,{"data-testid":"design-system-withRichTooltip--trigger",className:"flex h-fit w-fit shrink-0 items-center justify-center",onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),onClick:()=>y((e=>!e)),children:/*#__PURE__*/e.jsx(s.SystemIcon,{name:u,className:"text-w-gray-400",testId:"md"===a?"design-system-withRichTooltip--trigger-icon-md":"design-system-withRichTooltip--trigger-icon-sm"})}),p&&/*#__PURE__*/e.jsx(o.RichTooltip,{title:l,description:n,className:i.twMerge("absolute",h&&"left-[calc(100%_+_12px)] top-0",g&&"left-0 top-[calc(100%_+_12px)]",m),children:d})]})};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import plugin from 'tailwindcss/plugin';
|
|
2
|
-
|
|
3
|
-
export const customizedPlugin = plugin(function ({ addUtilities, addBase, addVariant }) {
|
|
4
|
-
addUtilities({
|
|
5
|
-
'.scrollbar-list': {
|
|
6
|
-
'&::-webkit-scrollbar': {
|
|
7
|
-
width: '18px',
|
|
8
|
-
height: '18px',
|
|
9
|
-
},
|
|
10
|
-
'&::-webkit-scrollbar-track': {
|
|
11
|
-
background: 'transparent',
|
|
12
|
-
borderRadius: '12px',
|
|
13
|
-
},
|
|
14
|
-
'&::-webkit-scrollbar-thumb': {
|
|
15
|
-
width: '6px',
|
|
16
|
-
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
17
|
-
borderRadius: '20px',
|
|
18
|
-
border: '6px solid transparent',
|
|
19
|
-
backgroundClip: 'padding-box',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
'.typo-title1': {
|
|
23
|
-
fontSize: '48px',
|
|
24
|
-
lineHeight: '64px',
|
|
25
|
-
letterSpacing: '0.48px',
|
|
26
|
-
},
|
|
27
|
-
'.typo-title2': {
|
|
28
|
-
fontSize: '32px',
|
|
29
|
-
lineHeight: '48px',
|
|
30
|
-
letterSpacing: '0.48px',
|
|
31
|
-
},
|
|
32
|
-
'.typo-title3': {
|
|
33
|
-
fontSize: '24px',
|
|
34
|
-
lineHeight: '36px',
|
|
35
|
-
letterSpacing: '0.48px',
|
|
36
|
-
},
|
|
37
|
-
'.typo-subTitle1': {
|
|
38
|
-
fontSize: '20px',
|
|
39
|
-
lineHeight: '30px',
|
|
40
|
-
letterSpacing: '0.48px',
|
|
41
|
-
},
|
|
42
|
-
'.typo-subTitle2': {
|
|
43
|
-
fontSize: '18px',
|
|
44
|
-
lineHeight: '28px',
|
|
45
|
-
letterSpacing: '0.48px',
|
|
46
|
-
},
|
|
47
|
-
'.typo-contents1': {
|
|
48
|
-
fontSize: '18px',
|
|
49
|
-
lineHeight: '32px',
|
|
50
|
-
letterSpacing: '0.48px',
|
|
51
|
-
},
|
|
52
|
-
'.typo-contents2': {
|
|
53
|
-
fontSize: '16px',
|
|
54
|
-
lineHeight: '30px',
|
|
55
|
-
letterSpacing: '0.48px',
|
|
56
|
-
},
|
|
57
|
-
'.typo-body1': {
|
|
58
|
-
fontSize: '16px',
|
|
59
|
-
lineHeight: '26px',
|
|
60
|
-
letterSpacing: '0.48px',
|
|
61
|
-
},
|
|
62
|
-
'.typo-body2': {
|
|
63
|
-
fontSize: '14px',
|
|
64
|
-
lineHeight: '24px',
|
|
65
|
-
letterSpacing: '0.48px',
|
|
66
|
-
},
|
|
67
|
-
'.typo-body3': {
|
|
68
|
-
fontSize: '13px',
|
|
69
|
-
lineHeight: '20px',
|
|
70
|
-
letterSpacing: '0.48px',
|
|
71
|
-
},
|
|
72
|
-
'.typo-caption1': {
|
|
73
|
-
fontSize: '12px',
|
|
74
|
-
lineHeight: '18px',
|
|
75
|
-
letterSpacing: '0.48px',
|
|
76
|
-
},
|
|
77
|
-
'.typo-caption2': {
|
|
78
|
-
fontSize: '11px',
|
|
79
|
-
lineHeight: '14px',
|
|
80
|
-
letterSpacing: '0.48px',
|
|
81
|
-
},
|
|
82
|
-
});
|
|
83
|
-
addBase({
|
|
84
|
-
'::-webkit-resizer': {
|
|
85
|
-
display: 'none',
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
addVariant('hover', '@media (hover: hover) and (pointer: fine){ &:hover }');
|
|
89
|
-
addVariant('group-hover', '@media (hover: hover) and (pointer: fine) { .group:hover & }');
|
|
90
|
-
});
|
package/dist/types.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export type { SystemIconName, SmallSystemIconName, MediumSystemIconName, LargeSystemIconName, SocialSystemIconName, SystemIconProps, } from './Components/DataDisplays/SystemIcon';
|
|
2
|
-
export type { ProductIconName, ProductIconProps, ProductIconPartProps, SmallProductIconName, MediumProductIconName, LargeProductIconName, } from './Components/DataDisplays/ProductIcon';
|
|
3
|
-
export type { ServiceLogoNames, ServiceLogoPartProps, } from './Components/DataDisplays/ServiceLogo';
|
|
4
|
-
export type { AvatarProps, AvatarSize, AvatarStyleType, } from './Components/DataDisplays/Avatar';
|
|
5
|
-
export type { NewBadgeProps } from './Components/DataDisplays/NewBadge';
|
|
6
|
-
export type { LabelRootProps, LabelIconProps, } from './Components/DataDisplays/Label';
|
|
7
|
-
export type { ImageLabelType, ImageLabelProps, } from './Components/DataDisplays/ImageLabel';
|
|
8
|
-
export * from './Components/Inputs/Button';
|
|
9
|
-
export * from './Components/Inputs/Checkbox';
|
|
10
|
-
export * from './Components/Inputs/Radio';
|
|
11
|
-
export * from './Components/Inputs/Calendar';
|
|
12
|
-
export type { SkillItem, LegacySkillItem, AutocompleteProps, } from './Components/Inputs/Autocomplete';
|
|
13
|
-
export * from './Components/Inputs/CheckboxCard';
|
|
14
|
-
export * from './Components/Inputs/RadioCard';
|
|
15
|
-
export * from './Components/Inputs/List';
|
|
16
|
-
export * from './Components/Inputs/MultiColumnList';
|
|
17
|
-
export * from './Components/Inputs/AutoCompleteList';
|
|
18
|
-
export * from './Components/Inputs/TextButton';
|
|
19
|
-
export * from './Components/Inputs/TextButtonDropdown';
|
|
20
|
-
export * from './Components/Inputs/CheckboxList';
|
|
21
|
-
export * from './Components/Inputs/RadioList';
|
|
22
|
-
export type { LoadingIndicatorProps } from './Components/Feedbacks/LoadingIndicator';
|
|
23
|
-
export type { MessageBoxProps, ExternalLink, } from './Components/Feedbacks/MessageBox';
|
|
24
|
-
export type { MessageType, SnackBarProps, SnackBarIconProps, } from './Components/Feedbacks/SnackBar';
|
|
25
|
-
export * from './Components/Navigations/BoxTab';
|
|
26
|
-
export * from './Components/Navigations/TextTab';
|
|
27
|
-
export * from './Components/Navigations/GNBList';
|
|
28
|
-
export type { TableOfContentsProps, ContentItem, } from './Components/Navigations/TableOfContents';
|
|
29
|
-
export type { TypographyVariants } from './Components/Base/Typography';
|
|
30
|
-
export type { GridLayoutProps } from './Components/Base/Layouts/GridLayout';
|
|
31
|
-
export type { ColumnProps } from './Components/Base/Layouts/Column';
|
|
32
|
-
export * from './types/index';
|