@customafk/lunas-ui 0.0.21 → 0.0.22
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/add-new-CVQQRkB9.js +2 -0
- package/dist/add-new-CVQQRkB9.js.map +1 -0
- package/dist/{add-new-BTpI7Ph7.cjs → add-new-CmzfSaTJ.cjs} +2 -2
- package/dist/add-new-CmzfSaTJ.cjs.map +1 -0
- package/dist/alert-dialog-CNHyP_A9.js +2 -0
- package/dist/alert-dialog-CNHyP_A9.js.map +1 -0
- package/dist/alert-dialog-D-oR0YW3.cjs +2 -0
- package/dist/alert-dialog-D-oR0YW3.cjs.map +1 -0
- package/dist/{badge-DHRQ-uwY.cjs → badge-D4NxkKeN.cjs} +1 -1
- package/dist/badge-D4NxkKeN.cjs.map +1 -0
- package/dist/{badge-bLqn3EB9.js → badge-DzKUgC8v.js} +1 -1
- package/dist/badge-DzKUgC8v.js.map +1 -0
- package/dist/button-BEwm_iVK.d.cts +25 -0
- package/dist/button-BSGNpclh.cjs +2 -0
- package/dist/button-BSGNpclh.cjs.map +1 -0
- package/dist/{button-CFhTSUSV.d.ts → button-CSKaUiLi.d.ts} +7 -5
- package/dist/button-CnMfXTBU.js +2 -0
- package/dist/button-CnMfXTBU.js.map +1 -0
- package/dist/{calendar-Cck0PPMB.cjs → calendar-B8IKzrdN.cjs} +2 -2
- package/dist/calendar-B8IKzrdN.cjs.map +1 -0
- package/dist/{calendar-BG-jrCZc.js → calendar-CbuOOMpK.js} +2 -2
- package/dist/calendar-CbuOOMpK.js.map +1 -0
- package/dist/card-CgQjctUE.js +2 -0
- package/dist/card-CgQjctUE.js.map +1 -0
- package/dist/card-DYVCumPc.cjs +2 -0
- package/dist/card-DYVCumPc.cjs.map +1 -0
- package/dist/cards/simple-card.cjs +1 -1
- package/dist/cards/simple-card.cjs.map +1 -1
- package/dist/cards/simple-card.js +1 -1
- package/dist/cards/simple-card.js.map +1 -1
- package/dist/command-CoB5R5FI.cjs +2 -0
- package/dist/command-CoB5R5FI.cjs.map +1 -0
- package/dist/{command-DK3Z1Vcb.d.ts → command-DCgWctIo.d.cts} +12 -13
- package/dist/{command-ChE1SC-Q.d.cts → command-DQMBhKsg.d.ts} +12 -13
- package/dist/command-TFZwJmux.js +2 -0
- package/dist/command-TFZwJmux.js.map +1 -0
- package/dist/data-display/country.cjs +1 -1
- package/dist/data-display/country.cjs.map +1 -1
- package/dist/data-display/country.js +1 -1
- package/dist/data-display/country.js.map +1 -1
- package/dist/data-display/data-list.cjs +1 -1
- package/dist/data-display/data-list.cjs.map +1 -1
- package/dist/data-display/data-list.d.cts +0 -2
- package/dist/data-display/data-list.d.ts +0 -2
- package/dist/data-display/data-list.js +1 -1
- package/dist/data-display/data-list.js.map +1 -1
- package/dist/data-display/date-tooltip.cjs +1 -1
- package/dist/data-display/date-tooltip.cjs.map +1 -1
- package/dist/data-display/date-tooltip.js +1 -1
- package/dist/data-display/date-tooltip.js.map +1 -1
- package/dist/data-display/date.cjs +1 -1
- package/dist/data-display/date.d.cts +1 -1
- package/dist/data-display/date.d.ts +1 -1
- package/dist/data-display/date.js +1 -1
- package/dist/data-display/empty.cjs +1 -1
- package/dist/data-display/empty.cjs.map +1 -1
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.ts +2 -2
- package/dist/data-display/empty.js +1 -1
- package/dist/data-display/empty.js.map +1 -1
- package/dist/data-display/name.cjs +1 -1
- package/dist/data-display/name.cjs.map +1 -1
- package/dist/data-display/name.js +1 -1
- package/dist/data-display/name.js.map +1 -1
- package/dist/data-display/phone-number.cjs +1 -1
- package/dist/data-display/phone-number.cjs.map +1 -1
- package/dist/data-display/phone-number.js +1 -1
- package/dist/data-display/phone-number.js.map +1 -1
- package/dist/data-display/role-badge.cjs +1 -1
- package/dist/data-display/role-badge.cjs.map +1 -1
- package/dist/data-display/role-badge.js +1 -1
- package/dist/data-display/role-badge.js.map +1 -1
- package/dist/data-display/statistic.cjs +1 -1
- package/dist/data-display/statistic.cjs.map +1 -1
- package/dist/data-display/statistic.d.cts +4 -4
- package/dist/data-display/statistic.d.ts +4 -4
- package/dist/data-display/statistic.js +1 -1
- package/dist/data-display/statistic.js.map +1 -1
- package/dist/{date-B1g1OMYc.js → date-BMq_DNsv.js} +1 -1
- package/dist/date-BMq_DNsv.js.map +1 -0
- package/dist/{date-Cw6Jf7k6.cjs → date-nd8WkPlx.cjs} +1 -1
- package/dist/date-nd8WkPlx.cjs.map +1 -0
- package/dist/{dialog-DoFMLK7H.d.cts → dialog-B1TYYUwQ.d.cts} +12 -13
- package/dist/{dialog-BfAIULbh.d.ts → dialog-BFjbRwaD.d.ts} +12 -13
- package/dist/dialog-CSDDiHKO.js +2 -0
- package/dist/dialog-CSDDiHKO.js.map +1 -0
- package/dist/dialog-_Cgij9NP.cjs +2 -0
- package/dist/dialog-_Cgij9NP.cjs.map +1 -0
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.cjs.map +1 -1
- package/dist/dialogs/confirm-dialog.js +1 -1
- package/dist/dialogs/confirm-dialog.js.map +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +29 -29
- package/dist/dialogs/detail-dialog/component/sidebar.d.ts +29 -29
- package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/detail-dialog/index.js.map +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.js +1 -1
- package/dist/dialogs/form-dialog.cjs +1 -1
- package/dist/dialogs/form-dialog.cjs.map +1 -1
- package/dist/dialogs/form-dialog.d.cts +3 -3
- package/dist/dialogs/form-dialog.d.ts +3 -3
- package/dist/dialogs/form-dialog.js +1 -1
- package/dist/dialogs/form-dialog.js.map +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.cjs.map +1 -1
- package/dist/dialogs/loading-dialog.js +1 -1
- package/dist/dialogs/loading-dialog.js.map +1 -1
- package/dist/dropdown-menu-BnfaOPEM.cjs +2 -0
- package/dist/dropdown-menu-BnfaOPEM.cjs.map +1 -0
- package/dist/dropdown-menu-D5uG4HZA.js +2 -0
- package/dist/dropdown-menu-D5uG4HZA.js.map +1 -0
- package/dist/{error-dialog-OeWIgIvF.cjs → error-dialog-D5R5le-W.cjs} +2 -2
- package/dist/error-dialog-D5R5le-W.cjs.map +1 -0
- package/dist/{error-dialog-Dg_OHJlH.js → error-dialog-Q99thrSD.js} +2 -2
- package/dist/error-dialog-Q99thrSD.js.map +1 -0
- package/dist/{flex-B5MQmxX8.cjs → flex-CNA_SId-.cjs} +1 -1
- package/dist/flex-CNA_SId-.cjs.map +1 -0
- package/dist/{flex-CBAzUoXK.js → flex-ILvQrYMJ.js} +1 -1
- package/dist/flex-ILvQrYMJ.js.map +1 -0
- package/dist/{form-BbU1TIro.cjs → form-CHs85hm6.cjs} +2 -2
- package/dist/form-CHs85hm6.cjs.map +1 -0
- package/dist/{form-BMnG2xLt.js → form-tabDlutX.js} +2 -2
- package/dist/form-tabDlutX.js.map +1 -0
- package/dist/{form-wrapper-wHzrskjb.js → form-wrapper-C2xlvWx0.js} +2 -2
- package/dist/form-wrapper-C2xlvWx0.js.map +1 -0
- package/dist/{form-wrapper-DeSGl64P.cjs → form-wrapper-CY-stRaQ.cjs} +2 -2
- package/dist/form-wrapper-CY-stRaQ.cjs.map +1 -0
- package/dist/forms/combobox-field.cjs +1 -1
- package/dist/forms/combobox-field.cjs.map +1 -1
- package/dist/forms/combobox-field.d.cts +2 -2
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/combobox-field.js +1 -1
- package/dist/forms/combobox-field.js.map +1 -1
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.cjs.map +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/date-field.js.map +1 -1
- package/dist/forms/form-wrapper.cjs +1 -1
- package/dist/forms/form-wrapper.d.cts +3 -3
- package/dist/forms/form-wrapper.d.ts +3 -3
- package/dist/forms/form-wrapper.js +1 -1
- package/dist/forms/multi-select-field.cjs +1 -1
- package/dist/forms/multi-select-field.cjs.map +1 -1
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/multi-select-field.js +1 -1
- package/dist/forms/multi-select-field.js.map +1 -1
- package/dist/forms/number-field.cjs +1 -1
- package/dist/forms/number-field.cjs.map +1 -1
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/number-field.js +1 -1
- package/dist/forms/number-field.js.map +1 -1
- package/dist/forms/password-field.cjs +1 -1
- package/dist/forms/password-field.cjs.map +1 -1
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/password-field.js +1 -1
- package/dist/forms/password-field.js.map +1 -1
- package/dist/forms/select-field.cjs +1 -1
- package/dist/forms/select-field.cjs.map +1 -1
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/select-field.js +1 -1
- package/dist/forms/select-field.js.map +1 -1
- package/dist/forms/switch-field.cjs +1 -1
- package/dist/forms/switch-field.cjs.map +1 -1
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.js +1 -1
- package/dist/forms/switch-field.js.map +1 -1
- package/dist/forms/text-field.cjs +1 -1
- package/dist/forms/text-field.cjs.map +1 -1
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/text-field.js +1 -1
- package/dist/forms/text-field.js.map +1 -1
- package/dist/forms/textarea-field.cjs +1 -1
- package/dist/forms/textarea-field.cjs.map +1 -1
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.js +1 -1
- package/dist/forms/textarea-field.js.map +1 -1
- package/dist/input--6vqz8UI.js +2 -0
- package/dist/input--6vqz8UI.js.map +1 -0
- package/dist/{input-B0fJo2WZ.d.cts → input-B-Gq-nr8.d.cts} +4 -4
- package/dist/{input-CsU6VSlk.d.ts → input-EM59LdpP.d.ts} +4 -4
- package/dist/input-VZiryzkl.cjs +2 -0
- package/dist/input-VZiryzkl.cjs.map +1 -0
- package/dist/label-B_2ZQn0X.cjs +2 -0
- package/dist/label-B_2ZQn0X.cjs.map +1 -0
- package/dist/label-D1XmKlc3.js +2 -0
- package/dist/label-D1XmKlc3.js.map +1 -0
- package/dist/layouts/flex.cjs +1 -1
- package/dist/layouts/flex.d.cts +2 -2
- package/dist/layouts/flex.d.ts +2 -2
- package/dist/layouts/flex.js +1 -1
- package/dist/layouts/main/index.cjs +1 -1
- package/dist/layouts/main/index.cjs.map +1 -1
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/layouts/main/index.d.ts +4 -4
- package/dist/layouts/main/index.js +1 -1
- package/dist/layouts/main/index.js.map +1 -1
- package/dist/multi-select-Cjvm4tK5.cjs +2 -0
- package/dist/multi-select-Cjvm4tK5.cjs.map +1 -0
- package/dist/multi-select-D0bZVOnm.js +2 -0
- package/dist/multi-select-D0bZVOnm.js.map +1 -0
- package/dist/paragraph-B4cQhLhW.js +2 -0
- package/dist/paragraph-B4cQhLhW.js.map +1 -0
- package/dist/paragraph-DcRBcRhQ.cjs +2 -0
- package/dist/paragraph-DcRBcRhQ.cjs.map +1 -0
- package/dist/popover-CTFp7ZXi.js +2 -0
- package/dist/popover-CTFp7ZXi.js.map +1 -0
- package/dist/popover-DCcPvdz2.cjs +2 -0
- package/dist/popover-DCcPvdz2.cjs.map +1 -0
- package/dist/progress-DLxh7x1P.cjs +2 -0
- package/dist/progress-DLxh7x1P.cjs.map +1 -0
- package/dist/progress-DWrtxJv0.js +2 -0
- package/dist/progress-DWrtxJv0.js.map +1 -0
- package/dist/refresh-CYCzbKVl.js +2 -0
- package/dist/refresh-CYCzbKVl.js.map +1 -0
- package/dist/{refresh-H87p0PFk.cjs → refresh-DMj_wur3.cjs} +2 -2
- package/dist/refresh-DMj_wur3.cjs.map +1 -0
- package/dist/scroll-area-C0KQbcG0.js.map +1 -1
- package/dist/scroll-area-CBq8XL4c.cjs.map +1 -1
- package/dist/{search-input-BUIwdK4e.js → search-input-DqcwkgsY.js} +2 -2
- package/dist/search-input-DqcwkgsY.js.map +1 -0
- package/dist/{search-input-DXh-cAVU.cjs → search-input-yweS9EMM.cjs} +2 -2
- package/dist/search-input-yweS9EMM.cjs.map +1 -0
- package/dist/select-BHjk6yT3.cjs +2 -0
- package/dist/select-BHjk6yT3.cjs.map +1 -0
- package/dist/select-C6N3CXuY.js +2 -0
- package/dist/select-C6N3CXuY.js.map +1 -0
- package/dist/{separator-DgyR24FB.d.ts → separator-BnnbFnrB.d.ts} +3 -4
- package/dist/separator-Cigaqna1.cjs +2 -0
- package/dist/separator-Cigaqna1.cjs.map +1 -0
- package/dist/separator-aLdI4FQe.js +2 -0
- package/dist/separator-aLdI4FQe.js.map +1 -0
- package/dist/{separator-5OitSlUj.d.cts → separator-mZ8r56s2.d.cts} +3 -4
- package/dist/sheet-CX3PajAc.cjs +2 -0
- package/dist/sheet-CX3PajAc.cjs.map +1 -0
- package/dist/sheet-DqPtcv9H.js +2 -0
- package/dist/sheet-DqPtcv9H.js.map +1 -0
- package/dist/sidebar-BKNai9nJ.cjs +2 -0
- package/dist/sidebar-BKNai9nJ.cjs.map +1 -0
- package/dist/sidebar-BR_UWLC5.js +2 -0
- package/dist/sidebar-BR_UWLC5.js.map +1 -0
- package/dist/sidebar-C2FH-tzm.cjs +2 -0
- package/dist/sidebar-C2FH-tzm.cjs.map +1 -0
- package/dist/sidebar-DphZ29-4.js +2 -0
- package/dist/sidebar-DphZ29-4.js.map +1 -0
- package/dist/skeleton-C-9PuX3p.cjs +2 -0
- package/dist/skeleton-C-9PuX3p.cjs.map +1 -0
- package/dist/skeleton-sZeupFu_.js +2 -0
- package/dist/skeleton-sZeupFu_.js.map +1 -0
- package/dist/styles/base.cjs +0 -0
- package/dist/styles/base.css +32 -0
- package/dist/styles/base.css.map +1 -0
- package/dist/styles/base.js +1 -0
- package/dist/styles/loader.cjs +0 -0
- package/dist/styles/loader.css +116 -0
- package/dist/styles/loader.css.map +1 -0
- package/dist/styles/loader.js +1 -0
- package/dist/styles/theme.cjs +0 -0
- package/dist/styles/theme.css +106 -0
- package/dist/styles/theme.css.map +1 -0
- package/dist/styles/theme.js +1 -0
- package/dist/styles/typography.cjs +0 -0
- package/dist/styles/typography.css +9 -0
- package/dist/styles/typography.css.map +1 -0
- package/dist/styles/typography.js +1 -0
- package/dist/switch-965kHdW_.js +2 -0
- package/dist/switch-965kHdW_.js.map +1 -0
- package/dist/switch-C3igCoxt.cjs +2 -0
- package/dist/switch-C3igCoxt.cjs.map +1 -0
- package/dist/table/index.cjs +1 -1
- package/dist/table/index.cjs.map +1 -1
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +1 -1
- package/dist/table/index.js.map +1 -1
- package/dist/table-CTMRaGxa.cjs +2 -0
- package/dist/table-CTMRaGxa.cjs.map +1 -0
- package/dist/table-CsnugKnh.js +2 -0
- package/dist/table-CsnugKnh.js.map +1 -0
- package/dist/textarea-3XRFTUZ8.cjs +2 -0
- package/dist/textarea-3XRFTUZ8.cjs.map +1 -0
- package/dist/textarea-CQ6gAnm5.js +2 -0
- package/dist/textarea-CQ6gAnm5.js.map +1 -0
- package/dist/{title-DrIfj31i.cjs → title-6Uosk2b4.cjs} +2 -2
- package/dist/title-6Uosk2b4.cjs.map +1 -0
- package/dist/{title-CA6PvqiD.js → title-CxIwADiB.js} +2 -2
- package/dist/title-CxIwADiB.js.map +1 -0
- package/dist/{toggle-CyClmWQm.d.ts → toggle-B-LtBkTS.d.ts} +4 -4
- package/dist/{toggle-B9onDBto.d.cts → toggle-BLlf4Xgl.d.cts} +3 -3
- package/dist/{toggle-BA0PLIVa.js → toggle-CHJ2edke.js} +2 -2
- package/dist/toggle-CHJ2edke.js.map +1 -0
- package/dist/{toggle-Ddewmqst.cjs → toggle-DO8QbhLS.cjs} +2 -2
- package/dist/toggle-DO8QbhLS.cjs.map +1 -0
- package/dist/tooltip-B8KdfOeT.js +2 -0
- package/dist/tooltip-B8KdfOeT.js.map +1 -0
- package/dist/{tooltip-Ju-oCFdl.d.ts → tooltip-CbtJCe-c.d.ts} +6 -6
- package/dist/tooltip-DLnAwybV.cjs +2 -0
- package/dist/tooltip-DLnAwybV.cjs.map +1 -0
- package/dist/{tooltip-Ccg2G_fB.d.cts → tooltip-etVeWcFC.d.cts} +6 -6
- package/dist/{types-CnMfjcgO.cjs → types-CrbWxjnp.cjs} +1 -1
- package/dist/types-CrbWxjnp.cjs.map +1 -0
- package/dist/{types-BVNbk1ZN.js → types-DaIHddx7.js} +1 -1
- package/dist/types-DaIHddx7.js.map +1 -0
- package/dist/typography/paragraph.cjs +1 -1
- package/dist/typography/paragraph.d.cts +3 -4
- package/dist/typography/paragraph.d.ts +3 -4
- package/dist/typography/paragraph.js +1 -1
- package/dist/typography/title.cjs +1 -1
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/typography/title.js +1 -1
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.cjs.map +1 -1
- package/dist/ui/alert.d.cts +4 -4
- package/dist/ui/alert.d.ts +4 -4
- package/dist/ui/alert.js +1 -1
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/aspect-ratio.cjs +1 -1
- package/dist/ui/aspect-ratio.cjs.map +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/aspect-ratio.js.map +1 -1
- package/dist/ui/avatar.cjs.map +1 -1
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.js.map +1 -1
- package/dist/ui/badge.cjs +1 -1
- package/dist/ui/badge.d.cts +5 -5
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.cjs +1 -1
- package/dist/ui/breadcrumb.cjs.map +1 -1
- package/dist/ui/breadcrumb.d.cts +7 -7
- package/dist/ui/breadcrumb.d.ts +9 -9
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/breadcrumb.js.map +1 -1
- package/dist/ui/button.cjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.js +1 -1
- package/dist/ui/buttons/add-new.cjs +1 -1
- package/dist/ui/buttons/add-new.js +1 -1
- package/dist/ui/buttons/edit.cjs +1 -1
- package/dist/ui/buttons/edit.cjs.map +1 -1
- package/dist/ui/buttons/edit.js +1 -1
- package/dist/ui/buttons/edit.js.map +1 -1
- package/dist/ui/buttons/refresh.cjs +1 -1
- package/dist/ui/buttons/refresh.js +1 -1
- package/dist/ui/buttons/trash.cjs +1 -1
- package/dist/ui/buttons/trash.cjs.map +1 -1
- package/dist/ui/buttons/trash.js +1 -1
- package/dist/ui/buttons/trash.js.map +1 -1
- package/dist/ui/buttons/upload-image.cjs +1 -1
- package/dist/ui/buttons/upload-image.cjs.map +1 -1
- package/dist/ui/buttons/upload-image.js +1 -1
- package/dist/ui/buttons/upload-image.js.map +1 -1
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +5 -5
- package/dist/ui/calendar.d.ts +5 -5
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.cjs +1 -1
- package/dist/ui/card.d.cts +8 -9
- package/dist/ui/card.d.ts +8 -9
- package/dist/ui/card.js +1 -1
- package/dist/ui/carousel.cjs +1 -1
- package/dist/ui/carousel.cjs.map +1 -1
- package/dist/ui/carousel.d.cts +8 -8
- package/dist/ui/carousel.d.ts +8 -8
- package/dist/ui/carousel.js +1 -1
- package/dist/ui/carousel.js.map +1 -1
- package/dist/ui/collapsible.cjs.map +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/collapsible.js.map +1 -1
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/command.js +1 -1
- package/dist/ui/context-menu.cjs +1 -1
- package/dist/ui/context-menu.cjs.map +1 -1
- package/dist/ui/context-menu.d.cts +17 -17
- package/dist/ui/context-menu.d.ts +17 -17
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/dropdown-menu.cjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +17 -18
- package/dist/ui/dropdown-menu.d.ts +17 -18
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/file-uploader.cjs +2 -2
- package/dist/ui/file-uploader.cjs.map +1 -1
- package/dist/ui/file-uploader.d.cts +5 -5
- package/dist/ui/file-uploader.d.ts +5 -5
- package/dist/ui/file-uploader.js +2 -2
- package/dist/ui/file-uploader.js.map +1 -1
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.js +1 -1
- package/dist/ui/hover-card.cjs.map +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/hover-card.js.map +1 -1
- package/dist/ui/input-otp.cjs.map +1 -1
- package/dist/ui/input-otp.d.cts +6 -6
- package/dist/ui/input-otp.d.ts +6 -6
- package/dist/ui/input-otp.js.map +1 -1
- package/dist/ui/input.cjs +1 -1
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/input.js +1 -1
- package/dist/ui/inputs/search-input.cjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/inputs/search-input.js +1 -1
- package/dist/ui/label.cjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.js +1 -1
- package/dist/ui/menubar.cjs +1 -1
- package/dist/ui/menubar.cjs.map +1 -1
- package/dist/ui/menubar.d.cts +18 -18
- package/dist/ui/menubar.d.ts +18 -18
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/menubar.js.map +1 -1
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +4 -4
- package/dist/ui/multi-select.d.ts +4 -4
- package/dist/ui/multi-select.js +1 -1
- package/dist/ui/navigation-menu.cjs +1 -1
- package/dist/ui/navigation-menu.cjs.map +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.ts +9 -9
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/navigation-menu.js.map +1 -1
- package/dist/ui/pagination.cjs +1 -1
- package/dist/ui/pagination.cjs.map +1 -1
- package/dist/ui/pagination.d.cts +10 -10
- package/dist/ui/pagination.d.ts +10 -10
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +5 -7
- package/dist/ui/popover.d.ts +5 -7
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.cjs +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/progress.js +1 -1
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.cjs.map +1 -1
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/radio-group.js.map +1 -1
- package/dist/ui/resizable.cjs.map +1 -1
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/resizable.js.map +1 -1
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/select.cjs +1 -1
- package/dist/ui/select.d.cts +12 -13
- package/dist/ui/select.d.ts +12 -13
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.cjs +1 -1
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.d.cts +10 -11
- package/dist/ui/sheet.d.ts +10 -11
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.d.cts +41 -41
- package/dist/ui/sidebar.d.ts +41 -41
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/skeleton.cjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -3
- package/dist/ui/skeleton.d.ts +2 -3
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.cjs.map +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/sonner.cjs +1 -1
- package/dist/ui/sonner.cjs.map +1 -1
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/sonner.js +1 -1
- package/dist/ui/sonner.js.map +1 -1
- package/dist/ui/switch.cjs +1 -1
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/switch.js +1 -1
- package/dist/ui/table.cjs +1 -1
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.cjs +1 -1
- package/dist/ui/tabs.cjs.map +1 -1
- package/dist/ui/tabs.d.cts +5 -6
- package/dist/ui/tabs.d.ts +0 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/tabs.js.map +1 -1
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +3 -3
- package/dist/ui/textarea.d.ts +3 -3
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/toggle-group.cjs +1 -1
- package/dist/ui/toggle-group.cjs.map +1 -1
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +5 -5
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle-group.js.map +1 -1
- package/dist/ui/toggle.cjs +1 -1
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.cjs +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/dist/utils-BsjVK5EW.cjs.map +1 -1
- package/dist/utils-D9AH0PUV.js.map +1 -1
- package/package.json +23 -2
- package/packages/components/cards/simple-card.tsx +11 -25
- package/packages/components/data-display/country.tsx +34 -40
- package/packages/components/data-display/data-list.tsx +15 -24
- package/packages/components/data-display/date-tooltip.tsx +9 -23
- package/packages/components/data-display/date.tsx +90 -148
- package/packages/components/data-display/empty.tsx +8 -20
- package/packages/components/data-display/name.tsx +9 -11
- package/packages/components/data-display/phone-number.tsx +7 -15
- package/packages/components/data-display/role-badge.tsx +21 -25
- package/packages/components/data-display/statistic.tsx +61 -63
- package/packages/components/dialogs/confirm-dialog.tsx +12 -19
- package/packages/components/dialogs/detail-dialog/component/header.tsx +3 -7
- package/packages/components/dialogs/detail-dialog/component/main.tsx +15 -19
- package/packages/components/dialogs/detail-dialog/component/sidebar.tsx +256 -385
- package/packages/components/dialogs/detail-dialog/component/wrapper.tsx +6 -8
- package/packages/components/dialogs/detail-dialog/index.tsx +26 -35
- package/packages/components/dialogs/error-dialog.tsx +14 -28
- package/packages/components/dialogs/form-dialog.tsx +27 -59
- package/packages/components/dialogs/loading-dialog.tsx +8 -11
- package/packages/components/forms/combobox-field.tsx +44 -81
- package/packages/components/forms/date-field.tsx +2 -5
- package/packages/components/forms/form-wrapper.tsx +45 -71
- package/packages/components/forms/multi-select-field.tsx +2 -2
- package/packages/components/forms/number-field.tsx +1 -3
- package/packages/components/forms/password-field.tsx +1 -1
- package/packages/components/forms/select-field.tsx +1 -1
- package/packages/components/forms/switch-field.tsx +2 -4
- package/packages/components/forms/text-field.tsx +3 -10
- package/packages/components/forms/textarea-field.tsx +3 -11
- package/packages/components/layouts/flex.tsx +55 -66
- package/packages/components/layouts/main/content.tsx +3 -3
- package/packages/components/layouts/main/header.tsx +15 -27
- package/packages/components/layouts/main/wrapper.tsx +3 -3
- package/packages/components/styles/base.css +29 -0
- package/packages/components/styles/loader.css +113 -0
- package/packages/components/styles/theme.css +103 -0
- package/packages/components/styles/typography.css +6 -0
- package/packages/components/table/data-table-pagination.tsx +15 -44
- package/packages/components/table/data-table.tsx +86 -173
- package/packages/components/table/index.tsx +31 -50
- package/packages/components/typography/paragraph.tsx +18 -21
- package/packages/components/typography/title.tsx +23 -28
- package/packages/components/ui/alert-dialog.tsx +44 -118
- package/packages/components/ui/alert.tsx +19 -46
- package/packages/components/ui/aspect-ratio.tsx +7 -16
- package/packages/components/ui/avatar.tsx +12 -39
- package/packages/components/ui/badge.tsx +35 -41
- package/packages/components/ui/breadcrumb.tsx +26 -62
- package/packages/components/ui/button.tsx +163 -46
- package/packages/components/ui/buttons/add-new.tsx +9 -16
- package/packages/components/ui/buttons/edit.tsx +7 -13
- package/packages/components/ui/buttons/refresh.tsx +10 -21
- package/packages/components/ui/buttons/trash.tsx +7 -13
- package/packages/components/ui/buttons/upload-image.tsx +10 -13
- package/packages/components/ui/calendar.tsx +56 -124
- package/packages/components/ui/card.tsx +21 -72
- package/packages/components/ui/carousel.tsx +79 -133
- package/packages/components/ui/checkbox.tsx +19 -29
- package/packages/components/ui/collapsible.tsx +10 -26
- package/packages/components/ui/command.tsx +65 -144
- package/packages/components/ui/context-menu.tsx +48 -110
- package/packages/components/ui/dialog.tsx +55 -110
- package/packages/components/ui/dropdown-menu.tsx +100 -169
- package/packages/components/ui/file-uploader.tsx +93 -151
- package/packages/components/ui/form.tsx +51 -115
- package/packages/components/ui/hover-card.tsx +12 -23
- package/packages/components/ui/input-otp.tsx +20 -29
- package/packages/components/ui/input.tsx +34 -34
- package/packages/components/ui/inputs/number-input.tsx +5 -13
- package/packages/components/ui/inputs/password-input.tsx +2 -8
- package/packages/components/ui/inputs/search-input.tsx +7 -7
- package/packages/components/ui/label.tsx +14 -17
- package/packages/components/ui/menubar.tsx +46 -109
- package/packages/components/ui/multi-select.tsx +250 -317
- package/packages/components/ui/navigation-menu.tsx +34 -80
- package/packages/components/ui/pagination.tsx +28 -86
- package/packages/components/ui/popover.tsx +28 -43
- package/packages/components/ui/progress.tsx +8 -19
- package/packages/components/ui/radio-group.tsx +19 -36
- package/packages/components/ui/resizable.tsx +14 -22
- package/packages/components/ui/scroll-area.tsx +14 -30
- package/packages/components/ui/select.tsx +94 -141
- package/packages/components/ui/separator.tsx +11 -13
- package/packages/components/ui/sheet.tsx +62 -98
- package/packages/components/ui/sidebar.tsx +287 -363
- package/packages/components/ui/skeleton.tsx +5 -12
- package/packages/components/ui/slider.tsx +11 -28
- package/packages/components/ui/sonner.tsx +20 -23
- package/packages/components/ui/switch.tsx +28 -34
- package/packages/components/ui/table.tsx +28 -80
- package/packages/components/ui/tabs.tsx +29 -61
- package/packages/components/ui/textarea.tsx +23 -24
- package/packages/components/ui/toggle-group.tsx +19 -28
- package/packages/components/ui/toggle.tsx +16 -29
- package/packages/components/ui/tooltip.tsx +26 -44
- package/packages/constants.tsx +16 -50
- package/packages/hooks/use-callback-ref.ts +7 -12
- package/packages/hooks/use-controllable-state.ts +37 -46
- package/packages/hooks/use-mobile.ts +11 -13
- package/packages/index.css +121 -381
- package/packages/lib/utils.ts +12 -16
- package/packages/stories/1.Guideline.mdx +3 -0
- package/packages/stories/2.Colors.mdx +145 -0
- package/packages/stories/3.Pypography.mdx +51 -0
- package/packages/stories/cards/simple-card.stories.tsx +24 -0
- package/packages/stories/data-display/data-list.stories.tsx +22 -0
- package/packages/stories/data-display/empty.stories.tsx +13 -0
- package/packages/stories/data-display/form-dialog.stories.tsx +27 -0
- package/packages/stories/data-display/name.stories.tsx +25 -0
- package/packages/stories/data-display/phone-number.stories.tsx +17 -0
- package/packages/stories/data-display/statistic.stories.tsx +41 -0
- package/packages/stories/dialogs/confirm-dialog.stories.tsx +26 -0
- package/packages/stories/dialogs/detail-dialog.stories.tsx +34 -0
- package/packages/stories/dialogs/error-dialog.stories.tsx +27 -0
- package/packages/stories/dialogs/loading-dialog.stories.tsx +16 -0
- package/packages/stories/forms/combobox-field.stories.tsx +38 -0
- package/packages/stories/forms/form-wrapper.stories.tsx +59 -0
- package/packages/stories/forms/multi-select-field.stories.tsx +42 -0
- package/packages/stories/forms/number-field.stories.tsx +35 -0
- package/packages/stories/forms/select-field.stories.tsx +39 -0
- package/packages/stories/forms/switch-field.stories.tsx +36 -0
- package/packages/stories/forms/text-field.stories.tsx +41 -0
- package/packages/stories/forms/textarea-field.stories.tsx +34 -0
- package/packages/stories/typography/paragraph.stories.tsx +45 -0
- package/packages/stories/typography/title.stories.tsx +39 -0
- package/packages/stories/ui/alert-dialog.stories.tsx +49 -0
- package/packages/stories/ui/alert.stories.tsx +63 -0
- package/packages/stories/ui/aspect-ratio.stories.tsx +22 -0
- package/packages/stories/ui/badge.stories.tsx +170 -0
- package/packages/stories/ui/breadcrumb.stories.tsx +172 -0
- package/packages/stories/ui/button.stories.tsx +181 -0
- package/packages/stories/ui/card.stories.tsx +58 -0
- package/packages/stories/ui/checkbox.stories.tsx +48 -0
- package/packages/stories/ui/command.stories.tsx +58 -0
- package/packages/stories/ui/dialog.stories.tsx +55 -0
- package/packages/stories/ui/dropdown-menu.stories.tsx +89 -0
- package/packages/stories/ui/file-uploader.stories.tsx +18 -0
- package/packages/stories/ui/input.stories.tsx +38 -0
- package/packages/stories/ui/label.stories.tsx +17 -0
- package/packages/stories/ui/multi-select.stories.tsx +29 -0
- package/packages/stories/ui/popover.stories.tsx +52 -0
- package/packages/stories/ui/progress.stories.tsx +17 -0
- package/packages/stories/ui/radio-group.stories.tsx +31 -0
- package/packages/stories/ui/select.stories.tsx +31 -0
- package/packages/stories/ui/separator.stories.tsx +31 -0
- package/packages/stories/ui/sheet.stories.tsx +50 -0
- package/packages/stories/ui/skeleton.stories.tsx +27 -0
- package/packages/stories/ui/switch.stories.tsx +21 -0
- package/packages/stories/ui/table.stories.tsx +82 -0
- package/packages/stories/ui/tabs.stories.tsx +70 -0
- package/packages/stories/ui/textarea.stories.tsx +15 -0
- package/packages/stories/ui/toaster.stories.tsx +87 -0
- package/packages/types.ts +32 -32
- package/dist/add-new-BTpI7Ph7.cjs.map +0 -1
- package/dist/add-new-DmwkHRmn.js +0 -2
- package/dist/add-new-DmwkHRmn.js.map +0 -1
- package/dist/alert-dialog-6r43mVE-.js +0 -2
- package/dist/alert-dialog-6r43mVE-.js.map +0 -1
- package/dist/alert-dialog-DEOx5Psb.cjs +0 -2
- package/dist/alert-dialog-DEOx5Psb.cjs.map +0 -1
- package/dist/badge-DHRQ-uwY.cjs.map +0 -1
- package/dist/badge-bLqn3EB9.js.map +0 -1
- package/dist/button-BgNGzTUH.cjs +0 -2
- package/dist/button-BgNGzTUH.cjs.map +0 -1
- package/dist/button-CqGv362j.d.cts +0 -23
- package/dist/button-DFvetIX8.js +0 -2
- package/dist/button-DFvetIX8.js.map +0 -1
- package/dist/calendar-BG-jrCZc.js.map +0 -1
- package/dist/calendar-Cck0PPMB.cjs.map +0 -1
- package/dist/card-D8cxRC5y.js +0 -2
- package/dist/card-D8cxRC5y.js.map +0 -1
- package/dist/card-Dta5eW8u.cjs +0 -2
- package/dist/card-Dta5eW8u.cjs.map +0 -1
- package/dist/command-Bfx_Gzjv.cjs +0 -2
- package/dist/command-Bfx_Gzjv.cjs.map +0 -1
- package/dist/command-ClNBSZd3.js +0 -2
- package/dist/command-ClNBSZd3.js.map +0 -1
- package/dist/date-B1g1OMYc.js.map +0 -1
- package/dist/date-Cw6Jf7k6.cjs.map +0 -1
- package/dist/dialog-Bh4dL0ew.cjs +0 -2
- package/dist/dialog-Bh4dL0ew.cjs.map +0 -1
- package/dist/dialog-CzSIPgHw.js +0 -2
- package/dist/dialog-CzSIPgHw.js.map +0 -1
- package/dist/dropdown-menu-DTFOCPH_.js +0 -2
- package/dist/dropdown-menu-DTFOCPH_.js.map +0 -1
- package/dist/dropdown-menu-qX11mJ9V.cjs +0 -2
- package/dist/dropdown-menu-qX11mJ9V.cjs.map +0 -1
- package/dist/error-dialog-Dg_OHJlH.js.map +0 -1
- package/dist/error-dialog-OeWIgIvF.cjs.map +0 -1
- package/dist/flex-B5MQmxX8.cjs.map +0 -1
- package/dist/flex-CBAzUoXK.js.map +0 -1
- package/dist/form-BMnG2xLt.js.map +0 -1
- package/dist/form-BbU1TIro.cjs.map +0 -1
- package/dist/form-wrapper-DeSGl64P.cjs.map +0 -1
- package/dist/form-wrapper-wHzrskjb.js.map +0 -1
- package/dist/input-B030EUY5.js +0 -2
- package/dist/input-B030EUY5.js.map +0 -1
- package/dist/input-mUjZrK2c.cjs +0 -2
- package/dist/input-mUjZrK2c.cjs.map +0 -1
- package/dist/label-BrGRueFm.js +0 -2
- package/dist/label-BrGRueFm.js.map +0 -1
- package/dist/label-Cmi31X9c.cjs +0 -2
- package/dist/label-Cmi31X9c.cjs.map +0 -1
- package/dist/multi-select-BOmq9vOB.cjs +0 -2
- package/dist/multi-select-BOmq9vOB.cjs.map +0 -1
- package/dist/multi-select-CEU50SQU.js +0 -2
- package/dist/multi-select-CEU50SQU.js.map +0 -1
- package/dist/paragraph-CuR_8J0O.js +0 -2
- package/dist/paragraph-CuR_8J0O.js.map +0 -1
- package/dist/paragraph-D-nYwoh7.cjs +0 -2
- package/dist/paragraph-D-nYwoh7.cjs.map +0 -1
- package/dist/popover-BD0lz8Fh.cjs +0 -2
- package/dist/popover-BD0lz8Fh.cjs.map +0 -1
- package/dist/popover-DJnARyyO.js +0 -2
- package/dist/popover-DJnARyyO.js.map +0 -1
- package/dist/progress-Bu1_efDo.cjs +0 -2
- package/dist/progress-Bu1_efDo.cjs.map +0 -1
- package/dist/progress-CeXKNvJc.js +0 -2
- package/dist/progress-CeXKNvJc.js.map +0 -1
- package/dist/refresh-H87p0PFk.cjs.map +0 -1
- package/dist/refresh-h_6T8REa.js +0 -2
- package/dist/refresh-h_6T8REa.js.map +0 -1
- package/dist/search-input-BUIwdK4e.js.map +0 -1
- package/dist/search-input-DXh-cAVU.cjs.map +0 -1
- package/dist/select-C82socRt.cjs +0 -2
- package/dist/select-C82socRt.cjs.map +0 -1
- package/dist/select-pBujVa9I.js +0 -2
- package/dist/select-pBujVa9I.js.map +0 -1
- package/dist/separator-Bi0LBh7T.cjs +0 -2
- package/dist/separator-Bi0LBh7T.cjs.map +0 -1
- package/dist/separator-DMdqEz29.js +0 -2
- package/dist/separator-DMdqEz29.js.map +0 -1
- package/dist/sheet-2JqHfdYi.js +0 -2
- package/dist/sheet-2JqHfdYi.js.map +0 -1
- package/dist/sheet-CjCT1GXK.cjs +0 -2
- package/dist/sheet-CjCT1GXK.cjs.map +0 -1
- package/dist/sidebar-99vu8Xl2.cjs +0 -2
- package/dist/sidebar-99vu8Xl2.cjs.map +0 -1
- package/dist/sidebar-Ci1XCkoo.cjs +0 -2
- package/dist/sidebar-Ci1XCkoo.cjs.map +0 -1
- package/dist/sidebar-acyFs4AU.js +0 -2
- package/dist/sidebar-acyFs4AU.js.map +0 -1
- package/dist/sidebar-b8PM_MQy.js +0 -2
- package/dist/sidebar-b8PM_MQy.js.map +0 -1
- package/dist/skeleton-D1_Brnl9.js +0 -2
- package/dist/skeleton-D1_Brnl9.js.map +0 -1
- package/dist/skeleton-DkSs2Vh3.cjs +0 -2
- package/dist/skeleton-DkSs2Vh3.cjs.map +0 -1
- package/dist/switch-CF4DRW_3.cjs +0 -2
- package/dist/switch-CF4DRW_3.cjs.map +0 -1
- package/dist/switch-_VCthKr7.js +0 -2
- package/dist/switch-_VCthKr7.js.map +0 -1
- package/dist/table-B7URcTid.cjs +0 -2
- package/dist/table-B7URcTid.cjs.map +0 -1
- package/dist/table-DrnU8YJP.js +0 -2
- package/dist/table-DrnU8YJP.js.map +0 -1
- package/dist/textarea--5AtST9C.js +0 -2
- package/dist/textarea--5AtST9C.js.map +0 -1
- package/dist/textarea-pwK3zC15.cjs +0 -2
- package/dist/textarea-pwK3zC15.cjs.map +0 -1
- package/dist/title-CA6PvqiD.js.map +0 -1
- package/dist/title-DrIfj31i.cjs.map +0 -1
- package/dist/toggle-BA0PLIVa.js.map +0 -1
- package/dist/toggle-Ddewmqst.cjs.map +0 -1
- package/dist/tooltip-CG3D3TIL.cjs +0 -2
- package/dist/tooltip-CG3D3TIL.cjs.map +0 -1
- package/dist/tooltip-DvNio7Zt.js +0 -2
- package/dist/tooltip-DvNio7Zt.js.map +0 -1
- package/dist/types-BVNbk1ZN.js.map +0 -1
- package/dist/types-CnMfjcgO.cjs.map +0 -1
|
@@ -1,51 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
import React from
|
|
3
|
-
import { ScrollArea as ScrollAreaPrimitive } from
|
|
1
|
+
'use client'
|
|
2
|
+
import React from 'react'
|
|
3
|
+
import { ScrollArea as ScrollAreaPrimitive } from 'radix-ui'
|
|
4
4
|
|
|
5
|
-
import { cn } from
|
|
5
|
+
import { cn } from '@/lib/utils'
|
|
6
6
|
|
|
7
|
-
function ScrollArea({
|
|
8
|
-
className,
|
|
9
|
-
children,
|
|
10
|
-
...props
|
|
11
|
-
}: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {
|
|
7
|
+
function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) {
|
|
12
8
|
return (
|
|
13
|
-
<ScrollAreaPrimitive.Root
|
|
14
|
-
|
|
15
|
-
className={cn("relative overflow-hidden", className)}
|
|
16
|
-
{...props}
|
|
17
|
-
>
|
|
18
|
-
<ScrollAreaPrimitive.Viewport className="size-full rounded-[inherit]">
|
|
19
|
-
{children}
|
|
20
|
-
</ScrollAreaPrimitive.Viewport>
|
|
9
|
+
<ScrollAreaPrimitive.Root data-slot="scroll-area" className={cn('relative overflow-hidden', className)} {...props}>
|
|
10
|
+
<ScrollAreaPrimitive.Viewport className="size-full rounded-[inherit]">{children}</ScrollAreaPrimitive.Viewport>
|
|
21
11
|
<ScrollBar />
|
|
22
12
|
<ScrollAreaPrimitive.Corner />
|
|
23
13
|
</ScrollAreaPrimitive.Root>
|
|
24
|
-
)
|
|
14
|
+
)
|
|
25
15
|
}
|
|
26
16
|
|
|
27
|
-
function ScrollBar({
|
|
28
|
-
className,
|
|
29
|
-
orientation = "vertical",
|
|
30
|
-
...props
|
|
31
|
-
}: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {
|
|
17
|
+
function ScrollBar({ className, orientation = 'vertical', ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>) {
|
|
32
18
|
return (
|
|
33
19
|
<ScrollAreaPrimitive.ScrollAreaScrollbar
|
|
34
20
|
data-slot="scroll-area-scrollbar"
|
|
35
21
|
orientation={orientation}
|
|
36
22
|
className={cn(
|
|
37
|
-
|
|
38
|
-
orientation ===
|
|
39
|
-
|
|
40
|
-
orientation === "horizontal" &&
|
|
41
|
-
"h-2.5 flex-col border-t border-t-transparent",
|
|
23
|
+
'flex touch-none p-px transition-colors select-none',
|
|
24
|
+
orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent',
|
|
25
|
+
orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent',
|
|
42
26
|
className,
|
|
43
27
|
)}
|
|
44
28
|
{...props}
|
|
45
29
|
>
|
|
46
30
|
<ScrollAreaPrimitive.ScrollAreaThumb className="bg-border relative flex-1 rounded-full" />
|
|
47
31
|
</ScrollAreaPrimitive.ScrollAreaScrollbar>
|
|
48
|
-
)
|
|
32
|
+
)
|
|
49
33
|
}
|
|
50
34
|
|
|
51
|
-
export { ScrollArea, ScrollBar }
|
|
35
|
+
export { ScrollArea, ScrollBar }
|
|
@@ -1,69 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
1
|
+
'use client'
|
|
2
|
+
import { Select as SelectPrimitive } from 'radix-ui'
|
|
3
|
+
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from 'lucide-react'
|
|
5
4
|
|
|
6
|
-
import { cn } from
|
|
5
|
+
import { cn } from '@/lib/utils'
|
|
7
6
|
|
|
8
|
-
function Select({
|
|
9
|
-
...props
|
|
10
|
-
}: React.ComponentProps<typeof SelectPrimitive.Root>) {
|
|
11
|
-
return <SelectPrimitive.Root data-slot="select" {...props} />;
|
|
7
|
+
function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) {
|
|
8
|
+
return <SelectPrimitive.Root data-slot="select" {...props} />
|
|
12
9
|
}
|
|
13
10
|
|
|
14
|
-
function SelectGroup({
|
|
15
|
-
...props
|
|
16
|
-
}: React.ComponentProps<typeof SelectPrimitive.Group>) {
|
|
17
|
-
return <SelectPrimitive.Group data-slot="select-group" {...props} />;
|
|
11
|
+
function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>) {
|
|
12
|
+
return <SelectPrimitive.Group data-slot="select-group" {...props} />
|
|
18
13
|
}
|
|
19
14
|
|
|
20
|
-
function SelectValue({
|
|
21
|
-
...props
|
|
22
|
-
}: React.ComponentProps<typeof SelectPrimitive.Value>) {
|
|
23
|
-
return <SelectPrimitive.Value data-slot="select-value" {...props} />;
|
|
15
|
+
function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>) {
|
|
16
|
+
return <SelectPrimitive.Value data-slot="select-value" {...props} />
|
|
24
17
|
}
|
|
25
18
|
|
|
26
19
|
function SelectTrigger({
|
|
27
20
|
className,
|
|
28
|
-
size =
|
|
21
|
+
size = 'default',
|
|
29
22
|
children,
|
|
30
23
|
...props
|
|
31
24
|
}: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
32
|
-
size?:
|
|
25
|
+
size?: 'sm' | 'default'
|
|
33
26
|
}) {
|
|
34
27
|
return (
|
|
35
28
|
<SelectPrimitive.Trigger
|
|
36
29
|
data-slot="select-trigger"
|
|
37
30
|
data-size={size}
|
|
38
31
|
className={cn(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"[&_svg]:shrink-0",
|
|
66
|
-
"[&_svg]:pointer-events-none",
|
|
32
|
+
'border-border',
|
|
33
|
+
'flex w-fit items-center justify-between',
|
|
34
|
+
'gap-2 rounded-md border bg-transparent px-3 py-2 text-sm',
|
|
35
|
+
'whitespace-nowrap transition-all outline-none',
|
|
36
|
+
'cursor-pointer',
|
|
37
|
+
'hover:shadow-md',
|
|
38
|
+
'hover:shadow-border-weak',
|
|
39
|
+
'focus:border-primary-strong',
|
|
40
|
+
'focus:ring-primary-weak',
|
|
41
|
+
'focus:ring-4',
|
|
42
|
+
'aria-invalid:ring-danger-weak',
|
|
43
|
+
'aria-invalid:border-danger-strong',
|
|
44
|
+
'disabled:cursor-not-allowed',
|
|
45
|
+
'disabled:opacity-50',
|
|
46
|
+
'data-[state=open]:border-primary',
|
|
47
|
+
'data-[state=open]:ring-ring',
|
|
48
|
+
'data-[state=open]:ring-4',
|
|
49
|
+
'data-[placeholder]:text-text-positive-muted',
|
|
50
|
+
'data-[size=default]:h-9',
|
|
51
|
+
'data-[size=sm]:h-8',
|
|
52
|
+
'*:data-[slot=select-value]:line-clamp-1',
|
|
53
|
+
'*:data-[slot=select-value]:flex',
|
|
54
|
+
'*:data-[slot=select-value]:items-center',
|
|
55
|
+
'*:data-[slot=select-value]:gap-2',
|
|
56
|
+
'[&_svg]:shrink-0',
|
|
57
|
+
'[&_svg]:pointer-events-none',
|
|
67
58
|
"[&_svg:not([class*='size-'])]:size-4",
|
|
68
59
|
"[&_svg:not([class*='text-'])]:text-muted-foreground",
|
|
69
60
|
className,
|
|
@@ -75,42 +66,36 @@ function SelectTrigger({
|
|
|
75
66
|
<ChevronDownIcon className="size-4 opacity-50" />
|
|
76
67
|
</SelectPrimitive.Icon>
|
|
77
68
|
</SelectPrimitive.Trigger>
|
|
78
|
-
)
|
|
69
|
+
)
|
|
79
70
|
}
|
|
80
71
|
|
|
81
|
-
function SelectContent({
|
|
82
|
-
className,
|
|
83
|
-
children,
|
|
84
|
-
position = "popper",
|
|
85
|
-
...props
|
|
86
|
-
}: React.ComponentProps<typeof SelectPrimitive.Content>) {
|
|
72
|
+
function SelectContent({ className, children, position = 'popper', ...props }: React.ComponentProps<typeof SelectPrimitive.Content>) {
|
|
87
73
|
return (
|
|
88
74
|
<SelectPrimitive.Portal>
|
|
89
75
|
<SelectPrimitive.Content
|
|
90
76
|
data-slot="select-content"
|
|
91
77
|
className={cn(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
position ===
|
|
111
|
-
position ===
|
|
112
|
-
position ===
|
|
113
|
-
position === "popper" && "data-[side=top]:-translate-y-1",
|
|
78
|
+
'bg-popover',
|
|
79
|
+
'relative z-50',
|
|
80
|
+
'min-w-32',
|
|
81
|
+
'overflow-x-hidden overflow-y-auto',
|
|
82
|
+
'shadow-dropdown rounded-md',
|
|
83
|
+
'data-[state=open]:animate-in',
|
|
84
|
+
'data-[state=open]:fade-in-0',
|
|
85
|
+
'data-[state=open]:zoom-in-95',
|
|
86
|
+
'data-[state=closed]:animate-out',
|
|
87
|
+
'data-[state=closed]:fade-out-0',
|
|
88
|
+
'data-[state=closed]:zoom-out-95',
|
|
89
|
+
'data-[side=bottom]:slide-in-from-top-2',
|
|
90
|
+
'data-[side=left]:slide-in-from-right-2',
|
|
91
|
+
'data-[side=right]:slide-in-from-left-2',
|
|
92
|
+
'data-[side=top]:slide-in-from-bottom-2',
|
|
93
|
+
'max-h-(--radix-select-content-available-height)',
|
|
94
|
+
'origin-(--radix-select-content-transform-origin)',
|
|
95
|
+
position === 'popper' && 'data-[side=bottom]:translate-y-1',
|
|
96
|
+
position === 'popper' && 'data-[side=left]:-translate-x-1',
|
|
97
|
+
position === 'popper' && 'data-[side=right]:translate-x-1',
|
|
98
|
+
position === 'popper' && 'data-[side=top]:-translate-y-1',
|
|
114
99
|
className,
|
|
115
100
|
)}
|
|
116
101
|
position={position}
|
|
@@ -119,11 +104,10 @@ function SelectContent({
|
|
|
119
104
|
<SelectScrollUpButton />
|
|
120
105
|
<SelectPrimitive.Viewport
|
|
121
106
|
className={cn(
|
|
122
|
-
|
|
123
|
-
position ===
|
|
124
|
-
position ===
|
|
125
|
-
position ===
|
|
126
|
-
"min-w-[var(--radix-select-trigger-width)]",
|
|
107
|
+
'p-1',
|
|
108
|
+
position === 'popper' && 'w-full scroll-my-1',
|
|
109
|
+
position === 'popper' && 'h-[var(--radix-select-trigger-height)]',
|
|
110
|
+
position === 'popper' && 'min-w-[var(--radix-select-trigger-width)]',
|
|
127
111
|
)}
|
|
128
112
|
>
|
|
129
113
|
{children}
|
|
@@ -131,44 +115,34 @@ function SelectContent({
|
|
|
131
115
|
<SelectScrollDownButton />
|
|
132
116
|
</SelectPrimitive.Content>
|
|
133
117
|
</SelectPrimitive.Portal>
|
|
134
|
-
)
|
|
118
|
+
)
|
|
135
119
|
}
|
|
136
120
|
|
|
137
|
-
function SelectLabel({
|
|
138
|
-
className,
|
|
139
|
-
...props
|
|
140
|
-
}: React.ComponentProps<typeof SelectPrimitive.Label>) {
|
|
141
|
-
return (
|
|
142
|
-
<SelectPrimitive.Label
|
|
143
|
-
data-slot="select-label"
|
|
144
|
-
className={cn("text-muted-foreground px-2 py-1.5 text-xs", className)}
|
|
145
|
-
{...props}
|
|
146
|
-
/>
|
|
147
|
-
);
|
|
121
|
+
function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>) {
|
|
122
|
+
return <SelectPrimitive.Label data-slot="select-label" className={cn('text-text-positive-muted px-2 py-1.5 text-xs', className)} {...props} />
|
|
148
123
|
}
|
|
149
124
|
|
|
150
|
-
function SelectItem({
|
|
151
|
-
className,
|
|
152
|
-
children,
|
|
153
|
-
...props
|
|
154
|
-
}: React.ComponentProps<typeof SelectPrimitive.Item>) {
|
|
125
|
+
function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>) {
|
|
155
126
|
return (
|
|
156
127
|
<SelectPrimitive.Item
|
|
157
128
|
data-slot="select-item"
|
|
158
129
|
className={cn(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
130
|
+
'relative flex items-center select-none',
|
|
131
|
+
'gap-2 rounded-md py-2.5 pr-8 pl-2',
|
|
132
|
+
'w-full',
|
|
133
|
+
'cursor-pointer transition-colors',
|
|
134
|
+
'text-text-positive-weak text-sm outline-hidden',
|
|
135
|
+
'focus:bg-accent-muted',
|
|
136
|
+
'focus:text-text-positive-strong',
|
|
137
|
+
'data-[disabled]:opacity-50',
|
|
138
|
+
'data-[disabled]:pointer-events-none',
|
|
139
|
+
'[&_svg]:pointer-events-none',
|
|
140
|
+
'[&_svg]:shrink-0',
|
|
167
141
|
"[&_svg:not([class*='size-'])]:size-4",
|
|
168
|
-
"[&_svg:not([class*='text-'])]:text-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
142
|
+
"[&_svg:not([class*='text-'])]:text-text-positive-weak",
|
|
143
|
+
'*:[span]:last:flex',
|
|
144
|
+
'*:[span]:last:items-center',
|
|
145
|
+
'*:[span]:last:gap-2',
|
|
172
146
|
className,
|
|
173
147
|
)}
|
|
174
148
|
{...props}
|
|
@@ -180,56 +154,35 @@ function SelectItem({
|
|
|
180
154
|
</span>
|
|
181
155
|
<SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>
|
|
182
156
|
</SelectPrimitive.Item>
|
|
183
|
-
)
|
|
157
|
+
)
|
|
184
158
|
}
|
|
185
159
|
|
|
186
|
-
function SelectSeparator({
|
|
187
|
-
className,
|
|
188
|
-
...props
|
|
189
|
-
}: React.ComponentProps<typeof SelectPrimitive.Separator>) {
|
|
190
|
-
return (
|
|
191
|
-
<SelectPrimitive.Separator
|
|
192
|
-
data-slot="select-separator"
|
|
193
|
-
className={cn("bg-border pointer-events-none -mx-1 my-1 h-px", className)}
|
|
194
|
-
{...props}
|
|
195
|
-
/>
|
|
196
|
-
);
|
|
160
|
+
function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>) {
|
|
161
|
+
return <SelectPrimitive.Separator data-slot="select-separator" className={cn('bg-border-weak pointer-events-none -mx-1 my-1 h-px', className)} {...props} />
|
|
197
162
|
}
|
|
198
163
|
|
|
199
|
-
function SelectScrollUpButton({
|
|
200
|
-
className,
|
|
201
|
-
...props
|
|
202
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {
|
|
164
|
+
function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>) {
|
|
203
165
|
return (
|
|
204
166
|
<SelectPrimitive.ScrollUpButton
|
|
205
167
|
data-slot="select-scroll-up-button"
|
|
206
|
-
className={cn(
|
|
207
|
-
"flex cursor-default items-center justify-center py-1",
|
|
208
|
-
className,
|
|
209
|
-
)}
|
|
168
|
+
className={cn('flex cursor-default items-center justify-center py-1', className)}
|
|
210
169
|
{...props}
|
|
211
170
|
>
|
|
212
171
|
<ChevronUpIcon className="size-4" />
|
|
213
172
|
</SelectPrimitive.ScrollUpButton>
|
|
214
|
-
)
|
|
173
|
+
)
|
|
215
174
|
}
|
|
216
175
|
|
|
217
|
-
function SelectScrollDownButton({
|
|
218
|
-
className,
|
|
219
|
-
...props
|
|
220
|
-
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {
|
|
176
|
+
function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>) {
|
|
221
177
|
return (
|
|
222
178
|
<SelectPrimitive.ScrollDownButton
|
|
223
179
|
data-slot="select-scroll-down-button"
|
|
224
|
-
className={cn(
|
|
225
|
-
"flex cursor-default items-center justify-center py-1",
|
|
226
|
-
className,
|
|
227
|
-
)}
|
|
180
|
+
className={cn('flex cursor-default items-center justify-center py-1', className)}
|
|
228
181
|
{...props}
|
|
229
182
|
>
|
|
230
183
|
<ChevronDownIcon className="size-4" />
|
|
231
184
|
</SelectPrimitive.ScrollDownButton>
|
|
232
|
-
)
|
|
185
|
+
)
|
|
233
186
|
}
|
|
234
187
|
|
|
235
188
|
export {
|
|
@@ -243,4 +196,4 @@ export {
|
|
|
243
196
|
SelectSeparator,
|
|
244
197
|
SelectTrigger,
|
|
245
198
|
SelectValue,
|
|
246
|
-
}
|
|
199
|
+
}
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
1
|
+
'use client'
|
|
2
|
+
import { Separator as SeparatorPrimitive } from 'radix-ui'
|
|
4
3
|
|
|
5
|
-
import { cn } from
|
|
4
|
+
import { cn } from '@/lib/utils'
|
|
6
5
|
|
|
7
|
-
function Separator({
|
|
8
|
-
className,
|
|
9
|
-
orientation = "horizontal",
|
|
10
|
-
decorative = true,
|
|
11
|
-
...props
|
|
12
|
-
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
|
|
6
|
+
function Separator({ className, orientation = 'horizontal', decorative = true, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
|
|
13
7
|
return (
|
|
14
8
|
<SeparatorPrimitive.Root
|
|
15
9
|
data-slot="separator"
|
|
16
10
|
decorative={decorative}
|
|
17
11
|
orientation={orientation}
|
|
18
12
|
className={cn(
|
|
19
|
-
|
|
13
|
+
'bg-border-weak shrink-0',
|
|
14
|
+
'data-[orientation=horizontal]:h-px',
|
|
15
|
+
'data-[orientation=horizontal]:w-full',
|
|
16
|
+
'data-[orientation=vertical]:h-full',
|
|
17
|
+
'data-[orientation=vertical]:w-px',
|
|
20
18
|
className,
|
|
21
19
|
)}
|
|
22
20
|
{...props}
|
|
23
21
|
/>
|
|
24
|
-
)
|
|
22
|
+
)
|
|
25
23
|
}
|
|
26
24
|
|
|
27
|
-
export { Separator }
|
|
25
|
+
export { Separator }
|
|
@@ -1,55 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { XIcon } from "lucide-react";
|
|
1
|
+
'use client'
|
|
2
|
+
import { Dialog as SheetPrimitive } from 'radix-ui'
|
|
3
|
+
import { XIcon } from 'lucide-react'
|
|
5
4
|
|
|
6
|
-
import { cn } from
|
|
5
|
+
import { cn } from '@/lib/utils'
|
|
7
6
|
|
|
8
7
|
function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {
|
|
9
|
-
return <SheetPrimitive.Root data-slot="sheet" {...props}
|
|
8
|
+
return <SheetPrimitive.Root data-slot="sheet" {...props} />
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
function SheetTrigger({
|
|
13
|
-
...props
|
|
14
|
-
}: React.ComponentProps<typeof SheetPrimitive.Trigger>) {
|
|
15
|
-
return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />;
|
|
11
|
+
function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {
|
|
12
|
+
return <SheetPrimitive.Trigger data-slot="sheet-trigger" {...props} />
|
|
16
13
|
}
|
|
17
14
|
|
|
18
|
-
function SheetClose({
|
|
19
|
-
...props
|
|
20
|
-
}: React.ComponentProps<typeof SheetPrimitive.Close>) {
|
|
21
|
-
return <SheetPrimitive.Close data-slot="sheet-close" {...props} />;
|
|
15
|
+
function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {
|
|
16
|
+
return <SheetPrimitive.Close data-slot="sheet-close" {...props} />
|
|
22
17
|
}
|
|
23
18
|
|
|
24
|
-
function SheetPortal({
|
|
25
|
-
...props
|
|
26
|
-
}: React.ComponentProps<typeof SheetPrimitive.Portal>) {
|
|
27
|
-
return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />;
|
|
19
|
+
function SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {
|
|
20
|
+
return <SheetPrimitive.Portal data-slot="sheet-portal" {...props} />
|
|
28
21
|
}
|
|
29
22
|
|
|
30
|
-
function SheetOverlay({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
|
|
23
|
+
function SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {
|
|
34
24
|
return (
|
|
35
25
|
<SheetPrimitive.Overlay
|
|
36
26
|
data-slot="sheet-overlay"
|
|
37
27
|
className={cn(
|
|
38
|
-
|
|
28
|
+
'fixed inset-0 z-50 bg-black/50',
|
|
29
|
+
'data-[state=open]:animate-in',
|
|
30
|
+
'data-[state=closed]:animate-out',
|
|
31
|
+
'data-[state=closed]:fade-out-0',
|
|
32
|
+
'data-[state=open]:fade-in-0',
|
|
39
33
|
className,
|
|
40
34
|
)}
|
|
41
35
|
{...props}
|
|
42
36
|
/>
|
|
43
|
-
)
|
|
37
|
+
)
|
|
44
38
|
}
|
|
45
39
|
|
|
46
40
|
function SheetContent({
|
|
47
41
|
className,
|
|
48
42
|
children,
|
|
49
|
-
side =
|
|
43
|
+
side = 'right',
|
|
50
44
|
...props
|
|
51
45
|
}: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
52
|
-
side?:
|
|
46
|
+
side?: 'top' | 'right' | 'bottom' | 'left'
|
|
53
47
|
}) {
|
|
54
48
|
return (
|
|
55
49
|
<SheetPortal>
|
|
@@ -57,20 +51,29 @@ function SheetContent({
|
|
|
57
51
|
<SheetPrimitive.Content
|
|
58
52
|
data-slot="sheet-content"
|
|
59
53
|
className={cn(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
side ===
|
|
69
|
-
|
|
70
|
-
side ===
|
|
71
|
-
|
|
72
|
-
side ===
|
|
73
|
-
|
|
54
|
+
'bg-background',
|
|
55
|
+
'shadow-dropdown border-border-weak fixed z-50 flex flex-col gap-4 transition ease-in-out',
|
|
56
|
+
|
|
57
|
+
'data-[state=open]:animate-in',
|
|
58
|
+
'data-[state=open]:duration-500',
|
|
59
|
+
'data-[state=closed]:animate-out',
|
|
60
|
+
'data-[state=closed]:duration-300',
|
|
61
|
+
|
|
62
|
+
side === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',
|
|
63
|
+
side === 'right' && 'data-[state=closed]:slide-out-to-right',
|
|
64
|
+
side === 'right' && 'data-[state=open]:slide-in-from-right',
|
|
65
|
+
|
|
66
|
+
side === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',
|
|
67
|
+
side === 'left' && 'data-[state=closed]:slide-out-to-left',
|
|
68
|
+
side === 'left' && 'data-[state=open]:slide-in-from-left',
|
|
69
|
+
|
|
70
|
+
side === 'top' && 'inset-x-0 top-0 h-auto border-b',
|
|
71
|
+
side === 'top' && 'data-[state=closed]:slide-out-to-top',
|
|
72
|
+
side === 'top' && 'data-[state=open]:slide-in-from-top',
|
|
73
|
+
|
|
74
|
+
side === 'bottom' && 'inset-x-0 bottom-0 h-auto border-t',
|
|
75
|
+
side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom',
|
|
76
|
+
side === 'bottom' && 'data-[state=open]:slide-in-from-bottom',
|
|
74
77
|
className,
|
|
75
78
|
)}
|
|
76
79
|
{...props}
|
|
@@ -78,15 +81,15 @@ function SheetContent({
|
|
|
78
81
|
{children}
|
|
79
82
|
<SheetPrimitive.Close
|
|
80
83
|
className={cn(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
'ring-offset-background cursor-pointer p-2',
|
|
85
|
+
'absolute top-2 right-2 rounded-full opacity-70 transition-opacity',
|
|
86
|
+
'data-[state=open]:bg-secondary',
|
|
87
|
+
'disabled:pointer-events-none',
|
|
88
|
+
'hover:opacity-100',
|
|
89
|
+
'hover:bg-border-muted',
|
|
90
|
+
'focus:ring-border-weak',
|
|
91
|
+
'focus:ring-4',
|
|
92
|
+
'focus:outline-hidden',
|
|
90
93
|
)}
|
|
91
94
|
>
|
|
92
95
|
<XIcon className="size-5" />
|
|
@@ -94,62 +97,23 @@ function SheetContent({
|
|
|
94
97
|
</SheetPrimitive.Close>
|
|
95
98
|
</SheetPrimitive.Content>
|
|
96
99
|
</SheetPortal>
|
|
97
|
-
)
|
|
100
|
+
)
|
|
98
101
|
}
|
|
99
102
|
|
|
100
|
-
function SheetHeader({ className, ...props }: React.ComponentProps<
|
|
101
|
-
return (
|
|
102
|
-
<div
|
|
103
|
-
data-slot="sheet-header"
|
|
104
|
-
className={cn("flex flex-0 flex-col gap-1.5 p-4", className)}
|
|
105
|
-
{...props}
|
|
106
|
-
/>
|
|
107
|
-
);
|
|
103
|
+
function SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {
|
|
104
|
+
return <div data-slot="sheet-header" className={cn('flex flex-0 flex-col gap-1.5 p-4', className)} {...props} />
|
|
108
105
|
}
|
|
109
106
|
|
|
110
|
-
function SheetFooter({ className, ...props }: React.ComponentProps<
|
|
111
|
-
return (
|
|
112
|
-
<div
|
|
113
|
-
data-slot="sheet-footer"
|
|
114
|
-
className={cn("mt-auto flex flex-0 flex-col gap-2 p-4", className)}
|
|
115
|
-
{...props}
|
|
116
|
-
/>
|
|
117
|
-
);
|
|
107
|
+
function SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {
|
|
108
|
+
return <div data-slot="sheet-footer" className={cn('mt-auto flex flex-0 flex-col gap-2 p-4', className)} {...props} />
|
|
118
109
|
}
|
|
119
110
|
|
|
120
|
-
function SheetTitle({
|
|
121
|
-
className,
|
|
122
|
-
...props
|
|
123
|
-
}: React.ComponentProps<typeof SheetPrimitive.Title>) {
|
|
124
|
-
return (
|
|
125
|
-
<SheetPrimitive.Title
|
|
126
|
-
data-slot="sheet-title"
|
|
127
|
-
className={cn("text-foreground font-semibold", className)}
|
|
128
|
-
{...props}
|
|
129
|
-
/>
|
|
130
|
-
);
|
|
111
|
+
function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {
|
|
112
|
+
return <SheetPrimitive.Title data-slot="sheet-title" className={cn('text-text-positive-strong font-semibold', className)} {...props} />
|
|
131
113
|
}
|
|
132
114
|
|
|
133
|
-
function SheetDescription({
|
|
134
|
-
className,
|
|
135
|
-
...props
|
|
136
|
-
}: React.ComponentProps<typeof SheetPrimitive.Description>) {
|
|
137
|
-
return (
|
|
138
|
-
<SheetPrimitive.Description
|
|
139
|
-
data-slot="sheet-description"
|
|
140
|
-
className={cn("text-muted-foreground text-sm", className)}
|
|
141
|
-
{...props}
|
|
142
|
-
/>
|
|
143
|
-
);
|
|
115
|
+
function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {
|
|
116
|
+
return <SheetPrimitive.Description data-slot="sheet-description" className={cn('text-text-positive-weak text-sm', className)} {...props} />
|
|
144
117
|
}
|
|
145
118
|
|
|
146
|
-
export {
|
|
147
|
-
Sheet,
|
|
148
|
-
SheetClose,
|
|
149
|
-
SheetContent,
|
|
150
|
-
SheetDescription,
|
|
151
|
-
SheetFooter,
|
|
152
|
-
SheetHeader,
|
|
153
|
-
SheetTitle,
|
|
154
|
-
SheetTrigger,
|
|
155
|
-
};
|
|
119
|
+
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger }
|