@inploi/plugin-job-search 1.2.1 → 1.2.3

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.
@@ -1540,7 +1540,8 @@ const { TranslationProvider: Fp, useTranslation: dt, createTFunction: jp } = ac(
1540
1540
  loading_jobs: "Loading jobs…",
1541
1541
  map_jobs_error: "We’re having trouble loading jobs in the area",
1542
1542
  map_has_more_title: "Not showing all the jobs in this area",
1543
- map_has_more_description: "Zoom in to refine your search further"
1543
+ map_has_more_description: "Zoom in to refine your search further",
1544
+ map_jobs_showing: { one: "Showing {{count}} job", other: "Showing {{count}} jobs" }
1544
1545
  });
1545
1546
  function Vi(e) {
1546
1547
  var t, n, r = "";
@@ -6059,7 +6060,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6059
6060
  hasValue: !1
6060
6061
  }
6061
6062
  }), ss = je({
6062
- base: "gutter-stable group/filter flex-col p-2 bg-app flex max-w-full overflow-y-auto items-stretch max-h-[60svh]",
6063
+ base: "flex-1 gutter-stable group/filter flex-col p-2 bg-app flex max-w-full overflow-y-auto items-stretch",
6063
6064
  variants: {
6064
6065
  ring: {
6065
6066
  default: "border-b-px border-neutral-4",
@@ -6176,7 +6177,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6176
6177
  error: new Error(s("filters_loading_error"), { cause: l.error }),
6177
6178
  resetError: () => l.swr.mutate()
6178
6179
  }
6179
- ) : /* @__PURE__ */ _("div", { class: "theme-fill:bg-neutral-1 flex min-h-0 w-full flex-col", children: [
6180
+ ) : /* @__PURE__ */ _("div", { class: "theme-fill:bg-neutral-1 flex min-h-0 w-full flex-1 flex-col", children: [
6180
6181
  t.searchable && /* @__PURE__ */ _("div", { class: "border-b-px border-neutral-4", children: /* @__PURE__ */ _(
6181
6182
  "input",
6182
6183
  {
@@ -6196,6 +6197,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6196
6197
  error: new Error(s("filters_loading_error"), {
6197
6198
  cause: i.error
6198
6199
  }),
6200
+ class: "flex-1",
6199
6201
  resetError: () => i.swr.mutate()
6200
6202
  }
6201
6203
  );
@@ -6209,7 +6211,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6209
6211
  size: "lg",
6210
6212
  variant: "neutralStrong",
6211
6213
  interactive: !0,
6212
- class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
6214
+ class: "animate-skeleton flex-1 cursor-default opacity-20 active:-scale-100"
6213
6215
  }),
6214
6216
  children: /* @__PURE__ */ _("span", { class: "inline-block w-[10ch]" })
6215
6217
  }
@@ -6261,7 +6263,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6261
6263
  case "one":
6262
6264
  o({
6263
6265
  select: "one",
6264
- value: m.value
6266
+ value: w ? void 0 : m.value
6265
6267
  });
6266
6268
  break;
6267
6269
  default:
@@ -6282,13 +6284,13 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6282
6284
  },
6283
6285
  m.value
6284
6286
  );
6285
- }) }) : /* @__PURE__ */ _("p", { class: "font-style-tag text-style-tag font-weight-tag w-full px-4 pb-1 pt-4 text-center", children: s("no_filter_options_available") });
6287
+ }) }) : /* @__PURE__ */ _("p", { class: "font-style-tag text-style-tag font-weight-tag w-full flex-1 px-4 pb-1 pt-4 text-center", children: s("no_filter_options_available") });
6286
6288
  }
6287
6289
  default:
6288
6290
  Ln(i);
6289
6291
  }
6290
6292
  })(),
6291
- /* @__PURE__ */ _("footer", { class: "flex justify-end p-2", children: [
6293
+ /* @__PURE__ */ _("footer", { class: "flex flex-none justify-end p-2", children: [
6292
6294
  /* @__PURE__ */ _("div", { class: "flex-1", children: c && /* @__PURE__ */ _(
6293
6295
  "button",
6294
6296
  {
@@ -6351,7 +6353,7 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6351
6353
  base: "bg-lowest isolate z-50 flex flex-col overflow-hidden ring-neutral-4 ring-px",
6352
6354
  variants: {
6353
6355
  mode: {
6354
- mobile: "fixed bottom-0 w-full max-h-[80svh] rounded-t-section animate-slide-out-bottom",
6356
+ mobile: "fixed bottom-0 w-full h-[80svh] rounded-t-section animate-slide-out-bottom pb-[env(safe-area-inset-bottom)]",
6355
6357
  desktop: "min-w-64 max-w-xs max-h-[--radix-popover-content-available-height] rounded-section animate-slideDownFade data-[side=top]:animate-slideUpFade shadow-lg"
6356
6358
  }
6357
6359
  }
@@ -6378,13 +6380,15 @@ const nf = qd, rf = Yd, of = Jd, af = Qd, as = je({
6378
6380
  widgetId: l
6379
6381
  }) => {
6380
6382
  const u = ys(r.key, ii) ? ii[r.key] : void 0, d = r.icon ?? u ?? "filter", c = us(t), h = c.length > 0, f = lc("(pointer: coarse)"), g = /* @__PURE__ */ _(M, { children: [
6381
- /* @__PURE__ */ _(ze, { "aria-hidden": !0, class: "flex-none", name: d }),
6382
- /* @__PURE__ */ _("span", { class: "truncate", children: r.label }),
6383
+ /* @__PURE__ */ _("div", { class: "flex min-w-0 flex-1 items-center gap-1.5", children: [
6384
+ /* @__PURE__ */ _(ze, { "aria-hidden": !0, class: "flex-none", name: d }),
6385
+ /* @__PURE__ */ _("span", { class: "truncate", children: r.label })
6386
+ ] }),
6383
6387
  /* @__PURE__ */ _(
6384
6388
  ze,
6385
6389
  {
6386
6390
  "aria-hidden": !0,
6387
- class: "text-neutral-8 flex-none rotate-90 transition-transform group-data-[state=open]:-rotate-90",
6391
+ class: "text-neutral-8 flex-shrink-0 rotate-90 transition-transform group-data-[state=open]:-rotate-90",
6388
6392
  name: "chevron-right"
6389
6393
  }
6390
6394
  ),
package/dist/utils.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-63e032a6.cjs");exports.getGeolocationFromSearchParams=e.getGeolocationFromSearchParams;exports.getStatefulPropertiesFromSearchParams=e.getStatefulPropertiesFromSearchParams;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-cd874e5a.cjs");exports.getGeolocationFromSearchParams=e.getGeolocationFromSearchParams;exports.getStatefulPropertiesFromSearchParams=e.getStatefulPropertiesFromSearchParams;
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Y as e, X as o } from "./utils-c8729cb9.js";
1
+ import { Y as e, X as o } from "./utils-dde9ec9c.js";
2
2
  export {
3
3
  e as getGeolocationFromSearchParams,
4
4
  o as getStatefulPropertiesFromSearchParams
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-job-search",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-job-search.js",
6
6
  "types": "dist/index.d.ts",
@@ -65,8 +65,8 @@
65
65
  "vite": "^4.5.3",
66
66
  "vite-plugin-dts": "^3.9.1",
67
67
  "vite-tsconfig-paths": "^4.3.2",
68
- "@inploi/core": "1.16.0",
69
68
  "@inploi/design-tokens": "0.2.1",
69
+ "@inploi/core": "1.16.0",
70
70
  "@inploi/i18n": "0.1.2",
71
71
  "eslint-config-custom": "0.1.0"
72
72
  },