@onsvisual/svelte-components 0.0.13 → 0.0.15
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/@types/index.d.ts +10 -1
- package/dist/@types/inputs/Button/Button.svelte.d.ts +2 -2
- package/dist/@types/inputs/Checkbox/Checkbox.svelte.d.ts +2 -2
- package/dist/@types/inputs/Checkboxes/Checkboxes.svelte.d.ts +2 -2
- package/dist/@types/inputs/Dropdown/Dropdown.svelte.d.ts +2 -2
- package/dist/@types/inputs/Input/Input.svelte.d.ts +4 -4
- package/dist/@types/inputs/Radios/Radios.svelte.d.ts +4 -4
- package/dist/@types/inputs/Select/Select.svelte.d.ts +2 -2
- package/dist/@types/inputs/Textarea/Textarea.svelte.d.ts +2 -2
- package/dist/@types/layout/Contents/Contents.svelte.d.ts +2 -2
- package/dist/@types/layout/NavSections/NavSection.svelte.d.ts +2 -2
- package/dist/@types/layout/Scroller/ScrollerSection.svelte.d.ts +2 -2
- package/dist/@types/layout/Section/Section.svelte.d.ts +2 -2
- package/dist/@types/layout/Tabs/Tab.svelte.d.ts +2 -2
- package/dist/css/main.css +55 -4
- package/dist/index.js +10 -1
- package/package.json +3 -3
- /package/dist/@types/layout/{BackLink → Backlink}/Backlink.svelte.d.ts +0 -0
- /package/dist/layout/{BackLink → Backlink}/Backlink.svelte +0 -0
package/dist/@types/index.d.ts
CHANGED
|
@@ -3,17 +3,26 @@ export { default as Embed } from "./wrappers/Embed/Embed.svelte";
|
|
|
3
3
|
export { default as Main } from "./wrappers/Main/Main.svelte";
|
|
4
4
|
export { default as Theme } from "./wrappers/Theme/Theme.svelte";
|
|
5
5
|
export { default as Accordion } from "./layout/Accordion/Accordion.svelte";
|
|
6
|
-
export { default as
|
|
6
|
+
export { default as Backlink } from "./layout/Backlink/Backlink.svelte";
|
|
7
|
+
export { default as Breadcrumb } from "./layout/Breadcrumb/Breadcrumb.svelte";
|
|
8
|
+
export { default as Contents } from "./layout/Contents/Contents.svelte";
|
|
9
|
+
export { default as ErrorPage } from "./layout/ErrorPage/ErrorPage.svelte";
|
|
7
10
|
export { default as Footer } from "./layout/Footer/Footer.svelte";
|
|
8
11
|
export { default as Grid } from "./layout/Grid/Grid.svelte";
|
|
9
12
|
export { default as Header } from "./layout/Header/Header.svelte";
|
|
10
13
|
export { default as Hero } from "./layout/Hero/Hero.svelte";
|
|
14
|
+
export { default as Highlight } from "./layout/Highlight/Highlight.svelte";
|
|
11
15
|
export { default as List } from "./layout/List/List.svelte";
|
|
12
16
|
export { default as NavSection } from "./layout/NavSections/NavSection.svelte";
|
|
13
17
|
export { default as NavSections } from "./layout/NavSections/NavSections.svelte";
|
|
14
18
|
export { default as Scroller } from "./layout/Scroller/Scroller.svelte";
|
|
15
19
|
export { default as ScrollerSection } from "./layout/Scroller/ScrollerSection.svelte";
|
|
16
20
|
export { default as Section } from "./layout/Section/Section.svelte";
|
|
21
|
+
export { default as ShareButtons } from "./layout/ShareButtons/ShareButtons.svelte";
|
|
22
|
+
export { default as Summary } from "./layout/Summary/Summary.svelte";
|
|
23
|
+
export { default as Survey } from "./layout/Survey/Survey.svelte";
|
|
24
|
+
export { default as Tabs } from "./layout/Tabs/Tabs.svelte";
|
|
25
|
+
export { default as Tab } from "./layout/Tabs/Tab.svelte";
|
|
17
26
|
export { default as Titleblock } from "./layout/Titleblock/Titleblock.svelte";
|
|
18
27
|
export { default as Twisty } from "./layout/Twisty/Twisty.svelte";
|
|
19
28
|
export { default as Button } from "./inputs/Button/Button.svelte";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} ButtonSlots */
|
|
4
4
|
export default class Button extends SvelteComponentTyped<{
|
|
5
5
|
small?: boolean;
|
|
6
|
+
href?: string;
|
|
6
7
|
type?: "button" | "reset" | "sumbit";
|
|
7
8
|
variant?: "primary" | "secondary" | "ghost";
|
|
8
|
-
href?: string;
|
|
9
9
|
icon?: string;
|
|
10
10
|
iconPosition?: "before" | "after";
|
|
11
11
|
disabled?: boolean;
|
|
@@ -24,9 +24,9 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
24
24
|
declare const __propDef: {
|
|
25
25
|
props: {
|
|
26
26
|
small?: boolean;
|
|
27
|
+
href?: string;
|
|
27
28
|
type?: "button" | "sumbit" | "reset";
|
|
28
29
|
variant?: "primary" | "secondary" | "ghost";
|
|
29
|
-
href?: string;
|
|
30
30
|
icon?: string;
|
|
31
31
|
iconPosition?: "before" | "after";
|
|
32
32
|
disabled?: boolean;
|
|
@@ -5,9 +5,9 @@ export default class Checkbox extends SvelteComponentTyped<{
|
|
|
5
5
|
label: string;
|
|
6
6
|
id: string;
|
|
7
7
|
compact?: boolean;
|
|
8
|
+
description?: string;
|
|
8
9
|
variant?: "default" | "ghost";
|
|
9
10
|
disabled?: boolean;
|
|
10
|
-
description?: string;
|
|
11
11
|
group?: boolean;
|
|
12
12
|
checked?: boolean;
|
|
13
13
|
}, {
|
|
@@ -25,9 +25,9 @@ declare const __propDef: {
|
|
|
25
25
|
label: string;
|
|
26
26
|
id: string;
|
|
27
27
|
compact?: boolean;
|
|
28
|
+
description?: string;
|
|
28
29
|
variant?: "default" | "ghost";
|
|
29
30
|
disabled?: boolean;
|
|
30
|
-
description?: string;
|
|
31
31
|
group?: boolean;
|
|
32
32
|
checked?: boolean;
|
|
33
33
|
};
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
export default class Checkboxes extends SvelteComponentTyped<{
|
|
5
5
|
label?: string;
|
|
6
6
|
compact?: boolean;
|
|
7
|
-
value?: any[];
|
|
8
7
|
items?: any[];
|
|
8
|
+
value?: any[];
|
|
9
9
|
}, {
|
|
10
10
|
change: CustomEvent<any>;
|
|
11
11
|
} & {
|
|
@@ -22,8 +22,8 @@ declare const __propDef: {
|
|
|
22
22
|
props: {
|
|
23
23
|
label?: string;
|
|
24
24
|
compact?: boolean;
|
|
25
|
-
value?: any[];
|
|
26
25
|
items?: any[];
|
|
26
|
+
value?: any[];
|
|
27
27
|
};
|
|
28
28
|
events: {
|
|
29
29
|
change: CustomEvent<any>;
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
export default class Dropdown extends SvelteComponentTyped<{
|
|
5
5
|
label?: string;
|
|
6
6
|
id?: string;
|
|
7
|
+
value?: any;
|
|
7
8
|
hideLabel?: boolean;
|
|
8
9
|
placeholder?: string;
|
|
9
|
-
value?: any;
|
|
10
10
|
options?: any[];
|
|
11
11
|
}, {
|
|
12
12
|
change: CustomEvent<any>;
|
|
@@ -22,9 +22,9 @@ declare const __propDef: {
|
|
|
22
22
|
props: {
|
|
23
23
|
label?: string;
|
|
24
24
|
id?: string;
|
|
25
|
+
value?: object;
|
|
25
26
|
hideLabel?: boolean;
|
|
26
27
|
placeholder?: string;
|
|
27
|
-
value?: object;
|
|
28
28
|
options?: any[];
|
|
29
29
|
};
|
|
30
30
|
events: {
|
|
@@ -7,14 +7,14 @@ export default class Input extends SvelteComponentTyped<{
|
|
|
7
7
|
id?: string;
|
|
8
8
|
numeric?: boolean;
|
|
9
9
|
error?: boolean;
|
|
10
|
-
|
|
10
|
+
pattern?: string;
|
|
11
11
|
value?: string;
|
|
12
12
|
description?: string;
|
|
13
|
+
hideLabel?: boolean;
|
|
13
14
|
charLimit?: number;
|
|
14
15
|
prefix?: string;
|
|
15
16
|
suffix?: string;
|
|
16
17
|
unitLabel?: string;
|
|
17
|
-
pattern?: string;
|
|
18
18
|
}, {
|
|
19
19
|
change: CustomEvent<any>;
|
|
20
20
|
} & {
|
|
@@ -32,14 +32,14 @@ declare const __propDef: {
|
|
|
32
32
|
id?: string;
|
|
33
33
|
numeric?: boolean;
|
|
34
34
|
error?: boolean;
|
|
35
|
-
|
|
35
|
+
pattern?: string;
|
|
36
36
|
value?: string;
|
|
37
37
|
description?: string;
|
|
38
|
+
hideLabel?: boolean;
|
|
38
39
|
charLimit?: number;
|
|
39
40
|
prefix?: string;
|
|
40
41
|
suffix?: string;
|
|
41
42
|
unitLabel?: string;
|
|
42
|
-
pattern?: string;
|
|
43
43
|
};
|
|
44
44
|
events: {
|
|
45
45
|
change: CustomEvent<any>;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} RadiosSlots */
|
|
4
4
|
export default class Radios extends SvelteComponentTyped<{
|
|
5
5
|
label?: string;
|
|
6
|
-
id?: string;
|
|
7
6
|
compact?: boolean;
|
|
8
|
-
|
|
7
|
+
id?: string;
|
|
9
8
|
items?: any[];
|
|
9
|
+
value?: string;
|
|
10
10
|
}, {
|
|
11
11
|
change: CustomEvent<any>;
|
|
12
12
|
} & {
|
|
@@ -22,10 +22,10 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
22
22
|
declare const __propDef: {
|
|
23
23
|
props: {
|
|
24
24
|
label?: string;
|
|
25
|
-
id?: string;
|
|
26
25
|
compact?: boolean;
|
|
27
|
-
|
|
26
|
+
id?: string;
|
|
28
27
|
items?: any[];
|
|
28
|
+
value?: string;
|
|
29
29
|
};
|
|
30
30
|
events: {
|
|
31
31
|
change: CustomEvent<any>;
|
|
@@ -6,9 +6,9 @@ export default class Select extends SvelteComponentTyped<{
|
|
|
6
6
|
label?: string;
|
|
7
7
|
id?: string;
|
|
8
8
|
mode?: "default" | "search";
|
|
9
|
+
value?: any;
|
|
9
10
|
hideLabel?: boolean;
|
|
10
11
|
placeholder?: string;
|
|
11
|
-
value?: any;
|
|
12
12
|
options?: any[];
|
|
13
13
|
multiple?: boolean;
|
|
14
14
|
maxSelected?: number;
|
|
@@ -39,9 +39,9 @@ declare const __propDef: {
|
|
|
39
39
|
label?: string;
|
|
40
40
|
id?: string;
|
|
41
41
|
mode?: "default" | "search";
|
|
42
|
+
value?: object;
|
|
42
43
|
hideLabel?: boolean;
|
|
43
44
|
placeholder?: string;
|
|
44
|
-
value?: object;
|
|
45
45
|
options?: any[];
|
|
46
46
|
multiple?: boolean;
|
|
47
47
|
maxSelected?: number;
|
|
@@ -5,9 +5,9 @@ export default class Textarea extends SvelteComponentTyped<{
|
|
|
5
5
|
width?: number;
|
|
6
6
|
label?: string;
|
|
7
7
|
id?: string;
|
|
8
|
-
hideLabel?: boolean;
|
|
9
8
|
value?: string;
|
|
10
9
|
description?: string;
|
|
10
|
+
hideLabel?: boolean;
|
|
11
11
|
charLimit?: number;
|
|
12
12
|
rows?: number;
|
|
13
13
|
}, {
|
|
@@ -23,9 +23,9 @@ declare const __propDef: {
|
|
|
23
23
|
width?: number;
|
|
24
24
|
label?: string;
|
|
25
25
|
id?: string;
|
|
26
|
-
hideLabel?: boolean;
|
|
27
26
|
value?: string;
|
|
28
27
|
description?: string;
|
|
28
|
+
hideLabel?: boolean;
|
|
29
29
|
charLimit?: number;
|
|
30
30
|
rows?: number;
|
|
31
31
|
};
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} ContentsSlots */
|
|
4
4
|
export default class Contents extends SvelteComponentTyped<{
|
|
5
5
|
title?: string;
|
|
6
|
-
hideTitle?: boolean;
|
|
7
6
|
links?: any[];
|
|
7
|
+
hideTitle?: boolean;
|
|
8
8
|
skipHref?: string;
|
|
9
9
|
}, {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
@@ -17,8 +17,8 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
17
17
|
declare const __propDef: {
|
|
18
18
|
props: {
|
|
19
19
|
title?: string;
|
|
20
|
-
hideTitle?: boolean;
|
|
21
20
|
links?: any[];
|
|
21
|
+
hideTitle?: boolean;
|
|
22
22
|
skipHref?: string;
|
|
23
23
|
};
|
|
24
24
|
events: {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} NavSectionSlots */
|
|
4
4
|
export default class NavSection extends SvelteComponentTyped<{
|
|
5
5
|
title?: string;
|
|
6
|
-
id?: string;
|
|
7
6
|
hideTitle?: boolean;
|
|
7
|
+
id?: string;
|
|
8
8
|
}, {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
}, {
|
|
@@ -18,8 +18,8 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
18
18
|
declare const __propDef: {
|
|
19
19
|
props: {
|
|
20
20
|
title?: string;
|
|
21
|
-
id?: string;
|
|
22
21
|
hideTitle?: boolean;
|
|
22
|
+
id?: string;
|
|
23
23
|
};
|
|
24
24
|
events: {
|
|
25
25
|
[evt: string]: CustomEvent<any>;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
export default class ScrollerSection extends SvelteComponentTyped<{
|
|
5
5
|
theme?: "light" | "dark" | "lightblue";
|
|
6
6
|
title?: string;
|
|
7
|
-
id?: string;
|
|
8
7
|
hideTitle?: boolean;
|
|
8
|
+
id?: string;
|
|
9
9
|
}, {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
}, {
|
|
@@ -20,8 +20,8 @@ declare const __propDef: {
|
|
|
20
20
|
props: {
|
|
21
21
|
theme?: "light" | "dark" | "lightblue";
|
|
22
22
|
title?: string;
|
|
23
|
-
id?: string;
|
|
24
23
|
hideTitle?: boolean;
|
|
24
|
+
id?: string;
|
|
25
25
|
};
|
|
26
26
|
events: {
|
|
27
27
|
[evt: string]: CustomEvent<any>;
|
|
@@ -9,8 +9,8 @@ export default class Section extends SvelteComponentTyped<{
|
|
|
9
9
|
marginBottom?: boolean;
|
|
10
10
|
themeOverrides?: any;
|
|
11
11
|
title?: string;
|
|
12
|
-
id?: string;
|
|
13
12
|
hideTitle?: boolean;
|
|
13
|
+
id?: string;
|
|
14
14
|
}, {
|
|
15
15
|
[evt: string]: CustomEvent<any>;
|
|
16
16
|
}, {
|
|
@@ -30,8 +30,8 @@ declare const __propDef: {
|
|
|
30
30
|
marginBottom?: boolean;
|
|
31
31
|
themeOverrides?: object;
|
|
32
32
|
title?: string;
|
|
33
|
-
id?: string;
|
|
34
33
|
hideTitle?: boolean;
|
|
34
|
+
id?: string;
|
|
35
35
|
};
|
|
36
36
|
events: {
|
|
37
37
|
[evt: string]: CustomEvent<any>;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} TabSlots */
|
|
4
4
|
export default class Tab extends SvelteComponentTyped<{
|
|
5
5
|
title?: string;
|
|
6
|
-
id?: string;
|
|
7
6
|
hideTitle?: boolean;
|
|
7
|
+
id?: string;
|
|
8
8
|
}, {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
}, {
|
|
@@ -18,8 +18,8 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
18
18
|
declare const __propDef: {
|
|
19
19
|
props: {
|
|
20
20
|
title?: string;
|
|
21
|
-
id?: string;
|
|
22
21
|
hideTitle?: boolean;
|
|
22
|
+
id?: string;
|
|
23
23
|
};
|
|
24
24
|
events: {
|
|
25
25
|
[evt: string]: CustomEvent<any>;
|