@sikka/hawa 0.30.12-next → 0.30.14-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 (68) hide show
  1. package/dist/{DropdownMenu-o2-hzTmS.d.mts → DropdownMenu-arqV1gRt.d.mts} +1 -1
  2. package/dist/{DropdownMenu-q6HfeO08.d.ts → DropdownMenu-sSnQc6fT.d.ts} +1 -1
  3. package/dist/{Radio-ZM5l4CwH.d.mts → Radio-9MkZay6D.d.mts} +3 -3
  4. package/dist/{Radio-MHGhfbpA.d.ts → Radio-bhKmANMf.d.ts} +3 -3
  5. package/dist/appLayout/index.js +6 -2
  6. package/dist/appLayout/index.js.map +1 -1
  7. package/dist/appLayout/index.mjs +6 -2
  8. package/dist/appLayout/index.mjs.map +1 -1
  9. package/dist/appTopbar/index.js +3 -5
  10. package/dist/appTopbar/index.js.map +1 -1
  11. package/dist/appTopbar/index.mjs +3 -5
  12. package/dist/appTopbar/index.mjs.map +1 -1
  13. package/dist/blocks/auth/index.js +1 -1
  14. package/dist/blocks/auth/index.mjs +2 -2
  15. package/dist/blocks/feedback/index.js +179 -177
  16. package/dist/blocks/feedback/index.mjs +2 -2
  17. package/dist/blocks/index.d.mts +2 -2
  18. package/dist/blocks/index.d.ts +2 -2
  19. package/dist/blocks/index.js +181 -179
  20. package/dist/blocks/index.mjs +3 -3
  21. package/dist/blocks/misc/index.js +1 -1
  22. package/dist/blocks/misc/index.mjs +2 -2
  23. package/dist/blocks/pricing/index.js +179 -177
  24. package/dist/blocks/pricing/index.mjs +1 -1
  25. package/dist/{chunk-3GZMGTI5.mjs → chunk-OUAQNQWP.mjs} +180 -178
  26. package/dist/chunk-R52CZJK3.mjs +215 -0
  27. package/dist/dataTable/index.js.map +1 -1
  28. package/dist/dataTable/index.mjs.map +1 -1
  29. package/dist/dropdownMenu/index.d.mts +1 -1
  30. package/dist/dropdownMenu/index.d.ts +1 -1
  31. package/dist/dropdownMenu/index.js.map +1 -1
  32. package/dist/dropdownMenu/index.mjs.map +1 -1
  33. package/dist/elements/index.d.mts +3 -3
  34. package/dist/elements/index.d.ts +3 -3
  35. package/dist/elements/index.js +179 -177
  36. package/dist/elements/index.mjs +1 -1
  37. package/dist/index.css +9 -0
  38. package/dist/index.d.mts +3 -3
  39. package/dist/index.d.ts +3 -3
  40. package/dist/index.js +188 -182
  41. package/dist/index.mjs +189 -183
  42. package/dist/interfaceSettings/index.js +179 -177
  43. package/dist/interfaceSettings/index.js.map +1 -1
  44. package/dist/interfaceSettings/index.mjs +180 -178
  45. package/dist/interfaceSettings/index.mjs.map +1 -1
  46. package/dist/layout/index.d.mts +1 -1
  47. package/dist/layout/index.d.ts +1 -1
  48. package/dist/layout/index.js +7 -3
  49. package/dist/layout/index.mjs +7 -3
  50. package/dist/phoneInput/index.js.map +1 -1
  51. package/dist/phoneInput/index.mjs.map +1 -1
  52. package/dist/radio/index.d.mts +2 -2
  53. package/dist/radio/index.d.ts +2 -2
  54. package/dist/radio/index.js +179 -177
  55. package/dist/radio/index.js.map +1 -1
  56. package/dist/radio/index.mjs +180 -178
  57. package/dist/radio/index.mjs.map +1 -1
  58. package/dist/select/index.d.mts +1 -1
  59. package/dist/select/index.d.ts +1 -1
  60. package/dist/select/index.js +3 -1
  61. package/dist/select/index.js.map +1 -1
  62. package/dist/select/index.mjs +3 -1
  63. package/dist/select/index.mjs.map +1 -1
  64. package/dist/splitButton/index.js.map +1 -1
  65. package/dist/splitButton/index.mjs.map +1 -1
  66. package/package.json +1 -1
  67. package/dist/chunk-U42KD2OQ.mjs +0 -213
  68. /package/dist/{chunk-M3IRSZWA.mjs → chunk-ER7YWU7Z.mjs} +0 -0
