slidev-theme-meetup 1.1.0 → 1.2.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/CHANGELOG.md +13 -0
- package/README.md +22 -2
- package/components/WindowConsole.vue +16 -0
- package/example.md +26 -0
- package/layouts/window.vue +19 -0
- package/package.json +3 -3
- package/.gitattributes +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0](https://github.com/tboerger/slidev-theme-meetup/compare/v1.1.0...v1.2.0) (2022-09-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add new layout window ([1cab641](https://github.com/tboerger/slidev-theme-meetup/commit/1cab6411463d310b26d8b66a177f6d257de15ca2))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* get rid of lfs, only leads to issues ([f23a9fd](https://github.com/tboerger/slidev-theme-meetup/commit/f23a9fd1391b4854ba881bf6aaab8b87eb5f14d7))
|
|
14
|
+
* rellay replace lfs files ([249429a](https://github.com/tboerger/slidev-theme-meetup/commit/249429a152562ea86522f5853d033cbf08760ad4))
|
|
15
|
+
|
|
3
16
|
## [1.1.0](https://github.com/tboerger/slidev-theme-meetup/compare/v1.0.0...v1.1.0) (2022-09-16)
|
|
4
17
|
|
|
5
18
|
|
package/README.md
CHANGED
|
@@ -98,6 +98,16 @@ layout: cover
|
|
|
98
98
|
|
|
99
99
|

|
|
100
100
|
|
|
101
|
+
### Window
|
|
102
|
+
|
|
103
|
+
```md
|
|
104
|
+
---
|
|
105
|
+
layout: window
|
|
106
|
+
---
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+

|
|
110
|
+
|
|
101
111
|
### Default
|
|
102
112
|
|
|
103
113
|
```md
|
|
@@ -106,7 +116,7 @@ layout: default
|
|
|
106
116
|
---
|
|
107
117
|
```
|
|
108
118
|
|
|
109
|
-

|
|
110
120
|
|
|
111
121
|
### Qrcode
|
|
112
122
|
|
|
@@ -117,7 +127,7 @@ url: https://example.com
|
|
|
117
127
|
---
|
|
118
128
|
```
|
|
119
129
|
|
|
120
|
-

|
|
121
131
|
|
|
122
132
|
## Components
|
|
123
133
|
|
|
@@ -129,6 +139,16 @@ Just curves shown within the slides.
|
|
|
129
139
|
<CornerCurves class="absolute left-0 top-0 transform rotate-90" />
|
|
130
140
|
```
|
|
131
141
|
|
|
142
|
+
### WindowConsole
|
|
143
|
+
|
|
144
|
+
Display content in a terminal window.
|
|
145
|
+
|
|
146
|
+
```vue
|
|
147
|
+
<WindowConsole class="rounded-lg shadow-lg object-cover z-10">
|
|
148
|
+
Content
|
|
149
|
+
</WindowConsole>
|
|
150
|
+
```
|
|
151
|
+
|
|
132
152
|
### LayoutHeader
|
|
133
153
|
|
|
134
154
|
General header part of every slide.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="console bg-gray-500 text-white text-xs pt-4 rounded-md relative">
|
|
3
|
+
<ul class="absolute grid grid-cols-3 gap-3 top-2 left-4">
|
|
4
|
+
<li class="!m-0 rounded w-2 h-2 bg-red-400 inline-block">
|
|
5
|
+
|
|
6
|
+
</li>
|
|
7
|
+
<li class="!m-0 rounded w-2 h-2 bg-yellow-300 inline-block">
|
|
8
|
+
|
|
9
|
+
</li>
|
|
10
|
+
<li class="!m-0 rounded w-2 h-2 bg-green-500 inline-block">
|
|
11
|
+
|
|
12
|
+
</li>
|
|
13
|
+
</ul>
|
|
14
|
+
<slot />
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
package/example.md
CHANGED
|
@@ -67,6 +67,32 @@ layout: cover
|
|
|
67
67
|
---
|
|
68
68
|
# This is a cover
|
|
69
69
|
|
|
70
|
+
---
|
|
71
|
+
layout: window
|
|
72
|
+
---
|
|
73
|
+
# Console
|
|
74
|
+
|
|
75
|
+
::window::
|
|
76
|
+
```ts
|
|
77
|
+
const aspectRatioPlugin = plugin(({ addUtilities }) => {
|
|
78
|
+
const newUtilities = {
|
|
79
|
+
'.aspect-none': {
|
|
80
|
+
aspectRatio: 'none',
|
|
81
|
+
},
|
|
82
|
+
'.aspect-16-9': {
|
|
83
|
+
aspectRatio: '16/9',
|
|
84
|
+
},
|
|
85
|
+
'.aspect-4-3': {
|
|
86
|
+
aspectRatio: '4/3',
|
|
87
|
+
},
|
|
88
|
+
'.aspect-1-1': {
|
|
89
|
+
aspectRatio: '1/1',
|
|
90
|
+
},
|
|
91
|
+
}
|
|
92
|
+
addUtilities(newUtilities, ['responsive', 'hover'])
|
|
93
|
+
})
|
|
94
|
+
```
|
|
95
|
+
|
|
70
96
|
---
|
|
71
97
|
layout: default
|
|
72
98
|
---
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="slidev-layout">
|
|
3
|
+
<LayoutHeader class="absolute bottom-0 right-0 transform flip-x" />
|
|
4
|
+
<div
|
|
5
|
+
class="top"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
|
+
<WindowConsole class="rounded-lg shadow-lg object-cover z-10">
|
|
10
|
+
<slot name="window" />
|
|
11
|
+
</WindowConsole>
|
|
12
|
+
<div
|
|
13
|
+
class="bottom"
|
|
14
|
+
>
|
|
15
|
+
<slot name="bottom" />
|
|
16
|
+
<LayoutFooter />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slidev-theme-meetup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Slidev theme used for talks on meetups",
|
|
5
5
|
"homepage": "https://github.com/tboerger/slidev-theme-meetup#readme",
|
|
6
6
|
"license": "CC-BY-SA-4.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"release": "semantic-release"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@iconify-json/mdi": "1.1.
|
|
22
|
+
"@iconify-json/mdi": "1.1.33",
|
|
23
23
|
"@slidev/types": "0.36.5",
|
|
24
24
|
"codemirror-theme-vars": "0.1.1",
|
|
25
25
|
"prism-theme-vars": "0.2.4",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@slidev/cli": "0.36.5",
|
|
37
37
|
"conventional-changelog-conventionalcommits": "5.0.0",
|
|
38
38
|
"eslint": "8.23.1",
|
|
39
|
-
"eslint-plugin-vue": "9.
|
|
39
|
+
"eslint-plugin-vue": "9.5.1",
|
|
40
40
|
"playwright-chromium": "1.25.2"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|