@next-degree/pickle-shared-js 0.6.46 → 0.6.48

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 (113) hide show
  1. package/dist/components/buttons/BackButton.cjs +0 -3
  2. package/dist/components/buttons/BackButton.cjs.map +1 -1
  3. package/dist/components/buttons/BackButton.js +0 -3
  4. package/dist/components/buttons/BackButton.js.map +1 -1
  5. package/dist/components/company/CompanyTake.cjs.map +1 -1
  6. package/dist/components/company/CompanyTake.js.map +1 -1
  7. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  8. package/dist/components/jobPost/JobDescription.js.map +1 -1
  9. package/dist/components/jobPost/JobHeader.cjs +0 -3
  10. package/dist/components/jobPost/JobHeader.cjs.map +1 -1
  11. package/dist/components/jobPost/JobHeader.js +0 -3
  12. package/dist/components/jobPost/JobHeader.js.map +1 -1
  13. package/dist/components/jobPost/JobPost.cjs +0 -3
  14. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  15. package/dist/components/jobPost/JobPost.d.cts +1 -1
  16. package/dist/components/jobPost/JobPost.d.ts +1 -1
  17. package/dist/components/jobPost/JobPost.js +0 -3
  18. package/dist/components/jobPost/JobPost.js.map +1 -1
  19. package/dist/components/primitives/avatar.cjs.map +1 -1
  20. package/dist/components/primitives/avatar.js.map +1 -1
  21. package/dist/components/primitives/command.cjs.map +1 -1
  22. package/dist/components/primitives/command.d.cts +3 -3
  23. package/dist/components/primitives/command.d.ts +3 -3
  24. package/dist/components/primitives/command.js.map +1 -1
  25. package/dist/components/primitives/dialog.cjs.map +1 -1
  26. package/dist/components/primitives/dialog.js.map +1 -1
  27. package/dist/components/primitives/input-otp.cjs +99 -0
  28. package/dist/components/primitives/input-otp.cjs.map +1 -0
  29. package/dist/components/primitives/input-otp.d.cts +38 -0
  30. package/dist/components/primitives/input-otp.d.ts +38 -0
  31. package/dist/components/primitives/input-otp.js +62 -0
  32. package/dist/components/primitives/input-otp.js.map +1 -0
  33. package/dist/components/primitives/popover.cjs.map +1 -1
  34. package/dist/components/primitives/popover.js.map +1 -1
  35. package/dist/components/primitives/separator.cjs.map +1 -1
  36. package/dist/components/primitives/separator.js.map +1 -1
  37. package/dist/components/primitives/tooltip.cjs.map +1 -1
  38. package/dist/components/primitives/tooltip.js.map +1 -1
  39. package/dist/components/ui/Avatar.cjs.map +1 -1
  40. package/dist/components/ui/Avatar.js.map +1 -1
  41. package/dist/components/ui/Badge.cjs.map +1 -1
  42. package/dist/components/ui/Badge.js.map +1 -1
  43. package/dist/components/ui/Button.cjs.map +1 -1
  44. package/dist/components/ui/Button.js.map +1 -1
  45. package/dist/components/ui/Checkbox.cjs.map +1 -1
  46. package/dist/components/ui/Checkbox.js.map +1 -1
  47. package/dist/components/ui/Combobox.cjs.map +1 -1
  48. package/dist/components/ui/Combobox.js.map +1 -1
  49. package/dist/components/ui/Counter.cjs.map +1 -1
  50. package/dist/components/ui/Counter.js.map +1 -1
  51. package/dist/components/ui/ErrorMessage.cjs.map +1 -1
  52. package/dist/components/ui/ErrorMessage.js.map +1 -1
  53. package/dist/components/ui/Icon.cjs.map +1 -1
  54. package/dist/components/ui/Icon.js.map +1 -1
  55. package/dist/components/ui/Input.cjs.map +1 -1
  56. package/dist/components/ui/Input.js.map +1 -1
  57. package/dist/components/ui/InputOtp.cjs +187 -0
  58. package/dist/components/ui/InputOtp.cjs.map +1 -0
  59. package/dist/components/ui/InputOtp.d.cts +14 -0
  60. package/dist/components/ui/InputOtp.d.ts +14 -0
  61. package/dist/components/ui/InputOtp.js +152 -0
  62. package/dist/components/ui/InputOtp.js.map +1 -0
  63. package/dist/components/ui/Label.cjs.map +1 -1
  64. package/dist/components/ui/Label.js.map +1 -1
  65. package/dist/components/ui/ListItem.cjs.map +1 -1
  66. package/dist/components/ui/ListItem.js.map +1 -1
  67. package/dist/components/ui/MapComponent.cjs.map +1 -1
  68. package/dist/components/ui/MapComponent.js.map +1 -1
  69. package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
  70. package/dist/components/ui/PlacesQueryInput.js.map +1 -1
  71. package/dist/components/ui/ReadMore.cjs.map +1 -1
  72. package/dist/components/ui/ReadMore.js.map +1 -1
  73. package/dist/components/ui/Select.cjs.map +1 -1
  74. package/dist/components/ui/Select.js.map +1 -1
  75. package/dist/{displayText-D8JK59Z-.d.ts → displayText-DDf9iWyg.d.ts} +2 -2
  76. package/dist/{displayText-DT2bYICS.d.cts → displayText-mYUVo6Ek.d.cts} +2 -2
  77. package/dist/hooks/useDisplayText.d.cts +3 -3
  78. package/dist/hooks/useDisplayText.d.ts +3 -3
  79. package/dist/hooks/useWindowHistory.cjs +0 -3
  80. package/dist/hooks/useWindowHistory.cjs.map +1 -1
  81. package/dist/hooks/useWindowHistory.js +0 -3
  82. package/dist/hooks/useWindowHistory.js.map +1 -1
  83. package/dist/index.cjs +207 -123
  84. package/dist/index.cjs.map +1 -1
  85. package/dist/index.d.cts +5 -4
  86. package/dist/index.d.ts +5 -4
  87. package/dist/index.js +171 -88
  88. package/dist/index.js.map +1 -1
  89. package/dist/{job_posting_service_latest-RgzWsEdh.d.cts → job_posting_service_latest-Dn5s8beY.d.cts} +183 -183
  90. package/dist/{job_posting_service_latest-RgzWsEdh.d.ts → job_posting_service_latest-Dn5s8beY.d.ts} +183 -183
  91. package/dist/lib/locations.d.cts +2 -2
  92. package/dist/lib/locations.d.ts +2 -2
  93. package/dist/lib/mappings.d.cts +3 -3
  94. package/dist/lib/mappings.d.ts +3 -3
  95. package/dist/lib/salaryRange.d.cts +1 -1
  96. package/dist/lib/salaryRange.d.ts +1 -1
  97. package/dist/lib/utils.cjs.map +1 -1
  98. package/dist/lib/utils.js.map +1 -1
  99. package/dist/services/displayText.d.cts +3 -3
  100. package/dist/services/displayText.d.ts +3 -3
  101. package/dist/styles/globals.css +109 -37
  102. package/dist/styles/globals.css.map +1 -1
  103. package/dist/types/data/company_service_latest.d.cts +1 -1
  104. package/dist/types/data/company_service_latest.d.ts +1 -1
  105. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  106. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  107. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  108. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  109. package/package.json +6 -4
  110. package/dist/{company_service_latest-B7KhyYDc.d.cts → company_service_latest-DelYl1hO.d.cts} +174 -174
  111. package/dist/{company_service_latest-B7KhyYDc.d.ts → company_service_latest-DelYl1hO.d.ts} +174 -174
  112. package/dist/{shared_pickle_output_latest-D8viuRLi.d.cts → shared_pickle_output_latest-DbAgINuf.d.cts} +15 -15
  113. package/dist/{shared_pickle_output_latest-D8viuRLi.d.ts → shared_pickle_output_latest-DbAgINuf.d.ts} +15 -15
