valaxy-theme-hairy 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,40 @@
1
+ <script lang="ts" setup>
2
+ import { useScriptTag } from '@vueuse/core'
3
+ import { defineProps, withDefaults } from 'vue'
4
+
5
+ withDefaults(
6
+ defineProps<{
7
+ height: number | string
8
+ defaultTab: string
9
+ slugHash: string
10
+ user?: string
11
+ prefill?: Record<string, any>
12
+ title?: string
13
+ placeholder?: string
14
+ theme?: string
15
+ }>(),
16
+ {
17
+ height: 300,
18
+ defaultTab: 'html',
19
+ },
20
+ )
21
+
22
+ useScriptTag('https://cpwebassets.codepen.io/assets/embed/ei.js')
23
+ </script>
24
+
25
+ <template>
26
+ <div
27
+ class="codepen"
28
+ :data-height="300"
29
+ :data-default-tab="defaultTab"
30
+ :data-slug-hash="slugHash"
31
+ :data-user="user"
32
+ :data-prefill="prefill"
33
+ :data-pen-title="title"
34
+ :data-placeholder="placeholder"
35
+ :data-theme-id="theme"
36
+ />
37
+ </template>
38
+
39
+ <style lang="scss" scoped>
40
+ </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-hairy",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "packageManager": "pnpm@7.5.0",
5
5
  "author": {
6
6
  "email": "wwu710632@gmail.com",