@slidev/client 0.40.14 → 0.40.16

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.
@@ -29,7 +29,9 @@ document.body.appendChild(styleObject)
29
29
  function lang() {
30
30
  switch (props.lang) {
31
31
  case 'ts':
32
+ case 'tsx':
32
33
  return 'typescript'
34
+ case 'jsx':
33
35
  case 'js':
34
36
  return 'javascript'
35
37
  default:
@@ -107,6 +107,7 @@ watch(activeElement, () => {
107
107
  id="slidev-goto-dialog"
108
108
  ref="container"
109
109
  class="fixed right-5 transition-all"
110
+ w-90
110
111
  :class="showGotoDialog ? 'top-5' : '-top-20'"
111
112
  >
112
113
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/client",
3
- "version": "0.40.14",
3
+ "version": "0.40.16",
4
4
  "description": "Presentation slides for developers",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  "vue-router": "^4.1.6",
42
42
  "vue-starport": "^0.3.0",
43
43
  "windicss": "^3.5.6",
44
- "@slidev/parser": "0.40.14",
45
- "@slidev/types": "0.40.14"
44
+ "@slidev/parser": "0.40.16",
45
+ "@slidev/types": "0.40.16"
46
46
  },
47
47
  "devDependencies": {
48
48
  "vite": "^4.3.0"