Commit Graph

29 Commits

Author SHA1 Message Date
Elijah Duffy
e83b980c6c combobox: fix special state spacing 2026-03-10 12:54:39 -07:00
Elijah Duffy
c4f973f1c2 combobox: refactor w/ snippet rendering overrides & better lazy loading 2026-03-10 12:50:40 -07:00
Elijah Duffy
f06867ad75 combobox: rough option snippets implementation 2026-03-09 16:37:02 -07:00
Elijah Duffy
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
Elijah Duffy
c45224aff8 clean up debug console.log calls 2025-07-17 11:35:47 -07:00
Elijah Duffy
8e65a0b323 combobox: move outer click handlers to onMount 2025-07-16 17:42:06 -07:00
Elijah Duffy
8d12c1b05d combobox: default icon support, smart icon width 2025-07-15 19:03:21 -07:00
Elijah Duffy
6825154f8f combobox: improve compact item spacing & spinner centering 2025-07-15 18:44:27 -07:00
Elijah Duffy
652c5632da combobox: don't highlight first item on first open 2025-07-15 18:39:20 -07:00
Elijah Duffy
c8a7c37635 combobox: add stateless mode 2025-07-15 18:35:33 -07:00
Elijah Duffy
1ae9b3a34f combobox: add compact mode, open state callbacks 2025-07-15 15:24:09 -07:00
Elijah Duffy
bb44a946e1 combobox: implement loading state w/ new listeners & lazy mode 2025-07-15 15:07:14 -07:00
Elijah Duffy
e905eab6e7 combobox: use match sorter 2025-07-15 14:28:26 -07:00
Elijah Duffy
ba78511ec2 update tailwindcss & tweak styles 2025-07-10 14:26:33 -07:00
Elijah Duffy
b815ddf287 combobox: add use property 2025-07-04 03:38:15 -07:00
Elijah Duffy
104d99661c adjust styling 2025-07-04 03:17:43 -07:00
Elijah Duffy
cc27f0599c rename ComboboxItem -> ComboboxOption 2025-07-04 02:32:06 -07:00
Elijah Duffy
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
Elijah Duffy
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
Elijah Duffy
9988e07108 prefix theme colors for consumer compatibility 2025-07-03 20:21:38 -07:00
Elijah Duffy
79552d21f8 fix css references to make suitable for import 2025-07-03 19:30:45 -07:00
Elijah Duffy
8bea47f9fd simplify combobox event type 2025-07-03 15:23:39 -07:00
Elijah Duffy
c660d193be reconfigure package for ts-only consumption 2025-07-03 15:06:05 -07:00
Elijah Duffy
02311a0e7b finish custom class and improved options overhaul 2025-07-03 14:45:23 -07:00
Elijah Duffy
a307ffee92 combobox: improve props, fix placement with scroll 2025-07-03 11:00:10 -07:00
Elijah Duffy
c8038cfa1f fix deps, add tailwind base styles 2025-07-01 12:58:25 -07:00
Elijah Duffy
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
Elijah Duffy
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