@hopper-ui/components 1.12.13 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/accordion/src/Accordion.css +79 -79
- package/dist/accordion/src/Accordion.js +3 -3
- package/dist/accordion/src/index.css +79 -79
- package/dist/accordion/src/index.js +3 -3
- 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 +2 -2
- package/dist/badge/src/index.css +64 -64
- package/dist/badge/src/index.js +4 -4
- package/dist/buttons/src/Button.css +107 -107
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +50 -50
- package/dist/buttons/src/ButtonGroup.js +1 -1
- 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 +8 -8
- 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 +5 -5
- package/dist/buttons/src/ToggleButton.css +143 -143
- package/dist/buttons/src/ToggleButton.js +5 -5
- package/dist/buttons/src/index.css +360 -360
- package/dist/buttons/src/index.js +13 -13
- package/dist/calendar/src/Calendar.css +2378 -0
- package/dist/calendar/src/Calendar.d.ts +26 -0
- package/dist/calendar/src/Calendar.js +30 -0
- package/dist/calendar/src/CalendarCell.css +363 -0
- package/dist/calendar/src/CalendarCell.d.ts +10 -0
- package/dist/calendar/src/CalendarCell.js +3 -0
- package/dist/calendar/src/CalendarContext.d.ts +8 -0
- package/dist/calendar/src/CalendarContext.js +2 -0
- package/dist/calendar/src/CalendarGrid.css +411 -0
- package/dist/calendar/src/CalendarGrid.d.ts +11 -0
- package/dist/calendar/src/CalendarGrid.js +4 -0
- package/dist/calendar/src/index.css +2378 -0
- package/dist/calendar/src/index.d.ts +5 -0
- package/dist/calendar/src/index.js +30 -0
- 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 +12 -12
- 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 +11 -11
- 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 +15 -15
- package/dist/{chunk-SSDVT6FA.js → chunk-2HHLA42B.js} +2 -2
- package/dist/{chunk-5ZZJ7QBM.js → chunk-2NMSCGQT.js} +1 -1
- package/dist/{chunk-YA2XEM3B.js → chunk-2YY774QU.js} +1 -1
- package/dist/{chunk-EM2TGIBA.js → chunk-3C3JWZDN.js} +1 -1
- package/dist/{chunk-4UEON2SG.js → chunk-3EB42KUI.js} +3 -3
- package/dist/{chunk-P3C6AI2L.js → chunk-4G5BR74A.js} +2 -2
- package/dist/{chunk-7E4MK6P4.js → chunk-4TPLPEAT.js} +1 -1
- package/dist/{chunk-GGRGVHUF.js → chunk-52YUPQDB.js} +11 -11
- package/dist/{chunk-7VBALMI2.js → chunk-55F6LIYV.js} +2 -2
- package/dist/{chunk-67LDY3HB.js → chunk-5KSZ6EAO.js} +8 -8
- package/dist/chunk-5XCTED25.js +7 -0
- package/dist/{chunk-BHMC6HDE.js → chunk-6EZYP6LY.js} +1 -1
- package/dist/{chunk-YBFICTQ4.js → chunk-6NBMYE3C.js} +3 -3
- package/dist/{chunk-T7OGVMOD.js → chunk-6OA5SETU.js} +8 -8
- package/dist/{chunk-577OWOAR.js → chunk-6XOGHHLK.js} +8 -8
- package/dist/{chunk-VXDUHXHI.js → chunk-7FLZYSIB.js} +3 -3
- package/dist/{chunk-WTOKPR6X.js → chunk-AF7J4Y6H.js} +3 -3
- package/dist/{chunk-3I2JUNVI.js → chunk-AFH5GUT7.js} +1 -1
- package/dist/{chunk-TZEASIS2.js → chunk-AHEJJJD7.js} +1 -1
- package/dist/{chunk-HK4LCPUO.js → chunk-AICFVGDT.js} +2 -2
- package/dist/{chunk-DB23QMHK.js → chunk-AMLOKFSR.js} +5 -5
- package/dist/{chunk-NNLLQWDS.js → chunk-AUITTQKV.js} +8 -2
- package/dist/{chunk-CYB45EKS.js → chunk-B4TKZ4DV.js} +4 -4
- package/dist/{chunk-27YMWKZX.js → chunk-BBUOC674.js} +1 -1
- package/dist/{chunk-3PLH6SCK.js → chunk-BVHXMURB.js} +2 -2
- package/dist/{chunk-BFUN63GA.js → chunk-BY6DCXPX.js} +3 -3
- package/dist/{chunk-PDWIBHL4.js → chunk-C3OZS7CZ.js} +5 -5
- package/dist/{chunk-SU5UM4UO.js → chunk-CE2IHMEK.js} +7 -7
- package/dist/{chunk-4SL6AU72.js → chunk-CKSCLLYL.js} +3 -3
- package/dist/{chunk-26QDPW7O.js → chunk-CQAEA54M.js} +3 -3
- package/dist/{chunk-HZHFKL46.js → chunk-D6YCXR7Q.js} +1 -1
- package/dist/{chunk-7NQAEE4B.js → chunk-DJBESVMS.js} +1 -1
- package/dist/chunk-DPMHKKON.js +27 -0
- package/dist/chunk-EVWAUIA4.js +111 -0
- package/dist/{chunk-SI5D5XPI.js → chunk-FCT4WLOG.js} +3 -3
- package/dist/{chunk-DZHPPFXE.js → chunk-FLNK6XSU.js} +2 -2
- package/dist/{chunk-JEW65OSP.js → chunk-G3ABR4FS.js} +3 -3
- package/dist/{chunk-4I37TB5S.js → chunk-GL6HKEZU.js} +1 -1
- package/dist/{chunk-5VV6VKO2.js → chunk-GMYLQ2CN.js} +2 -2
- package/dist/{chunk-YYUYFOT6.js → chunk-H3WTDVID.js} +9 -9
- package/dist/{chunk-JBQP7BZ2.js → chunk-HQDWNHJ2.js} +2 -2
- package/dist/{chunk-J3B3NUAK.js → chunk-HXVV4DWZ.js} +1 -1
- package/dist/{chunk-3DBB33JN.js → chunk-IHEQBSE5.js} +2 -2
- package/dist/{chunk-OQ3S7UYG.js → chunk-K7SXSZRA.js} +4 -4
- package/dist/{chunk-HG3NAGQL.js → chunk-KMDSE6Z4.js} +1 -1
- package/dist/{chunk-J3K5XDQW.js → chunk-L32LHDH2.js} +1 -1
- package/dist/{chunk-KIT4XTY4.js → chunk-LWU5ICDX.js} +1 -1
- package/dist/{chunk-KMFMTWML.js → chunk-LX6X3QLX.js} +3 -3
- package/dist/chunk-MEVTDL2E.js +41 -0
- package/dist/{chunk-6WVPVHBE.js → chunk-MNU77KJR.js} +3 -3
- package/dist/{chunk-EEORYWLE.js → chunk-NLVM3VH7.js} +4 -4
- package/dist/{chunk-YBJNDMGS.js → chunk-NRZI2J4W.js} +2 -2
- package/dist/{chunk-6E4GJWDC.js → chunk-NVTRHBT3.js} +1 -1
- package/dist/{chunk-HIOETBKN.js → chunk-OF2I7UQI.js} +5 -5
- package/dist/{chunk-6UZHCC4H.js → chunk-OJYUMSA5.js} +3 -3
- package/dist/{chunk-5HJF2QBO.js → chunk-OM27GDMO.js} +1 -1
- package/dist/{chunk-YVFAAZWI.js → chunk-OMBZHXAE.js} +2 -2
- package/dist/{chunk-QMHE6U7I.js → chunk-OMTLFCTK.js} +1 -1
- package/dist/{chunk-NHLWQBL4.js → chunk-PGYHKJ4G.js} +1 -1
- package/dist/{chunk-LG2G336Q.js → chunk-PLVKHSNV.js} +2 -2
- package/dist/{chunk-4RR4DNAM.js → chunk-QY6JZI7L.js} +2 -2
- package/dist/{chunk-XGOURU3Z.js → chunk-R4GV63B5.js} +12 -12
- package/dist/{chunk-MAGX3BE6.js → chunk-R7DVT7EW.js} +2 -2
- package/dist/{chunk-WLBTULR7.js → chunk-SSE62BU4.js} +6 -6
- package/dist/{chunk-5N3236AT.js → chunk-TCFT6QLC.js} +5 -5
- package/dist/{chunk-MXYXJK6R.js → chunk-TXQPP4X2.js} +3 -3
- package/dist/{chunk-ZGHILD7A.js → chunk-U5EZKZFC.js} +4 -4
- package/dist/{chunk-JBOJX5ZK.js → chunk-UKPLCFZY.js} +1 -1
- package/dist/{chunk-YJJB7STW.js → chunk-UOBIMON5.js} +1 -1
- package/dist/{chunk-2UVXHBK5.js → chunk-UPKYO4DF.js} +1 -1
- package/dist/{chunk-SZW4YKBB.js → chunk-V2KG5I4U.js} +1 -1
- package/dist/{chunk-VALUYUXI.js → chunk-V3CLCFDZ.js} +1 -1
- package/dist/{chunk-C2T3RU6Z.js → chunk-V3EHHHN5.js} +1 -1
- package/dist/{chunk-6VJNWNCW.js → chunk-VIKQUZ4H.js} +2 -2
- package/dist/{chunk-JZHCMBAM.js → chunk-VZHGCYQ2.js} +1 -1
- package/dist/{chunk-WEWSMASX.js → chunk-WBOHM3V2.js} +1 -1
- package/dist/{chunk-JJ5ZKTWF.js → chunk-WF2RYXDU.js} +3 -3
- package/dist/{chunk-X3F3IA7D.js → chunk-WFZ72OX3.js} +1 -1
- package/dist/{chunk-XU4ES5I3.js → chunk-WNQM5XTX.js} +2 -2
- package/dist/{chunk-DEC6TKSD.js → chunk-WPASCX7O.js} +2 -2
- package/dist/{chunk-2KQPHL64.js → chunk-WPQBCJGU.js} +5 -5
- package/dist/{chunk-SCPWA7Q4.js → chunk-XOAA4TLG.js} +11 -11
- package/dist/{chunk-CW4NYU5S.js → chunk-XRYGIVK2.js} +6 -6
- package/dist/{chunk-32CPMYEC.js → chunk-Y2PV47RZ.js} +2 -2
- package/dist/{chunk-A2WFFWJO.js → chunk-YCZSAOLE.js} +3 -3
- package/dist/{chunk-N6EFHZPW.js → chunk-YTAVQ4KG.js} +1 -1
- package/dist/{chunk-4LHDWAJQ.js → chunk-Z4E2QFTS.js} +3 -3
- package/dist/{chunk-RAZA3VEB.js → chunk-ZJ2CSARB.js} +2 -2
- package/dist/{chunk-KTGNAEWI.js → chunk-ZKQKGWOU.js} +2 -2
- package/dist/{chunk-TB6HGEIC.js → chunk-ZPAZYJIU.js} +2 -2
- package/dist/{chunk-RUHGPEQH.js → chunk-ZRZKPC6E.js} +3 -3
- package/dist/combobox/src/ComboBox.css +787 -787
- package/dist/combobox/src/ComboBox.js +24 -24
- package/dist/combobox/src/index.css +787 -787
- package/dist/combobox/src/index.js +24 -24
- 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/disclosure/src/Disclosure.css +49 -49
- package/dist/disclosure/src/Disclosure.js +3 -3
- package/dist/disclosure/src/DisclosureHeader.css +56 -56
- package/dist/disclosure/src/DisclosureHeader.js +4 -4
- 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 +9 -9
- 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/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- 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 +2 -2
- package/dist/illustrated-message/src/index.css +382 -382
- package/dist/illustrated-message/src/index.js +2 -2
- 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 +1364 -1170
- package/dist/index.d.ts +2 -0
- package/dist/index.js +124 -120
- 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 +11 -11
- 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 +3 -3
- package/dist/inputs/src/SearchField.css +386 -386
- package/dist/inputs/src/SearchField.js +12 -12
- package/dist/inputs/src/TextArea.css +68 -68
- package/dist/inputs/src/TextArea.js +11 -11
- 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 +22 -22
- 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 +10 -10
- 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 +10 -10
- package/dist/menu/src/Menu.css +710 -710
- package/dist/menu/src/Menu.js +4 -4
- 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/index.css +735 -735
- package/dist/menu/src/index.js +9 -9
- package/dist/modal/src/BaseModal.css +54 -54
- package/dist/modal/src/BaseModal.js +2 -2
- package/dist/modal/src/CustomModal.css +55 -55
- package/dist/modal/src/CustomModal.js +4 -4
- package/dist/modal/src/Modal.css +402 -402
- package/dist/modal/src/Modal.js +12 -12
- package/dist/modal/src/index.css +403 -403
- package/dist/modal/src/index.js +14 -14
- package/dist/overlays/popover/src/Popover.css +702 -702
- package/dist/overlays/popover/src/Popover.js +2 -2
- 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 +5 -5
- 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 +9 -9
- package/dist/radio/src/index.css +111 -111
- package/dist/radio/src/index.js +13 -13
- 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 +23 -23
- 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 +23 -23
- 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 +3 -3
- package/dist/switch/src/index.css +61 -61
- package/dist/switch/src/index.js +5 -5
- 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/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.js +8 -8
- package/dist/tag/src/TagGroup.css +49 -49
- package/dist/tag/src/TagGroup.js +8 -8
- package/dist/tag/src/index.css +542 -542
- package/dist/tag/src/index.js +13 -13
- package/dist/tile/src/Tile.css +66 -66
- package/dist/tile/src/Tile.js +2 -2
- 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 +3 -3
- 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 +4 -4
- 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 +4 -4
- 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/index.css +39 -39
- package/dist/utils/src/index.js +2 -2
- package/package.json +5 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-QY6JZI7L.js';
|
|
2
2
|
import { ListBoxItemContext } from './chunk-FDJDFE4U.js';
|
|
3
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
4
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
3
|
+
import { _ListBoxItemSkeleton } from './chunk-VZHGCYQ2.js';
|
|
4
|
+
import { _DecorativeCheckbox } from './chunk-4G5BR74A.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-4TPLPEAT.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___TjHGU", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___qpfvT", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___I4M8A", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___6pAAN", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___CqH99", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___M-3B9", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___hQzLo", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___VYurY", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___DkTJz", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___gf0hm", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___WTjzZ", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___RwmED", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___tjVtV", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___-XtMc", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___gk818", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___fy6wr", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___LVjOn" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -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-HQDWNHJ2.js';
|
|
4
|
+
import { mapOrbiterToHopperVariants } from './chunk-YTAVQ4KG.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-UOBIMON5.js';
|
|
9
|
+
import { _Spinner } from './chunk-ZPAZYJIU.js';
|
|
10
10
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
11
|
-
import { useLocalizedString } from './chunk-
|
|
12
|
-
import { ensureTextWrapper } from './chunk-
|
|
11
|
+
import { useLocalizedString } from './chunk-AUITTQKV.js';
|
|
12
|
+
import { ensureTextWrapper } from './chunk-4TPLPEAT.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';
|
|
@@ -25,7 +25,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
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___Jt7-2", "hop-Tag--sm": "Tag-module__hop-Tag--sm___xcQAM", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___V5M6p", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___Pvw-I", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___9htBb", "hop-Tag--md": "Tag-module__hop-Tag--md___TbpS0", "hop-Tag--lg": "Tag-module__hop-Tag--lg___oGh0r", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___-AZ-s", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___Swjqo", "hop-Tag--progress": "Tag-module__hop-Tag--progress___gvBhx", "hop-Tag--positive": "Tag-module__hop-Tag--positive___gq7K-", "hop-Tag--caution": "Tag-module__hop-Tag--caution___-Wm5c", "hop-Tag--negative": "Tag-module__hop-Tag--negative___QMEKQ", "hop-Tag--option1": "Tag-module__hop-Tag--option1___GEtoW", "hop-Tag--option2": "Tag-module__hop-Tag--option2___2SxhG", "hop-Tag--option3": "Tag-module__hop-Tag--option3___Kgouo", "hop-Tag--option4": "Tag-module__hop-Tag--option4___eg3KC", "hop-Tag--option5": "Tag-module__hop-Tag--option5___d1MFK", "hop-Tag--option6": "Tag-module__hop-Tag--option6___sUOKU", "hop-Tag__icon": "Tag-module__hop-Tag__icon___rwwMF", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___rgzvx", "hop-Tag__text": "Tag-module__hop-Tag__text___wrh7w", "hop-Tag__badge": "Tag-module__hop-Tag__badge___vKHZi", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___QXQnU" };
|
|
29
29
|
var GlobalTagCssSelector = "hop-Tag";
|
|
30
30
|
var TagToTextSizeAdapter = {
|
|
31
31
|
sm: "xs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
1
|
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
2
|
+
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-3C3JWZDN.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./SwitchField.module.css#css-module
|
|
16
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
16
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___lw90E", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___Pb1B2", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___g9OUm", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___--9ZU", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___IxOxk" };
|
|
17
17
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
18
18
|
var SwitchToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateDecorativeColorByName } from './chunk-GOTN4IS7.js';
|
|
2
2
|
import { useImageFallback } from './chunk-QJ5FQN3N.js';
|
|
3
|
-
import { _BrokenAvatar } from './chunk-
|
|
3
|
+
import { _BrokenAvatar } from './chunk-UKPLCFZY.js';
|
|
4
4
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
5
5
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
6
|
-
import { _Text } from './chunk-
|
|
6
|
+
import { _Text } from './chunk-3C3JWZDN.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, Pressable } from 'react-aria-compo
|
|
|
15
15
|
import { jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./Avatar.module.css#css-module
|
|
18
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
18
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___ry05r", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___IsJ25", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___itK5a", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___z0EwZ", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___pTRAW", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___kHQU4", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___G-eRC", "hop-Avatar--clickable": "Avatar-module__hop-Avatar--clickable___NqUZC", "hop-Avatar--focus-visible": "Avatar-module__hop-Avatar--focus-visible___zr9r5", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___MESLt", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___brWAC", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___-pHaj", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___r9w1-", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___7Se0K", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___NPmdn", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___YsM8M", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___9EsWH", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___CYhvU", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___YYwCl" };
|
|
19
19
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
20
20
|
var AvatarToTextSizeAdapter = {
|
|
21
21
|
xs: "xs",
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___lcU-F", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___J5LXh" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Image.module.css#css-module
|
|
11
|
-
var Image_module_default = { "hop-Image": "Image-module__hop-
|
|
11
|
+
var Image_module_default = { "hop-Image": "Image-module__hop-Image___FmmLY", "hop-Image--rounded": "Image-module__hop-Image--rounded___2Doz0", "hop-Image--circular": "Image-module__hop-Image--circular___j0YCI" };
|
|
12
12
|
var GlobalImageCssSelector = "hop-Image";
|
|
13
13
|
function Image(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ImageContext);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { CalendarCell as CalendarCell$1 } from 'react-aria-components';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
// css-module:./CalendarCell.module.css#css-module
|
|
7
|
+
var CalendarCell_module_default = { "hop-CalendarCell": "CalendarCell-module__hop-CalendarCell___rKt-5" };
|
|
8
|
+
var GlobalCalendarCellCssSelector = "hop-CalendarCell";
|
|
9
|
+
var CalendarCell = (props) => {
|
|
10
|
+
const classNames = clsx(
|
|
11
|
+
GlobalCalendarCellCssSelector,
|
|
12
|
+
cssModule(
|
|
13
|
+
CalendarCell_module_default,
|
|
14
|
+
GlobalCalendarCellCssSelector
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
return /* @__PURE__ */ jsx(
|
|
18
|
+
CalendarCell$1,
|
|
19
|
+
{
|
|
20
|
+
className: classNames,
|
|
21
|
+
...props,
|
|
22
|
+
children: ({ formattedDate }) => formattedDate
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { CalendarCell, GlobalCalendarCellCssSelector };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { _Header } from './chunk-XLJODMSX.js';
|
|
2
|
+
import { _Heading } from './chunk-HXVV4DWZ.js';
|
|
3
|
+
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-VIKQUZ4H.js';
|
|
5
|
+
import { CalendarContext } from './chunk-5XCTED25.js';
|
|
6
|
+
import { CalendarGrid } from './chunk-MEVTDL2E.js';
|
|
7
|
+
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
8
|
+
import { _Button } from './chunk-AMLOKFSR.js';
|
|
9
|
+
import { useLocalizedString } from './chunk-AUITTQKV.js';
|
|
10
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
12
|
+
import { AngleLeftIcon, AngleRightIcon } from '@hopper-ui/icons';
|
|
13
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
14
|
+
import clsx from 'clsx';
|
|
15
|
+
import { forwardRef } from 'react';
|
|
16
|
+
import { useContextProps, Calendar as Calendar$1, FieldErrorContext } from 'react-aria-components';
|
|
17
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
// css-module:./Calendar.module.css#css-module
|
|
20
|
+
var Calendar_module_default = { "hop-Calendar": "Calendar-module__hop-Calendar___YGUNB", "hop-Calendar__header": "Calendar-module__hop-Calendar__header___WY6rF", "hop-Calendar__header-button": "Calendar-module__hop-Calendar__header-button___gK5WJ", "hop-Calendar__header-heading": "Calendar-module__hop-Calendar__header-heading___3zYnw", "hop-Calendar__grids": "Calendar-module__hop-Calendar__grids___mSKq3", "hop-Calendar__error-message": "Calendar-module__hop-Calendar__error-message___ZsgBQ" };
|
|
21
|
+
var GlobalCalendarCssSelector = "hop-Calendar";
|
|
22
|
+
var Calendar = (props, ref) => {
|
|
23
|
+
[props, ref] = useContextProps(props, ref, CalendarContext);
|
|
24
|
+
const stringFormatter = useLocalizedString();
|
|
25
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
|
+
const {
|
|
27
|
+
className,
|
|
28
|
+
errorMessage,
|
|
29
|
+
style,
|
|
30
|
+
visibleMonths = 1,
|
|
31
|
+
...otherProps
|
|
32
|
+
} = ownProps;
|
|
33
|
+
const classNames = clsx(
|
|
34
|
+
GlobalCalendarCssSelector,
|
|
35
|
+
cssModule(
|
|
36
|
+
Calendar_module_default,
|
|
37
|
+
GlobalCalendarCssSelector
|
|
38
|
+
),
|
|
39
|
+
stylingProps.className,
|
|
40
|
+
className
|
|
41
|
+
);
|
|
42
|
+
const mergedStyles = {
|
|
43
|
+
...style,
|
|
44
|
+
...stylingProps.style
|
|
45
|
+
};
|
|
46
|
+
return /* @__PURE__ */ jsx(
|
|
47
|
+
Calendar$1,
|
|
48
|
+
{
|
|
49
|
+
...otherProps,
|
|
50
|
+
ref,
|
|
51
|
+
visibleDuration: { months: visibleMonths },
|
|
52
|
+
style: mergedStyles,
|
|
53
|
+
className: classNames,
|
|
54
|
+
children: ({ isInvalid }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55
|
+
/* @__PURE__ */ jsx(
|
|
56
|
+
SlotProvider,
|
|
57
|
+
{
|
|
58
|
+
values: [
|
|
59
|
+
[HeaderContext, null],
|
|
60
|
+
[HeadingContext, null]
|
|
61
|
+
],
|
|
62
|
+
children: /* @__PURE__ */ jsxs(_Header, { className: Calendar_module_default["hop-Calendar__header"], children: [
|
|
63
|
+
/* @__PURE__ */ jsx(
|
|
64
|
+
_Button,
|
|
65
|
+
{
|
|
66
|
+
"aria-label": stringFormatter.format("Calendar.previousButtonAriaLabel"),
|
|
67
|
+
className: Calendar_module_default["hop-Calendar__header-button"],
|
|
68
|
+
slot: "previous",
|
|
69
|
+
variant: "ghost-secondary",
|
|
70
|
+
children: /* @__PURE__ */ jsx(AngleLeftIcon, {})
|
|
71
|
+
}
|
|
72
|
+
),
|
|
73
|
+
/* @__PURE__ */ jsx(_Heading, { className: Calendar_module_default["hop-Calendar__header-heading"] }),
|
|
74
|
+
/* @__PURE__ */ jsx(
|
|
75
|
+
_Button,
|
|
76
|
+
{
|
|
77
|
+
"aria-label": stringFormatter.format("Calendar.nextButtonAriaLabel"),
|
|
78
|
+
className: Calendar_module_default["hop-Calendar__header-button"],
|
|
79
|
+
slot: "next",
|
|
80
|
+
variant: "ghost-secondary",
|
|
81
|
+
children: /* @__PURE__ */ jsx(AngleRightIcon, {})
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] })
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ jsx("div", { className: Calendar_module_default["hop-Calendar__grids"], children: Array.from({ length: visibleMonths }).map((_, i) => (
|
|
88
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
89
|
+
/* @__PURE__ */ jsx(CalendarGrid, { months: i }, i)
|
|
90
|
+
)) }),
|
|
91
|
+
/* @__PURE__ */ jsx(
|
|
92
|
+
SlotProvider,
|
|
93
|
+
{
|
|
94
|
+
values: [
|
|
95
|
+
[FieldErrorContext, {
|
|
96
|
+
isInvalid,
|
|
97
|
+
validationErrors: [],
|
|
98
|
+
validationDetails: {}
|
|
99
|
+
}]
|
|
100
|
+
],
|
|
101
|
+
children: /* @__PURE__ */ jsx(_ErrorMessage, { className: Calendar_module_default["hop-Calendar__error-message"], children: errorMessage || stringFormatter.format("Calendar.invalidSelection") })
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
] })
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
var _Calendar = forwardRef(Calendar);
|
|
109
|
+
_Calendar.displayName = "Calendar";
|
|
110
|
+
|
|
111
|
+
export { GlobalCalendarCssSelector, _Calendar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloseButtonContext } from './chunk-RBWFFWIG.js';
|
|
2
|
-
import { _Button } from './chunk-
|
|
3
|
-
import { useLocalizedString } from './chunk-
|
|
2
|
+
import { _Button } from './chunk-AMLOKFSR.js';
|
|
3
|
+
import { useLocalizedString } from './chunk-AUITTQKV.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./CloseButton.module.css#css-module
|
|
13
|
-
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-
|
|
13
|
+
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-CloseButton___1C-yJ" };
|
|
14
14
|
var GlobalCloseButtonCssSelector = "hop-CloseButton";
|
|
15
15
|
function CloseButton(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CloseButtonContext);
|
|
@@ -2,8 +2,8 @@ import { TileContext } from './chunk-S7KMOXY2.js';
|
|
|
2
2
|
import { _Content } from './chunk-5I6PDORP.js';
|
|
3
3
|
import { IllustrationContext } from './chunk-OL24RVDF.js';
|
|
4
4
|
import { ImageContext } from './chunk-JAR7CXVS.js';
|
|
5
|
-
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
6
5
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
6
|
+
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { CheckmarkIcon } from '@hopper-ui/icons';
|
|
@@ -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___oNx7P", "hop-Tile--horizontal": "Tile-module__hop-Tile--horizontal___NCdzi", "hop-Tile--readonly": "Tile-module__hop-Tile--readonly___QcirW", "hop-Tile__image": "Tile-module__hop-Tile__image___Npjq7", "hop-Tile__illustration": "Tile-module__hop-Tile__illustration___dw1yO", "hop-Tile--vertical": "Tile-module__hop-Tile--vertical___66qQT", "hop-Tile__container": "Tile-module__hop-Tile__container___oRgXk", "hop-Tile__heading": "Tile-module__hop-Tile__heading___32Hma", "hop-Tile__content": "Tile-module__hop-Tile__content___-It8q", "hop-Tile__icon-container": "Tile-module__hop-Tile__icon-container___YPrqE", "hop-Tile__icon": "Tile-module__hop-Tile__icon___NoiCv" };
|
|
17
17
|
var GlobalTileCssSelector = "hop-Tile";
|
|
18
18
|
var Tile = (props, ref) => {
|
|
19
19
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PopoverTrigger } from './chunk-KHDRGFVV.js';
|
|
2
|
-
import { _PopoverBase } from './chunk-
|
|
2
|
+
import { _PopoverBase } from './chunk-OMTLFCTK.js';
|
|
3
3
|
import { ContextualHelpContext } from './chunk-MR5BPD6R.js';
|
|
4
|
-
import { ensureTextWrapper } from './chunk-
|
|
4
|
+
import { ensureTextWrapper } from './chunk-4TPLPEAT.js';
|
|
5
5
|
import { ClearProviders, ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
6
6
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, ButtonContext, Button, Provider } from 'react-aria-com
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./ContextualHelp.module.css#css-module
|
|
17
|
-
var ContextualHelp_module_default = { "hop-ContextualHelp": "ContextualHelp-module__hop-
|
|
17
|
+
var ContextualHelp_module_default = { "hop-ContextualHelp": "ContextualHelp-module__hop-ContextualHelp___h0VPA", "hop-ContextualHelp__popover": "ContextualHelp-module__hop-ContextualHelp__popover___jz5TY" };
|
|
18
18
|
var GlobalContextualHelpCssSelector = "hop-ContextualHelp";
|
|
19
19
|
function ContextualHelp(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./IconList.module.css#css-module
|
|
11
|
-
var IconList_module_default = { "hop-IconList": "IconList-module__hop-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___Kxt8R" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -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-4TPLPEAT.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___onjbW", "hop-Link--xs": "Link-module__hop-Link--xs___7RWn9", "hop-Link--sm": "Link-module__hop-Link--sm___ljO-d", "hop-Link--md": "Link-module__hop-Link--md___vBv0W", "hop-Link--lg": "Link-module__hop-Link--lg___fDJNW", "hop-Link--xl": "Link-module__hop-Link--xl___o2tzl", "hop-Link--2xl": "Link-module__hop-Link--2xl___l57qw", "hop-Link--inherit": "Link-module__hop-Link--inherit___wEsEL", "hop-Link--standalone": "Link-module__hop-Link--standalone___qxprQ", "hop-Link__text": "Link-module__hop-Link__text___x7H2O", "hop-Link--quiet": "Link-module__hop-Link--quiet___hunrj", "hop-Link--primary": "Link-module__hop-Link--primary___5tCZT", "hop-Link--secondary": "Link-module__hop-Link--secondary___sgtXF", "hop-Link__icon": "Link-module__hop-Link__icon___e9o6d", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___yBq3i", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___c-hK4", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___T4A4I" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { FieldLabel } from './chunk-
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
7
|
-
import { _EmbeddedButton } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
9
|
-
import { useLocalizedString } from './chunk-
|
|
2
|
+
import { Input } from './chunk-V3EHHHN5.js';
|
|
3
|
+
import { _InputGroup } from './chunk-UPKYO4DF.js';
|
|
4
|
+
import { FieldLabel } from './chunk-B4TKZ4DV.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-BVHXMURB.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-VIKQUZ4H.js';
|
|
7
|
+
import { _EmbeddedButton } from './chunk-YTAVQ4KG.js';
|
|
8
|
+
import { useFormProps } from './chunk-UOBIMON5.js';
|
|
9
|
+
import { useLocalizedString } from './chunk-AUITTQKV.js';
|
|
10
10
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.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___Y7Z-2", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___btMny", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___8KQ3Z", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___FqTkp", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___2eXf7", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___1uiFH" };
|
|
24
24
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
25
25
|
function PasswordField(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _EmbeddedButton } from './chunk-
|
|
1
|
+
import { _EmbeddedButton } from './chunk-YTAVQ4KG.js';
|
|
2
2
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
3
|
-
import { useLocalizedString } from './chunk-
|
|
3
|
+
import { useLocalizedString } from './chunk-AUITTQKV.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import { useContextProps } from 'react-aria-components';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Heading.module.css#css-module
|
|
11
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
11
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___gEUf2", "hop-Heading--unset": "Heading-module__hop-Heading--unset___IwB8k", "hop-Heading--xs": "Heading-module__hop-Heading--xs___OGWvZ", "hop-Heading--sm": "Heading-module__hop-Heading--sm___-ovZV", "hop-Heading--md": "Heading-module__hop-Heading--md___pPieF", "hop-Heading--lg": "Heading-module__hop-Heading--lg___f6atC", "hop-Heading--xl": "Heading-module__hop-Heading--xl___8D1Ev", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___qxsZq", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___0oI3d" };
|
|
12
12
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
13
13
|
function Heading(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
2
|
import { TabContext, InternalTabsContext } from './chunk-K2FJKV3T.js';
|
|
3
3
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-3C3JWZDN.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
7
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, Tab as Tab$1, Provider } from 'react-aria-components';
|
|
|
12
12
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Tab.module.css#css-module
|
|
15
|
-
var Tab_module_default = { "hop-Tab": "Tab-module__hop-
|
|
15
|
+
var Tab_module_default = { "hop-Tab": "Tab-module__hop-Tab___sCked", "hop-Tab--fluid": "Tab-module__hop-Tab--fluid___AZ0-7", "hop-Tab--md": "Tab-module__hop-Tab--md___WEYEb", "hop-Tab__icon": "Tab-module__hop-Tab__icon___jbAri", "hop-Tab__text": "Tab-module__hop-Tab__text___CHZV-", "hop-Tab__badge": "Tab-module__hop-Tab__badge___NHCUb", "hop-Tab__tag": "Tab-module__hop-Tab__tag___0pMWu", "hop-Tab__selector": "Tab-module__hop-Tab__selector___edfEz", "hop-Tab__selector--inner": "Tab-module__hop-Tab__selector--inner___Im-Jk", "hop-Tab__selector--disabled": "Tab-module__hop-Tab__selector--disabled___Ixoly" };
|
|
16
16
|
var GlobalTabCssSelector = "hop-Tab";
|
|
17
17
|
function Tab(props, ref) {
|
|
18
18
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
1
|
+
import { _ToggleArrow } from './chunk-KMDSE6Z4.js';
|
|
2
|
+
import { _Heading } from './chunk-HXVV4DWZ.js';
|
|
4
3
|
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
4
|
+
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.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-DisclosureHeader___-
|
|
17
|
+
var DisclosureHeader_module_default = { "hop-DisclosureHeader": "DisclosureHeader-module__hop-DisclosureHeader___-W1kC", "hop-DisclosureHeader__button": "DisclosureHeader-module__hop-DisclosureHeader__button___7TXuq", "hop-DisclosureHeader__button--inline": "DisclosureHeader-module__hop-DisclosureHeader__button--inline___OWHFJ", "hop-DisclosureHeader__icon": "DisclosureHeader-module__hop-DisclosureHeader__icon___3Fu-k", "hop-DisclosureHeader__title": "DisclosureHeader-module__hop-DisclosureHeader__title___B8Uye", "hop-DisclosureHeader__toggle-arrow": "DisclosureHeader-module__hop-DisclosureHeader__toggle-arrow___vScQM" };
|
|
18
18
|
var GlobalDisclosureHeaderCssSelector = "hop-DisclosureHeader";
|
|
19
19
|
function DisclosureHeader(props, ref) {
|
|
20
20
|
[props, ref] = useContextProps(props, ref, DisclosureHeaderContext);
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
-
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___eFf-9" };
|
|
12
12
|
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
13
|
function ToggleArrow(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, TabPanel as TabPanel$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./TabPanel.module.css#css-module
|
|
10
|
-
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-
|
|
10
|
+
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-TabPanel___0KErc" };
|
|
11
11
|
var GlobalTabPanelCssSelector = "hop-TabPanel";
|
|
12
12
|
function TabPanel(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, TabPanelContext);
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___YFUsu", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___Rh9c3", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___uzhWC", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___g3e26", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___M1UOS", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___V7jRw", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___SsfBQ", "hop-RichIconAvatarImage--clickable": "RichIconAvatarImage-module__hop-RichIconAvatarImage--clickable___wSawv", "hop-RichIconAvatarImage--focus-visible": "RichIconAvatarImage-module__hop-RichIconAvatarImage--focus-visible___5lvIO", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___hVjF9" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { useFormProps } from './chunk-
|
|
5
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { useFormProps } from './chunk-UOBIMON5.js';
|
|
5
|
+
import { _Text } from './chunk-3C3JWZDN.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./CheckboxField.module.css#css-module
|
|
18
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
18
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___4U4BZ", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___lHw36", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___u1xrr", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___i0XyP", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___HjW-j" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { CalendarCell } from './chunk-DPMHKKON.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { useCallback } from 'react';
|
|
5
|
+
import { CalendarGrid as CalendarGrid$1, CalendarGridHeader, CalendarHeaderCell, CalendarGridBody } from 'react-aria-components';
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
// css-module:./CalendarGrid.module.css#css-module
|
|
9
|
+
var CalendarGrid_module_default = { "hop-CalendarGrid": "CalendarGrid-module__hop-CalendarGrid___Ujumm", "hop-CalendarGrid__body": "CalendarGrid-module__hop-CalendarGrid__body___Kcjgo", "hop-CalendarGrid__header-cell": "CalendarGrid-module__hop-CalendarGrid__header-cell___nRFaQ" };
|
|
10
|
+
var GlobalCalendarGridCssSelector = "hop-CalendarGrid";
|
|
11
|
+
var CalendarGrid = (props) => {
|
|
12
|
+
const { months, weekdayStyle = "short" } = props;
|
|
13
|
+
const classNames = clsx(
|
|
14
|
+
GlobalCalendarGridCssSelector,
|
|
15
|
+
cssModule(
|
|
16
|
+
CalendarGrid_module_default,
|
|
17
|
+
GlobalCalendarGridCssSelector
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
const formatMonthName = useCallback((day) => {
|
|
21
|
+
if (weekdayStyle === "short") {
|
|
22
|
+
return day.slice(0, -1);
|
|
23
|
+
}
|
|
24
|
+
return day;
|
|
25
|
+
}, [weekdayStyle]);
|
|
26
|
+
return /* @__PURE__ */ jsxs(
|
|
27
|
+
CalendarGrid$1,
|
|
28
|
+
{
|
|
29
|
+
weekdayStyle,
|
|
30
|
+
className: classNames,
|
|
31
|
+
offset: { months },
|
|
32
|
+
...props,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ jsx(CalendarGridHeader, { children: (day) => /* @__PURE__ */ jsx(CalendarHeaderCell, { className: CalendarGrid_module_default["hop-CalendarGrid__header-cell"], children: formatMonthName(day) }) }),
|
|
35
|
+
/* @__PURE__ */ jsx(CalendarGridBody, { className: CalendarGrid_module_default["hop-CalendarGrid__body"], children: (date) => /* @__PURE__ */ jsx(CalendarCell, { date }) })
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export { CalendarGrid, GlobalCalendarGridCssSelector };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuItemContext } from './chunk-OGC6BUEX.js';
|
|
2
2
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
3
3
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-3C3JWZDN.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, MenuItem as MenuItem$1, DEFAULT_SLOT } from 'react-ari
|
|
|
13
13
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./MenuItem.module.css#css-module
|
|
16
|
-
var MenuItem_module_default = { "hop-MenuItem": "MenuItem-module__hop-
|
|
16
|
+
var MenuItem_module_default = { "hop-MenuItem": "MenuItem-module__hop-MenuItem___0lInj", "hop-MenuItem__text": "MenuItem-module__hop-MenuItem__text___C-Oas", "hop-MenuItem--invalid": "MenuItem-module__hop-MenuItem--invalid___LGNUc", "hop-MenuItem__avatar": "MenuItem-module__hop-MenuItem__avatar___vlAsT", "hop-MenuItem__icon": "MenuItem-module__hop-MenuItem__icon___aEdpn", "hop-MenuItem__checkmark": "MenuItem-module__hop-MenuItem__checkmark___txE5G", "hop-MenuItem__description": "MenuItem-module__hop-MenuItem__description___WUrwf", "hop-MenuItem__end-icon": "MenuItem-module__hop-MenuItem__end-icon___lcQaK", "hop-MenuItem__arrow": "MenuItem-module__hop-MenuItem__arrow___w-pRC", "hop-MenuItem--xs": "MenuItem-module__hop-MenuItem--xs___n0rrR", "hop-MenuItem--sm": "MenuItem-module__hop-MenuItem--sm___mKIoE", "hop-MenuItem--md": "MenuItem-module__hop-MenuItem--md___xFKLb", "hop-MenuItem--lg": "MenuItem-module__hop-MenuItem--lg___v-EXQ" };
|
|
17
17
|
var GlobalMenuItemCssSelector = "hop-MenuItem";
|
|
18
18
|
var MenuItem = (props, ref) => {
|
|
19
19
|
[props, ref] = useContextProps(props, ref, MenuItemContext);
|
|
@@ -87,7 +87,7 @@ var MenuItem = (props, ref) => {
|
|
|
87
87
|
}]
|
|
88
88
|
],
|
|
89
89
|
children: [
|
|
90
|
-
selectionMode !== "none" && !hasSubmenu && isSelected && /* @__PURE__ */ jsx(CheckmarkIcon, { className: MenuItem_module_default["hop-MenuItem__checkmark"] }),
|
|
90
|
+
selectionMode !== "none" && !hasSubmenu && isSelected && /* @__PURE__ */ jsx(CheckmarkIcon, { className: MenuItem_module_default["hop-MenuItem__checkmark"], size: "sm" }),
|
|
91
91
|
typeof children === "string" ? /* @__PURE__ */ jsx(_Text, { children }) : children,
|
|
92
92
|
renderProps.hasSubmenu && /* @__PURE__ */ jsx(AngleRightIcon, { size: "sm", slot: "end-icon", className: MenuItem_module_default["hop-MenuItem__arrow"] })
|
|
93
93
|
]
|