@likable-hair/svelte 3.0.10 → 3.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.
|
@@ -144,6 +144,7 @@ function handleCollpsabledDividerChange() {
|
|
|
144
144
|
transition-property: width padding-left;
|
|
145
145
|
transition-timing-function: cubic-bezier(.4,0,.2,1);
|
|
146
146
|
transition-duration: var(--collapsible-side-bar-layout-collapse-transition-time);
|
|
147
|
+
overflow: hidden;
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
.logo-container.collapsed {
|
|
@@ -75,6 +75,42 @@ export let value = void 0, type = "text", placeholder = void 0, disabled = false
|
|
|
75
75
|
class={clazz.input || ''}
|
|
76
76
|
bind:this={input}
|
|
77
77
|
/>
|
|
78
|
+
{:else if type == "time"}
|
|
79
|
+
<input
|
|
80
|
+
bind:value={value}
|
|
81
|
+
placeholder={placeholder}
|
|
82
|
+
type="time"
|
|
83
|
+
disabled={disabled}
|
|
84
|
+
readonly={readonly}
|
|
85
|
+
on:change
|
|
86
|
+
on:input
|
|
87
|
+
on:focus
|
|
88
|
+
on:blur
|
|
89
|
+
on:keydown
|
|
90
|
+
on:keypress
|
|
91
|
+
on:keyup
|
|
92
|
+
on:change
|
|
93
|
+
class={clazz.input || ''}
|
|
94
|
+
bind:this={input}
|
|
95
|
+
/>
|
|
96
|
+
{:else if type == "date"}
|
|
97
|
+
<input
|
|
98
|
+
bind:value={value}
|
|
99
|
+
placeholder={placeholder}
|
|
100
|
+
type="date"
|
|
101
|
+
disabled={disabled}
|
|
102
|
+
readonly={readonly}
|
|
103
|
+
on:change
|
|
104
|
+
on:input
|
|
105
|
+
on:focus
|
|
106
|
+
on:blur
|
|
107
|
+
on:keydown
|
|
108
|
+
on:keypress
|
|
109
|
+
on:keyup
|
|
110
|
+
on:change
|
|
111
|
+
class={clazz.input || ''}
|
|
112
|
+
bind:this={input}
|
|
113
|
+
/>
|
|
78
114
|
{/if}
|
|
79
115
|
<slot name="append-inner" {appendInnerIcon} {iconSize}>
|
|
80
116
|
{#if !!appendInnerIcon}
|
|
@@ -158,7 +194,10 @@ export let value = void 0, type = "text", placeholder = void 0, disabled = false
|
|
|
158
194
|
--simple-textfield-background-color,
|
|
159
195
|
var(--simple-textfield-default-background-color)
|
|
160
196
|
);
|
|
161
|
-
border:
|
|
197
|
+
border: var(
|
|
198
|
+
--simple-textfield-border,
|
|
199
|
+
var(--simple-textfield-default-border)
|
|
200
|
+
);
|
|
162
201
|
border-radius: var(
|
|
163
202
|
--simple-textfield-border-radius,
|
|
164
203
|
var(--simple-textfield-default-border-radius)
|
|
@@ -214,4 +253,9 @@ export let value = void 0, type = "text", placeholder = void 0, disabled = false
|
|
|
214
253
|
);
|
|
215
254
|
border: none
|
|
216
255
|
}
|
|
256
|
+
|
|
257
|
+
::-webkit-calendar-picker-indicator {
|
|
258
|
+
opacity: 0;
|
|
259
|
+
}
|
|
260
|
+
|
|
217
261
|
</style>
|
|
@@ -11,7 +11,7 @@ declare const __propDef: {
|
|
|
11
11
|
input?: string | undefined;
|
|
12
12
|
} | undefined;
|
|
13
13
|
value?: string | number | undefined;
|
|
14
|
-
type?: "number" | "text" | "password" | undefined;
|
|
14
|
+
type?: "number" | "text" | "time" | "date" | "password" | undefined;
|
|
15
15
|
placeholder?: string | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
readonly?: boolean | undefined;
|