@next-degree/pickle-shared-js 0.12.2 → 0.12.4
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-2J1ZuUnu.d.cts → company_service_sanity-Br0R7m-A.d.cts} +1 -1
- package/dist/{company_service_sanity-KaAGfnNV.d.ts → company_service_sanity-DF01qvTz.d.ts} +1 -1
- package/dist/components/jobCard/JobLocation.d.cts +1 -1
- package/dist/components/jobCard/JobLocation.d.ts +1 -1
- package/dist/components/jobPost/JobPost.cjs +1 -1
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +1 -1
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/command.d.cts +3 -3
- package/dist/components/primitives/command.d.ts +3 -3
- package/dist/components/primitives/input-otp.d.cts +2 -2
- package/dist/components/primitives/input-otp.d.ts +2 -2
- package/dist/components/ui/Button.d.cts +1 -1
- package/dist/components/ui/Button.d.ts +1 -1
- package/dist/components/ui/StepTabs.cjs +21 -4
- package/dist/components/ui/StepTabs.cjs.map +1 -1
- package/dist/components/ui/StepTabs.d.cts +2 -2
- package/dist/components/ui/StepTabs.d.ts +2 -2
- package/dist/components/ui/StepTabs.js +21 -4
- package/dist/components/ui/StepTabs.js.map +1 -1
- package/dist/components/ui/buttonShadcn.d.cts +1 -1
- package/dist/components/ui/buttonShadcn.d.ts +1 -1
- package/dist/{displayText-DW0qiJqh.d.cts → displayText-BDPndCI9.d.cts} +2 -2
- package/dist/{displayText-DahwdHdi.d.ts → displayText-EpnIpZ38.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +22 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +22 -5
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_sanity-BNq-Am9N.d.cts → job_posting_service_sanity-BN7XcVxU.d.cts} +40 -40
- package/dist/{job_posting_service_sanity-BKo9TBDT.d.ts → job_posting_service_sanity-BNQsNQs2.d.ts} +40 -40
- package/dist/lib/locations.d.cts +3 -3
- package/dist/lib/locations.d.ts +3 -3
- 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 +23 -0
- package/dist/styles/globals.css.map +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 +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/latest/custom/company_service_sanity.d.cts +2 -2
- package/dist/types/latest/custom/company_service_sanity.d.ts +2 -2
- 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/{job_posting_service_latest-C_TEBzCf.d.cts → job_posting_service_latest-B6Trs6sX.d.cts} +7 -7
- package/dist/{job_posting_service_latest-C_TEBzCf.d.ts → job_posting_service_latest-B6Trs6sX.d.ts} +7 -7
- package/dist/{job_posting_service_latest-DdgK8Nnz.d.cts → job_posting_service_latest-BKz5U2Gp.d.cts} +7 -7
- package/dist/{job_posting_service_latest-DdgK8Nnz.d.ts → job_posting_service_latest-BKz5U2Gp.d.ts} +7 -7
- package/dist/{shared_pickle_output_latest-CtvHTPeX.d.cts → shared_pickle_output_latest--XZhOUyE.d.cts} +4 -4
- package/dist/{shared_pickle_output_latest-CtvHTPeX.d.ts → shared_pickle_output_latest--XZhOUyE.d.ts} +4 -4
- package/dist/{shared_pickle_output_latest-CXBCG04N.d.cts → shared_pickle_output_latest-DKOmTyYk.d.cts} +4 -4
- package/dist/{shared_pickle_output_latest-CXBCG04N.d.ts → shared_pickle_output_latest-DKOmTyYk.d.ts} +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -35,8 +35,8 @@ export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
|
35
35
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
36
36
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
37
37
|
export { c as CompanyService } from './company_service_latest-CITz7F53.cjs';
|
|
38
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
39
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
38
|
+
export { j as JobPostService } from './job_posting_service_latest-B6Trs6sX.cjs';
|
|
39
|
+
export { s as SharedService } from './shared_pickle_output_latest-DKOmTyYk.cjs';
|
|
40
40
|
import 'cva/types';
|
|
41
41
|
import 'react/jsx-runtime';
|
|
42
42
|
import 'cva';
|
|
@@ -49,9 +49,9 @@ import './components/primitives/radio-group.cjs';
|
|
|
49
49
|
import '@radix-ui/react-radio-group';
|
|
50
50
|
import 'next/link';
|
|
51
51
|
import '@radix-ui/react-tabs';
|
|
52
|
-
import './shared_pickle_output_latest
|
|
52
|
+
import './shared_pickle_output_latest--XZhOUyE.cjs';
|
|
53
53
|
import 'zod';
|
|
54
54
|
import 'clsx';
|
|
55
55
|
import './lib/icons.cjs';
|
|
56
|
-
import './job_posting_service_latest-
|
|
57
|
-
import './displayText-
|
|
56
|
+
import './job_posting_service_latest-BKz5U2Gp.cjs';
|
|
57
|
+
import './displayText-BDPndCI9.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
|
35
35
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
36
36
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
37
37
|
export { c as CompanyService } from './company_service_latest-CITz7F53.js';
|
|
38
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
39
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
38
|
+
export { j as JobPostService } from './job_posting_service_latest-B6Trs6sX.js';
|
|
39
|
+
export { s as SharedService } from './shared_pickle_output_latest-DKOmTyYk.js';
|
|
40
40
|
import 'cva/types';
|
|
41
41
|
import 'react/jsx-runtime';
|
|
42
42
|
import 'cva';
|
|
@@ -49,9 +49,9 @@ import './components/primitives/radio-group.js';
|
|
|
49
49
|
import '@radix-ui/react-radio-group';
|
|
50
50
|
import 'next/link';
|
|
51
51
|
import '@radix-ui/react-tabs';
|
|
52
|
-
import './shared_pickle_output_latest
|
|
52
|
+
import './shared_pickle_output_latest--XZhOUyE.js';
|
|
53
53
|
import 'zod';
|
|
54
54
|
import 'clsx';
|
|
55
55
|
import './lib/icons.js';
|
|
56
|
-
import './job_posting_service_latest-
|
|
57
|
-
import './displayText-
|
|
56
|
+
import './job_posting_service_latest-BKz5U2Gp.js';
|
|
57
|
+
import './displayText-EpnIpZ38.js';
|
package/dist/index.js
CHANGED
|
@@ -1978,7 +1978,20 @@ var tabParentVariants = cva11("flex flex-col", {
|
|
|
1978
1978
|
variants: {
|
|
1979
1979
|
variant: {
|
|
1980
1980
|
primary: "rounded-lg border shadow-sm",
|
|
1981
|
-
neutral: ""
|
|
1981
|
+
neutral: "",
|
|
1982
|
+
minimal: "relative overflow-x-auto"
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
defaultVariants: {
|
|
1986
|
+
variant: "primary"
|
|
1987
|
+
}
|
|
1988
|
+
});
|
|
1989
|
+
var headerVariants = cva11("flex shrink-0 border-b border-grey-20", {
|
|
1990
|
+
variants: {
|
|
1991
|
+
variant: {
|
|
1992
|
+
primary: "",
|
|
1993
|
+
neutral: "",
|
|
1994
|
+
minimal: "w-fit relative border-none"
|
|
1982
1995
|
}
|
|
1983
1996
|
},
|
|
1984
1997
|
defaultVariants: {
|
|
@@ -1991,7 +2004,8 @@ var singleTabVariants = cva11(
|
|
|
1991
2004
|
variants: {
|
|
1992
2005
|
variant: {
|
|
1993
2006
|
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",
|
|
1994
|
-
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"
|
|
2007
|
+
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",
|
|
2008
|
+
minimal: "whitespace-nowrap flex-none first:rounded-tl-md last:rounded-tr-md hover:text-black data-[state=active]:font-bold data-[state=active]:text-black data-[state=active]:shadow-[inset_0_-2px_0_0] data-[state=active]:shadow-current data-[state=active]:focus:relative"
|
|
1995
2009
|
}
|
|
1996
2010
|
},
|
|
1997
2011
|
defaultVariants: {
|
|
@@ -2019,7 +2033,7 @@ function StepTabs({
|
|
|
2019
2033
|
className: cn(tabParentVariants({ variant }), className),
|
|
2020
2034
|
...props,
|
|
2021
2035
|
children: [
|
|
2022
|
-
/* @__PURE__ */ jsx32(Tabs.List, { className:
|
|
2036
|
+
/* @__PURE__ */ jsx32(Tabs.List, { className: cn(headerVariants({ variant })), children: list.length > 1 && list.map((item, index) => /* @__PURE__ */ jsx32(
|
|
2023
2037
|
Tabs.Trigger,
|
|
2024
2038
|
{
|
|
2025
2039
|
className: cn(singleTabVariants({ variant }), classNameTab),
|
|
@@ -2031,7 +2045,10 @@ function StepTabs({
|
|
|
2031
2045
|
children && children.map((child, index) => /* @__PURE__ */ jsx32(
|
|
2032
2046
|
Tabs.Content,
|
|
2033
2047
|
{
|
|
2034
|
-
className:
|
|
2048
|
+
className: cn(
|
|
2049
|
+
"grow rounded-b-md bg-white p-5 outline-none",
|
|
2050
|
+
variant === "minimal" && "border-t"
|
|
2051
|
+
),
|
|
2035
2052
|
value: index.toString(),
|
|
2036
2053
|
children: child
|
|
2037
2054
|
},
|
|
@@ -3403,7 +3420,7 @@ function JobPost({
|
|
|
3403
3420
|
!!formattedSalary && {
|
|
3404
3421
|
icon: "banknote",
|
|
3405
3422
|
name: "salary",
|
|
3406
|
-
label:
|
|
3423
|
+
label: formattedSalary
|
|
3407
3424
|
},
|
|
3408
3425
|
!!formattedEmploymentType && {
|
|
3409
3426
|
icon: "briefcase-business",
|