@next-degree/pickle-shared-js 0.10.7 → 0.10.8

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 (37) hide show
  1. package/dist/components/jobPost/JobPost.d.cts +1 -1
  2. package/dist/components/jobPost/JobPost.d.ts +1 -1
  3. package/dist/components/ui/Button.d.cts +1 -1
  4. package/dist/components/ui/Button.d.ts +1 -1
  5. package/dist/components/ui/buttonShadcn.d.cts +1 -1
  6. package/dist/components/ui/buttonShadcn.d.ts +1 -1
  7. package/dist/{displayText-BIzvCN9H.d.cts → displayText-4cJ7-3Mw.d.cts} +1 -1
  8. package/dist/{displayText-BtujjCCA.d.ts → displayText-CBIWVZVw.d.ts} +1 -1
  9. package/dist/hooks/useDisplayText.d.cts +2 -2
  10. package/dist/hooks/useDisplayText.d.ts +2 -2
  11. package/dist/index.cjs +108 -62
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +4 -2
  14. package/dist/index.d.ts +4 -2
  15. package/dist/index.js +107 -62
  16. package/dist/index.js.map +1 -1
  17. package/dist/{job_posting_service_sanity-CLQAVXTy.d.cts → job_posting_service_sanity-Kcoloigd.d.cts} +7 -7
  18. package/dist/{job_posting_service_sanity-B6APEfOO.d.ts → job_posting_service_sanity-fAGLW3rj.d.ts} +7 -7
  19. package/dist/lib/locations.d.cts +1 -1
  20. package/dist/lib/locations.d.ts +1 -1
  21. package/dist/lib/mappings.d.cts +2 -2
  22. package/dist/lib/mappings.d.ts +2 -2
  23. package/dist/services/displayText.d.cts +2 -2
  24. package/dist/services/displayText.d.ts +2 -2
  25. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  26. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  27. package/dist/types/index.d.cts +2 -2
  28. package/dist/types/index.d.ts +2 -2
  29. package/dist/types/latest/custom/job_posting_service_sanity.d.cts +2 -2
  30. package/dist/types/latest/custom/job_posting_service_sanity.d.ts +2 -2
  31. package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
  32. package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
  33. package/package.json +1 -1
  34. package/dist/{job_posting_service_latest-duSSyFvo.d.cts → job_posting_service_latest-DOGQ9tEu.d.cts} +1 -1
  35. package/dist/{job_posting_service_latest-duSSyFvo.d.ts → job_posting_service_latest-DOGQ9tEu.d.ts} +1 -1
  36. package/dist/{job_posting_service_latest-C6TSGfcJ.d.cts → job_posting_service_latest-DdsTbMSJ.d.cts} +1 -1
  37. package/dist/{job_posting_service_latest-C6TSGfcJ.d.ts → job_posting_service_latest-DdsTbMSJ.d.ts} +1 -1
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { J as JobPostModel } from '../../job_posting_service_latest-duSSyFvo.cjs';
3
+ import { J as JobPostModel } from '../../job_posting_service_latest-DOGQ9tEu.cjs';
4
4
  import 'zod';
5
5
 
6
6
  type JobPostProps = {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { J as JobPostModel } from '../../job_posting_service_latest-duSSyFvo.js';
3
+ import { J as JobPostModel } from '../../job_posting_service_latest-DOGQ9tEu.js';
4
4
  import 'zod';
5
5
 
6
6
  type JobPostProps = {
@@ -40,7 +40,7 @@ declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & Rea
40
40
  * Provides consistent styling across different button variations.
41
41
  */
42
42
  declare const buttonVariants: (props?: ({
43
- variant?: "link" | "neutral" | "primary" | "secondary" | "transparent" | null | undefined;
43
+ variant?: "neutral" | "primary" | "link" | "secondary" | "transparent" | null | undefined;
44
44
  size?: "small" | "medium" | "large" | null | undefined;
45
45
  } & cva_types.ClassProp) | undefined) => string;
46
46
 
@@ -40,7 +40,7 @@ declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & Rea
40
40
  * Provides consistent styling across different button variations.
41
41
  */
42
42
  declare const buttonVariants: (props?: ({
43
- variant?: "link" | "neutral" | "primary" | "secondary" | "transparent" | null | undefined;
43
+ variant?: "neutral" | "primary" | "link" | "secondary" | "transparent" | null | undefined;
44
44
  size?: "small" | "medium" | "large" | null | undefined;
45
45
  } & cva_types.ClassProp) | undefined) => string;
46
46
 
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | null | undefined;
6
+ variant?: "default" | "link" | "outline" | "secondary" | "destructive" | "ghost" | null | undefined;
7
7
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
8
8
  } & cva_types.ClassProp) | undefined) => string;
