Commit Graph

36 Commits

Author SHA1 Message Date
end 9f19a36994 Combobox: allow null value 2026-04-15 17:04:49 -07:00
end c991ac044f Combobox: fix icon padding issue with compact mode 2026-04-12 22:52:19 -07:00
end 337c2a50b3 Combobox: fix primary icon visibility
The primary icon for a Combobox was never visible if a value was
selected because we were always attempting to use the icon for that item
even if it didn't have one.
2026-04-08 17:39:04 -07:00
end 50c052a3c3 combobox: don't use portal for picker
fixes z-stacking issues when used within dialogs
2026-03-13 16:27:35 -07:00
end 48e400939e combobox: use popover attachment to manage positioning 2026-03-10 17:28:45 -07:00
end f8eb05cccf combobox: improved picker width behaviour
add width behaviour options, fix match width
2026-03-10 16:10:40 -07:00
end 3d240048c7 combobox: improve icon padding behaviour
Tween the value and make it more consistent with the underlying
StyledRawInput type.
2026-03-10 14:55:44 -07:00
end e83b980c6c combobox: fix special state spacing 2026-03-10 12:54:39 -07:00
end c4f973f1c2 combobox: refactor w/ snippet rendering overrides & better lazy loading 2026-03-10 12:50:40 -07:00
end f06867ad75 combobox: rough option snippets implementation 2026-03-09 16:37:02 -07:00
end 2864d705d5 combobox: fix picker each key
key was formed by `i + option.value`, which if the option value was in
the form of a number would end up as addition instead of concatenation.
replaced this key with just `option.value`, as this field is required.
2025-08-20 12:43:51 -07:00
end c45224aff8 clean up debug console.log calls 2025-07-17 11:35:47 -07:00
end 8e65a0b323 combobox: move outer click handlers to onMount 2025-07-16 17:42:06 -07:00
end 8d12c1b05d combobox: default icon support, smart icon width 2025-07-15 19:03:21 -07:00
end 6825154f8f combobox: improve compact item spacing & spinner centering 2025-07-15 18:44:27 -07:00
end 652c5632da combobox: don't highlight first item on first open 2025-07-15 18:39:20 -07:00
end c8a7c37635 combobox: add stateless mode 2025-07-15 18:35:33 -07:00
end 1ae9b3a34f combobox: add compact mode, open state callbacks 2025-07-15 15:24:09 -07:00
end bb44a946e1 combobox: implement loading state w/ new listeners & lazy mode 2025-07-15 15:07:14 -07:00
end e905eab6e7 combobox: use match sorter 2025-07-15 14:28:26 -07:00
end ba78511ec2 update tailwindcss & tweak styles 2025-07-10 14:26:33 -07:00
end b815ddf287 combobox: add use property 2025-07-04 03:38:15 -07:00
end 104d99661c adjust styling 2025-07-04 03:17:43 -07:00
end cc27f0599c rename ComboboxItem -> ComboboxOption 2025-07-04 02:32:06 -07:00
end 4ce40a55fd clean up consumer styling
Consumer now only imports the styles endpoint from their main CSS file.
Dark mode is currently permanently disabled, I need to add a JS helper
that when used automatically adds the correct class if there is a
preferred color scheme.

Also gets rid of the whole weird thing where the consumer had to have
a SPECIFIC `theme.css` file.
2025-07-03 21:17:49 -07:00
end 9e6834eaba reconfigure css to allow consumer styling
It's a little jank, but it works. The consumer absolutely MUST have a
file at `$lib/styles/tailwind.css` that contains all necessary tailwind
imports AND also imports the `src/lib/styles/base.css` file from sui.

WILL address this in another commit.
2025-07-03 20:58:04 -07:00
end 9988e07108 prefix theme colors for consumer compatibility 2025-07-03 20:21:38 -07:00
end 79552d21f8 fix css references to make suitable for import 2025-07-03 19:30:45 -07:00
end 8bea47f9fd simplify combobox event type 2025-07-03 15:23:39 -07:00
end c660d193be reconfigure package for ts-only consumption 2025-07-03 15:06:05 -07:00
end 02311a0e7b finish custom class and improved options overhaul 2025-07-03 14:45:23 -07:00
end a307ffee92 combobox: improve props, fix placement with scroll 2025-07-03 11:00:10 -07:00
end c8038cfa1f fix deps, add tailwind base styles 2025-07-01 12:58:25 -07:00
end 5da85021af fix monorepo package.json & tailwind
Fixes to package naming, sveltekit version mixups, local import
extensions, tailwind app.css imports, tailwind references.
2025-05-20 14:46:18 -07:00
end ca819834dd Combobox: remove gap & fix Snippet argument error 2025-05-05 16:11:03 -07:00
Elijah Duffy aecfb0ddaa fix ui package, use sv to create
recreated package using sv, marking correctly as a library. seems I was
missing some sveltekit tooling somewhere along the way otherwise.
2025-04-13 18:09:32 -06:00