@likable-hair/svelte 0.0.77 → 2.0.0
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/README.md +2 -2
- package/dist/components/composed/search/GlobalSearchTextField.svelte +176 -0
- package/dist/components/composed/search/GlobalSearchTextField.svelte.d.ts +47 -0
- package/dist/components/composed/search/SearchBar.svelte +82 -0
- package/dist/components/composed/search/SearchBar.svelte.d.ts +33 -0
- package/dist/components/composed/search/SearchResults.svelte +100 -0
- package/dist/components/composed/search/SearchResults.svelte.d.ts +47 -0
- package/{shop → dist/components/composed/shop}/ProductCard.svelte +44 -51
- package/dist/components/composed/shop/ProductCard.svelte.d.ts +30 -0
- package/{shop → dist/components/composed/shop}/ProductsGrid.svelte +15 -13
- package/dist/components/composed/shop/ProductsGrid.svelte.d.ts +44 -0
- package/dist/components/layouts/StableDividedSideBarLayout.svelte +189 -0
- package/dist/components/layouts/StableDividedSideBarLayout.svelte.d.ts +39 -0
- package/dist/components/simple/buttons/Button.svelte +147 -0
- package/dist/components/simple/buttons/Button.svelte.d.ts +53 -0
- package/dist/components/simple/buttons/DefaultButton.svelte +93 -0
- package/dist/components/simple/buttons/DefaultButton.svelte.d.ts +50 -0
- package/dist/components/simple/buttons/LinkButton.svelte +78 -0
- package/dist/components/simple/buttons/LinkButton.svelte.d.ts +49 -0
- package/dist/components/simple/common/Card.svelte +37 -0
- package/dist/components/simple/common/Card.svelte.d.ts +40 -0
- package/dist/components/simple/common/Gesture.svelte +57 -0
- package/{common → dist/components/simple/common}/Gesture.svelte.d.ts +5 -5
- package/dist/components/simple/common/IntersectionObserver.svelte +47 -0
- package/dist/components/simple/common/IntersectionObserver.svelte.d.ts +24 -0
- package/dist/components/simple/common/MediaQuery.svelte +40 -0
- package/{common → dist/components/simple/common}/MediaQuery.svelte.d.ts +4 -4
- package/dist/components/simple/common/Menu.svelte +120 -0
- package/dist/components/simple/common/Menu.svelte.d.ts +36 -0
- package/dist/components/simple/common/Playground.svelte +52 -0
- package/dist/components/simple/common/Playground.svelte.d.ts +17 -0
- package/{common → dist/components/simple/common}/SimpleTable.svelte +4 -4
- package/{common → dist/components/simple/common}/SimpleTable.svelte.d.ts +15 -15
- package/{common → dist/components/simple/common}/materialDesign.css +1 -1
- package/{common → dist/components/simple/common}/scroller.js +4 -2
- package/dist/components/simple/dates/Calendar.svelte +115 -0
- package/dist/components/simple/dates/Calendar.svelte.d.ts +48 -0
- package/{dates → dist/components/simple/dates}/DatePicker.svelte +42 -38
- package/dist/components/simple/dates/DatePicker.svelte.d.ts +38 -0
- package/{dates → dist/components/simple/dates}/MonthSelector.svelte +11 -15
- package/{dates → dist/components/simple/dates}/MonthSelector.svelte.d.ts +10 -10
- package/dist/components/simple/dates/TimePickerTextField.svelte +78 -0
- package/dist/components/simple/dates/TimePickerTextField.svelte.d.ts +26 -0
- package/dist/components/simple/dates/YearSelector.svelte +53 -0
- package/{dates → dist/components/simple/dates}/YearSelector.svelte.d.ts +7 -7
- package/{dates → dist/components/simple/dates}/utils.d.ts +5 -5
- package/{dates → dist/components/simple/dates}/utils.js +68 -48
- package/dist/components/simple/dialogs/Dialog.svelte +410 -0
- package/dist/components/simple/dialogs/Dialog.svelte.d.ts +30 -0
- package/dist/components/simple/forms/Autocomplete.svelte +225 -0
- package/dist/components/simple/forms/Autocomplete.svelte.d.ts +70 -0
- package/{forms → dist/components/simple/forms}/Checkbox.svelte +4 -5
- package/dist/components/simple/forms/Checkbox.svelte.d.ts +28 -0
- package/dist/components/simple/forms/FileInput.svelte +92 -0
- package/dist/components/simple/forms/FileInput.svelte.d.ts +37 -0
- package/dist/components/simple/forms/FileInputList.svelte +135 -0
- package/dist/components/simple/forms/FileInputList.svelte.d.ts +30 -0
- package/{forms → dist/components/simple/forms}/Switch.svelte +18 -15
- package/dist/components/simple/forms/Switch.svelte.d.ts +27 -0
- package/{forms → dist/components/simple/forms}/Textarea.svelte +14 -18
- package/dist/components/simple/forms/Textarea.svelte.d.ts +39 -0
- package/dist/components/simple/forms/Textfield.svelte +324 -0
- package/dist/components/simple/forms/Textfield.svelte.d.ts +54 -0
- package/{forms → dist/components/simple/forms}/VerticalSwitch.svelte +14 -25
- package/dist/components/simple/forms/VerticalSwitch.svelte.d.ts +30 -0
- package/{forms → dist/components/simple/forms}/VerticalTextSwitch.svelte +19 -10
- package/dist/components/simple/forms/VerticalTextSwitch.svelte.d.ts +28 -0
- package/dist/components/simple/lists/SelectableVerticalList.svelte +129 -0
- package/dist/components/simple/lists/SelectableVerticalList.svelte.d.ts +52 -0
- package/dist/components/simple/lists/SidebarMenuList.svelte +169 -0
- package/dist/components/simple/lists/SidebarMenuList.svelte.d.ts +31 -0
- package/{loaders → dist/components/simple/loaders}/CircularLoader.svelte +24 -24
- package/dist/components/simple/loaders/CircularLoader.svelte.d.ts +19 -0
- package/{loaders → dist/components/simple/loaders}/Skeleton.svelte +27 -19
- package/dist/components/simple/loaders/Skeleton.svelte.d.ts +28 -0
- package/dist/components/simple/media/AttachmentDownloader.svelte +47 -0
- package/dist/components/simple/media/AttachmentDownloader.svelte.d.ts +30 -0
- package/dist/components/simple/media/Avatar.svelte +32 -0
- package/dist/components/simple/media/Avatar.svelte.d.ts +26 -0
- package/{media → dist/components/simple/media}/Carousel.svelte +16 -19
- package/dist/components/simple/media/Carousel.svelte.d.ts +26 -0
- package/dist/components/simple/media/DescriptiveAvatar.svelte +86 -0
- package/dist/components/simple/media/DescriptiveAvatar.svelte.d.ts +35 -0
- package/{media → dist/components/simple/media}/Gallery.svelte +39 -44
- package/dist/components/simple/media/Gallery.svelte.d.ts +26 -0
- package/{media → dist/components/simple/media}/Icon.svelte +1 -0
- package/{media → dist/components/simple/media}/Icon.svelte.d.ts +8 -7
- package/{media → dist/components/simple/media}/Image.svelte +57 -55
- package/dist/components/simple/media/Image.svelte.d.ts +35 -0
- package/{media → dist/components/simple/media}/ImageGrid.svelte +15 -17
- package/dist/components/simple/media/ImageGrid.svelte.d.ts +35 -0
- package/{navigation → dist/components/simple/navigation}/Breadcrumb.svelte +23 -22
- package/{navigation → dist/components/simple/navigation}/Breadcrumb.svelte.d.ts +9 -9
- package/{navigation → dist/components/simple/navigation}/Chip.svelte +19 -25
- package/dist/components/simple/navigation/Chip.svelte.d.ts +30 -0
- package/dist/components/simple/navigation/Drawer.svelte +139 -0
- package/dist/components/simple/navigation/Drawer.svelte.d.ts +33 -0
- package/{navigation → dist/components/simple/navigation}/HeaderMenu.svelte +38 -55
- package/dist/components/simple/navigation/HeaderMenu.svelte.d.ts +40 -0
- package/dist/components/simple/navigation/Navigator.svelte +89 -0
- package/dist/components/simple/navigation/Navigator.svelte.d.ts +33 -0
- package/{navigation → dist/components/simple/navigation}/TabSwitcher.svelte +46 -36
- package/dist/components/simple/navigation/TabSwitcher.svelte.d.ts +39 -0
- package/dist/components/simple/progress/ProgressBar.svelte +37 -0
- package/dist/components/simple/progress/ProgressBar.svelte.d.ts +22 -0
- package/{timeline → dist/components/simple/timeline}/SimpleTimeLine.svelte +73 -60
- package/{timeline → dist/components/simple/timeline}/SimpleTimeLine.svelte.d.ts +17 -17
- package/dist/components/simple/typography/Code.svelte +52 -0
- package/dist/components/simple/typography/Code.svelte.d.ts +28 -0
- package/dist/components/simple/typography/dracula.css +81 -0
- package/dist/index.d.ts +44 -0
- package/dist/index.js +44 -0
- package/{stores → dist/stores}/mediaQuery.d.ts +1 -1
- package/{stores → dist/stores}/mediaQuery.js +23 -23
- package/dist/utils/keyboarder.d.ts +14 -0
- package/dist/utils/keyboarder.js +31 -0
- package/dist/utils/teleporter.d.ts +10 -0
- package/dist/utils/teleporter.js +35 -0
- package/package.json +197 -108
- package/buttons/Button.svelte +0 -131
- package/buttons/Button.svelte.d.ts +0 -51
- package/buttons/ToggleButton.svelte +0 -0
- package/buttons/ToggleButton.svelte.d.ts +0 -19
- package/common/Card.svelte +0 -46
- package/common/Card.svelte.d.ts +0 -39
- package/common/Gesture.svelte +0 -65
- package/common/IntersectionObserver.svelte +0 -58
- package/common/IntersectionObserver.svelte.d.ts +0 -39
- package/common/MediaQuery.svelte +0 -30
- package/common/Menu.svelte +0 -112
- package/common/Menu.svelte.d.ts +0 -36
- package/dates/Calendar.svelte +0 -119
- package/dates/Calendar.svelte.d.ts +0 -48
- package/dates/DatePicker.svelte.d.ts +0 -38
- package/dates/TimePickerTextField.svelte +0 -90
- package/dates/TimePickerTextField.svelte.d.ts +0 -26
- package/dates/YearSelector.svelte +0 -63
- package/dialogs/Dialog.svelte +0 -112
- package/dialogs/Dialog.svelte.d.ts +0 -25
- package/forms/Autocomplete.svelte +0 -236
- package/forms/Autocomplete.svelte.d.ts +0 -70
- package/forms/Checkbox.svelte.d.ts +0 -28
- package/forms/FileInput.svelte +0 -90
- package/forms/FileInput.svelte.d.ts +0 -43
- package/forms/FileInputList.svelte +0 -123
- package/forms/FileInputList.svelte.d.ts +0 -30
- package/forms/Switch.svelte.d.ts +0 -27
- package/forms/Textarea.svelte.d.ts +0 -39
- package/forms/Textfield.svelte +0 -319
- package/forms/Textfield.svelte.d.ts +0 -54
- package/forms/VerticalSwitch.svelte.d.ts +0 -30
- package/forms/VerticalTextSwitch.svelte.d.ts +0 -28
- package/loaders/CircularLoader.svelte.d.ts +0 -19
- package/loaders/Skeleton.svelte.d.ts +0 -28
- package/loaders/sectionType.d.ts +0 -4
- package/loaders/sectionType.js +0 -5
- package/media/AttachmentDownloader.svelte +0 -60
- package/media/AttachmentDownloader.svelte.d.ts +0 -30
- package/media/Avatar.svelte +0 -32
- package/media/Avatar.svelte.d.ts +0 -26
- package/media/Carousel.svelte.d.ts +0 -26
- package/media/DescriptiveAvatar.svelte +0 -81
- package/media/DescriptiveAvatar.svelte.d.ts +0 -32
- package/media/Gallery.svelte.d.ts +0 -26
- package/media/Image.svelte.d.ts +0 -34
- package/media/ImageGrid.svelte.d.ts +0 -35
- package/navigation/Chip.svelte.d.ts +0 -30
- package/navigation/Drawer.svelte +0 -140
- package/navigation/Drawer.svelte.d.ts +0 -37
- package/navigation/HeaderMenu.svelte.d.ts +0 -42
- package/navigation/Navigator.svelte +0 -63
- package/navigation/Navigator.svelte.d.ts +0 -29
- package/navigation/TabSwitcher.svelte.d.ts +0 -35
- package/progress/ProgressBar.svelte +0 -36
- package/progress/ProgressBar.svelte.d.ts +0 -22
- package/shop/ProductCard.svelte.d.ts +0 -30
- package/shop/ProductsGrid.svelte.d.ts +0 -44
- package/timeline/ScrollTimeLine.svelte +0 -82
- package/timeline/ScrollTimeLine.svelte.d.ts +0 -31
- /package/{common → dist/components/simple/common}/scroller.d.ts +0 -0
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
<script>export let products = [], productMaxWidth =
|
|
2
|
-
import ProductCard from
|
|
1
|
+
<script>export let products = [], productMaxWidth = "90vw", productMinWidth = "200px", productMaxHeight = "90vh", productMinHeight = "300px", productHeight = "300px", productWidth = "200px", width = "100%", gap = "1rem";
|
|
2
|
+
import ProductCard from "./ProductCard.svelte";
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
|
-
<div
|
|
6
|
-
style:width
|
|
7
|
-
style:gap
|
|
8
|
-
style:grid-template-columns={`repeat(auto-fit, minmax(${
|
|
5
|
+
<div
|
|
6
|
+
style:width
|
|
7
|
+
style:gap
|
|
8
|
+
style:grid-template-columns={`repeat(auto-fit, minmax(${
|
|
9
|
+
productMinWidth || productWidth || "200px"
|
|
10
|
+
}, ${productWidth}))`}
|
|
9
11
|
class="product-grid-container"
|
|
10
12
|
>
|
|
11
|
-
{#each products as product
|
|
13
|
+
{#each products as product}
|
|
12
14
|
<div class="product-container">
|
|
13
15
|
<ProductCard
|
|
14
16
|
height={productHeight}
|
|
15
17
|
width={productWidth}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
maxWidth={productMaxWidth}
|
|
19
|
+
minWidth={productMinWidth}
|
|
20
|
+
maxHeight={productMaxHeight}
|
|
21
|
+
minHeight={productMinHeight}
|
|
20
22
|
image={product.image}
|
|
21
23
|
title={product.title}
|
|
22
24
|
sale={product.sale}
|
|
@@ -26,7 +28,7 @@ import ProductCard from './ProductCard.svelte';
|
|
|
26
28
|
discount={product.discount}
|
|
27
29
|
>
|
|
28
30
|
<svelte:fragment slot="sizes">
|
|
29
|
-
<slot name="sizes" {product}
|
|
31
|
+
<slot name="sizes" {product} />
|
|
30
32
|
</svelte:fragment>
|
|
31
33
|
</ProductCard>
|
|
32
34
|
</div>
|
|
@@ -48,4 +50,4 @@ import ProductCard from './ProductCard.svelte';
|
|
|
48
50
|
justify-content: space-around;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
|
-
</style>
|
|
53
|
+
</style>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
products?: {
|
|
5
|
+
image: string;
|
|
6
|
+
title: string;
|
|
7
|
+
sale?: boolean | undefined;
|
|
8
|
+
saleText?: string | undefined;
|
|
9
|
+
price?: number | undefined;
|
|
10
|
+
currency?: string | undefined;
|
|
11
|
+
discount?: number | undefined;
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
productMaxWidth?: string | undefined;
|
|
14
|
+
productMinWidth?: string | undefined;
|
|
15
|
+
productMaxHeight?: string | undefined;
|
|
16
|
+
productMinHeight?: string | undefined;
|
|
17
|
+
productHeight?: string | undefined;
|
|
18
|
+
productWidth?: string | undefined;
|
|
19
|
+
width?: string | undefined;
|
|
20
|
+
gap?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
events: {
|
|
23
|
+
[evt: string]: CustomEvent<any>;
|
|
24
|
+
};
|
|
25
|
+
slots: {
|
|
26
|
+
sizes: {
|
|
27
|
+
product: {
|
|
28
|
+
image: string;
|
|
29
|
+
title: string;
|
|
30
|
+
sale?: boolean | undefined;
|
|
31
|
+
saleText?: string | undefined;
|
|
32
|
+
price?: number | undefined;
|
|
33
|
+
currency?: string | undefined;
|
|
34
|
+
discount?: number | undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type ProductsGridProps = typeof __propDef.props;
|
|
40
|
+
export type ProductsGridEvents = typeof __propDef.events;
|
|
41
|
+
export type ProductsGridSlots = typeof __propDef.slots;
|
|
42
|
+
export default class ProductsGrid extends SvelteComponentTyped<ProductsGridProps, ProductsGridEvents, ProductsGridSlots> {
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
<script>import MediaQuery from "../simple/common/MediaQuery.svelte";
|
|
2
|
+
import Icon from "../simple/media/Icon.svelte";
|
|
3
|
+
import { createEventDispatcher } from "svelte";
|
|
4
|
+
export let sideBarWidth = "18rem", sideBarBorderColor = "hsl(0deg 0% 39.85% / 50%)", sideBarPadding = "1rem 1.5rem 2rem 1.5rem", headerMenuHeight = "3.5rem", headerMenuBorderColor = "hsl(0deg 0% 39.85% / 50%)", headerMenuPadding = "0rem 2rem 0rem 2rem", padding = "1rem 2rem 1rem 2rem", innerHeaderMenuBackgroundColor = "rgb(255 255 255/0.5)", drawerBackgroundColor = "white", drawerWidth = "24rem", drawerOpened = false;
|
|
5
|
+
let dispatch = createEventDispatcher();
|
|
6
|
+
function toggleMenu() {
|
|
7
|
+
drawerOpened = !drawerOpened;
|
|
8
|
+
dispatch("drawer-change", { opened: drawerOpened });
|
|
9
|
+
}
|
|
10
|
+
function handleOverlayClick() {
|
|
11
|
+
drawerOpened = false;
|
|
12
|
+
dispatch("drawer-change", { opened: drawerOpened });
|
|
13
|
+
}
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<MediaQuery let:mAndDown>
|
|
17
|
+
<div
|
|
18
|
+
style:--stable-divider-side-bar-layout-side-bar-width={sideBarWidth}
|
|
19
|
+
style:--stable-divider-side-bar-layout-side-bar-border-color={sideBarBorderColor}
|
|
20
|
+
style:--stable-divider-side-bar-layout-side-bar-padding={sideBarPadding}
|
|
21
|
+
style:--stable-divider-side-bar-layout-header-menu-height={headerMenuHeight}
|
|
22
|
+
style:--stable-divider-side-bar-layout-header-menu-border-color={headerMenuBorderColor}
|
|
23
|
+
style:--stable-divider-side-bar-layout-header-menu-padding={headerMenuPadding}
|
|
24
|
+
style:--stable-divider-side-bar-layout-inner-header-menu-background-color={innerHeaderMenuBackgroundColor}
|
|
25
|
+
style:--stable-divider-side-bar-layout-drawer-background-color={drawerBackgroundColor}
|
|
26
|
+
style:--stable-divider-side-bar-layout-drawer-width={drawerWidth}
|
|
27
|
+
>
|
|
28
|
+
<header
|
|
29
|
+
class="side-bar"
|
|
30
|
+
class:opened={drawerOpened}
|
|
31
|
+
>
|
|
32
|
+
<div
|
|
33
|
+
class="header-toolbar"
|
|
34
|
+
class:opened-drawer={drawerOpened}
|
|
35
|
+
>
|
|
36
|
+
<slot name="menu">
|
|
37
|
+
<div class="inner-menu">
|
|
38
|
+
{#if mAndDown}
|
|
39
|
+
<div style:margin-right="2rem">
|
|
40
|
+
<Icon
|
|
41
|
+
name="mdi-menu"
|
|
42
|
+
click
|
|
43
|
+
on:click={toggleMenu}
|
|
44
|
+
></Icon>
|
|
45
|
+
</div>
|
|
46
|
+
{/if}
|
|
47
|
+
<slot name="inner-menu" hamburgerVisible={mAndDown}>
|
|
48
|
+
Menu
|
|
49
|
+
</slot>
|
|
50
|
+
</div>
|
|
51
|
+
</slot>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="side-bar-content">
|
|
54
|
+
<slot name="sidebar" hamburgerVisible={mAndDown}>
|
|
55
|
+
Sidebar
|
|
56
|
+
</slot>
|
|
57
|
+
</div>
|
|
58
|
+
</header>
|
|
59
|
+
<div class="main-section">
|
|
60
|
+
<div
|
|
61
|
+
class="overlay"
|
|
62
|
+
on:click={handleOverlayClick}
|
|
63
|
+
on:keypress={handleOverlayClick}
|
|
64
|
+
class:visible={drawerOpened}
|
|
65
|
+
></div>
|
|
66
|
+
<div
|
|
67
|
+
style:padding={padding}
|
|
68
|
+
class:blurred={drawerOpened}
|
|
69
|
+
>
|
|
70
|
+
<slot>Content</slot>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</MediaQuery>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
<style>
|
|
78
|
+
.side-bar {
|
|
79
|
+
position: fixed;
|
|
80
|
+
width: var(--stable-divider-side-bar-layout-side-bar-width);
|
|
81
|
+
border-right: 1px solid var(--stable-divider-side-bar-layout-side-bar-border-color);
|
|
82
|
+
top: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
left: 0;
|
|
85
|
+
right: 0;
|
|
86
|
+
padding: var(--stable-divider-side-bar-layout-side-bar-padding);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.overlay {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (max-width: 1024px) {
|
|
94
|
+
.side-bar {
|
|
95
|
+
left: calc(0rem - var(--stable-divider-side-bar-layout-drawer-width));
|
|
96
|
+
right: auto;
|
|
97
|
+
transition-property: left;
|
|
98
|
+
transition-timing-function: cubic-bezier(.4,0,.2,1);
|
|
99
|
+
transition-duration: .5s;
|
|
100
|
+
top: var(--stable-divider-side-bar-layout-header-menu-height);
|
|
101
|
+
background-color: var(--stable-divider-side-bar-layout-drawer-background-color);
|
|
102
|
+
bottom: 0;
|
|
103
|
+
z-index: 30;
|
|
104
|
+
width: var(--stable-divider-side-bar-layout-drawer-width);
|
|
105
|
+
max-width: 100vw;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.side-bar.opened {
|
|
109
|
+
left: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.overlay {
|
|
113
|
+
position: fixed;
|
|
114
|
+
top: var(--stable-divider-side-bar-layout-header-menu-height);
|
|
115
|
+
left: 0;
|
|
116
|
+
bottom: 0;
|
|
117
|
+
right: 0;
|
|
118
|
+
z-index: -100;
|
|
119
|
+
transition-property: backdrop-filter;
|
|
120
|
+
transition-timing-function: cubic-bezier(.4,0,.2,1);
|
|
121
|
+
transition-duration: .15s;
|
|
122
|
+
display: block;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.overlay.visible {
|
|
126
|
+
background-color: hsla(240,5%,65%,.2);
|
|
127
|
+
backdrop-filter: blur(4px);
|
|
128
|
+
z-index: 20;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.header-toolbar {
|
|
133
|
+
position: fixed;
|
|
134
|
+
height: var(--stable-divider-side-bar-layout-header-menu-height);
|
|
135
|
+
left: var(--stable-divider-side-bar-layout-side-bar-width);
|
|
136
|
+
border-bottom: 1px solid var(--stable-divider-side-bar-layout-header-menu-border-color);
|
|
137
|
+
backdrop-filter: blur(4px);
|
|
138
|
+
background-color: var(--stable-divider-side-bar-layout-inner-header-menu-background-color);
|
|
139
|
+
transition-property: background-color;
|
|
140
|
+
transition-timing-function: cubic-bezier(.4,0,.2,1);
|
|
141
|
+
transition-duration: .5s;
|
|
142
|
+
right: 0;
|
|
143
|
+
top: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media (max-width: 1024px) {
|
|
147
|
+
.header-toolbar {
|
|
148
|
+
left: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.header-toolbar.opened-drawer {
|
|
152
|
+
background-color: inherit;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.header-toolbar:hover {
|
|
156
|
+
background-color: inherit;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.main-section {
|
|
161
|
+
padding-left: var(--stable-divider-side-bar-layout-side-bar-width);
|
|
162
|
+
padding-top: var(--stable-divider-side-bar-layout-header-menu-height);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@media (max-width: 1024px) {
|
|
166
|
+
.main-section {
|
|
167
|
+
padding-left: 0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.blurred {
|
|
171
|
+
backdrop-filter: blur(4px);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.inner-menu {
|
|
176
|
+
padding: var(--stable-divider-side-bar-layout-header-menu-padding);
|
|
177
|
+
background-color: var(--stable-divider-side-bar-layout-inner-header-menu-background-color);
|
|
178
|
+
height: 100%;
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: space-between;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
* {
|
|
185
|
+
box-sizing: border-box;
|
|
186
|
+
border: 0 solid #e5e7eb;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
</style>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
sideBarWidth?: string | undefined;
|
|
5
|
+
sideBarBorderColor?: string | undefined;
|
|
6
|
+
sideBarPadding?: string | undefined;
|
|
7
|
+
headerMenuHeight?: string | undefined;
|
|
8
|
+
headerMenuBorderColor?: string | undefined;
|
|
9
|
+
headerMenuPadding?: string | undefined;
|
|
10
|
+
padding?: string | undefined;
|
|
11
|
+
innerHeaderMenuBackgroundColor?: string | undefined;
|
|
12
|
+
drawerBackgroundColor?: string | undefined;
|
|
13
|
+
drawerWidth?: string | undefined;
|
|
14
|
+
drawerOpened?: boolean | undefined;
|
|
15
|
+
};
|
|
16
|
+
events: {
|
|
17
|
+
'drawer-change': CustomEvent<{
|
|
18
|
+
opened: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
} & {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
menu: {};
|
|
25
|
+
'inner-menu': {
|
|
26
|
+
hamburgerVisible: boolean;
|
|
27
|
+
};
|
|
28
|
+
sidebar: {
|
|
29
|
+
hamburgerVisible: boolean;
|
|
30
|
+
};
|
|
31
|
+
default: {};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type StableDividedSideBarLayoutProps = typeof __propDef.props;
|
|
35
|
+
export type StableDividedSideBarLayoutEvents = typeof __propDef.events;
|
|
36
|
+
export type StableDividedSideBarLayoutSlots = typeof __propDef.slots;
|
|
37
|
+
export default class StableDividedSideBarLayout extends SvelteComponentTyped<StableDividedSideBarLayoutProps, StableDividedSideBarLayoutEvents, StableDividedSideBarLayoutSlots> {
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<script>export let type = "default", active = false, loading = false, icon = void 0, iconSize = 15, maxWidth = void 0, maxHeight = void 0, minWidth = void 0, minHeight = void 0, width = void 0, height = void 0, textAlign = "center", cursor = "pointer", padding = "5px", fontSize = void 0, color = void 0, display = void 0, justifyContent = void 0, alignItems = void 0, backgroundColor = void 0, hoverBackgroundColor = "#88888847", activeBackgroundColor = hoverBackgroundColor, borderRadius = void 0, border = void 0, boxShadow = void 0, loaderHeight = "15px", loaderWidth = void 0, disabled = false;
|
|
2
|
+
import { createEventDispatcher } from "svelte";
|
|
3
|
+
const dispatch = createEventDispatcher();
|
|
4
|
+
function handleClick(event) {
|
|
5
|
+
if (disabled)
|
|
6
|
+
return;
|
|
7
|
+
dispatch("click", {
|
|
8
|
+
nativeEvent: event
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function handleKeyPress(event) {
|
|
12
|
+
if (disabled)
|
|
13
|
+
return;
|
|
14
|
+
dispatch("keypress", {
|
|
15
|
+
nativeEvent: event
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
$:
|
|
19
|
+
defaultBorderRadius = type == "icon" ? "50%" : "5px";
|
|
20
|
+
$:
|
|
21
|
+
position = $$slots.append ? "relative" : void 0;
|
|
22
|
+
import Icon from "../media/Icon.svelte";
|
|
23
|
+
import CircularLoader from "../loaders/CircularLoader.svelte";
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
style:width
|
|
28
|
+
style:max-width={maxWidth}
|
|
29
|
+
style:min-width={minWidth}
|
|
30
|
+
style:height
|
|
31
|
+
style:max-height={maxHeight}
|
|
32
|
+
style:min-height={minHeight}
|
|
33
|
+
style:text-align={textAlign}
|
|
34
|
+
style:position
|
|
35
|
+
style:cursor
|
|
36
|
+
style:padding
|
|
37
|
+
style:font-size={fontSize}
|
|
38
|
+
style:color
|
|
39
|
+
style:display
|
|
40
|
+
style:justify-content={justifyContent}
|
|
41
|
+
style:align-items={alignItems}
|
|
42
|
+
style:--button-border={border}
|
|
43
|
+
style:--button-border-radius={borderRadius
|
|
44
|
+
? borderRadius
|
|
45
|
+
: defaultBorderRadius}
|
|
46
|
+
style:--button-background-color={active
|
|
47
|
+
? activeBackgroundColor
|
|
48
|
+
: backgroundColor}
|
|
49
|
+
style:--button-hover-background-color={hoverBackgroundColor}
|
|
50
|
+
style:--button-box-shadow={boxShadow}
|
|
51
|
+
style:--button-icon-height={iconSize + 5 + "pt"}
|
|
52
|
+
style:--button-icon-width={iconSize + 5 + "pt"}
|
|
53
|
+
class="button no-select"
|
|
54
|
+
class:button-default={type === "default"}
|
|
55
|
+
class:button-text={type === "text"}
|
|
56
|
+
class:button-icon={type === "icon"}
|
|
57
|
+
on:click={handleClick}
|
|
58
|
+
on:keypress={handleKeyPress}
|
|
59
|
+
>
|
|
60
|
+
{#if loading}
|
|
61
|
+
<div
|
|
62
|
+
style:height={'calc(' + loaderHeight + ' + .6rem)'}
|
|
63
|
+
style:display="flex"
|
|
64
|
+
style:align-items="center"
|
|
65
|
+
>
|
|
66
|
+
<CircularLoader {color} height={loaderHeight} width={loaderWidth} />
|
|
67
|
+
</div>
|
|
68
|
+
{:else}
|
|
69
|
+
{#if !!icon}
|
|
70
|
+
<Icon name={icon} size={iconSize} />
|
|
71
|
+
{:else}
|
|
72
|
+
<slot />
|
|
73
|
+
{/if}
|
|
74
|
+
{#if $$slots.append}
|
|
75
|
+
<span class="append-item">
|
|
76
|
+
<slot name="append" />
|
|
77
|
+
</span>
|
|
78
|
+
{/if}
|
|
79
|
+
{/if}
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<style>
|
|
83
|
+
.append-item {
|
|
84
|
+
position: absolute;
|
|
85
|
+
right: 0px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.button {
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.button-default {
|
|
94
|
+
transition: background-color 200ms;
|
|
95
|
+
background-color: var(--button-background-color);
|
|
96
|
+
outline: 0;
|
|
97
|
+
border: var(--button-border);
|
|
98
|
+
border-radius: var(--button-border-radius, 0.25rem);
|
|
99
|
+
box-shadow: var(--button-box-shadow, 0 0 0.5rem rgba(0, 0, 0, 0.3));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.button-default:hover {
|
|
103
|
+
background-color: var(
|
|
104
|
+
--button-hover-background-color,
|
|
105
|
+
var(--button-background-color)
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.button-text {
|
|
110
|
+
transition: background-color 200ms;
|
|
111
|
+
text-transform: uppercase;
|
|
112
|
+
font-weight: 600;
|
|
113
|
+
outline: 0;
|
|
114
|
+
border: var(--button-border);
|
|
115
|
+
border-radius: var(--button-border-radius, 0.25rem);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.button-text:hover {
|
|
119
|
+
background-color: var(--button-hover-background-color, transparent);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.button-icon {
|
|
123
|
+
transition: background-color 200ms;
|
|
124
|
+
outline: 0;
|
|
125
|
+
border: var(--button-border);
|
|
126
|
+
border-radius: var(--button-border-radius, 50%);
|
|
127
|
+
height: var(--button-icon-height) !important;
|
|
128
|
+
width: var(--button-icon-width) !important;
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.button-icon:hover {
|
|
135
|
+
background-color: var(--button-hover-background-color, transparent);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.no-select {
|
|
139
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
140
|
+
-webkit-user-select: none; /* Safari */
|
|
141
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
|
142
|
+
-moz-user-select: none; /* Old versions of Firefox */
|
|
143
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
144
|
+
user-select: none; /* Non-prefixed version, currently
|
|
145
|
+
supported by Chrome, Edge, Opera and Firefox */
|
|
146
|
+
}
|
|
147
|
+
</style>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
type?: "default" | "text" | "icon" | undefined;
|
|
5
|
+
active?: boolean | undefined;
|
|
6
|
+
loading?: boolean | undefined;
|
|
7
|
+
icon?: string | undefined;
|
|
8
|
+
iconSize?: number | undefined;
|
|
9
|
+
maxWidth?: string | undefined;
|
|
10
|
+
maxHeight?: string | undefined;
|
|
11
|
+
minWidth?: string | undefined;
|
|
12
|
+
minHeight?: string | undefined;
|
|
13
|
+
width?: string | undefined;
|
|
14
|
+
height?: string | undefined;
|
|
15
|
+
textAlign?: string | undefined;
|
|
16
|
+
cursor?: string | undefined;
|
|
17
|
+
padding?: string | undefined;
|
|
18
|
+
fontSize?: string | undefined;
|
|
19
|
+
color?: string | null | undefined;
|
|
20
|
+
display?: string | undefined;
|
|
21
|
+
justifyContent?: string | undefined;
|
|
22
|
+
alignItems?: string | undefined;
|
|
23
|
+
backgroundColor?: string | undefined;
|
|
24
|
+
hoverBackgroundColor?: string | undefined;
|
|
25
|
+
activeBackgroundColor?: string | undefined;
|
|
26
|
+
borderRadius?: string | undefined;
|
|
27
|
+
border?: string | undefined;
|
|
28
|
+
boxShadow?: string | undefined;
|
|
29
|
+
loaderHeight?: string | undefined;
|
|
30
|
+
loaderWidth?: string | undefined;
|
|
31
|
+
disabled?: boolean | undefined;
|
|
32
|
+
};
|
|
33
|
+
events: {
|
|
34
|
+
click: CustomEvent<{
|
|
35
|
+
nativeEvent: MouseEvent;
|
|
36
|
+
}>;
|
|
37
|
+
keypress: CustomEvent<{
|
|
38
|
+
nativeEvent: KeyboardEvent;
|
|
39
|
+
}>;
|
|
40
|
+
} & {
|
|
41
|
+
[evt: string]: CustomEvent<any>;
|
|
42
|
+
};
|
|
43
|
+
slots: {
|
|
44
|
+
default: {};
|
|
45
|
+
append: {};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export type ButtonProps = typeof __propDef.props;
|
|
49
|
+
export type ButtonEvents = typeof __propDef.events;
|
|
50
|
+
export type ButtonSlots = typeof __propDef.slots;
|
|
51
|
+
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<script>import { createEventDispatcher } from "svelte";
|
|
2
|
+
export let _backgroundColor = null, _border = null, _padding = null, _color = null, _borderRadius = null, _cursor = null, _opacity = null, _transitionTimingFunction = null, _transitionDuration = null, _boxShadow = null, _disabledBackgroundColor = null, _disabledBorder = null, _disabledColor = null, _disabledOpacity = null, _hoverBackgroundColor = null, _hoverBorder = null, _hoverColor = null, _hoverOpacity = null, _hoverBoxShadow = null, _activeBackgroundColor = null, _activeBorder = null, _activeColor = null, _activeOpacity = null, _activeBoxShadow = null;
|
|
3
|
+
export let disabled = false, active = false;
|
|
4
|
+
const dispatch = createEventDispatcher();
|
|
5
|
+
function handleClick(event) {
|
|
6
|
+
if (disabled)
|
|
7
|
+
return;
|
|
8
|
+
dispatch("click", {
|
|
9
|
+
nativeEvent: event
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function handleKeyPress(event) {
|
|
13
|
+
if (disabled)
|
|
14
|
+
return;
|
|
15
|
+
dispatch("keypress", {
|
|
16
|
+
nativeEvent: event
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<button
|
|
22
|
+
style:--button-disabled-background-color={_disabledBackgroundColor}
|
|
23
|
+
style:--button-disabled-border={_disabledBorder}
|
|
24
|
+
style:--button-disabled-color={_disabledColor}
|
|
25
|
+
style:--button-disabled-opacity={_disabledOpacity}
|
|
26
|
+
style:--button-hover-background-color={_hoverBackgroundColor}
|
|
27
|
+
style:--button-hover-border={_hoverBorder}
|
|
28
|
+
style:--button-hover-color={_hoverColor}
|
|
29
|
+
style:--button-hover-opacity={_hoverOpacity}
|
|
30
|
+
style:--button-hover-box-shadow={_hoverBoxShadow}
|
|
31
|
+
style:--button-active-background-color={_activeBackgroundColor}
|
|
32
|
+
style:--button-active-border={_activeBorder}
|
|
33
|
+
style:--button-active-color={_activeColor}
|
|
34
|
+
style:--button-active-opacity={_activeOpacity}
|
|
35
|
+
style:--button-active-box-shadow={_activeBoxShadow}
|
|
36
|
+
style:--button-background-color={_backgroundColor}
|
|
37
|
+
style:--button-border={_border}
|
|
38
|
+
style:--button-padding={_padding}
|
|
39
|
+
style:--button-color={_color}
|
|
40
|
+
style:--button-border-radius={_borderRadius}
|
|
41
|
+
style:--button-cursor={_cursor}
|
|
42
|
+
style:--button-opacity={_opacity}
|
|
43
|
+
style:--button-transition-timing-function={_transitionTimingFunction}
|
|
44
|
+
style:--button-transition-duration={_transitionDuration}
|
|
45
|
+
style:--button-box-shadow={_boxShadow}
|
|
46
|
+
on:click={handleClick}
|
|
47
|
+
on:keypress={handleKeyPress}
|
|
48
|
+
disabled={disabled}
|
|
49
|
+
class:active={active}
|
|
50
|
+
>
|
|
51
|
+
<slot></slot>
|
|
52
|
+
</button>
|
|
53
|
+
|
|
54
|
+
<style>
|
|
55
|
+
button {
|
|
56
|
+
--default-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
57
|
+
|
|
58
|
+
background-color: var(--button-background-color, rgba(239, 239, 239));
|
|
59
|
+
border: var(--button-border, none);
|
|
60
|
+
padding: var(--button-padding, .875rem 1.2rem);
|
|
61
|
+
color: var(--button-color, inherit);
|
|
62
|
+
border-radius: var(--button-border-radius, .3rem);
|
|
63
|
+
cursor: var(--button-cursor, pointer);
|
|
64
|
+
opacity: var(--button-opacity, 100%);
|
|
65
|
+
box-shadow: var(--button-box-shadow, var(--default-box-shadow));
|
|
66
|
+
transition-property: background-color color box-shadow;
|
|
67
|
+
transition-timing-function: var(--button-transition-timing-function, ease-in-out);
|
|
68
|
+
transition-duration: var(--button-transition-duration, .1s);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
button:disabled {
|
|
72
|
+
background-color: var(--button-disabled-background-color, rgba(239, 239, 239, 0.3));
|
|
73
|
+
border: var(--button-disabled-border, none);
|
|
74
|
+
color: var(--button-disabled-color, inherit);
|
|
75
|
+
opacity: var(--button-disabled-color, 100%);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
button:hover {
|
|
79
|
+
background-color: var(--button-hover-background-color, rgba(126, 126, 126, 0.3));
|
|
80
|
+
border: var(--button-hover-border, none);
|
|
81
|
+
color: var(--button-hover-color, inherit);
|
|
82
|
+
opacity: var(--button-hover-color, 100%);
|
|
83
|
+
box-shadow: var(--button-hover-box-shadow, var(--default-box-shadow));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
button.active {
|
|
87
|
+
background-color: var(--button-active-background-color, rgba(126, 126, 126, 0.3));
|
|
88
|
+
border: var(--button-active-border, none);
|
|
89
|
+
color: var(--button-active-color, inherit);
|
|
90
|
+
opacity: var(--button-active-color, 100%);
|
|
91
|
+
box-shadow: var(--button-active-box-shadow, var(--default-box-shadow));
|
|
92
|
+
}
|
|
93
|
+
</style>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
_backgroundColor?: string | null | undefined;
|
|
5
|
+
_border?: string | null | undefined;
|
|
6
|
+
_padding?: string | null | undefined;
|
|
7
|
+
_color?: string | null | undefined;
|
|
8
|
+
_borderRadius?: string | null | undefined;
|
|
9
|
+
_cursor?: string | null | undefined;
|
|
10
|
+
_opacity?: string | null | undefined;
|
|
11
|
+
_transitionTimingFunction?: string | null | undefined;
|
|
12
|
+
_transitionDuration?: string | null | undefined;
|
|
13
|
+
_boxShadow?: string | null | undefined;
|
|
14
|
+
_disabledBackgroundColor?: string | null | undefined;
|
|
15
|
+
_disabledBorder?: string | null | undefined;
|
|
16
|
+
_disabledColor?: string | null | undefined;
|
|
17
|
+
_disabledOpacity?: string | null | undefined;
|
|
18
|
+
_hoverBackgroundColor?: string | null | undefined;
|
|
19
|
+
_hoverBorder?: string | null | undefined;
|
|
20
|
+
_hoverColor?: string | null | undefined;
|
|
21
|
+
_hoverOpacity?: string | null | undefined;
|
|
22
|
+
_hoverBoxShadow?: string | null | undefined;
|
|
23
|
+
_activeBackgroundColor?: string | null | undefined;
|
|
24
|
+
_activeBorder?: string | null | undefined;
|
|
25
|
+
_activeColor?: string | null | undefined;
|
|
26
|
+
_activeOpacity?: string | null | undefined;
|
|
27
|
+
_activeBoxShadow?: string | null | undefined;
|
|
28
|
+
disabled?: boolean | undefined;
|
|
29
|
+
active?: boolean | undefined;
|
|
30
|
+
};
|
|
31
|
+
events: {
|
|
32
|
+
click: CustomEvent<{
|
|
33
|
+
nativeEvent: MouseEvent;
|
|
34
|
+
}>;
|
|
35
|
+
keypress: CustomEvent<{
|
|
36
|
+
nativeEvent: KeyboardEvent;
|
|
37
|
+
}>;
|
|
38
|
+
} & {
|
|
39
|
+
[evt: string]: CustomEvent<any>;
|
|
40
|
+
};
|
|
41
|
+
slots: {
|
|
42
|
+
default: {};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export type DefaultButtonProps = typeof __propDef.props;
|
|
46
|
+
export type DefaultButtonEvents = typeof __propDef.events;
|
|
47
|
+
export type DefaultButtonSlots = typeof __propDef.slots;
|
|
48
|
+
export default class DefaultButton extends SvelteComponentTyped<DefaultButtonProps, DefaultButtonEvents, DefaultButtonSlots> {
|
|
49
|
+
}
|
|
50
|
+
export {};
|