@lavalogic/scoria 0.37.46 → 0.37.47
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.
|
@@ -12,8 +12,12 @@ import type { PartialIconProps } from './PartialIconProps.js';
|
|
|
12
12
|
export interface DateOnlyInputProps {
|
|
13
13
|
/** Discriminator. Must be the literal `'date'`. */
|
|
14
14
|
type: 'date';
|
|
15
|
-
/**
|
|
16
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Bindable date value. `''` or `null` represent "no date selected"
|
|
17
|
+
* — both are accepted because consumers commonly back the binding
|
|
18
|
+
* with a nullable field; the component treats them alike.
|
|
19
|
+
*/
|
|
20
|
+
value?: InputDate | '' | null;
|
|
17
21
|
/** Label rendered above the input. */
|
|
18
22
|
label?: string;
|
|
19
23
|
/** Native `placeholder` attribute. */
|
|
@@ -11,8 +11,12 @@ import type { PartialIconProps } from './PartialIconProps.js';
|
|
|
11
11
|
export interface DateTimeInputProps {
|
|
12
12
|
/** Discriminator. Must be the literal `'datetime-local'`. */
|
|
13
13
|
type: 'datetime-local';
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Bindable datetime value. `''` or `null` represent "no value
|
|
16
|
+
* selected" — both are accepted because consumers commonly back the
|
|
17
|
+
* binding with a nullable field; the component treats them alike.
|
|
18
|
+
*/
|
|
19
|
+
value?: InputDateWithTime | '' | null;
|
|
16
20
|
/** Label rendered above the input. */
|
|
17
21
|
label?: string;
|
|
18
22
|
/** Native `placeholder` attribute. */
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
generics="T extends object, IdType extends Primitive"
|
|
6
6
|
>
|
|
7
7
|
import Button from '../../Button.svelte';
|
|
8
|
+
import DesktopModal from '../../DesktopModal.svelte';
|
|
8
9
|
import SingleSelect from '../../SingleSelect.svelte';
|
|
9
10
|
import ColumnList from '../Body/Rows/ColumnList.svelte';
|
|
10
11
|
import TextInput from '../../TextInput.svelte';
|
|
11
|
-
import TouchModal from '../../Touch/TouchModal.svelte';
|
|
12
12
|
import type { SelectOption } from '../../../Types/Internal/SelectOption.js';
|
|
13
13
|
import { Size } from '../../../Types/Internal/Size.js';
|
|
14
14
|
import { Variant } from '../../../Types/Internal/Variant.js';
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
}
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<
|
|
57
|
-
|
|
56
|
+
<DesktopModal
|
|
57
|
+
headerLabel="Modify Columns"
|
|
58
58
|
onclose={() => onclose?.()}
|
|
59
59
|
buttons={[{ label: 'Close', callback: () => onclose?.() }]}
|
|
60
60
|
>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
>
|
|
108
108
|
</div>
|
|
109
109
|
</div>
|
|
110
|
-
</
|
|
110
|
+
</DesktopModal>
|
|
111
111
|
|
|
112
112
|
<style>.flex {
|
|
113
113
|
display: flex;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
lang="ts"
|
|
5
5
|
module
|
|
6
6
|
>
|
|
7
|
-
import
|
|
7
|
+
import DesktopModal from '../../DesktopModal.svelte';
|
|
8
|
+
import { cssLength } from '../../../Helpers/Helpers.svelte.js';
|
|
8
9
|
import FilterPanel from './FilterPanel.svelte';
|
|
9
10
|
|
|
10
11
|
export interface FilterPanelModalProps {
|
|
@@ -16,16 +17,16 @@
|
|
|
16
17
|
const { onclose }: FilterPanelModalProps = $props();
|
|
17
18
|
</script>
|
|
18
19
|
|
|
19
|
-
<
|
|
20
|
-
width=
|
|
21
|
-
|
|
20
|
+
<DesktopModal
|
|
21
|
+
width={cssLength('800px')}
|
|
22
|
+
headerLabel="Filter by"
|
|
22
23
|
onclose={() => onclose?.()}
|
|
23
24
|
buttons={[{ label: 'Close', callback: () => onclose?.() }]}
|
|
24
25
|
>
|
|
25
26
|
<div class="flex">
|
|
26
27
|
<FilterPanel />
|
|
27
28
|
</div>
|
|
28
|
-
</
|
|
29
|
+
</DesktopModal>
|
|
29
30
|
|
|
30
31
|
<style>.flex {
|
|
31
32
|
display: flex;
|