@molecule/app-job-listing-row-svelte 1.1.1 → 1.1.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.
- package/README.md +2 -2
- package/dist/JobListingRow.svelte +18 -17
- package/dist/JobListingRow.svelte.d.ts.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-11-
|
|
6
|
+
Generated: 2026-11-24T08:58:45.541Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-job-listing-row-svelte
|
|
@@ -109,7 +109,7 @@ const JobListingRow: LegacyComponentType
|
|
|
109
109
|
|
|
110
110
|
Peer dependencies:
|
|
111
111
|
|
|
112
|
-
- `@molecule/app-svelte` ^3.
|
|
112
|
+
- `@molecule/app-svelte` ^3.13.0
|
|
113
113
|
- `@molecule/app-ui` ^1.0.1
|
|
114
114
|
- `@molecule/app-ui-svelte` ^1.1.0
|
|
115
115
|
- `svelte` ^5.0.0
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
the whole row with an empty, transparent native button that activates it.
|
|
10
10
|
-->
|
|
11
11
|
<script lang="ts">
|
|
12
|
+
import { PresentWhileContent } from '@molecule/app-svelte'
|
|
12
13
|
import { getClassMap } from '@molecule/app-ui'
|
|
13
14
|
|
|
14
15
|
import type { JobListingRowProps } from './types.js'
|
|
@@ -60,57 +61,57 @@
|
|
|
60
61
|
></button>
|
|
61
62
|
{/if}
|
|
62
63
|
{#if leading}
|
|
63
|
-
<
|
|
64
|
-
{#if typeof leading === 'function'}{@render leading()}{:else}{leading}{/if}
|
|
65
|
-
</
|
|
64
|
+
<PresentWhileContent class={cm.shrink0}>
|
|
65
|
+
{#if typeof leading === 'function'}{@render leading?.()}{:else}{leading}{/if}
|
|
66
|
+
</PresentWhileContent>
|
|
66
67
|
{/if}
|
|
67
68
|
<div class={cm.cn(cm.flex1, cm.stack(1))}>
|
|
68
69
|
<h3 id={nameId} class={cm.cn(cm.textSize('base'), cm.fontWeight('semibold'))}>
|
|
69
|
-
{#if typeof title === 'function'}{@render title()}{:else}{title}{/if}
|
|
70
|
+
{#if typeof title === 'function'}{@render title?.()}{:else}{title}{/if}
|
|
70
71
|
</h3>
|
|
71
72
|
{#if company}
|
|
72
|
-
<span class={cm.textSize('sm')}>
|
|
73
|
-
{#if typeof company === 'function'}{@render company()}{:else}{company}{/if}
|
|
74
|
-
</
|
|
73
|
+
<PresentWhileContent tag="span" class={cm.textSize('sm')}>
|
|
74
|
+
{#if typeof company === 'function'}{@render company?.()}{:else}{company}{/if}
|
|
75
|
+
</PresentWhileContent>
|
|
75
76
|
{/if}
|
|
76
77
|
<div class={cm.flex({ align: 'center', gap: 'sm', wrap: 'wrap' })}>
|
|
77
78
|
{#if location}
|
|
78
79
|
<span class={cm.textSize('xs')}>
|
|
79
|
-
📍 {#if typeof location === 'function'}{@render location()}{:else}{location}{/if}
|
|
80
|
+
📍 {#if typeof location === 'function'}{@render location?.()}{:else}{location}{/if}
|
|
80
81
|
</span>
|
|
81
82
|
{/if}
|
|
82
83
|
{#if type}
|
|
83
84
|
<span class={cm.textSize('xs')}>
|
|
84
|
-
· {#if typeof type === 'function'}{@render type()}{:else}{type}{/if}
|
|
85
|
+
· {#if typeof type === 'function'}{@render type?.()}{:else}{type}{/if}
|
|
85
86
|
</span>
|
|
86
87
|
{/if}
|
|
87
88
|
{#if salary}
|
|
88
89
|
<span class={cm.cn(cm.textSize('xs'), cm.fontWeight('semibold'))}>
|
|
89
|
-
· {#if typeof salary === 'function'}{@render salary()}{:else}{salary}{/if}
|
|
90
|
+
· {#if typeof salary === 'function'}{@render salary?.()}{:else}{salary}{/if}
|
|
90
91
|
</span>
|
|
91
92
|
{/if}
|
|
92
93
|
{#if postedAt}
|
|
93
94
|
<span class={cm.textSize('xs')}>
|
|
94
|
-
· {#if typeof postedAt === 'function'}{@render postedAt()}{:else}{postedAt}{/if}
|
|
95
|
+
· {#if typeof postedAt === 'function'}{@render postedAt?.()}{:else}{postedAt}{/if}
|
|
95
96
|
</span>
|
|
96
97
|
{/if}
|
|
97
98
|
</div>
|
|
98
99
|
{#if tags}
|
|
99
|
-
<
|
|
100
|
+
<PresentWhileContent
|
|
100
101
|
class={cm.cn(
|
|
101
102
|
cm.flex({ align: 'center', gap: 'xs', wrap: 'wrap' }),
|
|
102
103
|
cm.position('relative'),
|
|
103
104
|
)}
|
|
104
105
|
>
|
|
105
|
-
{#if typeof tags === 'function'}{@render tags()}{:else}{tags}{/if}
|
|
106
|
-
</
|
|
106
|
+
{#if typeof tags === 'function'}{@render tags?.()}{:else}{tags}{/if}
|
|
107
|
+
</PresentWhileContent>
|
|
107
108
|
{/if}
|
|
108
109
|
</div>
|
|
109
110
|
{#if actions}
|
|
110
|
-
<
|
|
111
|
+
<PresentWhileContent
|
|
111
112
|
class={cm.cn(cm.flex({ align: 'center', gap: 'sm' }), cm.shrink0, cm.position('relative'))}
|
|
112
113
|
>
|
|
113
|
-
{#if typeof actions === 'function'}{@render actions()}{:else}{actions}{/if}
|
|
114
|
-
</
|
|
114
|
+
{#if typeof actions === 'function'}{@render actions?.()}{:else}{actions}{/if}
|
|
115
|
+
</PresentWhileContent>
|
|
115
116
|
{/if}
|
|
116
117
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JobListingRow.svelte.d.ts","sourceRoot":"","sources":["../src/JobListingRow.svelte"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"JobListingRow.svelte.d.ts","sourceRoot":"","sources":["../src/JobListingRow.svelte"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AA+FrD,QAAA,MAAM,aAAa,wDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|
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.3",
|
|
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",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@molecule/app-svelte": "^3.
|
|
51
|
+
"@molecule/app-svelte": "^3.13.0",
|
|
52
52
|
"@molecule/app-ui": "^1.0.1",
|
|
53
53
|
"@molecule/app-ui-svelte": "^1.1.0",
|
|
54
54
|
"svelte": "^5.0.0"
|
|
@@ -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.
|
|
60
|
+
"@molecule/app-svelte": "3.14.1",
|
|
61
|
+
"@molecule/app-ui": "1.5.0",
|
|
62
|
+
"@molecule/app-ui-svelte": "1.4.2",
|
|
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",
|