valaxy-theme-press 0.19.2 → 0.19.4

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.
@@ -4,7 +4,7 @@ import { useAddonAlgolia } from 'valaxy-addon-algolia'
4
4
 
5
5
  const { t } = useI18n()
6
6
 
7
- const { loaded, load, metaKey } = useAddonAlgolia()
7
+ const { loaded, load } = useAddonAlgolia()
8
8
  </script>
9
9
 
10
10
  <template>
@@ -66,6 +66,11 @@ const { loaded, load, metaKey } = useAddonAlgolia()
66
66
  outline: 5px auto -webkit-focus-ring-color;
67
67
  }
68
68
 
69
+ .DocSearch-Button-Key--pressed {
70
+ transform: none;
71
+ box-shadow: none;
72
+ }
73
+
69
74
  .DocSearch-Button:focus:not(:focus-visible) {
70
75
  outline: none !important;
71
76
  }
@@ -187,13 +192,16 @@ const { loaded, load, metaKey } = useAddonAlgolia()
187
192
  }
188
193
 
189
194
  .DocSearch-Button .DocSearch-Button-Key:first-child::after {
190
- /* stylelint-disable-next-line value-keyword-case */
191
- content: v-bind(metaKey);
195
+ content: 'Ctrl';
192
196
  font-size: 12px;
193
197
  letter-spacing: normal;
194
198
  color: var(--docsearch-muted-color);
195
199
  }
196
200
 
201
+ .mac .DocSearch-Button .DocSearch-Button-Key:first-child::after {
202
+ content: '\2318';
203
+ }
204
+
197
205
  .DocSearch-Button .DocSearch-Button-Key:first-child > * {
198
206
  display: none;
199
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-press",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "description": "Docs Theme for Valaxy",
5
5
  "author": {
6
6
  "email": "me@yunyoujun.cn",
@@ -19,10 +19,10 @@
19
19
  "main": "node/index.ts",
20
20
  "types": "types/index.d.ts",
21
21
  "dependencies": {
22
- "@docsearch/css": "^3.6.0",
23
- "@docsearch/js": "^3.6.0"
22
+ "@docsearch/css": "^3.6.1",
23
+ "@docsearch/js": "^3.6.1"
24
24
  },
25
25
  "devDependencies": {
26
- "valaxy": "0.19.2"
26
+ "valaxy": "0.19.4"
27
27
  }
28
28
  }