welcome-ui 8.1.0 → 8.1.1
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/dist/{AXB53BZF-XKOjjeWO.mjs → AXB53BZF-BOEe01VW.mjs} +3 -3
- package/dist/Accordion.mjs +23 -30
- package/dist/Alert.mjs +70 -76
- package/dist/AspectRatio.mjs +9 -9
- package/dist/Avatar.mjs +47 -48
- package/dist/{BYC7LY2E-CWSI38FM.mjs → BYC7LY2E-B1IDizRs.mjs} +127 -128
- package/dist/Badge.mjs +25 -25
- package/dist/Box.mjs +5 -5
- package/dist/Breadcrumb.mjs +168 -172
- package/dist/Button.mjs +67 -72
- package/dist/ButtonGroup.mjs +12 -13
- package/dist/Card.mjs +14 -14
- package/dist/Checkbox.mjs +2 -2
- package/dist/ClearButton.mjs +15 -15
- package/dist/CloseButton.mjs +9 -9
- package/dist/{CustomPopper-B2Cqfph4.mjs → CustomInput-IA_gVoXd.mjs} +1445 -1466
- package/dist/DatePicker.mjs +80 -81
- package/dist/DateTimePicker.mjs +61 -66
- package/dist/DateTimePickerCommon.mjs +1 -1
- package/dist/Drawer.mjs +172 -188
- package/dist/DropdownMenu.mjs +411 -414
- package/dist/Field.mjs +91 -103
- package/dist/FieldGroup.mjs +9 -12
- package/dist/FileDrop.mjs +556 -587
- package/dist/FileUpload.mjs +71 -92
- package/dist/Files.mjs +46 -46
- package/dist/Flex.mjs +13 -13
- package/dist/Grid.mjs +29 -29
- package/dist/Hint.mjs +12 -12
- package/dist/{ITI7HKP4-C89kOQb8.mjs → ITI7HKP4-EL9KXYBU.mjs} +67 -68
- package/dist/Icon.mjs +25 -25
- package/dist/Icons.mjs +988 -988
- package/dist/IconsFont.mjs +22 -22
- package/dist/InputText.mjs +58 -66
- package/dist/{JC64G2H7-afsomHuH.mjs → JC64G2H7-BzklVBKM.mjs} +46 -47
- package/dist/{KUU7WJ55-CzsjuIMv.mjs → KUU7WJ55-CS4NemC6.mjs} +1 -1
- package/dist/LVA2YJMS-DDEmK0pp.mjs +1482 -0
- package/dist/Label.mjs +35 -37
- package/dist/Link.mjs +28 -32
- package/dist/Loader.mjs +16 -20
- package/dist/Logo.mjs +42 -55
- package/dist/{MTZPJQMC-TybFZCho.mjs → MTZPJQMC-CMjAwC0N.mjs} +2 -2
- package/dist/Modal.mjs +253 -276
- package/dist/{NLEBE274-oSxMftGy.mjs → NLEBE274-QOMV1l7e.mjs} +9 -9
- package/dist/{P2CTZE2T-DOT1mNnX.mjs → P2CTZE2T-Cl2w7OLV.mjs} +48 -49
- package/dist/{P4IRICAX-CWSZLTGz.mjs → P4IRICAX-DezbJY4s.mjs} +3 -3
- package/dist/Pagination.mjs +104 -104
- package/dist/PasswordInput.mjs +34 -35
- package/dist/Picker.mjs +33 -35
- package/dist/Popover.mjs +99 -106
- package/dist/{QYJ6MIDR-DJ-vUdAM.mjs → QYJ6MIDR-Bb0O5xUM.mjs} +30 -31
- package/dist/Radio.mjs +48 -54
- package/dist/RadioGroup.mjs +47 -47
- package/dist/RadioTab.mjs +35 -37
- package/dist/{SYRFVSLH-B6m278Vb.mjs → SYRFVSLH-jn06-eLy.mjs} +10 -11
- package/dist/Search.mjs +159 -175
- package/dist/Select.mjs +338 -373
- package/dist/Shape.mjs +9 -9
- package/dist/Slider.mjs +336 -359
- package/dist/Stack.mjs +24 -22
- package/dist/Swiper.mjs +224 -231
- package/dist/Table.mjs +23 -23
- package/dist/Tabs.mjs +200 -205
- package/dist/Tag.mjs +53 -55
- package/dist/Text.mjs +47 -49
- package/dist/Textarea.mjs +40 -40
- package/dist/TimePicker.mjs +57 -58
- package/dist/Toast.mjs +128 -135
- package/dist/Toggle.mjs +24 -27
- package/dist/Tooltip.mjs +99 -103
- package/dist/UniversalLink.mjs +15 -15
- package/dist/{VEVQD5MH-0w9Y7Ytc.mjs → VEVQD5MH-CuegL0m0.mjs} +3 -3
- package/dist/{VGCJ63VH-C0UPBY-5.mjs → VGCJ63VH-BMzoZtCu.mjs} +38 -39
- package/dist/VariantIcon.mjs +22 -14
- package/dist/WelcomeLoader.mjs +121 -122
- package/dist/WuiProvider.mjs +58 -69
- package/dist/{X5NMLKT6-BJw3xE-K.mjs → X5NMLKT6-CvSCix-_.mjs} +2 -2
- package/dist/{YV4JVR4I-DPC8mMuG.mjs → YV4JVR4I-Bh7B7TET.mjs} +57 -57
- package/dist/{field-styles-BVlRlvuu.mjs → field-styles-CfVLcVQp.mjs} +1 -1
- package/dist/{hex-to-rgba-DU_XzKIK.mjs → hex-to-rgba-BIDK-3ab.mjs} +2 -2
- package/dist/hide-focus-rings-root-BNyva1yb.mjs +14 -0
- package/dist/{index-5HBq1O6Z.mjs → index-5PUh49rV.mjs} +73 -74
- package/dist/index-B0gDDiFm.mjs +66 -0
- package/dist/index-B22SHR8h.mjs +26 -0
- package/dist/{index-DAZ1SYdj.mjs → index-BNGGwOCo.mjs} +7 -7
- package/dist/{index-SQQQ4dEE.mjs → index-BQtDgQBH.mjs} +8 -8
- package/dist/index-BhcLigYU.mjs +77 -0
- package/dist/{index-QaLwIvZS.mjs → index-Bkl89twW.mjs} +8 -8
- package/dist/{index-BaLGEKs7.mjs → index-C7zM96J_.mjs} +8 -8
- package/dist/index-CQD9fgf_.mjs +11 -0
- package/dist/index-CmsWSKKs.mjs +11 -0
- package/dist/{index-DvzWKxKE.mjs → index-DqBUFsqP.mjs} +7 -7
- package/dist/index-u1oHKa7X.mjs +16 -0
- package/dist/index-wr_b5GSV.mjs +36 -0
- package/dist/radio-group-RFyDp0KD.mjs +51 -0
- package/dist/theme.mjs +801 -801
- package/dist/throttle-BDBzFeFj.mjs +13 -0
- package/dist/types/components/Accordion/index.d.ts +1 -1
- package/dist/types/components/Accordion/styles.d.ts +2 -2
- package/dist/types/components/Accordion/theme.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +2 -2
- package/dist/types/components/Alert/styles.d.ts +9 -9
- package/dist/types/components/Alert/theme.d.ts +3 -3
- package/dist/types/components/AspectRatio/styles.d.ts +2 -3
- package/dist/types/components/Avatar/index.d.ts +3 -2
- package/dist/types/components/Avatar/styles.d.ts +8 -8
- package/dist/types/components/Avatar/theme.d.ts +3 -3
- package/dist/types/components/Avatar/utils.d.ts +1 -1
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Badge/styles.d.ts +5 -5
- package/dist/types/components/Badge/theme.d.ts +1 -1
- package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/theme.d.ts +1 -1
- package/dist/types/components/Button/index.d.ts +5 -4
- package/dist/types/components/Button/styles.d.ts +1 -1
- package/dist/types/components/Button/theme.d.ts +7 -7
- package/dist/types/components/ButtonGroup/index.d.ts +4 -4
- package/dist/types/components/Card/Cover.styles.d.ts +4 -4
- package/dist/types/components/Card/index.d.ts +3 -2
- package/dist/types/components/Card/theme.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +2 -2
- package/dist/types/components/Checkbox/styles.d.ts +1 -1
- package/dist/types/components/Checkbox/theme.d.ts +1 -1
- package/dist/types/components/ClearButton/index.d.ts +6 -5
- package/dist/types/components/ClearButton/styles.d.ts +4 -4
- package/dist/types/components/CloseButton/styles.d.ts +4 -4
- package/dist/types/components/DatePicker/index.d.ts +3 -3
- package/dist/types/components/DateTimePicker/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
- package/dist/types/components/DateTimePickerCommon/theme.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/utils.d.ts +2 -2
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +12 -12
- package/dist/types/components/Drawer/styles.d.ts +5 -5
- package/dist/types/components/Drawer/theme.d.ts +2 -2
- package/dist/types/components/DropdownMenu/index.d.ts +4 -4
- package/dist/types/components/DropdownMenu/theme.d.ts +1 -1
- package/dist/types/components/Field/index.d.ts +8 -8
- package/dist/types/components/Field/styles.d.ts +1 -1
- package/dist/types/components/Field/utils.d.ts +1 -1
- package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
- package/dist/types/components/FileDrop/Message.d.ts +1 -1
- package/dist/types/components/FileDrop/index.d.ts +20 -20
- package/dist/types/components/FileDrop/theme.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts +13 -13
- package/dist/types/components/Files/index.d.ts +5 -5
- package/dist/types/components/Files/types.d.ts +1 -1
- package/dist/types/components/Hint/index.d.ts +2 -1
- package/dist/types/components/Hint/theme.d.ts +1 -1
- package/dist/types/components/Icon/index.d.ts +3 -3
- package/dist/types/components/Icon/styles.d.ts +3 -3
- package/dist/types/components/Icon/theme.d.ts +3 -3
- package/dist/types/components/Icons/Sun/content.json.d.ts +1 -2
- package/dist/types/components/Icons/index.d.ts +2 -2
- package/dist/types/components/IconsFont/index.d.ts +3 -2
- package/dist/types/components/IconsFont/styles.d.ts +1 -1
- package/dist/types/components/InputText/index.d.ts +1 -1
- package/dist/types/components/InputText/styles.d.ts +1 -1
- package/dist/types/components/Label/index.d.ts +3 -2
- package/dist/types/components/Label/theme.d.ts +1 -1
- package/dist/types/components/Link/index.d.ts +5 -5
- package/dist/types/components/Link/styles.d.ts +4 -4
- package/dist/types/components/Link/theme.d.ts +1 -1
- package/dist/types/components/Loader/index.d.ts +1 -1
- package/dist/types/components/Loader/styles.d.ts +4 -4
- package/dist/types/components/Loader/theme.d.ts +4 -4
- package/dist/types/components/Logo/Solutions.d.ts +2 -1
- package/dist/types/components/Logo/Symbol.d.ts +2 -1
- package/dist/types/components/Logo/Wui.d.ts +2 -1
- package/dist/types/components/Logo/index.d.ts +5 -5
- package/dist/types/components/Modal/Assets/Backdrop.d.ts +6 -5
- package/dist/types/components/Modal/Assets/Iframe.d.ts +2 -1
- package/dist/types/components/Modal/Assets/index.d.ts +9 -9
- package/dist/types/components/Modal/Assets/styles.d.ts +8 -8
- package/dist/types/components/Modal/Close.d.ts +4 -3
- package/dist/types/components/Modal/Content.d.ts +5 -3
- package/dist/types/components/Modal/Footer.d.ts +1 -1
- package/dist/types/components/Modal/Header.d.ts +2 -2
- package/dist/types/components/Modal/index.d.ts +17 -17
- package/dist/types/components/Modal/styles.d.ts +7 -7
- package/dist/types/components/Modal/theme.d.ts +2 -2
- package/dist/types/components/Pagination/index.d.ts +2 -2
- package/dist/types/components/Pagination/theme.d.ts +1 -1
- package/dist/types/components/Pagination/utils.d.ts +1 -1
- package/dist/types/components/Picker/index.d.ts +1 -1
- package/dist/types/components/Picker/styles.d.ts +1 -1
- package/dist/types/components/Popover/Arrow.d.ts +2 -1
- package/dist/types/components/Popover/Content.d.ts +3 -2
- package/dist/types/components/Popover/Popover.d.ts +5 -4
- package/dist/types/components/Popover/PopoverHover.d.ts +4 -3
- package/dist/types/components/Popover/Trigger.d.ts +1 -1
- package/dist/types/components/Popover/styles.d.ts +4 -4
- package/dist/types/components/Popover/theme.d.ts +1 -1
- package/dist/types/components/Popover/usePopover.d.ts +6 -6
- package/dist/types/components/Radio/index.d.ts +3 -3
- package/dist/types/components/Radio/styles.d.ts +5 -5
- package/dist/types/components/Radio/theme.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +2 -2
- package/dist/types/components/RadioTab/index.d.ts +3 -3
- package/dist/types/components/RadioTab/styles.d.ts +9 -3
- package/dist/types/components/RadioTab/theme.d.ts +1 -1
- package/dist/types/components/Search/index.d.ts +5 -5
- package/dist/types/components/Select/index.d.ts +11 -11
- package/dist/types/components/Select/styles.d.ts +6 -6
- package/dist/types/components/Select/utils.d.ts +7 -11
- package/dist/types/components/Shape/index.d.ts +1 -1
- package/dist/types/components/Shape/styles.d.ts +3 -3
- package/dist/types/components/Slider/Range.d.ts +3 -3
- package/dist/types/components/Slider/index.d.ts +2 -2
- package/dist/types/components/Slider/styles.d.ts +16 -16
- package/dist/types/components/Slider/theme.d.ts +1 -1
- package/dist/types/components/Stack/index.d.ts +1 -1
- package/dist/types/components/Swiper/index.d.ts +17 -16
- package/dist/types/components/Swiper/styles.d.ts +53 -53
- package/dist/types/components/Swiper/theme.d.ts +1 -1
- package/dist/types/components/System/index.d.ts +14 -14
- package/dist/types/components/Table/index.d.ts +7 -6
- package/dist/types/components/Table/styles.d.ts +1 -1
- package/dist/types/components/Table/theme.d.ts +1 -1
- package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
- package/dist/types/components/Tabs/TabList.d.ts +4 -4
- package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
- package/dist/types/components/Tabs/styles.d.ts +2 -2
- package/dist/types/components/Tabs/theme.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts +3 -2
- package/dist/types/components/Tag/styles.d.ts +1 -1
- package/dist/types/components/Tag/theme.d.ts +2 -2
- package/dist/types/components/Text/index.d.ts +2 -2
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Textarea/theme.d.ts +1 -1
- package/dist/types/components/TimePicker/index.d.ts +2 -2
- package/dist/types/components/Toast/Growl.d.ts +1 -1
- package/dist/types/components/Toast/Snackbar.d.ts +1 -1
- package/dist/types/components/Toast/ToastWrapper.d.ts +5 -5
- package/dist/types/components/Toast/index.d.ts +6 -6
- package/dist/types/components/Toast/styles.d.ts +16 -16
- package/dist/types/components/Toast/theme.d.ts +2 -2
- package/dist/types/components/Toast/utils.d.ts +13 -13
- package/dist/types/components/Toggle/index.d.ts +3 -3
- package/dist/types/components/Toggle/styles.d.ts +4 -5
- package/dist/types/components/Toggle/theme.d.ts +5 -5
- package/dist/types/components/Tooltip/index.d.ts +2 -2
- package/dist/types/components/Tooltip/styles.d.ts +1 -1
- package/dist/types/components/Tooltip/theme.d.ts +1 -1
- package/dist/types/components/VariantIcon/index.d.ts +1 -1
- package/dist/types/components/VariantIcon/styles.d.ts +1 -1
- package/dist/types/components/VariantIcon/theme.d.ts +2 -2
- package/dist/types/components/WuiProvider/font.d.ts +5 -3
- package/dist/types/components/WuiProvider/index.d.ts +1 -1
- package/dist/types/theme/colors.d.ts +11 -3
- package/dist/types/theme/dark.d.ts +1 -1
- package/dist/types/theme/defaultFields.d.ts +10 -10
- package/dist/types/theme/fonts.d.ts +5 -5
- package/dist/types/theme/index.d.ts +31 -31
- package/dist/types/theme/screens.d.ts +1 -1
- package/dist/types/theme/space.d.ts +1 -1
- package/dist/types/theme/typography.d.ts +1 -1
- package/dist/types/utils/field-styles.d.ts +6 -6
- package/dist/types/utils/index.d.ts +2 -2
- package/dist/types/utils/ts-utils.d.ts +1 -1
- package/dist/types/utils/use-copy-text.d.ts +1 -1
- package/dist/types/utils/use-create-portal.d.ts +1 -1
- package/dist/types/utils/use-viewport.d.ts +2 -2
- package/dist/types/utils/wrap-children.d.ts +1 -1
- package/dist/{use-fork-ref-DvaCTfQ_.mjs → use-fork-ref-CUZErtAC.mjs} +3 -4
- package/dist/{use-viewport-CWpjoHXy.mjs → use-viewport-CfklieD-.mjs} +2 -2
- package/dist/utils.mjs +29 -102
- package/dist/wrap-children-aq69jtFP.mjs +12 -0
- package/package.json +28 -4
- package/dist/LVA2YJMS-C-kJ1lkr.mjs +0 -873
- package/dist/hide-focus-rings-root-CCXdysih.mjs +0 -15
- package/dist/index-CYmF7qCH.mjs +0 -11
- package/dist/index-C_k-m0Rl.mjs +0 -36
- package/dist/index-D8v_VJ9z.mjs +0 -26
- package/dist/index-DpkNUfAS.mjs +0 -11
- package/dist/index-i_anpNhw.mjs +0 -66
- package/dist/index-wl3X6EM1.mjs +0 -16
- package/dist/jsx-runtime-B7I4PJ0H.mjs +0 -613
- package/dist/radio-group-C0fUHvam.mjs +0 -52
- package/dist/throttle-CW18pWlW.mjs +0 -13
- package/dist/wrap-children-DBSD-X5-.mjs +0 -9
- package/dist/{downshift.esm-B7Jil1wW.mjs → downshift.esm-D0ns_SQs.mjs} +9 -9
package/dist/Popover.mjs
CHANGED
|
@@ -1,151 +1,144 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import r from "react";
|
|
3
|
+
import a, { th as l, css as p, system as m } from "@xstyled/styled-components";
|
|
4
|
+
import { P as h, a as v } from "./QYJ6MIDR-Bb0O5xUM.mjs";
|
|
5
|
+
import { P, H as $, a as C, u as w, b as E } from "./BYC7LY2E-B1IDizRs.mjs";
|
|
6
|
+
import { forwardRef as i } from "./System.mjs";
|
|
6
7
|
import "./Icon.mjs";
|
|
7
|
-
import { C as
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
({ $transform: t }) => l`
|
|
8
|
+
import { C as H } from "./index-C7zM96J_.mjs";
|
|
9
|
+
import { Box as B } from "./Box.mjs";
|
|
10
|
+
import { Button as T } from "./Button.mjs";
|
|
11
|
+
const b = a(h)`
|
|
12
|
+
color: ${l("popovers.default.backgroundColor")};
|
|
13
|
+
`, x = a.svgBox(
|
|
14
|
+
({ $transform: t }) => p`
|
|
15
15
|
transform: ${t};
|
|
16
16
|
`
|
|
17
|
-
),
|
|
18
|
-
${
|
|
19
|
-
`,
|
|
17
|
+
), d = a.div`
|
|
18
|
+
${l("popovers.content")};
|
|
19
|
+
`, u = a.h6`
|
|
20
20
|
margin: 0;
|
|
21
|
-
${
|
|
22
|
-
`, f =
|
|
23
|
-
({ $withCloseButton: t }) =>
|
|
24
|
-
${
|
|
21
|
+
${l("popovers.title")};
|
|
22
|
+
`, f = a(P)(
|
|
23
|
+
({ $withCloseButton: t }) => p`
|
|
24
|
+
${l("popovers.default")};
|
|
25
25
|
outline: none;
|
|
26
26
|
opacity: 0;
|
|
27
27
|
transition: opacity 150ms ease-in-out;
|
|
28
|
-
${
|
|
28
|
+
${m};
|
|
29
29
|
|
|
30
30
|
/* on open popover for animation */
|
|
31
31
|
&[data-enter] {
|
|
32
32
|
opacity: 1;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
${t &&
|
|
36
|
-
${
|
|
35
|
+
${t && p`
|
|
36
|
+
${u} {
|
|
37
37
|
padding-right: 50;
|
|
38
38
|
}
|
|
39
39
|
`}
|
|
40
40
|
`
|
|
41
41
|
);
|
|
42
|
-
|
|
43
|
-
${
|
|
42
|
+
a(v)`
|
|
43
|
+
${m};
|
|
44
44
|
`;
|
|
45
|
-
const y =
|
|
46
|
-
${
|
|
47
|
-
`, Z =
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
right: "rotateZ(-90deg)",
|
|
51
|
-
top: "rotateZ(180deg)"
|
|
52
|
-
}, A = ({ store: t }) => {
|
|
53
|
-
const r = t.useState("currentPlacement"), [o] = r.split("-"), n = Z[o];
|
|
54
|
-
return /* @__PURE__ */ e.jsx(T, { store: t, children: /* @__PURE__ */ e.jsxs(b, { $transform: n, h: 30, w: 30, xmlns: "http://www.w3.org/2000/svg", children: [
|
|
55
|
-
/* @__PURE__ */ e.jsx("path", { d: "M7 30L15 22L23 30H7Z", fill: "currentColor", fillRule: "nonzero", id: "stroke" }),
|
|
56
|
-
/* @__PURE__ */ e.jsx("path", { d: "M8 30L15 23L22 30H8Z", fill: "currentColor", fillRule: "nonzero" })
|
|
57
|
-
] }) });
|
|
58
|
-
}, g = ({ children: t, onClose: r, store: o }) => {
|
|
59
|
-
const n = () => {
|
|
60
|
-
r && r(), o == null || o.hide();
|
|
61
|
-
}, { withCloseButton: s } = o;
|
|
62
|
-
return /* @__PURE__ */ e.jsxs(h, { position: "relative", children: [
|
|
63
|
-
/* @__PURE__ */ e.jsx(A, { store: o }),
|
|
64
|
-
t,
|
|
65
|
-
s ? /* @__PURE__ */ e.jsx(
|
|
66
|
-
x,
|
|
67
|
-
{
|
|
68
|
-
flex: "0 0 auto",
|
|
69
|
-
ml: "md",
|
|
70
|
-
onClick: n,
|
|
71
|
-
position: "absolute",
|
|
72
|
-
right: 1,
|
|
73
|
-
shape: "square",
|
|
74
|
-
size: "xs",
|
|
75
|
-
top: 1,
|
|
76
|
-
variant: "secondary",
|
|
77
|
-
children: /* @__PURE__ */ e.jsx(j, {})
|
|
78
|
-
}
|
|
79
|
-
) : null
|
|
80
|
-
] });
|
|
81
|
-
}, L = c(
|
|
82
|
-
({ as: t, store: r, ...o }, n) => /* @__PURE__ */ e.jsx(
|
|
83
|
-
d,
|
|
45
|
+
const y = a($)`
|
|
46
|
+
${m};
|
|
47
|
+
`, Z = i(
|
|
48
|
+
({ as: t, store: o, ...e }, n) => /* @__PURE__ */ r.createElement(
|
|
49
|
+
v,
|
|
84
50
|
{
|
|
85
51
|
ref: n,
|
|
86
|
-
render: t ? (s) => /* @__PURE__ */
|
|
87
|
-
store:
|
|
88
|
-
...
|
|
52
|
+
render: t ? (s) => /* @__PURE__ */ r.createElement(t, { ...s }) : void 0,
|
|
53
|
+
store: o,
|
|
54
|
+
...e
|
|
89
55
|
}
|
|
90
56
|
)
|
|
91
|
-
),
|
|
92
|
-
({ as: t, store:
|
|
93
|
-
),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
57
|
+
), A = i(
|
|
58
|
+
({ as: t, store: o, ...e }, n) => /* @__PURE__ */ r.createElement(y, { store: o, ...e, forwardedAs: t, ref: n })
|
|
59
|
+
), L = {
|
|
60
|
+
top: "rotateZ(180deg)",
|
|
61
|
+
right: "rotateZ(-90deg)",
|
|
62
|
+
bottom: "rotateZ(360deg)",
|
|
63
|
+
left: "rotateZ(90deg)"
|
|
64
|
+
}, R = ({ store: t }) => {
|
|
65
|
+
const o = t.useState("currentPlacement"), [e] = o.split("-"), n = L[e];
|
|
66
|
+
return /* @__PURE__ */ r.createElement(b, { store: t }, /* @__PURE__ */ r.createElement(x, { $transform: n, h: 30, w: 30, xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ r.createElement("path", { d: "M7 30L15 22L23 30H7Z", fill: "currentColor", fillRule: "nonzero", id: "stroke" }), /* @__PURE__ */ r.createElement("path", { d: "M8 30L15 23L22 30H8Z", fill: "currentColor", fillRule: "nonzero" })));
|
|
67
|
+
}, g = ({ children: t, onClose: o, store: e }) => {
|
|
68
|
+
const n = () => {
|
|
69
|
+
o && o(), e == null || e.hide();
|
|
70
|
+
}, { withCloseButton: s } = e;
|
|
71
|
+
return /* @__PURE__ */ r.createElement(B, { position: "relative" }, /* @__PURE__ */ r.createElement(R, { store: e }), t, s && /* @__PURE__ */ r.createElement(
|
|
72
|
+
T,
|
|
73
|
+
{
|
|
74
|
+
flex: "0 0 auto",
|
|
75
|
+
ml: "md",
|
|
76
|
+
onClick: n,
|
|
77
|
+
position: "absolute",
|
|
78
|
+
right: 1,
|
|
79
|
+
shape: "square",
|
|
80
|
+
size: "xs",
|
|
81
|
+
top: 1,
|
|
82
|
+
variant: "secondary"
|
|
83
|
+
},
|
|
84
|
+
/* @__PURE__ */ r.createElement(H, null)
|
|
85
|
+
));
|
|
86
|
+
}, k = i(
|
|
87
|
+
({ children: t, onClose: o, store: e, ...n }, s) => {
|
|
88
|
+
const { withCloseButton: c } = e;
|
|
89
|
+
return /* @__PURE__ */ r.createElement(f, { $withCloseButton: c, ref: s, store: e, ...n }, /* @__PURE__ */ r.createElement(g, { onClose: o, store: e }, t));
|
|
97
90
|
}
|
|
98
|
-
),
|
|
99
|
-
Content:
|
|
100
|
-
Title:
|
|
101
|
-
Trigger:
|
|
102
|
-
}), z =
|
|
103
|
-
({ children: t, onClose:
|
|
104
|
-
const { withCloseButton:
|
|
105
|
-
return /* @__PURE__ */
|
|
91
|
+
), G = Object.assign(k, {
|
|
92
|
+
Content: d,
|
|
93
|
+
Title: u,
|
|
94
|
+
Trigger: Z
|
|
95
|
+
}), z = i(
|
|
96
|
+
({ children: t, onClose: o, store: e, ...n }, s) => {
|
|
97
|
+
const { withCloseButton: c } = e;
|
|
98
|
+
return /* @__PURE__ */ r.createElement(
|
|
106
99
|
f,
|
|
107
100
|
{
|
|
108
|
-
as:
|
|
109
|
-
store:
|
|
101
|
+
as: C,
|
|
102
|
+
store: e,
|
|
110
103
|
...n,
|
|
111
|
-
$withCloseButton:
|
|
112
|
-
ref: s
|
|
113
|
-
|
|
114
|
-
}
|
|
104
|
+
$withCloseButton: c,
|
|
105
|
+
ref: s
|
|
106
|
+
},
|
|
107
|
+
/* @__PURE__ */ r.createElement(g, { onClose: o, store: e }, t)
|
|
115
108
|
);
|
|
116
109
|
}
|
|
117
|
-
),
|
|
118
|
-
Content:
|
|
119
|
-
Title:
|
|
120
|
-
Trigger:
|
|
121
|
-
}),
|
|
110
|
+
), J = Object.assign(z, {
|
|
111
|
+
Content: d,
|
|
112
|
+
Title: u,
|
|
113
|
+
Trigger: A
|
|
114
|
+
}), K = ({
|
|
122
115
|
animated: t = 150,
|
|
123
|
-
withCloseButton:
|
|
124
|
-
...
|
|
116
|
+
withCloseButton: o = !1,
|
|
117
|
+
...e
|
|
125
118
|
} = {}) => ({
|
|
126
|
-
...
|
|
119
|
+
...w({
|
|
127
120
|
animated: t,
|
|
128
|
-
...
|
|
121
|
+
...e
|
|
129
122
|
}),
|
|
130
|
-
withCloseButton:
|
|
131
|
-
}),
|
|
123
|
+
withCloseButton: o
|
|
124
|
+
}), N = ({
|
|
132
125
|
animated: t = 150,
|
|
133
|
-
hideTimeout:
|
|
134
|
-
showTimeout:
|
|
126
|
+
hideTimeout: o = 300,
|
|
127
|
+
showTimeout: e = 500,
|
|
135
128
|
withCloseButton: n = !1,
|
|
136
129
|
...s
|
|
137
130
|
} = {}) => ({
|
|
138
|
-
...
|
|
131
|
+
...E({
|
|
139
132
|
animated: t,
|
|
140
|
-
hideTimeout:
|
|
141
|
-
showTimeout:
|
|
133
|
+
hideTimeout: o,
|
|
134
|
+
showTimeout: e,
|
|
142
135
|
...s
|
|
143
136
|
}),
|
|
144
137
|
withCloseButton: n
|
|
145
138
|
});
|
|
146
139
|
export {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
140
|
+
G as Popover,
|
|
141
|
+
J as PopoverHover,
|
|
142
|
+
K as usePopover,
|
|
143
|
+
N as usePopoverHover
|
|
151
144
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as E, b as
|
|
3
|
-
import { c as d, _ as m, d as P, e as x, g as i, f, h, i as w,
|
|
2
|
+
import { u as E, b as C, P as N } from "./MTZPJQMC-CMjAwC0N.mjs";
|
|
3
|
+
import { c as d, _ as m, d as P, e as x, g as i, f, h, i as w, t as l, z as V, F as j, G as z, b as R, E as O } from "./LVA2YJMS-DDEmK0pp.mjs";
|
|
4
4
|
import { useMemo as T, useState as W } from "react";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
var H = "div", y = d(
|
|
5
|
+
import { u as M } from "./AXB53BZF-BOEe01VW.mjs";
|
|
6
|
+
var H = "div", _ = d(
|
|
8
7
|
function(t) {
|
|
9
8
|
var r = t, { store: e } = r, o = m(r, ["store"]);
|
|
10
9
|
const s = E();
|
|
@@ -14,7 +13,7 @@ var H = "div", y = d(
|
|
|
14
13
|
}
|
|
15
14
|
);
|
|
16
15
|
f(function(t) {
|
|
17
|
-
const r =
|
|
16
|
+
const r = _(t);
|
|
18
17
|
return h(H, r);
|
|
19
18
|
});
|
|
20
19
|
var g = "M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z", L = "div", v = 30, a = v / 2, B = {
|
|
@@ -25,26 +24,26 @@ var g = "M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,
|
|
|
25
24
|
};
|
|
26
25
|
function F(c) {
|
|
27
26
|
const [t, r] = W(), e = c.useState("contentElement");
|
|
28
|
-
return
|
|
27
|
+
return j(() => {
|
|
29
28
|
if (!e) return;
|
|
30
|
-
const s =
|
|
29
|
+
const s = z(e).getComputedStyle(e);
|
|
31
30
|
r(s);
|
|
32
31
|
}, [e]), t;
|
|
33
32
|
}
|
|
34
|
-
var
|
|
33
|
+
var G = d(
|
|
35
34
|
function(t) {
|
|
36
35
|
var r = t, { store: e, size: o = v } = r, s = m(r, ["store", "size"]);
|
|
37
|
-
const
|
|
38
|
-
e = e ||
|
|
36
|
+
const p = C();
|
|
37
|
+
e = e || p, w(
|
|
39
38
|
e,
|
|
40
39
|
process.env.NODE_ENV !== "production" && "PopoverArrow must be wrapped in a Popover component."
|
|
41
40
|
);
|
|
42
41
|
const u = e.useState(
|
|
43
42
|
(k) => k.currentPlacement.split("-")[0]
|
|
44
|
-
), n = F(e),
|
|
45
|
-
() => /* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
43
|
+
), n = F(e), y = (n == null ? void 0 : n.getPropertyValue("background-color")) || "none", A = (n == null ? void 0 : n.getPropertyValue(`border-${u}-color`)) || "none", S = (n == null ? void 0 : n.getPropertyValue(`border-${u}-width`)) || "0px", $ = Number.parseInt(S) * 2 * (v / o), b = B[u], D = T(
|
|
44
|
+
() => /* @__PURE__ */ l.jsx("svg", { display: "block", viewBox: "0 0 30 30", children: /* @__PURE__ */ l.jsxs("g", { transform: b, children: [
|
|
45
|
+
/* @__PURE__ */ l.jsx("path", { fill: "none", d: g }),
|
|
46
|
+
/* @__PURE__ */ l.jsx("path", { stroke: "none", d: g })
|
|
48
47
|
] }) }),
|
|
49
48
|
[b]
|
|
50
49
|
);
|
|
@@ -60,39 +59,39 @@ var I = d(
|
|
|
60
59
|
width: "1em",
|
|
61
60
|
height: "1em",
|
|
62
61
|
pointerEvents: "none",
|
|
63
|
-
fill:
|
|
62
|
+
fill: y,
|
|
64
63
|
stroke: A,
|
|
65
64
|
strokeWidth: $
|
|
66
65
|
}, s.style)
|
|
67
|
-
}),
|
|
66
|
+
}), V(s);
|
|
68
67
|
}
|
|
69
|
-
),
|
|
70
|
-
const r =
|
|
68
|
+
), X = f(function(t) {
|
|
69
|
+
const r = G(t);
|
|
71
70
|
return h(L, r);
|
|
72
|
-
}),
|
|
71
|
+
}), I = "button", U = d(function(t) {
|
|
73
72
|
var r = t, { store: e } = r, o = m(r, ["store"]);
|
|
74
73
|
const s = E();
|
|
75
74
|
e = e || s, w(
|
|
76
75
|
e,
|
|
77
76
|
process.env.NODE_ENV !== "production" && "PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component."
|
|
78
77
|
);
|
|
79
|
-
const
|
|
80
|
-
e == null || e.setAnchorElement(n.currentTarget),
|
|
78
|
+
const p = o.onClick, u = R((n) => {
|
|
79
|
+
e == null || e.setAnchorElement(n.currentTarget), p == null || p(n);
|
|
81
80
|
});
|
|
82
81
|
return o = O(
|
|
83
82
|
o,
|
|
84
|
-
(n) => /* @__PURE__ */
|
|
83
|
+
(n) => /* @__PURE__ */ l.jsx(N, { value: e, children: n }),
|
|
85
84
|
[e]
|
|
86
85
|
), o = P(i({}, o), {
|
|
87
86
|
onClick: u
|
|
88
|
-
}), o =
|
|
89
|
-
}),
|
|
90
|
-
const r =
|
|
91
|
-
return h(
|
|
87
|
+
}), o = _(i({ store: e }, o)), o = M(i({ store: e }, o)), o;
|
|
88
|
+
}), Y = f(function(t) {
|
|
89
|
+
const r = U(t);
|
|
90
|
+
return h(I, r);
|
|
92
91
|
});
|
|
93
92
|
export {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
X as P,
|
|
94
|
+
Y as a,
|
|
95
|
+
U as b,
|
|
96
|
+
G as u
|
|
98
97
|
};
|
package/dist/Radio.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { Label as
|
|
7
|
-
import {
|
|
8
|
-
import { R } from "./
|
|
9
|
-
const v = o(
|
|
10
|
-
({ order:
|
|
11
|
-
${
|
|
12
|
-
${
|
|
2
|
+
import t from "react";
|
|
3
|
+
import o, { th as i, system as g, css as x } from "@xstyled/styled-components";
|
|
4
|
+
import { d as $ } from "./field-styles-CfVLcVQp.mjs";
|
|
5
|
+
import { shouldForwardProp as k, forwardRef as w } from "./System.mjs";
|
|
6
|
+
import { Label as y } from "./Label.mjs";
|
|
7
|
+
import { R as E } from "./NLEBE274-QOMV1l7e.mjs";
|
|
8
|
+
import { Hint as R } from "./Hint.mjs";
|
|
9
|
+
const v = o(E).withConfig({ shouldForwardProp: k })(
|
|
10
|
+
({ order: e = "-1", size: r, variant: a }) => x`
|
|
11
|
+
${$({ size: r, variant: a })};
|
|
12
|
+
${i("radios.default")}
|
|
13
13
|
position: relative;
|
|
14
14
|
padding: 0;
|
|
15
|
-
order: ${
|
|
15
|
+
order: ${e};
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
border-radius: 50%;
|
|
18
18
|
transition: medium;
|
|
19
|
-
${
|
|
19
|
+
${g};
|
|
20
20
|
|
|
21
21
|
&::after {
|
|
22
22
|
content: '';
|
|
@@ -32,30 +32,30 @@ const v = o(R).withConfig({ shouldForwardProp: $ })(
|
|
|
32
32
|
|
|
33
33
|
&[aria-checked='true'] {
|
|
34
34
|
&:not([disabled]) {
|
|
35
|
-
${
|
|
35
|
+
${i("radios.checked")};
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&[disabled] {
|
|
39
39
|
&::after {
|
|
40
|
-
background-color: ${
|
|
40
|
+
background-color: ${i("radios.checkedCenteredColor.disabled")};
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&::after {
|
|
45
|
-
background-color: ${
|
|
45
|
+
background-color: ${i("radios.checkedCenteredColor.default")};
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
`
|
|
49
|
-
),
|
|
49
|
+
), C = o(y)`
|
|
50
50
|
max-width: 100%;
|
|
51
51
|
/** we need to reset margin-bottom from Label component */
|
|
52
52
|
margin-bottom: 0 !important;
|
|
53
|
-
`,
|
|
53
|
+
`, L = o.divBox`
|
|
54
54
|
flex-shrink: 0;
|
|
55
55
|
position: relative;
|
|
56
56
|
align-items: center;
|
|
57
57
|
display: flex;
|
|
58
|
-
`,
|
|
58
|
+
`, F = o.divBox`
|
|
59
59
|
display: flex;
|
|
60
60
|
align-items: flex-start;
|
|
61
61
|
gap: sm;
|
|
@@ -63,60 +63,54 @@ const v = o(R).withConfig({ shouldForwardProp: $ })(
|
|
|
63
63
|
input {
|
|
64
64
|
margin-top: xs;
|
|
65
65
|
}
|
|
66
|
-
`,
|
|
66
|
+
`, B = o.div`
|
|
67
67
|
display: flex;
|
|
68
68
|
flex-direction: column;
|
|
69
|
-
`,
|
|
69
|
+
`, D = w(
|
|
70
70
|
({
|
|
71
|
-
dataTestId:
|
|
72
|
-
disabled:
|
|
73
|
-
disabledIcon:
|
|
71
|
+
dataTestId: e,
|
|
72
|
+
disabled: r,
|
|
73
|
+
disabledIcon: a,
|
|
74
74
|
flexDirection: p,
|
|
75
75
|
hint: n,
|
|
76
|
-
label:
|
|
76
|
+
label: d,
|
|
77
77
|
maxWidth: f,
|
|
78
|
-
onChange:
|
|
79
|
-
onClick:
|
|
78
|
+
onChange: s,
|
|
79
|
+
onClick: c,
|
|
80
80
|
variant: m,
|
|
81
81
|
...u
|
|
82
|
-
},
|
|
82
|
+
}, b) => {
|
|
83
83
|
const h = (l) => {
|
|
84
|
-
l.stopPropagation(),
|
|
84
|
+
l.stopPropagation(), c && c(l), s && s(l);
|
|
85
85
|
};
|
|
86
|
-
return /* @__PURE__ */ t.
|
|
87
|
-
|
|
86
|
+
return /* @__PURE__ */ t.createElement(
|
|
87
|
+
C,
|
|
88
88
|
{
|
|
89
89
|
alignItems: "flex-start",
|
|
90
90
|
checkableField: !0,
|
|
91
|
-
disabled:
|
|
92
|
-
disabledIcon:
|
|
91
|
+
disabled: r,
|
|
92
|
+
disabledIcon: a,
|
|
93
93
|
flexDirection: "column",
|
|
94
94
|
maxWidth: f,
|
|
95
95
|
onClick: h,
|
|
96
96
|
variant: m,
|
|
97
|
-
withDisabledIcon: !1
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/* @__PURE__ */ t.jsxs(D, { children: [
|
|
111
|
-
/* @__PURE__ */ t.jsx("div", { "data-testid": i ? `${i}-label` : void 0, children: c }),
|
|
112
|
-
n ? /* @__PURE__ */ t.jsx(b, { "data-testid": i ? `${i}-hint` : void 0, mt: "0", children: n }) : null
|
|
113
|
-
] })
|
|
114
|
-
] })
|
|
115
|
-
}
|
|
97
|
+
withDisabledIcon: !1
|
|
98
|
+
},
|
|
99
|
+
/* @__PURE__ */ t.createElement(F, { flexDirection: p }, /* @__PURE__ */ t.createElement(L, null, /* @__PURE__ */ t.createElement(
|
|
100
|
+
v,
|
|
101
|
+
{
|
|
102
|
+
"data-testid": e,
|
|
103
|
+
disabled: r,
|
|
104
|
+
label: d,
|
|
105
|
+
ref: b,
|
|
106
|
+
variant: m,
|
|
107
|
+
...u
|
|
108
|
+
}
|
|
109
|
+
)), /* @__PURE__ */ t.createElement(B, null, /* @__PURE__ */ t.createElement("div", { "data-testid": e ? `${e}-label` : void 0 }, d), n && /* @__PURE__ */ t.createElement(R, { "data-testid": e ? `${e}-hint` : void 0, mt: "0" }, n)))
|
|
116
110
|
);
|
|
117
111
|
}
|
|
118
112
|
);
|
|
119
|
-
|
|
113
|
+
D.displayName = "Radio";
|
|
120
114
|
export {
|
|
121
|
-
|
|
115
|
+
D as Radio
|
|
122
116
|
};
|
package/dist/RadioGroup.mjs
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { u as
|
|
8
|
-
const
|
|
9
|
-
({ flexDirection:
|
|
2
|
+
import t from "react";
|
|
3
|
+
import b, { css as n } from "@xstyled/styled-components";
|
|
4
|
+
import { FieldGroup as y } from "./FieldGroup.mjs";
|
|
5
|
+
import { Radio as G } from "./Radio.mjs";
|
|
6
|
+
import { forwardRef as w } from "./System.mjs";
|
|
7
|
+
import { u as E, R as V } from "./radio-group-RFyDp0KD.mjs";
|
|
8
|
+
const h = b.divBox(
|
|
9
|
+
({ flexDirection: a }) => n`
|
|
10
10
|
display: flex;
|
|
11
|
-
flex-direction: ${
|
|
11
|
+
flex-direction: ${a};
|
|
12
12
|
flex-wrap: wrap;
|
|
13
13
|
gap: md;
|
|
14
14
|
`
|
|
15
|
-
), k =
|
|
15
|
+
), k = w(
|
|
16
16
|
({
|
|
17
|
-
dataTestId:
|
|
18
|
-
flexDirection:
|
|
19
|
-
id:
|
|
20
|
-
label:
|
|
21
|
-
maxWidth:
|
|
22
|
-
name:
|
|
23
|
-
onChange:
|
|
24
|
-
options:
|
|
25
|
-
renderOption:
|
|
17
|
+
dataTestId: a,
|
|
18
|
+
flexDirection: i,
|
|
19
|
+
id: m,
|
|
20
|
+
label: o,
|
|
21
|
+
maxWidth: s,
|
|
22
|
+
name: u,
|
|
23
|
+
onChange: r,
|
|
24
|
+
options: c = [],
|
|
25
|
+
renderOption: f = G,
|
|
26
26
|
required: p,
|
|
27
27
|
value: v,
|
|
28
|
-
...
|
|
29
|
-
},
|
|
30
|
-
const l =
|
|
31
|
-
|
|
28
|
+
...d
|
|
29
|
+
}, R) => {
|
|
30
|
+
const l = E({ defaultValue: v }), $ = l.useState("value"), x = (e) => {
|
|
31
|
+
d.disabled || (l.setValue(e), r == null || r(e));
|
|
32
32
|
};
|
|
33
|
-
return /* @__PURE__ */
|
|
34
|
-
|
|
33
|
+
return /* @__PURE__ */ t.createElement(
|
|
34
|
+
y,
|
|
35
35
|
{
|
|
36
|
-
as:
|
|
37
|
-
dataTestId:
|
|
38
|
-
label:
|
|
36
|
+
as: V,
|
|
37
|
+
dataTestId: a,
|
|
38
|
+
label: o,
|
|
39
39
|
mb: 0,
|
|
40
|
-
ref:
|
|
40
|
+
ref: R,
|
|
41
41
|
required: p,
|
|
42
|
-
store: l
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
42
|
+
store: l
|
|
43
|
+
},
|
|
44
|
+
/* @__PURE__ */ t.createElement(h, { flexDirection: i }, c.map((e) => /* @__PURE__ */ t.createElement(
|
|
45
|
+
f,
|
|
46
|
+
{
|
|
47
|
+
checked: e.value === $,
|
|
48
|
+
dataTestId: a ? `${a}-${e.value}` : void 0,
|
|
49
|
+
hint: e.hint,
|
|
50
|
+
id: `${m || u}.${e.value}`,
|
|
51
|
+
key: e.value,
|
|
52
|
+
label: e.label,
|
|
53
|
+
maxWidth: s,
|
|
54
|
+
name: u,
|
|
55
|
+
onChange: () => x(e.value),
|
|
56
|
+
value: e.value,
|
|
57
|
+
...d
|
|
58
|
+
}
|
|
59
|
+
)))
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
);
|