@next-degree/pickle-shared-js 0.7.52 → 0.9.2

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 (107) hide show
  1. package/dist/components/jobPost/JobDescription.cjs +2 -1
  2. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  3. package/dist/components/jobPost/JobDescription.js +2 -1
  4. package/dist/components/jobPost/JobDescription.js.map +1 -1
  5. package/dist/components/jobPost/JobPost.cjs +2 -1
  6. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  7. package/dist/components/jobPost/JobPost.d.cts +1 -1
  8. package/dist/components/jobPost/JobPost.d.ts +1 -1
  9. package/dist/components/jobPost/JobPost.js +2 -1
  10. package/dist/components/jobPost/JobPost.js.map +1 -1
  11. package/dist/components/primitives/command.d.cts +7 -7
  12. package/dist/components/primitives/command.d.ts +7 -7
  13. package/dist/components/primitives/input-otp.d.cts +2 -2
  14. package/dist/components/primitives/input-otp.d.ts +2 -2
  15. package/dist/components/primitives/radio-group.cjs +74 -0
  16. package/dist/components/primitives/radio-group.cjs.map +1 -0
  17. package/dist/components/primitives/radio-group.d.cts +9 -0
  18. package/dist/components/primitives/radio-group.d.ts +9 -0
  19. package/dist/components/primitives/radio-group.js +39 -0
  20. package/dist/components/primitives/radio-group.js.map +1 -0
  21. package/dist/components/ui/Button.cjs +2 -1
  22. package/dist/components/ui/Button.cjs.map +1 -1
  23. package/dist/components/ui/Button.d.cts +1 -1
  24. package/dist/components/ui/Button.d.ts +1 -1
  25. package/dist/components/ui/Button.js +2 -1
  26. package/dist/components/ui/Button.js.map +1 -1
  27. package/dist/components/ui/Checkbox.cjs +38 -13
  28. package/dist/components/ui/Checkbox.cjs.map +1 -1
  29. package/dist/components/ui/Checkbox.d.cts +2 -1
  30. package/dist/components/ui/Checkbox.d.ts +2 -1
  31. package/dist/components/ui/Checkbox.js +31 -11
  32. package/dist/components/ui/Checkbox.js.map +1 -1
  33. package/dist/components/ui/Combobox.cjs +62 -41
  34. package/dist/components/ui/Combobox.cjs.map +1 -1
  35. package/dist/components/ui/Combobox.js +53 -32
  36. package/dist/components/ui/Combobox.js.map +1 -1
  37. package/dist/components/ui/DatePicker.cjs +133 -149
  38. package/dist/components/ui/DatePicker.cjs.map +1 -1
  39. package/dist/components/ui/DatePicker.js +132 -148
  40. package/dist/components/ui/DatePicker.js.map +1 -1
  41. package/dist/components/ui/ListItem.cjs +40 -21
  42. package/dist/components/ui/ListItem.cjs.map +1 -1
  43. package/dist/components/ui/ListItem.js +36 -17
  44. package/dist/components/ui/ListItem.js.map +1 -1
  45. package/dist/components/ui/Radio.cjs +177 -0
  46. package/dist/components/ui/Radio.cjs.map +1 -0
  47. package/dist/components/ui/Radio.d.cts +27 -0
  48. package/dist/components/ui/Radio.d.ts +27 -0
  49. package/dist/components/ui/Radio.js +142 -0
  50. package/dist/components/ui/Radio.js.map +1 -0
  51. package/dist/components/ui/ReadMore.cjs +2 -1
  52. package/dist/components/ui/ReadMore.cjs.map +1 -1
  53. package/dist/components/ui/ReadMore.js +2 -1
  54. package/dist/components/ui/ReadMore.js.map +1 -1
  55. package/dist/components/ui/Select.cjs +48 -24
  56. package/dist/components/ui/Select.cjs.map +1 -1
  57. package/dist/components/ui/Select.js +49 -25
  58. package/dist/components/ui/Select.js.map +1 -1
  59. package/dist/components/ui/Switch.cjs +83 -0
  60. package/dist/components/ui/Switch.cjs.map +1 -0
  61. package/dist/components/ui/Switch.d.cts +10 -0
  62. package/dist/components/ui/Switch.d.ts +10 -0
  63. package/dist/components/ui/Switch.js +48 -0
  64. package/dist/components/ui/Switch.js.map +1 -0
  65. package/dist/components/ui/buttonShadcn.cjs +2 -9
  66. package/dist/components/ui/buttonShadcn.cjs.map +1 -1
  67. package/dist/components/ui/buttonShadcn.d.cts +2 -2
  68. package/dist/components/ui/buttonShadcn.d.ts +2 -2
  69. package/dist/components/ui/buttonShadcn.js +2 -9
  70. package/dist/components/ui/buttonShadcn.js.map +1 -1
  71. package/dist/components/ui/calendar.cjs +7 -17
  72. package/dist/components/ui/calendar.cjs.map +1 -1
  73. package/dist/components/ui/calendar.js +7 -17
  74. package/dist/components/ui/calendar.js.map +1 -1
  75. package/dist/{displayText-6TMMBOmQ.d.cts → displayText-ca_ofoAC.d.cts} +2 -2
  76. package/dist/{displayText-BCC_oy5I.d.ts → displayText-eoAHqSNz.d.ts} +2 -2
  77. package/dist/hooks/useDisplayText.d.cts +3 -3
  78. package/dist/hooks/useDisplayText.d.ts +3 -3
  79. package/dist/index.cjs +454 -327
  80. package/dist/index.cjs.map +1 -1
  81. package/dist/index.d.cts +12 -7
  82. package/dist/index.d.ts +12 -7
  83. package/dist/index.js +434 -309
  84. package/dist/index.js.map +1 -1
  85. package/dist/lib/locations.d.cts +2 -2
  86. package/dist/lib/locations.d.ts +2 -2
  87. package/dist/lib/mappings.d.cts +3 -3
  88. package/dist/lib/mappings.d.ts +3 -3
  89. package/dist/lib/salaryRange.d.cts +1 -1
  90. package/dist/lib/salaryRange.d.ts +1 -1
  91. package/dist/services/displayText.d.cts +3 -3
  92. package/dist/services/displayText.d.ts +3 -3
  93. package/dist/styles/globals.css +78 -0
  94. package/dist/styles/globals.css.map +1 -1
  95. package/dist/types/data/company_service_latest.d.cts +1 -1
  96. package/dist/types/data/company_service_latest.d.ts +1 -1
  97. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  98. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  99. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  100. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  101. package/package.json +7 -10
  102. package/dist/{company_service_latest-BUKbZgpZ.d.cts → company_service_latest-CRQFzMep.d.cts} +366 -366
  103. package/dist/{company_service_latest-BUKbZgpZ.d.ts → company_service_latest-CRQFzMep.d.ts} +366 -366
  104. package/dist/{job_posting_service_latest-2KcpupDl.d.cts → job_posting_service_latest-BOVbz68F.d.cts} +324 -324
  105. package/dist/{job_posting_service_latest-2KcpupDl.d.ts → job_posting_service_latest-BOVbz68F.d.ts} +324 -324
  106. package/dist/{shared_pickle_output_latest-D2n-PRlx.d.cts → shared_pickle_output_latest-DKOmTyYk.d.cts} +20 -20
  107. package/dist/{shared_pickle_output_latest-D2n-PRlx.d.ts → shared_pickle_output_latest-DKOmTyYk.d.ts} +20 -20
package/dist/index.js CHANGED
@@ -4,78 +4,11 @@ var __export = (target, all) => {
4
4
  __defProp(target, name, { get: all[name], enumerable: true });
5
5
  };
6
6
 
7
- // src/components/ui/Checkbox.tsx
8
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
9
- import { Check, Minus } from "lucide-react";
10
- import {
11
- forwardRef
12
- } from "react";
13
-
14
- // src/lib/utils.ts
15
- import { clsx } from "clsx";
16
- import { twMerge } from "tailwind-merge";
17
- function cn(...inputs) {
18
- return twMerge(clsx(inputs));
19
- }
20
-
21
- // src/components/ui/Checkbox.tsx
22
- import { jsx, jsxs } from "react/jsx-runtime";
23
- var CheckboxToggle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
24
- CheckboxPrimitive.Root,
25
- {
26
- ref,
27
- className: cn(
28
- "group",
29
- "peer",
30
- "h-5",
31
- "w-5",
32
- "shrink-0",
33
- "rounded-md",
34
- "border",
35
- "border-grey-10",
36
- "outline",
37
- "outline-1",
38
- "outline-offset-2",
39
- "outline-transparent",
40
- "hover:border-grey-20",
41
- "focus:outline-purple-100",
42
- "active:border-green-80",
43
- "disabled:cursor-not-allowed",
44
- "disabled:opacity-50",
45
- "data-[state=checked]:bg-green-80",
46
- "data-[state=indeterminate]:bg-green-80",
47
- "data-[state=checked]:text-white",
48
- "data-[state=indeterminate]:text-primary-foreground",
49
- props.disabled && "data-[state=checked]:text-foreground bg-grey-20 data-[state=checked]:bg-grey-20",
50
- className
51
- ),
52
- ...props,
53
- children: /* @__PURE__ */ jsxs(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: [
54
- /* @__PURE__ */ jsx(Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }),
55
- /* @__PURE__ */ jsx(Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" })
56
- ] })
57
- }
58
- ));
59
- CheckboxToggle.displayName = CheckboxPrimitive.Root.displayName;
60
- var Checkbox = forwardRef(
61
- ({ classNames, children, ...props }, ref) => {
62
- const { disabled } = props;
63
- const id = props.id ?? `${props.name ?? props.value?.toString()}-checkbox`;
64
- const labelClassName = disabled ? "text-grey-40 pointer-events-none" : "";
65
- return /* @__PURE__ */ jsxs("div", { className: cn("flex space-x-2", classNames?.wrapper), children: [
66
- /* @__PURE__ */ jsx(CheckboxToggle, { id, disabled, ref, ...props }),
67
- /* @__PURE__ */ jsx("label", { htmlFor: id, className: cn(labelClassName, classNames?.label), children })
68
- ] });
69
- }
70
- );
71
- Checkbox.displayName = "Checkbox";
72
- var Checkbox_default = Checkbox;
73
-
74
7
  // src/components/ui/Chip.tsx