package/dist/index.d.cts CHANGED
@@ -9,6 +9,7 @@ export { Place, default as PlacesQueryInput } from './components/ui/PlacesQueryI
9
9
  export { Button } from './components/ui/Button.cjs';
10
10
  export { Combobox } from './components/ui/Combobox.cjs';
11
11
  export { Counter } from './components/ui/Counter.cjs';
12
+ export { InputOtp } from './components/ui/InputOtp.cjs';
12
13
  export { Badge } from './components/ui/Badge.cjs';
13
14
  export { Avatar } from './components/ui/Avatar.cjs';
14
15
  export { Icon } from './components/ui/Icon.cjs';
@@ -26,9 +27,9 @@ export { BackButton } from './components/buttons/BackButton.cjs';
26
27
  export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
27
28
  export { useDisplayText } from './hooks/useDisplayText.cjs';
28
29
  export { useWindowHistory } from './hooks/useWindowHistory.cjs';
29
- export { j as JobPostService } from './job_posting_service_latest-RgzWsEdh.cjs';
30
- export { c as CompanyService } from './company_service_latest-B7KhyYDc.cjs';
31
- export { s as SharedService } from './shared_pickle_output_latest-D8viuRLi.cjs';
30
+ export { j as JobPostService } from './job_posting_service_latest-Dn5s8beY.cjs';
31
+ export { c as CompanyService } from './company_service_latest-DelYl1hO.cjs';
32
+ export { s as SharedService } from './shared_pickle_output_latest-DbAgINuf.cjs';
32
33
  import 'react';
33
34
  import 'cva/types';
34
35
  import 'react/jsx-runtime';
@@ -39,5 +40,5 @@ import '@googlemaps/google-maps-services-js';
39
40
  import 'next/link';
40
41
  import 'clsx';
41
42
  import './lib/icons.cjs';
42
- import './displayText-DT2bYICS.cjs';
43
+ import './displayText-mYUVo6Ek.cjs';
43
44
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export { Place, default as PlacesQueryInput } from './components/ui/PlacesQueryI
9
9
  export { Button } from './components/ui/Button.js';
10
10
  export { Combobox } from './components/ui/Combobox.js';
11
11
  export { Counter } from './components/ui/Counter.js';
12
+ export { InputOtp } from './components/ui/InputOtp.js';
12
13
  export { Badge } from './components/ui/Badge.js';
