@pocketprep/ui-kit 3.5.22 → 3.5.24
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 +761 -740
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +8 -8
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/lib/components/Icons/Icon.vue +3 -0
- package/lib/components/Icons/IconGridDrag.vue +20 -0
- package/lib/components/Icons/icon.d.ts +2 -1
- package/lib/utils.ts +2 -2
- package/package.json +1 -1
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
<IconAssignment v-else-if="type === 'assignment'" :title="title" />
|
|
78
78
|
<IconQuickActions v-else-if="type === 'quickActions'" :title="title" />
|
|
79
79
|
<IconHighlight v-else-if="type === 'highlight'" :title="title" />
|
|
80
|
+
<IconGridDrag v-else-if="type === 'gridDrag'" :title="title" />
|
|
80
81
|
</template>
|
|
81
82
|
|
|
82
83
|
<script lang="ts">
|
|
@@ -152,6 +153,7 @@ import IconLink from './IconLink.vue'
|
|
|
152
153
|
import IconAssignment from './IconAssignment.vue'
|
|
153
154
|
import IconQuickActions from './IconQuickActions.vue'
|
|
154
155
|
import IconHighlight from './IconHighlight.vue'
|
|
156
|
+
import IconGridDrag from './IconGridDrag.vue'
|
|
155
157
|
|
|
156
158
|
@Component({
|
|
157
159
|
name: 'Icon',
|
|
@@ -226,6 +228,7 @@ import IconHighlight from './IconHighlight.vue'
|
|
|
226
228
|
IconAssignment,
|
|
227
229
|
IconQuickActions,
|
|
228
230
|
IconHighlight,
|
|
231
|
+
IconGridDrag,
|
|
229
232
|
},
|
|
230
233
|
})
|
|
231
234
|
export default class Icon extends Vue {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const { title } = defineProps<{
|
|
4
|
+
title: string
|
|
5
|
+
}>()
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<!-- eslint-disable -->
|
|
10
|
+
<svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
11
|
+
<title>{{ title }}</title>
|
|
12
|
+
<rect x="4.5" width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
13
|
+
<rect x="4.5" y="4.5" width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
14
|
+
<rect x="4.5" y="9" width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
15
|
+
<rect y="9" width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
16
|
+
<rect width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
17
|
+
<rect y="4.5" width="2.5" height="2.5" rx="1.25" fill="currentColor"/>
|
|
18
|
+
</svg>
|
|
19
|
+
<!-- eslint-enable -->
|
|
20
|
+
</template>
|
package/lib/utils.ts
CHANGED
|
@@ -51,8 +51,8 @@ export const studyModes = {
|
|
|
51
51
|
iconColorDM: BrandColors.orchid,
|
|
52
52
|
},
|
|
53
53
|
'7': {
|
|
54
|
-
name: '
|
|
55
|
-
shortName: '
|
|
54
|
+
name: 'Recall Challenge',
|
|
55
|
+
shortName: 'recallChallenge',
|
|
56
56
|
icon: 'levelup',
|
|
57
57
|
iconColor: BrandColors.cosmos,
|
|
58
58
|
iconColorDM: BrandColors.orchid,
|