75
8
  import { cva } from "cva";
76
- import { twMerge as twMerge2 } from "tailwind-merge";
77
- import { jsx as jsx2 } from "react/jsx-runtime";
78
- var Chip = ({ className, variant, size, ...props }) => /* @__PURE__ */ jsx2("div", { className: twMerge2(chipVariants({ variant, size, className })), ...props });
9
+ import { twMerge } from "tailwind-merge";
10
+ import { jsx } from "react/jsx-runtime";
11
+ var Chip = ({ className, variant, size, ...props }) => /* @__PURE__ */ jsx("div", { className: twMerge(chipVariants({ variant, size, className })), ...props });
79
12
  var chipVariants = cva(["flex", "items-center", "rounded-3xl", "border", "w-fit"], {
80
13
  variants: {
81
14
  variant: {
@@ -100,13 +33,20 @@ var Chip_default = Chip;
100
33
  // src/components/ui/Input.tsx
101
34
  import { cva as cva2 } from "cva";
102
35
  import { icons, X } from "lucide-react";
103
- import { forwardRef as forwardRef3 } from "react";
36
+ import { forwardRef as forwardRef2 } from "react";
37
+
38
+ // src/lib/utils.ts
39
+ import { clsx } from "clsx";
40
+ import { twMerge as twMerge2 } from "tailwind-merge";
41
+ function cn(...inputs) {
42
+ return twMerge2(clsx(inputs));
43
+ }
104
44
 
105
45
  // src/components/ui/ErrorMessage.tsx
106
- import { jsx as jsx3 } from "react/jsx-runtime";
46
+ import { jsx as jsx2 } from "react/jsx-runtime";
107
47
  function ErrorMessage({ message, className, ...props }) {
108
48
  if (!message) return null;
109
- return /* @__PURE__ */ jsx3("p", { className: cn("px-1 text-xs text-red-600", className), ...props, children: message });
49
+ return /* @__PURE__ */ jsx2("p", { className: cn("px-1 text-xs text-red-600", className), ...props, children: message });
110
50
  }
111
51
  var ErrorMessage_default = ErrorMessage;
112
52
 
@@ -116,11 +56,11 @@ import { InfoIcon } from "lucide-react";
116
56
  // src/components/primitives/tooltip.tsx
117
57
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
118
58
  import * as React from "react";
119
- import { jsx as jsx4 } from "react/jsx-runtime";
59
+ import { jsx as jsx3 } from "react/jsx-runtime";
120
60
  var TooltipProvider = TooltipPrimitive.Provider;
121
61
  var Tooltip = TooltipPrimitive.Root;
122
62
  var TooltipTrigger = TooltipPrimitive.Trigger;
123
- var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx4(
63
+ var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx3(
124
64
  TooltipPrimitive.Content,
125
65
  {
126
66
  ref,
@@ -135,11 +75,11 @@ var TooltipContent = React.forwardRef(({ className, sideOffset = 4, ...props },
135
75
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
136
76
 
137
77
  // src/components/ui/Label.tsx
138
- import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
78
+ import { jsx as jsx4, jsxs } from "react/jsx-runtime";
139
79
  function Label({ text, required, description, className, ...props }) {
140
80
  if (!text) return null;
141
- return /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-row gap-1", children: [
142
- /* @__PURE__ */ jsxs2(
81
+ return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-row gap-1", children: [
82
+ /* @__PURE__ */ jsxs(
143
83
  "label",
144
84
  {
145
85
  className: cn(
@@ -149,21 +89,21 @@ function Label({ text, required, description, className, ...props }) {
149
89
  ...props,
150
90
  children: [
151
91
  text,
152
- required && /* @__PURE__ */ jsx5("span", { className: "text-red-600", children: "\xA0*" })
92
+ required && /* @__PURE__ */ jsx4("span", { className: "text-red-600", children: "\xA0*" })
153
93
  ]
154
94
  }
155
95
  ),
156
- !!description && /* @__PURE__ */ jsx5(TooltipProvider, { children: /* @__PURE__ */ jsxs2(Tooltip, { children: [
157
- /* @__PURE__ */ jsx5(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx5(InfoIcon, { className: "h-4 w-4" }) }),
158
- /* @__PURE__ */ jsx5(TooltipContent, { className: "max-w-48", children: description })
96
+ !!description && /* @__PURE__ */ jsx4(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { children: [
97
+ /* @__PURE__ */ jsx4(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx4(InfoIcon, { className: "h-4 w-4" }) }),
98
+ /* @__PURE__ */ jsx4(TooltipContent, { className: "max-w-48", children: description })
159
99
  ] }) })
160
100
  ] });
161
101
  }
162
102
  var Label_default = Label;
163
103
 
164
104
  // src/components/ui/Input.tsx
165
- import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
166
- var Input = forwardRef3(
105
+ import { jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
106
+ var Input = forwardRef2(
167
107
  ({ label, error, description, theme, icon, onClear, value, onChange, classNames, ...props }, ref) => {
168
108
  const handleClear = () => {
169
109
  onChange?.({ target: { value: "" } });
@@ -173,8 +113,8 @@ var Input = forwardRef3(
173
113
  const placeholder = props.placeholder ?? (icon === "Search" ? "Search..." : "");
174
114
  const hasIcon = !!icon;
175
115
  const iconColor = theme === "dark" ? "text-white" : "text-grey-80";
176
- return /* @__PURE__ */ jsxs3("div", { className: "group flex w-full flex-col gap-1", "data-testid": `input-wrapper-${props.id}`, children: [
177
- label && /* @__PURE__ */ jsx6(
116
+ return /* @__PURE__ */ jsxs2("div", { className: "group flex w-full flex-col gap-1", "data-testid": `input-wrapper-${props.id}`, children: [
117
+ label && /* @__PURE__ */ jsx5(
178
118
  Label_default,
179
119
  {
180
120
  text: label,
@@ -184,14 +124,14 @@ var Input = forwardRef3(
184
124
  className: classNames?.label
185
125
  }
186
126
  ),
187
- /* @__PURE__ */ jsxs3("div", { className: "relative flex flex-row items-center", children: [
188
- IconComponent && /* @__PURE__ */ jsx6(
127
+ /* @__PURE__ */ jsxs2("div", { className: "relative flex flex-row items-center", children: [
128
+ IconComponent && /* @__PURE__ */ jsx5(
189
129
  IconComponent,
190
130
  {
191
131
  className: `absolute left-3 h-4 w-4 ${iconColor} opacity-50 group-hover:opacity-100`
192
132
  }
193
133
  ),
194
- /* @__PURE__ */ jsx6(
134
+ /* @__PURE__ */ jsx5(
195
135
  "input",
196
136
  {
197
137
  className: cn(inputVariants({ theme, hasIcon })),
@@ -203,7 +143,7 @@ var Input = forwardRef3(
203
143
  ...props
204
144
  }
205
145
  ),
206
- hasIcon && value && /* @__PURE__ */ jsx6(
146
+ hasIcon && value && /* @__PURE__ */ jsx5(
207
147
  X,
208
148
  {
209
149
  className: `absolute right-3 h-4 w-4 cursor-pointer ${iconColor}`,
@@ -212,7 +152,7 @@ var Input = forwardRef3(
212
152
  }
213
153
  )
214
154
  ] }),
215
- /* @__PURE__ */ jsx6(ErrorMessage_default, { message: error })
155
+ /* @__PURE__ */ jsx5(ErrorMessage_default, { message: error })
216
156
  ] });
217
157
  }
218
158
  );
@@ -270,6 +210,77 @@ var Input_default = Input;
270
210
  // src/components/ui/ListItem.tsx
271
211
  import { CheckIcon } from "lucide-react";
272
212
  import { icons as icons2 } from "lucide-react";
213
+
214
+ // src/components/ui/Checkbox.tsx
215
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
216
+ import { Check, Minus } from "lucide-react";
217
+ import {
218
+ forwardRef as forwardRef3
219
+ } from "react";
220
+ import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
221
+ var CheckboxToggle = forwardRef3(({ className, ...props }, ref) => /* @__PURE__ */ jsx6(
222
+ CheckboxPrimitive.Root,
223
+ {
224
+ ref,
225
+ className: cn(
226
+ "group",
227
+ "peer",
228
+ "h-5",
229
+ "w-5",
230
+ "shrink-0",
231
+ "rounded-md",
232
+ "border",
233
+ "border-grey-10",
234
+ "outline",
235
+ "outline-1",
236
+ "outline-offset-2",
237
+ "outline-transparent",
238
+ "hover:border-grey-20",
239
+ "focus:outline-purple-100",
240
+ "active:border-green-80",
241
+ "disabled:cursor-not-allowed",
242
+ "disabled:opacity-50",
243
+ "data-[state=checked]:bg-green-80",
244
+ "data-[state=indeterminate]:bg-green-80",
245
+ "data-[state=checked]:text-white",
246
+ "data-[state=indeterminate]:text-primary-foreground",
247
+ props.disabled && "data-[state=checked]:text-foreground bg-grey-20 data-[state=checked]:bg-grey-20",
248
+ className
249
+ ),
250
+ ...props,
251
+ children: /* @__PURE__ */ jsxs3(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: [
252
+ /* @__PURE__ */ jsx6(Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }),
253
+ /* @__PURE__ */ jsx6(Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" })
254
+ ] })
255
+ }
256
+ ));
257
+ CheckboxToggle.displayName = CheckboxPrimitive.Root.displayName;
258
+ var Checkbox = forwardRef3(
259
+ ({ error, classNames, children, ...props }, ref) => {
260
+ const id = props.id ?? `${props.name ?? props.value?.toString()}-checkbox`;
261
+ return /* @__PURE__ */ jsxs3("div", { className: cn("flex space-x-2", classNames?.wrapper), children: [
262
+ /* @__PURE__ */ jsx6(CheckboxToggle, { id, ref, ...props }),
263
+ /* @__PURE__ */ jsxs3(
264
+ "label",
265
+ {
266
+ htmlFor: id,
267
+ className: cn(
268
+ "text-sm",
269
+ props.disabled && "pointer-events-none text-grey-40",
270
+ classNames?.label
271
+ ),
272
+ children: [
273
+ children,
274
+ /* @__PURE__ */ jsx6(ErrorMessage_default, { message: error, className: "mt-1" })
275
+ ]
276
+ }
277
+ )
278
+ ] });
279
+ }
280
+ );
281
+ Checkbox.displayName = "Checkbox";
282
+
283
+ // src/components/ui/ListItem.tsx
273
284
  import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
274
285
  function ListItem({
275
286
  icon,
@@ -300,7 +311,7 @@ function ListItem({
300
311
  "data-state": isSelected ? "checked" : "unchecked",
301
312
  children: [
302
313
  optionIcon && /* @__PURE__ */ jsx7("span", { className: "mr-2", children: optionIcon }),
303
- hasCheckbox && /* @__PURE__ */ jsx7(Checkbox_default, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
314
+ hasCheckbox && /* @__PURE__ */ jsx7(Checkbox, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
304
315
  /* @__PURE__ */ jsxs4("div", { children: [
305
316
  /* @__PURE__ */ jsx7("p", { children: title }),
306
317
  /* @__PURE__ */ jsx7("p", { className: "text-xs text-grey-80", children: description })
@@ -697,9 +708,20 @@ var Separator = React4.forwardRef(({ className, orientation = "horizontal", deco
697
708
  Separator.displayName = SeparatorPrimitive.Root.displayName;
698
709
 
699
710
  // src/components/ui/Select.tsx
700
- import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
711
+ import { Fragment, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
701
712
  var Select = forwardRef7(
702
- ({ label, options, placeholder, multiselect, description, classNames, error, id, ...props }, ref) => {
713
+ ({
714
+ label,
715
+ options,
716
+ placeholder,
717
+ multiselect,
718
+ description,
719
+ classNames,
720
+ error,
721
+ id,
722
+ children: footer,
723
+ ...props
724
+ }, ref) => {
703
725
  const { value, defaultValue, dir, className, onChange, ...rest } = props;
704
726
  const [selected, setSelected] = useState2([]);
705
727
  const [open, setOpen] = useState2(false);
@@ -788,28 +810,30 @@ var Select = forwardRef7(
788
810
  onPointerDownOutside: toggleOpen,
789
811
  onKeyDown: closeOnEscape,
790
812
  children: /* @__PURE__ */ jsxs8(SelectPrimitive.Viewport, { children: [
791
- multiselect && !!chipLabels?.length && /* @__PURE__ */ jsx13(
792
- SelectPrimitive.Group,
793
- {
794
- className: "mb-2 flex flex-row flex-wrap gap-1 px-2",
795
- "data-testid": "selected-labels",
796
- children: chipLabels?.map(
797
- (chip) => chip && /* @__PURE__ */ jsxs8(Chip_default, { size: "small", variant: "primary", children: [
798
- /* @__PURE__ */ jsx13("span", { children: chip.title }),
799
- /* @__PURE__ */ jsx13(
800
- X3,
801
- {
802
- size: 18,
803
- "data-testid": `chip-remove-${chip.value}`,
804
- className: "cursor-pointer",
805
- onClick: () => handleChange(chip.value)
806
- }
807
- )
808
- ] }, chip.title)
809
- )
810
- }
811
- ),
812
- /* @__PURE__ */ jsx13(Separator, {}),
813
+ multiselect && !!chipLabels?.length && /* @__PURE__ */ jsxs8(Fragment, { children: [
814
+ /* @__PURE__ */ jsx13(
815
+ SelectPrimitive.Group,
816
+ {
817
+ className: "mb-2 flex flex-row flex-wrap gap-1 px-2",
818
+ "data-testid": "selected-labels",
819
+ children: chipLabels?.map(
820
+ (chip) => chip && /* @__PURE__ */ jsxs8(Chip_default, { size: "small", variant: "primary", children: [
821
+ /* @__PURE__ */ jsx13("span", { children: chip.title }),
822
+ /* @__PURE__ */ jsx13(
823
+ X3,
824
+ {
825
+ size: 18,
826
+ "data-testid": `chip-remove-${chip.value}`,
827
+ className: "cursor-pointer",
828
+ onClick: () => handleChange(chip.value)
829
+ }
830
+ )
831
+ ] }, chip.title)
832
+ )
833
+ }
834
+ ),
835
+ /* @__PURE__ */ jsx13(Separator, {})
836
+ ] }),
813
837
  options?.map(({ id: id2, title, value: value2 }) => /* @__PURE__ */ jsxs8(
814
838
  SelectPrimitive.Item,
815
839
  {
@@ -830,7 +854,18 @@ var Select = forwardRef7(
830
854
  ]
831
855
  },
832
856
  id2
833
- ))
857
+ )),
858
+ !!footer && /* @__PURE__ */ jsxs8(Fragment, { children: [
859
+ /* @__PURE__ */ jsx13(Separator, {}),
860
+ /* @__PURE__ */ jsx13(
861
+ SelectPrimitive.Group,
862
+ {
863
+ className: "mt-2 flex flex-row flex-wrap gap-1 px-2",
864
+ "data-testid": "selected-labels",
865
+ children: footer
866
+ }
867
+ )
868
+ ] })
834
869
  ] })
835
870
  }
836
871
  ) })
@@ -939,12 +974,13 @@ import { cva as cva5 } from "cva";
939
974
  import { forwardRef as forwardRef9 } from "react";
940
975
  import { jsx as jsx17 } from "react/jsx-runtime";
941
976
  var Button = forwardRef9(
942
- ({ className, variant, size, asChild = false, ...props }, ref) => {
977
+ ({ className, variant, size, asChild = false, type = "button", ...props }, ref) => {
943
978
  const Component = asChild ? Slot : "button";
944
979
  return /* @__PURE__ */ jsx17(
945
980
  Component,
946
981
  {
947
982
  className: cn(buttonVariants({ variant, size, className })),
983
+ type,
948
984
  ref,
949
985
  ...props
950
986
  }
@@ -1262,12 +1298,111 @@ var triggerVariants = cva6(
1262
1298
  }
1263
1299
  );
1264
1300
 
1301
+ // src/components/ui/Switch.tsx
1302
+ import * as SwitchPrimitive from "@radix-ui/react-switch";
1303
+ import { forwardRef as forwardRef12 } from "react";
1304
+ import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1305
+ var Switch = forwardRef12(
1306
+ ({ label, error, className, ...props }, ref) => {
1307
+ return /* @__PURE__ */ jsxs11("div", { className: cn("flex items-center", props.disabled && "opacity-50"), children: [
1308
+ /* @__PURE__ */ jsx20(
1309
+ SwitchPrimitive.Root,
1310
+ {
1311
+ className: cn(
1312
+ "relative h-[25px] w-[42px] cursor-default rounded-full bg-grey-20 shadow-md outline-none focus:outline-purple-100 data-[state=checked]:bg-green-90",
1313
+ className
1314
+ ),
1315
+ ref,
1316
+ ...props,
1317
+ children: /* @__PURE__ */ jsx20(SwitchPrimitive.Thumb, { className: "block h-[21px] w-[21px] translate-x-0.5 rounded-full bg-white shadow-[0_2px_2px] transition-transform duration-100 will-change-transform data-[state=checked]:translate-x-[19px]" })
1318
+ }
1319
+ ),
1320
+ label && /* @__PURE__ */ jsxs11("label", { className: "pl-4 text-sm leading-none text-inherit", htmlFor: props.name, children: [
1321
+ label,
1322
+ /* @__PURE__ */ jsx20(ErrorMessage_default, { message: error, className: "mt-1" })
1323
+ ] })
1324
+ ] });
1325
+ }
1326
+ );
1327
+ Switch.displayName = "Switch";
1328
+
1329
+ // src/components/ui/Radio.tsx
1330
+ import { forwardRef as forwardRef14 } from "react";
1331
+
1332
+ // src/components/primitives/radio-group.tsx
1333
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
1334
+ import { forwardRef as forwardRef13 } from "react";
1335
+ import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
1336
+ var RadioGroup = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(RadioGroupPrimitive.Root, { className, ...props, ref }));
1337
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
1338
+ var RadioGroupItem = forwardRef13(({ className, children, ...props }, ref) => {
1339
+ return /* @__PURE__ */ jsxs12("div", { className: "group flex flex-row items-center gap-2", children: [
1340
+ /* @__PURE__ */ jsx21(
1341
+ RadioGroupPrimitive.Item,
1342
+ {
1343
+ ref,
1344
+ className: cn(
1345
+ "focus-visible:ring-ring peer aspect-square h-4 rounded-full border border-grey-10 shadow outline outline-1 outline-offset-2 outline-transparent focus:outline-none focus:outline-purple-100 focus-visible:ring-1 active:border-green-80 disabled:cursor-not-allowed disabled:opacity-50 group-hover:border-grey-20 data-[state=checked]:border-4 data-[disabled]:border-grey-20 data-[state=checked]:border-green-90 data-[disabled]:bg-grey-10 data-[state=checked]:group-hover:border-green-80",
1346
+ className
1347
+ ),
1348
+ ...props
1349
+ }
1350
+ ),
1351
+ /* @__PURE__ */ jsx21("label", { htmlFor: props.id, className: "text-sm peer-data-[disabled]:text-grey-40", children })
1352
+ ] });
1353
+ });
1354
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
1355
+
1356
+ // src/components/ui/Radio.tsx
1357
+ import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
1358
+ var Radio = forwardRef14(
1359
+ ({
1360
+ label,
1361
+ error,
1362
+ description,
1363
+ options,
1364
+ classNames,
1365
+ onChange: handleValueChange,
1366
+ orientation,
1367
+ ...props
1368
+ }, ref) => {
1369
+ return /* @__PURE__ */ jsxs13("div", { className: cn("flex flex-col gap-1", classNames?.root), children: [
1370
+ /* @__PURE__ */ jsx22(Label_default, { text: label, description, required: props.required }),
1371
+ /* @__PURE__ */ jsx22(
1372
+ RadioGroup,
1373
+ {
1374
+ ref,
1375
+ className: cn(
1376
+ "flex text-sm",
1377
+ orientation === "vertical" ? "flex-col gap-2" : "flex-row gap-4",
1378
+ classNames?.group
1379
+ ),
1380
+ onValueChange: handleValueChange,
1381
+ ...props,
1382
+ children: options?.map(({ id, title, value }) => /* @__PURE__ */ jsx22(
1383
+ RadioGroupItem,
1384
+ {
1385
+ value,
1386
+ id: `radio-group-item-${title}`,
1387
+ className: classNames?.item,
1388
+ children: title
1389
+ },
1390
+ id
1391
+ ))
1392
+ }
1393
+ ),
1394
+ /* @__PURE__ */ jsx22(ErrorMessage_default, { message: error })
1395
+ ] });
1396
+ }
1397
+ );
1398
+ Radio.displayName = "Radio";
1399
+
1265
1400
  // src/components/ui/Counter.tsx
1266
1401
  import { cva as cva7 } from "cva";
1267
1402
  import { Minus as Minus2, Plus } from "lucide-react";
1268
- import { forwardRef as forwardRef12, useEffect as useEffect4, useState as useState4 } from "react";
1269
- import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1270
- var Counter = forwardRef12(
1403
+ import { forwardRef as forwardRef15, useEffect as useEffect4, useState as useState4 } from "react";
1404
+ import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
1405
+ var Counter = forwardRef15(
1271
1406
  ({ label, error, min, max, step = 1, description, theme, value, classNames, onChange, ...props }, ref) => {
1272
1407
  const [count, setCount] = useState4(0);
1273
1408
  useEffect4(() => {
@@ -1301,13 +1436,13 @@ var Counter = forwardRef12(
1301
1436
  onChange?.(newValue);
1302
1437
  setCount(newValue);
1303
1438
  };
1304
- return /* @__PURE__ */ jsxs11(
1439
+ return /* @__PURE__ */ jsxs14(
1305
1440
  "div",
1306
1441
  {
1307
1442
  className: cn("flex w-auto flex-col gap-1", classNames?.root),
1308
1443
  "data-testid": `counter-wrapper-${props.id}`,
1309
1444
  children: [
1310
- label && /* @__PURE__ */ jsx20(
1445
+ label && /* @__PURE__ */ jsx23(
1311
1446
  Label_default,
1312
1447
  {
1313
1448
  text: label,
@@ -1317,17 +1452,17 @@ var Counter = forwardRef12(
1317
1452
  className: classNames?.label
1318
1453
  }
1319
1454
  ),
1320
- /* @__PURE__ */ jsxs11("div", { className: "relative flex w-[122px] flex-row items-center", children: [
1321
- /* @__PURE__ */ jsx20(
1455
+ /* @__PURE__ */ jsxs14("div", { className: "relative flex w-[122px] flex-row items-center", children: [
1456
+ /* @__PURE__ */ jsx23(
1322
1457
  "button",
1323
1458
  {
1324
1459
  type: "button",
1325
1460
  className: "absolute inset-y-0 left-1 my-auto flex h-8 w-8 cursor-pointer items-center justify-center rounded-full hover:bg-pickle-20",
1326
1461
  onClick: decrement,
1327
- children: /* @__PURE__ */ jsx20(Minus2, { className: "h-4 w-4 text-green-100" })
1462
+ children: /* @__PURE__ */ jsx23(Minus2, { className: "h-4 w-4 text-green-100" })
1328
1463
  }
1329
1464
  ),
1330
- /* @__PURE__ */ jsx20(
1465
+ /* @__PURE__ */ jsx23(
1331
1466
  "input",
1332
1467
  {
1333
1468
  className: cn(counterVariants({ theme }), classNames?.input),
@@ -1338,17 +1473,17 @@ var Counter = forwardRef12(
1338
1473
  ...props
1339
1474
  }
1340
1475
  ),
1341
- /* @__PURE__ */ jsx20(
1476
+ /* @__PURE__ */ jsx23(
1342
1477
  "button",
1343
1478
  {
1344
1479
  type: "button",
1345
1480
  className: "absolute inset-y-0 right-1 my-auto flex h-8 w-8 cursor-pointer items-center justify-center rounded-full hover:bg-pickle-20",
1346
1481
  onClick: increment,
1347
- children: /* @__PURE__ */ jsx20(Plus, { className: "h-4 w-4 text-green-100" })
1482
+ children: /* @__PURE__ */ jsx23(Plus, { className: "h-4 w-4 text-green-100" })
1348
1483
  }
1349
1484
  )
1350
1485
  ] }),
1351
- /* @__PURE__ */ jsx20(ErrorMessage_default, { message: error })
1486
+ /* @__PURE__ */ jsx23(ErrorMessage_default, { message: error })
1352
1487
  ]
1353
1488
  }
1354
1489
  );
@@ -1408,13 +1543,13 @@ var counterVariants = cva7(
1408
1543
  // src/components/ui/Icon.tsx
1409
1544
  import { Slot as Slot2 } from "@radix-ui/react-slot";
1410
1545
  import { cva as cva8 } from "cva";
1411
- import { forwardRef as forwardRef13 } from "react";
1546
+ import { forwardRef as forwardRef16 } from "react";
1412
1547
  import { twMerge as twMerge3 } from "tailwind-merge";
1413
- import { jsx as jsx21 } from "react/jsx-runtime";
1414
- var Icon = forwardRef13(
1548
+ import { jsx as jsx24 } from "react/jsx-runtime";
1549
+ var Icon = forwardRef16(
1415
1550
  ({ variant, size, active = false, readonly = false, className, ...props }, ref) => {
1416
1551
  const Component = readonly ? Slot2 : "button";
1417
- return /* @__PURE__ */ jsx21(
1552
+ return /* @__PURE__ */ jsx24(
1418
1553
  Component,
1419
1554
  {
1420
1555
  className: cn(
@@ -1483,14 +1618,14 @@ var iconVariants = cva8(
1483
1618
  );
1484
1619
 
1485
1620
  // src/components/ui/InputOtp.tsx
1486
- import { forwardRef as forwardRef15 } from "react";
1621
+ import { forwardRef as forwardRef18 } from "react";
1487
1622
 
1488
1623
  // src/components/primitives/input-otp.tsx
1489
1624
  import { OTPInput, OTPInputContext } from "input-otp";
1490
1625
  import { Dot } from "lucide-react";
1491
1626
  import * as React8 from "react";
1492
- import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
1493
- var InputOTP = React8.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx22(
1627
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
1628
+ var InputOTP = React8.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx25(
1494
1629
  OTPInput,
1495
1630
  {
1496
1631
  ref,
@@ -1503,12 +1638,12 @@ var InputOTP = React8.forwardRef(({ className, containerClassName, ...props }, r
1503
1638
  }
1504
1639
  ));
1505
1640
  InputOTP.displayName = "InputOTP";
1506
- var InputOTPGroup = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22("div", { ref, className: cn("flex items-center", className), ...props }));
1641
+ var InputOTPGroup = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, className: cn("flex items-center", className), ...props }));
1507
1642
  InputOTPGroup.displayName = "InputOTPGroup";
1508
1643
  var InputOTPSlot = React8.forwardRef(({ index, error, className, ...props }, ref) => {
1509
1644
  const inputOTPContext = React8.useContext(OTPInputContext);
1510
1645
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
1511
- return /* @__PURE__ */ jsxs12(
1646
+ return /* @__PURE__ */ jsxs15(
1512
1647
  "div",
1513
1648
  {
1514
1649
  ref,
@@ -1521,26 +1656,26 @@ var InputOTPSlot = React8.forwardRef(({ index, error, className, ...props }, ref
1521
1656
  ...props,
1522
1657
  children: [
1523
1658
  char,
1524
- hasFakeCaret && /* @__PURE__ */ jsx22("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx22("div", { className: "h-4 w-px animate-caret-blink bg-neutral-950 duration-1000 dark:bg-neutral-50" }) })
1659
+ hasFakeCaret && /* @__PURE__ */ jsx25("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx25("div", { className: "h-4 w-px animate-caret-blink bg-neutral-950 duration-1000 dark:bg-neutral-50" }) })
1525
1660
  ]
1526
1661
  }
1527
1662
  );
1528
1663
  });
1529
1664
  InputOTPSlot.displayName = "InputOTPSlot";
1530
- var InputOTPSeparator = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx22("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx22(Dot, {}) }));
1665
+ var InputOTPSeparator = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx25(Dot, {}) }));
1531
1666
  InputOTPSeparator.displayName = "InputOTPSeparator";
1532
1667
 
1533
1668
  // src/components/ui/InputOtp.tsx
1534
- import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
1535
- var InputOtp = forwardRef15(
1669
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
1670
+ var InputOtp = forwardRef18(
1536
1671
  ({ digits, label, description, error, ...props }, ref) => {
1537
- return /* @__PURE__ */ jsxs13(
1672
+ return /* @__PURE__ */ jsxs16(
1538
1673
  "div",
1539
1674
  {
1540
1675
  className: "group flex w-full flex-col gap-1",
1541
1676
  "data-testid": `input-otp-wrapper-${props.id}`,
1542
1677
  children: [
1543
- label && /* @__PURE__ */ jsx23(
1678
+ label && /* @__PURE__ */ jsx26(
1544
1679
  Label_default,
1545
1680
  {
1546
1681
  text: label,
@@ -1549,17 +1684,17 @@ var InputOtp = forwardRef15(
1549
1684
  description
1550
1685
  }
1551
1686
  ),
1552
- /* @__PURE__ */ jsx23("div", { className: "relative flex flex-row items-center", children: /* @__PURE__ */ jsx23(
1687
+ /* @__PURE__ */ jsx26("div", { className: "relative flex flex-row items-center", children: /* @__PURE__ */ jsx26(
1553
1688
  InputOTP,
1554
1689
  {
1555
1690
  ref,
1556
1691
  maxLength: digits,
1557
1692
  "data-testid": `input-otp-element-${props.id}`,
1558
1693
  ...props,
1559
- children: [...Array(digits)].map((_, index) => /* @__PURE__ */ jsx23(InputOTPGroup, { children: /* @__PURE__ */ jsx23(InputOTPSlot, { index, error: Boolean(error) }) }, index))
1694
+ children: [...Array(digits)].map((_, index) => /* @__PURE__ */ jsx26(InputOTPGroup, { children: /* @__PURE__ */ jsx26(InputOTPSlot, { index, error: Boolean(error) }) }, index))
1560
1695
  }
1561
1696
  ) }),
1562
- /* @__PURE__ */ jsx23(ErrorMessage_default, { message: error })
1697
+ /* @__PURE__ */ jsx26(ErrorMessage_default, { message: error })
1563
1698
  ]
1564
1699
  }
1565
1700
  );
@@ -1569,7 +1704,7 @@ InputOtp.displayName = "Input";
1569
1704
 
1570
1705
  // src/components/ui/LinkButton.tsx
1571
1706
  import Link2 from "next/link";
1572
- import { jsx as jsx24 } from "react/jsx-runtime";
1707
+ import { jsx as jsx27 } from "react/jsx-runtime";
1573
1708
  var LinkButton = ({
1574
1709
  disabled = false,
1575
1710
  useAnchor = false,
@@ -1578,7 +1713,7 @@ var LinkButton = ({
1578
1713
  ...props
1579
1714
  }) => {
1580
1715
  const Component = useAnchor ? "a" : Link2;
1581
- return /* @__PURE__ */ jsx24(
1716
+ return /* @__PURE__ */ jsx27(
1582
1717
  Component,
1583
1718
  {
1584
1719
  href,
@@ -1593,7 +1728,7 @@ var LinkButton = ({
1593
1728
  // src/components/ui/ReadMore.tsx
1594
1729
  import { useEffect as useEffect5, useState as useState5 } from "react";
1595
1730
  import Markdown from "react-markdown";
1596
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1731
+ import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
1597
1732
  function ReadMore({ text, ...props }) {
1598
1733
  const [isExpanded, setIsExpanded] = useState5(false);
1599
1734
  const [maxWords, setMaxWords] = useState5(160);
@@ -1618,16 +1753,16 @@ function ReadMore({ text, ...props }) {
1618
1753
  }
1619
1754
  const toggleText = () => setIsExpanded(!isExpanded);
1620
1755
  const snippet = createReadMoreText(text, maxWords, isExpanded);
1621
- return /* @__PURE__ */ jsxs14("div", { ...props, children: [
1622
- /* @__PURE__ */ jsx25("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ jsx25(Markdown, { children: snippet }) }),
1623
- /* @__PURE__ */ jsx25(
1756
+ return /* @__PURE__ */ jsxs17("div", { ...props, children: [
1757
+ /* @__PURE__ */ jsx28("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ jsx28(Markdown, { children: snippet }) }),
1758
+ /* @__PURE__ */ jsx28(
1624
1759
  Button,
1625
1760
  {
1626
1761
  type: "button",
1627
1762
  className: "mt-2 flex items-center justify-center",
1628
1763
  variant: "link",
1629
1764
  onClick: toggleText,
1630
- children: /* @__PURE__ */ jsxs14("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1765
+ children: /* @__PURE__ */ jsxs17("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1631
1766
  "Read ",
1632
1767
  isExpanded ? "less" : "more"
1633
1768
  ] })
@@ -1638,18 +1773,19 @@ function ReadMore({ text, ...props }) {
1638
1773
 
1639
1774
  // src/components/ui/DatePicker.tsx
1640
1775
  import { cva as cva10 } from "cva";
1641
- import { forwardRef as forwardRef17, useEffect as useEffect6, useState as useState6 } from "react";
1642
1776
  import { format } from "date-fns";
1777
+ import { Calendar as CalendarIcon } from "lucide-react";
1778
+ import { forwardRef as forwardRef20, useEffect as useEffect6, useState as useState6 } from "react";
1643
1779
 
1644
1780
  // src/components/ui/calendar.tsx
1645
1781
  import { ChevronLeft, ChevronRight } from "lucide-react";
1646
1782
  import { DayPicker } from "react-day-picker";
1647
1783
 
1648
1784
  // src/components/ui/buttonShadcn.tsx
1649
- import * as React9 from "react";
1650
1785
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1651
1786
  import { cva as cva9 } from "class-variance-authority";
1652
- import { jsx as jsx26 } from "react/jsx-runtime";
1787
+ import * as React9 from "react";
1788
+ import { jsx as jsx29 } from "react/jsx-runtime";
1653
1789
  var buttonVariants2 = cva9(
1654
1790
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-neutral-950 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 dark:focus-visible:ring-neutral-300",
1655
1791
  {
@@ -1678,27 +1814,15 @@ var buttonVariants2 = cva9(
1678
1814
  var Button2 = React9.forwardRef(
1679
1815
  ({ className, variant, size, asChild = false, ...props }, ref) => {
1680
1816
  const Comp = asChild ? Slot3 : "button";
1681
- return /* @__PURE__ */ jsx26(
1682
- Comp,
1683
- {
1684
- className: cn(buttonVariants2({ variant, size, className })),
1685
- ref,
1686
- ...props
1687
- }
1688
- );
1817
+ return /* @__PURE__ */ jsx29(Comp, { className: cn(buttonVariants2({ variant, size, className })), ref, ...props });
1689
1818
  }
1690
1819
  );
1691
1820
  Button2.displayName = "Button";
1692
1821
 
1693
1822
  // src/components/ui/calendar.tsx
1694
- import { jsx as jsx27 } from "react/jsx-runtime";
1695
- function Calendar({
1696
- className,
1697
- classNames,
1698
- showOutsideDays = true,
1699
- ...props
1700
- }) {
1701
- return /* @__PURE__ */ jsx27(
1823
+ import { jsx as jsx30 } from "react/jsx-runtime";
1824
+ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
1825
+ return /* @__PURE__ */ jsx30(
1702
1826
  DayPicker,
1703
1827
  {
1704
1828
  showOutsideDays,
@@ -1738,8 +1862,8 @@ function Calendar({
1738
1862
  ...classNames
1739
1863
  },
1740
1864
  components: {
1741
- IconLeft: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx27(ChevronLeft, { className: cn("h-4 w-4", className2), ...props2 }),
1742
- IconRight: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx27(ChevronRight, { className: cn("h-4 w-4", className2), ...props2 })
1865
+ IconLeft: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx30(ChevronLeft, { className: cn("h-4 w-4", className2), ...props2 }),
1866
+ IconRight: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx30(ChevronRight, { className: cn("h-4 w-4", className2), ...props2 })
1743
1867
  },
1744
1868
  ...props
1745
1869
  }
@@ -1748,92 +1872,91 @@ function Calendar({
1748
1872
  Calendar.displayName = "Calendar";
1749
1873
 
1750
1874
  // src/components/ui/DatePicker.tsx
1751
- import { Calendar as CalendarIcon } from "lucide-react";
1752
- import { jsx as jsx28, jsxs as jsxs15 } from "react/jsx-runtime";
1753
- var DatePicker = forwardRef17(({ label, description, required, classNames, value, onChange, error }, ref) => {
1754
- const [date, setDate] = useState6(null);
1755
- useEffect6(() => {
1756
- setDate(value ?? null);
1757
- }, [value]);
1758
- const handleDateSelect = (dateSelected) => {
1759
- if (!dateSelected) return;
1760
- onChange?.(dateSelected);
1761
- setDate(dateSelected);
1762
- };
1763
- return /* @__PURE__ */ jsxs15("div", { className: cn("flex w-auto flex-col gap-1"), children: [
1764
- label && /* @__PURE__ */ jsx28(
1765
- Label_default,
1766
- {
1767
- text: label,
1768
- required,
1769
- description,
1770
- className: classNames?.label
1771
- }
1772
- ),
1773
- /* @__PURE__ */ jsxs15(Popover, { children: [
1774
- /* @__PURE__ */ jsx28(PopoverTrigger, { children: /* @__PURE__ */ jsxs15("div", { className: cn(datePickerStyle()), children: [
1775
- /* @__PURE__ */ jsx28(CalendarIcon, { size: 16 }),
1776
- date ? format(date, "MM/dd/yyyy") : "Select a date"
1777
- ] }) }),
1778
- /* @__PURE__ */ jsx28(PopoverContent, { ref, children: /* @__PURE__ */ jsx28(
1779
- Calendar,
1875
+ import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
1876
+ var DatePicker = forwardRef20(
1877
+ ({ label, description, required, classNames, value, onChange, error }, ref) => {
1878
+ const [date, setDate] = useState6(null);
1879
+ useEffect6(() => {
1880
+ setDate(value ?? null);
1881
+ }, [value]);
1882
+ const handleDateSelect = (dateSelected) => {
1883
+ if (!dateSelected) return;
1884
+ onChange?.(dateSelected);
1885
+ setDate(dateSelected);
1886
+ };
1887
+ return /* @__PURE__ */ jsxs18("div", { className: cn("flex w-auto flex-col gap-1"), children: [
1888
+ label && /* @__PURE__ */ jsx31(
1889
+ Label_default,
1780
1890
  {
1781
- mode: "single",
1782
- selected: date || void 0,
1783
- onSelect: handleDateSelect,
1784
- captionLayout: "dropdown",
1785
- showOutsideDays: true
1891
+ text: label,
1892
+ required,
1893
+ description,
1894
+ className: classNames?.label
1786
1895
  }
1787
- ) })
1788
- ] }),
1789
- /* @__PURE__ */ jsx28(ErrorMessage_default, { message: error })
1790
- ] });
1791
- });
1792
- var datePickerStyle = cva10(
1793
- [
1794
- "placeholder:text-muted-foreground",
1795
- "focus-visible:ring-ring",
1796
- "inline-flex",
1797
- "w-full",
1798
- "h-11",
1799
- "items-center",
1800
- "justify-start",
1801
- "gap-3",
1802
- "rounded-lg",
1803
- "bg-transparent",
1804
- "px-3",
1805
- "pt-0.5",
1806
- "text-sm",
1807
- "shadow-sm",
1808
- "ring-grey-50",
1809
- "transition-colors",
1810
- "focus-visible:outline-none",
1811
- "focus-visible:ring-1",
1812
- "disabled:cursor-not-allowed",
1813
- "disabled:opacity-50",
1814
- "appearance-none",
1815
- "[&::-webkit-search-cancel-button]:appearance-none",
1816
- "[&::-webkit-search-decoration]:appearance-none",
1817
- "[&::-webkit-search-results-button]:appearance-none",
1818
- "[&::-webkit-search-results-decoration]:appearance-none",
1819
- "[&::-ms-clear]:display-none",
1820
- "[&::-ms-reveal]:display-none",
1821
- "text-grey-80 border"
1822
- ]
1896
+ ),
1897
+ /* @__PURE__ */ jsxs18(Popover, { children: [
1898
+ /* @__PURE__ */ jsx31(PopoverTrigger, { children: /* @__PURE__ */ jsxs18("div", { className: cn(datePickerStyle()), children: [
1899
+ /* @__PURE__ */ jsx31(CalendarIcon, { size: 16 }),
1900
+ date ? format(date, "MM/dd/yyyy") : "Select a date"
1901
+ ] }) }),
1902
+ /* @__PURE__ */ jsx31(PopoverContent, { ref, children: /* @__PURE__ */ jsx31(
1903
+ Calendar,
1904
+ {
1905
+ mode: "single",
1906
+ selected: date || void 0,
1907
+ onSelect: handleDateSelect,
1908
+ captionLayout: "dropdown",
1909
+ showOutsideDays: true
1910
+ }
1911
+ ) })
1912
+ ] }),
1913
+ /* @__PURE__ */ jsx31(ErrorMessage_default, { message: error })
1914
+ ] });
1915
+ }
1823
1916
  );
1917
+ var datePickerStyle = cva10([
1918
+ "placeholder:text-muted-foreground",
1919
+ "focus-visible:ring-ring",
1920
+ "inline-flex",
1921
+ "w-full",
1922
+ "h-11",
1923
+ "items-center",
1924
+ "justify-start",
1925
+ "gap-3",
1926
+ "rounded-lg",
1927
+ "bg-transparent",
1928
+ "px-3",
1929
+ "pt-0.5",
1930
+ "text-sm",
1931
+ "shadow-sm",
1932
+ "ring-grey-50",
1933
+ "transition-colors",
1934
+ "focus-visible:outline-none",
1935
+ "focus-visible:ring-1",
1936
+ "disabled:cursor-not-allowed",
1937
+ "disabled:opacity-50",
1938
+ "appearance-none",
1939
+ "[&::-webkit-search-cancel-button]:appearance-none",
1940
+ "[&::-webkit-search-decoration]:appearance-none",
1941
+ "[&::-webkit-search-results-button]:appearance-none",
1942
+ "[&::-webkit-search-results-decoration]:appearance-none",
1943
+ "[&::-ms-clear]:display-none",
1944
+ "[&::-ms-reveal]:display-none",
1945
+ "text-grey-80 border"
1946
+ ]);
1824
1947
 
1825
1948
  // src/components/company/CompanyBenefits.tsx
1826
- import { jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
1949
+ import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
1827
1950
  function CompanyBenefits({ benefits }) {
1828
1951
  if (!benefits) return null;
1829
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
1830
- /* @__PURE__ */ jsx29("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
1831
- /* @__PURE__ */ jsx29("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ jsx29("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
1952
+ return /* @__PURE__ */ jsxs19("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
1953
+ /* @__PURE__ */ jsx32("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
1954
+ /* @__PURE__ */ jsx32("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ jsx32("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
1832
1955
  ] });
1833
1956
  }
1834
1957
 
1835
1958
  // src/components/company/CompanyInformation.tsx
1836
- import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
1959
+ import { jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
1837
1960
  function CompanyInformation({
1838
1961
  name,
1839
1962
  how,
@@ -1841,8 +1964,8 @@ function CompanyInformation({
1841
1964
  wow,
1842
1965
  website
1843
1966
  }) {
1844
- return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2", children: [
1845
- /* @__PURE__ */ jsxs17(
1967
+ return /* @__PURE__ */ jsxs20("div", { className: "flex flex-col gap-2", children: [
1968
+ /* @__PURE__ */ jsxs20(
1846
1969
  "h2",
1847
1970
  {
1848
1971
  "data-testid": "company-name",
@@ -1853,22 +1976,22 @@ function CompanyInformation({
1853
1976
  ]
1854
1977
  }
1855
1978
  ),
1856
- how && /* @__PURE__ */ jsx30("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
1857
- mission && /* @__PURE__ */ jsxs17("div", { className: "flex gap-2", children: [
1858
- /* @__PURE__ */ jsx30("span", { children: "\u{1F680}" }),
1859
- /* @__PURE__ */ jsxs17("p", { className: "text-base text-grey-80", children: [
1860
- /* @__PURE__ */ jsx30("span", { className: "pr-1 font-bold", children: "Mission" }),
1979
+ how && /* @__PURE__ */ jsx33("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
1980
+ mission && /* @__PURE__ */ jsxs20("div", { className: "flex gap-2", children: [
1981
+ /* @__PURE__ */ jsx33("span", { children: "\u{1F680}" }),
1982
+ /* @__PURE__ */ jsxs20("p", { className: "text-base text-grey-80", children: [
1983
+ /* @__PURE__ */ jsx33("span", { className: "pr-1 font-bold", children: "Mission" }),
1861
1984
  mission
1862
1985
  ] })
1863
1986
  ] }),
1864
- wow && /* @__PURE__ */ jsxs17("div", { className: "flex gap-2", children: [
1865
- /* @__PURE__ */ jsx30("span", { children: "\u{1F31F}" }),
1866
- /* @__PURE__ */ jsxs17("p", { className: "text-base text-grey-80", children: [
1867
- /* @__PURE__ */ jsx30("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
1987
+ wow && /* @__PURE__ */ jsxs20("div", { className: "flex gap-2", children: [
1988
+ /* @__PURE__ */ jsx33("span", { children: "\u{1F31F}" }),
1989
+ /* @__PURE__ */ jsxs20("p", { className: "text-base text-grey-80", children: [
1990
+ /* @__PURE__ */ jsx33("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
1868
1991
  wow
1869
1992
  ] })
1870
1993
  ] }),
1871
- website && /* @__PURE__ */ jsx30("div", { className: "pt-2", children: /* @__PURE__ */ jsx30(
1994
+ website && /* @__PURE__ */ jsx33("div", { className: "pt-2", children: /* @__PURE__ */ jsx33(
1872
1995
  LinkButton,
1873
1996
  {
1874
1997
  "data-testid": "company-website-link",
@@ -1882,22 +2005,22 @@ function CompanyInformation({
1882
2005
  }
1883
2006
 
1884
2007
  // src/components/company/CompanyTake.tsx
1885
- import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
2008
+ import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
1886
2009
  function CompanyTake({ content, avatarSrc }) {
1887
2010
  if (!content) return null;
1888
- return /* @__PURE__ */ jsxs18(
2011
+ return /* @__PURE__ */ jsxs21(
1889
2012
  "div",
1890
2013
  {
1891
2014
  "data-testid": "company-take",
1892
2015
  className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6",
1893
2016
  children: [
1894
- /* @__PURE__ */ jsx31("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
1895
- /* @__PURE__ */ jsx31("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ jsx31("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
1896
- /* @__PURE__ */ jsxs18("div", { className: "mt-8 flex w-full items-center gap-3", children: [
1897
- /* @__PURE__ */ jsx31(Avatar, { name: "Jon Lee", src: avatarSrc }),
1898
- /* @__PURE__ */ jsxs18("div", { className: "flex flex-col flex-wrap items-start", children: [
1899
- /* @__PURE__ */ jsx31("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
1900
- /* @__PURE__ */ jsx31("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
2017
+ /* @__PURE__ */ jsx34("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
2018
+ /* @__PURE__ */ jsx34("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ jsx34("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
2019
+ /* @__PURE__ */ jsxs21("div", { className: "mt-8 flex w-full items-center gap-3", children: [
2020
+ /* @__PURE__ */ jsx34(Avatar, { name: "Jon Lee", src: avatarSrc }),
2021
+ /* @__PURE__ */ jsxs21("div", { className: "flex flex-col flex-wrap items-start", children: [
2022
+ /* @__PURE__ */ jsx34("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
2023
+ /* @__PURE__ */ jsx34("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
1901
2024
  ] })
1902
2025
  ] })
1903
2026
  ]
@@ -1906,12 +2029,12 @@ function CompanyTake({ content, avatarSrc }) {
1906
2029
  }
1907
2030
 
1908
2031
  // src/components/jobPost/JobDescription.tsx
1909
- import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
2032
+ import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
1910
2033
  function JobDescription({ description }) {
1911
2034
  if (!description) return null;
1912
- return /* @__PURE__ */ jsxs19("div", { className: "flex w-full flex-col gap-2", children: [
1913
- /* @__PURE__ */ jsx32("h3", { className: "text-xl font-bold", children: "Job Description" }),
1914
- /* @__PURE__ */ jsx32(ReadMore, { text: description })
2035
+ return /* @__PURE__ */ jsxs22("div", { className: "flex w-full flex-col gap-2", children: [
2036
+ /* @__PURE__ */ jsx35("h3", { className: "text-xl font-bold", children: "Job Description" }),
2037
+ /* @__PURE__ */ jsx35(ReadMore, { text: description })
1915
2038
  ] });
1916
2039
  }
1917
2040
 
@@ -1929,7 +2052,7 @@ import { useContext as useContext2 } from "react";
1929
2052
  // src/contexts/WindowHistoryProvider.tsx
1930
2053
  import { useSearchParams } from "next/navigation";
1931
2054
  import { createContext, useEffect as useEffect7, useMemo, useState as useState7 } from "react";
1932
- import { jsx as jsx33 } from "react/jsx-runtime";
2055
+ import { jsx as jsx36 } from "react/jsx-runtime";
1933
2056
  var WindowHistoryContext = createContext({});
1934
2057
  function WindowHistoryProvider({ children }) {
1935
2058
  const [history, setHistory] = useState7([]);
@@ -1940,7 +2063,7 @@ function WindowHistoryProvider({ children }) {
1940
2063
  );
1941
2064
  }, [searchParams]);
1942
2065
  const contextValue = useMemo(() => ({ history }), [history]);
1943
- return /* @__PURE__ */ jsx33(WindowHistoryContext.Provider, { value: contextValue, children });
2066
+ return /* @__PURE__ */ jsx36(WindowHistoryContext.Provider, { value: contextValue, children });
1944
2067
  }
1945
2068
 
1946
2069
  // src/hooks/useWindowHistory.ts
@@ -1950,7 +2073,7 @@ function useWindowHistory() {
1950
2073
  }
1951
2074
 
1952
2075
  // src/components/buttons/BackButton.tsx
1953
- import { jsx as jsx34 } from "react/jsx-runtime";
2076
+ import { jsx as jsx37 } from "react/jsx-runtime";
1954
2077
  function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1955
2078
  const { history } = useWindowHistory();
1956
2079
  const router = useRouter();
@@ -1963,7 +2086,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1963
2086
  router.push(fallbackHref ?? "/");
1964
2087
  }
1965
2088
  };
1966
- return /* @__PURE__ */ jsx34(
2089
+ return /* @__PURE__ */ jsx37(
1967
2090
  Icon,
1968
2091
  {
1969
2092
  "aria-label": "back button",
@@ -1972,7 +2095,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1972
2095
  onClick: goBack,
1973
2096
  className,
1974
2097
  ...props,
1975
- children: /* @__PURE__ */ jsx34(X4, {})
2098
+ children: /* @__PURE__ */ jsx37(X4, {})
1976
2099
  }
1977
2100
  );
1978
2101
  }
@@ -2024,7 +2147,7 @@ var iconMap = {
2024
2147
  };
2025
2148
 
2026
2149
  // src/components/jobPost/JobHeader.tsx
2027
- import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
2150
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
2028
2151
  function JobHeader({
2029
2152
  title,
2030
2153
  subtitles,
@@ -2040,9 +2163,9 @@ function JobHeader({
2040
2163
  }) {
2041
2164
  const renderIcon = (icon) => {
2042
2165
  const Icon2 = iconMap[icon];
2043
- return /* @__PURE__ */ jsx35(Icon2, { size: 18 });
2166
+ return /* @__PURE__ */ jsx38(Icon2, { size: 18 });
2044
2167
  };
2045
- return /* @__PURE__ */ jsxs20(
2168
+ return /* @__PURE__ */ jsxs23(
2046
2169
  "div",
2047
2170
  {
2048
2171
  "data-testid": "job-header-root",
@@ -2051,8 +2174,8 @@ function JobHeader({
2051
2174
  !standalone && "rounded-3xl"
2052
2175
  ),
2053
2176
  children: [
2054
- !standalone && /* @__PURE__ */ jsxs20("div", { className: "relative flex min-h-16 w-full items-center rounded-t-3xl bg-transparent md:min-h-24 md:flex-row lg:min-h-32", children: [
2055
- /* @__PURE__ */ jsx35(
2177
+ !standalone && /* @__PURE__ */ jsxs23("div", { className: "relative flex min-h-16 w-full items-center rounded-t-3xl bg-transparent md:min-h-24 md:flex-row lg:min-h-32", children: [
2178
+ /* @__PURE__ */ jsx38(
2056
2179
  Image2,
2057
2180
  {
2058
2181
  className: "h-full w-full rounded-t-3xl object-cover",
@@ -2061,7 +2184,7 @@ function JobHeader({
2061
2184
  fill: true
2062
2185
  }
2063
2186
  ),
2064
- /* @__PURE__ */ jsx35(
2187
+ /* @__PURE__ */ jsx38(
2065
2188
  BackButton,
2066
2189
  {
2067
2190
  acceptedRoutes: backAcceptedRoutes,
@@ -2070,12 +2193,12 @@ function JobHeader({
2070
2193
  "data-testid": "job-header-back-button"
2071
2194
  }
2072
2195
  ),
2073
- /* @__PURE__ */ jsx35(
2196
+ /* @__PURE__ */ jsx38(
2074
2197
  "div",
2075
2198
  {
2076
2199
  className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
2077
2200
  "data-testid": "job-header-avatar",
2078
- children: /* @__PURE__ */ jsx35(
2201
+ children: /* @__PURE__ */ jsx38(
2079
2202
  Avatar,
2080
2203
  {
2081
2204
  size: "large",
@@ -2089,9 +2212,9 @@ function JobHeader({
2089
2212
  }
2090
2213
  )
2091
2214
  ] }),
2092
- /* @__PURE__ */ jsxs20("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
2093
- /* @__PURE__ */ jsxs20("div", { className: "flex flex-col md:flex-row", children: [
2094
- standalone && /* @__PURE__ */ jsx35("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ jsx35(
2215
+ /* @__PURE__ */ jsxs23("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
2216
+ /* @__PURE__ */ jsxs23("div", { className: "flex flex-col md:flex-row", children: [
2217
+ standalone && /* @__PURE__ */ jsx38("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ jsx38(
2095
2218
  Avatar,
2096
2219
  {
2097
2220
  size: "large",
@@ -2102,26 +2225,26 @@ function JobHeader({
2102
2225
  rel: "noopener noreferrer"
2103
2226
  }
2104
2227
  ) }),
2105
- /* @__PURE__ */ jsx35("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ jsxs20(
2228
+ /* @__PURE__ */ jsx38("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ jsxs23(
2106
2229
  "div",
2107
2230
  {
2108
2231
  "data-testid": `job-header-subtitle-${i}`,
2109
2232
  className: "flex items-center",
2110
2233
  children: [
2111
2234
  subtitle,
2112
- i < subtitles.length - 1 && /* @__PURE__ */ jsx35(Dot2, { className: "mx-1 shrink-0", size: 10 })
2235
+ i < subtitles.length - 1 && /* @__PURE__ */ jsx38(Dot2, { className: "mx-1 shrink-0", size: 10 })
2113
2236
  ]
2114
2237
  },
2115
2238
  subtitle
2116
2239
  )) })
2117
2240
  ] }),
2118
- /* @__PURE__ */ jsxs20(
2241
+ /* @__PURE__ */ jsxs23(
2119
2242
  "div",
2120
2243
  {
2121
2244
  "data-testid": "job-header-content",
2122
2245
  className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1",
2123
2246
  children: [
2124
- /* @__PURE__ */ jsx35(
2247
+ /* @__PURE__ */ jsx38(
2125
2248
  "h2",
2126
2249
  {
2127
2250
  "data-testid": "job-header-title",
@@ -2129,7 +2252,7 @@ function JobHeader({
2129
2252
  children: title
2130
2253
  }
2131
2254
  ),
2132
- !!actions && /* @__PURE__ */ jsx35(
2255
+ !!actions && /* @__PURE__ */ jsx38(
2133
2256
  "div",
2134
2257
  {
2135
2258
  className: "flex w-full justify-end gap-2 md:w-auto",
@@ -2140,12 +2263,12 @@ function JobHeader({
2140
2263
  ]
2141
2264
  }
2142
2265
  ),
2143
- /* @__PURE__ */ jsx35(
2266
+ /* @__PURE__ */ jsx38(
2144
2267
  "div",
2145
2268
  {
2146
2269
  "data-testid": "job-header-tags",
2147
2270
  className: "flex flex-row flex-wrap items-center justify-start gap-2",
2148
- children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs20(
2271
+ children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs23(
2149
2272
  Chip_default,
2150
2273
  {
2151
2274
  size: "small",
@@ -2154,7 +2277,7 @@ function JobHeader({
2154
2277
  "data-testid": `job-header-tag-${name}`,
2155
2278
  children: [
2156
2279
  renderIcon(icon),
2157
- /* @__PURE__ */ jsx35("span", { children: label })
2280
+ /* @__PURE__ */ jsx38("span", { children: label })
2158
2281
  ]
2159
2282
  },
2160
2283
  name
@@ -2756,7 +2879,7 @@ function salaryRange(salary) {
2756
2879
  }
2757
2880
 
2758
2881
  // src/components/jobPost/JobPost.tsx
2759
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
2882
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
2760
2883
  function JobPost({
2761
2884
  job,
2762
2885
  bannerSrc,
@@ -2800,7 +2923,7 @@ function JobPost({
2800
2923
  label: formattedLocation
2801
2924
  }
2802
2925
  ].filter((t) => !!t);
2803
- return /* @__PURE__ */ jsxs21(
2926
+ return /* @__PURE__ */ jsxs24(
2804
2927
  "div",
2805
2928
  {
2806
2929
  className: cn(
@@ -2808,7 +2931,7 @@ function JobPost({
2808
2931
  !standalone && "border-1 rounded-3xl border-grey-5"
2809
2932
  ),
2810
2933
  children: [
2811
- /* @__PURE__ */ jsx36(
2934
+ /* @__PURE__ */ jsx39(
2812
2935
  JobHeader,
2813
2936
  {
2814
2937
  title: job.title,
@@ -2822,16 +2945,16 @@ function JobPost({
2822
2945
  tags
2823
2946
  }
2824
2947
  ),
2825
- /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-8 px-6", children: [
2826
- /* @__PURE__ */ jsx36(JobDescription, { description: job.description }),
2827
- /* @__PURE__ */ jsx36(
2948
+ /* @__PURE__ */ jsxs24("div", { className: "flex flex-col gap-8 px-6", children: [
2949
+ /* @__PURE__ */ jsx39(JobDescription, { description: job.description }),
2950
+ /* @__PURE__ */ jsx39(
2828
2951
  CompanyTake,
2829
2952
  {
2830
2953
  avatarSrc,
2831
2954
  content: job.hiringOrganization?.companyNdg?.companyNdgTake
2832
2955
  }
2833
2956
  ),
2834
- /* @__PURE__ */ jsx36(
2957
+ /* @__PURE__ */ jsx39(
2835
2958
  CompanyInformation,
2836
2959
  {
2837
2960
  name: job.hiringOrganization?.companyName ?? "",
@@ -2841,7 +2964,7 @@ function JobPost({
2841
2964
  website: job.hiringOrganization?.companyWebsite
2842
2965
  }
2843
2966
  ),
2844
- /* @__PURE__ */ jsx36(
2967
+ /* @__PURE__ */ jsx39(
2845
2968
  CompanyBenefits,
2846
2969
  {
2847
2970
  benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
@@ -3068,7 +3191,7 @@ export {
3068
3191
  BackButton,
3069
3192
  Badge,
3070
3193
  Button,
3071
- Checkbox_default as Checkbox,
3194
+ Checkbox,
3072
3195
  Chip_default as Chip,
3073
3196
  Combobox,
3074
3197
  CompanyBenefits,
@@ -3089,9 +3212,11 @@ export {
3089
3212
  ListItem_default as ListItem,
3090
3213
  MapComponent_default as MapComponent,
3091
3214
  PlacesQueryInput_default as PlacesQueryInput,
3215
+ Radio,
3092
3216
  ReadMore,
3093
3217
  Select_default as Select,
3094
3218
  shared_pickle_output_latest_exports as SharedService,
3219
+ Switch,
3095
3220
  WindowHistoryProvider,
3096
3221
  cn,
3097
3222
  fetchLocation,