@bi-digital/react 0.0.0-experimental-ca10f7e → 0.0.0-experimental-2ec4984
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/README.md +1 -1
- package/dist/{alert-footer-BaB0tSHl.d.ts → alert-footer-DO4EmxdJ.d.ts} +154 -92
- package/dist/{checkbox-Bx9n-4ar.js → checkbox-CK2lV4pu.js} +2 -2
- package/dist/{checkbox-Bx9n-4ar.js.map → checkbox-CK2lV4pu.js.map} +1 -1
- package/dist/checkbox-subsection-CGXgII6v.js +17 -0
- package/dist/checkbox-subsection-CGXgII6v.js.map +1 -0
- package/dist/{chip-DFAARDd0.js → chip-CRcC9TkL.js} +1 -1
- package/dist/{chip-DFAARDd0.js.map → chip-CRcC9TkL.js.map} +1 -1
- package/dist/components/alert/alert-footer.d.ts +16 -13
- package/dist/components/alert/alert.d.ts +16 -13
- package/dist/components/alert/index.d.ts +16 -13
- package/dist/components/avatar/avatar.d.ts +16 -13
- package/dist/components/avatar/index.d.ts +16 -13
- package/dist/components/badge/badge.d.ts +16 -13
- package/dist/components/badge/index.d.ts +16 -13
- package/dist/components/button/button.d.ts +16 -13
- package/dist/components/button/index.d.ts +16 -13
- package/dist/components/card/card-action.d.ts +16 -13
- package/dist/components/card/card-actions.d.ts +16 -13
- package/dist/components/card/card-content.d.ts +16 -13
- package/dist/components/card/card-date.d.ts +16 -13
- package/dist/components/card/card-header.d.ts +16 -13
- package/dist/components/card/card-media.d.ts +16 -13
- package/dist/components/card/card.d.ts +16 -13
- package/dist/components/card/index.d.ts +16 -13
- package/dist/components/checkbox/checkbox-subsection.d.ts +17 -0
- package/dist/components/checkbox/checkbox-subsection.js +3 -0
- package/dist/components/checkbox/checkbox.d.ts +16 -13
- package/dist/components/checkbox/checkbox.js +6 -5
- package/dist/components/checkbox/index.d.ts +17 -14
- package/dist/components/checkbox/index.js +9 -7
- package/dist/components/chip/chip.d.ts +16 -13
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/chip/index.d.ts +16 -13
- package/dist/components/chip/index.js +2 -2
- package/dist/components/dialog/dialog-close-button.d.ts +16 -13
- package/dist/components/dialog/dialog-close-button.js +1 -1
- package/dist/components/dialog/dialog-content.d.ts +16 -13
- package/dist/components/dialog/dialog-content.js +1 -1
- package/dist/components/dialog/dialog-footer.d.ts +16 -13
- package/dist/components/dialog/dialog-footer.js +1 -1
- package/dist/components/dialog/dialog-header.d.ts +16 -13
- package/dist/components/dialog/dialog-header.js +1 -1
- package/dist/components/dialog/dialog-trigger-context.d.ts +1 -1
- package/dist/components/dialog/dialog-trigger-context.js +1 -1
- package/dist/components/dialog/dialog-trigger.d.ts +16 -13
- package/dist/components/dialog/dialog-trigger.js +2 -2
- package/dist/components/dialog/dialog.d.ts +16 -13
- package/dist/components/dialog/dialog.js +7 -6
- package/dist/components/dialog/index.d.ts +16 -13
- package/dist/components/dialog/index.js +13 -12
- package/dist/components/drawer/drawer-close-button.d.ts +16 -13
- package/dist/components/drawer/drawer-close-button.js +14 -13
- package/dist/components/drawer/drawer-content.d.ts +16 -13
- package/dist/components/drawer/drawer-content.js +14 -13
- package/dist/components/drawer/drawer-footer.d.ts +16 -13
- package/dist/components/drawer/drawer-footer.js +14 -13
- package/dist/components/drawer/drawer-header.d.ts +16 -13
- package/dist/components/drawer/drawer-header.js +14 -13
- package/dist/components/drawer/drawer-trigger-context.d.ts +1 -1
- package/dist/components/drawer/drawer-trigger-context.js +14 -13
- package/dist/components/drawer/drawer-trigger.d.ts +16 -13
- package/dist/components/drawer/drawer-trigger.js +14 -13
- package/dist/components/drawer/drawer.d.ts +16 -13
- package/dist/components/drawer/drawer.js +14 -13
- package/dist/components/drawer/index.d.ts +16 -13
- package/dist/components/drawer/index.js +21 -20
- package/dist/components/dropdown/dropdown-button.d.ts +16 -13
- package/dist/components/dropdown/dropdown-button.js +1 -1
- package/dist/components/dropdown/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown/dropdown-item.js +1 -1
- package/dist/components/dropdown/dropdown-list.d.ts +1 -1
- package/dist/components/dropdown/dropdown-list.js +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.d.ts +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.js +10 -9
- package/dist/components/dropdown/dropdown-trigger.d.ts +16 -13
- package/dist/components/dropdown/dropdown-trigger.js +10 -9
- package/dist/components/dropdown/dropdown.d.ts +16 -13
- package/dist/components/dropdown/dropdown.js +10 -9
- package/dist/components/dropdown/index.d.ts +16 -13
- package/dist/components/dropdown/index.js +16 -15
- package/dist/components/field/field-affix.d.ts +16 -13
- package/dist/components/field/field-description.d.ts +16 -13
- package/dist/components/field/field.d.ts +16 -13
- package/dist/components/field/index.d.ts +16 -13
- package/dist/components/fieldset/fieldset-description.d.ts +16 -13
- package/dist/components/fieldset/fieldset-description.js +1 -1
- package/dist/components/fieldset/fieldset-legend.d.ts +16 -13
- package/dist/components/fieldset/fieldset-legend.js +1 -1
- package/dist/components/fieldset/fieldset.d.ts +16 -13
- package/dist/components/fieldset/fieldset.js +1 -1
- package/dist/components/fieldset/index.d.ts +16 -13
- package/dist/components/fieldset/index.js +4 -4
- package/dist/components/filter-group/filter-group.d.ts +17 -0
- package/dist/components/filter-group/filter-group.js +3 -0
- package/dist/components/filter-group/index.d.ts +17 -0
- package/dist/components/filter-group/index.js +4 -0
- package/dist/components/footer/footer-links.d.ts +1 -1
- package/dist/components/footer/footer-links.js +1 -1
- package/dist/components/footer/footer.d.ts +16 -13
- package/dist/components/footer/footer.js +1 -1
- package/dist/components/footer/index.d.ts +16 -13
- package/dist/components/footer/index.js +3 -3
- package/dist/components/index.d.ts +17 -14
- package/dist/components/index.js +84 -73
- package/dist/components/input/index.d.ts +16 -13
- package/dist/components/input/input.d.ts +16 -13
- package/dist/components/label/index.d.ts +16 -13
- package/dist/components/label/label.d.ts +16 -13
- package/dist/components/link/index.d.ts +16 -13
- package/dist/components/link/index.js +2 -2
- package/dist/components/link/link.d.ts +16 -13
- package/dist/components/link/link.js +1 -1
- package/dist/components/logo/index.d.ts +16 -13
- package/dist/components/logo/index.js +2 -2
- package/dist/components/logo/logo.d.ts +16 -13
- package/dist/components/logo/logo.js +1 -1
- package/dist/components/navbar/index.d.ts +17 -14
- package/dist/components/navbar/index.js +8 -5
- package/dist/components/navbar/navbar.d.ts +16 -13
- package/dist/components/navbar/navbar.js +3 -3
- package/dist/components/navbar/sub-navbar.d.ts +17 -0
- package/dist/components/navbar/sub-navbar.js +5 -0
- package/dist/components/pagination/index.d.ts +16 -13
- package/dist/components/pagination/index.js +4 -4
- package/dist/components/pagination/pagination-button.d.ts +16 -13
- package/dist/components/pagination/pagination-button.js +1 -1
- package/dist/components/pagination/pagination-item.d.ts +1 -1
- package/dist/components/pagination/pagination-item.js +1 -1
- package/dist/components/pagination/pagination.d.ts +16 -13
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/popover/index.d.ts +16 -13
- package/dist/components/popover/index.js +9 -8
- package/dist/components/popover/popover-trigger-context.d.ts +1 -1
- package/dist/components/popover/popover-trigger-context.js +1 -1
- package/dist/components/popover/popover-trigger.d.ts +16 -13
- package/dist/components/popover/popover-trigger.js +2 -2
- package/dist/components/popover/popover.d.ts +16 -13
- package/dist/components/popover/popover.js +7 -6
- package/dist/components/radio/index.d.ts +16 -13
- package/dist/components/radio/index.js +2 -2
- package/dist/components/radio/radio.d.ts +16 -13
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/search/index.d.ts +16 -13
- package/dist/components/search/index.js +2 -2
- package/dist/components/search/search.d.ts +16 -13
- package/dist/components/search/search.js +1 -1
- package/dist/components/select/index.d.ts +16 -13
- package/dist/components/select/index.js +4 -4
- package/dist/components/select/select-optgroup.d.ts +16 -13
- package/dist/components/select/select-optgroup.js +1 -1
- package/dist/components/select/select-option.d.ts +16 -13
- package/dist/components/select/select-option.js +1 -1
- package/dist/components/select/select.d.ts +16 -13
- package/dist/components/select/select.js +1 -1
- package/dist/components/skip-link/index.d.ts +17 -0
- package/dist/components/skip-link/index.js +4 -0
- package/dist/components/skip-link/skip-link.d.ts +17 -0
- package/dist/components/skip-link/skip-link.js +3 -0
- package/dist/components/spinner/index.d.ts +16 -13
- package/dist/components/spinner/spinner.d.ts +16 -13
- package/dist/components/sticky-header/index.d.ts +3 -0
- package/dist/components/sticky-header/index.js +4 -0
- package/dist/components/sticky-header/sticky-header.d.ts +2 -0
- package/dist/components/sticky-header/sticky-header.js +3 -0
- package/dist/components/tabs/index.d.ts +16 -13
- package/dist/components/tabs/index.js +5 -5
- package/dist/components/tabs/tab.d.ts +16 -13
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tabs/tabs-list.d.ts +16 -13
- package/dist/components/tabs/tabs-list.js +1 -1
- package/dist/components/tabs/tabs-panel.d.ts +16 -13
- package/dist/components/tabs/tabs-panel.js +1 -1
- package/dist/components/tabs/tabs.d.ts +16 -13
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/textarea/index.d.ts +16 -13
- package/dist/components/textarea/index.js +2 -2
- package/dist/components/textarea/textarea.d.ts +16 -13
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/textfield/index.d.ts +16 -13
- package/dist/components/textfield/index.js +6 -6
- package/dist/components/textfield/textfield.d.ts +16 -13
- package/dist/components/textfield/textfield.js +5 -5
- package/dist/components/validation-message/index.d.ts +16 -13
- package/dist/components/validation-message/index.js +2 -2
- package/dist/components/validation-message/validation-message.d.ts +16 -13
- package/dist/components/validation-message/validation-message.js +1 -1
- package/dist/{dialog-Msiu7H3h.js → dialog-WgEtFqJD.js} +3 -3
- package/dist/{dialog-Msiu7H3h.js.map → dialog-WgEtFqJD.js.map} +1 -1
- package/dist/{dialog-close-button-BhzM8xy4.js → dialog-close-button-8n-DBvH4.js} +1 -1
- package/dist/{dialog-close-button-BhzM8xy4.js.map → dialog-close-button-8n-DBvH4.js.map} +1 -1
- package/dist/{dialog-content-BNHkYsxn.js → dialog-content-CU346luZ.js} +1 -1
- package/dist/{dialog-content-BNHkYsxn.js.map → dialog-content-CU346luZ.js.map} +1 -1
- package/dist/{dialog-footer-B63OYnj7.js → dialog-footer-BPCalxtL.js} +1 -1
- package/dist/{dialog-footer-B63OYnj7.js.map → dialog-footer-BPCalxtL.js.map} +1 -1
- package/dist/{dialog-header-CRcBLINN.js → dialog-header-DsLpGnOf.js} +1 -1
- package/dist/{dialog-header-CRcBLINN.js.map → dialog-header-DsLpGnOf.js.map} +1 -1
- package/dist/{dialog-trigger-XPMx1psz.js → dialog-trigger-Q9Y5EG0H.js} +2 -2
- package/dist/{dialog-trigger-XPMx1psz.js.map → dialog-trigger-Q9Y5EG0H.js.map} +1 -1
- package/dist/{dialog-trigger-context-B5d-o0K7.js → dialog-trigger-context-B41wR-bM.js} +1 -1
- package/dist/{dialog-trigger-context-B5d-o0K7.js.map → dialog-trigger-context-B41wR-bM.js.map} +1 -1
- package/dist/{dialog-trigger-context-BP03jmAI.d.ts → dialog-trigger-context-BkQSJ-rX.d.ts} +5 -5
- package/dist/{drawer-DeggzxN8.js → drawer-B8xyMitJ.js} +2 -2
- package/dist/{drawer-DeggzxN8.js.map → drawer-B8xyMitJ.js.map} +1 -1
- package/dist/{drawer-close-button-dDQvoj0O.js → drawer-close-button-CqDqQGHP.js} +2 -2
- package/dist/{drawer-close-button-dDQvoj0O.js.map → drawer-close-button-CqDqQGHP.js.map} +1 -1
- package/dist/{drawer-content-Cqz_MZFW.js → drawer-content-Dp__eciN.js} +2 -2
- package/dist/{drawer-content-Cqz_MZFW.js.map → drawer-content-Dp__eciN.js.map} +1 -1
- package/dist/{drawer-footer-GbcH-B8w.js → drawer-footer-qYHvZEl_.js} +2 -2
- package/dist/{drawer-footer-GbcH-B8w.js.map → drawer-footer-qYHvZEl_.js.map} +1 -1
- package/dist/{drawer-header-CS9x6xOi.js → drawer-header-fQaZQuIY.js} +2 -2
- package/dist/{drawer-header-CS9x6xOi.js.map → drawer-header-fQaZQuIY.js.map} +1 -1
- package/dist/{drawer-trigger-AT7qYJPw.js → drawer-trigger-BvjTEl5N.js} +2 -2
- package/dist/{drawer-trigger-AT7qYJPw.js.map → drawer-trigger-BvjTEl5N.js.map} +1 -1
- package/dist/{drawer-trigger-context-BDcc94cu.d.ts → drawer-trigger-context-B3X3kUrY.d.ts} +3 -3
- package/dist/{drawer-trigger-context-EHdOLF0U.js → drawer-trigger-context-DHYdt3sB.js} +2 -2
- package/dist/{drawer-trigger-context-EHdOLF0U.js.map → drawer-trigger-context-DHYdt3sB.js.map} +1 -1
- package/dist/{dropdown-C1hpsZcN.js → dropdown-D-dX5PAl.js} +2 -2
- package/dist/{dropdown-C1hpsZcN.js.map → dropdown-D-dX5PAl.js.map} +1 -1
- package/dist/{dropdown-BhdWlVMW.js → dropdown-D54kcMt_.js} +2 -2
- package/dist/{dropdown-BhdWlVMW.js.map → dropdown-D54kcMt_.js.map} +1 -1
- package/dist/{dropdown-button-Btuo7J5R.js → dropdown-button-CKPaLMBh.js} +1 -1
- package/dist/{dropdown-button-Btuo7J5R.js.map → dropdown-button-CKPaLMBh.js.map} +1 -1
- package/dist/{dropdown-item-bMZ3-43Z.d.ts → dropdown-item-Bhw9nhOp.d.ts} +3 -3
- package/dist/{dropdown-item-yyt1nBlo.js → dropdown-item-BnnEFIq3.js} +1 -1
- package/dist/{dropdown-item-yyt1nBlo.js.map → dropdown-item-BnnEFIq3.js.map} +1 -1
- package/dist/{dropdown-list-BMkiVIDL.js → dropdown-list-BWW85rXi.js} +1 -1
- package/dist/{dropdown-list-BMkiVIDL.js.map → dropdown-list-BWW85rXi.js.map} +1 -1
- package/dist/{dropdown-list-DenWbmcv.d.ts → dropdown-list-XN8RJ-SS.d.ts} +3 -3
- package/dist/{dropdown-trigger-DG-mnw2U.js → dropdown-trigger-DfHyg_D7.js} +2 -2
- package/dist/{dropdown-trigger-DG-mnw2U.js.map → dropdown-trigger-DfHyg_D7.js.map} +1 -1
- package/dist/{dropdown-trigger-context-Ce6Z9VPK.js → dropdown-trigger-context-BpYBk_xf.js} +2 -2
- package/dist/{dropdown-trigger-context-Ce6Z9VPK.js.map → dropdown-trigger-context-BpYBk_xf.js.map} +1 -1
- package/dist/{dropdown-trigger-context-BabMM_7k.d.ts → dropdown-trigger-context-D0QMaRYY.d.ts} +3 -3
- package/dist/{fieldset-DemHknom.js → fieldset-DGB7cvdz.js} +1 -1
- package/dist/{fieldset-DemHknom.js.map → fieldset-DGB7cvdz.js.map} +1 -1
- package/dist/{fieldset-description-CqUMEhib.js → fieldset-description-oNKwCGnW.js} +1 -1
- package/dist/{fieldset-description-CqUMEhib.js.map → fieldset-description-oNKwCGnW.js.map} +1 -1
- package/dist/{fieldset-legend-C6D6hE4v.js → fieldset-legend-Dseni7XM.js} +1 -1
- package/dist/{fieldset-legend-C6D6hE4v.js.map → fieldset-legend-Dseni7XM.js.map} +1 -1
- package/dist/filter-group-BKO5sgGt.js +40 -0
- package/dist/filter-group-BKO5sgGt.js.map +1 -0
- package/dist/{footer-CU7LdbPO.js → footer-CXKRhzUT.js} +1 -1
- package/dist/{footer-CU7LdbPO.js.map → footer-CXKRhzUT.js.map} +1 -1
- package/dist/{footer-links-sRD7teEv.d.ts → footer-links-Drm2LFnw.d.ts} +3 -3
- package/dist/{footer-links-BIUrxu38.js → footer-links-Dz1UwVuf.js} +1 -1
- package/dist/{footer-links-BIUrxu38.js.map → footer-links-Dz1UwVuf.js.map} +1 -1
- package/dist/{index-qXXUizvD.d.ts → index-B-0iSMVN.d.ts} +1 -1
- package/dist/index-CTw2zfCM.d.ts +1 -0
- package/dist/{index-CRy7A5Iq.d.ts → index-CXV3nvLQ.d.ts} +1 -1
- package/dist/{link-lNn9wvQf.js → link-ZiUFZak1.js} +1 -1
- package/dist/{link-lNn9wvQf.js.map → link-ZiUFZak1.js.map} +1 -1
- package/dist/{logo-QKrYvRFP.js → logo-cfY7Ilvc.js} +1 -1
- package/dist/{logo-QKrYvRFP.js.map → logo-cfY7Ilvc.js.map} +1 -1
- package/dist/main.d.ts +17 -14
- package/dist/main.js +85 -74
- package/dist/navbar-DJJMercW.js +23 -0
- package/dist/navbar-DJJMercW.js.map +1 -0
- package/dist/{pagination-u6Z1LYwY.js → pagination-DxXjiIgC.js} +1 -1
- package/dist/{pagination-u6Z1LYwY.js.map → pagination-DxXjiIgC.js.map} +1 -1
- package/dist/{pagination-button-CG_QfJHY.js → pagination-button-CjEZPPC8.js} +1 -1
- package/dist/{pagination-button-CG_QfJHY.js.map → pagination-button-CjEZPPC8.js.map} +1 -1
- package/dist/{pagination-item-DntsLLMC.js → pagination-item-DXnI0BWj.js} +1 -1
- package/dist/{pagination-item-DntsLLMC.js.map → pagination-item-DXnI0BWj.js.map} +1 -1
- package/dist/{pagination-item-hMN-34PX.d.ts → pagination-item-mKQyvHV9.d.ts} +3 -3
- package/dist/{popover-WJoHXecW.js → popover-CGvBn3q9.js} +3 -3
- package/dist/{popover-WJoHXecW.js.map → popover-CGvBn3q9.js.map} +1 -1
- package/dist/{popover-CGNoywPj.js → popover-COi7S9pJ.js} +1 -1
- package/dist/{popover-CGNoywPj.js.map → popover-COi7S9pJ.js.map} +1 -1
- package/dist/{popover-trigger-CjEKeJwY.js → popover-trigger-BLnIukvY.js} +2 -2
- package/dist/{popover-trigger-CjEKeJwY.js.map → popover-trigger-BLnIukvY.js.map} +1 -1
- package/dist/{popover-trigger-context-DQy9nKB2.d.ts → popover-trigger-context-C3QaiCth.d.ts} +5 -5
- package/dist/{popover-trigger-context-CNUJbbBn.js → popover-trigger-context-CGJlUS_N.js} +1 -1
- package/dist/{popover-trigger-context-CNUJbbBn.js.map → popover-trigger-context-CGJlUS_N.js.map} +1 -1
- package/dist/{radio-C_Zbb4CF.js → radio-ClWd10lc.js} +1 -1
- package/dist/{radio-C_Zbb4CF.js.map → radio-ClWd10lc.js.map} +1 -1
- package/dist/{search-Dg6xvCDB.js → search-Dhdq8_sk.js} +6 -2
- package/dist/search-Dhdq8_sk.js.map +1 -0
- package/dist/{select-B1e494BO.js → select-DCZV6wZu.js} +1 -1
- package/dist/{select-B1e494BO.js.map → select-DCZV6wZu.js.map} +1 -1
- package/dist/{select-optgroup-D7Gd7ioS.js → select-optgroup-BUaB9Yz-.js} +1 -1
- package/dist/{select-optgroup-D7Gd7ioS.js.map → select-optgroup-BUaB9Yz-.js.map} +1 -1
- package/dist/{select-option-DUfDzvNN.js → select-option-BByWq34J.js} +1 -1
- package/dist/{select-option-DUfDzvNN.js.map → select-option-BByWq34J.js.map} +1 -1
- package/dist/skip-link-DwuiIAvE.js +18 -0
- package/dist/skip-link-DwuiIAvE.js.map +1 -0
- package/dist/sticky-header-CPHxBupp.d.ts +19 -0
- package/dist/sticky-header-DWAJUj20.js +21 -0
- package/dist/sticky-header-DWAJUj20.js.map +1 -0
- package/dist/sub-navbar-DEudSxfj.js +28 -0
- package/dist/sub-navbar-DEudSxfj.js.map +1 -0
- package/dist/{tab-D-OGgeAb.js → tab-9qkzsjIT.js} +1 -1
- package/dist/{tab-D-OGgeAb.js.map → tab-9qkzsjIT.js.map} +1 -1
- package/dist/{tabs-DzRc-Y8t.js → tabs-CpaYfphj.js} +1 -1
- package/dist/{tabs-DzRc-Y8t.js.map → tabs-CpaYfphj.js.map} +1 -1
- package/dist/{tabs-list-qH_cJgYi.js → tabs-list-UDrgmCSx.js} +1 -1
- package/dist/{tabs-list-qH_cJgYi.js.map → tabs-list-UDrgmCSx.js.map} +1 -1
- package/dist/{tabs-panel-DtHr9i79.js → tabs-panel-DeVzvQQw.js} +1 -1
- package/dist/{tabs-panel-DtHr9i79.js.map → tabs-panel-DeVzvQQw.js.map} +1 -1
- package/dist/{textarea-CEUafYI-.js → textarea-C580HmQX.js} +1 -1
- package/dist/{textarea-CEUafYI-.js.map → textarea-C580HmQX.js.map} +1 -1
- package/dist/textfield-CWoUw1b2.js +0 -0
- package/dist/{textfield-DwBJIap9.js → textfield-e06UoQC8.js} +3 -3
- package/dist/{textfield-DwBJIap9.js.map → textfield-e06UoQC8.js.map} +1 -1
- package/dist/{types-CAwE6h3H.d.ts → types-DC-FPmDA.d.ts} +1 -1
- package/dist/{types-BTJlwWCQ.d.ts → types-Mj1poXVf.d.ts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/useCheckboxGroup-DRhqch1m.d.ts +22 -0
- package/dist/useCheckboxGroup-rTVawmvi.js +18 -0
- package/dist/useCheckboxGroup-rTVawmvi.js.map +1 -0
- package/dist/useElementScrolledPastObserver-DjzJ4Mn-.js +20 -0
- package/dist/useElementScrolledPastObserver-DjzJ4Mn-.js.map +1 -0
- package/dist/{useIsomorphicLayoutEffect-DCaf_yI4.js → useIsomorphicLayoutEffect-B5btmYlF.js} +1 -1
- package/dist/{useIsomorphicLayoutEffect-DCaf_yI4.js.map → useIsomorphicLayoutEffect-B5btmYlF.js.map} +1 -1
- package/dist/{useIsomorphicLayoutEffect-D3y6bHpX.d.ts → useIsomorphicLayoutEffect-BMdz-mee.d.ts} +1 -1
- package/dist/{useMergeRefs-Cz-t7gpp.js → useMergeRefs-CcJMoo46.js} +1 -1
- package/dist/{useMergeRefs-Cz-t7gpp.js.map → useMergeRefs-CcJMoo46.js.map} +1 -1
- package/dist/{useMergeRefs-BTgz9pcs.d.ts → useMergeRefs-iCenhgmf.d.ts} +1 -1
- package/dist/{usePagination-afWMXp7h.js → usePagination-DNqO-ob2.js} +1 -1
- package/dist/{usePagination-afWMXp7h.js.map → usePagination-DNqO-ob2.js.map} +1 -1
- package/dist/useScrollDirection-BLgp51hx.js +28 -0
- package/dist/useScrollDirection-BLgp51hx.js.map +1 -0
- package/dist/utilities/hooks/index.d.ts +17 -14
- package/dist/utilities/hooks/index.js +6 -5
- package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts +2 -0
- package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.js +3 -0
- package/dist/utilities/hooks/useElementScrolledPastObserver/useElementScrolledPastObserver.d.ts +8 -0
- package/dist/utilities/hooks/useElementScrolledPastObserver/useElementScrolledPastObserver.js +3 -0
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +1 -1
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -1
- package/dist/utilities/hooks/useMergeRefs/useMergeRefs.d.ts +1 -1
- package/dist/utilities/hooks/useMergeRefs/useMergeRefs.js +1 -1
- package/dist/utilities/hooks/usePagination/usePagination.d.ts +16 -13
- package/dist/utilities/hooks/usePagination/usePagination.js +1 -1
- package/dist/utilities/hooks/useScrollDirection/useScrollDirection.d.ts +11 -0
- package/dist/utilities/hooks/useScrollDirection/useScrollDirection.js +3 -0
- package/dist/utilities/index.d.ts +17 -14
- package/dist/utilities/index.js +7 -6
- package/dist/utilities/types.d.ts +1 -1
- package/dist/utilities-JoKvbhOy.js +0 -0
- package/dist/{validation-message-DjATM7g-.js → validation-message-6AQTIup_.js} +1 -1
- package/dist/{validation-message-DjATM7g-.js.map → validation-message-6AQTIup_.js.map} +1 -1
- package/dist/validation-message-B4lI2a0K.js +0 -0
- package/dist/vanilla/dropdown/index.d.ts +1 -1
- package/dist/vanilla/dropdown/index.js +2 -2
- package/dist/vanilla/index.d.ts +2 -2
- package/dist/vanilla/index.js +2 -2
- package/dist/vanilla/popover/index.d.ts +1 -1
- package/dist/vanilla/popover/index.js +1 -1
- package/package.json +4 -4
- package/dist/navbar-Dm9lM6Xr.js +0 -31
- package/dist/navbar-Dm9lM6Xr.js.map +0 -1
- package/dist/search-Dg6xvCDB.js.map +0 -1
- /package/dist/{checkbox-DXGZ7D3M.js → checkbox-DdQn64cR.js} +0 -0
- /package/dist/{chip-CopwfoBo.js → chip-6KumidQL.js} +0 -0
- /package/dist/{components-CtNCeoXN.js → components-CUDHzsYh.js} +0 -0
- /package/dist/{dialog-Cva1W11M.js → dialog-B6bZOPYF.js} +0 -0
- /package/dist/{drawer-D0EFrwju.js → drawer-sfOVHFWA.js} +0 -0
- /package/dist/{dropdown-mQ8x9_NH.js → dropdown-DR0Lif3r.js} +0 -0
- /package/dist/{fieldset-BhCAsBCv.js → fieldset-Ds2WiAnj.js} +0 -0
- /package/dist/{footer-BThmhXy7.js → filter-group-MjaWbeZO.js} +0 -0
- /package/dist/{hooks-CQ4fud3K.js → footer-Cq6w0v2j.js} +0 -0
- /package/dist/{link-oWcjwJYP.js → hooks-BmaG9QJW.js} +0 -0
- /package/dist/{logo-Dx-VZMJu.js → link-CKJeUW0o.js} +0 -0
- /package/dist/{navbar-DvT5z7E0.js → logo-CIDSfhf9.js} +0 -0
- /package/dist/{pagination-DrIF_DVv.js → navbar-BuFLsqCZ.js} +0 -0
- /package/dist/{popover-3oBuiK3l.js → pagination-DUyQRuUE.js} +0 -0
- /package/dist/{radio-h9AAOfEn.js → popover-C4QdJkKG.js} +0 -0
- /package/dist/{search-D6IdbNO6.js → radio-Uyx2D7dl.js} +0 -0
- /package/dist/{select-Dg_OZVWF.js → search-VYIc3wFh.js} +0 -0
- /package/dist/{tabs-DXmy9wEs.js → select-D1X9tdeH.js} +0 -0
- /package/dist/{textarea-YZQSw01C.js → skip-link-CGmg3TAi.js} +0 -0
- /package/dist/{textfield-BJszUges.js → sticky-header-CII-Yy5M.js} +0 -0
- /package/dist/{utilities-DO_q6EB3.js → tabs-CYBqn2Kj.js} +0 -0
- /package/dist/{validation-message-fz0dNgdm.js → textarea-D37K5D86.js} +0 -0
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ Components from the BI Design System implemented in React
|
|
|
4
4
|
|
|
5
5
|
**Currently in Alpha testing!**
|
|
6
6
|
|
|
7
|
-
Read the docs on how to install and get started at [https://
|
|
7
|
+
Read the docs on how to install and get started at [https://designsystem.bi.no/?path=/docs/getting-started--docs](https://designsystem.bi.no/?path=/docs/getting-started--docs).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AsChildProps, DefaultProps, LabelRequiredProps } from "./types-
|
|
2
|
-
import { MergeRight } from "./types-
|
|
1
|
+
import { AsChildProps, DefaultProps, LabelRequiredProps } from "./types-Mj1poXVf.js";
|
|
2
|
+
import { MergeRight } from "./types-DC-FPmDA.js";
|
|
3
3
|
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
4
|
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
5
5
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
@@ -11,54 +11,58 @@ import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
|
11
11
|
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
12
12
|
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
13
13
|
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
14
|
-
import * as
|
|
15
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
14
|
+
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
16
15
|
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
16
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
17
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
18
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
19
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
20
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
21
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
17
22
|
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
18
23
|
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
24
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
25
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
26
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
27
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
23
28
|
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
24
29
|
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
28
|
-
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
29
|
-
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
30
|
-
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
31
|
-
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
32
|
-
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
33
|
-
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
34
|
-
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
35
|
-
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
30
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
31
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
36
32
|
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
37
|
-
import * as
|
|
33
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
34
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
38
35
|
import * as react_jsx_runtime39 from "react/jsx-runtime";
|
|
39
|
-
import * as
|
|
36
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
37
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
38
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
40
39
|
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
41
|
-
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
42
|
-
import * as react_jsx_runtime46 from "react/jsx-runtime";
|
|
43
40
|
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
41
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
42
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
43
|
+
import * as react_jsx_runtime45 from "react/jsx-runtime";
|
|
44
44
|
import * as react_jsx_runtime48 from "react/jsx-runtime";
|
|
45
|
-
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
46
45
|
import * as react_jsx_runtime49 from "react/jsx-runtime";
|
|
47
|
-
import * as
|
|
48
|
-
import * as
|
|
49
|
-
import * as
|
|
46
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
47
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
48
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
49
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
50
50
|
import * as react_jsx_runtime59 from "react/jsx-runtime";
|
|
51
|
-
import * as
|
|
52
|
-
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
53
|
-
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
54
|
-
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
51
|
+
import * as react_jsx_runtime60 from "react/jsx-runtime";
|
|
55
52
|
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
53
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
54
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
56
55
|
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
57
|
-
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
58
|
-
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
59
56
|
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
57
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
58
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
59
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
60
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
61
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
62
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
63
|
+
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
60
64
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
61
|
-
import { AnchorHTMLAttributes, AriaAttributes, ButtonHTMLAttributes, DialogHTMLAttributes, FieldsetHTMLAttributes, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactNode, Ref, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
65
|
+
import { AnchorHTMLAttributes, AriaAttributes, ButtonHTMLAttributes, DialogHTMLAttributes, FieldsetHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, ReactNode, Ref, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
62
66
|
import { Middleware, Placement } from "@floating-ui/dom";
|
|
63
67
|
|
|
64
68
|
//#region src/components/alert/alert.d.ts
|
|
@@ -409,7 +413,7 @@ declare const Input: ({
|
|
|
409
413
|
readOnly,
|
|
410
414
|
ref,
|
|
411
415
|
...props
|
|
412
|
-
}: InputProps) =>
|
|
416
|
+
}: InputProps) => react_jsx_runtime46.JSX.Element;
|
|
413
417
|
//#endregion
|
|
414
418
|
//#region src/components/checkbox/checkbox.d.ts
|
|
415
419
|
type CheckboxProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
|
|
@@ -435,7 +439,19 @@ declare const Checkbox: ({
|
|
|
435
439
|
id,
|
|
436
440
|
"aria-describedby": ariaDescribedByProp,
|
|
437
441
|
...props
|
|
438
|
-
}: CheckboxProps) =>
|
|
442
|
+
}: CheckboxProps) => react_jsx_runtime13.JSX.Element;
|
|
443
|
+
//#endregion
|
|
444
|
+
//#region src/components/checkbox/checkbox-subsection.d.ts
|
|
445
|
+
type CheckboxSubsectionProps = MergeRight<DefaultProps & HtmlHTMLAttributes<HTMLDivElement>, {
|
|
446
|
+
ref?: Ref<HTMLDivElement>;
|
|
447
|
+
}>;
|
|
448
|
+
declare const CheckboxSubsection: ({
|
|
449
|
+
children,
|
|
450
|
+
className,
|
|
451
|
+
dark,
|
|
452
|
+
ref,
|
|
453
|
+
...props
|
|
454
|
+
}: CheckboxSubsectionProps) => react_jsx_runtime12.JSX.Element;
|
|
439
455
|
//#endregion
|
|
440
456
|
//#region src/components/chip/chip.d.ts
|
|
441
457
|
type ChipProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -468,7 +484,7 @@ declare const Chip: ({
|
|
|
468
484
|
className,
|
|
469
485
|
ref,
|
|
470
486
|
...props
|
|
471
|
-
}: ChipProps) =>
|
|
487
|
+
}: ChipProps) => react_jsx_runtime14.JSX.Element;
|
|
472
488
|
//#endregion
|
|
473
489
|
//#region src/components/dialog/dialog.d.ts
|
|
474
490
|
type DialogProps = MergeRight<DefaultProps & DialogHTMLAttributes<HTMLDialogElement>, {
|
|
@@ -538,7 +554,7 @@ declare const Dialog: ({
|
|
|
538
554
|
dark,
|
|
539
555
|
ref,
|
|
540
556
|
...rest
|
|
541
|
-
}: DialogProps) =>
|
|
557
|
+
}: DialogProps) => react_jsx_runtime22.JSX.Element;
|
|
542
558
|
//#endregion
|
|
543
559
|
//#region src/components/dialog/dialog-content.d.ts
|
|
544
560
|
type DialogContentProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
|
|
@@ -561,7 +577,7 @@ declare const DialogContent: ({
|
|
|
561
577
|
className,
|
|
562
578
|
noBorder,
|
|
563
579
|
...rest
|
|
564
|
-
}: DialogContentProps) =>
|
|
580
|
+
}: DialogContentProps) => react_jsx_runtime16.JSX.Element;
|
|
565
581
|
//#endregion
|
|
566
582
|
//#region src/components/dialog/dialog-header.d.ts
|
|
567
583
|
type DialogHeaderProps = MergeRight<HTMLAttributes<HTMLHeadingElement>, {
|
|
@@ -584,7 +600,7 @@ declare const DialogHeader: ({
|
|
|
584
600
|
className,
|
|
585
601
|
noBorder,
|
|
586
602
|
...rest
|
|
587
|
-
}: DialogHeaderProps) =>
|
|
603
|
+
}: DialogHeaderProps) => react_jsx_runtime18.JSX.Element;
|
|
588
604
|
//#endregion
|
|
589
605
|
//#region src/components/dialog/dialog-footer.d.ts
|
|
590
606
|
type DialogFooterProps = MergeRight<HTMLAttributes<HTMLDivElement>, {
|
|
@@ -607,7 +623,7 @@ declare const DialogFooter: ({
|
|
|
607
623
|
className,
|
|
608
624
|
noBorder,
|
|
609
625
|
...rest
|
|
610
|
-
}: DialogFooterProps) =>
|
|
626
|
+
}: DialogFooterProps) => react_jsx_runtime17.JSX.Element;
|
|
611
627
|
//#endregion
|
|
612
628
|
//#region src/components/dialog/dialog-trigger.d.ts
|
|
613
629
|
type DialogTriggerProps = ButtonProps;
|
|
@@ -615,7 +631,7 @@ declare const DialogTrigger: ({
|
|
|
615
631
|
asChild,
|
|
616
632
|
ref,
|
|
617
633
|
...rest
|
|
618
|
-
}: DialogTriggerProps) =>
|
|
634
|
+
}: DialogTriggerProps) => react_jsx_runtime21.JSX.Element;
|
|
619
635
|
//#endregion
|
|
620
636
|
//#region src/components/dialog/dialog-close-button.d.ts
|
|
621
637
|
type DialogCloseButtonProps = Omit<ButtonProps, 'asChild' | 'type' | 'name'>;
|
|
@@ -623,7 +639,7 @@ declare const DialogCloseButton: ({
|
|
|
623
639
|
children,
|
|
624
640
|
ref,
|
|
625
641
|
...props
|
|
626
|
-
}: DialogCloseButtonProps) =>
|
|
642
|
+
}: DialogCloseButtonProps) => react_jsx_runtime15.JSX.Element;
|
|
627
643
|
//#endregion
|
|
628
644
|
//#region src/components/drawer/drawer.d.ts
|
|
629
645
|
type DrawerProps = MergeRight<DialogProps, {
|
|
@@ -669,7 +685,7 @@ declare const Drawer: ({
|
|
|
669
685
|
className,
|
|
670
686
|
ref,
|
|
671
687
|
...rest
|
|
672
|
-
}: DrawerProps) =>
|
|
688
|
+
}: DrawerProps) => react_jsx_runtime29.JSX.Element;
|
|
673
689
|
//#endregion
|
|
674
690
|
//#region src/components/drawer/drawer-content.d.ts
|
|
675
691
|
type DrawerContentProps = DialogContentProps;
|
|
@@ -677,7 +693,7 @@ declare const DrawerContent: ({
|
|
|
677
693
|
className,
|
|
678
694
|
ref,
|
|
679
695
|
...rest
|
|
680
|
-
}: DrawerContentProps) =>
|
|
696
|
+
}: DrawerContentProps) => react_jsx_runtime24.JSX.Element;
|
|
681
697
|
//#endregion
|
|
682
698
|
//#region src/components/drawer/drawer-header.d.ts
|
|
683
699
|
type DrawerHeaderProps = DialogHeaderProps;
|
|
@@ -685,7 +701,7 @@ declare const DrawerHeader: ({
|
|
|
685
701
|
className,
|
|
686
702
|
ref,
|
|
687
703
|
...rest
|
|
688
|
-
}: DrawerHeaderProps) =>
|
|
704
|
+
}: DrawerHeaderProps) => react_jsx_runtime26.JSX.Element;
|
|
689
705
|
//#endregion
|
|
690
706
|
//#region src/components/drawer/drawer-footer.d.ts
|
|
691
707
|
type DrawerFooterProps = DialogFooterProps;
|
|
@@ -693,21 +709,21 @@ declare const DrawerFooter: ({
|
|
|
693
709
|
className,
|
|
694
710
|
ref,
|
|
695
711
|
...rest
|
|
696
|
-
}: DrawerFooterProps) =>
|
|
712
|
+
}: DrawerFooterProps) => react_jsx_runtime25.JSX.Element;
|
|
697
713
|
//#endregion
|
|
698
714
|
//#region src/components/drawer/drawer-trigger.d.ts
|
|
699
715
|
type DrawerTriggerProps = DialogTriggerProps;
|
|
700
716
|
declare const DrawerTrigger: ({
|
|
701
717
|
ref,
|
|
702
718
|
...rest
|
|
703
|
-
}: DrawerTriggerProps) =>
|
|
719
|
+
}: DrawerTriggerProps) => react_jsx_runtime28.JSX.Element;
|
|
704
720
|
//#endregion
|
|
705
721
|
//#region src/components/drawer/drawer-close-button.d.ts
|
|
706
722
|
type DrawerCloseButtonProps = DialogCloseButtonProps;
|
|
707
723
|
declare const DrawerCloseButton: ({
|
|
708
724
|
ref,
|
|
709
725
|
...rest
|
|
710
|
-
}: DrawerCloseButtonProps) =>
|
|
726
|
+
}: DrawerCloseButtonProps) => react_jsx_runtime23.JSX.Element;
|
|
711
727
|
//#endregion
|
|
712
728
|
//#region src/components/popover/popover.d.ts
|
|
713
729
|
type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -792,7 +808,7 @@ declare const Popover: ({
|
|
|
792
808
|
asChild,
|
|
793
809
|
ref,
|
|
794
810
|
...rest
|
|
795
|
-
}: PopoverProps) =>
|
|
811
|
+
}: PopoverProps) => react_jsx_runtime58.JSX.Element;
|
|
796
812
|
//#endregion
|
|
797
813
|
//#region src/components/popover/popover-trigger.d.ts
|
|
798
814
|
type PopoverTriggerProps = ({
|
|
@@ -841,7 +857,7 @@ declare const PopoverTrigger: ({
|
|
|
841
857
|
asChild,
|
|
842
858
|
ref,
|
|
843
859
|
...rest
|
|
844
|
-
}: PopoverTriggerProps) =>
|
|
860
|
+
}: PopoverTriggerProps) => react_jsx_runtime57.JSX.Element;
|
|
845
861
|
//#endregion
|
|
846
862
|
//#region src/components/dropdown/dropdown.d.ts
|
|
847
863
|
type DropdownProps = MergeRight<DefaultProps & PopoverProps, {
|
|
@@ -883,21 +899,21 @@ declare const Dropdown: ({
|
|
|
883
899
|
className,
|
|
884
900
|
ref,
|
|
885
901
|
...rest
|
|
886
|
-
}: DropdownProps) =>
|
|
902
|
+
}: DropdownProps) => react_jsx_runtime35.JSX.Element;
|
|
887
903
|
//#endregion
|
|
888
904
|
//#region src/components/dropdown/dropdown-button.d.ts
|
|
889
905
|
type DropdownButtonProps = Omit<ButtonProps, 'variant'>;
|
|
890
906
|
declare const DropdownButton: ({
|
|
891
907
|
ref,
|
|
892
908
|
...rest
|
|
893
|
-
}: DropdownButtonProps) =>
|
|
909
|
+
}: DropdownButtonProps) => react_jsx_runtime30.JSX.Element;
|
|
894
910
|
//#endregion
|
|
895
911
|
//#region src/components/dropdown/dropdown-trigger.d.ts
|
|
896
912
|
type DropdownTriggerProps = PopoverTriggerProps;
|
|
897
913
|
declare const DropdownTrigger: ({
|
|
898
914
|
ref,
|
|
899
915
|
...rest
|
|
900
|
-
}: DropdownTriggerProps) =>
|
|
916
|
+
}: DropdownTriggerProps) => react_jsx_runtime34.JSX.Element;
|
|
901
917
|
//#endregion
|
|
902
918
|
//#region src/components/field/field.d.ts
|
|
903
919
|
type FieldProps = MergeRight<DefaultProps & AsChildProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -926,7 +942,7 @@ declare const Field: ({
|
|
|
926
942
|
asChild,
|
|
927
943
|
ref,
|
|
928
944
|
...props
|
|
929
|
-
}: FieldProps) =>
|
|
945
|
+
}: FieldProps) => react_jsx_runtime39.JSX.Element;
|
|
930
946
|
//#endregion
|
|
931
947
|
//#region src/components/field/field-description.d.ts
|
|
932
948
|
type FieldDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -937,7 +953,7 @@ declare const FieldDescription: ({
|
|
|
937
953
|
className,
|
|
938
954
|
ref,
|
|
939
955
|
...props
|
|
940
|
-
}: FieldDescriptionProps) =>
|
|
956
|
+
}: FieldDescriptionProps) => react_jsx_runtime38.JSX.Element;
|
|
941
957
|
//#endregion
|
|
942
958
|
//#region src/components/field/field-affix.d.ts
|
|
943
959
|
type FieldAffixesProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>, {
|
|
@@ -958,7 +974,7 @@ declare const FieldAffixes: ({
|
|
|
958
974
|
asChild,
|
|
959
975
|
ref,
|
|
960
976
|
...rest
|
|
961
|
-
}: FieldAffixesProps) =>
|
|
977
|
+
}: FieldAffixesProps) => react_jsx_runtime36.JSX.Element;
|
|
962
978
|
type FieldAffixProps = MergeRight<AsChildProps & Omit<HTMLAttributes<HTMLSpanElement>, 'prefix'>, {
|
|
963
979
|
ref?: Ref<HTMLSpanElement>;
|
|
964
980
|
}>;
|
|
@@ -978,7 +994,7 @@ declare const FieldAffix: ({
|
|
|
978
994
|
asChild,
|
|
979
995
|
ref,
|
|
980
996
|
...rest
|
|
981
|
-
}: FieldAffixProps) =>
|
|
997
|
+
}: FieldAffixProps) => react_jsx_runtime36.JSX.Element;
|
|
982
998
|
//#endregion
|
|
983
999
|
//#region src/components/fieldset/fieldset.d.ts
|
|
984
1000
|
type FieldsetProps = MergeRight<DefaultProps & FieldsetHTMLAttributes<HTMLFieldSetElement>, {
|
|
@@ -990,7 +1006,7 @@ declare const Fieldset: ({
|
|
|
990
1006
|
dark,
|
|
991
1007
|
ref,
|
|
992
1008
|
...props
|
|
993
|
-
}: FieldsetProps) =>
|
|
1009
|
+
}: FieldsetProps) => react_jsx_runtime42.JSX.Element;
|
|
994
1010
|
//#endregion
|
|
995
1011
|
//#region src/components/fieldset/fieldset-description.d.ts
|
|
996
1012
|
type FieldsetDescriptionProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
|
|
@@ -1000,7 +1016,7 @@ declare const FieldsetDescription: ({
|
|
|
1000
1016
|
asChild,
|
|
1001
1017
|
ref,
|
|
1002
1018
|
...props
|
|
1003
|
-
}: FieldsetDescriptionProps) =>
|
|
1019
|
+
}: FieldsetDescriptionProps) => react_jsx_runtime40.JSX.Element;
|
|
1004
1020
|
//#endregion
|
|
1005
1021
|
//#region src/components/label/label.d.ts
|
|
1006
1022
|
type LabelProps = MergeRight<DefaultProps & AsChildProps & LabelHTMLAttributes<HTMLLabelElement>, {
|
|
@@ -1018,7 +1034,7 @@ declare const Label: ({
|
|
|
1018
1034
|
asChild,
|
|
1019
1035
|
ref,
|
|
1020
1036
|
...props
|
|
1021
|
-
}: LabelProps) =>
|
|
1037
|
+
}: LabelProps) => react_jsx_runtime47.JSX.Element;
|
|
1022
1038
|
//#endregion
|
|
1023
1039
|
//#region src/components/fieldset/fieldset-legend.d.ts
|
|
1024
1040
|
type FieldsetLegendProps = MergeRight<LabelProps & HTMLAttributes<HTMLLegendElement>, {
|
|
@@ -1029,7 +1045,34 @@ declare const FieldsetLegend: ({
|
|
|
1029
1045
|
dark,
|
|
1030
1046
|
ref,
|
|
1031
1047
|
...props
|
|
1032
|
-
}: FieldsetLegendProps) =>
|
|
1048
|
+
}: FieldsetLegendProps) => react_jsx_runtime41.JSX.Element;
|
|
1049
|
+
//#endregion
|
|
1050
|
+
//#region src/components/filter-group/filter-group.d.ts
|
|
1051
|
+
type FilterGroupProps = MergeRight<DefaultProps & AsChildProps & HtmlHTMLAttributes<HTMLDivElement>, {
|
|
1052
|
+
/** Icon displayed in the filter group */
|
|
1053
|
+
icon: ReactNode;
|
|
1054
|
+
/** Label of the filter group */
|
|
1055
|
+
label: ReactNode;
|
|
1056
|
+
/** Default open state of the filter group, should not be used together with `open` */
|
|
1057
|
+
defaultOpen?: boolean;
|
|
1058
|
+
/** Control the open state of the filter group */
|
|
1059
|
+
open?: boolean;
|
|
1060
|
+
/** Callback when the open state changes */
|
|
1061
|
+
onOpenChange?: (open: boolean) => void;
|
|
1062
|
+
ref?: Ref<HTMLDivElement>;
|
|
1063
|
+
}>;
|
|
1064
|
+
declare const FilterGroup: ({
|
|
1065
|
+
dark,
|
|
1066
|
+
icon,
|
|
1067
|
+
label,
|
|
1068
|
+
defaultOpen,
|
|
1069
|
+
open,
|
|
1070
|
+
onOpenChange,
|
|
1071
|
+
children,
|
|
1072
|
+
className,
|
|
1073
|
+
ref,
|
|
1074
|
+
...props
|
|
1075
|
+
}: FilterGroupProps) => react_jsx_runtime43.JSX.Element;
|
|
1033
1076
|
//#endregion
|
|
1034
1077
|
//#region src/components/footer/footer.d.ts
|
|
1035
1078
|
type FooterProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -1065,7 +1108,7 @@ declare const Footer: ({
|
|
|
1065
1108
|
children,
|
|
1066
1109
|
ref,
|
|
1067
1110
|
...props
|
|
1068
|
-
}: FooterProps) =>
|
|
1111
|
+
}: FooterProps) => react_jsx_runtime45.JSX.Element;
|
|
1069
1112
|
//#endregion
|
|
1070
1113
|
//#region src/components/link/link.d.ts
|
|
1071
1114
|
type LinkProps = MergeRight<DefaultProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
|
|
@@ -1089,7 +1132,7 @@ declare const Link: ({
|
|
|
1089
1132
|
dark,
|
|
1090
1133
|
ref,
|
|
1091
1134
|
...rest
|
|
1092
|
-
}: LinkProps) =>
|
|
1135
|
+
}: LinkProps) => react_jsx_runtime48.JSX.Element;
|
|
1093
1136
|
//#endregion
|
|
1094
1137
|
//#region src/components/logo/logo.d.ts
|
|
1095
1138
|
type LogoProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>, {
|
|
@@ -1119,21 +1162,14 @@ declare const Logo: ({
|
|
|
1119
1162
|
className,
|
|
1120
1163
|
ref,
|
|
1121
1164
|
...props
|
|
1122
|
-
}: LogoProps) =>
|
|
1165
|
+
}: LogoProps) => react_jsx_runtime49.JSX.Element;
|
|
1123
1166
|
//#endregion
|
|
1124
1167
|
//#region src/components/navbar/navbar.d.ts
|
|
1125
1168
|
type NavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
1126
1169
|
/**
|
|
1127
1170
|
* Skip link.
|
|
1128
1171
|
*/
|
|
1129
|
-
skipLink?:
|
|
1130
|
-
label: string;
|
|
1131
|
-
href: string;
|
|
1132
|
-
};
|
|
1133
|
-
/**
|
|
1134
|
-
* Text for menu area label.
|
|
1135
|
-
*/
|
|
1136
|
-
menuAreaLabel: string;
|
|
1172
|
+
skipLink?: ReactNode;
|
|
1137
1173
|
/**
|
|
1138
1174
|
* Determines if the navbar should be fixed.
|
|
1139
1175
|
* @default false
|
|
@@ -1156,7 +1192,6 @@ type NavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
|
1156
1192
|
declare const Navbar: ({
|
|
1157
1193
|
dark,
|
|
1158
1194
|
fixed,
|
|
1159
|
-
menuAreaLabel,
|
|
1160
1195
|
homeAriaLabel,
|
|
1161
1196
|
skipLink,
|
|
1162
1197
|
homeHref,
|
|
@@ -1165,7 +1200,19 @@ declare const Navbar: ({
|
|
|
1165
1200
|
className,
|
|
1166
1201
|
ref,
|
|
1167
1202
|
...props
|
|
1168
|
-
}: NavbarProps) =>
|
|
1203
|
+
}: NavbarProps) => react_jsx_runtime50.JSX.Element;
|
|
1204
|
+
//#endregion
|
|
1205
|
+
//#region src/components/navbar/sub-navbar.d.ts
|
|
1206
|
+
type SubNavbarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
1207
|
+
ref?: Ref<HTMLElement>;
|
|
1208
|
+
}>;
|
|
1209
|
+
declare const SubNavbar: ({
|
|
1210
|
+
dark,
|
|
1211
|
+
children,
|
|
1212
|
+
className,
|
|
1213
|
+
ref,
|
|
1214
|
+
...props
|
|
1215
|
+
}: SubNavbarProps) => react_jsx_runtime51.JSX.Element;
|
|
1169
1216
|
//#endregion
|
|
1170
1217
|
//#region src/components/pagination/pagination.d.ts
|
|
1171
1218
|
type PaginationProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
|
|
@@ -1177,7 +1224,7 @@ declare const Pagination: ({
|
|
|
1177
1224
|
ref,
|
|
1178
1225
|
children,
|
|
1179
1226
|
...props
|
|
1180
|
-
}: PaginationProps) =>
|
|
1227
|
+
}: PaginationProps) => react_jsx_runtime54.JSX.Element;
|
|
1181
1228
|
//#endregion
|
|
1182
1229
|
//#region src/components/pagination/pagination-button.d.ts
|
|
1183
1230
|
type PaginationButtonProps = ButtonProps & {
|
|
@@ -1190,7 +1237,7 @@ type PaginationButtonProps = ButtonProps & {
|
|
|
1190
1237
|
declare const PaginationButton: ({
|
|
1191
1238
|
ref,
|
|
1192
1239
|
...rest
|
|
1193
|
-
}: PaginationButtonProps) =>
|
|
1240
|
+
}: PaginationButtonProps) => react_jsx_runtime52.JSX.Element;
|
|
1194
1241
|
//#endregion
|
|
1195
1242
|
//#region src/components/radio/radio.d.ts
|
|
1196
1243
|
type RadioProps = MergeRight<LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
|
|
@@ -1213,7 +1260,7 @@ declare const Radio: ({
|
|
|
1213
1260
|
id,
|
|
1214
1261
|
"aria-describedby": ariaDescribedByProp,
|
|
1215
1262
|
...props
|
|
1216
|
-
}: RadioProps) =>
|
|
1263
|
+
}: RadioProps) => react_jsx_runtime59.JSX.Element;
|
|
1217
1264
|
//#endregion
|
|
1218
1265
|
//#region src/components/search/search.d.ts
|
|
1219
1266
|
type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
|
|
@@ -1224,6 +1271,8 @@ type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
|
|
|
1224
1271
|
size?: 'medium' | 'large';
|
|
1225
1272
|
/** Called when the user presses enter. You can use this to for example navigate on submit. */
|
|
1226
1273
|
onSubmit?: (value: string) => void;
|
|
1274
|
+
/** Called when the user resets the search input. */
|
|
1275
|
+
onReset?: (value: string) => void;
|
|
1227
1276
|
/**
|
|
1228
1277
|
* Aria-label for the clear button.
|
|
1229
1278
|
* @defaultValue 'Clear'
|
|
@@ -1233,13 +1282,14 @@ type SearchProps = MergeRight<Omit<InputProps, 'type' | 'size'>, {
|
|
|
1233
1282
|
declare const Search: ({
|
|
1234
1283
|
className,
|
|
1235
1284
|
onSubmit,
|
|
1285
|
+
onReset,
|
|
1236
1286
|
clearAriaLabel,
|
|
1237
1287
|
size,
|
|
1238
1288
|
ref,
|
|
1239
1289
|
dark,
|
|
1240
1290
|
style,
|
|
1241
1291
|
...props
|
|
1242
|
-
}: SearchProps) =>
|
|
1292
|
+
}: SearchProps) => react_jsx_runtime60.JSX.Element;
|
|
1243
1293
|
//#endregion
|
|
1244
1294
|
//#region src/components/select/select.d.ts
|
|
1245
1295
|
type SelectProps = MergeRight<DefaultProps & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'multiple' | 'size'>, {
|
|
@@ -1260,7 +1310,7 @@ declare const Select: ({
|
|
|
1260
1310
|
size,
|
|
1261
1311
|
ref,
|
|
1262
1312
|
...props
|
|
1263
|
-
}: SelectProps) =>
|
|
1313
|
+
}: SelectProps) => react_jsx_runtime63.JSX.Element;
|
|
1264
1314
|
//#endregion
|
|
1265
1315
|
//#region src/components/select/select-option.d.ts
|
|
1266
1316
|
type SelectOptionProps = MergeRight<AsChildProps & OptionHTMLAttributes<HTMLOptionElement>, {
|
|
@@ -1270,7 +1320,7 @@ declare const SelectOption: ({
|
|
|
1270
1320
|
asChild,
|
|
1271
1321
|
ref,
|
|
1272
1322
|
...props
|
|
1273
|
-
}: SelectOptionProps) =>
|
|
1323
|
+
}: SelectOptionProps) => react_jsx_runtime62.JSX.Element;
|
|
1274
1324
|
//#endregion
|
|
1275
1325
|
//#region src/components/select/select-optgroup.d.ts
|
|
1276
1326
|
type SelectOptgroupProps = MergeRight<AsChildProps & OptgroupHTMLAttributes<HTMLOptGroupElement>, {
|
|
@@ -1280,7 +1330,19 @@ declare const SelectOptgroup: ({
|
|
|
1280
1330
|
asChild,
|
|
1281
1331
|
ref,
|
|
1282
1332
|
...props
|
|
1283
|
-
}: SelectOptgroupProps) =>
|
|
1333
|
+
}: SelectOptgroupProps) => react_jsx_runtime61.JSX.Element;
|
|
1334
|
+
//#endregion
|
|
1335
|
+
//#region src/components/skip-link/skip-link.d.ts
|
|
1336
|
+
type SkipLinkProps = MergeRight<DefaultProps & AsChildProps & AnchorHTMLAttributes<HTMLAnchorElement>, {
|
|
1337
|
+
ref?: Ref<HTMLAnchorElement>;
|
|
1338
|
+
}>;
|
|
1339
|
+
declare const SkipLink: ({
|
|
1340
|
+
asChild,
|
|
1341
|
+
children,
|
|
1342
|
+
className,
|
|
1343
|
+
dark,
|
|
1344
|
+
...props
|
|
1345
|
+
}: SkipLinkProps) => react_jsx_runtime64.JSX.Element;
|
|
1284
1346
|
//#endregion
|
|
1285
1347
|
//#region src/components/spinner/spinner.d.ts
|
|
1286
1348
|
type SpinnerProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElement>, {
|
|
@@ -1302,7 +1364,7 @@ declare const Spinner: ({
|
|
|
1302
1364
|
className,
|
|
1303
1365
|
ref,
|
|
1304
1366
|
...props
|
|
1305
|
-
}: SpinnerProps) =>
|
|
1367
|
+
}: SpinnerProps) => react_jsx_runtime65.JSX.Element;
|
|
1306
1368
|
//#endregion
|
|
1307
1369
|
//#region src/components/tabs/tabs.d.ts
|
|
1308
1370
|
type TabsProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
|
|
@@ -1341,7 +1403,7 @@ declare const Tabs: ({
|
|
|
1341
1403
|
dark,
|
|
1342
1404
|
ref,
|
|
1343
1405
|
...props
|
|
1344
|
-
}: TabsProps) =>
|
|
1406
|
+
}: TabsProps) => react_jsx_runtime70.JSX.Element;
|
|
1345
1407
|
//#endregion
|
|
1346
1408
|
//#region src/components/tabs/tab.d.ts
|
|
1347
1409
|
type TabProps = MergeRight<Omit<ButtonProps, 'variant' | 'type'>, {
|
|
@@ -1362,7 +1424,7 @@ declare const Tab: ({
|
|
|
1362
1424
|
dark,
|
|
1363
1425
|
ref,
|
|
1364
1426
|
...props
|
|
1365
|
-
}: TabProps) =>
|
|
1427
|
+
}: TabProps) => react_jsx_runtime67.JSX.Element;
|
|
1366
1428
|
//#endregion
|
|
1367
1429
|
//#region src/components/tabs/tabs-list.d.ts
|
|
1368
1430
|
type TabsListProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
|
|
@@ -1386,7 +1448,7 @@ declare const TabsList: ({
|
|
|
1386
1448
|
dark,
|
|
1387
1449
|
ref,
|
|
1388
1450
|
...props
|
|
1389
|
-
}: TabsListProps) =>
|
|
1451
|
+
}: TabsListProps) => react_jsx_runtime68.JSX.Element;
|
|
1390
1452
|
//#endregion
|
|
1391
1453
|
//#region src/components/tabs/tabs-panel.d.ts
|
|
1392
1454
|
type TabsPanelProps = MergeRight<DefaultProps & Omit<HTMLAttributes<HTMLDivElement>, 'dir'>, {
|
|
@@ -1410,7 +1472,7 @@ declare const TabsPanel: ({
|
|
|
1410
1472
|
dark,
|
|
1411
1473
|
ref,
|
|
1412
1474
|
...props
|
|
1413
|
-
}: TabsPanelProps) =>
|
|
1475
|
+
}: TabsPanelProps) => react_jsx_runtime69.JSX.Element;
|
|
1414
1476
|
//#endregion
|
|
1415
1477
|
//#region src/components/textarea/textarea.d.ts
|
|
1416
1478
|
type TextareaProps = MergeRight<DefaultProps & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'>, {
|
|
@@ -1427,7 +1489,7 @@ declare const Textarea: ({
|
|
|
1427
1489
|
size,
|
|
1428
1490
|
ref,
|
|
1429
1491
|
...props
|
|
1430
|
-
}: TextareaProps) =>
|
|
1492
|
+
}: TextareaProps) => react_jsx_runtime71.JSX.Element;
|
|
1431
1493
|
//#endregion
|
|
1432
1494
|
//#region src/components/textfield/textfield.d.ts
|
|
1433
1495
|
type InputPropsFiltered = Omit<InputProps, 'prefix' | 'className' | 'style'>;
|
|
@@ -1473,7 +1535,7 @@ declare const Textfield: ({
|
|
|
1473
1535
|
id: idProp,
|
|
1474
1536
|
"aria-describedby": ariaDescribedByProp,
|
|
1475
1537
|
...props
|
|
1476
|
-
}: TextfieldProps) =>
|
|
1538
|
+
}: TextfieldProps) => react_jsx_runtime72.JSX.Element;
|
|
1477
1539
|
//#endregion
|
|
1478
1540
|
//#region src/components/validation-message/validation-message.d.ts
|
|
1479
1541
|
type ValidationMessageProps = MergeRight<AsChildProps & HTMLAttributes<HTMLParagraphElement>, {
|
|
@@ -1488,7 +1550,7 @@ declare const ValidationMessage: ({
|
|
|
1488
1550
|
asChild,
|
|
1489
1551
|
ref,
|
|
1490
1552
|
...props
|
|
1491
|
-
}: ValidationMessageProps) =>
|
|
1553
|
+
}: ValidationMessageProps) => react_jsx_runtime73.JSX.Element;
|
|
1492
1554
|
//#endregion
|
|
1493
1555
|
//#region src/utilities/hooks/usePagination/usePagination.d.ts
|
|
1494
1556
|
type UsePaginationProps = {
|
|
@@ -1595,5 +1657,5 @@ declare const AlertFooter: ({
|
|
|
1595
1657
|
...rest
|
|
1596
1658
|
}: AlertFooterProps) => react_jsx_runtime0.JSX.Element;
|
|
1597
1659
|
//#endregion
|
|
1598
|
-
export { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, Chip, ChipProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownProps, DropdownTrigger, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, Footer, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, Spinner, SpinnerProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination };
|
|
1599
|
-
//# sourceMappingURL=alert-footer-
|
|
1660
|
+
export { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, ChipProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownProps, DropdownTrigger, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, SubNavbar, SubNavbarProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UsePaginationProps, ValidationMessage, ValidationMessageProps, usePagination };
|
|
1661
|
+
//# sourceMappingURL=alert-footer-DO4EmxdJ.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { Field } from "./field-U2SN9jkp.js";
|
|
|
2
2
|
import { FieldDescription } from "./field-description-Dhm1VA08.js";
|
|
3
3
|
import { Input } from "./input-Dr7BnTyd.js";
|
|
4
4
|
import { Label } from "./label-DUzvAx-T.js";
|
|
5
|
-
import { useMergeRefs } from "./useMergeRefs-
|
|
5
|
+
import { useMergeRefs } from "./useMergeRefs-CcJMoo46.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useEffect, useId, useRef } from "react";
|
|
8
8
|
|
|
@@ -53,4 +53,4 @@ const Checkbox = ({ dark, label, description, error, style, className, indetermi
|
|
|
53
53
|
|
|
54
54
|
//#endregion
|
|
55
55
|
export { Checkbox };
|
|
56
|
-
//# sourceMappingURL=checkbox-
|
|
56
|
+
//# sourceMappingURL=checkbox-CK2lV4pu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-
|
|
1
|
+
{"version":3,"file":"checkbox-CK2lV4pu.js","names":["input: HTMLInputElement | null"],"sources":["../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import { useEffect, useId, useRef, type ReactNode, type Ref } from 'react';\n\nimport type { LabelRequiredProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Field, FieldDescription } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { Label } from '../label';\nimport { useMergeRefs } from '../../utilities/hooks';\n\nexport type CheckboxProps = MergeRight<\n LabelRequiredProps & Omit<InputProps, 'type' | 'role' | 'size'>,\n {\n /** Label */\n label?: ReactNode;\n /** Description */\n description?: ReactNode;\n /** Add error indication to the checkbox. */\n error?: boolean;\n /** Specify whether the Checkbox is indeterminate */\n indeterminate?: boolean;\n ref?: Ref<HTMLInputElement>;\n }\n>;\n\nexport const Checkbox = ({\n dark,\n label,\n description,\n error,\n style,\n className,\n indeterminate,\n ref,\n id,\n 'aria-describedby': ariaDescribedByProp,\n ...props\n}: CheckboxProps) => {\n const checkRef = useRef<HTMLInputElement>(null);\n const refs = useMergeRefs([checkRef, ref]);\n const descriptionId = useId();\n\n useEffect(() => {\n let input: HTMLInputElement | null;\n if (ref && typeof ref !== 'function') {\n input = ref.current;\n } else {\n input = checkRef.current;\n }\n\n if (input) {\n input.indeterminate = indeterminate || false;\n }\n }, [indeterminate, checkRef, ref]);\n\n const ariaDescribedBy = [description ? descriptionId : '', ariaDescribedByProp].join(' ').trim() || undefined;\n\n return (\n <Field className={className} data-dark={dark} style={style} asChild>\n <label>\n <Input\n type='checkbox'\n id={id}\n ref={refs}\n aria-invalid={error || undefined}\n aria-describedby={ariaDescribedBy}\n {...props}\n />\n {label && (\n <Label weight='medium' htmlFor={id} asChild>\n <span>{label}</span>\n </Label>\n )}\n {description && (\n // Aria-hidden is used to prevent screen readers from reading the description twice:\n // once as part of the label and once from being connected through aria-describedby.\n <FieldDescription aria-hidden='true' id={descriptionId}>\n {description}\n </FieldDescription>\n )}\n </label>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AAwBA,MAAa,WAAW,CAAC,EACvB,MACA,OACA,aACA,OACA,OACA,WACA,eACA,KACA,IACA,oBAAoB,oBACpB,GAAG,OACW,KAAK;CACnB,MAAM,WAAW,OAAyB,KAAK;CAC/C,MAAM,OAAO,aAAa,CAAC,UAAU,GAAI,EAAC;CAC1C,MAAM,gBAAgB,OAAO;AAE7B,WAAU,MAAM;EACd,IAAIA;AACJ,MAAI,cAAc,QAAQ,WACxB,SAAQ,IAAI;MAEZ,SAAQ,SAAS;AAGnB,MAAI,MACF,OAAM,gBAAgB,iBAAiB;CAE1C,GAAE;EAAC;EAAe;EAAU;CAAI,EAAC;CAElC,MAAM,kBAAkB,CAAC,cAAc,gBAAgB,IAAI,mBAAoB,EAAC,KAAK,IAAI,CAAC,MAAM;AAEhG,wBACE,IAAC;EAAiB;EAAW,aAAW;EAAa;EAAO;4BAC1D,KAAC;mBACC,IAAC;IACC,MAAK;IACD;IACJ,KAAK;IACL,gBAAc;IACd,oBAAkB;IAClB,GAAI;KACJ;GACD,yBACC,IAAC;IAAM,QAAO;IAAS,SAAS;IAAI;8BAClC,IAAC,oBAAM,QAAa;KACd;GAET,+BAGC,IAAC;IAAiB,eAAY;IAAO,IAAI;cACtC;KACgB;MAEf;GACF;AAEX"}
|