@sikka/hawa 0.46.3-next → 0.47.0-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.
Files changed (89) hide show
  1. package/dist/{Radio-Dyvlywnk.d.mts → Radio-BPHTeDMz.d.mts} +8 -7
  2. package/dist/{Radio-DlPwVCG4.d.ts → Radio-cRcIH8_L.d.ts} +8 -7
  3. package/dist/blocks/auth/index.d.mts +8 -8
  4. package/dist/blocks/auth/index.d.ts +8 -8
  5. package/dist/blocks/auth/index.js +87 -133
  6. package/dist/blocks/auth/index.mjs +21 -53
  7. package/dist/blocks/feedback/index.js +69 -80
  8. package/dist/blocks/feedback/index.mjs +5 -5
  9. package/dist/blocks/index.d.mts +3 -3
  10. package/dist/blocks/index.d.ts +3 -3
  11. package/dist/blocks/index.js +87 -133
  12. package/dist/blocks/index.mjs +6 -25
  13. package/dist/blocks/misc/index.js +70 -84
  14. package/dist/blocks/misc/index.mjs +5 -5
  15. package/dist/blocks/pricing/index.js +1 -1
  16. package/dist/blocks/pricing/index.mjs +4 -4
  17. package/dist/{chunk-QLUJEUIB.mjs → chunk-342KIV4R.mjs} +83 -110
  18. package/dist/{chunk-EHJXQQDP.mjs → chunk-5S5DR7KF.mjs} +1 -1
  19. package/dist/{chunk-HJVL6X7I.mjs → chunk-6SJUUJOV.mjs} +1 -1
  20. package/dist/{chunk-7O555VJR.mjs → chunk-AWJSHOYU.mjs} +69 -80
  21. package/dist/{chunk-U72MOMEK.mjs → chunk-C2UOOH4X.mjs} +1 -1
  22. package/dist/{chunk-7L5VUKZ7.mjs → chunk-EOH6A3GR.mjs} +2 -5
  23. package/dist/{chunk-6UOJKVIA.mjs → chunk-IFWYR5W2.mjs} +1 -1
  24. package/dist/{chunk-YXUHXKKK.mjs → chunk-JP2N5WKD.mjs} +1 -1
  25. package/dist/{chunk-R37QEYSB.mjs → chunk-NMW4GM4G.mjs} +1 -1
  26. package/dist/{chunk-CIMTNOLA.mjs → chunk-WUMDFBEK.mjs} +1 -1
  27. package/dist/colorPicker/index.js +1 -1
  28. package/dist/colorPicker/index.js.map +1 -1
  29. package/dist/colorPicker/index.mjs +1 -1
  30. package/dist/colorPicker/index.mjs.map +1 -1
  31. package/dist/combobox/index.js +1 -1
  32. package/dist/combobox/index.js.map +1 -1
  33. package/dist/combobox/index.mjs +1 -1
  34. package/dist/combobox/index.mjs.map +1 -1
  35. package/dist/dataTable/index.js +2 -5
  36. package/dist/dataTable/index.js.map +1 -1
  37. package/dist/dataTable/index.mjs +2 -5
  38. package/dist/dataTable/index.mjs.map +1 -1
  39. package/dist/elements/index.d.mts +2 -2
  40. package/dist/elements/index.d.ts +2 -2
  41. package/dist/elements/index.js +83 -110
  42. package/dist/elements/index.mjs +3 -3
  43. package/dist/index.d.mts +10 -9
  44. package/dist/index.d.ts +10 -9
  45. package/dist/index.js +87 -133
  46. package/dist/index.mjs +87 -133
  47. package/dist/input/index.js +2 -5
  48. package/dist/input/index.js.map +1 -1
  49. package/dist/input/index.mjs +2 -5
  50. package/dist/input/index.mjs.map +1 -1
  51. package/dist/layout/index.js +1 -1
  52. package/dist/layout/index.mjs +2 -2
  53. package/dist/passwordInput/index.js +2 -5
  54. package/dist/passwordInput/index.js.map +1 -1
  55. package/dist/passwordInput/index.mjs +2 -5
  56. package/dist/passwordInput/index.mjs.map +1 -1
  57. package/dist/phoneInput/index.d.mts +7 -7
  58. package/dist/phoneInput/index.d.ts +7 -7
  59. package/dist/phoneInput/index.js +79 -86
  60. package/dist/phoneInput/index.js.map +1 -1
  61. package/dist/phoneInput/index.mjs +79 -86
  62. package/dist/phoneInput/index.mjs.map +1 -1
  63. package/dist/pinInput/index.js +3 -20
  64. package/dist/pinInput/index.js.map +1 -1
  65. package/dist/pinInput/index.mjs +3 -20
  66. package/dist/pinInput/index.mjs.map +1 -1
  67. package/dist/select/index.d.mts +1 -0
  68. package/dist/select/index.d.ts +1 -0
  69. package/dist/select/index.js +69 -80
  70. package/dist/select/index.js.map +1 -1
  71. package/dist/select/index.mjs +69 -80
  72. package/dist/select/index.mjs.map +1 -1
  73. package/dist/simpleTable/index.js +1 -1
  74. package/dist/simpleTable/index.js.map +1 -1
  75. package/dist/simpleTable/index.mjs +1 -1
  76. package/dist/simpleTable/index.mjs.map +1 -1
  77. package/dist/skeleton/index.js +1 -1
  78. package/dist/skeleton/index.js.map +1 -1
  79. package/dist/skeleton/index.mjs +1 -1
  80. package/dist/skeleton/index.mjs.map +1 -1
  81. package/dist/stats/index.js +1 -1
  82. package/dist/stats/index.js.map +1 -1
  83. package/dist/stats/index.mjs +1 -1
  84. package/dist/stats/index.mjs.map +1 -1
  85. package/dist/textarea/index.js +1 -1
  86. package/dist/textarea/index.js.map +1 -1
  87. package/dist/textarea/index.mjs +1 -1
  88. package/dist/textarea/index.mjs.map +1 -1
  89. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  Input
