@inploi/plugin-job-search 0.14.1 → 0.16.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.
@@ -177,7 +177,7 @@ export declare const JobSchema: import('valibot').SchemaWithTransform<import('va
177
177
  town?: string | undefined;
178
178
  };
179
179
  id: number;
180
- isNew: boolean;
180
+ createdAt: string | null;
181
181
  company: {
182
182
  name: string;
183
183
  logo: string | undefined;
package/dist/style.css CHANGED
@@ -432,6 +432,10 @@
432
432
  height: 100%;
433
433
  }
434
434
 
435
+ #ijs .max-h-\[var\(--maxHeight\)\] {
436
+ max-height: var(--maxHeight);
437
+ }
438
+
435
439
  #ijs .min-h-\[1em\] {
436
440
  min-height: 1em;
437
441
  }
@@ -456,8 +460,8 @@
456
460
  width: 10ch;
457
461
  }
458
462
 
459
- #ijs .w-\[3ch\] {
460
- width: 3ch;
463
+ #ijs .w-\[2\.5ch\] {
464
+ width: 2.5ch;
461
465
  }
462
466
 
463
467
  #ijs .w-\[6ch\] {
@@ -537,21 +541,6 @@
537
541
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
538
542
  }
539
543
 
540
- @keyframes appear-tag {
541
-
542
- 0% {
543
- transform: scale(0.9);
544
- }
545
-
546
- 100% {
547
- transform: scale(1);
548
- }
549
- }
550
-
551
- #ijs .animate-appear-tag {
552
- animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;
553
- }
554
-
555
544
  @keyframes selected-tag {
556
545
 
557
546
  0% {
@@ -633,10 +622,6 @@
633
622
  flex-wrap: wrap;
634
623
  }
635
624
 
636
- #ijs .flex-nowrap {
637
- flex-wrap: nowrap;
638
- }
639
-
640
625
  #ijs .items-start {
641
626
  align-items: flex-start;
642
627
  }
@@ -645,6 +630,10 @@
645
630
  align-items: center;
646
631
  }
647
632
 
633
+ #ijs .items-stretch {
634
+ align-items: stretch;
635
+ }
636
+
648
637
  #ijs .justify-end {
649
638
  justify-content: flex-end;
650
639
  }
@@ -653,6 +642,10 @@
653
642
  justify-content: center;
654
643
  }
655
644
 
645
+ #ijs .justify-between {
646
+ justify-content: space-between;
647
+ }
648
+
656
649
  #ijs .gap-1 {
657
650
  gap: 0.25rem;
658
651
  }
@@ -743,6 +736,10 @@
743
736
  border-style: solid;
744
737
  }
745
738
 
739
+ #ijs .border-neutral-2 {
740
+ border-color: var(--i-color-n-2);
741
+ }
742
+
746
743
  #ijs .border-tag-accent-strong-stroke {
747
744
  border-color: var(--i-tag-accent-strong-stroke-color);
748
745
  }
@@ -767,8 +764,12 @@
767
764
  background-color: currentColor;
768
765
  }
769
766
 
770
- #ijs .bg-accent-5 {
771
- background-color: var(--i-color-a-5);
767
+ #ijs .bg-accent-2 {
768
+ background-color: var(--i-color-a-2);
769
+ }
770
+
771
+ #ijs .bg-accent-4 {
772
+ background-color: var(--i-color-a-4);
772
773
  }
773
774
 
774
775
  #ijs .bg-accent-9 {
@@ -905,6 +906,11 @@
905
906
  padding-bottom: 0.5rem;
906
907
  }
907
908
 
909
+ #ijs .py-2\.5 {
910
+ padding-top: 0.625rem;
911
+ padding-bottom: 0.625rem;
912
+ }
913
+
908
914
  #ijs .py-4 {
909
915
  padding-top: 1rem;
910
916
  padding-bottom: 1rem;
@@ -1444,6 +1450,14 @@
1444
1450
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1445
1451
  }
1446
1452
 
1453
+ #ijs .hover\:bg-neutral-2:hover {
1454
+ background-color: var(--i-color-n-2);
1455
+ }
1456
+
1457
+ #ijs .focus\:relative:focus {
1458
+ position: relative;
1459
+ }
1460
+
1447
1461
  #ijs .focus\:shadow-\[0_0_0_2px\]:focus {
1448
1462
  --tw-shadow: 0 0 0 2px;
1449
1463
  --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);
@@ -1503,6 +1517,20 @@
1503
1517
  --tw-ring-color: var(--i-job-card-stroke-color-active);
1504
1518
  }
1505
1519
 
1520
+ #ijs .group\/tag:first-child .group-\[\&\:first-child\]\/tag\:rounded-t-tag {
1521
+ border-top-left-radius: var(--i-radius-job-tag);
1522
+ border-top-right-radius: var(--i-radius-job-tag);
1523
+ }
1524
+
1525
+ #ijs .group\/tag:last-child .group-\[\&\:last-child\]\/tag\:rounded-b-tag {
1526
+ border-bottom-right-radius: var(--i-radius-job-tag);
1527
+ border-bottom-left-radius: var(--i-radius-job-tag);
1528
+ }
1529
+
1530
+ #ijs .has-\[\[data-current-value\=true\]\]\:border-b-accent-3:has([data-current-value=true]) {
1531
+ border-bottom-color: var(--i-color-a-3);
1532
+ }
1533
+
1506
1534
  #ijs .data-\[state\=idle\]\:translate-y-full[data-state=idle] {
1507
1535
  --tw-translate-y: 100%;
1508
1536
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1528,6 +1556,13 @@
1528
1556
 
1529
1557
  @media (pointer: coarse) {
1530
1558
 
1559
+ #ijs .pointer-coarse\:max-h-\\\[var\\\(--maxHeight\\\)\\\] {
1560
+ max-height: var(--maxHeight);
1561
+ }
1562
+ }
1563
+
1564
+ @media (pointer: coarse) {
1565
+
1531
1566
  #ijs .pointer-coarse\:overflow-x-auto {
1532
1567
  overflow-x: auto;
1533
1568
  }
@@ -1535,8 +1570,8 @@
1535
1570
 
1536
1571
  @media (pointer: fine) {
1537
1572
 
1538
- #ijs .pointer-fine\:w-full {
1539
- width: 100%;
1573
+ #ijs .pointer-fine\:flex-col {
1574
+ flex-direction: column;
1540
1575
  }
1541
1576
  }
1542
1577
 
@@ -1549,6 +1584,13 @@
1549
1584
 
1550
1585
  @media (pointer: fine) {
1551
1586
 
1587
+ #ijs .pointer-fine\:flex-nowrap {
1588
+ flex-wrap: nowrap;
1589
+ }
1590
+ }
1591
+
1592
+ @media (pointer: fine) {
1593
+
1552
1594
  #ijs .pointer-fine\:rounded-section {
1553
1595
  border-radius: var(--i-radius-section);
1554
1596
  }
@@ -1657,3 +1699,7 @@
1657
1699
  --tw-scale-y: 0.975;
1658
1700
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1659
1701
  }
1702
+
1703
+ #ijs .\[\&\:not\(\:last-child\)\]\:border-b-px:not(:last-child) {
1704
+ border-bottom-width: 1px;
1705
+ }
package/dist/utils.cjs ADDED
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
4
+ const newProperties = structuredClone(properties);
5
+ newProperties.forEach((property) => {
6
+ if (searchParams.has(property.key)) {
7
+ const newValue = searchParams.get(property.key);
8
+ if (!newValue)
9
+ return;
10
+ property.value = newValue.includes(",") ? newValue.split(",") : newValue;
11
+ }
12
+ });
13
+ return newProperties;
14
+ };
15
+ exports.getStatefulPropertiesFromSearchParams = getStatefulPropertiesFromSearchParams;
@@ -0,0 +1 @@
1
+ export { getStatefulPropertiesFromSearchParams } from './lib/utils';
package/dist/utils.js ADDED
@@ -0,0 +1,15 @@
1
+ const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
2
+ const newProperties = structuredClone(properties);
3
+ newProperties.forEach((property) => {
4
+ if (searchParams.has(property.key)) {
5
+ const newValue = searchParams.get(property.key);
6
+ if (!newValue)
7
+ return;
8
+ property.value = newValue.includes(",") ? newValue.split(",") : newValue;
9
+ }
10
+ });
11
+ return newProperties;
12
+ };
13
+ export {
14
+ getStatefulPropertiesFromSearchParams
15
+ };
package/package.json CHANGED
@@ -1,9 +1,21 @@
1
1
  {
2
2
  "name": "@inploi/plugin-job-search",
3
- "version": "0.14.1",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-job-search.js",
6
6
  "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "require": "./dist/index.cjs",
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./utils": {
14
+ "require": "./dist/utils.cjs",
15
+ "import": "./dist/utils.js",
16
+ "types": "./dist/utils.d.ts"
17
+ }
18
+ },
7
19
  "files": [
8
20
  "/dist",
9
21
  "/cdn"
@@ -48,7 +60,7 @@
48
60
  "@inploi/core": "1.14.1",
49
61
  "@inploi/design-tokens": "0.2.1",
50
62
  "@inploi/plugin-job-alerts": "0.2.0",
51
- "@inploi/sdk": "1.13.2",
63
+ "@inploi/sdk": "1.13.3",
52
64
  "eslint-config-custom": "0.1.0"
53
65
  },
54
66
  "msw": {