@hopper-ui/components 1.13.0 → 1.14.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 +16 -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 +415 -457
- package/dist/alert/src/Alert.js +14 -14
- package/dist/alert/src/index.css +415 -457
- package/dist/alert/src/index.js +14 -14
- 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 +108 -120
- 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 +109 -121
- 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 +118 -130
- package/dist/buttons/src/LinkButton.js +6 -6
- package/dist/buttons/src/ToggleButton.css +144 -162
- package/dist/buttons/src/ToggleButton.js +4 -4
- package/dist/buttons/src/index.css +363 -405
- package/dist/buttons/src/index.js +15 -15
- package/dist/calendar/src/Calendar.css +683 -593
- package/dist/calendar/src/Calendar.js +15 -13
- package/dist/calendar/src/CalendarCell.css +50 -50
- package/dist/calendar/src/CalendarCell.js +1 -1
- package/dist/calendar/src/CalendarContext.d.ts +1 -1
- package/dist/calendar/src/CalendarGrid.css +191 -62
- package/dist/calendar/src/CalendarGrid.d.ts +2 -4
- package/dist/calendar/src/CalendarGrid.js +3 -2
- package/dist/calendar/src/CalendarHeader.css +2154 -0
- package/dist/calendar/src/CalendarHeader.d.ts +12 -0
- package/dist/calendar/src/CalendarHeader.js +24 -0
- package/dist/calendar/src/RangeCalendar.css +2474 -0
- package/dist/calendar/src/RangeCalendar.d.ts +28 -0
- package/dist/calendar/src/RangeCalendar.js +32 -0
- package/dist/calendar/src/RangeCalendarCell.css +405 -0
- package/dist/calendar/src/RangeCalendarCell.d.ts +10 -0
- package/dist/calendar/src/RangeCalendarCell.js +3 -0
- package/dist/calendar/src/RangeCalendarContext.d.ts +10 -0
- package/dist/calendar/src/RangeCalendarContext.js +2 -0
- package/dist/calendar/src/index.css +718 -590
- package/dist/calendar/src/index.d.ts +4 -0
- package/dist/calendar/src/index.js +17 -13
- package/dist/callout/src/Callout.css +376 -418
- package/dist/callout/src/Callout.js +10 -10
- package/dist/callout/src/CompactCallout.css +412 -454
- package/dist/callout/src/CompactCallout.js +9 -9
- package/dist/callout/src/index.css +425 -467
- 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 +4 -4
- package/dist/checkbox/src/CheckboxGroup.css +111 -111
- package/dist/checkbox/src/CheckboxGroup.js +9 -9
- 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 +13 -13
- package/dist/{chunk-WFZ72OX3.js → chunk-2A4F7N2C.js} +1 -1
- package/dist/{chunk-BVHXMURB.js → chunk-2LG5RCUP.js} +2 -2
- package/dist/{chunk-55F6LIYV.js → chunk-2YG7EVLK.js} +2 -2
- package/dist/chunk-3FB5J25C.js +27 -0
- package/dist/{chunk-Y2PV47RZ.js → chunk-3HLNIWQA.js} +2 -2
- package/dist/{chunk-AF7J4Y6H.js → chunk-3X6R7J3V.js} +2 -2
- package/dist/{chunk-HQDWNHJ2.js → chunk-43QBXQUI.js} +1 -1
- package/dist/{chunk-SSE62BU4.js → chunk-4UGJNSKW.js} +5 -5
- package/dist/{chunk-LX6X3QLX.js → chunk-4ZL64JE6.js} +4 -4
- package/dist/{chunk-2YY774QU.js → chunk-54CFEEIP.js} +2 -2
- package/dist/{chunk-KMDSE6Z4.js → chunk-5UNFYDBR.js} +1 -1
- package/dist/{chunk-FLNK6XSU.js → chunk-6AIEEAGT.js} +1 -1
- package/dist/chunk-6RDTDHXI.js +7 -0
- package/dist/chunk-75HVUGW2.js +75 -0
- package/dist/{chunk-UKPLCFZY.js → chunk-77KPP7QI.js} +1 -1
- package/dist/{chunk-K7SXSZRA.js → chunk-7OINRC2N.js} +4 -4
- package/dist/{chunk-7FLZYSIB.js → chunk-7Q4CDPCN.js} +4 -4
- package/dist/{chunk-6NBMYE3C.js → chunk-7XBRF7TD.js} +3 -3
- package/dist/{chunk-B4TKZ4DV.js → chunk-A4W6YBTC.js} +3 -3
- package/dist/{chunk-AFH5GUT7.js → chunk-A4XVKCLN.js} +1 -1
- package/dist/{chunk-6EZYP6LY.js → chunk-AALDYZL3.js} +1 -1
- package/dist/{chunk-ZRZKPC6E.js → chunk-APFTAQQB.js} +3 -3
- package/dist/{chunk-52YUPQDB.js → chunk-AS3HJJWD.js} +11 -11
- package/dist/{chunk-VIKQUZ4H.js → chunk-ASKESL36.js} +2 -2
- package/dist/{chunk-U5EZKZFC.js → chunk-BCYZ33RH.js} +4 -4
- package/dist/{chunk-CQAEA54M.js → chunk-BYLUZKF7.js} +3 -3
- package/dist/{chunk-V3EHHHN5.js → chunk-CACU6GRN.js} +1 -1
- package/dist/{chunk-AHEJJJD7.js → chunk-CB7PD4P6.js} +1 -1
- package/dist/{chunk-3C3JWZDN.js → chunk-CH4HCYIC.js} +1 -1
- package/dist/{chunk-ZPAZYJIU.js → chunk-CNAQAJVQ.js} +2 -2
- package/dist/{chunk-H3WTDVID.js → chunk-CRCHL42E.js} +8 -8
- package/dist/{chunk-GMYLQ2CN.js → chunk-D2GNZ645.js} +2 -2
- package/dist/{chunk-BBUOC674.js → chunk-DJVTI7JB.js} +1 -1
- package/dist/{chunk-CE2IHMEK.js → chunk-ENTTKGX4.js} +6 -6
- package/dist/{chunk-C3OZS7CZ.js → chunk-FHAWLKSN.js} +5 -5
- package/dist/{chunk-PLVKHSNV.js → chunk-FVMCBXSA.js} +2 -2
- package/dist/{chunk-3EB42KUI.js → chunk-FW2ZB3SW.js} +3 -3
- package/dist/{chunk-MNU77KJR.js → chunk-G5PJDAL6.js} +2 -2
- package/dist/{chunk-ZJ2CSARB.js → chunk-GTEVQRWP.js} +2 -2
- package/dist/{chunk-CKSCLLYL.js → chunk-H45QOSLA.js} +3 -3
- package/dist/{chunk-FCT4WLOG.js → chunk-HBJRMTW3.js} +2 -2
- package/dist/{chunk-R7DVT7EW.js → chunk-HIBNARAJ.js} +3 -3
- package/dist/{chunk-WNQM5XTX.js → chunk-HRYDCQWN.js} +3 -3
- package/dist/{chunk-MEVTDL2E.js → chunk-HTNGLQV3.js} +8 -7
- package/dist/{chunk-NLVM3VH7.js → chunk-HXY6C4UE.js} +3 -3
- package/dist/{chunk-R4GV63B5.js → chunk-IRJEB5MN.js} +12 -12
- package/dist/{chunk-EVWAUIA4.js → chunk-ISL4XKAH.js} +6 -42
- package/dist/{chunk-XRYGIVK2.js → chunk-IUEOA65B.js} +5 -5
- package/dist/{chunk-IHEQBSE5.js → chunk-JFU5VYKM.js} +2 -2
- package/dist/{chunk-L32LHDH2.js → chunk-JNDDFQPA.js} +1 -1
- package/dist/{chunk-WPASCX7O.js → chunk-KNPGE7AT.js} +2 -2
- package/dist/{chunk-YTAVQ4KG.js → chunk-LGR2RZXC.js} +1 -1
- package/dist/{chunk-2HHLA42B.js → chunk-LI7Y327D.js} +2 -2
- package/dist/{chunk-AMLOKFSR.js → chunk-LLV32SPC.js} +4 -4
- package/dist/{chunk-GL6HKEZU.js → chunk-LUHHZHLP.js} +1 -1
- package/dist/{chunk-4G5BR74A.js → chunk-MCFQDGHN.js} +2 -2
- package/dist/{chunk-V2KG5I4U.js → chunk-MRQZSVRW.js} +1 -1
- package/dist/{chunk-6OA5SETU.js → chunk-MUJYBTIN.js} +8 -8
- package/dist/{chunk-BY6DCXPX.js → chunk-MZYYW3TY.js} +3 -3
- package/dist/{chunk-XOAA4TLG.js → chunk-N4TEXNGK.js} +11 -11
- package/dist/{chunk-UPKYO4DF.js → chunk-OJUN2H6V.js} +1 -1
- package/dist/{chunk-VZHGCYQ2.js → chunk-OJYOSDPL.js} +1 -1
- package/dist/{chunk-G3ABR4FS.js → chunk-OQ6HFUQ3.js} +3 -3
- package/dist/{chunk-6XOGHHLK.js → chunk-OVHESP47.js} +8 -8
- package/dist/{chunk-AICFVGDT.js → chunk-P5ZHQZHR.js} +4 -4
- package/dist/{chunk-D6YCXR7Q.js → chunk-Q3NRNX5E.js} +1 -1
- package/dist/{chunk-TCFT6QLC.js → chunk-Q5EPAFXX.js} +5 -5
- package/dist/{chunk-HXVV4DWZ.js → chunk-QLQE4MG3.js} +1 -1
- package/dist/{chunk-5KSZ6EAO.js → chunk-QQM35T7F.js} +8 -8
- package/dist/{chunk-DPMHKKON.js → chunk-QWQSAPGY.js} +1 -1
- package/dist/{chunk-YCZSAOLE.js → chunk-R537A3GJ.js} +3 -3
- package/dist/chunk-R6U2DJ7F.js +64 -0
- package/dist/{chunk-WBOHM3V2.js → chunk-RM4RA352.js} +1 -1
- package/dist/{chunk-4TPLPEAT.js → chunk-S7CXZQ7K.js} +1 -1
- package/dist/{chunk-OM27GDMO.js → chunk-SURKQFKU.js} +1 -1
- package/dist/{chunk-PGYHKJ4G.js → chunk-T7MZCY65.js} +1 -1
- package/dist/{chunk-OJYUMSA5.js → chunk-T7TOWODH.js} +3 -3
- package/dist/{chunk-NVTRHBT3.js → chunk-UQ43XQVA.js} +1 -1
- package/dist/{chunk-UOBIMON5.js → chunk-VDGVACFR.js} +1 -1
- package/dist/{chunk-2NMSCGQT.js → chunk-VQNM6X3I.js} +2 -2
- package/dist/{chunk-V3CLCFDZ.js → chunk-XHTIMXOH.js} +1 -1
- package/dist/{chunk-OF2I7UQI.js → chunk-XR366337.js} +4 -4
- package/dist/{chunk-WPQBCJGU.js → chunk-XWYQHBDL.js} +6 -6
- package/dist/{chunk-QY6JZI7L.js → chunk-XZUGEUVP.js} +2 -2
- package/dist/{chunk-ZKQKGWOU.js → chunk-Y4MQB3NW.js} +2 -2
- package/dist/{chunk-TXQPP4X2.js → chunk-Y7SJHMK7.js} +2 -2
- package/dist/{chunk-NRZI2J4W.js → chunk-YCULGNEG.js} +1 -1
- package/dist/{chunk-WF2RYXDU.js → chunk-YI4HIGEC.js} +2 -2
- package/dist/{chunk-OMTLFCTK.js → chunk-YK5YTFQK.js} +1 -1
- package/dist/{chunk-LWU5ICDX.js → chunk-Z2IAX56D.js} +1 -1
- package/dist/{chunk-OMBZHXAE.js → chunk-ZBM5TKRK.js} +2 -2
- package/dist/{chunk-DJBESVMS.js → chunk-ZSKP6C45.js} +1 -1
- package/dist/{chunk-Z4E2QFTS.js → chunk-ZW3BVETI.js} +3 -3
- package/dist/combobox/src/ComboBox.css +790 -832
- package/dist/combobox/src/ComboBox.js +23 -23
- package/dist/combobox/src/index.css +790 -832
- package/dist/combobox/src/index.js +23 -23
- package/dist/contextual-help/src/ContextualHelp.css +711 -753
- package/dist/contextual-help/src/ContextualHelp.js +4 -4
- package/dist/contextual-help/src/index.css +711 -753
- 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/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 +385 -427
- package/dist/illustrated-message/src/IllustratedMessage.js +4 -4
- package/dist/illustrated-message/src/index.css +385 -427
- package/dist/illustrated-message/src/index.js +4 -4
- 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 +3 -3
- package/dist/index.css +1382 -1254
- package/dist/index.d.ts +2 -0
- package/dist/index.js +130 -126
- 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 +383 -425
- 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 +389 -431
- package/dist/inputs/src/SearchField.js +13 -13
- package/dist/inputs/src/TextArea.css +68 -68
- package/dist/inputs/src/TextArea.js +10 -10
- package/dist/inputs/src/TextField.css +387 -429
- package/dist/inputs/src/TextField.js +16 -16
- package/dist/inputs/src/index.css +437 -479
- 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 +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 +8 -8
- package/dist/menu/src/Menu.css +713 -755
- package/dist/menu/src/Menu.js +3 -3
- 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 +738 -780
- package/dist/menu/src/index.js +8 -8
- 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 +3 -3
- package/dist/modal/src/Modal.css +405 -447
- package/dist/modal/src/Modal.js +12 -12
- package/dist/modal/src/index.css +406 -448
- package/dist/modal/src/index.js +13 -13
- package/dist/overlays/popover/src/Popover.css +705 -747
- 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 +708 -750
- package/dist/overlays/popover/src/index.js +6 -6
- 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 +2 -2
- package/dist/segmented-control/src/SegmentedControlItem.css +54 -54
- package/dist/segmented-control/src/SegmentedControlItem.js +3 -3
- package/dist/segmented-control/src/index.css +55 -55
- package/dist/segmented-control/src/index.js +4 -4
- package/dist/select/src/Select.css +732 -774
- package/dist/select/src/Select.js +22 -22
- package/dist/select/src/SelectValue.css +104 -104
- package/dist/select/src/SelectValue.js +2 -2
- package/dist/select/src/index.css +732 -774
- package/dist/select/src/index.js +22 -22
- 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 +560 -602
- 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 +567 -609
- package/dist/tabs/src/index.js +5 -5
- package/dist/tag/src/Tag.css +535 -577
- 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 +545 -587
- 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/index.css +39 -39
- package/dist/utils/src/index.js +2 -2
- package/package.json +5 -5
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
4
|
+
import { GlobalDOMAttributes } from '@react-types/shared';
|
|
5
|
+
import { DateValue, RangeCalendarProps as RangeCalendarProps$1 } from 'react-aria-components';
|
|
6
|
+
import { BaseComponentDOMProps } from '../../utils/src/types.js';
|
|
7
|
+
|
|
8
|
+
declare const GlobalRangeCalendarCssSelector = "hop-RangeCalendar";
|
|
9
|
+
type OmittedRangeCalendarProps = "visibleDuration" | "style" | "className" | "children" | keyof GlobalDOMAttributes;
|
|
10
|
+
interface RangeCalendarProps<T extends DateValue> extends Omit<RangeCalendarProps$1<T>, OmittedRangeCalendarProps>, StyledComponentProps<BaseComponentDOMProps> {
|
|
11
|
+
/**
|
|
12
|
+
* The error message to display when the range calendar is invalid.
|
|
13
|
+
*/
|
|
14
|
+
errorMessage?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* The number of months to display at once.
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
visibleMonths?: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A range calendar displays one or more date grids and allows users to select a contiguous range of dates.
|
|
23
|
+
*
|
|
24
|
+
* [View Documentation](https://hopper.workleap.design/components/RangeCalendar)
|
|
25
|
+
*/
|
|
26
|
+
declare const _RangeCalendar: react.ForwardRefExoticComponent<RangeCalendarProps<DateValue> & react.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export { GlobalRangeCalendarCssSelector, _RangeCalendar as RangeCalendar, type RangeCalendarProps };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export { GlobalRangeCalendarCssSelector, _RangeCalendar as RangeCalendar } from '../../chunk-75HVUGW2.js';
|
|
2
|
+
import '../../chunk-6RDTDHXI.js';
|
|
3
|
+
import '../../chunk-ASKESL36.js';
|
|
4
|
+
import '../../chunk-FV74YT2D.js';
|
|
5
|
+
import '../../chunk-HTNGLQV3.js';
|
|
6
|
+
import '../../chunk-3FB5J25C.js';
|
|
7
|
+
import '../../chunk-QWQSAPGY.js';
|
|
8
|
+
import '../../chunk-R6U2DJ7F.js';
|
|
9
|
+
import '../../chunk-XLJODMSX.js';
|
|
10
|
+
import '../../chunk-QLQE4MG3.js';
|
|
11
|
+
import '../../chunk-FOQ7KN4V.js';
|
|
12
|
+
import '../../chunk-2NSUMKNH.js';
|
|
13
|
+
import '../../chunk-WJRMD4JP.js';
|
|
14
|
+
import '../../chunk-LLV32SPC.js';
|
|
15
|
+
import '../../chunk-MRQZSVRW.js';
|
|
16
|
+
import '../../chunk-VDGVACFR.js';
|
|
17
|
+
import '../../chunk-UYYHPXUH.js';
|
|
18
|
+
import '../../chunk-CNAQAJVQ.js';
|
|
19
|
+
import '../../chunk-5K3V5PGZ.js';
|
|
20
|
+
import '../../chunk-GBWXEK6N.js';
|
|
21
|
+
import '../../chunk-WMTWFKKP.js';
|
|
22
|
+
import '../../chunk-AUITTQKV.js';
|
|
23
|
+
import '../../chunk-H5YTU3U7.js';
|
|
24
|
+
import '../../chunk-S7CXZQ7K.js';
|
|
25
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
26
|
+
import '../../chunk-CH4HCYIC.js';
|
|
27
|
+
import '../../chunk-PQSMCDAM.js';
|
|
28
|
+
import '../../chunk-ZNOU2CGM.js';
|
|
29
|
+
import '../../chunk-65JPI4FL.js';
|
|
30
|
+
import '../../chunk-M36KANKC.js';
|
|
31
|
+
import '../../chunk-KVDXQMWI.js';
|
|
32
|
+
import '../../chunk-JSBRDJBE.js';
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/heading/src/Heading.module.css/#css-module-data */
|
|
2
|
+
.Heading-module__hop-Heading___rc2n8 {
|
|
3
|
+
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
|
+
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
|
+
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
6
|
+
--hop-Heading-xs-line-height: var(--hop-heading-xs-line-height);
|
|
7
|
+
--hop-Heading-sm-font-size: var(--hop-heading-sm-font-size);
|
|
8
|
+
--hop-Heading-sm-font-family: var(--hop-heading-sm-font-family);
|
|
9
|
+
--hop-Heading-sm-font-weight: var(--hop-heading-sm-font-weight);
|
|
10
|
+
--hop-Heading-sm-line-height: var(--hop-heading-sm-line-height);
|
|
11
|
+
--hop-Heading-md-font-size: var(--hop-heading-md-font-size);
|
|
12
|
+
--hop-Heading-md-font-family: var(--hop-heading-md-font-family);
|
|
13
|
+
--hop-Heading-md-font-weight: var(--hop-heading-md-font-weight);
|
|
14
|
+
--hop-Heading-md-line-height: var(--hop-heading-md-line-height);
|
|
15
|
+
--hop-Heading-lg-font-size: var(--hop-heading-lg-font-size);
|
|
16
|
+
--hop-Heading-lg-font-family: var(--hop-heading-lg-font-family);
|
|
17
|
+
--hop-Heading-lg-font-weight: var(--hop-heading-lg-font-weight);
|
|
18
|
+
--hop-Heading-lg-line-height: var(--hop-heading-lg-line-height);
|
|
19
|
+
--hop-Heading-xl-font-size: var(--hop-heading-xl-font-size);
|
|
20
|
+
--hop-Heading-xl-font-family: var(--hop-heading-xl-font-family);
|
|
21
|
+
--hop-Heading-xl-font-weight: var(--hop-heading-xl-font-weight);
|
|
22
|
+
--hop-Heading-xl-line-height: var(--hop-heading-xl-line-height);
|
|
23
|
+
--hop-Heading-2xl-font-size: var(--hop-heading-2xl-font-size);
|
|
24
|
+
--hop-Heading-2xl-font-family: var(--hop-heading-2xl-font-family);
|
|
25
|
+
--hop-Heading-2xl-font-weight: var(--hop-heading-2xl-font-weight);
|
|
26
|
+
--hop-Heading-2xl-line-height: var(--hop-heading-2xl-line-height);
|
|
27
|
+
--hop-Heading-3xl-font-size: var(--hop-heading-3xl-font-size);
|
|
28
|
+
--hop-Heading-3xl-font-family: var(--hop-heading-3xl-font-family);
|
|
29
|
+
--hop-Heading-3xl-font-weight: var(--hop-heading-3xl-font-weight);
|
|
30
|
+
--hop-Heading-3xl-line-height: var(--hop-heading-3xl-line-height);
|
|
31
|
+
--hop-Heading-inherit-size-font-size: inherit;
|
|
32
|
+
--hop-Heading-inherit-size-font-family: inherit;
|
|
33
|
+
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
|
+
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
|
+
}
|
|
36
|
+
:where(.Heading-module__hop-Heading___rc2n8) {
|
|
37
|
+
margin: 0;
|
|
38
|
+
color: var(--hop-neutral-text);
|
|
39
|
+
}
|
|
40
|
+
:where(.Heading-module__hop-Heading___rc2n8):not(.Heading-module__hop-Heading--unset___RUSWZ) {
|
|
41
|
+
font-family: var(--font-family);
|
|
42
|
+
font-size: var(--font-size);
|
|
43
|
+
font-weight: var(--font-weight);
|
|
44
|
+
line-height: var(--line-height);
|
|
45
|
+
}
|
|
46
|
+
:where(.Heading-module__hop-Heading--xs___amk3W) {
|
|
47
|
+
--font-size: var(--hop-Heading-xs-font-size);
|
|
48
|
+
--font-family: var(--hop-Heading-xs-font-family);
|
|
49
|
+
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
50
|
+
--line-height: var(--hop-Heading-xs-line-height);
|
|
51
|
+
}
|
|
52
|
+
:where(.Heading-module__hop-Heading--sm___ytcFP) {
|
|
53
|
+
--font-size: var(--hop-Heading-sm-font-size);
|
|
54
|
+
--font-family: var(--hop-Heading-sm-font-family);
|
|
55
|
+
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
56
|
+
--line-height: var(--hop-Heading-sm-line-height);
|
|
57
|
+
}
|
|
58
|
+
:where(.Heading-module__hop-Heading--md___znPNJ) {
|
|
59
|
+
--font-size: var(--hop-Heading-md-font-size);
|
|
60
|
+
--font-family: var(--hop-Heading-md-font-family);
|
|
61
|
+
--font-weight: var(--hop-Heading-md-font-weight);
|
|
62
|
+
--line-height: var(--hop-Heading-md-line-height);
|
|
63
|
+
}
|
|
64
|
+
:where(.Heading-module__hop-Heading--lg___4Z9V7) {
|
|
65
|
+
--font-size: var(--hop-Heading-lg-font-size);
|
|
66
|
+
--font-family: var(--hop-Heading-lg-font-family);
|
|
67
|
+
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
68
|
+
--line-height: var(--hop-Heading-lg-line-height);
|
|
69
|
+
}
|
|
70
|
+
:where(.Heading-module__hop-Heading--xl___azZOp) {
|
|
71
|
+
--font-size: var(--hop-Heading-xl-font-size);
|
|
72
|
+
--font-family: var(--hop-Heading-xl-font-family);
|
|
73
|
+
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
74
|
+
--line-height: var(--hop-Heading-xl-line-height);
|
|
75
|
+
}
|
|
76
|
+
:where(.Heading-module__hop-Heading--2xl___Bf135) {
|
|
77
|
+
--font-size: var(--hop-Heading-2xl-font-size);
|
|
78
|
+
--font-family: var(--hop-Heading-2xl-font-family);
|
|
79
|
+
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
80
|
+
--line-height: var(--hop-Heading-2xl-line-height);
|
|
81
|
+
}
|
|
82
|
+
:where(.Heading-module__hop-Heading--3xl___417fb) {
|
|
83
|
+
--font-size: var(--hop-Heading-3xl-font-size);
|
|
84
|
+
--font-family: var(--hop-Heading-3xl-font-family);
|
|
85
|
+
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
86
|
+
--line-height: var(--hop-Heading-3xl-line-height);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/form/src/Form.module.css/#css-module-data */
|
|
90
|
+
.Form-module__hop-Form___OIgeK {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
gap: var(--hop-space-stack-lg);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/label/src/Label.module.css/#css-module-data */
|
|
97
|
+
.Label-module__hop-Label___hvOhM {
|
|
98
|
+
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
99
|
+
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
100
|
+
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
101
|
+
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
102
|
+
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
103
|
+
}
|
|
104
|
+
:where(.Label-module__hop-Label___hvOhM) {
|
|
105
|
+
font-family: var(--hop-Label-font-family);
|
|
106
|
+
font-size: var(--hop-Label-font-size);
|
|
107
|
+
font-weight: var(--hop-Label-font-weight);
|
|
108
|
+
line-height: var(--hop-Label-line-height);
|
|
109
|
+
color: var(--hop-Label-color);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/label/src/FieldLabel.module.css/#css-module-data */
|
|
113
|
+
.FieldLabel-module__hop-FieldLabel__wrapper___tgN64 {
|
|
114
|
+
display: flex;
|
|
115
|
+
gap: var(--hop-space-inset-xs);
|
|
116
|
+
align-items: center;
|
|
117
|
+
}
|
|
118
|
+
.FieldLabel-module__hop-FieldLabel__indicator___ydAcf {
|
|
119
|
+
padding-inline-start: var(--hop-space-20);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/overline-text/src/OverlineText.module.css/#css-module-data */
|
|
123
|
+
:where(.OverlineText-module__hop-OverlineText___RpbzC) {
|
|
124
|
+
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
125
|
+
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
126
|
+
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
127
|
+
--hop-OverlineText-letter-spacing: 0.015rem;
|
|
128
|
+
--hop-OverlineText-line-height: var(--hop-overline-line-height);
|
|
129
|
+
--hop-OverlineText-top-offset: var(--hop-overline-top-offset);
|
|
130
|
+
--hop-OverlineText-bottom-offset: var(--hop-overline-bottom-offset);
|
|
131
|
+
--font-family: var(--hop-OverlineText-font-family);
|
|
132
|
+
--font-size: var(--hop-OverlineText-font-size);
|
|
133
|
+
--font-weight: var(--hop-OverlineText-font-weight);
|
|
134
|
+
--letter-spacing: var(--hop-OverlineText-letter-spacing);
|
|
135
|
+
--line-height: var(--hop-OverlineText-line-height);
|
|
136
|
+
--top-offset: var(--hop-OverlineText-top-offset);
|
|
137
|
+
--bottom-offset: var(--hop-OverlineText-bottom-offset);
|
|
138
|
+
box-sizing: border-box;
|
|
139
|
+
font-family: var(--font-family);
|
|
140
|
+
font-size: var(--font-size);
|
|
141
|
+
font-feature-settings: "case";
|
|
142
|
+
font-weight: var(--font-weight);
|
|
143
|
+
line-height: var(--line-height);
|
|
144
|
+
text-transform: uppercase;
|
|
145
|
+
letter-spacing: var(--letter-spacing);
|
|
146
|
+
}
|
|
147
|
+
.OverlineText-module__hop-OverlineText__text___ZDooN {
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
}
|
|
150
|
+
.OverlineText-module__hop-OverlineText__text___ZDooN::before,
|
|
151
|
+
.OverlineText-module__hop-OverlineText__text___ZDooN::after {
|
|
152
|
+
content: "";
|
|
153
|
+
display: block;
|
|
154
|
+
box-sizing: border-box;
|
|
155
|
+
inline-size: 0;
|
|
156
|
+
block-size: 0;
|
|
157
|
+
}
|
|
158
|
+
.OverlineText-module__hop-OverlineText__text___ZDooN::before {
|
|
159
|
+
margin-block-end: var(--bottom-offset);
|
|
160
|
+
}
|
|
161
|
+
.OverlineText-module__hop-OverlineText__text___ZDooN::after {
|
|
162
|
+
margin-block-start: var(--top-offset);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/text/src/Text.module.css/#css-module-data */
|
|
166
|
+
.Text-module__hop-Text___Li1l4 {
|
|
167
|
+
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
168
|
+
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
169
|
+
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
170
|
+
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
171
|
+
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
172
|
+
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
173
|
+
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
174
|
+
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
175
|
+
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
176
|
+
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
177
|
+
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
178
|
+
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
179
|
+
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
180
|
+
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
181
|
+
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
182
|
+
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
183
|
+
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
184
|
+
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
185
|
+
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
186
|
+
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
187
|
+
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
188
|
+
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
189
|
+
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
190
|
+
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
191
|
+
--hop-Text-inherit-size-font-size: inherit;
|
|
192
|
+
--hop-Text-inherit-size-font-family: inherit;
|
|
193
|
+
--hop-Text-inherit-size-font-weight: inherit;
|
|
194
|
+
--hop-Text-inherit-size-line-height: inherit;
|
|
195
|
+
}
|
|
196
|
+
:where(.Text-module__hop-Text___Li1l4) {
|
|
197
|
+
font-family: var(--font-family);
|
|
198
|
+
font-size: var(--font-size);
|
|
199
|
+
font-weight: var(--font-weight);
|
|
200
|
+
line-height: var(--line-height);
|
|
201
|
+
}
|
|
202
|
+
:where(.Text-module__hop-Text--xs___CRxoB) {
|
|
203
|
+
--font-size: var(--hop-Text-xs-font-size);
|
|
204
|
+
--font-family: var(--hop-Text-xs-font-family);
|
|
205
|
+
--font-weight: var(--hop-Text-xs-font-weight);
|
|
206
|
+
--line-height: var(--hop-Text-xs-line-height);
|
|
207
|
+
}
|
|
208
|
+
:where(.Text-module__hop-Text--sm___bo3Nl) {
|
|
209
|
+
--font-size: var(--hop-Text-sm-font-size);
|
|
210
|
+
--font-family: var(--hop-Text-sm-font-family);
|
|
211
|
+
--font-weight: var(--hop-Text-sm-font-weight);
|
|
212
|
+
--line-height: var(--hop-Text-sm-line-height);
|
|
213
|
+
}
|
|
214
|
+
:where(.Text-module__hop-Text--md___emVw7) {
|
|
215
|
+
--font-size: var(--hop-Text-md-font-size);
|
|
216
|
+
--font-family: var(--hop-Text-md-font-family);
|
|
217
|
+
--font-weight: var(--hop-Text-md-font-weight);
|
|
218
|
+
--line-height: var(--hop-Text-md-line-height);
|
|
219
|
+
}
|
|
220
|
+
:where(.Text-module__hop-Text--lg___Ewefh) {
|
|
221
|
+
--font-size: var(--hop-Text-lg-font-size);
|
|
222
|
+
--font-family: var(--hop-Text-lg-font-family);
|
|
223
|
+
--font-weight: var(--hop-Text-lg-font-weight);
|
|
224
|
+
--line-height: var(--hop-Text-lg-line-height);
|
|
225
|
+
}
|
|
226
|
+
:where(.Text-module__hop-Text--xl___Da5ON) {
|
|
227
|
+
--font-size: var(--hop-Text-xl-font-size);
|
|
228
|
+
--font-family: var(--hop-Text-xl-font-family);
|
|
229
|
+
--font-weight: var(--hop-Text-xl-font-weight);
|
|
230
|
+
--line-height: var(--hop-Text-xl-line-height);
|
|
231
|
+
}
|
|
232
|
+
:where(.Text-module__hop-Text--2xl___mTeg-) {
|
|
233
|
+
--font-size: var(--hop-Text-2xl-font-size);
|
|
234
|
+
--font-family: var(--hop-Text-2xl-font-family);
|
|
235
|
+
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
236
|
+
--line-height: var(--hop-Text-2xl-line-height);
|
|
237
|
+
}
|
|
238
|
+
:where(.Text-module__hop-Text--inherit___buUK6) {
|
|
239
|
+
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
240
|
+
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
241
|
+
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
242
|
+
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/paragraph/src/Paragraph.module.css/#css-module-data */
|
|
246
|
+
.Paragraph-module__hop-Paragraph___rFu8f {
|
|
247
|
+
--hop-Paragraph-xs-margin-bottom: calc(.625rem * .75);
|
|
248
|
+
--hop-Paragraph-sm-margin-bottom: calc(.75rem * .75);
|
|
249
|
+
--hop-Paragraph-md-margin-bottom: calc(.875rem * .75);
|
|
250
|
+
--hop-Paragraph-lg-margin-bottom: calc(1rem * .75);
|
|
251
|
+
--hop-Paragraph-xl-margin-bottom: calc(1.125rem * .75);
|
|
252
|
+
--hop-Paragraph-2xl-margin-bottom: calc(1.375rem * .75);
|
|
253
|
+
--hop-Paragraph-inherit-margin-bottom: .75em;
|
|
254
|
+
margin: 0;
|
|
255
|
+
margin-block-end: var(--margin-block-end);
|
|
256
|
+
overflow-wrap: break-word;
|
|
257
|
+
}
|
|
258
|
+
.Paragraph-module__hop-Paragraph___rFu8f:last-child {
|
|
259
|
+
--margin-block-end: 0;
|
|
260
|
+
}
|
|
261
|
+
.Paragraph-module__hop-Paragraph--xs___o4Y9W {
|
|
262
|
+
--margin-block-end: var(--hop-Paragraph-xs-margin-bottom);
|
|
263
|
+
}
|
|
264
|
+
.Paragraph-module__hop-Paragraph--sm___wIFdY {
|
|
265
|
+
--margin-block-end: var(--hop-Paragraph-sm-margin-bottom);
|
|
266
|
+
}
|
|
267
|
+
.Paragraph-module__hop-Paragraph--md___zxU-O {
|
|
268
|
+
--margin-block-end: var(--hop-Paragraph-md-margin-bottom);
|
|
269
|
+
}
|
|
270
|
+
.Paragraph-module__hop-Paragraph--lg___J8V30 {
|
|
271
|
+
--margin-block-end: var(--hop-Paragraph-lg-margin-bottom);
|
|
272
|
+
}
|
|
273
|
+
.Paragraph-module__hop-Paragraph--xl___ePG4F {
|
|
274
|
+
--margin-block-end: var(--hop-Paragraph-xl-margin-bottom);
|
|
275
|
+
}
|
|
276
|
+
.Paragraph-module__hop-Paragraph--2xl___Fn5mY {
|
|
277
|
+
--margin-block-end: var(--hop-Paragraph-2xl-margin-bottom);
|
|
278
|
+
}
|
|
279
|
+
.Paragraph-module__hop-Paragraph--inherit___WTvWn {
|
|
280
|
+
--margin-block-end: var(--hop-Paragraph-inherit-margin-bottom);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/calendar/src/RangeCalendarCell.module.css/#css-module-data */
|
|
284
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y {
|
|
285
|
+
--hop-CalendarCell-display: flex;
|
|
286
|
+
--hop-CalendarCell-align-items: center;
|
|
287
|
+
--hop-CalendarCell-justify-content: center;
|
|
288
|
+
--hop-CalendarCell-inline-size: 2.5rem;
|
|
289
|
+
--hop-CalendarCell-block-size: 2.5rem;
|
|
290
|
+
--hop-CalendarCell-outline: none;
|
|
291
|
+
--hop-CalendarCell-border-radius: var(--hop-shape-circle);
|
|
292
|
+
--hop-CalendarCell-color: var(--hop-neutral-text);
|
|
293
|
+
--hop-CalendarCell-font-family: var(--hop-body-sm-font-family);
|
|
294
|
+
--hop-CalendarCell-font-size: var(--hop-body-sm-font-size);
|
|
295
|
+
--hop-CalendarCell-font-weight: var(--hop-body-sm-font-weight);
|
|
296
|
+
--hop-CalendarCell-line-height: var(--hop-body-sm-line-height);
|
|
297
|
+
--hop-CalendarCell-cursor: default;
|
|
298
|
+
cursor: var(--hop-CalendarCell-cursor);
|
|
299
|
+
display: var(--hop-CalendarCell-display);
|
|
300
|
+
align-items: var(--hop-CalendarCell-align-items);
|
|
301
|
+
justify-content: var(--hop-CalendarCell-justify-content);
|
|
302
|
+
inline-size: var(--hop-CalendarCell-inline-size);
|
|
303
|
+
block-size: var(--hop-CalendarCell-block-size);
|
|
304
|
+
font-family: var(--hop-CalendarCell-font-family);
|
|
305
|
+
font-size: var(--hop-CalendarCell-font-size);
|
|
306
|
+
font-weight: var(--hop-CalendarCell-font-weight);
|
|
307
|
+
line-height: var(--hop-CalendarCell-line-height);
|
|
308
|
+
color: var(--hop-CalendarCell-color);
|
|
309
|
+
border-radius: var(--hop-CalendarCell-border-radius);
|
|
310
|
+
outline: var(--hop-CalendarCell-outline);
|
|
311
|
+
}
|
|
312
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-outside-month] {
|
|
313
|
+
--hop-CalendarCell-data-outside-month-display: none;
|
|
314
|
+
display: var(--hop-CalendarCell-data-outside-month-display);
|
|
315
|
+
}
|
|
316
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-hovered]:not([data-unavailable], [data-selected]) {
|
|
317
|
+
--hop-CalendarCell-data-hovered-background: var(--hop-neutral-surface-hover);
|
|
318
|
+
--hop-CalendarCell-data-hovered-color: var(--hop-neutral-text-hover);
|
|
319
|
+
color: var(--hop-CalendarCell-data-hovered-color);
|
|
320
|
+
background: var(--hop-CalendarCell-data-hovered-background);
|
|
321
|
+
}
|
|
322
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-focus-visible] {
|
|
323
|
+
--hop-CalendarCell-data-focus-visible-outline: var(--hop-space-20) solid var(--hop-primary-border-focus);
|
|
324
|
+
outline: var(--hop-CalendarCell-data-focus-visible-outline);
|
|
325
|
+
}
|
|
326
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-pressed] {
|
|
327
|
+
--hop-CalendarCell-data-pressed-background: var(--hop-neutral-surface-press);
|
|
328
|
+
--hop-CalendarCell-data-pressed-color: var(--hop-neutral-text-hover);
|
|
329
|
+
color: var(--hop-CalendarCell-data-pressed-color);
|
|
330
|
+
background: var(--hop-CalendarCell-data-pressed-background);
|
|
331
|
+
}
|
|
332
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-selected] {
|
|
333
|
+
--hop-CalendarCell-data-selected-background: var(--hop-neutral-surface-selected);
|
|
334
|
+
--hop-CalendarCell-data-selected-color: var(--hop-neutral-text-selected);
|
|
335
|
+
color: var(--hop-CalendarCell-data-selected-color);
|
|
336
|
+
background: var(--hop-CalendarCell-data-selected-background);
|
|
337
|
+
}
|
|
338
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-disabled] {
|
|
339
|
+
--hop-CalendarCell-data-disabled-color: var(--hop-neutral-text-disabled);
|
|
340
|
+
color: var(--hop-CalendarCell-data-disabled-color);
|
|
341
|
+
}
|
|
342
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-invalid] {
|
|
343
|
+
--hop-CalendarCell-data-invalid-color: var(--hop-danger-text-strong);
|
|
344
|
+
--hop-CalendarCell-data-invalid-background: var(--hop-danger-surface-strong);
|
|
345
|
+
color: var(--hop-CalendarCell-data-invalid-color);
|
|
346
|
+
background: var(--hop-CalendarCell-data-invalid-background);
|
|
347
|
+
}
|
|
348
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-unavailable] {
|
|
349
|
+
--hop-CalendarCell-data-unavailable-color: var(--hop-danger-text-weak);
|
|
350
|
+
--hop-CalendarCell-data-unavailable-text-decoration: line-through;
|
|
351
|
+
color: var(--hop-CalendarCell-data-unavailable-color);
|
|
352
|
+
text-decoration: var(--hop-CalendarCell-data-unavailable-text-decoration);
|
|
353
|
+
}
|
|
354
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-today]:not([data-selected]) {
|
|
355
|
+
--hop-CalendarCell-data-today-border: 0.125rem solid var(--hop-neutral-border-strong);
|
|
356
|
+
border: var(--hop-CalendarCell-data-today-border);
|
|
357
|
+
}
|
|
358
|
+
.CalendarCell-module__hop-CalendarCell___yPX-Y[data-disabled][data-selected] {
|
|
359
|
+
--hop-CalendarCell-data-selected-disabled-background: var(--hop-neutral-surface-disabled);
|
|
360
|
+
--hop-CalendarCell-data-selected-disabled-color: var(--hop-neutral-text-disabled);
|
|
361
|
+
color: var(--hop-CalendarCell-data-selected-disabled-color);
|
|
362
|
+
background: var(--hop-CalendarCell-data-selected-disabled-background);
|
|
363
|
+
}
|
|
364
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody- {
|
|
365
|
+
--hop-RangeCalendarCell-position: relative;
|
|
366
|
+
--hop-RangeCalendarCell-border-radius: var(--hop-shape-circle);
|
|
367
|
+
position: var(--hop-RangeCalendarCell-position);
|
|
368
|
+
z-index: 0;
|
|
369
|
+
}
|
|
370
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selected] {
|
|
371
|
+
--hop-RangeCalendarCell-data-selected-background: var(--hop-neutral-surface-weak-selected);
|
|
372
|
+
--hop-RangeCalendarCell-data-selected-border-radius: 0;
|
|
373
|
+
--hop-RangeCalendarCell-data-selected-color: var(--hop-neutral-text);
|
|
374
|
+
color: var(--hop-RangeCalendarCell-data-selected-color);
|
|
375
|
+
background: var(--hop-RangeCalendarCell-data-selected-background);
|
|
376
|
+
border-radius: var(--hop-RangeCalendarCell-data-selected-border-radius);
|
|
377
|
+
}
|
|
378
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-start] {
|
|
379
|
+
border-start-start-radius: var(--hop-RangeCalendarCell-border-radius);
|
|
380
|
+
border-end-start-radius: var(--hop-RangeCalendarCell-border-radius);
|
|
381
|
+
}
|
|
382
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-end] {
|
|
383
|
+
border-start-end-radius: var(--hop-RangeCalendarCell-border-radius);
|
|
384
|
+
border-end-end-radius: var(--hop-RangeCalendarCell-border-radius);
|
|
385
|
+
}
|
|
386
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-start]:not([data-disabled])::before,
|
|
387
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-end]:not([data-disabled])::before {
|
|
388
|
+
--hop-RangeCalendarCell-data-selected-edge-background: var(--hop-neutral-surface-selected);
|
|
389
|
+
content: "";
|
|
390
|
+
position: absolute;
|
|
391
|
+
z-index: 1;
|
|
392
|
+
inset-block-start: 50%;
|
|
393
|
+
inset-inline-start: 50%;
|
|
394
|
+
transform: translate(-50%, -50%);
|
|
395
|
+
inline-size: 100%;
|
|
396
|
+
block-size: 100%;
|
|
397
|
+
background: var(--hop-RangeCalendarCell-data-selected-edge-background);
|
|
398
|
+
border-radius: var(--hop-RangeCalendarCell-border-radius);
|
|
399
|
+
}
|
|
400
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-start]:not([data-disabled]) span,
|
|
401
|
+
.RangeCalendarCell-module__hop-RangeCalendarCell___7ody-[data-selection-end]:not([data-disabled]) span {
|
|
402
|
+
--hop-RangeCalendarCell-data-edge-selected-color: var(--hop-neutral-text-selected);
|
|
403
|
+
z-index: 2;
|
|
404
|
+
color: var(--hop-RangeCalendarCell-data-edge-selected-color);
|
|
405
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
import { CalendarCellProps } from 'react-aria-components';
|
|
4
|
+
|
|
5
|
+
declare const GlobalRangeCalendarCellCssSelector = "hop-RangeCalendarCell";
|
|
6
|
+
interface RangeCalendarCellProps extends Omit<CalendarCellProps, "children">, PropsWithChildren {
|
|
7
|
+
}
|
|
8
|
+
declare const RangeCalendarCell: (props: RangeCalendarCellProps) => react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { GlobalRangeCalendarCellCssSelector, RangeCalendarCell };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue, DateValue } from 'react-aria-components';
|
|
3
|
+
import { RangeCalendarProps } from './RangeCalendar.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
import '@react-types/shared';
|
|
6
|
+
import '../../utils/src/types.js';
|
|
7
|
+
|
|
8
|
+
declare const RangeCalendarContext: react.Context<ContextValue<Partial<RangeCalendarProps<DateValue>>, HTMLDivElement>>;
|
|
9
|
+
|
|
10
|
+
export { RangeCalendarContext };
|