@tipp/ui 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.cjs +1291 -837
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +122 -121
- package/dist/app/platform/coach-question-list.cjs +822 -364
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +48 -46
- package/dist/app/platform/contents-card.cjs +815 -357
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +48 -46
- package/dist/app/platform/curriculum-card.cjs +65 -13
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +7 -6
- package/dist/app/platform/edit-coaching-time.cjs +1012 -558
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +97 -96
- package/dist/app/platform/edit-service-type.cjs +995 -541
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +98 -97
- package/dist/app/platform/goal-manage-card-edit.cjs +991 -537
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +97 -96
- package/dist/app/platform/goal-manage-card-read.cjs +865 -407
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +48 -46
- package/dist/app/platform/on-offline-radio-card.cjs +785 -331
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +97 -96
- package/dist/app/platform/report-card.cjs +828 -370
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +48 -46
- package/dist/app/platform/reservation-card.cjs +1016 -562
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +98 -97
- package/dist/app/platform/session-card.cjs +1069 -615
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +100 -99
- package/dist/app/platform/session-review-simple-read.cjs +825 -367
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +48 -46
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +857 -399
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +54 -52
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +833 -375
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +49 -47
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +836 -378
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +49 -47
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +823 -365
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +48 -46
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +832 -374
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +49 -47
- package/dist/app/platform/userInfos/utils.cjs +824 -366
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +48 -46
- package/dist/atoms/alert-dialog.cjs +85 -1
- package/dist/atoms/alert-dialog.cjs.map +1 -1
- package/dist/atoms/alert-dialog.d.cts +18 -2
- package/dist/atoms/alert-dialog.d.ts +18 -2
- package/dist/atoms/alert-dialog.js +3 -1
- package/dist/atoms/aspect-ratio.d.cts +1 -0
- package/dist/atoms/aspect-ratio.d.ts +1 -0
- package/dist/atoms/avatar.cjs +39 -2
- package/dist/atoms/avatar.cjs.map +1 -1
- package/dist/atoms/avatar.d.cts +5 -2
- package/dist/atoms/avatar.d.ts +5 -2
- package/dist/atoms/avatar.js +2 -1
- package/dist/atoms/badge.cjs +34 -9
- package/dist/atoms/badge.cjs.map +1 -1
- package/dist/atoms/badge.d.cts +4 -5
- package/dist/atoms/badge.d.ts +4 -5
- package/dist/atoms/badge.js +2 -1
- package/dist/atoms/blockquote.cjs +71 -1
- package/dist/atoms/blockquote.cjs.map +1 -1
- package/dist/atoms/blockquote.d.cts +12 -1
- package/dist/atoms/blockquote.d.ts +12 -1
- package/dist/atoms/blockquote.js +2 -1
- package/dist/atoms/bullet-text.cjs +39 -2
- package/dist/atoms/bullet-text.cjs.map +1 -1
- package/dist/atoms/bullet-text.d.cts +1 -0
- package/dist/atoms/bullet-text.d.ts +1 -0
- package/dist/atoms/bullet-text.js +4 -3
- package/dist/atoms/button.cjs +33 -3
- package/dist/atoms/button.cjs.map +1 -1
- package/dist/atoms/button.d.cts +5 -3
- package/dist/atoms/button.d.ts +5 -3
- package/dist/atoms/button.js +2 -1
- package/dist/atoms/button.type.cjs.map +1 -1
- package/dist/atoms/button.type.d.cts +3 -1
- package/dist/atoms/button.type.d.ts +3 -1
- package/dist/atoms/call-out.cjs +78 -1
- package/dist/atoms/call-out.cjs.map +1 -1
- package/dist/atoms/call-out.d.cts +13 -1
- package/dist/atoms/call-out.d.ts +13 -1
- package/dist/atoms/call-out.js +2 -1
- package/dist/atoms/check-box-card.cjs +78 -1
- package/dist/atoms/check-box-card.cjs.map +1 -1
- package/dist/atoms/check-box-card.d.cts +12 -1
- package/dist/atoms/check-box-card.d.ts +12 -1
- package/dist/atoms/check-box-card.js +2 -1
- package/dist/atoms/check-box-group.cjs +40 -2
- package/dist/atoms/check-box-group.cjs.map +1 -1
- package/dist/atoms/check-box-group.d.cts +6 -0
- package/dist/atoms/check-box-group.d.ts +6 -0
- package/dist/atoms/check-box-group.js +2 -1
- package/dist/atoms/check-box.cjs +37 -2
- package/dist/atoms/check-box.cjs.map +1 -1
- package/dist/atoms/check-box.d.cts +5 -2
- package/dist/atoms/check-box.d.ts +5 -2
- package/dist/atoms/check-box.js +2 -1
- package/dist/atoms/code.cjs +73 -1
- package/dist/atoms/code.cjs.map +1 -1
- package/dist/atoms/code.d.cts +12 -1
- package/dist/atoms/code.d.ts +12 -1
- package/dist/atoms/code.js +2 -1
- package/dist/atoms/data-list.cjs +77 -1
- package/dist/atoms/data-list.cjs.map +1 -1
- package/dist/atoms/data-list.d.cts +14 -1
- package/dist/atoms/data-list.d.ts +14 -1
- package/dist/atoms/data-list.js +2 -1
- package/dist/atoms/dialog.cjs +49 -6
- package/dist/atoms/dialog.cjs.map +1 -1
- package/dist/atoms/dialog.js +4 -3
- package/dist/atoms/drawer.cjs +33 -3
- package/dist/atoms/drawer.cjs.map +1 -1
- package/dist/atoms/drawer.js +3 -2
- package/dist/atoms/dropdown-menu.cjs +63 -12
- package/dist/atoms/dropdown-menu.cjs.map +1 -1
- package/dist/atoms/dropdown-menu.d.cts +27 -17
- package/dist/atoms/dropdown-menu.d.ts +27 -17
- package/dist/atoms/dropdown-menu.js +3 -1
- package/dist/atoms/ellipsis-tooltip.cjs +73 -22
- package/dist/atoms/ellipsis-tooltip.cjs.map +1 -1
- package/dist/atoms/ellipsis-tooltip.d.cts +1 -0
- package/dist/atoms/ellipsis-tooltip.d.ts +1 -0
- package/dist/atoms/ellipsis-tooltip.js +5 -3
- package/dist/atoms/field-error-wrapper.cjs +39 -2
- package/dist/atoms/field-error-wrapper.cjs.map +1 -1
- package/dist/atoms/field-error-wrapper.js +4 -3
- package/dist/atoms/heading.cjs +38 -2
- package/dist/atoms/heading.cjs.map +1 -1
- package/dist/atoms/heading.d.cts +3 -1
- package/dist/atoms/heading.d.ts +3 -1
- package/dist/atoms/heading.js +2 -1
- package/dist/atoms/hover-card.cjs +85 -1
- package/dist/atoms/hover-card.cjs.map +1 -1
- package/dist/atoms/hover-card.d.cts +14 -1
- package/dist/atoms/hover-card.d.ts +14 -1
- package/dist/atoms/hover-card.js +3 -1
- package/dist/atoms/icon-button.cjs +33 -3
- package/dist/atoms/icon-button.cjs.map +1 -1
- package/dist/atoms/icon-button.d.cts +5 -3
- package/dist/atoms/icon-button.d.ts +5 -3
- package/dist/atoms/icon-button.js +2 -1
- package/dist/atoms/index.cjs +996 -506
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.d.cts +18 -2
- package/dist/atoms/index.d.ts +18 -2
- package/dist/atoms/index.js +81 -79
- package/dist/atoms/link.cjs +40 -2
- package/dist/atoms/link.cjs.map +1 -1
- package/dist/atoms/link.d.cts +3 -1
- package/dist/atoms/link.d.ts +3 -1
- package/dist/atoms/link.js +2 -1
- package/dist/atoms/list.cjs +43 -4
- package/dist/atoms/list.cjs.map +1 -1
- package/dist/atoms/list.js +4 -3
- package/dist/atoms/pagination.cjs +100 -42
- package/dist/atoms/pagination.cjs.map +1 -1
- package/dist/atoms/pagination.d.cts +4 -0
- package/dist/atoms/pagination.d.ts +4 -0
- package/dist/atoms/pagination.js +5 -4
- package/dist/atoms/popover.cjs +85 -1
- package/dist/atoms/popover.cjs.map +1 -1
- package/dist/atoms/popover.d.cts +16 -1
- package/dist/atoms/popover.d.ts +16 -1
- package/dist/atoms/popover.js +3 -1
- package/dist/atoms/progress.cjs +71 -1
- package/dist/atoms/progress.cjs.map +1 -1
- package/dist/atoms/progress.d.cts +12 -1
- package/dist/atoms/progress.d.ts +12 -1
- package/dist/atoms/progress.js +2 -1
- package/dist/atoms/radio-cards.cjs +78 -1
- package/dist/atoms/radio-cards.cjs.map +1 -1
- package/dist/atoms/radio-cards.d.cts +12 -1
- package/dist/atoms/radio-cards.d.ts +12 -1
- package/dist/atoms/radio-cards.js +2 -1
- package/dist/atoms/radio-group.cjs +78 -1
- package/dist/atoms/radio-group.cjs.map +1 -1
- package/dist/atoms/radio-group.d.cts +12 -1
- package/dist/atoms/radio-group.d.ts +12 -1
- package/dist/atoms/radio-group.js +2 -1
- package/dist/atoms/radio.cjs +71 -1
- package/dist/atoms/radio.cjs.map +1 -1
- package/dist/atoms/radio.d.cts +12 -1
- package/dist/atoms/radio.d.ts +12 -1
- package/dist/atoms/radio.js +2 -1
- package/dist/atoms/segmented-control.cjs.map +1 -1
- package/dist/atoms/segmented-control.js +1 -1
- package/dist/atoms/select.cjs +78 -24
- package/dist/atoms/select.cjs.map +1 -1
- package/dist/atoms/select.d.cts +14 -4
- package/dist/atoms/select.d.ts +14 -4
- package/dist/atoms/select.js +3 -1
- package/dist/atoms/switch.cjs +71 -1
- package/dist/atoms/switch.cjs.map +1 -1
- package/dist/atoms/switch.d.cts +12 -1
- package/dist/atoms/switch.d.ts +12 -1
- package/dist/atoms/switch.js +2 -1
- package/dist/atoms/tab-nav.cjs +76 -1
- package/dist/atoms/tab-nav.cjs.map +1 -1
- package/dist/atoms/tab-nav.d.cts +16 -1
- package/dist/atoms/tab-nav.d.ts +16 -1
- package/dist/atoms/tab-nav.js +2 -1
- package/dist/atoms/tabs.cjs +76 -1
- package/dist/atoms/tabs.cjs.map +1 -1
- package/dist/atoms/tabs.d.cts +19 -1
- package/dist/atoms/tabs.d.ts +19 -1
- package/dist/atoms/tabs.js +2 -1
- package/dist/atoms/tooltip.cjs +46 -9
- package/dist/atoms/tooltip.cjs.map +1 -1
- package/dist/atoms/tooltip.js +3 -1
- package/dist/atoms/typo.cjs +39 -2
- package/dist/atoms/typo.cjs.map +1 -1
- package/dist/atoms/typo.d.cts +3 -1
- package/dist/atoms/typo.d.ts +3 -1
- package/dist/atoms/typo.js +2 -1
- package/dist/chunk-24PX34TH.js +42 -0
- package/dist/chunk-24PX34TH.js.map +1 -0
- package/dist/{chunk-GGLDVUYU.js → chunk-2FB75HU2.js} +5 -5
- package/dist/{chunk-7ITDAUWI.js → chunk-2I37QLRA.js} +15 -15
- package/dist/{chunk-ZVDAEY5Q.js → chunk-2LCH3PDF.js} +14 -4
- package/dist/chunk-2LCH3PDF.js.map +1 -0
- package/dist/{chunk-3NUQAVE6.js → chunk-2M3UFZUD.js} +15 -2
- package/dist/chunk-2M3UFZUD.js.map +1 -0
- package/dist/{chunk-PXPGCDNA.js → chunk-2O7NVLVP.js} +5 -5
- package/dist/{chunk-NZ6ONU5Z.js → chunk-2SM37SB4.js} +13 -13
- package/dist/{chunk-NLW32DPB.js → chunk-2WNLUQX5.js} +11 -11
- package/dist/chunk-3TOUVBIB.js +34 -0
- package/dist/chunk-3TOUVBIB.js.map +1 -0
- package/dist/{chunk-XBOSNFUM.js → chunk-447H6BVE.js} +6 -6
- package/dist/{chunk-5V6MQUTB.js → chunk-5OW76AER.js} +2 -2
- package/dist/chunk-6TU647KJ.js +37 -0
- package/dist/chunk-6TU647KJ.js.map +1 -0
- package/dist/{chunk-44VLRAHW.js → chunk-6YJGQWD6.js} +12 -12
- package/dist/{chunk-KCCYHT23.js → chunk-7JW5Z2TL.js} +4 -4
- package/dist/{chunk-JZVK4NDF.js → chunk-7PBLFV5L.js} +5 -5
- package/dist/{chunk-XK6VEVOK.js → chunk-7RJYF5L3.js} +14 -4
- package/dist/chunk-7RJYF5L3.js.map +1 -0
- package/dist/{chunk-UXVM3Y7P.js → chunk-A26UWBVB.js} +5 -5
- package/dist/{chunk-HJP4STJZ.js → chunk-A4YOY75P.js} +5 -5
- package/dist/{chunk-LSDD4TAP.js → chunk-AJTGTGOC.js} +3 -3
- package/dist/chunk-BI6TW3ZO.js +51 -0
- package/dist/chunk-BI6TW3ZO.js.map +1 -0
- package/dist/chunk-BK74U562.js +52 -0
- package/dist/chunk-BK74U562.js.map +1 -0
- package/dist/{chunk-JWAQUXGB.js → chunk-BZ3EXV6A.js} +3 -3
- package/dist/{chunk-QRI6ARS6.js → chunk-C2G3IB7G.js} +4 -4
- package/dist/chunk-CGDBUDY3.js +37 -0
- package/dist/chunk-CGDBUDY3.js.map +1 -0
- package/dist/chunk-DX3DLP5Z.js +39 -0
- package/dist/chunk-DX3DLP5Z.js.map +1 -0
- package/dist/{chunk-4U6DFH7Z.js → chunk-E6GCU5IQ.js} +2 -2
- package/dist/chunk-EIKFXUNC.js +39 -0
- package/dist/chunk-EIKFXUNC.js.map +1 -0
- package/dist/{chunk-CSKNBWPB.js → chunk-EZN5PMTC.js} +3 -3
- package/dist/chunk-EZN5PMTC.js.map +1 -0
- package/dist/{chunk-VRJR534I.js → chunk-GAA3RTRW.js} +4 -4
- package/dist/{chunk-VY557FHE.js → chunk-GE4M5GOQ.js} +4 -4
- package/dist/chunk-GI4AN2IZ.js +42 -0
- package/dist/chunk-GI4AN2IZ.js.map +1 -0
- package/dist/{chunk-OUJAPQS2.js → chunk-GPULIICW.js} +11 -11
- package/dist/{chunk-K36TPMKL.js → chunk-GPZXD762.js} +18 -3
- package/dist/chunk-GPZXD762.js.map +1 -0
- package/dist/{chunk-PMJIFLDT.js → chunk-GR4PG6HY.js} +20 -3
- package/dist/chunk-GR4PG6HY.js.map +1 -0
- package/dist/{chunk-7PF6I4RN.js → chunk-GRDRXD53.js} +2 -2
- package/dist/{chunk-TJKS6CLU.js → chunk-GREYLAMY.js} +6 -6
- package/dist/{chunk-VREM33BW.js → chunk-GYSRHZRS.js} +8 -8
- package/dist/{chunk-2TYR2RDO.js → chunk-H3GQHGFA.js} +8 -8
- package/dist/{chunk-KMVSJT6Y.js → chunk-HH6LML5K.js} +10 -10
- package/dist/{chunk-HQATHJBN.js → chunk-IA74OBFY.js} +58 -41
- package/dist/chunk-IA74OBFY.js.map +1 -0
- package/dist/{chunk-J62KAMQL.js → chunk-IM6E52L2.js} +10 -10
- package/dist/{chunk-TVDKGMBI.js → chunk-IT7ZTP7F.js} +1 -1
- package/dist/chunk-IT7ZTP7F.js.map +1 -0
- package/dist/{chunk-5LRFDSG2.js → chunk-J7N2IZQW.js} +6 -6
- package/dist/{chunk-EEAHZCIK.js → chunk-JCUG2XKB.js} +2 -2
- package/dist/chunk-JETG3WEI.js +39 -0
- package/dist/chunk-JETG3WEI.js.map +1 -0
- package/dist/{chunk-4LUFF5LX.js → chunk-JNEGSY5N.js} +3 -3
- package/dist/{chunk-CQSM6JCO.js → chunk-K3Q4XLCN.js} +4 -4
- package/dist/chunk-KNIIDDYM.js +34 -0
- package/dist/chunk-KNIIDDYM.js.map +1 -0
- package/dist/{chunk-4TST4UK5.js → chunk-KO3V7KB6.js} +2 -2
- package/dist/{chunk-3U6FXC6R.js → chunk-LIWQ47VQ.js} +11 -11
- package/dist/{chunk-2ZSK45QM.js → chunk-LQ3WGFS7.js} +9 -9
- package/dist/{chunk-A7LYIUE7.js → chunk-M77YPVQN.js} +7 -7
- package/dist/{chunk-P4KO43AP.js → chunk-MCKWO7K4.js} +5 -5
- package/dist/{chunk-G7NEBNHU.js → chunk-MGR37YQB.js} +6 -6
- package/dist/{chunk-QDC3LFHS.js → chunk-MMLVZWMD.js} +3 -3
- package/dist/{chunk-D4JZHM4J.js → chunk-MP5KZULQ.js} +10 -10
- package/dist/{chunk-WMWXF44S.js → chunk-MSLSD7F6.js} +5 -5
- package/dist/{chunk-JUDD3XGY.js → chunk-MSM2QG23.js} +9 -9
- package/dist/{chunk-NVQSH733.js → chunk-NFMEBYNY.js} +5 -5
- package/dist/{chunk-7ZMY4CAZ.js → chunk-NIHOKIYW.js} +6 -6
- package/dist/{chunk-BESTU2AY.js → chunk-NLHVQJQ2.js} +19 -3
- package/dist/chunk-NLHVQJQ2.js.map +1 -0
- package/dist/{chunk-3GQQQBJN.js → chunk-NYG34MV6.js} +6 -6
- package/dist/{chunk-XF7FPCS7.js → chunk-OA3DGWVL.js} +15 -15
- package/dist/{chunk-F5IXHUBI.js → chunk-OBWQ3N5D.js} +12 -12
- package/dist/{chunk-HVXBZGLT.js → chunk-OEHVGPWL.js} +16 -16
- package/dist/chunk-OLJN3WXR.js +1 -0
- package/dist/{chunk-WE3TWSC4.js → chunk-OPYRV6XJ.js} +5 -5
- package/dist/{chunk-WFOIY6OR.js → chunk-OQN4E2QP.js} +4 -4
- package/dist/{chunk-HZ7HETUI.js → chunk-OWQUXTQ2.js} +4 -4
- package/dist/{chunk-7I7PZF5L.js → chunk-OYXUWBKS.js} +3 -3
- package/dist/{chunk-D3KCPM4O.js → chunk-PE4EBBU4.js} +5 -5
- package/dist/{chunk-3GGJWSFK.js → chunk-PXMJK5D5.js} +10 -10
- package/dist/{chunk-Y4U24VXI.js → chunk-Q3M6GFHY.js} +3 -3
- package/dist/{chunk-GFURX6GB.js → chunk-QPL7SJQM.js} +5 -5
- package/dist/{chunk-YAUOAWYS.js → chunk-RMVVV5NH.js} +6 -6
- package/dist/chunk-RMW3MQF5.js +42 -0
- package/dist/chunk-RMW3MQF5.js.map +1 -0
- package/dist/{chunk-RPV3QPQL.js → chunk-RUJZ5PE7.js} +5 -5
- package/dist/chunk-SA7AYYQS.js +39 -0
- package/dist/chunk-SA7AYYQS.js.map +1 -0
- package/dist/{chunk-6J5YZTZE.js → chunk-T2CGNUCP.js} +7 -7
- package/dist/chunk-T73HHR3I.js +67 -0
- package/dist/chunk-T73HHR3I.js.map +1 -0
- package/dist/chunk-TNNF5Q62.js +34 -0
- package/dist/chunk-TNNF5Q62.js.map +1 -0
- package/dist/{chunk-ZUZ5FT4B.js → chunk-TU6SGJ5Z.js} +11 -11
- package/dist/{chunk-5ZEQ33PC.js → chunk-TYEGB5FQ.js} +7 -7
- package/dist/{chunk-5AWPST2R.js → chunk-UFM3EL52.js} +12 -12
- package/dist/chunk-UFRB2BVD.js +34 -0
- package/dist/chunk-UFRB2BVD.js.map +1 -0
- package/dist/chunk-UFWDQGOK.js +36 -0
- package/dist/chunk-UFWDQGOK.js.map +1 -0
- package/dist/{chunk-R3WM6HV6.js → chunk-VD5ZDFCM.js} +5 -5
- package/dist/chunk-VFQD57ZY.js +27 -0
- package/dist/chunk-VFQD57ZY.js.map +1 -0
- package/dist/{chunk-AQVIQODP.js → chunk-VK6INFSB.js} +4 -4
- package/dist/{chunk-W7X7KSJP.js → chunk-WG5OK3YN.js} +19 -3
- package/dist/chunk-WG5OK3YN.js.map +1 -0
- package/dist/{chunk-QFEZIPWJ.js → chunk-WY37V3W4.js} +9 -9
- package/dist/chunk-WYWM2HSZ.js +33 -0
- package/dist/chunk-WYWM2HSZ.js.map +1 -0
- package/dist/{chunk-SDEDXT7A.js → chunk-XOQXIPLL.js} +4 -4
- package/dist/{chunk-DVYTRZOL.js → chunk-YCLYKBWZ.js} +15 -15
- package/dist/{chunk-YW4IN7LP.js → chunk-YGNHAFBW.js} +8 -8
- package/dist/{chunk-APG3GKDT.js → chunk-YWWYA2JZ.js} +11 -11
- package/dist/chunk-YXMB4MCM.js +87 -0
- package/dist/chunk-YXMB4MCM.js.map +1 -0
- package/dist/{chunk-7AMHCTRM.js → chunk-Z5LPHG2D.js} +5 -5
- package/dist/{chunk-GZNELGHF.js → chunk-ZAFLWQOV.js} +10 -10
- package/dist/{chunk-WD5P2N6F.js → chunk-ZC2JPF7B.js} +13 -13
- package/dist/{chunk-VYCYVN3L.js → chunk-ZCGH6TJ3.js} +16 -3
- package/dist/chunk-ZCGH6TJ3.js.map +1 -0
- package/dist/{chunk-UH6Q3TEK.js → chunk-ZCQMCIT5.js} +9 -9
- package/dist/chunk-ZPUNTAVI.js +38 -0
- package/dist/chunk-ZPUNTAVI.js.map +1 -0
- package/dist/{chunk-LT5C6QT7.js → chunk-ZUL3NYQ4.js} +2 -2
- package/dist/{chunk-23QMZC6L.js → chunk-ZWYQ44CB.js} +10 -10
- package/dist/context/dynamic-form-context.cjs +54 -4
- package/dist/context/dynamic-form-context.cjs.map +1 -1
- package/dist/context/dynamic-form-context.js +5 -4
- package/dist/context/index.cjs +54 -4
- package/dist/context/index.cjs.map +1 -1
- package/dist/context/index.js +8 -7
- package/dist/index.cjs +2131 -1631
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +73 -0
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.js +174 -168
- package/dist/molecules/autocomplete-textfield.cjs +111 -46
- package/dist/molecules/autocomplete-textfield.cjs.map +1 -1
- package/dist/molecules/autocomplete-textfield.js +5 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +367 -209
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +22 -21
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +293 -164
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +16 -15
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +33 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs +85 -19
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +217 -134
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +10 -9
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +172 -110
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +7 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +80 -20
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +7 -6
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +64 -7
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +6 -5
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +275 -115
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +26 -25
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +76 -17
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +8 -7
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +49 -5
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs +49 -5
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-file-download.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +318 -153
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +29 -28
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +346 -181
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +33 -32
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +4 -3
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +5 -4
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.js +3 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +195 -135
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +10 -9
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +39 -2
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +7 -6
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +65 -8
- package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
- package/dist/molecules/curriculumV2/curriculum-sub-nav.js +6 -5
- package/dist/molecules/curriculumV2/curriculum-v2-layout.js +2 -2
- package/dist/molecules/curriculumV2/index.cjs +406 -220
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +42 -41
- package/dist/molecules/date-picker/date-picker-button.cjs +160 -64
- package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
- package/dist/molecules/date-picker/date-picker-button.d.cts +1 -0
- package/dist/molecules/date-picker/date-picker-button.d.ts +1 -0
- package/dist/molecules/date-picker/date-picker-button.js +11 -9
- package/dist/molecules/date-picker/index.cjs +242 -146
- package/dist/molecules/date-picker/index.cjs.map +1 -1
- package/dist/molecules/date-picker/index.js +10 -8
- package/dist/molecules/description-json-render.cjs +182 -120
- package/dist/molecules/description-json-render.cjs.map +1 -1
- package/dist/molecules/description-json-render.js +7 -6
- package/dist/molecules/download-card.cjs +67 -8
- package/dist/molecules/download-card.cjs.map +1 -1
- package/dist/molecules/download-card.js +6 -5
- package/dist/molecules/dynamic-field.cjs +222 -72
- package/dist/molecules/dynamic-field.cjs.map +1 -1
- package/dist/molecules/dynamic-field.js +13 -11
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs +359 -267
- package/dist/molecules/dynamic-form-editor-field-editor-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-field-editor-panel.js +9 -7
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs +115 -47
- package/dist/molecules/dynamic-form-editor-field-list-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-field-list-panel.js +6 -4
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs +39 -2
- package/dist/molecules/dynamic-form-editor-issues-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-issues-panel.js +4 -3
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs +239 -89
- package/dist/molecules/dynamic-form-editor-preview-panel.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor-preview-panel.js +15 -13
- package/dist/molecules/dynamic-form-editor.cjs +571 -407
- package/dist/molecules/dynamic-form-editor.cjs.map +1 -1
- package/dist/molecules/dynamic-form-editor.js +21 -19
- package/dist/molecules/dynamic-form.cjs +235 -85
- package/dist/molecules/dynamic-form.cjs.map +1 -1
- package/dist/molecules/dynamic-form.js +14 -12
- package/dist/molecules/expand-table/index.cjs +100 -42
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +6 -5
- package/dist/molecules/force-refresh.cjs +79 -24
- package/dist/molecules/force-refresh.cjs.map +1 -1
- package/dist/molecules/force-refresh.js +5 -4
- package/dist/molecules/form/form.cjs +54 -4
- package/dist/molecules/form/form.cjs.map +1 -1
- package/dist/molecules/form/form.js +4 -3
- package/dist/molecules/form/index.cjs +54 -4
- package/dist/molecules/form/index.cjs.map +1 -1
- package/dist/molecules/form/index.js +4 -3
- package/dist/molecules/ghost-post.cjs +72 -14
- package/dist/molecules/ghost-post.cjs.map +1 -1
- package/dist/molecules/ghost-post.d.cts +1 -0
- package/dist/molecules/ghost-post.d.ts +1 -0
- package/dist/molecules/ghost-post.js +7 -6
- package/dist/molecules/index.cjs +1334 -989
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.d.cts +1 -0
- package/dist/molecules/index.d.ts +1 -0
- package/dist/molecules/index.js +80 -79
- package/dist/molecules/learning-post.cjs +109 -37
- package/dist/molecules/learning-post.cjs.map +1 -1
- package/dist/molecules/learning-post.d.cts +1 -0
- package/dist/molecules/learning-post.d.ts +1 -0
- package/dist/molecules/learning-post.js +9 -8
- package/dist/molecules/navigation.cjs +49 -5
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +5 -4
- package/dist/molecules/one-on-one-guide-list.cjs +56 -6
- package/dist/molecules/one-on-one-guide-list.cjs.map +1 -1
- package/dist/molecules/one-on-one-guide-list.js +6 -5
- package/dist/molecules/radio-button-card.cjs +77 -13
- package/dist/molecules/radio-button-card.cjs.map +1 -1
- package/dist/molecules/radio-button-card.js +4 -3
- package/dist/molecules/stepper.cjs +55 -4
- package/dist/molecules/stepper.cjs.map +1 -1
- package/dist/molecules/stepper.js +5 -4
- package/dist/molecules/tag-selector.cjs +256 -180
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +9 -7
- package/dist/molecules/time-select.cjs +180 -126
- package/dist/molecules/time-select.cjs.map +1 -1
- package/dist/molecules/time-select.d.cts +1 -0
- package/dist/molecules/time-select.d.ts +1 -0
- package/dist/molecules/time-select.js +5 -3
- package/dist/molecules/training-info-guideline.cjs +75 -11
- package/dist/molecules/training-info-guideline.cjs.map +1 -1
- package/dist/molecules/training-info-guideline.js +10 -9
- package/dist/theme/theme-provider.cjs +53 -1
- package/dist/theme/theme-provider.cjs.map +1 -1
- package/dist/theme/theme-provider.d.cts +18 -2
- package/dist/theme/theme-provider.d.ts +18 -2
- package/dist/theme/theme-provider.js +4 -1
- package/dist/utils/convert-button-size.d.cts +1 -0
- package/dist/utils/convert-button-size.d.ts +1 -0
- package/dist/utils/convert-icon-button-size.d.cts +1 -0
- package/dist/utils/convert-icon-button-size.d.ts +1 -0
- package/dist/utils/index.cjs +25 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.cts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +5 -1
- package/dist/utils/resolve-color.cjs +51 -0
- package/dist/utils/resolve-color.cjs.map +1 -0
- package/dist/utils/resolve-color.d.cts +38 -0
- package/dist/utils/resolve-color.d.ts +38 -0
- package/dist/utils/resolve-color.js +8 -0
- package/dist/utils/resolve-color.js.map +1 -0
- package/package.json +1 -1
- package/src/atoms/alert-dialog.tsx +38 -1
- package/src/atoms/avatar.tsx +18 -3
- package/src/atoms/badge.tsx +15 -22
- package/src/atoms/blockquote.tsx +31 -1
- package/src/atoms/button.tsx +12 -3
- package/src/atoms/button.type.ts +6 -1
- package/src/atoms/call-out.tsx +48 -1
- package/src/atoms/check-box-card.tsx +51 -1
- package/src/atoms/check-box-group.tsx +19 -2
- package/src/atoms/check-box.tsx +17 -3
- package/src/atoms/code.tsx +31 -1
- package/src/atoms/data-list.tsx +47 -1
- package/src/atoms/dropdown-menu.tsx +53 -6
- package/src/atoms/heading.tsx +22 -4
- package/src/atoms/hover-card.tsx +37 -1
- package/src/atoms/icon-button.tsx +12 -3
- package/src/atoms/link.tsx +21 -3
- package/src/atoms/pagination.tsx +21 -2
- package/src/atoms/popover.tsx +37 -1
- package/src/atoms/progress.tsx +31 -1
- package/src/atoms/radio-cards.tsx +49 -1
- package/src/atoms/radio-group.tsx +49 -1
- package/src/atoms/radio.tsx +31 -1
- package/src/atoms/segmented-control.tsx +3 -0
- package/src/atoms/select.tsx +67 -19
- package/src/atoms/switch.tsx +31 -1
- package/src/atoms/tab-nav.tsx +42 -1
- package/src/atoms/tabs.tsx +40 -1
- package/src/atoms/tooltip.tsx +14 -1
- package/src/atoms/typo.tsx +21 -3
- package/src/molecules/radio-button-card.tsx +6 -4
- package/src/theme/theme-provider.tsx +38 -3
- package/src/utils/index.ts +2 -1
- package/src/utils/resolve-color.ts +86 -0
- package/dist/chunk-365QMK4D.js +0 -7
- package/dist/chunk-365QMK4D.js.map +0 -1
- package/dist/chunk-3NUQAVE6.js.map +0 -1
- package/dist/chunk-5AVBYDPB.js +0 -7
- package/dist/chunk-5AVBYDPB.js.map +0 -1
- package/dist/chunk-5ZITU5L7.js +0 -7
- package/dist/chunk-5ZITU5L7.js.map +0 -1
- package/dist/chunk-6DJOIRMF.js +0 -7
- package/dist/chunk-6DJOIRMF.js.map +0 -1
- package/dist/chunk-6IVCARWS.js +0 -7
- package/dist/chunk-6IVCARWS.js.map +0 -1
- package/dist/chunk-7FKRQQYK.js +0 -15
- package/dist/chunk-7FKRQQYK.js.map +0 -1
- package/dist/chunk-B6XJN6EC.js +0 -7
- package/dist/chunk-B6XJN6EC.js.map +0 -1
- package/dist/chunk-BESTU2AY.js.map +0 -1
- package/dist/chunk-CSKNBWPB.js.map +0 -1
- package/dist/chunk-DHZVOXFM.js +0 -35
- package/dist/chunk-DHZVOXFM.js.map +0 -1
- package/dist/chunk-FPD73OHW.js +0 -7
- package/dist/chunk-FPD73OHW.js.map +0 -1
- package/dist/chunk-HFVVQEOZ.js +0 -1
- package/dist/chunk-HQATHJBN.js.map +0 -1
- package/dist/chunk-J242TTFH.js +0 -7
- package/dist/chunk-J242TTFH.js.map +0 -1
- package/dist/chunk-K36TPMKL.js.map +0 -1
- package/dist/chunk-KTSEZC6A.js +0 -49
- package/dist/chunk-KTSEZC6A.js.map +0 -1
- package/dist/chunk-MIMJ7LON.js +0 -7
- package/dist/chunk-MIMJ7LON.js.map +0 -1
- package/dist/chunk-O3T3TM3V.js +0 -7
- package/dist/chunk-O3T3TM3V.js.map +0 -1
- package/dist/chunk-OHMOP5PV.js +0 -7
- package/dist/chunk-OHMOP5PV.js.map +0 -1
- package/dist/chunk-OYM4XCHQ.js +0 -7
- package/dist/chunk-OYM4XCHQ.js.map +0 -1
- package/dist/chunk-PMJIFLDT.js.map +0 -1
- package/dist/chunk-SMLC2O3V.js +0 -42
- package/dist/chunk-SMLC2O3V.js.map +0 -1
- package/dist/chunk-TVDKGMBI.js.map +0 -1
- package/dist/chunk-VTJZMOSP.js +0 -7
- package/dist/chunk-VTJZMOSP.js.map +0 -1
- package/dist/chunk-VYCYVN3L.js.map +0 -1
- package/dist/chunk-W7X7KSJP.js.map +0 -1
- package/dist/chunk-X2GMDZ7M.js +0 -59
- package/dist/chunk-X2GMDZ7M.js.map +0 -1
- package/dist/chunk-XK6VEVOK.js.map +0 -1
- package/dist/chunk-YGL6SWKN.js +0 -7
- package/dist/chunk-YGL6SWKN.js.map +0 -1
- package/dist/chunk-YJ7ZFOYL.js +0 -7
- package/dist/chunk-YJ7ZFOYL.js.map +0 -1
- package/dist/chunk-ZVDAEY5Q.js.map +0 -1
- /package/dist/{chunk-GGLDVUYU.js.map → chunk-2FB75HU2.js.map} +0 -0
- /package/dist/{chunk-7ITDAUWI.js.map → chunk-2I37QLRA.js.map} +0 -0
- /package/dist/{chunk-PXPGCDNA.js.map → chunk-2O7NVLVP.js.map} +0 -0
- /package/dist/{chunk-NZ6ONU5Z.js.map → chunk-2SM37SB4.js.map} +0 -0
- /package/dist/{chunk-NLW32DPB.js.map → chunk-2WNLUQX5.js.map} +0 -0
- /package/dist/{chunk-XBOSNFUM.js.map → chunk-447H6BVE.js.map} +0 -0
- /package/dist/{chunk-5V6MQUTB.js.map → chunk-5OW76AER.js.map} +0 -0
- /package/dist/{chunk-44VLRAHW.js.map → chunk-6YJGQWD6.js.map} +0 -0
- /package/dist/{chunk-KCCYHT23.js.map → chunk-7JW5Z2TL.js.map} +0 -0
- /package/dist/{chunk-JZVK4NDF.js.map → chunk-7PBLFV5L.js.map} +0 -0
- /package/dist/{chunk-UXVM3Y7P.js.map → chunk-A26UWBVB.js.map} +0 -0
- /package/dist/{chunk-HJP4STJZ.js.map → chunk-A4YOY75P.js.map} +0 -0
- /package/dist/{chunk-LSDD4TAP.js.map → chunk-AJTGTGOC.js.map} +0 -0
- /package/dist/{chunk-JWAQUXGB.js.map → chunk-BZ3EXV6A.js.map} +0 -0
- /package/dist/{chunk-QRI6ARS6.js.map → chunk-C2G3IB7G.js.map} +0 -0
- /package/dist/{chunk-4U6DFH7Z.js.map → chunk-E6GCU5IQ.js.map} +0 -0
- /package/dist/{chunk-VRJR534I.js.map → chunk-GAA3RTRW.js.map} +0 -0
- /package/dist/{chunk-VY557FHE.js.map → chunk-GE4M5GOQ.js.map} +0 -0
- /package/dist/{chunk-OUJAPQS2.js.map → chunk-GPULIICW.js.map} +0 -0
- /package/dist/{chunk-7PF6I4RN.js.map → chunk-GRDRXD53.js.map} +0 -0
- /package/dist/{chunk-TJKS6CLU.js.map → chunk-GREYLAMY.js.map} +0 -0
- /package/dist/{chunk-VREM33BW.js.map → chunk-GYSRHZRS.js.map} +0 -0
- /package/dist/{chunk-2TYR2RDO.js.map → chunk-H3GQHGFA.js.map} +0 -0
- /package/dist/{chunk-KMVSJT6Y.js.map → chunk-HH6LML5K.js.map} +0 -0
- /package/dist/{chunk-J62KAMQL.js.map → chunk-IM6E52L2.js.map} +0 -0
- /package/dist/{chunk-5LRFDSG2.js.map → chunk-J7N2IZQW.js.map} +0 -0
- /package/dist/{chunk-EEAHZCIK.js.map → chunk-JCUG2XKB.js.map} +0 -0
- /package/dist/{chunk-4LUFF5LX.js.map → chunk-JNEGSY5N.js.map} +0 -0
- /package/dist/{chunk-CQSM6JCO.js.map → chunk-K3Q4XLCN.js.map} +0 -0
- /package/dist/{chunk-4TST4UK5.js.map → chunk-KO3V7KB6.js.map} +0 -0
- /package/dist/{chunk-3U6FXC6R.js.map → chunk-LIWQ47VQ.js.map} +0 -0
- /package/dist/{chunk-2ZSK45QM.js.map → chunk-LQ3WGFS7.js.map} +0 -0
- /package/dist/{chunk-A7LYIUE7.js.map → chunk-M77YPVQN.js.map} +0 -0
- /package/dist/{chunk-P4KO43AP.js.map → chunk-MCKWO7K4.js.map} +0 -0
- /package/dist/{chunk-G7NEBNHU.js.map → chunk-MGR37YQB.js.map} +0 -0
- /package/dist/{chunk-QDC3LFHS.js.map → chunk-MMLVZWMD.js.map} +0 -0
- /package/dist/{chunk-D4JZHM4J.js.map → chunk-MP5KZULQ.js.map} +0 -0
- /package/dist/{chunk-WMWXF44S.js.map → chunk-MSLSD7F6.js.map} +0 -0
- /package/dist/{chunk-JUDD3XGY.js.map → chunk-MSM2QG23.js.map} +0 -0
- /package/dist/{chunk-NVQSH733.js.map → chunk-NFMEBYNY.js.map} +0 -0
- /package/dist/{chunk-7ZMY4CAZ.js.map → chunk-NIHOKIYW.js.map} +0 -0
- /package/dist/{chunk-3GQQQBJN.js.map → chunk-NYG34MV6.js.map} +0 -0
- /package/dist/{chunk-XF7FPCS7.js.map → chunk-OA3DGWVL.js.map} +0 -0
- /package/dist/{chunk-F5IXHUBI.js.map → chunk-OBWQ3N5D.js.map} +0 -0
- /package/dist/{chunk-HVXBZGLT.js.map → chunk-OEHVGPWL.js.map} +0 -0
- /package/dist/{chunk-HFVVQEOZ.js.map → chunk-OLJN3WXR.js.map} +0 -0
- /package/dist/{chunk-WE3TWSC4.js.map → chunk-OPYRV6XJ.js.map} +0 -0
- /package/dist/{chunk-WFOIY6OR.js.map → chunk-OQN4E2QP.js.map} +0 -0
- /package/dist/{chunk-HZ7HETUI.js.map → chunk-OWQUXTQ2.js.map} +0 -0
- /package/dist/{chunk-7I7PZF5L.js.map → chunk-OYXUWBKS.js.map} +0 -0
- /package/dist/{chunk-D3KCPM4O.js.map → chunk-PE4EBBU4.js.map} +0 -0
- /package/dist/{chunk-3GGJWSFK.js.map → chunk-PXMJK5D5.js.map} +0 -0
- /package/dist/{chunk-Y4U24VXI.js.map → chunk-Q3M6GFHY.js.map} +0 -0
- /package/dist/{chunk-GFURX6GB.js.map → chunk-QPL7SJQM.js.map} +0 -0
- /package/dist/{chunk-YAUOAWYS.js.map → chunk-RMVVV5NH.js.map} +0 -0
- /package/dist/{chunk-RPV3QPQL.js.map → chunk-RUJZ5PE7.js.map} +0 -0
- /package/dist/{chunk-6J5YZTZE.js.map → chunk-T2CGNUCP.js.map} +0 -0
- /package/dist/{chunk-ZUZ5FT4B.js.map → chunk-TU6SGJ5Z.js.map} +0 -0
- /package/dist/{chunk-5ZEQ33PC.js.map → chunk-TYEGB5FQ.js.map} +0 -0
- /package/dist/{chunk-5AWPST2R.js.map → chunk-UFM3EL52.js.map} +0 -0
- /package/dist/{chunk-R3WM6HV6.js.map → chunk-VD5ZDFCM.js.map} +0 -0
- /package/dist/{chunk-AQVIQODP.js.map → chunk-VK6INFSB.js.map} +0 -0
- /package/dist/{chunk-QFEZIPWJ.js.map → chunk-WY37V3W4.js.map} +0 -0
- /package/dist/{chunk-SDEDXT7A.js.map → chunk-XOQXIPLL.js.map} +0 -0
- /package/dist/{chunk-DVYTRZOL.js.map → chunk-YCLYKBWZ.js.map} +0 -0
- /package/dist/{chunk-YW4IN7LP.js.map → chunk-YGNHAFBW.js.map} +0 -0
- /package/dist/{chunk-APG3GKDT.js.map → chunk-YWWYA2JZ.js.map} +0 -0
- /package/dist/{chunk-7AMHCTRM.js.map → chunk-Z5LPHG2D.js.map} +0 -0
- /package/dist/{chunk-GZNELGHF.js.map → chunk-ZAFLWQOV.js.map} +0 -0
- /package/dist/{chunk-WD5P2N6F.js.map → chunk-ZC2JPF7B.js.map} +0 -0
- /package/dist/{chunk-UH6Q3TEK.js.map → chunk-ZCQMCIT5.js.map} +0 -0
- /package/dist/{chunk-LT5C6QT7.js.map → chunk-ZUL3NYQ4.js.map} +0 -0
- /package/dist/{chunk-23QMZC6L.js.map → chunk-ZWYQ44CB.js.map} +0 -0
package/dist/atoms/index.d.cts
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
|
-
export { AlertDialog
|
|
1
|
+
export { AlertDialog } from './alert-dialog.cjs';
|
|
2
|
+
export { AspectRatio, Box, BoxProps, Container, ContainerProps, Em, EmProps, Flex, FlexProps, Grid, GridProps, Inset, InsetProps, Kbd, KbdProps, Quote, QuoteProps, Button as RadixButton, ButtonProps as RadixButtonProps, Heading as RadixHeading, ScrollArea, ScrollAreaProps, Section, SectionProps, SegmentedControl, Separator, SeparatorProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, Strong, StrongProps } from '@radix-ui/themes';
|
|
2
3
|
export { Avatar, AvatarProps } from './avatar.cjs';
|
|
3
4
|
export { Badge, BadgeProps } from './badge.cjs';
|
|
5
|
+
export { Blockquote, BlockquoteProps } from './blockquote.cjs';
|
|
4
6
|
export { Button } from './button.cjs';
|
|
5
7
|
export { ButtonProps } from './button.type.cjs';
|
|
8
|
+
export { Callout } from './call-out.cjs';
|
|
6
9
|
export { Card, CardProps } from './card.cjs';
|
|
7
10
|
export { Checkbox, CheckboxProps } from './check-box.cjs';
|
|
11
|
+
export { CheckboxCards } from './check-box-card.cjs';
|
|
8
12
|
export { CheckboxGroup } from './check-box-group.cjs';
|
|
13
|
+
export { Code, CodeProps } from './code.cjs';
|
|
14
|
+
export { DataList } from './data-list.cjs';
|
|
9
15
|
export { Dialog } from './dialog.cjs';
|
|
10
16
|
export { DropdownMenu } from './dropdown-menu.cjs';
|
|
11
17
|
export { Heading, HeadingProps } from './heading.cjs';
|
|
18
|
+
export { HoverCard } from './hover-card.cjs';
|
|
12
19
|
export { IconButton, IconButtonProps } from './icon-button.cjs';
|
|
13
20
|
export { Link, LinkProps } from './link.cjs';
|
|
14
|
-
export {
|
|
21
|
+
export { Popover } from './popover.cjs';
|
|
22
|
+
export { Progress, ProgressProps } from './progress.cjs';
|
|
23
|
+
export { Radio, RadioProps } from './radio.cjs';
|
|
24
|
+
export { RadioCards } from './radio-cards.cjs';
|
|
25
|
+
export { RadioGroup } from './radio-group.cjs';
|
|
26
|
+
export { ContentProps, Select, SelectRootProps, TriggerProps } from './select.cjs';
|
|
27
|
+
export { Switch, SwitchProps } from './switch.cjs';
|
|
28
|
+
export { TabNav } from './tab-nav.cjs';
|
|
29
|
+
export { Tabs } from './tabs.cjs';
|
|
15
30
|
export { TextArea, TextAreaProps } from './text-area.cjs';
|
|
16
31
|
export { Typo, TypoProps } from './typo.cjs';
|
|
17
32
|
export { RootProps, SlotProps, TextField } from './text-field.cjs';
|
|
@@ -28,6 +43,7 @@ export { BulletText, BulletTextProps } from './bullet-text.cjs';
|
|
|
28
43
|
export { List, ListItemProps, ListRootProps, useList } from './list.cjs';
|
|
29
44
|
export { Responsive } from '@radix-ui/themes/props';
|
|
30
45
|
import 'react';
|
|
46
|
+
import '../utils/resolve-color.cjs';
|
|
31
47
|
import '@radix-ui/react-dialog';
|
|
32
48
|
import 'sonner';
|
|
33
49
|
import '@radix-ui/react-form';
|
package/dist/atoms/index.d.ts
CHANGED
|
@@ -1,17 +1,32 @@
|
|
|
1
|
-
export { AlertDialog
|
|
1
|
+
export { AlertDialog } from './alert-dialog.js';
|
|
2
|
+
export { AspectRatio, Box, BoxProps, Container, ContainerProps, Em, EmProps, Flex, FlexProps, Grid, GridProps, Inset, InsetProps, Kbd, KbdProps, Quote, QuoteProps, Button as RadixButton, ButtonProps as RadixButtonProps, Heading as RadixHeading, ScrollArea, ScrollAreaProps, Section, SectionProps, SegmentedControl, Separator, SeparatorProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, Strong, StrongProps } from '@radix-ui/themes';
|
|
2
3
|
export { Avatar, AvatarProps } from './avatar.js';
|
|
3
4
|
export { Badge, BadgeProps } from './badge.js';
|
|
5
|
+
export { Blockquote, BlockquoteProps } from './blockquote.js';
|
|
4
6
|
export { Button } from './button.js';
|
|
5
7
|
export { ButtonProps } from './button.type.js';
|
|
8
|
+
export { Callout } from './call-out.js';
|
|
6
9
|
export { Card, CardProps } from './card.js';
|
|
7
10
|
export { Checkbox, CheckboxProps } from './check-box.js';
|
|
11
|
+
export { CheckboxCards } from './check-box-card.js';
|
|
8
12
|
export { CheckboxGroup } from './check-box-group.js';
|
|
13
|
+
export { Code, CodeProps } from './code.js';
|
|
14
|
+
export { DataList } from './data-list.js';
|
|
9
15
|
export { Dialog } from './dialog.js';
|
|
10
16
|
export { DropdownMenu } from './dropdown-menu.js';
|
|
11
17
|
export { Heading, HeadingProps } from './heading.js';
|
|
18
|
+
export { HoverCard } from './hover-card.js';
|
|
12
19
|
export { IconButton, IconButtonProps } from './icon-button.js';
|
|
13
20
|
export { Link, LinkProps } from './link.js';
|
|
14
|
-
export {
|
|
21
|
+
export { Popover } from './popover.js';
|
|
22
|
+
export { Progress, ProgressProps } from './progress.js';
|
|
23
|
+
export { Radio, RadioProps } from './radio.js';
|
|
24
|
+
export { RadioCards } from './radio-cards.js';
|
|
25
|
+
export { RadioGroup } from './radio-group.js';
|
|
26
|
+
export { ContentProps, Select, SelectRootProps, TriggerProps } from './select.js';
|
|
27
|
+
export { Switch, SwitchProps } from './switch.js';
|
|
28
|
+
export { TabNav } from './tab-nav.js';
|
|
29
|
+
export { Tabs } from './tabs.js';
|
|
15
30
|
export { TextArea, TextAreaProps } from './text-area.js';
|
|
16
31
|
export { Typo, TypoProps } from './typo.js';
|
|
17
32
|
export { RootProps, SlotProps, TextField } from './text-field.js';
|
|
@@ -28,6 +43,7 @@ export { BulletText, BulletTextProps } from './bullet-text.js';
|
|
|
28
43
|
export { List, ListItemProps, ListRootProps, useList } from './list.js';
|
|
29
44
|
export { Responsive } from '@radix-ui/themes/props';
|
|
30
45
|
import 'react';
|
|
46
|
+
import '../utils/resolve-color.js';
|
|
31
47
|
import '@radix-ui/react-dialog';
|
|
32
48
|
import 'sonner';
|
|
33
49
|
import '@radix-ui/react-form';
|
package/dist/atoms/index.js
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import "../chunk-HBF6IIVZ.js";
|
|
2
|
+
import {
|
|
3
|
+
Form,
|
|
4
|
+
FormItem
|
|
5
|
+
} from "../chunk-MMLVZWMD.js";
|
|
6
|
+
import {
|
|
7
|
+
TextArea
|
|
8
|
+
} from "../chunk-5XYPLDI5.js";
|
|
9
|
+
import {
|
|
10
|
+
TextField
|
|
11
|
+
} from "../chunk-6NPTJBFE.js";
|
|
2
12
|
import {
|
|
3
13
|
ToastContainer,
|
|
4
14
|
toast
|
|
5
15
|
} from "../chunk-LNPFV5BJ.js";
|
|
16
|
+
import {
|
|
17
|
+
Select
|
|
18
|
+
} from "../chunk-YXMB4MCM.js";
|
|
19
|
+
import {
|
|
20
|
+
Separator
|
|
21
|
+
} from "../chunk-HYITAA4J.js";
|
|
6
22
|
import {
|
|
7
23
|
Skeleton
|
|
8
24
|
} from "../chunk-5H3YPCZK.js";
|
|
@@ -14,28 +30,28 @@ import {
|
|
|
14
30
|
} from "../chunk-74DX4CU7.js";
|
|
15
31
|
import {
|
|
16
32
|
Switch
|
|
17
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-KNIIDDYM.js";
|
|
18
34
|
import {
|
|
19
35
|
TabNav
|
|
20
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-6TU647KJ.js";
|
|
21
37
|
import {
|
|
22
38
|
Tabs
|
|
23
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-CGDBUDY3.js";
|
|
24
40
|
import {
|
|
25
|
-
|
|
26
|
-
} from "../chunk-
|
|
41
|
+
Progress
|
|
42
|
+
} from "../chunk-TNNF5Q62.js";
|
|
27
43
|
import {
|
|
28
|
-
|
|
29
|
-
} from "../chunk-
|
|
44
|
+
Quote
|
|
45
|
+
} from "../chunk-YO3BQW6S.js";
|
|
30
46
|
import {
|
|
31
47
|
RadioCards
|
|
32
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-DX3DLP5Z.js";
|
|
33
49
|
import {
|
|
34
50
|
RadioGroup
|
|
35
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-SA7AYYQS.js";
|
|
36
52
|
import {
|
|
37
53
|
Radio
|
|
38
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-3TOUVBIB.js";
|
|
39
55
|
import {
|
|
40
56
|
ScrollArea
|
|
41
57
|
} from "../chunk-MUPK4L3U.js";
|
|
@@ -44,13 +60,7 @@ import {
|
|
|
44
60
|
} from "../chunk-MUNMDHRF.js";
|
|
45
61
|
import {
|
|
46
62
|
SegmentedControl
|
|
47
|
-
} from "../chunk-
|
|
48
|
-
import {
|
|
49
|
-
Select
|
|
50
|
-
} from "../chunk-X2GMDZ7M.js";
|
|
51
|
-
import {
|
|
52
|
-
Separator
|
|
53
|
-
} from "../chunk-HYITAA4J.js";
|
|
63
|
+
} from "../chunk-IT7ZTP7F.js";
|
|
54
64
|
import {
|
|
55
65
|
Inset
|
|
56
66
|
} from "../chunk-XQOL7UBI.js";
|
|
@@ -59,38 +69,48 @@ import {
|
|
|
59
69
|
} from "../chunk-TULWX7D6.js";
|
|
60
70
|
import {
|
|
61
71
|
Link
|
|
62
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-BI6TW3ZO.js";
|
|
63
73
|
import {
|
|
64
74
|
List,
|
|
65
75
|
useList
|
|
66
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-OPYRV6XJ.js";
|
|
67
77
|
import {
|
|
68
78
|
Pagination
|
|
69
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-IA74OBFY.js";
|
|
70
80
|
import {
|
|
71
81
|
Popover
|
|
72
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-RMW3MQF5.js";
|
|
73
83
|
import {
|
|
74
|
-
|
|
75
|
-
} from "../chunk-
|
|
84
|
+
DropdownMenu
|
|
85
|
+
} from "../chunk-T73HHR3I.js";
|
|
76
86
|
import {
|
|
77
|
-
|
|
78
|
-
} from "../chunk-
|
|
87
|
+
EllipsisTooltip
|
|
88
|
+
} from "../chunk-Q3M6GFHY.js";
|
|
89
|
+
import {
|
|
90
|
+
Tooltip
|
|
91
|
+
} from "../chunk-2M3UFZUD.js";
|
|
92
|
+
import "../chunk-PT57HCAI.js";
|
|
79
93
|
import {
|
|
80
94
|
Em
|
|
81
95
|
} from "../chunk-2DZ2Y3JI.js";
|
|
82
96
|
import {
|
|
83
97
|
FieldErrorWrapper
|
|
84
|
-
} from "../chunk-
|
|
98
|
+
} from "../chunk-GAA3RTRW.js";
|
|
85
99
|
import {
|
|
86
100
|
Grid
|
|
87
101
|
} from "../chunk-EGEQY3KT.js";
|
|
88
102
|
import {
|
|
89
103
|
HoverCard
|
|
90
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-24PX34TH.js";
|
|
105
|
+
import {
|
|
106
|
+
CheckboxGroup
|
|
107
|
+
} from "../chunk-WG5OK3YN.js";
|
|
108
|
+
import {
|
|
109
|
+
Checkbox
|
|
110
|
+
} from "../chunk-ZCGH6TJ3.js";
|
|
91
111
|
import {
|
|
92
112
|
Code
|
|
93
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-UFWDQGOK.js";
|
|
94
114
|
import {
|
|
95
115
|
Collapse
|
|
96
116
|
} from "../chunk-NFDQJVFA.js";
|
|
@@ -99,78 +119,55 @@ import {
|
|
|
99
119
|
} from "../chunk-Q37G2GS6.js";
|
|
100
120
|
import {
|
|
101
121
|
DataList
|
|
102
|
-
} from "../chunk-
|
|
122
|
+
} from "../chunk-ZPUNTAVI.js";
|
|
103
123
|
import {
|
|
104
124
|
Dialog
|
|
105
|
-
} from "../chunk-
|
|
125
|
+
} from "../chunk-PE4EBBU4.js";
|
|
126
|
+
import {
|
|
127
|
+
Heading
|
|
128
|
+
} from "../chunk-NLHVQJQ2.js";
|
|
106
129
|
import {
|
|
107
130
|
Content,
|
|
108
131
|
Drawer,
|
|
109
132
|
Root,
|
|
110
133
|
Trigger
|
|
111
|
-
} from "../chunk-
|
|
134
|
+
} from "../chunk-JCUG2XKB.js";
|
|
112
135
|
import "../chunk-645GPOW2.js";
|
|
113
136
|
import "../chunk-U7N2PWMO.js";
|
|
114
137
|
import {
|
|
115
138
|
IconButton
|
|
116
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-7RJYF5L3.js";
|
|
117
140
|
import "../chunk-HF6GNDPV.js";
|
|
118
141
|
import {
|
|
119
|
-
|
|
120
|
-
} from "../chunk-
|
|
121
|
-
import {
|
|
122
|
-
EllipsisTooltip
|
|
123
|
-
} from "../chunk-Y4U24VXI.js";
|
|
142
|
+
Blockquote
|
|
143
|
+
} from "../chunk-UFRB2BVD.js";
|
|
124
144
|
import {
|
|
125
|
-
|
|
126
|
-
} from "../chunk-
|
|
145
|
+
Box
|
|
146
|
+
} from "../chunk-4Y5BEXVN.js";
|
|
127
147
|
import {
|
|
128
148
|
BulletText
|
|
129
|
-
} from "../chunk-
|
|
149
|
+
} from "../chunk-C2G3IB7G.js";
|
|
150
|
+
import {
|
|
151
|
+
Typo
|
|
152
|
+
} from "../chunk-GR4PG6HY.js";
|
|
153
|
+
import "../chunk-LDBWASUA.js";
|
|
130
154
|
import {
|
|
131
155
|
Flex
|
|
132
156
|
} from "../chunk-25HMMI7R.js";
|
|
133
157
|
import {
|
|
134
158
|
Button
|
|
135
|
-
} from "../chunk-
|
|
159
|
+
} from "../chunk-2LCH3PDF.js";
|
|
136
160
|
import "../chunk-LQY4RKWI.js";
|
|
137
161
|
import "../chunk-ZD7MNMED.js";
|
|
138
162
|
import {
|
|
139
163
|
Callout
|
|
140
|
-
} from "../chunk-
|
|
164
|
+
} from "../chunk-EIKFXUNC.js";
|
|
141
165
|
import {
|
|
142
166
|
Card
|
|
143
167
|
} from "../chunk-RP2RGCAW.js";
|
|
144
168
|
import {
|
|
145
169
|
CheckboxCards
|
|
146
|
-
} from "../chunk-
|
|
147
|
-
import {
|
|
148
|
-
CheckboxGroup
|
|
149
|
-
} from "../chunk-W7X7KSJP.js";
|
|
150
|
-
import {
|
|
151
|
-
Checkbox
|
|
152
|
-
} from "../chunk-VYCYVN3L.js";
|
|
153
|
-
import {
|
|
154
|
-
AlertDialog
|
|
155
|
-
} from "../chunk-J242TTFH.js";
|
|
156
|
-
import {
|
|
157
|
-
AspectRatio
|
|
158
|
-
} from "../chunk-EAXUQEO5.js";
|
|
159
|
-
import {
|
|
160
|
-
AutoSizingInput
|
|
161
|
-
} from "../chunk-6SYFG6YY.js";
|
|
162
|
-
import {
|
|
163
|
-
Avatar
|
|
164
|
-
} from "../chunk-K36TPMKL.js";
|
|
165
|
-
import {
|
|
166
|
-
Badge
|
|
167
|
-
} from "../chunk-KTSEZC6A.js";
|
|
168
|
-
import {
|
|
169
|
-
Blockquote
|
|
170
|
-
} from "../chunk-YGL6SWKN.js";
|
|
171
|
-
import {
|
|
172
|
-
Box
|
|
173
|
-
} from "../chunk-4Y5BEXVN.js";
|
|
170
|
+
} from "../chunk-JETG3WEI.js";
|
|
174
171
|
import "../chunk-VOME2TE7.js";
|
|
175
172
|
import "../chunk-JVXATVAC.js";
|
|
176
173
|
import "../chunk-B3VSXNTH.js";
|
|
@@ -188,18 +185,23 @@ import "../chunk-YSYJCYHY.js";
|
|
|
188
185
|
import "../chunk-5OM2H6RI.js";
|
|
189
186
|
import "../chunk-ZUYCXCPW.js";
|
|
190
187
|
import "../chunk-YVFNJE4E.js";
|
|
191
|
-
import "../chunk-PT57HCAI.js";
|
|
192
188
|
import {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
189
|
+
AlertDialog
|
|
190
|
+
} from "../chunk-GI4AN2IZ.js";
|
|
191
|
+
import "../chunk-WYWM2HSZ.js";
|
|
196
192
|
import {
|
|
197
|
-
|
|
198
|
-
} from "../chunk-
|
|
193
|
+
AspectRatio
|
|
194
|
+
} from "../chunk-EAXUQEO5.js";
|
|
199
195
|
import {
|
|
200
|
-
|
|
201
|
-
} from "../chunk-
|
|
202
|
-
import
|
|
196
|
+
AutoSizingInput
|
|
197
|
+
} from "../chunk-6SYFG6YY.js";
|
|
198
|
+
import {
|
|
199
|
+
Avatar
|
|
200
|
+
} from "../chunk-GPZXD762.js";
|
|
201
|
+
import {
|
|
202
|
+
Badge
|
|
203
|
+
} from "../chunk-BK74U562.js";
|
|
204
|
+
import "../chunk-VFQD57ZY.js";
|
|
203
205
|
import "../chunk-CRTRMMJ7.js";
|
|
204
206
|
export {
|
|
205
207
|
AlertDialog,
|
package/dist/atoms/link.cjs
CHANGED
|
@@ -54,11 +54,41 @@ __export(link_exports, {
|
|
|
54
54
|
});
|
|
55
55
|
module.exports = __toCommonJS(link_exports);
|
|
56
56
|
var import_themes = require("@radix-ui/themes");
|
|
57
|
+
var import_clsx = require("clsx");
|
|
57
58
|
var import_react = require("react");
|
|
59
|
+
|
|
60
|
+
// src/utils/resolve-color.ts
|
|
61
|
+
var SEMANTIC_COLOR_MAP = {
|
|
62
|
+
error: "red",
|
|
63
|
+
neutral: "gray",
|
|
64
|
+
success: "green",
|
|
65
|
+
accent: void 0
|
|
66
|
+
};
|
|
67
|
+
var CUSTOM_COLOR_MAP = {
|
|
68
|
+
black: { className: "tipp-accent-black", fallbackColor: "gray" }
|
|
69
|
+
};
|
|
70
|
+
var isSemanticColor = (color) => color !== void 0 && color in SEMANTIC_COLOR_MAP;
|
|
71
|
+
var isCustomColor = (color) => color !== void 0 && color in CUSTOM_COLOR_MAP;
|
|
72
|
+
var resolveColor = (color) => {
|
|
73
|
+
if (isCustomColor(color)) {
|
|
74
|
+
const { className, fallbackColor } = CUSTOM_COLOR_MAP[color];
|
|
75
|
+
return { color: fallbackColor, className };
|
|
76
|
+
}
|
|
77
|
+
if (isSemanticColor(color)) {
|
|
78
|
+
return { color: SEMANTIC_COLOR_MAP[color] };
|
|
79
|
+
}
|
|
80
|
+
return { color };
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// src/atoms/link.tsx
|
|
58
84
|
var import_themes2 = require("@radix-ui/themes");
|
|
59
85
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
60
86
|
function Link(props) {
|
|
61
|
-
const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
|
|
87
|
+
const _a = props, { size, children, variant, color, className } = _a, rest = __objRest(_a, ["size", "children", "variant", "color", "className"]);
|
|
88
|
+
const { color: radixColor, className: colorClassName } = (0, import_react.useMemo)(
|
|
89
|
+
() => resolveColor(color),
|
|
90
|
+
[color]
|
|
91
|
+
);
|
|
62
92
|
const radixSize = (0, import_react.useMemo)(() => {
|
|
63
93
|
switch (variant) {
|
|
64
94
|
case "caption":
|
|
@@ -71,7 +101,15 @@ function Link(props) {
|
|
|
71
101
|
return size;
|
|
72
102
|
}
|
|
73
103
|
}, [size, variant]);
|
|
74
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
105
|
+
import_themes.Link,
|
|
106
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
107
|
+
className: (0, import_clsx.clsx)(colorClassName, className),
|
|
108
|
+
color: radixColor,
|
|
109
|
+
size: radixSize,
|
|
110
|
+
children
|
|
111
|
+
})
|
|
112
|
+
);
|
|
75
113
|
}
|
|
76
114
|
// Annotate the CommonJS export names for ESM import in node:
|
|
77
115
|
0 && (module.exports = {
|
package/dist/atoms/link.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/atoms/link.tsx"],"sourcesContent":["import {\n Link as RadixLink,\n type LinkProps as RadixLinkProps,\n} from '@radix-ui/themes';\nimport { useMemo } from 'react';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type LinkProps = RadixLinkProps & {\n variant?: 'caption' | 'body' | 'subtitle';\n};\n\nexport function Link(props: LinkProps): React.ReactNode {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixLinkProps['size']>(() => {\n switch (variant) {\n case 'caption':\n return '1';\n case 'body':\n return '2';\n case 'subtitle':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixLink
|
|
1
|
+
{"version":3,"sources":["../../src/atoms/link.tsx","../../src/utils/resolve-color.ts"],"sourcesContent":["import {\n Link as RadixLink,\n type LinkProps as RadixLinkProps,\n} from '@radix-ui/themes';\nimport { clsx } from 'clsx';\nimport { useMemo } from 'react';\nimport {\n resolveColor,\n type DistributiveOmit,\n type UiColor,\n} from '../utils/resolve-color';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\n\nexport type LinkProps = DistributiveOmit<RadixLinkProps, 'color'> & {\n variant?: 'caption' | 'body' | 'subtitle';\n color?: UiColor;\n};\n\nexport function Link(props: LinkProps): React.ReactNode {\n const { size, children, variant, color, className, ...rest } = props;\n\n const { color: radixColor, className: colorClassName } = useMemo(\n () => resolveColor(color),\n [color]\n );\n\n const radixSize = useMemo<RadixLinkProps['size']>(() => {\n switch (variant) {\n case 'caption':\n return '1';\n case 'body':\n return '2';\n case 'subtitle':\n return '3';\n default:\n return size;\n }\n }, [size, variant]);\n\n return (\n <RadixLink\n {...rest}\n className={clsx(colorClassName, className)}\n color={radixColor}\n size={radixSize}\n >\n {children}\n </RadixLink>\n );\n}\n","import type { BadgeProps as RadixBadgeProps } from '@radix-ui/themes';\n\n/**\n * Radix Themes가 제공하는 accent color union (gray, red, blue, ...).\n * 모든 color 지원 컴포넌트가 동일한 union을 공유하므로 Badge에서 파생한다.\n */\nexport type RadixColor = NonNullable<RadixBadgeProps['color']>;\n\n/** TIPP 시맨틱 color 별칭. */\nexport type SemanticColor = 'error' | 'accent' | 'neutral' | 'success';\n\n/**\n * Radix accent에 대응이 없어 CSS accent override로 처리하는 커스텀 color.\n * (예: black — `style/black.scss`의 `.tipp-accent-black` 참고)\n */\nexport type CustomColor = 'black';\n\n/** color 지원 컴포넌트가 노출하는 통합 color 타입. */\nexport type UiColor = RadixColor | SemanticColor | CustomColor;\n\n/**\n * union 각 멤버에 분배되는 Omit.\n * Radix의 polymorphic 컴포넌트 props(Text/Heading/Link 등 `as`로 분기되는 union)에서\n * 키를 제거할 때 일반 Omit은 union을 단일 객체로 합쳐 `as` 분기를 무너뜨리므로 이 타입을 쓴다.\n */\nexport type DistributiveOmit<T, K extends PropertyKey> = T extends unknown\n ? Omit<T, K>\n : never;\n\nconst SEMANTIC_COLOR_MAP: Record<SemanticColor, RadixColor | undefined> = {\n error: 'red',\n neutral: 'gray',\n success: 'green',\n accent: undefined,\n};\n\ninterface CustomColorConfig {\n /**\n * accent override를 적용할 className.\n */\n className: string;\n /**\n * Radix에 넘길 fallback color.\n * Text/Heading/Link 등은 `color` prop이 있어야 `data-accent-color`가 붙어\n * `--accent-*`를 참조하므로, 유효한 Radix color를 함께 넘긴 뒤 className으로\n * `--accent-*`를 덮어쓴다. (Badge/Button은 prop 없이도 accent 기반이라 무해)\n */\n fallbackColor: RadixColor;\n}\n\nconst CUSTOM_COLOR_MAP: Record<CustomColor, CustomColorConfig> = {\n black: { className: 'tipp-accent-black', fallbackColor: 'gray' },\n};\n\nconst isSemanticColor = (color?: UiColor): color is SemanticColor =>\n color !== undefined && color in SEMANTIC_COLOR_MAP;\n\nconst isCustomColor = (color?: UiColor): color is CustomColor =>\n color !== undefined && color in CUSTOM_COLOR_MAP;\n\nexport interface ResolvedColor {\n /** Radix 컴포넌트의 `color` prop에 그대로 전달할 값. custom color면 undefined. */\n color?: RadixColor;\n /** accent override를 적용하기 위해 요소에 붙일 className. */\n className?: string;\n}\n\n/**\n * 통합 color 입력을 Radix color prop과 className으로 정규화한다.\n *\n * - custom color(black 등): Radix color는 비우고 accent override className을 반환\n * - semantic color(error/neutral/success/accent): 대응 Radix color로 변환\n * - Radix color: 그대로 pass-through\n */\nexport const resolveColor = (color?: UiColor): ResolvedColor => {\n if (isCustomColor(color)) {\n const { className, fallbackColor } = CUSTOM_COLOR_MAP[color];\n return { color: fallbackColor, className };\n }\n\n if (isSemanticColor(color)) {\n return { color: SEMANTIC_COLOR_MAP[color] };\n }\n\n return { color };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAGO;AACP,kBAAqB;AACrB,mBAAwB;;;ACwBxB,IAAM,qBAAoE;AAAA,EACxE,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AACV;AAgBA,IAAM,mBAA2D;AAAA,EAC/D,OAAO,EAAE,WAAW,qBAAqB,eAAe,OAAO;AACjE;AAEA,IAAM,kBAAkB,CAAC,UACvB,UAAU,UAAa,SAAS;AAElC,IAAM,gBAAgB,CAAC,UACrB,UAAU,UAAa,SAAS;AAgB3B,IAAM,eAAe,CAAC,UAAmC;AAC9D,MAAI,cAAc,KAAK,GAAG;AACxB,UAAM,EAAE,WAAW,cAAc,IAAI,iBAAiB,KAAK;AAC3D,WAAO,EAAE,OAAO,eAAe,UAAU;AAAA,EAC3C;AAEA,MAAI,gBAAgB,KAAK,GAAG;AAC1B,WAAO,EAAE,OAAO,mBAAmB,KAAK,EAAE;AAAA,EAC5C;AAEA,SAAO,EAAE,MAAM;AACjB;;;ADzEA,IAAAA,iBAAwC;AA6BpC;AAtBG,SAAS,KAAK,OAAmC;AACtD,QAA+D,YAAvD,QAAM,UAAU,SAAS,OAAO,UApB1C,IAoBiE,IAAT,iBAAS,IAAT,CAA9C,QAAM,YAAU,WAAS,SAAO;AAExC,QAAM,EAAE,OAAO,YAAY,WAAW,eAAe,QAAI;AAAA,IACvD,MAAM,aAAa,KAAK;AAAA,IACxB,CAAC,KAAK;AAAA,EACR;AAEA,QAAM,gBAAY,sBAAgC,MAAM;AACtD,YAAQ,SAAS;AAAA,MACf,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAO;AAAA,IACX;AAAA,EACF,GAAG,CAAC,MAAM,OAAO,CAAC;AAElB,SACE;AAAA,IAAC,cAAAC;AAAA,IAAA,iCACK,OADL;AAAA,MAEC,eAAW,kBAAK,gBAAgB,SAAS;AAAA,MACzC,OAAO;AAAA,MACP,MAAM;AAAA,MAEL;AAAA;AAAA,EACH;AAEJ;","names":["import_themes","RadixLink"]}
|
package/dist/atoms/link.d.cts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { LinkProps as LinkProps$1 } from '@radix-ui/themes';
|
|
2
2
|
export { Heading as RadixHeading } from '@radix-ui/themes';
|
|
3
|
+
import { DistributiveOmit, UiColor } from '../utils/resolve-color.cjs';
|
|
3
4
|
|
|
4
|
-
type LinkProps = LinkProps$1 & {
|
|
5
|
+
type LinkProps = DistributiveOmit<LinkProps$1, 'color'> & {
|
|
5
6
|
variant?: 'caption' | 'body' | 'subtitle';
|
|
7
|
+
color?: UiColor;
|
|
6
8
|
};
|
|
7
9
|
declare function Link(props: LinkProps): React.ReactNode;
|
|
8
10
|
|
package/dist/atoms/link.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { LinkProps as LinkProps$1 } from '@radix-ui/themes';
|
|
2
2
|
export { Heading as RadixHeading } from '@radix-ui/themes';
|
|
3
|
+
import { DistributiveOmit, UiColor } from '../utils/resolve-color.js';
|
|
3
4
|
|
|
4
|
-
type LinkProps = LinkProps$1 & {
|
|
5
|
+
type LinkProps = DistributiveOmit<LinkProps$1, 'color'> & {
|
|
5
6
|
variant?: 'caption' | 'body' | 'subtitle';
|
|
7
|
+
color?: UiColor;
|
|
6
8
|
};
|
|
7
9
|
declare function Link(props: LinkProps): React.ReactNode;
|
|
8
10
|
|
package/dist/atoms/link.js
CHANGED
package/dist/atoms/list.cjs
CHANGED
|
@@ -54,7 +54,7 @@ __export(list_exports, {
|
|
|
54
54
|
});
|
|
55
55
|
module.exports = __toCommonJS(list_exports);
|
|
56
56
|
var import_react2 = require("react");
|
|
57
|
-
var
|
|
57
|
+
var import_clsx2 = require("clsx");
|
|
58
58
|
|
|
59
59
|
// src/utils/map-with-responsive.ts
|
|
60
60
|
var mapWithResponsive = (args) => {
|
|
@@ -76,11 +76,41 @@ var mapWithResponsive = (args) => {
|
|
|
76
76
|
|
|
77
77
|
// src/atoms/typo.tsx
|
|
78
78
|
var import_themes = require("@radix-ui/themes");
|
|
79
|
+
var import_clsx = require("clsx");
|
|
79
80
|
var import_react = require("react");
|
|
81
|
+
|
|
82
|
+
// src/utils/resolve-color.ts
|
|
83
|
+
var SEMANTIC_COLOR_MAP = {
|
|
84
|
+
error: "red",
|
|
85
|
+
neutral: "gray",
|
|
86
|
+
success: "green",
|
|
87
|
+
accent: void 0
|
|
88
|
+
};
|
|
89
|
+
var CUSTOM_COLOR_MAP = {
|
|
90
|
+
black: { className: "tipp-accent-black", fallbackColor: "gray" }
|
|
91
|
+
};
|
|
92
|
+
var isSemanticColor = (color) => color !== void 0 && color in SEMANTIC_COLOR_MAP;
|
|
93
|
+
var isCustomColor = (color) => color !== void 0 && color in CUSTOM_COLOR_MAP;
|
|
94
|
+
var resolveColor = (color) => {
|
|
95
|
+
if (isCustomColor(color)) {
|
|
96
|
+
const { className, fallbackColor } = CUSTOM_COLOR_MAP[color];
|
|
97
|
+
return { color: fallbackColor, className };
|
|
98
|
+
}
|
|
99
|
+
if (isSemanticColor(color)) {
|
|
100
|
+
return { color: SEMANTIC_COLOR_MAP[color] };
|
|
101
|
+
}
|
|
102
|
+
return { color };
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// src/atoms/typo.tsx
|
|
80
106
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
81
107
|
var Typo = (0, import_react.forwardRef)(
|
|
82
108
|
(props, ref) => {
|
|
83
|
-
const _a = props, { size, variant, children } = _a, rest = __objRest(_a, ["size", "variant", "children"]);
|
|
109
|
+
const _a = props, { size, variant, children, color, className } = _a, rest = __objRest(_a, ["size", "variant", "children", "color", "className"]);
|
|
110
|
+
const { color: radixColor, className: colorClassName } = (0, import_react.useMemo)(
|
|
111
|
+
() => resolveColor(color),
|
|
112
|
+
[color]
|
|
113
|
+
);
|
|
84
114
|
const radixSize = (0, import_react.useMemo)(() => {
|
|
85
115
|
if (size !== void 0) return size;
|
|
86
116
|
if (variant === void 0) return "2";
|
|
@@ -99,7 +129,16 @@ var Typo = (0, import_react.forwardRef)(
|
|
|
99
129
|
}
|
|
100
130
|
});
|
|
101
131
|
}, [size, variant]);
|
|
102
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
132
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
133
|
+
import_themes.Text,
|
|
134
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
135
|
+
className: (0, import_clsx.clsx)(colorClassName, className),
|
|
136
|
+
color: radixColor,
|
|
137
|
+
ref,
|
|
138
|
+
size: radixSize,
|
|
139
|
+
children
|
|
140
|
+
})
|
|
141
|
+
);
|
|
103
142
|
}
|
|
104
143
|
);
|
|
105
144
|
Typo.displayName = "Typo";
|
|
@@ -125,7 +164,7 @@ function Root(props) {
|
|
|
125
164
|
]);
|
|
126
165
|
const Comp = variant === "ol" ? "ol" : "ul";
|
|
127
166
|
const className = (0, import_react2.useMemo)(
|
|
128
|
-
() => (0,
|
|
167
|
+
() => (0, import_clsx2.clsx)(
|
|
129
168
|
"tipp-list",
|
|
130
169
|
{
|
|
131
170
|
"pre-space-small": preSpace === "small"
|
package/dist/atoms/list.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/atoms/list.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/typo.tsx","../../src/atoms/flex.tsx"],"sourcesContent":["import type { Responsive } from '@radix-ui/themes/props';\nimport React, { createContext, useContext, useMemo } from 'react';\nimport { clsx } from 'clsx';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\nimport { Typo } from './typo';\nimport { Flex } from './flex';\n\nexport interface ListRootProps {\n variant?: 'ol' | 'ul';\n size?: Responsive<'small' | 'large'>;\n children?: React.ReactNode;\n preSpace?: 'regular' | 'small';\n className?: string;\n style?: React.CSSProperties;\n}\n\nfunction Root(props: ListRootProps): React.ReactElement {\n const {\n variant,\n size = 'large',\n children,\n preSpace,\n className: propsClassName,\n ...rest\n } = props;\n const Comp = variant === 'ol' ? 'ol' : 'ul';\n\n const className = useMemo(\n () =>\n clsx(\n 'tipp-list',\n {\n 'pre-space-small': preSpace === 'small',\n },\n propsClassName\n ),\n [preSpace, propsClassName]\n );\n\n return (\n <ListContext.Provider value={{ size }}>\n <Flex asChild direction=\"column\" gap=\"1\" {...rest} className={className}>\n <Comp>{children}</Comp>\n </Flex>\n </ListContext.Provider>\n );\n}\n\nexport interface ListItemProps {\n children?: React.ReactNode;\n}\n\nfunction Item(props: ListItemProps): React.ReactElement {\n const { children } = props;\n const { size } = useList();\n\n const variant = useMemo(() => {\n return mapWithResponsive({\n value: size,\n mapFn: (sizeValue) => {\n return sizeValue === 'small' ? 'caption' : 'body';\n },\n });\n }, [size]);\n\n return (\n <Typo asChild variant={variant}>\n <li>{children}</li>\n </Typo>\n );\n}\n\nconst ListContext = createContext<{ size: Responsive<'small' | 'large'> }>({\n size: 'large',\n});\n\nexport function useList(): { size: Responsive<'small' | 'large'> } {\n return useContext(ListContext);\n}\n\nexport const List = {\n Root,\n Item,\n};\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport type TypoProps = RadixTextProps & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, ...rest } = props;\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\n });\n }, [size, variant]);\n\n return (\n <RadixText {...rest} ref={ref} size={radixSize}>\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName = 'Typo';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,gBAA0D;AAC1D,kBAAqB;;;ACAd,IAAM,oBAAoB,CAChC,SAC+B;AAC9B,QAAM,EAAC,OAAO,MAAK,IAAI;AACvB,MAAG,OAAO,UAAU,UAAS;AAC3B,WAAO,MAAM,KAAK;AAAA,EACpB;AAAC;AAED,MAAG,OAAO,UAAU,UAAS;AAC3B,UAAM,SAAyC,CAAC;AAChD,QAAI;AACJ,SAAI,OAAO,OAAM;AACf,aAAO,GAAG,IAAI,MAAM,MAAM,GAAG,CAAC;AAAA,IAChC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;;ACjBA,oBAAkC;AAClC,mBAA2C;AAiCrC;AA1BC,IAAM,WAAO;AAAA,EAClB,CAAC,OAAkB,QAAyB;AAC1C,UAA6C,YAArC,QAAM,SAAS,SAZ3B,IAYiD,IAAT,iBAAS,IAAT,CAA5B,QAAM,WAAS;AAEvB,UAAM,gBAAY,sBAAgC,MAAM;AACtD,UAAI,SAAS,OAAW,QAAO;AAE/B,UAAI,YAAY,OAAW,QAAO;AAElC,aAAO,kBAAkB;AAAA,QACvB,OAAO;AAAA,QACP,OAAO,CAAC,iBAAmD;AACzD,kBAAQ,cAAc;AAAA,YACpB,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AAAA,YACL;AACE,qBAAO;AAAA,UACX;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH,GAAG,CAAC,MAAM,OAAO,CAAC;AAElB,WACE,4CAAC,cAAAC,MAAA,iCAAc,OAAd,EAAoB,KAAU,MAAM,WAClC,WACH;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;;;AC3CnB,IAAAC,iBAAqC;;;AH0C7B,IAAAC,sBAAA;AA1BR,SAAS,KAAK,OAA0C;AACtD,QAOI,YANF;AAAA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA;AAAA,IACA,WAAW;AAAA,EAtBf,IAwBM,IADC,iBACD,IADC;AAAA,IALH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGF,QAAM,OAAO,YAAY,OAAO,OAAO;AAEvC,QAAM,gBAAY;AAAA,IAChB,UACE;AAAA,MACE;AAAA,MACA;AAAA,QACE,mBAAmB,aAAa;AAAA,MAClC;AAAA,MACA;AAAA,IACF;AAAA,IACF,CAAC,UAAU,cAAc;AAAA,EAC3B;AAEA,SACE,6CAAC,YAAY,UAAZ,EAAqB,OAAO,EAAE,KAAK,GAClC,uDAAC,oDAAK,SAAO,MAAC,WAAU,UAAS,KAAI,OAAQ,OAA5C,EAAkD,WACjD,uDAAC,QAAM,UAAS,IAClB,GACF;AAEJ;AAMA,SAAS,KAAK,OAA0C;AACtD,QAAM,EAAE,SAAS,IAAI;AACrB,QAAM,EAAE,KAAK,IAAI,QAAQ;AAEzB,QAAM,cAAU,uBAAQ,MAAM;AAC5B,WAAO,kBAAkB;AAAA,MACvB,OAAO;AAAA,MACP,OAAO,CAAC,cAAc;AACpB,eAAO,cAAc,UAAU,YAAY;AAAA,MAC7C;AAAA,IACF,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC;AAET,SACE,6CAAC,QAAK,SAAO,MAAC,SACZ,uDAAC,QAAI,UAAS,GAChB;AAEJ;AAEA,IAAM,kBAAc,6BAAuD;AAAA,EACzE,MAAM;AACR,CAAC;AAEM,SAAS,UAAmD;AACjE,aAAO,0BAAW,WAAW;AAC/B;AAEO,IAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;","names":["import_react","RadixText","import_themes","import_jsx_runtime"]}
|
|
1
|
+
{"version":3,"sources":["../../src/atoms/list.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/typo.tsx","../../src/utils/resolve-color.ts","../../src/atoms/flex.tsx"],"sourcesContent":["import type { Responsive } from '@radix-ui/themes/props';\nimport React, { createContext, useContext, useMemo } from 'react';\nimport { clsx } from 'clsx';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\nimport { Typo } from './typo';\nimport { Flex } from './flex';\n\nexport interface ListRootProps {\n variant?: 'ol' | 'ul';\n size?: Responsive<'small' | 'large'>;\n children?: React.ReactNode;\n preSpace?: 'regular' | 'small';\n className?: string;\n style?: React.CSSProperties;\n}\n\nfunction Root(props: ListRootProps): React.ReactElement {\n const {\n variant,\n size = 'large',\n children,\n preSpace,\n className: propsClassName,\n ...rest\n } = props;\n const Comp = variant === 'ol' ? 'ol' : 'ul';\n\n const className = useMemo(\n () =>\n clsx(\n 'tipp-list',\n {\n 'pre-space-small': preSpace === 'small',\n },\n propsClassName\n ),\n [preSpace, propsClassName]\n );\n\n return (\n <ListContext.Provider value={{ size }}>\n <Flex asChild direction=\"column\" gap=\"1\" {...rest} className={className}>\n <Comp>{children}</Comp>\n </Flex>\n </ListContext.Provider>\n );\n}\n\nexport interface ListItemProps {\n children?: React.ReactNode;\n}\n\nfunction Item(props: ListItemProps): React.ReactElement {\n const { children } = props;\n const { size } = useList();\n\n const variant = useMemo(() => {\n return mapWithResponsive({\n value: size,\n mapFn: (sizeValue) => {\n return sizeValue === 'small' ? 'caption' : 'body';\n },\n });\n }, [size]);\n\n return (\n <Typo asChild variant={variant}>\n <li>{children}</li>\n </Typo>\n );\n}\n\nconst ListContext = createContext<{ size: Responsive<'small' | 'large'> }>({\n size: 'large',\n});\n\nexport function useList(): { size: Responsive<'small' | 'large'> } {\n return useContext(ListContext);\n}\n\nexport const List = {\n Root,\n Item,\n};\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","import type { TextProps as RadixTextProps } from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { Text as RadixText } from '@radix-ui/themes';\nimport { clsx } from 'clsx';\nimport React, { useMemo, forwardRef } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\nimport {\n resolveColor,\n type DistributiveOmit,\n type UiColor,\n} from '../utils/resolve-color';\n\nexport type TypoProps = DistributiveOmit<RadixTextProps, 'color'> & {\n variant?: Responsive<'body' | 'caption' | 'subtitle'>;\n color?: UiColor;\n};\n\nexport const Typo = forwardRef<HTMLSpanElement, TypoProps>(\n (props: TypoProps, ref): React.ReactNode => {\n const { size, variant, children, color, className, ...rest } = props;\n\n const { color: radixColor, className: colorClassName } = useMemo(\n () => resolveColor(color),\n [color]\n );\n\n const radixSize = useMemo<RadixTextProps['size']>(() => {\n if (size !== undefined) return size;\n\n if (variant === undefined) return '2';\n\n return mapWithResponsive({\n value: variant,\n mapFn: (variantValue?: 'body' | 'caption' | 'subtitle') => {\n switch (variantValue) {\n case 'caption':\n return '1';\n case 'subtitle':\n return '3';\n case 'body':\n default:\n return '2';\n }\n },\n });\n }, [size, variant]);\n\n return (\n <RadixText\n {...rest}\n className={clsx(colorClassName, className)}\n color={radixColor}\n ref={ref}\n size={radixSize}\n >\n {children}\n </RadixText>\n );\n }\n);\n\nTypo.displayName = 'Typo';\n","import type { BadgeProps as RadixBadgeProps } from '@radix-ui/themes';\n\n/**\n * Radix Themes가 제공하는 accent color union (gray, red, blue, ...).\n * 모든 color 지원 컴포넌트가 동일한 union을 공유하므로 Badge에서 파생한다.\n */\nexport type RadixColor = NonNullable<RadixBadgeProps['color']>;\n\n/** TIPP 시맨틱 color 별칭. */\nexport type SemanticColor = 'error' | 'accent' | 'neutral' | 'success';\n\n/**\n * Radix accent에 대응이 없어 CSS accent override로 처리하는 커스텀 color.\n * (예: black — `style/black.scss`의 `.tipp-accent-black` 참고)\n */\nexport type CustomColor = 'black';\n\n/** color 지원 컴포넌트가 노출하는 통합 color 타입. */\nexport type UiColor = RadixColor | SemanticColor | CustomColor;\n\n/**\n * union 각 멤버에 분배되는 Omit.\n * Radix의 polymorphic 컴포넌트 props(Text/Heading/Link 등 `as`로 분기되는 union)에서\n * 키를 제거할 때 일반 Omit은 union을 단일 객체로 합쳐 `as` 분기를 무너뜨리므로 이 타입을 쓴다.\n */\nexport type DistributiveOmit<T, K extends PropertyKey> = T extends unknown\n ? Omit<T, K>\n : never;\n\nconst SEMANTIC_COLOR_MAP: Record<SemanticColor, RadixColor | undefined> = {\n error: 'red',\n neutral: 'gray',\n success: 'green',\n accent: undefined,\n};\n\ninterface CustomColorConfig {\n /**\n * accent override를 적용할 className.\n */\n className: string;\n /**\n * Radix에 넘길 fallback color.\n * Text/Heading/Link 등은 `color` prop이 있어야 `data-accent-color`가 붙어\n * `--accent-*`를 참조하므로, 유효한 Radix color를 함께 넘긴 뒤 className으로\n * `--accent-*`를 덮어쓴다. (Badge/Button은 prop 없이도 accent 기반이라 무해)\n */\n fallbackColor: RadixColor;\n}\n\nconst CUSTOM_COLOR_MAP: Record<CustomColor, CustomColorConfig> = {\n black: { className: 'tipp-accent-black', fallbackColor: 'gray' },\n};\n\nconst isSemanticColor = (color?: UiColor): color is SemanticColor =>\n color !== undefined && color in SEMANTIC_COLOR_MAP;\n\nconst isCustomColor = (color?: UiColor): color is CustomColor =>\n color !== undefined && color in CUSTOM_COLOR_MAP;\n\nexport interface ResolvedColor {\n /** Radix 컴포넌트의 `color` prop에 그대로 전달할 값. custom color면 undefined. */\n color?: RadixColor;\n /** accent override를 적용하기 위해 요소에 붙일 className. */\n className?: string;\n}\n\n/**\n * 통합 color 입력을 Radix color prop과 className으로 정규화한다.\n *\n * - custom color(black 등): Radix color는 비우고 accent override className을 반환\n * - semantic color(error/neutral/success/accent): 대응 Radix color로 변환\n * - Radix color: 그대로 pass-through\n */\nexport const resolveColor = (color?: UiColor): ResolvedColor => {\n if (isCustomColor(color)) {\n const { className, fallbackColor } = CUSTOM_COLOR_MAP[color];\n return { color: fallbackColor, className };\n }\n\n if (isSemanticColor(color)) {\n return { color: SEMANTIC_COLOR_MAP[color] };\n }\n\n return { color };\n};\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,gBAA0D;AAC1D,IAAAC,eAAqB;;;ACAd,IAAM,oBAAoB,CAChC,SAC+B;AAC9B,QAAM,EAAC,OAAO,MAAK,IAAI;AACvB,MAAG,OAAO,UAAU,UAAS;AAC3B,WAAO,MAAM,KAAK;AAAA,EACpB;AAAC;AAED,MAAG,OAAO,UAAU,UAAS;AAC3B,UAAM,SAAyC,CAAC;AAChD,QAAI;AACJ,SAAI,OAAO,OAAM;AACf,aAAO,GAAG,IAAI,MAAM,MAAM,GAAG,CAAC;AAAA,IAChC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;;ACjBA,oBAAkC;AAClC,kBAAqB;AACrB,mBAA2C;;;ACyB3C,IAAM,qBAAoE;AAAA,EACxE,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AACV;AAgBA,IAAM,mBAA2D;AAAA,EAC/D,OAAO,EAAE,WAAW,qBAAqB,eAAe,OAAO;AACjE;AAEA,IAAM,kBAAkB,CAAC,UACvB,UAAU,UAAa,SAAS;AAElC,IAAM,gBAAgB,CAAC,UACrB,UAAU,UAAa,SAAS;AAgB3B,IAAM,eAAe,CAAC,UAAmC;AAC9D,MAAI,cAAc,KAAK,GAAG;AACxB,UAAM,EAAE,WAAW,cAAc,IAAI,iBAAiB,KAAK;AAC3D,WAAO,EAAE,OAAO,eAAe,UAAU;AAAA,EAC3C;AAEA,MAAI,gBAAgB,KAAK,GAAG;AAC1B,WAAO,EAAE,OAAO,mBAAmB,KAAK,EAAE;AAAA,EAC5C;AAEA,SAAO,EAAE,MAAM;AACjB;;;ADrCM;AA/BC,IAAM,WAAO;AAAA,EAClB,CAAC,OAAkB,QAAyB;AAC1C,UAA+D,YAAvD,QAAM,SAAS,UAAU,OAAO,UAnB5C,IAmBmE,IAAT,iBAAS,IAAT,CAA9C,QAAM,WAAS,YAAU,SAAO;AAExC,UAAM,EAAE,OAAO,YAAY,WAAW,eAAe,QAAI;AAAA,MACvD,MAAM,aAAa,KAAK;AAAA,MACxB,CAAC,KAAK;AAAA,IACR;AAEA,UAAM,gBAAY,sBAAgC,MAAM;AACtD,UAAI,SAAS,OAAW,QAAO;AAE/B,UAAI,YAAY,OAAW,QAAO;AAElC,aAAO,kBAAkB;AAAA,QACvB,OAAO;AAAA,QACP,OAAO,CAAC,iBAAmD;AACzD,kBAAQ,cAAc;AAAA,YACpB,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AACH,qBAAO;AAAA,YACT,KAAK;AAAA,YACL;AACE,qBAAO;AAAA,UACX;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH,GAAG,CAAC,MAAM,OAAO,CAAC;AAElB,WACE;AAAA,MAAC,cAAAC;AAAA,MAAA,iCACK,OADL;AAAA,QAEC,eAAW,kBAAK,gBAAgB,SAAS;AAAA,QACzC,OAAO;AAAA,QACP;AAAA,QACA,MAAM;AAAA,QAEL;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AAEA,KAAK,cAAc;;;AE7DnB,IAAAC,iBAAqC;;;AJ0C7B,IAAAC,sBAAA;AA1BR,SAAS,KAAK,OAA0C;AACtD,QAOI,YANF;AAAA;AAAA,IACA,OAAO;AAAA,IACP;AAAA,IACA;AAAA,IACA,WAAW;AAAA,EAtBf,IAwBM,IADC,iBACD,IADC;AAAA,IALH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGF,QAAM,OAAO,YAAY,OAAO,OAAO;AAEvC,QAAM,gBAAY;AAAA,IAChB,UACE;AAAA,MACE;AAAA,MACA;AAAA,QACE,mBAAmB,aAAa;AAAA,MAClC;AAAA,MACA;AAAA,IACF;AAAA,IACF,CAAC,UAAU,cAAc;AAAA,EAC3B;AAEA,SACE,6CAAC,YAAY,UAAZ,EAAqB,OAAO,EAAE,KAAK,GAClC,uDAAC,oDAAK,SAAO,MAAC,WAAU,UAAS,KAAI,OAAQ,OAA5C,EAAkD,WACjD,uDAAC,QAAM,UAAS,IAClB,GACF;AAEJ;AAMA,SAAS,KAAK,OAA0C;AACtD,QAAM,EAAE,SAAS,IAAI;AACrB,QAAM,EAAE,KAAK,IAAI,QAAQ;AAEzB,QAAM,cAAU,uBAAQ,MAAM;AAC5B,WAAO,kBAAkB;AAAA,MACvB,OAAO;AAAA,MACP,OAAO,CAAC,cAAc;AACpB,eAAO,cAAc,UAAU,YAAY;AAAA,MAC7C;AAAA,IACF,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC;AAET,SACE,6CAAC,QAAK,SAAO,MAAC,SACZ,uDAAC,QAAI,UAAS,GAChB;AAEJ;AAEA,IAAM,kBAAc,6BAAuD;AAAA,EACzE,MAAM;AACR,CAAC;AAEM,SAAS,UAAmD;AACjE,aAAO,0BAAW,WAAW;AAC/B;AAEO,IAAM,OAAO;AAAA,EAClB;AAAA,EACA;AACF;","names":["import_react","import_clsx","RadixText","import_themes","import_jsx_runtime"]}
|
package/dist/atoms/list.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
List,
|
|
3
3
|
useList
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-PMJIFLDT.js";
|
|
4
|
+
} from "../chunk-OPYRV6XJ.js";
|
|
5
|
+
import "../chunk-GR4PG6HY.js";
|
|
7
6
|
import "../chunk-LDBWASUA.js";
|
|
7
|
+
import "../chunk-25HMMI7R.js";
|
|
8
|
+
import "../chunk-VFQD57ZY.js";
|
|
8
9
|
import "../chunk-CRTRMMJ7.js";
|
|
9
10
|
export {
|
|
10
11
|
List,
|