@mudakit/ui 0.1.1 → 0.3.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/CHANGELOG.md +12 -0
- package/dist/MudaButton-CWY0U8WO.js +43 -0
- package/dist/{MudaButtonStack-xCMVwXHf.js → MudaButtonStack-8z8FVezw.js} +2 -2
- package/dist/{MudaCalendar-C1PMSA6X.js → MudaCalendar-CgKIaHEr.js} +45 -75
- package/dist/{MudaCard-C9geam4O.js → MudaCard-DGdFOdro.js} +1 -1
- package/dist/{MudaColorPicker-D9JCnuHA.js → MudaColorPicker-CnB1MYB3.js} +10 -10
- package/dist/{MudaDialog-BYH1sqFg.js → MudaDialog-DTR4JKpJ.js} +7 -8
- package/dist/{MudaDropdown-DwNvdtqh.js → MudaDropdown-Dhv8Mhxm.js} +12 -12
- package/dist/{MudaErrorBox-C0DvbAfU.js → MudaErrorBox-B9ySoal8.js} +3 -4
- package/dist/MudaFormCheckbox-C1wTjohm.js +43 -0
- package/dist/{MudaFormCombobox-BFOvOqGX.js → MudaFormCombobox-DqH-EyMV.js} +16 -15
- package/dist/{MudaFormField-Bt5W7NC1.js → MudaFormField-dOZRdslO.js} +12 -12
- package/dist/{MudaFormInput-CI_xfpTj.js → MudaFormInput-D1-kQq9y.js} +23 -17
- package/dist/{MudaFormRadio-DOXXv3mT.js → MudaFormRadio-BXj-XnwW.js} +1 -1
- package/dist/MudaFormRadioGroup-DnsZT-0C.js +48 -0
- package/dist/{MudaFormSelect-Bt6EW1N-.js → MudaFormSelect-CLmsuMQG.js} +9 -9
- package/dist/MudaFormSwitch-C2Hx0mfr.js +33 -0
- package/dist/{MudaFormText-s-Y3QoDX.js → MudaFormText-DbSiSTGh.js} +3 -3
- package/dist/MudaIcon-BwqQQnti.js +254 -0
- package/dist/{MudaIconPicker-zfcw1uy_.js → MudaIconPicker-X5xJ_lbO.js} +16 -17
- package/dist/{MudaMarker-1xxDZJgb.js → MudaMarker-DX1N2YxM.js} +4 -4
- package/dist/{MudaPagination-BbXaUuPU.js → MudaPagination-BoqrKfPw.js} +26 -28
- package/dist/{MudaPopover-BgwkVjjX.js → MudaPopover-C1fDWbPf.js} +6 -6
- package/dist/MudaSpinner-BMR0Shwx.js +16 -0
- package/dist/{MudaTable-DWwTyMmj.js → MudaTable-BxKbNx6v.js} +5 -5
- package/dist/MudaTag-kOu3daeI.js +27 -0
- package/dist/{account_balance-tTKo1rRM.js → account_balance-BmErsHd0.js} +2 -1
- package/dist/{account_balance-DraASv2L.js → account_balance-CWz44xKB.js} +2 -1
- package/dist/{add-C-WLk8_D.js → add-D2cvAtJe.js} +2 -1
- package/dist/{add-rHsXWUB3.js → add-rvZP2sHX.js} +2 -1
- package/dist/{add_circle_outline-gWceP5CT.js → add_circle_outline-5o6eIa47.js} +2 -1
- package/dist/{add_circle_outline-Cp4-UWD3.js → add_circle_outline-MsRqf_OK.js} +2 -1
- package/dist/{analytics-07sOnbP4.js → analytics-CpcyaSAp.js} +2 -1
- package/dist/{analytics-DKajyXsZ.js → analytics-DIm0Yxdf.js} +2 -1
- package/dist/{apartment-DC-_uC-r.js → apartment-CETJMe3t.js} +2 -1
- package/dist/{apartment-D-yxo46U.js → apartment-CWt5ZOL-.js} +2 -1
- package/dist/{arrow_circle_down-CzHL7kiP.js → arrow_circle_down-BwCFrIqa.js} +2 -1
- package/dist/{arrow_circle_down-Cfl01hSk.js → arrow_circle_down-Csh1eUsQ.js} +2 -1
- package/dist/{arrow_circle_up-gvy-3vjx.js → arrow_circle_up-Cp-iKQyc.js} +2 -1
- package/dist/{arrow_circle_up-B1p0bl_c.js → arrow_circle_up-oZaIiuSi.js} +2 -1
- package/dist/{arrow_downward-DPhLvtE2.js → arrow_downward-7VWFHCu5.js} +2 -1
- package/dist/{arrow_downward-DCoB2C0p.js → arrow_downward-Dfa0oZxc.js} +2 -1
- package/dist/{arrow_upward-D3WW55Xt.js → arrow_upward-DEF9cNhm.js} +2 -1
- package/dist/{arrow_upward-bMZZ2Ppz.js → arrow_upward-XjPMQ06h.js} +2 -1
- package/dist/{attractions-CscI2mGy.js → attractions-CwW2FVLV.js} +2 -1
- package/dist/{attractions-Dr0QIo8M.js → attractions-DciIGXRL.js} +2 -1
- package/dist/{bathtub-D_DONAkK.js → bathtub-NojUk-T0.js} +2 -1
- package/dist/{bathtub-Dr8Grsn1.js → bathtub-b7TDc5v-.js} +2 -1
- package/dist/{beach_access-uF616UOm.js → beach_access-CyhuhjPw.js} +2 -1
- package/dist/{beach_access-DPhKGsWT.js → beach_access-DTRZT4Jv.js} +2 -1
- package/dist/{bed-CpbGES3I.js → bed-HeV_-94z.js} +2 -1
- package/dist/{bed-GShLIbSi.js → bed-LHDVwJdQ.js} +2 -1
- package/dist/{bento-CEpUIDgP.js → bento-BwVLN_kS.js} +2 -1
- package/dist/{bento-DQ5zrFt1.js → bento-DWRFwlnT.js} +2 -1
- package/dist/{build-CKEFwS5y.js → build-BLdosRGW.js} +2 -1
- package/dist/{build-DvoCjI8G.js → build-DiU7WHSC.js} +2 -1
- package/dist/{calendar_month-CZFPgoyg.js → calendar_month-BFnXbnOp.js} +2 -1
- package/dist/{calendar_month-D-vOb3Dt.js → calendar_month-DpNgvCXe.js} +2 -1
- package/dist/{checkroom-BWB8BV4b.js → checkroom-DBZmH6i2.js} +2 -1
- package/dist/{checkroom-D2CT1-MS.js → checkroom-DqXypzAa.js} +2 -1
- package/dist/{chevron_left-CgQ1kOTp.js → chevron_left-D_3zWcsm.js} +2 -1
- package/dist/{chevron_left-DdkxhXWV.js → chevron_left-DrJs76xi.js} +2 -1
- package/dist/{chevron_right-Bg1krtnZ.js → chevron_right-CNll6Y3S.js} +2 -1
- package/dist/{chevron_right-CnisH7RV.js → chevron_right-DdmjREcG.js} +2 -1
- package/dist/{close-ConOGoUj.js → close-BfAvLDBA.js} +2 -1
- package/dist/{close-BMlDU_S8.js → close-CX4SOrGw.js} +2 -1
- package/dist/{coffee-8ewXOEoT.js → coffee-DV2tgOQL.js} +2 -1
- package/dist/{coffee-CjGoj0n3.js → coffee-JEvx_gqz.js} +2 -1
- package/dist/components/MudaButton/index.js +1 -1
- package/dist/components/MudaButtonStack/index.js +1 -1
- package/dist/components/MudaCalendar/index.js +1 -1
- package/dist/components/MudaCard/index.js +1 -1
- package/dist/components/MudaColorPicker/index.js +1 -1
- package/dist/components/MudaDialog/index.js +1 -1
- package/dist/components/MudaDropdown/index.js +1 -1
- package/dist/components/MudaErrorBox/index.js +1 -1
- package/dist/components/MudaFormCheckbox/index.js +1 -1
- package/dist/components/MudaFormCombobox/index.js +1 -1
- package/dist/components/MudaFormField/index.js +1 -1
- package/dist/components/MudaFormInput/index.js +1 -1
- package/dist/components/MudaFormRadio/index.js +1 -1
- package/dist/components/MudaFormRadioGroup/MudaFormRadioGroup.types.d.ts +1 -1
- package/dist/components/MudaFormRadioGroup/index.js +1 -1
- package/dist/components/MudaFormSelect/index.js +1 -1
- package/dist/components/MudaFormSwitch/index.js +1 -1
- package/dist/components/MudaFormText/index.js +1 -1
- package/dist/components/MudaIcon/index.js +1 -1
- package/dist/components/MudaIconPicker/index.js +1 -1
- package/dist/components/MudaMarker/index.js +1 -1
- package/dist/components/MudaPagination/index.js +1 -1
- package/dist/components/MudaPopover/index.js +1 -1
- package/dist/components/MudaSpinner/MudaSpinner.vue.d.ts +0 -2
- package/dist/components/MudaSpinner/index.js +1 -1
- package/dist/components/MudaTable/index.js +1 -1
- package/dist/components/MudaTag/index.js +1 -1
- package/dist/{computer-D1kpZK30.js → computer-Cf2SnyrR.js} +2 -1
- package/dist/{computer-CUVOc14q.js → computer-_eTmrjWP.js} +2 -1
- package/dist/{credit_card-a49G2yA_.js → credit_card-BF0PCZ4I.js} +2 -1
- package/dist/{credit_card-CoVeAT2C.js → credit_card-DPCblgwC.js} +2 -1
- package/dist/{dark_mode-Bn7TB25M.js → dark_mode-DWL6lgML.js} +2 -1
- package/dist/{dark_mode-CBcSeBc2.js → dark_mode-yiTavHSR.js} +2 -1
- package/dist/{dashboard-YWDZpqtm.js → dashboard-CUJui7qd.js} +2 -1
- package/dist/{dashboard-v4Xin7--.js → dashboard-zcCxWnlb.js} +2 -1
- package/dist/{delete-BS5UF5dU.js → delete-B5kr-Jk9.js} +2 -1
- package/dist/{delete-CyQzdFi0.js → delete-DaBAI2xv.js} +2 -1
- package/dist/{directions_bike-C5YNoNUl.js → directions_bike-BPsPkTiR.js} +2 -1
- package/dist/{directions_bike-DvHfbVZP.js → directions_bike-YFTcyvgs.js} +2 -1
- package/dist/{directions_boat-CBVP0cpN.js → directions_boat-DL9yluG7.js} +2 -1
- package/dist/{directions_boat-x6QRg_AU.js → directions_boat-OgUqCRMo.js} +2 -1
- package/dist/{drafts-CuEaA7r6.js → drafts-BMbYrukl.js} +2 -1
- package/dist/{drafts-CzlXWdkd.js → drafts-CS1Ew_u6.js} +2 -1
- package/dist/{drag_handle-Cc938wbp.js → drag_handle-CCjTexiG.js} +2 -1
- package/dist/{drag_handle-BufBe6Uw.js → drag_handle-CSAsf1Tk.js} +2 -1
- package/dist/{drag_indicator-ekZyuG1q.js → drag_indicator-BH0WhhN4.js} +2 -1
- package/dist/{drag_indicator-DT9p9q4p.js → drag_indicator-CJQBuyRj.js} +2 -1
- package/dist/{edit-SVv9Q4nL.js → edit-MgFCuBNQ.js} +2 -1
- package/dist/{edit-CuzOq4rd.js → edit-jX6NNLPk.js} +2 -1
- package/dist/{emergency-CmnweaLn.js → emergency-BFPrbMbK.js} +2 -1
- package/dist/{emergency-DpFjNLHg.js → emergency-fQbaIK4w.js} +2 -1
- package/dist/{family_restroom-B3KN27wZ.js → family_restroom-D70pHe2a.js} +2 -1
- package/dist/{family_restroom-KLlcfltB.js → family_restroom-wEp2GU0w.js} +2 -1
- package/dist/{favorite-DEOkC0Bx.js → favorite-CGzqftTR.js} +2 -1
- package/dist/{favorite-qxA7_cca.js → favorite-D5Kud2hE.js} +2 -1
- package/dist/{filter_list-dm3IiIw0.js → filter_list-Cp0yKGE4.js} +2 -1
- package/dist/{filter_list-CyMTL5fW.js → filter_list-oBCpOrSD.js} +2 -1
- package/dist/{fitness_center-CC-d7NL8.js → fitness_center-Cy3Jg136.js} +2 -1
- package/dist/{fitness_center-RN0MaLNZ.js → fitness_center-DFalYdT8.js} +2 -1
- package/dist/{flight-C_4De5Y8.js → flight-BRnb5bJN.js} +2 -1
- package/dist/{flight-DJiL1ZL5.js → flight-Sq1R4P4N.js} +2 -1
- package/dist/{hiking-BfKY2ukX.js → hiking-CIsVPiSa.js} +2 -1
- package/dist/{hiking-Dyp8Df_G.js → hiking-DZpTUdoK.js} +2 -1
- package/dist/{home-CoY1iTiJ.js → home-ksFtIQ2F.js} +2 -1
- package/dist/{home-Ba8s8g_D.js → home-ytyD_rY9.js} +2 -1
- package/dist/{hotel-B8C8Qlu7.js → hotel-BTJ75Y--.js} +2 -1
- package/dist/{hotel-BPXCZZOB.js → hotel-BleyNfcl.js} +2 -1
- package/dist/{image-BJSLAs64.js → image-DJGkuiHl.js} +2 -1
- package/dist/{image-BToO0yUV.js → image-DPVSEOjy.js} +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -25
- package/dist/{key-fmW_n9aQ.js → key-DDsqEVLy.js} +2 -1
- package/dist/{key-Bt7Vv5DO.js → key-DUMqZolm.js} +2 -1
- package/dist/{keyboard_arrow_down-D4dgMPwN.js → keyboard_arrow_down-CmhdsGR0.js} +2 -1
- package/dist/{keyboard_arrow_down-BnyWK-fU.js → keyboard_arrow_down-DUzfoxBf.js} +2 -1
- package/dist/{keyboard_arrow_left-CrT8-der.js → keyboard_arrow_left-D5-UXrRT.js} +2 -1
- package/dist/{keyboard_arrow_left-DhQ64Nuq.js → keyboard_arrow_left-DbBZoJym.js} +2 -1
- package/dist/{keyboard_arrow_right-CpMlKice.js → keyboard_arrow_right-CVc7r6m4.js} +2 -1
- package/dist/{keyboard_arrow_right-9PYjOByS.js → keyboard_arrow_right-DA3EDFIi.js} +2 -1
- package/dist/{keyboard_arrow_up-BnizXqA4.js → keyboard_arrow_up-CAx_p6IE.js} +2 -1
- package/dist/{keyboard_arrow_up-CCgawFRO.js → keyboard_arrow_up-DbFTiHxW.js} +2 -1
- package/dist/{keyboard_double_arrow_left-B_2y3Ht4.js → keyboard_double_arrow_left-Cq-hW20X.js} +2 -1
- package/dist/{keyboard_double_arrow_left-BF6zU6bw.js → keyboard_double_arrow_left-DvHuc67V.js} +2 -1
- package/dist/{keyboard_double_arrow_right-DKKfeQkD.js → keyboard_double_arrow_right-BaXuQJdM.js} +2 -1
- package/dist/{keyboard_double_arrow_right-BLjb8tDz.js → keyboard_double_arrow_right-CIA6VRuX.js} +2 -1
- package/dist/{language-52-v5YWD.js → language-DoO3pudk.js} +2 -1
- package/dist/{language-CpboIcGR.js → language-Z_LllhiT.js} +2 -1
- package/dist/{light_mode-BfjR3ehC.js → light_mode-7whzRp4h.js} +2 -1
- package/dist/{light_mode-D7tesPdi.js → light_mode-D0qhOULS.js} +2 -1
- package/dist/{liquor-DFBN6V2L.js → liquor-B4gtFvv6.js} +2 -1
- package/dist/{liquor-DEFZlXiY.js → liquor-_iGP0siy.js} +2 -1
- package/dist/{local_convenience_store-BVPhUWyN.js → local_convenience_store-CoM_pcC-.js} +2 -1
- package/dist/{local_convenience_store-VooSxFR7.js → local_convenience_store-D_6nVugd.js} +2 -1
- package/dist/{local_dining-BaVq9N5C.js → local_dining--rxEkSh6.js} +2 -1
- package/dist/{local_dining-CC_8qUYw.js → local_dining-BrdGDDyt.js} +2 -1
- package/dist/{local_florist-B-T7_ZUe.js → local_florist-BdX8h1WC.js} +2 -1
- package/dist/{local_florist-_5WIAVnr.js → local_florist-DKmog42c.js} +2 -1
- package/dist/{local_mall-B4kHK9Gy.js → local_mall-BkYyNUqw.js} +2 -1
- package/dist/{local_mall-D9SrQssA.js → local_mall-MRCDBd1Z.js} +2 -1
- package/dist/{local_shipping-ywoIF-ai.js → local_shipping-DnDPf-JZ.js} +2 -1
- package/dist/{local_shipping-6inEJZd-.js → local_shipping-JbfSq7fd.js} +2 -1
- package/dist/{local_taxi-D5c1hPAs.js → local_taxi-D7KtwE7S.js} +2 -1
- package/dist/{local_taxi-4eg_19Dr.js → local_taxi-xq-APFdR.js} +2 -1
- package/dist/{logout-BPgfB1RA.js → logout-B-SGWbA0.js} +2 -1
- package/dist/{logout-Cen6gk64.js → logout-CA3aq5AS.js} +2 -1
- package/dist/{luggage-gDYixT05.js → luggage-CLDWWe7g.js} +2 -1
- package/dist/{luggage-CIDfCXcO.js → luggage-hxmo1e5B.js} +2 -1
- package/dist/{medical_services-DRLomvfV.js → medical_services-30HMGuZm.js} +2 -1
- package/dist/{medical_services-BMnL9Hf0.js → medical_services-BrIW9Wlb.js} +2 -1
- package/dist/{more_horiz-HZRFuje3.js → more_horiz-DaweDpbj.js} +2 -1
- package/dist/{more_horiz-BowsYrHH.js → more_horiz-DuVZ8Hbd.js} +2 -1
- package/dist/{more_vert-LubuX24o.js → more_vert-BuRZlRdH.js} +2 -1
- package/dist/{more_vert-D6N5BYNw.js → more_vert-LQMmaXbK.js} +2 -1
- package/dist/{museum-BMO7HIgV.js → museum-C25ZKzOo.js} +2 -1
- package/dist/{museum-jv6Fapno.js → museum-Ctwglpgd.js} +2 -1
- package/dist/{nightlife-CH3YoSri.js → nightlife-BjBQjMTt.js} +2 -1
- package/dist/{nightlife-DvAmD_6n.js → nightlife-DALODvah.js} +2 -1
- package/dist/{notifications-DwrssYIB.js → notifications-BGh1eCk0.js} +2 -1
- package/dist/{notifications-BNg2pGu6.js → notifications-uMOpwIBb.js} +2 -1
- package/dist/{paid-DzQXZ21o.js → paid-DJ4LyArv.js} +2 -1
- package/dist/{paid-Cmx5Gm0T.js → paid-b4sjJ7Mn.js} +2 -1
- package/dist/{palette-BaM5P-uu.js → palette-BMWwXzx_.js} +2 -1
- package/dist/{palette-Cx_gowSh.js → palette-CYdvb7AL.js} +2 -1
- package/dist/{payments-SJiRf-3B.js → payments-CzQR5E7T.js} +2 -1
- package/dist/{payments-BS5LaM6l.js → payments-ToBupJUB.js} +2 -1
- package/dist/{pedal_bike-dXPfkUSG.js → pedal_bike-C6wJxF3X.js} +2 -1
- package/dist/{pedal_bike-DS9OXy6T.js → pedal_bike-CycNXRhB.js} +2 -1
- package/dist/{phone_iphone-Jn5mUcAU.js → phone_iphone-mCdV3m_Y.js} +2 -1
- package/dist/{phone_iphone-Drjw9kyk.js → phone_iphone-pkLRXxcg.js} +2 -1
- package/dist/{photo_camera-CkjGaV59.js → photo_camera-Bv8cj2DP.js} +2 -1
- package/dist/{photo_camera-DyUgsTIR.js → photo_camera-DIls2mt9.js} +2 -1
- package/dist/{priority_high-BC6iSZTu.js → priority_high-Dc0nnZDJ.js} +2 -1
- package/dist/{priority_high-56QhMKOC.js → priority_high-_V-92NeV.js} +2 -1
- package/dist/{ramen_dining-BERpQdUU.js → ramen_dining-Cg_hHZ62.js} +2 -1
- package/dist/{ramen_dining-BnjNsY8l.js → ramen_dining-DDijlOTS.js} +2 -1
- package/dist/{remove-BwkynUz8.js → remove-BkPqKAH0.js} +2 -1
- package/dist/{remove-BoMXjU8j.js → remove-CkgPqY2G.js} +2 -1
- package/dist/{restaurant-C3kYT1pX.js → restaurant-BbAhHpIL.js} +2 -1
- package/dist/{restaurant-BRki4Z_b.js → restaurant-BgZQKwAE.js} +2 -1
- package/dist/{sailing-CUuK_mdJ.js → sailing-9mYnUpyD.js} +2 -1
- package/dist/{sailing-BVzd3Yw6.js → sailing-CH2WplcU.js} +2 -1
- package/dist/{school-Bai17sP2.js → school-BhQtXoZ4.js} +2 -1
- package/dist/{school-DqyARVmh.js → school-BmYrQbKC.js} +2 -1
- package/dist/{search-l1kG41Sc.js → search-C9jPs_WJ.js} +2 -1
- package/dist/{search-CcXvCUkm.js → search-CwfCD_cN.js} +2 -1
- package/dist/{settings-nrE4YRgL.js → settings-BXHasWZ_.js} +2 -1
- package/dist/{settings-CcUpNkTH.js → settings-dKggSubL.js} +2 -1
- package/dist/{shopping_cart-B-NlNPiR.js → shopping_cart-BdiDaMJa.js} +2 -1
- package/dist/{shopping_cart-KMMms5VN.js → shopping_cart-im_u263M.js} +2 -1
- package/dist/{spa-DN1Mn8bz.js → spa-Io8deEpn.js} +2 -1
- package/dist/{spa-Be7VgpaE.js → spa-i-sfVE4O.js} +2 -1
- package/dist/{sports_bar-vuyxzqar.js → sports_bar-CsvYXy6k.js} +2 -1
- package/dist/{sports_bar-MQX8F5Zf.js → sports_bar-D6OWYSX2.js} +2 -1
- package/dist/{sports_basketball-BUVZEN3_.js → sports_basketball-BD72tYCt.js} +2 -1
- package/dist/{sports_basketball-CtVt_X_l.js → sports_basketball-CZUfGORO.js} +2 -1
- package/dist/{sports_esports-DUDO5lDe.js → sports_esports-DN_FAF-r.js} +2 -1
- package/dist/{sports_esports-BJt8B991.js → sports_esports-D_6PBbRO.js} +2 -1
- package/dist/{sports_mma-BAF7lZI7.js → sports_mma-BPfau8mM.js} +2 -1
- package/dist/{sports_mma-CdM8knJL.js → sports_mma-CapZTk8U.js} +2 -1
- package/dist/{star-RAIJVmbp.js → star-D9yqnkQb.js} +2 -1
- package/dist/{star-i_70w1pe.js → star-OmuqhgCR.js} +2 -1
- package/dist/{store-BeWM3jUf.js → store-CrZ8GX9I.js} +2 -1
- package/dist/{store-5DAAEf5M.js → store-D0QR2a7Q.js} +2 -1
- package/dist/{storefront-BlTCwZ3v.js → storefront-DX77axJA.js} +2 -1
- package/dist/{storefront-DTtlr_xi.js → storefront-DefJd4hU.js} +2 -1
- package/dist/style.css +1 -1
- package/dist/{table_rows-D5128dCH.js → table_rows-BRh8OjP3.js} +2 -1
- package/dist/{table_rows-CvDwC4iW.js → table_rows-n20uf-mV.js} +2 -1
- package/dist/{train-CQNTe9Qp.js → train---bxhtsh.js} +2 -1
- package/dist/{train-YCiGuvbT.js → train-C_K6jBta.js} +2 -1
- package/dist/{travel_explore-OMMCq3pa.js → travel_explore-CGAVeP7N.js} +2 -1
- package/dist/{travel_explore-CgOHWIio.js → travel_explore-DASqNY5E.js} +2 -1
- package/dist/{tv-DCFPE0jx.js → tv-CZNBvHWU.js} +2 -1
- package/dist/{tv-Ddejutmx.js → tv-DOTKkCQ3.js} +2 -1
- package/dist/{vaccines-BQ_WEIlq.js → vaccines-C3ejQMry.js} +2 -1
- package/dist/{vaccines-CfBRCxNm.js → vaccines-DPz-Vvlr.js} +2 -1
- package/dist/{videogame_asset-D27Cz601.js → videogame_asset-BvsLBch2.js} +2 -1
- package/dist/{videogame_asset-CedIMUis.js → videogame_asset-DLzDqatI.js} +2 -1
- package/dist/{visibility-D2aBaum9.js → visibility-BQGvHowR.js} +2 -1
- package/dist/{visibility-DU-oBxte.js → visibility-DjqJXfAb.js} +2 -1
- package/dist/{visibility_off-C2i2mzoe.js → visibility_off-CAxP4CIc.js} +2 -1
- package/dist/{visibility_off-CWKymtPv.js → visibility_off-Dbaxthhl.js} +2 -1
- package/dist/{watch-pa19WTfu.js → watch-Bhdosh3B.js} +2 -1
- package/dist/{watch-BeazuqvT.js → watch-DtMTtb1o.js} +2 -1
- package/package.json +1 -1
- package/dist/MudaButton-Bw6Fw2-Y.js +0 -42
- package/dist/MudaFormCheckbox-CDY-INi6.js +0 -43
- package/dist/MudaFormRadioGroup-45qiNrzt.js +0 -48
- package/dist/MudaFormSwitch-CtdB9qIP.js +0 -33
- package/dist/MudaIcon-D_siyzw0.js +0 -254
- package/dist/MudaSpinner-BDVO7tdO.js +0 -26
- package/dist/MudaTag-DLqit790.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b2c6b22: Prefix component Tailwind styles, export shared component variants, and align migrated component behavior.
|
|
8
|
+
|
|
9
|
+
## 0.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 60219a2: Prefix Muda color tokens and their Tailwind utilities with `muda-` to avoid collisions with application themes.
|
|
14
|
+
|
|
3
15
|
## 0.1.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createBlock as e, defineComponent as t, mergeProps as n, openBlock as r, renderSlot as i, resolveDynamicComponent as a, withCtx as o } from "vue";
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/components/MudaButton/MudaButton.vue
|
|
4
|
+
var s = /* @__PURE__ */ t({
|
|
5
|
+
__name: "MudaButton",
|
|
6
|
+
props: {
|
|
7
|
+
size: { default: "medium" },
|
|
8
|
+
variant: { default: "default" },
|
|
9
|
+
disabled: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
as: { default: "button" }
|
|
14
|
+
},
|
|
15
|
+
setup(t) {
|
|
16
|
+
let s = t;
|
|
17
|
+
return (t, c) => (r(), e(a(s.as), n(t.$attrs, {
|
|
18
|
+
disabled: s.disabled,
|
|
19
|
+
class: ["muda:flex muda:items-center muda:justify-center muda:gap-1 muda:focus-visible:outline-2 muda:focus-visible:outline-offset-2", {
|
|
20
|
+
"muda-link-reset": s.as === "a",
|
|
21
|
+
"muda-button-reset": s.as === "button",
|
|
22
|
+
"muda:rounded-md muda:font-semibold muda:shadow-xs": !0,
|
|
23
|
+
"muda:px-2.5 muda:py-1.5 muda:text-xs": s.size === "small",
|
|
24
|
+
"muda:px-3 muda:py-2 muda:text-sm": s.size === "medium",
|
|
25
|
+
"muda:px-3.5 muda:py-2.5 muda:text-sm": s.size === "large",
|
|
26
|
+
"muda:cursor-pointer": !s.disabled,
|
|
27
|
+
"muda:cursor-not-allowed": s.disabled,
|
|
28
|
+
"muda:border muda:border-secondary-light muda:bg-form-background": s.variant === "default",
|
|
29
|
+
"muda:border muda:border-primary-dark muda:bg-primary muda:fill-white muda:text-white muda:hover:bg-primary-dark muda:focus-visible:bg-primary muda:disabled:border-primary-dark/20 muda:disabled:bg-primary-light/70": s.variant === "primary",
|
|
30
|
+
"muda:border muda:border-secondary-dark muda:bg-secondary muda:fill-white muda:text-white muda:hover:bg-secondary-dark muda:focus-visible:bg-secondary muda:disabled:border-secondary-dark/20 muda:disabled:bg-secondary-light/70": s.variant === "secondary",
|
|
31
|
+
"muda:border muda:border-success-dark muda:bg-success muda:fill-white muda:text-white muda:hover:bg-success-dark muda:focus-visible:bg-success muda:disabled:border-success-dark/20 muda:disabled:bg-success-light/70": s.variant === "success",
|
|
32
|
+
"muda:border muda:border-warning-dark muda:bg-warning muda:fill-white muda:text-white muda:hover:bg-warning-dark muda:focus-visible:bg-warning muda:disabled:border-warning-dark/20 muda:disabled:bg-warning-light/70": s.variant === "warning",
|
|
33
|
+
"muda:border muda:border-danger-dark muda:bg-danger muda:fill-white muda:text-white muda:hover:bg-danger-dark muda:focus-visible:bg-danger muda:disabled:border-danger-dark/20 muda:disabled:bg-danger-light/70": s.variant === "danger",
|
|
34
|
+
"muda:border muda:border-info-dark muda:bg-info muda:fill-white muda:text-white muda:hover:bg-info-dark muda:focus-visible:bg-info muda:disabled:border-info-dark/20 muda:disabled:bg-info-light/70": s.variant === "info"
|
|
35
|
+
}]
|
|
36
|
+
}), {
|
|
37
|
+
default: o(() => [i(t.$slots, "default")]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 16, ["disabled", "class"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { s as t };
|
|
@@ -6,9 +6,9 @@ var a = /* @__PURE__ */ t({
|
|
|
6
6
|
props: { layout: {} },
|
|
7
7
|
setup(t) {
|
|
8
8
|
let a = t;
|
|
9
|
-
return (t, o) => (r(), e("div", { class: n(["flex justify-start gap-px", {
|
|
9
|
+
return (t, o) => (r(), e("div", { class: n(["muda:flex muda:justify-start muda:gap-px", {
|
|
10
10
|
"muda-button-stack-h": a.layout === "horizontal",
|
|
11
|
-
"muda-button-stack-v flex-col": a.layout === "vertical"
|
|
11
|
+
"muda-button-stack-v muda:flex-col": a.layout === "vertical"
|
|
12
12
|
}]) }, [i(t.$slots, "default")], 2));
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./keymap-BzfMgdJH.js";
|
|
2
|
-
import { t } from "./MudaIcon-
|
|
3
|
-
import { t as n } from "./MudaFormInput-
|
|
4
|
-
import { t as r } from "./MudaPopover-
|
|
2
|
+
import { t } from "./MudaIcon-BwqQQnti.js";
|
|
3
|
+
import { t as n } from "./MudaFormInput-D1-kQq9y.js";
|
|
4
|
+
import { t as r } from "./MudaPopover-C1fDWbPf.js";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, normalizeClass as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, toRefs as x, unref as S, useModel as C, useTemplateRef as w, vModelText as T, watch as E, withCtx as D, withDirectives as O, withModifiers as k } from "vue";
|
|
6
6
|
import A from "dayjs";
|
|
7
7
|
import j from "dayjs/plugin/customParseFormat.js";
|
|
@@ -88,25 +88,20 @@ function J(e, t, n, r, i) {
|
|
|
88
88
|
}
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/MudaCalendar/MudaCalendarWeekDays.vue?vue&type=script&setup=true&lang.ts
|
|
91
|
-
var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
91
|
+
var Y = { class: "muda:grid muda:grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
92
92
|
__name: "MudaCalendarWeekDays",
|
|
93
93
|
props: { locale: {} },
|
|
94
94
|
setup(e) {
|
|
95
95
|
let { locale: t } = x(e), n = U(t);
|
|
96
96
|
return (e, t) => (_(), c("div", Y, [(_(!0), c(i, null, y(S(n), (e) => (_(), c("div", {
|
|
97
97
|
key: e.name,
|
|
98
|
-
class: g(["flex min-h-10 min-w-10 items-center justify-center font-bold", {
|
|
99
|
-
"text-danger": e.isWeekend,
|
|
100
|
-
"text-secondary-dark": !e.isWeekend
|
|
98
|
+
class: g(["muda:flex muda:min-h-10 muda:min-w-10 muda:items-center muda:justify-center muda:font-bold", {
|
|
99
|
+
"muda:text-danger": e.isWeekend,
|
|
100
|
+
"muda:text-secondary-dark": !e.isWeekend
|
|
101
101
|
}])
|
|
102
102
|
}, b(e.name), 3))), 128))]));
|
|
103
103
|
}
|
|
104
|
-
}), Z = { class: "inline-flex flex-col" }, re = { class: "isolate grid grid-cols-7 gap-1" }, ie = [
|
|
105
|
-
"disabled",
|
|
106
|
-
"aria-selected",
|
|
107
|
-
"aria-current",
|
|
108
|
-
"onClick"
|
|
109
|
-
], ae = ["datetime"], Q = /* @__PURE__ */ p({
|
|
104
|
+
}), Z = { class: "muda:inline-flex muda:flex-col" }, re = { class: "muda:isolate muda:grid muda:grid-cols-7 muda:gap-1" }, ie = ["disabled", "onClick"], ae = ["datetime"], Q = /* @__PURE__ */ p({
|
|
110
105
|
__name: "MudaCalendarDays",
|
|
111
106
|
props: /*@__PURE__*/ m({
|
|
112
107
|
today: {},
|
|
@@ -131,22 +126,20 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
131
126
|
type: "button",
|
|
132
127
|
tabindex: "-1",
|
|
133
128
|
disabled: e.disabled || t.disabled,
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"text-
|
|
139
|
-
"
|
|
140
|
-
"font-bold text-warning": e.isToday,
|
|
141
|
-
"after:absolute after:top-0 after:right-0 after:bottom-0 after:left-0 after:rounded-lg after:border-2 after:border-primary": t.keyboard && S(p)(e.value, r.value)
|
|
129
|
+
class: g(["muda-button-reset muda:relative muda:flex muda:size-min muda:w-full muda:items-center muda:justify-center muda:rounded-md muda:disabled:text-secondary-light", {
|
|
130
|
+
"muda:text-secondary-dark muda:hover:bg-primary-light muda:hover:text-white": !(e.disabled || t.disabled),
|
|
131
|
+
"muda:text-secondary-light": !e.isCurrentMonth,
|
|
132
|
+
"muda:bg-primary muda:text-white": S(p)(e.value, n.value),
|
|
133
|
+
"muda:font-bold muda:text-warning": e.isToday,
|
|
134
|
+
"muda:after:absolute muda:after:top-0 muda:after:right-0 muda:after:bottom-0 muda:after:left-0 muda:after:rounded-lg muda:after:border-2 muda:after:border-primary": t.keyboard && S(p)(e.value, r.value)
|
|
142
135
|
}]),
|
|
143
136
|
onClick: k((t) => m(e), ["stop"])
|
|
144
137
|
}, [l("time", {
|
|
145
|
-
class: "flex min-h-10 items-center justify-center",
|
|
138
|
+
class: "muda:flex muda:min-h-10 muda:items-center muda:justify-center",
|
|
146
139
|
datetime: e.value
|
|
147
140
|
}, b(e.label), 9, ae)], 10, ie))), 128))])]));
|
|
148
141
|
}
|
|
149
|
-
}), oe = ["disabled"], se = ["disabled"], ce = { class: "col-span-3 flex flex-1 items-center justify-center gap-2" }, le = ["disabled"], ue = ["disabled"], de = ["disabled"], fe = ["disabled"], pe = ["disabled"], me = /* @__PURE__ */ p({
|
|
142
|
+
}), oe = ["disabled"], se = ["disabled"], ce = { class: "muda:col-span-3 muda:flex muda:flex-1 muda:items-center muda:justify-center muda:gap-2" }, le = ["disabled"], ue = ["disabled"], de = ["disabled"], fe = ["disabled"], pe = ["disabled"], me = /* @__PURE__ */ p({
|
|
150
143
|
__name: "MudaCalendarHead",
|
|
151
144
|
props: /*@__PURE__*/ m({
|
|
152
145
|
locale: {},
|
|
@@ -171,75 +164,63 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
171
164
|
let n = e.add(9, "year");
|
|
172
165
|
return `${e.format(R)} ~ ${n.format(R)}`;
|
|
173
166
|
});
|
|
174
|
-
return (e, r) => (_(), c("div", { class: g(["grid", {
|
|
175
|
-
"grid-cols-7": o.value === "days",
|
|
176
|
-
"grid-cols-5": o.value !== "days"
|
|
167
|
+
return (e, r) => (_(), c("div", { class: g(["muda:grid", {
|
|
168
|
+
"muda:grid-cols-7": o.value === "days",
|
|
169
|
+
"muda:grid-cols-5": o.value !== "days"
|
|
177
170
|
}]) }, [
|
|
178
171
|
l("button", {
|
|
179
172
|
type: "button",
|
|
180
|
-
class: "muda-button-reset flex items-center justify-center fill-primary hover:fill-primary-dark disabled:fill-secondary-light",
|
|
173
|
+
class: "muda-button-reset muda:flex muda:items-center muda:justify-center muda:fill-primary muda:hover:fill-primary-dark muda:disabled:fill-secondary-light",
|
|
181
174
|
tabindex: "-1",
|
|
182
175
|
disabled: n.disabled,
|
|
183
|
-
"aria-label": "Previous year",
|
|
184
176
|
onClick: r[0] ||= (e) => u("year", o.value === "years" ? -S(10) : -1)
|
|
185
177
|
}, [f(S(t), { icon: "keyboard_double_arrow_left:outlined" })], 8, oe),
|
|
186
178
|
o.value === "days" ? (_(), c("button", {
|
|
187
179
|
key: 0,
|
|
188
180
|
type: "button",
|
|
189
|
-
class: "muda-button-reset flex items-center justify-center fill-primary hover:fill-primary-dark disabled:fill-secondary-light",
|
|
181
|
+
class: "muda-button-reset muda:flex muda:items-center muda:justify-center muda:fill-primary muda:hover:fill-primary-dark muda:disabled:fill-secondary-light",
|
|
190
182
|
tabindex: "-1",
|
|
191
183
|
disabled: n.disabled,
|
|
192
|
-
"aria-label": "Previous month",
|
|
193
184
|
onClick: r[1] ||= (e) => u("month", -1)
|
|
194
185
|
}, [f(S(t), { icon: "keyboard_arrow_left:outlined" })], 8, se)) : s("", !0),
|
|
195
186
|
l("div", ce, [o.value === "days" ? (_(), c(i, { key: 0 }, [l("button", {
|
|
196
187
|
type: "button",
|
|
197
|
-
class: "muda-button-reset font-semibold text-primary hover:text-primary-dark disabled:text-secondary-light",
|
|
188
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
198
189
|
tabindex: "-1",
|
|
199
190
|
disabled: n.disabled,
|
|
200
|
-
"aria-label": "Choose year",
|
|
201
191
|
onClick: r[2] ||= (e) => o.value = "years"
|
|
202
192
|
}, b(p.value.format(S(R))), 9, le), l("button", {
|
|
203
193
|
type: "button",
|
|
204
|
-
class: "muda-button-reset font-semibold text-primary hover:text-primary-dark disabled:text-secondary-light",
|
|
194
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
205
195
|
tabindex: "-1",
|
|
206
196
|
disabled: n.disabled,
|
|
207
|
-
"aria-label": "Choose month",
|
|
208
197
|
onClick: r[3] ||= (e) => o.value = "months"
|
|
209
198
|
}, b(p.value.format(S("MMM"))), 9, ue)], 64)) : o.value === "months" ? (_(), c("button", {
|
|
210
199
|
key: 1,
|
|
211
200
|
type: "button",
|
|
212
|
-
class: "muda-button-reset font-semibold text-primary hover:text-primary-dark disabled:text-secondary-light",
|
|
201
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
213
202
|
tabindex: "-1",
|
|
214
203
|
disabled: n.disabled,
|
|
215
|
-
"aria-label": "Choose year",
|
|
216
204
|
onClick: r[4] ||= (e) => o.value = "years"
|
|
217
205
|
}, b(p.value.format(S(R))), 9, de)) : o.value === "years" ? (_(), c(i, { key: 2 }, [d(b(m.value), 1)], 64)) : s("", !0)]),
|
|
218
206
|
o.value === "days" ? (_(), c("button", {
|
|
219
207
|
key: 1,
|
|
220
208
|
type: "button",
|
|
221
|
-
class: "muda-button-reset flex items-center justify-center fill-primary hover:fill-primary-dark disabled:fill-secondary-light",
|
|
209
|
+
class: "muda-button-reset muda:flex muda:items-center muda:justify-center muda:fill-primary muda:hover:fill-primary-dark muda:disabled:fill-secondary-light",
|
|
222
210
|
tabindex: "-1",
|
|
223
211
|
disabled: n.disabled,
|
|
224
|
-
"aria-label": "Next month",
|
|
225
212
|
onClick: r[5] ||= (e) => u("month", 1)
|
|
226
213
|
}, [f(S(t), { icon: "keyboard_arrow_right:outlined" })], 8, fe)) : s("", !0),
|
|
227
214
|
l("button", {
|
|
228
215
|
type: "button",
|
|
229
|
-
class: "muda-button-reset flex items-center justify-center fill-primary hover:fill-primary-dark disabled:fill-secondary-light",
|
|
216
|
+
class: "muda-button-reset muda:flex muda:items-center muda:justify-center muda:fill-primary muda:hover:fill-primary-dark muda:disabled:fill-secondary-light",
|
|
230
217
|
tabindex: "-1",
|
|
231
218
|
disabled: n.disabled,
|
|
232
|
-
"aria-label": "Next year",
|
|
233
219
|
onClick: r[6] ||= (e) => u("year", o.value === "years" ? S(10) : 1)
|
|
234
220
|
}, [f(S(t), { icon: "keyboard_double_arrow_right:outlined" })], 8, pe)
|
|
235
221
|
], 2));
|
|
236
222
|
}
|
|
237
|
-
}), he = { class: "flex" }, ge = { class: "relative grid flex-1 grid-cols-[repeat(4,1fr)]" }, _e = [
|
|
238
|
-
"disabled",
|
|
239
|
-
"aria-selected",
|
|
240
|
-
"aria-current",
|
|
241
|
-
"onClick"
|
|
242
|
-
], ve = ["datetime"], ye = /* @__PURE__ */ p({
|
|
223
|
+
}), he = { class: "muda:flex" }, ge = { class: "muda:relative muda:grid muda:flex-1 muda:grid-cols-[repeat(4,1fr)]" }, _e = ["disabled", "onClick"], ve = ["datetime"], ye = /* @__PURE__ */ p({
|
|
243
224
|
__name: "MudaCalendarMonths",
|
|
244
225
|
props: /*@__PURE__*/ m({
|
|
245
226
|
today: {},
|
|
@@ -263,25 +244,18 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
263
244
|
type: "button",
|
|
264
245
|
tabindex: "-1",
|
|
265
246
|
disabled: e.disabled || n.disabled,
|
|
266
|
-
"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"
|
|
270
|
-
"bg-primary text-white": S(m)(e.value, r.value),
|
|
271
|
-
"font-bold text-warning": e.isToday
|
|
247
|
+
class: g(["muda-button-reset muda:flex muda:items-center muda:justify-center muda:rounded-md muda:py-5 muda:disabled:text-secondary-light", {
|
|
248
|
+
"muda:text-secondary-dark muda:hover:bg-primary-light muda:hover:text-white": !(e.disabled || n.disabled),
|
|
249
|
+
"muda:bg-primary muda:text-white": S(m)(e.value, r.value),
|
|
250
|
+
"muda:font-bold muda:text-warning": e.isToday
|
|
272
251
|
}]),
|
|
273
252
|
onClick: k((t) => h(e), ["prevent"])
|
|
274
253
|
}, [l("time", {
|
|
275
|
-
class: "flex items-center justify-center",
|
|
254
|
+
class: "muda:flex muda:items-center muda:justify-center",
|
|
276
255
|
datetime: e.value
|
|
277
256
|
}, b(e.label), 9, ve)], 10, _e))), 128))])]));
|
|
278
257
|
}
|
|
279
|
-
}), be = { class: "grid grid-cols-[repeat(2,1fr)]" }, xe = [
|
|
280
|
-
"disabled",
|
|
281
|
-
"aria-selected",
|
|
282
|
-
"aria-current",
|
|
283
|
-
"onClick"
|
|
284
|
-
], Se = ["datetime"], Ce = /* @__PURE__ */ p({
|
|
258
|
+
}), be = { class: "muda:grid muda:grid-cols-[repeat(2,1fr)]" }, xe = ["disabled", "onClick"], Se = ["datetime"], Ce = /* @__PURE__ */ p({
|
|
285
259
|
__name: "MudaCalendarYears",
|
|
286
260
|
props: /*@__PURE__*/ m({
|
|
287
261
|
today: {},
|
|
@@ -305,16 +279,14 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
305
279
|
type: "button",
|
|
306
280
|
tabindex: "-1",
|
|
307
281
|
disabled: e.disabled || n.disabled,
|
|
308
|
-
"
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
"
|
|
312
|
-
"bg-primary text-white": S(m)(e.value, r.value),
|
|
313
|
-
"font-bold text-warning": e.isToday
|
|
282
|
+
class: g(["muda-button-reset muda:flex muda:items-center muda:justify-center muda:rounded-md muda:py-3 muda:disabled:text-secondary-light", {
|
|
283
|
+
"muda:text-secondary-dark muda:hover:bg-primary-light muda:hover:text-white": !(e.disabled || n.disabled),
|
|
284
|
+
"muda:bg-primary muda:text-white": S(m)(e.value, r.value),
|
|
285
|
+
"muda:font-bold muda:text-warning": e.isToday
|
|
314
286
|
}]),
|
|
315
287
|
onClick: k((t) => h(e), ["prevent"])
|
|
316
288
|
}, [l("time", {
|
|
317
|
-
class: "flex items-center justify-center",
|
|
289
|
+
class: "muda:flex muda:items-center muda:justify-center",
|
|
318
290
|
datetime: e.value
|
|
319
291
|
}, b(e.label), 9, Se)], 10, xe))), 128))]));
|
|
320
292
|
}
|
|
@@ -355,7 +327,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
355
327
|
};
|
|
356
328
|
return n({ handleKeydown: p }), (e, t) => (_(), c("div", {
|
|
357
329
|
tabindex: r.keyboard && !r.disabled ? 0 : void 0,
|
|
358
|
-
class: "flex flex-col text-gray-600",
|
|
330
|
+
class: "muda:flex muda:flex-col muda:text-gray-600",
|
|
359
331
|
onKeydown: k(p, ["stop"])
|
|
360
332
|
}, [f(me, {
|
|
361
333
|
modelValue: d.value,
|
|
@@ -439,8 +411,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
439
411
|
}), Te = ["tabindex"], Ee = [
|
|
440
412
|
"min",
|
|
441
413
|
"max",
|
|
442
|
-
"disabled"
|
|
443
|
-
"aria-invalid"
|
|
414
|
+
"disabled"
|
|
444
415
|
], De = /* @__PURE__ */ p({
|
|
445
416
|
inheritAttrs: !1,
|
|
446
417
|
__name: "MudaCalendar",
|
|
@@ -472,9 +443,9 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
472
443
|
onBlur: r[3] ||= (e) => o.value = !1,
|
|
473
444
|
onKeydown: d,
|
|
474
445
|
ref: "root",
|
|
475
|
-
class: g(["rounded-md bg-foreground p-2 ring-1 focus:rounded-md focus:ring-2 focus:ring-primary-light focus:outline-hidden", {
|
|
476
|
-
"ring-danger": t.isInvalid,
|
|
477
|
-
"ring-secondary-light": !t.isInvalid
|
|
446
|
+
class: g(["muda:rounded-md muda:bg-foreground muda:p-2 muda:ring-1 muda:focus:rounded-md muda:focus:ring-2 muda:focus:ring-primary-light muda:focus:outline-hidden", {
|
|
447
|
+
"muda:ring-danger": t.isInvalid,
|
|
448
|
+
"muda:ring-secondary-light": !t.isInvalid
|
|
478
449
|
}])
|
|
479
450
|
}, [f($, {
|
|
480
451
|
modelValue: n.value,
|
|
@@ -497,8 +468,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
497
468
|
min: s.value,
|
|
498
469
|
max: u.value,
|
|
499
470
|
disabled: t.disabled,
|
|
500
|
-
"
|
|
501
|
-
class: "hidden"
|
|
471
|
+
class: "muda:hidden"
|
|
502
472
|
}), null, 16, Ee), [[T, n.value]])], 42, Te));
|
|
503
473
|
}
|
|
504
474
|
}), Oe = /* @__PURE__ */ p({
|
|
@@ -551,7 +521,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
551
521
|
"onUpdate:modelValue": i[1] ||= (e) => c.value = e,
|
|
552
522
|
ref_key: "pickerRef",
|
|
553
523
|
ref: p,
|
|
554
|
-
class: "w-76",
|
|
524
|
+
class: "muda:w-76",
|
|
555
525
|
keyboard: g.value,
|
|
556
526
|
locale: s.locale,
|
|
557
527
|
min: s.min,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
|
|
3
3
|
//#region src/components/MudaCard/MudaCard.vue
|
|
4
|
-
var i = {}, a = { class: "relative rounded-lg border border-secondary-light bg-foreground p-4" };
|
|
4
|
+
var i = {}, a = { class: "muda:relative muda:rounded-lg muda:border muda:border-secondary-light muda:bg-foreground muda:p-4" };
|
|
5
5
|
function o(e, i) {
|
|
6
6
|
return n(), t("div", a, [r(e.$slots, "default")]);
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./MudaButton-
|
|
1
|
+
import { t as e } from "./MudaButton-CWY0U8WO.js";
|
|
2
2
|
import { t } from "./keymap-BzfMgdJH.js";
|
|
3
|
-
import { t as n } from "./MudaIcon-
|
|
4
|
-
import { t as r } from "./MudaFormInput-
|
|
5
|
-
import { t as i } from "./MudaPopover-
|
|
3
|
+
import { t as n } from "./MudaIcon-BwqQQnti.js";
|
|
4
|
+
import { t as r } from "./MudaFormInput-D1-kQq9y.js";
|
|
5
|
+
import { t as i } from "./MudaPopover-C1fDWbPf.js";
|
|
6
6
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as o } from "./useKeyDown-B1jmp4nA.js";
|
|
8
8
|
import { createBlock as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeModels as p, mergeProps as m, normalizeStyle as h, openBlock as g, ref as _, toDisplayString as v, unref as y, useModel as b, watch as x, watchEffect as S, withCtx as C, withModifiers as w } from "vue";
|
|
@@ -28,10 +28,10 @@ var k = {
|
|
|
28
28
|
return S(() => {
|
|
29
29
|
r("change", o.value.hex);
|
|
30
30
|
}), (e, t) => (g(), c("div", {
|
|
31
|
-
class: "flex flex-col gap-4",
|
|
31
|
+
class: "muda:flex muda:flex-col muda:gap-4",
|
|
32
32
|
style: h({ width: `${n.size}px` })
|
|
33
33
|
}, [d(y(T), {
|
|
34
|
-
class: "color-picker-saturation relative w-full rounded-lg select-none",
|
|
34
|
+
class: "color-picker-saturation muda:relative muda:w-full muda:rounded-lg muda:select-none",
|
|
35
35
|
style: h({
|
|
36
36
|
backgroundColor: `hsl(${y(o).hsv.h}, 100%, 50%)`,
|
|
37
37
|
height: `${n.size}px`
|
|
@@ -39,25 +39,25 @@ var k = {
|
|
|
39
39
|
onChangePosition: y(a)
|
|
40
40
|
}, {
|
|
41
41
|
default: C(() => [d(y(D), {
|
|
42
|
-
class: "absolute h-4 w-4
|
|
42
|
+
class: "muda:absolute muda:h-4 muda:w-4 muda:-translate-x-2 muda:-translate-y-2 muda:rounded-full muda:border-2 muda:border-white muda:shadow-xs muda:shadow-gray-400",
|
|
43
43
|
"saturation-position": y(s),
|
|
44
44
|
hex: y(o).hex
|
|
45
45
|
}, null, 8, ["saturation-position", "hex"])]),
|
|
46
46
|
_: 1
|
|
47
47
|
}, 8, ["style", "onChangePosition"]), d(y(T), {
|
|
48
|
-
class: "color-picker-hue relative h-4 w-full rounded-lg select-none",
|
|
48
|
+
class: "color-picker-hue muda:relative muda:h-4 muda:w-full muda:rounded-lg muda:select-none",
|
|
49
49
|
onChangePosition: y(i)
|
|
50
50
|
}, {
|
|
51
51
|
default: C(() => [d(y(E), {
|
|
52
52
|
position: y(l),
|
|
53
53
|
hue: y(o).hsv.h,
|
|
54
54
|
direction: "horizontal",
|
|
55
|
-
class: "absolute h-4 w-4
|
|
55
|
+
class: "muda:absolute muda:h-4 muda:w-4 muda:-translate-x-2 muda:rounded-full muda:border-2 muda:border-white muda:shadow-xs muda:shadow-gray-400"
|
|
56
56
|
}, null, 8, ["position", "hue"])]),
|
|
57
57
|
_: 1
|
|
58
58
|
}, 8, ["onChangePosition"])], 4));
|
|
59
59
|
}
|
|
60
|
-
}), j = /*#__PURE__*/ a(A, [["__scopeId", "data-v-
|
|
60
|
+
}), j = /*#__PURE__*/ a(A, [["__scopeId", "data-v-bdb328ef"]]), M = { class: "muda:flex muda:flex-col muda:gap-2" }, N = /* @__PURE__ */ f({
|
|
61
61
|
inheritAttrs: !1,
|
|
62
62
|
__name: "MudaColorPicker",
|
|
63
63
|
props: /*@__PURE__*/ p({
|
|
@@ -11,7 +11,7 @@ var S = 0, C = "", w = (e) => {
|
|
|
11
11
|
!t || typeof document > "u" || (--S, t = !1, S === 0 && (document.body.style.overflow = C));
|
|
12
12
|
};
|
|
13
13
|
y(e, (e) => e ? n() : r(), { immediate: !0 }), p(r);
|
|
14
|
-
}, T = { class: "fixed inset-0 w-screen overflow-y-auto py-6" }, E = { class: "flex min-h-full items-center justify-center" }, D = /* @__PURE__ */ u({
|
|
14
|
+
}, T = { class: "muda:fixed muda:inset-0 muda:w-screen muda:overflow-y-auto muda:py-6" }, E = { class: "muda:flex muda:min-h-full muda:items-center muda:justify-center" }, D = /* @__PURE__ */ u({
|
|
15
15
|
inheritAttrs: !1,
|
|
16
16
|
__name: "MudaDialog",
|
|
17
17
|
props: {
|
|
@@ -33,22 +33,21 @@ var S = 0, C = "", w = (e) => {
|
|
|
33
33
|
y.value?.contains(e.target) || (p.value = !1);
|
|
34
34
|
};
|
|
35
35
|
return (e, t) => (m(), o(i, { to: "body" }, [l(a, {
|
|
36
|
-
"enter-active-class": "transition-opacity ease-linear duration-100",
|
|
37
|
-
"leave-active-class": "transition-opacity ease-linear duration-100",
|
|
38
|
-
"enter-from-class": "opacity-0",
|
|
39
|
-
"leave-to-class": "opacity-0"
|
|
36
|
+
"enter-active-class": "muda:transition-opacity muda:ease-linear muda:duration-100",
|
|
37
|
+
"leave-active-class": "muda:transition-opacity muda:ease-linear muda:duration-100",
|
|
38
|
+
"enter-from-class": "muda:opacity-0",
|
|
39
|
+
"leave-to-class": "muda:opacity-0"
|
|
40
40
|
}, {
|
|
41
41
|
default: b(() => [p.value ? (m(), o(g(r), {
|
|
42
42
|
key: 0,
|
|
43
|
-
"aria-modal": "true",
|
|
44
43
|
role: "dialog",
|
|
45
|
-
class: "fixed inset-0 bg-gray-500/30 backdrop-blur-xs transition-opacity",
|
|
44
|
+
class: "muda:fixed muda:inset-0 muda:bg-gray-500/30 muda:backdrop-blur-xs muda:transition-opacity",
|
|
46
45
|
style: f({ zIndex: g(S) }),
|
|
47
46
|
onClickCapture: C,
|
|
48
47
|
onWheel: t[0] ||= x(() => {}, ["stop"])
|
|
49
48
|
}, {
|
|
50
49
|
default: b(() => [c("div", T, [c("div", E, [c("div", d(e.$attrs, {
|
|
51
|
-
class: "rounded-lg bg-background p-4 focus:outline-hidden",
|
|
50
|
+
class: "muda:rounded-lg muda:bg-background muda:p-4 muda:focus:outline-hidden",
|
|
52
51
|
tabindex: "0",
|
|
53
52
|
ref: "dialog"
|
|
54
53
|
}), [h(e.$slots, "default")], 16)])])]),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./MudaIcon-
|
|
2
|
-
import { t } from "./MudaPopover-
|
|
1
|
+
import { t as e } from "./MudaIcon-BwqQQnti.js";
|
|
2
|
+
import { t } from "./MudaPopover-C1fDWbPf.js";
|
|
3
3
|
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, mergeModels as l, normalizeClass as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, useModel as g, useSlots as _, withCtx as v, withModifiers as y } from "vue";
|
|
4
4
|
//#region src/components/MudaDropdown/MudaDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var b = { class: "flex flex-col" }, x = ["onClick"], S = {
|
|
5
|
+
var b = { class: "muda:flex muda:flex-col" }, x = ["onClick"], S = {
|
|
6
6
|
key: 0,
|
|
7
|
-
class: "flex items-center gap-2"
|
|
7
|
+
class: "muda:flex muda:items-center muda:gap-2"
|
|
8
8
|
}, C = /* @__PURE__ */ c({
|
|
9
9
|
__name: "MudaDropdown",
|
|
10
10
|
props: /*@__PURE__*/ l({ items: {} }, {
|
|
@@ -27,14 +27,14 @@ var b = { class: "flex flex-col" }, x = ["onClick"], S = {
|
|
|
27
27
|
}, {
|
|
28
28
|
content: v(() => [o("div", b, [(d(!0), a(n, null, f(C.items, (t, n) => (d(), a("button", {
|
|
29
29
|
key: n,
|
|
30
|
-
class: u(["muda-button-reset flex w-full cursor-pointer items-center gap-2 rounded-md px-4 py-2 text-left text-sm", {
|
|
31
|
-
"fill-secondary text-secondary hover:bg-secondary-light": t.variant === "default" || t.variant == null,
|
|
32
|
-
"fill-primary text-primary hover:bg-primary hover:fill-white hover:text-white": t.variant === "primary",
|
|
33
|
-
"fill-secondary text-secondary hover:bg-secondary hover:fill-white hover:text-white": t.variant === "secondary",
|
|
34
|
-
"fill-success text-success hover:bg-success hover:fill-white hover:text-white": t.variant === "success",
|
|
35
|
-
"fill-danger text-danger hover:bg-danger hover:fill-white hover:text-white": t.variant === "danger",
|
|
36
|
-
"fill-warning text-warning hover:bg-warning hover:fill-white hover:text-white": t.variant === "warning",
|
|
37
|
-
"fill-info text-info hover:bg-info hover:fill-white hover:text-white": t.variant === "info"
|
|
30
|
+
class: u(["muda-button-reset muda:flex muda:w-full muda:cursor-pointer muda:items-center muda:gap-2 muda:rounded-md muda:px-4 muda:py-2 muda:text-left muda:text-sm", {
|
|
31
|
+
"muda:fill-secondary muda:text-secondary muda:hover:bg-secondary-light": t.variant === "default" || t.variant == null,
|
|
32
|
+
"muda:fill-primary muda:text-primary muda:hover:bg-primary muda:hover:fill-white muda:hover:text-white": t.variant === "primary",
|
|
33
|
+
"muda:fill-secondary muda:text-secondary muda:hover:bg-secondary muda:hover:fill-white muda:hover:text-white": t.variant === "secondary",
|
|
34
|
+
"muda:fill-success muda:text-success muda:hover:bg-success muda:hover:fill-white muda:hover:text-white": t.variant === "success",
|
|
35
|
+
"muda:fill-danger muda:text-danger muda:hover:bg-danger muda:hover:fill-white muda:hover:text-white": t.variant === "danger",
|
|
36
|
+
"muda:fill-warning muda:text-warning muda:hover:bg-warning muda:hover:fill-white muda:hover:text-white": t.variant === "warning",
|
|
37
|
+
"muda:fill-info muda:text-info muda:hover:bg-info muda:hover:fill-white muda:hover:text-white": t.variant === "info"
|
|
38
38
|
}]),
|
|
39
39
|
onClick: y((e) => D(t, n), ["prevent"])
|
|
40
40
|
}, [w.item == null ? (d(), a("span", S, [t.icon == null ? i("", !0) : (d(), r(h(e), {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as t, createElementVNode as n, defineComponent as r, openBlock as i, toDisplayString as a } from "vue";
|
|
2
2
|
//#region src/components/MudaErrorBox/MudaErrorBox.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var o = {
|
|
4
|
-
class: "flex flex-col gap-2",
|
|
5
|
-
role: "alert"
|
|
6
|
-
|
|
7
|
-
}, s = { class: "text-center text-4xl font-bold text-danger" }, c = { class: "text-center text-2xl font-semibold tracking-tight text-secondary-dark" }, l = /* @__PURE__ */ r({
|
|
4
|
+
class: "muda:flex muda:flex-col muda:gap-2",
|
|
5
|
+
role: "alert"
|
|
6
|
+
}, s = { class: "muda:text-center muda:text-4xl muda:font-bold muda:text-danger" }, c = { class: "muda:text-center muda:text-2xl muda:font-semibold muda:tracking-tight muda:text-secondary-dark" }, l = /* @__PURE__ */ r({
|
|
8
7
|
__name: "MudaErrorBox",
|
|
9
8
|
props: {
|
|
10
9
|
title: { default: "Error" },
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeModels as n, mergeProps as r, openBlock as i, useModel as a, vModelCheckbox as o, withDirectives as s } from "vue";
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/components/MudaFormCheckbox/MudaFormCheckbox.vue
|
|
4
|
+
var c = /* @__PURE__ */ t({
|
|
5
|
+
__name: "MudaFormCheckbox",
|
|
6
|
+
props: /*@__PURE__*/ n({ size: { default: "medium" } }, {
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: [
|
|
9
|
+
Boolean,
|
|
10
|
+
Array,
|
|
11
|
+
null
|
|
12
|
+
],
|
|
13
|
+
default: void 0
|
|
14
|
+
},
|
|
15
|
+
modelModifiers: {}
|
|
16
|
+
}),
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(t) {
|
|
19
|
+
let n = t, c = a(t, "modelValue");
|
|
20
|
+
return (t, a) => s((i(), e("input", r(t.$attrs, {
|
|
21
|
+
"onUpdate:modelValue": a[0] ||= (e) => c.value = e,
|
|
22
|
+
type: "checkbox",
|
|
23
|
+
"data-checked": "✓",
|
|
24
|
+
class: [
|
|
25
|
+
n.size === "small" && "muda:size-4 muda:before:text-xs",
|
|
26
|
+
n.size === "medium" && "muda:size-5 muda:before:text-lg",
|
|
27
|
+
n.size === "large" && "muda:size-6 muda:before:text-xl",
|
|
28
|
+
"muda-control-reset muda:bg-form-background",
|
|
29
|
+
"muda:relative muda:shrink-0 muda:cursor-pointer muda:appearance-none muda:outline-hidden muda:disabled:cursor-not-allowed",
|
|
30
|
+
"muda:rounded-xs muda:border muda:border-secondary-light muda:text-secondary-dark",
|
|
31
|
+
"muda:focus:ring-2 muda:focus:ring-primary-light muda:focus:outline-hidden",
|
|
32
|
+
"muda:disabled:border-secondary-dark/20 muda:disabled:text-secondary-light",
|
|
33
|
+
"muda:before:absolute muda:before:top-0 muda:before:right-0 muda:before:bottom-0 muda:before:left-0",
|
|
34
|
+
"muda:before:flex muda:before:items-center muda:before:justify-center",
|
|
35
|
+
"muda:before:text-sm muda:before:font-bold muda:before:text-primary",
|
|
36
|
+
"muda:checked:before:content-[attr(data-checked)]",
|
|
37
|
+
"muda:disabled:before:text-secondary-light"
|
|
38
|
+
]
|
|
39
|
+
}), null, 16)), [[o, c.value]]);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { c as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./keymap-BzfMgdJH.js";
|
|
2
|
-
import { t } from "./MudaIcon-
|
|
3
|
-
import { t as n } from "./MudaFormInput-
|
|
2
|
+
import { t } from "./MudaIcon-BwqQQnti.js";
|
|
3
|
+
import { t as n } from "./MudaFormInput-D1-kQq9y.js";
|
|
4
4
|
import { t as r } from "./useClickOutside-B6tdxsc3.js";
|
|
5
5
|
import { t as i } from "./useZIndex-DWnsohLZ.js";
|
|
6
6
|
import { t as a } from "./useKeyDown-B1jmp4nA.js";
|
|
7
|
-
import { t as o } from "./MudaFormCheckbox-
|
|
7
|
+
import { t as o } from "./MudaFormCheckbox-C1wTjohm.js";
|
|
8
8
|
import { Fragment as s, Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as h, createTextVNode as g, createVNode as _, defineComponent as v, mergeModels as y, mergeProps as b, normalizeClass as x, normalizeStyle as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useModel as k, useSlots as A, useTemplateRef as j, watch as M, watchEffect as N, withCtx as P, withModifiers as F } from "vue";
|
|
9
9
|
import { autoUpdate as I, flip as L, offset as R, shift as z, size as B, useFloating as V } from "@floating-ui/vue";
|
|
10
10
|
//#region src/components/MudaFormCombobox/MudaFormComboboxMultiple.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
-
var H = { class: "flex flex-col" }, U = {
|
|
11
|
+
var H = { class: "muda:flex muda:flex-col" }, U = {
|
|
12
12
|
key: 0,
|
|
13
|
-
class: "
|
|
14
|
-
}, W = { class: "m-0 muda
|
|
13
|
+
class: "muda:-mt-2.75 muda:rounded-b-lg muda:border muda:border-secondary-light muda:bg-form-background muda:pt-2.5"
|
|
14
|
+
}, W = { class: "muda:m-0 muda:no-scrollbar muda:flex muda:max-h-80 muda:list-none muda:flex-col muda:gap-1 muda:scroll-container-v-form-background muda:rounded-lg muda:px-2 muda:py-2" }, G = { class: "muda:flex muda:cursor-pointer muda:items-center muda:gap-2" }, K = /* @__PURE__ */ v({
|
|
15
15
|
inheritAttrs: !1,
|
|
16
16
|
__name: "MudaFormComboboxMultiple",
|
|
17
17
|
props: /*@__PURE__*/ y({
|
|
@@ -60,7 +60,7 @@ var H = { class: "flex flex-col" }, U = {
|
|
|
60
60
|
}
|
|
61
61
|
}), q = {
|
|
62
62
|
ref: "root",
|
|
63
|
-
class: "relative"
|
|
63
|
+
class: "muda:relative"
|
|
64
64
|
}, J = ["onClick"], Y = /* @__PURE__ */ v({
|
|
65
65
|
__name: "MudaFormComboboxSingle",
|
|
66
66
|
props: /*@__PURE__*/ y({
|
|
@@ -102,6 +102,7 @@ var H = { class: "flex flex-col" }, U = {
|
|
|
102
102
|
}), a((t) => {
|
|
103
103
|
if (K.value && !t.isComposing) switch (t.key) {
|
|
104
104
|
case e.Enter:
|
|
105
|
+
case e.Tab:
|
|
105
106
|
Y.value != null && ($(Y.value), t.preventDefault());
|
|
106
107
|
break;
|
|
107
108
|
case e.Escape:
|
|
@@ -156,15 +157,15 @@ var H = { class: "flex flex-col" }, U = {
|
|
|
156
157
|
to: "body",
|
|
157
158
|
disabled: !m.appendToBody
|
|
158
159
|
}, [_(l, {
|
|
159
|
-
"enter-active-class": "transition-opacity ease-linear duration-100",
|
|
160
|
-
"leave-active-class": "transition-opacity ease-linear duration-100",
|
|
161
|
-
"enter-from-class": "opacity-0",
|
|
162
|
-
"leave-to-class": "opacity-0"
|
|
160
|
+
"enter-active-class": "muda:transition-opacity muda:ease-linear muda:duration-100",
|
|
161
|
+
"leave-active-class": "muda:transition-opacity muda:ease-linear muda:duration-100",
|
|
162
|
+
"enter-from-class": "muda:opacity-0",
|
|
163
|
+
"leave-to-class": "muda:opacity-0"
|
|
163
164
|
}, {
|
|
164
165
|
default: P(() => [K.value ? (C(), p("ul", {
|
|
165
166
|
key: 0,
|
|
166
167
|
ref: "list",
|
|
167
|
-
class: "m-0 max-h-52 w-max list-none overflow-auto rounded-sm bg-form-background p-0 shadow-lg",
|
|
168
|
+
class: "muda:m-0 muda:max-h-52 muda:w-max muda:list-none muda:overflow-auto muda:rounded-sm muda:bg-form-background muda:p-0 muda:shadow-lg",
|
|
168
169
|
style: S({
|
|
169
170
|
...O(Q),
|
|
170
171
|
zIndex: O(X)
|
|
@@ -172,9 +173,9 @@ var H = { class: "flex flex-col" }, U = {
|
|
|
172
173
|
}, [(C(!0), p(s, null, T(Z.value, (t, n) => (C(), p("li", {
|
|
173
174
|
key: `${String(t.value)}-${n}`,
|
|
174
175
|
role: "button",
|
|
175
|
-
class: x(["flex h-10 w-full cursor-pointer items-center px-2 text-base select-none", {
|
|
176
|
-
"bg-primary-light text-white": Y.value === n,
|
|
177
|
-
"bg-primary text-white": t.value === y.value
|
|
176
|
+
class: x(["muda:flex muda:h-10 muda:w-full muda:cursor-pointer muda:items-center muda:px-2 muda:text-base muda:select-none", {
|
|
177
|
+
"muda:bg-primary-light muda:text-white": Y.value === n,
|
|
178
|
+
"muda:bg-primary muda:text-white": t.value === y.value
|
|
178
179
|
}]),
|
|
179
180
|
onClick: F((e) => $(n), ["prevent"])
|
|
180
181
|
}, [v.label == null ? (C(), p(s, { key: 1 }, [g(D(t.label), 1)], 64)) : E(e.$slots, "label", { option: t }, void 0, void 0, 0)], 10, J))), 128))], 4)) : f("", !0)]),
|