@mudakit/ui 0.2.0 → 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 +6 -0
- package/dist/MudaButton-CWY0U8WO.js +43 -0
- package/dist/{MudaButtonStack-xCMVwXHf.js → MudaButtonStack-8z8FVezw.js} +2 -2
- package/dist/{MudaCalendar-DzOlAhVw.js → MudaCalendar-CgKIaHEr.js} +44 -44
- package/dist/{MudaCard-D9GQzC7B.js → MudaCard-DGdFOdro.js} +1 -1
- package/dist/{MudaColorPicker-DJ7dbzzb.js → MudaColorPicker-CnB1MYB3.js} +10 -10
- package/dist/{MudaDialog-voCW-SpB.js → MudaDialog-DTR4JKpJ.js} +7 -7
- package/dist/{MudaDropdown-BCue994w.js → MudaDropdown-Dhv8Mhxm.js} +12 -12
- package/dist/{MudaErrorBox-BvlBaVk_.js → MudaErrorBox-B9ySoal8.js} +2 -2
- package/dist/MudaFormCheckbox-C1wTjohm.js +43 -0
- package/dist/{MudaFormCombobox-Tm_AejmV.js → MudaFormCombobox-DqH-EyMV.js} +16 -15
- package/dist/{MudaFormField-CFLLQiTa.js → MudaFormField-dOZRdslO.js} +12 -12
- package/dist/{MudaFormInput-BYoht_A0.js → MudaFormInput-D1-kQq9y.js} +23 -17
- package/dist/{MudaFormRadio-B-1viZTW.js → MudaFormRadio-BXj-XnwW.js} +1 -1
- package/dist/MudaFormRadioGroup-DnsZT-0C.js +48 -0
- package/dist/{MudaFormSelect-ScHiVKOB.js → MudaFormSelect-CLmsuMQG.js} +9 -9
- package/dist/MudaFormSwitch-C2Hx0mfr.js +33 -0
- package/dist/{MudaFormText-D3jIuX5V.js → MudaFormText-DbSiSTGh.js} +3 -3
- package/dist/MudaIcon-BwqQQnti.js +254 -0
- package/dist/{MudaIconPicker-BUsNMKFC.js → MudaIconPicker-X5xJ_lbO.js} +16 -16
- package/dist/{MudaMarker-1xxDZJgb.js → MudaMarker-DX1N2YxM.js} +4 -4
- package/dist/{MudaPagination-BdNHAYCm.js → MudaPagination-BoqrKfPw.js} +11 -11
- package/dist/{MudaPopover-BU9CWFeP.js → MudaPopover-C1fDWbPf.js} +6 -6
- package/dist/{MudaSpinner-yYYZ5c8j.js → MudaSpinner-BMR0Shwx.js} +5 -5
- package/dist/{MudaTable-BEmSrWWE.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/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-DJffOm2u.js +0 -42
- package/dist/MudaFormCheckbox-90HcY4_2.js +0 -43
- package/dist/MudaFormRadioGroup-D_sW4A2-.js +0 -48
- package/dist/MudaFormSwitch-CUN0-oyY.js +0 -33
- package/dist/MudaIcon-D_siyzw0.js +0 -254
- package/dist/MudaTag-LTFVT3ty.js +0 -27
package/CHANGELOG.md
CHANGED
|
@@ -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,20 +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-
|
|
100
|
-
"text-
|
|
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 = ["disabled", "onClick"], 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({
|
|
105
105
|
__name: "MudaCalendarDays",
|
|
106
106
|
props: /*@__PURE__*/ m({
|
|
107
107
|
today: {},
|
|
@@ -126,20 +126,20 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
126
126
|
type: "button",
|
|
127
127
|
tabindex: "-1",
|
|
128
128
|
disabled: e.disabled || t.disabled,
|
|
129
|
-
class: g(["muda-button-reset relative flex size-min w-full items-center justify-center rounded-md disabled:text-
|
|
130
|
-
"text-
|
|
131
|
-
"text-
|
|
132
|
-
"bg-
|
|
133
|
-
"font-bold text-
|
|
134
|
-
"after:absolute after:top-0 after:right-0 after:bottom-0 after:left-0 after:rounded-lg after:border-2 after:border-
|
|
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)
|
|
135
135
|
}]),
|
|
136
136
|
onClick: k((t) => m(e), ["stop"])
|
|
137
137
|
}, [l("time", {
|
|
138
|
-
class: "flex min-h-10 items-center justify-center",
|
|
138
|
+
class: "muda:flex muda:min-h-10 muda:items-center muda:justify-center",
|
|
139
139
|
datetime: e.value
|
|
140
140
|
}, b(e.label), 9, ae)], 10, ie))), 128))])]));
|
|
141
141
|
}
|
|
142
|
-
}), 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({
|
|
143
143
|
__name: "MudaCalendarHead",
|
|
144
144
|
props: /*@__PURE__*/ m({
|
|
145
145
|
locale: {},
|
|
@@ -164,13 +164,13 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
164
164
|
let n = e.add(9, "year");
|
|
165
165
|
return `${e.format(R)} ~ ${n.format(R)}`;
|
|
166
166
|
});
|
|
167
|
-
return (e, r) => (_(), c("div", { class: g(["grid", {
|
|
168
|
-
"grid-cols-7": o.value === "days",
|
|
169
|
-
"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"
|
|
170
170
|
}]) }, [
|
|
171
171
|
l("button", {
|
|
172
172
|
type: "button",
|
|
173
|
-
class: "muda-button-reset flex items-center justify-center fill-
|
|
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",
|
|
174
174
|
tabindex: "-1",
|
|
175
175
|
disabled: n.disabled,
|
|
176
176
|
onClick: r[0] ||= (e) => u("year", o.value === "years" ? -S(10) : -1)
|
|
@@ -178,27 +178,27 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
178
178
|
o.value === "days" ? (_(), c("button", {
|
|
179
179
|
key: 0,
|
|
180
180
|
type: "button",
|
|
181
|
-
class: "muda-button-reset flex items-center justify-center fill-
|
|
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",
|
|
182
182
|
tabindex: "-1",
|
|
183
183
|
disabled: n.disabled,
|
|
184
184
|
onClick: r[1] ||= (e) => u("month", -1)
|
|
185
185
|
}, [f(S(t), { icon: "keyboard_arrow_left:outlined" })], 8, se)) : s("", !0),
|
|
186
186
|
l("div", ce, [o.value === "days" ? (_(), c(i, { key: 0 }, [l("button", {
|
|
187
187
|
type: "button",
|
|
188
|
-
class: "muda-button-reset font-semibold text-
|
|
188
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
189
189
|
tabindex: "-1",
|
|
190
190
|
disabled: n.disabled,
|
|
191
191
|
onClick: r[2] ||= (e) => o.value = "years"
|
|
192
192
|
}, b(p.value.format(S(R))), 9, le), l("button", {
|
|
193
193
|
type: "button",
|
|
194
|
-
class: "muda-button-reset font-semibold text-
|
|
194
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
195
195
|
tabindex: "-1",
|
|
196
196
|
disabled: n.disabled,
|
|
197
197
|
onClick: r[3] ||= (e) => o.value = "months"
|
|
198
198
|
}, b(p.value.format(S("MMM"))), 9, ue)], 64)) : o.value === "months" ? (_(), c("button", {
|
|
199
199
|
key: 1,
|
|
200
200
|
type: "button",
|
|
201
|
-
class: "muda-button-reset font-semibold text-
|
|
201
|
+
class: "muda-button-reset muda:font-semibold muda:text-primary muda:hover:text-primary-dark muda:disabled:text-secondary-light",
|
|
202
202
|
tabindex: "-1",
|
|
203
203
|
disabled: n.disabled,
|
|
204
204
|
onClick: r[4] ||= (e) => o.value = "years"
|
|
@@ -206,21 +206,21 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
206
206
|
o.value === "days" ? (_(), c("button", {
|
|
207
207
|
key: 1,
|
|
208
208
|
type: "button",
|
|
209
|
-
class: "muda-button-reset flex items-center justify-center fill-
|
|
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",
|
|
210
210
|
tabindex: "-1",
|
|
211
211
|
disabled: n.disabled,
|
|
212
212
|
onClick: r[5] ||= (e) => u("month", 1)
|
|
213
213
|
}, [f(S(t), { icon: "keyboard_arrow_right:outlined" })], 8, fe)) : s("", !0),
|
|
214
214
|
l("button", {
|
|
215
215
|
type: "button",
|
|
216
|
-
class: "muda-button-reset flex items-center justify-center fill-
|
|
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",
|
|
217
217
|
tabindex: "-1",
|
|
218
218
|
disabled: n.disabled,
|
|
219
219
|
onClick: r[6] ||= (e) => u("year", o.value === "years" ? S(10) : 1)
|
|
220
220
|
}, [f(S(t), { icon: "keyboard_double_arrow_right:outlined" })], 8, pe)
|
|
221
221
|
], 2));
|
|
222
222
|
}
|
|
223
|
-
}), he = { class: "flex" }, ge = { class: "relative grid flex-1 grid-cols-[repeat(4,1fr)]" }, _e = ["disabled", "onClick"], 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({
|
|
224
224
|
__name: "MudaCalendarMonths",
|
|
225
225
|
props: /*@__PURE__*/ m({
|
|
226
226
|
today: {},
|
|
@@ -244,18 +244,18 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
244
244
|
type: "button",
|
|
245
245
|
tabindex: "-1",
|
|
246
246
|
disabled: e.disabled || n.disabled,
|
|
247
|
-
class: g(["muda-button-reset flex items-center justify-center rounded-md py-5 disabled:text-
|
|
248
|
-
"text-
|
|
249
|
-
"bg-
|
|
250
|
-
"font-bold text-
|
|
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
|
|
251
251
|
}]),
|
|
252
252
|
onClick: k((t) => h(e), ["prevent"])
|
|
253
253
|
}, [l("time", {
|
|
254
|
-
class: "flex items-center justify-center",
|
|
254
|
+
class: "muda:flex muda:items-center muda:justify-center",
|
|
255
255
|
datetime: e.value
|
|
256
256
|
}, b(e.label), 9, ve)], 10, _e))), 128))])]));
|
|
257
257
|
}
|
|
258
|
-
}), be = { class: "grid grid-cols-[repeat(2,1fr)]" }, xe = ["disabled", "onClick"], Se = ["datetime"], Ce = /* @__PURE__ */ p({
|
|
258
|
+
}), be = { class: "muda:grid muda:grid-cols-[repeat(2,1fr)]" }, xe = ["disabled", "onClick"], Se = ["datetime"], Ce = /* @__PURE__ */ p({
|
|
259
259
|
__name: "MudaCalendarYears",
|
|
260
260
|
props: /*@__PURE__*/ m({
|
|
261
261
|
today: {},
|
|
@@ -279,14 +279,14 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
279
279
|
type: "button",
|
|
280
280
|
tabindex: "-1",
|
|
281
281
|
disabled: e.disabled || n.disabled,
|
|
282
|
-
class: g(["muda-button-reset flex items-center justify-center rounded-md py-3 disabled:text-
|
|
283
|
-
"text-
|
|
284
|
-
"bg-
|
|
285
|
-
"font-bold text-
|
|
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
|
|
286
286
|
}]),
|
|
287
287
|
onClick: k((t) => h(e), ["prevent"])
|
|
288
288
|
}, [l("time", {
|
|
289
|
-
class: "flex items-center justify-center",
|
|
289
|
+
class: "muda:flex muda:items-center muda:justify-center",
|
|
290
290
|
datetime: e.value
|
|
291
291
|
}, b(e.label), 9, Se)], 10, xe))), 128))]));
|
|
292
292
|
}
|
|
@@ -327,7 +327,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
327
327
|
};
|
|
328
328
|
return n({ handleKeydown: p }), (e, t) => (_(), c("div", {
|
|
329
329
|
tabindex: r.keyboard && !r.disabled ? 0 : void 0,
|
|
330
|
-
class: "flex flex-col text-gray-600",
|
|
330
|
+
class: "muda:flex muda:flex-col muda:text-gray-600",
|
|
331
331
|
onKeydown: k(p, ["stop"])
|
|
332
332
|
}, [f(me, {
|
|
333
333
|
modelValue: d.value,
|
|
@@ -443,9 +443,9 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
443
443
|
onBlur: r[3] ||= (e) => o.value = !1,
|
|
444
444
|
onKeydown: d,
|
|
445
445
|
ref: "root",
|
|
446
|
-
class: g(["rounded-md bg-
|
|
447
|
-
"ring-
|
|
448
|
-
"ring-
|
|
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
|
|
449
449
|
}])
|
|
450
450
|
}, [f($, {
|
|
451
451
|
modelValue: n.value,
|
|
@@ -468,7 +468,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
468
468
|
min: s.value,
|
|
469
469
|
max: u.value,
|
|
470
470
|
disabled: t.disabled,
|
|
471
|
-
class: "hidden"
|
|
471
|
+
class: "muda:hidden"
|
|
472
472
|
}), null, 16, Ee), [[T, n.value]])], 42, Te));
|
|
473
473
|
}
|
|
474
474
|
}), Oe = /* @__PURE__ */ p({
|
|
@@ -521,7 +521,7 @@ var Y = { class: "grid grid-cols-[repeat(7,auto)]" }, X = /* @__PURE__ */ p({
|
|
|
521
521
|
"onUpdate:modelValue": i[1] ||= (e) => c.value = e,
|
|
522
522
|
ref_key: "pickerRef",
|
|
523
523
|
ref: p,
|
|
524
|
-
class: "w-76",
|
|
524
|
+
class: "muda:w-76",
|
|
525
525
|
keyboard: g.value,
|
|
526
526
|
locale: s.locale,
|
|
527
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-
|
|
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,21 +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
43
|
role: "dialog",
|
|
44
|
-
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",
|
|
45
45
|
style: f({ zIndex: g(S) }),
|
|
46
46
|
onClickCapture: C,
|
|
47
47
|
onWheel: t[0] ||= x(() => {}, ["stop"])
|
|
48
48
|
}, {
|
|
49
49
|
default: b(() => [c("div", T, [c("div", E, [c("div", d(e.$attrs, {
|
|
50
|
-
class: "rounded-lg bg-
|
|
50
|
+
class: "muda:rounded-lg muda:bg-background muda:p-4 muda:focus:outline-hidden",
|
|
51
51
|
tabindex: "0",
|
|
52
52
|
ref: "dialog"
|
|
53
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-
|
|
32
|
-
"fill-
|
|
33
|
-
"fill-
|
|
34
|
-
"fill-
|
|
35
|
-
"fill-
|
|
36
|
-
"fill-
|
|
37
|
-
"fill-
|
|
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,9 +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",
|
|
4
|
+
class: "muda:flex muda:flex-col muda:gap-2",
|
|
5
5
|
role: "alert"
|
|
6
|
-
}, s = { class: "text-center text-4xl font-bold text-
|
|
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({
|
|
7
7
|
__name: "MudaErrorBox",
|
|
8
8
|
props: {
|
|
9
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-
|
|
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-
|
|
177
|
-
"bg-
|
|
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)]),
|
|
@@ -2,7 +2,7 @@ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r
|
|
|
2
2
|
//#region src/components/MudaFormField/MudaFormFieldErrors.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var h = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "m-0 list-none fill-
|
|
5
|
+
class: "muda:m-0 muda:list-none muda:fill-danger muda:p-0 muda:text-danger"
|
|
6
6
|
}, g = /* @__PURE__ */ s({
|
|
7
7
|
__name: "MudaFormFieldErrors",
|
|
8
8
|
props: { errors: {} },
|
|
@@ -10,10 +10,10 @@ var h = {
|
|
|
10
10
|
let n = t;
|
|
11
11
|
return (t, a) => n.errors && n.errors.length > 0 ? (l(), i("ul", h, [(l(!0), i(e, null, u(n.errors, (e, t) => (l(), i("li", {
|
|
12
12
|
key: `${e.message}-${t}`,
|
|
13
|
-
class: "text-xs wrap-break-word"
|
|
13
|
+
class: "muda:text-xs muda:wrap-break-word"
|
|
14
14
|
}, p(e.message), 1))), 128))])) : r("", !0);
|
|
15
15
|
}
|
|
16
|
-
}), _ = { class: "flex flex-col gap-2" }, v = /* @__PURE__ */ s({
|
|
16
|
+
}), _ = { class: "muda:flex muda:flex-col muda:gap-2" }, v = /* @__PURE__ */ s({
|
|
17
17
|
__name: "MudaFormField",
|
|
18
18
|
props: {
|
|
19
19
|
axis: { default: "vertical" },
|
|
@@ -23,16 +23,16 @@ var h = {
|
|
|
23
23
|
},
|
|
24
24
|
setup(s) {
|
|
25
25
|
let u = s, p = t(() => u.errors && u.errors.length > 0);
|
|
26
|
-
return (t, s) => (l(), i("div", _, [(l(), n(f(u.as), { class: c(["flex cursor-pointer text-sm leading-6 font-medium", {
|
|
27
|
-
"flex-col gap-1": u.axis === "vertical",
|
|
28
|
-
"flex-row items-center gap-2": u.axis === "horizontal"
|
|
26
|
+
return (t, s) => (l(), i("div", _, [(l(), n(f(u.as), { class: c(["muda:flex muda:cursor-pointer muda:text-sm muda:leading-6 muda:font-medium", {
|
|
27
|
+
"muda:flex-col muda:gap-1": u.axis === "vertical",
|
|
28
|
+
"muda:flex-row muda:items-center muda:gap-2": u.axis === "horizontal"
|
|
29
29
|
}]) }, {
|
|
30
|
-
default: m(() => [u.labelPosition === "before" ? (l(), i(e, { key: 0 }, [a("span", { class: c(["block", {
|
|
31
|
-
"text-
|
|
32
|
-
"text-
|
|
33
|
-
}]) }, [d(t.$slots, "label")], 2), d(t.$slots, "default")], 64)) : u.labelPosition === "after" ? (l(), i(e, { key: 1 }, [d(t.$slots, "default"), a("span", { class: c(["block", {
|
|
34
|
-
"text-
|
|
35
|
-
"text-
|
|
30
|
+
default: m(() => [u.labelPosition === "before" ? (l(), i(e, { key: 0 }, [a("span", { class: c(["muda:block", {
|
|
31
|
+
"muda:text-secondary-dark": !p.value,
|
|
32
|
+
"muda:text-danger": p.value
|
|
33
|
+
}]) }, [d(t.$slots, "label")], 2), d(t.$slots, "default")], 64)) : u.labelPosition === "after" ? (l(), i(e, { key: 1 }, [d(t.$slots, "default"), a("span", { class: c(["muda:block", {
|
|
34
|
+
"muda:text-secondary-dark": !p.value,
|
|
35
|
+
"muda:text-danger": p.value
|
|
36
36
|
}]) }, [d(t.$slots, "label")], 2)], 64)) : r("", !0)]),
|
|
37
37
|
_: 3
|
|
38
38
|
}, 8, ["class"])), o(g, { errors: u.errors }, null, 8, ["errors"])]));
|