Commit Graph

24 Commits

Author SHA1 Message Date
Elijah Duffy
9d0f10f0fd duration & time input: input visual invalidation 2025-12-11 16:00:41 -08:00
Elijah Duffy
f843c91284 add DurationInput component 2025-12-11 15:20:42 -08:00
Elijah Duffy
83f963902f time input: styling fixes 2025-08-11 17:12:38 -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
647235e1fe time input: add formatTime helper 2025-07-22 11:28:43 -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
f7e46077e3 fix eslint errors 2025-07-11 11:55:22 -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
c660d193be reconfigure package for ts-only consumption 2025-07-03 15:06:05 -07:00
Elijah Duffy
c54002f5fa time input: custom class support, name optional 2025-07-03 14:21:08 -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
72bc7e23b4 TimeInput: add confirmation text 2025-05-20 10:49:44 -07:00
Elijah Duffy
9a820794a2 improve time input AM/PM selector, partial text implementation 2025-05-20 10:17:35 -07:00
Elijah Duffy
17f8c51ebd TimeInput: hide number input spin box on Firefox 2025-05-08 12:28:55 -07:00
Elijah Duffy
be7ef6bdfd add TimeInput component with time-of-day form option 2025-05-06 09:15:10 -07:00