@molecule/app-list-item-row-svelte 1.2.1 → 1.2.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/ListItemRow.svelte +8 -10
- package/dist/ListItemRow.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-28T22:54:27.400Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-list-item-row-svelte
|
|
@@ -108,7 +108,7 @@ const ListItemRow: LegacyComponentType
|
|
|
108
108
|
|
|
109
109
|
Peer dependencies:
|
|
110
110
|
|
|
111
|
-
- `@molecule/app-svelte` ^3.
|
|
111
|
+
- `@molecule/app-svelte` ^3.13.0 || ^4.0.0
|
|
112
112
|
- `@molecule/app-ui` ^1.0.1
|
|
113
113
|
- `@molecule/app-ui-svelte` ^1.1.0
|
|
114
114
|
- `svelte` ^5.0.0
|
package/dist/ListItemRow.svelte
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
title, and the `actions` slot sits above it and keeps its own clicks.
|
|
8
8
|
-->
|
|
9
9
|
<script lang="ts">
|
|
10
|
+
import { PresentWhileContent } from '@molecule/app-svelte'
|
|
10
11
|
import { getClassMap } from '@molecule/app-ui'
|
|
11
12
|
import { OptimisticToggleButton } from '@molecule/app-ui-svelte'
|
|
12
13
|
|
|
@@ -63,9 +64,9 @@
|
|
|
63
64
|
></button>
|
|
64
65
|
{/if}
|
|
65
66
|
{#if leading}
|
|
66
|
-
<
|
|
67
|
+
<PresentWhileContent class={cm.shrink0}>
|
|
67
68
|
{#if typeof leading === 'function'}{@render leading?.()}{:else}{leading}{/if}
|
|
68
|
-
</
|
|
69
|
+
</PresentWhileContent>
|
|
69
70
|
{/if}
|
|
70
71
|
<div class={cm.cn(cm.flex1, cm.stack(0))}>
|
|
71
72
|
<div
|
|
@@ -86,13 +87,10 @@
|
|
|
86
87
|
{/if}
|
|
87
88
|
</div>
|
|
88
89
|
{#if toggle || actions}
|
|
89
|
-
<
|
|
90
|
-
{#if toggle}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
{#if typeof actions === 'function'}{@render actions?.()}{:else}{actions}{/if}
|
|
95
|
-
{/if}
|
|
96
|
-
</div>
|
|
90
|
+
<PresentWhileContent class={cm.cn(cm.shrink0, cm.position('relative'))}
|
|
91
|
+
>{#if toggle}<OptimisticToggleButton
|
|
92
|
+
{...toggle}
|
|
93
|
+
/>{/if}{#if actions}{#if typeof actions === 'function'}{@render actions?.()}{:else}{actions}{/if}{/if}</PresentWhileContent
|
|
94
|
+
>
|
|
97
95
|
{/if}
|
|
98
96
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRow.svelte.d.ts","sourceRoot":"","sources":["../src/ListItemRow.svelte"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItemRow.svelte.d.ts","sourceRoot":"","sources":["../src/ListItemRow.svelte"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAqEnD,QAAA,MAAM,WAAW,sDAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
|
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.3",
|
|
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",
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@molecule/app-svelte": "^3.
|
|
51
|
+
"@molecule/app-svelte": "^3.13.0 || ^4.0.0",
|
|
52
52
|
"@molecule/app-ui": "^1.0.1",
|
|
53
53
|
"@molecule/app-ui-svelte": "^1.1.0",
|
|
54
54
|
"svelte": "^5.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
58
|
-
"@molecule/app-i18n": "1.
|
|
58
|
+
"@molecule/app-i18n": "1.4.0",
|
|
59
59
|
"@molecule/app-icons": "1.0.4",
|
|
60
|
-
"@molecule/app-svelte": "
|
|
61
|
-
"@molecule/app-ui": "1.
|
|
62
|
-
"@molecule/app-ui-svelte": "1.
|
|
60
|
+
"@molecule/app-svelte": "4.0.0",
|
|
61
|
+
"@molecule/app-ui": "1.17.0",
|
|
62
|
+
"@molecule/app-ui-svelte": "1.12.2",
|
|
63
63
|
"@sveltejs/package": "3.0.2",
|
|
64
64
|
"@sveltejs/vite-plugin-svelte": "7.1.2",
|
|
65
65
|
"@types/node": "26.6.5",
|