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

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 (110) hide show
  1. package/README.md +4 -2
  2. package/dist/components/jobPost/JobDescription.cjs +2 -1
  3. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  4. package/dist/components/jobPost/JobDescription.js +2 -1
  5. package/dist/components/jobPost/JobDescription.js.map +1 -1
  6. package/dist/components/jobPost/JobPost.cjs +2 -1
  7. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  8. package/dist/components/jobPost/JobPost.d.cts +1 -1
  9. package/dist/components/jobPost/JobPost.d.ts +1 -1
  10. package/dist/components/jobPost/JobPost.js +2 -1
  11. package/dist/components/jobPost/JobPost.js.map +1 -1
  12. package/dist/components/primitives/command.d.cts +7 -7
  13. package/dist/components/primitives/command.d.ts +7 -7
  14. package/dist/components/primitives/input-otp.d.cts +2 -2
  15. package/dist/components/primitives/input-otp.d.ts +2 -2
  16. package/dist/components/primitives/radio-group.cjs +74 -0
  17. package/dist/components/primitives/radio-group.cjs.map +1 -0
  18. package/dist/components/primitives/radio-group.d.cts +9 -0
  19. package/dist/components/primitives/radio-group.d.ts +9 -0
  20. package/dist/components/primitives/radio-group.js +41 -0
  21. package/dist/components/primitives/radio-group.js.map +1 -0
  22. package/dist/components/ui/Button.cjs +2 -1
  23. package/dist/components/ui/Button.cjs.map +1 -1
  24. package/dist/components/ui/Button.d.cts +1 -1
  25. package/dist/components/ui/Button.d.ts +1 -1
  26. package/dist/components/ui/Button.js +2 -1
  27. package/dist/components/ui/Button.js.map +1 -1
  28. package/dist/components/ui/Checkbox.cjs +39 -14
  29. package/dist/components/ui/Checkbox.cjs.map +1 -1
  30. package/dist/components/ui/Checkbox.d.cts +2 -1
  31. package/dist/components/ui/Checkbox.d.ts +2 -1
  32. package/dist/components/ui/Checkbox.js +32 -12
  33. package/dist/components/ui/Checkbox.js.map +1 -1
  34. package/dist/components/ui/Combobox.cjs +63 -42
  35. package/dist/components/ui/Combobox.cjs.map +1 -1
  36. package/dist/components/ui/Combobox.js +54 -33
  37. package/dist/components/ui/Combobox.js.map +1 -1
  38. package/dist/components/ui/DatePicker.cjs +135 -149
  39. package/dist/components/ui/DatePicker.cjs.map +1 -1
  40. package/dist/components/ui/DatePicker.d.cts +4 -0
  41. package/dist/components/ui/DatePicker.d.ts +4 -0
  42. package/dist/components/ui/DatePicker.js +134 -148
  43. package/dist/components/ui/DatePicker.js.map +1 -1
  44. package/dist/components/ui/ListItem.cjs +41 -22
  45. package/dist/components/ui/ListItem.cjs.map +1 -1
  46. package/dist/components/ui/ListItem.js +37 -18
  47. package/dist/components/ui/ListItem.js.map +1 -1
  48. package/dist/components/ui/Radio.cjs +177 -0
  49. package/dist/components/ui/Radio.cjs.map +1 -0
  50. package/dist/components/ui/Radio.d.cts +27 -0
  51. package/dist/components/ui/Radio.d.ts +27 -0
  52. package/dist/components/ui/Radio.js +144 -0
  53. package/dist/components/ui/Radio.js.map +1 -0
  54. package/dist/components/ui/ReadMore.cjs +2 -1
  55. package/dist/components/ui/ReadMore.cjs.map +1 -1
  56. package/dist/components/ui/ReadMore.js +2 -1
  57. package/dist/components/ui/ReadMore.js.map +1 -1
  58. package/dist/components/ui/Select.cjs +48 -24
  59. package/dist/components/ui/Select.cjs.map +1 -1
  60. package/dist/components/ui/Select.js +49 -25
  61. package/dist/components/ui/Select.js.map +1 -1
  62. package/dist/components/ui/Switch.cjs +83 -0
  63. package/dist/components/ui/Switch.cjs.map +1 -0
  64. package/dist/components/ui/Switch.d.cts +10 -0
  65. package/dist/components/ui/Switch.d.ts +10 -0
  66. package/dist/components/ui/Switch.js +48 -0
  67. package/dist/components/ui/Switch.js.map +1 -0
  68. package/dist/components/ui/buttonShadcn.cjs +2 -9
  69. package/dist/components/ui/buttonShadcn.cjs.map +1 -1
  70. package/dist/components/ui/buttonShadcn.d.cts +2 -2
  71. package/dist/components/ui/buttonShadcn.d.ts +2 -2
  72. package/dist/components/ui/buttonShadcn.js +2 -9
  73. package/dist/components/ui/buttonShadcn.js.map +1 -1
  74. package/dist/components/ui/calendar.cjs +7 -17
  75. package/dist/components/ui/calendar.cjs.map +1 -1
  76. package/dist/components/ui/calendar.js +7 -17
  77. package/dist/components/ui/calendar.js.map +1 -1
  78. package/dist/{displayText-6TMMBOmQ.d.cts → displayText-ca_ofoAC.d.cts} +2 -2
  79. package/dist/{displayText-BCC_oy5I.d.ts → displayText-eoAHqSNz.d.ts} +2 -2
  80. package/dist/hooks/useDisplayText.d.cts +3 -3
  81. package/dist/hooks/useDisplayText.d.ts +3 -3
  82. package/dist/index.cjs +456 -327
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.d.cts +12 -7
  85. package/dist/index.d.ts +12 -7
  86. package/dist/index.js +438 -309
  87. package/dist/index.js.map +1 -1
  88. package/dist/lib/locations.d.cts +2 -2
  89. package/dist/lib/locations.d.ts +2 -2
  90. package/dist/lib/mappings.d.cts +3 -3
  91. package/dist/lib/mappings.d.ts +3 -3
  92. package/dist/lib/salaryRange.d.cts +1 -1
  93. package/dist/lib/salaryRange.d.ts +1 -1
  94. package/dist/services/displayText.d.cts +3 -3
  95. package/dist/services/displayText.d.ts +3 -3
  96. package/dist/styles/globals.css +78 -0
  97. package/dist/styles/globals.css.map +1 -1
  98. package/dist/types/data/company_service_latest.d.cts +1 -1
  99. package/dist/types/data/company_service_latest.d.ts +1 -1
  100. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  101. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  102. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  103. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  104. package/package.json +7 -10
  105. package/dist/{company_service_latest-BUKbZgpZ.d.cts → company_service_latest-CRQFzMep.d.cts} +366 -366
  106. package/dist/{company_service_latest-BUKbZgpZ.d.ts → company_service_latest-CRQFzMep.d.ts} +366 -366
  107. package/dist/{job_posting_service_latest-2KcpupDl.d.cts → job_posting_service_latest-BOVbz68F.d.cts} +324 -324
  108. package/dist/{job_posting_service_latest-2KcpupDl.d.ts → job_posting_service_latest-BOVbz68F.d.ts} +324 -324
  109. package/dist/{shared_pickle_output_latest-D2n-PRlx.d.cts → shared_pickle_output_latest-DKOmTyYk.d.cts} +20 -20
  110. 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 && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
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,113 @@ 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 {
1335
+ forwardRef as forwardRef13
1336
+ } from "react";
1337
+ import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
1338
+ var RadioGroup = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(RadioGroupPrimitive.Root, { className, ...props, ref }));
1339
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
1340
+ var RadioGroupItem = forwardRef13(({ className, children, ...props }, ref) => {
1341
+ return /* @__PURE__ */ jsxs12("div", { className: "group flex flex-row items-center gap-2", children: [
1342
+ /* @__PURE__ */ jsx21(
1343
+ RadioGroupPrimitive.Item,
1344
+ {
1345
+ ref,
1346
+ className: cn(
1347
+ "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 focus-visible:ring-ring 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",
1348
+ className
1349
+ ),
1350
+ ...props
1351
+ }
1352
+ ),
1353
+ /* @__PURE__ */ jsx21("label", { htmlFor: props.id, className: "text-sm peer-data-[disabled]:text-grey-40", children })
1354
+ ] });
1355
+ });
1356
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
1357
+
1358
+ // src/components/ui/Radio.tsx
1359
+ import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
1360
+ var Radio = forwardRef14(
1361
+ ({
1362
+ label,
1363
+ error,
1364
+ description,
1365
+ options,
1366
+ classNames,
1367
+ onChange: handleValueChange,
1368
+ orientation,
1369
+ ...props
1370
+ }, ref) => {
1371
+ return /* @__PURE__ */ jsxs13("div", { className: cn("flex flex-col gap-1", classNames?.root), children: [
1372
+ /* @__PURE__ */ jsx22(Label_default, { text: label, description, required: props.required }),
1373
+ /* @__PURE__ */ jsx22(
1374
+ RadioGroup,
1375
+ {
1376
+ ref,
1377
+ className: cn(
1378
+ "flex text-sm",
1379
+ orientation === "vertical" ? "flex-col gap-2" : "flex-row gap-4",
1380
+ classNames?.group
1381
+ ),
1382
+ onValueChange: handleValueChange,
1383
+ ...props,
1384
+ children: options?.map(({ id, title, value }) => /* @__PURE__ */ jsx22(
1385
+ RadioGroupItem,
1386
+ {
1387
+ value,
1388
+ id: `radio-group-item-${title}`,
1389
+ className: classNames?.item,
1390
+ children: title
1391
+ },
1392
+ id
1393
+ ))
1394
+ }
1395
+ ),
1396
+ /* @__PURE__ */ jsx22(ErrorMessage_default, { message: error })
1397
+ ] });
1398
+ }
1399
+ );
1400
+ Radio.displayName = "Radio";
1401
+
1265
1402
  // src/components/ui/Counter.tsx
