@onsvisual/svelte-components 0.0.10 → 0.0.11
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 +1 -1
- package/dist/@types/layout/Breadcrumb/Breadcrumb.svelte.d.ts +8 -0
- package/dist/@types/layout/Section/Section.svelte.d.ts +2 -0
- package/dist/@types/layout/{TitleBlock/TitleBlock.svelte.d.ts → Titleblock/Titleblock.svelte.d.ts} +7 -7
- package/dist/css/main.css +2 -2
- package/dist/decorators/Divider/Divider.svelte +2 -3
- package/dist/index.js +1 -1
- package/dist/layout/Breadcrumb/Breadcrumb.svelte +29 -2
- package/dist/layout/Section/Section.svelte +6 -0
- package/dist/layout/{TitleBlock/TitleBlock.svelte → Titleblock/Titleblock.svelte} +1 -1
- package/dist/wrappers/Container/Container.svelte +1 -0
- package/package.json +3 -3
- /package/dist/@types/layout/{TitleBlock → Titleblock}/Meta.svelte.d.ts +0 -0
- /package/dist/layout/{TitleBlock → Titleblock}/Meta.svelte +0 -0
package/dist/@types/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { default as NavSections } from "./layout/NavSections/NavSections.svelte"
|
|
|
15
15
|
export { default as Scroller } from "./layout/Scroller/Scroller.svelte";
|
|
16
16
|
export { default as ScrollerSection } from "./layout/Scroller/ScrollerSection.svelte";
|
|
17
17
|
export { default as Section } from "./layout/Section/Section.svelte";
|
|
18
|
-
export { default as
|
|
18
|
+
export { default as Titleblock } from "./layout/Titleblock/Titleblock.svelte";
|
|
19
19
|
export { default as Twisty } from "./layout/Twisty/Twisty.svelte";
|
|
20
20
|
export { default as Button } from "./inputs/Button/Button.svelte";
|
|
21
21
|
export { default as Dropdown } from "./inputs/Dropdown/Dropdown.svelte";
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
/** @typedef {typeof __propDef.events} BreadcrumbEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} BreadcrumbSlots */
|
|
4
4
|
export default class Breadcrumb extends SvelteComponentTyped<{
|
|
5
|
+
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
background?: string;
|
|
7
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
8
|
+
themeOverrides?: any;
|
|
5
9
|
links?: any[];
|
|
6
10
|
}, {
|
|
7
11
|
[evt: string]: CustomEvent<any>;
|
|
@@ -13,6 +17,10 @@ export type BreadcrumbSlots = typeof __propDef.slots;
|
|
|
13
17
|
import { SvelteComponentTyped } from "svelte";
|
|
14
18
|
declare const __propDef: {
|
|
15
19
|
props: {
|
|
20
|
+
theme?: "light" | "dark" | "lightblue";
|
|
21
|
+
background?: string;
|
|
22
|
+
width?: "narrow" | "medium" | "wide" | "full";
|
|
23
|
+
themeOverrides?: object;
|
|
16
24
|
links?: any[];
|
|
17
25
|
};
|
|
18
26
|
events: {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/** @typedef {typeof __propDef.slots} SectionSlots */
|
|
4
4
|
export default class Section extends SvelteComponentTyped<{
|
|
5
5
|
theme?: "light" | "dark" | "lightblue";
|
|
6
|
+
background?: string;
|
|
6
7
|
width?: "narrow" | "medium" | "wide" | "full";
|
|
7
8
|
marginTop?: boolean;
|
|
8
9
|
marginBottom?: boolean;
|
|
@@ -23,6 +24,7 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
23
24
|
declare const __propDef: {
|
|
24
25
|
props: {
|
|
25
26
|
theme?: "light" | "dark" | "lightblue";
|
|
27
|
+
background?: string;
|
|
26
28
|
width?: "narrow" | "medium" | "wide" | "full";
|
|
27
29
|
marginTop?: boolean;
|
|
28
30
|
marginBottom?: boolean;
|
package/dist/@types/layout/{TitleBlock/TitleBlock.svelte.d.ts → Titleblock/Titleblock.svelte.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props}
|
|
2
|
-
/** @typedef {typeof __propDef.events}
|
|
3
|
-
/** @typedef {typeof __propDef.slots}
|
|
4
|
-
export default class
|
|
1
|
+
/** @typedef {typeof __propDef.props} TitleblockProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TitleblockEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TitleblockSlots */
|
|
4
|
+
export default class Titleblock extends SvelteComponentTyped<{
|
|
5
5
|
theme?: "light" | "dark" | "lightblue";
|
|
6
6
|
background?: string;
|
|
7
7
|
themeOverrides?: any;
|
|
@@ -17,9 +17,9 @@ export default class TitleBlock extends SvelteComponentTyped<{
|
|
|
17
17
|
after: {};
|
|
18
18
|
}> {
|
|
19
19
|
}
|
|
20
|
-
export type
|
|
21
|
-
export type
|
|
22
|
-
export type
|
|
20
|
+
export type TitleblockProps = typeof __propDef.props;
|
|
21
|
+
export type TitleblockEvents = typeof __propDef.events;
|
|
22
|
+
export type TitleblockSlots = typeof __propDef.slots;
|
|
23
23
|
import { SvelteComponentTyped } from "svelte";
|
|
24
24
|
declare const __propDef: {
|
|
25
25
|
props: {
|