@pocketprep/ui-kit 3.2.0 → 3.2.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/dist/@pocketprep/ui-kit.js +1769 -1734
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +4 -4
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/lib/components/Icons/Icon.vue +3 -0
- package/lib/components/Icons/IconPresent.vue +21 -0
- package/lib/components/Icons/icon.d.ts +2 -1
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
<IconLightbulb v-else-if="type === 'lightbulb'" :title="title" />
|
|
71
71
|
<IconChat v-else-if="type === 'chat'" :title="title" />
|
|
72
72
|
<IconPreview v-else-if="type === 'preview'" :title="title" />
|
|
73
|
+
<IconPresent v-else-if="type === 'present'" :title="title" />
|
|
73
74
|
</template>
|
|
74
75
|
|
|
75
76
|
<script lang="ts">
|
|
@@ -138,6 +139,7 @@ import type { TIconType } from './icon'
|
|
|
138
139
|
import IconPercent from './IconPercent.vue'
|
|
139
140
|
import IconPerson from './IconPerson.vue'
|
|
140
141
|
import IconTimer from './IconTimer.vue'
|
|
142
|
+
import IconPresent from './IconPresent.vue'
|
|
141
143
|
|
|
142
144
|
@Component({
|
|
143
145
|
components: {
|
|
@@ -204,6 +206,7 @@ import IconTimer from './IconTimer.vue'
|
|
|
204
206
|
IconChat,
|
|
205
207
|
IconPreview,
|
|
206
208
|
IconTimer,
|
|
209
|
+
IconPresent,
|
|
207
210
|
},
|
|
208
211
|
})
|
|
209
212
|
export default class Icon extends Vue {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- eslint-disable -->
|
|
3
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<title>{{ title }}</title>
|
|
5
|
+
<path d="M3.3 11.05H20.7V19.25C20.7 19.9127 20.1627 20.45 19.5 20.45H4.5C3.83726 20.45 3.3 19.9127 3.3 19.25V11.05Z" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
|
|
6
|
+
<rect x="2.3" y="7.05" width="19.4" height="4.4" rx="1.2" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
|
|
7
|
+
<rect x="11.2" y="6.25" width="1.6" height="15" fill="currentColor"/>
|
|
8
|
+
<path d="M11.5 5.89096C11.5 4.39096 11 1.59096 9.00005 2.39096C6.50005 3.39096 6.50005 6.89099 11.5 5.89096Z" stroke="currentColor" stroke-width="1.6"/>
|
|
9
|
+
<path d="M12 5.89096C12 4.39096 12.5 1.59096 14.5 2.39096C17 3.39096 17 6.89099 12 5.89096Z" stroke="currentColor" stroke-width="1.6"/>
|
|
10
|
+
</svg>
|
|
11
|
+
<!-- eslint-enable -->
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script lang="ts">
|
|
15
|
+
import { Component, Vue, Prop } from 'vue-facing-decorator'
|
|
16
|
+
|
|
17
|
+
@Component
|
|
18
|
+
export default class IconPresent extends Vue {
|
|
19
|
+
@Prop() title!: string
|
|
20
|
+
}
|
|
21
|
+
</script>
|