@wishket/design-system 1.17.2 → 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 +14 -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 +10 -0
- package/dist/Components/Base/TextWithIcons/TextWithIcons.js +2 -0
- package/dist/Components/Base/TextWithIcons/index.d.ts +1 -0
- 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.d.ts +33 -0
- package/dist/Components/DataDisplays/Accordion/Accordion.js +58 -0
- package/dist/Components/DataDisplays/Accordion/index.d.ts +1 -0
- 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/DataDisplays/index.d.ts +1 -0
- 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 +4 -4
- 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/Autocomplete/Autocomplete.js +1 -1
- 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.js +5 -5
- package/dist/Components/Inputs/Checkbox/Checkbox.parts.d.ts +1 -1
- package/dist/Components/Inputs/Checkbox/Checkbox.parts.js +2 -4
- package/dist/Components/Inputs/Checkbox/Checkbox.types.d.ts +1 -1
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.d.ts +2 -2
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.js +6 -6
- package/dist/Components/Inputs/CheckboxCard/CheckboxCard.parts.js +4 -4
- 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 +4 -4
- 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.d.ts +9 -0
- package/dist/Components/Inputs/Input/{LableInput.js → LabelInput.js} +4 -4
- package/dist/Components/Inputs/Input/PasswordInput.js +4 -4
- package/dist/Components/Inputs/Input/index.d.ts +2 -2
- package/dist/Components/Inputs/InputChip/InputChip.js +3 -3
- package/dist/Components/Inputs/List/List.js +3 -3
- package/dist/Components/Inputs/MultiColumnList/MultiColumnList.parts.js +2 -2
- package/dist/Components/Inputs/Radio/Radio.d.ts +14 -8
- package/dist/Components/Inputs/Radio/Radio.js +20 -14
- package/dist/Components/Inputs/Radio/index.d.ts +1 -1
- package/dist/Components/Inputs/Radio/types.d.ts +8 -0
- package/dist/Components/Inputs/RadioCard/RadioCard.js +6 -6
- package/dist/Components/Inputs/RadioCard/RadioCard.parts.d.ts +3 -3
- package/dist/Components/Inputs/RadioCard/RadioCard.parts.js +4 -4
- package/dist/Components/Inputs/RadioCard/RadioCard.types.d.ts +8 -8
- package/dist/Components/Inputs/RadioGroup/RadioGroup.d.ts +3 -3
- package/dist/Components/Inputs/RadioGroup/RadioGroup.js +2 -2
- package/dist/Components/Inputs/RadioList/RadioList.d.ts +2 -2
- package/dist/Components/Inputs/RadioList/RadioList.js +3 -3
- package/dist/Components/Inputs/RadioList/RadioList.types.d.ts +3 -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 +4 -4
- 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 -5
- 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 +11 -14
- package/dist/Components/Inputs/TextField/TextField.js +10 -12
- 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/TextLink/TextLink.d.ts +66 -0
- package/dist/Components/Navigations/TextLink/TextLink.js +61 -0
- package/dist/Components/Navigations/TextLink/index.d.ts +1 -0
- package/dist/Components/Navigations/TextTab/TextTab.parts.js +5 -5
- package/dist/Components/Navigations/index.d.ts +1 -0
- 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 -0
- package/dist/cjs/Components/Base/Typography/Typography.js +3 -3
- package/dist/cjs/Components/DataDisplays/Accordion/Accordion.js +58 -0
- 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 +47 -5
- package/dist/cjs/Components/Feedbacks/MessageBox/MessageBox.js +40 -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/Autocomplete/Autocomplete.js +1 -1
- package/dist/cjs/Components/Inputs/Button/Button.js +2 -51
- package/dist/cjs/Components/Inputs/Calendar/Calendar.js +7 -7
- package/dist/cjs/Components/Inputs/Calendar/Calendar.parts.js +7 -7
- package/dist/cjs/Components/Inputs/Checkbox/Checkbox.js +4 -4
- package/dist/cjs/Components/Inputs/Checkbox/Checkbox.parts.js +2 -4
- package/dist/cjs/Components/Inputs/CheckboxCard/CheckboxCard.js +4 -4
- package/dist/cjs/Components/Inputs/CheckboxCard/CheckboxCard.parts.js +4 -4
- 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 +5 -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 +4 -0
- 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/Radio/Radio.js +21 -15
- package/dist/cjs/Components/Inputs/RadioCard/RadioCard.js +4 -4
- package/dist/cjs/Components/Inputs/RadioCard/RadioCard.parts.js +4 -4
- package/dist/cjs/Components/Inputs/RadioGroup/RadioGroup.js +3 -3
- package/dist/cjs/Components/Inputs/RadioList/RadioList.js +3 -3
- 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 +7 -5
- 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 +10 -12
- 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 +5 -5
- 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/TextLink/TextLink.js +61 -0
- 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/dist/types/checkbox.types.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/package.json +32 -16
- 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/Input/LableInput.d.ts +0 -9
- package/dist/Components/Inputs/Radio/Radio.types.d.ts +0 -8
- package/dist/Components/Inputs/RadioList/parts/RadioListItem.d.ts +0 -13
- 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/Input/LableInput.js +0 -4
- 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/radio.types.d.ts +0 -7
- package/dist/types.d.ts +0 -32
|
@@ -2,9 +2,6 @@ const colors = require('../colors')
|
|
|
2
2
|
|
|
3
3
|
/** @type {import('tailwindcss').Config} */
|
|
4
4
|
|
|
5
|
-
const { customizedPlugin } = require('./tailwind-plugins');
|
|
6
|
-
|
|
7
|
-
|
|
8
5
|
const config = {
|
|
9
6
|
content: [
|
|
10
7
|
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
@@ -99,71 +96,11 @@ const config = {
|
|
|
99
96
|
'checkbox-list-item-container': '18px minmax(0, 1fr)',
|
|
100
97
|
'radio-list-item-container': '18px minmax(0, 1fr)',
|
|
101
98
|
},
|
|
102
|
-
keyframes: {
|
|
103
|
-
rippleOutlineSmall: {
|
|
104
|
-
'0%': {
|
|
105
|
-
height: '30%',
|
|
106
|
-
width: '30%',
|
|
107
|
-
borderRadius: 7,
|
|
108
|
-
opacity: 100
|
|
109
|
-
},
|
|
110
|
-
'100%': {
|
|
111
|
-
height: '100%',
|
|
112
|
-
width: '100%',
|
|
113
|
-
borderRadius: 7,
|
|
114
|
-
opacity: 0
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
rippleOutline: {
|
|
118
|
-
'0%': {
|
|
119
|
-
height: '30%',
|
|
120
|
-
width: '30%',
|
|
121
|
-
borderRadius: 11,
|
|
122
|
-
opacity: 100
|
|
123
|
-
},
|
|
124
|
-
'100%': {
|
|
125
|
-
height: '100%',
|
|
126
|
-
width: '100%',
|
|
127
|
-
borderRadius: 11,
|
|
128
|
-
opacity: 0
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
ripple: {
|
|
132
|
-
'0%': {
|
|
133
|
-
height: '30%',
|
|
134
|
-
width: '30%',
|
|
135
|
-
borderRadius: 9999,
|
|
136
|
-
opacity: 100
|
|
137
|
-
},
|
|
138
|
-
'100%': {
|
|
139
|
-
height: '100%',
|
|
140
|
-
width: '100%',
|
|
141
|
-
opacity: 0
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
stroke: {
|
|
145
|
-
'100%': {
|
|
146
|
-
'stroke-dashoffset': '0'
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
'checkbox-check': 'stroke 0.3s cubic-bezier(0.65,0,0.45,1) forwards',
|
|
150
|
-
},
|
|
151
|
-
letterSpacing: {
|
|
152
|
-
'default': '0.48px',
|
|
153
|
-
},
|
|
154
|
-
animation: {
|
|
155
|
-
'checkbox-check': 'stroke 0.3s cubic-bezier(0.65,0,0.45,1) forwards',
|
|
156
|
-
},
|
|
157
99
|
},
|
|
158
100
|
},
|
|
159
|
-
plugins: [
|
|
160
|
-
require('@savvywombat/tailwindcss-grid-areas'),
|
|
161
|
-
require("tailwind-scrollbar-hide"),
|
|
162
|
-
customizedPlugin
|
|
163
|
-
],
|
|
164
101
|
variants: {
|
|
165
102
|
gridTemplateAreas: ['responsive'],
|
|
166
103
|
},
|
|
167
104
|
};
|
|
168
105
|
|
|
169
|
-
export default config
|
|
106
|
+
export default config
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
function reduce(collection, item, initialVal) {
|
|
2
|
+
if (!collection) return []
|
|
3
|
+
return Object.keys(collection).reduce(
|
|
4
|
+
(carry, current, index, array) =>
|
|
5
|
+
item(
|
|
6
|
+
carry,
|
|
7
|
+
!Array.isArray(collection) ? collection[current] : current,
|
|
8
|
+
!Array.isArray(collection) ? current : array,
|
|
9
|
+
index
|
|
10
|
+
),
|
|
11
|
+
|
|
12
|
+
initialVal
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function baseFlatten(array, depth) {
|
|
17
|
+
const result = []
|
|
18
|
+
if (!array) {
|
|
19
|
+
return result
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
for (const value of array) {
|
|
23
|
+
if (depth && Array.isArray(value)) {
|
|
24
|
+
if (depth > 1) {
|
|
25
|
+
// Recursively flatten arrays (susceptible to call stack limits).
|
|
26
|
+
baseFlatten(value, depth - 1)
|
|
27
|
+
} else {
|
|
28
|
+
result.push(...value)
|
|
29
|
+
}
|
|
30
|
+
} else {
|
|
31
|
+
result[result.length] = value
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return result
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function flatMap(arr, mapper) {
|
|
38
|
+
if (!arr) return []
|
|
39
|
+
return baseFlatten(
|
|
40
|
+
Object.keys(arr).map((value, index) => mapper(arr[value], !Array.isArray(arr) ? value : index)),
|
|
41
|
+
1
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function uniq(arr) {
|
|
46
|
+
return [...new Set(arr)]
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function extractGridAreaNames(gridTemplateAreas) {
|
|
50
|
+
return uniq(
|
|
51
|
+
flatMap(gridTemplateAreas, (row) => {
|
|
52
|
+
return flatMap(row, (area) => {
|
|
53
|
+
// extract grid area names from the gridTemplate
|
|
54
|
+
return flatMap(area.match(/[^\s]+/g), (match) => {
|
|
55
|
+
if (match !== '.') {
|
|
56
|
+
return match
|
|
57
|
+
}
|
|
58
|
+
return []
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
|
+
})
|
|
62
|
+
)
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 1. variants 파라미터 제거
|
|
66
|
+
module.exports = function ({ addUtilities, matchUtilities, theme }) { // variants 제거
|
|
67
|
+
const gridAreaNames = extractGridAreaNames(theme('gridTemplateAreas'))
|
|
68
|
+
|
|
69
|
+
const templateAreas = reduce(
|
|
70
|
+
theme('gridTemplateAreas'),
|
|
71
|
+
(templates, area, name) => {
|
|
72
|
+
return {
|
|
73
|
+
...templates,
|
|
74
|
+
[`.grid-areas-${name}`]: {
|
|
75
|
+
'grid-template-areas': area
|
|
76
|
+
.map((row) => {
|
|
77
|
+
return `"${row}"`
|
|
78
|
+
})
|
|
79
|
+
.join('\n'),
|
|
80
|
+
},
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{}
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
const specialTemplateAreas = {
|
|
87
|
+
'.grid-areas-none': { 'grid-template-areas': 'none' },
|
|
88
|
+
'.grid-areas-inherit': { 'grid-template-areas': 'inherit' },
|
|
89
|
+
'.grid-areas-initial': { 'grid-template-areas': 'initial' },
|
|
90
|
+
'.grid-areas-revert': { 'grid-template-areas': 'revert' },
|
|
91
|
+
'.grid-areas-revert-layer': { 'grid-template-areas': 'revert-layer' },
|
|
92
|
+
'.grid-areas-unset': { 'grid-template-areas': 'unset' },
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// 2. variants() 호출 제거 - 두 번째 인자 제거
|
|
96
|
+
addUtilities([templateAreas, specialTemplateAreas]) // variants(...) 제거
|
|
97
|
+
|
|
98
|
+
const namedAreas = gridAreaNames.reduce((areas, name) => {
|
|
99
|
+
return {
|
|
100
|
+
...areas,
|
|
101
|
+
[`.grid-in-${name}`]: {
|
|
102
|
+
'grid-area': name,
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
}, {})
|
|
106
|
+
|
|
107
|
+
const specialNamedAreas = {
|
|
108
|
+
'.grid-in-auto': { 'grid-area': 'auto' },
|
|
109
|
+
'.grid-in-inherit': { 'grid-area': 'inherit' },
|
|
110
|
+
'.grid-in-initial': { 'grid-area': 'initial' },
|
|
111
|
+
'.grid-in-revert': { 'grid-area': 'revert' },
|
|
112
|
+
'.grid-in-revert-layer': { 'grid-area': 'revert-layer' },
|
|
113
|
+
'.grid-in-unset': { 'grid-area': 'unset' },
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
addUtilities([namedAreas, specialNamedAreas]) // 두 번째 인자 [] 제거
|
|
117
|
+
|
|
118
|
+
const namedLines = gridAreaNames.reduce((lines, name) => {
|
|
119
|
+
return {
|
|
120
|
+
...lines,
|
|
121
|
+
[`.row-start-${name}`]: {
|
|
122
|
+
'grid-row-start': `${name}-start`,
|
|
123
|
+
},
|
|
124
|
+
[`.row-end-${name}`]: {
|
|
125
|
+
'grid-row-end': `${name}-end`,
|
|
126
|
+
},
|
|
127
|
+
[`.col-start-${name}`]: {
|
|
128
|
+
'grid-column-start': `${name}-start`,
|
|
129
|
+
},
|
|
130
|
+
[`.col-end-${name}`]: {
|
|
131
|
+
'grid-column-end': `${name}-end`,
|
|
132
|
+
},
|
|
133
|
+
}
|
|
134
|
+
}, {})
|
|
135
|
+
|
|
136
|
+
addUtilities([namedLines]) // 두 번째 인자 [] 제거
|
|
137
|
+
|
|
138
|
+
// allow arbitrary values
|
|
139
|
+
matchUtilities({
|
|
140
|
+
'grid-areas': (value) => {
|
|
141
|
+
value = value
|
|
142
|
+
.split(/ *, */)
|
|
143
|
+
.map((row) => (row.match(/var\(.*\)/g) ? row : `"${row}"`))
|
|
144
|
+
.join(' ')
|
|
145
|
+
return {
|
|
146
|
+
'grid-template-areas': `${value}`,
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
'grid-in': (value) => {
|
|
150
|
+
return {
|
|
151
|
+
'grid-area': `${value}`,
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
})
|
|
155
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function F(F,E,D){return E in F?Object.defineProperty(F,E,{value:D,enumerable:!0,configurable:!0,writable:!0}):F[E]=D,F}function E(E){for(var D=1;D<arguments.length;D++){var A=null!=arguments[D]?arguments[D]:{},B=Object.keys(A);"function"==typeof Object.getOwnPropertySymbols&&(B=B.concat(Object.getOwnPropertySymbols(A).filter((function(F){return Object.getOwnPropertyDescriptor(A,F).enumerable})))),B.forEach((function(D){F(E,D,A[D])}))}return E}const D={DEFAULT:"#3BA3C7",10:"#F2FCFF",50:"#E8FAFF",100:"#BFEDFA",200:"#ABE3F2",300:"#80C7DE",400:"#5DB6D4",500:"#3BA3C7",600:"#369CC2",700:"#3391BA",800:"#308AB3",900:"#2E82AB"},A={DEFAULT:"#00A878",10:"#F5FFFC",50:"#EBFFF9",100:"#C4EDE1",200:"#93DBC6",300:"#63C9AB",400:"#30B891",500:"#00A878",600:"#009C6F",700:"#009168",800:"#008761",900:"#007D59"},B={DEFAULT:"#FFC61C",10:"#FFFDF5",50:"#FFF9E0",100:"#FFEEB8",200:"#FFE491",300:"#FFDA6A",400:"#FFD043",500:"#FFC61C",600:"#FFB012",700:"#F79E0F",800:"#F79205",900:"#F28A05"},e={DEFAULT:"#FF6B21",10:"#FFF9F5",50:"#FFF0E8",100:"#FFD6BF",200:"#FFBB99",300:"#FFA070",400:"#FF8547",500:"#FF6B21",600:"#F4611D",700:"#E65918",800:"#DB5314",900:"#D14B0F"},C={DEFAULT:"#E52929",10:"#FFF5F5",50:"#FFE8E8",100:"#FFC9C9",200:"#ED9191",300:"#ED6666",400:"#EB3F3F",500:"#E52929",600:"#DB2121",700:"#D11519",800:"#C70006",900:"#BF0006"},t={DEFAULT:"#2E6BAA",10:"#F5F9FF",50:"#E3EDFA",100:"#CCDBED",200:"#A6BFDE",300:"#7DA3CC",400:"#5487BA",500:"#2E6BAA",600:"#26619E",700:"#1F578C",800:"#1A4D80",900:"#144570"},r={DEFAULT:"#383D47",10:"#F7FAFC",50:"#E6EBF0",100:"#CCD1D6",200:"#A1A6AD",300:"#787D85",400:"#4D525C",500:"#383D47",600:"#242933",700:"#1C2029",800:"#14171F",900:"#0D0F14"},n={DEFAULT:"#757575",10:"#
|
|
1
|
+
function F(F,E,D){return E in F?Object.defineProperty(F,E,{value:D,enumerable:!0,configurable:!0,writable:!0}):F[E]=D,F}function E(E){for(var D=1;D<arguments.length;D++){var A=null!=arguments[D]?arguments[D]:{},B=Object.keys(A);"function"==typeof Object.getOwnPropertySymbols&&(B=B.concat(Object.getOwnPropertySymbols(A).filter((function(F){return Object.getOwnPropertyDescriptor(A,F).enumerable})))),B.forEach((function(D){F(E,D,A[D])}))}return E}const D={DEFAULT:"#3BA3C7",10:"#F2FCFF",50:"#E8FAFF",100:"#BFEDFA",200:"#ABE3F2",300:"#80C7DE",400:"#5DB6D4",500:"#3BA3C7",600:"#369CC2",700:"#3391BA",800:"#308AB3",900:"#2E82AB"},A={DEFAULT:"#00A878",10:"#F5FFFC",50:"#EBFFF9",100:"#C4EDE1",200:"#93DBC6",300:"#63C9AB",400:"#30B891",500:"#00A878",600:"#009C6F",700:"#009168",800:"#008761",900:"#007D59"},B={DEFAULT:"#FFC61C",10:"#FFFDF5",50:"#FFF9E0",100:"#FFEEB8",200:"#FFE491",300:"#FFDA6A",400:"#FFD043",500:"#FFC61C",600:"#FFB012",700:"#F79E0F",800:"#F79205",900:"#F28A05"},e={DEFAULT:"#FF6B21",10:"#FFF9F5",50:"#FFF0E8",100:"#FFD6BF",200:"#FFBB99",300:"#FFA070",400:"#FF8547",500:"#FF6B21",600:"#F4611D",700:"#E65918",800:"#DB5314",900:"#D14B0F"},C={DEFAULT:"#E52929",10:"#FFF5F5",50:"#FFE8E8",100:"#FFC9C9",200:"#ED9191",300:"#ED6666",400:"#EB3F3F",500:"#E52929",600:"#DB2121",700:"#D11519",800:"#C70006",900:"#BF0006"},t={DEFAULT:"#2E6BAA",10:"#F5F9FF",50:"#E3EDFA",100:"#CCDBED",200:"#A6BFDE",300:"#7DA3CC",400:"#5487BA",500:"#2E6BAA",600:"#26619E",700:"#1F578C",800:"#1A4D80",900:"#144570"},r={DEFAULT:"#383D47",10:"#F7FAFC",50:"#E6EBF0",100:"#CCD1D6",200:"#A1A6AD",300:"#787D85",400:"#4D525C",500:"#383D47",600:"#242933",700:"#1C2029",800:"#14171F",900:"#0D0F14"},n={DEFAULT:"#757575",10:"#F7F7F7",50:"#F5F5F5",100:"#EEEEEE",200:"#E0E0E0",300:"#BDBDBD",400:"#9E9E9E",500:"#757575",600:"#616161",700:"#424242",800:"#313131",900:"#212121"},o={DEFAULT:"#6B16EE",10:"#FAF6FF",50:"#F2E8FC",100:"#D6C1FA",200:"#BB98F7",300:"#9E6BF5",400:"#8646F2",500:"#6B16EE",600:"#5A00DB",700:"#400EC0",800:"#3200AC",900:"#110394"},c=E({},D),u=E({},t),b=E({},o);export{r as w_bluegray,D as w_cyan,n as w_gray,A as w_green,t as w_indigo,e as w_orange,c as w_primary,C as w_red,u as w_secondary,o as w_violet,B as w_yellow,b as y_primary};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Avatar}from"./Components/DataDisplays/Avatar/Avatar.js";export{CountBadge}from"./Components/DataDisplays/CountBadge/CountBadge.js";export{ImageLabel}from"./Components/DataDisplays/ImageLabel/ImageLabel.js";export{Label}from"./Components/DataDisplays/Label/Label.js";export{NewBadge}from"./Components/DataDisplays/NewBadge/NewBadge.js";export{ProductIcon}from"./Components/DataDisplays/ProductIcon/ProductIcon.js";export{ServiceLogo}from"./Components/DataDisplays/ServiceLogo/ServiceLogo.js";export{SkillLabel}from"./Components/DataDisplays/SkillLabel/SkillLabel.js";export{SystemIcon}from"./Components/DataDisplays/SystemIcon/SystemIcon.js";export{LargeSystemIconNames,MediumSystemIconNames,SmallSystemIconNames,SocialSystemIconNames,SystemIconNames}from"./Components/DataDisplays/SystemIcon/SystemIcon.constants.js";export{Divider}from"./Components/DataDisplays/Divider/Divider.js";export{ProgressIndicator}from"./Components/DataDisplays/ProgressIndicator/ProgressIndicator.js";export{default as Li}from"./Components/DataDisplays/Li/Li.js";export{MessageBox}from"./Components/Feedbacks/MessageBox/MessageBox.js";export{SnackBar}from"./Components/Feedbacks/SnackBar/SnackBar.js";export{messageType}from"./Components/Feedbacks/SnackBar/SnackBar.types.js";export{MessageBar}from"./Components/Feedbacks/MessageBar/MessageBar.js";export{Dialog}from"./Components/Feedbacks/Dialog/Dialog.js";export{DialogBox}from"./Components/Feedbacks/DialogBox/DialogBox.js";export{LoadingIndicator}from"./Components/Feedbacks/LoadingIndicator/LoadingIndicator.js";export{
|
|
1
|
+
export{Avatar}from"./Components/DataDisplays/Avatar/Avatar.js";export{CountBadge}from"./Components/DataDisplays/CountBadge/CountBadge.js";export{ImageLabel}from"./Components/DataDisplays/ImageLabel/ImageLabel.js";export{Label}from"./Components/DataDisplays/Label/Label.js";export{NewBadge}from"./Components/DataDisplays/NewBadge/NewBadge.js";export{ProductIcon}from"./Components/DataDisplays/ProductIcon/ProductIcon.js";export{ServiceLogo}from"./Components/DataDisplays/ServiceLogo/ServiceLogo.js";export{SkillLabel}from"./Components/DataDisplays/SkillLabel/SkillLabel.js";export{SystemIcon}from"./Components/DataDisplays/SystemIcon/SystemIcon.js";export{LargeSystemIconNames,MediumSystemIconNames,SmallSystemIconNames,SocialSystemIconNames,SystemIconNames}from"./Components/DataDisplays/SystemIcon/SystemIcon.constants.js";export{Divider}from"./Components/DataDisplays/Divider/Divider.js";export{ProgressIndicator}from"./Components/DataDisplays/ProgressIndicator/ProgressIndicator.js";export{default as Li}from"./Components/DataDisplays/Li/Li.js";export{Accordion}from"./Components/DataDisplays/Accordion/Accordion.js";export{MessageBox}from"./Components/Feedbacks/MessageBox/MessageBox.js";export{SnackBar}from"./Components/Feedbacks/SnackBar/SnackBar.js";export{messageType}from"./Components/Feedbacks/SnackBar/SnackBar.types.js";export{MessageBar}from"./Components/Feedbacks/MessageBar/MessageBar.js";export{Dialog}from"./Components/Feedbacks/Dialog/Dialog.js";export{DialogBox}from"./Components/Feedbacks/DialogBox/DialogBox.js";export{LoadingIndicator}from"./Components/Feedbacks/LoadingIndicator/LoadingIndicator.js";export{Tooltip}from"./Components/Feedbacks/Tooltip/Tooltip.js";export{RichTooltip}from"./Components/Feedbacks/Tooltip/RichTooltip/RichTooltip.js";export{PlainTooltip}from"./Components/Feedbacks/Tooltip/PlainTooltip/PlainTooltip.js";export{GlobalLoadingIndicator}from"./Components/Feedbacks/GlobalLoadingIndicator/GlobalLoadingIndicator.js";export{Autocomplete}from"./Components/Inputs/Autocomplete/Autocomplete.js";export{Button}from"./Components/Inputs/Button/Button.js";export{Calendar}from"./Components/Inputs/Calendar/Calendar.js";export{Checkbox}from"./Components/Inputs/Checkbox/Checkbox.js";export{CheckboxCard}from"./Components/Inputs/CheckboxCard/CheckboxCard.js";export{CheckboxList}from"./Components/Inputs/CheckboxList/CheckboxList.js";export{CheckboxListItem}from"./Components/Inputs/CheckboxListItem/CheckboxListItem.js";export{ChoiceChip}from"./Components/Inputs/ChoiceChip/ChoiceChip.js";export{IconButton}from"./Components/Inputs/IconButton/IconButton.js";export{InputChip}from"./Components/Inputs/InputChip/InputChip.js";export{RangeSlider}from"./Components/Inputs/RangeSlider/RangeSlider.js";export{Radio}from"./Components/Inputs/Radio/Radio.js";export{RadioCard}from"./Components/Inputs/RadioCard/RadioCard.js";export{RadioList}from"./Components/Inputs/RadioList/RadioList.js";export{RadioGroup}from"./Components/Inputs/RadioGroup/RadioGroup.js";export{RadioListItem}from"./Components/Inputs/RadioListItem/RadioListItem.js";export{SearchField}from"./Components/Inputs/SearchField/SearchField.js";export{SegmentedControl}from"./Components/Inputs/SegmentedControl/SegmentedControl.js";export{Switch}from"./Components/Inputs/Switch/Switch.js";export{Textarea}from"./Components/Inputs/Textarea/Textarea.js";export{TextButton}from"./Components/Inputs/TextButton/TextButton.js";export{TextField}from"./Components/Inputs/TextField/TextField.js";export{List}from"./Components/Inputs/List/List.js";export{TextFieldDropdown}from"./Components/Inputs/TextFieldDropdown/TextFieldDropdown.js";export{CommentArea}from"./Components/Inputs/CommentArea/CommentArea.js";export{IconButtonDropdown}from"./Components/Inputs/IconButtonDropdown/IconButtonDropdown.js";export{MultiColumnList}from"./Components/Inputs/MultiColumnList/MultiColumnList.js";export{FilterChip}from"./Components/Inputs/FilterChip/FilterChip.js";export{TextButtonDropdown}from"./Components/Inputs/TextButtonDropdown/TextButtonDropdown.js";export{AutoCompleteList}from"./Components/Inputs/AutoCompleteList/AutoCompleteList.js";export{FilterList}from"./Components/Inputs/FilterList/FilterList.js";export{Input}from"./Components/Inputs/Input/Input.js";export{PasswordInput}from"./Components/Inputs/Input/PasswordInput.js";export{LabelInput}from"./Components/Inputs/Input/LabelInput.js";export{InputTypeSelector}from"./Components/Inputs/Input/InputTypeSelector.js";export{SupportTextContainer}from"./Components/Inputs/SupportTextContainer/SupportTextContainer.js";export{TextFieldContainer}from"./Components/Inputs/TextFieldContainer/TextFieldContainer.js";export{FileUploader}from"./Components/Inputs/FileUploader/FileUploader.js";export{Typography}from"./Components/Base/Typography/Typography.js";export{Box}from"./Components/Base/Layouts/Box/Box.js";export{GridLayout}from"./Components/Base/Layouts/GridLayout/GridLayout.js";export{Column}from"./Components/Base/Layouts/Column/Column.js";export{FullBleed}from"./Components/Base/Layouts/FullBleed/FullBleed.js";export{Drawer}from"./Components/Navigations/Drawer/Drawer.js";export{GNBList}from"./Components/Navigations/GNBList/GNBList.js";export{LeftArrow,PaginationNumber,RightArrow}from"./Components/Navigations/Pagination/Pagination.parts.js";export{Pagination}from"./Components/Navigations/Pagination/Pagination.js";export{TableOfContents}from"./Components/Navigations/TableOfContents/TableOfContents.js";export{TextTab}from"./Components/Navigations/TextTab/TextTab.js";export{BoxTab}from"./Components/Navigations/BoxTab/BoxTab.js";export{Menu}from"./Components/Navigations/Menu/Menu.js";export{TextLink}from"./Components/Navigations/TextLink/TextLink.js";export{BackDrop}from"./Components/Utils/BackDrop/BackDrop.js";export{BackDropLiftContainer}from"./Components/Utils/BackDropLiftContainer/BackDropLiftContainer.js";export{BottomModalContainer}from"./Components/Utils/BottomModalContainer/BottomModalContainer.js";export{FullModalContainer}from"./Components/Utils/FullModalContainer/FullModalContainer.js";export{Modal}from"./Components/Utils/Modal/Modal.js";export{ModalContainer}from"./Components/Utils/ModalContainer/ModalContainer.js";export{Portal}from"./Components/Utils/Portal/Portal.js";export{WithBadge}from"./Components/Wrappers/WithBadge/WithBadge.js";export{WithSnackBar}from"./Components/Wrappers/WithSnackBar/WithSnackBar.js";
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wishket/design-system",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Wishket Design System",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"require": "./dist/config/tailwind.config.js",
|
|
29
29
|
"import": "./dist/config/tailwind.config.js",
|
|
30
30
|
"default": "./dist/config/tailwind.config.js"
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"./config.css": "./dist/config/config.css"
|
|
32
33
|
},
|
|
33
34
|
"scripts": {
|
|
34
35
|
"dev": "next dev --turbopack",
|
|
@@ -39,14 +40,15 @@
|
|
|
39
40
|
"test": "jest --ci --runInBand --coverage --watchAll=false --passWithNoTests --testMatch=\"**/*.spec.@(ts|tsx)\"",
|
|
40
41
|
"storybook": "storybook dev -p 6006",
|
|
41
42
|
"build-storybook": "storybook build",
|
|
43
|
+
"prettier:check": "prettier --cache --check .",
|
|
44
|
+
"prettier:write": "prettier --cache --write .",
|
|
42
45
|
"chromatic": "chromatic --exit-zero-on-changes"
|
|
43
46
|
},
|
|
44
47
|
"dependencies": {
|
|
45
|
-
"@savvywombat/tailwindcss-grid-areas": "^4.0.0",
|
|
46
48
|
"@wishket/yogokit": "^0.2.2",
|
|
47
|
-
"next": "15.5.
|
|
48
|
-
"react": "19.
|
|
49
|
-
"react-dom": "19.
|
|
49
|
+
"next": "15.5.6",
|
|
50
|
+
"react": "19.2.0",
|
|
51
|
+
"react-dom": "19.2.0",
|
|
50
52
|
"sharp": "^0.34.3",
|
|
51
53
|
"tailwind-merge": "^2.2.2",
|
|
52
54
|
"tailwind-scrollbar-hide": "^1.1.7"
|
|
@@ -67,35 +69,49 @@
|
|
|
67
69
|
"@storybook/mdx2-csf": "^1.1.0",
|
|
68
70
|
"@storybook/nextjs": "^9.0.9",
|
|
69
71
|
"@swc/core": "^1.5.5",
|
|
72
|
+
"@tailwindcss/postcss": "^4.1.17",
|
|
70
73
|
"@testing-library/dom": "^9.3.4",
|
|
71
74
|
"@testing-library/jest-dom": "^6.2.0",
|
|
72
75
|
"@testing-library/react": "^14.1.2",
|
|
73
76
|
"@testing-library/user-event": "^14.5.2",
|
|
74
77
|
"@types/faker": "^6",
|
|
75
78
|
"@types/jest": "^29.5.11",
|
|
76
|
-
"@types/node": "^
|
|
77
|
-
"@types/react": "19.
|
|
78
|
-
"@types/react-dom": "19.
|
|
79
|
-
"@
|
|
79
|
+
"@types/node": "^24.10.0",
|
|
80
|
+
"@types/react": "19.2.2",
|
|
81
|
+
"@types/react-dom": "19.2.2",
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
83
|
+
"@typescript-eslint/parser": "^8.46.4",
|
|
84
|
+
"@wishket/eslint-config-wishket": "^2.1.0",
|
|
80
85
|
"autoprefixer": "^10.4.18",
|
|
81
86
|
"babel-jest": "^29.7.0",
|
|
82
87
|
"chromatic": "^11.7.0",
|
|
83
88
|
"dotenv": "^16.3.1",
|
|
84
89
|
"eslint": "^8",
|
|
85
|
-
"eslint-config-next": "15.5.
|
|
90
|
+
"eslint-config-next": "15.5.6",
|
|
91
|
+
"eslint-plugin-file-export-name": "^0.0.2",
|
|
92
|
+
"eslint-plugin-import": "^2.32.0",
|
|
93
|
+
"eslint-plugin-jest": "^29.1.0",
|
|
94
|
+
"eslint-plugin-jest-dom": "^5.5.0",
|
|
95
|
+
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
96
|
+
"eslint-plugin-naming-convention": "^0.1.3",
|
|
97
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
86
98
|
"eslint-plugin-storybook": "^0.6.15",
|
|
99
|
+
"eslint-plugin-testing-library": "^7.13.3",
|
|
100
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
87
101
|
"jest": "^29.7.0",
|
|
88
102
|
"jest-dom": "^4.0.0",
|
|
89
103
|
"jest-environment-jsdom": "^29.7.0",
|
|
104
|
+
"madge": "^8.0.0",
|
|
90
105
|
"postcss": "^8.5.5",
|
|
91
106
|
"postcss-loader": "^8.1.1",
|
|
107
|
+
"prettier": "^3.6.2",
|
|
92
108
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
93
109
|
"rollup": "^4.9.4",
|
|
94
110
|
"rollup-plugin-copy": "^3.5.0",
|
|
95
111
|
"rollup-plugin-swc3": "^0.12.1",
|
|
96
112
|
"rollup-preserve-directives": "^1.1.3",
|
|
97
113
|
"storybook": "^9.0.9",
|
|
98
|
-
"tailwindcss": "^
|
|
114
|
+
"tailwindcss": "^4.1.17",
|
|
99
115
|
"ts-jest": "^29.1.1",
|
|
100
116
|
"ts-node": "^10.9.2",
|
|
101
117
|
"typescript": "^5"
|
|
@@ -114,9 +130,9 @@
|
|
|
114
130
|
],
|
|
115
131
|
"packageManager": "yarn@4.0.2",
|
|
116
132
|
"resolutions": {
|
|
117
|
-
"@types/react": "19.
|
|
118
|
-
"@types/react-dom": "19.
|
|
119
|
-
"react": "19.
|
|
120
|
-
"react-dom": "19.
|
|
133
|
+
"@types/react": "19.2.2",
|
|
134
|
+
"@types/react-dom": "19.2.2",
|
|
135
|
+
"react": "19.2.0",
|
|
136
|
+
"react-dom": "19.2.0"
|
|
121
137
|
}
|
|
122
138
|
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
-
export interface PlainTooltipProps extends ComponentProps<'div'> {
|
|
3
|
-
variant?: 'up' | 'down' | 'left' | 'right';
|
|
4
|
-
text?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
tooltipClassName?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* 마우스 호버 시 툴팁을 표시하는 컴포넌트입니다.
|
|
11
|
-
*
|
|
12
|
-
* @component
|
|
13
|
-
* @param {Object} props
|
|
14
|
-
* @param {'up' | 'down' | 'left' | 'right'} [props.variant='up'] - 툴팁이 표시될 방향
|
|
15
|
-
* @param {string} [props.text] - 툴팁에 표시될 텍스트
|
|
16
|
-
* @param {ReactNode} [props.children] - 툴팁을 표시할 대상 요소
|
|
17
|
-
* @param {string} [props.className] - 최상위 컨테이너에 적용할 추가 클래스
|
|
18
|
-
* @param {boolean} [props.disabled=false] - 툴팁 비활성화 여부
|
|
19
|
-
* @param {string} [props.tooltipClassName] - 툴팁 컨테이너에 적용할 추가 클래스
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* // 기본 사용법
|
|
23
|
-
* <PlainTooltip text="도움말 내용">
|
|
24
|
-
* <button>마우스를 올려보세요</button>
|
|
25
|
-
* </PlainTooltip>
|
|
26
|
-
*
|
|
27
|
-
* // 방향 지정
|
|
28
|
-
* <PlainTooltip
|
|
29
|
-
* variant="right"
|
|
30
|
-
* text="오른쪽에 표시되는 툴팁"
|
|
31
|
-
* >
|
|
32
|
-
* <span>도움말</span>
|
|
33
|
-
* </PlainTooltip>
|
|
34
|
-
*
|
|
35
|
-
* // 비활성화
|
|
36
|
-
* <PlainTooltip
|
|
37
|
-
* text="이 툴팁은 표시되지 않습니다"
|
|
38
|
-
* disabled={true}
|
|
39
|
-
* >
|
|
40
|
-
* <div>비활성화된 툴팁</div>
|
|
41
|
-
* </PlainTooltip>
|
|
42
|
-
*/
|
|
43
|
-
declare const PlainTooltip: ({ variant, text, children, className, disabled, tooltipClassName, }: PlainTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export { PlainTooltip };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{twMerge as a}from"tailwind-merge";import{Typography as o}from"../../Base/Typography/Typography.js";import{Box as l}from"../../Base/Layouts/Box/Box.js";import"../../Base/Layouts/FullBleed/FullBleed.js";import{Arrow as r}from"./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
|
-
*/const s=({variant:s="up",text:i,children:n,className:p,disabled:m=!1,tooltipClassName:d})=>/*#__PURE__*/t(l,{"data-testid":"design-system-plain-toolTip",className:a("inline-block",p),children:/*#__PURE__*/e(l,{"data-testid":"design-system-plain-toolTip--child",className:"group relative",children:[n,!m&&/*#__PURE__*/e(l,{className:a("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",d),"data-testid":"design-system-plain-toolTip--container",children:[
|
|
36
|
-
/*#__PURE__*/t(r,{testId:"design-system-plain-toolTip--arrow",className:a("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__*/t(l,{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__*/t(o,{variant:"body3",className:"whitespace-pre text-wrap break-all font-medium text-w-white opacity-100",children:i})})]})]})});export{s as PlainTooltip};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import"react";const t=({testId:t,className:l})=>/*#__PURE__*/e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"5",height:"10",viewBox:"0 0 5 10",fill:"none","data-testid":t,className:l,children:/*#__PURE__*/e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.96244e-08 5L5 -1.10263e-07L5 10L5.96244e-08 5Z",fill:"black"})});export{t as Arrow};
|
|
@@ -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";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,9 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export interface LableInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
isFixed: boolean;
|
|
4
|
-
isFocused?: boolean;
|
|
5
|
-
isError?: boolean;
|
|
6
|
-
lable?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const LableInput: import("react").ForwardRefExoticComponent<LableInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
-
export { LableInput };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
import { RadioStatus } from '../../../../types';
|
|
3
|
-
interface RadioListProps extends RadioStatus {
|
|
4
|
-
label?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
9
|
-
className?: string;
|
|
10
|
-
RadioClassName?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const RadioListItem: ({ name, value, label, description, isSelected, isDisabled, isError, className, RadioClassName, onChange, }: RadioListProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
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 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 o(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",o(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: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:s,value:o,label:l,description:d,isSelected:p,isDisabled: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:s,value:o,isSelected:p,isError:u,isDisabled: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};
|