@hopper-ui/components 1.15.2 → 1.15.5
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 +18 -0
- package/dist/accordion/src/Accordion.css +79 -79
- package/dist/accordion/src/Accordion.js +2 -2
- package/dist/accordion/src/index.css +79 -79
- package/dist/accordion/src/index.js +2 -2
- package/dist/alert/src/Alert.css +412 -412
- package/dist/alert/src/Alert.js +13 -13
- package/dist/alert/src/index.css +412 -412
- package/dist/alert/src/index.js +13 -13
- package/dist/avatar/src/AnonymousAvatar.css +51 -51
- package/dist/avatar/src/AnonymousAvatar.js +2 -2
- package/dist/avatar/src/Avatar.css +71 -71
- package/dist/avatar/src/Avatar.js +4 -4
- package/dist/avatar/src/AvatarGroup.css +66 -66
- package/dist/avatar/src/AvatarGroup.js +4 -4
- package/dist/avatar/src/BrokenAvatar.css +51 -51
- package/dist/avatar/src/BrokenAvatar.js +2 -2
- package/dist/avatar/src/DeletedAvatar.css +51 -51
- package/dist/avatar/src/DeletedAvatar.js +2 -2
- package/dist/avatar/src/RichIconAvatarImage.css +51 -51
- package/dist/avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/avatar/src/index.css +98 -98
- package/dist/avatar/src/index.js +9 -9
- package/dist/badge/src/Badge.css +54 -54
- package/dist/badge/src/Badge.js +2 -2
- package/dist/badge/src/FloatingBadge.css +49 -49
- package/dist/badge/src/FloatingBadge.js +1 -1
- package/dist/badge/src/index.css +64 -64
- package/dist/badge/src/index.js +3 -3
- package/dist/buttons/src/Button.css +107 -107
- package/dist/buttons/src/Button.js +6 -6
- package/dist/buttons/src/ButtonGroup.css +50 -50
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +110 -110
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/CloseButton.css +108 -108
- package/dist/buttons/src/CloseButton.js +7 -7
- package/dist/buttons/src/EmbeddedButton.css +110 -110
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +117 -117
- package/dist/buttons/src/LinkButton.js +6 -6
- package/dist/buttons/src/ToggleButton.css +143 -143
- package/dist/buttons/src/ToggleButton.js +4 -4
- package/dist/buttons/src/index.css +360 -360
- package/dist/buttons/src/index.js +15 -15
- package/dist/calendar/src/Calendar.css +407 -407
- package/dist/calendar/src/Calendar.js +13 -13
- package/dist/calendar/src/CalendarCell.css +50 -50
- package/dist/calendar/src/CalendarCell.js +1 -1
- package/dist/calendar/src/CalendarGrid.css +78 -78
- package/dist/calendar/src/CalendarGrid.js +3 -3
- package/dist/calendar/src/CalendarHeader.css +363 -363
- package/dist/calendar/src/CalendarHeader.js +8 -8
- package/dist/calendar/src/RangeCalendar.css +410 -410
- package/dist/calendar/src/RangeCalendar.js +13 -13
- package/dist/calendar/src/RangeCalendarCell.css +58 -58
- package/dist/calendar/src/RangeCalendarCell.js +1 -1
- package/dist/calendar/src/index.css +413 -413
- package/dist/calendar/src/index.js +14 -14
- package/dist/callout/src/Callout.css +373 -373
- package/dist/callout/src/Callout.js +10 -10
- package/dist/callout/src/CompactCallout.css +409 -409
- package/dist/callout/src/CompactCallout.js +9 -9
- package/dist/callout/src/index.css +422 -422
- package/dist/callout/src/index.js +11 -11
- package/dist/card/src/Card.css +42 -42
- package/dist/card/src/Card.js +1 -1
- package/dist/card/src/index.css +42 -42
- package/dist/card/src/index.js +1 -1
- package/dist/checkbox/src/Checkbox.css +58 -58
- package/dist/checkbox/src/Checkbox.js +4 -4
- package/dist/checkbox/src/CheckboxField.css +45 -45
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +111 -111
- package/dist/checkbox/src/CheckboxGroup.js +7 -7
- package/dist/checkbox/src/DecorativeCheckbox.css +66 -66
- package/dist/checkbox/src/DecorativeCheckbox.js +3 -3
- package/dist/checkbox/src/index.css +111 -111
- package/dist/checkbox/src/index.js +11 -11
- package/dist/{chunk-RBAL53RI.js → chunk-24AQA5QT.js} +1 -1
- package/dist/{chunk-7UPKJLCM.js → chunk-3DXOYFVZ.js} +10 -13
- package/dist/{chunk-TL2QA2C7.js → chunk-3ELANBLK.js} +4 -4
- package/dist/{chunk-GCLYGQY6.js → chunk-3EQTWIJ3.js} +3 -3
- package/dist/{chunk-K7INXMI4.js → chunk-3I5FB7XQ.js} +2 -2
- package/dist/{chunk-GFSMGSHK.js → chunk-3RHBPPSS.js} +2 -2
- package/dist/{chunk-7E4RCWSZ.js → chunk-4BMFQVIB.js} +1 -1
- package/dist/{chunk-RY6OYRBS.js → chunk-52LF5WBN.js} +2 -2
- package/dist/{chunk-IXV2R7LF.js → chunk-5UKXZNBL.js} +3 -3
- package/dist/{chunk-YK74QZTM.js → chunk-5YRLFXZ4.js} +1 -1
- package/dist/{chunk-KEEYPE7L.js → chunk-6VYTTAEY.js} +2 -2
- package/dist/{chunk-LQIWS7PC.js → chunk-7MOZ3C2M.js} +5 -5
- package/dist/{chunk-7WNY724W.js → chunk-7QDY57LL.js} +2 -2
- package/dist/{chunk-KLBG67AH.js → chunk-7RRTMZRJ.js} +1 -1
- package/dist/{chunk-O3RFQ7OZ.js → chunk-7VQHWCXN.js} +1 -1
- package/dist/{chunk-BLMSOMCL.js → chunk-7WTRYNLK.js} +1 -1
- package/dist/{chunk-7IXI2XMW.js → chunk-AFNVKFP6.js} +13 -10
- package/dist/{chunk-SE6ZRM62.js → chunk-AGDSX5GG.js} +3 -3
- package/dist/{chunk-6UEESKO5.js → chunk-AHKNYVIK.js} +1 -1
- package/dist/{chunk-4GLK7N6L.js → chunk-AKOBBPMQ.js} +5 -5
- package/dist/{chunk-ZTYCBRCB.js → chunk-AM7DLFRM.js} +2 -2
- package/dist/{chunk-3P3J2A6J.js → chunk-AQQFWLLG.js} +1 -1
- package/dist/{chunk-N2SZ7UA3.js → chunk-BK7C3H7A.js} +4 -4
- package/dist/{chunk-JXYNCHW5.js → chunk-C3X3ZJFE.js} +8 -8
- package/dist/{chunk-NXNTPNYP.js → chunk-CATOFCIC.js} +3 -3
- package/dist/{chunk-YGUHVQY4.js → chunk-CIMKQ3JF.js} +2 -2
- package/dist/{chunk-LVF2OR42.js → chunk-CRCHFKMF.js} +8 -8
- package/dist/{chunk-PANJTPLO.js → chunk-CYWJVDF5.js} +2 -2
- package/dist/{chunk-LEP3RA5T.js → chunk-DC7X5RE2.js} +5 -5
- package/dist/{chunk-V26NF5OR.js → chunk-DRBB2BEL.js} +2 -2
- package/dist/{chunk-XRZ7VAKU.js → chunk-DTC7N5NH.js} +52 -33
- package/dist/{chunk-4OCQTU3J.js → chunk-DWLWBNFE.js} +10 -68
- package/dist/{chunk-ZPMC53OO.js → chunk-DY7FZEDZ.js} +1 -1
- package/dist/{chunk-42UBRDXO.js → chunk-E56BICOJ.js} +2 -2
- package/dist/{chunk-W4SW62Q3.js → chunk-E7OUAUWV.js} +2 -2
- package/dist/{chunk-P5C6CFM2.js → chunk-EKYSALQ7.js} +3 -3
- package/dist/{chunk-Z4W6HBLS.js → chunk-EVHMTNF3.js} +1 -1
- package/dist/{chunk-GVZPPQJ7.js → chunk-FTJ2I7QP.js} +1 -1
- package/dist/{chunk-JMDJ3VIS.js → chunk-G4DPFOXD.js} +11 -11
- package/dist/{chunk-JRC3JOOB.js → chunk-G7NVN4VG.js} +3 -3
- package/dist/{chunk-XA5OBVPY.js → chunk-GJ4YSCBL.js} +2 -2
- package/dist/{chunk-TMD5SSER.js → chunk-GQZHYMGI.js} +1 -1
- package/dist/{chunk-Y4B3GBDS.js → chunk-GS53DACE.js} +1 -1
- package/dist/{chunk-UYKDO6H6.js → chunk-HFUD7WGN.js} +1 -1
- package/dist/{chunk-LJ4UTOSP.js → chunk-HKYS3AZK.js} +2 -2
- package/dist/{chunk-Z4BRTJKS.js → chunk-I7XKX2IF.js} +12 -12
- package/dist/{chunk-FWEKU2ND.js → chunk-IJNGTUP5.js} +1 -1
- package/dist/{chunk-2QS6XOYT.js → chunk-IJXXUQKG.js} +7 -7
- package/dist/{chunk-C4Y6EAGK.js → chunk-JH4E5Q3L.js} +1 -1
- package/dist/{chunk-BRT4J4TE.js → chunk-JMGQ667D.js} +9 -9
- package/dist/{chunk-QWLOGFRQ.js → chunk-JOWPDLY7.js} +9 -9
- package/dist/{chunk-AY3DOIJJ.js → chunk-JVCAYZ3H.js} +4 -4
- package/dist/{chunk-U2FVXIM4.js → chunk-L5XFYHSX.js} +3 -3
- package/dist/{chunk-LDXXO6Q6.js → chunk-LES6NBOL.js} +2 -2
- package/dist/{chunk-QDAZ2C6F.js → chunk-LIFXNFZX.js} +1 -1
- package/dist/{chunk-VT4GB5YB.js → chunk-LPQLRCXB.js} +2 -2
- package/dist/{chunk-LV2NVTIQ.js → chunk-LQCWZCCQ.js} +3 -3
- package/dist/{chunk-75YFVJQA.js → chunk-LWHLUDVR.js} +1 -1
- package/dist/{chunk-CV4BPV6X.js → chunk-LYH424A2.js} +4 -4
- package/dist/{chunk-EHXOXTDN.js → chunk-M34NCPPE.js} +1 -1
- package/dist/{chunk-55EP5WK4.js → chunk-MVDVHYC5.js} +1 -1
- package/dist/{chunk-5M6APVZN.js → chunk-MWWVIDHT.js} +1 -1
- package/dist/{chunk-AERE5JXE.js → chunk-NB34PUGV.js} +3 -3
- package/dist/{chunk-7DZGH534.js → chunk-NODVHFNL.js} +1 -1
- package/dist/{chunk-35BOZ2F7.js → chunk-O6OZX35G.js} +6 -2
- package/dist/{chunk-PPSSZMOW.js → chunk-OE46NWR6.js} +1 -1
- package/dist/{chunk-ZE4VS32U.js → chunk-OGUGJHEO.js} +2 -2
- package/dist/{chunk-HUCOYQWQ.js → chunk-OJ7DGCHO.js} +10 -10
- package/dist/{chunk-GIP23VKU.js → chunk-OLT2MCO7.js} +5 -5
- package/dist/{chunk-S4GMYOZ3.js → chunk-OXD4SSTI.js} +2 -2
- package/dist/{chunk-S64I5QHH.js → chunk-OYU543PT.js} +5 -5
- package/dist/{chunk-IPGVNKQM.js → chunk-P26UA7Q6.js} +2 -2
- package/dist/{chunk-K3R2JUYC.js → chunk-P6JMA57F.js} +4 -4
- package/dist/{chunk-ALMALUSW.js → chunk-PEEZVJBZ.js} +13 -8
- package/dist/{chunk-O7GBLYQW.js → chunk-PH4NBJDL.js} +1 -1
- package/dist/{chunk-6BS7LTEH.js → chunk-PHEUOLKT.js} +2 -2
- package/dist/{chunk-OMCL4S4D.js → chunk-Q652HQKR.js} +2 -2
- package/dist/{chunk-7VLE24FB.js → chunk-QGHHG464.js} +1 -1
- package/dist/{chunk-GZ5YWF3T.js → chunk-RHKUC43J.js} +2 -2
- package/dist/{chunk-DM3YGBLN.js → chunk-RR46W5RL.js} +2 -2
- package/dist/{chunk-SQMCMOS3.js → chunk-RYOH7QSB.js} +3 -3
- package/dist/{chunk-WIH6XHIL.js → chunk-SEFQ5T4U.js} +1 -1
- package/dist/{chunk-RPXVSO5T.js → chunk-SJDUVBHB.js} +3 -4
- package/dist/{chunk-CSRSQOMS.js → chunk-THRSQSZR.js} +3 -3
- package/dist/{chunk-DEMJZW2T.js → chunk-TYQDE4KP.js} +1 -1
- package/dist/{chunk-CSSXCFGS.js → chunk-UZUDKZ4Y.js} +2 -2
- package/dist/{chunk-WQYXBUYI.js → chunk-VNO3EJZI.js} +2 -2
- package/dist/{chunk-JVEIDWPG.js → chunk-VW7746MT.js} +1 -1
- package/dist/{chunk-HDQOZIHT.js → chunk-W2QAXS4Z.js} +1 -1
- package/dist/{chunk-GHVUDCBX.js → chunk-WKYABRZH.js} +1 -1
- package/dist/{chunk-DB2TPM5E.js → chunk-WLEGHPPM.js} +4 -4
- package/dist/{chunk-BUCLJEUW.js → chunk-WMUEJIP2.js} +1 -1
- package/dist/{chunk-PSABXOVR.js → chunk-WQRM6MNQ.js} +3 -3
- package/dist/{chunk-LOM6FHVQ.js → chunk-WRXJ6PDA.js} +1 -1
- package/dist/{chunk-SE7TJKHV.js → chunk-WU26EPJO.js} +1 -1
- package/dist/{chunk-CSTDNKNU.js → chunk-X6E3OU6T.js} +1 -1
- package/dist/{chunk-NOTC3XWM.js → chunk-XCASARLL.js} +2 -2
- package/dist/{chunk-AEOKRMJR.js → chunk-YMTIDSB5.js} +1 -1
- package/dist/{chunk-SSNOSZWJ.js → chunk-ZRKF4MQY.js} +3 -3
- package/dist/combobox/src/ComboBox.css +787 -787
- package/dist/combobox/src/ComboBox.js +21 -21
- package/dist/combobox/src/index.css +787 -787
- package/dist/combobox/src/index.js +21 -21
- package/dist/contextual-help/src/ContextualHelp.css +708 -708
- package/dist/contextual-help/src/ContextualHelp.js +4 -4
- package/dist/contextual-help/src/index.css +708 -708
- package/dist/contextual-help/src/index.js +4 -4
- package/dist/date-picker/src/DateInput.css +52 -54
- package/dist/date-picker/src/DateInput.js +1 -1
- package/dist/date-picker/src/DatePicker.css +847 -849
- package/dist/date-picker/src/DatePicker.js +20 -20
- package/dist/date-picker/src/DateRangePicker.css +850 -852
- package/dist/date-picker/src/DateRangePicker.js +20 -20
- package/dist/date-picker/src/index.css +858 -860
- package/dist/date-picker/src/index.js +22 -22
- package/dist/disclosure/src/Disclosure.css +49 -49
- package/dist/disclosure/src/Disclosure.js +2 -2
- package/dist/disclosure/src/DisclosureHeader.css +56 -56
- package/dist/disclosure/src/DisclosureHeader.js +3 -3
- package/dist/disclosure/src/DisclosurePanel.css +49 -49
- package/dist/disclosure/src/DisclosurePanel.js +4 -4
- package/dist/disclosure/src/index.css +74 -74
- package/dist/disclosure/src/index.js +8 -8
- package/dist/divider/src/Divider.css +41 -41
- package/dist/divider/src/Divider.js +1 -1
- package/dist/divider/src/index.css +41 -41
- package/dist/divider/src/index.js +1 -1
- package/dist/error-message/src/ErrorMessage.css +41 -41
- package/dist/error-message/src/ErrorMessage.js +2 -2
- package/dist/error-message/src/index.css +41 -41
- package/dist/error-message/src/index.js +2 -2
- package/dist/form/src/Form.css +39 -39
- package/dist/form/src/Form.js +1 -1
- package/dist/form/src/index.css +39 -39
- package/dist/form/src/index.js +1 -1
- package/dist/header/src/Header.css +39 -39
- package/dist/header/src/index.css +39 -39
- package/dist/helper-message/src/HelperMessage.css +41 -41
- package/dist/helper-message/src/HelperMessage.js +2 -2
- package/dist/helper-message/src/index.css +41 -41
- package/dist/helper-message/src/index.js +2 -2
- package/dist/icon-list/src/IconList.css +40 -40
- package/dist/icon-list/src/IconList.js +1 -1
- package/dist/icon-list/src/index.css +40 -40
- package/dist/icon-list/src/index.js +1 -1
- package/dist/illustrated-message/src/IllustratedMessage.css +382 -382
- package/dist/illustrated-message/src/IllustratedMessage.js +3 -3
- package/dist/illustrated-message/src/index.css +382 -382
- package/dist/illustrated-message/src/index.js +3 -3
- package/dist/illustration/src/Illustration.css +48 -48
- package/dist/illustration/src/Illustration.js +1 -1
- package/dist/illustration/src/index.css +48 -48
- package/dist/illustration/src/index.js +1 -1
- package/dist/image/src/Image.css +42 -42
- package/dist/image/src/Image.js +1 -1
- package/dist/image/src/SvgImage.css +40 -40
- package/dist/image/src/SvgImage.js +1 -1
- package/dist/image/src/index.css +43 -43
- package/dist/image/src/index.js +2 -2
- package/dist/index.css +1232 -1234
- package/dist/index.d.ts +0 -1
- package/dist/index.js +112 -112
- package/dist/inputs/src/Input.css +43 -43
- package/dist/inputs/src/Input.js +1 -1
- package/dist/inputs/src/InputGroup.css +45 -45
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +69 -69
- package/dist/inputs/src/NumberField.js +10 -10
- package/dist/inputs/src/PasswordField.css +380 -380
- package/dist/inputs/src/PasswordField.js +11 -11
- package/dist/inputs/src/RemainingCharacterCount.css +42 -42
- package/dist/inputs/src/RemainingCharacterCount.js +2 -2
- package/dist/inputs/src/SearchField.css +386 -386
- package/dist/inputs/src/SearchField.js +13 -13
- package/dist/inputs/src/TextArea.css +68 -68
- package/dist/inputs/src/TextArea.js +9 -9
- package/dist/inputs/src/TextField.css +384 -384
- package/dist/inputs/src/TextField.js +15 -15
- package/dist/inputs/src/index.css +434 -434
- package/dist/inputs/src/index.js +19 -19
- package/dist/layout/src/Content.css +39 -39
- package/dist/layout/src/Footer.css +39 -39
- package/dist/link/src/Link.css +78 -78
- package/dist/link/src/Link.js +3 -3
- package/dist/link/src/index.css +78 -78
- package/dist/link/src/index.js +3 -3
- package/dist/list-box/src/ListBox.css +319 -319
- package/dist/list-box/src/ListBox.js +8 -8
- package/dist/list-box/src/ListBoxItem.css +307 -307
- package/dist/list-box/src/ListBoxItem.js +6 -6
- package/dist/list-box/src/ListBoxItemSkeleton.css +46 -46
- package/dist/list-box/src/ListBoxItemSkeleton.js +1 -1
- package/dist/list-box/src/index.css +319 -319
- package/dist/list-box/src/index.js +9 -9
- package/dist/menu/src/Menu.css +710 -710
- package/dist/menu/src/Menu.js +2 -2
- package/dist/menu/src/MenuItem.css +122 -122
- package/dist/menu/src/MenuItem.js +2 -2
- package/dist/menu/src/MenuSection.css +41 -41
- package/dist/menu/src/MenuSection.js +1 -1
- package/dist/menu/src/MenuTrigger.js +1 -1
- package/dist/menu/src/index.css +735 -735
- package/dist/menu/src/index.js +6 -6
- package/dist/modal/src/BaseModal.css +54 -54
- package/dist/modal/src/BaseModal.js +1 -1
- package/dist/modal/src/CustomModal.css +55 -55
- package/dist/modal/src/CustomModal.js +2 -2
- package/dist/modal/src/Modal.css +402 -402
- package/dist/modal/src/Modal.js +11 -11
- package/dist/modal/src/index.css +403 -403
- package/dist/modal/src/index.js +12 -12
- package/dist/overlays/popover/src/Popover.css +702 -702
- package/dist/overlays/popover/src/Popover.js +3 -3
- package/dist/overlays/popover/src/PopoverBase.css +42 -42
- package/dist/overlays/popover/src/PopoverBase.js +1 -1
- package/dist/overlays/popover/src/index.css +705 -705
- package/dist/overlays/popover/src/index.js +4 -4
- package/dist/radio/src/DecorativeRadio.css +66 -66
- package/dist/radio/src/DecorativeRadio.js +3 -3
- package/dist/radio/src/Radio.css +58 -58
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioField.css +45 -45
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +111 -111
- package/dist/radio/src/RadioGroup.js +7 -7
- package/dist/radio/src/index.css +111 -111
- package/dist/radio/src/index.js +11 -11
- package/dist/segmented-control/src/SegmentedControl.css +40 -40
- package/dist/segmented-control/src/SegmentedControl.js +1 -1
- package/dist/segmented-control/src/SegmentedControlItem.css +54 -54
- package/dist/segmented-control/src/SegmentedControlItem.js +2 -2
- package/dist/segmented-control/src/index.css +55 -55
- package/dist/segmented-control/src/index.js +3 -3
- package/dist/select/src/Select.css +729 -729
- package/dist/select/src/Select.js +21 -21
- package/dist/select/src/SelectValue.css +104 -104
- package/dist/select/src/SelectValue.js +3 -3
- package/dist/select/src/index.css +729 -729
- package/dist/select/src/index.js +21 -21
- package/dist/spinner/src/Spinner.css +49 -49
- package/dist/spinner/src/Spinner.js +2 -2
- package/dist/spinner/src/index.css +49 -49
- package/dist/spinner/src/index.js +2 -2
- package/dist/switch/src/Switch.css +55 -55
- package/dist/switch/src/Switch.js +3 -3
- package/dist/switch/src/SwitchField.css +45 -45
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +61 -61
- package/dist/switch/src/index.js +4 -4
- package/dist/tabs/src/Tab.css +557 -557
- package/dist/tabs/src/Tab.js +2 -2
- package/dist/tabs/src/TabList.css +44 -44
- package/dist/tabs/src/TabList.js +1 -1
- package/dist/tabs/src/TabPanel.css +41 -41
- package/dist/tabs/src/TabPanel.js +1 -1
- package/dist/tabs/src/Tabs.js +1 -1
- package/dist/tabs/src/index.css +564 -564
- package/dist/tabs/src/index.js +5 -5
- package/dist/tag/src/Tag.css +532 -532
- package/dist/tag/src/Tag.d.ts +8 -0
- package/dist/tag/src/Tag.js +8 -8
- package/dist/tag/src/TagGroup.css +49 -49
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +542 -542
- package/dist/tag/src/index.js +14 -14
- package/dist/tile/src/Tile.css +66 -66
- package/dist/tile/src/Tile.js +1 -1
- package/dist/tile/src/TileGroup.css +40 -40
- package/dist/tile/src/TileGroup.js +1 -1
- package/dist/tile/src/index.css +67 -67
- package/dist/tile/src/index.js +2 -2
- package/dist/toggle-arrow/src/ToggleArrow.css +41 -41
- package/dist/toggle-arrow/src/ToggleArrow.js +1 -1
- package/dist/toggle-arrow/src/index.css +41 -41
- package/dist/toggle-arrow/src/index.js +1 -1
- package/dist/tooltip/src/Tooltip.css +49 -49
- package/dist/tooltip/src/Tooltip.js +3 -3
- package/dist/tooltip/src/TooltipTrigger.css +39 -39
- package/dist/tooltip/src/index.css +49 -49
- package/dist/tooltip/src/index.js +3 -3
- package/dist/typography/heading/src/Heading.css +39 -39
- package/dist/typography/heading/src/Heading.js +1 -1
- package/dist/typography/heading/src/index.css +39 -39
- package/dist/typography/heading/src/index.js +1 -1
- package/dist/typography/label/src/FieldLabel.css +39 -39
- package/dist/typography/label/src/FieldLabel.js +3 -3
- package/dist/typography/label/src/Label.css +39 -39
- package/dist/typography/label/src/Label.js +1 -1
- package/dist/typography/label/src/index.css +39 -39
- package/dist/typography/label/src/index.js +3 -3
- package/dist/typography/overline-text/src/OverlineText.css +39 -39
- package/dist/typography/overline-text/src/OverlineText.js +1 -1
- package/dist/typography/overline-text/src/index.css +39 -39
- package/dist/typography/overline-text/src/index.js +1 -1
- package/dist/typography/paragraph/src/Paragraph.css +39 -39
- package/dist/typography/paragraph/src/Paragraph.js +2 -2
- package/dist/typography/paragraph/src/index.css +39 -39
- package/dist/typography/paragraph/src/index.js +2 -2
- package/dist/typography/text/src/Text.css +39 -39
- package/dist/typography/text/src/Text.js +1 -1
- package/dist/typography/text/src/index.css +39 -39
- package/dist/typography/text/src/index.js +1 -1
- package/dist/utils/src/ClearSlots.css +39 -39
- package/dist/utils/src/EnsureTextWrapper.css +39 -39
- package/dist/utils/src/EnsureTextWrapper.js +2 -2
- package/dist/utils/src/getChildRef.d.ts +1 -1
- package/dist/utils/src/index.css +39 -39
- package/dist/utils/src/index.d.ts +0 -1
- package/dist/utils/src/index.js +4 -4
- package/dist/utils/src/useDebounce.js +1 -1
- package/dist/utils/src/useIsOverflow.js +1 -1
- package/dist/utils/src/useRenderProps.d.ts +3 -835
- package/package.json +18 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import { FieldLabel } from './chunk-
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
2
|
+
import { Input } from './chunk-HFUD7WGN.js';
|
|
3
|
+
import { _InputGroup } from './chunk-WKYABRZH.js';
|
|
4
|
+
import { FieldLabel } from './chunk-WQRM6MNQ.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-3I5FB7XQ.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-XCASARLL.js';
|
|
7
|
+
import { _EmbeddedButton } from './chunk-LIFXNFZX.js';
|
|
8
|
+
import { useFormProps } from './chunk-JH4E5Q3L.js';
|
|
9
9
|
import { useLocalizedString } from './chunk-YDOIL6EJ.js';
|
|
10
10
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, TextField } from 'react-aria-compo
|
|
|
20
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./PasswordField.module.css#css-module
|
|
23
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
23
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___iKmVl", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___gRPhO", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___cJSSM", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___xKgQO", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___-I51R", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___yI9bT" };
|
|
24
24
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
25
25
|
function PasswordField(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _Text } from './chunk-
|
|
1
|
+
import { _Text } from './chunk-DY7FZEDZ.js';
|
|
2
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
3
|
import { useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
4
|
import clsx from 'clsx';
|
|
@@ -6,7 +6,7 @@ import { forwardRef } from 'react';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./Paragraph.module.css#css-module
|
|
9
|
-
var Paragraph_module_default = { "hop-Paragraph": "Paragraph-module__hop-
|
|
9
|
+
var Paragraph_module_default = { "hop-Paragraph": "Paragraph-module__hop-Paragraph___BBpCy", "hop-Paragraph--xs": "Paragraph-module__hop-Paragraph--xs___jWb-C", "hop-Paragraph--sm": "Paragraph-module__hop-Paragraph--sm___Hlqwo", "hop-Paragraph--md": "Paragraph-module__hop-Paragraph--md___igrYX", "hop-Paragraph--lg": "Paragraph-module__hop-Paragraph--lg___zpcVD", "hop-Paragraph--xl": "Paragraph-module__hop-Paragraph--xl___ktJOh", "hop-Paragraph--2xl": "Paragraph-module__hop-Paragraph--2xl___GyUJU", "hop-Paragraph--inherit": "Paragraph-module__hop-Paragraph--inherit___tC5TP" };
|
|
10
10
|
var GlobalParagraphCssSelector = "hop-Paragraph";
|
|
11
11
|
function Paragraph(props, ref) {
|
|
12
12
|
const { size: sizeProp, className, children, ...otherProps } = props;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-3RHBPPSS.js';
|
|
2
2
|
import { ListBoxItemContext } from './chunk-FDJDFE4U.js';
|
|
3
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
3
|
+
import { _ListBoxItemSkeleton } from './chunk-MWWVIDHT.js';
|
|
4
|
+
import { _DecorativeCheckbox } from './chunk-OXD4SSTI.js';
|
|
5
5
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
6
6
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
7
7
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
8
|
-
import { ensureTextWrapper } from './chunk-
|
|
8
|
+
import { ensureTextWrapper } from './chunk-SEFQ5T4U.js';
|
|
9
9
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___hhSR-", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___P-ylI", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___O14K7", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___lpxzl", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___LCaNz", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___7YxUH", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___oDiiE", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___4W6WW", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___cJ1HH", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___x2VIR", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___QhLTc", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___MqyvU", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___Wfm0s", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___VhKQ8", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___MHqsv", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___LCOl8", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___rPLS0" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModalTrigger } from './chunk-YVZGV7LZ.js';
|
|
2
2
|
import { CustomModalContext } from './chunk-AJKN2ALX.js';
|
|
3
|
-
import { _BaseModal } from './chunk-
|
|
3
|
+
import { _BaseModal } from './chunk-LWHLUDVR.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./CustomModal.module.css#css-module
|
|
12
|
-
var CustomModal_module_default = { "hop-CustomModal": "CustomModal-module__hop-
|
|
12
|
+
var CustomModal_module_default = { "hop-CustomModal": "CustomModal-module__hop-CustomModal___fCeZv" };
|
|
13
13
|
var GlobalCustomModalCssSelector = "hop-CustomModal";
|
|
14
14
|
var CustomModal = (props, ref) => {
|
|
15
15
|
var _a;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { InternalTagGroupContext } from './chunk-4BWTFR22.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
4
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
3
|
+
import { _ClearButton } from './chunk-TYQDE4KP.js';
|
|
4
|
+
import { mapOrbiterToHopperVariants } from './chunk-LIFXNFZX.js';
|
|
5
5
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
6
6
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
7
7
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
9
|
-
import { _Spinner } from './chunk-
|
|
8
|
+
import { useFormProps } from './chunk-JH4E5Q3L.js';
|
|
9
|
+
import { _Spinner } from './chunk-52LF5WBN.js';
|
|
10
10
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
11
11
|
import { useLocalizedString } from './chunk-YDOIL6EJ.js';
|
|
12
|
-
import { ensureTextWrapper } from './chunk-
|
|
12
|
+
import { ensureTextWrapper } from './chunk-SEFQ5T4U.js';
|
|
13
13
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
14
14
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
15
15
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -17,15 +17,15 @@ import { SlotProvider } from './chunk-M36KANKC.js';
|
|
|
17
17
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
18
18
|
import { IconContext } from '@hopper-ui/icons';
|
|
19
19
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
20
|
-
import { useObjectRef, mergeProps } from '@react-aria/utils';
|
|
20
|
+
import { useObjectRef, mergeProps, filterDOMProps } from '@react-aria/utils';
|
|
21
21
|
import clsx from 'clsx';
|
|
22
|
-
import { forwardRef, useEffect, useContext } from 'react';
|
|
23
|
-
import { useFocusRing, useLink, useFocusable,
|
|
22
|
+
import { forwardRef, useEffect, useMemo, useContext } from 'react';
|
|
23
|
+
import { useFocusRing, useLink, useHover, useFocusable, usePress } from 'react-aria';
|
|
24
24
|
import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-components';
|
|
25
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
26
26
|
|
|
27
27
|
// css-module:./Tag.module.css#css-module
|
|
28
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
28
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___z3sak", "hop-Tag--sm": "Tag-module__hop-Tag--sm___r9fyN", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___92j3c", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___y0x13", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___mqtEv", "hop-Tag--md": "Tag-module__hop-Tag--md___AQH-e", "hop-Tag--lg": "Tag-module__hop-Tag--lg___JHK4L", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___5zKpe", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___-7MqH", "hop-Tag--progress": "Tag-module__hop-Tag--progress___UUxbK", "hop-Tag--positive": "Tag-module__hop-Tag--positive___ljzrs", "hop-Tag--caution": "Tag-module__hop-Tag--caution___skKV8", "hop-Tag--negative": "Tag-module__hop-Tag--negative___6asLc", "hop-Tag--option1": "Tag-module__hop-Tag--option1___rJjgv", "hop-Tag--option2": "Tag-module__hop-Tag--option2___3IePB", "hop-Tag--option3": "Tag-module__hop-Tag--option3___4-r0Q", "hop-Tag--option4": "Tag-module__hop-Tag--option4___oCd-m", "hop-Tag--option5": "Tag-module__hop-Tag--option5___Ql1Yr", "hop-Tag--option6": "Tag-module__hop-Tag--option6___xKAS1", "hop-Tag--standalone": "Tag-module__hop-Tag--standalone___jRFBu", "hop-Tag__icon": "Tag-module__hop-Tag__icon___35AfG", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___UJis9", "hop-Tag__text": "Tag-module__hop-Tag__text___xEkuz", "hop-Tag__badge": "Tag-module__hop-Tag__badge___UWIfE", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___uUawl" };
|
|
29
29
|
var GlobalTagCssSelector = "hop-Tag";
|
|
30
30
|
var TagToTextSizeAdapter = {
|
|
31
31
|
sm: "xs",
|
|
@@ -63,6 +63,7 @@ function Tag(props, ref) {
|
|
|
63
63
|
const stringFormatter = useLocalizedString();
|
|
64
64
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
65
65
|
const textValue = textValueProp != null ? textValueProp : typeof childrenProp === "string" ? childrenProp : void 0;
|
|
66
|
+
const isStandalone = !useContext(InternalTagGroupContext).isInGroup;
|
|
66
67
|
const classNames = composeClassnameRenderProps(
|
|
67
68
|
className,
|
|
68
69
|
GlobalTagCssSelector,
|
|
@@ -70,7 +71,8 @@ function Tag(props, ref) {
|
|
|
70
71
|
Tag_module_default,
|
|
71
72
|
"hop-Tag",
|
|
72
73
|
size,
|
|
73
|
-
mapOrbiterToHopperVariants(variant)
|
|
74
|
+
mapOrbiterToHopperVariants(variant),
|
|
75
|
+
isStandalone && "standalone"
|
|
74
76
|
),
|
|
75
77
|
stylingProps.className
|
|
76
78
|
);
|
|
@@ -87,7 +89,7 @@ function Tag(props, ref) {
|
|
|
87
89
|
const spinnerClassNames = clsx(Tag_module_default["hop-Tag__Spinner"], spinnerClassName);
|
|
88
90
|
const { className: clearButtonClassName, ...otherClearButtonProps } = clearButtonProps != null ? clearButtonProps : {};
|
|
89
91
|
const clearButtonClassNames = clsx(Tag_module_default["hop-Tag__remove-btn"], clearButtonClassName);
|
|
90
|
-
const ElementType =
|
|
92
|
+
const ElementType = isStandalone ? StandaloneTag : Tag$1;
|
|
91
93
|
return /* @__PURE__ */ jsx(
|
|
92
94
|
ElementType,
|
|
93
95
|
{
|
|
@@ -163,36 +165,51 @@ function Tag(props, ref) {
|
|
|
163
165
|
}
|
|
164
166
|
);
|
|
165
167
|
}
|
|
168
|
+
function useNonLinkTagProps(props, ref) {
|
|
169
|
+
var _a;
|
|
170
|
+
const { focusableProps } = (_a = useFocusable(props, ref)) != null ? _a : {};
|
|
171
|
+
const { pressProps } = usePress({
|
|
172
|
+
onPress: props.onPress,
|
|
173
|
+
onPressChange: props.onPressChange,
|
|
174
|
+
onPressStart: props.onPressStart,
|
|
175
|
+
onPressEnd: props.onPressEnd,
|
|
176
|
+
onPressUp: props.onPressUp,
|
|
177
|
+
onClick: props.onClick,
|
|
178
|
+
isDisabled: props.isDisabled,
|
|
179
|
+
ref
|
|
180
|
+
});
|
|
181
|
+
return useMemo(() => {
|
|
182
|
+
const domProps = filterDOMProps(props, { labelable: true, events: true, global: true });
|
|
183
|
+
return mergeProps(domProps, focusableProps, pressProps);
|
|
184
|
+
}, [props, focusableProps, pressProps]);
|
|
185
|
+
}
|
|
166
186
|
var StandaloneTag = forwardRef((props, ref) => {
|
|
167
|
-
var _a
|
|
168
|
-
const {
|
|
187
|
+
var _a;
|
|
188
|
+
const {
|
|
189
|
+
// We don't want the Id in a standalone tag
|
|
190
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
191
|
+
id: _,
|
|
192
|
+
...propsWithoutId
|
|
193
|
+
} = props;
|
|
169
194
|
const objectRef = useObjectRef(ref);
|
|
170
|
-
const {
|
|
171
|
-
const
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
195
|
+
const { focusProps, isFocusVisible, isFocused } = useFocusRing({ within: true });
|
|
196
|
+
const isLink = props.href != null;
|
|
197
|
+
const ElementType = isLink ? "a" : "div";
|
|
198
|
+
const { linkProps } = useLink(propsWithoutId, objectRef);
|
|
199
|
+
const nonLinkProps = useNonLinkTagProps(propsWithoutId, objectRef);
|
|
200
|
+
const itemProps = isLink ? linkProps : nonLinkProps;
|
|
176
201
|
const { hoverProps, isHovered } = useHover({
|
|
177
|
-
|
|
178
|
-
isDisabled: true,
|
|
202
|
+
isDisabled: props.isDisabled,
|
|
179
203
|
onHoverStart: props.onHoverStart,
|
|
180
204
|
onHoverChange: props.onHoverChange,
|
|
181
205
|
onHoverEnd: props.onHoverEnd
|
|
182
206
|
});
|
|
183
|
-
const isLink = props.href != null;
|
|
184
|
-
const itemProps = isLink ? linkProps : props;
|
|
185
|
-
const ElementType = isLink ? "a" : "div";
|
|
186
207
|
const renderProps = useRenderProps({
|
|
187
|
-
...
|
|
188
|
-
id: void 0,
|
|
189
|
-
children: props.children,
|
|
190
|
-
className: props.className,
|
|
191
|
-
style: props.style,
|
|
208
|
+
...propsWithoutId,
|
|
192
209
|
values: {
|
|
193
210
|
isFocusVisible,
|
|
194
211
|
isHovered,
|
|
195
|
-
isDisabled: (
|
|
212
|
+
isDisabled: (_a = props.isDisabled) != null ? _a : false,
|
|
196
213
|
isFocused,
|
|
197
214
|
isPressed: false,
|
|
198
215
|
allowsRemoving: false,
|
|
@@ -205,14 +222,16 @@ var StandaloneTag = forwardRef((props, ref) => {
|
|
|
205
222
|
if (!props.textValue) {
|
|
206
223
|
console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.");
|
|
207
224
|
}
|
|
208
|
-
|
|
225
|
+
if (props.onRemove) {
|
|
226
|
+
console.warn("A <Tag> can't be removed if it's not rendered inside a <TagGroup>.");
|
|
227
|
+
}
|
|
228
|
+
}, [props.textValue, props.onRemove]);
|
|
209
229
|
return /* @__PURE__ */ jsx(
|
|
210
230
|
ElementType,
|
|
211
231
|
{
|
|
212
232
|
ref: objectRef,
|
|
213
233
|
"aria-label": props.textValue,
|
|
214
|
-
...mergeProps(itemProps, focusProps, hoverProps
|
|
215
|
-
tabIndex: -1,
|
|
234
|
+
...mergeProps(itemProps, focusProps, hoverProps),
|
|
216
235
|
...renderProps,
|
|
217
236
|
"data-disabled": props.isDisabled || void 0,
|
|
218
237
|
"data-hovered": isHovered || void 0,
|
|
@@ -1,86 +1,28 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
5
|
-
import { _InputGroup } from './chunk-
|
|
6
|
-
import { FieldLabel } from './chunk-
|
|
7
|
-
import { _HelperMessage } from './chunk-
|
|
8
|
-
import { _ErrorMessage } from './chunk-
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-7QDY57LL.js';
|
|
5
|
+
import { _InputGroup } from './chunk-WKYABRZH.js';
|
|
6
|
+
import { FieldLabel } from './chunk-WQRM6MNQ.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-3I5FB7XQ.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-XCASARLL.js';
|
|
9
9
|
import { isUndefined } from './chunk-TIPN4VYD.js';
|
|
10
|
-
import { useFormProps } from './chunk-
|
|
10
|
+
import { useFormProps } from './chunk-JH4E5Q3L.js';
|
|
11
11
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
12
12
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue, useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
|
|
15
|
-
import
|
|
15
|
+
import { useIsSSR } from '@react-aria/ssr';
|
|
16
16
|
import { mergeRefs } from '@react-aria/utils';
|
|
17
17
|
import { useControlledState } from '@react-stately/utils';
|
|
18
18
|
import clsx from 'clsx';
|
|
19
|
+
import { forwardRef, useState, useCallback, useMemo } from 'react';
|
|
19
20
|
import { useObjectRef } from 'react-aria';
|
|
20
21
|
import { useContextProps, composeRenderProps, TextArea as TextArea$1, TextField } from 'react-aria-components';
|
|
21
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
22
23
|
|
|
23
|
-
var $b5e257d569688ac6$var$defaultContext = {
|
|
24
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
25
|
-
current: 0
|
|
26
|
-
};
|
|
27
|
-
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ ($670gB$react).createContext($b5e257d569688ac6$var$defaultContext);
|
|
28
|
-
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ ($670gB$react).createContext(false);
|
|
29
|
-
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
30
|
-
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
31
|
-
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
32
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
33
|
-
let ref = (useRef)(null);
|
|
34
|
-
if (ref.current === null && !isDisabled) {
|
|
35
|
-
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
36
|
-
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ($670gB$react).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
|
|
37
|
-
if (currentOwner) {
|
|
38
|
-
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
39
|
-
if (prevComponentValue == null)
|
|
40
|
-
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
41
|
-
id: ctx.current,
|
|
42
|
-
state: currentOwner.memoizedState
|
|
43
|
-
});
|
|
44
|
-
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
45
|
-
ctx.current = prevComponentValue.id;
|
|
46
|
-
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
ref.current = ++ctx.current;
|
|
50
|
-
}
|
|
51
|
-
return ref.current;
|
|
52
|
-
}
|
|
53
|
-
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
54
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
55
|
-
if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && true) console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
56
|
-
let counter = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
57
|
-
let prefix = `react-aria${ctx.prefix}`;
|
|
58
|
-
return defaultId || `${prefix}-${counter}`;
|
|
59
|
-
}
|
|
60
|
-
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
61
|
-
let id = ($670gB$react).useId();
|
|
62
|
-
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
63
|
-
let prefix = didSSR || false ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
64
|
-
return defaultId || `${prefix}-${id}`;
|
|
65
|
-
}
|
|
66
|
-
typeof ($670gB$react)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
67
|
-
function $b5e257d569688ac6$var$getSnapshot() {
|
|
68
|
-
return false;
|
|
69
|
-
}
|
|
70
|
-
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
74
|
-
return () => {
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
78
|
-
if (typeof ($670gB$react)["useSyncExternalStore"] === "function") return ($670gB$react)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
79
|
-
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
24
|
// css-module:./TextArea.module.css#css-module
|
|
83
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
25
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___p72ik", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___dNe64", "hop-TextArea--max-rows": "TextArea-module__hop-TextArea--max-rows___0z-l1", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___BavtG", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___cuYwu", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___ZUoMI", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___cA1Ck", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___JzWk3", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___-Z4fb", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___ciqVX", "hop-TextArea__textarea--with-character-count": "TextArea-module__hop-TextArea__textarea--with-character-count___uzH2L", "hop-TextArea__textarea--sm": "TextArea-module__hop-TextArea__textarea--sm___5gNtQ" };
|
|
84
26
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
85
27
|
var DefaultMinimumTextAreaRows = 3;
|
|
86
28
|
var pxToInt = (value) => {
|
|
@@ -90,7 +32,7 @@ function getBodyElement(isSSR) {
|
|
|
90
32
|
return !isSSR ? document.body : void 0;
|
|
91
33
|
}
|
|
92
34
|
function useCalculateRowHeight(input) {
|
|
93
|
-
const isSSR =
|
|
35
|
+
const isSSR = useIsSSR();
|
|
94
36
|
const fontsLoaded = useFontFaceReady();
|
|
95
37
|
return useMemo(() => {
|
|
96
38
|
var _a, _b;
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___PQBSU", "hop-Text--xs": "Text-module__hop-Text--xs___lnYkx", "hop-Text--sm": "Text-module__hop-Text--sm___7f-k0", "hop-Text--md": "Text-module__hop-Text--md___dAket", "hop-Text--lg": "Text-module__hop-Text--lg___JcDPL", "hop-Text--xl": "Text-module__hop-Text--xl___-coRH", "hop-Text--2xl": "Text-module__hop-Text--2xl___2zOxN", "hop-Text--inherit": "Text-module__hop-Text--inherit___Knn66" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -2,7 +2,7 @@ import { MenuContext, InternalMenuContext } from './chunk-U4LYXB7W.js';
|
|
|
2
2
|
import { MenuItemContext } from './chunk-OGC6BUEX.js';
|
|
3
3
|
import { InternalMenuTriggerContext } from './chunk-ERUOMTWL.js';
|
|
4
4
|
import { DividerContext } from './chunk-AB4BRU6Z.js';
|
|
5
|
-
import { _PopoverBase } from './chunk-
|
|
5
|
+
import { _PopoverBase } from './chunk-VW7746MT.js';
|
|
6
6
|
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, Menu as Menu$1 } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Menu.module.css#css-module
|
|
16
|
-
var Menu_module_default = { "hop-Menu": "Menu-module__hop-
|
|
16
|
+
var Menu_module_default = { "hop-Menu": "Menu-module__hop-Menu___zG7Es", "hop-Menu__header": "Menu-module__hop-Menu__header___A-jVC", "hop-Menu__divider": "Menu-module__hop-Menu__divider___SF-zN" };
|
|
17
17
|
var GlobalMenuCssSelector = "hop-Menu";
|
|
18
18
|
function Menu(props, ref) {
|
|
19
19
|
[props, ref] = useContextProps(props, ref, MenuContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
2
|
-
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
3
2
|
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
3
|
+
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
4
4
|
import { AccordionContext } from './chunk-NF64YIEZ.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps, DisclosureGroup } from 'react-aria
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./Accordion.module.css#css-module
|
|
14
|
-
var Accordion_module_default = { "hop-Accordion": "Accordion-module__hop-
|
|
14
|
+
var Accordion_module_default = { "hop-Accordion": "Accordion-module__hop-Accordion___I-Iia", "hop-Accordion--inline": "Accordion-module__hop-Accordion--inline___kxM7W", "hop-Accordion__disclosure": "Accordion-module__hop-Accordion__disclosure___EgW8-", "hop-Accordion__disclosure-header": "Accordion-module__hop-Accordion__disclosure-header___2g1Iw", "hop-Accordion__disclosure-panel": "Accordion-module__hop-Accordion__disclosure-panel___JEiRC" };
|
|
15
15
|
var GlobalAccordionCssSelector = "hop-Accordion";
|
|
16
16
|
function Accordion(props, ref) {
|
|
17
17
|
[props, ref] = useContextProps(props, ref, AccordionContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ToggleArrow } from './chunk-
|
|
2
|
-
import { _Heading } from './chunk-
|
|
1
|
+
import { _ToggleArrow } from './chunk-W2QAXS4Z.js';
|
|
2
|
+
import { _Heading } from './chunk-X6E3OU6T.js';
|
|
3
3
|
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
4
4
|
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, DisclosureStateContext, useSlottedContext, composeRend
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./DisclosureHeader.module.css#css-module
|
|
17
|
-
var DisclosureHeader_module_default = { "hop-DisclosureHeader": "DisclosureHeader-module__hop-
|
|
17
|
+
var DisclosureHeader_module_default = { "hop-DisclosureHeader": "DisclosureHeader-module__hop-DisclosureHeader___JMVRG", "hop-DisclosureHeader__button": "DisclosureHeader-module__hop-DisclosureHeader__button___YORLU", "hop-DisclosureHeader__button--inline": "DisclosureHeader-module__hop-DisclosureHeader__button--inline___q6ykY", "hop-DisclosureHeader__icon": "DisclosureHeader-module__hop-DisclosureHeader__icon___5ISyp", "hop-DisclosureHeader__title": "DisclosureHeader-module__hop-DisclosureHeader__title___-5Op2", "hop-DisclosureHeader__toggle-arrow": "DisclosureHeader-module__hop-DisclosureHeader__toggle-arrow___Ts80M" };
|
|
18
18
|
var GlobalDisclosureHeaderCssSelector = "hop-DisclosureHeader";
|
|
19
19
|
function DisclosureHeader(props, ref) {
|
|
20
20
|
[props, ref] = useContextProps(props, ref, DisclosureHeaderContext);
|
|
@@ -4,7 +4,7 @@ import { CalendarCell } from 'react-aria-components';
|
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
// css-module:./RangeCalendarCell.module.css#css-module
|
|
7
|
-
var RangeCalendarCell_module_default = { "hop-RangeCalendarCell": "RangeCalendarCell-module__hop-
|
|
7
|
+
var RangeCalendarCell_module_default = { "hop-RangeCalendarCell": "RangeCalendarCell-module__hop-RangeCalendarCell___f6D40 CalendarCell-module__hop-CalendarCell___Z2sR9" };
|
|
8
8
|
var GlobalRangeCalendarCellCssSelector = "hop-RangeCalendarCell";
|
|
9
9
|
var RangeCalendarCell = (props) => {
|
|
10
10
|
const classNames = clsx(
|
|
@@ -6,7 +6,7 @@ import { DateInput as DateInput$1, DateSegment } from 'react-aria-components';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./DateInput.module.css#css-module
|
|
9
|
-
var DateInput_module_default = { "hop-DateInput": "DateInput-module__hop-
|
|
9
|
+
var DateInput_module_default = { "hop-DateInput": "DateInput-module__hop-DateInput___COeu6 Input-module__hop-Input___b6sqJ", "hop-DateInput--sm": "DateInput-module__hop-DateInput--sm___SPUv6 Input-module__hop-Input--sm___-kaze", "hop-DateSegment": "DateInput-module__hop-DateSegment___qQVBH", "hop-DateInput--disabled": "DateInput-module__hop-DateInput--disabled___Zn7-d" };
|
|
10
10
|
var GlobalDateInputCssSelector = "hop-DateInput";
|
|
11
11
|
var DateInput = (props, ref) => {
|
|
12
12
|
var _a;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { SelectContext } from './chunk-ZOTXNUAV.js';
|
|
2
|
-
import { _SelectValue } from './chunk-
|
|
3
|
-
import { _Popover } from './chunk-
|
|
2
|
+
import { _SelectValue } from './chunk-PEEZVJBZ.js';
|
|
3
|
+
import { _Popover } from './chunk-RYOH7QSB.js';
|
|
4
|
+
import { _ListBox } from './chunk-3ELANBLK.js';
|
|
5
|
+
import { _ListBoxItem } from './chunk-DC7X5RE2.js';
|
|
4
6
|
import { _ListBoxSection } from './chunk-PN5BRTOO.js';
|
|
5
|
-
import { _ListBox } from './chunk-TL2QA2C7.js';
|
|
6
|
-
import { _ListBoxItem } from './chunk-LEP3RA5T.js';
|
|
7
7
|
import { _Footer } from './chunk-RN3FLBX4.js';
|
|
8
|
-
import { _ToggleArrow } from './chunk-
|
|
9
|
-
import { FieldLabel } from './chunk-
|
|
10
|
-
import { _HelperMessage } from './chunk-
|
|
11
|
-
import { _ErrorMessage } from './chunk-
|
|
8
|
+
import { _ToggleArrow } from './chunk-W2QAXS4Z.js';
|
|
9
|
+
import { FieldLabel } from './chunk-WQRM6MNQ.js';
|
|
10
|
+
import { _HelperMessage } from './chunk-3I5FB7XQ.js';
|
|
11
|
+
import { _ErrorMessage } from './chunk-XCASARLL.js';
|
|
12
12
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
13
|
-
import { useFormProps } from './chunk-
|
|
14
|
-
import { ensureTextWrapper } from './chunk-
|
|
13
|
+
import { useFormProps } from './chunk-JH4E5Q3L.js';
|
|
14
|
+
import { ensureTextWrapper } from './chunk-SEFQ5T4U.js';
|
|
15
15
|
import { ClearContainerSlots, ClearProviders } from './chunk-PQSMCDAM.js';
|
|
16
16
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
17
17
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -24,7 +24,7 @@ import { useContextProps, composeRenderProps, TextContext as TextContext$1, Butt
|
|
|
24
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
// css-module:./Select.module.css#css-module
|
|
27
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
27
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___bITl9", "hop-Select--fluid": "Select-module__hop-Select--fluid___6Jwrr", "hop-Select__label": "Select-module__hop-Select__label___APljM", "hop-Select__button": "Select-module__hop-Select__button___TVuvT", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___mqTXo", "hop-Select__button--md": "Select-module__hop-Select__button--md___3-fos", "hop-Select__prefix": "Select-module__hop-Select__prefix___NMYhq", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___lKzec", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___8963x", "hop-Select__error-message": "Select-module__hop-Select__error-message___7rYrG" };
|
|
28
28
|
var GlobalSelectCssSelector = "hop-Select";
|
|
29
29
|
function Select(props, ref) {
|
|
30
30
|
var _a, _b, _c, _d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CalendarCell } from './chunk-GQZHYMGI.js';
|
|
2
|
+
import { RangeCalendarCell } from './chunk-EVHMTNF3.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { filterDOMProps } from '@react-aria/utils';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -8,7 +8,7 @@ import { CalendarStateContext, RangeCalendarStateContext, CalendarGrid as Calend
|
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./CalendarGrid.module.css#css-module
|
|
11
|
-
var CalendarGrid_module_default = { "hop-CalendarGrid": "CalendarGrid-module__hop-
|
|
11
|
+
var CalendarGrid_module_default = { "hop-CalendarGrid": "CalendarGrid-module__hop-CalendarGrid___lnQP2", "hop-CalendarGrid__body": "CalendarGrid-module__hop-CalendarGrid__body___wjaht", "hop-CalendarGrid__header-cell": "CalendarGrid-module__hop-CalendarGrid__header-cell___FEhZX" };
|
|
12
12
|
var GlobalCalendarGridCssSelector = "hop-CalendarGrid";
|
|
13
13
|
var CalendarGrid = (props) => {
|
|
14
14
|
const { weekdayStyle = "short", isFixedWeeks } = props;
|
|
@@ -9,13 +9,13 @@ var GlobalMenuTriggerCssSelector = "hop-MenuTrigger";
|
|
|
9
9
|
function MenuTrigger(props) {
|
|
10
10
|
const { align, direction, allowFlip, children, shouldCloseOnSelect } = props;
|
|
11
11
|
const [isPressed, setPressed] = useState(false);
|
|
12
|
-
const
|
|
12
|
+
const globalListeners = useGlobalListeners();
|
|
13
13
|
const onPressStart = (e) => {
|
|
14
14
|
if (e.pointerType !== "mouse") {
|
|
15
15
|
return;
|
|
16
16
|
}
|
|
17
17
|
setPressed(true);
|
|
18
|
-
addGlobalListener(document, "pointerup", () => {
|
|
18
|
+
globalListeners.addGlobalListener(document, "pointerup", () => {
|
|
19
19
|
setPressed(false);
|
|
20
20
|
}, { once: true, capture: true });
|
|
21
21
|
};
|
|
@@ -4,7 +4,7 @@ import { CalendarCell as CalendarCell$1 } from 'react-aria-components';
|
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
// css-module:./CalendarCell.module.css#css-module
|
|
7
|
-
var CalendarCell_module_default = { "hop-CalendarCell": "CalendarCell-module__hop-
|
|
7
|
+
var CalendarCell_module_default = { "hop-CalendarCell": "CalendarCell-module__hop-CalendarCell___Z2sR9" };
|
|
8
8
|
var GlobalCalendarCellCssSelector = "hop-CalendarCell";
|
|
9
9
|
var CalendarCell = (props) => {
|
|
10
10
|
const classNames = clsx(
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'rea
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Tile.module.css#css-module
|
|
16
|
-
var Tile_module_default = { "hop-Tile": "Tile-module__hop-
|
|
16
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___PtBBb", "hop-Tile--horizontal": "Tile-module__hop-Tile--horizontal___A2tP-", "hop-Tile--readonly": "Tile-module__hop-Tile--readonly___NdQ9o", "hop-Tile__image": "Tile-module__hop-Tile__image___o2dcG", "hop-Tile__illustration": "Tile-module__hop-Tile__illustration___MX4Bw", "hop-Tile--vertical": "Tile-module__hop-Tile--vertical___wpEA3", "hop-Tile__container": "Tile-module__hop-Tile__container___xfdZd", "hop-Tile__heading": "Tile-module__hop-Tile__heading___eTQ--", "hop-Tile__content": "Tile-module__hop-Tile__content___ZvUYr", "hop-Tile__icon-container": "Tile-module__hop-Tile__icon-container___hEj5T", "hop-Tile__icon": "Tile-module__hop-Tile__icon___jlx6T" };
|
|
17
17
|
var GlobalTileCssSelector = "hop-Tile";
|
|
18
18
|
var Tile = (props, ref) => {
|
|
19
19
|
var _a;
|
|
@@ -6,7 +6,7 @@ import { useContextProps, Input as Input$1 } from 'react-aria-components';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./Input.module.css#css-module
|
|
9
|
-
var Input_module_default = { "hop-Input": "Input-module__hop-
|
|
9
|
+
var Input_module_default = { "hop-Input": "Input-module__hop-Input___b6sqJ", "hop-Input--sm": "Input-module__hop-Input--sm___-kaze" };
|
|
10
10
|
var InputContext = createContext({});
|
|
11
11
|
var Input = forwardRef(function Input2(props, ref) {
|
|
12
12
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-MTULE7GI.js';
|
|
2
2
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-SEFQ5T4U.js';
|
|
4
4
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps, Link as Link$1, DEFAULT_SLOT } fro
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Link.module.css#css-module
|
|
15
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
15
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___pr3KH", "hop-Link--xs": "Link-module__hop-Link--xs___7up7s", "hop-Link--sm": "Link-module__hop-Link--sm___0jkhi", "hop-Link--md": "Link-module__hop-Link--md___CD-08", "hop-Link--lg": "Link-module__hop-Link--lg___eGYNH", "hop-Link--xl": "Link-module__hop-Link--xl___LKh-e", "hop-Link--2xl": "Link-module__hop-Link--2xl___SIpQj", "hop-Link--inherit": "Link-module__hop-Link--inherit___Khcyg", "hop-Link--standalone": "Link-module__hop-Link--standalone___mnTir", "hop-Link__text": "Link-module__hop-Link__text___-qfJZ", "hop-Link--quiet": "Link-module__hop-Link--quiet___Q1e80", "hop-Link--primary": "Link-module__hop-Link--primary___V-JG-", "hop-Link--secondary": "Link-module__hop-Link--secondary___6nGdf", "hop-Link__icon": "Link-module__hop-Link__icon___DXGdN", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___cnmHe", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___jghUK", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___U7VuP" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|