sdocs 0.0.20 → 0.0.22
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/client/App.svelte.d.ts +12 -11
- package/dist/client/views/CollapsiblePanel.svelte.d.ts +13 -8
- package/dist/client/views/ComponentView.svelte.d.ts +13 -9
- package/dist/client/views/ControlsPanel.svelte.d.ts +13 -12
- package/dist/client/views/DataTable.svelte.d.ts +13 -10
- package/dist/client/views/HomePage.svelte.d.ts +13 -7
- package/dist/client/views/LayoutView.svelte.d.ts +13 -7
- package/dist/client/views/PageView.svelte.d.ts +13 -7
- package/dist/client/views/PreviewFrame.svelte.d.ts +13 -9
- package/dist/client/views/Sidebar.svelte.d.ts +13 -15
- package/dist/ui/Button/Button.svelte.d.ts +13 -26
- package/dist/ui/Control/Checkbox.svelte.d.ts +13 -7
- package/dist/ui/Control/Color.svelte.d.ts +13 -7
- package/dist/ui/Control/Dimension.svelte.d.ts +13 -7
- package/dist/ui/Control/Number.svelte.d.ts +13 -7
- package/dist/ui/Control/Select.svelte.d.ts +13 -8
- package/dist/ui/Control/Text.svelte.d.ts +13 -7
- package/dist/ui/Frame/Frame.svelte.d.ts +13 -14
- package/dist/ui/Icon/Icon.svelte.d.ts +15 -15
- package/dist/ui/NavTree/Group.svelte.d.ts +13 -10
- package/dist/ui/NavTree/Item.svelte.d.ts +13 -32
- package/dist/ui/NavTree/NavTree.svelte.d.ts +13 -7
- package/dist/ui/NavTree/index.d.ts +9 -0
- package/dist/ui/Stack/Stack.svelte.d.ts +13 -18
- package/package.json +4 -4
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
2
|
import '../ui/styles/sdocs.css';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
sidebarConfig?: {
|
|
8
|
-
order?: Record<string, string[]>;
|
|
9
|
-
open?: string[];
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: Record<string, never>;
|
|
5
|
+
events: {
|
|
6
|
+
[evt: string]: CustomEvent<any>;
|
|
10
7
|
};
|
|
8
|
+
slots: {};
|
|
9
|
+
};
|
|
10
|
+
export type AppProps = typeof __propDef.props;
|
|
11
|
+
export type AppEvents = typeof __propDef.events;
|
|
12
|
+
export type AppSlots = typeof __propDef.slots;
|
|
13
|
+
export default class App extends SvelteComponentTyped<AppProps, AppEvents, AppSlots> {
|
|
11
14
|
}
|
|
12
|
-
|
|
13
|
-
type App = ReturnType<typeof App>;
|
|
14
|
-
export default App;
|
|
15
|
+
export {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type CollapsiblePanelProps = typeof __propDef.props;
|
|
10
|
+
export type CollapsiblePanelEvents = typeof __propDef.events;
|
|
11
|
+
export type CollapsiblePanelSlots = typeof __propDef.slots;
|
|
12
|
+
export default class CollapsiblePanel extends SvelteComponentTyped<CollapsiblePanelProps, CollapsiblePanelEvents, CollapsiblePanelSlots> {
|
|
6
13
|
}
|
|
7
|
-
|
|
8
|
-
type CollapsiblePanel = ReturnType<typeof CollapsiblePanel>;
|
|
9
|
-
export default CollapsiblePanel;
|
|
14
|
+
export {};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ComponentViewProps = typeof __propDef.props;
|
|
10
|
+
export type ComponentViewEvents = typeof __propDef.events;
|
|
11
|
+
export type ComponentViewSlots = typeof __propDef.slots;
|
|
12
|
+
export default class ComponentView extends SvelteComponentTyped<ComponentViewProps, ComponentViewEvents, ComponentViewSlots> {
|
|
7
13
|
}
|
|
8
|
-
|
|
9
|
-
type ComponentView = ReturnType<typeof ComponentView>;
|
|
10
|
-
export default ComponentView;
|
|
14
|
+
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ControlsPanelProps = typeof __propDef.props;
|
|
10
|
+
export type ControlsPanelEvents = typeof __propDef.events;
|
|
11
|
+
export type ControlsPanelSlots = typeof __propDef.slots;
|
|
12
|
+
export default class ControlsPanel extends SvelteComponentTyped<ControlsPanelProps, ControlsPanelEvents, ControlsPanelSlots> {
|
|
10
13
|
}
|
|
11
|
-
|
|
12
|
-
type ControlsPanel = ReturnType<typeof ControlsPanel>;
|
|
13
|
-
export default ControlsPanel;
|
|
14
|
+
export {};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type DataTableProps = typeof __propDef.props;
|
|
10
|
+
export type DataTableEvents = typeof __propDef.events;
|
|
11
|
+
export type DataTableSlots = typeof __propDef.slots;
|
|
12
|
+
export default class DataTable extends SvelteComponentTyped<DataTableProps, DataTableEvents, DataTableSlots> {
|
|
4
13
|
}
|
|
5
|
-
|
|
6
|
-
columns: Column[];
|
|
7
|
-
rows: Record<string, unknown>[];
|
|
8
|
-
}
|
|
9
|
-
declare const DataTable: import("svelte").Component<Props, {}, "">;
|
|
10
|
-
type DataTable = ReturnType<typeof DataTable>;
|
|
11
|
-
export default DataTable;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type HomePageProps = typeof __propDef.props;
|
|
10
|
+
export type HomePageEvents = typeof __propDef.events;
|
|
11
|
+
export type HomePageSlots = typeof __propDef.slots;
|
|
12
|
+
export default class HomePage extends SvelteComponentTyped<HomePageProps, HomePageEvents, HomePageSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type HomePage = ReturnType<typeof HomePage>;
|
|
8
|
-
export default HomePage;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type LayoutViewProps = typeof __propDef.props;
|
|
10
|
+
export type LayoutViewEvents = typeof __propDef.events;
|
|
11
|
+
export type LayoutViewSlots = typeof __propDef.slots;
|
|
12
|
+
export default class LayoutView extends SvelteComponentTyped<LayoutViewProps, LayoutViewEvents, LayoutViewSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type LayoutView = ReturnType<typeof LayoutView>;
|
|
8
|
-
export default LayoutView;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type PageViewProps = typeof __propDef.props;
|
|
10
|
+
export type PageViewEvents = typeof __propDef.events;
|
|
11
|
+
export type PageViewSlots = typeof __propDef.slots;
|
|
12
|
+
export default class PageView extends SvelteComponentTyped<PageViewProps, PageViewEvents, PageViewSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type PageView = ReturnType<typeof PageView>;
|
|
8
|
-
export default PageView;
|
|
14
|
+
export {};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
props
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type PreviewFrameProps = typeof __propDef.props;
|
|
10
|
+
export type PreviewFrameEvents = typeof __propDef.events;
|
|
11
|
+
export type PreviewFrameSlots = typeof __propDef.slots;
|
|
12
|
+
export default class PreviewFrame extends SvelteComponentTyped<PreviewFrameProps, PreviewFrameEvents, PreviewFrameSlots> {
|
|
7
13
|
}
|
|
8
|
-
|
|
9
|
-
type PreviewFrame = ReturnType<typeof PreviewFrame>;
|
|
10
|
-
export default PreviewFrame;
|
|
14
|
+
export {};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SidebarProps = typeof __propDef.props;
|
|
10
|
+
export type SidebarEvents = typeof __propDef.events;
|
|
11
|
+
export type SidebarSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Sidebar extends SvelteComponentTyped<SidebarProps, SidebarEvents, SidebarSlots> {
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
type Sidebar = ReturnType<typeof Sidebar>;
|
|
16
|
-
export default Sidebar;
|
|
14
|
+
export {};
|
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* @cssvar {string} --font-weight - Font weight
|
|
14
|
-
* @cssvar {length} --font-size - Font size
|
|
15
|
-
*/
|
|
16
|
-
interface Props {
|
|
17
|
-
onclick?: (e: MouseEvent) => void;
|
|
18
|
-
title?: string;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
left?: Snippet;
|
|
21
|
-
right?: Snippet;
|
|
22
|
-
children?: Snippet;
|
|
23
|
-
class?: string;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ButtonProps = typeof __propDef.props;
|
|
10
|
+
export type ButtonEvents = typeof __propDef.events;
|
|
11
|
+
export type ButtonSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
|
|
24
13
|
}
|
|
25
|
-
|
|
26
|
-
type Button = ReturnType<typeof Button>;
|
|
27
|
-
export default Button;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type CheckboxProps = typeof __propDef.props;
|
|
10
|
+
export type CheckboxEvents = typeof __propDef.events;
|
|
11
|
+
export type CheckboxSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type Checkbox = ReturnType<typeof Checkbox>;
|
|
8
|
-
export default Checkbox;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ColorProps = typeof __propDef.props;
|
|
10
|
+
export type ColorEvents = typeof __propDef.events;
|
|
11
|
+
export type ColorSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Color extends SvelteComponentTyped<ColorProps, ColorEvents, ColorSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type Color = ReturnType<typeof Color>;
|
|
8
|
-
export default Color;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type DimensionProps = typeof __propDef.props;
|
|
10
|
+
export type DimensionEvents = typeof __propDef.events;
|
|
11
|
+
export type DimensionSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Dimension extends SvelteComponentTyped<DimensionProps, DimensionEvents, DimensionSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type Dimension = ReturnType<typeof Dimension>;
|
|
8
|
-
export default Dimension;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type NumberProps = typeof __propDef.props;
|
|
10
|
+
export type NumberEvents = typeof __propDef.events;
|
|
11
|
+
export type NumberSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Number extends SvelteComponentTyped<NumberProps, NumberEvents, NumberSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type Number = ReturnType<typeof Number>;
|
|
8
|
-
export default Number;
|
|
14
|
+
export {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type SelectProps = typeof __propDef.props;
|
|
10
|
+
export type SelectEvents = typeof __propDef.events;
|
|
11
|
+
export type SelectSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Select extends SvelteComponentTyped<SelectProps, SelectEvents, SelectSlots> {
|
|
6
13
|
}
|
|
7
|
-
|
|
8
|
-
type Select = ReturnType<typeof Select>;
|
|
9
|
-
export default Select;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type TextProps = typeof __propDef.props;
|
|
10
|
+
export type TextEvents = typeof __propDef.events;
|
|
11
|
+
export type TextSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Text extends SvelteComponentTyped<TextProps, TextEvents, TextSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type Text = ReturnType<typeof Text>;
|
|
8
|
-
export default Text;
|
|
14
|
+
export {};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type FrameProps = typeof __propDef.props;
|
|
10
|
+
export type FrameEvents = typeof __propDef.events;
|
|
11
|
+
export type FrameSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Frame extends SvelteComponentTyped<FrameProps, FrameEvents, FrameSlots> {
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
type Frame = ReturnType<typeof Frame>;
|
|
15
|
-
export default Frame;
|
|
14
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
icons?: Record<string, string>;
|
|
5
|
+
};
|
|
6
|
+
events: {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
};
|
|
9
|
+
slots: {};
|
|
10
|
+
};
|
|
11
|
+
export type IconProps = typeof __propDef.props;
|
|
12
|
+
export type IconEvents = typeof __propDef.events;
|
|
13
|
+
export type IconSlots = typeof __propDef.slots;
|
|
14
|
+
export default class Icon extends SvelteComponentTyped<IconProps, IconEvents, IconSlots> {
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
icons: Record<string, string>;
|
|
14
|
-
}, "">;
|
|
15
|
-
type Icon = ReturnType<typeof Icon>;
|
|
16
|
-
export default Icon;
|
|
16
|
+
export {};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type GroupProps = typeof __propDef.props;
|
|
10
|
+
export type GroupEvents = typeof __propDef.events;
|
|
11
|
+
export type GroupSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Group extends SvelteComponentTyped<GroupProps, GroupEvents, GroupSlots> {
|
|
8
13
|
}
|
|
9
|
-
|
|
10
|
-
type Group = ReturnType<typeof Group>;
|
|
11
|
-
export default Group;
|
|
14
|
+
export {};
|
|
@@ -1,33 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* @cssvar {color} --expander-color-hover - Expander icon color on hover
|
|
14
|
-
* @cssvar {length} --expander-size - Expander icon size
|
|
15
|
-
* @cssvar {color} --font-color - Text color
|
|
16
|
-
* @cssvar {color} --font-color-active - Text color when active
|
|
17
|
-
* @cssvar {color} --font-color-hover - Text color on hover
|
|
18
|
-
* @cssvar {string} --font-weight - Font weight
|
|
19
|
-
*/
|
|
20
|
-
interface Props {
|
|
21
|
-
label: string;
|
|
22
|
-
href?: string;
|
|
23
|
-
active?: boolean;
|
|
24
|
-
left?: Snippet;
|
|
25
|
-
right?: Snippet;
|
|
26
|
-
expanded?: boolean;
|
|
27
|
-
children?: Snippet;
|
|
28
|
-
class?: string;
|
|
29
|
-
onclick?: () => void;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type ItemProps = typeof __propDef.props;
|
|
10
|
+
export type ItemEvents = typeof __propDef.events;
|
|
11
|
+
export type ItemSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Item extends SvelteComponentTyped<ItemProps, ItemEvents, ItemSlots> {
|
|
30
13
|
}
|
|
31
|
-
|
|
32
|
-
type Item = ReturnType<typeof Item>;
|
|
33
|
-
export default Item;
|
|
14
|
+
export {};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type NavTreeProps = typeof __propDef.props;
|
|
10
|
+
export type NavTreeEvents = typeof __propDef.events;
|
|
11
|
+
export type NavTreeSlots = typeof __propDef.slots;
|
|
12
|
+
export default class NavTree extends SvelteComponentTyped<NavTreeProps, NavTreeEvents, NavTreeSlots> {
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
type NavTree = ReturnType<typeof NavTree>;
|
|
8
|
-
export default NavTree;
|
|
14
|
+
export {};
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
interface Props {
|
|
14
|
-
children: Snippet;
|
|
15
|
-
class?: string;
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: Record<string, never>;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type StackProps = typeof __propDef.props;
|
|
10
|
+
export type StackEvents = typeof __propDef.events;
|
|
11
|
+
export type StackSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Stack extends SvelteComponentTyped<StackProps, StackEvents, StackSlots> {
|
|
16
13
|
}
|
|
17
|
-
|
|
18
|
-
type Stack = ReturnType<typeof Stack>;
|
|
19
|
-
export default Stack;
|
|
14
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdocs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
4
4
|
"description": "A lightweight documentation tool for Svelte 5 components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"bin"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@sveltejs/vite-plugin-svelte": "
|
|
33
|
-
"svelte": "
|
|
34
|
-
"vite": "
|
|
32
|
+
"@sveltejs/vite-plugin-svelte": "*",
|
|
33
|
+
"svelte": "*",
|
|
34
|
+
"vite": "*"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@sveltejs/package": "^2.5.7",
|