Commit Graph

170 Commits

Author SHA1 Message Date
Elijah Duffy
ffe9c0369b tabs: separate controls for header and content padding 2026-03-15 21:52:01 -07:00
Elijah Duffy
622481a1ca dialog: add autofreeze to sync loading state
Enabled by default, autofreeze freezes the dialog whenever loading state
is enabled.
2026-03-15 15:58:44 -07:00
Elijah Duffy
ebdca97527 dialog: fix DialogState export 2026-03-15 13:03:39 -07:00
Elijah Duffy
bb27d0c9d7 dialog: pass state to snippet overrides 2026-03-15 12:58:28 -07:00
Elijah Duffy
50c052a3c3 combobox: don't use portal for picker
fixes z-stacking issues when used within dialogs
2026-03-13 16:27:35 -07:00
Elijah Duffy
bcfd3ea740 dialog: add z-index to dialog api 2026-03-13 16:27:13 -07:00
Elijah Duffy
7c9a6398d4 dialog: support nesting/stacking & improve ergonomics
- stacked/nested dialogs work properly
- dialog api expanded to include `hasError` and `focus`
- `onopenchange` prop added, `onopen` and `onclose` deprecated
- improve accessibility with additional aria props
2026-03-12 23:15:08 -07:00
Elijah Duffy
48e400939e combobox: use popover attachment to manage positioning 2026-03-10 17:28:45 -07:00
Elijah Duffy
9fbc6f6301 add floating-ui based popover attachment 2026-03-10 17:25:32 -07:00
Elijah Duffy
f8eb05cccf combobox: improved picker width behaviour
add width behaviour options, fix match width
2026-03-10 16:10:40 -07:00
Elijah Duffy
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
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
80fc26eb3b dialog: fix duplicate controls caused by flip issue 2026-03-06 16:17:52 -08:00
Elijah Duffy
2d694a7277 dialog: title & control customization with snippets, fixed callbacks 2026-03-03 16:42:38 -08:00
Elijah Duffy
1c66bc0fcf improve error handling with 'builder'-type structure 2026-02-13 16:28:25 -08:00
Elijah Duffy
90ff836061 text input: change default asterisk behaviour
asterisk now shown by default if field is required.
2026-02-04 14:53:14 -08:00
Elijah Duffy
5e5f133763 statemachine: add onsubmit callback 2026-02-04 11:19:03 -08:00
Elijah Duffy
e6d99cdfd2 add ScrollBox convenience helper 2026-01-26 18:01:23 -08:00
Elijah Duffy
2ae35cf847 tabs: supported padded mode with spacing-layout 2026-01-26 18:01:08 -08:00
Elijah Duffy
96daed474b add --spacing-layout helper 2026-01-26 18:00:57 -08:00
Elijah Duffy
3cdda64686 dialog: allow disabling controls from rendering 2025-12-17 22:17:42 -08:00
Elijah Duffy
6630051d67 generic merge object function 2025-12-17 22:17:15 -08:00
Elijah Duffy
42c9bc0bcc banner: fix control config merge behaviour 2025-12-15 17:14:33 -08:00
Elijah Duffy
54f7924c4a banner: add control swap 2025-12-15 17:05:20 -08:00
Elijah Duffy
d9cd2b406a banner: fix control placement with optionals disabled 2025-12-15 16:42:44 -08:00
Elijah Duffy
9782a31846 add Banner component 2025-12-15 15:24:53 -08:00
Elijah Duffy
63b29e3f6a actually fix date input demo bad bind:value 2025-12-15 15:24:19 -08:00
Elijah Duffy
1c4fac7523 demo page: set title properly in svelte:head 2025-12-15 15:23:55 -08:00
Elijah Duffy
098bf75bd3 frameless button, link: add inverted colour state 2025-12-15 15:23:24 -08:00
Elijah Duffy
a321cbffe9 input group: allow wrapping by default 2025-12-15 15:23:12 -08:00
Elijah Duffy
1cc8cd6913 fix date input demo bad bind:value 2025-12-15 14:40:43 -08:00
Elijah Duffy
3885ac09a1 link: refactor href rewrite
- uses prop instead of attempting to read env variable
- uses URL type instead of custom heuristics
2025-12-12 13:59:21 -08:00
Elijah Duffy
ae3abad769 use tinyduration for ISO8601 parsing and serializing 2025-12-11 20:40:27 -08:00
Elijah Duffy
3409adc614 date input: add onchange callback prop 2025-12-11 17:02:32 -08:00
Elijah Duffy
a538db4065 date input: use distinct 'null' value state if unset by user 2025-12-11 16:02:09 -08:00
Elijah Duffy
9d0f10f0fd duration & time input: input visual invalidation 2025-12-11 16:00:41 -08:00
Elijah Duffy
df1dd238e2 StyledRawInput: support external force invalid visual state 2025-12-11 16:00:26 -08:00
Elijah Duffy
0608343741 DurationInput: limit precision to TimeDuration type
Remove support for 'days', adds support for 'milliseconds'
2025-12-11 15:42:59 -08:00
Elijah Duffy
f843c91284 add DurationInput component 2025-12-11 15:20:42 -08:00
Elijah Duffy
a7fa9fd6d8 fix '0' > prefixZero > '00' (should still be '0') 2025-12-11 15:19:45 -08:00
Elijah Duffy
7fd2bbb879 dialog: don't default to scrollable demo to open 2025-12-11 11:43:16 -08:00
Elijah Duffy
f260038aac checkbox: support disabled state 2025-12-11 11:42:28 -08:00
Elijah Duffy
058e20fa2d checkbox: support MaybeGetter pattern 2025-12-10 19:04:44 -08:00
Elijah Duffy
08cde9c3ee dialog: handle overflow scrolling 2025-12-09 16:24:08 -08:00
Elijah Duffy
a8c35bdeff text input: add asterisk option 2025-09-16 18:28:19 -07:00
Elijah Duffy
02054c3a1f checkbox: fix invalid state, shrinking of button 2025-09-16 18:28:10 -07:00
Elijah Duffy
1d46f692e1 expose timezone list & details 2025-09-16 10:55:33 -07:00
Elijah Duffy
7a10f25aae styled raw input: disable required props, use validate instead 2025-09-05 14:20:12 -07:00