@pocketprep/ui-kit 3.8.1 → 3.8.3

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.
@@ -62,6 +62,7 @@
62
62
  v-model="searchText"
63
63
  v-dark="isDarkMode"
64
64
  type="text"
65
+ ref="uikit-select__input"
65
66
  class="uikit-select__input"
66
67
  :class="{
67
68
  'uikit-select__input--placeholder': !modelValue && !searchText,
@@ -218,7 +219,11 @@ export default class Select extends Vue {
218
219
 
219
220
  mounted () {
220
221
  if (this.autoFocus) {
221
- (this.$refs['uikit-select__input-container'] as HTMLElement).focus()
222
+ if (this.typeahead) {
223
+ (this.$refs['uikit-select__input'] as HTMLElement).focus()
224
+ } else {
225
+ (this.$refs['uikit-select__input-container'] as HTMLElement).focus()
226
+ }
222
227
  }
223
228
 
224
229
  if (this.typeahead && this.modelValue?.label) {
@@ -7,7 +7,7 @@ export type TBuildListChoiceKey = `a${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}`
7
7
  export type TQuizMode = 'qotd' | 'quick10' | 'timed' | 'weakest' | 'missed' | 'custom'
8
8
 
9
9
  // eslint-disable-next-line max-len
10
- export type TContextIcon = 'quick10' | 'calendar' | 'missedQuestions' | 'subject' | 'stopwatch' | 'exam' | 'levelup' | 'pencil' | 'assignment'
10
+ export type TContextIcon = 'quick10' | 'calendar' | 'missedQuestions' | 'subject' | 'stopwatch' | 'exam' | 'levelup' | 'pencil' | 'assignment' | 'concept'
11
11
 
12
12
  export type TBreakPointsObject = {
13
13
  'mobile': number
package/lib/utils.ts CHANGED
@@ -74,8 +74,8 @@ export const studyModes = {
74
74
  '12': {
75
75
  name: 'Concept Quiz',
76
76
  shortName: 'concept',
77
- icon: 'pencil',
78
- iconColor: BrandColors.slate,
77
+ icon: 'concept',
78
+ iconColor: BrandColors.ash,
79
79
  iconColorDM: BrandColors.pewter,
80
80
  },
81
81
  } as const
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.8.1",
3
+ "version": "3.8.3",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {