@likable-hair/svelte 3.0.47 → 3.0.48
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/components/composed/common/MenuOrDrawer.svelte +2 -1
- package/dist/components/composed/common/MenuOrDrawer.svelte.d.ts +1 -0
- package/dist/components/composed/forms/CountriesAutocomplete.svelte +2 -1
- package/dist/components/composed/forms/CountriesAutocomplete.svelte.d.ts +1 -0
- package/dist/components/simple/forms/Autocomplete.svelte +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import Drawer from "../../simple/navigation/Drawer.svelte";
|
|
3
3
|
import Menu from "../../simple/common/Menu.svelte";
|
|
4
4
|
import MediaQuery from "../../simple/common/MediaQuery.svelte";
|
|
5
|
-
export let open = false, activator, drawerPosition = "bottom", menuAnchor = "bottom-center", _boxShadow = "rgb(var(--global-color-grey-900), .5) 0px 2px 4px", _height = "fit-content", _maxHeight = void 0, _minWidth = "100px", _borderRadius = "5px";
|
|
5
|
+
export let open = false, activator, drawerPosition = "bottom", menuAnchor = "bottom-center", _boxShadow = "rgb(var(--global-color-grey-900), .5) 0px 2px 4px", _height = "fit-content", _width = void 0, _maxHeight = void 0, _minWidth = "100px", _borderRadius = "5px";
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<MediaQuery let:mAndDown>
|
|
@@ -25,6 +25,7 @@ export let open = false, activator, drawerPosition = "bottom", menuAnchor = "bot
|
|
|
25
25
|
_maxHeight={_maxHeight}
|
|
26
26
|
_minWidth={_minWidth}
|
|
27
27
|
_borderRadius={_borderRadius}
|
|
28
|
+
_width={_width || ""}
|
|
28
29
|
anchor={menuAnchor}
|
|
29
30
|
>
|
|
30
31
|
<slot isDrawer={false} isMenu={true}></slot>
|
|
@@ -11,6 +11,7 @@ declare const __propDef: {
|
|
|
11
11
|
menuAnchor?: ComponentProps<Menu>['anchor'];
|
|
12
12
|
_boxShadow?: string | undefined;
|
|
13
13
|
_height?: string | undefined;
|
|
14
|
+
_width?: string | undefined;
|
|
14
15
|
_maxHeight?: string | undefined;
|
|
15
16
|
_minWidth?: string | undefined;
|
|
16
17
|
_borderRadius?: string | undefined;
|
|
@@ -3,7 +3,7 @@ import Autocomplete, {
|
|
|
3
3
|
} from "../../simple/forms/Autocomplete.svelte";
|
|
4
4
|
let clazz = {};
|
|
5
5
|
export { clazz as class };
|
|
6
|
-
export let autocompleteProps = {};
|
|
6
|
+
export let autocompleteProps = {}, selected = [];
|
|
7
7
|
let items = [
|
|
8
8
|
{ value: "AD", label: "Andorra" },
|
|
9
9
|
{ value: "AE", label: "United Arab Emirates" },
|
|
@@ -259,6 +259,7 @@ let items = [
|
|
|
259
259
|
|
|
260
260
|
<Autocomplete
|
|
261
261
|
items={items}
|
|
262
|
+
bind:values={selected}
|
|
262
263
|
{...autocompleteProps}
|
|
263
264
|
>
|
|
264
265
|
<svelte:fragment
|