@hopper-ui/components 1.0.2 → 1.0.4
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 +14 -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-NUUG5PFN.js → chunk-2CKDJG6R.js} +2 -2
- package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
- package/dist/chunk-3NKF5TPD.js +7 -0
- package/dist/chunk-5GRWAXTT.js +32 -0
- package/dist/chunk-6BFSSZCY.js +7 -0
- package/dist/chunk-6MSYEF4W.js +69 -0
- package/dist/chunk-AQITZWYM.js +43 -0
- package/dist/chunk-BCHUEONM.js +44 -0
- package/dist/{chunk-TOCGJB3X.js → chunk-BGESEKEN.js} +5 -5
- package/dist/chunk-CPWTHZGJ.js +156 -0
- package/dist/chunk-D6UTDI2K.js +28 -0
- package/dist/chunk-DZTMUFVC.js +83 -0
- package/dist/chunk-EWMWQ2MC.js +7 -0
- package/dist/{chunk-MICIYADH.js → chunk-F7HR3VI4.js} +1 -1
- package/dist/chunk-FGDSWA7S.js +91 -0
- package/dist/{chunk-FJ4WILCG.js → chunk-GBABMUAI.js} +2 -2
- package/dist/chunk-GXBVNCVP.js +43 -0
- package/dist/{chunk-LL2FMAAO.js → chunk-H6CDFWVR.js} +9 -3
- package/dist/chunk-HDYG2F3D.js +82 -0
- package/dist/chunk-I67NHYK4.js +7 -0
- package/dist/chunk-IXB2WK56.js +7 -0
- package/dist/chunk-LCAS3YQV.js +7 -0
- package/dist/chunk-LJXTJRSB.js +1 -0
- package/dist/chunk-LRXYIR2A.js +56 -0
- package/dist/{chunk-6JSCWDLJ.js → chunk-LSVXKVG4.js} +4 -4
- package/dist/{chunk-O2WSE3EM.js → chunk-N745TDH5.js} +4 -4
- package/dist/chunk-O4XPUINW.js +7 -0
- package/dist/chunk-O7IJYNVQ.js +7 -0
- package/dist/{chunk-S67EVV3J.js → chunk-OMBQ3J4O.js} +5 -5
- package/dist/{chunk-LKE4VXIP.js → chunk-PDYU6DNF.js} +5 -5
- package/dist/{chunk-GYK77A5U.js → chunk-PEPKE5SW.js} +5 -4
- package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
- package/dist/{chunk-N2QZWPQF.js → chunk-QJBQRYJS.js} +2 -2
- package/dist/chunk-QW45G6K4.js +7 -0
- package/dist/{chunk-XTRE6FPK.js → chunk-RCFB4SN4.js} +5 -5
- package/dist/chunk-SC6ZK5ON.js +7 -0
- package/dist/chunk-SWMFTL46.js +373 -0
- package/dist/chunk-TIPN4VYD.js +46 -0
- package/dist/chunk-TR7YX3IZ.js +96 -0
- package/dist/{chunk-FAXZNX63.js → chunk-TSXPLL55.js} +6 -5
- package/dist/chunk-TXZ6BMFR.js +7 -0
- package/dist/{chunk-2NABNL6G.js → chunk-WGDP4ECF.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-XLKYXKWE.js +7 -0
- package/dist/{chunk-IYQZFIWZ.js → chunk-XSASR6CK.js} +4 -4
- package/dist/{chunk-M67A5LAA.js → chunk-Y3L6TPP3.js} +11 -11
- package/dist/chunk-Y7HUXUHX.js +30 -0
- package/dist/{chunk-RLIG2IHH.js → chunk-Y7XWWUMU.js} +3 -3
- package/dist/chunk-Z3ID4UEE.js +55 -0
- package/dist/{chunk-CK42RJLK.js → chunk-ZAJJD5FY.js} +5 -5
- 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 +14 -13
- 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,28 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
+
import { TagProps as TagProps$1 } from 'react-aria-components';
|
|
4
|
+
|
|
5
|
+
declare const GlobalTagCssSelector = "hop-Tag";
|
|
6
|
+
interface TagProps extends StyledComponentProps<TagProps$1> {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the tag is invalid or not.
|
|
9
|
+
*/
|
|
10
|
+
isInvalid?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the tag is loading or not.
|
|
13
|
+
*/
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The size of the tag.
|
|
17
|
+
* @default "md"
|
|
18
|
+
*/
|
|
19
|
+
size?: ResponsiveProp<"md" | "lg">;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A tag group is an interactive collection of labels, categories, keywords, or filters, with capabilities for keyboard navigation, selection, and removal.
|
|
23
|
+
*
|
|
24
|
+
* [View Documentation](TODO)
|
|
25
|
+
*/
|
|
26
|
+
declare const _Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
|
|
28
|
+
export { GlobalTagCssSelector, _Tag as Tag, type TagProps };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export { GlobalTagCssSelector, _Tag as Tag } from '../../chunk-SWMFTL46.js';
|
|
2
|
+
import '../../chunk-TXZ6BMFR.js';
|
|
3
|
+
import '../../chunk-TIPN4VYD.js';
|
|
4
|
+
import '../../chunk-FGDSWA7S.js';
|
|
5
|
+
import '../../chunk-EWMWQ2MC.js';
|
|
6
|
+
import '../../chunk-LCAS3YQV.js';
|
|
7
|
+
import '../../chunk-WWRB4K4M.js';
|
|
8
|
+
import '../../chunk-XLKYXKWE.js';
|
|
9
|
+
import '../../chunk-PDYU6DNF.js';
|
|
10
|
+
import '../../chunk-5MBJWRZD.js';
|
|
11
|
+
import '../../chunk-NKHMUPAP.js';
|
|
12
|
+
import '../../chunk-A7TZHALP.js';
|
|
13
|
+
import '../../chunk-ZAJJD5FY.js';
|
|
14
|
+
import '../../chunk-N745TDH5.js';
|
|
15
|
+
import '../../chunk-H7VJS4MX.js';
|
|
16
|
+
import '../../chunk-YHBJAXUY.js';
|
|
17
|
+
import '../../chunk-Z3ID4UEE.js';
|
|
18
|
+
import '../../chunk-Y7HUXUHX.js';
|
|
19
|
+
import '../../chunk-D6UTDI2K.js';
|
|
20
|
+
import '../../chunk-BGESEKEN.js';
|
|
21
|
+
import '../../chunk-TSXPLL55.js';
|
|
22
|
+
import '../../chunk-FU5CCPLP.js';
|
|
23
|
+
import '../../chunk-DGLAGYBD.js';
|
|
24
|
+
import '../../chunk-GXBVNCVP.js';
|
|
25
|
+
import '../../chunk-IXB2WK56.js';
|
|
26
|
+
import '../../chunk-TVFC2MJ4.js';
|
|
27
|
+
import '../../chunk-AQITZWYM.js';
|
|
28
|
+
import '../../chunk-I67NHYK4.js';
|
|
29
|
+
import '../../chunk-PEPKE5SW.js';
|
|
30
|
+
import '../../chunk-WTKIUAHI.js';
|
|
31
|
+
import '../../chunk-QJBQRYJS.js';
|
|
32
|
+
import '../../chunk-GBABMUAI.js';
|
|
33
|
+
import '../../chunk-XSASR6CK.js';
|
|
34
|
+
import '../../chunk-LSVXKVG4.js';
|
|
35
|
+
import '../../chunk-ACVMW6YD.js';
|
|
36
|
+
import '../../chunk-ESVVLTEN.js';
|
|
37
|
+
import '../../chunk-ZGNK4GWA.js';
|
|
38
|
+
import '../../chunk-N7YDPVZL.js';
|
|
39
|
+
import '../../chunk-3LRBUQC2.js';
|
|
40
|
+
import '../../chunk-WDUQUPTE.js';
|
|
41
|
+
import '../../chunk-HDYG2F3D.js';
|
|
42
|
+
import '../../chunk-VJQ7M2BK.js';
|
|
43
|
+
import '../../chunk-5GRWAXTT.js';
|
|
44
|
+
import '../../chunk-DXVKHP4V.js';
|
|
45
|
+
import '../../chunk-6MSYEF4W.js';
|
|
46
|
+
import '../../chunk-O7IJYNVQ.js';
|
|
47
|
+
import '../../chunk-OMBQ3J4O.js';
|
|
48
|
+
import '../../chunk-2EAZPH3M.js';
|
|
49
|
+
import '../../chunk-LRXYIR2A.js';
|
|
50
|
+
import '../../chunk-BCHUEONM.js';
|
|
51
|
+
import '../../chunk-WPNVVGFW.js';
|
|
52
|
+
import '../../chunk-ZSFJVMJN.js';
|
|
53
|
+
import '../../chunk-Y3L6TPP3.js';
|
|
54
|
+
import '../../chunk-H5YTU3U7.js';
|
|
55
|
+
import '../../chunk-NH3IVMXB.js';
|
|
56
|
+
import '../../chunk-H6CDFWVR.js';
|
|
57
|
+
import '../../chunk-Y7XWWUMU.js';
|
|
58
|
+
import '../../chunk-2CKDJG6R.js';
|
|
59
|
+
import '../../chunk-QCA3ZR56.js';
|
|
60
|
+
import '../../chunk-4ZYV2XLW.js';
|
|
61
|
+
import '../../chunk-WMTWFKKP.js';
|
|
62
|
+
import '../../chunk-ANVMQBBG.js';
|
|
63
|
+
import '../../chunk-F7HR3VI4.js';
|
|
64
|
+
import '../../chunk-RCFB4SN4.js';
|
|
65
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
66
|
+
import '../../chunk-WGDP4ECF.js';
|
|
67
|
+
import '../../chunk-HXI3MEEK.js';
|
|
68
|
+
import '../../chunk-X6SER3TZ.js';
|
|
69
|
+
import '../../chunk-65JPI4FL.js';
|
|
70
|
+
import '../../chunk-KVDXQMWI.js';
|
|
71
|
+
import '../../chunk-M36KANKC.js';
|
|
72
|
+
import '../../chunk-DHVVYSLB.js';
|
|
73
|
+
import '../../chunk-4VVNSXIB.js';
|
|
74
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { TagProps } from './Tag.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
|
|
6
|
+
declare const TagContext: react.Context<ContextValue<TagProps, HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TagContext };
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
2
|
+
.Text-module__hop-Text___L5SE4 {
|
|
3
|
+
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
|
+
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
|
+
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
6
|
+
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
7
|
+
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
8
|
+
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
9
|
+
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
10
|
+
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
11
|
+
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
12
|
+
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
13
|
+
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
14
|
+
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
15
|
+
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
16
|
+
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
17
|
+
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
18
|
+
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
19
|
+
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
20
|
+
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
21
|
+
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
22
|
+
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
23
|
+
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
24
|
+
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
25
|
+
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
26
|
+
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
27
|
+
--hop-Text-inherit-size-font-size: inherit;
|
|
28
|
+
--hop-Text-inherit-size-font-family: inherit;
|
|
29
|
+
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
|
+
--hop-Text-inherit-size-line-height: inherit;
|
|
31
|
+
}
|
|
32
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
33
|
+
font-family: var(--font-family);
|
|
34
|
+
font-size: var(--font-size);
|
|
35
|
+
font-weight: var(--font-weight);
|
|
36
|
+
line-height: var(--line-height);
|
|
37
|
+
}
|
|
38
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
39
|
+
--font-size: var(--hop-Text-xs-font-size);
|
|
40
|
+
--font-family: var(--hop-Text-xs-font-family);
|
|
41
|
+
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
|
+
--line-height: var(--hop-Text-xs-line-height);
|
|
43
|
+
}
|
|
44
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
45
|
+
--font-size: var(--hop-Text-sm-font-size);
|
|
46
|
+
--font-family: var(--hop-Text-sm-font-family);
|
|
47
|
+
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
|
+
--line-height: var(--hop-Text-sm-line-height);
|
|
49
|
+
}
|
|
50
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
51
|
+
--font-size: var(--hop-Text-md-font-size);
|
|
52
|
+
--font-family: var(--hop-Text-md-font-family);
|
|
53
|
+
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
|
+
--line-height: var(--hop-Text-md-line-height);
|
|
55
|
+
}
|
|
56
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
57
|
+
--font-size: var(--hop-Text-lg-font-size);
|
|
58
|
+
--font-family: var(--hop-Text-lg-font-family);
|
|
59
|
+
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
|
+
--line-height: var(--hop-Text-lg-line-height);
|
|
61
|
+
}
|
|
62
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
63
|
+
--font-size: var(--hop-Text-xl-font-size);
|
|
64
|
+
--font-family: var(--hop-Text-xl-font-family);
|
|
65
|
+
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
|
+
--line-height: var(--hop-Text-xl-line-height);
|
|
67
|
+
}
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
69
|
+
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
|
+
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
|
+
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
|
+
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
|
+
}
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
75
|
+
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
|
+
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
|
+
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
78
|
+
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/errorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___mRyMK {
|
|
83
|
+
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
84
|
+
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
85
|
+
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
86
|
+
--hop-ErrorMessage-font-weight: var(--hop-body-xs-font-weight);
|
|
87
|
+
--hop-ErrorMessage-line-height: var(--hop-body-xs-line-height);
|
|
88
|
+
--hop-ErrorMessage-column-gap: var(--hop-space-inline-xs);
|
|
89
|
+
display: flex;
|
|
90
|
+
column-gap: var(--hop-ErrorMessage-column-gap);
|
|
91
|
+
align-items: center;
|
|
92
|
+
box-sizing: border-box;
|
|
93
|
+
font-family: var(--hop-ErrorMessage-font-family);
|
|
94
|
+
font-size: var(--hop-ErrorMessage-font-size);
|
|
95
|
+
font-weight: var(--hop-ErrorMessage-font-weight);
|
|
96
|
+
line-height: var(--hop-ErrorMessage-line-height);
|
|
97
|
+
color: var(--hop-ErrorMessage-color);
|
|
98
|
+
}
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___w9R-k {
|
|
100
|
+
flex: 0 0 auto;
|
|
101
|
+
align-self: flex-start;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/helperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
105
|
+
.HelperMessage-module__hop-HelperMessage___VrfVI {
|
|
106
|
+
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
107
|
+
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
108
|
+
display: flex;
|
|
109
|
+
column-gap: var(--hop-HelperMessage-column-gap);
|
|
110
|
+
align-items: center;
|
|
111
|
+
box-sizing: border-box;
|
|
112
|
+
color: var(--hop-HelperMessage-color);
|
|
113
|
+
}
|
|
114
|
+
.HelperMessage-module__hop-HelperMessage__icon___mVrpO {
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
align-self: flex-start;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
120
|
+
.Label-module__hop-Label___7xL3v {
|
|
121
|
+
--hop-Label-xs-font-size: var(--hop-body-xs-font-size);
|
|
122
|
+
--hop-Label-xs-font-family: var(--hop-body-xs-font-family);
|
|
123
|
+
--hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
124
|
+
--hop-Label-xs-line-height: var(--hop-body-xs-line-height);
|
|
125
|
+
--hop-Label-sm-font-size: var(--hop-body-sm-font-size);
|
|
126
|
+
--hop-Label-sm-font-family: var(--hop-body-sm-font-family);
|
|
127
|
+
--hop-Label-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
128
|
+
--hop-Label-sm-line-height: var(--hop-body-sm-line-height);
|
|
129
|
+
--hop-Label-md-font-size: var(--hop-body-md-font-size);
|
|
130
|
+
--hop-Label-md-font-family: var(--hop-body-md-font-family);
|
|
131
|
+
--hop-Label-md-font-weight: var(--hop-body-md-font-weight);
|
|
132
|
+
--hop-Label-md-line-height: var(--hop-body-md-line-height);
|
|
133
|
+
--hop-Label-lg-font-size: var(--hop-body-lg-font-size);
|
|
134
|
+
--hop-Label-lg-font-family: var(--hop-body-lg-font-family);
|
|
135
|
+
--hop-Label-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
136
|
+
--hop-Label-lg-line-height: var(--hop-body-lg-line-height);
|
|
137
|
+
--hop-Label-xl-font-size: var(--hop-body-xl-font-size);
|
|
138
|
+
--hop-Label-xl-font-family: var(--hop-body-xl-font-family);
|
|
139
|
+
--hop-Label-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
140
|
+
--hop-Label-xl-line-height: var(--hop-body-xl-line-height);
|
|
141
|
+
--hop-Label-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
142
|
+
--hop-Label-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
143
|
+
--hop-Label-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
144
|
+
--hop-Label-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
145
|
+
--hop-Label-inherit-size-font-size: inherit;
|
|
146
|
+
--hop-Label-inherit-size-font-family: inherit;
|
|
147
|
+
--hop-Label-inherit-size-font-weight: inherit;
|
|
148
|
+
--hop-Label-inherit-size-line-height: inherit;
|
|
149
|
+
}
|
|
150
|
+
:where(.Label-module__hop-Label___7xL3v) {
|
|
151
|
+
font-family: var(--font-family);
|
|
152
|
+
font-size: var(--font-size);
|
|
153
|
+
font-weight: var(--font-weight);
|
|
154
|
+
line-height: var(--line-height);
|
|
155
|
+
}
|
|
156
|
+
:where(.Label-module__hop-Label--xs___CHLy3) {
|
|
157
|
+
--font-size: var(--hop-Label-xs-font-size);
|
|
158
|
+
--font-family: var(--hop-Label-xs-font-family);
|
|
159
|
+
--font-weight: var(--hop-Label-xs-font-weight);
|
|
160
|
+
--line-height: var(--hop-Label-xs-line-height);
|
|
161
|
+
}
|
|
162
|
+
:where(.Label-module__hop-Label--sm___oQzz3) {
|
|
163
|
+
--font-size: var(--hop-Label-sm-font-size);
|
|
164
|
+
--font-family: var(--hop-Label-sm-font-family);
|
|
165
|
+
--font-weight: var(--hop-Label-sm-font-weight);
|
|
166
|
+
--line-height: var(--hop-Label-sm-line-height);
|
|
167
|
+
}
|
|
168
|
+
:where(.Label-module__hop-Label--md___dLqF6) {
|
|
169
|
+
--font-size: var(--hop-Label-md-font-size);
|
|
170
|
+
--font-family: var(--hop-Label-md-font-family);
|
|
171
|
+
--font-weight: var(--hop-Label-md-font-weight);
|
|
172
|
+
--line-height: var(--hop-Label-md-line-height);
|
|
173
|
+
}
|
|
174
|
+
:where(.Label-module__hop-Label--lg___ViQCe) {
|
|
175
|
+
--font-size: var(--hop-Label-lg-font-size);
|
|
176
|
+
--font-family: var(--hop-Label-lg-font-family);
|
|
177
|
+
--font-weight: var(--hop-Label-lg-font-weight);
|
|
178
|
+
--line-height: var(--hop-Label-lg-line-height);
|
|
179
|
+
}
|
|
180
|
+
:where(.Label-module__hop-Label--xl___wlNpS) {
|
|
181
|
+
--font-size: var(--hop-Label-xl-font-size);
|
|
182
|
+
--font-family: var(--hop-Label-xl-font-family);
|
|
183
|
+
--font-weight: var(--hop-Label-xl-font-weight);
|
|
184
|
+
--line-height: var(--hop-Label-xl-line-height);
|
|
185
|
+
}
|
|
186
|
+
:where(.Label-module__hop-Label--2xl___N5Lkc) {
|
|
187
|
+
--font-size: var(--hop-Label-2xl-font-size);
|
|
188
|
+
--font-family: var(--hop-Label-2xl-font-family);
|
|
189
|
+
--font-weight: var(--hop-Label-2xl-font-weight);
|
|
190
|
+
--line-height: var(--hop-Label-2xl-line-height);
|
|
191
|
+
}
|
|
192
|
+
:where(.Label-module__hop-Label--inherit___UeeVB) {
|
|
193
|
+
--font-size: var(--hop-Label-inherit-size-font-size);
|
|
194
|
+
--font-family: var(--hop-Label-inherit-size-font-family);
|
|
195
|
+
--font-weight: var(--hop-Label-inherit-size-font-weight);
|
|
196
|
+
--line-height: var(--hop-Label-inherit-size-line-height);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/tag/src/TagGroup.module.css/#css-module-data */
|
|
200
|
+
.TagGroup-module__hop-TagGroup___jU0Oi {
|
|
201
|
+
--hop-TagGroup-row-gap: var(--hop-space-inline-sm);
|
|
202
|
+
--hop-TagGroup-list-column-gap: var(--hop-space-inline-sm);
|
|
203
|
+
--hop-TagGroup-list-row-gap: var(--hop-space-inline-sm);
|
|
204
|
+
--hop-TagGroup-list-focus-ring-color: var(--hop-primary-border-focus);
|
|
205
|
+
--hop-TagGroup-list-border-radius: var(--hop-shape-rounded-sm);
|
|
206
|
+
--row-gap: var(--hop-TagGroup-row-gap);
|
|
207
|
+
--list-column-gap: var(--hop-TagGroup-list-column-gap);
|
|
208
|
+
--list-row-gap: var(--hop-TagGroup-list-row-gap);
|
|
209
|
+
--list-focus-ring-color: var(--hop-TagGroup-list-focus-ring-color);
|
|
210
|
+
--list-border-radius: var(--hop-TagGroup-list-border-radius);
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
row-gap: var(--row-gap);
|
|
214
|
+
align-items: flex-start;
|
|
215
|
+
justify-content: flex-start;
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
inline-size: max-content;
|
|
218
|
+
max-inline-size: 100%;
|
|
219
|
+
}
|
|
220
|
+
.TagGroup-module__hop-TagGroup___jU0Oi > .TagGroup-module__hop-TagGroup__label___6FsvW {
|
|
221
|
+
order: 1;
|
|
222
|
+
}
|
|
223
|
+
.TagGroup-module__hop-TagGroup__list___sB-Og {
|
|
224
|
+
display: flex;
|
|
225
|
+
flex-wrap: wrap;
|
|
226
|
+
gap: var(--list-row-gap) var(--list-column-gap);
|
|
227
|
+
align-items: center;
|
|
228
|
+
order: 2;
|
|
229
|
+
border-radius: var(--list-border-radius);
|
|
230
|
+
outline: none;
|
|
231
|
+
}
|
|
232
|
+
.TagGroup-module__hop-TagGroup__list___sB-Og[data-focus-visible] {
|
|
233
|
+
outline: 0.125rem solid var(--list-focus-ring-color);
|
|
234
|
+
outline-offset: 0.125rem;
|
|
235
|
+
}
|
|
236
|
+
.TagGroup-module__hop-TagGroup___jU0Oi > .TagGroup-module__hop-TagGroup__error-message___mOw5E,
|
|
237
|
+
.TagGroup-module__hop-TagGroup___jU0Oi > .TagGroup-module__hop-TagGroup__helper-message___6ln7G {
|
|
238
|
+
order: 3;
|
|
239
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
+
import { TagGroupProps as TagGroupProps$1 } from 'react-aria-components';
|
|
4
|
+
|
|
5
|
+
declare const GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
6
|
+
interface TagGroupProps extends StyledComponentProps<TagGroupProps$1> {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the tags are invalid or not.
|
|
9
|
+
*/
|
|
10
|
+
isInvalid?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* A tag can vary in size.
|
|
13
|
+
* @default "md"
|
|
14
|
+
*/
|
|
15
|
+
size?: ResponsiveProp<"md" | "lg">;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A versatile TagGroup component for categorizing items in a TagGroupList, equipped with a remove button for easy management.
|
|
19
|
+
*
|
|
20
|
+
* [View Documentation](TODO)
|
|
21
|
+
*/
|
|
22
|
+
declare const _TagGroup: react.ForwardRefExoticComponent<TagGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
|
|
24
|
+
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup, type TagGroupProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { GlobalTagGroupCssSelector, _TagGroup as TagGroup } from '../../chunk-FGDSWA7S.js';
|
|
2
|
+
import '../../chunk-EWMWQ2MC.js';
|
|
3
|
+
import '../../chunk-LCAS3YQV.js';
|
|
4
|
+
import '../../chunk-XLKYXKWE.js';
|
|
5
|
+
import '../../chunk-ACVMW6YD.js';
|
|
6
|
+
import '../../chunk-ESVVLTEN.js';
|
|
7
|
+
import '../../chunk-QCA3ZR56.js';
|
|
8
|
+
import '../../chunk-KVDXQMWI.js';
|
|
9
|
+
import '../../chunk-M36KANKC.js';
|
|
10
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { TagGroupProps } from './TagGroup.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
|
|
6
|
+
declare const TagGroupContext: react.Context<ContextValue<TagGroupProps, HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TagGroupContext };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
3
|
+
import { TagListProps as TagListProps$1 } from 'react-aria-components';
|
|
4
|
+
|
|
5
|
+
declare const GlobalTagListCssSelector = "hop-TagList";
|
|
6
|
+
interface TagListProps<T> extends StyledComponentProps<TagListProps$1<T>> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A versatile TagList component for categorizing items in a TagListList, equipped with a remove button for easy management.
|
|
10
|
+
*
|
|
11
|
+
* [View Documentation](TODO)
|
|
12
|
+
*/
|
|
13
|
+
declare const _TagList: react.ForwardRefExoticComponent<TagListProps<object> & react.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
export { GlobalTagListCssSelector, _TagList as TagList, type TagListProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ContextValue } from 'react-aria-components';
|
|
3
|
+
import { TagListProps } from './TagList.js';
|
|
4
|
+
import '@hopper-ui/styled-system';
|
|
5
|
+
|
|
6
|
+
declare const TagListContext: react.Context<ContextValue<TagListProps<object>, HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
export { TagListContext };
|