@insymetri/styleguide 0.1.48 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
</script>
|
|
70
70
|
|
|
71
|
-
<div class={cn('
|
|
71
|
+
<div class={cn('flex flex-col gap-4', className)}>
|
|
72
72
|
<DatePicker.Root value={internalValue} bind:placeholder onValueChange={handleValueChange} {disabled}>
|
|
73
73
|
{#if label}
|
|
74
74
|
<DatePicker.Label class="text-small-emphasis text-secondary">{label}</DatePicker.Label>
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
</DatePicker.Content>
|
|
110
110
|
</DatePicker.Root>
|
|
111
111
|
{#if showError && errorMessage}
|
|
112
|
-
<span class="
|
|
112
|
+
<span class="text-tiny text-error mt-4" data-field-error>{errorMessage}</span>
|
|
113
113
|
{:else if helperText}
|
|
114
|
-
<span class="
|
|
114
|
+
<span class="text-tiny text-secondary mt-4">{helperText}</span>
|
|
115
115
|
{/if}
|
|
116
116
|
</div>
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
}
|
|
225
225
|
</script>
|
|
226
226
|
|
|
227
|
-
<div class="
|
|
227
|
+
<div class="flex flex-col">
|
|
228
228
|
{#if label}
|
|
229
229
|
<span class="text-small-emphasis text-secondary mb-4">{label}</span>
|
|
230
230
|
{/if}
|
|
@@ -318,6 +318,6 @@
|
|
|
318
318
|
</div>
|
|
319
319
|
{/if}
|
|
320
320
|
{#if showError && errorMessage}
|
|
321
|
-
<span class="
|
|
321
|
+
<span class="text-tiny text-error mt-4" data-field-error>{errorMessage}</span>
|
|
322
322
|
{/if}
|
|
323
323
|
</div>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
const hasAddons = $derived(!!prefix || !!suffix || isSearch)
|
|
50
50
|
</script>
|
|
51
51
|
|
|
52
|
-
<div class={cn('
|
|
52
|
+
<div class={cn('flex flex-col', className)}>
|
|
53
53
|
{#if label}
|
|
54
54
|
<label for={restProps.id} class="text-small-emphasis text-secondary mb-4">
|
|
55
55
|
{label}
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
/>
|
|
116
116
|
{/if}
|
|
117
117
|
{#if showError && errorMessage}
|
|
118
|
-
<span class="
|
|
118
|
+
<span class="text-tiny text-error mt-4" data-field-error>{errorMessage}</span>
|
|
119
119
|
{:else if helperText}
|
|
120
|
-
<span class="
|
|
120
|
+
<span class="text-tiny text-secondary mt-4">{helperText}</span>
|
|
121
121
|
{/if}
|
|
122
122
|
</div>
|