@ariakit/react-core 0.3.14 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +155 -0
- package/cjs/__chunks/2CZCHCJM.cjs +29 -0
- package/cjs/__chunks/{WZ3DRKGP.cjs → 375RXJFL.cjs} +13 -18
- package/cjs/__chunks/{HEEQY4DZ.cjs → 43LZBXXJ.cjs} +5 -5
- package/cjs/__chunks/47V4ED4R.cjs +45 -0
- package/cjs/__chunks/{T4KYZJUY.cjs → 4ITCBJNT.cjs} +8 -9
- package/cjs/__chunks/{KSPMHEYZ.cjs → 4OFNVXGN.cjs} +16 -5
- package/cjs/__chunks/{CGIHR7QS.cjs → 4R64K3WW.cjs} +19 -14
- package/cjs/__chunks/{UZNYSPKP.cjs → 4XFLDG56.cjs} +5 -5
- package/cjs/__chunks/5SRODZ4B.cjs +37 -0
- package/cjs/__chunks/{LY6FB2NE.cjs → 6772TC3F.cjs} +9 -8
- package/cjs/__chunks/7UBOHCYJ.cjs +78 -0
- package/cjs/__chunks/{W5LJEMLB.cjs → AD7LA3CE.cjs} +2 -2
- package/cjs/__chunks/AIKNQVVL.cjs +44 -0
- package/cjs/__chunks/{XW252ITL.cjs → ANKK6ORZ.cjs} +27 -29
- package/cjs/__chunks/BBRNIJWO.cjs +276 -0
- package/cjs/__chunks/BIK2473Z.cjs +37 -0
- package/cjs/__chunks/BTE5YB27.cjs +31 -0
- package/cjs/__chunks/{6LVRCU4J.cjs → C6G4FIVI.cjs} +6 -5
- package/cjs/__chunks/CL7FRJUH.cjs +31 -0
- package/cjs/__chunks/{4VMHQGZH.cjs → DCVHQ3MN.cjs} +2 -3
- package/cjs/__chunks/{BBS4RP44.cjs → EYTZU2B4.cjs} +16 -15
- package/cjs/__chunks/{FROYTN4B.cjs → F6NX4XH2.cjs} +5 -5
- package/cjs/__chunks/FEBBQUM7.cjs +76 -0
- package/cjs/__chunks/{QOD2KY3N.cjs → FG4Y7VYM.cjs} +6 -8
- package/cjs/__chunks/{UVBBMANL.cjs → FNVFJ5AF.cjs} +5 -5
- package/cjs/__chunks/{OZ4FTKEH.cjs → G5BGNCVU.cjs} +2 -3
- package/cjs/__chunks/{7LBZXSLY.cjs → GAHLF3OI.cjs} +5 -5
- package/cjs/__chunks/GMXGH5P5.cjs +45 -0
- package/cjs/__chunks/{NRGWVSB5.cjs → GOS3JJKQ.cjs} +2 -3
- package/cjs/__chunks/{ZWICHV7O.cjs → GRK5YRZL.cjs} +15 -17
- package/cjs/__chunks/{NGEKJJDH.cjs → HD6KOF3G.cjs} +12 -12
- package/cjs/__chunks/HQKST6ZJ.cjs +40 -0
- package/cjs/__chunks/HSQMZHBZ.cjs +25 -0
- package/cjs/__chunks/I5SQKHRZ.cjs +186 -0
- package/cjs/__chunks/{XA62Y24Z.cjs → IFEQZXEG.cjs} +15 -17
- package/cjs/__chunks/IGGDPRFD.cjs +44 -0
- package/cjs/__chunks/{NNINKJTT.cjs → J3NZDY4L.cjs} +22 -18
- package/cjs/__chunks/{IPYAEPOT.cjs → JAG4YGQZ.cjs} +16 -13
- package/cjs/__chunks/JJH3U4MG.cjs +527 -0
- package/cjs/__chunks/JOJAOQVQ.cjs +27 -0
- package/cjs/__chunks/KKTRLNQK.cjs +40 -0
- package/cjs/__chunks/{OUEE5HOS.cjs → LM5EDRV3.cjs} +15 -19
- package/cjs/__chunks/{AZV52Y77.cjs → LTCHZ5L3.cjs} +9 -11
- package/cjs/__chunks/M327EENO.cjs +27 -0
- package/cjs/__chunks/{3W6FH6JK.cjs → M5PQIWTW.cjs} +5 -5
- package/cjs/__chunks/M7WN4XJH.cjs +52 -0
- package/cjs/__chunks/NWGQLRRK.cjs +170 -0
- package/cjs/__chunks/O2WTAUCQ.cjs +43 -0
- package/cjs/__chunks/{3QW6ELTG.cjs → O45NLQRZ.cjs} +8 -10
- package/cjs/__chunks/{3WCBE6SU.cjs → OBT2YMBC.cjs} +6 -6
- package/cjs/__chunks/OEWIM6B2.cjs +25 -0
- package/cjs/__chunks/{63UPRTFZ.cjs → OIGGI6DI.cjs} +2 -2
- package/cjs/__chunks/{F2A2ZQDB.cjs → OLPMMKKO.cjs} +5 -5
- package/cjs/__chunks/{CFKRWKZR.cjs → OUHSDH5B.cjs} +6 -4
- package/cjs/__chunks/{QCG6J6X5.cjs → PIZ222UU.cjs} +12 -16
- package/cjs/__chunks/PQ4VU6KG.cjs +37 -0
- package/cjs/__chunks/{N3XK7EAH.cjs → PTCYSU6G.cjs} +15 -14
- package/cjs/__chunks/{DTEFSZZZ.cjs → PVRCH7FU.cjs} +10 -12
- package/cjs/__chunks/{RNZNGEL4.cjs → Q67LZMDT.cjs} +7 -54
- package/cjs/__chunks/{BZTDJIVT.cjs → Q6CVYJBO.cjs} +2 -2
- package/cjs/__chunks/{LFHNPG2L.cjs → QCQVRINH.cjs} +10 -12
- package/cjs/__chunks/{JAQJG42R.cjs → QJZAESAR.cjs} +1 -1
- package/cjs/__chunks/{RNGIWUQW.cjs → QUSHM3AR.cjs} +11 -13
- package/cjs/__chunks/{I65V32V2.cjs → R3OO4M3N.cjs} +5 -5
- package/cjs/__chunks/{GJX4AG2L.cjs → RYQJ4G5H.cjs} +10 -12
- package/cjs/__chunks/{LAUATD5O.cjs → SFDUOV6F.cjs} +15 -12
- package/cjs/__chunks/{2WCJJQSK.cjs → STYNL4LL.cjs} +6 -6
- package/cjs/__chunks/{H6OLBVHA.cjs → T5YJMXLP.cjs} +11 -13
- package/cjs/__chunks/THCBJSSM.cjs +204 -0
- package/cjs/__chunks/{M5JJ43AT.cjs → V7ENWBON.cjs} +5 -5
- package/cjs/__chunks/{LYIGAIJF.cjs → VNRUW2L6.cjs} +5 -5
- package/cjs/__chunks/{IO6J4PAN.cjs → VYKATRVC.cjs} +23 -21
- package/cjs/__chunks/{TGTVGYEZ.cjs → W6FESCVU.cjs} +44 -50
- package/cjs/__chunks/WH5VAOIH.cjs +64 -0
- package/cjs/__chunks/{I2KHXDVL.cjs → X3FFBMDH.cjs} +14 -16
- package/cjs/__chunks/{7ZVTEFD7.cjs → X3YXQESW.cjs} +10 -12
- package/cjs/__chunks/XAEBGC7D.cjs +51 -0
- package/cjs/__chunks/{NONPPWSF.cjs → XPNDTO4N.cjs} +11 -6
- package/cjs/__chunks/{S6UU7NA4.cjs → XRJBC7H7.cjs} +2 -2
- package/cjs/__chunks/{Z3GCTNW4.cjs → XRZ2L7EA.cjs} +41 -36
- package/cjs/__chunks/XSRQB4KO.cjs +131 -0
- package/cjs/__chunks/{R5A2WTWB.cjs → XWCNZ2IP.cjs} +11 -15
- package/cjs/__chunks/{T7WLYFYV.cjs → YDATFQCD.cjs} +2 -2
- package/cjs/__chunks/Z3JYZ4IW.cjs +37 -0
- package/cjs/__chunks/{DAJUUBUI.cjs → Z7QK7V4M.cjs} +11 -13
- package/cjs/button/button.cjs +5 -5
- package/cjs/button/button.d.cts +10 -5
- package/cjs/button/button.d.ts +10 -5
- package/cjs/checkbox/checkbox-check.cjs +3 -3
- package/cjs/checkbox/checkbox-check.d.cts +9 -5
- package/cjs/checkbox/checkbox-check.d.ts +9 -5
- package/cjs/checkbox/checkbox-context.cjs +3 -3
- package/cjs/checkbox/checkbox-provider.cjs +3 -3
- package/cjs/checkbox/checkbox.cjs +6 -6
- package/cjs/checkbox/checkbox.d.cts +11 -8
- package/cjs/checkbox/checkbox.d.ts +11 -8
- package/cjs/collection/collection-context.cjs +3 -3
- package/cjs/collection/collection-item.cjs +4 -4
- package/cjs/collection/collection-item.d.cts +9 -5
- package/cjs/collection/collection-item.d.ts +9 -5
- package/cjs/collection/collection-provider.cjs +3 -3
- package/cjs/collection/collection-renderer.cjs +4 -4
- package/cjs/collection/collection-renderer.d.cts +11 -9
- package/cjs/collection/collection-renderer.d.ts +11 -9
- package/cjs/collection/collection.cjs +11 -12
- package/cjs/collection/collection.d.cts +9 -5
- package/cjs/collection/collection.d.ts +9 -5
- package/cjs/combobox/combobox-cancel.cjs +19 -23
- package/cjs/combobox/combobox-cancel.d.cts +9 -5
- package/cjs/combobox/combobox-cancel.d.ts +9 -5
- package/cjs/combobox/combobox-context.cjs +8 -8
- package/cjs/combobox/combobox-disclosure.cjs +56 -62
- package/cjs/combobox/combobox-disclosure.d.cts +9 -5
- package/cjs/combobox/combobox-disclosure.d.ts +9 -5
- package/cjs/combobox/combobox-group-label.cjs +12 -18
- package/cjs/combobox/combobox-group-label.d.cts +9 -5
- package/cjs/combobox/combobox-group-label.d.ts +9 -5
- package/cjs/combobox/combobox-group.cjs +16 -18
- package/cjs/combobox/combobox-group.d.cts +9 -5
- package/cjs/combobox/combobox-group.d.ts +9 -5
- package/cjs/combobox/combobox-item-check.cjs +20 -26
- package/cjs/combobox/combobox-item-check.d.cts +9 -5
- package/cjs/combobox/combobox-item-check.d.ts +9 -5
- package/cjs/combobox/combobox-item-value.cjs +38 -40
- package/cjs/combobox/combobox-item-value.d.cts +9 -5
- package/cjs/combobox/combobox-item-value.d.ts +9 -5
- package/cjs/combobox/combobox-item.cjs +24 -26
- package/cjs/combobox/combobox-item.d.cts +10 -6
- package/cjs/combobox/combobox-item.d.ts +10 -6
- package/cjs/combobox/combobox-label.cjs +17 -18
- package/cjs/combobox/combobox-label.d.cts +9 -5
- package/cjs/combobox/combobox-label.d.ts +9 -5
- package/cjs/combobox/combobox-list.cjs +10 -12
- package/cjs/combobox/combobox-list.d.cts +9 -6
- package/cjs/combobox/combobox-list.d.ts +9 -6
- package/cjs/combobox/combobox-popover.cjs +31 -33
- package/cjs/combobox/combobox-popover.d.cts +9 -5
- package/cjs/combobox/combobox-popover.d.ts +9 -5
- package/cjs/combobox/combobox-provider.cjs +13 -13
- package/cjs/combobox/combobox-row.cjs +15 -17
- package/cjs/combobox/combobox-row.d.cts +9 -5
- package/cjs/combobox/combobox-row.d.ts +9 -5
- package/cjs/combobox/combobox-separator.cjs +25 -31
- package/cjs/combobox/combobox-separator.d.cts +13 -5
- package/cjs/combobox/combobox-separator.d.ts +13 -5
- package/cjs/combobox/combobox-store.cjs +5 -5
- package/cjs/combobox/combobox-store.d.cts +7 -5
- package/cjs/combobox/combobox-store.d.ts +7 -5
- package/cjs/combobox/combobox.cjs +77 -69
- package/cjs/combobox/combobox.d.cts +50 -15
- package/cjs/combobox/combobox.d.ts +50 -15
- package/cjs/command/command.cjs +4 -4
- package/cjs/command/command.d.cts +9 -5
- package/cjs/command/command.d.ts +9 -5
- package/cjs/composite/composite-container.cjs +5 -5
- package/cjs/composite/composite-container.d.cts +9 -5
- package/cjs/composite/composite-container.d.ts +9 -5
- package/cjs/composite/composite-context.cjs +4 -4
- package/cjs/composite/composite-group-label.cjs +4 -4
- package/cjs/composite/composite-group-label.d.cts +9 -5
- package/cjs/composite/composite-group-label.d.ts +9 -5
- package/cjs/composite/composite-group.cjs +4 -4
- package/cjs/composite/composite-group.d.cts +9 -5
- package/cjs/composite/composite-group.d.ts +9 -5
- package/cjs/composite/composite-hover.cjs +5 -5
- package/cjs/composite/composite-hover.d.cts +10 -6
- package/cjs/composite/composite-hover.d.ts +10 -6
- package/cjs/composite/composite-input.cjs +3 -3
- package/cjs/composite/composite-input.d.cts +9 -5
- package/cjs/composite/composite-input.d.ts +9 -5
- package/cjs/composite/composite-item.cjs +8 -8
- package/cjs/composite/composite-item.d.cts +9 -6
- package/cjs/composite/composite-item.d.ts +9 -6
- package/cjs/composite/composite-overflow-disclosure.cjs +25 -25
- package/cjs/composite/composite-overflow-disclosure.d.cts +9 -5
- package/cjs/composite/composite-overflow-disclosure.d.ts +9 -5
- package/cjs/composite/composite-overflow-store.cjs +4 -4
- package/cjs/composite/composite-overflow-store.d.cts +7 -5
- package/cjs/composite/composite-overflow-store.d.ts +7 -5
- package/cjs/composite/composite-overflow.cjs +58 -72
- package/cjs/composite/composite-overflow.d.cts +9 -5
- package/cjs/composite/composite-overflow.d.ts +9 -5
- package/cjs/composite/composite-provider.cjs +4 -4
- package/cjs/composite/composite-renderer.cjs +6 -6
- package/cjs/composite/composite-renderer.d.cts +9 -5
- package/cjs/composite/composite-renderer.d.ts +9 -5
- package/cjs/composite/composite-row.cjs +5 -5
- package/cjs/composite/composite-row.d.cts +9 -5
- package/cjs/composite/composite-row.d.ts +9 -5
- package/cjs/composite/composite-separator.cjs +6 -6
- package/cjs/composite/composite-separator.d.cts +9 -5
- package/cjs/composite/composite-separator.d.ts +9 -5
- package/cjs/composite/composite-typeahead.cjs +5 -5
- package/cjs/composite/composite-typeahead.d.cts +9 -5
- package/cjs/composite/composite-typeahead.d.ts +9 -5
- package/cjs/composite/composite.cjs +6 -6
- package/cjs/composite/composite.d.cts +9 -6
- package/cjs/composite/composite.d.ts +9 -6
- package/cjs/dialog/dialog-backdrop.cjs +8 -8
- package/cjs/dialog/dialog-backdrop.d.cts +2 -2
- package/cjs/dialog/dialog-backdrop.d.ts +2 -2
- package/cjs/dialog/dialog-context.cjs +4 -4
- package/cjs/dialog/dialog-description.cjs +5 -5
- package/cjs/dialog/dialog-description.d.cts +9 -5
- package/cjs/dialog/dialog-description.d.ts +9 -5
- package/cjs/dialog/dialog-disclosure.cjs +9 -9
- package/cjs/dialog/dialog-disclosure.d.cts +9 -5
- package/cjs/dialog/dialog-disclosure.d.ts +9 -5
- package/cjs/dialog/dialog-dismiss.cjs +8 -8
- package/cjs/dialog/dialog-dismiss.d.cts +9 -5
- package/cjs/dialog/dialog-dismiss.d.ts +9 -5
- package/cjs/dialog/dialog-heading.cjs +6 -6
- package/cjs/dialog/dialog-heading.d.cts +9 -5
- package/cjs/dialog/dialog-heading.d.ts +9 -5
- package/cjs/dialog/dialog-provider.cjs +7 -7
- package/cjs/dialog/dialog-store.cjs +3 -3
- package/cjs/dialog/dialog-store.d.cts +7 -5
- package/cjs/dialog/dialog-store.d.ts +7 -5
- package/cjs/dialog/dialog.cjs +16 -16
- package/cjs/dialog/dialog.d.cts +10 -15
- package/cjs/dialog/dialog.d.ts +10 -15
- package/cjs/dialog/utils/disable-tree.cjs +2 -2
- package/cjs/disclosure/disclosure-content.cjs +5 -5
- package/cjs/disclosure/disclosure-content.d.cts +9 -5
- package/cjs/disclosure/disclosure-content.d.ts +9 -5
- package/cjs/disclosure/disclosure-context.cjs +3 -3
- package/cjs/disclosure/disclosure-provider.cjs +5 -5
- package/cjs/disclosure/disclosure-store.cjs +2 -2
- package/cjs/disclosure/disclosure-store.d.cts +17 -4
- package/cjs/disclosure/disclosure-store.d.ts +17 -4
- package/cjs/disclosure/disclosure.cjs +7 -7
- package/cjs/disclosure/disclosure.d.cts +9 -6
- package/cjs/disclosure/disclosure.d.ts +9 -6
- package/cjs/focus-trap/focus-trap-region.cjs +13 -16
- package/cjs/focus-trap/focus-trap-region.d.cts +9 -5
- package/cjs/focus-trap/focus-trap-region.d.ts +9 -5
- package/cjs/focus-trap/focus-trap.cjs +4 -4
- package/cjs/focus-trap/focus-trap.d.cts +9 -5
- package/cjs/focus-trap/focus-trap.d.ts +9 -5
- package/cjs/focusable/focusable-container.cjs +3 -3
- package/cjs/focusable/focusable-container.d.cts +10 -6
- package/cjs/focusable/focusable-container.d.ts +10 -6
- package/cjs/focusable/focusable.cjs +3 -3
- package/cjs/focusable/focusable.d.cts +13 -10
- package/cjs/focusable/focusable.d.ts +13 -10
- package/cjs/form/form-checkbox.cjs +33 -22
- package/cjs/form/form-checkbox.d.cts +9 -5
- package/cjs/form/form-checkbox.d.ts +9 -5
- package/cjs/form/form-context.cjs +4 -4
- package/cjs/form/form-control.cjs +6 -6
- package/cjs/form/form-control.d.cts +9 -6
- package/cjs/form/form-control.d.ts +9 -6
- package/cjs/form/form-description.cjs +23 -16
- package/cjs/form/form-description.d.cts +9 -5
- package/cjs/form/form-description.d.ts +9 -5
- package/cjs/form/form-error.cjs +25 -16
- package/cjs/form/form-error.d.cts +9 -5
- package/cjs/form/form-error.d.ts +9 -5
- package/cjs/form/form-field.cjs +18 -15
- package/cjs/form/form-field.d.cts +9 -5
- package/cjs/form/form-field.d.ts +9 -5
- package/cjs/form/form-group-label.cjs +10 -14
- package/cjs/form/form-group-label.d.cts +9 -5
- package/cjs/form/form-group-label.d.ts +9 -5
- package/cjs/form/form-group.cjs +4 -4
- package/cjs/form/form-group.d.cts +9 -5
- package/cjs/form/form-group.d.ts +9 -5
- package/cjs/form/form-input.cjs +19 -18
- package/cjs/form/form-input.d.cts +9 -5
- package/cjs/form/form-input.d.ts +9 -5
- package/cjs/form/form-label.cjs +25 -16
- package/cjs/form/form-label.d.cts +9 -5
- package/cjs/form/form-label.d.ts +9 -5
- package/cjs/form/form-provider.cjs +4 -4
- package/cjs/form/form-push.cjs +15 -17
- package/cjs/form/form-push.d.cts +9 -5
- package/cjs/form/form-push.d.ts +9 -5
- package/cjs/form/form-radio-group.cjs +11 -15
- package/cjs/form/form-radio-group.d.cts +9 -5
- package/cjs/form/form-radio-group.d.ts +9 -5
- package/cjs/form/form-radio.cjs +24 -23
- package/cjs/form/form-radio.d.cts +9 -5
- package/cjs/form/form-radio.d.ts +9 -5
- package/cjs/form/form-remove.cjs +24 -16
- package/cjs/form/form-remove.d.cts +9 -5
- package/cjs/form/form-remove.d.ts +9 -5
- package/cjs/form/form-reset.cjs +13 -15
- package/cjs/form/form-reset.d.cts +9 -5
- package/cjs/form/form-reset.d.ts +9 -5
- package/cjs/form/form-submit.cjs +13 -15
- package/cjs/form/form-submit.d.cts +9 -5
- package/cjs/form/form-submit.d.ts +9 -5
- package/cjs/form/form.cjs +117 -121
- package/cjs/form/form.d.cts +9 -5
- package/cjs/form/form.d.ts +9 -5
- package/cjs/group/group-label.cjs +3 -3
- package/cjs/group/group-label.d.cts +10 -5
- package/cjs/group/group-label.d.ts +10 -5
- package/cjs/group/group.cjs +3 -3
- package/cjs/group/group.d.cts +9 -5
- package/cjs/group/group.d.ts +9 -5
- package/cjs/heading/heading-level.d.cts +2 -2
- package/cjs/heading/heading-level.d.ts +2 -2
- package/cjs/heading/heading.cjs +3 -3
- package/cjs/heading/heading.d.cts +9 -5
- package/cjs/heading/heading.d.ts +9 -5
- package/cjs/hovercard/hovercard-anchor.cjs +8 -8
- package/cjs/hovercard/hovercard-anchor.d.cts +9 -6
- package/cjs/hovercard/hovercard-anchor.d.ts +9 -6
- package/cjs/hovercard/hovercard-arrow.cjs +15 -19
- package/cjs/hovercard/hovercard-arrow.d.cts +9 -5
- package/cjs/hovercard/hovercard-arrow.d.ts +9 -5
- package/cjs/hovercard/hovercard-context.cjs +6 -6
- package/cjs/hovercard/hovercard-description.cjs +7 -7
- package/cjs/hovercard/hovercard-description.d.cts +9 -5
- package/cjs/hovercard/hovercard-description.d.ts +9 -5
- package/cjs/hovercard/hovercard-disclosure.cjs +103 -109
- package/cjs/hovercard/hovercard-disclosure.d.cts +9 -5
- package/cjs/hovercard/hovercard-disclosure.d.ts +9 -5
- package/cjs/hovercard/hovercard-dismiss.cjs +12 -12
- package/cjs/hovercard/hovercard-dismiss.d.cts +9 -5
- package/cjs/hovercard/hovercard-dismiss.d.ts +9 -5
- package/cjs/hovercard/hovercard-heading.cjs +8 -8
- package/cjs/hovercard/hovercard-heading.d.cts +9 -5
- package/cjs/hovercard/hovercard-heading.d.ts +9 -5
- package/cjs/hovercard/hovercard-provider.cjs +11 -11
- package/cjs/hovercard/hovercard-store.cjs +5 -5
- package/cjs/hovercard/hovercard-store.d.cts +7 -5
- package/cjs/hovercard/hovercard-store.d.ts +7 -5
- package/cjs/hovercard/hovercard.cjs +20 -20
- package/cjs/hovercard/hovercard.d.cts +9 -5
- package/cjs/hovercard/hovercard.d.ts +9 -5
- package/cjs/menu/menu-arrow.cjs +17 -19
- package/cjs/menu/menu-arrow.d.cts +9 -5
- package/cjs/menu/menu-arrow.d.ts +9 -5
- package/cjs/menu/menu-bar-provider.cjs +15 -6
- package/cjs/menu/menu-bar-store.cjs +9 -0
- package/cjs/menu/menu-bar.cjs +24 -15
- package/cjs/menu/menu-bar.d.cts +9 -5
- package/cjs/menu/menu-bar.d.ts +9 -5
- package/cjs/menu/menu-button-arrow.cjs +19 -23
- package/cjs/menu/menu-button-arrow.d.cts +9 -5
- package/cjs/menu/menu-button-arrow.d.ts +9 -5
- package/cjs/menu/menu-button.cjs +41 -33
- package/cjs/menu/menu-button.d.cts +9 -5
- package/cjs/menu/menu-button.d.ts +9 -5
- package/cjs/menu/menu-context.cjs +10 -10
- package/cjs/menu/menu-description.cjs +14 -18
- package/cjs/menu/menu-description.d.cts +9 -5
- package/cjs/menu/menu-description.d.ts +9 -5
- package/cjs/menu/menu-dismiss.cjs +24 -26
- package/cjs/menu/menu-dismiss.d.cts +9 -5
- package/cjs/menu/menu-dismiss.d.ts +9 -5
- package/cjs/menu/menu-group-label.cjs +12 -14
- package/cjs/menu/menu-group-label.d.cts +9 -5
- package/cjs/menu/menu-group-label.d.ts +9 -5
- package/cjs/menu/menu-group.cjs +12 -12
- package/cjs/menu/menu-group.d.cts +9 -5
- package/cjs/menu/menu-group.d.ts +9 -5
- package/cjs/menu/menu-heading.cjs +16 -16
- package/cjs/menu/menu-heading.d.cts +9 -5
- package/cjs/menu/menu-heading.d.ts +9 -5
- package/cjs/menu/menu-item-check.cjs +17 -19
- package/cjs/menu/menu-item-check.d.cts +9 -5
- package/cjs/menu/menu-item-check.d.ts +9 -5
- package/cjs/menu/menu-item-checkbox.cjs +28 -29
- package/cjs/menu/menu-item-checkbox.d.cts +9 -5
- package/cjs/menu/menu-item-checkbox.d.ts +9 -5
- package/cjs/menu/menu-item-radio.cjs +30 -31
- package/cjs/menu/menu-item-radio.d.cts +9 -5
- package/cjs/menu/menu-item-radio.d.ts +9 -5
- package/cjs/menu/menu-item.cjs +16 -16
- package/cjs/menu/menu-item.d.cts +9 -6
- package/cjs/menu/menu-item.d.ts +9 -6
- package/cjs/menu/menu-list.cjs +15 -15
- package/cjs/menu/menu-list.d.cts +9 -5
- package/cjs/menu/menu-list.d.ts +9 -5
- package/cjs/menu/menu-provider.cjs +17 -17
- package/cjs/menu/menu-separator.cjs +18 -20
- package/cjs/menu/menu-separator.d.cts +9 -5
- package/cjs/menu/menu-separator.d.ts +9 -5
- package/cjs/menu/menu-store.cjs +16 -16
- package/cjs/menu/menu-store.d.cts +6 -4
- package/cjs/menu/menu-store.d.ts +6 -4
- package/cjs/menu/menu.cjs +178 -181
- package/cjs/menu/menu.d.cts +9 -5
- package/cjs/menu/menu.d.ts +9 -5
- package/cjs/menubar/menubar-context.cjs +5 -5
- package/cjs/menubar/menubar-provider.cjs +6 -6
- package/cjs/menubar/menubar.cjs +8 -8
- package/cjs/menubar/menubar.d.cts +9 -5
- package/cjs/menubar/menubar.d.ts +9 -5
- package/cjs/popover/popover-anchor.cjs +6 -6
- package/cjs/popover/popover-anchor.d.cts +9 -5
- package/cjs/popover/popover-anchor.d.ts +9 -5
- package/cjs/popover/popover-arrow.cjs +6 -6
- package/cjs/popover/popover-arrow.d.cts +9 -5
- package/cjs/popover/popover-arrow.d.ts +9 -5
- package/cjs/popover/popover-context.cjs +5 -5
- package/cjs/popover/popover-description.cjs +6 -6
- package/cjs/popover/popover-description.d.cts +9 -5
- package/cjs/popover/popover-description.d.ts +9 -5
- package/cjs/popover/popover-disclosure-arrow.cjs +6 -6
- package/cjs/popover/popover-disclosure-arrow.d.cts +9 -5
- package/cjs/popover/popover-disclosure-arrow.d.ts +9 -5
- package/cjs/popover/popover-disclosure.cjs +12 -12
- package/cjs/popover/popover-disclosure.d.cts +9 -5
- package/cjs/popover/popover-disclosure.d.ts +9 -5
- package/cjs/popover/popover-dismiss.cjs +10 -10
- package/cjs/popover/popover-dismiss.d.cts +9 -5
- package/cjs/popover/popover-dismiss.d.ts +9 -5
- package/cjs/popover/popover-heading.cjs +7 -7
- package/cjs/popover/popover-heading.d.cts +9 -5
- package/cjs/popover/popover-heading.d.ts +9 -5
- package/cjs/popover/popover-provider.cjs +9 -9
- package/cjs/popover/popover-store.cjs +4 -4
- package/cjs/popover/popover-store.d.cts +7 -5
- package/cjs/popover/popover-store.d.ts +7 -5
- package/cjs/popover/popover.cjs +18 -18
- package/cjs/popover/popover.d.cts +8 -6
- package/cjs/popover/popover.d.ts +8 -6
- package/cjs/portal/portal.cjs +5 -5
- package/cjs/portal/portal.d.cts +9 -6
- package/cjs/portal/portal.d.ts +9 -6
- package/cjs/radio/radio-context.cjs +5 -5
- package/cjs/radio/radio-group.cjs +14 -16
- package/cjs/radio/radio-group.d.cts +9 -5
- package/cjs/radio/radio-group.d.ts +9 -5
- package/cjs/radio/radio-provider.cjs +5 -5
- package/cjs/radio/radio.cjs +10 -10
- package/cjs/radio/radio.d.cts +11 -7
- package/cjs/radio/radio.d.ts +11 -7
- package/cjs/role/role.cjs +3 -3
- package/cjs/role/role.d.cts +10 -6
- package/cjs/role/role.d.ts +10 -6
- package/cjs/select/select-arrow.cjs +10 -10
- package/cjs/select/select-arrow.d.cts +9 -5
- package/cjs/select/select-arrow.d.ts +9 -5
- package/cjs/select/select-context.cjs +8 -8
- package/cjs/select/select-group-label.cjs +11 -15
- package/cjs/select/select-group-label.d.cts +9 -5
- package/cjs/select/select-group-label.d.ts +9 -5
- package/cjs/select/select-group.cjs +12 -12
- package/cjs/select/select-group.d.cts +9 -5
- package/cjs/select/select-group.d.ts +9 -5
- package/cjs/select/select-item-check.cjs +17 -21
- package/cjs/select/select-item-check.d.cts +9 -5
- package/cjs/select/select-item-check.d.ts +9 -5
- package/cjs/select/select-item.cjs +27 -26
- package/cjs/select/select-item.d.cts +9 -6
- package/cjs/select/select-item.d.ts +9 -6
- package/cjs/select/select-label.cjs +19 -18
- package/cjs/select/select-label.d.cts +9 -5
- package/cjs/select/select-label.d.ts +9 -5
- package/cjs/select/select-list.cjs +13 -13
- package/cjs/select/select-list.d.cts +9 -6
- package/cjs/select/select-list.d.ts +9 -6
- package/cjs/select/select-popover.cjs +33 -35
- package/cjs/select/select-popover.d.cts +9 -5
- package/cjs/select/select-popover.d.ts +9 -5
- package/cjs/select/select-provider.cjs +14 -14
- package/cjs/select/select-renderer.cjs +15 -14
- package/cjs/select/select-renderer.d.cts +4 -2
- package/cjs/select/select-renderer.d.ts +4 -2
- package/cjs/select/select-row.cjs +15 -17
- package/cjs/select/select-row.d.cts +9 -5
- package/cjs/select/select-row.d.ts +9 -5
- package/cjs/select/select-separator.cjs +18 -22
- package/cjs/select/select-separator.d.cts +12 -5
- package/cjs/select/select-separator.d.ts +12 -5
- package/cjs/select/select-store.cjs +12 -12
- package/cjs/select/select-store.d.cts +6 -4
- package/cjs/select/select-store.d.ts +6 -4
- package/cjs/select/select.cjs +228 -234
- package/cjs/select/select.d.cts +9 -6
- package/cjs/select/select.d.ts +9 -6
- package/cjs/separator/separator.cjs +3 -3
- package/cjs/separator/separator.d.cts +9 -5
- package/cjs/separator/separator.d.ts +9 -5
- package/cjs/tab/tab-context.cjs +5 -5
- package/cjs/tab/tab-list.cjs +34 -34
- package/cjs/tab/tab-list.d.cts +9 -5
- package/cjs/tab/tab-list.d.ts +9 -5
- package/cjs/tab/tab-panel.cjs +30 -24
- package/cjs/tab/tab-panel.d.cts +9 -5
- package/cjs/tab/tab-panel.d.ts +9 -5
- package/cjs/tab/tab-provider.cjs +5 -5
- package/cjs/tab/tab.cjs +74 -75
- package/cjs/tab/tab.d.cts +9 -5
- package/cjs/tab/tab.d.ts +9 -5
- package/cjs/toolbar/toolbar-container.cjs +21 -22
- package/cjs/toolbar/toolbar-container.d.cts +9 -5
- package/cjs/toolbar/toolbar-container.d.ts +9 -5
- package/cjs/toolbar/toolbar-context.cjs +5 -5
- package/cjs/toolbar/toolbar-input.cjs +21 -22
- package/cjs/toolbar/toolbar-input.d.cts +9 -5
- package/cjs/toolbar/toolbar-input.d.ts +9 -5
- package/cjs/toolbar/toolbar-item.cjs +10 -10
- package/cjs/toolbar/toolbar-item.d.cts +9 -5
- package/cjs/toolbar/toolbar-item.d.ts +9 -5
- package/cjs/toolbar/toolbar-provider.cjs +5 -5
- package/cjs/toolbar/toolbar-separator.cjs +15 -19
- package/cjs/toolbar/toolbar-separator.d.cts +9 -5
- package/cjs/toolbar/toolbar-separator.d.ts +9 -5
- package/cjs/toolbar/toolbar.cjs +14 -16
- package/cjs/toolbar/toolbar.d.cts +9 -5
- package/cjs/toolbar/toolbar.d.ts +9 -5
- package/cjs/tooltip/tooltip-anchor.cjs +17 -20
- package/cjs/tooltip/tooltip-anchor.d.cts +14 -5
- package/cjs/tooltip/tooltip-anchor.d.ts +14 -5
- package/cjs/tooltip/tooltip-arrow.cjs +14 -16
- package/cjs/tooltip/tooltip-arrow.d.cts +9 -5
- package/cjs/tooltip/tooltip-arrow.d.ts +9 -5
- package/cjs/tooltip/tooltip-context.cjs +7 -7
- package/cjs/tooltip/tooltip-provider.cjs +13 -13
- package/cjs/tooltip/tooltip-store.cjs +6 -6
- package/cjs/tooltip/tooltip-store.d.cts +7 -5
- package/cjs/tooltip/tooltip-store.d.ts +7 -5
- package/cjs/tooltip/tooltip.cjs +31 -33
- package/cjs/tooltip/tooltip.d.cts +20 -7
- package/cjs/tooltip/tooltip.d.ts +20 -7
- package/cjs/utils/system.cjs +2 -6
- package/cjs/utils/system.d.cts +6 -65
- package/cjs/utils/system.d.ts +6 -65
- package/cjs/utils/types.d.cts +30 -53
- package/cjs/utils/types.d.ts +30 -53
- package/cjs/visually-hidden/visually-hidden.cjs +3 -3
- package/cjs/visually-hidden/visually-hidden.d.cts +10 -5
- package/cjs/visually-hidden/visually-hidden.d.ts +10 -5
- package/esm/__chunks/{7NHUGSTF.js → 237HGZM2.js} +13 -12
- package/esm/__chunks/{BNUFNEVY.js → 2O7COXT7.js} +10 -12
- package/esm/__chunks/{SOK7T35T.js → 2OCM6QMR.js} +2 -2
- package/esm/__chunks/{Y6467XPW.js → 2P6ANLPF.js} +19 -15
- package/esm/__chunks/{4B73HROV.js → 32VQXIYR.js} +2 -2
- package/esm/__chunks/{IB7YUKH5.js → 3D6OCOHF.js} +2 -2
- package/esm/__chunks/3MQJRHSX.js +170 -0
- package/esm/__chunks/{LWHPHW7Q.js → 3N4FFVWW.js} +10 -15
- package/esm/__chunks/{MNFF5YOJ.js → 3OMHZVJD.js} +2 -2
- package/esm/__chunks/{NKXUN25E.js → 5KB2YIDT.js} +9 -11
- package/esm/__chunks/{3ORBWXWF.js → 5M6RSQEC.js} +6 -53
- package/esm/__chunks/{H3TG2CZP.js → 5SF76VVA.js} +11 -15
- package/esm/__chunks/{NUNVG4IK.js → 6PC3IJNK.js} +9 -11
- package/esm/__chunks/{QWSZGSIG.js → 6YZEXKNV.js} +10 -12
- package/esm/__chunks/7HFLDZTS.js +51 -0
- package/esm/__chunks/{UH3I23HL.js → 7YKLTEOQ.js} +12 -16
- package/esm/__chunks/A3BKKI3B.js +44 -0
- package/esm/__chunks/{BHEJ6NUH.js → AFNONYRE.js} +9 -11
- package/esm/__chunks/{MW2F7SEA.js → BX7FFG2R.js} +9 -10
- package/esm/__chunks/{IRX7SFUJ.js → BYD75WXE.js} +11 -15
- package/esm/__chunks/{QZLXIDNP.js → C6OBNQ4F.js} +19 -17
- package/esm/__chunks/{FSFPRQFR.js → CBTO7DFZ.js} +16 -13
- package/esm/__chunks/CK3UW3AQ.js +276 -0
- package/esm/__chunks/CWDOOAGR.js +45 -0
- package/esm/__chunks/DMSZFK7W.js +131 -0
- package/esm/__chunks/{XHRZYRZ5.js → E47ASM2Y.js} +9 -11
- package/esm/__chunks/{ZU7LQC5V.js → E5E7G32I.js} +2 -3
- package/esm/__chunks/ED7XMMMU.js +29 -0
- package/esm/__chunks/{HHNFDKU2.js → EF4Q2SSO.js} +11 -13
- package/esm/__chunks/{VPR2WHQV.js → EUN6HFWO.js} +1 -1
- package/esm/__chunks/{7QTPYGNZ.js → FTNKYK65.js} +9 -11
- package/esm/__chunks/{7X4DYKYU.js → FWINX72I.js} +43 -49
- package/esm/__chunks/G7KEAOBE.js +25 -0
- package/esm/__chunks/{V4ZFXDFK.js → GEIG6TES.js} +2 -2
- package/esm/__chunks/HA4U57LH.js +78 -0
- package/esm/__chunks/{SFCBA2JZ.js → HZJ2XALY.js} +1 -1
- package/esm/__chunks/{ZSELSBRM.js → I62TROYO.js} +1 -1
- package/esm/__chunks/IBZ5GRML.js +27 -0
- package/esm/__chunks/IFT5JEUU.js +40 -0
- package/esm/__chunks/{YGMEBI3A.js → IG6NVGLB.js} +4 -4
- package/esm/__chunks/{F6PRXTDU.js → IKMNNZAH.js} +11 -15
- package/esm/__chunks/IKU53XMZ.js +44 -0
- package/esm/__chunks/{OAYFXAQ2.js → J55AVALY.js} +1 -1
- package/esm/__chunks/JJ3MV4KB.js +52 -0
- package/esm/__chunks/{P5SOPKIM.js → K3QOUHVI.js} +8 -10
- package/esm/__chunks/{NWCBQ4CV.js → KSZPJCUA.js} +11 -13
- package/esm/__chunks/KTZEHGAP.js +186 -0
- package/esm/__chunks/KXSO5EFT.js +527 -0
- package/esm/__chunks/{4UUKJZ4V.js → MADQZZRL.js} +1 -1
- package/esm/__chunks/{XJXP7ZSQ.js → MAMNGFY7.js} +16 -11
- package/esm/__chunks/{JCH6MLL2.js → NLT7LY5Y.js} +8 -10
- package/esm/__chunks/{TQYOGOE2.js → NOYDL3YS.js} +16 -5
- package/esm/__chunks/P3YRKQQJ.js +25 -0
- package/esm/__chunks/{SU2GU5JB.js → PDRDZB4I.js} +11 -13
- package/esm/__chunks/{I4Q3C2VT.js → PW2PHOSG.js} +28 -30
- package/esm/__chunks/RQZGFHI2.js +204 -0
- package/esm/__chunks/{YZEJGRDQ.js → SDQLXKEV.js} +7 -9
- package/esm/__chunks/{4GO43MST.js → SP3GKE3F.js} +13 -12
- package/esm/__chunks/{FMVHAVXA.js → SVBVYDIK.js} +10 -5
- package/esm/__chunks/{7H5KSHHF.js → TE637IA7.js} +2 -2
- package/esm/__chunks/TH2YTBRW.js +45 -0
- package/esm/__chunks/{5HVNGX6D.js → TKSBJDO3.js} +3 -3
- package/esm/__chunks/{TI7CMBHW.js → TWDHCE7Y.js} +2 -2
- package/esm/__chunks/{ULAW5PPH.js → UFM3D5TN.js} +10 -12
- package/esm/__chunks/{UK7JL7PY.js → ULZ2KGZN.js} +9 -11
- package/esm/__chunks/{W76OTZCC.js → UNDSQXBK.js} +3 -3
- package/esm/__chunks/{KSKI4NLV.js → UPJMZO6L.js} +5 -4
- package/esm/__chunks/{ZKJ2WLF7.js → URCSOWGR.js} +6 -4
- package/esm/__chunks/{4HD64GHO.js → UZMGSJE4.js} +4 -3
- package/esm/__chunks/{KA4GX64Z.js → VBF5EZBB.js} +2 -2
- package/esm/__chunks/{3AHQ6JCP.js → VYNLQCY5.js} +16 -15
- package/esm/__chunks/{KK7H3W2B.js → WAZE6NXP.js} +44 -39
- package/esm/__chunks/WCIYB4YS.js +37 -0
- package/esm/__chunks/{2QMN5E6B.js → WKII7I2E.js} +2 -3
- package/esm/__chunks/WKWX2XLD.js +43 -0
- package/esm/__chunks/{G6ONQ5EH.js → WL6TTPTB.js} +16 -13
- package/esm/__chunks/{MG4P3223.js → XWCFCD3Q.js} +2 -3
- package/esm/__chunks/{G6BJYYBK.js → XXVAHUAO.js} +2 -2
- package/esm/__chunks/Y3BYYHRY.js +76 -0
- package/esm/__chunks/{RIL2SEAH.js → Y44K72CZ.js} +1 -1
- package/esm/__chunks/Z72LDQLY.js +64 -0
- package/esm/__chunks/{FGMA3QUS.js → ZK5NO24C.js} +11 -15
- package/esm/__chunks/{636A7WVS.js → ZO6PSJHJ.js} +10 -14
- package/esm/__chunks/{XEV62JUQ.js → ZVFJIYOE.js} +2 -2
- package/esm/__chunks/ZXBIDNZ3.js +27 -0
- package/esm/button/button.d.ts +10 -5
- package/esm/button/button.js +4 -4
- package/esm/checkbox/checkbox-check.d.ts +9 -5
- package/esm/checkbox/checkbox-check.js +2 -2
- package/esm/checkbox/checkbox-context.js +2 -2
- package/esm/checkbox/checkbox-provider.js +2 -2
- package/esm/checkbox/checkbox.d.ts +11 -8
- package/esm/checkbox/checkbox.js +5 -5
- package/esm/collection/collection-context.js +2 -2
- package/esm/collection/collection-item.d.ts +9 -5
- package/esm/collection/collection-item.js +3 -3
- package/esm/collection/collection-provider.js +2 -2
- package/esm/collection/collection-renderer.d.ts +11 -9
- package/esm/collection/collection-renderer.js +3 -3
- package/esm/collection/collection.d.ts +9 -5
- package/esm/collection/collection.js +10 -11
- package/esm/combobox/combobox-cancel.d.ts +9 -5
- package/esm/combobox/combobox-cancel.js +18 -22
- package/esm/combobox/combobox-context.js +7 -7
- package/esm/combobox/combobox-disclosure.d.ts +9 -5
- package/esm/combobox/combobox-disclosure.js +56 -62
- package/esm/combobox/combobox-group-label.d.ts +9 -5
- package/esm/combobox/combobox-group-label.js +14 -20
- package/esm/combobox/combobox-group.d.ts +9 -5
- package/esm/combobox/combobox-group.js +15 -17
- package/esm/combobox/combobox-item-check.d.ts +9 -5
- package/esm/combobox/combobox-item-check.js +22 -28
- package/esm/combobox/combobox-item-value.d.ts +9 -5
- package/esm/combobox/combobox-item-value.js +41 -43
- package/esm/combobox/combobox-item.d.ts +10 -6
- package/esm/combobox/combobox-item.js +20 -22
- package/esm/combobox/combobox-label.d.ts +9 -5
- package/esm/combobox/combobox-label.js +17 -18
- package/esm/combobox/combobox-list.d.ts +9 -6
- package/esm/combobox/combobox-list.js +9 -11
- package/esm/combobox/combobox-popover.d.ts +9 -5
- package/esm/combobox/combobox-popover.js +27 -29
- package/esm/combobox/combobox-provider.js +11 -11
- package/esm/combobox/combobox-row.d.ts +9 -5
- package/esm/combobox/combobox-row.js +14 -16
- package/esm/combobox/combobox-separator.d.ts +13 -5
- package/esm/combobox/combobox-separator.js +27 -33
- package/esm/combobox/combobox-store.d.ts +7 -5
- package/esm/combobox/combobox-store.js +4 -4
- package/esm/combobox/combobox.d.ts +50 -15
- package/esm/combobox/combobox.js +75 -67
- package/esm/command/command.d.ts +9 -5
- package/esm/command/command.js +3 -3
- package/esm/composite/composite-container.d.ts +9 -5
- package/esm/composite/composite-container.js +4 -4
- package/esm/composite/composite-context.js +3 -3
- package/esm/composite/composite-group-label.d.ts +9 -5
- package/esm/composite/composite-group-label.js +3 -3
- package/esm/composite/composite-group.d.ts +9 -5
- package/esm/composite/composite-group.js +3 -3
- package/esm/composite/composite-hover.d.ts +10 -6
- package/esm/composite/composite-hover.js +4 -4
- package/esm/composite/composite-input.d.ts +9 -5
- package/esm/composite/composite-input.js +2 -2
- package/esm/composite/composite-item.d.ts +9 -6
- package/esm/composite/composite-item.js +7 -7
- package/esm/composite/composite-overflow-disclosure.d.ts +9 -5
- package/esm/composite/composite-overflow-disclosure.js +25 -25
- package/esm/composite/composite-overflow-store.d.ts +7 -5
- package/esm/composite/composite-overflow-store.js +3 -3
- package/esm/composite/composite-overflow.d.ts +9 -5
- package/esm/composite/composite-overflow.js +60 -74
- package/esm/composite/composite-provider.js +3 -3
- package/esm/composite/composite-renderer.d.ts +9 -5
- package/esm/composite/composite-renderer.js +5 -5
- package/esm/composite/composite-row.d.ts +9 -5
- package/esm/composite/composite-row.js +4 -4
- package/esm/composite/composite-separator.d.ts +9 -5
- package/esm/composite/composite-separator.js +5 -5
- package/esm/composite/composite-typeahead.d.ts +9 -5
- package/esm/composite/composite-typeahead.js +4 -4
- package/esm/composite/composite.d.ts +9 -6
- package/esm/composite/composite.js +5 -5
- package/esm/dialog/dialog-backdrop.d.ts +2 -2
- package/esm/dialog/dialog-backdrop.js +7 -7
- package/esm/dialog/dialog-context.js +3 -3
- package/esm/dialog/dialog-description.d.ts +9 -5
- package/esm/dialog/dialog-description.js +4 -4
- package/esm/dialog/dialog-disclosure.d.ts +9 -5
- package/esm/dialog/dialog-disclosure.js +8 -8
- package/esm/dialog/dialog-dismiss.d.ts +9 -5
- package/esm/dialog/dialog-dismiss.js +7 -7
- package/esm/dialog/dialog-heading.d.ts +9 -5
- package/esm/dialog/dialog-heading.js +5 -5
- package/esm/dialog/dialog-provider.js +5 -5
- package/esm/dialog/dialog-store.d.ts +7 -5
- package/esm/dialog/dialog-store.js +2 -2
- package/esm/dialog/dialog.d.ts +10 -15
- package/esm/dialog/dialog.js +15 -15
- package/esm/dialog/utils/disable-tree.js +1 -1
- package/esm/disclosure/disclosure-content.d.ts +9 -5
- package/esm/disclosure/disclosure-content.js +4 -4
- package/esm/disclosure/disclosure-context.js +2 -2
- package/esm/disclosure/disclosure-provider.js +3 -3
- package/esm/disclosure/disclosure-store.d.ts +17 -4
- package/esm/disclosure/disclosure-store.js +1 -1
- package/esm/disclosure/disclosure.d.ts +9 -6
- package/esm/disclosure/disclosure.js +6 -6
- package/esm/focus-trap/focus-trap-region.d.ts +9 -5
- package/esm/focus-trap/focus-trap-region.js +13 -16
- package/esm/focus-trap/focus-trap.d.ts +9 -5
- package/esm/focus-trap/focus-trap.js +3 -3
- package/esm/focusable/focusable-container.d.ts +10 -6
- package/esm/focusable/focusable-container.js +2 -2
- package/esm/focusable/focusable.d.ts +13 -10
- package/esm/focusable/focusable.js +2 -2
- package/esm/form/form-checkbox.d.ts +9 -5
- package/esm/form/form-checkbox.js +30 -19
- package/esm/form/form-context.js +3 -3
- package/esm/form/form-control.d.ts +9 -6
- package/esm/form/form-control.js +5 -5
- package/esm/form/form-description.d.ts +9 -5
- package/esm/form/form-description.js +21 -14
- package/esm/form/form-error.d.ts +9 -5
- package/esm/form/form-error.js +23 -14
- package/esm/form/form-field.d.ts +9 -5
- package/esm/form/form-field.js +19 -16
- package/esm/form/form-group-label.d.ts +9 -5
- package/esm/form/form-group-label.js +10 -14
- package/esm/form/form-group.d.ts +9 -5
- package/esm/form/form-group.js +3 -3
- package/esm/form/form-input.d.ts +9 -5
- package/esm/form/form-input.js +16 -15
- package/esm/form/form-label.d.ts +9 -5
- package/esm/form/form-label.js +23 -14
- package/esm/form/form-provider.js +3 -3
- package/esm/form/form-push.d.ts +9 -5
- package/esm/form/form-push.js +13 -15
- package/esm/form/form-radio-group.d.ts +9 -5
- package/esm/form/form-radio-group.js +11 -15
- package/esm/form/form-radio.d.ts +9 -5
- package/esm/form/form-radio.js +21 -20
- package/esm/form/form-remove.d.ts +9 -5
- package/esm/form/form-remove.js +23 -15
- package/esm/form/form-reset.d.ts +9 -5
- package/esm/form/form-reset.js +12 -14
- package/esm/form/form-submit.d.ts +9 -5
- package/esm/form/form-submit.js +12 -14
- package/esm/form/form.d.ts +9 -5
- package/esm/form/form.js +119 -123
- package/esm/group/group-label.d.ts +10 -5
- package/esm/group/group-label.js +2 -2
- package/esm/group/group.d.ts +9 -5
- package/esm/group/group.js +2 -2
- package/esm/heading/heading-level.d.ts +2 -2
- package/esm/heading/heading.d.ts +9 -5
- package/esm/heading/heading.js +2 -2
- package/esm/hovercard/hovercard-anchor.d.ts +9 -6
- package/esm/hovercard/hovercard-anchor.js +7 -7
- package/esm/hovercard/hovercard-arrow.d.ts +9 -5
- package/esm/hovercard/hovercard-arrow.js +14 -18
- package/esm/hovercard/hovercard-context.js +5 -5
- package/esm/hovercard/hovercard-description.d.ts +9 -5
- package/esm/hovercard/hovercard-description.js +6 -6
- package/esm/hovercard/hovercard-disclosure.d.ts +9 -5
- package/esm/hovercard/hovercard-disclosure.js +105 -111
- package/esm/hovercard/hovercard-dismiss.d.ts +9 -5
- package/esm/hovercard/hovercard-dismiss.js +11 -11
- package/esm/hovercard/hovercard-heading.d.ts +9 -5
- package/esm/hovercard/hovercard-heading.js +7 -7
- package/esm/hovercard/hovercard-provider.js +9 -9
- package/esm/hovercard/hovercard-store.d.ts +7 -5
- package/esm/hovercard/hovercard-store.js +4 -4
- package/esm/hovercard/hovercard.d.ts +9 -5
- package/esm/hovercard/hovercard.js +19 -19
- package/esm/menu/menu-arrow.d.ts +9 -5
- package/esm/menu/menu-arrow.js +16 -18
- package/esm/menu/menu-bar-provider.js +14 -5
- package/esm/menu/menu-bar-store.js +9 -0
- package/esm/menu/menu-bar.d.ts +9 -5
- package/esm/menu/menu-bar.js +26 -17
- package/esm/menu/menu-button-arrow.d.ts +9 -5
- package/esm/menu/menu-button-arrow.js +18 -22
- package/esm/menu/menu-button.d.ts +9 -5
- package/esm/menu/menu-button.js +36 -28
- package/esm/menu/menu-context.js +9 -9
- package/esm/menu/menu-description.d.ts +9 -5
- package/esm/menu/menu-description.js +14 -18
- package/esm/menu/menu-dismiss.d.ts +9 -5
- package/esm/menu/menu-dismiss.js +21 -23
- package/esm/menu/menu-group-label.d.ts +9 -5
- package/esm/menu/menu-group-label.js +14 -16
- package/esm/menu/menu-group.d.ts +9 -5
- package/esm/menu/menu-group.js +14 -14
- package/esm/menu/menu-heading.d.ts +9 -5
- package/esm/menu/menu-heading.js +18 -18
- package/esm/menu/menu-item-check.d.ts +9 -5
- package/esm/menu/menu-item-check.js +16 -18
- package/esm/menu/menu-item-checkbox.d.ts +9 -5
- package/esm/menu/menu-item-checkbox.js +25 -26
- package/esm/menu/menu-item-radio.d.ts +9 -5
- package/esm/menu/menu-item-radio.js +26 -27
- package/esm/menu/menu-item.d.ts +9 -6
- package/esm/menu/menu-item.js +15 -15
- package/esm/menu/menu-list.d.ts +9 -5
- package/esm/menu/menu-list.js +14 -14
- package/esm/menu/menu-provider.js +15 -15
- package/esm/menu/menu-separator.d.ts +9 -5
- package/esm/menu/menu-separator.js +17 -19
- package/esm/menu/menu-store.d.ts +6 -4
- package/esm/menu/menu-store.js +15 -15
- package/esm/menu/menu.d.ts +9 -5
- package/esm/menu/menu.js +178 -181
- package/esm/menubar/menubar-context.js +4 -4
- package/esm/menubar/menubar-provider.js +5 -5
- package/esm/menubar/menubar.d.ts +9 -5
- package/esm/menubar/menubar.js +7 -7
- package/esm/popover/popover-anchor.d.ts +9 -5
- package/esm/popover/popover-anchor.js +5 -5
- package/esm/popover/popover-arrow.d.ts +9 -5
- package/esm/popover/popover-arrow.js +5 -5
- package/esm/popover/popover-context.js +4 -4
- package/esm/popover/popover-description.d.ts +9 -5
- package/esm/popover/popover-description.js +5 -5
- package/esm/popover/popover-disclosure-arrow.d.ts +9 -5
- package/esm/popover/popover-disclosure-arrow.js +5 -5
- package/esm/popover/popover-disclosure.d.ts +9 -5
- package/esm/popover/popover-disclosure.js +11 -11
- package/esm/popover/popover-dismiss.d.ts +9 -5
- package/esm/popover/popover-dismiss.js +9 -9
- package/esm/popover/popover-heading.d.ts +9 -5
- package/esm/popover/popover-heading.js +6 -6
- package/esm/popover/popover-provider.js +7 -7
- package/esm/popover/popover-store.d.ts +7 -5
- package/esm/popover/popover-store.js +3 -3
- package/esm/popover/popover.d.ts +8 -6
- package/esm/popover/popover.js +17 -17
- package/esm/portal/portal.d.ts +9 -6
- package/esm/portal/portal.js +4 -4
- package/esm/radio/radio-context.js +4 -4
- package/esm/radio/radio-group.d.ts +9 -5
- package/esm/radio/radio-group.js +12 -14
- package/esm/radio/radio-provider.js +4 -4
- package/esm/radio/radio.d.ts +11 -7
- package/esm/radio/radio.js +9 -9
- package/esm/role/role.d.ts +10 -6
- package/esm/role/role.js +2 -2
- package/esm/select/select-arrow.d.ts +9 -5
- package/esm/select/select-arrow.js +9 -9
- package/esm/select/select-context.js +7 -7
- package/esm/select/select-group-label.d.ts +9 -5
- package/esm/select/select-group-label.js +11 -15
- package/esm/select/select-group.d.ts +9 -5
- package/esm/select/select-group.js +14 -14
- package/esm/select/select-item-check.d.ts +9 -5
- package/esm/select/select-item-check.js +16 -20
- package/esm/select/select-item.d.ts +9 -6
- package/esm/select/select-item.js +23 -22
- package/esm/select/select-label.d.ts +9 -5
- package/esm/select/select-label.js +19 -18
- package/esm/select/select-list.d.ts +9 -6
- package/esm/select/select-list.js +12 -12
- package/esm/select/select-popover.d.ts +9 -5
- package/esm/select/select-popover.js +29 -31
- package/esm/select/select-provider.js +12 -12
- package/esm/select/select-renderer.d.ts +4 -2
- package/esm/select/select-renderer.js +11 -10
- package/esm/select/select-row.d.ts +9 -5
- package/esm/select/select-row.js +14 -16
- package/esm/select/select-separator.d.ts +12 -5
- package/esm/select/select-separator.js +17 -21
- package/esm/select/select-store.d.ts +6 -4
- package/esm/select/select-store.js +11 -11
- package/esm/select/select.d.ts +9 -6
- package/esm/select/select.js +230 -236
- package/esm/separator/separator.d.ts +9 -5
- package/esm/separator/separator.js +2 -2
- package/esm/tab/tab-context.js +4 -4
- package/esm/tab/tab-list.d.ts +9 -5
- package/esm/tab/tab-list.js +36 -36
- package/esm/tab/tab-panel.d.ts +9 -5
- package/esm/tab/tab-panel.js +25 -19
- package/esm/tab/tab-provider.js +4 -4
- package/esm/tab/tab.d.ts +9 -5
- package/esm/tab/tab.js +75 -76
- package/esm/toolbar/toolbar-container.d.ts +9 -5
- package/esm/toolbar/toolbar-container.js +18 -19
- package/esm/toolbar/toolbar-context.js +4 -4
- package/esm/toolbar/toolbar-input.d.ts +9 -5
- package/esm/toolbar/toolbar-input.js +18 -19
- package/esm/toolbar/toolbar-item.d.ts +9 -5
- package/esm/toolbar/toolbar-item.js +9 -9
- package/esm/toolbar/toolbar-provider.js +4 -4
- package/esm/toolbar/toolbar-separator.d.ts +9 -5
- package/esm/toolbar/toolbar-separator.js +14 -18
- package/esm/toolbar/toolbar.d.ts +9 -5
- package/esm/toolbar/toolbar.js +12 -14
- package/esm/tooltip/tooltip-anchor.d.ts +14 -5
- package/esm/tooltip/tooltip-anchor.js +16 -19
- package/esm/tooltip/tooltip-arrow.d.ts +9 -5
- package/esm/tooltip/tooltip-arrow.js +13 -15
- package/esm/tooltip/tooltip-context.js +6 -6
- package/esm/tooltip/tooltip-provider.js +11 -11
- package/esm/tooltip/tooltip-store.d.ts +7 -5
- package/esm/tooltip/tooltip-store.js +5 -5
- package/esm/tooltip/tooltip.d.ts +20 -7
- package/esm/tooltip/tooltip.js +27 -29
- package/esm/utils/system.d.ts +6 -65
- package/esm/utils/system.js +1 -5
- package/esm/utils/types.d.ts +30 -53
- package/esm/visually-hidden/visually-hidden.d.ts +10 -5
- package/esm/visually-hidden/visually-hidden.js +2 -2
- package/package.json +2 -2
- package/cjs/__chunks/23HLSVKM.cjs +0 -39
- package/cjs/__chunks/2KDFQUU7.cjs +0 -35
- package/cjs/__chunks/5UTRYT6E.cjs +0 -52
- package/cjs/__chunks/62JWM3VQ.cjs +0 -49
- package/cjs/__chunks/65LGW5LY.cjs +0 -285
- package/cjs/__chunks/6PUZ4NWR.cjs +0 -137
- package/cjs/__chunks/7566TIRW.cjs +0 -43
- package/cjs/__chunks/ACTXAOA6.cjs +0 -29
- package/cjs/__chunks/D4TG5DM4.cjs +0 -128
- package/cjs/__chunks/F34KLJKG.cjs +0 -50
- package/cjs/__chunks/G2ZXRZ2R.cjs +0 -155
- package/cjs/__chunks/JQS6X2I5.cjs +0 -189
- package/cjs/__chunks/KQN7YDDZ.cjs +0 -39
- package/cjs/__chunks/KRB7URW5.cjs +0 -31
- package/cjs/__chunks/KSAZE5E2.cjs +0 -44
- package/cjs/__chunks/LICANQTI.cjs +0 -70
- package/cjs/__chunks/NY3D6JQT.cjs +0 -41
- package/cjs/__chunks/QQCFY3MB.cjs +0 -44
- package/cjs/__chunks/R66IWXK6.cjs +0 -42
- package/cjs/__chunks/TK6GOI2V.cjs +0 -51
- package/cjs/__chunks/TUDQDX77.cjs +0 -35
- package/cjs/__chunks/UKXZY6PK.cjs +0 -33
- package/cjs/__chunks/UXFBTIBY.cjs +0 -41
- package/cjs/__chunks/VIUIA2WF.cjs +0 -29
- package/cjs/__chunks/VJES6KQ3.cjs +0 -31
- package/cjs/__chunks/XB3G2EO2.cjs +0 -43
- package/cjs/__chunks/YPVQYY4J.cjs +0 -156
- package/cjs/__chunks/YU7XEYUJ.cjs +0 -80
- package/cjs/__chunks/ZL5DC555.cjs +0 -539
- package/esm/__chunks/346FK57L.js +0 -137
- package/esm/__chunks/4CK3XZ4H.js +0 -31
- package/esm/__chunks/4ZEZYKUR.js +0 -70
- package/esm/__chunks/5LK2LG7Q.js +0 -35
- package/esm/__chunks/6N2ESJUH.js +0 -31
- package/esm/__chunks/ANIYCUCU.js +0 -29
- package/esm/__chunks/BG6HZDS7.js +0 -42
- package/esm/__chunks/CHKJ74UC.js +0 -43
- package/esm/__chunks/CLE7NTOY.js +0 -156
- package/esm/__chunks/DIP7XAI7.js +0 -49
- package/esm/__chunks/ENRQQ6LK.js +0 -50
- package/esm/__chunks/HPP6CWMY.js +0 -43
- package/esm/__chunks/IMEG7JN4.js +0 -189
- package/esm/__chunks/JHO32H4J.js +0 -80
- package/esm/__chunks/JL6IRDFK.js +0 -155
- package/esm/__chunks/JPXNJYSO.js +0 -285
- package/esm/__chunks/NERBASET.js +0 -539
- package/esm/__chunks/NT7GEZQU.js +0 -44
- package/esm/__chunks/P4FX6ZFL.js +0 -51
- package/esm/__chunks/R2QZ3KXH.js +0 -44
- package/esm/__chunks/RJDEYIKS.js +0 -29
- package/esm/__chunks/VDNZBO4W.js +0 -52
- package/esm/__chunks/ZEXNX5JH.js +0 -128
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,160 @@
|
|
|
1
1
|
# @ariakit/react-core
|
|
2
2
|
|
|
3
|
+
## 0.4.1
|
|
4
|
+
|
|
5
|
+
### New `autoSelect` mode
|
|
6
|
+
|
|
7
|
+
The [`autoSelect`](https://ariakit.org/reference/combobox#autoselect) prop of the [`Combobox`](https://ariakit.org/reference/combobox) component now accepts a new `"always"` value:
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
<Combobox autoSelect="always" />
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
When using this value, the first enabled item will automatically gain focus when the list shows up, as well as when the combobox input value changes (which is the behavior of the [`autoSelect`](https://ariakit.org/reference/combobox#autoselect) prop when set to `true`).
|
|
14
|
+
|
|
15
|
+
### `ComboboxItem` losing focus too early
|
|
16
|
+
|
|
17
|
+
Some tweaks were made to the [`ComboboxItem`](https://ariakit.org/reference/combobox-item) component to ensure it doesn't lose focus right after a click or <kbd>Escape</kbd> keystroke when the combobox popover is animated. This should avoid an inconsistent UI as the popover plays its exit animation.
|
|
18
|
+
|
|
19
|
+
### Other updates
|
|
20
|
+
|
|
21
|
+
- Added [`disclosure`](https://ariakit.org/reference/use-disclosure-store#disclosure-1) property to disclosure stores.
|
|
22
|
+
- Added [`blurActiveItemOnClick`](https://ariakit.org/reference/combobox#bluractiveitemonclick) prop to [`Combobox`](https://ariakit.org/reference/combobox).
|
|
23
|
+
- Added [`showOnClick`](https://ariakit.org/reference/combobox#showonclick) prop to [`Combobox`](https://ariakit.org/reference/combobox).
|
|
24
|
+
- Added [`showOnKeyPress`](https://ariakit.org/reference/combobox#showonkeypress) prop to [`Combobox`](https://ariakit.org/reference/combobox).
|
|
25
|
+
- Fixed [`DisclosureContent`](https://ariakit.org/reference/disclosure-content) components losing their ref value on fast refresh.
|
|
26
|
+
- Improved JSDocs.
|
|
27
|
+
- Updated dependencies: `@ariakit/core@0.4.1`
|
|
28
|
+
|
|
29
|
+
## 0.4.0
|
|
30
|
+
|
|
31
|
+
This version introduces enhanced support for CSS animations and transitions, along with a few breaking changes for quite specific cases. The majority of users won't be impacted by these.
|
|
32
|
+
|
|
33
|
+
Please review the brief notes following the **BREAKING** labels on each update to determine if any changes are needed in your code.
|
|
34
|
+
|
|
35
|
+
### Improved animation support
|
|
36
|
+
|
|
37
|
+
This version enhances support for CSS animations and transitions on Ariakit components that use [Disclosure](https://ariakit.org/component/disclosure). This includes [Dialog](https://ariakit.org/components/dialog), [Popover](https://ariakit.org/components/popover), [Combobox](https://ariakit.org/components/combobox), [Select](https://ariakit.org/components/select), [Hovercard](https://ariakit.org/components/hovercard), [Menu](https://ariakit.org/components/menu), and [Tooltip](https://ariakit.org/components/tooltip).
|
|
38
|
+
|
|
39
|
+
These components now support _enter_ and _leave_ transitions and animations right out of the box, eliminating the need to provide an explicit `animated` prop. If an enter animation is detected, the component will automatically wait for a leave animation to complete before unmounting or hiding itself.
|
|
40
|
+
|
|
41
|
+
Use the [`[data-enter]`](https://ariakit.org/guide/styling#data-enter) selector for CSS transitions. For CSS animations, use the newly introduced [`[data-open]`](https://ariakit.org/guide/styling#data-open) selector. The [`[data-leave]`](https://ariakit.org/guide/styling#data-leave) selector can be used for both transitions and animations.
|
|
42
|
+
|
|
43
|
+
### `ComboboxList` is no longer focusable
|
|
44
|
+
|
|
45
|
+
**BREAKING** if you're using the [`ComboboxList`](https://ariakit.org/reference/combobox-list) component directly with [`Focusable`](https://ariakit.org/reference/focusable) props.
|
|
46
|
+
|
|
47
|
+
The [`ComboboxList`](https://ariakit.org/reference/combobox-list) component is no longer focusable and doesn't accept [`Focusable`](https://ariakit.org/reference/focusable) props such as [`autoFocus`](https://ariakit.org/reference/focusable#autofocus), [`disabled`](https://ariakit.org/reference/focusable#disabled), and [`onFocusVisible`](https://ariakit.org/reference/focusable#onfocusvisible) anymore. If you need [Focusable](https://ariakit.org/components/focusable) features specifically on the [`ComboboxList`](https://ariakit.org/reference/combobox-list) component, you can use [composition](https://ariakit.org/guide/composition) to render it as a [`Focusable`](https://ariakit.org/reference/focusable) component.
|
|
48
|
+
|
|
49
|
+
Before:
|
|
50
|
+
|
|
51
|
+
```jsx
|
|
52
|
+
<ComboboxList disabled />
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
After:
|
|
56
|
+
|
|
57
|
+
```jsx
|
|
58
|
+
<ComboboxList render={<Focusable disabled />} />
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Composite widgets with `grid` role
|
|
62
|
+
|
|
63
|
+
**BREAKING** if you're manually setting the `role="grid"` prop on a composite widget.
|
|
64
|
+
|
|
65
|
+
Ariakit automatically assigns the `role` prop to all composite items to align with the container `role`. For example, if [`SelectPopover`](https://ariakit.org/reference/select-popover) has its role set to `listbox` (which is the default value), its owned [`SelectItem`](https://ariakit.org/reference/select-item) elements will automatically get their role set to `option`.
|
|
66
|
+
|
|
67
|
+
In previous versions, this was also valid for composite widgets with a `grid` role, where the composite item element would automatically be given `role="gridcell"`. This is no longer the case, and you're now required to manually pass `role="gridcell"` to the composite item element if you're rendering a container with `role="grid"`.
|
|
68
|
+
|
|
69
|
+
Before:
|
|
70
|
+
|
|
71
|
+
```jsx
|
|
72
|
+
<SelectPopover role="grid">
|
|
73
|
+
<SelectRow> {/* Automatically gets role="row" */}
|
|
74
|
+
<SelectItem> {/* Automatically gets role="gridcell" */}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
After:
|
|
78
|
+
|
|
79
|
+
```jsx
|
|
80
|
+
<SelectPopover role="grid">
|
|
81
|
+
<SelectRow> {/* Still gets role="row" */}
|
|
82
|
+
<SelectItem role="gridcell">
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
This change is due to the possibility of rendering a composite item element with a different role as a child of a static `div` with `role="gridcell"`, which is a valid and frequently used practice when using the `grid` role. As a result, you no longer have to manually adjust the `role` prop on the composite item:
|
|
86
|
+
|
|
87
|
+
```jsx
|
|
88
|
+
<SelectPopover role="grid">
|
|
89
|
+
<SelectRow>
|
|
90
|
+
<div role="gridcell">
|
|
91
|
+
<SelectItem render={<button />}>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Previously, you had to explicitly pass `role="button"` to the [`SelectItem`](https://ariakit.org/reference/select-item) component above, otherwise it would automatically receive `role="gridcell"`, leading to an invalid accessibility tree.
|
|
95
|
+
|
|
96
|
+
### Radio types have improved
|
|
97
|
+
|
|
98
|
+
**BREAKING** if you're using TypeScript and the [`onChange`](https://ariakit.org/reference/radio#onchange) prop on [`Radio`](https://ariakit.org/reference/radio), [`FormRadio`](https://ariakit.org/reference/form-radio), or [`MenuItemRadio`](https://ariakit.org/reference/menu-item-radio).
|
|
99
|
+
|
|
100
|
+
The [`onChange`](https://ariakit.org/reference/radio#onchange) callback argument type has changed from `React.SyntheticEvent` to `React.ChangeEvent`.
|
|
101
|
+
|
|
102
|
+
Before:
|
|
103
|
+
|
|
104
|
+
```tsx
|
|
105
|
+
<Radio onChange={(event: React.SyntheticEvent) => {}} />
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
After:
|
|
109
|
+
|
|
110
|
+
```tsx
|
|
111
|
+
<Radio onChange={(event: React.ChangeEvent) => {}} />
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Public data attributes have now boolean values
|
|
115
|
+
|
|
116
|
+
**BREAKING** if you're depending on [data attributes](https://ariakit.org/guide/styling#data-active) to carry an empty string (`""`) value.
|
|
117
|
+
|
|
118
|
+
In previous versions, data attributes such as [`data-active`](https://ariakit.org/guide/styling#data-active), [`data-active-item`](https://ariakit.org/guide/styling#data-active-item), [`data-enter`](https://ariakit.org/guide/styling#data-enter), [`data-leave`](https://ariakit.org/guide/styling#data-leave), and [`data-focus-visible`](https://ariakit.org/guide/styling#data-focus-visible) would carry an empty string (`""`) value when active, and `undefined` when inactive. Now, they have a `true` value when active, but remain `undefined` when inactive.
|
|
119
|
+
|
|
120
|
+
Their use as CSS selectors remains unchanged. You should continue to select them with the attribute selector with no value (e.g., `[data-enter]`). However, if you're employing them in different ways or have snapshot tests that depend on their value, you might need to update your code.
|
|
121
|
+
|
|
122
|
+
### Removed deprecated features
|
|
123
|
+
|
|
124
|
+
**BREAKING** if you haven't addressed the deprecation warnings from previous releases.
|
|
125
|
+
|
|
126
|
+
This version eliminates features that were deprecated in previous releases: the `backdropProps` and `as` props, as well as the ability to use a render function for the `children` prop across all components.
|
|
127
|
+
|
|
128
|
+
Before:
|
|
129
|
+
|
|
130
|
+
```jsx
|
|
131
|
+
<Dialog backdropProps={{ className: "backdrop" }} />
|
|
132
|
+
<Combobox as="textarea" />
|
|
133
|
+
<Combobox>
|
|
134
|
+
{(props) => <textarea {...props} />}
|
|
135
|
+
</Combobox>
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
After:
|
|
139
|
+
|
|
140
|
+
```jsx
|
|
141
|
+
<Dialog backdrop={<div className="backdrop" />} />
|
|
142
|
+
<Combobox render={<textarea />} />
|
|
143
|
+
<Combobox render={(props) => <textarea {...props} />} />
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
You can learn more about these new features in the [Composition guide](https://ariakit.org/guide/composition).
|
|
147
|
+
|
|
148
|
+
### Other updates
|
|
149
|
+
|
|
150
|
+
- Deprecated `MenuBar` in favor of [Menubar](https://ariakit.org/components/menubar) components.
|
|
151
|
+
- Revamped utilities for creating Ariakit components.
|
|
152
|
+
- The `type` prop for the [Tooltip](https://ariakit.org/components/tooltip) has been deprecated. See [Tooltip anchors must have accessible names](https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names).
|
|
153
|
+
- Removed the ancestors of open, nested modals from the accessibility tree.
|
|
154
|
+
- Tooltips no longer use `aria-describedby` to associate the tooltip content with the anchor.
|
|
155
|
+
- Added new [`disclosure`](https://ariakit.org/reference/use-disclosure-store#disclosure-1) property to disclosure stores.
|
|
156
|
+
- Updated dependencies: `@ariakit/core@0.4.0`
|
|
157
|
+
|
|
3
158
|
## 0.3.14
|
|
4
159
|
|
|
5
160
|
- Fixed a regression introduced in `v0.3.13` where dialogs wouldn't close when clicking outside on iOS.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _GMXGH5P5cjs = require('./GMXGH5P5.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
13
|
+
|
|
14
|
+
// src/composite/composite-group-label.ts
|
|
15
|
+
var TagName = "div";
|
|
16
|
+
var useCompositeGroupLabel = _Q67LZMDTcjs.createHook.call(void 0, function useCompositeGroupLabel2(_a) {
|
|
17
|
+
var _b = _a, { store } = _b, props = _AV6KTKLEcjs.__objRest.call(void 0, _b, ["store"]);
|
|
18
|
+
props = _GMXGH5P5cjs.useGroupLabel.call(void 0, props);
|
|
19
|
+
return props;
|
|
20
|
+
});
|
|
21
|
+
var CompositeGroupLabel = _Q67LZMDTcjs.forwardRef.call(void 0, function CompositeGroupLabel2(props) {
|
|
22
|
+
const htmlProps = useCompositeGroupLabel(props);
|
|
23
|
+
return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.useCompositeGroupLabel = useCompositeGroupLabel; exports.CompositeGroupLabel = CompositeGroupLabel;
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
var _VV6WA3I6cjs = require('./VV6WA3I6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _SFDUOV6Fcjs = require('./SFDUOV6F.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _THCBJSSMcjs = require('./THCBJSSM.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
|
|
13
|
+
var _QJZAESARcjs = require('./QJZAESAR.cjs');
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
var _EO6LS72Hcjs = require('./EO6LS72H.cjs');
|
|
@@ -26,12 +25,11 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
26
25
|
function DialogBackdrop({
|
|
27
26
|
store,
|
|
28
27
|
backdrop,
|
|
29
|
-
backdropProps,
|
|
30
28
|
alwaysVisible,
|
|
31
29
|
hidden
|
|
32
30
|
}) {
|
|
33
31
|
const ref = _react.useRef.call(void 0, null);
|
|
34
|
-
const disclosure =
|
|
32
|
+
const disclosure = _QJZAESARcjs.useDisclosureStore.call(void 0, { disclosure: store });
|
|
35
33
|
const contentElement = store.useState("contentElement");
|
|
36
34
|
_EO6LS72Hcjs.useSafeLayoutEffect.call(void 0, () => {
|
|
37
35
|
const backdrop2 = ref.current;
|
|
@@ -51,31 +49,28 @@ function DialogBackdrop({
|
|
|
51
49
|
return;
|
|
52
50
|
return _VV6WA3I6cjs.markAncestor.call(void 0, backdrop2, id);
|
|
53
51
|
}, [contentElement]);
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
const props = _YPVQYY4Jcjs.useDisclosureContent.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
|
|
52
|
+
const props = _THCBJSSMcjs.useDisclosureContent.call(void 0, {
|
|
53
|
+
ref,
|
|
58
54
|
store: disclosure,
|
|
59
55
|
role: "presentation",
|
|
60
56
|
"data-backdrop": (contentElement == null ? void 0 : contentElement.id) || "",
|
|
61
|
-
alwaysVisible
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
style: _AV6KTKLEcjs.__spreadValues.call(void 0, {
|
|
57
|
+
alwaysVisible,
|
|
58
|
+
hidden: hidden != null ? hidden : void 0,
|
|
59
|
+
style: {
|
|
65
60
|
position: "fixed",
|
|
66
61
|
top: 0,
|
|
67
62
|
right: 0,
|
|
68
63
|
bottom: 0,
|
|
69
64
|
left: 0
|
|
70
|
-
}
|
|
71
|
-
})
|
|
65
|
+
}
|
|
66
|
+
});
|
|
72
67
|
if (!backdrop)
|
|
73
68
|
return null;
|
|
74
69
|
if (_react.isValidElement.call(void 0, backdrop)) {
|
|
75
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _SFDUOV6Fcjs.Role, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), { render: backdrop }));
|
|
76
71
|
}
|
|
77
72
|
const Component = typeof backdrop !== "boolean" ? backdrop : "div";
|
|
78
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
73
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _SFDUOV6Fcjs.Role, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Component, {}) }));
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _4XFLDG56cjs = require('./4XFLDG56.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
9
9
|
|
|
10
10
|
// src/radio/radio-context.tsx
|
|
11
|
-
var ctx =
|
|
12
|
-
[
|
|
13
|
-
[
|
|
11
|
+
var ctx = _Q67LZMDTcjs.createStoreContext.call(void 0,
|
|
12
|
+
[_4XFLDG56cjs.CompositeContextProvider],
|
|
13
|
+
[_4XFLDG56cjs.CompositeScopedContextProvider]
|
|
14
14
|
);
|
|
15
15
|
var useRadioContext = ctx.useContext;
|
|
16
16
|
var useRadioScopedContext = ctx.useScopedContext;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _FE3YCURHcjs = require('./FE3YCURH.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _EO6LS72Hcjs = require('./EO6LS72H.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
16
|
+
|
|
17
|
+
// src/group/group.tsx
|
|
18
|
+
var _react = require('react');
|
|
19
|
+
var _misc = require('@ariakit/core/utils/misc');
|
|
20
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
21
|
+
var TagName = "div";
|
|
22
|
+
var useGroup = _Q67LZMDTcjs.createHook.call(void 0,
|
|
23
|
+
function useGroup2(props) {
|
|
24
|
+
const [labelId, setLabelId] = _react.useState.call(void 0, );
|
|
25
|
+
props = _EO6LS72Hcjs.useWrapElement.call(void 0,
|
|
26
|
+
props,
|
|
27
|
+
(element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FE3YCURHcjs.GroupLabelContext.Provider, { value: setLabelId, children: element }),
|
|
28
|
+
[]
|
|
29
|
+
);
|
|
30
|
+
props = _AV6KTKLEcjs.__spreadValues.call(void 0, {
|
|
31
|
+
role: "group",
|
|
32
|
+
"aria-labelledby": labelId
|
|
33
|
+
}, props);
|
|
34
|
+
return _misc.removeUndefinedValues.call(void 0, props);
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
var Group = _Q67LZMDTcjs.forwardRef.call(void 0, function Group2(props) {
|
|
38
|
+
const htmlProps = useGroup(props);
|
|
39
|
+
return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
exports.useGroup = useGroup; exports.Group = Group;
|
|
@@ -6,7 +6,7 @@ var _ERFHNHONcjs = require('./ERFHNHON.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -15,7 +15,9 @@ var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
|
15
15
|
|
|
16
16
|
// src/checkbox/checkbox-check.tsx
|
|
17
17
|
var _react = require('react');
|
|
18
|
+
var _misc = require('@ariakit/core/utils/misc');
|
|
18
19
|
var _jsxruntime = require('react/jsx-runtime');
|
|
20
|
+
var TagName = "span";
|
|
19
21
|
var checkmark = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20
22
|
"svg",
|
|
21
23
|
{
|
|
@@ -40,8 +42,8 @@ function getChildren(props) {
|
|
|
40
42
|
}
|
|
41
43
|
return null;
|
|
42
44
|
}
|
|
43
|
-
var useCheckboxCheck =
|
|
44
|
-
(_a)
|
|
45
|
+
var useCheckboxCheck = _Q67LZMDTcjs.createHook.call(void 0,
|
|
46
|
+
function useCheckboxCheck2(_a) {
|
|
45
47
|
var _b = _a, { store, checked } = _b, props = _AV6KTKLEcjs.__objRest.call(void 0, _b, ["store", "checked"]);
|
|
46
48
|
const context = _react.useContext.call(void 0, _ERFHNHONcjs.CheckboxCheckedContext);
|
|
47
49
|
checked = checked != null ? checked : context;
|
|
@@ -56,16 +58,13 @@ var useCheckboxCheck = _RNZNGEL4cjs.createHook.call(void 0,
|
|
|
56
58
|
pointerEvents: "none"
|
|
57
59
|
}, props.style)
|
|
58
60
|
});
|
|
59
|
-
return props;
|
|
61
|
+
return _misc.removeUndefinedValues.call(void 0, props);
|
|
60
62
|
}
|
|
61
63
|
);
|
|
62
|
-
var CheckboxCheck =
|
|
64
|
+
var CheckboxCheck = _Q67LZMDTcjs.forwardRef.call(void 0, function CheckboxCheck2(props) {
|
|
63
65
|
const htmlProps = useCheckboxCheck(props);
|
|
64
|
-
return
|
|
66
|
+
return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
|
|
65
67
|
});
|
|
66
|
-
if (process.env.NODE_ENV !== "production") {
|
|
67
|
-
CheckboxCheck.displayName = "CheckboxCheck";
|
|
68
|
-
}
|
|
69
68
|
|
|
70
69
|
|
|
71
70
|
|
|
@@ -46,11 +46,22 @@ function disableTree(element, ignoredElements) {
|
|
|
46
46
|
function disableTreeOutside(id, elements) {
|
|
47
47
|
const cleanups = [];
|
|
48
48
|
const ids = elements.map((el) => el == null ? void 0 : el.id);
|
|
49
|
-
_5GTNIPQ6cjs.walkTreeOutside.call(void 0,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
_5GTNIPQ6cjs.walkTreeOutside.call(void 0,
|
|
50
|
+
id,
|
|
51
|
+
elements,
|
|
52
|
+
(element) => {
|
|
53
|
+
if (_7YLCVXZ7cjs.isBackdrop.call(void 0, element, ...ids))
|
|
54
|
+
return;
|
|
55
|
+
cleanups.unshift(disableTree(element, elements));
|
|
56
|
+
},
|
|
57
|
+
(element) => {
|
|
58
|
+
if (!element.hasAttribute("role"))
|
|
59
|
+
return;
|
|
60
|
+
if (elements.some((el) => el && _dom.contains.call(void 0, el, element)))
|
|
61
|
+
return;
|
|
62
|
+
cleanups.unshift(_V24PR4PWcjs.setAttribute.call(void 0, element, "role", "none"));
|
|
63
|
+
}
|
|
64
|
+
);
|
|
54
65
|
const restoreTreeOutside = () => {
|
|
55
66
|
cleanups.forEach((fn) => fn());
|
|
56
67
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _HD6KOF3Gcjs = require('./HD6KOF3G.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _GAHLF3OIcjs = require('./GAHLF3OI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _OBT2YMBCcjs = require('./OBT2YMBC.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _LUL2YWZ3cjs = require('./LUL2YWZ3.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _G5BGNCVUcjs = require('./G5BGNCVU.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -30,19 +30,24 @@ var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
|
30
30
|
var _menustore = require('@ariakit/core/menu/menu-store'); var Core = _interopRequireWildcard(_menustore);
|
|
31
31
|
function useMenuStoreProps(store, update, props) {
|
|
32
32
|
_EO6LS72Hcjs.useUpdateEffect.call(void 0, update, [props.combobox, props.parent, props.menubar]);
|
|
33
|
-
store = _LUL2YWZ3cjs.useCompositeStoreProps.call(void 0, store, update, props);
|
|
34
|
-
store = _OZ4FTKEHcjs.useHovercardStoreProps.call(void 0, store, update, props);
|
|
35
33
|
_OLOZ5JT2cjs.useStoreProps.call(void 0, store, props, "values", "setValues");
|
|
36
|
-
return Object.assign(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
return Object.assign(
|
|
35
|
+
_G5BGNCVUcjs.useHovercardStoreProps.call(void 0,
|
|
36
|
+
_LUL2YWZ3cjs.useCompositeStoreProps.call(void 0, store, update, props),
|
|
37
|
+
update,
|
|
38
|
+
props
|
|
39
|
+
),
|
|
40
|
+
{
|
|
41
|
+
combobox: props.combobox,
|
|
42
|
+
parent: props.parent,
|
|
43
|
+
menubar: props.menubar
|
|
44
|
+
}
|
|
45
|
+
);
|
|
41
46
|
}
|
|
42
47
|
function useMenuStore(props = {}) {
|
|
43
|
-
const parent =
|
|
44
|
-
const menubar =
|
|
45
|
-
const combobox =
|
|
48
|
+
const parent = _HD6KOF3Gcjs.useMenuContext.call(void 0, );
|
|
49
|
+
const menubar = _GAHLF3OIcjs.useMenubarContext.call(void 0, );
|
|
50
|
+
const combobox = _OBT2YMBCcjs.useComboboxProviderContext.call(void 0, );
|
|
46
51
|
props = _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), {
|
|
47
52
|
parent: props.parent !== void 0 ? props.parent : parent,
|
|
48
53
|
menubar: props.menubar !== void 0 ? props.menubar : menubar,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _Q6CVYJBOcjs = require('./Q6CVYJBO.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
9
9
|
|
|
10
10
|
// src/composite/composite-context.tsx
|
|
11
11
|
var _react = require('react');
|
|
12
|
-
var ctx =
|
|
13
|
-
[
|
|
14
|
-
[
|
|
12
|
+
var ctx = _Q67LZMDTcjs.createStoreContext.call(void 0,
|
|
13
|
+
[_Q6CVYJBOcjs.CollectionContextProvider],
|
|
14
|
+
[_Q6CVYJBOcjs.CollectionScopedContextProvider]
|
|
15
15
|
);
|
|
16
16
|
var useCompositeContext = ctx.useContext;
|
|
17
17
|
var useCompositeScopedContext = ctx.useScopedContext;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _75KXQZJXcjs = require('./75KXQZJX.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _EO6LS72Hcjs = require('./EO6LS72H.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
16
|
+
|
|
17
|
+
// src/focusable/focusable-container.tsx
|
|
18
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
19
|
+
var TagName = "div";
|
|
20
|
+
var useFocusableContainer = _Q67LZMDTcjs.createHook.call(void 0, function useFocusableContainer2(_a) {
|
|
21
|
+
var _b = _a, { autoFocusOnShow = true } = _b, props = _AV6KTKLEcjs.__objRest.call(void 0, _b, ["autoFocusOnShow"]);
|
|
22
|
+
props = _EO6LS72Hcjs.useWrapElement.call(void 0,
|
|
23
|
+
props,
|
|
24
|
+
(element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _75KXQZJXcjs.FocusableContext.Provider, { value: autoFocusOnShow, children: element }),
|
|
25
|
+
[autoFocusOnShow]
|
|
26
|
+
);
|
|
27
|
+
return props;
|
|
28
|
+
});
|
|
29
|
+
var FocusableContainer = _Q67LZMDTcjs.forwardRef.call(void 0, function FocusableContainer2(props) {
|
|
30
|
+
const htmlProps = useFocusableContainer(props);
|
|
31
|
+
return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
exports.useFocusableContainer = useFocusableContainer; exports.FocusableContainer = FocusableContainer;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _C6G4FIVIcjs = require('./C6G4FIVI.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _4XFLDG56cjs = require('./4XFLDG56.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _Q67LZMDTcjs = require('./Q67LZMDT.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _OLOZ5JT2cjs = require('./OLOZ5JT2.cjs');
|
|
@@ -24,6 +24,7 @@ var _AV6KTKLEcjs = require('./AV6KTKLE.cjs');
|
|
|
24
24
|
|
|
25
25
|
// src/composite/composite-renderer.tsx
|
|
26
26
|
var _react = require('react');
|
|
27
|
+
var TagName = "div";
|
|
27
28
|
function getItemObject(item) {
|
|
28
29
|
if (!item || typeof item !== "object") {
|
|
29
30
|
return { value: item };
|
|
@@ -68,7 +69,7 @@ function findLast(items) {
|
|
|
68
69
|
function findById(items, id, baseId) {
|
|
69
70
|
return items.findIndex((item, index) => {
|
|
70
71
|
var _a;
|
|
71
|
-
const itemId =
|
|
72
|
+
const itemId = _C6G4FIVIcjs.getCollectionRendererItemId.call(void 0, item, index, baseId);
|
|
72
73
|
if (itemId === id)
|
|
73
74
|
return true;
|
|
74
75
|
const object = getItemObject(item);
|
|
@@ -96,7 +97,7 @@ function useCompositeRenderer(_a) {
|
|
|
96
97
|
"aria-setsize",
|
|
97
98
|
"aria-posinset"
|
|
98
99
|
]);
|
|
99
|
-
const context =
|
|
100
|
+
const context = _4XFLDG56cjs.useCompositeContext.call(void 0, );
|
|
100
101
|
store = store || context;
|
|
101
102
|
const orientation = _OLOZ5JT2cjs.useStoreState.call(void 0,
|
|
102
103
|
store,
|
|
@@ -160,7 +161,7 @@ function useCompositeRenderer(_a) {
|
|
|
160
161
|
}
|
|
161
162
|
return indices;
|
|
162
163
|
}, [firstIndex, activeIndex, lastIndex, persistentIndicesProp]);
|
|
163
|
-
return
|
|
164
|
+
return _C6G4FIVIcjs.useCollectionRenderer.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {
|
|
164
165
|
id,
|
|
165
166
|
store,
|
|
166
167
|
orientation,
|
|
@@ -176,9 +177,9 @@ function useCompositeRenderer(_a) {
|
|
|
176
177
|
}
|
|
177
178
|
}));
|
|
178
179
|
}
|
|
179
|
-
var CompositeRenderer =
|
|
180
|
+
var CompositeRenderer = _Q67LZMDTcjs.forwardRef.call(void 0, function CompositeRenderer2(props) {
|
|
180
181
|
const htmlProps = useCompositeRenderer(props);
|
|
181
|
-
return
|
|
182
|
+
return _Q67LZMDTcjs.createElement.call(void 0, TagName, htmlProps);
|
|
182
183
|
});
|
|
183
184
|
|
|
184
185
|
|