@inploi/plugin-job-search 0.14.0 → 0.15.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/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,10 @@
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 .focus\:relative:focus {
1454
+ position: relative;
1455
+ }
1456
+
1447
1457
  #ijs .focus\:shadow-\[0_0_0_2px\]:focus {
1448
1458
  --tw-shadow: 0 0 0 2px;
1449
1459
  --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);
@@ -1503,6 +1513,20 @@
1503
1513
  --tw-ring-color: var(--i-job-card-stroke-color-active);
1504
1514
  }
1505
1515
 
1516
+ #ijs .group:first-child .group-\[\&\:first-child\]\:rounded-t-tag {
1517
+ border-top-left-radius: var(--i-radius-job-tag);
1518
+ border-top-right-radius: var(--i-radius-job-tag);
1519
+ }
1520
+
1521
+ #ijs .group:last-child .group-\[\&\:last-child\]\:rounded-b-tag {
1522
+ border-bottom-right-radius: var(--i-radius-job-tag);
1523
+ border-bottom-left-radius: var(--i-radius-job-tag);
1524
+ }
1525
+
1526
+ #ijs .has-\[\[data-current-value\=true\]\]\:border-b-accent-3:has([data-current-value=true]) {
1527
+ border-bottom-color: var(--i-color-a-3);
1528
+ }
1529
+
1506
1530
  #ijs .data-\[state\=idle\]\:translate-y-full[data-state=idle] {
1507
1531
  --tw-translate-y: 100%;
1508
1532
  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 +1552,13 @@
1528
1552
 
1529
1553
  @media (pointer: coarse) {
1530
1554
 
1555
+ #ijs .pointer-coarse\:max-h-\\\[var\\\(--maxHeight\\\)\\\] {
1556
+ max-height: var(--maxHeight);
1557
+ }
1558
+ }
1559
+
1560
+ @media (pointer: coarse) {
1561
+
1531
1562
  #ijs .pointer-coarse\:overflow-x-auto {
1532
1563
  overflow-x: auto;
1533
1564
  }
@@ -1535,8 +1566,8 @@
1535
1566
 
1536
1567
  @media (pointer: fine) {
1537
1568
 
1538
- #ijs .pointer-fine\:w-full {
1539
- width: 100%;
1569
+ #ijs .pointer-fine\:flex-col {
1570
+ flex-direction: column;
1540
1571
  }
1541
1572
  }
1542
1573
 
@@ -1549,6 +1580,13 @@
1549
1580
 
1550
1581
  @media (pointer: fine) {
1551
1582
 
1583
+ #ijs .pointer-fine\:flex-nowrap {
1584
+ flex-wrap: nowrap;
1585
+ }
1586
+ }
1587
+
1588
+ @media (pointer: fine) {
1589
+
1552
1590
  #ijs .pointer-fine\:rounded-section {
1553
1591
  border-radius: var(--i-radius-section);
1554
1592
  }
@@ -1657,3 +1695,7 @@
1657
1695
  --tw-scale-y: 0.975;
1658
1696
  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
1697
  }
1698
+
1699
+ #ijs .\[\&\:not\(\:last-child\)\]\:border-b-px:not(:last-child) {
1700
+ border-bottom-width: 1px;
1701
+ }
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.0",
3
+ "version": "0.15.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"
@@ -45,10 +57,10 @@
45
57
  "vite": "^4.5.3",
46
58
  "vite-plugin-dts": "^3.9.1",
47
59
  "vite-tsconfig-paths": "^4.3.2",
60
+ "@inploi/core": "1.14.1",
48
61
  "@inploi/design-tokens": "0.2.1",
49
62
  "@inploi/plugin-job-alerts": "0.2.0",
50
- "@inploi/core": "1.14.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": {