Commit Graph

164 Commits

Author SHA1 Message Date
Elijah Duffy
9d9b40d21b button: change element opacity when disabled instead of background 2025-08-27 16:45:27 -07:00
Elijah Duffy
4453a40568 fix missing exports 2025-08-27 16:45:07 -07:00
Elijah Duffy
b95240937d 0.2.2 2025-08-20 12:43:58 -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
af0f41e6c6 0.2.1 2025-08-18 18:40:54 -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
db081c93b7 0.2.0 2025-08-13 16:01:05 -07:00
Elijah Duffy
bc09807d5c remove svelte depends & update 2025-08-12 16:16:41 -07:00
Elijah Duffy
83f963902f time input: styling fixes 2025-08-11 17:12:38 -07:00
Elijah Duffy
cd2ce96a33 dialog: extend api with disabled controls 2025-08-11 17:12:31 -07:00
Elijah Duffy
1f4c13d838 button: disabled state 2025-08-11 17:12:05 -07:00
Elijah Duffy
4e10c79e2b checkbox: no default value 2025-08-11 17:11:48 -07:00
Elijah Duffy
0e188db829 checkbox: default value to false 2025-07-23 11:58:41 -07:00
Elijah Duffy
2e9c6068b4 add formatTime export 2025-07-22 15:48:09 -07:00
Elijah Duffy
9e0bec3e1d time input: make ampm derived 2025-07-22 15:44:10 -07:00
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