@bolio-ui/core 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/Alert/index.js +5 -4
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Badge/index.js +4 -3
- package/dist/BolioUIProvider/BolioUIProvider.d.ts +3 -2
- package/dist/BolioUIProvider/ThemeProvider.d.ts +3 -2
- package/dist/BolioUIProvider/index.js +8 -8
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/Breadcrumbs/BreadcrumbsItem.d.ts +1 -1
- package/dist/Breadcrumbs/index.js +5 -4
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/ButtonLoading.d.ts +1 -2
- package/dist/Button/index.js +4 -4
- package/dist/Button/styles.d.ts +3 -3
- package/dist/Button/utils.d.ts +4 -3
- package/dist/ButtonDropdown/ButtonDropdown.d.ts +2 -2
- package/dist/ButtonDropdown/ButtonDropdownContext.d.ts +1 -1
- package/dist/ButtonDropdown/ButtonDropdownItem.d.ts +1 -1
- package/dist/ButtonDropdown/Icon.d.ts +1 -2
- package/dist/ButtonDropdown/index.js +4 -2
- package/dist/ButtonDropdown/styles.d.ts +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/ButtonGroup/ButtonGroupContext.d.ts +1 -1
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Card/index.js +7 -6
- package/dist/Card/styles.d.ts +2 -2
- package/dist/Checkbox/Checkbox.d.ts +3 -1
- package/dist/Checkbox/index.js +3 -2
- package/dist/Checkbox/styles.d.ts +2 -2
- package/dist/Chip/index.js +4 -3
- package/dist/Code/index.js +3 -3
- package/dist/Collapse/CollapseContext.d.ts +1 -1
- package/dist/Collapse/index.js +4 -4
- package/dist/ColorInput/ColorInput.d.ts +1 -1
- package/dist/ColorInput/index.js +5 -4
- package/dist/Combobox/Combobox.d.ts +1 -1
- package/dist/Combobox/index.js +5 -4
- package/dist/Command/index.js +15 -15
- package/dist/ContextMenu/index.js +7 -5
- package/dist/CopyButton/CopyButton.d.ts +12 -0
- package/dist/CopyButton/index.d.ts +3 -0
- package/dist/CopyButton/index.js +12 -0
- package/dist/DatePicker/DatePicker.d.ts +1 -1
- package/dist/DatePicker/index.js +5 -4
- package/dist/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/DateRangePicker/index.js +5 -4
- package/dist/Description/Description.d.ts +2 -1
- package/dist/Display/Display.d.ts +2 -1
- package/dist/Divider/Divider.d.ts +1 -1
- package/dist/Dot/Dot.d.ts +1 -1
- package/dist/Drawer/Drawer.d.ts +3 -2
- package/dist/Drawer/DrawerWrapper.d.ts +1 -1
- package/dist/Drawer/index.js +8 -8
- package/dist/Dropzone/DropzoneThumbnail.d.ts +1 -2
- package/dist/Dropzone/index.js +2 -2
- package/dist/Fieldset/Fieldset.d.ts +2 -1
- package/dist/Fieldset/index.js +4 -4
- package/dist/Grid/BasicItem.d.ts +1 -1
- package/dist/Grid/Grid.d.ts +1 -1
- package/dist/Grid/GridContainer.d.ts +2 -2
- package/dist/Image/ImageBrowser.d.ts +1 -1
- package/dist/Image/index.js +4 -4
- package/dist/Image/styles.d.ts +1 -1
- package/dist/ImageZoom/index.js +5 -5
- package/dist/Input/Input.d.ts +1 -1
- package/dist/Input/InputBlockLabel.d.ts +2 -1
- package/dist/Input/InputIconClear.d.ts +1 -1
- package/dist/Input/InputLabel.d.ts +2 -1
- package/dist/Input/InputProps.d.ts +4 -3
- package/dist/Input/Password.d.ts +1 -1
- package/dist/Input/index.js +6 -5
- package/dist/Input/styles.d.ts +2 -2
- package/dist/Link/index.js +3 -3
- package/dist/Loading/Loading.d.ts +1 -1
- package/dist/Mark/Mark.d.ts +10 -0
- package/dist/Mark/index.d.ts +3 -0
- package/dist/Mark/index.js +14 -0
- package/dist/Mention/Mention.d.ts +1 -1
- package/dist/Mention/index.js +5 -4
- package/dist/Menu/index.js +6 -4
- package/dist/Modal/Modal.d.ts +2 -1
- package/dist/Modal/ModalAction.d.ts +3 -2
- package/dist/Modal/index.js +11 -11
- package/dist/Note/Note.d.ts +2 -2
- package/dist/Note/index.js +5 -4
- package/dist/NumberInput/NumberInput.d.ts +1 -1
- package/dist/NumberInput/index.js +5 -4
- package/dist/Page/Page.d.ts +2 -1
- package/dist/Pagination/PaginationPages.d.ts +2 -2
- package/dist/Pagination/index.js +5 -5
- package/dist/PinInput/PinInput.d.ts +1 -1
- package/dist/PinInput/index.js +5 -4
- package/dist/Popover/Popover.d.ts +1 -1
- package/dist/Popover/index.js +7 -5
- package/dist/Progress/Progress.d.ts +1 -1
- package/dist/Radio/Radio.d.ts +3 -1
- package/dist/Radio/RadioGroup.d.ts +2 -0
- package/dist/Radio/index.js +3 -2
- package/dist/Radio/styles.d.ts +2 -2
- package/dist/Rating/Rating.d.ts +1 -1
- package/dist/Rating/RatingIcon.d.ts +1 -2
- package/dist/ScrollArea/ScrollArea.d.ts +13 -0
- package/dist/ScrollArea/index.d.ts +3 -0
- package/dist/ScrollArea/index.js +15 -0
- package/dist/Section/Section.d.ts +1 -1
- package/dist/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/Select/Select.d.ts +5 -2
- package/dist/Select/SelectContext.d.ts +6 -1
- package/dist/Select/SelectDropdown.d.ts +4 -1
- package/dist/Select/SelectIconClear.d.ts +3 -2
- package/dist/Select/SelectInput.d.ts +5 -0
- package/dist/Select/SelectMultipleValue.d.ts +2 -1
- package/dist/Select/index.js +10 -8
- package/dist/Shared/backdrop.d.ts +2 -1
- package/dist/Shared/dropdown.d.ts +2 -1
- package/dist/Shared/highlight.d.ts +1 -1
- package/dist/Slider/Slider.d.ts +3 -1
- package/dist/Slider/SliderMark.d.ts +1 -2
- package/dist/Slider/index.js +5 -4
- package/dist/Slider/styles.d.ts +2 -2
- package/dist/Snippet/Snippet.d.ts +1 -1
- package/dist/Snippet/index.js +6 -5
- package/dist/Snippet/styles.d.ts +2 -2
- package/dist/Spoiler/Spoiler.d.ts +14 -0
- package/dist/Spoiler/index.d.ts +3 -0
- package/dist/Spoiler/index.js +15 -0
- package/dist/Table/Table.d.ts +2 -2
- package/dist/Table/TableBody.d.ts +1 -1
- package/dist/Table/TableCell.d.ts +1 -1
- package/dist/Table/TableColumn.d.ts +2 -2
- package/dist/Table/TableContext.d.ts +1 -1
- package/dist/Table/TableHead.d.ts +1 -1
- package/dist/Table/TableSelectBox.d.ts +1 -2
- package/dist/Table/TableTypes.d.ts +1 -1
- package/dist/Table/index.js +7 -6
- package/dist/Tabs/Tabs.d.ts +2 -1
- package/dist/Tabs/TabsContext.d.ts +2 -1
- package/dist/Tabs/TabsItem.d.ts +1 -1
- package/dist/Tabs/index.js +3 -2
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Tag/index.js +4 -3
- package/dist/TagsInput/TagsInput.d.ts +1 -1
- package/dist/TagsInput/index.js +5 -4
- package/dist/Text/Child.d.ts +1 -1
- package/dist/Text/Text.d.ts +3 -2
- package/dist/Textarea/Textarea.d.ts +3 -1
- package/dist/Textarea/index.js +6 -4
- package/dist/Themes/Presets/Dark.d.ts +1 -1
- package/dist/Themes/Presets/Default.d.ts +1 -1
- package/dist/Themes/Presets/Shared.d.ts +1 -1
- package/dist/Themes/Themes.d.ts +1 -1
- package/dist/Toggle/Toggle.d.ts +3 -1
- package/dist/Toggle/index.js +3 -2
- package/dist/Toggle/styles.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Tooltip/TooltipContent.d.ts +3 -2
- package/dist/Tooltip/TooltipIcon.d.ts +1 -1
- package/dist/Tooltip/helper.d.ts +1 -1
- package/dist/Tooltip/index.js +5 -4
- package/dist/Tooltip/placement.d.ts +1 -1
- package/dist/Tooltip/styles.d.ts +2 -2
- package/dist/Tour/index.js +6 -6
- package/dist/chunk-2NHMNSXG.js +31 -0
- package/dist/chunk-2NKOPT4T.js +30 -0
- package/dist/{chunk-XUNC7RB7.js → chunk-2P43LMD6.js} +215 -63
- package/dist/{chunk-ICACLCJR.js → chunk-37WTJMKT.js} +2 -2
- package/dist/chunk-3AAVWE5W.js +41 -0
- package/dist/chunk-3BAUHI6F.js +22 -0
- package/dist/chunk-3LVOPXHK.js +62 -0
- package/dist/{chunk-CGEUUDJ4.js → chunk-3NHGML7P.js} +10 -8
- package/dist/chunk-3YUXMLBC.js +14 -0
- package/dist/chunk-45Y5OGFM.js +14 -0
- package/dist/chunk-4MDP4MRA.js +24 -0
- package/dist/chunk-4RW5CUTD.js +44 -0
- package/dist/{chunk-I6WWABJN.js → chunk-4XE2LV36.js} +2 -2
- package/dist/chunk-5A6ERXDB.js +28 -0
- package/dist/chunk-5D77MCIX.js +20 -0
- package/dist/chunk-5F7SJI6T.js +37 -0
- package/dist/chunk-5L34MDJF.js +35 -0
- package/dist/chunk-5OVRVGYQ.js +49 -0
- package/dist/{chunk-JAVXTBV2.js → chunk-5UZAJQHW.js} +3 -3
- package/dist/{chunk-DAPM4M4A.js → chunk-5ZFJSGCA.js} +19 -24
- package/dist/{chunk-T74YHCG6.js → chunk-6DGPQS6M.js} +40 -27
- package/dist/chunk-6NIVATHA.js +46 -0
- package/dist/chunk-7FDVIBQ3.js +15 -0
- package/dist/{chunk-4DSLA5LJ.js → chunk-7G6BCLC6.js} +16 -15
- package/dist/chunk-7U52BGWH.js +88 -0
- package/dist/chunk-7UTQAZHV.js +26 -0
- package/dist/chunk-7VYP5HCP.js +20 -0
- package/dist/chunk-7XJQX5IB.js +22 -0
- package/dist/chunk-AW2CZE7L.js +33 -0
- package/dist/{chunk-IUZV5Y27.js → chunk-B3Q2W7MC.js} +53 -39
- package/dist/{chunk-XC33TGGT.js → chunk-B555RLYX.js} +3 -3
- package/dist/chunk-BI3KST5Z.js +46 -0
- package/dist/chunk-BMMTVFV5.js +202 -0
- package/dist/chunk-BNPKMXV3.js +32 -0
- package/dist/chunk-BURRM6RO.js +28 -0
- package/dist/chunk-BVYKOLVM.js +29 -0
- package/dist/{chunk-C3ZZPIUO.js → chunk-C3PVEUSC.js} +2 -2
- package/dist/{chunk-KBZEYKCZ.js → chunk-CCKWTHUT.js} +16 -12
- package/dist/chunk-CXVCM2PB.js +55 -0
- package/dist/{chunk-G4KB56RO.js → chunk-D6JSBBXY.js} +3 -3
- package/dist/{chunk-TWT6F7A7.js → chunk-DBUEPZWM.js} +4 -4
- package/dist/chunk-DBXNG475.js +27 -0
- package/dist/chunk-DJ3AH5YZ.js +15 -0
- package/dist/chunk-DZHZXUII.js +19 -0
- package/dist/{chunk-33BUV2RX.js → chunk-E4LPRAZ6.js} +2 -2
- package/dist/{chunk-E5EDUOQT.js → chunk-E5ALJNBL.js} +6 -5
- package/dist/{chunk-DEMQXB46.js → chunk-EJZLV52Y.js} +3 -3
- package/dist/chunk-EKASDDSU.js +25 -0
- package/dist/chunk-EZL2HZZS.js +247 -0
- package/dist/chunk-FDKTLB4T.js +68 -0
- package/dist/chunk-FFYWCFPP.js +25 -0
- package/dist/chunk-FQGOZ2IF.js +14 -0
- package/dist/chunk-FU73QPTY.js +22 -0
- package/dist/{chunk-WFGUAR7K.js → chunk-FX6BSJJZ.js} +3 -3
- package/dist/chunk-FZEN4BUH.js +14 -0
- package/dist/{chunk-O3RTRCY5.js → chunk-GUILS62W.js} +0 -4
- package/dist/{chunk-Y432C24Z.js → chunk-GWUE2IIS.js} +6 -2
- package/dist/chunk-HUK4C3ZR.js +44 -0
- package/dist/chunk-IP4EY3F3.js +17 -0
- package/dist/chunk-ITDDH7VF.js +40 -0
- package/dist/{chunk-IIKZQZXS.js → chunk-IUXV23IN.js} +61 -40
- package/dist/chunk-J3VM74M7.js +38 -0
- package/dist/{chunk-REWKR7S3.js → chunk-J63S6JCT.js} +2 -2
- package/dist/chunk-JAYM3NQ5.js +27 -0
- package/dist/{chunk-YDYRM2KN.js → chunk-JF5YVNOO.js} +2 -2
- package/dist/chunk-JIN7XD6G.js +23 -0
- package/dist/{chunk-56NE4QGR.js → chunk-JWEQIAAP.js} +16 -7
- package/dist/{chunk-BXEBNLJ4.js → chunk-JYC2SUOV.js} +2 -2
- package/dist/{chunk-26KDVRFS.js → chunk-KBRWFODC.js} +3 -3
- package/dist/chunk-KCIOF5MR.js +51 -0
- package/dist/{chunk-6ASDJ72V.js → chunk-KST3JX4L.js} +8 -8
- package/dist/{chunk-CGS2MT3G.js → chunk-LCK3IKX5.js} +2 -2
- package/dist/{chunk-RD4CEB5S.js → chunk-LMPKWTBN.js} +3 -3
- package/dist/chunk-LV6MJHIM.js +33 -0
- package/dist/chunk-LWP3PTKW.js +41 -0
- package/dist/chunk-M5YHX2BJ.js +59 -0
- package/dist/chunk-MFC6RKLT.js +41 -0
- package/dist/chunk-MNUYKWKF.js +17 -0
- package/dist/chunk-MPQMRC77.js +18 -0
- package/dist/{chunk-DYYSUJ35.js → chunk-MSHPNPSW.js} +19 -4
- package/dist/chunk-MVCROFQ6.js +29 -0
- package/dist/chunk-N5NXRA7T.js +42 -0
- package/dist/{chunk-WXW7BYE7.js → chunk-NO6C6BYN.js} +2 -2
- package/dist/{chunk-ISLUC2SD.js → chunk-NTNFTNRA.js} +34 -20
- package/dist/chunk-O37I27KZ.js +26 -0
- package/dist/chunk-O4PVAWC5.js +19 -0
- package/dist/chunk-OLNIDUBW.js +32 -0
- package/dist/{chunk-GGD4BGH2.js → chunk-OOU3TSOA.js} +0 -5
- package/dist/chunk-OVJ5ECP5.js +30 -0
- package/dist/chunk-OX3PUZOD.js +24 -0
- package/dist/chunk-OXHT5DES.js +28 -0
- package/dist/chunk-P5ZQMZBG.js +34 -0
- package/dist/{chunk-X4TPC7HS.js → chunk-PMP2DFDQ.js} +2 -2
- package/dist/chunk-PSZNBTTF.js +54 -0
- package/dist/{chunk-TPZUTHTQ.js → chunk-Q2K4VARR.js} +10 -14
- package/dist/chunk-Q2QKLG4O.js +31 -0
- package/dist/chunk-Q4FDY7EJ.js +53 -0
- package/dist/{chunk-J4K4LRBI.js → chunk-QCLQ5AJX.js} +2 -2
- package/dist/{chunk-TWIOSRRP.js → chunk-QCPCIVDI.js} +2 -2
- package/dist/{chunk-FQWH4PDK.js → chunk-QQWFZSAI.js} +2 -2
- package/dist/{chunk-RWRFOGCU.js → chunk-QQY3MWML.js} +68 -0
- package/dist/chunk-QSHFISL4.js +51 -0
- package/dist/{chunk-KRSISARC.js → chunk-RG3CLJ6A.js} +2 -2
- package/dist/{chunk-WCTANCLG.js → chunk-ROBEGHM5.js} +2 -2
- package/dist/chunk-RT3U2YWL.js +68 -0
- package/dist/{chunk-BXDUHMWS.js → chunk-S5PYSYVR.js} +2 -3
- package/dist/{chunk-CY5KTINE.js → chunk-S673X52B.js} +2 -2
- package/dist/{chunk-RZBEZ26A.js → chunk-SELOBD66.js} +2 -1
- package/dist/chunk-SGBNQO6N.js +24 -0
- package/dist/chunk-SUYANDFA.js +36 -0
- package/dist/chunk-SXIOMMAK.js +39 -0
- package/dist/{chunk-YLLPYRJH.js → chunk-TCXOYKXN.js} +2 -2
- package/dist/chunk-TDLO3TAD.js +21 -0
- package/dist/chunk-TEDNYYG6.js +30 -0
- package/dist/{chunk-SJVWKNGY.js → chunk-TK6U467D.js} +6 -6
- package/dist/chunk-TXD5OFHG.js +29 -0
- package/dist/{chunk-WEYAL53O.js → chunk-TZ6SF6CO.js} +2 -2
- package/dist/chunk-UTAL5ZWE.js +26 -0
- package/dist/chunk-UTUCP2HS.js +56 -0
- package/dist/chunk-V7PWYMYX.js +34 -0
- package/dist/chunk-VE3ZUJ6K.js +22 -0
- package/dist/chunk-VSSO6Y76.js +32 -0
- package/dist/chunk-VUMACSU5.js +29 -0
- package/dist/{chunk-IL7L3BEL.js → chunk-VXXNERDY.js} +7 -12
- package/dist/{chunk-FLUNRVVG.js → chunk-VZNIINQP.js} +8 -4
- package/dist/{chunk-A2NLRQ55.js → chunk-WCZ6YRFN.js} +2 -2
- package/dist/chunk-WD7HJTRQ.js +40 -0
- package/dist/chunk-WPDNBQYS.js +27 -0
- package/dist/chunk-WXUMV5TD.js +178 -0
- package/dist/{chunk-EEZG4FGY.js → chunk-XB3GY5TL.js} +16 -5
- package/dist/{chunk-6U7FXFJP.js → chunk-XI7N2LKD.js} +4 -19
- package/dist/chunk-XTRGAC3F.js +11 -0
- package/dist/chunk-Y6DIYKCE.js +43 -0
- package/dist/{chunk-NEG5UNM6.js → chunk-YH2NWDFO.js} +35 -23
- package/dist/{chunk-BUB6MDGJ.js → chunk-YORZYBVH.js} +4 -4
- package/dist/{chunk-Y5CFWIGV.js → chunk-YR5JHUOB.js} +9 -2
- package/dist/chunk-YTIXCWZO.js +11 -0
- package/dist/chunk-YX4QMKYJ.js +13 -0
- package/dist/{chunk-EAHIBHMI.js → chunk-ZJUVOARM.js} +44 -24
- package/dist/chunk-ZLZ66ER3.js +58 -0
- package/dist/chunk-ZMEJNCUR.js +41 -0
- package/dist/chunk-ZP2KTH2H.js +27 -0
- package/dist/css/Button.css +5 -0
- package/dist/css/ButtonDropdown.css +5 -0
- package/dist/css/Input-InputIconClear.css +4 -0
- package/dist/css/Mark.css +9 -0
- package/dist/css/NumberInput.css +10 -1
- package/dist/css/ScrollArea.css +116 -0
- package/dist/css/Select-SelectIconClear.css +3 -0
- package/dist/css/Select-SelectOption.css +4 -0
- package/dist/css/Snippet.css +3 -0
- package/dist/css/Spoiler.css +30 -0
- package/dist/index.d.ts +130 -0
- package/dist/index.js +422 -77
- package/dist/styles.css +193 -2
- package/dist/use-all-themes/all-themes-context.d.ts +1 -1
- package/dist/use-body-scroll/index.js +2 -2
- package/dist/use-body-scroll/use-body-scroll.d.ts +1 -1
- package/dist/use-click-away/use-click-away.d.ts +1 -1
- package/dist/use-clipboard/index.js +3 -3
- package/dist/use-collapse/index.d.ts +3 -0
- package/dist/use-collapse/index.js +7 -0
- package/dist/use-collapse/use-collapse.d.ts +12 -0
- package/dist/use-color-scheme/index.d.ts +2 -0
- package/dist/use-color-scheme/index.js +8 -0
- package/dist/use-color-scheme/use-color-scheme.d.ts +2 -0
- package/dist/use-counter/index.d.ts +3 -0
- package/dist/use-counter/index.js +7 -0
- package/dist/use-counter/use-counter.d.ts +12 -0
- package/dist/use-current-state/index.js +2 -2
- package/dist/use-current-state/use-current-state.d.ts +1 -1
- package/dist/use-debounced-callback/index.d.ts +2 -0
- package/dist/use-debounced-callback/index.js +8 -0
- package/dist/use-debounced-callback/use-debounced-callback.d.ts +5 -0
- package/dist/use-debounced-state/index.d.ts +3 -0
- package/dist/use-debounced-state/index.js +7 -0
- package/dist/use-debounced-state/use-debounced-state.d.ts +5 -0
- package/dist/use-debounced-value/index.d.ts +3 -0
- package/dist/use-debounced-value/index.js +7 -0
- package/dist/use-debounced-value/use-debounced-value.d.ts +5 -0
- package/dist/use-did-update/index.d.ts +2 -0
- package/dist/use-did-update/index.js +7 -0
- package/dist/use-did-update/use-did-update.d.ts +3 -0
- package/dist/use-disclosure/index.d.ts +3 -0
- package/dist/use-disclosure/index.js +8 -0
- package/dist/use-disclosure/use-disclosure.d.ts +11 -0
- package/dist/use-document-title/index.d.ts +2 -0
- package/dist/use-document-title/index.js +7 -0
- package/dist/use-document-title/use-document-title.d.ts +2 -0
- package/dist/use-document-visibility/index.d.ts +2 -0
- package/dist/use-document-visibility/index.js +7 -0
- package/dist/use-document-visibility/use-document-visibility.d.ts +2 -0
- package/dist/use-drag/index.d.ts +3 -0
- package/dist/use-drag/index.js +7 -0
- package/dist/use-drag/use-drag.d.ts +12 -0
- package/dist/use-element-size/index.d.ts +3 -0
- package/dist/use-element-size/index.js +8 -0
- package/dist/use-element-size/use-element-size.d.ts +8 -0
- package/dist/use-event-listener/index.d.ts +2 -0
- package/dist/use-event-listener/index.js +8 -0
- package/dist/use-event-listener/use-event-listener.d.ts +3 -0
- package/dist/use-eye-dropper/index.d.ts +2 -0
- package/dist/use-eye-dropper/index.js +7 -0
- package/dist/use-eye-dropper/use-eye-dropper.d.ts +9 -0
- package/dist/use-favicon/index.d.ts +2 -0
- package/dist/use-favicon/index.js +7 -0
- package/dist/use-favicon/use-favicon.d.ts +2 -0
- package/dist/use-fetch/index.d.ts +3 -0
- package/dist/use-fetch/index.js +7 -0
- package/dist/use-fetch/use-fetch.d.ts +12 -0
- package/dist/use-file-dialog/index.d.ts +3 -0
- package/dist/use-file-dialog/index.js +8 -0
- package/dist/use-file-dialog/use-file-dialog.d.ts +13 -0
- package/dist/use-floating-window/index.d.ts +3 -0
- package/dist/use-floating-window/index.js +7 -0
- package/dist/use-floating-window/use-floating-window.d.ts +15 -0
- package/dist/use-focus-return/index.d.ts +3 -0
- package/dist/use-focus-return/index.js +7 -0
- package/dist/use-focus-return/use-focus-return.d.ts +6 -0
- package/dist/use-focus-trap/index.d.ts +2 -0
- package/dist/use-focus-trap/index.js +7 -0
- package/dist/use-focus-trap/use-focus-trap.d.ts +3 -0
- package/dist/use-focus-within/index.d.ts +3 -0
- package/dist/use-focus-within/index.js +8 -0
- package/dist/use-focus-within/use-focus-within.d.ts +11 -0
- package/dist/use-force-update/index.d.ts +2 -0
- package/dist/use-force-update/index.js +7 -0
- package/dist/use-force-update/use-force-update.d.ts +2 -0
- package/dist/use-form/form-context.d.ts +7 -0
- package/dist/use-form/index.d.ts +6 -0
- package/dist/use-form/index.js +23 -0
- package/dist/use-form/use-form.d.ts +84 -0
- package/dist/use-form/validators.d.ts +14 -0
- package/dist/use-fullscreen/index.d.ts +3 -0
- package/dist/use-fullscreen/index.js +7 -0
- package/dist/use-fullscreen/use-fullscreen.d.ts +10 -0
- package/dist/use-hash/index.d.ts +2 -0
- package/dist/use-hash/index.js +7 -0
- package/dist/use-hash/use-hash.d.ts +2 -0
- package/dist/use-headroom/index.d.ts +3 -0
- package/dist/use-headroom/index.js +8 -0
- package/dist/use-headroom/use-headroom.d.ts +8 -0
- package/dist/use-hover/index.d.ts +3 -0
- package/dist/use-hover/index.js +7 -0
- package/dist/use-hover/use-hover.d.ts +7 -0
- package/dist/use-idle/index.d.ts +3 -0
- package/dist/use-idle/index.js +7 -0
- package/dist/use-idle/use-idle.d.ts +6 -0
- package/dist/use-in-viewport/index.d.ts +3 -0
- package/dist/use-in-viewport/index.js +8 -0
- package/dist/use-in-viewport/use-in-viewport.d.ts +6 -0
- package/dist/use-input/index.js +4 -4
- package/dist/use-input/use-input.d.ts +2 -1
- package/dist/use-input-state/index.d.ts +2 -0
- package/dist/use-input-state/index.js +7 -0
- package/dist/use-input-state/use-input-state.d.ts +4 -0
- package/dist/use-intersection/index.d.ts +3 -0
- package/dist/use-intersection/index.js +7 -0
- package/dist/use-intersection/use-intersection.d.ts +6 -0
- package/dist/use-interval/index.d.ts +3 -0
- package/dist/use-interval/index.js +8 -0
- package/dist/use-interval/use-interval.d.ts +11 -0
- package/dist/use-is-first-render/index.d.ts +2 -0
- package/dist/use-is-first-render/index.js +7 -0
- package/dist/use-is-first-render/use-is-first-render.d.ts +2 -0
- package/dist/use-isomorphic-effect/index.d.ts +2 -0
- package/dist/use-isomorphic-effect/index.js +7 -0
- package/dist/use-isomorphic-effect/use-isomorphic-effect.d.ts +3 -0
- package/dist/use-keyboard/codes.d.ts +86 -84
- package/dist/use-keyboard/index.js +2 -2
- package/dist/use-keyboard/use-keyboard.d.ts +1 -1
- package/dist/use-list-state/index.d.ts +3 -0
- package/dist/use-list-state/index.js +7 -0
- package/dist/use-list-state/use-list-state.d.ts +16 -0
- package/dist/use-local-storage/index.d.ts +3 -0
- package/dist/use-local-storage/index.js +8 -0
- package/dist/use-local-storage/use-local-storage.d.ts +6 -0
- package/dist/use-logger/index.d.ts +2 -0
- package/dist/use-logger/index.js +7 -0
- package/dist/use-logger/use-logger.d.ts +2 -0
- package/dist/use-long-press/index.d.ts +3 -0
- package/dist/use-long-press/index.js +8 -0
- package/dist/use-long-press/use-long-press.d.ts +11 -0
- package/dist/use-map/index.d.ts +2 -0
- package/dist/use-map/index.js +7 -0
- package/dist/use-map/use-map.d.ts +2 -0
- package/dist/use-mask/index.d.ts +3 -0
- package/dist/use-mask/index.js +7 -0
- package/dist/use-mask/use-mask.d.ts +8 -0
- package/dist/use-merged-ref/index.d.ts +3 -0
- package/dist/use-merged-ref/index.js +9 -0
- package/dist/use-merged-ref/use-merged-ref.d.ts +5 -0
- package/dist/use-modal/index.js +4 -4
- package/dist/use-modal/use-modal.d.ts +2 -2
- package/dist/use-mounted/index.d.ts +2 -0
- package/dist/use-mounted/index.js +7 -0
- package/dist/use-mounted/use-mounted.d.ts +2 -0
- package/dist/use-mouse/index.d.ts +3 -0
- package/dist/use-mouse/index.js +7 -0
- package/dist/use-mouse/use-mouse.d.ts +8 -0
- package/dist/use-move/index.d.ts +3 -0
- package/dist/use-move/index.js +8 -0
- package/dist/use-move/use-move.d.ts +10 -0
- package/dist/use-mutation-observer/index.d.ts +2 -0
- package/dist/use-mutation-observer/index.js +8 -0
- package/dist/use-mutation-observer/use-mutation-observer.d.ts +3 -0
- package/dist/use-network/index.d.ts +3 -0
- package/dist/use-network/index.js +7 -0
- package/dist/use-network/use-network.d.ts +11 -0
- package/dist/use-orientation/index.d.ts +3 -0
- package/dist/use-orientation/index.js +7 -0
- package/dist/use-orientation/use-orientation.d.ts +6 -0
- package/dist/use-os/index.d.ts +3 -0
- package/dist/use-os/index.js +7 -0
- package/dist/use-os/use-os.d.ts +3 -0
- package/dist/use-page-leave/index.d.ts +2 -0
- package/dist/use-page-leave/index.js +8 -0
- package/dist/use-page-leave/use-page-leave.d.ts +2 -0
- package/dist/use-pagination/index.d.ts +3 -0
- package/dist/use-pagination/index.js +7 -0
- package/dist/use-pagination/use-pagination.d.ts +19 -0
- package/dist/use-previous/index.d.ts +2 -0
- package/dist/use-previous/index.js +8 -0
- package/dist/use-previous/use-previous.d.ts +2 -0
- package/dist/use-queue/index.d.ts +3 -0
- package/dist/use-queue/index.js +7 -0
- package/dist/use-queue/use-queue.d.ts +13 -0
- package/dist/use-radial-move/index.d.ts +3 -0
- package/dist/use-radial-move/index.js +8 -0
- package/dist/use-radial-move/use-radial-move.d.ts +10 -0
- package/dist/use-reduced-motion/index.d.ts +2 -0
- package/dist/use-reduced-motion/index.js +8 -0
- package/dist/use-reduced-motion/use-reduced-motion.d.ts +2 -0
- package/dist/use-resize-observer/index.d.ts +3 -0
- package/dist/use-resize-observer/index.js +7 -0
- package/dist/use-resize-observer/use-resize-observer.d.ts +13 -0
- package/dist/use-roving-index/index.d.ts +3 -0
- package/dist/use-roving-index/index.js +7 -0
- package/dist/use-roving-index/use-roving-index.d.ts +19 -0
- package/dist/use-scale/utils.d.ts +1 -1
- package/dist/use-scale/with-scale.d.ts +1 -1
- package/dist/use-scroll-direction/index.d.ts +2 -0
- package/dist/use-scroll-direction/index.js +7 -0
- package/dist/use-scroll-direction/use-scroll-direction.d.ts +2 -0
- package/dist/use-scroll-into-view/index.d.ts +3 -0
- package/dist/use-scroll-into-view/index.js +7 -0
- package/dist/use-scroll-into-view/use-scroll-into-view.d.ts +13 -0
- package/dist/use-scroll-spy/index.d.ts +3 -0
- package/dist/use-scroll-spy/index.js +7 -0
- package/dist/use-scroll-spy/use-scroll-spy.d.ts +16 -0
- package/dist/use-scroller/index.d.ts +3 -0
- package/dist/use-scroller/index.js +7 -0
- package/dist/use-scroller/use-scroller.d.ts +9 -0
- package/dist/use-selection/index.d.ts +3 -0
- package/dist/use-selection/index.js +7 -0
- package/dist/use-selection/use-selection.d.ts +15 -0
- package/dist/use-set/index.d.ts +2 -0
- package/dist/use-set/index.js +7 -0
- package/dist/use-set/use-set.d.ts +2 -0
- package/dist/use-set-state/index.d.ts +2 -0
- package/dist/use-set-state/index.js +7 -0
- package/dist/use-set-state/use-set-state.d.ts +2 -0
- package/dist/use-shallow-effect/index.d.ts +2 -0
- package/dist/use-shallow-effect/index.js +7 -0
- package/dist/use-shallow-effect/use-shallow-effect.d.ts +3 -0
- package/dist/use-splitter/index.d.ts +3 -0
- package/dist/use-splitter/index.js +7 -0
- package/dist/use-splitter/use-splitter.d.ts +15 -0
- package/dist/use-state-history/index.d.ts +3 -0
- package/dist/use-state-history/index.js +8 -0
- package/dist/use-state-history/use-state-history.d.ts +12 -0
- package/dist/use-tabs/index.js +4 -4
- package/dist/use-tabs/use-tabs.d.ts +1 -1
- package/dist/use-text-selection/index.d.ts +2 -0
- package/dist/use-text-selection/index.js +7 -0
- package/dist/use-text-selection/use-text-selection.d.ts +2 -0
- package/dist/use-theme/theme-context.d.ts +1 -1
- package/dist/use-throttled-callback/index.d.ts +2 -0
- package/dist/use-throttled-callback/index.js +8 -0
- package/dist/use-throttled-callback/use-throttled-callback.d.ts +5 -0
- package/dist/use-throttled-state/index.d.ts +2 -0
- package/dist/use-throttled-state/index.js +9 -0
- package/dist/use-throttled-state/use-throttled-state.d.ts +2 -0
- package/dist/use-throttled-value/index.d.ts +2 -0
- package/dist/use-throttled-value/index.js +7 -0
- package/dist/use-throttled-value/use-throttled-value.d.ts +2 -0
- package/dist/use-timeout/index.d.ts +3 -0
- package/dist/use-timeout/index.js +8 -0
- package/dist/use-timeout/use-timeout.d.ts +9 -0
- package/dist/use-toasts/helpers.d.ts +3 -3
- package/dist/use-toasts/use-toast.d.ts +3 -2
- package/dist/use-toggle/index.d.ts +2 -0
- package/dist/use-toggle/index.js +8 -0
- package/dist/use-toggle/use-toggle.d.ts +2 -0
- package/dist/use-uncontrolled/index.d.ts +3 -0
- package/dist/use-uncontrolled/index.js +7 -0
- package/dist/use-uncontrolled/use-uncontrolled.d.ts +8 -0
- package/dist/use-validated-state/index.d.ts +3 -0
- package/dist/use-validated-state/index.js +7 -0
- package/dist/use-validated-state/use-validated-state.d.ts +7 -0
- package/dist/use-viewport-size/index.d.ts +3 -0
- package/dist/use-viewport-size/index.js +7 -0
- package/dist/use-viewport-size/use-viewport-size.d.ts +6 -0
- package/dist/use-window-event/index.d.ts +2 -0
- package/dist/use-window-event/index.js +8 -0
- package/dist/use-window-event/use-window-event.d.ts +2 -0
- package/dist/use-window-scroll/index.d.ts +3 -0
- package/dist/use-window-scroll/index.js +7 -0
- package/dist/use-window-scroll/use-window-scroll.d.ts +6 -0
- package/dist/utils/activate-on-key.d.ts +2 -0
- package/dist/utils/collections.d.ts +2 -1
- package/dist/utils/layouts.d.ts +1 -1
- package/dist/utils/surface.d.ts +1 -1
- package/dist/utils/use-dialog-focus.d.ts +1 -1
- package/dist/utils/use-dom-observer.d.ts +1 -1
- package/dist/utils/use-drag.d.ts +1 -1
- package/dist/utils/use-latest.d.ts +1 -1
- package/dist/utils/use-match-media.d.ts +2 -0
- package/dist/utils/use-real-shape.d.ts +1 -1
- package/dist/utils/variant-colors.d.ts +3 -1
- package/esm/Alert/index.js +4 -3
- package/esm/Badge/Badge.d.ts +1 -1
- package/esm/Badge/index.js +3 -2
- package/esm/BolioUIProvider/BolioUIProvider.d.ts +3 -2
- package/esm/BolioUIProvider/ThemeProvider.d.ts +3 -2
- package/esm/BolioUIProvider/index.js +7 -7
- package/esm/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/esm/Breadcrumbs/BreadcrumbsItem.d.ts +1 -1
- package/esm/Breadcrumbs/index.js +4 -3
- package/esm/Button/Button.d.ts +1 -1
- package/esm/Button/ButtonLoading.d.ts +1 -2
- package/esm/Button/index.js +3 -3
- package/esm/Button/styles.d.ts +3 -3
- package/esm/Button/utils.d.ts +4 -3
- package/esm/ButtonDropdown/ButtonDropdown.d.ts +2 -2
- package/esm/ButtonDropdown/ButtonDropdownContext.d.ts +1 -1
- package/esm/ButtonDropdown/ButtonDropdownItem.d.ts +1 -1
- package/esm/ButtonDropdown/Icon.d.ts +1 -2
- package/esm/ButtonDropdown/index.js +3 -1
- package/esm/ButtonDropdown/styles.d.ts +2 -2
- package/esm/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/esm/ButtonGroup/ButtonGroupContext.d.ts +1 -1
- package/esm/Card/Card.d.ts +1 -1
- package/esm/Card/index.js +6 -5
- package/esm/Card/styles.d.ts +2 -2
- package/esm/Checkbox/Checkbox.d.ts +3 -1
- package/esm/Checkbox/index.js +2 -1
- package/esm/Checkbox/styles.d.ts +2 -2
- package/esm/Chip/index.js +3 -2
- package/esm/Code/index.js +2 -2
- package/esm/Collapse/CollapseContext.d.ts +1 -1
- package/esm/Collapse/index.js +3 -3
- package/esm/ColorInput/ColorInput.d.ts +1 -1
- package/esm/ColorInput/index.js +4 -3
- package/esm/Combobox/Combobox.d.ts +1 -1
- package/esm/Combobox/index.js +4 -3
- package/esm/Command/index.js +14 -14
- package/esm/ContextMenu/index.js +6 -4
- package/esm/CopyButton/CopyButton.d.ts +12 -0
- package/esm/CopyButton/index.d.ts +3 -0
- package/esm/CopyButton/index.js +12 -0
- package/esm/DatePicker/DatePicker.d.ts +1 -1
- package/esm/DatePicker/index.js +4 -3
- package/esm/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/esm/DateRangePicker/index.js +4 -3
- package/esm/Description/Description.d.ts +2 -1
- package/esm/Display/Display.d.ts +2 -1
- package/esm/Divider/Divider.d.ts +1 -1
- package/esm/Dot/Dot.d.ts +1 -1
- package/esm/Drawer/Drawer.d.ts +3 -2
- package/esm/Drawer/DrawerWrapper.d.ts +1 -1
- package/esm/Drawer/index.js +7 -7
- package/esm/Dropzone/DropzoneThumbnail.d.ts +1 -2
- package/esm/Dropzone/index.js +1 -1
- package/esm/Fieldset/Fieldset.d.ts +2 -1
- package/esm/Fieldset/index.js +3 -3
- package/esm/Grid/BasicItem.d.ts +1 -1
- package/esm/Grid/Grid.d.ts +1 -1
- package/esm/Grid/GridContainer.d.ts +2 -2
- package/esm/Image/ImageBrowser.d.ts +1 -1
- package/esm/Image/index.js +3 -3
- package/esm/Image/styles.d.ts +1 -1
- package/esm/ImageZoom/index.js +4 -4
- package/esm/Input/Input.d.ts +1 -1
- package/esm/Input/InputBlockLabel.d.ts +2 -1
- package/esm/Input/InputIconClear.d.ts +1 -1
- package/esm/Input/InputLabel.d.ts +2 -1
- package/esm/Input/InputProps.d.ts +4 -3
- package/esm/Input/Password.d.ts +1 -1
- package/esm/Input/index.js +5 -4
- package/esm/Input/styles.d.ts +2 -2
- package/esm/Link/index.js +2 -2
- package/esm/Loading/Loading.d.ts +1 -1
- package/esm/Mark/Mark.d.ts +10 -0
- package/esm/Mark/index.d.ts +3 -0
- package/esm/Mark/index.js +14 -0
- package/esm/Mention/Mention.d.ts +1 -1
- package/esm/Mention/index.js +4 -3
- package/esm/Menu/index.js +5 -3
- package/esm/Modal/Modal.d.ts +2 -1
- package/esm/Modal/ModalAction.d.ts +3 -2
- package/esm/Modal/index.js +10 -10
- package/esm/Note/Note.d.ts +2 -2
- package/esm/Note/index.js +4 -3
- package/esm/NumberInput/NumberInput.d.ts +1 -1
- package/esm/NumberInput/index.js +4 -3
- package/esm/Page/Page.d.ts +2 -1
- package/esm/Pagination/PaginationPages.d.ts +2 -2
- package/esm/Pagination/index.js +4 -4
- package/esm/PinInput/PinInput.d.ts +1 -1
- package/esm/PinInput/index.js +4 -3
- package/esm/Popover/Popover.d.ts +1 -1
- package/esm/Popover/index.js +6 -4
- package/esm/Progress/Progress.d.ts +1 -1
- package/esm/Radio/Radio.d.ts +3 -1
- package/esm/Radio/RadioGroup.d.ts +2 -0
- package/esm/Radio/index.js +2 -1
- package/esm/Radio/styles.d.ts +2 -2
- package/esm/Rating/Rating.d.ts +1 -1
- package/esm/Rating/RatingIcon.d.ts +1 -2
- package/esm/ScrollArea/ScrollArea.d.ts +13 -0
- package/esm/ScrollArea/index.d.ts +3 -0
- package/esm/ScrollArea/index.js +15 -0
- package/esm/Section/Section.d.ts +1 -1
- package/esm/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/esm/Select/Select.d.ts +5 -2
- package/esm/Select/SelectContext.d.ts +6 -1
- package/esm/Select/SelectDropdown.d.ts +4 -1
- package/esm/Select/SelectIconClear.d.ts +3 -2
- package/esm/Select/SelectInput.d.ts +5 -0
- package/esm/Select/SelectMultipleValue.d.ts +2 -1
- package/esm/Select/index.js +9 -7
- package/esm/Shared/backdrop.d.ts +2 -1
- package/esm/Shared/dropdown.d.ts +2 -1
- package/esm/Shared/highlight.d.ts +1 -1
- package/esm/Slider/Slider.d.ts +3 -1
- package/esm/Slider/SliderMark.d.ts +1 -2
- package/esm/Slider/index.js +4 -3
- package/esm/Slider/styles.d.ts +2 -2
- package/esm/Snippet/Snippet.d.ts +1 -1
- package/esm/Snippet/index.js +5 -4
- package/esm/Snippet/styles.d.ts +2 -2
- package/esm/Spoiler/Spoiler.d.ts +14 -0
- package/esm/Spoiler/index.d.ts +3 -0
- package/esm/Spoiler/index.js +15 -0
- package/esm/Table/Table.d.ts +2 -2
- package/esm/Table/TableBody.d.ts +1 -1
- package/esm/Table/TableCell.d.ts +1 -1
- package/esm/Table/TableColumn.d.ts +2 -2
- package/esm/Table/TableContext.d.ts +1 -1
- package/esm/Table/TableHead.d.ts +1 -1
- package/esm/Table/TableSelectBox.d.ts +1 -2
- package/esm/Table/TableTypes.d.ts +1 -1
- package/esm/Table/index.js +6 -5
- package/esm/Tabs/Tabs.d.ts +2 -1
- package/esm/Tabs/TabsContext.d.ts +2 -1
- package/esm/Tabs/TabsItem.d.ts +1 -1
- package/esm/Tabs/index.js +2 -1
- package/esm/Tag/Tag.d.ts +1 -1
- package/esm/Tag/index.js +3 -2
- package/esm/TagsInput/TagsInput.d.ts +1 -1
- package/esm/TagsInput/index.js +4 -3
- package/esm/Text/Child.d.ts +1 -1
- package/esm/Text/Text.d.ts +3 -2
- package/esm/Textarea/Textarea.d.ts +3 -1
- package/esm/Textarea/index.js +5 -3
- package/esm/Themes/Presets/Dark.d.ts +1 -1
- package/esm/Themes/Presets/Default.d.ts +1 -1
- package/esm/Themes/Presets/Shared.d.ts +1 -1
- package/esm/Themes/Themes.d.ts +1 -1
- package/esm/Toggle/Toggle.d.ts +3 -1
- package/esm/Toggle/index.js +2 -1
- package/esm/Toggle/styles.d.ts +2 -2
- package/esm/Tooltip/Tooltip.d.ts +1 -1
- package/esm/Tooltip/TooltipContent.d.ts +3 -2
- package/esm/Tooltip/TooltipIcon.d.ts +1 -1
- package/esm/Tooltip/helper.d.ts +1 -1
- package/esm/Tooltip/index.js +4 -3
- package/esm/Tooltip/placement.d.ts +1 -1
- package/esm/Tooltip/styles.d.ts +2 -2
- package/esm/Tour/index.js +5 -5
- package/esm/chunk-2NHMNSXG.js +31 -0
- package/esm/chunk-2NKOPT4T.js +30 -0
- package/esm/{chunk-XUNC7RB7.js → chunk-2P43LMD6.js} +213 -61
- package/esm/{chunk-ICACLCJR.js → chunk-37WTJMKT.js} +1 -1
- package/esm/chunk-3AAVWE5W.js +41 -0
- package/esm/chunk-3BAUHI6F.js +22 -0
- package/esm/chunk-3LVOPXHK.js +62 -0
- package/esm/{chunk-CGEUUDJ4.js → chunk-3NHGML7P.js} +5 -3
- package/esm/chunk-3YUXMLBC.js +14 -0
- package/esm/chunk-45Y5OGFM.js +14 -0
- package/esm/chunk-4MDP4MRA.js +24 -0
- package/esm/chunk-4RW5CUTD.js +44 -0
- package/esm/{chunk-I6WWABJN.js → chunk-4XE2LV36.js} +1 -1
- package/esm/chunk-5A6ERXDB.js +28 -0
- package/esm/chunk-5D77MCIX.js +20 -0
- package/esm/chunk-5F7SJI6T.js +37 -0
- package/esm/chunk-5L34MDJF.js +35 -0
- package/esm/chunk-5OVRVGYQ.js +49 -0
- package/esm/{chunk-JAVXTBV2.js → chunk-5UZAJQHW.js} +4 -4
- package/esm/{chunk-DAPM4M4A.js → chunk-5ZFJSGCA.js} +7 -12
- package/esm/{chunk-T74YHCG6.js → chunk-6DGPQS6M.js} +42 -29
- package/esm/chunk-6NIVATHA.js +46 -0
- package/esm/chunk-7FDVIBQ3.js +15 -0
- package/esm/{chunk-4DSLA5LJ.js → chunk-7G6BCLC6.js} +5 -4
- package/esm/chunk-7U52BGWH.js +88 -0
- package/esm/chunk-7UTQAZHV.js +26 -0
- package/esm/chunk-7VYP5HCP.js +20 -0
- package/esm/chunk-7XJQX5IB.js +22 -0
- package/esm/chunk-AW2CZE7L.js +33 -0
- package/esm/{chunk-IUZV5Y27.js → chunk-B3Q2W7MC.js} +52 -38
- package/esm/{chunk-XC33TGGT.js → chunk-B555RLYX.js} +1 -1
- package/esm/chunk-BI3KST5Z.js +46 -0
- package/esm/chunk-BMMTVFV5.js +202 -0
- package/esm/chunk-BNPKMXV3.js +32 -0
- package/esm/chunk-BURRM6RO.js +28 -0
- package/esm/chunk-BVYKOLVM.js +29 -0
- package/esm/{chunk-C3ZZPIUO.js → chunk-C3PVEUSC.js} +1 -1
- package/esm/{chunk-KBZEYKCZ.js → chunk-CCKWTHUT.js} +12 -8
- package/esm/chunk-CXVCM2PB.js +55 -0
- package/esm/{chunk-G4KB56RO.js → chunk-D6JSBBXY.js} +4 -4
- package/esm/{chunk-TWT6F7A7.js → chunk-DBUEPZWM.js} +2 -2
- package/esm/chunk-DBXNG475.js +27 -0
- package/esm/chunk-DJ3AH5YZ.js +15 -0
- package/esm/chunk-DZHZXUII.js +19 -0
- package/esm/{chunk-33BUV2RX.js → chunk-E4LPRAZ6.js} +1 -1
- package/esm/{chunk-E5EDUOQT.js → chunk-E5ALJNBL.js} +6 -5
- package/esm/{chunk-4X4ELIMQ.js → chunk-EENBS2NP.js} +2 -2
- package/esm/{chunk-DEMQXB46.js → chunk-EJZLV52Y.js} +3 -3
- package/esm/chunk-EKASDDSU.js +25 -0
- package/esm/chunk-EZL2HZZS.js +247 -0
- package/esm/chunk-FDKTLB4T.js +68 -0
- package/esm/chunk-FFYWCFPP.js +25 -0
- package/esm/chunk-FQGOZ2IF.js +14 -0
- package/esm/chunk-FU73QPTY.js +22 -0
- package/esm/{chunk-WFGUAR7K.js → chunk-FX6BSJJZ.js} +1 -1
- package/esm/chunk-FZEN4BUH.js +14 -0
- package/esm/{chunk-O3RTRCY5.js → chunk-GUILS62W.js} +1 -5
- package/esm/{chunk-Y432C24Z.js → chunk-GWUE2IIS.js} +5 -1
- package/esm/chunk-HUK4C3ZR.js +44 -0
- package/esm/chunk-IP4EY3F3.js +17 -0
- package/esm/chunk-ITDDH7VF.js +40 -0
- package/esm/{chunk-IIKZQZXS.js → chunk-IUXV23IN.js} +65 -44
- package/esm/chunk-J3VM74M7.js +38 -0
- package/esm/{chunk-REWKR7S3.js → chunk-J63S6JCT.js} +1 -1
- package/esm/chunk-JAYM3NQ5.js +27 -0
- package/esm/{chunk-YDYRM2KN.js → chunk-JF5YVNOO.js} +1 -1
- package/esm/chunk-JIN7XD6G.js +23 -0
- package/esm/{chunk-56NE4QGR.js → chunk-JWEQIAAP.js} +11 -2
- package/esm/{chunk-BXEBNLJ4.js → chunk-JYC2SUOV.js} +1 -1
- package/esm/{chunk-26KDVRFS.js → chunk-KBRWFODC.js} +1 -1
- package/esm/chunk-KCIOF5MR.js +51 -0
- package/esm/{chunk-6ASDJ72V.js → chunk-KST3JX4L.js} +3 -3
- package/esm/{chunk-CGS2MT3G.js → chunk-LCK3IKX5.js} +1 -1
- package/esm/{chunk-RD4CEB5S.js → chunk-LMPKWTBN.js} +1 -1
- package/esm/chunk-LV6MJHIM.js +33 -0
- package/esm/chunk-LWP3PTKW.js +41 -0
- package/esm/chunk-M5YHX2BJ.js +59 -0
- package/esm/chunk-MFC6RKLT.js +41 -0
- package/esm/chunk-MNUYKWKF.js +17 -0
- package/esm/chunk-MPQMRC77.js +18 -0
- package/esm/{chunk-DYYSUJ35.js → chunk-MSHPNPSW.js} +18 -3
- package/esm/chunk-MVCROFQ6.js +29 -0
- package/esm/chunk-N5NXRA7T.js +42 -0
- package/esm/{chunk-WXW7BYE7.js → chunk-NO6C6BYN.js} +1 -1
- package/esm/{chunk-ISLUC2SD.js → chunk-NTNFTNRA.js} +35 -21
- package/esm/chunk-O37I27KZ.js +26 -0
- package/esm/chunk-O4PVAWC5.js +19 -0
- package/esm/chunk-OLNIDUBW.js +32 -0
- package/esm/{chunk-GGD4BGH2.js → chunk-OOU3TSOA.js} +1 -6
- package/esm/chunk-OVJ5ECP5.js +30 -0
- package/esm/chunk-OX3PUZOD.js +24 -0
- package/esm/chunk-OXHT5DES.js +28 -0
- package/esm/chunk-P5ZQMZBG.js +34 -0
- package/esm/{chunk-X4TPC7HS.js → chunk-PMP2DFDQ.js} +1 -1
- package/esm/chunk-PSZNBTTF.js +54 -0
- package/esm/{chunk-TPZUTHTQ.js → chunk-Q2K4VARR.js} +7 -11
- package/esm/chunk-Q2QKLG4O.js +31 -0
- package/esm/{chunk-GJZT47MP.js → chunk-Q4FDY7EJ.js} +21 -0
- package/esm/{chunk-J4K4LRBI.js → chunk-QCLQ5AJX.js} +1 -1
- package/esm/{chunk-TWIOSRRP.js → chunk-QCPCIVDI.js} +1 -1
- package/esm/{chunk-FQWH4PDK.js → chunk-QQWFZSAI.js} +1 -1
- package/esm/{chunk-RWRFOGCU.js → chunk-QQY3MWML.js} +68 -0
- package/esm/chunk-QSHFISL4.js +51 -0
- package/esm/{chunk-KRSISARC.js → chunk-RG3CLJ6A.js} +1 -1
- package/esm/{chunk-WCTANCLG.js → chunk-ROBEGHM5.js} +1 -1
- package/esm/chunk-RT3U2YWL.js +68 -0
- package/esm/{chunk-BXDUHMWS.js → chunk-S5PYSYVR.js} +3 -4
- package/esm/{chunk-CY5KTINE.js → chunk-S673X52B.js} +1 -1
- package/esm/{chunk-RZBEZ26A.js → chunk-SELOBD66.js} +1 -0
- package/esm/chunk-SGBNQO6N.js +24 -0
- package/esm/chunk-SUYANDFA.js +36 -0
- package/esm/chunk-SXIOMMAK.js +39 -0
- package/esm/{chunk-YLLPYRJH.js → chunk-TCXOYKXN.js} +1 -1
- package/esm/chunk-TDLO3TAD.js +21 -0
- package/esm/chunk-TEDNYYG6.js +30 -0
- package/esm/{chunk-SJVWKNGY.js → chunk-TK6U467D.js} +2 -2
- package/esm/chunk-TXD5OFHG.js +29 -0
- package/esm/{chunk-WEYAL53O.js → chunk-TZ6SF6CO.js} +1 -1
- package/esm/chunk-UTAL5ZWE.js +26 -0
- package/esm/chunk-UTUCP2HS.js +56 -0
- package/esm/chunk-V7PWYMYX.js +34 -0
- package/esm/chunk-VE3ZUJ6K.js +22 -0
- package/esm/chunk-VSSO6Y76.js +32 -0
- package/esm/chunk-VUMACSU5.js +29 -0
- package/esm/{chunk-IL7L3BEL.js → chunk-VXXNERDY.js} +6 -11
- package/esm/{chunk-FLUNRVVG.js → chunk-VZNIINQP.js} +7 -3
- package/esm/{chunk-A2NLRQ55.js → chunk-WCZ6YRFN.js} +1 -1
- package/esm/chunk-WD7HJTRQ.js +40 -0
- package/esm/chunk-WPDNBQYS.js +27 -0
- package/esm/chunk-WXUMV5TD.js +178 -0
- package/esm/{chunk-EEZG4FGY.js → chunk-XB3GY5TL.js} +14 -3
- package/esm/{chunk-6U7FXFJP.js → chunk-XI7N2LKD.js} +13 -28
- package/esm/chunk-XTRGAC3F.js +11 -0
- package/esm/chunk-Y6DIYKCE.js +43 -0
- package/esm/{chunk-NEG5UNM6.js → chunk-YH2NWDFO.js} +35 -23
- package/esm/{chunk-BUB6MDGJ.js → chunk-YORZYBVH.js} +2 -2
- package/esm/{chunk-Y5CFWIGV.js → chunk-YR5JHUOB.js} +13 -6
- package/esm/chunk-YTIXCWZO.js +11 -0
- package/esm/chunk-YX4QMKYJ.js +13 -0
- package/esm/{chunk-EAHIBHMI.js → chunk-ZJUVOARM.js} +46 -26
- package/esm/chunk-ZLZ66ER3.js +58 -0
- package/esm/chunk-ZMEJNCUR.js +41 -0
- package/esm/chunk-ZP2KTH2H.js +27 -0
- package/esm/css/Button.css +5 -0
- package/esm/css/ButtonDropdown.css +5 -0
- package/esm/css/Input-InputIconClear.css +4 -0
- package/esm/css/Mark.css +9 -0
- package/esm/css/NumberInput.css +10 -1
- package/esm/css/ScrollArea.css +116 -0
- package/esm/css/Select-SelectIconClear.css +3 -0
- package/esm/css/Select-SelectOption.css +4 -0
- package/esm/css/Snippet.css +3 -0
- package/esm/css/Spoiler.css +30 -0
- package/esm/index.d.ts +130 -0
- package/esm/index.js +441 -96
- package/esm/styles.css +193 -2
- package/esm/use-all-themes/all-themes-context.d.ts +1 -1
- package/esm/use-body-scroll/index.js +1 -1
- package/esm/use-body-scroll/use-body-scroll.d.ts +1 -1
- package/esm/use-click-away/use-click-away.d.ts +1 -1
- package/esm/use-clipboard/index.js +2 -2
- package/esm/use-collapse/index.d.ts +3 -0
- package/esm/use-collapse/index.js +7 -0
- package/esm/use-collapse/use-collapse.d.ts +12 -0
- package/esm/use-color-scheme/index.d.ts +2 -0
- package/esm/use-color-scheme/index.js +8 -0
- package/esm/use-color-scheme/use-color-scheme.d.ts +2 -0
- package/esm/use-counter/index.d.ts +3 -0
- package/esm/use-counter/index.js +7 -0
- package/esm/use-counter/use-counter.d.ts +12 -0
- package/esm/use-current-state/index.js +1 -1
- package/esm/use-current-state/use-current-state.d.ts +1 -1
- package/esm/use-debounced-callback/index.d.ts +2 -0
- package/esm/use-debounced-callback/index.js +8 -0
- package/esm/use-debounced-callback/use-debounced-callback.d.ts +5 -0
- package/esm/use-debounced-state/index.d.ts +3 -0
- package/esm/use-debounced-state/index.js +7 -0
- package/esm/use-debounced-state/use-debounced-state.d.ts +5 -0
- package/esm/use-debounced-value/index.d.ts +3 -0
- package/esm/use-debounced-value/index.js +7 -0
- package/esm/use-debounced-value/use-debounced-value.d.ts +5 -0
- package/esm/use-did-update/index.d.ts +2 -0
- package/esm/use-did-update/index.js +7 -0
- package/esm/use-did-update/use-did-update.d.ts +3 -0
- package/esm/use-disclosure/index.d.ts +3 -0
- package/esm/use-disclosure/index.js +8 -0
- package/esm/use-disclosure/use-disclosure.d.ts +11 -0
- package/esm/use-document-title/index.d.ts +2 -0
- package/esm/use-document-title/index.js +7 -0
- package/esm/use-document-title/use-document-title.d.ts +2 -0
- package/esm/use-document-visibility/index.d.ts +2 -0
- package/esm/use-document-visibility/index.js +7 -0
- package/esm/use-document-visibility/use-document-visibility.d.ts +2 -0
- package/esm/use-drag/index.d.ts +3 -0
- package/esm/use-drag/index.js +7 -0
- package/esm/use-drag/use-drag.d.ts +12 -0
- package/esm/use-element-size/index.d.ts +3 -0
- package/esm/use-element-size/index.js +8 -0
- package/esm/use-element-size/use-element-size.d.ts +8 -0
- package/esm/use-event-listener/index.d.ts +2 -0
- package/esm/use-event-listener/index.js +8 -0
- package/esm/use-event-listener/use-event-listener.d.ts +3 -0
- package/esm/use-eye-dropper/index.d.ts +2 -0
- package/esm/use-eye-dropper/index.js +7 -0
- package/esm/use-eye-dropper/use-eye-dropper.d.ts +9 -0
- package/esm/use-favicon/index.d.ts +2 -0
- package/esm/use-favicon/index.js +7 -0
- package/esm/use-favicon/use-favicon.d.ts +2 -0
- package/esm/use-fetch/index.d.ts +3 -0
- package/esm/use-fetch/index.js +7 -0
- package/esm/use-fetch/use-fetch.d.ts +12 -0
- package/esm/use-file-dialog/index.d.ts +3 -0
- package/esm/use-file-dialog/index.js +8 -0
- package/esm/use-file-dialog/use-file-dialog.d.ts +13 -0
- package/esm/use-floating-window/index.d.ts +3 -0
- package/esm/use-floating-window/index.js +7 -0
- package/esm/use-floating-window/use-floating-window.d.ts +15 -0
- package/esm/use-focus-return/index.d.ts +3 -0
- package/esm/use-focus-return/index.js +7 -0
- package/esm/use-focus-return/use-focus-return.d.ts +6 -0
- package/esm/use-focus-trap/index.d.ts +2 -0
- package/esm/use-focus-trap/index.js +7 -0
- package/esm/use-focus-trap/use-focus-trap.d.ts +3 -0
- package/esm/use-focus-within/index.d.ts +3 -0
- package/esm/use-focus-within/index.js +8 -0
- package/esm/use-focus-within/use-focus-within.d.ts +11 -0
- package/esm/use-force-update/index.d.ts +2 -0
- package/esm/use-force-update/index.js +7 -0
- package/esm/use-force-update/use-force-update.d.ts +2 -0
- package/esm/use-form/form-context.d.ts +7 -0
- package/esm/use-form/index.d.ts +6 -0
- package/esm/use-form/index.js +23 -0
- package/esm/use-form/use-form.d.ts +84 -0
- package/esm/use-form/validators.d.ts +14 -0
- package/esm/use-fullscreen/index.d.ts +3 -0
- package/esm/use-fullscreen/index.js +7 -0
- package/esm/use-fullscreen/use-fullscreen.d.ts +10 -0
- package/esm/use-hash/index.d.ts +2 -0
- package/esm/use-hash/index.js +7 -0
- package/esm/use-hash/use-hash.d.ts +2 -0
- package/esm/use-headroom/index.d.ts +3 -0
- package/esm/use-headroom/index.js +8 -0
- package/esm/use-headroom/use-headroom.d.ts +8 -0
- package/esm/use-hover/index.d.ts +3 -0
- package/esm/use-hover/index.js +7 -0
- package/esm/use-hover/use-hover.d.ts +7 -0
- package/esm/use-idle/index.d.ts +3 -0
- package/esm/use-idle/index.js +7 -0
- package/esm/use-idle/use-idle.d.ts +6 -0
- package/esm/use-in-viewport/index.d.ts +3 -0
- package/esm/use-in-viewport/index.js +8 -0
- package/esm/use-in-viewport/use-in-viewport.d.ts +6 -0
- package/esm/use-input/index.js +3 -3
- package/esm/use-input/use-input.d.ts +2 -1
- package/esm/use-input-state/index.d.ts +2 -0
- package/esm/use-input-state/index.js +7 -0
- package/esm/use-input-state/use-input-state.d.ts +4 -0
- package/esm/use-intersection/index.d.ts +3 -0
- package/esm/use-intersection/index.js +7 -0
- package/esm/use-intersection/use-intersection.d.ts +6 -0
- package/esm/use-interval/index.d.ts +3 -0
- package/esm/use-interval/index.js +8 -0
- package/esm/use-interval/use-interval.d.ts +11 -0
- package/esm/use-is-first-render/index.d.ts +2 -0
- package/esm/use-is-first-render/index.js +7 -0
- package/esm/use-is-first-render/use-is-first-render.d.ts +2 -0
- package/esm/use-isomorphic-effect/index.d.ts +2 -0
- package/esm/use-isomorphic-effect/index.js +7 -0
- package/esm/use-isomorphic-effect/use-isomorphic-effect.d.ts +3 -0
- package/esm/use-keyboard/codes.d.ts +86 -84
- package/esm/use-keyboard/index.js +1 -1
- package/esm/use-keyboard/use-keyboard.d.ts +1 -1
- package/esm/use-list-state/index.d.ts +3 -0
- package/esm/use-list-state/index.js +7 -0
- package/esm/use-list-state/use-list-state.d.ts +16 -0
- package/esm/use-local-storage/index.d.ts +3 -0
- package/esm/use-local-storage/index.js +8 -0
- package/esm/use-local-storage/use-local-storage.d.ts +6 -0
- package/esm/use-logger/index.d.ts +2 -0
- package/esm/use-logger/index.js +7 -0
- package/esm/use-logger/use-logger.d.ts +2 -0
- package/esm/use-long-press/index.d.ts +3 -0
- package/esm/use-long-press/index.js +8 -0
- package/esm/use-long-press/use-long-press.d.ts +11 -0
- package/esm/use-map/index.d.ts +2 -0
- package/esm/use-map/index.js +7 -0
- package/esm/use-map/use-map.d.ts +2 -0
- package/esm/use-mask/index.d.ts +3 -0
- package/esm/use-mask/index.js +7 -0
- package/esm/use-mask/use-mask.d.ts +8 -0
- package/esm/use-merged-ref/index.d.ts +3 -0
- package/esm/use-merged-ref/index.js +9 -0
- package/esm/use-merged-ref/use-merged-ref.d.ts +5 -0
- package/esm/use-modal/index.js +3 -3
- package/esm/use-modal/use-modal.d.ts +2 -2
- package/esm/use-mounted/index.d.ts +2 -0
- package/esm/use-mounted/index.js +7 -0
- package/esm/use-mounted/use-mounted.d.ts +2 -0
- package/esm/use-mouse/index.d.ts +3 -0
- package/esm/use-mouse/index.js +7 -0
- package/esm/use-mouse/use-mouse.d.ts +8 -0
- package/esm/use-move/index.d.ts +3 -0
- package/esm/use-move/index.js +8 -0
- package/esm/use-move/use-move.d.ts +10 -0
- package/esm/use-mutation-observer/index.d.ts +2 -0
- package/esm/use-mutation-observer/index.js +8 -0
- package/esm/use-mutation-observer/use-mutation-observer.d.ts +3 -0
- package/esm/use-network/index.d.ts +3 -0
- package/esm/use-network/index.js +7 -0
- package/esm/use-network/use-network.d.ts +11 -0
- package/esm/use-orientation/index.d.ts +3 -0
- package/esm/use-orientation/index.js +7 -0
- package/esm/use-orientation/use-orientation.d.ts +6 -0
- package/esm/use-os/index.d.ts +3 -0
- package/esm/use-os/index.js +7 -0
- package/esm/use-os/use-os.d.ts +3 -0
- package/esm/use-page-leave/index.d.ts +2 -0
- package/esm/use-page-leave/index.js +8 -0
- package/esm/use-page-leave/use-page-leave.d.ts +2 -0
- package/esm/use-pagination/index.d.ts +3 -0
- package/esm/use-pagination/index.js +7 -0
- package/esm/use-pagination/use-pagination.d.ts +19 -0
- package/esm/use-previous/index.d.ts +2 -0
- package/esm/use-previous/index.js +8 -0
- package/esm/use-previous/use-previous.d.ts +2 -0
- package/esm/use-queue/index.d.ts +3 -0
- package/esm/use-queue/index.js +7 -0
- package/esm/use-queue/use-queue.d.ts +13 -0
- package/esm/use-radial-move/index.d.ts +3 -0
- package/esm/use-radial-move/index.js +8 -0
- package/esm/use-radial-move/use-radial-move.d.ts +10 -0
- package/esm/use-reduced-motion/index.d.ts +2 -0
- package/esm/use-reduced-motion/index.js +8 -0
- package/esm/use-reduced-motion/use-reduced-motion.d.ts +2 -0
- package/esm/use-resize-observer/index.d.ts +3 -0
- package/esm/use-resize-observer/index.js +7 -0
- package/esm/use-resize-observer/use-resize-observer.d.ts +13 -0
- package/esm/use-roving-index/index.d.ts +3 -0
- package/esm/use-roving-index/index.js +7 -0
- package/esm/use-roving-index/use-roving-index.d.ts +19 -0
- package/esm/use-scale/utils.d.ts +1 -1
- package/esm/use-scale/with-scale.d.ts +1 -1
- package/esm/use-scroll-direction/index.d.ts +2 -0
- package/esm/use-scroll-direction/index.js +7 -0
- package/esm/use-scroll-direction/use-scroll-direction.d.ts +2 -0
- package/esm/use-scroll-into-view/index.d.ts +3 -0
- package/esm/use-scroll-into-view/index.js +7 -0
- package/esm/use-scroll-into-view/use-scroll-into-view.d.ts +13 -0
- package/esm/use-scroll-spy/index.d.ts +3 -0
- package/esm/use-scroll-spy/index.js +7 -0
- package/esm/use-scroll-spy/use-scroll-spy.d.ts +16 -0
- package/esm/use-scroller/index.d.ts +3 -0
- package/esm/use-scroller/index.js +7 -0
- package/esm/use-scroller/use-scroller.d.ts +9 -0
- package/esm/use-selection/index.d.ts +3 -0
- package/esm/use-selection/index.js +7 -0
- package/esm/use-selection/use-selection.d.ts +15 -0
- package/esm/use-set/index.d.ts +2 -0
- package/esm/use-set/index.js +7 -0
- package/esm/use-set/use-set.d.ts +2 -0
- package/esm/use-set-state/index.d.ts +2 -0
- package/esm/use-set-state/index.js +7 -0
- package/esm/use-set-state/use-set-state.d.ts +2 -0
- package/esm/use-shallow-effect/index.d.ts +2 -0
- package/esm/use-shallow-effect/index.js +7 -0
- package/esm/use-shallow-effect/use-shallow-effect.d.ts +3 -0
- package/esm/use-splitter/index.d.ts +3 -0
- package/esm/use-splitter/index.js +7 -0
- package/esm/use-splitter/use-splitter.d.ts +15 -0
- package/esm/use-state-history/index.d.ts +3 -0
- package/esm/use-state-history/index.js +8 -0
- package/esm/use-state-history/use-state-history.d.ts +12 -0
- package/esm/use-tabs/index.js +3 -3
- package/esm/use-tabs/use-tabs.d.ts +1 -1
- package/esm/use-text-selection/index.d.ts +2 -0
- package/esm/use-text-selection/index.js +7 -0
- package/esm/use-text-selection/use-text-selection.d.ts +2 -0
- package/esm/use-theme/theme-context.d.ts +1 -1
- package/esm/use-throttled-callback/index.d.ts +2 -0
- package/esm/use-throttled-callback/index.js +8 -0
- package/esm/use-throttled-callback/use-throttled-callback.d.ts +5 -0
- package/esm/use-throttled-state/index.d.ts +2 -0
- package/esm/use-throttled-state/index.js +9 -0
- package/esm/use-throttled-state/use-throttled-state.d.ts +2 -0
- package/esm/use-throttled-value/index.d.ts +2 -0
- package/esm/use-throttled-value/index.js +7 -0
- package/esm/use-throttled-value/use-throttled-value.d.ts +2 -0
- package/esm/use-timeout/index.d.ts +3 -0
- package/esm/use-timeout/index.js +8 -0
- package/esm/use-timeout/use-timeout.d.ts +9 -0
- package/esm/use-toasts/helpers.d.ts +3 -3
- package/esm/use-toasts/use-toast.d.ts +3 -2
- package/esm/use-toggle/index.d.ts +2 -0
- package/esm/use-toggle/index.js +8 -0
- package/esm/use-toggle/use-toggle.d.ts +2 -0
- package/esm/use-uncontrolled/index.d.ts +3 -0
- package/esm/use-uncontrolled/index.js +7 -0
- package/esm/use-uncontrolled/use-uncontrolled.d.ts +8 -0
- package/esm/use-validated-state/index.d.ts +3 -0
- package/esm/use-validated-state/index.js +7 -0
- package/esm/use-validated-state/use-validated-state.d.ts +7 -0
- package/esm/use-viewport-size/index.d.ts +3 -0
- package/esm/use-viewport-size/index.js +7 -0
- package/esm/use-viewport-size/use-viewport-size.d.ts +6 -0
- package/esm/use-window-event/index.d.ts +2 -0
- package/esm/use-window-event/index.js +8 -0
- package/esm/use-window-event/use-window-event.d.ts +2 -0
- package/esm/use-window-scroll/index.d.ts +3 -0
- package/esm/use-window-scroll/index.js +7 -0
- package/esm/use-window-scroll/use-window-scroll.d.ts +6 -0
- package/esm/utils/activate-on-key.d.ts +2 -0
- package/esm/utils/collections.d.ts +2 -1
- package/esm/utils/layouts.d.ts +1 -1
- package/esm/utils/surface.d.ts +1 -1
- package/esm/utils/use-dialog-focus.d.ts +1 -1
- package/esm/utils/use-dom-observer.d.ts +1 -1
- package/esm/utils/use-drag.d.ts +1 -1
- package/esm/utils/use-latest.d.ts +1 -1
- package/esm/utils/use-match-media.d.ts +2 -0
- package/esm/utils/use-real-shape.d.ts +1 -1
- package/esm/utils/variant-colors.d.ts +3 -1
- package/package.json +9 -12
- package/dist/chunk-F3AL4TQZ.js +0 -186
- package/dist/chunk-GJZT47MP.js +0 -32
- package/esm/chunk-F3AL4TQZ.js +0 -186
- /package/dist/{chunk-4X4ELIMQ.js → chunk-EENBS2NP.js} +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
+
var _chunkUOGCO6CVjs = require('./chunk-UOGCO6CV.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkAXYDJGTNjs = require('./chunk-AXYDJGTN.js');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -80,11 +83,16 @@ var RadioComponent = _react2.default.forwardRef(
|
|
|
80
83
|
disabled = false,
|
|
81
84
|
type = "default",
|
|
82
85
|
value: radioValue,
|
|
86
|
+
error = false,
|
|
87
|
+
errorMessage,
|
|
83
88
|
children,
|
|
84
89
|
...props
|
|
85
90
|
}, ref) => {
|
|
86
91
|
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
87
92
|
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
93
|
+
const generatedId = _react.useId.call(void 0, );
|
|
94
|
+
const errorId = `${props.id || generatedId}-error`;
|
|
95
|
+
const describedBy = [props["aria-describedby"], error && errorMessage ? errorId : void 0].filter(Boolean).join(" ") || void 0;
|
|
88
96
|
const [selfChecked, setSelfChecked] = _react.useState.call(void 0, !!checked);
|
|
89
97
|
const {
|
|
90
98
|
value: groupValue,
|
|
@@ -112,8 +120,8 @@ var RadioComponent = _react2.default.forwardRef(
|
|
|
112
120
|
setSelfChecked(groupValue === radioValue);
|
|
113
121
|
}, [inGroup, groupValue, radioValue]);
|
|
114
122
|
const color = _react.useMemo.call(void 0,
|
|
115
|
-
() => getColor(theme.palette, type),
|
|
116
|
-
[theme.palette, type]
|
|
123
|
+
() => getColor(theme.palette, error ? "error" : type),
|
|
124
|
+
[theme.palette, type, error]
|
|
117
125
|
);
|
|
118
126
|
const isDisabled = _react.useMemo.call(void 0,
|
|
119
127
|
() => disabled || disabledAll,
|
|
@@ -152,39 +160,44 @@ var RadioComponent = _react2.default.forwardRef(
|
|
|
152
160
|
"--radio-hover-border": isDisabled ? void 0 : "var(--radio-color)",
|
|
153
161
|
"--radio-bg": isDisabled ? theme.palette.accents_1 : theme.palette.background
|
|
154
162
|
};
|
|
155
|
-
return /* @__PURE__ */ _jsxruntime.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
/* @__PURE__ */ _jsxruntime.
|
|
162
|
-
"input",
|
|
163
|
-
{
|
|
164
|
-
ref,
|
|
165
|
-
type: "radio",
|
|
166
|
-
value: radioValue,
|
|
167
|
-
checked: selfChecked,
|
|
168
|
-
onChange: changeHandler,
|
|
169
|
-
...props,
|
|
170
|
-
className: Radio_module_css_default.input
|
|
171
|
-
}
|
|
172
|
-
),
|
|
173
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: Radio_module_css_default.name, children: [
|
|
163
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
+
"div",
|
|
166
|
+
{
|
|
167
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, "radio", Radio_module_css_default.radio, className),
|
|
168
|
+
style: radioStyle,
|
|
169
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "label", { className: Radio_module_css_default.label, children: [
|
|
174
170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
-
"
|
|
171
|
+
"input",
|
|
176
172
|
{
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
ref,
|
|
174
|
+
type: "radio",
|
|
175
|
+
value: radioValue,
|
|
176
|
+
checked: selfChecked,
|
|
177
|
+
onChange: changeHandler,
|
|
178
|
+
...props,
|
|
179
|
+
"aria-invalid": error || void 0,
|
|
180
|
+
"aria-describedby": describedBy,
|
|
181
|
+
className: Radio_module_css_default.input
|
|
180
182
|
}
|
|
181
183
|
),
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: Radio_module_css_default.name, children: [
|
|
185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
"span",
|
|
187
|
+
{
|
|
188
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, Radio_module_css_default.point, {
|
|
189
|
+
[Radio_module_css_default.active]: selfChecked
|
|
190
|
+
})
|
|
191
|
+
}
|
|
192
|
+
),
|
|
193
|
+
withoutDescChildren
|
|
194
|
+
] }),
|
|
195
|
+
DescChildren && DescChildren
|
|
196
|
+
] })
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUOGCO6CVjs.InputBlockLabel_default, { error, id: errorId, children: errorMessage })
|
|
200
|
+
] });
|
|
188
201
|
}
|
|
189
202
|
);
|
|
190
203
|
RadioComponent.displayName = "BolioUIRadio";
|
|
@@ -207,10 +220,13 @@ function RadioGroupComponent({
|
|
|
207
220
|
className = "",
|
|
208
221
|
initialValue,
|
|
209
222
|
useRow = false,
|
|
223
|
+
error = false,
|
|
224
|
+
errorMessage,
|
|
210
225
|
style,
|
|
211
226
|
...props
|
|
212
227
|
}) {
|
|
213
228
|
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
229
|
+
const errorId = `${_react.useId.call(void 0, )}-error`;
|
|
214
230
|
const [selfVal, setSelfVal] = _react.useState.call(void 0,
|
|
215
231
|
initialValue
|
|
216
232
|
);
|
|
@@ -244,15 +260,20 @@ function RadioGroupComponent({
|
|
|
244
260
|
"--radio-group-margin-left": useRow ? SCALES.font(1) : 0,
|
|
245
261
|
...style
|
|
246
262
|
};
|
|
247
|
-
return /* @__PURE__ */ _jsxruntime.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
263
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, RadioContext.Provider, { value: providerValue, children: [
|
|
264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
+
"div",
|
|
266
|
+
{
|
|
267
|
+
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, RadioGroup_module_css_default.radioGroup, className),
|
|
268
|
+
"aria-invalid": error || void 0,
|
|
269
|
+
"aria-describedby": error && errorMessage ? errorId : void 0,
|
|
270
|
+
...props,
|
|
271
|
+
style: groupStyle,
|
|
272
|
+
children
|
|
273
|
+
}
|
|
274
|
+
),
|
|
275
|
+
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUOGCO6CVjs.InputBlockLabel_default, { error, id: errorId, children: errorMessage })
|
|
276
|
+
] });
|
|
256
277
|
}
|
|
257
278
|
RadioGroupComponent.displayName = "BolioUIRadioGroup";
|
|
258
279
|
var RadioGroup = _chunkMAICNLTYjs.with_scale_default.call(void 0, RadioGroupComponent);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// core/use-focus-trap/use-focus-trap.ts
|
|
2
|
+
var _react = require('react');
|
|
3
|
+
var FOCUSABLE = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
4
|
+
var useFocusTrap = (active = true) => {
|
|
5
|
+
const ref = _react.useRef.call(void 0, null);
|
|
6
|
+
_react.useEffect.call(void 0, () => {
|
|
7
|
+
var _a;
|
|
8
|
+
const node = ref.current;
|
|
9
|
+
if (!active || !node) return;
|
|
10
|
+
const items = () => Array.from(node.querySelectorAll(FOCUSABLE));
|
|
11
|
+
(_a = items()[0]) == null ? void 0 : _a.focus();
|
|
12
|
+
const onKeyDown = (event) => {
|
|
13
|
+
if (event.key !== "Tab") return;
|
|
14
|
+
const list = items();
|
|
15
|
+
if (!list.length) return;
|
|
16
|
+
const first = list[0];
|
|
17
|
+
const last = list[list.length - 1];
|
|
18
|
+
if (event.shiftKey && document.activeElement === first) {
|
|
19
|
+
event.preventDefault();
|
|
20
|
+
last.focus();
|
|
21
|
+
} else if (!event.shiftKey && document.activeElement === last) {
|
|
22
|
+
event.preventDefault();
|
|
23
|
+
first.focus();
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
node.addEventListener("keydown", onKeyDown);
|
|
27
|
+
return () => node.removeEventListener("keydown", onKeyDown);
|
|
28
|
+
}, [active]);
|
|
29
|
+
return ref;
|
|
30
|
+
};
|
|
31
|
+
var use_focus_trap_default = useFocusTrap;
|
|
32
|
+
|
|
33
|
+
// core/use-focus-trap/index.ts
|
|
34
|
+
var use_focus_trap_default2 = use_focus_trap_default;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
exports.use_focus_trap_default = use_focus_trap_default2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQCPCIVDIjs = require('./chunk-QCPCIVDI.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk5KUROAEPjs = require('./chunk-5KUROAEP.js');
|
|
@@ -38,7 +38,7 @@ var ImageZoom = _react2.default.forwardRef(
|
|
|
38
38
|
className: _chunk5KUROAEPjs.use_classes_default.call(void 0, ImageZoom_module_css_default.trigger, className),
|
|
39
39
|
"aria-haspopup": "dialog",
|
|
40
40
|
onClick: () => setOpen(true),
|
|
41
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
41
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCPCIVDIjs.Image_default, { src, alt, ...imageProps })
|
|
42
42
|
}
|
|
43
43
|
),
|
|
44
44
|
open && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// core/use-logger/use-logger.ts
|
|
2
|
+
var _react = require('react');
|
|
3
|
+
var useLogger = (componentName, props) => {
|
|
4
|
+
const mounted = _react.useRef.call(void 0, false);
|
|
5
|
+
const latest = _react.useRef.call(void 0, props);
|
|
6
|
+
latest.current = props;
|
|
7
|
+
_react.useEffect.call(void 0, () => {
|
|
8
|
+
console.log(`${componentName} mounted`, ...latest.current);
|
|
9
|
+
return () => {
|
|
10
|
+
console.log(`${componentName} unmounted`);
|
|
11
|
+
};
|
|
12
|
+
}, [componentName]);
|
|
13
|
+
_react.useEffect.call(void 0, () => {
|
|
14
|
+
if (mounted.current) {
|
|
15
|
+
console.log(`${componentName} updated`, ...props);
|
|
16
|
+
}
|
|
17
|
+
mounted.current = true;
|
|
18
|
+
}, props);
|
|
19
|
+
};
|
|
20
|
+
var use_logger_default = useLogger;
|
|
21
|
+
|
|
22
|
+
// core/use-logger/index.ts
|
|
23
|
+
var use_logger_default2 = use_logger_default;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.use_logger_default = use_logger_default2;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkE4LPRAZ6js = require('./chunk-E4LPRAZ6.js');
|
|
4
4
|
|
|
5
5
|
// core/use-modal/use-modal.ts
|
|
6
6
|
var useModal = (initialVisible = false) => {
|
|
7
|
-
const [visible, setVisible, currentRef] =
|
|
7
|
+
const [visible, setVisible, currentRef] = _chunkE4LPRAZ6js.use_current_state_default.call(void 0, initialVisible);
|
|
8
8
|
return {
|
|
9
9
|
visible,
|
|
10
10
|
setVisible,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// core/use-hash/use-hash.ts
|
|
2
|
+
var _react = require('react');
|
|
3
|
+
var useHash = () => {
|
|
4
|
+
const [hash, setHashState] = _react.useState.call(void 0, "");
|
|
5
|
+
_react.useEffect.call(void 0, () => {
|
|
6
|
+
const update = () => setHashState(window.location.hash);
|
|
7
|
+
update();
|
|
8
|
+
window.addEventListener("hashchange", update);
|
|
9
|
+
return () => window.removeEventListener("hashchange", update);
|
|
10
|
+
}, []);
|
|
11
|
+
const setHash = _react.useCallback.call(void 0, (value) => {
|
|
12
|
+
window.location.hash = value;
|
|
13
|
+
}, []);
|
|
14
|
+
return [hash, setHash];
|
|
15
|
+
};
|
|
16
|
+
var use_hash_default = useHash;
|
|
17
|
+
|
|
18
|
+
// core/use-hash/index.ts
|
|
19
|
+
var use_hash_default2 = use_hash_default;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.use_hash_default = use_hash_default2;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQCPCIVDIjs = require('./chunk-QCPCIVDI.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
var _chunkYTIXCWZOjs = require('./chunk-YTIXCWZO.js');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkQ4FDY7EJjs = require('./chunk-Q4FDY7EJ.js');
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
|
|
@@ -25,19 +29,23 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
25
29
|
|
|
26
30
|
// core/Card/styles.ts
|
|
27
31
|
var getStyles = (type, palette, { isShadow, filled, ghost, subtle } = {}) => {
|
|
28
|
-
if (
|
|
32
|
+
if (_chunkQ4FDY7EJjs.isSemanticColorType.call(void 0, type)) {
|
|
29
33
|
if (subtle) {
|
|
30
|
-
const { bg, border, color } =
|
|
34
|
+
const { bg, border, color } = _chunkQ4FDY7EJjs.getVariantColors.call(void 0, palette, type, "subtle");
|
|
31
35
|
return { color, bgColor: bg, borderColor: border };
|
|
32
36
|
}
|
|
33
37
|
if (ghost) {
|
|
34
|
-
const { bg, border, color } =
|
|
38
|
+
const { bg, border, color } = _chunkQ4FDY7EJjs.getVariantColors.call(void 0, palette, type, "outline");
|
|
35
39
|
return { color, bgColor: bg, borderColor: border };
|
|
36
40
|
}
|
|
37
41
|
if (filled) {
|
|
38
|
-
const { bg, border, color } =
|
|
42
|
+
const { bg, border, color } = _chunkQ4FDY7EJjs.getVariantColors.call(void 0, palette, type, "filled");
|
|
39
43
|
return { color, bgColor: bg, borderColor: border };
|
|
40
44
|
}
|
|
45
|
+
if (_chunkQ4FDY7EJjs.isDarkPalette.call(void 0, palette)) {
|
|
46
|
+
const { bg, color } = _chunkQ4FDY7EJjs.getVariantColors.call(void 0, palette, type, "light");
|
|
47
|
+
return { color, bgColor: bg, borderColor: "transparent" };
|
|
48
|
+
}
|
|
41
49
|
}
|
|
42
50
|
const colors = {
|
|
43
51
|
default: {
|
|
@@ -212,7 +220,7 @@ var CardComponent = _react2.default.forwardRef(
|
|
|
212
220
|
);
|
|
213
221
|
const [withoutImageChildren, imageChildren] = _chunkUX2B3G6Ujs.pickChild.call(void 0,
|
|
214
222
|
withoutFooterChildren,
|
|
215
|
-
|
|
223
|
+
_chunkQCPCIVDIjs.Image_default
|
|
216
224
|
);
|
|
217
225
|
const hasContent = _chunkUX2B3G6Ujs.hasChild.call(void 0, withoutImageChildren, CardContent_default);
|
|
218
226
|
const cardStyle = {
|
|
@@ -243,6 +251,7 @@ var CardComponent = _react2.default.forwardRef(
|
|
|
243
251
|
className
|
|
244
252
|
),
|
|
245
253
|
tabIndex: interactive ? 0 : void 0,
|
|
254
|
+
onKeyDown: interactive ? _chunkYTIXCWZOjs.activateOnKey : void 0,
|
|
246
255
|
onMouseMove: (event) => {
|
|
247
256
|
if (spotlight) {
|
|
248
257
|
const rect = event.currentTarget.getBoundingClientRect();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCCKWTHUTjs = require('./chunk-CCKWTHUT.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkEUYSKHRSjs = require('./chunk-EUYSKHRS.js');
|
|
@@ -58,7 +58,7 @@ var MentionComponent = _react2.default.forwardRef(
|
|
|
58
58
|
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
59
59
|
const surface = _chunkEUYSKHRSjs.getSurface.call(void 0, theme);
|
|
60
60
|
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
61
|
-
const colors =
|
|
61
|
+
const colors = _chunkCCKWTHUTjs.getColors.call(void 0, theme.palette, type, disabled, {});
|
|
62
62
|
const baseId = _react.useId.call(void 0, );
|
|
63
63
|
const listId = `${baseId}-list`;
|
|
64
64
|
const optionId = (index) => `${baseId}-option-${index}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQ4FDY7EJjs = require('./chunk-Q4FDY7EJ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -26,9 +26,9 @@ var getStatusColor = (type, {
|
|
|
26
26
|
light,
|
|
27
27
|
subtle
|
|
28
28
|
}, theme) => {
|
|
29
|
-
if (
|
|
29
|
+
if (_chunkQ4FDY7EJjs.isSemanticColorType.call(void 0, type)) {
|
|
30
30
|
const variant = subtle ? "subtle" : light ? "light" : filled ? "filled" : "outline";
|
|
31
|
-
const { bg, border, color } =
|
|
31
|
+
const { bg, border, color } = _chunkQ4FDY7EJjs.getVariantColors.call(void 0, theme.palette, type, variant);
|
|
32
32
|
return { color, borderColor: border, bgColor: bg };
|
|
33
33
|
}
|
|
34
34
|
const neutral = theme.palette.accents_6;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
|
|
3
|
+
var _chunkSELOBD66js = require('./chunk-SELOBD66.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkMAICNLTYjs = require('./chunk-MAICNLTY.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkV5I4ORQQjs = require('./chunk-V5I4ORQQ.js');
|
|
11
|
+
|
|
12
|
+
// core/Mark/Mark.tsx
|
|
13
|
+
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
14
|
+
|
|
15
|
+
// css-module-source:/Users/brunnoandrade/Desktop/BolioUI/bolio-ui/core/Mark/Mark.module.css.bolio-css-module-source
|
|
16
|
+
var Mark_module_css_default = { "mark": "Mark-module_mark__MnjwZ" };
|
|
17
|
+
|
|
18
|
+
// core/Mark/Mark.tsx
|
|
19
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
20
|
+
var escapeRegExp = (term) => term.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
21
|
+
var MarkComponent = _react2.default.forwardRef(
|
|
22
|
+
({ children = "", highlight = "", className = "", style, ...props }, ref) => {
|
|
23
|
+
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
24
|
+
const { SCALES } = _chunkMAICNLTYjs.use_scale_default.call(void 0, );
|
|
25
|
+
const parts = _react.useMemo.call(void 0, () => {
|
|
26
|
+
const terms = [].concat(highlight).filter(Boolean);
|
|
27
|
+
if (!terms.length) return [children];
|
|
28
|
+
const pattern = terms.sort((a, b) => b.length - a.length).map(escapeRegExp).join("|");
|
|
29
|
+
return children.split(new RegExp(`(${pattern})`, "i"));
|
|
30
|
+
}, [children, highlight]);
|
|
31
|
+
const markStyle = {
|
|
32
|
+
fontSize: SCALES.font(1),
|
|
33
|
+
margin: `${SCALES.mt(0)} ${SCALES.mr(0)} ${SCALES.mb(0)} ${SCALES.ml(0)}`,
|
|
34
|
+
"--mark-bg": _chunkSELOBD66js.addColorAlpha.call(void 0, theme.palette.warning, 0.4),
|
|
35
|
+
...style
|
|
36
|
+
};
|
|
37
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref, className, ...props, style: markStyle, children: parts.map(
|
|
38
|
+
(part, index) => index % 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "mark", { className: Mark_module_css_default.mark, children: part }, index) : part
|
|
39
|
+
) });
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
MarkComponent.displayName = "BolioUIMark";
|
|
43
|
+
var Mark = _chunkMAICNLTYjs.with_scale_default.call(void 0, MarkComponent);
|
|
44
|
+
var Mark_default = Mark;
|
|
45
|
+
|
|
46
|
+
// core/Mark/index.ts
|
|
47
|
+
var Mark_default2 = Mark_default;
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
exports.Mark_default = Mark_default2;
|
|
@@ -8,19 +8,19 @@ var _chunk5HRVN7L7js = require('./chunk-5HRVN7L7.js');
|
|
|
8
8
|
var _chunkA3BIV2QMjs = require('./chunk-A3BIV2QM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkE4LPRAZ6js = require('./chunk-E4LPRAZ6.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkLDTDMDE6js = require('./chunk-LDTDMDE6.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkS5PYSYVRjs = require('./chunk-S5PYSYVR.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkZRORQ2WHjs = require('./chunk-ZRORQ2WH.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkQ2K4VARRjs = require('./chunk-Q2K4VARR.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkEUYSKHRSjs = require('./chunk-EUYSKHRS.js');
|
|
@@ -79,7 +79,7 @@ var makeToastActions = (actions, cancelHandle) => {
|
|
|
79
79
|
};
|
|
80
80
|
if (!actions || !actions.length) return null;
|
|
81
81
|
return actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
82
|
-
|
|
82
|
+
_chunkQ2K4VARRjs.Button_default,
|
|
83
83
|
{
|
|
84
84
|
auto: true,
|
|
85
85
|
scale: 1 / 3,
|
|
@@ -186,8 +186,8 @@ var toast_container_module_css_default = { "toasts": "toast-container-module_toa
|
|
|
186
186
|
|
|
187
187
|
var ToastContainer = () => {
|
|
188
188
|
const theme = _chunkV5I4ORQQjs.use_theme_default.call(void 0, );
|
|
189
|
-
const portal =
|
|
190
|
-
const [, setHovering, hoveringRef] =
|
|
189
|
+
const portal = _chunkS5PYSYVRjs.use_portal_default.call(void 0, "toast");
|
|
190
|
+
const [, setHovering, hoveringRef] = _chunkE4LPRAZ6js.use_current_state_default.call(void 0, false);
|
|
191
191
|
const { toasts, updateToasts, toastLayout, lastUpdateToastId } = _chunkA3BIV2QMjs.useBolioUIContext.call(void 0, );
|
|
192
192
|
const memoizedLayout = _react.useMemo.call(void 0, () => toastLayout, [toastLayout]);
|
|
193
193
|
const toastElements = _react.useMemo.call(void 0,
|
|
@@ -295,8 +295,8 @@ var BolioUIProvider = ({
|
|
|
295
295
|
children
|
|
296
296
|
}) => {
|
|
297
297
|
const [lastUpdateToastId, setLastUpdateToastId] = _react.useState.call(void 0, null);
|
|
298
|
-
const [toasts, setToasts, toastsRef] =
|
|
299
|
-
const [toastLayout, setToastLayout, toastLayoutRef] =
|
|
298
|
+
const [toasts, setToasts, toastsRef] = _chunkE4LPRAZ6js.use_current_state_default.call(void 0, []);
|
|
299
|
+
const [toastLayout, setToastLayout, toastLayoutRef] = _chunkE4LPRAZ6js.use_current_state_default.call(void 0, _chunkA3BIV2QMjs.defaultToastLayout);
|
|
300
300
|
const updateToasts = _react.useCallback.call(void 0,
|
|
301
301
|
(fn) => {
|
|
302
302
|
const nextToasts = fn(toastsRef.current);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKBRWFODCjs = require('./chunk-KBRWFODC.js');
|
|
4
4
|
|
|
5
5
|
// core/Note/index.ts
|
|
6
|
-
var Note_default2 =
|
|
6
|
+
var Note_default2 = _chunkKBRWFODCjs.Note_default;
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQ4FDY7EJjs = require('./chunk-Q4FDY7EJ.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -25,9 +25,9 @@ var Badge_module_css_default = { "badge": "Badge-module_badge__QIF6A", "dot": "B
|
|
|
25
25
|
// core/Badge/Badge.tsx
|
|
26
26
|
var _jsxruntime = require('react/jsx-runtime');
|
|
27
27
|
var getColors = (type, palette, { ghost, light, subtle }) => {
|
|
28
|
-
if (
|
|
28
|
+
if (_chunkQ4FDY7EJjs.isSemanticColorType.call(void 0, type)) {
|
|
29
29
|
const variant = subtle ? "subtle" : light ? "light" : ghost ? "outline" : "filled";
|
|
30
|
-
return
|
|
30
|
+
return _chunkQ4FDY7EJjs.getVariantColors.call(void 0, palette, type, variant);
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
bg: palette.accents_2,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkC3PVEUSCjs = require('./chunk-C3PVEUSC.js');
|
|
4
|
+
|
|
5
|
+
// core/CopyButton/CopyButton.tsx
|
|
6
|
+
var _react = require('react');
|
|
7
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
8
|
+
var CopyButton = ({
|
|
9
|
+
value,
|
|
10
|
+
timeout = 1e3,
|
|
11
|
+
children
|
|
12
|
+
}) => {
|
|
13
|
+
const { copy: copyText } = _chunkC3PVEUSCjs.use_clipboard_default.call(void 0, );
|
|
14
|
+
const [copied, setCopied] = _react.useState.call(void 0, false);
|
|
15
|
+
const timer = _react.useRef.call(void 0, void 0);
|
|
16
|
+
_react.useEffect.call(void 0, () => () => clearTimeout(timer.current), []);
|
|
17
|
+
const copy = _react.useCallback.call(void 0, () => {
|
|
18
|
+
copyText(value);
|
|
19
|
+
setCopied(true);
|
|
20
|
+
clearTimeout(timer.current);
|
|
21
|
+
timer.current = setTimeout(() => setCopied(false), timeout);
|
|
22
|
+
}, [copyText, value, timeout]);
|
|
23
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: children({ copied, copy }) });
|
|
24
|
+
};
|
|
25
|
+
CopyButton.displayName = "BolioUICopyButton";
|
|
26
|
+
var CopyButton_default = CopyButton;
|
|
27
|
+
|
|
28
|
+
// core/CopyButton/index.ts
|
|
29
|
+
var CopyButton_default2 = CopyButton_default;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
exports.CopyButton_default = CopyButton_default2;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkZRORQ2WHjs = require('./chunk-ZRORQ2WH.js');
|
|
4
|
+
|
|
5
|
+
// core/use-focus-within/use-focus-within.ts
|
|
6
|
+
var _react = require('react');
|
|
7
|
+
var useFocusWithin = (options = {}) => {
|
|
8
|
+
const ref = _react.useRef.call(void 0, null);
|
|
9
|
+
const [focused, setFocused] = _react.useState.call(void 0, false);
|
|
10
|
+
const latest = _chunkZRORQ2WHjs.use_latest_default.call(void 0, options);
|
|
11
|
+
_react.useEffect.call(void 0, () => {
|
|
12
|
+
const node = ref.current;
|
|
13
|
+
if (!node) return;
|
|
14
|
+
const focusin = (event) => {
|
|
15
|
+
var _a, _b;
|
|
16
|
+
setFocused(true);
|
|
17
|
+
(_b = (_a = latest.current).onFocus) == null ? void 0 : _b.call(_a, event);
|
|
18
|
+
};
|
|
19
|
+
const focusout = (event) => {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
if (node.contains(event.relatedTarget)) return;
|
|
22
|
+
setFocused(false);
|
|
23
|
+
(_b = (_a = latest.current).onBlur) == null ? void 0 : _b.call(_a, event);
|
|
24
|
+
};
|
|
25
|
+
node.addEventListener("focusin", focusin);
|
|
26
|
+
node.addEventListener("focusout", focusout);
|
|
27
|
+
return () => {
|
|
28
|
+
node.removeEventListener("focusin", focusin);
|
|
29
|
+
node.removeEventListener("focusout", focusout);
|
|
30
|
+
};
|
|
31
|
+
}, [latest]);
|
|
32
|
+
return { ref, focused };
|
|
33
|
+
};
|
|
34
|
+
var use_focus_within_default = useFocusWithin;
|
|
35
|
+
|
|
36
|
+
// core/use-focus-within/index.ts
|
|
37
|
+
var use_focus_within_default2 = use_focus_within_default;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.use_focus_within_default = use_focus_within_default2;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkZRORQ2WHjs = require('./chunk-ZRORQ2WH.js');
|
|
4
|
+
|
|
5
|
+
// core/use-radial-move/use-radial-move.ts
|
|
6
|
+
var _react = require('react');
|
|
7
|
+
var useRadialMove = (onChange, { step = 1, onChangeEnd } = {}) => {
|
|
8
|
+
const ref = _react.useRef.call(void 0, null);
|
|
9
|
+
const [active, setActive] = _react.useState.call(void 0, false);
|
|
10
|
+
const callbacks = _chunkZRORQ2WHjs.use_latest_default.call(void 0, { onChange, onChangeEnd });
|
|
11
|
+
const last = _react.useRef.call(void 0, 0);
|
|
12
|
+
_react.useEffect.call(void 0, () => {
|
|
13
|
+
const node = ref.current;
|
|
14
|
+
if (!node) return;
|
|
15
|
+
const update = (event) => {
|
|
16
|
+
const rect = node.getBoundingClientRect();
|
|
17
|
+
const x = event.clientX - (rect.left + rect.width / 2);
|
|
18
|
+
const y = event.clientY - (rect.top + rect.height / 2);
|
|
19
|
+
const degrees = (Math.atan2(x, -y) * 180 / Math.PI + 360) % 360;
|
|
20
|
+
last.current = Math.round(degrees / step) * step % 360;
|
|
21
|
+
callbacks.current.onChange(last.current);
|
|
22
|
+
};
|
|
23
|
+
const down = (event) => {
|
|
24
|
+
var _a;
|
|
25
|
+
(_a = node.setPointerCapture) == null ? void 0 : _a.call(node, event.pointerId);
|
|
26
|
+
setActive(true);
|
|
27
|
+
update(event);
|
|
28
|
+
};
|
|
29
|
+
const move = (event) => {
|
|
30
|
+
var _a;
|
|
31
|
+
if ((_a = node.hasPointerCapture) == null ? void 0 : _a.call(node, event.pointerId)) update(event);
|
|
32
|
+
};
|
|
33
|
+
const up = (event) => {
|
|
34
|
+
var _a, _b, _c;
|
|
35
|
+
(_a = node.releasePointerCapture) == null ? void 0 : _a.call(node, event.pointerId);
|
|
36
|
+
setActive(false);
|
|
37
|
+
(_c = (_b = callbacks.current).onChangeEnd) == null ? void 0 : _c.call(_b, last.current);
|
|
38
|
+
};
|
|
39
|
+
node.addEventListener("pointerdown", down);
|
|
40
|
+
node.addEventListener("pointermove", move);
|
|
41
|
+
node.addEventListener("pointerup", up);
|
|
42
|
+
node.addEventListener("pointercancel", up);
|
|
43
|
+
return () => {
|
|
44
|
+
node.removeEventListener("pointerdown", down);
|
|
45
|
+
node.removeEventListener("pointermove", move);
|
|
46
|
+
node.removeEventListener("pointerup", up);
|
|
47
|
+
node.removeEventListener("pointercancel", up);
|
|
48
|
+
};
|
|
49
|
+
}, [step, callbacks]);
|
|
50
|
+
return { ref, active };
|
|
51
|
+
};
|
|
52
|
+
var use_radial_move_default = useRadialMove;
|
|
53
|
+
|
|
54
|
+
// core/use-radial-move/index.ts
|
|
55
|
+
var use_radial_move_default2 = use_radial_move_default;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
exports.use_radial_move_default = use_radial_move_default2;
|