@@ -998,207 +998,209 @@ var Label2 = React15.forwardRef(({ className, hint, hintSide, required, children
998
998
  Label2.displayName = "Label";
999
999
 
1000
1000
  // elements/radio/Radio.tsx
1001
- var Radio = ({
1002
- design = "default",
1003
- width = "default",
1004
- size = "default",
1005
- orientation = "horizontal",
1006
- name,
1007
- labelProps,
1008
- tabsContainerClassName,
1009
- forceHideHelperText = false,
1010
- onChange,
1011
- ...props
1012
- }) => {
1013
- var _a, _b, _c;
1014
- const [selectedOption, setSelectedOption] = (0, import_react11.useState)(
1015
- props.defaultValue || props.value
1016
- );
1017
- let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
1018
- let inactiveTabStyle = `hawa-inline-block hawa-w-full hawa-transition-all hawa-bg-primary-foreground dark:hover:hawa-text-white
1001
+ var Radio = (0, import_react11.forwardRef)(
1002
+ ({
1003
+ design = "default",
1004
+ width = "default",
1005
+ size = "default",
1006
+ orientation = "horizontal",
1007
+ name,
1008
+ labelProps,
1009
+ tabsContainerClassName,
1010
+ forceHideHelperText = false,
1011
+ onChange,
1012
+ ...props
1013
+ }, ref) => {
1014
+ var _a, _b, _c;
1015
+ const [selectedOption, setSelectedOption] = (0, import_react11.useState)(
1016
+ props.defaultValue || props.value
1017
+ );
1018
+ let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
1019
+ let inactiveTabStyle = `hawa-inline-block hawa-w-full hawa-transition-all hawa-bg-primary-foreground dark:hover:hawa-text-white
1019
1020
  ${props.disabled ? "" : "hover:hawa-bg-muted"}`;
1020
- let orientationStyle = {
1021
- horizontal: "hawa-flex hawa-flex-row",
1022
- vertical: "hawa-flex hawa-flex-col"
1023
- };
1024
- let tabSizeStyle = {
1025
- default: "hawa-py-2 hawa-px-4 hawa-text-sm",
1026
- lg: "hawa-py-2 hawa-px-4",
1027
- sm: "hawa-p-1.5 hawa-text-xs",
1028
- xs: "hawa-p-1 hawa-text-[10px]"
1029
- };
1030
- let widthStyle = {
1031
- none: "",
1032
- default: "hawa-max-w-fit",
1033
- full: "hawa-w-full"
1034
- };
1035
- const [parentDirection, setParentDirection] = import_react11.default.useState(
1036
- null
1037
- );
1038
- const parentRef = (0, import_react11.useRef)(null);
1039
- (0, import_react11.useEffect)(() => {
1040
- var _a2;
1041
- const parentNode = (_a2 = parentRef.current) == null ? void 0 : _a2.parentNode;
1042
- if (parentNode) {
1043
- const dir = window.getComputedStyle(parentNode).direction;
1044
- setParentDirection(dir);
1045
- }
1046
- });
1047
- const handleChange = (opt) => {
1048
- setSelectedOption(opt.value);
1049
- if (onChange) {
1050
- onChange(opt.value);
1051
- } else {
1052
- console.log("onChange was not provided");
1053
- }
1054
- };
1055
- switch (design) {
1056
- case "tabs":
1057
- return /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-gap-2 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react11.default.createElement(
1058
- "ul",
1059
- {
1060
- ref: parentRef,
1061
- className: cn(
1062
- props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
1063
- "hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
1064
- orientationStyle[orientation],
1065
- widthStyle[width],
1066
- tabsContainerClassName
1067
- )
1068
- },
1069
- (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement(
1070
- "li",
1021
+ let orientationStyle = {
1022
+ horizontal: "hawa-flex hawa-flex-row",
1023
+ vertical: "hawa-flex hawa-flex-col"
1024
+ };
1025
+ let tabSizeStyle = {
1026
+ default: "hawa-py-2 hawa-px-4 hawa-text-sm",
1027
+ lg: "hawa-py-2 hawa-px-4",
1028
+ sm: "hawa-p-1.5 hawa-text-xs",
1029
+ xs: "hawa-p-1 hawa-text-[10px]"
1030
+ };
1031
+ let widthStyle = {
1032
+ none: "",
1033
+ default: "hawa-max-w-fit",
1034
+ full: "hawa-w-full"
1035
+ };
1036
+ const [parentDirection, setParentDirection] = import_react11.default.useState(
1037
+ null
1038
+ );
1039
+ const parentRef = (0, import_react11.useRef)(null);
1040
+ (0, import_react11.useEffect)(() => {
1041
+ var _a2;
1042
+ const parentNode = (_a2 = parentRef.current) == null ? void 0 : _a2.parentNode;
1043
+ if (parentNode) {
1044
+ const dir = window.getComputedStyle(parentNode).direction;
1045
+ setParentDirection(dir);
1046
+ }
1047
+ });
1048
+ const handleChange = (opt) => {
1049
+ setSelectedOption(opt.value);
1050
+ if (onChange) {
1051
+ onChange(opt.value);
1052
+ } else {
1053
+ console.log("onChange was not provided");
1054
+ }
1055
+ };
1056
+ switch (design) {
1057
+ case "tabs":
1058
+ return /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-gap-2 hawa-flex hawa-flex-col" }, props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react11.default.createElement(
1059
+ "ul",
1071
1060
  {
1072
- "aria-current": "page",
1073
- onClick: () => {
1074
- if (props.disabled)
1075
- return;
1076
- handleChange(opt);
1061
+ ref: parentRef,
1062
+ className: cn(
1063
+ props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
1064
+ "hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
1065
+ orientationStyle[orientation],
1066
+ widthStyle[width],
1067
+ tabsContainerClassName
1068
+ )
1069
+ },
1070
+ (_b = props.options) == null ? void 0 : _b.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement(
1071
+ "li",
1072
+ {
1073
+ "aria-current": "page",
1074
+ onClick: () => {
1075
+ if (props.disabled)
1076
+ return;
1077
+ handleChange(opt);
1078
+ },
1079
+ className: cn(
1080
+ "hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
1081
+ !props.disabled && "hawa-cursor-pointer",
1082
+ orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
1083
+ orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
1084
+ orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
1085
+ tabSizeStyle[size],
1086
+ selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
1087
+ ),
1088
+ key: o
1077
1089
  },
1090
+ opt.icon && opt.icon,
1091
+ opt.label
1092
+ ))
1093
+ ), !forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(
1094
+ "p",
1095
+ {
1096
+ className: cn(
1097
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
1098
+ props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
1099
+ )
1100
+ },
1101
+ props.helperText
1102
+ ));
1103
+ case "bordered":
1104
+ return /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react11.default.createElement(
1105
+ "div",
1106
+ {
1078
1107
  className: cn(
1079
- "hawa-w-full hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
1080
- !props.disabled && "hawa-cursor-pointer",
1081
- orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
1082
- orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
1083
- orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
1084
- tabSizeStyle[size],
1085
- selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
1108
+ "radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
1109
+ props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
1086
1110
  ),
1087
- key: o
1111
+ key: i + 1
1088
1112
  },
1089
- opt.icon && opt.icon,
1090
- opt.label
1091
- ))
1092
- ), !forceHideHelperText && /* @__PURE__ */ import_react11.default.createElement(
1093
- "p",
1094
- {
1095
- className: cn(
1096
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
1097
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
1098
- )
1099
- },
1100
- props.helperText
1101
- ));
1102
- case "bordered":
1103
- return /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement("div", { key: i, className: "hawa-w-full hawa-rounded hawa-border" }, /* @__PURE__ */ import_react11.default.createElement(
1104
- "div",
1105
- {
1106
- className: cn(
1107
- "radio-item radio-item-bordered hawa-flex hawa-items-center hawa-transition-all",
1108
- props.direction === "rtl" ? "margin-left right-19px" : "margin-right left-23px"
1113
+ /* @__PURE__ */ import_react11.default.createElement(
1114
+ "input",
1115
+ {
1116
+ disabled: opt.disabled,
1117
+ id: opt.value.toString(),
1118
+ type: "radio",
1119
+ value: opt.value,
1120
+ name,
1121
+ onChange: () => handleChange(opt)
1122
+ }
1109
1123
  ),
1110
- key: i + 1
1111
- },
1112
- /* @__PURE__ */ import_react11.default.createElement(
1124
+ /* @__PURE__ */ import_react11.default.createElement(
1125
+ "label",
1126
+ {
1127
+ htmlFor: opt.value.toString(),
1128
+ className: cn(
1129
+ "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",
1130
+ opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
1131
+ )
1132
+ },
1133
+ opt.label
1134
+ )
1135
+ ))));
1136
+ case "cards":
1137
+ return /* @__PURE__ */ import_react11.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react11.default.createElement(
1113
1138
  "input",
1114
1139
  {
1115
- disabled: opt.disabled,
1116
- id: opt.value.toString(),
1117
1140
  type: "radio",
1118
- value: opt.value,
1141
+ id: opt.value.toString(),
1119
1142
  name,
1120
- onChange: () => handleChange(opt)
1143
+ value: opt.value.toString(),
1144
+ className: "hawa-peer hawa-hidden",
1145
+ required: true,
1146
+ disabled: opt.disabled
1121
1147
  }
1122
- ),
1123
- /* @__PURE__ */ import_react11.default.createElement(
1148
+ ), /* @__PURE__ */ import_react11.default.createElement(
1124
1149
  "label",
1125
1150
  {
1126
1151
  htmlFor: opt.value.toString(),
1127
1152
  className: cn(
1128
- "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",
1129
- opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hawa-text-gray-900"
1153
+ "hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-background 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-foreground/5 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
1154
+ opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-foreground/10 hover:hawa-text-gray-600 dark:hover:hawa-bg-foreground/20 dark:hover:hawa-text-gray-300"
1130
1155
  )
1131
1156
  },
1132
- opt.label
1133
- )
1134
- ))));
1135
- case "cards":
1136
- return /* @__PURE__ */ import_react11.default.createElement("ul", { className: cn(orientationStyle[orientation], "hawa-gap-4") }, (_c = props.options) == null ? void 0 : _c.map((opt, o) => /* @__PURE__ */ import_react11.default.createElement("li", { key: o, onClick: () => handleChange(opt) }, /* @__PURE__ */ import_react11.default.createElement(
1137
- "input",
1138
- {
1139
- type: "radio",
1140
- id: opt.value.toString(),
1141
- name,
1142
- value: opt.value.toString(),
1143
- className: "hawa-peer hawa-hidden",
1144
- required: true,
1145
- disabled: opt.disabled
1146
- }
1147
- ), /* @__PURE__ */ import_react11.default.createElement(
1148
- "label",
1149
- {
1150
- htmlFor: opt.value.toString(),
1151
- className: cn(
1152
- "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",
1153
- 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"
1154
- )
1155
- },
1156
- /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
1157
- ))));
1158
- default:
1159
- return /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement(
1160
- "div",
1161
- {
1162
- className: cn(
1163
- "radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
1164
- props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
1165
- ),
1166
- key: i + 1
1167
- },
1168
- /* @__PURE__ */ import_react11.default.createElement(
1169
- "input",
1157
+ /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
1158
+ ))));
1159
+ default:
1160
+ return /* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label), /* @__PURE__ */ import_react11.default.createElement("div", { className: cn(orientationStyle[orientation], "hawa-gap-2") }, props.options && props.options.map((opt, i) => /* @__PURE__ */ import_react11.default.createElement(
1161
+ "div",
1170
1162
  {
1171
- disabled: opt.disabled,
1172
- id: opt.value.toString(),
1173
- type: "radio",
1174
- value: opt.value,
1175
- name,
1176
- onChange: () => handleChange(opt)
1177
- }
1178
- ),
1179
- /* @__PURE__ */ import_react11.default.createElement(
1180
- "label",
1163
+ className: cn(
1164
+ "radio-item radio-item-default hawa-flex hawa-items-center hawa-transition-all",
1165
+ props.direction === "rtl" ? "margin-left right-3px" : "margin-right left-3px"
1166
+ ),
1167
+ key: i + 1
1168
+ },
1169
+ /* @__PURE__ */ import_react11.default.createElement(
1170
+ "input",
1171
+ {
1172
+ disabled: opt.disabled,
1173
+ id: opt.value.toString(),
1174
+ type: "radio",
1175
+ value: opt.value,
1176
+ name,
1177
+ onChange: () => handleChange(opt)
1178
+ }
1179
+ ),
1180
+ /* @__PURE__ */ import_react11.default.createElement(
1181
+ "label",
1182
+ {
1183
+ htmlFor: opt.value.toString(),
1184
+ className: cn(
1185
+ "hawa-text-sm hawa-font-medium dark:hawa-text-white",
1186
+ opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
1187
+ )
1188
+ },
1189
+ opt.label
1190
+ )
1191
+ ))), /* @__PURE__ */ import_react11.default.createElement(
1192
+ "p",
1181
1193
  {
1182
- htmlFor: opt.value.toString(),
1183
1194
  className: cn(
1184
- "hawa-text-sm hawa-font-medium dark:hawa-text-white",
1185
- opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
1195
+ "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
1196
+ props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
1186
1197
  )
1187
1198
  },
1188
- opt.label
1189
- )
1190
- ))), /* @__PURE__ */ import_react11.default.createElement(
1191
- "p",
1192
- {
1193
- className: cn(
1194
- "hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
1195
- props.helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
1196
- )
1197
- },
1198
- props.helperText
1199
- ));
1199
+ props.helperText
1200
+ ));
1201
+ }
1200
1202
  }
1201
- };
1203
+ );
1202
1204
 
1203
1205
  // blocks/pricing/PricingPlans.tsx
1204
1206
  var PricingPlans = ({
@@ -6,7 +6,7 @@ import {
6
6
  import "../../chunk-47APBDKK.mjs";
7
7
  import {
8
8
  Radio
9
- } from "../../chunk-U42KD2OQ.mjs";
9
+ } from "../../chunk-R52CZJK3.mjs";
10
10
  import {
11
11
  CheckMark,
12
12
  UncheckMark