|
@@ -318,7 +318,7 @@
|
|
|
{rows}
|
|
{rows}
|
|
|
inputmode={mode as 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'email' | 'search' | 'url'}
|
|
inputmode={mode as 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'email' | 'search' | 'url'}
|
|
|
placeholder={placeholder !== '' ? placeholder : title !== '' ? inputLang.pleaseInput + ' ' + title : ''}
|
|
placeholder={placeholder !== '' ? placeholder : title !== '' ? inputLang.pleaseInput + ' ' + title : ''}
|
|
|
- class="focus:outline-hidden w-full bg-transparent font-semibold {inputPosition === 'left'
|
|
|
|
|
|
|
+ class="focus:outline-hidden w-full bg-transparent font-semibold text-black dark:text-white {inputPosition === 'left'
|
|
|
? 'text-left'
|
|
? 'text-left'
|
|
|
: 'text-right'} {disabled ? 'cursor-not-allowed opacity-50' : ''}"
|
|
: 'text-right'} {disabled ? 'cursor-not-allowed opacity-50' : ''}"
|
|
|
onfocus={onFocus}
|
|
onfocus={onFocus}
|
|
@@ -337,7 +337,8 @@
|
|
|
use:typeAction
|
|
use:typeAction
|
|
|
inputmode={mode as 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'email' | 'search' | 'url'}
|
|
inputmode={mode as 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'email' | 'search' | 'url'}
|
|
|
placeholder={placeholder !== '' ? placeholder : title !== '' ? inputLang.pleaseInput + ' ' + title : ''}
|
|
placeholder={placeholder !== '' ? placeholder : title !== '' ? inputLang.pleaseInput + ' ' + title : ''}
|
|
|
- class="focus:outline-hidden w-full whitespace-normal bg-transparent font-semibold {inputPosition === 'left'
|
|
|
|
|
|
|
+ class="focus:outline-hidden w-full whitespace-normal bg-transparent font-semibold text-black dark:text-white {inputPosition ===
|
|
|
|
|
+ 'left'
|
|
|
? 'text-left'
|
|
? 'text-left'
|
|
|
: 'text-right'} {disabled ? 'cursor-not-allowed opacity-50' : ''}"
|
|
: 'text-right'} {disabled ? 'cursor-not-allowed opacity-50' : ''}"
|
|
|
onfocus={onFocus}
|
|
onfocus={onFocus}
|
|
@@ -395,11 +396,11 @@
|
|
|
></div>
|
|
></div>
|
|
|
{/if}
|
|
{/if}
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="text-gay6 flex px-2 {tip === null ? 'justify-end' : 'justify-between'}">
|
|
|
|
|
|
|
+ <div class="flex px-2 {tip === null ? 'justify-end' : 'justify-between'}">
|
|
|
{#if tipChild}
|
|
{#if tipChild}
|
|
|
{@render tipChild?.()}
|
|
{@render tipChild?.()}
|
|
|
{:else if tip === null}{:else}
|
|
{:else if tip === null}{:else}
|
|
|
- <div class="text-sm text-gray-400">
|
|
|
|
|
|
|
+ <div class="text-xs text-gray-400">
|
|
|
{tip}
|
|
{tip}
|
|
|
</div>
|
|
</div>
|
|
|
{/if}
|
|
{/if}
|