13
14
  export { Avatar } from './components/ui/Avatar.js';
14
15
  export { Icon } from './components/ui/Icon.js';
@@ -26,9 +27,9 @@ export { BackButton } from './components/buttons/BackButton.js';
26
27
  export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
27
28
  export { useDisplayText } from './hooks/useDisplayText.js';
28
29
  export { useWindowHistory } from './hooks/useWindowHistory.js';
29
- export { j as JobPostService } from './job_posting_service_latest-RgzWsEdh.js';
30
- export { c as CompanyService } from './company_service_latest-B7KhyYDc.js';
31
- export { s as SharedService } from './shared_pickle_output_latest-D8viuRLi.js';
30
+ export { j as JobPostService } from './job_posting_service_latest-Dn5s8beY.js';
31
+ export { c as CompanyService } from './company_service_latest-DelYl1hO.js';
32
+ export { s as SharedService } from './shared_pickle_output_latest-DbAgINuf.js';
32
33
  import 'react';
33
34
  import 'cva/types';
34
35
  import 'react/jsx-runtime';
@@ -39,5 +40,5 @@ import '@googlemaps/google-maps-services-js';
39
40
  import 'next/link';
40
41
  import 'clsx';
41
42
  import './lib/icons.js';
42
- import './displayText-D8JK59Z-.js';
43
+ import './displayText-DDf9iWyg.js';
43
44
  import 'zod';
package/dist/index.js CHANGED
@@ -1325,11 +1325,96 @@ var counterVariants = cva6(
1325
1325
  }
1326
1326
  );
1327
1327
 
1328
+ // src/components/ui/InputOtp.tsx
1329
+ import { forwardRef as forwardRef13 } from "react";
1330
+
1331
+ // src/components/primitives/input-otp.tsx
1332
+ import * as React7 from "react";
1333
+ import { OTPInput, OTPInputContext } from "input-otp";
1334
+ import { Dot } from "lucide-react";
1335
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
1336
+ var InputOTP = React7.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx19(
1337
+ OTPInput,
1338
+ {
1339
+ ref,
1340
+ containerClassName: cn(
1341
+ "flex items-center gap-2 has-[:disabled]:opacity-50",
1342
+ containerClassName
1343
+ ),
1344
+ className: cn("disabled:cursor-not-allowed", className),
1345
+ ...props
1346
+ }
1347
+ ));
1348
+ InputOTP.displayName = "InputOTP";
1349
+ var InputOTPGroup = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19("div", { ref, className: cn("flex items-center", className), ...props }));
1350
+ InputOTPGroup.displayName = "InputOTPGroup";
1351
+ var InputOTPSlot = React7.forwardRef(({ index, error, className, ...props }, ref) => {
1352
+ const inputOTPContext = React7.useContext(OTPInputContext);
1353
+ const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
1354
+ return /* @__PURE__ */ jsxs11(
1355
+ "div",
1356
+ {
1357
+ ref,
1358
+ className: cn(
1359
+ "relative flex h-10 w-10 items-center justify-center border-y border-r border-neutral-200 text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md dark:border-neutral-800",
1360
+ isActive && "z-10 ring-2 ring-purple-100 ring-offset-white dark:ring-purple-20 dark:ring-offset-purple-100",
1361
+ error && "border-red-500 dark:border-red-400",
1362
+ className
1363
+ ),
1364
+ ...props,
1365
+ children: [
1366
+ char,
1367
+ hasFakeCaret && /* @__PURE__ */ jsx19("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx19("div", { className: "animate-caret-blink h-4 w-px bg-neutral-950 duration-1000 dark:bg-neutral-50" }) })
1368
+ ]
1369
+ }
1370
+ );
1371
+ });
1372
+ InputOTPSlot.displayName = "InputOTPSlot";
1373
+ var InputOTPSeparator = React7.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx19("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ jsx19(Dot, {}) }));
1374
+ InputOTPSeparator.displayName = "InputOTPSeparator";
1375
+
1376
+ // src/components/ui/InputOtp.tsx
1377
+ import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
1378
+ var InputOtp = forwardRef13(
1379
+ ({ digits, label, description, error, ...props }, ref) => {
1380
+ return /* @__PURE__ */ jsxs12(
1381
+ "div",
1382
+ {
1383
+ className: "group flex w-full flex-col gap-1",
1384
+ "data-testid": `input-otp-wrapper-${props.id}`,
1385
+ children: [
1386
+ label && /* @__PURE__ */ jsx20(
1387
+ Label_default,
1388
+ {
1389
+ text: label,
1390
+ htmlFor: props.name,
1391
+ required: props.required,
1392
+ description
1393
+ }
1394
+ ),
1395
+ /* @__PURE__ */ jsx20("div", { className: "relative flex flex-row items-center", children: /* @__PURE__ */ jsx20(
1396
+ InputOTP,
1397
+ {
1398
+ ref,
1399
+ maxLength: digits,
1400
+ "data-testid": `input-otp-element-${props.id}`,
1401
+ ...props,
1402
+ children: [...Array(digits)].map((_, index) => /* @__PURE__ */ jsx20(InputOTPGroup, { children: /* @__PURE__ */ jsx20(InputOTPSlot, { index, error: Boolean(error) }) }, index))
1403
+ }
1404
+ ) }),
1405
+ /* @__PURE__ */ jsx20(ErrorMessage_default, { message: error })
1406
+ ]
1407
+ }
1408
+ );
1409
+ }
1410
+ );
1411
+ InputOtp.displayName = "Input";
1412
+
1328
1413
  // src/components/primitives/avatar.tsx
1329
1414
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
1330
- import * as React7 from "react";
1331
- import { jsx as jsx19 } from "react/jsx-runtime";
1332
- var AvatarBase = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1415
+ import * as React8 from "react";
1416
+ import { jsx as jsx21 } from "react/jsx-runtime";
1417
+ var AvatarBase = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1333
1418
  AvatarPrimitive.Root,
1334
1419
  {
1335
1420
  ref,
@@ -1338,7 +1423,7 @@ var AvatarBase = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1338
1423
  }
1339
1424
  ));
