@juspay/svelte-ui-components 1.23.0 → 1.25.0
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.
- package/dist/Input/Input.svelte +1 -0
- package/dist/Input/Input.svelte.d.ts +1 -0
- package/dist/InputButton/InputButton.svelte +1 -0
- package/dist/InputButton/InputButton.svelte.d.ts +1 -0
- package/dist/Select/Select.svelte +1 -0
- package/dist/Select/Select.svelte.d.ts +1 -0
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/Input/Input.svelte
CHANGED
|
@@ -128,6 +128,7 @@ onDestroy(() => {
|
|
|
128
128
|
<div class="icon-container">
|
|
129
129
|
<Img {...properties.leftIcon} />
|
|
130
130
|
</div>
|
|
131
|
+
<slot name="leftContent" />
|
|
131
132
|
{/if}
|
|
132
133
|
<div class="selected-content">
|
|
133
134
|
{#if properties.selectMultipleItems && Array.isArray(properties.selectedItemLabel) && Array.isArray(properties.selectedItem)}
|
package/dist/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { FlyParams } from 'svelte/transition';
|
|
|
3
3
|
* @name InputDataType
|
|
4
4
|
* @description Different types of input data which can be passed to the Input Component
|
|
5
5
|
*/
|
|
6
|
-
export type InputDataType = 'text' | 'tel' | 'password' | 'email';
|
|
6
|
+
export type InputDataType = 'text' | 'tel' | 'password' | 'email' | 'number';
|
|
7
7
|
export type ModalTransition = 'IN' | 'ALL';
|
|
8
8
|
export type AutoCompleteType = 'tel' | 'name' | 'email' | 'one-time-code' | 'postal-code' | 'street-address' | 'on' | 'address-level1';
|
|
9
9
|
/**
|