@molecule/app-list-item-row-svelte 1.2.0 → 1.2.1
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/ListItemRow.svelte +5 -5
- package/package.json +5 -5
package/dist/ListItemRow.svelte
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{/if}
|
|
65
65
|
{#if leading}
|
|
66
66
|
<div class={cm.shrink0}>
|
|
67
|
-
{#if typeof leading === 'function'}{@render leading()}{:else}{leading}{/if}
|
|
67
|
+
{#if typeof leading === 'function'}{@render leading?.()}{:else}{leading}{/if}
|
|
68
68
|
</div>
|
|
69
69
|
{/if}
|
|
70
70
|
<div class={cm.cn(cm.flex1, cm.stack(0))}>
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
id={onClick ? nameId : undefined}
|
|
73
73
|
class={cm.cn(cm.textSize('sm'), cm.fontWeight('semibold'))}
|
|
74
74
|
>
|
|
75
|
-
{#if typeof title === 'function'}{@render title()}{:else}{title}{/if}
|
|
75
|
+
{#if typeof title === 'function'}{@render title?.()}{:else}{title}{/if}
|
|
76
76
|
</div>
|
|
77
77
|
{#if subtitle}
|
|
78
78
|
<div class={cm.textSize('sm')}>
|
|
79
|
-
{#if typeof subtitle === 'function'}{@render subtitle()}{:else}{subtitle}{/if}
|
|
79
|
+
{#if typeof subtitle === 'function'}{@render subtitle?.()}{:else}{subtitle}{/if}
|
|
80
80
|
</div>
|
|
81
81
|
{/if}
|
|
82
82
|
{#if metadata}
|
|
83
83
|
<div class={cm.textSize('xs')}>
|
|
84
|
-
{#if typeof metadata === 'function'}{@render metadata()}{:else}{metadata}{/if}
|
|
84
|
+
{#if typeof metadata === 'function'}{@render metadata?.()}{:else}{metadata}{/if}
|
|
85
85
|
</div>
|
|
86
86
|
{/if}
|
|
87
87
|
</div>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<OptimisticToggleButton {...toggle} />
|
|
92
92
|
{/if}
|
|
93
93
|
{#if actions}
|
|
94
|
-
{#if typeof actions === 'function'}{@render actions()}{:else}{actions}{/if}
|
|
94
|
+
{#if typeof actions === 'function'}{@render actions?.()}{:else}{actions}{/if}
|
|
95
95
|
{/if}
|
|
96
96
|
</div>
|
|
97
97
|
{/if}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-list-item-row-svelte",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Thumbnail + title + subtitle + metadata + actions row (nav lists, mobile menus)",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-list-item-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",
|