1340
1425
  AvatarBase.displayName = AvatarPrimitive.Root.displayName;
1341
- var AvatarImage = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1426
+ var AvatarImage = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1342
1427
  AvatarPrimitive.Image,
1343
1428
  {
1344
1429
  ref,
@@ -1348,7 +1433,7 @@ var AvatarImage = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE
1348
1433
  }
1349
1434
  ));
1350
1435
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
1351
- var AvatarFallback = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
1436
+ var AvatarFallback = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
1352
1437
  AvatarPrimitive.Fallback,
1353
1438
  {
1354
1439
  ref,
@@ -1364,17 +1449,17 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
1364
1449
  // src/components/ui/Avatar.tsx
1365
1450
  import { cva as cva7 } from "cva";
1366
1451
  import Link from "next/link";
1367
- import { jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
1452
+ import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
1368
1453
  function Avatar({ size, src, href, name, ...linkProps }) {
1369
1454
  const fallbackShort = name?.slice(0, 2);
1370
1455
  const fallbackWords = name?.split(" ").map((n) => n[0]).join("").slice(0, 2);
1371
1456
  const fallback = fallbackWords && fallbackWords.length > 1 ? fallbackWords : fallbackShort;
1372
- const renderAvatar = () => /* @__PURE__ */ jsxs11(AvatarBase, { className: avatarVariants({ size }), children: [
1373
- /* @__PURE__ */ jsx20(AvatarImage, { src, alt: name }),
1374
- /* @__PURE__ */ jsx20(AvatarFallback, { children: fallback?.toUpperCase() })
1457
+ const renderAvatar = () => /* @__PURE__ */ jsxs13(AvatarBase, { className: avatarVariants({ size }), children: [
1458
+ /* @__PURE__ */ jsx22(AvatarImage, { src, alt: name }),
1459
+ /* @__PURE__ */ jsx22(AvatarFallback, { children: fallback?.toUpperCase() })
1375
1460
  ] });
1376
1461
  if (href) {
1377
- return /* @__PURE__ */ jsx20(Link, { href, ...linkProps, children: renderAvatar() });
1462
+ return /* @__PURE__ */ jsx22(Link, { href, ...linkProps, children: renderAvatar() });
1378
1463
  }
1379
1464
  return renderAvatar();
1380
1465
  }
@@ -1394,13 +1479,13 @@ var avatarVariants = cva7("ring ring-white ring-2", {
1394
1479
  // src/components/ui/Icon.tsx
1395
1480
  import { Slot as Slot2 } from "@radix-ui/react-slot";
1396
1481
  import { cva as cva8 } from "cva";
1397
- import { forwardRef as forwardRef13 } from "react";
1482
+ import { forwardRef as forwardRef15 } from "react";
1398
1483
  import { twMerge as twMerge3 } from "tailwind-merge";
1399
- import { jsx as jsx21 } from "react/jsx-runtime";
1400
- var Icon = forwardRef13(
1484
+ import { jsx as jsx23 } from "react/jsx-runtime";
1485
+ var Icon = forwardRef15(
1401
1486
  ({ variant, size, active = false, readonly = false, className, ...props }, ref) => {
1402
1487
  const Component = readonly ? Slot2 : "button";
1403
- return /* @__PURE__ */ jsx21(
1488
+ return /* @__PURE__ */ jsx23(
1404
1489
  Component,
1405
1490
  {
1406
1491
  className: cn(
@@ -1470,7 +1555,7 @@ var iconVariants = cva8(
1470
1555
 
1471
1556
  // src/components/ui/LinkButton.tsx
1472
1557
  import Link2 from "next/link";
1473
- import { jsx as jsx22 } from "react/jsx-runtime";
1558
+ import { jsx as jsx24 } from "react/jsx-runtime";
1474
1559
  var LinkButton = ({
1475
1560
  disabled = false,
1476
1561
  useAnchor = false,
@@ -1479,7 +1564,7 @@ var LinkButton = ({
1479
1564
  ...props
1480
1565
  }) => {
1481
1566
  const Component = useAnchor ? "a" : Link2;
1482
- return /* @__PURE__ */ jsx22(
1567
+ return /* @__PURE__ */ jsx24(
1483
1568
  Component,
1484
1569
  {
1485
1570
  href,
@@ -1494,7 +1579,7 @@ var LinkButton = ({
1494
1579
  // src/components/ui/ReadMore.tsx
1495
1580
  import { useEffect as useEffect5, useState as useState5 } from "react";
1496
1581
  import Markdown from "react-markdown";
1497
- import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
1582
+ import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1498
1583
  function ReadMore({ text, ...props }) {
1499
1584
  const [isExpanded, setIsExpanded] = useState5(false);
1500
1585
  const [maxWords, setMaxWords] = useState5(160);
@@ -1519,9 +1604,9 @@ function ReadMore({ text, ...props }) {
1519
1604
  }
1520
1605
  const toggleText = () => setIsExpanded(!isExpanded);
1521
1606
  const snippet = createReadMoreText(text, maxWords, isExpanded);
1522
- return /* @__PURE__ */ jsxs12("div", { ...props, children: [
1523
- /* @__PURE__ */ jsx23("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ jsx23(Markdown, { children: snippet }) }),
1524
- /* @__PURE__ */ jsx23(Button, { className: "mt-2 flex items-center justify-center", variant: "link", onClick: toggleText, children: /* @__PURE__ */ jsxs12("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1607
+ return /* @__PURE__ */ jsxs14("div", { ...props, children: [
1608
+ /* @__PURE__ */ jsx25("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ jsx25(Markdown, { children: snippet }) }),
1609
+ /* @__PURE__ */ jsx25(Button, { className: "mt-2 flex items-center justify-center", variant: "link", onClick: toggleText, children: /* @__PURE__ */ jsxs14("p", { className: "text-sm font-bold underline underline-offset-2", children: [
1525
1610
  "Read ",
1526
1611
  isExpanded ? "less" : "more"
1527
1612
  ] }) })
@@ -1529,17 +1614,17 @@ function ReadMore({ text, ...props }) {
1529
1614
  }
1530
1615
 
1531
1616
  // src/components/company/CompanyBenefits.tsx
1532
- import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
1617
+ import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
1533
1618
  function CompanyBenefits({ benefits }) {
1534
1619
  if (!benefits) return null;
1535
- return /* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
1536
- /* @__PURE__ */ jsx24("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
1537
- /* @__PURE__ */ jsx24("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ jsx24("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
1620
+ return /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
1621
+ /* @__PURE__ */ jsx26("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
1622
+ /* @__PURE__ */ jsx26("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ jsx26("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
1538
1623
  ] });
1539
1624
  }
1540
1625
 
1541
1626
  // src/components/company/CompanyInformation.tsx
1542
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1627
+ import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
1543
1628
  function CompanyInformation({
1544
1629
  name,
1545
1630
  how,
@@ -1547,8 +1632,8 @@ function CompanyInformation({
1547
1632
  wow,
1548
1633
  website
1549
1634
  }) {
1550
- return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col gap-2", children: [
1551
- /* @__PURE__ */ jsxs14(
1635
+ return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-2", children: [
1636
+ /* @__PURE__ */ jsxs16(
1552
1637
  "h2",
1553
1638
  {
1554
1639
  "data-testid": "company-name",
@@ -1559,22 +1644,22 @@ function CompanyInformation({
1559
1644
  ]
1560
1645
  }
1561
1646
  ),
1562
- how && /* @__PURE__ */ jsx25("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
1563
- mission && /* @__PURE__ */ jsxs14("div", { className: "flex gap-2", children: [
1564
- /* @__PURE__ */ jsx25("span", { children: "\u{1F680}" }),
1565
- /* @__PURE__ */ jsxs14("p", { className: "text-base text-grey-80", children: [
1566
- /* @__PURE__ */ jsx25("span", { className: "pr-1 font-bold", children: "Mission" }),
1647
+ how && /* @__PURE__ */ jsx27("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
1648
+ mission && /* @__PURE__ */ jsxs16("div", { className: "flex gap-2", children: [
1649
+ /* @__PURE__ */ jsx27("span", { children: "\u{1F680}" }),
1650
+ /* @__PURE__ */ jsxs16("p", { className: "text-base text-grey-80", children: [
1651
+ /* @__PURE__ */ jsx27("span", { className: "pr-1 font-bold", children: "Mission" }),
1567
1652
  mission
1568
1653
  ] })
1569
1654
  ] }),
1570
- wow && /* @__PURE__ */ jsxs14("div", { className: "flex gap-2", children: [
1571
- /* @__PURE__ */ jsx25("span", { children: "\u{1F31F}" }),
1572
- /* @__PURE__ */ jsxs14("p", { className: "text-base text-grey-80", children: [
1573
- /* @__PURE__ */ jsx25("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
1655
+ wow && /* @__PURE__ */ jsxs16("div", { className: "flex gap-2", children: [
1656
+ /* @__PURE__ */ jsx27("span", { children: "\u{1F31F}" }),
1657
+ /* @__PURE__ */ jsxs16("p", { className: "text-base text-grey-80", children: [
1658
+ /* @__PURE__ */ jsx27("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
1574
1659
  wow
1575
1660
  ] })
1576
1661
  ] }),
1577
- website && /* @__PURE__ */ jsx25("div", { className: "pt-2", children: /* @__PURE__ */ jsx25(
1662
+ website && /* @__PURE__ */ jsx27("div", { className: "pt-2", children: /* @__PURE__ */ jsx27(
1578
1663
  LinkButton,
1579
1664
  {
1580
1665
  "data-testid": "company-website-link",
@@ -1588,22 +1673,22 @@ function CompanyInformation({
1588
1673
  }
1589
1674
 
1590
1675
  // src/components/company/CompanyTake.tsx
1591
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
1676
+ import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
1592
1677
  function CompanyTake({ content, avatarSrc }) {
1593
1678
  if (!content) return null;
1594
- return /* @__PURE__ */ jsxs15(
1679
+ return /* @__PURE__ */ jsxs17(
1595
1680
  "div",
1596
1681
  {
1597
1682
  "data-testid": "company-take",
1598
1683
  className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6",
1599
1684
  children: [
1600
- /* @__PURE__ */ jsx26("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
1601
- /* @__PURE__ */ jsx26("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ jsx26("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
1602
- /* @__PURE__ */ jsxs15("div", { className: "mt-8 flex w-full items-center gap-3", children: [
1603
- /* @__PURE__ */ jsx26(Avatar, { name: "Jon Lee", src: avatarSrc }),
1604
- /* @__PURE__ */ jsxs15("div", { className: "flex flex-col flex-wrap items-start", children: [
1605
- /* @__PURE__ */ jsx26("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
1606
- /* @__PURE__ */ jsx26("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
1685
+ /* @__PURE__ */ jsx28("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
1686
+ /* @__PURE__ */ jsx28("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ jsx28("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
1687
+ /* @__PURE__ */ jsxs17("div", { className: "mt-8 flex w-full items-center gap-3", children: [
1688
+ /* @__PURE__ */ jsx28(Avatar, { name: "Jon Lee", src: avatarSrc }),
1689
+ /* @__PURE__ */ jsxs17("div", { className: "flex flex-col flex-wrap items-start", children: [
1690
+ /* @__PURE__ */ jsx28("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
1691
+ /* @__PURE__ */ jsx28("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
1607
1692
  ] })
1608
1693
  ] })
1609
1694
  ]
@@ -1612,17 +1697,17 @@ function CompanyTake({ content, avatarSrc }) {
1612
1697
  }
1613
1698
 
1614
1699
  // src/components/jobPost/JobDescription.tsx
1615
- import { jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
1700
+ import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
1616
1701
  function JobDescription({ description }) {
1617
1702
  if (!description) return null;
1618
- return /* @__PURE__ */ jsxs16("div", { className: "flex w-full flex-col gap-2", children: [
1619
- /* @__PURE__ */ jsx27("h3", { className: "text-xl font-bold", children: "Job Description" }),
1620
- /* @__PURE__ */ jsx27(ReadMore, { text: description })
1703
+ return /* @__PURE__ */ jsxs18("div", { className: "flex w-full flex-col gap-2", children: [
1704
+ /* @__PURE__ */ jsx29("h3", { className: "text-xl font-bold", children: "Job Description" }),
1705
+ /* @__PURE__ */ jsx29(ReadMore, { text: description })
1621
1706
  ] });
1622
1707
  }
1623
1708
 
1624
1709
  // src/components/jobPost/JobHeader.tsx
1625
- import { Dot } from "lucide-react";
1710
+ import { Dot as Dot2 } from "lucide-react";
1626
1711
  import Image2 from "next/image";
1627
1712
 
1628
1713
  // src/components/buttons/BackButton.tsx
@@ -1630,12 +1715,12 @@ import { X as X4 } from "lucide-react";
1630
1715
  import { useRouter } from "next/navigation";
1631
1716
 
1632
1717
  // src/hooks/useWindowHistory.ts
1633
- import { useContext } from "react";
1718
+ import { useContext as useContext2 } from "react";
1634
1719
 
1635
1720
  // src/contexts/WindowHistoryProvider.tsx
1636
1721
  import { useSearchParams } from "next/navigation";
1637
1722
  import { createContext, useEffect as useEffect6, useMemo, useState as useState6 } from "react";
1638
- import { jsx as jsx28 } from "react/jsx-runtime";
1723
+ import { jsx as jsx30 } from "react/jsx-runtime";
1639
1724
  var WindowHistoryContext = createContext({});
1640
1725
  function WindowHistoryProvider({ children }) {
1641
1726
  const [history, setHistory] = useState6([]);
@@ -1646,20 +1731,17 @@ function WindowHistoryProvider({ children }) {
1646
1731
  );
1647
1732
  }, [searchParams]);
1648
1733
  const contextValue = useMemo(() => ({ history }), [history]);
1649
- return /* @__PURE__ */ jsx28(WindowHistoryContext.Provider, { value: contextValue, children });
1734
+ return /* @__PURE__ */ jsx30(WindowHistoryContext.Provider, { value: contextValue, children });
1650
1735
  }
1651
1736
 
1652
1737
  // src/hooks/useWindowHistory.ts
1653
1738
  function useWindowHistory() {
1654
- const windowHistoryContext = useContext(WindowHistoryContext);
1655
- if (Object.keys(windowHistoryContext).length === 0) {
1656
- throw new Error("useWindowHistory was used outside of its WindowHistoryContext");
1657
- }
1739
+ const windowHistoryContext = useContext2(WindowHistoryContext);
1658
1740
  return windowHistoryContext;
1659
1741
  }
1660
1742
 
1661
1743
  // src/components/buttons/BackButton.tsx
1662
- import { jsx as jsx29 } from "react/jsx-runtime";
1744
+ import { jsx as jsx31 } from "react/jsx-runtime";
1663
1745
  function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1664
1746
  const { history } = useWindowHistory();
1665
1747
  const router = useRouter();
@@ -1668,7 +1750,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1668
1750
  const previous = history[history.length - 2];
1669
1751
  history.length > 1 && isAcceptedRoute(previous) ? router.back() : router.push(fallbackHref ?? "/");
1670
1752
  };
1671
- return /* @__PURE__ */ jsx29(
1753
+ return /* @__PURE__ */ jsx31(
1672
1754
  Icon,
1673
1755
  {
1674
1756
  "aria-label": "back button",
@@ -1677,7 +1759,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
1677
1759
  onClick: goBack,
1678
1760
  className,
1679
1761
  ...props,
1680
- children: /* @__PURE__ */ jsx29(X4, {})
1762
+ children: /* @__PURE__ */ jsx31(X4, {})
1681
1763
  }
1682
1764
  );
1683
1765
  }
@@ -1729,7 +1811,7 @@ var iconMap = {
1729
1811
  };
1730
1812
 
1731
1813
  // src/components/jobPost/JobHeader.tsx
1732
- import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
1814
+ import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
1733
1815
  function JobHeader({
1734
1816
  title,
1735
1817
  subtitles,
@@ -1745,9 +1827,9 @@ function JobHeader({
1745
1827
  }) {
1746
1828
  const renderIcon = (icon) => {
1747
1829
  const Icon2 = iconMap[icon];
1748
- return /* @__PURE__ */ jsx30(Icon2, { size: 18 });
1830
+ return /* @__PURE__ */ jsx32(Icon2, { size: 18 });
1749
1831
  };
1750
- return /* @__PURE__ */ jsxs17(
1832
+ return /* @__PURE__ */ jsxs19(
1751
1833
  "div",
1752
1834
  {
1753
1835
  "data-testid": "job-header-root",
@@ -1756,8 +1838,8 @@ function JobHeader({
1756
1838
  !standalone && "rounded-3xl"
1757
1839
  ),
1758
1840
  children: [
1759
- !standalone && /* @__PURE__ */ jsxs17("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: [
1760
- /* @__PURE__ */ jsx30(
1841
+ !standalone && /* @__PURE__ */ jsxs19("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: [
1842
+ /* @__PURE__ */ jsx32(
1761
1843
  Image2,
1762
1844
  {
1763
1845
  className: "h-full w-full rounded-t-3xl object-cover",
@@ -1766,7 +1848,7 @@ function JobHeader({
1766
1848
  fill: true
1767
1849
  }
1768
1850
  ),
1769
- /* @__PURE__ */ jsx30(
1851
+ /* @__PURE__ */ jsx32(
1770
1852
  BackButton,
1771
1853
  {
1772
1854
  acceptedRoutes: backAcceptedRoutes,
@@ -1775,12 +1857,12 @@ function JobHeader({
1775
1857
  "data-testid": "job-header-back-button"
1776
1858
  }
1777
1859
  ),
1778
- /* @__PURE__ */ jsx30(
1860
+ /* @__PURE__ */ jsx32(
1779
1861
  "div",
1780
1862
  {
1781
1863
  className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
1782
1864
  "data-testid": "job-header-avatar",
1783
- children: /* @__PURE__ */ jsx30(
1865
+ children: /* @__PURE__ */ jsx32(
1784
1866
  Avatar,
1785
1867
  {
1786
1868
  size: "large",
@@ -1794,9 +1876,9 @@ function JobHeader({
1794
1876
  }
1795
1877
  )
1796
1878
  ] }),
1797
- /* @__PURE__ */ jsxs17("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
1798
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-col md:flex-row", children: [
1799
- standalone && /* @__PURE__ */ jsx30("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ jsx30(
1879
+ /* @__PURE__ */ jsxs19("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
1880
+ /* @__PURE__ */ jsxs19("div", { className: "flex flex-col md:flex-row", children: [
1881
+ standalone && /* @__PURE__ */ jsx32("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ jsx32(
1800
1882
  Avatar,
1801
1883
  {
1802
1884
  size: "large",
@@ -1807,26 +1889,26 @@ function JobHeader({
1807
1889
  rel: "noopener noreferrer"
1808
1890
  }
1809
1891
  ) }),
1810
- /* @__PURE__ */ jsx30("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ jsxs17(
1892
+ /* @__PURE__ */ jsx32("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ jsxs19(
1811
1893
  "div",
1812
1894
  {
1813
1895
  "data-testid": `job-header-subtitle-${i}`,
1814
1896
  className: "flex items-center",
1815
1897
  children: [
1816
1898
  subtitle,
1817
- i < subtitles.length - 1 && /* @__PURE__ */ jsx30(Dot, { className: "mx-1 shrink-0", size: 10 })
1899
+ i < subtitles.length - 1 && /* @__PURE__ */ jsx32(Dot2, { className: "mx-1 shrink-0", size: 10 })
1818
1900
  ]
1819
1901
  },
1820
1902
  subtitle
1821
1903
  )) })
1822
1904
  ] }),
1823
- /* @__PURE__ */ jsxs17(
1905
+ /* @__PURE__ */ jsxs19(
1824
1906
  "div",
1825
1907
  {
1826
1908
  "data-testid": "job-header-content",
1827
1909
  className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1",
1828
1910
  children: [
1829
- /* @__PURE__ */ jsx30(
1911
+ /* @__PURE__ */ jsx32(
1830
1912
  "h2",
1831
1913
  {
1832
1914
  "data-testid": "job-header-title",
@@ -1834,7 +1916,7 @@ function JobHeader({
1834
1916
  children: title
1835
1917
  }
1836
1918
  ),
1837
- !!actions && /* @__PURE__ */ jsx30(
1919
+ !!actions && /* @__PURE__ */ jsx32(
1838
1920
  "div",
1839
1921
  {
1840
1922
  className: "flex w-full justify-end gap-2 md:w-auto",
@@ -1845,12 +1927,12 @@ function JobHeader({
1845
1927
  ]
1846
1928
  }
1847
1929
  ),
1848
- /* @__PURE__ */ jsx30(
1930
+ /* @__PURE__ */ jsx32(
1849
1931
  "div",
1850
1932
  {
1851
1933
  "data-testid": "job-header-tags",
1852
1934
  className: "flex flex-row flex-wrap items-center justify-start gap-2",
1853
- children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs17(
1935
+ children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ jsxs19(
1854
1936
  Chip_default,
1855
1937
  {
1856
1938
  size: "small",
@@ -1859,7 +1941,7 @@ function JobHeader({
1859
1941
  "data-testid": `job-header-tag-${name}`,
1860
1942
  children: [
1861
1943
  renderIcon(icon),
1862
- /* @__PURE__ */ jsx30("span", { children: label })
1944
+ /* @__PURE__ */ jsx32("span", { children: label })
1863
1945
  ]
1864
1946
  },
1865
1947
  name
@@ -2461,7 +2543,7 @@ function formattedJobLocation(job) {
2461
2543
  }
2462
2544
 
2463
2545
  // src/components/jobPost/JobPost.tsx
2464
- import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
2546
+ import { jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
2465
2547
  function JobPost({
2466
2548
  job,
2467
2549
  bannerSrc,
@@ -2505,7 +2587,7 @@ function JobPost({
2505
2587
  label: formattedLocation
2506
2588
  }
2507
2589
  ].filter((t) => !!t);
2508
- return /* @__PURE__ */ jsxs18(
2590
+ return /* @__PURE__ */ jsxs20(
2509
2591
  "div",
2510
2592
  {
2511
2593
  className: cn(
@@ -2513,7 +2595,7 @@ function JobPost({
2513
2595
  !standalone && "border-1 rounded-3xl border-grey-5"
2514
2596
  ),
2515
2597
  children: [
2516
- /* @__PURE__ */ jsx31(
2598
+ /* @__PURE__ */ jsx33(
2517
2599
  JobHeader,
2518
2600
  {
2519
2601
  title: job.title,
@@ -2527,16 +2609,16 @@ function JobPost({
2527
2609
  tags
2528
2610
  }
2529
2611
  ),
2530
- /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-8 px-6", children: [
2531
- /* @__PURE__ */ jsx31(JobDescription, { description: job.description }),
2532
- /* @__PURE__ */ jsx31(
2612
+ /* @__PURE__ */ jsxs20("div", { className: "flex flex-col gap-8 px-6", children: [
2613
+ /* @__PURE__ */ jsx33(JobDescription, { description: job.description }),
2614
+ /* @__PURE__ */ jsx33(
2533
2615
  CompanyTake,
2534
2616
  {
2535
2617
  avatarSrc,
2536
2618
  content: job.hiringOrganization?.companyNdg?.companyNdgTake
2537
2619
  }
2538
2620
  ),
2539
- /* @__PURE__ */ jsx31(
2621
+ /* @__PURE__ */ jsx33(
2540
2622
  CompanyInformation,
2541
2623
  {
2542
2624
  name: job.hiringOrganization?.companyName ?? "",
@@ -2546,7 +2628,7 @@ function JobPost({
2546
2628
  website: job.hiringOrganization?.companyWebsite
2547
2629
  }
2548
2630
  ),
2549
- /* @__PURE__ */ jsx31(
2631
+ /* @__PURE__ */ jsx33(
2550
2632
  CompanyBenefits,
2551
2633
  {
2552
2634
  benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
@@ -2785,6 +2867,7 @@ export {
2785
2867
  Counter,
2786
2868
  Icon,
2787
2869
  Input_default as Input,
2870
+ InputOtp,
2788
2871
  JobDescription,
2789
2872
  JobHeader,
2790
2873
  JobPost,