4
- } from "../../chunk-7L5VUKZ7.mjs";
4
+ } from "../../chunk-EOH6A3GR.mjs";
5
5
  import {
6
6
  StopPropagationWrapper
7
7
  } from "../../chunk-47APBDKK.mjs";
8
8
  import {
9
9
  Select
10
- } from "../../chunk-7O555VJR.mjs";
10
+ } from "../../chunk-AWJSHOYU.mjs";
11
11
  import {
12
12
  EyeIcon,
13
13
  HiddenEyeIcon
14
- } from "../../chunk-YXUHXKKK.mjs";
14
+ } from "../../chunk-JP2N5WKD.mjs";
15
15
  import {
16
16
  Button,
17
17
  Card,
@@ -24,7 +24,7 @@ import {
24
24
  Label,
25
25
  Loading,
26
26
  cn
27
- } from "../../chunk-6UOJKVIA.mjs";
27
+ } from "../../chunk-IFWYR5W2.mjs";
28
28
 
29
29
  // blocks/auth/AuthButtons.tsx
30
30
  import React2 from "react";
@@ -2518,11 +2518,13 @@ var PhoneInput = ({
2518
2518
  countryCodes,
2519
2519
  ...props
2520
2520
  }) => {
2521
+ var _a;
2521
2522
  const [phoneNumber, setPhoneNumber] = useState2("");
2522
- const [countryCode, setCountryCode] = useState2(props.preferredCountry);
2523
+ const [countryCode, setCountryCode] = useState2(
2524
+ props.preferredCountry || { label: "+966" }
2525
+ );
2523
2526
  const inputRef = useRef2(null);
2524
2527
  const handleInputChange = (e) => {
2525
- console.log("test e ", e.target.value);
2526
2528
  const validChars = /^[0-9-()]+$/;
2527
2529
  const input = e.target.value;
2528
2530
  if (input === "" || validChars.test(input)) {
@@ -2544,11 +2546,13 @@ var PhoneInput = ({
2544
2546
  isMulti: false,
2545
2547
  isSearchable: true,
2546
2548
  isClearable: false,
2547
- placeholder: "Code",
2549
+ placeholder: (_a = props.preferredCountry) == null ? void 0 : _a.label,
2548
2550
  options: countryCodes || countries_default,
2549
- onChange: setCountryCode,
2550
- value: countryCode == null ? void 0 : countryCode.label,
2551
- defaultValue: props.preferredCountry
2551
+ onChange: (e) => setCountryCode({ label: e.label, value: e.label }),
2552
+ valueKey: "label",
2553
+ labelKey: "label",
2554
+ value: { label: countryCode == null ? void 0 : countryCode.label, value: countryCode == null ? void 0 : countryCode.label },
2555
+ defaultValue: { label: countryCode == null ? void 0 : countryCode.label, value: countryCode == null ? void 0 : countryCode.label }
2552
2556
  }
2553
2557
  ), /* @__PURE__ */ React4.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React4.createElement(
2554
2558
  "input",
@@ -2862,14 +2866,7 @@ var LoginForm = ({
2862
2866
  (texts == null ? void 0 : texts.loginText) || "Login"
2863
2867
  ),
2864
2868
  props.additionalButtons && props.additionalButtons,
2865
- props.allowRegister && /* @__PURE__ */ React5.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React5.createElement(
2866
- "span",
2867
- {
2868
- onClick: props.onRouteToRegister,
2869
- className: "clickable-link"
2870
- },
2871
- (texts == null ? void 0 : texts.createAccount) || "Create Account"
2872
- ))
2869
+ props.allowRegister && /* @__PURE__ */ React5.createElement("div", { className: "hawa-select-none hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-gray-300" }, (texts == null ? void 0 : texts.newUserText) || "New user?", " ", /* @__PURE__ */ React5.createElement("span", { onClick: props.onRouteToRegister, className: "clickable-link" }, (texts == null ? void 0 : texts.createAccount) || "Create Account"))
2873
2870
  )),
2874
2871
  props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React5.createElement(
2875
2872
  CardFooter,
@@ -3772,14 +3769,7 @@ var PinInputRoot = React12.forwardRef(({ className, containerClassName, ...props
3772
3769
  }
3773
3770
  ));
3774
3771
  PinInputRoot.displayName = "PinInputRoot";
3775
- var PinInputGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
3776
- "div",
3777
- {
3778
- ref,
3779
- className: cn("hawa-flex hawa-items-center", className),
3780
- ...props
3781
- }
3782
- ));
3772
+ var PinInputGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement("div", { ref, className: cn("hawa-flex hawa-items-center", className), ...props }));
3783
3773
  PinInputGroup.displayName = "PinInputGroup";