9
9
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
3
3
  import * as React from 'react';
4
4
 
5
5
  declare const buttonVariants: (props?: ({
6
- variant?: "link" | "default" | "outline" | "secondary" | "destructive" | "ghost" | null | undefined;
6
+ variant?: "default" | "link" | "outline" | "secondary" | "destructive" | "ghost" | null | undefined;
7
7
  size?: "default" | "icon" | "sm" | "lg" | null | undefined;
8
8
  } & cva_types.ClassProp) | undefined) => string;
9
9
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -1,6 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-duSSyFvo.cjs';
3
+ import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-DOGQ9tEu.cjs';
4
4
  import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-DKOmTyYk.cjs';
5
5
 
6
6
  declare const employmentTypeDisplayText: DisplayTextConfig<typeof EmploymentTypeEnum>;
@@ -1,6 +1,6 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-duSSyFvo.js';
3
+ import { E as EmploymentTypeEnum, a as EmploymentLevelEnum, b as JobFunctionEnum, B as BestFitEnum, C as ClinicalSpecialtyEnum, S as ShiftEnum, c as ClinicalSettingEnum } from './job_posting_service_latest-DOGQ9tEu.js';
4
4
  import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-DKOmTyYk.js';
5
5
 
6
6
  declare const employmentTypeDisplayText: DisplayTextConfig<typeof EmploymentTypeEnum>;
@@ -1,6 +1,6 @@
1
- import { S as ServiceMappings } from '../displayText-BIzvCN9H.cjs';
1
+ import { S as ServiceMappings } from '../displayText-4cJ7-3Mw.cjs';
2
2
  import 'zod';
3
- import '../job_posting_service_latest-duSSyFvo.cjs';
3
+ import '../job_posting_service_latest-DOGQ9tEu.cjs';
4
4
  import '../shared_pickle_output_latest-DKOmTyYk.cjs';
5
5
 
6
6
  declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
@@ -1,6 +1,6 @@
1
- import { S as ServiceMappings } from '../displayText-BtujjCCA.js';
1
+ import { S as ServiceMappings } from '../displayText-CBIWVZVw.js';
2
2
  import 'zod';
3
- import '../job_posting_service_latest-duSSyFvo.js';
3
+ import '../job_posting_service_latest-DOGQ9tEu.js';
4
4
  import '../shared_pickle_output_latest-DKOmTyYk.js';
5
5
 
6
6
  declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
package/dist/index.cjs CHANGED
@@ -59,6 +59,7 @@ __export(index_exports, {
59
59
  ReadMore: () => ReadMore,
60
60
  Select: () => Select_default,
61
61
  SharedService: () => shared_pickle_output_latest_exports2,
62
+ StepTabs: () => StepTabs,
62
63
  Switch: () => Switch,
63
64
  WindowHistoryProvider: () => WindowHistoryProvider,
64
65
  cn: () => cn,
@@ -2013,18 +2014,62 @@ var datePickerStyle = (0, import_cva9.cva)([
2013
2014
  "font-normal"
2014
2015
  ]);
2015
2016
 
2016
- // src/components/company/CompanyBenefits.tsx
2017
+ // src/components/ui/StepTabs.tsx
2018
+ var Tabs = __toESM(require("@radix-ui/react-tabs"), 1);
2017
2019
  var import_jsx_runtime32 = require("react/jsx-runtime");
2020
+ function StepTabs({
2021
+ list,
2022
+ currentStep,
2023
+ setCurrentStep,
2024
+ children,
2025
+ className,
2026
+ defaultValue,
2027
+ ...props
2028
+ }) {
2029
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2030
+ Tabs.Root,
2031
+ {
2032
+ value: currentStep,
2033
+ onValueChange: setCurrentStep,
2034
+ defaultValue: defaultValue ?? "0",
2035
+ className: cn("flex flex-col rounded-lg border shadow-sm", className),
2036
+ ...props,
2037
+ children: [
2038
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Tabs.List, { className: "flex shrink-0 border-b border-grey-20", children: children.length > 1 && list.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2039
+ Tabs.Trigger,
2040
+ {
2041
+ className: "flex h-[45px] flex-1 cursor-default select-none items-center justify-center bg-white px-5 text-[15px] leading-none text-gray-800 outline-none first:rounded-tl-md last:rounded-tr-md hover:text-purple-100 data-[state=active]:text-purple-100 data-[state=active]:shadow-[inset_0_-1px_0_0,0_1px_0_0] data-[state=active]:shadow-current data-[state=active]:focus:relative data-[state=active]:focus:shadow-[0_0_0_2px] data-[state=active]:focus:shadow-black",
2042
+ value: index.toString(),
2043
+ children: item
2044
+ },
2045
+ `${item}-${index}`
2046
+ )) }),
2047
+ children.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2048
+ Tabs.Content,
2049
+ {
2050
+ className: "grow rounded-b-md bg-white p-5 outline-none",
2051
+ value: index.toString(),
2052
+ children: child
2053
+ },
2054
+ index
2055
+ ))
2056
+ ]
2057
+ }
2058
+ );
2059
+ }
2060
+
2061
+ // src/components/company/CompanyBenefits.tsx
2062
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2018
2063
  function CompanyBenefits({ benefits }) {
2019
2064
  if (!benefits) return null;
2020
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
2021
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
2022
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
2065
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits", children: [
2066
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg", children: "Company benefits" }),
2067
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("ul", { className: "flex flex-col gap-3", children: benefits.map((benefit, i) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { className: "text-base text-grey-80", children: benefit }, `${benefit}-${i}`)) })
2023
2068
  ] });
2024
2069
  }
2025
2070
 
2026
2071
  // src/components/company/CompanyInformation.tsx
2027
- var import_jsx_runtime33 = require("react/jsx-runtime");
2072
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2028
2073
  function CompanyInformation({
2029
2074
  name,
2030
2075
  how,
@@ -2032,8 +2077,8 @@ function CompanyInformation({
2032
2077
  wow,
2033
2078
  website
2034
2079
  }) {
2035
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-2", children: [
2036
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2080
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col gap-2", children: [
2081
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2037
2082
  "h2",
2038
2083
  {
2039
2084
  "data-testid": "company-name",
@@ -2044,22 +2089,22 @@ function CompanyInformation({
2044
2089
  ]
2045
2090
  }
2046
2091
  ),
2047
- how && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
2048
- mission && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex gap-2", children: [
2049
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "\u{1F680}" }),
2050
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("p", { className: "text-base text-grey-80", children: [
2051
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "pr-1 font-bold", children: "Mission" }),
2092
+ how && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { "data-testid": "company-information", className: "text-base text-grey-80", children: how }),
2093
+ mission && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex gap-2", children: [
2094
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: "\u{1F680}" }),
2095
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("p", { className: "text-base text-grey-80", children: [
2096
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pr-1 font-bold", children: "Mission" }),
2052
2097
  mission
2053
2098
  ] })
2054
2099
  ] }),
2055
- wow && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex gap-2", children: [
2056
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "\u{1F31F}" }),
2057
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("p", { className: "text-base text-grey-80", children: [
2058
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
2100
+ wow && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex gap-2", children: [
2101
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: "\u{1F31F}" }),
2102
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("p", { className: "text-base text-grey-80", children: [
2103
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pr-1 font-bold", children: "Wow Factor" }),
2059
2104
  wow
2060
2105
  ] })
2061
2106
  ] }),
2062
- website && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2107
+ website && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2063
2108
  LinkButton,
2064
2109
  {
2065
2110
  "data-testid": "company-website-link",
@@ -2073,22 +2118,22 @@ function CompanyInformation({
2073
2118
  }
2074
2119
 
2075
2120
  // src/components/company/CompanyTake.tsx
2076
- var import_jsx_runtime34 = require("react/jsx-runtime");
2121
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2077
2122
  function CompanyTake({ content, avatarSrc }) {
2078
2123
  if (!content) return null;
2079
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2124
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2080
2125
  "div",
2081
2126
  {
2082
2127
  "data-testid": "company-take",
2083
2128
  className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6",
2084
2129
  children: [
2085
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
2086
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
2087
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "mt-8 flex w-full items-center gap-3", children: [
2088
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { name: "Jon Lee", src: avatarSrc }),
2089
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex flex-col flex-wrap items-start", children: [
2090
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
2130
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-lg font-bold text-white sm:text-xl", children: "The Real Dill \u2618\uFE0F" }),
2131
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mt-2 flex items-center justify-start", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-sm font-normal text-grey-10", children: content }) }),
2132
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "mt-8 flex w-full items-center gap-3", children: [
2133
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Avatar, { name: "Jon Lee", src: avatarSrc }),
2134
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col flex-wrap items-start", children: [
2135
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-sm font-bold text-white", children: "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA" }),
2136
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "text-xs font-normal text-grey-30", children: "Pickle co-founder" })
2092
2137
  ] })
2093
2138
  ] })
2094
2139
  ]
@@ -2097,12 +2142,12 @@ function CompanyTake({ content, avatarSrc }) {
2097
2142
  }
2098
2143
 
2099
2144
  // src/components/jobPost/JobDescription.tsx
2100
- var import_jsx_runtime35 = require("react/jsx-runtime");
2145
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2101
2146
  function JobDescription({ description }) {
2102
2147
  if (!description) return null;
2103
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex w-full flex-col gap-2", children: [
2104
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("h3", { className: "text-xl font-bold", children: "Job Description" }),
2105
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ReadMore, { text: description })
2148
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex w-full flex-col gap-2", children: [
2149
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("h3", { className: "text-xl font-bold", children: "Job Description" }),
2150
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(ReadMore, { text: description })
2106
2151
  ] });
2107
2152
  }
2108
2153
 
@@ -2120,7 +2165,7 @@ var import_react16 = require("react");
2120
2165
  // src/contexts/WindowHistoryProvider.tsx
2121
2166
  var import_navigation = require("next/navigation");
2122
2167
  var import_react15 = require("react");
2123
- var import_jsx_runtime36 = require("react/jsx-runtime");
2168
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2124
2169
  var WindowHistoryContext = (0, import_react15.createContext)({});
2125
2170
  function WindowHistoryProvider({ children }) {
2126
2171
  const [history, setHistory] = (0, import_react15.useState)([]);
@@ -2131,7 +2176,7 @@ function WindowHistoryProvider({ children }) {
2131
2176
  );
2132
2177
  }, [searchParams]);
2133
2178
  const contextValue = (0, import_react15.useMemo)(() => ({ history }), [history]);
2134
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(WindowHistoryContext.Provider, { value: contextValue, children });
2179
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(WindowHistoryContext.Provider, { value: contextValue, children });
2135
2180
  }
2136
2181
 
2137
2182
  // src/hooks/useWindowHistory.ts
@@ -2141,7 +2186,7 @@ function useWindowHistory() {
2141
2186
  }
2142
2187
 
2143
2188
  // src/components/buttons/BackButton.tsx
2144
- var import_jsx_runtime37 = require("react/jsx-runtime");
2189
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2145
2190
  function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
2146
2191
  const { history } = useWindowHistory();
2147
2192
  const router = (0, import_navigation2.useRouter)();
@@ -2154,7 +2199,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
2154
2199
  router.push(fallbackHref ?? "/");
2155
2200
  }
2156
2201
  };
2157
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2202
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2158
2203
  Icon,
2159
2204
  {
2160
2205
  "aria-label": "back button",
@@ -2163,7 +2208,7 @@ function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
2163
2208
  onClick: goBack,
2164
2209
  className,
2165
2210
  ...props,
2166
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react15.X, {})
2211
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react15.X, {})
2167
2212
  }
2168
2213
  );
2169
2214
  }
@@ -2194,7 +2239,7 @@ var iconMap = {
2194
2239
  };
2195
2240
 
2196
2241
  // src/components/jobPost/JobHeader.tsx
2197
- var import_jsx_runtime38 = require("react/jsx-runtime");
2242
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2198
2243
  function JobHeader({
2199
2244
  title,
2200
2245
  subtitles,
@@ -2210,9 +2255,9 @@ function JobHeader({
2210
2255
  }) {
2211
2256
  const renderIcon = (icon) => {
2212
2257
  const Icon2 = iconMap[icon];
2213
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon2, { size: 18 });
2258
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Icon2, { size: 18 });
2214
2259
  };
2215
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2260
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2216
2261
  "div",
2217
2262
  {
2218
2263
  "data-testid": "job-header-root",
@@ -2221,8 +2266,8 @@ function JobHeader({
2221
2266
  !standalone && "rounded-3xl"
2222
2267
  ),
2223
2268
  children: [
2224
- !standalone && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("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: [
2225
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2269
+ !standalone && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("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: [
2270
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2226
2271
  import_image.default,
2227
2272
  {
2228
2273
  className: "h-full w-full rounded-t-3xl object-cover",
@@ -2231,7 +2276,7 @@ function JobHeader({
2231
2276
  fill: true
2232
2277
  }
2233
2278
  ),
2234
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2279
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2235
2280
  BackButton,
2236
2281
  {
2237
2282
  acceptedRoutes: backAcceptedRoutes,
@@ -2240,12 +2285,12 @@ function JobHeader({
2240
2285
  "data-testid": "job-header-back-button"
2241
2286
  }
2242
2287
  ),
2243
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2288
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2244
2289
  "div",
2245
2290
  {
2246
2291
  className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
2247
2292
  "data-testid": "job-header-avatar",
2248
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2293
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2249
2294
  Avatar,
2250
2295
  {
2251
2296
  size: "large",
@@ -2259,9 +2304,9 @@ function JobHeader({
2259
2304
  }
2260
2305
  )
2261
2306
  ] }),
2262
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
2263
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col md:flex-row", children: [
2264
- standalone && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2307
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6", children: [
2308
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-col md:flex-row", children: [
2309
+ standalone && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2265
2310
  Avatar,
2266
2311
  {
2267
2312
  size: "large",
@@ -2272,26 +2317,26 @@ function JobHeader({
2272
2317
  rel: "noopener noreferrer"
2273
2318
  }
2274
2319
  ) }),
2275
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2320
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg", children: subtitles?.map((subtitle, i) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2276
2321
  "div",
2277
2322
  {
2278
2323
  "data-testid": `job-header-subtitle-${i}`,
2279
2324
  className: "flex items-center",
2280
2325
  children: [
2281
2326
  subtitle,
2282
- i < subtitles.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react17.Dot, { className: "mx-1 shrink-0", size: 10 })
2327
+ i < subtitles.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react17.Dot, { className: "mx-1 shrink-0", size: 10 })
2283
2328
  ]
2284
2329
  },
2285
2330
  subtitle
2286
2331
  )) })
2287
2332
  ] }),
2288
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2333
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2289
2334
  "div",
2290
2335
  {
2291
2336
  "data-testid": "job-header-content",
2292
2337
  className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1",
2293
2338
  children: [
2294
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2339
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2295
2340
  "h2",
2296
2341
  {
2297
2342
  "data-testid": "job-header-title",
@@ -2299,7 +2344,7 @@ function JobHeader({
2299
2344
  children: title
2300
2345
  }
2301
2346
  ),
2302
- !!actions && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2347
+ !!actions && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2303
2348
  "div",
2304
2349
  {
2305
2350
  className: "flex w-full justify-end gap-2 md:w-auto",
@@ -2310,12 +2355,12 @@ function JobHeader({
2310
2355
  ]
2311
2356
  }
2312
2357
  ),
2313
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2358
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2314
2359
  "div",
2315
2360
  {
2316
2361
  "data-testid": "job-header-tags",
2317
2362
  className: "flex flex-row flex-wrap items-center justify-start gap-2",
2318
- children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2363
+ children: tags?.map(({ name, label, icon }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
2319
2364
  Chip_default,
2320
2365
  {
2321
2366
  size: "small",
@@ -2324,7 +2369,7 @@ function JobHeader({
2324
2369
  "data-testid": `job-header-tag-${name}`,
2325
2370
  children: [
2326
2371
  renderIcon(icon),
2327
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { children: label })
2372
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { children: label })
2328
2373
  ]
2329
2374
  },
2330
2375
  name
@@ -3257,7 +3302,7 @@ function salaryRange(salary) {
3257
3302
  }
3258
3303
 
3259
3304
  // src/components/jobPost/JobPost.tsx
3260
- var import_jsx_runtime39 = require("react/jsx-runtime");
3305
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3261
3306
  function JobPost({
3262
3307
  job,
3263
3308
  bannerSrc,
@@ -3303,7 +3348,7 @@ function JobPost({
3303
3348
  label: formattedLocation
3304
3349
  }
3305
3350
  ].filter((t) => !!t);
3306
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3351
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3307
3352
  "div",
3308
3353
  {
3309
3354
  className: cn(
@@ -3311,7 +3356,7 @@ function JobPost({
3311
3356
  !standalone && "border-1 rounded-3xl border-grey-5"
3312
3357
  ),
3313
3358
  children: [
3314
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3359
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3315
3360
  JobHeader,
3316
3361
  {
3317
3362
  title: job.title,
@@ -3327,16 +3372,16 @@ function JobPost({
3327
3372
  tags
3328
3373
  }
3329
3374
  ),
3330
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-col gap-8 px-6", children: [
3331
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(JobDescription, { description: job.description }),
3332
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3375
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col gap-8 px-6", children: [
3376
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(JobDescription, { description: job.description }),
3377
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3333
3378
  CompanyTake,
3334
3379
  {
3335
3380
  avatarSrc,
3336
3381
  content: job.hiringOrganization?.companyNDG?.companyNDGTake
3337
3382
  }
3338
3383
  ),
3339
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3384
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3340
3385
  CompanyInformation,
3341
3386
  {
3342
3387
  name: job.hiringOrganization?.companyName ?? "",
@@ -3346,7 +3391,7 @@ function JobPost({
3346
3391
  website: job.hiringOrganization?.companyWebsite
3347
3392
  }
3348
3393
  ),
3349
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3394
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3350
3395
  CompanyBenefits,
3351
3396
  {
3352
3397
  benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
@@ -3677,6 +3722,7 @@ var jobPostSchema3 = import_zod9.z.object({
3677
3722
  ReadMore,
3678
3723
  Select,
3679
3724
  SharedService,
3725
+ StepTabs,
3680
3726
  Switch,
3681
3727
  WindowHistoryProvider,
3682
3728
  cn,