jedmund-svelte/src/lib/components/admin/composer
Justin Edmund 974781b685 fix: Svelte 5 migration and linting improvements (61 errors fixed)
Complete Svelte 5 runes migration and fix remaining ESLint errors:

**Svelte 5 Migration (40 errors):**
- Add $state() and $state.raw() for reactive variables and DOM refs
- Replace deprecated on:event directives with onevent syntax
- Fix closure capture issues in derived values
- Replace svelte:self with direct component imports
- Fix state initialization and reactivity issues

**TypeScript/ESLint (8 errors):**
- Replace explicit any types with proper types (Prisma.MediaWhereInput, unknown)
- Remove unused imports and rename unused variables with underscore prefix
- Convert require() to ES6 import syntax

**Other Fixes (13 errors):**
- Disable custom element props warnings for form components
- Fix self-closing textarea tags
- Add aria-labels to icon-only buttons
- Add keyboard handlers for interactive elements
- Refactor map popup to use Svelte component instead of HTML strings

Files modified: 28 components, 2 scripts, 1 utility
New file: MapPopup.svelte for geolocation popup content
2025-11-24 04:47:22 -08:00
..
BubbleColorPicker.svelte fix(svelte5): update event handler syntax from on:clickoutside to onclickoutside 2025-10-07 22:16:13 -07:00
BubbleTextStyleMenu.svelte fix: complete frontend component any type cleanup 2025-11-23 05:50:22 -08:00
ComposerBubbleMenu.svelte refactor: modernize Edra editor components and enhance functionality 2025-07-09 23:21:27 -07:00
ComposerCore.svelte fix: Svelte 5 migration and linting improvements (61 errors fixed) 2025-11-24 04:47:22 -08:00
ComposerLinkManager.svelte lint: remove unused imports and rename unused parameters (6 fixes) 2025-11-23 14:38:52 +00:00
ComposerMediaHandler.svelte.ts refactor(admin): use session fetch in media components 2025-10-07 05:54:18 -07:00
ComposerToolbar.svelte lint: remove unused imports and rename unused parameters (6 fixes) 2025-11-23 14:38:52 +00:00
editorConfig.ts lint: remove unused imports and rename unused parameters (6 fixes) 2025-11-23 14:38:52 +00:00
index.ts fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
MediaInsertDropdown.svelte lint: remove unused imports and rename unused parameters (6 fixes) 2025-11-23 14:38:52 +00:00
TextStyleDropdown.svelte fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00
types.ts fix: complete frontend component any type cleanup 2025-11-23 05:50:22 -08:00
useComposerEvents.svelte.ts fix: replace any types in frontend components 2025-11-23 05:32:09 -08:00
useDropdown.svelte.ts fix: drag handle actions now affect the correct block 2025-06-26 10:33:27 -04:00