3784
3774
  var PinInputSlot = React12.forwardRef(({ index, className, ...props }, ref) => {
3785
3775
  const pinInputContext = React12.useContext(OTPInputContext);
@@ -3802,22 +3792,12 @@ var PinInputSlot = React12.forwardRef(({ index, className, ...props }, ref) => {
3802
3792
  PinInputSlot.displayName = "PinInputSlot";
3803
3793
  var PinInputSeperator = React12.forwardRef(({ ...props }, ref) => /* @__PURE__ */ React12.createElement("div", { ref, role: "separator", ...props }, /* @__PURE__ */ React12.createElement(Dot, null)));
3804
3794
  PinInputSeperator.displayName = "PinInputSeperator";
3805
- var PinInput = ({
3806
- separatorPosition = 0,
3807
- ...props
3808
- }) => {
3795
+ var PinInput = ({ separatorPosition = 0, ...props }) => {
3809
3796
  const maxLength = props.maxLength || 6;
3810
3797
  const clampedSeparatorPosition = Math.min(separatorPosition, maxLength);
3811
3798
  const firstGroupLength = clampedSeparatorPosition > 0 ? clampedSeparatorPosition : 0;
3812
3799
  const secondGroupLength = maxLength - firstGroupLength;
3813
- return /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React12.createElement(PinInputRoot, { ...props }, firstGroupLength > 0 && /* @__PURE__ */ React12.createElement(PinInputGroup, { className: "hawa-w-full hawa-gap-2" }, [...Array(firstGroupLength)].map((_, index) => /* @__PURE__ */ React12.createElement(
3814
- PinInputSlot,
3815
- {
3816
- key: index,
3817
- index,
3818
- className: "hawa-w-full hawa-border"
3819
- }
3820
- ))), separatorPosition > 0 && separatorPosition < props.maxLength && /* @__PURE__ */ React12.createElement(PinInputSeperator, null), secondGroupLength > 0 && /* @__PURE__ */ React12.createElement(PinInputGroup, { className: "hawa-w-full hawa-gap-2" }, [...Array(secondGroupLength)].map((_, index) => /* @__PURE__ */ React12.createElement(
3800
+ return /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2", dir: "ltr" }, /* @__PURE__ */ React12.createElement(PinInputRoot, { ...props }, firstGroupLength > 0 && /* @__PURE__ */ React12.createElement(PinInputGroup, { className: "hawa-w-full hawa-gap-2" }, [...Array(firstGroupLength)].map((_, index) => /* @__PURE__ */ React12.createElement(PinInputSlot, { key: index, index, className: "hawa-w-full hawa-border" }))), separatorPosition > 0 && separatorPosition < props.maxLength && /* @__PURE__ */ React12.createElement(PinInputSeperator, null), secondGroupLength > 0 && /* @__PURE__ */ React12.createElement(PinInputGroup, { className: "hawa-w-full hawa-gap-2" }, [...Array(secondGroupLength)].map((_, index) => /* @__PURE__ */ React12.createElement(
3821
3801
  PinInputSlot,
3822
3802
  {
3823
3803
  key: index + firstGroupLength,
@@ -3828,10 +3808,7 @@ var PinInput = ({
3828
3808
  };
3829
3809
 
3830
3810
  // blocks/auth/CodeConfirmation.tsx
3831
- var CodeConfirmation = ({
3832
- codeLength = 6,
3833
- ...props
3834
- }) => {
3811
+ var CodeConfirmation = ({ codeLength = 6, ...props }) => {
3835
3812
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
3836
3813
  const formSchema = z5.object({
3837
3814
  otp_code: z5.string({ required_error: (_a = props.texts) == null ? void 0 : _a.codeRequiredText }).min(codeLength, { message: (_b = props.texts) == null ? void 0 : _b.codeTooShort })
@@ -3870,14 +3847,7 @@ var CodeConfirmation = ({
3870
3847
  }
3871
3848
  };
3872
3849
  }, []);
3873
- return /* @__PURE__ */ React13.createElement(Card, null, /* @__PURE__ */ React13.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React13.createElement(
3874
- Alert,
3875
- {
3876
- title: props.errorTitle,
3877
- text: props.errorText,
3878
- severity: "error"
3879
- }
3880
- ), /* @__PURE__ */ React13.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourPhone) || "Please check your phone"), /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React13.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React13.createElement("span", null, props.phoneNumber))), /* @__PURE__ */ React13.createElement(
3850
+ return /* @__PURE__ */ React13.createElement(Card, null, /* @__PURE__ */ React13.createElement(CardContent, { headless: true }, props.showError && /* @__PURE__ */ React13.createElement(Alert, { title: props.errorTitle, text: props.errorText, severity: "error" }), /* @__PURE__ */ React13.createElement("div", { className: "hawa-mb-4 dark:hawa-text-white" }, /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-lg hawa-font-bold" }, ((_c = props.texts) == null ? void 0 : _c.checkYourIdentifier) || "Please check your phone"), /* @__PURE__ */ React13.createElement("div", { className: "hawa-text-muted-foreground" }, /* @__PURE__ */ React13.createElement("span", null, ((_d = props.texts) == null ? void 0 : _d.weSentCode) || "We've sent a code to "), /* @__PURE__ */ React13.createElement("span", null, props.identifier))), /* @__PURE__ */ React13.createElement(
3881
3851
  "form",
3882
3852
  {
3883
3853
  noValidate: true,
@@ -3926,9 +3896,7 @@ var CodeConfirmation = ({
3926
3896
  if (props.onCancel) {
3927
3897
  return props.onCancel();
3928
3898
  } else {
3929
- console.log(
3930
- "Cancel button clicked but onCancel prop is missing"
3931
- );
3899
+ console.log("Cancel button clicked but onCancel prop is missing");
3932
3900
  }
3933
3901
  },
3934
3902
  variant: "outline"
@@ -964,7 +964,7 @@ function Skeleton({
964
964
  };
965
965
  const styledAs = {
966
966
  div: "",
967
- input: "!h-[38px] !w-full"
967
+ input: "hawa-h-[40px] hawa-w-full"
968
968
  };
969
969
  return /* @__PURE__ */ import_react5.default.createElement(
970
970
  "div",
@@ -1528,6 +1528,7 @@ var import_clsx2 = __toESM(require("clsx"));
1528
1528
  var Select = ({
1529
1529
  labelProps,
1530
1530
  labelKey = "label",
1531
+ valueKey = "value",
1531
1532
  ...props
1532
1533
  }) => {
1533
1534
  const NoOption = () => {
@@ -1547,13 +1548,7 @@ var Select = ({
1547
1548
  children
1548
1549
  );
1549
1550
  };
1550
- const Option = ({
1551
- children,
1552
- innerProps,
1553
- innerRef,
1554
- isFocused,
1555
- isSelected
1556
- }) => {
1551
+ const Option = ({ children, innerProps, innerRef, isFocused, isSelected }) => {
1557
1552
  return /* @__PURE__ */ import_react12.default.createElement(
1558
1553
  "div",
1559
1554
  {
@@ -1568,14 +1563,7 @@ var Select = ({
1568
1563
  children
1569
1564
  );
1570
1565
  };
1571
- const Menu = ({
1572
- cx,
1573
- children,
1574
- getStyles,
1575
- innerProps,
1576
- innerRef,
1577
- ...menuProps
1578
- }) => {
1566
+ const Menu = ({ cx, children, getStyles, innerProps, innerRef, ...menuProps }) => {
1579
1567
  const menuOpen = menuProps.selectProps.menuIsOpen;
1580
1568
  return /* @__PURE__ */ import_react12.default.createElement(
1581
1569
  "div",
@@ -1604,71 +1592,72 @@ var Select = ({
1604
1592
  )
1605
1593
  },
1606
1594
  props.label && /* @__PURE__ */ import_react12.default.createElement(Label, { ...labelProps }, props.label),
1607
- props.isLoading ? /* @__PURE__ */ import_react12.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? (
1608
- // TODO: enable keyboard to go to the next item in the list
1609
- /* @__PURE__ */ import_react12.default.createElement(
1610
- import_react_select.default,
1611
- {
1612
- noOptionsMessage: NoOption,
1613
- classNames: {
1614
- control: () => cn(
1615
- props.phoneCode && "hawa-rounded-r-none",
1616
- props.controlClassNames
1617
- ),
1618
- container: () => cn(
1619
- selectContainerStyles,
1620
- props.phoneCode && phoneCodeStyles,
1621
- props.isMulti && "hawa-ps-0 "
1622
- ),
1623
- placeholder: () => cn(
1624
- selectPlaceholderStyles,
1625
- props.disabled && "hawa-text-muted-foreground"
1626
- ),
1627
- valueContainer: () => "hawa-text-foreground hawa-px-1 ",
1628
- singleValue: () => cn(
1629
- props.disabled ? "hawa-text-muted-foreground hawa-opacity-30" : "hawa-text-foreground"
1630
- ),
1631
- indicatorsContainer: () => cn(
1632
- selectIndicatorContainerStyles,
1633
- props.hideIndicator ? "hawa-invisible" : "hawa-px-1",
1634
- props.disabled && "hawa-opacity-30"
1635
- )
1636
- },
1637
- unstyled: true,
1638
- autoFocus: false,
1639
- components: props.hideIndicator ? { Option, Menu, IndicatorsContainer: () => null } : {
1595
+ props.isLoading ? /* @__PURE__ */ import_react12.default.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : !props.isCreatable ? /* @__PURE__ */ import_react12.default.createElement(
1596
+ import_react_select.default,
1597
+ {
1598
+ noOptionsMessage: NoOption,
1599
+ classNames: {
1600
+ control: () => cn(props.phoneCode && "hawa-rounded-r-none", props.controlClassNames),
1601
+ container: () => cn(
1602
+ selectContainerStyles,
1603
+ props.phoneCode && phoneCodeStyles,
1604
+ props.isMulti && "hawa-ps-0 "
1605
+ ),
1606
+ placeholder: () => cn(selectPlaceholderStyles, props.disabled && "hawa-text-muted-foreground"),
1607
+ valueContainer: () => "hawa-text-foreground hawa-px-1",
1608
+ singleValue: () => cn(
1609
+ props.disabled ? "hawa-text-muted-foreground hawa-opacity-30" : "hawa-text-foreground"
1610
+ ),
1611
+ indicatorsContainer: () => cn(
1612
+ selectIndicatorContainerStyles,
1613
+ props.hideIndicator ? "hawa-invisible" : "hawa-px-1",
1614
+ props.disabled && "hawa-opacity-30"
1615
+ )
1616
+ },
1617
+ unstyled: true,
1618
+ autoFocus: false,
1619
+ components: props.hideIndicator ? {
1620
+ Option: (optionProps) => /* @__PURE__ */ import_react12.default.createElement(
1640
1621
  Option,
1641
- Menu,
1642
- ValueContainer: (e) => /* @__PURE__ */ import_react12.default.createElement(
1643
- "div",
1644
- {
1645
- className: cn(
1646
- e.className,
1647
- "hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
1648
- ),
1649
- ...e
1650
- }
1651
- ),
1652
- MultiValueContainer: (e) => /* @__PURE__ */ import_react12.default.createElement(
1653
- "div",
1654
- {
1655
- className: "hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row",
1656
- ...e
1657
- }
1658
- )
1659
- },
1660
- onChange: (newValue, action) => props.onChange(newValue, action),
1661
- options: props.options,
1662
- getOptionLabel: props.getOptionLabel,
1663
- defaultValue: props.defaultValue,
1664
- value: props.value,
1665
- placeholder: props.placeholder,
1666
- isDisabled: props.disabled,
1667
- isClearable: props.isClearable,
1668
- isMulti: props.isMulti,
1669
- isSearchable: props.isSearchable
1670
- }
1671
- )
1622
+ {
1623
+ ...optionProps,
1624
+ isSelected: optionProps.data[valueKey] === props.value[valueKey]
1625
+ }
1626
+ ),
1627
+ Menu,
1628
+ IndicatorsContainer: () => null
1629
+ } : {
1630
+ Option,
1631
+ Menu,
1632
+ ValueContainer: (e) => /* @__PURE__ */ import_react12.default.createElement(
1633
+ "div",
1634
+ {
1635
+ className: cn(
1636
+ e.className,
1637
+ "hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-2 hawa-w-full hawa-cursor-pointer"
1638
+ ),
1639
+ ...e
1640
+ }
1641
+ ),
1642
+ MultiValueContainer: (e) => /* @__PURE__ */ import_react12.default.createElement(
1643
+ "div",
1644
+ {
1645
+ className: "hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row",
1646
+ ...e
1647
+ }
1648
+ )
1649
+ },
1650
+ onChange: (newValue, action) => props.onChange(newValue, action),
1651
+ options: props.options,
1652
+ getOptionLabel: props.getOptionLabel,
1653
+ defaultValue: props.defaultValue,
1654
+ value: props.value,
1655
+ placeholder: props.placeholder,
1656
+ isDisabled: props.disabled,
1657
+ isClearable: props.isClearable,
1658
+ isMulti: props.isMulti,
1659
+ isSearchable: props.isSearchable
1660
+ }
1672
1661
  ) : /* @__PURE__ */ import_react12.default.createElement(
1673
1662
  import_creatable.default,
1674
1663
  {
@@ -1,26 +1,26 @@
1
1
  "use client";
2
2
  import {
3
3
  Textarea
4
- } from "../../chunk-EHJXQQDP.mjs";
4
+ } from "../../chunk-5S5DR7KF.mjs";
5
5
  import {
6
6
  Select
7
- } from "../../chunk-7O555VJR.mjs";
7
+ } from "../../chunk-AWJSHOYU.mjs";
8
8
  import {
9
9
  Popover,
10
10
  Radio
11
- } from "../../chunk-R37QEYSB.mjs";
11
+ } from "../../chunk-NMW4GM4G.mjs";
12
12
  import {
13
13
  BadEmoji,
14
14
  GoodEmoji,
15
15
  VeryBadEmoji,
16
16
  VeryGoodEmoji
17
- } from "../../chunk-YXUHXKKK.mjs";
17
+ } from "../../chunk-JP2N5WKD.mjs";
18
18
  import {
19
19
  Button,
20
20
  Card,
21
21
  CardContent,
22
22
  cn
23
- } from "../../chunk-6UOJKVIA.mjs";
23
+ } from "../../chunk-IFWYR5W2.mjs";
24
24
 
25
25
  // blocks/feedback/UserReferralSource.tsx
26
26
  import React, { useRef, useState } from "react";
@@ -1,6 +1,6 @@
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
- import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-Dyvlywnk.mjs';
3
+ import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-BPHTeDMz.mjs';
4
4
  import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-C-g8nFFC.mjs';
5
5
  import { M as MenuItemType } from '../DropdownMenu-mK9EvfKp.mjs';
6
6
  import '@radix-ui/react-popover';
@@ -243,7 +243,7 @@ declare const ResetPasswordForm: FC<ResetPasswordType>;
243
243
 
244
244
  type TConfirmation = {
245
245
  texts?: {
246
- checkYourPhone?: string;
246
+ checkYourIdentifier?: string;
247
247
  weSentCode?: string;
248
248
  didntGetCode?: string;
249
249
  resendCode?: string;
@@ -257,7 +257,7 @@ type TConfirmation = {
257
257
  showError?: any;
258
258
  errorTitle?: any;
259
259
  errorText?: any;
260
- phoneNumber?: string;
260
+ identifier?: string;
261
261
  confirmLoading?: boolean;
262
262
  onConfirm?: any;
263
263
  onResend?: any;
@@ -1,6 +1,6 @@
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
- import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-DlPwVCG4.js';
3
+ import { P as PhoneInputProps, S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-cRcIH8_L.js';
4
4
  import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-C-g8nFFC.js';
5
5
  import { M as MenuItemType } from '../DropdownMenu-CDnFCzfc.js';
6
6
  import '@radix-ui/react-popover';
@@ -243,7 +243,7 @@ declare const ResetPasswordForm: FC<ResetPasswordType>;
243
243
 
244
244
  type TConfirmation = {
245
245
  texts?: {
246
- checkYourPhone?: string;
246
+ checkYourIdentifier?: string;
247
247
  weSentCode?: string;
248
248
  didntGetCode?: string;
249
249
  resendCode?: string;
@@ -257,7 +257,7 @@ type TConfirmation = {
257
257
  showError?: any;
258
258
  errorTitle?: any;
259
259
  errorText?: any;
260
- phoneNumber?: string;
260
+ identifier?: string;
261
261
  confirmLoading?: boolean;
262
262
  onConfirm?: any;
263
263
  onResend?: any;