@pocketprep/ui-kit 3.0.15 → 3.0.17

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.
@@ -73,6 +73,8 @@
73
73
  <Icon type="sideBarActive" title="sideBarActive" />
74
74
  <Icon type="text" title="text" />
75
75
  <Icon type="review-flag" title="review-flag" />
76
+ <Icon type="levelup" title="levelup" />
77
+ <Icon type="lightbulb" title="lightbulb" />
76
78
  </div>
77
79
  </div>
78
80
  </template>
@@ -62,6 +62,8 @@
62
62
  <IconInfo v-else-if="type === 'info'" :title="title" />
63
63
  <IconList v-else-if="type === 'list'" :title="title" />
64
64
  <IconLaunch v-else-if="type === 'launch'" :title="title" />
65
+ <IconLevelUp v-else-if="type === 'levelup'" :title="title" />
66
+ <IconLightbulb v-else-if="type === 'lightbulb'" :title="title" />
65
67
  </template>
66
68
 
67
69
  <script lang="ts">
@@ -121,6 +123,8 @@ import IconText from './IconText.vue'
121
123
  import IconInfo from './IconInfo.vue'
122
124
  import IconList from './IconList.vue'
123
125
  import IconLaunch from './IconLaunch.vue'
126
+ import IconLevelUp from './IconLevelUp.vue'
127
+ import IconLightbulb from './IconLightbulb.vue'
124
128
  import type { TIconType } from './icon'
125
129
 
126
130
  @Component({
@@ -180,6 +184,8 @@ import type { TIconType } from './icon'
180
184
  IconInfo,
181
185
  IconList,
182
186
  IconLaunch,
187
+ IconLevelUp,
188
+ IconLightbulb,
183
189
  },
184
190
  })
