@likable-hair/svelte 2.0.0 → 2.0.2
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/simple/common/SimpleTable.svelte +1 -1
- package/dist/components/simple/dates/TimePickerTextField.svelte +2 -2
- package/dist/components/simple/media/Avatar.svelte +1 -1
- package/dist/components/simple/media/Carousel.svelte +1 -1
- package/dist/components/simple/media/DescriptiveAvatar.svelte +1 -1
- package/dist/components/simple/navigation/Drawer.svelte +1 -1
- package/dist/components/simple/navigation/Drawer.svelte.d.ts +4 -1
- package/dist/components/simple/navigation/HeaderMenu.svelte +1 -1
- package/dist/components/simple/navigation/HeaderMenu.svelte.d.ts +3 -1
- package/dist/components/simple/timeline/SimpleTimeLine.svelte +1 -1
- package/dist/components/simple/timeline/SimpleTimeLine.svelte.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
|
-
<script>import { dateToString } from "
|
|
3
|
+
<script>import { dateToString } from "../dates/utils";
|
|
4
4
|
export let headers = [], items = [], backgroundColor = "rgba(255,255,255,0)", headerColor = "rgba(0,0,0,0.05)", rowSeparatorColor = headerColor, headerHeight = "30px", headerBorderRadius = "5px", rowHeight = "70px", minWidth = void 0, height = "100%", width = "100%";
|
|
5
5
|
</script>
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<script>import Textfield from "
|
|
2
|
-
import VerticalTextSwitch from "
|
|
1
|
+
<script>import Textfield from "../forms/Textfield.svelte";
|
|
2
|
+
import VerticalTextSwitch from "../forms/VerticalTextSwitch.svelte";
|
|
3
3
|
export let hourFormat = "24", dayPeriod = "am", time = void 0, text = "", fieldSeparator = ":", placeholder = "Insert time...", focusedBoxShadow = "#C0D6FF 0px 2px 10px", borderColor = "", borderWeight = "1px", fontSize = "16px", width = "100%";
|
|
4
4
|
let minutes = void 0, hours = void 0, switchValue = false;
|
|
5
5
|
function checkHour(hour) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>export let src, alt = "", width = "40px", maxWidth = void 0, minWidth = void 0, height = "40px", maxHeight = void 0, minHeight = void 0, lazyLoaded = false, referrerpolicy = "no-referrer", borderRadius = "50%";
|
|
2
|
-
import Image from "
|
|
2
|
+
import Image from "./Image.svelte";
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
{#if lazyLoaded}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>import { onMount } from "svelte";
|
|
2
|
-
import Image from "
|
|
2
|
+
import Image from "./Image.svelte";
|
|
3
3
|
export let images = [], maxWidth = void 0, maxHeight = void 0, minWidth = void 0, minHeight = void 0, width = "100%", height = "100%";
|
|
4
4
|
let container, localWidth = "0px", localHeight = "0px";
|
|
5
5
|
onMount(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<script>import Navigator from "
|
|
1
|
+
<script>import Navigator from "./Navigator.svelte";
|
|
2
2
|
export let open = false, position = "left", space = "200px", openingSpeed = "0.3s", overlaySpeed = "0.2s", color = void 0, overlay = true, backgroundColor = void 0, overlayColor = "#282828", overlayOpacity = "30%", zIndex = 30, items = [];
|
|
3
3
|
let height = void 0, width = void 0, top = void 0, bottom = void 0, left = void 0, right = void 0;
|
|
4
4
|
function handleClickOverlay() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Item } from "./Navigator.svelte";
|
|
2
3
|
declare const __propDef: {
|
|
3
4
|
props: {
|
|
4
5
|
open?: boolean | undefined;
|
|
@@ -15,7 +16,9 @@ declare const __propDef: {
|
|
|
15
16
|
items?: Item[] | undefined;
|
|
16
17
|
};
|
|
17
18
|
events: {
|
|
18
|
-
'item-click':
|
|
19
|
+
'item-click': CustomEvent<{
|
|
20
|
+
item: Item;
|
|
21
|
+
}>;
|
|
19
22
|
} & {
|
|
20
23
|
[evt: string]: CustomEvent<any>;
|
|
21
24
|
};
|
|
@@ -22,7 +22,7 @@ $:
|
|
|
22
22
|
localBackgroundColor = backgroundColor;
|
|
23
23
|
import Navigator from "./Navigator.svelte";
|
|
24
24
|
import Button from "../buttons/Button.svelte";
|
|
25
|
-
import Drawer from "
|
|
25
|
+
import Drawer from "./Drawer.svelte";
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
28
|
<svelte:window bind:scrollY on:scroll={handleScroll} />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script context="module"></script>
|
|
2
2
|
|
|
3
|
-
<script>import { dateToString } from "
|
|
3
|
+
<script>import { dateToString } from "../dates/utils";
|
|
4
4
|
export let items = [], singleSided = false, height = void 0, width = void 0, itemMarginTop = "15px", itemMarginBottom = "0px", firstItemMarginTop = "5px", lastItemMarginBottom = "5px", circleColor = "black", circleDiameter = "15px", timesWidth = void 0, circleAlignment = "top";
|
|
5
5
|
$:
|
|
6
6
|
cssVariables = Object.entries({
|
|
@@ -33,7 +33,7 @@ declare const __propDef: {
|
|
|
33
33
|
};
|
|
34
34
|
times: {
|
|
35
35
|
item: TimeLineItem;
|
|
36
|
-
dateToString:
|
|
36
|
+
dateToString: (date: Date, format?: import("../dates/utils").DateFormat | undefined, locale?: import("../dates/utils").Locale | undefined) => string;
|
|
37
37
|
};
|
|
38
38
|
infos: {
|
|
39
39
|
item: TimeLineItem;
|