@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
6
6
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { forwardRef } from 'react';
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./CheckboxField.module.css#css-module
|
|
14
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
14
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___-xrw1", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___E54A8", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___zTOLT", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___xBzvs", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___ZmA-j" };
|
|
15
15
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
16
16
|
var CheckboxToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
2
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
3
|
+
import { useLocalizedString } from './chunk-H6CDFWVR.js';
|
|
4
|
+
import { _Spinner } from './chunk-Y7XWWUMU.js';
|
|
3
5
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
|
-
import { useLocalizedString } from './chunk-LL2FMAAO.js';
|
|
5
6
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
|
-
import {
|
|
7
|
+
import { _Text } from './chunk-WGDP4ECF.js';
|
|
8
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
-
import {
|
|
9
|
-
import { TextContext } from './chunk-OE5BLFZI.js';
|
|
10
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
12
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
12
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext } from '@hopper-ui/icons';
|
|
14
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
14
|
+
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
15
15
|
import { chain, filterDOMProps, useRouter, shouldClientNavigate } from '@react-aria/utils';
|
|
16
16
|
import { forwardRef } from 'react';
|
|
17
17
|
import { useFocusRing, useHover, useButton, mergeProps } from 'react-aria';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, ButtonContext as ButtonContext$1, composeRenderProps,
|
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Button.module.css#css-module
|
|
22
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
22
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___0QG7O", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___nE-Ma", "hop-Button--fluid": "Button-module__hop-Button--fluid___SC33v", "hop-Button--sm": "Button-module__hop-Button--sm___QU3Uy", "hop-Button--primary": "Button-module__hop-Button--primary___YcboG", "hop-Button--md": "Button-module__hop-Button--md___yg8Fl", "hop-Button--secondary": "Button-module__hop-Button--secondary___gylFe", "hop-Button--upsell": "Button-module__hop-Button--upsell___ddBGK", "hop-Button--danger": "Button-module__hop-Button--danger___aosRA", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___dxJKj", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___CkcMt", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___qiCJB", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___V265i", "hop-Button__icon": "Button-module__hop-Button__icon___mwjgX", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___5kDpy", "hop-Button__text": "Button-module__hop-Button__text___YEnli", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___1Hzgu", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___ZjiCH" };
|
|
23
23
|
var GlobalButtonCssSelector = "hop-Button";
|
|
24
24
|
var additionalButtonHTMLAttributes = /* @__PURE__ */ new Set(["form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "name", "value"]);
|
|
25
25
|
function useSimulatedRACButton(props, ref) {
|
|
@@ -70,7 +70,7 @@ function Button(props, ref) {
|
|
|
70
70
|
className,
|
|
71
71
|
children: childrenProp,
|
|
72
72
|
size: sizeProp,
|
|
73
|
-
|
|
73
|
+
isFluid: isFluidProp,
|
|
74
74
|
variant = "primary",
|
|
75
75
|
isLoading,
|
|
76
76
|
style: styleProp,
|
|
@@ -78,7 +78,7 @@ function Button(props, ref) {
|
|
|
78
78
|
} = ownProps;
|
|
79
79
|
const [textRef, hasText] = useSlot();
|
|
80
80
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
81
|
-
const
|
|
81
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
82
82
|
const classNames = composeClassnameRenderProps(
|
|
83
83
|
className,
|
|
84
84
|
GlobalButtonCssSelector,
|
|
@@ -87,7 +87,7 @@ function Button(props, ref) {
|
|
|
87
87
|
"hop-Button",
|
|
88
88
|
variant,
|
|
89
89
|
size,
|
|
90
|
-
|
|
90
|
+
isFluid && "fluid",
|
|
91
91
|
isLoading && "loading",
|
|
92
92
|
!hasText && "icon-only"
|
|
93
93
|
),
|
|
@@ -180,7 +180,7 @@ function Button(props, ref) {
|
|
|
180
180
|
}
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
|
-
var _Button = forwardRef(Button);
|
|
183
|
+
var _Button = slot("button", forwardRef(Button));
|
|
184
184
|
_Button.displayName = "Button";
|
|
185
185
|
|
|
186
186
|
export { GlobalButtonCssSelector, _Button };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _Flex } from './chunk-TVFC2MJ4.js';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
function Inline(props, ref) {
|
|
6
|
+
const {
|
|
7
|
+
alignX,
|
|
8
|
+
alignY = "center",
|
|
9
|
+
gap = "inline-md",
|
|
10
|
+
wrap = true,
|
|
11
|
+
reverse,
|
|
12
|
+
...rest
|
|
13
|
+
} = props;
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
15
|
+
_Flex,
|
|
16
|
+
{
|
|
17
|
+
ref,
|
|
18
|
+
alignItems: alignY,
|
|
19
|
+
justifyContent: alignX,
|
|
20
|
+
direction: reverse ? "row-reverse" : "row",
|
|
21
|
+
gap,
|
|
22
|
+
wrap,
|
|
23
|
+
...rest
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
var _Inline = forwardRef(Inline);
|
|
28
|
+
_Inline.displayName = "Inline";
|
|
29
|
+
|
|
30
|
+
export { _Inline };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _Label } from './chunk-2CKDJG6R.js';
|
|
2
2
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
3
|
-
import {
|
|
3
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
6
|
import { forwardRef } from 'react';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Spinner.module.css#css-module
|
|
11
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
11
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___WKQTI", "spin": "Spinner-module__spin___t8CGY", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___YO1ZU", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___UiJMR", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___uAp2X", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___vU-oZ", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___8gJAf", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___GxQ20" };
|
|
12
12
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
13
13
|
var SpinnerToLabelSizeAdapter = {
|
|
14
14
|
sm: "xs",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Div, getSizingValue } from '@hopper-ui/styled-system';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
// src/layout/src/Grid.tsx
|
|
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, fitContent, minmax, repeat };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _Text } from './chunk-2NABNL6G.js';
|
|
3
|
+
import { _Text } from './chunk-WGDP4ECF.js';
|
|
5
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { TextContext } from './chunk-
|
|
5
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
9
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
9
|
-
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
10
10
|
import { IconContext } from '@hopper-ui/icons';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Switch.module.css#css-module
|
|
17
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___wvxPf", "hop-Switch--sm": "Switch-module__hop-Switch--sm___lZll1", "hop-Switch--md": "Switch-module__hop-Switch--md___BUSV8", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___M3TnD", "hop-Switch__text": "Switch-module__hop-Switch__text___rMMHM", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___Ee4Bd", "hop-Switch__icon": "Switch-module__hop-Switch__icon___FP-3-" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
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
3
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Text-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Text-module__hop-
|
|
32
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
33
33
|
font-family: var(--font-family);
|
|
34
34
|
font-size: var(--font-size);
|
|
35
35
|
font-weight: var(--font-weight);
|
|
36
36
|
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Text-module__hop-Text--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
39
39
|
--font-size: var(--hop-Text-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Text-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Text-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Text-module__hop-Text--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
45
45
|
--font-size: var(--hop-Text-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Text-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Text-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Text-module__hop-Text--
|
|
50
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
51
51
|
--font-size: var(--hop-Text-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Text-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Text-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Text-module__hop-Text--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
57
57
|
--font-size: var(--hop-Text-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Text-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Text-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Text-module__hop-Text--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
63
63
|
--font-size: var(--hop-Text-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Text-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Text-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Text-module__hop-Text--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
69
69
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Text-module__hop-Text--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
75
75
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
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-
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___mRyMK {
|
|
83
83
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
84
84
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
85
85
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
97
97
|
color: var(--hop-ErrorMessage-color);
|
|
98
98
|
}
|
|
99
|
-
.ErrorMessage-module__hop-
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___w9R-k {
|
|
100
100
|
flex: 0 0 auto;
|
|
101
101
|
align-self: flex-start;
|
|
102
102
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
3
3
|
import { FieldErrorProps } from 'react-aria-components';
|
|
4
|
-
import { TextProps } from '../../Text/src/Text.js';
|
|
4
|
+
import { TextProps } from '../../typography/Text/src/Text.js';
|
|
5
5
|
|
|
6
6
|
declare const GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
7
7
|
interface ErrorMessageProps extends StyledComponentProps<FieldErrorProps>, Omit<TextProps, "style" | "className" | "children" | "color" | "content"> {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-
|
|
1
|
+
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-QJBQRYJS.js';
|
|
2
2
|
import '../../chunk-ACVMW6YD.js';
|
|
3
3
|
import '../../chunk-NH3IVMXB.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-WGDP4ECF.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-M36KANKC.js';
|
|
6
|
+
import '../../chunk-X6SER3TZ.js';
|
|
8
7
|
import '../../chunk-KVDXQMWI.js';
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-M36KANKC.js';
|
|
9
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -2,7 +2,7 @@ import { ErrorMessageProps } from './ErrorMessage.js';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ContextValue } from 'react-aria-components';
|
|
4
4
|
import '@hopper-ui/styled-system';
|
|
5
|
-
import '../../Text/src/Text.js';
|
|
5
|
+
import '../../typography/Text/src/Text.js';
|
|
6
6
|
|
|
7
7
|
declare const ErrorMessageContext: react.Context<ContextValue<ErrorMessageProps, HTMLSpanElement>>;
|
|
8
8
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ErrorMessageContext } from '../../chunk-ACVMW6YD.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
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
3
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Text-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Text-module__hop-
|
|
32
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
33
33
|
font-family: var(--font-family);
|
|
34
34
|
font-size: var(--font-size);
|
|
35
35
|
font-weight: var(--font-weight);
|
|
36
36
|
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Text-module__hop-Text--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
39
39
|
--font-size: var(--hop-Text-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Text-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Text-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Text-module__hop-Text--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
45
45
|
--font-size: var(--hop-Text-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Text-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Text-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Text-module__hop-Text--
|
|
50
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
51
51
|
--font-size: var(--hop-Text-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Text-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Text-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Text-module__hop-Text--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
57
57
|
--font-size: var(--hop-Text-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Text-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Text-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Text-module__hop-Text--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
63
63
|
--font-size: var(--hop-Text-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Text-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Text-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Text-module__hop-Text--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
69
69
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Text-module__hop-Text--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
75
75
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
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-
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___mRyMK {
|
|
83
83
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
84
84
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
85
85
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
97
97
|
color: var(--hop-ErrorMessage-color);
|
|
98
98
|
}
|
|
99
|
-
.ErrorMessage-module__hop-
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___w9R-k {
|
|
100
100
|
flex: 0 0 auto;
|
|
101
101
|
align-self: flex-start;
|
|
102
102
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-
|
|
1
|
+
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-QJBQRYJS.js';
|
|
2
2
|
export { ErrorMessageContext } from '../../chunk-ACVMW6YD.js';
|
|
3
3
|
import '../../chunk-NH3IVMXB.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-WGDP4ECF.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-M36KANKC.js';
|
|
6
|
+
import '../../chunk-X6SER3TZ.js';
|
|
8
7
|
import '../../chunk-KVDXQMWI.js';
|
|
9
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-M36KANKC.js';
|
|
9
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
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
3
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Text-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Text-module__hop-
|
|
32
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
33
33
|
font-family: var(--font-family);
|
|
34
34
|
font-size: var(--font-size);
|
|
35
35
|
font-weight: var(--font-weight);
|
|
36
36
|
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Text-module__hop-Text--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
39
39
|
--font-size: var(--hop-Text-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Text-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Text-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Text-module__hop-Text--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
45
45
|
--font-size: var(--hop-Text-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Text-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Text-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Text-module__hop-Text--
|
|
50
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
51
51
|
--font-size: var(--hop-Text-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Text-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Text-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Text-module__hop-Text--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
57
57
|
--font-size: var(--hop-Text-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Text-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Text-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Text-module__hop-Text--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
63
63
|
--font-size: var(--hop-Text-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Text-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Text-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Text-module__hop-Text--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
69
69
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Text-module__hop-Text--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
75
75
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/helperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
82
|
-
.HelperMessage-module__hop-
|
|
82
|
+
.HelperMessage-module__hop-HelperMessage___VrfVI {
|
|
83
83
|
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
84
84
|
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
85
85
|
display: flex;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
box-sizing: border-box;
|
|
89
89
|
color: var(--hop-HelperMessage-color);
|
|
90
90
|
}
|
|
91
|
-
.HelperMessage-module__hop-
|
|
91
|
+
.HelperMessage-module__hop-HelperMessage__icon___mVrpO {
|
|
92
92
|
flex: 0 0 auto;
|
|
93
93
|
align-self: flex-start;
|
|
94
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { StyledComponentProps } from '@hopper-ui/styled-system';
|
|
3
|
-
import { TextProps } from '../../Text/src/Text.js';
|
|
3
|
+
import { TextProps } from '../../typography/Text/src/Text.js';
|
|
4
4
|
import 'react-aria-components';
|
|
5
5
|
|
|
6
6
|
declare const GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { GlobalHelperMessageCssSelector, _HelperMessage as HelperMessage } from '../../chunk-
|
|
1
|
+
export { GlobalHelperMessageCssSelector, _HelperMessage as HelperMessage } from '../../chunk-GBABMUAI.js';
|
|
2
2
|
import '../../chunk-ESVVLTEN.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-WGDP4ECF.js';
|
|
4
4
|
import '../../chunk-HXI3MEEK.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-M36KANKC.js';
|
|
5
|
+
import '../../chunk-X6SER3TZ.js';
|
|
7
6
|
import '../../chunk-KVDXQMWI.js';
|
|
8
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-M36KANKC.js';
|
|
8
|
+
import '../../chunk-2P3A4VVY.js';
|
|
@@ -2,7 +2,7 @@ import { HelperMessageProps } from './HelperMessage.js';
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ContextValue } from 'react-aria-components';
|
|
4
4
|
import '@hopper-ui/styled-system';
|
|
5
|
-
import '../../Text/src/Text.js';
|
|
5
|
+
import '../../typography/Text/src/Text.js';
|
|
6
6
|
|
|
7
7
|
declare const HelperMessageContext: react.Context<ContextValue<HelperMessageProps, HTMLSpanElement>>;
|
|
8
8
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { HelperMessageContext } from '../../chunk-ESVVLTEN.js';
|
|
2
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-2P3A4VVY.js';
|