185
191
  export default class Icon extends Vue {
@@ -0,0 +1,7 @@
1
+ ```vue
2
+ <template>
3
+ <div>
4
+ <Icon type="levelup" title="levelup" />
5
+ </div>
6
+ </template>
7
+ ```
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <!-- eslint-disable -->
3
+ <svg width="25px" height="24px" fill="none" viewBox="0 0 25 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <title>{{ title }}</title>
5
+ <path d="M6.5 13.5C6.5 12.3954 5.60457 11.5 4.5 11.5C3.39543 11.5 2.5 12.3954 2.5 13.5V18.5C2.5 19.6046 3.39543 20.5 4.5 20.5C5.60457 20.5 6.5 19.6046 6.5 18.5V13.5Z" stroke="currentColor" stroke-width="2"/>
6
+ <path d="M14.5 9.5C14.5 8.39543 13.6046 7.5 12.5 7.5C11.3954 7.5 10.5 8.39543 10.5 9.5V18.5C10.5 19.6046 11.3954 20.5 12.5 20.5C13.6046 20.5 14.5 19.6046 14.5 18.5V9.5Z" stroke="currentColor" stroke-width="2"/>
7
+ <path d="M22.5 5.5C22.5 4.39543 21.6046 3.5 20.5 3.5C19.3954 3.5 18.5 4.39543 18.5 5.5V18.5C18.5 19.6046 19.3954 20.5 20.5 20.5C21.6046 20.5 22.5 19.6046 22.5 18.5V5.5Z" stroke="currentColor" stroke-width="2"/>
8
+ </svg>
9
+ <!-- eslint-enable -->
10
+ </template>
11
+
12
+ <script lang="ts">
13
+ import { Vue, Component, Prop } from 'vue-facing-decorator'
14
+
15
+ @Component
16
+ export default class IconLevelUp extends Vue {
17
+ @Prop() title!: string
18
+ }
19
+ </script>
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <div>
3
+ <Icon type="lightbulb" title="lightbulb" />
4
+ </div>
5
+ </template>
@@ -0,0 +1,20 @@
1
+ <template>
2
+ <!-- eslint-disable -->
3
+ <svg width="25px" height="24px" fill="none" viewBox="0 0 25 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4
+ <title>{{ title }}</title>
5
+ <path d="M17.283 15.2668L16.7164 14.4428L16.4679 14.6137L16.3553 14.8935L17.283 15.2668ZM7.69298 15.2502L8.62199 14.8802L8.5104 14.6L8.26255 14.4283L7.69298 15.2502ZM7.79247 15.5L8.74455 15.1941L8.73411 15.1617L8.72148 15.1299L7.79247 15.5ZM9.01512 19.3059L9.9672 19L9.01512 19.3059ZM16.0186 19.2948L15.0631 19V19L16.0186 19.2948ZM17.1892 15.5L16.2615 15.1267L16.2459 15.1654L16.2336 15.2052L17.1892 15.5ZM19.5 9.36364C19.5 11.4154 18.4282 13.2658 16.7164 14.4428L17.8496 16.0908C20.0434 14.5824 21.5 12.1442 21.5 9.36364H19.5ZM12.5 3C16.4456 3 19.5 5.92552 19.5 9.36364H21.5C21.5 4.66811 17.3909 1 12.5 1V3ZM5.5 9.36364C5.5 5.92552 8.55436 3 12.5 3V1C7.60909 1 3.5 4.66811 3.5 9.36364H5.5ZM8.26255 14.4283C6.56305 13.2506 5.5 11.407 5.5 9.36364H3.5C3.5 12.1327 4.94466 14.5624 7.12341 16.0722L8.26255 14.4283ZM6.76397 15.6203L6.86346 15.8701L8.72148 15.1299L8.62199 14.8802L6.76397 15.6203ZM6.84039 15.8059L8.06304 19.6117L9.9672 19L8.74455 15.1941L6.84039 15.8059ZM8.06304 19.6117C8.32881 20.439 9.0983 21 9.9672 21V19H9.9672L8.06304 19.6117ZM9.9672 21H15.0631V19H9.9672V21ZM15.0631 21C15.9406 21 16.7156 20.428 16.9742 19.5895L15.0631 19H15.0631V21ZM16.9742 19.5895L18.1447 15.7948L16.2336 15.2052L15.0631 19L16.9742 19.5895ZM18.1169 15.8733L18.2107 15.6401L16.3553 14.8935L16.2615 15.1267L18.1169 15.8733Z" fill="currentColor"/>
6
+ <path d="M8 9C8.16667 8.16667 8.9 6.4 10.5 6" stroke="currentColor" stroke-linecap="round"/>
7
+ <path d="M9 22.5H16" stroke="currentColor" stroke-linecap="round"/>
8
+ <path d="M9 23.5H16" stroke="currentColor" stroke-linecap="round"/>
9
+ </svg>
10
+ <!-- eslint-enable -->
11
+ </template>
12
+
13
+ <script lang="ts">
14
+ import { Vue, Component, Prop } from 'vue-facing-decorator'
15
+
16
+ @Component
17
+ export default class IconLightbulb extends Vue {
18
+ @Prop() title!: string
19
+ }
20
+ </script>
@@ -52,4 +52,7 @@ export type TIconType =
52
52
  | 'text'
53
53
  | 'info'
54
54
  | 'list'
55
- | 'review-flag'
55
+ | 'review-flag'
56
+ | 'launch'
57
+ | 'levelup'
58
+ | 'lightbulb'
package/lib/utils.ts CHANGED
@@ -43,6 +43,13 @@ export const studyModes = {
43
43
  iconColor: BrandColors.cadaverous,
44
44
  iconColorDM: BrandColors.jungleGreen,
45
45
  },
46
+ '6': {
47
+ name: 'Level Up',
48
+ shortName: 'levelUp',
49
+ icon: 'levelup',
50
+ iconColor: BrandColors.cosmos,
51
+ iconColorDM: BrandColors.orchid,
52
+ },
46
53
  '10': {
47
54
  name: 'Build Your Own',
48
55
  shortName: 'custom',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.0.15",
3
+ "version": "3.0.17",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {