@3birds/midori-ui 0.0.10 → 0.0.12
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.
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<fieldset class="fieldset w-full">
|
|
38
38
|
{#if label}
|
|
39
|
-
<legend class="fieldset-legend">{label}</legend>
|
|
39
|
+
<legend class="fieldset-legend whitespace-pre-wrap">{label}</legend>
|
|
40
40
|
{/if}
|
|
41
41
|
<label class="input w-full rounded-full {icon ? '' : 'px-5'}">
|
|
42
42
|
{#if icon}
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
{min}
|
|
54
54
|
{max}
|
|
55
55
|
{placeholder}
|
|
56
|
-
|
|
56
|
+
bind:value
|
|
57
57
|
/>
|
|
58
58
|
</label>
|
|
59
59
|
{#if option}
|
|
60
|
-
<p class="label ml-auto">{option}</p>
|
|
60
|
+
<p class="label ml-auto whitespace-pre-wrap">{option}</p>
|
|
61
61
|
{/if}
|
|
62
62
|
</fieldset>
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type BtnType = 'button' | 'submit';
|
|
2
|
-
export type InputType = 'text' | 'email' | 'search' | 'tel' | 'url' | 'none' | 'numeric' | 'decimal' | 'password';
|
|
2
|
+
export type InputType = 'text' | 'email' | 'search' | 'tel' | 'url' | 'none' | 'numeric' | 'decimal' | 'password' | 'datetime-local' | 'date';
|