@hopper-ui/components 1.0.2 → 1.0.3
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 +7 -0
- package/dist/HopperProvider/src/HopperProvider.js +1 -1
- package/dist/HopperProvider/src/index.js +1 -1
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +2 -2
- package/dist/IconList/src/IconListContext.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +2 -2
- package/dist/Link/src/Link.css +32 -32
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/LinkContext.js +1 -1
- package/dist/Link/src/index.css +32 -32
- package/dist/Link/src/index.js +7 -7
- package/dist/Spinner/src/Spinner.css +29 -29
- package/dist/Spinner/src/Spinner.js +5 -5
- package/dist/Spinner/src/SpinnerContext.js +1 -1
- package/dist/Spinner/src/index.css +29 -29
- package/dist/Spinner/src/index.js +5 -5
- package/dist/badge/src/Badge.css +80 -0
- package/dist/badge/src/Badge.d.ts +26 -0
- package/dist/badge/src/Badge.js +6 -0
- package/dist/badge/src/BadgeContext.d.ts +10 -0
- package/dist/badge/src/BadgeContext.js +2 -0
- package/dist/badge/src/index.css +80 -0
- package/dist/badge/src/index.d.ts +7 -0
- package/dist/badge/src/index.js +6 -0
- package/dist/buttons/src/Button.css +120 -120
- package/dist/buttons/src/Button.d.ts +1 -1
- package/dist/buttons/src/Button.js +11 -11
- package/dist/buttons/src/ButtonContext.js +1 -1
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.js +6 -83
- package/dist/buttons/src/ButtonGroupContext.js +1 -1
- package/dist/buttons/src/ClearButton.css +76 -40
- package/dist/buttons/src/ClearButton.d.ts +4 -3
- package/dist/buttons/src/ClearButton.js +6 -3
- package/dist/buttons/src/ClearButtonContext.d.ts +1 -0
- package/dist/buttons/src/ClearButtonContext.js +1 -1
- package/dist/buttons/src/EmbeddedButton.css +102 -0
- package/dist/buttons/src/EmbeddedButton.d.ts +20 -0
- package/dist/buttons/src/EmbeddedButton.js +6 -0
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +8 -0
- package/dist/buttons/src/EmbeddedButtonContext.js +2 -0
- package/dist/buttons/src/index.css +236 -161
- package/dist/buttons/src/index.d.ts +5 -0
- package/dist/buttons/src/index.js +17 -13
- package/dist/checkbox/src/Checkbox.css +39 -35
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.js +1 -1
- package/dist/checkbox/src/CheckboxField.css +16 -16
- package/dist/checkbox/src/CheckboxField.js +5 -5
- package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +79 -75
- package/dist/checkbox/src/CheckboxGroup.js +5 -5
- package/dist/checkbox/src/CheckboxGroupContext.js +1 -1
- package/dist/checkbox/src/CheckboxList.js +1 -1
- package/dist/checkbox/src/CheckboxListContext.js +1 -1
- package/dist/checkbox/src/index.css +79 -75
- package/dist/checkbox/src/index.js +10 -10
- package/dist/chip/src/Chip.css +34 -34
- package/dist/chip/src/Chip.js +5 -5
- package/dist/chip/src/ChipContext.js +1 -1
- package/dist/chip/src/index.css +34 -34
- package/dist/chip/src/index.js +5 -5
- package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
- package/dist/{chunk-FJ4WILCG.js → chunk-2VBOJKEP.js} +2 -2
- package/dist/{chunk-N2QZWPQF.js → chunk-3DWVMCIV.js} +2 -2
- package/dist/chunk-3NKF5TPD.js +7 -0
- package/dist/{chunk-IYQZFIWZ.js → chunk-3XFTRBIC.js} +4 -4
- package/dist/{chunk-2NABNL6G.js → chunk-4RIAVSLK.js} +3 -3
- package/dist/chunk-5EPNXRCT.js +44 -0
- package/dist/chunk-6BFSSZCY.js +7 -0
- package/dist/{chunk-LKE4VXIP.js → chunk-7NT6M6KM.js} +5 -5
- package/dist/chunk-AQITZWYM.js +43 -0
- package/dist/chunk-BAKCRZAG.js +82 -0
- package/dist/{chunk-NUUG5PFN.js → chunk-CTK5YVBZ.js} +2 -2
- package/dist/chunk-CTOL6AVF.js +156 -0
- package/dist/chunk-D6UTDI2K.js +28 -0
- package/dist/{chunk-GYK77A5U.js → chunk-DJU2DUTQ.js} +5 -4
- package/dist/{chunk-S67EVV3J.js → chunk-DLTYFRKN.js} +5 -5
- package/dist/{chunk-6JSCWDLJ.js → chunk-EE75ND6V.js} +4 -4
- package/dist/chunk-EWMWQ2MC.js +7 -0
- package/dist/chunk-GF2U6E4D.js +56 -0
- package/dist/chunk-GXBVNCVP.js +43 -0
- package/dist/{chunk-LL2FMAAO.js → chunk-H6CDFWVR.js} +9 -3
- package/dist/chunk-I67NHYK4.js +7 -0
- package/dist/{chunk-FAXZNX63.js → chunk-IOLNBXZM.js} +6 -5
- package/dist/chunk-IXB2WK56.js +7 -0
- package/dist/{chunk-TOCGJB3X.js → chunk-JLF7DSUY.js} +5 -5
- package/dist/{chunk-XTRE6FPK.js → chunk-JLFHTZUA.js} +5 -5
- package/dist/chunk-LCAS3YQV.js +7 -0
- package/dist/chunk-LJXTJRSB.js +1 -0
- package/dist/chunk-LYV2D5RZ.js +69 -0
- package/dist/chunk-O4XPUINW.js +7 -0
- package/dist/chunk-O7IJYNVQ.js +7 -0
- package/dist/chunk-OGMLQRES.js +91 -0
- package/dist/chunk-OQW6BT6B.js +373 -0
- package/dist/{chunk-O2WSE3EM.js → chunk-OUN5KSHD.js} +4 -4
- package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
- package/dist/chunk-QW45G6K4.js +7 -0
- package/dist/chunk-RXBKOHT2.js +83 -0
- package/dist/chunk-SC6ZK5ON.js +7 -0
- package/dist/chunk-TIPN4VYD.js +46 -0
- package/dist/chunk-TXZ6BMFR.js +7 -0
- package/dist/chunk-UARL5M2W.js +32 -0
- package/dist/{chunk-M67A5LAA.js → chunk-UY7WQ7TC.js} +9 -9
- package/dist/{chunk-RLIG2IHH.js → chunk-WLSLSMK7.js} +3 -3
- package/dist/chunk-WPNVVGFW.js +7 -0
- package/dist/chunk-WWRB4K4M.js +44 -0
- package/dist/{chunk-OE5BLFZI.js → chunk-X6SER3TZ.js} +1 -1
- package/dist/{chunk-CK42RJLK.js → chunk-XFKAXBB5.js} +5 -5
- package/dist/{chunk-MICIYADH.js → chunk-XIOIAME2.js} +1 -1
- package/dist/chunk-XLKYXKWE.js +7 -0
- package/dist/chunk-Y7HUXUHX.js +30 -0
- package/dist/chunk-YQHNOQ3N.js +96 -0
- package/dist/chunk-Z3ID4UEE.js +55 -0
- package/dist/chunk-ZSFJVMJN.js +7 -0
- package/dist/errorMessage/src/ErrorMessage.css +12 -12
- package/dist/errorMessage/src/ErrorMessage.d.ts +1 -1
- package/dist/errorMessage/src/ErrorMessage.js +5 -5
- package/dist/errorMessage/src/ErrorMessageContext.d.ts +1 -1
- package/dist/errorMessage/src/ErrorMessageContext.js +1 -1
- package/dist/errorMessage/src/index.css +12 -12
- package/dist/errorMessage/src/index.d.ts +1 -1
- package/dist/errorMessage/src/index.js +5 -5
- package/dist/helperMessage/src/HelperMessage.css +12 -12
- package/dist/helperMessage/src/HelperMessage.d.ts +1 -1
- package/dist/helperMessage/src/HelperMessage.js +5 -5
- package/dist/helperMessage/src/HelperMessageContext.d.ts +1 -1
- package/dist/helperMessage/src/HelperMessageContext.js +1 -1
- package/dist/helperMessage/src/index.css +12 -12
- package/dist/helperMessage/src/index.d.ts +1 -1
- package/dist/helperMessage/src/index.js +5 -5
- package/dist/i18n/src/index.js +2 -2
- package/dist/i18n/src/useLocalizedString.js +2 -2
- package/dist/inputs/src/InputGroup.css +111 -0
- package/dist/inputs/src/InputGroup.d.ts +24 -0
- package/dist/inputs/src/InputGroup.js +6 -0
- package/dist/inputs/src/InputGroupContext.d.ts +8 -0
- package/dist/inputs/src/InputGroupContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +2527 -0
- package/dist/inputs/src/PasswordField.d.ts +33 -0
- package/dist/inputs/src/PasswordField.js +186 -0
- package/dist/inputs/src/PasswordFieldContext.d.ts +8 -0
- package/dist/inputs/src/PasswordFieldContext.js +2 -0
- package/dist/inputs/src/SearchField.css +2548 -0
- package/dist/inputs/src/SearchField.d.ts +42 -0
- package/dist/inputs/src/SearchField.js +186 -0
- package/dist/inputs/src/SearchFieldContext.d.ts +8 -0
- package/dist/inputs/src/SearchFieldContext.js +2 -0
- package/dist/inputs/src/TextField.css +2531 -0
- package/dist/inputs/src/TextField.d.ts +49 -0
- package/dist/inputs/src/TextField.js +79 -0
- package/dist/inputs/src/TextFieldContext.d.ts +8 -0
- package/dist/inputs/src/TextFieldContext.js +2 -0
- package/dist/inputs/src/index.css +2531 -0
- package/dist/inputs/src/index.d.ts +7 -0
- package/dist/inputs/src/index.js +79 -0
- package/dist/layout/src/Content.d.ts +17 -0
- package/dist/layout/src/Content.js +3 -0
- package/dist/layout/src/ContentContext.d.ts +10 -0
- package/dist/layout/src/ContentContext.js +2 -0
- package/dist/layout/src/Flex.js +1 -1
- package/dist/layout/src/Footer.d.ts +17 -0
- package/dist/layout/src/Footer.js +3 -0
- package/dist/layout/src/FooterContext.d.ts +10 -0
- package/dist/layout/src/FooterContext.js +2 -0
- package/dist/layout/src/Grid.js +2 -55
- package/dist/layout/src/Inline.js +3 -31
- package/dist/layout/src/Stack.js +3 -29
- package/dist/overlays/Popover/src/Popover.css +2456 -0
- package/dist/overlays/Popover/src/Popover.d.ts +20 -0
- package/dist/overlays/Popover/src/Popover.js +76 -0
- package/dist/overlays/Popover/src/PopoverContext.d.ts +9 -0
- package/dist/overlays/Popover/src/PopoverContext.js +2 -0
- package/dist/overlays/Popover/src/index.css +2456 -0
- package/dist/overlays/Popover/src/index.d.ts +6 -0
- package/dist/overlays/Popover/src/index.js +76 -0
- package/dist/radio/src/Radio.css +31 -31
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioContext.js +1 -1
- package/dist/radio/src/RadioField.css +16 -16
- package/dist/radio/src/RadioField.js +5 -4
- package/dist/radio/src/RadioFieldContext.js +1 -1
- package/dist/radio/src/RadioGroup.css +137 -137
- package/dist/radio/src/RadioGroup.js +6 -6
- package/dist/radio/src/RadioGroupContext.js +1 -1
- package/dist/radio/src/RadioList.js +1 -1
- package/dist/radio/src/RadioListContext.js +1 -1
- package/dist/radio/src/index.css +71 -71
- package/dist/radio/src/index.js +11 -11
- package/dist/switch/src/Switch.css +26 -26
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.js +1 -1
- package/dist/switch/src/SwitchField.css +16 -16
- package/dist/switch/src/SwitchField.js +5 -5
- package/dist/switch/src/SwitchFieldContext.js +1 -1
- package/dist/switch/src/index.css +32 -32
- package/dist/switch/src/index.js +8 -8
- package/dist/tag/src/Tag.css +2380 -0
- package/dist/tag/src/Tag.d.ts +28 -0
- package/dist/tag/src/Tag.js +74 -0
- package/dist/tag/src/TagContext.d.ts +8 -0
- package/dist/tag/src/TagContext.js +2 -0
- package/dist/tag/src/TagGroup.css +239 -0
- package/dist/tag/src/TagGroup.d.ts +24 -0
- package/dist/tag/src/TagGroup.js +10 -0
- package/dist/tag/src/TagGroupContext.d.ts +8 -0
- package/dist/tag/src/TagGroupContext.js +2 -0
- package/dist/tag/src/TagList.d.ts +15 -0
- package/dist/tag/src/TagList.js +4 -0
- package/dist/tag/src/TagListContext.d.ts +8 -0
- package/dist/tag/src/TagListContext.js +2 -0
- package/dist/tag/src/index.css +2380 -0
- package/dist/tag/src/index.d.ts +9 -0
- package/dist/tag/src/index.js +74 -0
- package/dist/typography/Heading/src/Heading.css +2380 -0
- package/dist/typography/Heading/src/Heading.d.ts +57 -0
- package/dist/typography/Heading/src/Heading.js +74 -0
- package/dist/typography/Heading/src/HeadingContext.d.ts +8 -0
- package/dist/typography/Heading/src/HeadingContext.js +2 -0
- package/dist/typography/Heading/src/index.css +2380 -0
- package/dist/typography/Heading/src/index.d.ts +5 -0
- package/dist/typography/Heading/src/index.js +74 -0
- package/dist/{Label → typography/Label}/src/Label.css +14 -14
- package/dist/{Label → typography/Label}/src/Label.d.ts +2 -3
- package/dist/typography/Label/src/Label.js +4 -0
- package/dist/typography/Label/src/LabelContext.js +2 -0
- package/dist/{Label → typography/Label}/src/index.css +14 -14
- package/dist/{Label → typography/Label}/src/index.d.ts +1 -1
- package/dist/typography/Label/src/index.js +4 -0
- package/dist/typography/OverlineText/src/OverlineText.css +42 -0
- package/dist/typography/OverlineText/src/OverlineText.d.ts +15 -0
- package/dist/typography/OverlineText/src/OverlineText.js +4 -0
- package/dist/typography/OverlineText/src/OverlineTextContext.d.ts +8 -0
- package/dist/typography/OverlineText/src/OverlineTextContext.js +2 -0
- package/dist/typography/OverlineText/src/index.css +42 -0
- package/dist/typography/OverlineText/src/index.d.ts +5 -0
- package/dist/typography/OverlineText/src/index.js +4 -0
- package/dist/{Text → typography/Text}/src/Text.css +10 -10
- package/dist/typography/Text/src/Text.js +6 -0
- package/dist/typography/Text/src/TextContext.js +2 -0
- package/dist/{Text → typography/Text}/src/index.css +10 -10
- package/dist/typography/Text/src/index.js +6 -0
- package/dist/utils/src/ClearSlots.js +1 -1
- package/dist/utils/src/SlotProvider.js +1 -1
- package/dist/utils/src/assertion.d.ts +15 -0
- package/dist/utils/src/assertion.js +2 -0
- package/dist/utils/src/composeClassnameRenderProps.js +1 -1
- package/dist/utils/src/cssModule.js +1 -1
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/index.js +4 -3
- package/dist/utils/src/isTextOnlyChildren.js +1 -1
- package/dist/utils/src/useRenderProps.js +1 -1
- package/dist/utils/src/useSlot.js +1 -1
- package/package.json +13 -12
- package/dist/Label/src/Label.js +0 -4
- package/dist/Label/src/LabelContext.js +0 -2
- package/dist/Label/src/index.js +0 -4
- package/dist/Text/src/Text.js +0 -6
- package/dist/Text/src/TextContext.js +0 -2
- package/dist/Text/src/index.js +0 -6
- package/dist/chunk-DBTHMTO4.js +0 -56
- /package/dist/{Label → typography/Label}/src/LabelContext.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/Text.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/TextContext.d.ts +0 -0
- /package/dist/{Text → typography/Text}/src/index.d.ts +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { GlobalInputGroupCssSelector, InputGroup, InputGroupProps } from './InputGroup.js';
|
|
2
|
+
export { InputGroupContext } from './InputGroupContext.js';
|
|
3
|
+
export { GlobalTextFieldCssSelector, TextField, TextFieldProps } from './TextField.js';
|
|
4
|
+
export { TextFieldContext } from './TextFieldContext.js';
|
|
5
|
+
import 'react';
|
|
6
|
+
import '@hopper-ui/styled-system';
|
|
7
|
+
import 'react-aria-components';
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export { GlobalTextFieldCssSelector, _TextField as TextField } from '../../chunk-CTOL6AVF.js';
|
|
2
|
+
export { TextFieldContext } from '../../chunk-O4XPUINW.js';
|
|
3
|
+
import '../../chunk-LJXTJRSB.js';
|
|
4
|
+
import '../../chunk-OQW6BT6B.js';
|
|
5
|
+
import '../../chunk-TXZ6BMFR.js';
|
|
6
|
+
import '../../chunk-TIPN4VYD.js';
|
|
7
|
+
import '../../chunk-OGMLQRES.js';
|
|
8
|
+
import '../../chunk-EWMWQ2MC.js';
|
|
9
|
+
import '../../chunk-LCAS3YQV.js';
|
|
10
|
+
import '../../chunk-WWRB4K4M.js';
|
|
11
|
+
import '../../chunk-XLKYXKWE.js';
|
|
12
|
+
import '../../chunk-7NT6M6KM.js';
|
|
13
|
+
import '../../chunk-5MBJWRZD.js';
|
|
14
|
+
import '../../chunk-NKHMUPAP.js';
|
|
15
|
+
import '../../chunk-A7TZHALP.js';
|
|
16
|
+
import '../../chunk-XFKAXBB5.js';
|
|
17
|
+
import '../../chunk-OUN5KSHD.js';
|
|
18
|
+
import '../../chunk-H7VJS4MX.js';
|
|
19
|
+
import '../../chunk-YHBJAXUY.js';
|
|
20
|
+
import '../../chunk-Z3ID4UEE.js';
|
|
21
|
+
import '../../chunk-Y7HUXUHX.js';
|
|
22
|
+
import '../../chunk-D6UTDI2K.js';
|
|
23
|
+
import '../../chunk-JLF7DSUY.js';
|
|
24
|
+
import '../../chunk-IOLNBXZM.js';
|
|
25
|
+
import '../../chunk-FU5CCPLP.js';
|
|
26
|
+
import '../../chunk-DGLAGYBD.js';
|
|
27
|
+
import '../../chunk-GXBVNCVP.js';
|
|
28
|
+
import '../../chunk-IXB2WK56.js';
|
|
29
|
+
import '../../chunk-TVFC2MJ4.js';
|
|
30
|
+
import '../../chunk-AQITZWYM.js';
|
|
31
|
+
import '../../chunk-I67NHYK4.js';
|
|
32
|
+
export { GlobalInputGroupCssSelector, _InputGroup as InputGroup } from '../../chunk-RXBKOHT2.js';
|
|
33
|
+
export { InputGroupContext } from '../../chunk-6BFSSZCY.js';
|
|
34
|
+
import '../../chunk-DJU2DUTQ.js';
|
|
35
|
+
import '../../chunk-WTKIUAHI.js';
|
|
36
|
+
import '../../chunk-3DWVMCIV.js';
|
|
37
|
+
import '../../chunk-2VBOJKEP.js';
|
|
38
|
+
import '../../chunk-3XFTRBIC.js';
|
|
39
|
+
import '../../chunk-EE75ND6V.js';
|
|
40
|
+
import '../../chunk-ACVMW6YD.js';
|
|
41
|
+
import '../../chunk-ESVVLTEN.js';
|
|
42
|
+
import '../../chunk-ZGNK4GWA.js';
|
|
43
|
+
import '../../chunk-N7YDPVZL.js';
|
|
44
|
+
import '../../chunk-3LRBUQC2.js';
|
|
45
|
+
import '../../chunk-WDUQUPTE.js';
|
|
46
|
+
import '../../chunk-BAKCRZAG.js';
|
|
47
|
+
import '../../chunk-VJQ7M2BK.js';
|
|
48
|
+
import '../../chunk-UARL5M2W.js';
|
|
49
|
+
import '../../chunk-DXVKHP4V.js';
|
|
50
|
+
import '../../chunk-LYV2D5RZ.js';
|
|
51
|
+
import '../../chunk-O7IJYNVQ.js';
|
|
52
|
+
import '../../chunk-DLTYFRKN.js';
|
|
53
|
+
import '../../chunk-2EAZPH3M.js';
|
|
54
|
+
import '../../chunk-GF2U6E4D.js';
|
|
55
|
+
import '../../chunk-5EPNXRCT.js';
|
|
56
|
+
import '../../chunk-WPNVVGFW.js';
|
|
57
|
+
import '../../chunk-ZSFJVMJN.js';
|
|
58
|
+
import '../../chunk-UY7WQ7TC.js';
|
|
59
|
+
import '../../chunk-H5YTU3U7.js';
|
|
60
|
+
import '../../chunk-NH3IVMXB.js';
|
|
61
|
+
import '../../chunk-H6CDFWVR.js';
|
|
62
|
+
import '../../chunk-WLSLSMK7.js';
|
|
63
|
+
import '../../chunk-CTK5YVBZ.js';
|
|
64
|
+
import '../../chunk-QCA3ZR56.js';
|
|
65
|
+
import '../../chunk-4ZYV2XLW.js';
|
|
66
|
+
import '../../chunk-WMTWFKKP.js';
|
|
67
|
+
import '../../chunk-ANVMQBBG.js';
|
|
68
|
+
import '../../chunk-XIOIAME2.js';
|
|
69
|
+
import '../../chunk-JLFHTZUA.js';
|
|
70
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
71
|
+
import '../../chunk-4RIAVSLK.js';
|
|
72
|
+
import '../../chunk-HXI3MEEK.js';
|
|
73
|
+
import '../../chunk-X6SER3TZ.js';
|
|
74
|
+
import '../../chunk-65JPI4FL.js';
|
|
75
|
+
import '../../chunk-KVDXQMWI.js';
|
|
76
|
+
import '../../chunk-M36KANKC.js';
|
|
77
|
+
import '../../chunk-DHVVYSLB.js';
|
|
78
|
+
import '../../chunk-4VVNSXIB.js';
|
|
79
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
3
|
+
import { BaseComponentProps } from '../../utils/src/types.js';
|
|
4
|
+
import '@react-types/shared';
|
|
5
|
+
import 'react-aria-components';
|
|
6
|
+
|
|
7
|
+
declare const GlobalContentCssSelector = "hop-Content";
|
|
8
|
+
interface ContentProps extends StyledComponentProps<BaseComponentProps> {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The Content component represents a Content within a Hopper container such as a Modal or Popover.
|
|
12
|
+
*
|
|
13
|
+
* [View Documentation](TODO)
|
|
14
|
+
*/
|
|
15
|
+
declare const _Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
|
|
17
|
+
export { _Content as Content, type ContentProps, GlobalContentCssSelector };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { ContentProps } from './Content.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
import '../../utils/src/types.js';
|
|
6
|
+
import '@react-types/shared';
|
|
7
|
+
|
|
8
|
+
declare const ContentContext: react.Context<ContextValue<ContentProps, HTMLDivElement>>;
|
|
9
|
+
|
|
10
|
+
export { ContentContext };
|
package/dist/layout/src/Flex.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { _Flex as Flex } from '../../chunk-TVFC2MJ4.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
3
|
+
import { BaseComponentProps } from '../../utils/src/types.js';
|
|
4
|
+
import '@react-types/shared';
|
|
5
|
+
import 'react-aria-components';
|
|
6
|
+
|
|
7
|
+
declare const GlobalFooterCssSelector = "hop-Footer";
|
|
8
|
+
interface FooterProps extends StyledComponentProps<BaseComponentProps> {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The Footer component represents a Footer within a Hopper container such as a Modal or Popover.
|
|
12
|
+
*
|
|
13
|
+
* [View Documentation](TODO)
|
|
14
|
+
*/
|
|
15
|
+
declare const _Footer: react.ForwardRefExoticComponent<FooterProps & react.RefAttributes<HTMLElement>>;
|
|
16
|
+
|
|
17
|
+
export { _Footer as Footer, type FooterProps, GlobalFooterCssSelector };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { FooterProps } from './Footer.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
import '../../utils/src/types.js';
|
|
6
|
+
import '@react-types/shared';
|
|
7
|
+
|
|
8
|
+
declare const FooterContext: react.Context<ContextValue<FooterProps, HTMLElement>>;
|
|
9
|
+
|
|
10
|
+
export { FooterContext };
|
package/dist/layout/src/Grid.js
CHANGED
|
@@ -1,55 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
function Grid(props, ref) {
|
|
7
|
-
const {
|
|
8
|
-
autoRows,
|
|
9
|
-
areas,
|
|
10
|
-
templateColumns,
|
|
11
|
-
templateRows,
|
|
12
|
-
autoColumns,
|
|
13
|
-
autoFlow,
|
|
14
|
-
inline,
|
|
15
|
-
UNSAFE_autoRows,
|
|
16
|
-
UNSAFE_templateColumns,
|
|
17
|
-
UNSAFE_templateRows,
|
|
18
|
-
UNSAFE_autoColumns,
|
|
19
|
-
...otherProps
|
|
20
|
-
} = props;
|
|
21
|
-
return /* @__PURE__ */ jsx(
|
|
22
|
-
Div,
|
|
23
|
-
{
|
|
24
|
-
ref,
|
|
25
|
-
display: inline ? "inline-grid" : "grid",
|
|
26
|
-
gridAutoRows: autoRows,
|
|
27
|
-
gridTemplateAreas: areas,
|
|
28
|
-
gridTemplateColumns: templateColumns,
|
|
29
|
-
gridTemplateRows: templateRows,
|
|
30
|
-
gridAutoColumns: autoColumns,
|
|
31
|
-
gridAutoFlow: autoFlow,
|
|
32
|
-
UNSAFE_gridAutoRows: UNSAFE_autoRows,
|
|
33
|
-
UNSAFE_gridTemplateColumns: UNSAFE_templateColumns,
|
|
34
|
-
UNSAFE_gridTemplateRows: UNSAFE_templateRows,
|
|
35
|
-
UNSAFE_gridAutoColumns: UNSAFE_autoColumns,
|
|
36
|
-
...otherProps
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
function repeat(count, repetition) {
|
|
41
|
-
return `repeat(${count}, ${Array.isArray(repetition) ? interpolateGridTemplateArray(repetition) : getSizingValue(repetition)})`;
|
|
42
|
-
}
|
|
43
|
-
function minmax(min, max) {
|
|
44
|
-
return `minmax(${getSizingValue(min)}, ${getSizingValue(max)})`;
|
|
45
|
-
}
|
|
46
|
-
function fitContent(dimension) {
|
|
47
|
-
return `fit-content(${getSizingValue(dimension)})`;
|
|
48
|
-
}
|
|
49
|
-
function interpolateGridTemplateArray(values) {
|
|
50
|
-
return values.map((x) => getSizingValue(x)).join(" ");
|
|
51
|
-
}
|
|
52
|
-
var _Grid = forwardRef(Grid);
|
|
53
|
-
_Grid.displayName = "Inline";
|
|
54
|
-
|
|
55
|
-
export { _Grid as Grid, fitContent, minmax, repeat };
|
|
1
|
+
export { _Grid as Grid, fitContent, minmax, repeat } from '../../chunk-Z3ID4UEE.js';
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
function Inline(props, ref) {
|
|
7
|
-
const {
|
|
8
|
-
alignX,
|
|
9
|
-
alignY = "center",
|
|
10
|
-
gap = "inline-md",
|
|
11
|
-
wrap = true,
|
|
12
|
-
reverse,
|
|
13
|
-
...rest
|
|
14
|
-
} = props;
|
|
15
|
-
return /* @__PURE__ */ jsx(
|
|
16
|
-
_Flex,
|
|
17
|
-
{
|
|
18
|
-
ref,
|
|
19
|
-
alignItems: alignY,
|
|
20
|
-
justifyContent: alignX,
|
|
21
|
-
direction: reverse ? "row-reverse" : "row",
|
|
22
|
-
gap,
|
|
23
|
-
wrap,
|
|
24
|
-
...rest
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
var _Inline = forwardRef(Inline);
|
|
29
|
-
_Inline.displayName = "Inline";
|
|
30
|
-
|
|
31
|
-
export { _Inline as Inline };
|
|
1
|
+
export { _Inline as Inline } from '../../chunk-Y7HUXUHX.js';
|
|
2
|
+
import '../../chunk-TVFC2MJ4.js';
|
|
3
|
+
import '../../chunk-2P3A4VVY.js';
|
package/dist/layout/src/Stack.js
CHANGED
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
function Stack(props, ref) {
|
|
7
|
-
const {
|
|
8
|
-
reverse,
|
|
9
|
-
alignX,
|
|
10
|
-
alignY,
|
|
11
|
-
gap = "stack-md",
|
|
12
|
-
...rest
|
|
13
|
-
} = props;
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
_Flex,
|
|
16
|
-
{
|
|
17
|
-
ref,
|
|
18
|
-
alignItems: alignX,
|
|
19
|
-
justifyContent: alignY,
|
|
20
|
-
direction: reverse ? "column-reverse" : "column",
|
|
21
|
-
gap,
|
|
22
|
-
...rest
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
var _Stack = forwardRef(Stack);
|
|
27
|
-
_Stack.displayName = "Stack";
|
|
28
|
-
|
|
29
|
-
export { _Stack as Stack };
|
|
1
|
+
export { _Stack as Stack } from '../../chunk-D6UTDI2K.js';
|
|
2
|
+
import '../../chunk-TVFC2MJ4.js';
|
|
3
|
+
import '../../chunk-2P3A4VVY.js';
|