@pocketprep/ui-kit 3.5.7 → 3.5.8

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.
@@ -61,9 +61,10 @@ export default class EmptyState extends Vue {
61
61
  @Prop() message!: string
62
62
  @Prop() title!: string
63
63
  @Prop() backgroundColor!: 'white'
64
- @Prop() state!: 'answered' | 'incorrect' | 'correct' | 'flagged'
64
+ @Prop() state!: 'answered' | 'incorrect' | 'correct' | 'flagged' | 'assignment'
65
65
  @Prop({ default: false }) isDarkMode!: boolean
66
66
  @Prop() customBlobColor?: string
67
+ @Prop() customIconColor?: string
67
68
 
68
69
  brandColors = BrandColors
69
70
 
@@ -74,6 +75,8 @@ export default class EmptyState extends Vue {
74
75
  return 'correct'
75
76
  } else if (this.state === 'flagged') {
76
77
  return 'flagFeedback'
78
+ } else if (this.state === 'assignment') {
79
+ return 'assignment'
77
80
  }
78
81
  // Default to activity icon
79
82
  return 'activity'
@@ -108,6 +111,10 @@ export default class EmptyState extends Vue {
108
111
  }
109
112
  return this.brandColors.cadaverous
110
113
  }
114
+
115
+ if (this.customIconColor) {
116
+ return this.customIconColor
117
+ }
111
118
  // Default to caramel
112
119
  if (this.isDarkMode) {
113
120
  return this.brandColors.butterscotch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.5.7",
3
+ "version": "3.5.8",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {