@molecule/app-job-listing-row-svelte 1.1.1 → 1.1.2
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.
|
@@ -61,37 +61,37 @@
|
|
|
61
61
|
{/if}
|
|
62
62
|
{#if leading}
|
|
63
63
|
<div class={cm.shrink0}>
|
|
64
|
-
{#if typeof leading === 'function'}{@render leading()}{:else}{leading}{/if}
|
|
64
|
+
{#if typeof leading === 'function'}{@render leading?.()}{:else}{leading}{/if}
|
|
65
65
|
</div>
|
|
66
66
|
{/if}
|
|
67
67
|
<div class={cm.cn(cm.flex1, cm.stack(1))}>
|
|
68
68
|
<h3 id={nameId} class={cm.cn(cm.textSize('base'), cm.fontWeight('semibold'))}>
|
|
69
|
-
{#if typeof title === 'function'}{@render title()}{:else}{title}{/if}
|
|
69
|
+
{#if typeof title === 'function'}{@render title?.()}{:else}{title}{/if}
|
|
70
70
|
</h3>
|
|
71
71
|
{#if company}
|
|
72
72
|
<span class={cm.textSize('sm')}>
|
|
73
|
-
{#if typeof company === 'function'}{@render company()}{:else}{company}{/if}
|
|
73
|
+
{#if typeof company === 'function'}{@render company?.()}{:else}{company}{/if}
|
|
74
74
|
</span>
|
|
75
75
|
{/if}
|
|
76
76
|
<div class={cm.flex({ align: 'center', gap: 'sm', wrap: 'wrap' })}>
|
|
77
77
|
{#if location}
|
|
78
78
|
<span class={cm.textSize('xs')}>
|
|
79
|
-
📍 {#if typeof location === 'function'}{@render location()}{:else}{location}{/if}
|
|
79
|
+
📍 {#if typeof location === 'function'}{@render location?.()}{:else}{location}{/if}
|
|
80
80
|
</span>
|
|
81
81
|
{/if}
|
|
82
82
|
{#if type}
|
|
83
83
|
<span class={cm.textSize('xs')}>
|
|
84
|
-
· {#if typeof type === 'function'}{@render type()}{:else}{type}{/if}
|
|
84
|
+
· {#if typeof type === 'function'}{@render type?.()}{:else}{type}{/if}
|
|
85
85
|
</span>
|
|
86
86
|
{/if}
|
|
87
87
|
{#if salary}
|
|
88
88
|
<span class={cm.cn(cm.textSize('xs'), cm.fontWeight('semibold'))}>
|
|
89
|
-
· {#if typeof salary === 'function'}{@render salary()}{:else}{salary}{/if}
|
|
89
|
+
· {#if typeof salary === 'function'}{@render salary?.()}{:else}{salary}{/if}
|
|
90
90
|
</span>
|
|
91
91
|
{/if}
|
|
92
92
|
{#if postedAt}
|
|
93
93
|
<span class={cm.textSize('xs')}>
|
|
94
|
-
· {#if typeof postedAt === 'function'}{@render postedAt()}{:else}{postedAt}{/if}
|
|
94
|
+
· {#if typeof postedAt === 'function'}{@render postedAt?.()}{:else}{postedAt}{/if}
|
|
95
95
|
</span>
|
|
96
96
|
{/if}
|
|
97
97
|
</div>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
cm.position('relative'),
|
|
103
103
|
)}
|
|
104
104
|
>
|
|
105
|
-
{#if typeof tags === 'function'}{@render tags()}{:else}{tags}{/if}
|
|
105
|
+
{#if typeof tags === 'function'}{@render tags?.()}{:else}{tags}{/if}
|
|
106
106
|
</div>
|
|
107
107
|
{/if}
|
|
108
108
|
</div>
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
<div
|
|
111
111
|
class={cm.cn(cm.flex({ align: 'center', gap: 'sm' }), cm.shrink0, cm.position('relative'))}
|
|
112
112
|
>
|
|
113
|
-
{#if typeof actions === 'function'}{@render actions()}{:else}{actions}{/if}
|
|
113
|
+
{#if typeof actions === 'function'}{@render actions?.()}{:else}{actions}{/if}
|
|
114
114
|
</div>
|
|
115
115
|
{/if}
|
|
116
116
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-job-listing-row-svelte",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Job-board row with title, company, location, type, salary range, posted date",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-job-listing-row-svelte",
|
|
6
6
|
"type": "module",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
58
58
|
"@molecule/app-i18n": "1.2.2",
|
|
59
59
|
"@molecule/app-icons": "1.0.4",
|
|
60
|
-
"@molecule/app-svelte": "3.
|
|
61
|
-
"@molecule/app-ui": "1.
|
|
62
|
-
"@molecule/app-ui-svelte": "1.1
|
|
60
|
+
"@molecule/app-svelte": "3.13.0",
|
|
61
|
+
"@molecule/app-ui": "1.5.0",
|
|
62
|
+
"@molecule/app-ui-svelte": "1.4.1",
|
|
63
63
|
"@sveltejs/package": "3.0.2",
|
|
64
64
|
"@sveltejs/vite-plugin-svelte": "7.1.2",
|
|
65
65
|
"@types/node": "26.6.5",
|
|
66
|
-
"jsdom": "
|
|
66
|
+
"jsdom": "31.0.1",
|
|
67
67
|
"svelte": "5.57.2",
|
|
68
68
|
"svelte-check": "4.7.7",
|
|
69
69
|
"typescript": "6.0.3",
|