@pocketprep/ui-kit 3.4.17 → 3.4.19

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.
@@ -35,6 +35,7 @@
35
35
  v-model="radioEntry"
36
36
  aria-live="polite"
37
37
  :data="radioOptions"
38
+ :is-dark-mode="isDarkMode"
38
39
  class="filter-options__radio"
39
40
  />
40
41
  </slot>
@@ -67,7 +68,7 @@
67
68
  :aria-expanded="showFilterDropdown ? 'true' : 'false'"
68
69
  >
69
70
  <slot name="checkboxLabelText">
70
- <span>{{ filterOptionsLabel }}</span>
71
+ <div>{{ filterOptionsLabel }}</div>
71
72
  </slot>
72
73
  </div>
73
74
  </slot>
@@ -232,6 +233,14 @@ export default class FilterOptions extends Vue {
232
233
  transform: rotate(180deg);
233
234
  }
234
235
 
236
+ &:hover {
237
+ svg,
238
+ span {
239
+ color: $brand-blue;
240
+ cursor: pointer;
241
+ }
242
+ }
243
+
235
244
  &:focus {
236
245
  &::before {
237
246
  content: '';
@@ -246,11 +255,19 @@ export default class FilterOptions extends Vue {
246
255
  }
247
256
 
248
257
  &--dark {
249
- color: $white;
258
+ color: $pewter;
250
259
 
251
260
  &:focus::before {
252
261
  border-color: $banana-bread;
253
262
  }
263
+
264
+ &:hover {
265
+ svg,
266
+ span {
267
+ color: $banana-bread;
268
+ cursor: pointer;
269
+ }
270
+ }
254
271
  }
255
272
 
256
273
  span {
@@ -258,9 +275,13 @@ export default class FilterOptions extends Vue {
258
275
  }
259
276
 
260
277
  svg {
261
- color: $brand-blue;
278
+ color: $slate;
262
279
  width: 11px;
263
280
  height: 10px;
281
+
282
+ &--dark {
283
+ color: $pewter;
284
+ }
264
285
  }
265
286
  }
266
287
 
@@ -25,6 +25,7 @@
25
25
  :class="{
26
26
  'uikit-side-panel__head--has-tabs': tabs && tabs.length,
27
27
  'uikit-side-panel__head--has-stepped-tabs': tabs && tabs.length && steppedTabs,
28
+ 'uikit-side-panel__head--teach-side-panel': isTeachSidePanel,
28
29
  }"
29
30
  >
30
31
  <div
@@ -83,7 +84,10 @@
83
84
  <div
84
85
  v-dark="isDarkMode"
85
86
  class="uikit-side-panel__content"
86
- :class="{ 'uikit-side-panel__content--has-tabs': tabs && tabs.length }"
87
+ :class="{
88
+ 'uikit-side-panel__content--has-tabs': tabs && tabs.length,
89
+ 'uikit-side-panel__content--teach-side-panel': isTeachSidePanel,
90
+ }"
87
91
  :style="{ ...customContentStyles }"
88
92
  >
89
93
  <slot />
@@ -136,6 +140,7 @@ export default class SidePanel extends Vue {
136
140
  @Prop({ default: () => ({}) }) customContentStyles!: { [key: string]: string }
137
141
  @Prop({ default: 'large' }) width!: 'large' | 'medium' | number
138
142
  @Prop({ default: false }) disableTransition!: boolean
143
+ @Prop({ default: false }) isTeachSidePanel!: boolean
139
144
  @Prop({ default: false }) isDarkMode!: boolean
140
145
 
141
146
  openSidePanel = false
@@ -377,6 +382,10 @@ export default class SidePanel extends Vue {
377
382
  padding-bottom: 69px;
378
383
  }
379
384
 
385
+ &--teach-side-panel {
386
+ background-color: $barely-background;
387
+ }
388
+
380
389
  &--dark {
381
390
  background: $brand-black;
382
391
  color: $white;
@@ -570,6 +579,10 @@ export default class SidePanel extends Vue {
570
579
  margin: 5px 0 40px;
571
580
  }
572
581
 
582
+ &--teach-side-panel {
583
+ background-color: $white;
584
+ }
585
+
573
586
  &--dark {
574
587
  color: $fog;
575
588
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.4.17",
3
+ "version": "3.4.19",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {