@next-degree/pickle-shared-js 0.10.8 → 0.11.0
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.
- package/dist/{company_service_sanity-BZtdt7Df.d.ts → company_service_sanity-CAyYirw5.d.ts} +271 -271
- package/dist/{company_service_sanity-Bedw6Mhk.d.cts → company_service_sanity-CGNCrk8e.d.cts} +271 -271
- package/dist/components/jobCard/JobLocation.cjs +85 -0
- package/dist/components/jobCard/JobLocation.cjs.map +1 -0
- package/dist/components/jobCard/JobLocation.d.cts +9 -0
- package/dist/components/jobCard/JobLocation.d.ts +9 -0
- package/dist/components/jobCard/JobLocation.js +54 -0
- package/dist/components/jobCard/JobLocation.js.map +1 -0
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/primitives/command.d.cts +1 -1
- package/dist/components/primitives/command.d.ts +1 -1
- package/dist/components/ui/StepTabs.cjs +32 -4
- package/dist/components/ui/StepTabs.cjs.map +1 -1
- package/dist/components/ui/StepTabs.d.cts +12 -3
- package/dist/components/ui/StepTabs.d.ts +12 -3
- package/dist/components/ui/StepTabs.js +32 -4
- package/dist/components/ui/StepTabs.js.map +1 -1
- package/dist/{displayText-CBIWVZVw.d.ts → displayText-D8MYOaYK.d.ts} +2 -2
- package/dist/{displayText-4cJ7-3Mw.d.cts → displayText-DHKm6_JF.d.cts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +32 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +32 -4
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-DdsTbMSJ.d.cts → job_posting_service_latest-C8PT9mxn.d.cts} +178 -178
- package/dist/{job_posting_service_latest-DdsTbMSJ.d.ts → job_posting_service_latest-C8PT9mxn.d.ts} +178 -178
- package/dist/{job_posting_service_latest-DOGQ9tEu.d.cts → job_posting_service_latest-DaKYQh30.d.cts} +178 -178
- package/dist/{job_posting_service_latest-DOGQ9tEu.d.ts → job_posting_service_latest-DaKYQh30.d.ts} +178 -178
- package/dist/{job_posting_service_sanity-Kcoloigd.d.cts → job_posting_service_sanity-BK7jdr2W.d.cts} +363 -363
- package/dist/{job_posting_service_sanity-fAGLW3rj.d.ts → job_posting_service_sanity-nyUCPROx.d.ts} +363 -363
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/styles/globals.css +22 -0
- package/dist/styles/globals.css.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/index.d.cts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/latest/company_service_latest.d.cts +1 -1
- package/dist/types/latest/company_service_latest.d.ts +1 -1
- package/dist/types/latest/custom/company_service_sanity.d.cts +3 -3
- package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
- package/dist/types/latest/custom/job_posting_service_sanity.d.cts +3 -3
- package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
- package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
- package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
- package/dist/types/latest/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/latest/shared_pickle_output_latest.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{company_service_latest-Ba8VhDao.d.cts → company_service_latest-DpBsftTD.d.cts} +174 -174
- package/dist/{company_service_latest-Ba8VhDao.d.ts → company_service_latest-DpBsftTD.d.ts} +174 -174
- package/dist/{company_service_latest-BmiEQ4dO.d.cts → company_service_latest-o6X0atwz.d.cts} +174 -174
- package/dist/{company_service_latest-BmiEQ4dO.d.ts → company_service_latest-o6X0atwz.d.ts} +174 -174
- package/dist/{shared_pickle_output_latest--XZhOUyE.d.cts → shared_pickle_output_latest-BVF7Zh2H.d.cts} +11 -11
- package/dist/{shared_pickle_output_latest--XZhOUyE.d.ts → shared_pickle_output_latest-BVF7Zh2H.d.ts} +11 -11
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.cts → shared_pickle_output_latest-BjRRmT8R.d.cts} +11 -11
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.ts → shared_pickle_output_latest-BjRRmT8R.d.ts} +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -31,9 +31,9 @@ export { BackButton } from './components/buttons/BackButton.cjs';
|
|
|
31
31
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
32
32
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
33
33
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
34
|
-
export { c as CompanyService } from './company_service_latest-
|
|
35
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
36
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
34
|
+
export { c as CompanyService } from './company_service_latest-DpBsftTD.cjs';
|
|
35
|
+
export { j as JobPostService } from './job_posting_service_latest-DaKYQh30.cjs';
|
|
36
|
+
export { s as SharedService } from './shared_pickle_output_latest-BjRRmT8R.cjs';
|
|
37
37
|
import 'cva/types';
|
|
38
38
|
import 'react/jsx-runtime';
|
|
39
39
|
import 'cva';
|
|
@@ -48,5 +48,5 @@ import 'next/link';
|
|
|
48
48
|
import '@radix-ui/react-tabs';
|
|
49
49
|
import 'clsx';
|
|
50
50
|
import './lib/icons.cjs';
|
|
51
|
-
import './displayText-
|
|
51
|
+
import './displayText-DHKm6_JF.cjs';
|
|
52
52
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -31,9 +31,9 @@ export { BackButton } from './components/buttons/BackButton.js';
|
|
|
31
31
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
32
32
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
33
33
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
34
|
-
export { c as CompanyService } from './company_service_latest-
|
|
35
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
36
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
34
|
+
export { c as CompanyService } from './company_service_latest-DpBsftTD.js';
|
|
35
|
+
export { j as JobPostService } from './job_posting_service_latest-DaKYQh30.js';
|
|
36
|
+
export { s as SharedService } from './shared_pickle_output_latest-BjRRmT8R.js';
|
|
37
37
|
import 'cva/types';
|
|
38
38
|
import 'react/jsx-runtime';
|
|
39
39
|
import 'cva';
|
|
@@ -48,5 +48,5 @@ import 'next/link';
|
|
|
48
48
|
import '@radix-ui/react-tabs';
|
|
49
49
|
import 'clsx';
|
|
50
50
|
import './lib/icons.js';
|
|
51
|
-
import './displayText-
|
|
51
|
+
import './displayText-D8MYOaYK.js';
|
|
52
52
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1960,14 +1960,42 @@ var datePickerStyle = cva10([
|
|
|
1960
1960
|
|
|
1961
1961
|
// src/components/ui/StepTabs.tsx
|
|
1962
1962
|
import * as Tabs from "@radix-ui/react-tabs";
|
|
1963
|
+
import { cva as cva11 } from "cva";
|
|
1963
1964
|
import { jsx as jsx32, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1965
|
+
var tabParentVariants = cva11("flex flex-col", {
|
|
1966
|
+
variants: {
|
|
1967
|
+
variant: {
|
|
1968
|
+
primary: "rounded-lg border shadow-sm",
|
|
1969
|
+
neutral: ""
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
defaultVariants: {
|
|
1973
|
+
variant: "primary"
|
|
1974
|
+
}
|
|
1975
|
+
});
|
|
1976
|
+
var singleTabVariants = cva11(
|
|
1977
|
+
"flex h-[45px] flex-1 cursor-pointer select-none items-center justify-center bg-white px-5 text-[15px] leading-none text-gray-800 outline-none",
|
|
1978
|
+
{
|
|
1979
|
+
variants: {
|
|
1980
|
+
variant: {
|
|
1981
|
+
primary: "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",
|
|
1982
|
+
neutral: "first:rounded-tl-md last:rounded-tr-md hover:text-black data-[state=active]:text-black data-[state=active]:shadow-[inset_0_-1px_0_0,0_1px_0_0] data-[state=active]:shadow-current data-[state=active]:focus:relative"
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
defaultVariants: {
|
|
1986
|
+
variant: "primary"
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
);
|
|
1964
1990
|
function StepTabs({
|
|
1965
1991
|
list,
|
|
1966
1992
|
currentStep,
|
|
1967
1993
|
setCurrentStep,
|
|
1968
1994
|
children,
|
|
1969
1995
|
className,
|
|
1996
|
+
classNameTab,
|
|
1970
1997
|
defaultValue,
|
|
1998
|
+
variant,
|
|
1971
1999
|
...props
|
|
1972
2000
|
}) {
|
|
1973
2001
|
return /* @__PURE__ */ jsxs19(
|
|
@@ -1976,19 +2004,19 @@ function StepTabs({
|
|
|
1976
2004
|
value: currentStep,
|
|
1977
2005
|
onValueChange: setCurrentStep,
|
|
1978
2006
|
defaultValue: defaultValue ?? "0",
|
|
1979
|
-
className: cn(
|
|
2007
|
+
className: cn(tabParentVariants({ variant }), className),
|
|
1980
2008
|
...props,
|
|
1981
2009
|
children: [
|
|
1982
|
-
/* @__PURE__ */ jsx32(Tabs.List, { className: "flex shrink-0 border-b border-grey-20", children:
|
|
2010
|
+
/* @__PURE__ */ jsx32(Tabs.List, { className: "flex shrink-0 border-b border-grey-20", children: list.length > 1 && list.map((item, index) => /* @__PURE__ */ jsx32(
|
|
1983
2011
|
Tabs.Trigger,
|
|
1984
2012
|
{
|
|
1985
|
-
className:
|
|
2013
|
+
className: cn(singleTabVariants({ variant }), classNameTab),
|
|
1986
2014
|
value: index.toString(),
|
|
1987
2015
|
children: item
|
|
1988
2016
|
},
|
|
1989
2017
|
`${item}-${index}`
|
|
1990
2018
|
)) }),
|
|
1991
|
-
children.map((child, index) => /* @__PURE__ */ jsx32(
|
|
2019
|
+
children && children.map((child, index) => /* @__PURE__ */ jsx32(
|
|
1992
2020
|
Tabs.Content,
|
|
1993
2021
|
{
|
|
1994
2022
|
className: "grow rounded-b-md bg-white p-5 outline-none",
|