1266
1403
  import { cva as cva7 } from "cva";
1267
1404
  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(
1405
+ import { forwardRef as forwardRef15, useEffect as useEffect4, useState as useState4 } from "react";
1406
+ import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
1407
+ var Counter = forwardRef15(
1271
1408
  ({ label, error, min, max, step = 1, description, theme, value, classNames, onChange, ...props }, ref) => {
1272
1409
  const [count, setCount] = useState4(0);
1273
1410
  useEffect4(() => {
@@ -1301,13 +1438,13 @@ var Counter = forwardRef12(
1301
1438
  onChange?.(newValue);
1302
1439
  setCount(newValue);
1303
1440
  };
1304
- return /* @__PURE__ */ jsxs11(
1441
+ return /* @__PURE__ */ jsxs14(
1305
1442
  "div",
1306
1443
  {
1307
1444
  className: cn("flex w-auto flex-col gap-1", classNames?.root),
1308
1445
  "data-testid": `counter-wrapper-${props.id}`,
1309
1446
  children: [
1310
- label && /* @__PURE__ */ jsx20(
1447
+ label && /* @__PURE__ */ jsx23(
1311
1448
  Label_default,
1312
1449
  {
1313
1450
  text: label,
@@ -1317,17 +1454,17 @@ var Counter = forwardRef12(
1317
1454
  className: classNames?.label
1318
1455
  }
1319
1456
  ),
1320
- /* @__PURE__ */ jsxs11("div", { className: "relative flex w-[122px] flex-row items-center", children: [
1321
- /* @__PURE__ */ jsx20(
1457
+ /* @__PURE__ */ jsxs14("div", { className: "relative flex w-[122px] flex-row items-center", children: [
1458
+ /* @__PURE__ */ jsx23(
1322
1459
  "button",
1323
1460
  {
1324
1461
  type: "button",
1325
1462
  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
1463
  onClick: decrement,
1327
- children: /* @__PURE__ */ jsx20(Minus2, { className: "h-4 w-4 text-green-100" })
1464
+ children: /* @__PURE__ */ jsx23(Minus2, { className: "h-4 w-4 text-green-100" })
1328
1465
  }
1329
1466
  ),
1330
- /* @__PURE__ */ jsx20(
1467
+ /* @__PURE__ */ jsx23(
1331
1468
  "input",
1332
1469
  {
1333
1470
  className: cn(counterVariants({ theme }), classNames?.input),
@@ -1338,17 +1475,17 @@ var Counter = forwardRef12(
1338
1475
  ...props
1339
1476
  }
1340
1477
  ),
1341
- /* @__PURE__ */ jsx20(
1478
+ /* @__PURE__ */ jsx23(
1342
1479
  "button",
1343
1480
  {
1344
1481
  type: "button",
1345
1482
  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
1483
  onClick: increment,
1347
- children: /* @__PURE__ */ jsx20(Plus, { className: "h-4 w-4 text-green-100" })
1484
+ children: /* @__PURE__ */ jsx23(Plus, { className: "h-4 w-4 text-green-100" })
1348
1485
  }
1349
1486
  )
1350
1487
  ] }),
1351
- /* @__PURE__ */ jsx20(ErrorMessage_default, { message: error })
1488
+ /* @__PURE__ */ jsx23(ErrorMessage_default, { message: error })
1352
1489
  ]
1353
1490
  }
1354
1491
  );
@@ -1408,13 +1545,13 @@ var counterVariants = cva7(
1408
1545
  // src/components/ui/Icon.tsx
1409
1546
  import { Slot as Slot2 } from "@radix-ui/react-slot";
1410
1547
  import { cva as cva8 } from "cva";
1411
- import { forwardRef as forwardRef13 } from "react";
1548
+ import { forwardRef as forwardRef16 } from "react";
1412
1549
  import { twMerge as twMerge3 } from "tailwind-merge";
1413
- import { jsx as jsx21 } from "react/jsx-runtime";
1414
- var Icon = forwardRef13(
1550
+ import { jsx as jsx24 } from "react/jsx-runtime";
1551
+ var Icon = forwardRef16(
1415
1552
  ({ variant, size, active = false, readonly = false, className, ...props }, ref) => {
1416
1553
  const Component = readonly ? Slot2 : "button";
1417
- return /* @__PURE__ */ jsx21(
1554
+ return /* @__PURE__ */ jsx24(
1418
1555
  Component,
1419
1556
  {
1420
1557
  className: cn(
@@ -1483,14 +1620,14 @@ var iconVariants = cva8(
1483
1620
  );
1484
1621
 
1485
1622
  // src/components/ui/InputOtp.tsx
1486
- import { forwardRef as forwardRef15 } from "react";
1623
+ import { forwardRef as forwardRef18 } from "react";
1487
1624
 
1488
1625
  // src/components/primitives/input-otp.tsx
1489
1626
  import { OTPInput, OTPInputContext } from "input-otp";
1490
1627
  import { Dot } from "lucide-react";
1491
1628
  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(
1629
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
1630
+ var InputOTP = React8.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx25(
1494
1631
  OTPInput,
1495
1632
  {
1496
1633
  ref,
@@ -1503,12 +1640,12 @@ var InputOTP = React8.forwardRef(({ className, containerClassName, ...props }, r
1503
1640
  }
1504
1641
  ));
1505
1642
  InputOTP.displayName = "InputOTP";
1506
- var InputOTPGroup = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22("div", { ref, className: cn("flex items-center", className), ...props }));
1643
+ var InputOTPGroup = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, className: cn("flex items-center", className), ...props }));
1507
1644
  InputOTPGroup.displayName = "InputOTPGroup";
1508
1645
  var InputOTPSlot = React8.forwardRef(({ index, error, className, ...props }, ref) => {
1509
1646
  const inputOTPContext = React8.useContext(OTPInputContext);
1510
1647
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
1511
- return /* @__PURE__ */ jsxs12(
1648
+ return /* @__PURE__ */ jsxs15(
1512
1649
  "div",
1513
1650
  {
1514
1651
  ref,
@@ -1521,26 +1658,26 @@ var InputOTPSlot = React8.forwardRef(({ index, error, className, ...props }, ref
1521
1658
  ...props,
1522
1659
  children: [
1523
1660
  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" }) })
1661
+ 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
1662
  ]
1526
1663
  }
1527
1664
  );
1528
1665
  });
1529
1666
  InputOTPSlot.displayName = "InputOTPSlot";
1530
- var InputOTPSeparator = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx22("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx22(Dot, {}) }));
1667
+ var InputOTPSeparator = React8.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx25("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx25(Dot, {}) }));
1531
1668
  InputOTPSeparator.displayName = "InputOTPSeparator";
1532
1669
 
1533
1670
  // src/components/ui/InputOtp.tsx
1534
- import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
1535
- var InputOtp = forwardRef15(
1671
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
1672
+ var InputOtp = forwardRef18(
1536
1673
  ({ digits, label, description, error, ...props }, ref) => {
1537
- return /* @__PURE__ */ jsxs13(
1674
+ return /* @__PURE__ */ jsxs16(
1538
1675
  "div",
1539
1676
  {
1540
1677
  className: "group flex w-full flex-col gap-1",
1541
1678
  "data-testid": `input-otp-wrapper-${props.id}`,
1542
1679
  children: [
1543
- label && /* @__PURE__ */ jsx23(
1680
+ label && /* @__PURE__ */ jsx26(
1544
1681
  Label_default,
1545
1682
  {
1546
1683
  text: label,
@@ -1549,17 +1686,17 @@ var InputOtp = forwardRef15(
1549
1686
  description
1550
1687
  }
1551
1688
  ),
1552
- /* @__PURE__ */ jsx23("div", { className: "relative flex flex-row items-center", children: /* @__PURE__ */ jsx23(
1689
+ /* @__PURE__ */ jsx26("div", { className: "relative flex flex-row items-center", children: /* @__PURE__ */ jsx26(
1553
1690
  InputOTP,
1554
1691
  {
1555
1692
  ref,
1556
1693
  maxLength: digits,
1557
1694
  "data-testid": `input-otp-element-${props.id}`,
1558
1695
  ...props,
1559
- children: [...Array(digits)].map((_, index) => /* @__PURE__ */ jsx23(InputOTPGroup, { children: /* @__PURE__ */ jsx23(InputOTPSlot, { index, error: Boolean(error) }) }, index))
1696
+ children: [...Array(digits)].map((_, index) => /* @__PURE__ */ jsx26(InputOTPGroup, { children: /* @__PURE__ */ jsx26(InputOTPSlot, { index, error: Boolean(error) }) }, index))
1560
1697
  }
1561
1698
  ) }),
1562
- /* @__PURE__ */ jsx23(ErrorMessage_default, { message: error })
1699
+ /* @__PURE__ */ jsx26(ErrorMessage_default, { message: error })
1563
1700
  ]
1564
1701
  }
1565
1702
  );
@@ -1569,7 +1706,7 @@ InputOtp.displayName = "Input";
1569
1706
 
1570
1707
  // src/components/ui/LinkButton.tsx
1571
1708
  import Link2 from "next/link";
1572
- import { jsx as jsx24 } from "react/jsx-runtime";
1709
+ import { jsx as jsx27 } from "react/jsx-runtime";
1573
1710
  var LinkButton = ({
1574
1711
  disabled = false,
1575
1712
  useAnchor = false,
@@ -1578,7 +1715,7 @@ var LinkButton = ({
1578
1715
  ...props
1579
1716
  }) => {
1580
1717
  const Component = useAnchor ? "a" : Link2;
1581
- return /* @__PURE__ */ jsx24(
1718
+ return /* @__PURE__ */ jsx27(
1582
1719
  Component,
1583
1720
  {
1584
1721
  href,
@@ -1593,7 +1730,7 @@ var LinkButton = ({
1593
1730
  // src/components/ui/ReadMore.tsx
1594
1731
  import { useEffect as useEffect5, useState as useState5 } from "react";
1595
1732
  import Markdown from "react-markdown";
1596
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1733
+ import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
1597
1734
  function ReadMore({ text, ...props }) {
1598
1735
  const [isExpanded, setIsExpanded] = useState5(false);
1599
1736
  const [maxWords, setMaxWords] = useState5(160);
@@ -1618,16 +1755,16 @@ function ReadMore({ text, ...props }) {
1618
1755
  }
1619
1756
  const toggleText = () => setIsExpanded(!isExpanded);
1620
1757
  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(
1758
+ return /* @__PURE__ */ jsxs17("div", { ...props, children: [
1759
+ /* @__PURE__ */ jsx28("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ jsx28(Markdown, { children: snippet }) }),
1760
+ /* @__PURE__ */ jsx28(
1624
1761
  Button,
1625
1762
  {
1626
1763
  type: "button",
1627
1764
  className: "mt-2 flex items-center justify-center",
1628
1765
  variant: "link",
1629
1766
  onClick: toggleText,
1630
- children: /* @__PURE__ */ jsxs14("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1767
+ children: /* @__PURE__ */ jsxs17("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1631
1768
  "Read ",
1632
1769
  isExpanded ? "less" : "more"
1633
1770
  ] })
@@ -1638,18 +1775,19 @@ function ReadMore({ text, ...props }) {
1638
1775
 
1639
1776
  // src/components/ui/DatePicker.tsx
1640
1777
  import { cva as cva10 } from "cva";
1641
- import { forwardRef as forwardRef17, useEffect as useEffect6, useState as useState6 } from "react";
1642
1778
  import { format } from "date-fns";
1779
+ import { Calendar as CalendarIcon } from "lucide-react";
1780
+ import { forwardRef as forwardRef20, useEffect as useEffect6, useState as useState6 } from "react";
1643
1781
 
1644
1782
  // src/components/ui/calendar.tsx
1645
1783
  import { ChevronLeft, ChevronRight } from "lucide-react";
1646
1784
  import { DayPicker } from "react-day-picker";
1647
1785
 
1648
1786
  // src/components/ui/buttonShadcn.tsx
1649
- import * as React9 from "react";
1650
1787
  import { Slot as Slot3 } from "@radix-ui/react-slot";
1651
1788
  import { cva as cva9 } from "class-variance-authority";
1652
- import { jsx as jsx26 } from "react/jsx-runtime";
1789
+ import * as React9 from "react";
1790
+ import { jsx as jsx29 } from "react/jsx-runtime";
1653
1791
  var buttonVariants2 = cva9(
1654
1792
  "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
1793
  {
@@ -1678,27 +1816,15 @@ var buttonVariants2 = cva9(
1678
1816
  var Button2 = React9.forwardRef(
1679
1817
  ({ className, variant, size, asChild = false, ...props }, ref) => {
1680
1818
  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
- );
1819
+ return /* @__PURE__ */ jsx29(Comp, { className: cn(buttonVariants2({ variant, size, className })), ref, ...props });
1689
1820
  }
1690
1821
  );
1691
1822
  Button2.displayName = "Button";
1692
1823
 
1693
1824
  // 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(
1825
+ import { jsx as jsx30 } from "react/jsx-runtime";
1826
+ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
1827
+ return /* @__PURE__ */ jsx30(
1702
1828
  DayPicker,
1703
1829
  {
1704
1830
  showOutsideDays,
@@ -1738,8 +1864,8 @@ function Calendar({
1738
1864
  ...classNames
1739
1865
  },
1740
1866
  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 })
1867
+ IconLeft: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx30(ChevronLeft, { className: cn("h-4 w-4", className2), ...props2 }),
1868
+ IconRight: ({ className: className2, ...props2 }) => /* @__PURE__ */ jsx30(ChevronRight, { className: cn("h-4 w-4", className2), ...props2 })
1743
1869
  },
1744
1870
  ...props
1745
1871
  }
@@ -1748,92 +1874,93 @@ function Calendar({
1748
1874
  Calendar.displayName = "Calendar";
1749
1875
 
1750
1876
  // 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,
1877
+ import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
1878
+ var DatePicker = forwardRef20(
1879
+ ({ label, description, required, classNames, value, onChange, error, id, testId }, ref) => {
1880
+ const [date, setDate] = useState6(null);
1881
+ useEffect6(() => {
1882
+ setDate(value ?? null);
1883
+ }, [value]);
1884
+ const handleDateSelect = (dateSelected) => {
1885
+ if (!dateSelected) return;
1886
+ onChange?.(dateSelected);
1887
+ setDate(dateSelected);
1888
+ };
1889
+ return /* @__PURE__ */ jsxs18("div", { id, className: cn("flex w-auto flex-col gap-1"), children: [
1890
+ label && /* @__PURE__ */ jsx31(
1891
+ Label_default,
1780
1892
  {
1781
- mode: "single",
1782
- selected: date || void 0,
1783
- onSelect: handleDateSelect,
1784
- captionLayout: "dropdown",
1785
- showOutsideDays: true
1893
+ text: label,
1894
+ required,
1895
+ description,
1896
+ className: classNames?.label
1786
1897
  }
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
- ]
1898
+ ),
1899
+ /* @__PURE__ */ jsxs18(Popover, { children: [
1900
+ /* @__PURE__ */ jsx31(PopoverTrigger, { "data-testid": testId, children: /* @__PURE__ */ jsxs18("div", { className: cn(datePickerStyle(), classNames?.input), children: [
1901
+ /* @__PURE__ */ jsx31(CalendarIcon, { size: 16 }),
1902
+ date ? format(date, "MM/dd/yyyy") : "Select a date"
1903
+ ] }) }),
1904
+ /* @__PURE__ */ jsx31(PopoverContent, { ref, children: /* @__PURE__ */ jsx31(
1905
+ Calendar,
1906
+ {
1907
+ mode: "single",
1908
+ selected: date || void 0,
1909
+ onSelect: handleDateSelect,
1910
+ captionLayout: "dropdown",
1911
+ showOutsideDays: true,
1912
+ className: classNames?.calendar
1913
+ }
1914
+ ) })
1915
+ ] }),
1916
+ /* @__PURE__ */ jsx31(ErrorMessage_default, { message: error })
1917
+ ] });
1918
+ }
1823
1919
  );
1920
+ var datePickerStyle = cva10([
1921
+ "placeholder:text-muted-foreground",
1922
+ "focus-visible:ring-ring",
1923
+ "inline-flex",
1924
+ "w-full",
1925
+ "h-11",
1926
+ "items-center",
1927
+ "justify-start",
1928
+ "gap-3",
1929
+ "rounded-lg",
1930
+ "bg-transparent",
1931
+ "px-3",
1932
+ "pt-0.5",
1933
+ "text-sm",
1934
+ "shadow-sm",
1935
+ "ring-grey-50",
1936
+ "transition-colors",
1937
+ "focus-visible:outline-none",
1938
+ "focus-visible:ring-1",
1939
+ "disabled:cursor-not-allowed",
1940
+ "disabled:opacity-50",
1941
+ "appearance-none",
1942
+ "[&::-webkit-search-cancel-button]:appearance-none",
1943
+ "[&::-webkit-search-decoration]:appearance-none",
1944
+ "[&::-webkit-search-results-button]:appearance-none",
1945
+ "[&::-webkit-search-results-decoration]:appearance-none",
1946
+ "[&::-ms-clear]:display-none",
1947
+ "[&::-ms-reveal]:display-none",
1948
+ "text-grey-80 border",
1949
+ "font-normal"
1950
+ ]);
1824
1951
 
1825
1952
  // src/components/company/CompanyBenefits.tsx
1826
- import { jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
1953
+ import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
1827
1954
  function CompanyBenefits({ benefits }) {
1828
1955
  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}`)) })
1956
+ return /* @__PURE__ */ jsxs19("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
1957
+ /* @__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" }),
1958
+ /* @__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
1959
  ] });
1833
1960
  }
1834
1961
 
1835
1962
  // src/components/company/CompanyInformation.tsx
1836
- import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
1963
+ import { jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
1837
1964
  function CompanyInformation({
1838
1965
  name,
1839
1966
  how,
@@ -1841,8 +1968,8 @@ function CompanyInformation({
1841
1968
  wow,
1842
1969
  website
1843
1970
  }) {
1844
- return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2", children: [
1845
- /* @__PURE__ */ jsxs17(
1971
+ return /* @__PURE__ */ jsxs20("div", { className: "flex flex-col gap-2", children: [
1972
+ /* @__PURE__ */ jsxs20(
1846
1973
  "h2",
1847
1974
  {
1848
1975
  "data-testid": "company-name",
@@ -1853,22 +1980,22 @@ function CompanyInformation({
1853
1980
  ]
1854
1981
  }
1855
1982
  ),
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" }),
1983
+ how && /* @__PURE__ */ jsx33("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
1984
+ mission && /* @__PURE__ */ jsxs20("div", { className: "flex gap-2", children: [
1985
+ /* @__PURE__ */ jsx33("span", { children: "\u{1F680}" }),
1986
+ /* @__PURE__ */ jsxs20("p", { className: "text-base text-grey-80", children: [
1987
+ /* @__PURE__ */ jsx33("span", { className: "pr-1 font-bold", children: "Mission" }),
1861
1988
  mission
1862
1989
  ] })
1863
1990
  ] }),
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" }),
1991
+ wow && /* @__PURE__ */ jsxs20("div", { className: "flex gap-2", children: [
1992
+ /* @__PURE__ */ jsx33("span", { children: "\u{1F31F}" }),
1993
+ /* @__PURE__ */ jsxs20("p", { className: "text-base text-grey-80", children: [
1994
+ /* @__PURE__ */ jsx33("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
1868
1995
  wow
1869
1996
  ] })
1870
1997
  ] }),
1871
- website && /* @__PURE__ */ jsx30("div", { className: "pt-2", children: /* @__PURE__ */ jsx30(
1998
+ website && /* @__PURE__ */ jsx33("div", { className: "pt-2", children: /* @__PURE__ */ jsx33(
1872
1999
  LinkButton,
1873
2000
  {
1874
2001
  "data-testid": "company-website-link",
@@ -1882,22 +2009,22 @@ function CompanyInformation({
1882
2009
  }
1883
2010
 
1884
2011
  // src/components/company/CompanyTake.tsx
1885
- import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
2012
+ import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
1886
2013
  function CompanyTake({ content, avatarSrc }) {
1887
2014
  if (!content) return null;
1888
- return /* @__PURE__ */ jsxs18(
2015
+ return /* @__PURE__ */ jsxs21(
1889
2016
  "div",
1890
2017
  {
1891
2018
  "data-testid": "company-take",
1892
2019
  className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6",
1893
2020
  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" })
2021
+ /* @__PURE__ */ jsx34("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
2022
+ /* @__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 }) }),
2023
+ /* @__PURE__ */ jsxs21("div", { className: "mt-8 flex w-full items-center gap-3", children: [
2024
+ /* @__PURE__ */ jsx34(Avatar, { name: "Jon Lee", src: avatarSrc }),
2025
+ /* @__PURE__ */ jsxs21("div", { className: "flex flex-col flex-wrap items-start", children: [
2026
+ /* @__PURE__ */ jsx34("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
2027
+ /* @__PURE__ */ jsx34("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
1901
2028
  ] })
1902
2029
  ] })
1903
2030
  ]
@@ -1906,12 +2033,12 @@ function CompanyTake({ content, avatarSrc }) {
1906
2033
  }
1907
2034
 
1908
2035
  // src/components/jobPost/JobDescription.tsx
1909
- import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
2036
+ import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
1910
2037
  function JobDescription({ description }) {
1911
2038
  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 })
2039
+ return /* @__PURE__ */ jsxs22("div", { className: "flex w-full flex-col gap-2", children: [
2040
+ /* @__PURE__ */ jsx35("h3", { className: "text-xl font-bold", children: "Job Description" }),
2041
+ /* @__PURE__ */ jsx35(ReadMore, { text: description })
1915
2042
  ] });
1916
2043
  }
1917
2044
 
@@ -1929,7 +2056,7 @@ import { useContext as useContext2 } from "react";
1929
2056
  // src/contexts/WindowHistoryProvider.tsx
1930
2057
  import { useSearchParams } from "next/navigation";
1931
2058
  import { createContext, useEffect as useEffect7, useMemo, useState as useState7 } from "react";
1932
- import { jsx as jsx33 } from "react/jsx-runtime";
2059
+ import { jsx as jsx36 } from "react/jsx-runtime";
1933
2060
  var WindowHistoryContext = createContext({});
1934
2061
  function WindowHistoryProvider({ children }) {
1935
2062
  const [history, setHistory] = useState7([]);
@@ -1940,7 +2067,7 @@ function WindowHistoryProvider({ children }) {
1940
2067
  );
1941
2068
  }, [searchParams]);
1942
2069
  const contextValue = useMemo(() => ({ history }), [history]);
1943
- return /* @__PURE__ */ jsx33(WindowHistoryContext.Provider, { value: contextValue, children });
2070
+ return /* @__PURE__ */ jsx36(WindowHistoryContext.Provider, { value: contextValue, children });
1944
2071
  }
1945
2072
 
1946
2073
  // src/hooks/useWindowHistory.ts
@@ -1950,7 +2077,7 @@ function useWindowHistory() {
1950
2077
  }
1951
2078
 
1952
2079
  // src/components/buttons/BackButton.tsx
1953
- import { jsx as jsx34 } from "react/jsx-runtime";
2080
+ import { jsx as jsx37 } from "react/jsx-runtime";
1954
2081
  function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1955
2082
  const { history } = useWindowHistory();
1956
2083
  const router = useRouter();
@@ -1963,7 +2090,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1963
2090
  router.push(fallbackHref ?? "/");
1964
2091
  }
1965
2092
  };
1966
- return /* @__PURE__ */ jsx34(
2093
+ return /* @__PURE__ */ jsx37(
1967
2094
  Icon,
1968
2095
  {
1969
2096
  "aria-label": "back button",
@@ -1972,7 +2099,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1972
2099
  onClick: goBack,
1973
2100
  className,
1974
2101
  ...props,
1975
- children: /* @__PURE__ */ jsx34(X4, {})
2102
+ children: /* @__PURE__ */ jsx37(X4, {})
1976
2103
  }
1977
2104
  );
1978
2105
  }
@@ -2024,7 +2151,7 @@ var iconMap = {
2024
2151
  };
2025
2152
 
2026
2153
  // src/components/jobPost/JobHeader.tsx
2027
- import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
2154
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
2028
2155
  function JobHeader({
2029
2156
  title,
2030
2157
  subtitles,
@@ -2040,9 +2167,9 @@ function JobHeader({
2040
2167
  }) {
2041
2168
  const renderIcon = (icon) => {
2042
2169
  const Icon2 = iconMap[icon];
2043
- return /* @__PURE__ */ jsx35(Icon2, { size: 18 });
2170
+ return /* @__PURE__ */ jsx38(Icon2, { size: 18 });
2044
2171
  };
2045
- return /* @__PURE__ */ jsxs20(
2172
+ return /* @__PURE__ */ jsxs23(
2046
2173
  "div",
2047
2174
  {
2048
2175
  "data-testid": "job-header-root",
@@ -2051,8 +2178,8 @@ function JobHeader({
2051
2178
  !standalone && "rounded-3xl"
2052
2179
  ),
2053
2180
  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(
2181
+ !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: [
2182
+ /* @__PURE__ */ jsx38(
2056
2183
  Image2,
2057
2184
  {
2058
2185
  className: "h-full w-full rounded-t-3xl object-cover",
@@ -2061,7 +2188,7 @@ function JobHeader({
2061
2188
  fill: true
2062
2189
  }
2063
2190
  ),
2064
- /* @__PURE__ */ jsx35(
2191
+ /* @__PURE__ */ jsx38(
2065
2192
  BackButton,
2066
2193
  {
2067
2194
  acceptedRoutes: backAcceptedRoutes,
@@ -2070,12 +2197,12 @@ function JobHeader({
2070
2197
  "data-testid": "job-header-back-button"
2071
2198
  }
2072
2199
  ),
2073
- /* @__PURE__ */ jsx35(
2200
+ /* @__PURE__ */ jsx38(
2074
2201
  "div",
2075
2202
  {
2076
2203
  className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
2077
2204
  "data-testid": "job-header-avatar",
2078
- children: /* @__PURE__ */ jsx35(
2205
+ children: /* @__PURE__ */ jsx38(
2079
2206
  Avatar,
2080
2207
  {
2081
2208
  size: "large",
@@ -2089,9 +2216,9 @@ function JobHeader({
2089
2216
  }
2090
2217
  )
2091
2218
  ] }),
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(
2219
+ /* @__PURE__ */ jsxs23("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
2220
+ /* @__PURE__ */ jsxs23("div", { className: "flex flex-col md:flex-row", children: [
2221
+ standalone && /* @__PURE__ */ jsx38("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ jsx38(
2095
2222
  Avatar,
2096
2223
  {
2097
2224
  size: "large",
@@ -2102,26 +2229,26 @@ function JobHeader({
2102
2229
  rel: "noopener noreferrer"
2103
2230
  }
2104
2231
  ) }),
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(
2232
+ /* @__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
2233
  "div",
2107
2234
  {
2108
2235
  "data-testid": `job-header-subtitle-${i}`,
2109
2236
  className: "flex items-center",
2110
2237
  children: [
2111
2238
  subtitle,
2112
- i < subtitles.length - 1 && /* @__PURE__ */ jsx35(Dot2, { className: "mx-1 shrink-0", size: 10 })
2239
+ i < subtitles.length - 1 && /* @__PURE__ */ jsx38(Dot2, { className: "mx-1 shrink-0", size: 10 })
2113
2240
  ]
2114
2241
  },
2115
2242
  subtitle
2116
2243
  )) })
2117
2244
  ] }),
2118
- /* @__PURE__ */ jsxs20(
2245
+ /* @__PURE__ */ jsxs23(
2119
2246
  "div",
2120
2247
  {
2121
2248
  "data-testid": "job-header-content",
2122
2249
  className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1",
2123
2250
  children: [
2124
- /* @__PURE__ */ jsx35(
2251
+ /* @__PURE__ */ jsx38(
2125
2252
  "h2",
2126
2253
  {
2127
2254
  "data-testid": "job-header-title",
@@ -2129,7 +2256,7 @@ function JobHeader({
2129
2256
  children: title
2130
2257
  }
2131
2258
  ),
2132
- !!actions && /* @__PURE__ */ jsx35(
2259
+ !!actions && /* @__PURE__ */ jsx38(
2133
2260
  "div",
2134
2261
  {
2135
2262
  className: "flex w-full justify-end gap-2 md:w-auto",
@@ -2140,12 +2267,12 @@ function JobHeader({
2140
2267
  ]
2141
2268
  }
2142
2269
  ),
2143
- /* @__PURE__ */ jsx35(
2270
+ /* @__PURE__ */ jsx38(
2144
2271
  "div",
2145
2272
  {
2146
2273
  "data-testid": "job-header-tags",
2147
2274
  className: "flex flex-row flex-wrap items-center justify-start gap-2",
2148
- children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs20(
2275
+ children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs23(
2149
2276
  Chip_default,
2150
2277
  {
2151
2278
  size: "small",
@@ -2154,7 +2281,7 @@ function JobHeader({
2154
2281
  "data-testid": `job-header-tag-${name}`,
2155
2282
  children: [
2156
2283
  renderIcon(icon),
2157
- /* @__PURE__ */ jsx35("span", { children: label })
2284
+ /* @__PURE__ */ jsx38("span", { children: label })
2158
2285
  ]
2159
2286
  },
2160
2287
  name
@@ -2756,7 +2883,7 @@ function salaryRange(salary) {
2756
2883
  }
2757
2884
 
2758
2885
  // src/components/jobPost/JobPost.tsx
2759
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
2886
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
2760
2887
  function JobPost({
2761
2888
  job,
2762
2889
  bannerSrc,
@@ -2800,7 +2927,7 @@ function JobPost({
2800
2927
  label: formattedLocation
2801
2928
  }
2802
2929
  ].filter((t) => !!t);
2803
- return /* @__PURE__ */ jsxs21(
2930
+ return /* @__PURE__ */ jsxs24(
2804
2931
  "div",
2805
2932
  {
2806
2933
  className: cn(
@@ -2808,7 +2935,7 @@ function JobPost({
2808
2935
  !standalone && "border-1 rounded-3xl border-grey-5"
2809
2936
  ),
2810
2937
  children: [
2811
- /* @__PURE__ */ jsx36(
2938
+ /* @__PURE__ */ jsx39(
2812
2939
  JobHeader,
2813
2940
  {
2814
2941
  title: job.title,
@@ -2822,16 +2949,16 @@ function JobPost({
2822
2949
  tags
2823
2950
  }
2824
2951
  ),
2825
- /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-8 px-6", children: [
2826
- /* @__PURE__ */ jsx36(JobDescription, { description: job.description }),
2827
- /* @__PURE__ */ jsx36(
2952
+ /* @__PURE__ */ jsxs24("div", { className: "flex flex-col gap-8 px-6", children: [
2953
+ /* @__PURE__ */ jsx39(JobDescription, { description: job.description }),
2954
+ /* @__PURE__ */ jsx39(
2828
2955
  CompanyTake,
2829
2956
  {
2830
2957
  avatarSrc,
2831
2958
  content: job.hiringOrganization?.companyNdg?.companyNdgTake
2832
2959
  }
2833
2960
  ),
2834
- /* @__PURE__ */ jsx36(
2961
+ /* @__PURE__ */ jsx39(
2835
2962
  CompanyInformation,
2836
2963
  {
2837
2964
  name: job.hiringOrganization?.companyName ?? "",
@@ -2841,7 +2968,7 @@ function JobPost({
2841
2968
  website: job.hiringOrganization?.companyWebsite
2842
2969
  }
2843
2970
  ),
2844
- /* @__PURE__ */ jsx36(
2971
+ /* @__PURE__ */ jsx39(
2845
2972
  CompanyBenefits,
2846
2973
  {
2847
2974
  benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
@@ -3068,7 +3195,7 @@ export {
3068
3195
  BackButton,
3069
3196
  Badge,
3070
3197
  Button,
3071
- Checkbox_default as Checkbox,
3198
+ Checkbox,
3072
3199
  Chip_default as Chip,
3073
3200
  Combobox,
3074
3201
  CompanyBenefits,
@@ -3089,9 +3216,11 @@ export {
3089
3216
  ListItem_default as ListItem,
3090
3217
  MapComponent_default as MapComponent,
3091
3218
  PlacesQueryInput_default as PlacesQueryInput,
3219
+ Radio,
3092
3220
  ReadMore,
3093
3221
  Select_default as Select,
3094
3222
  shared_pickle_output_latest_exports as SharedService,
3223
+ Switch,
3095
3224
  WindowHistoryProvider,
3096
3225
  cn,
3097
3226
  fetchLocation,