Commit Graph

46 Commits

Author SHA1 Message Date
Elijah Duffy
047044cbbe state machine: add demo & fix 2025-09-05 10:57:05 -07:00
Elijah Duffy
fd8357382a add multi-line TextareaInput component 2025-09-03 18:29:30 -07:00
Elijah Duffy
31049fc343 add lazy component loading helper 2025-09-01 17:19:32 -07:00
Elijah Duffy
642ab24029 fix buttons missing type="button"
Triggers unintentional form submits if missing `type` property.
2025-08-18 18:40:44 -07:00
Elijah Duffy
0e188db829 checkbox: default value to false 2025-07-23 11:58:41 -07:00
Elijah Duffy
a99384e887 time input: refactor to allow setting value reactively 2025-07-22 15:39:52 -07:00
Elijah Duffy
647235e1fe time input: add formatTime helper 2025-07-22 11:28:43 -07:00
Elijah Duffy
e3c08b4247 time input: partial refactor
Lots of weird issues right now that seem primarily to arise from binding
to `ref` on `StyledRawInput` components and then storing that binding
in a stateful object. Ideally I want to do this in order to simplify
declaration of inputs so that I reuse other controls more readily.

Second step of this refactor should be to remove reliance on binding a
reference to the underlying HTML element.
2025-07-21 18:16:09 -07:00
Elijah Duffy
ee922b49ee dialog: add dialog api & detailed controls config, fix outer click 2025-07-16 17:41:56 -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
c99b1a2899 action select: add frameless, support custom button content 2025-07-11 14:08:49 -07:00
Elijah Duffy
56c5b90629 add tabs component 2025-07-11 13:50:06 -07:00
Elijah Duffy
23c0236596 date input: full keyboard nav, use internationalized/CalendarDate 2025-07-10 19:27:51 -07:00
Elijah Duffy
5b37bda207 toggle group: add arrow key navigation 2025-07-10 17:17:46 -07:00
Elijah Duffy
5f4e50a652 replace google material icons with phosphor icons 2025-07-10 16:25:27 -07:00
Elijah Duffy
b9328dc9a7 rework toolbar to use attachment pattern, simpler external control 2025-07-09 18:37:24 -07:00
Elijah Duffy
3f4f021fef add toolbar builder 2025-07-09 16:46:16 -07:00
Elijah Duffy
414b63e8bc partial toolbar: basic writable store approach 2025-07-09 12:41:28 -07:00
Elijah Duffy
e953c362cf partial toolbar implementation 2025-07-08 18:02:01 -07:00
Elijah Duffy
9d17fef232 styled, raw input: improve error message control, add compact mode 2025-07-08 12:24:36 -07:00
Elijah Duffy
39ca78e837 action select: patch weird focus issue, add value helper field 2025-07-08 12:21:58 -07:00
Elijah Duffy
509b144553 action select: add disabled option state 2025-07-07 17:50:21 -07:00
Elijah Duffy
48e456c3a7 styled raw & text input: include all props & add disabled 2025-07-07 17:35:39 -07:00
Elijah Duffy
4b81388636 fix ActionSelect stateless, add value prop 2025-07-07 15:49:00 -07:00
Elijah Duffy
2f2b4fcba2 add ActionSelect component 2025-07-07 14:10:01 -07:00
Elijah Duffy
12a79f0680 checkbox: support undefined state 2025-07-04 01:37:31 -07:00
Elijah Duffy
f1b7ef2375 add dialog component 2025-07-04 00:28:24 -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
269373dbb5 rename Dateinput -> DateInput 2025-07-03 20:03:47 -07:00
Elijah Duffy
0bba927acb add InputGroup component 2025-07-03 14:48:26 -07:00
Elijah Duffy
02311a0e7b finish custom class and improved options overhaul 2025-07-03 14:45:23 -07:00
Elijah Duffy
723fc4ee48 text input: make name optional, custom class support 2025-07-03 14:17:16 -07:00
Elijah Duffy
06c1b9cb0b remove select component 2025-07-03 14:12:42 -07:00
Elijah Duffy
07b7102a78 radio group: custom class support, improved options prop 2025-07-03 14:11:09 -07:00
Elijah Duffy
37c3594d1a pin input: make name optional, custom class support, fix hidden input 2025-07-03 11:54:53 -07:00
Elijah Duffy
a307ffee92 combobox: improve props, fix placement with scroll 2025-07-03 11:00:10 -07:00
Elijah Duffy
f2994abad2 extend examples with all components 2025-07-03 10:04:07 -07:00
Elijah Duffy
08a4ecbafc add date picker component 2025-07-02 17:43:30 -07:00
Elijah Duffy
520a909b01 add checkbox component 2025-07-02 10:30:04 -07:00
Elijah Duffy
8d32464de7 begin building demos 2025-07-01 13:10:13 -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