Commit Graph

99 Commits

Author SHA1 Message Date
Elijah Duffy
a99384e887 time input: refactor to allow setting value reactively 2025-07-22 15:39:52 -07:00
Elijah Duffy
2e3de49851 focus: add selectAll helper, fix focus next behavior with selected text 2025-07-22 15:39:37 -07:00
Elijah Duffy
d4935b6e7c add prefixZero utility 2025-07-22 15:38:58 -07:00
Elijah Duffy
647235e1fe time input: add formatTime helper 2025-07-22 11:28:43 -07:00
Elijah Duffy
026810b32d add capitalizeFirstLetter utility 2025-07-22 11:17:16 -07:00
Elijah Duffy
1cb8445806 frameless button: fix missing type property 2025-07-22 11:17:08 -07:00
Elijah Duffy
04d88422e9 dialog: add title setter to API 2025-07-22 11:16:56 -07:00
Elijah Duffy
1a111121a1 time input: use internationalized/Date.Time-based value, add onchange 2025-07-21 20:04:42 -07:00
Elijah Duffy
39debb8865 time input: ampm type fix 2025-07-21 19:54:06 -07:00
Elijah Duffy
c2311260b1 time input: implement compact mode 2025-07-21 19:50:41 -07:00
Elijah Duffy
123594f828 add focus tool; time input: refactor away from bind:ref 2025-07-21 19:41:44 -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
c45224aff8 clean up debug console.log calls 2025-07-17 11:35:47 -07:00
Elijah Duffy
03ca2dd5af dialog: improve error setting usability
Accept a RawError and create the error based on it instead.
2025-07-16 17:43:30 -07:00
Elijah Duffy
8e65a0b323 combobox: move outer click handlers to onMount 2025-07-16 17:42:06 -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
20c1a4fa89 add error box component 2025-07-16 17:41:00 -07:00
Elijah Duffy
f55943d474 add error helper 2025-07-16 17:29:07 -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
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
f7e46077e3 fix eslint errors 2025-07-11 11:55:22 -07:00
Elijah Duffy
23c0236596 date input: full keyboard nav, use internationalized/CalendarDate 2025-07-10 19:27:51 -07:00
Elijah Duffy
b675f01c95 toggle group: improve ref binding 2025-07-10 18:27:03 -07:00
Elijah Duffy
db6c2cf4de phone input: fix set country with empty input 2025-07-10 17:35:19 -07:00
Elijah Duffy
5b37bda207 toggle group: add arrow key navigation 2025-07-10 17:17:46 -07:00
Elijah Duffy
e26ed5403a fix missing icon utility exports 2025-07-10 16:50:13 -07:00
Elijah Duffy
11ecf03d8a replace spinner with more reliable SVG implementation 2025-07-10 16:49:41 -07:00
Elijah Duffy
5f4e50a652 replace google material icons with phosphor icons 2025-07-10 16:25:27 -07:00
Elijah Duffy
355850d1f2 button: set default type property 2025-07-10 14:27:00 -07:00
Elijah Duffy
ba78511ec2 update tailwindcss & tweak styles 2025-07-10 14:26:33 -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
45ca099570 action select: add onchange callback 2025-07-07 17:34:38 -07:00
Elijah Duffy
645320d335 style raw input: fix class prop 2025-07-07 15:49:30 -07:00
Elijah Duffy
a5aeabebbd expose html button properties 2025-07-07 15:49:14 -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