a4b9e0e30a
fix: bits-ui component type mismatches with exactOptionalPropertyTypes
...
- Select.svelte: Use conditional spreading for optional `disabled` prop and `value` prop
- Switch.svelte: Conditionally spread `name` and `value` props
- Segment/RepSegment: Remove HTMLButtonAttributes extension and handle disabled prop properly
- Replace inline `import('svelte').Snippet` with proper import statements
Fixes type errors where bits-ui prop types don't include explicit `undefined` for optional properties, which conflicts with `exactOptionalPropertyTypes: true`.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 18:05:27 -08:00
Devin AI
67eb624bfc
fix: type errors cleanup (161 -> 130 errors)
...
- Fix Party.svelte: add null checks for existingChar/existingWeapon/existingSummon
- Fix DropdownItem.svelte: replace asChild with child snippet pattern for bits-ui v2
- Fix UncapStar.svelte, TranscendenceStar.svelte: tabIndex -> tabindex
- Fix Party.svelte, Navigation.svelte: remove asChild prop usage
- Fix images.ts: add | undefined to pose/element params for exactOptionalPropertyTypes
- Fix ItemHeader.svelte, UncapIndicator.svelte: accept number | null | undefined
- Fix GridRepCollection.svelte, GuidebookUnit.svelte: PartyView -> Party type
- Fix search.adapter.ts: add optional type property to SearchResult
- Update various Props interfaces for exactOptionalPropertyTypes compliance
Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-28 21:58:11 +00:00
Devin AI
6e735f08a3
fix: more type errors (191 -> 181 errors)
...
- Fix DetailItem.svelte to accept boolean and null values
- Fix proficiency access in database/characters/[id]/+page.svelte
Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-28 21:08:56 +00:00
Devin AI
cf7a036575
fix: type errors in svelte-main branch (219 -> 191 errors)
...
- Fix paraglide aliases in svelte.config.js
- Fix Checkbox.svelte: use indeterminate prop, remove restProps spread
- Fix Switch.svelte: simplify Props interface, remove restProps spread
- Fix Button.svelte: add null checks for icon prop
- Fix sidebar.svelte.ts: use explicit undefined types for exactOptionalPropertyTypes
- Fix Party.svelte: fix import extension, remove ConflictService argument
- Fix job.resource.svelte.ts: add error property to success states, fix groupJobsByTier null checks
Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-28 21:06:05 +00:00
Devin AI
cab0a84588
fix: type errors in svelte-main branch (372 -> 217 errors)
...
- Fix Button variant errors (outlined -> ghost, contained -> primary)
- Fix search.queries.ts import path and property names (snake_case -> camelCase)
- Fix PartyContext export from party.service.ts
- Fix User type missing avatar property
- Fix exactOptionalPropertyTypes violations in Unit components
- Fix MenuItems Props interface
- Fix RequestOptions, SearchParams, SearchFilters types
- Fix UpdateUncapParams type
- Fix Select.ItemIndicator and maxLength errors
- Fix Summon/Weapon hp/atk properties in entity.adapter.ts
Co-Authored-By: Justin Edmund <justin@jedmund.com>
2025-11-28 20:32:38 +00:00
9a4a863ccd
add shared unit menu components
...
- UnitMenuContainer for context/dropdown menu wrapper
- MenuItems for reusable action items
- GearMenuButton for hover-triggered dropdown
- shared scss styles for both menu variants
2025-11-28 11:03:52 -08:00
030c5916c7
add context menu ui components and i18n
2025-09-30 03:42:14 -07:00
d8e18c00e1
update ui components
2025-09-29 23:48:02 -07:00
1b2bee497b
refactor segmented control
2025-09-29 23:44:37 -07:00
79c0de3128
remove barrel files and update imports
2025-09-29 23:37:37 -07:00
7889b7c59b
fix button component renderAs logic
2025-09-24 02:51:23 -07:00
8db94e37e7
Update Button component to have shape and element
2025-09-24 01:53:26 -07:00
6ace86a00e
Fix various spacing and sizing issues on party details
2025-09-24 01:24:57 -07:00
b564a5e5e0
Update layout
...
Sidebar now animates properly. Navigation has progressive blur behind it on scroll
2025-09-24 00:45:28 -07:00
838e09d17b
add sidebar components for descriptions and details
2025-09-23 22:08:51 -07:00
f5361c5ace
fix: use close.svg icon directly in SidebarHeader for visibility
2025-09-20 12:49:37 -07:00
713886a290
fix: prevent duplicate icon rendering in Button component when iconOnly is true
2025-09-20 03:02:55 -07:00
a642cdd857
fix: linter fixes
2025-09-17 22:16:10 -07:00
a8dfe28b07
added details components for database section
2025-09-17 22:14:19 -07:00
bca4843885
Refactored Select component
2025-09-17 22:10:38 -07:00
5466a70916
Refactored Input component
2025-09-17 22:08:37 -07:00
3e7ccf8fdb
Refactored Button component
2025-09-17 22:06:45 -07:00
54491b1158
add detail UI components and uncap utility
2025-09-17 13:39:28 -07:00
6f428f2aa3
refactor: migrate UI components to inline styles
2025-09-17 10:44:52 -07:00
1c5caccf5e
fix ui components svelte 5 compatibility
2025-09-16 20:10:04 -07:00
fed7b5ae50
implement visual party segmented control
2025-09-16 20:08:57 -07:00
627989bea1
add ui component test page
2025-09-16 01:35:47 -07:00
dc9898f334
add segmented control / tabs component
2025-09-16 01:34:29 -07:00
1b0294a683
add switch and checkbox components
2025-09-16 01:34:06 -07:00
205e1045a6
add select component with bits-ui
2025-09-16 01:33:46 -07:00
7f7661f542
add input component built on bits-ui
2025-09-16 01:33:24 -07:00
07f4721d5d
enhance button with more variants from hensei-web
2025-09-16 01:33:00 -07:00
2fbb181078
add ui components
2025-09-15 21:26:14 -07:00
7cb055a79f
Add tooltip support with bits-ui
2025-09-15 04:03:19 -07:00