@nil-/doc 0.2.57 → 0.3.1
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/components/Base.svelte +1 -0
- package/components/block/Block.svelte +12 -67
- package/components/block/Controls.svelte +1 -6
- package/components/block/Controls.svelte.d.ts +0 -2
- package/components/block/Instance.svelte +72 -51
- package/components/block/context.d.ts +12 -8
- package/components/block/context.js +8 -8
- package/components/block/controls/Controls.svelte +79 -0
- package/components/block/controls/Controls.svelte.d.ts +16 -0
- package/components/block/controls/Styler.svelte +9 -12
- package/components/block/controls/events/Events.svelte +14 -55
- package/components/block/controls/events/Events.svelte.d.ts +6 -6
- package/components/block/controls/props/Button.svelte +4 -3
- package/components/block/controls/props/Button.svelte.d.ts +1 -0
- package/components/block/controls/props/Color.svelte +32 -12
- package/components/block/controls/props/Component.svelte +3 -2
- package/components/block/controls/props/Number.svelte +10 -3
- package/components/block/controls/props/Props.svelte +3 -8
- package/components/block/controls/props/Props.svelte.d.ts +1 -3
- package/components/block/controls/props/Range.svelte +20 -30
- package/components/block/controls/props/Select.svelte +3 -3
- package/components/block/controls/props/Text.svelte +10 -3
- package/components/block/controls/props/Toggle.svelte +3 -5
- package/components/block/controls/props/misc/GroupHeader.svelte +6 -14
- package/components/block/controls/props/misc/Toggle.svelte +85 -0
- package/components/block/controls/props/misc/Toggle.svelte.d.ts +19 -0
- package/components/block/controls/props/misc/utils.d.ts +1 -1
- package/components/block/controls/props/misc/utils.js +7 -28
- package/components/block/icons/ControlView.svelte +2 -7
- package/components/block/icons/ControlView.svelte.d.ts +1 -1
- package/components/block/icons/Position.svelte +14 -14
- package/components/layout/Container.svelte +10 -8
- package/components/layout/Layout.svelte +19 -7
- package/components/layout/Layout.svelte.d.ts +1 -0
- package/components/layout/icons/Theme.svelte +6 -24
- package/package.json +11 -29
- package/sveltekit/index.d.ts +1 -0
- package/sveltekit/index.js +5 -1
- package/CHANGELOG.md +0 -376
|
@@ -5,10 +5,12 @@ const defaultRenamer = (s) => s;
|
|
|
5
5
|
<script>import Base from "../Base.svelte";
|
|
6
6
|
import Container from "./Container.svelte";
|
|
7
7
|
import Content from "./Content.svelte";
|
|
8
|
+
import Controls from "../block/controls/Controls.svelte";
|
|
8
9
|
import Scrollable from "./Scrollable.svelte";
|
|
9
10
|
import VerticalPanel from "./VerticalPanel.svelte";
|
|
10
11
|
import Nav from "../navigation/Nav.svelte";
|
|
11
12
|
import Icon from "./icons/Icon.svelte";
|
|
13
|
+
import { initControlInfo, initControlValue } from "../block/context";
|
|
12
14
|
import { getTheme, initTheme } from "../context";
|
|
13
15
|
import ThemeIcon from "./icons/Theme.svelte";
|
|
14
16
|
export let data;
|
|
@@ -17,6 +19,9 @@ export let sorter = null;
|
|
|
17
19
|
export let renamer = null;
|
|
18
20
|
export let theme = void 0;
|
|
19
21
|
export let offset = 250;
|
|
22
|
+
export let panel_pos = "bottom";
|
|
23
|
+
initControlInfo();
|
|
24
|
+
initControlValue();
|
|
20
25
|
const parentTheme = getTheme();
|
|
21
26
|
const dark = initTheme();
|
|
22
27
|
$:
|
|
@@ -62,13 +67,20 @@ const toggle = () => {
|
|
|
62
67
|
</Scrollable>
|
|
63
68
|
</svelte:fragment>
|
|
64
69
|
<svelte:fragment slot="B">
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
<Container offset={100} vertical={panel_pos === "right"}>
|
|
71
|
+
<svelte:fragment slot="A">
|
|
72
|
+
<Scrollable>
|
|
73
|
+
<Content>
|
|
74
|
+
{#key current}
|
|
75
|
+
<slot />
|
|
76
|
+
{/key}
|
|
77
|
+
</Content>
|
|
78
|
+
</Scrollable>
|
|
79
|
+
</svelte:fragment>
|
|
80
|
+
<svelte:fragment slot="B">
|
|
81
|
+
<Controls bind:position={panel_pos} />
|
|
82
|
+
</svelte:fragment>
|
|
83
|
+
</Container>
|
|
72
84
|
</svelte:fragment>
|
|
73
85
|
</Container>
|
|
74
86
|
</div>
|
|
@@ -3,15 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
<script>export let theme = "dark";
|
|
5
5
|
const index = indexer++;
|
|
6
|
+
$:
|
|
7
|
+
dark = theme === "dark";
|
|
6
8
|
</script>
|
|
7
9
|
|
|
8
|
-
<svg viewBox="-25 -25 50 50"
|
|
10
|
+
<svg viewBox="-25 -25 50 50" style:transform={dark ? "rotate(40deg)" : "rotate(180deg)"}>
|
|
9
11
|
<mask id={`nil_doc_theme_icon_${index}`}>
|
|
10
12
|
<rect x="-25" y="-25" fill="white" />
|
|
11
|
-
<circle r="11" fill="black" stroke="black" />
|
|
13
|
+
<circle r="11" cy={dark ? -8 : -24} fill="black" stroke="black" />
|
|
12
14
|
</mask>
|
|
13
|
-
<circle mask={`url(#nil_doc_theme_icon_${index})`} />
|
|
14
|
-
<g>
|
|
15
|
+
<circle r={dark ? 10 : 5} mask={`url(#nil_doc_theme_icon_${index})`} />
|
|
16
|
+
<g opacity={dark ? 0 : 1}>
|
|
15
17
|
<g>
|
|
16
18
|
<line x1="0" y1="9" x2="0" y2="11" />
|
|
17
19
|
<line x1="9" y1="0" x2="11" y2="0" />
|
|
@@ -47,37 +49,17 @@ const index = indexer++;
|
|
|
47
49
|
|
|
48
50
|
svg {
|
|
49
51
|
transition: transform var(--i-nil-doc-transition-time);
|
|
50
|
-
transform: rotate(40deg);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
svg > g {
|
|
54
55
|
transition: opacity var(--i-nil-doc-transition-time);
|
|
55
|
-
opacity: 0;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
svg > mask > circle {
|
|
59
59
|
transition: cy var(--i-nil-doc-transition-time);
|
|
60
|
-
cy: -8px;
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
svg > circle {
|
|
64
63
|
transition: r var(--i-nil-doc-transition-time);
|
|
65
|
-
r: 10px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
svg.dark {
|
|
69
|
-
transform: rotate(180deg);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
svg.dark > g {
|
|
73
|
-
opacity: 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
svg.dark > mask > circle {
|
|
77
|
-
cy: -24px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
svg.dark > circle {
|
|
81
|
-
r: 5px;
|
|
82
64
|
}
|
|
83
65
|
</style>
|
package/package.json
CHANGED
|
@@ -1,34 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nil-/doc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "njaldea@gmail.com",
|
|
6
6
|
"name": "Neil Aldea"
|
|
7
7
|
},
|
|
8
8
|
"license": "ISC",
|
|
9
|
-
"devDependencies": {
|
|
10
|
-
"@sveltejs/adapter-vercel": "^2.3.1",
|
|
11
|
-
"@sveltejs/kit": "^1.11.0",
|
|
12
|
-
"@sveltejs/package": "^1.0.2",
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
|
14
|
-
"@typescript-eslint/parser": "^5.54.1",
|
|
15
|
-
"@vitest/coverage-c8": "^0.26.3",
|
|
16
|
-
"eslint": "^8.36.0",
|
|
17
|
-
"eslint-config-prettier": "^8.7.0",
|
|
18
|
-
"eslint-plugin-svelte3": "^4.0.0",
|
|
19
|
-
"mdsvex": "^0.10.6",
|
|
20
|
-
"remark-admonitions": "^1.2.1",
|
|
21
|
-
"svelte-check": "^2.10.3",
|
|
22
|
-
"tslib": "^2.5.0",
|
|
23
|
-
"typescript": "^4.9.5",
|
|
24
|
-
"vite": "^4.1.4",
|
|
25
|
-
"vitest": "^0.26.3"
|
|
26
|
-
},
|
|
27
9
|
"peerDependencies": {
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"linkDirectory": true
|
|
10
|
+
"@sveltejs/kit": "^1.15.0",
|
|
11
|
+
"svelte": "^3.58.0"
|
|
32
12
|
},
|
|
33
13
|
"keywords": [
|
|
34
14
|
"svelte",
|
|
@@ -36,14 +16,16 @@
|
|
|
36
16
|
"component"
|
|
37
17
|
],
|
|
38
18
|
"type": "module",
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"svelte-toggle": "^3.1.0",
|
|
41
|
-
"vanilla-picker": "^2.12.1"
|
|
42
|
-
},
|
|
43
19
|
"exports": {
|
|
44
20
|
"./package.json": "./package.json",
|
|
45
|
-
".":
|
|
21
|
+
".": {
|
|
22
|
+
"default": "./index.js",
|
|
23
|
+
"svelte": "./index.js",
|
|
24
|
+
"types": "./index.d.ts"
|
|
25
|
+
},
|
|
46
26
|
"./sveltekit": "./sveltekit/index.js"
|
|
47
27
|
},
|
|
48
|
-
"
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"vanilla-picker": "^2.12.1"
|
|
30
|
+
}
|
|
49
31
|
}
|
package/sveltekit/index.d.ts
CHANGED
package/sveltekit/index.js
CHANGED
|
@@ -22,6 +22,8 @@ export const sveltekit = (detail, prefix = null) => {
|
|
|
22
22
|
const theme = browser && "light" === localStorage.getItem(keyTheme) ? "light" : "dark";
|
|
23
23
|
const keyOffset = "@nil-/doc/offset";
|
|
24
24
|
const offset = browser ? parseFloat(localStorage.getItem(keyOffset) ?? "250") : 250;
|
|
25
|
+
const keyPos = "@nil-/doc/panel_pos";
|
|
26
|
+
const panel_pos = browser ? localStorage.getItem(keyPos) ?? "bottom" : "bottom";
|
|
25
27
|
const result = {
|
|
26
28
|
data: Object.keys(detail)
|
|
27
29
|
.map(toRoute)
|
|
@@ -39,9 +41,11 @@ export const sveltekit = (detail, prefix = null) => {
|
|
|
39
41
|
}),
|
|
40
42
|
navigate: prefix ? (e) => goto(`${prefix}${e.detail}`) : (e) => goto(e.detail),
|
|
41
43
|
theme: writable(theme),
|
|
42
|
-
offset: writable(offset)
|
|
44
|
+
offset: writable(offset),
|
|
45
|
+
panel_pos: writable(panel_pos)
|
|
43
46
|
};
|
|
44
47
|
browser && result.theme.subscribe((v) => localStorage.setItem(keyTheme, v));
|
|
45
48
|
browser && result.offset.subscribe((v) => localStorage.setItem(keyOffset, `${v}`));
|
|
49
|
+
browser && result.panel_pos.subscribe((v) => localStorage.setItem(keyPos, v));
|
|
46
50
|
return result;
|
|
47
51
|
};
|
package/CHANGELOG.md
DELETED
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
# @nil-/doc
|
|
2
|
-
|
|
3
|
-
## 0.2.57
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [all][patch] UPDATE ALL PACKAGES ([#103](https://github.com/njaldea/mono/pull/103))
|
|
8
|
-
|
|
9
|
-
## 0.2.56
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- [doc][patch] use consolas as default font ([#98](https://github.com/njaldea/mono/pull/98))
|
|
14
|
-
|
|
15
|
-
## 0.2.55
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- [all][fix] separate eslint configuration ([#96](https://github.com/njaldea/mono/pull/96))
|
|
20
|
-
|
|
21
|
-
- [doc][docu] fix switch -> toggle ([#96](https://github.com/njaldea/mono/pull/96))
|
|
22
|
-
|
|
23
|
-
- [all][patch] update deps ([#96](https://github.com/njaldea/mono/pull/96))
|
|
24
|
-
|
|
25
|
-
- [doc][new] added special prop control "button" ([#96](https://github.com/njaldea/mono/pull/96))
|
|
26
|
-
|
|
27
|
-
## 0.2.54
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- [doc][fix] dynamic import of vanilla-picker to avoid ssr document access ([#94](https://github.com/njaldea/mono/pull/94))
|
|
32
|
-
- [doc][patch] temporarily used svelte-toggle for checkbox/toggle ([#94](https://github.com/njaldea/mono/pull/94))
|
|
33
|
-
|
|
34
|
-
## 0.2.53
|
|
35
|
-
|
|
36
|
-
### Patch Changes
|
|
37
|
-
|
|
38
|
-
- [doc][break] removed "scale" prop ([#92](https://github.com/njaldea/mono/pull/92))
|
|
39
|
-
- [doc][fix] better block scrollable handling ([#92](https://github.com/njaldea/mono/pull/92))
|
|
40
|
-
- [doc][fix] better style to vanilla-color popup ([#92](https://github.com/njaldea/mono/pull/92))
|
|
41
|
-
|
|
42
|
-
## 0.2.52
|
|
43
|
-
|
|
44
|
-
### Patch Changes
|
|
45
|
-
|
|
46
|
-
- [doc][fix] fix layout scrollable sections ([#90](https://github.com/njaldea/mono/pull/90))
|
|
47
|
-
- [doc][patch] restructure code ([#90](https://github.com/njaldea/mono/pull/90))
|
|
48
|
-
- [doc][patch] use vannilla-color library for color picker ([#90](https://github.com/njaldea/mono/pull/90))
|
|
49
|
-
- [doc][fix] removed position relative and overflow scroll for misc (controls) ([#90](https://github.com/njaldea/mono/pull/90))
|
|
50
|
-
- [doc][fix] content fill width/height ([#90](https://github.com/njaldea/mono/pull/90))
|
|
51
|
-
- [doc][new] added offset Layout.svelte and sveltekit for keeping state ([#90](https://github.com/njaldea/mono/pull/90))
|
|
52
|
-
|
|
53
|
-
## 0.2.51
|
|
54
|
-
|
|
55
|
-
### Patch Changes
|
|
56
|
-
|
|
57
|
-
- [doc][fix] components now rely on root font-size ([#88](https://github.com/njaldea/mono/pull/88))
|
|
58
|
-
- [doc][fix] fix object prop control ([#88](https://github.com/njaldea/mono/pull/88))
|
|
59
|
-
- [doc][new] block button controls ([#88](https://github.com/njaldea/mono/pull/88))
|
|
60
|
-
- [doc][new] centralized custom css ([#88](https://github.com/njaldea/mono/pull/88))
|
|
61
|
-
- [doc][misc] change styling ([#88](https://github.com/njaldea/mono/pull/88))
|
|
62
|
-
- [doc][fix] scrolling content of container ([#88](https://github.com/njaldea/mono/pull/88))
|
|
63
|
-
|
|
64
|
-
## 0.2.50
|
|
65
|
-
|
|
66
|
-
### Patch Changes
|
|
67
|
-
|
|
68
|
-
- [doc][new] removed default nil icon ([#86](https://github.com/njaldea/mono/pull/86))
|
|
69
|
-
- [doc][new] allow override of theme icon ([#86](https://github.com/njaldea/mono/pull/86))
|
|
70
|
-
|
|
71
|
-
## 0.2.49
|
|
72
|
-
|
|
73
|
-
### Patch Changes
|
|
74
|
-
|
|
75
|
-
- [doc][fix] fix range number formatting ([#83](https://github.com/njaldea/mono/pull/83))
|
|
76
|
-
|
|
77
|
-
## 0.2.48
|
|
78
|
-
|
|
79
|
-
### Patch Changes
|
|
80
|
-
|
|
81
|
-
- [doc][fix] Fix type support ([#81](https://github.com/njaldea/mono/pull/81))
|
|
82
|
-
|
|
83
|
-
## 0.2.47
|
|
84
|
-
|
|
85
|
-
### Patch Changes
|
|
86
|
-
|
|
87
|
-
- [doc][docu] minor adjustments to documentation ([#79](https://github.com/njaldea/mono/pull/79))
|
|
88
|
-
- [doc][new] added support for flattened prop schema ([#79](https://github.com/njaldea/mono/pull/79))
|
|
89
|
-
|
|
90
|
-
## 0.2.46
|
|
91
|
-
|
|
92
|
-
### Patch Changes
|
|
93
|
-
|
|
94
|
-
- [doc][break] added event control support ([#77](https://github.com/njaldea/mono/pull/77))
|
|
95
|
-
|
|
96
|
-
## 0.2.45
|
|
97
|
-
|
|
98
|
-
### Patch Changes
|
|
99
|
-
|
|
100
|
-
- [doc][fix] keep control state when disabled after tuple/object parent toggles expand #[75](https://github.com/njaldea/mono/issues/75) ([#74](https://github.com/njaldea/mono/pull/74))
|
|
101
|
-
|
|
102
|
-
## 0.2.44
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
- [doc][new] tuple and object controls now collapsible without disabling ([#72](https://github.com/njaldea/mono/pull/72))
|
|
107
|
-
|
|
108
|
-
## 0.2.43
|
|
109
|
-
|
|
110
|
-
### Patch Changes
|
|
111
|
-
|
|
112
|
-
- [doc][fix] disable Range.svelte tooltip when disabled ([#70](https://github.com/njaldea/mono/pull/70))
|
|
113
|
-
- [doc][new] added auto scroll when content of layout is only one component ([#70](https://github.com/njaldea/mono/pull/70))
|
|
114
|
-
|
|
115
|
-
## 0.2.42
|
|
116
|
-
|
|
117
|
-
### Patch Changes
|
|
118
|
-
|
|
119
|
-
- [doc][new] added theme store in sveltekit to retain used theme ([#67](https://github.com/njaldea/mono/pull/67))
|
|
120
|
-
|
|
121
|
-
## 0.2.41
|
|
122
|
-
|
|
123
|
-
### Patch Changes
|
|
124
|
-
|
|
125
|
-
- [doc][docu] added page for fuzzy matching ([#65](https://github.com/njaldea/mono/pull/65))
|
|
126
|
-
|
|
127
|
-
## 0.2.40
|
|
128
|
-
|
|
129
|
-
### Patch Changes
|
|
130
|
-
|
|
131
|
-
- [doc][new] added scale flag prop for Instance/Template componen ([#63](https://github.com/njaldea/mono/pull/63))
|
|
132
|
-
- [doc][patch] fixed jsdoc link for public components ([#63](https://github.com/njaldea/mono/pull/63))
|
|
133
|
-
- [doc][docu] moved Sorting and Renaming section to their own pages ([#63](https://github.com/njaldea/mono/pull/63))
|
|
134
|
-
- [doc][new] added placeholder to search bar ([#63](https://github.com/njaldea/mono/pull/63))
|
|
135
|
-
- [doc][docu] added admonitions plugin ([#63](https://github.com/njaldea/mono/pull/63))
|
|
136
|
-
|
|
137
|
-
## 0.2.39
|
|
138
|
-
|
|
139
|
-
### Patch Changes
|
|
140
|
-
|
|
141
|
-
- [doc][fix] force state of navigation expand icon when filtering ([#61](https://github.com/njaldea/mono/pull/61))
|
|
142
|
-
- [doc][patch] tighter eslint ([#61](https://github.com/njaldea/mono/pull/61))
|
|
143
|
-
- [doc][patch] added tests for non-UI related code ([#61](https://github.com/njaldea/mono/pull/61))
|
|
144
|
-
- [doc][patch] moved type definition ([#61](https://github.com/njaldea/mono/pull/61))
|
|
145
|
-
- [doc][patch] enabled typescript eslint rules ([#61](https://github.com/njaldea/mono/pull/61))
|
|
146
|
-
|
|
147
|
-
## 0.2.38
|
|
148
|
-
|
|
149
|
-
### Patch Changes
|
|
150
|
-
|
|
151
|
-
- [doc][new] added fuzzy match for nav filter ([#59](https://github.com/njaldea/mono/pull/59))
|
|
152
|
-
|
|
153
|
-
## 0.2.37
|
|
154
|
-
|
|
155
|
-
### Patch Changes
|
|
156
|
-
|
|
157
|
-
- [doc][fix] params prop is now reactive ([#57](https://github.com/njaldea/mono/pull/57))
|
|
158
|
-
- [doc][docu] added component documentation link to deployment ([#57](https://github.com/njaldea/mono/pull/57))
|
|
159
|
-
- [doc][patch] removed inRoot ([#57](https://github.com/njaldea/mono/pull/57))
|
|
160
|
-
- [doc][patch] refactored Instance/Template/Params ([#57](https://github.com/njaldea/mono/pull/57))
|
|
161
|
-
|
|
162
|
-
## 0.2.36
|
|
163
|
-
|
|
164
|
-
### Patch Changes
|
|
165
|
-
|
|
166
|
-
- [doc][fix] color changes and transition ([#55](https://github.com/njaldea/mono/pull/55))
|
|
167
|
-
- [doc][patch] added html meta details ([#55](https://github.com/njaldea/mono/pull/55))
|
|
168
|
-
|
|
169
|
-
## 0.2.35
|
|
170
|
-
|
|
171
|
-
### Patch Changes
|
|
172
|
-
|
|
173
|
-
- [doc][break] changed Control "side" flag to "position" prop ([#53](https://github.com/njaldea/mono/pull/53))
|
|
174
|
-
- [doc][new] added nil icon ([#53](https://github.com/njaldea/mono/pull/53))
|
|
175
|
-
|
|
176
|
-
## 0.2.34
|
|
177
|
-
|
|
178
|
-
### Patch Changes
|
|
179
|
-
|
|
180
|
-
- [doc][new] added Control hide property ([#51](https://github.com/njaldea/mono/pull/51))
|
|
181
|
-
[doc][break] renamed Control expand property to hide
|
|
182
|
-
[doc][break] Control now defaults to show
|
|
183
|
-
|
|
184
|
-
## 0.2.33
|
|
185
|
-
|
|
186
|
-
### Patch Changes
|
|
187
|
-
|
|
188
|
-
- [doc][patch] update formatting (camel case use) ([#49](https://github.com/njaldea/mono/pull/49))
|
|
189
|
-
|
|
190
|
-
## 0.2.32
|
|
191
|
-
|
|
192
|
-
### Patch Changes
|
|
193
|
-
|
|
194
|
-
- [doc][new] relaxed file extension for sveltekit helper ([#47](https://github.com/njaldea/mono/pull/47))
|
|
195
|
-
|
|
196
|
-
## 0.2.31
|
|
197
|
-
|
|
198
|
-
### Patch Changes
|
|
199
|
-
|
|
200
|
-
- [doc][patch] better container style ([#45](https://github.com/njaldea/mono/pull/45))
|
|
201
|
-
- [doc][patch] improved ThemeIcon ([#45](https://github.com/njaldea/mono/pull/45))
|
|
202
|
-
|
|
203
|
-
## 0.2.30
|
|
204
|
-
|
|
205
|
-
### Patch Changes
|
|
206
|
-
|
|
207
|
-
- [doc] Added color transition in Layout ([#43](https://github.com/njaldea/mono/pull/43))
|
|
208
|
-
- [doc] added Instance component ([#43](https://github.com/njaldea/mono/pull/43))
|
|
209
|
-
|
|
210
|
-
## 0.2.29
|
|
211
|
-
|
|
212
|
-
### Patch Changes
|
|
213
|
-
|
|
214
|
-
- [doc][feature] ThemeIcon ([#41](https://github.com/njaldea/mono/pull/41))
|
|
215
|
-
- [doc][feature] added top bar to separate title and other controls ([#41](https://github.com/njaldea/mono/pull/41))
|
|
216
|
-
|
|
217
|
-
## 0.2.28
|
|
218
|
-
|
|
219
|
-
### Patch Changes
|
|
220
|
-
|
|
221
|
-
- [doc][fix] reorder css style ([#37](https://github.com/njaldea/mono/pull/37))
|
|
222
|
-
|
|
223
|
-
## 0.2.27
|
|
224
|
-
|
|
225
|
-
### Patch Changes
|
|
226
|
-
|
|
227
|
-
- [doc][fix] fix fira code css import ([#35](https://github.com/njaldea/mono/pull/35))
|
|
228
|
-
|
|
229
|
-
## 0.2.26
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- [doc][docu] removed fallback page in documentation ([#30](https://github.com/njaldea/mono/pull/30))
|
|
234
|
-
|
|
235
|
-
## 0.2.25
|
|
236
|
-
|
|
237
|
-
### Patch Changes
|
|
238
|
-
|
|
239
|
-
- 186187c: [doc][new] removed layout slot prop for content. all unnamed slots will be part of the default slot
|
|
240
|
-
- 186187c: [doc][fix] fix range tooltip styling
|
|
241
|
-
- a82c0de: [doc][new] support dark/light mode
|
|
242
|
-
|
|
243
|
-
## 0.2.24
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- 782e6fa: [doc][new] simplified sveltekit glue layer
|
|
248
|
-
- 782e6fa: [doc][docu] added documentation to public methods
|
|
249
|
-
|
|
250
|
-
## 0.2.23
|
|
251
|
-
|
|
252
|
-
### Patch Changes
|
|
253
|
-
|
|
254
|
-
- 5655f86: [doc][new] added slot prop `key` to Template component
|
|
255
|
-
- 5655f86: [doc][patch] moved some devDependencies to peerDependencies
|
|
256
|
-
|
|
257
|
-
## 0.2.22
|
|
258
|
-
|
|
259
|
-
### Patch Changes
|
|
260
|
-
|
|
261
|
-
- 3ce0a62: [doc][new] support for touch event via pointerevent (draggable container)
|
|
262
|
-
|
|
263
|
-
## 0.2.21
|
|
264
|
-
|
|
265
|
-
### Patch Changes
|
|
266
|
-
|
|
267
|
-
- 0398a72: [doc][fix] remove dependency on box-sizing
|
|
268
|
-
- 0398a72: [doc][fix] control min width
|
|
269
|
-
- 0398a72: [doc][new] made template configurable by column prop
|
|
270
|
-
|
|
271
|
-
## 0.2.20
|
|
272
|
-
|
|
273
|
-
### Patch Changes
|
|
274
|
-
|
|
275
|
-
- 3eee0ce: [doc][fix] removed setting of margin/padding
|
|
276
|
-
- 3eee0ce: [doc][fix] only propagate box-sizing (inherit)
|
|
277
|
-
|
|
278
|
-
## 0.2.19
|
|
279
|
-
|
|
280
|
-
### Patch Changes
|
|
281
|
-
|
|
282
|
-
- 1dad00f: [doc][fix] removed external css. inlined css even duplicating some of them.
|
|
283
|
-
|
|
284
|
-
## 0.2.18
|
|
285
|
-
|
|
286
|
-
### Patch Changes
|
|
287
|
-
|
|
288
|
-
- a63dd42: [doc][fix] added tooltip for range
|
|
289
|
-
|
|
290
|
-
## 0.2.17
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
294
|
-
- af86341: [doc][fix] moved default mapping in a common lib
|
|
295
|
-
- af86341: [doc][fix] fix typing
|
|
296
|
-
- af86341: [doc][patch] if Param's tag is not provided, use stringified id
|
|
297
|
-
|
|
298
|
-
## 0.2.16
|
|
299
|
-
|
|
300
|
-
### Patch Changes
|
|
301
|
-
|
|
302
|
-
- 650eb4b: [doc][fix] revived proper ordering of params
|
|
303
|
-
- 650eb4b: [doc][new] each param now has its own defaults (which is resolved from template's default and pram's props)
|
|
304
|
-
|
|
305
|
-
## 0.2.15
|
|
306
|
-
|
|
307
|
-
### Patch Changes
|
|
308
|
-
|
|
309
|
-
- 44a7113: [doc][docu] added documentation for internal Container
|
|
310
|
-
- 44a7113: [doc][new] adjusted api for load (now `routes`)
|
|
311
|
-
- 44a7113: [doc][fix] fix for layout group route
|
|
312
|
-
|
|
313
|
-
## 0.2.14
|
|
314
|
-
|
|
315
|
-
### Patch Changes
|
|
316
|
-
|
|
317
|
-
- 6265fa6: [doc][new] added Tuple and Object Controls
|
|
318
|
-
- 6265fa6: [doc][docu] added temporary internal doc
|
|
319
|
-
|
|
320
|
-
## 0.2.13
|
|
321
|
-
|
|
322
|
-
### Patch Changes
|
|
323
|
-
|
|
324
|
-
- 39dbce9: [doc][new] navigation now automatically opens when redirected to a route that is still collapsed
|
|
325
|
-
|
|
326
|
-
## 0.2.12
|
|
327
|
-
|
|
328
|
-
### Patch Changes
|
|
329
|
-
|
|
330
|
-
- 6c2d946: [doc][fix] Nav now is not scrollable
|
|
331
|
-
- 6c2d946: [doc][fix] Removes Container's "reversed" flag
|
|
332
|
-
- 6c2d946: [doc][fix] Adds "secondary" flag to Container
|
|
333
|
-
- 6c2d946: [doc][fix] Changes Container slot name (primary is top or left, seconadry is bottom or right)
|
|
334
|
-
- 6c2d946: [doc][fix] load now removes routes with parameters
|
|
335
|
-
- 6c2d946: [doc][fix] Template now supports `noreset`
|
|
336
|
-
- 6c2d946: [doc][fix] Updates documentation
|
|
337
|
-
|
|
338
|
-
## 0.2.10
|
|
339
|
-
|
|
340
|
-
### Patch Changes
|
|
341
|
-
|
|
342
|
-
- c6de380: [doc][new] container collapsing now supported
|
|
343
|
-
- c6de380: [doc][patch] styling of container now uses grid for easier handling
|
|
344
|
-
|
|
345
|
-
## 0.2.9
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- 5c10f11: [doc][patch] layout fill height
|
|
350
|
-
|
|
351
|
-
## 0.2.8
|
|
352
|
-
|
|
353
|
-
### Patch Changes
|
|
354
|
-
|
|
355
|
-
- 865eef0: Adjusted Container to allow collapsing (based on primary/secondary and double clicking the divider)
|
|
356
|
-
|
|
357
|
-
## 0.2.7
|
|
358
|
-
|
|
359
|
-
### Patch Changes
|
|
360
|
-
|
|
361
|
-
- a286896: Removed fonts to css
|
|
362
|
-
Moved common style to css files
|
|
363
|
-
Moved static in src
|
|
364
|
-
Moved Controls to its own component
|
|
365
|
-
Scoped styles by `nil-doc` prefix
|
|
366
|
-
Fixed css reset for Layout and Block
|
|
367
|
-
Allow filtering after renaming (url paths)
|
|
368
|
-
Added title to +layout.svelte
|
|
369
|
-
Updated layout documentation
|
|
370
|
-
Update dependencies
|
|
371
|
-
|
|
372
|
-
## 0.1.0
|
|
373
|
-
|
|
374
|
-
### Minor Changes
|
|
375
|
-
|
|
376
|
-
- Alpha release
|