contain-css-svelte 0.0.11 → 0.0.13
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/controls/Button.svelte +1 -0
- package/dist/controls/Checkbox.svelte +2 -1
- package/dist/controls/Input.svelte +3 -1
- package/dist/controls/Input.svelte.d.ts +3 -2
- package/dist/controls/MiniButton.svelte +1 -0
- package/dist/controls/RadioButton.svelte +2 -1
- package/dist/controls/Select.svelte +2 -1
- package/dist/controls/Select.svelte.d.ts +3 -2
- package/dist/controls/Slider.svelte +2 -1
- package/dist/controls/Slider.svelte.d.ts +2 -0
- package/dist/layout/Page.svelte +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,8 @@ $: {
|
|
|
26
26
|
|
|
27
27
|
<div class="label-sizing-box">
|
|
28
28
|
<label class="checkbox-item">
|
|
29
|
-
<input type="checkbox" bind:checked
|
|
29
|
+
<input type="checkbox" bind:checked
|
|
30
|
+
{...$$restProps} />
|
|
30
31
|
<span bind:this={ref}><slot /></span>
|
|
31
32
|
</label>
|
|
32
33
|
<label class="invisible">
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
export let placeholder = "";
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
|
-
<input {placeholder} bind:value on:input on:change on:blur on:focus
|
|
5
|
+
<input {placeholder} bind:value on:input on:change on:blur on:focus
|
|
6
|
+
{...$$restProps}
|
|
7
|
+
/>
|
|
6
8
|
|
|
7
9
|
<style>/* Convenience groupings */
|
|
8
10
|
/* Warning: because we define a fallback
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
+
[x: string]: any;
|
|
4
5
|
value: string;
|
|
5
6
|
placeholder?: string | undefined;
|
|
6
7
|
};
|
|
@@ -13,8 +14,8 @@ declare const __propDef: {
|
|
|
13
14
|
[evt: string]: CustomEvent<any>;
|
|
14
15
|
};
|
|
15
16
|
slots: {};
|
|
16
|
-
exports?:
|
|
17
|
-
bindings?:
|
|
17
|
+
exports?: undefined;
|
|
18
|
+
bindings?: undefined;
|
|
18
19
|
};
|
|
19
20
|
export type InputProps = typeof __propDef.props;
|
|
20
21
|
export type InputEvents = typeof __propDef.events;
|
|
@@ -25,7 +25,8 @@ $: {
|
|
|
25
25
|
|
|
26
26
|
<div class="label-sizing-box">
|
|
27
27
|
<label class="radio-item">
|
|
28
|
-
<input {value} type="radio" bind:group
|
|
28
|
+
<input {value} type="radio" bind:group
|
|
29
|
+
{...$$restProps}/>
|
|
29
30
|
<span bind:this={ref}><slot /></span>
|
|
30
31
|
</label>
|
|
31
32
|
<label class="invisible">
|
|
@@ -63,7 +63,8 @@ let targetWidth;
|
|
|
63
63
|
let optionButtons = [];
|
|
64
64
|
</script>
|
|
65
65
|
|
|
66
|
-
<select bind:value on:change bind:this={selectElement}
|
|
66
|
+
<select bind:value on:change bind:this={selectElement}
|
|
67
|
+
{...$$restProps}>
|
|
67
68
|
<slot />
|
|
68
69
|
</select>
|
|
69
70
|
<div class="dropdown-wrapper" style:--target-width="{targetWidth}px">
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
|
+
[x: string]: any;
|
|
4
5
|
value: any;
|
|
5
6
|
};
|
|
6
7
|
events: {
|
|
@@ -11,8 +12,8 @@ declare const __propDef: {
|
|
|
11
12
|
slots: {
|
|
12
13
|
default: {};
|
|
13
14
|
};
|
|
14
|
-
exports?:
|
|
15
|
-
bindings?:
|
|
15
|
+
exports?: undefined;
|
|
16
|
+
bindings?: undefined;
|
|
16
17
|
};
|
|
17
18
|
export type SelectProps = typeof __propDef.props;
|
|
18
19
|
export type SelectEvents = typeof __propDef.events;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/** @typedef {typeof __propDef.events} SliderEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} SliderSlots */
|
|
4
4
|
export default class Slider extends SvelteComponent<{
|
|
5
|
+
[x: string]: any;
|
|
5
6
|
value?: number | undefined;
|
|
6
7
|
min?: number | undefined;
|
|
7
8
|
max?: number | undefined;
|
|
@@ -16,6 +17,7 @@ export type SliderSlots = typeof __propDef.slots;
|
|
|
16
17
|
import { SvelteComponent } from "svelte";
|
|
17
18
|
declare const __propDef: {
|
|
18
19
|
props: {
|
|
20
|
+
[x: string]: any;
|
|
19
21
|
value?: number | undefined;
|
|
20
22
|
min?: number | undefined;
|
|
21
23
|
max?: number | undefined;
|
package/dist/layout/Page.svelte
CHANGED