@sikka/hawa 0.30.12-next → 0.30.13-next
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/{Radio-MHGhfbpA.d.ts → Radio-uPqJwFGq.d.ts} +2 -2
- package/dist/{Radio-ZM5l4CwH.d.mts → Radio-zXrZBXwJ.d.mts} +2 -2
- package/dist/blocks/feedback/index.js +179 -177
- package/dist/blocks/feedback/index.mjs +1 -1
- package/dist/blocks/index.d.mts +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/index.js +179 -177
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/pricing/index.js +179 -177
- package/dist/blocks/pricing/index.mjs +1 -1
- package/dist/{chunk-3GZMGTI5.mjs → chunk-MPRDKNFN.mjs} +180 -178
- package/dist/chunk-WQK2TN4F.mjs +215 -0
- package/dist/elements/index.d.mts +2 -2
- package/dist/elements/index.d.ts +2 -2
- package/dist/elements/index.js +179 -177
- package/dist/elements/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +179 -177
- package/dist/index.mjs +180 -178
- package/dist/interfaceSettings/index.js +179 -177
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +180 -178
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/radio/index.d.mts +2 -2
- package/dist/radio/index.d.ts +2 -2
- package/dist/radio/index.js +179 -177
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +180 -178
- package/dist/radio/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-U42KD2OQ.mjs +0 -213
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { FC } from 'react';
|
2
|
+
import React__default, { FC } from 'react';
|
3
3
|
import { P as PositionType, O as OrientationType, D as DirectionType } from './commonTypes-CKtkuNFH.js';
|
4
4
|
|
5
5
|
type LabelProps = {
|
@@ -74,6 +74,6 @@ type RadioTypes = {
|
|
74
74
|
tabsContainerClassName?: string;
|
75
75
|
forceHideHelperText?: boolean;
|
76
76
|
};
|
77
|
-
declare const Radio:
|
77
|
+
declare const Radio: React__default.ForwardRefExoticComponent<RadioTypes & React__default.RefAttributes<HTMLInputElement>>;
|
78
78
|
|
79
79
|
export { type LabelProps as L, type RadioOptionsTypes as R, type SelectOptionProps as S, Radio as a, Label as b, Select as c };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import { FC } from 'react';
|
2
|
+
import React__default, { FC } from 'react';
|
3
3
|
import { P as PositionType, O as OrientationType, D as DirectionType } from './commonTypes-CKtkuNFH.mjs';
|
4
4
|
|
5
5
|
type LabelProps = {
|
@@ -74,6 +74,6 @@ type RadioTypes = {
|
|
74
74
|
tabsContainerClassName?: string;
|
75
75
|
forceHideHelperText?: boolean;
|
76
76
|
};
|
77
|
-
declare const Radio:
|
77
|
+
declare const Radio: React__default.ForwardRefExoticComponent<RadioTypes & React__default.RefAttributes<HTMLInputElement>>;
|
78
78
|
|
79
79
|
export { type LabelProps as L, type RadioOptionsTypes as R, type SelectOptionProps as S, Radio as a, Label as b, Select as c };
|
@@ -552,207 +552,209 @@ var Label = React5.forwardRef(({ className, hint, hintSide, required, children,
|
|
552
552
|
Label.displayName = "Label";
|
553
553
|
|
554
554
|
// elements/radio/Radio.tsx
|
555
|
-
var Radio = (
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
555
|
+
var Radio = (0, import_react3.forwardRef)(
|
556
|
+
({
|
557
|
+
design = "default",
|
558
|
+
width = "default",
|
559
|
+
size = "default",
|
560
|
+
orientation = "horizontal",
|
561
|
+
name,
|
562
|
+
labelProps,
|
563
|
+
tabsContainerClassName,
|
564
|
+
forceHideHelperText = false,
|
565
|
+
onChange,
|
566
|
+
...props
|
567
|
+
}, ref) => {
|
568
|
+
var _a, _b, _c;
|
569
|
+
const [selectedOption, setSelectedOption] = (0, import_react3.useState)(
|
570
|
+
props.defaultValue || props.value
|
571
|
+
);
|
572
|
+
let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
|
573
|
+
let inactiveTabStyle = `hawa-inline-block hawa-w-full hawa-transition-all hawa-bg-primary-foreground dark:hover:hawa-text-white
|
573
574
|
${props.disabled ? "" : "hover:hawa-bg-muted"}`;
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
{
|
614
|
-
ref: parentRef,
|
615
|
-
className: cn(
|
616
|
-
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
617
|
-
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
|
618
|
-
orientationStyle[orientation],
|
619
|
-
widthStyle[width],
|
620
|
-
tabsContainerClassName
|
621
|
-
)
|
622
|
-
},
|
623
|
-
(_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react3.default.createElement(
|
624
|
-
"li",
|
575
|
+
let orientationStyle = {
|
576
|
+
horizontal: "hawa-flex hawa-flex-row",
|
577
|
+
vertical: "hawa-flex hawa-flex-col"
|
578
|
+
};
|
579
|
+
let tabSizeStyle = {
|
580
|
+
default: "hawa-py-2 hawa-px-4 hawa-text-sm",
|
581
|
+
lg: "hawa-py-2 hawa-px-4",
|
582
|
+
sm: "hawa-p-1.5 hawa-text-xs",
|
583
|
+
xs: "hawa-p-1 hawa-text-[10px]"
|
584
|
+
};
|
585
|
+
let widthStyle = {
|
586
|
+
none: "",
|
587
|
+
default: "hawa-max-w-fit",
|
588
|
+
full: "hawa-w-full"
|
589
|
+
};
|
590
|
+
const [parentDirection, setParentDirection] = import_react3.default.useState(
|
591
|
+
null
|
592
|
+
);
|
593
|
+
const parentRef = (0, import_react3.useRef)(null);
|
594
|
+
(0, import_react3.useEffect)(() => {
|
595
|
+
var _a2;
|
596
|
+
const parentNode = (_a2 = parentRef.current) == null ? void 0 : _a2.parentNode;
|
597
|
+
if (parentNode) {
|
598
|
+
const dir = window.getComputedStyle(parentNode).direction;
|
599
|
+
setParentDirection(dir);
|
600
|
+
}
|
601
|
+
});
|
602
|
+
const handleChange = (opt) => {
|
603
|
+
setSelectedOption(opt.value);
|
604
|
+
if (onChange) {
|
605
|
+
onChange(opt.value);
|
606
|
+
} else {
|
607
|
+
console.log("onChange was not provided");
|
608
|
+
}
|
609
|
+
};
|
610
|
+
switch (design) {
|
611
|
+
case "tabs":
|
612
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-gap-2 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ import_react3.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react3.default.createElement(
|
613
|
+
"ul",
|
625
614
|
{
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
615
|
+
ref: parentRef,
|
616
|
+
className: cn(
|
617
|
+
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
618
|
+
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
|
619
|
+
orientationStyle[orientation],
|
620
|
+
widthStyle[width],
|
621
|
+
tabsContainerClassName
|
622
|
+
)
|
623
|
+
},
|
624
|
+
(_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react3.default.createElement(
|
625
|
+
"li",
|
626
|
+
{
|
627
|
+
"aria-current": "page",
|
628
|
+
onClick: () => {
|
629
|
+
if (props.disabled)
|
630
|
+
return;
|
631
|
+
handleChange(opt);
|
632
|
+
},
|
633
|
+
className: cn(
|
634
|
+
"hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
|
635
|
+
!props.disabled && "hawa-cursor-pointer",
|
636
|
+
orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
|
637
|
+
orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
|
638
|
+
orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
|
639
|
+
tabSizeStyle[size],
|
640
|
+
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
641
|
+
),
|
642
|
+
key: o
|
631
643
|
},
|
644
|
+
opt.icon && opt.icon,
|
645
|
+
opt.label
|
646
|
+
))
|
647
|
+
), !forceHideHelperText && /* @__PURE__ */ import_react3.default.createElement(
|
648
|
+
"p",
|
649
|
+
{
|
650
|
+
className: cn(
|
651
|
+
"hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
|
652
|
+
props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
653
|
+
)
|
654
|
+
},
|
655
|
+
props.helperText
|
656
|
+
));
|
657
|
+
case "bordered":
|
658
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react3.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react3.default.createElement(
|
659
|
+
"div",
|
660
|
+
{
|
632
661
|
className: cn(
|
633
|
-
"
|
634
|
-
|
635
|
-
orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
|
636
|
-
orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
|
637
|
-
orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
|
638
|
-
tabSizeStyle[size],
|
639
|
-
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
662
|
+
"radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
|
663
|
+
props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
|
640
664
|
),
|
641
|
-
key:
|
665
|
+
key: i + 1
|
642
666
|
},
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
},
|
654
|
-
props.helperText
|
655
|
-
));
|
656
|
-
case "bordered":
|
657
|
-
return /* @__PURE__ */ import_react3.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react3.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react3.default.createElement(
|
658
|
-
"div",
|
659
|
-
{
|
660
|
-
className: cn(
|
661
|
-
"radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
|
662
|
-
props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
|
667
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
668
|
+
"input",
|
669
|
+
{
|
670
|
+
disabled: opt.disabled,
|
671
|
+
id: opt.value.toString(),
|
672
|
+
type: "radio",
|
673
|
+
value: opt.value,
|
674
|
+
name,
|
675
|
+
onChange: () => handleChange(opt)
|
676
|
+
}
|
663
677
|
),
|
664
|
-
|
665
|
-
|
666
|
-
|
678
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
679
|
+
"label",
|
680
|
+
{
|
681
|
+
htmlFor: opt.value.toString(),
|
682
|
+
className: cn(
|
683
|
+
"hawa-ml-2 hawa-w-full hawa-select-none hawa-p-4 hawa-pl-3 hawa-text-sm hawa-font-medium hawa-text-black dark:hawa-text-white",
|
684
|
+
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
|
685
|
+
)
|
686
|
+
},
|
687
|
+
opt.label
|
688
|
+
)
|
689
|
+
))));
|
690
|
+
case "cards":
|
691
|
+
return /* @__PURE__ */ import_react3.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react3.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react3.default.createElement(
|
667
692
|
"input",
|
668
693
|
{
|
669
|
-
disabled: opt.disabled,
|
670
|
-
id: opt.value.toString(),
|
671
694
|
type: "radio",
|
672
|
-
|
695
|
+
id: opt.value.toString(),
|
673
696
|
name,
|
674
|
-
|
697
|
+
value: opt.value.toString(),
|
698
|
+
className: "hawa-peer hawa-hidden",
|
699
|
+
required: true,
|
700
|
+
disabled: opt.disabled
|
675
701
|
}
|
676
|
-
),
|
677
|
-
/* @__PURE__ */ import_react3.default.createElement(
|
702
|
+
), /* @__PURE__ */ import_react3.default.createElement(
|
678
703
|
"label",
|
679
704
|
{
|
680
705
|
htmlFor: opt.value.toString(),
|
681
706
|
className: cn(
|
682
|
-
"hawa-
|
683
|
-
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-
|
707
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
708
|
+
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
|
684
709
|
)
|
685
710
|
},
|
686
|
-
opt.label
|
687
|
-
)
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
"input",
|
692
|
-
{
|
693
|
-
type: "radio",
|
694
|
-
id: opt.value.toString(),
|
695
|
-
name,
|
696
|
-
value: opt.value.toString(),
|
697
|
-
className: "hawa-peer hawa-hidden",
|
698
|
-
required: true,
|
699
|
-
disabled: opt.disabled
|
700
|
-
}
|
701
|
-
), /* @__PURE__ */ import_react3.default.createElement(
|
702
|
-
"label",
|
703
|
-
{
|
704
|
-
htmlFor: opt.value.toString(),
|
705
|
-
className: cn(
|
706
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
707
|
-
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
|
708
|
-
)
|
709
|
-
},
|
710
|
-
/* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
711
|
-
))));
|
712
|
-
default:
|
713
|
-
return /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react3.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react3.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react3.default.createElement(
|
714
|
-
"div",
|
715
|
-
{
|
716
|
-
className: cn(
|
717
|
-
"radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
|
718
|
-
props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
|
719
|
-
),
|
720
|
-
key: i + 1
|
721
|
-
},
|
722
|
-
/* @__PURE__ */ import_react3.default.createElement(
|
723
|
-
"input",
|
711
|
+
/* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
712
|
+
))));
|
713
|
+
default:
|
714
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react3.default.createElement(Label, { ...labelProps }, props.label), /* @__PURE__ */ import_react3.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react3.default.createElement(
|
715
|
+
"div",
|
724
716
|
{
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
717
|
+
className: cn(
|
718
|
+
"radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
|
719
|
+
props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
|
720
|
+
),
|
721
|
+
key: i + 1
|
722
|
+
},
|
723
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
724
|
+
"input",
|
725
|
+
{
|
726
|
+
disabled: opt.disabled,
|
727
|
+
id: opt.value.toString(),
|
728
|
+
type: "radio",
|
729
|
+
value: opt.value,
|
730
|
+
name,
|
731
|
+
onChange: () => handleChange(opt)
|
732
|
+
}
|
733
|
+
),
|
734
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
735
|
+
"label",
|
736
|
+
{
|
737
|
+
htmlFor: opt.value.toString(),
|
738
|
+
className: cn(
|
739
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
740
|
+
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
741
|
+
)
|
742
|
+
},
|
743
|
+
opt.label
|
744
|
+
)
|
745
|
+
))), /* @__PURE__ */ import_react3.default.createElement(
|
746
|
+
"p",
|
735
747
|
{
|
736
|
-
htmlFor: opt.value.toString(),
|
737
748
|
className: cn(
|
738
|
-
"hawa-text-
|
739
|
-
|
749
|
+
"hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
|
750
|
+
props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
740
751
|
)
|
741
752
|
},
|
742
|
-
|
743
|
-
)
|
744
|
-
|
745
|
-
"p",
|
746
|
-
{
|
747
|
-
className: cn(
|
748
|
-
"hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
|
749
|
-
props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
750
|
-
)
|
751
|
-
},
|
752
|
-
props.helperText
|
753
|
-
));
|
753
|
+
props.helperText
|
754
|
+
));
|
755
|
+
}
|
754
756
|
}
|
755
|
-
|
757
|
+
);
|
756
758
|
|
757
759
|
// elements/textarea/Textarea.tsx
|
758
760
|
var React8 = __toESM(require("react"));
|
package/dist/blocks/index.d.mts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.mjs';
|
3
3
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-CKtkuNFH.mjs';
|
4
|
-
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
4
|
+
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-zXrZBXwJ.mjs';
|
5
5
|
import { M as MenuItemType } from '../DropdownMenu-o2-hzTmS.mjs';
|
6
6
|
import '@radix-ui/react-dropdown-menu';
|
7
7
|
|
package/dist/blocks/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.js';
|
3
3
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-CKtkuNFH.js';
|
4
|
-
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
4
|
+
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-uPqJwFGq.js';
|
5
5
|
import { M as MenuItemType } from '../DropdownMenu-q6HfeO08.js';
|
6
6
|
import '@radix-ui/react-dropdown-menu';
|
7
7
|
|