@next-degree/pickle-shared-js 0.9.2 → 0.9.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/README.md +4 -2
- package/dist/components/jobPost/JobPost.cjs +2 -0
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +3 -2
- package/dist/components/jobPost/JobPost.d.ts +3 -2
- package/dist/components/jobPost/JobPost.js +2 -0
- 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/primitives/radio-group.cjs +2 -2
- package/dist/components/primitives/radio-group.cjs.map +1 -1
- package/dist/components/primitives/radio-group.js +4 -2
- package/dist/components/primitives/radio-group.js.map +1 -1
- package/dist/components/ui/Checkbox.cjs +1 -1
- package/dist/components/ui/Checkbox.cjs.map +1 -1
- package/dist/components/ui/Checkbox.js +1 -1
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/Combobox.cjs +1 -1
- package/dist/components/ui/Combobox.cjs.map +1 -1
- package/dist/components/ui/Combobox.js +1 -1
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/components/ui/DatePicker.cjs +7 -5
- package/dist/components/ui/DatePicker.cjs.map +1 -1
- package/dist/components/ui/DatePicker.d.cts +4 -0
- package/dist/components/ui/DatePicker.d.ts +4 -0
- package/dist/components/ui/DatePicker.js +7 -5
- package/dist/components/ui/DatePicker.js.map +1 -1
- package/dist/components/ui/ListItem.cjs +1 -1
- package/dist/components/ui/ListItem.cjs.map +1 -1
- package/dist/components/ui/ListItem.js +1 -1
- package/dist/components/ui/ListItem.js.map +1 -1
- package/dist/components/ui/Radio.cjs +2 -2
- package/dist/components/ui/Radio.cjs.map +1 -1
- package/dist/components/ui/Radio.js +4 -2
- package/dist/components/ui/Radio.js.map +1 -1
- package/dist/components/ui/Switch.cjs.map +1 -1
- package/dist/components/ui/Switch.js.map +1 -1
- package/dist/{displayText-ca_ofoAC.d.cts → displayText-B5n9hDm3.d.cts} +2 -2
- package/dist/{displayText-eoAHqSNz.d.ts → displayText-Byd8i1xM.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +11 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- 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/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/package.json +1 -1
- package/dist/{job_posting_service_latest-BOVbz68F.d.cts → job_posting_service_latest-D9T7gVhJ.d.cts} +5 -5
- package/dist/{job_posting_service_latest-BOVbz68F.d.ts → job_posting_service_latest-D9T7gVhJ.d.ts} +5 -5
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.cts → shared_pickle_output_latest-CXBCG04N.d.cts} +4 -4
- package/dist/{shared_pickle_output_latest-DKOmTyYk.d.ts → shared_pickle_output_latest-CXBCG04N.d.ts} +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-
|
|
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-D9T7gVhJ.js';
|
|
4
|
+
import { U as UnitTextEnum, C as CurrencyEnum } from './shared_pickle_output_latest-CXBCG04N.js';
|
|
5
5
|
|
|
6
6
|
declare const employmentTypeDisplayText: DisplayTextConfig<typeof EmploymentTypeEnum>;
|
|
7
7
|
declare const unitTextDisplayText: DisplayTextConfig<typeof UnitTextEnum>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceMappings } from '../displayText-
|
|
1
|
+
import { S as ServiceMappings } from '../displayText-B5n9hDm3.cjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../job_posting_service_latest-
|
|
4
|
-
import '../shared_pickle_output_latest-
|
|
3
|
+
import '../job_posting_service_latest-D9T7gVhJ.cjs';
|
|
4
|
+
import '../shared_pickle_output_latest-CXBCG04N.cjs';
|
|
5
5
|
|
|
6
6
|
declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceMappings } from '../displayText-
|
|
1
|
+
import { S as ServiceMappings } from '../displayText-Byd8i1xM.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../job_posting_service_latest-
|
|
4
|
-
import '../shared_pickle_output_latest-
|
|
3
|
+
import '../job_posting_service_latest-D9T7gVhJ.js';
|
|
4
|
+
import '../shared_pickle_output_latest-CXBCG04N.js';
|
|
5
5
|
|
|
6
6
|
declare const useDisplayText: (scope: keyof ServiceMappings, value: string | string[] | undefined | null) => string;
|
|
7
7
|
|
package/dist/index.cjs
CHANGED
|
@@ -306,7 +306,7 @@ var CheckboxToggle = (0, import_react2.forwardRef)(({ className, ...props }, ref
|
|
|
306
306
|
"data-[state=indeterminate]:bg-green-80",
|
|
307
307
|
"data-[state=checked]:text-white",
|
|
308
308
|
"data-[state=indeterminate]:text-primary-foreground",
|
|
309
|
-
props.disabled && "data-[state=checked]:
|
|
309
|
+
props.disabled && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
|
|
310
310
|
className
|
|
311
311
|
),
|
|
312
312
|
...props,
|
|
@@ -1399,7 +1399,7 @@ var RadioGroupItem = (0, import_react8.forwardRef)(({ className, children, ...pr
|
|
|
1399
1399
|
{
|
|
1400
1400
|
ref,
|
|
1401
1401
|
className: cn(
|
|
1402
|
-
"
|
|
1402
|
+
"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",
|
|
1403
1403
|
className
|
|
1404
1404
|
),
|
|
1405
1405
|
...props
|
|
@@ -1931,7 +1931,7 @@ Calendar.displayName = "Calendar";
|
|
|
1931
1931
|
// src/components/ui/DatePicker.tsx
|
|
1932
1932
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
1933
1933
|
var DatePicker = (0, import_react14.forwardRef)(
|
|
1934
|
-
({ label, description, required, classNames, value, onChange, error }, ref) => {
|
|
1934
|
+
({ label, description, required, classNames, value, onChange, error, id, testId }, ref) => {
|
|
1935
1935
|
const [date, setDate] = (0, import_react14.useState)(null);
|
|
1936
1936
|
(0, import_react14.useEffect)(() => {
|
|
1937
1937
|
setDate(value ?? null);
|
|
@@ -1941,7 +1941,7 @@ var DatePicker = (0, import_react14.forwardRef)(
|
|
|
1941
1941
|
onChange?.(dateSelected);
|
|
1942
1942
|
setDate(dateSelected);
|
|
1943
1943
|
};
|
|
1944
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn("flex w-auto flex-col gap-1"), children: [
|
|
1944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { id, className: cn("flex w-auto flex-col gap-1"), children: [
|
|
1945
1945
|
label && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1946
1946
|
Label_default,
|
|
1947
1947
|
{
|
|
@@ -1952,7 +1952,7 @@ var DatePicker = (0, import_react14.forwardRef)(
|
|
|
1952
1952
|
}
|
|
1953
1953
|
),
|
|
1954
1954
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Popover, { children: [
|
|
1955
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PopoverTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn(datePickerStyle()), children: [
|
|
1955
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(PopoverTrigger, { "data-testid": testId, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: cn(datePickerStyle(), classNames?.input), children: [
|
|
1956
1956
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.Calendar, { size: 16 }),
|
|
1957
1957
|
date ? (0, import_date_fns.format)(date, "MM/dd/yyyy") : "Select a date"
|
|
1958
1958
|
] }) }),
|
|
@@ -1963,7 +1963,8 @@ var DatePicker = (0, import_react14.forwardRef)(
|
|
|
1963
1963
|
selected: date || void 0,
|
|
1964
1964
|
onSelect: handleDateSelect,
|
|
1965
1965
|
captionLayout: "dropdown",
|
|
1966
|
-
showOutsideDays: true
|
|
1966
|
+
showOutsideDays: true,
|
|
1967
|
+
className: classNames?.calendar
|
|
1967
1968
|
}
|
|
1968
1969
|
) })
|
|
1969
1970
|
] }),
|
|
@@ -1999,7 +2000,8 @@ var datePickerStyle = (0, import_cva9.cva)([
|
|
|
1999
2000
|
"[&::-webkit-search-results-decoration]:appearance-none",
|
|
2000
2001
|
"[&::-ms-clear]:display-none",
|
|
2001
2002
|
"[&::-ms-reveal]:display-none",
|
|
2002
|
-
"text-grey-80 border"
|
|
2003
|
+
"text-grey-80 border",
|
|
2004
|
+
"font-normal"
|
|
2003
2005
|
]);
|
|
2004
2006
|
|
|
2005
2007
|
// src/components/company/CompanyBenefits.tsx
|
|
@@ -2921,6 +2923,7 @@ function JobPost({
|
|
|
2921
2923
|
bannerSrc,
|
|
2922
2924
|
avatarSrc,
|
|
2923
2925
|
standalone,
|
|
2926
|
+
avatarHref,
|
|
2924
2927
|
fallbackHref,
|
|
2925
2928
|
actions
|
|
2926
2929
|
}) {
|
|
@@ -2977,6 +2980,7 @@ function JobPost({
|
|
|
2977
2980
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2978
2981
|
actions,
|
|
2979
2982
|
standalone,
|
|
2983
|
+
avatarHref,
|
|
2980
2984
|
backFallbackHref: fallbackHref,
|
|
2981
2985
|
tags
|
|
2982
2986
|
}
|