@commercetools/nimbus 0.0.0-canary-20250812202252 → 0.0.0-canary-20250813190648
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.d.ts +2 -2
- package/dist/alert.d.ts +5 -5
- package/dist/avatar.d.ts +4 -4
- package/dist/badge.d.ts +4 -4
- package/dist/box.d.ts +1 -1
- package/dist/button.d.ts +3 -3
- package/dist/calendar.d.ts +2 -2
- package/dist/card.d.ts +4 -4
- package/dist/checkbox.d.ts +2 -2
- package/dist/chunks/{accordion-xfgQQjFK.es.js → accordion-CqRxcnoE.es.js} +19 -17
- package/dist/chunks/accordion-CqRxcnoE.es.js.map +1 -0
- package/dist/chunks/accordion-DJNATyjS.cjs.js +2 -0
- package/dist/chunks/accordion-DJNATyjS.cjs.js.map +1 -0
- package/dist/chunks/alert-BffSjlyM.cjs.js +2 -0
- package/dist/chunks/alert-BffSjlyM.cjs.js.map +1 -0
- package/dist/chunks/{alert-BkF91mJ0.es.js → alert-Ctgl9RlR.es.js} +26 -25
- package/dist/chunks/alert-Ctgl9RlR.es.js.map +1 -0
- package/dist/chunks/{avatar-DgvfEdwK.es.js → avatar-DDCMu1RQ.es.js} +11 -10
- package/dist/chunks/avatar-DDCMu1RQ.es.js.map +1 -0
- package/dist/chunks/avatar-Dps7PI8I.cjs.js +2 -0
- package/dist/chunks/avatar-Dps7PI8I.cjs.js.map +1 -0
- package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +2 -0
- package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js.map +1 -0
- package/dist/chunks/{avatar.recipe-BSmmqvwQ.es.js → avatar.recipe-CxXQlkH6.es.js} +2 -2
- package/dist/chunks/avatar.recipe-CxXQlkH6.es.js.map +1 -0
- package/dist/chunks/{badge-DVDR3-fy.es.js → badge-CmLLB9Kf.es.js} +9 -7
- package/dist/chunks/badge-CmLLB9Kf.es.js.map +1 -0
- package/dist/chunks/badge-Do9L64AE.cjs.js +2 -0
- package/dist/chunks/badge-Do9L64AE.cjs.js.map +1 -0
- package/dist/chunks/box-BOsRGQEm.cjs.js +2 -0
- package/dist/chunks/box-BOsRGQEm.cjs.js.map +1 -0
- package/dist/chunks/box-Cd4iddEV.es.js +13 -0
- package/dist/chunks/box-Cd4iddEV.es.js.map +1 -0
- package/dist/chunks/button--WwulbmL.cjs.js +2 -0
- package/dist/chunks/button--WwulbmL.cjs.js.map +1 -0
- package/dist/chunks/button-D0vEDRkY.es.js +57 -0
- package/dist/chunks/button-D0vEDRkY.es.js.map +1 -0
- package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +2 -0
- package/dist/chunks/button.recipe-ClPhJ93N.cjs.js.map +1 -0
- package/dist/chunks/{button.recipe-DzOS_Bqm.es.js → button.recipe-D9e9Gh9L.es.js} +2 -2
- package/dist/chunks/button.recipe-D9e9Gh9L.es.js.map +1 -0
- package/dist/chunks/calendar-BU6VJNGi.cjs.js +2 -0
- package/dist/chunks/calendar-BU6VJNGi.cjs.js.map +1 -0
- package/dist/chunks/{calendar-B4nCYXn4.es.js → calendar-BxI6atN6.es.js} +20 -18
- package/dist/chunks/calendar-BxI6atN6.es.js.map +1 -0
- package/dist/chunks/card-C7xJPUxQ.cjs.js +2 -0
- package/dist/chunks/card-C7xJPUxQ.cjs.js.map +1 -0
- package/dist/chunks/{card-CvY06qIE.es.js → card-OJ-C7GGY.es.js} +24 -23
- package/dist/chunks/card-OJ-C7GGY.es.js.map +1 -0
- package/dist/chunks/checkbox-BBesM-2s.cjs.js +2 -0
- package/dist/chunks/checkbox-BBesM-2s.cjs.js.map +1 -0
- package/dist/chunks/{checkbox-yo64B6Gz.es.js → checkbox-uHIP3eGd.es.js} +15 -14
- package/dist/chunks/checkbox-uHIP3eGd.es.js.map +1 -0
- package/dist/chunks/code-7P3tH99x.cjs.js +2 -0
- package/dist/chunks/code-7P3tH99x.cjs.js.map +1 -0
- package/dist/chunks/code-C44qm68X.es.js +8 -0
- package/dist/chunks/code-C44qm68X.es.js.map +1 -0
- package/dist/chunks/{combobox-DWSsUEVz.es.js → combobox-BinlFC76.es.js} +110 -108
- package/dist/chunks/{combobox-DWSsUEVz.es.js.map → combobox-BinlFC76.es.js.map} +1 -1
- package/dist/chunks/combobox-J_QFtJde.cjs.js +2 -0
- package/dist/chunks/{combobox-D5lDtav9.cjs.js.map → combobox-J_QFtJde.cjs.js.map} +1 -1
- package/dist/chunks/config-Mt8_uyhI.cjs.js +2 -0
- package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -0
- package/dist/chunks/config-ufbQ08Vi.es.js +6 -0
- package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -0
- package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js +2 -0
- package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js.map +1 -0
- package/dist/chunks/create-recipe-context-c0qjq1fz.es.js +62 -0
- package/dist/chunks/create-recipe-context-c0qjq1fz.es.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js +2 -0
- package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js.map +1 -0
- package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js +104 -0
- package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js.map +1 -0
- package/dist/chunks/date-input-BxN-H9P6.es.js +17 -0
- package/dist/chunks/date-input-BxN-H9P6.es.js.map +1 -0
- package/dist/chunks/date-input-CM4AIKke.cjs.js +2 -0
- package/dist/chunks/date-input-CM4AIKke.cjs.js.map +1 -0
- package/dist/chunks/{date-picker-CrV9TJ_O.es.js → date-picker-Anq88Byq.es.js} +39 -38
- package/dist/chunks/date-picker-Anq88Byq.es.js.map +1 -0
- package/dist/chunks/date-picker-mVAaj9Pj.cjs.js +2 -0
- package/dist/chunks/date-picker-mVAaj9Pj.cjs.js.map +1 -0
- package/dist/chunks/{date-range-picker-ByLVQAiA.es.js → date-range-picker-CZTsX2-y.es.js} +14 -13
- package/dist/chunks/date-range-picker-CZTsX2-y.es.js.map +1 -0
- package/dist/chunks/date-range-picker-CgL8fH17.cjs.js +2 -0
- package/dist/chunks/date-range-picker-CgL8fH17.cjs.js.map +1 -0
- package/dist/chunks/dialog-7iIFtc75.cjs.js +2 -0
- package/dist/chunks/dialog-7iIFtc75.cjs.js.map +1 -0
- package/dist/chunks/dialog-CbMKp4zh.es.js +1874 -0
- package/dist/chunks/dialog-CbMKp4zh.es.js.map +1 -0
- package/dist/chunks/{divider-m0ZtHIMJ.es.js → divider-CVqryFNj.es.js} +4 -2
- package/dist/chunks/divider-CVqryFNj.es.js.map +1 -0
- package/dist/chunks/divider-D8xdfux3.cjs.js +2 -0
- package/dist/chunks/divider-D8xdfux3.cjs.js.map +1 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js +2 -0
- package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -0
- package/dist/chunks/empty-D7ZFmvo6.es.js +8 -0
- package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-B7kwDyYx.es.js +11 -0
- package/dist/chunks/extractStyleProps-B7kwDyYx.es.js.map +1 -0
- package/dist/chunks/extractStyleProps-Br2UMow5.cjs.js +2 -0
- package/dist/chunks/extractStyleProps-Br2UMow5.cjs.js.map +1 -0
- package/dist/chunks/factory-BpGQXckI.es.js +266 -0
- package/dist/chunks/factory-BpGQXckI.es.js.map +1 -0
- package/dist/chunks/factory-DNbWS0Ob.cjs.js +3 -0
- package/dist/chunks/factory-DNbWS0Ob.cjs.js.map +1 -0
- package/dist/chunks/flex-DgabwPpo.es.js +40 -0
- package/dist/chunks/flex-DgabwPpo.es.js.map +1 -0
- package/dist/chunks/flex-DgsstZZT.cjs.js +2 -0
- package/dist/chunks/flex-DgsstZZT.cjs.js.map +1 -0
- package/dist/chunks/{form-field-CBFyTAo8.cjs.js → form-field-BFeTiFeX.cjs.js} +3 -3
- package/dist/chunks/form-field-BFeTiFeX.cjs.js.map +1 -0
- package/dist/chunks/{form-field-C9PpQYF0.es.js → form-field-CRWPeZsB.es.js} +31 -30
- package/dist/chunks/form-field-CRWPeZsB.es.js.map +1 -0
- package/dist/chunks/grid-D2EDS3Nw.cjs.js +2 -0
- package/dist/chunks/grid-D2EDS3Nw.cjs.js.map +1 -0
- package/dist/chunks/grid-item-BHKNxWuU.es.js +75 -0
- package/dist/chunks/grid-item-BHKNxWuU.es.js.map +1 -0
- package/dist/chunks/grid-item-Bwt35oD8.cjs.js +2 -0
- package/dist/chunks/grid-item-Bwt35oD8.cjs.js.map +1 -0
- package/dist/chunks/grid-ksgCqjX_.es.js +14 -0
- package/dist/chunks/grid-ksgCqjX_.es.js.map +1 -0
- package/dist/chunks/heading-C9DC5cG8.es.js +8 -0
- package/dist/chunks/heading-C9DC5cG8.es.js.map +1 -0
- package/dist/chunks/heading-CbGsyynP.cjs.js +2 -0
- package/dist/chunks/heading-CbGsyynP.cjs.js.map +1 -0
- package/dist/chunks/{icon-BFNYuilh.es.js → icon-BSGub7AG.es.js} +10 -9
- package/dist/chunks/icon-BSGub7AG.es.js.map +1 -0
- package/dist/chunks/icon-H-rP9kq5.cjs.js +2 -0
- package/dist/chunks/icon-H-rP9kq5.cjs.js.map +1 -0
- package/dist/chunks/{icon-button-BEaNe4rE.cjs.js → icon-button-C-Orugq3.cjs.js} +2 -2
- package/dist/chunks/{icon-button-BEaNe4rE.cjs.js.map → icon-button-C-Orugq3.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-DqkVeZCx.es.js → icon-button-CJHH2Msr.es.js} +2 -2
- package/dist/chunks/{icon-button-DqkVeZCx.es.js.map → icon-button-CJHH2Msr.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CuzGWc2s.es.js → icon-toggle-button-BeyRptXX.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CuzGWc2s.es.js.map → icon-toggle-button-BeyRptXX.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-CvLwJfJE.cjs.js → icon-toggle-button-BvmRCp0M.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-CvLwJfJE.cjs.js.map → icon-toggle-button-BvmRCp0M.cjs.js.map} +1 -1
- package/dist/chunks/image-B-WEdENT.cjs.js +2 -0
- package/dist/chunks/image-B-WEdENT.cjs.js.map +1 -0
- package/dist/chunks/image-BVUCjLWP.es.js +22 -0
- package/dist/chunks/image-BVUCjLWP.es.js.map +1 -0
- package/dist/chunks/image-BwlmPt3P.es.js +8 -0
- package/dist/chunks/image-BwlmPt3P.es.js.map +1 -0
- package/dist/chunks/image-CIQlu9WX.cjs.js +2 -0
- package/dist/chunks/image-CIQlu9WX.cjs.js.map +1 -0
- package/dist/chunks/index-DdQ9V6B1.es.js +3370 -0
- package/dist/chunks/index-DdQ9V6B1.es.js.map +1 -0
- package/dist/chunks/index-LEpCeLVL.cjs.js +4 -0
- package/dist/chunks/index-LEpCeLVL.cjs.js.map +1 -0
- package/dist/chunks/kbd-CJWAjmm3.es.js +16 -0
- package/dist/chunks/kbd-CJWAjmm3.es.js.map +1 -0
- package/dist/chunks/kbd-D4NGKYuV.cjs.js +2 -0
- package/dist/chunks/kbd-D4NGKYuV.cjs.js.map +1 -0
- package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +2 -0
- package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js.map +1 -0
- package/dist/chunks/{kbd.recipe-BONVaPQN.es.js → kbd.recipe-BTW0MQqx.es.js} +2 -2
- package/dist/chunks/kbd.recipe-BTW0MQqx.es.js.map +1 -0
- package/dist/chunks/link-DioynlqV.cjs.js +2 -0
- package/dist/chunks/link-DioynlqV.cjs.js.map +1 -0
- package/dist/chunks/{link-BS1jRPrC.es.js → link-WoVkNCsH.es.js} +6 -5
- package/dist/chunks/link-WoVkNCsH.es.js.map +1 -0
- package/dist/chunks/{link.recipe-Ba2by0OG.es.js → link.recipe-BRnFQ5bP.es.js} +2 -2
- package/dist/chunks/link.recipe-BRnFQ5bP.es.js.map +1 -0
- package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +2 -0
- package/dist/chunks/link.recipe-BfCxtKjL.cjs.js.map +1 -0
- package/dist/chunks/list-BaX7-sRB.cjs.js +2 -0
- package/dist/chunks/list-BaX7-sRB.cjs.js.map +1 -0
- package/dist/chunks/list-BhODpevn.es.js +23 -0
- package/dist/chunks/list-BhODpevn.es.js.map +1 -0
- package/dist/chunks/{loading-spinner-DwN-yshK.es.js → loading-spinner-CLsuIMu8.es.js} +7 -6
- package/dist/chunks/loading-spinner-CLsuIMu8.es.js.map +1 -0
- package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js +2 -0
- package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js.map +1 -0
- package/dist/chunks/{menu-BpACcVBO.es.js → menu-B83imnEP.es.js} +15 -15
- package/dist/chunks/menu-B83imnEP.es.js.map +1 -0
- package/dist/chunks/menu-CJYawkvo.cjs.js +2 -0
- package/dist/chunks/menu-CJYawkvo.cjs.js.map +1 -0
- package/dist/chunks/{multiline-text-input-sSdbj6tb.es.js → multiline-text-input-CqgvtbhN.es.js} +15 -12
- package/dist/chunks/multiline-text-input-CqgvtbhN.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-Dqg0eKRI.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-Dqg0eKRI.cjs.js.map +1 -0
- package/dist/chunks/namespace-BXD5i_90.cjs.js +2 -0
- package/dist/chunks/namespace-BXD5i_90.cjs.js.map +1 -0
- package/dist/chunks/namespace-BmDr3F-d.es.js +74 -0
- package/dist/chunks/namespace-BmDr3F-d.es.js.map +1 -0
- package/dist/chunks/nimbus-provider--BLRh-Uv.cjs.js +2 -0
- package/dist/chunks/nimbus-provider--BLRh-Uv.cjs.js.map +1 -0
- package/dist/chunks/nimbus-provider-C2CEn-eC.es.js +101 -0
- package/dist/chunks/nimbus-provider-C2CEn-eC.es.js.map +1 -0
- package/dist/chunks/{number-input-DzwHfylo.es.js → number-input-CTJ6er_k.es.js} +12 -11
- package/dist/chunks/{number-input-DzwHfylo.es.js.map → number-input-CTJ6er_k.es.js.map} +1 -1
- package/dist/chunks/number-input-DBjXTpXm.cjs.js +2 -0
- package/dist/chunks/{number-input-BU6yMXV8.cjs.js.map → number-input-DBjXTpXm.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-DpINXGwE.cjs.js → password-input-B8sRYG6_.cjs.js} +2 -2
- package/dist/chunks/{password-input-DpINXGwE.cjs.js.map → password-input-B8sRYG6_.cjs.js.map} +1 -1
- package/dist/chunks/{password-input-DdJ9gDUr.es.js → password-input-cW7vrwPv.es.js} +5 -5
- package/dist/chunks/{password-input-DdJ9gDUr.es.js.map → password-input-cW7vrwPv.es.js.map} +1 -1
- package/dist/chunks/progress-bar-B7jPo_Tr.cjs.js +2 -0
- package/dist/chunks/progress-bar-B7jPo_Tr.cjs.js.map +1 -0
- package/dist/chunks/{progress-bar-CCyJEPoU.es.js → progress-bar-NxgV8zFn.es.js} +20 -18
- package/dist/chunks/progress-bar-NxgV8zFn.es.js.map +1 -0
- package/dist/chunks/provider-CUesptNK.cjs.js +16 -0
- package/dist/chunks/provider-CUesptNK.cjs.js.map +1 -0
- package/dist/chunks/provider-D5u1b72_.es.js +989 -0
- package/dist/chunks/provider-D5u1b72_.es.js.map +1 -0
- package/dist/chunks/{radio-input-CCm7Xqcz.es.js → radio-input-CUyRuKg2.es.js} +40 -40
- package/dist/chunks/{radio-input-CCm7Xqcz.es.js.map → radio-input-CUyRuKg2.es.js.map} +1 -1
- package/dist/chunks/radio-input-CkWvEex9.cjs.js +2 -0
- package/dist/chunks/{radio-input-BLVHJidw.cjs.js.map → radio-input-CkWvEex9.cjs.js.map} +1 -1
- package/dist/chunks/range-calendar-BtViOWLD.cjs.js +2 -0
- package/dist/chunks/range-calendar-BtViOWLD.cjs.js.map +1 -0
- package/dist/chunks/{range-calendar-C-qR1QHT.es.js → range-calendar-D2MlUnBw.es.js} +22 -20
- package/dist/chunks/range-calendar-D2MlUnBw.es.js.map +1 -0
- package/dist/chunks/select-0SJSIvQi.cjs.js +2 -0
- package/dist/chunks/{select-BZ2fZDHJ.cjs.js.map → select-0SJSIvQi.cjs.js.map} +1 -1
- package/dist/chunks/{select-Cx0Yiwr-.es.js → select-D1P8VLDI.es.js} +67 -65
- package/dist/chunks/{select-Cx0Yiwr-.es.js.map → select-D1P8VLDI.es.js.map} +1 -1
- package/dist/chunks/simple-grid-BYgtLdTo.cjs.js +2 -0
- package/dist/chunks/simple-grid-BYgtLdTo.cjs.js.map +1 -0
- package/dist/chunks/simple-grid-QwCuXJDe.es.js +38 -0
- package/dist/chunks/simple-grid-QwCuXJDe.es.js.map +1 -0
- package/dist/chunks/stack-CFOuBCxS.es.js +89 -0
- package/dist/chunks/stack-CFOuBCxS.es.js.map +1 -0
- package/dist/chunks/stack-CSKcZxll.cjs.js +2 -0
- package/dist/chunks/stack-CSKcZxll.cjs.js.map +1 -0
- package/dist/chunks/switch-3KIpk4ks.cjs.js +2 -0
- package/dist/chunks/switch-3KIpk4ks.cjs.js.map +1 -0
- package/dist/chunks/{switch-BriJIKqx.es.js → switch-DRsQP8Z7.es.js} +10 -9
- package/dist/chunks/switch-DRsQP8Z7.es.js.map +1 -0
- package/dist/chunks/tag-group-2RUxMfVr.cjs.js +2 -0
- package/dist/chunks/{tag-group-D7GNkec5.cjs.js.map → tag-group-2RUxMfVr.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-8CojIACI.es.js → tag-group-BjRA3GJh.es.js} +46 -46
- package/dist/chunks/{tag-group-8CojIACI.es.js.map → tag-group-BjRA3GJh.es.js.map} +1 -1
- package/dist/chunks/text-input-CDZWoQpD.es.js +19 -0
- package/dist/chunks/text-input-CDZWoQpD.es.js.map +1 -0
- package/dist/chunks/text-input-_x_TUbxj.cjs.js +2 -0
- package/dist/chunks/text-input-_x_TUbxj.cjs.js.map +1 -0
- package/dist/chunks/text-tO5nXPfT.cjs.js +2 -0
- package/dist/chunks/text-tO5nXPfT.cjs.js.map +1 -0
- package/dist/chunks/text-uojQ1XH5.es.js +26 -0
- package/dist/chunks/text-uojQ1XH5.es.js.map +1 -0
- package/dist/chunks/time-input-CAI-K0L0.cjs.js +2 -0
- package/dist/chunks/time-input-CAI-K0L0.cjs.js.map +1 -0
- package/dist/chunks/{time-input-pPM_sx2J.es.js → time-input-DgGtoKk8.es.js} +8 -6
- package/dist/chunks/time-input-DgGtoKk8.es.js.map +1 -0
- package/dist/chunks/toggle-button-BFYCOJoj.cjs.js +2 -0
- package/dist/chunks/toggle-button-BFYCOJoj.cjs.js.map +1 -0
- package/dist/chunks/{toggle-button-group-BQfaNSZf.es.js → toggle-button-group-Cs4SQjtM.es.js} +15 -14
- package/dist/chunks/toggle-button-group-Cs4SQjtM.es.js.map +1 -0
- package/dist/chunks/toggle-button-group-DLVSXDvN.cjs.js +2 -0
- package/dist/chunks/toggle-button-group-DLVSXDvN.cjs.js.map +1 -0
- package/dist/chunks/toggle-button-l1Pb1Miz.es.js +30 -0
- package/dist/chunks/toggle-button-l1Pb1Miz.es.js.map +1 -0
- package/dist/chunks/{toolbar-DZrjQLFq.es.js → toolbar-Dd7Gl-f7.es.js} +3 -3
- package/dist/chunks/{toolbar-DZrjQLFq.es.js.map → toolbar-Dd7Gl-f7.es.js.map} +1 -1
- package/dist/chunks/toolbar-m0KbmT1E.cjs.js +2 -0
- package/dist/chunks/{toolbar-O-t4_xhL.cjs.js.map → toolbar-m0KbmT1E.cjs.js.map} +1 -1
- package/dist/chunks/tooltip-BuQb6UvD.cjs.js +2 -0
- package/dist/chunks/{tooltip-DwXtfA_x.cjs.js.map → tooltip-BuQb6UvD.cjs.js.map} +1 -1
- package/dist/chunks/{tooltip-Bi0556u1.es.js → tooltip-Cobyf8Kh.es.js} +4 -4
- package/dist/chunks/{tooltip-Bi0556u1.es.js.map → tooltip-Cobyf8Kh.es.js.map} +1 -1
- package/dist/chunks/{tooltip.recipe-B9-7OFCi.es.js → tooltip.recipe-DsVUEki2.es.js} +2 -2
- package/dist/chunks/tooltip.recipe-DsVUEki2.es.js.map +1 -0
- package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +2 -0
- package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-CJAjTxPP.cjs.js +2 -0
- package/dist/chunks/use-recipe-CJAjTxPP.cjs.js.map +1 -0
- package/dist/chunks/use-recipe-dUXCQYfa.es.js +13 -0
- package/dist/chunks/use-recipe-dUXCQYfa.es.js.map +1 -0
- package/dist/chunks/walk-object-BGye4E3_.cjs.js +2 -0
- package/dist/chunks/walk-object-BGye4E3_.cjs.js.map +1 -0
- package/dist/chunks/walk-object-D9P1kanu.es.js +27 -0
- package/dist/chunks/walk-object-D9P1kanu.es.js.map +1 -0
- package/dist/combobox.d.ts +3 -3
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.es.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.es.js +1 -1
- package/dist/components/badge.cjs +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/box.cjs +1 -1
- package/dist/components/box.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/code.cjs +1 -1
- package/dist/components/code.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +72 -70
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/divider.cjs +1 -1
- package/dist/components/divider.es.js +1 -1
- package/dist/components/flex.cjs +1 -1
- package/dist/components/flex.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/grid.cjs +1 -1
- package/dist/components/grid.es.js +1 -1
- package/dist/components/heading.cjs +1 -1
- package/dist/components/heading.es.js +2 -2
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/icon.cjs +1 -1
- package/dist/components/icon.es.js +1 -1
- package/dist/components/image.cjs +1 -1
- package/dist/components/image.es.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.es.js +1 -1
- package/dist/components/link.cjs +1 -1
- package/dist/components/link.es.js +1 -1
- package/dist/components/list.cjs +1 -1
- package/dist/components/list.es.js +1 -1
- package/dist/components/loading-spinner.cjs +1 -1
- package/dist/components/loading-spinner.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/simple-grid.cjs +1 -1
- package/dist/components/simple-grid.es.js +1 -1
- package/dist/components/stack.cjs +1 -1
- package/dist/components/stack.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.es.js +2 -2
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button-group.cjs +1 -1
- package/dist/components/toggle-button-group.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/components.d.ts +24 -20
- package/dist/date-input.d.ts +4 -4
- package/dist/date-picker.d.ts +4 -4
- package/dist/date-range-picker.d.ts +4 -4
- package/dist/dialog.d.ts +1 -1
- package/dist/divider.d.ts +4 -4
- package/dist/flex.d.ts +1 -1
- package/dist/form-field.d.ts +3 -3
- package/dist/grid.d.ts +1 -1
- package/dist/heading.d.ts +1 -1
- package/dist/icon-button.d.ts +3 -3
- package/dist/icon-toggle-button.d.ts +3 -3
- package/dist/icon.d.ts +4 -4
- package/dist/image.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +24 -20
- package/dist/index.es.js +124 -121
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +1 -1
- package/dist/link.d.ts +4 -4
- package/dist/list.d.ts +1 -1
- package/dist/loading-spinner.d.ts +4 -4
- package/dist/multiline-text-input.d.ts +3 -3
- package/dist/number-input.d.ts +3 -3
- package/dist/password-input.d.ts +3 -3
- package/dist/progress-bar.d.ts +4 -4
- package/dist/radio-input.d.ts +3 -3
- package/dist/range-calendar.d.ts +2 -2
- package/dist/select.d.ts +2 -2
- package/dist/simple-grid.d.ts +1 -1
- package/dist/stack.d.ts +1 -1
- package/dist/switch.d.ts +2 -2
- package/dist/table.d.ts +1 -1
- package/dist/tag-group.d.ts +3 -3
- package/dist/text-input.d.ts +3 -3
- package/dist/text.d.ts +1 -1
- package/dist/time-input.d.ts +4 -4
- package/dist/toggle-button-group.d.ts +3 -3
- package/dist/toggle-button.d.ts +3 -3
- package/dist/tooltip.d.ts +4 -4
- package/package.json +5 -5
- package/dist/chunks/accordion-Bn6CnY0Y.cjs.js +0 -2
- package/dist/chunks/accordion-Bn6CnY0Y.cjs.js.map +0 -1
- package/dist/chunks/accordion-xfgQQjFK.es.js.map +0 -1
- package/dist/chunks/alert-BkF91mJ0.es.js.map +0 -1
- package/dist/chunks/alert-CQLVvNDD.cjs.js +0 -2
- package/dist/chunks/alert-CQLVvNDD.cjs.js.map +0 -1
- package/dist/chunks/avatar-BLun8TXk.cjs.js +0 -2
- package/dist/chunks/avatar-BLun8TXk.cjs.js.map +0 -1
- package/dist/chunks/avatar-DgvfEdwK.es.js.map +0 -1
- package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js.map +0 -1
- package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js +0 -2
- package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js.map +0 -1
- package/dist/chunks/badge-CFwI3HLf.cjs.js +0 -2
- package/dist/chunks/badge-CFwI3HLf.cjs.js.map +0 -1
- package/dist/chunks/badge-DVDR3-fy.es.js.map +0 -1
- package/dist/chunks/box-DD4jYgS7.es.js +0 -11
- package/dist/chunks/box-DD4jYgS7.es.js.map +0 -1
- package/dist/chunks/box-FU6tRPFs.cjs.js +0 -2
- package/dist/chunks/box-FU6tRPFs.cjs.js.map +0 -1
- package/dist/chunks/button-BBwNbl7S.cjs.js +0 -2
- package/dist/chunks/button-BBwNbl7S.cjs.js.map +0 -1
- package/dist/chunks/button-BTpQweka.es.js +0 -55
- package/dist/chunks/button-BTpQweka.es.js.map +0 -1
- package/dist/chunks/button.recipe-DHk13lGU.cjs.js +0 -2
- package/dist/chunks/button.recipe-DHk13lGU.cjs.js.map +0 -1
- package/dist/chunks/button.recipe-DzOS_Bqm.es.js.map +0 -1
- package/dist/chunks/calendar-B4nCYXn4.es.js.map +0 -1
- package/dist/chunks/calendar-CKVscUm-.cjs.js +0 -2
- package/dist/chunks/calendar-CKVscUm-.cjs.js.map +0 -1
- package/dist/chunks/calendar.recipe-B2sMokBn.es.js +0 -101
- package/dist/chunks/calendar.recipe-B2sMokBn.es.js.map +0 -1
- package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js +0 -2
- package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js.map +0 -1
- package/dist/chunks/card-B9z3AknN.cjs.js +0 -2
- package/dist/chunks/card-B9z3AknN.cjs.js.map +0 -1
- package/dist/chunks/card-CvY06qIE.es.js.map +0 -1
- package/dist/chunks/checkbox-DywApPQh.cjs.js +0 -2
- package/dist/chunks/checkbox-DywApPQh.cjs.js.map +0 -1
- package/dist/chunks/checkbox-yo64B6Gz.es.js.map +0 -1
- package/dist/chunks/code-CI8aUhmu.es.js +0 -6
- package/dist/chunks/code-CI8aUhmu.es.js.map +0 -1
- package/dist/chunks/code-Dg4Larbo.cjs.js +0 -2
- package/dist/chunks/code-Dg4Larbo.cjs.js.map +0 -1
- package/dist/chunks/combobox-D5lDtav9.cjs.js +0 -2
- package/dist/chunks/combobox.recipe-CJl9E8AK.cjs.js +0 -2
- package/dist/chunks/combobox.recipe-CJl9E8AK.cjs.js.map +0 -1
- package/dist/chunks/combobox.recipe-DfgnwaPj.es.js +0 -380
- package/dist/chunks/combobox.recipe-DfgnwaPj.es.js.map +0 -1
- package/dist/chunks/date-input-4hsVHJJo.es.js +0 -16
- package/dist/chunks/date-input-4hsVHJJo.es.js.map +0 -1
- package/dist/chunks/date-input-CGy4NHpW.cjs.js +0 -2
- package/dist/chunks/date-input-CGy4NHpW.cjs.js.map +0 -1
- package/dist/chunks/date-input.recipe-BGVIdrvQ.cjs.js +0 -2
- package/dist/chunks/date-input.recipe-BGVIdrvQ.cjs.js.map +0 -1
- package/dist/chunks/date-input.recipe-DENfjb1Z.es.js +0 -127
- package/dist/chunks/date-input.recipe-DENfjb1Z.es.js.map +0 -1
- package/dist/chunks/date-picker-BSOum_Vm.cjs.js +0 -2
- package/dist/chunks/date-picker-BSOum_Vm.cjs.js.map +0 -1
- package/dist/chunks/date-picker-CrV9TJ_O.es.js.map +0 -1
- package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js +0 -2
- package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js.map +0 -1
- package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js +0 -82
- package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js.map +0 -1
- package/dist/chunks/date-range-picker-Bvgghg-M.cjs.js +0 -2
- package/dist/chunks/date-range-picker-Bvgghg-M.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-ByLVQAiA.es.js.map +0 -1
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +0 -2
- package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +0 -124
- package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +0 -1
- package/dist/chunks/dialog-C1HRMUcF.es.js +0 -33
- package/dist/chunks/dialog-C1HRMUcF.es.js.map +0 -1
- package/dist/chunks/dialog-amEwvIoM.cjs.js +0 -2
- package/dist/chunks/dialog-amEwvIoM.cjs.js.map +0 -1
- package/dist/chunks/divider-D3ah61jw.cjs.js +0 -2
- package/dist/chunks/divider-D3ah61jw.cjs.js.map +0 -1
- package/dist/chunks/divider-m0ZtHIMJ.es.js.map +0 -1
- package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +0 -2
- package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +0 -1
- package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +0 -16
- package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-CxgBrz3O.es.js +0 -11
- package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +0 -1
- package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js +0 -2
- package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +0 -1
- package/dist/chunks/form-field-C9PpQYF0.es.js.map +0 -1
- package/dist/chunks/form-field-CBFyTAo8.cjs.js.map +0 -1
- package/dist/chunks/grid-CugcJxRP.es.js +0 -14
- package/dist/chunks/grid-CugcJxRP.es.js.map +0 -1
- package/dist/chunks/grid-xr2A-OqD.cjs.js +0 -2
- package/dist/chunks/grid-xr2A-OqD.cjs.js.map +0 -1
- package/dist/chunks/icon-BFNYuilh.es.js.map +0 -1
- package/dist/chunks/icon-D50i-dqv.cjs.js +0 -2
- package/dist/chunks/icon-D50i-dqv.cjs.js.map +0 -1
- package/dist/chunks/image-DCirAAnr.cjs.js +0 -2
- package/dist/chunks/image-DCirAAnr.cjs.js.map +0 -1
- package/dist/chunks/image-rXPA3shk.es.js +0 -8
- package/dist/chunks/image-rXPA3shk.es.js.map +0 -1
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js +0 -2
- package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +0 -1
- package/dist/chunks/kbd-Gxvodc1U.es.js +0 -15
- package/dist/chunks/kbd-Gxvodc1U.es.js.map +0 -1
- package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +0 -1
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +0 -2
- package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +0 -1
- package/dist/chunks/link-BS1jRPrC.es.js.map +0 -1
- package/dist/chunks/link-COqOFX5Z.cjs.js +0 -2
- package/dist/chunks/link-COqOFX5Z.cjs.js.map +0 -1
- package/dist/chunks/link.recipe-Ba2by0OG.es.js.map +0 -1
- package/dist/chunks/link.recipe-CG3leGAx.cjs.js +0 -2
- package/dist/chunks/link.recipe-CG3leGAx.cjs.js.map +0 -1
- package/dist/chunks/list-8yfreyzi.cjs.js +0 -2
- package/dist/chunks/list-8yfreyzi.cjs.js.map +0 -1
- package/dist/chunks/list-B21joBrq.es.js +0 -13
- package/dist/chunks/list-B21joBrq.es.js.map +0 -1
- package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js +0 -2
- package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js.map +0 -1
- package/dist/chunks/loading-spinner-DwN-yshK.es.js.map +0 -1
- package/dist/chunks/menu-BpACcVBO.es.js.map +0 -1
- package/dist/chunks/menu-CTiF7BX_.cjs.js +0 -2
- package/dist/chunks/menu-CTiF7BX_.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-BCHcfgz9.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-BCHcfgz9.cjs.js.map +0 -1
- package/dist/chunks/multiline-text-input-sSdbj6tb.es.js.map +0 -1
- package/dist/chunks/nimbus-provider-Bf7NgBYl.cjs.js +0 -4
- package/dist/chunks/nimbus-provider-Bf7NgBYl.cjs.js.map +0 -1
- package/dist/chunks/nimbus-provider-DiytQtCG.es.js +0 -1829
- package/dist/chunks/nimbus-provider-DiytQtCG.es.js.map +0 -1
- package/dist/chunks/number-input-BU6yMXV8.cjs.js +0 -2
- package/dist/chunks/number-input.recipe-B1kAID71.cjs.js +0 -2
- package/dist/chunks/number-input.recipe-B1kAID71.cjs.js.map +0 -1
- package/dist/chunks/number-input.recipe-CYgMvPKy.es.js +0 -210
- package/dist/chunks/number-input.recipe-CYgMvPKy.es.js.map +0 -1
- package/dist/chunks/progress-bar-CCyJEPoU.es.js.map +0 -1
- package/dist/chunks/progress-bar-pMjw8h4h.cjs.js +0 -2
- package/dist/chunks/progress-bar-pMjw8h4h.cjs.js.map +0 -1
- package/dist/chunks/radio-input-BLVHJidw.cjs.js +0 -2
- package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js +0 -75
- package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js.map +0 -1
- package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js +0 -2
- package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-13GVqWSL.cjs.js +0 -2
- package/dist/chunks/range-calendar-13GVqWSL.cjs.js.map +0 -1
- package/dist/chunks/range-calendar-C-qR1QHT.es.js.map +0 -1
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +0 -129
- package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +0 -1
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +0 -2
- package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +0 -1
- package/dist/chunks/select-BZ2fZDHJ.cjs.js +0 -2
- package/dist/chunks/select.recipe-B7-wzxnS.es.js +0 -204
- package/dist/chunks/select.recipe-B7-wzxnS.es.js.map +0 -1
- package/dist/chunks/select.recipe-DhuuNbSx.cjs.js +0 -2
- package/dist/chunks/select.recipe-DhuuNbSx.cjs.js.map +0 -1
- package/dist/chunks/simple-grid-CFOP9g2P.es.js +0 -14
- package/dist/chunks/simple-grid-CFOP9g2P.es.js.map +0 -1
- package/dist/chunks/simple-grid-CHgTayx6.cjs.js +0 -2
- package/dist/chunks/simple-grid-CHgTayx6.cjs.js.map +0 -1
- package/dist/chunks/stack-__ugxVHD.es.js +0 -11
- package/dist/chunks/stack-__ugxVHD.es.js.map +0 -1
- package/dist/chunks/stack-wFUhYQQb.cjs.js +0 -2
- package/dist/chunks/stack-wFUhYQQb.cjs.js.map +0 -1
- package/dist/chunks/switch-BriJIKqx.es.js.map +0 -1
- package/dist/chunks/switch-GFsEXE6w.cjs.js +0 -2
- package/dist/chunks/switch-GFsEXE6w.cjs.js.map +0 -1
- package/dist/chunks/switch.recipe-CWOjEnIy.es.js +0 -100
- package/dist/chunks/switch.recipe-CWOjEnIy.es.js.map +0 -1
- package/dist/chunks/switch.recipe-DHopLj_g.cjs.js +0 -2
- package/dist/chunks/switch.recipe-DHopLj_g.cjs.js.map +0 -1
- package/dist/chunks/tag-group-D7GNkec5.cjs.js +0 -2
- package/dist/chunks/text--fhvW47o.cjs.js +0 -2
- package/dist/chunks/text--fhvW47o.cjs.js.map +0 -1
- package/dist/chunks/text-CFsPSPPs.es.js +0 -24
- package/dist/chunks/text-CFsPSPPs.es.js.map +0 -1
- package/dist/chunks/text-input-Dg1LSvlo.es.js +0 -17
- package/dist/chunks/text-input-Dg1LSvlo.es.js.map +0 -1
- package/dist/chunks/text-input-DzIZYD16.cjs.js +0 -2
- package/dist/chunks/text-input-DzIZYD16.cjs.js.map +0 -1
- package/dist/chunks/text-input.recipe-BoPfTFYK.cjs.js +0 -2
- package/dist/chunks/text-input.recipe-BoPfTFYK.cjs.js.map +0 -1
- package/dist/chunks/text-input.recipe-C5rrWDU0.es.js +0 -65
- package/dist/chunks/text-input.recipe-C5rrWDU0.es.js.map +0 -1
- package/dist/chunks/time-input-ByUOjN2R.cjs.js +0 -2
- package/dist/chunks/time-input-ByUOjN2R.cjs.js.map +0 -1
- package/dist/chunks/time-input-pPM_sx2J.es.js.map +0 -1
- package/dist/chunks/toggle-button-BcbQQcBy.cjs.js +0 -2
- package/dist/chunks/toggle-button-BcbQQcBy.cjs.js.map +0 -1
- package/dist/chunks/toggle-button-DhnBl8Gb.es.js +0 -29
- package/dist/chunks/toggle-button-DhnBl8Gb.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-BQfaNSZf.es.js.map +0 -1
- package/dist/chunks/toggle-button-group-C5nvmHRc.cjs.js +0 -2
- package/dist/chunks/toggle-button-group-C5nvmHRc.cjs.js.map +0 -1
- package/dist/chunks/toggle-button.recipe-COtV4niJ.es.js +0 -64
- package/dist/chunks/toggle-button.recipe-COtV4niJ.es.js.map +0 -1
- package/dist/chunks/toggle-button.recipe-Cz4g2WY9.cjs.js +0 -2
- package/dist/chunks/toggle-button.recipe-Cz4g2WY9.cjs.js.map +0 -1
- package/dist/chunks/toolbar-O-t4_xhL.cjs.js +0 -2
- package/dist/chunks/toolbar.recipe-4zTJxMys.cjs.js +0 -2
- package/dist/chunks/toolbar.recipe-4zTJxMys.cjs.js.map +0 -1
- package/dist/chunks/toolbar.recipe-DQHsyTVO.es.js +0 -56
- package/dist/chunks/toolbar.recipe-DQHsyTVO.es.js.map +0 -1
- package/dist/chunks/tooltip-DwXtfA_x.cjs.js +0 -2
- package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js.map +0 -1
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js +0 -2
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex-DgsstZZT.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/flex/flex.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Flex = forwardRef(\n function Flex2(props, ref) {\n const {\n direction,\n align,\n justify,\n wrap,\n basis,\n grow,\n shrink,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ref,\n ...rest,\n css: {\n display: inline ? \"inline-flex\" : \"flex\",\n flexDirection: direction,\n alignItems: align,\n justifyContent: justify,\n flexWrap: wrap,\n flexBasis: basis,\n flexGrow: grow,\n flexShrink: shrink,\n ...props.css\n }\n }\n );\n }\n);\n\nexport { Flex };\n"],"names":["Flex","forwardRef","props","ref","direction","align","justify","wrap","basis","grow","shrink","inline","rest","jsx","chakra"],"mappings":"4GAMMA,EAAOC,EAAAA,WACX,SAAeC,EAAOC,EAAK,CACzB,KAAM,CACJ,UAAAC,EACA,MAAAC,EACA,QAAAC,EACA,KAAAC,EACA,MAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACT,EAAQV,EACJ,OAAuBW,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,IAAAX,EACA,GAAGS,EACH,IAAK,CACH,QAASD,EAAS,cAAgB,OAClC,cAAeP,EACf,WAAYC,EACZ,eAAgBC,EAChB,SAAUC,EACV,UAAWC,EACX,SAAUC,EACV,WAAYC,EACZ,GAAGR,EAAM,GACnB,CACA,CACA,CACE,CACF","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),i=require("react"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),i=require("react"),B=require("./config-Mt8_uyhI.cjs.js"),A=require("./create-slot-recipe-context-7JMdJHPF.cjs.js"),p=require("./Dialog-UM6kRwD8.cjs.js"),u=require("./box-BOsRGQEm.cjs.js"),H=require("./icon-button-C-Orugq3.cjs.js"),m=require("@commercetools/nimbus-icons"),R=require("./useField-Doh1_zqa.cjs.js"),s=i.createContext({context:{label:null,description:null,error:null,info:null,input:null},setContext:()=>{}}),y=`
|
|
2
2
|
"label"
|
|
3
3
|
"input"
|
|
4
4
|
"description"
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
"label input"
|
|
8
8
|
"label description"
|
|
9
9
|
"label error"
|
|
10
|
-
`,L=
|
|
11
|
-
//# sourceMappingURL=form-field-
|
|
10
|
+
`,L=B.defineSlotRecipe({slots:["root","label","input","description","error","popover"],className:"nimbus-ui-form-field",base:{root:{"--grid-gap":"spacing.100",display:"grid",width:"auto"},label:{gridArea:"label",fontWeight:"500",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},input:{gridArea:"input"},description:{gridArea:"description",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},error:{gridArea:"error",color:"critical.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},popover:{"--scrollbar-color":"colors.neutral.8","--scrollbar-bg":"colors.neutral.3",bg:"neutral.1",maxWidth:"xl",borderRadius:"200",boxShadow:"6",border:"solid-25",borderColor:"neutral.8",maxHeight:"40svh",overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"var(--scrollbar-color) var(--scrollbar-bg)",focusRing:"outside"}},variants:{size:{md:{root:{"--form-field-font-size":"fontSizes.350","--form-field-line-height":"lineHeights.500"}},sm:{root:{"--form-field-font-size":"fontSizes.300","--form-field-line-height":"lineHeights.450"}}},direction:{column:{root:{gridTemplateAreas:y},input:{mt:"var(--grid-gap)"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}},row:{root:{gridTemplateAreas:I,gridTemplateColumns:"auto 1fr",gridColumnGap:"200"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}}}},defaultVariants:{direction:"column",size:"md"}}),{withProvider:q,withContext:c}=A.createSlotRecipeContext({recipe:L}),M=q("div","root"),T=c("div","label"),W=c("div","input"),k=c("div","description"),D=c("div","error"),N=c("div","popover"),x=i.forwardRef(({isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n,children:C,...S},j)=>{const[r,f]=i.useState({label:null,description:null,error:null,info:null,input:null,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}),d={description:r.description,errorMessage:r.error};r.label?d.label=r.label:(d["aria-label"]="empty-label",d["aria-labelledby"]="empty-label");const{labelProps:z,fieldProps:E,descriptionProps:$,errorMessageProps:P}=R.$2baaea4c71418dea$export$294aa081a6c6f55d(d);i.useEffect(()=>{f(a=>({...a,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}))},[e,l,o,n]);const w={...E,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n};return t.jsx(s.Provider,{value:{context:r,setContext:f},children:t.jsxs(M,{ref:j,...S,children:[r.label&&t.jsxs(T,{...r.labelSlotProps,children:[t.jsxs("label",{...z,children:[r.label,l&&t.jsx("sup",{"aria-hidden":"true",children:"*"})]}),r.info&&t.jsxs(p.$de32f1b87079253c$export$2e1e1122cf0cba88,{children:[t.jsx(u.Box,{as:"span",display:"inline-block",position:"relative",width:"1ch",height:"1ch",ml:"200",children:t.jsx(u.Box,{as:"span",display:"inline-flex",position:"absolute",top:"50%",right:"50%",transform:"translate(50%, -50%)",children:t.jsx(H.IconButton,{"aria-label":"__MORE INFO",size:"2xs",tone:"info",variant:"link",children:t.jsx(m.HelpOutline,{})})})}),t.jsx(p.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:t.jsx(N,{asChild:!0,children:t.jsx(p.$de32f1b87079253c$export$3ddf2d174ce01153,{children:t.jsx(u.Box,{p:"300",children:r.info})})})})]})]}),r.input&&t.jsx(W,{...r.inputSlotProps,children:i.Children.map(r.input,a=>i.isValidElement(a)?i.cloneElement(a,w):a)}),r.description&&t.jsx(k,{...$,...r.descriptionSlotProps,children:r.description}),e&&r.error&&t.jsxs(D,{...P,...r.errorSlotProps,children:[t.jsx(u.Box,{as:m.ErrorOutline,display:"inline-flex",boxSize:"400",verticalAlign:"text-bottom",mr:"100"}),r.error]}),C]})})}),b=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,label:e,labelSlotProps:l}))},[e,o]),null},g=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,input:e,inputSlotProps:l}))},[e,o]),null},F=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,description:e,descriptionSlotProps:l}))},[e,o]),null},h=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,error:e,errorSlotProps:l}))},[e,o]),null},v=({children:e})=>{const{setContext:l}=i.useContext(s);return i.useEffect(()=>{l(o=>({...o,info:e}))},[e,l]),null},V={Root:x,Label:b,Input:g,Description:F,Error:h,InfoBox:v};exports.FormField=V;exports.FormFieldDescription=F;exports.FormFieldError=h;exports.FormFieldInfoBox=v;exports.FormFieldInput=g;exports.FormFieldLabel=b;exports.FormFieldRoot=x;
|
|
11
|
+
//# sourceMappingURL=form-field-BFeTiFeX.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-BFeTiFeX.cjs.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"0WA6BaA,EAAmBC,EAAAA,cAAoC,CAClE,QAAS,CACP,MAAO,KACP,YAAa,KACb,MAAO,KACP,KAAM,KACN,MAAO,IAAA,EAET,WAAY,IAAM,CAAC,CACrB,CAAC,ECpCKC,EAAe;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dR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,MAAOb,EACP,eAAAoC,CAAA,EACA,CACJ,EAAG,CAACpC,EAAUI,CAAU,CAAC,EAElB,IACT,ECTaiC,EAAmB,CAAC,CAAE,SAAArC,KAAsC,CACvE,KAAM,CAAE,WAAAI,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,KAAMb,CAAA,EACN,CACJ,EAAG,CAACA,EAAUI,CAAU,CAAC,EAElB,IACT,ECdakC,EAAY,CACvB,KAAM5C,EACN,MAAOkC,EACP,MAAOG,EACP,YAAaE,EACb,MAAOE,EACP,QAASE,CACX"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as z, forwardRef as $, useState as P, useEffect as n, Children as w, isValidElement as A, cloneElement as E, useContext as d } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as H } from "./config-ufbQ08Vi.es.js";
|
|
4
|
+
import { c as y } from "./create-slot-recipe-context-Cv3lncUO.es.js";
|
|
4
5
|
import { e as B, $ as L, a as I } from "./Dialog-C-E93N6e.es.js";
|
|
5
|
-
import { B as m } from "./box-
|
|
6
|
-
import { I as M } from "./icon-button-
|
|
6
|
+
import { B as m } from "./box-Cd4iddEV.es.js";
|
|
7
|
+
import { I as M } from "./icon-button-CJHH2Msr.es.js";
|
|
7
8
|
import { HelpOutline as R, ErrorOutline as T } from "@commercetools/nimbus-icons";
|
|
8
9
|
import { $ as W } from "./useField-BGOhsACE.es.js";
|
|
9
10
|
const a = /* @__PURE__ */ z({
|
|
@@ -126,7 +127,7 @@ const a = /* @__PURE__ */ z({
|
|
|
126
127
|
}), { withProvider: V, withContext: p } = /* @__PURE__ */ y({
|
|
127
128
|
recipe: N
|
|
128
129
|
}), _ = /* @__PURE__ */ V("div", "root"), G = /* @__PURE__ */ p("div", "label"), O = /* @__PURE__ */ p("div", "input"), D = /* @__PURE__ */ p("div", "description"), J = /* @__PURE__ */ p("div", "error"), K = /* @__PURE__ */ p("div", "popover"), Q = /* @__PURE__ */ $(
|
|
129
|
-
({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly:
|
|
130
|
+
({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: l, children: b, ...g }, h) => {
|
|
130
131
|
const [o, u] = P({
|
|
131
132
|
label: null,
|
|
132
133
|
description: null,
|
|
@@ -136,7 +137,7 @@ const a = /* @__PURE__ */ z({
|
|
|
136
137
|
isInvalid: r,
|
|
137
138
|
isRequired: t,
|
|
138
139
|
isDisabled: e,
|
|
139
|
-
isReadOnly:
|
|
140
|
+
isReadOnly: l
|
|
140
141
|
}), f = {
|
|
141
142
|
description: o.description,
|
|
142
143
|
errorMessage: o.error
|
|
@@ -149,24 +150,24 @@ const a = /* @__PURE__ */ z({
|
|
|
149
150
|
isInvalid: r,
|
|
150
151
|
isRequired: t,
|
|
151
152
|
isDisabled: e,
|
|
152
|
-
isReadOnly:
|
|
153
|
+
isReadOnly: l
|
|
153
154
|
}));
|
|
154
|
-
}, [r, t, e,
|
|
155
|
+
}, [r, t, e, l]);
|
|
155
156
|
const C = {
|
|
156
157
|
...F,
|
|
157
158
|
isInvalid: r,
|
|
158
159
|
isRequired: t,
|
|
159
160
|
isDisabled: e,
|
|
160
|
-
isReadOnly:
|
|
161
|
+
isReadOnly: l
|
|
161
162
|
};
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
+
return /* @__PURE__ */ i(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
|
|
163
164
|
o.label && /* @__PURE__ */ c(G, { ...o.labelSlotProps, children: [
|
|
164
165
|
/* @__PURE__ */ c("label", { ...x, children: [
|
|
165
166
|
o.label,
|
|
166
|
-
t && /* @__PURE__ */
|
|
167
|
+
t && /* @__PURE__ */ i("sup", { "aria-hidden": "true", children: "*" })
|
|
167
168
|
] }),
|
|
168
169
|
o.info && /* @__PURE__ */ c(B, { children: [
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ i(
|
|
170
171
|
m,
|
|
171
172
|
{
|
|
172
173
|
as: "span",
|
|
@@ -175,7 +176,7 @@ const a = /* @__PURE__ */ z({
|
|
|
175
176
|
width: "1ch",
|
|
176
177
|
height: "1ch",
|
|
177
178
|
ml: "200",
|
|
178
|
-
children: /* @__PURE__ */
|
|
179
|
+
children: /* @__PURE__ */ i(
|
|
179
180
|
m,
|
|
180
181
|
{
|
|
181
182
|
as: "span",
|
|
@@ -184,25 +185,25 @@ const a = /* @__PURE__ */ z({
|
|
|
184
185
|
top: "50%",
|
|
185
186
|
right: "50%",
|
|
186
187
|
transform: "translate(50%, -50%)",
|
|
187
|
-
children: /* @__PURE__ */
|
|
188
|
+
children: /* @__PURE__ */ i(
|
|
188
189
|
M,
|
|
189
190
|
{
|
|
190
191
|
"aria-label": "__MORE INFO",
|
|
191
192
|
size: "2xs",
|
|
192
193
|
tone: "info",
|
|
193
194
|
variant: "link",
|
|
194
|
-
children: /* @__PURE__ */
|
|
195
|
+
children: /* @__PURE__ */ i(R, {})
|
|
195
196
|
}
|
|
196
197
|
)
|
|
197
198
|
}
|
|
198
199
|
)
|
|
199
200
|
}
|
|
200
201
|
),
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ i(L, { children: /* @__PURE__ */ i(K, { asChild: !0, children: /* @__PURE__ */ i(I, { children: /* @__PURE__ */ i(m, { p: "300", children: o.info }) }) }) })
|
|
202
203
|
] })
|
|
203
204
|
] }),
|
|
204
|
-
o.input && /* @__PURE__ */
|
|
205
|
-
o.description && /* @__PURE__ */
|
|
205
|
+
o.input && /* @__PURE__ */ i(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
|
|
206
|
+
o.description && /* @__PURE__ */ i(
|
|
206
207
|
D,
|
|
207
208
|
{
|
|
208
209
|
...v,
|
|
@@ -216,7 +217,7 @@ const a = /* @__PURE__ */ z({
|
|
|
216
217
|
...S,
|
|
217
218
|
...o.errorSlotProps,
|
|
218
219
|
children: [
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ i(
|
|
220
221
|
m,
|
|
221
222
|
{
|
|
222
223
|
as: T,
|
|
@@ -239,8 +240,8 @@ const a = /* @__PURE__ */ z({
|
|
|
239
240
|
}) => {
|
|
240
241
|
const { setContext: e } = d(a);
|
|
241
242
|
return n(() => {
|
|
242
|
-
e((
|
|
243
|
-
...
|
|
243
|
+
e((l) => ({
|
|
244
|
+
...l,
|
|
244
245
|
label: r,
|
|
245
246
|
labelSlotProps: t
|
|
246
247
|
}));
|
|
@@ -251,8 +252,8 @@ const a = /* @__PURE__ */ z({
|
|
|
251
252
|
}) => {
|
|
252
253
|
const { setContext: e } = d(a);
|
|
253
254
|
return n(() => {
|
|
254
|
-
e((
|
|
255
|
-
...
|
|
255
|
+
e((l) => ({
|
|
256
|
+
...l,
|
|
256
257
|
input: r,
|
|
257
258
|
inputSlotProps: t
|
|
258
259
|
}));
|
|
@@ -263,8 +264,8 @@ const a = /* @__PURE__ */ z({
|
|
|
263
264
|
}) => {
|
|
264
265
|
const { setContext: e } = d(a);
|
|
265
266
|
return n(() => {
|
|
266
|
-
e((
|
|
267
|
-
...
|
|
267
|
+
e((l) => ({
|
|
268
|
+
...l,
|
|
268
269
|
description: r,
|
|
269
270
|
descriptionSlotProps: t
|
|
270
271
|
}));
|
|
@@ -275,8 +276,8 @@ const a = /* @__PURE__ */ z({
|
|
|
275
276
|
}) => {
|
|
276
277
|
const { setContext: e } = d(a);
|
|
277
278
|
return n(() => {
|
|
278
|
-
e((
|
|
279
|
-
...
|
|
279
|
+
e((l) => ({
|
|
280
|
+
...l,
|
|
280
281
|
error: r,
|
|
281
282
|
errorSlotProps: t
|
|
282
283
|
}));
|
|
@@ -289,7 +290,7 @@ const a = /* @__PURE__ */ z({
|
|
|
289
290
|
info: r
|
|
290
291
|
}));
|
|
291
292
|
}, [r, t]), null;
|
|
292
|
-
},
|
|
293
|
+
}, cr = {
|
|
293
294
|
Root: Q,
|
|
294
295
|
Label: U,
|
|
295
296
|
Input: X,
|
|
@@ -298,7 +299,7 @@ const a = /* @__PURE__ */ z({
|
|
|
298
299
|
InfoBox: q
|
|
299
300
|
};
|
|
300
301
|
export {
|
|
301
|
-
|
|
302
|
+
cr as F,
|
|
302
303
|
Q as a,
|
|
303
304
|
U as b,
|
|
304
305
|
X as c,
|
|
@@ -306,4 +307,4 @@ export {
|
|
|
306
307
|
Z as e,
|
|
307
308
|
q as f
|
|
308
309
|
};
|
|
309
|
-
//# sourceMappingURL=form-field-
|
|
310
|
+
//# sourceMappingURL=form-field-CRWPeZsB.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-CRWPeZsB.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":";;;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GCpCKC,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA,GAMfC,IAAY;AAAA;AAAA;AAAA;AAAA,GAULC,IAAkB,gBAAAC,EAAiB;AAAA,EAC9C,OAAO,CAAC,QAAQ,SAAS,SAAS,eAAe,SAAS,SAAS;AAAA;AAAA,EAEnE,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,cAAc;AAAA,MAEd,SAAS;AAAA,MACT,OAAO;AAAA,IAAA;AAAA,IAET,OAAO;AAAA,MACL,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,IAEZ,aAAa;AAAA,MACX,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,SAAS;AAAA,MACP,qBAAqB;AAAA,MACrB,kBAAkB;AAAA,MAClB,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,cAAc;AAAA,MACd,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,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ACT,GCfa6B,IAAuB,CAAC;AAAA,EACnC,UAAAjC;AAAA,EACA,GAAGkC;AACL,MAAqC;AACnC,QAAM,EAAE,YAAA9B,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,aAAab;AAAA,MACb,sBAAAkC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAAClC,GAAUI,CAAU,CAAC,GAElB;AACT,GCfa+B,IAAiB,CAAC;AAAA,EAC7B,UAAAnC;AAAA,EACA,GAAGoC;AACL,MAA+B;AAC7B,QAAM,EAAE,YAAAhC,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,OAAOb;AAAA,MACP,gBAAAoC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAACpC,GAAUI,CAAU,CAAC,GAElB;AACT,GCTaiC,IAAmB,CAAC,EAAE,UAAArC,QAAsC;AACvE,QAAM,EAAE,YAAAI,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,MAAMb;AAAA,IAAA,EACN;AAAA,EACJ,GAAG,CAACA,GAAUI,CAAU,CAAC,GAElB;AACT,GCdakC,KAAY;AAAA,EACvB,MAAM5C;AAAA,EACN,OAAOkC;AAAA,EACP,OAAOG;AAAA,EACP,aAAaE;AAAA,EACb,OAAOE;AAAA,EACP,SAASE;AACX;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),r=require("./grid-item-Bwt35oD8.cjs.js"),e=t=>{const{ref:s,...i}=t;return n.jsx(r.Grid,{ref:s,...i})};e.displayName="Grid";const d=Object.assign(e,{Item:r.GridItem});exports.Grid=d;
|
|
2
|
+
//# sourceMappingURL=grid-D2EDS3Nw.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-D2EDS3Nw.cjs.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":"2FAkBMA,EAAiBC,GAAqB,CAC1C,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACC,EAAAA,KAAA,CAAW,IAAAH,EAAW,GAAGC,CAAA,CAAW,CAC9C,EAEAH,EAAc,YAAc,OAErB,MAAMM,EAAO,OAAO,OAAON,EAAe,CAC/C,KAAMO,EAAAA,QACR,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { c as w, d as R } from "./factory-BpGQXckI.es.js";
|
|
4
|
+
import { m as C } from "./walk-object-D9P1kanu.es.js";
|
|
5
|
+
const F = /* @__PURE__ */ p(
|
|
6
|
+
function(o, t) {
|
|
7
|
+
const {
|
|
8
|
+
templateAreas: n,
|
|
9
|
+
column: a,
|
|
10
|
+
row: i,
|
|
11
|
+
autoFlow: s,
|
|
12
|
+
autoRows: d,
|
|
13
|
+
templateRows: m,
|
|
14
|
+
autoColumns: e,
|
|
15
|
+
templateColumns: l,
|
|
16
|
+
inline: u,
|
|
17
|
+
...f
|
|
18
|
+
} = o;
|
|
19
|
+
return /* @__PURE__ */ g(
|
|
20
|
+
w.div,
|
|
21
|
+
{
|
|
22
|
+
...f,
|
|
23
|
+
ref: t,
|
|
24
|
+
css: [
|
|
25
|
+
{
|
|
26
|
+
display: u ? "inline-grid" : "grid",
|
|
27
|
+
gridTemplateAreas: n,
|
|
28
|
+
gridAutoColumns: e,
|
|
29
|
+
gridColumn: a,
|
|
30
|
+
gridRow: i,
|
|
31
|
+
gridAutoFlow: s,
|
|
32
|
+
gridAutoRows: d,
|
|
33
|
+
gridTemplateRows: m,
|
|
34
|
+
gridTemplateColumns: l
|
|
35
|
+
},
|
|
36
|
+
o.css
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
function c(r) {
|
|
43
|
+
return C(
|
|
44
|
+
r,
|
|
45
|
+
(o) => o === "auto" ? "auto" : `span ${o}/span ${o}`
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
const T = /* @__PURE__ */ p(
|
|
49
|
+
function(o, t) {
|
|
50
|
+
const {
|
|
51
|
+
area: n,
|
|
52
|
+
colSpan: a,
|
|
53
|
+
colStart: i,
|
|
54
|
+
colEnd: s,
|
|
55
|
+
rowEnd: d,
|
|
56
|
+
rowSpan: m,
|
|
57
|
+
rowStart: e,
|
|
58
|
+
...l
|
|
59
|
+
} = o, u = R({
|
|
60
|
+
gridArea: n,
|
|
61
|
+
gridColumn: c(a),
|
|
62
|
+
gridRow: c(m),
|
|
63
|
+
gridColumnStart: i,
|
|
64
|
+
gridColumnEnd: s,
|
|
65
|
+
gridRowStart: e,
|
|
66
|
+
gridRowEnd: d
|
|
67
|
+
});
|
|
68
|
+
return /* @__PURE__ */ g(w.div, { ref: t, css: u, ...l });
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
export {
|
|
72
|
+
T as G,
|
|
73
|
+
F as a
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=grid-item-BHKNxWuU.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-item-BHKNxWuU.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid.js","../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid-item.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Grid = forwardRef(\n function Grid2(props, ref) {\n const {\n templateAreas,\n column,\n row,\n autoFlow,\n autoRows,\n templateRows,\n autoColumns,\n templateColumns,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...rest,\n ref,\n css: [\n {\n display: inline ? \"inline-grid\" : \"grid\",\n gridTemplateAreas: templateAreas,\n gridAutoColumns: autoColumns,\n gridColumn: column,\n gridRow: row,\n gridAutoFlow: autoFlow,\n gridAutoRows: autoRows,\n gridTemplateRows: templateRows,\n gridTemplateColumns: templateColumns\n },\n props.css\n ]\n }\n );\n }\n);\n\nexport { Grid };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { compact } from '../../utils/compact.js';\nimport { mapObject } from '../../utils/walk-object.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nfunction spanFn(span) {\n return mapObject(\n span,\n (value) => value === \"auto\" ? \"auto\" : `span ${value}/span ${value}`\n );\n}\nconst GridItem = forwardRef(\n function GridItem2(props, ref) {\n const {\n area,\n colSpan,\n colStart,\n colEnd,\n rowEnd,\n rowSpan,\n rowStart,\n ...rest\n } = props;\n const styles = compact({\n gridArea: area,\n gridColumn: spanFn(colSpan),\n gridRow: spanFn(rowSpan),\n gridColumnStart: colStart,\n gridColumnEnd: colEnd,\n gridRowStart: rowStart,\n gridRowEnd: rowEnd\n });\n return /* @__PURE__ */ jsx(chakra.div, { ref, css: styles, ...rest });\n }\n);\n\nexport { GridItem };\n"],"names":["Grid","forwardRef","props","ref","templateAreas","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","inline","rest","jsx","chakra","spanFn","span","mapObject","value","GridItem","area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart","styles","compact"],"mappings":";;;;AAMK,MAACA,IAAO,gBAAAC;AAAA,EACX,SAAeC,GAAOC,GAAK;AACzB,UAAM;AAAA,MACJ,eAAAC;AAAA,MACA,QAAAC;AAAA,MACA,KAAAC;AAAA,MACA,UAAAC;AAAA,MACA,UAAAC;AAAA,MACA,cAAAC;AAAA,MACA,aAAAC;AAAA,MACA,iBAAAC;AAAA,MACA,QAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQX;AACJ,WAAuB,gBAAAY;AAAA,MACrBC,EAAO;AAAA,MACP;AAAA,QACE,GAAGF;AAAA,QACH,KAAAV;AAAA,QACA,KAAK;AAAA,UACH;AAAA,YACE,SAASS,IAAS,gBAAgB;AAAA,YAClC,mBAAmBR;AAAA,YACnB,iBAAiBM;AAAA,YACjB,YAAYL;AAAA,YACZ,SAASC;AAAA,YACT,cAAcC;AAAA,YACd,cAAcC;AAAA,YACd,kBAAkBC;AAAA,YAClB,qBAAqBE;AAAA,UACjC;AAAA,UACUT,EAAM;AAAA,QAChB;AAAA,MACA;AAAA,IACA;AAAA,EACE;AACF;AClCA,SAASc,EAAOC,GAAM;AACpB,SAAOC;AAAA,IACLD;AAAA,IACA,CAACE,MAAUA,MAAU,SAAS,SAAS,QAAQA,CAAK,SAASA,CAAK;AAAA,EACtE;AACA;AACK,MAACC,IAAW,gBAAAnB;AAAA,EACf,SAAmBC,GAAOC,GAAK;AAC7B,UAAM;AAAA,MACJ,MAAAkB;AAAA,MACA,SAAAC;AAAA,MACA,UAAAC;AAAA,MACA,QAAAC;AAAA,MACA,QAAAC;AAAA,MACA,SAAAC;AAAA,MACA,UAAAC;AAAA,MACA,GAAGd;AAAA,IACT,IAAQX,GACE0B,IAASC,EAAQ;AAAA,MACrB,UAAUR;AAAA,MACV,YAAYL,EAAOM,CAAO;AAAA,MAC1B,SAASN,EAAOU,CAAO;AAAA,MACvB,iBAAiBH;AAAA,MACjB,eAAeC;AAAA,MACf,cAAcG;AAAA,MACd,YAAYF;AAAA,IAClB,CAAK;AACD,WAAuB,gBAAAX,EAAIC,EAAO,KAAK,EAAE,KAAAZ,GAAK,KAAKyB,GAAQ,GAAGf,GAAM;AAAA,EACtE;AACF;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const w=require("react/jsx-runtime"),p=require("react"),m=require("./factory-DNbWS0Ob.cjs.js"),f=require("./walk-object-BGye4E3_.cjs.js"),C=p.forwardRef(function(r,o){const{templateAreas:n,column:e,row:i,autoFlow:s,autoRows:a,templateRows:d,autoColumns:c,templateColumns:u,inline:l,...R}=r;return w.jsx(m.chakra.div,{...R,ref:o,css:[{display:l?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:c,gridColumn:e,gridRow:i,gridAutoFlow:s,gridAutoRows:a,gridTemplateRows:d,gridTemplateColumns:u},r.css]})});function g(t){return f.mapObject(t,r=>r==="auto"?"auto":`span ${r}/span ${r}`)}const S=p.forwardRef(function(r,o){const{area:n,colSpan:e,colStart:i,colEnd:s,rowEnd:a,rowSpan:d,rowStart:c,...u}=r,l=m.compact({gridArea:n,gridColumn:g(e),gridRow:g(d),gridColumnStart:i,gridColumnEnd:s,gridRowStart:c,gridRowEnd:a});return w.jsx(m.chakra.div,{ref:o,css:l,...u})});exports.Grid=C;exports.GridItem=S;
|
|
2
|
+
//# sourceMappingURL=grid-item-Bwt35oD8.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-item-Bwt35oD8.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid.js","../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid-item.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Grid = forwardRef(\n function Grid2(props, ref) {\n const {\n templateAreas,\n column,\n row,\n autoFlow,\n autoRows,\n templateRows,\n autoColumns,\n templateColumns,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...rest,\n ref,\n css: [\n {\n display: inline ? \"inline-grid\" : \"grid\",\n gridTemplateAreas: templateAreas,\n gridAutoColumns: autoColumns,\n gridColumn: column,\n gridRow: row,\n gridAutoFlow: autoFlow,\n gridAutoRows: autoRows,\n gridTemplateRows: templateRows,\n gridTemplateColumns: templateColumns\n },\n props.css\n ]\n }\n );\n }\n);\n\nexport { Grid };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { compact } from '../../utils/compact.js';\nimport { mapObject } from '../../utils/walk-object.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nfunction spanFn(span) {\n return mapObject(\n span,\n (value) => value === \"auto\" ? \"auto\" : `span ${value}/span ${value}`\n );\n}\nconst GridItem = forwardRef(\n function GridItem2(props, ref) {\n const {\n area,\n colSpan,\n colStart,\n colEnd,\n rowEnd,\n rowSpan,\n rowStart,\n ...rest\n } = props;\n const styles = compact({\n gridArea: area,\n gridColumn: spanFn(colSpan),\n gridRow: spanFn(rowSpan),\n gridColumnStart: colStart,\n gridColumnEnd: colEnd,\n gridRowStart: rowStart,\n gridRowEnd: rowEnd\n });\n return /* @__PURE__ */ jsx(chakra.div, { ref, css: styles, ...rest });\n }\n);\n\nexport { GridItem };\n"],"names":["Grid","forwardRef","props","ref","templateAreas","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","inline","rest","jsx","chakra","spanFn","span","mapObject","value","GridItem","area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart","styles","compact"],"mappings":"uJAMMA,EAAOC,EAAAA,WACX,SAAeC,EAAOC,EAAK,CACzB,KAAM,CACJ,cAAAC,EACA,OAAAC,EACA,IAAAC,EACA,SAAAC,EACA,SAAAC,EACA,aAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,OAAAC,EACA,GAAGC,CACT,EAAQX,EACJ,OAAuBY,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,GAAGF,EACH,IAAAV,EACA,IAAK,CACH,CACE,QAASS,EAAS,cAAgB,OAClC,kBAAmBR,EACnB,gBAAiBM,EACjB,WAAYL,EACZ,QAASC,EACT,aAAcC,EACd,aAAcC,EACd,iBAAkBC,EAClB,oBAAqBE,CACjC,EACUT,EAAM,GAChB,CACA,CACA,CACE,CACF,EClCA,SAASc,EAAOC,EAAM,CACpB,OAAOC,EAAAA,UACLD,EACCE,GAAUA,IAAU,OAAS,OAAS,QAAQA,CAAK,SAASA,CAAK,EACtE,CACA,CACK,MAACC,EAAWnB,EAAAA,WACf,SAAmBC,EAAOC,EAAK,CAC7B,KAAM,CACJ,KAAAkB,EACA,QAAAC,EACA,SAAAC,EACA,OAAAC,EACA,OAAAC,EACA,QAAAC,EACA,SAAAC,EACA,GAAGd,CACT,EAAQX,EACE0B,EAASC,EAAAA,QAAQ,CACrB,SAAUR,EACV,WAAYL,EAAOM,CAAO,EAC1B,QAASN,EAAOU,CAAO,EACvB,gBAAiBH,EACjB,cAAeC,EACf,aAAcG,EACd,WAAYF,CAClB,CAAK,EACD,OAAuBX,EAAAA,IAAIC,EAAAA,OAAO,IAAK,CAAE,IAAAZ,EAAK,IAAKyB,EAAQ,GAAGf,EAAM,CACtE,CACF","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { G as i, a as m } from "./grid-item-BHKNxWuU.es.js";
|
|
3
|
+
const r = (s) => {
|
|
4
|
+
const { ref: t, ...o } = s;
|
|
5
|
+
return /* @__PURE__ */ e(m, { ref: t, ...o });
|
|
6
|
+
};
|
|
7
|
+
r.displayName = "Grid";
|
|
8
|
+
const G = /* @__PURE__ */ Object.assign(r, {
|
|
9
|
+
Item: i
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
G
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=grid-ksgCqjX_.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-ksgCqjX_.es.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":";;AAkBA,MAAMA,IAAgB,CAACC,MAAqB;AAC1C,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACC,GAAA,EAAW,KAAAH,GAAW,GAAGC,EAAA,CAAW;AAC9C;AAEAH,EAAc,cAAc;AAErB,MAAMM,IAAO,uBAAO,OAAON,GAAe;AAAA,EAC/C,MAAMO;AACR,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading-C9DC5cG8.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/typography/heading.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"heading\"\n});\nconst Heading = withContext(\"h2\");\nconst HeadingPropsProvider = PropsProvider;\n\nexport { Heading, HeadingPropsProvider };\n"],"names":["withContext","createRecipeContext","Heading"],"mappings":";AAIA,MAAM,EAAE,aAAAA,EAA2B,IAAI,gBAAAC,EAAoB;AAAA,EACzD,KAAK;AACP,CAAC,GACKC,IAAU,gBAAAF,EAAY,IAAI;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading-CbGsyynP.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/typography/heading.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"heading\"\n});\nconst Heading = withContext(\"h2\");\nconst HeadingPropsProvider = PropsProvider;\n\nexport { Heading, HeadingPropsProvider };\n"],"names":["withContext","createRecipeContext","Heading"],"mappings":"wEAIM,CAAE,YAAAA,CAA2B,EAAIC,sBAAoB,CACzD,IAAK,SACP,CAAC,EACKC,EAAUF,EAAY,IAAI","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { d as t } from "./config-ufbQ08Vi.es.js";
|
|
3
|
+
import { c } from "./create-recipe-context-c0qjq1fz.es.js";
|
|
4
|
+
const n = /* @__PURE__ */ t({
|
|
4
5
|
className: "nimbus-icon",
|
|
5
6
|
base: {
|
|
6
7
|
display: "inline-block"
|
|
@@ -18,14 +19,14 @@ const c = /* @__PURE__ */ t({
|
|
|
18
19
|
xl: { boxSize: "1400" }
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
|
-
}), { withContext: r } = /* @__PURE__ */
|
|
22
|
+
}), { withContext: r } = /* @__PURE__ */ c({ recipe: n }), a = /* @__PURE__ */ r(
|
|
22
23
|
"svg"
|
|
23
|
-
),
|
|
24
|
-
const { ref: i, ...
|
|
25
|
-
return /* @__PURE__ */ s(
|
|
24
|
+
), x = (e) => {
|
|
25
|
+
const { ref: i, ...o } = e;
|
|
26
|
+
return /* @__PURE__ */ s(a, { ref: i, asChild: !o.as, ...o });
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
+
x.displayName = "Icon";
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
x as I
|
|
30
31
|
};
|
|
31
|
-
//# sourceMappingURL=icon-
|
|
32
|
+
//# sourceMappingURL=icon-BSGub7AG.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-BSGub7AG.es.js","sources":["../../src/components/icon/icon.recipe.tsx","../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Icon component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const iconRecipe = defineRecipe({\n className: \"nimbus-icon\",\n base: {\n display: \"inline-block\",\n },\n\n variants: {\n /**\n * allows applying a predefined size to the icon\n */\n size: {\n \"2xs\": { boxSize: \"600\" },\n xs: { boxSize: \"800\" },\n sm: { boxSize: \"900\" },\n md: { boxSize: \"1000\" },\n lg: { boxSize: \"1200\" },\n xl: { boxSize: \"1400\" },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { iconRecipe } from \"./icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface IconRecipeProps extends RecipeProps<\"svg\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRootSlotProps\n extends HTMLChakraProps<\"svg\", IconRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot = withContext<SVGSVGElement, IconRootSlotProps>(\n \"svg\"\n);\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, ...restProps } = props;\n return <IconRootSlot ref={ref} asChild={!restProps.as} {...restProps} />;\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["iconRecipe","defineRecipe","withContext","createRecipeContext","IconRootSlot","Icon","props","ref","restProps","jsx"],"mappings":";;;AAMO,MAAMA,IAAa,gBAAAC,EAAa;AAAA,EACrC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,EAAA;AAAA,EAGX,UAAU;AAAA;AAAA;AAAA;AAAA,IAIR,MAAM;AAAA,MACJ,OAAO,EAAE,SAAS,MAAA;AAAA,MAClB,IAAI,EAAE,SAAS,MAAA;AAAA,MACf,IAAI,EAAE,SAAS,MAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,IAAO;AAAA,EACxB;AAEJ,CAAC,GCDK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAY,GAMrDI,IAAe,gBAAAF;AAAA,EAC1B;AACF,GCtBaG,IAAO,CAACC,MAAqB;AACxC,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACL,KAAa,KAAAG,GAAU,SAAS,CAACC,EAAU,IAAK,GAAGA,GAAW;AACxE;AAEAH,EAAK,cAAc;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),n=require("./config-Mt8_uyhI.cjs.js"),t=require("./create-recipe-context-BfiKn3k_.cjs.js"),r=n.defineRecipe({className:"nimbus-icon",base:{display:"inline-block"},variants:{size:{"2xs":{boxSize:"600"},xs:{boxSize:"800"},sm:{boxSize:"900"},md:{boxSize:"1000"},lg:{boxSize:"1200"},xl:{boxSize:"1400"}}}}),{withContext:x}=t.createRecipeContext({recipe:r}),a=x("svg"),i=o=>{const{ref:s,...e}=o;return c.jsx(a,{ref:s,asChild:!e.as,...e})};i.displayName="Icon";exports.Icon=i;
|
|
2
|
+
//# sourceMappingURL=icon-H-rP9kq5.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-H-rP9kq5.cjs.js","sources":["../../src/components/icon/icon.recipe.tsx","../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Icon component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const iconRecipe = defineRecipe({\n className: \"nimbus-icon\",\n base: {\n display: \"inline-block\",\n },\n\n variants: {\n /**\n * allows applying a predefined size to the icon\n */\n size: {\n \"2xs\": { boxSize: \"600\" },\n xs: { boxSize: \"800\" },\n sm: { boxSize: \"900\" },\n md: { boxSize: \"1000\" },\n lg: { boxSize: \"1200\" },\n xl: { boxSize: \"1400\" },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { iconRecipe } from \"./icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface IconRecipeProps extends RecipeProps<\"svg\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface IconRootSlotProps\n extends HTMLChakraProps<\"svg\", IconRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot = withContext<SVGSVGElement, IconRootSlotProps>(\n \"svg\"\n);\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * # Icon\n *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\n */\nexport const Icon = (props: IconProps) => {\n const { ref, ...restProps } = props;\n return <IconRootSlot ref={ref} asChild={!restProps.as} {...restProps} />;\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["iconRecipe","defineRecipe","withContext","createRecipeContext","IconRootSlot","Icon","props","ref","restProps","jsx"],"mappings":"6IAMaA,EAAaC,EAAAA,aAAa,CACrC,UAAW,cACX,KAAM,CACJ,QAAS,cAAA,EAGX,SAAU,CAIR,KAAM,CACJ,MAAO,CAAE,QAAS,KAAA,EAClB,GAAI,CAAE,QAAS,KAAA,EACf,GAAI,CAAE,QAAS,KAAA,EACf,GAAI,CAAE,QAAS,MAAA,EACf,GAAI,CAAE,QAAS,MAAA,EACf,GAAI,CAAE,QAAS,MAAA,CAAO,CACxB,CAEJ,CAAC,ECDK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAY,EAMrDI,EAAeF,EAC1B,KACF,ECtBaG,EAAQC,GAAqB,CACxC,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACL,GAAa,IAAAG,EAAU,QAAS,CAACC,EAAU,GAAK,GAAGA,EAAW,CACxE,EAEAH,EAAK,YAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("react/jsx-runtime"),f=require("react"),i=require("@chakra-ui/react"),a=require("./button
|
|
2
|
-
//# sourceMappingURL=icon-button-
|
|
1
|
+
"use strict";const u=require("react/jsx-runtime"),f=require("react"),i=require("@chakra-ui/react"),a=require("./button--WwulbmL.cjs.js"),d=require("./useObjectRef-4v2MxSjQ.cjs.js"),e=t=>{const{children:r,ref:n,...o}=t,s=f.useRef(null),c=d.$df56164dff5785e2$export$4338b53315abf666(i.mergeRefs(s,n));return u.jsx(a.Button,{px:0,py:0,...o,ref:c,children:r})};e.displayName="IconButton";exports.IconButton=e;
|
|
2
|
+
//# sourceMappingURL=icon-button-C-Orugq3.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button-
|
|
1
|
+
{"version":3,"file":"icon-button-C-Orugq3.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":"qLAaaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAAcH,EAGhDI,EAAWC,EAAAA,OAA0B,IAAI,EACzCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUF,CAAY,CAAC,EAE1D,OACEO,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGP,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as n } from "react";
|
|
3
3
|
import { mergeRefs as p } from "@chakra-ui/react";
|
|
4
|
-
import { B as a } from "./button-
|
|
4
|
+
import { B as a } from "./button-D0vEDRkY.es.js";
|
|
5
5
|
import { $ as c } from "./useObjectRef-CaJ5pgjX.es.js";
|
|
6
6
|
const i = (o) => {
|
|
7
7
|
const { children: r, ref: t, ...e } = o, f = n(null), s = c(p(f, t));
|
|
@@ -11,4 +11,4 @@ i.displayName = "IconButton";
|
|
|
11
11
|
export {
|
|
12
12
|
i as I
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=icon-button-
|
|
14
|
+
//# sourceMappingURL=icon-button-CJHH2Msr.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button-
|
|
1
|
+
{"version":3,"file":"icon-button-CJHH2Msr.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":";;;;;AAaO,MAAMA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAAcH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAE1D,SACE,gBAAAO,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGP,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
|