@commercetools/nimbus 0.0.0-canary-20250919154858 → 0.0.0-canary-20250922152719
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/chunks/{accordion-CyaEB05t.es.js → accordion-CSSdv9jZ.es.js} +2 -2
- package/dist/chunks/{accordion-CyaEB05t.es.js.map → accordion-CSSdv9jZ.es.js.map} +1 -1
- package/dist/chunks/{accordion-CVM_3Y8u.cjs.js → accordion-xYvGyXy-.cjs.js} +2 -2
- package/dist/chunks/{accordion-CVM_3Y8u.cjs.js.map → accordion-xYvGyXy-.cjs.js.map} +1 -1
- package/dist/chunks/{alert-CQzbVGQM.es.js → alert-BRDuEo75.es.js} +2 -2
- package/dist/chunks/{alert-CQzbVGQM.es.js.map → alert-BRDuEo75.es.js.map} +1 -1
- package/dist/chunks/{alert-B1X_ycTY.cjs.js → alert-CWTCM8-i.cjs.js} +2 -2
- package/dist/chunks/{alert-B1X_ycTY.cjs.js.map → alert-CWTCM8-i.cjs.js.map} +1 -1
- package/dist/chunks/{button-DnZz51Rh.es.js → button-DRMpnb-1.es.js} +2 -2
- package/dist/chunks/{button-DnZz51Rh.es.js.map → button-DRMpnb-1.es.js.map} +1 -1
- package/dist/chunks/{button-RUSyHGQV.cjs.js → button-Dbf1b0F4.cjs.js} +2 -2
- package/dist/chunks/{button-RUSyHGQV.cjs.js.map → button-Dbf1b0F4.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-DhN7hRLB.cjs.js → calendar-CrTvsDQH.cjs.js} +2 -2
- package/dist/chunks/{calendar-DhN7hRLB.cjs.js.map → calendar-CrTvsDQH.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-CrxxYJd-.es.js → calendar-DnQnMOcs.es.js} +4 -4
- package/dist/chunks/{calendar-CrxxYJd-.es.js.map → calendar-DnQnMOcs.es.js.map} +1 -1
- package/dist/chunks/{checkbox-CAvlAkX5.cjs.js → checkbox-Bv0NXUyX.cjs.js} +2 -2
- package/dist/chunks/{checkbox-CAvlAkX5.cjs.js.map → checkbox-Bv0NXUyX.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-BxRZ9dqc.es.js → checkbox-CdSHDZgM.es.js} +2 -2
- package/dist/chunks/{checkbox-BxRZ9dqc.es.js.map → checkbox-CdSHDZgM.es.js.map} +1 -1
- package/dist/chunks/combobox-C9pPDZQn.cjs.js +2 -0
- package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +1 -0
- package/dist/chunks/{combobox-Bjv3GWGo.es.js → combobox-Dmn2vxIz.es.js} +991 -970
- package/dist/chunks/combobox-Dmn2vxIz.es.js.map +1 -0
- package/dist/chunks/{data-table-9C4ViaHW.es.js → data-table-CBr4TLyH.es.js} +6 -6
- package/dist/chunks/{data-table-9C4ViaHW.es.js.map → data-table-CBr4TLyH.es.js.map} +1 -1
- package/dist/chunks/{data-table-BoRy4kuE.cjs.js → data-table-DIsDZ5JZ.cjs.js} +2 -2
- package/dist/chunks/{data-table-BoRy4kuE.cjs.js.map → data-table-DIsDZ5JZ.cjs.js.map} +1 -1
- package/dist/chunks/date-input-CoAPdZTG.es.js +21 -0
- package/dist/chunks/date-input-CoAPdZTG.es.js.map +1 -0
- package/dist/chunks/date-input-DYC1t1e-.cjs.js +2 -0
- package/dist/chunks/date-input-DYC1t1e-.cjs.js.map +1 -0
- package/dist/chunks/date-picker-BVrTKhZ_.es.js +219 -0
- package/dist/chunks/date-picker-BVrTKhZ_.es.js.map +1 -0
- package/dist/chunks/date-picker-_7Gh_ROw.cjs.js +2 -0
- package/dist/chunks/date-picker-_7Gh_ROw.cjs.js.map +1 -0
- package/dist/chunks/{date-range-picker-CsUWSzSC.es.js → date-range-picker-D55giMLZ.es.js} +88 -91
- package/dist/chunks/date-range-picker-D55giMLZ.es.js.map +1 -0
- package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js +2 -0
- package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js.map +1 -0
- package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js → extractStyleProps-CgqRiEwd.cjs.js} +2 -2
- package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js.map → extractStyleProps-CgqRiEwd.cjs.js.map} +1 -1
- package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js → extractStyleProps-DkXeCUuq.es.js} +2 -2
- package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js.map → extractStyleProps-DkXeCUuq.es.js.map} +1 -1
- package/dist/chunks/{form-field-CPPobl2Z.es.js → form-field-DMs36b56.es.js} +2 -2
- package/dist/chunks/{form-field-CPPobl2Z.es.js.map → form-field-DMs36b56.es.js.map} +1 -1
- package/dist/chunks/{form-field-BoGSJF6d.cjs.js → form-field-cwK6KNEG.cjs.js} +2 -2
- package/dist/chunks/{form-field-BoGSJF6d.cjs.js.map → form-field-cwK6KNEG.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-CiBtEF0y.cjs.js → icon-button-0GLW7WtL.cjs.js} +2 -2
- package/dist/chunks/{icon-button-CiBtEF0y.cjs.js.map → icon-button-0GLW7WtL.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-N3Uzjv8o.es.js → icon-button-C_i4ydsN.es.js} +2 -2
- package/dist/chunks/{icon-button-N3Uzjv8o.es.js.map → icon-button-C_i4ydsN.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js → icon-toggle-button-f03QyjEE.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js.map → icon-toggle-button-f03QyjEE.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js → icon-toggle-button-tJAqRjak.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js.map → icon-toggle-button-tJAqRjak.cjs.js.map} +1 -1
- package/dist/chunks/{index-DwjTNyza.es.js → index-CRta5Y1_.es.js} +426 -300
- package/dist/chunks/index-CRta5Y1_.es.js.map +1 -0
- package/dist/chunks/index-DX8-EG6B.cjs.js +4 -0
- package/dist/chunks/index-DX8-EG6B.cjs.js.map +1 -0
- package/dist/chunks/{menu-vAP73jq6.es.js → menu-D5UbPSbm.es.js} +3 -3
- package/dist/chunks/{menu-vAP73jq6.es.js.map → menu-D5UbPSbm.es.js.map} +1 -1
- package/dist/chunks/{menu-n9jU7SCA.cjs.js → menu-cYj3HcOe.cjs.js} +2 -2
- package/dist/chunks/{menu-n9jU7SCA.cjs.js.map → menu-cYj3HcOe.cjs.js.map} +1 -1
- package/dist/chunks/{money-input-Dkl0TJ-w.es.js → money-input-CtG9FJDJ.es.js} +4 -4
- package/dist/chunks/{money-input-Dkl0TJ-w.es.js.map → money-input-CtG9FJDJ.es.js.map} +1 -1
- package/dist/chunks/{money-input-CZkI0cQZ.cjs.js → money-input-DXpiO23i.cjs.js} +2 -2
- package/dist/chunks/{money-input-CZkI0cQZ.cjs.js.map → money-input-DXpiO23i.cjs.js.map} +1 -1
- package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js +193 -0
- package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js.map +1 -0
- package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js +12 -0
- package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js.map +1 -0
- package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js → nimbus-provider--E4ETLbz.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js.map → nimbus-provider--E4ETLbz.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js → nimbus-provider-BE3QFNWW.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js.map → nimbus-provider-BE3QFNWW.es.js.map} +1 -1
- package/dist/chunks/number-input-C-suceSs.cjs.js +2 -0
- package/dist/chunks/{number-input-BCyiGbGY.cjs.js.map → number-input-C-suceSs.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CjBiCFF6.es.js → number-input-COfobs8H.es.js} +347 -339
- package/dist/chunks/{number-input-CjBiCFF6.es.js.map → number-input-COfobs8H.es.js.map} +1 -1
- package/dist/chunks/{pagination-CwZAtcMm.cjs.js → pagination-BM1xkmu9.cjs.js} +2 -2
- package/dist/chunks/{pagination-CwZAtcMm.cjs.js.map → pagination-BM1xkmu9.cjs.js.map} +1 -1
- package/dist/chunks/{pagination-BYCMJoWX.es.js → pagination-C5bOKHnF.es.js} +4 -4
- package/dist/chunks/{pagination-BYCMJoWX.es.js.map → pagination-C5bOKHnF.es.js.map} +1 -1
- package/dist/chunks/password-input-BXIl-f4z.es.js +54 -0
- package/dist/chunks/password-input-BXIl-f4z.es.js.map +1 -0
- package/dist/chunks/password-input-Br-DbsF2.cjs.js +2 -0
- package/dist/chunks/password-input-Br-DbsF2.cjs.js.map +1 -0
- package/dist/chunks/{progress-bar-DhG9TG8r.es.js → progress-bar-8RZO_7Pa.es.js} +2 -2
- package/dist/chunks/{progress-bar-DhG9TG8r.es.js.map → progress-bar-8RZO_7Pa.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js → progress-bar-CGfPZTdv.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js.map → progress-bar-CGfPZTdv.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-CV2Am_Ol.es.js → radio-input-CBsoUt1S.es.js} +3 -3
- package/dist/chunks/{radio-input-CV2Am_Ol.es.js.map → radio-input-CBsoUt1S.es.js.map} +1 -1
- package/dist/chunks/{radio-input-A7KxF_yz.cjs.js → radio-input-D7oHngVQ.cjs.js} +2 -2
- package/dist/chunks/{radio-input-A7KxF_yz.cjs.js.map → radio-input-D7oHngVQ.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js → range-calendar-CWkeoOzl.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js.map → range-calendar-CWkeoOzl.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-BpFwP2wF.es.js → range-calendar-ZSiCkuoX.es.js} +4 -4
- package/dist/chunks/{range-calendar-BpFwP2wF.es.js.map → range-calendar-ZSiCkuoX.es.js.map} +1 -1
- package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js → rich-text-input-CxWC-yrf.cjs.js} +2 -2
- package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js.map → rich-text-input-CxWC-yrf.cjs.js.map} +1 -1
- package/dist/chunks/{rich-text-input-BBVWAH5I.es.js → rich-text-input-YYPcexom.es.js} +7 -7
- package/dist/chunks/{rich-text-input-BBVWAH5I.es.js.map → rich-text-input-YYPcexom.es.js.map} +1 -1
- package/dist/chunks/{select-BvwErOqX.es.js → select-Bj9NNlBG.es.js} +156 -146
- package/dist/chunks/{select-BvwErOqX.es.js.map → select-Bj9NNlBG.es.js.map} +1 -1
- package/dist/chunks/select-DA6mGi-n.cjs.js +2 -0
- package/dist/chunks/{select-BL0Jeztf.cjs.js.map → select-DA6mGi-n.cjs.js.map} +1 -1
- package/dist/chunks/{separator-BRUFpi9l.es.js → separator-BBcK9ROS.es.js} +2 -2
- package/dist/chunks/{separator-BRUFpi9l.es.js.map → separator-BBcK9ROS.es.js.map} +1 -1
- package/dist/chunks/{separator-DKPbB_lK.cjs.js → separator-CoMx0Mmv.cjs.js} +2 -2
- package/dist/chunks/{separator-DKPbB_lK.cjs.js.map → separator-CoMx0Mmv.cjs.js.map} +1 -1
- package/dist/chunks/{split-button-B4SnFetQ.es.js → split-button-C5RRpvG-.es.js} +5 -5
- package/dist/chunks/{split-button-B4SnFetQ.es.js.map → split-button-C5RRpvG-.es.js.map} +1 -1
- package/dist/chunks/{split-button-Cs4jynee.cjs.js → split-button-DS-OCnNN.cjs.js} +2 -2
- package/dist/chunks/{split-button-Cs4jynee.cjs.js.map → split-button-DS-OCnNN.cjs.js.map} +1 -1
- package/dist/chunks/{switch-CssXPh09.es.js → switch-CaNbdCzT.es.js} +3 -3
- package/dist/chunks/{switch-CssXPh09.es.js.map → switch-CaNbdCzT.es.js.map} +1 -1
- package/dist/chunks/{switch-DAVy_DYC.cjs.js → switch-uAVIHIFM.cjs.js} +2 -2
- package/dist/chunks/{switch-DAVy_DYC.cjs.js.map → switch-uAVIHIFM.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-BJ33FcVi.cjs.js → tag-group-BfVRqsqw.cjs.js} +2 -2
- package/dist/chunks/{tag-group-BJ33FcVi.cjs.js.map → tag-group-BfVRqsqw.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-JeqOcMyb.es.js → tag-group-Bs6sb_ky.es.js} +2 -2
- package/dist/chunks/{tag-group-JeqOcMyb.es.js.map → tag-group-Bs6sb_ky.es.js.map} +1 -1
- package/dist/chunks/text-input-Bm5P6cG3.es.js +48 -0
- package/dist/chunks/text-input-Bm5P6cG3.es.js.map +1 -0
- package/dist/chunks/text-input-DgYI0-uU.cjs.js +2 -0
- package/dist/chunks/text-input-DgYI0-uU.cjs.js.map +1 -0
- package/dist/chunks/time-input-BVrf5gCi.es.js +179 -0
- package/dist/chunks/time-input-BVrf5gCi.es.js.map +1 -0
- package/dist/chunks/time-input-DOacr-Lo.cjs.js +2 -0
- package/dist/chunks/time-input-DOacr-Lo.cjs.js.map +1 -0
- package/dist/chunks/{toggle-button-DSp3s7cp.es.js → toggle-button-Bg4ygY7u.es.js} +3 -3
- package/dist/chunks/{toggle-button-DSp3s7cp.es.js.map → toggle-button-Bg4ygY7u.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js → toggle-button-CoA46qg6.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js.map → toggle-button-CoA46qg6.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-_QcKjeZY.es.js → toolbar-BZFjOgau.es.js} +3 -3
- package/dist/chunks/{toolbar-_QcKjeZY.es.js.map → toolbar-BZFjOgau.es.js.map} +1 -1
- package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js → toolbar-CRak3D0J.cjs.js} +2 -2
- package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js.map → toolbar-CRak3D0J.cjs.js.map} +1 -1
- package/dist/combobox.d.ts +26 -1
- 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/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/checkbox.cjs +1 -1
- package/dist/components/checkbox.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 +33 -33
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +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/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- 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/money-input.cjs +1 -1
- package/dist/components/money-input.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/pagination.cjs +1 -1
- package/dist/components/pagination.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/rich-text-input.cjs +1 -1
- package/dist/components/rich-text-input.es.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- 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/time-input.cjs +1 -1
- package/dist/components/time-input.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.d.ts +302 -114
- package/dist/data-table.d.ts +6 -6
- package/dist/date-input.d.ts +43 -10
- package/dist/date-picker.d.ts +46 -31
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +316 -128
- package/dist/index.es.js +36 -36
- package/dist/multiline-text-input.d.ts +49 -9
- package/dist/number-input.d.ts +50 -31
- package/dist/password-input.d.ts +59 -25
- package/dist/select.d.ts +19 -2
- package/dist/text-input.d.ts +53 -21
- package/dist/time-input.d.ts +48 -12
- package/package.json +5 -5
- package/dist/chunks/combobox-Bjv3GWGo.es.js.map +0 -1
- package/dist/chunks/combobox-DFEUqaQv.cjs.js +0 -2
- package/dist/chunks/combobox-DFEUqaQv.cjs.js.map +0 -1
- package/dist/chunks/date-input-BfX4o6R4.es.js +0 -16
- package/dist/chunks/date-input-BfX4o6R4.es.js.map +0 -1
- package/dist/chunks/date-input-sKLgo0X8.cjs.js +0 -2
- package/dist/chunks/date-input-sKLgo0X8.cjs.js.map +0 -1
- package/dist/chunks/date-picker-BviqgxDx.es.js +0 -222
- package/dist/chunks/date-picker-BviqgxDx.es.js.map +0 -1
- package/dist/chunks/date-picker-STd_oI72.cjs.js +0 -2
- package/dist/chunks/date-picker-STd_oI72.cjs.js.map +0 -1
- package/dist/chunks/date-range-picker-CsUWSzSC.es.js.map +0 -1
- package/dist/chunks/date-range-picker-cA84RzN7.cjs.js +0 -2
- package/dist/chunks/date-range-picker-cA84RzN7.cjs.js.map +0 -1
- package/dist/chunks/index-DebuynT7.cjs.js +0 -4
- package/dist/chunks/index-DebuynT7.cjs.js.map +0 -1
- package/dist/chunks/index-DwjTNyza.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js +0 -118
- package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js.map +0 -1
- package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js +0 -12
- package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js.map +0 -1
- package/dist/chunks/number-input-BCyiGbGY.cjs.js +0 -2
- package/dist/chunks/password-input-BkTbfljJ.cjs.js +0 -2
- package/dist/chunks/password-input-BkTbfljJ.cjs.js.map +0 -1
- package/dist/chunks/password-input-BlU2h_8U.es.js +0 -67
- package/dist/chunks/password-input-BlU2h_8U.es.js.map +0 -1
- package/dist/chunks/select-BL0Jeztf.cjs.js +0 -2
- package/dist/chunks/text-input-Bu4lGoBD.es.js +0 -18
- package/dist/chunks/text-input-Bu4lGoBD.es.js.map +0 -1
- package/dist/chunks/text-input-DtMgT0KI.cjs.js +0 -2
- package/dist/chunks/text-input-DtMgT0KI.cjs.js.map +0 -1
- package/dist/chunks/time-input-D8D26IcA.es.js +0 -130
- package/dist/chunks/time-input-D8D26IcA.es.js.map +0 -1
- package/dist/chunks/time-input-D9Xmy3YQ.cjs.js +0 -2
- package/dist/chunks/time-input-D9Xmy3YQ.cjs.js.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { A as Le } from "./chunks/avatar-Bu12OMzz.es.js";
|
|
2
2
|
import { B as Be } from "./chunks/box-DuBoAZvq.es.js";
|
|
3
|
-
import { B as He } from "./chunks/button-
|
|
3
|
+
import { B as He } from "./chunks/button-DRMpnb-1.es.js";
|
|
4
4
|
import { C as Fe } from "./chunks/code-Dl7u63Zn.es.js";
|
|
5
|
-
import { C as Ne, c as Ue, b as je, a as Ge } from "./chunks/combobox-
|
|
5
|
+
import { C as Ne, c as Ue, b as je, a as Ge } from "./chunks/combobox-Dmn2vxIz.es.js";
|
|
6
6
|
import { D as Ve } from "./chunks/dialog-DTSuKnyk.es.js";
|
|
7
7
|
import { G as We } from "./chunks/group-CqfSQXe7.es.js";
|
|
8
|
-
import { I as Xe } from "./chunks/icon-button-
|
|
9
|
-
import { I as Qe } from "./chunks/icon-toggle-button-
|
|
8
|
+
import { I as Xe } from "./chunks/icon-button-C_i4ydsN.es.js";
|
|
9
|
+
import { I as Qe } from "./chunks/icon-toggle-button-f03QyjEE.es.js";
|
|
10
10
|
import { I as Ze } from "./chunks/image-DRigLU80.es.js";
|
|
11
11
|
import { K as tt } from "./chunks/kbd-BXN9aXRE.es.js";
|
|
12
12
|
import { L as ot } from "./chunks/link-CFK97sc0.es.js";
|
|
@@ -15,51 +15,51 @@ import { S as ct } from "./chunks/simple-grid-DU5v66TG.es.js";
|
|
|
15
15
|
import { T as dt } from "./chunks/text-DfQpupDi.es.js";
|
|
16
16
|
import { b as mt, a as yt, T as vt } from "./chunks/tooltip-B1YdruCE.es.js";
|
|
17
17
|
import { M as bt } from "./chunks/make-element-focusable-C4ZHUSEU.es.js";
|
|
18
|
-
import { z as X } from "./chunks/nimbus-provider-
|
|
19
|
-
import { N as Ct } from "./chunks/nimbus-provider-
|
|
20
|
-
import { C as _t } from "./chunks/checkbox-
|
|
18
|
+
import { z as X } from "./chunks/nimbus-provider-BE3QFNWW.es.js";
|
|
19
|
+
import { N as Ct } from "./chunks/nimbus-provider-BE3QFNWW.es.js";
|
|
20
|
+
import { C as _t } from "./chunks/checkbox-CdSHDZgM.es.js";
|
|
21
21
|
import { S as St } from "./chunks/stack-CoNreM7B.es.js";
|
|
22
22
|
import { V as kt } from "./chunks/visually-hidden-BluyWhUI.es.js";
|
|
23
|
-
import { T as Dt } from "./chunks/text-input-
|
|
24
|
-
import { N as It } from "./chunks/number-input-
|
|
23
|
+
import { T as Dt } from "./chunks/text-input-Bm5P6cG3.es.js";
|
|
24
|
+
import { N as It } from "./chunks/number-input-COfobs8H.es.js";
|
|
25
25
|
import { G as Lt } from "./chunks/grid-De8qjf98.es.js";
|
|
26
|
-
import { S as Bt, c as Pt, d as Ht, b as Kt, a as Ft } from "./chunks/select-
|
|
27
|
-
import { S as Nt } from "./chunks/separator-
|
|
28
|
-
import { A as jt, d as Gt, c as qt, e as Vt, b as zt, a as Wt } from "./chunks/accordion-
|
|
29
|
-
import { A as Xt, d as Jt, c as Qt, e as Yt, a as Zt, b as er } from "./chunks/alert-
|
|
26
|
+
import { S as Bt, c as Pt, d as Ht, b as Kt, a as Ft } from "./chunks/select-Bj9NNlBG.es.js";
|
|
27
|
+
import { S as Nt } from "./chunks/separator-BBcK9ROS.es.js";
|
|
28
|
+
import { A as jt, d as Gt, c as qt, e as Vt, b as zt, a as Wt } from "./chunks/accordion-CSSdv9jZ.es.js";
|
|
29
|
+
import { A as Xt, d as Jt, c as Qt, e as Yt, a as Zt, b as er } from "./chunks/alert-BRDuEo75.es.js";
|
|
30
30
|
import { B as rr } from "./chunks/badge-BJd-Q81M.es.js";
|
|
31
31
|
import { C as nr, c as ar, b as sr, a as ir } from "./chunks/card-BfUdf1Fy.es.js";
|
|
32
|
-
import { F as lr, d as cr, e as fr, f as dr, c as pr, b as mr, a as yr } from "./chunks/form-field-
|
|
32
|
+
import { F as lr, d as cr, e as fr, f as dr, c as pr, b as mr, a as yr } from "./chunks/form-field-DMs36b56.es.js";
|
|
33
33
|
import { I as gr } from "./chunks/icon-DHu0zrOb.es.js";
|
|
34
34
|
import { I as xr } from "./chunks/inline-svg-DTleUhZq.es.js";
|
|
35
35
|
import { L as hr } from "./chunks/loading-spinner-DqWmjCK2.es.js";
|
|
36
|
-
import { P as wr } from "./chunks/password-input-
|
|
37
|
-
import { S as Tr } from "./chunks/split-button-
|
|
38
|
-
import { T as Er } from "./chunks/time-input-
|
|
39
|
-
import { M as Rr } from "./chunks/multiline-text-input-
|
|
40
|
-
import { M as Ar } from "./chunks/money-input-
|
|
41
|
-
import { R as Mr, b as Br, a as Pr } from "./chunks/radio-input-
|
|
42
|
-
import { S as Kr } from "./chunks/switch-
|
|
43
|
-
import { T as Or } from "./chunks/tag-group-
|
|
44
|
-
import { T as Ur } from "./chunks/toggle-button-
|
|
36
|
+
import { P as wr } from "./chunks/password-input-BXIl-f4z.es.js";
|
|
37
|
+
import { S as Tr } from "./chunks/split-button-C5RRpvG-.es.js";
|
|
38
|
+
import { T as Er } from "./chunks/time-input-BVrf5gCi.es.js";
|
|
39
|
+
import { M as Rr } from "./chunks/multiline-text-input-DZaLPY2Z.es.js";
|
|
40
|
+
import { M as Ar } from "./chunks/money-input-CtG9FJDJ.es.js";
|
|
41
|
+
import { R as Mr, b as Br, a as Pr } from "./chunks/radio-input-CBsoUt1S.es.js";
|
|
42
|
+
import { S as Kr } from "./chunks/switch-CaNbdCzT.es.js";
|
|
43
|
+
import { T as Or } from "./chunks/tag-group-Bs6sb_ky.es.js";
|
|
44
|
+
import { T as Ur } from "./chunks/toggle-button-Bg4ygY7u.es.js";
|
|
45
45
|
import { T as Gr, b as qr, a as Vr } from "./chunks/toggle-button-group-jRdpdYyd.es.js";
|
|
46
|
-
import { D as Wr } from "./chunks/date-input-
|
|
47
|
-
import { C as Xr } from "./chunks/calendar-
|
|
48
|
-
import { D as Qr } from "./chunks/date-picker-
|
|
49
|
-
import { P as Zr } from "./chunks/progress-bar-
|
|
50
|
-
import { R as to } from "./chunks/range-calendar-
|
|
51
|
-
import { D as oo } from "./chunks/date-range-picker-
|
|
52
|
-
import { T as ao } from "./chunks/toolbar-
|
|
53
|
-
import { g as J } from "./chunks/rich-text-input-
|
|
54
|
-
import { R as io } from "./chunks/rich-text-input-
|
|
55
|
-
import { D as lo, e as co, g as fo, d as po, i as mo, h as yo, c as vo, j as go, a as bo, f as xo, k as Co, b as ho } from "./chunks/data-table-
|
|
56
|
-
import { P as wo } from "./chunks/pagination-
|
|
57
|
-
import { s as To } from "./chunks/index-
|
|
46
|
+
import { D as Wr } from "./chunks/date-input-CoAPdZTG.es.js";
|
|
47
|
+
import { C as Xr } from "./chunks/calendar-DnQnMOcs.es.js";
|
|
48
|
+
import { D as Qr } from "./chunks/date-picker-BVrTKhZ_.es.js";
|
|
49
|
+
import { P as Zr } from "./chunks/progress-bar-8RZO_7Pa.es.js";
|
|
50
|
+
import { R as to } from "./chunks/range-calendar-ZSiCkuoX.es.js";
|
|
51
|
+
import { D as oo } from "./chunks/date-range-picker-D55giMLZ.es.js";
|
|
52
|
+
import { T as ao } from "./chunks/toolbar-BZFjOgau.es.js";
|
|
53
|
+
import { g as J } from "./chunks/rich-text-input-YYPcexom.es.js";
|
|
54
|
+
import { R as io } from "./chunks/rich-text-input-YYPcexom.es.js";
|
|
55
|
+
import { D as lo, e as co, g as fo, d as po, i as mo, h as yo, c as vo, j as go, a as bo, f as xo, k as Co, b as ho } from "./chunks/data-table-CBr4TLyH.es.js";
|
|
56
|
+
import { P as wo } from "./chunks/pagination-C5bOKHnF.es.js";
|
|
57
|
+
import { s as To } from "./chunks/index-CRta5Y1_.es.js";
|
|
58
58
|
import { useState as M, useRef as T, useCallback as E, useLayoutEffect as Q, useEffect as B, useContext as G, createContext as q } from "react";
|
|
59
59
|
import { Flex as Eo } from "@chakra-ui/react/flex";
|
|
60
60
|
import { Heading as Ro } from "@chakra-ui/react/heading";
|
|
61
61
|
import { Table as Ao } from "@chakra-ui/react/table";
|
|
62
|
-
import { M as Mo, c as Bo, d as Po, a as Ho, e as Ko, g as Fo, f as Oo, b as No } from "./chunks/menu-
|
|
62
|
+
import { M as Mo, c as Bo, d as Po, a as Ho, e as Ko, g as Fo, f as Oo, b as No } from "./chunks/menu-D5UbPSbm.es.js";
|
|
63
63
|
import "react/jsx-runtime";
|
|
64
64
|
function L() {
|
|
65
65
|
return L = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { RecipeDefinition } from '@chakra-ui/react';
|
|
4
3
|
import { RecipeVariantProps } from '@chakra-ui/react/styled-system';
|
|
4
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
5
5
|
import { TextFieldProps } from 'react-aria-components';
|
|
6
6
|
import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
7
7
|
|
|
@@ -24,29 +24,66 @@ export declare interface MultilineTextInputProps extends TextFieldProps, Omit<Mu
|
|
|
24
24
|
* This works in addition to the default draggable resize behavior.
|
|
25
25
|
*/
|
|
26
26
|
autoGrow?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Number of visible text lines for the control.
|
|
29
|
+
* @default 1
|
|
30
|
+
*/
|
|
31
|
+
rows?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Optional element to display at the start of the input
|
|
34
|
+
* Will respect text direction (left in LTR, right in RTL)
|
|
35
|
+
*/
|
|
36
|
+
leadingElement?: React.ReactNode;
|
|
37
|
+
placeholder?: string;
|
|
27
38
|
}
|
|
28
39
|
|
|
29
40
|
/**
|
|
30
41
|
* Recipe configuration for the MultilineTextInput component.
|
|
31
42
|
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
32
43
|
*/
|
|
33
|
-
declare const multilineTextInputRecipe:
|
|
44
|
+
declare const multilineTextInputRecipe: SlotRecipeDefinition<"textarea" | "root" | "leadingElement", {
|
|
34
45
|
size: {
|
|
35
46
|
sm: {
|
|
36
|
-
|
|
47
|
+
root: {
|
|
48
|
+
minH: "800";
|
|
37
49
|
textStyle: "sm";
|
|
38
|
-
|
|
39
|
-
|
|
50
|
+
gap: "100";
|
|
51
|
+
pl: "300";
|
|
52
|
+
};
|
|
53
|
+
textarea: {
|
|
54
|
+
pr: "300";
|
|
55
|
+
py: "100";
|
|
56
|
+
};
|
|
57
|
+
leadingElement: {
|
|
58
|
+
pt: "200";
|
|
59
|
+
"& svg": {
|
|
60
|
+
boxSize: "400";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
40
63
|
};
|
|
41
64
|
md: {
|
|
42
|
-
|
|
65
|
+
root: {
|
|
66
|
+
minH: "1000";
|
|
43
67
|
textStyle: "md";
|
|
44
|
-
|
|
45
|
-
|
|
68
|
+
gap: "200";
|
|
69
|
+
pl: "400";
|
|
70
|
+
};
|
|
71
|
+
textarea: {
|
|
72
|
+
py: "200";
|
|
73
|
+
pr: "400";
|
|
74
|
+
};
|
|
75
|
+
leadingElement: {
|
|
76
|
+
pt: "200";
|
|
77
|
+
"& svg": {
|
|
78
|
+
mt: "50";
|
|
79
|
+
boxSize: "500";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
46
82
|
};
|
|
47
83
|
};
|
|
48
84
|
variant: {
|
|
49
85
|
solid: {
|
|
86
|
+
root: {
|
|
50
87
|
"--border-width": "sizes.25";
|
|
51
88
|
"--border-color": "colors.neutral.7";
|
|
52
89
|
backgroundColor: "neutral.1";
|
|
@@ -54,18 +91,21 @@ _hover: {
|
|
|
54
91
|
backgroundColor: "primary.2";
|
|
55
92
|
};
|
|
56
93
|
};
|
|
94
|
+
};
|
|
57
95
|
ghost: {
|
|
96
|
+
root: {
|
|
58
97
|
_hover: {
|
|
59
98
|
backgroundColor: "primary.2";
|
|
60
99
|
};
|
|
61
100
|
};
|
|
62
101
|
};
|
|
102
|
+
};
|
|
63
103
|
}>;
|
|
64
104
|
|
|
65
105
|
declare interface MultilineTextInputRecipeProps extends RecipeVariantProps<typeof multilineTextInputRecipe>, UnstyledProp {
|
|
66
106
|
}
|
|
67
107
|
|
|
68
|
-
declare type MultilineTextInputRootSlotProps = HTMLChakraProps<"
|
|
108
|
+
declare type MultilineTextInputRootSlotProps = HTMLChakraProps<"div", MultilineTextInputRecipeProps>;
|
|
69
109
|
|
|
70
110
|
export { }
|
|
71
111
|
|
package/dist/number-input.d.ts
CHANGED
|
@@ -20,48 +20,76 @@ export declare const NumberInput: {
|
|
|
20
20
|
|
|
21
21
|
export declare interface NumberInputProps extends AriaNumberFieldProps, Omit<NumberInputRootSlotProps, keyof AriaNumberFieldProps | ExcludedNumberInputProps> {
|
|
22
22
|
ref?: React.Ref<HTMLInputElement>;
|
|
23
|
+
/**
|
|
24
|
+
* Optional element to display at the start of the input
|
|
25
|
+
* Will respect text direction (left in LTR, right in RTL)
|
|
26
|
+
*/
|
|
27
|
+
leadingElement?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* Optional element to display at the end of the input
|
|
30
|
+
* Will respect text direction (right in LTR, left in RTL)
|
|
31
|
+
*/
|
|
32
|
+
trailingElement?: React.ReactNode;
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
36
|
* Recipe configuration for the NumberInput component.
|
|
27
37
|
* Defines the styling variants and base styles using Chakra UI's slot recipe system.
|
|
28
38
|
*/
|
|
29
|
-
declare const numberInputRecipe: SlotRecipeDefinition<"input" | "root" | "incrementButton" | "decrementButton", {
|
|
39
|
+
declare const numberInputRecipe: SlotRecipeDefinition<"input" | "root" | "leadingElement" | "trailingElement" | "incrementButton" | "decrementButton", {
|
|
30
40
|
size: {
|
|
31
41
|
sm: {
|
|
42
|
+
root: {
|
|
43
|
+
pl: "300";
|
|
44
|
+
pr: "900";
|
|
45
|
+
gap: "100";
|
|
46
|
+
};
|
|
32
47
|
input: {
|
|
33
|
-
h:
|
|
48
|
+
h: "800";
|
|
34
49
|
textStyle: "sm";
|
|
35
|
-
|
|
36
|
-
|
|
50
|
+
};
|
|
51
|
+
leadingElement: {
|
|
52
|
+
"& > svg": {
|
|
53
|
+
boxSize: "400";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
trailingElement: {
|
|
57
|
+
"& > svg": {
|
|
58
|
+
boxSize: "400";
|
|
59
|
+
};
|
|
37
60
|
};
|
|
38
61
|
};
|
|
39
62
|
md: {
|
|
63
|
+
root: {
|
|
64
|
+
pl: "400";
|
|
65
|
+
pr: "1000";
|
|
66
|
+
gap: "200";
|
|
67
|
+
};
|
|
40
68
|
input: {
|
|
41
|
-
h:
|
|
69
|
+
h: "1000";
|
|
42
70
|
textStyle: "md";
|
|
43
|
-
px: number;
|
|
44
|
-
paddingRight: number;
|
|
45
71
|
};
|
|
72
|
+
leadingElement: {
|
|
73
|
+
"& > svg": {
|
|
74
|
+
boxSize: "500";
|
|
46
75
|
};
|
|
47
76
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"&:has(button:hover) input": {
|
|
52
|
-
backgroundColor: "primary.2";
|
|
77
|
+
trailingElement: {
|
|
78
|
+
"& > svg": {
|
|
79
|
+
boxSize: "500";
|
|
53
80
|
};
|
|
54
81
|
};
|
|
55
|
-
input: {
|
|
56
|
-
"&[data-invalid='true']": {
|
|
57
|
-
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)";
|
|
58
|
-
"--border-width": "sizes.50";
|
|
59
82
|
};
|
|
60
|
-
|
|
61
|
-
|
|
83
|
+
};
|
|
84
|
+
variant: {
|
|
85
|
+
solid: {
|
|
86
|
+
root: {
|
|
62
87
|
_hover: {
|
|
63
88
|
backgroundColor: "primary.2";
|
|
64
89
|
};
|
|
90
|
+
"--border-width": "sizes.25";
|
|
91
|
+
"--border-color": "colors.neutral.7";
|
|
92
|
+
backgroundColor: "neutral.1";
|
|
65
93
|
};
|
|
66
94
|
incrementButton: {
|
|
67
95
|
"&[data-invalid='true']": {
|
|
@@ -73,7 +101,7 @@ borderRight: "var(--border-width) solid var(--border-color)";
|
|
|
73
101
|
borderLeft: "var(--border-width) solid var(--border-color)";
|
|
74
102
|
boxShadow: "inset 0 -0.5px 0 0 var(--border-color)";
|
|
75
103
|
_hover: {
|
|
76
|
-
backgroundColor: "primaryAlpha.
|
|
104
|
+
backgroundColor: "primaryAlpha.4";
|
|
77
105
|
};
|
|
78
106
|
};
|
|
79
107
|
decrementButton: {
|
|
@@ -86,21 +114,12 @@ borderRight: "var(--border-width) solid var(--border-color)";
|
|
|
86
114
|
borderLeft: "var(--border-width) solid var(--border-color)";
|
|
87
115
|
boxShadow: "inset 0 0.5px 0 0 var(--border-color)";
|
|
88
116
|
_hover: {
|
|
89
|
-
backgroundColor: "primaryAlpha.
|
|
117
|
+
backgroundColor: "primaryAlpha.4";
|
|
90
118
|
};
|
|
91
119
|
};
|
|
92
120
|
};
|
|
93
121
|
ghost: {
|
|
94
122
|
root: {
|
|
95
|
-
"&:has(button:hover) input": {
|
|
96
|
-
backgroundColor: "primary.2";
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
input: {
|
|
100
|
-
"&[data-invalid='true']": {
|
|
101
|
-
boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)";
|
|
102
|
-
"--border-width": "sizes.50";
|
|
103
|
-
};
|
|
104
123
|
_hover: {
|
|
105
124
|
backgroundColor: "primary.2";
|
|
106
125
|
};
|
|
@@ -111,7 +130,7 @@ borderTop: "2px solid var(--border-color)";
|
|
|
111
130
|
borderRight: "2px solid var(--border-color)";
|
|
112
131
|
};
|
|
113
132
|
_hover: {
|
|
114
|
-
backgroundColor: "primaryAlpha.
|
|
133
|
+
backgroundColor: "primaryAlpha.4";
|
|
115
134
|
};
|
|
116
135
|
};
|
|
117
136
|
decrementButton: {
|
|
@@ -120,7 +139,7 @@ borderBottom: "2px solid var(--border-color)";
|
|
|
120
139
|
borderRight: "2px solid var(--border-color)";
|
|
121
140
|
};
|
|
122
141
|
_hover: {
|
|
123
|
-
backgroundColor: "primaryAlpha.
|
|
142
|
+
backgroundColor: "primaryAlpha.4";
|
|
124
143
|
};
|
|
125
144
|
};
|
|
126
145
|
};
|
package/dist/password-input.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
2
1
|
import { HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
|
3
|
-
import {
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
3
|
import { RecipeVariantProps } from '@chakra-ui/react/styled-system';
|
|
5
|
-
import {
|
|
4
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
6
5
|
import { TextFieldProps } from 'react-aria-components';
|
|
7
|
-
import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
8
6
|
|
|
9
7
|
/**
|
|
10
8
|
* # PasswordInput
|
|
@@ -13,59 +11,95 @@ import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
|
13
11
|
*
|
|
14
12
|
* @see {@link https://nimbus-documentation.vercel.app/components/inputs/passwordinput}
|
|
15
13
|
*/
|
|
16
|
-
export declare const PasswordInput:
|
|
14
|
+
export declare const PasswordInput: {
|
|
15
|
+
(props: PasswordInputProps): JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* Interface for PasswordInput component props
|
|
20
21
|
* Extends TextInputProps but omits the type prop since it's controlled internally
|
|
21
22
|
* We want to keep this as an explicit interface to allow for future additions
|
|
22
23
|
*/
|
|
23
|
-
export declare interface PasswordInputProps extends Omit<TextInputProps, "type"> {
|
|
24
|
+
export declare interface PasswordInputProps extends Omit<TextInputProps, "type" | "trailingElement"> {
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
declare interface TextInputProps extends TextFieldProps, Omit<
|
|
27
|
+
declare interface TextInputProps extends Omit<TextFieldProps, "ref">, Omit<TextInputRootProps, keyof TextFieldProps | "as" | "asChild"> {
|
|
28
|
+
/**
|
|
29
|
+
* React ref to be forwarded to the input element
|
|
30
|
+
*/
|
|
27
31
|
ref?: React.Ref<HTMLInputElement>;
|
|
32
|
+
/**
|
|
33
|
+
* Optional element to display at the start of the input
|
|
34
|
+
* Will respect text direction (left in LTR, right in RTL)
|
|
35
|
+
*/
|
|
36
|
+
leadingElement?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Optional element to display at the end of the input
|
|
39
|
+
* Will respect text direction (right in LTR, left in RTL)
|
|
40
|
+
*/
|
|
41
|
+
trailingElement?: React.ReactNode;
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare interface TextInputRootProps extends HTMLChakraProps<"div", RecipeVariantProps<typeof textInputSlotRecipe>> {
|
|
28
46
|
}
|
|
29
47
|
|
|
30
48
|
/**
|
|
31
49
|
* Recipe configuration for the TextInput component.
|
|
32
|
-
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
50
|
+
* Defines the styling variants and base styles using Chakra UI's slot recipe system.
|
|
33
51
|
*/
|
|
34
|
-
declare const
|
|
52
|
+
declare const textInputSlotRecipe: SlotRecipeDefinition<"input" | "root" | "leadingElement" | "trailingElement", {
|
|
35
53
|
size: {
|
|
36
54
|
sm: {
|
|
37
|
-
|
|
55
|
+
root: {
|
|
56
|
+
height: "800";
|
|
57
|
+
px: "300";
|
|
58
|
+
gap: "100";
|
|
38
59
|
textStyle: "sm";
|
|
39
|
-
|
|
60
|
+
};
|
|
61
|
+
leadingElement: {
|
|
62
|
+
"& > svg": {
|
|
63
|
+
boxSize: "400";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
trailingElement: {
|
|
67
|
+
"& > svg": {
|
|
68
|
+
boxSize: "400";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
40
71
|
};
|
|
41
72
|
md: {
|
|
42
|
-
|
|
73
|
+
root: {
|
|
74
|
+
height: "1000";
|
|
75
|
+
px: "400";
|
|
76
|
+
gap: "200";
|
|
43
77
|
textStyle: "md";
|
|
44
|
-
|
|
78
|
+
};
|
|
79
|
+
leadingElement: {
|
|
80
|
+
"& > svg": {
|
|
81
|
+
boxSize: "500";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
trailingElement: {
|
|
85
|
+
"& > svg": {
|
|
86
|
+
boxSize: "500";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
45
89
|
};
|
|
46
90
|
};
|
|
47
91
|
variant: {
|
|
48
92
|
solid: {
|
|
93
|
+
root: {
|
|
49
94
|
"--border-width": "sizes.25";
|
|
50
95
|
"--border-color": "colors.neutral.7";
|
|
51
96
|
backgroundColor: "primary.1";
|
|
52
|
-
_hover: {
|
|
53
|
-
backgroundColor: "primary.2";
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
ghost: {
|
|
57
|
-
_hover: {
|
|
58
|
-
backgroundColor: "primary.2";
|
|
59
97
|
};
|
|
60
98
|
};
|
|
99
|
+
ghost: {};
|
|
61
100
|
};
|
|
62
101
|
}>;
|
|
63
102
|
|
|
64
|
-
declare interface TextInputRecipeProps extends RecipeVariantProps<typeof textInputRecipe>, UnstyledProp {
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
declare type TextInputRootSlotProps = HTMLChakraProps<"input", TextInputRecipeProps>;
|
|
68
|
-
|
|
69
103
|
export { }
|
|
70
104
|
|
|
71
105
|
|
package/dist/select.d.ts
CHANGED
|
@@ -91,6 +91,11 @@ export declare interface SelectRootProps extends SelectRootSlotProps, SelectProp
|
|
|
91
91
|
isLoading?: boolean;
|
|
92
92
|
/** Children must be ReactNode, no render props/functions allowed */
|
|
93
93
|
children: ReactNode;
|
|
94
|
+
/**
|
|
95
|
+
* Optional element to display at the start of the input
|
|
96
|
+
* Will respect text direction (left in LTR, right in RTL)
|
|
97
|
+
*/
|
|
98
|
+
leadingElement?: ReactNode;
|
|
94
99
|
/** Whether the select should show a clear button when a value is selected */
|
|
95
100
|
isClearable?: boolean;
|
|
96
101
|
}
|
|
@@ -102,23 +107,35 @@ declare interface SelectRootSlotProps extends HTMLChakraProps<"div", RecipeVaria
|
|
|
102
107
|
* Recipe configuration for the Select component.
|
|
103
108
|
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
104
109
|
*/
|
|
105
|
-
declare const selectSlotRecipe: SlotRecipeDefinition<"option" | "root" | "trigger" | "triggerLabel" | "options" | "optionGroup", {
|
|
110
|
+
declare const selectSlotRecipe: SlotRecipeDefinition<"option" | "root" | "trigger" | "leadingElement" | "triggerLabel" | "options" | "optionGroup", {
|
|
106
111
|
size: {
|
|
107
112
|
sm: {
|
|
108
113
|
root: {};
|
|
109
114
|
trigger: {
|
|
115
|
+
px: "300";
|
|
116
|
+
gap: "100";
|
|
110
117
|
h: "800";
|
|
111
|
-
px: "400";
|
|
112
118
|
textStyle: "sm";
|
|
113
119
|
};
|
|
120
|
+
leadingElement: {
|
|
121
|
+
"& > svg": {
|
|
122
|
+
boxSize: "400";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
114
125
|
};
|
|
115
126
|
md: {
|
|
116
127
|
root: {};
|
|
117
128
|
trigger: {
|
|
118
129
|
h: "1000";
|
|
119
130
|
px: "400";
|
|
131
|
+
gap: "200";
|
|
120
132
|
textStyle: "md";
|
|
121
133
|
};
|
|
134
|
+
leadingElement: {
|
|
135
|
+
"& > svg": {
|
|
136
|
+
boxSize: "500";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
122
139
|
};
|
|
123
140
|
};
|
|
124
141
|
variant: {
|
package/dist/text-input.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { HTMLChakraProps } from '@chakra-ui/react/styled-system';
|
|
2
2
|
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { RecipeDefinition } from '@chakra-ui/react';
|
|
4
3
|
import { RecipeVariantProps } from '@chakra-ui/react/styled-system';
|
|
4
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
5
5
|
import { TextFieldProps } from 'react-aria-components';
|
|
6
|
-
import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* # TextInput
|
|
@@ -17,49 +16,82 @@ export declare const TextInput: {
|
|
|
17
16
|
displayName: string;
|
|
18
17
|
};
|
|
19
18
|
|
|
20
|
-
export declare interface TextInputProps extends TextFieldProps, Omit<
|
|
19
|
+
export declare interface TextInputProps extends Omit<TextFieldProps, "ref">, Omit<TextInputRootProps, keyof TextFieldProps | "as" | "asChild"> {
|
|
20
|
+
/**
|
|
21
|
+
* React ref to be forwarded to the input element
|
|
22
|
+
*/
|
|
21
23
|
ref?: React.Ref<HTMLInputElement>;
|
|
24
|
+
/**
|
|
25
|
+
* Optional element to display at the start of the input
|
|
26
|
+
* Will respect text direction (left in LTR, right in RTL)
|
|
27
|
+
*/
|
|
28
|
+
leadingElement?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Optional element to display at the end of the input
|
|
31
|
+
* Will respect text direction (right in LTR, left in RTL)
|
|
32
|
+
*/
|
|
33
|
+
trailingElement?: React.ReactNode;
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare interface TextInputRootProps extends HTMLChakraProps<"div", RecipeVariantProps<typeof textInputSlotRecipe>> {
|
|
22
38
|
}
|
|
23
39
|
|
|
24
40
|
/**
|
|
25
41
|
* Recipe configuration for the TextInput component.
|
|
26
|
-
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
42
|
+
* Defines the styling variants and base styles using Chakra UI's slot recipe system.
|
|
27
43
|
*/
|
|
28
|
-
declare const
|
|
44
|
+
declare const textInputSlotRecipe: SlotRecipeDefinition<"input" | "root" | "leadingElement" | "trailingElement", {
|
|
29
45
|
size: {
|
|
30
46
|
sm: {
|
|
31
|
-
|
|
47
|
+
root: {
|
|
48
|
+
height: "800";
|
|
49
|
+
px: "300";
|
|
50
|
+
gap: "100";
|
|
32
51
|
textStyle: "sm";
|
|
33
|
-
|
|
52
|
+
};
|
|
53
|
+
leadingElement: {
|
|
54
|
+
"& > svg": {
|
|
55
|
+
boxSize: "400";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
trailingElement: {
|
|
59
|
+
"& > svg": {
|
|
60
|
+
boxSize: "400";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
34
63
|
};
|
|
35
64
|
md: {
|
|
36
|
-
|
|
65
|
+
root: {
|
|
66
|
+
height: "1000";
|
|
67
|
+
px: "400";
|
|
68
|
+
gap: "200";
|
|
37
69
|
textStyle: "md";
|
|
38
|
-
|
|
70
|
+
};
|
|
71
|
+
leadingElement: {
|
|
72
|
+
"& > svg": {
|
|
73
|
+
boxSize: "500";
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
trailingElement: {
|
|
77
|
+
"& > svg": {
|
|
78
|
+
boxSize: "500";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
39
81
|
};
|
|
40
82
|
};
|
|
41
83
|
variant: {
|
|
42
84
|
solid: {
|
|
85
|
+
root: {
|
|
43
86
|
"--border-width": "sizes.25";
|
|
44
87
|
"--border-color": "colors.neutral.7";
|
|
45
88
|
backgroundColor: "primary.1";
|
|
46
|
-
_hover: {
|
|
47
|
-
backgroundColor: "primary.2";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
ghost: {
|
|
51
|
-
_hover: {
|
|
52
|
-
backgroundColor: "primary.2";
|
|
53
89
|
};
|
|
54
90
|
};
|
|
91
|
+
ghost: {};
|
|
55
92
|
};
|
|
56
93
|
}>;
|
|
57
94
|
|
|
58
|
-
declare interface TextInputRecipeProps extends RecipeVariantProps<typeof textInputRecipe>, UnstyledProp {
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
declare type TextInputRootSlotProps = HTMLChakraProps<"input", TextInputRecipeProps>;
|
|
62
|
-
|
|
63
95
|
export { }
|
|
64
96
|
|
|
65
97
|
|