@hopper-ui/components 1.3.13 → 1.3.15
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/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.d.ts +2 -2
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +44 -44
- package/dist/Badge/src/Badge.d.ts +3 -2
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +54 -54
- package/dist/Badge/src/index.d.ts +1 -1
- package/dist/Badge/src/index.js +3 -3
- package/dist/ClearButton-DTR1qTbm.d.ts +84 -0
- package/dist/ComboBox/src/ComboBox.css +715 -715
- package/dist/ComboBox/src/ComboBox.d.ts +5 -6
- package/dist/ComboBox/src/ComboBox.js +45 -45
- package/dist/ComboBox/src/index.css +715 -715
- package/dist/ComboBox/src/index.d.ts +1 -1
- package/dist/ComboBox/src/index.js +45 -45
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +715 -715
- package/dist/Form/src/Form.d.ts +4 -2
- package/dist/Form/src/Form.js +45 -45
- package/dist/Form/src/FormContext.d.ts +2 -0
- package/dist/Form/src/index.css +715 -715
- package/dist/Form/src/index.d.ts +2 -0
- package/dist/Form/src/index.js +45 -45
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.d.ts +2 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/IconListContext.d.ts +1 -0
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.d.ts +1 -0
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.d.ts +5 -3
- package/dist/Link/src/Link.js +6 -6
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.d.ts +1 -1
- package/dist/Link/src/index.js +6 -6
- package/dist/ListBox/src/ListBox.css +276 -276
- package/dist/ListBox/src/ListBox.d.ts +2 -2
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +264 -264
- package/dist/ListBox/src/ListBoxItem.d.ts +3 -2
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +7 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +6 -0
- package/dist/ListBox/src/index.css +276 -276
- package/dist/ListBox/src/index.d.ts +1 -1
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Select/src/Select.css +715 -715
- package/dist/Select/src/Select.d.ts +5 -6
- package/dist/Select/src/Select.js +45 -45
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.d.ts +2 -12
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +715 -715
- package/dist/Select/src/index.d.ts +1 -1
- package/dist/Select/src/index.js +45 -45
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.d.ts +3 -2
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.d.ts +1 -1
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +112 -112
- package/dist/buttons/src/Button.d.ts +5 -3
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.d.ts +7 -2
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +4 -0
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.d.ts +5 -14
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/ClearButtonContext.d.ts +4 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.d.ts +7 -33
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +4 -1
- package/dist/buttons/src/index.css +194 -194
- package/dist/buttons/src/index.d.ts +2 -3
- package/dist/buttons/src/index.js +10 -10
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.d.ts +3 -1
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.d.ts +2 -2
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.d.ts +7 -4
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/CheckboxGroupContext.d.ts +3 -0
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +6 -6
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +9 -9
- package/dist/{chunk-525E7GQA.js → chunk-2F2YVBQD.js} +1 -1
- package/dist/{chunk-WHESXP63.js → chunk-2UYFV2P4.js} +5 -5
- package/dist/{chunk-NMVERJN3.js → chunk-3MXOMHBS.js} +9 -6
- package/dist/{chunk-PIPM74ZR.js → chunk-42SR5EVF.js} +1 -1
- package/dist/{chunk-KEFMYHZ7.js → chunk-4R3M2NNX.js} +2 -2
- package/dist/{chunk-WXDO7NVW.js → chunk-4UGSRIBO.js} +1 -1
- package/dist/{chunk-WGK36YRB.js → chunk-AHLKBS2Y.js} +1 -1
- package/dist/{chunk-4SAYVVYL.js → chunk-BF7HAYOR.js} +3 -3
- package/dist/{chunk-6CMYDEZX.js → chunk-BRHWCD4E.js} +8 -8
- package/dist/{chunk-Y4DX32HX.js → chunk-DKRWFVL5.js} +2 -2
- package/dist/{chunk-2T4YF6YA.js → chunk-DSOQFDL6.js} +11 -8
- package/dist/{chunk-TWDVOXVB.js → chunk-EKKM325I.js} +1 -1
- package/dist/{chunk-VGVPCTWN.js → chunk-FCLBTCIZ.js} +2 -2
- package/dist/{chunk-POYJ4HSP.js → chunk-FM3OXN5X.js} +2 -2
- package/dist/{chunk-2YCQ3HR4.js → chunk-HEM5EQTE.js} +1 -1
- package/dist/{chunk-YEFNZ7AV.js → chunk-INPQCCZW.js} +4 -4
- package/dist/{chunk-SED3IAG6.js → chunk-J3D2R65H.js} +2 -2
- package/dist/{chunk-BNRFZJH2.js → chunk-JS73246N.js} +1 -1
- package/dist/{chunk-QOJVYB3C.js → chunk-K5YXQRB6.js} +1 -1
- package/dist/{chunk-YJR4NQEV.js → chunk-KD2BNI3B.js} +2 -2
- package/dist/{chunk-5C4FZTGZ.js → chunk-MNULBQEY.js} +3 -3
- package/dist/{chunk-2FPPOLXY.js → chunk-MSVVMR25.js} +2 -2
- package/dist/{chunk-NDNG5JZM.js → chunk-MVXDS4SV.js} +1 -1
- package/dist/{chunk-5NLYTU3H.js → chunk-NPBJ5NP3.js} +2 -2
- package/dist/{chunk-JE3XX2SJ.js → chunk-NY6LKOFP.js} +1 -1
- package/dist/{chunk-ZXLXPVHG.js → chunk-ON7TM5G4.js} +2 -2
- package/dist/{chunk-PC57XZVV.js → chunk-QODTNXC4.js} +3 -3
- package/dist/{chunk-AXOHWQ3F.js → chunk-QUZKTC4T.js} +1 -1
- package/dist/{chunk-BRXIL2PF.js → chunk-REQBEZXL.js} +1 -1
- package/dist/{chunk-XA4GSKHM.js → chunk-S6VNAA2B.js} +1 -1
- package/dist/{chunk-AHYLFUTN.js → chunk-TRUSCHM6.js} +3 -3
- package/dist/{chunk-D7DJDRJ3.js → chunk-TYD72WIE.js} +1 -1
- package/dist/{chunk-TAKV5UAB.js → chunk-U6KO3LSI.js} +1 -1
- package/dist/{chunk-7NUKUYR2.js → chunk-UMRM67P6.js} +1 -1
- package/dist/{chunk-4LGBWVIU.js → chunk-V2FUAW5S.js} +1 -1
- package/dist/{chunk-AG6PENAS.js → chunk-VKWSBS2Q.js} +2 -2
- package/dist/{chunk-RWV3WC6S.js → chunk-VXHWY73C.js} +3 -3
- package/dist/{chunk-GP6BKXPT.js → chunk-WISSHKEJ.js} +1 -1
- package/dist/{chunk-QZK76BU7.js → chunk-WLTMFA3D.js} +1 -1
- package/dist/{chunk-VNC3T7SU.js → chunk-WPA4XSMS.js} +1 -1
- package/dist/{chunk-N2LF4W2F.js → chunk-XQYDLNV6.js} +1 -1
- package/dist/{chunk-NCSZH3BX.js → chunk-XX3CTQ6Z.js} +2 -2
- package/dist/{chunk-ZVEICADL.js → chunk-YIRX2ZQU.js} +1 -1
- package/dist/{chunk-N4W5OGVT.js → chunk-Z23GBTBB.js} +3 -3
- package/dist/{chunk-L4P3WZD5.js → chunk-ZOX6BPCQ.js} +2 -2
- package/dist/index.css +715 -715
- package/dist/index.d.ts +15 -17
- package/dist/index.js +45 -45
- package/dist/inputs/src/InputGroup.css +209 -209
- package/dist/inputs/src/InputGroup.d.ts +6 -3
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/InputGroupContext.d.ts +2 -0
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.d.ts +4 -2
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/NumberFieldContext.d.ts +2 -0
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.d.ts +6 -3
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/PasswordFieldContext.d.ts +4 -1
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.d.ts +6 -4
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/SearchFieldContext.d.ts +4 -2
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.d.ts +5 -7
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextAreaContext.d.ts +2 -2
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.d.ts +5 -7
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/TextFieldContext.d.ts +2 -2
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.d.ts +3 -3
- package/dist/inputs/src/index.js +14 -14
- package/dist/overlays/Popover/src/Popover.css +715 -715
- package/dist/overlays/Popover/src/Popover.d.ts +3 -5
- package/dist/overlays/Popover/src/Popover.js +45 -45
- package/dist/overlays/Popover/src/index.css +715 -715
- package/dist/overlays/Popover/src/index.d.ts +1 -1
- package/dist/overlays/Popover/src/index.js +45 -45
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +6 -6
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.d.ts +3 -1
- package/dist/radio/src/Radio.js +6 -6
- package/dist/radio/src/RadioContext.d.ts +2 -0
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.d.ts +2 -2
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.d.ts +7 -4
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/RadioGroupContext.d.ts +3 -0
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +9 -9
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.d.ts +3 -1
- package/dist/switch/src/Switch.js +6 -6
- package/dist/switch/src/SwitchContext.d.ts +2 -0
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.d.ts +2 -2
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +7 -7
- package/dist/tag/src/Tag.css +337 -337
- package/dist/tag/src/Tag.d.ts +5 -44
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagContext.d.ts +1 -3
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.d.ts +7 -3
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/TagGroupContext.d.ts +4 -0
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +347 -347
- package/dist/tag/src/index.d.ts +1 -3
- package/dist/tag/src/index.js +10 -10
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.d.ts +3 -2
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.d.ts +1 -1
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.d.ts +3 -1
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/LabelContext.d.ts +2 -0
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.d.ts +2 -0
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.d.ts +3 -2
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.d.ts +1 -1
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.d.ts +1 -1
- package/dist/utils/src/index.js +5 -5
- package/dist/utils/src/types.d.ts +5 -1
- package/package.json +4 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
|
+
import { TagProps as TagProps$1, ButtonProps } from 'react-aria-components';
|
|
4
|
+
import { SpinnerProps } from './Spinner/src/Spinner.js';
|
|
5
|
+
|
|
6
|
+
declare const GlobalTagCssSelector = "hop-Tag";
|
|
7
|
+
type TagSize = "sm" | "md" | "lg";
|
|
8
|
+
type TagVariant = "neutral" | "subdued" | "progress" | "positive" | "caution" | "negative" | "option1" | "option2" | "option3" | "option4" | "option5" | "option6";
|
|
9
|
+
interface TagProps extends StyledComponentProps<TagProps$1> {
|
|
10
|
+
/**
|
|
11
|
+
* Whether the tag is invalid or not.
|
|
12
|
+
*/
|
|
13
|
+
isInvalid?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the tag is loading or not.
|
|
16
|
+
*/
|
|
17
|
+
isLoading?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The size of the tag.
|
|
20
|
+
* @default "md"
|
|
21
|
+
*/
|
|
22
|
+
size?: ResponsiveProp<TagSize>;
|
|
23
|
+
/**
|
|
24
|
+
* The visual style of the Tag.
|
|
25
|
+
* @default "neutral"
|
|
26
|
+
*/
|
|
27
|
+
variant?: TagVariant;
|
|
28
|
+
/**
|
|
29
|
+
* The props of the ClearButton.
|
|
30
|
+
*/
|
|
31
|
+
clearButtonProps?: ClearButtonProps;
|
|
32
|
+
/**
|
|
33
|
+
* The props of the Spinner.
|
|
34
|
+
*/
|
|
35
|
+
spinnerProps?: SpinnerProps;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A tag group is an interactive collection of labels, categories, keywords, or filters, with capabilities for keyboard navigation, selection, and removal.
|
|
39
|
+
*
|
|
40
|
+
* [View Documentation](TODO)
|
|
41
|
+
*/
|
|
42
|
+
declare const _Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
|
|
44
|
+
declare const GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
45
|
+
type EmbeddedButtonSize = "md" | "lg";
|
|
46
|
+
type EmbeddedButtonVariant = TagVariant;
|
|
47
|
+
interface EmbeddedButtonProps extends StyledComponentProps<ButtonProps> {
|
|
48
|
+
/**
|
|
49
|
+
* Whether the EmbeddedButton should show a selected state.
|
|
50
|
+
*/
|
|
51
|
+
isSelected?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The size of the EmbeddedButton.
|
|
54
|
+
* @default "md"
|
|
55
|
+
*/
|
|
56
|
+
size?: ResponsiveProp<EmbeddedButtonSize>;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the EmbeddedButton is square in shape.
|
|
59
|
+
*/
|
|
60
|
+
isSquare?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* The visual style of the EmbeddedButton.
|
|
63
|
+
* @default "neutral"
|
|
64
|
+
*/
|
|
65
|
+
variant?: EmbeddedButtonVariant;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* EmbeddedButtons are buttons embedded within other components, such as inputs and tags.
|
|
69
|
+
*
|
|
70
|
+
* [View Documentation](TODO)
|
|
71
|
+
*/
|
|
72
|
+
declare const _EmbeddedButton: react.ForwardRefExoticComponent<EmbeddedButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
73
|
+
|
|
74
|
+
declare const GlobalClearButtonCssSelector = "hop-ClearButton";
|
|
75
|
+
interface ClearButtonProps extends EmbeddedButtonProps {
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* ClearButtons are used to initialize an action. ClearButton labels express what action will occur when the user interacts with it.
|
|
79
|
+
*
|
|
80
|
+
* [View Documentation](TODO)
|
|
81
|
+
*/
|
|
82
|
+
declare const _ClearButton: react.ForwardRefExoticComponent<ClearButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
83
|
+
|
|
84
|
+
export { type ClearButtonProps as C, type EmbeddedButtonSize as E, GlobalClearButtonCssSelector as G, type TagSize as T, _ClearButton as _, _EmbeddedButton as a, GlobalEmbeddedButtonCssSelector as b, type EmbeddedButtonVariant as c, type EmbeddedButtonProps as d, _Tag as e, GlobalTagCssSelector as f, type TagVariant as g, type TagProps as h };
|