@molecule/app-list-item-row-svelte 1.2.1 → 1.2.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.
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-18T19:30:11.638Z
6
+ Generated: 2026-11-24T08:58:58.138Z
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.5.0
111
+ - `@molecule/app-svelte` ^3.13.0
112
112
  - `@molecule/app-ui` ^1.0.1
113
113
  - `@molecule/app-ui-svelte` ^1.1.0
114
114
  - `svelte` ^5.0.0
@@ -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
- <div class={cm.shrink0}>
67
+ <PresentWhileContent class={cm.shrink0}>
67
68
  {#if typeof leading === 'function'}{@render leading?.()}{:else}{leading}{/if}
68
- </div>
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
- <div class={cm.cn(cm.shrink0, cm.position('relative'))}>
90
- {#if toggle}
91
- <OptimisticToggleButton {...toggle} />
92
- {/if}
93
- {#if actions}
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":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA2EnD,QAAA,MAAM,WAAW,sDAAwC,CAAC;AAC1D,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAClD,eAAe,WAAW,CAAC"}
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.1",
3
+ "version": "1.2.2",
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,7 +48,7 @@
48
48
  "access": "public"
49
49
  },
50
50
  "peerDependencies": {
51
- "@molecule/app-svelte": "^3.5.0",
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,9 +57,9 @@
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.13.0",
60
+ "@molecule/app-svelte": "3.14.1",
61
61
  "@molecule/app-ui": "1.5.0",
62
- "@molecule/app-ui-svelte": "1.4.1",
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",