improve manual time entry modal, improve time picker, add human duration input

This commit is contained in:
Gregor Vostrak
2024-11-11 00:52:56 +01:00
parent 96f06bae1d
commit d5699da234
11 changed files with 355 additions and 134 deletions

View File

@@ -10,6 +10,7 @@ const props = withDefaults(
icon?: Component;
size: 'small' | 'base';
loading: boolean;
class?: string;
}>(),
{
type: 'button',
@@ -31,7 +32,8 @@ const sizeClasses = {
:class="
twMerge(
'bg-button-secondary-background border border-button-secondary-border hover:bg-button-secondary-background-hover shadow-sm transition text-white rounded-lg font-semibold inline-flex items-center space-x-1.5 focus-visible:border-input-border-active focus:outline-none focus:ring-0 disabled:opacity-25 ease-in-out',
sizeClasses[props.size]
sizeClasses[props.size],
props.class
)
">
<span